@font-face { font-family: InterFallback; src: local("Arial"); font-display: swap; }

:root {
    --ink: var(--ds-color-text);
    --muted: var(--ds-color-text-muted);
    --line: var(--ds-color-line);
    --paper: var(--ds-color-surface);
    --surface: var(--ds-color-surface-soft);
    --accent: var(--ds-color-accent-strong);
    --ease-out: var(--ds-ease-out);
    --space-grid: var(--ds-space-3);
    --space-card: var(--ds-space-6);
    --space-block: var(--ds-space-7);
    --space-section-compact: var(--ds-section-compact);
    --space-section: var(--ds-section-standard);
    --icon-size: 20px;
    color-scheme: light;
    font-family: var(--ds-font-sans);
    font-synthesis: none;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body { margin: 0; color: var(--ink); background: var(--paper); line-height: 1.5; -webkit-font-smoothing: antialiased; text-rendering: optimizeLegibility; }
body, button, input, summary { font: inherit; }
a { color: inherit; }
button, a, summary { touch-action: manipulation; }
button, a { -webkit-tap-highlight-color: transparent; }
::selection { color: #fff; background: var(--accent); }
:focus-visible { outline: 3px solid var(--ds-color-focus); outline-offset: 3px; }
.shell { width: min(100% - calc(var(--ds-gutter-mobile) * 2), 1160px); margin-inline: auto; }
.eyebrow, .section-kicker { margin: 0 0 14px; color: var(--accent); font-size: .75rem; font-weight: 750; letter-spacing: .09em; text-transform: uppercase; }
h1, h2, h3, p { overflow-wrap: break-word; }
h1, h2, h3 { margin-top: 0; line-height: 1.08; letter-spacing: -.035em; }
h1, h2 { text-wrap: balance; }
h1 { font-size: clamp(2.15rem, 10.2vw, 3rem); }
h2 { font-size: clamp(1.8rem, 8vw, 2.5rem); }
.button { display: inline-flex; min-height: 54px; align-items: center; justify-content: center; padding: 14px 20px; border: 1px solid transparent; border-radius: var(--ds-radius-control); font-weight: 740; line-height: 1.15; text-align: center; text-decoration: none; cursor: pointer; transition: transform 150ms var(--ease-out), border-color 150ms ease, background-color 150ms ease, color 150ms ease; }
.button:active { transform: scale(.97); }
.button--primary { color: #fff; background: var(--accent); box-shadow: none; }
.button--secondary { color: var(--ink); border-color: var(--line); background: rgba(255, 255, 255, .74); }
.button:disabled { color: #777; background: #ddd; box-shadow: none; cursor: not-allowed; }
.button:disabled:active { transform: none; }
[hidden] { display: none !important; }
.skip-link { position: fixed; z-index: 100; top: 12px; left: 12px; display: flex; min-height: 44px; align-items: center; padding: 10px 16px; border-radius: 12px; color: #fff; background: var(--ink); text-decoration: none; transform: translateY(calc(-100% - 24px)); transition: transform 150ms var(--ease-out); }
.skip-link:focus-visible { transform: translateY(0); }
.icon { display: block; width: var(--icon-size); height: var(--icon-size); flex: 0 0 auto; }
.site-header { display: flex; min-height: 72px; align-items: center; justify-content: space-between; gap: 16px; }
.brand { display: inline-flex; min-height: 48px; align-items: center; gap: 10px; text-decoration: none; }
.brand__mark { display: block; width: 38px; height: 38px; flex: 0 0 auto; border-radius: 12px; }
.brand__copy { display: grid; gap: 1px; min-width: 0; }
.brand__copy strong { font-size: .9rem; font-weight: 850; letter-spacing: .025em; line-height: 1; }
.brand__copy small { max-width: 132px; color: var(--muted); font-size: .52rem; font-weight: 620; line-height: 1.15; }
.brand__copy--auto { gap: 3px; }
.brand__copy--auto small { color: #9a9a9a; font-size: .72rem; font-weight: 820; letter-spacing: .08em; line-height: 1; }
.header-phone { display: flex; min-height: 44px; flex-direction: column; align-items: flex-end; justify-content: center; text-decoration: none; }
.header-phone span { display: none; }
.header-phone small { color: var(--accent); font-size: .8rem; font-weight: 750; }
.site-footer { padding: var(--ds-footer-top) 0 var(--ds-footer-bottom-mobile); color: var(--ds-color-on-inverse-muted); background: var(--ds-color-footer); font-size: .88rem; }
.site-footer .shell { display: grid; gap: 20px; }
.site-footer p { margin: 0; }
.site-footer--dtp .shell { gap: 22px; }
.site-footer--dtp strong { color: #fff; }
.footer-about { display: grid; gap: 8px; }
.footer-heading { color: #fff; font-size: 1.05rem; font-weight: 800; }
.footer-brand { color: #fff; font-weight: 800; }
.site-footer--dtp .footer-brand { max-width: 35rem; font-size: .82rem; line-height: 1.4; }
.site-footer address { font-style: normal; }
.footer-phone { display: inline-flex; min-height: 44px; align-items: center; color: #fff; font-size: 1.05rem; font-weight: 750; }
.site-footer--dtp .footer-phone { font-size: 1rem; }
.sticky-cta { position: fixed; z-index: 10; right: 12px; bottom: max(12px, env(safe-area-inset-bottom)); left: 12px; display: grid; grid-template-columns: .75fr 1.25fr; padding: 5px; border: 1px solid #e2e2e2; border-radius: 17px; background: rgba(255,255,255,.96); box-shadow: 0 12px 36px rgba(0,0,0,.14); backdrop-filter: blur(12px); transition: transform 180ms var(--ease-out), opacity 150ms ease; }
.quiz-active .sticky-cta { opacity: 0; transform: translateY(calc(100% + 24px)); pointer-events: none; }
.sticky-cta a { display: grid; min-height: 50px; place-items: center; border-radius: 12px; color: #202020; font-size: .88rem; font-weight: 760; text-decoration: none; }
.sticky-cta__primary { color: #fff !important; background: var(--accent); }
.dev-index, .placeholder, .legal-page { min-height: 100svh; padding-block: 80px; }
.dev-links { display: grid; gap: 12px; margin-top: 32px; }
.dev-links a { padding: 20px; border: 1px solid var(--line); border-radius: 14px; text-decoration: none; }
.placeholder p, .legal-page p { color: var(--muted); }
.placeholder .button { margin-top: 18px; }
.placeholder__note { margin-top: 48px; padding-top: 20px; border-top: 1px solid var(--line); font-size: .85rem; }
.price-anchor { color: var(--accent) !important; font-size: 2rem; font-weight: 800; letter-spacing: -.04em; }
.visually-hidden { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); clip-path: inset(50%); white-space: nowrap; }
.callback-strip { padding-block: 40px; border-bottom: 1px solid var(--line); background: #fff; }
.callback-strip__layout { display: grid; gap: 24px; }
.callback-strip__copy h2 { max-width: 22ch; margin-bottom: 12px; font-size: clamp(1.7rem, 7vw, 2.35rem); }
.callback-strip__copy > p:not(.section-kicker) { max-width: 38rem; margin: 0; color: var(--muted); }
.callback-form { min-width: 0; }
.callback-form__fields { display: grid; gap: 10px; }
.callback-form__phone { width: 100%; min-height: 54px; padding: 13px 15px; border: 1px solid #c9c9c9; border-radius: 14px; outline: 0; color: var(--ink); background: #fff; }
.callback-form__phone:focus { border-color: var(--accent); box-shadow: 0 0 0 3px color-mix(in srgb, var(--accent) 18%, transparent); }
.callback-form__consent { display: flex; min-height: 44px; align-items: center; gap: 9px; color: var(--muted); font-size: .76rem; line-height: 1.35; cursor: pointer; }
.callback-form__consent input { width: 18px; height: 18px; flex: 0 0 auto; margin: 0; accent-color: var(--accent); }
.callback-form__error, .callback-form__success { margin: 12px 0 0; padding: 12px 14px; border-radius: 12px; font-size: .85rem; }
.callback-form__error { color: #a11e16; background: #fff0ef; }
.callback-form__success { color: #155f38; background: #eaf8ef; }

.motion-ready .reveal-item { opacity: 0; transform: translateY(14px); transition: opacity 260ms var(--ease-out), transform 280ms var(--ease-out); transition-delay: var(--reveal-delay, 0ms); }
.motion-ready .reveal-item.is-visible { opacity: 1; transform: translateY(0); }

@media (hover: hover) and (pointer: fine) {
    .button--primary:hover, .sticky-cta__primary:hover { background: var(--ds-color-accent-hover); }
    .button--secondary:hover { border-color: #bdbdbd; background: #fff; }
    .header-phone:hover span, .footer-phone:hover { text-decoration: underline; text-underline-offset: 3px; }
}

@media (prefers-reduced-motion: reduce) {
    html { scroll-behavior: auto; }
    .button { transition: border-color 120ms ease, background-color 120ms ease, color 120ms ease; }
    .skip-link, .quiz-progress span, .sticky-cta, .faq summary::after { transition: none; }
    .motion-ready .reveal-item { opacity: 1; transform: none; transition: opacity 160ms ease; transition-delay: 0ms; }
}

@media (min-width: 768px) {
    :root { --space-section: var(--ds-section-desktop); }
    .shell { width: min(100% - calc(var(--ds-gutter-desktop) * 2), 1160px); }
    .site-header { min-height: 88px; }
    .brand__mark { width: 42px; height: 42px; }
    .brand__copy strong { font-size: 1rem; }
    .brand__copy small { max-width: none; font-size: .58rem; }
    .header-phone span { display: block; font-size: .95rem; font-weight: 760; }
    .header-phone small { font-size: .72rem; }
    .sticky-cta { display: none; }
    .site-footer { padding-bottom: var(--ds-footer-bottom-desktop); }
    .site-footer .shell { grid-template-columns: 1fr 1fr; gap: 24px 48px; align-items: start; }
    .site-footer--dtp .shell { gap-block: 28px; }
    .site-footer--dtp .footer-about { grid-column: 1 / -1; }
    .footer-phone { justify-self: start; }
    .callback-strip { padding-block: 52px; }
    .callback-strip__copy h2 { max-width: 24ch; }
}

@media (min-width: 1024px) {
    .callback-strip__layout { grid-template-columns: minmax(0, 1fr) minmax(390px, .88fr); align-items: center; gap: 56px; }
    .callback-form__fields { grid-template-columns: minmax(0, 1fr) auto; }
    .callback-form__fields .button { min-width: 230px; }
    .callback-form__consent { grid-column: 1 / -1; }
    .site-footer .shell { grid-template-columns: .8fr 1.25fr 1.35fr auto; gap: 32px; }
    .site-footer--dtp .shell { grid-template-columns: 1.25fr 1fr 1.35fr .7fr; }
    .site-footer--dtp .footer-about { grid-column: auto; }
}
