:root {
  --bg: #fffaf3;
  --surface: #ffffff;
  --ink: #1f1633;
  --muted: #5d5670;
  --line: #ece4f7;
  --brand: #7a3cff;
  --brand-dark: #5b22d6;
  --accent: #ff5c8a;
  --gold: #ffd166;
  --soft: #f3ecff;
  --ok: #157a4a;
  --ok-bg: #e3f6ec;
  --radius: 16px;
  --shadow: 0 20px 50px -20px rgba(60, 20, 140, 0.35);
}

@media (prefers-color-scheme: dark) {
  :root {
    --bg: #15111f;
    --surface: #1f1930;
    --ink: #f4f0fb;
    --muted: #b6aecb;
    --line: #2f2745;
    --brand: #9b6bff;
    --brand-dark: #b38dff;
    --soft: #261d3d;
    --ok: #6fdba5;
    --ok-bg: #173226;
    --shadow: 0 20px 50px -20px rgba(0, 0, 0, 0.7);
  }
}

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

html { scroll-behavior: smooth; }

body {
  margin: 0;
  background: var(--bg);
  color: var(--ink);
  font: 400 17px/1.6 "Inter", system-ui, -apple-system, "Segoe UI", sans-serif;
  -webkit-font-smoothing: antialiased;
}

h1, h2, h3 {
  font-family: "Fraunces", Georgia, serif;
  line-height: 1.15;
  margin: 0 0 0.5em;
}
h1 { font-size: clamp(2.2rem, 5vw, 3.4rem); letter-spacing: -0.01em; }
h2 { font-size: clamp(1.7rem, 3.5vw, 2.3rem); }
h3 { font-size: 1.2rem; }
p { margin: 0 0 1em; }
a { color: var(--brand); }

.wrap { max-width: 1120px; margin: 0 auto; padding: 0 16px; }
.narrow { max-width: 680px; }

.sr-only, .hidden-field {
  position: absolute; width: 1px; height: 1px; overflow: hidden;
  clip: rect(0 0 0 0); white-space: nowrap;
}

/* Header */
.site-header {
  position: sticky; top: 0; z-index: 10;
  background: color-mix(in srgb, var(--bg) 88%, transparent);
  backdrop-filter: blur(8px);
  border-bottom: 1px solid var(--line);
}
.header-inner { display: flex; align-items: center; justify-content: space-between; height: 64px; }
.logo {
  display: flex; align-items: center; gap: 10px;
  font: 700 1.3rem "Fraunces", Georgia, serif;
  color: var(--ink); text-decoration: none;
}

/* Buttons and forms */
.btn {
  display: inline-block;
  background: var(--brand); color: #fff;
  border: 0; border-radius: 999px;
  padding: 14px 24px;
  font: 600 1rem "Inter", system-ui, sans-serif;
  text-decoration: none; cursor: pointer;
  transition: background 0.15s, transform 0.15s;
}
.btn:hover { background: var(--brand-dark); transform: translateY(-1px); }
.btn:focus-visible, input:focus-visible { outline: 3px solid var(--gold); outline-offset: 2px; }
.btn-small { padding: 9px 16px; font-size: 0.9rem; }

.signup { display: flex; gap: 10px; flex-wrap: wrap; margin: 1.5em 0 0.5em; }
.signup input[type="email"] {
  flex: 1 1 240px; min-width: 0;
  padding: 14px 18px;
  border: 1.5px solid var(--line); border-radius: 999px;
  background: var(--surface); color: var(--ink);
  font: inherit;
}
.signup .btn { flex: 0 0 auto; }
.fine { font-size: 0.875rem; color: var(--muted); }

/* Hero */
.hero { padding: 64px 0 80px; overflow: hidden; }
.hero-grid { display: grid; grid-template-columns: 1.1fr 0.9fr; gap: 56px; align-items: center; }
.eyebrow {
  display: inline-block;
  background: var(--soft); color: var(--brand);
  padding: 4px 12px; border-radius: 999px;
  font-size: 0.85rem; font-weight: 600;
}
.lede { font-size: 1.15rem; color: var(--muted); max-width: 34em; }

.hero-card {
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: 22px;
  padding: 22px;
  box-shadow: var(--shadow);
  transform: rotate(1.2deg);
}
.card-head { display: flex; gap: 12px; align-items: center; margin-bottom: 14px; }
.avatar {
  width: 44px; height: 44px; border-radius: 50%;
  background: var(--accent); color: #fff;
  display: grid; place-items: center;
  font: 700 1.1rem "Fraunces", serif;
}
.card-name { font-weight: 600; }
.card-tags { font-size: 0.85rem; color: var(--muted); }
.chips { display: flex; flex-wrap: wrap; gap: 6px; margin-bottom: 14px; }
.chip {
  background: var(--soft); color: var(--brand);
  font-size: 0.8rem; font-weight: 600;
  padding: 4px 10px; border-radius: 999px;
}
.picks { list-style: none; margin: 0; padding: 0; display: grid; gap: 10px; }
.picks li { border: 1px solid var(--line); border-radius: 12px; padding: 12px 14px; }
.pick-top { display: flex; justify-content: space-between; gap: 8px; }
.price { font-weight: 600; color: var(--brand); }
.picks p { font-size: 0.875rem; color: var(--muted); margin: 4px 0 8px; }
.ship { font-size: 0.75rem; font-weight: 600; padding: 2px 8px; border-radius: 6px; }
.ship.ok { background: var(--ok-bg); color: var(--ok); }
.card-note { font-size: 0.75rem; color: var(--muted); text-align: center; margin: 12px 0 0; }

/* How it works */
.how { padding: 72px 0; background: var(--surface); border-block: 1px solid var(--line); }
.how h2 { text-align: center; margin-bottom: 1.2em; }
.steps { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(3, 1fr); gap: 32px; }
.step-num {
  display: grid; place-items: center;
  width: 40px; height: 40px; border-radius: 50%;
  background: var(--gold); color: #1f1633;
  font: 700 1.1rem "Fraunces", serif;
  margin-bottom: 14px;
}
.steps p { color: var(--muted); }

/* Features */
.features { padding: 80px 0; }
.feature-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
.feature {
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 24px;
}
.feature p { color: var(--muted); margin: 0; }

/* Affiliate disclosure */
.honest { padding: 72px 0; background: var(--soft); }
.honest p { color: var(--muted); }
.sample-pick {
  margin-top: 28px; padding: 20px 22px;
  background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius);
}
.sample-label { font-size: 0.8rem; font-weight: 600; text-transform: uppercase; letter-spacing: 0.04em; color: var(--brand); margin-bottom: 12px; }
.sample-pick .fine { margin: 12px 0 0; }

/* CTA */
.cta { padding: 88px 0; text-align: center; }
.cta p { color: var(--muted); }
.cta .signup { justify-content: center; max-width: 520px; margin-inline: auto; }

/* Footer */
.site-footer { border-top: 1px solid var(--line); padding: 24px 0; font-size: 0.9rem; color: var(--muted); }
.footer-inner { display: flex; justify-content: space-between; gap: 16px; flex-wrap: wrap; }
.site-footer p { margin: 0; }
.site-footer a { color: var(--muted); }

/* Thanks page */
.thanks { min-height: 100vh; display: grid; place-items: center; text-align: center; padding: 40px 0; }
.thanks p { color: var(--muted); }

@media (max-width: 860px) {
  .hero { padding: 40px 0 56px; }
  .hero-grid { grid-template-columns: 1fr; gap: 40px; }
  .hero-card { transform: none; }
  .steps, .feature-grid { grid-template-columns: 1fr; }
}

@media (max-width: 480px) {
  .signup .btn { width: 100%; }
  .header-inner .btn-small { display: none; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .btn { transition: none; }
}
