:root {
    --ink: #07111f;
    --navy: #0b1b31;
    --panel: #10243d;
    --blue: #1aa7e8;
    --blue-dark: #1870d0;
    --green: #52c41a;
    --green-dark: #3aa50b;
    --paper: #f4f8fb;
    --white: #ffffff;
    --text: #17283a;
    --muted: #5c6d7e;
    --line: #dce6ee;
    --max: 1180px;
}

* {
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

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

a {
    color: inherit;
}

.skip-link {
    position: fixed;
    top: 10px;
    left: 10px;
    z-index: 999;
    padding: 0.65rem 1rem;
    color: var(--ink);
    background: white;
    border-radius: 6px;
    transform: translateY(-150%);
}

.skip-link:focus {
    transform: none;
}

.container {
    width: min(calc(100% - 40px), var(--max));
    margin-inline: auto;
}

.narrow {
    max-width: 960px;
}

.site-header {
    position: relative;
    z-index: 20;
    background: #0d2740;
    border-bottom: 1px solid rgba(255, 255, 255, 0.08);
}

.header-inner {
    min-height: 84px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 2rem;
}

.brand img {
    display: block;
    width: min(325px, 42vw);
    height: auto;
}

nav {
    display: flex;
    align-items: center;
    gap: 1.6rem;
}

nav a {
    color: #dceaf5;
    text-decoration: none;
    font-size: 0.92rem;
    font-weight: 650;
}

nav a:hover,
nav a:focus-visible {
    color: white;
}

.header-cta {
    padding: 0.68rem 1rem;
    border: 1px solid rgba(122, 214, 255, 0.38);
    border-radius: 8px;
    background: rgba(26, 167, 232, 0.1);
}

.hero {
    position: relative;
    overflow: hidden;
    padding: 100px 0 92px;
    color: white;
    background:
        linear-gradient(125deg, rgba(6, 19, 34, 0.98), rgba(10, 31, 51, 0.94)),
        url("carousel-3.jpg") center / cover;
}

.hero::after {
    content: "";
    position: absolute;
    inset: 0;
    opacity: 0.09;
    background-image:
        linear-gradient(rgba(255, 255, 255, 0.18) 1px, transparent 1px),
        linear-gradient(90deg, rgba(255, 255, 255, 0.18) 1px, transparent 1px);
    background-size: 56px 56px;
    mask-image: linear-gradient(to bottom, black, transparent 88%);
    pointer-events: none;
}

.hero-glow {
    position: absolute;
    border-radius: 999px;
    filter: blur(80px);
    opacity: 0.22;
}

.hero-glow-one {
    width: 440px;
    height: 440px;
    right: -120px;
    top: -100px;
    background: var(--blue);
}

.hero-glow-two {
    width: 300px;
    height: 300px;
    left: 32%;
    bottom: -190px;
    background: var(--green);
}

.hero-grid {
    position: relative;
    z-index: 2;
    display: grid;
    grid-template-columns: 1.08fr 0.92fr;
    gap: clamp(50px, 7vw, 92px);
    align-items: center;
}

.eyebrow,
.section-kicker {
    margin: 0 0 1rem;
    color: var(--blue-dark);
    font-size: 0.77rem;
    font-weight: 800;
    letter-spacing: 0.15em;
    text-transform: uppercase;
}

.hero .eyebrow {
    color: #7ddaff;
}

.eyebrow span {
    margin: 0 0.45rem;
    color: var(--green);
}

h1,
h2,
h3,
p {
    margin-top: 0;
}

h1,
h2,
h3 {
    line-height: 1.14;
    letter-spacing: -0.025em;
}

h1 {
    max-width: 700px;
    margin-bottom: 1.45rem;
    font-size: clamp(2.7rem, 5.2vw, 5rem);
    font-weight: 760;
}

h1 em {
    color: #80dcff;
    font-style: normal;
}

.hero-lead {
    max-width: 690px;
    margin-bottom: 2rem;
    color: #c1d1df;
    font-size: clamp(1.04rem, 1.5vw, 1.22rem);
}

.hero-actions {
    display: flex;
    flex-wrap: wrap;
    gap: 0.8rem;
}

.button {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 0.4rem;
    min-height: 48px;
    padding: 0.7rem 1.1rem;
    border-radius: 8px;
    font-weight: 750;
    text-decoration: none;
    transition: transform 0.2s ease, background 0.2s ease, border-color 0.2s ease;
}

.button:hover {
    transform: translateY(-2px);
}

.button-primary {
    color: white;
    border: 1px solid #67d42f;
    background: linear-gradient(135deg, var(--green-dark), #46b50f);
    box-shadow: 0 10px 30px rgba(58, 165, 11, 0.2);
}

.button-secondary {
    color: white;
    border: 1px solid rgba(255, 255, 255, 0.18);
    background: rgba(255, 255, 255, 0.07);
}

.article-meta {
    margin: 1.4rem 0 0;
    color: #8096a9;
    font-size: 0.84rem;
}

.control-map {
    position: relative;
    padding: 26px;
    border: 1px solid rgba(127, 214, 255, 0.22);
    border-radius: 22px;
    background: linear-gradient(145deg, rgba(23, 52, 79, 0.84), rgba(7, 19, 34, 0.92));
    box-shadow: 0 30px 80px rgba(0, 0, 0, 0.3);
    backdrop-filter: blur(8px);
}

.control-node,
.policy-gate {
    display: flex;
    align-items: center;
    gap: 1rem;
    padding: 18px;
    border: 1px solid rgba(255, 255, 255, 0.11);
    border-radius: 14px;
    background: rgba(255, 255, 255, 0.06);
}

.control-node img,
.policy-gate img {
    flex: 0 0 auto;
}

.control-node strong,
.control-node span,
.policy-gate strong,
.policy-gate small {
    display: block;
}

.control-node strong,
.policy-gate strong {
    color: white;
}

.control-node span,
.policy-gate small {
    color: #8fa5b8;
    font-size: 0.78rem;
}

.flow-line {
    display: grid;
    place-items: center;
    height: 44px;
}

.flow-line::before {
    content: "";
    width: 2px;
    height: 100%;
    background: linear-gradient(var(--blue), var(--green));
}

.flow-line span::after {
    content: "";
    position: absolute;
    width: 7px;
    height: 7px;
    margin: -7px 0 0 -4px;
    border-right: 2px solid var(--green);
    border-bottom: 2px solid var(--green);
    transform: rotate(45deg);
}

.policy-gate {
    position: relative;
    border-color: rgba(82, 196, 26, 0.35);
    background: linear-gradient(90deg, rgba(58, 165, 11, 0.12), rgba(26, 167, 232, 0.08));
}

.status-dot {
    margin-left: auto;
    padding: 0.32rem 0.55rem;
    color: #9cea77;
    border: 1px solid rgba(82, 196, 26, 0.25);
    border-radius: 999px;
    background: rgba(82, 196, 26, 0.08);
    font-size: 0.66rem;
    font-weight: 750;
    white-space: nowrap;
}

.status-dot::before {
    content: "";
    display: inline-block;
    width: 6px;
    height: 6px;
    margin-right: 0.35rem;
    border-radius: 50%;
    background: var(--green);
    box-shadow: 0 0 8px var(--green);
}

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

.destination {
    min-width: 0;
    padding: 15px 10px;
    text-align: center;
    border: 1px solid rgba(255, 255, 255, 0.09);
    border-radius: 12px;
    background: rgba(255, 255, 255, 0.045);
}

.destination > span {
    display: block;
    margin-bottom: 0.3rem;
    color: #80dcff;
    font-family: ui-monospace, SFMono-Regular, Menlo, monospace;
    font-size: 1.35rem;
}

.destination strong,
.destination small {
    display: block;
}

.destination strong {
    color: white;
    font-size: 0.8rem;
}

.destination small {
    overflow: hidden;
    margin-top: 0.2rem;
    color: #7890a5;
    font-size: 0.62rem;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.truth-section,
.controls-section,
.reading-section {
    padding: 96px 0;
}

.truth-section {
    background: white;
}

h2 {
    margin-bottom: 1.2rem;
    color: var(--ink);
    font-size: clamp(2rem, 4vw, 3.35rem);
}

.truth-section h2 {
    max-width: 810px;
}

.section-intro {
    max-width: 850px;
    color: var(--muted);
    font-size: 1.12rem;
}

.layer-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 18px;
    margin-top: 3rem;
}

.layer-grid article {
    display: flex;
    flex-direction: column;
    min-height: 280px;
    padding: 26px;
    border: 1px solid var(--line);
    border-radius: 14px;
    background: #f9fbfd;
}

.layer-grid .featured-layer {
    color: white;
    border-color: var(--navy);
    background: var(--navy);
    box-shadow: 0 18px 45px rgba(11, 27, 49, 0.2);
}

.layer-number {
    color: var(--blue-dark);
    font-family: ui-monospace, SFMono-Regular, Menlo, monospace;
    font-size: 0.77rem;
    font-weight: 800;
}

.layer-grid h3 {
    margin: 1.6rem 0 0.8rem;
    color: var(--ink);
    font-size: 1.2rem;
}

.layer-grid p {
    color: var(--muted);
    font-size: 0.94rem;
}

.featured-layer h3,
.featured-layer p {
    color: white;
}

.featured-layer p {
    color: #afc1d0;
}

.owner-tag {
    margin-top: auto;
    padding-top: 1.4rem;
    color: #53687a;
    border-top: 1px solid var(--line);
    font-size: 0.71rem;
    font-weight: 800;
    letter-spacing: 0.07em;
    text-transform: uppercase;
}

.featured-layer .owner-tag {
    color: #7edb57;
    border-color: rgba(255, 255, 255, 0.12);
}

.plain-note {
    margin-top: 28px;
    padding: 18px 22px;
    color: #3f5569;
    border-left: 4px solid var(--blue);
    background: #eef7fb;
    font-size: 0.94rem;
}

.controls-section {
    background: var(--paper);
}

.section-heading {
    display: grid;
    grid-template-columns: 1.2fr 0.8fr;
    gap: 3rem;
    align-items: end;
    margin-bottom: 3rem;
}

.section-heading h2 {
    margin-bottom: 0;
}

.section-heading > p {
    margin-bottom: 0.35rem;
    color: var(--muted);
}

.controls-list {
    margin: 0;
    padding: 0;
    list-style: none;
    border-top: 1px solid #cfdbe4;
}

.controls-list li {
    display: grid;
    grid-template-columns: 80px 1fr 120px;
    gap: 24px;
    align-items: start;
    padding: 30px 18px;
    border-bottom: 1px solid #cfdbe4;
    transition: background 0.2s ease;
}

.controls-list li:hover {
    background: white;
}

.control-count {
    color: #95a7b7;
    font-family: ui-monospace, SFMono-Regular, Menlo, monospace;
    font-size: 0.78rem;
    font-weight: 800;
}

.controls-list h3 {
    margin-bottom: 0.55rem;
    color: var(--ink);
    font-size: 1.32rem;
}

.controls-list p {
    max-width: 760px;
    margin-bottom: 0.65rem;
    color: var(--muted);
}

.controls-list a {
    color: #09679d;
    font-size: 0.87rem;
    font-weight: 750;
    text-decoration: none;
}

.controls-list a:hover {
    text-decoration: underline;
}

.control-label {
    justify-self: end;
    padding: 0.3rem 0.55rem;
    border: 1px solid;
    border-radius: 999px;
    font-size: 0.65rem;
    font-weight: 800;
    letter-spacing: 0.04em;
    text-transform: uppercase;
}

.control-label.threatlocker {
    color: #287d09;
    border-color: #b7dfaa;
    background: #ecf9e7;
}

.control-label.policy {
    color: #116b98;
    border-color: #b5dcea;
    background: #e9f7fc;
}

.control-label.rollout {
    color: #695493;
    border-color: #d5c8e8;
    background: #f3eff9;
}

.agentic-section {
    padding: 100px 0;
    color: white;
    background: var(--navy);
}

.agentic-grid {
    display: grid;
    grid-template-columns: 0.88fr 1.12fr;
    gap: clamp(50px, 9vw, 120px);
    align-items: center;
}

.agentic-section h2 {
    color: white;
}

.agentic-section p {
    color: #adc0d0;
}

.question-stack {
    border-top: 1px solid rgba(255, 255, 255, 0.14);
}

.question-stack div {
    display: grid;
    grid-template-columns: 52px 1fr;
    gap: 20px;
    align-items: center;
    padding: 22px 0;
    border-bottom: 1px solid rgba(255, 255, 255, 0.14);
}

.question-stack span {
    color: var(--green);
    font-family: ui-monospace, SFMono-Regular, Menlo, monospace;
    font-size: 0.76rem;
    font-weight: 800;
}

.question-stack p {
    margin: 0;
    color: white;
    font-size: 1.08rem;
    font-weight: 670;
}

.reading-section {
    background: white;
}

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

.reading-card {
    display: flex;
    flex-direction: column;
    min-height: 315px;
    padding: 28px;
    border: 1px solid var(--line);
    border-radius: 14px;
    background: #f9fbfd;
    text-decoration: none;
    transition: transform 0.2s ease, box-shadow 0.2s ease, border-color 0.2s ease;
}

.reading-card:hover {
    transform: translateY(-4px);
    border-color: #a5cddd;
    box-shadow: 0 16px 38px rgba(12, 43, 67, 0.1);
}

.reading-card-primary {
    color: white;
    border-color: var(--navy);
    background: var(--navy);
}

.reading-type {
    color: var(--blue-dark);
    font-size: 0.69rem;
    font-weight: 800;
    letter-spacing: 0.1em;
    text-transform: uppercase;
}

.reading-card-primary .reading-type {
    color: #79d9ff;
}

.reading-card h3 {
    margin: 1.5rem 0 0.9rem;
    color: var(--ink);
    font-size: 1.35rem;
}

.reading-card p {
    color: var(--muted);
    font-size: 0.93rem;
}

.reading-card-primary h3,
.reading-card-primary p {
    color: white;
}

.reading-card-primary p {
    color: #adc0d0;
}

.read-link {
    margin-top: auto;
    color: #126f9f;
    font-size: 0.84rem;
    font-weight: 800;
}

.reading-card-primary .read-link {
    color: #83e45b;
}

.takeaway-section {
    padding: 0 0 92px;
    background: white;
}

.takeaway-card {
    display: grid;
    grid-template-columns: 1fr auto;
    gap: 3rem;
    align-items: center;
    padding: 48px;
    color: white;
    border-radius: 20px;
    background: linear-gradient(125deg, #0c2340, #0b1b31);
    box-shadow: 0 24px 60px rgba(11, 27, 49, 0.18);
}

.takeaway-card h2 {
    margin-bottom: 0.7rem;
    color: white;
    font-size: clamp(1.8rem, 3vw, 2.6rem);
}

.takeaway-card p {
    margin-bottom: 0;
    color: #bacbd8;
}

.takeaway-card strong {
    color: white;
}

.takeaway-actions {
    display: flex;
    flex-direction: column;
    gap: 0.9rem;
    align-items: center;
}

.text-link {
    color: #8cddff;
    font-size: 0.82rem;
    font-weight: 700;
    text-decoration: none;
}

.disclaimer {
    padding: 28px 0;
    color: #667786;
    border-top: 1px solid var(--line);
    background: var(--paper);
    font-size: 0.77rem;
}

.disclaimer p {
    margin: 0;
}

footer {
    padding: 46px 0;
    color: #91a7b9;
    background: #07111f;
}

.footer-inner {
    display: grid;
    grid-template-columns: auto 1fr auto;
    gap: 1.5rem 2rem;
    align-items: center;
}

.footer-brand {
    color: white;
    font-weight: 800;
    text-decoration: none;
}

.footer-inner p {
    margin: 0;
    font-size: 0.82rem;
}

.footer-links {
    display: flex;
    gap: 1rem;
}

.footer-links a {
    color: #b4c7d6;
    font-size: 0.8rem;
    text-decoration: none;
}

.copyright {
    grid-column: 1 / -1;
    padding-top: 1rem;
    border-top: 1px solid rgba(255, 255, 255, 0.09);
}

:focus-visible {
    outline: 3px solid #79d9ff;
    outline-offset: 3px;
}

@media (max-width: 900px) {
    .hero-grid,
    .agentic-grid {
        grid-template-columns: 1fr;
    }

    .control-map {
        width: min(100%, 580px);
    }

    .layer-grid,
    .reading-grid {
        grid-template-columns: 1fr;
    }

    .layer-grid article,
    .reading-card {
        min-height: 0;
    }

    .takeaway-card {
        grid-template-columns: 1fr;
    }

    .takeaway-actions {
        align-items: flex-start;
    }
}

@media (max-width: 720px) {
    .container {
        width: min(calc(100% - 30px), var(--max));
    }

    .header-inner {
        min-height: 70px;
    }

    .brand img {
        width: min(220px, 52vw);
    }

    nav > a:not(.header-cta) {
        display: none;
    }

    .header-cta {
        padding: 0.58rem 0.7rem;
        font-size: 0.76rem;
    }

    .hero {
        padding: 68px 0;
    }

    h1 {
        font-size: clamp(2.35rem, 13vw, 3.7rem);
    }

    .truth-section,
    .controls-section,
    .reading-section,
    .agentic-section {
        padding: 70px 0;
    }

    .section-heading {
        grid-template-columns: 1fr;
        gap: 1rem;
    }

    .controls-list li {
        grid-template-columns: 44px 1fr;
        gap: 14px;
        padding: 26px 4px;
    }

    .control-label {
        display: none;
    }

    .takeaway-section {
        padding-bottom: 70px;
    }

    .takeaway-card {
        width: 100%;
        padding: 38px 24px;
        border-radius: 0;
    }

    .footer-inner {
        grid-template-columns: 1fr;
    }

    .footer-links {
        grid-row: 3;
    }
}

@media (max-width: 460px) {
    .hero-actions .button {
        width: 100%;
    }

    .control-map {
        padding: 16px;
    }

    .status-dot {
        display: none;
    }

    .destination-grid {
        gap: 6px;
    }

    .destination {
        padding-inline: 5px;
    }

    .destination small {
        display: none;
    }

    .controls-list li {
        grid-template-columns: 36px 1fr;
    }
}

@media (prefers-reduced-motion: reduce) {
    html {
        scroll-behavior: auto;
    }

    *,
    *::before,
    *::after {
        scroll-behavior: auto !important;
        transition: none !important;
    }
}
