:root {
    color-scheme: light;
    --primary: #45d0bd;
    --blue: #44b6e9;
    --purple: #8258c8;
    --text: #111111;
    --body: #4f565d;
    --surface: #ffffff;
    --surface-soft: #ecf0f4;
    --surface-raised: #ffffff;
    --header: rgba(255, 255, 255, .96);
    --dark: #111111;
    --dark-2: #1b1b1b;
    --line: rgba(17, 17, 17, .11);
    --line-strong: rgba(17, 17, 17, .18);
    --line-dark: rgba(255, 255, 255, .12);
    --good: #1b995d;
    --warn: #c17e0a;
    --bad: #c94343;
    --heading: "Sora", Arial, Helvetica, sans-serif;
    --body-font: "Manrope", "Segoe UI", Arial, Helvetica, sans-serif;
    --max: 1320px;
    --radius: 25px;
    --shadow: 0 18px 60px rgba(0, 0, 0, .07);
}

html[data-theme="dark"] {
    color-scheme: dark;
    --text: #f3f7fa;
    --body: #b7c0c8;
    --surface: #0d1116;
    --surface-soft: #151b21;
    --surface-raised: #11171d;
    --header: rgba(13, 17, 22, .96);
    --line: rgba(255, 255, 255, .10);
    --line-strong: rgba(255, 255, 255, .17);
    --shadow: 0 20px 62px rgba(0, 0, 0, .24);
}

* {
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    margin: 0;
    background: var(--surface);
    color: var(--body);
    font-family: var(--body-font);
    font-size: 16px;
    line-height: 1.7;
    -webkit-font-smoothing: antialiased;
    transition: background-color .2s ease, color .2s ease;
}

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

a {
    color: inherit;
    text-decoration: none;
    transition: .2s ease;
}

img {
    display: block;
    max-width: 100%;
}

.container {
    width: min(calc(100% - 40px), var(--max));
    margin-inline: auto;
}

/* Header */

.site-header {
    position: sticky;
    top: 0;
    z-index: 50;
    border-bottom: 1px solid var(--line);
    background: var(--header);
    backdrop-filter: blur(18px);
}

.header-inner {
    display: grid;
    min-height: 82px;
    grid-template-columns: minmax(220px, 280px) 1fr auto;
    gap: 26px;
    align-items: center;
}

.brand-logo img {
    width: 245px;
    height: auto;
}

html[data-theme="dark"] .brand-logo img {
    filter: brightness(1.08);
}

.site-nav {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    align-items: center;
    gap: 6px;
}

.site-nav a {
    display: inline-flex;
    min-height: 42px;
    align-items: center;
    padding: 0 15px;
    border-radius: 999px;
    color: var(--text);
    font-size: 14px;
    font-weight: 500;
}

.site-nav a:hover,
.site-nav a[aria-current="page"] {
    background: var(--surface-soft);
}

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

.theme-toggle,
.header-cta {
    display: inline-flex;
    min-height: 44px;
    align-items: center;
    justify-content: center;
    border: 1px solid var(--line-strong);
    background: transparent;
    color: var(--text);
}

.theme-toggle {
    width: 44px;
    padding: 0;
    border-radius: 50%;
    cursor: pointer;
}

.theme-toggle:hover,
.header-cta:hover {
    border-color: var(--text);
    background: var(--text);
    color: var(--surface);
}

.theme-toggle-icon {
    font-size: 18px;
    line-height: 1;
}

.header-cta {
    padding: 0 19px;
    border-radius: 999px;
    font-size: 14px;
    font-weight: 600;
}

/* Hero */

.page-banner {
    position: relative;
    min-height: 410px;
    margin: 0 18px;
    padding: 68px 0;
    overflow: hidden;
    border-radius: 0 0 30px 30px;
    background:
        linear-gradient(90deg, rgba(4, 10, 22, .98), rgba(4, 21, 38, .89)),
        url("../images/osintersect-hex-grid-dark.jpg") center / cover no-repeat;
    color: #ffffff;
}

.page-banner::before {
    content: "";
    position: absolute;
    inset: 0;
    background:
        radial-gradient(circle at 80% 16%, rgba(68, 182, 233, .19), transparent 30%),
        radial-gradient(circle at 24% 90%, rgba(69, 208, 189, .12), transparent 36%);
    pointer-events: none;
}

.page-banner-inner {
    position: relative;
    z-index: 2;
    display: grid;
    grid-template-columns: minmax(0, 1fr);
    gap: 46px;
    align-items: center;
}

.eyebrow,
.sub-title {
    display: inline-flex;
    width: fit-content;
    min-height: 32px;
    align-items: center;
    margin-bottom: 16px;
    padding: 7px 12px;
    border: 1px solid rgba(69, 208, 189, .62);
    border-radius: 999px;
    color: inherit;
    font-size: 11px;
    line-height: 1;
    letter-spacing: .04em;
    text-transform: uppercase;
}

.page-banner h1,
.section-title h2 {
    margin-top: 0;
    font-family: var(--heading);
    font-weight: 500;
    letter-spacing: -.055em;
}

.page-banner h1 {
    max-width: 850px;
    margin-bottom: 18px;
    color: #ffffff;
    font-size: clamp(48px, 6vw, 76px);
    line-height: 1.02;
}

.page-banner p {
    max-width: 720px;
    margin: 0;
    color: rgba(255, 255, 255, .72);
    font-size: 18px;
    line-height: 1.72;
}

.banner-product {
    display: grid;
    min-height: 220px;
    place-items: center;
    padding: 30px;
    border: 1px solid rgba(255, 255, 255, .13);
    border-radius: var(--radius);
    background:
        linear-gradient(rgba(68, 182, 233, .06) 1px, transparent 1px),
        linear-gradient(90deg, rgba(68, 182, 233, .06) 1px, transparent 1px),
        rgba(5, 10, 18, .48);
    background-size: 30px 30px;
    box-shadow: 0 24px 80px rgba(0, 0, 0, .28);
}

.banner-product img {
    width: min(430px, 94%);
}

.banner-product span {
    margin-top: 18px;
    color: rgba(255, 255, 255, .48);
    font-size: 11px;
    letter-spacing: .08em;
    text-transform: uppercase;
}

.actions {
    display: flex;
    flex-wrap: wrap;
    gap: 14px;
    align-items: center;
    margin-top: 26px;
}

.ibt-btn {
    display: inline-flex;
    min-height: 50px;
    align-items: center;
    justify-content: center;
    padding: 0 22px;
    border: 1px solid var(--text);
    border-radius: 6px;
    background: var(--text);
    color: var(--surface);
    font-size: 14px;
    font-weight: 600;
}

.page-banner .ibt-btn {
    border-color: var(--primary);
    background: var(--primary);
    color: #071518;
}

.ibt-btn:hover {
    border-color: var(--primary);
    background: var(--primary);
    color: #071518;
}

.page-banner .ibt-btn:hover {
    border-color: #ffffff;
    background: #ffffff;
}

.text-link {
    display: inline-flex;
    align-items: center;
    gap: 7px;
    color: rgba(255, 255, 255, .78);
    font-size: 14px;
    font-weight: 600;
}

.text-link:hover {
    color: #ffffff;
}

.ibt-btn.disabled,
.ibt-btn[aria-disabled="true"] {
    border-color: rgba(255, 255, 255, .18);
    background: rgba(255, 255, 255, .13);
    color: rgba(255, 255, 255, .54);
    cursor: not-allowed;
    pointer-events: none;
}

.product-card .ibt-btn.disabled {
    border-color: #d7dadd;
    background: #d7dadd;
    color: #777e86;
}

html[data-theme="dark"] .product-card .ibt-btn.disabled {
    border-color: rgba(255, 255, 255, .12);
    background: rgba(255, 255, 255, .08);
    color: rgba(255, 255, 255, .38);
}

.security-note {
    max-width: 760px !important;
    margin-top: 24px !important;
    padding-left: 15px;
    border-left: 2px solid rgba(69, 208, 189, .68);
    color: rgba(255, 255, 255, .56) !important;
    font-size: 13px !important;
    line-height: 1.65 !important;
}

/* Main content */

.section {
    padding: 86px 0;
}

.section.light {
    background: var(--surface-soft);
}

.section-title {
    display: grid;
    grid-template-columns: minmax(0, 1fr) minmax(280px, .48fr);
    gap: 36px;
    align-items: end;
    margin-bottom: 40px;
}

.section-title h2 {
    margin-bottom: 0;
    color: var(--text);
    font-size: clamp(40px, 5vw, 62px);
    line-height: 1.05;
}

.section-title p {
    margin: 0;
    color: var(--body);
}

.product-grid {
    display: grid;
    grid-template-columns: minmax(0, 1.08fr) minmax(360px, .92fr);
    gap: 22px;
    align-items: stretch;
}

.product-card,
.verification-card {
    min-height: 100%;
    padding: 34px;
    border-radius: var(--radius);
}

.product-card {
    border: 1px solid var(--line);
    background: var(--surface-raised);
    box-shadow: var(--shadow);
}

.product-card-head {
    display: grid;
    grid-template-columns: 140px 1fr;
    gap: 26px;
    align-items: center;
    padding-bottom: 28px;
    border-bottom: 1px solid var(--line);
}

.product-card-head img {
    width: 140px;
    padding: 14px;
    border-radius: 18px;
    background: var(--dark);
}

.product-card h3,
.verification-card h3,
.step-card h3,
.powershell-box h3 {
    margin: 12px 0 0;
    color: var(--text);
    font-family: var(--heading);
    font-size: 30px;
    font-weight: 500;
    letter-spacing: -.045em;
}

.verification-card {
    background:
        radial-gradient(circle at 92% 0%, rgba(68, 182, 233, .18), transparent 34%),
        var(--dark);
    color: #ffffff;
}

.verification-card h3 {
    margin: 0 0 20px;
    color: #ffffff;
}

.empty-state {
    margin-top: 26px;
    padding: 24px;
    border: 1px dashed var(--line-strong);
    border-radius: 18px;
    background: rgba(17, 17, 17, .025);
}

html[data-theme="dark"] .empty-state {
    background: rgba(255, 255, 255, .025);
}

.empty-state h4 {
    margin: 0 0 8px;
    color: var(--text);
    font-family: var(--heading);
    font-size: 24px;
    font-weight: 500;
    letter-spacing: -.035em;
}

.empty-state p,
.download-help {
    margin: 0;
}

.download-help {
    margin-top: 18px;
    color: var(--body);
    font-size: 13px;
    line-height: 1.6;
}

.download-help a {
    color: #167ead;
    text-decoration: underline;
}

.release-table,
.verification-table {
    width: 100%;
    margin-top: 20px;
    border-collapse: collapse;
}

.release-table th,
.release-table td,
.verification-table th,
.verification-table td {
    padding: 14px 0;
    border-bottom: 1px solid var(--line);
    text-align: left;
    vertical-align: top;
    overflow-wrap: anywhere;
}

.release-table th {
    width: 34%;
    padding-right: 18px;
    color: var(--body);
    font-size: 13px;
    font-weight: 500;
}

.release-table td {
    color: var(--text);
    font-size: 14px;
}

.verification-table th,
.verification-table td {
    border-color: rgba(255, 255, 255, .10);
}

.verification-table th {
    width: 52%;
    padding-right: 18px;
    color: rgba(255, 255, 255, .58);
    font-size: 13px;
    font-weight: 500;
}

.status {
    display: inline-flex;
    width: fit-content;
    min-height: 31px;
    align-items: center;
    gap: 8px;
    padding: 6px 11px;
    border: 1px solid var(--line-strong);
    border-radius: 999px;
    background: rgba(17, 17, 17, .03);
    color: var(--body);
    font-size: 12px;
    line-height: 1;
}

html[data-theme="dark"] .status {
    background: rgba(255, 255, 255, .035);
}

.status::before {
    content: "";
    width: 8px;
    height: 8px;
    border-radius: 50%;
    background: #9098a0;
}

.status.good {
    border-color: rgba(27, 153, 93, .28);
    background: rgba(27, 153, 93, .07);
    color: var(--good);
}

.status.good::before {
    background: var(--good);
}

.status.warn {
    border-color: rgba(193, 126, 10, .30);
    background: rgba(193, 126, 10, .08);
    color: var(--warn);
}

.status.warn::before {
    background: var(--warn);
}

.status.bad {
    border-color: rgba(201, 67, 67, .30);
    background: rgba(201, 67, 67, .08);
    color: var(--bad);
}

.status.bad::before {
    background: var(--bad);
}

.verification-card .status {
    border-color: rgba(255, 255, 255, .16);
    background: rgba(255, 255, 255, .05);
    color: rgba(255, 255, 255, .66);
}

.verification-card .status.good {
    color: #75d9a4;
}

.verification-card .status.warn {
    color: #efc36b;
}

.verification-card .status.bad {
    color: #ff9a9a;
}

.hash-block {
    margin-top: 26px;
    padding: 19px;
    border: 1px solid rgba(255, 255, 255, .12);
    border-radius: 16px;
    background: rgba(255, 255, 255, .05);
}

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

.copy-row > span {
    color: rgba(255, 255, 255, .48);
    font-size: 11px;
    letter-spacing: .03em;
    text-transform: uppercase;
}

.hash-block code,
.command-block code {
    display: block;
    color: rgba(255, 255, 255, .90);
    font-family: ui-monospace, SFMono-Regular, Menlo, Monaco, Consolas, monospace;
    font-size: 12px;
    line-height: 1.65;
    overflow-wrap: anywhere;
}

.copy-button {
    min-height: 30px;
    padding: 0 10px;
    border: 1px solid rgba(255, 255, 255, .15);
    border-radius: 999px;
    background: rgba(255, 255, 255, .06);
    color: rgba(255, 255, 255, .76);
    font-size: 11px;
    cursor: pointer;
}

.copy-button:hover:not(:disabled) {
    border-color: var(--primary);
    color: #ffffff;
}

.copy-button:disabled {
    opacity: .42;
    cursor: not-allowed;
}

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

.step-card {
    min-height: 260px;
    padding: 26px;
    border: 1px solid var(--line);
    border-radius: var(--radius);
    background: var(--surface-raised);
}

.step-card > span {
    display: inline-flex;
    width: 46px;
    height: 46px;
    align-items: center;
    justify-content: center;
    margin-bottom: 38px;
    border: 1px solid var(--line-strong);
    border-radius: 50%;
    color: var(--text);
    font-size: 12px;
}

.step-card h3 {
    font-size: 25px;
}

.step-card p {
    margin-bottom: 0;
}

.powershell-box {
    display: grid;
    grid-template-columns: minmax(260px, .42fr) 1fr;
    gap: 30px;
    align-items: center;
    margin-top: 22px;
    padding: 32px;
    border-radius: var(--radius);
    background: var(--dark);
    color: #ffffff;
}

.powershell-box h3 {
    margin-top: 0;
    color: #ffffff;
}

.powershell-box p {
    margin: 10px 0 0;
    color: rgba(255, 255, 255, .58);
    font-size: 13px;
}

.command-block {
    padding: 20px;
    border: 1px solid rgba(255, 255, 255, .12);
    border-radius: 15px;
    background: rgba(255, 255, 255, .06);
}

.copy-feedback {
    position: fixed;
    right: 18px;
    bottom: 18px;
    z-index: 100;
    padding: 10px 14px;
    border: 1px solid rgba(255, 255, 255, .14);
    border-radius: 999px;
    background: #101214;
    color: #ffffff;
    font-size: 12px;
    opacity: 0;
    pointer-events: none;
    transform: translateY(8px);
    transition: opacity .18s ease, transform .18s ease;
}

.copy-feedback.is-visible {
    opacity: 1;
    transform: translateY(0);
}

/* Footer */

.site-footer {
    margin: 0 18px 18px;
    padding: 66px 0 26px;
    border-radius: 0 0 30px 30px;
    background: #090909;
    color: #ffffff;
}

.footer-grid {
    display: grid;
    grid-template-columns: minmax(0, 1.2fr) repeat(2, minmax(180px, .4fr));
    gap: 48px;
    padding-bottom: 48px;
}

.footer-logo img {
    width: 245px;
    margin-bottom: 20px;
}

.footer-copy {
    max-width: 560px;
    margin: 0;
    color: rgba(255, 255, 255, .60);
}

.footer-heading {
    margin: 0 0 18px;
    color: #ffffff;
    font-family: var(--heading);
    font-size: 20px;
    font-weight: 500;
}

.footer-links {
    display: grid;
    gap: 10px;
}

.footer-links a {
    color: rgba(255, 255, 255, .65);
}

.footer-links a:hover {
    color: #ffffff;
}

.footer-bottom {
    display: flex;
    flex-wrap: wrap;
    justify-content: space-between;
    gap: 20px;
    padding-top: 22px;
    border-top: 1px solid rgba(255, 255, 255, .10);
    color: rgba(255, 255, 255, .45);
    font-size: 13px;
}

[data-release-loading] .status {
    animation: pulse 1.4s ease-in-out infinite;
}

[data-release-error] .empty-state {
    border-style: solid;
    border-color: rgba(201, 67, 67, .24);
}

[hidden] {
    display: none !important;
}

@keyframes pulse {
    0%,
    100% {
        opacity: .62;
    }

    50% {
        opacity: 1;
    }
}

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

@media (max-width: 1080px) {
    .header-inner {
        grid-template-columns: 1fr auto;
    }

    .site-nav {
        grid-column: 1 / -1;
        order: 3;
        justify-content: flex-start;
        padding-bottom: 16px;
    }

    .page-banner-inner,
    .section-title,
    .product-grid,
    .footer-grid {
        grid-template-columns: 1fr;
    }

    .banner-product {
        min-height: 190px;
    }

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

    .step-card {
        min-height: auto;
    }

    .powershell-box {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 720px) {
    .container {
        width: min(calc(100% - 28px), var(--max));
    }

    .site-header {
        position: relative;
    }

    .header-inner {
        grid-template-columns: 1fr;
        gap: 14px;
        padding: 16px 0;
    }

    .brand-logo img {
        width: 220px;
    }

    .site-nav {
        display: grid;
        width: 100%;
        grid-template-columns: 1fr;
        padding: 0;
    }

    .site-nav a {
        width: 100%;
        justify-content: center;
        border: 1px solid var(--line);
        border-radius: 10px;
    }

    .header-actions {
        width: 100%;
    }

    .header-cta {
        flex: 1;
    }

    .page-banner {
        min-height: auto;
        margin: 0 8px;
        padding: 54px 0 62px;
        border-radius: 0 0 24px 24px;
    }

    .page-banner h1 {
        font-size: 45px;
    }

    .page-banner p {
        font-size: 16px;
    }

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

    .page-banner .ibt-btn,
    .text-link {
        width: 100%;
        justify-content: center;
    }

    .section {
        padding: 64px 0;
    }

    .section-title h2 {
        font-size: 39px;
    }

    .product-card,
    .verification-card,
    .powershell-box {
        padding: 24px;
    }

    .product-card-head {
        grid-template-columns: 1fr;
    }

    .product-card-head img {
        width: 120px;
    }

    .site-footer {
        margin: 0 8px 8px;
        border-radius: 0 0 24px 24px;
    }
}

/* Windows + Linux release layout */

.page-banner .ibt-btn-secondary {
    border-color: rgba(255, 255, 255, .32);
    background: rgba(255, 255, 255, .08);
    color: #ffffff;
}

.page-banner .ibt-btn-secondary:hover {
    border-color: #ffffff;
    background: #ffffff;
    color: #071518;
}

.release-stack {
    display: grid;
    gap: 34px;
}

.platform-release {
    scroll-margin-top: 108px;
}

.platform-release + .platform-release {
    padding-top: 34px;
    border-top: 1px solid var(--line);
}

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

.platform-heading h3 {
    margin: 5px 0 0;
    color: var(--text);
    font-family: var(--heading);
    font-size: clamp(28px, 3vw, 38px);
    font-weight: 500;
    letter-spacing: -.045em;
    line-height: 1.12;
}

.platform-label,
.product-kicker {
    color: var(--body);
    font-size: 11px;
    font-weight: 700;
    letter-spacing: .08em;
    text-transform: uppercase;
}

.product-card-head .product-kicker {
    display: block;
    margin-bottom: 5px;
}

.supporting-files {
    display: flex;
    flex-wrap: wrap;
    gap: 9px;
    margin-top: 18px;
}

.supporting-files a {
    display: inline-flex;
    min-height: 36px;
    align-items: center;
    padding: 0 12px;
    border: 1px solid var(--line-strong);
    border-radius: 999px;
    color: var(--text);
    font-size: 12px;
    font-weight: 600;
}

.supporting-files a:hover {
    border-color: var(--primary);
    color: #167ead;
}

.fingerprint-block {
    margin-top: 26px;
    padding: 19px;
    border: 1px solid rgba(255, 255, 255, .12);
    border-radius: 16px;
    background: rgba(255, 255, 255, .05);
}

.fingerprint-block > span {
    display: block;
    margin-bottom: 9px;
    color: rgba(255, 255, 255, .48);
    font-size: 11px;
    letter-spacing: .03em;
    text-transform: uppercase;
}

.fingerprint-block code {
    display: block;
    color: rgba(255, 255, 255, .92);
    font-family: ui-monospace, SFMono-Regular, Menlo, Monaco, Consolas, monospace;
    font-size: 12px;
    line-height: 1.65;
    overflow-wrap: anywhere;
}

.fingerprint-block small {
    display: block;
    margin-top: 8px;
    color: rgba(255, 255, 255, .52);
    font-size: 11px;
    line-height: 1.55;
    overflow-wrap: anywhere;
}

.command-stack {
    display: grid;
    gap: 18px;
    margin-top: 22px;
}

.command-stack .powershell-box {
    margin-top: 0;
}

.command-block code {
    white-space: pre-wrap;
}

.status.neutral {
    border-color: var(--line-strong);
    background: rgba(127, 136, 145, .08);
    color: var(--body);
}

.verification-card .status.neutral {
    border-color: rgba(255, 255, 255, .16);
    background: rgba(255, 255, 255, .05);
    color: rgba(255, 255, 255, .66);
}

@media (max-width: 720px) {
    .platform-heading {
        align-items: flex-start;
        flex-direction: column;
    }

    .supporting-files {
        display: grid;
    }

    .supporting-files a {
        justify-content: center;
        text-align: center;
    }
}
