:root {
  --bg: #f6f5f1;
  --surface: #ffffff;
  --ink: #16181d;
  --muted: #5b606b;
  --line: #dedcd4;
  --accent: #e8590c;
  --accent-ink: #ffffff;
  --accent-soft: #fdeee4;
  --yes: #2f7d4f;
  --radius: 10px;
  --max: 1080px;
  font-family: "Inter", -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
}
@media (prefers-color-scheme: dark) {
  :root:not([data-theme="light"]) {
    --bg: #121418;
    --surface: #1b1e24;
    --ink: #eceae4;
    --muted: #a3a7b0;
    --line: #2d3139;
    --accent: #ff7a2e;
    --accent-ink: #16181d;
    --accent-soft: #2e2018;
    --yes: #5fbf86;
  }
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  background: var(--bg);
  color: var(--ink);
  line-height: 1.55;
  font-size: 17px;
  -webkit-font-smoothing: antialiased;
}
a { color: inherit; }
.wrap { max-width: var(--max); margin: 0 auto; padding: 0 16px; }

/* Header */
.top { border-bottom: 1px solid var(--line); }
.top .wrap { display: flex; align-items: center; justify-content: space-between; height: 60px; }
.brand { font-weight: 700; letter-spacing: -0.01em; text-decoration: none; display: flex; align-items: center; gap: 10px; }
.brand-mark { width: 22px; height: 22px; border-radius: 5px; background: var(--accent); display: inline-block; position: relative; }
.brand-mark::after { content: ""; position: absolute; inset: 6px 5px 5px 6px; border: 2px solid var(--accent-ink); border-radius: 2px; border-top-color: transparent; }
.top nav a { font-size: 15px; color: var(--muted); text-decoration: none; margin-left: 20px; }
.top nav a:hover { color: var(--ink); }

/* Buttons */
.btn {
  display: inline-block; background: var(--accent); color: var(--accent-ink);
  font-weight: 600; text-decoration: none; padding: 14px 22px; border-radius: 8px;
  border: 0; font-size: 16px; cursor: pointer;
}
.btn:hover { filter: brightness(1.05); }
.btn-ghost { background: transparent; color: var(--ink); border: 1px solid var(--line); }

/* Hero */
.hero { padding: 72px 0 56px; }
.hero-grid { display: grid; grid-template-columns: 1.15fr 0.85fr; gap: 48px; align-items: center; }
.eyebrow {
  display: inline-block; font-size: 14px; font-weight: 600; color: var(--accent);
  background: var(--accent-soft); padding: 5px 10px; border-radius: 999px; margin-bottom: 18px;
}
h1 { font-size: clamp(34px, 5vw, 52px); line-height: 1.08; letter-spacing: -0.025em; margin: 0 0 18px; }
.lede { font-size: 19px; color: var(--muted); margin: 0 0 28px; max-width: 34em; }
.hero-actions { display: flex; gap: 12px; flex-wrap: wrap; }
.trust { display: grid; grid-template-columns: repeat(2, max-content); gap: 10px 28px; margin-top: 28px; font-size: 15px; color: var(--muted); list-style: none; padding: 0; }
.trust li::before { content: "✓"; color: var(--yes); font-weight: 700; margin-right: 7px; }

/* Hero visual: video → verdict */
.flowcard { background: var(--surface); border: 1px solid var(--line); border-radius: 14px; padding: 18px; box-shadow: 0 1px 0 var(--line); }
.phone {
  aspect-ratio: 16 / 9; border-radius: 8px; background: #23262d; position: relative; overflow: hidden;
  display: flex; align-items: center; justify-content: center;
}
.phone svg { width: 100%; height: 100%; }
.phone-label { position: absolute; left: 10px; bottom: 8px; font-size: 12px; color: #c9ccd2; }
.arrow { text-align: center; color: var(--muted); font-size: 13px; padding: 10px 0; }
.verdict { border: 1px solid var(--line); border-radius: 8px; padding: 14px; font-size: 14px; }
.verdict-head { display: flex; justify-content: space-between; align-items: baseline; margin-bottom: 8px; }
.verdict-head strong { font-size: 16px; }
.pill { font-size: 12px; font-weight: 700; padding: 3px 9px; border-radius: 999px; background: color-mix(in srgb, var(--yes) 15%, transparent); color: var(--yes); }
.verdict dl { display: grid; grid-template-columns: auto 1fr; gap: 4px 14px; margin: 0; }
.verdict dt { color: var(--muted); }
.verdict dd { margin: 0; }

/* Sections */
section { padding: 64px 0; }
section.alt { background: var(--surface); border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); }
h2 { font-size: clamp(26px, 3.4vw, 34px); letter-spacing: -0.02em; line-height: 1.15; margin: 0 0 10px; }
.section-lede { color: var(--muted); margin: 0 0 36px; max-width: 40em; }

.steps { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; counter-reset: step; list-style: none; padding: 0; margin: 0; }
.steps li { background: var(--bg); border: 1px solid var(--line); border-radius: var(--radius); padding: 22px; counter-increment: step; }
section:not(.alt) .steps li { background: var(--surface); }
.steps li::before {
  content: counter(step); display: inline-flex; width: 32px; height: 32px; border-radius: 50%;
  align-items: center; justify-content: center; background: var(--accent); color: var(--accent-ink);
  font-weight: 700; margin-bottom: 14px;
}
.steps h3 { margin: 0 0 6px; font-size: 19px; }
.steps p { margin: 0; color: var(--muted); font-size: 16px; }
.steps a { color: var(--accent); font-weight: 600; }

/* Report preview */
.report-grid { display: grid; grid-template-columns: 0.9fr 1.1fr; gap: 40px; align-items: start; }
.checklist { list-style: none; padding: 0; margin: 0; }
.checklist li { padding: 12px 0; border-bottom: 1px solid var(--line); display: grid; grid-template-columns: 28px 1fr; }
.checklist li:last-child { border-bottom: 0; }
.checklist .n { color: var(--accent); font-weight: 700; }
.checklist b { display: block; }
.checklist span.d { color: var(--muted); font-size: 15px; }

.doc { background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius); padding: 26px; font-size: 15px; position: relative; }
section.alt .doc { background: var(--bg); }
.doc-tag {
  position: absolute; top: -11px; right: 18px; font-size: 12px; font-weight: 600;
  background: var(--ink); color: var(--bg); padding: 3px 9px; border-radius: 999px;
}
.doc h3 { margin: 0 0 2px; font-size: 18px; }
.doc .meta { color: var(--muted); font-size: 13px; margin-bottom: 14px; }
.doc .note { background: var(--accent-soft); border-left: 3px solid var(--accent); padding: 8px 12px; font-size: 13px; margin-bottom: 16px; border-radius: 0 6px 6px 0; }
.doc h4 { font-size: 13px; text-transform: uppercase; letter-spacing: 0.05em; color: var(--muted); margin: 16px 0 6px; }
.doc table { width: 100%; border-collapse: collapse; }
.doc td { padding: 6px 0; border-bottom: 1px solid var(--line); vertical-align: top; }
.doc td:first-child { color: var(--muted); width: 42%; padding-right: 12px; }
.doc .big { font-size: 20px; font-weight: 700; color: var(--yes); }

/* Neutral */
.why { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
.why div { border-top: 3px solid var(--accent); padding-top: 14px; }
.why h3 { margin: 0 0 6px; font-size: 18px; }
.why p { margin: 0; color: var(--muted); font-size: 16px; }
.compare { margin-top: 36px; width: 100%; border-collapse: collapse; font-size: 15px; }
.compare th, .compare td { text-align: left; padding: 12px 10px; border-bottom: 1px solid var(--line); }
.compare th { color: var(--muted); font-weight: 600; font-size: 13px; text-transform: uppercase; letter-spacing: 0.04em; }
.compare tr.us td { font-weight: 600; background: var(--accent-soft); }
.table-scroll { overflow-x: auto; }

/* Form */
.form-grid { display: grid; grid-template-columns: 0.75fr 1.25fr; gap: 40px; align-items: start; }
.form-side p { color: var(--muted); }
.form-side ul { padding-left: 18px; color: var(--muted); font-size: 16px; }
.form-box { background: var(--surface); border: 1px solid var(--line); border-radius: 14px; padding: 8px 22px; min-height: 320px; }
section.alt .form-box { background: var(--bg); }
.form-placeholder { padding: 28px 4px; }
.form-placeholder h3 { margin: 0 0 6px; }
.form-placeholder code { background: var(--accent-soft); padding: 1px 6px; border-radius: 4px; font-size: 14px; }
.form-placeholder ol { color: var(--muted); font-size: 15px; padding-left: 20px; }
.fallback-mail { font-size: 15px; color: var(--muted); margin-top: 14px; }

/* FAQ */
.faq { max-width: 760px; }
.faq details { border-bottom: 1px solid var(--line); padding: 16px 0; }
.faq summary { font-weight: 600; cursor: pointer; font-size: 17px; }
.faq details p { color: var(--muted); margin: 10px 0 0; }

footer { padding: 36px 0 48px; color: var(--muted); font-size: 14px; border-top: 1px solid var(--line); }
footer .wrap { display: flex; justify-content: space-between; flex-wrap: wrap; gap: 12px; }
.privacy { max-width: 760px; }
.privacy p { color: var(--muted); margin: 0; }

/* Guide + thank-you pages */
.page { padding: 56px 0 72px; }
.page .wrap { max-width: 780px; }
.page h1 { font-size: clamp(30px, 4.2vw, 42px); }
.page h2 { font-size: 24px; margin-top: 40px; }
.page ol, .page ul { padding-left: 22px; }
.page li { margin: 6px 0; }
.shots { display: grid; gap: 14px; margin: 18px 0; }
.shot { display: grid; grid-template-columns: 44px 1fr auto; gap: 14px; align-items: start; background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius); padding: 16px; }
.shot .num { width: 36px; height: 36px; border-radius: 8px; background: var(--accent); color: var(--accent-ink); font-weight: 700; display: flex; align-items: center; justify-content: center; }
.shot h3 { margin: 0 0 4px; font-size: 17px; }
.shot p { margin: 0; color: var(--muted); font-size: 15px; }
.shot .len { font-size: 13px; font-weight: 600; color: var(--muted); white-space: nowrap; }
.callout { background: var(--surface); border: 1px solid var(--line); border-left: 4px solid var(--accent); border-radius: 8px; padding: 18px 20px; margin: 28px 0; }
.callout p { margin: 0 0 12px; }
.thanks-icon { width: 56px; height: 56px; border-radius: 50%; background: color-mix(in srgb, var(--yes) 15%, transparent); color: var(--yes); display: flex; align-items: center; justify-content: center; font-size: 28px; font-weight: 700; margin-bottom: 20px; }

@media (max-width: 860px) {
  .hero { padding: 44px 0 36px; }
  .hero-grid, .report-grid, .form-grid { grid-template-columns: 1fr; gap: 32px; }
  .steps, .why { grid-template-columns: 1fr; }
  .trust { grid-template-columns: 1fr; }
  section { padding: 48px 0; }
  .top nav a:not(.nav-cta) { display: none; }
  .shot { grid-template-columns: 40px 1fr; }
  .shot .len { grid-column: 2; }
}

.doc-link { display: block; text-decoration: none; color: inherit; transition: border-color .15s; }
.doc-link:hover { border-color: var(--accent); }
.doc-cta { margin: 12px 0 0; font-weight: 600; }
.doc-cta a { color: var(--accent); text-decoration: none; }
