/* ============================================================
   HLS Labs — site styles
   Design language: "Graphite acts · Evergreen signals"
   (derived from the Family OS design system)
   ============================================================ */

:root {
  /* Surfaces */
  --paper: #FAF8F3;        /* warm off-white */
  --white: #FFFFFF;
  --dark: #1B1714;         /* warm charcoal — matches app dark renders */
  --dark-2: #242019;

  /* Ink */
  --ink: #201E1B;
  --ink-2: #63615C;
  --ink-3: #8D8A83;
  --ink-inverse: #F2EFE9;
  --ink-inverse-2: #B9B4AB;

  /* Accent */
  --evergreen: #2F5D44;
  --evergreen-deep: #244835;
  --evergreen-bright: #7FAE93;
  --evergreen-tint: #EAF0EC;

  /* Member palette (decorative) */
  --sage: #7C9A6D;
  --dusty: #6E87A6;
  --ochre: #C2924C;
  --plum: #8B6F8F;
  --clay: #BC7F6F;
  --teal: #5E8D8A;

  /* Semantic (badges) */
  --amber-bg: #F4E3C0; --amber-ink: #7A5B1E;
  --green-bg: #DCEDE3; --green-ink: #2F5D44;
  --red-bg:   #F3DBD7; --red-ink:   #8C4437;

  /* Type */
  --font-head: "SF Pro Rounded", ui-rounded, -apple-system, BlinkMacSystemFont, "SF Pro Display", "Segoe UI", Inter, system-ui, sans-serif;
  --font-body: -apple-system, BlinkMacSystemFont, "SF Pro Text", "Segoe UI", Inter, system-ui, sans-serif;

  /* Layout */
  --max: 1140px;
  --r-card: 20px;
  --r-chip: 12px;
  --shadow-card: 0 2px 8px rgba(32, 30, 27, 0.06);
  --shadow-pop: 0 24px 60px -12px rgba(32, 30, 27, 0.18);

  /* --- Themed surfaces (everything below flips in dark) ---
     Evergreen is split in two on purpose. As a SIGNAL it must lift in dark to
     hold WCAG AA against a dark surface (the app does the same: #2F5D44 ->
     #7FAE93). As a SURFACE it must stay deep enough for light text to sit on
     it. One token cannot do both jobs. */
  --evergreen-surface: #2F5D44;
  --evergreen-surface-hover: #244835;
  --on-green: #FFFFFF;
  --on-green-soft: rgba(255, 255, 255, 0.82);
  --on-green-faint: rgba(255, 255, 255, 0.6);
  --field-bg: rgba(255, 255, 255, 0.14);
  --field-ring: rgba(255, 255, 255, 0.28);

  --nav-bg: rgba(250, 248, 243, 0.78);
  --hairline: rgba(32, 30, 27, 0.08);
  --ghost-ring: rgba(32, 30, 27, 0.22);
  --ghost-ring-hover: rgba(32, 30, 27, 0.5);
  --img-shadow: rgba(32, 30, 27, 0.12);
  --btn-primary-hover: #000000;
  --btn-light-bg: var(--paper);
  --btn-light-hover: #FFFFFF;
}

/* Dark theme.
   data-theme is always written explicitly by theme-init.js before first paint —
   including when the preference is "system", which it resolves itself. That is
   why there is no prefers-color-scheme block here: resolving in one place keeps
   these values defined once instead of twice, and rules out a flash of the
   wrong theme on load. */
:root[data-theme="dark"] {
  --paper: #211F1D;
  --white: #191817;
  --dark: #121110;
  --dark-2: #1B1A18;

  --ink: #F2F0EC;
  --ink-2: #B5B2AB;
  --ink-3: #8B8880;

  --evergreen: #7FAE93;
  --evergreen-deep: #9AC4AC;
  --evergreen-tint: #22302A;

  --amber-bg: #3F3521; --amber-ink: #E3B267;
  --green-bg: #24403C; --green-ink: #8CC7BF;
  --red-bg:   #402C28; --red-ink:   #DE9186;

  --evergreen-surface: #1F4231;
  --evergreen-surface-hover: #2A5540;
  --on-green: #F2F0EC;
  --on-green-soft: rgba(242, 240, 236, 0.82);
  --on-green-faint: rgba(242, 240, 236, 0.6);
  --field-bg: rgba(242, 240, 236, 0.10);
  --field-ring: rgba(242, 240, 236, 0.24);

  --nav-bg: rgba(25, 24, 23, 0.82);
  --hairline: rgba(242, 240, 236, 0.10);
  --ghost-ring: rgba(242, 240, 236, 0.26);
  --ghost-ring-hover: rgba(242, 240, 236, 0.55);
  --img-shadow: rgba(0, 0, 0, 0.55);
  --shadow-card: 0 2px 8px rgba(0, 0, 0, 0.35);
  --shadow-pop: 0 24px 60px -12px rgba(0, 0, 0, 0.6);
  --btn-primary-hover: #FFFFFF;
  --btn-light-bg: #F2F0EC;
  --btn-light-hover: #FFFFFF;

  color-scheme: dark;
}

/* ---------- Reset & base ---------- */
*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  font-family: var(--font-body);
  color: var(--ink);
  background: var(--white);
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
  line-height: 1.6;
}
img { max-width: 100%; height: auto; display: block; }
a { color: inherit; }
::selection { background: var(--evergreen-surface); color: var(--on-green); }

h1, h2, h3 {
  font-family: var(--font-head);
  line-height: 1.08;
  letter-spacing: -0.02em;
  margin: 0 0 0.4em;
  font-weight: 700;
  text-wrap: balance;
}
p { margin: 0 0 1em; }

.container { max-width: var(--max); margin: 0 auto; padding: 0 24px; }

/* ---------- Type scale ---------- */
.display   { font-size: clamp(2.6rem, 6.4vw, 4.6rem); font-weight: 800; }
.headline  { font-size: clamp(2rem, 4.6vw, 3.2rem); }
.statement { font-size: clamp(1.7rem, 4vw, 2.7rem); }
.sub {
  font-size: clamp(1.05rem, 1.8vw, 1.3rem);
  color: var(--ink-2);
  line-height: 1.55;
  max-width: 34em;
}
.eyebrow {
  font-family: var(--font-head);
  font-size: 0.8rem;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--evergreen);
  margin: 0 0 1.1em;
}
.dark-section .eyebrow { color: var(--evergreen-bright); }
.fine { font-size: 0.85rem; color: var(--ink-3); }

/* ---------- Nav ---------- */
.nav {
  position: fixed; top: 0; left: 0; right: 0; z-index: 100;
  backdrop-filter: saturate(1.4) blur(18px);
  -webkit-backdrop-filter: saturate(1.4) blur(18px);
  background: var(--nav-bg);
  transition: box-shadow 0.3s ease;
}
.nav.scrolled { box-shadow: 0 1px 0 var(--hairline); }
.nav-inner {
  max-width: var(--max); margin: 0 auto; padding: 0 24px;
  height: 64px; display: flex; align-items: center; gap: 28px;
}
.brand {
  display: flex; align-items: center; gap: 10px;
  font-family: var(--font-head); font-weight: 800; font-size: 1.05rem;
  text-decoration: none; letter-spacing: -0.01em;
}
.brand svg { width: 26px; height: 26px; }
.brand .by { font-weight: 500; color: var(--ink-3); font-size: 0.85rem; margin-left: 2px; }
.nav-links { margin-left: auto; display: flex; align-items: center; gap: 26px; }
.nav-links a {
  text-decoration: none; font-size: 0.95rem; font-weight: 500; color: var(--ink-2);
  transition: color 0.2s;
}
.nav-links a:hover { color: var(--ink); }
@media (max-width: 640px) { .nav-links a.hide-sm { display: none; } }

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  font-family: var(--font-head); font-weight: 700; font-size: 1rem;
  padding: 14px 26px; border-radius: 999px; text-decoration: none;
  border: none; cursor: pointer; transition: transform 0.15s ease, background 0.2s, opacity 0.2s;
}
.btn:active { transform: scale(0.98); }
.btn-primary { background: var(--ink); color: var(--paper); }
.btn-primary:hover { background: var(--btn-primary-hover); }
.btn-green { background: var(--evergreen-surface); color: var(--on-green); }
.btn-green:hover { background: var(--evergreen-surface-hover); }
.btn-ghost { background: transparent; color: var(--ink); box-shadow: inset 0 0 0 1.5px var(--ghost-ring); }
.btn-ghost:hover { box-shadow: inset 0 0 0 1.5px var(--ghost-ring-hover); }
.btn-sm { padding: 10px 20px; font-size: 0.92rem; }
.btn-light { background: var(--btn-light-bg); color: #201E1B; }
.btn-light:hover { background: var(--btn-light-hover); }

/* ---------- Sections ---------- */
section { padding: clamp(72px, 10vw, 128px) 0; }
.section-paper { background: var(--paper); }
.section-white { background: var(--white); }
.dark-section { background: var(--dark); color: var(--ink-inverse); }
.dark-section .sub, .dark-section p { color: var(--ink-inverse-2); }
.section-green { background: var(--evergreen-surface); color: var(--on-green); }

/* ---------- Hero ---------- */
.hero { padding-top: clamp(120px, 16vw, 180px); overflow: hidden; }
.hero-grid {
  display: grid; grid-template-columns: 1.1fr 0.9fr;
  gap: clamp(32px, 5vw, 72px); align-items: center;
}
.hero-copy .btn-row { display: flex; gap: 14px; flex-wrap: wrap; margin-top: 30px; }
.hero-phone { position: relative; display: flex; justify-content: center; }
.hero-phone img {
  width: min(400px, 88%);
  filter: drop-shadow(0 30px 60px var(--img-shadow));
}
@media (max-width: 880px) {
  .hero-grid { grid-template-columns: 1fr; text-align: center; }
  .hero-copy .btn-row { justify-content: center; }
  .sub { margin-inline: auto; }
}

/* Status pill */
.pill {
  display: inline-flex; align-items: center; gap: 8px;
  background: var(--evergreen-tint); color: var(--evergreen);
  font-family: var(--font-head); font-weight: 700; font-size: 0.8rem;
  letter-spacing: 0.06em; text-transform: uppercase;
  padding: 7px 14px; border-radius: 999px; margin-bottom: 26px;
}
.pill .dot { width: 7px; height: 7px; border-radius: 50%; background: var(--evergreen); }

/* ---------- Principle strip ---------- */
.strip { border-top: 1px solid var(--hairline); }
.strip-grid {
  display: grid; grid-template-columns: repeat(4, 1fr); gap: 28px;
  padding: 40px 0;
}
.strip-item { font-size: 0.95rem; color: var(--ink-2); line-height: 1.45; }
.strip-item strong {
  display: block; font-family: var(--font-head); color: var(--ink);
  font-size: 1rem; margin-bottom: 4px;
}
.strip-item .tick { color: var(--evergreen); margin-right: 6px; }
@media (max-width: 880px) { .strip-grid { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 520px) { .strip-grid { grid-template-columns: 1fr; gap: 18px; } }

/* ---------- Big statement ---------- */
.statement-block { max-width: 880px; }
.statement-block .muted { color: var(--ink-3); }
.statement-block .accent { color: var(--evergreen); }

/* ---------- Steps ---------- */
.steps { display: grid; grid-template-columns: repeat(3, 1fr); gap: 22px; margin-top: 44px; }
.step {
  background: var(--white); border-radius: var(--r-card); padding: 30px 28px;
  box-shadow: var(--shadow-card);
}
.step .num {
  font-family: var(--font-head); font-weight: 800; font-size: 0.9rem;
  color: var(--evergreen); letter-spacing: 0.1em; margin-bottom: 14px; display: block;
}
.step h3 { font-size: 1.25rem; margin-bottom: 8px; }
.step p { color: var(--ink-2); font-size: 0.98rem; margin: 0; }
@media (max-width: 880px) { .steps { grid-template-columns: 1fr; } }

/* ---------- Feature splits ---------- */
.split {
  display: grid; grid-template-columns: 1fr 1fr;
  gap: clamp(36px, 6vw, 90px); align-items: center;
}
.split.flip .split-media { order: 2; }
.split-media { display: flex; justify-content: center; }
.split-media img {
  width: min(380px, 92%);
  filter: drop-shadow(0 24px 48px var(--img-shadow));
}
.split-copy h2 { font-size: clamp(1.8rem, 3.6vw, 2.6rem); }
.split-copy p { color: var(--ink-2); font-size: 1.05rem; max-width: 32em; }
.dark-section .split-copy p { color: var(--ink-inverse-2); }
@media (max-width: 880px) {
  .split, .split.flip { grid-template-columns: 1fr; }
  .split.flip .split-media { order: 0; }
}

/* Diff demo line */
.diff-line {
  font-size: 1.02rem; background: var(--paper); border-radius: var(--r-chip);
  padding: 14px 18px; display: inline-block; margin-top: 6px;
}
.diff-line .old { text-decoration: line-through; color: var(--ink-3); }
.diff-line .new { font-weight: 700; }
.badge {
  display: inline-block; font-family: var(--font-head); font-weight: 700;
  font-size: 0.7rem; letter-spacing: 0.08em; padding: 4px 10px; border-radius: 8px;
  vertical-align: 2px; margin-right: 8px;
}
.badge-moved { background: var(--amber-bg); color: var(--amber-ink); }
.badge-new { background: var(--green-bg); color: var(--green-ink); }
.badge-cancelled { background: var(--red-bg); color: var(--red-ink); }

/* ---------- Triptych ---------- */
.triptych-head { max-width: 760px; margin-bottom: 56px; }
.triptych { display: grid; grid-template-columns: repeat(3, 1fr); gap: 30px; align-items: start; }
.triptych figure { margin: 0; text-align: center; }
.triptych img {
  width: min(300px, 100%);
  border-radius: 18px;
  filter: drop-shadow(0 18px 40px var(--img-shadow));
}
.triptych figcaption {
  margin-top: 18px; font-size: 0.95rem; color: var(--ink-2); line-height: 1.45;
}
.triptych figcaption strong { color: var(--ink); font-family: var(--font-head); display: block; }
.triptych .step-no {
  display: inline-flex; width: 26px; height: 26px; border-radius: 50%;
  background: var(--evergreen-surface); color: var(--on-green); font-family: var(--font-head);
  font-weight: 700; font-size: 0.85rem; align-items: center; justify-content: center;
  margin-bottom: 10px;
}
@media (max-width: 880px) { .triptych { grid-template-columns: 1fr; gap: 48px; } }

/* ---------- Dark feature section ---------- */
.dark-grid {
  display: grid; grid-template-columns: 1.05fr 0.95fr;
  gap: clamp(36px, 6vw, 80px); align-items: center;
}
.notif-stack { display: flex; flex-direction: column; gap: 26px; align-items: center; }
.notif-stack .card-img { width: min(460px, 100%); border-radius: 22px; }
.notif-stack .phone-img { width: min(300px, 76%); border-radius: 28px; }
.darkmode-phone img { width: min(360px, 90%); border-radius: 34px; }
@media (max-width: 880px) { .dark-grid { grid-template-columns: 1fr; } }
.dark-grid + .dark-grid { margin-top: clamp(72px, 9vw, 120px); }

/* Real beta screenshots (frameless captures) */
.real-stack { display: flex; flex-direction: column; gap: 24px; align-items: center; }
.screen-real {
  border-radius: 26px;
  box-shadow: 0 0 0 1px rgba(242, 239, 233, 0.09), 0 24px 60px rgba(0, 0, 0, 0.55);
}
.real-stack .wide { width: min(440px, 100%); }
.real-stack .tall { width: min(320px, 82%); }
.real-caption { font-size: 0.85rem; color: var(--ink-3); text-align: center; margin-top: 4px; }

/* ---------- Trust cards ---------- */
.trust-cards { display: grid; grid-template-columns: repeat(3, 1fr); gap: 22px; margin-top: 48px; }
.trust-card {
  background: var(--white); border-radius: var(--r-card); padding: 28px;
  box-shadow: var(--shadow-card);
}
.trust-card h3 { font-size: 1.15rem; display: flex; align-items: center; gap: 10px; }
.trust-card p { color: var(--ink-2); font-size: 0.95rem; margin: 0; }
.trust-card .ico {
  width: 34px; height: 34px; border-radius: 10px; flex: none;
  display: inline-flex; align-items: center; justify-content: center;
  background: var(--evergreen-tint); color: var(--evergreen);
}
@media (max-width: 880px) { .trust-cards { grid-template-columns: 1fr; } }

/* ---------- Waitlist ---------- */
.waitlist-inner { max-width: 640px; margin: 0 auto; text-align: center; }
.waitlist-inner h2 { color: var(--on-green); }
.waitlist-inner p { color: var(--on-green-soft); }
.waitlist-form { display: flex; flex-wrap: wrap; gap: 12px; margin: 34px 0 14px; }
/* Turnstile takes its own row under the field. With appearance=interaction-only
   it renders nothing for legitimate visitors, so this collapses to zero height. */
.waitlist-turnstile { flex: 0 0 100%; display: flex; justify-content: center; }
.waitlist-turnstile:empty { display: none; }
.waitlist-form input[type="email"] {
  flex: 1; min-width: 0; font-size: 1rem; font-family: var(--font-body);
  padding: 15px 20px; border-radius: 999px; border: none; outline: none;
  background: var(--field-bg); color: var(--on-green);
  box-shadow: inset 0 0 0 1.5px var(--field-ring);
  transition: box-shadow 0.2s, background 0.2s;
}
.waitlist-form input[type="email"]::placeholder { color: var(--on-green-faint); }
.waitlist-form input[type="email"]:focus {
  background: rgba(255,255,255,0.2);
  box-shadow: inset 0 0 0 2px rgba(255,255,255,0.75);
}
.waitlist-form .hp { position: absolute; left: -9999px; opacity: 0; height: 0; width: 0; }
.waitlist-msg { min-height: 24px; font-size: 0.95rem; color: var(--on-green); font-weight: 600; }
.waitlist-note { font-size: 0.85rem; color: var(--on-green-faint); }
.waitlist-note a { color: var(--on-green-soft); }
@media (max-width: 560px) {
  .waitlist-form { flex-direction: column; }
  .waitlist-form .btn { width: 100%; }
}

/* ---------- Product card (company home) ---------- */
.product-card {
  display: grid; grid-template-columns: 1fr 0.8fr; gap: clamp(28px, 5vw, 70px);
  background: var(--paper); border-radius: 28px; overflow: hidden;
  padding: clamp(32px, 5vw, 64px); align-items: center;
  box-shadow: var(--shadow-card);
}
.product-card .phone-well { display: flex; justify-content: center; align-items: flex-start; max-height: 460px; overflow: hidden; border-radius: 18px; }
.product-card .phone-well img { width: min(340px, 90%); filter: drop-shadow(0 24px 48px var(--img-shadow)); }
@media (max-width: 880px) { .product-card { grid-template-columns: 1fr; } }

/* ---------- Footer ---------- */
footer {
  background: var(--dark); color: var(--ink-inverse-2);
  padding: 64px 0 44px; font-size: 0.95rem;
}
.footer-grid { display: flex; flex-wrap: wrap; gap: 40px; justify-content: space-between; align-items: flex-start; }
.footer-brand { font-family: var(--font-head); font-weight: 800; color: var(--ink-inverse); font-size: 1.1rem; display: flex; align-items: center; gap: 10px; }
.footer-brand svg { width: 24px; height: 24px; }
.footer-tag { margin-top: 10px; color: var(--ink-inverse-2); max-width: 26em; }
.footer-links { display: flex; gap: 34px; flex-wrap: wrap; }
.footer-links a { color: var(--ink-inverse-2); text-decoration: none; transition: color 0.2s; }
.footer-links a:hover { color: var(--ink-inverse); }
.footer-legal { margin-top: 40px; padding-top: 24px; border-top: 1px solid rgba(242,239,233,0.12); display: flex; flex-wrap: wrap; gap: 16px; justify-content: space-between; font-size: 0.85rem; color: #8D8A83; }

/* ---------- Reveal animations ---------- */
.reveal { opacity: 0; transform: translateY(26px); transition: opacity 0.7s ease, transform 0.7s cubic-bezier(0.16, 1, 0.3, 1); }
.reveal.d1 { transition-delay: 0.08s; }
.reveal.d2 { transition-delay: 0.16s; }
.reveal.d3 { transition-delay: 0.24s; }
.reveal.visible { opacity: 1; transform: none; }
@media (prefers-reduced-motion: reduce) {
  .reveal { opacity: 1; transform: none; transition: none; }
  html { scroll-behavior: auto; }
}

/* ---------- Legal pages ---------- */
.legal-page { max-width: 720px; margin: 0 auto; padding: 140px 24px 100px; }
.legal-page h1 { font-size: 2.2rem; }
.legal-page h2 { font-size: 1.25rem; margin-top: 2em; }
.legal-page p, .legal-page li { color: var(--ink-2); }

/* ---------- Theme toggle ---------- */
/* One control, one meaning: it shows the mode you would GET by pressing it,
   which is the reading people apply to a switch by default. A three-state
   system/light/dark cycle is more faithful to the app's Settings screen and
   less intuitive in a nav bar, so the system preference is honoured silently
   until the first press instead. */
.theme-toggle {
  display: inline-flex; align-items: center; justify-content: center;
  width: 36px; height: 36px; padding: 0; flex: 0 0 auto;
  border: none; border-radius: 999px; cursor: pointer;
  background: transparent; color: var(--ink-2);
  box-shadow: inset 0 0 0 1.5px var(--ghost-ring);
  transition: color 0.2s, box-shadow 0.2s, background 0.2s;
  -webkit-tap-highlight-color: transparent;
}
.theme-toggle:hover { color: var(--ink); box-shadow: inset 0 0 0 1.5px var(--ghost-ring-hover); }
.theme-toggle:focus-visible { outline: 2px solid var(--evergreen); outline-offset: 3px; }
.theme-toggle svg { width: 17px; height: 17px; display: block; }

/* Show the sun in dark mode (press for light) and the moon in light mode. */
.theme-toggle .i-sun  { display: none; }
:root[data-theme="dark"] .theme-toggle .i-sun  { display: block; }
:root[data-theme="dark"] .theme-toggle .i-moon { display: none; }

/* ---------- Projects (company home) ---------- */
.projects { display: grid; gap: 22px; margin-top: 44px; }
.project {
  display: grid; grid-template-columns: 1fr 0.85fr; gap: clamp(28px, 5vw, 64px);
  align-items: center; background: var(--paper); border-radius: 28px;
  padding: clamp(30px, 5vw, 56px); box-shadow: var(--shadow-card);
  box-shadow: inset 0 0 0 1px var(--hairline), var(--shadow-card);
}
.project-status {
  display: inline-flex; align-items: center; gap: 8px;
  font-family: var(--font-head); font-size: 0.72rem; font-weight: 700;
  letter-spacing: 0.1em; text-transform: uppercase;
  color: var(--evergreen); background: var(--evergreen-tint);
  padding: 5px 12px; border-radius: 999px; margin-bottom: 16px;
}
.project-status .dot {
  width: 7px; height: 7px; border-radius: 50%; background: var(--evergreen);
}
.project h3 { font-size: clamp(1.7rem, 3.4vw, 2.4rem); margin-bottom: 10px; }
.project .project-line { color: var(--ink-2); font-size: 1.1rem; margin-bottom: 10px; }
.project .project-body { color: var(--ink-2); max-width: 32em; }
.project-media { display: flex; justify-content: center; }
.project-actions { display: flex; gap: 12px; flex-wrap: wrap; margin-top: 24px; }
@media (max-width: 880px) {
  .project { grid-template-columns: 1fr; }
  .project-media { order: -1; }
}

/* A future project that is not a link yet. */
.project.is-upcoming { background: transparent; box-shadow: inset 0 0 0 1.5px var(--hairline); }
.project.is-upcoming .project-status { color: var(--ink-3); background: transparent; box-shadow: inset 0 0 0 1px var(--hairline); }
.project.is-upcoming .project-status .dot { background: var(--ink-3); }
.project-media img {
  width: min(300px, 100%);
  border-radius: 26px;
  filter: drop-shadow(0 24px 48px var(--img-shadow));
}

/* .nav-links a paints links a muted ink-2; at (0,1,1) it outranks .btn-primary
   at (0,1,0), so the nav CTA was rendering ink-2 on ink — 2.69:1, well under
   AA, in BOTH themes. Buttons in the nav opt back out of the link colour. */
.nav-links a.btn-primary { color: var(--paper); }
.nav-links a.btn-primary:hover { color: var(--paper); }
.nav-links a.btn-green { color: var(--on-green); }
.nav-links a.btn-ghost { color: var(--ink); }

/* ---------- Real app captures, paired per theme ----------
   Every screen is shot in light and dark; the page shows the one matching the
   visitor's theme. A light phone render on a dark page glares, and swapping in
   CSS keeps it working with no JS and no flash. */
.shot { display: block; }
.shot > img { display: block; width: 100%; }
.shot > .shot-dark { display: none; }
:root[data-theme="dark"] .shot > .shot-light { display: none; }
:root[data-theme="dark"] .shot > .shot-dark { display: block; }
