/* ==========================================================================
   Letter — marketing site stylesheet
   Values are lifted from design/tokens.css (the app's single source of
   truth). Where the web needs something the app doesn't — breakpoints,
   container widths, a dark theme — those are noted as site-only additions.
   No external fonts are loaded (no CDN calls allowed for this static
   build); the serif/mono/hand stacks fall back to the same families
   tokens.css already lists as fallbacks, which are serif/monospace/cursive
   on every platform, so "no sans-serif anywhere" still holds without a
   font file. See website/README.md for the tradeoff.
   ========================================================================== */

/* ─── Reset (minimal) ─── */
*, *::before, *::after { box-sizing: border-box; }
* { margin: 0; padding: 0; }
html { -webkit-text-size-adjust: 100%; text-size-adjust: 100%; }
img, svg { display: block; max-width: 100%; }
a { color: inherit; text-decoration: none; }
ul, ol { list-style: none; }
button { font: inherit; color: inherit; background: none; border: 0; cursor: pointer; }
input, textarea { font: inherit; }

/* ─── Tokens: Heirloom (light — default) ───
   Copied 1:1 from design/tokens.css. Do not invent values here. */
:root {
  --paper:        #F2EADB;
  --paper-2:      #EBE0CA;
  --paper-3:      #E0D2B6;
  --paper-edge:   #C9B894;
  --paper-shadow: rgba(60,40,20,0.08);

  --ink:          #1A1612;
  --ink-2:        #3D332A;
  --ink-3:        #6E5F4F;
  --ink-4:        #7A6A52;

  --wax:          #A53A2B;
  --wax-2:        #7D2A1F;
  --wax-soft:     #C45B4B;
  --postmark:     #2E466B;
  --sage:         #5E6F4F;
  --gilt:         #A78437;

  /* Type — same stacks as tokens.css; Newsreader/JetBrains Mono/Caveat are
     listed first so any device that already has them (rare, but some do
     via other apps) uses them, then falls through to serif-only system
     fonts. Never a sans-serif fallback. */
  --serif: 'Newsreader', 'Iowan Old Style', 'Charter', Georgia, serif;
  --mono:  'JetBrains Mono', ui-monospace, 'SF Mono', Menlo, monospace;
  --hand:  'Caveat', 'Segoe Script', cursive;

  --ease-out:    cubic-bezier(.2, .7, .3, 1);
  --ease-spring: cubic-bezier(.5, 1.4, .6, 1);
  --dur-fast: 120ms;
  --dur:      220ms;
  --dur-slow: 420ms;

  /* Site-only additions (not in tokens.css — layout concerns unique to a
     browser canvas rather than a phone screen). */
  --container: 1180px;
  --radius-card: 14px;
  --shadow-card: 0 4px 10px rgba(60,40,20,0.08), 0 1px 2px rgba(60,40,20,0.05);
  --shadow-float: 0 18px 40px rgba(60,40,20,0.16), 0 4px 10px rgba(60,40,20,0.06);

  /* Fixed "dark chrome" pair for the footer + final CTA's inverted-contrast
     block (a deliberately dark section punctuating an otherwise light
     page). Deliberately NOT the --ink/--paper tokens: those flip meaning
     in Nightletter (paper becomes the dark surface, ink the light text),
     which would invert this block's contrast along with the page instead
     of keeping it a consistent dark accent in both themes. Values are the
     Heirloom ink/paper pair, fixed. */
  --chrome-bg:    #1A1612;
  --chrome-fg:    #F2EADB;
  --chrome-fg-2:  #E0D2B6;
  --chrome-fg-3:  rgba(242,234,219,.55);
}

/* ─── Tokens: Nightletter (dark) ───
   This is the app's own sanctioned dark theme (Settings → App theme →
   Nightletter), reused verbatim rather than inventing a new dark palette
   for the website. Note the accent shifts from wax red to a warm amber —
   that's intentional and matches the shipped theme. */
@media (prefers-color-scheme: dark) {
  :root {
    --paper:        #1E1912;
    --paper-2:      #28211A;
    --paper-3:      #342B20;
    --paper-edge:   #4A3D2C;
    --paper-shadow: rgba(0,0,0,0.35);

    --ink:          #F3E9D6;
    --ink-2:        #E2D5BD;
    --ink-3:        #AE9D80;
    --ink-4:        #8D7C61;

    --wax:          #C9863F;
    --wax-2:        #A86A2C;
    --wax-soft:     #DDA05E;
    --postmark:     #8197BC;
    --sage:         #8CA37A;
    --gilt:         #D4AF61;

    --shadow-card: 0 4px 10px rgba(0,0,0,0.3), 0 1px 2px rgba(0,0,0,0.2);
    --shadow-float: 0 18px 40px rgba(0,0,0,0.45), 0 4px 10px rgba(0,0,0,0.2);
  }
}

html[data-theme="dark"] {
  --paper:        #1E1912;
  --paper-2:      #28211A;
  --paper-3:      #342B20;
  --paper-edge:   #4A3D2C;
  --paper-shadow: rgba(0,0,0,0.35);

  --ink:          #F3E9D6;
  --ink-2:        #E2D5BD;
  --ink-3:        #AE9D80;
  --ink-4:        #8D7C61;

  --wax:          #C9863F;
  --wax-2:        #A86A2C;
  --wax-soft:     #DDA05E;
  --postmark:     #8197BC;
  --sage:         #8CA37A;
  --gilt:         #D4AF61;

  --shadow-card: 0 4px 10px rgba(0,0,0,0.3), 0 1px 2px rgba(0,0,0,0.2);
  --shadow-float: 0 18px 40px rgba(0,0,0,0.45), 0 4px 10px rgba(0,0,0,0.2);
  color-scheme: dark;
}

/* ─── Base ─── */
html { color-scheme: light dark; }
body {
  background: var(--paper);
  color: var(--ink-2);
  font-family: var(--serif);
  font-size: 17px;
  line-height: 1.6;
  font-feature-settings: "ss01", "onum";
  -webkit-font-smoothing: antialiased;
  transition: background var(--dur) var(--ease-out), color var(--dur) var(--ease-out);
}

/* Subtle paper grain, large surfaces only — mirrors --paper-texture in tokens.css */
body {
  background-image:
    radial-gradient(rgba(60,40,20,.035) 1px, transparent 1px),
    radial-gradient(rgba(60,40,20,.025) 1px, transparent 1px);
  background-size: 3px 3px, 7px 7px;
  background-position: 0 0, 1.5px 1.5px;
}
@media (prefers-color-scheme: dark) {
  body {
    background-image:
      radial-gradient(rgba(0,0,0,.18) 1px, transparent 1px),
      radial-gradient(rgba(0,0,0,.12) 1px, transparent 1px);
  }
}
html[data-theme="dark"] body {
  background-image:
    radial-gradient(rgba(0,0,0,.18) 1px, transparent 1px),
    radial-gradient(rgba(0,0,0,.12) 1px, transparent 1px);
}

.container {
  max-width: var(--container);
  margin-inline: auto;
  padding-inline: 24px;
}

/* ─── Focus & selection ─── */
:focus-visible {
  outline: 2px solid var(--wax);
  outline-offset: 3px;
  border-radius: 2px;
}
::selection { background: var(--wax-soft); color: #fff; }

.skip-link {
  position: fixed;
  left: 12px;
  top: -60px;
  background: var(--ink);
  color: var(--paper);
  padding: 12px 18px;
  border-radius: 6px;
  font-family: var(--mono);
  font-size: 13px;
  letter-spacing: .04em;
  z-index: 200;
  transition: top var(--dur-fast) var(--ease-out);
}
.skip-link:focus { top: 12px; }

/* ─── Typography ─── */
h1, h2, h3, h4 { font-family: var(--serif); font-weight: 400; color: var(--ink); }
.eyebrow {
  font-family: var(--mono);
  font-size: 11px;
  font-weight: 500;
  letter-spacing: .18em;
  text-transform: uppercase;
  color: var(--wax);
  display: inline-block;
  margin-bottom: 14px;
}
.display {
  font-weight: 300;
  font-style: italic;
  font-size: clamp(2.6rem, 5.2vw, 4rem);
  line-height: 1.08;
  letter-spacing: -.02em;
  color: var(--ink);
}
h2 {
  font-size: clamp(1.9rem, 3.4vw, 2.5rem);
  line-height: 1.15;
  letter-spacing: -.015em;
}
h2 em, .display em { font-style: italic; color: var(--wax); }
h3 {
  font-size: 1.35rem;
  line-height: 1.3;
  font-weight: 500;
}
p { color: var(--ink-2); }
.lede {
  font-size: 1.2rem;
  line-height: 1.55;
  color: var(--ink-2);
  max-width: 46ch;
}
.mono {
  font-family: var(--mono);
  font-size: 12px;
  letter-spacing: .1em;
  text-transform: uppercase;
  color: var(--ink-3);
}
.hand { font-family: var(--hand); color: var(--wax); }

section { padding-block: 96px; }
@media (max-width: 720px) { section { padding-block: 64px; } }

.section-head { max-width: 640px; margin-bottom: 48px; }
.section-head.center { margin-inline: auto; text-align: center; }

/* ─── Nav ─── */
.site-nav {
  position: sticky;
  top: 0;
  z-index: 100;
  background: color-mix(in srgb, var(--paper) 88%, transparent);
  backdrop-filter: blur(14px) saturate(140%);
  -webkit-backdrop-filter: blur(14px) saturate(140%);
  border-bottom: 1px solid var(--paper-edge);
}
.site-nav .container {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 68px;
}
.brand {
  display: flex;
  align-items: center;
  gap: 10px;
  font-family: var(--serif);
  font-size: 1.05rem;
  font-weight: 500;
  color: var(--ink);
}
.brand svg { width: 26px; height: 26px; flex-shrink: 0; }
.nav-links {
  display: flex;
  align-items: center;
  gap: 32px;
}
.nav-links a:not(.btn) {
  font-family: var(--mono);
  font-size: 12px;
  letter-spacing: .08em;
  text-transform: uppercase;
  color: var(--ink-3);
  transition: color var(--dur-fast) var(--ease-out);
}
.nav-links a:not(.btn):hover { color: var(--wax); }
.nav-toggle {
  display: none;
  width: 44px;
  height: 44px;
  align-items: center;
  justify-content: center;
  margin-right: -8px; /* keep the icon optically aligned to the container edge */
}
.nav-toggle svg { width: 22px; height: 22px; }

@media (max-width: 760px) {
  .js .nav-links {
    position: fixed;
    inset: 68px 0 auto 0;
    flex-direction: column;
    align-items: flex-start;
    gap: 4px;
    background: var(--paper);
    border-bottom: 1px solid var(--paper-edge);
    padding: 12px 24px 24px;
    transform: translateY(-8px);
    opacity: 0;
    visibility: hidden;
    pointer-events: none;
    transition:
      opacity var(--dur) var(--ease-out),
      transform var(--dur) var(--ease-out),
      visibility 0s linear var(--dur);
  }
  .nav-links a:not(.btn) { padding: 12px 0; width: 100%; border-bottom: 1px solid var(--paper-edge); }
  .js .nav-links.is-open {
    opacity: 1;
    transform: translateY(0);
    visibility: visible;
    pointer-events: auto;
    transition-delay: 0s;
  }
  .nav-links .btn { margin-top: 12px; align-self: flex-start; }
  .js .nav-toggle { display: inline-flex; }

  /* Progressive no-JS fallback: navigation stays visible and wraps below
     the brand instead of depending on an unavailable menu toggle. */
  .no-js .site-nav .container {
    flex-wrap: wrap;
    align-items: flex-start;
    height: auto;
    min-height: 68px;
    padding-block: 12px 16px;
  }
  .no-js .nav-links {
    width: 100%;
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 8px 18px;
    padding-top: 12px;
  }
  .no-js .nav-links a:not(.btn) {
    padding: 10px 0;
  }
  .no-js .nav-links .btn {
    justify-content: center;
    margin-top: 0;
  }
}

/* ─── Buttons ─── */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-family: var(--serif);
  font-size: 1rem;
  padding: 13px 24px;
  border-radius: 999px;
  white-space: nowrap;
  transition: transform var(--dur-fast) var(--ease-out), box-shadow var(--dur-fast) var(--ease-out), background var(--dur-fast) var(--ease-out);
}
.btn-primary {
  background: var(--wax);
  color: var(--paper);
  box-shadow: var(--shadow-card);
}
.btn-primary:hover { background: var(--wax-2); }
.btn-primary:active { transform: scale(0.97); }

.btn-ghost {
  border: 1.5px solid var(--paper-edge);
  color: var(--ink-2);
}
.btn-ghost:hover { border-color: var(--wax); color: var(--wax); }
.btn-ghost:active { transform: scale(0.97); }

/* App Store badge — placeholder until the app is live; see README */
.badge-appstore {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  background: var(--ink);
  color: var(--paper);
  padding: 11px 20px;
  border-radius: 12px;
  box-shadow: var(--shadow-card);
  transition: transform var(--dur-fast) var(--ease-out), box-shadow var(--dur-fast) var(--ease-out);
}
.badge-appstore:hover { box-shadow: var(--shadow-float); }
.badge-appstore:active { transform: scale(0.97); }
.badge-appstore svg { width: 22px; height: 22px; flex-shrink: 0; }
.badge-appstore .badge-text { display: flex; flex-direction: column; line-height: 1.2; }
.badge-appstore .badge-text span:first-child { font-size: 10px; letter-spacing: .03em; opacity: .8; }
.badge-appstore .badge-text span:last-child { font-family: var(--serif); font-size: 1.05rem; }

/* ─── Hero ─── */
.hero { padding-top: 72px; padding-bottom: 96px; }
.hero .container {
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  gap: 48px;
  align-items: center;
}
.hero-copy p.lede { margin-block: 22px 32px; }
.hero-art { position: relative; }
.hero-art svg { width: 100%; height: auto; }
@media (max-width: 900px) {
  .hero .container { grid-template-columns: 1fr; }
  .hero-art { order: -1; max-width: 320px; margin-inline: auto; }
}

/* ─── How it works ─── */
.steps {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 40px;
  position: relative;
}
.steps::before {
  content: "";
  position: absolute;
  top: 34px;
  left: 8%;
  right: 8%;
  height: 0;
  border-top: 2px dashed var(--paper-edge);
  z-index: 0;
}
.step { position: relative; z-index: 1; }
.step-icon {
  width: 68px;
  height: 68px;
  border-radius: 50%;
  background: var(--paper);
  border: 1.5px solid var(--paper-edge);
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 20px;
  box-shadow: var(--shadow-card);
}
.step-icon svg { width: 32px; height: 32px; }
.step .mono { display: block; margin-bottom: 6px; }
.step p { max-width: 30ch; }
@media (max-width: 760px) {
  .steps { grid-template-columns: 1fr; gap: 40px; }
  .steps::before { display: none; }
}

/* ─── The seal (moment section) ─── */
.seal-section {
  background: var(--paper-2);
  border-top: 1px solid var(--paper-edge);
  border-bottom: 1px solid var(--paper-edge);
  text-align: center;
}
.seal-section .container { display: flex; flex-direction: column; align-items: center; }
.seal-mark { width: 132px; height: 132px; margin-bottom: 36px; }
.seal-section h2 { max-width: 20ch; margin-inline: auto; }
.seal-section .lede { margin-inline: auto; margin-top: 18px; }

.seal-mark .seal-press {
  transform-origin: center;
  transition: transform 320ms var(--ease-spring);
}
.seal-section:hover .seal-press { transform: scale(1.04); }

/* ─── Trust grid ─── */
.trust-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 32px;
}
.trust-card {
  padding: 32px;
  border-radius: var(--radius-card);
  background: var(--paper-2);
  border: 1px solid var(--paper-edge);
}
.trust-card svg { width: 30px; height: 30px; margin-bottom: 18px; }
.trust-card h3 { margin-bottom: 10px; }
.trust-card p { font-size: .96rem; }
@media (max-width: 760px) { .trust-grid { grid-template-columns: 1fr; } }

/* ─── Pricing ─── */
.pricing-section {
  background: var(--paper-2);
  border-top: 1px solid var(--paper-edge);
  border-bottom: 1px solid var(--paper-edge);
}
.pricing-intro { margin-inline: auto; margin-top: 14px; }
.pricing-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 28px;
  align-items: stretch;
}
.price-card {
  background: var(--paper);
  border: 1.5px solid var(--paper-edge);
  border-radius: var(--radius-card);
  padding: 36px;
  display: flex;
  flex-direction: column;
}
.price-card.featured {
  border-color: var(--wax);
  box-shadow: var(--shadow-float);
  position: relative;
}
.price-card.featured::before {
  content: "Most letters start here";
  position: absolute;
  top: -13px;
  left: 32px;
  background: var(--wax);
  color: var(--paper);
  font-family: var(--mono);
  font-size: 10px;
  letter-spacing: .1em;
  text-transform: uppercase;
  padding: 5px 12px;
  border-radius: 999px;
}
.price-card h3 { font-size: 1.1rem; }
.price-amount {
  font-family: var(--serif);
  font-weight: 400;
  font-size: 2.6rem;
  color: var(--ink);
  margin-block: 12px 4px;
}
.price-amount sup { font-size: 1rem; color: var(--ink-3); font-weight: 400; }
.price-sub { color: var(--ink-3); font-size: .92rem; margin-bottom: 24px; }
.price-features { margin: 8px 0 28px; display: flex; flex-direction: column; gap: 12px; }
.price-features li {
  display: flex;
  gap: 10px;
  font-size: .95rem;
  color: var(--ink-2);
}
.price-features svg { width: 17px; height: 17px; flex-shrink: 0; margin-top: 3px; color: var(--sage); }
.price-card .btn { margin-top: auto; justify-content: center; }
.price-note {
  margin-top: 28px;
  font-size: .9rem;
  color: var(--ink-3);
  text-align: center;
}
@media (max-width: 760px) { .pricing-grid { grid-template-columns: 1fr; } }

/* ─── FAQ ─── */
.faq-list { max-width: 760px; }
.faq-item {
  border-bottom: 1px solid var(--paper-edge);
}
.faq-item summary {
  cursor: pointer;
  list-style: none;
  padding: 22px 0;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  font-family: var(--serif);
  font-size: 1.08rem;
  color: var(--ink);
}
.faq-item summary::-webkit-details-marker { display: none; }
.faq-item summary .plus {
  flex-shrink: 0;
  width: 22px;
  height: 22px;
  position: relative;
}
.faq-item summary .plus::before,
.faq-item summary .plus::after {
  content: "";
  position: absolute;
  background: var(--wax);
  border-radius: 2px;
  transition: transform var(--dur) var(--ease-out);
}
.faq-item summary .plus::before { top: 50%; left: 0; right: 0; height: 2px; transform: translateY(-50%); }
.faq-item summary .plus::after { left: 50%; top: 0; bottom: 0; width: 2px; transform: translateX(-50%); }
.faq-item[open] summary .plus::after { transform: translateX(-50%) rotate(90deg); opacity: 0; }
.faq-item p { padding-bottom: 24px; max-width: 62ch; color: var(--ink-2); }

/* ─── Final CTA ───
   A deliberately dark "inverted" block, fixed in both themes — see the
   --chrome-* tokens above for why this doesn't use --ink/--paper. */
.final-cta {
  text-align: center;
  background: var(--chrome-bg);
  color: var(--chrome-fg);
}
.final-cta .display { color: var(--chrome-fg); }
.final-cta .lede { color: var(--chrome-fg-2); margin-inline: auto; }
.final-cta .container { display: flex; flex-direction: column; align-items: center; }
.final-cta .badge-appstore { background: var(--chrome-fg); color: var(--chrome-bg); margin-top: 32px; }

/* ─── Footer ─── (same fixed dark chrome as the final CTA) */
footer.site-footer {
  background: var(--chrome-bg);
  color: var(--chrome-fg-2);
  padding-block: 56px 32px;
}
.footer-row {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  gap: 32px;
  flex-wrap: wrap;
}
.footer-brand { display: flex; align-items: center; gap: 10px; color: var(--chrome-fg); font-family: var(--serif); font-size: 1.1rem; }
.footer-brand svg { width: 24px; height: 24px; }
.footer-tag { font-family: var(--mono); font-size: 10px; letter-spacing: .16em; text-transform: uppercase; color: var(--chrome-fg-2); margin-top: 8px; }
.footer-cols { display: flex; gap: 56px; flex-wrap: wrap; }
.footer-col h4 { font-family: var(--mono); font-size: 11px; letter-spacing: .12em; text-transform: uppercase; color: var(--chrome-fg-2); margin-bottom: 14px; font-weight: 400; }
.footer-col ul { display: flex; flex-direction: column; gap: 10px; }
.footer-col a { font-size: .92rem; color: var(--chrome-fg-2); transition: color var(--dur-fast) var(--ease-out); }
.footer-col a:hover { color: var(--chrome-fg); }
.footer-legal {
  margin-top: 48px;
  padding-top: 24px;
  border-top: 1px solid rgba(242,234,219,.1);
  display: flex;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 12px;
  font-family: var(--mono);
  font-size: 11px;
  letter-spacing: .06em;
  color: var(--chrome-fg-3);
}

/* ─── Scroll reveal (progressive enhancement) ───
   Base state is fully visible so no-JS / reduced-motion users see
   everything immediately; JS opts elements into the hidden→reveal
   transition only when it's safe to animate. See assets/script.js. */
.reveal-ready { opacity: 0; transform: translateY(16px); }
.reveal-ready.is-visible {
  opacity: 1;
  transform: translateY(0);
  transition: opacity var(--dur-slow) var(--ease-out), transform var(--dur-slow) var(--ease-out);
}

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after {
    animation: none !important;
    scroll-behavior: auto !important;
    transition: none !important;
  }
  .reveal-ready { opacity: 1 !important; transform: none !important; }
  .seal-section:hover .seal-press,
  .btn:active,
  .badge-appstore:active { transform: none !important; }
}

html { scroll-behavior: smooth; }

/* Nightletter (dark) — the fixed dark chrome sits only ~4pt off the dark
   paper (#1A1612 vs #1E1912), so the final-CTA moment and the footer melt
   into the page and the bottom third reads as one undifferentiated dark
   field. A hairline "fold" line in the paper-edge tone re-establishes each
   as a distinct block — the papery separation the light theme gets for free
   from the cream-on-dark contrast. Light theme needs no border. */
@media (prefers-color-scheme: dark) {
  .final-cta { border-top: 1px solid var(--paper-edge); }
  footer.site-footer { border-top: 1px solid var(--paper-edge); }
}
html[data-theme="dark"] .final-cta { border-top: 1px solid var(--paper-edge); }
html[data-theme="dark"] footer.site-footer { border-top: 1px solid var(--paper-edge); }

/* ─── Prose pages (privacy / terms / support) ─── */
.prose-page { padding-top: 56px; padding-bottom: 80px; }
.prose-page .container { max-width: 760px; }
.prose-page .eyebrow { margin-bottom: 8px; }
.prose-page h1.display { font-size: clamp(2.2rem, 4.5vw, 3rem); margin-bottom: 6px; }
.prose-updated { font-family: var(--mono); font-size: 12px; letter-spacing: .06em; color: var(--ink-3); margin-bottom: 40px; display: block; }
.prose-page h2 { font-size: 1.5rem; margin-top: 48px; margin-bottom: 14px; }
.prose-page h3 { font-size: 1.1rem; margin-top: 28px; margin-bottom: 10px; }
.prose-page p { margin-bottom: 16px; max-width: 68ch; }
.prose-page ul { margin: 0 0 16px 0; display: flex; flex-direction: column; gap: 10px; }
.prose-page ul li { padding-left: 22px; position: relative; }
.prose-page ul li::before {
  content: "";
  position: absolute;
  left: 4px;
  top: 10px;
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--wax);
}
.prose-page a { color: var(--postmark); text-decoration: underline; text-underline-offset: 3px; }
.prose-page a:hover { color: var(--wax); }
/* .btn links (e.g. the support-card email button) opt back out of the
   prose underline + link-color treatment — `.prose-page a` otherwise beats
   `.btn-primary`/`.btn-ghost` on specificity and both strips the pill
   styling's white text and adds an underline. Restate both explicitly. */
.prose-page a.btn { text-decoration: none; }
.prose-page .btn-primary { color: var(--paper); }
.prose-page .btn-ghost { color: var(--ink-2); }
.prose-page .btn-ghost:hover { color: var(--wax); }
/* Same specificity collision as .btn above: `.prose-page a` (0,1,1) otherwise
   beats `.back-link` (0,1,0) and repaints the muted mono back-link as an
   underlined postmark-blue prose link. Restate it to honor the quiet
   affordance the .back-link block designs. */
.prose-page a.back-link { color: var(--ink-3); text-decoration: none; }
.prose-page a.back-link:hover { color: var(--wax); }
.prose-note {
  background: var(--paper-2);
  border: 1px solid var(--paper-edge);
  border-radius: 10px;
  padding: 18px 20px;
  margin: 20px 0;
  font-size: .92rem;
  color: var(--ink-3);
}
.prose-note strong { color: var(--ink-2); }
.back-link {
  display: flex;
  width: max-content;
  align-items: center;
  gap: 6px;
  font-family: var(--mono);
  font-size: 12px;
  letter-spacing: .06em;
  text-transform: uppercase;
  color: var(--ink-3);
  margin-bottom: 32px;
}
.back-link:hover { color: var(--wax); }
.back-link svg { width: 14px; height: 14px; }

/* ─── Support page specifics ─── */
.support-intro { margin-top: 18px; }
.support-card {
  background: var(--paper-2);
  border: 1px solid var(--paper-edge);
  border-radius: var(--radius-card);
  padding: 36px;
  margin-top: 32px;
  text-align: center;
}
.support-card .btn { margin-top: 20px; }
.support-address {
  display: block;
  margin-top: 14px;
  color: var(--ink-3);
  overflow-wrap: anywhere;
}
.support-card .mono { display: block; margin-top: 6px; }
