:root {
    --brand-teal: #0f4c5c;
    --brand-orange: #ff6b35;
    --brand-orange-dark: #b5410d;
    --brand-mint: #a8d5de;
    --ink: #0f172a;
    --body: #475569;
    --muted: #64748b;
    --surface: #ffffff;
    --surface-soft: #f4f8f9;
    --line: rgba(15, 76, 92, 0.14);
    --shadow: 0 24px 60px rgba(15, 23, 42, 0.12);
    --radius: 8px;
    --container: 1200px;
    --gutter: 32px;
    --font-sans: Inter, "Inter var", "Segoe UI", system-ui, -apple-system, BlinkMacSystemFont, sans-serif;
}

*, *::before, *::after {
    box-sizing: border-box;
}

html,
body {
    margin: 0;
    min-height: 100%;
}

body {
    font-family: var(--font-sans);
    color: var(--body);
    background: #fbfdfe;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

button,
input {
    font: inherit;
}

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

a {
    color: inherit;
    text-decoration: none;
}

h1:focus {
    outline: none;
}

.launch-page {
    position: relative;
    min-height: 100vh;
    overflow: hidden;
    background:
        linear-gradient(90deg, rgba(15, 76, 92, 0.035) 1px, transparent 1px),
        linear-gradient(rgba(15, 76, 92, 0.035) 1px, transparent 1px),
        linear-gradient(180deg, #ffffff 0%, #f7fbfc 62%, #eff6f7 100%);
    background-size: 56px 56px, 56px 56px, auto;
}

.launch-page::before {
    content: "";
    position: absolute;
    inset: 0;
    background:
        linear-gradient(120deg, rgba(255, 107, 53, 0.09), transparent 34%),
        linear-gradient(300deg, rgba(168, 213, 222, 0.38), transparent 42%);
    pointer-events: none;
}

.page-grid {
    position: absolute;
    left: -8%;
    right: -8%;
    bottom: 150px;
    height: 220px;
    opacity: 0.5;
    background:
        linear-gradient(16deg, transparent 0 30%, rgba(15, 76, 92, 0.18) 30.2%, transparent 30.6% 100%),
        linear-gradient(-12deg, transparent 0 55%, rgba(255, 107, 53, 0.15) 55.2%, transparent 55.6% 100%);
    pointer-events: none;
}

.shell {
    position: relative;
    z-index: 1;
    width: min(100% - (var(--gutter) * 2), var(--container));
    margin: 0 auto;
}

.site-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 24px;
    padding: 28px 0;
}

.brand {
    display: inline-flex;
    align-items: center;
    gap: 12px;
    color: var(--ink);
    font-size: 22px;
    font-weight: 700;
    letter-spacing: 0;
}

.brand img {
    width: 34px;
    height: 34px;
}

.launch-badge {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-height: 38px;
    padding: 0 16px;
    border: 1px solid rgba(255, 107, 53, 0.24);
    border-radius: var(--radius);
    color: var(--brand-orange-dark);
    background: rgba(255, 244, 238, 0.82);
    font-size: 13px;
    font-weight: 700;
}

.hero {
    display: grid;
    grid-template-columns: minmax(0, 0.92fr) minmax(420px, 1.08fr);
    gap: 64px;
    align-items: center;
    padding: 46px 0 56px;
}

.hero-copy {
    max-width: 570px;
}

.eyebrow {
    margin: 0 0 18px;
    color: var(--brand-orange-dark);
    font-size: 13px;
    font-weight: 800;
    letter-spacing: 0;
    text-transform: uppercase;
}

h1 {
    margin: 0;
    color: var(--ink);
    font-size: 86px;
    line-height: 0.94;
    letter-spacing: 0;
}

.hero-lead {
    margin: 22px 0 30px;
    color: var(--body);
    font-size: 21px;
    line-height: 1.48;
}

.notify-form {
    max-width: 560px;
}

.notify-form__row {
    display: grid;
    grid-template-columns: minmax(0, 1fr) auto;
    gap: 10px;
}

.notify-form__input {
    width: 100%;
    min-width: 0;
    min-height: 56px;
    padding: 0 18px;
    border: 1px solid rgba(15, 76, 92, 0.18);
    border-radius: var(--radius);
    color: var(--ink);
    background: rgba(255, 255, 255, 0.9);
    outline: none;
    box-shadow: 0 12px 30px rgba(15, 23, 42, 0.07);
}

.notify-form__input::placeholder {
    color: #94a3b8;
}

.notify-form__input:focus {
    border-color: var(--brand-teal);
    box-shadow: 0 0 0 4px rgba(15, 76, 92, 0.12);
}

.notify-form__button {
    min-width: 142px;
    min-height: 56px;
    padding: 0 22px;
    border: 1px solid var(--brand-orange);
    border-radius: var(--radius);
    color: #ffffff;
    background: var(--brand-orange);
    font-size: 15px;
    font-weight: 800;
    cursor: pointer;
    transition: background-color 0.16s ease, border-color 0.16s ease, transform 0.16s ease;
}

.notify-form__button:hover:not(:disabled) {
    background: #e85a26;
    border-color: #e85a26;
    transform: translateY(-1px);
}

.notify-form__button:disabled,
.notify-form__input:disabled {
    cursor: wait;
    opacity: 0.72;
}

.validation-message {
    display: block;
    margin-top: 10px;
    color: #b42318;
    font-size: 14px;
    font-weight: 700;
}

.form-note,
.form-message {
    min-height: 22px;
    margin: 14px 0 0;
    font-size: 14px;
    line-height: 1.5;
}

.form-note {
    color: var(--muted);
}

.form-message {
    font-weight: 700;
}

.form-message--success {
    color: var(--brand-teal);
}

.form-message--error {
    color: #b42318;
}

.network-visual {
    position: relative;
    min-width: 0;
    padding: 28px;
    border: 1px solid rgba(15, 76, 92, 0.14);
    border-radius: var(--radius);
    background: rgba(255, 255, 255, 0.82);
    box-shadow: var(--shadow);
    backdrop-filter: blur(12px);
}

.network-map {
    position: relative;
    width: 100%;
    min-height: 460px;
    overflow: hidden;
    border-radius: var(--radius);
    background:
        linear-gradient(90deg, rgba(15, 76, 92, 0.055) 1px, transparent 1px),
        linear-gradient(rgba(15, 76, 92, 0.055) 1px, transparent 1px),
        var(--surface-soft);
    background-size: 44px 44px;
}

.network-lines {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
}

.network-lines path {
    fill: none;
    stroke: rgba(15, 76, 92, 0.28);
    stroke-width: 2;
}

.network-lines circle {
    fill: none;
    stroke: rgba(255, 107, 53, 0.2);
    stroke-width: 2;
}

.network-core,
.network-node {
    position: absolute;
    display: grid;
    place-items: center;
    text-align: center;
    border: 1px solid rgba(15, 76, 92, 0.16);
    border-radius: var(--radius);
    background: rgba(255, 255, 255, 0.92);
    box-shadow: 0 14px 32px rgba(15, 23, 42, 0.1);
}

.network-core {
    left: 50%;
    top: 50%;
    width: 132px;
    min-height: 132px;
    transform: translate(-50%, -50%);
    padding: 16px;
}

.network-core img {
    width: 42px;
    height: 42px;
    margin-bottom: 8px;
}

.network-core strong,
.network-node strong {
    color: var(--ink);
    font-size: 16px;
    font-weight: 800;
    line-height: 1.1;
}

.network-core span,
.network-node span {
    margin-top: 4px;
    color: var(--muted);
    font-size: 12px;
    font-weight: 700;
}

.network-node {
    width: 104px;
    min-height: 78px;
    padding: 12px;
}

.network-node--top {
    left: 50%;
    top: 44px;
    transform: translateX(-50%);
}

.network-node--left {
    left: 32px;
    top: 128px;
}

.network-node--right {
    right: 32px;
    top: 128px;
}

.network-node--bottom-left {
    left: 70px;
    bottom: 56px;
}

.network-node--bottom-right {
    right: 70px;
    bottom: 56px;
}

.metrics {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 10px;
    margin-top: 14px;
}

.metric {
    min-height: 112px;
    padding: 16px;
    border: 1px solid rgba(15, 76, 92, 0.12);
    border-radius: var(--radius);
    background: #ffffff;
}

.metric strong {
    display: block;
    color: var(--ink);
    font-size: 14px;
    line-height: 1.28;
}

.metric span {
    display: block;
    margin-top: 7px;
    color: var(--muted);
    font-size: 13px;
    line-height: 1.35;
}

.launch-strip {
    margin: 14px 0 26px;
    padding: 28px;
    border-radius: var(--radius);
    color: #ffffff;
    background:
        linear-gradient(110deg, var(--brand-teal) 0%, #174657 58%, #23384a 100%);
}

.launch-strip p {
    max-width: 760px;
    margin: 0;
    font-size: 24px;
    line-height: 1.28;
    font-weight: 700;
}

.footer {
    display: flex;
    justify-content: space-between;
    gap: 18px;
    padding: 0 0 30px;
    color: var(--muted);
    font-size: 14px;
}

.blazor-error-boundary {
    padding: 1rem;
    color: #ffffff;
    background: #b32121;
}

.blazor-error-boundary::after {
    content: "An error has occurred.";
}

@media (max-width: 1020px) {
    .hero {
        grid-template-columns: 1fr;
        gap: 38px;
    }

    .hero-copy {
        max-width: 760px;
    }
}

@media (max-width: 720px) {
    :root {
        --gutter: 20px;
    }

    .site-header {
        padding: 22px 0;
    }

    .brand {
        font-size: 20px;
    }

    .launch-badge {
        min-height: 34px;
        padding: 0 12px;
        font-size: 12px;
    }

    .hero {
        padding: 28px 0 38px;
    }

    h1 {
        font-size: 58px;
    }

    .hero-lead {
        font-size: 18px;
    }

    .notify-form__row,
    .metrics {
        grid-template-columns: 1fr;
    }

    .notify-form__button {
        width: 100%;
    }

    .network-visual {
        padding: 16px;
    }

    .network-map {
        min-height: 520px;
    }

    .network-node--left {
        left: 18px;
        top: 150px;
    }

    .network-node--right {
        right: 18px;
        top: 150px;
    }

    .network-node--bottom-left {
        left: 26px;
        bottom: 58px;
    }

    .network-node--bottom-right {
        right: 26px;
        bottom: 58px;
    }

    .launch-strip {
        padding: 22px;
    }

    .launch-strip p {
        font-size: 20px;
    }

    .footer {
        flex-direction: column;
    }
}

@media (max-width: 460px) {
    h1 {
        font-size: 46px;
    }

    .network-core {
        width: 112px;
        min-height: 112px;
    }

    .network-node {
        width: 92px;
    }

    .network-node--left {
        left: 6px;
        top: 112px;
    }

    .network-node--right {
        right: 6px;
        top: 112px;
    }
}
