/* The Bible Letter website.
   Part 1 is the shared base (reset, layout, prose, footer, a11y).
   Part 2 is the app's own look: Midnight Navy sky, Warm Ivory paper, warm gold light,
   the same fonts and tokens as bible-app (docs/DESIGN-LANGUAGE.md).
   No scripts anywhere: the site's Content-Security-Policy allows none. */

/* ---------- fonts (OFL, the same files the app ships) ---------- */
@font-face { font-family: "Cormorant Garamond"; font-weight: 500; font-style: normal; font-display: swap; src: url("/assets/fonts/cormorant-garamond-latin-500-normal.woff2") format("woff2"); }
@font-face { font-family: "Cormorant Garamond"; font-weight: 500; font-style: italic; font-display: swap; src: url("/assets/fonts/cormorant-garamond-latin-500-italic.woff2") format("woff2"); }
@font-face { font-family: "Cormorant Garamond"; font-weight: 600; font-style: normal; font-display: swap; src: url("/assets/fonts/cormorant-garamond-latin-600-normal.woff2") format("woff2"); }
@font-face { font-family: "EB Garamond"; font-weight: 400; font-style: normal; font-display: swap; src: url("/assets/fonts/eb-garamond-latin-400-normal.woff2") format("woff2"); }
@font-face { font-family: "EB Garamond"; font-weight: 400; font-style: italic; font-display: swap; src: url("/assets/fonts/eb-garamond-latin-400-italic.woff2") format("woff2"); }
@font-face { font-family: "EB Garamond"; font-weight: 500; font-style: normal; font-display: swap; src: url("/assets/fonts/eb-garamond-latin-500-normal.woff2") format("woff2"); }
@font-face { font-family: "Inter"; font-weight: 400; font-style: normal; font-display: swap; src: url("/assets/fonts/inter-latin-400-normal.woff2") format("woff2"); }
@font-face { font-family: "Inter"; font-weight: 600; font-style: normal; font-display: swap; src: url("/assets/fonts/inter-latin-600-normal.woff2") format("woff2"); }

/* ================= Part 1: base ================= */

:root {
  --bg: #111;
  --surface: #1c1c1c;
  --text: #fff;
  --muted: rgb(255 255 255 / .68);
  --line: rgb(255 255 255 / .1);
  --primary: #6b5bff;
  --accent: #ffcc33;
  --accent-ink: #111;
  --radius: 20px;
  --font-display: system-ui, -apple-system, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
  --font-body: var(--font-display);
  --wrap: 1120px;
  --gutter: clamp(16px, 4vw, 32px);
}

/* reset */
*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; text-size-adjust: 100%; }
body {
  margin: 0; min-height: 100svh; display: flex; flex-direction: column;
  background: var(--bg); color: var(--text);
  font: 400 17px/1.6 var(--font-body);
  -webkit-font-smoothing: antialiased; text-rendering: optimizeLegibility;
  overflow-x: hidden;
}
img, svg { display: block; max-width: 100%; }
h1, h2, h3 { font-family: var(--font-display); line-height: 1.15; margin: 0 0 .5em; text-wrap: balance; }
p { margin: 0 0 1em; text-wrap: pretty; }
a { color: inherit; }
main { flex: 1; }

/* layout */
.wrap { width: 100%; max-width: var(--wrap); margin-inline: auto; padding-inline: var(--gutter); }

/* a11y */
.skip-link {
  position: absolute; left: 12px; top: -48px; z-index: 100;
  padding: 8px 14px; border-radius: 10px; background: var(--accent); color: var(--accent-ink);
  text-decoration: none; font-weight: 600;
}
.skip-link:focus { top: 12px; }
:focus-visible { outline: 3px solid var(--accent); outline-offset: 3px; border-radius: 6px; }
.visually-hidden { position: absolute !important; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }

/* site header */
.site-header { padding-block: 18px; }
.site-header .wrap { display: flex; align-items: center; justify-content: space-between; gap: 16px; }
.brand { display: inline-flex; align-items: center; gap: 10px; text-decoration: none; font-weight: 700; }
.brand img { width: 32px; height: 32px; border-radius: 8px; }

/* legal / support pages */
.prose { max-width: 68ch; margin-inline: auto; padding: clamp(24px, 6vw, 64px) var(--gutter) 64px; }
.prose h1 { font-size: clamp(2rem, 5vw, 2.75rem); }
.prose .meta { color: var(--muted); font-size: .95em; margin-bottom: 2em; }
.prose h2 { font-size: 1.3rem; margin-top: 2.2em; }
.prose h3 { font-size: 1.08rem; margin-top: 1.6em; }
.prose ul, .prose ol { padding-left: 1.25em; }
.prose li { margin-bottom: .4em; }
.prose a { color: var(--accent); text-underline-offset: 3px; }
.prose table { width: 100%; border-collapse: collapse; margin: 1em 0 1.5em; font-size: .95em; display: block; overflow-x: auto; }
.prose th, .prose td { text-align: left; vertical-align: top; padding: 10px 12px; border-bottom: 1px solid var(--line); }
.prose th { font-weight: 600; white-space: nowrap; }
.prose details { border: 1px solid var(--line); border-radius: 14px; padding: 4px 16px; margin-bottom: 10px; background: color-mix(in srgb, var(--surface) 60%, transparent); }
.prose summary { cursor: pointer; font-weight: 600; padding: 10px 0; }
.prose details[open] summary { margin-bottom: 4px; }
.contact-card { border: 1px solid var(--line); border-radius: var(--radius); padding: 20px 22px; margin: 1.5em 0 2em; background: color-mix(in srgb, var(--surface) 75%, transparent); }

/* footer */
.site-footer { padding-block: 28px; border-top: 1px solid var(--line); color: var(--muted); font-size: 14px; }
.site-footer .wrap { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 10px 24px; }
.site-footer nav { display: flex; flex-wrap: wrap; gap: 6px 18px; }
.site-footer a { color: var(--muted); text-decoration: none; }
.site-footer a:hover { color: var(--text); text-decoration: underline; text-underline-offset: 3px; }

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation: none !important; transition: none !important; scroll-behavior: auto !important; }
}

/* ================= Part 2: The Bible Letter ================= */

/* Tokens mirror bible-app/src/styles/_tokens.scss. Paper (light) by default, navy sky
   in dark mode; `.night` sections are always the navy sky. */
:root {
  --navy: #172B3A;
  --night: #0F1E29;
  --ivory: #F7F2E8;
  --gold: #E3A869;
  --light: #F2BF7A;

  --bg: #F7F2E8;
  --surface: #FBF8F2;
  --surface-2: #EFE8DA;
  --text: #172B3A;
  --muted: rgb(23 43 58 / .74);
  --line: rgb(23 43 58 / .11);
  --primary: #172B3A;
  --accent: #9A6230;
  --accent-ink: #F7F2E8;
  --accent-soft: rgb(201 139 74 / .16);
  --glow: 0 24px 60px -28px rgb(154 98 48 / .45);
  --legal-glow: rgb(201 139 74 / .16);
  --radius: 24px;
  --ease: cubic-bezier(0.16, 1, 0.3, 1);
  --breath: cubic-bezier(0.37, 0, 0.63, 1);

  --font-display: "Cormorant Garamond", "EB Garamond", Georgia, "Times New Roman", serif;
  --font-serif: "EB Garamond", Georgia, "Iowan Old Style", "Times New Roman", serif;
  --font-ui: "Inter", system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;
  --font-body: var(--font-serif);

  --stars: url("data:image/svg+xml,<svg xmlns='http://www.w3.org/2000/svg' width='480' height='480' fill='%23F7F2E8'><circle cx='155' cy='72' r='1.4' fill-opacity='0.35'/><circle cx='35' cy='257' r='0.8' fill-opacity='0.35'/><circle cx='437' cy='103' r='0.6' fill-opacity='0.8'/><circle cx='201' cy='116' r='1.1' fill-opacity='0.8'/><circle cx='28' cy='271' r='0.7' fill-opacity='0.35'/><circle cx='277' cy='190' r='0.7' fill-opacity='0.35'/><circle cx='267' cy='64' r='0.9' fill-opacity='0.5'/><circle cx='260' cy='274' r='1.1' fill-opacity='0.5'/><circle cx='49' cy='274' r='0.7' fill-opacity='0.6'/><circle cx='47' cy='342' r='1.1' fill-opacity='0.35'/><circle cx='297' cy='238' r='1.1' fill-opacity='0.8'/><circle cx='373' cy='223' r='0.9' fill-opacity='0.6'/><circle cx='144' cy='381' r='1.4' fill-opacity='0.5'/><circle cx='39' cy='144' r='0.9' fill-opacity='0.6'/><circle cx='350' cy='138' r='0.6' fill-opacity='0.35'/><circle cx='246' cy='79' r='0.8' fill-opacity='0.5'/><circle cx='448' cy='202' r='1.4' fill-opacity='0.35'/><circle cx='367' cy='275' r='0.8' fill-opacity='0.6'/><circle cx='334' cy='285' r='1.1' fill-opacity='0.8'/><circle cx='33' cy='45' r='0.8' fill-opacity='0.8'/><circle cx='335' cy='31' r='1.4' fill-opacity='0.6'/><circle cx='311' cy='477' r='0.9' fill-opacity='0.6'/><circle cx='344' cy='426' r='0.8' fill-opacity='0.35'/><circle cx='452' cy='171' r='1.1' fill-opacity='0.35'/><circle cx='237' cy='105' r='0.8' fill-opacity='0.5'/><circle cx='354' cy='191' r='0.9' fill-opacity='0.35'/><circle cx='80' cy='193' r='0.8' fill-opacity='0.5'/><circle cx='393' cy='415' r='0.8' fill-opacity='0.8'/><circle cx='474' cy='328' r='0.9' fill-opacity='0.5'/><circle cx='72' cy='85' r='0.7' fill-opacity='0.5'/><circle cx='6' cy='399' r='0.7' fill-opacity='0.6'/><circle cx='135' cy='70' r='1.1' fill-opacity='0.6'/><circle cx='293' cy='153' r='0.7' fill-opacity='0.35'/><circle cx='219' cy='418' r='1.4' fill-opacity='0.8'/><circle cx='191' cy='189' r='0.9' fill-opacity='0.8'/><circle cx='30' cy='32' r='0.7' fill-opacity='0.8'/><circle cx='78' cy='163' r='0.6' fill-opacity='0.35'/><circle cx='0' cy='73' r='0.6' fill-opacity='0.6'/><circle cx='295' cy='34' r='0.7' fill-opacity='0.8'/><circle cx='71' cy='121' r='0.8' fill-opacity='0.6'/><circle cx='228' cy='55' r='0.9' fill-opacity='0.8'/><circle cx='231' cy='150' r='0.7' fill-opacity='0.35'/><circle cx='360' cy='355' r='0.9' fill-opacity='0.5'/><circle cx='248' cy='99' r='1.1' fill-opacity='0.6'/><circle cx='70' cy='261' r='0.6' fill-opacity='0.6'/><circle cx='470' cy='414' r='1.4' fill-opacity='0.6'/></svg>");
  --grain: url("data:image/svg+xml,<svg xmlns='http://www.w3.org/2000/svg' width='160' height='160'><filter id='n'><feTurbulence type='fractalNoise' baseFrequency='.85' numOctaves='2' stitchTiles='stitch'/><feColorMatrix values='0 0 0 0 .5 0 0 0 0 .5 0 0 0 0 .5 0 0 0 .9 0'/></filter><rect width='100%' height='100%' filter='url(%23n)'/></svg>");
  color-scheme: light dark;
}

@media (prefers-color-scheme: dark) {
  :root {
    --bg: #0F1E29;
    --surface: #172B3A;
    --surface-2: #1F3647;
    --text: #F7F2E8;
    --muted: rgb(247 242 232 / .74);
    --line: rgb(247 242 232 / .11);
    --accent: #E3A869;
    --accent-ink: #172B3A;
    --accent-soft: rgb(227 168 105 / .2);
    --glow: 0 24px 60px -30px rgb(242 191 122 / .3);
    --legal-glow: rgb(34 64 90 / .95);
  }
}

/* The night sky: always navy with ivory text and gold light, in both schemes.
   `.on-night` takes the night colours without the sky (the header over the hero). */
.night, .on-night {
  --bg: #0F1E29;
  --surface: #172B3A;
  --text: #F7F2E8;
  --muted: rgb(247 242 232 / .76);
  --line: rgb(247 242 232 / .12);
  --accent: #E3A869;
  --accent-ink: #172B3A;
  --accent-soft: rgb(227 168 105 / .2);
  color: var(--text);
}
.night {
  position: relative; isolation: isolate; overflow: hidden;
  background:
    radial-gradient(75% 36% at 50% 104%, rgb(242 191 122 / .4), rgb(227 168 105 / .12) 48%, transparent 76%),
    radial-gradient(90% 70% at 50% -10%, #22405A, transparent 70%),
    var(--night);
  color: var(--text);
}
.night::before, .night::after { content: ""; position: absolute; inset: 0; z-index: -1; pointer-events: none; }
.night::before { background: var(--stars); background-size: 480px 480px; opacity: .55; }
.night::after { background: var(--grain); opacity: .05; }

body { font-size: 18px; line-height: 1.6; }
.ui, .site-header, .site-footer, .chip, .store-btn, .eyebrow, .trust, .caption { font-family: var(--font-ui); }
::selection { background: rgb(227 168 105 / .35); }

/* header */
.site-header--over { position: absolute; inset: 0 0 auto; z-index: 5; }
.brand { font-family: var(--font-display); font-weight: 600; font-size: 1.3rem; letter-spacing: .01em; color: var(--text); }
.brand img { width: 34px; height: 34px; border-radius: 9px; box-shadow: 0 0 0 1px var(--line); }

/* ---------- hero ---------- */
.hero { padding-block: calc(72px + clamp(8px, 3vw, 32px)) clamp(56px, 8vw, 96px); }
.trust svg, .honest h3 svg, .feature .tile svg { fill: none; stroke: currentColor; stroke-linecap: round; stroke-linejoin: round; }
.hero-grid {
  display: grid; grid-template-columns: minmax(0, 1.08fr) minmax(0, .92fr); align-items: center; gap: clamp(32px, 6vw, 72px);
  min-height: min(calc(100svh - 72px - 96px), 700px);
}
.chip {
  display: inline-flex; align-items: center; gap: 10px; margin-bottom: 26px;
  padding: 7px 14px 7px 12px; border-radius: 999px;
  background: rgb(247 242 232 / .07); border: 1px solid var(--line);
  font-size: 13.5px; color: var(--muted);
}
.chip .dot { width: 8px; height: 8px; border-radius: 50%; background: var(--gold); box-shadow: 0 0 0 4px rgb(227 168 105 / .18), 0 0 14px rgb(242 191 122 / .8); }
.chip .dot.is-live { background: #7FC79A; box-shadow: 0 0 0 4px rgb(127 199 154 / .18); }
.hero h1 {
  font-size: clamp(3.1rem, 7.4vw, 5.6rem); font-weight: 600; line-height: .98; letter-spacing: -.012em; margin-bottom: .3em;
}
.hero h1 em {
  font-style: italic; font-weight: 500;
  background: linear-gradient(100deg, #F6D3A0 10%, var(--gold) 60%, #D8955A);
  -webkit-background-clip: text; background-clip: text; color: transparent;
  padding-right: .06em;
}
.lead { font-size: clamp(1.35rem, 2.4vw, 1.65rem); font-style: italic; line-height: 1.35; margin-bottom: .55em; max-width: 30ch; }
.hero .desc { color: var(--muted); max-width: 44ch; margin-bottom: 30px; }
.trust { display: flex; align-items: center; gap: 10px; margin: 22px 0 0; font-size: 14px; color: var(--muted); }
.trust svg { width: 18px; height: 18px; flex: none; color: var(--gold); }

/* the visual: a real scene from the app in a phone, with the icon rising out of the light */
.hero-visual { position: relative; display: grid; place-items: center; min-height: 520px; }
.hero-visual .halo {
  position: absolute; width: 130%; aspect-ratio: 1; border-radius: 50%; z-index: -1;
  background: radial-gradient(closest-side, rgb(242 191 122 / .32), rgb(227 168 105 / .1) 55%, transparent);
}
.phone {
  position: relative; width: 100%; max-width: 270px; padding: 9px; border-radius: 44px;
  background: linear-gradient(160deg, #2A4459, #0B151D 70%);
  box-shadow: 0 0 0 1px rgb(247 242 232 / .12), 0 40px 80px -30px rgb(0 0 0 / .7), 0 0 90px -20px rgb(242 191 122 / .35);
}
.phone img { width: 100%; height: auto; aspect-ratio: 540 / 1091; border-radius: 36px; background: var(--navy); }
.hero-visual .phone { transform: rotate(3deg); }
.hero-icon {
  position: absolute; left: max(0px, calc(50% - 215px)); bottom: 46px; width: 128px; height: 128px; border-radius: 30px;
  box-shadow: 0 0 0 1px rgb(247 242 232 / .14), 0 24px 50px -16px rgb(0 0 0 / .7), 0 0 70px rgb(242 191 122 / .35);
  transform: rotate(-6deg);
}

/* birds from the mark, drifting across the sky */
.birds { position: absolute; inset: 0; z-index: -1; pointer-events: none; }
.bird { position: absolute; width: 64px; height: auto; fill: none; stroke: var(--ivory); stroke-width: 7; stroke-linecap: round; stroke-linejoin: round; }
.bird.b1 { top: 13%; left: 6%;  width: 54px; opacity: .22; }
.bird.b2 { top: 8%;  left: 30%; width: 38px; opacity: .14; filter: blur(.6px); }
.bird.b3 { top: 20%; left: 46%; width: 30px; opacity: .12; filter: blur(1px); }
.bird.b4 { top: 9%;  right: 9%; width: 58px; opacity: .2; }
.bird.b5 { top: 64%; left: 3%;  width: 34px; opacity: .1;  filter: blur(1px); }
.bird.b6 { top: 30%; right: 3%; width: 30px; opacity: .13; }
.bird.b7 { bottom: 12%; right: 38%; width: 26px; opacity: .1; filter: blur(1.2px); }

/* ---------- store buttons ---------- */
.store-buttons { display: flex; flex-wrap: wrap; gap: 14px 12px; }
.store-btn {
  --btn-bg: #05090C; --btn-fg: #fff;
  position: relative; display: inline-flex; align-items: center; gap: 10px;
  min-width: 172px; height: 58px; padding: 0 20px 0 15px;
  background: var(--btn-bg); color: var(--btn-fg);
  border: 1px solid rgb(247 242 232 / .2); border-radius: 15px;
  text-decoration: none; line-height: 1.1;
  box-shadow: 0 6px 20px rgb(0 0 0 / .25);
  transition: transform .18s ease, box-shadow .18s ease, border-color .18s ease;
}
.store-btn svg { width: 26px; height: 26px; flex: none; }
.store-btn .store-top { display: block; font-size: 11px; opacity: .85; letter-spacing: .01em; }
.store-btn .store-bottom { display: block; font-size: 19px; font-weight: 600; letter-spacing: -.01em; }
a.store-btn:hover { transform: translateY(-2px); box-shadow: 0 10px 28px rgb(0 0 0 / .35), 0 0 40px -10px rgb(242 191 122 / .45); border-color: rgb(247 242 232 / .4); }
a.store-btn:focus-visible { outline: 3px solid var(--accent); outline-offset: 3px; }
.store-btn.is-soon { cursor: default; box-shadow: none; }
.store-btn.is-soon > svg, .store-btn.is-soon > span:last-child { opacity: .62; }
.store-btn.is-soon .soon-tag {
  position: absolute; top: -10px; right: 10px;
  padding: 2px 9px; border-radius: 999px;
  background: var(--gold); color: var(--navy);
  font-size: 10.5px; font-weight: 600; letter-spacing: .02em; white-space: nowrap;
  box-shadow: 0 0 16px rgb(242 191 122 / .45);
}

/* ---------- paper section ---------- */
.paper { position: relative; isolation: isolate; padding-block: clamp(64px, 9vw, 112px); }
.paper::after { content: ""; position: absolute; inset: 0; z-index: -1; background: var(--grain); opacity: .045; pointer-events: none; }
.section-head { max-width: 40ch; margin-bottom: clamp(32px, 5vw, 52px); }
.eyebrow { display: block; font-size: 12.5px; font-weight: 600; letter-spacing: .16em; text-transform: uppercase; color: var(--muted); margin-bottom: 14px; }
.section-head h2 { font-size: clamp(2.2rem, 4.6vw, 3.25rem); font-weight: 600; margin-bottom: .3em; }
.section-head p { color: var(--muted); }

.features { display: grid; grid-template-columns: repeat(auto-fit, minmax(230px, 1fr)); gap: 18px; }
.feature {
  padding: 26px 24px 22px; border-radius: var(--radius); background: var(--surface);
  box-shadow: var(--glow);
  transition: transform .4s var(--ease), box-shadow .4s var(--ease);
}
.feature:hover { transform: translateY(-3px); box-shadow: 0 30px 70px -28px rgb(154 98 48 / .55); }
.feature .tile { display: grid; place-items: center; width: 48px; height: 48px; border-radius: 50%; background: var(--accent-soft); color: var(--accent); margin-bottom: 18px; }
.feature .tile svg { width: 24px; height: 24px; fill: none; stroke: currentColor; stroke-width: 1.7; stroke-linecap: round; stroke-linejoin: round; }
.feature h3 { font-size: 1.5rem; font-weight: 600; margin-bottom: .3em; }
.feature p { color: var(--muted); font-size: 1.02rem; margin: 0; }

/* real screens from the app */
.screens {
  display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: clamp(16px, 3vw, 32px);
  margin-top: clamp(56px, 8vw, 96px); list-style: none; padding: 0;
}
.screens li { margin: 0; }
.screens .phone { max-width: 250px; margin-inline: auto; }
.screens li:nth-child(even) .phone { transform: translateY(28px); }
.caption { display: block; text-align: center; margin-top: 18px; font-size: 13.5px; color: var(--muted); }
.screens li:nth-child(even) .caption { margin-top: 46px; }
.caption strong { display: block; font-family: var(--font-display); font-size: 1.3rem; font-weight: 600; color: var(--text); }

/* honest by design */
.honest { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: clamp(20px, 4vw, 48px); margin-top: clamp(72px, 10vw, 120px); padding-top: clamp(32px, 5vw, 48px); border-top: 1px solid var(--line); }
.honest h3 { display: flex; align-items: center; gap: 10px; font-size: 1.35rem; font-weight: 600; margin-bottom: .35em; }
.honest h3 svg { width: 22px; height: 22px; flex: none; fill: none; stroke: var(--accent); stroke-width: 1.7; stroke-linecap: round; stroke-linejoin: round; }
.honest p { color: var(--muted); font-size: 1.02rem; margin: 0; }

/* closing band */
.closing { text-align: center; padding-block: clamp(72px, 10vw, 120px) clamp(56px, 8vw, 88px); }
.closing img { width: 96px; height: 96px; border-radius: 24px; margin: 0 auto 28px; box-shadow: 0 0 0 1px rgb(247 242 232 / .14), 0 0 60px rgb(242 191 122 / .35); }
.closing h2 { font-size: clamp(2.2rem, 5vw, 3.4rem); font-weight: 600; margin-bottom: .25em; }
.closing p { color: var(--muted); max-width: 42ch; margin-inline: auto; }
.closing .store-buttons { justify-content: center; margin-top: 30px; }

/* footer */
.site-footer { background: var(--bg); }
.site-footer.on-night { background: var(--night); color: var(--muted); }
.site-footer .notice { flex-basis: 100%; margin: 0; font-size: 13px; }

/* ---------- legal and support pages ---------- */
body.legal { background: radial-gradient(70% 480px at 50% 0%, var(--legal-glow), transparent 75%) no-repeat, var(--bg); }
body.legal .site-footer { background: transparent; }
.prose { font-size: 19px; line-height: 1.65; }
.prose h1 { font-size: clamp(2.6rem, 6vw, 3.4rem); font-weight: 600; margin-bottom: .2em; }
.prose .meta { font-family: var(--font-ui); font-size: 14.5px; }
.prose h2 { font-family: var(--font-display); font-size: 1.75rem; font-weight: 600; margin-top: 1.9em; margin-bottom: .35em; }
.prose h3 { font-family: var(--font-serif); font-size: 1.15rem; font-weight: 500; }
.prose strong { font-weight: 500; }
.prose table { font-family: var(--font-ui); font-size: 15px; line-height: 1.55; }
.prose th { font-weight: 600; }
.prose td:first-child { min-width: 15ch; }
.prose td strong { font-weight: 600; }
.prose details { background: var(--surface); border-color: var(--line); padding: 2px 20px; transition: box-shadow .3s var(--ease); }
.prose details[open] { box-shadow: var(--glow); }
.prose summary { font-family: var(--font-ui); font-size: 16px; padding: 14px 0; }
.prose details p { font-size: 18px; }
.prose summary::marker { color: var(--accent); }
.contact-card { background: var(--surface); border: 0; box-shadow: var(--glow); font-size: 18px; }
.contact-card p { margin: 0; }
.contact-card .contact-mail { display: inline-block; margin: 6px 0 4px; font-family: var(--font-display); font-size: 1.7rem; font-weight: 600; text-decoration: none; overflow-wrap: anywhere; }
.contact-card .contact-mail:hover { text-decoration: underline; }

/* small night pages (404, letter links) */
.solo { display: grid; place-items: center; text-align: center; padding: clamp(40px, 10vw, 96px) var(--gutter); }
.solo > div { max-width: 34rem; }
.solo img.mark { width: 112px; height: 112px; border-radius: 26px; margin: 0 auto 30px; box-shadow: 0 0 0 1px rgb(247 242 232 / .14), 0 0 70px rgb(242 191 122 / .35); }
.solo h1 { font-size: clamp(2.4rem, 7vw, 3.6rem); font-weight: 600; margin-bottom: .3em; }
.solo p { color: var(--muted); }
.solo .store-buttons { justify-content: center; margin: 30px 0 22px; }
.solo .home-link { font-family: var(--font-ui); font-size: 15px; color: var(--accent); text-underline-offset: 3px; }

/* ---------- responsive ---------- */
@media (max-width: 880px) {
  .hero-grid { grid-template-columns: 1fr; min-height: 0; gap: 8px; }
  .hero-copy { order: 2; }
  .hero-visual { order: 1; min-height: 0; padding: 12px 0 18px; justify-items: start; }
  .hero-visual .phone { display: none; }
  .hero-visual .halo { width: 320px; left: -110px; }
  .hero-icon { position: static; width: 104px; height: 104px; border-radius: 24px; transform: none; }
  .chip { font-size: 12.5px; padding-inline: 10px 12px; }
  .feature { display: grid; grid-template-columns: 48px minmax(0, 1fr); column-gap: 16px; padding: 22px 20px; }
  .feature .tile { grid-row: span 2; margin: 2px 0 0; }
  .screens { display: flex; overflow-x: auto; scroll-snap-type: x mandatory; gap: 18px; margin-inline: calc(var(--gutter) * -1); padding: 4px var(--gutter) 24px; scrollbar-width: none; }
  .screens::-webkit-scrollbar { display: none; }
  .screens li { flex: 0 0 62%; max-width: 250px; scroll-snap-align: center; }
  .screens li:nth-child(even) .phone { transform: none; }
  .screens li:nth-child(even) .caption { margin-top: 18px; }
  .honest { grid-template-columns: 1fr; }
}
@media (max-width: 420px) {
  .store-buttons { flex-direction: column; align-items: stretch; }
  .store-btn { width: 100%; justify-content: center; }
  .closing .store-buttons { align-items: stretch; }
}

/* ---------- motion: slow and settling ---------- */
@media (prefers-reduced-motion: no-preference) {
  .rise { animation: rise .9s var(--ease) both; }
  .rise-2 { animation-delay: .08s; }
  .rise-3 { animation-delay: .16s; }
  .rise-4 { animation-delay: .24s; }
  .hero-visual .halo { animation: breathe 5.6s var(--breath) infinite alternate; }
  .bird { animation: drift 9s var(--breath) infinite alternate; }
  .bird.b2 { animation-duration: 11s; animation-delay: -3s; }
  .bird.b3 { animation-duration: 13s; animation-delay: -6s; }
  .bird.b4 { animation-duration: 10s; animation-delay: -2s; }
  .bird.b5 { animation-duration: 12s; animation-delay: -5s; }
  .bird.b6 { animation-duration: 8s;  animation-delay: -1s; }
  .bird.b7 { animation-duration: 14s; animation-delay: -7s; }
  @keyframes rise { from { opacity: .6; transform: translateY(14px); } to { opacity: 1; transform: none; } }
  @keyframes breathe { from { transform: scale(.94); opacity: .8; } to { transform: scale(1.04); opacity: 1; } }
  @keyframes drift { from { translate: 0 0; rotate: -2deg; } to { translate: 14px -8px; rotate: 3deg; } }
}
