/* =========================================================
   集中カプセル — LP v3  (app's Gradient Immersive 踏襲)
   ========================================================= */

:root {
  /* brand (from design-handoff.md) */
  --navy-deep: #0a1530;
  --navy:      #122548;
  --navy-soft: #1c3562;
  --cream:     #f3e9d2;
  --cream-soft:#ede1c4;
  --cream-deep:#e5d5b0;
  --gold:      #d4a574;
  --sun:       #ffd89b;

  /* gradient palettes */
  --dawn-1: #ffb88c;
  --dawn-2: #ff9ec9;
  --dawn-3: #c4a9ff;
  --dawn-4: #8e4dcc;
  --dusk-1: #2d1654;
  --dusk-2: #6e4ab5;

  /* text */
  --ink-on-cream: var(--navy-deep);
  --ink-on-cream-soft: #3a4a70;
  --ink-on-cream-mute: #6a6a74;
  --ink-on-navy: var(--cream);
  --ink-on-navy-mute: rgba(243,233,210,0.6);

  --hairline-cream: rgba(10,21,48,0.12);
  --hairline-navy:  rgba(243,233,210,0.16);

  --display: "Zen Maru Gothic", "Hiragino Maru Gothic ProN", "Hiragino Sans", sans-serif;
  --body:    "Zen Kaku Gothic New", -apple-system, "Hiragino Sans", "Yu Gothic", sans-serif;

  --max: 1040px;
  --pad: 28px;
  --radius: 22px;
  --section-py: 140px;
}

* { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }

body.home-page {
  margin: 0;
  background: var(--cream);
  color: var(--ink-on-cream);
  font-family: var(--body);
  font-weight: 500;
  font-size: 15px;
  line-height: 1.85;
  letter-spacing: 0.02em;
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
}
body.home-page a { color: inherit; text-decoration: none; }
:where(body.home-page h1, body.home-page h2, body.home-page h3,
body.home-page p, body.home-page ul, body.home-page ol) {
  margin: 0;
  padding: 0;
}
body.home-page ul, body.home-page ol { list-style: none; }
button { font: inherit; color: inherit; background: none; border: 0; cursor: pointer; }

/* =====================================================================
   NAV
   ================================================================= */
.nav {
  position: sticky; top: 0; z-index: 50;
  background: rgba(243,233,210,0.72);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  border-bottom: 1px solid var(--hairline-cream);
}
.nav-inner {
  max-width: var(--max);
  margin: 0 auto;
  padding: 20px var(--pad);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 32px;
}
.mark {
  font-family: var(--display);
  font-weight: 600;
  font-size: 18px;
  letter-spacing: 0.1em;
  color: var(--navy-deep);
}
.nav-links { display: flex; gap: 36px; font-size: 13px; font-weight: 500; letter-spacing: 0.1em; }
.nav-links a { color: var(--ink-on-cream-soft); transition: color .3s; }
.nav-links a:hover { color: var(--navy-deep); }
@media (max-width: 640px) {
  .nav-links { gap: 16px; font-size: 12px; }
  .mark { font-size: 16px; }
}

/* =====================================================================
   HERO — dawn gradient, full-bleed
   ================================================================= */
.hero {
  position: relative;
  min-height: 100svh;
  overflow: hidden;
  color: #fff;
  padding: 72px var(--pad) 120px;
  display: flex;
  align-items: center;
  justify-content: center;
}
@media (min-width: 900px) {
  .hero { padding: 88px var(--pad) 140px; }
}
.hero-bg {
  position: absolute; inset: 0; z-index: 0;
  pointer-events: none;
  background:
    radial-gradient(circle at 78% 12%, var(--sun) 0%, transparent 25%),
    linear-gradient(180deg, var(--dawn-1) 0%, var(--dawn-2) 35%, var(--dawn-3) 70%, var(--dawn-4) 100%);
  transition: background 2s ease;
}
body[data-time="noon"] .hero-bg {
  background:
    radial-gradient(circle at 78% 12%, #fff4c7 0%, transparent 25%),
    linear-gradient(180deg, #ffd89b 0%, #ffb88c 35%, #ff9ec9 70%, #c4a9ff 100%);
}
body[data-time="dusk"] .hero-bg {
  background:
    radial-gradient(circle at 78% 18%, #ffb27c 0%, transparent 25%),
    linear-gradient(180deg, var(--dawn-2) 0%, var(--dawn-4) 45%, var(--dusk-2) 85%, var(--dusk-1) 100%);
}
body[data-time="night"] .hero-bg {
  background:
    radial-gradient(circle at 78% 22%, #8e6dc8 0%, transparent 25%),
    linear-gradient(180deg, #2a1854 0%, var(--dusk-1) 55%, var(--navy-deep) 100%);
}

.hero-mist {
  position: absolute; inset: 0;
  background:
    radial-gradient(ellipse 70% 50% at 18% 78%, rgba(255,255,255,0.22), transparent 55%),
    radial-gradient(ellipse 55% 35% at 82% 70%, rgba(255,200,230,0.16), transparent 50%);
  pointer-events: none;
  z-index: 1;
}

.hero-sun {
  position: absolute;
  top: 12%; right: 9%;
  width: 96px; height: 96px;
  border-radius: 50%;
  background: radial-gradient(circle, #fff4c7, var(--sun));
  box-shadow:
    0 0 120px 40px rgba(255,216,155,0.55),
    0 0 60px 18px rgba(255,180,120,0.45);
  z-index: 1;
  animation: sunfloat 12s ease-in-out infinite;
}
@keyframes sunfloat {
  0%, 100% { transform: translateY(0); filter: brightness(1); }
  50%      { transform: translateY(-10px); filter: brightness(1.12); }
}
.hero-cloud {
  position: absolute;
  background: rgba(255,255,255,0.35);
  border-radius: 40px;
  filter: blur(10px);
  z-index: 1;
  pointer-events: none;
}
.hero-cloud.c1 { width: 220px; height: 40px; top: 28%; left: -40px; animation: drift1 22s linear infinite; }
.hero-cloud.c2 { width: 180px; height: 32px; top: 52%; right: -30px; animation: drift2 28s linear infinite; }
.hero-cloud.c3 { width: 140px; height: 24px; top: 72%; left: 20%;  animation: drift1 34s linear infinite; }
@keyframes drift1 { 0% { transform: translateX(0); } 100% { transform: translateX(80px); } }
@keyframes drift2 { 0% { transform: translateX(0); } 100% { transform: translateX(-80px); } }

.hero-inner {
  position: relative;
  z-index: 3;
  max-width: var(--max);
  width: 100%;
  display: grid;
  gap: 56px;
  grid-template-columns: 1fr;
  align-items: center;
}
@media (min-width: 900px) {
  .hero-inner {
    grid-template-columns: minmax(0, 1.1fr) minmax(0, 0.9fr);
    gap: 88px;
  }
}

.hero-eyebrow {
  font-family: var(--body);
  font-weight: 500;
  font-size: 11px;
  letter-spacing: 0.35em;
  color: rgba(255,255,255,0.85);
  margin-bottom: 24px;
  text-transform: uppercase;
}
.hero-eyebrow::before {
  content: "";
  display: inline-block;
  width: 24px; height: 1px;
  background: rgba(255,255,255,0.6);
  vertical-align: middle;
  margin-right: 14px;
}

.hero-title {
  font-family: var(--display);
  font-weight: 700;
  font-size: clamp(40px, 6.8vw, 76px);
  line-height: 1.25;
  letter-spacing: 0.02em;
  color: #fff;
  text-shadow: 0 4px 32px rgba(74,26,110,0.32);
  margin-bottom: 28px;
}
.hero-title .br { display: block; }

.hero-sub {
  font-family: var(--display);
  font-weight: 500;
  font-size: clamp(18px, 2.4vw, 22px);
  color: rgba(255,255,255,0.92);
  line-height: 1.7;
  letter-spacing: 0.04em;
  margin-bottom: 36px;
  max-width: 20em;
}

.hero-lede {
  font-family: var(--body);
  font-weight: 500;
  font-size: 14px;
  line-height: 2.1;
  color: rgba(255,255,255,0.88);
  max-width: 30em;
  margin-bottom: 64px;
}

.hero-cta {
  display: inline-flex;
  flex-direction: column;
  gap: 14px;
  align-items: flex-start;
}
.hero-chip {
  display: inline-flex;
  align-items: center;
  gap: 14px;
  padding: 20px 32px;
  background: rgba(255,255,255,0.16);
  border: 1px solid rgba(255,255,255,0.35);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  border-radius: 999px;
  font-family: var(--body);
  font-weight: 700;
  font-size: 13px;
  letter-spacing: 0.14em;
  color: #fff;
}
.hero-chip-dot {
  width: 6px; height: 6px; border-radius: 50%;
  background: var(--sun);
  box-shadow: 0 0 12px rgba(255,216,155,0.9);
  animation: dot-pulse 2.4s ease-in-out infinite;
}
@keyframes dot-pulse {
  0%, 100% { box-shadow: 0 0 10px rgba(255,216,155,0.85); }
  50%      { box-shadow: 0 0 22px rgba(255,216,155,1), 0 0 40px rgba(255,216,155,0.4); }
}
.hero-cta-note {
  font-family: var(--body);
  font-weight: 500;
  font-size: 12px;
  letter-spacing: 0.08em;
  color: rgba(255,255,255,0.75);
  padding-left: 4px;
  line-height: 1.8;
}

/* hero figure (capsule) */
.hero-figure {
  position: relative;
  justify-self: center;
  width: 100%;
  max-width: 400px;
  aspect-ratio: 5 / 7;
  display: flex;
  align-items: center;
  justify-content: center;
  animation: capsule-breath 7s ease-in-out infinite;
  transform-origin: center;
}
.hero-figure svg { width: 100%; height: auto; }
@keyframes capsule-breath {
  0%, 100% { transform: translateY(0) rotate(0deg); }
  50%      { transform: translateY(-10px) rotate(-1.5deg); }
}

/* seam particles */
.cap-particle {
  animation: particle-rise 4.2s ease-in-out infinite;
  transform-box: fill-box;
  transform-origin: center;
}
.cap-particle.p2 { animation-delay: 1.2s; animation-duration: 5s; }
.cap-particle.p3 { animation-delay: 2.1s; animation-duration: 4.6s; }
.cap-particle.p4 { animation-delay: 0.6s; animation-duration: 5.4s; }
@keyframes particle-rise {
  0%   { transform: translateY(0); opacity: 0; }
  20%  { opacity: 0.9; }
  100% { transform: translateY(-36px); opacity: 0; }
}

/* diagram particles */
.dg-particle {
  animation: dg-float 3.6s ease-in-out infinite;
  transform-box: fill-box;
  transform-origin: center;
}
.dg-particle.d2 { animation-delay: 0.5s; animation-duration: 4.2s; }
.dg-particle.d3 { animation-delay: 1.1s; animation-duration: 3.2s; }
.dg-particle.d4 { animation-delay: 1.7s; animation-duration: 4s; }
.dg-particle.d5 { animation-delay: 0.2s; animation-duration: 3.8s; }
@keyframes dg-float {
  0%, 100% { transform: translateY(0) scale(1); opacity: 0.9; }
  50%      { transform: translateY(-6px) scale(1.18); opacity: 1; }
}

/* =====================================================================
   SECTION HEAD
   ================================================================= */
.section {
  padding: var(--section-py) var(--pad);
  position: relative;
}
.section-inner {
  max-width: var(--max);
  margin: 0 auto;
}
.section-label {
  display: inline-flex;
  align-items: center;
  gap: 14px;
  font-family: var(--body);
  font-weight: 700;
  font-size: 11px;
  letter-spacing: 0.32em;
  color: var(--ink-on-cream-mute);
  margin-bottom: 20px;
  text-transform: uppercase;
}
.section-label::before {
  content: "";
  width: 24px; height: 1px;
  background: var(--gold);
}
.on-navy .section-label { color: rgba(243,233,210,0.6); }
.on-navy .section-label::before { background: var(--gold); }
.on-gradient .section-label { color: rgba(255,255,255,0.72); }
.on-gradient .section-label::before { background: rgba(255,255,255,0.5); }

.section-title {
  font-family: var(--display);
  font-weight: 700;
  font-size: clamp(30px, 5vw, 52px);
  line-height: 1.35;
  letter-spacing: 0.02em;
  color: var(--ink-on-cream);
  margin-bottom: 40px;
}
.on-navy .section-title { color: var(--cream); text-shadow: 0 2px 20px rgba(0,0,0,0.2); }
.on-gradient .section-title { color: #fff; text-shadow: 0 2px 24px rgba(74,26,110,0.32); }
.section-title .accent { color: var(--gold); }
.on-navy .section-title .accent { color: var(--sun); }

.section-lead {
  font-family: var(--body);
  font-weight: 500;
  font-size: 15px;
  line-height: 1.9;
  color: var(--ink-on-cream-soft);
  max-width: 34em;
  margin-bottom: 56px;
}
.on-navy .section-lead { color: rgba(243,233,210,0.82); }
.on-gradient .section-lead { color: rgba(255,255,255,0.88); }

/* =====================================================================
   問題セクション — 深い navy
   ================================================================= */
.section.on-navy.problem {
  background: var(--navy-deep);
  position: relative;
}
.problem-stars {
  position: absolute; inset: 0;
  background:
    radial-gradient(1px 1px at 20% 25%, rgba(255,255,255,0.5), transparent),
    radial-gradient(1px 1px at 60% 45%, rgba(255,216,155,0.4), transparent),
    radial-gradient(1px 1px at 85% 15%, rgba(255,255,255,0.4), transparent),
    radial-gradient(1px 1px at 35% 75%, rgba(255,255,255,0.3), transparent),
    radial-gradient(2px 2px at 75% 85%, rgba(255,216,155,0.3), transparent);
  pointer-events: none;
}
.problem .section-lead { color: rgba(243,233,210,0.82); margin-bottom: 48px; }

.problem-cards {
  display: grid;
  gap: 20px;
  grid-template-columns: 1fr;
  position: relative;
  z-index: 1;
}
@media (min-width: 760px) {
  .problem-cards { grid-template-columns: repeat(3, 1fr); gap: 24px; }
}

.problem-card {
  padding: 36px 32px;
  background: rgba(255,255,255,0.04);
  border: 1px solid var(--hairline-navy);
  border-radius: 18px;
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 22px;
}
.problem-card-icon {
  width: 48px;
  height: 48px;
  color: var(--sun);
}
.problem-card-icon svg { width: 100%; height: 100%; }
.problem-card-body {
  font-family: var(--display);
  font-weight: 500;
  font-size: 15px;
  line-height: 1.85;
  color: var(--cream);
  letter-spacing: 0.03em;
  margin: 0;
}

/* =====================================================================
   How — dusk gradient + capsule diagram
   ================================================================= */
.section.on-gradient.how {
  background:
    radial-gradient(circle at 30% 0%, rgba(255,216,155,0.35) 0%, transparent 45%),
    linear-gradient(180deg, var(--dusk-1) 0%, var(--dusk-2) 50%, #9464c6 100%);
  color: #fff;
  overflow: hidden;
  position: relative;
}
.how-figure {
  display: flex;
  justify-content: center;
  margin: 0 auto 56px;
  position: relative;
  z-index: 1;
}
.how-figure svg { width: 100%; max-width: 340px; height: auto; }

.how .section-lead strong {
  color: #fff;
  font-weight: 700;
  background: linear-gradient(to top, rgba(255,216,155,0.28) 0, rgba(255,216,155,0.28) 40%, transparent 40%);
  padding: 0 2px;
}

.how-steps {
  display: grid;
  gap: 14px;
  position: relative;
  z-index: 1;
}
@media (min-width: 760px) {
  .how-steps { grid-template-columns: repeat(3, 1fr); gap: 20px; }
}
.how-step {
  display: grid;
  grid-template-columns: 48px 1fr;
  gap: 20px;
  align-items: start;
  padding: 22px 24px;
  background: rgba(255,255,255,0.1);
  border: 1px solid rgba(255,255,255,0.22);
  border-radius: 18px;
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
}
.how-step-n {
  font-family: var(--display);
  font-weight: 600;
  font-size: 30px;
  color: var(--sun);
  line-height: 1;
  letter-spacing: 0.02em;
}
.how-step-h {
  font-family: var(--display);
  font-weight: 600;
  font-size: 17px;
  margin-bottom: 6px;
  letter-spacing: 0.04em;
}
.how-step-p {
  font-size: 13px;
  line-height: 1.7;
  color: rgba(255,255,255,0.78);
}

/* =====================================================================
   機能 — cream bg, glass cards with SVG icons
   ================================================================= */
.section.features {
  background: var(--cream);
  position: relative;
}
.features-grid {
  display: grid;
  gap: 24px;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  margin-top: 48px;
}
.feat {
  background: #fff;
  border: 1px solid var(--hairline-cream);
  border-radius: var(--radius);
  padding: 40px 36px;
  transition: transform .4s ease, box-shadow .4s ease;
}
.feat:hover {
  transform: translateY(-4px);
  box-shadow: 0 18px 40px -20px rgba(10,21,48,0.22);
}
.feat-icon-wrap {
  width: 56px;
  height: 56px;
  border-radius: 16px;
  background: linear-gradient(135deg, var(--cream-soft), var(--cream-deep));
  display: flex; align-items: center; justify-content: center;
  margin-bottom: 20px;
  color: var(--navy);
}
.feat-icon-wrap svg {
  width: 30px; height: 30px;
  stroke: currentColor;
  stroke-width: 1.4;
  stroke-linecap: round;
  stroke-linejoin: round;
  fill: none;
}
.feat-title {
  font-family: var(--display);
  font-weight: 600;
  font-size: 20px;
  color: var(--navy-deep);
  margin-bottom: 10px;
  letter-spacing: 0.03em;
  line-height: 1.5;
}
.feat-body {
  font-family: var(--body);
  font-weight: 500;
  font-size: 13.5px;
  line-height: 1.85;
  color: var(--ink-on-cream-soft);
}

/* =====================================================================
   料金 — navy bg, gold accent card
   ================================================================= */
.section.on-navy.price {
  background: var(--navy-deep);
  position: relative;
  overflow: hidden;
}
.price::before {
  content: "";
  position: absolute; inset: 0;
  background:
    radial-gradient(circle at 20% 80%, rgba(212,165,116,0.18) 0%, transparent 45%),
    radial-gradient(circle at 85% 20%, rgba(255,216,155,0.12) 0%, transparent 40%);
  pointer-events: none;
}
.price .section-inner { position: relative; z-index: 1; }

/* === Plans: Free vs Pro comparison === */
.plans {
  display: grid;
  gap: 24px;
  grid-template-columns: 1fr;
  margin-top: 48px;
}
@media (min-width: 860px) {
  .plans { grid-template-columns: 1fr 1.08fr; gap: 28px; align-items: stretch; }
}

.plan {
  position: relative;
  padding: 48px 40px 44px;
  background: rgba(255,255,255,0.04);
  border: 1px solid var(--hairline-navy);
  border-radius: 24px;
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  display: flex;
  flex-direction: column;
}

.plan-pro {
  background: linear-gradient(180deg, rgba(255,216,155,0.10), rgba(212,165,116,0.04));
  border: 1.5px solid rgba(212,165,116,0.5);
}

.plan-ribbon {
  position: absolute;
  top: -12px; left: 24px;
  padding: 6px 16px;
  background: var(--gold);
  color: var(--navy-deep);
  font-family: var(--body);
  font-weight: 700;
  font-size: 11px;
  letter-spacing: 0.25em;
  border-radius: 999px;
}

.plan-head {
  padding-bottom: 28px;
  border-bottom: 1px solid var(--hairline-navy);
  margin-bottom: 28px;
}
.plan-tag {
  font-family: var(--body);
  font-weight: 700;
  font-size: 11px;
  letter-spacing: 0.3em;
  color: rgba(243,233,210,0.55);
  margin-bottom: 12px;
  text-transform: uppercase;
}
.plan-pro .plan-tag { color: var(--gold); }
.plan-name {
  font-family: var(--display);
  font-weight: 700;
  font-size: 24px;
  color: var(--cream);
  margin-bottom: 16px;
  letter-spacing: 0.03em;
  line-height: 1.35;
}

.plan-price-line {
  display: flex;
  align-items: baseline;
  gap: 12px;
  margin-bottom: 14px;
}
.plan-yen {
  font-family: var(--display);
  font-weight: 700;
  font-size: 52px;
  line-height: 1;
  color: var(--cream);
  letter-spacing: -0.01em;
}
.plan-pro .plan-yen { color: var(--sun); }
.plan-unit {
  font-family: var(--body);
  font-weight: 500;
  font-size: 13px;
  color: rgba(243,233,210,0.65);
  letter-spacing: 0.06em;
}
.plan-strike {
  font-family: var(--display);
  font-size: 18px;
  color: rgba(243,233,210,0.4);
  text-decoration: line-through;
}
.plan-desc {
  font-family: var(--body);
  font-weight: 500;
  font-size: 13px;
  line-height: 1.7;
  color: rgba(243,233,210,0.7);
}

.plan-feat {
  display: grid;
  gap: 12px;
}
.plan-feat li {
  position: relative;
  padding-left: 30px;
  font-family: var(--body);
  font-weight: 500;
  font-size: 13.5px;
  line-height: 1.65;
  color: var(--cream);
}
.plan-feat li::before {
  position: absolute;
  left: 0; top: 3px;
  width: 18px; height: 18px;
  border-radius: 50%;
  font-size: 10px;
  line-height: 18px;
  text-align: center;
  font-weight: 700;
}
.plan-feat li.on::before {
  content: "✓";
  background: rgba(212,165,116,0.25);
  color: var(--gold);
}
.plan-feat li.on.pro::before {
  content: "✓";
  background: var(--gold);
  color: var(--navy-deep);
}
.plan-feat li.off {
  color: rgba(243,233,210,0.38);
}
.plan-feat li.off::before {
  content: "—";
  background: transparent;
  border: 1px solid rgba(243,233,210,0.22);
  color: rgba(243,233,210,0.32);
}
.plan-feat li.mute {
  color: rgba(243,233,210,0.5);
}
.plan-feat li.mute::before {
  content: "!";
  background: transparent;
  border: 1px solid rgba(243,233,210,0.28);
  color: rgba(243,233,210,0.5);
}
.price-foot {
  margin: 32px 0 0;
  max-width: 560px;
  font-family: var(--body);
  font-weight: 500;
  font-size: 12px;
  line-height: 1.8;
  color: rgba(243,233,210,0.58);
  padding: 18px 22px;
  border-left: 2px solid rgba(212,165,116,0.55);
  background: rgba(255,255,255,0.025);
}
.price-foot strong { color: var(--gold); font-weight: 700; }

.price-coda {
  margin-top: 48px;
  max-width: 480px;
  font-family: var(--display);
  font-size: clamp(18px, 2.6vw, 22px);
  line-height: 1.7;
  color: var(--cream);
  letter-spacing: 0.06em;
}
.price-coda strong { color: var(--sun); font-weight: 600; }

/* =====================================================================
   Dev message — cream bg, letter feel (but softer)
   ================================================================= */
.section.dev {
  background: var(--cream-soft);
  background-image:
    radial-gradient(circle at 90% 10%, rgba(212,165,116,0.14) 0%, transparent 30%),
    radial-gradient(circle at 10% 90%, rgba(142,77,204,0.06) 0%, transparent 40%);
}
.dev-card {
  max-width: 640px;
  margin: 48px auto 0;
  padding: 64px 56px;
  background: #fff;
  border-radius: var(--radius);
  border: 1px solid var(--hairline-cream);
  position: relative;
}
.dev-card::before {
  content: "";
  position: absolute;
  top: -12px; left: 40px;
  width: 28px; height: 28px;
  background: var(--gold);
  border-radius: 50%;
  box-shadow: 0 4px 14px rgba(212,165,116,0.35);
}
.dev-salute {
  font-family: var(--display);
  font-weight: 600;
  font-size: 15px;
  color: var(--ink-on-cream-soft);
  margin-bottom: 28px;
  letter-spacing: 0.08em;
}
.dev-body {
  font-family: var(--body);
  font-weight: 500;
  font-size: 15px;
  line-height: 2.1;
  color: var(--navy-deep);
}
.dev-body p + p { margin-top: 1.4em; }
.dev-body strong {
  font-weight: 700;
  background: linear-gradient(to top, rgba(212,165,116,0.28) 0, rgba(212,165,116,0.28) 35%, transparent 35%);
  padding: 0 2px;
}
.dev-sign {
  margin-top: 48px;
  text-align: right;
  font-family: var(--display);
  font-size: 13px;
  letter-spacing: 0.12em;
  color: var(--ink-on-cream-mute);
  line-height: 2;
}
.dev-sign-name {
  display: block;
  font-size: 17px;
  font-weight: 600;
  color: var(--navy-deep);
  margin-top: 6px;
  letter-spacing: 0.08em;
}

/* =====================================================================
   FAQ preview
   ================================================================= */
.section.qa {
  background: var(--cream);
}
.qa-list {
  max-width: 760px;
  margin: 40px auto 0;
}
.qa-item {
  border-top: 1px solid var(--hairline-cream);
  padding: 32px 0;
}
.qa-item:last-child { border-bottom: 1px solid var(--hairline-cream); }
.qa-q {
  font-family: var(--display);
  font-weight: 600;
  font-size: 17px;
  color: var(--navy-deep);
  display: flex;
  gap: 14px;
  align-items: baseline;
  letter-spacing: 0.03em;
}
.qa-q-badge {
  width: 26px; height: 26px;
  border-radius: 50%;
  background: var(--navy-deep);
  color: var(--cream);
  font-family: var(--display);
  font-size: 13px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  font-weight: 600;
}
.qa-q-body { line-height: 1.55; padding-top: 2px; }
.qa-a {
  margin-top: 14px;
  padding-left: 42px;
  font-family: var(--body);
  font-weight: 500;
  font-size: 14px;
  line-height: 1.85;
  color: var(--ink-on-cream-soft);
  max-width: 44em;
}
.qa-a strong { color: var(--navy-deep); font-weight: 700; }
.qa-more {
  margin-top: 40px;
  text-align: center;
}
.qa-more a {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-family: var(--display);
  font-size: 14px;
  font-weight: 700;
  letter-spacing: 0.1em;
  color: var(--navy-deep);
  padding: 20px 32px;
  border: 1px solid var(--navy-deep);
  border-radius: 999px;
  transition: background .3s, color .3s;
}
.qa-more a:hover { background: var(--navy-deep); color: var(--cream); }

/* =====================================================================
   Final CTA — dawn gradient reprise
   ================================================================= */
.fin {
  position: relative;
  padding: 160px var(--pad) 140px;
  overflow: hidden;
  color: #fff;
  text-align: center;
  background:
    radial-gradient(circle at 25% 85%, rgba(255,216,155,0.45) 0%, transparent 55%),
    radial-gradient(circle at 80% 15%, rgba(196,169,255,0.3) 0%, transparent 55%),
    linear-gradient(180deg, var(--dawn-1) 0%, var(--dawn-3) 60%, var(--dawn-4) 100%);
}
.fin-mist {
  position: absolute; inset: 0;
  background:
    radial-gradient(ellipse 60% 40% at 50% 100%, rgba(255,255,255,0.2), transparent 55%);
  pointer-events: none;
}
.fin-inner { position: relative; z-index: 1; max-width: 720px; margin: 0 auto; }
.fin-title {
  font-family: var(--display);
  font-weight: 600;
  font-size: clamp(32px, 5vw, 56px);
  line-height: 1.3;
  color: #fff;
  text-shadow: 0 4px 32px rgba(74,26,110,0.32);
  margin-bottom: 40px;
  letter-spacing: 0.06em;
}
.fin-title .accent { color: var(--sun); }
.fin-sub {
  font-family: var(--body);
  font-size: 14px;
  color: rgba(255,255,255,0.88);
  margin-bottom: 48px;
  line-height: 1.9;
}
.fin-chip {
  display: inline-flex;
  align-items: center;
  gap: 14px;
  padding: 22px 36px;
  background: rgba(255,255,255,0.18);
  border: 1px solid rgba(255,255,255,0.38);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  border-radius: 999px;
  color: #fff;
  font-family: var(--body);
  font-weight: 700;
  font-size: 13px;
  letter-spacing: 0.16em;
}
.fin-chip-dot {
  width: 6px; height: 6px; border-radius: 50%;
  background: var(--sun);
  box-shadow: 0 0 12px rgba(255,216,155,0.85);
  animation: dot-pulse 2.4s ease-in-out infinite;
}

/* =====================================================================
   COLOPHON footer
   ================================================================= */
.colophon {
  background: var(--navy-deep);
  color: var(--cream);
  padding: 80px var(--pad) 48px;
  border-top: 1px solid rgba(243,233,210,0.1);
}
.colophon-inner { max-width: var(--max); margin: 0 auto; }
.colophon-grid {
  display: grid;
  gap: 40px;
  grid-template-columns: 1fr;
  margin-bottom: 48px;
}
@media (min-width: 720px) {
  .colophon-grid { grid-template-columns: 1.4fr 1fr 1.2fr; gap: 60px; }
}
.colophon-name {
  font-family: var(--display);
  font-size: 20px;
  font-weight: 600;
  color: var(--cream);
  letter-spacing: 0.1em;
  margin-bottom: 8px;
}
.colophon-tag {
  font-family: var(--display);
  font-size: 13px;
  color: rgba(243,233,210,0.7);
  letter-spacing: 0.08em;
}
.colophon-label {
  font-family: var(--body);
  font-weight: 700;
  font-size: 11px;
  letter-spacing: 0.35em;
  color: rgba(243,233,210,0.5);
  margin-bottom: 16px;
}
.colophon-links { display: grid; gap: 8px; }
.colophon-links a {
  font-family: var(--display);
  font-size: 13px;
  color: rgba(243,233,210,0.82);
  letter-spacing: 0.04em;
  transition: color .3s;
}
.colophon-links a:hover { color: var(--sun); }
.colophon-copy {
  padding-top: 28px;
  border-top: 1px solid rgba(243,233,210,0.12);
  font-family: var(--body);
  font-weight: 500;
  font-size: 11px;
  letter-spacing: 0.12em;
  color: rgba(243,233,210,0.42);
}

/* =====================================================================
   reveal & motion
   ================================================================= */
/* =====================================================================
   Screenshots — horizontal scroll gallery on cream
   ================================================================= */
.section.screenshots {
  background: var(--cream);
  position: relative;
  overflow: hidden;
}
.screenshots-rail {
  display: flex;
  gap: 20px;
  overflow-x: auto;
  scroll-snap-type: x mandatory;
  scroll-padding-left: var(--pad);
  margin: 48px calc(var(--pad) * -1) 0;
  padding: 8px var(--pad) 32px;
  -webkit-overflow-scrolling: touch;
  scrollbar-width: thin;
}
.screenshots-rail::-webkit-scrollbar { height: 6px; }
.screenshots-rail::-webkit-scrollbar-thumb {
  background: rgba(45,22,84,0.18);
  border-radius: 3px;
}
.screenshot-card {
  flex: 0 0 220px;
  scroll-snap-align: start;
  display: flex;
  flex-direction: column;
  gap: 14px;
}
.screenshot-img {
  width: 100%;
  height: auto;
  aspect-ratio: 1242 / 2688;
  border-radius: 28px;
  border: 1px solid var(--hairline-cream);
  box-shadow: 0 18px 48px rgba(45,22,84,0.18), 0 4px 12px rgba(45,22,84,0.08);
  background: #fff;
  display: block;
}
.screenshot-cap {
  font-family: var(--display);
  font-weight: 500;
  font-size: 13px;
  line-height: 1.65;
  color: var(--ink);
  letter-spacing: 0.04em;
  text-align: left;
  margin: 0;
  padding: 0 4px;
}
@media (min-width: 760px) {
  .screenshot-card { flex: 0 0 240px; }
}

/* =====================================================================
   Science — on-navy, two cards with citations
   ================================================================= */
.section.on-navy.science {
  background:
    radial-gradient(circle at 80% 0%, rgba(255,216,155,0.14) 0%, transparent 55%),
    linear-gradient(180deg, var(--navy) 0%, #1a1430 100%);
  color: var(--cream);
  position: relative;
  overflow: hidden;
}
.science .section-lead { color: rgba(243,233,210,0.82); margin-bottom: 48px; }
.science-cards {
  display: grid;
  gap: 24px;
  margin-top: 32px;
}
@media (min-width: 760px) {
  .science-cards { grid-template-columns: repeat(2, 1fr); }
}
.science-card {
  padding: 36px 32px;
  background: rgba(255,255,255,0.04);
  border: 1px solid var(--hairline-navy);
  border-radius: 18px;
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  display: flex;
  flex-direction: column;
  gap: 18px;
}
.science-card-tag {
  font-family: var(--body);
  font-weight: 700;
  font-size: 11px;
  letter-spacing: 0.18em;
  color: var(--sun);
  text-transform: uppercase;
  margin: 0;
}
.science-card-title {
  font-family: var(--display);
  font-weight: 600;
  font-size: 19px;
  line-height: 1.5;
  color: var(--cream);
  letter-spacing: 0.03em;
  margin: 0;
}
.science-card-body {
  font-family: var(--display);
  font-weight: 500;
  font-size: 14px;
  line-height: 1.85;
  color: rgba(243,233,210,0.82);
  letter-spacing: 0.03em;
  margin: 0;
}
.science-card-body strong {
  color: var(--cream);
  font-weight: 700;
}
.science-cite {
  font-family: var(--body);
  font-size: 11px;
  letter-spacing: 0.06em;
  color: rgba(243,233,210,0.55);
  margin: 0;
  padding-top: 12px;
  border-top: 1px solid rgba(243,233,210,0.12);
}
.science-cite a {
  color: rgba(243,233,210,0.7);
  text-decoration: underline;
  text-decoration-color: rgba(243,233,210,0.3);
}
.science-foot {
  font-family: var(--body);
  font-size: 12px;
  letter-spacing: 0.04em;
  color: rgba(243,233,210,0.55);
  text-align: center;
  margin: 32px auto 0;
  max-width: 580px;
  line-height: 1.7;
}

/* chip を <a> 化したときの装飾（hero / fin 共通） */
a.hero-chip,
a.fin-chip {
  text-decoration: none;
  cursor: pointer;
  transition: background 0.3s ease, transform 0.3s ease;
}
a.hero-chip:hover,
a.fin-chip:hover {
  background: rgba(255,255,255,0.24);
  transform: translateY(-1px);
}

.reveal {
  opacity: 0;
  transform: translateY(16px);
  transition: opacity 1.2s cubic-bezier(.2,.7,.2,1), transform 1.2s cubic-bezier(.2,.7,.2,1);
}
.reveal.revealed { opacity: 1; transform: translateY(0); }

@media (prefers-reduced-motion: reduce) {
  .reveal, .hero-cloud, .hero-sun,
  .hero-figure, .cap-particle, .dg-particle,
  .hero-chip-dot, .fin-chip-dot {
    animation: none !important;
    transition: none !important;
  }
  .reveal { opacity: 1; transform: none; }
}

@media (max-width: 640px) {
  .section { padding: 96px var(--pad); }
  .hero { padding: 80px var(--pad) 80px; }
  .hero-sun { width: 70px; height: 70px; top: 10%; right: 6%; }
  .hero-cloud.c1, .hero-cloud.c2, .hero-cloud.c3 { display: none; }
  .hero-eyebrow { margin-bottom: 18px; }
  .hero-title { margin-bottom: 20px; line-height: 1.3; }
  .hero-sub { margin-bottom: 28px; }
  .dev-card { padding: 48px 32px; }
  .price-card { padding: 48px 32px 52px; }
  .feat { padding: 32px 26px; }
  .how-step { padding: 20px 22px; gap: 16px; grid-template-columns: 44px 1fr; }
  .section-title { margin-bottom: 28px; }
  .section-lead { margin-bottom: 36px; }
  .how-figure { margin-bottom: 40px; }
  .how-steps { gap: 12px; }
}

/* ===== App Store Badge ===== */
.appstore-badge { display: inline-block; line-height: 0; }
.appstore-badge img { height: 54px; width: auto; transition: opacity .15s; }
.appstore-badge:hover img { opacity: 0.8; }
.appstore-badge--fin { margin-top: 8px; }

/* ===== CM Reel ===== */
.cm-reel {
  background: var(--navy);
  padding: 80px var(--pad);
  text-align: center;
}
.cm-reel .section-label { color: var(--ink-on-navy-mute); }
.cm-reel .section-title { color: var(--cream); margin-bottom: 40px; }
.cm-reel-inner { display: flex; flex-direction: column; align-items: center; }
.cm-player-wrap {
  width: 100%;
  max-width: 280px;
  border-radius: 28px;
  overflow: hidden;
  box-shadow: 0 24px 64px rgba(0,0,0,0.55), 0 0 0 1px rgba(255,255,255,0.08);
  background: #0E1F3E;
}
.cm-player {
  display: block;
  width: 100%;
  aspect-ratio: 9 / 16;
  object-fit: cover;
}
@media (max-width: 600px) {
  .cm-reel { padding: 60px var(--pad); }
  .cm-player-wrap { max-width: 200px; }
}
