:root {
    --brand: #9f2f33;
    --brand-dark: #762125;
    --brand-soft: #f8eeee;
    --ink: #1b2028;
    --muted: #5e6672;
    --line: #dde1e6;
    --surface: #ffffff;
    --surface-soft: #f6f7f9;
    --success: #176b45;
    --danger: #9b2630;
    --shadow: 0 18px 45px rgba(28, 31, 38, .09);
    --radius: 18px;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body { margin: 0; color: var(--ink); background: var(--surface); font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif; line-height: 1.65; }
a { color: var(--brand-dark); text-underline-offset: 3px; }
a:hover { color: var(--brand); }
a:focus-visible, button:focus-visible, input:focus-visible, textarea:focus-visible, summary:focus-visible { outline: 3px solid rgba(159, 47, 51, .35); outline-offset: 3px; }
h1, h2, h3, p { margin-top: 0; }
h1 { font-size: clamp(2.5rem, 6vw, 5rem); line-height: 1.02; letter-spacing: -.045em; }
h2 { font-size: clamp(1.9rem, 4vw, 3rem); line-height: 1.15; letter-spacing: -.025em; }
h3 { line-height: 1.25; }
.container { width: min(1160px, calc(100% - 40px)); margin-inline: auto; }
.narrow { max-width: 820px; }
.skip-link { position: fixed; z-index: 100; top: 10px; left: 10px; padding: 10px 16px; background: var(--ink); color: #fff; transform: translateY(-150%); }
.skip-link:focus { transform: none; }

.site-header { position: sticky; z-index: 20; top: 0; border-bottom: 1px solid rgba(221, 225, 230, .9); background: rgba(255, 255, 255, .96); backdrop-filter: blur(12px); }
.header-inner { min-height: 76px; display: flex; align-items: center; justify-content: space-between; gap: 26px; }
.brand { display: inline-flex; align-items: center; gap: 10px; color: var(--ink); font-size: 1.03rem; font-weight: 800; text-decoration: none; white-space: nowrap; }
.brand-mark { width: 38px; height: 38px; display: inline-grid; place-items: center; border-radius: 11px; background: var(--brand); color: #fff; font-size: .8rem; letter-spacing: .03em; }
.nav-list { display: flex; align-items: center; gap: 6px; margin: 0; padding: 0; list-style: none; }
.nav-list a { display: block; padding: 9px 11px; border-radius: 9px; color: #333a44; font-size: .91rem; font-weight: 650; text-decoration: none; }
.nav-list a:hover, .nav-list a[aria-current="page"] { color: var(--brand); background: var(--brand-soft); }
.nav-list .nav-login { margin-left: 4px; padding-inline: 17px; color: #fff; background: var(--brand); }
.nav-list .nav-login:hover { color: #fff; background: var(--brand-dark); }

.hero { overflow: hidden; padding: clamp(70px, 10vw, 130px) 0; background: radial-gradient(circle at 88% 12%, rgba(159, 47, 51, .15), transparent 30%), linear-gradient(145deg, #fff 0%, #faf7f7 100%); }
.hero-grid { display: grid; grid-template-columns: minmax(0, 1.15fr) minmax(360px, .85fr); gap: clamp(45px, 8vw, 100px); align-items: center; }
.eyebrow { margin-bottom: 16px; color: var(--brand); font-size: .78rem; font-weight: 800; letter-spacing: .13em; text-transform: uppercase; }
.hero h1 { margin-bottom: 20px; }
.hero-lead { max-width: 760px; margin-bottom: 18px; color: var(--brand-dark); font-size: clamp(1.35rem, 2.5vw, 2rem); font-weight: 700; line-height: 1.3; }
.hero-copy, .section-intro { max-width: 720px; color: var(--muted); font-size: 1.08rem; }
.button-row { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 30px; }
.button { min-height: 48px; display: inline-flex; align-items: center; justify-content: center; padding: 12px 22px; border: 1px solid transparent; border-radius: 10px; cursor: pointer; font: inherit; font-weight: 750; text-decoration: none; transition: transform .15s ease, background .15s ease; }
.button:hover { transform: translateY(-1px); }
.button-primary { color: #fff; background: var(--brand); }
.button-primary:hover { color: #fff; background: var(--brand-dark); }
.button-secondary { border-color: var(--line); color: var(--ink); background: #fff; }
.button-secondary:hover { color: var(--brand); border-color: var(--brand); }
.button-light { color: var(--brand-dark); background: #fff; }
.hero-panel { padding: 24px; border: 1px solid rgba(159, 47, 51, .12); border-radius: 24px; background: rgba(255, 255, 255, .86); box-shadow: var(--shadow); }
.hero-panel-heading { margin-bottom: 20px; font-size: .88rem; font-weight: 750; }
.status-dot { width: 9px; height: 9px; display: inline-block; margin-right: 7px; border-radius: 99px; background: #2ca46f; box-shadow: 0 0 0 5px rgba(44, 164, 111, .12); }
.metric-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; }
.metric-grid div { min-height: 132px; display: flex; flex-direction: column; justify-content: end; padding: 18px; border-radius: 14px; background: var(--surface-soft); }
.metric-grid strong { margin-bottom: 6px; color: var(--brand-dark); font-size: 1.1rem; }
.metric-grid span { color: var(--muted); font-size: .9rem; line-height: 1.45; }

.section { padding: clamp(70px, 9vw, 110px) 0; }
.section-soft { background: var(--surface-soft); }
.feature-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; margin-top: 42px; }
.feature-card { min-height: 245px; padding: 28px; border: 1px solid var(--line); border-radius: var(--radius); background: #fff; box-shadow: 0 7px 25px rgba(28, 31, 38, .04); }
.feature-card h3 { margin: 28px 0 10px; font-size: 1.2rem; }
.feature-card p { color: var(--muted); }
.feature-number { color: var(--brand); font-size: .79rem; font-weight: 850; letter-spacing: .1em; }
.split-section { display: grid; grid-template-columns: .85fr 1.15fr; gap: clamp(40px, 8vw, 100px); align-items: start; }
.check-list { margin: 0; padding: 0; list-style: none; }
.check-list li { position: relative; padding: 0 0 24px 40px; }
.check-list li::before { content: "✓"; position: absolute; left: 0; top: 0; width: 25px; height: 25px; display: grid; place-items: center; border-radius: 50%; color: #fff; background: var(--brand); font-size: .8rem; font-weight: 800; }
.check-list strong, .check-list span { display: block; }
.check-list span { color: var(--muted); }
.faq-wrap { max-width: 850px; }
.faq-wrap details { border-bottom: 1px solid var(--line); }
.faq-wrap summary { padding: 22px 4px; cursor: pointer; font-weight: 750; }
.faq-wrap details p { padding: 0 30px 22px 4px; color: var(--muted); }
.cta-section { padding: 55px 0; color: #fff; background: var(--brand); }
.cta-inner { display: flex; align-items: center; justify-content: space-between; gap: 30px; }
.cta-inner h2 { max-width: 700px; margin-bottom: 0; font-size: clamp(1.75rem, 4vw, 2.7rem); }
.cta-inner .eyebrow { color: #f8dcdc; }

.page-hero { padding: 78px 0 62px; border-bottom: 1px solid var(--line); background: linear-gradient(135deg, var(--brand-soft), #fff 70%); }
.page-hero h1 { margin-bottom: 18px; font-size: clamp(2.4rem, 6vw, 4.4rem); }
.page-hero p:last-child { color: var(--muted); font-size: 1.05rem; }
.legal-layout { display: grid; grid-template-columns: 220px minmax(0, 780px); justify-content: center; gap: clamp(40px, 7vw, 85px); padding-top: 68px; padding-bottom: 95px; }
.legal-nav { position: sticky; top: 105px; align-self: start; display: flex; flex-direction: column; gap: 9px; padding-left: 18px; border-left: 2px solid var(--line); font-size: .88rem; }
.legal-nav strong { margin-bottom: 6px; }
.legal-nav a { color: var(--muted); text-decoration: none; }
.legal-nav a:hover { color: var(--brand); }
.legal-content > p:first-child { color: var(--muted); font-size: 1.08rem; }
.legal-content section { padding-top: 20px; scroll-margin-top: 100px; }
.legal-content h2 { margin: 30px 0 12px; font-size: 1.55rem; }
.legal-content h3 { margin: 22px 0 8px; }
.legal-content p, .legal-content li { color: #404852; }
.legal-content address { font-style: normal; }
.legal-callout { margin: 24px 0; padding: 22px; border-left: 4px solid var(--brand); border-radius: 0 12px 12px 0; background: var(--brand-soft); }
.legal-callout p { margin: 6px 0 0; }

.notice { margin-top: 22px; padding: 14px 17px; border: 1px solid; border-radius: 10px; }
.notice ul { margin-bottom: 0; }
.notice-success { color: var(--success); border-color: #9bd6bc; background: #effaf4; }
.notice-error { color: var(--danger); border-color: #ebb5ba; background: #fff3f4; }
.contact-grid { display: grid; grid-template-columns: minmax(0, 1fr) 330px; gap: clamp(40px, 7vw, 85px); }
.contact-form { margin-top: 25px; }
.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 18px; }
.field { margin-bottom: 18px; }
.field label { display: block; margin-bottom: 7px; font-size: .91rem; font-weight: 750; }
.field input, .field textarea { width: 100%; padding: 12px 13px; border: 1px solid #b9c0c9; border-radius: 9px; color: var(--ink); background: #fff; font: inherit; }
.field input[aria-invalid="true"], .field textarea[aria-invalid="true"] { border-color: var(--danger); }
.field-error { display: block; margin-top: 5px; color: var(--danger); font-size: .84rem; }
.honeypot { position: absolute; left: -10000px; width: 1px; height: 1px; overflow: hidden; }
.contact-aside { align-self: start; padding: 28px; border-radius: var(--radius); background: var(--surface-soft); }
.contact-aside h2 { font-size: 1.45rem; }
.contact-aside p { color: var(--muted); }
.config-note { font-style: italic; }

.site-footer { padding: 58px 0 22px; color: #d7d9dd; background: #1d2026; }
.footer-grid { display: grid; grid-template-columns: 1.6fr .7fr .8fr; gap: 55px; }
.footer-brand { margin-bottom: 16px; color: #fff; }
.footer-grid p { max-width: 420px; color: #adb2ba; }
.footer-grid h2 { color: #fff; font-size: .86rem; letter-spacing: .08em; text-transform: uppercase; }
.footer-grid ul { margin: 0; padding: 0; list-style: none; }
.footer-grid li { margin: 8px 0; }
.site-footer a { color: #d7d9dd; }
.site-footer a:hover { color: #fff; }
.footer-bottom { display: flex; justify-content: space-between; gap: 20px; margin-top: 45px; padding-top: 22px; border-top: 1px solid #3a3e46; color: #949aa4; font-size: .86rem; }

@media (max-width: 920px) {
    .header-inner { align-items: flex-start; flex-direction: column; padding-block: 16px; }
    .nav-list { flex-wrap: wrap; }
    .hero-grid, .split-section, .contact-grid { grid-template-columns: 1fr; }
    .hero-panel { max-width: 650px; }
    .feature-grid { grid-template-columns: 1fr 1fr; }
    .legal-layout { grid-template-columns: 1fr; }
    .legal-nav { position: static; flex-direction: row; flex-wrap: wrap; padding: 0 0 18px; border-left: 0; border-bottom: 1px solid var(--line); }
    .legal-nav strong { width: 100%; }
    .contact-aside { max-width: 550px; }
}

@media (max-width: 620px) {
    .container { width: min(100% - 28px, 1160px); }
    .site-header { position: static; }
    .brand { font-size: .95rem; }
    .nav-list { gap: 2px; }
    .nav-list a { padding: 7px 8px; font-size: .83rem; }
    .hero { padding-block: 65px; }
    .hero-grid { gap: 40px; }
    .metric-grid, .feature-grid, .form-row, .footer-grid { grid-template-columns: 1fr; }
    .metric-grid div { min-height: 105px; }
    .feature-card { min-height: auto; }
    .cta-inner, .footer-bottom { align-items: flex-start; flex-direction: column; }
    .footer-grid { gap: 30px; }
}

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