/* Junoa site base styles. Tokens come from tokens.css. No animation in Phase 1. */
@font-face { font-family: "Figtree"; font-weight: 400; font-style: normal; font-display: swap;
  src: url("../fonts/figtree-latin-400-normal.woff2") format("woff2"); }
@font-face { font-family: "Figtree"; font-weight: 600; font-style: normal; font-display: swap;
  src: url("../fonts/figtree-latin-600-normal.woff2") format("woff2"); }
@font-face { font-family: "Figtree"; font-weight: 800; font-style: normal; font-display: swap;
  src: url("../fonts/figtree-latin-800-normal.woff2") format("woff2"); }

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; text-size-adjust: 100%; }
body {
  margin: 0; background: var(--paper); color: var(--ink);
  font: 400 1.0625rem/1.5294 "Figtree", system-ui, sans-serif; /* bodyLg 17/26 */
  font-variant-numeric: tabular-nums;
}
img { max-width: 100%; height: auto; display: block; }

.wrap { max-width: 60rem; margin: 0 auto; padding: 0 var(--space-lg); }
section { padding: clamp(3.5rem, 2rem + 6vw, 7rem) 0; }

h1, h2, h3 { font-weight: 800; margin: 0 0 var(--space-md); }
h1 { font-size: clamp(2.125rem, 1.2rem + 4vw, 3.5rem); line-height: 1.12; letter-spacing: -0.035em; } /* displayLg 34/38, -1.2 */
h2 { font-size: clamp(1.75rem, 1.3rem + 2vw, 2.25rem); line-height: 1.15; letter-spacing: -0.03em; }
h3 { font-size: 1.125rem; line-height: 1.3; letter-spacing: -0.02em; font-weight: 600; }
p { margin: 0 0 var(--space-md); max-width: 38rem; }
.muted { color: var(--ink-2); }

a { color: var(--action); text-underline-offset: 0.18em; }
a:hover { color: var(--action-pressed); }
:focus-visible { outline: 2px solid var(--action); outline-offset: 2px; }

.skip { position: absolute; left: var(--space-lg); top: -4rem; background: var(--card); color: var(--ink);
  padding: var(--space-md) var(--space-lg); border-radius: var(--radius-md); z-index: 10; }
.skip:focus { top: var(--space-md); }

.site-header { position: sticky; top: 0; z-index: 20; padding: var(--space-md) 0;
  background: rgb(245 247 250 / 0.86); backdrop-filter: saturate(1.4) blur(14px);
  -webkit-backdrop-filter: saturate(1.4) blur(14px); border-bottom: 1px solid var(--rule); }
.header-row { display: flex; align-items: center; justify-content: space-between; gap: var(--space-md); }
.cta-sm { min-height: 2.75rem; padding: 0 var(--space-lg); font-size: 0.9375rem; border-radius: var(--radius-pill); text-decoration: none; }
.cta-sm:hover { color: var(--on-action); }
.wordmark { display: inline-flex; align-items: center; gap: var(--space-sm); min-height: 2.75rem; font-weight: 800; font-size: 1.375rem; letter-spacing: -0.04em; color: var(--ink); text-decoration: none; }
.wordmark img { width: auto; height: 1.75rem; }


.cta { display: inline-flex; align-items: center; justify-content: center; min-height: 2.75rem;
  padding: 0 var(--space-xl); border: 0; border-radius: var(--radius-md); background: var(--action);
  color: var(--on-action); font: 600 1rem/1 "Figtree", system-ui, sans-serif; cursor: pointer;
  transition: transform var(--press-ms) var(--ease-out), background-color var(--press-ms) var(--ease-out); }
.cta:hover { background: var(--action-pressed); }
.cta:active { transform: scale(0.97); }

.invite { display: flex; flex-wrap: wrap; gap: var(--space-sm); align-items: end; margin: var(--space-xl) 0 var(--space-sm); }
.invite label { display: block; font-weight: 600; margin-bottom: var(--space-xs); }
.invite .field { flex: 1 1 16rem; }
.invite input[type="email"] { width: 100%; min-height: 2.75rem; padding: 0 var(--space-md);
  border: 1px solid var(--ink-3); border-radius: var(--radius-md); background: var(--card);
  color: var(--ink); font: inherit; }
.status { min-height: 1.5rem; margin: 0 0 var(--space-sm); font-weight: 600; }
.hp { position: absolute; left: -10000px; width: 1px; height: 1px; overflow: hidden; }


/* Shared: small label above a heading */
.eyebrow { font-size: 0.8125rem; font-weight: 800; letter-spacing: 0.12em; text-transform: uppercase; margin: 0 0 var(--space-md); }
.eyebrow-ink { color: var(--action); }
.eyebrow-fork { color: var(--fork); }
.eyebrow-light { color: rgb(255 255 255 / 0.78); }
.credit, .closing .credit { position: absolute; right: var(--space-lg); bottom: var(--space-md); margin: 0; color: var(--card); font-size: 0.8125rem;
  background: rgb(15 17 21 / 0.62); padding: 2px var(--space-sm); border-radius: var(--radius-pill); }

/* 1. Hero: one real photo, full bleed, text on a scrim */
.hero { position: relative; isolation: isolate; overflow: hidden; color: var(--card);
  min-height: min(calc(100svh - 4.25rem), 54rem); display: grid; align-items: end;
  padding: 10.5rem 0 4.5rem; }
.hero picture, .hero-photo { position: absolute; inset: 0; width: 100%; height: 100%; z-index: -2; }
.hero-photo { object-fit: cover; object-position: 50% 0%; }
.hero::after { content: ""; position: absolute; inset: 0; z-index: -1;
  background: linear-gradient(180deg, rgb(15 17 21 / 0.18) 0%, rgb(15 17 21 / 0.42) 38%, rgb(15 17 21 / 0.86) 78%, rgb(15 17 21 / 0.92) 100%); }
.hero-inner { width: 100%; }
.hero h1 { font-size: clamp(2.75rem, 1.4rem + 6.4vw, 6rem); line-height: 0.98; letter-spacing: -0.045em; max-width: 13ch; margin-bottom: var(--space-lg); }
.hero .eyebrow { color: var(--card); }
.hero-sub { font-size: clamp(1.0625rem, 0.95rem + 0.5vw, 1.25rem); max-width: 34rem; color: rgb(255 255 255 / 0.9); }
.hero .invite { max-width: 34rem; }
.hero .invite label { color: var(--card); }
.hero .invite input[type="email"] { border-color: transparent; }
.hero .status { color: var(--card); }
.hero-small { margin: 0 0 var(--space-xs); color: rgb(255 255 255 / 0.84); max-width: 34rem; }
.hero-small a { color: var(--card); }
.form-privacy { margin: 0; font-size: 0.875rem; }
.form-privacy a { color: var(--card); }
@media (min-width: 64rem) {
  .hero { background: var(--ink); min-height: min(calc(100svh - 4.25rem), 46rem); align-items: center; padding: 5rem 0; }
  .hero picture { left: 40%; width: 60%; }
  .hero::after { background: linear-gradient(90deg, var(--ink) 0%, var(--ink) 40%, rgb(15 17 21 / 0.55) 52%, rgb(15 17 21 / 0) 70%),
    linear-gradient(0deg, rgb(15 17 21 / 0.55) 0%, rgb(15 17 21 / 0) 30%); }
  .hero-inner > * { max-width: 34rem; }
  .hero h1 { font-size: clamp(3rem, 1rem + 4.6vw, 5rem); max-width: 11ch; }
}

/* 2. One real trip: a sideways strip of real stops */
.trip { background: var(--paper); padding-bottom: clamp(2.5rem, 1.5rem + 4vw, 5rem); }
.trip h2 { font-size: clamp(2.25rem, 1.4rem + 4vw, 4.25rem); line-height: 1; letter-spacing: -0.04em; }
.strip { overflow-x: auto; scroll-snap-type: x mandatory; overscroll-behavior-x: contain;
  scrollbar-width: thin; margin-top: var(--space-xl); }
.strip:focus-visible { outline-offset: -4px; }
.strip-list { display: flex; gap: var(--space-lg); list-style: none; margin: 0; width: max-content;
  padding: var(--space-sm) max(var(--space-lg), calc((100vw - 60rem) / 2 + var(--space-lg))) var(--space-xl); }
.stop { width: min(74vw, 18.5rem); scroll-snap-align: center; background: var(--card);
  border-radius: var(--radius-xl); box-shadow: var(--shadow-card); overflow: hidden; display: flex; flex-direction: column; }
.stop img { width: 100%; aspect-ratio: 3 / 4; object-fit: cover; }
.stop-day { align-self: flex-start; margin: var(--space-lg) var(--space-lg) var(--space-sm); padding: var(--space-xs) var(--space-md);
  border-radius: var(--radius-pill); background: var(--action-tint); color: var(--action); font-size: 0.8125rem; font-weight: 800; letter-spacing: 0.06em; text-transform: uppercase; }
.stop h3 { margin: 0 var(--space-lg) var(--space-sm); font-size: 1.25rem; font-weight: 800; }
.stop-note { margin: 0 var(--space-lg) var(--space-lg); color: var(--ink-2); font-size: 1rem; }
.stop-note::before { content: "\201C"; }
.stop-note::after { content: "\201D"; }
.hint { color: var(--ink-2); margin-top: 0; }

/* 3. How a fork works: the phone stays while the steps pass */
.fork-section { background: var(--card); view-timeline: --reel block; }

/* Screenshot reel: two columns of real screens and trip photos. Static by default; they slide in
   opposite directions with the page scroll where the browser supports it (block at the end). */
.reel { position: relative; height: 32rem; overflow: hidden; display: grid; grid-template-columns: 1fr 1fr; gap: var(--space-lg);
  -webkit-mask-image: linear-gradient(180deg, transparent 0, #000 12%, #000 88%, transparent 100%);
  mask-image: linear-gradient(180deg, transparent 0, #000 12%, #000 88%, transparent 100%); }
.reel-col { display: flex; flex-direction: column; gap: var(--space-lg); will-change: transform; }
.reel-down { transform: translateY(-18%); }
.tile { overflow: hidden; border-radius: var(--radius-xl); box-shadow: var(--shadow-card); background: var(--rule-soft); }
.tile img { width: 100%; }
.tile-phone { border: 7px solid var(--ink); border-radius: 30px; background: var(--ink); }
.tile-photo img { aspect-ratio: 3 / 4; object-fit: cover; }
.fork-grid { display: grid; gap: var(--space-xxxl); }
.fork-section h2 { font-size: clamp(2.25rem, 1.4rem + 4vw, 4.25rem); line-height: 1; letter-spacing: -0.04em; max-width: 12ch; }
.fork-steps { list-style: none; margin: var(--space-xxl) 0 0; padding: 0; display: grid; gap: var(--space-xxl); }
.fork-steps h3 { font-size: 1.375rem; font-weight: 800; }
.fork-num { display: inline-grid; place-items: center; width: 2.5rem; height: 2.5rem; border-radius: var(--radius-pill);
  background: var(--fork); color: var(--on-fork); font-weight: 800; margin-bottom: var(--space-md); }
@media (min-width: 56rem) {
  .fork-grid { grid-template-columns: minmax(0, 5fr) minmax(0, 6fr); align-items: start; gap: clamp(3rem, 6vw, 6rem); }
  .reel-col-wrap { position: sticky; top: 5.5rem; order: 2; }
  .reel { height: min(44rem, calc(100svh - 7rem)); }
  .fork-steps li { min-height: 38vh; border-top: 1px solid var(--rule); padding-top: var(--space-xl); }
}

/* 4. What Junoa does not do: a dark band, one big sentence */
.band { background: var(--ink); color: var(--card); }
.statement { font-size: clamp(2rem, 1.1rem + 4.2vw, 4.5rem); font-weight: 800; line-height: 1.04; letter-spacing: -0.04em; max-width: 18ch; margin-bottom: var(--space-xl); }
.band-small { color: rgb(255 255 255 / 0.8); font-size: 1.125rem; }

/* 5. Closing band */
.closing { position: relative; isolation: isolate; overflow: hidden; color: var(--card); text-align: center; padding: clamp(6rem, 4rem + 10vw, 11rem) 0; }
.closing-photo { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; z-index: -2; }
.closing::after { content: ""; position: absolute; inset: 0; z-index: -1; background: radial-gradient(ellipse at 50% 55%, rgb(15 17 21 / 0.74) 0%, rgb(15 17 21 / 0.5) 80%); }
.closing h2 { font-size: clamp(2.5rem, 1.4rem + 5vw, 5rem); line-height: 1; letter-spacing: -0.045em; margin-bottom: var(--space-xl); }
.closing p { margin: 0 auto var(--space-xl); color: rgb(255 255 255 / 0.9); font-size: 1.125rem; }
.cta-light { background: var(--card); color: var(--ink); text-decoration: none; border-radius: var(--radius-pill); }
.cta-light:hover { background: var(--action-tint); color: var(--ink); }

/* FAQ */
.faq h2 { font-size: clamp(2rem, 1.3rem + 3vw, 3.25rem); letter-spacing: -0.04em; }
@media (min-width: 56rem) { .faq .wrap { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 2fr); gap: var(--space-xxxl); align-items: start; } }

details { border-top: 1px solid var(--rule); padding: var(--space-md) 0; }
details:last-of-type { border-bottom: 1px solid var(--rule); }
summary { cursor: pointer; font-weight: 600; min-height: 2.75rem; display: flex; align-items: center; }

.site-footer { padding: var(--space-xxl) 0 var(--space-xxxl); border-top: 1px solid var(--rule); }
.site-footer ul { list-style: none; margin: 0 0 var(--space-md); padding: 0; display: flex; gap: var(--space-xl); flex-wrap: wrap; }
.site-footer a { display: inline-block; min-height: 2.75rem; line-height: 2.75rem; }

/* Long-form pages (privacy, support) */
.prose { padding-top: var(--space-xl); padding-bottom: var(--space-xxxl); overflow-wrap: break-word; }
.prose h1 { margin-bottom: var(--space-lg); }
.prose h2 { font-size: 1.5rem; margin-top: var(--space-xxxl); }
.prose ul, .prose ol { margin: 0 0 var(--space-md); padding-left: 1.4rem; max-width: 38rem; }
.prose li { margin-bottom: var(--space-sm); }
.prose code { font-size: 0.9em; background: var(--rule-soft); padding: 0.1em 0.35em; border-radius: var(--radius-sm); }
.table-wrap { overflow-x: auto; margin: 0 0 var(--space-lg); border: 1px solid var(--rule); border-radius: var(--radius-md); background: var(--card); }
.table-wrap table { border-collapse: collapse; min-width: 34rem; width: 100%; font-size: 0.9375rem; line-height: 1.45; }
.table-wrap th, .table-wrap td { text-align: left; vertical-align: top; padding: var(--space-md); border-bottom: 1px solid var(--rule-soft); }
.table-wrap th { font-weight: 600; background: var(--paper); }
.table-wrap tr:last-child td { border-bottom: 0; }

html { scroll-padding-top: 5rem; }

@media (prefers-reduced-motion: reduce) {
  .cta { transition: none; }
  .cta:active { transform: none; }
}

/* Motion, guarded (Ketan lifted the Phase 1 ban for this on 2026-10-13): scroll-linked only, never a
   clock loop, and nothing moves under Reduce Motion or in a browser without scroll timelines. */
@keyframes reel-up { from { transform: translateY(2%); } to { transform: translateY(-20%); } }
@keyframes reel-down { from { transform: translateY(-24%); } to { transform: translateY(-2%); } }
@supports (animation-timeline: view()) {
  @media (prefers-reduced-motion: no-preference) {
    .reel-up { animation-name: reel-up; animation-timing-function: linear; animation-fill-mode: both; animation-timeline: --reel; animation-range: cover 0% cover 100%; }
    .reel-down { animation-name: reel-down; animation-timing-function: linear; animation-fill-mode: both; animation-timeline: --reel; animation-range: cover 0% cover 100%; }
  }
}
