:root {
    /* AK Industries: white paper, blueprint blue, and signal red */
    --bg: #f5f6f8;
    --bg-elevated: #ffffff;
    --bg-card: #ffffff;
    --border: #d9dee7;
    --border-strong: #2444b8;
    --text: #202a3a;
    --muted: #5e6878;
    --eyebrow: #2444b8;
    --blue: #344bc5;
    --blue-bright: #2439a8;
    --blue-dim: #dce4ff;
    --red: #d51f32;
    --red-bright: #b8182a;
    --red-dim: #fbe5e8;
    --accent: var(--blue);
    --accent-hover: var(--blue-bright);
    --radius: 10px;
    --radius-sm: 6px;
    --radius-lg: 12px;
    font-family: "Inter", system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
    color: var(--text);
    background: var(--bg);
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
    margin: 0;
    background:
        linear-gradient(rgba(36, 57, 168, 0.035) 1px, transparent 1px),
        linear-gradient(90deg, rgba(36, 57, 168, 0.035) 1px, transparent 1px),
        var(--bg);
    background-size: 28px 28px, 28px 28px, auto;
    color: var(--text);
    line-height: 1.55;
    min-height: 100vh;
}

/* ── Topbar ── */
.topbar {
    height: 68px;
    padding: 0 30px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    border-bottom: 1px solid var(--border);
    background: rgba(255, 255, 255, 0.96);
    backdrop-filter: blur(12px);
    position: sticky;
    top: 0;
    z-index: 10;
}

.brand {
    font-weight: 900;
    letter-spacing: 0.14em;
    font-size: 13px;
    color: var(--text);
    display: flex;
    align-items: center;
    gap: 10px;
}

.brand::before {
    content: "";
    display: block;
    width: 8px;
    height: 8px;
    background: color( rgba(255, 0, 0, 0) rgba(0, 128, 0, 0) rgba(0, 0, 255, 0));
    border-radius: 2px;
    box-shadow: 0 0 0 2px rgba(225, 29, 45, 0);
}

nav {
    display: flex;
    gap: 22px;
    align-items: center;
    color: #5e6878;
    font-size: 14px;
    font-weight: 500;
}
nav a:hover { color: var(--red); }
.nav-cta {
    padding: 8px 16px;
    border-radius: 999px;
    background: transparent;
    color: var(--red) !important }

a { color: inherit; text-decoration: none; }
code {
    font-family: Consolas, Monaco, monospace;
    background: #152030;
    padding: 2px 7px;
    border-radius: 5px;
    font-size: 0.92em;
    color: #b8d0ff;
    border: 1px solid var(--border);
}


.nav-cta:hover {
    background: var(--red);
    color: #fff !important;
    box-shadow: 0 0 20px rgba(225, 29, 46, 0.35);
}

/* ── Layout ── */
main {
    max-width: 1100px;
    margin: 0 auto;
    padding: 0 24px 80px;
}

/* ── Hero ── */
.hero {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 48px;
    padding: 72px 0 56px;
}

.hero-content { flex: 1; min-width: 0; }
.eyebrow {
    color: var(--blue-bright);
    font-size: 12px;
    font-weight: 800;
    text-transform: uppercase;
    letter-spacing: 0.16em;
    margin: 0 0 14px;
    display: inline-flex;
    align-items: center;
    gap: 8px;
}

.eyebrow::before {
    content: "";
    width: 18px;
    height: 2px;
    background: var(--red);
    border-radius: 1px;
}
h1 {
    margin: 0 0 20px;
    font-size: clamp(36px, 6vw, 54px);
    line-height: 1.04;
    font-weight: 800;
    letter-spacing: -0.025em;
    background: linear-gradient(135deg, #3c49ff 0%, #0c182f 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}
.hero-lead {
    color: var(--muted);
    font-size: 17px;
    max-width: 520px;
    margin: 0 0 32px;
    line-height: 1.7;
}
.hero-actions {
    display: flex;
    flex-wrap: wrap;
    gap: 12px;
}

/* ── Buttons ── */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 13px 22px;
    border-radius: var(--radius-sm);
    font-weight: 700;
    font-size: 14px;
    border: 0;
    cursor: pointer;
    transition: background 0.15s, filter 0.15s, box-shadow 0.15s, transform 0.12s;
}
.btn:active { transform: scale(0.98); }
.btn-primary {
    background: var(--blue);
    color: #fff;
    box-shadow: 0 4px 18px rgba(43, 92, 255, 0.35);
}
.btn-primary:hover {
    background: var(--blue-bright);
    filter: none;
    box-shadow: 0 6px 24px rgba(43, 92, 255, 0.45);
}
.btn-secondary {
    background: transparent;
    color: var(--text);
    border: 1.5px solid var(--border-strong);
}
.btn-secondary:hover {
    background: rgba(43, 92, 255, 0.08);
    border-color: var(--blue-dim);
}

/* ── Hero side card (logo-inspired badge shape) ── */
.hero-card {
    flex-shrink: 0;
    width: 230px;
    padding: 36px 28px;
    border: 2px solid var(--red);
    background: linear-gradient(160deg, #d1e2ff 0%, #c9e0ff 100%);
    border-radius: 22px 22px 22px 22px; /* asymmetric, echoes logo curves */
    text-align: center;
    box-shadow:
        0 0 0 1px rgba(225, 29, 46, 0.15),
        0 18px 48px rgba(0, 0, 0, 0.35),
        inset 0 1px 0 rgba(255, 255, 255, 0.04);
    position: relative;
}
.hero-card::before {
    content: "";
    position: absolute;
    inset: 6px;
    border: 1px solid rgba(194, 202, 232, 0.25);
    border-radius: 2px 16px 2px 16px;
    pointer-events: none;
}
.logo-mark {
    width: 76px;
    height: 76px;
    margin: 0 auto 20px;
    display: grid;
    place-items: center;
    border-radius: 4px 16px 4px 16px;
    border: 2px solid var(--red);
    background: #080c14;
    font-size: 22px;
    font-weight: 900;
    letter-spacing: 0.02em;
    color: var(--blue-bright);
    box-shadow: inset 0 0 20px rgba(43, 92, 255, 0.12);
}
.card-label {
    margin: 0;
    font-weight: 800;
    font-size: 15px;
    letter-spacing: 0.04em;
}
.card-sub {
    margin: 6px 0 0;
    color: var(--muted);
    font-size: 12px;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    font-weight: 600;
}

/* ── Sections ── */
.section {
    padding: 52px 0 20px;
}
.section-header {
    margin-bottom: 32px;
}
.section-header .eyebrow {
    margin-bottom: 8px;
}
.section-header h2 {
    margin: 0;
    font-size: 28px;
    font-weight: 750;
    letter-spacing: -0.02em;
}

/* ── Cards grid ── */
.grid-3 {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 16px;
}
.card {
    border: 1px solid var(--border);
    background: var(--bg-card);
    border-radius: var(--radius);
    padding: 24px;
    box-shadow: 0 12px 36px rgba(0, 0, 0, 0.2);
    transition: border-color 0.2s, transform 0.2s, box-shadow 0.2s;
    position: relative;
    overflow: hidden;
}
.card::before {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 2px;
    background: linear-gradient(90deg, var(--red), var(--blue));
    opacity: 0;
    transition: opacity 0.2s;
}
.card:hover {
    border-color: var(--border-strong);
    transform: translateY(-2px);
    box-shadow: 0 16px 44px rgba(0, 0, 0, 0.28);
}
.card:hover::before { opacity: 1; }
.card h3 {
    margin: 0 0 10px;
    font-size: 16px;
    font-weight: 700;
}
.card p {
    margin: 0;
    color: var(--muted);
    font-size: 14px;
    line-height: 1.65;
}

/* ── Steps ── */
.steps {
    display: grid;
    gap: 14px;
}
.step {
    display: flex;
    gap: 18px;
    align-items: flex-start;
    padding: 22px 24px;
    border: 1px solid var(--border);
    background: var(--bg-card);
    border-radius: var(--radius);
    transition: border-color 0.2s;
}
.step:hover {
    border-color: var(--border-strong);
}
.step-num {
    flex-shrink: 0;
    width: 38px;
    height: 38px;
    display: grid;
    place-items: center;
    border-radius: 8px;
    background: linear-gradient(145deg, var(--blue-dim), #f4f5f6);
    border: 1px solid rgba(247, 7, 23, 0.941);
    font-weight: 800;
    font-size: 14px;
    color: var(--blue-bright);
}
.step h3 {
    margin: 0 0 6px;
    font-size: 16px;
}
.step p {
    margin: 0 0 10px;
    color: var(--muted);
    font-size: 14px;
}
.text-link {
    font-size: 13px;
    font-weight: 650;
    color: var(--blue-bright);
}
.text-link:hover {
    color: #000000;
    text-decoration: underline;
    text-underline-offset: 3px;
}

/* ── CTA ── */
.cta-section { padding-top: 40px; }
.cta-card {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 28px;
    padding: 32px 34px;
    border: 1px solid var(--border);
    background:
        linear-gradient(135deg, rgba(217, 219, 228, 0.875) 0%, transparent 50%),
        linear-gradient(145deg, #e9233a 0%, #f72d2d 100%);
    border-radius: var(--radius-lg);
    position: relative;
    overflow: hidden;
}
.cta-card::after {
    content: "";
    position: absolute;
    top: -40%;
    right: -10%;
    width: 220px;
    height: 220px;
    background: radial-gradient(circle, rgba(225, 29, 46, 0.12), transparent 70%);
    pointer-events: none;
}
.cta-card h2 {
    margin: 6px 0 10px;
    font-size: 24px;
    font-weight: 750;
}
.muted {
    color: var(--muted);
    margin: 0;
    font-size: 14px;
    max-width: 480px;
    line-height: 1.6;
}

/* ── Footer ── */
.footer {
    border-top: 1px solid var(--border);
    background: var(--bg-elevated);
    padding: 32px 24px;
}
.footer-inner {
    max-width: 1100px;
    margin: 0 auto;
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    justify-content: space-between;
    gap: 16px;
}
.footer-links {
    display: flex;
    gap: 22px;
    color: #8b9bb0;
    font-size: 14px;
}
.footer-links a:hover { color: var(--blue-bright); }
.footer-note {
    margin: 0;
    width: 100%;
    color: var(--eyebrow);
    font-size: 12px;
    letter-spacing: 0.02em;
}

/* ── Responsive ── */
@media (max-width: 900px) {
    .hero {
        flex-direction: column;
        align-items: flex-start;
        padding-top: 44px;
        gap: 36px;
    }
    .hero-card {
        width: 100%;
        max-width: 280px;
    }
    .grid-3 {
        grid-template-columns: 1fr;
    }
    .cta-card {
        flex-direction: column;
        align-items: flex-start;
    }
}

@media (max-width: 600px) {
    .topbar {
        padding: 0 16px;
    }
    nav {
        gap: 14px;
        font-size: 13px;
    }
    main {
        padding: 0 16px 60px;
    }
    h1 {
        font-size: 34px;
    }
    .hero-lead {
        font-size: 15px;
    }
    .hero-card {
        border-radius: 4px 18px 4px 18px;
    }
}