:root {
    color-scheme: dark;
    font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
    background: #070b12;
    color: #f4f7fb;
    scroll-behavior: smooth;
    --type-display: 3.85rem;
    --type-page-title: 2.9rem;
    --type-section-title: 2.55rem;
    --type-card-title: 1.2rem;
    --type-lead: 1.18rem;
    --type-body: 1rem;
    --type-small: 0.88rem;
    --type-kicker: 0.78rem;
    --line-display: 1;
    --line-title: 1.08;
    --line-body: 1.6;
}

* {
    box-sizing: border-box;
}

body {
    margin: 0;
    min-width: 320px;
    background:
        linear-gradient(rgba(255, 255, 255, 0.035) 1px, transparent 1px),
        linear-gradient(90deg, rgba(255, 255, 255, 0.025) 1px, transparent 1px),
        var(--brand-bg, #070b12);
    background-size: 56px 56px;
    color: var(--brand-text, #f4f7fb);
}

body::before {
    content: "";
    position: fixed;
    inset: 0;
    pointer-events: none;
    background:
        linear-gradient(135deg, rgba(102, 242, 213, 0.14), transparent 28%),
        linear-gradient(320deg, rgba(143, 183, 255, 0.10), transparent 32%),
        linear-gradient(180deg, rgba(7, 11, 18, 0.1), rgba(7, 11, 18, 0.92));
    z-index: -1;
}

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

button,
input,
select,
textarea {
    font: inherit;
}

button {
    cursor: pointer;
}

button:disabled {
    cursor: not-allowed;
}

:focus-visible {
    outline: 3px solid color-mix(in srgb, var(--brand-accent, #66f2d5) 70%, white);
    outline-offset: 4px;
}

.site-shell {
    min-height: 100vh;
    overflow-x: hidden;
}

.site-header {
    position: sticky;
    top: 0;
    z-index: 20;
    padding: 18px clamp(16px, 4vw, 56px) 0;
}

.site-nav {
    max-width: 1480px;
    min-height: 68px;
    margin: 0 auto;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 20px;
    padding: 12px 14px;
}

.glass-panel {
    background: var(--glass-bg, rgba(14, 22, 34, 0.68));
    border: 1px solid var(--glass-border, rgba(184, 226, 255, 0.18));
    border-radius: var(--radius-panel, 22px);
    box-shadow: 0 24px 80px rgba(0, 0, 0, 0.28);
    backdrop-filter: blur(var(--glass-blur, 22px));
    -webkit-backdrop-filter: blur(var(--glass-blur, 22px));
}

.brand-link,
.nav-links,
.hero-actions,
.form-actions,
.demo-actions {
    display: flex;
    align-items: center;
}

.brand-link {
    gap: 10px;
    font-weight: 800;
    letter-spacing: 0;
}

.brand-mark {
    width: 38px;
    height: 38px;
    display: inline-grid;
    place-items: center;
    border: 1px solid color-mix(in srgb, var(--brand-accent, #66f2d5) 45%, transparent);
    border-radius: 14px;
    background: linear-gradient(135deg, rgba(102, 242, 213, 0.22), rgba(143, 183, 255, 0.16));
    color: white;
}

.brand-logo {
    width: 38px;
    height: 38px;
    object-fit: contain;
}

.brand-name {
    color: white;
}

.nav-links {
    gap: 4px;
    padding: 5px;
    border-radius: var(--radius-control, 999px);
    background: rgba(255, 255, 255, 0.045);
}

.nav-links a,
.nav-cta {
    min-height: 40px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    border-radius: var(--radius-control, 999px);
    color: var(--brand-muted, #aab6c7);
    font-size: var(--type-small);
    font-weight: 700;
    padding: 0 15px;
    transition: background 160ms ease, color 160ms ease, transform 160ms ease;
}

.nav-links a:hover,
.nav-links a.active {
    background: rgba(255, 255, 255, 0.1);
    color: white;
}

.nav-cta,
.button-primary {
    background: var(--brand-accent, #66f2d5);
    color: #061016;
}

.nav-cta:hover,
.button:hover {
    transform: translateY(-1px);
}

.button {
    min-height: 48px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    border: 0;
    border-radius: var(--radius-control, 999px);
    font-size: var(--type-body);
    font-weight: 800;
    padding: 0 20px;
    transition: transform 160ms ease, border-color 160ms ease, background 160ms ease;
}

.button-secondary {
    background: rgba(255, 255, 255, 0.08);
    border: 1px solid var(--glass-border, rgba(184, 226, 255, 0.18));
    color: white;
}

.section,
.page-hero,
.hero-section {
    width: 100%;
    max-width: 1480px;
    margin: 0 auto;
    padding: clamp(72px, 8vw, 120px) clamp(18px, 3.4vw, 48px);
}

.hero-section {
    min-height: calc(100svh - 88px);
    display: grid;
    grid-template-columns: minmax(0, 0.92fr) minmax(420px, 1.08fr);
    gap: clamp(32px, 5vw, 78px);
    align-items: center;
    max-width: 1580px;
}

.hero-copy {
    max-width: 680px;
    animation: fade-up 700ms ease both;
}

.hero-brand,
.section-kicker,
.workflow-topline,
.result-label,
.contact-aside span {
    margin: 0 0 14px;
    color: var(--brand-accent, #66f2d5);
    font-size: var(--type-kicker);
    font-weight: 900;
    letter-spacing: 0.14em;
    text-transform: uppercase;
}

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

h1 {
    max-width: 780px;
    margin-bottom: 22px;
    font-size: var(--type-display);
    line-height: var(--line-display);
    letter-spacing: 0;
}

h2 {
    margin-bottom: 18px;
    font-size: var(--type-section-title);
    line-height: var(--line-title);
    letter-spacing: 0;
}

h3 {
    margin-bottom: 10px;
    font-size: var(--type-card-title);
    line-height: 1.2;
}

p {
    color: var(--brand-muted, #aab6c7);
    font-size: var(--type-body);
    line-height: var(--line-body);
}

.hero-subtitle {
    max-width: 660px;
    font-size: var(--type-lead);
}

.hero-trust-line {
    max-width: 620px;
    margin: -12px 0 26px;
    color: color-mix(in srgb, var(--brand-text, #f4f7fb) 82%, var(--brand-accent, #66f2d5));
    font-weight: 750;
}

.gap-line {
    width: fit-content;
    margin: 28px 0;
    padding: 10px 14px;
    border: 1px solid var(--glass-border, rgba(184, 226, 255, 0.18));
    border-radius: var(--radius-control, 999px);
    background: rgba(255, 255, 255, 0.055);
    color: white;
}

.hero-actions,
.demo-actions,
.form-actions {
    gap: 12px;
    flex-wrap: wrap;
}

.workflow-visual {
    position: relative;
    min-height: 610px;
    padding: clamp(20px, 3.4vw, 30px);
    overflow: hidden;
    isolation: isolate;
    animation: fade-up 760ms 120ms ease both;
}

.workflow-visual::before {
    content: "";
    position: absolute;
    inset: 0;
    background:
        linear-gradient(120deg, transparent 0%, rgba(102, 242, 213, 0.16) 36%, transparent 62%),
        repeating-linear-gradient(90deg, transparent 0 70px, rgba(255, 255, 255, 0.035) 71px 72px);
    transform: translateX(-72%);
    animation: data-sweep 5.6s ease-in-out infinite;
    z-index: -1;
}

.workflow-topline {
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.live-dot {
    width: 11px;
    height: 11px;
    border-radius: 999px;
    background: var(--brand-accent, #66f2d5);
    box-shadow: 0 0 0 0 rgba(102, 242, 213, 0.6);
    animation: pulse 1.6s ease infinite;
}

.workflow-chain {
    position: relative;
    display: grid;
    gap: 10px;
    margin-top: 20px;
}

.workflow-examples {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 14px;
    margin: 2px 0 20px;
}

.workflow-example {
    position: relative;
    min-height: 94px;
    display: grid;
    align-content: start;
    gap: 6px;
    padding-left: 16px;
    opacity: 0.62;
    animation: example-focus 9s ease-in-out infinite;
    animation-delay: var(--example-delay);
}

.workflow-example::before,
.workflow-example::after {
    content: "";
    position: absolute;
    left: 0;
}

.workflow-example::before {
    top: 4px;
    bottom: 4px;
    width: 2px;
    border-radius: 999px;
    background: rgba(255, 255, 255, 0.13);
    transform-origin: top;
    animation: example-rule 9s ease-in-out infinite;
    animation-delay: var(--example-delay);
}

.workflow-example::after {
    top: 2px;
    width: 8px;
    height: 8px;
    border-radius: 999px;
    background: var(--brand-accent, #66f2d5);
    box-shadow: 0 0 0 0 rgba(102, 242, 213, 0);
    transform: translateX(-3px);
    animation: example-dot 9s ease-in-out infinite;
    animation-delay: var(--example-delay);
}

.workflow-example span {
    color: var(--brand-accent-2, #8fb7ff);
    font-size: 0.68rem;
    font-weight: 900;
    letter-spacing: 0.12em;
    text-transform: uppercase;
}

.workflow-example strong {
    color: white;
    font-size: 0.96rem;
    line-height: 1.18;
}

.workflow-example small {
    color: var(--brand-muted, #aab6c7);
    line-height: 1.45;
}

.workflow-chain::after {
    content: "";
    position: absolute;
    left: 27px;
    top: 30px;
    width: 9px;
    height: 9px;
    border-radius: 999px;
    background: white;
    box-shadow:
        0 0 0 5px rgba(102, 242, 213, 0.12),
        0 0 22px rgba(102, 242, 213, 0.82);
    pointer-events: none;
    z-index: 3;
    animation: workflow-packet 5.8s ease-in-out infinite;
}

.workflow-node {
    position: relative;
    display: grid;
    gap: 4px;
    padding: 14px 16px 14px 58px;
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 18px;
    background: rgba(255, 255, 255, 0.055);
    transform: translateY(14px);
    opacity: 0;
    z-index: 2;
    animation:
        node-in 560ms ease both,
        workflow-step-cycle 5.8s ease-in-out infinite;
    animation-delay:
        var(--step-entrance-delay),
        var(--step-cycle-delay);
}

.workflow-node::after {
    content: "";
    position: absolute;
    left: 30px;
    top: 100%;
    width: 1px;
    height: 10px;
    background: linear-gradient(var(--brand-accent, #66f2d5), transparent);
}

.workflow-node:last-child::after {
    display: none;
}

.node-index {
    position: absolute;
    left: 15px;
    top: 14px;
    width: 30px;
    height: 30px;
    display: grid;
    place-items: center;
    border-radius: 12px;
    background: rgba(102, 242, 213, 0.14);
    color: var(--brand-accent, #66f2d5);
    font-size: 0.76rem;
    font-weight: 900;
}

.workflow-node strong,
.workflow-node small {
    display: block;
}

.workflow-node small {
    color: var(--brand-muted, #aab6c7);
}

.workflow-output {
    display: flex;
    gap: 10px;
    flex-wrap: wrap;
    margin-top: 12px;
}

.workflow-output span {
    border: 1px solid rgba(255, 255, 255, 0.12);
    border-radius: var(--radius-control, 999px);
    padding: 8px 11px;
    color: white;
    background: rgba(255, 255, 255, 0.055);
    font-size: 0.86rem;
    font-weight: 800;
    animation: output-glow 5.8s ease-in-out infinite;
    animation-delay: var(--chip-delay);
}

.workflow-assurance {
    display: flex;
    gap: 10px;
    flex-wrap: wrap;
    margin-top: 18px;
}

.workflow-assurance span {
    min-height: 34px;
    display: inline-flex;
    align-items: center;
    border: 1px solid rgba(102, 242, 213, 0.22);
    border-radius: 12px;
    padding: 7px 11px;
    background: rgba(102, 242, 213, 0.075);
    color: color-mix(in srgb, var(--brand-text, #f4f7fb) 88%, var(--brand-accent, #66f2d5));
    font-size: 0.82rem;
    font-weight: 850;
}

.section-heading {
    max-width: 880px;
    margin-bottom: 34px;
}

.demo-section {
    max-width: 1580px;
}

.demo-section-full {
    max-width: 1640px;
}

.demo-section-compact {
    padding-top: clamp(58px, 8vw, 96px);
}

.demo-heading {
    display: flex;
    align-items: end;
    justify-content: space-between;
    gap: 24px;
}

.demo-shell {
    display: grid;
    gap: 18px;
    padding: clamp(16px, 3vw, 26px);
}

.demo-control-room {
    position: relative;
    overflow: hidden;
}

.demo-control-room::before {
    content: "";
    position: absolute;
    inset: 0;
    pointer-events: none;
    background:
        linear-gradient(120deg, rgba(102, 242, 213, 0.11), transparent 26%),
        linear-gradient(290deg, rgba(143, 183, 255, 0.09), transparent 28%),
        repeating-linear-gradient(90deg, rgba(255, 255, 255, 0.035) 0 1px, transparent 1px 64px);
    opacity: 0.72;
}

.demo-control-room > * {
    position: relative;
}

.demo-command-bar,
.demo-room-grid,
.demo-actions {
    min-width: 0;
}

.demo-command-bar {
    display: grid;
    grid-template-columns: minmax(0, 1fr) auto;
    align-items: center;
    gap: 16px;
}

.demo-room-grid {
    display: grid;
    grid-template-columns: minmax(280px, 0.82fr) minmax(420px, 1.18fr) minmax(300px, 0.92fr);
    gap: 16px;
}

.demo-request-panel,
.demo-workflow,
.demo-output-panel,
.contact-form {
    min-width: 0;
}

.demo-request-panel,
.demo-workflow,
.demo-output-panel {
    display: grid;
    align-content: start;
    gap: 16px;
    min-height: 100%;
    padding: 18px;
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 18px;
    background: rgba(6, 12, 20, 0.54);
}

.demo-request-panel blockquote {
    margin: 0;
    padding: 18px;
    border-left: 3px solid var(--brand-accent, #66f2d5);
    border-radius: 14px;
    background: rgba(255, 255, 255, 0.06);
    color: white;
    font-size: var(--type-lead);
    font-weight: 750;
    line-height: 1.48;
}

.demo-panel-header,
.demo-workflow-topline {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
}

.demo-panel-header span,
.demo-workflow-topline span {
    color: var(--brand-muted, #aab6c7);
    font-size: var(--type-kicker);
    font-weight: 900;
    letter-spacing: 0.11em;
    text-transform: uppercase;
}

.demo-panel-header strong,
.demo-workflow-topline strong {
    color: white;
    text-align: right;
}

.scenario-tabs {
    display: flex;
    gap: 8px;
    flex-wrap: wrap;
}

.scenario-summary {
    margin: 0;
    color: white;
    font-weight: 700;
    line-height: 1.55;
}

.scenario-tab {
    border: 1px solid var(--glass-border, rgba(184, 226, 255, 0.18));
    border-radius: var(--radius-control, 999px);
    background: rgba(255, 255, 255, 0.055);
    color: var(--brand-muted, #aab6c7);
    padding: 10px 14px;
    font-weight: 800;
}

.scenario-tab.active {
    background: rgba(102, 242, 213, 0.16);
    color: white;
}

.demo-actions {
    justify-content: space-between;
    align-items: center;
    gap: 12px;
    padding-top: 4px;
}

.demo-actions > div:first-child {
    display: grid;
    gap: 3px;
}

.demo-actions strong {
    color: white;
}

.demo-actions span {
    color: var(--brand-muted, #aab6c7);
    line-height: 1.45;
}

.demo-control-buttons {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    flex-wrap: wrap;
    justify-content: flex-end;
}

.demo-playback {
    display: flex;
    align-items: center;
    justify-content: flex-end;
    gap: 8px;
    flex-wrap: wrap;
}

.autoplay-status {
    min-height: 42px;
    display: inline-flex;
    align-items: center;
    gap: 9px;
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: var(--radius-control, 999px);
    background: rgba(255, 255, 255, 0.05);
    color: white;
    font-size: 0.88rem;
    font-weight: 800;
    padding: 0 13px;
}

.autoplay-pulse {
    width: 9px;
    height: 9px;
    border-radius: 999px;
    background: var(--brand-accent, #66f2d5);
    box-shadow: 0 0 0 0 rgba(102, 242, 213, 0.5);
    animation: pulse 1.6s ease infinite;
}

.icon-button {
    width: 42px;
    height: 42px;
    display: inline-grid;
    place-items: center;
    border: 1px solid rgba(255, 255, 255, 0.12);
    border-radius: 14px;
    background: rgba(255, 255, 255, 0.07);
    color: white;
    font-weight: 900;
    transition: transform 160ms ease, border-color 160ms ease, background 160ms ease;
}

.icon-button:hover:not(:disabled),
.decision-button:hover,
.demo-step:hover {
    transform: translateY(-1px);
}

.icon-button:disabled {
    opacity: 0.42;
}

.demo-restart-button {
    min-height: 42px;
    padding: 0 14px;
}

.workflow-steps {
    display: grid;
    gap: 10px;
}

.demo-step {
    position: relative;
    display: grid;
    grid-template-columns: 38px minmax(0, 1fr);
    gap: 12px;
    width: 100%;
    padding: 13px;
    border: 1px solid rgba(255, 255, 255, 0.09);
    border-radius: 18px;
    background: rgba(255, 255, 255, 0.045);
    color: inherit;
    text-align: left;
    transition: transform 200ms ease, border-color 200ms ease, background 200ms ease;
}

.demo-step.active,
.demo-step.complete {
    border-color: rgba(102, 242, 213, 0.38);
    background: rgba(102, 242, 213, 0.1);
}

.demo-step.active {
    box-shadow: inset 3px 0 0 var(--brand-accent, #66f2d5);
}

.step-marker {
    width: 34px;
    height: 34px;
    display: grid;
    place-items: center;
    border-radius: 12px;
    background: rgba(255, 255, 255, 0.08);
    color: white;
    font-weight: 900;
}

.demo-step p,
.demo-step strong,
.demo-step small {
    margin: 0;
}

.demo-step small {
    display: block;
    margin-top: 4px;
    font-size: var(--type-small);
    line-height: 1.45;
    color: var(--brand-muted, #aab6c7);
}

.demo-stage-detail,
.demo-decision-panel,
.demo-data-group,
.demo-draft-notes,
.demo-guardrails,
.demo-output-message,
.demo-artifacts,
.audit-trail {
    display: grid;
    gap: 10px;
    padding: 16px;
    border-radius: 16px;
    border: 1px solid rgba(255, 255, 255, 0.09);
    background: rgba(255, 255, 255, 0.045);
}

.demo-stage-detail {
    min-height: 104px;
    border-color: rgba(102, 242, 213, 0.24);
    background: rgba(102, 242, 213, 0.075);
}

.demo-stage-detail span {
    color: var(--brand-accent, #66f2d5);
    font-size: var(--type-kicker);
    font-weight: 900;
    letter-spacing: 0.11em;
    text-transform: uppercase;
}

.demo-stage-detail strong {
    color: white;
    line-height: 1.5;
}

.demo-data-group.pending,
.demo-decision-panel.pending,
.demo-draft-notes.pending,
.demo-guardrails.pending,
.customer-output-box.pending,
.artifact-row.pending {
    opacity: 0.7;
}

.demo-data-group.ready,
.demo-decision-panel.ready,
.demo-draft-notes.ready,
.demo-guardrails.ready,
.customer-output-box.ready,
.artifact-row.ready {
    border-color: rgba(102, 242, 213, 0.22);
}

.demo-draft-notes ul,
.demo-guardrails ul {
    display: grid;
    gap: 7px;
    margin: 0;
    padding-left: 19px;
    color: var(--brand-muted, #aab6c7);
}

.decision-buttons {
    display: grid;
    gap: 8px;
}

.decision-button {
    display: grid;
    gap: 4px;
    width: 100%;
    padding: 13px;
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 14px;
    background: rgba(255, 255, 255, 0.055);
    color: inherit;
    text-align: left;
    transition: transform 160ms ease, border-color 160ms ease, background 160ms ease;
}

.decision-button.active {
    border-color: rgba(102, 242, 213, 0.42);
    background: rgba(102, 242, 213, 0.12);
}

.decision-button strong {
    color: white;
}

.decision-button span {
    color: var(--brand-muted, #aab6c7);
    font-size: 0.9rem;
    line-height: 1.42;
}

dl {
    display: grid;
    gap: 10px;
    margin: 0;
}

dl div {
    display: flex;
    justify-content: space-between;
    gap: 14px;
}

dt {
    color: var(--brand-muted, #aab6c7);
}

dd {
    margin: 0;
    color: white;
    font-weight: 800;
    text-align: right;
}

.demo-result ul,
.build-row ul {
    margin: 0;
    padding-left: 20px;
    color: var(--brand-muted, #aab6c7);
}

.customer-output-box {
    display: grid;
    gap: 10px;
    padding: 16px;
    border: 1px solid rgba(143, 183, 255, 0.26);
    border-color: rgba(143, 183, 255, 0.26);
    border-radius: 18px;
    background: rgba(143, 183, 255, 0.075);
}

.customer-output-box span {
    color: var(--brand-accent-2, #8fb7ff);
    font-weight: 900;
    text-transform: uppercase;
    font-size: var(--type-kicker);
    letter-spacing: 0.12em;
}

.customer-output-box p {
    margin: 0;
}

.demo-output-message p {
    margin: 0;
    color: white;
    line-height: 1.5;
}

.artifact-row,
.audit-trail div {
    display: grid;
    gap: 4px;
    padding: 11px 0;
    border-top: 1px solid rgba(255, 255, 255, 0.08);
}

.artifact-row:first-of-type,
.audit-trail div:first-of-type {
    border-top: 0;
}

.artifact-row strong,
.audit-trail strong {
    color: white;
}

.artifact-row span,
.artifact-row small,
.audit-trail span {
    color: var(--brand-muted, #aab6c7);
    line-height: 1.45;
}

.demo-section-compact .demo-heading {
    max-width: 980px;
}

.demo-section-compact .demo-room-grid {
    grid-template-columns: minmax(280px, 0.9fr) minmax(360px, 1.1fr);
}

.demo-section-compact .demo-output-panel {
    display: none;
}

.demo-section-compact .demo-request-panel {
    min-height: auto;
}

.demo-section-compact .demo-step:nth-child(n+5),
.demo-section-compact .demo-decision-panel {
    display: none;
}

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

.proof-grid,
.governance-grid {
    grid-template-columns: repeat(3, minmax(0, 1fr));
}

.service-item {
    position: relative;
    padding-top: 18px;
}

.service-rule {
    position: absolute;
    top: 0;
    left: 0;
    width: 54px;
    height: 3px;
    border-radius: 999px;
    background: var(--brand-accent, #66f2d5);
}

.service-item small {
    display: block;
    color: white;
    font-weight: 800;
    line-height: 1.5;
}

.service-meta {
    display: grid;
    gap: 10px;
    margin-top: 18px;
}

.service-meta span {
    color: var(--brand-accent, #66f2d5);
    font-size: 0.88rem;
    font-weight: 900;
}

.service-meta ul,
.next-step-list {
    margin: 0;
    padding-left: 20px;
    color: var(--brand-muted, #aab6c7);
}

.service-meta li,
.next-step-list li {
    margin: 5px 0;
    line-height: 1.45;
}

.proof-item {
    padding: 22px;
}

.proof-examples-heading {
    margin-top: clamp(42px, 5vw, 68px);
}

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

.proof-example {
    padding-top: 18px;
    border-top: 1px solid rgba(255, 255, 255, 0.16);
}

.proof-example dl {
    gap: 14px;
}

.proof-example dl div {
    display: grid;
    gap: 4px;
}

.proof-example dd {
    color: var(--brand-muted, #aab6c7);
    font-weight: 500;
    text-align: left;
    line-height: 1.55;
}

.build-list {
    display: grid;
    border-top: 1px solid rgba(255, 255, 255, 0.12);
}

.build-row {
    display: grid;
    grid-template-columns: minmax(280px, 0.9fr) minmax(280px, 1.1fr);
    align-items: start;
    gap: 28px;
    padding: 28px 0;
    border-bottom: 1px solid rgba(255, 255, 255, 0.12);
}

.build-row p {
    margin-bottom: 0;
}

.build-row ul {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    align-items: flex-start;
    align-content: flex-start;
    justify-content: flex-start;
    padding: 0;
    list-style: none;
}

.build-row li {
    min-height: 34px;
    display: inline-flex;
    align-items: center;
    border: 1px solid rgba(255, 255, 255, 0.12);
    border-radius: 12px;
    padding: 7px 11px;
    background: rgba(255, 255, 255, 0.055);
    color: color-mix(in srgb, var(--brand-text, #f4f7fb) 86%, var(--brand-accent, #66f2d5));
    font-size: 0.88rem;
    font-weight: 750;
    line-height: 1.2;
}

.governance-section,
.split-section,
.about-hero,
.contact-hero {
    display: grid;
    grid-template-columns: minmax(280px, 0.9fr) minmax(280px, 1.1fr);
    gap: clamp(28px, 5vw, 80px);
}

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

.governance-grid article {
    padding-top: 16px;
    border-top: 1px solid rgba(255, 255, 255, 0.16);
}

.final-cta-panel {
    padding: clamp(28px, 5vw, 56px);
    text-align: center;
}

.final-cta-panel p {
    max-width: 620px;
    margin-left: auto;
    margin-right: auto;
}

.final-cta-panel .next-step-list {
    max-width: 520px;
    margin: 0 auto 24px;
    text-align: left;
}

.page-hero {
    padding-bottom: 30px;
}

.page-hero h1 {
    max-width: 860px;
    font-size: var(--type-page-title);
    line-height: 1.04;
}

.compact-page-hero {
    max-width: 1480px;
    margin-left: auto;
    margin-right: auto;
}

.compact-page-hero h1 {
    max-width: 840px;
}

.compact-page-hero p {
    max-width: 940px;
}

.contact-aside {
    align-self: start;
    display: grid;
    gap: 14px;
    padding: 24px;
}

.contact-aside strong {
    font-size: var(--type-card-title);
    line-height: 1.2;
}

.contact-aside a {
    color: var(--brand-accent, #66f2d5);
    font-weight: 900;
}

.contact-section {
    padding-top: 30px;
}

.contact-form {
    position: relative;
    display: grid;
    gap: 18px;
    padding: clamp(18px, 4vw, 30px);
}

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

label {
    display: grid;
    gap: 8px;
}

label span {
    color: white;
    font-weight: 800;
}

.required-marker {
    color: var(--brand-accent, #66f2d5);
    font-style: normal;
}

.field-help {
    color: var(--brand-muted, #aab6c7);
    font-size: 0.86rem;
    line-height: 1.45;
}

input,
select,
textarea {
    width: 100%;
    border: 1px solid rgba(255, 255, 255, 0.14);
    border-radius: 16px;
    background: rgba(255, 255, 255, 0.07);
    color: white;
    padding: 13px 14px;
}

input.invalid,
select.invalid,
textarea.invalid,
input[aria-invalid="true"],
select[aria-invalid="true"],
textarea[aria-invalid="true"] {
    border-color: rgba(255, 180, 180, 0.82);
    background: rgba(255, 180, 180, 0.09);
    box-shadow: 0 0 0 3px rgba(255, 180, 180, 0.08);
}

textarea {
    resize: vertical;
}

select {
    color: white;
}

option {
    background: #0d1420;
    color: white;
}

.validation-message {
    color: #ffb4b4;
    font-size: 0.9rem;
}

.validation-summary {
    color: #ffdddd;
    border: 1px solid rgba(255, 180, 180, 0.28);
    border-radius: 16px;
    background: rgba(255, 180, 180, 0.08);
    padding: 12px 14px;
}

.validation-summary ul {
    margin: 0;
    padding-left: 20px;
}

.validation-summary li + li {
    margin-top: 4px;
}

.form-honeypot {
    position: absolute;
    left: -10000px;
    top: auto;
    width: 1px;
    height: 1px;
    overflow: hidden;
}

.form-status {
    padding: 16px;
    border-radius: 18px;
}

.form-status-success {
    border: 1px solid rgba(102, 242, 213, 0.24);
    background: rgba(102, 242, 213, 0.08);
}

.form-status-error {
    border: 1px solid rgba(255, 180, 180, 0.28);
    background: rgba(255, 180, 180, 0.08);
}

.form-status p {
    margin-bottom: 8px;
}

.form-status a {
    color: var(--brand-accent, #66f2d5);
    font-weight: 900;
}

.form-privacy-note {
    margin: 0;
    font-size: 0.92rem;
}

.form-privacy-note a,
.stacked-copy a {
    color: var(--brand-accent, #66f2d5);
    font-weight: 900;
}

.stacked-copy {
    display: grid;
    gap: 12px;
}

.stacked-copy p {
    margin: 0;
}

.pilot-hero {
    width: 100%;
    max-width: 1580px;
    min-height: calc(100svh - 88px);
    margin: 0 auto;
    padding: clamp(72px, 8vw, 120px) clamp(18px, 3.4vw, 48px);
    display: grid;
    grid-template-columns: minmax(0, 0.96fr) minmax(380px, 0.84fr);
    align-items: center;
    gap: clamp(32px, 6vw, 92px);
}

.pilot-hero-copy {
    max-width: 820px;
    animation: fade-up 700ms ease both;
}

.pilot-hero-subtitle {
    max-width: 720px;
    color: color-mix(in srgb, var(--brand-text, #f4f7fb) 84%, var(--brand-muted, #aab6c7));
    font-size: var(--type-lead);
}

.pilot-visual {
    position: relative;
    display: grid;
    gap: 22px;
    padding: clamp(20px, 3.2vw, 34px);
    overflow: hidden;
    isolation: isolate;
    animation: fade-up 760ms 120ms ease both;
}

.pilot-visual::before {
    content: "";
    position: absolute;
    inset: 0;
    background:
        linear-gradient(135deg, rgba(102, 242, 213, 0.14), transparent 40%),
        repeating-linear-gradient(0deg, rgba(255, 255, 255, 0.03) 0 1px, transparent 1px 54px);
    transform: translateY(-58%);
    animation: pilot-scan 6s ease-in-out infinite;
    z-index: -1;
}

.pilot-price {
    display: grid;
    gap: 6px;
    padding-bottom: 18px;
    border-bottom: 1px solid rgba(255, 255, 255, 0.13);
}

.pilot-price span,
.pilot-price small,
.pilot-timeline small,
.pilot-workflow-list span,
.scorecard-teaser-actions span {
    color: var(--brand-muted, #aab6c7);
}

.pilot-price span {
    color: var(--brand-accent, #66f2d5);
    font-size: var(--type-kicker);
    font-weight: 900;
    letter-spacing: 0.12em;
    text-transform: uppercase;
}

.pilot-price strong {
    color: white;
    font-size: var(--type-display);
    line-height: 0.9;
}

.pilot-timeline {
    display: grid;
    gap: 14px;
    margin: 0;
    padding: 0;
    list-style: none;
}

.pilot-timeline li {
    position: relative;
    display: grid;
    gap: 4px;
    padding: 14px 14px 14px 58px;
    border: 1px solid rgba(255, 255, 255, 0.11);
    border-radius: 18px;
    background: rgba(6, 12, 20, 0.48);
}

.pilot-timeline li span {
    position: absolute;
    left: 14px;
    top: 14px;
    width: 30px;
    height: 30px;
    display: grid;
    place-items: center;
    border-radius: 12px;
    background: rgba(102, 242, 213, 0.13);
    color: var(--brand-accent, #66f2d5);
    font-weight: 900;
}

.pilot-timeline strong,
.pilot-signal-strip strong,
.scorecard-teaser-actions strong {
    color: white;
}

.pilot-signal-strip {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 18px;
    padding-top: 0;
}

.pilot-signal-strip div {
    display: grid;
    gap: 8px;
    padding-top: 18px;
    border-top: 1px solid rgba(255, 255, 255, 0.16);
}

.pilot-workflow-list,
.pilot-deliverable-list,
.founder-trust-grid,
.scorecard-grid {
    display: grid;
    gap: 18px;
}

.pilot-workflow-list article,
.pilot-deliverable-list article,
.founder-trust-grid article {
    padding-top: 18px;
    border-top: 1px solid rgba(255, 255, 255, 0.16);
}

.pilot-workflow-list span {
    display: block;
    margin-bottom: 8px;
    color: var(--brand-accent, #66f2d5);
    font-size: var(--type-kicker);
    font-weight: 900;
    letter-spacing: 0.08em;
    text-transform: uppercase;
}

.pilot-deliverable-list {
    grid-template-columns: repeat(5, minmax(0, 1fr));
}

.founder-trust-grid {
    grid-template-columns: repeat(3, minmax(0, 1fr));
}

.founder-detail-list {
    max-width: 960px;
    margin: -24px auto 34px;
    display: flex;
    justify-content: center;
    gap: 14px;
    flex-wrap: wrap;
    color: var(--brand-muted, #aab6c7);
    font-size: 0.94rem;
}

.founder-detail-list span,
.founder-detail-list a {
    padding: 8px 12px;
    border: 1px solid rgba(255, 255, 255, 0.13);
    border-radius: 999px;
    background: rgba(255, 255, 255, 0.045);
}

.founder-detail-list a {
    color: var(--brand-accent, #66f2d5);
    font-weight: 800;
}

.scorecard-teaser-actions {
    align-self: start;
    display: grid;
    gap: 14px;
    padding: 24px;
}

.scorecard-hero h1 {
    max-width: 820px;
}

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

.scorecard-item {
    position: relative;
    display: grid;
    grid-template-columns: 28px minmax(0, 1fr);
    align-items: start;
    gap: 14px;
    padding: 18px;
    border: 1px solid rgba(255, 255, 255, 0.12);
    border-radius: 18px;
    background: rgba(255, 255, 255, 0.055);
}

.scorecard-item input {
    width: 22px;
    height: 22px;
    margin: 3px 0 0;
    accent-color: var(--brand-accent, #66f2d5);
}

.scorecard-item span {
    display: grid;
    gap: 6px;
}

.scorecard-item strong {
    color: var(--brand-accent, #66f2d5);
    font-size: var(--type-kicker);
    letter-spacing: 0.1em;
    text-transform: uppercase;
}

.scorecard-item em {
    color: white;
    font-style: normal;
    font-size: var(--type-body);
    font-weight: 800;
    line-height: 1.35;
}

.scorecard-item small {
    color: var(--brand-muted, #aab6c7);
    line-height: 1.45;
}

.scorecard-result-panel {
    display: grid;
    gap: 18px;
    padding: clamp(24px, 5vw, 48px);
}

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

.scorecard-bands div {
    display: grid;
    gap: 8px;
    padding-top: 18px;
    border-top: 1px solid rgba(255, 255, 255, 0.16);
}

.scorecard-bands dt {
    color: white;
    font-size: var(--type-card-title);
    font-weight: 900;
}

.scorecard-bands dd {
    margin: 0;
    color: var(--brand-muted, #aab6c7);
    text-align: left;
    line-height: 1.55;
}

.thank-you-page {
    min-height: calc(100svh - 180px);
    display: grid;
    align-content: center;
}

@keyframes pilot-scan {
    0%, 18% {
        transform: translateY(-58%);
    }
    58%, 100% {
        transform: translateY(58%);
    }
}

.site-footer {
    max-width: 1480px;
    margin: 0 auto;
    padding: 42px clamp(18px, 4vw, 56px) 56px;
    display: flex;
    justify-content: space-between;
    gap: 20px;
    color: var(--brand-muted, #aab6c7);
}

.site-footer div:first-child {
    display: grid;
    gap: 6px;
}

.site-footer strong {
    color: white;
}

.footer-links {
    display: flex;
    gap: 18px;
    flex-wrap: wrap;
    align-items: start;
    justify-content: flex-end;
}

#blazor-error-ui {
    color-scheme: light only;
    background: #fff3cd;
    bottom: 0;
    box-shadow: 0 -1px 2px rgba(0, 0, 0, 0.2);
    box-sizing: border-box;
    display: none;
    left: 0;
    padding: 0.6rem 1.25rem 0.7rem 1.25rem;
    position: fixed;
    width: 100%;
    z-index: 1000;
}

#blazor-error-ui .dismiss {
    cursor: pointer;
    position: absolute;
    right: 0.75rem;
    top: 0.5rem;
}

@keyframes fade-up {
    from {
        opacity: 0;
        transform: translateY(18px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes message-in {
    from {
        opacity: 0;
        transform: translateY(10px) scale(0.985);
    }
    to {
        opacity: 1;
        transform: translateY(0) scale(1);
    }
}

@keyframes message-reveal-in {
    from {
        opacity: 0;
        transform: translateY(4px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes typing-dot-pulse {
    0%, 80%, 100% {
        opacity: 0.35;
        transform: translateY(0);
    }
    40% {
        opacity: 1;
        transform: translateY(-2px);
    }
}

@keyframes node-in {
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes example-focus {
    0%, 26% {
        opacity: 1;
    }
    34%, 100% {
        opacity: 0.62;
    }
}

@keyframes example-rule {
    0%, 26% {
        background: var(--brand-accent, #66f2d5);
        box-shadow: 0 0 18px rgba(102, 242, 213, 0.28);
        transform: scaleY(1);
    }
    34%, 100% {
        background: rgba(255, 255, 255, 0.13);
        box-shadow: none;
        transform: scaleY(0.78);
    }
}

@keyframes example-dot {
    0%, 26% {
        box-shadow: 0 0 0 8px rgba(102, 242, 213, 0.12);
        opacity: 1;
    }
    34%, 100% {
        box-shadow: 0 0 0 0 rgba(102, 242, 213, 0);
        opacity: 0.45;
    }
}

@keyframes workflow-step-cycle {
    0%, 18% {
        border-color: rgba(102, 242, 213, 0.42);
        background: rgba(102, 242, 213, 0.1);
        box-shadow: inset 0 0 0 1px rgba(102, 242, 213, 0.08);
    }
    26%, 100% {
        border-color: rgba(255, 255, 255, 0.1);
        background: rgba(255, 255, 255, 0.055);
        box-shadow: none;
    }
}

@keyframes workflow-packet {
    0%, 8% {
        top: 34px;
        opacity: 0;
    }
    14%, 82% {
        opacity: 1;
    }
    92%, 100% {
        top: calc(100% - 34px);
        opacity: 0;
    }
}

@keyframes output-glow {
    0%, 18% {
        border-color: rgba(102, 242, 213, 0.36);
        background: rgba(102, 242, 213, 0.11);
        transform: translateY(-1px);
    }
    26%, 100% {
        border-color: rgba(255, 255, 255, 0.12);
        background: rgba(255, 255, 255, 0.055);
        transform: translateY(0);
    }
}

@keyframes data-sweep {
    0%, 18% {
        transform: translateX(-72%);
    }
    58%, 100% {
        transform: translateX(72%);
    }
}

@keyframes pulse {
    0% {
        box-shadow: 0 0 0 0 rgba(102, 242, 213, 0.6);
    }
    70% {
        box-shadow: 0 0 0 12px rgba(102, 242, 213, 0);
    }
    100% {
        box-shadow: 0 0 0 0 rgba(102, 242, 213, 0);
    }
}

@media (max-width: 1040px) {
    :root {
        --type-display: 3.05rem;
        --type-page-title: 2.7rem;
        --type-section-title: 2.3rem;
        --type-lead: 1.08rem;
    }

    .site-nav {
        align-items: stretch;
        flex-wrap: wrap;
    }

    .nav-links {
        order: 3;
        width: 100%;
        justify-content: center;
        overflow-x: auto;
    }

    .hero-section,
    .pilot-hero,
    .demo-shell,
    .demo-command-bar,
    .demo-room-grid,
    .demo-section-compact .demo-room-grid,
    .demo-workflow,
    .governance-section,
    .split-section,
    .about-hero,
    .contact-hero,
    .build-row {
        grid-template-columns: 1fr;
    }

    .workflow-visual {
        min-height: auto;
    }

    .workflow-examples {
        grid-template-columns: 1fr;
    }

    .demo-playback {
        justify-content: flex-start;
    }

    .service-grid,
    .proof-grid,
    .proof-example-grid,
    .governance-grid,
    .pilot-deliverable-list,
    .founder-trust-grid,
    .scorecard-grid,
    .scorecard-bands {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }
}

@media (max-width: 700px) {
    :root {
        --type-display: 2.55rem;
        --type-page-title: 2.25rem;
        --type-section-title: 2rem;
        --type-lead: 1.05rem;
        --type-body: 0.98rem;
    }

    .site-header {
        padding: 10px 10px 0;
    }

    .site-nav {
        display: grid;
        grid-template-columns: minmax(0, 1fr) auto;
        gap: 10px;
        align-items: center;
        padding: 10px;
        border-radius: 18px;
    }

    .brand-mark,
    .brand-logo {
        width: 32px;
        height: 32px;
    }

    .brand-name {
        min-width: 0;
        font-size: 0.95rem;
    }

    .nav-cta {
        width: auto;
        min-height: 36px;
        padding: 0 12px;
        font-size: 0.84rem;
        white-space: nowrap;
    }

    .nav-links {
        order: initial;
        grid-column: 1 / -1;
        width: 100%;
        justify-content: flex-start;
    }

    .nav-links a {
        min-height: 34px;
        padding: 0 12px;
        font-size: 0.86rem;
    }

    .section,
    .page-hero,
    .hero-section {
        padding-left: 16px;
        padding-right: 16px;
    }

    .hero-section {
        min-height: auto;
        padding-top: 44px;
    }

    .pilot-hero {
        min-height: auto;
        padding-top: 44px;
    }

    .service-grid,
    .proof-grid,
    .proof-example-grid,
    .governance-grid,
    .pilot-signal-strip,
    .pilot-deliverable-list,
    .founder-trust-grid,
    .scorecard-grid,
    .scorecard-bands,
    .form-grid {
        grid-template-columns: 1fr;
    }

    .founder-detail-list {
        justify-content: flex-start;
        margin-top: -8px;
    }

    .form-actions {
        align-items: stretch;
        flex-direction: column;
    }

    .form-actions .button {
        width: 100%;
    }

    .demo-shell {
        padding: 12px;
        border-radius: 18px;
    }

    .demo-heading,
    .demo-actions,
    .demo-panel-header,
    .demo-workflow-topline {
        align-items: flex-start;
        flex-direction: column;
    }

    .demo-playback,
    .demo-control-buttons,
    .demo-control-buttons .button {
        width: 100%;
    }

    .demo-command-bar {
        gap: 14px;
    }

    .demo-playback {
        display: grid;
        grid-template-columns: minmax(0, 1fr) repeat(3, 42px);
        align-items: stretch;
    }

    .autoplay-status {
        min-width: 0;
        width: 100%;
        justify-content: flex-start;
        white-space: normal;
    }

    .demo-restart-button {
        grid-column: 1 / -1;
        width: 100%;
    }

    .demo-panel-header strong,
    .demo-workflow-topline strong {
        text-align: left;
    }

    .scenario-tabs {
        flex-wrap: nowrap;
        overflow-x: auto;
        padding-bottom: 4px;
    }

    .scenario-tab {
        flex: 0 0 auto;
    }

    dl div {
        display: grid;
    }

    dd {
        text-align: left;
    }

    .site-footer {
        display: grid;
    }

    .footer-links {
        justify-content: flex-start;
    }
}

@media (prefers-reduced-motion: reduce) {
    *,
    *::before,
    *::after {
        animation-duration: 0.001ms !important;
        animation-iteration-count: 1 !important;
        scroll-behavior: auto !important;
        transition-duration: 0.001ms !important;
    }

    .chat-message {
        opacity: 1;
        transform: none;
    }

    .typing-indicator {
        display: none;
    }

    .message-reveal {
        display: none;
    }

    .message-size-reserve {
        visibility: visible;
    }
}
