:root {
    color-scheme: light;
    --bg: #f6f8fb;
    --surface: #ffffff;
    --surface-muted: #f9fafb;
    --border: #e5e7eb;
    --text: #101828;
    --muted: #667085;
    --faint: #98a2b3;
    --brand: #465fff;
    --brand-strong: #3641f5;
    --brand-soft: #ecf3ff;
    --success: #039855;
    --success-soft: #ecfdf3;
    --warning: #dc6803;
    --warning-soft: #fffaeb;
    --danger: #d92d20;
    --danger-soft: #fef3f2;
    --shadow: 0 1px 2px rgba(16, 24, 40, 0.06);
}

/* SecureRepos public rebuild */
.sr-home,
.sr-legal {
    width: min(1180px, calc(100% - 32px));
    color: #e8eef8;
    padding-top: 0;
}

[data-force-theme="dark"] .sr-home::before,
[data-force-theme="dark"] .sr-legal::before {
    height: 760px;
    background:
        linear-gradient(180deg, rgba(5, 10, 18, 0.98), rgba(7, 13, 22, 0.96) 48%, rgba(5, 8, 13, 1)),
        radial-gradient(circle at 78% 18%, rgba(57, 217, 138, 0.13), transparent 28%),
        radial-gradient(circle at 48% 0%, rgba(108, 123, 255, 0.13), transparent 32%);
}

.sr-nav {
    min-height: 66px;
    border: 0;
    border-radius: 0;
    background: #070d16;
    padding: 0 14px;
}

.sr-nav::before {
    content: "";
    position: absolute;
    inset: 0 50%;
    width: 100vw;
    transform: translateX(-50%);
    background: #070d16;
    pointer-events: none;
    z-index: -1;
}

.sr-nav .landing-nav-links {
    gap: 22px;
    color: #9ca9bd;
    font-size: 13px;
    font-weight: 760;
}

.sr-nav .landing-nav-links a:hover {
    color: #f8fafc;
}

.sr-nav .button {
    min-height: 40px;
    border-radius: 8px;
    border-color: rgba(148, 163, 184, 0.20);
    background: rgba(15, 23, 42, 0.88);
    box-shadow: none;
    color: #f8fafc;
    padding-inline: 15px;
}

.sr-nav .button.primary,
.sr-actions .button.primary {
    border-color: rgba(57, 217, 138, 0.44);
    background: #22c55e;
    box-shadow: 0 14px 34px rgba(34, 197, 94, 0.18);
    color: #04110a;
}

.sr-nav .landing-menu-toggle {
    width: 40px;
    height: 40px;
    border-radius: 8px;
    background: #0d1624;
}

.sr-nav .landing-menu-toggle span {
    width: 16px;
}

body.landing-menu-open .sr-nav .landing-menu-toggle span:nth-child(1),
body.landing-menu-open .sr-nav .landing-menu-toggle span:nth-child(2),
body.landing-menu-open .sr-nav .landing-menu-toggle span:nth-child(3) {
    opacity: 1;
    transform: none;
}

.sr-nav .landing-mobile-menu {
    left: 0;
    right: 0;
    top: 100%;
    border: 1px solid rgba(148, 163, 184, 0.14);
    border-top: 0;
    border-radius: 0 0 12px 12px;
    background: #070d16;
    box-shadow: 0 26px 60px rgba(0, 0, 0, 0.34);
    padding: 10px;
}

.sr-nav .mobile-menu-label {
    color: #39d98a;
    padding: 7px 10px 9px;
    font-size: 11px;
    font-weight: 900;
    text-transform: uppercase;
}

.sr-nav .landing-mobile-menu a {
    min-height: 44px;
    border-radius: 8px;
    color: #c8d2e2;
    padding: 0 12px;
    font-size: 14px;
}

.sr-nav .landing-mobile-menu > a::after {
    display: none;
}

.sr-nav .landing-mobile-menu > a:hover {
    background: rgba(57, 217, 138, 0.08);
    color: #f8fafc;
}

.sr-nav .landing-mobile-actions {
    gap: 8px;
    border-top: 1px solid rgba(148, 163, 184, 0.14);
    margin-top: 8px;
    padding-top: 10px;
}

.sr-hero {
    display: grid;
    grid-template-columns: minmax(0, 0.96fr) minmax(420px, 1.04fr);
    gap: 56px;
    align-items: center;
    padding: 70px 0 54px;
}

.sr-hero-copy,
.sr-section-head,
.sr-final > div {
    display: grid;
    gap: 16px;
}

.sr-kicker {
    margin: 0;
    color: #39d98a;
    font-size: 12px;
    font-weight: 900;
    letter-spacing: 0;
    text-transform: uppercase;
}

.sr-hero h1,
.sr-section h2,
.sr-final h2,
.sr-legal-hero h1 {
    margin: 0;
    color: #f8fafc;
    letter-spacing: 0;
}

.sr-hero h1 {
    max-width: 680px;
    font-size: clamp(46px, 5.4vw, 72px);
    line-height: 1;
}

.sr-lede,
.sr-section-head p:not(.sr-kicker),
.sr-final p,
.sr-check-list p,
.sr-timeline p,
.sr-compare-grid p,
.sr-agent-prompt p,
.sr-legal-hero p {
    margin: 0;
    color: #aab6c8;
    line-height: 1.7;
}

.sr-lede {
    max-width: 620px;
    font-size: 17px;
}

.sr-actions {
    display: flex;
    flex-wrap: wrap;
    gap: 12px;
    margin-top: 4px;
}

.sr-actions .button {
    min-height: 44px;
    border-radius: 8px;
    box-shadow: none;
    padding-inline: 17px;
}

.sr-hero-facts {
    display: grid;
    gap: 10px;
    max-width: 640px;
    border-top: 1px solid rgba(148, 163, 184, 0.16);
    margin-top: 10px;
    padding-top: 18px;
}

.sr-hero-facts span {
    color: #91a0b5;
    font-size: 14px;
}

.sr-hero-facts strong {
    color: #f8fafc;
    margin-right: 8px;
}

.sr-hero-board {
    overflow: hidden;
    border: 1px solid rgba(148, 163, 184, 0.18);
    border-radius: 8px;
    background: #08111d;
    box-shadow: 0 30px 90px rgba(0, 0, 0, 0.34);
}

.sr-board-top,
.sr-board-repo,
.sr-board-status {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 16px;
    border-bottom: 1px solid rgba(148, 163, 184, 0.14);
    padding: 13px 15px;
}

.sr-board-top span,
.sr-board-top strong,
.sr-board-repo small,
.sr-board-status span,
.sr-terminal div span,
.sr-terminal div strong {
    font-family: ui-monospace, SFMono-Regular, Menlo, Monaco, Consolas, monospace;
    font-size: 12px;
}

.sr-board-top span {
    color: #39d98a;
    font-weight: 900;
}

.sr-board-top strong,
.sr-board-repo small,
.sr-board-status span {
    color: #8998ad;
    text-transform: uppercase;
}

.sr-board-repo b {
    display: block;
    color: #f8fafc;
    margin-top: 4px;
    font-family: ui-monospace, SFMono-Regular, Menlo, Monaco, Consolas, monospace;
    font-size: 16px;
}

.sr-board-repo > span {
    flex: none;
    border: 1px solid rgba(57, 217, 138, 0.26);
    border-radius: 999px;
    background: rgba(57, 217, 138, 0.08);
    color: #39d98a;
    padding: 6px 10px;
    font-size: 12px;
    font-weight: 900;
}

.sr-board-main {
    display: grid;
    grid-template-columns: 150px minmax(0, 1fr);
}

.sr-risk-score {
    display: grid;
    align-content: center;
    gap: 8px;
    border-right: 1px solid rgba(148, 163, 184, 0.14);
    padding: 18px;
}

.sr-risk-score small {
    color: #8998ad;
    font-size: 11px;
    font-weight: 900;
    text-transform: uppercase;
}

.sr-risk-score strong {
    color: #f8fafc;
    font-size: 58px;
    line-height: 0.9;
}

.sr-risk-score span {
    color: #fbbf24;
    font-size: 13px;
    font-weight: 850;
}

.sr-finding-feed {
    display: grid;
    padding: 8px 16px;
}

.sr-finding-feed article {
    display: grid;
    gap: 5px;
    border-bottom: 1px solid rgba(148, 163, 184, 0.12);
    padding: 12px 0;
}

.sr-finding-feed article:last-child {
    border-bottom: 0;
}

.sr-finding-feed small {
    color: #7f92ff;
    font-size: 12px;
    font-weight: 900;
    text-transform: uppercase;
}

.sr-finding-feed b {
    color: #edf4ff;
    line-height: 1.35;
}

.sr-finding-feed p {
    margin: 0;
    color: #9dadc2;
    font-size: 13px;
    line-height: 1.55;
}

.sr-board-status {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    border-bottom: 0;
    padding: 0;
}

.sr-board-status span {
    border-right: 1px solid rgba(148, 163, 184, 0.12);
    padding: 11px 8px;
    text-align: center;
}

.sr-board-status span:last-child {
    border-right: 0;
}

.sr-ecosystems {
    display: grid;
    gap: 10px;
    overflow: hidden;
    border-block: 1px solid rgba(148, 163, 184, 0.14);
    background: rgba(10, 17, 29, 0.78);
    margin-inline: calc((100vw - min(1180px, calc(100vw - 32px))) / -2);
    padding: 12px 0;
    mask-image: linear-gradient(90deg, transparent, #000 8%, #000 92%, transparent);
}

.sr-ecosystems p {
    width: min(1180px, calc(100% - 32px));
    margin: 0 auto;
    color: #8d9bb0;
    font-size: 13px;
    font-weight: 760;
    text-align: center;
}

.sr-logo-rail {
    display: flex;
    width: max-content;
    gap: 10px;
    animation: sec-marquee 34s linear infinite;
    padding-left: max(16px, calc((100vw - 1180px) / 2));
}

.sr-logo-rail span,
.sr-agent-row span {
    display: inline-flex;
    align-items: center;
    gap: 9px;
    min-height: 34px;
    border: 1px solid rgba(148, 163, 184, 0.14);
    border-radius: 8px;
    background: #0d1624;
    color: #d9e4f2;
    padding: 6px 10px;
    font-size: 12px;
    font-weight: 800;
    white-space: nowrap;
}

.sr-logo-rail img,
.sr-agent-row img {
    width: 18px;
    height: 18px;
    border-radius: 5px;
    background: #fff;
    padding: 3px;
    box-sizing: content-box;
}

.sr-section {
    display: grid;
    gap: 24px;
    padding: 58px 0;
}

.sr-section-head {
    max-width: 760px;
}

.sr-section h2,
.sr-final h2 {
    max-width: 850px;
    font-size: clamp(31px, 4vw, 50px);
    line-height: 1.05;
}

.sr-check-list {
    display: grid;
    border-top: 1px solid rgba(148, 163, 184, 0.18);
}

.sr-check-list article {
    display: grid;
    grid-template-columns: 64px minmax(210px, 0.38fr) minmax(0, 0.62fr);
    gap: 18px;
    border-bottom: 1px solid rgba(148, 163, 184, 0.18);
    padding: 18px 0;
}

.sr-check-list span,
.sr-timeline span {
    color: #7f92ff;
    font-family: ui-monospace, SFMono-Regular, Menlo, Monaco, Consolas, monospace;
    font-weight: 900;
}

.sr-check-list strong,
.sr-timeline strong,
.sr-compare-grid strong {
    color: #f8fafc;
    font-size: 18px;
}

.sr-workflow,
.sr-pricing {
    border-block: 1px solid rgba(148, 163, 184, 0.14);
    background: #f7f9fc;
    color: #0f172a;
    margin-inline: calc((100vw - min(1180px, calc(100vw - 32px))) / -2);
    padding-inline: calc((100vw - min(1180px, calc(100vw - 32px))) / 2);
}

.sr-workflow .sr-kicker,
.sr-pricing .sr-kicker {
    color: #047857;
}

.sr-workflow h2,
.sr-pricing h2 {
    color: #0f172a;
}

.sr-workflow .sr-section-head p,
.sr-pricing .sr-section-head p,
.sr-workflow .sr-timeline p {
    color: #506078;
}

.sr-timeline {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    border: 1px solid #dbe3ef;
    background: #fff;
}

.sr-timeline article {
    display: grid;
    align-content: start;
    gap: 10px;
    min-height: 148px;
    border-right: 1px solid #dbe3ef;
    padding: 18px;
}

.sr-timeline article:last-child {
    border-right: 0;
}

.sr-timeline strong {
    color: #0f172a;
}

.sr-devtools {
    grid-template-columns: minmax(280px, 0.82fr) minmax(0, 1.18fr);
    align-items: start;
}

.sr-devtools .sr-section-head {
    position: sticky;
    top: 90px;
}

.sr-terminal-layout {
    display: grid;
    gap: 12px;
}

.sr-terminal {
    overflow: hidden;
    border: 1px solid rgba(148, 163, 184, 0.16);
    border-radius: 8px;
    background: #060b13;
}

.sr-terminal div {
    display: flex;
    justify-content: space-between;
    gap: 14px;
    border-bottom: 1px solid rgba(148, 163, 184, 0.14);
    padding: 12px 14px;
}

.sr-terminal div span {
    color: #39d98a;
    font-weight: 900;
}

.sr-terminal div strong {
    color: #dbe7f6;
}

.sr-terminal pre {
    max-width: 100%;
    overflow-x: auto;
    margin: 0;
    padding: 14px;
}

.sr-terminal code {
    display: grid;
    gap: 6px;
    border: 0;
    background: transparent;
    color: #dbe7f6;
    padding: 0;
    font-family: ui-monospace, SFMono-Regular, Menlo, Monaco, Consolas, monospace;
    font-size: 13px;
    line-height: 1.48;
}

.sr-terminal code span {
    display: block;
    min-width: max-content;
}

.sr-agent-row {
    grid-column: 2;
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
}

.sr-agent-prompt {
    grid-column: 2;
    display: grid;
    gap: 8px;
    border: 1px solid rgba(57, 217, 138, 0.18);
    border-radius: 8px;
    background: rgba(57, 217, 138, 0.06);
    padding: 16px;
}

.sr-agent-prompt strong {
    color: #f8fafc;
}

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

.sr-compare-grid article {
    border: 1px solid rgba(148, 163, 184, 0.16);
    border-radius: 8px;
    background: #0a121f;
    padding: 18px;
}

.sr-compare-grid p {
    margin-top: 10px;
}

.sr-pricing .product-pricing-grid .card {
    border-color: #dbe3ef;
    background: #fff;
    color: #0f172a;
}

.sr-pricing .product-pricing-grid .muted,
.sr-pricing .plan-list,
.sr-pricing .plan-card-facts {
    color: #506078;
}

.sr-final {
    display: grid;
    grid-template-columns: minmax(0, 1fr) auto;
    gap: 28px;
    align-items: end;
    border-bottom: 1px solid rgba(148, 163, 184, 0.14);
    padding: 58px 0 28px;
}

.sr-footer {
    border-color: rgba(148, 163, 184, 0.16);
    border-radius: 8px;
    background: #070d16;
}

.sr-legal {
    color: #e8eef8;
}

.sr-legal-hero {
    display: grid;
    gap: 14px;
    padding: 58px 0 34px;
}

.sr-legal-hero h1 {
    max-width: 820px;
    font-size: clamp(42px, 5vw, 68px);
    line-height: 1.02;
}

.sr-legal-hero p {
    max-width: 760px;
    font-size: 16px;
}

.sr-legal-meta {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    margin-top: 6px;
}

.sr-legal-meta span {
    display: inline-flex;
    gap: 9px;
    align-items: center;
    border: 1px solid rgba(148, 163, 184, 0.16);
    border-radius: 8px;
    background: #0d1624;
    color: #9ca9bd;
    padding: 9px 11px;
    font-size: 13px;
}

.sr-legal-meta strong {
    color: #f8fafc;
}

.sr-legal-meta a,
.sr-legal-content a {
    color: #16a34a;
    overflow-wrap: anywhere;
}

.sr-legal-layout {
    display: grid;
    grid-template-columns: 250px minmax(0, 1fr);
    gap: 28px;
    align-items: start;
    border-block: 1px solid rgba(148, 163, 184, 0.14);
    background: #f7f9fc;
    color: #0f172a;
    margin-inline: calc((100vw - min(1180px, calc(100vw - 32px))) / -2);
    padding: 34px calc((100vw - min(1180px, calc(100vw - 32px))) / 2);
}

.sr-legal-sidebar {
    position: sticky;
    top: 88px;
    display: grid;
    gap: 6px;
    border: 1px solid #dbe3ef;
    border-radius: 8px;
    background: #fff;
    padding: 12px;
}

.sr-legal-sidebar span {
    color: #64748b;
    padding: 4px 8px 8px;
    font-size: 11px;
    font-weight: 900;
    text-transform: uppercase;
}

.sr-legal-sidebar a {
    border-radius: 7px;
    color: #334155;
    padding: 10px 9px;
    font-size: 14px;
    font-weight: 760;
}

.sr-legal-sidebar a:hover,
.sr-legal-sidebar a.active {
    background: #eaf7ef;
    color: #047857;
}

.sr-legal-document {
    border: 1px solid #dbe3ef;
    border-radius: 8px;
    background: #fff;
    padding: 30px;
}

.sr-legal-content {
    display: grid;
    gap: 13px;
}

.sr-legal-content h2 {
    margin: 24px 0 0;
    color: #0f172a;
    font-size: 20px;
    line-height: 1.32;
}

.sr-legal-content h2:first-child {
    margin-top: 0;
}

.sr-legal-content p {
    max-width: 920px;
    margin: 0;
    color: #46566d;
    font-size: 15px;
    line-height: 1.78;
}

@media (max-width: 980px) {
    .sr-nav {
        min-height: 60px;
        padding: 6px 0;
    }

    .sr-nav .landing-nav-links,
    .sr-nav .landing-nav-actions {
        display: none;
    }

    .sr-nav .landing-menu-toggle {
        display: grid;
        flex: none;
    }

    body.landing-menu-open .sr-nav .landing-mobile-menu {
        display: grid;
    }

    body.landing-menu-open .sr-nav {
        background: #070d16;
    }

    .sr-hero,
    .sr-devtools,
    .sr-final,
    .sr-legal-layout {
        grid-template-columns: 1fr;
    }

    .sr-hero {
        gap: 30px;
        padding: 48px 0 40px;
    }

    .sr-devtools .sr-section-head {
        position: static;
    }

    .sr-agent-row,
    .sr-agent-prompt {
        grid-column: auto;
    }

    .sr-timeline,
    .sr-compare-grid {
        grid-template-columns: 1fr 1fr;
    }

    .sr-legal-sidebar {
        position: static;
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }

    .sr-legal-sidebar span {
        grid-column: 1 / -1;
    }
}

@media (max-width: 720px) {
    .sr-home,
    .sr-legal {
        width: min(100% - 24px, 680px);
        overflow-x: hidden;
    }

    .sr-hero {
        padding: 36px 4px 32px;
    }

    .sr-hero h1 {
        font-size: 40px;
        line-height: 1.04;
    }

    .sr-lede {
        font-size: 16px;
    }

    .sr-actions,
    .sr-actions .button,
    .sr-final .button {
        width: 100%;
    }

    .sr-actions {
        display: grid;
    }

    .sr-board-main,
    .sr-check-list article,
    .sr-timeline,
    .sr-compare-grid {
        grid-template-columns: 1fr;
    }

    .sr-risk-score {
        border-right: 0;
        border-bottom: 1px solid rgba(148, 163, 184, 0.14);
    }

    .sr-board-status {
        grid-template-columns: 1fr 1fr;
    }

    .sr-board-status span:nth-child(2) {
        border-right: 0;
    }

    .sr-board-status span:nth-child(-n + 2) {
        border-bottom: 1px solid rgba(148, 163, 184, 0.12);
    }

    .sr-section {
        padding: 42px 0;
    }

    .sr-workflow,
    .sr-pricing,
    .sr-legal-layout {
        margin-inline: -12px;
        padding-inline: 12px;
    }

    .sr-timeline article {
        min-height: auto;
        border-right: 0;
        border-bottom: 1px solid #dbe3ef;
    }

    .sr-timeline article:last-child {
        border-bottom: 0;
    }

    .sr-terminal div {
        display: grid;
    }

    .sr-terminal code {
        font-size: 12px;
    }

    .sr-terminal code span {
        min-width: 0;
        overflow-wrap: anywhere;
        white-space: pre-wrap;
    }

    .sr-final {
        padding-top: 42px;
    }

    .sr-legal-hero {
        padding: 42px 0 28px;
    }

    .sr-legal-hero h1 {
        font-size: 38px;
    }

    .sr-legal-meta,
    .sr-legal-meta span {
        display: grid;
        width: 100%;
    }

    .sr-legal-sidebar {
        grid-template-columns: 1fr;
    }

    .sr-legal-document {
        padding: 22px 18px;
    }
}

.checkout-shell {
    min-height: 100vh;
    display: grid;
    grid-template-columns: minmax(320px, 0.9fr) minmax(420px, 1.1fr);
    background:
        radial-gradient(circle at 12% 12%, rgba(46, 144, 250, 0.18), transparent 34%),
        linear-gradient(135deg, #08111f 0%, #0d1728 48%, #101828 100%);
    color: #f9fafb;
}

.checkout-copy,
.checkout-panel {
    padding: clamp(28px, 5vw, 72px);
}

.checkout-copy {
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    gap: 42px;
}

.checkout-copy h1 {
    margin: 18px 0;
    max-width: 620px;
    font-size: clamp(40px, 6vw, 70px);
    line-height: 0.98;
    letter-spacing: 0;
}

.checkout-copy p {
    max-width: 620px;
    color: #cbd5e1;
    font-size: 17px;
    line-height: 1.75;
}

.checkout-steps {
    display: grid;
    gap: 12px;
}

.checkout-steps article {
    display: grid;
    grid-template-columns: 38px 1fr;
    gap: 4px 14px;
    align-items: start;
    padding: 16px;
    border: 1px solid rgba(148, 163, 184, 0.24);
    border-radius: 8px;
    background: rgba(15, 23, 42, 0.6);
}

.checkout-steps span {
    grid-row: span 2;
    display: grid;
    place-items: center;
    width: 34px;
    height: 34px;
    border-radius: 999px;
    background: #f9fafb;
    color: #0f172a;
    font-weight: 800;
}

.checkout-steps strong {
    color: #fff;
}

.checkout-steps p {
    margin: 0;
    font-size: 13px;
}

.checkout-panel {
    display: grid;
    align-items: center;
}

.checkout-card {
    background: rgba(255, 255, 255, 0.97);
    color: #101828;
}

.checkout-assurance {
    display: grid;
    gap: 10px;
    margin-top: 18px;
    padding-top: 18px;
    border-top: 1px solid rgba(148, 163, 184, 0.24);
}

.checkout-assurance span {
    display: grid;
    grid-template-columns: 9px 1fr;
    gap: 10px;
    color: #cbd5e1;
    font-size: 13px;
    line-height: 1.5;
}

.checkout-assurance span::before {
    content: "";
    width: 7px;
    height: 7px;
    margin-top: 6px;
    border-radius: 999px;
    background: #67e8f9;
}

.paddle-checkout-frame {
    min-height: 480px;
}

@media (max-width: 900px) {
    .checkout-shell {
        grid-template-columns: 1fr;
    }

    .checkout-copy {
        padding-bottom: 16px;
    }

    .checkout-panel {
        padding-top: 12px;
    }
}

.error-page-shell {
    width: min(1120px, calc(100% - 40px));
    min-height: 100vh;
    margin: 0 auto;
    display: grid;
    grid-template-rows: auto 1fr auto;
    color: #f8fafc;
}

.error-page-shell::before {
    content: '';
    position: fixed;
    inset: 0;
    z-index: -1;
    background: #090d16;
}

.error-page-nav,
.error-page-footer {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 18px;
    padding: 22px 0;
}

.error-page-nav {
    border-bottom: 1px solid #253044;
}

.error-page-nav .brand {
    padding: 0;
}

.error-page-content {
    position: relative;
    align-self: center;
    max-width: 720px;
    padding: 72px 0;
}

.error-page-code {
    position: absolute;
    right: -180px;
    top: 18px;
    color: rgba(148, 163, 184, 0.08);
    font-size: 220px;
    font-weight: 800;
    line-height: 1;
    pointer-events: none;
}

.error-page-content h1 {
    max-width: 680px;
    margin: 14px 0 16px;
    font-size: clamp(42px, 7vw, 76px);
    line-height: 1.04;
    letter-spacing: 0;
}

.error-page-content > p {
    max-width: 600px;
    margin: 0;
    color: #a9b4c6;
    font-size: 18px;
    line-height: 1.7;
}

.error-page-actions {
    display: flex;
    flex-wrap: wrap;
    gap: 12px;
    margin-top: 30px;
}

.error-page-footer {
    border-top: 1px solid #253044;
    color: #7f8ba1;
    font-size: 13px;
}

@media (max-width: 720px) {
    .error-page-shell { width: min(100% - 28px, 620px); }
    .error-page-content { padding: 56px 0; }
    .error-page-code {
        right: -10px;
        top: 26px;
        font-size: 130px;
    }
    .error-page-content h1 { font-size: 42px; }
    .error-page-content > p { font-size: 16px; }
    .error-page-actions { display: grid; }
    .error-page-actions .button { width: 100%; }
    .error-page-footer { align-items: flex-start; flex-direction: column; }
}

[data-theme="dark"] {
    color-scheme: dark;
    --bg: #0c111d;
    --surface: #111827;
    --surface-muted: #182230;
    --border: #1f2a3d;
    --text: #f9fafb;
    --muted: #98a2b3;
    --faint: #667085;
    --brand: #7592ff;
    --brand-strong: #9cb9ff;
    --brand-soft: rgba(70, 95, 255, 0.16);
    --success-soft: rgba(3, 152, 85, 0.13);
    --warning-soft: rgba(220, 104, 3, 0.16);
    --danger-soft: rgba(217, 45, 32, 0.16);
    --shadow: 0 1px 2px rgba(0, 0, 0, 0.2);
}

* { box-sizing: border-box; }
[hidden] { display: none !important; }

body {
    margin: 0;
    min-height: 100vh;
    background: var(--bg);
    color: var(--text);
    font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
    overflow-x: hidden;
}

a { color: inherit; text-decoration: none; }
button, input, select, textarea { font: inherit; }
button { cursor: pointer; }

.app-shell {
    display: grid;
    grid-template-columns: 280px minmax(0, 1fr);
    min-height: 100vh;
}

.sidebar {
    position: sticky;
    top: 0;
    height: 100vh;
    overflow-y: auto;
    border-right: 1px solid var(--border);
    background: var(--surface);
    padding: 24px 18px;
    z-index: 30;
}

.brand {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 4px 8px 28px;
}

.brand-mark {
    display: grid;
    place-items: center;
    width: 42px;
    height: 42px;
    border-radius: 12px;
    background: var(--brand);
    color: white;
    font-weight: 800;
}

.brand-logo {
    display: block;
    width: 220px;
    height: 52px;
    flex: none;
}

.brand-logo img {
    display: block;
    width: 100%;
    height: 100%;
}

.brand-logo-light { display: none !important; }

[data-theme="dark"] .brand-logo-light { display: block !important; }
[data-theme="dark"] .brand-logo-dark { display: none !important; }

.brand-title { display: block; font-weight: 750; letter-spacing: 0; }
.brand-subtitle { display: block; margin-top: 2px; color: var(--muted); font-size: 12px; }

.nav-section {
    margin: 14px 0 6px;
    padding: 0 10px;
    color: var(--faint);
    font-size: 11px;
    font-weight: 700;
    text-transform: uppercase;
}

.nav-link {
    display: flex;
    align-items: center;
    gap: 12px;
    min-height: 42px;
    margin: 3px 0;
    padding: 10px 12px;
    border-radius: 8px;
    color: var(--muted);
    font-size: 14px;
    font-weight: 600;
}

.nav-link svg { width: 20px; height: 20px; flex: none; }
.nav-link:hover { background: var(--surface-muted); color: var(--text); }
.nav-link.active { background: var(--brand-soft); color: var(--brand-strong); }

.main-area { min-width: 0; overflow-x: hidden; }

.topbar {
    position: sticky;
    top: 0;
    z-index: 20;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 16px;
    min-height: 73px;
    border-bottom: 1px solid var(--border);
    background: color-mix(in srgb, var(--surface) 92%, transparent);
    backdrop-filter: blur(10px);
    padding: 14px 28px;
}

.topbar-left {
    display: flex;
    align-items: center;
    gap: 14px;
    min-width: 0;
}

.icon-button {
    display: inline-grid;
    place-items: center;
    width: 42px;
    height: 42px;
    border: 1px solid var(--border);
    border-radius: 999px;
    background: var(--surface);
    color: var(--muted);
}

.icon-button svg { width: 19px; height: 19px; }
.icon-button:hover { background: var(--surface-muted); color: var(--text); }
.mobile-toggle { display: none; }

.page-eyebrow {
    color: var(--muted);
    font-size: 13px;
    font-weight: 600;
}

.page-title {
    margin: 3px 0 0;
    font-size: 22px;
    line-height: 1.25;
}

.topbar-actions {
    display: flex;
    align-items: center;
    gap: 10px;
    position: relative;
}

.topbar-action-menu {
    display: flex;
    align-items: center;
    gap: 10px;
}

.profile-badge {
    display: inline-grid;
    place-items: center;
    border: 0;
    border-radius: 999px;
    background: transparent;
    padding: 0;
}

.mobile-profile-badge,
.mobile-account-summary,
.topbar-action-menu > .mobile-account-logout {
    display: none;
}

.desktop-account {
    display: grid;
    grid-template-columns: 36px minmax(120px, 180px) auto;
    align-items: center;
    gap: 10px;
    min-height: 44px;
    border-left: 1px solid var(--border);
    padding-left: 12px;
}

.desktop-account img,
.mobile-account-summary img,
.mobile-profile-badge img {
    border-radius: 999px;
    object-fit: cover;
}

.account-avatar {
    border: 1px solid color-mix(in srgb, var(--brand) 48%, var(--border));
    background: var(--surface);
    box-shadow: 0 0 0 3px var(--surface), 0 0 0 5px color-mix(in srgb, var(--brand) 20%, transparent);
}

.desktop-account > span {
    overflow: hidden;
    color: var(--muted);
    font-size: 13px;
    font-weight: 700;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.search-box {
    display: flex;
    align-items: center;
    gap: 10px;
    width: min(430px, 34vw);
    min-height: 44px;
    border: 1px solid var(--border);
    border-radius: 8px;
    background: var(--surface);
    padding: 0 12px;
    color: var(--muted);
}

.search-box input {
    width: 100%;
    border: 0;
    outline: 0;
    background: transparent;
    color: var(--text);
}

.session-chip {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    min-height: 50px;
    max-width: 360px;
    border: 1px solid var(--border);
    border-radius: 999px;
    background: var(--surface);
    padding: 7px 14px 7px 9px;
}

.session-chip[hidden] { display: none; }

.session-chip-icon {
    display: inline-grid;
    place-items: center;
    width: 38px;
    height: 38px;
    border-radius: 999px;
    background: #ffffff;
    color: #101828;
    font-size: 12px;
    font-weight: 900;
    flex: 0 0 auto;
}

.session-chip-icon.browser {
    margin-left: -18px;
    border: 2px solid var(--surface);
    background: #ffffff;
    color: #101828;
}

.session-chip-icon svg,
.session-chip-icon img {
    width: 25px;
    height: 25px;
}

.session-chip-icon img {
    display: block;
    object-fit: contain;
}

.session-chip-copy {
    display: grid;
    gap: 1px;
    min-width: 0;
}

.session-chip-copy strong,
.session-chip-copy small {
    display: block;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.session-chip-copy strong {
    color: var(--text);
    font-size: 12px;
    line-height: 1.2;
}

.session-chip-copy small {
    color: var(--muted);
    font-size: 11px;
    line-height: 1.2;
}

.notification-panel {
    position: absolute;
    right: 20px;
    top: 64px;
    display: none;
    width: min(360px, calc(100vw - 32px));
    border: 1px solid var(--border);
    border-radius: 8px;
    background: var(--surface);
    box-shadow: 0 18px 40px rgba(16, 24, 40, 0.14);
    padding: 14px;
}

.notification-panel.open { display: block; }

.notification-item {
    display: grid;
    gap: 4px;
    border-bottom: 1px solid var(--border);
    padding: 12px 4px;
}

.notification-item:last-child { border-bottom: 0; }
.notification-item strong { font-size: 13px; }
.notification-item span { color: var(--muted); font-size: 13px; line-height: 1.4; }

.content {
    width: min(1480px, 100%);
    margin: 0 auto;
    padding: 28px;
    overflow-x: hidden;
}

code {
    border: 1px solid var(--border);
    border-radius: 6px;
    background: var(--surface-muted);
    color: var(--muted);
    padding: 2px 6px;
    font-size: 12px;
}

.page-toolbar {
    display: flex;
    align-items: flex-end;
    justify-content: space-between;
    gap: 18px;
    margin-bottom: 18px;
}

.page-toolbar h2 {
    margin: 0 0 6px;
    font-size: 22px;
    line-height: 1.25;
}

.page-toolbar p { margin: 0; }

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

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

.card {
    min-width: 0;
    border: 1px solid var(--border);
    border-radius: 8px;
    background: var(--surface);
    box-shadow: var(--shadow);
}

.card-body { padding: 20px; }
.card-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 16px;
    flex-wrap: wrap;
    border-bottom: 1px solid var(--border);
    padding: 16px 20px;
}

.card-title { margin: 0; font-size: 16px; line-height: 1.35; }
.muted { color: var(--muted); }
.small { font-size: 13px; }

.metric-value { margin: 10px 0 4px; font-size: 30px; line-height: 1; font-weight: 760; }
.metric-label { color: var(--muted); font-size: 13px; }

.badge {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    border-radius: 999px;
    padding: 4px 9px;
    font-size: 12px;
    font-weight: 700;
}

.badge.success { background: var(--success-soft); color: var(--success); }
.badge.warning { background: var(--warning-soft); color: var(--warning); }
.badge.danger { background: var(--danger-soft); color: var(--danger); }
.badge.brand { background: var(--brand-soft); color: var(--brand-strong); }

.progress-row {
    display: grid;
    grid-template-columns: 110px minmax(0, 1fr) 44px;
    gap: 12px;
    align-items: center;
    margin: 14px 0;
    font-size: 13px;
}

.progress {
    height: 8px;
    border-radius: 999px;
    background: var(--surface-muted);
    overflow: hidden;
}

.progress span { display: block; height: 100%; border-radius: inherit; background: var(--brand); }

.table-wrap { max-width: 100%; overflow-x: auto; }
table { width: 100%; border-collapse: collapse; }
th, td {
    border-bottom: 1px solid var(--border);
    padding: 14px 16px;
    text-align: left;
    white-space: nowrap;
}
th { color: var(--muted); font-size: 12px; text-transform: uppercase; }
td { font-size: 14px; }

.table-pagination {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 14px;
    border-top: 1px solid var(--border);
    padding: 14px 16px;
}

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

.detail-row {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 16px;
    border: 1px solid var(--border);
    border-radius: 8px;
    background: var(--surface-muted);
    padding: 11px 12px;
}

.detail-row span {
    color: var(--muted);
    font-size: 13px;
    font-weight: 700;
}

.detail-row strong {
    color: var(--text);
    font-size: 13px;
    overflow-wrap: anywhere;
    text-align: right;
}

.repo-name-cell {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    min-width: 0;
}

.repo-github-link {
    display: inline-grid;
    place-items: center;
    width: 28px;
    height: 28px;
    border: 1px solid var(--border);
    border-radius: 999px;
    background: var(--surface-muted);
    color: var(--text);
    flex: 0 0 auto;
}

.repo-github-link:hover {
    background: var(--text);
    color: var(--surface);
}

.repo-github-link.is-disabled {
    opacity: .45;
    pointer-events: none;
}

.repo-github-link svg {
    width: 17px;
    height: 17px;
}

.button {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    min-height: 42px;
    border: 1px solid var(--border);
    border-radius: 8px;
    background: var(--surface);
    color: var(--text);
    padding: 0 14px;
    font-weight: 700;
    white-space: nowrap;
}

.button.primary { border-color: var(--brand); background: var(--brand); color: #ffffff; }
.button.danger {
    border-color: color-mix(in srgb, var(--danger) 38%, var(--border));
    background: color-mix(in srgb, var(--danger) 13%, transparent);
    color: var(--danger);
}
.button:disabled {
    cursor: not-allowed;
    opacity: 0.62;
}
.button:hover { filter: brightness(0.98); }
.compact { min-height: 42px; width: auto; }

.row-between {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 16px;
}

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

.segmented {
    display: inline-flex;
    border: 1px solid var(--border);
    border-radius: 8px;
    background: var(--surface-muted);
    padding: 3px;
}

.segmented button {
    min-height: 34px;
    border: 0;
    border-radius: 6px;
    background: transparent;
    color: var(--muted);
    padding: 0 12px;
    font-weight: 700;
}

.segmented button.active {
    background: var(--surface);
    color: var(--text);
    box-shadow: var(--shadow);
}

.provider-card {
    display: flex;
    align-items: center;
    gap: 14px;
}

.plan-card {
    display: grid;
    gap: 14px;
    align-content: start;
}

.plan-featured {
    border-color: var(--brand);
    box-shadow: 0 0 0 4px color-mix(in srgb, var(--brand) 12%, transparent);
}

.plan-period {
    color: var(--muted);
    font-size: 15px;
    font-weight: 700;
}

.plan-card-facts {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
}

.plan-card-facts span {
    display: inline-flex;
    align-items: center;
    min-height: 30px;
    padding: 6px 10px;
    border: 1px solid var(--border);
    border-radius: 999px;
    background: var(--surface-muted);
    color: var(--muted);
    font-size: 12px;
    font-weight: 800;
}

.plan-list {
    display: grid;
    gap: 10px;
    margin: 0;
    padding: 0;
    list-style: none;
    color: var(--muted);
    font-size: 14px;
}

.plan-list li {
    position: relative;
    padding-left: 22px;
}

.plan-list li::before {
    content: "";
    position: absolute;
    left: 0;
    top: 7px;
    width: 8px;
    height: 8px;
    border-radius: 999px;
    background: var(--brand);
}

.plan-list li.locked {
    color: var(--muted);
    opacity: .65;
}

.plan-list li.locked::before {
    width: 9px;
    height: 2px;
    top: 10px;
    border-radius: 999px;
    background: currentColor;
}

.provider-icon {
    display: grid;
    place-items: center;
    width: 48px;
    height: 48px;
    border-radius: 8px;
    background: var(--brand-soft);
    color: var(--brand-strong);
    font-size: 13px;
    font-weight: 800;
}

.github-account {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 12px;
    border: 1px solid var(--border);
    border-radius: 8px;
    background: var(--surface-muted);
    margin-bottom: 12px;
}

.github-logo {
    display: grid;
    place-items: center;
    width: 38px;
    height: 38px;
    border-radius: 999px;
    background: var(--text);
    color: var(--surface);
    flex: 0 0 auto;
}

.github-logo svg {
    width: 23px;
    height: 23px;
}

.github-connected-card {
    margin-top: 18px;
}

.github-connected-card .github-account {
    margin-bottom: 0;
}

.mitigation-overlay {
    position: fixed;
    inset: 0;
    display: grid;
    place-items: center;
    padding: 18px;
    background: rgba(15, 23, 42, 0.48);
    z-index: 80;
}

.mitigation-overlay[hidden] {
    display: none;
}

.mitigation-panel {
    width: min(620px, 100%);
    max-height: min(720px, calc(100vh - 36px));
    overflow: auto;
    border: 1px solid var(--border);
    border-radius: 8px;
    background: var(--surface);
    box-shadow: 0 24px 70px rgba(16, 24, 40, 0.26);
}

.mitigation-steps {
    display: grid;
    gap: 10px;
    margin: 0;
    padding-left: 20px;
    color: var(--muted);
    line-height: 1.55;
}

.finding-list {
    display: grid;
    gap: 0;
}

.finding-item {
    display: grid;
    grid-template-columns: 96px minmax(0, 1fr) auto;
    gap: 16px;
    align-items: center;
    border-bottom: 1px solid var(--border);
    padding: 16px 20px;
}

.finding-item:last-child { border-bottom: 0; }
.finding-item .badge {
    align-self: start;
    justify-self: start;
}
.finding-item p { margin: 5px 0 0; }

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

.trend-bars {
    display: grid;
    grid-template-columns: repeat(6, minmax(0, 1fr));
    align-items: end;
    gap: 14px;
    min-height: 230px;
    padding-top: 20px;
}

.trend-bars span {
    display: block;
    min-height: 24px;
    border-radius: 8px 8px 0 0;
    background: linear-gradient(180deg, var(--brand), var(--brand-strong));
}

.checklist {
    display: grid;
    gap: 13px;
}

.checklist label,
.settings-form label {
    display: flex;
    align-items: center;
    gap: 10px;
    color: var(--muted);
    font-weight: 650;
}

.code-preview {
    margin: 0;
    overflow-x: auto;
    border-radius: 0 0 8px 8px;
    background: var(--surface-muted);
    color: var(--text);
    padding: 18px 20px;
    font-size: 13px;
    line-height: 1.6;
}

.landing-shell {
    width: min(1180px, calc(100% - 32px));
    margin: 0 auto;
    padding: 22px 0 52px;
}

[data-force-theme="dark"] .landing-shell {
    position: relative;
}

[data-force-theme="dark"] .landing-shell::before {
    content: "";
    position: absolute;
    inset: 0 50% auto;
    width: 100vw;
    height: 820px;
    transform: translateX(-50%);
    background:
        radial-gradient(circle at 18% 18%, rgba(117, 146, 255, 0.18), transparent 28%),
        radial-gradient(circle at 82% 10%, rgba(3, 152, 85, 0.10), transparent 26%);
    pointer-events: none;
    z-index: -1;
}

.landing-nav {
    position: sticky;
    top: 0;
    z-index: 60;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 16px;
    min-height: 72px;
    border: 0;
    border-radius: 0;
    background: rgba(8, 13, 22, 0.90);
    backdrop-filter: blur(18px);
    padding: 0 14px;
}

.landing-nav::before {
    content: "";
    position: absolute;
    inset: 0 50%;
    width: 100vw;
    transform: translateX(-50%);
    background: rgba(8, 13, 22, 0.90);
    pointer-events: none;
    z-index: -1;
}

.landing-nav-links {
    display: flex;
    align-items: center;
    gap: 14px;
    color: var(--muted);
    font-size: 13px;
    font-weight: 700;
}

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

.landing-menu-toggle {
    display: none;
    place-items: center;
    gap: 4px;
    width: 42px;
    height: 42px;
    border: 1px solid rgba(152, 162, 179, 0.22);
    border-radius: 8px;
    background: rgba(17, 24, 39, 0.88);
    color: var(--text);
}

.landing-menu-toggle span {
    display: block;
    width: 18px;
    height: 2px;
    border-radius: 999px;
    background: currentColor;
    transition: transform 180ms ease, opacity 180ms ease;
}

body.landing-menu-open .landing-menu-toggle span:nth-child(1) {
    transform: translateY(6px) rotate(45deg);
}

body.landing-menu-open .landing-menu-toggle span:nth-child(2) {
    opacity: 0;
}

body.landing-menu-open .landing-menu-toggle span:nth-child(3) {
    transform: translateY(-6px) rotate(-45deg);
}

.landing-mobile-menu {
    position: absolute;
    left: 0;
    right: 0;
    top: calc(100% + 10px);
    display: none;
    border: 1px solid rgba(152, 162, 179, 0.18);
    border-radius: 8px;
    background: #080d16;
    box-shadow: 0 24px 54px rgba(0, 0, 0, 0.34);
    padding: 10px;
}

.landing-mobile-menu a {
    display: flex;
    align-items: center;
    min-height: 44px;
    border-radius: 8px;
    color: var(--muted);
    padding: 0 12px;
    font-weight: 800;
}

.landing-mobile-menu > a:hover {
    background: rgba(117, 146, 255, 0.12);
    color: var(--text);
}

.landing-mobile-actions {
    display: grid;
    gap: 10px;
    border-top: 1px solid rgba(152, 162, 179, 0.14);
    margin-top: 8px;
    padding-top: 12px;
}

.landing-hero {
    display: grid;
    grid-template-columns: minmax(0, 0.92fr) minmax(420px, 1fr);
    gap: 58px;
    align-items: center;
    padding: 70px 0 54px;
}

.landing-hero-copy {
    display: grid;
    justify-items: start;
}

.landing-hero h1 {
    margin: 18px 0 18px;
    max-width: 720px;
    font-size: clamp(42px, 4.55vw, 60px);
    line-height: 1.04;
    letter-spacing: 0;
}

.landing-hero p {
    max-width: 620px;
    font-size: 17px;
    line-height: 1.65;
}

.landing-hero .toolbar-actions {
    margin-top: 4px;
}

.landing-hero-metrics {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 10px;
    width: min(620px, 100%);
    margin-top: 24px;
}

.landing-hero-metrics span {
    display: grid;
    gap: 5px;
    min-height: 78px;
    border-radius: 8px;
    background: rgba(255, 255, 255, 0.045);
    padding: 14px;
}

.landing-hero-metrics strong {
    color: var(--text);
    font-size: 20px;
    line-height: 1;
}

.landing-hero-metrics small {
    color: var(--muted);
    font-size: 12px;
    font-weight: 700;
    line-height: 1.35;
}

.landing-scan-flow {
    position: relative;
    isolation: isolate;
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 1px;
    overflow: hidden;
    border-radius: 8px;
    background: rgba(152, 162, 179, 0.16);
    margin: -16px 0 72px;
}

.landing-scan-flow::before {
    content: "";
    position: absolute;
    inset: 0 50%;
    width: 100vw;
    transform: translateX(-50%);
    background: #090f1b;
    z-index: -2;
}

.landing-scan-flow article {
    display: grid;
    align-content: start;
    gap: 9px;
    min-height: 172px;
    background:
        linear-gradient(180deg, rgba(255, 255, 255, 0.035), rgba(255, 255, 255, 0.015)),
        #0d1423;
    padding: 20px;
}

.landing-scan-flow span {
    color: #7592ff;
    font-size: 12px;
    font-weight: 900;
}

.landing-scan-flow strong {
    color: #f9fafb;
    font-size: 15px;
    line-height: 1.35;
}

.landing-scan-flow p {
    margin: 0;
    color: #98a2b3;
    font-size: 13px;
    line-height: 1.55;
}

.landing-trust-row {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    margin-top: 18px;
}

.landing-trust-row span {
    position: relative;
    display: inline-flex;
    align-items: center;
    min-height: 32px;
    border: 1px solid rgba(152, 162, 179, 0.16);
    border-radius: 999px;
    background: rgba(255, 255, 255, 0.035);
    color: #b8c0cc;
    padding: 0 12px 0 26px;
    font-size: 12px;
    font-weight: 700;
}

.landing-trust-row span::before {
    content: "";
    position: absolute;
    left: 12px;
    top: 50%;
    width: 6px;
    height: 6px;
    border-radius: 999px;
    background: #39d98a;
    transform: translateY(-50%);
}

.landing-visual-column {
    display: grid;
    gap: 16px;
}

.security-animation {
    position: relative;
    min-height: 134px;
    overflow: hidden;
    border: 1px solid rgba(117, 146, 255, 0.28);
    border-radius: 8px;
    background:
        linear-gradient(135deg, rgba(70, 95, 255, 0.14), rgba(3, 152, 85, 0.08)),
        #0b1220;
}

.security-grid {
    position: absolute;
    inset: 0;
    background-image:
        linear-gradient(rgba(117, 146, 255, 0.10) 1px, transparent 1px),
        linear-gradient(90deg, rgba(117, 146, 255, 0.10) 1px, transparent 1px);
    background-size: 28px 28px;
    mask-image: linear-gradient(90deg, transparent, #000 18%, #000 82%, transparent);
    animation: securityGridMove 9s linear infinite;
}

.security-shield {
    position: absolute;
    left: 24px;
    top: 22px;
    display: grid;
    place-items: center;
    width: 72px;
    height: 84px;
    border: 2px solid rgba(117, 146, 255, 0.72);
    border-radius: 24px 24px 30px 30px;
    box-shadow: 0 0 34px rgba(117, 146, 255, 0.24);
    animation: shieldPulse 2.8s ease-in-out infinite;
}

.security-shield span {
    width: 28px;
    height: 16px;
    border-left: 3px solid #39d98a;
    border-bottom: 3px solid #39d98a;
    transform: rotate(-45deg) translateY(-2px);
}

.security-scan-line {
    position: absolute;
    inset: 0 auto 0 0;
    width: 110px;
    background: linear-gradient(90deg, transparent, rgba(117, 146, 255, 0.34), transparent);
    animation: securityScan 3.6s ease-in-out infinite;
}

.security-code-stream {
    position: absolute;
    right: 22px;
    top: 23px;
    display: grid;
    gap: 10px;
    width: min(260px, 52%);
}

.security-code-stream span {
    display: block;
    overflow: hidden;
    border: 1px solid rgba(152, 162, 179, 0.18);
    border-radius: 6px;
    background: rgba(17, 24, 39, 0.74);
    color: #9cb9ff;
    padding: 8px 10px;
    font-family: ui-monospace, SFMono-Regular, Menlo, Monaco, Consolas, "Liberation Mono", monospace;
    font-size: 12px;
    font-weight: 800;
    animation: codeBlink 3s ease-in-out infinite;
}

.security-code-stream span:nth-child(2) { animation-delay: 0.45s; color: #39d98a; }
.security-code-stream span:nth-child(3) { animation-delay: 0.9s; color: #fdb022; }

.demo-frame {
    position: relative;
    overflow: hidden;
    border: 1px solid var(--border);
    border-radius: 8px;
    background: var(--surface);
    box-shadow: 0 24px 80px rgba(0, 0, 0, 0.28);
    padding: 16px;
}

.demo-frame::after {
    content: "";
    position: absolute;
    inset: 0;
    background: linear-gradient(180deg, transparent 0%, rgba(117, 146, 255, 0.12) 48%, transparent 56%);
    animation: dashboardScan 4.2s ease-in-out infinite;
    pointer-events: none;
}

.demo-top {
    display: flex;
    gap: 7px;
    border-bottom: 1px solid var(--border);
    margin: -16px -16px 16px;
    padding: 14px 16px;
}

.demo-top span {
    width: 10px;
    height: 10px;
    border-radius: 999px;
    background: var(--border);
}

.demo-frame-header {
    display: flex;
    align-items: start;
    justify-content: space-between;
    gap: 14px;
    margin-bottom: 14px;
}

.demo-frame-header p { margin: 4px 0 0; }

.landing-demo-focus {
    border: 1px solid var(--border);
    border-radius: 8px;
    background: var(--surface-muted);
    padding: 18px;
}

.landing-demo-focus strong {
    display: block;
    margin: 12px 0 7px;
    font-size: 18px;
}

.landing-demo-focus p { margin: 0; }

.landing-demo-progress {
    display: grid;
    gap: 10px;
    border: 1px solid var(--border);
    border-radius: 8px;
    margin-top: 14px;
    padding: 16px;
}

.landing-demo-progress div:first-child {
    display: flex;
    align-items: baseline;
    justify-content: space-between;
    gap: 12px;
}

.landing-demo-progress strong {
    font-size: 30px;
    line-height: 1;
}

.landing-demo-progress span {
    color: var(--muted);
    font-size: 13px;
    font-weight: 700;
}

.landing-demo-list {
    display: grid;
    gap: 10px;
    margin-top: 14px;
}

.landing-demo-list article {
    display: grid;
    grid-template-columns: 86px minmax(0, 1fr);
    gap: 12px;
    align-items: center;
    border: 1px solid var(--border);
    border-radius: 8px;
    padding: 12px;
}

.landing-demo-list p {
    margin: 0;
    color: var(--muted);
    font-size: 13px;
}

.landing-features { padding-top: 0; }

.landing-band {
    display: grid;
    gap: 24px;
    position: relative;
    isolation: isolate;
    margin-top: 0;
    padding: 78px 0;
}

.landing-band::before,
.landing-access::before,
.landing-footer-wrap::before {
    content: "";
    position: absolute;
    inset: 0 50%;
    width: 100vw;
    transform: translateX(-50%);
    z-index: -1;
}

.landing-band-dark::before {
    background: #090f1b;
}

.landing-band-light::before {
    background: #f4f7fb;
}

.landing-band-light {
    color: #111827;
}

.landing-band-light h1,
.landing-band-light h2,
.landing-band-light h3,
.landing-band-light strong,
.landing-band-light b,
.landing-band-light .card-title,
.landing-band-light .metric-value {
    color: #111827;
}

.landing-band-light p,
.landing-band-light li,
.landing-band-light span:not(.badge) {
    color: #475467;
}

.landing-band-light .muted {
    color: #536174;
}

.landing-band-light .badge.brand {
    background: rgba(70, 95, 255, 0.10);
    color: #3641f5;
}

.landing-band-light .badge.success {
    background: rgba(3, 152, 85, 0.11);
    color: #027a48;
}

.landing-hero-copy > .badge,
.landing-section-heading > .badge,
.landing-access > div > .badge {
    position: relative;
    gap: 0;
    border-radius: 0;
    background: transparent;
    color: #9cb9ff;
    padding: 0 0 0 16px;
    font-size: 12px;
    font-weight: 900;
}

.landing-hero-copy > .badge::before,
.landing-section-heading > .badge::before,
.landing-access > div > .badge::before {
    content: "";
    position: absolute;
    left: 0;
    top: 50%;
    width: 8px;
    height: 2px;
    border-radius: 999px;
    background: currentColor;
    transform: translateY(-50%);
}

.landing-band-light .landing-section-heading > .badge {
    background: transparent;
    color: #3641f5;
}

.landing-band-pricing .landing-section-heading > .badge {
    background: transparent;
    color: #b45309;
}

.landing-access > div > .badge {
    background: transparent;
    color: #fdb022;
}

.landing-band-light .landing-feature-card {
    background: #ffffff;
    box-shadow: 0 1px 2px rgba(16, 24, 40, 0.06);
}

.landing-band-light .landing-feature-card span,
.landing-band-light .landing-step-grid span {
    color: #3641f5;
}

.landing-band-light .landing-experience-grid {
    border-color: #d9e2ef;
    background: #d9e2ef;
}

.landing-band-light .landing-experience-grid article {
    background: #ffffff;
}

.landing-band-light .landing-experience-grid strong {
    color: #111827;
}

.landing-band-light .landing-experience-grid p {
    color: #5f6f83;
}

.landing-band-light .landing-scan-note {
    background: #ffffff;
    box-shadow: 0 1px 2px rgba(16, 24, 40, 0.06);
}

.landing-band-light .language-logo-card b {
    color: #111827;
}

.landing-band-pricing {
    padding: 78px 0;
}

.landing-band-pricing::before {
    background:
        linear-gradient(135deg, rgba(70, 95, 255, 0.10), rgba(244, 247, 251, 0.98) 48%, rgba(3, 152, 85, 0.08)),
        #f4f7fb;
}

.landing-band-pricing .landing-section-heading {
    max-width: 920px;
}

.landing-band-pricing .plan-card {
    border: 1px solid #d9e2ef;
    background: #ffffff;
    color: #111827;
    box-shadow: 0 18px 42px rgba(16, 24, 40, 0.08);
}

.landing-band-pricing .plan-card h3,
.landing-band-pricing .plan-card strong,
.landing-band-pricing .plan-card li,
.landing-band-pricing .plan-card span:not(.badge) {
    color: #111827;
}

.landing-band-pricing .plan-featured {
    border-color: rgba(70, 95, 255, 0.36);
    background: linear-gradient(180deg, #ffffff, #eef3ff);
}

.landing-band-pricing .plan-card .muted {
    color: #536174;
}

.landing-pricing-grid {
    display: grid;
    grid-template-columns: minmax(0, 560px);
    justify-content: center;
    gap: 18px;
    width: min(620px, 100%);
    margin-inline: auto;
}

.landing-pricing-grid .plan-card h3 {
    margin: 0;
    font-size: 22px;
}

.landing-pricing-grid .plan-card > .button {
    align-self: end;
    margin-top: auto;
}

.landing-section-heading {
    display: grid;
    justify-items: start;
    gap: 12px;
    max-width: 860px;
}

.landing-section-heading h2 {
    margin: 0;
    max-width: 820px;
    font-size: 38px;
    line-height: 1.16;
}

.landing-section-heading p {
    margin: 0;
    font-size: 16px;
    line-height: 1.65;
}

.landing-feature-card {
    display: grid;
    gap: 12px;
    align-content: start;
    min-height: 190px;
    border-radius: 8px;
    background: rgba(255, 255, 255, 0.055);
    padding: 22px;
}

.landing-feature-card span {
    color: var(--brand-strong);
    font-size: 12px;
    font-weight: 900;
}

.landing-feature-card p {
    margin: 0;
    line-height: 1.55;
}

.landing-language-band {
    overflow: visible;
}

.landing-language-band::before {
    background: #090f1b;
}

.landing-language-intro {
    display: grid;
    grid-template-columns: minmax(0, 1fr) minmax(280px, 360px);
    gap: 28px;
    align-items: end;
}

.landing-scan-note {
    display: grid;
    gap: 9px;
    border-radius: 8px;
    background: rgba(8, 13, 22, 0.44);
    padding: 18px;
}

.landing-scan-note strong {
    margin-bottom: 2px;
    font-size: 14px;
}

.landing-scan-note span {
    display: flex;
    align-items: center;
    gap: 9px;
    color: var(--muted);
    font-size: 13px;
    font-weight: 700;
}

.landing-scan-note span::before {
    content: "";
    width: 7px;
    height: 7px;
    border-radius: 999px;
    background: var(--success);
    box-shadow: 0 0 14px rgba(57, 217, 138, 0.42);
}

.language-carousel {
    display: flex;
    gap: 14px;
    width: max-content;
    margin-top: 12px;
}

.language-carousel-track {
    display: flex;
    gap: 14px;
    min-width: max-content;
    animation: languageCarousel 42s linear infinite;
}

.language-carousel:hover .language-carousel-track {
    animation-play-state: paused;
}

.language-logo-card {
    display: grid;
    grid-template-columns: 36px auto;
    align-items: center;
    gap: 10px;
    min-width: 142px;
    background: transparent;
    padding: 8px 10px;
}

.language-logo-card img {
    width: 34px;
    height: 34px;
    object-fit: contain;
}

.language-logo-card b {
    overflow: hidden;
    color: var(--text);
    font-size: 13px;
    font-weight: 800;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.landing-experience-grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 1px;
    overflow: hidden;
    border: 1px solid var(--border);
    border-radius: 8px;
    background: var(--border);
}

.landing-experience-grid article {
    background: rgba(9, 15, 27, 0.76);
    padding: 20px;
}

.landing-experience-grid p {
    color: var(--muted);
    font-size: 13px;
    line-height: 1.55;
    margin: 8px 0 0;
}

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

.landing-step-grid article {
    display: grid;
    align-content: start;
    gap: 12px;
    border-left: 1px solid rgba(152, 162, 179, 0.24);
    padding: 2px 18px;
}

.landing-step-grid span {
    display: block;
    color: var(--brand-strong);
    font-family: ui-monospace, SFMono-Regular, Menlo, Monaco, Consolas, monospace;
    font-size: 13px;
    font-weight: 900;
}

.landing-step-grid p { margin: 0; }

.landing-access {
    position: relative;
    isolation: isolate;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 28px;
    margin-top: 0;
    padding: 72px 0;
}

.landing-access::before {
    background: #090f1b;
}

.landing-access-dark {
    color: #f9fafb;
}

.landing-access-dark .muted {
    color: #98a2b3;
}

.landing-access h2 {
    max-width: 720px;
    margin: 12px 0;
    font-size: 32px;
    line-height: 1.16;
}

.landing-access p {
    max-width: 760px;
    margin: 0;
    line-height: 1.65;
}

.landing-access-actions {
    display: flex;
    flex-wrap: wrap;
    justify-content: flex-end;
    gap: 10px;
    flex: none;
}

.landing-footer {
    position: relative;
    display: grid;
    grid-template-columns: minmax(260px, 0.9fr) minmax(0, 1.25fr);
    align-items: start;
    gap: 42px;
    border: 1px solid rgba(152, 162, 179, 0.18);
    border-radius: 8px;
    background: #080d16;
    margin-top: 46px;
    padding: 30px;
}

.landing-footer p {
    max-width: 380px;
    margin: 16px 0 0;
    line-height: 1.6;
}

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

.landing-footer-grid h3 {
    margin: 0 0 12px;
    color: var(--text);
    font-size: 13px;
    text-transform: uppercase;
}

.landing-footer-grid a {
    display: block;
    margin: 9px 0;
    color: var(--muted);
    font-size: 14px;
    font-weight: 700;
}

.landing-footer-grid a:hover { color: var(--text); }

.landing-footer-bottom {
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    gap: 14px;
    border-top: 1px solid var(--border);
    margin-top: 28px;
    padding-top: 18px;
    color: var(--muted);
    font-size: 13px;
}

.back-to-top {
    position: fixed;
    right: 22px;
    bottom: 22px;
    z-index: 80;
    display: grid;
    place-items: center;
    width: 46px;
    height: 46px;
    border: 1px solid rgba(152, 162, 179, 0.22);
    border-radius: 999px;
    background: var(--brand);
    color: #ffffff;
    box-shadow: 0 18px 40px rgba(0, 0, 0, 0.28);
    opacity: 0;
    pointer-events: none;
    transform: translateY(10px);
    transition: opacity 180ms ease, transform 180ms ease, filter 180ms ease;
}

.back-to-top.visible {
    opacity: 1;
    pointer-events: auto;
    transform: translateY(0);
}

.back-to-top:hover { filter: brightness(1.06); }

.back-to-top svg {
    width: 22px;
    height: 22px;
    fill: currentColor;
}

.legal-shell {
    display: grid;
    justify-items: start;
    gap: 14px;
    border-bottom: 1px solid var(--border);
    margin-top: 48px;
    padding: 32px 0 42px;
}

.legal-shell h1 {
    margin: 0;
    font-size: clamp(34px, 5vw, 58px);
    line-height: 1.05;
}

.legal-shell p {
    max-width: 760px;
    margin: 0;
    font-size: 16px;
    line-height: 1.7;
}

.legal-meta {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    margin-top: 8px;
}

.legal-meta span {
    color: var(--muted);
    padding-right: 18px;
    font-size: 13px;
}

.legal-meta a,
.legal-content a {
    color: var(--brand-strong);
    text-decoration: none;
}

.legal-content {
    display: grid;
    gap: 12px;
    width: min(920px, 100%);
    margin-top: 18px;
    padding: 24px 0 34px;
}

.legal-content h2 {
    margin: 20px 0 0;
    font-size: 19px;
    line-height: 1.3;
}

.legal-content h2:first-child {
    margin-top: 0;
}

.legal-content p {
    max-width: 900px;
    margin: 0;
    color: var(--muted);
    font-size: 15px;
    line-height: 1.75;
}

.public-page {
    padding-bottom: 34px;
}

.public-hero {
    display: grid;
    gap: 14px;
    border-bottom: 1px solid rgba(152, 162, 179, 0.16);
    padding: 64px 0 38px;
}

.public-hero h1 {
    max-width: 860px;
    margin: 0;
    font-size: clamp(36px, 5vw, 58px);
    line-height: 1.08;
}

.public-hero p {
    max-width: 760px;
    margin: 0;
    font-size: 16px;
    line-height: 1.7;
}

.public-kicker {
    color: var(--brand-strong);
    font-size: 13px;
    font-weight: 800;
    text-transform: uppercase;
}

.faq-layout {
    display: grid;
    gap: 0;
    width: min(940px, 100%);
    padding: 28px 0 10px;
}

.faq-section-label {
    margin-top: 26px;
    padding: 0 0 10px;
    border-bottom: 1px solid rgba(152, 162, 179, 0.28);
    color: var(--brand-strong);
    font-size: 12px;
    font-weight: 900;
    letter-spacing: .08em;
    text-transform: uppercase;
}

.faq-section-label:first-child {
    margin-top: 0;
}

.faq-item {
    display: grid;
    align-content: start;
    gap: 10px;
    grid-template-columns: minmax(220px, 0.42fr) minmax(0, 1fr);
    border-bottom: 1px solid rgba(152, 162, 179, 0.18);
    padding: 24px 0;
}

.faq-item h2,
.contact-notes h2,
.public-callout h2 {
    margin: 0;
    font-size: 18px;
    line-height: 1.35;
}

.faq-item p,
.contact-notes p,
.public-callout p {
    margin: 0;
    color: var(--muted);
    line-height: 1.65;
}

.faq-item a,
.contact-notes a {
    color: var(--brand-strong);
    text-decoration: none;
}

.public-callout {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 20px;
    border-top: 1px solid rgba(152, 162, 179, 0.18);
    border-bottom: 1px solid rgba(152, 162, 179, 0.18);
    margin-top: 18px;
    padding: 28px 0;
}

.public-callout div {
    display: grid;
    gap: 10px;
}

.contact-layout {
    display: grid;
    grid-template-columns: minmax(0, 1fr) minmax(280px, 0.58fr);
    gap: 18px;
    padding: 28px 0 10px;
}

.contact-panel,
.contact-notes article {
    border-top: 1px solid rgba(152, 162, 179, 0.2);
    padding: 22px 0;
}

.contact-panel-heading {
    display: grid;
    gap: 8px;
    margin-bottom: 20px;
}

.contact-notes {
    display: grid;
    gap: 14px;
}

.contact-notes article {
    display: grid;
    gap: 10px;
}

.landing-hero-refined {
    grid-template-columns: minmax(0, 0.95fr) minmax(420px, 0.86fr);
    min-height: 620px;
    align-items: center;
    padding: 80px 0 58px;
}

.landing-hero-refined h1 {
    max-width: 760px;
    font-size: clamp(48px, 5.2vw, 72px);
    line-height: 0.98;
}

.landing-hero-refined .landing-hero-copy > p {
    max-width: 650px;
    font-size: 18px;
}

.landing-product-preview {
    align-self: center;
}

.refined-demo-frame {
    border-color: rgba(152, 162, 179, 0.18);
    background:
        linear-gradient(180deg, rgba(255, 255, 255, 0.055), rgba(255, 255, 255, 0.025)),
        #0b1220;
    box-shadow: 0 28px 90px rgba(0, 0, 0, 0.34);
}

.refined-demo-frame::after {
    display: none;
}

.landing-preview-stats {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 10px;
    margin-bottom: 14px;
}

.landing-preview-stats span {
    display: grid;
    gap: 5px;
    min-height: 88px;
    border: 1px solid rgba(152, 162, 179, 0.16);
    border-radius: 8px;
    background: rgba(255, 255, 255, 0.035);
    padding: 14px;
}

.landing-preview-stats strong {
    color: #ffffff;
    font-size: 30px;
    line-height: 1;
}

.landing-preview-stats small {
    color: #98a2b3;
    font-size: 12px;
    font-weight: 800;
    line-height: 1.35;
}

.landing-demo-list code {
    color: #d0d5dd;
    font-size: 12px;
}

.landing-preview-footer {
    border: 1px solid rgba(57, 217, 138, 0.18);
    border-radius: 8px;
    background: rgba(57, 217, 138, 0.06);
    margin-top: 14px;
    padding: 13px 14px;
}

.landing-preview-footer span {
    color: #b8f7d3;
    font-size: 13px;
    line-height: 1.5;
}

.refined-scan-flow {
    margin-top: 0;
}

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

.landing-coverage-grid article {
    display: grid;
    align-content: start;
    gap: 10px;
    min-height: 210px;
    border: 1px solid #dce5f2;
    border-radius: 8px;
    background: #ffffff;
    box-shadow: 0 1px 2px rgba(16, 24, 40, 0.05);
    padding: 22px;
}

.landing-coverage-grid span {
    color: #3641f5;
    font-size: 12px;
    font-weight: 900;
    text-transform: uppercase;
}

.landing-coverage-grid strong {
    color: #111827;
    font-size: 19px;
    line-height: 1.25;
}

.landing-coverage-grid p {
    margin: 0;
    color: #536174;
    font-size: 14px;
    line-height: 1.6;
}

.public-hero-split {
    grid-template-columns: minmax(0, 1fr) minmax(280px, 380px);
    align-items: end;
    gap: 34px;
}

.public-hero-panel {
    display: grid;
    gap: 10px;
    border: 1px solid rgba(152, 162, 179, 0.18);
    border-radius: 8px;
    background: rgba(255, 255, 255, 0.035);
    padding: 20px;
}

.public-hero-panel span {
    color: var(--brand-strong);
    font-size: 12px;
    font-weight: 900;
    text-transform: uppercase;
}

.public-hero-panel strong {
    color: var(--text);
    font-size: 17px;
    line-height: 1.45;
}

.contact-layout-refined {
    grid-template-columns: minmax(0, 1fr) minmax(300px, 0.48fr);
    gap: 24px;
    padding-top: 34px;
}

.contact-panel {
    border: 1px solid rgba(152, 162, 179, 0.18);
    border-radius: 8px;
    background: rgba(255, 255, 255, 0.035);
    padding: 24px;
}

.contact-panel-heading {
    display: grid;
    gap: 7px;
    margin-bottom: 18px;
}

.contact-panel-heading h2 {
    margin: 0;
    font-size: 24px;
}

.contact-notes article {
    border: 1px solid rgba(152, 162, 179, 0.18);
    border-radius: 8px;
    background: rgba(255, 255, 255, 0.028);
    padding: 20px;
}

.legal-shell-refined {
    grid-template-columns: minmax(0, 1fr) minmax(260px, 360px);
    align-items: end;
    gap: 32px;
    border-bottom: 0;
    padding-bottom: 30px;
}

.legal-shell-refined h1 {
    max-width: 760px;
}

.legal-shell-refined .legal-meta {
    display: grid;
    gap: 10px;
    width: 100%;
}

.legal-shell-refined .legal-meta span {
    display: grid;
    gap: 4px;
    border: 1px solid rgba(152, 162, 179, 0.18);
    border-radius: 8px;
    background: rgba(255, 255, 255, 0.03);
    padding: 14px;
}

.legal-shell-refined .legal-meta strong {
    color: var(--text);
    font-size: 12px;
    text-transform: uppercase;
}

.legal-layout {
    display: grid;
    grid-template-columns: 220px minmax(0, 1fr);
    gap: 34px;
    align-items: start;
    padding: 8px 0 34px;
}

.legal-sidebar {
    position: sticky;
    top: 92px;
    display: grid;
    gap: 8px;
    border: 1px solid rgba(152, 162, 179, 0.18);
    border-radius: 8px;
    background: rgba(255, 255, 255, 0.03);
    padding: 14px;
}

.legal-sidebar a {
    display: flex;
    align-items: center;
    min-height: 38px;
    border-radius: 8px;
    color: var(--muted);
    padding: 0 10px;
    font-size: 13px;
    font-weight: 800;
}

.legal-sidebar a:hover,
.legal-sidebar a.active {
    background: rgba(117, 146, 255, 0.12);
    color: var(--text);
}

.legal-document {
    border: 1px solid rgba(152, 162, 179, 0.18);
    border-radius: 8px;
    background: rgba(255, 255, 255, 0.03);
    padding: 30px;
}

.legal-document .legal-content {
    width: 100%;
    margin-top: 0;
    padding: 0;
}

.legal-document .legal-content h2 {
    margin-top: 26px;
    padding-top: 4px;
    color: var(--text);
    font-size: 18px;
}

.legal-document .legal-content h2:first-child {
    margin-top: 0;
}

.legal-document .legal-content p {
    color: #aab3c2;
}

.product-landing {
    width: min(1140px, calc(100% - 32px));
}

[data-force-theme="dark"] .product-landing::before {
    height: 560px;
    background:
        linear-gradient(180deg, rgba(20, 31, 52, 0.82), rgba(8, 13, 22, 0)),
        radial-gradient(circle at 78% 12%, rgba(117, 146, 255, 0.16), transparent 26%);
}

.product-kicker {
    color: #9cb9ff;
    font-size: 12px;
    font-weight: 900;
    letter-spacing: 0.08em;
    text-transform: uppercase;
}

.product-hero {
    display: grid;
    grid-template-columns: minmax(0, 1fr) minmax(380px, 470px);
    gap: 52px;
    align-items: center;
    min-height: 620px;
    padding: 68px 0 46px;
}

.product-hero-copy {
    display: grid;
    justify-items: start;
    gap: 20px;
}

.product-hero h1 {
    max-width: 780px;
    margin: 0;
    color: #f8fafc;
    font-size: clamp(48px, 5.5vw, 76px);
    line-height: 0.98;
}

.product-hero p {
    max-width: 680px;
    margin: 0;
    color: #aab3c2;
    font-size: 18px;
    line-height: 1.7;
}

.product-actions {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    align-items: center;
}

.product-proof {
    display: flex;
    flex-wrap: wrap;
    gap: 9px;
    padding-top: 4px;
}

.product-proof span {
    border: 1px solid rgba(152, 162, 179, 0.16);
    border-radius: 8px;
    background: rgba(255, 255, 255, 0.035);
    color: #c4ccd8;
    padding: 9px 11px;
    font-size: 12px;
    font-weight: 800;
}

.product-panel {
    border: 1px solid rgba(152, 162, 179, 0.18);
    border-radius: 8px;
    background:
        linear-gradient(180deg, rgba(255, 255, 255, 0.055), rgba(255, 255, 255, 0.025)),
        #0b1220;
    box-shadow: 0 28px 72px rgba(0, 0, 0, 0.30);
    padding: 18px;
}

.product-panel-top {
    display: flex;
    justify-content: space-between;
    gap: 14px;
    border-bottom: 1px solid rgba(152, 162, 179, 0.14);
    padding-bottom: 14px;
    color: #98a2b3;
    font-family: ui-monospace, SFMono-Regular, Menlo, Monaco, Consolas, monospace;
    font-size: 12px;
}

.product-panel-top strong {
    color: #39d98a;
}

.product-terminal {
    display: grid;
    gap: 8px;
    border: 1px solid rgba(152, 162, 179, 0.14);
    border-radius: 8px;
    background: rgba(8, 13, 22, 0.64);
    margin-top: 14px;
    padding: 14px;
}

.product-terminal p {
    display: grid;
    grid-template-columns: 70px minmax(0, 1fr);
    gap: 10px;
    margin: 0;
    font-family: ui-monospace, SFMono-Regular, Menlo, Monaco, Consolas, monospace;
    font-size: 12px;
}

.product-terminal b {
    color: #7592ff;
}

.product-terminal span {
    overflow: hidden;
    color: #d0d5dd;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.product-findings {
    display: grid;
    gap: 10px;
    margin-top: 14px;
}

.product-findings article {
    display: grid;
    grid-template-columns: 10px minmax(90px, 0.34fr) minmax(0, 1fr);
    gap: 12px;
    align-items: center;
    border: 1px solid rgba(152, 162, 179, 0.14);
    border-radius: 8px;
    background: rgba(255, 255, 255, 0.03);
    padding: 13px;
}

.product-findings strong {
    color: #f8fafc;
    font-size: 13px;
}

.product-findings small {
    color: #98a2b3;
    line-height: 1.45;
}

.severity-dot {
    width: 9px;
    height: 9px;
    border-radius: 999px;
}

.severity-dot.critical { background: #ff6b6b; }
.severity-dot.high { background: #fdb022; }
.severity-dot.medium { background: #7592ff; }

.product-strip {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    overflow: hidden;
    border: 1px solid rgba(152, 162, 179, 0.16);
    border-radius: 8px;
    background: rgba(255, 255, 255, 0.03);
    margin-bottom: 74px;
}

.product-strip span {
    display: flex;
    gap: 10px;
    align-items: center;
    min-height: 72px;
    border-right: 1px solid rgba(152, 162, 179, 0.12);
    color: #c4ccd8;
    padding: 0 18px;
    font-size: 13px;
    font-weight: 800;
}

.product-strip span:last-child {
    border-right: 0;
}

.product-strip strong {
    color: #7592ff;
    font-family: ui-monospace, SFMono-Regular, Menlo, Monaco, Consolas, monospace;
}

.package-section {
    display: grid;
    grid-template-columns: minmax(0, 0.72fr) minmax(520px, 1fr);
    gap: 34px;
    align-items: start;
    border: 1px solid rgba(152, 162, 179, 0.16);
    border-radius: 8px;
    background:
        radial-gradient(circle at 18% 20%, rgba(117, 146, 255, 0.18), transparent 34%),
        radial-gradient(circle at 82% 78%, rgba(57, 217, 138, 0.12), transparent 30%),
        #0a101b;
    box-shadow: 0 24px 80px rgba(15, 23, 42, 0.16);
    margin: 0 0 72px;
    padding: 28px;
}

.package-copy {
    display: grid;
    gap: 14px;
    justify-items: start;
    position: sticky;
    top: 96px;
}

.package-copy h2 {
    max-width: 560px;
    margin: 0;
    color: #f8fafc;
    font-size: clamp(30px, 3.6vw, 44px);
    line-height: 1.08;
}

.package-copy p {
    max-width: 620px;
    margin: 0;
    color: #b8c0cc;
    line-height: 1.7;
}

.agent-logo-strip {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    margin-top: 8px;
}

.agent-logo-strip span {
    display: inline-flex;
    align-items: center;
    gap: 9px;
    min-height: 42px;
    border: 1px solid rgba(152, 162, 179, 0.17);
    border-radius: 999px;
    background: rgba(8, 13, 22, 0.64);
    color: #d0d5dd;
    padding: 7px 13px 7px 8px;
    font-size: 13px;
    font-weight: 800;
}

.agent-logo-strip img {
    display: block;
    width: 18px;
    height: 18px;
    border: 1px solid rgba(255, 255, 255, 0.72);
    border-radius: 7px;
    background: #ffffff;
    box-sizing: content-box;
    opacity: 1;
    padding: 4px;
}

.package-trust-list {
    display: grid;
    gap: 9px;
    margin-top: 4px;
}

.package-trust-list span {
    display: flex;
    align-items: center;
    gap: 9px;
    color: #d0d5dd;
    font-size: 13px;
    font-weight: 800;
}

.package-trust-list span::before {
    content: "";
    width: 8px;
    height: 8px;
    border-radius: 999px;
    background: #39d98a;
    box-shadow: 0 0 0 4px rgba(57, 217, 138, 0.12);
}

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

.package-card {
    display: grid;
    align-content: start;
    gap: 14px;
    border: 1px solid rgba(152, 162, 179, 0.16);
    border-radius: 8px;
    background: rgba(8, 13, 22, 0.86);
    padding: 16px;
}

.package-card-wide {
    grid-column: 1 / -1;
}

.package-card-head {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 14px;
}

.package-card-head span {
    display: inline-flex;
    min-width: 48px;
    justify-content: center;
    border: 1px solid rgba(57, 217, 138, 0.26);
    border-radius: 999px;
    background: rgba(57, 217, 138, 0.09);
    color: #39d98a;
    padding: 5px 10px;
    font-size: 12px;
    font-weight: 900;
    letter-spacing: 0;
}

.package-card-head strong {
    min-width: 0;
    overflow: hidden;
    color: #f8fafc;
    font-family: ui-monospace, SFMono-Regular, Menlo, Monaco, Consolas, monospace;
    font-size: 16px;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.package-card p {
    margin: 0;
    color: #aab3c2;
    line-height: 1.65;
}

.cli-code-card {
    overflow: hidden;
    border: 1px solid rgba(152, 162, 179, 0.18);
    border-radius: 8px;
    background: #080d16;
    box-shadow: 0 22px 70px rgba(0, 0, 0, 0.26);
}

.cli-code-top {
    display: flex;
    align-items: center;
    gap: 7px;
    border-bottom: 1px solid rgba(152, 162, 179, 0.14);
    padding: 13px 15px;
}

.cli-code-top span {
    width: 10px;
    height: 10px;
    border-radius: 999px;
    background: rgba(152, 162, 179, 0.42);
}

.cli-code-top span:nth-child(1) { background: #ff6b6b; }
.cli-code-top span:nth-child(2) { background: #fdb022; }
.cli-code-top span:nth-child(3) { background: #39d98a; }

.cli-code-top strong {
    color: #98a2b3;
    margin-left: auto;
    font-size: 12px;
    text-transform: uppercase;
}

.cli-code-card pre {
    margin: 0;
    overflow-x: auto;
    padding: 18px;
}

.cli-code-card code {
    border: 0;
    background: transparent;
    color: #d0d5dd;
    font-family: ui-monospace, SFMono-Regular, Menlo, Monaco, Consolas, monospace;
    font-size: 14px;
    line-height: 1.85;
    padding: 0;
    white-space: pre;
}

.cli-code-card .prompt {
    color: #39d98a;
    user-select: none;
}

.prompt-code-card code {
    white-space: pre-wrap;
}

.product-section {
    display: grid;
    gap: 28px;
    padding: 74px 0;
    border-top: 1px solid rgba(152, 162, 179, 0.14);
}

.language-support {
    display: grid;
    gap: 24px;
    border: 1px solid rgba(152, 162, 179, 0.14);
    border-radius: 8px;
    background: rgba(255, 255, 255, 0.52);
    padding: 28px;
}

.language-support h3 {
    max-width: 760px;
    margin: 0;
    color: #101828;
    font-size: 28px;
    line-height: 1.15;
}

.language-support p {
    max-width: 820px;
    margin: 10px 0 0;
    color: #667085;
    line-height: 1.65;
}

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

.language-grid span {
    display: flex;
    align-items: center;
    min-height: 54px;
    border: 1px solid rgba(152, 162, 179, 0.17);
    border-radius: 8px;
    background: #ffffff;
    color: #1d2939;
    padding: 11px 12px;
    font-size: 13px;
    font-weight: 850;
    line-height: 1.25;
}

.language-note {
    border-left: 3px solid #7592ff;
    padding-left: 14px;
}

.product-section-muted {
    position: relative;
    isolation: isolate;
}

.product-section-muted::before,
.product-pricing-section::before {
    content: "";
    position: absolute;
    inset: 0 50%;
    width: 100vw;
    transform: translateX(-50%);
    background: #090f1b;
    z-index: -1;
}

.product-section-heading {
    display: grid;
    gap: 12px;
    max-width: 820px;
}

.product-section-heading h2,
.product-cta h2 {
    margin: 0;
    color: #f8fafc;
    font-size: clamp(30px, 3.8vw, 46px);
    line-height: 1.08;
}

.product-section-heading p,
.product-cta p {
    max-width: 760px;
    margin: 0;
    color: #aab3c2;
    font-size: 16px;
    line-height: 1.7;
}

.scanner-table {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 1px;
    overflow: hidden;
    border: 1px solid rgba(152, 162, 179, 0.16);
    border-radius: 8px;
    background: rgba(152, 162, 179, 0.16);
}

.scanner-table article {
    display: grid;
    align-content: start;
    gap: 9px;
    min-height: 178px;
    background: #0d1423;
    padding: 20px;
}

.scanner-table strong {
    color: #f8fafc;
    font-size: 18px;
}

.scanner-table span {
    color: #9cb9ff;
    font-size: 12px;
    font-weight: 900;
    text-transform: uppercase;
}

.scanner-table p {
    margin: 0;
    color: #98a2b3;
    font-size: 14px;
    line-height: 1.6;
}

.workflow-list {
    display: grid;
    gap: 12px;
    max-width: 860px;
}

.comparison-section {
    position: relative;
    isolation: isolate;
}

.comparison-section::before {
    content: "";
    position: absolute;
    inset: 0 50%;
    width: 100vw;
    transform: translateX(-50%);
    background:
        linear-gradient(180deg, rgba(8, 13, 22, 0), rgba(13, 20, 35, 0.72), rgba(8, 13, 22, 0));
    z-index: -1;
}

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

.comparison-card {
    display: grid;
    align-content: start;
    gap: 14px;
    border: 1px solid rgba(152, 162, 179, 0.16);
    border-radius: 8px;
    background: rgba(255, 255, 255, 0.03);
    padding: 22px;
}

.comparison-card.featured {
    border-color: rgba(117, 146, 255, 0.34);
    background:
        linear-gradient(180deg, rgba(117, 146, 255, 0.12), rgba(255, 255, 255, 0.03)),
        #0b1220;
}

.comparison-card span {
    color: #9cb9ff;
    font-size: 12px;
    font-weight: 900;
    text-transform: uppercase;
}

.comparison-card h3 {
    margin: 0;
    color: #f8fafc;
    font-size: 20px;
    line-height: 1.25;
}

.comparison-card ul {
    display: grid;
    gap: 10px;
    margin: 0;
    padding: 0;
    list-style: none;
}

.comparison-card li {
    position: relative;
    color: #aab3c2;
    line-height: 1.55;
    padding-left: 18px;
}

.comparison-card li::before {
    content: "";
    position: absolute;
    left: 0;
    top: 0.68em;
    width: 7px;
    height: 7px;
    border-radius: 999px;
    background: #39d98a;
}

.compare-table {
    overflow: hidden;
    border: 1px solid rgba(152, 162, 179, 0.16);
    border-radius: 8px;
    background: rgba(152, 162, 179, 0.16);
}

.compare-table div {
    display: grid;
    grid-template-columns: 180px minmax(0, 1fr) minmax(0, 1fr);
    gap: 1px;
    background: rgba(152, 162, 179, 0.16);
}

.compare-table strong,
.compare-table span {
    display: block;
    background: #0d1423;
    padding: 16px;
    line-height: 1.55;
}

.compare-table strong {
    color: #f8fafc;
}

.compare-table span {
    color: #aab3c2;
}

.compare-table span:last-child {
    background: rgba(117, 146, 255, 0.08);
    color: #d7def0;
}

.workflow-list article {
    display: grid;
    grid-template-columns: 42px minmax(0, 1fr);
    gap: 16px;
    align-items: start;
    border: 1px solid rgba(152, 162, 179, 0.14);
    border-radius: 8px;
    background: rgba(255, 255, 255, 0.03);
    padding: 18px;
}

.workflow-list article > span {
    display: grid;
    place-items: center;
    width: 42px;
    height: 42px;
    border-radius: 8px;
    background: rgba(117, 146, 255, 0.12);
    color: #9cb9ff;
    font-weight: 900;
}

.workflow-list strong {
    color: #f8fafc;
}

.workflow-list p {
    margin: 6px 0 0;
    color: #98a2b3;
    line-height: 1.6;
}

.product-pricing-section {
    position: relative;
    isolation: isolate;
}

.product-pricing-grid {
    display: grid;
    width: min(620px, 100%);
}

.product-pricing-grid .plan-card {
    border-color: rgba(152, 162, 179, 0.20);
    background: #0d1423;
}

.product-cta {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 28px;
    border: 1px solid rgba(152, 162, 179, 0.18);
    border-radius: 8px;
    background:
        linear-gradient(135deg, rgba(117, 146, 255, 0.12), rgba(57, 217, 138, 0.06)),
        #0b1220;
    margin: 28px 0 54px;
    padding: 28px;
}

.product-cta > div:first-child {
    display: grid;
    gap: 10px;
}

.cookie-consent {
    position: fixed;
    left: 50%;
    bottom: 18px;
    z-index: 100;
    display: grid;
    grid-template-columns: minmax(240px, 0.9fr) minmax(280px, 1.1fr) auto;
    align-items: center;
    gap: 18px;
    width: min(1120px, calc(100vw - 28px));
    border: 1px solid rgba(152, 162, 179, 0.22);
    border-radius: 8px;
    background: rgba(8, 13, 22, 0.98);
    box-shadow: 0 24px 70px rgba(0, 0, 0, 0.42);
    padding: 18px;
    transform: translateX(-50%);
}

.cookie-consent[hidden] {
    display: none;
}

.cookie-copy {
    display: grid;
    gap: 8px;
}

.cookie-copy h2 {
    margin: 0;
    font-size: 18px;
    line-height: 1.28;
}

.cookie-copy p {
    margin: 0;
    line-height: 1.55;
}

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

.cookie-option {
    display: flex;
    gap: 10px;
    align-items: flex-start;
    border: 1px solid rgba(152, 162, 179, 0.16);
    border-radius: 8px;
    background: rgba(17, 24, 39, 0.74);
    padding: 10px;
}

.cookie-option input {
    width: 16px;
    height: 16px;
    margin-top: 2px;
    accent-color: var(--brand);
    flex: none;
}

.cookie-option strong,
.cookie-option small {
    display: block;
}

.cookie-option strong {
    font-size: 13px;
}

.cookie-option small {
    color: var(--muted);
    font-size: 11px;
    line-height: 1.45;
    margin-top: 3px;
}

.cookie-option.locked {
    opacity: 0.9;
}

.cookie-actions {
    display: grid;
    gap: 8px;
    min-width: 152px;
}

.compact-footer {
    margin-top: 28px;
}

.demo-notice {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 14px;
    border: 1px solid var(--border);
    border-radius: 8px;
    background: var(--surface);
    margin-bottom: 18px;
    padding: 14px 16px;
}

.demo-notice p {
    margin: 0;
    color: var(--muted);
    font-size: 14px;
}

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

.step-card {
    display: grid;
    align-content: start;
    gap: 12px;
}

.step-card.active {
    border-color: var(--brand);
    box-shadow: 0 0 0 4px color-mix(in srgb, var(--brand) 12%, transparent);
}

.step-card.completed {
    border-color: color-mix(in srgb, var(--success) 42%, var(--border));
}

.step-card.completed .step-number {
    background: var(--success-soft);
    color: var(--success);
}

.step-card.locked {
    opacity: 0.72;
}

.step-number {
    display: grid;
    place-items: center;
    width: 34px;
    height: 34px;
    border-radius: 999px;
    background: var(--brand-soft);
    color: var(--brand-strong);
    font-weight: 800;
}

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

.onboarding-wizard-panel {
    min-width: 0;
}

.onboarding-action-card {
    display: grid;
    gap: 14px;
}

.onboarding-action-card h3 {
    margin: 0;
    font-size: 24px;
}

.onboarding-action-card p {
    margin: 0;
}

.onboarding-action-row {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
}

.cli-token-form {
    display: grid;
    grid-template-columns: minmax(220px, 1fr) minmax(150px, 190px) auto;
    align-items: end;
    gap: 14px;
}

.cli-token-form .form-field,
.cli-token-form [data-cli-token-status] {
    margin: 0;
}

.cli-token-form [data-cli-token-status] {
    grid-column: 1 / -1;
    min-height: 18px;
}

.table-subcopy {
    display: block;
    margin-top: 5px;
    color: var(--muted);
    font-size: 12px;
}

.cli-token-modal {
    width: min(620px, calc(100vw - 28px));
}

.cli-token-secret-row {
    display: grid;
    grid-template-columns: minmax(0, 1fr) auto;
    gap: 10px;
}

.cli-token-secret-row .input {
    font-family: "SFMono-Regular", Consolas, "Liberation Mono", monospace;
}

.empty-state {
    border: 1px dashed var(--border);
    border-radius: 8px;
    color: var(--muted);
    margin: 18px;
    padding: 22px;
    text-align: center;
}

.timeline-list {
    display: grid;
}

.timeline-list article {
    display: grid;
    grid-template-columns: 110px minmax(0, 1fr);
    gap: 14px;
    align-items: start;
    border-bottom: 1px solid var(--border);
    padding: 16px 20px;
}

.timeline-list article:last-child { border-bottom: 0; }
.timeline-list .badge {
    align-self: start;
    justify-self: start;
}
.timeline-list p { margin: 5px 0 0; }

.form-field { display: grid; gap: 7px; margin-bottom: 16px; }
.form-field label { color: var(--muted); font-size: 13px; font-weight: 700; }
.input {
    width: 100%;
    min-height: 44px;
    border: 1px solid var(--border);
    border-radius: 8px;
    background: var(--surface);
    color: var(--text);
    padding: 0 13px;
    outline: none;
}

.auth-modal-backdrop {
    position: fixed;
    inset: 0;
    display: grid;
    place-items: center;
    background: rgba(7, 11, 18, 0.72);
    padding: 18px;
    z-index: 200;
}

.auth-modal {
    position: relative;
    width: min(100%, 430px);
    border: 1px solid var(--border);
    border-radius: 8px;
    background: var(--surface);
    box-shadow: 0 30px 80px rgba(7, 11, 18, 0.35);
    padding: 24px;
}

.auth-modal h2 {
    margin: 14px 0 8px;
}

.auth-modal-pending {
    text-align: center;
}

.auth-modal-close {
    position: absolute;
    top: 14px;
    right: 14px;
}

.logout-confirm-actions {
    display: flex;
    justify-content: flex-end;
    gap: 10px;
    margin-top: 22px;
}

.plan-list.compact {
    gap: 8px;
    font-size: 13px;
}

.billing-plan-summary {
    display: grid;
    gap: 12px;
    margin: 8px 0 16px;
}

.billing-plan-summary .metric-value {
    font-size: 32px;
}

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

.plan-detail-grid span {
    display: grid;
    gap: 3px;
    border: 1px solid var(--border);
    border-radius: 8px;
    background: var(--surface-muted);
    padding: 10px;
}

.plan-detail-grid strong {
    color: var(--text);
    font-size: 13px;
}

.plan-detail-grid small {
    color: var(--muted);
    font-size: 11px;
}

.billing-payment-method {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 14px;
    border: 1px solid var(--border);
    border-radius: 8px;
    background: var(--surface-muted);
    padding: 14px;
}

.billing-payment-method > div {
    display: grid;
    gap: 4px;
    min-width: 0;
}

.otp-input {
    font-size: 22px;
    font-weight: 800;
    letter-spacing: 4px;
    text-align: center;
}

.typing-dots {
    display: inline-flex;
    gap: 7px;
    align-items: center;
    justify-content: center;
    margin-top: 18px;
}

.typing-dots span {
    width: 9px;
    height: 9px;
    border-radius: 999px;
    background: var(--brand);
    animation: typingDot 900ms infinite ease-in-out;
}

.typing-dots span:nth-child(2) {
    animation-delay: 140ms;
}

.typing-dots span:nth-child(3) {
    animation-delay: 280ms;
}
.input:focus { border-color: var(--brand); box-shadow: 0 0 0 4px color-mix(in srgb, var(--brand) 14%, transparent); }
.textarea { min-height: 92px; padding-top: 12px; resize: vertical; }

.auth-shell {
    display: grid;
    grid-template-columns: minmax(0, 0.95fr) minmax(420px, 0.72fr);
    min-height: 100vh;
    background: #f7f9fc;
}

.auth-copy {
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    position: relative;
    overflow: hidden;
    background:
        linear-gradient(145deg, rgba(14, 21, 36, 0.98), rgba(10, 15, 26, 0.98)),
        #101828;
    color: #ffffff;
    padding: clamp(30px, 5vw, 56px);
}

.auth-copy::after {
    content: "";
    position: absolute;
    inset: auto 0 0;
    height: 1px;
    background: linear-gradient(90deg, transparent, rgba(63, 224, 208, 0.7), rgba(255, 87, 178, 0.5), transparent);
}

.auth-copy-main {
    display: grid;
    gap: 24px;
    max-width: 640px;
}

.auth-eyebrow {
    color: #67e8f9;
    font-size: 12px;
    font-weight: 900;
    letter-spacing: .08em;
    text-transform: uppercase;
}

.auth-copy h1 {
    margin: 0;
    max-width: 700px;
    font-size: clamp(36px, 5vw, 58px);
    line-height: 1;
}

.auth-copy p {
    margin: 0;
    max-width: 620px;
    color: #cbd5e1;
    font-size: 16px;
    line-height: 1.7;
}

.auth-proof-list {
    display: grid;
    gap: 10px;
    margin: 0;
    padding: 0;
    list-style: none;
}

.auth-proof-list li {
    display: grid;
    grid-template-columns: 10px 1fr;
    gap: 12px;
    align-items: start;
    color: #d8e0ee;
    font-size: 14px;
    line-height: 1.55;
}

.auth-proof-list li::before {
    content: "";
    width: 8px;
    height: 8px;
    margin-top: 7px;
    border-radius: 999px;
    background: #67e8f9;
    box-shadow: 0 0 0 4px rgba(103, 232, 249, 0.12);
}

.auth-copy-foot {
    color: #94a3b8;
    font-size: 13px;
    line-height: 1.6;
}

.auth-card {
    display: flex;
    align-items: center;
    justify-content: center;
    padding: clamp(22px, 5vw, 48px);
}

.auth-card-inner {
    width: min(430px, 100%);
    padding: clamp(22px, 4vw, 34px);
    border: 1px solid #e5e7eb;
    border-radius: 8px;
    background: #fff;
    color: #101828;
    box-shadow: 0 18px 60px rgba(16, 24, 40, 0.08);
}

.auth-card-top {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
    margin-bottom: 24px;
}

.auth-card h1 {
    margin: 0 0 8px;
    color: #101828;
    font-size: 30px;
    line-height: 1.15;
}

.auth-card-subcopy {
    margin: 0 0 24px;
    color: #667085;
    line-height: 1.6;
}

.auth-divider {
    display: grid;
    grid-template-columns: 1fr auto 1fr;
    gap: 12px;
    align-items: center;
    margin: 16px 0;
    color: #667085;
    font-size: 12px;
    font-weight: 800;
    text-transform: uppercase;
}

.auth-divider::before,
.auth-divider::after {
    content: "";
    height: 1px;
    background: var(--border);
}

.auth-card label {
    color: #475467;
}

.auth-card .input {
    border-color: #d0d5dd;
    background: #ffffff;
    color: #101828;
}

.auth-card .input:focus {
    border-color: #465fff;
    box-shadow: 0 0 0 4px rgba(70, 95, 255, 0.12);
}

.auth-card .button:not(.primary) {
    border-color: #d0d5dd;
    background: #ffffff;
    color: #101828;
}

.checkbox-row {
    display: flex;
    align-items: center;
    gap: 9px;
    color: var(--muted);
    font-size: 14px;
    font-weight: 700;
}

.password-field {
    display: grid;
    grid-template-columns: minmax(0, 1fr) auto;
    gap: 8px;
    align-items: center;
}

.password-field .button {
    min-width: 70px;
}

.overlay {
    position: fixed;
    inset: 0;
    display: none;
    background: rgba(12, 17, 29, 0.44);
    z-index: 25;
}

body.sidebar-open .overlay { display: block; }

@keyframes securityGridMove {
    from { background-position: 0 0, 0 0; }
    to { background-position: 56px 28px, 56px 28px; }
}

@keyframes securityScan {
    0% { transform: translateX(-130px); opacity: 0; }
    12% { opacity: 1; }
    55% { opacity: 1; }
    100% { transform: translateX(560px); opacity: 0; }
}

@keyframes languageCarousel {
    from { transform: translateX(0); }
    to { transform: translateX(calc(-100% - 14px)); }
}

@keyframes shieldPulse {
    0%, 100% { transform: translateY(0); box-shadow: 0 0 28px rgba(117, 146, 255, 0.18); }
    50% { transform: translateY(-3px); box-shadow: 0 0 42px rgba(117, 146, 255, 0.32); }
}

@keyframes codeBlink {
    0%, 100% { opacity: 0.68; transform: translateX(0); }
    45% { opacity: 1; transform: translateX(-4px); }
}

@keyframes typingDot {
    0%, 80%, 100% { opacity: 0.35; transform: translateY(0); }
    40% { opacity: 1; transform: translateY(-5px); }
}

@keyframes dashboardScan {
    0% { transform: translateY(-115%); opacity: 0; }
    18% { opacity: 0.8; }
    62% { opacity: 0.8; }
    100% { transform: translateY(115%); opacity: 0; }
}

@media (prefers-reduced-motion: reduce) {
    .security-grid,
    .security-shield,
    .security-scan-line,
    .security-code-stream span,
    .demo-frame::after,
    .language-carousel-track {
        animation: none;
    }
}

@media (max-width: 1100px) {
    .grid-4 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
    .grid-3 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
    .search-box { display: none; }
    .session-chip {
        display: none;
    }
    .desktop-account {
        grid-template-columns: 36px minmax(80px, 140px) auto;
    }
    .session-chip-copy small {
        display: none;
    }
    .landing-hero { grid-template-columns: 1fr; }
    .landing-experience-grid { grid-template-columns: 1fr; }
    .landing-language-intro { grid-template-columns: 1fr; }
    .landing-scan-flow { grid-template-columns: repeat(2, minmax(0, 1fr)); }
    .landing-step-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
    .landing-access { display: grid; }
    .landing-access-actions { justify-content: start; }
    .faq-layout,
    .contact-layout { grid-template-columns: 1fr; }
    .faq-item { grid-template-columns: 1fr; }
    .onboarding-steps { grid-template-columns: repeat(2, minmax(0, 1fr)); }
    .onboarding-wizard { grid-template-columns: 1fr; }
}

@media (max-width: 860px) {
    .app-shell { display: block; }
    .landing-pricing-grid { grid-template-columns: 1fr; }
    .plan-detail-grid { grid-template-columns: 1fr; }
    .sidebar {
        position: fixed;
        transform: translateX(-100%);
        transition: transform 180ms ease;
    }
    body.sidebar-open .sidebar { transform: translateX(0); }
    .mobile-toggle { display: inline-grid; }
    .topbar { padding: 12px 16px; }
    .page-title { font-size: 20px; }
    .topbar-actions { gap: 8px; }
    .desktop-account {
        display: none;
    }
    .mobile-profile-badge {
        display: inline-grid;
        width: 42px;
        height: 42px;
        border: 1px solid var(--border);
        background: var(--surface);
        box-shadow: var(--shadow);
    }
    .mobile-profile-badge[aria-expanded="true"] {
        border-color: color-mix(in srgb, var(--brand) 48%, var(--border));
        box-shadow: 0 0 0 4px var(--brand-soft);
    }
    .topbar-action-menu {
        position: absolute;
        top: calc(100% + 14px);
        right: 0;
        display: none;
        width: min(380px, calc(100vw - 20px));
        max-height: calc(100vh - 92px);
        overflow-y: auto;
        border: 1px solid var(--border);
        border-radius: 8px;
        background: var(--surface);
        box-shadow: 0 26px 70px rgba(16, 24, 40, 0.28);
        padding: 14px;
        z-index: 60;
    }
    .topbar-action-menu.open {
        display: grid;
        gap: 12px;
    }
    .mobile-account-summary {
        display: grid;
        grid-template-columns: 36px minmax(0, 1fr);
        align-items: center;
        gap: 10px;
        min-height: 58px;
        border: 1px solid var(--border);
        border-radius: 8px;
        background: var(--surface-muted);
        padding: 9px 11px;
    }
    .mobile-account-summary span {
        display: grid;
        min-width: 0;
        gap: 3px;
    }
    .mobile-account-summary small {
        color: var(--muted);
        font-size: 11px;
    }
    .mobile-account-summary strong {
        overflow: hidden;
        font-size: 13px;
        text-overflow: ellipsis;
        white-space: nowrap;
    }
    .topbar-action-menu > .mobile-account-logout {
        display: inline-flex;
        width: 100%;
        justify-content: center;
    }
    .session-chip {
        display: inline-flex;
        min-height: 58px;
        width: 100%;
        max-width: none;
        border-radius: 8px;
        background: var(--surface-muted);
        padding: 9px 11px;
    }
    .session-chip-copy {
        display: grid;
    }
    .session-chip-copy small {
        display: block;
    }
    .session-chip-copy strong {
        font-size: 13px;
    }
    .session-chip-copy small {
        font-size: 11px;
        white-space: normal;
    }
    .topbar-action-menu > .button,
    .topbar-action-menu .settings-form .button {
        width: 100%;
    }
    .topbar-action-menu > .icon-button {
        width: 100%;
        height: 46px;
        border-radius: 8px;
        display: flex;
        justify-content: flex-start;
        padding: 0 14px;
        gap: 10px;
        color: var(--text);
        background: var(--surface-muted);
    }
    .topbar-action-menu > .icon-button:hover,
    .mobile-account-logout:hover,
    .topbar-action-menu > .button:hover {
        background: color-mix(in srgb, var(--brand-soft) 72%, var(--surface-muted));
    }
    .topbar-action-menu > .icon-button[data-theme-toggle]::after {
        content: "Theme";
        font-weight: 700;
    }
    .topbar-action-menu > .icon-button[data-notification-toggle]::after {
        content: "Notifications";
        font-weight: 700;
    }
    .topbar-action-menu > .icon-button[data-notification-toggle] .badge {
        position: static !important;
        order: 3;
        margin: 0 0 0 auto !important;
    }
    .notification-panel {
        position: static;
        width: 100%;
        box-shadow: none;
        padding: 12px;
        border-radius: 8px;
        background: var(--surface-muted);
    }
    .notification-panel .card-header {
        align-items: center;
    }
    .icon-button { width: 40px; height: 40px; }
    .content { padding: 18px 14px 26px; }
    .grid-4, .grid-3, .grid-2 { grid-template-columns: 1fr; }
    .span-2 { grid-column: auto; }
    .page-toolbar { display: grid; align-items: stretch; }
    .toolbar-actions { justify-content: stretch; }
    .toolbar-actions .button,
    .toolbar-actions .input { flex: 1 1 140px; }
    .finding-item {
        grid-template-columns: 1fr;
        align-items: start;
        gap: 10px;
    }
    .row-actions { justify-content: stretch; }
    .row-actions .button { flex: 1; }
    .onboarding-action-row { display: grid; }
    .onboarding-action-row .button { width: 100%; }
    .cli-token-form,
    .cli-token-secret-row { grid-template-columns: 1fr; }
    .cli-token-form .button,
    .cli-token-secret-row .button { width: 100%; }
    .table-pagination {
        display: grid;
        align-items: stretch;
    }
    .table-pagination .toolbar-actions {
        justify-content: stretch;
    }
    .detail-row {
        display: grid;
        align-items: start;
    }
    .detail-row strong {
        text-align: left;
    }
    th, td { padding: 12px 14px; }
    .auth-shell { grid-template-columns: 1fr; }
    .auth-copy { display: none; }
    .auth-card {
        align-items: start;
        min-height: 100vh;
        padding-top: 28px;
    }
    .landing-shell { width: min(100% - 28px, 680px); padding-top: 12px; }
    .landing-nav {
        display: flex;
        align-items: center;
        min-height: auto;
        padding: 10px 0;
    }
    .landing-nav-links {
        display: none;
    }
    .landing-nav-actions {
        display: none;
    }
    .landing-menu-toggle {
        display: grid;
        flex: none;
    }
    body.landing-menu-open .landing-mobile-menu {
        display: grid;
    }
    .landing-mobile-actions .button {
        width: 100%;
    }
    .landing-hero { padding: 36px 0 24px; }
    .landing-hero h1 { font-size: 42px; }
    .landing-hero p { font-size: 16px; }
    .landing-hero-metrics {
        grid-template-columns: 1fr;
    }
    .landing-hero-metrics span {
        min-height: auto;
    }
    .landing-scan-flow {
        grid-template-columns: 1fr;
        margin: 8px 0 44px;
    }
    .landing-scan-flow article {
        min-height: auto;
        padding: 16px;
    }
    .landing-trust-row span { flex: 1 1 calc(50% - 10px); text-align: center; }
    .demo-frame { padding: 12px; }
    .demo-top { margin: -12px -12px 12px; }
    .landing-section-heading h2 { font-size: 26px; }
    .landing-band,
    .landing-access { padding: 44px 0; }
    .landing-language-intro { gap: 18px; }
    .landing-scan-note { padding: 15px; }
    .language-carousel {
        width: calc(100vw - 28px);
        margin-left: 0;
    }
    .language-logo-card {
        grid-template-columns: 32px auto;
        min-width: 128px;
        padding: 10px 11px;
    }
    .language-logo-card img {
        width: 30px;
        height: 30px;
    }
    .landing-step-grid { grid-template-columns: 1fr; }
    .landing-access h2 { font-size: 25px; }
    .landing-access-actions { display: grid; }
    .landing-footer {
        display: grid;
        align-items: start;
        grid-template-columns: 1fr;
    }
    .landing-footer-grid {
        display: grid;
        grid-template-columns: 1fr;
        gap: 10px 16px;
    }
    .landing-footer-bottom {
        display: grid;
    }
    .public-hero {
        padding: 42px 0 28px;
    }
    .public-hero h1 {
        font-size: 34px;
    }
    .public-callout {
        display: grid;
    }
    .public-callout .button,
    .contact-panel .button {
        width: 100%;
    }
    .cookie-consent {
        bottom: 10px;
        grid-template-columns: 1fr;
        gap: 10px;
        max-height: min(680px, calc(100vh - 20px));
        overflow: auto;
        padding: 12px;
    }
    .cookie-copy {
        gap: 6px;
    }
    .cookie-copy h2 {
        font-size: 17px;
    }
    .cookie-copy p {
        line-height: 1.45;
    }
    .cookie-options {
        grid-template-columns: 1fr;
        gap: 8px;
    }
    .cookie-option {
        padding: 9px;
    }
    .cookie-option small {
        font-size: 10px;
        line-height: 1.35;
    }
    .cookie-actions {
        grid-template-columns: 1fr;
        min-width: 0;
        gap: 7px;
    }
    .cookie-actions .button {
        width: 100%;
    }
    .contact-panel,
    .contact-notes article,
    .faq-item {
        padding: 18px;
    }
    .back-to-top {
        right: 14px;
        bottom: 14px;
        width: 42px;
        height: 42px;
    }
    .demo-notice {
        display: grid;
        align-items: start;
    }
    .demo-notice .button { width: 100%; }
    .row-between {
        display: grid;
        align-items: start;
    }
    .legal-shell,
    .legal-content { padding: 24px 0; }
    .legal-meta { display: grid; width: 100%; }
    .legal-meta span { border-radius: 8px; overflow-wrap: anywhere; }
    .onboarding-steps { grid-template-columns: 1fr; }
    .step-card .button { width: 100%; }
    .timeline-list article {
        grid-template-columns: 1fr;
        gap: 8px;
    }
    .security-animation { min-height: 124px; }
    .security-shield {
        left: 18px;
        top: 22px;
        width: 58px;
        height: 68px;
        border-radius: 20px 20px 24px 24px;
    }
    .security-code-stream {
        right: 14px;
        width: calc(100% - 104px);
    }
    .security-code-stream span {
        font-size: 11px;
        padding: 7px 9px;
    }
}

/* Fresh SecureRepos landing page */
.sr-landing {
    width: min(1180px, calc(100% - 32px));
    color: #e5e7eb;
}

[data-force-theme="dark"] .sr-landing::before {
    height: 880px;
    background:
        radial-gradient(circle at 18% 0%, rgba(57, 217, 138, 0.12), transparent 28%),
        radial-gradient(circle at 82% 12%, rgba(79, 102, 255, 0.15), transparent 30%),
        linear-gradient(180deg, #050b14 0%, #07111d 58%, #050a12 100%);
}

.sr-nav {
    position: sticky;
    top: 0;
    z-index: 30;
    min-height: 72px;
    border: 1px solid rgba(148, 163, 184, 0.13);
    border-top: 0;
    border-radius: 0 0 12px 12px;
    background: rgba(5, 10, 18, 0.88);
    backdrop-filter: blur(18px);
}

.sr-nav::before {
    background: rgba(5, 10, 18, 0.88);
}

.sr-hero {
    display: grid;
    grid-template-columns: minmax(0, 0.9fr) minmax(430px, 1fr);
    gap: 52px;
    align-items: center;
    padding: 86px 0 54px;
}

.sr-hero-copy {
    display: grid;
    gap: 18px;
    align-content: start;
}

.sr-eyebrow {
    display: inline-flex;
    width: fit-content;
    align-items: center;
    gap: 9px;
    min-height: 32px;
    border: 1px solid rgba(79, 102, 255, 0.24);
    border-radius: 999px;
    background: rgba(79, 102, 255, 0.10);
    color: #b8c7ff;
    padding: 0 12px;
    font-size: 12px;
    font-weight: 900;
    text-transform: uppercase;
}

.sr-eyebrow::before {
    content: "";
    width: 7px;
    height: 7px;
    border-radius: 999px;
    background: #39d98a;
    box-shadow: 0 0 0 4px rgba(57, 217, 138, 0.11);
}

.sr-hero h1,
.sr-section h2,
.sr-pricing h2,
.sr-final-cta h2 {
    margin: 0;
    color: #f8fafc;
    letter-spacing: 0;
}

.sr-hero h1 {
    max-width: 620px;
    font-size: clamp(46px, 5.8vw, 78px);
    line-height: 0.98;
}

.sr-hero p,
.sr-section-head p,
.sr-final-cta p {
    margin: 0;
    color: #a8b3c6;
    line-height: 1.7;
}

.sr-hero p {
    max-width: 590px;
    font-size: 17px;
}

.sr-actions {
    display: flex;
    flex-wrap: wrap;
    gap: 12px;
}

.sr-hero-points {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
}

.sr-hero-points span {
    border: 1px solid rgba(148, 163, 184, 0.16);
    border-radius: 999px;
    background: rgba(15, 23, 42, 0.66);
    color: #d7def0;
    padding: 8px 12px;
    font-size: 12px;
    font-weight: 850;
}

.sr-command-center,
.sr-package-card,
.sr-agent-panel,
.sr-feature-grid article,
.sr-language-section,
.sr-pricing,
.sr-final-cta,
.sr-proof article {
    border: 1px solid rgba(148, 163, 184, 0.14);
    border-radius: 10px;
    background: rgba(11, 18, 32, 0.86);
    box-shadow: 0 22px 70px rgba(0, 0, 0, 0.22);
}

.sr-command-center {
    display: grid;
    gap: 16px;
    position: relative;
    overflow: hidden;
    padding: 18px;
}

.sr-command-center::before {
    content: "";
    position: absolute;
    inset: -1px;
    background:
        radial-gradient(circle at 82% 12%, rgba(79, 102, 255, 0.16), transparent 28%),
        radial-gradient(circle at 18% 88%, rgba(57, 217, 138, 0.12), transparent 24%);
    pointer-events: none;
}

.sr-command-center > * {
    position: relative;
}

.sr-window-bar {
    display: flex;
    align-items: center;
    gap: 7px;
    border-bottom: 1px solid rgba(148, 163, 184, 0.13);
    margin: -18px -18px 0;
    padding: 13px 18px;
}

.sr-window-bar span {
    width: 10px;
    height: 10px;
    border-radius: 999px;
}

.sr-window-bar span:nth-child(1) { background: #ff6b6b; }
.sr-window-bar span:nth-child(2) { background: #fdb022; }
.sr-window-bar span:nth-child(3) { background: #39d98a; }

.sr-window-bar strong {
    margin-left: auto;
    color: #94a3b8;
    font-size: 12px;
    text-transform: uppercase;
}

.sr-repo-line,
.sr-package-title {
    display: flex;
    align-items: flex-start;
    justify-content: space-between;
    gap: 16px;
}

.sr-repo-line small {
    display: block;
    color: #8090a8;
    font-size: 12px;
    font-weight: 900;
    text-transform: uppercase;
}

.sr-repo-line strong {
    color: #f8fafc;
    font-size: 24px;
}

.sr-status,
.sr-package-title span {
    border: 1px solid rgba(57, 217, 138, 0.22);
    border-radius: 999px;
    background: rgba(57, 217, 138, 0.08);
    color: #39d98a;
    padding: 6px 10px;
    font-size: 12px;
    font-weight: 900;
    white-space: nowrap;
}

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

.sr-risk-grid article {
    border: 1px solid rgba(148, 163, 184, 0.13);
    border-radius: 8px;
    background: rgba(15, 23, 42, 0.78);
    padding: 14px;
}

.sr-risk-grid small {
    color: #93a4bf;
    font-size: 11px;
    font-weight: 900;
    text-transform: uppercase;
}

.sr-risk-grid strong {
    display: block;
    color: #f8fafc;
    font-size: 38px;
    line-height: 1;
    margin: 6px 0;
}

.sr-risk-grid span {
    color: #a8b3c6;
    font-size: 12px;
    font-weight: 750;
}

.sr-finding-list {
    display: grid;
    gap: 8px;
}

.sr-finding-list p {
    display: grid;
    grid-template-columns: 92px minmax(0, 1fr);
    gap: 12px;
    border: 1px solid rgba(148, 163, 184, 0.12);
    border-radius: 8px;
    background: rgba(5, 10, 18, 0.58);
    margin: 0;
    padding: 12px;
}

.sr-finding-list b {
    color: #39d98a;
    font-size: 12px;
    text-transform: uppercase;
}

.sr-finding-list span {
    color: #d4dce8;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.sr-scan-flow {
    display: flex;
    align-items: center;
    gap: 8px;
    color: #c8d3ff;
    font-family: ui-monospace, SFMono-Regular, Menlo, Monaco, Consolas, monospace;
    font-size: 12px;
}

.sr-scan-flow i {
    flex: 1;
    height: 1px;
    background: rgba(148, 163, 184, 0.24);
}

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

.sr-proof article {
    display: grid;
    gap: 8px;
    padding: 18px;
}

.sr-proof strong {
    color: #f8fafc;
    font-size: 16px;
}

.sr-proof span {
    color: #a8b3c6;
    line-height: 1.55;
}

.sr-section,
.sr-pricing {
    display: grid;
    gap: 28px;
    padding: 78px 0;
}

.sr-section-head {
    display: grid;
    justify-items: center;
    gap: 12px;
    max-width: 820px;
    margin: 0 auto;
    text-align: center;
}

.sr-section h2,
.sr-pricing h2,
.sr-final-cta h2 {
    font-size: clamp(32px, 4.2vw, 52px);
    line-height: 1.05;
}

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

.sr-feature-grid article {
    display: grid;
    gap: 10px;
    min-height: 164px;
    padding: 20px;
}

.sr-feature-grid strong {
    color: #f8fafc;
    font-size: 18px;
}

.sr-feature-grid span,
.sr-package-card p,
.sr-agent-panel p,
.sr-steps p,
.sr-note {
    color: #a8b3c6;
    line-height: 1.6;
}

.sr-language-section {
    padding: 28px;
}

.sr-language-grid,
.sr-agent-logos {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 10px;
}

.sr-language-grid span,
.sr-agent-logos span {
    display: flex;
    align-items: center;
    gap: 10px;
    min-height: 48px;
    border: 1px solid rgba(148, 163, 184, 0.14);
    border-radius: 8px;
    background: rgba(15, 23, 42, 0.72);
    color: #dbe4f0;
    padding: 10px 12px;
    font-size: 13px;
    font-weight: 850;
}

.sr-language-grid img,
.sr-agent-logos img {
    width: 22px;
    height: 22px;
    border-radius: 6px;
    background: #ffffff;
    padding: 3px;
    box-sizing: content-box;
}

.sr-note {
    border-left: 3px solid #7592ff;
    margin: 0;
    padding-left: 14px;
}

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

.sr-package-card,
.sr-agent-panel {
    display: grid;
    align-content: start;
    gap: 16px;
    padding: 18px;
}

.sr-package-title strong {
    min-width: 0;
    overflow: hidden;
    color: #f8fafc;
    font-family: ui-monospace, SFMono-Regular, Menlo, Monaco, Consolas, monospace;
    font-size: 16px;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.sr-terminal {
    overflow: hidden;
    border: 1px solid rgba(148, 163, 184, 0.14);
    border-radius: 8px;
    background: #050a12;
}

.sr-terminal .sr-window-bar {
    margin: 0;
}

.sr-terminal code {
    display: grid;
    gap: 7px;
    overflow-x: auto;
    border: 0;
    background: transparent;
    color: #dbe4f0;
    padding: 16px;
    font-family: ui-monospace, SFMono-Regular, Menlo, Monaco, Consolas, monospace;
    font-size: 13px;
    line-height: 1.55;
}

.sr-terminal code span {
    display: block;
    min-width: max-content;
}

.sr-package-card:first-child .sr-terminal code span::first-letter {
    color: #39d98a;
}

.sr-agent-panel {
    margin-top: 16px;
}

.sr-agent-panel h3 {
    margin: 0;
    color: #f8fafc;
    font-size: 28px;
    line-height: 1.15;
}

.sr-prompt-box code span {
    min-width: 0;
    white-space: normal;
}

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

.sr-steps article {
    display: grid;
    gap: 10px;
    border-top: 1px solid rgba(148, 163, 184, 0.22);
    padding-top: 16px;
}

.sr-steps span {
    color: #7592ff;
    font-family: ui-monospace, SFMono-Regular, Menlo, Monaco, Consolas, monospace;
    font-weight: 900;
}

.sr-steps strong {
    color: #f8fafc;
    font-size: 18px;
}

.sr-pricing {
    border: 1px solid rgba(148, 163, 184, 0.14);
    border-radius: 12px;
    background: rgba(11, 18, 32, 0.72);
    padding-inline: 28px;
}

.sr-final-cta {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 24px;
    border: 1px solid rgba(148, 163, 184, 0.14);
    border-radius: 12px;
    background:
        linear-gradient(135deg, rgba(79, 102, 255, 0.14), rgba(57, 217, 138, 0.09)),
        #0b1220;
    margin: 0 0 48px;
    padding: 28px;
}

@media (max-width: 980px) {
    .sr-hero,
    .sr-package-grid {
        grid-template-columns: 1fr;
    }

    .sr-language-grid,
    .sr-agent-logos {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }

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

@media (max-width: 860px) {
    .sr-landing {
        width: min(100% - 24px, 680px);
    }

    .sr-hero {
        gap: 26px;
        padding: 42px 0 38px;
    }

    .sr-hero h1 {
        font-size: 42px;
    }

    .sr-section h2,
    .sr-pricing h2,
    .sr-final-cta h2 {
        font-size: 34px;
        line-height: 1.08;
    }

    .sr-section-head p,
    .sr-feature-grid span,
    .sr-package-card p,
    .sr-agent-panel p,
    .sr-steps p,
    .sr-note {
        font-size: 15px;
    }

    .sr-actions,
    .sr-actions .button,
    .sr-final-cta,
    .sr-final-cta .button {
        width: 100%;
    }

    .sr-actions,
    .sr-final-cta {
        display: grid;
    }

    .sr-risk-grid,
    .sr-proof,
    .sr-feature-grid,
    .sr-language-grid,
    .sr-agent-logos,
    .sr-steps {
        grid-template-columns: 1fr;
    }

    .sr-repo-line,
    .sr-package-title {
        display: grid;
    }

    .sr-finding-list p {
        grid-template-columns: 1fr;
    }

    .sr-scan-flow {
        display: grid;
        grid-template-columns: 1fr;
    }

    .sr-scan-flow i {
        display: none;
    }

    .sr-section,
    .sr-pricing {
        padding: 52px 0;
    }

    .sr-pricing,
    .sr-language-section,
    .sr-final-cta {
        padding: 20px;
    }

    .sr-terminal code {
        font-size: 12px;
    }
}

@media (max-width: 1100px) {
    .landing-hero-refined {
        grid-template-columns: 1fr;
        min-height: auto;
    }

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

    .legal-shell-refined,
    .public-hero-split {
        grid-template-columns: 1fr;
    }

    .legal-layout {
        grid-template-columns: 1fr;
    }

    .legal-sidebar {
        position: static;
        grid-template-columns: repeat(4, minmax(0, 1fr));
    }
}

@media (max-width: 860px) {
    .landing-hero-refined {
        padding: 42px 0 26px;
    }

    .landing-hero-refined h1 {
        font-size: 42px;
        line-height: 1.04;
    }

    .landing-preview-stats,
    .landing-coverage-grid,
    .legal-sidebar {
        grid-template-columns: 1fr;
    }

    .landing-preview-stats span,
    .landing-coverage-grid article {
        min-height: auto;
    }

    .landing-demo-list article {
        grid-template-columns: 1fr;
    }

    .public-hero-split {
        padding: 42px 0 28px;
    }

    .public-hero-panel,
    .contact-panel,
    .contact-notes article,
    .legal-document,
    .legal-sidebar,
    .legal-shell-refined .legal-meta span {
        padding: 18px;
    }

    .contact-layout-refined {
        gap: 16px;
    }

    .legal-shell-refined {
        padding: 34px 0 18px;
    }

    .legal-document .legal-content {
        padding: 0;
    }
}

@media (max-width: 1100px) {
    .product-hero {
        grid-template-columns: 1fr;
        min-height: auto;
        padding-top: 54px;
    }

    .product-panel {
        max-width: 620px;
    }

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

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

    .compare-table div {
        grid-template-columns: 1fr;
    }

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

    .product-strip span:nth-child(2) {
        border-right: 0;
    }

    .product-cta {
        display: grid;
    }

    .package-section {
        grid-template-columns: 1fr;
    }

    .package-copy {
        position: static;
    }

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

@media (max-width: 860px) {
    .product-landing {
        width: min(100% - 28px, 680px);
    }

    .product-hero {
        gap: 28px;
        padding: 42px 0 32px;
    }

    .product-hero h1 {
        font-size: 42px;
        line-height: 1.04;
    }

    .product-hero p {
        font-size: 16px;
    }

    .product-actions {
        display: grid;
        width: 100%;
    }

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

    .product-proof {
        display: grid;
        width: 100%;
    }

    .product-terminal p,
    .product-findings article {
        grid-template-columns: 1fr;
    }

    .product-strip,
    .scanner-table {
        grid-template-columns: 1fr;
    }

    .product-strip span {
        min-height: 58px;
        border-right: 0;
        border-bottom: 1px solid rgba(152, 162, 179, 0.12);
    }

    .product-strip span:last-child {
        border-bottom: 0;
    }

    .product-section {
        padding: 48px 0;
    }

    .package-section {
        margin-bottom: 44px;
        padding: 20px;
    }

    .package-card {
        padding: 14px;
    }

    .package-card-head {
        align-items: flex-start;
        flex-direction: column;
    }

    .package-cards,
    .language-grid {
        grid-template-columns: 1fr;
    }

    .agent-logo-strip span {
        flex: 1 1 144px;
        justify-content: center;
    }

    .language-support {
        padding: 20px;
    }

    .language-support h3 {
        font-size: 24px;
    }

    .cli-code-card code {
        font-size: 12px;
    }

    .product-section-heading h2,
    .product-cta h2 {
        font-size: 30px;
    }

    .scanner-table article {
        min-height: auto;
    }

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

    .product-cta {
        margin-bottom: 36px;
        padding: 20px;
    }
}

.product-landing {
    width: min(1160px, calc(100% - 32px));
}

.product-landing .landing-nav {
    min-height: 68px;
    border-bottom: 1px solid rgba(152, 162, 179, 0.10);
    background: rgba(8, 13, 22, 0.76);
}

.product-landing .landing-nav::before {
    background: rgba(8, 13, 22, 0.76);
}

[data-force-theme="dark"] .product-landing::before {
    height: 960px;
    background:
        radial-gradient(circle at 50% 0%, rgba(117, 146, 255, 0.20), transparent 28%),
        radial-gradient(circle at 24% 24%, rgba(57, 217, 138, 0.12), transparent 22%),
        linear-gradient(180deg, #08111f 0%, #0b1220 64%, rgba(8, 13, 22, 0) 100%);
}

.rafter-hero {
    display: grid;
    justify-items: center;
    grid-template-columns: 1fr;
    gap: 40px;
    min-height: auto;
    text-align: center;
    padding: 82px 0 58px;
}

.rafter-hero .product-hero-copy {
    justify-items: center;
    gap: 18px;
    max-width: 910px;
}

.product-status-pill {
    display: inline-flex;
    align-items: center;
    min-height: 34px;
    border: 1px solid rgba(117, 146, 255, 0.26);
    border-radius: 999px;
    background: rgba(117, 146, 255, 0.10);
    color: #b8c7ff;
    padding: 0 14px;
    font-size: 12px;
    font-weight: 900;
}

.product-status-pill::before {
    content: "";
    width: 7px;
    height: 7px;
    border-radius: 999px;
    background: #39d98a;
    box-shadow: 0 0 16px rgba(57, 217, 138, 0.58);
    margin-right: 9px;
}

.rafter-hero h1 {
    max-width: 960px;
    color: #f8fafc;
    font-size: clamp(46px, 6.2vw, 76px);
    line-height: 0.98;
    letter-spacing: 0;
}

.rafter-hero p {
    max-width: 800px;
    color: #cbd5e1;
    font-size: 18px;
    line-height: 1.7;
}

.rafter-hero .product-actions {
    justify-content: center;
}

.hero-capability-row {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 10px;
    margin-top: 4px;
}

.hero-capability-row span {
    display: inline-flex;
    align-items: center;
    min-height: 34px;
    border: 1px solid rgba(152, 162, 179, 0.18);
    border-radius: 999px;
    background: rgba(255, 255, 255, 0.055);
    color: #d7def0;
    padding: 0 13px;
    font-size: 12px;
    font-weight: 850;
}

.rafter-product-surface {
    position: relative;
    isolation: isolate;
    width: min(920px, 100%);
    margin-top: 4px;
}

.rafter-product-surface::before {
    content: "";
    position: absolute;
    inset: -34px -44px;
    border-radius: 28px;
    background:
        radial-gradient(circle at 28% 20%, rgba(117, 146, 255, 0.28), transparent 32%),
        radial-gradient(circle at 72% 18%, rgba(57, 217, 138, 0.16), transparent 28%);
    filter: blur(16px);
    opacity: 0.78;
    z-index: -2;
}

.rafter-product-surface::after {
    content: "";
    position: absolute;
    inset: -22px;
    border: 1px solid rgba(117, 146, 255, 0.12);
    border-radius: 18px;
    background-image:
        linear-gradient(rgba(117, 146, 255, 0.07) 1px, transparent 1px),
        linear-gradient(90deg, rgba(117, 146, 255, 0.07) 1px, transparent 1px);
    background-size: 34px 34px;
    mask-image: linear-gradient(180deg, transparent, #000 20%, #000 78%, transparent);
    z-index: -1;
}

.surface-window {
    display: grid;
    grid-template-columns: 1fr 210px;
    gap: 18px;
    position: relative;
    overflow: hidden;
    border: 1px solid rgba(152, 162, 179, 0.22);
    border-radius: 8px;
    background:
        linear-gradient(135deg, rgba(117, 146, 255, 0.12), transparent 34%),
        linear-gradient(180deg, rgba(255, 255, 255, 0.075), rgba(255, 255, 255, 0.028)),
        #0b1220;
    box-shadow: 0 34px 110px rgba(0, 0, 0, 0.40);
    padding: 22px;
}

.surface-window::before {
    content: "";
    position: absolute;
    inset: 0;
    background: linear-gradient(90deg, transparent, rgba(117, 146, 255, 0.14), transparent);
    transform: translateX(-100%);
    animation: surfaceSweep 5.5s ease-in-out infinite;
    pointer-events: none;
}

.surface-title {
    display: grid;
    align-content: start;
    justify-items: start;
    gap: 6px;
    text-align: left;
}

.surface-title span {
    color: #98a2b3;
    font-size: 12px;
    font-weight: 900;
    text-transform: uppercase;
}

.surface-title strong {
    color: #f8fafc;
    font-size: 26px;
}

.surface-score {
    display: grid;
    place-items: center;
    border: 1px solid rgba(117, 146, 255, 0.20);
    border-radius: 8px;
    background:
        radial-gradient(circle at 50% 28%, rgba(117, 146, 255, 0.24), transparent 42%),
        rgba(117, 146, 255, 0.08);
    padding: 18px;
}

.surface-score span {
    color: #f8fafc;
    font-size: 56px;
    font-weight: 900;
    line-height: 0.95;
}

.surface-score p {
    margin: 6px 0 0;
    color: #aab3c2;
    font-size: 13px;
    font-weight: 800;
}

.surface-checks {
    display: grid;
    grid-column: 1 / -1;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 10px;
}

.surface-evidence {
    display: grid;
    grid-column: 1 / -1;
    gap: 8px;
    border: 1px solid rgba(57, 217, 138, 0.16);
    border-radius: 8px;
    background: rgba(57, 217, 138, 0.055);
    padding: 13px 14px;
}

.surface-evidence p {
    display: grid;
    grid-template-columns: 82px minmax(0, 1fr);
    gap: 10px;
    margin: 0;
    color: #b8c0cc;
    font-family: ui-monospace, SFMono-Regular, Menlo, Monaco, Consolas, monospace;
    font-size: 12px;
    text-align: left;
}

.surface-evidence b {
    color: #39d98a;
}

.surface-evidence span {
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.surface-checks article {
    display: grid;
    justify-items: start;
    gap: 6px;
    border: 1px solid rgba(152, 162, 179, 0.14);
    border-radius: 8px;
    background: rgba(255, 255, 255, 0.03);
    padding: 14px;
    text-align: left;
}

.surface-checks b {
    color: #f8fafc;
}

.surface-checks span {
    color: #98a2b3;
    font-size: 13px;
    font-weight: 800;
}

.surface-command {
    width: min(640px, calc(100% - 26px));
    border: 1px solid rgba(152, 162, 179, 0.14);
    border-top: 0;
    border-radius: 0 0 8px 8px;
    background: rgba(8, 13, 22, 0.92);
    margin: 0 auto;
    padding: 10px 14px;
}

@keyframes surfaceSweep {
    0%, 58% { transform: translateX(-100%); opacity: 0; }
    66% { opacity: 1; }
    86% { transform: translateX(100%); opacity: 0; }
    100% { transform: translateX(100%); opacity: 0; }
}

.surface-command code {
    color: #9cb9ff;
    font-size: 12px;
}

.rafter-proof-row {
    grid-template-columns: repeat(3, minmax(0, 1fr));
    width: min(880px, 100%);
    margin: 0 auto 76px;
    border-color: rgba(152, 162, 179, 0.20);
    background: rgba(8, 13, 22, 0.78);
    box-shadow: 0 18px 54px rgba(15, 23, 42, 0.14);
}

.rafter-proof-row span {
    justify-content: center;
    min-height: 54px;
    color: #d0d5dd;
    text-align: center;
}

.product-section {
    border-top: 0;
}

.product-section-heading {
    margin-inline: auto;
    text-align: center;
    justify-items: center;
}

.product-section:not(.product-section-muted):not(.product-pricing-section):not(.comparison-section) .product-section-heading h2 {
    color: #101828;
}

.product-section:not(.product-section-muted):not(.product-pricing-section):not(.comparison-section) .product-section-heading p {
    color: #667085;
}

.comparison-section .product-section-heading h2 {
    color: #f8fafc;
}

.comparison-section .product-section-heading p {
    color: #b8c0cc;
}

.scanner-table {
    border-radius: 8px;
}

.workflow-list {
    width: min(820px, 100%);
    margin-inline: auto;
}

.product-pricing-grid {
    margin-inline: auto;
}

.product-cta {
    text-align: left;
}

@media (max-width: 860px) {
    .rafter-hero {
        padding: 48px 0 36px;
        text-align: left;
        justify-items: start;
    }

    .rafter-hero .product-hero-copy {
        justify-items: start;
    }

    .rafter-hero h1 {
        font-size: 44px;
        line-height: 1.02;
    }

    .rafter-hero .product-actions {
        justify-content: stretch;
    }

    .surface-window,
    .surface-checks,
    .rafter-proof-row {
        grid-template-columns: 1fr;
    }

    .surface-title,
    .surface-checks article {
        text-align: left;
    }

    .surface-command {
        width: calc(100% - 20px);
    }

    .surface-evidence p {
        grid-template-columns: 1fr;
    }

    .surface-evidence span {
        white-space: normal;
    }

    .rafter-proof-row {
        margin-bottom: 44px;
    }

    .product-section-heading {
        text-align: left;
        justify-items: start;
    }
}

/* SecureRepos marketing refresh: restrained cybersecurity SaaS direction. */
[data-force-theme="dark"] {
    background: #050a12;
}

.product-landing {
    width: min(1180px, calc(100% - 34px));
}

.product-landing .landing-nav {
    position: sticky;
    top: 0;
    border: 1px solid rgba(148, 163, 184, 0.12);
    border-top: 0;
    border-radius: 0 0 10px 10px;
    background: rgba(5, 10, 18, 0.88);
    backdrop-filter: blur(18px);
}

.product-landing .landing-nav::before {
    background: rgba(5, 10, 18, 0.88);
}

[data-force-theme="dark"] .product-landing::before {
    height: 920px;
    background:
        radial-gradient(circle at 68% 12%, rgba(71, 97, 255, 0.16), transparent 28%),
        radial-gradient(circle at 18% 20%, rgba(43, 181, 126, 0.10), transparent 24%),
        linear-gradient(180deg, #06111f 0%, #07111d 56%, #050a12 100%);
}

.rafter-hero {
    grid-template-columns: minmax(0, 0.92fr) minmax(420px, 1fr);
    align-items: center;
    justify-items: stretch;
    gap: 48px;
    text-align: left;
    padding: 82px 0 48px;
}

.rafter-hero .product-hero-copy {
    justify-items: start;
    max-width: 620px;
}

.rafter-hero h1 {
    max-width: 650px;
    color: #f7f9fc;
    font-size: clamp(46px, 5.2vw, 72px);
    line-height: 1;
}

.rafter-hero p {
    max-width: 600px;
    color: #b8c3d6;
    font-size: 17px;
}

.rafter-hero .product-actions {
    justify-content: start;
}

.product-status-pill {
    border-color: rgba(86, 116, 255, 0.28);
    background: rgba(86, 116, 255, 0.10);
    color: #c8d3ff;
}

.hero-capability-row {
    justify-content: start;
}

.hero-capability-row span {
    border-color: rgba(148, 163, 184, 0.18);
    background: rgba(15, 23, 42, 0.84);
    color: #d9e2f1;
}

.hero-metrics {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 10px;
    width: 100%;
    margin-top: 8px;
}

.hero-metrics span {
    display: grid;
    gap: 4px;
    min-height: 76px;
    border: 1px solid rgba(148, 163, 184, 0.14);
    border-radius: 8px;
    background: rgba(15, 23, 42, 0.56);
    color: #94a3b8;
    padding: 13px;
    font-size: 12px;
    font-weight: 800;
    line-height: 1.25;
}

.hero-metrics strong {
    color: #f8fafc;
    font-size: 26px;
    line-height: 1;
}

.rafter-product-surface {
    width: 100%;
    margin: 0;
}

.rafter-product-surface::before {
    inset: -24px;
    border-radius: 20px;
    background:
        radial-gradient(circle at 22% 14%, rgba(70, 95, 255, 0.22), transparent 34%),
        radial-gradient(circle at 78% 86%, rgba(43, 181, 126, 0.16), transparent 30%);
    filter: blur(12px);
    opacity: 0.72;
}

.rafter-product-surface::after {
    inset: -16px;
    border-color: rgba(148, 163, 184, 0.10);
    background-size: 28px 28px;
    opacity: 0.55;
}

.surface-window {
    grid-template-columns: 1fr 160px;
    border-color: rgba(148, 163, 184, 0.18);
    background:
        linear-gradient(145deg, rgba(71, 97, 255, 0.12), transparent 36%),
        #0b1220;
    box-shadow: 0 28px 80px rgba(0, 0, 0, 0.38);
}

.surface-window::before {
    display: none;
}

.surface-title strong {
    font-size: 24px;
}

.surface-score span {
    font-size: 46px;
}

.rafter-proof-row {
    width: 100%;
    margin: 0 0 76px;
    background: #0b1220;
}

.package-section,
.scanner-table,
.comparison-card,
.compare-table,
.product-cta {
    box-shadow: 0 18px 56px rgba(0, 0, 0, 0.18);
}

.package-section {
    border-color: rgba(148, 163, 184, 0.14);
    background:
        linear-gradient(135deg, rgba(71, 97, 255, 0.10), transparent 38%),
        #080f1b;
}

.product-section {
    padding: 82px 0;
}

.product-section:not(.product-section-muted):not(.product-pricing-section):not(.comparison-section) .product-section-heading h2,
.language-support h3 {
    color: #f8fafc;
}

.product-section:not(.product-section-muted):not(.product-pricing-section):not(.comparison-section) .product-section-heading p,
.language-support p {
    color: #a8b3c6;
}

.language-support {
    border-color: rgba(148, 163, 184, 0.14);
    background:
        linear-gradient(180deg, rgba(15, 23, 42, 0.92), rgba(8, 15, 27, 0.92)),
        #080f1b;
}

.language-grid span {
    border-color: rgba(148, 163, 184, 0.14);
    background: rgba(15, 23, 42, 0.88);
    color: #dbe4f0;
}

.comparison-section::before,
.product-section-muted::before,
.product-pricing-section::before {
    background: #07101c;
}

.comparison-section .product-section-heading p {
    color: #a8b3c6;
}

.product-cta {
    border-color: rgba(148, 163, 184, 0.15);
    background:
        linear-gradient(135deg, rgba(71, 97, 255, 0.13), rgba(43, 181, 126, 0.08)),
        #0b1220;
}

@media (max-width: 980px) {
    .rafter-hero {
        grid-template-columns: 1fr;
    }

    .rafter-hero .product-hero-copy {
        max-width: 760px;
    }
}

@media (max-width: 860px) {
    .product-landing {
        width: min(100% - 24px, 680px);
    }

    .rafter-hero {
        gap: 28px;
        padding: 42px 0 36px;
    }

    .rafter-hero h1 {
        font-size: 42px;
    }

    .hero-metrics {
        grid-template-columns: 1fr;
    }

    .surface-window {
        grid-template-columns: 1fr;
    }

    .surface-checks {
        grid-template-columns: 1fr;
    }
}

/* SecureRepos editorial landing */
.sec-site {
    width: min(1180px, calc(100% - 32px));
    color: #e6edf7;
    padding-top: 0;
}

[data-force-theme="dark"] .sec-site::before {
    height: 820px;
    background:
        radial-gradient(circle at 76% 28%, rgba(57, 217, 138, 0.15), transparent 22%),
        radial-gradient(circle at 52% 8%, rgba(117, 146, 255, 0.18), transparent 28%),
        linear-gradient(135deg, rgba(47, 74, 255, 0.20), transparent 38%),
        linear-gradient(180deg, #07101b 0%, #080d15 58%, #05080d 100%);
}

.sec-nav {
    position: sticky;
    top: 0;
    z-index: 30;
    min-height: 62px;
    border: 0;
    border-radius: 0;
    background: transparent;
    backdrop-filter: blur(18px);
    padding: 0 16px;
    transition: background 180ms ease, border-color 180ms ease;
}

.sec-nav::before {
    content: "";
    position: absolute;
    inset: 0 50%;
    width: 100vw;
    transform: translateX(-50%);
    background: #050a12;
    pointer-events: none;
    z-index: -1;
    transition: background 180ms ease;
}

.sec-nav.is-scrolled {
    background: transparent;
}

.sec-nav.is-scrolled::before {
    background: #050a12;
}

.sec-site .brand {
    min-width: 0;
}

.sec-site .brand-logo {
    border-radius: 12px;
}

.sec-site .landing-nav-links {
    gap: 4px;
    border: 1px solid rgba(148, 163, 184, 0.10);
    border-radius: 999px;
    background: rgba(15, 23, 42, 0.52);
    padding: 5px;
}

.sec-site .landing-nav-links a {
    display: inline-flex;
    align-items: center;
    min-height: 34px;
    border-radius: 999px;
    color: #9aa8bd;
    padding: 0 12px;
    font-size: 13px;
    font-weight: 850;
}

.sec-site .landing-nav-links a:hover {
    background: rgba(117, 146, 255, 0.12);
    color: #f8fafc;
}

.sec-site .landing-nav-actions {
    gap: 8px;
}

.sec-site .button {
    min-height: 42px;
    border-radius: 8px;
    border-color: rgba(148, 163, 184, 0.18);
    background: rgba(15, 23, 42, 0.78);
    box-shadow: none;
    color: #f8fafc;
    padding-inline: 16px;
    font-weight: 850;
}

.sec-site .button:hover {
    border-color: rgba(117, 146, 255, 0.36);
    background: rgba(22, 32, 50, 0.92);
    filter: none;
}

.sec-site .button.primary {
    border-color: rgba(117, 146, 255, 0.78);
    background: linear-gradient(180deg, #7d94ff, #5f78ff);
    box-shadow: 0 12px 30px rgba(95, 120, 255, 0.22);
    color: #fff;
}

.sec-site .button.primary:hover {
    background: linear-gradient(180deg, #8ba0ff, #6981ff);
}

.sec-site .landing-menu-toggle {
    width: 42px;
    height: 42px;
    border-color: rgba(148, 163, 184, 0.20);
    border-radius: 10px;
    background: rgba(15, 23, 42, 0.86);
    color: #f8fafc;
}

.sec-site .landing-menu-toggle:hover {
    border-color: rgba(117, 146, 255, 0.36);
    background: rgba(22, 32, 50, 0.94);
}

.sec-site .landing-menu-toggle span {
    width: 16px;
    height: 2px;
}

body.landing-menu-open .sec-site .landing-menu-toggle span:nth-child(1),
body.landing-menu-open .sec-site .landing-menu-toggle span:nth-child(2),
body.landing-menu-open .sec-site .landing-menu-toggle span:nth-child(3) {
    opacity: 1;
    transform: none;
}

.sec-site .landing-mobile-menu {
    left: 0;
    right: 0;
    top: 100%;
    overflow: hidden;
    border-color: rgba(148, 163, 184, 0.14);
    border-top: 0;
    border-radius: 0 0 14px 14px;
    background:
        linear-gradient(180deg, #080d16 0%, #050a12 100%);
    box-shadow: 0 26px 70px rgba(0, 0, 0, 0.32);
    padding: 12px;
}

.sec-site .mobile-menu-label {
    display: flex;
    align-items: center;
    min-height: 28px;
    color: #39d98a;
    padding: 0 10px 4px;
    font-size: 11px;
    font-weight: 900;
    text-transform: uppercase;
}

.sec-site .landing-mobile-menu a {
    position: relative;
    min-height: 46px;
    border: 1px solid transparent;
    border-radius: 10px;
    color: #c3cede;
    padding: 0 42px 0 14px;
    font-size: 14px;
    letter-spacing: 0;
}

.sec-site .landing-mobile-menu > a::after {
    content: "";
    position: absolute;
    right: 15px;
    width: 6px;
    height: 6px;
    border-top: 2px solid currentColor;
    border-right: 2px solid currentColor;
    opacity: 0.45;
    transform: rotate(45deg);
}

.sec-site .landing-mobile-menu > a:hover {
    border-color: rgba(117, 146, 255, 0.18);
    background: rgba(117, 146, 255, 0.12);
    color: #f8fafc;
}

.sec-site .landing-mobile-actions {
    gap: 9px;
    border-top-color: rgba(148, 163, 184, 0.14);
    margin-top: 10px;
    padding-top: 12px;
}

.sec-site .landing-mobile-actions .button {
    justify-content: center;
    min-height: 46px;
    border-radius: 10px;
}

.sec-hero {
    position: relative;
    display: grid;
    grid-template-columns: minmax(0, 1fr) minmax(420px, 0.9fr);
    gap: 44px;
    align-items: center;
    min-height: 550px;
    padding: 42px 0 36px;
}

.sec-hero::after {
    content: "";
    position: absolute;
    inset: auto 6% 30px 3%;
    height: 1px;
    background: linear-gradient(90deg, transparent, rgba(57, 217, 138, 0.5), rgba(117, 146, 255, 0.34), transparent);
    opacity: 0.8;
}

.sec-hero-copy,
.sec-section-copy {
    display: grid;
    gap: 14px;
    align-content: start;
}

.sec-kicker {
    margin: 0;
    color: #39d98a;
    font-size: 12px;
    font-weight: 900;
    letter-spacing: 0;
    text-transform: uppercase;
}

.sec-hero h1,
.sec-section-copy h2,
.sec-final h2 {
    margin: 0;
    color: #f8fafc;
    letter-spacing: 0;
}

.sec-hero h1 {
    max-width: 650px;
    font-size: clamp(48px, 5.7vw, 76px);
    line-height: 0.98;
}

.sec-lede,
.sec-section-copy p:not(.sec-kicker),
.sec-final p:not(.sec-kicker),
.sec-coverage-list p,
.sec-workflow p {
    margin: 0;
    color: #a9b7ca;
    line-height: 1.7;
}

.sec-lede {
    max-width: 600px;
    font-size: 17px;
}

.sec-actions {
    display: flex;
    flex-wrap: wrap;
    gap: 12px;
}

.sec-hero-stats {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    max-width: 660px;
    border-top: 1px solid rgba(148, 163, 184, 0.17);
    border-bottom: 1px solid rgba(148, 163, 184, 0.17);
    margin-top: 4px;
}

.sec-hero-stats span {
    display: grid;
    gap: 5px;
    border-right: 1px solid rgba(148, 163, 184, 0.14);
    color: #91a0b7;
    padding: 11px 14px 11px 0;
    font-size: 12px;
    font-weight: 800;
}

.sec-hero-stats span + span {
    padding-left: 18px;
}

.sec-hero-stats span:last-child {
    border-right: 0;
}

.sec-hero-stats b {
    color: #f8fafc;
    font-size: 19px;
    line-height: 1;
}

.sec-hero-visual {
    position: relative;
    display: flex;
    justify-content: flex-end;
    align-items: center;
}

.sec-dashboard-preview {
    width: min(100%, 560px);
    overflow: hidden;
    border: 1px solid rgba(148, 163, 184, 0.18);
    border-radius: 12px;
    background:
        linear-gradient(180deg, rgba(15, 23, 42, 0.96), rgba(6, 12, 20, 0.98)),
        #07101b;
    box-shadow: 0 30px 90px rgba(0, 0, 0, 0.32);
}

.sec-preview-top {
    display: flex;
    align-items: center;
    gap: 7px;
    border-bottom: 1px solid rgba(148, 163, 184, 0.14);
    padding: 12px 14px;
}

.sec-preview-top span {
    width: 9px;
    height: 9px;
    border-radius: 999px;
}

.sec-preview-top span:nth-child(1) { background: #ff6b6b; }
.sec-preview-top span:nth-child(2) { background: #fdb022; }
.sec-preview-top span:nth-child(3) { background: #39d98a; }

.sec-preview-top strong {
    margin-left: auto;
    color: #91a0b7;
    font-size: 12px;
    font-weight: 900;
    text-transform: uppercase;
}

.sec-preview-repo {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 18px;
    border-bottom: 1px solid rgba(148, 163, 184, 0.14);
    padding: 14px;
}

.sec-preview-repo small {
    display: block;
    color: #7f8da3;
    font-size: 11px;
    font-weight: 900;
    text-transform: uppercase;
}

.sec-preview-repo strong {
    display: block;
    color: #f8fafc;
    margin-top: 4px;
    font-family: ui-monospace, SFMono-Regular, Menlo, Monaco, Consolas, monospace;
    font-size: 16px;
}

.sec-preview-repo > span {
    flex: none;
    border: 1px solid rgba(57, 217, 138, 0.24);
    border-radius: 999px;
    background: rgba(57, 217, 138, 0.08);
    color: #39d98a;
    padding: 6px 10px;
    font-size: 12px;
    font-weight: 900;
}

.sec-preview-body {
    display: grid;
    grid-template-columns: 128px minmax(0, 1fr);
    gap: 0;
}

.sec-preview-score {
    display: grid;
    align-content: center;
    border-right: 1px solid rgba(148, 163, 184, 0.14);
    padding: 16px;
}

.sec-preview-score span {
    color: #f8fafc;
    font-size: 60px;
    font-weight: 900;
    line-height: 0.9;
}

.sec-preview-score p {
    margin: 10px 0 0;
    color: #9aa8bd;
    line-height: 1.45;
}

.sec-preview-findings {
    display: grid;
    padding: 8px 14px;
}

.sec-preview-findings article {
    display: grid;
    gap: 5px;
    border-bottom: 1px solid rgba(148, 163, 184, 0.12);
    padding: 10px 0;
}

.sec-preview-findings article:last-child {
    border-bottom: 0;
}

.sec-preview-findings b {
    color: #7592ff;
    font-size: 12px;
    text-transform: uppercase;
}

.sec-preview-findings span {
    color: #d8e2ef;
    line-height: 1.45;
}

.sec-preview-footer {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    border-top: 1px solid rgba(148, 163, 184, 0.14);
}

.sec-preview-footer span {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 7px;
    border-right: 1px solid rgba(148, 163, 184, 0.12);
    color: #8d9bb0;
    padding: 10px 8px;
    font-family: ui-monospace, SFMono-Regular, Menlo, Monaco, Consolas, monospace;
    font-size: 12px;
}

.sec-preview-footer span:last-child {
    border-right: 0;
}

.sec-preview-footer b {
    width: 7px;
    height: 7px;
    border-radius: 999px;
    background: #39d98a;
    box-shadow: 0 0 0 4px rgba(57, 217, 138, 0.08);
}

.sec-orbit {
    position: absolute;
    inset: -32px -28px -28px 28px;
    border: 1px solid rgba(117, 146, 255, 0.16);
    background:
        linear-gradient(90deg, rgba(117, 146, 255, 0.08) 1px, transparent 1px),
        linear-gradient(180deg, rgba(117, 146, 255, 0.08) 1px, transparent 1px);
    background-size: 46px 46px;
    opacity: 0.62;
    transform: perspective(780px) rotateY(-12deg) rotateX(4deg);
    pointer-events: none;
}

.sec-orbit span {
    position: absolute;
    border: 1px solid rgba(57, 217, 138, 0.2);
    background: rgba(57, 217, 138, 0.08);
}

.sec-orbit span:nth-child(1) {
    top: 36px;
    right: 48px;
    width: 92px;
    height: 42px;
}

.sec-orbit span:nth-child(2) {
    right: 118px;
    bottom: 42px;
    width: 132px;
    height: 54px;
    border-color: rgba(117, 146, 255, 0.2);
    background: rgba(117, 146, 255, 0.08);
}

.sec-orbit span:nth-child(3) {
    left: 48px;
    top: 44%;
    width: 10px;
    height: 10px;
    background: #39d98a;
    box-shadow: 0 0 0 10px rgba(57, 217, 138, 0.1);
}

.sec-trace {
    position: absolute;
    inset: 34px 0 auto auto;
    width: min(100%, 500px);
    border: 1px solid rgba(148, 163, 184, 0.18);
    background: linear-gradient(180deg, rgba(13, 22, 36, 0.96), rgba(7, 13, 22, 0.96)), #08111d;
    box-shadow: 0 34px 90px rgba(0, 0, 0, 0.32);
    transform: perspective(900px) rotateY(-8deg) rotateX(2deg);
}

.sec-live-card {
    position: absolute;
    left: 0;
    bottom: 18px;
    width: min(300px, 62%);
    border: 1px solid rgba(57, 217, 138, 0.24);
    background: rgba(5, 10, 18, 0.92);
    box-shadow: 0 24px 70px rgba(0, 0, 0, 0.3);
    padding: 13px;
}

.sec-live-card strong,
.sec-live-card span {
    display: block;
    font-size: 12px;
    font-weight: 900;
    text-transform: uppercase;
}

.sec-live-card strong {
    color: #39d98a;
}

.sec-live-card span {
    margin-top: 10px;
    color: #7592ff;
    font-family: ui-monospace, SFMono-Regular, Menlo, Monaco, Consolas, monospace;
}

.sec-live-card p {
    margin: 8px 0 0;
    color: #dbe7f6;
    line-height: 1.55;
}

.sec-trace-head {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 14px;
    border-bottom: 1px solid rgba(148, 163, 184, 0.16);
    padding: 12px 14px;
}

.sec-trace-head span,
.sec-trace-head strong,
.sec-terminal-grid article > div span,
.sec-terminal-grid article > div strong {
    color: #dbe7f6;
    font-family: ui-monospace, SFMono-Regular, Menlo, Monaco, Consolas, monospace;
    font-size: 13px;
}

.sec-trace-head strong {
    color: #39d98a;
}

.sec-trace-body {
    display: grid;
    grid-template-columns: 130px minmax(0, 1fr);
    gap: 16px;
    padding: 14px;
}

.sec-score {
    border-right: 1px solid rgba(148, 163, 184, 0.16);
    padding-right: 20px;
}

.sec-score span {
    display: block;
    color: #f8fafc;
    font-size: 60px;
    font-weight: 900;
    line-height: 0.9;
}

.sec-score p {
    margin: 8px 0 0;
    color: #98a8be;
    line-height: 1.45;
}

.sec-trace ol,
.sec-workflow ol {
    display: grid;
    gap: 8px;
    margin: 0;
    padding: 0;
    list-style: none;
}

.sec-trace li {
    display: grid;
    gap: 6px;
    border-bottom: 1px solid rgba(148, 163, 184, 0.12);
    padding-bottom: 9px;
}

.sec-trace li:last-child {
    border-bottom: 0;
    padding-bottom: 0;
}

.sec-trace b {
    color: #7592ff;
    font-size: 12px;
    text-transform: uppercase;
}

.sec-trace li span {
    color: #d8e2ef;
}

.sec-trace-flow {
    display: grid;
    grid-template-columns: repeat(5, minmax(0, 1fr));
    border-top: 1px solid rgba(148, 163, 184, 0.16);
}

.sec-trace-flow span {
    border-right: 1px solid rgba(148, 163, 184, 0.12);
    color: #98a8be;
    padding: 8px 10px;
    text-align: center;
    font-family: ui-monospace, SFMono-Regular, Menlo, Monaco, Consolas, monospace;
    font-size: 12px;
}

.sec-trace-flow span:last-child {
    border-right: 0;
}

.sec-logo-marquee {
    display: grid;
    gap: 8px;
    overflow: hidden;
    border-block: 1px solid rgba(148, 163, 184, 0.14);
    background: rgba(11, 18, 32, 0.54);
    margin-inline: calc((100vw - min(1180px, calc(100vw - 32px))) / -2);
    padding: 7px 0;
    mask-image: linear-gradient(90deg, transparent, #000 9%, #000 91%, transparent);
}

.sec-logo-marquee p {
    width: min(1180px, calc(100% - 32px));
    margin: 0 auto;
    color: #7f8da3;
    font-size: 12px;
    font-weight: 800;
    text-align: center;
}

.sec-marquee-track {
    display: flex;
    width: max-content;
    gap: 10px;
    animation: sec-marquee 34s linear infinite;
    padding-left: max(16px, calc((100vw - 1180px) / 2));
}

.sec-logo-marquee:hover .sec-marquee-track {
    animation-play-state: paused;
}

.sec-marquee-track span,
.sec-agent-strip span {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    min-height: 32px;
    border: 1px solid rgba(148, 163, 184, 0.14);
    background: rgba(15, 23, 42, 0.82);
    color: #dbe7f6;
    padding: 5px 10px;
    font-size: 12px;
    font-weight: 850;
    white-space: nowrap;
}

.sec-marquee-track img,
.sec-agent-strip img {
    width: 18px;
    height: 18px;
    border-radius: 5px;
    background: #fff;
    padding: 3px;
    box-sizing: content-box;
}

@keyframes sec-marquee {
    from { transform: translateX(0); }
    to { transform: translateX(-50%); }
}

.sec-split,
.sec-dev-lane,
.sec-agents,
.sec-workflow,
.sec-pricing,
.sec-final {
    display: grid;
    gap: 22px;
    padding: 44px 0;
}

.sec-split {
    padding-top: 48px;
}

.sec-split {
    grid-template-columns: minmax(280px, 0.82fr) minmax(0, 1.18fr);
    align-items: start;
}

.sec-section-copy {
    max-width: 600px;
}

.sec-section-copy h2,
.sec-final h2 {
    font-size: clamp(30px, 4vw, 50px);
    line-height: 1.02;
}

.sec-coverage-list {
    display: grid;
    border-top: 1px solid rgba(148, 163, 184, 0.18);
}

.sec-coverage-list article {
    display: grid;
    grid-template-columns: 58px minmax(180px, 0.42fr) minmax(0, 0.58fr);
    gap: 16px;
    align-items: start;
    border-bottom: 1px solid rgba(148, 163, 184, 0.18);
    padding: 10px 0;
}

.sec-coverage-list span,
.sec-workflow li span {
    color: #7592ff;
    font-family: ui-monospace, SFMono-Regular, Menlo, Monaco, Consolas, monospace;
    font-weight: 900;
}

.sec-coverage-list strong,
.sec-workflow strong {
    color: #f8fafc;
    font-size: 18px;
}

.sec-dev-lane {
    border-block: 1px solid rgba(148, 163, 184, 0.14);
    background: linear-gradient(180deg, rgba(7, 12, 20, 0.64), rgba(10, 16, 26, 0.88));
    margin-inline: calc((100vw - min(1180px, calc(100vw - 32px))) / -2);
    padding-inline: calc((100vw - min(1180px, calc(100vw - 32px))) / 2);
}

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

.sec-terminal-grid article,
.sec-prompt-card {
    min-width: 0;
    border: 1px solid rgba(148, 163, 184, 0.16);
    background: #050a12;
    box-shadow: 0 24px 70px rgba(0, 0, 0, 0.22);
}

.sec-terminal-grid article > div {
    display: flex;
    justify-content: space-between;
    gap: 16px;
    border-bottom: 1px solid rgba(148, 163, 184, 0.14);
    padding: 10px 12px;
}

.sec-terminal-grid article > div span {
    color: #39d98a;
    font-weight: 900;
}

.sec-terminal-grid pre,
.sec-prompt-card pre {
    max-width: 100%;
    overflow-x: auto;
    margin: 0;
    padding: 11px 12px;
}

.sec-terminal-grid code,
.sec-prompt-card code {
    display: grid;
    gap: 5px;
    color: #dbe7f6;
    background: transparent;
    border: 0;
    padding: 0;
    font-family: ui-monospace, SFMono-Regular, Menlo, Monaco, Consolas, monospace;
    font-size: 13px;
    line-height: 1.45;
}

.sec-terminal-grid code span,
.sec-prompt-card code span {
    display: block;
    min-width: max-content;
}

.sec-agents {
    grid-template-columns: minmax(280px, 0.78fr) minmax(0, 1.22fr);
    align-items: start;
}

.sec-agent-stack {
    display: grid;
    gap: 6px;
}

.sec-agent-strip {
    display: flex;
    flex-wrap: wrap;
    gap: 7px;
}

.sec-prompt-card {
    grid-column: auto;
}

.sec-prompt-card p {
    border-bottom: 1px solid rgba(148, 163, 184, 0.14);
    margin: 0;
    color: #98a8be;
    padding: 10px 12px;
    font-size: 13px;
    font-weight: 850;
    text-transform: uppercase;
}

.sec-prompt-card code span {
    min-width: 0;
    white-space: normal;
}

.sec-workflow ol {
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 0;
    border-top: 1px solid rgba(148, 163, 184, 0.18);
    border-left: 1px solid rgba(148, 163, 184, 0.18);
}

.sec-workflow li {
    display: grid;
    align-content: start;
    gap: 9px;
    min-height: 128px;
    border-right: 1px solid rgba(148, 163, 184, 0.18);
    border-bottom: 1px solid rgba(148, 163, 184, 0.18);
    padding: 12px;
}

.sec-pricing {
    border-block: 1px solid rgba(148, 163, 184, 0.14);
    background: rgba(11, 18, 32, 0.36);
    margin-inline: calc((100vw - min(1180px, calc(100vw - 32px))) / -2);
    padding-inline: calc((100vw - min(1180px, calc(100vw - 32px))) / 2);
}

.sec-final {
    grid-template-columns: minmax(0, 1fr) auto;
    align-items: end;
    border-bottom: 1px solid rgba(148, 163, 184, 0.14);
    padding-bottom: 18px;
}

@media (max-width: 980px) {
    .sec-nav {
        min-height: 58px;
        padding: 6px 0;
    }

    .sec-site .landing-nav-links,
    .sec-site .landing-nav-actions {
        display: none;
    }

    .sec-site .landing-menu-toggle {
        display: grid;
        flex: none;
    }

    body.landing-menu-open .sec-site .landing-mobile-menu {
        display: grid;
    }

    body.landing-menu-open .sec-nav {
        border-color: rgba(148, 163, 184, 0.16);
        border-bottom-color: transparent;
        border-radius: 0;
        background: #050a12;
    }

    body.landing-menu-open .sec-nav::before {
        background: #050a12;
    }

    .sec-hero,
    .sec-split,
    .sec-agents,
    .sec-final {
        grid-template-columns: 1fr;
    }

    .sec-hero {
        min-height: auto;
        gap: 24px;
        padding: 30px 0 24px;
    }

    .sec-hero::after {
        display: none;
    }

    .sec-hero-visual {
        min-height: auto;
    }

    .sec-orbit,
    .sec-live-card {
        display: none;
    }

    .sec-trace {
        position: static;
        width: 100%;
        transform: none;
    }

    .sec-preview-body {
        grid-template-columns: 1fr;
    }

    .sec-preview-score {
        border-right: 0;
        border-bottom: 1px solid rgba(148, 163, 184, 0.14);
    }

    .sec-prompt-card {
        grid-column: auto;
    }

    .sec-terminal-grid,
    .sec-workflow ol {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 720px) {
    .sec-site {
        width: min(100% - 24px, 680px);
        overflow-x: hidden;
    }

    .sec-hero {
        padding-inline: 8px;
    }

    .sec-hero h1 {
        max-width: 340px;
        font-size: 38px;
        line-height: 1.03;
    }

    .sec-lede {
        font-size: 16px;
    }

    .sec-actions,
    .sec-actions .button,
    .sec-final .button {
        width: 100%;
    }

    .sec-actions {
        display: grid;
    }

    .sec-hero-stats {
        grid-template-columns: repeat(3, minmax(0, 1fr));
    }

    .sec-hero-stats span,
    .sec-hero-stats span + span {
        border-right: 1px solid rgba(148, 163, 184, 0.14);
        border-bottom: 0;
        padding: 10px 6px 10px 0;
        font-size: 10px;
    }

    .sec-hero-stats span:last-child {
        border-right: 0;
    }

    .sec-hero-stats b {
        font-size: 16px;
    }

    .sec-trace-body,
    .sec-coverage-list article {
        grid-template-columns: 1fr;
    }

    .sec-score {
        border-right: 0;
        border-bottom: 1px solid rgba(148, 163, 184, 0.16);
        padding: 0 0 12px;
    }

    .sec-preview-repo {
        display: grid;
        gap: 10px;
        padding: 13px;
    }

    .sec-preview-repo > span {
        width: fit-content;
    }

    .sec-preview-score,
    .sec-preview-findings {
        padding: 11px 13px;
    }

    .sec-preview-score span {
        font-size: 52px;
    }

    .sec-preview-score p {
        margin-top: 6px;
    }

    .sec-preview-findings article {
        padding: 8px 0;
    }

    .sec-preview-footer {
        grid-template-columns: 1fr 1fr;
    }

    .sec-preview-footer span {
        padding: 8px;
    }

    .sec-preview-footer span:nth-child(2) {
        border-right: 0;
    }

    .sec-preview-footer span:nth-child(-n + 2) {
        border-bottom: 1px solid rgba(148, 163, 184, 0.12);
    }

    .sec-trace-flow {
        grid-template-columns: 1fr;
    }

    .sec-trace-flow span {
        border-right: 0;
        border-bottom: 1px solid rgba(148, 163, 184, 0.12);
    }

    .sec-trace-flow span:last-child {
        border-bottom: 0;
    }

    .sec-split,
    .sec-dev-lane,
    .sec-agents,
    .sec-workflow,
    .sec-pricing,
    .sec-final {
        padding: 34px 0;
    }

    .sec-dev-lane,
    .sec-pricing {
        margin-inline: -12px;
        padding-inline: 12px;
    }

    .sec-logo-marquee {
        margin-inline: -12px;
        mask-image: linear-gradient(90deg, transparent, #000 7%, #000 93%, transparent);
    }

    .sec-marquee-track {
        padding-left: 12px;
    }

    .sec-section-copy h2,
    .sec-final h2 {
        font-size: 30px;
        line-height: 1.05;
    }

    .sec-terminal-grid article > div {
        display: grid;
    }

    .sec-terminal-grid code,
    .sec-prompt-card code {
        font-size: 12px;
    }

    .sec-terminal-grid code span {
        min-width: 0;
        overflow-wrap: anywhere;
        white-space: pre-wrap;
    }
}

/* Final public rebuild overrides: keep these after legacy landing styles. */
.landing-shell.sr-home,
.landing-shell.sr-legal {
    width: min(1180px, calc(100% - 32px));
    padding-top: 0;
}

[data-force-theme="dark"] .landing-shell.sr-home::before,
[data-force-theme="dark"] .landing-shell.sr-legal::before {
    height: 760px;
    background:
        linear-gradient(180deg, rgba(5, 10, 18, 0.98), rgba(7, 13, 22, 0.96) 48%, rgba(5, 8, 13, 1)),
        radial-gradient(circle at 78% 18%, rgba(57, 217, 138, 0.13), transparent 28%),
        radial-gradient(circle at 48% 0%, rgba(108, 123, 255, 0.13), transparent 32%);
}

.landing-nav.sr-nav {
    min-height: 66px;
    border: 0;
    border-radius: 0;
    background: #070d16;
    padding: 0 14px;
}

.landing-nav.sr-nav::before {
    background: #070d16;
}

.landing-nav.sr-nav .landing-nav-links {
    gap: 22px;
    border: 0;
    background: transparent;
    padding: 0;
}

.landing-footer.sr-footer {
    border-color: rgba(148, 163, 184, 0.16);
    border-radius: 8px;
    background: #070d16;
}

@media (max-width: 980px) {
    .landing-nav.sr-nav {
        min-height: 60px;
        padding: 6px 0;
    }

    body.landing-menu-open .landing-nav.sr-nav,
    body.landing-menu-open .landing-nav.sr-nav::before {
        background: #070d16;
    }
}

@media (max-width: 720px) {
    .landing-shell.sr-home,
    .landing-shell.sr-legal {
        width: min(100% - 24px, 680px);
        padding-top: 0;
    }
}
