/* Amber Green Screen — Editorial Studio Design System
   Warm cream, forest green, and tactile amber. Minimal, calm, zero clutter. */

:root {
  --cream: #faf8f3;
  --cream-deep: #f2ede2;
  --forest: #1e4d3b;
  --forest-dark: #15392b;
  --leaf: #2e7d5b;
  --amber: #e89a2d;
  --amber-deep: #c97b14;
  --sage: #ebf2ee;
  --sage-border: #d5e2db;
  --charcoal: #1f2925;
  --slate: #5a6b63;
  --white: #ffffff;
  --chroma-green: #00b140;

  --font-display: "Fraunces", ui-serif, Georgia, serif;
  --font-sans: "Plus Jakarta Sans", -apple-system, BlinkMacSystemFont, "SF Pro Rounded", "SF Pro Text", sans-serif;
  --radius-sm: 10px;
  --radius-md: 18px;
  --radius-lg: 24px;
  --max-w: 1120px;
}

*,
*::before,
*::after {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
  background: var(--cream);
  color: var(--charcoal);
  font-family: var(--font-sans);
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}

body {
  margin: 0;
  background: var(--cream);
  color: var(--charcoal);
  line-height: 1.6;
  overflow-x: clip;
}

img {
  display: block;
  max-width: 100%;
  height: auto;
}

a {
  color: inherit;
  text-decoration: none;
}

:focus-visible {
  outline: 2.5px solid var(--amber);
  outline-offset: 3px;
}

/* --------------------------------------------------------------------------
   Top Navigation — Minimal floating bar
   -------------------------------------------------------------------------- */

.site-header {
  position: fixed;
  inset-block-start: 0;
  inset-inline: 0;
  z-index: 40;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 16px clamp(20px, 4vw, 48px);
  background: rgba(250, 248, 243, 0.86);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  border-bottom: 1px solid rgba(30, 77, 59, 0.08);
}

.brand-link {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-weight: 700;
  font-size: 0.98rem;
  letter-spacing: -0.01em;
  color: var(--forest);
}

.brand-link img {
  width: 30px;
  height: 30px;
  border-radius: 7px;
  box-shadow: 0 2px 6px rgba(30, 77, 59, 0.16);
}

.site-nav {
  display: flex;
  align-items: center;
  gap: clamp(16px, 2.6vw, 32px);
  font-size: 0.92rem;
  font-weight: 500;
  color: var(--slate);
}

.site-nav a {
  transition: color 0.18s ease;
}

.site-nav a:hover,
.site-nav a[aria-current="page"] {
  color: var(--forest);
}

.nav-cta {
  padding: 9px 18px;
  border-radius: 9px;
  background: var(--forest);
  color: var(--white) !important;
  font-weight: 600;
  transition: background-color 0.18s ease, transform 0.18s ease;
}

.nav-cta:hover {
  background: var(--forest-dark);
}

/* --------------------------------------------------------------------------
   Scroll-Driven Green Screen Hero
   As the user scrolls, the green cloth dissolves to reveal the studio world
   while the cutout stays crisp and the Amber Green Screen logo + name lock in.
   -------------------------------------------------------------------------- */

.hero-track {
  position: relative;
  height: 220vh;
  background: var(--chroma-green);
}

.hero-sticky {
  position: sticky;
  top: 0;
  height: 100svh;
  width: 100%;
  overflow: hidden;
  display: grid;
  place-items: center;
  background: var(--chroma-green);
}

.hero-stage {
  position: relative;
  width: 100%;
  height: 100%;
  overflow: hidden;
}

.hero-layer {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: 38% center;
  user-select: none;
  pointer-events: none;
}

/* Layer 1: Illustrated world revealed behind the subject */
.hero-backdrop {
  z-index: 1;
}

/* Layer 2: Studio green screen backdrop — dissolves on scroll */
.hero-greenscreen {
  z-index: 2;
  background: radial-gradient(ellipse at 36% 42%, #22c552 0%, #12b144 48%, #0c9c39 100%);
  opacity: 0;
  /* Final static state for reduced motion / no-JS */
  will-change: opacity;
}

/* Layer 3: Despilled cutout uses object-fit: contain anchored to bottom so her head
   can NEVER be clipped on wide, short, or ultrawide screens */
.hero-cutout {
  z-index: 3;
  inset: auto 0 0 0;
  width: 100%;
  height: min(84%, calc(100% - 76px));
  object-fit: contain;
  object-position: 34% bottom;
}

/* Subtle bottom vignette for crisp legibility */
.hero-vignette {
  position: absolute;
  inset: 0;
  z-index: 4;
  background: linear-gradient(to top,
      rgba(21, 57, 43, 0.42) 0%,
      rgba(21, 57, 43, 0.08) 32%,
      rgba(21, 57, 43, 0) 62%);
  pointer-events: none;
}

/* Initial prompt visible at scroll = 0 on the raw green screen */
.hero-scroll-cue {
  position: absolute;
  inset-inline: 0;
  bottom: 36px;
  z-index: 6;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 8px;
  color: var(--white);
  font-size: 0.92rem;
  font-weight: 600;
  letter-spacing: 0.02em;
  text-shadow: 0 2px 12px rgba(0, 0, 0, 0.25);
  opacity: 0;
  pointer-events: none;
}

.hero-scroll-cue svg {
  width: 20px;
  height: 20px;
}

/* Brand Lockup — appears in the upper-right sky where the child points */
.hero-brand-reveal {
  position: absolute;
  top: clamp(118px, 19vh, 185px);
  right: clamp(24px, 6vw, 96px);
  z-index: 6;
  max-width: min(460px, 90vw);
  padding: clamp(20px, 3vw, 32px);
  background: rgba(250, 248, 243, 0.94);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border: 1px solid rgba(30, 77, 59, 0.14);
  border-radius: var(--radius-lg);
  box-shadow: 0 24px 60px rgba(21, 57, 43, 0.22);
}

.hero-logo-row {
  display: flex;
  align-items: center;
  gap: 16px;
}

.hero-app-icon {
  width: clamp(58px, 6vw, 72px);
  height: clamp(58px, 6vw, 72px);
  border-radius: 16px;
  box-shadow: 0 8px 20px rgba(30, 77, 59, 0.2);
  flex-shrink: 0;
}

.hero-title {
  margin: 0;
  font-family: var(--font-display);
  font-weight: 600;
  font-size: clamp(1.75rem, 3.2vw, 2.5rem);
  line-height: 1.06;
  letter-spacing: -0.025em;
  color: var(--forest);
}

.hero-subtitle {
  margin: 14px 0 20px;
  font-size: clamp(0.98rem, 1.3vw, 1.08rem);
  color: var(--charcoal);
  line-height: 1.5;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 14px;
}

.btn-primary {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 13px 22px;
  border-radius: 12px;
  background: var(--forest);
  color: var(--white);
  font-weight: 600;
  font-size: 0.95rem;
  border: none;
  cursor: pointer;
  transition: background-color 0.18s ease, transform 0.18s ease;
}

.btn-primary:hover {
  background: var(--forest-dark);
}

.btn-ghost {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 12px 4px;
  color: var(--forest);
  font-weight: 600;
  font-size: 0.93rem;
  border-bottom: 1.5px solid rgba(30, 77, 59, 0.3);
  transition: border-color 0.18s ease;
}

.btn-ghost:hover {
  border-color: var(--forest);
}

/* Native CSS Scroll-Driven Animations (modern-web-guidance: scrollytelling + motion)
   Requires both animation-timeline and animation-range checks, declared AFTER animation shorthand. */
@media (prefers-reduced-motion: no-preference) {
  @supports ((animation-timeline: scroll()) and (animation-range: 0% 100%)) {
    html {
      timeline-scope: --hero-scroll;
    }

    .hero-track {
      view-timeline: --hero-scroll block;
    }

    @keyframes key-away-green {
      0% {
        opacity: 1;
      }

      100% {
        opacity: 0;
      }
    }

    @keyframes reveal-brand {
      0% {
        opacity: 0;
        transform: translateY(28px) scale(0.96);
      }

      100% {
        opacity: 1;
        transform: translateY(0) scale(1);
      }
    }

    @keyframes reveal-wordmark {
      0% {
        opacity: 0;
        transform: translateX(-12px);
      }

      100% {
        opacity: 1;
        transform: translateX(0);
      }
    }

    @keyframes hide-scroll-cue {
      0% {
        opacity: 1;
        transform: translateY(0);
      }

      100% {
        opacity: 0;
        transform: translateY(10px);
      }
    }

    .hero-greenscreen {
      animation: key-away-green linear both;
      animation-timeline: --hero-scroll;
      animation-range: contain 0% contain 58%;
    }

    .hero-scroll-cue {
      animation: hide-scroll-cue linear both;
      animation-timeline: --hero-scroll;
      animation-range: contain 0% contain 18%;
    }

    .hero-brand-reveal {
      animation: reveal-brand linear both;
      animation-timeline: --hero-scroll;
      animation-range: contain 36% contain 78%;
    }

    .hero-title {
      animation: reveal-wordmark linear both;
      animation-timeline: --hero-scroll;
      animation-range: contain 52% contain 86%;
    }
  }
}

/* JS fallback class applied only when native scroll-driven animations are unavailable */
.hero-js-driven .hero-greenscreen {
  opacity: var(--hero-green-opacity, 1);
}

.hero-js-driven .hero-scroll-cue {
  opacity: var(--hero-cue-opacity, 1);
}

.hero-js-driven .hero-brand-reveal {
  opacity: var(--hero-brand-opacity, 0);
  transform: translateY(var(--hero-brand-y, 24px));
}

@media (prefers-reduced-motion: reduce) {
  .hero-track {
    height: auto;
  }

  .hero-sticky {
    position: relative;
    height: min(86svh, 760px);
  }

  .hero-greenscreen,
  .hero-scroll-cue {
    opacity: 0 !important;
  }

  .hero-brand-reveal,
  .hero-title {
    opacity: 1 !important;
    transform: none !important;
  }
}

/* --------------------------------------------------------------------------
   Editorial Sections
   -------------------------------------------------------------------------- */

.section {
  max-width: var(--max-w);
  margin: 0 auto;
  padding: clamp(64px, 9vw, 124px) clamp(20px, 4vw, 40px);
}

.section-tight {
  padding-block: clamp(48px, 6vw, 88px);
}

.section-rule {
  border-top: 1px solid var(--sage-border);
}

.section-header {
  max-width: 640px;
  margin-bottom: clamp(32px, 5vw, 56px);
}

.kicker {
  display: block;
  margin: 0 0 10px;
  font-size: 0.82rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--amber-deep);
}

.section-title {
  margin: 0;
  font-family: var(--font-display);
  font-weight: 600;
  font-size: clamp(2rem, 4vw, 3.1rem);
  line-height: 1.08;
  letter-spacing: -0.025em;
  color: var(--forest);
}

.section-lead {
  margin: 16px 0 0;
  font-size: clamp(1.02rem, 1.4vw, 1.15rem);
  color: var(--slate);
  max-width: 56ch;
}

/* --------------------------------------------------------------------------
   Faithful iPad App Interface Replica + Live Chroma Key Studio
   -------------------------------------------------------------------------- */

.studio-stage-wrap {
  position: relative;
}

.studio-hint {
  position: absolute;
  left: calc(100% + 16px);
  top: 42%;
  transform: translateY(-50%);
  display: flex;
  align-items: center;
  gap: 8px;
  width: 148px;
  color: var(--forest);
  font-family: var(--font-display);
  font-style: italic;
  font-size: 0.9rem;
  line-height: 1.3;
  pointer-events: none;
  transition: opacity 0.35s ease;
}

.studio-hint.is-dismissed {
  opacity: 0;
}

.studio-hint-arrow {
  width: 40px;
  height: 28px;
  color: var(--amber-deep);
  flex-shrink: 0;
}

@media (prefers-reduced-motion: no-preference) {
  @keyframes hint-nudge {

    0%,
    100% {
      transform: translateY(-50%) translateX(0);
    }

    50% {
      transform: translateY(-50%) translateX(-5px);
    }
  }

  .studio-hint {
    animation: hint-nudge 3s ease-in-out infinite;
  }

  .studio-hint.is-dismissed {
    animation: none;
  }
}

@media (max-width: 1360px) {
  .studio-hint {
    position: static;
    transform: none;
    width: auto;
    justify-content: flex-end;
    margin-top: 12px;
    animation: none;
  }

  .studio-hint-arrow {
    transform: rotate(75deg);
    width: 28px;
    height: 22px;
  }

  .studio-hint span br {
    display: none;
  }
}

.ipad-frame {
  background: #141917;
  padding: clamp(10px, 1.4vw, 16px);
  border-radius: clamp(20px, 2.6vw, 30px);
  box-shadow: 0 32px 80px rgba(21, 57, 43, 0.18), 0 4px 16px rgba(0, 0, 0, 0.08);
}

.app-shell {
  background: var(--cream);
  border-radius: clamp(12px, 1.6vw, 20px);
  overflow: hidden;
  display: flex;
  flex-direction: column;
  gap: 10px;
  padding: 12px;
  border: 1px solid rgba(30, 77, 59, 0.1);
}

.app-topbar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  flex-wrap: wrap;
}

.app-topbar-left,
.app-topbar-right {
  display: flex;
  align-items: center;
  gap: 8px;
}

.app-circle-btn {
  width: 32px;
  height: 32px;
  border-radius: 50%;
  background: var(--white);
  border: 1px solid var(--sage-border);
  display: grid;
  place-items: center;
  color: var(--forest);
  font-weight: 700;
  font-size: 0.85rem;
}

.app-mini-brand {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  font-weight: 700;
  font-size: 0.82rem;
  color: var(--forest);
}

.app-mini-brand img {
  width: 24px;
  height: 24px;
  border-radius: 6px;
}

.app-project-title {
  padding: 6px 12px;
  background: var(--sage);
  border: 1px solid var(--sage-border);
  border-radius: 10px;
  font-size: 0.8rem;
  font-weight: 600;
  color: var(--charcoal);
}

.app-ratio-btn {
  padding: 6px 12px;
  border-radius: 999px;
  background: var(--forest);
  color: var(--white);
  font-size: 0.78rem;
  font-weight: 700;
}

.app-save-btn {
  padding: 7px 14px;
  border-radius: 999px;
  background: var(--forest);
  color: var(--white);
  font-size: 0.78rem;
  font-weight: 700;
}

/* Middle 3-column stage workspace matching StageWorkspaceView */
.app-workspace {
  display: grid;
  grid-template-columns: 72px minmax(0, 1fr) 156px;
  gap: 12px;
  align-items: center;
}

.app-left-rail {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 16px;
}

.app-transport {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 5px;
  font-size: 0.72rem;
  font-weight: 700;
  color: var(--charcoal);
}

.app-record-dot {
  width: 48px;
  height: 48px;
  border-radius: 50%;
  background: linear-gradient(180deg, #f5b342, var(--amber));
  display: grid;
  place-items: center;
  color: var(--white);
  box-shadow: 0 6px 14px rgba(232, 154, 45, 0.32);
}

.app-play-dot {
  width: 48px;
  height: 48px;
  border-radius: 50%;
  background: var(--forest);
  display: grid;
  place-items: center;
  color: var(--white);
  box-shadow: 0 6px 14px rgba(30, 77, 59, 0.25);
}

/* Interactive Chroma-Key Stage Canvas (matches real Amber Green Screen stage) */
.studio-canvas {
  position: relative;
  aspect-ratio: 16 / 9;
  width: 100%;
  border-radius: 14px;
  overflow: hidden;
  border: 2.5px solid var(--forest);
  background: var(--chroma-green);
  user-select: none;
}

.studio-canvas img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  pointer-events: none;
}

.studio-raw-green {
  z-index: 2;
  opacity: 0;
  transition: opacity 0.14s ease;
}

.studio-cutout {
  z-index: 3;
}

.inspector-switch {
  position: relative;
  width: 34px;
  height: 20px;
  padding: 0;
  border: none;
  border-radius: 999px;
  background: var(--sage-border);
  cursor: pointer;
  transition: background-color 0.18s ease;
}

.inspector-switch[aria-checked="true"] {
  background: var(--leaf);
}

.inspector-switch-knob {
  position: absolute;
  top: 2px;
  left: 2px;
  width: 16px;
  height: 16px;
  border-radius: 50%;
  background: var(--white);
  box-shadow: 0 1px 3px rgba(0, 0, 0, 0.22);
  transition: transform 0.18s ease;
}

.inspector-switch[aria-checked="true"] .inspector-switch-knob {
  transform: translateX(14px);
}

.studio-corner-label {
  position: absolute;
  top: 10px;
  z-index: 6;
  padding: 4px 9px;
  border-radius: 6px;
  font-size: 0.72rem;
  font-weight: 700;
  background: rgba(21, 57, 43, 0.82);
  color: var(--white);
  pointer-events: none;
}

.studio-corner-left {
  left: 10px;
}

.studio-corner-right {
  right: 10px;
}

/* Right Inspector matching StageWorkspaceView */
.app-right-rail {
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.inspector-card {
  background: var(--white);
  border: 1px solid var(--sage-border);
  border-radius: 12px;
  padding: 9px 10px;
  display: flex;
  flex-direction: column;
  gap: 6px;
}

.inspector-label {
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-size: 0.72rem;
  font-weight: 700;
  color: var(--charcoal);
}

.inspector-seg {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 4px;
  background: var(--sage);
  padding: 2px;
  border-radius: 8px;
  font-size: 0.68rem;
  font-weight: 700;
  text-align: center;
}

.inspector-seg span {
  padding: 4px 2px;
  border-radius: 6px;
  color: var(--slate);
}

.inspector-seg .active {
  background: var(--forest);
  color: var(--white);
}

.inspector-range {
  width: 100%;
  accent-color: var(--forest);
  cursor: pointer;
}

.inspector-btn-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 6px;
}

.inspector-mini-btn {
  background: var(--white);
  border: 1px solid var(--sage-border);
  border-radius: 10px;
  padding: 7px 4px;
  font-size: 0.7rem;
  font-weight: 700;
  color: var(--forest);
  text-align: center;
}

/* Bottom Timeline & Backdrop Switcher */
.app-dock {
  background: var(--white);
  border: 1px solid var(--sage-border);
  border-radius: 14px;
  padding: 10px;
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.app-dock-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 8px;
}

.dock-tabs {
  display: flex;
  gap: 14px;
  font-size: 0.78rem;
  font-weight: 700;
  color: var(--slate);
}

.dock-tabs .active {
  color: var(--forest);
  border-bottom: 2px solid var(--forest);
  padding-bottom: 2px;
}

.dock-meta {
  display: inline-flex;
  align-items: center;
  gap: 12px;
}

.dock-autoplay-btn {
  padding: 2px 0;
  border: none;
  background: none;
  font-family: inherit;
  font-size: 0.72rem;
  font-weight: 600;
  color: var(--forest);
  border-bottom: 1px solid rgba(30, 77, 59, 0.28);
  cursor: pointer;
  transition: color 0.16s ease, border-color 0.16s ease;
}

.dock-autoplay-btn:hover {
  color: var(--amber-deep);
  border-color: var(--amber-deep);
}

.dock-timecode {
  font-size: 0.74rem;
  font-weight: 700;
  font-variant-numeric: tabular-nums;
  color: var(--slate);
}

.backdrop-strip {
  display: grid;
  grid-template-columns: repeat(5, minmax(0, 1fr));
  gap: 8px;
}

.backdrop-choice {
  position: relative;
  padding: 0;
  border: 2px solid transparent;
  border-radius: 10px;
  overflow: hidden;
  background: var(--cream);
  cursor: pointer;
  text-align: left;
  transition: border-color 0.18s ease, transform 0.18s ease, box-shadow 0.18s ease;
}

.backdrop-choice:hover {
  transform: translateY(-2px);
  box-shadow: 0 4px 12px rgba(30, 77, 59, 0.12);
}

.backdrop-choice[aria-pressed="true"] {
  border-color: var(--amber);
}

/* Subtle hairline progress indicator when auto-cycling backdrops */
.backdrop-choice::after {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  height: 2.5px;
  background: var(--amber);
  transform-origin: left center;
  transform: scaleX(0);
  opacity: 0;
  pointer-events: none;
}

@media (prefers-reduced-motion: no-preference) {
  @keyframes backdrop-tick {
    from {
      transform: scaleX(0);
    }

    to {
      transform: scaleX(1);
    }
  }

  .studio-autoplaying .backdrop-choice[aria-pressed="true"]::after {
    opacity: 1;
    animation: backdrop-tick 3.4s linear forwards;
  }
}

.backdrop-choice img {
  width: 100%;
  aspect-ratio: 16 / 9;
  object-fit: cover;
}

.backdrop-choice span {
  display: block;
  padding: 5px 7px;
  font-size: 0.72rem;
  font-weight: 600;
  color: var(--charcoal);
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.studio-caption {
  margin: 14px 0 0;
  font-size: 0.88rem;
  color: var(--slate);
  display: flex;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 8px;
}

/* --------------------------------------------------------------------------
   The Use & The Why — Clean Editorial Columns (No Cards / No Pills)
   -------------------------------------------------------------------------- */

.use-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: clamp(28px, 4vw, 56px);
}

.use-item {
  border-top: 2px solid var(--forest);
  padding-top: 20px;
}

.use-number {
  font-family: var(--font-display);
  font-size: 0.95rem;
  color: var(--amber-deep);
  margin-bottom: 10px;
  display: block;
}

.use-item h3 {
  margin: 0 0 10px;
  font-family: var(--font-display);
  font-size: 1.45rem;
  font-weight: 600;
  color: var(--forest);
  letter-spacing: -0.015em;
}

.use-item p {
  margin: 0;
  font-size: 0.98rem;
  color: var(--slate);
}

/* --------------------------------------------------------------------------
   Free vs. Pro — Honest Two-Column Editorial Comparison
   -------------------------------------------------------------------------- */

.compare-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: clamp(28px, 5vw, 72px);
  align-items: start;
}

.compare-col {
  padding-top: 24px;
  border-top: 2px solid var(--sage-border);
}

.compare-col--pro {
  border-top-color: var(--amber);
}

.compare-col h3 {
  margin: 0;
  font-family: var(--font-display);
  font-size: 1.75rem;
  font-weight: 600;
  color: var(--forest);
}

.compare-col .compare-sub {
  margin: 6px 0 22px;
  font-size: 0.95rem;
  color: var(--slate);
}

.feature-list {
  list-style: none;
  padding: 0;
  margin: 0;
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.feature-list li {
  display: flex;
  align-items: baseline;
  gap: 12px;
  font-size: 0.98rem;
  color: var(--charcoal);
}

.feature-list li::before {
  content: "—";
  color: var(--forest);
  font-weight: 700;
  flex-shrink: 0;
}

.compare-col--pro .feature-list li::before {
  color: var(--amber-deep);
}

/* --------------------------------------------------------------------------
   Privacy & Kid-Safe Band — Deep Forest Editorial Statement
   -------------------------------------------------------------------------- */

.safety-band {
  background: var(--forest);
  color: var(--cream);
}

.safety-band .kicker {
  color: var(--amber);
}

.safety-band .section-title {
  color: var(--cream);
}

.safety-band .section-lead {
  color: rgba(250, 248, 243, 0.8);
}

.safety-points {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: clamp(20px, 3vw, 40px);
  margin-top: clamp(32px, 4vw, 52px);
  padding-top: 28px;
  border-top: 1px solid rgba(250, 248, 243, 0.18);
}

.safety-point strong {
  display: block;
  font-family: var(--font-display);
  font-size: 1.3rem;
  font-weight: 600;
  color: var(--white);
  margin-bottom: 6px;
}

.safety-point p {
  margin: 0;
  font-size: 0.92rem;
  color: rgba(250, 248, 243, 0.78);
}

/* --------------------------------------------------------------------------
   Support, Visual Onboarding Guide & Accessible <details> FAQ
   -------------------------------------------------------------------------- */

.support-hero {
  padding-top: clamp(112px, 14vw, 156px);
  padding-bottom: clamp(32px, 4vw, 56px);
}

.guide-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: clamp(24px, 3.5vw, 44px);
}

.guide-card {
  display: flex;
  flex-direction: column;
}

.guide-ui-preview {
  background: var(--cream-deep);
  border: 1px solid var(--sage-border);
  border-radius: var(--radius-md);
  padding: 20px;
  margin-bottom: 18px;
  height: 184px;
  display: grid;
  place-items: center;
}

.mini-panel {
  width: 100%;
  max-width: 292px;
  height: 126px;
  background: var(--white);
  border: 1px solid var(--sage-border);
  border-radius: 14px;
  padding: 14px 16px;
  display: flex;
  flex-direction: column;
  justify-content: center;
  gap: 10px;
  box-shadow: 0 8px 24px rgba(30, 77, 59, 0.08);
}

.mini-panel--row {
  flex-direction: row;
  align-items: center;
  justify-content: space-around;
}

.howto-columns {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: clamp(28px, 4.5vw, 64px);
  align-items: start;
}

.howto-block {
  border-top: 2px solid var(--forest);
  padding-top: 22px;
}

.howto-block--amber {
  border-top-color: var(--amber);
}

.howto-block h3 {
  margin: 0 0 8px;
  font-family: var(--font-display);
  font-size: 1.55rem;
  font-weight: 600;
  color: var(--forest);
}

.howto-block > p {
  margin: 0 0 20px;
  font-size: 0.96rem;
  color: var(--slate);
}

.howto-steps {
  list-style: none;
  padding: 0;
  margin: 0;
  counter-reset: howto;
  display: flex;
  flex-direction: column;
  gap: 14px;
}

.howto-steps li {
  counter-increment: howto;
  display: grid;
  grid-template-columns: 28px minmax(0, 1fr);
  gap: 12px;
  align-items: baseline;
  font-size: 0.96rem;
  color: var(--charcoal);
}

.howto-steps li::before {
  content: "0" counter(howto);
  font-family: var(--font-display);
  font-size: 0.88rem;
  color: var(--amber-deep);
  font-weight: 600;
}

.mini-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  font-size: 0.78rem;
  font-weight: 700;
  color: var(--charcoal);
}

.mini-switch {
  width: 34px;
  height: 20px;
  border-radius: 999px;
  background: var(--leaf);
  position: relative;
  display: inline-block;
}

.mini-switch span {
  position: absolute;
  top: 2px;
  right: 2px;
  width: 16px;
  height: 16px;
  border-radius: 50%;
  background: var(--white);
}

.mini-seg {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 4px;
  background: var(--sage);
  padding: 3px;
  border-radius: 9px;
  font-size: 0.74rem;
  font-weight: 700;
  text-align: center;
  color: var(--slate);
}

.mini-seg--three {
  grid-template-columns: repeat(3, 1fr);
  font-size: 0.68rem;
}

.mini-seg .active {
  background: var(--forest);
  color: var(--white);
  border-radius: 7px;
  padding: 5px 4px;
}

.mini-seg span:not(.active) {
  padding: 5px 4px;
}

.mini-tabs {
  display: flex;
  gap: 14px;
  font-size: 0.75rem;
  font-weight: 700;
  color: var(--slate);
  border-top: 1px solid var(--sage-border);
  padding-top: 8px;
}

.mini-tabs .active {
  color: var(--forest);
  border-bottom: 2px solid var(--forest);
}

.mini-transport {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 5px;
  font-size: 0.75rem;
  font-weight: 700;
  color: var(--charcoal);
}

.mini-record {
  width: 46px;
  height: 46px;
  border-radius: 50%;
  background: linear-gradient(180deg, #f5b342, var(--amber));
  color: var(--white);
  display: grid;
  place-items: center;
  box-shadow: 0 6px 14px rgba(232, 154, 45, 0.3);
}

.mini-pills-col {
  display: flex;
  flex-direction: column;
  gap: 8px;
  align-items: flex-end;
}

.mini-ratio {
  padding: 6px 12px;
  border-radius: 999px;
  background: var(--forest);
  color: var(--white);
  font-size: 0.76rem;
  font-weight: 700;
}

.mini-outline {
  padding: 5px 12px;
  border-radius: 9px;
  border: 1.5px solid var(--sage-border);
  background: var(--cream);
  color: var(--forest);
  font-size: 0.75rem;
  font-weight: 700;
}

.mini-timeline-clip {
  display: flex;
  align-items: center;
  justify-content: space-between;
  background: var(--forest);
  color: var(--white);
  border-radius: 8px;
  height: 34px;
  font-size: 0.75rem;
  font-weight: 700;
  overflow: hidden;
  border: 2px solid var(--amber);
}

.mini-trim-grip {
  width: 12px;
  height: 100%;
  background: var(--amber);
  flex-shrink: 0;
}

.mini-action-row {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 6px;
}

.mini-chip {
  text-align: center;
  padding: 5px 4px;
  border-radius: 8px;
  background: var(--sage);
  color: var(--forest);
  font-size: 0.72rem;
  font-weight: 700;
}

.mini-save {
  display: block;
  text-align: center;
  padding: 9px 14px;
  border-radius: 999px;
  background: var(--forest);
  color: var(--white);
  font-size: 0.8rem;
  font-weight: 700;
}

.guide-card h3 {
  margin: 0 0 8px;
  font-family: var(--font-display);
  font-size: 1.35rem;
  font-weight: 600;
  color: var(--forest);
}

.guide-card p {
  margin: 0;
  font-size: 0.96rem;
  color: var(--slate);
}

.tips-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: clamp(20px, 3vw, 36px);
}

.tip-item {
  border-top: 2px solid var(--sage-border);
  padding-top: 16px;
}

.tip-item h3 {
  margin: 0 0 8px;
  font-family: var(--font-display);
  font-size: 1.15rem;
  color: var(--forest);
}

.tip-item p {
  margin: 0;
  font-size: 0.94rem;
  color: var(--slate);
}

/* Native <details> FAQ Accordion (modern-web-guidance: accordion) */
.faq-list {
  max-width: 780px;
  border-top: 1px solid var(--sage-border);
}

.faq-list details {
  border-bottom: 1px solid var(--sage-border);
}

.faq-list summary {
  list-style: none;
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 20px 4px;
  font-family: var(--font-display);
  font-size: 1.15rem;
  font-weight: 600;
  color: var(--forest);
  cursor: pointer;
}

.faq-list summary::-webkit-details-marker {
  display: none;
}

.faq-list summary::before {
  content: "";
  inline-size: 0.7em;
  block-size: 0.7em;
  flex-shrink: 0;
  border-right: 2px solid var(--amber-deep);
  border-bottom: 2px solid var(--amber-deep);
  transform: rotate(-45deg);
  margin-top: -1px;
}

.faq-list details[open] > summary::before {
  transform: rotate(45deg);
  margin-top: -4px;
}

.faq-list details::details-content {
  interpolate-size: allow-keywords;
  overflow: clip;
  contain: layout;
}

.faq-list details:not([open])::details-content {
  block-size: 0;
}

@media (prefers-reduced-motion: no-preference) {
  .faq-list summary::before {
    transition: transform 0.2s ease;
  }

  .faq-list details::details-content {
    transition: block-size 0.28s ease-in-out, content-visibility 0.28s ease-in-out, display 0.28s ease-in-out;
    transition-behavior: allow-discrete;
  }
}

.faq-body {
  padding: 0 4px 20px 26px;
}

.faq-body p {
  margin: 0;
  font-size: 0.98rem;
  color: var(--charcoal);
  line-height: 1.65;
}

.faq-body a {
  color: var(--forest);
  text-decoration: underline;
  text-underline-offset: 3px;
}

.support-contact-box {
  display: flex;
  flex-wrap: wrap;
  align-items: flex-end;
  justify-content: space-between;
  gap: 24px;
}

.copy-email-row {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 12px;
}

.copy-email-row code {
  padding: 12px 16px;
  border-radius: 10px;
  background: var(--white);
  border: 1px solid var(--sage-border);
  font-family: ui-monospace, SFMono-Regular, Menlo, monospace;
  font-size: 0.92rem;
  color: var(--forest);
  user-select: all;
}

/* --------------------------------------------------------------------------
   Legal / Document Pages (Privacy Policy & Terms of Use)
   -------------------------------------------------------------------------- */

.doc-main {
  max-width: 740px;
  margin: 0 auto;
  padding: 120px clamp(20px, 4vw, 32px) 96px;
}

.doc-main h1 {
  margin: 0 0 10px;
  font-family: var(--font-display);
  font-size: clamp(2.1rem, 4.5vw, 3rem);
  color: var(--forest);
  letter-spacing: -0.025em;
}

.doc-meta {
  margin: 0 0 36px;
  font-size: 0.9rem;
  color: var(--slate);
  padding-bottom: 20px;
  border-bottom: 1px solid var(--sage-border);
}

.doc-main h2 {
  margin: 36px 0 10px;
  font-family: var(--font-display);
  font-size: 1.4rem;
  color: var(--forest);
}

.doc-main p,
.doc-main li {
  font-size: 1rem;
  color: var(--charcoal);
  line-height: 1.7;
}

.doc-main ul {
  padding-left: 20px;
}

.doc-main a {
  color: var(--forest);
  text-decoration: underline;
  text-underline-offset: 3px;
}

/* --------------------------------------------------------------------------
   Footer
   -------------------------------------------------------------------------- */

.site-footer {
  border-top: 1px solid var(--sage-border);
  padding: 40px clamp(20px, 4vw, 48px);
  max-width: var(--max-w);
  margin: 0 auto;
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  font-size: 0.88rem;
  color: var(--slate);
}

.footer-links {
  display: flex;
  flex-wrap: wrap;
  gap: 24px;
}

.footer-links a:hover {
  color: var(--forest);
}

/* --------------------------------------------------------------------------
   Responsive
   -------------------------------------------------------------------------- */

@media (max-width: 900px) {
  .app-workspace {
    grid-template-columns: 1fr;
  }

  .app-left-rail {
    flex-direction: row;
    justify-content: center;
  }

  .app-right-rail {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .use-grid,
  .compare-grid,
  .guide-grid,
  .howto-columns {
    grid-template-columns: 1fr;
  }

  .safety-points,
  .tips-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .hero-brand-reveal {
    top: auto;
    bottom: 24px;
    right: 20px;
    left: 20px;
    max-width: none;
  }
}

@media (max-width: 600px) {
  .site-nav a:not(.nav-cta):not([href*="privacy"]):not([href*="terms"]) {
    display: none;
  }

  .backdrop-strip {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }

  .safety-points,
  .tips-grid {
    grid-template-columns: 1fr;
  }
}