/* ============================================================
   Nemi Cards — coming soon
   Palette, type and motifs match the app design system exactly.
   One loud colour (postbox red). Everything else quiet paper.
   ============================================================ */

@import url("https://fonts.googleapis.com/css2?family=Hanken+Grotesk:wght@400;500;600;700&family=Caveat:wght@500;600;700&family=Space+Mono:wght@400;700&display=swap");

/* Clash Display — the display face, served from Fontshare (as in the app). */
@font-face {
  font-family: "Clash Display";
  src: url("https://cdn.fontshare.com/wf/VFMK2COV3DN37JR7JQ4CAOJPZ7KWKNY7/ODD5YJNDLHZZB2MIT3DPVH4EIHAMZ34D/BSY64LPTT3OPLVKAZKL3AHKRWZ3D74AC.woff2") format("woff2");
  font-weight: 400; font-style: normal; font-display: swap;
}
@font-face {
  font-family: "Clash Display";
  src: url("https://cdn.fontshare.com/wf/2GQIT54GKQY3JRFTSHS4ARTRNRQISSAA/3CIP5EBHRRHE5FVQU3VFROPUERNDSTDF/JTSL5QESUXATU47LCPUNHZQBDDIWDOSW.woff2") format("woff2");
  font-weight: 500; font-style: normal; font-display: swap;
}
@font-face {
  font-family: "Clash Display";
  src: url("https://cdn.fontshare.com/wf/FPDAZ2S6SW4QMSRIIKNNGTPM6VIXYMKO/5HNPQ453FRLIQWV2FNOBUU3FKTDZQVSG/Z3MGHFHX6DCTLQ55LJYRJ5MDCZPMFZU6.woff2") format("woff2");
  font-weight: 600; font-style: normal; font-display: swap;
}

:root {
  /* Base palette (from tokens/colors.css) */
  --ink:        #211B17;
  --paper:      #FBFAF6;
  --paper-sunk: #F4F1EA;
  --surface:    #FFFFFF;
  --postbox:    #D6402F;
  --postbox-ink:#B5301F;
  --postbox-soft:#FBEAE6;
  --airmail:    #2B4C7E;
  --airmail-soft:#E7ECF3;
  --stone:      #9A9087;
  --hairline:   #ECE6DC;
  --gold:       #C9923E;
  --ink-60:     rgba(33, 27, 23, 0.66);  /* muted body — nudged up slightly for web legibility */
  --ink-12:     rgba(33, 27, 23, 0.12);

  /* Type */
  --font-display: "Clash Display", "Hanken Grotesk", system-ui, sans-serif;
  --font-body:    "Hanken Grotesk", system-ui, sans-serif;
  --font-hand:    "Caveat", "Segoe Script", cursive;
  --font-mono:    "Space Mono", ui-monospace, "SF Mono", monospace;

  /* Warm, low shadows */
  --shadow-1: 0 1px 2px rgba(33,27,23,.05), 0 2px 8px rgba(33,27,23,.05);
  --shadow-2: 0 4px 14px rgba(33,27,23,.08), 0 1px 3px rgba(33,27,23,.06);
  --shadow-card: 0 18px 44px -18px rgba(33,27,23,.34), 0 4px 12px rgba(33,27,23,.08);

  --maxw: 1180px;
  --ease-out: cubic-bezier(.2, .7, .3, 1);
  --ease-thud: cubic-bezier(.2, 1.5, .35, 1); /* slight overshoot — the stamp thud */
}

/* ---------- reset ---------- */
* { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
body {
  margin: 0;
  background: var(--paper);
  color: var(--ink);
  font-family: var(--font-body);
  font-size: 17px;
  line-height: 1.55;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
  overflow-x: hidden;
}
img { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }
button { font: inherit; cursor: pointer; }
::selection { background: var(--postbox); color: #fff; }

/* ---------- shared type utilities ---------- */
.overline {
  font-family: var(--font-mono);
  font-size: 12px;
  font-weight: 700;
  letter-spacing: .18em;
  text-transform: uppercase;
  color: var(--postbox);
}
.overline--stone { color: var(--stone); }
.hand { font-family: var(--font-hand); }

.wrap { width: 100%; max-width: var(--maxw); margin: 0 auto; padding: 0 24px; }

.section { padding: 96px 0; }
.section-head { max-width: 620px; margin: 0 0 48px; }
.section-head h2 {
  font-family: var(--font-display);
  font-weight: 500;
  font-size: clamp(30px, 4.4vw, 46px);
  line-height: 1.05;
  letter-spacing: -.02em;
  margin: 14px 0 0;
}
.section-head p { color: var(--ink-60); font-size: 18px; margin: 16px 0 0; max-width: 52ch; }

/* ============================================================
   Buttons
   ============================================================ */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 10px;
  border: 0; border-radius: 999px;
  padding: 15px 26px;
  font-weight: 600; font-size: 16px; line-height: 1;
  transition: transform .16s var(--ease-out), background .16s var(--ease-out), box-shadow .16s var(--ease-out);
}
.btn:active { transform: scale(.97); }
.btn--primary { background: var(--postbox); color: #fff; box-shadow: var(--shadow-2); }
.btn--primary:hover { background: var(--postbox-ink); }
.btn--ink { background: var(--ink); color: var(--paper); }
.btn--ink:hover { background: #2f2620; }
.btn--ghost { background: transparent; color: var(--ink); box-shadow: inset 0 0 0 1.5px var(--ink-12); }
.btn--ghost:hover { box-shadow: inset 0 0 0 1.5px var(--ink); }
.btn--block { width: 100%; }

/* App Store "coming soon" tile */
.appbtn {
  display: inline-flex; align-items: center; gap: 12px;
  background: var(--ink); color: var(--paper);
  border-radius: 14px; padding: 12px 20px;
  box-shadow: var(--shadow-2);
  transition: transform .16s var(--ease-out);
  position: relative;
}
.appbtn:hover { transform: translateY(-2px); }
.appbtn svg { width: 26px; height: 26px; flex: none; }
.appbtn__lines { display: flex; flex-direction: column; line-height: 1.15; text-align: left; }
.appbtn__small { font-size: 11px; letter-spacing: .02em; opacity: .82; }
.appbtn__big { font-size: 18px; font-weight: 600; letter-spacing: -.01em; }
.appbtn__tag {
  position: absolute; top: -11px; right: -10px;
  font-family: var(--font-mono); font-size: 10px; font-weight: 700; letter-spacing: .12em;
  background: var(--postbox); color: #fff;
  padding: 4px 8px; border-radius: 999px;
  transform: rotate(4deg);
  box-shadow: var(--shadow-1);
}
/* light variant — App Store button on the red band */
.appbtn--light { background: var(--paper); color: var(--ink); }
.appbtn--light:hover { background: #fff; }
.appbtn--light .appbtn__small { opacity: .68; }
.closing__cta { display: flex; justify-content: center; margin-top: 34px; }

/* ============================================================
   Header
   ============================================================ */
.site-header {
  position: sticky; top: 0; z-index: 50;
  background: color-mix(in srgb, var(--paper) 88%, transparent);
  backdrop-filter: saturate(1.1) blur(10px);
  border-bottom: 1px solid var(--hairline);
}
.site-header .wrap { display: flex; align-items: center; justify-content: space-between; height: 68px; }
.brand { display: inline-flex; align-items: center; gap: 11px; }
.brand__mark { width: 34px; height: 34px; flex: none; }
.brand__name {
  font-family: var(--font-display); font-weight: 600; font-size: 25px;
  letter-spacing: -.02em; color: var(--ink);
}
.nav { display: flex; align-items: center; gap: 26px; }
.nav__links { display: flex; align-items: center; gap: 30px; }
.nav a { font-size: 15px; font-weight: 500; color: var(--ink-60); transition: color .16s; }
.nav a:hover { color: var(--ink); }
.nav__pill {
  font-family: var(--font-mono); font-size: 11px; font-weight: 700; letter-spacing: .12em;
  text-transform: uppercase; color: var(--postbox);
  border: 1px solid color-mix(in srgb, var(--postbox) 32%, transparent);
  background: var(--postbox-soft);
  padding: 7px 12px; border-radius: 999px;
}

/* ============================================================
   Hero
   ============================================================ */
.hero { position: relative; padding: 64px 0 88px; }
.hero__grid {
  display: grid; grid-template-columns: 1.05fr .95fr; gap: 56px; align-items: center;
}
.hero__eyebrow { display: inline-flex; align-items: center; gap: 10px; margin-bottom: 22px; }
.hero__eyebrow .dot { width: 7px; height: 7px; border-radius: 50%; background: var(--postbox); }
.hero h1 {
  font-family: var(--font-display); font-weight: 500;
  font-size: clamp(40px, 6vw, 68px); line-height: .98; letter-spacing: -.03em;
  margin: 0;
}
.hero h1 em { font-style: normal; color: var(--postbox); }
.hero__sub { font-size: clamp(18px, 2vw, 21px); color: var(--ink-60); margin: 24px 0 0; max-width: 46ch; }
.hero__cta { display: flex; align-items: center; gap: 16px; flex-wrap: wrap; margin-top: 34px; }
.hero__note {
  display: flex; align-items: center; gap: 10px; flex-wrap: wrap;
  margin-top: 22px; font-size: 14.5px; color: var(--stone);
}
.hero__note .sep { width: 4px; height: 4px; border-radius: 50%; background: var(--hairline); }
.hero__note b { color: var(--ink); font-weight: 600; }

/* --- the hero postcard object --- */
.hero__stage { position: relative; display: flex; justify-content: center; align-items: center; min-height: 460px; }
.hero__stage::before { /* soft paper glow behind the stack */
  content: ""; position: absolute; inset: 6% 4% 2%;
  background: radial-gradient(60% 55% at 50% 45%, rgba(214,64,47,.08), transparent 70%);
}

.postcard {
  position: relative; width: min(440px, 78vw);
  background: var(--surface); border-radius: 12px;
  padding: 12px 12px 14px;
  box-shadow: var(--shadow-card);
  transform: rotate(-3deg);
}
.postcard--behind { /* peeking card for depth */
  position: absolute; inset: auto; z-index: 0;
  transform: rotate(5.5deg) translate(30px, 26px) scale(.96);
  filter: saturate(.92) brightness(.99);
  box-shadow: var(--shadow-2);
}
.postcard__photo {
  position: relative; border-radius: 6px; overflow: hidden;
  aspect-ratio: 7 / 5; background: var(--paper-sunk);
}
.postcard__photo img { width: 100%; height: 100%; object-fit: cover; }
.postcard__photo::after { /* airmail dashed edge, restrained */
  content: ""; position: absolute; inset: 8px; border-radius: 3px;
  border: 1.5px dashed rgba(255,255,255,.8);
  pointer-events: none;
}
.postcard__grad { /* protection gradient so handwriting stays legible */
  position: absolute; inset: 0; pointer-events: none;
  background: linear-gradient(to top, rgba(20,15,12,.62) 0%, rgba(20,15,12,.15) 34%, transparent 58%);
}
.postcard__msg {
  position: absolute; left: 20px; bottom: 16px; right: 92px;
  font-family: var(--font-hand); color: #fff;
  font-size: 30px; line-height: 1.05; font-weight: 600;
  text-shadow: 0 1px 10px rgba(0,0,0,.35);
}
.postcard__from {
  position: absolute; left: 20px; top: 16px;
  font-family: var(--font-mono); font-size: 10.5px; font-weight: 700;
  letter-spacing: .16em; text-transform: uppercase; color: #fff;
  background: rgba(33,27,23,.42); backdrop-filter: blur(3px);
  padding: 6px 10px; border-radius: 999px;
}
.watch-chip {
  position: absolute; right: 14px; bottom: 14px;
  display: inline-flex; align-items: center; gap: 8px;
  background: rgba(33,27,23,.66); backdrop-filter: blur(4px);
  color: #fff; padding: 8px 13px 8px 10px; border-radius: 999px;
  font-size: 12.5px; font-weight: 600;
}
.watch-chip .play {
  width: 20px; height: 20px; border-radius: 50%; background: var(--postbox);
  display: grid; place-items: center; flex: none;
}
.watch-chip .play::before {
  content: ""; width: 0; height: 0; margin-left: 2px;
  border-left: 7px solid #fff; border-top: 4.5px solid transparent; border-bottom: 4.5px solid transparent;
}

/* a real postage stamp, perforated, cancelled by the postmark */
.stamp {
  --perf: 6px;
  position: relative; background: #fff; padding: 5px;
  border-radius: 3px;
  /* perforation via dotted mask on all edges */
  -webkit-mask:
    radial-gradient(circle var(--perf) at 0 50%, transparent 99%, #000) -1px 0 / 100% var(--perf) repeat-y,
    radial-gradient(circle var(--perf) at 100% 50%, transparent 99%, #000) 1px 0 / 100% var(--perf) repeat-y,
    radial-gradient(circle var(--perf) at 50% 0, transparent 99%, #000) 0 -1px / var(--perf) 100% repeat-x,
    radial-gradient(circle var(--perf) at 50% 100%, transparent 99%, #000) 0 1px / var(--perf) 100% repeat-x,
    linear-gradient(#000 0 0);
  -webkit-mask-composite: source-in, source-in, source-in, source-out;
  mask-composite: intersect;
  box-shadow: 0 2px 8px rgba(33,27,23,.18);
}
.postcard__stamp {
  position: absolute; top: -14px; right: 16px; width: 84px; z-index: 3;
  transform: rotate(4deg);
}
.stamp__inner { border-radius: 2px; overflow: hidden; aspect-ratio: 4/5; }
.stamp__inner img { width: 100%; height: 100%; object-fit: cover; }
.stamp__val {
  position: absolute; left: 8px; bottom: 8px;
  font-family: var(--font-mono); font-size: 9px; font-weight: 700; letter-spacing: .1em;
  color: #fff; text-shadow: 0 1px 3px rgba(0,0,0,.5);
}

/* the postmark cancellation stamp (reusable) */
.postmark { color: var(--postbox); display: block; }
.postmark--hero {
  position: absolute; top: 26px; right: -18px; width: 132px; z-index: 4;
  filter: drop-shadow(0 1px 1px rgba(214,64,47,.15));
}

/* ============================================================
   How it lands — 3 real steps
   ============================================================ */
.steps { display: grid; grid-template-columns: repeat(3, 1fr); gap: 22px; }
.step {
  position: relative; background: var(--surface); border: 1px solid var(--hairline);
  border-radius: 20px; padding: 30px 26px 32px;
  box-shadow: var(--shadow-1); overflow: hidden;
}
.step__no {
  font-family: var(--font-mono); font-size: 12px; font-weight: 700; letter-spacing: .1em;
  color: var(--postbox);
}
.step__icon {
  width: 46px; height: 46px; border-radius: 12px; margin: 20px 0 20px;
  display: grid; place-items: center;
  background: var(--postbox-soft); color: var(--postbox);
}
.step__icon svg { width: 24px; height: 24px; }
.step h3 { font-size: 20px; font-weight: 600; letter-spacing: -.01em; margin: 0 0 8px; }
.step p { color: var(--ink-60); font-size: 15.5px; margin: 0; }
.step__perf { /* faint perforated top edge — a postal tell */
  position: absolute; top: 0; left: 0; right: 0; height: 10px;
  background: radial-gradient(circle 5px at 5px 0, transparent 98%, var(--paper) 100%) 0 0 / 14px 10px repeat-x;
  opacity: 0; /* kept subtle/off; hairline border carries structure */
}

/* ============================================================
   The reveal
   ============================================================ */
.reveal { background: var(--paper-sunk); }
.reveal__grid { display: grid; grid-template-columns: 1fr 1fr; gap: 60px; align-items: center; }
.reveal__copy h2 {
  font-family: var(--font-display); font-weight: 500;
  font-size: clamp(32px, 4.6vw, 52px); line-height: 1; letter-spacing: -.025em; margin: 14px 0 0;
}
.reveal__copy p { color: var(--ink-60); font-size: 18px; margin: 20px 0 0; max-width: 44ch; }
.reveal__list { list-style: none; margin: 30px 0 0; padding: 0; display: grid; gap: 14px; }
.reveal__list li { display: flex; gap: 12px; align-items: flex-start; font-size: 16px; }
.reveal__list .tick {
  flex: none; width: 22px; height: 22px; border-radius: 50%; margin-top: 1px;
  background: var(--postbox); color: #fff; display: grid; place-items: center;
}
.reveal__list .tick svg { width: 13px; height: 13px; }

/* phone showing the watch page */
.phone-stage { display: flex; justify-content: center; position: relative; }
.phone {
  position: relative; width: min(300px, 74vw); aspect-ratio: 9 / 18.6;
  background: #14100d; border-radius: 42px; padding: 11px;
  box-shadow: var(--shadow-card), inset 0 0 0 2px rgba(255,255,255,.06);
  transform: rotate(2.5deg);
}
.phone__screen { position: relative; width: 100%; height: 100%; border-radius: 32px; overflow: hidden; background: #000; }
.phone__screen img { width: 100%; height: 100%; object-fit: cover; }
.phone__notch {
  position: absolute; top: 10px; left: 50%; transform: translateX(-50%);
  width: 96px; height: 26px; background: #14100d; border-radius: 999px; z-index: 4;
}
.phone__url {
  position: absolute; top: 46px; left: 50%; transform: translateX(-50%);
  font-family: var(--font-mono); font-size: 10.5px; letter-spacing: .04em;
  color: #fff; background: rgba(20,16,13,.5); backdrop-filter: blur(4px);
  padding: 6px 12px; border-radius: 999px; z-index: 4; white-space: nowrap;
}
.phone__grad { position: absolute; inset: 0; background: linear-gradient(to top, rgba(10,8,6,.72), transparent 46%); }
.phone__play {
  position: absolute; top: 46%; left: 50%; transform: translate(-50%,-50%);
  width: 66px; height: 66px; border-radius: 50%;
  background: rgba(255,255,255,.16); backdrop-filter: blur(4px);
  border: 1.5px solid rgba(255,255,255,.6);
  display: grid; place-items: center;
}
.phone__play::before {
  content: ""; width: 0; height: 0; margin-left: 4px;
  border-left: 18px solid #fff; border-top: 11px solid transparent; border-bottom: 11px solid transparent;
}
.phone__cap { position: absolute; left: 20px; right: 20px; bottom: 24px; z-index: 4; color: #fff; }
.phone__cap .postcardd { font-family: var(--font-hand); font-size: 27px; font-weight: 600; line-height: 1; }
.phone__cap .meta {
  font-family: var(--font-mono); font-size: 11px; letter-spacing: .08em; text-transform: uppercase;
  margin-top: 8px; opacity: .9;
}
.phone__dur {
  position: absolute; right: 18px; bottom: 96px; z-index: 5;
  font-family: var(--font-mono); font-size: 11px; font-weight: 700; color: #fff;
  background: rgba(20,16,13,.66); padding: 4px 9px; border-radius: 999px;
}

/* ============================================================
   Places — postage stamp gallery
   ============================================================ */
.places__head { display: flex; justify-content: space-between; align-items: flex-end; gap: 24px; flex-wrap: wrap; margin-bottom: 40px; }
.gallery {
  display: grid; grid-template-columns: repeat(4, 1fr); gap: 26px 22px;
}
.gstamp {
  --perf: 7px;
  position: relative; background: #fff; padding: 8px 8px 30px;
  box-shadow: 0 4px 16px rgba(33,27,23,.14);
  transition: transform .2s var(--ease-out), box-shadow .2s var(--ease-out);
  -webkit-mask:
    radial-gradient(circle var(--perf) at 0 50%, transparent 99%, #000) -1px 0 / 100% var(--perf) repeat-y,
    radial-gradient(circle var(--perf) at 100% 50%, transparent 99%, #000) 1px 0 / 100% var(--perf) repeat-y,
    radial-gradient(circle var(--perf) at 50% 0, transparent 99%, #000) 0 -1px / var(--perf) 100% repeat-x,
    radial-gradient(circle var(--perf) at 50% 100%, transparent 99%, #000) 0 1px / var(--perf) 100% repeat-x,
    linear-gradient(#000 0 0);
  mask-composite: intersect;
}
.gstamp:nth-child(odd)  { transform: rotate(-1.4deg); }
.gstamp:nth-child(even) { transform: rotate(1.2deg); }
.gstamp:hover { transform: rotate(0) translateY(-6px); box-shadow: 0 14px 30px rgba(33,27,23,.2); }
.gstamp__img { aspect-ratio: 4/5; border-radius: 2px; overflow: hidden; background: var(--paper-sunk); }
.gstamp__img img { width: 100%; height: 100%; object-fit: cover; }
.gstamp__img--empty {
  display: grid; place-items: center;
  background: var(--postbox-soft);
  box-shadow: inset 0 0 0 1.5px color-mix(in srgb, var(--postbox) 26%, transparent);
}
.gstamp--empty { box-shadow: 0 4px 16px rgba(33,27,23,.08); }
.gstamp__plus { font-family: var(--font-display); font-weight: 500; font-size: 44px; line-height: 1; color: var(--postbox); }
.gstamp--empty .gstamp__label { color: var(--postbox); }
.gstamp__label {
  position: absolute; left: 0; right: 0; bottom: 9px; text-align: center;
  font-family: var(--font-mono); font-size: 11px; font-weight: 700; letter-spacing: .1em;
  text-transform: uppercase; color: var(--ink);
}
.gstamp__val {
  position: absolute; top: 12px; right: 12px;
  font-family: var(--font-mono); font-size: 9px; font-weight: 700; letter-spacing: .06em;
  color: #fff; background: rgba(33,27,23,.4); padding: 3px 6px; border-radius: 4px;
}

/* ============================================================
   Closing band
   ============================================================ */
.closing { background: var(--postbox); color: #fff; position: relative; overflow: hidden; }
.closing::before { /* faint postal-ring texture, very subtle */
  content: ""; position: absolute; inset: 0;
  background:
    radial-gradient(circle at 88% 18%, rgba(255,255,255,.10), transparent 30%),
    radial-gradient(circle at 8% 92%, rgba(0,0,0,.12), transparent 34%);
  pointer-events: none;
}
.closing .wrap { position: relative; text-align: center; }
.closing .overline { color: rgba(255,255,255,.85); }
.closing h2 {
  font-family: var(--font-display); font-weight: 500;
  font-size: clamp(34px, 5.5vw, 62px); line-height: .98; letter-spacing: -.03em;
  margin: 16px auto 0; max-width: 16ch;
}
.closing p { color: rgba(255,255,255,.9); font-size: 19px; margin: 18px auto 0; max-width: 44ch; }
.closing__form { margin: 34px auto 0; }
.closing__note { margin-top: 16px; font-size: 14px; color: rgba(255,255,255,.82); }
.closing__stamp { width: 148px; margin: 44px auto 4px; color: #fff; opacity: .96; }

/* notify form */
.notify { display: flex; gap: 10px; width: min(460px, 100%); margin-inline: auto; }
.notify input {
  flex: 1; min-width: 0; font: inherit; font-size: 16px;
  border: 0; border-radius: 999px; padding: 15px 20px;
  background: #fff; color: var(--ink);
  box-shadow: inset 0 0 0 1.5px transparent;
}
.notify input::placeholder { color: var(--stone); }
.notify input:focus { outline: none; box-shadow: inset 0 0 0 2px var(--airmail), 0 0 0 4px var(--airmail-soft); }
.closing .notify input:focus { box-shadow: inset 0 0 0 2px #fff, 0 0 0 4px rgba(255,255,255,.35); }
.notify .btn { flex: none; }
.closing .notify .btn--primary { background: var(--ink); color: #fff; }
.closing .notify .btn--primary:hover { background: #2f2620; }
.notify--ok input { text-align: center; font-weight: 600; }

.form-msg { font-size: 14.5px; margin-top: 12px; min-height: 1em; }
.hero .form-msg { color: var(--postbox); font-weight: 600; }

/* ============================================================
   Footer
   ============================================================ */
.site-footer { border-top: 1px solid var(--hairline); padding: 56px 0 40px; }
.footer__grid { display: grid; grid-template-columns: 1.7fr 1fr 1fr 1fr; gap: 32px; align-items: start; }
.footer__brand .brand { margin-bottom: 14px; }
.footer__tag { color: var(--ink-60); font-size: 15px; max-width: 34ch; }
.footer__col h4 {
  font-family: var(--font-mono); font-size: 11px; font-weight: 700; letter-spacing: .12em;
  text-transform: uppercase; color: var(--stone); margin: 0 0 14px;
}
.footer__col a, .footer__col span { display: block; font-size: 15px; color: var(--ink-60); margin-bottom: 10px; }
.footer__col a:hover { color: var(--ink); }
.footer__legal {
  margin-top: 44px; padding-top: 22px; border-top: 1px solid var(--hairline);
  display: flex; justify-content: space-between; gap: 16px; flex-wrap: wrap;
  font-family: var(--font-mono); font-size: 11.5px; letter-spacing: .04em; color: var(--stone);
  text-transform: uppercase;
}

/* ============================================================
   Legal / policy pages
   ============================================================ */
.legal-hero { padding: 66px 0 40px; border-bottom: 1px solid var(--hairline); }
.legal-back {
  display: flex; width: fit-content; align-items: center; gap: 8px; margin-bottom: 22px;
  font-family: var(--font-mono); font-size: 12px; font-weight: 700;
  letter-spacing: .08em; text-transform: uppercase; color: var(--stone);
  transition: color .16s;
}
.legal-back:hover { color: var(--postbox); }
.legal-hero h1 {
  font-family: var(--font-display); font-weight: 500;
  font-size: clamp(34px, 5vw, 54px); line-height: 1.02; letter-spacing: -.025em; margin: 14px 0 0;
}
.legal-hero__meta {
  font-family: var(--font-mono); font-size: 12px; letter-spacing: .06em;
  text-transform: uppercase; color: var(--stone); margin: 18px 0 0;
}

.legal-body { padding: 52px 0 92px; }
.legal-doc { max-width: 720px; margin: 0 auto; }
.legal-doc .lead { font-size: 19px; line-height: 1.55; color: var(--ink-60); margin: 0; }
.legal-doc h2 {
  display: flex; gap: 12px; align-items: baseline;
  font-family: var(--font-body); font-weight: 600; font-size: 21px; letter-spacing: -.01em;
  margin: 40px 0 12px; padding-top: 24px; border-top: 1px solid var(--hairline);
}
.legal-doc h2 .no {
  flex: none; font-family: var(--font-mono); font-size: 12px; font-weight: 700;
  letter-spacing: .1em; color: var(--postbox); transform: translateY(-1px);
}
.legal-doc p { margin: 0 0 14px; font-size: 16.5px; line-height: 1.65; color: var(--ink); }
.legal-doc ul { margin: 0 0 16px; padding-left: 20px; }
.legal-doc li { margin: 0 0 8px; font-size: 16.5px; line-height: 1.6; color: var(--ink); }
.legal-doc li::marker { color: var(--postbox); }
.legal-doc a { color: var(--postbox); text-decoration: underline; text-underline-offset: 2px; }
.legal-doc strong { font-weight: 600; }
.legal-doc .legal-end {
  margin-top: 36px; padding-top: 22px; border-top: 1px solid var(--hairline);
  font-size: 15px; color: var(--ink-60);
}

/* ============================================================
   Reveal-on-scroll (progressive; content visible without JS)
   ============================================================ */
[data-reveal] { opacity: 1; }
.js [data-reveal] { opacity: 0; transform: translateY(22px); transition: opacity .6s var(--ease-out), transform .6s var(--ease-out); }
.js [data-reveal].is-in { opacity: 1; transform: none; }
[data-reveal-delay="1"] { transition-delay: .08s; }
[data-reveal-delay="2"] { transition-delay: .16s; }
[data-reveal-delay="3"] { transition-delay: .24s; }

/* hero load choreography */
.js .hero__stage .postcard { opacity: 0; }
.hero-in .postcard { animation: cardIn .7s var(--ease-out) both; }
.hero-in .postcard--behind { animation-delay: .05s; }
.hero-in .postmark--hero { animation: stampIn .5s var(--ease-thud) .5s both; }
@keyframes cardIn {
  from { opacity: 0; transform: rotate(-3deg) translateY(26px) scale(.97); }
  to   { opacity: 1; }
}
@keyframes stampIn {
  0%   { opacity: 0; transform: rotate(-16deg) scale(1.5); }
  100% { opacity: 1; }
}
.postmark--hero { transform-origin: 60% 40%; }

/* ============================================================
   Responsive
   ============================================================ */
@media (max-width: 940px) {
  .section { padding: 76px 0; }
  .hero { padding: 40px 0 64px; }
  .hero__grid { grid-template-columns: 1fr; gap: 48px; }
  .hero__stage { order: 2; min-height: 420px; margin-top: 8px; }
  .reveal__grid { grid-template-columns: 1fr; gap: 44px; }
  .reveal__copy { order: 1; }
  .phone-stage { order: 2; }
  .gallery { grid-template-columns: repeat(3, 1fr); }
  .footer__grid { grid-template-columns: 1fr 1fr; }
  .footer__brand { grid-column: 1 / -1; }
}
@media (max-width: 680px) {
  body { font-size: 16px; }
  .nav__links { display: none; }
  .steps { grid-template-columns: 1fr; }
  .gallery { grid-template-columns: repeat(2, 1fr); }
  .hero__cta { gap: 14px; }
  .notify { flex-direction: column; }
  .notify .btn { width: 100%; }
  .footer__legal { flex-direction: column; }
}
@media (max-width: 420px) {
  .gallery { grid-template-columns: repeat(2, 1fr); gap: 18px 14px; }
  .postcard__msg { font-size: 26px; right: 78px; }
}

/* ============================================================
   Accessibility
   ============================================================ */
:focus-visible { outline: 3px solid var(--airmail); outline-offset: 3px; border-radius: 4px; }
.closing :focus-visible { outline-color: #fff; }

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation: none !important; transition: none !important; }
  .js [data-reveal] { opacity: 1 !important; transform: none !important; }
  .js .hero__stage .postcard { opacity: 1 !important; }
}
