/* ============================================================
   Mote — Home: the immersive scroll spine.
   One traveling orb (the protagonist) + per-scene layouts.
   ============================================================ */

/* ---- The traveling orb stage (fixed, behind content) ---- */
.orb-stage {
  position: fixed;
  inset: 0;
  z-index: 0;            /* above body bg/grain (1 is grain, but pointer-none) */
  pointer-events: none;
  opacity: var(--stage-bright, 1);
  transition: opacity 1.2s var(--ease);
  contain: strict;
}
.orb-anchor {
  position: absolute;
  left: 50%;
  top: 50%;
  --orb-tx: 0vw;
  --orb-ty: -30vh;
  --orb-scale: 0.74;
  transform: translate(-50%, -50%) translate(var(--orb-tx), var(--orb-ty)) scale(var(--orb-scale));
  transition: transform 1.25s var(--ease);
  will-change: transform;
}
.orb--travel { --orb-size: 40vmin; }

/* The grain overlay (z-index 1) would sit over the orb; lift content above both.
   (.motion-toggle is intentionally excluded: it stays position:fixed from orb.css) */
.site-header, main, .site-footer { position: relative; z-index: 2; }

/* Soft dark scrim behind text that overlaps the orb, to protect contrast */
.scrim {
  position: relative;
}
.scrim::before {
  content: "";
  position: absolute;
  inset: -10% -14%;
  z-index: -1;
  background: radial-gradient(74% 66% at 50% 50%, rgba(21,17,12,0.70) 0%, rgba(21,17,12,0.42) 50%, transparent 82%);
  pointer-events: none;
}

/* ---- Scenes get breathing room so the orb has somewhere to travel ---- */
.scene { min-height: clamp(500px, 72vh, 820px); display: flex; flex-direction: column; justify-content: center; }
.scene--dense { min-height: auto; }

/* ============================================================
   Scene 1 — Hero
   ============================================================ */
.hero { text-align: center; padding-top: clamp(3rem, 10vh, 7rem); }
.hero__title {
  font-size: var(--fs-hero);
  line-height: var(--lh-tight);
  font-variation-settings: "SOFT" 70, "opsz" 110, "WONK" 0;
  max-width: 16ch;
  margin-inline: auto;
}
.hero__sub { margin: var(--sp-4) auto 0; max-width: 54ch; font-size: var(--fs-lead); color: var(--ink-2); }
.hero .eyebrow, .hero__title, .hero__sub { text-shadow: 0 2px 18px rgba(21,17,12,0.6); }
.hero__actions { display: flex; gap: var(--sp-3); justify-content: center; flex-wrap: wrap; margin-top: var(--sp-5); }
.hero__micro { margin-top: var(--sp-4); font-size: var(--fs-small); color: var(--ink-3); }
.hero__caption { margin-top: var(--sp-6); font-family: var(--font-display); font-style: italic; font-size: var(--fs-h3); color: var(--amber); font-variation-settings: "SOFT" 80; }
.hero__scroll-hint { margin-top: var(--sp-5); font-size: var(--fs-caption); letter-spacing: 0.14em; text-transform: uppercase; color: var(--ink-3); }

/* ============================================================
   Scene 2 — The moment (core loop)
   ============================================================ */
.shield-card {
  max-width: 420px;
  margin: var(--sp-5) auto 0;
  text-align: center;
  background: var(--surface);
  border: 1px solid var(--hairline-soft);
  border-radius: var(--r-xl);
  padding: var(--sp-6) var(--sp-5);
  box-shadow: var(--shadow-2);
}
.shield-card .orb { margin: 0 auto var(--sp-4); }
.shield-card__line { font-family: var(--font-display); font-size: var(--fs-h2); color: var(--ink); font-variation-settings: "SOFT" 70; }
.shield-card__hint { color: var(--ink-3); font-size: var(--fs-small); margin-top: var(--sp-2); }

.feeling-chips { display: flex; gap: var(--sp-3); justify-content: center; flex-wrap: wrap; margin-top: var(--sp-5); }
.feeling-chip {
  border-radius: var(--r-pill);
  padding: 0.7em 1.3em;
  font-weight: 600;
  font-size: var(--fs-small);
  border: 1px solid var(--hairline);
}
.feeling-chip--amber { color: var(--amber); border-color: rgba(242,166,90,0.4); background: rgba(242,166,90,0.07); }
.feeling-chip--sage { color: var(--sage); border-color: rgba(156,196,168,0.35); background: rgba(58,79,64,0.25); }

.beats { display: grid; grid-template-columns: repeat(4, 1fr); gap: var(--sp-3); margin-top: var(--sp-6); }
@media (max-width: 860px) { .beats { grid-template-columns: 1fr 1fr; } }
@media (max-width: 460px) { .beats { grid-template-columns: 1fr; } }
.beat { background: var(--surface); border: 1px solid var(--hairline-soft); border-radius: var(--r-lg); padding: var(--sp-4); }
.beat__n { font-family: var(--font-mono); color: var(--amber); font-size: var(--fs-small); letter-spacing: 0.1em; }
.beat__title { font-weight: 600; color: var(--ink); margin: var(--sp-2) 0 0.35rem; }
.beat__body { font-size: var(--fs-small); color: var(--ink-2); }

/* 60-second timer demo (the time-made-visible motif, static) */
.timer-demo { display: flex; align-items: center; gap: var(--sp-4); justify-content: center; margin-top: var(--sp-6); flex-wrap: wrap; }
.timer-ring {
  --val: 0.8;
  width: 116px; height: 116px; border-radius: 50%;
  display: grid; place-items: center;
  background:
    radial-gradient(closest-side, var(--surface) 76%, transparent 77% 100%),
    conic-gradient(var(--amber) calc(var(--val) * 360deg), rgba(242,166,90,0.14) 0);
}
.timer-ring span { font-family: var(--font-mono); font-size: 1.4rem; color: var(--ink); font-variant-numeric: tabular-nums; }
.timer-demo__label { color: var(--ink-2); max-width: 22ch; font-size: var(--fs-small); }

/* ============================================================
   Scenes 3 & 4 — Message layers (3 points)
   ============================================================ */
.points { display: grid; grid-template-columns: repeat(3, 1fr); gap: var(--sp-4); margin-top: var(--sp-5); }
@media (max-width: 860px) { .points { grid-template-columns: 1fr; } }
.point { background: var(--surface); border: 1px solid var(--hairline-soft); border-radius: var(--r-lg); padding: var(--sp-5); }
.point h3 { color: var(--ink); margin-bottom: var(--sp-2); }
.point p { color: var(--ink-2); font-size: var(--fs-small); }
.disclaimer-ref { margin-top: var(--sp-4); font-size: var(--fs-caption); color: var(--ink-3); }

/* ============================================================
   Scene 5 — How it works
   ============================================================ */
.steps { display: grid; grid-template-columns: repeat(4, 1fr); gap: var(--sp-3); margin-top: var(--sp-5); counter-reset: step; }
@media (max-width: 860px) { .steps { grid-template-columns: 1fr 1fr; } }
@media (max-width: 460px) { .steps { grid-template-columns: 1fr; } }
.step { background: var(--surface); border: 1px solid var(--hairline-soft); border-radius: var(--r-lg); padding: var(--sp-4); }
.step__n { font-family: var(--font-mono); color: var(--amber); font-size: var(--fs-caption); }
.step h3 { font-size: 1.05rem; margin: var(--sp-2) 0 0.3rem; color: var(--ink); }
.step p { font-size: var(--fs-small); color: var(--ink-2); }

.menu { margin-top: var(--sp-6); }
.menu__grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(180px, 1fr)); gap: var(--sp-3); margin-top: var(--sp-4); }
.reward { background: var(--surface); border: 1px solid var(--hairline-soft); border-radius: var(--r); padding: var(--sp-4); }
.reward__name { display: flex; align-items: center; gap: 0.5em; font-weight: 600; color: var(--ink); }
.reward__name::before { content: ""; width: 0.5em; height: 0.5em; border-radius: 50%; background: var(--amber); box-shadow: 0 0 8px var(--glow-amber); }
.reward p { font-size: var(--fs-small); color: var(--ink-2); margin-top: 0.4rem; }
.menu__note { margin-top: var(--sp-4); font-size: var(--fs-small); color: var(--ink-3); }

.lanes { display: grid; grid-template-columns: 1fr 1fr; gap: var(--sp-4); margin-top: var(--sp-6); }
@media (max-width: 700px) { .lanes { grid-template-columns: 1fr; } }
.lane { border-radius: var(--r-lg); padding: var(--sp-5); border: 1px solid var(--hairline-soft); }
.lane--activating { background: linear-gradient(180deg, rgba(242,166,90,0.10), rgba(242,166,90,0.02)); border-color: rgba(242,166,90,0.28); }
.lane--soothing { background: linear-gradient(180deg, rgba(58,79,64,0.32), rgba(58,79,64,0.08)); border-color: rgba(156,196,168,0.28); }
.lane__tag { font-family: var(--font-mono); font-size: var(--fs-caption); letter-spacing: 0.12em; text-transform: uppercase; }
.lane--activating .lane__tag { color: var(--amber); }
.lane--soothing .lane__tag { color: var(--sage); }
.lane h3 { color: var(--ink); margin: var(--sp-2) 0; }
.lane p { font-size: var(--fs-small); color: var(--ink-2); }

/* ============================================================
   Scene 6 — Reflection (the one light room)
   ============================================================ */
.room--light {
  position: relative;
  z-index: 2;
  background:
    radial-gradient(120% 80% at 80% 8%, rgba(242,166,90,0.12), transparent 55%),
    linear-gradient(180deg, #FDF7EE 0%, #FBF3E8 45%, #F7ECDC 100%);
  color: #574A3D;
  border-radius: var(--r-xl);
  margin-inline: var(--gutter);
  padding: clamp(2.5rem, 7vw, 5rem) clamp(1.5rem, 5vw, 4rem);
  box-shadow: 0 30px 80px rgba(0,0,0,0.35);
}
.room--light .eyebrow { color: #A6520F; }
.room--light h2, .room--light h3 { color: #2A2018; }
.room--light p { color: #574A3D; }
.room--light .muted { color: #6B5D4F; }
.heatmap-wrap { max-width: 760px; margin-top: var(--sp-5); }
.heatmap {
  display: grid;
  grid-template-rows: repeat(7, 1fr);
  grid-auto-flow: column;
  grid-auto-columns: 1fr;
  gap: clamp(2px, 0.45vw, 4px);
}
.heat { aspect-ratio: 1; border-radius: 2px; background: rgba(120,100,78,0.12); }
.heatmap-legend { display: flex; align-items: center; gap: 0.5rem; margin-top: var(--sp-3); font-size: var(--fs-caption); color: #6B5D4F; }
.heatmap-legend .swatches { display: inline-flex; gap: 3px; }
.heatmap-legend .sw { width: 12px; height: 12px; border-radius: 2px; }
.reflect-stats { display: grid; grid-template-columns: repeat(3, 1fr); gap: var(--sp-4); margin-top: var(--sp-6); }
@media (max-width: 700px) { .reflect-stats { grid-template-columns: 1fr; } }
.reflect-stat { background: #FFFBF4; border: 1px solid #E7D9C6; border-radius: var(--r-lg); padding: var(--sp-4); }
.reflect-stat h3 { font-family: var(--font-text); font-size: 1rem; color: #2A2018; }
.reflect-stat p { font-size: var(--fs-small); color: #574A3D; }

/* ============================================================
   Scene 7 — Manifesto
   ============================================================ */
.manifesto { text-align: center; }
.manifesto__quote {
  font-family: var(--font-display);
  font-size: clamp(1.5rem, 3.2vw, 2.4rem);
  line-height: 1.32;
  color: var(--ink);
  font-variation-settings: "SOFT" 60, "opsz" 60;
  max-width: 26ch;
  margin: var(--sp-4) auto 0;
}
.manifesto__attr { margin-top: var(--sp-4); font-family: var(--font-mono); font-size: var(--fs-caption); letter-spacing: 0.1em; color: var(--amber); text-transform: uppercase; }
.refuse { display: grid; grid-template-columns: repeat(3, 1fr); gap: var(--sp-4); margin-top: var(--sp-7); text-align: left; }
@media (max-width: 860px) { .refuse { grid-template-columns: 1fr; } }
.refuse__item { background: var(--surface); border: 1px solid var(--hairline-soft); border-radius: var(--r-lg); padding: var(--sp-5); }
.refuse__item h3 { color: var(--ink); display: flex; align-items: center; gap: 0.5em; }
.refuse__item h3::before { content: "\00D7"; color: var(--clay); font-family: var(--font-mono); }
.refuse__item p { font-size: var(--fs-small); color: var(--ink-2); margin-top: var(--sp-2); }
.omission-line { margin-top: var(--sp-5); color: var(--ink-3); font-size: var(--fs-small); max-width: 60ch; margin-inline: auto; }
.honesty { display: grid; grid-template-columns: repeat(3, 1fr); gap: var(--sp-4); margin-top: var(--sp-6); text-align: left; }
@media (max-width: 860px) { .honesty { grid-template-columns: 1fr; } }
.honesty__item h3 { color: var(--ink); font-size: 1rem; }
.honesty__item p { font-size: var(--fs-small); color: var(--ink-2); margin-top: 0.4rem; }

/* ============================================================
   Scene 8 — Comparison
   ============================================================ */
.compare-scroll { overflow-x: auto; margin-top: var(--sp-5); border-radius: var(--r-lg); -webkit-overflow-scrolling: touch; }
.compare {
  width: 100%;
  min-width: 760px;
  border-collapse: collapse;
  font-size: var(--fs-small);
}
.compare th, .compare td { padding: 0.9rem 1rem; text-align: left; vertical-align: top; border-bottom: 1px solid var(--hairline-soft); }
.compare thead th { font-family: var(--font-text); font-weight: 600; color: var(--ink); font-size: var(--fs-small); }
.compare tbody th { font-weight: 500; color: var(--ink-2); position: sticky; left: 0; background: var(--canvas); z-index: 1; max-width: 220px; }
.compare td { color: var(--ink-2); }
.compare .col-mote { background: rgba(242,166,90,0.07); color: var(--ink); }
.compare thead .col-mote { color: var(--amber); border-bottom: 2px solid rgba(242,166,90,0.5); }
.compare__hint { font-size: var(--fs-caption); color: var(--ink-3); margin-top: var(--sp-2); }
.compare-notes { margin-top: var(--sp-4); display: grid; gap: var(--sp-2); }
.compare-notes p { font-size: var(--fs-caption); color: var(--ink-3); max-width: 80ch; }

/* ============================================================
   Scene 9 — Promises
   ============================================================ */
.promise-cards { display: grid; grid-template-columns: repeat(auto-fit, minmax(220px, 1fr)); gap: var(--sp-4); margin-top: var(--sp-5); }
.promise { background: var(--surface); border: 1px solid var(--hairline-soft); border-radius: var(--r-lg); padding: var(--sp-5); }
.promise h3 { color: var(--ink); font-size: 1.05rem; }
.promise p { font-size: var(--fs-small); color: var(--ink-2); margin-top: var(--sp-2); }
.promise .price { font-family: var(--font-mono); color: var(--amber); }
.timeline {
  margin-top: var(--sp-6);
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: var(--sp-3);
  position: relative;
}
.timeline::before { content: ""; position: absolute; top: 10px; left: 6%; right: 6%; height: 2px; background: linear-gradient(90deg, var(--amber), rgba(242,166,90,0.2)); }
.tl-step { text-align: center; position: relative; padding-top: 28px; }
.tl-step::before { content: ""; position: absolute; top: 4px; left: 50%; transform: translateX(-50%); width: 14px; height: 14px; border-radius: 50%; background: var(--amber); box-shadow: 0 0 10px var(--glow-amber); }
.tl-step .day { font-family: var(--font-mono); color: var(--amber); font-size: var(--fs-caption); }
.tl-step .what { color: var(--ink); font-weight: 600; font-size: var(--fs-small); margin-top: 0.2rem; }
@media (max-width: 600px) { .timeline { grid-template-columns: 1fr; } .timeline::before { display: none; } .tl-step { text-align: left; padding-top: 0; padding-left: 26px; } .tl-step::before { top: 3px; left: 0; transform: none; } }
.price-truth { margin-top: var(--sp-4); font-size: var(--fs-caption); color: var(--ink-3); }

/* ============================================================
   Scene 10 — Build log
   ============================================================ */
.log-entries { display: grid; gap: var(--sp-3); margin-top: var(--sp-5); }
.log-entry { display: grid; grid-template-columns: 140px 1fr; gap: var(--sp-4); padding: var(--sp-4); border: 1px solid var(--hairline-soft); border-radius: var(--r-lg); background: var(--surface); }
@media (max-width: 600px) { .log-entry { grid-template-columns: 1fr; gap: var(--sp-2); } }
.log-entry .date { font-family: var(--font-mono); color: var(--amber); font-size: var(--fs-caption); }
.log-entry h3 { color: var(--ink); font-size: 1.05rem; }
.log-entry p { font-size: var(--fs-small); color: var(--ink-2); margin-top: 0.3rem; }
.log-cta { margin-top: var(--sp-4); display: flex; gap: var(--sp-4); align-items: center; flex-wrap: wrap; }

/* ============================================================
   Scene 11 — Final CTA
   ============================================================ */
.final { text-align: center; }
.final__title { font-size: var(--fs-h1); font-variation-settings: "SOFT" 70, "opsz" 90; max-width: 18ch; margin-inline: auto; }
.final .waitlist { margin: var(--sp-5) auto 0; }
.final__reassure { margin: var(--sp-3) auto 0; font-size: var(--fs-caption); color: var(--ink-3); text-wrap: balance; }

/* ---- Mobile: damp the orb so it never fights the copy ---- */
@media (max-width: 760px) {
  .orb-stage { opacity: calc(var(--stage-bright, 1) * 0.6); }
}

/* ---- Reduced motion: park the orb, no travel ---- */
@media (prefers-reduced-motion: reduce) {
  .orb-anchor { transition: none; transform: translate(-50%, -50%) translate(0vw, -30vh) scale(0.74); }
  .orb-stage { opacity: 0.85; }
}

/* ============================================================
   v2 — leaner, more visual, premium. Launched-app framing.
   ============================================================ */

/* Hero-scoped warm haze: absolute layer at the top of the page, behind the orb,
   scrolls away after the hero (so mid-page scenes stay clean). */
.hero-atmo {
  position: absolute;
  top: 0; left: 0; right: 0;
  height: 100vh;
  z-index: 0;
  pointer-events: none;
  background: url("../img/hero-haze.webp") no-repeat center top;
  background-size: cover;
  opacity: 0.9;
  -webkit-mask-image: linear-gradient(180deg, #000 55%, transparent 100%);
  mask-image: linear-gradient(180deg, #000 55%, transparent 100%);
}

/* Generous, calm section rhythm */
.scene { gap: var(--sp-4); }
.section-lead { max-width: 40ch; }

/* Image + short text, side by side */
.visual-split { display: grid; grid-template-columns: 1.05fr 0.95fr; gap: clamp(1.5rem, 5vw, 4rem); align-items: center; margin-top: var(--sp-5); }
@media (max-width: 860px) { .visual-split { grid-template-columns: 1fr; } }

/* Inline 3-step flow (tiny infographic, almost no text) */
.flow { display: flex; align-items: stretch; gap: var(--sp-2); flex-wrap: wrap; margin-top: var(--sp-5); }
.flow__step { flex: 1; min-width: 130px; background: var(--surface); border: 1px solid var(--hairline-soft); border-radius: var(--r-lg); padding: var(--sp-4); text-align: center; }
.flow__n { font-family: var(--font-mono); color: var(--amber); font-size: var(--fs-caption); letter-spacing: 0.1em; }
.flow__label { display: block; color: var(--ink); font-weight: 600; margin-top: 0.3rem; }
.flow__sub { display: block; color: var(--ink-3); font-size: var(--fs-caption); margin-top: 0.15rem; }

/* Compact "what happens after the block" comparison (one key axis, scannable) */
.afterblock { display: grid; gap: var(--sp-2); max-width: 700px; margin: var(--sp-5) auto 0; }
.afterblock__row { display: grid; grid-template-columns: 168px 1fr; gap: var(--sp-3); align-items: center; padding: var(--sp-3) var(--sp-4); border: 1px solid var(--hairline-soft); border-radius: var(--r); }
.afterblock__row--mote { border-color: rgba(242,166,90,0.5); background: rgba(242,166,90,0.07); }
.afterblock__tool { font-weight: 600; color: var(--ink-2); }
.afterblock__row--mote .afterblock__tool { color: var(--amber); }
.afterblock__what { color: var(--ink-2); font-size: var(--fs-small); }
@media (max-width: 560px) { .afterblock__row { grid-template-columns: 1fr; gap: 0.15rem; } }

/* Pricing band */
.price-band { text-align: center; }
.price-tiers { display: flex; gap: var(--sp-3); justify-content: center; flex-wrap: wrap; margin: var(--sp-5) 0; }
.price-tier { background: var(--surface); border: 1px solid var(--hairline-soft); border-radius: var(--r-lg); padding: var(--sp-4) var(--sp-5); min-width: 150px; }
.price-tier .amt { font-family: var(--font-mono); font-size: 1.4rem; color: var(--amber); }
.price-tier .per { display: block; margin-top: 0.2rem; color: var(--ink-3); font-size: var(--fs-caption); }
.price-tier .label { display: block; color: var(--ink); font-weight: 600; margin-bottom: 0.3rem; font-size: var(--fs-small); }

/* Section sized down for short content */
.scene--short { min-height: clamp(480px, 64vh, 720px); }

/* Hero eyebrow: a readable chip so it never fights the bright orb behind it */
.hero .eyebrow {
  background: rgba(21, 17, 12, 0.5);
  padding: 0.45em 1.1em;
  border-radius: var(--r-pill);
  -webkit-backdrop-filter: blur(3px);
  backdrop-filter: blur(3px);
}

/* ============================================================
   v3 — friction-not-a-wall, honest limit, feature grid
   ============================================================ */

/* Hero punch line */
.hero__tag {
  font-family: var(--font-display);
  font-style: italic;
  font-size: clamp(1.3rem, 2.4vw, 1.9rem);
  color: var(--amber);
  font-variation-settings: "SOFT" 80;
  margin-top: var(--sp-4);
}

/* The shield choice (real shield button copy, shown as a small mock) */
.shield-choice { display: flex; gap: var(--sp-2); flex-wrap: wrap; margin-top: var(--sp-4); }
.shield-choice .btn { font-size: var(--fs-small); padding: 0.7em 1.2em; pointer-events: none; }
.shield-choice__note { width: 100%; font-size: var(--fs-caption); color: var(--ink-3); margin-top: 0.2rem; }

/* Honest-limit "day meter": gentle most of the way, a real wall at your set limit */
.limit-meter { max-width: 540px; margin: var(--sp-5) auto 0; }
.limit-meter__track {
  position: relative;
  height: 18px;
  border-radius: var(--r-pill);
  border: 1px solid var(--hairline);
  overflow: hidden;
  background: linear-gradient(90deg, rgba(242,166,90,0.55), rgba(242,166,90,0.14) 80%);
}
.limit-meter__wall {
  position: absolute; top: 0; right: 0; bottom: 0; width: 13%;
  background: repeating-linear-gradient(45deg, var(--clay) 0 5px, #9c5e3e 5px 10px);
}
.limit-meter__labels { display: flex; justify-content: space-between; margin-top: var(--sp-2); font-size: var(--fs-caption); color: var(--ink-3); }
.limit-meter__labels .wall-label { color: var(--clay); }

/* Feature grid (icon + short line, scannable) */
.features { display: grid; grid-template-columns: repeat(3, 1fr); gap: var(--sp-3); margin-top: var(--sp-6); text-align: left; }
@media (max-width: 860px) { .features { grid-template-columns: 1fr 1fr; } }
@media (max-width: 520px) { .features { grid-template-columns: 1fr; } }
.feature { background: var(--surface); border: 1px solid var(--hairline-soft); border-radius: var(--r-lg); padding: var(--sp-4); }
.feature__icon { width: 30px; height: 30px; color: var(--amber); display: block; margin-bottom: var(--sp-3); }
.feature__icon svg { width: 100%; height: 100%; display: block; stroke: currentColor; fill: none; stroke-width: 1.6; stroke-linecap: round; stroke-linejoin: round; }
.feature h3 { color: var(--ink); font-size: 1.02rem; }
.feature p { color: var(--ink-2); font-size: var(--fs-small); margin-top: 0.3rem; }

/* ============================================================
   v4 — TestFlight status, localization switcher, plans, new features
   ============================================================ */

/* Coming-soon / status note under CTAs */
.status-note { font-size: var(--fs-caption); color: var(--ink-3); margin: var(--sp-3) auto 0; text-wrap: balance; }

/* "Premium" tag on a feature */
.feature__tag { display: inline-block; margin-left: 0.5em; font-family: var(--font-mono); font-size: 0.62rem; letter-spacing: 0.08em; text-transform: uppercase; color: var(--amber); border: 1px solid rgba(242,166,90,0.4); border-radius: var(--r-pill); padding: 0.15em 0.6em; vertical-align: middle; }

/* Free vs Premium plans */
.plans { display: grid; grid-template-columns: 1fr 1fr; gap: var(--sp-4); max-width: 760px; margin: var(--sp-5) auto 0; text-align: left; }
@media (max-width: 640px) { .plans { grid-template-columns: 1fr; } }
.plan { background: var(--surface); border: 1px solid var(--hairline-soft); border-radius: var(--r-xl); padding: var(--sp-5); }
.plan--premium { border-color: rgba(242,166,90,0.55); background: linear-gradient(180deg, rgba(242,166,90,0.10), transparent); box-shadow: 0 16px 44px rgba(242,166,90,0.13), var(--shadow-2); transform: translateY(-4px); }
@media (max-width: 700px) { .plan--premium { transform: none; } }
.plan__name { display: flex; align-items: baseline; justify-content: space-between; gap: var(--sp-2); }
.plan__name h3 { color: var(--ink); font-size: 1.15rem; }
.plan__price { font-family: var(--font-mono); color: var(--amber); font-size: var(--fs-small); }
.plan__list { list-style: none; padding: 0; margin: var(--sp-3) 0 0; display: grid; gap: 0.5rem; }
.plan__list li { display: flex; align-items: flex-start; gap: 0.5em; color: var(--ink-2); font-size: var(--fs-small); }
.plan__list li::before { content: ""; width: 0.5em; height: 0.5em; border-radius: 50%; background: var(--amber); box-shadow: 0 0 8px var(--glow-amber); flex: none; transform: translateY(0.45em); }
.plan__meta { font-size: var(--fs-caption); color: var(--ink-3); margin-top: var(--sp-4); text-align: center; }

/* Language switcher (footer) */
.lang-switch { display: flex; flex-wrap: wrap; gap: 0.5rem 0.9rem; align-items: center; padding-top: var(--sp-5); margin-top: var(--sp-5); border-top: 1px solid var(--hairline-soft); }
.lang-switch__label { font-size: var(--fs-caption); color: var(--ink-3); text-transform: uppercase; letter-spacing: 0.12em; margin-right: 0.3rem; }
.lang-switch a { font-size: var(--fs-small); color: var(--ink-2); font-family: var(--font-mono); letter-spacing: 0.04em; }
.lang-switch a:hover { color: var(--ink); }
.lang-switch a.is-current { color: var(--amber); }

/* 4-up feature grid (the "built for the reflex moment" section) */
.features--quad { grid-template-columns: repeat(4, 1fr); }
@media (max-width: 900px) { .features--quad { grid-template-columns: 1fr 1fr; } }
@media (max-width: 520px) { .features--quad { grid-template-columns: 1fr; } }

/* ============================================================
   Device frames — real app screenshots (no mockups)
   ============================================================ */
.device {
  position: relative;
  margin: 0 auto;
  width: 100%;
  max-width: 300px;
  aspect-ratio: 680 / 1478;   /* matches the processed screenshots */
  padding: 10px;
  border-radius: 44px;
  background: linear-gradient(150deg, #3A322A 0%, #241E18 40%, #120E0A 100%);
  border: 1px solid rgba(0,0,0,0.6);
  box-shadow:
    0 30px 64px rgba(0,0,0,0.5),
    0 6px 18px rgba(0,0,0,0.34),
    inset 0 1.5px 0 rgba(255,240,222,0.16),   /* top-edge specular highlight */
    inset 0 -1px 0 rgba(0,0,0,0.5),
    inset 0 0 0 1.5px rgba(0,0,0,0.55);
}
/* inner screen shadow seats the screenshot with depth (the screenshots already
   carry the real iOS status bar + Dynamic Island, so no faux island is drawn) */
.device::after {
  content: "";
  position: absolute;
  inset: 10px;
  border-radius: 34px;
  pointer-events: none;
  z-index: 2;
  box-shadow: inset 0 2px 14px rgba(0,0,0,0.5), inset 0 0 0 1px rgba(0,0,0,0.55);
}
.device__screen {
  width: 100%;
  height: 100%;
  display: block;
  object-fit: cover;
  border-radius: 34px;
  background: var(--canvas);
}
.visual-split .device { max-width: 312px; }
/* Reflection light room: a dark phone resting on the light table */
.room--light .device { box-shadow: 0 26px 64px rgba(40,28,16,0.32), inset 0 0 0 1.5px rgba(0,0,0,0.45); }
.room--light .device-solo { margin-top: var(--sp-6); }

/* "See it in action" — compact strip of framed shots */
.shots {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: clamp(0.75rem, 2.2vw, 1.6rem);
  margin-top: var(--sp-6);
  align-items: start;
}
.shot { margin: 0; }
.shot .device { max-width: 200px; }
.shot__cap { margin-top: var(--sp-3); font-size: var(--fs-caption); color: var(--ink-3); }
@media (max-width: 900px) {
  .shots {
    grid-template-columns: none;
    grid-auto-flow: column;
    grid-auto-columns: 46%;
    overflow-x: auto;
    scroll-snap-type: x mandatory;
    margin-inline: calc(var(--gutter) * -1);
    padding: var(--sp-2) var(--gutter) var(--sp-4);
    -webkit-overflow-scrolling: touch;
  }
  .shot { scroll-snap-align: center; }
  .shot .device { max-width: 240px; }
}
@media (max-width: 560px) { .shots { grid-auto-columns: 64%; } }
