@font-face {
    font-family: "Hub Sans";
    src: local("Aptos"), local("Segoe UI Variable Text"), local("Segoe UI");
    font-style: normal;
    font-weight: 300 900;
}

@font-face {
    font-family: "Hub Display";
    src: local("Bahnschrift SemiCondensed"), local("Bahnschrift"), local("Arial Narrow");
    font-style: normal;
    font-weight: 400 800;
}

:root {
    color-scheme: dark;
    --ink-950: #030908;
    --ink-900: #071412;
    --ink-850: #0b1b18;
    --ink-800: #102520;
    --ink-700: #19342d;
    --paper: #f7f5ed;
    --paper-muted: #c8cec8;
    --muted: #85978f;
    --signal: #ff5b2e;
    --signal-deep: #e9481f;
    --court: #8fe1b2;
    --court-deep: #48bb7b;
    --line: rgba(229, 225, 213, 0.14);
    --line-strong: rgba(229, 225, 213, 0.24);
    --surface: #0b1916;
    --surface-raised: #10231e;
    --font-body: "Hub Sans", sans-serif;
    --font-display: "Hub Display", sans-serif;
    --page-width: 88rem;
    --shadow: 0 30px 80px rgba(0, 0, 0, 0.32);
}

*,
*::before,
*::after {
    box-sizing: border-box;
}

html {
    min-width: 320px;
    scroll-behavior: smooth;
    background: var(--ink-900);
    scroll-padding-top: 6rem;
}

body {
    min-width: 320px;
    min-height: 100vh;
    margin: 0;
    color: var(--paper);
    font-family: var(--font-body);
    background:
        radial-gradient(circle at 80% 4%, rgba(72, 187, 123, 0.09), transparent 30rem),
        var(--ink-900);
    text-rendering: optimizeLegibility;
    -webkit-font-smoothing: antialiased;
}

body::before {
    content: "";
    position: fixed;
    inset: 0;
    z-index: -1;
    pointer-events: none;
    opacity: 0.24;
    background-image:
        linear-gradient(var(--line) 1px, transparent 1px),
        linear-gradient(90deg, var(--line) 1px, transparent 1px);
    background-size: 5rem 5rem;
    mask-image: linear-gradient(140deg, rgba(0, 0, 0, 0.95), transparent 72%);
}

button,
input {
    font: inherit;
}

button,
a,
input {
    -webkit-tap-highlight-color: transparent;
}

button {
    color: inherit;
}

a {
    color: inherit;
    text-decoration: none;
}

svg {
    display: block;
}

::selection {
    color: var(--ink-900);
    background: var(--signal);
}

:focus-visible {
    outline: 2px solid var(--court);
    outline-offset: 4px;
}

.site-shell {
    min-height: 100vh;
    overflow: hidden;
}

.site-header {
    position: relative;
    z-index: 20;
    width: min(calc(100% - 3rem), var(--page-width));
    min-height: 5.5rem;
    margin: 0 auto;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 2rem;
    border-bottom: 1px solid var(--line);
}

.brand,
.brand-copy,
.main-nav,
.nav-cta {
    display: flex;
    align-items: center;
}

.brand {
    gap: 0.8rem;
}

.brand-mark {
    width: 2.65rem;
    height: 2.65rem;
    flex: 0 0 auto;
    display: grid;
    place-items: center;
    color: var(--signal);
    border: 1px solid var(--line-strong);
    border-radius: 50%;
    background: var(--ink-900);
}

.brand-mark svg {
    width: 1.55rem;
    fill: none;
    stroke: currentColor;
    stroke-width: 2.4;
    stroke-linecap: round;
    stroke-linejoin: round;
}

.brand-copy {
    align-items: flex-start;
    flex-direction: column;
    line-height: 1;
}

.brand-copy strong,
.footer-brand strong {
    font-family: var(--font-display);
    font-size: 0.92rem;
    letter-spacing: 0.055em;
    text-transform: uppercase;
}

.brand-copy small {
    margin-top: 0.28rem;
    color: var(--muted);
    font-size: 0.62rem;
    font-weight: 700;
    letter-spacing: 0.14em;
    text-transform: uppercase;
}

.main-nav {
    gap: clamp(1.2rem, 3vw, 2.8rem);
    color: var(--paper-muted);
    font-size: 0.75rem;
    font-weight: 700;
}

.main-nav > a:not(.nav-cta) {
    transition: color 160ms ease;
}

.main-nav > a:not(.nav-cta):hover {
    color: var(--paper);
}

.nav-cta {
    gap: 0.75rem;
    padding: 0.8rem 1rem;
    color: var(--ink-900);
    border-radius: 0.25rem;
    background: var(--court);
    transition: transform 160ms ease, background 160ms ease;
}

.nav-cta:hover {
    transform: translateY(-2px);
    background: #a6ebc2;
}

.section-frame {
    width: min(calc(100% - 3rem), var(--page-width));
    margin-right: auto;
    margin-left: auto;
}

.eyebrow {
    margin: 0;
    color: var(--signal);
    font-size: 0.67rem;
    font-weight: 850;
    letter-spacing: 0.2em;
    text-transform: uppercase;
}

.hero {
    min-height: 44rem;
    display: grid;
    grid-template-columns: minmax(0, 1.02fr) minmax(25rem, 0.98fr);
    align-items: center;
    gap: clamp(3rem, 7vw, 8rem);
    padding-top: clamp(4.5rem, 9vw, 8rem);
    padding-bottom: clamp(5rem, 9vw, 8rem);
}

.hero-copy {
    position: relative;
    z-index: 2;
}

.live-label {
    width: fit-content;
    display: flex;
    align-items: center;
    gap: 0.55rem;
    margin-bottom: 2.4rem;
    padding: 0.45rem 0.65rem;
    color: var(--muted);
    border: 1px solid var(--line);
    border-radius: 99px;
    font-size: 0.62rem;
    font-weight: 800;
    letter-spacing: 0.12em;
    text-transform: uppercase;
}

.live-label span,
.console-status i,
.panel-live i {
    width: 0.42rem;
    height: 0.42rem;
    border-radius: 50%;
    background: var(--court);
    box-shadow: 0 0 0 0.24rem rgba(143, 225, 178, 0.1);
}

.hero h1,
.section-heading h2,
.steps-intro h2,
.final-cta h2,
.register-story h1,
.console-heading h2,
.success-state h2,
.status-page h1 {
    font-family: var(--font-display);
    font-weight: 600;
    letter-spacing: -0.055em;
}

.hero h1 {
    max-width: 9ch;
    margin: 0.75rem 0 1.5rem;
    font-size: clamp(4.4rem, 8vw, 8rem);
    line-height: 0.82;
}

.hero h1 em,
.register-story h1 em {
    color: var(--court);
    font-style: normal;
}

.hero-lead {
    max-width: 38rem;
    margin: 0;
    color: #a4b2ab;
    font-size: clamp(1rem, 1.5vw, 1.2rem);
    line-height: 1.65;
}

.hero-actions,
.success-actions {
    display: flex;
    flex-wrap: wrap;
    gap: 0.8rem;
    margin-top: 2.2rem;
}

.button {
    min-height: 3.2rem;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 1rem;
    padding: 0.85rem 1.2rem;
    border: 1px solid transparent;
    border-radius: 0.3rem;
    font-size: 0.78rem;
    font-weight: 800;
    cursor: pointer;
    transition: transform 160ms ease, background 160ms ease, border-color 160ms ease;
}

.button:hover:not(:disabled) {
    transform: translateY(-2px);
}

.button:disabled {
    cursor: wait;
    opacity: 0.65;
}

.button-primary {
    color: var(--ink-900);
    background: var(--court);
}

.button-primary:hover:not(:disabled) {
    background: #a6ebc2;
}

.button-secondary {
    color: var(--paper);
    border-color: var(--line-strong);
    background: rgba(255, 255, 255, 0.025);
}

.button-secondary:hover {
    border-color: rgba(255, 255, 255, 0.38);
    background: rgba(255, 255, 255, 0.055);
}

.hero-proof {
    margin-top: 3rem;
    display: flex;
    flex-wrap: wrap;
    gap: 0.7rem 1.35rem;
    color: #809189;
    font-size: 0.65rem;
    font-weight: 700;
}

.hero-proof span {
    display: flex;
    align-items: center;
    gap: 0.45rem;
}

.hero-proof b {
    color: #546961;
    font-size: 0.56rem;
}

.hero-visual {
    position: relative;
    min-height: 32rem;
    display: grid;
    place-items: center;
    isolation: isolate;
}

.hero-visual::before {
    content: "";
    position: absolute;
    width: 28rem;
    height: 28rem;
    border-radius: 50%;
    background: radial-gradient(circle, rgba(143, 225, 178, 0.13), transparent 64%);
    filter: blur(4px);
}

.court-orbit {
    position: absolute;
    border: 1px solid rgba(143, 225, 178, 0.15);
    border-radius: 50%;
}

.court-orbit::after {
    content: "";
    position: absolute;
    top: 50%;
    left: -0.3rem;
    width: 0.55rem;
    height: 0.55rem;
    border-radius: 50%;
    background: var(--signal);
    box-shadow: 0 0 1.5rem rgba(255, 91, 46, 0.7);
}

.court-orbit-one {
    width: 31rem;
    height: 31rem;
    transform: rotate(24deg);
}

.court-orbit-two {
    width: 25rem;
    height: 25rem;
    border-style: dashed;
    transform: rotate(-38deg);
}

.visual-panel {
    border: 1px solid rgba(255, 255, 255, 0.17);
    background: linear-gradient(145deg, rgba(20, 45, 38, 0.96), rgba(8, 23, 19, 0.94));
    box-shadow: var(--shadow);
    backdrop-filter: blur(20px);
}

.visual-panel-main {
    position: relative;
    z-index: 2;
    width: min(100%, 30rem);
    padding: 1.3rem;
    border-radius: 0.45rem 2rem 0.45rem 0.45rem;
    transform: rotate(-2deg);
}

.visual-panel-main::before {
    content: "";
    position: absolute;
    top: -1px;
    right: 3rem;
    left: 0;
    height: 2px;
    background: linear-gradient(90deg, var(--signal), transparent);
}

.panel-topline,
.panel-live,
.score-line,
.panel-metrics,
.visual-panel-float {
    display: flex;
    align-items: center;
}

.panel-topline {
    justify-content: space-between;
    color: #758a81;
    font-size: 0.58rem;
    font-weight: 800;
    letter-spacing: 0.14em;
    text-transform: uppercase;
}

.panel-live {
    gap: 0.45rem;
}

.panel-live i {
    display: block;
    width: 0.35rem;
    height: 0.35rem;
}

.score-line {
    justify-content: center;
    gap: 1.4rem;
    margin: 2rem 0 1.4rem;
}

.score-line > div {
    display: flex;
    align-items: baseline;
    gap: 0.5rem;
}

.score-line strong {
    font-family: var(--font-display);
    font-size: 3rem;
    line-height: 1;
}

.score-line small,
.score-line > span {
    color: var(--muted);
    font-size: 0.65rem;
    font-weight: 800;
}

.score-line > span {
    padding: 0.4rem 0.5rem;
    border: 1px solid var(--line);
    border-radius: 99px;
}

.momentum {
    height: 7rem;
    display: flex;
    align-items: flex-end;
    gap: 0.42rem;
    padding: 0.8rem 0.9rem 0;
    border-top: 1px solid var(--line);
    border-bottom: 1px solid var(--line);
    background-image: linear-gradient(rgba(255, 255, 255, 0.035) 1px, transparent 1px);
    background-size: 100% 25%;
}

.momentum span {
    flex: 1;
    min-width: 3px;
    border-radius: 2px 2px 0 0;
    background: var(--court);
    opacity: 0.72;
}

.momentum .hot {
    background: var(--signal);
}

.panel-metrics {
    justify-content: space-between;
    gap: 0.7rem;
    padding-top: 1rem;
}

.panel-metrics span {
    display: grid;
    gap: 0.15rem;
}

.panel-metrics small {
    color: #71867d;
    font-size: 0.56rem;
}

.panel-metrics b {
    font-family: var(--font-display);
    font-size: 1.15rem;
}

.visual-panel-float {
    position: absolute;
    right: -1rem;
    bottom: 2.8rem;
    z-index: 3;
    gap: 0.7rem;
    padding: 0.75rem 0.9rem;
    border-radius: 0.35rem;
}

.mini-icon {
    width: 2rem;
    height: 2rem;
    display: grid;
    place-items: center;
    color: var(--ink-900);
    border-radius: 50%;
    background: var(--court);
}

.visual-panel-float div {
    display: grid;
    gap: 0.15rem;
}

.visual-panel-float small {
    color: var(--muted);
    font-size: 0.55rem;
}

.visual-panel-float strong {
    font-size: 0.72rem;
}

.visual-panel-float > i {
    width: 0.45rem;
    height: 0.45rem;
    margin-left: 0.5rem;
    border-radius: 50%;
    background: var(--court);
}

.visual-index {
    position: absolute;
    top: 1rem;
    right: 1rem;
    color: #435b52;
    font-family: var(--font-display);
    font-size: 0.65rem;
    letter-spacing: 0.18em;
}

.promise-strip {
    padding: 1.3rem max(1.5rem, calc((100vw - var(--page-width)) / 2));
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 2rem;
    overflow: hidden;
    color: #85978f;
    border-top: 1px solid var(--line);
    border-bottom: 1px solid var(--line);
    background: rgba(0, 0, 0, 0.12);
}

.promise-strip p {
    margin: 0;
    font-family: var(--font-display);
    font-size: clamp(0.85rem, 1.5vw, 1.1rem);
    letter-spacing: 0.02em;
    white-space: nowrap;
}

.promise-strip p::before {
    content: "/";
    margin-right: 1.4rem;
    color: #3c544b;
}

.promise-strip .promise-accent {
    color: var(--court);
}

.applications-section,
.steps-section {
    padding-top: clamp(6rem, 10vw, 10rem);
    padding-bottom: clamp(6rem, 10vw, 10rem);
}

.section-heading {
    display: grid;
    grid-template-columns: minmax(0, 1.3fr) minmax(18rem, 0.7fr);
    align-items: end;
    gap: 3rem;
    margin-bottom: 3.5rem;
}

.section-heading h2,
.steps-intro h2,
.final-cta h2 {
    max-width: 13ch;
    margin: 0.7rem 0 0;
    font-size: clamp(2.7rem, 5.8vw, 5.6rem);
    line-height: 0.95;
}

.section-heading > p,
.steps-intro > p:last-child {
    margin: 0;
    color: #91a199;
    line-height: 1.65;
}

.app-grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 1rem;
}

.release-summary {
    display: flex;
    flex-wrap: wrap;
    gap: 0.6rem;
    margin: 0 0 1rem;
}

.release-summary span,
.release-state-label {
    padding: 0.45rem 0.65rem;
    color: var(--court);
    border: 1px solid rgba(111, 233, 185, 0.28);
    border-radius: 99px;
    font-size: 0.58rem;
    font-weight: 850;
    letter-spacing: 0.12em;
    text-transform: uppercase;
}

.release-state {
    padding: clamp(1.5rem, 3vw, 2.2rem);
    border: 1px solid var(--line);
    border-radius: 0.45rem;
    background: rgba(8, 22, 19, 0.72);
}

.release-state-warning {
    border-color: rgba(242, 159, 74, 0.35);
}

.release-state p {
    max-width: 42rem;
    margin: 1rem 0 0;
    color: #94a69d;
    line-height: 1.6;
}

.app-card {
    position: relative;
    min-height: 31rem;
    display: flex;
    flex-direction: column;
    padding: clamp(1.5rem, 3.5vw, 2.6rem);
    overflow: hidden;
    border: 1px solid var(--line);
    border-radius: 0.45rem 2rem 0.45rem 0.45rem;
    background: linear-gradient(145deg, rgba(20, 43, 37, 0.88), rgba(8, 22, 19, 0.9));
    transition: transform 200ms ease, border-color 200ms ease;
}

.app-card::after {
    content: "";
    position: absolute;
    top: -9rem;
    right: -8rem;
    width: 23rem;
    height: 23rem;
    border-radius: 50%;
    opacity: 0.12;
    background: currentColor;
    filter: blur(2px);
}

.app-card:hover {
    transform: translateY(-5px);
    border-color: var(--line-strong);
}

.app-card-mint {
    color: var(--court);
}

.app-card-orange {
    color: var(--signal);
}

.app-card-head,
.app-card-footer {
    position: relative;
    z-index: 2;
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.app-number {
    color: #556a61;
    font-family: var(--font-display);
    font-size: 0.68rem;
    letter-spacing: 0.18em;
}

.platform-pill {
    padding: 0.45rem 0.65rem;
    color: currentColor;
    border: 1px solid currentColor;
    border-radius: 99px;
    font-size: 0.58rem;
    font-weight: 850;
    letter-spacing: 0.14em;
    text-transform: uppercase;
    opacity: 0.9;
}

.app-symbol {
    position: absolute;
    top: 4rem;
    right: clamp(1.5rem, 4vw, 3rem);
    z-index: 1;
    width: clamp(7rem, 14vw, 11rem);
    opacity: 0.14;
}

.app-symbol svg {
    width: 100%;
    fill: none;
    stroke: currentColor;
    stroke-width: 1.2;
    stroke-linecap: round;
    stroke-linejoin: round;
}

.app-card > .eyebrow {
    position: relative;
    z-index: 2;
    margin-top: auto;
    color: currentColor;
}

.app-card h3 {
    position: relative;
    z-index: 2;
    margin: 0.65rem 0 0;
    color: var(--paper);
    font-family: var(--font-display);
    font-size: clamp(2.2rem, 4vw, 3.8rem);
    font-weight: 600;
    letter-spacing: -0.045em;
    line-height: 0.95;
}

.app-description {
    position: relative;
    z-index: 2;
    max-width: 31rem;
    margin: 1.1rem 0 2rem;
    color: #94a69d;
    line-height: 1.6;
}

.artifact-meta {
    position: relative;
    z-index: 2;
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 0.65rem;
    margin: 0 0 1.5rem;
}

.artifact-meta div {
    min-width: 0;
    padding: 0.75rem;
    border: 1px solid var(--line);
    border-radius: 0.45rem;
    background: rgba(4, 13, 11, 0.35);
}

.artifact-meta dt {
    margin: 0 0 0.25rem;
    color: #71867c;
    font-size: 0.56rem;
    font-weight: 850;
    letter-spacing: 0.12em;
    text-transform: uppercase;
}

.artifact-meta dd {
    min-width: 0;
    margin: 0;
    overflow: hidden;
    color: var(--paper);
    font-size: 0.72rem;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.app-card-footer {
    padding-top: 1.2rem;
    color: var(--paper);
    border-top: 1px solid var(--line);
}

.download-link-disabled {
    cursor: not-allowed;
    opacity: 0.62;
}

.app-card-footer > span {
    color: #71867c;
    font-size: 0.62rem;
}

.download-link {
    display: flex;
    align-items: center;
    gap: 0.8rem;
    font-size: 0.72rem;
    font-weight: 850;
}

.download-link span {
    width: 2rem;
    height: 2rem;
    display: grid;
    place-items: center;
    color: var(--ink-900);
    border-radius: 50%;
    background: var(--court);
}

.app-card-orange .download-link span {
    background: var(--signal);
}

.download-note {
    margin: 1rem 0 0;
    color: #5f746b;
    font-size: 0.62rem;
    text-align: right;
}

.steps-section {
    display: grid;
    grid-template-columns: minmax(20rem, 0.8fr) minmax(0, 1.2fr);
    gap: clamp(4rem, 9vw, 10rem);
    border-top: 1px solid var(--line);
}

.steps-intro h2 {
    max-width: 10ch;
    margin-bottom: 1.5rem;
}

.steps-list {
    margin: 0;
    padding: 0;
    list-style: none;
    border-top: 1px solid var(--line);
}

.steps-list li {
    display: grid;
    grid-template-columns: 4rem 1fr;
    gap: 1rem;
    padding: 2rem 0;
    border-bottom: 1px solid var(--line);
}

.steps-list li > span {
    color: var(--signal);
    font-family: var(--font-display);
    font-size: 0.68rem;
    letter-spacing: 0.15em;
}

.steps-list strong {
    font-family: var(--font-display);
    font-size: clamp(1.35rem, 2.4vw, 2rem);
    font-weight: 600;
}

.steps-list p {
    margin: 0.5rem 0 0;
    color: #869990;
    line-height: 1.5;
}

.final-cta {
    min-height: 24rem;
    margin-bottom: 5rem;
    padding: clamp(2rem, 6vw, 5rem);
    display: flex;
    align-items: flex-end;
    justify-content: space-between;
    gap: 3rem;
    overflow: hidden;
    border-radius: 0.5rem 3rem 0.5rem 0.5rem;
    color: var(--ink-900);
    background:
        radial-gradient(circle at 85% 15%, rgba(255, 255, 255, 0.3), transparent 18rem),
        var(--court);
}

.final-cta .eyebrow {
    color: #1b6842;
}

.final-cta h2 {
    max-width: 11ch;
}

.button-light {
    flex: 0 0 auto;
    color: var(--paper);
    background: var(--ink-900);
}

.site-footer {
    width: min(calc(100% - 3rem), var(--page-width));
    min-height: 10rem;
    margin: 0 auto;
    display: grid;
    grid-template-columns: 1fr auto 1fr;
    align-items: center;
    gap: 2rem;
    border-top: 1px solid var(--line);
}

.footer-brand {
    display: flex;
    align-items: center;
    gap: 0.8rem;
}

.brand-mark-small {
    width: 2.25rem;
    height: 2.25rem;
}

.brand-mark-small svg {
    width: 1.25rem;
}

.footer-brand p {
    margin: 0.25rem 0 0;
    color: var(--muted);
    font-size: 0.65rem;
}

.footer-links {
    display: flex;
    gap: 1.8rem;
    color: #97a69f;
    font-size: 0.7rem;
    font-weight: 700;
}

.footer-links a:hover {
    color: var(--paper);
}

.footer-edition {
    justify-self: end;
    color: #5d7168;
    font-size: 0.6rem;
}

/* Registration */
.register-page {
    min-height: calc(100vh - 5.5rem);
    display: grid;
    grid-template-columns: minmax(0, 0.9fr) minmax(30rem, 0.75fr);
    align-items: center;
    gap: clamp(4rem, 10vw, 11rem);
    padding-top: 4rem;
    padding-bottom: 6rem;
}

.back-link {
    display: inline-flex;
    align-items: center;
    gap: 0.7rem;
    margin-bottom: clamp(3rem, 8vw, 6rem);
    color: #7f9189;
    font-size: 0.7rem;
    font-weight: 750;
}

.back-link:hover {
    color: var(--paper);
}

.register-story h1 {
    max-width: 10ch;
    margin: 0.8rem 0 1.5rem;
    font-size: clamp(4rem, 7vw, 7rem);
    line-height: 0.82;
}

.register-lead {
    max-width: 36rem;
    margin: 0;
    color: #94a69d;
    font-size: 1.02rem;
    line-height: 1.65;
}

.account-benefits {
    margin-top: 3rem;
    border-top: 1px solid var(--line);
}

.account-benefits article {
    display: grid;
    grid-template-columns: 2.4rem 1fr;
    gap: 1rem;
    padding: 1rem 0;
    border-bottom: 1px solid var(--line);
}

.account-benefits article > span {
    color: var(--signal);
    font-family: var(--font-display);
    font-size: 0.62rem;
}

.account-benefits strong {
    font-size: 0.78rem;
}

.account-benefits p {
    margin: 0.25rem 0 0;
    color: #74877e;
    font-size: 0.7rem;
}

.register-console {
    position: relative;
    min-height: 40rem;
    padding: clamp(1.5rem, 4vw, 3rem);
    border: 1px solid var(--line-strong);
    border-radius: 0.4rem 2rem 0.4rem 0.4rem;
    background: linear-gradient(145deg, rgba(255, 255, 255, 0.065), rgba(255, 255, 255, 0.018));
    box-shadow: var(--shadow);
}

.register-console::before {
    content: "";
    position: absolute;
    top: -1px;
    right: 3rem;
    left: 0;
    height: 2px;
    background: linear-gradient(90deg, var(--signal), transparent);
}

.console-heading {
    margin-bottom: 2rem;
}

.console-status {
    display: flex;
    align-items: center;
    gap: 0.55rem;
    margin-bottom: 2.2rem;
    color: #81968c;
    font-size: 0.58rem;
    font-weight: 800;
    letter-spacing: 0.15em;
    text-transform: uppercase;
}

.console-status i {
    display: block;
}

.console-heading h2,
.success-state h2 {
    margin: 0.6rem 0 0.7rem;
    font-size: clamp(2rem, 4vw, 3.3rem);
    line-height: 0.95;
}

.console-heading > p:last-child,
.success-state > p {
    margin: 0;
    color: #879a91;
    line-height: 1.55;
}

.register-form {
    display: grid;
    gap: 1.1rem;
}

.form-row {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 0.8rem;
}

.field-group {
    display: grid;
    gap: 0.45rem;
}

.field-group label {
    color: #aab6b0;
    font-size: 0.68rem;
    font-weight: 800;
}

.field-group input {
    width: 100%;
    min-height: 3rem;
    padding: 0.8rem 0.85rem;
    color: var(--paper);
    border: 1px solid var(--line);
    border-radius: 0.25rem;
    outline: none;
    background: rgba(3, 12, 10, 0.55);
    transition: border-color 160ms ease, box-shadow 160ms ease;
}

.field-group input::placeholder {
    color: #52665d;
}

.field-group input:focus {
    border-color: var(--court);
    box-shadow: 0 0 0 3px rgba(143, 225, 178, 0.08);
}

.field-group input.invalid {
    border-color: rgba(255, 119, 112, 0.72);
}

.validation-message {
    color: #ff9a94;
    font-size: 0.62rem;
    line-height: 1.35;
}

.password-hint {
    margin: -0.4rem 0 0;
    color: #657a71;
    font-size: 0.6rem;
}

.terms-field {
    display: grid;
    grid-template-columns: auto 1fr;
    align-items: start;
    gap: 0.7rem;
    margin-top: 0.2rem;
}

.terms-field input {
    width: 1rem;
    height: 1rem;
    margin: 0.08rem 0 0;
    accent-color: var(--court-deep);
}

.terms-field label {
    color: #82948c;
    font-size: 0.65rem;
    line-height: 1.45;
}

.form-alert {
    display: grid;
    grid-template-columns: 1.5rem 1fr;
    align-items: center;
    gap: 0.65rem;
    padding: 0.75rem;
    color: #ffaaa5;
    border: 1px solid rgba(255, 119, 112, 0.28);
    border-radius: 0.3rem;
    background: rgba(255, 119, 112, 0.08);
    font-size: 0.68rem;
    line-height: 1.4;
}

.form-alert span {
    width: 1.35rem;
    height: 1.35rem;
    display: grid;
    place-items: center;
    border: 1px solid currentColor;
    border-radius: 50%;
    font-weight: 900;
}

.submit-button {
    width: 100%;
    margin-top: 0.4rem;
}

.spinner {
    width: 1rem;
    height: 1rem;
    border: 2px solid rgba(7, 20, 18, 0.28);
    border-top-color: var(--ink-900);
    border-radius: 50%;
    animation: spin 700ms linear infinite;
}

@keyframes spin {
    to { transform: rotate(360deg); }
}

.success-state {
    min-height: 33rem;
    display: flex;
    flex-direction: column;
    justify-content: center;
}

.success-mark {
    width: 4.4rem;
    height: 4.4rem;
    display: grid;
    place-items: center;
    margin-bottom: 2rem;
    color: var(--ink-900);
    border-radius: 50%;
    background: var(--court);
    box-shadow: 0 0 0 0.65rem rgba(143, 225, 178, 0.08);
    font-family: var(--font-display);
    font-size: 1.8rem;
}

.text-link {
    align-self: center;
    color: #8fa098;
    font-size: 0.72rem;
    font-weight: 750;
}

.text-link:hover {
    color: var(--paper);
}

.status-page {
    width: min(calc(100% - 3rem), 52rem);
    min-height: calc(100vh - 15.5rem);
    margin: 0 auto;
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    justify-content: center;
    padding: 5rem 0;
}

.status-page h1 {
    max-width: 12ch;
    margin: 0.8rem 0 1rem;
    font-size: clamp(3rem, 7vw, 6rem);
    line-height: 0.9;
}

.status-page p {
    max-width: 36rem;
    margin: 0 0 2rem;
    color: var(--muted);
    line-height: 1.6;
}

#blazor-error-ui {
    position: fixed;
    right: 1rem;
    bottom: 1rem;
    z-index: 1000;
    display: none;
    align-items: center;
    gap: 0.8rem;
    max-width: 30rem;
    padding: 0.9rem 1rem;
    color: var(--paper);
    border: 1px solid rgba(255, 119, 112, 0.4);
    border-radius: 0.3rem;
    background: var(--surface-raised);
    box-shadow: var(--shadow);
    font-size: 0.75rem;
}

#blazor-error-ui .reload {
    color: #ff9a94;
    font-weight: 800;
}

#blazor-error-ui .dismiss {
    padding: 0;
    border: 0;
    color: var(--muted);
    background: transparent;
    cursor: pointer;
}

@media (max-width: 1050px) {
    .hero {
        grid-template-columns: minmax(0, 1fr) minmax(21rem, 0.8fr);
        gap: 2rem;
    }

    .hero h1 {
        font-size: clamp(4rem, 8.5vw, 6rem);
    }

    .court-orbit-one {
        width: 27rem;
        height: 27rem;
    }

    .court-orbit-two {
        width: 22rem;
        height: 22rem;
    }

    .register-page {
        gap: 4rem;
    }
}

@media (max-width: 850px) {
    .main-nav > a:not(.nav-cta) {
        display: none;
    }

    .hero {
        grid-template-columns: minmax(0, 1fr);
        padding-top: 5rem;
    }

    .hero h1 {
        max-width: 8ch;
        font-size: clamp(4.2rem, 15vw, 7rem);
    }

    .hero-visual {
        width: min(100%, 38rem);
        margin: 0 auto;
    }

    .section-heading,
    .steps-section,
    .register-page {
        grid-template-columns: minmax(0, 1fr);
    }

    .section-heading {
        align-items: start;
        gap: 1.5rem;
    }

    .section-heading > p {
        max-width: 35rem;
    }

    .app-grid {
        grid-template-columns: minmax(0, 1fr);
    }

    .steps-section {
        gap: 4rem;
    }

    .final-cta {
        align-items: flex-start;
        flex-direction: column;
        justify-content: flex-end;
    }

    .site-footer {
        grid-template-columns: 1fr auto;
    }

    .footer-links {
        display: none;
    }

    .register-page {
        padding-top: 3rem;
    }

    .register-story {
        max-width: 40rem;
    }

    .back-link {
        margin-bottom: 3rem;
    }
}

@media (max-width: 580px) {
    .site-header,
    .section-frame,
    .site-footer {
        width: min(calc(100% - 2rem), var(--page-width));
    }

    .site-header {
        min-height: 4.8rem;
    }

    .brand-copy strong {
        font-size: 0.78rem;
    }

    .brand-copy small {
        display: none;
    }

    .nav-cta {
        padding: 0.72rem 0.8rem;
        font-size: 0.68rem;
    }

    .nav-cta span {
        display: none;
    }

    .hero {
        padding-top: 3.5rem;
        padding-bottom: 4rem;
    }

    .hero h1 {
        font-size: clamp(3.8rem, 20vw, 5.5rem);
    }

    .hero-actions,
    .hero-actions .button,
    .success-actions,
    .success-actions .button {
        width: 100%;
    }

    .hero-visual {
        min-height: 25rem;
    }

    .court-orbit-one {
        width: 23rem;
        height: 23rem;
    }

    .court-orbit-two {
        width: 19rem;
        height: 19rem;
    }

    .visual-panel-float {
        right: 0;
        bottom: 1rem;
    }

    .promise-strip {
        justify-content: flex-start;
        padding-right: 1rem;
        padding-left: 1rem;
        overflow-x: auto;
    }

    .promise-strip p {
        font-size: 0.78rem;
    }

    .section-heading h2,
    .steps-intro h2,
    .final-cta h2 {
        font-size: clamp(2.7rem, 14vw, 4rem);
    }

    .app-card {
        min-height: 28rem;
    }

    .app-card-footer {
        align-items: flex-start;
        flex-direction: column;
        gap: 1rem;
    }

    .download-link {
        width: 100%;
        justify-content: space-between;
    }

    .download-note {
        text-align: left;
    }

    .final-cta {
        width: calc(100% - 2rem);
        min-height: 27rem;
        margin-bottom: 2rem;
        border-radius: 0.4rem 2rem 0.4rem 0.4rem;
    }

    .button-light {
        width: 100%;
    }

    .site-footer {
        min-height: 8rem;
    }

    .footer-edition {
        font-size: 0.54rem;
        text-align: right;
    }

    .register-story h1 {
        font-size: clamp(3.8rem, 18vw, 5.5rem);
    }

    .register-console {
        min-height: auto;
        padding: 1.25rem;
    }

    .form-row {
        grid-template-columns: minmax(0, 1fr);
    }
}

@media (prefers-reduced-motion: reduce) {
    *,
    *::before,
    *::after {
        scroll-behavior: auto !important;
        transition-duration: 0.01ms !important;
        animation-duration: 0.01ms !important;
        animation-iteration-count: 1 !important;
    }
}
