:root {
    --red: #E31822;
    --red-dark: #B90F18;
    --red-soft: #FFF1F2;
    --black: #050505;
    --charcoal: #1A1A1A;
    --text: #202020;
    --muted: #6B6B6B;
    --soft: #F5F5F5;
    --white: #FFFFFF;
    --border: #E8E8E8;
    --shadow: 0 24px 70px rgba(227, 24, 34, .12);
    --radius-lg: 30px;
    --radius-md: 20px
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box
}

html {
    scroll-behavior: smooth
}

body {
    font-family: "Inter", sans-serif;
    background: var(--white);
    color: var(--text);
    line-height: 1.6
}

a {
    text-decoration: none;
    color: inherit
}

img {
    max-width: 100%;
    display: block
}

.container {
    width: min(1180px, calc(100% - 40px));
    margin: 0 auto
}

.section {
    padding: 96px 0
}

.section-soft {
    background: var(--soft)
}

.section-header {
    max-width: 780px;
    margin-bottom: 46px
}

.section-header.center {
    margin-left: auto;
    margin-right: auto;
    text-align: center
}

h1,
h2,
h3 {
    color: var(--black);
    letter-spacing: -.045em;
    line-height: 1.05
}

h1 {
    font-size: clamp(46px, 7vw, 82px);
    margin-bottom: 24px
}

h2 {
    font-size: clamp(34px, 4vw, 56px);
    margin-bottom: 18px
}

h3 {
    font-size: 22px;
    margin-bottom: 10px
}

p {
    color: var(--muted);
    font-size: 17px
}

.eyebrow {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 7px 12px;
    border-radius: 999px;
    background: var(--red-soft);
    color: var(--red);
    font-size: 13px;
    font-weight: 900;
    margin-bottom: 18px
}

.eyebrow:before {
    content: "";
    width: 8px;
    height: 8px;
    border-radius: 50%;
    background: var(--red)
}

.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    padding: 14px 22px;
    border-radius: 999px;
    font-size: 15px;
    font-weight: 800;
    transition: all .25s ease;
    cursor: pointer;
    white-space: nowrap;
    border: 1px solid transparent
}

.btn-primary {
    background: var(--red);
    color: var(--white);
    box-shadow: 0 10px 24px rgba(227, 24, 34, .24)
}

.btn-primary:hover {
    background: var(--red-dark);
    transform: translateY(-2px)
}

.btn-secondary {
    background: var(--white);
    color: var(--black);
    border-color: var(--border)
}

.btn-secondary:hover {
    border-color: var(--red);
    color: var(--red);
    transform: translateY(-2px)
}

.navbar {
    position: sticky;
    top: 0;
    z-index: 100;
    background: rgba(255, 255, 255, .88);
    backdrop-filter: blur(18px);
    border-bottom: 1px solid rgba(232, 232, 232, .85)
}

.nav-inner {
    height: 82px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 28px
}

.logo {
    display: flex;
    align-items: center;
    height: 52px;
    flex-shrink: 0
}

.logo img {
    height: 46px;
    width: auto
}

.nav-links {
    display: flex;
    align-items: center;
    gap: 30px;
    font-weight: 700;
    font-size: 14px;
    color: var(--text)
}

.nav-links a:hover {
    color: var(--red)
}

.nav-actions {
    display: flex;
    align-items: center;
    gap: 12px
}

.login-link {
    font-weight: 700;
    font-size: 14px;
    color: var(--muted)
}

.login-link:hover {
    color: var(--red)
}

.page-hero {
    position: relative;
    padding: 106px 0 90px;
    overflow: hidden;
    background: radial-gradient(circle at 78% 18%, rgba(227, 24, 34, .13), transparent 30%), linear-gradient(180deg, #fff 0%, #f7f7f7 100%)
}

.page-hero:before {
    content: "";
    position: absolute;
    inset: 0;
    background-image: linear-gradient(rgba(5, 5, 5, .035) 1px, transparent 1px), linear-gradient(90deg, rgba(5, 5, 5, .035) 1px, transparent 1px);
    background-size: 48px 48px;
    mask-image: linear-gradient(to bottom, black, transparent 82%);
    pointer-events: none
}

.page-hero .container {
    position: relative;
    z-index: 2
}

.hero-grid {
    display: grid;
    grid-template-columns: 1.05fr .95fr;
    gap: 68px;
    align-items: center
}

.hero-copy p {
    font-size: 20px;
    max-width: 680px;
    margin-bottom: 32px
}

.hero-actions {
    display: flex;
    flex-wrap: wrap;
    gap: 14px
}

.dark-panel {
    background: radial-gradient(circle at 18% 18%, rgba(227, 24, 34, .38), transparent 30%), radial-gradient(circle at 90% 82%, rgba(227, 24, 34, .18), transparent 24%), linear-gradient(145deg, #111, #050505);
    border-radius: 38px;
    padding: 34px;
    min-height: 430px;
    position: relative;
    overflow: hidden;
    box-shadow: var(--shadow)
}

.dark-panel:before {
    content: "";
    position: absolute;
    inset: 0;
    background-image: linear-gradient(rgba(255, 255, 255, .055) 1px, transparent 1px), linear-gradient(90deg, rgba(255, 255, 255, .055) 1px, transparent 1px);
    background-size: 46px 46px
}

.panel-card {
    position: relative;
    z-index: 2;
    background: var(--white);
    border-radius: 26px;
    padding: 24px;
    box-shadow: 0 28px 60px rgba(0, 0, 0, .24)
}

.panel-card+.panel-card {
    margin-top: 18px
}

.panel-label {
    display: block;
    color: var(--muted);
    font-size: 13px;
    font-weight: 800;
    margin-bottom: 4px
}

.panel-value {
    color: var(--black);
    font-weight: 900;
    font-size: 20px;
    letter-spacing: -.03em
}

.pill-row,
.badge-row {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    margin-top: 16px
}

.pill,
.badge {
    padding: 7px 10px;
    border-radius: 999px;
    background: var(--red-soft);
    color: var(--red);
    font-size: 12px;
    font-weight: 900
}

.grid-2 {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 24px
}

.grid-3 {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 24px
}

.card {
    background: var(--white);
    border: 1px solid var(--border);
    border-radius: var(--radius-lg);
    padding: 30px;
    box-shadow: 0 14px 38px rgba(5, 5, 5, .05);
    transition: all .25s ease
}

.card:hover {
    transform: translateY(-5px);
    box-shadow: 0 24px 55px rgba(227, 24, 34, .1);
    border-color: rgba(227, 24, 34, .24)
}

.icon-box {
    width: 46px;
    height: 46px;
    border-radius: 14px;
    display: grid;
    place-items: center;
    background: var(--red-soft);
    color: var(--red);
    font-weight: 900;
    margin-bottom: 16px
}

.split {
    display: grid;
    grid-template-columns: .9fr 1.1fr;
    gap: 50px;
    align-items: start
}

.story-card {
    background: var(--white);
    border: 1px solid var(--border);
    border-radius: 34px;
    padding: 42px;
    box-shadow: var(--shadow)
}

.quote-card {
    background: var(--black);
    color: var(--white);
    border-radius: 30px;
    padding: 34px;
    margin-top: 22px
}

.quote-card p {
    color: rgba(255, 255, 255, .78);
    font-size: 18px
}

.cta-band {
    background: radial-gradient(circle at 80% 20%, rgba(227, 24, 34, .26), transparent 28%), var(--black);
    border-radius: 38px;
    padding: 54px;
    color: var(--white);
    display: grid;
    grid-template-columns: 1fr auto;
    gap: 34px;
    align-items: center
}

.cta-band h2,
.cta-band p {
    color: var(--white)
}

.cta-band p {
    color: rgba(255, 255, 255, .72)
}

.contact-layout {
    display: grid;
    grid-template-columns: .86fr 1.14fr;
    gap: 34px;
    align-items: start
}

.contact-stack {
    display: grid;
    gap: 18px
}

.contact-form {
    background: var(--white);
    border: 1px solid var(--border);
    border-radius: 34px;
    padding: 34px;
    box-shadow: var(--shadow)
}

.form-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 14px
}

.field {
    display: grid;
    gap: 8px
}

.field.full {
    grid-column: 1 / -1
}

label {
    font-size: 13px;
    font-weight: 900;
    color: var(--black)
}

input,
select,
textarea {
    width: 100%;
    border: 1px solid var(--border);
    border-radius: 16px;
    padding: 14px 15px;
    font: inherit;
    color: var(--black);
    background: var(--soft);
    outline: none
}

textarea {
    min-height: 150px;
    resize: vertical
}

input:focus,
select:focus,
textarea:focus {
    border-color: var(--red);
    background: var(--white)
}

.faq {
    display: grid;
    gap: 14px
}

.faq-item {
    background: var(--white);
    border: 1px solid var(--border);
    border-radius: 22px;
    padding: 24px
}

.legal-layout {
    display: grid;
    grid-template-columns: 280px 1fr;
    gap: 42px;
    align-items: start
}

.legal-nav {
    position: sticky;
    top: 110px;
    background: var(--white);
    border: 1px solid var(--border);
    border-radius: 24px;
    padding: 20px;
    box-shadow: 0 14px 38px rgba(5, 5, 5, .05)
}

.legal-nav a {
    display: block;
    padding: 10px 12px;
    border-radius: 12px;
    color: var(--muted);
    font-size: 14px;
    font-weight: 800
}

.legal-nav a:hover {
    background: var(--red-soft);
    color: var(--red)
}

.legal-content {
    background: var(--white);
    border: 1px solid var(--border);
    border-radius: 34px;
    padding: 44px;
    box-shadow: var(--shadow)
}

.legal-content h2 {
    font-size: 32px;
    margin-top: 34px
}

.legal-content h2:first-child {
    margin-top: 0
}

.legal-content p,
.legal-content li {
    color: var(--muted);
    font-size: 16px;
    margin-bottom: 14px
}

.legal-content ul {
    padding-left: 20px;
    margin-bottom: 16px
}

footer {
    background: var(--black);
    color: var(--white);
    padding: 72px 0 30px
}

.footer-grid {
    display: grid;
    grid-template-columns: 1.4fr repeat(3, 1fr);
    gap: 40px;
    margin-bottom: 44px
}

.footer-brand p {
    color: rgba(255, 255, 255, .68);
    margin-top: 18px;
    max-width: 320px
}

.footer-logo img {
    /* No invert filter to match homepage footer logo behavior */
}

.footer-col h4 {
    font-size: 14px;
    text-transform: uppercase;
    letter-spacing: .08em;
    margin-bottom: 18px;
    color: var(--red)
}

.footer-col a,
.footer-col p {
    display: block;
    color: rgba(255, 255, 255, .72);
    margin-bottom: 10px;
    font-size: 15px
}

.footer-col a:hover {
    color: var(--white)
}

.footer-bottom {
    padding-top: 24px;
    border-top: 1px solid rgba(255, 255, 255, .12);
    display: flex;
    justify-content: space-between;
    color: rgba(255, 255, 255, .54);
    font-size: 14px;
    gap: 20px
}

@media(max-width:980px) {
    .nav-links {
        display: none
    }

    .hero-grid,
    .split,
    .contact-layout,
    .legal-layout,
    .cta-band {
        grid-template-columns: 1fr
    }

    .grid-3,
    .footer-grid {
        grid-template-columns: repeat(2, 1fr)
    }

    .legal-nav {
        position: static
    }
}

@media(max-width:680px) {
    .container {
        width: min(100% - 28px, 1180px)
    }

    .section {
        padding: 70px 0
    }

    .page-hero {
        padding: 70px 0
    }

    .nav-inner {
        height: auto;
        padding: 14px 0
    }

    .logo img {
        height: 40px
    }

    .nav-actions .btn-secondary,
    .login-link {
        display: none
    }

    .hero-actions {
        flex-direction: column
    }

    .btn {
        width: 100%
    }

    .dark-panel {
        min-height: auto;
        padding: 20px
    }

    .grid-2,
    .grid-3,
    .footer-grid,
    .form-grid {
        grid-template-columns: 1fr
    }

    .field.full {
        grid-column: auto
    }

    .story-card,
    .contact-form,
    .legal-content,
    .cta-band {
        padding: 28px
    }

    .cta-band {
        border-radius: 28px
    }

    .footer-bottom {
        flex-direction: column
    }
}
