:root {
    --logo-word-color: #f4f5f5;
    --background: #121212;
    --foreground: #f6f6f6;
    --surface: rgba(30, 30, 30, 0.92);
    --surface-strong: #1f1f1f;
    --surface-muted: #262626;
    --muted: #a1a1a1;
    --accent: #7aa8ff;
    --accent-strong: #9ec2ff;
    --line: rgba(246, 246, 246, 0.14);
    --glow: rgba(122, 168, 255, 0.2);
    --focus-ring: rgba(122, 168, 255, 0.35);
    --score-panel-bg: #1b1b1b;
    --score-panel-text: #f1f1f1;
    --score-panel-muted: #b5b5b5;
    --hero-grad-from: #171717;
    --hero-grad-via: #141414;
    --hero-grad-to: #121212;
    --hero-glow-a: rgba(122, 168, 255, 0.16);
    --hero-glow-b: rgba(79, 163, 140, 0.16);
    --shadow: 0 18px 50px -28px rgba(0, 0, 0, 0.45);
}

* {
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    margin: 0;
    font-family: "Manrope", "Segoe UI", sans-serif;
    color: var(--foreground);
    background:
        radial-gradient(
            circle at top left,
            rgba(122, 168, 255, 0.08),
            transparent 26%
        ),
        radial-gradient(
            circle at bottom right,
            rgba(98, 239, 207, 0.05),
            transparent 20%
        ),
        linear-gradient(180deg, #141414 0%, #121212 100%);
}

a {
    color: inherit;
    text-decoration: none;
}

.skip-link {
    position: absolute;
    left: 16px;
    top: 12px;
    z-index: 1000;
    padding: 10px 14px;
    border-radius: 10px;
    border: 1px solid var(--accent);
    background: var(--surface-strong);
    color: var(--foreground);
    box-shadow: var(--shadow);
    transform: translateY(-160%);
    transition: transform 0.18s ease;
}

.skip-link:focus {
    transform: translateY(0);
}

.skip-link:focus-visible {
    outline: 2px solid var(--accent-strong);
    outline-offset: 2px;
}

.page-shell {
    max-width: 1320px;
    margin: 0 auto;
    padding: 0 20px 72px;
}

.notice-bar {
    width: 100%;
    border-bottom: 1px solid rgba(245, 158, 11, 0.2);
    background: rgba(245, 158, 11, 0.08);
    color: #fbbf24;
    text-align: center;
    font-size: 0.78rem;
    font-weight: 600;
    padding: 8px 12px;
}

.notice-bar a {
    text-decoration: underline;
    text-underline-offset: 2px;
}

.topbar {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 16px;
    margin: 18px auto 28px;
    padding: 14px 20px;
    background: var(--surface);
    border: 1px solid var(--line);
    border-radius: 16px;
    box-shadow: var(--shadow);
}

.brand {
    display: inline-flex;
    align-items: center;
    line-height: 1;
}

.brand-word {
    font-family: "Montserrat", "Manrope", sans-serif;
    font-size: 1.2rem;
    font-weight: 700;
    letter-spacing: -0.03em;
    color: var(--logo-word-color);
}

.brand-dotio {
    font-family: "Montserrat", "Manrope", sans-serif;
    font-size: 1.2rem;
    font-weight: 800;
    letter-spacing: -0.03em;
    color: #1689bb;
}

.nav {
    display: flex;
    align-items: center;
    flex-wrap: wrap;
    gap: 14px;
}

.nav a {
    color: var(--muted);
    font-size: 0.9rem;
    font-weight: 500;
}

.nav a:hover,
.nav a:focus-visible {
    color: var(--foreground);
}

.hero {
    position: relative;
    overflow: hidden;
    background: linear-gradient(
        145deg,
        var(--hero-grad-from),
        var(--hero-grad-via) 52%,
        var(--hero-grad-to)
    );
    border: 1px solid var(--line);
    border-radius: 36px;
    padding: 34px;
    box-shadow: var(--shadow);
}

.hero::after {
    content: "";
    position: absolute;
    inset: auto -48px -56px auto;
    width: 220px;
    height: 220px;
    border-radius: 50%;
    background: radial-gradient(
        circle,
        rgba(15, 91, 212, 0.15),
        transparent 64%
    );
}

.eyebrow {
    margin: 0;
    font-family: "IBM Plex Mono", monospace;
    text-transform: uppercase;
    letter-spacing: 0.16em;
    font-size: 0.72rem;
    color: var(--accent);
    font-weight: 700;
}

h1,
h2,
h3,
p {
    margin-top: 0;
}

.hero-grid {
    display: grid;
    gap: 28px;
    position: relative;
    z-index: 1;
}

.hero h1 {
    margin-top: 16px;
    max-width: 700px;
    font-family: "Manrope", sans-serif;
    font-size: clamp(2.7rem, 6vw, 5.2rem);
    line-height: 0.95;
    letter-spacing: -0.05em;
    font-weight: 700;
}

.hero-copy {
    max-width: 640px;
    font-size: 1.08rem;
    line-height: 1.75;
    color: var(--muted);
}

.cta-row {
    display: flex;
    flex-wrap: wrap;
    gap: 12px;
    margin-top: 24px;
}

.button,
.button-secondary {
    position: relative;
    isolation: isolate;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-height: 48px;
    padding: 0 20px;
    border-radius: 12px;
    font-weight: 700;
    border: 1px solid transparent;
    transition:
        transform 180ms ease,
        box-shadow 180ms ease,
        background 180ms ease;
}

.button {
    background: var(--surface-strong);
    color: var(--foreground);
    box-shadow: 0 0 16px rgba(122, 168, 255, 0.15);
}

.button::before {
    content: "";
    position: absolute;
    inset: -1px;
    border-radius: inherit;
    padding: 1px;
    background: linear-gradient(120deg, #7aa8ff, #62efcf, #a68eff, #7aa8ff);
    background-size: 300% 300%;
    -webkit-mask:
        linear-gradient(#000 0 0) content-box,
        linear-gradient(#000 0 0);
    -webkit-mask-composite: xor;
    mask-composite: exclude;
    pointer-events: none;
    animation: cta-neon-border 4s linear infinite;
}

.button-secondary {
    background: var(--surface-strong);
    border: 1px solid var(--line);
    color: var(--foreground);
    box-shadow: none;
}

.button:hover,
.button-secondary:hover,
.button:focus-visible,
.button-secondary:focus-visible {
    transform: translateY(-1px);
}

.button:hover,
.button:focus-visible {
    background: var(--surface-muted);
    box-shadow: 0 0 20px rgba(122, 168, 255, 0.2);
}

.button-secondary:hover,
.button-secondary:focus-visible {
    background: #2b2b2b;
}

@keyframes cta-neon-border {
    0% {
        background-position: 0% 50%;
    }
    100% {
        background-position: 300% 50%;
    }
}

.signal-panel {
    background: var(--score-panel-bg);
    color: var(--score-panel-text);
    border-radius: 28px;
    padding: 24px;
    align-self: start;
    box-shadow: 0 18px 50px -28px rgba(0, 0, 0, 0.45);
    border: 1px solid rgba(255, 255, 255, 0.08);
}

.signal-panel h2 {
    font-size: 1.15rem;
    margin-bottom: 16px;
}

.scorecard-eyebrow {
    color: var(--score-panel-muted);
}

.scorecard-overview {
    margin-top: 16px;
    border-radius: 18px;
    border: 1px solid rgba(246, 246, 246, 0.08);
    background: rgba(255, 255, 255, 0.04);
    padding: 16px;
}

.scorecard-label {
    margin: 0;
    color: var(--score-panel-muted);
    font-size: 0.72rem;
    letter-spacing: 0.16em;
    text-transform: uppercase;
}

.scorecard-header-row {
    margin-top: 10px;
    display: flex;
    align-items: flex-end;
    justify-content: space-between;
    gap: 12px;
}

.scorecard-value {
    margin: 0;
    font-size: 3rem;
    line-height: 1;
    font-weight: 700;
    color: var(--score-panel-text);
}

.scorecard-status {
    display: inline-flex;
    align-items: center;
    border-radius: 999px;
    background: rgba(255, 255, 255, 0.08);
    padding: 6px 10px;
    color: var(--score-panel-text);
    font-family: "IBM Plex Mono", monospace;
    font-size: 0.65rem;
    letter-spacing: 0.16em;
    text-transform: uppercase;
}

.scorecard-summary {
    margin: 12px 0 0;
    color: var(--score-panel-muted);
    font-size: 0.9rem;
    line-height: 1.6;
}

.scorecard-sections {
    margin-top: 16px;
    display: grid;
    gap: 10px;
}

.scorecard-section {
    border-radius: 14px;
    border: 1px solid rgba(246, 246, 246, 0.08);
    background: rgba(255, 255, 255, 0.04);
    padding: 12px 14px;
}

.scorecard-section-row {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
}

.scorecard-section-row p {
    margin: 0;
    font-size: 0.92rem;
    font-weight: 600;
    color: var(--score-panel-text);
}

.scorecard-section-score {
    color: var(--score-panel-muted);
    font-family: "IBM Plex Mono", monospace;
    font-size: 0.78rem;
}

.scorecard-section-weight {
    margin: 6px 0 0;
    color: var(--score-panel-muted);
    font-size: 0.72rem;
}

.form-shell {
    margin-top: 20px;
    border-radius: 24px;
    background: var(--surface-strong);
    border: 1px solid var(--line);
    padding: 22px;
    box-shadow: inset 0 0 0 1px rgba(255, 255, 255, 0.04);
}

.interest-form {
    display: grid;
    gap: 18px;
}

.field {
    display: grid;
    gap: 8px;
}

.field span {
    color: var(--foreground);
    font-size: 0.92rem;
    font-weight: 600;
}

.field input,
.field select,
.field textarea {
    width: 100%;
    border-radius: 14px;
    border: 1px solid var(--line);
    background: #181818;
    color: var(--foreground);
    font: inherit;
    padding: 14px 16px;
    outline: none;
}

.field textarea {
    min-height: 150px;
    resize: vertical;
}

.field input::placeholder,
.field textarea::placeholder {
    color: var(--muted);
}

.field input:focus,
.field select:focus,
.field textarea:focus {
    border-color: rgba(122, 168, 255, 0.45);
    box-shadow: 0 0 0 3px rgba(122, 168, 255, 0.14);
}

.form-actions {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 14px;
}

.submit-button {
    cursor: pointer;
}

.submit-button[disabled] {
    opacity: 0.7;
    cursor: wait;
}

.form-note {
    margin: 0;
    color: var(--muted);
    font-size: 0.9rem;
}

.form-privacy {
    margin: -4px 0 0;
    color: var(--muted);
    font-size: 0.88rem;
    line-height: 1.6;
}

.form-status {
    min-height: 1.4em;
    margin: 0;
    font-size: 0.95rem;
    color: var(--muted);
}

.form-status.is-success {
    color: #b7f0d7;
}

.form-status.is-error {
    color: #ffb4a8;
}

.hidden-field {
    position: absolute;
    left: -9999px;
}

.signal-list {
    list-style: none;
    padding: 0;
    margin: 0;
    display: grid;
    gap: 12px;
}

.signal-list li {
    border: 1px solid rgba(255, 255, 255, 0.08);
    border-radius: 18px;
    padding: 14px 16px;
}

.signal-list strong {
    display: block;
    margin-bottom: 4px;
    font-size: 1rem;
}

.section {
    margin-top: 28px;
    padding: 28px;
    border-radius: 30px;
    border: 1px solid var(--line);
    background: var(--surface);
    backdrop-filter: blur(12px);
    box-shadow: var(--shadow);
}

.section h2 {
    margin-bottom: 12px;
    font-family: "Manrope", sans-serif;
    font-size: clamp(2rem, 4vw, 2.8rem);
    font-weight: 700;
    letter-spacing: -0.04em;
}

.lead {
    max-width: 720px;
    font-size: 1rem;
    line-height: 1.75;
    color: var(--muted);
}

.grid {
    display: grid;
    gap: 18px;
}

.grid.two {
    grid-template-columns: repeat(2, minmax(0, 1fr));
}

.grid.three {
    grid-template-columns: repeat(3, minmax(0, 1fr));
}

.card {
    border-radius: 24px;
    background: var(--surface-strong);
    border: 1px solid var(--line);
    padding: 22px;
    box-shadow: inset 0 0 0 1px rgba(255, 255, 255, 0.04);
}

.card h3 {
    margin-bottom: 10px;
    font-size: 1.1rem;
}

.card p,
.card li,
.faq-item p,
.archive-item p,
.timeline p {
    color: var(--muted);
    line-height: 1.72;
}

.list {
    margin: 0;
    padding-left: 18px;
}

.archive-list {
    display: grid;
    gap: 16px;
    margin-top: 20px;
}

.archive-item {
    border-radius: 22px;
    background: var(--surface-strong);
    border: 1px solid var(--line);
    padding: 20px;
    box-shadow: inset 0 0 0 1px rgba(255, 255, 255, 0.04);
}

.archive-meta {
    font-size: 0.86rem;
    color: var(--accent-strong);
    text-transform: uppercase;
    letter-spacing: 0.12em;
}

.faq-list {
    display: grid;
    gap: 16px;
    margin-top: 20px;
}

.feature-showcase {
    display: grid;
    gap: 18px;
    margin-top: 20px;
}

.feature-shot {
    display: grid;
    grid-template-columns: minmax(0, 1.2fr) minmax(280px, 0.8fr);
    gap: 20px;
    align-items: center;
    border-radius: 24px;
    background: var(--surface-strong);
    border: 1px solid var(--line);
    padding: 20px;
    box-shadow: inset 0 0 0 1px rgba(255, 255, 255, 0.04);
}

.feature-media-wrap {
    overflow: hidden;
    border-radius: 18px;
    border: 1px solid rgba(246, 246, 246, 0.08);
    background: #141414;
}

.feature-media {
    display: block;
    width: 100%;
    height: auto;
}

.feature-copy h3 {
    margin: 6px 0 10px;
    font-size: 1.3rem;
    letter-spacing: -0.03em;
}

.feature-copy p {
    color: var(--muted);
    line-height: 1.72;
}

.faq-item {
    border-radius: 22px;
    background: var(--surface-strong);
    border: 1px solid var(--line);
    padding: 20px;
    box-shadow: inset 0 0 0 1px rgba(255, 255, 255, 0.04);
}

.faq-item h3 {
    margin-bottom: 8px;
}

.timeline {
    display: grid;
    gap: 16px;
    margin-top: 20px;
}

.timeline article {
    border-left: 3px solid var(--accent);
    padding-left: 18px;
}

.pill {
    display: inline-flex;
    align-items: center;
    padding: 6px 10px;
    border-radius: 999px;
    background: rgba(122, 168, 255, 0.12);
    color: #dce7ff;
    font-size: 0.82rem;
    font-weight: 700;
}

.footer {
    margin-top: 36px;
    display: flex;
    flex-wrap: wrap;
    justify-content: space-between;
    gap: 12px;
    color: var(--muted);
    font-size: 0.92rem;
    padding: 18px 0 0;
}

.footer a,
.archive-meta {
    color: var(--accent-strong);
}

.small {
    font-size: 0.92rem;
}

.page-title {
    font-family: "Manrope", sans-serif;
    font-size: clamp(2.6rem, 5vw, 4.4rem);
    margin-bottom: 12px;
    font-weight: 700;
    letter-spacing: -0.05em;
}

.muted-chip {
    display: inline-flex;
    align-items: center;
    padding: 6px 10px;
    border-radius: 999px;
    border: 1px solid var(--line);
    background: var(--surface-strong);
    color: var(--muted);
    font-size: 0.8rem;
    font-weight: 600;
}

@media (min-width: 900px) {
    .hero-grid {
        grid-template-columns: minmax(0, 1.25fr) minmax(320px, 0.75fr);
        align-items: start;
    }
}

@media (max-width: 860px) {
    .feature-shot,
    .grid.two,
    .grid.three {
        grid-template-columns: 1fr;
    }

    .topbar {
        align-items: flex-start;
        flex-direction: column;
    }

    .hero,
    .section {
        padding: 24px;
    }
}

@media (prefers-reduced-motion: reduce) {
    html {
        scroll-behavior: auto;
    }

    .button,
    .button-secondary {
        transition: none;
    }
}
