/* ============================================================
   The Memlane Edition — marketing site stylesheet
   Mirrors the app's editorial design system (DESIGN.md / Theme.swift):
   cream canvas, single deep-teal accent, serif on editorial moments,
   tracked-caps eyebrows, hairline rules. System fonts only — Apple
   visitors render in New York + SF, the app's actual faces.
   ============================================================ */

:root {
  --canvas: #F6F4EF;
  --surface: #FFFFFF;
  --surface-alt: #FBFAF6;
  --ink: #0E1A1A;
  --body: #2A3636;
  --muted: #677373;
  --subtle: #9AA3A1;
  --teal: #1F4E4A;
  --teal-deep: #163C39;
  --teal-soft: #E8F0EE;
  --teal-mid: #3E6E69;
  --copper: #9E6A43;
  --copper-soft: #F0E2D3;
  --plum: #49394A;
  --live: #1F8A7A;
  --live-bg: #E6F4F0;
  --stone: #E9E4D9;
  --ivory: #F2EEE5;
  --divider: rgba(14, 26, 26, 0.10);
  --divider-strong: rgba(14, 26, 26, 0.18);
  --shadow: 0 4px 12px rgba(0, 0, 0, 0.08);
  --shadow-deep: 0 18px 48px rgba(14, 26, 26, 0.16);
  --glow: 0 0 44px rgba(31, 78, 74, 0.14);
  --paper: #F6F4EF;           /* mockup screens stay paper in both modes */

  --serif: ui-serif, "New York", "Iowan Old Style", Georgia, "Times New Roman", serif;
  --sans: -apple-system, ui-sans-serif, system-ui, "SF Pro Text", "Segoe UI", Helvetica, Arial, sans-serif;

  --measure: 34em;
  --gutter: 24px;
}

@media (prefers-color-scheme: dark) {
  :root {
    --canvas: #181614;
    --surface: #1F1C19;
    --surface-alt: #15130F;
    --ink: #F4EFE6;
    --body: #D8D2C5;
    --muted: #9E978A;
    --subtle: #7A746A;
    --teal: #5FA89E;
    --teal-deep: #7DBDB4;
    --teal-soft: #243634;
    --teal-mid: #7DBDB4;
    --copper: #D3A276;
    --copper-soft: #33261E;
    --plum: #CAB8CF;
    --live: #52BAA9;
    --live-bg: #1B302C;
    --stone: #3A332A;
    --ivory: #2A2620;
    --divider: rgba(255, 255, 255, 0.10);
    --divider-strong: rgba(255, 255, 255, 0.18);
    --shadow: 0 4px 12px rgba(0, 0, 0, 0.24);
    --shadow-deep: 0 18px 48px rgba(0, 0, 0, 0.5);
    --glow: 0 0 44px rgba(95, 168, 158, 0.12);
  }
}

/* ---------- base ---------- */

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

html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }

body {
  font-family: var(--serif);
  font-size: 17px;
  line-height: 1.65;
  color: var(--body);
  background: var(--canvas);
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
  font-kerning: normal;
  font-variant-ligatures: common-ligatures;
}

::selection { background: var(--teal); color: var(--canvas); }

a { color: var(--teal); text-decoration: none; }
a:hover { text-decoration: underline; text-underline-offset: 3px; text-decoration-thickness: 1px; }
a:focus-visible, button:focus-visible, input:focus-visible {
  outline: 2px solid var(--teal);
  outline-offset: 3px;
  border-radius: 2px;
}

img, svg { max-width: 100%; display: block; }

.wrap { max-width: 1060px; margin: 0 auto; padding: 0 var(--gutter); }
.narrow { max-width: 700px; margin-left: auto; margin-right: auto; }

.skip-link {
  position: absolute; left: -9999px; top: 0;
  background: var(--teal); color: #fff; padding: 10px 16px;
  font-family: var(--sans); font-size: 13px; z-index: 100;
}
.skip-link:focus { left: 12px; top: 12px; }

/* ---------- editorial primitives ---------- */

.eyebrow {
  font-family: var(--sans);
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--muted);
}

.dateline {
  font-family: var(--sans);
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--muted);
}

.section-head {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-bottom: 14px;
}
.section-head::before {
  content: "";
  width: 22px;
  height: 1px;
  background: var(--teal);
  flex-shrink: 0;
}
.section-head .eyebrow { color: var(--muted); }
.section-head .detail {
  font-family: var(--sans);
  font-size: 11px;
  font-weight: 500;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--subtle);
}

.dept-head {
  font-family: var(--serif);
  font-size: clamp(26px, 3.4vw, 34px);
  font-weight: 400;
  letter-spacing: -0.01em;
  line-height: 1.15;
  color: var(--ink);
  margin: 6px 0 10px;
  text-wrap: balance;
}

.rule { border: 0; border-top: 1px solid var(--divider); }
.rule-strong { border: 0; border-top: 1px solid var(--divider-strong); }

.double-rule {
  border: 0;
  border-top: 2px solid var(--divider-strong);
  position: relative;
  margin-top: 6px;
}
.double-rule::after {
  content: "";
  position: absolute;
  left: 0; right: 0; top: 2px;
  border-top: 1px solid var(--divider);
}

.divider {
  display: flex;
  align-items: center;
  gap: 12px;
  margin: 56px 0;
}
.divider::before, .divider::after {
  content: "";
  flex: 1;
  border-top: 0.5px solid var(--divider);
}
.divider i {
  width: 3px; height: 3px; border-radius: 50%;
  background: var(--teal); opacity: 0.45;
}

.pull-quote {
  display: flex;
  gap: 16px;
  margin: 28px 0;
}
.pull-quote::before {
  content: "";
  width: 3px;
  border-radius: 2px;
  background: var(--teal-deep);
  flex-shrink: 0;
}
.pull-quote p {
  font-family: var(--serif);
  font-size: 20px;
  font-style: italic;
  line-height: 1.45;
  color: var(--ink);
}
.pull-quote cite {
  display: block;
  margin-top: 8px;
  font-size: 12px;
  font-style: italic;
  color: var(--muted);
}

.byline {
  font-family: var(--serif);
  font-size: 12.5px;
  font-style: italic;
  color: var(--subtle);
}

.caption {
  font-family: var(--serif);
  font-size: 13px;
  font-style: italic;
  letter-spacing: 0.005em;
  line-height: 1.4;
  color: var(--muted);
  margin-top: 9px;
}

.prose { max-width: var(--measure); }
.prose p { margin-bottom: 1.15em; }
.prose p:last-child { margin-bottom: 0; }
.prose strong { font-weight: 600; color: var(--ink); }

.lede {
  font-size: 19.5px;
  line-height: 1.6;
  color: var(--body);
}


/* ---------- masthead ---------- */

.masthead { padding: 26px 0 0; }

.masthead-flags {
  display: flex;
  justify-content: space-between;
  align-items: baseline;
  padding-bottom: 14px;
}
.masthead-flags span {
  font-family: var(--sans);
  font-size: 10px;
  font-weight: 600;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--subtle);
}

.masthead-title {
  text-align: center;
  padding: 30px 0 22px;
}
.masthead-title .mark { margin: 0 auto 16px; width: 64px; height: 24px; color: var(--teal); }
.masthead-title h1, .masthead-title .wordmark {
  font-family: var(--serif);
  font-size: clamp(42px, 7vw, 64px);
  font-weight: 500;
  letter-spacing: -0.015em;
  line-height: 1;
  color: var(--ink);
}
.masthead-title .tag {
  margin-top: 12px;
  font-family: var(--serif);
  font-size: 15px;
  font-style: italic;
  color: var(--teal-mid);
}

.masthead-dateline {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 10px;
  padding: 12px 0;
  border-top: 1px solid var(--divider-strong);
  border-bottom: 2px solid var(--divider-strong);
  position: relative;
}
.masthead-dateline::after {
  content: "";
  position: absolute;
  left: 0; right: 0; bottom: 2px;
  border-bottom: 1px solid var(--divider);
}
.live-dot {
  width: 6px; height: 6px; border-radius: 50%;
  background: var(--live);
  animation: pulse 1.6s ease-out infinite;
}
@keyframes pulse {
  0% { box-shadow: 0 0 0 0 rgba(31, 138, 122, 0.4); }
  100% { box-shadow: 0 0 0 8px rgba(31, 138, 122, 0); }
}

/* compact masthead for sub-pages */
.masthead-compact {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding-block: 20px;   /* longhand — shares its element with .wrap */
  border-bottom: 2px solid var(--divider-strong);
  position: relative;
}
.masthead-compact::after {
  content: "";
  position: absolute;
  left: 0; right: 0; bottom: 2px;
  border-bottom: 1px solid var(--divider);
}
.masthead-compact .home {
  display: flex; align-items: center; gap: 10px;
  color: var(--ink);
}
.masthead-compact .home:hover { text-decoration: none; }
.masthead-compact .mark { width: 36px; height: 13px; color: var(--teal); }
.masthead-compact .wordmark {
  font-family: var(--serif);
  font-size: 22px;
  font-weight: 500;
  letter-spacing: -0.01em;
}

/* ---------- hero ---------- */

.hero {
  display: grid;
  grid-template-columns: minmax(0, 1.15fr) minmax(0, 0.85fr);
  gap: clamp(32px, 6vw, 84px);
  align-items: center;
  /* padding-block only — .hero shares its element with .wrap, whose side
     gutters a `padding` shorthand here would silently erase */
  padding-block: clamp(48px, 7vw, 96px) clamp(40px, 6vw, 80px);
}

.hero h2 {
  font-family: var(--serif);
  font-size: clamp(38px, 4.6vw, 58px);
  font-weight: 400;
  letter-spacing: -0.018em;
  line-height: 1.08;
  color: var(--ink);
  margin: 18px 0 22px;
  text-wrap: balance;
}
.hero h2 em { font-style: italic; color: var(--teal); }

.mobile-edition-card { display: none; }

.hero .dek {
  font-size: 19px;
  line-height: 1.6;
  max-width: 32em;
  color: var(--body);
}

.hero-ledger {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-top: 24px;
}
.hero-ledger span {
  display: inline-flex;
  align-items: baseline;
  gap: 6px;
  min-height: 34px;
  padding: 7px 11px;
  border: 1px solid var(--divider);
  background: color-mix(in srgb, var(--surface-alt) 78%, transparent);
  border-radius: 8px;
  font-family: var(--sans);
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--muted);
}
.hero-ledger strong {
  font-family: var(--serif);
  font-size: 19px;
  font-weight: 500;
  letter-spacing: 0;
  text-transform: none;
  color: var(--ink);
}

.hero-note {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-family: var(--sans);
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--teal);
}
.hero-note::before {
  content: "";
  width: 22px; height: 1px; background: var(--teal);
}

/* ---------- waitlist form ---------- */

.waitlist { margin-top: 34px; max-width: 460px; }
.waitlist-row { display: flex; gap: 10px; }
.waitlist input[type="email"] {
  flex: 1;
  min-width: 0;
  font-family: var(--serif);
  font-size: 16px;
  color: var(--ink);
  background: var(--surface);
  border: 1px solid var(--divider-strong);
  border-radius: 10px;
  padding: 13px 16px;
  transition: border-color 0.25s ease;
}
.waitlist input[type="email"]::placeholder { font-style: italic; color: var(--subtle); }
.waitlist input[type="email"]:focus { border-color: var(--teal); outline: none; }

.waitlist button {
  font-family: var(--sans);
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: #F6F4EF;
  background: var(--teal);
  border: 0;
  border-radius: 999px;
  padding: 0 24px;
  cursor: pointer;
  white-space: nowrap;
  transition: background 0.25s ease, transform 0.15s ease;
}
.waitlist button:hover { background: var(--teal-deep); }
.waitlist button:active { transform: scale(0.98); }
.waitlist button:disabled { cursor: progress; opacity: 0.78; }
@media (prefers-color-scheme: dark) {
  .waitlist button { color: #10201D; }
}

.waitlist .fine {
  margin-top: 10px;
  font-family: var(--serif);
  font-size: 12.5px;
  font-style: italic;
  color: var(--subtle);
}

.waitlist .hp {
  position: absolute !important;
  left: -9999px !important;
  width: 1px; height: 1px;
  overflow: hidden;
}

.waitlist-done {
  border-left: 3px solid var(--teal-deep);
  padding: 4px 0 4px 16px;
}
.waitlist-done p {
  font-family: var(--serif);
  font-size: 18px;
  font-style: italic;
  color: var(--ink);
}
.waitlist-done .fine { margin-top: 6px; }

.waitlist-error {
  margin-top: 10px;
  font-family: var(--sans);
  font-size: 13px;
  color: #8C3B2E;
}
@media (prefers-color-scheme: dark) {
  .waitlist-error { color: #D98B7C; }
}

/* ---------- departments ---------- */

.dept { padding-block: clamp(40px, 6vw, 76px); }

.proof-strip {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  border-top: 2px solid var(--divider-strong);
  border-bottom: 1px solid var(--divider);
  background:
    linear-gradient(90deg, transparent, color-mix(in srgb, var(--copper-soft) 42%, transparent), transparent);
}
.proof-item {
  min-height: 112px;
  padding: 22px 24px;
  border-left: 1px solid var(--divider);
}
.proof-item:first-child { border-left: 0; }
.proof-item .eyebrow { color: var(--copper); }
.proof-item strong {
  display: block;
  margin-top: 8px;
  max-width: 17em;
  font-family: var(--serif);
  font-size: clamp(19px, 2vw, 23px);
  font-weight: 400;
  line-height: 1.25;
  color: var(--ink);
}

.dept-grid {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
  gap: clamp(32px, 6vw, 84px);
  align-items: center;
}
.dept-grid.flip .dept-copy { order: 2; }
.dept-grid.flip .dept-art { order: 1; }

.three-col {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 0;
  margin-top: 34px;
}
.three-col .col { padding: 0 28px; border-left: 1px solid var(--divider); }
.three-col .col:first-child { padding-left: 0; border-left: 0; }
.three-col .col:last-child { padding-right: 0; }
.three-col h4 {
  font-family: var(--serif);
  font-size: 21px;
  font-weight: 500;
  color: var(--ink);
  margin: 10px 0 8px;
}
.three-col p { font-size: 15.5px; line-height: 1.6; }

.fact-list { list-style: none; margin: 24px 0; max-width: var(--measure); }
.fact-list li {
  position: relative;
  padding: 13px 0 13px 26px;
  border-bottom: 0.5px solid var(--divider);
  font-size: 16.5px;
  line-height: 1.55;
}
.fact-list li:first-child { border-top: 0.5px solid var(--divider); }
.fact-list li::before {
  content: "";
  position: absolute;
  left: 0; top: 1.45em;
  width: 14px; height: 1px;
  background: var(--teal);
}
.fact-list strong { font-weight: 600; color: var(--ink); }

/* ---------- evidence grid ---------- */

.evidence { padding-block: 10px clamp(32px, 5vw, 58px); }
.evidence-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 14px;
  margin-top: 18px;
}
.evidence-grid article {
  min-height: 214px;
  padding: 20px;
  border: 1px solid var(--divider);
  border-radius: 8px;
  background: var(--surface-alt);
  position: relative;
  overflow: hidden;
}
.evidence-grid article::after {
  content: "";
  position: absolute;
  left: 20px;
  right: 20px;
  bottom: 18px;
  border-bottom: 1px solid var(--divider);
}
.evidence-no {
  font-family: var(--sans);
  font-size: 10px;
  font-weight: 700;
  letter-spacing: 0.16em;
  color: var(--copper);
}
.evidence-grid h4 {
  margin-top: 28px;
  font-family: var(--serif);
  font-size: 22px;
  font-weight: 500;
  line-height: 1.2;
  color: var(--ink);
}
.evidence-grid p {
  margin-top: 10px;
  font-size: 15px;
  line-height: 1.55;
}

/* ---------- rate card (pricing) ---------- */

.rate-card { margin-top: 36px; border-top: 2px solid var(--divider-strong); }
.tier {
  display: grid;
  grid-template-columns: minmax(140px, 0.9fr) minmax(0, 1.6fr) minmax(110px, 0.5fr);
  gap: 24px;
  padding: 26px 0;
  border-bottom: 0.5px solid var(--divider);
  align-items: baseline;
}
.tier-name .eyebrow { color: var(--teal); letter-spacing: 0.12em; }
.tier-name h4 {
  font-family: var(--serif);
  font-size: 23px;
  font-weight: 500;
  font-style: italic;
  color: var(--ink);
  margin-top: 6px;
  line-height: 1.25;
}
.tier-desc { font-size: 15.5px; line-height: 1.6; max-width: 36em; }
.tier-price { text-align: right; }
.tier-price .amount {
  font-family: var(--serif);
  font-size: 25px;
  color: var(--ink);
  letter-spacing: -0.01em;
}
.tier-price .per {
  display: block;
  font-family: var(--sans);
  font-size: 10.5px;
  font-weight: 600;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--subtle);
  margin-top: 4px;
}
.rate-note {
  margin-top: 16px;
  font-family: var(--serif);
  font-size: 13.5px;
  font-style: italic;
  color: var(--muted);
}

/* ---------- phone mockup ---------- */

.phone-wrap { display: flex; justify-content: center; }

.phone {
  width: 314px;
  border-radius: 52px;
  background: #1B1B1D;
  padding: 9px;
  box-shadow: var(--shadow-deep), var(--glow);
  position: relative;
  flex-shrink: 0;
}
.phone::before {
  content: "";
  position: absolute;
  inset: -18px;
  border-radius: 62px;
  background:
    linear-gradient(135deg, color-mix(in srgb, var(--copper) 22%, transparent), transparent 46%),
    linear-gradient(315deg, color-mix(in srgb, var(--plum) 18%, transparent), transparent 52%);
  z-index: -1;
}
@media (prefers-color-scheme: dark) {
  /* the titanium bezel needs a faint rim or it melts into the canvas */
  .phone { box-shadow: 0 0 0 1px rgba(255, 255, 255, 0.10), var(--shadow-deep), var(--glow); }
}
.phone::after {
  /* dynamic island */
  content: "";
  position: absolute;
  top: 20px; left: 50%;
  transform: translateX(-50%);
  width: 84px; height: 24px;
  border-radius: 999px;
  background: #1B1B1D;
  z-index: 3;
}
.screen {
  border-radius: 44px;
  background: var(--paper);
  overflow: hidden;
  height: 620px;
  position: relative;
}
.screen-inner { padding: 56px 20px 20px; }

/* mockup content — the Edition at phone scale.
   Colors are pinned to the light palette: the mock screens stay paper
   in dark mode (a lit page in a dark room). */
.mock { --m-ink: #0E1A1A; --m-body: #2A3636; --m-muted: #677373; --m-subtle: #9AA3A1;
        --m-teal: #1F4E4A; --m-teal-mid: #3E6E69; --m-div: rgba(14,26,26,0.12); }

.mock .m-eyebrow {
  font-family: var(--sans);
  font-size: 8px;
  font-weight: 600;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--m-muted);
}
.mock .m-dateline {
  font-family: var(--sans);
  font-size: 8.5px;
  font-weight: 600;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--m-muted);
}
.mock .m-masthead { text-align: center; padding-bottom: 10px; }
.mock .m-masthead .m-mark { width: 26px; height: 10px; margin: 0 auto 7px; color: var(--m-teal); }
.mock .m-masthead-rule {
  border-top: 1.5px solid rgba(14,26,26,0.2);
  position: relative;
  margin: 8px 0 12px;
}
.mock .m-masthead-rule::after {
  content: "";
  position: absolute;
  left: 0; right: 0; top: 1.5px;
  border-top: 0.5px solid var(--m-div);
}
.mock h5 {
  font-family: var(--serif);
  font-size: 21px;
  font-weight: 400;
  letter-spacing: -0.01em;
  line-height: 1.12;
  color: var(--m-ink);
  margin: 4px 0 10px;
}
.mock .m-body {
  font-family: var(--serif);
  font-size: 11px;
  line-height: 1.55;
  color: var(--m-body);
}
.mock .m-caption {
  font-family: var(--serif);
  font-size: 9.5px;
  font-style: italic;
  line-height: 1.4;
  color: var(--m-muted);
  margin-top: 6px;
}
.mock .m-section {
  display: flex;
  align-items: center;
  gap: 8px;
  margin: 14px 0 8px;
}
.mock .m-section::before {
  content: "";
  width: 14px; height: 1px;
  background: var(--m-teal);
}
.mock .m-plate { border-radius: 10px; overflow: hidden; }
.mock .m-plate svg { width: 100%; height: auto; }
.mock .m-brief { list-style: none; }
.mock .m-brief li {
  display: grid;
  grid-template-columns: 48px 1fr;
  align-items: baseline;
  gap: 10px;
  padding: 6px 0;
  border-bottom: 0.5px solid var(--m-div);
  font-family: var(--serif);
  font-size: 10.5px;
  line-height: 1.4;
  color: var(--m-body);
  text-align: left;
}
.mock .m-brief li:last-child { border-bottom: 0; }
.mock .m-brief .t {
  font-family: var(--sans);
  font-size: 8px;
  font-weight: 600;
  letter-spacing: 0.1em;
  color: var(--m-subtle);
}
.mock .m-quote {
  display: flex;
  gap: 8px;
  margin: 12px 0 2px;
}
.mock .m-quote::before {
  content: "";
  width: 2px;
  border-radius: 1px;
  background: var(--m-teal);
  flex-shrink: 0;
}
.mock .m-quote p {
  font-family: var(--serif);
  font-size: 11.5px;
  font-style: italic;
  line-height: 1.45;
  color: var(--m-ink);
}
.mock .m-source-strip {
  display: flex;
  gap: 6px;
  flex-wrap: wrap;
  margin-top: 12px;
}
.mock .m-source-strip span {
  border: 0.5px solid var(--m-div);
  border-radius: 999px;
  padding: 4px 7px;
  background: #FFFFFF;
  font-family: var(--sans);
  font-size: 7.5px;
  font-weight: 600;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--m-muted);
}

/* chat mock */
.mock .m-chat { display: flex; flex-direction: column; gap: 10px; margin-top: 12px; }
.mock .m-q {
  align-self: flex-end;
  max-width: 82%;
  background: #1F4E4A;
  color: #F6F4EF;
  font-family: var(--sans);
  font-size: 11px;
  line-height: 1.45;
  padding: 8px 12px;
  border-radius: 14px 14px 4px 14px;
}
.mock .m-a {
  align-self: flex-start;
  max-width: 92%;
  background: #FFFFFF;
  border: 0.5px solid var(--m-div);
  border-radius: 14px 14px 14px 4px;
  padding: 10px 12px;
  box-shadow: 0 2px 8px rgba(14,26,26,0.05);
}
.mock .m-a p {
  font-family: var(--serif);
  font-size: 11px;
  line-height: 1.5;
  color: var(--m-body);
}
.mock .m-card {
  display: flex;
  gap: 8px;
  align-items: center;
  margin-top: 8px;
  padding-top: 8px;
  border-top: 0.5px solid var(--m-div);
}
.mock .m-card .thumb { width: 40px; height: 40px; border-radius: 8px; overflow: hidden; flex-shrink: 0; }
.mock .m-card .thumb svg { width: 100%; height: 100%; }
.mock .m-card .m-caption { margin-top: 0; }
.mock .m-sources {
  font-family: var(--sans);
  font-size: 7.5px;
  font-weight: 600;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--m-subtle);
  margin-top: 8px;
}
.mock .m-inputbar {
  position: absolute;
  left: 0; right: 0; bottom: 0;
  padding: 12px 18px 22px;
  border-top: 0.5px solid var(--m-div);
  background: var(--paper);
  display: flex;
  align-items: center;
  gap: 8px;
}
.mock .m-inputbar .field {
  flex: 1;
  border: 0.5px solid var(--m-div);
  background: #FFFFFF;
  border-radius: 999px;
  padding: 8px 12px;
  font-family: var(--serif);
  font-size: 10.5px;
  font-style: italic;
  color: var(--m-subtle);
}
.mock .m-inputbar .send {
  width: 26px; height: 26px;
  border-radius: 50%;
  background: #1F4E4A;
  display: flex;
  align-items: center;
  justify-content: center;
  color: #F6F4EF;
  font-size: 12px;
  flex-shrink: 0;
}

/* trip cover mock */
.mock .m-cover { text-align: center; padding-top: 6px; }
.mock .m-cover .m-kicker {
  font-family: var(--sans);
  font-size: 7.5px;
  font-weight: 600;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--m-muted);
}
.mock .m-cover h5 {
  font-size: 26px;
  margin: 8px 0 4px;
}
.mock .m-cover .m-sub {
  font-family: var(--sans);
  font-size: 8px;
  font-weight: 600;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--m-subtle);
  margin-bottom: 12px;
}
.mock .m-end {
  font-family: var(--sans);
  font-size: 7.5px;
  font-weight: 600;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--m-subtle);
  text-align: center;
  display: flex;
  align-items: center;
  gap: 10px;
  margin-top: 14px;
}
.mock .m-end::before, .mock .m-end::after {
  content: "";
  flex: 1;
  border-top: 0.5px solid var(--m-div);
}

/* ---------- privacy manifesto band ---------- */

.manifesto {
  background: var(--surface-alt);
  border-top: 1px solid var(--divider);
  border-bottom: 1px solid var(--divider);
}

/* ---------- closing ---------- */

.closing { text-align: center; padding-block: clamp(48px, 7vw, 90px) 30px; }
.closing .tagline {
  font-family: var(--serif);
  font-size: clamp(26px, 3.6vw, 40px);
  font-style: italic;
  font-weight: 400;
  line-height: 1.3;
  color: var(--ink);
  max-width: 21em;
  margin: 18px auto 8px;
  text-wrap: balance;
}
.closing .waitlist { margin: 34px auto 0; }
.closing .waitlist-row { justify-content: center; }

/* ---------- footer ---------- */

.end-strip {
  display: flex;
  align-items: center;
  gap: 14px;
  margin: 60px 0 0;
  font-family: var(--sans);
  font-size: 10px;
  font-weight: 600;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--subtle);
}
.end-strip::before, .end-strip::after {
  content: "";
  flex: 1;
  border-top: 0.5px solid var(--divider);
}

footer.site-footer { padding: 26px 0 44px; }
.footer-row {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 14px;
}
.footer-row .mark { width: 30px; height: 11px; color: var(--teal); }
.footer-links {
  display: flex;
  flex-wrap: wrap;
  gap: 22px;
  font-family: var(--sans);
  font-size: 12px;
  font-weight: 500;
  letter-spacing: 0.04em;
}
.footer-links a { color: var(--muted); }
.footer-links a:hover { color: var(--teal); }
.colophon {
  margin-top: 16px;
  font-family: var(--serif);
  font-size: 12.5px;
  font-style: italic;
  color: var(--subtle);
}

/* ---------- document pages (privacy / support) ---------- */

.doc { padding-block: clamp(36px, 5vw, 64px) 24px; }
.doc-header { margin-bottom: 36px; }
.doc-header h2 {
  font-family: var(--serif);
  font-size: clamp(34px, 4.4vw, 48px);
  font-weight: 400;
  letter-spacing: -0.015em;
  line-height: 1.1;
  color: var(--ink);
  margin: 12px 0 14px;
}
.doc-header .lede { max-width: 36em; }
.doc section { margin: 44px 0; }
.doc h3 {
  font-family: var(--serif);
  font-size: 24px;
  font-weight: 500;
  color: var(--ink);
  padding-bottom: 10px;
  border-bottom: 1px solid var(--divider);
  margin-bottom: 16px;
}
.doc .prose { max-width: 38em; }
.doc .prose ul { margin: 0 0 1.15em 1.2em; }
.doc .prose li { margin-bottom: 0.5em; }

.signal-table { width: 100%; border-collapse: collapse; border-top: 2px solid var(--divider-strong); }
.signal-table th, .signal-table td {
  text-align: left;
  padding: 13px 18px 13px 0;
  border-bottom: 0.5px solid var(--divider);
  vertical-align: top;
  font-size: 15px;
  line-height: 1.55;
}
.signal-table th {
  font-family: var(--sans);
  font-size: 10.5px;
  font-weight: 600;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--muted);
  white-space: nowrap;
}
.signal-table td:first-child {
  font-family: var(--serif);
  font-weight: 600;
  color: var(--ink);
  white-space: nowrap;
}

.faq-item { border-bottom: 0.5px solid var(--divider); padding: 22px 0; max-width: 44em; }
.faq-item:first-of-type { border-top: 2px solid var(--divider-strong); }
.faq-item h4 {
  font-family: var(--serif);
  font-size: 19px;
  font-weight: 500;
  color: var(--ink);
  margin-bottom: 8px;
}
.faq-item p { font-size: 15.5px; line-height: 1.6; }
.faq-item p + p { margin-top: 0.6em; }

/* ---------- reveal on scroll (JS adds .in; no-JS stays visible) ---------- */

html.js .reveal {
  opacity: 0;
  transform: translateY(12px);
  transition: opacity 0.7s ease, transform 0.7s ease;
}
html.js .reveal.in { opacity: 1; transform: none; }

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  html.js .reveal { opacity: 1; transform: none; transition: none; }
  .live-dot { animation: none; }
  * { transition-duration: 0.01ms !important; animation-duration: 0.01ms !important; }
}

/* ---------- responsive ---------- */

@media (max-width: 920px) {
  .hero { grid-template-columns: 1fr; gap: 48px; }
  .hero .phone-wrap { order: 2; }
  .dept-grid { grid-template-columns: 1fr; gap: 40px; }
  .dept-grid.flip .dept-copy { order: 1; }
  .dept-grid.flip .dept-art { order: 2; }
  .proof-strip { grid-template-columns: 1fr; }
  .proof-item { min-height: 0; border-left: 0; border-top: 1px solid var(--divider); }
  .proof-item:first-child { border-top: 0; }
  .evidence-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .tier { grid-template-columns: minmax(120px, 1fr) minmax(0, 2fr); }
  .tier-price { grid-column: 1 / -1; text-align: left; }
  .tier-price .per { display: inline; margin-left: 8px; }
}

@media (max-width: 680px) {
  body { font-size: 16px; }
  .masthead { padding-top: 18px; }
  .masthead-title { padding: 22px 0 18px; }
  .masthead-title .mark { margin-bottom: 12px; }
  .masthead-title h1, .masthead-title .wordmark { font-size: 48px; }
  .hero { padding-block: 34px 44px; }
  .hero h2 { font-size: 41px; margin-bottom: 16px; }
  .mobile-edition-card {
    display: grid;
    grid-template-columns: 1fr;
    gap: 8px;
    margin: 18px 0;
    padding: 14px 16px;
    border: 1px solid var(--divider-strong);
    border-radius: 8px;
    background:
      linear-gradient(135deg, color-mix(in srgb, var(--copper-soft) 65%, transparent), transparent 72%),
      var(--surface-alt);
  }
  .mobile-edition-card strong {
    display: block;
    margin-top: 4px;
    font-family: var(--serif);
    font-size: 18px;
    font-weight: 500;
    line-height: 1.2;
    color: var(--ink);
  }
  .mobile-edition-card p {
    font-size: 14px;
    line-height: 1.45;
    color: var(--muted);
  }
  .three-col { grid-template-columns: 1fr; gap: 26px; }
  .three-col .col { padding: 0; border-left: 0; border-top: 1px solid var(--divider); padding-top: 22px; }
  .three-col .col:first-child { border-top: 0; padding-top: 0; }
  .masthead-flags span:nth-child(2) { display: none; }
  .waitlist-row { flex-direction: column; }
  .waitlist button { padding: 14px 24px; }
  .hero-ledger span { flex: 1 1 calc(50% - 8px); }
  .evidence-grid { grid-template-columns: 1fr; }
  .evidence-grid article { min-height: 0; }
  .tier { grid-template-columns: 1fr; gap: 10px; }
  .phone { width: 290px; }
  .screen { height: 574px; }
  .footer-row { flex-direction: column; align-items: flex-start; }
}
