/* DemoLight concept v2 — web gallery
   Tokens shared with design/concept-v2 in demolight-rn and the landing redesign. */

:root {
  --brand: #3e63dd;
  --brand-ink: #2f4eb8;
  --brand-deep: #243e9a;
  --wash: #f0f4ff;
  --ink: #141d42;
  --ink-soft: #3c4668;
  --muted: #6b7289;
  --faint: #8b91a5;
  --page: #f2f3f5;
  --panel: #ffffff;
  --line: #e1e2e6;
  --line-strong: #cdced4;
  --late: #be123c;
  --late-wash: #fff1f4;
  --ok: #059669;
  --ok-wash: #ecfdf5;
  --amber: #b45309;
  --amber-wash: #fff7ed;
  --live: #f5b942;
  --navy: #141d42;
  --navy-2: #1c2754;
  --shadow: 0 1px 2px rgba(20, 29, 66, 0.04), 0 10px 28px rgba(20, 29, 66, 0.05);
  --shadow-brand: inset 0 1px 0 rgba(255, 255, 255, 0.2), 0 10px 30px -16px rgba(62, 99, 221, 0.95);
  --r: 12px;
  --r-lg: 16px;
  --sans: "Segoe UI", ui-sans-serif, system-ui, -apple-system, "Helvetica Neue", Arial, sans-serif;
  --scale: 0.46;
  --shot-pad: 0px;
}

* { box-sizing: border-box; }
html, body { margin: 0; padding: 0; }
body {
  font-family: var(--sans);
  color: var(--ink);
  background: #e7e8ee;
  -webkit-font-smoothing: antialiased;
}
button, input, select { font-family: inherit; }
img { max-width: 100%; }

/* ---------- gallery chrome ---------- */
.gallery-top {
  position: sticky;
  top: 0;
  z-index: 20;
  background: rgba(255, 255, 255, 0.92);
  backdrop-filter: blur(16px);
  border-bottom: 1px solid var(--line);
}
.gallery-top-inner {
  max-width: 1480px;
  margin: 0 auto;
  padding: 18px 28px 14px;
}
.kicker {
  margin: 0;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--brand);
}
.gallery-top h1 {
  margin: 4px 0 0;
  font-size: 28px;
  letter-spacing: -0.03em;
  font-weight: 650;
}
.lede {
  margin: 6px 0 0;
  max-width: 760px;
  color: var(--ink-soft);
  font-size: 14px;
  line-height: 1.45;
}
.sample-note {
  margin-top: 10px;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: var(--amber-wash);
  color: var(--amber);
  border-radius: 999px;
  padding: 4px 10px;
  font-size: 12px;
  font-weight: 650;
}
.filters {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
  margin-top: 14px;
}
.filters button {
  border: 1px solid var(--line);
  background: white;
  color: var(--ink-soft);
  border-radius: 999px;
  padding: 6px 12px;
  font-size: 12px;
  font-weight: 650;
  cursor: pointer;
}
.filters button.on {
  background: var(--ink);
  color: white;
  border-color: var(--ink);
}
.flow {
  max-width: 1480px;
  margin: 0 auto;
  padding: 28px 28px 8px;
}
.flow h2 {
  margin: 0;
  font-size: 18px;
  letter-spacing: -0.02em;
}
.flow .flow-note {
  margin: 4px 0 16px;
  color: var(--muted);
  font-size: 13px;
}
.grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(680px, 1fr));
  gap: 22px;
}
.grid.mobile-grid {
  grid-template-columns: repeat(auto-fill, minmax(360px, 1fr));
}
.card { min-width: 0; }
.scaler {
  width: calc(1440px * var(--scale));
  height: calc((900px + 40px) * var(--scale));
  overflow: hidden;
}
.card[data-size="mobile"] .scaler {
  width: calc(390px * 0.92);
  height: calc((844px + 40px) * 0.92);
}
.browser {
  width: 1440px;
  transform: scale(var(--scale));
  transform-origin: top left;
  background: #fff;
  border-radius: 14px;
  overflow: hidden;
  box-shadow: 0 18px 50px rgba(20, 29, 66, 0.12);
  border: 1px solid #d5d7de;
}
.card[data-size="mobile"] .browser {
  width: 390px;
  transform: scale(0.92);
}
.chrome {
  height: 40px;
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 0 12px;
  background: #f7f7f8;
  border-bottom: 1px solid var(--line);
}
.dots { display: flex; gap: 6px; }
.dots i {
  width: 10px;
  height: 10px;
  border-radius: 50%;
  display: block;
  background: #e1e2e6;
}
.dots i:nth-child(1) { background: #ff5f57; }
.dots i:nth-child(2) { background: #febc2e; }
.dots i:nth-child(3) { background: #28c840; }
.url {
  flex: 1;
  background: white;
  border: 1px solid var(--line);
  border-radius: 8px;
  height: 24px;
  display: flex;
  align-items: center;
  padding: 0 10px;
  font-size: 12px;
  color: var(--muted);
}
.pill {
  font-size: 10px;
  font-weight: 750;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  border-radius: 999px;
  padding: 4px 8px;
  background: var(--wash);
  color: var(--brand-ink);
}
.pill.asp { background: #141d42; color: white; }
.caption { padding: 12px 2px 0; }
.caption h3 {
  margin: 0;
  font-size: 15px;
  letter-spacing: -0.02em;
}
.meta {
  margin: 4px 0 0;
  font-size: 12px;
  color: var(--muted);
  line-height: 1.45;
}
.meta code {
  font-family: ui-monospace, SFMono-Regular, Menlo, Consolas, monospace;
  font-size: 11px;
  color: var(--ink-soft);
}
.tag {
  display: inline-block;
  margin-top: 6px;
  font-size: 10px;
  font-weight: 750;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--ok);
}
.tag.asp { color: var(--brand); }

/* shot + board modes */
body.shot {
  background: #fff;
  padding: 0;
}
body.shot .gallery-top, body.shot .flow, body.shot .caption { display: none; }
body.shot .shot-only { display: block; }
body.shot .browser { transform: none; box-shadow: none; border: 0; border-radius: 0; }
body.board { background: #eceef3; margin: 0; }
body.board .gallery-top { display: none; }
.board {
  width: 1720px;
  padding: 28px;
  background: #eceef3;
}
.board h2 { margin: 0 0 6px; font-size: 22px; letter-spacing: -0.03em; }
.board .flow-note { margin: 0 0 18px; color: var(--muted); font-size: 13px; }
.board-grid {
  display: flex;
  flex-wrap: wrap;
  gap: 16px;
}
.board .scaler { --scale: 0.27; }
.board .card[data-size="mobile"] .scaler {
  width: calc(390px * 0.42);
  height: calc((844px + 40px) * 0.42);
}
.board .card[data-size="mobile"] .browser { transform: scale(0.42); }
.board .caption h3 { font-size: 12px; }
.board .meta { display: none; }

/* ---------- product primitives ---------- */
.app {
  height: 900px;
  display: flex;
  background: var(--page);
  color: var(--ink);
  overflow: hidden;
  position: relative;
}
.app.night {
  --page: #101428;
  --panel: #1a2144;
  --line: #2a3158;
  --ink: #eef0f8;
  --ink-soft: #c5c9dc;
  --muted: #9aa1bb;
  --faint: #7e86a3;
  background: #101428;
  color: #eef0f8;
}
.side {
  width: 228px;
  flex: none;
  background: var(--panel);
  border-right: 1px solid var(--line);
  display: flex;
  flex-direction: column;
  padding: 14px 12px 12px;
}
.brand {
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 4px 8px 12px;
  font-weight: 750;
  letter-spacing: -0.03em;
  font-size: 16px;
}
.mark {
  width: 26px;
  height: 26px;
  border-radius: 8px;
  background: linear-gradient(160deg, #6d8bff, var(--brand) 55%, var(--brand-deep));
  color: #fff;
  display: grid;
  place-items: center;
  box-shadow: 0 6px 14px rgba(62, 99, 221, 0.35);
}
.mark .ico svg { width: 14px; height: 14px; }
.store {
  margin: 0 8px 12px;
  padding: 8px 10px;
  border-radius: 10px;
  background: var(--page);
  border: 1px solid var(--line);
}
.store b { display: block; font-size: 12px; }
.store span { display: block; margin-top: 1px; font-size: 11px; color: var(--muted); }
.nav { display: flex; flex-direction: column; gap: 2px; }
.nav a {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 8px 10px;
  border-radius: 10px;
  color: var(--ink-soft);
  text-decoration: none;
  font-size: 13px;
  font-weight: 600;
}
.nav a.on {
  background: var(--wash);
  color: var(--brand);
}
.app.night .nav a.on { background: rgba(62, 99, 221, 0.18); color: #b9c8ff; }
.nav a .ico { width: 16px; height: 16px; display: grid; place-items: center; }
.nav a .ico svg { width: 16px; height: 16px; }
.who {
  margin-top: auto;
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 10px 8px 4px;
  border-top: 1px solid var(--line);
}
.initials {
  width: 36px;
  height: 36px;
  border-radius: 10px;
  background: linear-gradient(160deg, #6d8bff, var(--brand) 50%, var(--brand-deep));
  color: white;
  display: grid;
  place-items: center;
  font-size: 12px;
  font-weight: 750;
  flex: none;
}
.who b { display: block; font-size: 13px; }
.who span {
  display: block;
  margin-top: 1px;
  font-size: 10px;
  font-weight: 750;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--muted);
}
.work { flex: 1; min-width: 0; display: flex; flex-direction: column; }
.bar {
  height: 60px;
  flex: none;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  padding: 0 20px;
  background: color-mix(in srgb, var(--panel) 92%, transparent);
  border-bottom: 1px solid var(--line);
}
.bar h1 {
  margin: 0;
  font-size: 16px;
  letter-spacing: -0.02em;
  font-weight: 700;
}
.bar p { margin: 1px 0 0; font-size: 12px; color: var(--muted); }
.bar-actions { display: flex; align-items: center; gap: 8px; }
.chip, .search, .iconbtn, .btn, .btn-ghost, .btn-line {
  height: 32px;
  border-radius: 10px;
  border: 1px solid var(--line);
  background: var(--panel);
  color: var(--ink);
  font-size: 12px;
  font-weight: 650;
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 0 10px;
}
.search { width: 220px; color: var(--faint); font-weight: 550; }
.iconbtn { width: 32px; padding: 0; justify-content: center; position: relative; }
.iconbtn .dot {
  position: absolute;
  top: 6px;
  right: 6px;
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: var(--late);
  border: 1.5px solid var(--panel);
}
.btn {
  background: var(--brand);
  color: white;
  border-color: transparent;
  box-shadow: var(--shadow-brand);
  padding: 0 12px;
}
.btn-line { background: var(--panel); }
.btn-ghost { background: transparent; border-color: transparent; color: var(--brand); }
.btn.danger { background: white; color: var(--late); border-color: #f3c2ce; box-shadow: none; }
.canvas { flex: 1; padding: 16px 20px 18px; overflow: hidden; display: flex; flex-direction: column; gap: 12px; }
.row { display: flex; gap: 12px; }
.grow { flex: 1; min-width: 0; }
.panel {
  background: var(--panel);
  border: 1px solid var(--line);
  border-radius: var(--r-lg);
  box-shadow: var(--shadow);
}
.pad { padding: 14px 16px; }
.stats { display: grid; grid-template-columns: repeat(4, 1fr); gap: 12px; }
.stats.three { grid-template-columns: repeat(3, 1fr); }
.stat {
  background: var(--panel);
  border: 1px solid var(--line);
  border-radius: var(--r-lg);
  padding: 12px 14px 13px;
  min-height: 84px;
  display: flex;
  flex-direction: column;
}
.stat .lbl {
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--muted);
}
.stat .num {
  margin-top: auto;
  font-size: 28px;
  font-weight: 680;
  letter-spacing: -0.04em;
  font-variant-numeric: tabular-nums;
}
.stat .hint { font-size: 11px; color: var(--faint); margin-top: 2px; }
.stat.late .num { color: var(--late); }
.stat.ok .num { color: var(--ok); }
.keys {
  display: flex;
  align-items: center;
  gap: 14px;
  background: var(--navy);
  color: white;
  border-radius: var(--r-lg);
  padding: 12px 14px;
  min-height: 64px;
}
.app.night .keys { background: white; color: var(--navy); }
.keys .k-label {
  font-size: 10px;
  font-weight: 750;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  opacity: 0.7;
}
.keys b { display: block; font-size: 15px; letter-spacing: -0.02em; }
.keys .check {
  margin-left: auto;
  width: 28px;
  height: 28px;
  border-radius: 50%;
  border: 1.5px solid rgba(255, 255, 255, 0.35);
  display: grid;
  place-items: center;
}
.app.night .keys .check { border-color: rgba(20, 29, 66, 0.2); }
.timer {
  background: linear-gradient(165deg, #24315f, #141d42 60%);
  color: white;
  border-radius: 22px;
  padding: 16px;
  min-height: 168px;
  display: flex;
  flex-direction: column;
  position: relative;
  overflow: hidden;
}
.app.night .timer { background: linear-gradient(165deg, #121624, #0b0e18); }
.timer .live {
  display: flex;
  align-items: center;
  gap: 6px;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: #d5dcf5;
}
.timer .pulse {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--live);
  box-shadow: 0 0 0 4px rgba(245, 185, 66, 0.2);
}
.timer .clock {
  font-size: 34px;
  font-weight: 680;
  letter-spacing: -0.04em;
  font-variant-numeric: tabular-nums;
  margin-top: 6px;
}
.timer.late .clock { color: #ffb4c4; }
.timer .who-line { font-size: 13px; color: #d5dcf5; margin-top: 2px; }
.timer .veh {
  margin-top: auto;
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 8px;
}
.timer .veh b { font-size: 13px; }
.timer .veh span { display: block; font-size: 11px; color: #b7c0e4; }
.glyph { width: 92px; height: 36px; color: white; opacity: 0.92; }
.badge {
  display: inline-flex;
  align-items: center;
  height: 22px;
  padding: 0 8px;
  border-radius: 999px;
  font-size: 11px;
  font-weight: 700;
  background: var(--wash);
  color: var(--brand-ink);
}
.badge.ok { background: var(--ok-wash); color: var(--ok); }
.badge.late { background: var(--late-wash); color: var(--late); }
.badge.amber { background: var(--amber-wash); color: var(--amber); }
.badge.mute { background: var(--page); color: var(--muted); }
table.gridish {
  width: 100%;
  border-collapse: collapse;
  font-size: 12.5px;
}
table.gridish th {
  text-align: left;
  font-size: 10px;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--muted);
  font-weight: 700;
  padding: 8px 10px;
  border-bottom: 1px solid var(--line);
}
table.gridish td {
  padding: 9px 10px;
  border-bottom: 1px solid var(--line);
  white-space: nowrap;
}
table.gridish tr.on td { background: var(--wash); }
table.gridish tr:last-child td { border-bottom: 0; }
.tabs {
  display: flex;
  gap: 6px;
  padding: 10px 12px 0;
}
.tabs span {
  height: 28px;
  padding: 0 10px;
  border-radius: 999px;
  display: inline-flex;
  align-items: center;
  font-size: 12px;
  font-weight: 700;
  color: var(--muted);
  border: 1px solid transparent;
}
.tabs span.on { background: var(--wash); color: var(--brand); }
.tools {
  display: flex;
  gap: 8px;
  align-items: center;
  padding: 10px 12px;
}
.h-scroll { overflow: hidden; }
.person { display: flex; align-items: center; gap: 8px; }
.av {
  width: 26px;
  height: 26px;
  border-radius: 8px;
  background: var(--wash);
  color: var(--brand);
  display: grid;
  place-items: center;
  font-size: 10px;
  font-weight: 750;
  flex: none;
}
.empty, .loading-block, .error-block {
  margin: auto;
  text-align: center;
  max-width: 360px;
}
.empty h2, .error-block h2 { margin: 8px 0 4px; font-size: 18px; }
.empty p, .error-block p { margin: 0 0 12px; color: var(--muted); font-size: 13px; }
.skel { height: 14px; border-radius: 7px; background: linear-gradient(90deg, #eceef2, #f7f8fa, #eceef2); }
.app.night .skel { background: #243056; }
.skel + .skel { margin-top: 10px; }
.bars span {
  display: block;
  height: 8px;
  border-radius: 6px;
  background: #e6e7ec;
  margin: 8px 0;
}
.bars span:nth-child(3n) { width: 72%; }
.bars span:nth-child(3n+2) { width: 92%; }
.overlay {
  position: absolute;
  inset: 0;
  background: rgba(20, 29, 66, 0.46);
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 5;
}
.modal {
  width: 460px;
  background: white;
  color: #141d42;
  border-radius: 18px;
  padding: 18px 18px 16px;
  box-shadow: 0 24px 60px rgba(20, 29, 66, 0.25);
}
.drawer {
  position: absolute;
  top: 0;
  right: 0;
  bottom: 0;
  width: 460px;
  background: white;
  color: #141d42;
  border-left: 1px solid var(--line);
  box-shadow: -20px 0 50px rgba(20, 29, 66, 0.12);
  display: flex;
  flex-direction: column;
  z-index: 4;
}
.drawer head, .drawer .dh {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  padding: 16px 16px 12px;
  border-bottom: 1px solid #e1e2e6;
}
.drawer h2 { margin: 0; font-size: 16px; }
.drawer .sub { margin: 2px 0 0; font-size: 12px; color: #6b7289; }
.drawer .db { padding: 14px 16px; overflow: hidden; display: flex; flex-direction: column; gap: 10px; }
.field { display: flex; flex-direction: column; gap: 4px; }
.field label { font-size: 11px; font-weight: 700; color: #6b7289; }
.field .box, .box {
  height: 36px;
  border-radius: 12px;
  border: 1px solid #e1e2e6;
  background: white;
  display: flex;
  align-items: center;
  padding: 0 12px;
  font-size: 13px;
  color: #141d42;
}
.field .box.err { border-color: #be123c; }
.errnote { font-size: 11px; color: #be123c; margin-top: 4px; }
.steps { display: flex; align-items: center; gap: 0; }
.step {
  display: flex;
  align-items: center;
  gap: 6px;
  font-size: 11px;
  font-weight: 700;
  color: #8b91a5;
}
.step i {
  width: 18px;
  height: 18px;
  border-radius: 50%;
  border: 1.5px solid #cdced4;
  display: grid;
  place-items: center;
  font-size: 10px;
  font-style: normal;
}
.step.done { color: #141d42; }
.step.done i { background: #3e63dd; border-color: #3e63dd; color: white; }
.step.now i { border-color: #3e63dd; color: #3e63dd; }
.step .line { width: 22px; height: 2px; background: #e1e2e6; margin: 0 6px; }
.step.done .line { background: #3e63dd; }
.split { display: grid; grid-template-columns: 1.1fr 0.9fr; gap: 12px; min-height: 0; flex: 1; }
.cardish { border: 1px solid #e1e2e6; border-radius: 12px; padding: 12px; background: #fff; }
.kv { display: flex; justify-content: space-between; gap: 12px; font-size: 12px; padding: 6px 0; border-bottom: 1px solid #f0f1f4; }
.kv span { color: #6b7289; }
.doc {
  height: 150px;
  border-radius: 12px;
  background:
    linear-gradient(#fff, #fff) padding-box,
    linear-gradient(180deg, #e1e2e6, #f2f3f5);
  border: 1px solid #e1e2e6;
  padding: 12px;
  position: relative;
}
.doc .stripe { height: 10px; width: 46%; background: #141d42; border-radius: 4px; }
.doc .ln { height: 6px; background: #eceef3; border-radius: 4px; margin-top: 8px; }
.doc .photo {
  position: absolute;
  right: 12px;
  top: 12px;
  width: 54px;
  height: 68px;
  border-radius: 6px;
  background: linear-gradient(180deg, #d5def8, #eef1f8);
}
.license-person {
  width: 42px;
  height: 42px;
  border-radius: 50%;
  margin: 8px auto 0;
  background: #c5d0f5;
}
.pop {
  position: absolute;
  top: 54px;
  right: 20px;
  width: 320px;
  background: white;
  color: #141d42;
  border: 1px solid #e1e2e6;
  border-radius: 16px;
  box-shadow: 0 18px 40px rgba(20, 29, 66, 0.14);
  z-index: 3;
  overflow: hidden;
}
.pop .ph { padding: 12px 14px; border-bottom: 1px solid #e1e2e6; font-weight: 700; font-size: 13px; }
.pop .pi { display: flex; gap: 10px; padding: 10px 14px; border-bottom: 1px solid #f2f3f5; font-size: 12px; }
.note {
  background: var(--wash);
  color: var(--ink);
  border-radius: 12px;
  padding: 10px 12px;
  font-size: 12px;
  line-height: 1.4;
}
.banner {
  background: #fff7ed;
  color: #9a3412;
  border-bottom: 1px solid #fed7aa;
  padding: 8px 16px;
  font-size: 12px;
  font-weight: 650;
}
.banner.blue { background: #f0f4ff; color: #243e9a; border-bottom-color: #d9e2ff; }
.lockshade {
  position: absolute;
  inset: 60px 0 0 228px;
  background: rgba(242, 243, 245, 0.72);
  backdrop-filter: blur(2px);
  z-index: 3;
}

/* public + auth */
.pub { height: 900px; background: white; display: flex; flex-direction: column; overflow: hidden; }
.pubhead {
  height: 64px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0 28px;
  border-bottom: 1px solid var(--line);
}
.pubnav { display: flex; gap: 4px; align-items: center; }
.pubnav a, .plink {
  color: var(--ink-soft);
  text-decoration: none;
  font-size: 13px;
  font-weight: 600;
  padding: 8px 10px;
  border-radius: 8px;
}
.hero {
  flex: 1;
  display: grid;
  grid-template-columns: 1.15fr 0.85fr;
  gap: 28px;
  padding: 36px 48px 28px;
  position: relative;
  background:
    radial-gradient(ellipse at 70% 0%, rgba(62, 99, 221, 0.16), transparent 58%),
    white;
}
.eyebrow {
  font-size: 12px;
  font-weight: 750;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--brand-ink);
}
.hero h1 {
  margin: 10px 0 0;
  font-size: 52px;
  line-height: 1.02;
  letter-spacing: -0.04em;
  font-weight: 640;
  max-width: 640px;
}
.hero .sub {
  margin: 14px 0 0;
  max-width: 520px;
  font-size: 16px;
  line-height: 1.5;
  color: var(--ink-soft);
}
.facts { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 18px; }
.facts span {
  border: 1px solid var(--line);
  background: white;
  border-radius: 999px;
  padding: 6px 10px;
  font-size: 12px;
}
.phone {
  width: 250px;
  height: 500px;
  margin: 8px auto 0;
  background: #141517;
  border-radius: 40px;
  padding: 10px;
  box-shadow: 0 30px 60px rgba(20, 29, 66, 0.18), 0 0 80px rgba(62, 99, 221, 0.18);
  position: relative;
}
.phone .screen {
  height: 100%;
  background: #f2f3f5;
  border-radius: 32px;
  overflow: hidden;
  padding: 28px 12px 12px;
}
.island {
  position: absolute;
  top: 18px;
  left: 50%;
  transform: translateX(-50%);
  width: 72px;
  height: 18px;
  background: #141517;
  border-radius: 20px;
  z-index: 2;
}
.pricegrid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; padding: 28px 40px; }
.plan {
  border: 1px solid var(--line);
  border-radius: 16px;
  padding: 18px;
  background: white;
  position: relative;
}
.plan.popu { border: 2px solid var(--brand); box-shadow: var(--shadow); }
.plan h3 { margin: 8px 0 0; font-size: 20px; }
.plan .amt { font-size: 40px; letter-spacing: -0.04em; font-weight: 680; margin: 8px 0; }
.plan li { font-size: 13px; margin: 6px 0; list-style: none; }
.auth {
  height: 900px;
  display: grid;
  grid-template-columns: 1.05fr 0.95fr;
  background: white;
}
.story {
  background:
    radial-gradient(ellipse at 30% 20%, rgba(62, 99, 221, 0.45), transparent 55%),
    #141d42;
  color: white;
  padding: 36px 40px;
  position: relative;
  overflow: hidden;
}
.story h2 {
  margin: 18px 0 0;
  font-size: 40px;
  line-height: 1.05;
  letter-spacing: -0.04em;
  font-weight: 640;
  max-width: 460px;
}
.story p { color: #d5dcf5; max-width: 420px; line-height: 1.5; }
.formside { padding: 48px 56px; display: flex; flex-direction: column; justify-content: center; }
.formside h1 { margin: 12px 0 4px; font-size: 32px; letter-spacing: -0.03em; }
.formside .lead { margin: 0 0 16px; color: #6b7289; font-size: 14px; }
.stack { display: flex; flex-direction: column; gap: 10px; }
.okbox {
  background: #ecfdf5;
  color: #047857;
  border-radius: 12px;
  padding: 10px 12px;
  font-size: 13px;
  font-weight: 650;
}
.help {
  height: 900px;
  display: grid;
  grid-template-columns: 240px 1fr 200px;
  background: #f2f3f5;
}
.help aside, .help .toc {
  background: white;
  border-right: 1px solid var(--line);
  padding: 16px 12px;
}
.help .toc { border-right: 0; border-left: 1px solid var(--line); }
.help a.item {
  display: block;
  padding: 7px 10px;
  border-radius: 8px;
  text-decoration: none;
  color: #3c4668;
  font-size: 13px;
  font-weight: 600;
}
.help a.item.on { background: var(--wash); color: var(--brand); }
.help article { padding: 28px 36px; }
.help article h1 { margin: 0 0 8px; font-size: 32px; letter-spacing: -0.03em; }
.legal { height: 900px; background: #f2f3f5; overflow: hidden; }
.legal .sheet {
  width: 760px;
  margin: 28px auto;
  background: white;
  border: 1px solid var(--line);
  border-radius: 16px;
  padding: 28px 32px;
}
.legal h1 { margin: 0; font-size: 28px; }
.legal h2 { margin: 16px 0 0; font-size: 15px; }
.account {
  display: grid;
  grid-template-columns: 210px 1fr;
  gap: 12px;
  min-height: 0;
  flex: 1;
}
.subnav { display: flex; flex-direction: column; gap: 2px; }
.subnav a {
  text-decoration: none;
  color: var(--ink-soft);
  font-size: 13px;
  font-weight: 650;
  padding: 8px 10px;
  border-radius: 10px;
}
.subnav a small { display: block; font-weight: 550; color: var(--faint); font-size: 11px; }
.subnav a.on { background: var(--wash); color: var(--brand); }
.chart {
  display: flex;
  align-items: flex-end;
  gap: 10px;
  height: 160px;
  padding: 8px 8px 0;
}
.chart .col { flex: 1; display: flex; flex-direction: column; align-items: center; gap: 6px; height: 100%; justify-content: flex-end; }
.chart .barv { width: 100%; border-radius: 8px 8px 4px 4px; background: #c9d4fb; }
.chart .barv.on { background: var(--brand); }
.chart .col span { font-size: 10px; color: var(--muted); }
.mini-cards { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; }
.rank { display: flex; align-items: center; gap: 10px; padding: 8px 0; border-bottom: 1px solid var(--line); font-size: 13px; }
.rank .n { width: 22px; color: var(--muted); font-weight: 700; }
.track { flex: 1; height: 6px; background: #eceef3; border-radius: 99px; overflow: hidden; }
.track i { display: block; height: 100%; background: var(--brand); border-radius: 99px; }
.mweb { height: 844px; background: var(--page); display: flex; flex-direction: column; overflow: hidden; position: relative; }
.mweb.night { background: #101428; color: #eef0f8; }
.mtop {
  height: 56px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0 14px;
  background: white;
  border-bottom: 1px solid var(--line);
}
.mweb.night .mtop { background: #14182e; border-color: #2a3158; }
.mbody { flex: 1; padding: 12px; display: flex; flex-direction: column; gap: 10px; overflow: hidden; }
.mbottom {
  height: 58px;
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  background: white;
  border-top: 1px solid var(--line);
}
.mweb.night .mbottom { background: #14182e; border-color: #2a3158; }
.mbottom span {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 2px;
  font-size: 10px;
  font-weight: 700;
  color: #8b91a5;
}
.mbottom span.on { color: var(--brand); }
.h2 { margin: 0; font-size: 20px; letter-spacing: -0.03em; }
.muted { color: var(--muted); font-size: 12px; }
.spread { display: flex; align-items: center; justify-content: space-between; gap: 8px; }
.sig {
  height: 120px;
  border: 1.5px dashed #cdced4;
  border-radius: 12px;
  background:
    linear-gradient(transparent 58%, #3e63dd 59%, #3e63dd 61%, transparent 62%) center 70% / 70% 40px no-repeat,
    white;
  position: relative;
}
.sig svg { position: absolute; left: 24px; bottom: 28px; }
.two { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; }
.three { display: grid; grid-template-columns: 1fr 1fr 1fr; gap: 10px; }
.listrow {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 10px 0;
  border-bottom: 1px solid var(--line);
  font-size: 13px;
}
.checkdot {
  width: 22px;
  height: 22px;
  border-radius: 50%;
  background: var(--brand);
  color: white;
  display: grid;
  place-items: center;
  font-size: 12px;
  flex: none;
}
.checkdot.off { background: transparent; border: 1.5px solid #cdced4; color: transparent; }
.demo-ribbon {
  background: #fff7ed;
  color: #9a3412;
  text-align: center;
  font-size: 12px;
  font-weight: 750;
  padding: 6px 10px;
}
.app .demo-ribbon { margin: -16px -20px 0; }
.ico svg { display: block; }
