html, body {
    margin: 0;
    min-height: 100%;
    font-family: Inter, "Segoe UI", sans-serif;
    background:
        radial-gradient(circle at top, rgba(79, 70, 229, 0.28), transparent 28%),
        linear-gradient(180deg, #07101d 0%, #0b1327 48%, #09111f 100%);
}

body {
    color: #f8fbff;
}

.site-shell__header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 1.5rem;
    padding: 1.25rem 2rem 0;
}

.site-shell__brand {
    display: inline-flex;
    align-items: center;
    text-decoration: none;
}

.site-shell__brand-badge {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 0.82rem 1.3rem;
    border-radius: 1.35rem;
    background:
        linear-gradient(180deg, rgba(214, 224, 238, 0.96), rgba(189, 202, 221, 0.94));
    border: 1px solid rgba(232, 239, 248, 0.58);
    box-shadow:
        0 14px 32px rgba(5, 8, 17, 0.22),
        0 0 0 1px rgba(148, 163, 184, 0.08),
        inset 0 1px 0 rgba(255, 255, 255, 0.34);
}

.site-shell__brand-logo {
    height: 3.65rem;
    width: auto;
    flex: 0 0 auto;
    display: block;
}

.site-shell__nav {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    justify-content: flex-end;
    gap: 1rem;
}

.site-shell__nav a {
    text-decoration: none;
}

.site-shell__cta {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-height: 2.75rem;
    padding: 0 1rem;
    border-radius: 999px;
    background: linear-gradient(135deg, #fb923c, #f97316);
    color: #0f172a;
    font-weight: 700;
}

.site-shell__body {
    padding-bottom: 2rem;
}

.site-shell__footer {
    padding: 0 2rem 2rem;
    color: #94a3b8;
    font-size: 0.9rem;
    text-align: center;
}

a {
    color: inherit;
}

h1, h2, h3, p {
    margin-top: 0;
}

h1:focus {
    outline: none;
}

.page-section {
    padding: 3rem 2rem;
}

.page-section--narrow {
    max-width: 76rem;
    margin: 0 auto;
}

.hero-section {
    display: grid;
    grid-template-columns: minmax(0, 1.2fr) minmax(20rem, 0.82fr);
    gap: 1.5rem;
    padding: 4rem 2rem 3rem;
    align-items: start;
}

.hero-section h1 {
    font-size: clamp(2.8rem, 5vw, 5rem);
    line-height: 1.02;
    max-width: 13ch;
}

.hero-section__copy {
    display: grid;
    gap: 0.15rem;
    max-width: 52rem;
    color: #c6d2e0;
    font-size: 1.1rem;
}

.hero-section__copy-line {
    display: block;
}

.hero-section__content {
    display: grid;
    align-content: start;
}

.hero-section__actions {
    display: flex;
    flex-wrap: wrap;
    gap: 1rem;
    margin-top: 1.5rem;
}

.hero-section__proof {
    display: flex;
    flex-wrap: wrap;
    gap: 0.75rem;
    margin-top: 1.5rem;
}

.hero-section__proof span {
    padding: 0.6rem 0.9rem;
    border-radius: 999px;
    background: rgba(15, 23, 42, 0.7);
    border: 1px solid rgba(148, 163, 184, 0.25);
    color: #dbe5f0;
    font-size: 0.92rem;
}

.hero-section__panel,
.surface-card,
.interest-form-card,
.post-card {
    background: rgba(11, 19, 39, 0.75);
    border: 1px solid rgba(148, 163, 184, 0.18);
    border-radius: 1.5rem;
    box-shadow: 0 24px 80px rgba(5, 8, 17, 0.35);
}

.hero-section__panel {
    padding: 1.5rem;
}

.hero-section__panel ul {
    list-style: none;
    padding: 0;
    margin: 1.25rem 0 0;
    display: grid;
    gap: 1rem;
}

.hero-section__panel li {
    display: grid;
    gap: 0.35rem;
}

.priority-engine {
    display: grid;
    gap: 1.25rem;
    padding: 1.35rem;
    background: rgba(11, 19, 39, 0.82);
    border: 1px solid rgba(148, 163, 184, 0.2);
    border-radius: 1.5rem;
    box-shadow: 0 24px 80px rgba(5, 8, 17, 0.35);
}

.priority-engine__heading {
    display: grid;
    gap: 0.85rem;
}

.priority-engine__heading h2 {
    font-size: clamp(1.25rem, 2vw, 1.9rem);
}

.priority-engine__support {
    color: #cbd5e1;
    margin: 0;
}

.priority-engine__grid {
    display: grid;
    grid-template-columns: 1.15fr 0.8fr;
    gap: 1rem;
    align-items: stretch;
}

.priority-engine__controls {
    display: grid;
    gap: 1.25rem;
}

.priority-engine__control {
    display: grid;
    gap: 0.75rem;
}

.priority-engine__control-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 1rem;
}

.priority-engine__control-header label {
    font-weight: 600;
    color: #e2e8f0;
}

.priority-engine__control-header strong {
    color: #fb923c;
}

.priority-engine__slider {
    width: 100%;
    accent-color: #38bdf8;
    cursor: pointer;
}

.priority-engine__slider-value {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 3rem;
    min-height: 3rem;
    border-radius: 999px;
    background: rgba(30, 41, 59, 0.95);
    border: 1px solid rgba(148, 163, 184, 0.22);
    color: #f8fafc;
    font-size: 1.1rem;
    font-weight: 700;
}

.priority-engine__scale {
    display: flex;
    justify-content: space-between;
    gap: 0.75rem;
    color: #94a3b8;
    font-size: 0.9rem;
}

.priority-engine__meter {
    display: grid;
    justify-items: center;
    align-content: center;
    gap: 1rem;
    padding: 1rem;
    border-radius: 1.25rem;
    background: rgba(15, 23, 42, 0.7);
    border: 1px solid rgba(148, 163, 184, 0.18);
}

.priority-engine__bar-shell {
    display: flex;
    align-items: flex-end;
    justify-content: center;
    height: 13.5rem;
}

.priority-engine__bar-track {
    display: flex;
    align-items: flex-end;
    width: 3.75rem;
    height: 100%;
    padding: 0.5rem;
    border-radius: 999px;
    background: rgba(30, 41, 59, 0.95);
    border: 1px solid rgba(148, 163, 184, 0.22);
}

.priority-engine__bar {
    width: 100%;
    border-radius: 999px;
    transition: height 500ms ease, background 500ms ease, box-shadow 500ms ease;
}

.priority-engine__bar--high {
    background: linear-gradient(180deg, #4ade80 0%, #16a34a 100%);
    box-shadow: 0 0 28px rgba(74, 222, 128, 0.35);
}

.priority-engine__bar--medium {
    background: linear-gradient(180deg, #facc15 0%, #f59e0b 100%);
    box-shadow: 0 0 28px rgba(250, 204, 21, 0.3);
}

.priority-engine__bar--low {
    background: linear-gradient(180deg, #fb7185 0%, #ef4444 100%);
    box-shadow: 0 0 28px rgba(251, 113, 133, 0.3);
}

.priority-engine__meter-copy {
    display: grid;
    gap: 0.35rem;
    text-align: center;
}

.priority-engine__meter-copy span,
.priority-engine__meter-copy small {
    color: #94a3b8;
}

.priority-engine__meter-copy strong {
    font-size: 2rem;
    color: #f8fafc;
}

.priority-engine__message {
    display: grid;
    gap: 0.5rem;
    padding: 1rem 1.15rem;
    border-radius: 1rem;
    border: 1px solid transparent;
}

.priority-engine__message strong {
    font-size: 1rem;
}

.priority-engine__message p {
    margin: 0;
}

.priority-engine__message--high {
    background: rgba(20, 83, 45, 0.35);
    border-color: rgba(74, 222, 128, 0.35);
}

.priority-engine__message--medium {
    background: rgba(113, 63, 18, 0.35);
    border-color: rgba(250, 204, 21, 0.3);
}

.priority-engine__message--low {
    background: rgba(127, 29, 29, 0.35);
    border-color: rgba(251, 113, 133, 0.35);
}

.priority-engine__button {
    width: 100%;
    min-height: 3.35rem;
    font-size: 0.96rem;
}

.priority-engine__button-note {
    margin: -0.35rem 0 0;
    text-align: center;
    color: #94a3b8;
    font-size: 0.92rem;
}

.eyebrow {
    color: #fb923c;
    font-size: 0.82rem;
    letter-spacing: 0.16em;
    text-transform: uppercase;
    margin-bottom: 0.9rem;
}

.section-heading {
    max-width: 44rem;
    margin-bottom: 1.5rem;
}

.section-heading h2,
.section-heading h1 {
    font-size: clamp(2rem, 3vw, 3rem);
}

.three-column-grid,
.two-column-grid {
    display: grid;
    gap: 1.25rem;
}

.three-column-grid {
    grid-template-columns: repeat(3, minmax(0, 1fr));
}

.two-column-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
}

.faq-grid {
    display: grid;
    gap: 1.25rem;
    grid-template-columns: repeat(2, minmax(0, 1fr));
}

.surface-card,
.post-card {
    padding: 1.5rem;
}

.surface-card--stacked {
    display: grid;
    gap: 1rem;
}

.post-card__meta {
    display: flex;
    flex-wrap: wrap;
    gap: 0.8rem;
    color: #94a3b8;
    font-size: 0.9rem;
}

.text-link {
    color: #7dd3fc;
    text-decoration: none;
    font-weight: 600;
}

.interest-form-card {
    margin: 0 2rem;
    padding: 2rem;
}

.technical-access {
    display: grid;
    gap: 1.5rem;
}

.technical-access-card {
    padding: 2rem;
    background: rgba(11, 19, 39, 0.55);
    border: 1px solid rgba(148, 163, 184, 0.16);
    border-radius: 1.5rem;
    box-shadow: 0 24px 80px rgba(5, 8, 17, 0.25);
}

.form-grid {
    display: grid;
    gap: 1rem;
    grid-template-columns: repeat(2, minmax(0, 1fr));
}

.form-grid__full {
    grid-column: 1 / -1;
}

.form-grid label {
    display: grid;
    gap: 0.5rem;
}

.form-grid input,
.form-grid textarea {
    width: 100%;
    box-sizing: border-box;
    border-radius: 1rem;
    border: 1px solid rgba(148, 163, 184, 0.3);
    background: rgba(7, 10, 24, 0.85);
    color: #f8fbff;
    padding: 0.9rem 1rem;
    font: inherit;
}

.form-grid textarea {
    min-height: 11rem;
    resize: vertical;
}

.primary-button,
.secondary-button {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-height: 3.25rem;
    padding: 0 1.25rem;
    border-radius: 999px;
    text-decoration: none;
    border: none;
    cursor: pointer;
    font: inherit;
    font-weight: 700;
}

.primary-button {
    background: linear-gradient(135deg, #fb923c, #f97316);
    color: #0f172a;
}

.secondary-button {
    background: transparent;
    color: #e2e8f0;
    border: 1px solid rgba(148, 163, 184, 0.35);
}

.message {
    margin-top: 1rem;
    padding: 0.85rem 1rem;
    border-radius: 1rem;
}

.message--error {
    background: rgba(153, 27, 27, 0.22);
    border: 1px solid rgba(248, 113, 113, 0.4);
}

.message--success {
    background: rgba(21, 128, 61, 0.2);
    border: 1px solid rgba(74, 222, 128, 0.35);
}

.about-page {
    display: grid;
    gap: 1rem;
}

.about-page__section {
    padding-left: 0;
    padding-right: 0;
}

.about-page__cta {
    padding: 2rem;
}

.token-code {
    display: block;
    margin-top: 0.75rem;
    padding: 1rem;
    border-radius: 1rem;
    background: rgba(7, 10, 24, 0.85);
    border: 1px solid rgba(148, 163, 184, 0.3);
    color: #f8fbff;
    word-break: break-all;
    overflow-wrap: anywhere;
}

.valid.modified:not([type=checkbox]) {
    outline: 1px solid #26b050;
}

.invalid {
    outline: 1px solid #e50000;
}

.validation-message {
    color: #fecaca;
}

.blazor-error-boundary {
    background: #7f1d1d;
    padding: 1rem 1rem 1rem 3.7rem;
    color: white;
}

    .blazor-error-boundary::after {
        content: "An error has occurred.";
    }

@media (max-width: 960px) {
    .site-shell__header {
        flex-direction: column;
        align-items: flex-start;
        padding-left: 1.25rem;
        padding-right: 1.25rem;
    }

    .site-shell__nav {
        justify-content: flex-start;
    }

    .site-shell__footer {
        padding-left: 1.25rem;
        padding-right: 1.25rem;
    }

    .hero-section,
    .priority-engine__grid,
    .three-column-grid,
    .two-column-grid,
    .faq-grid,
    .form-grid {
        grid-template-columns: 1fr;
    }

    .interest-form-card,
    .technical-access-card,
    .page-section,
    .hero-section {
        padding-left: 1.25rem;
        padding-right: 1.25rem;
    }

    .interest-form-card {
        margin: 0 1.25rem;
    }
}
