:root {
    --brick: #B4361C;
    --brick-dark: #8F2914;
    --brick-light: #F49A80;
    --ink: #14161A;
    --ink-2: #23262D;
    --muted: #4B5563;
    --soft: #F7F5F2;
    --line: #E5E7EB;
    --white: #FFFFFF;
    --on-dark: #E5E7EB;
    --on-dark-muted: #B6BCC6;
    --focus: #1D4ED8;
    --radius: 20px;
    --radius-lg: 28px;
    --font-display: 'Bricolage Grotesque', 'Segoe UI', system-ui, sans-serif;
    --font-body: 'DM Sans', 'Segoe UI', system-ui, sans-serif;
    --font-mono: 'IBM Plex Mono', ui-monospace, 'SFMono-Regular', Menlo, monospace;
}

*, *::before, *::after { box-sizing: border-box; }

html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; scroll-padding-top: 96px; }

body {
    margin: 0;
    background: var(--white);
    color: var(--ink);
    font-family: var(--font-body);
    font-size: 17px;
    line-height: 1.6;
    text-rendering: optimizeLegibility;
}

img, svg { max-width: 100%; height: auto; }

h1, h2, h3, h4 { font-family: var(--font-display); font-weight: 800; line-height: 1.05; letter-spacing: -0.02em; margin: 0 0 0.5em; }

p { margin: 0 0 1em; }

a { color: var(--brick); text-underline-offset: 3px; }
a:hover { color: var(--brick-dark); }

main p a, main li a, .prose a { text-decoration: underline; }

:focus-visible { outline: 3px solid var(--focus); outline-offset: 3px; border-radius: 4px; }

main:focus { outline: none; }

.visually-hidden {
    position: absolute !important;
    width: 1px; height: 1px;
    padding: 0; margin: -1px;
    overflow: hidden; clip: rect(0, 0, 0, 0);
    white-space: nowrap; border: 0;
}

.skip-link {
    position: absolute;
    left: 16px; top: -100px;
    z-index: 200;
    background: var(--ink); color: var(--white);
    padding: 12px 18px; border-radius: 10px;
    font-weight: 700; text-decoration: none;
}
.skip-link:focus { top: 12px; color: var(--white); }

.container { width: 100%; max-width: 1240px; margin: 0 auto; padding: 0 24px; }

.btn {
    display: inline-flex; align-items: center; justify-content: center; gap: 8px;
    min-height: 48px; padding: 12px 26px;
    border-radius: 999px; border: 2px solid transparent;
    font-family: var(--font-body); font-weight: 700; font-size: 16px; line-height: 1.2;
    text-decoration: none; cursor: pointer;
    transition: background-color .15s ease, color .15s ease, border-color .15s ease;
}
main .btn { text-decoration: none; }
.btn-brick { background: var(--brick); color: var(--white); }
.btn-brick:hover { background: var(--brick-dark); color: var(--white); }
.btn-ink { background: var(--ink); color: var(--white); }
.btn-ink:hover { background: var(--ink-2); color: var(--white); }
.btn-outline { border-color: var(--ink); color: var(--ink); background: transparent; }
.btn-outline:hover { background: var(--ink); color: var(--white); }
.btn-light { background: var(--white); color: var(--ink); }
.btn-light:hover { background: var(--soft); color: var(--ink); }
.btn-sm { min-height: 44px; padding: 10px 20px; font-size: 15px; }

.topbar { background: var(--brick); color: var(--white); font-size: 14px; }
.topbar-inner { display: flex; flex-wrap: wrap; justify-content: space-between; align-items: center; gap: 4px 24px; padding-top: 8px; padding-bottom: 8px; }
.topbar-note { margin: 0; }
.topbar-links { list-style: none; margin: 0; padding: 0; display: flex; flex-wrap: wrap; gap: 4px 20px; }
.topbar a { color: var(--white); text-decoration: none; display: inline-block; padding: 2px 0; }
.topbar a:hover { text-decoration: underline; color: var(--white); }
.topbar :focus-visible { outline-color: var(--white); }

.site-header { position: sticky; top: 0; z-index: 100; background: rgba(255, 255, 255, .97); border-bottom: 1px solid var(--line); backdrop-filter: saturate(1.4) blur(8px); }
.header-inner { display: flex; align-items: center; justify-content: space-between; gap: 24px; min-height: 76px; }

.brand { display: inline-flex; align-items: center; gap: 10px; text-decoration: none; color: var(--ink); }
.brand:hover { color: var(--ink); }
.brand-mark { flex: none; }
.brand-word { font-family: var(--font-display); font-weight: 800; font-size: 26px; letter-spacing: -0.04em; line-height: 1; }
.brand-word span { color: var(--brick); }
.brand-light, .brand-light:hover { color: var(--white); }
.brand-light .brand-word span { color: var(--brick-light); }

.primary-nav { display: flex; align-items: center; gap: 28px; }
.nav-list { list-style: none; margin: 0; padding: 0; display: flex; align-items: center; gap: 4px 22px; }
.nav-item { position: relative; display: flex; align-items: center; }
.nav-link { display: inline-flex; align-items: center; min-height: 44px; color: var(--ink); text-decoration: none; font-weight: 500; font-size: 16px; white-space: nowrap; }
.nav-link:hover, .nav-link.is-active { color: var(--brick); }
.nav-link.is-active { text-decoration: underline; text-decoration-thickness: 2px; text-underline-offset: 8px; }
.dropdown-toggle { display: inline-flex; align-items: center; justify-content: center; width: 32px; height: 44px; margin-left: 2px; padding: 0; border: 0; background: none; color: var(--ink); cursor: pointer; border-radius: 8px; }
.dropdown-toggle svg { transition: transform .15s ease; }
.dropdown-toggle[aria-expanded="true"] svg { transform: rotate(180deg); }
.dropdown {
    list-style: none; margin: 0; padding: 10px;
    position: absolute; top: 100%; left: -12px;
    width: max-content; min-width: 240px;
    background: var(--white); border: 1px solid var(--line); border-radius: 16px;
    box-shadow: 0 18px 40px rgba(20, 22, 26, .12);
    display: none;
}
.has-dropdown.is-open .dropdown { display: block; }
@media (min-width: 1101px) and (hover: hover) {
    .has-dropdown:hover .dropdown { display: block; }
}
.dropdown-link { display: block; padding: 10px 14px; border-radius: 10px; color: var(--ink); text-decoration: none; white-space: nowrap; font-weight: 500; }
.dropdown-link:hover { background: var(--soft); color: var(--brick); }

.nav-toggle { display: none; width: 48px; height: 48px; border: 2px solid var(--ink); border-radius: 12px; background: var(--white); cursor: pointer; padding: 0; align-items: center; justify-content: center; }
.nav-toggle-bars, .nav-toggle-bars::before, .nav-toggle-bars::after { display: block; width: 20px; height: 2px; background: var(--ink); border-radius: 2px; position: relative; transition: transform .2s ease; }
.nav-toggle-bars::before, .nav-toggle-bars::after { content: ""; position: absolute; left: 0; }
.nav-toggle-bars::before { top: -6px; }
.nav-toggle-bars::after { top: 6px; }
.nav-toggle[aria-expanded="true"] .nav-toggle-bars { background: transparent; }
.nav-toggle[aria-expanded="true"] .nav-toggle-bars::before { transform: translateY(6px) rotate(45deg); }
.nav-toggle[aria-expanded="true"] .nav-toggle-bars::after { transform: translateY(-6px) rotate(-45deg); }

.section { padding: 96px 0; }
.section-sm { padding: 64px 0; }
.section-soft { background: var(--soft); }
.section-head { max-width: 760px; margin-bottom: 48px; }
.section-head h2, .h2 { font-size: clamp(36px, 5vw, 56px); }
.section-head p { color: var(--muted); font-size: 19px; margin: 0; }
.eyebrow { font-family: var(--font-mono); font-size: 13px; font-weight: 500; letter-spacing: .08em; text-transform: uppercase; color: var(--brick); margin: 0 0 16px; }
.lead { font-size: 21px; color: var(--muted); }
.muted { color: var(--muted); }

.hero { padding: 88px 0 72px; }
.hero-grid { display: grid; grid-template-columns: minmax(0, 1.35fr) minmax(0, 1fr); gap: 56px; align-items: center; }
.hero h1 { font-size: clamp(48px, 7.4vw, 96px); line-height: .95; letter-spacing: -0.045em; margin-bottom: 28px; }
.hero h1 .accent { color: var(--brick); }
.hero .lead { max-width: 620px; margin-bottom: 36px; }
.hero-actions { display: flex; flex-wrap: wrap; gap: 14px; }

.page-hero { padding: 72px 0 56px; border-bottom: 1px solid var(--line); }
.page-hero h1 { font-size: clamp(40px, 6vw, 72px); letter-spacing: -0.04em; max-width: 960px; }
.page-hero .lead { max-width: 760px; margin: 0; }
.breadcrumbs { font-size: 14px; color: var(--muted); margin-bottom: 20px; }
.breadcrumbs ol { list-style: none; margin: 0; padding: 0; display: flex; flex-wrap: wrap; gap: 6px; }
.breadcrumbs li + li::before { content: "/"; margin-right: 6px; color: #9CA3AF; }
.breadcrumbs a { color: var(--muted); }

.spec-panel { background: var(--ink); color: var(--on-dark); border-radius: var(--radius-lg); padding: 28px; font-family: var(--font-mono); font-size: 15px; box-shadow: 0 30px 60px rgba(20, 22, 26, .18); }
.spec-dots { display: flex; gap: 8px; margin-bottom: 20px; }
.spec-dots span { width: 11px; height: 11px; border-radius: 50%; background: #3A3F4A; }
.spec-dots span:first-child { background: var(--brick-light); }
.spec-cmd { color: var(--on-dark-muted); margin: 0 0 18px; }
.spec-cmd b { color: var(--white); font-weight: 500; }
.spec-list { display: grid; grid-template-columns: max-content minmax(0, 1fr); gap: 10px 24px; margin: 0; }
.spec-list dt { color: var(--on-dark-muted); }
.spec-list dd { margin: 0; color: var(--white); }
.spec-list .ok { color: #8EE3B5; }

.stats { display: grid; grid-template-columns: repeat(auto-fit, minmax(200px, 1fr)); gap: 32px; }
.stat-value { font-family: var(--font-display); font-weight: 800; font-size: clamp(40px, 4.6vw, 56px); letter-spacing: -0.04em; color: var(--brick); line-height: 1; margin-bottom: 10px; }
.stat p { margin: 0; color: var(--muted); }

.plan-rows { display: flex; flex-direction: column; gap: 12px; }
.plan-row { background: var(--white); border-radius: var(--radius); padding: 22px 28px; display: grid; grid-template-columns: minmax(150px, 1fr) minmax(0, 3fr) auto auto; gap: 16px 32px; align-items: center; border: 1px solid transparent; transition: border-color .15s ease; }
.plan-row:hover { border-color: var(--line); }
.plan-row h3 { font-size: 28px; margin: 0; letter-spacing: -0.03em; }
.plan-specs { list-style: none; margin: 0; padding: 0; display: flex; flex-wrap: wrap; gap: 4px 22px; color: var(--muted); font-size: 16px; }
.plan-price { font-family: var(--font-display); font-weight: 800; font-size: 34px; letter-spacing: -0.03em; white-space: nowrap; }
.plan-price small { font-family: var(--font-body); font-weight: 500; font-size: 15px; color: var(--muted); letter-spacing: 0; }

.plan-table-wrap { position: relative; overflow-x: auto; border-radius: var(--radius); border: 1px solid var(--line); background: var(--white); }
.plan-table { width: 100%; border-collapse: collapse; font-size: 16px; min-width: 880px; }
.plan-table caption { text-align: left; padding: 18px 20px; font-weight: 700; }
.plan-table th, .plan-table td { text-align: left; padding: 16px 20px; border-top: 1px solid var(--line); white-space: nowrap; }
.plan-table thead th { font-family: var(--font-mono); font-size: 12px; font-weight: 500; letter-spacing: .08em; text-transform: uppercase; color: var(--muted); background: var(--soft); }
.plan-table tbody th { font-family: var(--font-display); font-weight: 800; font-size: 20px; letter-spacing: -0.02em; }
.plan-table .price { font-family: var(--font-display); font-weight: 800; font-size: 22px; }
.plan-table .price small { font-family: var(--font-body); font-weight: 500; font-size: 13px; color: var(--muted); }

.card-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(260px, 1fr)); gap: 20px; }
.card { background: var(--white); border: 1px solid var(--line); border-radius: var(--radius); padding: 28px; display: flex; flex-direction: column; gap: 14px; }
.card h3 { font-size: 24px; margin: 0; }
.card .price-lg { font-family: var(--font-display); font-weight: 800; font-size: 44px; letter-spacing: -0.03em; line-height: 1; }
.card .price-lg small { font-family: var(--font-body); font-weight: 500; font-size: 15px; color: var(--muted); letter-spacing: 0; }
.card ul { list-style: none; margin: 0; padding: 0; display: flex; flex-direction: column; gap: 8px; color: var(--muted); }
.card ul li { padding-left: 24px; position: relative; }
.card ul li::before { content: ""; position: absolute; left: 0; top: .6em; width: 12px; height: 2px; background: var(--brick); }
.card .btn { margin-top: auto; }
.tag { display: inline-block; align-self: flex-start; font-family: var(--font-mono); font-size: 12px; letter-spacing: .06em; text-transform: uppercase; background: var(--soft); color: var(--brick-dark); padding: 4px 10px; border-radius: 999px; }

.split { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 2fr); gap: 56px; }
.feature-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(240px, 1fr)); gap: 36px; }
.feature h3 { font-family: var(--font-body); font-weight: 700; font-size: 20px; letter-spacing: 0; margin-bottom: 8px; }
.feature p { color: var(--muted); margin: 0; }
.feature svg { color: var(--brick); margin-bottom: 14px; }

.ha-band { background: var(--ink); color: var(--on-dark); border-radius: var(--radius-lg); padding: 56px; display: grid; grid-template-columns: minmax(0, 1.2fr) minmax(0, 1fr); gap: 40px; align-items: center; }
.ha-band h2 { color: var(--white); font-size: clamp(32px, 4vw, 48px); }
.ha-band p { color: var(--on-dark-muted); }
.ha-band .eyebrow { color: var(--brick-light); }
.ha-points { list-style: none; margin: 0; padding: 0; display: grid; gap: 14px; }
.ha-points li { display: grid; grid-template-columns: 24px minmax(0, 1fr); gap: 12px; color: var(--on-dark); }
.ha-points svg { color: var(--brick-light); margin-top: 3px; }

.answer-box { background: var(--soft); border-radius: var(--radius-lg); padding: 40px; border: 1px solid var(--line); }
.answer-box h2 { font-size: clamp(28px, 3.4vw, 40px); }
.answer-box p { font-size: 19px; margin: 0; }
.answer-facts { display: grid; grid-template-columns: repeat(auto-fit, minmax(180px, 1fr)); gap: 16px 32px; margin: 28px 0 0; }
.answer-facts dt { font-family: var(--font-mono); font-size: 12px; letter-spacing: .06em; text-transform: uppercase; color: var(--muted); }
.answer-facts dd { margin: 4px 0 0; font-weight: 700; }

.faq-list { border-top: 1px solid var(--line); }
.faq-item { border-bottom: 1px solid var(--line); }
.faq-item summary { list-style: none; cursor: pointer; padding: 22px 48px 22px 0; font-weight: 700; font-size: 19px; position: relative; }
.faq-item summary::-webkit-details-marker { display: none; }
.faq-item summary::after { content: "+"; position: absolute; right: 8px; top: 50%; transform: translateY(-50%); font-family: var(--font-display); font-size: 28px; color: var(--brick); line-height: 1; }
.faq-item[open] summary::after { content: "\2212"; }
.faq-item p { color: var(--muted); max-width: 860px; margin: 0 0 24px; }

.cta-band { background: var(--ink); color: var(--white); border-radius: var(--radius-lg); padding: 64px 56px; display: flex; flex-wrap: wrap; gap: 24px; justify-content: space-between; align-items: center; }
.cta-band h2 { font-size: clamp(32px, 4vw, 48px); margin-bottom: 8px; color: var(--white); }
.cta-band p { margin: 0; color: var(--on-dark-muted); }
.cta-actions { display: flex; flex-wrap: wrap; gap: 12px; }

.prose { max-width: 820px; }
.prose h2 { font-size: 30px; margin-top: 48px; }
.prose h3 { font-family: var(--font-body); font-weight: 700; font-size: 20px; letter-spacing: 0; margin-top: 32px; }
.prose ul, .prose ol { padding-left: 24px; margin: 0 0 1.2em; }
.prose li { margin-bottom: 8px; }
.prose .notice { background: var(--soft); border-radius: 16px; padding: 20px 24px; }

.contact-grid { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.3fr); gap: 56px; align-items: start; }
.contact-list { list-style: none; margin: 0; padding: 0; display: grid; gap: 22px; }
.contact-list h2 { font-family: var(--font-mono); font-size: 13px; font-weight: 500; letter-spacing: .08em; text-transform: uppercase; color: var(--muted); margin: 0 0 4px; }
.contact-list p { margin: 0; font-size: 18px; }
.form { background: var(--soft); border-radius: var(--radius-lg); padding: 36px; display: grid; gap: 18px; }
.form-row { display: grid; gap: 6px; }
.form label { font-weight: 700; font-size: 15px; }
.form input, .form textarea, .form select { font: inherit; font-size: 16px; padding: 13px 14px; border-radius: 12px; border: 1px solid #8A8F98; background: var(--white); color: var(--ink); width: 100%; }
.form textarea { min-height: 160px; resize: vertical; }
.form .hp { position: absolute; left: -10000px; width: 1px; height: 1px; overflow: hidden; }
.form-status { padding: 14px 18px; border-radius: 12px; font-weight: 500; }
.form-status.ok { background: #E7F6EC; color: #14532D; }
.form-status.err { background: #FDECEA; color: #8F2914; }

.site-footer { background: var(--ink); color: var(--on-dark-muted); margin-top: 96px; font-size: 15px; }
.footer-grid { display: grid; grid-template-columns: minmax(0, 1.6fr) repeat(3, minmax(0, 1fr)); gap: 40px; padding-top: 72px; padding-bottom: 48px; }
.footer-brand p { margin: 18px 0; max-width: 380px; }
.footer-brand address { font-style: normal; line-height: 1.7; }
.site-footer h2 { font-family: var(--font-body); font-size: 14px; font-weight: 700; letter-spacing: .06em; text-transform: uppercase; color: var(--white); margin: 6px 0 16px; }
.site-footer ul { list-style: none; margin: 0; padding: 0; display: grid; gap: 4px; }
.site-footer a { color: var(--on-dark); text-decoration: none; display: inline-block; padding: 4px 0; }
.site-footer a:hover { color: var(--white); text-decoration: underline; }
.site-footer :focus-visible { outline-color: var(--brick-light); }
.footer-brand p a { text-decoration: underline; padding: 0; }
.footer-bottom { border-top: 1px solid #2C3038; padding-top: 24px; padding-bottom: 32px; font-size: 14px; }
.footer-bottom p { margin: 0; }

.notfound { text-align: left; padding: 120px 0 40px; }
.notfound h1 { font-size: clamp(48px, 8vw, 96px); }

@media (max-width: 1100px) {
    .nav-toggle { display: inline-flex; }
    .primary-nav {
        position: absolute; left: 0; right: 0; top: 100%;
        background: var(--white); border-bottom: 1px solid var(--line);
        flex-direction: column; align-items: stretch; gap: 16px;
        padding: 12px 24px 24px;
        display: none;
        max-height: calc(100vh - 120px); overflow-y: auto;
    }
    .primary-nav.is-open { display: flex; }
    .nav-list { flex-direction: column; align-items: stretch; gap: 0; }
    .nav-item { flex-wrap: wrap; border-bottom: 1px solid var(--line); }
    .nav-link { flex: 1; min-height: 52px; }
    .dropdown-toggle { width: 52px; height: 52px; }
    .dropdown { position: static; width: 100%; min-width: 0; box-shadow: none; border: 0; padding: 0 0 12px 12px; }
    .dropdown-link { white-space: normal; }
    .nav-cta { align-self: flex-start; }
}

@media (max-width: 760px) {
    .plan-table-wrap { overflow: visible; border: 0; background: transparent; }
    .plan-table { min-width: 0; display: block; }
    .plan-table thead { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0, 0, 0, 0); }
    .plan-table tbody { display: grid; gap: 12px; }
    .plan-table tr { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 6px 16px; background: var(--white); border: 1px solid var(--line); border-radius: var(--radius); padding: 20px; }
    .plan-table th, .plan-table td { border: 0; padding: 0; white-space: normal; }
    .plan-table tbody th { grid-column: 1 / -1; font-size: 24px; }
    .plan-table td::before { content: attr(data-label); display: block; font-family: var(--font-mono); font-size: 11px; letter-spacing: .06em; text-transform: uppercase; color: var(--muted); }
    .plan-table td.order { grid-column: 1 / -1; margin-top: 8px; }
    .plan-table td.order::before { content: none; }
    .plan-table td.order .btn { width: 100%; }
}

@media (max-width: 900px) {
    .hero-grid, .split, .ha-band, .contact-grid { grid-template-columns: minmax(0, 1fr); }
    .footer-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
    .plan-row { grid-template-columns: minmax(0, 1fr) auto; }
    .plan-specs { grid-column: 1 / -1; order: 3; }
    .plan-row .btn { grid-column: 1 / -1; order: 4; }
    .ha-band, .cta-band { padding: 40px 28px; }
    .section { padding: 72px 0; }
}

@media (max-width: 560px) {
    body { font-size: 16px; }
    .container { padding: 0 16px; }
    .footer-grid { grid-template-columns: minmax(0, 1fr); }
    .hero { padding: 56px 0 48px; }
    .topbar-note { display: none; }
    .answer-box, .form { padding: 24px; }
    .plan-row { padding: 20px; }
}

@media (prefers-reduced-motion: reduce) {
    html { scroll-behavior: auto; }
    *, *::before, *::after { transition: none !important; animation: none !important; }
}

@media print {
    .topbar, .site-header, .site-footer, .cta-band, .skip-link { display: none !important; }
    body { font-size: 12pt; }
}
