/* Verdi brand: emerald + ivory, a classic serif for headlines (echoing the icon's opera-poster V).
   System fonts only: no external requests, nothing to consent to. */
:root {
  --bg: #f8f5ec;
  --surface: #ffffff;
  --text: #13211c;
  --muted: #56635d;
  --border: #e4dfd1;
  --emerald: #0b4a39;
  --emerald-2: #0b5d45;
  --ivory: #f6f1e4;
  --warn: #b26a00;
  --serif: 'Iowan Old Style', 'Palatino Linotype', Palatino, 'Book Antiqua', Georgia, serif;
  --sans: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, 'Helvetica Neue', Arial, sans-serif;
  color-scheme: light dark;
}

@media (prefers-color-scheme: dark) {
  :root {
    --bg: #0c1512;
    --surface: #14201b;
    --text: #eef1ec;
    --muted: #a3b0a9;
    --border: #24332d;
    --emerald: #4cc79a;
    --emerald-2: #4cc79a;
    --warn: #f0a63a;
  }
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  background: var(--bg);
  color: var(--text);
  font: 17px/1.6 var(--sans);
  -webkit-font-smoothing: antialiased;
}
a { color: var(--emerald-2); }
h1, h2, h3 { font-family: var(--serif); font-weight: 600; line-height: 1.1; margin: 0; }
h2 { font-size: clamp(1.8rem, 4vw, 2.4rem); margin-bottom: 1.5rem; }
h3 { font-size: 1.25rem; margin-bottom: 0.4rem; }
p { margin: 0; }
main > section { max-width: 1080px; margin: 0 auto; padding: 72px 20px; }

/* Header and footer */
.site-header {
  display: flex; align-items: center; justify-content: space-between;
  max-width: 1080px; margin: 0 auto; padding: 20px;
}
.brand {
  display: inline-flex; align-items: center; gap: 10px;
  font: 600 1.35rem var(--serif); color: var(--text); text-decoration: none;
}
.brand img { border-radius: 8px; }
.header-cta { font-weight: 600; text-decoration: none; }
.site-footer {
  display: flex; flex-wrap: wrap; gap: 8px 24px; justify-content: center;
  padding: 32px 20px 48px; color: var(--muted); font-size: 0.9rem;
  border-top: 1px solid var(--border);
}
.site-footer a { color: var(--muted); }

/* Buttons */
.button {
  display: inline-block; padding: 14px 24px; border-radius: 12px;
  background: var(--emerald); color: #fff; font-weight: 600; text-decoration: none;
}
.button:hover { filter: brightness(1.1); }
.button-light { background: var(--ivory); color: #0b4a39; }
@media (prefers-color-scheme: dark) { .button { color: #06241b; } }
.link { font-weight: 600; text-decoration: none; }

/* Hero */
.hero {
  display: grid; grid-template-columns: 1.1fr 0.9fr; gap: 56px; align-items: center;
  padding-top: 40px !important;
}
.eyebrow { color: var(--emerald-2); font-weight: 600; letter-spacing: 0.02em; margin-bottom: 16px; }
h1 { font-size: clamp(3rem, 8vw, 5.2rem); letter-spacing: -0.01em; }
.lede { font-size: 1.15rem; color: var(--muted); margin: 24px 0 32px; max-width: 34em; }
.actions { display: flex; flex-wrap: wrap; align-items: center; gap: 24px; }

/* Example result card (mirrors the app) */
.result {
  margin: 0; padding: 20px; border-radius: 24px; background: var(--surface);
  border: 1px solid var(--border); box-shadow: 0 24px 60px -30px rgba(11, 74, 57, 0.35);
  font-size: 0.95rem;
}
.verdict { background: var(--warn); color: #fff; border-radius: 14px; padding: 16px 18px; }
@media (prefers-color-scheme: dark) { .verdict { color: #1a1206; } }
.verdict strong { display: block; font-size: 1.4rem; }
.label { font-weight: 700; margin: 18px 0 8px; }
.finding, .caption {
  border: 1px solid var(--border); border-radius: 12px; padding: 12px 14px; background: var(--bg);
}
.finding { display: flex; justify-content: space-between; gap: 12px; font-weight: 600; }
.finding em { color: var(--muted); font-style: normal; font-weight: 400; }
.caption mark { background: none; color: var(--emerald-2); font-weight: 700; }
.copy { display: block; margin-top: 6px; color: var(--emerald-2); font-weight: 600; font-size: 0.85rem; }
.result figcaption { margin-top: 14px; color: var(--muted); font-size: 0.85rem; text-align: center; }

/* Steps */
.steps ol { list-style: none; padding: 0; margin: 0; display: grid; grid-template-columns: repeat(3, 1fr); gap: 32px; }
.num {
  display: inline-grid; place-items: center; width: 36px; height: 36px; border-radius: 50%;
  background: var(--emerald); color: var(--ivory); font: 600 1rem var(--serif); margin-bottom: 14px;
}
@media (prefers-color-scheme: dark) { .num { color: #06241b; } }
.steps p, .checks p { color: var(--muted); }

/* What it checks */
.grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 20px; }
.grid article { background: var(--surface); border: 1px solid var(--border); border-radius: 18px; padding: 24px; }

/* Privacy */
.privacy ul { margin: 0 0 20px; padding-left: 1.2em; font-size: 1.1rem; }
.privacy li { margin-bottom: 8px; }
.fine { color: var(--muted); font-size: 0.9rem; }

/* Beta */
.beta {
  text-align: center; background: #0b4a39; color: var(--ivory);
  border-radius: 28px; margin: 24px auto 72px !important; max-width: 1040px !important;
}
.beta h2 { color: var(--ivory); }
.beta p { max-width: 36em; margin: 0 auto 28px; opacity: 0.9; }
@media (prefers-color-scheme: dark) { .beta { background: #0f3a2e; } }

/* Legal pages */
.legal { max-width: 760px; margin: 0 auto; padding: 24px 20px 72px; }
.legal h1 { font-size: clamp(2.2rem, 5vw, 3rem); margin: 16px 0 24px; }
.legal h2 { font-size: 1.5rem; margin: 40px 0 12px; }
.legal p, .legal li { color: var(--text); }
.legal p { margin: 0 0 14px; }
.legal table { width: 100%; border-collapse: collapse; margin: 8px 0 20px; font-size: 0.95rem; display: block; overflow-x: auto; }
.legal th, .legal td { text-align: left; padding: 10px 12px; border-bottom: 1px solid var(--border); vertical-align: top; }
.legal th { font-weight: 700; }
.legal mark { background: #ffe58a; color: #3a2c00; padding: 0 3px; border-radius: 3px; }
.draft-banner {
  max-width: 760px; margin: 0 auto; padding: 10px 20px; background: #ffe58a; color: #3a2c00;
  border-radius: 10px; font-weight: 600;
}

/* Phones */
@media (max-width: 820px) {
  .hero { grid-template-columns: 1fr; gap: 40px; }
  .steps ol, .grid { grid-template-columns: 1fr; }
  main > section { padding: 56px 20px; }
  .beta { border-radius: 0; margin-bottom: 0 !important; }
}
