/* Marketing pages (landing, thanks). Shares tokens with styles.css. */
:root {
  --page: #FFFBF5; --ink: #1B2140; --ink-2: #262D52; --text: #2B2B33; --muted: #6B6E80;
  --on-ink: #F5F3EE; --on-ink-muted: #A9ADC6; --spot: #FF8A6B; --spot-soft: #FFC2B0;
  --line: #ECE6DA; --card: #FFFFFF; color-scheme: light;
}
@media (prefers-color-scheme: dark) {
  :root:not([data-theme="light"]) { --page: #0E1124; --text: #E9E8F0; --muted: #9A9DB4; --line: #232846; --card: #161A33; color-scheme: dark; }
}
:root[data-theme="dark"] { --page: #0E1124; --text: #E9E8F0; --muted: #9A9DB4; --line: #232846; --card: #161A33; color-scheme: dark; }

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body { margin: 0; background: var(--page); color: var(--text); font: 17px/1.6 system-ui, -apple-system, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif; }
a { color: inherit; }
.wrap { max-width: 1120px; margin: 0 auto; padding: 0 16px; }

.hero {
  margin: 16px; border-radius: 32px; color: var(--on-ink);
  background: var(--ink) radial-gradient(rgba(255,255,255,.07) 1px, transparent 1px) 0 0 / 18px 18px;
  overflow: hidden;
}
@media (min-width: 900px) { .hero { margin: 16px 24px; } }
nav { display: flex; align-items: center; justify-content: space-between; gap: 12px; padding: 20px 8px; }
.brand { display: flex; align-items: center; gap: 10px; font-weight: 700; text-decoration: none; letter-spacing: -.01em; }
.brand img { width: 32px; height: 32px; border-radius: 9px; }
.links { display: none; gap: 4px; padding: 6px; border-radius: 999px; box-shadow: inset 0 0 0 1px rgba(255,255,255,.14); }
.links a { text-decoration: none; padding: 8px 16px; border-radius: 999px; color: var(--on-ink-muted); font-size: 15px; }
.links a:hover { color: var(--on-ink); }
@media (min-width: 760px) { .links { display: flex; } }

.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  min-height: 52px; padding: 0 26px; border-radius: 999px; border: 0; cursor: pointer;
  font: 600 16px/1 system-ui, -apple-system, "Segoe UI", Roboto, sans-serif; text-decoration: none;
  background: var(--spot); color: var(--ink);
}
.btn.light { background: #fff; color: var(--ink); }
.btn.ghost { background: transparent; color: var(--on-ink); box-shadow: inset 0 0 0 1.5px rgba(255,255,255,.25); }
.btn.dark { background: var(--ink); color: var(--on-ink); }
.btn.sm { min-height: 42px; padding: 0 18px; font-size: 15px; }
.btn[aria-disabled="true"] { opacity: .55; pointer-events: none; }

.hero-grid { display: grid; gap: 40px; padding: 32px 8px 56px; align-items: center; }
@media (min-width: 900px) { .hero-grid { grid-template-columns: 1.1fr .9fr; padding: 48px 24px 80px; } }
.eyebrow { display: inline-flex; align-items: center; gap: 8px; font-size: 14px; color: var(--spot-soft); }
.eyebrow::before { content: ""; width: 6px; height: 6px; border-radius: 50%; background: var(--spot); }
h1 {
  font-family: system-ui, -apple-system, "Segoe UI", Roboto, sans-serif; font-weight: 300;
  font-size: clamp(42px, 8vw, 76px); line-height: 1; letter-spacing: -.035em; margin: 16px 0 20px;
}
h1 b { font-weight: 700; }
h1 em, h2 em { font-style: italic; font-weight: 700; color: var(--spot); }
.lede { color: var(--on-ink-muted); max-width: 34em; margin: 0 0 28px; }
.ctas { display: flex; flex-wrap: wrap; gap: 12px; align-items: center; }
.fine { font-size: 14px; color: var(--on-ink-muted); margin-top: 14px; }

/* Hero device: composite of Nic's share-sheet screenshot on a
   Pixel 11 Pro Olive three-quarter render. */
.demo {
  display: flex;
  justify-content: center;
  width: 100%;
  max-width: 300px;
  margin: 0 auto;
}
@media (min-width: 900px) {
  .demo { max-width: 360px; margin-right: 0; }
}
.hero-phone img {
  display: block;
  width: 100%;
  height: auto;
  filter:
    drop-shadow(0 22px 28px rgba(0, 0, 0, .42))
    drop-shadow(0 8px 10px rgba(0, 0, 0, .2));
}

/* Promo film, directly under the hero. */
.film { padding: 12px 0 28px; }
@media (min-width: 900px) { .film { padding: 8px 0 36px; } }
.film-frame { max-width: 920px; margin: 0 auto; }
.film-frame video {
  display: block;
  width: 100%;
  height: auto;
  border-radius: 20px;
  background: #0B0E1F;
  box-shadow: 0 24px 48px rgba(0,0,0,.16);
}
#how { padding-top: 48px; }

section { padding: 72px 0; }
h2 { font-family: system-ui, -apple-system, "Segoe UI", Roboto, sans-serif; font-weight: 300; font-size: clamp(32px, 5vw, 48px); line-height: 1.05; letter-spacing: -.03em; margin: 0 0 32px; }
h2 b { font-weight: 700; }
.steps { display: grid; gap: 16px; counter-reset: s; }
@media (min-width: 760px) { .steps { grid-template-columns: repeat(3, 1fr); } }
.step { background: var(--card); border: 1px solid var(--line); border-radius: 24px; padding: 24px; }
.step::before { counter-increment: s; content: counter(s); display: grid; place-items: center; width: 36px; height: 36px; border-radius: 50%; background: rgba(255,138,107,.16); color: var(--spot); font-weight: 700; margin-bottom: 16px; }
.step h3 { margin: 0 0 6px; font-size: 19px; }
.step p { margin: 0; color: var(--muted); }

.features { display: grid; gap: 16px; }
@media (min-width: 760px) { .features { grid-template-columns: repeat(2, 1fr); } }
.feature { padding: 20px 0; border-top: 1px solid var(--line); }
.feature h3 { margin: 0 0 4px; font-size: 18px; }
.feature p { margin: 0; color: var(--muted); }

.price { background: var(--ink); color: var(--on-ink); border-radius: 32px; padding: 40px 24px; text-align: center; }
.price .amt { font-family: system-ui, -apple-system, "Segoe UI", Roboto, sans-serif; font-size: 72px; font-weight: 700; letter-spacing: -.04em; line-height: 1; margin: 8px 0; }
.price ul { list-style: none; padding: 0; margin: 20px auto 28px; max-width: 28em; color: var(--on-ink-muted); display: grid; gap: 6px; }
.price li::before { content: "✓  "; color: var(--spot); font-weight: 700; }

details { border-top: 1px solid var(--line); padding: 18px 0; }
details summary { cursor: pointer; font-weight: 600; list-style: none; display: flex; justify-content: space-between; gap: 12px; }
details summary::after { content: "+"; color: var(--spot); font-weight: 700; }
details[open] summary::after { content: "–"; }
details p { color: var(--muted); margin: 10px 0 0; }

footer { padding: 28px 0 48px; color: var(--muted); font-size: 14px; display: flex; flex-wrap: wrap; justify-content: space-between; align-items: center; gap: 8px 16px; }
.footer-links { display: flex; flex-wrap: wrap; gap: 0 4px; }
.footer-links a { display: inline-flex; align-items: center; min-height: 44px; padding: 0 8px; text-decoration: underline; text-underline-offset: 3px; }

/* Legal pages (privacy, terms, refunds) */
.legal { padding: 8px 0 8px; max-width: 720px; overflow-wrap: break-word; }
.legal h2 { font-family: system-ui, -apple-system, "Segoe UI", Roboto, sans-serif; font-weight: 700; font-size: 26px; line-height: 1.2; letter-spacing: -.02em; margin: 32px 0 8px; }
.legal blockquote { margin: 0 0 16px; padding: 12px 16px; border-left: 4px solid var(--spot); background: rgba(255, 138, 107, .12); border-radius: 0 12px 12px 0; }
.legal p { margin: 0 0 12px; }
.legal ul, .legal ol { margin: 0 0 16px; padding-left: 1.25em; }
.legal li { margin: 6px 0; }
.legal a { text-decoration: underline; text-underline-offset: 3px; }
.check { background: rgba(255, 138, 107, .16); border: 1px solid var(--spot); border-radius: 16px; padding: 16px 18px; margin: 0 0 8px; }
.check strong { font-weight: 700; }
.legal .updated { color: var(--muted); font-size: 14px; margin-top: 28px; }
.seller { font-style: normal; margin: 0 0 16px; line-height: 1.5; }
.seller { font-style: normal; margin: 0 0 16px; line-height: 1.5; }

/* Thanks page */
.panel { background: var(--card); border: 1px solid var(--line); border-radius: 24px; padding: 24px; }
.key { font: 700 clamp(18px, 4.5vw, 26px)/1.2 ui-monospace, "SF Mono", Menlo, monospace; letter-spacing: .04em; padding: 16px; border-radius: 14px; background: rgba(255,138,107,.12); color: var(--text); text-align: center; word-break: break-all; user-select: all; }
.row { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 16px; }
.muted { color: var(--muted); }
[hidden] { display: none !important; }


/* Cookie consent banner. Fixed at the bottom, inset so it does not overflow. */
.has-cookie-banner { padding-bottom: 120px; }
.cookie-banner {
  position: fixed;
  left: 16px;
  right: 16px;
  bottom: max(16px, env(safe-area-inset-bottom));
  z-index: 80;
  color: var(--on-ink);
}
.cookie-banner-inner {
  max-width: 1120px;
  margin: 0 auto;
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 12px 16px;
  padding: 12px 16px;
  border-radius: 20px;
  background: var(--ink);
  box-shadow: 0 16px 40px rgba(0, 0, 0, .28);
}
.cookie-banner-copy { flex: 1 1 16em; min-width: 0; }
.cookie-banner-copy p:last-child { margin: 0; font-size: 14px; line-height: 1.4; color: var(--on-ink-muted); }
.visually-hidden { position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0, 0, 0, 0); white-space: nowrap; border: 0; }
.cookie-banner-copy a { color: var(--on-ink); text-decoration: underline; text-underline-offset: 3px; }
.cookie-banner-actions { display: flex; flex-wrap: wrap; gap: 8px; flex: 0 0 auto; }
.cookie-banner-actions .btn { min-width: 7em; min-height: 42px; }
@media (max-width: 420px) {
  .cookie-banner { left: 12px; right: 12px; bottom: max(12px, env(safe-area-inset-bottom)); }
  .cookie-banner-actions { width: 100%; }
  .cookie-banner-actions .btn { flex: 1 1 8em; }
}
