:root {
    --bg: #ffffff;
    --text: #101112;
    --muted: rgba(16, 17, 18, 0.62);
    --line: rgba(16, 17, 18, 0.14);
  /* Rosy-fingered Dawn — Homer's accent (Eos at horizon) */
    --homer-dawn: #c47882;
    --homer-dawn-deep: #9e5a64;
    --homer-dawn-soft: rgba(196, 120, 130, 0.14);
    --homer-dawn-glow: rgba(196, 120, 130, 0.22);
    --cl-low: #b8860b;
    --cl-low-soft: rgba(184, 134, 11, 0.12);
    --cl-high: #3d6b5a;
    --cl-high-soft: rgba(61, 107, 90, 0.12);
    --font-code: ui-monospace, SFMono-Regular, Menlo, Monaco, Consolas, "Liberation Mono", monospace;
    --hero-ui-opacity: 1;
    --diamond-opacity: 1;
    --diamond-scale: 1;
    --diamond-x: 0vw;
    --diamond-y: 0vh;
    --diamond-blur: 0px;
    --section-start-offset: 85vh;
}

* {
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

html,
body {
    min-height: 100%;
    margin: 0;
    background: var(--bg);
    color: var(--text);
    font-family: var(--font-code);
    -webkit-font-smoothing: antialiased;
    text-rendering: geometricPrecision;
}

body {
    overflow-x: hidden;
    overflow-y: auto;
    -webkit-overflow-scrolling: touch;
    overscroll-behavior-y: none;
}

a {
    color: inherit;
    text-decoration: none;
}

#diamond-scene {
    position: fixed;
    inset: 0;
    z-index: 0;
    width: 100vw;
    height: 100vh;
    display: block;
    pointer-events: auto;
    touch-action: none;
    opacity: var(--diamond-opacity);
    transform: translate3d(var(--diamond-x), var(--diamond-y), 0) scale(var(--diamond-scale));
    transform-origin: 50% 50%;
    filter: blur(var(--diamond-blur));
    transition: opacity 0.08s linear, filter 0.08s linear;
    will-change: transform, opacity, filter;
}

.home {
    position: relative;
    z-index: 2;
}

.hero {
    min-height: 100vh;
    min-height: 100dvh;
    position: relative;
}

.hero-brand,
.hero-copy {
    pointer-events: var(--hero-ui-pointer-events, auto);
    z-index: 5;
    opacity: var(--hero-ui-opacity, 1);
    transition: opacity 0.12s linear;
}

.hero-copy {
    position: fixed;
    left: clamp(1rem, 2vw, 1.6rem);
    bottom: clamp(1.1rem, 2vw, 1.6rem);
    max-width: min(34rem, calc(100vw - 2rem));
}

.eyebrow,
.lede {
    margin: 0;
    font-size: 0.92rem;
    line-height: 1.6;
    color: var(--muted);
}

.hero-brand {
    position: fixed;
    top: clamp(1rem, 2vw, 1.6rem);
    left: clamp(1rem, 2vw, 1.6rem);
    display: flex;
    align-items: center;
    gap: clamp(0.75rem, 1.6vw, 1.1rem);
    max-width: min(34rem, calc(100vw - 2rem));
}

.hero-top-links {
    position: fixed;
    top: clamp(1rem, 2vw, 1.6rem);
    right: clamp(1rem, 2vw, 1.6rem);
    z-index: 6;
    display: flex;
    align-items: center;
    gap: 0.95rem;
}

.account-link {
    padding: 0.32rem 0.12rem;
    color: rgba(16, 17, 18, 0.62);
    font-size: 0.78rem;
    font-weight: 700;
    line-height: 1;
    letter-spacing: 0;
    text-transform: lowercase;
}

.account-link:hover {
    color: var(--text);
    text-decoration: underline;
    text-underline-offset: 0.18em;
}

.subheadline {
    margin: 0;
    max-width: 16rem;
    font-size: 0.98rem;
    font-weight: 700;
    line-height: 1.45;
    letter-spacing: 0;
    color: var(--muted);
}

.headline {
    margin: 0 0 0.65rem;
    max-width: 34rem;
    font-size: 3.1rem;
    font-weight: 700;
    line-height: 1;
    letter-spacing: 0;
    color: var(--text);
}

.headline-line {
    display: block;
}

.hero-lede {
    margin: 0 0 1.1rem;
    max-width: 35rem;
    font-size: 0.98rem;
    line-height: 1.62;
    color: rgba(16, 17, 18, 0.7);
}

.plugs-row {
    display: grid;
    gap: 0.42rem;
    max-width: 35rem;
    margin-bottom: 0.95rem;
}

.plugs-column {
    min-width: 0;
}

.plugs-list,
.setup-list {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 0.42rem 0.82rem;
    margin: 0;
    padding: 0;
    list-style: none;
    font-size: 0.9rem;
    line-height: 1.38;
}

.plugs-list,
.setup-list {
    color: var(--text);
}

.plugs-list a {
    color: inherit;
    font-weight: 700;
    text-decoration: none;
}

.plugs-list a:hover {
    text-decoration: underline;
    text-underline-offset: 0.16em;
}

.plugs-list li,
.setup-list li {
    margin: 0;
    display: inline-flex;
    align-items: center;
}

.plugs-list li + li::before {
    content: "";
    width: 1px;
    height: 0.84rem;
    margin-right: 0.82rem;
    background: rgba(16, 17, 18, 0.14);
}

.setup-list li.setup-trust {
    gap: 0.4rem;
    color: rgba(16, 17, 18, 0.7);
    font-weight: 700;
}

.setup-list li.setup-trust::before {
    content: "";
    display: block;
    flex: 0 0 auto;
    width: 0.42rem;
    height: 0.22rem;
    border-left: 1.5px solid var(--cl-high);
    border-bottom: 1.5px solid var(--cl-high);
    transform: translateY(-0.08rem) rotate(-45deg);
}

.eyebrow {
    font-weight: 700;
    letter-spacing: 0.04em;
    text-transform: lowercase;
    color: var(--homer-dawn);
}

.hero-logo {
    display: block;
    flex-shrink: 0;
    width: clamp(6.8rem, 9vw, 8.6rem);
    margin: 0;
    line-height: 0;
}

.hero-logo img {
    width: 100%;
    height: auto;
    display: block;
    filter: invert(1);
}

.lede {
    max-width: 21rem;
}

.hero-actions {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 0.65rem;
}

.install-button {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-height: 2.65rem;
    padding: 0.7rem 1.12rem;
    border: 1px solid var(--homer-dawn);
    border-radius: 2px;
    background: var(--homer-dawn);
    color: #ffffff;
    font: inherit;
    font-size: 0.92rem;
    font-weight: 700;
    letter-spacing: 0.02em;
    text-decoration: none;
    cursor: pointer;
    box-shadow: 0 0.35rem 1.1rem var(--homer-dawn-glow);
    transition: background 0.15s ease, color 0.15s ease, border-color 0.15s ease, box-shadow 0.15s ease;
}

.install-button:hover {
    background: var(--homer-dawn-deep);
    border-color: var(--homer-dawn-deep);
    color: #ffffff;
    box-shadow: 0 0.45rem 1.25rem var(--homer-dawn-glow);
}

.install-button:focus-visible {
    outline: 2px solid var(--homer-dawn-deep);
    outline-offset: 2px;
}

.secondary-button {
    display: inline-flex;
    min-height: 2.65rem;
    align-items: center;
    justify-content: center;
    padding: 0.7rem 1rem;
    border: 1px solid rgba(16, 17, 18, 0.18);
    border-radius: 2px;
    background: rgba(255, 255, 255, 0.72);
    color: rgba(16, 17, 18, 0.74);
    font: inherit;
    font-size: 0.92rem;
    font-weight: 700;
    letter-spacing: 0.02em;
    text-decoration: none;
    transition: border-color 0.15s ease, color 0.15s ease, background 0.15s ease;
}

.secondary-button:hover {
    border-color: var(--homer-dawn);
    background: rgba(255, 255, 255, 0.9);
    color: var(--homer-dawn-deep);
}

.secondary-button:focus-visible {
    outline: 2px solid var(--homer-dawn-deep);
    outline-offset: 2px;
}

.hero-proof-video {
    position: fixed;
    right: clamp(1rem, 2vw, 1.6rem);
    bottom: clamp(1.1rem, 2vw, 1.6rem);
    z-index: 5;
    display: block;
    width: clamp(20rem, 33vw, 32rem);
    overflow: hidden;
    border: 1px solid rgba(16, 17, 18, 0.14);
    border-radius: 8px;
    background: rgba(255, 255, 255, 0.92);
    color: inherit;
    text-decoration: none;
    box-shadow: 0 1rem 2.8rem rgba(16, 17, 18, 0.08);
    transition: border-color 0.15s ease, box-shadow 0.15s ease, transform 0.15s ease;
}

.hero-proof-video:hover {
    border-color: rgba(196, 120, 130, 0.42);
    box-shadow: 0 1.15rem 3rem rgba(196, 120, 130, 0.14);
    transform: translateY(-2px);
}

.hero-proof-media {
    display: block;
    width: 100%;
    aspect-ratio: 16 / 9;
    height: auto;
    background: rgba(16, 17, 18, 0.04);
    object-fit: contain;
}

.hero-proof-caption {
    display: grid;
    gap: 0.28rem;
    padding: 0.72rem 0.8rem 0.78rem;
    border-top: 1px solid rgba(16, 17, 18, 0.08);
    background: rgba(255, 255, 255, 0.96);
}

.hero-proof-caption span {
    font-size: 0.82rem;
    font-weight: 700;
    letter-spacing: 0.08em;
    text-transform: lowercase;
    color: var(--homer-dawn);
}

.hero-proof-caption strong {
    font-size: 0.9rem;
    line-height: 1.45;
    color: rgba(16, 17, 18, 0.82);
}

.hero-support {
    position: relative;
    z-index: 1;
    display: flex;
    width: min(100%, 26rem);
    min-height: 3.9rem;
    margin-top: 0.82rem;
    flex-wrap: wrap;
    align-items: center;
    justify-content: flex-start;
    column-gap: clamp(1rem, 1.7vw, 1.35rem);
    row-gap: 0.44rem;
    padding: 0;
    color: rgba(16, 17, 18, 0.66);
}

.support-logo {
    display: block;
    width: auto;
    object-fit: contain;
    opacity: 1;
    filter: none;
}

.support-logo-microsoft {
    height: 2.66rem;
}

.support-logo-netmind {
    height: 2.42rem;
}

.support-logo-oui {
    height: 2.91rem;
    opacity: 1;
}

@media (max-width: 1100px) {
    #diamond-scene {
        opacity: calc(var(--diamond-opacity) * 0.28);
        pointer-events: none;
    }

    .hero {
        display: flex;
        min-height: auto;
        flex-direction: column;
        padding: clamp(1rem, 2.4vw, 1.5rem);
    }

    .hero-brand {
        position: relative;
        top: auto;
        left: auto;
        max-width: min(100%, 36rem);
    }

    .hero-brand,
    .hero-copy {
        opacity: 1;
        pointer-events: auto;
    }

    .hero-top-links {
        position: absolute;
    }

    .hero-copy {
        position: relative;
        left: auto;
        right: auto;
        bottom: auto;
        max-width: min(100%, 40rem);
        margin-top: clamp(2.2rem, 8vh, 4rem);
        isolation: isolate;
    }

    .hero-copy::before {
        content: "";
        position: absolute;
        z-index: -1;
        inset: clamp(0.7rem, 2vh, 1rem) -0.7rem -0.7rem;
        background: linear-gradient(
            180deg,
            rgba(255, 255, 255, 0.62) 0%,
            rgba(255, 255, 255, 0.92) 34%,
            rgba(255, 255, 255, 0.98) 100%
        );
    }

    .headline {
        max-width: min(100%, 38rem);
        font-size: clamp(2.45rem, 6vw, 3.1rem);
    }

    .hero-lede {
        max-width: min(100%, 37rem);
    }

    .hero-proof-video {
        position: relative;
        right: auto;
        bottom: auto;
        width: min(100%, 31rem);
        margin-top: 1rem;
    }

    .hero-support {
        position: relative;
        right: auto;
        bottom: auto;
        width: min(100%, 31rem);
        min-height: 4.9rem;
        margin-top: 0.72rem;
        opacity: 1;
        pointer-events: auto;
    }

    .hero-proof-video:hover {
        transform: none;
    }

    .scroll-content {
        padding-top: clamp(1.5rem, 6vh, 2.5rem);
        background: #ffffff;
    }
}

.scroll-content {
    position: relative;
    z-index: 7;
    margin-top: 0;
    padding: var(--section-start-offset, 85vh) clamp(1rem, 4vw, 1.6rem) clamp(3rem, 8vh, 5rem);
    background: #ffffff;
    pointer-events: none;
}

@media (max-width: 1100px) {
    .scroll-content {
        padding-top: clamp(1.5rem, 6vh, 2.5rem);
        background: #ffffff;
    }
}

.page-section {
    max-width: min(40rem, calc(100vw - 2rem));
    margin: 0 auto;
    padding: clamp(2.5rem, 6vw, 4.5rem) clamp(0.5rem, 2vw, 1rem);
    pointer-events: auto;
    opacity: 1;
    transform: none;
}

.page-section.is-visible {
    opacity: 1;
    transform: translateY(0);
}

.section-title {
    margin: 0 0 1rem;
    font-size: 1.72rem;
    font-weight: 700;
    line-height: 1.25;
    letter-spacing: -0.02em;
}

.section-lede {
    margin: 0 0 1.25rem;
    max-width: 42rem;
    font-size: 0.98rem;
    line-height: 1.62;
    color: var(--muted);
}

.steps-list {
    list-style: none;
    margin: 0;
    padding: 0;
    display: grid;
    gap: 1.55rem;
}

.steps-list li {
    padding-top: 1.55rem;
    border-top: 1px solid var(--line);
}

.steps-list li:first-child {
    padding-top: 0;
    border-top: none;
}

.steps-list h3 {
    margin: 0 0 0.35rem;
    font-size: 1.05rem;
    font-weight: 700;
}

.steps-list p {
    margin: 0;
    font-size: 0.96rem;
    line-height: 1.62;
    color: var(--muted);
}

.cta-section {
    padding-top: clamp(2.2rem, 5vw, 3.6rem);
    padding-bottom: clamp(2.2rem, 5vw, 3.6rem);
    border-top: 1px solid rgba(16, 17, 18, 0.12);
    border-bottom: 1px solid rgba(16, 17, 18, 0.12);
}

.cta-section .section-title {
    margin-bottom: 0.85rem;
}

.cta-section .section-lede {
    margin-bottom: 1.25rem;
}

.cta-actions {
    display: flex;
    flex-wrap: wrap;
    gap: 0.7rem;
}

.demo-section {
    max-width: min(64rem, calc(100vw - 2rem));
    padding-bottom: clamp(2rem, 5vw, 3.2rem);
}

.demo-section > .section-title,
.demo-section > .section-lede {
    max-width: min(50rem, 100%);
    margin-left: auto;
    margin-right: auto;
}

.demo-video {
    overflow: hidden;
    margin: 1.35rem 0 1.45rem;
    border: 1px solid rgba(16, 17, 18, 0.14);
    border-radius: 8px;
    background: var(--bg);
    box-shadow: 0 0.8rem 2.6rem rgba(16, 17, 18, 0.06);
}

.demo-video-media {
    display: block;
    width: 100%;
    aspect-ratio: 16 / 9;
    height: auto;
    background: rgba(16, 17, 18, 0.04);
    object-fit: contain;
}

.demo-video-caption {
    margin: 0;
    padding: 0.95rem 1.1rem 1.05rem;
    border-top: 1px solid rgba(16, 17, 18, 0.08);
    font-size: 0.92rem;
    line-height: 1.6;
    color: rgba(16, 17, 18, 0.66);
}

.checkpoint-example-section {
    max-width: min(54rem, calc(100vw - 2rem));
    margin-top: clamp(0.9rem, 3vw, 1.8rem);
    padding-top: clamp(3rem, 7vw, 5rem);
    border-top: 1px solid rgba(16, 17, 18, 0.12);
}

.checkpoint-example-section > .section-title,
.checkpoint-example-section > .section-lede {
    max-width: min(46rem, 100%);
    margin-left: auto;
    margin-right: auto;
}

.demo-sim {
    position: relative;
    z-index: 1;
    display: flex;
    max-width: min(50rem, 100%);
    min-height: 31rem;
    flex-direction: column;
    overflow: hidden;
    margin: 1.6rem auto 0;
    border: 1px solid rgba(16, 17, 18, 0.18);
    border-radius: 6px;
    background: var(--bg);
    box-shadow: 0 0.55rem 1.8rem rgba(16, 17, 18, 0.045);
}

.demo-sim-messages {
    display: grid;
    flex: 1;
    align-content: start;
    min-height: 0;
    padding: 0;
}

.demo-sim-step {
    opacity: 1;
    transform: none;
}

.demo-sim.is-simulating .demo-sim-step {
    max-height: none;
    overflow: visible;
    opacity: 0.58;
    transform: none;
    transition:
        opacity 0.22s ease,
        transform 0.22s ease;
}

.demo-sim.is-simulating .demo-sim-step.is-visible {
    max-height: none;
    opacity: 1;
    transform: none;
}

.demo-log-row {
    display: grid;
    grid-template-columns: 6.5rem minmax(0, 1fr);
    gap: 1.05rem;
    align-items: start;
    padding: 0.95rem 1.1rem;
    border-bottom: 1px solid rgba(16, 17, 18, 0.075);
    font-size: 0.92rem;
    line-height: 1.58;
    color: rgba(16, 17, 18, 0.76);
}

.demo-log-row:last-child {
    border-bottom: none;
}

.log-speaker,
.log-time {
    color: rgba(16, 17, 18, 0.48);
    font-size: 0.78em;
    font-weight: 700;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    padding-top: 0.12rem;
}

.log-time {
    color: rgba(16, 17, 18, 0.38);
}

.log-body {
    min-width: 0;
}

.demo-homer-row {
    grid-template-columns: 6.5rem minmax(0, 1fr) 6.2rem;
    background: rgba(16, 17, 18, 0.018);
}

.demo-homer-row .log-speaker {
    color: var(--homer-dawn-deep);
}

.demo-homer-row.is-low .log-body {
    color: rgba(16, 17, 18, 0.72);
}

.demo-homer-row.is-high {
    background: rgba(61, 107, 90, 0.045);
}

.demo-homer-row.is-high .log-speaker {
    color: var(--cl-high);
}

.confidence-meter {
    display: block;
    align-self: center;
    height: 0.38rem;
    overflow: hidden;
    border-radius: 999px;
    background: rgba(16, 17, 18, 0.08);
}

.confidence-meter span {
    display: block;
    width: var(--confidence);
    height: 100%;
    border-radius: inherit;
    background: var(--homer-dawn);
}

.demo-homer-row.is-high .confidence-meter span {
    background: var(--cl-high);
}

.demo-grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: clamp(1rem, 2.6vw, 1.4rem);
    margin-top: 1.35rem;
}

.demo-window {
    position: relative;
    z-index: 1;
    display: flex;
    min-height: 31rem;
    flex-direction: column;
    overflow: hidden;
    border: 1px solid var(--line);
    border-radius: 8px;
    background: var(--bg);
    box-shadow: 0 0.8rem 2.6rem rgba(16, 17, 18, 0.06);
}

.demo-window-bar {
    display: flex;
    align-items: flex-start;
    justify-content: space-between;
    gap: 1rem;
    padding: 1rem 1rem 0.85rem;
    border-bottom: 1px solid rgba(16, 17, 18, 0.08);
}

.demo-window h3 {
    margin: 0;
    font-size: clamp(0.9rem, 1.2vw, 1rem);
    line-height: 1.25;
}

.demo-status {
    flex-shrink: 0;
    padding: 0.28rem 0.45rem;
    border: 1px solid var(--line);
    border-radius: 4px;
    font-size: 0.82rem;
    font-weight: 700;
    letter-spacing: 0.05em;
    text-transform: uppercase;
}

.demo-status-bad {
    color: rgba(16, 17, 18, 0.58);
}

.demo-status-good {
    border-color: var(--homer-dawn);
    background: var(--homer-dawn);
    color: #ffffff;
}

.demo-window-with {
    border-color: rgba(196, 120, 130, 0.32);
    box-shadow: 0 0.8rem 2.6rem rgba(196, 120, 130, 0.1);
}

.demo-messages {
    display: flex;
    flex: 1;
    min-height: 0;
    flex-direction: column;
    gap: 0.82rem;
    padding: 1rem;
}

.demo-message {
    max-width: 88%;
    font-size: 0.9rem;
    line-height: 1.5;
}

.demo-message-user {
    align-self: flex-end;
    padding: 0.62rem 0.72rem;
    border-radius: 8px;
    background: rgba(16, 17, 18, 0.06);
    color: var(--text);
}

.demo-message-agent {
    align-self: flex-start;
    color: rgba(16, 17, 18, 0.72);
}

.demo-message-agent.muted {
    margin-top: auto;
    color: rgba(16, 17, 18, 0.5);
}

.demo-evidence,
.demo-check {
    border: 1px solid rgba(16, 17, 18, 0.12);
    border-radius: 8px;
    padding: 0.72rem;
    background: rgba(16, 17, 18, 0.025);
    font-size: 0.88rem;
    line-height: 1.45;
}

.demo-evidence span,
.demo-check span {
    display: block;
    margin-bottom: 0.28rem;
    color: var(--muted);
    font-size: 0.68em;
    font-weight: 700;
    letter-spacing: 0.08em;
    text-transform: uppercase;
}

.demo-evidence strong,
.demo-check strong {
    font-size: clamp(0.9rem, 1.3vw, 1.05rem);
}

.demo-evidence-bad {
    border-style: dashed;
}

.demo-check {
    background: rgba(16, 17, 18, 0.04);
}

.demo-check-low {
    background: var(--cl-low-soft);
}

.demo-check-low strong {
    color: var(--cl-low);
}

.demo-check-pass {
    border-color: rgba(61, 107, 90, 0.28);
    background: var(--cl-high-soft);
}

.demo-check-pass strong {
    color: var(--cl-high);
}

.demo-check-top {
    display: flex;
    align-items: baseline;
    justify-content: space-between;
    gap: 1rem;
}

.demo-check-top span {
    margin: 0;
}

.demo-check p {
    margin: 0.35rem 0 0;
    color: rgba(16, 17, 18, 0.7);
}

.demo-input {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 1rem;
    margin: 0 0.75rem 0.75rem;
    padding: 0.65rem 0.65rem 0.65rem 0.82rem;
    border: 1px solid rgba(16, 17, 18, 0.12);
    border-radius: 8px;
    background: var(--bg);
    color: rgba(16, 17, 18, 0.44);
    font-size: 0.88rem;
}

.demo-send {
    display: inline-flex;
    width: 1.55rem;
    height: 1.55rem;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    background: var(--text);
    color: var(--bg);
    font-weight: 700;
}

.benchmark-bars {
    display: grid;
    gap: 1.75rem;
    font-size: 0.96rem;
}

.benchmark-metric {
    display: grid;
    gap: 0.65rem;
}

.benchmark-metric-label {
    margin: 0;
    font-weight: 700;
    letter-spacing: -0.01em;
}

.benchmark-bar-group {
    display: grid;
    gap: 0.45rem;
}

.benchmark-bar-row {
    display: grid;
    grid-template-columns: minmax(5.5rem, 6.8rem) 1fr;
    gap: 0.65rem;
    align-items: center;
}

.benchmark-bar-label {
    color: var(--muted);
    font-size: 0.9rem;
    line-height: 1.4;
}

.benchmark-bar-track {
    height: 0.42rem;
    background: rgba(16, 17, 18, 0.06);
    border-radius: 1px;
    overflow: hidden;
}

.benchmark-bar-fill {
    height: 100%;
    width: calc(var(--bar, 0.5) * 100%);
    border-radius: 1px;
    transform-origin: left center;
    transform: scaleX(1);
}

.page-section.is-visible .benchmark-bar-fill {
    transform: scaleX(1);
}

.benchmark-bar-row:nth-child(2) .benchmark-bar-fill {
    transition-delay: 0.1s;
}

.benchmark-metric + .benchmark-metric .benchmark-bar-fill {
    transition-delay: 0.08s;
}

.benchmark-metric + .benchmark-metric .benchmark-bar-row:nth-child(2) .benchmark-bar-fill {
    transition-delay: 0.18s;
}

.benchmark-bar-agent {
    background: rgba(16, 17, 18, 0.22);
}

.benchmark-bar-homer {
    background: var(--homer-dawn);
}

.benchmark-delta {
    margin: 0.1rem 0 0;
    font-size: 0.9rem;
    font-weight: 700;
    color: var(--homer-dawn);
}

.faq-list {
    margin: 0;
    display: grid;
    gap: 0;
}

.faq-item {
    padding: 1.3rem 0;
    border-top: 1px solid var(--line);
}

.faq-item:first-child {
    border-top: none;
    padding-top: 0;
}

.faq-item summary {
    display: grid;
    grid-template-columns: minmax(0, 1fr) auto;
    gap: 0.75rem;
    align-items: center;
    margin: 0;
    font-size: 1.05rem;
    font-weight: 700;
    cursor: pointer;
    list-style: none;
}

.faq-item summary::-webkit-details-marker {
    display: none;
}

.faq-item summary::after {
    content: "+";
    color: var(--homer-dawn);
    font-size: 1.1rem;
    font-weight: 800;
    line-height: 1;
}

.faq-item[open] summary::after {
    content: "-";
}

.faq-item p {
    margin: 0.45rem 2rem 0 0;
    font-size: 0.96rem;
    line-height: 1.62;
    color: var(--muted);
}

@media (max-width: 720px) {
    #diamond-scene {
        opacity: 0;
        pointer-events: none;
        touch-action: pan-y;
    }

    .hero {
        display: flex;
        flex-direction: column;
        justify-content: space-between;
        min-height: 100svh;
        padding:
            calc(clamp(0.85rem, 3vw, 1.25rem) + env(safe-area-inset-top, 0px))
            clamp(1rem, 4vw, 1.25rem)
            calc(clamp(0.85rem, 3vw, 1.25rem) + env(safe-area-inset-bottom, 0px));
    }

    .hero-brand {
        position: relative;
        top: auto;
        left: auto;
        flex-direction: column;
        align-items: flex-start;
        gap: 0.55rem;
        max-width: 14rem;
        flex-shrink: 0;
    }

    .subheadline {
        max-width: 13rem;
    }

    .hero-copy {
        position: relative;
        left: auto;
        right: auto;
        bottom: auto;
        max-width: min(100%, 23rem);
        flex-shrink: 0;
        margin-top: auto;
        padding-top: clamp(1.15rem, 6vh, 2.4rem);
        isolation: isolate;
    }

    .hero-copy::before {
        content: "";
        position: absolute;
        z-index: -1;
        inset: clamp(0.55rem, 2vh, 0.9rem) -0.55rem -0.55rem;
        background: linear-gradient(
            180deg,
            rgba(255, 255, 255, 0.72) 0%,
            rgba(255, 255, 255, 0.94) 32%,
            rgba(255, 255, 255, 0.98) 100%
        );
    }

    .plugs-row {
        gap: 0.42rem;
        max-width: 22rem;
    }

    .plugs-list,
    .setup-list {
        gap: 0.36rem 0.68rem;
        font-size: 0.86rem;
        line-height: 1.38;
    }

    .plugs-list li + li::before {
        height: 0.78rem;
        margin-right: 0.68rem;
    }

    .headline {
        max-width: 21rem;
        font-size: 2.05rem;
        line-height: 1.03;
        margin-top: 0;
    }

    .hero-lede {
        max-width: 23rem;
        margin-bottom: 0.95rem;
        font-size: 0.92rem;
        line-height: 1.58;
    }

    .hero-actions {
        gap: 0.5rem;
        flex-wrap: nowrap;
    }

    .install-button,
    .secondary-button {
        min-height: 2.55rem;
        padding-right: 0.86rem;
        padding-left: 0.86rem;
        font-size: 0.88rem;
    }

    .install-button {
        flex: 1 1 auto;
    }

    .secondary-button {
        flex: 0 0 auto;
    }

    .hero-proof-video {
        width: min(100%, 22rem);
        margin-top: 0.85rem;
        border-radius: 6px;
        box-shadow: 0 0.65rem 1.8rem rgba(16, 17, 18, 0.08);
    }

    .hero-support {
        width: 100%;
        max-width: 22rem;
        min-height: 4.05rem;
        justify-content: space-between;
        column-gap: 0;
        row-gap: 0.44rem;
        padding: 0;
    }

    .support-logo-microsoft {
        height: 2rem;
    }

    .support-logo-netmind {
        height: 1.8rem;
    }

    .support-logo-oui {
        height: 2.15rem;
    }

    .hero-proof-caption {
        gap: 0.22rem;
        padding: 0.58rem 0.62rem 0.64rem;
    }

    .hero-proof-caption span {
        font-size: 0.8rem;
    }

    .hero-proof-caption strong {
        font-size: 0.82rem;
    }

    @media (max-width: 370px) {
        .hero-actions {
            gap: 0.38rem;
        }

        .install-button,
        .secondary-button {
            padding-right: 0.62rem;
            padding-left: 0.62rem;
            font-size: 0.8rem;
            white-space: nowrap;
        }
    }

    @media (max-width: 340px) {
        .hero-actions {
            flex-wrap: nowrap;
        }

        .install-button {
            white-space: normal;
        }
    }

    .scroll-content {
        padding-top: clamp(1.5rem, 6vh, 2.5rem);
        padding-bottom: calc(clamp(2.5rem, 8vh, 4rem) + env(safe-area-inset-bottom, 0px));
        background: linear-gradient(
            180deg,
            rgba(255, 255, 255, 0) 0%,
            rgba(255, 255, 255, 0.94) 12%,
            rgba(255, 255, 255, 1) 22%
        );
    }

    .page-section {
        padding-top: clamp(2rem, 7vh, 3rem);
        padding-bottom: clamp(1.5rem, 5vh, 2.5rem);
        opacity: 1;
        transform: none;
    }

    .demo-section {
        max-width: min(40rem, calc(100vw - 2rem));
    }

    .checkpoint-example-section {
        max-width: min(40rem, calc(100vw - 2rem));
        margin-top: 0.6rem;
        padding-top: clamp(2.5rem, 7vh, 3.4rem);
    }

    .demo-video {
        margin: 1rem 0 1.15rem;
        border-radius: 6px;
    }

    .demo-video-caption {
        padding: 0.82rem 0.86rem 0.9rem;
    }

    .demo-sim {
        min-height: auto;
        margin-top: 1rem;
        border-radius: 6px;
    }

    .demo-log-row {
        grid-template-columns: 4.6rem minmax(0, 1fr);
        gap: 0.72rem;
        padding: 0.85rem 0.88rem;
        font-size: 0.9rem;
        line-height: 1.56;
    }

    .demo-homer-row {
        grid-template-columns: 4.6rem minmax(0, 1fr);
    }

    .confidence-meter {
        grid-column: 2;
        width: 100%;
        margin-top: 0.18rem;
    }

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

    .demo-window {
        min-height: auto;
    }

    .demo-messages {
        gap: 0.75rem;
    }

    .benchmark-bar-row {
        grid-template-columns: minmax(4.8rem, 5.4rem) 1fr;
        gap: 0.5rem;
    }
}

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

    #diamond-scene,
    .hero-brand,
    .hero-copy,
    .page-section,
    .install-button {
        transition: none;
        animation: none;
    }

    .page-section {
        opacity: 1;
        transform: none;
    }

}
