:root {
  --bg: #f6f3ec;
  --bg-2: #ece7db;
  --card: #fffdf8;
  --fg: #1a1c1b;
  --muted: #5b605c;
  --line: #ddd6c6;
  --gold: #9a7536;
  --gold-soft: #c9a567;
  --green: #1f5c3f;
  --green-deep: #0f3a27;
  --red: #c2413a;
  --shadow: 0 20px 50px -24px rgba(40, 30, 10, .35);
  --serif: "Fraunces", Georgia, "Times New Roman", serif;
  --sans: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", sans-serif;
  color-scheme: light dark;
}
@media (prefers-color-scheme: dark) {
  :root {
    --bg: #0c0e0d;
    --bg-2: #121513;
    --card: #171b19;
    --fg: #eceae4;
    --muted: #a2a8a3;
    --line: #262c29;
    --gold: #dcb36b;
    --gold-soft: #b8914f;
    --green: #6fc99a;
    --green-deep: #0f3a27;
    --red: #ef6a5f;
    --shadow: 0 24px 60px -28px rgba(0, 0, 0, .8);
  }
}

* { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; }
body { margin: 0; background: var(--bg); color: var(--fg); font: 17px/1.6 var(--sans); }
img { max-width: 100%; height: auto; display: block; }
a { color: var(--green); text-underline-offset: 3px; }
h1, h2, h3 { font-family: var(--serif); font-weight: 600; line-height: 1.15; letter-spacing: -.01em; }
h1 { font-size: clamp(34px, 6.2vw, 64px); margin: 0 0 18px; }
h2 { font-size: clamp(26px, 4vw, 40px); margin: 0 0 14px; }
h3 { font-size: 21px; margin: 0 0 6px; }
p { margin: 0 0 16px; }
.wrap { width: 100%; max-width: 1120px; margin: 0 auto; padding: 0 20px; }
.narrow { max-width: 760px; }
.eyebrow { font: 600 12px/1.2 var(--sans); letter-spacing: .2em; text-transform: uppercase; color: var(--gold); margin: 0 0 12px; }
.lead { font-size: clamp(18px, 2.2vw, 21px); color: var(--muted); max-width: 640px; }
.muted { color: var(--muted); }
.small { font-size: 14px; }

/* Header */
.site-header { position: sticky; top: 0; z-index: 10; background: color-mix(in srgb, var(--bg) 86%, transparent); backdrop-filter: saturate(1.4) blur(14px); -webkit-backdrop-filter: saturate(1.4) blur(14px); border-bottom: 1px solid var(--line); }
.site-header .wrap { display: flex; align-items: center; gap: 20px; height: 62px; }
.brand { display: flex; align-items: center; gap: 10px; color: var(--fg); text-decoration: none; font: 600 18px var(--serif); white-space: nowrap; }
.brand img { width: 30px; height: 30px; border-radius: 8px; }
.nav { display: flex; gap: 22px; margin-left: auto; align-items: center; }
.nav a { color: var(--muted); text-decoration: none; font-size: 15px; }
.nav a:hover, .nav a[aria-current] { color: var(--fg); }
.nav .btn { color: #1a1408; }
.nav-toggle { display: none; }
@media (max-width: 820px) {
  .nav { display: none; position: absolute; top: 62px; left: 0; right: 0; flex-direction: column; align-items: stretch; gap: 0; background: var(--bg); border-bottom: 1px solid var(--line); padding: 8px 20px 16px; }
  .nav a { padding: 12px 0; font-size: 17px; border-bottom: 1px solid var(--line); }
  .nav .btn { margin-top: 12px; text-align: center; border: 0; }
  .nav-toggle { display: inline-flex; margin-left: auto; background: none; border: 1px solid var(--line); color: var(--fg); border-radius: 10px; padding: 7px 12px; font: 15px var(--sans); }
  .site-header.open .nav { display: flex; }
}

/* Buttons */
.btn { display: inline-flex; align-items: center; gap: 10px; background: linear-gradient(180deg, #e8c585, #cfa35a); color: #1a1408; border-radius: 999px; padding: 13px 24px; font-weight: 600; text-decoration: none; box-shadow: 0 8px 24px -10px rgba(160, 110, 30, .7); border: 0; cursor: pointer; font-size: 16px; }
.btn:hover { filter: brightness(1.05); }
.btn.small { padding: 8px 16px; font-size: 14px; }
.btn.ghost { background: transparent; color: var(--fg); border: 1px solid var(--line); box-shadow: none; }
.btn svg { width: 18px; height: 18px; }
.cta-row { display: flex; gap: 12px; flex-wrap: wrap; align-items: center; margin-top: 26px; }
.badge-note { font-size: 14px; color: var(--muted); }

/* Hero */
.hero { padding: 64px 0 40px; overflow: hidden; }
.hero .wrap { display: grid; grid-template-columns: 1.05fr .95fr; gap: 48px; align-items: center; }
.hero-art { position: relative; display: flex; justify-content: center; }
.hero-art .dial { width: min(440px, 100%); aspect-ratio: 1; filter: drop-shadow(0 30px 40px rgba(0,0,0,.35)); }
@media (max-width: 860px) {
  .hero { padding-top: 36px; }
  .hero .wrap { grid-template-columns: 1fr; gap: 28px; }
  .hero-art { order: -1; }
  .hero-art .dial { width: min(320px, 86vw); }
}

/* Sections */
section { padding: 72px 0; }
section.alt { background: var(--bg-2); border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); }
.section-head { max-width: 680px; margin-bottom: 36px; }
.grid-3 { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
.grid-2 { display: grid; grid-template-columns: repeat(2, 1fr); gap: 20px; }
@media (max-width: 860px) { .grid-3, .grid-2 { grid-template-columns: 1fr; } section { padding: 52px 0; } }
.card { background: var(--card); border: 1px solid var(--line); border-radius: 20px; padding: 24px; }
.card p:last-child { margin-bottom: 0; }
.icon { width: 42px; height: 42px; border-radius: 12px; display: grid; place-items: center; background: color-mix(in srgb, var(--gold) 16%, transparent); color: var(--gold); margin-bottom: 14px; }
.icon svg { width: 22px; height: 22px; }

/* Feature rows with phone screenshots */
.feature { display: grid; grid-template-columns: 1fr 1fr; gap: 56px; align-items: center; padding: 28px 0; }
.feature.flip .shot { order: 2; }
.feature ul { padding-left: 20px; color: var(--muted); }
.feature li { margin-bottom: 6px; }
@media (max-width: 860px) { .feature { grid-template-columns: 1fr; gap: 24px; } .feature.flip .shot { order: 0; } }
.shot { display: flex; justify-content: center; gap: 16px; }
.phone { width: min(290px, 70vw); border-radius: 42px; padding: 10px; background: linear-gradient(145deg, #3a3d3b, #111312); box-shadow: var(--shadow); }
.phone img { border-radius: 33px; }
.shot .phone + .phone { margin-top: 48px; }
@media (max-width: 560px) { .shot .phone + .phone { display: none; } }

/* Stats strip */
.stats { display: grid; grid-template-columns: repeat(4, 1fr); gap: 16px; text-align: center; }
.stats b { display: block; font: 600 clamp(28px, 4vw, 40px) var(--serif); color: var(--gold); }
.stats span { color: var(--muted); font-size: 14px; }
@media (max-width: 700px) { .stats { grid-template-columns: repeat(2, 1fr); gap: 24px; } }

/* Pricing */
.plans { display: grid; grid-template-columns: repeat(2, 1fr); gap: 20px; max-width: 820px; }
.plans .card.pro { border-color: var(--gold-soft); box-shadow: var(--shadow); }
.plans ul { padding-left: 20px; margin: 12px 0 0; }
.plans .price { font: 600 30px var(--serif); margin: 4px 0 8px; }
@media (max-width: 700px) { .plans { grid-template-columns: 1fr; } }

/* FAQ */
details { border-bottom: 1px solid var(--line); padding: 16px 0; }
details summary { cursor: pointer; font-weight: 600; list-style: none; display: flex; justify-content: space-between; gap: 16px; }
details summary::after { content: "+"; color: var(--gold); font-size: 22px; line-height: 1; }
details[open] summary::after { content: "–"; }
details p { margin: 12px 0 0; color: var(--muted); }

/* Articles */
.article { padding: 48px 0 72px; }
.article h2 { font-size: 28px; margin-top: 40px; }
.article p, .article li { color: color-mix(in srgb, var(--fg) 88%, var(--muted)); }
.article .callout { background: var(--card); border: 1px solid var(--line); border-left: 4px solid var(--gold); border-radius: 12px; padding: 16px 20px; margin: 24px 0; }
.crumbs { font-size: 14px; color: var(--muted); margin-bottom: 18px; }
.crumbs a { color: var(--muted); }

/* Tables */
.table-wrap { overflow-x: auto; border: 1px solid var(--line); border-radius: 16px; background: var(--card); }
table { width: 100%; border-collapse: collapse; }
th, td { text-align: left; padding: 11px 14px; border-bottom: 1px solid var(--line); font-size: 15px; }
tr:last-child td { border-bottom: 0; }
th { color: var(--muted); font-weight: 600; font-size: 13px; text-transform: uppercase; letter-spacing: .06em; }
td.num { font-variant-numeric: tabular-nums; white-space: nowrap; }
.search { width: 100%; font: 16px var(--sans); padding: 12px 16px; border-radius: 12px; border: 1px solid var(--line); background: var(--card); color: var(--fg); margin-bottom: 16px; }

/* Calculator */
.calc { display: grid; gap: 14px; }
.calc label { display: grid; gap: 6px; font-weight: 600; font-size: 15px; }
.calc select, .calc input { font: 16px var(--sans); padding: 11px 14px; border-radius: 12px; border: 1px solid var(--line); background: var(--bg); color: var(--fg); width: 100%; }
.calc .row { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; }
@media (max-width: 560px) { .calc .row { grid-template-columns: 1fr; } }
.result { margin-top: 18px; padding: 20px; border-radius: 16px; background: var(--bg); border: 1px solid var(--line); }
.result b.big { display: block; font: 600 30px var(--serif); margin-bottom: 4px; }
.result.ok b.big { color: var(--green); }
.result.warn b.big { color: var(--red); }

/* Movement page hero stats */
.spec { display: flex; gap: 32px; flex-wrap: wrap; margin: 24px 0; padding: 20px 24px; background: var(--card); border: 1px solid var(--line); border-radius: 18px; }
.spec b { display: block; font: 600 32px var(--serif); }
.spec span { color: var(--muted); font-size: 14px; }

/* Closing CTA */
.closing { text-align: center; }
.closing .lead { margin: 0 auto; }
.closing .cta-row { justify-content: center; }

/* Footer */
.site-footer { border-top: 1px solid var(--line); padding: 40px 0; color: var(--muted); font-size: 14px; }
.site-footer .wrap { display: grid; grid-template-columns: 2fr 1fr 1fr 1fr; gap: 24px; }
.site-footer h4 { color: var(--fg); font: 600 14px var(--sans); margin: 0 0 10px; }
.site-footer a { color: var(--muted); text-decoration: none; display: block; padding: 3px 0; }
.site-footer a:hover { color: var(--fg); }
@media (max-width: 700px) { .site-footer .wrap { grid-template-columns: 1fr 1fr; } }
[id] { scroll-margin-top: 76px; }
