:root {
  --accent: #ff5a3c;
  --ink: #15130f;
  --ink-soft: #5b554c;
  --paper: #fbf9f5;
  --paper-alt: #f1ede4;
  --line: #e3ddd1;
  --white: #ffffff;
  --maxw: 1080px;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  font-family: 'Inter', system-ui, -apple-system, sans-serif;
  color: var(--ink);
  background: var(--paper);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}
h1, h2, h3 { line-height: 1.12; letter-spacing: -0.02em; margin: 0 0 .4em; }
p { margin: 0 0 1em; }

.wrap { width: 100%; max-width: var(--maxw); margin: 0 auto; padding: 0 24px; }
.narrow { max-width: 720px; }

/* Buttons */
.btn {
  display: inline-flex; align-items: center; justify-content: center;
  background: var(--accent); color: #fff; font-weight: 600;
  padding: 14px 26px; border-radius: 999px; border: 0;
  text-decoration: none; cursor: pointer; font-size: 1rem;
  transition: transform .12s ease, filter .12s ease;
}
.btn:hover { filter: brightness(1.05); transform: translateY(-1px); }
.btn-sm { padding: 9px 18px; font-size: .9rem; }
.btn-ghost { background: transparent; color: var(--ink); border: 1px solid var(--line); }
.btn-ghost:hover { background: var(--paper-alt); }

/* Nav */
.nav {
  position: sticky; top: 0; z-index: 50;
  background: rgba(251,249,245,.85); backdrop-filter: blur(10px);
  border-bottom: 1px solid var(--line);
}
.nav-inner { display: flex; align-items: center; justify-content: space-between; height: 64px; }
.logo { font-weight: 800; font-size: 1.15rem; text-decoration: none; color: var(--ink); letter-spacing: -.02em; }

/* Hero */
.hero { padding: 96px 0 72px; }
.eyebrow { color: var(--accent); font-weight: 700; text-transform: uppercase; letter-spacing: .08em; font-size: .8rem; margin-bottom: 16px; }
.hero h1 { font-size: clamp(2.4rem, 6vw, 4.2rem); font-weight: 800; max-width: 14ch; }
.lead { font-size: clamp(1.1rem, 2.2vw, 1.4rem); color: var(--ink-soft); max-width: 56ch; margin-top: 20px; }
.hero-actions { display: flex; align-items: center; gap: 20px; flex-wrap: wrap; margin-top: 32px; }
.hero-note { color: var(--ink-soft); font-size: .95rem; }

/* Stats */
.stats { border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); background: var(--white); }
.stats-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; padding: 40px 24px; }
.stat-value { font-size: clamp(1.8rem, 4vw, 2.6rem); font-weight: 800; color: var(--accent); }
.stat-label { color: var(--ink-soft); font-size: .95rem; }

/* Sections */
.section { padding: 80px 0; }
.section.alt { background: var(--paper-alt); }
.section-title { font-size: clamp(1.7rem, 3.5vw, 2.4rem); font-weight: 800; margin-bottom: 36px; }

/* Fit */
.fit-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 24px; }
.fit-card { background: var(--white); border: 1px solid var(--line); border-radius: 18px; padding: 28px; }
.fit-card h3 { font-size: 1.15rem; }
.fit-card.good { border-left: 4px solid var(--accent); }
.fit-card.bad { opacity: .92; }
.fit-card ul { list-style: none; padding: 0; margin: 0; }
.fit-card li { padding: 9px 0 9px 28px; position: relative; color: var(--ink-soft); border-top: 1px solid var(--line); }
.fit-card li:first-child { border-top: 0; }
.fit-card.good li::before { content: "✓"; position: absolute; left: 0; color: var(--accent); font-weight: 700; }
.fit-card.bad li::before { content: "✕"; position: absolute; left: 0; color: #b9b1a3; font-weight: 700; }

/* Cards / steps */
.cards, .steps { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; }
.card, .step { background: var(--white); border: 1px solid var(--line); border-radius: 18px; padding: 28px; }
.section.alt .card { background: var(--paper); }
.card h3, .step h3 { font-size: 1.2rem; }
.card p, .step p { color: var(--ink-soft); margin: 0; }

/* Quotes */
.quotes { display: grid; gap: 24px; grid-template-columns: 1fr; }
.quote { margin: 0; background: var(--paper); border: 1px solid var(--line); border-radius: 18px; padding: 32px; }
.quote blockquote { margin: 0 0 16px; font-size: 1.25rem; font-weight: 500; }
.quote figcaption { color: var(--ink-soft); font-size: .95rem; }

.about-body { font-size: 1.2rem; color: var(--ink-soft); }

/* Quiz */
.quiz-section { background: var(--ink); color: var(--paper); }
.quiz-section .section-title { color: #fff; }
.quiz-sub { color: #b8b2a6; margin-bottom: 32px; }
.quiz { background: rgba(255,255,255,.04); border: 1px solid rgba(255,255,255,.12); border-radius: 20px; padding: 32px; }
.quiz legend { font-size: 1.3rem; font-weight: 700; margin-bottom: 20px; color: #fff; }
.opts { display: grid; gap: 12px; }
.opt { display: flex; align-items: center; gap: 12px; padding: 16px 18px; border: 1px solid rgba(255,255,255,.16); border-radius: 12px; cursor: pointer; transition: border-color .12s, background .12s; }
.opt:hover { border-color: var(--accent); }
.opt input { accent-color: var(--accent); width: 18px; height: 18px; }
.opt input:checked + span { font-weight: 600; }
.opt:has(input:checked) { border-color: var(--accent); background: rgba(255,90,60,.12); }
.fields { display: grid; gap: 16px; }
.fields label { display: grid; gap: 6px; font-size: .9rem; color: #b8b2a6; }
.fields input, .fields textarea { background: rgba(255,255,255,.06); border: 1px solid rgba(255,255,255,.16); border-radius: 10px; padding: 12px 14px; color: #fff; font: inherit; }
.fields input:focus, .fields textarea:focus { outline: none; border-color: var(--accent); }
.quiz-nav { display: flex; gap: 12px; margin-top: 28px; }
.quiz-nav .btn-ghost { color: #fff; border-color: rgba(255,255,255,.25); }
.quiz-nav .btn-ghost:hover { background: rgba(255,255,255,.08); }
.quiz-progress { text-align: center; color: #8a857b; font-size: .85rem; margin: 16px 0 0; }
.quiz-result { margin-top: 24px; padding: 28px; border-radius: 16px; background: rgba(255,255,255,.06); font-size: 1.15rem; }
.hp { position: absolute; left: -9999px; opacity: 0; height: 0; width: 0; }

/* Footer */
.footer { border-top: 1px solid var(--line); padding: 32px 0; }
.footer-inner { display: flex; justify-content: space-between; gap: 16px; flex-wrap: wrap; color: var(--ink-soft); font-size: .9rem; }
.footer a { color: var(--ink-soft); }

@media (max-width: 760px) {
  .stats-grid, .fit-grid, .cards, .steps { grid-template-columns: 1fr; }
  .hero { padding: 64px 0 48px; }
  .section { padding: 56px 0; }
}
