/* === DESIGN SYSTEM === */
:root {
    --bg: #FAFAF8;
    --bg-muted: #F3F1EC;
    --bg-dark: #1A1814;
    --border: #E5E1D8;
    --border-dark: #2E2B22;
    --text: #1A1814;
    --text-muted: #7A7268;
    --text-dark-muted: #5A5548;
    --text-darkest: #3D3830;
    --accent: #C84B2F;

    /* Product family accents — the four colors of the logo mark */
    --accent-pro: #2A7BE8;
    --accent-pprofessor: #3DA874;
    --accent-fino: #E8832A;
}

/* Per-product themes: the wrapper class swaps --accent for the whole page,
   nav CTA included. Applied by the router from the request path. */
.theme-pro {
    --accent: var(--accent-pro);
}

.theme-pprofessor {
    --accent: var(--accent-pprofessor);
}

.theme-fino {
    --accent: var(--accent-fino);
}

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

body {
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
    background: var(--bg);
    color: var(--text);
    line-height: 1.6;
}

/* === NAV === */
.nav {
    height: 64px;
    border-bottom: 1px solid var(--border);
    background: var(--bg);
    position: sticky;
    top: 0;
    z-index: 100;
    padding: 0 80px;
}

.nav-inner {
    max-width: 1200px;
    width: 100%;
    margin: 0 auto;
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: space-between;
}

/* === PRODUCT SWITCHER === */
.product-switcher {
    position: relative;
}

.product-switcher > summary {
    display: flex;
    align-items: center;
    gap: 10px;
    cursor: pointer;
    user-select: none;
    list-style: none;
}

.product-switcher > summary::-webkit-details-marker {
    display: none;
}

.product-switcher > summary::marker {
    content: "";
}

.product-switcher .logo-icon {
    width: 28px;
    height: 28px;
    display: block;
}

.switcher-chevron {
    color: var(--text-muted);
    transition: transform 0.15s;
    flex-shrink: 0;
    margin-top: 1px;
}

.product-switcher[open] .switcher-chevron {
    transform: rotate(180deg);
}

.product-menu {
    position: absolute;
    top: calc(100% + 12px);
    left: -8px;
    min-width: 260px;
    background: var(--bg);
    border: 1px solid var(--border);
    border-radius: 10px;
    padding: 6px;
    box-shadow: 0 8px 24px rgba(26, 24, 20, 0.08);
    z-index: 200;
}

.product-item {
    display: flex;
    flex-direction: column;
    gap: 2px;
    padding: 10px 12px;
    border-radius: 7px;
    text-decoration: none;
}

.product-item:hover {
    background: var(--bg-muted);
}

.product-item[aria-current="true"] .product-item-name {
    font-weight: 600;
}

.product-item-name {
    display: flex;
    align-items: center;
    gap: 8px;
    font-size: 14px;
    font-weight: 500;
    color: var(--text);
    line-height: 1.4;
}

.product-dot {
    width: 8px;
    height: 8px;
    border-radius: 50%;
    flex-shrink: 0;
}

.product-item-desc {
    font-size: 12px;
    color: var(--text-muted);
    line-height: 1.5;
    margin-left: 16px;
}

.nav-logo-text {
    font-family: 'Geist', 'Inter', sans-serif;
    font-weight: 800;
    font-size: 18px;
    color: var(--text);
}

.nav-right {
    display: flex;
    align-items: center;
    gap: 32px;
}

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

.nav-links a {
    font-size: 14px;
    font-weight: 500;
    color: var(--text-muted);
    text-decoration: none;
    transition: color 0.15s;
}

.nav-links a:hover {
    color: var(--text);
}

.nav-cta {
    background: var(--bg-dark);
    color: #fff;
    font-size: 14px;
    font-weight: 500;
    padding: 8px 16px;
    border-radius: 6px;
    text-decoration: none;
    transition: opacity 0.15s;
    white-space: nowrap;
}

.nav-cta:hover {
    opacity: 0.82;
}

/* === HERO === */
.hero {
    position: relative;
    height: 1350px;
    overflow: hidden;
    padding: 100px 80px 0;
    display: flex;
    flex-direction: column;
    align-items: center;
    border-bottom: 1px solid var(--border);
}

.hero-bg {
    position: absolute;
    inset: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    pointer-events: none;
    opacity: 0.45;
    z-index: 0;
}

.hero-bg svg {
    width: 100%;
    height: auto;
}

.hero-content {
    position: relative;
    z-index: 1;
    text-align: center;
    max-width: 800px;
    width: 100%;
}

.hero-badge {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    font-family: 'IBM Plex Mono', 'Courier New', monospace;
    font-size: 11px;
    font-weight: 400;
    letter-spacing: 0.1em;
    color: var(--text-muted);
    text-transform: uppercase;
    margin-bottom: 32px;
}

.hero-badge-dot {
    width: 8px;
    height: 8px;
    border-radius: 50%;
    background: var(--accent);
    flex-shrink: 0;
}

.hero h1 {
    font-family: 'Geist', 'Inter', sans-serif;
    font-size: 76px;
    font-weight: 800;
    line-height: 1.0;
    color: var(--text);
    margin-bottom: 24px;
    letter-spacing: -0.03em;
}

.hero-subtitle {
    font-size: 19px;
    font-weight: 400;
    color: var(--text-muted);
    line-height: 1.65;
    margin-bottom: 40px;
    max-width: 540px;
    margin-left: auto;
    margin-right: auto;
}

.hero-ctas {
    display: flex;
    align-items: center;
    gap: 14px;
    justify-content: center;
    margin-bottom: 64px;
}

.btn-hero {
    background: var(--bg-dark);
    color: #fff;
    font-size: 15px;
    font-weight: 500;
    padding: 13px 26px;
    border-radius: 7px;
    text-decoration: none;
    transition: opacity 0.15s;
    white-space: nowrap;
}

.btn-hero:hover {
    opacity: 0.82;
}

.hero-platform-badge {
    font-family: 'IBM Plex Mono', 'Courier New', monospace;
    font-size: 12px;
    color: var(--text-muted);
    background: var(--bg-muted);
    border: 1px solid var(--border);
    border-radius: 7px;
    padding: 13px 18px;
    letter-spacing: 0.02em;
}

.hero-screenshot {
    position: relative;
    z-index: 1;
    width: 1200px;
    max-width: 100%;
    flex-shrink: 0;
}

.slideshow {
    display: grid;
    width: 100%;
}

.slide {
    grid-area: 1 / 1;
    width: 100%;
    border-radius: 10px 10px 0 0;
    display: block;
    position: relative;
    opacity: 0;
    z-index: 1;
    transition: opacity 1s ease-in-out;
    overflow: hidden;
}

.slide img {
    width: 100%;
    display: block;
}

/* Currently visible slide — stays fully opaque while incoming fades in above */
.slide.active {
    opacity: 1;
    z-index: 2;
}

/* New slide fading in on top — z-index: 3 keeps it above .active regardless of DOM order */
.slide.incoming {
    opacity: 1;
    z-index: 3;
}

/* === SECTION LABEL === */
.section-label {
    display: flex;
    align-items: center;
    gap: 12px;
    margin-bottom: 20px;
}

.section-label-line {
    width: 24px;
    height: 1px;
    background: var(--text-muted);
    flex-shrink: 0;
}

.section-label-text {
    font-family: 'IBM Plex Mono', 'Courier New', monospace;
    font-size: 11px;
    font-weight: 400;
    letter-spacing: 0.1em;
    text-transform: uppercase;
    color: var(--text-muted);
}

/* === PILLARS SECTION === */
.pillars {
    padding: 100px 80px;
    border-bottom: 1px solid var(--border);
}

.pillars-inner {
    max-width: 1200px;
    margin: 0 auto;
}

.pillars h2 {
    font-family: 'Geist', 'Inter', sans-serif;
    font-size: 46px;
    font-weight: 800;
    color: var(--text);
    margin-bottom: 56px;
    letter-spacing: -0.025em;
    max-width: 480px;
    line-height: 1.08;
}

.pillars-cards {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    border: 1px solid var(--border);
    border-radius: 10px;
    overflow: hidden;
}

.pillar-card {
    padding: 36px 28px;
    border-right: 1px solid var(--border);
}

.pillar-card:last-child {
    border-right: none;
}

.pillar-icon {
    width: 40px;
    height: 40px;
    border-radius: 8px;
    margin-bottom: 20px;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}

.pillar-icon-accent {
    background: var(--accent);
}

.pillar-icon-dark {
    background: var(--bg-dark);
}

.pillar-card h3 {
    font-size: 15px;
    font-weight: 500;
    color: var(--text);
    margin-bottom: 10px;
    line-height: 1.4;
}

.pillar-card p {
    font-size: 14px;
    color: var(--text-muted);
    line-height: 1.65;
}

/* === QUICK START === */
.quick-start {
    background: var(--bg-muted);
    padding: 100px 80px;
    border-bottom: 1px solid var(--border);
}

.quick-start-inner {
    max-width: 1200px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 120px;
    align-items: start;
}

.quick-start-left h2 {
    font-family: 'Geist', 'Inter', sans-serif;
    font-size: 46px;
    font-weight: 800;
    color: var(--text);
    margin-top: 20px;
    margin-bottom: 48px;
    letter-spacing: -0.025em;
    line-height: 1.08;
}

.quick-start-steps {
    display: flex;
    flex-direction: column;
    gap: 28px;
}

.quick-start-step {
    display: flex;
    align-items: flex-start;
    gap: 16px;
}

.step-circle {
    width: 28px;
    height: 28px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-family: 'IBM Plex Mono', 'Courier New', monospace;
    font-size: 11px;
    color: #fff;
    flex-shrink: 0;
    margin-top: 2px;
}

.step-circle-dark {
    background: var(--bg-dark);
}

.step-circle-accent {
    background: var(--accent);
}

.step-content h4 {
    font-size: 15px;
    font-weight: 500;
    color: var(--text);
    margin-bottom: 4px;
    line-height: 1.4;
}

.step-content p {
    font-size: 14px;
    color: var(--text-muted);
    line-height: 1.6;
}

/* Terminal */
.terminal {
    background: var(--bg-dark);
    border-radius: 10px;
    overflow: hidden;
}

.terminal-header {
    padding: 12px 18px;
    border-bottom: 1px solid var(--border-dark);
    display: flex;
    align-items: center;
    gap: 7px;
}

.terminal-dot {
    width: 10px;
    height: 10px;
    border-radius: 50%;
    background: var(--border-dark);
    flex-shrink: 0;
}

.terminal-title {
    font-family: 'IBM Plex Mono', 'Courier New', monospace;
    font-size: 12px;
    color: var(--text-dark-muted);
    margin-left: 6px;
}

.terminal-body {
    padding: 22px 20px;
}

.terminal-body pre {
    font-family: 'IBM Plex Mono', 'Courier New', monospace;
    font-size: 13px;
    line-height: 1.85;
    color: #C8C0B0;
    white-space: pre;
    overflow-x: auto;
}

/* Syntax tokens — warm, low-saturation hues on the terminal's dark ground */
.terminal-body .tok-cm {
    color: #6F695D;
}

.terminal-body .tok-kw {
    color: #E8975E;
}

.terminal-body .tok-str {
    color: #9CB380;
}

.terminal-body .tok-fn {
    color: #D9BE7A;
}

.sdk-note {
    margin-top: 16px;
    padding: 14px 18px;
    background: var(--bg-dark);
    border-radius: 8px;
    border: 1px solid var(--border-dark);
}

.sdk-note p {
    font-family: 'IBM Plex Mono', 'Courier New', monospace;
    font-size: 12px;
    color: var(--text-dark-muted);
    line-height: 1.65;
}

/* === ARCHITECTURE === */
.architecture {
    padding: 100px 80px;
    border-bottom: 1px solid var(--border);
}

.architecture-inner {
    max-width: 1200px;
    margin: 0 auto;
}

.architecture h2 {
    font-family: 'Geist', 'Inter', sans-serif;
    font-size: 46px;
    font-weight: 800;
    color: var(--text);
    margin-top: 20px;
    margin-bottom: 56px;
    letter-spacing: -0.025em;
    max-width: 600px;
    line-height: 1.1;
}

.arch-cards {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    border: 1px solid var(--border);
    border-radius: 10px;
    overflow: hidden;
}

.arch-card {
    padding: 36px 32px;
    border-right: 2px solid var(--border);
}

.arch-card:last-child {
    border-right: none;
}

.arch-stat {
    font-family: 'Geist', 'Inter', sans-serif;
    font-size: 46px;
    font-weight: 800;
    letter-spacing: -0.03em;
    margin-bottom: 16px;
    line-height: 1.0;
    white-space: pre-line;
}

.arch-stat-accent {
    color: var(--accent);
}

.arch-stat-dark {
    color: var(--text);
}

.arch-card h3 {
    font-size: 15px;
    font-weight: 500;
    color: var(--text);
    margin-bottom: 10px;
    line-height: 1.4;
}

.arch-card p {
    font-size: 14px;
    color: var(--text-muted);
    line-height: 1.65;
}

/* === FOOTER === */
.footer {
    background: var(--bg-dark);
    padding: 60px 80px;
}

.footer-inner {
    max-width: 1200px;
    margin: 0 auto;
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    gap: 80px;
    padding-bottom: 40px;
    border-bottom: 1px solid var(--border-dark);
}

.footer-brand {
    max-width: 300px;
}

.footer-logo {
    display: flex;
    align-items: center;
    gap: 10px;
    margin-bottom: 16px;
}

.footer-logo .logo-icon {
    width: 28px;
    height: 28px;
    display: block;
    opacity: 0.75;
}

.footer-logo-text {
    font-family: 'Geist', 'Inter', sans-serif;
    font-weight: 800;
    font-size: 18px;
    color: #fff;
}

.footer-tagline {
    font-size: 14px;
    color: var(--text-dark-muted);
    line-height: 1.65;
}

.footer-links {
    display: flex;
    gap: 72px;
    flex-shrink: 0;
}

.footer-col h4 {
    font-family: 'IBM Plex Mono', 'Courier New', monospace;
    font-size: 11px;
    font-weight: 400;
    letter-spacing: 0.1em;
    text-transform: uppercase;
    color: var(--text-dark-muted);
    margin-bottom: 20px;
}

.footer-col ul {
    list-style: none;
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.footer-col ul a {
    font-size: 14px;
    color: var(--text-dark-muted);
    text-decoration: none;
    transition: color 0.15s;
}

.footer-col ul a:hover {
    color: #fff;
}

.footer-bottom {
    max-width: 1200px;
    margin: 0 auto;
    padding-top: 28px;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.footer-copyright {
    font-size: 13px;
    color: var(--text-darkest);
}

.footer-otel {
    font-family: 'IBM Plex Mono', 'Courier New', monospace;
    font-size: 12px;
    color: var(--text-darkest);
}

/* === PRODUCT HERO === */
/* Like .hero, but sized to its content — product pages have no screenshot below. */
.hero-product {
    position: relative;
    overflow: hidden;
    padding: 110px 80px 130px;
    display: flex;
    flex-direction: column;
    align-items: center;
    border-bottom: 1px solid var(--border);
}

.hero-product h1 {
    font-family: 'Geist', 'Inter', sans-serif;
    font-size: 76px;
    font-weight: 800;
    line-height: 1.0;
    color: var(--text);
    margin-bottom: 24px;
    letter-spacing: -0.03em;
}

.hero-product .hero-ctas {
    margin-bottom: 0;
}

/* Top-anchored motif variant (pprofessor's inverted flame skyline) */
.hero-bg-top {
    align-items: flex-start;
}

/* Product hero with an app screenshot bleeding off the bottom, like the
   homepage hero. Height crops the screenshot's lower edge. */
.hero-product-shot {
    height: 1150px;
    padding-bottom: 0;
}

.hero-product-shot .hero-ctas {
    margin-bottom: 64px;
}

.hero-screenshot picture {
    display: block;
}

.hero-screenshot picture img {
    width: 100%;
    display: block;
    border-radius: 10px 10px 0 0;
}

/* Motif accents inherit the page theme */
.motif-accent {
    stroke: var(--accent);
}

.motif-accent-fill {
    fill: var(--accent);
}

/* The home-page Pro promo previews the Pro accent regardless of page theme */
.motif-pro {
    stroke: var(--accent-pro);
}

.motif-pro-fill {
    fill: var(--accent-pro);
}

/* === BUTTONS === */
.btn-accent {
    background: var(--accent);
    color: #fff;
    font-size: 15px;
    font-weight: 500;
    padding: 13px 26px;
    border-radius: 7px;
    text-decoration: none;
    transition: opacity 0.15s;
    white-space: nowrap;
}

.btn-accent:hover {
    opacity: 0.85;
}

.btn-accent-pro {
    background: var(--accent-pro);
}

.btn-ghost {
    border: 1px solid var(--border);
    color: var(--text);
    background: transparent;
    font-size: 15px;
    font-weight: 500;
    padding: 12px 25px;
    border-radius: 7px;
    text-decoration: none;
    transition: border-color 0.15s;
    white-space: nowrap;
}

.btn-ghost:hover {
    border-color: var(--text-muted);
}

.btn-ghost-dark {
    border: 1px solid rgba(255, 255, 255, 0.22);
    color: #fff;
    background: transparent;
    font-size: 15px;
    font-weight: 500;
    padding: 12px 25px;
    border-radius: 7px;
    text-decoration: none;
    transition: border-color 0.15s;
    white-space: nowrap;
}

.btn-ghost-dark:hover {
    border-color: rgba(255, 255, 255, 0.5);
}

/* === GENERIC SECTIONS === */
.feature-section {
    padding: 100px 80px;
    border-bottom: 1px solid var(--border);
}

.feature-section-inner {
    max-width: 1200px;
    margin: 0 auto;
}

.section-h2 {
    font-family: 'Geist', 'Inter', sans-serif;
    font-size: 46px;
    font-weight: 800;
    color: var(--text);
    margin-top: 20px;
    margin-bottom: 56px;
    letter-spacing: -0.025em;
    max-width: 560px;
    line-height: 1.08;
}

/* Three-across variant of the pillar card grid */
.pillars-cards.cards-3 {
    grid-template-columns: repeat(3, 1fr);
}

/* === DARK BAND (cross-promos and CTA sections) === */
.band {
    background: var(--bg-dark);
    padding: 100px 80px;
    border-bottom: 1px solid var(--border-dark);
}

.band-inner {
    max-width: 1200px;
    margin: 0 auto;
}

.band-h2 {
    font-family: 'Geist', 'Inter', sans-serif;
    font-size: 46px;
    font-weight: 800;
    color: #fff;
    margin-top: 20px;
    margin-bottom: 20px;
    letter-spacing: -0.025em;
    line-height: 1.08;
}

.band-p {
    font-size: 16px;
    color: #B0A99C;
    line-height: 1.7;
    max-width: 520px;
    margin-bottom: 36px;
}

.band-ctas {
    display: flex;
    align-items: center;
    gap: 14px;
    flex-wrap: wrap;
}

.section-label-dark .section-label-line {
    background: #8A8378;
}

.section-label-dark .section-label-text {
    color: #8A8378;
}

/* Split band: text left, motif art right (home Pro promo) */
.band-split .band-inner {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 80px;
    align-items: center;
}

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

/* Centered band: CTA sections at the bottom of product pages */
.band-centered {
    text-align: center;
}

.band-centered .section-label {
    justify-content: center;
}

.band-centered .band-p {
    margin-left: auto;
    margin-right: auto;
}

.band-centered .band-ctas {
    justify-content: center;
}

/* === CODE SECTION (Fino first look) === */
.code-section {
    padding: 100px 80px;
    background: var(--bg-muted);
    border-bottom: 1px solid var(--border);
}

.code-section-inner {
    max-width: 820px;
    margin: 0 auto;
}

/* === 404 === */
.notfound {
    padding: 140px 80px 160px;
    text-align: center;
}

.notfound-stat {
    font-family: 'Geist', 'Inter', sans-serif;
    font-size: 120px;
    font-weight: 800;
    line-height: 1.0;
    letter-spacing: -0.04em;
    color: var(--accent);
    margin-bottom: 12px;
}

.notfound h1 {
    font-family: 'Geist', 'Inter', sans-serif;
    font-size: 46px;
    font-weight: 800;
    color: var(--text);
    letter-spacing: -0.025em;
    margin-bottom: 16px;
}

.notfound p {
    font-size: 16px;
    color: var(--text-muted);
    margin-bottom: 40px;
}

/* === DARK MODE === */
@media (prefers-color-scheme: dark) {
    :root {
        --bg: #100F0C;
        --bg-muted: #181510;
        --bg-dark: #1A1814;
        --border: #2D2923;
        --border-dark: #2D2923;
        --text: #EDE8DF;
        --text-muted: #6A6560;
        --text-dark-muted: #6A6560;
        --text-darkest: #5A5548;
        color-scheme: dark;

        /* Product accents brighten slightly for contrast on near-black */
        --accent-pro: #4A90F0;
        --accent-pprofessor: #45BE85;
        --accent-fino: #F0913A;
    }

    /* CTAs invert: dark-on-light becomes light-on-dark */
    .nav-cta {
        background: #EDE8DF;
        color: #100F0C;
    }

    .btn-hero {
        background: #EDE8DF;
        color: #100F0C;
    }

    /* Elevate cards slightly above page background */
    .pillar-card,
    .arch-card {
        background: #1C1A15;
    }

    /* Icon and step-number circles need more contrast on dark surface */
    .pillar-icon-dark,
    .step-circle-dark {
        background: #2D2923;
    }

    /* Terminal goes deeper than the card surfaces */
    .terminal {
        background: #141210;
    }

    .sdk-note {
        background: #1C1A15;
    }

    /* Footer recedes into the darkest tone */
    .footer {
        background: #0A0908;
    }

    .footer-col ul a:hover {
        color: #EDE8DF;
    }

    /* Tone down the hero signal rings — they're light-colored SVG strokes */
    .hero-bg {
        opacity: 0.12;
    }

    /* Dark bands sit deeper than the page background, like the terminal */
    .band {
        background: #141210;
        border-bottom-color: #2D2923;
    }

    /* Product menu elevates above the near-black page */
    .product-menu {
        background: #1C1A15;
        border-color: #2D2923;
        box-shadow: 0 12px 32px rgba(0, 0, 0, 0.5);
    }

    .product-item:hover {
        background: #262219;
    }
}

/* === RESPONSIVE === */
@media (max-width: 900px) {
    .nav {
        padding: 0 24px;
    }

    .nav-links {
        display: none;
    }

    .hero {
        padding: 60px 24px 0;
        height: auto;
        min-height: 580px;
    }

    .hero h1 {
        font-size: 40px;
    }

    .hero-subtitle {
        font-size: 17px;
    }

    .hero-ctas {
        flex-wrap: wrap;
    }

    .hero-screenshot {
        width: 100%;
    }

    .pillars {
        padding: 70px 24px;
    }

    .pillars h2 {
        font-size: 36px;
        max-width: 100%;
    }

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

    .pillar-card {
        border-bottom: 1px solid var(--border);
    }

    .pillar-card:nth-child(1),
    .pillar-card:nth-child(3) {
        border-right: 1px solid var(--border);
    }

    .pillar-card:nth-child(2),
    .pillar-card:nth-child(4) {
        border-right: none;
    }

    .pillar-card:nth-child(3),
    .pillar-card:nth-child(4) {
        border-bottom: none;
    }

    .quick-start {
        padding: 70px 24px;
    }

    .quick-start-inner {
        grid-template-columns: 1fr;
        gap: 48px;
    }

    .quick-start-left h2 {
        font-size: 36px;
    }

    .architecture {
        padding: 70px 24px;
    }

    .architecture h2 {
        font-size: 36px;
        max-width: 100%;
    }

    .arch-cards {
        grid-template-columns: 1fr;
    }

    .arch-card {
        border-right: none;
        border-bottom: 2px solid var(--border);
    }

    .arch-card:last-child {
        border-bottom: none;
    }

    .hero-product {
        padding: 60px 24px 80px;
    }

    .hero-product-shot {
        height: auto;
        padding-bottom: 0;
    }

    .hero-product h1 {
        font-size: 40px;
    }

    .feature-section {
        padding: 70px 24px;
    }

    .section-h2 {
        font-size: 36px;
        max-width: 100%;
    }

    /* Three-card grids collapse to a single column */
    .pillars-cards.cards-3 {
        grid-template-columns: 1fr;
    }

    .pillars-cards.cards-3 .pillar-card {
        border-right: none;
        border-bottom: 1px solid var(--border);
    }

    .pillars-cards.cards-3 .pillar-card:last-child {
        border-bottom: none;
    }

    .band {
        padding: 70px 24px;
    }

    .band-h2 {
        font-size: 36px;
    }

    .band-split .band-inner {
        grid-template-columns: 1fr;
        gap: 48px;
    }

    .code-section {
        padding: 70px 24px;
    }

    .notfound {
        padding: 100px 24px 120px;
    }

    .notfound-stat {
        font-size: 80px;
    }

    .notfound h1 {
        font-size: 36px;
    }

    .footer {
        padding: 60px 24px;
    }

    .footer-inner {
        flex-direction: column;
        gap: 40px;
    }

    .footer-links {
        gap: 40px;
        flex-wrap: wrap;
    }

    .footer-bottom {
        flex-direction: column;
        gap: 10px;
        text-align: center;
    }
}

/* Accessibility: Respect reduced motion */
@media (prefers-reduced-motion: reduce) {
    * {
        transition-duration: 0.01ms !important;
        animation-duration: 0.01ms !important;
    }
}
