:root {
  --bg: #fdfaf4;
  --ink: #211a10;
  --muted: #6b5b41;
  --line: #efe4d2;
  --brand: #d97706;
  --brand-dk: #b45309;
  --brand-soft: #fef3c7;
  --good: #2f9e6b;
  --warn: #e0a106;
  --bad: #d9534f;
  --card: #ffffff;
  --shadow: 0 10px 30px rgba(217, 119, 6, 0.10);
  --radius: 16px;
  --maxw: 1080px;
}

* { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; }
body {
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
  background: var(--bg);
  color: var(--ink);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}
.container { width: 100%; max-width: var(--maxw); margin: 0 auto; padding: 0 20px; }
a { color: inherit; text-decoration: none; }
em { font-style: normal; }

/* Buttons */
.btn {
  display: inline-block;
  font-weight: 600;
  border-radius: 999px;
  padding: 11px 20px;
  cursor: pointer;
  border: 1px solid transparent;
  font-size: 15px;
  transition: transform .08s ease, background .2s ease, box-shadow .2s ease;
}
.btn:active { transform: translateY(1px); }
.btn-primary { background: var(--brand); color: #fff; }
.btn-primary:hover { background: var(--brand-dk); box-shadow: 0 6px 18px rgba(217,119,6,.35); }
.btn-lg { padding: 14px 26px; font-size: 16px; }
.btn-block { width: 100%; text-align: center; }

/* Nav */
.nav {
  position: sticky; top: 0; z-index: 50;
  background: rgba(253,250,244,.85);
  backdrop-filter: blur(10px);
  border-bottom: 1px solid var(--line);
}
.nav-inner { display: flex; align-items: center; gap: 18px; height: 64px; }
.brand { font-weight: 800; font-size: 22px; letter-spacing: -.5px; }
.brand-dot { color: var(--brand); }
.nav-links { display: flex; gap: 22px; margin-left: auto; font-size: 15px; color: var(--muted); }
.nav-links a:hover { color: var(--ink); }
.nav-cta { margin-left: 8px; }

/* Hero */
.hero { padding: 64px 0 48px; }
.hero-inner { display: grid; grid-template-columns: 1.1fr .9fr; gap: 40px; align-items: center; }
.badge {
  display: inline-block; background: var(--brand-soft); color: var(--brand-dk);
  font-size: 13px; font-weight: 600; padding: 6px 12px; border-radius: 999px; margin-bottom: 16px;
}
.hero h1 { font-size: 46px; line-height: 1.08; letter-spacing: -1px; font-weight: 800; }
.hl { color: var(--brand); }
.lede { color: var(--muted); font-size: 18px; margin: 18px 0 26px; max-width: 540px; }
.lede strong { color: var(--ink); }
.hero-actions { display: flex; flex-direction: column; gap: 10px; align-items: flex-start; }
.hero-note { font-size: 13px; color: var(--muted); }
.hero-stats { display: flex; gap: 28px; margin-top: 30px; }
.hero-stats strong { display: block; font-size: 26px; color: var(--ink); }
.hero-stats span { font-size: 13px; color: var(--muted); }

/* Hero visual / score card */
.hero-visual { display: flex; justify-content: center; }
.score-card {
  background: var(--card); border: 1px solid var(--line); border-radius: var(--radius);
  box-shadow: var(--shadow); padding: 26px; width: 320px;
}
.score-ring {
  width: 120px; height: 120px; border-radius: 50%;
  background: conic-gradient(var(--brand) 0deg, #f0e6d6 0deg);
  display: flex; align-items: center; justify-content: center; flex-direction: column;
  margin: 0 auto 16px; position: relative;
}
.score-ring::after {
  content: ""; position: absolute; inset: 12px; background: var(--card); border-radius: 50%;
}
.score-ring.lg { width: 150px; height: 150px; }
.score-num { position: relative; z-index: 1; font-size: 38px; font-weight: 800; }
.score-ring.lg .score-num { font-size: 46px; }
.score-grad { position: relative; z-index: 1; font-size: 13px; color: var(--muted); }
.score-meta { text-align: center; margin-bottom: 18px; }
.grade {
  display: inline-block; background: var(--brand-soft); color: var(--brand-dk);
  font-weight: 700; padding: 3px 12px; border-radius: 999px; font-size: 14px;
}
.grade.big { font-size: 18px; padding: 5px 16px; }
.score-sub { display: block; font-size: 13px; color: var(--muted); margin-top: 4px; }
.mini-bars { display: flex; flex-direction: column; gap: 10px; }
.mbar { display: grid; grid-template-columns: 90px 1fr; align-items: center; gap: 10px; font-size: 13px; color: var(--muted); }
.mbar i { display: block; height: 8px; background: var(--brand); border-radius: 999px; }
.mbar i { grid-column: 2; }
.mbar span { grid-column: 1; }

/* Section heads */
.section-head { text-align: center; max-width: 640px; margin: 0 auto 36px; }
.section-head h2 { font-size: 34px; letter-spacing: -.5px; font-weight: 800; }
.section-head p { color: var(--muted); margin-top: 10px; font-size: 17px; }

/* Audit */
.audit { padding: 56px 0; background: linear-gradient(180deg, #fff 0%, var(--bg) 100%); }
.audit-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 28px; align-items: start; }
.audit-form, .audit-result {
  background: var(--card); border: 1px solid var(--line); border-radius: var(--radius);
  box-shadow: var(--shadow); padding: 24px;
}
.field { display: block; margin-bottom: 16px; }
.field > span { display: flex; justify-content: space-between; font-size: 14px; font-weight: 600; margin-bottom: 6px; }
.field em { color: var(--muted); font-weight: 500; font-size: 12px; }
.field input, .field textarea, .field select {
  width: 100%; border: 1px solid var(--line); border-radius: 10px; padding: 11px 13px;
  font: inherit; color: var(--ink); background: #fffaef; resize: vertical;
}
.field input:focus, .field textarea:focus, .field select:focus { outline: none; border-color: var(--brand); box-shadow: 0 0 0 3px var(--brand-soft); }
.field-row { display: flex; gap: 14px; }
.field-row .field { flex: 1; }
@media (max-width: 560px) { .field-row { flex-direction: column; gap: 0; } }
.form-fine { font-size: 12px; color: var(--muted); text-align: center; margin-top: 10px; }

/* Result */
.result-top { display: flex; gap: 20px; align-items: center; margin-bottom: 22px; }
.result-sub { font-size: 14px; color: var(--muted); margin-top: 6px; max-width: 240px; }
.bars { display: flex; flex-direction: column; gap: 12px; margin-bottom: 22px; }
.bar-row { display: grid; grid-template-columns: 120px 1fr 38px; align-items: center; gap: 10px; font-size: 13px; }
.bar-track { height: 9px; background: #f0e6d6; border-radius: 999px; overflow: hidden; }
.bar-fill { height: 100%; border-radius: 999px; background: var(--brand); transition: width .5s ease; }
.bar-val { text-align: right; color: var(--muted); font-weight: 600; }
.tips h3 { font-size: 16px; margin-bottom: 10px; }
.tips ul { list-style: none; display: flex; flex-direction: column; gap: 8px; }
.tips li { background: var(--brand-soft); border-radius: 10px; padding: 10px 12px; font-size: 14px; position: relative; padding-left: 34px; }
.tips li::before { content: "→"; position: absolute; left: 12px; color: var(--brand-dk); font-weight: 800; }
.tips li.ok { background: #e9f7f0; }
.tips li.ok::before { content: "✓"; color: var(--good); }

.email-capture { border-top: 1px solid var(--line); padding-top: 18px; margin-top: 4px; }
.email-capture label { display: block; font-size: 14px; font-weight: 600; margin-bottom: 8px; }
.email-row { display: flex; gap: 8px; }
.email-row input { flex: 1; border: 1px solid var(--line); border-radius: 10px; padding: 11px 13px; font: inherit; }
.email-row input:focus { outline: none; border-color: var(--brand); box-shadow: 0 0 0 3px var(--brand-soft); }

/* How */
.how { padding: 56px 0; }
.steps { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
.step { background: var(--card); border: 1px solid var(--line); border-radius: var(--radius); padding: 24px; }
.step-num { display: inline-flex; width: 34px; height: 34px; align-items: center; justify-content: center; background: var(--brand); color: #fff; border-radius: 50%; font-weight: 800; margin-bottom: 12px; }
.step h3 { font-size: 19px; margin-bottom: 6px; }
.step p { color: var(--muted); font-size: 15px; }

/* Why */
.why { padding: 56px 0; background: #fff; }
.why-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 18px; }
.why-card { border: 1px solid var(--line); border-radius: var(--radius); padding: 22px; }
.why-card h3 { font-size: 18px; margin-bottom: 8px; }
.why-card p { color: var(--muted); font-size: 15px; }

/* FAQ */
.faq { padding: 56px 0; }
.faq-list { max-width: 720px; margin: 0 auto; display: flex; flex-direction: column; gap: 10px; }
.faq details { background: var(--card); border: 1px solid var(--line); border-radius: 12px; padding: 4px 18px; }
.faq summary { cursor: pointer; font-weight: 600; padding: 14px 0; list-style: none; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: "+"; float: right; color: var(--brand); font-weight: 800; }
.faq details[open] summary::after { content: "−"; }
.faq details p { color: var(--muted); padding: 0 0 14px; font-size: 15px; }

/* Footer */
.footer { border-top: 1px solid var(--line); padding: 36px 0; background: var(--bg); }
.footer-inner { display: flex; flex-direction: column; gap: 10px; }
.footer-sub { color: var(--muted); font-size: 14px; margin-top: 6px; max-width: 360px; }
.footer-fine { font-size: 12px; color: var(--muted); }

/* Responsive */
@media (max-width: 860px) {
  .hero-inner, .audit-grid, .why-grid { grid-template-columns: 1fr; }
  .hero-visual { order: -1; }
  .steps { grid-template-columns: 1fr; }
  .nav-links { display: none; }
  .hero h1 { font-size: 36px; }
}
