/* Public landing only: airy reading theme, accessible mode switch and image-led pause. */
html[data-theme="light"] {
  color-scheme: light;
  --night: #f8f6f0;
  --night-2: #eff1e9;
  --paper: #fffdf8;
  --paper-soft: rgba(255,253,248,.92);
  --ink: #243e33;
  --muted: #4d665b;
  --quiet: #5a7266;
  --sage: #315a45;
  --sage-deep: #557965;
  --line: rgba(61,99,74,.22);
  --glass: rgba(248,246,238,.9);
  --shadow: 0 20px 55px rgba(43,67,49,.11);
}
html[data-theme="light"] .site-shell {
  background: radial-gradient(circle at 87% 17%,rgba(164,195,161,.17),transparent 30rem),
              linear-gradient(180deg,#f8f6f0 0%,#f0f3eb 45%,#f8f7f2 100%);
}
html[data-theme="light"] ::selection {background:#d1dfca;color:#243e33}
html[data-theme="light"] .topbar.scrolled {
  background:rgba(250,249,243,.95);
  box-shadow:0 5px 22px rgba(39,61,43,.09);
}
html[data-theme="light"] .topbar:not(.scrolled) .brand {color:#f1efe3}
html[data-theme="light"] .topbar:not(.scrolled) .brand-mark {border-color:#e4e6d5}
html[data-theme="light"] .topbar:not(.scrolled) .brand-mark::before {background:#071316}
html[data-theme="light"] .topbar:not(.scrolled) .brand-mark::after {color:#d6dfc1}
html[data-theme="light"] .topbar.scrolled .brand-mark {border-color:#3c5f4e}
html[data-theme="light"] .topbar.scrolled .brand-mark::before {background:#faf9f3}
html[data-theme="light"] .topbar.scrolled .brand-mark::after {color:#52755c;text-shadow:none}

/* Hero and closing illustration remain intentionally nocturnal in either mode. */
html[data-theme="light"] .hero::before {filter:saturate(.78) brightness(.9)}
.hero {color:#f1efe3}
html[data-theme="light"] .hero-lead {color:#d2dacd}
html[data-theme="light"] .eyebrow {color:#cbd7be}
html[data-theme="light"] .scroll-cue {color:#a9b9aa}
.final {color:#f1efe3}

.theme-switch {
  display:inline-flex;align-items:center;justify-content:center;gap:8px;
  flex:none;min-width:89px;min-height:44px;padding:0 13px;
  border:1px solid rgba(225,232,214,.48);border-radius:100px;
  background:rgba(6,24,25,.55);color:#f1efe3;
  font:500 .79rem/1 var(--sans);letter-spacing:.02em;cursor:pointer;
  backdrop-filter:blur(12px);-webkit-backdrop-filter:blur(12px);
  transition:background .2s,border-color .2s,color .2s;
}
.theme-switch-track {
  display:inline-flex;align-items:center;flex:none;
  width:29px;height:17px;padding:2px;
  border:1px solid currentColor;border-radius:999px;
  opacity:.83;
}
.theme-switch-thumb {
  display:block;width:11px;height:11px;flex:none;
  border-radius:50%;background:currentColor;
  transform:translateX(0);transition:transform .2s ease;
}
html[data-theme="light"] .theme-switch-thumb {transform:translateX(12px)}
.theme-switch:focus-visible {outline:3px solid #d6e0b3;outline-offset:3px}
.theme-switch:hover {background:rgba(24,51,46,.8)}
html[data-theme="light"] .topbar.scrolled .theme-switch {
  background:#f5f3eb;color:#284738;border-color:rgba(52,84,63,.42);
}
html[data-theme="light"] .topbar.scrolled .theme-switch:hover {background:#e6eddf}

/* A readable, warm-paper treatment rather than pure white. */
html[data-theme="light"] .promise-grid {background:rgba(61,99,74,.14)}
html[data-theme="light"] .promise-card {
  background:linear-gradient(180deg,#fffefb 0%,#f7faf4 100%);
}
html[data-theme="light"] .promise-no {color:#587766}
html[data-theme="light"] .promise-card h3 {color:#284b3a}
html[data-theme="light"] .fit-panel {
  background:linear-gradient(145deg,#fffefb 0%,#edf3ea 100%);
  border-color:rgba(74,114,83,.24);
}
html[data-theme="light"] .fit-badge {color:#557965}
html[data-theme="light"] .fit-badge::before {background:#739782}
html[data-theme="light"] .fit-rule {color:#354f42}
html[data-theme="light"] .fit-rule strong {color:#294938}
html[data-theme="light"] .fit-boundary {color:#617b6c}
html[data-theme="light"] .step-num {color:#5f816e}
html[data-theme="light"] .free-main {background:#fffefb}
html[data-theme="light"] .free-side {background:linear-gradient(180deg,#f2f6ec,#eaf1e8)}
html[data-theme="light"] .free-list li {color:#345342}
html[data-theme="light"] .free-list li::before {color:#688974}
html[data-theme="light"] .free-side .mini {color:#637f6e}
html[data-theme="light"] .philosophy-body {color:#4d665b}
html[data-theme="light"] .philosophy-body .em {color:#2f4c3e}
html[data-theme="light"] details summary {color:#263e33}
html[data-theme="light"] summary::after {color:#597968}
html[data-theme="light"] footer {background:#edf0e8;color:#5e7467}
html[data-theme="light"] .footer-brand {color:#355343}
html[data-theme="light"] .primary-cta {
  background:linear-gradient(135deg,#436d54,#345b46);
  border-color:#41684e;color:#fffdf8;
  box-shadow:0 14px 35px rgba(48,78,52,.17);
}
html[data-theme="light"] .mobile-cta {
  background:rgba(59,98,74,.98);color:#fffdf8;
  border-color:#3d6b4f;box-shadow:0 12px 33px rgba(33,65,42,.2);
}

/* Give the photography its own space; text is no longer laid over the image. */
.scene-band {
  width:min(calc(100% - 44px),1120px);
  min-height:0;
  display:grid;
  grid-template-columns:minmax(0,1.03fr) minmax(0,.97fr);
  align-items:stretch;
  margin:32px auto 0;
  border:1px solid var(--line);
  border-radius:12px;
  overflow:hidden;
  background:var(--paper);
  background-image:none;
  box-shadow:var(--shadow);
}
.scene-image {
  position:relative;
  min-height:400px;
  background:#0d2425;
  overflow:hidden;
}
.scene-image img {
  display:block;
  position:absolute;
  inset:0;
  width:100%;height:100%;
  object-fit:cover;
  object-position:52% center;
}
.scene-band .inner {
  width:100%;
  display:flex;
  align-items:center;
  padding:42px clamp(28px,4vw,52px);
}
.scene-copy {max-width:100%}
.scene-copy h2 {font-size:clamp(1.55rem,3vw,2.35rem);line-height:1.55}
.scene-copy p {color:var(--muted);line-height:1.95}
.scene-quote {margin-bottom:22px;color:var(--sage-deep);font-size:.72rem}

/* Keep direct CTAs visually distinct and readable in both themes. */
@media(max-width:760px) {
  .topbar {gap:12px}
  .brand {font-size:.92rem}
  .theme-switch {min-width:82px;min-height:44px;padding:0 11px;font-size:.77rem}
  .faq .section-title {font-size:clamp(1.52rem,6vw,1.95rem);line-height:1.5;letter-spacing:.01em}
  .faq summary {font-size:.97rem;letter-spacing:.008em;padding-right:38px}
  .scene-band {
    width:calc(100% - 40px);
    margin:20px auto 0;
    display:flex;flex-direction:column;
    min-height:0;
    align-items:stretch;
    background-image:none;
  }
  .scene-image {min-height:0;aspect-ratio:16/10}
  .scene-band .inner {padding:31px 22px 35px}
  .scene-copy h2 {font-size:clamp(1.43rem,5.7vw,1.85rem);line-height:1.6}
  .scene-copy p {font-size:1rem;line-height:1.9}
}
@media(prefers-reduced-motion:reduce) {
  .theme-switch,.theme-switch-thumb {transition:none}
}

/* Square preview stays below the first LINE registration button. */
.intro-video {
  max-width: 380px;
  margin: 50px auto 0;
  text-align: center;
}
.intro-video .section-kicker { margin-bottom: 17px; }
.intro-video-trigger {
  position: relative;
  display: block;
  width: min(100%, 340px);
  aspect-ratio: 1 / 1;
  padding: 0;
  margin: 0 auto;
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: 0;
  background: #081719;
  color: #fff;
  cursor: pointer;
  touch-action: manipulation;
}
.intro-video-trigger:focus-visible { outline: 3px solid var(--sage-deep); outline-offset: 4px; }
.intro-video-poster {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.intro-video-play {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  display: flex;
  align-items: center;
  justify-content: center;
  width: 64px;
  height: 64px;
  padding-left: 4px;
  border: 1px solid rgba(235, 240, 231, .8);
  border-radius: 50%;
  background: rgba(7, 25, 26, .78);
  box-shadow: 0 8px 25px rgba(0, 0, 0, .3);
  font-size: 24px;
  line-height: 1;
}
.intro-video-trigger:hover .intro-video-play { background: rgba(18, 52, 47, .9); }
.intro-video-disclaimer {
  width: min(100%, 340px);
  margin: 24px auto 0;
  color: var(--muted);
  font-size: .79rem;
  line-height: 1.85;
  text-align: left;
}
.intro-video-overlay[hidden] { display: none !important; }
.intro-video-overlay {
  position: fixed;
  inset: 0;
  z-index: 200;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 0;
  background: #000;
}
.intro-video-full {
  display: block;
  width: auto;
  max-width: 100%;
  height: 100%;
  max-height: 100dvh;
  object-fit: contain;
  background: #000;
}
.intro-video-close {
  position: absolute;
  z-index: 201;
  top: calc(12px + env(safe-area-inset-top));
  right: calc(12px + env(safe-area-inset-right));
  width: 44px;
  height: 44px;
  padding: 0;
  border: 1px solid rgba(255,255,255,.65);
  border-radius: 50%;
  background: rgba(0,0,0,.7);
  color: #fff;
  cursor: pointer;
  font-size: 28px;
  line-height: 1;
}
.intro-video-close:focus-visible { outline: 3px solid #fff; outline-offset: 3px; }
@media(max-width:760px) {
  .intro-video { margin-top: 40px; }
  .intro-video-disclaimer { font-size: .86rem; }
}
