:root {
    --ink: #191919;
    --muted: #666;
    --line: #dedede;
    --paper: #fff;
    --surface: #f3f3f3;
    --accent: #ef3124;
    --ease-out: cubic-bezier(.23, 1, .32, 1);
    --space-grid: 12px;
    --space-card: 24px;
    --space-block: 32px;
    --space-section-compact: 56px;
    --space-section: 72px;
    --icon-size: 20px;
    color-scheme: light;
    font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Arial, sans-serif;
    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 #ff746b; outline-offset: 3px; }
.shell { width: min(100% - 40px, 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: 14px; 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; padding: 12px 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; }
.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: 48px 0 120px; color: #c7c7c7; background: #303236; font-size: .88rem; }
.site-footer .shell { display: grid; gap: 20px; }
.site-footer p { margin: 0; }
.footer-brand { color: #fff; font-weight: 800; }
.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; }
.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; }

.motion-ready .reveal-item { opacity: 0; transform: translateY(14px); transition: opacity 260ms ease, 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: #d92b20; }
    .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, .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: 96px; }
    .shell { width: min(100% - 64px, 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: 56px; }
    .site-footer .shell { grid-template-columns: 1fr 1fr; gap: 24px 48px; align-items: start; }
    .footer-phone { justify-self: start; }
}

@media (min-width: 1024px) {
    .site-footer .shell { grid-template-columns: .8fr 1.25fr 1.35fr auto; gap: 32px; }
    .footer-phone { justify-self: end; }
}
