:root {
  color-scheme: dark;
  --bg: #0d0f0c;
  --surface: #151814;
  --raised: #1b1f19;
  --soft: #23271f;
  --text: #f5f3ea;
  --muted: #b9bcad;
  --subtle: #858a7b;
  --accent: #d5a94e;
  --accent-light: #f0cc77;
  --success: #9ccb84;
  --danger: #ef9887;
  --border: rgba(245, 243, 234, 0.14);
  --border-strong: rgba(213, 169, 78, 0.48);
  --font: Inter, "SF Pro Display", "Segoe UI", Arial, sans-serif;
}
* { box-sizing: border-box; }
html { min-width: 320px; min-height: 100%; scroll-behavior: smooth; background: var(--bg); }
body { min-height: 100vh; margin: 0; overflow-x: hidden; overscroll-behavior: contain; color: var(--text); background: var(--bg); font-family: var(--font); font-size: 16px; line-height: 1.55; -webkit-font-smoothing: antialiased; }
button,input { font: inherit; }
button,label,a { -webkit-tap-highlight-color: transparent; }
.ambient { display: none; }
.site-header,.site-footer,.app-shell { width: min(100% - 32px, 920px); margin-inline: auto; }
.site-header { display: flex; min-height: 84px; align-items: center; justify-content: space-between; gap: 20px; }
.brand { display: inline-flex; align-items: center; gap: 12px; color: var(--text); text-decoration: none; }
.brand-mark { display: grid; width: 42px; height: 42px; place-items: center; border: 1px solid var(--border-strong); border-radius: 8px; color: var(--accent-light); background: rgba(213,169,78,.08); font-weight: 800; }
.brand strong,.brand small { display: block; line-height: 1.05; }
.brand strong { font-size: .92rem; letter-spacing: 0; }
.brand small { margin-top: 5px; color: var(--subtle); font-size: .72rem; }
.header-note { color: var(--subtle); font-size: .82rem; }
.app-shell { min-height: calc(100vh - 168px); padding-block: clamp(24px,5vw,58px); }
.view { animation: reveal .24s ease both; }
.start-view { animation: none; }
.is-hidden { display: none !important; }
.eyebrow { display: flex; align-items: center; gap: 10px; color: var(--accent-light); font-size: .76rem; font-weight: 700; letter-spacing: 0; text-transform: uppercase; }
.eyebrow span { width: 30px; height: 1px; background: currentColor; }
h1,h2,legend { margin: 0; text-wrap: balance; letter-spacing: 0; }
h1 { max-width: 800px; margin-top: 22px; font-size: 4.6rem; line-height: 1.02; }
.lead { max-width: 700px; margin: 26px 0 0; color: var(--muted); font-size: 1.2rem; }
.start-view>.button { margin-top: 28px; }
.start-grid { display: grid; grid-template-columns: repeat(3,1fr); gap: 12px; margin-top: 30px; }
.start-grid article { min-height: 132px; padding: 22px; border: 1px solid var(--border); border-radius: 8px; background: var(--raised); }
.start-grid strong,.start-grid span { display: block; }
.start-grid strong { color: var(--accent-light); }
.start-grid span { margin-top: 8px; color: var(--muted); font-size: .88rem; }
.disclaimer { max-width: 760px; margin-top: 24px; color: var(--subtle); font-size: .8rem; }
.button { display: inline-flex; min-height: 52px; align-items: center; justify-content: center; padding: 0 24px; border: 1px solid transparent; border-radius: 8px; cursor: pointer; font-weight: 700; text-decoration: none; transition: .18s ease; }
.button-primary { color: #16130c; background: var(--accent); box-shadow: 0 12px 30px rgba(213,169,78,.16); }
.button-primary:hover { background: var(--accent-light); }
.button-secondary { color: var(--text); border-color: var(--border); background: var(--raised); }
.button-secondary:hover { border-color: rgba(245,243,234,.28); background: var(--soft); }
.button:disabled { cursor: not-allowed; opacity: .48; }
.button:focus-visible,.brand:focus-visible,.option input:focus-visible+label,input:focus-visible { outline: 3px solid rgba(240,204,119,.95); outline-offset: 3px; }
.progress-copy { display: flex; justify-content: space-between; margin-bottom: 10px; color: var(--subtle); font-size: .8rem; }
.progress-track { height: 5px; overflow: hidden; border-radius: 999px; background: var(--soft); }
.progress-track span { display: block; height: 100%; width: 0; border-radius: inherit; background: var(--accent); transition: width .25s ease; }
.question-card { min-width: 0; margin: 42px 0 0; padding: 0; border: 0; }
.question-card legend { max-width: 820px; font-size: 3rem; font-weight: 750; line-height: 1.08; }
.question-hint { margin: 16px 0 0; color: var(--muted); }
.options { display: grid; grid-template-columns: repeat(2,minmax(0,1fr)); gap: 12px; margin-top: 28px; }
.option { min-width: 0; }
.option input { position: absolute; width: 1px; height: 1px; opacity: 0; }
.option label { display: flex; min-height: 92px; align-items: center; gap: 15px; padding: 18px; border: 1px solid var(--border); border-radius: 8px; cursor: pointer; color: var(--muted); background: var(--raised); transition: .18s ease; }
.option label:hover { border-color: rgba(213,169,78,.36); background: var(--raised); }
.option-control { flex: 0 0 22px; width: 22px; height: 22px; border: 2px solid var(--subtle); border-radius: 50%; }
.option input[type="checkbox"]+label .option-control { border-radius: 6px; }
.option input:checked+label { border-color: var(--border-strong); color: var(--text); background: rgba(213,169,78,.09); }
.option input:checked+label .option-control { border: 6px solid var(--accent); background: #11140f; }
.option input[type="checkbox"]:checked+label .option-control { border-width: 4px; background: var(--accent); box-shadow: inset 0 0 0 4px #11140f; }
.actions { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 28px; }
.form-error { margin: 18px 0 0; color: var(--danger); font-weight: 650; }
.contact-lead { margin-bottom: 30px; }
.contact-form { display: grid; max-width: 720px; gap: 16px; }
.contact-form>label:not(.consent-row) { display: grid; gap: 8px; color: var(--muted); font-weight: 650; }
.contact-form strong { color: var(--accent-light); }
.contact-form input[type="text"],.contact-form input[type="tel"] { width: 100%; min-height: 56px; padding: 0 16px; border: 1px solid var(--border); border-radius: 8px; color: var(--text); background: var(--raised); }
.consent-row { display: flex; align-items: flex-start; gap: 12px; margin-top: 8px; color: var(--muted); font-size: .9rem; }
.consent-row input { width: 20px; height: 20px; margin-top: 2px; accent-color: var(--accent); }
.consent-row a { color: var(--accent-light); }
.result-hero .result-title { margin: 14px 0 0; color: var(--accent-light); font-size: clamp(1.2rem,3vw,1.65rem); font-weight: 750; }
.result-meta { display: grid; grid-template-columns: repeat(2,minmax(0,1fr)); gap: 12px; margin-top: 28px; }
.result-meta span,.context-grid span { padding: 18px; border: 1px solid var(--border); border-radius: 8px; background: var(--raised); }
.result-meta small,.result-meta strong,.context-grid small,.context-grid strong { display: block; }
.result-meta small,.context-grid small { color: var(--subtle); }
.result-meta strong,.context-grid strong { margin-top: 7px; }
.context-grid { display: grid; grid-template-columns: repeat(2,minmax(0,1fr)); gap: 12px; margin-top: 22px; }
.module-grid { display: grid; grid-template-columns: repeat(3,minmax(0,1fr)); gap: 12px; margin-top: 22px; }
.module-grid span { min-width: 0; padding: 18px; border: 1px solid var(--border); border-radius: 8px; background: var(--raised); }
.module-grid small,.module-grid strong { display: block; }
.module-grid small { color: var(--subtle); }
.module-grid strong { margin-top: 7px; }
.support-section h3 { margin: 24px 0 0; color: var(--accent-light); font-size: 1.05rem; }
.result-section,.safety-card,.delivery-error,.delivery-ok { margin-top: 22px; padding: 28px; border: 1px solid var(--border); border-radius: 8px; background: var(--raised); }
.result-section h2 { margin-top: 14px; font-size: 2.15rem; line-height: 1.18; }
.result-section p { color: var(--muted); }
.next-step .button { margin: 8px 8px 0 0; }
.safety-card { border-color: rgba(239,152,135,.42); }
.safety-card p { margin-bottom: 0; color: var(--muted); }
.delivery-error { border-color: rgba(239,152,135,.5); }
.delivery-error strong,.delivery-error span { display: block; }
.delivery-error span { margin: 6px 0 16px; color: var(--muted); }
.delivery-ok { color: var(--success); }
.site-footer { display: flex; min-height: 84px; align-items: center; justify-content: space-between; gap: 18px; color: var(--subtle); font-size: .78rem; }
@keyframes reveal { from { opacity: 0; transform: translateY(9px); } to { opacity: 1; transform: none; } }
@media (max-width: 700px) {
  .header-note { display: none; }
  .app-shell { padding-top: 20px; }
  .start-grid,.options,.result-meta,.context-grid,.module-grid { grid-template-columns: 1fr; }
  h1 { font-size: 2.7rem; }
  .question-card legend { font-size: 2rem; }
  .result-section h2 { font-size: 1.55rem; }
  .result-section,.safety-card,.delivery-error,.delivery-ok { padding: 22px; }
  .option label { min-height: 78px; }
  .actions .button,.next-step .button { width: 100%; margin-right: 0; }
  .site-footer { flex-direction: column; align-items: flex-start; justify-content: center; }
}
@media (prefers-reduced-motion: reduce) { *,*::before,*::after { scroll-behavior: auto !important; animation: none !important; transition: none !important; } }
