@import url('https://fonts.googleapis.com/css2?family=DM+Mono:wght@400;500&family=Inter:wght@400;500;600;700&family=Manrope:wght@500;600;700;800&display=swap');

:root {
    color-scheme: dark;
    --bg: #05070b;
    --bg-2: #090c12;
    --panel: #0b1018;
    --panel-2: #101722;
    --soft: #171e2b;
    --line: rgba(255, 255, 255, .09);
    --line-strong: rgba(255, 255, 255, .14);
    --text: #f7f8fb;
    --muted: #9ca6b7;
    --muted-2: #6f7a8d;
    --violet: #8d7cff;
    --violet-soft: #b8adff;
    --cyan: #79e7ff;
    --mint: #71f0bf;
    --amber: #ffcf77;
    --red: #ff9f9a;
    --shadow: 0 40px 120px rgba(0, 0, 0, .48);
}

* { box-sizing: border-box; }
html { min-height: 100%; }
body {
    position: relative;
    isolation: isolate;
    margin: 0;
    min-height: 100vh;
    overflow-x: hidden;
    color: var(--text);
    background:
        radial-gradient(circle at 12% 6%, rgba(141, 124, 255, .11), transparent 29%),
        radial-gradient(circle at 88% 18%, rgba(121, 231, 255, .07), transparent 27%),
        radial-gradient(circle at 72% 92%, rgba(113, 240, 191, .045), transparent 24%),
        var(--bg);
    font-family: Inter, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
    line-height: 1.5;
    -webkit-font-smoothing: antialiased;
}

body::before {
    content: "";
    position: fixed;
    inset: 0;
    z-index: -2;
    pointer-events: none;
    opacity: .42;
    background-image:
        linear-gradient(rgba(255, 255, 255, .025) 1px, transparent 1px),
        linear-gradient(90deg, rgba(255, 255, 255, .025) 1px, transparent 1px);
    background-size: 64px 64px;
    -webkit-mask-image: linear-gradient(to bottom, rgba(0,0,0,.78), transparent 88%);
    mask-image: linear-gradient(to bottom, rgba(0,0,0,.78), transparent 88%);
}

body::after {
    content: "";
    position: fixed;
    z-index: -1;
    width: 520px;
    height: 520px;
    right: -220px;
    top: 30%;
    border-radius: 50%;
    background: rgba(108, 92, 255, .15);
    filter: blur(100px);
    pointer-events: none;
}

a { color: inherit; }
button, input, select { font: inherit; }

.signup-shell,
.status-wrap {
    width: min(1220px, calc(100% - 40px));
    margin: 0 auto;
    padding: 30px 0 64px;
}

.brand {
    display: inline-flex;
    align-items: center;
    gap: 11px;
    color: var(--text);
    font-family: Manrope, sans-serif;
    font-size: 26px;
    font-weight: 800;
    letter-spacing: -.055em;
    text-decoration: none;
}

.brand-mark {
    position: relative;
    display: block;
    width: 30px;
    height: 30px;
    overflow: hidden;
    border-radius: 9px;
    color: transparent;
    background: linear-gradient(145deg, #fff, #d9dded);
    box-shadow: 0 10px 32px rgba(255, 255, 255, .08);
    font-size: 0;
}

.brand-mark::before,
.brand-mark::after {
    content: "";
    position: absolute;
    bottom: 7px;
    width: 4px;
    border-radius: 5px;
    background: #080b11;
}

.brand-mark::before { left: 8px; height: 10px; }
.brand-mark::after { left: 14px; height: 16px; }
.brand-mark + span { line-height: 1; }
.brand-mark + span::before {
    content: "";
    position: absolute;
}
.brand-mark {
    box-shadow:
        0 10px 32px rgba(255,255,255,.08),
        inset -6px 0 0 transparent;
}
.brand-mark::selection { background: transparent; }

/* Third Lodre bar without changing the existing PHP markup. */
.brand-mark {
    background-image:
        linear-gradient(#080b11, #080b11),
        linear-gradient(145deg, #fff, #d9dded);
    background-size: 4px 7px, 100% 100%;
    background-position: 20px 16px, 0 0;
    background-repeat: no-repeat;
}

.layout {
    display: grid;
    grid-template-columns: minmax(0, .9fr) minmax(560px, 1.1fr);
    gap: clamp(52px, 7vw, 96px);
    align-items: start;
    margin-top: 68px;
}

.intro {
    position: sticky;
    top: 48px;
    padding: 38px 0 20px;
}

.eyebrow {
    display: inline-flex;
    align-items: center;
    gap: 9px;
    margin-bottom: 22px;
    padding: 7px 10px;
    border: 1px solid rgba(141, 124, 255, .22);
    border-radius: 999px;
    color: #c8c2ff;
    background: rgba(141, 124, 255, .06);
    font-family: "DM Mono", monospace;
    font-size: 10px;
    font-weight: 500;
    letter-spacing: .12em;
    text-transform: uppercase;
}

.eyebrow::before {
    content: "";
    width: 7px;
    height: 7px;
    border-radius: 50%;
    background: var(--mint);
    box-shadow: 0 0 0 4px rgba(113, 240, 191, .08);
}

h1 {
    margin: 0 0 24px;
    max-width: 650px;
    color: var(--text);
    font-family: Manrope, sans-serif;
    font-size: clamp(48px, 5vw, 76px);
    font-weight: 600;
    line-height: .96;
    letter-spacing: -.06em;
}

.lead {
    max-width: 610px;
    margin: 0;
    color: #a8b2c2;
    font-size: 17px;
    line-height: 1.78;
}

.promise-list {
    display: grid;
    gap: 12px;
    margin: 34px 0 0;
    padding: 26px 0 0;
    border-top: 1px solid var(--line);
    list-style: none;
}

.promise-list li {
    display: grid;
    grid-template-columns: 27px 1fr;
    gap: 12px;
    align-items: center;
    color: #c0c8d4;
    font-size: 13px;
    line-height: 1.55;
}

.check {
    display: grid;
    place-items: center;
    width: 25px;
    height: 25px;
    border: 1px solid rgba(113, 240, 191, .15);
    border-radius: 8px;
    color: var(--mint);
    background: rgba(113, 240, 191, .07);
    font-size: 12px;
    font-weight: 900;
}

.card {
    position: relative;
    overflow: hidden;
    padding: clamp(28px, 4vw, 42px);
    border: 1px solid var(--line-strong);
    border-radius: 26px;
    background:
        radial-gradient(circle at 100% 0%, rgba(141, 124, 255, .07), transparent 34%),
        linear-gradient(180deg, rgba(16, 23, 34, .96), rgba(9, 13, 19, .98));
    box-shadow: var(--shadow), inset 0 1px 0 rgba(255,255,255,.025);
}

.card::before {
    content: "";
    position: absolute;
    left: 0;
    right: 0;
    top: 0;
    height: 1px;
    background: linear-gradient(90deg, transparent, rgba(198, 193, 255, .52), transparent);
    opacity: .45;
}

.card h2 {
    margin: 0 0 8px;
    color: var(--text);
    font-family: Manrope, sans-serif;
    font-size: 28px;
    font-weight: 600;
    letter-spacing: -.035em;
}

.card-subtitle {
    margin: 0 0 30px;
    color: var(--muted);
    font-size: 13px;
    line-height: 1.65;
}

.alert {
    margin: 0 0 22px;
    padding: 14px 15px;
    border-radius: 12px;
    font-size: 13px;
    line-height: 1.6;
}

.alert-error {
    color: #ffc1bd;
    border: 1px solid rgba(255, 139, 130, .25);
    background: rgba(255, 139, 130, .07);
}

.alert-success {
    color: #aff5d7;
    border: 1px solid rgba(113, 240, 191, .22);
    background: rgba(113, 240, 191, .07);
}

.form-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 18px 14px;
}

.field-full { grid-column: 1 / -1; }

label {
    display: block;
    margin-bottom: 7px;
    color: #909caf;
    font-size: 10px;
    font-weight: 700;
    letter-spacing: .025em;
}

input,
select {
    width: 100%;
    height: 48px;
    padding: 0 14px;
    border: 1px solid var(--line-strong);
    border-radius: 11px;
    outline: none;
    color: #eef1f7;
    background: #090d13;
    font-size: 13px;
    transition: border-color .18s ease, box-shadow .18s ease, background .18s ease;
}

input::placeholder { color: #4f5a6c; }
select { cursor: pointer; }
select option { color: #eef1f7; background: #0b1018; }

input:hover,
select:hover { border-color: rgba(255, 255, 255, .19); }

input:focus,
select:focus {
    border-color: rgba(141, 124, 255, .72);
    background: #0b1018;
    box-shadow: 0 0 0 4px rgba(141, 124, 255, .09);
}

input:-webkit-autofill,
input:-webkit-autofill:hover,
input:-webkit-autofill:focus {
    -webkit-text-fill-color: #eef1f7;
    -webkit-box-shadow: 0 0 0 1000px #090d13 inset;
    caret-color: #eef1f7;
    transition: background-color 9999s ease-out 0s;
}

.mode-group {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 8px;
}

.mode-option { position: relative; margin: 0; }
.mode-option input {
    position: absolute;
    width: 1px;
    height: 1px;
    opacity: 0;
    pointer-events: none;
}

.mode-option span {
    display: grid;
    place-items: center;
    min-height: 48px;
    padding: 11px 9px;
    border: 1px solid var(--line-strong);
    border-radius: 11px;
    color: #9ca7b8;
    background: #090d13;
    cursor: pointer;
    text-align: center;
    font-size: 12px;
    font-weight: 700;
    transition: .18s ease;
}

.mode-option span:hover {
    color: #dce1ea;
    border-color: rgba(255,255,255,.19);
}

.mode-option input:focus-visible + span {
    outline: 2px solid rgba(141, 124, 255, .65);
    outline-offset: 2px;
}

.mode-option input:checked + span {
    color: #e0dcff;
    border-color: rgba(141, 124, 255, .55);
    background: rgba(141, 124, 255, .09);
    box-shadow: inset 0 0 0 1px rgba(141, 124, 255, .08), 0 0 0 3px rgba(141, 124, 255, .055);
}

.mode-option input:disabled + span,
.mode-option.is-disabled span {
    color: #596273;
    border-color: rgba(255,255,255,.055);
    background: rgba(255,255,255,.018);
    cursor: not-allowed;
    opacity: .72;
}

.trial-availability-note {
    display: block;
    margin-top: 7px;
    color: #8994a6;
    font-size: 10px;
    line-height: 1.5;
}

.trial-availability-note.is-eligible {
    color: #8fd6b2;
}

.help {
    display: block;
    margin-top: 7px;
    color: var(--muted-2);
    font-size: 10px;
    line-height: 1.5;
}

.company-name-rules {
    display: block;
    margin-top: 7px;
    color: var(--muted-2);
    font-size: 10px;
    line-height: 1.5;
}

.subdomain-preview {
    display: inline-flex;
    align-items: center;
    max-width: 100%;
    margin-top: 8px;
    padding: 6px 9px;
    border: 1px solid rgba(141, 124, 255, .17);
    border-radius: 8px;
    color: #8792a4;
    background: rgba(141, 124, 255, .045);
    font-size: 10px;
    line-height: 1.35;
    overflow-wrap: anywhere;
}

.subdomain-preview strong {
    color: #c9c2ff;
    font-weight: 750;
}

.availability-state {
    display: block;
    min-height: 15px;
    margin-top: 6px;
    color: var(--muted-2);
    font-size: 10px;
    line-height: 1.5;
}

.availability-state.is-checking { color: #a9a1dd; }
.availability-state.is-available { color: #75d7a5; }
.availability-state.is-unavailable,
.availability-state.is-invalid,
.availability-state.is-error { color: #f39a9f; }

.consent {
    display: flex;
    align-items: flex-start;
    gap: 10px;
    margin: 1px 0 0;
    color: #7e899c;
    font-size: 11px;
    font-weight: 500;
    line-height: 1.55;
    letter-spacing: 0;
}

.consent input {
    flex: 0 0 auto;
    width: 17px;
    height: 17px;
    margin: 1px 0 0;
    padding: 0;
    accent-color: var(--violet);
}

.submit {
    position: relative;
    width: 100%;
    height: 52px;
    border: 0;
    border-radius: 12px;
    color: #070a10;
    background: linear-gradient(135deg, #ffffff 0%, #dfe4ff 100%);
    box-shadow: 0 12px 34px rgba(169, 177, 255, .12);
    font-size: 13px;
    font-weight: 800;
    cursor: pointer;
    transition: transform .2s ease, box-shadow .2s ease, background .2s ease;
}

.submit:hover {
    transform: translateY(-1px);
    background: #fff;
    box-shadow: 0 15px 42px rgba(169, 177, 255, .19);
}

.submit:active { transform: translateY(0); }
.submit:focus-visible { outline: 2px solid var(--violet-soft); outline-offset: 3px; }

.honeypot {
    position: absolute !important;
    left: -99999px !important;
    width: 1px !important;
    height: 1px !important;
    overflow: hidden !important;
}

.fineprint {
    margin: 17px 0 0;
    color: #596577;
    font-size: 10px;
    line-height: 1.55;
    text-align: center;
}

/* Provisioning / installation status */
.status-wrap {
    width: min(780px, calc(100% - 40px));
    min-height: 100vh;
    padding-bottom: 80px;
}

.status-card {
    margin-top: 92px;
    padding: 48px;
    text-align: center;
}

.status-icon {
    display: grid;
    place-items: center;
    width: 68px;
    height: 68px;
    margin: 0 auto 24px;
    border: 1px solid rgba(141, 124, 255, .23);
    border-radius: 20px;
    color: #c7c1ff;
    background: rgba(141, 124, 255, .08);
    box-shadow: 0 14px 40px rgba(0,0,0,.18);
    font-family: Manrope, sans-serif;
    font-size: 27px;
    font-weight: 800;
}

.status-card h1 {
    max-width: none;
    margin: 0 0 12px;
    font-size: clamp(30px, 5vw, 40px);
    line-height: 1.05;
    letter-spacing: -.045em;
}

.status-card p {
    max-width: 570px;
    margin-left: auto;
    margin-right: auto;
    color: var(--muted);
    font-size: 13px;
    line-height: 1.75;
}

.status-card > a:not(.login-button) {
    display: inline-flex;
    margin-top: 14px;
    color: #d9d5ff;
    font-size: 12px;
    font-weight: 700;
    text-decoration: none;
}

.status-card > a:not(.login-button):hover { color: #fff; }

.status-meta {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 10px;
    margin: 28px 0;
    text-align: left;
}

.meta-item {
    padding: 14px 15px;
    border: 1px solid var(--line);
    border-radius: 12px;
    background: rgba(9, 13, 19, .78);
}

.meta-label {
    display: block;
    margin-bottom: 5px;
    color: #5f6b7f;
    font-family: "DM Mono", monospace;
    font-size: 8px;
    font-weight: 500;
    letter-spacing: .11em;
    text-transform: uppercase;
}

.meta-value {
    display: block;
    overflow: hidden;
    color: #e4e8ef;
    font-size: 12px;
    font-weight: 700;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.progress {
    height: 6px;
    margin: 28px 0 14px;
    overflow: hidden;
    border-radius: 999px;
    background: #171e2b;
}

.progress span {
    display: block;
    width: 28%;
    height: 100%;
    border-radius: inherit;
    background: linear-gradient(90deg, var(--violet), var(--cyan));
    box-shadow: 0 0 20px rgba(121, 231, 255, .2);
    animation: progress 1.3s ease-in-out infinite alternate;
}

.login-button {
    display: none;
    padding: 14px 20px;
    border-radius: 12px;
    color: #07110d;
    background: linear-gradient(135deg, #9cf5d0, var(--mint));
    box-shadow: 0 12px 34px rgba(113,240,191,.12);
    text-decoration: none;
    font-size: 12px;
    font-weight: 800;
    transition: transform .2s ease, box-shadow .2s ease;
}

.login-button:hover {
    transform: translateY(-1px);
    box-shadow: 0 15px 40px rgba(113,240,191,.2);
}

@keyframes progress { to { transform: translateX(255%); } }

@media (max-width: 980px) {
    .signup-shell { width: min(760px, calc(100% - 32px)); }
    .layout {
        grid-template-columns: 1fr;
        gap: 28px;
        margin-top: 44px;
    }
    .intro {
        position: static;
        padding: 20px 2px 6px;
    }
    h1 { max-width: 720px; font-size: clamp(46px, 8vw, 68px); }
    .lead { max-width: 700px; }
    .promise-list { grid-template-columns: repeat(3, 1fr); }
    .promise-list li { align-items: start; font-size: 11px; }
}

@media (max-width: 680px) {
    .signup-shell,
    .status-wrap {
        width: min(100% - 24px, 680px);
        padding-top: 20px;
    }
    .brand { font-size: 23px; }
    .brand-mark { width: 27px; height: 27px; border-radius: 8px; background-size: 4px 7px, 100% 100%; background-position: 18px 14px, 0 0; }
    .brand-mark::before { left: 7px; bottom: 6px; height: 9px; }
    .brand-mark::after { left: 12px; bottom: 6px; height: 14px; }
    .layout { margin-top: 32px; }
    .intro { padding-top: 10px; }
    .eyebrow { margin-bottom: 18px; }
    h1 { font-size: clamp(40px, 13vw, 54px); }
    .lead { font-size: 15px; line-height: 1.7; }
    .promise-list { grid-template-columns: 1fr; gap: 10px; margin-top: 26px; padding-top: 20px; }
    .promise-list li { font-size: 12px; }
    .card { padding: 24px 18px; border-radius: 20px; }
    .card h2 { font-size: 25px; }
    .card-subtitle { margin-bottom: 24px; }
    .form-grid,
    .status-meta { grid-template-columns: 1fr; }
    .field-full { grid-column: auto; }
    .mode-group { grid-template-columns: 1fr 1fr; }
    .status-card { margin-top: 54px; padding: 34px 20px; }
    .status-card h1 { font-size: 32px; }
}

@media (max-width: 420px) {
    .mode-group { grid-template-columns: 1fr; }
    .card { padding-left: 16px; padding-right: 16px; }
}

@media (prefers-reduced-motion: reduce) {
    *, *::before, *::after {
        scroll-behavior: auto !important;
        animation-duration: .001ms !important;
        animation-iteration-count: 1 !important;
        transition-duration: .001ms !important;
    }
}

/* Legal document reading & consent */
.legal-consent-area {
    display: grid;
    gap: 12px;
    margin-top: 2px;
}

.legal-doc-links {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 10px;
}

.legal-doc-link {
    display: grid;
    grid-template-columns: 34px 1fr auto;
    gap: 10px;
    align-items: center;
    width: 100%;
    padding: 12px;
    border: 1px solid var(--line);
    border-radius: 12px;
    color: #e8ecf3;
    background: rgba(9, 13, 19, .76);
    text-align: left;
    cursor: pointer;
    transition: border-color .2s ease, background .2s ease, transform .2s ease;
}

.legal-doc-link:hover {
    transform: translateY(-1px);
    border-color: rgba(141, 124, 255, .28);
    background: rgba(141, 124, 255, .055);
}

.legal-doc-link.is-complete {
    border-color: rgba(113, 240, 191, .24);
    background: rgba(113, 240, 191, .045);
}

.legal-doc-icon {
    display: grid;
    place-items: center;
    width: 34px;
    height: 34px;
    border: 1px solid rgba(141, 124, 255, .18);
    border-radius: 10px;
    color: #bbb3ff;
    background: rgba(141, 124, 255, .07);
    font-family: "DM Mono", monospace;
    font-size: 9px;
    letter-spacing: .06em;
}

.legal-doc-link.is-complete .legal-doc-icon {
    color: var(--mint);
    border-color: rgba(113, 240, 191, .2);
    background: rgba(113, 240, 191, .06);
}

.legal-doc-link strong,
.legal-doc-link small {
    display: block;
}

.legal-doc-link strong {
    margin-bottom: 3px;
    font-size: 11px;
    font-weight: 700;
}

.legal-doc-link small {
    color: var(--muted-2);
    font-size: 9px;
    line-height: 1.4;
}

.legal-doc-link.is-complete small { color: #78c9a8; }

.legal-doc-arrow {
    color: #626e82;
    font-size: 14px;
}

.consent-locked {
    opacity: .56;
}

.consent-ready {
    color: #9ba7b8;
}

.consent input:disabled {
    cursor: not-allowed;
}

.legal-required-note {
    display: flex;
    gap: 7px;
    align-items: flex-start;
    margin: -2px 0 0;
    color: #667286;
    font-size: 9px;
    line-height: 1.5;
}

.legal-required-note > span {
    display: grid;
    place-items: center;
    flex: 0 0 auto;
    width: 16px;
    height: 16px;
    margin-top: -1px;
    border: 1px solid rgba(141, 124, 255, .2);
    border-radius: 50%;
    color: #a99fff;
    font-family: "DM Mono", monospace;
    font-size: 8px;
}

.legal-required-note.is-complete { color: #75b99b; }
.legal-required-note.is-complete > span {
    color: var(--mint);
    border-color: rgba(113, 240, 191, .24);
    background: rgba(113, 240, 191, .06);
}

.submit:disabled {
    color: #596273;
    background: #171c25;
    box-shadow: none;
    cursor: not-allowed;
    transform: none;
}

body.legal-modal-open { overflow: hidden; }

.legal-modal[hidden] { display: none !important; }

.legal-modal {
    position: fixed;
    inset: 0;
    z-index: 1000;
    display: grid;
    place-items: center;
    padding: 22px;
}

.legal-modal-backdrop {
    position: absolute;
    inset: 0;
    background: rgba(2, 4, 8, .78);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
}

.legal-dialog {
    position: relative;
    display: grid;
    grid-template-rows: auto 3px minmax(0, 1fr) auto;
    width: min(760px, 100%);
    height: min(760px, calc(100vh - 44px));
    overflow: hidden;
    border: 1px solid var(--line-strong);
    border-radius: 22px;
    background:
        radial-gradient(circle at 86% 0%, rgba(141, 124, 255, .1), transparent 27%),
        #0a0e15;
    box-shadow: 0 50px 140px rgba(0, 0, 0, .7);
}

.legal-dialog-header {
    display: flex;
    justify-content: space-between;
    gap: 24px;
    align-items: center;
    padding: 22px 24px 18px;
    border-bottom: 1px solid rgba(255,255,255,.055);
}

.legal-dialog-kicker {
    display: block;
    margin-bottom: 6px;
    color: #8278db;
    font-family: "DM Mono", monospace;
    font-size: 8px;
    letter-spacing: .13em;
}

.legal-dialog h3 {
    margin: 0;
    font-family: Manrope, sans-serif;
    font-size: 22px;
    font-weight: 700;
    letter-spacing: -.035em;
}

.legal-close {
    display: grid;
    place-items: center;
    flex: 0 0 auto;
    width: 38px;
    height: 38px;
    padding: 0 0 2px;
    border: 1px solid var(--line);
    border-radius: 11px;
    color: #9aa5b6;
    background: rgba(255,255,255,.025);
    font-size: 22px;
    line-height: 1;
    cursor: pointer;
}

.legal-close:hover {
    color: #fff;
    border-color: var(--line-strong);
    background: rgba(255,255,255,.05);
}

.legal-progress-track {
    height: 3px;
    overflow: hidden;
    background: #111722;
}

.legal-progress-track span {
    display: block;
    width: 0;
    height: 100%;
    background: linear-gradient(90deg, var(--violet), var(--cyan));
    box-shadow: 0 0 18px rgba(121, 231, 255, .22);
    transition: width .12s linear;
}

.legal-scroll {
    min-height: 0;
    overflow-y: auto;
    padding: 27px 28px 34px;
    outline: none;
    scrollbar-width: thin;
    scrollbar-color: #313949 transparent;
}

.legal-scroll::-webkit-scrollbar { width: 8px; }
.legal-scroll::-webkit-scrollbar-track { background: transparent; }
.legal-scroll::-webkit-scrollbar-thumb {
    border: 2px solid transparent;
    border-radius: 999px;
    background: #313949;
    background-clip: padding-box;
}

.legal-document {
    max-width: 660px;
    margin: 0 auto;
    color: #aeb7c5;
    font-size: 12px;
    line-height: 1.78;
}

.legal-document[hidden] { display: none; }

.legal-document .legal-meta {
    margin: 0 0 22px;
    color: #616d81;
    font-family: "DM Mono", monospace;
    font-size: 8px;
    letter-spacing: .06em;
    text-transform: uppercase;
}

.legal-document p { margin: 0 0 18px; }

.legal-document h4 {
    margin: 28px 0 8px;
    color: #edf0f5;
    font-family: Manrope, sans-serif;
    font-size: 13px;
    font-weight: 700;
    letter-spacing: -.012em;
}

.legal-dialog-footer {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 20px;
    padding: 17px 20px;
    border-top: 1px solid var(--line);
    background: rgba(7, 10, 15, .93);
}

.legal-read-status {
    display: flex;
    align-items: center;
    gap: 8px;
    color: #737f91;
    font-size: 10px;
    line-height: 1.45;
}

.legal-status-dot {
    flex: 0 0 auto;
    width: 7px;
    height: 7px;
    border-radius: 50%;
    background: #555f70;
    box-shadow: 0 0 0 4px rgba(85, 95, 112, .07);
}

.legal-read-status.is-complete { color: #7dc7a8; }
.legal-read-status.is-complete .legal-status-dot {
    background: var(--mint);
    box-shadow: 0 0 0 4px rgba(113, 240, 191, .08);
}

.legal-accept {
    flex: 0 0 auto;
    min-width: 170px;
    height: 42px;
    padding: 0 17px;
    border: 0;
    border-radius: 11px;
    color: #080b10;
    background: linear-gradient(135deg, #fff, #dfe4ff);
    font-size: 10px;
    font-weight: 800;
    cursor: pointer;
}

.legal-accept:disabled {
    color: #555f70;
    background: #171c25;
    cursor: not-allowed;
}

@media (max-width: 680px) {
    .legal-doc-links { grid-template-columns: 1fr; }
    .legal-modal { padding: 10px; }
    .legal-dialog {
        height: calc(100vh - 20px);
        border-radius: 18px;
    }
    .legal-dialog-header { padding: 18px 17px 15px; }
    .legal-dialog h3 { font-size: 19px; }
    .legal-scroll { padding: 22px 18px 28px; }
    .legal-dialog-footer {
        align-items: stretch;
        flex-direction: column;
        gap: 11px;
        padding: 13px 14px 14px;
    }
    .legal-accept { width: 100%; }
}
