@font-face { font-family: Inter; src: url(assets/inter-400.ttf); font-weight: 400; font-display: swap; }
@font-face { font-family: Inter; src: url(assets/inter-600.ttf); font-weight: 600; font-display: swap; }
@font-face { font-family: Inter; src: url(assets/inter-700.ttf); font-weight: 700; font-display: swap; }

:root {
  --bg: #10201c;
  --panel: #172b26;
  --line: #3d5a51;
  --text: #eef5f1;
  --soft: #b7c9c2;
  --quiet: #8fa89f;
  --accent: #6ee7b7;
  --on-accent: #10201c;
  --warn: #fcd34d;
}

* { box-sizing: border-box; margin: 0; }
html { scroll-behavior: smooth; }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } }
body { background: var(--bg); color: var(--text); font-family: Inter, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif; line-height: 1.5; }
img { display: block; max-width: 100%; height: auto; }
a { color: var(--accent); }
:focus-visible { outline: 2px solid var(--accent); outline-offset: 3px; }

.wrap { max-width: 1200px; margin: 0 auto; padding: 0 48px; }

/* Nav */
.nav { display: flex; justify-content: space-between; align-items: center; gap: 16px; padding-top: 28px; font-weight: 600; }
.nav a { text-decoration: none; }
.brand { color: var(--text); }
.nav-links { display: flex; gap: 28px; align-items: center; }
.nav-links a { color: var(--soft); font-weight: 400; }
.nav-links a:hover { color: var(--text); }
.nav-links a.nav-cta { color: var(--accent); font-weight: 600; }

/* Hero */
.hero { min-height: 100vh; display: flex; flex-direction: column; }
.hero-main { flex: 1; display: flex; flex-direction: column; justify-content: center; padding: 56px 0; }
h1 { font-size: clamp(44px, 7.5vw, 92px); line-height: 1.02; letter-spacing: -0.03em; margin-bottom: 24px; }
.lede { font-size: clamp(18px, 2vw, 23px); line-height: 1.45; color: var(--soft); max-width: 680px; margin-bottom: 44px; }
.flow-label { font-size: 14px; font-weight: 600; color: var(--soft); margin-bottom: 12px; }
.flow { display: flex; align-items: center; gap: 12px; flex-wrap: wrap; margin: 0 0 44px; padding: 0; list-style: none; }
.flow li { display: flex; align-items: center; gap: 12px; }
.step { border: 1px solid var(--line); padding: 13px 18px; border-radius: 8px; font-size: 16px; }
.step.auto { border-color: var(--accent); color: var(--accent); }
.arrow { color: var(--quiet); }
.key { width: 100%; font-size: 13px; color: var(--quiet); margin-top: -32px; margin-bottom: 44px; }
.cta { display: inline-block; align-self: flex-start; background: var(--accent); color: var(--on-accent); font-size: 18px; font-weight: 700; padding: 16px 26px; border-radius: 8px; text-decoration: none; border: 0; cursor: pointer; font-family: inherit; }
.cta:hover { background: #8ceec8; }
.note { margin-top: 12px; font-size: 14px; color: var(--quiet); }
.proof { display: flex; gap: 48px; flex-wrap: wrap; border-top: 1px solid var(--line); padding: 22px 0 36px; color: var(--soft); line-height: 1.4; }
.proof strong { display: block; color: var(--text); font-size: 26px; }

/* Sections */
section { padding: 88px 0; border-top: 1px solid var(--line); }
h2 { font-size: clamp(30px, 4vw, 46px); line-height: 1.1; letter-spacing: -0.02em; margin-bottom: 16px; }
h3 { font-size: 19px; line-height: 1.3; margin-bottom: 8px; }
.intro { font-size: 19px; color: var(--soft); max-width: 680px; margin-bottom: 40px; }
.grid { display: grid; gap: 18px; grid-template-columns: repeat(auto-fit, minmax(250px, 1fr)); }
.panel { background: var(--panel); border-radius: 12px; padding: 26px; }
.panel p { color: var(--soft); }
.pains .panel { font-size: 19px; line-height: 1.4; color: var(--text); }
.after { font-size: 19px; color: var(--soft); margin-top: 32px; max-width: 680px; }

/* Work */
#work h2 { margin-bottom: 40px; }
.work { display: grid; gap: 40px; }
.work-item { display: grid; grid-template-columns: 1fr 1fr; gap: 40px; align-items: center; }
.work-item img { border-radius: 12px; background: #fff; }
.work-item p { color: var(--soft); font-size: 17px; }
.eyebrow { font-size: 13px; font-weight: 600; color: var(--accent); margin-bottom: 8px; }
.result { font-size: clamp(24px, 3vw, 32px); line-height: 1.15; letter-spacing: -0.01em; font-weight: 700; margin-bottom: 12px; }

.quote { margin: 20px 0 0; padding-left: 16px; border-left: 2px solid var(--accent); }
.quote blockquote { font-size: 16px; line-height: 1.5; color: var(--text); }
.quote figcaption { margin-top: 8px; font-size: 14px; font-weight: 600; color: var(--soft); }

/* Steps */
.steps { list-style: none; padding: 0; counter-reset: s; }
.steps li { counter-increment: s; }
.steps li::before { content: counter(s); display: block; font-size: 26px; font-weight: 700; color: var(--accent); margin-bottom: 10px; }

/* About */
.about { display: grid; grid-template-columns: minmax(220px, 340px) 1fr; gap: 56px; align-items: center; }
.about img { border-radius: 16px; }
.about p { color: var(--soft); font-size: 18px; margin-bottom: 16px; }
.about blockquote { font-size: clamp(22px, 2.6vw, 30px); line-height: 1.25; font-weight: 600; margin-bottom: 22px; }

/* Closing */
.closing { text-align: left; }
.foot { border-top: 1px solid var(--line); padding: 26px 0 40px; color: var(--quiet); font-size: 14px; }

/* Questionnaire */
.quiz-page { min-height: 100vh; display: flex; flex-direction: column; }
.quiz { flex: 1; width: 100%; max-width: 680px; margin: 0 auto; padding: 44px 0 64px; }
.progress { height: 6px; background: var(--panel); border-radius: 3px; overflow: hidden; margin-bottom: 8px; }
.progress div { height: 100%; background: var(--accent); transition: width .2s; }
.progress-text { font-size: 13px; color: var(--quiet); margin-bottom: 36px; }
.quiz h1 { font-size: clamp(28px, 4.5vw, 40px); line-height: 1.12; letter-spacing: -0.02em; margin-bottom: 10px; outline: none; }
.hint { color: var(--soft); margin-bottom: 24px; }
.choices { display: grid; gap: 10px; margin-top: 24px; }
.choice { width: 100%; text-align: left; font: inherit; font-size: 17px; color: var(--text); background: var(--panel); border: 1px solid var(--line); border-radius: 10px; padding: 15px 18px; cursor: pointer; }
.choice:hover { border-color: var(--quiet); }
.choice[aria-pressed="true"] { border-color: var(--accent); color: var(--accent); }
.choice:disabled { opacity: .45; cursor: not-allowed; }
.field { display: block; margin-top: 18px; font-weight: 600; font-size: 15px; }
.field span { color: var(--quiet); font-weight: 400; }
input, textarea { display: block; width: 100%; margin-top: 7px; font: inherit; font-size: 17px; font-weight: 400; color: var(--text); background: var(--panel); border: 1px solid var(--line); border-radius: 10px; padding: 13px 15px; }
textarea { min-height: 120px; resize: vertical; }
.nav-row { display: flex; align-items: center; gap: 18px; margin-top: 30px; }
.back { background: none; border: 0; color: var(--soft); font: inherit; cursor: pointer; padding: 8px 0; text-decoration: underline; }
.error { color: var(--warn); margin-top: 14px; }
.fineprint { font-size: 13px; color: var(--quiet); margin-top: 18px; }
.trap { position: absolute; left: -9999px; }

/* Result */
.rec { background: var(--panel); border: 1px solid var(--accent); border-radius: 12px; padding: 26px; margin: 24px 0; }
.rec h2 { font-size: 26px; margin-bottom: 10px; }
.rec p { color: var(--soft); }
.rec p + p { margin-top: 10px; }
.echo { font-size: 18px; color: var(--soft); margin-bottom: 14px; }
.preview { border: 1px dashed var(--warn); color: var(--warn); border-radius: 10px; padding: 14px 16px; margin-top: 24px; font-size: 14px; }

@media (max-width: 800px) {
  .wrap { padding: 0 16px; }
  .nav { padding-top: 20px; }
  .nav-links a:not(.nav-cta) { display: none; }
  .hero-main { padding: 40px 0; }
  .flow li { gap: 8px; }
  .flow { gap: 8px; }
  .step { padding: 10px 12px; font-size: 14px; }
  .proof { gap: 20px; }
  section { padding: 60px 0; }
  .work-item, .about { grid-template-columns: 1fr; gap: 22px; }
  .about img { max-width: 240px; }
}
