:root {
    --red: #f20b35;
    --red-dark: #b90729;
    --ink: #28213f;
    --muted: #6a6478;
    --paper: #f5f5f5;
    --white: #ffffff;
    --black: #111111;
    --line: #ddd9e4;
    --panel: #ffffff;
    --soft-red: #ffe8ee;
}

* {
    box-sizing: border-box;
}

body {
    margin: 0;
    font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
    color: var(--ink);
    background: var(--paper);
    line-height: 1.55;
}

a {
    color: inherit;
}

.site-header {
    background:
        linear-gradient(rgba(0,0,0,.55), rgba(0,0,0,.48)),
        radial-gradient(circle at 20% 40%, rgba(255,255,255,.18), transparent 32%),
        linear-gradient(135deg, #080808 0%, #2b2b2b 45%, #070707 100%);
    color: var(--white);
}

.masthead {
    max-width: 1180px;
    min-height: 210px;
    margin: 0 auto;
    padding: 44px 28px;
    display: flex;
    align-items: flex-start;
    justify-content: space-between;
    gap: 28px;
}

.logo {
    width: 152px;
    height: auto;
    display: block;
}

.logo-link {
    display: inline-block;
}

.top-nav {
    display: flex;
    gap: 24px;
    align-items: center;
    flex-wrap: wrap;
    justify-content: flex-end;
    padding-top: 18px;
    font-weight: 650;
}

.top-nav a {
    text-decoration: none;
    color: #fff;
    opacity: .92;
}

.top-nav a:hover,
.top-nav a.active {
    opacity: 1;
    color: #fff;
    text-decoration: underline;
    text-decoration-color: var(--red);
    text-underline-offset: 8px;
}

.nav-cta {
    border: 1px solid rgba(255,255,255,.75);
    padding: 10px 16px;
    border-radius: 10px;
    text-decoration: none !important;
}

.nav-cta:hover {
    background: var(--red);
    border-color: var(--red);
}

.hero {
    background: var(--paper);
    padding: 86px 28px 72px;
}

.hero-grid {
    max-width: 1180px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: 1.1fr .9fr;
    gap: 76px;
    align-items: center;
}

.eyebrow {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    color: var(--red);
    font-size: .82rem;
    letter-spacing: .12em;
    text-transform: uppercase;
    font-weight: 800;
    margin-bottom: 14px;
}

.eyebrow::before {
    content: "";
    width: 34px;
    height: 2px;
    background: var(--red);
    display: inline-block;
}

h1 {
    font-size: clamp(2.8rem, 6vw, 5.8rem);
    line-height: .96;
    letter-spacing: -.07em;
    margin: 0 0 28px;
    max-width: 820px;
}

h2 {
    font-size: clamp(1.85rem, 3vw, 3rem);
    line-height: 1.05;
    letter-spacing: -.045em;
    margin: 0 0 18px;
}

h3 {
    font-size: 1.25rem;
    line-height: 1.2;
    margin: 0 0 10px;
}

p {
    margin: 0 0 18px;
}

.lead {
    font-size: 1.2rem;
    color: #4c465e;
    max-width: 780px;
}

.hero-card {
    background: var(--white);
    border: 1px solid var(--line);
    border-radius: 20px;
    padding: 34px;
    box-shadow: 0 24px 70px rgba(22, 18, 35, .10);
}

.hero-card h2 {
    font-size: 1.7rem;
}

.button-row {
    display: flex;
    gap: 14px;
    flex-wrap: wrap;
    margin-top: 30px;
}

.button {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-height: 46px;
    padding: 12px 18px;
    border-radius: 10px;
    background: var(--red);
    color: #fff;
    font-weight: 800;
    text-decoration: none;
    border: 1px solid var(--red);
}

.button:hover {
    background: var(--red-dark);
    border-color: var(--red-dark);
}

.button.secondary {
    background: transparent;
    color: var(--ink);
    border-color: var(--ink);
}

.button.secondary:hover {
    background: var(--ink);
    color: #fff;
}

.band {
    background:
        linear-gradient(rgba(255,255,255,.15), rgba(255,255,255,.15)),
        linear-gradient(110deg, #101010 0%, #282828 50%, #060606 100%);
    min-height: 110px;
}

.section {
    padding: 76px 28px;
}

.section.white {
    background: var(--white);
}

.section.dark {
    background: #15121d;
    color: #fff;
}

.container {
    max-width: 1180px;
    margin: 0 auto;
}

.section-head {
    max-width: 820px;
    margin-bottom: 36px;
}

.grid-3,
.grid-2,
.grid-4 {
    display: grid;
    gap: 22px;
}

.grid-3 {
    grid-template-columns: repeat(3, minmax(0, 1fr));
}

.grid-2 {
    grid-template-columns: repeat(2, minmax(0, 1fr));
}

.grid-4 {
    grid-template-columns: repeat(4, minmax(0, 1fr));
}

.card {
    background: var(--panel);
    border: 1px solid var(--line);
    border-radius: 18px;
    padding: 26px;
    min-height: 100%;
}

.dark .card {
    background: rgba(255,255,255,.06);
    border-color: rgba(255,255,255,.14);
}

.card p,
.card li {
    color: var(--muted);
}

.dark .card p,
.dark .card li {
    color: rgba(255,255,255,.78);
}

.card.feature {
    border-top: 6px solid var(--red);
}

.card-link {
    display: inline-flex;
    margin-top: 12px;
    color: var(--red);
    font-weight: 800;
    text-decoration: none;
}

.card-link:hover {
    text-decoration: underline;
    text-underline-offset: 5px;
}

.list-clean {
    padding-left: 20px;
    margin: 16px 0 0;
}

.list-clean li {
    margin-bottom: 8px;
}

.workflow {
    display: grid;
    grid-template-columns: repeat(6, minmax(0, 1fr));
    gap: 12px;
    margin-top: 30px;
}

.workflow-step {
    background: #fff;
    border: 1px solid var(--line);
    border-radius: 16px;
    padding: 18px;
    position: relative;
    font-weight: 800;
}

.workflow-step span {
    display: block;
    color: var(--red);
    font-size: .78rem;
    letter-spacing: .08em;
    text-transform: uppercase;
    margin-bottom: 8px;
}

.resource-panel {
    background: var(--ink);
    color: #fff;
    border-radius: 24px;
    padding: 38px;
    display: grid;
    grid-template-columns: 1fr auto;
    gap: 26px;
    align-items: center;
}

.resource-panel p {
    color: rgba(255,255,255,.78);
}

.page-title {
    background: var(--paper);
    padding: 70px 28px;
}

.page-title .container {
    max-width: 1180px;
}

.kicker {
    font-weight: 850;
    color: var(--red);
    text-transform: uppercase;
    letter-spacing: .12em;
    font-size: .82rem;
}

.product-status {
    display: inline-flex;
    align-items: center;
    border-radius: 999px;
    padding: 5px 10px;
    background: var(--soft-red);
    color: var(--red-dark);
    font-weight: 850;
    font-size: .78rem;
    margin-bottom: 14px;
}

.form {
    background: #fff;
    border: 1px solid var(--line);
    border-radius: 20px;
    padding: 30px;
}

.form label {
    display: block;
    font-weight: 800;
    margin: 0 0 8px;
}

.form input,
.form select,
.form textarea {
    width: 100%;
    border: 1px solid #cfcad8;
    background: #fff;
    border-radius: 10px;
    padding: 13px 14px;
    font: inherit;
    margin-bottom: 18px;
}

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

.notice {
    border-radius: 14px;
    padding: 16px 18px;
    margin-bottom: 20px;
    font-weight: 750;
}

.notice.success {
    background: #e8f8ef;
    color: #17663b;
}

.notice.error {
    background: #ffe8ee;
    color: #8d0b23;
}

.site-footer {
    background: #111;
    color: #fff;
    padding: 54px 28px 24px;
}

.footer-grid {
    max-width: 1180px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: 1.5fr 1fr 1fr 1fr;
    gap: 34px;
}

.footer-logo {
    width: 120px;
    margin-bottom: 18px;
}

.site-footer h2 {
    font-size: 1rem;
    letter-spacing: 0;
    margin-bottom: 14px;
}

.site-footer a {
    display: block;
    color: rgba(255,255,255,.82);
    text-decoration: none;
    margin-bottom: 9px;
}

.site-footer a:hover {
    color: #fff;
    text-decoration: underline;
    text-underline-offset: 5px;
}

.site-footer p {
    color: rgba(255,255,255,.72);
}

.footer-bottom {
    max-width: 1180px;
    margin: 32px auto 0;
    padding-top: 18px;
    border-top: 1px solid rgba(255,255,255,.14);
    display: flex;
    justify-content: space-between;
    gap: 18px;
    flex-wrap: wrap;
    color: rgba(255,255,255,.62);
    font-size: .92rem;
}

@media (max-width: 920px) {
    .masthead {
        min-height: auto;
        flex-direction: column;
    }

    .top-nav {
        justify-content: flex-start;
        gap: 14px;
    }

    .hero-grid,
    .grid-2,
    .grid-3,
    .grid-4,
    .footer-grid,
    .resource-panel {
        grid-template-columns: 1fr;
    }

    .workflow {
        grid-template-columns: 1fr 1fr;
    }

    h1 {
        font-size: clamp(2.4rem, 14vw, 4rem);
    }
}

@media (max-width: 520px) {
    .workflow {
        grid-template-columns: 1fr;
    }

    .masthead,
    .hero,
    .section,
    .page-title,
    .site-footer {
        padding-left: 20px;
        padding-right: 20px;
    }
}

.product-layout {
    display: grid;
    grid-template-columns: minmax(0, 1fr) 360px;
    gap: 36px;
    align-items: start;
}

.product-hero h1 {
    max-width: 980px;
}

.product-highlight {
    background: #1b1626;
    border: 1px solid rgba(255,255,255,.12);
}

.product-highlight .button.secondary {
    color: #fff;
    border-color: #fff;
}

@media (max-width: 920px) {
    .product-layout {
        grid-template-columns: 1fr;
    }
}
