:root {
  --paper: #f8f7f2;
  --paper-deep: #f1efe7;
  --ink: #171714;
  --muted: #625f58;
  --line: #d7d3c8;
  --amber: #f6c861;
  --amber-deep: #725814;
  --mint: #5ec7a5;
  --white: #fff;
  --radius: 22px;
  --shadow: 0 18px 50px rgba(27, 25, 18, .09);
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body { margin: 0; color: var(--ink); background: var(--paper); font-family: Inter, system-ui, sans-serif; line-height: 1.55; }
a { color: inherit; }
.skip-link { position: fixed; left: 12px; top: -80px; z-index: 20; padding: 10px 14px; background: var(--ink); color: white; border-radius: 8px; }
.skip-link:focus { top: 12px; }
.site-header { position: sticky; top: 0; z-index: 10; min-height: 65px; padding: 10px 20px; display: flex; align-items: center; justify-content: space-between; gap: 20px; border-bottom: 1px solid var(--line); background: rgba(248, 247, 242, .94); backdrop-filter: blur(12px); }
.brand { display: inline-flex; align-items: center; gap: 12px; text-decoration: none; }
.brand-mark { display: grid; place-items: center; width: 36px; height: 36px; border-radius: 9px; color: white; background: var(--ink); font-weight: 800; }
.brand strong, .brand small { display: block; }
.brand strong { font-size: 14px; }
.brand small { font: 500 9px/1.2 "JetBrains Mono", monospace; letter-spacing: .12em; text-transform: uppercase; }
nav { display: none; gap: 22px; font-size: 13px; font-weight: 600; }
nav a { text-decoration: none; }
nav a:hover { text-decoration: underline; text-underline-offset: 5px; }
.shell { width: min(1120px, calc(100% - 40px)); margin: 0 auto; }
.narrow { width: min(760px, calc(100% - 40px)); }
.center { text-align: center; }
.section, .hero { padding: 88px 0; }
.hero { min-height: calc(100vh - 65px); display: grid; align-items: center; padding-top: 64px; }
.grid-paper { background-image: linear-gradient(rgba(71, 61, 37, .07) 1px, transparent 1px), linear-gradient(90deg, rgba(71, 61, 37, .07) 1px, transparent 1px); background-size: 32px 32px; }
.hero-inner { text-align: center; }
.eyebrow, .section-index, .micro-label { font-family: "JetBrains Mono", monospace; text-transform: uppercase; letter-spacing: .13em; }
.eyebrow { display: inline-flex; align-items: center; justify-content: center; gap: 12px; margin: 0 0 26px; padding: 12px 18px; border: 1px solid var(--line); border-radius: 999px; background: rgba(255,255,255,.74); font-size: 10px; font-weight: 600; }
.eyebrow span { width: 8px; height: 8px; border-radius: 50%; background: var(--mint); }
.eyebrow.plain { padding: 0; border: 0; background: transparent; }
h1, h2, h3, p { margin-top: 0; }
h1 { max-width: 930px; margin: 0 auto 28px; font-size: clamp(2.55rem, 8vw, 5.8rem); line-height: .98; letter-spacing: -.055em; }
h2 { margin-bottom: 28px; font-size: clamp(2rem, 5vw, 3.65rem); line-height: 1.06; letter-spacing: -.04em; }
h3 { font-size: 1.2rem; line-height: 1.25; }
.hero-lead, .section-lead { color: var(--muted); font-size: clamp(1.05rem, 2.4vw, 1.3rem); }
.hero-lead { max-width: 700px; margin: 0 auto 34px; }
.primary-cta { display: inline-flex; min-height: 58px; align-items: center; justify-content: center; gap: 22px; padding: 16px 24px; border: 2px solid transparent; border-radius: 11px; background: var(--amber); color: #4e3a0d; font-weight: 800; text-decoration: none; box-shadow: 0 10px 28px rgba(129, 90, 11, .16); transition: transform .18s ease, box-shadow .18s ease; }
.primary-cta::after { content: "→"; }
.primary-cta:hover { transform: translateY(-2px); box-shadow: 0 15px 34px rgba(129, 90, 11, .23); }
.primary-cta:focus-visible, summary:focus-visible, nav a:focus-visible { outline: 3px solid var(--mint); outline-offset: 4px; }
.cta-note { max-width: 620px; margin: 18px auto 0; color: var(--muted); font-size: .86rem; }
.comparison { max-width: 900px; margin: 62px auto 0; overflow: hidden; border: 1px solid var(--line); border-radius: var(--radius); background: rgba(255,255,255,.93); text-align: left; box-shadow: var(--shadow); }
.original { padding: 20px 22px; border-bottom: 1px solid var(--line); }
.original p, .mirror-grid p { margin: 8px 0 0; }
.micro-label { color: var(--muted); font-size: 9px; font-weight: 600; }
.mirror-grid { display: grid; }
.mirror-grid article { padding: 22px; }
.mirror-grid article + article { border-top: 1px solid var(--line); background: #fffaf0; }
.gap { margin: 0; padding: 15px 22px; border-top: 1px solid #e8ca80; background: #fff1cc; color: var(--amber-deep); font-size: .9rem; font-weight: 700; }
.gap span { color: var(--amber-deep); }
.section-index { margin-bottom: 24px; color: #796322; font-size: 10px; font-weight: 600; }
.section-close { margin-top: 28px; padding-left: 18px; border-left: 4px solid var(--amber); font-weight: 700; }
.situation-list { display: grid; gap: 14px; margin: 34px 0 0; padding: 0; list-style: none; }
.situation-list li { padding: 20px; border: 1px solid var(--line); border-radius: 16px; background: white; }
.dark { color: white; background: #090a08; }
.dark .section-index { color: var(--amber); }
.dark .section-lead, .dark .micro-label { color: #aaa9a3; }
.dark .comparison { border-color: #343530; background: #121310; box-shadow: none; }
.dark .original, .dark .mirror-grid article, .dark .gap { border-color: #343530; }
.dark .mirror-grid article + article { background: #171710; }
.dark .gap { color: #ffe4a1; background: #2b2414; }
.three-grid, .benefits-grid { display: grid; gap: 18px; margin-top: 38px; }
.step-card, .benefit-card { padding: 28px 24px; border: 1px solid var(--line); border-radius: var(--radius); background: white; box-shadow: 0 9px 30px rgba(30,28,21,.05); }
.step-number { display: block; margin-bottom: 44px; color: #e6d9b8; font: 600 3.1rem/1 "JetBrains Mono", monospace; }
.step-card p, .benefit-card p { margin-bottom: 0; color: var(--muted); }
.soft { background: var(--paper-deep); }
.benefit-dot { display: block; width: 12px; height: 12px; margin-bottom: 28px; border-radius: 50%; background: var(--mint); box-shadow: 0 0 0 8px rgba(94,199,165,.12); }
.proof-list { display: grid; gap: 12px; padding-left: 0; counter-reset: proof; list-style: none; }
.proof-list li { display: flex; gap: 16px; align-items: center; padding: 16px; border: 1px solid var(--line); border-radius: 14px; background: white; }
.proof-list li::before { counter-increment: proof; content: "0" counter(proof); display: grid; place-items: center; width: 38px; height: 38px; flex: 0 0 38px; border-radius: 9px; background: var(--ink); color: white; font: 600 11px "JetBrains Mono", monospace; }
.offer-section { background: #fbfaf6; }
.offer-card, .final-card { padding: 38px 22px; border: 1px solid #dccb9e; border-radius: 28px; background: #fff8e7; box-shadow: var(--shadow); }
.offer-card > p:not(.eyebrow) { color: var(--muted); }
.offer-note { padding: 16px; border-radius: 12px; background: white; font-weight: 700; }
.faq { display: grid; gap: 12px; }
details { border: 1px solid var(--line); border-radius: 16px; background: white; }
summary { display: flex; align-items: center; justify-content: space-between; gap: 20px; padding: 20px; cursor: pointer; font-weight: 700; list-style: none; }
summary::-webkit-details-marker { display: none; }
summary span { color: var(--amber-deep); font-size: 1.5rem; }
details p { padding: 0 20px 20px; color: var(--muted); }
.final-section { padding-block: 100px; }
.final-card { background: rgba(255,255,255,.9); }
footer { padding: 30px 0; border-top: 1px solid var(--line); font-size: .78rem; }
footer .shell { display: grid; gap: 6px; }
footer span { color: var(--muted); }
.quiz-page { min-height: 100vh; }
.quiz-shell { width: min(720px, calc(100% - 28px)); margin: 0 auto; padding: 54px 0 80px; }
.quiz-card { padding: 26px 20px; border: 1px solid var(--line); border-radius: 24px; background: rgba(255,255,255,.95); box-shadow: var(--shadow); }
.quiz-card h1 { margin: 0 0 14px; font-size: clamp(2rem, 8vw, 3.8rem); text-align: left; }
.quiz-intro { color: var(--muted); }
.quiz-progress { display: grid; grid-template-columns: 1fr auto; align-items: center; gap: 12px; margin: 28px 0 34px; font-size: .75rem; }
.quiz-progress [role="progressbar"] { height: 8px; overflow: hidden; border-radius: 999px; background: var(--paper-deep); }
.quiz-progress [role="progressbar"] span { display: block; width: 20%; height: 100%; border-radius: inherit; background: var(--mint); transition: width .2s ease; }
fieldset { min-width: 0; margin: 0; padding: 0; border: 0; }
fieldset[hidden], .quiz-option[hidden] { display: none; }
legend { margin-bottom: 22px; font-size: 1.45rem; line-height: 1.2; font-weight: 800; }
.quiz-options { display: grid; gap: 10px; }
.quiz-option { display: block; cursor: pointer; }
.quiz-option input { position: absolute; opacity: 0; pointer-events: none; }
.quiz-option span { display: block; padding: 16px 18px; border: 1px solid var(--line); border-radius: 14px; background: white; font-weight: 650; transition: border-color .16s ease, background .16s ease, transform .16s ease; }
.quiz-option input:checked + span { border-color: #a67b16; background: #fff3d3; box-shadow: inset 0 0 0 1px #a67b16; }
.quiz-option input:focus-visible + span { outline: 3px solid var(--mint); outline-offset: 3px; }
.quiz-option:hover span { transform: translateY(-1px); border-color: #a9a398; }
.quiz-other-field { display: grid; gap: 8px; padding: 6px 2px 0; }
.quiz-other-field[hidden] { display: none; }
.quiz-other-field label { font-size: .82rem; font-weight: 750; }
.quiz-other-field input { width: 100%; min-height: 54px; padding: 14px 16px; border: 1px solid var(--line); border-radius: 12px; background: white; color: var(--ink); font: inherit; }
.quiz-other-field input:focus-visible { outline: 3px solid var(--mint); outline-offset: 3px; border-color: #4b4942; }
.result-summary { padding: 54px 0 68px; border-bottom: 1px solid var(--line); }
.result-summary-shell { width: min(920px, calc(100% - 28px)); }
.result-card { padding: clamp(24px, 5vw, 52px); border: 1px solid var(--line); border-radius: 26px; background: rgba(255,255,255,.96); box-shadow: var(--shadow); }
.result-card h1 { max-width: none; margin: 0 0 16px; font-size: clamp(2.8rem, 9vw, 5.8rem); text-align: left; }
.result-industry { width: fit-content; margin: 0 0 28px; padding: 9px 12px; border-radius: 9px; background: var(--paper-deep); color: var(--muted); font-weight: 800; }
.result-facts { display: grid; gap: 10px; margin-bottom: 26px; }
.result-facts div { padding: 16px; border: 1px solid var(--line); border-radius: 13px; background: white; }
.result-facts span { display: block; margin-bottom: 6px; color: var(--muted); font-size: .72rem; font-weight: 700; }
.result-facts strong { font-size: .95rem; }
.result-insight { padding: 22px; border-radius: 16px; background: #fff3d3; }
.result-insight h2 { margin: 0 0 10px; font-size: 1.35rem; }
.result-insight p { margin: 0; font-size: clamp(1rem, 2.7vw, 1.28rem); font-weight: 650; }
.result-actions { display: flex; flex-wrap: wrap; align-items: center; gap: 16px; margin-top: 24px; }
.result-restart { color: var(--muted); font-weight: 750; }
.result-details-intro { margin: 28px 0 0; text-align: center; color: var(--muted); font-weight: 700; }
.quiz-actions { display: grid; grid-template-columns: auto 1fr; gap: 10px; margin-top: 28px; }
.button-reset, .secondary-button { border: 0; font: inherit; cursor: pointer; }
.button-reset { width: 100%; }
.secondary-button { min-height: 58px; padding: 14px 18px; border: 1px solid var(--line); border-radius: 11px; background: white; font-weight: 700; }
.secondary-button:disabled { cursor: default; opacity: .4; }
.quiz-error { margin: 16px 0 0; color: #a33625; font-weight: 700; }
.noscript { margin-top: 24px; padding: 16px; border-radius: 12px; background: var(--paper-deep); }
.noscript a { margin-right: 14px; font-weight: 700; }
.cookie-notice { position: fixed; right: 14px; bottom: 14px; left: 14px; z-index: 30; display: grid; gap: 12px; max-width: 620px; padding: 16px; border: 1px solid #4b4942; border-radius: 14px; background: #171714; color: white; box-shadow: 0 18px 50px rgba(0,0,0,.25); }
.cookie-notice[hidden] { display: none; }
.cookie-notice p { margin: 0; font-size: .84rem; }
.cookie-notice button { min-height: 42px; padding: 9px 16px; border: 0; border-radius: 9px; background: var(--amber); color: #4e3a0d; font: 800 .82rem Inter, system-ui, sans-serif; cursor: pointer; }
.cookie-notice button:focus-visible { outline: 3px solid var(--mint); outline-offset: 3px; }

@media (min-width: 700px) {
  nav { display: flex; }
  .mirror-grid { grid-template-columns: 1fr 1fr; }
  .mirror-grid article + article { border-top: 0; border-left: 1px solid var(--line); }
  .three-grid { grid-template-columns: repeat(3, 1fr); }
  .benefits-grid { grid-template-columns: repeat(2, 1fr); }
  .result-facts { grid-template-columns: repeat(3, 1fr); }
  .offer-card, .final-card { padding: 56px; }
  footer .shell { grid-template-columns: auto 1fr auto; align-items: center; gap: 22px; }
  .quiz-card { padding: 48px; }
  .cookie-notice { right: 22px; bottom: 22px; left: auto; grid-template-columns: 1fr auto; align-items: center; }
}

@media (min-width: 900px) {
  .section, .hero { padding-block: 124px; }
  .site-header { padding-inline: 36px; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation-duration: .01ms !important; animation-iteration-count: 1 !important; transition-duration: .01ms !important; }
}
