/* Ember landing — tokens mirror Sources/Shared/DesignSystem.swift.
   No inline styles or scripts anywhere on this site: the nginx CSP is
   script-src 'none'; style-src 'self'. Keep it that way. */

:root {
  --bg: #FAF7F1;
  --surface: #FFFFFF;
  --band: #F3EEE4;
  --ink: #1F1B16;
  --muted: #6E675C;
  --accent: #826835;
  --accent-ink: #FFFFFF;
  --line: #E6DFD2;
  --radius: 14px;
  --shadow: 0 18px 48px rgba(31, 27, 22, .10);
}

@media (prefers-color-scheme: dark) {
  :root {
    --bg: #17130F;
    --surface: #221C16;
    --band: #1E1813;
    --ink: #F2ECE1;
    --muted: #B3AA9C;
    --accent: #D9B26A;
    --accent-ink: #1F1B16;
    --line: #3A332A;
    --shadow: 0 18px 48px rgba(0, 0, 0, .45);
  }
}

* { box-sizing: border-box; }

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

body {
  margin: 0;
  background: var(--bg);
  color: var(--ink);
  font: 17px/1.65 -apple-system, BlinkMacSystemFont, "Segoe UI", "Helvetica Neue", Arial, sans-serif;
  text-rendering: optimizeLegibility;
}

.wrap { max-width: 1040px; margin: 0 auto; padding: 0 20px; }

a { color: var(--accent); text-decoration: underline; text-underline-offset: 2px; }
a:hover { text-decoration-thickness: 2px; }

h1, h2, h3 { font-family: ui-serif, Georgia, "Times New Roman", serif; font-weight: 600; line-height: 1.2; }
h2 { font-size: clamp(1.5rem, 3.2vw, 2rem); margin: 0 0 14px; }
h3 { font-size: 1.1rem; margin: 0 0 6px; }

.muted { color: var(--muted); }
.small { font-size: .85rem; }
.centered { text-align: center; }

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

.hero { padding: clamp(48px, 8vw, 96px) 0 clamp(40px, 6vw, 72px); }

.hero-grid {
  display: grid;
  grid-template-columns: 1.15fr .85fr;
  gap: clamp(24px, 5vw, 64px);
  align-items: center;
}

.eyebrow {
  margin: 0 0 12px;
  font-size: .8rem;
  letter-spacing: .14em;
  text-transform: uppercase;
  color: var(--muted);
}

.hero h1 {
  margin: 0 0 18px;
  font-size: clamp(2.2rem, 6vw, 3.6rem);
  letter-spacing: -.01em;
}

.lede { margin: 0 0 24px; font-size: clamp(1.05rem, 2vw, 1.2rem); color: var(--muted); max-width: 34ch; }

.cta-row { margin: 0 0 12px; }

.badge {
  display: inline-block;
  padding: 11px 20px;
  border-radius: 999px;
  background: var(--accent);
  color: var(--accent-ink);
  font-weight: 600;
  font-size: .95rem;
}

.hero-note { margin: 0; font-size: .9rem; color: var(--muted); }

.hero-shot { justify-self: center; }
.hero-shot img,
.feature-shot img {
  display: block;
  width: 100%;
  max-width: 331px;
  height: auto;
  border-radius: 26px;
  box-shadow: var(--shadow);
}

/* ---- bands ----------------------------------------------------------- */

.band {
  background: var(--band);
  border-block: 1px solid var(--line);
  padding: clamp(40px, 7vw, 80px) 0;
  margin: clamp(40px, 7vw, 80px) 0;
}

.verse { margin: 0; text-align: center; }
.verse p {
  margin: 0 0 10px;
  font-family: ui-serif, Georgia, "Times New Roman", serif;
  font-size: clamp(1.4rem, 4vw, 2.1rem);
  line-height: 1.45;
}
.verse cite { font-style: normal; color: var(--muted); font-size: .95rem; letter-spacing: .04em; }

/* ---- features -------------------------------------------------------- */

.feature {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: clamp(24px, 5vw, 64px);
  align-items: center;
  margin-block: clamp(40px, 7vw, 80px);
}

.feature.reverse .feature-text { order: 2; }
.feature-shot { justify-self: center; }
.feature-text p { color: var(--muted); margin: 0 0 16px; }

.ticks { list-style: none; margin: 0; padding: 0; }
.ticks li { position: relative; padding-left: 26px; margin-bottom: 8px; color: var(--ink); }
.ticks li::before {
  content: "";
  position: absolute;
  left: 4px;
  top: .62em;
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--accent);
}

/* ---- cards ----------------------------------------------------------- */

.cards {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 16px;
  margin-top: 28px;
}

.card {
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 22px;
}
.card p { margin: 0; color: var(--muted); font-size: .95rem; }

/* ---- pricing --------------------------------------------------------- */

.sub { color: var(--muted); max-width: 54ch; margin: 0 auto 32px; }

.plans {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 16px;
}

.plan {
  position: relative;
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 26px 20px 22px;
  text-align: center;
}

.plan.best { border-color: var(--accent); border-width: 2px; }

.flag {
  position: absolute;
  top: -11px;
  left: 50%;
  transform: translateX(-50%);
  margin: 0;
  padding: 3px 12px;
  border-radius: 999px;
  background: var(--accent);
  color: var(--accent-ink);
  font-size: .72rem;
  font-weight: 600;
  letter-spacing: .06em;
  text-transform: uppercase;
  white-space: nowrap;
}

.price { margin: 10px 0 2px; font-size: 1.7rem; font-weight: 600; }
.per { margin: 0; color: var(--muted); font-size: .9rem; }

.finePrint { margin: 28px auto 0; max-width: 70ch; font-size: .82rem; line-height: 1.6; color: var(--muted); }

/* ---- faq ------------------------------------------------------------- */

.faq { max-width: 720px; }
.faq h3 { margin-top: 26px; }
.faq p { color: var(--muted); margin: 0; }

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

footer { border-top: 1px solid var(--line); padding: 40px 0 56px; }
.footer-inner { text-align: center; }
.wordmark { font-family: ui-serif, Georgia, serif; font-size: 1.3rem; margin: 0 0 10px; }
.footer-inner p { margin: 0 0 6px; }

/* ---- narrow ---------------------------------------------------------- */

@media (max-width: 860px) {
  .hero-grid,
  .feature { grid-template-columns: 1fr; }
  .feature.reverse .feature-text { order: 0; }
  .hero-copy { text-align: center; }
  .lede { margin-inline: auto; }
  .cards { grid-template-columns: 1fr; }
  .plans { grid-template-columns: repeat(2, 1fr); }
  .hero-shot img, .feature-shot img { max-width: 280px; }
}

@media (max-width: 460px) {
  .plans { grid-template-columns: 1fr; }
  .plan.best { margin-top: 10px; }
}

@media (prefers-reduced-motion: no-preference) {
  a, .badge { transition: opacity .15s ease; }
  .badge:hover { opacity: .9; }
}

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

.subhead { border-bottom: 1px solid var(--line); padding: 20px 0; }
.wordmark-link {
  font-family: ui-serif, Georgia, serif;
  font-size: 1.2rem;
  color: var(--ink);
  text-decoration: none;
}
.wordmark-link:hover { color: var(--accent); }

.doc { max-width: 680px; padding-block: clamp(36px, 6vw, 64px) clamp(48px, 7vw, 72px); }
.doc h1 { font-size: clamp(1.8rem, 4vw, 2.4rem); margin: 0 0 6px; }
.doc h2 { font-size: 1.15rem; margin: 34px 0 8px; }
.doc h3 { margin: 24px 0 6px; }
.doc p, .doc li { color: var(--ink); }
.doc .muted { color: var(--muted); }
.doc ul, .doc ol { padding-left: 20px; }
.doc li { margin-bottom: 6px; }
.doc hr { border: 0; border-top: 1px solid var(--line); margin: 36px 0; }
