/* Shuvah site. Tokens come from the app (ShuvahApp/Shared/Theme.swift).
   Light only, as the app's simple home by day. Logical properties throughout, so the Hebrew page
   only needs dir="rtl" on <html>.
   Corners: 20px for tiles and media, 12px for buttons. No pill shapes. */

@font-face {
  font-family: "Rubik";
  src: url("fonts/Rubik.woff2") format("woff2");
  font-weight: 300 900;
  font-style: normal;
  font-display: swap;
}

:root {
  --paper: #FBFAF8;
  --mist: #E9EEF5;
  --card: #F6F8FB;
  --ink: #14233F;
  --mute: #56627A;
  --tide: #1F4E8C;
  --tide-deep: #24497F;
  --shallow: #A9C1E2;
  --hair: #D3DCE8;
  --night: #14233F;
  --night-2: #22345A;
  --foam: #EEF2F7;

  --rose: #FBE1DF;
  --teal: #DCF0E9;
  --lilac: #E9E5F8;
  --sand: #F6EBDA;
  --sky: #E2ECF8;

  --r-tile: 20px;
  --r-btn: 12px;

  --wrap: 1200px;
  --pad: clamp(20px, 4vw, 40px);
  --section: clamp(88px, 12vw, 160px);

  --ease-out: cubic-bezier(.16, 1, .3, 1);

  color-scheme: light;
}

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

html {
  -webkit-text-size-adjust: 100%;
  text-size-adjust: 100%;
  scroll-behavior: smooth;
  scroll-padding-top: 80px;
}
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } }

body {
  margin: 0;
  background: var(--paper);
  color: var(--ink);
  font-family: "Rubik", system-ui, -apple-system, "Segoe UI", sans-serif;
  font-size: 18px;
  line-height: 1.6;
  font-weight: 400;
  -webkit-font-smoothing: antialiased;
  font-variant-numeric: tabular-nums;
}

img, canvas, video, svg { display: block; max-width: 100%; }
h1, h2, h3, p, dl, dd, ol, ul, figure, blockquote { margin: 0; padding: 0; }
ol, ul { list-style: none; }
a { color: var(--tide); text-underline-offset: .18em; text-decoration-thickness: 1px; }
a:hover { color: var(--tide-deep); }

:focus-visible { outline: 3px solid var(--tide); outline-offset: 3px; border-radius: 6px; }

.wrap { max-width: var(--wrap); margin-inline: auto; padding-inline: var(--pad); }
.narrow { max-width: 760px; }

.skip {
  position: absolute; inset-inline-start: 12px; inset-block-start: -60px;
  background: var(--ink); color: var(--paper); padding: 10px 14px; border-radius: var(--r-btn);
  z-index: 100;
}
.skip:focus { inset-block-start: 12px; }

/* Type */
h1 {
  font-size: clamp(40px, 4.6vw, 62px);
  line-height: 1.06;
  font-weight: 600;
  letter-spacing: -.025em;
  text-wrap: balance;
}
h2 {
  font-size: clamp(32px, 3.8vw, 50px);
  line-height: 1.1;
  font-weight: 600;
  letter-spacing: -.02em;
  text-wrap: balance;
}
h3 { font-size: 21px; line-height: 1.25; font-weight: 600; letter-spacing: -.01em; }
p { max-width: 62ch; text-wrap: pretty; }
.lead { font-size: clamp(19px, 1.6vw, 22px); color: var(--mute); max-width: 34ch; }

.section-head { display: grid; gap: 18px; margin-block-end: clamp(40px, 6vw, 72px); }
.section-head p { color: var(--mute); font-size: 19px; }
.section-head.centered { justify-items: center; text-align: center; }
.section-head.centered p { max-width: 56ch; }

/* Buttons: flat rounded rectangles, never pills. One solid colour, no gradient or shadow; hover deepens it. */
.btn {
  display: inline-flex; align-items: center; justify-content: center;
  min-height: 52px; padding-inline: 28px;
  border-radius: 12px;
  font: inherit; font-size: 17px; font-weight: 500; letter-spacing: -.01em;
  text-decoration: none; white-space: nowrap;
  border: 1px solid transparent; cursor: pointer;
  transition: background-color .2s, border-color .2s, color .2s, transform .15s var(--ease-out);
}
.btn:active { transform: scale(.98); }
.btn-solid { color: #fff; background: var(--tide); }
.btn-solid:hover { color: #fff; background: #173E72; }
.btn-quiet { color: var(--ink); background: #fff; border-color: rgb(20 35 63 / .14); }
.btn-quiet:hover { color: var(--ink); border-color: rgb(20 35 63 / .3); }
.btn-small { min-height: 40px; padding-inline: 18px; font-size: 15px; border-radius: 10px; }
@media (prefers-reduced-motion: reduce) { .btn { transition: none; } .btn:active { transform: none; } }
.actions { display: flex; flex-wrap: wrap; gap: 12px; }
.actions.centered { justify-content: center; }

/* Header */
.top {
  position: sticky; inset-block-start: 0; z-index: 20;
  background: color-mix(in srgb, var(--paper) 86%, transparent);
  -webkit-backdrop-filter: saturate(160%) blur(14px);
  backdrop-filter: saturate(160%) blur(14px);
  border-block-end: 1px solid transparent;
  transition: border-color .3s;
}
.top.scrolled { border-block-end-color: var(--hair); }
.top-row { display: flex; align-items: center; gap: 28px; height: 68px; }
.brand { display: inline-flex; align-items: center; gap: 10px; text-decoration: none; color: var(--ink); font-weight: 600; font-size: 19px; letter-spacing: -.01em; }
.brand img { width: 32px; height: 32px; border-radius: 8px; }
.nav { display: flex; gap: 26px; margin-inline-start: auto; }
.nav a { color: var(--mute); text-decoration: none; font-size: 15px; }
.nav a:hover { color: var(--ink); }
@media (max-width: 900px) {
  .nav { display: none; }
  .top-row > .btn { margin-inline-start: auto; }
}

/* Devices: Apple's own bezels (iPhone 18 Pro, Apple Watch Series 11 46 mm, from Apple Design Resources,
   the same files as the launch film). The screen sits behind the bezel's transparent opening, measured in
   the bezel's pixels: iPhone 1350 × 2760 with the screen at 72, 69 (1206 × 2622, corner 180);
   Watch 560 × 880 with the screen at 72, 192 (416 × 496, corner 100). */
.phone, .watch { position: relative; flex: none; align-self: flex-start; block-size: auto; }
.phone { --w: 300px; inline-size: var(--w); aspect-ratio: 1350 / 2760; filter: drop-shadow(0 30px 40px rgb(20 35 63 / .16)); }
.watch { --w: 150px; inline-size: var(--w); aspect-ratio: 560 / 880; filter: drop-shadow(0 24px 30px rgb(20 35 63 / .2)); }
.bezel { position: absolute; inset: 0; inline-size: 100%; block-size: 100%; z-index: 2; pointer-events: none; user-select: none; }
.phone .screen, .watch .screen { position: absolute; overflow: hidden; }
.phone .screen {
  /* 1px under the bezel on every side, so no hairline of page shows between bezel and screen */
  left: calc(5.333% - 1px); top: calc(2.5% - 1px); width: calc(89.333% + 2px); height: calc(95% + 2px);
  border-radius: 14.93% / 6.865%;
  background: var(--mist);
}
.watch .screen {
  left: calc(12.857% - 1px); top: calc(21.818% - 1px); width: calc(74.286% + 2px); height: calc(56.364% + 2px);
  border-radius: 24.04% / 20.16%;
  background: #000;
}

/* Media slots: an empty slot shows a quiet surface; in draft mode it shows what to drop in */
.slot { position: absolute; inset: 0; display: grid; place-items: center; margin: 0; transition: opacity .5s var(--ease-out); }
.slot > video, .slot > img { position: absolute; inset: 0; inline-size: 100%; block-size: 100%; object-fit: cover; }
.slot-note { display: none; }
.draft .slot:not(.filled) .slot-note {
  display: grid; gap: 4px; text-align: center; padding: 12%;
  font-size: 13px; line-height: 1.45; color: var(--mute);
}
.draft .slot:not(.filled) .slot-note strong { color: var(--ink); font-size: 14px; font-weight: 600; }
.draft .slot:not(.filled) .slot-note .file { color: var(--tide); word-break: break-all; }
.draft .slot:not(.filled) { outline: 1.5px dashed var(--shallow); outline-offset: -10px; }
.watch .slot-note { padding: 8% !important; font-size: 10.5px !important; }
.watch .slot-note strong { font-size: 11.5px !important; }
.watch .slot { color-scheme: dark; }
.draft .watch .slot:not(.filled) .slot-note { color: #93A2BC; }
.draft .watch .slot:not(.filled) .slot-note strong { color: var(--foam); }
.draft .watch .slot:not(.filled) .slot-note .file { color: var(--shallow); }
.watch-big .slot-note { font-size: 13px !important; }
.watch-big .slot-note strong { font-size: 14px !important; }

/* Hero */
.hero { padding-block: clamp(40px, 7vw, 88px) clamp(72px, 9vw, 120px); overflow: hidden; }
.hero-grid { display: grid; grid-template-columns: 1.2fr .9fr; align-items: center; gap: clamp(32px, 5vw, 72px); }
.hero-copy { display: grid; gap: 28px; justify-items: start; }
.hero-copy .actions { margin-block-start: 6px; }
.hero-devices {
  position: relative; justify-self: center; padding-block-end: 40px; padding-inline-start: 60px;
  transform: perspective(1400px) rotateX(var(--rx, 0deg)) rotateY(var(--ry, 0deg));
  transform-style: preserve-3d;
}
.phone-hero { translate: 0 calc(var(--py, 0) * -50px) 0; }
.watch-hero { translate: 0 calc(var(--py, 0) * -150px) 60px; rotate: calc(var(--py, 0) * -8deg); }
.phone-hero { --w: clamp(240px, 24vw, 310px); }
.watch-hero { --w: clamp(140px, 12.5vw, 180px); position: absolute; inset-inline-start: 0; inset-block-end: 0; }
/* the watch stands beside the phone and only touches its frame, never its screen */
.hero-devices { padding-inline-start: clamp(124px, 11vw, 160px) !important; }

@media (max-width: 860px) {
  .hero-grid { grid-template-columns: 1fr; }
  .hero-devices { padding-inline-start: min(29vw, 130px) !important; }
  .phone-hero { --w: min(56vw, 250px); }
  .watch-hero { --w: min(33vw, 146px); }
}

/* One orchestrated arrival, on load only */
@media (prefers-reduced-motion: no-preference) {
  .hero-copy > * { animation: rise .9s var(--ease-out) both; }
  .hero-copy > :nth-child(2) { animation-delay: .08s; }
  .hero-copy > :nth-child(3) { animation-delay: .16s; }
  .phone-hero { animation: rise 1.1s var(--ease-out) .12s both; }
  .watch-hero { animation: rise-watch 1.1s var(--ease-out) .38s both; }
}
@keyframes rise { from { opacity: 0; transform: translateY(28px); } }
@keyframes rise-watch { from { opacity: 0; transform: translateY(40px) rotate(-4deg); } }

/* The breath: Jonah on the tide, breathing on his own while on screen (4 s in, 6 s out, like the app) */
.breath {
  position: relative; overflow: hidden;
  min-block-size: 92vh; min-block-size: 92dvh;
  display: grid; justify-items: center; align-content: start;
  padding-block-start: clamp(64px, 12vh, 128px);
}
.tide {
  position: absolute; inset: 0; inline-size: 100%; block-size: 100%;
  -webkit-mask-image: linear-gradient(to bottom, #000 70%, transparent);
  mask-image: linear-gradient(to bottom, #000 70%, transparent);
}
.tide-level { transform: translateY(calc((1 - var(--lvl, .35)) * 360px)); }
.tide-back { fill: var(--shallow); opacity: .45; }
.tide-front { fill: var(--shallow); opacity: .75; }
@media (prefers-reduced-motion: no-preference) {
  .tide-back { animation: drift 14s linear infinite; }
  .tide-front { animation: drift 9s linear infinite reverse; }
}
@keyframes drift { to { transform: translateX(-1440px); } }

.breath-cue { position: relative; z-index: 2; display: grid; justify-items: center; gap: 2px; max-width: none; }
.cue-word { font-size: clamp(36px, 5vw, 64px); font-weight: 500; letter-spacing: -.02em; line-height: 1.1; }
.cue-count { font-size: 22px; color: var(--mute); min-block-size: 1.5em; }

.jonah-float {
  position: absolute; inset-inline-start: 50%; inset-block-start: 56%;
  inline-size: clamp(220px, 28vw, 340px); aspect-ratio: 1;
  translate: -50% calc(-50% + (1 - var(--lvl, .35)) * 70px);
  z-index: 1;
}
[dir="rtl"] .jonah-float { translate: 50% calc(-50% + (1 - var(--lvl, .35)) * 70px); }
.jonah-float canvas { inline-size: 100%; block-size: 100%; }
.breath { cursor: pointer; user-select: none; -webkit-user-select: none; -webkit-touch-callout: none; touch-action: pan-y; outline-offset: -6px; }
.breath-hint {
  position: absolute; inset-block-end: clamp(28px, 6vh, 56px); inset-inline: 0; z-index: 2;
  text-align: center; max-width: none; font-size: 15px; color: var(--tide-deep); transition: opacity .4s;
}
.breath.holding .breath-hint, .breath.led .breath-hint { opacity: 0; }
.breathe-btn { position: absolute; inset-block-end: 40px; z-index: 2; background: rgb(255 255 255 / .7); }

/* The moment: four panels in a row. Wide screens pin the section and vertical scroll pans it;
   phones and reduced motion get a native sideways swipe with snapping. */
.moment { position: relative; }
.moment-pin { padding-block: var(--section) 48px; display: grid; grid-template-columns: minmax(0, 1fr); gap: clamp(28px, 4vh, 48px); }
.moment-viewport, .moment-pin > * { min-inline-size: 0; }
.moment-pin > .wrap { inline-size: 100%; }
.moment .section-head { margin-block: 0; }
.moment-viewport.dragging { cursor: grabbing; scroll-snap-type: none; }
.moment-viewport.dragging .panel { pointer-events: none; }
.moment-viewport { cursor: grab; overflow-x: auto; overscroll-behavior-x: contain; scroll-snap-type: x mandatory; scrollbar-width: none; }
.moment-viewport::-webkit-scrollbar { display: none; }
.moment-track {
  display: flex; gap: clamp(20px, 3vw, 40px);
  padding-inline: max(var(--pad), calc((100vw - var(--wrap)) / 2 + var(--pad)));
  inline-size: max-content;
}
.panel {
  scroll-snap-align: center;
  inline-size: min(86vw, 720px);
  display: grid; grid-template-columns: auto 1fr; align-items: center; gap: clamp(24px, 4vw, 56px);
  padding: clamp(20px, 3vw, 40px);
  border-radius: 28px; background: var(--card);
  transition: opacity .5s var(--ease-out), transform .6s var(--ease-out);
}
.panel .phone { --w: clamp(160px, min(18vw, 21vh), 230px); }
.panel-text { display: grid; gap: 14px; }
.panel-text h3 { font-size: clamp(28px, 3vw, 40px); letter-spacing: -.02em; }
.panel-text > p { color: var(--mute); font-size: 19px; }

.moment-nav { display: grid; gap: 14px; }
.moment-labels { display: flex; gap: clamp(16px, 3vw, 40px); flex-wrap: wrap; }
.moment-labels button {
  font: inherit; font-size: 16px; font-weight: 500; color: var(--mute);
  background: none; border: 0; padding: 6px 0; cursor: pointer; transition: color .3s;
}
.moment-labels button[aria-current] { color: var(--ink); }
.moment-labels button:hover { color: var(--tide); }
.moment-line, .rail-line { block-size: 2px; background: var(--hair); border-radius: 2px; overflow: hidden; }
.moment-line span, .rail-line span {
  display: block; block-size: 100%; inline-size: 100%; background: var(--tide);
  transform-origin: left; transform: scaleX(var(--p, .25));
}
[dir="rtl"] .moment-line span, [dir="rtl"] .rail-line span { transform-origin: right; }

/* Pinned mode (set by main.js on wide screens without reduced motion) */
.moment.pinned .moment-pin { position: sticky; inset-block-start: 0; block-size: 100vh; block-size: 100dvh; padding-block: clamp(72px, 11vh, 120px) clamp(24px, 5vh, 48px); align-content: space-between; overflow: hidden; }
.moment.pinned .moment-viewport { overflow: visible; scroll-snap-type: none; cursor: auto; }
.moment.pinned .moment-track { will-change: transform; transform: translate3d(var(--x, 0px), 0, 0); }
.moment.pinned .panel { opacity: .45; transform: scale(.96); }
.moment.pinned .panel.is-on { opacity: 1; transform: none; }

.verse {
  padding: 20px 22px; border-radius: var(--r-tile);
  background: var(--paper); display: grid; gap: 10px;
  font-family: ui-serif, "New York", "Iowan Old Style", Georgia, "Times New Roman", serif;
}
.verse p { font-size: 17px; line-height: 1.5; color: var(--ink); }
.verse p[lang="he"] { font-size: 20px; line-height: 1.65; text-align: start; }
.verse footer { font-family: "Rubik", system-ui, sans-serif; font-size: 13px; color: var(--mute); }
/* Everyday words are Shuvah's own: the app's face, not the serif kept for quoted sources */
.verse.plain { font-family: "Rubik", system-ui, sans-serif; }
.verse.plain .verse-en { font-size: 20px; line-height: 1.4; font-weight: 500; }
.verse { min-block-size: 168px; align-content: start; transition: opacity .18s ease; }
.verse.out { opacity: 0; }
.anchors { display: grid; gap: 12px; justify-items: start; }
.anchors .verse { justify-self: stretch; }
.anchor-groups { display: flex; flex-wrap: wrap; gap: 4px 18px; }
.anchor-groups button {
  font: inherit; font-size: 14px; font-weight: 500; color: var(--mute);
  background: none; border: 0; padding: 4px 0; cursor: pointer;
  border-block-end: 2px solid transparent; transition: color .2s, border-color .2s;
}
.anchor-groups button:hover { color: var(--ink); }
.anchor-groups button[aria-selected="true"] { color: var(--ink); border-block-end-color: var(--tide); }
.another {
  font: inherit; font-size: 15px; font-weight: 500; color: var(--tide);
  background: none; border: 0; padding: 4px 0; cursor: pointer;
}
.another:hover { color: var(--tide-deep); text-decoration: underline; text-underline-offset: .2em; }
@media (prefers-reduced-motion: reduce) { .verse { transition: none; } }

@media (max-width: 760px) {
  .panel { grid-template-columns: 1fr; justify-items: center; text-align: center; }
  .panel .phone { --w: min(46vw, 200px); }
  .panel-text { justify-items: center; }
  .verse { text-align: start; }
  .anchors { justify-items: center; }
  .anchor-groups { justify-content: center; }
}

/* The watch */
.watch-band { background: var(--mist); padding-block: var(--section); }
.watch-layout { display: grid; justify-items: center; }
.watch-big { --w: clamp(260px, 30vw, 360px); }
/* The wrist tap: two quick rings from the watch, as the watch taps twice */
.watch-stage { position: relative; display: grid; place-items: center; }
.tap-ring {
  position: absolute; inset-block-start: 50%; inset-inline-start: 50%;
  inline-size: clamp(220px, 24vw, 290px); aspect-ratio: 1; border-radius: 50%;
  translate: -50% -50%; border: 2px solid var(--tide); opacity: 0; pointer-events: none;
}
[dir="rtl"] .tap-ring { translate: 50% -50%; }
@media (prefers-reduced-motion: no-preference) {
  .watch-band.in-view .tap-ring { animation: tap 3.6s var(--ease-out) infinite; }
  .watch-band.in-view .tap-ring + .tap-ring { animation-delay: .22s; }
}
@keyframes tap {
  0% { opacity: 0; transform: scale(.7); }
  6% { opacity: .5; }
  40%, 100% { opacity: 0; transform: scale(1.55); }
}
.watch-list { margin-block-start: clamp(40px, 5vw, 64px); color: var(--mute); font-size: 17px; text-align: center; }

/* Tools: a sideways rail. Drag with the mouse, swipe, scroll sideways, or use the arrows. */
.tools { padding-block: var(--section); overflow: hidden; }
.tools-head { display: flex; align-items: end; justify-content: space-between; gap: 24px; margin-block-end: clamp(32px, 5vw, 56px); }
.rail-arrows { display: flex; gap: 10px; flex: none; }
.arrow {
  inline-size: 52px; block-size: 52px; border-radius: 50%;
  display: grid; place-items: center; cursor: pointer; padding: 0;
  color: var(--ink); background: #fff;
  border: 1px solid rgb(20 35 63 / .14);
  transition: background-color .2s, color .2s, border-color .2s, transform .15s var(--ease-out), opacity .2s;
}
.arrow svg { inline-size: 18px; block-size: 18px; fill: currentColor; transition: translate .35s var(--ease-out); }
.arrow.prev svg { transform: scaleX(-1); }
[dir="rtl"] .arrow.next svg { transform: scaleX(-1); }
[dir="rtl"] .arrow.prev svg { transform: none; }
.arrow:hover:not(:disabled) { background: var(--ink); border-color: var(--ink); color: #fff; }
.arrow.next:hover:not(:disabled) svg { translate: 2px 0; }
.arrow.prev:hover:not(:disabled) svg { translate: -2px 0; }
.arrow:active:not(:disabled) { transform: scale(.92); transition-duration: .08s; }
.arrow:disabled { opacity: .3; cursor: default; background: transparent; }

.rail { overflow-x: auto; scroll-snap-type: x mandatory; scrollbar-width: none; overscroll-behavior-x: contain; cursor: grab; outline-offset: -3px; }
.rail::-webkit-scrollbar { display: none; }
.rail.dragging { cursor: grabbing; scroll-snap-type: none; }
.rail.dragging .card { pointer-events: none; }
.rail-track {
  display: flex; gap: 16px; inline-size: max-content;
  padding-inline: max(var(--pad), calc((100vw - var(--wrap)) / 2 + var(--pad)));
  padding-block: 4px;
}
.rail { scroll-padding-inline: max(var(--pad), calc((100vw - var(--wrap)) / 2 + var(--pad))); }
.card {
  scroll-snap-align: start;
  inline-size: clamp(250px, 24vw, 300px); min-block-size: clamp(340px, 30vw, 400px);
  border-radius: var(--r-tile); padding: 28px;
  display: grid; align-content: end; gap: 8px;
  user-select: none; -webkit-user-select: none;
}
.card img { inline-size: 96px; block-size: 96px; align-self: start; margin-block-end: auto; }
.card { grid-template-rows: 1fr auto auto; }
.card h3 { font-size: 23px; }
.card p { font-size: 16px; line-height: 1.5; color: var(--mute); }
.card-guide { inline-size: clamp(300px, 40vw, 560px); grid-template-columns: 1fr 1fr; grid-template-rows: none; align-items: end; gap: 12px; }
.guide-stage { align-self: stretch; position: relative; min-block-size: 300px; }
.guide-stage canvas { position: absolute; inset: 0; inline-size: 100%; block-size: 100%; }
.card-text { display: grid; gap: 10px; align-content: end; justify-items: start; }
.guide-btn { margin-block-start: 6px; user-select: none; }
.guide-live { min-block-size: 1.5em; font-weight: 500; color: var(--ink) !important; }
.c-rose { background: var(--rose); }
.c-teal { background: var(--teal); }
.c-lilac { background: var(--lilac); }
.c-sand { background: var(--sand); }
.c-sky { background: var(--sky); }
.rail-line { margin-block-start: 28px; }

@media (max-width: 620px) {
  .rail-arrows { display: none; }
  .card { inline-size: 74vw; min-block-size: 320px; padding: 22px; }
  .card img { inline-size: 76px; block-size: 76px; }
  .card-guide { inline-size: 86vw; grid-template-columns: 1fr; }
  .guide-stage { min-block-size: 240px; }
}

/* Journal */
.journal { padding-block: 0 var(--section); }
.journal-grid { display: grid; grid-template-columns: 1fr 1.1fr; gap: clamp(32px, 6vw, 96px); align-items: center; }
.journal-copy { display: grid; gap: 20px; }
.journal-copy p { color: var(--mute); }
.journal-copy p:first-of-type { color: var(--ink); font-size: 20px; }
.journal-phones { display: flex; align-items: flex-start; justify-content: center; gap: clamp(16px, 3vw, 32px); }
.journal-phones .phone { --w: clamp(190px, 19vw, 250px); }
.phone-b { margin-block-start: 72px; }
@media (max-width: 860px) {
  .journal-grid { grid-template-columns: 1fr; }
  .journal-phones .phone { --w: min(42vw, 210px); }
  .phone-b { margin-block-start: 48px; }
}

/* Privacy */
.privacy { background: var(--mist); padding-block: var(--section); }
.privacy .wrap { display: grid; gap: 18px; }
.privacy-line { font-size: clamp(19px, 1.6vw, 22px); color: var(--mute); }

/* Story (placeholders) */
.story { padding-block: var(--section); }
.todo-section { display: none; }
.draft .todo-section { display: block; }
.story-grid { display: grid; grid-template-columns: .9fr 1.1fr; gap: clamp(32px, 6vw, 96px); align-items: center; }
.story-photo { position: relative; inset: auto; aspect-ratio: 4 / 5; border-radius: var(--r-tile); overflow: hidden; background: var(--mist); }
.story-copy { display: grid; gap: 20px; }
.story-copy p { color: var(--mute); }
html:not(.draft) .story-photo:not(.filled) { display: none; }
html:not(.draft) .story-grid:not(:has(.filled)) { grid-template-columns: minmax(0, 760px); }
.story-quote { margin-block-start: 12px; padding-inline-start: 22px; border-inline-start: 2px solid var(--tide); display: grid; gap: 8px; }
.story-quote p { font-size: 22px; line-height: 1.45; }
.story-quote footer { color: var(--mute); font-size: 15px; }
.todo { color: #8A5A00; background: #FFF4D6; border-radius: 6px; padding: 2px 6px; -webkit-box-decoration-break: clone; box-decoration-break: clone; }
.draft-only { display: none; }
.draft .draft-only { display: inline; }
@media (max-width: 860px) { .story-grid { grid-template-columns: 1fr; } .story-photo { max-inline-size: 420px; } }

/* Research */
.research { padding-block: var(--section); }
.research .narrow { display: grid; gap: 22px; }
.research p { color: var(--mute); }
.research p:last-child { color: var(--ink); }

/* Join */
.join { padding-block: 0 var(--section); }
.join-inner { display: grid; justify-items: center; text-align: center; gap: 20px; }
.join-inner img { border-radius: 26px; margin-block-end: 8px; }
.join-inner p { color: var(--mute); }
.join-also { font-size: 16px; }

/* Footer */
.foot { border-block-start: 1px solid var(--hair); padding-block: 40px 56px; }
.foot-grid { display: grid; gap: 10px; }
.foot-help { font-size: 16px; }
.foot-meta { font-size: 14px; color: var(--mute); }

[hidden] { display: none !important; }
