:root {
  --ink: #15212f;
  --ink-2: #2b3846;
  --muted: #5b6573;
  --bg: #fbfaf7;
  --surface: #ffffff;
  --line: #e6e2da;
  --accent: #b9472a;
  --accent-dark: #9a3a21;
  --accent-soft: #f6e8e2;
  --dark: #15212f;
  --dark-line: #2d3a49;
  --good: #2f6b4f;
  --warn: #9a6a12;
  --bad: #a3361f;
  --radius: 10px;
  --max: 1120px;
  --serif: "Fraunces", Georgia, "Times New Roman", serif;
  --sans: "Inter", -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
}

* { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; }
body {
  margin: 0;
  background: var(--bg);
  color: var(--ink);
  font-family: var(--sans);
  font-size: 17px;
  line-height: 1.6;
}
img { max-width: 100%; display: block; }
a { color: var(--accent); }
a:hover { color: var(--accent-dark); }

h1, h2, h3 { font-family: var(--serif); font-weight: 600; line-height: 1.15; letter-spacing: -0.01em; margin: 0 0 16px; color: var(--ink); }
h1 { font-size: clamp(34px, 5vw, 54px); }
h2 { font-size: clamp(26px, 3.4vw, 36px); }
h3 { font-size: 21px; }
p { margin: 0 0 16px; }

.container { width: 100%; max-width: var(--max); margin: 0 auto; padding: 0 24px; }
.narrow { max-width: 760px; }
.section { padding: 80px 0; }
.section-tight { padding: 56px 0; }
.section-alt { background: var(--surface); border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); }
.eyebrow { font-size: 13px; font-weight: 600; letter-spacing: 0.08em; text-transform: uppercase; color: var(--accent); margin-bottom: 12px; }
.lead { font-size: 20px; color: var(--ink-2); max-width: 640px; }
.muted { color: var(--muted); }
.small { font-size: 14px; }

/* Buttons */
.btn {
  display: inline-block;
  padding: 14px 24px;
  border-radius: 8px;
  font-weight: 600;
  font-size: 16px;
  text-decoration: none;
  border: 2px solid transparent;
  cursor: pointer;
  font-family: var(--sans);
  line-height: 1.2;
  transition: background 0.15s, color 0.15s, border-color 0.15s;
}
.btn-primary { background: var(--accent); color: #fff; }
.btn-primary:hover { background: var(--accent-dark); color: #fff; }
.btn-outline { background: transparent; color: var(--ink); border-color: var(--ink); }
.btn-outline:hover { background: var(--ink); color: #fff; }
.btn-light { background: #fff; color: var(--ink); }
.btn-light:hover { background: var(--accent-soft); color: var(--ink); }
.btn-row { display: flex; flex-wrap: wrap; gap: 12px; align-items: center; margin-top: 28px; }
.text-link { font-weight: 600; text-decoration: none; }
.text-link::after { content: " \2192"; }

/* Header */
.site-header { position: sticky; top: 0; z-index: 50; background: rgba(251, 250, 247, 0.96); border-bottom: 1px solid var(--line); backdrop-filter: blur(6px); }
.header-inner { display: flex; align-items: center; justify-content: space-between; height: 72px; gap: 24px; }
.wordmark { font-family: var(--serif); font-weight: 600; font-size: 22px; color: var(--ink); text-decoration: none; white-space: nowrap; }
.wordmark span { color: var(--accent); }
.nav { display: flex; align-items: center; gap: 28px; }
.nav a { color: var(--ink); text-decoration: none; font-size: 15px; font-weight: 500; white-space: nowrap; }
.nav a:hover, .nav a[aria-current="page"] { color: var(--accent); }
.nav .btn { color: #fff; padding: 10px 18px; font-size: 15px; }
.nav .btn:hover { color: #fff; }
.menu-toggle { display: none; background: none; border: 1px solid var(--line); border-radius: 8px; padding: 8px 12px; font: inherit; font-size: 15px; color: var(--ink); cursor: pointer; }

@media (max-width: 900px) {
  .menu-toggle { display: block; }
  .nav { display: none; position: absolute; top: 72px; left: 0; right: 0; background: var(--bg); border-bottom: 1px solid var(--line); flex-direction: column; align-items: stretch; gap: 0; padding: 8px 24px 20px; }
  .nav.open { display: flex; }
  .nav a { padding: 14px 0; border-bottom: 1px solid var(--line); font-size: 17px; }
  .nav .btn { margin-top: 16px; text-align: center; border-bottom: none; }
}

/* Hero */
.hero { padding: 72px 0 64px; }
.hero-grid { display: grid; grid-template-columns: 1.25fr 1fr; gap: 56px; align-items: center; }
.hero-card { background: var(--dark); color: #e9edf2; border-radius: 14px; padding: 32px; }
.hero-card h3 { color: #fff; font-size: 24px; }
.hero-card p { color: #c6cdd6; }
.hero-card .tag { display: inline-block; font-size: 12px; font-weight: 600; letter-spacing: 0.08em; text-transform: uppercase; background: var(--accent); color: #fff; padding: 4px 10px; border-radius: 999px; margin-bottom: 16px; }
.hero-card ul { list-style: none; padding: 0; margin: 0 0 24px; }
.hero-card li { padding: 8px 0; border-top: 1px solid var(--dark-line); font-size: 15px; color: #dfe4ea; }
.hero-card li:first-child { border-top: none; }
@media (max-width: 900px) { .hero-grid { grid-template-columns: 1fr; gap: 40px; } .hero { padding: 48px 0; } }

/* Proof strip */
.proof-wrap { border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); background: var(--surface); }
.proof { display: grid; grid-template-columns: repeat(3, 1fr); gap: 0; }
.proof div { padding: 22px 24px; font-weight: 600; font-size: 16px; border-left: 1px solid var(--line); }
.proof div:first-child { border-left: none; padding-left: 0; }
.proof span { display: block; font-weight: 400; color: var(--muted); font-size: 14px; }
@media (max-width: 720px) { .proof { grid-template-columns: 1fr; } .proof div { border-left: none; border-top: 1px solid var(--line); } .proof div:first-child { border-top: none; } .proof div { padding-left: 0; } }

/* Offer cards */
.cards { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; margin-top: 40px; }
.card { background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius); padding: 28px; display: flex; flex-direction: column; }
.card .situation { font-size: 15px; color: var(--muted); font-style: italic; margin-bottom: 14px; }
.card h3 { margin-bottom: 10px; }
.card .price { font-weight: 700; color: var(--ink); margin: 4px 0 20px; }
.card .btn { margin-top: auto; text-align: center; }
@media (max-width: 900px) { .cards { grid-template-columns: 1fr; } }

/* Two column content */
.split { display: grid; grid-template-columns: 1fr 1fr; gap: 56px; align-items: start; }
.split-photo { grid-template-columns: 220px minmax(0, 640px); gap: 48px; align-items: center; }
@media (max-width: 900px) { .split { grid-template-columns: 1fr; gap: 32px; } }

/* Lists */
.check-list { list-style: none; padding: 0; margin: 0; }
.check-list li { position: relative; padding: 12px 0 12px 32px; border-top: 1px solid var(--line); }
.check-list li:first-child { border-top: none; }
.check-list li::before { content: ""; position: absolute; left: 4px; top: 21px; width: 12px; height: 7px; border-left: 2px solid var(--accent); border-bottom: 2px solid var(--accent); transform: rotate(-45deg); }

.steps { list-style: none; padding: 0; margin: 0; counter-reset: step; }
.steps li { counter-increment: step; position: relative; padding: 16px 0 16px 56px; border-top: 1px solid var(--line); }
.steps li:first-child { border-top: none; }
.steps li::before { content: counter(step); position: absolute; left: 0; top: 14px; width: 36px; height: 36px; border-radius: 50%; background: var(--accent-soft); color: var(--accent-dark); font-weight: 700; display: flex; align-items: center; justify-content: center; font-size: 15px; }
.steps strong { display: block; }

.timeline { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; margin-top: 32px; }
.timeline div { border-top: 3px solid var(--accent); padding-top: 16px; }
.timeline .when { font-size: 13px; font-weight: 700; letter-spacing: 0.06em; text-transform: uppercase; color: var(--accent); }
@media (max-width: 720px) { .timeline { grid-template-columns: 1fr; } }

/* Pricing box */
.price-box { background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius); padding: 32px; }
.price-box .big { font-family: var(--serif); font-size: 40px; font-weight: 600; line-height: 1; margin-bottom: 8px; }
.price-box hr { border: none; border-top: 1px solid var(--line); margin: 24px 0; }

/* FAQ */
.faq details { border-top: 1px solid var(--line); padding: 18px 0; }
.faq details:last-child { border-bottom: 1px solid var(--line); }
.faq summary { font-weight: 600; cursor: pointer; list-style: none; position: relative; padding-right: 32px; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: "+"; position: absolute; right: 4px; top: -2px; font-size: 22px; color: var(--accent); }
.faq details[open] summary::after { content: "\2212"; }
.faq details p { margin: 12px 0 0; color: var(--ink-2); }

/* About */
.portrait { width: 100%; max-width: 320px; aspect-ratio: 4 / 5; border-radius: 14px; background: var(--dark); color: #fff; display: flex; align-items: center; justify-content: center; font-family: var(--serif); font-size: 64px; }
.portrait-sm { max-width: 200px; font-size: 44px; }
img.portrait { object-fit: cover; object-position: center 20%; height: auto; }

/* CTA band */
.cta-band { background: var(--dark); color: #fff; padding: 64px 0; }
.cta-band h2 { color: #fff; margin-bottom: 8px; }
.cta-band p { color: #c6cdd6; margin: 0; }
.cta-inner { display: flex; align-items: center; justify-content: space-between; gap: 32px; flex-wrap: wrap; }

/* Forms */
.form { display: grid; gap: 18px; }
.form .row { display: grid; grid-template-columns: 1fr 1fr; gap: 18px; }
@media (max-width: 640px) { .form .row { grid-template-columns: 1fr; } }
.form label { display: block; font-weight: 600; font-size: 15px; margin-bottom: 6px; }
.form .req { color: var(--accent); }
.form input[type="text"], .form input[type="email"], .form input[type="url"], .form select, .form textarea {
  width: 100%; padding: 12px 14px; font: inherit; font-size: 16px; color: var(--ink);
  background: #fff; border: 1px solid #cfc9be; border-radius: 8px;
}
.form textarea { min-height: 110px; resize: vertical; }
.form input:focus, .form select:focus, .form textarea:focus { outline: 2px solid var(--accent); outline-offset: 1px; border-color: var(--accent); }
.radio-group { display: flex; flex-wrap: wrap; gap: 10px; }
.radio-group label { font-weight: 500; display: flex; align-items: center; gap: 8px; border: 1px solid #cfc9be; border-radius: 8px; padding: 10px 14px; margin: 0; cursor: pointer; background: #fff; }
.radio-group input:checked + span { font-weight: 600; }
.hp { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }
.form-status { font-size: 15px; }
.form-status.error { color: var(--bad); }
.form-card { background: var(--surface); border: 1px solid var(--line); border-radius: 14px; padding: 32px; }
.success-box { background: var(--accent-soft); border-radius: 10px; padding: 24px; }

/* Readiness check */
#quiz-questions, #quiz-result { scroll-margin-top: 96px; }
.quiz { background: var(--surface); border: 1px solid var(--line); border-radius: 14px; padding: 36px; }
@media (max-width: 640px) { .quiz { padding: 24px 18px; } }
.progress { height: 6px; background: var(--line); border-radius: 999px; overflow: hidden; margin-bottom: 8px; }
.progress span { display: block; height: 100%; background: var(--accent); width: 0; transition: width 0.25s; }
.q-count { font-size: 14px; color: var(--muted); margin-bottom: 20px; }
.q-text { font-family: var(--serif); font-size: 24px; line-height: 1.3; margin-bottom: 24px; }
.answers { display: grid; gap: 12px; }
.answer { text-align: left; font: inherit; font-size: 17px; padding: 16px 18px; border: 1px solid #cfc9be; border-radius: 10px; background: #fff; cursor: pointer; display: flex; justify-content: space-between; gap: 12px; color: var(--ink); }
.answer:hover { border-color: var(--accent); background: var(--accent-soft); }
.answer.selected { border-color: var(--accent); background: var(--accent-soft); font-weight: 600; }
.answer .pts { color: var(--muted); font-size: 14px; white-space: nowrap; }
.quiz-nav { display: flex; justify-content: space-between; margin-top: 24px; }
.quiz-back { background: none; border: none; color: var(--muted); font: inherit; cursor: pointer; padding: 8px 0; }
.quiz-back:disabled { visibility: hidden; }
.verdict { border-radius: 12px; padding: 28px; margin-bottom: 28px; color: #fff; }
.verdict.ready { background: var(--good); }
.verdict.fix { background: var(--warn); }
.verdict.wait { background: var(--bad); }
.verdict .score { font-size: 14px; font-weight: 600; letter-spacing: 0.06em; text-transform: uppercase; opacity: 0.9; }
.verdict h2 { color: #fff; margin: 8px 0; }
.verdict p { margin: 0; color: rgba(255, 255, 255, 0.92); }
.breakdown { list-style: none; padding: 0; margin: 0; }
.breakdown li { padding: 14px 0; border-top: 1px solid var(--line); display: grid; grid-template-columns: 1fr auto; gap: 16px; }
.breakdown li:first-child { border-top: none; }
.breakdown .fix-text { color: var(--ink-2); font-size: 15px; margin-top: 4px; }
.pill { font-size: 13px; font-weight: 700; padding: 3px 10px; border-radius: 999px; white-space: nowrap; align-self: start; }
.pill.p2 { background: #e3efe8; color: var(--good); }
.pill.p1 { background: #f6ecd8; color: var(--warn); }
.pill.p0 { background: #f6e1db; color: var(--bad); }
.hidden { display: none !important; }

/* Footer */
.site-footer { background: #0f1823; color: #aab3be; padding: 48px 0 32px; font-size: 15px; }
.footer-grid { display: flex; justify-content: space-between; gap: 32px; flex-wrap: wrap; }
.site-footer .wordmark { color: #fff; }
.site-footer a { color: #d7dde4; text-decoration: none; }
.site-footer a:hover { color: #fff; }
.footer-links { display: flex; flex-wrap: wrap; gap: 12px 24px; }
.footer-bottom { margin-top: 32px; padding-top: 20px; border-top: 1px solid #22303f; display: flex; justify-content: space-between; gap: 16px; flex-wrap: wrap; font-size: 14px; }

.skip { position: absolute; left: -9999px; }
.skip:focus { left: 16px; top: 16px; background: #fff; padding: 8px 12px; z-index: 100; }
