/* Anchored marketing site — mirrors the app's "anchored" light design system
   (src/theme/anchored.ts). Static CSS on purpose: this domain exists for SEO,
   so the page must render fully without JavaScript. */

:root {
  --parchment: #f4efe6;
  --parchment-deep: #ece5d7;
  --surface: #ffffff;
  --surface-sage: #edf1ea;
  --ink: #211e17;
  --ink-soft: #544f45;
  --ink-muted: #8b8475;
  --forest: #20402e;
  --on-forest: #f6f2e9;
  --sage: #2e6a4c;
  --gold: #cf982f;
  --gold-tint: #f3e7c9;
  --hairline: rgba(33, 30, 23, 0.08);
  --radius: 16px;
  --maxw: 1080px;
}

*,
*::before,
*::after {
  box-sizing: border-box;
}

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

body {
  margin: 0;
  background: var(--parchment);
  color: var(--ink-soft);
  font-family: 'Work Sans', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
  font-size: 17px;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}

h1,
h2,
h3 {
  font-family: 'Noto Serif', Georgia, 'Times New Roman', serif;
  color: var(--ink);
  line-height: 1.2;
  margin: 0 0 0.5em;
  font-weight: 600;
}

h1 {
  font-size: clamp(2.1rem, 5vw, 3.4rem);
}
h2 {
  font-size: clamp(1.6rem, 3.4vw, 2.2rem);
}
h3 {
  font-size: 1.15rem;
}

p {
  margin: 0 0 1em;
}

a {
  color: var(--sage);
}

.wrap {
  max-width: var(--maxw);
  margin: 0 auto;
  padding: 0 24px;
}

/* ── header ─────────────────────────────────────────────── */
.site-header {
  padding: 22px 0;
}
.brand {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  text-decoration: none;
}
.brand img {
  width: 34px;
  height: 34px;
}
.brand span {
  font-family: 'Noto Serif', Georgia, serif;
  font-size: 1.35rem;
  color: var(--ink);
  font-weight: 600;
}

/* ── hero ───────────────────────────────────────────────── */
.hero {
  text-align: center;
  padding: 40px 0 8px;
}
.hero .eyebrow {
  font-size: 0.78rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--sage);
  font-weight: 600;
  margin-bottom: 14px;
}
.hero .lede {
  font-size: clamp(1.05rem, 2.2vw, 1.25rem);
  color: var(--ink-soft);
  max-width: 640px;
  margin: 0 auto 8px;
}
.hero .sub {
  color: var(--ink-muted);
  max-width: 600px;
  margin: 0 auto 28px;
}

/* ── store badges ───────────────────────────────────────── */
.badges {
  display: flex;
  gap: 14px;
  justify-content: center;
  flex-wrap: wrap;
  margin-bottom: 12px;
}
.badge {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  background: var(--forest);
  color: var(--on-forest);
  text-decoration: none;
  padding: 13px 22px;
  border-radius: 999px;
  font-weight: 600;
  font-size: 0.95rem;
  transition: transform 0.15s ease, opacity 0.15s ease;
}
.badge:hover {
  transform: translateY(-1px);
  opacity: 0.92;
}
.badge.secondary {
  background: var(--surface);
  color: var(--forest);
  border: 1.5px solid var(--hairline);
}
.badge svg {
  width: 20px;
  height: 20px;
  fill: currentColor;
}
.badge-note {
  font-size: 0.85rem;
  color: var(--ink-muted);
  text-align: center;
  margin-bottom: 40px;
}

/* ── verse ──────────────────────────────────────────────── */
.verse {
  text-align: center;
  padding: 8px 0 44px;
}
.verse blockquote {
  font-family: 'Crimson Pro', Georgia, serif;
  font-size: 1.35rem;
  font-style: italic;
  color: var(--ink-soft);
  margin: 0 auto 6px;
  max-width: 560px;
}
.verse cite {
  font-size: 0.85rem;
  color: var(--sage);
  font-style: normal;
  letter-spacing: 0.06em;
}

/* ── screenshots ────────────────────────────────────────── */
.shots {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: 22px;
  padding: 8px 0 56px;
  max-width: 940px;
  margin: 0 auto;
}
.shots figure {
  margin: 0;
  text-align: center;
}
.shots img {
  width: 100%;
  height: auto;
  border-radius: 22px;
  display: block;
}
.shots figcaption {
  margin-top: 12px;
  font-size: 0.9rem;
  color: var(--ink-muted);
}

/* ── sections ───────────────────────────────────────────── */
section {
  padding: 52px 0;
}
.section-head {
  text-align: center;
  max-width: 640px;
  margin: 0 auto 36px;
}
.section-head p {
  color: var(--ink-muted);
  margin: 0;
}

.rhythm {
  background: var(--parchment-deep);
}
.cards {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 18px;
}
.card {
  background: var(--surface);
  border: 1px solid var(--hairline);
  border-radius: var(--radius);
  padding: 24px;
}
.card .icon {
  width: 40px;
  height: 40px;
  border-radius: 10px;
  background: var(--surface-sage);
  display: grid;
  place-items: center;
  margin-bottom: 14px;
  font-size: 20px;
}
.card p {
  margin: 0;
  color: var(--ink-muted);
  font-size: 0.95rem;
}

.checks {
  list-style: none;
  padding: 0;
  margin: 0 auto;
  max-width: 640px;
  display: grid;
  gap: 12px;
}
.checks li {
  background: var(--surface);
  border: 1px solid var(--hairline);
  border-radius: 12px;
  padding: 15px 18px;
  display: flex;
  gap: 12px;
  align-items: flex-start;
  color: var(--ink-soft);
}
.checks li::before {
  content: '✓';
  color: var(--sage);
  font-weight: 700;
  flex-shrink: 0;
}

/* ── pricing ────────────────────────────────────────────── */
.free-note {
  background: var(--surface-sage);
  border-radius: var(--radius);
  padding: 26px;
  text-align: center;
  max-width: 700px;
  margin: 0 auto;
}
.free-note p:last-child {
  margin: 0;
  color: var(--ink-muted);
  font-size: 0.92rem;
}

/* ── footer ─────────────────────────────────────────────── */
.site-footer {
  background: var(--forest);
  color: var(--on-forest);
  padding: 44px 0 32px;
  margin-top: 20px;
}
.site-footer a {
  color: var(--on-forest);
  opacity: 0.85;
  text-decoration: none;
}
.site-footer a:hover {
  opacity: 1;
  text-decoration: underline;
}
.footer-grid {
  display: flex;
  justify-content: space-between;
  gap: 24px;
  flex-wrap: wrap;
  align-items: flex-start;
}
.footer-links {
  display: flex;
  gap: 20px;
  flex-wrap: wrap;
  font-size: 0.92rem;
}
.footer-brand {
  font-family: 'Noto Serif', Georgia, serif;
  font-size: 1.2rem;
}
.footer-legal {
  margin-top: 26px;
  font-size: 0.82rem;
  opacity: 0.7;
}

/* ── legal pages ────────────────────────────────────────── */
.legal {
  max-width: 760px;
  margin: 0 auto;
  padding: 32px 24px 64px;
}
.legal h1 {
  margin-bottom: 6px;
}
.legal .updated {
  color: var(--ink-muted);
  font-size: 0.9rem;
  margin-bottom: 32px;
}
.legal h2 {
  font-size: 1.35rem;
  margin-top: 36px;
}
.legal h3 {
  margin-top: 24px;
  color: var(--ink);
}
.legal ul {
  padding-left: 20px;
}
.legal li {
  margin-bottom: 8px;
}
.legal .back {
  display: inline-block;
  margin-bottom: 24px;
  font-size: 0.92rem;
  text-decoration: none;
}

@media (max-width: 640px) {
  .shots {
    grid-template-columns: repeat(2, 1fr);
    gap: 14px;
  }
  section {
    padding: 40px 0;
  }
}
