/* Flick — hand-written CSS, indie-craft direction.
   References: Raycast, Paper, Chapter. Off-black canvas, parchment ink,
   serif-italic display, monoline icons. Pink is treated as expensive —
   used once or twice per page, never as a wash.

   Browser targets: Safari 16+, Chrome 110+, Firefox 110+. */

:root {
  /* Default: dark scheme. Light variants below in @media block. */
  --canvas:   #0F0C13;       /* warm-tinted black, not pure */
  --surface:  #181420;
  --strip:    #F1EBE0;       /* the inverse-color strip — cream on dark page */
  --strip-ink: #1A1424;

  --ink:      #F1EBE0;
  --ink-soft: #C8C0B5;
  --ink-mute: #877F8E;
  --rule:     rgba(241, 235, 224, 0.10);
  --rule-strong: rgba(241, 235, 224, 0.22);

  /* Hero halo + pink underline — slightly different opacity per scheme. */
  --halo-pink: rgba(255, 107, 245, 0.18);
  --halo-pink-fade: rgba(255, 107, 245, 0.05);

  /* Brand — used very sparingly. */
  --pink:     #FF6BF5;
  --pink-deep: #C13BD0;
  --gold:     #E5BC7A;
}

@media (prefers-color-scheme: light) {
  :root {
    --canvas:   #F5EFE6;     /* warm cream / parchment */
    --surface:  #EDE5D7;
    --strip:    #1A1424;     /* strip flips: dark band on a cream page */
    --strip-ink: #F1EBE0;

    --ink:      #1A1424;     /* deep warm ink */
    --ink-soft: #4A3F50;
    --ink-mute: #8B7F8E;
    --rule:     rgba(26, 20, 36, 0.10);
    --rule-strong: rgba(26, 20, 36, 0.22);

    --halo-pink: rgba(193, 59, 208, 0.14);   /* deeper pink, lower α — visible on cream */
    --halo-pink-fade: rgba(193, 59, 208, 0.04);
  }
}

/* Manual override via the toggle button. Specificity (0,1,1) beats the
   plain :root + @media rules above, so an explicit data-theme wins
   regardless of what the system prefers. */
:root[data-theme="dark"] {
  --canvas:   #0F0C13;
  --surface:  #181420;
  --strip:    #F1EBE0;
  --strip-ink: #1A1424;
  --ink:      #F1EBE0;
  --ink-soft: #C8C0B5;
  --ink-mute: #877F8E;
  --rule:     rgba(241, 235, 224, 0.10);
  --rule-strong: rgba(241, 235, 224, 0.22);
  --halo-pink: rgba(255, 107, 245, 0.18);
  --halo-pink-fade: rgba(255, 107, 245, 0.05);
}
:root[data-theme="light"] {
  --canvas:   #F5EFE6;
  --surface:  #EDE5D7;
  --strip:    #1A1424;
  --strip-ink: #F1EBE0;
  --ink:      #1A1424;
  --ink-soft: #4A3F50;
  --ink-mute: #8B7F8E;
  --rule:     rgba(26, 20, 36, 0.10);
  --rule-strong: rgba(26, 20, 36, 0.22);
  --halo-pink: rgba(193, 59, 208, 0.14);
  --halo-pink-fade: rgba(193, 59, 208, 0.04);
}

  /* Type */
  --serif:    "Fraunces", "Hiragino Mincho ProN", "PingFang SC",
              "Songti SC", ui-serif, Georgia, serif;
  --sans:     "Geist", "PingFang SC", "Hiragino Sans",
              "Apple SD Gothic Neo", system-ui, -apple-system, sans-serif;
  --mono:     "Geist Mono", "SF Mono", ui-monospace, Menlo, Consolas, monospace;

  /* Spacing scale (modular). */
  --pad-section: clamp(5rem, 12vw, 10rem);
  --pad-section-tight: clamp(4rem, 8vw, 7rem);
}

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

html {
  -webkit-text-size-adjust: 100%;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  text-rendering: optimizeLegibility;
  scroll-behavior: smooth;
  /* Tells the browser we support both — affects form controls, scrollbars,
     and the default light/dark UA behaviors. */
  color-scheme: light dark;
  /* Without this, Safari's rubber-band overscroll and the browser's UA
     default html background bleed through whenever the manual toggle
     disagrees with the system preference — visible as a white/black edge. */
  background: var(--canvas);
}

/* When the manual toggle is active, also lock color-scheme to that choice
   so scrollbars and UA defaults match the page, not the system. */
:root[data-theme="dark"]  { color-scheme: dark;  }
:root[data-theme="light"] { color-scheme: light; }

body {
  background: var(--canvas);
  color: var(--ink);
  font-family: var(--sans);
  font-size: 17px;
  font-weight: 400;
  line-height: 1.55;
  font-feature-settings: "ss01", "cv11";  /* Geist's alt characters */
  min-height: 100vh;
  overflow-x: hidden;
}

a { color: inherit; text-decoration: none; }
img, svg { display: block; max-width: 100%; }
ul, ol { list-style: none; }
button { font: inherit; cursor: pointer; }

/* ---------- Grain texture overlay ----------
   A tiny SVG noise tile, repeated, masked at low opacity. Adds the
   "printed-on-paper" feel that pure flat backgrounds lack. */
.grain {
  position: fixed; inset: 0; z-index: 1;
  pointer-events: none;
  opacity: 0.06;
  background-image: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' width='160' height='160'><filter id='n'><feTurbulence type='fractalNoise' baseFrequency='0.9' numOctaves='2' stitchTiles='stitch'/></filter><rect width='100%' height='100%' filter='url(%23n)' opacity='0.5'/></svg>");
  mix-blend-mode: overlay;
}

/* ---------- Typography primitives ---------- */

.overline,
h4.overline {
  font-family: var(--mono);
  font-size: 0.78rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  font-weight: 500;
  color: var(--ink-mute);
}
.overline-inline {
  font-family: var(--mono);
  font-size: 0.78em;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--ink-mute);
}

.section-title {
  font-family: var(--serif);
  font-style: italic;
  font-weight: 500;
  font-size: clamp(2.5rem, 6vw, 4.25rem);
  line-height: 1.02;
  letter-spacing: -0.02em;
  color: var(--ink);
  margin-top: 0.75rem;
  font-variation-settings: "opsz" 96, "SOFT" 30;
}

.section-sub {
  font-family: var(--sans);
  font-size: 1.0625rem;
  color: var(--ink-soft);
  max-width: 32rem;
  margin-top: 1rem;
}

.lede {
  font-family: var(--serif);
  font-style: normal;
  font-size: clamp(1.125rem, 1.6vw, 1.375rem);
  line-height: 1.55;
  font-weight: 400;
  color: var(--ink-soft);
  margin-top: 1.5rem;
  max-width: 36rem;
  font-variation-settings: "opsz" 14;
}

/* Underlined links — editorial, 2px offset. */
.link-underline {
  color: var(--ink);
  font-family: var(--sans);
  font-weight: 500;
  font-size: 1rem;
  border-bottom: 1px solid var(--rule-strong);
  padding-bottom: 0.125rem;
  transition: border-color 0.2s, color 0.2s;
}
.link-underline:hover {
  color: var(--pink);
  border-color: var(--pink);
}

/* ---------- Layout ---------- */
.container {
  max-width: 72rem;
  margin: 0 auto;
  padding: 0 1.5rem;
  position: relative;
  z-index: 2;
}
.container-narrow {
  max-width: 44rem;
  margin: 0 auto;
  padding: 0 1.5rem;
  position: relative;
  z-index: 2;
}
@media (min-width: 768px) {
  .container, .container-narrow { padding: 0 2rem; }
}

/* ---------- Header ---------- */
.site-header {
  position: sticky; top: 0; z-index: 50;
  backdrop-filter: blur(20px) saturate(140%);
  -webkit-backdrop-filter: blur(20px) saturate(140%);
  background: color-mix(in oklab, var(--canvas) 75%, transparent);
  border-bottom: 1px solid var(--rule);
}
.site-header nav {
  max-width: 72rem; margin: 0 auto;
  padding: 0 1.5rem; height: 4.25rem;
  display: flex; align-items: center; justify-content: space-between;
  gap: 1.5rem;
}
@media (min-width: 768px) {
  .site-header nav { padding: 0 2rem; }
}

.brand {
  display: inline-flex; align-items: center; gap: 0.625rem;
  color: var(--ink);
}
.brand-logo {
  width: 2rem; height: 2rem;
  transition: transform 0.5s cubic-bezier(0.34, 1.56, 0.64, 1);
}
.brand:hover .brand-logo {
  transform: rotate(-7deg) scale(1.05);
}
.brand-name {
  font-family: var(--serif);
  font-style: italic;
  font-weight: 600;
  font-size: 1.375rem;
  letter-spacing: -0.015em;
  font-variation-settings: "opsz" 32, "SOFT" 50;
}

.nav-links {
  display: none; gap: 2rem;
  font-size: 0.9375rem; font-weight: 400;
  color: var(--ink-soft);
}
.nav-links a {
  transition: color 0.2s;
  border-bottom: 1px solid transparent;
  padding-bottom: 1px;
}
.nav-links a:hover {
  color: var(--ink);
  border-bottom-color: var(--rule-strong);
}
@media (min-width: 768px) { .nav-links { display: flex; } }

.nav-actions { display: flex; align-items: center; gap: 0.5rem; }

/* ---------- Theme toggle ---------- */
.theme-toggle {
  width: 2.25rem; height: 2.25rem;
  display: inline-flex; align-items: center; justify-content: center;
  background: transparent;
  border: 1px solid transparent;
  border-radius: 9999px;
  color: var(--ink-soft);
  cursor: pointer;
  transition: color 0.2s, border-color 0.2s, background 0.2s, transform 0.4s cubic-bezier(0.34, 1.56, 0.64, 1);
}
.theme-toggle:hover {
  color: var(--ink);
  border-color: var(--rule);
}
.theme-toggle:active {
  transform: rotate(-20deg);
}
.theme-toggle svg { width: 1rem; height: 1rem; }

/* Show the icon that REPRESENTS THE TARGET STATE — i.e. if currently dark,
   show the sun (clicking will go to light), and vice versa. */
.theme-sun, .theme-moon { display: none; }
@media (prefers-color-scheme: dark) {
  :root:not([data-theme]) .theme-toggle .theme-sun { display: block; }
}
@media (prefers-color-scheme: light) {
  :root:not([data-theme]) .theme-toggle .theme-moon { display: block; }
}
:root[data-theme="dark"]  .theme-toggle .theme-sun  { display: block; }
:root[data-theme="light"] .theme-toggle .theme-moon { display: block; }

/* ---------- Language switcher ---------- */
.lang-switcher { position: relative; }
.lang-switcher summary {
  list-style: none; cursor: pointer;
  display: inline-flex; align-items: center; gap: 0.4rem;
  padding: 0.4rem 0.75rem; border-radius: 9999px;
  font-size: 0.875rem; font-weight: 400;
  color: var(--ink-soft);
  transition: background 0.2s, color 0.2s;
  border: 1px solid transparent;
}
.lang-switcher summary::-webkit-details-marker { display: none; }
.lang-switcher summary:hover,
.lang-switcher[open] summary {
  color: var(--ink);
  border-color: var(--rule);
}
.lang-switcher .menu {
  position: absolute; right: 0; top: calc(100% + 0.375rem);
  min-width: 10rem; padding: 0.375rem 0;
  background: var(--surface);
  border: 1px solid var(--rule);
  border-radius: 0.75rem;
  box-shadow: 0 16px 40px -12px rgba(0,0,0,0.5);
  z-index: 60;
}
.lang-switcher .menu a {
  display: block; padding: 0.5rem 1rem;
  font-size: 0.9rem; color: var(--ink-soft);
  transition: background 0.15s, color 0.15s;
}
.lang-switcher .menu a:hover {
  background: color-mix(in oklab, var(--ink) 6%, transparent);
  color: var(--ink);
}
.lang-switcher .menu a.current {
  color: var(--ink);
}
.lang-switcher .menu a.current::before {
  content: "·";
  color: var(--pink);
  margin-right: 0.5em;
}

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center;
  gap: 0.5rem;
  padding: 0.55rem 1.1rem;
  border-radius: 9999px;
  font-family: var(--sans);
  font-size: 0.9375rem; font-weight: 500;
  border: 1px solid transparent;
  transition: transform 0.15s ease, background 0.2s, color 0.2s;
  cursor: pointer;
  white-space: nowrap;
}
.btn-primary {
  background: var(--ink);
  color: var(--canvas);
}
.btn-primary:hover {
  transform: translateY(-1px);
  /* Slight lift toward extremes — pure white in dark mode, pure black in
     light mode. color-mix gives us the right direction for either scheme. */
  background: color-mix(in oklab, var(--ink) 80%, white 20%);
}
@media (prefers-color-scheme: light) {
  .btn-primary:hover {
    background: color-mix(in oklab, var(--ink) 80%, black 20%);
  }
}
.btn-large {
  padding: 0.85rem 1.4rem;
  font-size: 1rem;
}
.btn .apple-icon { width: 1rem; height: 1rem; }

.btn-disabled,
.btn-disabled:hover {
  background: color-mix(in oklab, var(--ink) 35%, transparent);
  color: var(--canvas);
  cursor: not-allowed;
  transform: none;
  pointer-events: none;
}

.header-cta { display: none; }
@media (min-width: 640px) { .header-cta { display: inline-flex; } }

/* ---------- Hero ---------- */
.hero {
  padding: clamp(4rem, 9vw, 7rem) 0 var(--pad-section-tight);
  position: relative;
}
.hero::before {
  /* Single soft pink wash bleeding from the upper-right — the entire
     "color" budget of the hero is in this one halo. */
  content: "";
  position: absolute;
  top: -10%; right: -15%;
  width: 60vw; height: 60vw; max-width: 900px; max-height: 900px;
  background: radial-gradient(closest-side,
    var(--halo-pink),
    var(--halo-pink-fade) 50%,
    transparent 75%);
  filter: blur(40px);
  pointer-events: none;
  z-index: 1;
}

.hero-inner {
  display: grid;
  grid-template-columns: 1fr;
  gap: 3rem;
  align-items: center;
  position: relative;
  z-index: 2;
}
@media (min-width: 960px) {
  .hero-inner {
    grid-template-columns: minmax(0, 1fr) minmax(0, 0.9fr);
    gap: 4rem;
  }
}

.hero-text { max-width: 36rem; }

.hero-title {
  font-family: var(--serif);
  font-style: italic;
  font-weight: 500;
  font-size: clamp(2.75rem, 7.5vw, 5.5rem);
  line-height: 1.0;
  letter-spacing: -0.025em;
  margin-top: 1.5rem;
  font-variation-settings: "opsz" 144, "SOFT" 30;
  color: var(--ink);
}
.hero-title-line { display: block; }
.hero-title-line:nth-child(2) {
  /* Subtle warm tint on the middle line — editorial color contrast
     without screaming. Derived from --ink so it flips with the scheme. */
  color: color-mix(in oklab, var(--ink) 85%, var(--pink) 15%);
}

.hero-tagline {
  font-family: var(--sans);
  font-size: 1.0625rem;
  line-height: 1.55;
  color: var(--ink-soft);
  margin-top: 1.75rem;
  max-width: 32rem;
}
@media (min-width: 640px) {
  .hero-tagline { font-size: 1.125rem; }
}

.cta-row {
  display: flex; flex-wrap: wrap;
  gap: 1.25rem;
  align-items: center;
  margin-top: 2.25rem;
}

.hero-author {
  font-family: var(--serif);
  font-style: italic;
  font-weight: 400;
  font-size: 0.95rem;
  color: var(--ink-mute);
  margin-top: 2.5rem;
  letter-spacing: 0.01em;
  font-variation-settings: "opsz" 12;
}

/* ---------- Hero deck illustration ---------- */
.hero-art {
  position: relative;
  max-width: 28rem;
  margin: 0 auto;
}
.hero-deck {
  width: 100%;
  height: auto;
  filter: drop-shadow(0 30px 40px rgba(0, 0, 0, 0.4));
}
.deck-card {
  transform-origin: 210px 260px;
  transition: transform 0.7s cubic-bezier(0.22, 1, 0.36, 1);
}
.hero-art:hover .deck-card-back  { transform: rotate(12deg) translate(-50px 30px); }
.hero-art:hover .deck-card-mid   { transform: rotate(-5deg) translate(-15px 5px); }
.hero-art:hover .deck-card-top   { transform: rotate(8deg) translate(70px -20px); }
.deck-arrow { opacity: 0.7; }

@keyframes deck-rise {
  from { opacity: 0; transform: translateY(20px); }
  to   { opacity: 1; transform: translateY(0); }
}
.hero-art { animation: deck-rise 1.1s 0.2s cubic-bezier(0.22, 1, 0.36, 1) both; }
@media (prefers-reduced-motion: reduce) {
  .hero-art { animation: none; }
  .deck-card { transition: none; }
}

/* ---------- Why section ---------- */
.why {
  padding: var(--pad-section-tight) 0;
  border-top: 1px solid var(--rule);
}
.why .section-title { max-width: 28rem; }

/* ---------- Features ---------- */
.features {
  padding: var(--pad-section) 0;
  border-top: 1px solid var(--rule);
}

.feature-list {
  display: flex;
  flex-direction: column;
  gap: 4rem;
  margin-top: 4rem;
}

.feature-row {
  display: grid;
  grid-template-columns: auto auto 1fr;
  align-items: start;
  gap: 1.25rem 1.5rem;
  padding-top: 2rem;
  border-top: 1px solid var(--rule);
}
.feature-row:first-child { border-top: none; padding-top: 0; }

.feature-num {
  font-family: var(--mono);
  font-size: 0.85rem;
  color: var(--ink-mute);
  letter-spacing: 0.05em;
  padding-top: 0.625rem;
}

.feature-icon {
  width: 3rem; height: 3rem;
  display: flex; align-items: center; justify-content: center;
  color: var(--ink);
  border: 1px solid var(--rule-strong);
  border-radius: 0.625rem;
  background: color-mix(in oklab, var(--ink) 2%, transparent);
  flex-shrink: 0;
}
.feature-icon svg { width: 1.5rem; height: 1.5rem; }

.feature-text { max-width: 36rem; }
.feature-text h3 {
  font-family: var(--serif);
  font-style: italic;
  font-weight: 500;
  font-size: clamp(1.5rem, 2.2vw, 1.85rem);
  line-height: 1.15;
  letter-spacing: -0.015em;
  color: var(--ink);
  font-variation-settings: "opsz" 32;
}
.feature-text p {
  margin-top: 0.625rem;
  font-size: 1rem;
  line-height: 1.6;
  color: var(--ink-soft);
}

/* ---------- Pricing ---------- */
.pricing {
  padding: var(--pad-section) 0;
  border-top: 1px solid var(--rule);
  text-align: left;
}

.price-block {
  margin-top: 3rem;
  display: flex;
  align-items: baseline;
  gap: 1.25rem;
  flex-wrap: wrap;
}
.price-figure {
  font-family: var(--serif);
  font-style: italic;
  font-weight: 500;
  font-size: clamp(5rem, 12vw, 8rem);
  line-height: 0.95;
  letter-spacing: -0.04em;
  color: var(--ink);
  font-variation-settings: "opsz" 144;
  position: relative;
  display: inline-block;
}
.price-figure::after {
  /* The single pink moment on the page — an editorial brushstroke under
     the price, drawn with an inline gradient masked to the bottom edge. */
  content: "";
  position: absolute;
  left: 6%; right: 6%; bottom: 0.4rem;
  height: 0.5rem;
  background: linear-gradient(95deg, var(--pink) 0%, var(--pink-deep) 100%);
  opacity: 0.7;
  border-radius: 999px;
  z-index: -1;
  transform: skewX(-3deg);
}
.price-unit {
  font-family: var(--mono);
  font-size: 0.85rem;
  letter-spacing: 0.06em;
  color: var(--ink-mute);
  text-transform: lowercase;
}

/* Italic marginalia next to the price — feels like a footnote handwritten
   in the margin of a magazine spread. */
.price-aside {
  margin-top: 2rem;
  max-width: 32rem;
  padding-left: 1.5rem;
  border-left: 1px solid var(--rule-strong);
  font-family: var(--serif);
  font-style: italic;
  font-weight: 400;
  font-size: 1.0625rem;
  line-height: 1.55;
  color: var(--ink-soft);
  font-variation-settings: "opsz" 16;
}

.price-bullets {
  margin-top: 2rem;
  display: flex; flex-direction: column;
  gap: 0.75rem;
  max-width: 32rem;
}
.price-bullets li {
  font-size: 1rem;
  color: var(--ink-soft);
  padding-left: 1.5rem;
  position: relative;
}
.price-bullets li::before {
  content: "—";
  position: absolute;
  left: 0; top: 0;
  color: var(--ink-mute);
  font-family: var(--serif);
}

.pricing .btn-large {
  margin-top: 2.5rem;
}

.price-compare {
  margin-top: 2.5rem;
  font-size: 0.9rem;
  color: var(--ink-mute);
  max-width: 32rem;
  line-height: 1.6;
}
.price-compare em {
  font-style: italic;
  font-family: var(--serif);
  font-weight: 500;
  color: var(--ink-soft);
}

/* ---------- Privacy strip (cream inverse) ---------- */
.privacy-strip {
  padding: var(--pad-section-tight) 0;
  background: var(--strip);
  color: var(--strip-ink);
  border-top: 1px solid var(--rule);
  border-bottom: 1px solid var(--rule);
}
.privacy-strip .inner { text-align: left; }
.strip-title {
  font-family: var(--serif);
  font-style: italic;
  font-weight: 500;
  font-size: clamp(2rem, 4vw, 2.75rem);
  line-height: 1.1;
  letter-spacing: -0.02em;
  font-variation-settings: "opsz" 96;
}
.strip-body {
  margin-top: 1.25rem;
  font-size: 1.0625rem;
  line-height: 1.6;
  /* Derived from --strip-ink at ~70% — flips correctly with the scheme,
     since --strip-ink itself flips. */
  color: color-mix(in oklab, var(--strip-ink) 70%, transparent);
  max-width: 36rem;
}

/* ---------- Outro — the P.S. ---------- */
.outro {
  padding: var(--pad-section-tight) 0 calc(var(--pad-section-tight) * 0.6);
}
.outro-ps {
  font-family: var(--serif);
  font-style: italic;
  font-weight: 400;
  font-size: clamp(1.0625rem, 1.4vw, 1.25rem);
  line-height: 1.65;
  color: var(--ink-soft);
  max-width: 38rem;
  padding-left: 1.75rem;
  border-left: 2px solid var(--rule-strong);
  font-variation-settings: "opsz" 18;
}
.outro-ps::first-letter {
  /* tiny lift on the "P" of "P.S." — feels like the start of a letter */
  font-size: 1.1em;
  color: var(--ink);
}

/* ---------- Footer ---------- */
.site-footer {
  border-top: 1px solid var(--rule);
  padding: 4.5rem 0 3rem;
  background: var(--canvas);
}
.footer-grid {
  display: grid; gap: 2.5rem;
  grid-template-columns: 1fr;
  margin-bottom: 3rem;
}
@media (min-width: 640px) {
  .footer-grid {
    grid-template-columns: 1.4fr 1fr 1fr;
  }
}

.footer-brand-row {
  display: flex; align-items: center; gap: 0.625rem;
  margin-bottom: 0.875rem;
}
.footer-brand-col .brand-name { color: var(--ink); }

.footer-tagline {
  font-size: 0.95rem;
  color: var(--ink-soft);
  max-width: 18rem;
}
.footer-signature {
  margin-top: 0.875rem;
  font-family: var(--serif);
  font-style: italic;
  font-size: 0.95rem;
  color: var(--ink-mute);
  font-variation-settings: "opsz" 12;
}

.footer-grid h4 {
  margin-bottom: 1rem;
  color: var(--ink-mute);
}
.footer-grid ul {
  display: flex; flex-direction: column;
  gap: 0.625rem;
  font-size: 0.95rem;
}
.footer-grid a {
  color: var(--ink-soft);
  transition: color 0.15s;
  border-bottom: 1px solid transparent;
}
.footer-grid a:hover {
  color: var(--ink);
  border-bottom-color: var(--rule-strong);
}
.footer-grid a.current {
  color: var(--ink);
}

.footer-bottom {
  padding-top: 1.75rem;
  border-top: 1px solid var(--rule);
  display: flex; justify-content: space-between; align-items: center;
  flex-wrap: wrap; gap: 1rem;
  font-family: var(--mono);
  font-size: 0.78rem;
  letter-spacing: 0.05em;
  color: var(--ink-mute);
}
.footer-meta { color: var(--ink-soft); }

/* ---------- Privacy / Terms pages ---------- */
.privacy-main {
  max-width: 44rem; margin: 0 auto;
  padding: 5rem 1.5rem;
  position: relative; z-index: 2;
}
@media (min-width: 768px) {
  .privacy-main { padding: 6rem 2rem; }
}

.back-link {
  display: inline-block;
  font-family: var(--mono);
  font-size: 0.8rem; letter-spacing: 0.05em;
  color: var(--ink-mute);
  margin-bottom: 2.5rem;
  transition: color 0.15s;
}
.back-link:hover { color: var(--ink); }

.privacy-main h1 {
  font-family: var(--serif);
  font-style: italic;
  font-weight: 500;
  font-size: clamp(2.25rem, 5vw, 3.25rem);
  line-height: 1.05;
  letter-spacing: -0.02em;
  font-variation-settings: "opsz" 96, "SOFT" 30;
}
.privacy-main .updated {
  font-family: var(--mono);
  font-size: 0.8rem; letter-spacing: 0.05em;
  color: var(--ink-mute);
  margin-top: 0.75rem; margin-bottom: 3rem;
}

.prose {
  font-size: 1.0625rem;
  line-height: 1.7;
  color: var(--ink-soft);
}
.prose h2 {
  font-family: var(--serif);
  font-style: italic;
  font-weight: 500;
  font-size: 1.625rem;
  line-height: 1.2;
  margin-top: 2.75rem;
  margin-bottom: 1rem;
  letter-spacing: -0.015em;
  color: var(--ink);
  font-variation-settings: "opsz" 32;
}
.prose p { margin-bottom: 1.1rem; }
.prose ul {
  padding-left: 1.25rem;
  margin-bottom: 1.1rem;
}
.prose ul li {
  margin-bottom: 0.625rem;
  position: relative;
  padding-left: 0.75rem;
}
.prose ul li::before {
  content: "·";
  position: absolute;
  left: -0.5rem; top: 0;
  color: var(--ink-mute);
}
.prose strong {
  font-weight: 500;
  color: var(--ink);
}
.prose a {
  color: var(--ink);
  border-bottom: 1px solid var(--pink);
  transition: color 0.15s;
}
.prose a:hover { color: var(--pink); }
.prose code {
  font-family: var(--mono);
  font-size: 0.875em;
  background: var(--surface);
  padding: 0.125rem 0.375rem;
  border-radius: 0.25rem;
  border: 1px solid var(--rule);
}

/* ---------- Selection ---------- */
::selection {
  background: var(--pink);
  color: var(--canvas);
}
