/* ===========================================================================
   CARNET — landing v2
   Dark navy + cream + gold + a hint of plum. Familjen Grotesk only.
   Fashion-magazine minimalism. No grain.
   =========================================================================== */

@import url('https://fonts.googleapis.com/css2?family=Familjen+Grotesk:ital,wght@0,400..700;1,400..700&display=swap');

:root {
  color-scheme: dark;

  /* palette — Carnet canonical, hex (see docs/DESIGN_SYSTEM.md §2) */
  --ink:       #0E1A2A;     /* marketing canvas — banner, social, hero */
  --ink-2:     #1F2126;     /* surface / card */
  --ink-3:     #2A3138;     /* slightly raised */
  --cream:     #E8DDC8;     /* primary text on dark */
  --whisper:   #ABAAA7;     /* muted text */
  --line:      rgba(232, 221, 200, 0.10);
  --line-soft: rgba(232, 221, 200, 0.05);
  --gold:      #D4A547;     /* warm gold — brand accent */
  --gold-2:    #B88A2D;     /* deeper gold for hover */
  --gold-dim:  #9B8E6F;     /* italic tagline color on dark */
  --plum:      #9B5FA8;     /* rare accent — privacy section only */

  /* legacy aliases for privacy.html/support.html */
  --canvas: var(--ink);
  --navy: var(--ink);
  --paper: var(--cream);
  --paper-soft: var(--whisper);
  --muted: var(--whisper);
  --bone: var(--ink);
  --faint: var(--line);
  --accent: var(--gold);
  --shadow: rgba(0, 0, 0, 0.4);

  /* typography */
  --sans:  'Familjen Grotesk', system-ui, -apple-system, sans-serif;
  --serif: Georgia, 'Iowan Old Style', 'Times New Roman', serif;

  /* spacing — 4pt scale, semantic */
  --space-2xs: clamp(0.25rem, 0.2vw + 0.2rem, 0.4rem);
  --space-xs:  clamp(0.5rem, 0.35vw + 0.4rem, 0.75rem);
  --space-sm:  clamp(0.75rem, 0.5vw + 0.6rem, 1rem);
  --space-md:  clamp(1rem, 0.8vw + 0.75rem, 1.5rem);
  --space-lg:  clamp(1.5rem, 1.6vw + 1rem, 2.5rem);
  --space-xl:  clamp(2rem, 3vw + 1.5rem, 4rem);
  --space-2xl: clamp(3rem, 5vw + 2rem, 6.5rem);
  --space-3xl: clamp(4rem, 7vw + 3rem, 9rem);

  --radius-soft: 4px;
  --radius-photo: 18px;

  --eased: cubic-bezier(0.2, 0.7, 0.2, 1);
}

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

html { scroll-behavior: smooth; }

body {
  background: var(--ink);
  color: var(--cream);
  font-family: var(--sans);
  font-weight: 400;
  font-size: clamp(15px, 0.4vw + 14px, 17px);
  line-height: 1.5;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
  position: relative;
  overflow-x: hidden;
}

a { color: inherit; text-decoration: none; }
a:focus-visible { outline: 1.5px solid var(--gold); outline-offset: 4px; }
img { display: block; max-width: 100%; height: auto; }

/* ============== eyebrow / labels ============== */
.eyebrow {
  font-family: var(--sans);
  font-size: clamp(11px, 0.18vw + 10px, 12px);
  font-weight: 500;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--gold);
  display: inline-flex;
  align-items: center;
  gap: var(--space-sm);
}

.eyebrow::before {
  content: '';
  width: 5px; height: 5px;
  background: var(--gold);
  border-radius: 50%;
  display: inline-block;
  flex-shrink: 0;
}

/* ============== TOP NAV ============== */
.site-nav {
  position: sticky;
  top: 0;
  z-index: 50;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: var(--space-lg);
  padding: 14px clamp(20px, 4vw, 56px);
  background: color-mix(in oklch, var(--ink) 92%, transparent);
  background: rgba(14, 26, 42, 0.92);
  backdrop-filter: saturate(140%) blur(8px);
  -webkit-backdrop-filter: saturate(140%) blur(8px);
  border-bottom: 1px solid var(--line);
}

.site-nav .nav-brand {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-family: var(--serif);
  font-size: 18px;
  font-weight: 400;
  letter-spacing: -0.01em;
  color: var(--cream);
}

.site-nav .nav-brand img {
  width: 28px;
  height: 28px;
  display: block;
  border-radius: 6px;
}

.site-nav .nav-links {
  display: inline-flex;
  align-items: center;
  gap: clamp(var(--space-md), 2vw, var(--space-lg));
}

.site-nav .nav-links a {
  font-family: var(--sans);
  font-size: 11px;
  font-weight: 500;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--whisper);
  transition: color 200ms var(--eased);
}

.site-nav .nav-links a:hover { color: var(--cream); }

/* Subtle emphasis for the current-page link */
.site-nav .nav-links a[aria-current="page"] {
  color: var(--cream);
}

#how-it-works, #privacy { scroll-margin-top: 96px; }

/* ============== MASTHEAD (mark + wordmark) ============== */
.masthead {
  display: inline-flex;
  align-items: center;
  gap: clamp(16px, 1.2vw + 12px, 22px);
  margin-bottom: clamp(var(--space-md), 1.6vw, var(--space-lg));
}

.masthead .mark {
  width: clamp(56px, 4.5vw, 72px);
  height: auto;
  flex-shrink: 0;
  display: block;
}

.masthead .wordmark {
  font-family: var(--serif);
  font-weight: 400;
  font-style: normal;
  font-size: clamp(2rem, 1.8vw + 1.4rem, 2.8rem);
  letter-spacing: -0.02em;
  color: var(--cream);
  line-height: 1;
}

/* ============== HERO ============== */
.poster-hero {
  display: grid;
  grid-template-columns: minmax(0, 1.05fr) minmax(0, 0.9fr);
  gap: clamp(var(--space-xl), 5vw, 5rem);
  align-items: center;
  padding: clamp(72px, 11vw, 160px) clamp(56px, 8vw, 112px) clamp(72px, 11vw, 160px);
  max-width: 1480px;
  margin: 0 auto;
}

.hero-copy {
  display: grid;
  align-content: center;
  gap: var(--space-lg);
  max-width: 100%;
}

.hero-headline {
  font-family: var(--sans);
  font-weight: 700;
  font-size: clamp(2.2rem, 5.4vw, 5rem);
  line-height: 1;
  letter-spacing: -0.03em;
  color: var(--cream);
  text-transform: lowercase;
  max-width: 12ch;
}

.hero-headline em {
  font-style: italic;
  font-weight: 500;
  color: var(--gold);
  letter-spacing: -0.02em;
  padding-right: 0.04em;
}

.hero-lede {
  font-family: var(--sans);
  font-weight: 400;
  font-size: clamp(1rem, 0.4vw + 0.95rem, 1.15rem);
  line-height: 1.55;
  max-width: 36ch;
  color: var(--whisper);
}

.hero-lede strong {
  font-weight: 500;
  color: var(--cream);
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: var(--space-sm);
  align-items: center;
  margin-top: var(--space-sm);
}

.cta {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  padding: 14px 22px;
  font-family: var(--sans);
  font-weight: 500;
  font-size: clamp(13px, 0.1vw + 12px, 14px);
  letter-spacing: 0.04em;
  background: var(--gold);
  color: var(--ink);
  border: 1px solid var(--gold);
  border-radius: 999px;
  transition: background 220ms var(--eased), color 220ms var(--eased), transform 220ms var(--eased), border-color 220ms var(--eased);
}

.cta:hover {
  transform: translateY(-1px);
  background: var(--cream);
  border-color: var(--cream);
}

.cta--ghost {
  background: transparent;
  color: var(--cream);
  border-color: var(--line);
}

.cta--ghost:hover {
  background: transparent;
  color: var(--gold);
  border-color: var(--gold);
}

.cta .arrow {
  display: inline-block;
  transition: transform 240ms var(--eased);
}

.cta:hover .arrow { transform: translateX(4px); }

/* ============== HERO PHONE (3D-feeling composite) ============== */
.hero-phone-stage {
  position: relative;
  display: flex;
  justify-content: center;
  align-items: center;
  perspective: 1400px;
  isolation: isolate;
}

/* soft gold halo behind the phone */
.hero-phone-stage::before {
  content: '';
  position: absolute;
  inset: 8% 8% 4%;
  /* Fallback for browsers without color-mix() support. */
  background:
    radial-gradient(ellipse at 50% 35%, rgba(212, 165, 71, 0.22), transparent 62%),
    radial-gradient(ellipse at 50% 80%, rgba(155, 95, 168, 0.14), transparent 60%);
  background:
    radial-gradient(ellipse at 50% 35%, color-mix(in oklch, var(--gold) 22%, transparent), transparent 62%),
    radial-gradient(ellipse at 50% 80%, color-mix(in oklch, var(--plum) 14%, transparent), transparent 60%);
  filter: blur(36px);
  z-index: 0;
  pointer-events: none;
}

/* 3D phone canvas — Three.js renders the real iPhone GLB */
.hero-phone {
  position: relative;
  width: 100%;
  max-width: 300px;
  aspect-ratio: 450 / 920;
  cursor: grab;
  touch-action: none;
  user-select: none;
  -webkit-user-select: none;
  z-index: 1;
  filter:
    drop-shadow(0 30px 60px oklch(0 0 0 / 0.55))
    drop-shadow(0 8px 24px oklch(0.30 0.05 250 / 0.4));
}

.hero-phone.is-dragging { cursor: grabbing; }

.hero-phone canvas {
  display: block;
  width: 100%;
  height: 100%;
}

/* 2D fallback (also the initial poster before 3D loads) */
.phone-2d {
  position: absolute;
  inset: 0;
  transition: opacity 600ms cubic-bezier(0.2, 0.7, 0.2, 1);
}

.hero-phone.is-3d-ready .phone-2d { opacity: 0; pointer-events: none; }

.phone-2d-screen {
  position: absolute;
  top: 2.4%;
  bottom: 2.4%;
  left: 4.8%;
  right: 4.8%;
  border-radius: 8%;
  overflow: hidden;
  background: var(--ink-2);
  z-index: 1;
}

.phone-2d-screen img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.phone-2d-frame {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  z-index: 2;
  pointer-events: none;
  filter: grayscale(0.92) brightness(0.92) contrast(1.05) sepia(0.04);
}

/* tiny plate caption beneath phone */
.hero-phone-stage .plate {
  position: absolute;
  bottom: -6px;
  left: 50%;
  transform: translateX(-50%);
  font-family: var(--sans);
  font-size: 10px;
  letter-spacing: 0.28em;
  text-transform: uppercase;
  color: var(--whisper);
  z-index: 3;
  white-space: nowrap;
}

.hero-phone-stage .plate::before {
  content: '';
  display: inline-block;
  width: 16px; height: 1px;
  background: var(--gold);
  vertical-align: middle;
  margin-right: 10px;
}

/* ============== TRUST STRIP (scannable promise) ============== */
.trust-strip {
  max-width: 1480px;
  margin: 0 auto;
  padding: var(--space-lg) clamp(48px, 7vw, 96px);
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: clamp(var(--space-md), 3vw, 2.5rem);
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
  font-family: var(--sans);
  font-size: 11px;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--whisper);
  text-align: center;
}

.trust-strip span {
  position: relative;
  white-space: nowrap;
}

.trust-strip span:not(:last-child)::after {
  content: '·';
  color: var(--gold);
  margin-left: clamp(var(--space-md), 3vw, 2.5rem);
  opacity: 0.7;
  position: absolute;
  right: calc(-1 * clamp(var(--space-md), 3vw, 2.5rem) - 4px);
  top: 50%;
  transform: translateY(-55%);
}

/* ============== HOW IT WORKS — Q&A ============== */
.product-walkthrough {
  padding: clamp(64px, 9vw, 140px) clamp(48px, 7vw, 96px);
  max-width: 1480px;
  margin: 0 auto;
}

.product-walkthrough .section-head {
  margin-bottom: clamp(48px, 7vw, 96px);
  max-width: 22ch;
}

/* center variant — overrides the base section-head max-width */
.product-walkthrough .section-head.section-head--center {
  display: flex;
  justify-content: center;
  align-items: center;
  text-align: center;
  width: 100%;
  max-width: none;
  margin: 0 0 clamp(48px, 7vw, 96px);
}

.section-head--center > * { margin: 0; }

/* Single-line stylised gold title — italic with hairline rules */
.section-head h2.how-title {
  font-family: var(--sans);
  font-weight: 400;
  font-style: italic;
  font-size: clamp(1.6rem, 3vw, 2.6rem);
  line-height: 1;
  letter-spacing: -0.005em;
  color: var(--gold);
  text-transform: lowercase;
  white-space: nowrap;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: clamp(14px, 1.6vw, 22px);
}

.section-head h2.how-title::before,
.section-head h2.how-title::after {
  content: '';
  flex: 0 0 clamp(40px, 7vw, 96px);
  height: 1px;
  background: var(--gold);
  opacity: 0.55;
}

.section-head .meta {
  display: block;
  font-family: var(--sans);
  font-weight: 500;
  font-size: 11px;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--gold);
  margin-bottom: var(--space-md);
}

.section-head .meta::before {
  content: '';
  display: inline-block;
  width: 16px; height: 1px;
  background: var(--gold);
  vertical-align: middle;
  margin-right: 10px;
}

.section-head h2 {
  font-family: var(--sans);
  font-weight: 600;
  font-size: clamp(2.4rem, 5vw, 5rem);
  line-height: 1;
  letter-spacing: -0.03em;
  color: var(--cream);
  text-transform: lowercase;
}

.section-head h2 em {
  font-style: italic;
  font-weight: 500;
  color: var(--gold);
  letter-spacing: -0.02em;
}

.qa-grid {
  display: grid;
  gap: 0;
  max-width: 1040px;
  margin: 0 auto;
}

.qa-row {
  display: grid;
  grid-template-columns: minmax(0, 0.55fr) minmax(0, 1fr);
  gap: clamp(var(--space-md), 3vw, 3rem);
  padding: clamp(var(--space-lg), 2.4vw, 2.2rem) 0;
  align-items: baseline;
  border-bottom: 1px solid var(--line-soft);
}

.qa-row:first-child { border-top: 1px solid var(--line-soft); }

.qa-row .q {
  font-family: var(--sans);
  font-style: italic;
  font-weight: 400;
  font-size: clamp(1.15rem, 1vw + 1rem, 1.65rem);
  line-height: 1.15;
  letter-spacing: -0.01em;
  color: var(--whisper);
}

.qa-row .a {
  font-family: var(--sans);
  font-weight: 600;
  font-size: clamp(1.15rem, 1vw + 1rem, 1.65rem);
  line-height: 1.15;
  letter-spacing: -0.015em;
  color: var(--cream);
  text-transform: lowercase;
}

.qa-row .a em {
  font-style: italic;
  font-weight: 500;
  color: var(--gold);
  letter-spacing: -0.01em;
}

/* ============== INSIDE CARNET (single phone + 3 text rows) ============== */
.inside-carnet {
  padding: clamp(64px, 9vw, 140px) clamp(48px, 7vw, 96px);
  max-width: 1480px;
  margin: 0 auto;
  display: grid;
  /* Snug — phone column is exactly the phone's max-width; copy fills the rest. */
  grid-template-columns: 360px minmax(0, 1fr);
  gap: clamp(var(--space-xl), 5vw, 5rem);
  align-items: center;
  border-top: 1px solid var(--line);
}

.inside-phone {
  position: relative;
  width: 100%;
  max-width: 360px;
  aspect-ratio: 450 / 920;
  display: block;
  justify-self: center;
  filter:
    drop-shadow(0 24px 48px rgba(0, 0, 0, 0.45))
    drop-shadow(0 6px 18px rgba(14, 26, 42, 0.35));
}

.inside-phone-screen {
  position: absolute;
  top: 2.4%;
  bottom: 2.4%;
  left: 4.8%;
  right: 4.8%;
  border-radius: 8%;
  overflow: hidden;
  background: var(--ink-2);
  z-index: 1;
}

.inside-phone-screen img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.inside-phone-frame {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  z-index: 2;
  pointer-events: none;
  filter: grayscale(0.92) brightness(0.92) contrast(1.05) sepia(0.04);
}

.inside-copy {
  display: grid;
  gap: var(--space-md);
  max-width: 44ch;
}

.inside-copy h2 {
  font-family: var(--sans);
  font-weight: 600;
  font-size: clamp(2rem, 3.4vw, 3rem);
  line-height: 1.05;
  letter-spacing: -0.025em;
  color: var(--cream);
  text-transform: lowercase;
}

.inside-copy h2 em {
  font-style: italic;
  font-weight: 500;
  color: var(--gold);
  letter-spacing: -0.02em;
}

.inside-row {
  display: grid;
  gap: var(--space-2xs);
  border-top: 1px solid var(--line-soft);
  padding-top: var(--space-md);
}

.inside-row h3 {
  font-family: var(--sans);
  font-weight: 600;
  font-size: clamp(1.05rem, 0.3vw + 1rem, 1.25rem);
  letter-spacing: -0.01em;
  color: var(--cream);
}

.inside-row p {
  font-family: var(--sans);
  font-size: clamp(0.95rem, 0.3vw + 0.9rem, 1.1rem);
  line-height: 1.55;
  color: var(--whisper);
}

/* ============== CHART MOMENT (smaller, quieter — now sits after Reflection) ============== */
.chart-moment {
  padding: clamp(56px, 8vw, 110px) clamp(48px, 7vw, 96px);
  max-width: 1480px;
  margin: 0 auto;
  display: grid;
  gap: clamp(var(--space-lg), 3vw, 3rem);
  justify-items: center;
  text-align: center;
  border-top: 1px solid var(--line);
}

.chart-moment-copy {
  display: grid;
  gap: var(--space-md);
  max-width: 44ch;
}

.chart-moment-copy h2 {
  font-family: var(--sans);
  font-weight: 600;
  font-size: clamp(2rem, 4vw, 3.4rem);
  line-height: 1;
  letter-spacing: -0.025em;
  color: var(--cream);
  text-transform: lowercase;
}

.chart-moment-copy h2 em {
  font-style: italic;
  font-weight: 500;
  color: var(--gold);
  letter-spacing: -0.02em;
}

.chart-moment-caveat {
  font-family: var(--sans);
  font-size: 12px;
  line-height: 1.5;
  color: var(--whisper);
  max-width: 32ch;
  margin: 0 auto;
}


.chart-moment-frame {
  position: relative;
  width: 100%;
  max-width: 340px;        /* was 460 — smaller now */
  aspect-ratio: 450 / 920;
  filter:
    drop-shadow(0 24px 48px rgba(0, 0, 0, 0.45))
    drop-shadow(0 6px 18px rgba(14, 26, 42, 0.35));
}

.chart-moment-screen {
  position: absolute;
  top: 2.4%;
  bottom: 2.4%;
  left: 4.8%;
  right: 4.8%;
  border-radius: 8%;
  overflow: hidden;
  background: var(--ink-2);
  z-index: 1;
}

.chart-moment-screen img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.chart-moment-iphone-frame {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  z-index: 2;
  pointer-events: none;
  filter: grayscale(0.92) brightness(0.92) contrast(1.05) sepia(0.04);
}

/* ============== TRANSFORMATION MOMENT (entries → brief) ============== */
.transform-moment {
  padding: clamp(64px, 9vw, 140px) clamp(48px, 7vw, 96px);
  max-width: 980px;
  margin: 0 auto;
  display: grid;
  gap: clamp(var(--space-lg), 3vw, var(--space-xl));
  border-top: 1px solid var(--line);
}

.transform-head {
  text-align: center;
  display: grid;
  gap: var(--space-md);
  justify-items: center;
}

.transform-head h2 {
  font-family: var(--sans);
  font-weight: 600;
  font-size: clamp(1.8rem, 3.5vw, 3rem);
  line-height: 1.05;
  letter-spacing: -0.025em;
  color: var(--cream);
  text-transform: lowercase;
}

.transform-head h2 em {
  font-style: italic;
  font-weight: 500;
  color: var(--gold);
}

.transform-entries {
  display: grid;
  gap: var(--space-md);
  margin-top: var(--space-lg);
}

.transform-entry {
  background: var(--ink-2);
  border-radius: 14px;
  padding: clamp(var(--space-md), 2vw, var(--space-lg));
  display: grid;
  gap: var(--space-xs);
  box-shadow: 0 8px 32px rgba(0, 0, 0, 0.18);
}

.transform-entry-date {
  font-family: var(--sans);
  font-size: 12px;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--whisper);
}

.transform-entry p {
  font-family: var(--serif);
  font-size: clamp(1rem, 0.6vw + 0.9rem, 1.2rem);
  line-height: 1.55;
  color: var(--cream);
}

.transform-arrow {
  text-align: center;
  font-family: var(--serif);
  font-size: 28px;
  color: var(--gold);
  line-height: 1;
  margin: var(--space-sm) 0;
  opacity: 0.7;
}

.transform-brief {
  background: var(--ink-2);
  border-radius: 16px;
  padding: clamp(var(--space-lg), 3vw, var(--space-xl));
  display: grid;
  gap: var(--space-md);
  box-shadow: 0 24px 48px rgba(0, 0, 0, 0.35),
              0 6px 16px rgba(14, 26, 42, 0.45);
  border-top: 1px solid rgba(212, 165, 71, 0.25);
}

.transform-brief-head {
  display: grid;
  gap: var(--space-xs);
}

.transform-brief-head h3 {
  font-family: var(--sans);
  font-weight: 600;
  font-size: clamp(1.4rem, 2.4vw, 2rem);
  line-height: 1;
  color: var(--cream);
  text-transform: lowercase;
  letter-spacing: -0.02em;
}

.transform-brief-head h3 em {
  font-style: italic;
  font-weight: 500;
  color: var(--gold);
}

.transform-brief-body {
  display: grid;
  gap: var(--space-sm);
}

.transform-brief-body > div {
  display: grid;
  grid-template-columns: 12ch minmax(0, 1fr);
  gap: var(--space-md);
  align-items: baseline;
  border-top: 1px solid var(--line-soft);
  padding-top: var(--space-sm);
}

.transform-brief-body dt {
  font-family: var(--sans);
  font-size: 11px;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--gold);
}

.transform-brief-body dd {
  font-family: var(--sans);
  font-size: clamp(1rem, 0.4vw + 0.9rem, 1.15rem);
  color: var(--cream);
}

.transform-count {
  color: var(--whisper);
  font-size: 0.9em;
  margin-left: 0.4ch;
}

.transform-brief-footer {
  font-family: var(--sans);
  font-size: 12px;
  line-height: 1.5;
  color: var(--whisper);
  margin-top: var(--space-xs);
}

/* ============== REFLECTION + OWNERSHIP PANELS ============== */
.reflection-section,
.ownership-panel {
  padding: clamp(64px, 8vw, 130px) clamp(48px, 7vw, 96px);
  max-width: 1480px;
  margin: 0 auto;
  border-top: 1px solid var(--line);
}

.reflection-section {
  display: grid;
  gap: clamp(var(--space-lg), 3vw, var(--space-2xl));
  justify-items: center;
}

.reflection-copy,
.ownership-copy {
  display: grid;
  gap: var(--space-md);
  max-width: 56ch;
  margin: 0 auto;
  text-align: center;
}

/* The Reflection Map board — a stylized SVG illustration of the in-app
   network view. Not a phone screenshot. Sits below the reflection copy. */
.map-board {
  width: 100%;
  max-width: 640px;
  height: auto;
  display: block;
}

.reflection-copy h2,
.ownership-copy h2 {
  font-family: var(--sans);
  font-weight: 600;
  font-size: clamp(2rem, 4vw, 3.4rem);
  line-height: 1;
  letter-spacing: -0.025em;
  color: var(--cream);
  text-transform: lowercase;
}

.reflection-copy h2 em,
.ownership-copy h2 em {
  font-style: italic;
  font-weight: 500;
  color: var(--gold);
  letter-spacing: -0.02em;
}

.reflection-copy p,
.ownership-copy p {
  font-family: var(--sans);
  font-size: clamp(1rem, 0.3vw + 0.95rem, 1.15rem);
  line-height: 1.55;
  color: var(--whisper);
  max-width: 56ch;
  margin: 0 auto;
}

/* ============== PRIVACY ============== */
.privacy-panel {
  padding: clamp(64px, 8vw, 130px) clamp(48px, 7vw, 96px);
  position: relative;
  border-top: 1px solid var(--line);
}

.privacy-inner {
  max-width: 1480px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: minmax(0, 0.7fr) minmax(0, 1fr);
  gap: clamp(var(--space-xl), 5vw, 6rem);
}

.privacy-panel .eyebrow {
  color: var(--plum);
}

.privacy-panel .eyebrow::before { background: var(--plum); }

.privacy-panel h2 {
  font-family: var(--sans);
  font-weight: 600;
  font-size: clamp(2.2rem, 5.5vw, 5.5rem);
  line-height: 0.95;
  letter-spacing: -0.035em;
  color: var(--cream);
  text-transform: lowercase;
  margin-top: var(--space-md);
  max-width: 12ch;
}

.privacy-panel h2 em {
  font-style: italic;
  font-weight: 500;
  color: var(--plum);
  letter-spacing: -0.02em;
}

.privacy-columns {
  display: grid;
  gap: var(--space-lg);
}

.privacy-columns p {
  font-family: var(--sans);
  font-size: clamp(1rem, 0.3vw + 0.95rem, 1.15rem);
  line-height: 1.55;
  color: var(--whisper);
}

.privacy-columns p strong {
  font-weight: 500;
  color: var(--cream);
}

.privacy-columns a {
  color: var(--cream);
  border-bottom: 1px solid var(--line);
  padding-bottom: 1px;
  transition: border-color 200ms var(--eased), color 200ms var(--eased);
}

.privacy-columns a:hover { border-color: var(--plum); color: var(--plum); }

/* ============== CLOSING (centered) ============== */
.closing-note {
  display: grid;
  justify-items: center;
  gap: var(--space-md);
  padding: clamp(72px, 10vw, 140px) clamp(48px, 7vw, 96px) clamp(56px, 8vw, 100px);
  max-width: 1480px;
  margin: 0 auto;
  position: relative;
  text-align: center;
}

.closing-note h2 {
  font-family: var(--sans);
  font-weight: 700;
  font-size: clamp(2.6rem, 6.5vw, 5.8rem);
  line-height: 0.96;
  letter-spacing: -0.04em;
  color: var(--cream);
  text-transform: lowercase;
  max-width: 16ch;
}

.closing-note h2 em {
  font-style: italic;
  font-weight: 500;
  color: var(--gold);
  letter-spacing: -0.02em;
}

.closing-note p {
  font-family: var(--sans);
  font-size: clamp(1rem, 0.4vw + 0.95rem, 1.15rem);
  line-height: 1.5;
  color: var(--whisper);
  max-width: 42ch;
  margin: var(--space-sm) auto 0;
}

.closing-note .cta { margin-top: var(--space-lg); }

/* ============== FOOTER ============== */
.site-foot {
  border-top: 1px solid var(--line);
  padding: var(--space-xl) clamp(48px, 7vw, 96px);
  max-width: 1480px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: 1fr auto;
  align-items: end;
  gap: var(--space-lg);
  font-family: var(--sans);
  font-size: 12px;
  letter-spacing: 0.04em;
  color: var(--whisper);
}

.site-foot .credits {
  display: flex;
  flex-direction: column;
  gap: 6px;
}

.site-foot .credits .lockup {
  font-family: var(--serif);
  font-weight: 400;
  font-size: 18px;
  letter-spacing: -0.01em;
  color: var(--cream);
}

.site-foot .credits .disclaim {
  max-width: 40ch;
  line-height: 1.5;
  font-size: 11px;
  text-transform: uppercase;
  letter-spacing: 0.18em;
}

.site-foot .footnav {
  display: flex;
  gap: var(--space-lg);
  text-transform: uppercase;
  letter-spacing: 0.22em;
  font-size: 11px;
}

.site-foot .footnav a:hover { color: var(--cream); }

/* ============== reveal motion ============== */
.reveal { opacity: 1; transform: none; }

body.reveal-ready .reveal {
  opacity: 0;
  transform: translateY(18px);
  transition: opacity 800ms var(--eased), transform 800ms var(--eased);
}

body.reveal-ready .reveal.is-visible {
  opacity: 1;
  transform: translateY(0);
}

body.reveal-ready .stagger-1 { transition-delay: 80ms; }
body.reveal-ready .stagger-2 { transition-delay: 180ms; }
body.reveal-ready .stagger-3 { transition-delay: 280ms; }
body.reveal-ready .stagger-4 { transition-delay: 380ms; }

/* ============== legacy classes (privacy.html / support.html) ============== */
main:not(.landing) {
  max-width: 960px;
  margin: 0 auto;
  padding: clamp(40px, 6vw, 80px) clamp(20px, 4vw, 56px);
}

.page-header {
  display: grid;
  gap: var(--space-md);
  padding: clamp(40px, 6vw, 72px) 0 var(--space-2xl);
  border-bottom: 1px solid var(--line);
}

.page-header .eyebrow { color: var(--gold); }

.page-header h1 {
  font-family: var(--sans);
  font-weight: 700;
  font-size: clamp(2.6rem, 7vw, 5.5rem);
  line-height: 0.92;
  letter-spacing: -0.035em;
  color: var(--cream);
  text-transform: lowercase;
}

.page-header .lead {
  font-family: var(--sans);
  font-size: clamp(1.05rem, 0.4vw + 1rem, 1.25rem);
  color: var(--whisper);
  max-width: 56ch;
  line-height: 1.5;
}

.actions {
  display: flex;
  flex-wrap: wrap;
  gap: var(--space-sm);
  margin-top: var(--space-md);
}

a.button {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 12px 20px;
  font-family: var(--sans);
  font-weight: 500;
  font-size: 13px;
  letter-spacing: 0.04em;
  border-radius: 999px;
  background: var(--gold);
  color: var(--ink);
  border: 1px solid var(--gold);
  transition: background 220ms var(--eased), color 220ms var(--eased);
}

a.button:hover { background: var(--cream); border-color: var(--cream); }

a.button.secondary {
  background: transparent;
  color: var(--cream);
  border-color: var(--line);
}

a.button.secondary:hover { color: var(--gold); border-color: var(--gold); }

.panel,
.document {
  display: grid;
  gap: var(--space-lg);
  padding: var(--space-2xl) 0;
}

.document section { display: grid; gap: var(--space-sm); }

.document h2 {
  font-family: var(--sans);
  font-weight: 600;
  font-size: clamp(1.3rem, 0.6vw + 1.15rem, 1.6rem);
  letter-spacing: -0.015em;
  color: var(--cream);
}

.document p,
.document strong {
  font-family: var(--sans);
  font-size: clamp(1rem, 0.2vw + 0.95rem, 1.1rem);
  line-height: 1.55;
  color: var(--whisper);
}

.document strong { font-weight: 600; color: var(--cream); }

.document a {
  color: var(--cream);
  border-bottom: 1px solid var(--line);
}

.document a:hover { border-color: var(--gold); color: var(--gold); }

main:not(.landing) footer {
  width: auto;
  justify-content: flex-start;
  margin-top: var(--space-xl);
  border-top: 1px solid var(--line);
  padding-top: var(--space-lg);
  display: flex;
  flex-wrap: wrap;
  gap: var(--space-md);
  font-family: var(--sans);
  font-size: 12px;
  letter-spacing: 0.04em;
  color: var(--whisper);
}

main:not(.landing) footer a:hover { color: var(--cream); }

/* ============== responsive ============== */
@media (max-width: 940px) {
  .poster-hero {
    grid-template-columns: 1fr;
    gap: var(--space-2xl);
    padding-left: clamp(20px, 5vw, 40px);
    padding-right: clamp(20px, 5vw, 40px);
  }
  .hero-copy { max-width: none; }
  .hero-phone-stage { max-width: 280px; margin: 0 auto; width: 100%; }
  .privacy-inner { grid-template-columns: 1fr; }
  .qa-row { grid-template-columns: 1fr; gap: var(--space-xs); padding: var(--space-md) 0; }
  .plain-statement,
  .inside-carnet,
  .chart-moment,
  .transform-moment,
  .product-walkthrough,
  .privacy-panel,
  .ownership-panel,
  .reflection-section,
  .closing-note,
  .trust-strip,
  .site-foot {
    padding-left: clamp(20px, 5vw, 40px);
    padding-right: clamp(20px, 5vw, 40px);
  }
  /* Inside Carnet: stack the phone above the copy on mobile */
  .inside-carnet {
    grid-template-columns: 1fr;
    gap: var(--space-2xl);
    justify-items: stretch;
  }
  .inside-phone { max-width: 280px; }
  /* Chart moment: shrink the phone */
  .chart-moment-frame { max-width: 280px; }
  /* Top nav: smaller padding + tighter gap on mobile */
  .site-nav { padding: 12px 20px; gap: var(--space-md); }
  .site-nav .nav-links { gap: var(--space-md); }
  /* Trust strip: smaller text + tighter gaps, drop the • separator */
  .trust-strip { font-size: 10px; gap: var(--space-sm) clamp(12px, 3vw, 18px); }
  .trust-strip span:not(:last-child)::after { display: none; }
  .view,
  .view--phone-left,
  .view--phone-right,
  .view--centered {
    grid-template-columns: 1fr;
    gap: var(--space-lg);
    text-align: left;
    justify-items: stretch;
  }
  .view--centered { text-align: center; justify-items: center; }
  .view--centered .view-copy { margin: 0 auto; }
  .view-phone,
  .view--phone-left .view-phone,
  .view--phone-right .view-phone,
  .view--centered .view-phone {
    justify-self: center;
    max-width: 280px;
  }
  /* On mobile, always show copy above phone (DOM-ordered for accessibility). */
  .view--phone-left .view-copy { order: -1; }
  .chart-moment-frame { max-width: 320px; }
}

@media (max-width: 600px) {
  .nav-mark { display: none; }
  .site-nav { padding: 14px 20px; }
  .site-foot { grid-template-columns: 1fr; }
  .hero-phone-stage { max-width: 240px; }
  .how-title::before,
  .how-title::after { width: 24px; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .cta, .nav-links a, .nav-links a::after, body.reveal-ready .reveal { transition: none; }
  body.reveal-ready .reveal { opacity: 1; transform: none; }
  .cta:hover { transform: none; }
}
