html {
    scroll-behavior: smooth;
}

body {
    margin: 0;
    background:
        radial-gradient(circle at 18% 24%, rgba(70, 104, 255, 0.24), transparent 28%),
        radial-gradient(circle at 78% 16%, rgba(160, 80, 255, 0.16), transparent 26%),
        radial-gradient(circle at 52% 78%, rgba(0, 210, 255, 0.1), transparent 34%),
        linear-gradient(135deg, #02030a 0%, #060916 45%, #000000 100%);
    color: #fff;
    font-family: "Inter", "Segoe UI", sans-serif;
    overflow-x: hidden;
    min-height: 320vh;
    position: relative;
}

body::before,
body::after {
    content: "";
    position: fixed;
    inset: 0;
    pointer-events: none;
}

body::before {
    background-image: radial-gradient(#ffffff 0.7px, transparent 0.8px);
    background-position: 0 0;
    background-size: 112px 112px;
    opacity: 0.32;
}

body::after {
    background:
        radial-gradient(circle at 62% 38%, rgba(255, 255, 255, 0.08), transparent 18%),
        radial-gradient(circle at 40% 52%, rgba(46, 141, 255, 0.16), transparent 32%);
    filter: blur(18px);
    opacity: 0.8;
}

canvas {
    background: transparent;
    position: fixed;
    top: 50%;
    left: 58%;
    transform: translate(-50%, -50%);
    z-index: 1;
}

.copydeck {
    position: fixed;
    top: 50%;
    left: clamp(28px, 7vw, 96px);
    width: min(430px, 42vw);
    transform: translateY(-50%);
    z-index: 2;
    pointer-events: none;
}

.eyebrow {
    color: #6fe6ff;
    font-size: 0.78rem;
    font-weight: 700;
    letter-spacing: 0.28em;
    margin: 0 0 18px;
    text-transform: uppercase;
}

h1 {
    font-size: clamp(3.8rem, 8vw, 7rem);
    letter-spacing: -0.08em;
    line-height: 0.84;
    margin: 0;
    text-transform: uppercase;
}

.tagline {
    color: #9af7ff;
    font-size: clamp(1.2rem, 2vw, 1.85rem);
    font-weight: 800;
    letter-spacing: 0.08em;
    margin-top: 18px;
    text-transform: uppercase;
}

.subtitle {
    color: rgba(235, 248, 255, 0.76);
    font-size: 0.95rem;
    line-height: 1.9;
    margin: 18px 0 12px;
}

.mission-copy {
    color: rgba(235, 248, 255, 0.58);
    font-size: 0.84rem;
    line-height: 1.75;
    margin: 0 0 34px;
}

.stage-copy {
    border-left: 2px solid rgba(111, 230, 255, 0.74);
    color: rgba(235, 248, 255, 0.88);
    min-height: 105px;
    padding-left: 18px;
    position: absolute;
    transition: opacity 0.35s ease, transform 0.35s ease;
}

.stage-copy h2 {
    color: #fff;
    font-size: 0.94rem;
    letter-spacing: 0.18em;
    margin: 0 0 10px;
    text-transform: uppercase;
}

.stage-copy p {
    font-size: 0.92rem;
    line-height: 1.8;
    margin: 0;
}

.stage-card {
    color: inherit;
    cursor: pointer;
    display: block;
    pointer-events: auto;
    text-decoration: none;
    transition: border-color 0.25s ease, opacity 0.35s ease, transform 0.25s ease;
}

.stage-card:hover {
    border-left-color: rgba(111, 230, 255, 1);
    transform: translateX(4px);
}

.stage-card:focus-visible {
    outline: 2px solid rgba(111, 230, 255, 0.9);
    outline-offset: 4px;
}

.stage-one {
    opacity: var(--stage-one-copy, 1);
}

.stage-two {
    opacity: var(--stage-two-copy, 0);
}

.stage-three {
    opacity: var(--stage-three-copy, 0);
}

.scroll-hint {
    bottom: 34px;
    color: rgba(235, 248, 255, 0.5);
    font-size: 0.72rem;
    left: clamp(28px, 7vw, 96px);
    letter-spacing: 0.24em;
    position: fixed;
    text-transform: uppercase;
    z-index: 2;
}

body.consent-visible .scroll-hint {
    bottom: 120px;
}

.site-footer {
    bottom: 0;
    color: rgba(235, 248, 255, 0.55);
    font-size: 0.72rem;
    left: clamp(28px, 7vw, 96px);
    position: fixed;
    z-index: 3;
}

body.consent-visible .site-footer {
    bottom: 88px;
}

.site-footer__nav {
    display: flex;
    flex-wrap: wrap;
    gap: 10px 16px;
    margin-bottom: 6px;
}

.site-footer__nav a {
    color: rgba(111, 230, 255, 0.85);
    text-decoration: none;
}

.site-footer__nav a:hover {
    color: #fff;
}

.site-footer__copy {
    margin: 0;
}

.consent-banner {
    backdrop-filter: blur(12px);
    background: rgba(4, 10, 24, 0.92);
    border-top: 1px solid rgba(111, 230, 255, 0.28);
    bottom: 0;
    left: 0;
    position: fixed;
    right: 0;
    z-index: 100;
}

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

.consent-banner__inner {
    align-items: center;
    display: flex;
    flex-wrap: wrap;
    gap: 14px 20px;
    justify-content: space-between;
    margin: 0 auto;
    max-width: 960px;
    padding: 14px clamp(20px, 4vw, 32px);
}

.consent-banner__text {
    color: rgba(235, 248, 255, 0.88);
    font-size: 0.84rem;
    line-height: 1.7;
    margin: 0;
}

.consent-banner__text a {
    color: #6fe6ff;
}

.consent-banner__actions {
    display: flex;
    flex-shrink: 0;
    gap: 10px;
}

.consent-btn {
    border: 1px solid transparent;
    border-radius: 999px;
    cursor: pointer;
    font-family: inherit;
    font-size: 0.82rem;
    padding: 8px 18px;
}

.consent-btn--ghost {
    background: transparent;
    border-color: rgba(111, 230, 255, 0.35);
    color: rgba(235, 248, 255, 0.85);
}

.consent-btn--primary {
    background: rgba(46, 141, 255, 0.85);
    color: #fff;
}

.consent-btn--primary:hover {
    background: rgba(70, 160, 255, 1);
}

.legal-body {
    min-height: 100vh;
}

.legal-page {
    margin: 0 auto;
    max-width: 720px;
    padding: 48px 24px 120px;
    position: relative;
    z-index: 2;
}

.legal-back {
    color: #6fe6ff;
    display: inline-block;
    margin-bottom: 24px;
    text-decoration: none;
}

.legal-page h1 {
    font-size: 1.8rem;
    letter-spacing: 0.04em;
    margin: 0 0 12px;
    text-transform: none;
}

.legal-page h2 {
    color: #9af7ff;
    font-size: 1rem;
    margin: 32px 0 12px;
}

.legal-page p,
.legal-page li {
    color: rgba(235, 248, 255, 0.82);
    font-size: 0.92rem;
    line-height: 1.85;
}

.legal-page a {
    color: #6fe6ff;
}

.legal-updated {
    color: rgba(235, 248, 255, 0.5);
    font-size: 0.82rem;
    margin-bottom: 28px;
}

.legal-dl {
    margin: 0;
}

.legal-dl dt {
    color: #9af7ff;
    font-size: 0.88rem;
    font-weight: 700;
    margin-top: 24px;
}

.legal-dl dd {
    color: rgba(235, 248, 255, 0.82);
    font-size: 0.92rem;
    line-height: 1.85;
    margin: 6px 0 0;
}

.legal-note {
    color: rgba(235, 248, 255, 0.55);
    font-size: 0.84rem;
    margin-top: 32px;
}

.legal-body .site-footer {
    position: static;
    padding: 0 24px 100px;
}

.blog-body {
    min-height: 100vh;
}

.blog-body::before,
.blog-body::after {
    display: none;
}

.blog-header {
    backdrop-filter: blur(12px);
    background: rgba(4, 10, 24, 0.88);
    border-bottom: 1px solid rgba(111, 230, 255, 0.2);
    position: sticky;
    top: 0;
    z-index: 10;
}

.blog-header__inner {
    align-items: center;
    display: flex;
    flex-wrap: wrap;
    gap: 16px;
    justify-content: space-between;
    margin: 0 auto;
    max-width: 800px;
    padding: 16px 24px;
}

.blog-brand {
    color: #fff;
    font-size: 0.95rem;
    font-weight: 700;
    letter-spacing: 0.12em;
    text-decoration: none;
    text-transform: uppercase;
}

.blog-nav {
    display: flex;
    flex-wrap: wrap;
    gap: 10px 18px;
}

.blog-nav a {
    color: rgba(111, 230, 255, 0.85);
    font-size: 0.84rem;
    text-decoration: none;
}

.blog-nav a:hover,
.blog-nav a[aria-current="page"] {
    color: #fff;
}

.blog-page {
    margin: 0 auto;
    max-width: 800px;
    padding: 48px 24px 80px;
    position: relative;
    z-index: 2;
}

.blog-eyebrow {
    color: #6fe6ff;
    font-size: 0.76rem;
    font-weight: 700;
    letter-spacing: 0.24em;
    margin: 0 0 14px;
    text-transform: uppercase;
}

.blog-page h1 {
    font-size: clamp(2rem, 5vw, 2.6rem);
    letter-spacing: -0.03em;
    line-height: 1.15;
    margin: 0 0 16px;
    text-transform: none;
}

.blog-lead {
    color: rgba(235, 248, 255, 0.72);
    font-size: 0.95rem;
    line-height: 1.8;
    margin: 0 0 36px;
}

.blog-list {
    display: grid;
    gap: 20px;
}

.blog-card {
    background: rgba(8, 16, 36, 0.72);
    border: 1px solid rgba(111, 230, 255, 0.18);
    border-radius: 16px;
    padding: 22px 24px;
}

.blog-card h2 {
    font-size: 1.15rem;
    margin: 0 0 8px;
}

.blog-card h2 a {
    color: #fff;
    text-decoration: none;
}

.blog-card h2 a:hover {
    color: #9af7ff;
}

.blog-meta {
    color: rgba(235, 248, 255, 0.5);
    font-size: 0.82rem;
    margin: 0 0 10px;
}

.blog-card__excerpt {
    color: rgba(235, 248, 255, 0.78);
    font-size: 0.92rem;
    line-height: 1.75;
    margin: 0 0 12px;
}

.blog-card__link {
    color: #6fe6ff;
    font-size: 0.86rem;
    text-decoration: none;
}

.blog-tags {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    list-style: none;
    margin: 0 0 12px;
    padding: 0;
}

.blog-tags li,
.blog-tag {
    background: rgba(46, 141, 255, 0.16);
    border: 1px solid rgba(111, 230, 255, 0.22);
    border-radius: 999px;
    color: #9af7ff;
    font-size: 0.74rem;
    padding: 4px 10px;
}

.blog-empty {
    background: rgba(8, 16, 36, 0.72);
    border: 1px dashed rgba(111, 230, 255, 0.24);
    border-radius: 16px;
    color: rgba(235, 248, 255, 0.72);
    font-size: 0.92rem;
    line-height: 1.8;
    padding: 24px;
}

.blog-empty code {
    color: #9af7ff;
}

.blog-back {
    color: #6fe6ff;
    display: inline-block;
    margin-bottom: 24px;
    text-decoration: none;
}

.blog-article__title {
    margin-bottom: 12px;
}

.blog-article__meta {
    color: rgba(235, 248, 255, 0.55);
    display: flex;
    flex-wrap: wrap;
    gap: 8px 12px;
    margin-bottom: 28px;
}

.blog-article {
    color: rgba(235, 248, 255, 0.88);
    font-size: 0.96rem;
    line-height: 1.9;
}

.blog-article h2,
.blog-article h3,
.blog-article h4,
.blog-page h2 {
    color: #9af7ff;
    line-height: 1.4;
    margin: 2.2em 0 0.8em;
}

.blog-article h2 {
    font-size: 1.3rem;
}

.blog-article h3 {
    font-size: 1.08rem;
}

.blog-article p,
.blog-page p,
.blog-page li {
    color: rgba(235, 248, 255, 0.82);
    line-height: 1.85;
}

.blog-article a,
.blog-page a {
    color: #6fe6ff;
}

.blog-article ul,
.blog-article ol,
.blog-page ul {
    padding-left: 1.4em;
}

.blog-article li + li {
    margin-top: 0.35em;
}

.blog-article pre {
    background: rgba(0, 0, 0, 0.45);
    border: 1px solid rgba(111, 230, 255, 0.16);
    border-radius: 12px;
    overflow-x: auto;
    padding: 16px;
}

.blog-article code {
    color: #d8f3ff;
    font-family: "Cascadia Code", "Consolas", monospace;
    font-size: 0.88em;
}

.blog-article :not(pre) > code {
    background: rgba(46, 141, 255, 0.14);
    border-radius: 6px;
    padding: 0.12em 0.4em;
}

.blog-article blockquote {
    border-left: 3px solid rgba(111, 230, 255, 0.5);
    color: rgba(235, 248, 255, 0.72);
    margin: 1.5em 0;
    padding-left: 16px;
}

.blog-error {
    color: #ff9fae;
    font-size: 0.92rem;
}

.blog-fallback {
    white-space: pre-wrap;
}

.site-footer--static {
    bottom: auto;
    left: auto;
    padding: 0 24px 100px;
    position: static;
}

body.consent-visible .site-footer--static {
    padding-bottom: 120px;
}
