@font-face {
    font-family: "Instrument Sans";
    font-style: normal;
    font-weight: 400 700;
    font-display: swap;
    src: url("./fonts/instrument-sans-latin.woff2") format("woff2");
    unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}

@font-face {
    font-family: "Instrument Sans";
    font-style: normal;
    font-weight: 400 700;
    font-display: swap;
    src: url("./fonts/instrument-sans-latin-ext.woff2") format("woff2");
    unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF;
}

@font-face {
    font-family: "Instrument Sans";
    font-style: italic;
    font-weight: 400 700;
    font-display: swap;
    src: url("./fonts/instrument-sans-italic-latin.woff2") format("woff2");
    unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}

@font-face {
    font-family: "Instrument Sans";
    font-style: italic;
    font-weight: 400 700;
    font-display: swap;
    src: url("./fonts/instrument-sans-italic-latin-ext.woff2") format("woff2");
    unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF;
}

@font-face {
    font-family: "JetBrains Mono";
    font-style: normal;
    font-weight: 400 600;
    font-display: swap;
    src: url("./fonts/jetbrains-mono-latin.woff2") format("woff2");
    unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}

@font-face {
    font-family: "JetBrains Mono";
    font-style: normal;
    font-weight: 400 600;
    font-display: swap;
    src: url("./fonts/jetbrains-mono-latin-ext.woff2") format("woff2");
    unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF;
}

:root {
    color-scheme: dark;

    --font-family-app: "Instrument Sans", system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
    --font-family-mono: "JetBrains Mono", ui-monospace, "SFMono-Regular", "SF Mono", Consolas, "Liberation Mono", Menlo, monospace;

    --surface-canvas: #0a0d12;
    --surface-base: #0e1218;
    --surface-raised: #141922;
    --surface-hover: #1b212c;
    --surface-active: #252c38;

    --text-primary: #e7ebf1;
    --text-secondary: #b4bbc6;
    --text-tertiary: #7d8696;
    --text-body: color-mix(in srgb, var(--text-primary) 84%, var(--text-tertiary));

    --line: color-mix(in srgb, #ffffff 8%, transparent);
    --line-strong: color-mix(in srgb, #ffffff 13%, transparent);
    --rim-light: inset 0 1px 0 color-mix(in srgb, #ffffff 5%, transparent);

    --color-primary: #8fd3ff;
    --color-primary-contrast: #0a0d12;
    --color-primary-hover: color-mix(in srgb, var(--color-primary) 84%, #ffffff);
    --color-primary-border: color-mix(in srgb, var(--color-primary) 35%, transparent);
    --color-warning: #f5c76a;
    --color-warning-soft: color-mix(in srgb, var(--color-warning) 10%, transparent);
    --color-warning-border: color-mix(in srgb, var(--color-warning) 35%, transparent);

    --sky-star: rgb(245 248 255 / 0.95);
    --sky-star-halo: rgb(225 236 255 / 0.12);
    --sky-line: rgb(190 210 235 / 0.3);
    --sky-caption: rgb(215 225 240 / 0.62);

    --radius-xs: 3px;
    --radius-sm: 5px;
    --radius-md: 7px;
    --radius-lg: 10px;
    --radius-xl: 14px;

    --letter-spacing-tight: -0.015em;
    --letter-spacing-display: -0.025em;
    --letter-spacing-label: 0.06em;

    --duration-fast: 0.12s;
    --duration-base: 0.18s;
    --ease-standard: cubic-bezier(0.2, 0, 0, 1);

    --header-height: 64px;
}

*,
*::before,
*::after {
    box-sizing: border-box;
}

html {
    background-color: var(--surface-canvas);
    scroll-behavior: smooth;
    scroll-padding-top: 24px;
    -webkit-text-size-adjust: 100%;
}

body {
    margin: 0;
    min-height: 100vh;
    display: flex;
    flex-direction: column;
    background-color: var(--surface-canvas);
    color: var(--text-primary);
    font-family: var(--font-family-app);
    font-size: 16px;
    line-height: 1.6;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
    text-rendering: optimizeLegibility;
}

main {
    flex: 1 0 auto;
}

h1,
h2,
h3,
h4,
h5,
h6 {
    margin: 0;
    font-weight: 600;
    line-height: 1.2;
    letter-spacing: var(--letter-spacing-tight);
}

p,
figure {
    margin: 0;
}

a {
    color: var(--color-primary);
    text-decoration: none;
}

img,
svg,
canvas {
    display: block;
    max-width: 100%;
}

:focus-visible {
    outline: 2px solid var(--color-primary);
    outline-offset: 2px;
    border-radius: var(--radius-sm);
}

::selection {
    background-color: color-mix(in srgb, var(--color-primary) 30%, transparent);
}

.container {
    width: 100%;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 clamp(20px, 5vw, 48px);
}

.skip-link {
    position: absolute;
    top: 8px;
    left: 8px;
    z-index: 50;
    padding: 8px 14px;
    border-radius: var(--radius-md);
    background-color: var(--color-primary);
    color: var(--color-primary-contrast);
    font-weight: 600;
    transform: translateY(-200%);
}

.skip-link:focus {
    transform: none;
}

.is-hidden {
    display: none !important;
}

.site-header {
    position: relative;
    z-index: 20;
    border-bottom: 1px solid var(--line);
    background-color: var(--surface-canvas);
}

.site-header.overlay {
    position: absolute;
    top: 0;
    right: 0;
    left: 0;
    border-bottom-color: transparent;
    background-color: transparent;
}

.header-inner {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 24px;
    height: var(--header-height);
}

.brand {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    color: var(--text-primary);
    font-size: 18px;
    font-weight: 700;
    letter-spacing: var(--letter-spacing-tight);
}

.victor-mark {
    width: 24px;
    height: 31px;
}

.site-nav {
    display: flex;
    align-items: center;
    gap: 2px;
}

.site-nav a:not(.btn) {
    padding: 8px 12px;
    border-radius: var(--radius-md);
    color: var(--text-secondary);
    font-size: 14px;
    font-weight: 500;
    transition: color var(--duration-fast) var(--ease-standard);
}

.site-nav a:not(.btn):hover,
.site-nav a[aria-current="page"] {
    color: var(--text-primary);
}

.site-nav .btn {
    margin-left: 14px;
}

.menu-toggle {
    display: none;
    align-items: center;
    justify-content: center;
    width: 40px;
    height: 40px;
    padding: 0;
    border: 1px solid var(--line-strong);
    border-radius: var(--radius-md);
    background-color: var(--surface-raised);
    color: var(--text-primary);
    font-size: 20px;
    cursor: pointer;
}

.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    height: 40px;
    padding: 0 16px;
    border: 1px solid transparent;
    border-radius: var(--radius-md);
    font: inherit;
    font-size: 14px;
    font-weight: 600;
    line-height: 1;
    white-space: nowrap;
    cursor: pointer;
    transition: background-color var(--duration-fast) var(--ease-standard), border-color var(--duration-fast) var(--ease-standard), color var(--duration-fast) var(--ease-standard);
}

.btn-sm {
    height: 34px;
    padding: 0 14px;
    font-size: 13px;
}

.btn-lg {
    height: 46px;
    padding: 0 20px;
    font-size: 15px;
}

.btn-primary {
    background-color: var(--color-primary);
    color: var(--color-primary-contrast);
}

.btn-primary:hover {
    background-color: var(--color-primary-hover);
}

.btn-secondary {
    border-color: var(--line-strong);
    background-color: var(--surface-raised);
    color: var(--text-primary);
    box-shadow: var(--rim-light);
}

.btn-secondary:hover {
    background-color: var(--surface-hover);
}

[data-download].is-loading {
    cursor: progress;
    opacity: 0.7;
}

.sky-caption {
    color: var(--sky-caption);
    font-family: var(--font-family-mono);
    font-size: 11px;
    white-space: nowrap;
}

.sky-layer {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    opacity: 0;
    transition: opacity 0.9s var(--ease-standard);
}

.sky-layer[data-ready] {
    opacity: 1;
}

.hero {
    position: relative;
    isolation: isolate;
    display: flex;
    align-items: center;
    min-height: clamp(660px, 100svh, 940px);
    overflow: hidden;
}

.hero-sky {
    position: absolute;
    inset: 0;
    z-index: -1;
    pointer-events: none;
}

.hero-sky::after {
    content: "";
    position: absolute;
    inset: 0;
    background:
        linear-gradient(90deg, var(--surface-canvas) 24%, color-mix(in srgb, var(--surface-canvas) 55%, transparent) 46%, transparent 64%),
        linear-gradient(0deg, var(--surface-canvas), transparent 96px);
}

.constellation {
    position: absolute;
    top: 13%;
    right: 5%;
    display: flex;
    flex-direction: column;
    align-items: flex-end;
    gap: 14px;
    width: min(18vw, 250px);
}

.constellation svg {
    width: 100%;
    height: auto;
    overflow: visible;
}

.constellation line {
    stroke: var(--sky-line);
    stroke-width: 2;
}

.constellation circle {
    fill: var(--sky-star);
}

.constellation circle.halo {
    fill: var(--sky-star-halo);
}

.hero-victor {
    position: absolute;
    top: 38%;
    left: 66%;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 14px;
}

.hero-victor img {
    width: min(11vw, 160px);
    height: auto;
    animation: victor-drift 8s var(--ease-standard) infinite alternate;
    user-select: none;
}

@keyframes victor-drift {
    from {
        transform: translateY(-6px) rotate(-10deg);
    }

    to {
        transform: translateY(6px) rotate(-4deg);
    }
}

.hero-inner {
    padding-top: calc(var(--header-height) + 24px);
    padding-bottom: 72px;
}

.hero-copy {
    max-width: 800px;
}

.hero-title {
    margin-bottom: 22px;
    font-size: clamp(36px, 3.7vw, 54px);
    font-weight: 600;
    line-height: 1.06;
    letter-spacing: -0.03em;
    text-shadow: 0 1px 3px rgb(0 0 0 / 0.7), 0 0 18px rgb(0 0 0 / 0.75), 0 0 42px rgb(0 0 0 / 0.65);
}

.hero-title span,
.hero-title em {
    display: block;
    text-wrap: balance;
}

.hero-title em {
    color: var(--text-tertiary);
    font-style: normal;
}

@media (min-width: 901px) {
    .hero-title {
        white-space: nowrap;
    }
}

.hero-eyebrow {
    margin-bottom: 20px;
    color: var(--text-secondary);
    font-family: var(--font-family-mono);
    font-size: 13px;
    letter-spacing: var(--letter-spacing-label);
    text-transform: uppercase;
    text-shadow: 0 0 16px rgb(0 0 0 / 0.8);
}

.hero-lede {
    max-width: 440px;
    margin-bottom: 36px;
    color: var(--text-secondary);
    font-size: 18px;
    line-height: 1.55;
}

.hero-actions {
    display: flex;
    flex-wrap: wrap;
    gap: 12px;
}

.hero-note {
    margin-top: 18px;
    color: var(--text-tertiary);
    font-family: var(--font-family-mono);
    font-size: 12px;
}

.section {
    padding: clamp(80px, 10vw, 128px) 0;
    border-top: 1px solid var(--line);
}

.hero + .section {
    border-top: 0;
    padding-top: clamp(56px, 7vw, 88px);
}

.section-head {
    max-width: 640px;
    margin-bottom: 48px;
}

.eyebrow {
    margin-bottom: 16px;
    color: var(--text-tertiary);
    font-family: var(--font-family-mono);
    font-size: 12px;
    letter-spacing: var(--letter-spacing-label);
    text-transform: uppercase;
}

.section-head h2 {
    font-size: clamp(28px, 3vw, 40px);
    line-height: 1.1;
    letter-spacing: var(--letter-spacing-display);
    text-wrap: balance;
}

.section-lede {
    max-width: 580px;
    margin-top: 16px;
    color: var(--text-secondary);
    font-size: 17px;
}

.product-shot {
    margin-bottom: 48px;
    overflow: hidden;
    border: 1px solid var(--line-strong);
    border-radius: var(--radius-xl);
    background-color: var(--surface-base);
}

.product-shot img {
    width: 100%;
    height: auto;
}

.feature-grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 1px;
    overflow: hidden;
    border: 1px solid var(--line);
    border-radius: var(--radius-lg);
    background-color: var(--line);
}

.feature-grid.four {
    grid-template-columns: repeat(4, minmax(0, 1fr));
}

.feature {
    padding: 28px 28px 32px;
    background-color: var(--surface-canvas);
}

.feature i {
    display: block;
    margin-bottom: 18px;
    color: var(--text-secondary);
    font-size: 20px;
    line-height: 1;
}

.feature h3 {
    margin-bottom: 6px;
    font-size: 16px;
}

.feature p {
    color: var(--text-secondary);
    font-size: 15px;
    line-height: 1.55;
}

.planets-head,
.download-head {
    display: flex;
    align-items: flex-end;
    justify-content: space-between;
    gap: 32px;
    margin-bottom: 48px;
}

.planets-head .section-head,
.download-head .section-head {
    margin-bottom: 0;
}

.planets-victor {
    display: flex;
    flex: none;
    flex-direction: column;
    align-items: center;
    gap: 6px;
    margin-right: 24px;
}

.planets-victor img {
    width: 170px;
    height: auto;
    user-select: none;
}

.principle-grid {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 32px;
}

.principle {
    padding-top: 20px;
    border-top: 1px solid var(--line-strong);
}

.principle h3 {
    margin-bottom: 8px;
    font-size: 16px;
}

.principle p {
    color: var(--text-secondary);
    font-size: 15px;
    line-height: 1.55;
}

.principle-link {
    display: inline-block;
    margin-top: 14px;
    font-size: 14px;
    font-weight: 500;
}

.principle-link i {
    margin-left: 4px;
    font-size: 12px;
}

.step-grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 32px;
    margin: 0;
    padding: 0;
    list-style: none;
}

.step {
    padding-top: 20px;
    border-top: 1px solid var(--line-strong);
}

.step-number {
    display: block;
    margin-bottom: 14px;
    color: var(--text-tertiary);
    font-family: var(--font-family-mono);
    font-size: 12px;
}

.step h3 {
    margin-bottom: 8px;
    font-size: 16px;
}

.step p {
    color: var(--text-secondary);
    font-size: 15px;
    line-height: 1.55;
}

.section-links {
    display: flex;
    flex-wrap: wrap;
    gap: 28px;
    margin-top: 48px;
    font-size: 15px;
    font-weight: 500;
}

.section-links a:hover {
    color: var(--color-primary-hover);
}

.section-links i {
    margin-left: 4px;
    font-size: 13px;
}

.download-victor {
    flex: none;
    margin-right: 32px;
}

.download-victor img {
    width: 136px;
    height: auto;
    user-select: none;
}

/* Six columns fit three cards on the first row and two wider cards on the
   second. */
.download-grid {
    display: grid;
    grid-template-columns: repeat(6, minmax(0, 1fr));
    gap: 16px;
}

.download-grid > .download-card {
    grid-column: span 2;
}

.download-grid > .download-card:nth-last-child(-n + 2) {
    grid-column: span 3;
}

.download-card {
    display: flex;
    flex-direction: column;
    padding: 28px;
    border: 1px solid var(--line);
    border-radius: var(--radius-xl);
    background-color: var(--surface-base);
    box-shadow: var(--rim-light);
}

.download-card > i {
    margin-bottom: 20px;
    color: var(--text-secondary);
    font-size: 22px;
    line-height: 1;
}

.download-card h3 {
    font-size: 20px;
}

.download-card p {
    color: var(--text-secondary);
    font-size: 15px;
    line-height: 1.55;
}

.download-card p.download-detail {
    margin: 4px 0 14px;
    color: var(--text-tertiary);
    font-family: var(--font-family-mono);
    font-size: 12px;
}

.download-card .btn {
    align-self: flex-start;
    margin-top: auto;
}

.download-card p:not(.download-detail) {
    margin-bottom: 24px;
}

.download-card code {
    color: var(--text-primary);
    font-family: var(--font-family-mono);
    font-size: 13px;
}

.download-card p a:hover {
    color: var(--color-primary-hover);
}

.download-note {
    margin-top: 24px;
    color: var(--text-tertiary);
    font-size: 14px;
}

.download-note a:hover {
    color: var(--color-primary-hover);
}

.site-footer {
    position: relative;
    margin-top: 120px;
    padding: 56px 0 32px;
    border-top: 1px solid var(--line-strong);
    background-color: var(--surface-base);
}

.footer-victor {
    position: absolute;
    top: -82px;
    right: clamp(24px, 12vw, 200px);
    width: 120px;
    height: 120px;
    user-select: none;
    pointer-events: none;
}

.footer-grid {
    display: grid;
    grid-template-columns: 2fr repeat(3, minmax(0, 1fr));
    gap: 40px;
}

.footer-about p {
    max-width: 300px;
    margin-top: 14px;
    color: var(--text-tertiary);
    font-size: 14px;
    line-height: 1.55;
}

.footer-column {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    gap: 10px;
}

.footer-column h2 {
    margin-bottom: 4px;
    color: var(--text-tertiary);
    font-size: 12px;
    font-weight: 600;
    letter-spacing: var(--letter-spacing-label);
    text-transform: uppercase;
}

.footer-column a {
    color: var(--text-secondary);
    font-size: 14px;
    transition: color var(--duration-fast) var(--ease-standard);
}

.footer-column a:hover {
    color: var(--text-primary);
}

.footer-bottom {
    display: flex;
    flex-wrap: wrap;
    justify-content: space-between;
    gap: 12px;
    margin-top: 48px;
    padding-top: 20px;
    border-top: 1px solid var(--line);
    color: var(--text-tertiary);
    font-family: var(--font-family-mono);
    font-size: 12px;
}

.doc-page {
    padding-top: clamp(40px, 6vw, 72px);
    padding-bottom: 32px;
}

.doc-layout {
    display: grid;
    grid-template-columns: 200px minmax(0, 720px);
    justify-content: center;
    gap: 72px;
}

.doc-single {
    max-width: 720px;
    margin: 0 auto;
}

.legal-nav {
    position: sticky;
    top: 32px;
    align-self: start;
}

.legal-nav-heading {
    margin-bottom: 10px;
    padding: 0 12px;
    color: var(--text-tertiary);
    font-size: 12px;
    font-weight: 600;
    letter-spacing: var(--letter-spacing-label);
    text-transform: uppercase;
}

.legal-nav ul {
    display: flex;
    flex-direction: column;
    gap: 2px;
    margin: 0;
    padding: 0;
    list-style: none;
}

.legal-nav li a {
    display: block;
    padding: 7px 12px;
    border-radius: var(--radius-md);
    color: var(--text-secondary);
    font-size: 14px;
    transition: background-color var(--duration-fast) var(--ease-standard), color var(--duration-fast) var(--ease-standard);
}

.legal-nav li a:hover {
    background-color: var(--surface-hover);
    color: var(--text-primary);
}

.legal-nav li a.active {
    background-color: var(--surface-raised);
    color: var(--text-primary);
    font-weight: 500;
}

.legal-nav-contact {
    margin-top: 20px;
    padding: 0 12px;
    color: var(--text-tertiary);
    font-size: 13px;
    line-height: 1.5;
}

.prose {
    min-width: 0;
    color: var(--text-body);
    font-size: 16px;
    line-height: 1.7;
}

.prose h1 {
    margin-bottom: 12px;
    color: var(--text-primary);
    font-size: clamp(30px, 3.4vw, 40px);
    line-height: 1.12;
    letter-spacing: var(--letter-spacing-display);
    text-wrap: balance;
}

.prose h1 ~ h1 {
    margin: 48px 0 12px;
    font-size: 24px;
    letter-spacing: var(--letter-spacing-tight);
}

.prose h2 {
    margin: 48px 0 12px;
    color: var(--text-primary);
    font-size: 22px;
    line-height: 1.25;
}

.prose h3 {
    margin: 32px 0 8px;
    color: var(--text-primary);
    font-size: 17px;
}

.prose h4,
.prose h5,
.prose h6 {
    margin: 24px 0 8px;
    color: var(--text-primary);
    font-size: 16px;
}

.prose p,
.prose ul,
.prose ol,
.prose table,
.prose blockquote {
    margin: 0 0 16px;
}

.prose ul,
.prose ol {
    padding-left: 22px;
}

.prose li {
    margin-bottom: 6px;
}

.prose li::marker {
    color: var(--text-tertiary);
}

.prose strong {
    color: var(--text-primary);
    font-weight: 600;
}

.prose a {
    text-decoration: underline;
    text-decoration-color: var(--color-primary-border);
    text-decoration-thickness: 1px;
    text-underline-offset: 3px;
    overflow-wrap: anywhere;
}

.prose a:hover {
    text-decoration-color: var(--color-primary);
}

.prose code {
    padding: 2px 5px;
    border-radius: var(--radius-xs);
    background-color: var(--surface-raised);
    color: var(--text-primary);
    font-family: var(--font-family-mono);
    font-size: 0.86em;
}

.prose hr {
    margin: 40px 0;
    border: 0;
    border-top: 1px solid var(--line);
}

.prose blockquote {
    padding-left: 16px;
    border-left: 2px solid var(--line-strong);
    color: var(--text-secondary);
}

.prose table {
    display: block;
    width: 100%;
    overflow-x: auto;
    border-collapse: collapse;
    font-size: 14px;
    line-height: 1.55;
}

.prose th,
.prose td {
    padding: 10px 12px;
    border-bottom: 1px solid var(--line);
    text-align: left;
    vertical-align: top;
}

.prose th {
    border-bottom-color: var(--line-strong);
    color: var(--text-primary);
    font-weight: 600;
}

.prose .doc-date {
    margin-bottom: 32px;
    color: var(--text-tertiary);
    font-family: var(--font-family-mono);
    font-size: 13px;
}

.prose .doc-lede {
    margin-bottom: 32px;
    color: var(--text-secondary);
    font-size: 18px;
    line-height: 1.6;
}

.legal-source {
    margin-top: 56px;
    padding-top: 20px;
    border-top: 1px solid var(--line);
    color: var(--text-tertiary);
    font-size: 14px;
}

.prose ol.deletion-steps {
    padding: 0;
    list-style: none;
    counter-reset: step;
}

.deletion-steps > li {
    position: relative;
    margin-bottom: 14px;
    padding-left: 40px;
    counter-increment: step;
}

.deletion-steps > li::before {
    content: counter(step);
    position: absolute;
    top: 2px;
    left: 0;
    display: grid;
    place-items: center;
    width: 26px;
    height: 26px;
    border: 1px solid var(--line-strong);
    border-radius: 999px;
    background-color: var(--surface-raised);
    color: var(--text-primary);
    font-family: var(--font-family-mono);
    font-size: 12px;
    line-height: 1;
}

.deletion-shots {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 16px;
    margin: 28px 0 32px;
}

.deletion-shots img {
    width: 100%;
    height: auto;
    border: 1px solid var(--line-strong);
    border-radius: var(--radius-lg);
    background-color: var(--surface-base);
}

.deletion-shots figcaption {
    margin-top: 10px;
    color: var(--text-tertiary);
    font-family: var(--font-family-mono);
    font-size: 12px;
    line-height: 1.5;
}

.prose .callout {
    margin: 0 0 16px;
    padding: 16px 18px;
    border: 1px solid var(--line-strong);
    border-radius: var(--radius-lg);
    background-color: var(--surface-raised);
    color: var(--text-primary);
}

.prose .callout.warning {
    border-color: var(--color-warning-border);
    background-color: var(--color-warning-soft);
}

.faq-list {
    margin: 0 0 16px;
    border-top: 1px solid var(--line);
}

.faq-item {
    padding: 24px 0;
    border-bottom: 1px solid var(--line);
}

.prose .faq-item h2 {
    margin: 0 0 8px;
    font-size: 18px;
}

.prose .faq-item p {
    margin: 0;
}

.doc-closing {
    display: flex;
    align-items: center;
    gap: 24px;
    margin-top: 48px;
}

.doc-closing img {
    flex: none;
    width: 120px;
    height: auto;
    user-select: none;
}

.prose .doc-closing p {
    margin: 0;
    color: var(--text-secondary);
}

.visually-hidden {
    position: absolute;
    width: 1px;
    height: 1px;
    overflow: hidden;
    clip: rect(0 0 0 0);
    white-space: nowrap;
}

.table-scroll {
    overflow-x: auto;
    margin-bottom: 12px;
}

.prose .compare-table {
    width: 100%;
    margin-bottom: 0;
}

.prose .compare-table th[scope="row"] {
    color: var(--text-primary);
    font-weight: 500;
    text-align: left;
}

.prose .compare-table td:nth-child(2) {
    color: var(--text-primary);
}

.prose .compare-table td:nth-child(3) {
    color: var(--text-secondary);
}

.prose .table-note {
    color: var(--text-tertiary);
    font-family: var(--font-family-mono);
    font-size: 12px;
}

.doc-actions {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 20px;
    margin-top: 40px;
}

.prose .doc-actions .btn {
    text-decoration: none;
}

.count-page {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    min-height: 70vh;
    padding-top: 64px;
    padding-bottom: 64px;
    text-align: center;
}

.count-value {
    color: var(--text-primary);
    font-family: var(--font-family-mono);
    font-size: clamp(56px, 12vw, 128px);
    font-weight: 500;
    font-variant-numeric: tabular-nums;
    letter-spacing: -0.04em;
    line-height: 1;
}

.count-label {
    margin-top: 16px;
    color: var(--text-tertiary);
    font-family: var(--font-family-mono);
    font-size: 13px;
}

.count-names {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 8px;
    max-width: 720px;
    min-height: 40px;
    margin-top: 40px;
}

.count-name {
    padding: 6px 12px;
    border: 1px solid var(--line-strong);
    border-radius: 999px;
    background-color: var(--surface-raised);
    color: var(--text-primary);
    font-size: 14px;
    font-weight: 500;
    animation: count-name-in 0.5s var(--ease-standard);
    transition: opacity 0.5s var(--ease-standard);
}

.count-name.fading {
    opacity: 0;
}

@keyframes count-name-in {
    from {
        opacity: 0;
        transform: translateY(4px);
    }

    to {
        opacity: 1;
        transform: none;
    }
}

@media (max-width: 1100px) {
    .feature-grid.four,
    .download-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }

    .download-grid > .download-card,
    .download-grid > .download-card:nth-last-child(-n + 2) {
        grid-column: auto;
    }

    .download-grid > .download-card:first-child {
        grid-column: 1 / -1;
    }

    .principle-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
        row-gap: 40px;
    }
}

@media (max-width: 900px) {
    .menu-toggle {
        display: inline-flex;
    }

    .site-nav {
        position: absolute;
        top: calc(var(--header-height) - 4px);
        right: clamp(20px, 5vw, 48px);
        left: clamp(20px, 5vw, 48px);
        display: none;
        flex-direction: column;
        align-items: stretch;
        gap: 2px;
        padding: 8px;
        border: 1px solid var(--line-strong);
        border-radius: var(--radius-lg);
        background-color: var(--surface-base);
        box-shadow: 0 12px 32px rgb(0 0 0 / 0.45), 0 2px 6px rgb(0 0 0 / 0.3);
    }

    .site-header.menu-open .site-nav {
        display: flex;
    }

    .site-nav a:not(.btn) {
        padding: 10px 12px;
        font-size: 15px;
    }

    .site-nav a:not(.btn):hover {
        background-color: var(--surface-hover);
    }

    .site-nav .btn {
        margin: 6px 0 0;
        height: 42px;
        font-size: 15px;
    }

    .feature-grid,
    .feature-grid.four,
    .download-grid,
    .step-grid {
        grid-template-columns: minmax(0, 1fr);
    }

    .doc-layout {
        grid-template-columns: minmax(0, 1fr);
        gap: 40px;
    }

    .legal-nav {
        position: static;
        order: 2;
        padding-top: 32px;
        border-top: 1px solid var(--line);
    }

    .footer-grid {
        grid-template-columns: repeat(3, minmax(0, 1fr));
    }

    .footer-about {
        grid-column: 1 / -1;
    }
}

@media (max-width: 760px) {
    .hero {
        flex-direction: column;
        align-items: stretch;
        min-height: 0;
    }

    .hero-sky {
        position: relative;
        inset: auto;
        z-index: 0;
        flex: none;
        height: 52vh;
        min-height: 340px;
        max-height: 460px;
    }

    .hero-sky::after {
        background: linear-gradient(0deg, var(--surface-canvas), transparent 72px);
    }

    .constellation,
    .hero-victor .sky-caption {
        display: none;
    }

    .hero-victor {
        top: 26%;
        left: 50%;
        transform: translateX(-50%);
    }

    .hero-victor img {
        width: 120px;
    }

    .hero-inner {
        padding-top: 8px;
        padding-bottom: 32px;
    }

    .hero-title {
        font-size: clamp(26px, 7.4vw, 40px);
        text-wrap: balance;
    }

    .hero-lede {
        font-size: 17px;
        margin-bottom: 28px;
    }

    .hero-actions .btn {
        flex: 1 1 100%;
    }

    .planets-head,
    .download-head {
        flex-direction: column;
        align-items: flex-start;
    }

    .planets-victor,
    .download-victor {
        display: none;
    }




    .principle-grid {
        grid-template-columns: minmax(0, 1fr);
    }

    .deletion-shots {
        grid-template-columns: minmax(0, 1fr);
        max-width: 320px;
    }

    .footer-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
        row-gap: 32px;
    }

    .footer-victor {
        top: -66px;
        width: 96px;
        height: 96px;
    }

    .doc-closing {
        flex-direction: column;
        align-items: flex-start;
    }
}

@media (prefers-reduced-motion: reduce) {
    html {
        scroll-behavior: auto;
    }

    .hero-victor img,
    .count-name {
        animation: none;
    }

    .sky-layer,
    .count-name {
        transition-duration: 0.01s;
    }
}
