:root {
    color-scheme: light;
    --ink: #1e1b4b;
    --muted: #52506d;
    --primary: #5b5ce2;
    --primary-dark: #4344bd;
    --surface: #ffffff;
    --soft: #f5f3ff;
    --line: #dedcf1;
    --success: #087f5b;
    --success-soft: #e8fff7;
    --danger: #b42318;
    --danger-soft: #fff1f0;
    font-family: "Plus Jakarta Sans", Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
}

* { box-sizing: border-box; }
body { margin: 0; min-width: 320px; background: linear-gradient(145deg, #fbfaff 0%, var(--soft) 55%, #eefbf7 100%); color: var(--ink); }
button, input { font: inherit; }
.site-header, .site-footer, .page-shell { width: min(1180px, calc(100% - 40px)); margin-inline: auto; }
.site-header { display: flex; align-items: center; min-height: 84px; }
.brand { display: inline-flex; align-items: center; gap: 11px; color: var(--ink); font-weight: 750; text-decoration: none; }
.brand-mark { display: grid; place-items: center; width: 36px; height: 36px; border-radius: 11px; background: var(--primary); color: white; }
.brand-mark svg { width: 22px; height: 22px; fill: none; stroke: currentColor; stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; }
.page-shell { min-height: calc(100vh - 154px); padding-block: 56px 72px; }
.hero-grid { display: grid; grid-template-columns: minmax(0, 1.15fr) minmax(340px, .85fr); gap: 72px; align-items: center; min-height: 580px; }
.eyebrow, .card-kicker { display: block; margin-bottom: 12px; color: var(--primary-dark); font-size: .78rem; font-weight: 800; letter-spacing: .12em; text-transform: uppercase; }
h1 { max-width: 720px; margin: 0; font-size: clamp(2.4rem, 6vw, 4.75rem); line-height: 1.02; letter-spacing: -.055em; }
.dashboard-heading h1 { font-size: clamp(2rem, 5vw, 3.5rem); }
h2 { margin: 0; font-size: 1.45rem; letter-spacing: -.025em; }
.lede { max-width: 650px; margin: 28px 0; color: var(--muted); font-size: 1.15rem; line-height: 1.75; }
.trust-list { display: flex; flex-wrap: wrap; gap: 14px 24px; color: #363450; font-weight: 650; }
.trust-list > div { display: flex; align-items: center; gap: 8px; }
.check { display: inline-grid; place-items: center; width: 22px; height: 22px; border-radius: 50%; background: var(--success-soft); color: var(--success); font-size: .8rem; }
.install-card, .identity-card, .domains-card { background: rgba(255,255,255,.92); border: 1px solid var(--line); border-radius: 24px; box-shadow: 0 24px 70px rgba(48, 42, 116, .1); }
.install-card { padding: clamp(28px, 4vw, 44px); }
.install-card > p { color: var(--muted); line-height: 1.55; }
label { display: block; margin: 25px 0 8px; font-size: .9rem; font-weight: 750; }
input { width: 100%; min-height: 48px; padding: 0 14px; border: 1px solid #bdb9d8; border-radius: 10px; background: white; color: var(--ink); outline: none; }
input:focus-visible { border-color: var(--primary); box-shadow: 0 0 0 3px rgba(91,92,226,.18); }
.field-help, .privacy-note { display: block; margin-top: 8px; color: var(--muted); font-size: .82rem; line-height: 1.5; }
.validation { margin-top: 10px; color: var(--danger); font-size: .86rem; }
.validation:empty { display: none; }
.primary-button, .secondary-button, .text-button { min-height: 44px; border-radius: 10px; border: 0; cursor: pointer; font-weight: 750; transition: background-color 180ms ease, border-color 180ms ease, color 180ms ease; }
.primary-button { width: 100%; margin-top: 22px; padding-inline: 20px; background: var(--primary); color: white; }
.primary-button:hover { background: var(--primary-dark); }
.secondary-button { padding-inline: 18px; border: 1px solid var(--primary); background: white; color: var(--primary-dark); }
.secondary-button:hover { background: var(--soft); }
.text-button { padding-inline: 10px; background: transparent; color: var(--primary-dark); }
.text-button:hover { background: var(--soft); }
button:focus-visible, a:focus-visible { outline: 3px solid rgba(91,92,226,.36); outline-offset: 3px; }
.site-footer { display: flex; justify-content: space-between; gap: 24px; padding-block: 24px; border-top: 1px solid rgba(94,88,154,.18); color: var(--muted); font-size: .82rem; }
.dashboard-heading { display: flex; justify-content: space-between; align-items: end; gap: 28px; margin-bottom: 32px; }
.dashboard-heading p { margin: 14px 0 0; color: var(--muted); }
.identity-card, .domains-card { padding: clamp(22px, 4vw, 36px); margin-top: 24px; }
.card-heading { display: flex; justify-content: space-between; align-items: start; gap: 20px; margin-bottom: 28px; }
.status-pill { display: inline-flex; align-items: center; gap: 8px; padding: 7px 11px; border-radius: 999px; background: var(--success-soft); color: var(--success); font-size: .8rem; font-weight: 750; }
.status-pill span { width: 7px; height: 7px; border-radius: 50%; background: var(--success); }
.identity-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 24px; margin: 0; }
.identity-grid div { min-width: 0; padding-top: 18px; border-top: 1px solid var(--line); }
.identity-grid .full-row { grid-column: 1 / -1; }
dt { color: var(--muted); font-size: .8rem; font-weight: 700; }
dd { margin: 7px 0 0; overflow-wrap: anywhere; font-weight: 650; }
code { display: inline-block; max-width: 100%; padding: 7px 10px; border-radius: 7px; background: var(--soft); color: #3730a3; font-size: .88rem; overflow-wrap: anywhere; }
.table-scroll { overflow-x: auto; }
table { width: 100%; border-collapse: collapse; text-align: left; }
th, td { padding: 15px 12px; border-bottom: 1px solid var(--line); white-space: nowrap; }
th { color: var(--muted); font-size: .76rem; letter-spacing: .04em; text-transform: uppercase; }
td { color: #3f3d57; font-size: .9rem; }
.current, .historical { display: inline-block; padding: 5px 8px; border-radius: 999px; font-size: .75rem; font-weight: 750; }
.current { background: var(--success-soft); color: var(--success); }
.historical { background: #f0eff7; color: var(--muted); }
.notice { margin: 18px 0; padding: 13px 16px; border-radius: 10px; border: 1px solid; }
.notice.success { background: var(--success-soft); border-color: #a7e5d1; color: #075c43; }
.notice.error { background: var(--danger-soft); border-color: #f1b7b2; color: var(--danger); }
.dashboard-footer-actions { display: flex; align-items: center; justify-content: space-between; gap: 24px; margin-top: 26px; color: var(--muted); font-size: .84rem; }
.dashboard-footer-actions p { max-width: 760px; line-height: 1.55; }
@media (max-width: 800px) {
    .hero-grid { grid-template-columns: 1fr; gap: 42px; min-height: auto; }
    .page-shell { padding-block: 32px 56px; }
    .dashboard-heading, .dashboard-footer-actions { align-items: stretch; flex-direction: column; }
    .dashboard-heading form, .secondary-button { width: 100%; }
    .identity-grid { grid-template-columns: 1fr; }
    .identity-grid .full-row { grid-column: auto; }
}
@media (max-width: 480px) {
    .site-header, .site-footer, .page-shell { width: min(100% - 24px, 1180px); }
    .site-footer { flex-direction: column; }
    .trust-list { align-items: flex-start; flex-direction: column; }
}
@media (prefers-reduced-motion: reduce) {
    *, *::before, *::after { scroll-behavior: auto !important; transition-duration: .01ms !important; }
}
