/* Reset & Base */
* { margin: 0; padding: 0; box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
    font-family: 'Inter Tight', sans-serif;
    background-color: #ffffff;
    color: #505050;
    font-size: 16px;
    font-weight: 400;
    letter-spacing: -0.03em;
    line-height: 1.5;
    overflow-x: hidden;
}

/* Typography */
h1 {
    font-size: clamp(2.8rem, 5vw, 3.5rem);
    font-weight: 500;
    letter-spacing: -0.03em;
    line-height: 1.15;
    color: #161616;
}
h2 {
    font-size: clamp(1.75rem, 3vw, 2.25rem);
    font-weight: 500;
    letter-spacing: -0.03em;
    line-height: 1.25;
    color: #161616;
}
h3 {
    font-size: 1.25rem;
    font-weight: 500;
    letter-spacing: -0.03em;
    line-height: 1.25;
    color: #161616;
}
h4 {
    font-size: 1.125rem;
    font-weight: 500;
    color: #161616;
}
.eyebrow {
    font-size: 12px;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.15em;
    color: #808080;
    margin-bottom: 16px;
    display: block;
}

/* Container & Sections */
.container {
    max-width: 1186px;
    margin: 0 auto;
    padding: 0 24px;
}
section {
    padding: 120px 0;
}
section.dark {
    background-color: #161616;
    color: #ffffff;
}
section.dark h1, section.dark h2, section.dark h3, section.dark h4 {
    color: #ffffff;
}

/* Navbar */
nav {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    height: 96px;
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(10px);
    z-index: 1000;
    border-bottom: 1px solid #e3e3e3;
}
nav.scrolled { box-shadow: 0 2px 8px rgba(0, 0, 0, 0.05); }
.nav-container {
    display: flex;
    align-items: center;
    justify-content: space-between;
    height: 100%;
    max-width: 1280px;
    margin: 0 auto;
    padding: 0 48px;
}
.logo {
    display: flex;
    align-items: center;
    gap: 12px;
    text-decoration: none;
    color: #161616;
    font-weight: 600;
    font-size: 18px;
    text-transform: uppercase;
    letter-spacing: 0.05em;
}
.logo-mark {
    width: 42px;
    height: 42px;
    display: flex;
    align-items: center;
    justify-content: center;
}
.logo-img {
    height: 72px;
    width: auto;
    display: block;
    transition: opacity 0.15s ease;
    /* Compensate for ~4px of unequal vertical padding inside Qontos_Logo.png
       (top pad 183px vs bottom pad 108px in the 650px-tall asset) so the
       visible logo art sits on the same baseline as the uppercase menu text. */
    transform: translateY(-4px);
}
.logo:hover .logo-img { opacity: 0.7; }
.logo-img.on-dark {
    filter: brightness(0) invert(1);
}
.nav-links {
    display: flex;
    gap: 32px;
    align-items: center;
    flex: 1;
    justify-content: center;
}
.nav-links a {
    text-decoration: none;
    color: #161616;
    font-size: 14px;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    transition: color 0.3s ease;
    position: relative;
    padding: 6px 0;
    line-height: 1;
    border-bottom: 2px solid transparent;
    display: inline-flex;
    align-items: center;
}
.nav-links a:hover { color: #505050; }
.nav-links a.active {
    border-bottom-color: #161616;
}
.nav-cta { margin-left: auto; }

/* Buttons */
.btn {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 16px 32px;
    font-size: 14px;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    border: none;
    border-radius: 0;
    cursor: pointer;
    text-decoration: none;
    transition: all 0.3s ease;
    font-family: 'Inter Tight', sans-serif;
}
.btn-primary {
    background-color: #161616;
    color: #ffffff;
    border: 1px solid #161616;
}
.btn-primary:hover {
    background-color: #ffffff;
    color: #161616;
}
.btn-secondary {
    background-color: transparent;
    color: #161616;
    border: 1px solid #e3e3e3;
}
.btn-secondary:hover {
    background-color: #f5f5f5;
    border-color: #505050;
}
.btn-light {
    background-color: #ffffff;
    color: #161616;
    border: 1px solid #ffffff;
}
.btn-light:hover {
    background-color: #f5f5f5;
    border-color: #f5f5f5;
}
.btn::after { content: '>'; }

/* Hero */
.hero {
    padding: 72px 0 140px;
    position: relative;
    overflow: hidden;
    margin-top: 96px;
}
.hero-banner {
    padding: 120px 0 60px;
    position: relative;
    overflow: hidden;
    margin-top: 96px;
    background-color: #f5f5f5;
}
.hero-canvas-full {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 0;
    pointer-events: none;
}
.hero-content {
    text-align: center;
    position: relative;
    z-index: 2;
}
.hero h1 { margin-bottom: 24px; }
.hero-subtext {
    font-size: 18px;
    max-width: 700px;
    margin: 0 auto 48px;
    line-height: 1.6;
}
.hero-cta { margin-bottom: 80px; }

/* Stats Grid */
.stats-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 32px;
    margin-top: 80px;
    position: relative;
    z-index: 2;
}
.stat-item { text-align: center; }
.stat-value {
    font-size: 2.5rem;
    font-weight: 700;
    color: #161616;
    margin-bottom: 8px;
}
.stat-label {
    font-size: 13px;
    color: #808080;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    font-weight: 500;
}

/* Grids */
.grid-2 {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 48px;
    align-items: start;
}
.grid-3 {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 32px;
}
.grid-4 {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
    gap: 32px;
}

/* Cards */
.card {
    background-color: #ffffff;
    border: 1px solid #e3e3e3;
    border-radius: 0;
    padding: 32px 24px;
    transition: all 0.3s ease;
}
.card:hover {
    border-color: #505050;
}
.card h3 { margin-bottom: 16px; }
.card p { font-size: 15px; margin-bottom: 16px; }
.card-icon {
    width: 48px;
    height: 48px;
    background-color: #f5f5f5;
    border: 1px solid #e3e3e3;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 24px;
    font-weight: 600;
    color: #161616;
    font-size: 20px;
}

/* Accordion */
.accordion { border-bottom: 1px solid #e3e3e3; }
.accordion-item {
    padding: 24px 0;
    border-bottom: 1px solid #e3e3e3;
}
.accordion-item:last-child { border-bottom: none; }
.accordion-header {
    display: flex;
    align-items: center;
    gap: 16px;
    cursor: pointer;
    justify-content: space-between;
    padding: 8px 0;
}
.accordion-icon {
    width: 40px;
    height: 40px;
    background-color: #f5f5f5;
    border: 1px solid #e3e3e3;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
    font-weight: 600;
    color: #161616;
}
.accordion-title {
    font-size: 18px;
    font-weight: 500;
    color: #161616;
    flex: 1;
}
.accordion-toggle {
    width: 24px;
    height: 24px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #505050;
    transition: transform 0.3s ease;
    flex-shrink: 0;
}
.accordion-item.open .accordion-toggle { transform: rotate(90deg); }
.accordion-content {
    display: none;
    padding: 24px 0 24px 56px;
    animation: slideDown 0.3s ease;
}
.accordion-item.open .accordion-content { display: block; }
@keyframes slideDown {
    from { opacity: 0; transform: translateY(-10px); }
    to { opacity: 1; transform: translateY(0); }
}

/* Product Cards */
.product-card {
    border: 1px solid #e3e3e3;
    padding: 32px 24px;
    border-radius: 0;
}
.product-badge {
    display: inline-block;
    background-color: #f5f5f5;
    color: #505050;
    padding: 6px 12px;
    font-size: 11px;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    margin-bottom: 16px;
}
.product-name {
    font-size: 1.5rem;
    font-weight: 600;
    color: #161616;
    margin-bottom: 8px;
}
.product-codename {
    font-size: 13px;
    color: #808080;
    text-transform: uppercase;
    font-weight: 500;
    margin-bottom: 16px;
}
.product-description {
    font-size: 15px;
    color: #505050;
    margin-bottom: 24px;
    line-height: 1.6;
}
.product-specs {
    list-style: none;
    margin-bottom: 24px;
}
.product-specs li {
    font-size: 13px;
    color: #808080;
    padding: 8px 0;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    font-weight: 500;
}
.product-timeline {
    font-size: 13px;
    color: #505050;
    padding-top: 16px;
    border-top: 1px solid #e3e3e3;
}

/* Bento Grid */
.bento-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 32px;
}
.bento-item {
    background-color: #f5f5f5;
    border: 1px solid #e3e3e3;
    padding: 32px 24px;
    text-align: center;
    border-radius: 0;
}
.bento-value {
    font-size: 2.2rem;
    font-weight: 700;
    color: #161616;
    margin-bottom: 8px;
}
.bento-label {
    font-size: 13px;
    color: #808080;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    font-weight: 500;
}

/* Code Block */
.code-block {
    background-color: #1a1a1a;
    color: #e0e0e0;
    padding: 24px;
    border-radius: 0;
    overflow-x: auto;
    font-family: 'JetBrains Mono', monospace;
    font-size: 13px;
    line-height: 1.6;
    border: 1px solid #333;
}
.code-block code { color: #e0e0e0; }

/* Timeline */
.timeline {
    position: relative;
    padding: 40px 0;
}
.timeline::before {
    content: '';
    position: absolute;
    left: 50%;
    top: 0;
    bottom: 0;
    width: 1px;
    background-color: #e3e3e3;
    transform: translateX(-50%);
}
.timeline-item {
    margin-bottom: 60px;
    position: relative;
}
.timeline-item:nth-child(odd) {
    margin-left: 0;
    text-align: right;
    padding-right: 50%;
    padding-left: 0;
}
.timeline-item:nth-child(even) {
    margin-left: 50%;
    text-align: left;
    padding-left: 50px;
}
.timeline-dot {
    position: absolute;
    width: 16px;
    height: 16px;
    background-color: #ffffff;
    border: 2px solid #161616;
    border-radius: 50%;
    top: 12px;
    left: 50%;
    transform: translateX(-50%);
    z-index: 10;
}
.timeline-content {
    background-color: #f5f5f5;
    padding: 24px;
    border: 1px solid #e3e3e3;
    border-radius: 0;
}
.timeline-content h4 { margin-bottom: 8px; }
.timeline-content p {
    font-size: 14px;
    color: #505050;
}

/* Browser Mockup */
.browser-mockup {
    background-color: #1a1a1a;
    border: 1px solid #333;
    border-radius: 0;
    overflow: hidden;
}
.browser-header {
    background-color: #262626;
    height: 40px;
    display: flex;
    align-items: center;
    padding: 0 16px;
    gap: 8px;
    border-bottom: 1px solid #333;
}
.browser-dot {
    width: 12px;
    height: 12px;
    border-radius: 50%;
    background-color: #505050;
}
.browser-content {
    padding: 32px;
    background-color: #f5f5f5;
    min-height: 300px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #808080;
    font-size: 14px;
}

/* Dark Section */
.dark-section-canvas {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 0;
}
.dark-content {
    position: relative;
    z-index: 1;
}

/* Newsletter */
.newsletter-input {
    display: flex;
    gap: 8px;
    margin: 24px 0;
}
.newsletter-input input {
    flex: 1;
    padding: 12px 16px;
    border: 1px solid #e3e3e3;
    border-radius: 0;
    font-family: 'Inter Tight', sans-serif;
    font-size: 14px;
    background-color: #ffffff;
}
.newsletter-input button {
    padding: 12px 24px;
    background-color: #161616;
    color: #ffffff;
    border: 1px solid #161616;
    border-radius: 0;
    cursor: pointer;
    font-family: 'Inter Tight', sans-serif;
    font-size: 14px;
    font-weight: 600;
    text-transform: uppercase;
}

/* Footer */
footer {
    background-color: #161616;
    color: #ffffff;
}
.footer-top-bar {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 32px 0;
    border-bottom: 1px solid #333;
}
.footer-content {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 48px;
    padding: 48px 0;
}
.footer-column h4 {
    color: #ffffff;
    margin-bottom: 24px;
}
.footer-column p {
    font-size: 14px;
    margin-bottom: 16px;
    line-height: 1.6;
}
.footer-links {
    list-style: none;
}
.footer-links li {
    margin-bottom: 16px;
}
.footer-links a {
    text-decoration: none;
    color: #ffffff;
    font-size: 14px;
    display: flex;
    align-items: center;
    gap: 8px;
    transition: color 0.3s ease;
}
.footer-links a:hover { color: #808080; }
.footer-links a::after {
    content: '>';
    margin-left: auto;
}
.contact-row {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 32px;
    padding: 32px 0;
    border-top: 1px solid #333;
    border-bottom: 1px solid #333;
    margin-bottom: 32px;
}
.contact-item {
    display: flex;
    align-items: flex-start;
    gap: 16px;
}
.contact-icon {
    width: 40px;
    height: 40px;
    background-color: #262626;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
    border: 1px solid #333;
}
.contact-info h5 {
    font-size: 12px;
    color: #808080;
    text-transform: uppercase;
    font-weight: 600;
    margin-bottom: 4px;
}
.contact-info p {
    font-size: 14px;
    color: #ffffff;
}
.footer-bottom {
    padding: 24px 0;
    text-align: center;
    border-top: 1px solid #333;
    font-size: 13px;
    color: #808080;
}

/* FAQ */
.faq-item {
    border-bottom: 1px solid #e3e3e3;
    padding: 24px 0;
}
.faq-item:last-child { border-bottom: none; }
.faq-question {
    display: flex;
    align-items: center;
    justify-content: space-between;
    cursor: pointer;
    padding: 8px 0;
}
.faq-question h4 {
    flex: 1;
    color: #161616;
}
.faq-toggle {
    width: 24px;
    height: 24px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #505050;
    transition: transform 0.3s ease;
    flex-shrink: 0;
}
.faq-item.open .faq-toggle { transform: rotate(90deg); }
.faq-answer {
    display: none;
    padding: 16px 0 0 0;
    animation: slideDown 0.3s ease;
}
.faq-item.open .faq-answer { display: block; }

/* Misc */
.section-light { background-color: #f5f5f5; }
.two-col {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 48px;
    align-items: start;
}

/* Form Styles */
.form-group {
    margin-bottom: 24px;
}
.form-group label {
    display: block;
    font-size: 14px;
    font-weight: 600;
    margin-bottom: 8px;
    color: #161616;
}
.form-group input,
.form-group textarea,
.form-group select {
    width: 100%;
    padding: 12px 16px;
    border: 1px solid #e3e3e3;
    border-radius: 0;
    font-family: 'Inter Tight', sans-serif;
    font-size: 14px;
    background-color: #ffffff;
    color: #161616;
}
.form-group textarea {
    resize: vertical;
    min-height: 120px;
}
.form-group input:focus,
.form-group textarea:focus,
.form-group select:focus {
    outline: none;
    border-color: #505050;
}

/* Responsive */
@media (max-width: 1024px) {
    .nav-links { gap: 16px; }
    .hero { padding: 60px 0 80px; }
    .stats-grid { grid-template-columns: repeat(2, 1fr); }
    .timeline::before { display: none; }
    .timeline-item {
        text-align: left;
        padding-right: 0;
        padding-left: 0;
        margin-left: 0;
    }
    .timeline-item:nth-child(odd) { padding-right: 0; }
    .timeline-item:nth-child(even) {
        margin-left: 0;
        padding-left: 0;
    }
    .timeline-dot {
        left: 0;
        transform: translateX(0);
    }
    .two-col { grid-template-columns: 1fr; }
}

@media (max-width: 768px) {
    .nav-container { width: 100%; max-width: 100%; padding: 0 16px; }
    .nav-links { display: none; }
    .nav-cta { margin-left: auto; }
    .logo-img { height: 54px; max-width: 124px; }
    .nav-cta .btn { padding: 10px 12px; font-size: 10px; white-space: nowrap; }
    .btn {
        padding: 12px 20px;
        font-size: 12px;
    }
    .hero { padding: 48px 0 60px; }
    .hero h1 { font-size: 2rem; }
    .hero-subtext { font-size: 16px; }
    .stats-grid { grid-template-columns: 1fr; }
    .grid-2, .grid-3, .grid-4 {
        grid-template-columns: 1fr;
        gap: 24px;
    }
    section { padding: 80px 0; }
    .accordion-content { padding: 16px 0 16px 0; }
    .accordion-icon { display: none; }
    .footer-content {
        grid-template-columns: 1fr;
        gap: 32px;
    }
    .contact-row { grid-template-columns: 1fr; }
    .newsletter-input { flex-direction: column; }
    .footer-top-bar {
        flex-direction: column;
        gap: 16px;
        text-align: center;
    }
    h1 { font-size: 2rem; }
    h2 { font-size: 1.5rem; }
}

/* Animations */
.fade-in {
    opacity: 0;
    animation: fadeIn 0.8s ease forwards;
}
@keyframes fadeIn {
    to { opacity: 1; }
}
.slide-in-left {
    opacity: 0;
    transform: translateX(-30px);
    animation: slideInLeft 0.8s ease forwards;
}
@keyframes slideInLeft {
    to {
        opacity: 1;
        transform: translateX(0);
    }
}
.slide-in-right {
    opacity: 0;
    transform: translateX(30px);
    animation: slideInRight 0.8s ease forwards;
}
@keyframes slideInRight {
    to {
        opacity: 1;
        transform: translateX(0);
    }
}
.count-up { font-variant-numeric: tabular-nums; }

/* ===========================================================
   Engineering-paper module — whitepaper-aligned treatment for
   the deeper technical pages. Hairline rules, monospace marks,
   generous whitespace, parameter tables, status pills, figures.
   =========================================================== */
.wp-page {
    background-color: #ffffff;
    color: #1a1a1a;
}
.wp-page h1, .wp-page h2, .wp-page h3, .wp-page h4 {
    color: #111111;
    letter-spacing: -0.02em;
}
.wp-page .container { max-width: 1280px; padding: 0 48px; }
.wp-section { padding: 96px 0; border-top: 1px solid #e3e3e3; }
.wp-section:first-of-type { border-top: none; }
.wp-section.dense { padding: 64px 0; }

.wp-eyebrow {
    font-family: 'JetBrains Mono', monospace;
    font-size: 12px;
    font-weight: 500;
    text-transform: uppercase;
    letter-spacing: 0.2em;
    color: #808080;
    display: block;
    margin-bottom: 24px;
}
.wp-eyebrow .num {
    color: #161616;
    margin-right: 12px;
    font-weight: 600;
}

.wp-section h2 {
    font-size: clamp(2rem, 3.6vw, 2.6rem);
    font-weight: 500;
    line-height: 1.15;
    margin-bottom: 8px;
}
.wp-section .wp-deck {
    font-style: italic;
    font-size: 16px;
    color: #707070;
    margin-bottom: 32px;
    letter-spacing: -0.02em;
}
.wp-rule {
    border: none;
    border-top: 1px solid #c8c8c8;
    margin: 0 0 32px 0;
}
.wp-rule.thin { border-top-color: #e3e3e3; }

.wp-section p {
    font-size: 16px;
    line-height: 1.7;
    color: #303030;
    margin-bottom: 20px;
}
.wp-section p strong { color: #111111; font-weight: 600; }

.wp-grid-2 {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
    gap: 48px;
    align-items: start;
}
.wp-grid-3 {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 32px;
}

/* Whitepaper figure */
.wp-figure {
    margin: 32px 0 16px;
    padding: 24px;
    border: 1px solid #e3e3e3;
    background-color: #fafafa;
}
.wp-figure svg { display: block; width: 100%; height: auto; }
.wp-figcaption {
    margin-top: 16px;
    font-size: 13px;
    line-height: 1.6;
    color: #606060;
    letter-spacing: -0.01em;
}
.wp-figcaption strong { color: #111111; font-weight: 600; }

/* Parameter table */
.wp-table {
    width: 100%;
    border-collapse: collapse;
    margin: 24px 0;
    font-size: 14px;
}
.wp-table th, .wp-table td {
    padding: 14px 16px;
    text-align: left;
    border-bottom: 1px solid #e3e3e3;
    vertical-align: top;
}
.wp-table thead th {
    font-family: 'JetBrains Mono', monospace;
    font-size: 11px;
    font-weight: 600;
    letter-spacing: 0.15em;
    text-transform: uppercase;
    color: #707070;
    border-bottom: 1px solid #c8c8c8;
    padding-top: 8px;
    padding-bottom: 12px;
}
.wp-table td { color: #303030; }
.wp-table td:first-child { color: #111111; }
.wp-table td.mono, .wp-table .mono {
    font-family: 'JetBrains Mono', monospace;
    font-size: 13px;
}
.wp-table tr:last-child td { border-bottom: none; }

/* Equation callout */
.wp-eq {
    margin: 24px 0;
    padding: 20px 24px;
    border: 1px solid #e3e3e3;
    background-color: #fafafa;
    font-family: 'JetBrains Mono', monospace;
    font-size: 15px;
    color: #111111;
    text-align: center;
    letter-spacing: -0.01em;
}
.wp-eq .num {
    float: right;
    color: #999;
    font-size: 13px;
}
.wp-eq + .wp-eq-note {
    margin-top: -12px;
    text-align: center;
    font-size: 12px;
    color: #707070;
    font-style: italic;
    margin-bottom: 24px;
}

/* Status pills */
.wp-status {
    display: inline-block;
    font-family: 'JetBrains Mono', monospace;
    font-size: 10px;
    font-weight: 600;
    letter-spacing: 0.15em;
    padding: 4px 10px;
    border: 1px solid currentColor;
    text-transform: uppercase;
    line-height: 1.4;
}
.wp-status.target { color: #111111; background: #111111; color: #ffffff; border-color: #111111; }
.wp-status.scenario { color: #111111; background: #ffffff; border-color: #111111; }
.wp-status.stretch { color: #707070; background: #ffffff; border-color: #c8c8c8; border-style: dashed; }
.wp-status.measured { color: #111111; background: #f5f5f5; border-color: #c8c8c8; }
.wp-status.operational { color: #111111; background: #ffffff; border-color: #111111; }

/* Spec card grid (for QONTOS-1 spec, family arc, etc) */
.wp-spec {
    border: 1px solid #e3e3e3;
    padding: 28px;
    background-color: #ffffff;
}
.wp-spec h3 {
    font-size: 20px;
    margin-bottom: 4px;
}
.wp-spec .wp-spec-deck {
    font-size: 13px;
    color: #707070;
    margin-bottom: 16px;
    font-style: italic;
}
.wp-spec dl {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 8px 16px;
    font-size: 13px;
    margin: 0;
}
.wp-spec dt {
    color: #707070;
    font-family: 'JetBrains Mono', monospace;
    font-size: 11px;
    text-transform: uppercase;
    letter-spacing: 0.1em;
}
.wp-spec dd { color: #111111; font-weight: 500; margin: 0; }

/* Domain block */
.wp-domain {
    padding: 32px;
    border: 1px solid #e3e3e3;
    background-color: #ffffff;
}
.wp-domain .wp-domain-icon {
    width: 44px;
    height: 44px;
    border: 1px solid #e3e3e3;
    background: #fafafa;
    margin-bottom: 18px;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 8px;
}
.wp-domain .wp-domain-icon svg { display: block; width: 100%; height: 100%; }
.wp-domain .wp-domain-num {
    font-family: 'JetBrains Mono', monospace;
    font-size: 11px;
    letter-spacing: 0.2em;
    color: #707070;
    margin-bottom: 8px;
}
.wp-domain h3 { margin-bottom: 12px; font-size: 22px; }
.wp-domain p { font-size: 14px; line-height: 1.65; color: #404040; }

/* Whitepaper download CTA */
.wp-download {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 32px;
    padding: 28px 32px;
    border: 1px solid #161616;
    background-color: #ffffff;
    margin: 16px 0;
}
.wp-download .wp-download-meta {
    flex: 1;
    min-width: 0;
}
.wp-download .wp-download-eyebrow {
    font-family: 'JetBrains Mono', monospace;
    font-size: 11px;
    text-transform: uppercase;
    letter-spacing: 0.18em;
    color: #707070;
    margin-bottom: 8px;
}
.wp-download h3 { margin-bottom: 4px; font-size: 20px; }
.wp-download p { font-size: 13px; color: #707070; margin: 0; }
.wp-download .btn { flex-shrink: 0; }

/* Inline whitepaper citation chip */
.wp-cite {
    display: inline-block;
    font-family: 'JetBrains Mono', monospace;
    font-size: 11px;
    letter-spacing: 0.1em;
    padding: 2px 8px;
    background: #f5f5f5;
    color: #404040;
    border: 1px solid #e3e3e3;
    margin-left: 6px;
    vertical-align: middle;
}

/* Gate / milestone list */
.wp-gates {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
    gap: 16px;
    margin-top: 24px;
}
.wp-gate {
    border: 1px solid #e3e3e3;
    padding: 24px;
    background-color: #ffffff;
}
.wp-gate .wp-gate-id {
    font-family: 'JetBrains Mono', monospace;
    font-size: 12px;
    font-weight: 600;
    color: #111111;
    letter-spacing: 0.1em;
    margin-bottom: 8px;
}
.wp-gate h4 { font-size: 15px; margin-bottom: 12px; }
.wp-gate p { font-size: 13px; color: #505050; line-height: 1.65; margin: 0; }

/* Hero banner for deeper pages — whitepaper-style */
.wp-banner {
    padding: 140px 0 64px;
    border-bottom: 1px solid #e3e3e3;
    background-color: #ffffff;
}
.wp-banner .wp-eyebrow { margin-bottom: 16px; }
.wp-banner h1 {
    font-size: clamp(2.6rem, 5vw, 3.6rem);
    font-weight: 500;
    line-height: 1.1;
    margin-bottom: 16px;
    max-width: 880px;
}
.wp-banner .wp-deck {
    font-style: italic;
    font-size: 18px;
    color: #707070;
    max-width: 760px;
}
.wp-banner-meta {
    display: flex;
    flex-wrap: wrap;
    gap: 32px;
    margin-top: 32px;
    padding-top: 24px;
    border-top: 1px solid #e3e3e3;
    font-size: 13px;
    color: #707070;
}
.wp-banner-meta dt {
    font-family: 'JetBrains Mono', monospace;
    font-size: 10px;
    letter-spacing: 0.15em;
    text-transform: uppercase;
    color: #999;
    margin-bottom: 4px;
}
.wp-banner-meta dd { color: #111111; font-weight: 500; }

/* TOC for in-page navigation */
.wp-toc {
    border: 1px solid #e3e3e3;
    padding: 20px 24px;
    background-color: #fafafa;
    margin: 0 0 16px 0;
}
.wp-toc h4 {
    font-family: 'JetBrains Mono', monospace;
    font-size: 11px;
    text-transform: uppercase;
    letter-spacing: 0.18em;
    color: #707070;
    margin-bottom: 12px;
    font-weight: 600;
}
.wp-toc ol {
    list-style: none;
    counter-reset: toc;
    margin: 0;
    padding: 0;
}
.wp-toc li {
    counter-increment: toc;
    padding: 6px 0;
    border-top: 1px solid #e3e3e3;
    font-size: 13px;
}
.wp-toc li:first-child { border-top: none; }
.wp-toc li::before {
    content: counter(toc, decimal-leading-zero);
    font-family: 'JetBrains Mono', monospace;
    font-size: 11px;
    color: #999;
    margin-right: 12px;
}
.wp-toc a {
    color: #111111;
    text-decoration: none;
    border-bottom: 1px solid transparent;
}
.wp-toc a:hover { border-bottom-color: #111111; }

/* Family arc table — wider columns */
.wp-table.family th, .wp-table.family td { padding: 18px 16px; }
.wp-table.family .gen { font-weight: 600; }

/* ===========================================================
   TECHNOLOGY HERO — full stack architecture, category-leading.
   Two-column: typography + status on left, layered stack SVG on right.
   Bottom navigation jumps to the deep-dive sections below.
   =========================================================== */
.wp-page section.tech-hero { padding: 0; }
.tech-hero {
    position: relative;
    margin-top: 96px;
    background: #ffffff;
    overflow: hidden;
    border-bottom: 1px solid #e3e3e3;
    background-image:
        linear-gradient(to right, rgba(0,0,0,0.025) 1px, transparent 1px),
        radial-gradient(ellipse 55% 50% at 80% 45%, rgba(10,10,10,0.04) 0%, transparent 70%);
    background-size: 80px 100%, 100% 100%;
}
.tech-hero-inner {
    position: relative;
    z-index: 2;
    max-width: 1280px;
    margin: 0 auto;
    padding: 32px 48px 24px;
    display: grid;
    grid-template-columns: minmax(0, 1.05fr) minmax(0, 1fr);
    gap: 64px;
    align-items: start;
}
.tech-hero-text { min-width: 0; padding-top: 8px; }
.tech-hero-visual {
    position: relative;
    display: flex;
    align-items: flex-start;
    justify-content: center;
}
.tech-hero-meta {
    display: inline-flex;
    align-items: center;
    gap: 14px;
    margin-bottom: 28px;
    padding: 8px 14px;
    border: 1px solid #e3e3e3;
    background: rgba(255,255,255,0.7);
    backdrop-filter: blur(4px);
    font-family: 'JetBrains Mono', monospace;
    font-size: 11px;
    letter-spacing: 0.18em;
    text-transform: uppercase;
    color: #404040;
}
.tech-hero-meta .dot {
    width: 7px; height: 7px;
    background: #0a0a0a; border-radius: 50%;
}
.tech-hero-meta .sep { color: #c0c0c0; }
.tech-hero h1 {
    font-size: clamp(2.2rem, 4.6vw, 4rem);
    font-weight: 500;
    line-height: 1.04;
    letter-spacing: -0.035em;
    color: #0a0a0a;
    margin: 0 0 28px;
    max-width: 15ch;
}
.tech-hero h1 .accent { color: #6a6a6a; font-weight: 400; }
.tech-hero-lead {
    font-size: clamp(1.05rem, 1.3vw, 1.18rem);
    line-height: 1.55;
    color: #404040;
    max-width: 560px;
    margin: 0 0 40px;
    letter-spacing: -0.005em;
}
.tech-hero-ctas {
    display: flex;
    gap: 14px;
    flex-wrap: wrap;
    margin-bottom: 48px;
}
.tech-hero-cta {
    display: inline-flex;
    align-items: center;
    gap: 14px;
    padding: 16px 26px;
    font-family: 'Inter Tight', sans-serif;
    font-size: 12.5px;
    font-weight: 600;
    letter-spacing: 0.1em;
    text-transform: uppercase;
    text-decoration: none;
    border: 1px solid #0a0a0a;
    transition: all 0.2s ease;
    white-space: nowrap;
}
.tech-hero-cta.primary { background: #0a0a0a; color: #ffffff; }
.tech-hero-cta.primary:hover { background: #303030; border-color: #303030; }
.tech-hero-cta.secondary { background: transparent; color: #0a0a0a; }
.tech-hero-cta.secondary:hover { background: #f3f3f3; }
.tech-hero-cta .arrow {
    width: 18px; height: 8px;
    border-top: 1px solid currentColor;
    position: relative;
    transition: transform 0.2s ease;
}
.tech-hero-cta .arrow::after {
    content: '';
    position: absolute;
    right: -1px; top: -4px;
    width: 8px; height: 8px;
    border-top: 1px solid currentColor;
    border-right: 1px solid currentColor;
    transform: rotate(45deg);
}
.tech-hero-cta:hover .arrow { transform: translateX(4px); }

/* Quick spec strip embedded in hero text column */
.tech-hero-stats {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 0;
    border-top: 1px solid #e3e3e3;
    margin-bottom: 0;
}
.tech-hero-stats > div {
    padding: 18px 24px 0 0;
    border-right: 1px solid #ececec;
}
.tech-hero-stats > div:last-child { border-right: none; padding-right: 0; }
.tech-hero-stats .k {
    font-family: 'JetBrains Mono', monospace;
    font-size: 10px;
    letter-spacing: 0.18em;
    text-transform: uppercase;
    color: #808080;
    margin-bottom: 6px;
    display: block;
}
.tech-hero-stats .v {
    font-size: 22px;
    font-weight: 600;
    color: #0a0a0a;
    font-variant-numeric: tabular-nums;
    letter-spacing: -0.01em;
}

/* Stack SVG visual */
.tech-stack-svg {
    display: block;
    width: 100%;
    height: auto;
    max-width: 560px;
}

/* In-page section navigation (anchors row) below the hero */
.tech-hero-nav {
    background: #ffffff;
    border-bottom: 1px solid #e3e3e3;
}
.tech-hero-nav-inner {
    max-width: 1280px;
    margin: 0 auto;
    padding: 0 48px;
    display: grid;
    grid-template-columns: 180px 1fr;
    gap: 48px;
    align-items: center;
}
.tech-hero-nav-eyebrow {
    font-family: 'JetBrains Mono', monospace;
    font-size: 11px;
    letter-spacing: 0.22em;
    text-transform: uppercase;
    color: #707070;
    padding: 20px 0;
}
.tech-hero-nav-eyebrow .num { color: #0a0a0a; font-weight: 600; margin-right: 8px; }
.tech-hero-nav-tabs {
    display: flex;
    gap: 0;
    overflow-x: auto;
}
.tech-hero-nav-tabs a {
    flex: 1;
    padding: 20px 16px;
    font-size: 13px;
    font-weight: 500;
    color: #303030;
    text-decoration: none;
    border-left: 1px solid #ececec;
    transition: color 0.15s ease, background 0.15s ease;
    display: flex;
    flex-direction: column;
    gap: 4px;
    min-width: 140px;
    text-align: left;
}
.tech-hero-nav-tabs a:hover { color: #0a0a0a; background: #fafafa; }
.tech-hero-nav-tabs a .num {
    font-family: 'JetBrains Mono', monospace;
    font-size: 10px;
    letter-spacing: 0.18em;
    color: #999;
    font-weight: 600;
}
.tech-hero-nav-tabs a span.title {
    font-size: 13px;
    letter-spacing: -0.005em;
    color: #0a0a0a;
}

@media (max-width: 1024px) {
    .tech-hero-inner { grid-template-columns: 1fr; gap: 48px; padding: 64px 32px 0; }
    .tech-hero-stats { grid-template-columns: repeat(3, 1fr); }
    .tech-hero-nav-inner { grid-template-columns: 1fr; gap: 0; padding: 24px 32px; }
    .tech-hero-nav-tabs { flex-wrap: wrap; }
    .tech-hero-nav-tabs a { min-width: 33.33%; border-left: none; padding: 14px 16px; }
}
@media (max-width: 640px) {
    .tech-hero-inner { padding: 48px 20px 0; }
    .tech-hero-stats { grid-template-columns: 1fr 1fr; }
    .tech-hero-stats > div:nth-child(3) { border-right: none; padding-right: 0; padding-top: 18px; border-top: 1px solid #ececec; }
    .tech-hero-nav-tabs a { min-width: 50%; }
}

/* Small responsive adjustments */
@media (max-width: 768px) {
    .wp-section { padding: 64px 0; }
    .wp-banner { padding: 112px 0 48px; }
    .wp-grid-2 { gap: 32px; }
    .wp-download { flex-direction: column; align-items: flex-start; gap: 16px; }
    .wp-spec dl { grid-template-columns: 1fr; }
    .wp-banner-meta { gap: 16px; }
}

/* ===========================================================
   HOME PAGE — sophisticated, restrained, category-leader.
   Strict baseline grid. No overlap. No bleeding. Hairline rules.
   =========================================================== */
body.home {
    background-color: #ffffff;
    color: #1a1a1a;
    overflow-x: hidden;
}
body.home .container { max-width: 1280px; padding: 0 48px; }
body.home h1, body.home h2, body.home h3, body.home h4 { color: #0a0a0a; letter-spacing: -0.025em; }
body.home p { color: #303030; }

/* ── HERO v2 ──────────────────────────────────────────────── */
body.home section.home-hero,
body.home section.home-specband,
body.home section.home-paper { padding: 0; }
body.home section.home-integrations { padding-top: 64px; padding-bottom: 64px; }
body.home section.home-section { padding-top: 128px; padding-bottom: 128px; }
.home-hero {
    position: relative;
    margin-top: 96px;
    background: #ffffff;
    overflow: hidden;
    border-bottom: 1px solid #e3e3e3;
    background-image:
        linear-gradient(to right, rgba(0,0,0,0.025) 1px, transparent 1px),
        radial-gradient(ellipse 60% 50% at 78% 40%, rgba(10,10,10,0.04) 0%, transparent 70%);
    background-size: 80px 100%, 100% 100%;
}
.home-hero-inner {
    position: relative;
    z-index: 2;
    max-width: 1280px;
    margin: 0 auto;
    padding: 64px 48px 56px;
    display: grid;
    grid-template-columns: minmax(0, 1.05fr) minmax(0, 1fr);
    gap: 56px;
    align-items: start;
}
.home-hero-text { min-width: 0; padding-top: 16px; }
.home-hero-visual {
    position: relative;
    display: flex;
    align-items: flex-start;
    justify-content: center;
}
.home-hero-meta {
    display: inline-flex;
    align-items: center;
    gap: 14px;
    margin-bottom: 40px;
    padding: 8px 14px;
    border: 1px solid #e3e3e3;
    background: rgba(255,255,255,0.7);
    backdrop-filter: blur(4px);
    font-family: 'JetBrains Mono', monospace;
    font-size: 11px;
    letter-spacing: 0.18em;
    text-transform: uppercase;
    color: #404040;
}
.home-hero-meta .dot {
    width: 7px; height: 7px;
    background: #0a0a0a;
    border-radius: 50%;
    box-shadow: 0 0 0 0 rgba(10,10,10,0.5);
    animation: pulseDot 2.4s infinite;
}
.home-hero-meta .sep { color: #c0c0c0; }
@keyframes pulseDot {
    0%   { box-shadow: 0 0 0 0 rgba(10,10,10,0.4); }
    70%  { box-shadow: 0 0 0 8px rgba(10,10,10,0); }
    100% { box-shadow: 0 0 0 0 rgba(10,10,10,0); }
}

.home-hero h1 {
    font-size: clamp(2.2rem, 4.6vw, 4rem);
    font-weight: 500;
    line-height: 1.04;
    letter-spacing: -0.035em;
    color: #0a0a0a;
    margin-bottom: 28px;
    max-width: 13ch;
}
.home-hero h1 .accent {
    color: #6a6a6a;
    font-weight: 400;
    display: inline;
}
.home-hero-lead {
    font-size: clamp(1.05rem, 1.3vw, 1.15rem);
    line-height: 1.55;
    color: #404040;
    max-width: 560px;
    margin-bottom: 40px;
    letter-spacing: -0.005em;
}
.home-hero-ctas {
    display: flex;
    gap: 14px;
    flex-wrap: wrap;
    margin-bottom: 0;
}
.home-hero-cta {
    display: inline-flex;
    align-items: center;
    gap: 14px;
    padding: 16px 26px;
    font-family: 'Inter Tight', sans-serif;
    font-size: 12.5px;
    font-weight: 600;
    letter-spacing: 0.1em;
    text-transform: uppercase;
    text-decoration: none;
    border: 1px solid #0a0a0a;
    transition: all 0.2s ease;
    white-space: nowrap;
}
.home-hero-cta.primary { background: #0a0a0a; color: #ffffff; }
.home-hero-cta.primary:hover { background: #303030; border-color: #303030; }
.home-hero-cta.secondary { background: transparent; color: #0a0a0a; }
.home-hero-cta.secondary:hover { background: #f3f3f3; }
.home-hero-cta .arrow {
    width: 18px; height: 8px;
    border-top: 1px solid currentColor;
    position: relative;
    transition: transform 0.2s ease;
}
.home-hero-cta .arrow::after {
    content: '';
    position: absolute;
    right: -1px; top: -4px;
    width: 8px; height: 8px;
    border-top: 1px solid currentColor;
    border-right: 1px solid currentColor;
    transform: rotate(45deg);
}
.home-hero-cta:hover .arrow { transform: translateX(4px); }

/* Hero visual — animated system diagram */
.home-hero-svg {
    width: 100%; height: auto;
    max-width: 560px;
    display: block;
}
.home-hero-svg .module-fill {
    fill: rgba(255,255,255,0.85);
    backdrop-filter: blur(2px);
}
.home-hero-svg .qubit-dot { fill: #0a0a0a; }
.home-hero-svg .qubit-row { opacity: 0.85; }
.home-hero-svg .module-border { stroke: #0a0a0a; stroke-width: 1.2; fill: none; }
.home-hero-svg .label-text { font-family: 'JetBrains Mono', monospace; font-size: 9px; letter-spacing: 0.18em; fill: #707070; }
.home-hero-svg .label-title { font-family: 'Inter Tight', sans-serif; font-size: 11px; font-weight: 600; fill: #0a0a0a; letter-spacing: -0.01em; }
.home-hero-svg .stage-line { stroke: #c8c8c8; stroke-dasharray: 2 3; stroke-width: 0.8; }
.home-hero-svg .stage-label { font-family: 'JetBrains Mono', monospace; font-size: 8px; letter-spacing: 0.18em; fill: #9a9a9a; }
.home-hero-svg .fiber {
    stroke: #0a0a0a;
    stroke-width: 1.2;
    fill: none;
}
.home-hero-svg .fiber-glow {
    stroke: #0a0a0a;
    stroke-width: 3;
    fill: none;
    opacity: 0.08;
}
.home-hero-svg .photon {
    fill: #0a0a0a;
    r: 3;
    opacity: 0;
    animation: photonTravel 3.2s cubic-bezier(0.4, 0, 0.2, 1) infinite;
}
.home-hero-svg .photon-2 { animation-delay: 0.8s; }
.home-hero-svg .photon-3 { animation-delay: 1.6s; }
.home-hero-svg .photon-4 { animation-delay: 2.4s; }
@keyframes photonTravel {
    0%   { transform: translateX(0); opacity: 0; }
    10%  { opacity: 1; }
    90%  { opacity: 1; }
    100% { transform: translateX(180px); opacity: 0; }
}
.home-hero-svg .photon-r {
    fill: #0a0a0a;
    r: 3;
    opacity: 0;
    animation: photonTravelR 3.2s cubic-bezier(0.4, 0, 0.2, 1) infinite;
    animation-delay: 1.6s;
}
@keyframes photonTravelR {
    0%   { transform: translateX(0); opacity: 0; }
    10%  { opacity: 1; }
    90%  { opacity: 1; }
    100% { transform: translateX(-180px); opacity: 0; }
}
.home-hero-svg .pulse-ring {
    fill: none;
    stroke: #0a0a0a;
    stroke-width: 1;
    opacity: 0;
    transform-origin: center;
    transform-box: fill-box;
    animation: pulseRing 3.2s ease-out infinite;
}
.home-hero-svg .pulse-ring-r { animation-delay: 1.6s; }
@keyframes pulseRing {
    0%   { opacity: 0.6; r: 4; }
    100% { opacity: 0; r: 18; }
}
.home-hero-svg .heralded-tag {
    font-family: 'JetBrains Mono', monospace;
    font-size: 9px;
    letter-spacing: 0.15em;
    fill: #0a0a0a;
}

/* Live status strip below hero */
.home-hero-status {
    position: relative;
    z-index: 2;
    max-width: 1280px;
    margin: 0 auto;
    padding: 0 48px 56px;
    display: grid;
    grid-template-columns: auto repeat(4, 1fr) auto;
    gap: 0;
    align-items: center;
}
.home-hero-status > div {
    padding: 18px 24px;
    border-left: 1px solid #e3e3e3;
}
.home-hero-status > div:first-child { border-left: none; padding-left: 0; }
.home-hero-status > div:last-child { padding-right: 0; }
.home-hero-status .label {
    font-family: 'JetBrains Mono', monospace;
    font-size: 9px;
    letter-spacing: 0.22em;
    text-transform: uppercase;
    color: #999;
    margin-bottom: 6px;
    display: block;
}
.home-hero-status .value {
    font-size: 16px;
    font-weight: 600;
    color: #0a0a0a;
    letter-spacing: -0.01em;
    font-variant-numeric: tabular-nums;
}
.home-hero-status .runtime-tag {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    padding: 8px 14px;
    background: #0a0a0a;
    color: #ffffff;
    font-family: 'JetBrains Mono', monospace;
    font-size: 10px;
    letter-spacing: 0.2em;
    text-transform: uppercase;
}
.home-hero-status .runtime-tag .live-dot {
    width: 6px; height: 6px;
    background: #ffffff;
    border-radius: 50%;
    box-shadow: 0 0 0 0 rgba(255,255,255,0.5);
    animation: liveDot 2s infinite;
}
@keyframes liveDot {
    0%   { box-shadow: 0 0 0 0 rgba(255,255,255,0.5); }
    70%  { box-shadow: 0 0 0 6px rgba(255,255,255,0); }
    100% { box-shadow: 0 0 0 0 rgba(255,255,255,0); }
}

@media (max-width: 1024px) {
    .home-hero-inner { grid-template-columns: 1fr; gap: 48px; padding: 64px 32px 48px; }
    .home-hero-visual { min-height: 360px; }
    .home-hero-status { grid-template-columns: 1fr 1fr; padding: 0 32px 48px; }
    .home-hero-status > div { border-left: none; padding: 16px 0; border-top: 1px solid #e3e3e3; }
    .home-hero-status > div:first-child { padding-top: 0; border-top: none; }
}
@media (max-width: 640px) {
    .home-hero-inner { padding: 48px 20px 32px; }
    .home-hero-status { grid-template-columns: 1fr; }
}

/* ── FIRST MACHINE SECTION (replaces spec band) ───────────── */
body.home section.home-firstmachine { padding: 0; }
.home-firstmachine {
    background: #ffffff;
    border-bottom: 1px solid #e3e3e3;
}
.home-fm-inner {
    max-width: 1280px;
    margin: 0 auto;
    padding: 96px 48px;
    display: grid;
    grid-template-columns: minmax(0, 1.15fr) minmax(0, 1fr);
    gap: 80px;
    align-items: start;
}
.home-fm-head {
    margin-bottom: 40px;
}
.home-fm-eyebrow {
    font-family: 'JetBrains Mono', monospace;
    font-size: 11px;
    letter-spacing: 0.22em;
    text-transform: uppercase;
    color: #707070;
    display: flex;
    align-items: baseline;
    gap: 12px;
    margin-bottom: 24px;
}
.home-fm-eyebrow .num { font-weight: 600; color: #0a0a0a; }
.home-fm h2 {
    font-size: clamp(2rem, 3.6vw, 2.6rem);
    font-weight: 500;
    line-height: 1.06;
    letter-spacing: -0.03em;
    color: #0a0a0a;
    margin-bottom: 20px;
    max-width: 18ch;
}
.home-fm-lead {
    font-size: 15.5px;
    line-height: 1.65;
    color: #404040;
    max-width: 560px;
}
.home-fm-groups {
    display: grid;
    gap: 0;
    border-top: 1px solid #e3e3e3;
}
.home-fm-group {
    padding: 24px 0 20px;
    border-bottom: 1px solid #e3e3e3;
    display: grid;
    grid-template-columns: 140px 1fr;
    gap: 24px;
    align-items: start;
}
.home-fm-group .gtitle {
    font-family: 'JetBrains Mono', monospace;
    font-size: 11px;
    letter-spacing: 0.22em;
    text-transform: uppercase;
    color: #707070;
    padding-top: 4px;
}
.home-fm-group .grows {
    display: grid;
    gap: 8px;
}
.home-fm-row {
    display: grid;
    grid-template-columns: 1.4fr 1fr;
    gap: 24px;
    align-items: baseline;
    padding-bottom: 6px;
    border-bottom: 1px dotted #e8e8e8;
}
.home-fm-row:last-child { border-bottom: none; }
.home-fm-row .key {
    font-size: 14px;
    color: #303030;
    letter-spacing: -0.005em;
}
.home-fm-row .val {
    font-family: 'JetBrains Mono', monospace;
    font-size: 13px;
    color: #0a0a0a;
    font-weight: 500;
    text-align: right;
    font-variant-numeric: tabular-nums;
}
.home-fm-actions {
    display: flex;
    gap: 16px;
    flex-wrap: wrap;
    margin-top: 32px;
}

/* Cryogenic stack visual — right column */
.home-fm-visual {
    position: sticky;
    top: 100px;
    background: #fafafa;
    border: 1px solid #e3e3e3;
    padding: 32px 36px 28px;
}
.home-fm-visual-head {
    display: flex;
    justify-content: space-between;
    align-items: baseline;
    margin-bottom: 24px;
    padding-bottom: 16px;
    border-bottom: 1px solid #e3e3e3;
}
.home-fm-visual-head .t {
    font-family: 'Inter Tight', sans-serif;
    font-size: 15px;
    font-weight: 600;
    color: #0a0a0a;
}
.home-fm-visual-head .s {
    font-family: 'JetBrains Mono', monospace;
    font-size: 10px;
    letter-spacing: 0.18em;
    text-transform: uppercase;
    color: #999;
}
.home-fm-svg { display: block; width: 100%; height: auto; }

/* Legacy spec band — keep for backward compat but hide */
.home-specband { display: none; }

@media (max-width: 1024px) {
    .home-fm-inner { grid-template-columns: 1fr; gap: 48px; padding: 64px 32px; }
    .home-fm-visual { position: static; }
    .home-fm-group { grid-template-columns: 110px 1fr; gap: 16px; }
}
@media (max-width: 640px) {
    .home-fm-inner { padding: 56px 20px; }
    .home-fm-group { grid-template-columns: 1fr; gap: 8px; }
    .home-fm-group .gtitle { padding-top: 0; }
}

/* ── LEGACY SPEC BAND (full-width strip) ─────────────────── */
.home-specband-legacy {
    background: #ffffff;
    border-bottom: 1px solid #e3e3e3;
    padding: 0;
}
.home-specband-inner {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 32px;
}
.home-specband-head {
    display: flex;
    align-items: baseline;
    justify-content: space-between;
    padding: 28px 0 20px;
    border-bottom: 1px solid #e3e3e3;
    flex-wrap: wrap;
    gap: 12px;
}
.home-specband-head .label {
    font-family: 'JetBrains Mono', monospace;
    font-size: 11px;
    letter-spacing: 0.22em;
    text-transform: uppercase;
    color: #707070;
}
.home-specband-head .meta {
    font-family: 'JetBrains Mono', monospace;
    font-size: 11px;
    letter-spacing: 0.15em;
    color: #999;
}
.home-specband-head a {
    font-family: 'JetBrains Mono', monospace;
    font-size: 11px;
    letter-spacing: 0.12em;
    color: #0a0a0a;
    text-decoration: none;
    border-bottom: 1px solid #0a0a0a;
    padding-bottom: 2px;
}
.home-specband-grid {
    display: grid;
    grid-template-columns: repeat(6, 1fr);
}
.home-specband-cell {
    padding: 36px 28px 36px 0;
    position: relative;
}
.home-specband-cell + .home-specband-cell { padding-left: 32px; border-left: 1px solid #ececec; }
.home-specband-cell .k {
    font-family: 'JetBrains Mono', monospace;
    font-size: 10px;
    letter-spacing: 0.18em;
    text-transform: uppercase;
    color: #808080;
    margin-bottom: 14px;
    display: block;
}
.home-specband-cell .v {
    font-family: 'Inter Tight', sans-serif;
    font-size: 32px;
    font-weight: 500;
    color: #0a0a0a;
    letter-spacing: -0.02em;
    line-height: 1.05;
    font-variant-numeric: tabular-nums;
}
.home-specband-cell .sub {
    margin-top: 8px;
    font-size: 12px;
    color: #808080;
    letter-spacing: -0.005em;
}

/* ── HOME SECTIONS — clean vertical rhythm ────────────────── */
.home-section {
    padding: 128px 0;
    border-bottom: 1px solid #e3e3e3;
    background: #ffffff;
}
.home-section.tinted { background: #fafafa; }
.home-section-head {
    max-width: none;
    margin: 0 0 56px;
    display: grid;
    grid-template-columns: 1.6fr 1fr;
    gap: 64px;
    align-items: start;
}
.home-section-head .eyebrow {
    font-family: 'JetBrains Mono', monospace;
    font-size: 11px;
    letter-spacing: 0.22em;
    text-transform: uppercase;
    color: #707070;
    display: flex;
    align-items: baseline;
    gap: 12px;
}
.home-section-head .eyebrow .num {
    font-weight: 600;
    color: #0a0a0a;
}
.home-section-head h2 {
    font-size: clamp(2rem, 3.6vw, 2.8rem);
    font-weight: 500;
    line-height: 1.08;
    letter-spacing: -0.03em;
    margin-top: 20px;
    max-width: 22ch;
}
.home-section-head .lead {
    font-size: 15.5px;
    line-height: 1.65;
    color: #505050;
    max-width: 420px;
    padding-top: 24px;
}
@media (max-width: 900px) {
    .home-section-head { grid-template-columns: 1fr; gap: 24px; }
    .home-section-head .lead { padding-top: 0; }
}
.home-section-body { max-width: none; margin: 0; }

/* ── DOMAINS (three columns) ──────────────────────────────── */
.home-domains {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    border-top: 1px solid #e3e3e3;
    border-bottom: 1px solid #e3e3e3;
}
.home-domain {
    padding: 36px 32px 36px;
    background: #ffffff;
    position: relative;
    display: flex;
    flex-direction: column;
}
.home-domain + .home-domain { border-left: 1px solid #e3e3e3; }
.home-domain .domain-icon {
    width: 100%;
    height: 96px;
    border: 1px solid #e3e3e3;
    background: #fafafa;
    margin-bottom: 28px;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 12px;
}
.home-domain .domain-icon svg { display: block; width: 100%; height: 100%; }
.home-domain .idx {
    font-family: 'JetBrains Mono', monospace;
    font-size: 11px;
    letter-spacing: 0.2em;
    color: #707070;
    margin-bottom: 14px;
    display: inline-flex;
    align-items: center;
    gap: 10px;
    text-transform: uppercase;
}
.home-domain .idx svg {
    width: 18px;
    height: 18px;
    flex-shrink: 0;
    display: block;
}
.home-domain h3 {
    font-size: 22px;
    font-weight: 500;
    margin-bottom: 14px;
    letter-spacing: -0.02em;
}
.home-domain p {
    font-size: 14px;
    line-height: 1.65;
    color: #404040;
    margin-bottom: 24px;
    flex-grow: 1;
}
.home-domain .specs {
    padding-top: 18px;
    border-top: 1px solid #e3e3e3;
    font-family: 'JetBrains Mono', monospace;
    font-size: 11px;
    line-height: 1.9;
    color: #707070;
    letter-spacing: 0.02em;
}
.home-domain .specs strong { color: #0a0a0a; font-weight: 600; }

/* Timescale strip below the three domains */
.home-timescale {
    margin-top: 56px;
    padding: 36px 40px 32px;
    border: 1px solid #e3e3e3;
    background: #fafafa;
}
.home-timescale-head {
    display: flex;
    justify-content: space-between;
    align-items: baseline;
    margin-bottom: 28px;
    flex-wrap: wrap;
    gap: 12px;
}
.home-timescale-head .t {
    font-family: 'Inter Tight', sans-serif;
    font-size: 16px;
    font-weight: 600;
    color: #0a0a0a;
    letter-spacing: -0.015em;
}
.home-timescale-head .s {
    font-family: 'JetBrains Mono', monospace;
    font-size: 11px;
    letter-spacing: 0.2em;
    text-transform: uppercase;
    color: #707070;
}
.home-timescale svg { display: block; width: 100%; height: auto; }
.home-timescale .home-timescale-foot {
    margin-top: 18px;
    padding-top: 18px;
    border-top: 1px solid #e3e3e3;
    font-size: 13px;
    color: #505050;
    line-height: 1.6;
    max-width: none;
}

/* System diagram caption row */
.home-system-figure {
    margin-top: 64px;
    padding: 40px 32px;
    background: #fafafa;
    border: 1px solid #e3e3e3;
}
.home-system-figure svg { display: block; width: 100%; height: auto; }
.home-system-figure figcaption {
    margin-top: 24px;
    font-size: 13px;
    line-height: 1.65;
    color: #707070;
    max-width: 720px;
}
.home-system-figure figcaption strong { color: #0a0a0a; }

/* ── ROADMAP PREVIEW ──────────────────────────────────────── */
.home-roadmap {
    display: grid;
    grid-template-columns: 1.1fr 1fr;
    gap: 64px;
    align-items: start;
}
.home-roadmap-list {
    display: grid;
    gap: 0;
    border-top: 1px solid #e3e3e3;
}
.home-roadmap-row {
    display: grid;
    grid-template-columns: 28px 90px 1fr 130px;
    gap: 18px;
    padding: 22px 0;
    border-bottom: 1px solid #e3e3e3;
    align-items: baseline;
}
.home-roadmap-row .marker {
    width: 16px;
    height: 16px;
    align-self: center;
    flex-shrink: 0;
}
.home-roadmap-row .gen {
    font-family: 'JetBrains Mono', monospace;
    font-size: 13px;
    font-weight: 600;
    color: #0a0a0a;
    letter-spacing: 0.05em;
}
.home-roadmap-row .role {
    font-size: 15px;
    color: #303030;
    line-height: 1.5;
}
.home-roadmap-row .role .desc {
    display: block;
    font-size: 12px;
    color: #808080;
    margin-top: 4px;
}
.home-roadmap-row .badge {
    text-align: right;
    font-family: 'JetBrains Mono', monospace;
    font-size: 10px;
    letter-spacing: 0.18em;
    text-transform: uppercase;
    color: #707070;
}
.home-roadmap-row .badge.target { color: #0a0a0a; font-weight: 700; }
.home-roadmap-chart {
    background: #fafafa;
    border: 1px solid #e3e3e3;
    padding: 28px 24px 24px;
    position: sticky;
    top: 100px;
}
.home-roadmap-chart svg { display: block; width: 100%; height: auto; }
.home-roadmap-chart-head {
    display: flex;
    justify-content: space-between;
    align-items: baseline;
    margin-bottom: 16px;
    padding-bottom: 12px;
    border-bottom: 1px solid #e3e3e3;
    font-family: 'JetBrains Mono', monospace;
    font-size: 10px;
    letter-spacing: 0.18em;
    text-transform: uppercase;
    color: #707070;
}
.home-roadmap-chart-head .t { color: #0a0a0a; font-weight: 600; }

/* ── INTEGRATIONS BAND ────────────────────────────────────── */
.home-integrations {
    background: #ffffff;
    border-top: 1px solid #e3e3e3;
    border-bottom: 1px solid #e3e3e3;
}
.home-integrations-inner {
    max-width: 1280px;
    margin: 0 auto;
    padding: 0 48px;
    display: grid;
    grid-template-columns: minmax(0, 1fr);
    gap: 48px;
}
.home-integrations-head {
    display: grid;
    grid-template-columns: 1.6fr 1fr;
    gap: 64px;
    align-items: start;
    padding-bottom: 32px;
    border-bottom: 1px solid #e3e3e3;
}
.home-integrations-eyebrow {
    font-family: 'JetBrains Mono', monospace;
    font-size: 11px;
    letter-spacing: 0.22em;
    text-transform: uppercase;
    color: #707070;
    margin-bottom: 16px;
    display: inline-flex;
    align-items: center;
    gap: 10px;
}
.home-integrations-eyebrow .live-dot {
    width: 7px; height: 7px; background: #0a0a0a; border-radius: 50%;
    box-shadow: 0 0 0 0 rgba(10,10,10,0.4);
    animation: pulseDot 2.4s infinite;
}
.home-integrations h3 {
    font-size: clamp(2rem, 3.6vw, 2.6rem);
    font-weight: 500;
    line-height: 1.08;
    letter-spacing: -0.03em;
    color: #0a0a0a;
    margin: 0 0 16px;
    max-width: 22ch;
}
.home-integrations-head .lead {
    font-size: 15.5px;
    color: #505050;
    line-height: 1.65;
    padding-top: 20px;
    max-width: 420px;
}

.home-integrations-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 0;
    border-top: 1px solid transparent;
}
.home-integrations-tile {
    padding: 32px 28px;
    border-left: 1px solid #ececec;
    display: flex;
    flex-direction: column;
    gap: 14px;
    background: #ffffff;
    transition: background 0.2s ease;
    min-height: 220px;
}
.home-integrations-tile:first-child { border-left: none; }
.home-integrations-tile:hover { background: #fafafa; }
.home-integrations-tile.ghost {
    background: #fafafa;
}
.home-integrations-tile .glyph {
    width: 40px; height: 40px;
    display: flex; align-items: center; justify-content: center;
    margin-bottom: 6px;
}
.home-integrations-tile .glyph svg { display: block; width: 100%; height: 100%; }
.home-integrations-tile .name {
    font-size: 16px;
    font-weight: 600;
    color: #0a0a0a;
    letter-spacing: -0.01em;
}
.home-integrations-tile .tag {
    font-family: 'JetBrains Mono', monospace;
    font-size: 10px;
    letter-spacing: 0.18em;
    color: #707070;
    text-transform: uppercase;
}
.home-integrations-tile .desc {
    font-size: 12.5px;
    color: #707070;
    line-height: 1.55;
    margin-top: auto;
    padding-top: 16px;
    border-top: 1px solid #ececec;
}
.home-integrations-tile.ghost .name { color: #999; }
.home-integrations-tile.ghost .glyph svg { opacity: 0.5; }

.home-integrations-foot {
    padding-top: 24px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: 16px;
    border-top: 1px solid #ececec;
    font-family: 'JetBrains Mono', monospace;
    font-size: 11px;
    letter-spacing: 0.18em;
    text-transform: uppercase;
    color: #707070;
}
.home-integrations-foot a {
    color: #0a0a0a;
    text-decoration: none;
    border-bottom: 1px solid #0a0a0a;
    padding-bottom: 2px;
}

@media (max-width: 900px) {
    .home-integrations-head { grid-template-columns: 1fr; gap: 16px; }
    .home-integrations-head .lead { padding-top: 0; }
    .home-integrations-grid { grid-template-columns: repeat(2, 1fr); }
    .home-integrations-tile:nth-child(3) { border-left: none; border-top: 1px solid #ececec; }
}
@media (max-width: 560px) {
    .home-integrations-grid { grid-template-columns: 1fr; }
    .home-integrations-tile { border-left: none; border-top: 1px solid #ececec; min-height: auto; }
    .home-integrations-tile:first-child { border-top: none; }
}

/* ── HOME FOOTER (replaces whitepaper CTA + standard footer) ── */
.home-footer {
    background: #0a0a0a;
    color: #ffffff;
    position: relative;
    overflow: hidden;
}
.home-footer-inner {
    max-width: 1280px;
    margin: 0 auto;
    padding: 0 48px;
}

/* Top CTA band */
.home-footer-cta {
    padding: 96px 0 88px;
    border-bottom: 1px solid #2a2a2a;
    position: relative;
}
.home-footer-cta::before {
    /* faint engineering grid behind the CTA */
    content: '';
    position: absolute;
    inset: 0;
    background-image:
        linear-gradient(to right, rgba(255,255,255,0.04) 1px, transparent 1px);
    background-size: 80px 100%;
    pointer-events: none;
}
.home-footer-cta .home-footer-inner { position: relative; z-index: 1; }
.home-footer-cta-meta {
    display: inline-flex;
    align-items: center;
    gap: 12px;
    padding: 7px 14px;
    border: 1px solid #2a2a2a;
    background: rgba(255,255,255,0.02);
    margin-bottom: 32px;
    font-family: 'JetBrains Mono', monospace;
    font-size: 11px;
    letter-spacing: 0.2em;
    text-transform: uppercase;
    color: #909090;
}
.home-footer-cta-meta .dot {
    width: 7px; height: 7px;
    background: #ffffff;
    border-radius: 50%;
    box-shadow: 0 0 0 0 rgba(255,255,255,0.4);
    animation: liveDot 2.2s infinite;
}
.home-footer-cta-body {
    display: grid;
    grid-template-columns: 1.5fr 1fr;
    gap: 64px;
    align-items: end;
}
.home-footer .home-footer-cta h2 {
    font-size: clamp(2.4rem, 4.4vw, 3.2rem);
    font-weight: 500;
    line-height: 1.06;
    letter-spacing: -0.03em;
    color: #ffffff;
    margin: 0 0 24px;
    max-width: 16ch;
}
.home-footer h5 { color: #ffffff; }
.home-footer .home-footer-cta p {
    font-size: 15.5px;
    line-height: 1.65;
    color: #b8b8b8;
    max-width: 480px;
    margin: 0;
}
.home-footer-cta-actions {
    display: flex;
    flex-direction: column;
    align-items: flex-end;
    gap: 14px;
}
.home-footer-cta-actions .format {
    font-family: 'JetBrains Mono', monospace;
    font-size: 11px;
    letter-spacing: 0.18em;
    text-transform: uppercase;
    color: #808080;
}
.home-footer-cta-button {
    display: inline-flex;
    align-items: center;
    gap: 14px;
    padding: 18px 28px;
    background: #ffffff;
    color: #0a0a0a;
    font-family: 'Inter Tight', sans-serif;
    font-size: 13px;
    font-weight: 600;
    letter-spacing: 0.1em;
    text-transform: uppercase;
    text-decoration: none;
    border: 1px solid #ffffff;
    transition: all 0.2s ease;
    white-space: nowrap;
}
.home-footer-cta-button:hover { background: #c8c8c8; border-color: #c8c8c8; }
.home-footer-cta-button .arrow {
    width: 18px; height: 8px;
    border-top: 1px solid currentColor;
    position: relative;
    transition: transform 0.2s ease;
}
.home-footer-cta-button .arrow::after {
    content: '';
    position: absolute;
    right: -1px; top: -4px;
    width: 8px; height: 8px;
    border-top: 1px solid currentColor;
    border-right: 1px solid currentColor;
    transform: rotate(45deg);
}
.home-footer-cta-button:hover .arrow { transform: translateX(4px); }

/* Main body */
.home-footer-body {
    padding: 80px 0 64px;
    border-bottom: 1px solid #2a2a2a;
}
.home-footer-body-grid {
    display: grid;
    grid-template-columns: 1.5fr 3fr;
    gap: 80px;
    align-items: start;
}
.home-footer-brand {
    display: flex;
    flex-direction: column;
    gap: 24px;
}
.home-footer-brand-mark {
    display: flex;
    align-items: center;
    gap: 18px;
}
.home-footer-brand-mark img {
    height: 96px;
    width: auto;
    display: block;
    filter: brightness(0) invert(1);
}
.home-footer .home-footer-brand p {
    font-size: 14px;
    line-height: 1.65;
    color: #909090;
    margin: 0;
    max-width: 360px;
}
.home-footer-brand .version {
    font-family: 'JetBrains Mono', monospace;
    font-size: 11px;
    letter-spacing: 0.2em;
    text-transform: uppercase;
    color: #707070;
    margin-top: 8px;
    padding-top: 16px;
    border-top: 1px solid #2a2a2a;
}

/* Link columns */
.home-footer-links {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 32px;
}
.home-footer-col h5 {
    font-family: 'JetBrains Mono', monospace;
    font-size: 11px;
    font-weight: 600;
    letter-spacing: 0.2em;
    text-transform: uppercase;
    color: #ffffff;
    margin: 0 0 22px;
}
.home-footer-col ul {
    list-style: none;
    margin: 0;
    padding: 0;
    display: flex;
    flex-direction: column;
    gap: 12px;
}
.home-footer-col a {
    font-size: 14px;
    color: #c0c0c0;
    text-decoration: none;
    line-height: 1.45;
    transition: color 0.15s ease;
    display: inline-flex;
    align-items: baseline;
    gap: 8px;
}
.home-footer-col a:hover { color: #ffffff; }
.home-footer-col a .ext {
    font-size: 11px;
    color: #606060;
    font-family: 'JetBrains Mono', monospace;
    letter-spacing: 0.1em;
}

/* Bottom bar */
.home-footer-bottom {
    padding: 28px 0;
    display: grid;
    grid-template-columns: 1fr;
}
.home-footer-bottom-row {
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: 16px;
    font-family: 'JetBrains Mono', monospace;
    font-size: 11px;
    letter-spacing: 0.12em;
    text-transform: uppercase;
    color: #707070;
}
.home-footer-bottom-row .left {
    display: flex;
    align-items: center;
    gap: 14px;
    flex-wrap: wrap;
}
.home-footer-bottom-row .left .sep { color: #404040; }
.home-footer-bottom-row .right {
    display: flex;
    gap: 24px;
}
.home-footer-bottom-row .right a {
    color: #909090;
    text-decoration: none;
}
.home-footer-bottom-row .right a:hover { color: #ffffff; }

/* Big watermark glyph behind brand */
.home-footer-watermark {
    position: absolute;
    right: -120px;
    top: 50%;
    transform: translateY(-50%);
    width: 600px; height: 600px;
    color: #1a1a1a;
    pointer-events: none;
    z-index: 0;
}
.home-footer-watermark svg { width: 100%; height: 100%; display: block; }
.home-footer > .home-footer-cta,
.home-footer > .home-footer-body,
.home-footer > .home-footer-bottom { position: relative; z-index: 1; }

@media (max-width: 1024px) {
    .home-footer-cta-body { grid-template-columns: 1fr; gap: 32px; align-items: start; }
    .home-footer-cta-actions { align-items: flex-start; flex-direction: row-reverse; gap: 20px; align-items: center; }
    .home-footer-body-grid { grid-template-columns: 1fr; gap: 56px; }
    .home-footer-links { grid-template-columns: repeat(2, 1fr); gap: 32px; }
    .home-footer-watermark { display: none; }
}
@media (max-width: 560px) {
    .home-footer-inner { padding: 0 24px; }
    .home-footer-cta { padding: 64px 0; }
    .home-footer-body { padding: 56px 0 40px; }
    .home-footer-links { grid-template-columns: 1fr; }
    .home-footer-cta h2 { font-size: 2rem; }
    .home-footer-bottom-row { flex-direction: column; align-items: flex-start; }
}

/* ── QONTOS-1 NOVERA-STYLE MODULE (q1n-*) ──────────────────── */
body.q1-page { background: #ffffff; color: #111111; }
body.q1-page .container { max-width: 1280px; padding: 0 48px; margin: 0 auto; }
body.q1-page h1, body.q1-page h2, body.q1-page h3, body.q1-page h4 {
    color: #0a0a0a; letter-spacing: -0.025em;
}

.q1n-section { padding: 120px 0; }
.q1n-section.tight { padding: 72px 0; }
.q1n-section.alt { background: #0a0a0a; color: #ffffff; }
.q1n-section.alt h2, .q1n-section.alt h3, .q1n-section.alt h4 { color: #ffffff; }
.q1n-section.alt p { color: #b8b8b8; }
.q1n-section.shade { background: #fafafa; }

.q1n-eyebrow {
    display: inline-block;
    font-family: 'JetBrains Mono', monospace;
    font-size: 12px;
    letter-spacing: 0.22em;
    text-transform: uppercase;
    color: #707070;
    margin-bottom: 20px;
}
.q1n-section.alt .q1n-eyebrow { color: #909090; }

/* Hero */
.q1n-hero {
    padding: 160px 0 0;
    background: #ffffff;
    border-bottom: 1px solid #e3e3e3;
}
.q1n-hero-inner {
    display: grid;
    grid-template-columns: 1fr;
    gap: 56px;
}
.q1n-hero h1 {
    font-size: clamp(3.6rem, 8vw, 6.8rem);
    font-weight: 500;
    line-height: 0.98;
    letter-spacing: -0.035em;
    margin: 0 0 24px;
    max-width: 18ch;
}
.q1n-hero-lead {
    font-size: clamp(1.15rem, 1.8vw, 1.4rem);
    line-height: 1.45;
    color: #404040;
    max-width: 640px;
    margin: 0 0 36px;
}
.q1n-hero-ctas {
    display: flex;
    flex-wrap: wrap;
    gap: 14px;
    margin-bottom: 64px;
}
.q1n-btn {
    display: inline-flex;
    align-items: center;
    gap: 12px;
    padding: 16px 28px;
    font-family: 'Inter Tight', sans-serif;
    font-size: 14px;
    font-weight: 500;
    letter-spacing: 0.02em;
    text-decoration: none;
    transition: all 0.2s ease;
    border: 1px solid #0a0a0a;
}
.q1n-btn.primary { background: #0a0a0a; color: #ffffff; }
.q1n-btn.primary:hover { background: #1a1a1a; }
.q1n-btn.secondary { background: transparent; color: #0a0a0a; }
.q1n-btn.secondary:hover { background: #f5f5f5; }
.q1n-btn .arrow {
    display: inline-block;
    width: 14px; height: 1.5px;
    background: currentColor;
    position: relative;
}
.q1n-btn .arrow::after {
    content: ""; position: absolute; right: 0; top: -3px;
    width: 7px; height: 7px;
    border-top: 1.5px solid currentColor;
    border-right: 1.5px solid currentColor;
    transform: rotate(45deg);
}

.q1n-hero-visual {
    background: #fafafa;
    border-top: 1px solid #e3e3e3;
    padding: 72px 48px 0;
}
.q1n-hero-visual svg {
    display: block;
    width: 100%;
    max-width: 1180px;
    margin: 0 auto;
    height: auto;
}

/* Tagline */
.q1n-tagline {
    padding: 120px 0;
    text-align: center;
    border-bottom: 1px solid #e3e3e3;
}
.q1n-tagline p {
    font-size: clamp(1.8rem, 3.4vw, 2.8rem);
    font-weight: 500;
    line-height: 1.18;
    letter-spacing: -0.03em;
    color: #0a0a0a;
    max-width: 22ch;
    margin: 0 auto;
}

/* Discover */
.q1n-discover {
    border-bottom: 1px solid #e3e3e3;
}
.q1n-discover-grid {
    display: grid;
    grid-template-columns: 1fr 1.4fr;
    gap: 80px;
    align-items: start;
}
.q1n-discover h2 {
    font-size: clamp(2rem, 3.4vw, 3rem);
    font-weight: 500;
    line-height: 1.06;
    letter-spacing: -0.025em;
    margin: 0;
}
.q1n-discover-body p {
    font-size: 17px;
    line-height: 1.55;
    color: #404040;
    margin: 0 0 24px;
}
.q1n-discover-link {
    font-family: 'JetBrains Mono', monospace;
    font-size: 13px;
    letter-spacing: 0.16em;
    text-transform: uppercase;
    text-decoration: none;
    color: #0a0a0a;
    border-bottom: 1px solid #0a0a0a;
    padding-bottom: 4px;
}

/* "It's a lot to process" features */
.q1n-features-hero {
    padding: 0;
    background: #0a0a0a;
    border: 1px solid #0a0a0a;
}
.q1n-features-hero svg {
    display: block;
    width: 100%;
    height: auto;
}
.q1n-features-intro {
    max-width: 760px;
    margin-top: 64px;
}
.q1n-features-intro h2 {
    font-size: clamp(2rem, 3.4vw, 3rem);
    font-weight: 500;
    line-height: 1.08;
    letter-spacing: -0.025em;
    margin: 0 0 20px;
}
.q1n-features-intro p {
    font-size: 17px;
    line-height: 1.55;
    color: #404040;
    margin: 0;
}
.q1n-features-grid {
    display: grid;
    grid-template-columns: repeat(5, 1fr);
    gap: 0;
    margin-top: 72px;
    border-top: 1px solid #e3e3e3;
    border-bottom: 1px solid #e3e3e3;
}
.q1n-feature {
    padding: 36px 28px 36px 0;
    border-right: 1px solid #e3e3e3;
}
.q1n-feature:last-child { border-right: none; padding-right: 0; }
.q1n-feature:not(:first-child) { padding-left: 28px; }
.q1n-feature h3 {
    font-size: 18px;
    font-weight: 600;
    margin: 0 0 14px;
    color: #0a0a0a;
    line-height: 1.25;
}
.q1n-feature p {
    font-size: 13.5px;
    line-height: 1.6;
    color: #505050;
    margin: 0;
}

/* QONTOS family tabs */
.q1n-family-head {
    display: grid;
    grid-template-columns: 1fr 1.2fr;
    gap: 64px;
    align-items: end;
    margin-bottom: 48px;
}
.q1n-family-head h2 {
    font-size: clamp(2rem, 3.4vw, 3rem);
    font-weight: 500;
    line-height: 1.06;
    letter-spacing: -0.025em;
    margin: 0;
}
.q1n-family-head p {
    font-size: 16px;
    line-height: 1.55;
    color: #404040;
    margin: 0;
}
.q1n-family-tabs {
    display: flex;
    gap: 0;
    border-bottom: 1px solid #e3e3e3;
    margin-bottom: 0;
    overflow-x: auto;
}
.q1n-family-tab {
    padding: 18px 28px;
    background: none;
    border: none;
    cursor: pointer;
    font-family: 'JetBrains Mono', monospace;
    font-size: 13px;
    letter-spacing: 0.14em;
    color: #707070;
    border-bottom: 2px solid transparent;
    margin-bottom: -1px;
    transition: all 0.2s ease;
    white-space: nowrap;
}
.q1n-family-tab:hover { color: #0a0a0a; }
.q1n-family-tab.active {
    color: #0a0a0a;
    border-bottom-color: #0a0a0a;
}
.q1n-family-panel {
    display: none;
    padding: 56px 0;
}
.q1n-family-panel.active { display: block; }
.q1n-family-spec-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 0;
    border-top: 1px solid #e3e3e3;
}
.q1n-family-spec {
    padding: 32px 28px 32px 0;
    border-right: 1px solid #e3e3e3;
    border-bottom: 1px solid #e3e3e3;
}
.q1n-family-spec:nth-child(4n) { border-right: none; padding-right: 0; }
.q1n-family-spec:not(:nth-child(4n+1)) { padding-left: 28px; }
.q1n-family-spec-label {
    font-family: 'JetBrains Mono', monospace;
    font-size: 11px;
    letter-spacing: 0.16em;
    color: #707070;
    margin-bottom: 12px;
    text-transform: uppercase;
}
.q1n-family-spec-value {
    font-size: 28px;
    font-weight: 500;
    color: #0a0a0a;
    font-variant-numeric: tabular-nums;
    line-height: 1.05;
    letter-spacing: -0.015em;
}
.q1n-family-spec-note {
    font-size: 12.5px;
    color: #707070;
    margin-top: 6px;
}

/* Advance band */
.q1n-advance {
    border-top: 1px solid #e3e3e3;
    border-bottom: 1px solid #e3e3e3;
}
.q1n-advance-inner {
    display: grid;
    grid-template-columns: 1.2fr 1fr;
    gap: 64px;
    align-items: center;
}
.q1n-advance h2 {
    font-size: clamp(2rem, 3.6vw, 3rem);
    font-weight: 500;
    line-height: 1.06;
    letter-spacing: -0.025em;
    margin: 0 0 24px;
}
.q1n-advance p {
    font-size: 16px;
    line-height: 1.55;
    color: #404040;
    margin: 0 0 28px;
}

/* Closer look (anatomy) */
.q1n-closer-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 64px;
    align-items: stretch;
    margin-top: 48px;
}
.q1n-closer-visual {
    background: #fafafa;
    border: 1px solid #e3e3e3;
    padding: 32px;
    display: flex;
    align-items: center;
    justify-content: center;
}
.q1n-closer-visual svg {
    display: block;
    width: 100%;
    height: auto;
    max-height: 100%;
}
.q1n-callouts {
    display: flex;
    flex-direction: column;
    gap: 0;
}
.q1n-callout-row {
    padding: 24px 0;
    border-bottom: 1px solid #e3e3e3;
}
.q1n-callout-row:first-child { padding-top: 0; }
.q1n-callout-row:last-child { border-bottom: none; }
.q1n-callout-tag {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    background: #0a0a0a;
    width: 32px;
    height: 32px;
    padding: 0;
    margin-bottom: 14px;
}
.q1n-callout-tag svg {
    width: 16px;
    height: 16px;
    display: block;
}
.q1n-callout-tag svg * { stroke: #ffffff; fill: none; }
.q1n-callout-tag svg .solid { fill: #ffffff; stroke: none; }
.q1n-callout-row h4 {
    font-size: 18px;
    font-weight: 600;
    margin: 0 0 6px;
    color: #0a0a0a;
}
.q1n-callout-row p {
    font-size: 14px;
    line-height: 1.6;
    color: #505050;
    margin: 0;
}

/* QIC side-by-side */
.q1n-qic-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 48px;
    margin-top: 48px;
}
.q1n-qic-card {
    background: #ffffff;
    border: 1px solid #e3e3e3;
    padding: 40px;
    display: flex;
    flex-direction: column;
}
.q1n-qic-card .reqs {
    margin-top: auto;
}
.q1n-qic-card .visual {
    background: #fafafa;
    border: 1px solid #e3e3e3;
    padding: 24px;
    margin-bottom: 28px;
}
.q1n-qic-card .visual svg {
    display: block;
    width: 100%;
    height: auto;
}
.q1n-qic-card h3 {
    font-size: 22px;
    font-weight: 600;
    margin: 0 0 18px;
    color: #0a0a0a;
}
.q1n-qic-card ul {
    list-style: none;
    margin: 0 0 24px;
    padding: 0;
}
.q1n-qic-card ul li {
    font-size: 14px;
    line-height: 1.6;
    color: #404040;
    padding-left: 22px;
    position: relative;
    margin-bottom: 8px;
}
.q1n-qic-card ul li::before {
    content: "";
    position: absolute;
    left: 0; top: 9px;
    width: 6px; height: 6px;
    background: #0a0a0a;
    border-radius: 50%;
}
.q1n-qic-card .reqs {
    background: #fafafa;
    padding: 20px;
    border-left: 2px solid #0a0a0a;
}
.q1n-qic-card .reqs-label {
    font-family: 'JetBrains Mono', monospace;
    font-size: 11px;
    letter-spacing: 0.16em;
    color: #707070;
    margin-bottom: 10px;
}
.q1n-qic-card .reqs ul li { font-family: 'JetBrains Mono', monospace; font-size: 12.5px; }

/* Operating */
.q1n-operate-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 48px;
    margin-top: 56px;
}
.q1n-operate-card h3 {
    font-size: 18px;
    font-weight: 600;
    margin: 0 0 18px;
    color: #0a0a0a;
    padding-bottom: 14px;
    border-bottom: 1px solid #0a0a0a;
}
.q1n-operate-card p {
    font-size: 14px;
    line-height: 1.65;
    color: #404040;
    margin: 0 0 14px;
}
.q1n-operate-card ul {
    list-style: none;
    margin: 0;
    padding: 0;
}
.q1n-operate-card ul li {
    font-size: 14px;
    line-height: 1.55;
    color: #404040;
    padding-left: 24px;
    position: relative;
    margin-bottom: 12px;
}
.q1n-operate-card ul li::before {
    content: "";
    position: absolute;
    left: 0;
    top: 6px;
    width: 12px;
    height: 12px;
    background-repeat: no-repeat;
    background-position: center;
    background-size: contain;
}
/* Deliverables: chip-die corner mark (chamfered square) */
.q1n-operate-card[data-type="deliverables"] ul li::before {
    background-image: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 12 12'><path d='M 0 0 L 9 0 L 12 3 L 12 12 L 3 12 L 0 9 Z' fill='%230a0a0a'/><path d='M 0 0 L 9 0 L 12 3 L 12 12 L 3 12 L 0 9 Z' fill='none' stroke='%230a0a0a' stroke-width='0.6'/></svg>");
}
/* Facility envelope: precision caliper bracket */
.q1n-operate-card[data-type="facility"] ul li::before {
    background-image: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 12 12'><rect x='0.5' y='1' width='2' height='10' fill='%230a0a0a'/><rect x='9.5' y='1' width='2' height='10' fill='%230a0a0a'/><rect x='2.5' y='5' width='7' height='2' fill='%230a0a0a'/></svg>");
}
/* Execution pathway: forward chevron with stem */
.q1n-operate-card[data-type="execution"] ul li::before {
    background-image: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 12 12'><path d='M 1 5 L 7 5 L 7 2 L 12 6 L 7 10 L 7 7 L 1 7 Z' fill='%230a0a0a'/></svg>");
}
.q1n-operate-cta {
    margin-top: 56px;
    text-align: center;
}

/* Pre-register form */
.q1n-register-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 80px;
    align-items: start;
}
.q1n-register h2 {
    font-size: clamp(2rem, 3.4vw, 3rem);
    font-weight: 500;
    line-height: 1.06;
    letter-spacing: -0.025em;
    margin: 0 0 24px;
}
.q1n-register p {
    font-size: 17px;
    line-height: 1.55;
    color: #b8b8b8;
    margin: 0;
}
.q1n-register-form {
    display: flex;
    flex-direction: column;
    gap: 18px;
}
.q1n-register-form label {
    display: block;
    font-family: 'JetBrains Mono', monospace;
    font-size: 11px;
    letter-spacing: 0.16em;
    text-transform: uppercase;
    color: #909090;
    margin-bottom: 8px;
}
.q1n-register-form input,
.q1n-register-form select {
    display: block;
    width: 100%;
    padding: 14px 18px;
    font-family: 'Inter Tight', sans-serif;
    font-size: 14px;
    background: #161616;
    border: 1px solid #303030;
    color: #ffffff;
    border-radius: 0;
}
.q1n-register-form input:focus,
.q1n-register-form select:focus {
    outline: none;
    border-color: #ffffff;
}
.q1n-register-form-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 18px;
}
.q1n-register-form button {
    margin-top: 12px;
    padding: 18px 36px;
    background: #ffffff;
    color: #0a0a0a;
    border: 1px solid #ffffff;
    font-family: 'Inter Tight', sans-serif;
    font-size: 14px;
    font-weight: 600;
    letter-spacing: 0.05em;
    text-transform: uppercase;
    cursor: pointer;
    align-self: flex-start;
    transition: all 0.2s ease;
}
.q1n-register-form button:hover { background: transparent; color: #ffffff; }

/* Ecosystem */
.q1n-ecosystem-row {
    display: grid;
    grid-template-columns: 1fr 1.2fr;
    gap: 64px;
    align-items: center;
    padding: 80px 0;
    border-bottom: 1px solid #e3e3e3;
}
.q1n-ecosystem-row:last-of-type { border-bottom: none; }
.q1n-ecosystem-row .visual {
    background: #fafafa;
    border: 1px solid #e3e3e3;
    padding: 32px;
    aspect-ratio: 4 / 3;
    display: flex;
    align-items: center;
    justify-content: center;
}
.q1n-ecosystem-row .visual svg {
    display: block;
    width: 100%;
    height: auto;
}
.q1n-ecosystem-row h3 {
    font-size: clamp(1.5rem, 2.4vw, 2rem);
    font-weight: 500;
    line-height: 1.1;
    letter-spacing: -0.02em;
    margin: 0 0 18px;
}
.q1n-ecosystem-row .body p {
    font-size: 15px;
    line-height: 1.6;
    color: #404040;
    margin: 0 0 16px;
}
.q1n-ecosystem-row .body h4 {
    font-size: 14px;
    font-weight: 600;
    margin: 20px 0 6px;
    color: #0a0a0a;
}

/* Partner program */
.q1n-partner-category {
    border-top: 1px solid #e3e3e3;
    padding: 48px 0;
}
.q1n-partner-category:first-of-type { border-top: none; padding-top: 24px; }
.q1n-partner-category-head {
    display: grid;
    grid-template-columns: 1fr 2fr;
    gap: 48px;
    align-items: start;
    min-width: 0;
}
.q1n-partner-category-head h3 {
    font-size: 22px;
    font-weight: 600;
    margin: 0 0 12px;
    color: #0a0a0a;
}
.q1n-partner-category-head p {
    font-size: 14px;
    line-height: 1.6;
    color: #505050;
    margin: 0;
}
.q1n-partner-logos {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 0;
    margin-top: 24px;
    border: 1px solid #e3e3e3;
    min-width: 0;
    overflow: hidden;
}
.q1n-partner-logo {
    padding: 28px;
    border-right: 1px solid #e3e3e3;
    text-align: center;
    font-family: 'JetBrains Mono', monospace;
    font-size: 13px;
    letter-spacing: 0.1em;
    color: #707070;
    background: #ffffff;
    aspect-ratio: 3 / 1;
    display: flex;
    align-items: center;
    justify-content: center;
    min-width: 0;
}
.q1n-partner-logo svg { max-width: 100%; }
.q1n-partner-logo:last-child { border-right: none; }

/* News */
.q1n-news-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 32px;
    margin-top: 48px;
}
.q1n-news-card {
    background: #ffffff;
    border: 1px solid #e3e3e3;
    padding: 32px;
    display: flex;
    flex-direction: column;
    height: 100%;
}
.q1n-news-date {
    font-family: 'JetBrains Mono', monospace;
    font-size: 11px;
    letter-spacing: 0.18em;
    color: #707070;
    margin-bottom: 16px;
}
.q1n-news-card h3 {
    font-size: 17px;
    font-weight: 500;
    line-height: 1.3;
    margin: 0 0 16px;
    color: #0a0a0a;
}
.q1n-news-card p {
    font-size: 14px;
    line-height: 1.55;
    color: #505050;
    margin: 0 0 20px;
    flex: 1;
}
.q1n-news-source {
    font-family: 'JetBrains Mono', monospace;
    font-size: 11px;
    letter-spacing: 0.14em;
    text-transform: uppercase;
    color: #909090;
    margin-bottom: 8px;
}
.q1n-news-link {
    font-family: 'JetBrains Mono', monospace;
    font-size: 12px;
    letter-spacing: 0.16em;
    text-transform: uppercase;
    color: #0a0a0a;
    text-decoration: none;
    border-bottom: 1px solid #0a0a0a;
    padding-bottom: 3px;
    align-self: flex-start;
}

/* About closer */
.q1n-about p {
    font-size: 17px;
    line-height: 1.6;
    color: #404040;
    max-width: 760px;
    margin: 0 0 28px;
}

/* Responsive */
@media (max-width: 1024px) {
    .q1n-features-grid { grid-template-columns: repeat(2, 1fr); }
    .q1n-feature { padding: 28px !important; border-right: 1px solid #e3e3e3; }
    .q1n-family-spec-grid { grid-template-columns: repeat(2, 1fr); }
    .q1n-discover-grid, .q1n-closer-grid, .q1n-qic-grid, .q1n-register-grid, .q1n-advance-inner, .q1n-family-head, .q1n-ecosystem-row, .q1n-partner-category-head {
        grid-template-columns: 1fr; gap: 32px;
    }
    .q1n-operate-grid, .q1n-news-grid { grid-template-columns: 1fr; }
    .q1n-partner-logos { grid-template-columns: repeat(2, 1fr); }
}

/* ── PLATFORM PAGE MODULE (plt-*) ──────────────────────────── */

/* Tabs interface */
.plt-tabs {
    display: flex;
    gap: 0;
    border-bottom: 1px solid #e3e3e3;
    margin-top: 28px;
    overflow-x: auto;
}
.plt-tab {
    padding: 18px 24px;
    background: none;
    border: none;
    border-bottom: 2px solid transparent;
    margin-bottom: -1px;
    cursor: pointer;
    font-family: 'JetBrains Mono', monospace;
    font-size: 13px;
    letter-spacing: 0.14em;
    color: #707070;
    white-space: nowrap;
    transition: all 0.2s ease;
}
.plt-tab:hover { color: #0a0a0a; }
.plt-tab.active {
    color: #0a0a0a;
    border-bottom-color: #0a0a0a;
}
.plt-tab-panel { display: none; padding-top: 28px; }
.plt-tab-panel.active { display: grid; }

/* Multi-tab code playground */
.plt-playground-panel {
    grid-template-columns: 1fr 1.4fr;
    gap: 48px;
    align-items: start;
}
.plt-playground-desc h3 {
    font-size: 22px;
    font-weight: 600;
    margin: 0 0 12px;
    color: #0a0a0a;
}
.plt-playground-desc p {
    font-size: 14.5px;
    line-height: 1.65;
    color: #404040;
    margin: 0 0 16px;
}
.plt-playground-desc dl {
    margin: 16px 0 0;
    display: grid;
    grid-template-columns: 140px 1fr;
    gap: 10px 16px;
}
.plt-playground-desc dt {
    font-family: 'JetBrains Mono', monospace;
    font-size: 11px;
    letter-spacing: 0.14em;
    color: #707070;
    text-transform: uppercase;
}
.plt-playground-desc dd {
    font-family: 'JetBrains Mono', monospace;
    font-size: 12px;
    color: #0a0a0a;
    margin: 0;
}
.plt-playground-code {
    background: #0a0a0a;
    color: #e0e0e0;
    padding: 28px 32px;
    font-family: 'JetBrains Mono', monospace;
    font-size: 12.5px;
    line-height: 1.7;
    overflow-x: auto;
    white-space: pre;
}
.plt-playground-code .c { color: #888; }
.plt-playground-code .v { color: #ffffff; }
.plt-playground-code .s { color: #c8c8c8; }

/* CLI terminal */
.plt-cli {
    background: #0a0a0a;
    color: #e0e0e0;
    font-family: 'JetBrains Mono', monospace;
    font-size: 13px;
    line-height: 1.65;
    padding: 0;
    margin-top: 28px;
    border: 1px solid #0a0a0a;
}
.plt-cli-bar {
    display: flex;
    align-items: center;
    padding: 10px 16px;
    background: #161616;
    border-bottom: 1px solid #303030;
    font-size: 11px;
    letter-spacing: 0.14em;
    color: #707070;
    gap: 8px;
}
.plt-cli-bar .dot {
    width: 10px; height: 10px; border-radius: 50%;
    background: #444; flex-shrink: 0;
}
.plt-cli-bar .dot.r { background: #555; }
.plt-cli-bar .dot.y { background: #555; }
.plt-cli-bar .dot.g { background: #555; }
.plt-cli-bar .title { margin-left: 12px; }
.plt-cli pre {
    margin: 0;
    padding: 22px 24px;
    white-space: pre;
    overflow-x: auto;
}
.plt-cli .p { color: #888; }
.plt-cli .cmd { color: #ffffff; }
.plt-cli .ok { color: #b8b8b8; }
.plt-cli .em { color: #ffffff; font-weight: 600; }

/* Integration matrix */
.plt-matrix {
    margin-top: 28px;
    background: #ffffff;
    border: 1px solid #e3e3e3;
    overflow-x: auto;
}
.plt-matrix table {
    width: 100%;
    border-collapse: collapse;
    font-size: 13px;
}
.plt-matrix th, .plt-matrix td {
    padding: 16px 20px;
    text-align: left;
    border-bottom: 1px solid #e3e3e3;
    border-right: 1px solid #e3e3e3;
}
.plt-matrix th:last-child, .plt-matrix td:last-child { border-right: none; }
.plt-matrix th {
    font-family: 'JetBrains Mono', monospace;
    font-size: 11px;
    letter-spacing: 0.18em;
    color: #707070;
    text-transform: uppercase;
    font-weight: 500;
    background: #fafafa;
}
.plt-matrix td.label {
    font-family: 'JetBrains Mono', monospace;
    font-size: 12px;
    color: #0a0a0a;
    font-weight: 600;
    letter-spacing: 0.04em;
}
.plt-matrix td.cell { text-align: center; }
.plt-matrix .cap {
    display: inline-block;
    padding: 4px 10px;
    font-family: 'JetBrains Mono', monospace;
    font-size: 10px;
    letter-spacing: 0.14em;
}
.plt-matrix .cap.full { background: #0a0a0a; color: #ffffff; }
.plt-matrix .cap.partial { background: #ffffff; color: #0a0a0a; border: 1px solid #0a0a0a; }
.plt-matrix .cap.none { color: #999; font-style: italic; }



/* Hero 2-col */
.plt-hero { padding: 132px 0 80px; }
.plt-hero-grid {
    display: grid;
    grid-template-columns: 1.05fr 1fr;
    gap: 64px;
    align-items: center;
}
.plt-hero-text h1 {
    font-size: clamp(2.6rem, 4.4vw, 4rem);
    font-weight: 500;
    line-height: 1.02;
    letter-spacing: -0.035em;
    margin: 18px 0 24px;
    max-width: 14ch;
    color: #0a0a0a;
}
.plt-hero-text .q1n-hero-lead { max-width: 560px; margin-bottom: 32px; }
.plt-hero-visual {
    background: #fafafa;
    border: 1px solid #e3e3e3;
    padding: 32px;
}
.plt-hero-visual svg { display: block; width: 100%; height: auto; }

/* Metrics row */
.plt-metrics {
    display: grid;
    grid-template-columns: repeat(5, 1fr);
    margin-top: 28px;
    border-top: 1px solid #0a0a0a;
    border-bottom: 1px solid #e3e3e3;
}
.plt-metric {
    padding: 28px 24px;
    border-right: 1px solid #e3e3e3;
    background: #ffffff;
}
.plt-metric:last-child { border-right: none; }
.plt-metric .lbl {
    font-family: 'JetBrains Mono', monospace;
    font-size: 10px;
    letter-spacing: 0.18em;
    color: #707070;
    margin-bottom: 10px;
}
.plt-metric .val {
    font-family: 'Inter Tight', sans-serif;
    font-size: 28px;
    font-weight: 500;
    color: #0a0a0a;
    line-height: 1.05;
    letter-spacing: -0.015em;
    font-variant-numeric: tabular-nums;
}
.plt-metric .note {
    font-size: 12.5px;
    color: #707070;
    margin-top: 6px;
}

/* Full-width figure shells */
.plt-figure {
    margin-top: 28px;
    background: #ffffff;
    border: 1px solid #e3e3e3;
    padding: 32px;
}
.plt-figure.shade { background: #fafafa; }
.plt-figure svg { display: block; width: 100%; height: auto; }

/* Partition strategy cards */
.plt-strategy-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 24px;
    margin-top: 28px;
}
.plt-strategy {
    background: #ffffff;
    border: 1px solid #e3e3e3;
    padding: 28px;
    display: flex;
    flex-direction: column;
}
.plt-strategy.default {
    border-color: #0a0a0a;
    box-shadow: 0 0 0 1px #0a0a0a inset;
}
.plt-strategy .tag {
    font-family: 'JetBrains Mono', monospace;
    font-size: 11px;
    letter-spacing: 0.18em;
    color: #707070;
    margin-bottom: 12px;
}
.plt-strategy h4 {
    font-size: 18px;
    font-weight: 600;
    margin: 0 0 8px;
    color: #0a0a0a;
}
.plt-strategy .complexity {
    font-family: 'JetBrains Mono', monospace;
    font-size: 11px;
    color: #707070;
    margin-bottom: 16px;
}
.plt-strategy .vis {
    background: #fafafa;
    border: 1px solid #e3e3e3;
    padding: 14px;
    margin-bottom: 16px;
}
.plt-strategy .vis svg { display: block; width: 100%; height: auto; }
.plt-strategy p {
    font-size: 13.5px;
    line-height: 1.6;
    color: #404040;
    margin: 0;
}

/* Repository grid */
.plt-repo-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 24px;
    margin-top: 28px;
}
.plt-repo {
    background: #ffffff;
    border: 1px solid #e3e3e3;
    padding: 28px;
    display: flex;
    flex-direction: column;
}
.plt-repo .repo-icon {
    width: 28px; height: 28px;
    background: #0a0a0a;
    display: inline-block;
    margin-bottom: 16px;
    clip-path: polygon(0 0, 80% 0, 100% 20%, 100% 100%, 0 100%);
}
.plt-repo h4 {
    font-family: 'JetBrains Mono', monospace;
    font-size: 14px;
    font-weight: 600;
    margin: 0 0 8px;
    letter-spacing: 0.04em;
    color: #0a0a0a;
}
.plt-repo .meta {
    font-family: 'JetBrains Mono', monospace;
    font-size: 11px;
    letter-spacing: 0.14em;
    color: #707070;
    margin-bottom: 16px;
}
.plt-repo p {
    font-size: 13.5px;
    line-height: 1.6;
    color: #404040;
    margin: 0 0 16px;
    flex: 1;
}
.plt-repo .link {
    font-family: 'JetBrains Mono', monospace;
    font-size: 12px;
    letter-spacing: 0.16em;
    color: #0a0a0a;
    text-decoration: none;
    border-bottom: 1px solid #0a0a0a;
    padding-bottom: 3px;
    align-self: flex-start;
}

/* Quickstart code block */
.plt-quick-grid {
    display: grid;
    grid-template-columns: 1fr 1.4fr;
    gap: 48px;
    margin-top: 28px;
    align-items: start;
}
.plt-quick-text h3 {
    font-size: 22px;
    font-weight: 600;
    margin: 0 0 10px;
    color: #0a0a0a;
}
.plt-quick-text p {
    font-size: 14.5px;
    line-height: 1.65;
    color: #404040;
    margin: 0 0 18px;
}
.plt-quick-text .install {
    background: #0a0a0a;
    color: #e0e0e0;
    padding: 14px 18px;
    font-family: 'JetBrains Mono', monospace;
    font-size: 13px;
    line-height: 1.5;
    margin-bottom: 24px;
}
.plt-quick-text .install .c { color: #888; }
.plt-quick-code {
    background: #0a0a0a;
    color: #e0e0e0;
    padding: 28px 32px;
    font-family: 'JetBrains Mono', monospace;
    font-size: 13px;
    line-height: 1.7;
    overflow-x: auto;
}
.plt-quick-code .c { color: #888; }
.plt-quick-code .k { color: #c8c8c8; }
.plt-quick-code .v { color: #ffffff; }

/* Responsive */
@media (max-width: 1024px) {
    .plt-hero-grid { grid-template-columns: 1fr; gap: 40px; }
    .plt-metrics { grid-template-columns: repeat(2, 1fr); }
    .plt-strategy-grid, .plt-repo-grid { grid-template-columns: 1fr; }
    .plt-quick-grid { grid-template-columns: 1fr; gap: 28px; }
}

/* ── ROADMAP PAGE MODULE (rmp-*) ───────────────────────────── */

.rmp-gen .gen-body .gen-diagram {
    background: #fafafa;
    border: 1px solid #e3e3e3;
    padding: 20px;
    margin-bottom: 24px;
}
.rmp-gen .gen-body .gen-diagram svg {
    display: block;
    width: 100%;
    height: auto;
}

.rmp-matrix {
    margin-top: 28px;
    background: #ffffff;
    border: 1px solid #e3e3e3;
    padding: 32px;
}
.rmp-matrix svg { display: block; width: 100%; height: auto; }


/* Roadmap hero: 2-column with text left, vertical family-arc visual right */
.rmp-hero { padding: 132px 0 72px; }
.rmp-hero-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 64px;
    align-items: center;
}
.rmp-hero-text h1 {
    font-size: clamp(2.6rem, 4.4vw, 4rem);
    font-weight: 500;
    line-height: 1.02;
    letter-spacing: -0.035em;
    margin: 18px 0 24px;
    max-width: 14ch;
}
.rmp-hero-text .q1n-hero-lead { max-width: 560px; margin-bottom: 32px; }
.rmp-hero-visual {
    background: #fafafa;
    border: 1px solid #e3e3e3;
    padding: 32px;
}
.rmp-hero-visual svg { display: block; width: 100%; height: auto; }

@media (max-width: 1024px) {
    .rmp-hero-grid { grid-template-columns: 1fr; gap: 40px; }
}


/* Generations-at-a-glance grid */
.rmp-glance {
    margin-top: 28px;
    display: grid;
    grid-template-columns: repeat(5, 1fr);
    gap: 0;
    border-top: 1px solid #0a0a0a;
    border-bottom: 1px solid #e3e3e3;
}
.rmp-glance-card {
    padding: 28px 24px;
    border-right: 1px solid #e3e3e3;
    background: #ffffff;
}
.rmp-glance-card:last-child { border-right: none; }
.rmp-glance-card .gen {
    font-family: 'JetBrains Mono', monospace;
    font-size: 11px;
    letter-spacing: 0.18em;
    color: #707070;
    margin-bottom: 10px;
}
.rmp-glance-card .role {
    font-size: 16px;
    font-weight: 600;
    color: #0a0a0a;
    line-height: 1.25;
    margin-bottom: 14px;
    min-height: 40px;
}
.rmp-glance-card .stat {
    display: flex;
    justify-content: space-between;
    font-family: 'JetBrains Mono', monospace;
    font-size: 11px;
    color: #707070;
    padding: 6px 0;
    border-top: 1px solid #f0f0f0;
}
.rmp-glance-card .stat:last-of-type { border-bottom: 1px solid #f0f0f0; }
.rmp-glance-card .stat strong {
    color: #0a0a0a;
    font-weight: 600;
}
.rmp-glance-card .status {
    margin-top: 14px;
    display: inline-block;
    font-family: 'JetBrains Mono', monospace;
    font-size: 10px;
    letter-spacing: 0.16em;
    text-transform: uppercase;
    padding: 4px 10px;
}
.rmp-glance-card .status.target     { background: #0a0a0a; color: #ffffff; }
.rmp-glance-card .status.scenario   { background: #ffffff; color: #0a0a0a; border: 1px solid #0a0a0a; }
.rmp-glance-card .status.stretch    { background: #fafafa; color: #707070; border: 1px dashed #c0c0c0; }

/* Master timeline figure shell */
.rmp-timeline {
    margin-top: 28px;
    background: #ffffff;
    border: 1px solid #e3e3e3;
    padding: 32px;
}
.rmp-timeline svg { display: block; width: 100%; height: auto; }

/* Scaling figure shell */
.rmp-scaling {
    margin-top: 28px;
    background: #fafafa;
    border: 1px solid #e3e3e3;
    padding: 32px;
}
.rmp-scaling svg { display: block; width: 100%; height: auto; }

/* Per-generation detail cards */
.rmp-gen-stack {
    margin-top: 28px;
    display: grid;
    grid-template-columns: 1fr;
    gap: 0;
}
.rmp-gen {
    background: #ffffff;
    border: 1px solid #e3e3e3;
    border-bottom: none;
    padding: 40px;
    display: grid;
    grid-template-columns: 1.1fr 1.4fr;
    gap: 48px;
}
.rmp-gen:last-child { border-bottom: 1px solid #e3e3e3; }
.rmp-gen .gen-head .label {
    font-family: 'JetBrains Mono', monospace;
    font-size: 11px;
    letter-spacing: 0.18em;
    color: #707070;
    margin-bottom: 8px;
}
.rmp-gen .gen-head h3 {
    font-size: clamp(1.8rem, 3vw, 2.4rem);
    font-weight: 500;
    line-height: 1.05;
    letter-spacing: -0.025em;
    margin: 0 0 12px;
    color: #0a0a0a;
}
.rmp-gen .gen-head .role-line {
    font-size: 16px;
    color: #404040;
    line-height: 1.4;
    margin: 0 0 20px;
}
.rmp-gen .gen-head .status {
    display: inline-block;
    font-family: 'JetBrains Mono', monospace;
    font-size: 10px;
    letter-spacing: 0.18em;
    text-transform: uppercase;
    padding: 5px 12px;
    margin-bottom: 18px;
}
.rmp-gen .gen-head .status.target { background: #0a0a0a; color: #ffffff; }
.rmp-gen .gen-head .status.scenario { background: #ffffff; color: #0a0a0a; border: 1px solid #0a0a0a; }
.rmp-gen .gen-head .status.stretch { background: #fafafa; color: #707070; border: 1px dashed #c0c0c0; }
.rmp-gen .gen-head p {
    font-size: 14px;
    line-height: 1.65;
    color: #404040;
    margin: 0 0 0;
}
.rmp-gen .gen-body .specs {
    display: grid;
    grid-template-columns: 140px 1fr;
    gap: 12px 20px;
    font-size: 13.5px;
}
.rmp-gen .gen-body .specs dt {
    font-family: 'JetBrains Mono', monospace;
    font-size: 11px;
    letter-spacing: 0.14em;
    color: #707070;
    text-transform: uppercase;
    padding-top: 6px;
    border-top: 1px solid #f0f0f0;
}
.rmp-gen .gen-body .specs dd {
    color: #0a0a0a;
    margin: 0;
    padding-top: 6px;
    border-top: 1px solid #f0f0f0;
    line-height: 1.5;
}
.rmp-gen .gen-body .specs dd .mono { font-family: 'JetBrains Mono', monospace; }
.rmp-gen .gen-body .gate-strip {
    margin-top: 18px;
    padding-top: 16px;
    border-top: 1px solid #0a0a0a;
    font-family: 'JetBrains Mono', monospace;
    font-size: 11px;
    color: #0a0a0a;
    letter-spacing: 0.14em;
    text-transform: uppercase;
}

/* Status legend (3-up) */
.rmp-status-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 24px;
    margin-top: 28px;
}
.rmp-status-card {
    background: #ffffff;
    border: 1px solid #e3e3e3;
    padding: 28px;
}
.rmp-status-card.target { border-color: #0a0a0a; }
.rmp-status-card .key {
    display: inline-block;
    font-family: 'JetBrains Mono', monospace;
    font-size: 10px;
    letter-spacing: 0.18em;
    padding: 4px 10px;
    margin-bottom: 14px;
}
.rmp-status-card.target .key { background: #0a0a0a; color: #ffffff; }
.rmp-status-card.scenario .key { background: #ffffff; color: #0a0a0a; border: 1px solid #0a0a0a; }
.rmp-status-card.stretch .key { background: #fafafa; color: #707070; border: 1px dashed #c0c0c0; }
.rmp-status-card h3 {
    font-size: 18px;
    font-weight: 600;
    margin: 0 0 10px;
    color: #0a0a0a;
}
.rmp-status-card p {
    font-size: 14px;
    line-height: 1.65;
    color: #404040;
    margin: 0;
}

/* Workload mapping rows */
.rmp-workload {
    margin-top: 28px;
    border: 1px solid #e3e3e3;
    background: #ffffff;
}
.rmp-workload-row {
    display: grid;
    grid-template-columns: 140px 1.4fr 1fr;
    gap: 24px;
    padding: 22px 28px;
    border-bottom: 1px solid #e3e3e3;
    align-items: start;
}
.rmp-workload-row:last-child { border-bottom: none; }
.rmp-workload-row .gen-cell {
    font-family: 'JetBrains Mono', monospace;
    font-size: 12px;
    font-weight: 600;
    letter-spacing: 0.14em;
    color: #0a0a0a;
    text-transform: uppercase;
}
.rmp-workload-row .gen-cell .scale {
    display: block;
    font-weight: 400;
    color: #707070;
    margin-top: 4px;
    letter-spacing: 0.12em;
    font-size: 10px;
}
.rmp-workload-row .desc {
    font-size: 14px;
    line-height: 1.6;
    color: #0a0a0a;
}
.rmp-workload-row .examples {
    font-size: 12.5px;
    line-height: 1.55;
    color: #707070;
}
.rmp-workload-row .examples strong {
    color: #0a0a0a;
    font-weight: 600;
}

/* Responsive */
@media (max-width: 1024px) {
    .rmp-glance { grid-template-columns: repeat(2, 1fr); }
    .rmp-glance-card:nth-child(2n) { border-right: none; }
    .rmp-gen { grid-template-columns: 1fr; gap: 28px; }
    .rmp-status-grid { grid-template-columns: 1fr; }
    .rmp-workload-row { grid-template-columns: 1fr; gap: 12px; }
}

/* ── QONTOS-1 PAGE MODULE ──────────────────────────────────── */
.wp-page .q1-hero {
    padding: 132px 0 72px;
}
.q1-hero-grid {
    display: grid;
    grid-template-columns: 1.05fr 1fr;
    gap: 64px;
    align-items: center;
}
.q1-hero-text h1 {
    font-size: clamp(2.8rem, 5.4vw, 4rem);
    font-weight: 500;
    line-height: 1.04;
    letter-spacing: -0.025em;
    margin-bottom: 18px;
    color: #0a0a0a;
}
.q1-hero-text .q1-hero-sub {
    display: block;
    font-size: clamp(1.4rem, 2.4vw, 1.8rem);
    font-weight: 400;
    color: #404040;
    margin-top: 6px;
    letter-spacing: -0.015em;
}
.q1-hero-text .wp-deck {
    max-width: 540px;
    font-style: normal;
    font-size: 16.5px;
    color: #303030;
    line-height: 1.55;
}
.q1-hero-text .wp-banner-meta {
    margin-top: 36px;
}
.q1-hero-visual {
    background: #fafafa;
    border: 1px solid #e3e3e3;
    padding: 24px;
}
.q1-hero-visual svg {
    display: block;
    width: 100%;
    height: auto;
}

/* Metrics row */
.wp-page .q1-metrics {
    padding: 48px 0;
}
.q1-metrics-eyebrow {
    display: flex;
    justify-content: space-between;
    align-items: baseline;
    margin-bottom: 16px;
}
.q1-metrics-grid {
    display: grid;
    grid-template-columns: repeat(5, 1fr);
    border-top: 1px solid #0a0a0a;
    border-bottom: 1px solid #e3e3e3;
}
.q1-metric {
    padding: 28px 24px;
    border-right: 1px solid #e3e3e3;
}
.q1-metric:last-child { border-right: none; }
.q1-metric-eyebrow {
    font-family: 'JetBrains Mono', monospace;
    font-size: 10px;
    letter-spacing: 0.18em;
    color: #707070;
    margin-bottom: 12px;
}
.q1-metric-value {
    font-size: 30px;
    font-weight: 600;
    color: #0a0a0a;
    font-variant-numeric: tabular-nums;
    line-height: 1.1;
}
.q1-metric-note {
    font-size: 12px;
    color: #707070;
    margin-top: 6px;
}

/* Spec subsection eyebrow + intro */
.q1-spec-section {
    margin-top: 56px;
}
.q1-spec-eyebrow {
    font-family: 'JetBrains Mono', monospace;
    font-size: 11px;
    letter-spacing: 0.18em;
    color: #707070;
    text-transform: uppercase;
    display: block;
    margin-bottom: 8px;
}
.q1-spec-section h3 {
    font-size: 20px;
    font-weight: 600;
    margin: 6px 0 18px;
    color: #0a0a0a;
}

/* Acceptance gates timeline */
.q1-gates-timeline {
    margin-top: 28px;
    background: #ffffff;
    border: 1px solid #e3e3e3;
    padding: 24px;
}
.q1-gates-timeline svg {
    display: block;
    width: 100%;
    height: auto;
}

/* Engineering insight callout (reusable on this page) */
.q1-callout {
    margin-top: 48px;
    padding: 28px 32px;
    background: #ffffff;
    border: 1px solid #e3e3e3;
}
.q1-callout.dim { background: #fafafa; }
.q1-callout p {
    margin: 0;
    font-size: 14px;
    color: #404040;
    line-height: 1.7;
}
.q1-callout strong { color: #0a0a0a; }

/* Access cards with status badge */
.q1-access-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 24px;
    margin-top: 28px;
}
.q1-access-card {
    background: #ffffff;
    border: 1px solid #e3e3e3;
    padding: 28px;
    position: relative;
}
.q1-access-card.highlight {
    border-color: #0a0a0a;
    box-shadow: 0 0 0 1px #0a0a0a inset;
}
.q1-access-status {
    display: inline-block;
    font-family: 'JetBrains Mono', monospace;
    font-size: 10px;
    letter-spacing: 0.18em;
    text-transform: uppercase;
    color: #ffffff;
    background: #0a0a0a;
    padding: 4px 10px;
    margin-bottom: 16px;
}
.q1-access-status.future {
    color: #0a0a0a;
    background: #ffffff;
    border: 1px solid #0a0a0a;
}
.q1-access-card h3 {
    font-size: 18px;
    font-weight: 600;
    margin: 0 0 12px;
    color: #0a0a0a;
}
.q1-access-card p {
    font-size: 14px;
    line-height: 1.65;
    color: #404040;
    margin: 0;
}

/* ── RESPONSIVE ───────────────────────────────────────────── */
@media (max-width: 1024px) {
    .home-section-head { grid-template-columns: 1fr; gap: 16px; }
    .home-roadmap { grid-template-columns: 1fr; gap: 48px; }
    .home-integrations-inner { grid-template-columns: 1fr; gap: 32px; }
    .home-paper-inner { grid-template-columns: 1fr; gap: 32px; align-items: start; }
    .home-specband-grid { grid-template-columns: repeat(3, 1fr); }
    .home-specband-cell:nth-child(4) { border-left: none; padding-left: 0; }
    .home-specband-cell { padding-top: 32px; }
}
@media (max-width: 768px) {
    body.home .container { padding: 0 20px; }
    .home-hero { padding: 132px 0 72px; }
    .home-hero-ctas { margin-bottom: 56px; }
    .home-hero-footbar { flex-direction: column; align-items: flex-start; gap: 12px; }
    .home-specband-grid { grid-template-columns: repeat(2, 1fr); }
    .home-specband-cell:nth-child(3),
    .home-specband-cell:nth-child(5) { border-left: none; padding-left: 0; }
    .home-section { padding: 80px 0; }
    .home-domains { grid-template-columns: 1fr; }
    .home-domain + .home-domain { border-left: none; border-top: 1px solid #e3e3e3; }
    .home-paper { padding: 80px 0; }
    .home-integrations-row { grid-template-columns: repeat(2, 1fr); }
}


/* QONTOS-1 hero 2-column compact layout */
.q1n-hero.q1-hero-compact { padding: 132px 0 80px; }
.q1-hero-2col {
    display: grid;
    grid-template-columns: 1.05fr 1fr;
    gap: 64px;
    align-items: center;
}
.q1-hero-text h1 {
    font-size: clamp(2.6rem, 4.4vw, 4rem);
    font-weight: 500;
    line-height: 1.02;
    letter-spacing: -0.035em;
    margin: 18px 0 24px;
    max-width: 14ch;
    color: #0a0a0a;
}
.q1-hero-text .q1n-hero-lead { max-width: 560px; margin-bottom: 32px; }
.q1-hero-visual2 {
    background: #fafafa;
    border: 1px solid #e3e3e3;
    padding: 32px;
}
.q1-hero-visual2 svg { display: block; width: 100%; height: auto; }
@media (max-width: 1024px) {
    .q1-hero-2col { grid-template-columns: 1fr; gap: 40px; }
}


/* Per-generation callout (sits in gen-head left column) */
.rmp-gen-callout {
    margin-top: 24px;
    padding-top: 24px;
    border-top: 1px solid #0a0a0a;
}
.rmp-gen-callout .lbl {
    display: block;
    font-family: 'JetBrains Mono', monospace;
    font-size: 10px;
    letter-spacing: 0.18em;
    text-transform: uppercase;
    color: #707070;
    margin-bottom: 8px;
}
.rmp-gen-callout-row {
    margin-bottom: 22px;
}
.rmp-gen-callout-row .val {
    font-family: 'Inter Tight', sans-serif;
    font-size: 22px;
    font-weight: 600;
    color: #0a0a0a;
    line-height: 1.15;
    letter-spacing: -0.01em;
}
.rmp-gen-anchor {
    margin-bottom: 22px;
    padding-top: 16px;
    border-top: 1px solid #e3e3e3;
}
.rmp-gen-anchor dl {
    margin: 0;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 8px 16px;
}
.rmp-gen-anchor dt {
    font-family: 'JetBrains Mono', monospace;
    font-size: 9px;
    letter-spacing: 0.14em;
    color: #999;
    text-transform: uppercase;
    margin: 0;
}
.rmp-gen-anchor dd {
    font-family: 'JetBrains Mono', monospace;
    font-size: 11px;
    color: #0a0a0a;
    margin: 0;
    line-height: 1.35;
}
.rmp-gen-retires {
    padding-top: 16px;
    border-top: 1px solid #e3e3e3;
}
.rmp-gen-retires ul {
    list-style: none;
    padding: 0;
    margin: 0;
    display: flex;
    flex-direction: column;
    gap: 8px;
}
.rmp-gen-retires li {
    font-family: 'Inter Tight', sans-serif;
    font-size: 13px;
    color: #0a0a0a;
    padding-left: 18px;
    position: relative;
    line-height: 1.4;
}
.rmp-gen-retires li::before {
    content: "";
    position: absolute;
    left: 0;
    top: 6px;
    width: 10px;
    height: 10px;
    background: #0a0a0a;
    clip-path: polygon(0 0, 100% 0, 100% 70%, 70% 100%, 0 100%);
}

/* ============================== PLATFORM v3 · world-class additions ============================== */
.plt-arch svg { background: #fff; border: 1px solid #e6e6e6; }
.plt-compile-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 24px;
    margin-top: 40px;
}
.plt-compile-card {
    padding: 24px 22px;
    background: #fff;
    border: 1px solid #e6e6e6;
}
.plt-compile-card h3 {
    font-family: var(--font-display);
    font-size: 19px;
    line-height: 1.25;
    margin: 6px 0 10px;
    color: #111;
}
.plt-compile-card p { color: #555; font-size: 14px; line-height: 1.55; }
.plt-compile-card code {
    font-family: 'JetBrains Mono', monospace;
    font-size: 12px;
    color: #111;
    background: #f5f5f5;
    padding: 1px 6px;
    border: 1px solid #e6e6e6;
}
.plt-eyebrow {
    font-family: 'JetBrains Mono', monospace;
    font-size: 10px;
    letter-spacing: 2px;
    color: #888;
    margin: 0 0 8px;
    text-transform: uppercase;
}

/* Loop section grid */
.plt-loop-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 24px;
    margin-top: 36px;
}
.plt-loop-card {
    padding: 22px;
    background: #fff;
    border: 1px solid #e6e6e6;
}
.plt-loop-card h3 {
    font-family: var(--font-display);
    font-size: 18px;
    line-height: 1.3;
    margin: 6px 0 10px;
}
.plt-loop-card p { color: #555; font-size: 13.5px; line-height: 1.55; }
.plt-loop-card code {
    font-family: 'JetBrains Mono', monospace;
    font-size: 12px;
    background: #f5f5f5;
    padding: 1px 6px;
    border: 1px solid #e6e6e6;
}

/* Proof chain grid */
.plt-proof-grid {
    display: grid;
    grid-template-columns: minmax(0, 1.1fr) minmax(0, 1fr);
    gap: 24px;
    margin-top: 36px;
}
.plt-proof-doc {
    background: #0f0f0f;
    padding: 22px 24px;
    border: 1px solid #0f0f0f;
}
.plt-proof-doc .plt-eyebrow { color: #888; }
.plt-proof-doc pre {
    margin: 8px 0 0;
    padding: 0;
    background: transparent;
}
.plt-proof-doc pre code {
    font-family: 'JetBrains Mono', monospace;
    font-size: 12.5px;
    line-height: 1.55;
    color: #ddd;
    white-space: pre;
}
.plt-proof-doc .k { color: #9fc3ff; }
.plt-proof-doc .s { color: #ffd479; }
.plt-proof-doc .p { color: #888; }
.plt-proof-side {
    display: grid;
    grid-template-rows: repeat(3, 1fr);
    gap: 16px;
}
.plt-proof-card {
    background: #fff;
    border: 1px solid #e6e6e6;
    padding: 18px 20px;
}
.plt-proof-card h3 {
    font-family: var(--font-display);
    font-size: 17px;
    margin: 4px 0 6px;
    line-height: 1.3;
}
.plt-proof-card p { color: #555; font-size: 13.5px; line-height: 1.5; margin: 0; }
.plt-proof-card code {
    font-family: 'JetBrains Mono', monospace;
    font-size: 12px;
    background: #f5f5f5;
    padding: 1px 6px;
    border: 1px solid #e6e6e6;
}

/* Scheduler theatre row */
.plt-sched-row {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 24px;
    margin-top: 36px;
}
.plt-sched-card {
    padding: 22px;
    background: #fff;
    border: 1px solid #e6e6e6;
}
.plt-sched-card h3 {
    font-family: var(--font-display);
    font-size: 18px;
    line-height: 1.3;
    margin: 6px 0 10px;
}
.plt-sched-card p { color: #555; font-size: 13.5px; line-height: 1.55; }

/* Ops grid (SLA / Cost / Security) */
.plt-ops-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 24px;
    margin-top: 16px;
}
.plt-ops-card {
    background: #fff;
    border: 1px solid #e6e6e6;
    padding: 24px;
    display: flex;
    flex-direction: column;
    gap: 12px;
}
.plt-ops-card header h3 {
    font-family: var(--font-display);
    font-size: 18px;
    line-height: 1.3;
    margin: 4px 0 0;
}
.plt-sla-table,
.plt-cost-table {
    width: 100%;
    border-collapse: collapse;
    font-family: 'JetBrains Mono', monospace;
    font-size: 11.5px;
}
.plt-sla-table th,
.plt-sla-table td,
.plt-cost-table th,
.plt-cost-table td {
    border: 1px solid #e6e6e6;
    padding: 6px 8px;
    text-align: left;
    color: #333;
}
.plt-sla-table th,
.plt-cost-table th {
    background: #f5f5f5;
    font-weight: 600;
    color: #111;
}
.plt-cost-table td.hl {
    background: #0f0f0f;
    color: #fff;
    border-color: #0f0f0f;
}
.plt-cost-formula {
    background: #0f0f0f;
    color: #ddd;
    border: 1px solid #0f0f0f;
    padding: 12px 14px;
    font-family: 'JetBrains Mono', monospace;
    font-size: 12px;
    line-height: 1.5;
    margin: 0;
    overflow-x: auto;
}
.plt-cost-formula code { color: #ddd; }
.plt-sec-list {
    list-style: none;
    padding: 0;
    margin: 0;
    display: flex;
    flex-direction: column;
    gap: 10px;
}
.plt-sec-list li {
    font-size: 13.5px;
    line-height: 1.55;
    color: #444;
}
.plt-sec-list li strong { color: #111; }

/* API reference */
.plt-api-grid {
    display: grid;
    grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
    gap: 24px;
    margin-top: 12px;
}
.plt-api-table {
    width: 100%;
    border-collapse: collapse;
    font-family: 'JetBrains Mono', monospace;
    font-size: 12px;
}
.plt-api-table th,
.plt-api-table td {
    border: 1px solid #e6e6e6;
    padding: 8px 10px;
    text-align: left;
    color: #333;
}
.plt-api-table th {
    background: #f5f5f5;
    color: #111;
    font-weight: 600;
}
.plt-api-table code {
    font-family: 'JetBrains Mono', monospace;
    color: #0f0f0f;
    background: #f7f7f7;
    padding: 1px 4px;
    border: 1px solid #e6e6e6;
}
.plt-api-sample {
    background: #0f0f0f;
    border: 1px solid #0f0f0f;
    padding: 14px 16px;
    font-family: 'JetBrains Mono', monospace;
    font-size: 12px;
    line-height: 1.55;
    color: #ddd;
    margin: 0;
    overflow-x: auto;
}
.plt-api-sample code { color: #ddd; white-space: pre; }
.plt-api-sample .cmd { color: #fff; font-weight: 600; }
.plt-api-sample .ok  { color: #b6e3a4; }
.plt-api-sample .k   { color: #9fc3ff; }
.plt-api-sample .s   { color: #ffd479; }
.plt-grpc { margin-top: 16px; }

/* ============================================================
   PLATFORM v4 · clean replacements for new sections
   ============================================================ */

/* Shared figure caption + fignote */
.plt-figcap {
    font-family: 'JetBrains Mono', monospace;
    font-size: 11px;
    letter-spacing: 2px;
    color: #888;
    text-transform: uppercase;
    margin: 0 0 16px;
}
.plt-fignote {
    font-family: 'JetBrains Mono', monospace;
    font-size: 12px;
    line-height: 1.55;
    color: #666;
    margin: 16px 0 0;
}
.plt-fignote code,
.plt-loop-card code,
.plt-proof-card code,
.plt-compile-card code,
.plt-api-table code {
    font-family: 'JetBrains Mono', monospace;
    font-size: 12px;
    background: #f5f5f5;
    border: 1px solid #e6e6e6;
    padding: 1px 6px;
    color: #111;
}

/* ============================================================
   1. SYSTEM ARCHITECTURE STACK (plt-stack)
   ============================================================ */
.plt-stack { margin-top: 24px; }
.plt-stack-row {
    display: grid;
    grid-template-columns: 180px 1fr;
    align-items: stretch;
    margin-bottom: 8px;
    background: #fff;
    border: 1px solid #e6e6e6;
}
.plt-stack-row.dark { background: #0f0f0f; border-color: #0f0f0f; }
.plt-stack-tag {
    padding: 18px 16px;
    font-family: 'JetBrains Mono', monospace;
    font-size: 11px;
    letter-spacing: 2px;
    color: #555;
    background: #f7f7f7;
    border-right: 1px solid #e6e6e6;
    display: flex;
    align-items: center;
}
.plt-stack-row.dark .plt-stack-tag {
    background: #1a1a1a;
    color: #ccc;
    border-right-color: #2a2a2a;
}
.plt-stack-cells { display: grid; gap: 0; }
.plt-stack-cells:not(.col2):not(.five):not(.single) { grid-template-columns: repeat(4, 1fr); }
.plt-stack-cells.col2 { grid-template-columns: repeat(2, 1fr); }
.plt-stack-cells.five { grid-template-columns: repeat(5, 1fr); }
.plt-stack-cells.single { grid-template-columns: 1fr; }
.plt-stack-cell {
    padding: 16px 18px;
    border-right: 1px solid #eee;
    display: flex;
    flex-direction: column;
    gap: 4px;
}
.plt-stack-cell:last-child { border-right: none; }
.plt-stack-cell strong {
    font-family: var(--font-display, Inter, sans-serif);
    font-size: 14px;
    font-weight: 600;
    color: #111;
    line-height: 1.3;
}
.plt-stack-cell span {
    font-family: 'JetBrains Mono', monospace;
    font-size: 11.5px;
    color: #666;
    line-height: 1.5;
}
.plt-stack-cell small {
    font-family: 'JetBrains Mono', monospace;
    font-size: 11px;
    color: #999;
    line-height: 1.5;
}
.plt-stack-cell.hl {
    background: #0f0f0f;
    color: #fff;
}
.plt-stack-cell.hl strong { color: #fff; }
.plt-stack-cell.hl span { color: #ccc; }
.plt-stack-cell.hl small { color: #999; }
.plt-stack-cell.dark {
    background: #0f0f0f;
    border-right-color: #1f1f1f;
}
.plt-stack-cell.dark strong { color: #fff; }
.plt-stack-cell.dark span { color: #ccc; }
.plt-stack-cell.dark small { color: #888; }
.plt-stack-tag.light { color: #ccc; }

/* ============================================================
   2. COMPILATION pipeline (plt-compile)
   ============================================================ */
.plt-compile { margin-top: 24px; }
.plt-compile-strip {
    display: grid;
    grid-template-columns: repeat(7, 1fr);
    gap: 8px;
    margin-bottom: 8px;
}
.plt-compile-pass {
    background: #fff;
    border: 1px solid #e6e6e6;
    padding: 14px 14px 16px;
    display: flex;
    flex-direction: column;
    gap: 4px;
    min-height: 130px;
}
.plt-compile-pass strong {
    font-family: var(--font-display, Inter, sans-serif);
    font-size: 14px;
    font-weight: 600;
    color: #111;
    line-height: 1.3;
}
.plt-compile-pass span {
    font-family: 'JetBrains Mono', monospace;
    font-size: 11px;
    color: #555;
    line-height: 1.5;
}
.plt-compile-pass small {
    font-family: 'JetBrains Mono', monospace;
    font-size: 10.5px;
    color: #888;
    line-height: 1.5;
}
.plt-compile-pass.hl { background: #0f0f0f; border-color: #0f0f0f; }
.plt-compile-pass.hl strong { color: #fff; }
.plt-compile-pass.hl span { color: #ccc; }
.plt-compile-pass.hl small { color: #888; }
.plt-eyebrow.light { color: #aaa; }

.plt-compile-ir {
    display: grid;
    grid-template-columns: repeat(7, 1fr);
    gap: 8px;
    margin-top: 24px;
}
.plt-ir-block {
    background: #fafafa;
    border: 1px solid #e6e6e6;
    padding: 28px 12px 14px;
    font-family: 'JetBrains Mono', monospace;
    font-size: 10.5px;
    line-height: 1.6;
    color: #333;
    margin: 0;
    position: relative;
    white-space: pre;
    overflow: hidden;
    min-height: 200px;
}
.plt-ir-block .plt-ir-tag {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    background: #f1f1f1;
    color: #555;
    padding: 4px 10px;
    font-family: 'JetBrains Mono', monospace;
    font-size: 9.5px;
    letter-spacing: 1.5px;
    border-bottom: 1px solid #e6e6e6;
    white-space: nowrap;
}
.plt-ir-block.dark {
    background: #0f0f0f;
    border-color: #0f0f0f;
    color: #ddd;
}
.plt-ir-block.dark .plt-ir-tag {
    background: #1a1a1a;
    color: #aaa;
    border-bottom-color: #2a2a2a;
}
.plt-ir-tag.light { color: #aaa; }

.plt-compile-metrics {
    width: 100%;
    border-collapse: collapse;
    margin-top: 28px;
    font-family: 'JetBrains Mono', monospace;
    font-size: 12px;
}
.plt-compile-metrics th,
.plt-compile-metrics td {
    border: 1px solid #e6e6e6;
    padding: 8px 12px;
    text-align: left;
    color: #333;
}
.plt-compile-metrics th { background: #f7f7f7; color: #111; font-weight: 600; }
.plt-compile-metrics td:first-child { color: #888; }

.plt-compile-foot {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 24px;
    margin-top: 40px;
}
.plt-compile-card {
    background: #fff;
    border: 1px solid #e6e6e6;
    padding: 22px 22px;
}
.plt-compile-card h3 {
    font-family: var(--font-display, Inter, sans-serif);
    font-size: 18px;
    line-height: 1.3;
    margin: 6px 0 10px;
    color: #111;
}
.plt-compile-card p {
    font-size: 13.5px;
    line-height: 1.6;
    color: #555;
    margin: 0;
}

/* ============================================================
   3. THEATRE · multi-tenant scheduler
   ============================================================ */
.plt-theatre { position: relative; padding-bottom: 8px; }
.plt-theatre-axis,
.plt-waterfall-axis {
    display: grid;
    grid-template-columns: 200px 1fr;
    margin-bottom: 6px;
}
.plt-axis-ticks {
    display: grid;
    grid-template-columns: repeat(7, 1fr);
    font-family: 'JetBrains Mono', monospace;
    font-size: 10px;
    color: #888;
    border-top: 1px solid #000;
    padding-top: 6px;
}
.plt-axis-ticks.six { grid-template-columns: repeat(6, 1fr); }
.plt-theatre-lane {
    display: grid;
    grid-template-columns: 200px 1fr;
    align-items: stretch;
    margin-bottom: 10px;
}
.plt-lane-tag {
    padding-right: 16px;
    display: flex;
    flex-direction: column;
    justify-content: center;
    gap: 4px;
}
.plt-lane-tag small {
    font-family: 'JetBrains Mono', monospace;
    font-size: 10.5px;
    color: #888;
}
.plt-lane-track {
    position: relative;
    height: 56px;
    background: #f7f7f7;
    border: 1px solid #e6e6e6;
}
.plt-lane-track .job {
    position: absolute;
    top: 6px;
    bottom: 6px;
    border: 1px solid #000;
    display: flex;
    align-items: center;
    justify-content: center;
    font-family: 'JetBrains Mono', monospace;
    font-size: 10px;
    overflow: hidden;
    white-space: nowrap;
    text-overflow: ellipsis;
    padding: 0 6px;
}
.plt-lane-track .job.dark {
    background: #0f0f0f;
    color: #fff;
    border-color: #0f0f0f;
}
.plt-lane-track .job.light {
    background: #fff;
    color: #111;
}
.plt-lane-track .job.hatch {
    background-image: repeating-linear-gradient(45deg, #000 0 1.4px, transparent 1.4px 6px);
    background-color: #fff;
    color: #111;
}
.plt-theatre-now {
    position: absolute;
    left: calc(200px + 50%);
    top: 30px;
    bottom: 60px;
    width: 1px;
    border-left: 1px dashed #000;
    pointer-events: none;
}
.plt-theatre-now span {
    position: absolute;
    top: -8px;
    left: 4px;
    font-family: 'JetBrains Mono', monospace;
    font-size: 10px;
    color: #000;
    background: #fff;
    padding: 0 4px;
}

/* ============================================================
   4. WATERFALL · real-time loop budget
   ============================================================ */
.plt-waterfall { margin-top: 24px; }
.plt-waterfall-row {
    display: grid;
    grid-template-columns: 200px 1fr;
    margin-bottom: 6px;
    align-items: stretch;
}
.plt-waterfall-row.hl .plt-step-label { color: #000; }
.plt-step-label {
    font-family: 'JetBrains Mono', monospace;
    font-size: 11.5px;
    color: #333;
    padding: 8px 16px 8px 0;
    display: flex;
    align-items: center;
}
.plt-step-track {
    position: relative;
    height: 28px;
    background: #f7f7f7;
    border: 1px solid #e6e6e6;
}
.plt-step-track .bar {
    position: absolute;
    top: 2px;
    bottom: 2px;
    background: #fff;
    border: 1px solid #000;
    color: #111;
    font-family: 'JetBrains Mono', monospace;
    font-size: 10px;
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
    white-space: nowrap;
    padding: 0 6px;
}
.plt-step-track .bar.dark {
    background: #0f0f0f;
    color: #fff;
    border-color: #0f0f0f;
}
.plt-step-track .bar.ghost {
    background-image: repeating-linear-gradient(45deg, #ccc 0 1px, transparent 1px 6px);
    background-color: #fafafa;
    color: #555;
    border-style: dashed;
}

/* ============================================================
   5. QEC stack
   ============================================================ */
.plt-qec-grid {
    display: grid;
    grid-template-columns: minmax(0, 1fr) minmax(0, 1.2fr) minmax(0, 1.5fr);
    gap: 24px;
    margin-top: 24px;
}
.plt-qec-left { display: flex; flex-direction: column; gap: 10px; }
.plt-mit-card {
    background: #fff;
    border: 1px solid #e6e6e6;
    padding: 14px 16px;
    display: flex;
    flex-direction: column;
    gap: 4px;
}
.plt-mit-card strong {
    font-family: var(--font-display, Inter, sans-serif);
    font-size: 14px;
    color: #111;
    line-height: 1.3;
}
.plt-mit-card span {
    font-family: 'JetBrains Mono', monospace;
    font-size: 11.5px;
    color: #555;
}
.plt-mit-card small {
    font-family: 'JetBrains Mono', monospace;
    font-size: 11px;
    color: #888;
}
.plt-mit-card.hl { background: #0f0f0f; border-color: #0f0f0f; }
.plt-mit-card.hl strong { color: #fff; }
.plt-mit-card.hl span { color: #ccc; }
.plt-mit-card.hl small { color: #999; }

.plt-code-card {
    background: #fff;
    border: 1px solid #e6e6e6;
    padding: 18px 20px;
    display: flex;
    flex-direction: column;
    gap: 8px;
}
.plt-code-card strong {
    font-family: var(--font-display, Inter, sans-serif);
    font-size: 16px;
    color: #111;
    line-height: 1.3;
}
.plt-code-card span {
    font-family: 'JetBrains Mono', monospace;
    font-size: 11.5px;
    color: #666;
}
.plt-code-card svg {
    background: #fff;
    border: 1px solid #f0f0f0;
    margin: 8px 0;
    max-width: 100%;
    height: auto;
}
.plt-code-card ul {
    list-style: none;
    margin: 0;
    padding: 0;
    display: flex;
    flex-direction: column;
    gap: 4px;
}
.plt-code-card ul li {
    font-family: 'JetBrains Mono', monospace;
    font-size: 11.5px;
    color: #555;
}

/* ============================================================
   6. Merkle tree (plt-merkle)
   ============================================================ */
.plt-merkle {
    display: grid;
    grid-template-columns: 1fr;
    margin-top: 24px;
    background: #fff;
    border: 1px solid #e6e6e6;
    padding: 28px;
}
.plt-merkle-root {
    display: flex;
    justify-content: center;
}
.plt-merkle-node {
    background: #fff;
    border: 1px solid #ddd;
    padding: 14px 20px;
    min-width: 220px;
    text-align: center;
    display: flex;
    flex-direction: column;
    gap: 3px;
}
.plt-merkle-node.root { background: #0f0f0f; border-color: #0f0f0f; }
.plt-merkle-node.root strong { color: #fff; }
.plt-merkle-node.root small { color: #999; }
.plt-merkle-node strong {
    font-family: var(--font-display, Inter, sans-serif);
    font-size: 13px;
    color: #111;
    line-height: 1.3;
}
.plt-merkle-node small {
    font-family: 'JetBrains Mono', monospace;
    font-size: 11px;
    color: #888;
}
.plt-merkle-edges {
    height: 50px;
}
.plt-merkle-edges svg {
    width: 100%;
    height: 100%;
    display: block;
}
.plt-merkle-edges.leaves { height: 36px; }
.plt-merkle-layers {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 16px;
}
.plt-merkle-leaves {
    display: grid;
    grid-template-columns: repeat(9, 1fr);
    gap: 8px;
}
.plt-leaf {
    background: #fafafa;
    border: 1px solid #ccc;
    padding: 10px 8px;
    text-align: center;
    display: flex;
    flex-direction: column;
    gap: 3px;
}
.plt-leaf code {
    font-family: 'JetBrains Mono', monospace;
    font-size: 11px;
    color: #111;
}
.plt-leaf small {
    font-family: 'JetBrains Mono', monospace;
    font-size: 10px;
    color: #888;
}
.plt-merkle-cli {
    background: #0f0f0f;
    color: #ddd;
    padding: 14px 18px;
    margin: 20px 0 0;
    font-family: 'JetBrains Mono', monospace;
    font-size: 12px;
    line-height: 1.5;
    overflow-x: auto;
}
.plt-merkle-cli .cmd { color: #fff; font-weight: 600; }


/* === FIX: q1n-section-inner = same container as body.q1-page .container === */
body.q1-page .q1n-section-inner {
    max-width: 1280px;
    padding: 0 48px;
    margin: 0 auto;
}

/* ============================================================
   RESEARCH PAGE · rsh-* module · world-class
   ============================================================ */

/* Glance row (re-uses q1n-glance grid). Add only if not already present */
.q1n-glance {
    display: grid;
    grid-template-columns: repeat(5, 1fr);
    gap: 24px;
    margin-top: 16px;
    border-top: 1px solid #e3e3e3;
    padding-top: 24px;
}
.q1n-glance-cell {
    display: flex;
    flex-direction: column;
    gap: 6px;
    padding-right: 16px;
}
.q1n-glance-cell strong {
    font-family: var(--font-display, Inter Tight, sans-serif);
    font-size: 30px;
    font-weight: 500;
    line-height: 1.05;
    letter-spacing: -0.025em;
    color: #0a0a0a;
}
.q1n-glance-cell small {
    font-family: 'JetBrains Mono', monospace;
    font-size: 11px;
    color: #707070;
    letter-spacing: 0.02em;
}

/* ============ Research programme · 3 areas ============ */
.rsh-areas {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 24px;
    margin-top: 16px;
}
.rsh-area {
    background: #fff;
    border: 1px solid #e6e6e6;
    padding: 28px 26px;
    display: flex;
    flex-direction: column;
    gap: 12px;
}
.rsh-area h3 {
    font-family: var(--font-display, Inter Tight, sans-serif);
    font-size: 20px;
    line-height: 1.25;
    margin: 0;
    color: #0a0a0a;
}
.rsh-area p {
    font-size: 14px;
    line-height: 1.6;
    color: #444;
    margin: 0;
}
.rsh-list {
    list-style: none;
    margin: 8px 0 0;
    padding: 0;
    border-top: 1px solid #eee;
    padding-top: 12px;
    display: flex;
    flex-direction: column;
    gap: 6px;
}
.rsh-list li {
    font-family: 'JetBrains Mono', monospace;
    font-size: 12px;
    color: #444;
    line-height: 1.55;
    padding-left: 14px;
    position: relative;
}
.rsh-list li::before {
    content: '';
    position: absolute;
    left: 0;
    top: 8px;
    width: 6px;
    height: 6px;
    background: #000;
}
.rsh-list code {
    font-family: 'JetBrains Mono', monospace;
    font-size: 11px;
    background: #f5f5f5;
    padding: 1px 5px;
    border: 1px solid #e6e6e6;
}

/* ============ Error budget bar chart ============ */
.rsh-budget {
    margin-top: 12px;
    padding: 24px 28px;
    background: #fff;
    border: 1px solid #e6e6e6;
    position: relative;
}
.rsh-budget-axis {
    display: grid;
    grid-template-columns: 220px 1fr;
    margin-bottom: 8px;
}
.rsh-budget-ticks {
    display: grid;
    grid-template-columns: repeat(8, 1fr);
    font-family: 'JetBrains Mono', monospace;
    font-size: 10px;
    color: #888;
    border-top: 1px solid #000;
    padding-top: 6px;
}
.rsh-budget-row {
    display: grid;
    grid-template-columns: 220px 1fr;
    margin-bottom: 8px;
    align-items: center;
}
.rsh-budget-label {
    font-family: 'JetBrains Mono', monospace;
    font-size: 12px;
    color: #333;
    padding-right: 16px;
}
.rsh-budget-track {
    position: relative;
    height: 26px;
    background: #f7f7f7;
    border: 1px solid #e6e6e6;
}
.rsh-bar {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    height: 26px;
    background: #0f0f0f;
    color: #fff;
    font-family: 'JetBrains Mono', monospace;
    font-size: 11px;
    padding: 0 8px;
    box-sizing: border-box;
    overflow: hidden;
    white-space: nowrap;
    text-overflow: ellipsis;
}
.rsh-bar.hatch {
    background-image: repeating-linear-gradient(45deg, #000 0 1.4px, transparent 1.4px 6px);
    background-color: #f0f0f0;
    color: #000;
    border: 1px solid #000;
}
.rsh-budget-row.total .rsh-budget-track {
    background: transparent;
    border: 1px solid #000;
}
.rsh-budget-threshold {
    position: absolute;
    top: 30px;
    bottom: 70px;
    left: calc(220px + 28px + 57.14%);  /* 220 label + 28 right padding + threshold pos */
    width: 1px;
    background: transparent;
    pointer-events: none;
}
.rsh-budget-threshold span {
    position: absolute;
    top: 0;
    left: -90px;
    width: 180px;
    font-family: 'JetBrains Mono', monospace;
    font-size: 9.5px;
    color: #000;
    background: #fff;
    border: 1px dashed #000;
    padding: 2px 6px;
    white-space: nowrap;
}
.rsh-budget-cards {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 24px;
    margin-top: 32px;
}
.rsh-budget-card {
    background: #fff;
    border: 1px solid #e6e6e6;
    padding: 22px 22px;
    display: flex;
    flex-direction: column;
    gap: 8px;
}
.rsh-budget-card h3 {
    font-family: var(--font-display, Inter Tight, sans-serif);
    font-size: 16px;
    line-height: 1.3;
    margin: 4px 0 0;
    color: #0a0a0a;
}
.rsh-budget-card p {
    font-size: 13.5px;
    line-height: 1.55;
    color: #555;
    margin: 0;
}

/* ============ Equation strip ============ */
.rsh-eq {
    background: #fff;
    border: 1px solid #e6e6e6;
    padding: 18px 24px;
    margin: 16px 0 28px;
    text-align: center;
}
.rsh-eq code {
    font-family: 'JetBrains Mono', monospace;
    font-size: 18px;
    color: #0a0a0a;
    background: transparent;
    border: none;
    padding: 0;
}
.rsh-eq small {
    display: block;
    margin-top: 8px;
    font-family: 'JetBrains Mono', monospace;
    font-size: 11px;
    color: #707070;
}

.rsh-scaling {
    background: #fff;
    border: 1px solid #e6e6e6;
    padding: 24px 28px;
}
.rsh-scaling svg { background: #fff; }

/* ============ Logical-qubit anatomy ============ */
.rsh-anatomy {
    display: grid;
    grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
    gap: 24px;
    margin-top: 16px;
}
.rsh-anatomy-figure {
    background: #fff;
    border: 1px solid #e6e6e6;
    padding: 24px;
}
.rsh-anatomy-figure svg { width: 100%; height: auto; }
.rsh-anatomy-side {
    display: grid;
    grid-template-rows: repeat(4, 1fr);
    gap: 12px;
}
.rsh-anatomy-card {
    background: #fff;
    border: 1px solid #e6e6e6;
    padding: 18px 20px;
    display: flex;
    flex-direction: column;
    gap: 4px;
}
.rsh-anatomy-card h3 {
    font-family: var(--font-display, Inter Tight, sans-serif);
    font-size: 15px;
    line-height: 1.3;
    margin: 2px 0;
    color: #0a0a0a;
}
.rsh-anatomy-card p {
    font-size: 13px;
    line-height: 1.55;
    color: #555;
    margin: 0;
}
.rsh-anatomy-card.hl {
    background: #0f0f0f;
    border-color: #0f0f0f;
}
.rsh-anatomy-card.hl h3 { color: #fff; }
.rsh-anatomy-card.hl p { color: #ccc; }

/* ============ Decoder pipeline ============ */
.rsh-pipeline {
    margin-top: 12px;
    padding: 24px 28px;
    background: #fff;
    border: 1px solid #e6e6e6;
}
.rsh-pipeline-strip {
    display: grid;
    grid-template-columns: repeat(6, 1fr);
    gap: 8px;
}
.rsh-pipeline-stage {
    background: #fff;
    border: 1px solid #e6e6e6;
    padding: 18px 16px;
    display: flex;
    flex-direction: column;
    gap: 6px;
    align-items: flex-start;
}
.rsh-pipeline-stage strong {
    font-family: var(--font-display, Inter Tight, sans-serif);
    font-size: 15px;
    color: #0a0a0a;
}
.rsh-pipeline-stage span {
    font-family: 'JetBrains Mono', monospace;
    font-size: 11px;
    color: #555;
}
.rsh-pipeline-stage small {
    font-family: 'JetBrains Mono', monospace;
    font-size: 10.5px;
    color: #888;
    letter-spacing: 0.05em;
    margin-top: auto;
}
.rsh-pipeline-stage .badge {
    background: #0f0f0f;
    color: #fff;
    padding: 3px 8px;
    font-size: 11px;
    align-self: flex-start;
}
.rsh-pipeline-stage .badge.dark {
    background: #fff;
    color: #0f0f0f;
    border: 1px solid #fff;
}
.rsh-pipeline-stage.hl {
    background: #0f0f0f;
    border-color: #0f0f0f;
}
.rsh-pipeline-stage.hl strong { color: #fff; }
.rsh-pipeline-stage.hl span { color: #ccc; }
.rsh-pipeline-stage.hl small { color: #888; }

.rsh-pipeline-total {
    margin-top: 28px;
    padding: 20px 24px;
    background: #0f0f0f;
    color: #fff;
    display: grid;
    grid-template-columns: auto 1fr auto;
    gap: 20px;
    align-items: center;
}
.rsh-total-label {
    font-family: 'JetBrains Mono', monospace;
    font-size: 11px;
    letter-spacing: 2px;
    color: #888;
}
.rsh-total-value {
    font-family: var(--font-display, Inter Tight, sans-serif);
    font-size: 28px;
    font-weight: 500;
    color: #fff;
}
.rsh-total-note {
    font-family: 'JetBrains Mono', monospace;
    font-size: 11px;
    color: #999;
}

/* ============ Lattice surgery ============ */
.rsh-surgery {
    margin-top: 16px;
    padding: 24px 28px;
    background: #fff;
    border: 1px solid #e6e6e6;
}
.rsh-surgery svg { width: 100%; height: auto; }

/* ============ Magic state + Shor grid ============ */
.rsh-magic-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 24px;
    margin-top: 16px;
}
.rsh-magic-card {
    background: #fff;
    border: 1px solid #e6e6e6;
    padding: 28px 28px;
    display: flex;
    flex-direction: column;
    gap: 12px;
}
.rsh-magic-card.hl {
    background: #0f0f0f;
    border-color: #0f0f0f;
}
.rsh-magic-card h3 {
    font-family: var(--font-display, Inter Tight, sans-serif);
    font-size: 22px;
    line-height: 1.25;
    margin: 0;
    color: #0a0a0a;
}
.rsh-magic-card.hl h3 { color: #fff; }
.rsh-magic-card p { font-size: 14px; line-height: 1.6; color: #444; margin: 0; }
.rsh-magic-card.hl p { color: #ccc; }
.rsh-spec {
    margin: 12px 0 0;
    padding: 14px 0 0;
    border-top: 1px solid #eee;
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 10px 24px;
}
.rsh-spec.dark { border-top-color: #2a2a2a; }
.rsh-spec div { display: flex; flex-direction: column; gap: 2px; }
.rsh-spec dt {
    font-family: 'JetBrains Mono', monospace;
    font-size: 10px;
    letter-spacing: 1.5px;
    color: #888;
    text-transform: uppercase;
}
.rsh-spec dd {
    font-family: 'JetBrains Mono', monospace;
    font-size: 13px;
    color: #0a0a0a;
    margin: 0;
}
.rsh-spec.dark dt { color: #888; }
.rsh-spec.dark dd { color: #fff; }

/* ============ Magic-state factory cadence ============ */
.rsh-cadence {
    margin-top: 32px;
    background: #fff;
    border: 1px solid #e6e6e6;
    padding: 24px 28px;
}
.rsh-cadence-axis {
    display: grid;
    grid-template-columns: 220px 1fr;
    margin-bottom: 6px;
}
.rsh-cadence-ticks {
    display: grid;
    grid-template-columns: repeat(7, 1fr);
    font-family: 'JetBrains Mono', monospace;
    font-size: 10px;
    color: #888;
    border-top: 1px solid #000;
    padding-top: 6px;
}
.rsh-cadence-row {
    display: grid;
    grid-template-columns: 220px 1fr;
    margin-bottom: 6px;
    align-items: stretch;
}
.rsh-cadence-label {
    display: flex;
    flex-direction: column;
    justify-content: center;
    gap: 4px;
    padding-right: 16px;
}
.rsh-cadence-label strong {
    font-family: var(--font-display, Inter Tight, sans-serif);
    font-size: 13px;
    color: #0a0a0a;
}
.rsh-cadence-label small {
    font-family: 'JetBrains Mono', monospace;
    font-size: 10.5px;
    color: #888;
}
.rsh-cadence-track {
    position: relative;
    height: 32px;
    background: #f7f7f7;
    border: 1px solid #e6e6e6;
}
.rsh-cadence-row.consumer .rsh-cadence-track {
    background: #fff;
    border-top: 2px solid #0f0f0f;
}
.rsh-cad {
    position: absolute;
    top: 3px;
    bottom: 3px;
    border: 1px solid #000;
    background: #fff;
    display: flex;
    align-items: center;
    justify-content: center;
    font-family: 'JetBrains Mono', monospace;
    font-size: 10px;
    color: #000;
    overflow: hidden;
    white-space: nowrap;
    padding: 0 6px;
    box-sizing: border-box;
}
.rsh-cad.dark { background: #0f0f0f; color: #fff; border-color: #0f0f0f; }
.rsh-cad.pull { background: #0f0f0f; color: #fff; border-color: #0f0f0f; font-size: 11px; }

/* ============ Verification cards + provenance ============ */
.rsh-bench-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 24px;
    margin-top: 16px;
}
.rsh-bench-card {
    background: #fff;
    border: 1px solid #e6e6e6;
    padding: 24px 24px;
    display: flex;
    flex-direction: column;
    gap: 10px;
}
.rsh-bench-card h3 {
    font-family: var(--font-display, Inter Tight, sans-serif);
    font-size: 17px;
    line-height: 1.3;
    margin: 4px 0 0;
    color: #0a0a0a;
}
.rsh-bench-card p {
    font-size: 13.5px;
    line-height: 1.6;
    color: #555;
    margin: 0;
}
.rsh-bench-meta {
    margin: 8px 0 0;
    padding: 12px 0 0;
    border-top: 1px solid #eee;
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 8px;
}
.rsh-bench-meta div { display: flex; flex-direction: column; gap: 2px; }
.rsh-bench-meta dt {
    font-family: 'JetBrains Mono', monospace;
    font-size: 9px;
    letter-spacing: 1.4px;
    color: #888;
    text-transform: uppercase;
}
.rsh-bench-meta dd {
    font-family: 'JetBrains Mono', monospace;
    font-size: 11px;
    color: #0a0a0a;
    margin: 0;
}
.rsh-provenance {
    margin-top: 32px;
    background: #0f0f0f;
    color: #fff;
    padding: 28px 32px;
}
.rsh-provenance h3 {
    font-family: var(--font-display, Inter Tight, sans-serif);
    font-size: 20px;
    line-height: 1.25;
    margin: 4px 0 12px;
    color: #fff;
}
.rsh-provenance p { font-size: 14px; line-height: 1.6; color: #ccc; margin: 0 0 16px; }
.rsh-prov-list {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 10px 24px;
}
.rsh-prov-list span {
    font-family: 'JetBrains Mono', monospace;
    font-size: 11px;
    color: #aaa;
    border-left: 2px solid #fff;
    padding-left: 10px;
}
.rsh-prov-list span strong { color: #fff; }

/* ============ Open problems ============ */
.rsh-open {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 18px;
    margin-top: 16px;
}
.rsh-open-card {
    background: #fff;
    border: 1px solid #e6e6e6;
    padding: 24px 22px;
    display: flex;
    flex-direction: column;
    gap: 8px;
}
.rsh-open-card h3 {
    font-family: var(--font-display, Inter Tight, sans-serif);
    font-size: 17px;
    line-height: 1.3;
    margin: 2px 0 0;
    color: #0a0a0a;
}
.rsh-open-card p {
    font-size: 13px;
    line-height: 1.55;
    color: #555;
    margin: 0 0 4px;
}
.rsh-open-card small {
    font-family: 'JetBrains Mono', monospace;
    font-size: 10.5px;
    letter-spacing: 1px;
    color: #888;
    text-transform: uppercase;
    margin-top: auto;
    border-top: 1px solid #eee;
    padding-top: 10px;
}

/* ============ Publications ============ */
.rsh-pubs {
    display: grid;
    grid-template-columns: 1fr;
    gap: 12px;
    margin-top: 16px;
}
.rsh-pub {
    background: #fff;
    border: 1px solid #e6e6e6;
    padding: 22px 26px;
    display: flex;
    flex-direction: column;
    gap: 6px;
}
.rsh-pub h3 {
    font-family: var(--font-display, Inter Tight, sans-serif);
    font-size: 18px;
    line-height: 1.3;
    margin: 4px 0;
    color: #0a0a0a;
}
.rsh-pub-authors {
    font-family: 'JetBrains Mono', monospace;
    font-size: 12px;
    color: #444;
    margin: 0;
}
.rsh-pub > p:last-of-type,
.rsh-pub > p:not(.rsh-pub-authors) {
    font-size: 14px;
    line-height: 1.6;
    color: #444;
    margin: 4px 0 0;
}
.rsh-pub-meta {
    display: flex;
    gap: 24px;
    flex-wrap: wrap;
    margin-top: 10px;
    padding-top: 12px;
    border-top: 1px solid #eee;
}
.rsh-pub-meta span {
    font-family: 'JetBrains Mono', monospace;
    font-size: 11px;
    color: #707070;
}

/* ============ Collaborations ============ */
.rsh-collab {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 16px;
    margin-top: 16px;
}
.rsh-collab-card {
    background: #fff;
    border: 1px solid #e6e6e6;
    padding: 20px 20px;
    display: flex;
    flex-direction: column;
    gap: 6px;
}
.rsh-collab-card h3 {
    font-family: var(--font-display, Inter Tight, sans-serif);
    font-size: 15px;
    line-height: 1.3;
    margin: 2px 0 4px;
    color: #0a0a0a;
}
.rsh-collab-card p {
    font-size: 12.5px;
    line-height: 1.55;
    color: #555;
    margin: 0;
}

/* ============ Research roadmap ============ */
.rsh-roadmap {
    margin-top: 16px;
    background: #fff;
    border: 1px solid #e6e6e6;
}
.rsh-rm-row {
    display: grid;
    grid-template-columns: 140px 1fr 240px;
    align-items: center;
    border-bottom: 1px solid #eee;
    padding: 22px 28px;
}
.rsh-rm-row:last-child { border-bottom: none; }
.rsh-rm-tag {
    font-family: 'JetBrains Mono', monospace;
    font-size: 12px;
    letter-spacing: 2px;
    color: #0a0a0a;
    padding: 8px 12px;
    background: #fff;
    border: 1px solid #0a0a0a;
    display: inline-block;
    justify-self: start;
}
.rsh-rm-tag.dark {
    background: #0f0f0f;
    color: #fff;
    border-color: #0f0f0f;
}
.rsh-rm-body h3 {
    font-family: var(--font-display, Inter Tight, sans-serif);
    font-size: 17px;
    line-height: 1.3;
    margin: 0 0 4px;
    color: #0a0a0a;
}
.rsh-rm-body p {
    font-size: 13.5px;
    line-height: 1.55;
    color: #555;
    margin: 0;
}
.rsh-rm-body code {
    font-family: 'JetBrains Mono', monospace;
    font-size: 11px;
    background: #f5f5f5;
    border: 1px solid #e6e6e6;
    padding: 1px 5px;
}
.rsh-rm-out {
    font-family: 'JetBrains Mono', monospace;
    font-size: 11.5px;
    color: #444;
    text-align: right;
}

/* ============================================================
   RESEARCH v2 · sophisticated additions
   ============================================================ */

/* Mathematical foundations · 6 equation cards */
.rsh-math {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 18px;
    margin-top: 16px;
}
.rsh-eq-card {
    background: #fff;
    border: 1px solid #e6e6e6;
    padding: 22px 22px;
    display: flex;
    flex-direction: column;
    gap: 10px;
}
.rsh-eq-card.hl {
    background: #0f0f0f;
    border-color: #0f0f0f;
}
.rsh-eq-tex {
    background: #fafafa;
    border: 1px solid #e6e6e6;
    padding: 14px 16px;
    text-align: center;
}
.rsh-eq-tex code {
    font-family: 'JetBrains Mono', monospace;
    font-size: 14px;
    color: #000;
    background: transparent;
    border: none;
    padding: 0;
}
.rsh-eq-tex.light {
    background: #1a1a1a;
    border-color: #2a2a2a;
}
.rsh-eq-tex.light code { color: #fff; }
.rsh-eq-card p {
    font-size: 13.5px;
    line-height: 1.55;
    color: #444;
    margin: 0;
}
.rsh-eq-card.hl p { color: #ccc; }
.rsh-eq-card small {
    font-family: 'JetBrains Mono', monospace;
    font-size: 10.5px;
    color: #888;
    letter-spacing: 0.5px;
    margin-top: auto;
    border-top: 1px solid #eee;
    padding-top: 10px;
}
.rsh-eq-card.hl small { color: #888; border-top-color: #2a2a2a; }
.rsh-eq-card small.light { color: #aaa; }
.rsh-eq-card small code,
.rsh-eq-card p code {
    font-family: 'JetBrains Mono', monospace;
    font-size: 11px;
    background: #f5f5f5;
    border: 1px solid #e6e6e6;
    padding: 1px 5px;
    color: #000;
}
.rsh-eq-card.hl small code { background: #1a1a1a; border-color: #2a2a2a; color: #fff; }

/* Syndrome circuit · the giant figure */
.rsh-circuit {
    margin-top: 12px;
    padding: 24px 28px;
    background: #fff;
    border: 1px solid #e6e6e6;
}
.rsh-circuit svg { width: 100%; height: auto; }

/* Decoder benchmark · table + bars */
.rsh-bench-chart {
    margin-top: 12px;
    padding: 24px 28px;
    background: #fff;
    border: 1px solid #e6e6e6;
}
.rsh-decoder-table {
    width: 100%;
    border-collapse: collapse;
    margin-bottom: 28px;
    font-family: 'JetBrains Mono', monospace;
    font-size: 11.5px;
}
.rsh-decoder-table th,
.rsh-decoder-table td {
    border: 1px solid #e6e6e6;
    padding: 10px 12px;
    text-align: left;
    color: #333;
    vertical-align: top;
}
.rsh-decoder-table th { background: #f5f5f5; color: #111; font-weight: 600; }
.rsh-decoder-table td strong {
    font-family: var(--font-display, Inter Tight, sans-serif);
    font-size: 13px;
    color: #0a0a0a;
    display: block;
}
.rsh-decoder-table td small {
    color: #888;
    display: block;
    margin-top: 3px;
    font-size: 10.5px;
}
.rsh-tag {
    display: inline-block;
    font-family: 'JetBrains Mono', monospace;
    font-size: 9.5px;
    letter-spacing: 1px;
    padding: 3px 7px;
    background: #fff;
    border: 1px solid #000;
    color: #000;
}
.rsh-tag.dark { background: #0f0f0f; color: #fff; border-color: #0f0f0f; }
.rsh-decoder-bars { padding-top: 6px; }
.rsh-decoder-row {
    display: grid;
    grid-template-columns: 220px 1fr;
    margin-bottom: 6px;
    align-items: center;
}
.rsh-bench-tag {
    font-family: 'JetBrains Mono', monospace;
    font-size: 11.5px;
    color: #333;
    padding-right: 14px;
}
.rsh-bench-track {
    position: relative;
    height: 26px;
    background: #f7f7f7;
    border: 1px solid #e6e6e6;
}
.rsh-bench-bar {
    display: inline-flex;
    align-items: center;
    height: 26px;
    background: #0f0f0f;
    color: #fff;
    font-family: 'JetBrains Mono', monospace;
    font-size: 11px;
    padding: 0 10px;
    box-sizing: border-box;
    overflow: hidden;
    white-space: nowrap;
}
.rsh-bench-bar.light { background: #fff; color: #000; border: 1px solid #000; }
.rsh-bench-bar.hatch {
    background-image: repeating-linear-gradient(45deg, #000 0 1.4px, transparent 1.4px 6px);
    background-color: #fff;
    color: #000;
    border: 1px solid #000;
}
.rsh-decoder-axis {
    display: grid;
    grid-template-columns: repeat(7, 1fr);
    margin-left: 220px;
    font-family: 'JetBrains Mono', monospace;
    font-size: 10px;
    color: #888;
    border-top: 1px solid #000;
    padding-top: 5px;
    margin-top: 6px;
}

/* Calibration · gantt */
.rsh-calibration {
    margin-top: 12px;
    padding: 24px 28px;
    background: #fff;
    border: 1px solid #e6e6e6;
}
.rsh-cal-axis {
    display: grid;
    grid-template-columns: 220px 1fr;
    margin-bottom: 8px;
}
.rsh-cal-ticks {
    display: grid;
    grid-template-columns: repeat(7, 1fr);
    font-family: 'JetBrains Mono', monospace;
    font-size: 10px;
    color: #888;
    border-top: 1px solid #000;
    padding-top: 6px;
}
.rsh-cal-row {
    display: grid;
    grid-template-columns: 220px 1fr;
    margin-bottom: 8px;
    align-items: stretch;
}
.rsh-cal-label {
    display: flex;
    flex-direction: column;
    gap: 3px;
    justify-content: center;
    padding-right: 16px;
}
.rsh-cal-label strong {
    font-family: 'JetBrains Mono', monospace;
    font-size: 11.5px;
    color: #0a0a0a;
    letter-spacing: 1px;
}
.rsh-cal-label small {
    font-family: 'JetBrains Mono', monospace;
    font-size: 10.5px;
    color: #888;
}
.rsh-cal-track {
    position: relative;
    height: 32px;
    background: #f7f7f7;
    border: 1px solid #e6e6e6;
}
.rsh-cal-row.consumer .rsh-cal-track { background: #fff; border-top: 2px solid #0f0f0f; }
.rsh-cal-bar {
    position: absolute;
    top: 3px;
    bottom: 3px;
    background: #fff;
    border: 1px solid #000;
    color: #000;
    display: flex;
    align-items: center;
    justify-content: center;
    font-family: 'JetBrains Mono', monospace;
    font-size: 9.5px;
    overflow: hidden;
    white-space: nowrap;
    padding: 0 4px;
    box-sizing: border-box;
}
.rsh-cal-bar.dark { background: #0f0f0f; color: #fff; border-color: #0f0f0f; }
.rsh-cal-bar.light { background: #000; border: none; }
.rsh-cal-bar.bg { background: #f0f0f0; border-color: #ccc; color: #888; }

/* Magic-state ladder */
.rsh-ladder {
    margin-top: 12px;
    padding: 24px 28px;
    background: #fff;
    border: 1px solid #e6e6e6;
}
.rsh-ladder svg { width: 100%; height: auto; }

/* T-count compression chart */
.rsh-tcount {
    margin-top: 12px;
    padding: 24px 28px;
    background: #fff;
    border: 1px solid #e6e6e6;
}
.rsh-tc-row {
    display: grid;
    grid-template-columns: 240px 1fr;
    margin-bottom: 14px;
    align-items: center;
}
.rsh-tc-label {
    display: flex;
    flex-direction: column;
    gap: 3px;
    padding-right: 16px;
}
.rsh-tc-label strong {
    font-family: var(--font-display, Inter Tight, sans-serif);
    font-size: 13px;
    color: #0a0a0a;
    line-height: 1.3;
}
.rsh-tc-label small {
    font-family: 'JetBrains Mono', monospace;
    font-size: 10.5px;
    color: #888;
}
.rsh-tc-track {
    position: relative;
    height: 72px;
    background: #f7f7f7;
    border: 1px solid #e6e6e6;
}
.rsh-tc-bar {
    position: absolute;
    height: 22px;
    display: flex;
    align-items: center;
    padding: 0 10px;
    box-sizing: border-box;
    font-family: 'JetBrains Mono', monospace;
    font-size: 10.5px;
    overflow: hidden;
    white-space: nowrap;
}
.rsh-tc-bar.long  { top: 4px;  background-image: repeating-linear-gradient(45deg, #888 0 1.4px, transparent 1.4px 6px); background-color: #fff; color: #000; border: 1px solid #888; }
.rsh-tc-bar.mid   { top: 26px; background: #fff; color: #000; border: 1px solid #000; }
.rsh-tc-bar.dark  { top: 48px; background: #0f0f0f; color: #fff; border: 1px solid #0f0f0f; }
.rsh-tc-axis {
    display: grid;
    grid-template-columns: repeat(6, 1fr);
    margin-left: 240px;
    font-family: 'JetBrains Mono', monospace;
    font-size: 10px;
    color: #888;
    border-top: 1px solid #000;
    padding-top: 5px;
    margin-top: 6px;
}
.rsh-tc-legend {
    margin-top: 18px;
    display: flex;
    gap: 24px;
    font-family: 'JetBrains Mono', monospace;
    font-size: 11px;
    color: #444;
}
.rsh-tc-legend span { display: inline-flex; align-items: center; gap: 8px; }
.rsh-tc-legend i { display: inline-block; width: 22px; height: 12px; }
.rsh-tc-legend i.long  { background-image: repeating-linear-gradient(45deg, #888 0 1.4px, transparent 1.4px 6px); background-color: #fff; border: 1px solid #888; }
.rsh-tc-legend i.mid   { background: #fff; border: 1px solid #000; }
.rsh-tc-legend i.dark  { background: #0f0f0f; border: 1px solid #0f0f0f; }

/* Datasets · 6 cards · 3 across */
.rsh-datasets {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 18px;
    margin-top: 16px;
}
.rsh-ds {
    background: #fff;
    border: 1px solid #e6e6e6;
    padding: 22px 22px;
    display: flex;
    flex-direction: column;
    gap: 10px;
}
.rsh-ds h3 {
    font-family: var(--font-display, Inter Tight, sans-serif);
    font-size: 16px;
    line-height: 1.3;
    margin: 2px 0;
    color: #0a0a0a;
}
.rsh-ds p {
    font-size: 13px;
    line-height: 1.55;
    color: #555;
    margin: 0;
}
.rsh-ds-meta {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 6px 16px;
    padding: 12px 0;
    border-top: 1px solid #eee;
    border-bottom: 1px solid #eee;
    margin: 6px 0;
}
.rsh-ds-meta div { display: flex; flex-direction: column; gap: 2px; }
.rsh-ds-meta dt {
    font-family: 'JetBrains Mono', monospace;
    font-size: 9px;
    letter-spacing: 1.4px;
    color: #888;
    text-transform: uppercase;
}
.rsh-ds-meta dd {
    font-family: 'JetBrains Mono', monospace;
    font-size: 11px;
    color: #000;
    margin: 0;
}

/* Reproducibility manifesto · numbered list */
.rsh-manifesto {
    margin-top: 16px;
    list-style: none;
    padding: 0;
    display: flex;
    flex-direction: column;
    gap: 12px;
}
.rsh-manifesto li {
    background: #fff;
    border: 1px solid #e6e6e6;
    padding: 22px 26px;
    display: grid;
    grid-template-columns: 70px 1fr;
    gap: 20px;
    align-items: start;
}
.rsh-mf-num {
    font-family: var(--font-display, Inter Tight, sans-serif);
    font-size: 36px;
    font-weight: 500;
    line-height: 1;
    color: #0a0a0a;
    letter-spacing: -0.02em;
}
.rsh-manifesto h3 {
    font-family: var(--font-display, Inter Tight, sans-serif);
    font-size: 18px;
    line-height: 1.3;
    margin: 0 0 6px;
    color: #0a0a0a;
}
.rsh-manifesto p {
    font-size: 14px;
    line-height: 1.6;
    color: #444;
    margin: 0;
}
.rsh-manifesto code {
    font-family: 'JetBrains Mono', monospace;
    font-size: 12px;
    background: #f5f5f5;
    border: 1px solid #e6e6e6;
    padding: 1px 5px;
}

/* External review board · 6 advisor cards */
.rsh-board {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 18px;
    margin-top: 16px;
}
.rsh-bd-card {
    background: #fff;
    border: 1px solid #e6e6e6;
    padding: 22px 22px;
    display: grid;
    grid-template-columns: 64px 1fr;
    gap: 16px;
    align-items: start;
}
.rsh-bd-avatar {
    width: 64px;
    height: 64px;
    background: #0f0f0f;
    color: #fff;
    display: flex;
    align-items: center;
    justify-content: center;
    font-family: var(--font-display, Inter Tight, sans-serif);
    font-size: 22px;
    font-weight: 500;
    letter-spacing: 1px;
}
.rsh-bd-body h3 {
    font-family: var(--font-display, Inter Tight, sans-serif);
    font-size: 16px;
    line-height: 1.3;
    margin: 0 0 2px;
    color: #0a0a0a;
}
.rsh-bd-role {
    font-family: 'JetBrains Mono', monospace;
    font-size: 11px;
    color: #555;
    margin: 0 0 8px;
}
.rsh-bd-body > p:last-child {
    font-size: 12.5px;
    line-height: 1.55;
    color: #555;
    margin: 0;
}

/* Grants programme · 3 tracks */
.rsh-grants {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 18px;
    margin-top: 16px;
}
.rsh-gr-card {
    background: #fff;
    border: 1px solid #e6e6e6;
    padding: 24px 24px;
    display: flex;
    flex-direction: column;
    gap: 10px;
}
.rsh-gr-card.hl { background: #0f0f0f; border-color: #0f0f0f; }
.rsh-gr-card h3 {
    font-family: var(--font-display, Inter Tight, sans-serif);
    font-size: 18px;
    line-height: 1.3;
    margin: 2px 0;
    color: #0a0a0a;
}
.rsh-gr-card.hl h3 { color: #fff; }
.rsh-gr-card p { font-size: 13.5px; line-height: 1.55; color: #555; margin: 0; }
.rsh-gr-card.hl p { color: #ccc; }
.rsh-gr-meta {
    margin: 10px 0 0;
    padding: 12px 0 0;
    border-top: 1px solid #eee;
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 8px 20px;
}
.rsh-gr-meta.dark { border-top-color: #2a2a2a; }
.rsh-gr-meta div { display: flex; flex-direction: column; gap: 2px; }
.rsh-gr-meta dt {
    font-family: 'JetBrains Mono', monospace;
    font-size: 9px;
    letter-spacing: 1.4px;
    color: #888;
    text-transform: uppercase;
}
.rsh-gr-meta dd {
    font-family: 'JetBrains Mono', monospace;
    font-size: 11.5px;
    color: #000;
    margin: 0;
}
.rsh-gr-meta.dark dd { color: #fff; }
.rsh-grants-foot { margin-top: 24px; }
.rsh-grants-foot code {
    font-family: 'JetBrains Mono', monospace;
    background: #fff;
    border: 1px solid #e6e6e6;
    padding: 1px 5px;
}

/* Talks list · 2-col grid */
.rsh-talks {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 18px;
    margin-top: 16px;
}
.rsh-tk {
    background: #fff;
    border: 1px solid #e6e6e6;
    padding: 20px 22px;
    display: flex;
    flex-direction: column;
    gap: 6px;
}
.rsh-tk h3 {
    font-family: var(--font-display, Inter Tight, sans-serif);
    font-size: 15px;
    line-height: 1.3;
    margin: 2px 0;
    color: #0a0a0a;
}
.rsh-tk-where {
    font-family: 'JetBrains Mono', monospace;
    font-size: 11px;
    color: #555;
    margin: 0;
}
.rsh-tk-tags {
    margin: 6px 0 0;
    padding: 8px 0 0;
    border-top: 1px solid #eee;
    display: flex;
    gap: 6px;
    flex-wrap: wrap;
}
.rsh-tk-tags span {
    font-family: 'JetBrains Mono', monospace;
    font-size: 10px;
    letter-spacing: 0.5px;
    background: #f5f5f5;
    border: 1px solid #e6e6e6;
    padding: 2px 7px;
    color: #444;
}
.rsh-coverage {
    margin-top: 28px;
    padding: 22px 26px;
    background: #0f0f0f;
    color: #fff;
}
.rsh-coverage .q1n-eyebrow { color: #999; margin-bottom: 14px; display: block; }
.rsh-cov-row {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 12px 24px;
}
.rsh-cov-cell {
    font-family: 'JetBrains Mono', monospace;
    font-size: 11.5px;
    color: #ccc;
    border-left: 2px solid #fff;
    padding-left: 10px;
}
.rsh-cov-cell strong { color: #fff; font-weight: 600; }


/* ============================================================
   COMPANY PAGE · co-* module · world-class
   ============================================================ */

/* Mission grid + principles */
.co-mission-grid {
    display: grid;
    grid-template-columns: minmax(0, 1fr) minmax(0, 1.2fr);
    gap: 32px;
    margin-top: 16px;
}
.co-mission-body p {
    font-size: 15px;
    line-height: 1.7;
    color: #333;
    margin: 0 0 18px;
}
.co-principles {
    list-style: none;
    margin: 0;
    padding: 0;
    display: flex;
    flex-direction: column;
    gap: 10px;
}
.co-principles li {
    background: #fff;
    border: 1px solid #e6e6e6;
    padding: 16px 20px;
    display: grid;
    grid-template-columns: 48px 1fr;
    gap: 14px;
    align-items: center;
}
.co-pn {
    font-family: var(--font-display, Inter Tight, sans-serif);
    font-size: 24px;
    font-weight: 500;
    line-height: 1;
    color: #0a0a0a;
    letter-spacing: -0.02em;
}
.co-principles h3 {
    font-family: var(--font-display, Inter Tight, sans-serif);
    font-size: 15px;
    line-height: 1.3;
    margin: 0 0 2px;
    color: #0a0a0a;
}
.co-principles p {
    font-size: 13px;
    line-height: 1.5;
    color: #555;
    margin: 0;
}

/* Five engineering tracks */
.co-tracks {
    display: grid;
    grid-template-columns: repeat(5, 1fr);
    gap: 16px;
    margin-top: 16px;
}
.co-track {
    background: #fff;
    border: 1px solid #e6e6e6;
    padding: 22px 20px;
    display: flex;
    flex-direction: column;
    gap: 10px;
}
.co-track.hl { background: #0f0f0f; border-color: #0f0f0f; }
.co-track h3 {
    font-family: var(--font-display, Inter Tight, sans-serif);
    font-size: 17px;
    line-height: 1.3;
    margin: 2px 0;
    color: #0a0a0a;
}
.co-track.hl h3 { color: #fff; }
.co-track p {
    font-size: 13px;
    line-height: 1.55;
    color: #555;
    margin: 0;
}
.co-track.hl p { color: #ccc; }
.co-track p code {
    font-family: 'JetBrains Mono', monospace;
    font-size: 11.5px;
    background: #f5f5f5;
    border: 1px solid #e6e6e6;
    padding: 1px 4px;
}
.co-track.hl p code { background: #1a1a1a; border-color: #2a2a2a; color: #fff; }
.co-spec {
    margin: 8px 0 0;
    padding: 12px 0 0;
    border-top: 1px solid #eee;
    display: flex;
    flex-direction: column;
    gap: 6px;
}
.co-spec.dark { border-top-color: #2a2a2a; }
.co-spec div { display: grid; grid-template-columns: 80px 1fr; gap: 8px; }
.co-spec dt {
    font-family: 'JetBrains Mono', monospace;
    font-size: 9.5px;
    letter-spacing: 1.4px;
    color: #888;
    text-transform: uppercase;
    margin-top: 1px;
}
.co-spec dd {
    font-family: 'JetBrains Mono', monospace;
    font-size: 11.5px;
    color: #0a0a0a;
    margin: 0;
    line-height: 1.4;
}
.co-spec.dark dt { color: #888; }
.co-spec.dark dd { color: #fff; }

/* Programme gates · master timeline */
.co-gates {
    margin-top: 12px;
    padding: 24px 28px;
    background: #fff;
    border: 1px solid #e6e6e6;
    position: relative;
}
.co-gate-axis {
    display: grid;
    grid-template-columns: 200px 1fr;
    margin-bottom: 8px;
}
.co-gate-ticks {
    display: grid;
    grid-template-columns: repeat(8, 1fr);
    font-family: 'JetBrains Mono', monospace;
    font-size: 10px;
    color: #888;
    border-top: 1px solid #000;
    padding-top: 6px;
}
.co-gate-row {
    display: grid;
    grid-template-columns: 200px 1fr;
    margin-bottom: 8px;
    align-items: center;
}
.co-gate-tag {
    font-family: 'JetBrains Mono', monospace;
    font-size: 11.5px;
    letter-spacing: 1.5px;
    color: #0a0a0a;
    padding-right: 16px;
    font-weight: 600;
}
.co-gate-track {
    position: relative;
    height: 32px;
    background: #f7f7f7;
    border: 1px solid #e6e6e6;
}
.co-gate-bar {
    position: absolute;
    top: 4px;
    bottom: 4px;
    background: #fff;
    border: 1px solid #000;
    display: flex;
    align-items: center;
    justify-content: center;
    font-family: 'JetBrains Mono', monospace;
    font-size: 10px;
    color: #000;
    overflow: hidden;
    white-space: nowrap;
    padding: 0 6px;
    box-sizing: border-box;
}
.co-gate-bar.dark { background: #0f0f0f; color: #fff; border-color: #0f0f0f; }
.co-gate-markers {
    position: relative;
    margin-left: 200px;
    height: 56px;
    margin-top: 12px;
    border-top: 2px solid #000;
}
.co-gate-marker {
    position: absolute;
    top: 8px;
    transform: translateX(-50%);
    background: #fff;
    border: 1px solid #000;
    padding: 6px 10px;
    text-align: center;
    min-width: 100px;
    display: flex;
    flex-direction: column;
    gap: 2px;
}
.co-gate-marker strong {
    font-family: 'JetBrains Mono', monospace;
    font-size: 12px;
    letter-spacing: 2px;
    color: #0a0a0a;
}
.co-gate-marker small {
    font-family: 'JetBrains Mono', monospace;
    font-size: 10px;
    color: #666;
}

/* Leadership cards */
.co-leadership {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 18px;
    margin-top: 16px;
}
.co-bio {
    background: #fff;
    border: 1px solid #e6e6e6;
    padding: 22px 22px;
    display: grid;
    grid-template-columns: 64px 1fr;
    gap: 16px;
    align-items: start;
}
.co-bio.principal {
    grid-column: span 1;
    background: #0f0f0f;
    border-color: #0f0f0f;
    color: #fff;
}
.co-bio-avatar {
    width: 64px;
    height: 64px;
    background: #0f0f0f;
    color: #fff;
    display: flex;
    align-items: center;
    justify-content: center;
    font-family: var(--font-display, Inter Tight, sans-serif);
    font-size: 22px;
    font-weight: 500;
    letter-spacing: 1px;
}
.co-bio.principal .co-bio-avatar { background: #fff; color: #0a0a0a; }
.co-bio-body h3 {
    font-family: var(--font-display, Inter Tight, sans-serif);
    font-size: 17px;
    line-height: 1.3;
    margin: 0 0 4px;
    color: #0a0a0a;
}
.co-bio.principal .co-bio-body h3 { color: #fff; }
.co-bio-role {
    font-family: 'JetBrains Mono', monospace;
    font-size: 11px;
    color: #555;
    margin: 0 0 8px;
}
.co-bio.principal .co-bio-role { color: #aaa; }
.co-bio-body > p:last-child {
    font-size: 13px;
    line-height: 1.55;
    color: #555;
    margin: 0;
}
.co-bio.principal .co-bio-body > p:last-child { color: #ccc; }
.co-bio-body code {
    font-family: 'JetBrains Mono', monospace;
    font-size: 11px;
    background: #f5f5f5;
    border: 1px solid #e6e6e6;
    padding: 1px 4px;
}
.co-bio.principal .co-bio-body code { background: #1a1a1a; border-color: #2a2a2a; color: #fff; }

/* Governance */
.co-gov-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 18px;
    margin-top: 16px;
}
.co-gov-card {
    background: #fff;
    border: 1px solid #e6e6e6;
    padding: 24px 24px;
    display: flex;
    flex-direction: column;
    gap: 10px;
}
.co-gov-card h3 {
    font-family: var(--font-display, Inter Tight, sans-serif);
    font-size: 17px;
    line-height: 1.3;
    margin: 4px 0 8px;
    color: #0a0a0a;
}
.co-gov-list {
    list-style: none;
    margin: 0;
    padding: 0;
    display: flex;
    flex-direction: column;
    gap: 8px;
}
.co-gov-list li {
    font-family: 'JetBrains Mono', monospace;
    font-size: 11.5px;
    color: #444;
    line-height: 1.5;
    padding-left: 14px;
    position: relative;
}
.co-gov-list li::before {
    content: '';
    position: absolute;
    left: 0;
    top: 7px;
    width: 6px;
    height: 6px;
    background: #000;
}
.co-gov-list li strong {
    color: #0a0a0a;
    font-weight: 600;
}
.co-gov-list code {
    font-family: 'JetBrains Mono', monospace;
    font-size: 11px;
    background: #f5f5f5;
    border: 1px solid #e6e6e6;
    padding: 1px 5px;
}

/* Facility */
.co-facility {
    margin-top: 12px;
    padding: 24px 28px;
    background: #fff;
    border: 1px solid #e6e6e6;
}
.co-facility svg { width: 100%; height: auto; }
.co-facility-meta {
    display: grid;
    grid-template-columns: repeat(5, 1fr);
    gap: 16px;
    margin-top: 20px;
}
.co-fm-cell {
    background: #fff;
    border: 1px solid #e6e6e6;
    padding: 18px 18px;
    display: flex;
    flex-direction: column;
    gap: 4px;
}
.co-fm-cell strong {
    font-family: var(--font-display, Inter Tight, sans-serif);
    font-size: 22px;
    font-weight: 500;
    line-height: 1.05;
    letter-spacing: -0.025em;
    color: #0a0a0a;
}
.co-fm-cell small {
    font-family: 'JetBrains Mono', monospace;
    font-size: 10.5px;
    color: #707070;
}

/* Funding · partners */
.co-funding {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 18px;
    margin-top: 16px;
}
.co-fund-card {
    background: #fff;
    border: 1px solid #e6e6e6;
    padding: 22px 22px;
    display: flex;
    flex-direction: column;
    gap: 10px;
}
.co-fund-card.host {
    grid-column: span 3;
    background: #0f0f0f;
    border-color: #0f0f0f;
}
.co-fund-card h3 {
    font-family: var(--font-display, Inter Tight, sans-serif);
    font-size: 17px;
    line-height: 1.3;
    margin: 2px 0;
    color: #0a0a0a;
}
.co-fund-card.host h3 { color: #fff; font-size: 22px; }
.co-fund-card p {
    font-size: 13.5px;
    line-height: 1.55;
    color: #555;
    margin: 0;
}
.co-fund-card.host p { color: #ccc; font-size: 14px; }
.co-fund-meta {
    margin: 8px 0 0;
    padding: 12px 0 0;
    border-top: 1px solid #eee;
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 8px 18px;
}
.co-fund-meta.dark { border-top-color: #2a2a2a; }
.co-fund-meta div { display: flex; flex-direction: column; gap: 2px; }
.co-fund-meta dt {
    font-family: 'JetBrains Mono', monospace;
    font-size: 9px;
    letter-spacing: 1.4px;
    color: #888;
    text-transform: uppercase;
}
.co-fund-meta dd {
    font-family: 'JetBrains Mono', monospace;
    font-size: 11.5px;
    color: #0a0a0a;
    margin: 0;
}
.co-fund-meta.dark dd { color: #fff; }

/* News · updates */
.co-news {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 18px;
    margin-top: 16px;
}
.co-news-card {
    background: #fff;
    border: 1px solid #e6e6e6;
    padding: 22px 22px;
    display: flex;
    flex-direction: column;
    gap: 8px;
}
.co-news-card.miss { background: #0f0f0f; border-color: #0f0f0f; }
.co-news-card h3 {
    font-family: var(--font-display, Inter Tight, sans-serif);
    font-size: 17px;
    line-height: 1.3;
    margin: 4px 0 0;
    color: #0a0a0a;
}
.co-news-card.miss h3 { color: #fff; }
.co-news-card p {
    font-size: 13.5px;
    line-height: 1.55;
    color: #555;
    margin: 0;
}
.co-news-card.miss p { color: #ccc; }
.co-news-tag {
    font-family: 'JetBrains Mono', monospace;
    font-size: 10px;
    letter-spacing: 1.4px;
    text-transform: uppercase;
    color: #888;
    margin-top: auto;
    border-top: 1px solid #eee;
    padding-top: 10px;
}
.co-news-card.miss .co-news-tag { color: #999; border-top-color: #2a2a2a; }
.co-news-tag.light { color: #999; }

/* Careers · open roles */
.co-jobs {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 16px;
    margin-top: 16px;
}
.co-job {
    background: #fff;
    border: 1px solid #e6e6e6;
    padding: 22px 24px;
    display: flex;
    flex-direction: column;
    gap: 8px;
}
.co-job h3 {
    font-family: var(--font-display, Inter Tight, sans-serif);
    font-size: 17px;
    line-height: 1.3;
    margin: 4px 0;
    color: #0a0a0a;
}
.co-job-desc {
    font-size: 13.5px;
    line-height: 1.55;
    color: #555;
    margin: 0;
}
.co-job-meta {
    display: flex;
    gap: 14px;
    flex-wrap: wrap;
    margin-top: 8px;
    padding-top: 10px;
    border-top: 1px solid #eee;
}
.co-job-meta span {
    font-family: 'JetBrains Mono', monospace;
    font-size: 11px;
    color: #444;
}
.co-jobs-foot {
    margin-top: 32px;
    padding: 22px 26px;
    background: #fff;
    border: 1px solid #e6e6e6;
}
.co-jobs-foot p {
    font-size: 14px;
    line-height: 1.6;
    color: #444;
    margin: 6px 0 0;
}
.co-jobs-foot code {
    font-family: 'JetBrains Mono', monospace;
    background: #f5f5f5;
    border: 1px solid #e6e6e6;
    padding: 1px 5px;
}
.co-jobs-foot a { color: #0a0a0a; }

/* Contact · inboxes */
.co-contact {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 16px;
    margin-top: 16px;
}
.co-ct {
    background: #fff;
    border: 1px solid #e6e6e6;
    padding: 22px 22px;
    display: flex;
    flex-direction: column;
    gap: 8px;
}
.co-ct.dark { background: #0f0f0f; border-color: #0f0f0f; }
.co-ct h3 {
    font-family: 'JetBrains Mono', monospace;
    font-size: 15px;
    margin: 4px 0;
    color: #0a0a0a;
    letter-spacing: 0.5px;
}
.co-ct.dark h3 { color: #fff; }
.co-ct p {
    font-size: 13.5px;
    line-height: 1.55;
    color: #555;
    margin: 0;
}
.co-ct.dark p { color: #ccc; }
.co-ct small {
    font-family: 'JetBrains Mono', monospace;
    font-size: 10.5px;
    color: #888;
    margin-top: auto;
    padding-top: 10px;
    border-top: 1px solid #eee;
}
.co-ct.dark small { color: #999; border-top-color: #2a2a2a; }
.co-ct small.light { color: #aaa; }

.co-contact-addr {
    margin-top: 28px;
    padding: 22px 26px;
    background: #fff;
    border: 1px solid #e6e6e6;
}
.co-contact-addr p {
    font-size: 14px;
    line-height: 1.7;
    color: #333;
    margin: 6px 0 0;
}
.co-contact-addr code {
    font-family: 'JetBrains Mono', monospace;
    font-size: 12.5px;
    background: #f5f5f5;
    border: 1px solid #e6e6e6;
    padding: 1px 5px;
}


/* ===== COMPANY ALIGNMENT FIXES ===== */

/* Mission: full-width body, then 3x2 principles grid */
.co-mission-body {
    max-width: 920px;
    margin-top: 16px;
}
.co-mission-body p {
    font-size: 16px;
    line-height: 1.75;
    color: #333;
    margin: 0 0 18px;
}
.co-principles {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 16px;
    margin-top: 32px;
    list-style: none;
    padding: 0;
}
.co-principles li {
    background: #fff;
    border: 1px solid #e6e6e6;
    padding: 22px 22px;
    display: grid;
    grid-template-columns: 52px 1fr;
    gap: 14px;
    align-items: start;
}

/* Leadership: principal full-width, then 9-card 3x3 grid */
.co-leadership {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 18px;
    margin-top: 16px;
}
.co-bio.principal {
    grid-column: 1 / -1;
    grid-template-columns: 96px 1fr;
    gap: 24px;
    padding: 28px 32px;
}
.co-bio.principal .co-bio-avatar {
    width: 96px;
    height: 96px;
    font-size: 28px;
}
.co-bio.principal .co-bio-body h3 {
    font-size: 24px;
    margin-bottom: 6px;
}
.co-bio.principal .co-bio-role {
    font-size: 12.5px;
    margin-bottom: 10px;
}
.co-bio.principal .co-bio-body > p:last-child {
    font-size: 14.5px;
    line-height: 1.65;
    max-width: 80ch;
}

/* ===== Hero accent: match home/tech style (black + grey continuation) ===== */
.plt-hero-text h1 .accent,
.q1-hero-text h1 .accent,
.q1n-hero h1 .accent {
    color: #6a6a6a;
    font-weight: 400;
    display: inline;
}

/* ===== Hero spacing fixes ===== */
/* Platform: allow "Native QONTOS at G2." to stay on one line (4 total lines) */
.plt-hero-text h1 { max-width: 18ch; }

/* q1-hero-lead margin so CTAs sit lower (company, research, qontos-1) */
.q1-hero-text .q1-hero-lead {
    max-width: 560px;
    margin-bottom: 40px;
    font-size: 16px;
    line-height: 1.65;
    color: #404040;
}
.q1-hero-actions {
    margin-top: 8px;
    display: flex;
    flex-wrap: wrap;
    gap: 14px;
}

/* Force each hero line not to wrap */
.plt-hero-text h1 .line,
.q1-hero-text h1 .line { display: inline-block; white-space: nowrap; }
.plt-hero-text h1 { max-width: none; }
