:root {
  color-scheme: dark;
  --bg: #07101d;
  --surface: rgba(14, 28, 47, .88);
  --surface-2: #11243a;
  --text: #edf6ff;
  --muted: #93a7bf;
  --line: rgba(147, 167, 191, .15);
  --cyan: #5bcaff;
  --mint: #65e6bd;
  --purple: #b8a7ff;
  --danger: #ff7e88;
  --shadow: 0 22px 70px rgba(0, 0, 0, .24);
}
:root.light {
  color-scheme: light;
  --bg: #edf5fb;
  --surface: rgba(255, 255, 255, .9);
  --surface-2: #f6fbff;
  --text: #0b1724;
  --muted: #5c7187;
  --line: rgba(35, 67, 95, .12);
  --shadow: 0 20px 60px rgba(37, 74, 104, .12);
}
* { box-sizing: border-box; }
body { margin: 0; min-height: 100vh; background: var(--bg); color: var(--text); font: 15px/1.5 Inter, ui-sans-serif, system-ui, -apple-system, Segoe UI, sans-serif; }
button, input, select { font: inherit; }
button { cursor: pointer; }
.ambient { position: fixed; width: 520px; height: 520px; border-radius: 50%; filter: blur(100px); opacity: .12; pointer-events: none; }
.ambient-one { top: -260px; left: 15%; background: var(--cyan); }
.ambient-two { bottom: -280px; right: 8%; background: var(--purple); }
.shell { width: min(1440px, 100%); margin: auto; padding: 0 28px 48px; position: relative; }
.brandbar { height: 88px; display: flex; align-items: center; justify-content: space-between; border-bottom: 1px solid var(--line); }
.brand { color: var(--text); text-decoration: none; display: flex; gap: 12px; align-items: center; }
.brand-mark { width: 42px; height: 42px; display: grid; place-items: center; border-radius: 14px; background: linear-gradient(145deg, var(--cyan), var(--mint)); color: #06121e; font-size: 22px; font-weight: 900; box-shadow: 0 10px 28px rgba(91, 202, 255, .25); }
.brand strong, .brand small { display: block; }.brand strong { font-size: 18px; }.brand small { color: var(--muted); font-size: 11px; letter-spacing: .08em; text-transform: uppercase; }
.header-actions { display: flex; gap: 10px; align-items: center; }.identity { color: var(--muted); font-size: 13px; }
.login-layout { min-height: calc(100vh - 136px); display: grid; grid-template-columns: 1.25fr .75fr; gap: 8vw; align-items: center; padding: 52px 5vw; }
.hero-copy { max-width: 760px; }.hero-copy h1 { margin: 16px 0 22px; font-size: clamp(44px, 6vw, 82px); line-height: 1.02; letter-spacing: -.055em; }.hero-copy h1 span { color: var(--cyan); }.hero-copy > p { max-width: 650px; color: var(--muted); font-size: 19px; }
.eyebrow, .panel-kicker { color: var(--mint); text-transform: uppercase; letter-spacing: .16em; font-size: 11px; font-weight: 800; }.trust-row { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 34px; }.trust-row span { border: 1px solid var(--line); background: var(--surface); padding: 9px 13px; border-radius: 999px; color: var(--muted); font-size: 12px; }
.panel { background: var(--surface); border: 1px solid var(--line); border-radius: 24px; box-shadow: var(--shadow); backdrop-filter: blur(18px); }
.auth-panel { max-width: 460px; padding: 34px; }.auth-panel h2 { font-size: 30px; margin: 8px 0 0; }.muted { color: var(--muted); }
label { display: grid; gap: 7px; color: var(--muted); font-size: 12px; font-weight: 700; margin: 18px 0; }
input, select { width: 100%; color: var(--text); background: var(--surface-2); border: 1px solid var(--line); border-radius: 12px; padding: 12px 13px; outline: none; }
input:focus, select:focus { border-color: var(--cyan); box-shadow: 0 0 0 3px rgba(91, 202, 255, .12); }
.button, .icon-button { border: 0; border-radius: 12px; font-weight: 800; padding: 11px 16px; }.button.primary { color: #04131e; background: linear-gradient(135deg, var(--cyan), var(--mint)); }.button.ghost, .icon-button { color: var(--text); background: var(--surface); border: 1px solid var(--line); }.button.full { width: 100%; margin-top: 8px; }.icon-button { width: 42px; padding: 10px; }.message { min-height: 22px; color: var(--danger); font-size: 13px; }
.dashboard { display: grid; grid-template-columns: 220px 1fr; gap: 28px; padding-top: 28px; }.sidebar { align-self: start; padding: 12px; position: sticky; top: 20px; display: grid; gap: 6px; }.nav-item { border: 0; color: var(--muted); text-align: left; padding: 12px 14px; border-radius: 12px; background: transparent; font-weight: 700; }.nav-item:hover, .nav-item.active { color: var(--text); background: var(--surface-2); }.nav-item.active { box-shadow: inset 3px 0 var(--cyan); }
.content { min-width: 0; }.page-section { display: none; }.page-section.active { display: block; }.page-heading { display: flex; align-items: center; justify-content: space-between; margin: 6px 0 24px; }.page-heading h1 { font-size: clamp(30px, 4vw, 48px); letter-spacing: -.04em; margin: 4px 0 0; }.live-pill { color: var(--mint); border: 1px solid var(--line); background: var(--surface); border-radius: 999px; padding: 8px 12px; font-size: 12px; }
.metric-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 16px; }.metric { padding: 22px; }.metric span { color: var(--muted); font-size: 12px; text-transform: uppercase; letter-spacing: .08em; }.metric strong { display: block; font-size: 38px; margin-top: 9px; }.metric i { display: block; width: 34px; height: 4px; background: var(--cyan); border-radius: 4px; margin-top: 14px; }
.grid-two { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; margin-top: 16px; }.feature-card { padding: 24px; display: flex; gap: 17px; }.feature-card h3, .security-card h3 { margin: 0 0 6px; }.feature-card p, .security-card p { margin: 0; color: var(--muted); }.feature-icon { flex: 0 0 48px; width: 48px; height: 48px; border-radius: 15px; display: grid; place-items: center; font-size: 22px; }.feature-icon.cyan { background: rgba(91,202,255,.13); color: var(--cyan); }.feature-icon.mint { background: rgba(101,230,189,.13); color: var(--mint); }
.composer { padding: 22px; margin-bottom: 18px; }.composer h3 { margin-top: 0; }.form-grid { display: grid; grid-template-columns: 2fr 1fr 1fr .7fr auto; align-items: end; gap: 12px; }.form-grid label { margin: 0; }.table-panel { overflow-x: auto; }table { width: 100%; border-collapse: collapse; }th, td { text-align: left; padding: 15px 18px; border-bottom: 1px solid var(--line); white-space: nowrap; }th { color: var(--muted); font-size: 10px; text-transform: uppercase; letter-spacing: .1em; }td { font-size: 13px; }.status { display: inline-block; border-radius: 999px; padding: 4px 8px; color: var(--mint); background: rgba(101,230,189,.1); }.issued { margin-top: 18px; padding: 15px; border-radius: 14px; border: 1px solid rgba(101,230,189,.3); background: rgba(101,230,189,.08); overflow-wrap: anywhere; }.issued code { color: var(--mint); font-weight: 800; }
.card-grid { display: grid; grid-template-columns: repeat(auto-fit,minmax(260px,1fr)); gap: 16px; }.product-card, .security-card { padding: 24px; }.product-card h3 { margin: 3px 0; }.product-card ul, .security-card ul { color: var(--muted); padding-left: 20px; }.mfa-setup { padding: 24px; margin-top: 16px; display: flex; gap: 28px; align-items: center; }.mfa-setup img { width: 200px; border-radius: 14px; background: white; padding: 8px; }
.crypto-card { margin-top: 16px; }
.hidden { display: none !important; }
@media (max-width: 980px) { .login-layout { grid-template-columns: 1fr; }.hero-copy { padding-top: 30px; }.auth-panel { max-width: none; }.metric-grid { grid-template-columns: 1fr 1fr; }.form-grid { grid-template-columns: 1fr 1fr; }.dashboard { grid-template-columns: 1fr; }.sidebar { position: static; display: flex; overflow-x: auto; }.nav-item { white-space: nowrap; } }
@media (max-width: 620px) { .shell { padding: 0 16px 32px; }.brandbar { height: 72px; }.identity { display: none; }.login-layout { padding: 34px 0; }.hero-copy h1 { font-size: 45px; }.metric-grid, .grid-two { grid-template-columns: 1fr; }.form-grid { grid-template-columns: 1fr; }.page-heading { align-items: flex-end; }.mfa-setup { display: block; } }
