@font-face {
    font-family: "Unbounded";
    src: url("./Unbounded-Variable.ttf") format("truetype");
    font-style: normal;
    font-weight: 200 900;
    font-display: swap;
}

:root {
    color-scheme: dark;
    --black: #000;
    --panel: #090909;
    --cell: #121212;
    --raised: #181818;
    --divider: #303030;
    --secondary: #949494;
    --primary: #e8e8e6;
    --white: #fff;
    --danger: #ff6f61;
    --success: #b9d7aa;
    --focus: #fff;
    --font: "Unbounded", "Arial Narrow", Arial, sans-serif;
}

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

html {
    min-width: 320px;
    min-height: 100%;
    background: var(--black);
    scroll-behavior: smooth;
}

body {
    min-width: 320px;
    min-height: 100vh;
    margin: 0;
    color: var(--primary);
    background: var(--black);
    font-family: var(--font);
    font-weight: 360;
    -webkit-font-smoothing: antialiased;
    text-rendering: geometricPrecision;
}

button,
input {
    font: inherit;
}

button,
input[type="checkbox"] {
    cursor: pointer;
}

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

::selection {
    color: var(--black);
    background: var(--white);
}

.skip-link {
    position: fixed;
    z-index: 100;
    top: 14px;
    left: 14px;
    padding: 12px 16px;
    color: var(--black);
    background: var(--white);
    font-size: 9px;
    letter-spacing: .08em;
    text-transform: uppercase;
    transform: translateY(-180%);
}

.skip-link:focus {
    transform: translateY(0);
}

.account-shell {
    min-height: 100vh;
    display: grid;
    grid-template-columns: minmax(360px, .9fr) minmax(520px, 1.1fr);
}

.brand-panel,
.account-panel {
    position: relative;
    min-height: 100vh;
    overflow: hidden;
}

.brand-panel {
    isolation: isolate;
    display: flex;
    flex-direction: column;
    padding: clamp(28px, 4.3vw, 74px);
    border-right: 1px solid var(--divider);
    background:
        radial-gradient(circle at 68% 38%, rgba(255, 255, 255, .06), transparent 28%),
        linear-gradient(145deg, #101010, #030303 72%);
}

.brand-panel::after {
    content: "";
    position: absolute;
    z-index: -2;
    inset: 0;
    opacity: .34;
    background-image: repeating-linear-gradient(122deg, transparent 0 96px, rgba(255,255,255,.035) 97px 98px);
}

.brand-lockup {
    position: relative;
    z-index: 3;
    width: fit-content;
    display: inline-flex;
    align-items: center;
    gap: 15px;
    color: var(--white);
    font-size: 12px;
    font-weight: 590;
    letter-spacing: .11em;
}

.brand-lockup img {
    width: 39px;
    height: 31px;
    object-fit: contain;
}

.brand-lockup,
.account-topline a,
.account-footer a,
.text-link,
.text-button {
    transition: color .18s ease, opacity .18s ease;
}

.brand-lockup:hover,
.account-topline a:hover,
.account-footer a:hover,
.text-link:hover,
.text-button:hover {
    color: var(--white);
    opacity: .7;
}

.brand-lockup:focus-visible,
.account-topline a:focus-visible,
.account-footer a:focus-visible,
.text-link:focus-visible,
.text-button:focus-visible,
summary:focus-visible {
    outline: 2px solid var(--focus);
    outline-offset: 5px;
}

.brand-facets {
    position: absolute;
    z-index: -1;
    inset: 8% -18% 13% 15%;
    pointer-events: none;
}

.brand-facets span {
    position: absolute;
    display: block;
    border: 1px solid rgba(255,255,255,.1);
    background: linear-gradient(145deg, rgba(255,255,255,.055), rgba(255,255,255,.005));
    clip-path: polygon(16% 0, 100% 22%, 72% 100%, 0 76%);
}

.brand-facets span:nth-child(1) {
    inset: 2% 19% 48% 5%;
    transform: rotate(-10deg);
}

.brand-facets span:nth-child(2) {
    inset: 37% 0 12% 34%;
    transform: rotate(13deg);
}

.brand-facets span:nth-child(3) {
    inset: 61% 42% 0 1%;
    transform: rotate(-18deg);
}

.brand-copy {
    position: relative;
    z-index: 2;
    margin-top: auto;
    padding: clamp(90px, 16vh, 190px) 0 clamp(58px, 9vh, 105px);
}

.overline,
.form-eyebrow,
.brand-meta,
.account-topline,
.account-footer,
.field-label,
.helper,
.field-errors,
.status-box,
.profile-kicker,
.profile-status,
.consent-copy,
.danger-disclosure summary {
    text-transform: uppercase;
    letter-spacing: .12em;
}

.overline {
    margin: 0 0 28px;
    color: var(--secondary);
    font-size: 8px;
    font-weight: 520;
}

.brand-heading {
    max-width: 690px;
    margin: 0;
    color: var(--white);
    font-size: clamp(44px, 4.8vw, 80px);
    font-weight: 590;
    line-height: .98;
    letter-spacing: -.06em;
}

.brand-note {
    max-width: 46ch;
    margin: 36px 0 0;
    color: var(--secondary);
    font-size: 10px;
    line-height: 1.9;
}

.brand-meta {
    position: relative;
    z-index: 2;
    display: grid;
    grid-template-columns: auto 1fr auto;
    gap: 18px;
    padding-top: 14px;
    border-top: 1px solid var(--divider);
    color: var(--secondary);
    font-size: 7px;
}

.brand-meta span:nth-child(2) {
    text-align: center;
}

.account-panel {
    display: flex;
    flex-direction: column;
    padding: clamp(28px, 4.3vw, 74px);
    background: var(--panel);
}

.account-panel::before {
    content: "";
    position: absolute;
    top: 0;
    right: clamp(28px, 4.3vw, 74px);
    width: min(44%, 370px);
    height: 1px;
    background: var(--white);
}

.account-topline {
    position: relative;
    z-index: 2;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 24px;
    color: var(--secondary);
    font-size: 8px;
}

.account-topline nav {
    display: flex;
    align-items: center;
    gap: 26px;
}

.account-topline form {
    margin: 0;
}

.text-button {
    appearance: none;
    margin: 0;
    padding: 0;
    color: inherit;
    background: none;
    border: 0;
    font-size: inherit;
    letter-spacing: inherit;
    text-transform: inherit;
}

.auth-frame {
    width: min(100%, 580px);
    margin: auto;
    padding: clamp(80px, 13vh, 155px) 0 clamp(70px, 10vh, 115px);
}

.form-eyebrow {
    margin: 0 0 22px;
    color: var(--secondary);
    font-size: 8px;
    font-weight: 540;
}

.form-title,
.profile-title,
.profile-section-title {
    color: var(--white);
    font-weight: 570;
    letter-spacing: -.048em;
}

.form-title {
    max-width: 11ch;
    margin: 0;
    font-size: clamp(38px, 4.3vw, 67px);
    line-height: 1.04;
}

.form-intro {
    max-width: 52ch;
    margin: 28px 0 0;
    color: var(--secondary);
    font-size: 10px;
    line-height: 1.85;
}

.launcher-account-identity {
    overflow-wrap: anywhere;
}

.auth-form,
.form-stack {
    display: grid;
    gap: 25px;
    margin-top: 48px;
}

.form-field {
    display: grid;
    gap: 10px;
}

.field-label {
    color: #b6b6b6;
    font-size: 8px;
    font-weight: 520;
}

.field-input {
    width: 100%;
    min-height: 55px;
    padding: 15px 0;
    color: var(--white);
    caret-color: var(--white);
    background: transparent;
    border: 0;
    border-bottom: 1px solid #484848;
    border-radius: 0;
    outline: 0;
    font-size: 13px;
    font-weight: 370;
    transition: border-color .18s ease, background-color .18s ease;
}

.field-input::placeholder {
    color: #555;
}

.field-input:hover {
    border-color: #777;
}

.field-input:focus {
    border-color: var(--white);
    box-shadow: 0 1px 0 var(--white);
}

.field-input[readonly] {
    color: var(--secondary);
}

.helper {
    margin: 0;
    color: #666;
    font-size: 7px;
    line-height: 1.7;
}

.field-errors {
    display: grid;
    gap: 6px;
    margin: 0;
    padding: 0;
    color: #ff9188;
    font-size: 7px;
    line-height: 1.6;
    list-style: none;
}

.consent-list {
    display: grid;
    gap: 18px;
    padding: 6px 0 0;
}

.consent-row {
    display: grid;
    grid-template-columns: 20px minmax(0, 1fr);
    align-items: start;
    gap: 13px;
    color: var(--secondary);
}

.consent-row input {
    appearance: none;
    width: 17px;
    height: 17px;
    margin: 2px 0 0;
    border: 1px solid #5c5c5c;
    border-radius: 0;
    background: transparent;
}

.consent-row input:checked {
    border-color: var(--white);
    background: var(--white);
    box-shadow: inset 0 0 0 4px var(--panel);
}

.consent-row input:focus-visible {
    outline: 2px solid var(--focus);
    outline-offset: 3px;
}

.consent-copy {
    font-size: 7px;
    line-height: 1.75;
}

.consent-copy a,
.inline-link {
    color: var(--primary);
    border-bottom: 1px solid #656565;
}

.consent-note {
    margin: -5px 0 0 33px;
}

.consent-copy a:hover,
.inline-link:hover {
    color: var(--white);
    border-color: var(--white);
}

.form-actions {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 22px;
    margin-top: 7px;
}

.form-actions-stacked {
    align-items: stretch;
    flex-direction: column;
}

.primary-button,
.secondary-button,
.danger-button {
    appearance: none;
    min-height: 54px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 12px;
    padding: 16px 22px;
    border: 1px solid var(--primary);
    border-radius: 0;
    font-size: 8px;
    font-weight: 590;
    letter-spacing: .1em;
    text-transform: uppercase;
    transition: color .18s ease, background-color .18s ease, border-color .18s ease, transform .18s ease;
}

.primary-button {
    color: var(--black);
    background: var(--primary);
}

.secondary-button {
    color: var(--primary);
    background: transparent;
}

.danger-button {
    color: var(--danger);
    background: transparent;
    border-color: rgba(255, 111, 97, .55);
}

.primary-button:hover,
.primary-button:focus-visible {
    color: var(--black);
    background: var(--white);
    border-color: var(--white);
    transform: translateY(-2px);
}

.secondary-button:hover,
.secondary-button:focus-visible {
    color: var(--black);
    background: var(--primary);
    transform: translateY(-2px);
}

.danger-button:hover,
.danger-button:focus-visible {
    color: var(--black);
    background: var(--danger);
    border-color: var(--danger);
    transform: translateY(-2px);
}

.primary-button:focus-visible,
.secondary-button:focus-visible,
.danger-button:focus-visible {
    outline: 2px solid var(--focus);
    outline-offset: 4px;
}

.primary-button:disabled,
.secondary-button:disabled,
.danger-button:disabled {
    cursor: not-allowed;
    opacity: .5;
    transform: none;
}

.text-link {
    color: var(--secondary);
    border-bottom: 1px solid #575757;
    font-size: 8px;
    letter-spacing: .08em;
    line-height: 1.8;
    text-transform: uppercase;
}

.remember-row {
    display: flex;
    align-items: center;
    gap: 11px;
    color: var(--secondary);
    font-size: 8px;
    letter-spacing: .05em;
}

.remember-row input {
    appearance: none;
    width: 17px;
    height: 17px;
    margin: 0;
    border: 1px solid #5c5c5c;
    border-radius: 0;
    background: transparent;
}

.remember-row input:checked {
    border-color: var(--white);
    background: var(--white);
    box-shadow: inset 0 0 0 4px var(--panel);
}

.remember-row input:focus-visible {
    outline: 2px solid var(--focus);
    outline-offset: 3px;
}

.status-box {
    margin: 0 0 34px;
    padding: 17px 18px;
    color: var(--success);
    border: 1px solid rgba(185, 215, 170, .35);
    background: rgba(185, 215, 170, .055);
    font-size: 7px;
    line-height: 1.75;
}

.status-box-error {
    color: #ff9188;
    border-color: rgba(255, 111, 97, .38);
    background: rgba(255, 111, 97, .055);
}

.account-footer {
    position: relative;
    z-index: 2;
    display: flex;
    align-items: flex-end;
    justify-content: space-between;
    gap: 24px;
    padding-top: 14px;
    border-top: 1px solid var(--divider);
    color: #696969;
    font-size: 7px;
}

.account-footer > span {
    color: #a8a8a8;
    font-weight: 590;
}

.account-footer nav {
    display: flex;
    flex-wrap: wrap;
    justify-content: flex-end;
    gap: 12px 22px;
    text-align: right;
}

.verification-address {
    display: block;
    margin-top: 14px;
    color: var(--white);
    font-size: 12px;
    font-weight: 480;
    word-break: break-word;
}

.profile-frame {
    width: min(100%, 980px);
    margin: 0 auto;
    padding: clamp(72px, 10vh, 126px) 0 clamp(70px, 10vh, 115px);
}

.profile-header {
    display: grid;
    grid-template-columns: minmax(0, 1fr) minmax(220px, .45fr);
    align-items: end;
    gap: 38px;
    margin-bottom: 64px;
}

.profile-title {
    margin: 0;
    font-size: clamp(40px, 5vw, 76px);
    line-height: 1.02;
}

.profile-summary {
    margin: 0;
    color: var(--secondary);
    font-size: 9px;
    line-height: 1.85;
}

.profile-grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    border-top: 1px solid var(--divider);
    border-left: 1px solid var(--divider);
}

.profile-section {
    min-width: 0;
    padding: clamp(28px, 3.2vw, 48px);
    border-right: 1px solid var(--divider);
    border-bottom: 1px solid var(--divider);
    background: rgba(255,255,255,.012);
}

.profile-section-wide {
    grid-column: 1 / -1;
}

.profile-section-danger {
    background: rgba(255, 111, 97, .018);
}

.profile-kicker {
    margin: 0 0 22px;
    color: var(--secondary);
    font-size: 7px;
}

.profile-section-title {
    margin: 0;
    font-size: clamp(21px, 2vw, 31px);
    line-height: 1.12;
}

.profile-section-copy {
    max-width: 58ch;
    margin: 17px 0 0;
    color: var(--secondary);
    font-size: 9px;
    line-height: 1.8;
}

.profile-name-value {
    margin: 30px 0 0;
    color: var(--white);
    font-size: clamp(21px, 2.3vw, 36px);
    font-weight: 540;
    letter-spacing: -.035em;
    overflow-wrap: anywhere;
}

.profile-status {
    width: fit-content;
    margin-top: 25px;
    padding: 8px 10px;
    color: var(--secondary);
    border: 1px solid var(--divider);
    font-size: 7px;
    line-height: 1.4;
}

.profile-status-active {
    color: var(--success);
    border-color: rgba(185, 215, 170, .35);
}

.profile-section .form-stack {
    margin-top: 33px;
}

.profile-section .form-actions {
    margin-top: 3px;
}

.danger-disclosure {
    margin-top: 28px;
}

.danger-disclosure summary {
    width: fit-content;
    color: var(--danger);
    cursor: pointer;
    font-size: 8px;
    list-style: none;
}

.danger-disclosure summary::-webkit-details-marker {
    display: none;
}

.danger-disclosure summary::after {
    content: " +";
}

.danger-disclosure[open] summary::after {
    content: " −";
}

.danger-content {
    max-width: 610px;
    margin-top: 28px;
    padding-top: 28px;
    border-top: 1px solid rgba(255, 111, 97, .25);
}

.danger-content p {
    margin: 0;
    color: var(--secondary);
    font-size: 9px;
    line-height: 1.8;
}

.empty-state {
    display: grid;
    gap: 26px;
    max-width: 650px;
}

.standalone-action {
    margin-top: 34px;
}

.dashboard-actions {
    margin-top: 38px;
}

.legal-shell .brand-panel {
    position: sticky;
    top: 0;
    height: 100vh;
    align-self: start;
}

.legal-shell .auth-frame {
    width: min(100%, 720px);
    padding-top: clamp(80px, 10vh, 125px);
}

.legal-header {
    padding-bottom: 50px;
    border-bottom: 1px solid var(--divider);
}

.legal-title {
    max-width: 13ch;
    margin: 0;
    color: var(--white);
    font-size: clamp(36px, 4.2vw, 62px);
    font-weight: 570;
    letter-spacing: -.052em;
    line-height: 1.04;
}

.legal-lead {
    max-width: 65ch;
    margin: 30px 0 0;
    color: var(--secondary);
    font-size: 10px;
    line-height: 1.95;
}

.legal-section {
    padding: 42px 0;
    border-bottom: 1px solid var(--divider);
}

.legal-section h2 {
    margin: 0 0 24px;
    color: var(--white);
    font-size: clamp(18px, 2vw, 27px);
    font-weight: 540;
    letter-spacing: -.035em;
    line-height: 1.25;
}

.legal-section p,
.legal-section li,
.legal-details dt,
.legal-details dd {
    color: var(--secondary);
    font-size: 9px;
    line-height: 1.95;
}

.legal-section p {
    margin: 0;
}

.legal-section p + p {
    margin-top: 18px;
}

.legal-section ul {
    display: grid;
    gap: 12px;
    margin: 0;
    padding-left: 22px;
}

.legal-section p + ul,
.legal-section ul + p {
    margin-top: 20px;
}

.legal-purpose-grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    border-top: 1px solid var(--divider);
    border-left: 1px solid var(--divider);
}

.legal-purpose-grid article {
    min-width: 0;
    padding: 22px;
    border-right: 1px solid var(--divider);
    border-bottom: 1px solid var(--divider);
}

.legal-purpose-grid h3 {
    margin: 0 0 18px;
    color: var(--white);
    font-size: 12px;
    font-weight: 520;
    letter-spacing: -.02em;
}

.legal-purpose-grid p {
    font-size: 8px;
}

.legal-purpose-grid p + p {
    margin-top: 11px;
}

.legal-purpose-grid strong {
    color: var(--primary);
    font-weight: 520;
}

.legal-details {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    margin: 0 0 28px;
    border-top: 1px solid var(--divider);
    border-left: 1px solid var(--divider);
}

.legal-details div {
    min-width: 0;
    padding: 18px;
    border-right: 1px solid var(--divider);
    border-bottom: 1px solid var(--divider);
}

.legal-details dt {
    margin: 0 0 8px;
    color: #666;
    font-size: 7px;
    letter-spacing: .1em;
    text-transform: uppercase;
}

.legal-details dd {
    margin: 0;
    color: var(--primary);
    overflow-wrap: anywhere;
}

.legal-links {
    display: flex;
    flex-wrap: wrap;
    gap: 12px 26px;
    padding-top: 38px;
}

.legal-links a {
    color: var(--secondary);
    border-bottom: 1px solid #575757;
    font-size: 7px;
    letter-spacing: .09em;
    line-height: 1.8;
    text-transform: uppercase;
}

.legal-links a:hover,
.legal-links a:focus-visible {
    color: var(--white);
    border-color: var(--white);
}

.confirmation-legal-note {
    margin: 32px 0 0;
    color: #777;
    font-size: 7px;
    letter-spacing: .06em;
    line-height: 1.9;
}

@media (max-width: 1040px) {
    .account-shell {
        grid-template-columns: minmax(300px, .72fr) minmax(480px, 1.28fr);
    }

    .brand-heading {
        font-size: clamp(42px, 6vw, 70px);
    }

    .profile-brand-heading {
        font-size: clamp(34px, 4.7vw, 58px);
        overflow-wrap: anywhere;
    }

    .profile-header {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 820px) {
    .account-shell,
    .account-shell-wide {
        display: block;
    }

    .brand-panel,
    .account-panel {
        min-height: auto;
    }

    .brand-panel {
        min-height: 350px;
        padding: 28px 24px 30px;
        border-right: 0;
        border-bottom: 1px solid var(--divider);
    }

    .legal-shell .brand-panel {
        position: relative;
        height: auto;
    }

    .profile-brand-panel {
        min-height: 310px;
    }

    .brand-copy {
        padding: 76px 0 56px;
    }

    .profile-brand-panel .brand-copy {
        padding: 66px 0 44px;
    }

    .brand-heading {
        font-size: clamp(43px, 11.5vw, 68px);
    }

    .profile-brand-heading {
        font-size: clamp(34px, 9vw, 56px);
    }

    .brand-note {
        display: none;
    }

    .account-panel {
        min-height: 720px;
        padding: 28px 24px 36px;
    }

    .auth-frame,
    .profile-frame {
        width: 100%;
        padding: 78px 0 82px;
    }

    .account-panel::before {
        right: 24px;
    }
}

@media (max-width: 620px) {
    .brand-meta span:nth-child(2) {
        display: none;
    }

    .brand-meta {
        grid-template-columns: 1fr auto;
    }

    .account-topline > span {
        display: none;
    }

    .profile-topline {
        align-items: flex-start;
        flex-direction: column;
    }

    .form-title {
        font-size: clamp(36px, 11vw, 52px);
    }

    .form-actions {
        align-items: stretch;
        flex-direction: column;
    }

    .form-actions .primary-button,
    .form-actions .secondary-button,
    .form-actions .danger-button {
        width: 100%;
    }

    .profile-grid {
        grid-template-columns: 1fr;
    }

    .profile-section-wide {
        grid-column: auto;
    }

    .profile-header {
        margin-bottom: 46px;
    }

    .account-footer {
        align-items: flex-start;
        flex-direction: column;
    }

    .account-footer nav {
        justify-content: flex-start;
        text-align: left;
    }

    .legal-details {
        grid-template-columns: 1fr;
    }

    .legal-purpose-grid {
        grid-template-columns: 1fr;
    }
}

@media (prefers-reduced-motion: reduce) {
    html {
        scroll-behavior: auto;
    }

    *,
    *::before,
    *::after {
        scroll-behavior: auto !important;
        transition-duration: .01ms !important;
    }
}
