:root {
    --bg-base: #06080b;
    --bg-surface: #0b1015;
    --bg-panel: #101820;
    --bg-panel-strong: #14202b;
    --bg-ink: #030507;
    --bg-ink-soft: #0e151d;
    --teal: #21b8ad;
    --teal-strong: #65e2da;
    --blue: #72a7ff;
    --green: #6fe0a2;
    --amber: #f2b766;
    --coral: #ff816d;
    --text-primary: #f3f7fb;
    --text-muted: #b1bfcc;
    --text-dim: #7e8d9c;
    --text-inverse: #f8fbff;
    --border: #233140;
    --border-strong: #34475a;
    --shadow-soft: 0 18px 48px rgba(0, 0, 0, 0.28);
    --shadow-deep: 0 28px 80px rgba(0, 0, 0, 0.48);
    --radius: 8px;
    --font-main: Inter, -apple-system, BlinkMacSystemFont, "Segoe UI", system-ui, sans-serif;
    --font-mono: "JetBrains Mono", "SFMono-Regular", "Fira Code", "Courier New", monospace;
}

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

html {
    background: var(--bg-base);
    scroll-behavior: smooth;
}

body {
    background:
        linear-gradient(180deg, rgba(6, 8, 11, 0.96), rgba(6, 8, 11, 1) 620px),
        linear-gradient(125deg, rgba(33, 184, 173, 0.12), transparent 38%),
        var(--bg-base);
    color: var(--text-primary);
    font-family: var(--font-main);
    font-size: 16px;
    line-height: 1.6;
    min-height: 100vh;
}

body::before {
    background-image:
        linear-gradient(rgba(255, 255, 255, 0.045) 1px, transparent 1px),
        linear-gradient(90deg, rgba(255, 255, 255, 0.045) 1px, transparent 1px);
    background-size: 56px 56px;
    content: "";
    inset: 0;
    mask-image: linear-gradient(180deg, rgba(0, 0, 0, 0.48), transparent 62%);
    opacity: 0.5;
    pointer-events: none;
    position: fixed;
    z-index: -1;
}

a {
    color: var(--teal-strong);
    text-decoration: none;
    transition: color 0.18s ease, border-color 0.18s ease, background 0.18s ease, transform 0.18s ease;
}

a:hover {
    color: var(--blue);
}

img,
video {
    max-width: 100%;
}

img {
    height: auto;
}

nav {
    backdrop-filter: blur(18px);
    background: rgba(6, 8, 11, 0.86);
    border-bottom: 1px solid rgba(255, 255, 255, 0.08);
    position: sticky;
    top: 0;
    z-index: 100;
}

.nav-inner {
    align-items: center;
    display: flex;
    gap: 24px;
    height: 72px;
    justify-content: space-between;
    margin: 0 auto;
    max-width: 1240px;
    padding: 0 28px;
}

.nav-logo {
    align-items: center;
    color: var(--text-primary);
    display: inline-flex;
    font-size: 1rem;
    font-weight: 800;
    gap: 10px;
    letter-spacing: 0;
    line-height: 1;
}

.nav-logo::before {
    background: linear-gradient(135deg, var(--teal), var(--blue));
    border: 1px solid rgba(255, 255, 255, 0.18);
    border-radius: 4px;
    box-shadow: inset 0 0 0 1px rgba(255, 255, 255, 0.18);
    content: "";
    height: 28px;
    width: 28px;
}

.nav-links {
    align-items: center;
    display: flex;
    gap: 8px;
    list-style: none;
}

.nav-links a {
    border: 1px solid transparent;
    border-radius: 999px;
    color: var(--text-muted);
    display: inline-flex;
    font-size: 0.82rem;
    font-weight: 700;
    letter-spacing: 0;
    line-height: 1;
    padding: 10px 12px;
}

.nav-links a:hover,
.nav-links a.active {
    background: rgba(33, 184, 173, 0.12);
    border-color: rgba(101, 226, 218, 0.22);
    color: var(--teal-strong);
}

.hamburger {
    align-items: center;
    background: var(--bg-panel);
    border: 1px solid var(--border);
    border-radius: 8px;
    color: var(--text-primary);
    cursor: pointer;
    display: none;
    font-size: 1.3rem;
    height: 42px;
    justify-content: center;
    line-height: 1;
    width: 42px;
}

main {
    margin: 0 auto;
    max-width: 1240px;
    padding: 56px 28px 0;
}

footer {
    background: var(--bg-ink);
    border-top: 1px solid rgba(255, 255, 255, 0.08);
    margin-top: 96px;
    padding: 36px 28px;
}

.footer-inner {
    align-items: center;
    display: flex;
    flex-wrap: wrap;
    gap: 18px;
    justify-content: space-between;
    margin: 0 auto;
    max-width: 1240px;
}

.footer-text {
    color: rgba(248, 251, 255, 0.68);
    font-size: 0.84rem;
}

.footer-links {
    display: flex;
    flex-wrap: wrap;
    gap: 18px;
    list-style: none;
}

.footer-links a {
    color: rgba(248, 251, 255, 0.68);
    font-size: 0.84rem;
    font-weight: 650;
}

.footer-links a:hover {
    color: #ffffff;
}

.container {
    margin: 0 auto;
    max-width: 1240px;
    padding: 0 28px;
}

.hero {
    background:
        linear-gradient(135deg, rgba(16, 24, 32, 0.92), rgba(11, 16, 21, 0.82)),
        linear-gradient(180deg, rgba(33, 184, 173, 0.09), rgba(114, 167, 255, 0.05));
    border: 1px solid var(--border);
    border-radius: var(--radius);
    box-shadow: var(--shadow-soft);
    margin-bottom: 34px;
    overflow: hidden;
    padding: 62px 56px;
    position: relative;
    text-align: left;
}

.hero::after {
    background-image:
        linear-gradient(90deg, rgba(255, 255, 255, 0.055) 1px, transparent 1px),
        linear-gradient(rgba(255, 255, 255, 0.055) 1px, transparent 1px);
    background-size: 42px 42px;
    content: "";
    inset: 0;
    opacity: 0.38;
    pointer-events: none;
    position: absolute;
}

.hero > * {
    position: relative;
    z-index: 1;
}

.hero h1 {
    color: var(--text-primary);
    font-size: 3.4rem;
    font-weight: 800;
    letter-spacing: 0;
    line-height: 1.04;
    max-width: 920px;
}

.hero h2 {
    color: var(--text-muted);
    font-size: 1.18rem;
    font-weight: 450;
    line-height: 1.65;
    margin-top: 20px;
    max-width: 760px;
}

.hero-buttons,
.cta-group {
    align-items: center;
    display: flex;
    flex-wrap: wrap;
    gap: 12px;
    margin-top: 30px;
}

.home-hero {
    background: var(--bg-ink);
    border: 0;
    box-shadow: var(--shadow-deep);
    color: var(--text-inverse);
    margin-left: calc(50% - 50vw);
    margin-right: calc(50% - 50vw);
    min-height: 560px;
    padding: 112px max(28px, calc((100vw - 1184px) / 2)) 42px;
}

.home-hero::after {
    background:
        linear-gradient(90deg, rgba(7, 19, 28, 0.92), rgba(7, 19, 28, 0.58) 48%, rgba(7, 19, 28, 0.14)),
        linear-gradient(180deg, rgba(7, 19, 28, 0.42), rgba(7, 19, 28, 0.94));
    opacity: 1;
}

.home-hero .hero-media {
    border: 0;
    border-radius: 0;
    box-shadow: none;
    filter: saturate(0.9) contrast(1.08);
    inset: 0;
    margin: 0;
    max-width: none;
    opacity: 0.85;
    position: absolute;
    width: 100%;
    z-index: 0;
}

.home-hero .hero-media video {
    height: 100%;
    object-fit: cover;
    width: 100%;
}

.home-hero .hero-media picture,
.home-hero .hero-media img {
    display: block;
    height: 100%;
    width: 100%;
}

.home-hero .hero-media img {
    object-fit: cover;
}

.hero-kicker {
    align-items: center;
    color: rgba(248, 251, 255, 0.78);
    display: inline-flex;
    font-family: var(--font-mono);
    font-size: 0.78rem;
    font-weight: 700;
    gap: 10px;
    letter-spacing: 0;
    margin-bottom: 18px;
}

.hero-kicker::before {
    background: var(--teal);
    border-radius: 999px;
    content: "";
    height: 8px;
    width: 8px;
}

.hero-copy {
    max-width: 840px;
}

.home-hero h1 {
    color: #ffffff;
    font-size: 4.2rem;
    line-height: 0.98;
    max-width: 800px;
    text-wrap: balance;
}

.home-hero h2 {
    color: rgba(248, 251, 255, 0.76);
    font-size: 1.18rem;
    max-width: 650px;
}

.hero-proof-strip {
    align-items: stretch;
    border-top: 1px solid rgba(255, 255, 255, 0.18);
    display: grid;
    gap: 0;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    margin-top: 86px;
}

.proof-item {
    border-right: 1px solid rgba(255, 255, 255, 0.18);
    padding: 20px 24px 6px 0;
}

.proof-item:last-child {
    border-right: 0;
}

.proof-item strong {
    color: #ffffff;
    display: block;
    font-size: 1rem;
    line-height: 1.3;
    margin-bottom: 7px;
}

.proof-item span {
    color: rgba(248, 251, 255, 0.68);
    display: block;
    font-size: 0.84rem;
    line-height: 1.55;
}

.proof-section {
    margin-top: -38px;
    padding: 0 0 22px;
    position: relative;
    z-index: 2;
}

.proof-section .hero-proof-strip {
    background: rgba(16, 24, 32, 0.94);
    border: 1px solid var(--border);
    border-radius: var(--radius);
    box-shadow: var(--shadow-soft);
    margin-top: 0;
    overflow: hidden;
}

.proof-section .proof-item {
    border-right: 1px solid var(--border);
    padding: 22px;
}

.proof-section .proof-item strong {
    color: var(--text-primary);
}

.proof-section .proof-item span {
    color: var(--text-muted);
}

.btn-primary,
.btn-secondary {
    align-items: center;
    border-radius: 8px;
    cursor: pointer;
    display: inline-flex;
    font-family: var(--font-main);
    font-size: 0.95rem;
    font-weight: 800;
    justify-content: center;
    letter-spacing: 0;
    line-height: 1;
    min-height: 46px;
    padding: 14px 20px;
    text-align: center;
}

.btn-primary {
    background: var(--teal);
    border: 1px solid var(--teal);
    box-shadow: 0 12px 30px rgba(33, 184, 173, 0.22);
    color: #031111;
}

.btn-primary:hover {
    background: var(--teal-strong);
    border-color: var(--teal-strong);
    color: #031111;
    transform: translateY(-1px);
}

.btn-secondary {
    background: rgba(255, 255, 255, 0.045);
    border: 1px solid var(--border-strong);
    color: var(--text-primary);
}

.btn-secondary:hover {
    background: rgba(255, 255, 255, 0.08);
    border-color: var(--teal);
    color: var(--teal-strong);
    transform: translateY(-1px);
}

.home-hero .btn-secondary {
    background: rgba(255, 255, 255, 0.11);
    border-color: rgba(255, 255, 255, 0.28);
    color: #ffffff;
}

.home-hero .btn-secondary:hover {
    background: rgba(255, 255, 255, 0.18);
    color: #ffffff;
}

.hero-media {
    aspect-ratio: 16 / 9;
    background: var(--bg-ink);
    border: 1px solid var(--border);
    border-radius: var(--radius);
    box-shadow: var(--shadow-soft);
    margin-top: 44px;
    max-width: 1040px;
    overflow: hidden;
    width: 100%;
}

.hero-media video {
    display: block;
    height: 100%;
    object-fit: cover;
    width: 100%;
}

.section {
    padding: 56px 0;
    scroll-margin-top: 92px;
}

.visual-feature {
    align-items: center;
    display: grid;
    gap: 42px;
    grid-template-columns: minmax(0, 0.92fr) minmax(320px, 1.08fr);
}

.visual-feature-reverse {
    grid-template-columns: minmax(320px, 1.08fr) minmax(0, 0.92fr);
}

.visual-feature-reverse .visual-copy {
    order: 2;
}

.visual-feature-reverse .visual-frame {
    order: 1;
}

.visual-copy .eyebrow {
    margin-bottom: 12px;
}

.visual-copy h2 {
    color: var(--text-primary);
    font-size: 2.05rem;
    font-weight: 800;
    line-height: 1.12;
    margin-bottom: 16px;
}

.visual-copy p {
    color: var(--text-muted);
    font-size: 1rem;
    line-height: 1.72;
    max-width: 720px;
}

.visual-list {
    display: grid;
    gap: 10px;
    list-style: none;
    margin-top: 20px;
}

.visual-list li {
    color: var(--text-muted);
    font-size: 0.92rem;
    line-height: 1.55;
    padding-left: 24px;
    position: relative;
}

.visual-list li::before {
    background: var(--teal);
    border-radius: 999px;
    box-shadow: 0 0 18px rgba(33, 184, 173, 0.44);
    content: "";
    height: 7px;
    left: 2px;
    position: absolute;
    top: 10px;
    width: 7px;
}

.visual-frame,
.section-visual,
.process-visual {
    background: var(--bg-ink);
    border: 1px solid var(--border);
    border-radius: var(--radius);
    box-shadow: var(--shadow-deep);
    overflow: hidden;
}

.visual-frame picture,
.section-visual picture,
.process-visual picture {
    display: block;
}

.visual-frame img,
.section-visual img,
.process-visual img {
    aspect-ratio: 16 / 9;
    display: block;
    object-fit: cover;
    width: 100%;
}

.visual-frame figcaption,
.section-visual figcaption,
.process-visual figcaption {
    border-top: 1px solid rgba(255, 255, 255, 0.09);
    color: var(--text-muted);
    font-size: 0.82rem;
    line-height: 1.55;
    padding: 12px 14px;
}

.section-visual {
    margin: 6px 0 24px;
}

.center-cta {
    margin-top: 48px;
    text-align: center;
}

.mt-card {
    margin-top: 24px;
}

.mt-16 {
    margin-top: 16px;
}

.mt-18 {
    margin-top: 18px;
}

.list-spaced {
    margin-top: 12px;
}

.content-subhead {
    color: var(--text-primary);
    font-size: 1.05rem;
    font-weight: 800;
    line-height: 1.3;
    margin: 24px 0 12px;
}

.align-start {
    justify-content: flex-start;
}

.section-header {
    align-items: end;
    display: grid;
    gap: 14px;
    grid-template-columns: minmax(0, 0.78fr) minmax(280px, 0.52fr);
    margin-bottom: 28px;
}

.section-header h2 {
    color: var(--text-primary);
    font-size: 2.05rem;
    font-weight: 800;
    letter-spacing: 0;
    line-height: 1.12;
}

.section-header p,
.section-subtitle {
    color: var(--text-muted);
    font-size: 1rem;
    line-height: 1.65;
    max-width: 760px;
}

.home-intro {
    align-items: start;
    display: grid;
    gap: 42px;
    grid-template-columns: minmax(0, 0.98fr) minmax(320px, 0.72fr);
}

.home-intro .section-header {
    display: block;
    margin-bottom: 22px;
}

.signal-brief {
    background: var(--bg-ink);
    border-radius: var(--radius);
    box-shadow: var(--shadow-deep);
    color: var(--text-inverse);
    overflow: hidden;
}

.brief-topbar {
    align-items: center;
    background: rgba(255, 255, 255, 0.07);
    border-bottom: 1px solid rgba(255, 255, 255, 0.12);
    display: flex;
    justify-content: space-between;
    padding: 18px 20px;
}

.brief-topbar span {
    color: rgba(248, 251, 255, 0.62);
    font-family: var(--font-mono);
    font-size: 0.77rem;
}

.brief-status {
    background: rgba(29, 139, 82, 0.18);
    border: 1px solid rgba(97, 214, 157, 0.28);
    border-radius: 999px;
    color: #9ff0c2;
    font-size: 0.78rem;
    font-weight: 800;
    padding: 6px 10px;
}

.brief-body {
    padding: 24px;
}

.brief-body h3 {
    color: #ffffff;
    font-size: 1.32rem;
    line-height: 1.25;
    margin-bottom: 14px;
}

.brief-body p {
    color: rgba(248, 251, 255, 0.72);
    font-size: 0.92rem;
}

.brief-fields {
    display: grid;
    gap: 10px;
    margin-top: 22px;
}

.brief-field {
    background: rgba(255, 255, 255, 0.07);
    border: 1px solid rgba(255, 255, 255, 0.11);
    border-radius: 7px;
    padding: 12px;
}

.brief-field span {
    color: rgba(248, 251, 255, 0.52);
    display: block;
    font-size: 0.75rem;
    font-weight: 800;
    margin-bottom: 4px;
}

.brief-field strong {
    color: #ffffff;
    display: block;
    font-size: 0.92rem;
    line-height: 1.35;
}

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

.exo-grid {
    display: grid;
    gap: 14px;
    grid-template-columns: repeat(6, minmax(0, 1fr));
}

.exo-card,
.business-lane {
    background: rgba(16, 24, 32, 0.86);
    border: 1px solid var(--border);
    border-radius: var(--radius);
    box-shadow: 0 10px 32px rgba(0, 0, 0, 0.22);
    padding: 22px;
}

.exo-card {
    min-height: 250px;
}

.exo-card span,
.business-lane span {
    align-items: center;
    background: rgba(33, 184, 173, 0.12);
    border: 1px solid rgba(101, 226, 218, 0.24);
    border-radius: 999px;
    color: var(--teal-strong);
    display: inline-flex;
    font-family: var(--font-mono);
    font-size: 0.72rem;
    font-weight: 850;
    justify-content: center;
    line-height: 1;
    margin-bottom: 16px;
    min-height: 30px;
    padding: 8px 10px;
}

.exo-card h3,
.business-lane h3 {
    color: var(--text-primary);
    font-size: 1.02rem;
    font-weight: 850;
    line-height: 1.22;
    margin-bottom: 10px;
}

.exo-card p,
.business-lane p {
    color: var(--text-muted);
    font-size: 0.89rem;
    line-height: 1.58;
}

.business-grid {
    counter-reset: business-lane;
    display: grid;
    gap: 18px;
    grid-template-columns: repeat(4, minmax(0, 1fr));
}

.business-lane {
    position: relative;
}

.business-lane span {
    background: var(--bg-ink);
    border-radius: 8px;
    color: #ffffff;
    height: 34px;
    padding: 0;
    width: 34px;
}

.card-grid {
    display: grid;
    gap: 18px;
    grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
}

.card,
.panel,
.pillar,
.resource-card,
.tier-card,
.workflow-box,
.contact-form,
.contact-path,
.document-toc,
.check-item {
    background: rgba(16, 24, 32, 0.86);
    border: 1px solid var(--border);
    border-radius: var(--radius);
    box-shadow: 0 10px 32px rgba(0, 0, 0, 0.22);
}

.card,
.panel,
.pillar,
.resource-card,
.tier-card,
.workflow-box {
    padding: 24px;
}

.card {
    min-height: 100%;
    transition: border-color 0.18s ease, box-shadow 0.18s ease, transform 0.18s ease;
}

.card:hover {
    border-color: rgba(101, 226, 218, 0.44);
    box-shadow: var(--shadow-soft);
    transform: translateY(-2px);
}

.card h3,
.panel h3,
.resource-card h3,
.tier-card h3,
.workflow-box h4 {
    color: var(--text-primary);
    font-size: 1.08rem;
    font-weight: 800;
    line-height: 1.28;
    margin-bottom: 10px;
}

.card p,
.panel p,
.resource-card p,
.tier-card p,
.workflow-box p {
    color: var(--text-muted);
    font-size: 0.93rem;
    line-height: 1.65;
}

.card p + p,
.resource-card p + p,
.tier-card p + p {
    margin-top: 14px;
}

.card-tag,
.badge {
    background: rgba(33, 184, 173, 0.13);
    border: 1px solid rgba(101, 226, 218, 0.22);
    border-radius: 999px;
    color: var(--teal-strong);
    display: inline-flex;
    font-size: 0.72rem;
    font-weight: 800;
    letter-spacing: 0;
    line-height: 1;
    margin-bottom: 14px;
    padding: 7px 10px;
}

.card-tag.green,
.badge-green {
    background: rgba(111, 224, 162, 0.12);
    border-color: rgba(111, 224, 162, 0.22);
    color: var(--green);
}

.card-tag.amber,
.badge-amber {
    background: rgba(242, 183, 102, 0.12);
    border-color: rgba(242, 183, 102, 0.24);
    color: var(--amber);
}

.badge-cyan {
    background: rgba(114, 167, 255, 0.12);
    border-color: rgba(114, 167, 255, 0.24);
    color: var(--blue);
}

.sector-showcase {
    display: grid;
    gap: 18px;
    grid-template-columns: repeat(4, minmax(0, 1fr));
}

.sector-card {
    background: var(--bg-panel);
    border: 1px solid var(--border);
    border-radius: var(--radius);
    box-shadow: 0 10px 32px rgba(0, 0, 0, 0.22);
    overflow: hidden;
    transition: border-color 0.18s ease, box-shadow 0.18s ease, transform 0.18s ease;
}

.sector-card::before {
    display: none;
}

.sector-card:hover {
    border-color: rgba(101, 226, 218, 0.44);
    box-shadow: var(--shadow-soft);
    transform: translateY(-2px);
}

.sector-card img {
    display: block;
    height: 160px;
    object-fit: cover;
    width: 100%;
}

.sector-card-content {
    padding: 22px;
}

.sector-card h3 {
    color: var(--text-primary);
    font-size: 1.05rem;
    line-height: 1.24;
    margin-bottom: 8px;
}

.sector-card p {
    color: var(--text-muted);
    font-size: 0.84rem;
    line-height: 1.5;
    margin-bottom: 12px;
}

.sector-card a {
    color: var(--teal-strong);
    font-size: 0.84rem;
    font-weight: 800;
}

.process-band {
    background: var(--bg-ink);
    border-radius: var(--radius);
    box-shadow: var(--shadow-deep);
    color: var(--text-inverse);
    overflow: hidden;
    padding: 34px;
}

.process-band .section-header {
    border-bottom: 1px solid rgba(255, 255, 255, 0.14);
    margin-bottom: 0;
    padding-bottom: 24px;
}

.process-band .section-header h2 {
    color: #ffffff;
}

.process-band .section-header p {
    color: rgba(248, 251, 255, 0.68);
}

.process-band .pillar-grid {
    margin-top: 26px;
}

.process-band .process-visual {
    border-color: rgba(255, 255, 255, 0.12);
    box-shadow: none;
    margin-top: 26px;
}

.process-band .process-visual figcaption {
    color: rgba(248, 251, 255, 0.68);
}

.process-band .pillar {
    background: rgba(255, 255, 255, 0.06);
    border-color: rgba(255, 255, 255, 0.12);
    box-shadow: none;
}

.process-band .pillar h4 {
    color: #7ee7df;
}

.process-band .pillar p {
    color: rgba(248, 251, 255, 0.7);
}

.signal-table {
    border-collapse: separate;
    border-spacing: 0;
    font-size: 0.9rem;
    overflow: hidden;
    width: 100%;
}

.signal-table th,
.signal-table td {
    border-bottom: 1px solid var(--border);
    padding: 14px 16px;
    text-align: left;
    vertical-align: top;
}

.signal-table th {
    background: rgba(255, 255, 255, 0.04);
    color: var(--text-muted);
    font-size: 0.78rem;
    font-weight: 800;
    letter-spacing: 0;
}

.signal-table td {
    color: var(--text-primary);
}

.signal-table .mono,
.mono {
    font-family: var(--font-mono);
    font-size: 0.84rem;
}

.confidence-high {
    color: var(--green);
    font-weight: 800;
}

.confidence-medium {
    color: var(--amber);
    font-weight: 800;
}

.form-group {
    margin-bottom: 18px;
}

.form-group label {
    color: var(--text-muted);
    display: block;
    font-size: 0.84rem;
    font-weight: 800;
    margin-bottom: 7px;
}

.form-group input,
.form-group select,
.form-group textarea {
    background: rgba(3, 5, 7, 0.72);
    border: 1px solid var(--border);
    border-radius: 8px;
    color: var(--text-primary);
    font-family: var(--font-main);
    font-size: 0.95rem;
    padding: 12px 14px;
    transition: border-color 0.18s ease, box-shadow 0.18s ease;
    width: 100%;
}

.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
    border-color: var(--teal);
    box-shadow: 0 0 0 4px rgba(33, 184, 173, 0.14);
    outline: none;
}

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

#routing-context {
    min-height: 110px;
}

.form-group select {
    appearance: none;
    cursor: pointer;
}

.form-note {
    color: var(--text-dim);
    font-size: 0.82rem;
    margin-top: 10px;
}

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

.memory-clear {
    font-size: 0.84rem;
    min-height: 42px;
    padding: 12px 16px;
}

.contact-path-grid {
    display: grid;
    gap: 16px;
    grid-template-columns: repeat(3, minmax(0, 1fr));
}

.contact-path {
    color: var(--text-muted);
    cursor: pointer;
    font-family: var(--font-main);
    padding: 22px;
    text-align: left;
    transition: border-color 0.18s ease, box-shadow 0.18s ease, transform 0.18s ease;
}

.contact-path:hover,
.contact-path.active {
    border-color: rgba(15, 143, 134, 0.48);
    box-shadow: var(--shadow-soft);
    transform: translateY(-2px);
}

.contact-path strong {
    color: var(--text-primary);
    display: block;
    font-size: 1rem;
    line-height: 1.35;
    margin-bottom: 8px;
}

.contact-path span:last-child {
    display: block;
    font-size: 0.88rem;
    line-height: 1.55;
}

.contact-form {
    padding: 26px;
}

.quote-block {
    background: rgba(7, 19, 28, 0.04);
    border-left: 3px solid var(--teal);
    border-radius: 4px;
    color: var(--text-muted);
    font-family: var(--font-mono);
    font-size: 0.84rem;
    line-height: 1.7;
    margin: 16px 0;
    padding: 15px 18px;
}

.quote-cell {
    margin: 0;
    padding: 8px 12px;
}

.sample-title {
    margin-top: 8px;
}

.sample-meta,
.small-muted {
    color: var(--text-muted);
    font-size: 0.85rem;
    line-height: 1.7;
}

.sample-meta {
    margin-bottom: 16px;
}

.disclaimer-card {
    margin: 0 auto 32px;
    max-width: 600px;
}

.disclaimer-title {
    margin-bottom: 12px;
}

.pillar-grid {
    display: grid;
    gap: 18px;
    grid-template-columns: repeat(auto-fit, minmax(230px, 1fr));
    margin-top: 30px;
}

.pillar {
    position: relative;
}

.pillar::before {
    background: linear-gradient(180deg, var(--teal), var(--blue));
    border-radius: 999px;
    content: "";
    height: 34px;
    position: absolute;
    right: 20px;
    top: 20px;
    width: 3px;
}

.pillar h4 {
    color: var(--teal-strong);
    font-size: 0.88rem;
    font-weight: 850;
    letter-spacing: 0;
    margin-bottom: 8px;
}

.pillar p {
    color: var(--text-muted);
    font-size: 0.9rem;
    line-height: 1.62;
}

.statement {
    color: var(--text-muted);
    font-size: 1rem;
    line-height: 1.78;
    margin-bottom: 16px;
    max-width: 860px;
}

.step-list,
.module-list {
    list-style: none;
}

.step-list {
    counter-reset: step;
}

.step-list li {
    border-bottom: 1px solid var(--border);
    counter-increment: step;
    padding: 22px 0 22px 62px;
    position: relative;
}

.step-list li::before {
    align-items: center;
    background: var(--bg-ink);
    border-radius: 8px;
    color: #ffffff;
    content: counter(step);
    display: flex;
    font-family: var(--font-mono);
    font-size: 0.84rem;
    font-weight: 800;
    height: 42px;
    justify-content: center;
    left: 0;
    position: absolute;
    top: 22px;
    width: 42px;
}

.step-list li h4 {
    color: var(--text-primary);
    font-size: 1.05rem;
    margin-bottom: 6px;
}

.step-list li p {
    color: var(--text-muted);
    font-size: 0.92rem;
}

.list-clean {
    list-style: none;
    padding: 0;
}

.list-clean li {
    color: var(--text-muted);
    font-size: 0.94rem;
    line-height: 1.62;
    padding: 8px 0 8px 26px;
    position: relative;
}

.list-clean li::before {
    background: var(--teal);
    border-radius: 999px;
    content: "";
    height: 7px;
    left: 2px;
    position: absolute;
    top: 18px;
    width: 7px;
}

.divider {
    border: 0;
    border-top: 1px solid var(--border);
    margin: 28px 0;
}

.eyebrow {
    color: var(--teal-strong);
    font-family: var(--font-mono);
    font-size: 0.78rem;
    font-weight: 800;
    letter-spacing: 0;
    margin-bottom: 14px;
}

.two-column {
    align-items: start;
    display: grid;
    gap: 32px;
    grid-template-columns: minmax(0, 1.05fr) minmax(280px, 0.75fr);
}

.panel h3 {
    margin-bottom: 14px;
}

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

.metric {
    background: rgba(33, 184, 173, 0.1);
    border: 1px solid rgba(101, 226, 218, 0.2);
    border-radius: var(--radius);
    padding: 16px;
}

.metric strong {
    color: var(--text-primary);
    display: block;
    font-size: 1rem;
    margin-bottom: 4px;
}

.metric span {
    color: var(--text-muted);
    font-size: 0.82rem;
}

.cta-panel {
    align-items: center;
    background:
        linear-gradient(135deg, rgba(3, 5, 7, 0.98), rgba(14, 21, 29, 0.96)),
        var(--bg-ink);
    border: 1px solid var(--border);
    border-radius: var(--radius);
    box-shadow: var(--shadow-deep);
    display: flex;
    gap: 24px;
    justify-content: space-between;
    padding: 30px;
}

.cta-panel h2,
.cta-panel h3 {
    color: #ffffff;
    line-height: 1.15;
    margin-bottom: 8px;
}

.cta-panel p {
    color: rgba(248, 251, 255, 0.68);
    font-size: 0.94rem;
    line-height: 1.65;
    max-width: 680px;
}

.cta-panel .btn-secondary {
    background: rgba(255, 255, 255, 0.09);
    border-color: rgba(255, 255, 255, 0.2);
    color: #ffffff;
}

.cta-actions {
    display: flex;
    flex-wrap: wrap;
    gap: 12px;
    justify-content: flex-end;
}

.module-list {
    counter-reset: module;
}

.module-list li {
    border-bottom: 1px solid var(--border);
    counter-increment: module;
    display: grid;
    gap: 18px;
    grid-template-columns: 52px minmax(0, 1fr);
    padding: 22px 0;
}

.module-list li::before {
    align-items: center;
    background: var(--bg-ink);
    border-radius: 8px;
    color: #ffffff;
    content: counter(module, decimal-leading-zero);
    display: flex;
    font-family: var(--font-mono);
    font-size: 0.8rem;
    font-weight: 800;
    height: 52px;
    justify-content: center;
    width: 52px;
}

.module-list h3 {
    color: var(--text-primary);
    font-size: 1.05rem;
    margin-bottom: 6px;
}

.module-list p {
    color: var(--text-muted);
    font-size: 0.92rem;
}

.resource-card .badge,
.tier-card .badge {
    margin-bottom: 14px;
}

.tier-card {
    display: flex;
    flex-direction: column;
    gap: 16px;
}

.tier-label {
    color: var(--teal-strong);
    font-family: var(--font-mono);
    font-size: 0.78rem;
    font-weight: 800;
    letter-spacing: 0;
}

.note-panel {
    background: rgba(184, 110, 22, 0.1);
    border-left: 4px solid var(--amber);
    border-radius: 0 var(--radius) var(--radius) 0;
    color: var(--text-muted);
    font-size: 0.92rem;
    padding: 18px 20px;
}

.note-panel strong {
    color: var(--text-primary);
}

.inline-link {
    border-bottom: 1px solid rgba(101, 226, 218, 0.28);
    color: var(--teal-strong);
    font-weight: 800;
}

.inline-link:hover {
    border-color: var(--blue);
    color: var(--blue);
}

.resource-feature {
    background:
        linear-gradient(135deg, rgba(33, 184, 173, 0.14), rgba(16, 24, 32, 0.92)),
        var(--bg-panel);
    grid-column: 1 / -1;
}

.resource-actions {
    display: flex;
    flex-wrap: wrap;
    gap: 12px;
    margin-top: 18px;
}

.resource-actions a {
    font-size: 0.9rem;
}

.resource-document {
    max-width: 960px;
}

.document-cover {
    background:
        linear-gradient(135deg, rgba(7, 19, 28, 0.96), rgba(16, 36, 52, 0.96)),
        var(--bg-ink);
    border-radius: var(--radius);
    box-shadow: var(--shadow-deep);
    color: var(--text-inverse);
    margin-bottom: 36px;
    padding: 46px;
}

.document-cover h1 {
    color: #ffffff;
    font-size: 2.8rem;
    line-height: 1.08;
    margin: 12px 0 18px;
}

.document-cover p {
    color: rgba(248, 251, 255, 0.72);
    font-size: 1.05rem;
    max-width: 720px;
}

.document-cover .eyebrow {
    color: #7ee7df;
}

.document-meta {
    display: grid;
    gap: 14px;
    grid-template-columns: repeat(3, 1fr);
    margin-top: 28px;
}

.document-meta div {
    background: rgba(255, 255, 255, 0.08);
    border: 1px solid rgba(255, 255, 255, 0.13);
    border-radius: var(--radius);
    padding: 14px;
}

.document-meta strong {
    color: #ffffff;
    display: block;
    font-size: 0.9rem;
}

.document-meta span {
    color: rgba(248, 251, 255, 0.68);
    font-size: 0.82rem;
}

.document-toc {
    margin-bottom: 36px;
    padding: 24px;
}

.document-toc h2 {
    color: var(--text-primary);
    font-size: 1.15rem;
    margin-bottom: 12px;
}

.document-section {
    border-top: 1px solid var(--border);
    padding: 36px 0;
}

.document-section h2 {
    color: var(--text-primary);
    font-size: 1.45rem;
    margin-bottom: 12px;
}

.document-section h3 {
    color: var(--teal-strong);
    font-size: 0.95rem;
    letter-spacing: 0;
    margin: 24px 0 8px;
}

.document-section p {
    color: var(--text-muted);
    font-size: 0.95rem;
    margin-bottom: 12px;
}

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

.workflow-box ul {
    list-style: none;
}

.workflow-box li {
    color: var(--text-muted);
    font-size: 0.88rem;
    padding: 5px 0 5px 18px;
    position: relative;
}

.workflow-box li::before {
    background: var(--teal);
    border-radius: 999px;
    content: "";
    height: 6px;
    left: 0;
    position: absolute;
    top: 14px;
    width: 6px;
}

.checklist-grid {
    display: grid;
    gap: 12px;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    margin-top: 16px;
}

.check-item {
    color: var(--text-muted);
    font-size: 0.9rem;
    padding: 13px 14px;
}

.download-note {
    color: var(--text-dim);
    font-size: 0.82rem;
    margin-top: 10px;
}

.article-hero,
.ai-hero {
    align-items: center;
    display: grid;
    gap: 36px;
    grid-template-columns: minmax(0, 1fr) minmax(320px, 0.58fr);
}

.article-hero h1,
.ai-hero h1 {
    max-width: 780px;
}

.article-hero-copy,
.ai-hero-copy {
    max-width: 820px;
}

.article-visual,
.ai-hero-panel,
.newsletter-panel,
.model-chart-card,
.compare-panel {
    background: rgba(3, 5, 7, 0.7);
    border: 1px solid rgba(255, 255, 255, 0.12);
    border-radius: var(--radius);
    box-shadow: var(--shadow-deep);
}

.article-visual {
    overflow: hidden;
}

.article-visual img {
    aspect-ratio: 16 / 9;
    background: var(--bg-ink);
    display: block;
    filter: saturate(0.9) contrast(1.08);
    object-fit: contain;
    width: 100%;
}

.article-visual-caption {
    padding: 20px;
}

.article-visual-caption strong,
.article-visual-caption span {
    display: block;
}

.article-visual-caption strong {
    color: var(--teal-strong);
    font-family: var(--font-mono);
    font-size: 0.76rem;
    margin-bottom: 6px;
}

.article-visual-caption span {
    color: var(--text-muted);
    font-size: 0.92rem;
}

.newsletter-panel {
    align-items: center;
    display: flex;
    gap: 28px;
    justify-content: space-between;
    padding: 28px;
}

.newsletter-panel h2 {
    color: var(--text-primary);
    font-size: 1.7rem;
    line-height: 1.16;
    margin-bottom: 10px;
}

.newsletter-panel p {
    color: var(--text-muted);
    max-width: 700px;
}

.newsletter-actions {
    display: flex;
    flex-wrap: wrap;
    gap: 12px;
    justify-content: flex-end;
}

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

.article-card,
.news-card {
    background: rgba(16, 24, 32, 0.88);
    border: 1px solid var(--border);
    border-radius: var(--radius);
    box-shadow: 0 10px 32px rgba(0, 0, 0, 0.22);
    min-height: 100%;
    padding: 24px;
    transition: border-color 0.18s ease, box-shadow 0.18s ease, transform 0.18s ease;
}

.article-card:hover,
.news-card:hover {
    border-color: rgba(101, 226, 218, 0.44);
    box-shadow: var(--shadow-soft);
    transform: translateY(-2px);
}

.article-featured {
    background:
        linear-gradient(135deg, rgba(33, 184, 173, 0.14), rgba(16, 24, 32, 0.92)),
        rgba(16, 24, 32, 0.88);
    grid-column: span 2;
}

.article-meta {
    align-items: center;
    color: var(--text-dim);
    display: flex;
    flex-wrap: wrap;
    font-family: var(--font-mono);
    font-size: 0.76rem;
    font-weight: 800;
    gap: 8px 12px;
    justify-content: space-between;
    margin-bottom: 14px;
}

.article-meta span {
    color: var(--teal-strong);
}

.article-card h3,
.news-card h3 {
    color: var(--text-primary);
    font-size: 1.18rem;
    line-height: 1.25;
    margin-bottom: 12px;
}

.article-featured h3 {
    font-size: 1.55rem;
    max-width: 760px;
}

.article-card p,
.news-card p {
    color: var(--text-muted);
    font-size: 0.94rem;
    line-height: 1.7;
    margin-bottom: 16px;
}

.article-card a,
.news-card a {
    font-size: 0.88rem;
    font-weight: 850;
}

.article-page {
    max-width: 1184px;
}

.article-body {
    margin: 0 auto;
    max-width: 860px;
    padding: 28px 0 10px;
}

.article-body h2 {
    color: var(--text-primary);
    font-size: 1.72rem;
    line-height: 1.18;
    margin: 46px 0 14px;
}

.article-body p {
    color: var(--text-muted);
    font-size: 1.04rem;
    line-height: 1.82;
    margin-bottom: 18px;
}

.article-lede {
    color: var(--text-primary) !important;
    font-size: 1.22rem !important;
    line-height: 1.68 !important;
}

.article-callout,
.article-test {
    background:
        linear-gradient(135deg, rgba(33, 184, 173, 0.16), rgba(114, 167, 255, 0.08)),
        rgba(16, 24, 32, 0.9);
    border: 1px solid rgba(101, 226, 218, 0.28);
    border-radius: var(--radius);
    box-shadow: var(--shadow-soft);
    margin: 34px 0;
    padding: 24px;
}

.article-callout strong,
.article-callout span {
    display: block;
}

.article-callout strong {
    color: var(--teal-strong);
    font-family: var(--font-mono);
    font-size: 0.8rem;
    margin-bottom: 8px;
}

.article-callout span,
.article-test p {
    color: var(--text-primary);
}

.article-test h2 {
    margin-top: 0;
}

.level-grid {
    display: grid;
    gap: 14px;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    margin: 34px 0;
}

.level-card {
    background: rgba(16, 24, 32, 0.88);
    border: 1px solid var(--border);
    border-radius: var(--radius);
    padding: 20px;
}

.level-card-active {
    border-color: rgba(101, 226, 218, 0.44);
    box-shadow: 0 0 0 1px rgba(101, 226, 218, 0.14), var(--shadow-soft);
}

.level-card span {
    align-items: center;
    background: var(--bg-ink);
    border: 1px solid rgba(101, 226, 218, 0.22);
    border-radius: 8px;
    color: var(--teal-strong);
    display: inline-flex;
    font-family: var(--font-mono);
    font-size: 0.72rem;
    font-weight: 850;
    height: 32px;
    justify-content: center;
    margin-bottom: 14px;
    width: 38px;
}

.level-card h3 {
    color: var(--text-primary);
    font-size: 1rem;
    line-height: 1.22;
    margin-bottom: 8px;
}

.level-card p {
    color: var(--text-muted);
    font-size: 0.88rem;
    line-height: 1.55;
    margin-bottom: 0;
}

.article-attribution {
    border-top: 1px solid var(--border);
    color: var(--text-dim) !important;
    font-size: 0.9rem !important;
    margin-top: 46px;
    padding-top: 18px;
}

.article-process .pillar::before {
    background: linear-gradient(180deg, var(--amber), var(--teal));
}

.ai-hero {
    background:
        linear-gradient(135deg, rgba(7, 16, 23, 0.98), rgba(15, 26, 35, 0.92)),
        linear-gradient(90deg, rgba(33, 184, 173, 0.12), rgba(255, 129, 109, 0.1));
}

.ai-hero-panel {
    display: grid;
    gap: 12px;
    padding: 18px;
}

.ai-metric {
    background: rgba(255, 255, 255, 0.06);
    border: 1px solid rgba(255, 255, 255, 0.12);
    border-radius: 8px;
    padding: 16px;
}

.ai-metric span,
.ai-metric strong {
    display: block;
}

.ai-metric span {
    color: rgba(248, 251, 255, 0.58);
    font-family: var(--font-mono);
    font-size: 0.72rem;
    font-weight: 800;
    margin-bottom: 6px;
}

.ai-metric strong {
    color: #ffffff;
    font-size: 1.36rem;
    line-height: 1.1;
}

.ai-feed-status {
    color: rgba(248, 251, 255, 0.68);
    font-size: 0.82rem;
    line-height: 1.55;
    margin-top: 4px;
}

.ai-feed-status.is-stale {
    color: var(--amber);
}

.ai-source-strip {
    align-items: center;
    background: rgba(16, 24, 32, 0.72);
    border: 1px solid var(--border);
    border-radius: var(--radius);
    display: flex;
    flex-wrap: wrap;
    gap: 10px 18px;
    padding: 15px 18px;
}

.ai-source-strip span {
    color: var(--text-muted);
    font-size: 0.86rem;
}

.model-chart-card {
    overflow: hidden;
    padding: 18px;
}

.model-chart {
    min-height: 500px;
}

.chart-svg {
    display: block;
    height: auto;
    width: 100%;
}

.chart-plot-bg {
    fill: rgba(255, 255, 255, 0.035);
    stroke: rgba(255, 255, 255, 0.12);
}

.chart-grid-line {
    stroke: rgba(255, 255, 255, 0.08);
    stroke-width: 1;
}

.chart-axis {
    stroke: rgba(248, 251, 255, 0.44);
    stroke-width: 1.4;
}

.chart-axis-label,
.chart-title-label,
.chart-model-label,
.future-label,
.future-detail {
    fill: rgba(248, 251, 255, 0.72);
    font-family: var(--font-mono);
    font-size: 13px;
    font-weight: 800;
    letter-spacing: 0;
}

.chart-title-label {
    fill: rgba(248, 251, 255, 0.84);
    font-size: 15px;
}

.chart-model-label {
    fill: rgba(248, 251, 255, 0.76);
    font-size: 11px;
}

.future-marker line {
    opacity: 0.56;
    stroke-dasharray: 7 7;
    stroke-width: 1.5;
}

.future-marker circle {
    stroke: rgba(255, 255, 255, 0.7);
    stroke-width: 1.5;
}

.future-label {
    fill: #ffffff;
    font-size: 16px;
}

.future-detail {
    fill: rgba(248, 251, 255, 0.6);
    font-size: 11px;
}

.model-dot circle:not(.model-dot-halo) {
    stroke: rgba(255, 255, 255, 0.82);
    stroke-width: 1.4;
}

.model-dot-halo {
    opacity: 0.12;
}

.model-dot:focus {
    outline: none;
}

.model-dot:focus circle:not(.model-dot-halo) {
    stroke: #ffffff;
    stroke-width: 2.4;
}

.chart-legend {
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    display: flex;
    flex-wrap: wrap;
    gap: 10px 16px;
    padding-top: 14px;
}

.chart-legend span {
    align-items: center;
    color: var(--text-muted);
    display: inline-flex;
    font-size: 0.82rem;
    gap: 8px;
}

.chart-legend i {
    border-radius: 999px;
    display: inline-block;
    height: 10px;
    width: 10px;
}

.ranking-list {
    display: grid;
    gap: 10px;
}

.ranking-controls {
    align-items: center;
    background: rgba(16, 24, 32, 0.72);
    border: 1px solid var(--border);
    border-radius: var(--radius);
    display: flex;
    gap: 16px;
    justify-content: space-between;
    padding: 14px 16px;
}

.ranking-controls p {
    color: var(--text-muted);
    font-size: 0.9rem;
    line-height: 1.5;
    margin: 0;
}

.ranking-expand {
    min-height: 40px;
    white-space: nowrap;
}

.ranking-row {
    align-items: center;
    background: rgba(16, 24, 32, 0.82);
    border: 1px solid var(--border);
    border-radius: var(--radius);
    display: grid;
    gap: 14px;
    grid-template-columns: 64px minmax(220px, 1fr) 104px 104px minmax(220px, 1fr) 150px;
    padding: 14px;
}

.ranking-row.is-expanded {
    border-color: rgba(101, 226, 218, 0.44);
}

.rank-cell {
    align-items: center;
    background: rgba(33, 184, 173, 0.12);
    border: 1px solid rgba(101, 226, 218, 0.24);
    border-radius: 8px;
    color: var(--teal-strong);
    display: flex;
    font-family: var(--font-mono);
    font-weight: 900;
    height: 48px;
    justify-content: center;
}

.model-detail-button {
    background: transparent;
    border: 0;
    cursor: pointer;
    font-family: var(--font-main);
    padding: 0;
    text-align: left;
}

.model-detail-button:hover strong,
.model-detail-button:focus-visible strong {
    color: var(--teal-strong);
}

.model-detail-button:focus-visible,
.small-action:focus-visible {
    outline: 2px solid var(--teal-strong);
    outline-offset: 3px;
}

.model-name-cell strong,
.score-cell strong,
.context-cell strong {
    color: var(--text-primary);
    display: block;
    font-size: 0.98rem;
    line-height: 1.24;
}

.model-name-cell span,
.score-cell span,
.context-cell span,
.signal-cell span {
    color: var(--text-dim);
    display: block;
    font-size: 0.78rem;
    line-height: 1.45;
    margin-top: 4px;
}

.model-name-cell span {
    text-align: left;
}

.score-cell strong {
    color: var(--amber);
    font-family: var(--font-mono);
    font-size: 1.22rem;
}

.context-cell strong {
    color: var(--blue);
    font-family: var(--font-mono);
}

.signal-cell p {
    color: var(--text-muted);
    font-size: 0.86rem;
    line-height: 1.5;
    margin: 0;
}

.model-actions {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    justify-content: flex-end;
}

.small-action {
    align-items: center;
    background: rgba(255, 255, 255, 0.055);
    border: 1px solid var(--border-strong);
    border-radius: 8px;
    color: var(--text-primary);
    cursor: pointer;
    display: inline-flex;
    font-family: var(--font-main);
    font-size: 0.78rem;
    font-weight: 850;
    justify-content: center;
    line-height: 1;
    min-height: 34px;
    padding: 9px 11px;
    transition: background 0.18s ease, border-color 0.18s ease, color 0.18s ease;
}

.small-action:hover {
    background: rgba(255, 255, 255, 0.09);
    border-color: var(--teal);
    color: var(--teal-strong);
}

.small-action:disabled {
    color: var(--text-dim);
    cursor: not-allowed;
    opacity: 0.55;
}

.compare-action.is-selected {
    background: rgba(33, 184, 173, 0.16);
    border-color: rgba(101, 226, 218, 0.36);
    color: var(--teal-strong);
}

.model-details {
    background: rgba(3, 5, 7, 0.42);
    border: 1px solid rgba(255, 255, 255, 0.09);
    border-radius: 8px;
    grid-column: 2 / -1;
    padding: 16px;
}

.detail-grid {
    display: grid;
    gap: 12px;
    grid-template-columns: repeat(4, minmax(0, 1fr));
}

.detail-grid div {
    background: rgba(255, 255, 255, 0.045);
    border: 1px solid rgba(255, 255, 255, 0.08);
    border-radius: 8px;
    padding: 12px;
}

.detail-grid span {
    color: var(--text-dim);
    display: block;
    font-family: var(--font-mono);
    font-size: 0.7rem;
    font-weight: 800;
    margin-bottom: 6px;
}

.detail-grid strong {
    color: var(--text-primary);
    display: block;
    font-size: 0.86rem;
    line-height: 1.45;
}

.compare-panel {
    margin-bottom: 18px;
    padding: 22px;
}

.compare-panel-top {
    align-items: start;
    display: flex;
    gap: 20px;
    justify-content: space-between;
}

.compare-panel h3 {
    color: var(--text-primary);
    font-size: 1.22rem;
    line-height: 1.2;
    margin-bottom: 8px;
}

.compare-panel p,
.compare-empty,
.compare-message {
    color: var(--text-muted);
    font-size: 0.9rem;
    line-height: 1.6;
}

.compare-actions {
    align-items: center;
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    justify-content: flex-end;
}

.compare-count {
    background: rgba(33, 184, 173, 0.13);
    border: 1px solid rgba(101, 226, 218, 0.22);
    border-radius: 999px;
    color: var(--teal-strong);
    font-family: var(--font-mono);
    font-size: 0.76rem;
    font-weight: 850;
    line-height: 1;
    padding: 9px 11px;
    white-space: nowrap;
}

.compare-message {
    background: rgba(242, 183, 102, 0.1);
    border: 1px solid rgba(242, 183, 102, 0.24);
    border-radius: 8px;
    color: var(--amber);
    margin-top: 14px;
    padding: 10px 12px;
}

.compare-table-wrap {
    margin-top: 16px;
    overflow-x: auto;
}

.compare-table {
    border-collapse: separate;
    border-spacing: 0;
    min-width: 760px;
    width: 100%;
}

.compare-table th,
.compare-table td {
    border-bottom: 1px solid var(--border);
    color: var(--text-muted);
    font-size: 0.86rem;
    line-height: 1.45;
    padding: 12px;
    text-align: left;
    vertical-align: top;
}

.compare-table th {
    color: var(--text-primary);
    font-family: var(--font-mono);
    font-size: 0.76rem;
    width: 140px;
}

.compare-table td {
    min-width: 160px;
}

.compare-table a {
    font-weight: 850;
}

.news-grid {
    display: grid;
    gap: 18px;
    grid-template-columns: repeat(4, minmax(0, 1fr));
}

.news-archive {
    display: grid;
    gap: 14px;
}

.archive-month {
    background: rgba(16, 24, 32, 0.78);
    border: 1px solid var(--border);
    border-radius: var(--radius);
    overflow: hidden;
}

.archive-month summary {
    align-items: center;
    color: var(--text-primary);
    cursor: pointer;
    display: flex;
    font-family: var(--font-display);
    font-size: 1.02rem;
    font-weight: 850;
    justify-content: space-between;
    list-style: none;
    padding: 18px 20px;
}

.archive-month summary::-webkit-details-marker {
    display: none;
}

.archive-month summary strong {
    color: var(--text-dim);
    font-family: var(--font-mono);
    font-size: 0.76rem;
}

.archive-list {
    border-top: 1px solid var(--border);
    display: grid;
    gap: 0;
}

.archive-story {
    padding: 18px 20px;
}

.archive-story + .archive-story {
    border-top: 1px solid rgba(143, 163, 179, 0.16);
}

.archive-story h3 {
    color: var(--text-primary);
    font-size: 1rem;
    line-height: 1.32;
    margin-bottom: 8px;
}

.archive-story p {
    color: var(--text-muted);
    font-size: 0.9rem;
    line-height: 1.65;
    margin-bottom: 10px;
}

.pdf-only {
    display: none;
}

@media print {
    @page {
        margin: 0.45in;
        size: Letter;
    }

    nav,
    footer,
    .hero-buttons,
    .cta-panel,
    .web-only {
        display: none;
    }

    body {
        background: #ffffff;
        color: #111827;
    }

    body::before {
        display: none;
    }

    main,
    .resource-document {
        max-width: none;
        padding: 0;
    }

    .document-cover {
        background: #07131c;
        border: 1px solid #1f2f3d;
        color: #f8fbff;
        margin-bottom: 0.32in;
        padding: 0.55in;
        page-break-after: always;
    }

    .document-cover h1 {
        color: #f8fbff;
        font-size: 34pt;
        line-height: 1.08;
        margin: 0.15in 0;
    }

    .document-cover p {
        color: #d8e2ec;
        font-size: 13pt;
    }

    .document-cover .eyebrow,
    .pdf-final-cta .eyebrow {
        color: #51d6ce;
    }

    .document-meta div {
        background: #102434;
        border-color: #2a3a4a;
    }

    .document-meta strong {
        color: #f8fbff;
    }

    .document-meta span {
        color: #d8e2ec;
    }

    .document-toc,
    .workflow-box,
    .check-item,
    .note-panel {
        background: #ffffff;
        border-color: #cbd5e1;
        color: #111827;
    }

    .document-section h2,
    .document-toc h2,
    .workflow-box h4,
    .note-panel strong {
        color: #111827;
    }

    .document-section p,
    .workflow-box p,
    .workflow-box li,
    .check-item,
    .list-clean li,
    .statement {
        color: #374151;
    }

    .document-section {
        border-top-color: #cbd5e1;
        break-inside: auto;
        page-break-inside: auto;
        padding: 0.26in 0;
    }

    .workflow-section {
        break-before: page;
        page-break-before: always;
    }

    .workflow-grid,
    .checklist-grid {
        break-inside: avoid;
        page-break-inside: avoid;
    }

    .step-group,
    .step-list li {
        break-inside: avoid;
        page-break-inside: avoid;
    }

    .step-list li h4 {
        break-after: avoid;
        page-break-after: avoid;
    }

    .pdf-only {
        display: block;
    }

    .pdf-final-cta {
        background: #07131c;
        color: #f8fbff;
        min-height: 8.6in;
        padding: 0.8in;
        page-break-before: always;
    }

    .pdf-final-cta h2 {
        color: #f8fbff;
        font-size: 26pt;
        line-height: 1.15;
        margin: 0.2in 0;
        max-width: 6.2in;
    }

    .pdf-final-cta p {
        color: #d8e2ec;
        font-size: 13pt;
        max-width: 6.2in;
    }

    .pdf-final-cta .pdf-contact {
        border-top: 1px solid #2a3a4a;
        color: #51d6ce;
        font-family: var(--font-mono);
        margin-top: 0.55in;
        padding-top: 0.22in;
    }

    .pdf-final-cta .pdf-version {
        color: #a8b5c2;
        font-size: 9pt;
        margin-top: 0.4in;
    }
}

@media (max-width: 1040px) {
    .nav-inner {
        height: auto;
        min-height: 72px;
    }

    .nav-links {
        gap: 4px;
    }

    .nav-links a {
        font-size: 0.78rem;
        padding: 9px 8px;
    }

    .home-hero h1 {
        font-size: 3.45rem;
    }

    .hero-proof-strip,
    .exo-grid,
    .business-grid,
    .sector-showcase {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }

    .proof-item:nth-child(2) {
        border-right: 0;
    }

    .delivery-grid,
    .home-intro,
    .visual-feature,
    .visual-feature-reverse,
    .article-hero,
    .ai-hero,
    .newsletter-panel {
        grid-template-columns: 1fr;
    }

    .visual-feature-reverse .visual-copy,
    .visual-feature-reverse .visual-frame {
        order: initial;
    }

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

    .article-featured {
        grid-column: span 2;
    }

    .ranking-row {
        align-items: start;
        grid-template-columns: 56px minmax(220px, 1fr) 88px 88px;
    }

    .signal-cell,
    .model-actions,
    .model-details {
        grid-column: 2 / -1;
    }

    .model-actions {
        justify-content: flex-start;
    }

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

@media (max-width: 768px) {
    body {
        font-size: 15px;
    }

    .nav-inner {
        min-height: 64px;
        padding: 0 18px;
    }

    .nav-links {
        background: rgba(6, 8, 11, 0.98);
        border-bottom: 1px solid var(--border);
        display: none;
        flex-direction: column;
        gap: 8px;
        left: 0;
        padding: 16px 18px 20px;
        position: absolute;
        right: 0;
        top: 64px;
    }

    .nav-links.open {
        display: flex;
    }

    .nav-links a {
        justify-content: center;
        padding: 12px;
        width: 100%;
    }

    .hamburger {
        display: inline-flex;
    }

    main {
        padding: 28px 18px 0;
    }

    .hero {
        padding: 38px 24px;
    }

    .hero h1,
    .home-hero h1 {
        font-size: 2.25rem;
        line-height: 1.08;
        overflow-wrap: anywhere;
    }

    .hero h2,
    .home-hero h2 {
        font-size: 1rem;
        overflow-wrap: anywhere;
    }

    .home-hero {
        margin-left: -18px;
        margin-right: -18px;
        min-height: 640px;
        padding: 86px 18px 28px;
    }

    .hero-buttons,
    .cta-group {
        align-items: stretch;
        flex-direction: column;
    }

    .hero-buttons a,
    .cta-group a,
    .cta-actions a,
    .form-actions a,
    .form-actions button {
        width: 100%;
    }

    .hero-proof-strip,
    .sector-showcase {
        grid-template-columns: 1fr;
        margin-top: 52px;
    }

    .proof-item,
    .proof-item:nth-child(2) {
        border-right: 0;
        border-bottom: 1px solid rgba(255, 255, 255, 0.18);
        padding: 16px 0;
    }

    .proof-item:last-child {
        border-bottom: 0;
    }

    .proof-section .proof-item,
    .proof-section .proof-item:nth-child(2) {
        border-bottom: 1px solid var(--border);
        padding: 18px;
    }

    .proof-section .proof-item:last-child {
        border-bottom: 0;
    }

    .hero-media {
        margin-top: 30px;
    }

    .section {
        padding: 38px 0;
    }

    .visual-feature {
        gap: 26px;
    }

    .visual-copy h2 {
        font-size: 1.65rem;
    }

    .section-header,
    .two-column,
    .metric-row,
    .contact-path-grid,
    .document-meta,
    .workflow-grid,
    .checklist-grid,
    .article-grid,
    .news-grid {
        grid-template-columns: 1fr;
    }

    .section-header h2 {
        font-size: 1.65rem;
    }

    .card-grid,
    .exo-grid,
    .business-grid,
    .level-grid,
    .delivery-grid {
        grid-template-columns: 1fr;
    }

    .card,
    .exo-card,
    .business-lane,
    .panel,
    .pillar,
    .resource-card,
    .tier-card,
    .workflow-box,
    .contact-form {
        padding: 20px;
    }

    .process-band,
    .cta-panel,
    .document-cover,
    .newsletter-panel,
    .model-chart-card,
    .compare-panel {
        padding: 24px;
    }

    .cta-panel,
    .newsletter-panel {
        align-items: stretch;
        flex-direction: column;
    }

    .cta-actions,
    .newsletter-actions {
        justify-content: stretch;
        width: 100%;
    }

    .article-featured {
        grid-column: span 1;
    }

    .article-featured h3 {
        font-size: 1.24rem;
    }

    .article-visual img {
        aspect-ratio: 16 / 10;
    }

    .model-chart {
        min-height: 300px;
        overflow-x: auto;
    }

    .chart-svg {
        min-width: 760px;
    }

    .ranking-controls,
    .compare-panel-top {
        align-items: stretch;
        flex-direction: column;
    }

    .ranking-expand,
    .model-actions .small-action,
    .compare-actions .small-action {
        width: 100%;
    }

    .compare-actions {
        justify-content: stretch;
    }

    .ranking-row {
        grid-template-columns: 48px minmax(0, 1fr);
    }

    .rank-cell {
        height: 42px;
    }

    .score-cell,
    .context-cell,
    .signal-cell,
    .model-actions,
    .model-details {
        grid-column: 2 / -1;
    }

    .model-actions {
        justify-content: stretch;
    }

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

    .footer-inner {
        flex-direction: column;
        text-align: center;
    }

    .footer-links {
        justify-content: center;
    }

    .signal-table {
        display: block;
        overflow-x: auto;
        white-space: normal;
    }

    .signal-table th,
    .signal-table td {
        padding: 10px 12px;
    }

    .module-list li {
        gap: 14px;
        grid-template-columns: 42px minmax(0, 1fr);
    }

    .module-list li::before {
        height: 42px;
        width: 42px;
    }

    .document-cover h1 {
        font-size: 2rem;
    }
}
