:root {
  --navy-900: oklch(0.22 0.04 250);
  --navy-800: oklch(0.28 0.045 250);
  --navy-700: oklch(0.36 0.05 250);
  --navy-600: oklch(0.46 0.05 250);
  --navy-500: oklch(0.58 0.04 250);
  --navy-400: oklch(0.7 0.03 250);
  --ink: oklch(0.18 0.025 250);
  --ink-2: oklch(0.32 0.02 250);
  --muted: oklch(0.52 0.015 250);
  --muted-2: oklch(0.66 0.012 250);
  --border: oklch(0.92 0.006 250);
  --border-2: oklch(0.96 0.005 250);
  --surface: oklch(0.985 0.004 250);
  --surface-2: oklch(0.97 0.005 250);
  --bg: #ffffff;
  --green: oklch(0.62 0.13 155);
  --green-soft: oklch(0.95 0.04 155);
  --green-ink: oklch(0.4 0.1 155);
  --amber: oklch(0.78 0.13 75);
  --amber-soft: oklch(0.96 0.04 75);
  --amber-ink: oklch(0.5 0.13 70);
  --red: oklch(0.6 0.18 25);
  --red-soft: oklch(0.96 0.03 25);
  --shadow-sm: 0 1px 2px rgba(15, 23, 42, 0.04), 0 1px 1px rgba(15, 23, 42, 0.03);
  --shadow-md: 0 4px 12px -2px rgba(15, 23, 42, 0.06), 0 2px 4px rgba(15, 23, 42, 0.04);
  --shadow-lg: 0 24px 48px -16px rgba(15, 23, 42, 0.12), 0 6px 12px -4px rgba(15, 23, 42, 0.06);
  --radius-sm: 6px;
  --radius-md: 10px;
  --radius-lg: 14px;
  --radius-xl: 20px;
}

* {
  box-sizing: border-box;
}

html, body {
  margin: 0;
  padding: 0;
  background: var(--bg);
  color: var(--ink);
  font-family: 'Geist', -apple-system, BlinkMacSystemFont, sans-serif;
  font-feature-settings: 'cv11', 'ss01', 'ss03';
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}

body {
  font-size: 15px;
  line-height: 1.55;
}

.mono {
  font-family: 'Geist Mono', ui-monospace, monospace;
  font-feature-settings: normal;
}

.serif {
  font-family: 'Fraunces', Georgia, serif;
  font-optical-sizing: auto;
}

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

button {
  font-family: inherit;
  cursor: pointer;
}

input, select, textarea {
  font-family: inherit;
  font-size: inherit;
  color: inherit;
}

/* ---------- Shell ---------- */

.shell {
  min-height: 100vh;
  display: flex;
  flex-direction: column;
}

.main {
  flex: 1;
}

/* ---------- Top nav (public) ---------- */

.topnav {
  position: sticky;
  top: 0;
  z-index: 20;
  background: rgba(255, 255, 255, 0.86);
  backdrop-filter: saturate(160%) blur(14px);
  border-bottom: 1px solid var(--border);
}

.topnav-inner {
  max-width: 1240px;
  margin: 0 auto;
  height: 64px;
  padding: 0 28px;
  display: flex;
  align-items: center;
  gap: 36px;
}

.brand {
  display: flex;
  align-items: center;
  gap: 10px;
  font-weight: 600;
  letter-spacing: -0.01em;
  color: var(--navy-900);
}

.brand-mark {
  width: 28px;
  height: 28px;
  background: var(--navy-900);
  border-radius: 7px;
  display: grid;
  place-items: center;
  color: var(--green);
}

.nav-links {
  display: flex;
  gap: 4px;
  align-items: center;
}

.nav-link {
  padding: 7px 12px;
  border-radius: 8px;
  color: var(--ink-2);
  font-size: 14px;
  font-weight: 500;
  transition: background 0.15s, color 0.15s;
}

.nav-link:hover {
  background: var(--surface-2);
  color: var(--navy-900);
}

.nav-link.active {
  color: var(--navy-900);
  background: var(--surface-2);
}

.nav-spacer {
  flex: 1;
}

.nav-right {
  display: flex;
  align-items: center;
  gap: 8px;
}

/* ---------- Buttons ---------- */

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 10px 16px;
  border-radius: 10px;
  border: 1px solid transparent;
  font-size: 14px;
  font-weight: 500;
  line-height: 1;
  transition: all 0.15s ease;
  white-space: nowrap;
  background: transparent;
  color: var(--ink);
}

.btn-primary {
  background: var(--navy-900);
  color: white;
  border-color: var(--navy-900);
}

.btn-primary:hover {
  background: var(--navy-800);
  border-color: var(--navy-800);
}

.btn-secondary {
  background: white;
  color: var(--ink);
  border-color: var(--border);
  box-shadow: var(--shadow-sm);
}

.btn-secondary:hover {
  background: var(--surface);
  border-color: var(--navy-400);
}

.btn-ghost {
  background: transparent;
  color: var(--ink-2);
}

.btn-ghost:hover {
  background: var(--surface-2);
  color: var(--navy-900);
}

.btn-danger {
  background: white;
  color: var(--red);
  border-color: var(--border);
}

.btn-danger:hover {
  background: var(--red-soft);
  border-color: var(--red);
}

.btn-success {
  background: var(--green);
  color: white;
  border-color: var(--green);
}

.btn-lg {
  padding: 14px 22px;
  font-size: 15px;
  border-radius: 12px;
}

.btn-sm {
  padding: 6px 10px;
  font-size: 13px;
  border-radius: 7px;
}

.btn-block {
  width: 100%;
}

.btn:disabled {
  opacity: 0.5;
  cursor: not-allowed;
}

/* ---------- Layout helpers ---------- */

.container {
  max-width: 1240px;
  margin: 0 auto;
  padding: 0 28px;
}

.container-narrow {
  max-width: 880px;
  margin: 0 auto;
  padding: 0 28px;
}

.stack-1 > * + * { margin-top: 4px; }
.stack-2 > * + * { margin-top: 8px; }
.stack-3 > * + * { margin-top: 12px; }
.stack-4 > * + * { margin-top: 16px; }
.stack-6 > * + * { margin-top: 24px; }
.stack-8 > * + * { margin-top: 32px; }

.row {
  display: flex;
  align-items: center;
  gap: 12px;
}

.row-between {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
}

/* ---------- Typography ---------- */

h1, h2, h3, h4 {
  margin: 0;
  color: var(--navy-900);
  letter-spacing: -0.02em;
  font-weight: 600;
}

h1 { font-size: clamp(36px, 4vw, 56px); line-height: 1.05; letter-spacing: -0.035em; }
h2 { font-size: clamp(26px, 2.6vw, 36px); line-height: 1.15; letter-spacing: -0.025em; }
h3 { font-size: 20px; line-height: 1.25; }
h4 { font-size: 16px; line-height: 1.35; }

p { margin: 0; }

.eyebrow {
  font-family: 'Geist Mono', monospace;
  font-size: 12px;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--green-ink);
}

.muted { color: var(--muted); }
.muted-2 { color: var(--muted-2); }
.lead { font-size: 18px; line-height: 1.55; color: var(--ink-2); }

/* ---------- Cards / surfaces ---------- */

.card {
  background: white;
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 20px;
}

.card-tight {
  padding: 14px 16px;
}

.card-lg {
  padding: 28px;
  border-radius: var(--radius-xl);
}

.card-elevated {
  background: white;
  border: 1px solid var(--border);
  border-radius: var(--radius-xl);
  box-shadow: var(--shadow-md);
}

/* ---------- Forms ---------- */

.field {
  display: flex;
  flex-direction: column;
  gap: 6px;
}

.field-row {
  display: grid;
  gap: 14px;
}

.field-row.cols-2 { grid-template-columns: 1fr 1fr; }
.field-row.cols-3 { grid-template-columns: 1fr 1fr 1fr; }

.label {
  font-size: 13px;
  font-weight: 500;
  color: var(--ink);
}

.label .opt {
  color: var(--muted-2);
  font-weight: 400;
  margin-left: 6px;
}

.input,
.select,
.textarea {
  width: 100%;
  padding: 10px 12px;
  background: white;
  border: 1px solid var(--border);
  border-radius: 9px;
  font-size: 14px;
  color: var(--ink);
  transition: border-color 0.15s, box-shadow 0.15s;
  appearance: none;
}

.input:focus,
.select:focus,
.textarea:focus {
  outline: none;
  border-color: var(--navy-700);
  box-shadow: 0 0 0 3px oklch(0.92 0.02 250);
}

.textarea {
  resize: vertical;
  min-height: 100px;
  font-family: inherit;
}

.select {
  background-image: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 12 12'><path fill='none' stroke='%23334155' stroke-width='1.5' d='M3 5l3 3 3-3'/></svg>");
  background-repeat: no-repeat;
  background-position: right 12px center;
  background-size: 12px;
  padding-right: 32px;
}

.help {
  font-size: 12.5px;
  color: var(--muted);
}

.input-prefix {
  position: relative;
}

.input-prefix .input {
  padding-left: 36px;
}

.input-prefix .pfx {
  position: absolute;
  left: 12px;
  top: 50%;
  transform: translateY(-50%);
  color: var(--muted-2);
  font-family: 'Geist Mono', monospace;
  font-size: 13px;
  pointer-events: none;
}

/* checkbox / radio */

.check {
  display: flex;
  gap: 10px;
  align-items: flex-start;
  cursor: pointer;
  padding: 10px 0;
  font-size: 14px;
  line-height: 1.45;
  color: var(--ink-2);
}

.check input {
  margin: 2px 0 0 0;
  width: 16px;
  height: 16px;
  accent-color: var(--navy-900);
  flex-shrink: 0;
}

.radio-card {
  border: 1px solid var(--border);
  border-radius: 10px;
  padding: 14px 16px;
  cursor: pointer;
  background: white;
  display: flex;
  align-items: center;
  gap: 12px;
  transition: all 0.15s;
}

.radio-card:hover {
  border-color: var(--navy-400);
}

.radio-card.selected {
  border-color: var(--navy-900);
  background: oklch(0.985 0.008 250);
  box-shadow: 0 0 0 3px oklch(0.94 0.015 250);
}

.radio-dot {
  width: 18px;
  height: 18px;
  border-radius: 50%;
  border: 1.5px solid var(--border);
  display: grid;
  place-items: center;
  flex-shrink: 0;
  transition: border-color 0.15s;
}

.radio-card.selected .radio-dot {
  border-color: var(--navy-900);
}

.radio-card.selected .radio-dot::after {
  content: '';
  width: 9px;
  height: 9px;
  background: var(--navy-900);
  border-radius: 50%;
}

/* ---------- Badges ---------- */

.badge {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 3px 9px;
  border-radius: 999px;
  font-size: 12px;
  font-weight: 500;
  background: var(--surface-2);
  color: var(--ink-2);
  white-space: nowrap;
}

.badge-green { background: var(--green-soft); color: var(--green-ink); }
.badge-amber { background: var(--amber-soft); color: var(--amber-ink); }
.badge-red { background: var(--red-soft); color: var(--red); }
.badge-blue { background: oklch(0.94 0.025 250); color: var(--navy-700); }

.dot {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: currentColor;
}

.dot-pulse {
  position: relative;
}

.dot-pulse::after {
  content: '';
  position: absolute;
  inset: -3px;
  border-radius: 50%;
  background: currentColor;
  opacity: 0.3;
  animation: pulse 2s ease-out infinite;
}

@keyframes pulse {
  0% { transform: scale(0.7); opacity: 0.5; }
  100% { transform: scale(2.2); opacity: 0; }
}

/* ---------- Hero ---------- */

.hero {
  position: relative;
  padding: 84px 0 96px;
  background:
    radial-gradient(ellipse 60% 50% at 80% 0%, oklch(0.96 0.03 155 / 0.5), transparent 60%),
    radial-gradient(ellipse 50% 40% at 0% 10%, oklch(0.95 0.03 250 / 0.7), transparent 60%);
  overflow: hidden;
}

.hero-grid {
  display: grid;
  grid-template-columns: 1.05fr 0.95fr;
  gap: 64px;
  align-items: center;
}

@media (max-width: 980px) {
  .hero-grid { grid-template-columns: 1fr; gap: 36px; }
}

.hero h1 .accent {
  background: linear-gradient(180deg, var(--navy-900), var(--navy-700));
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}

.hero-cta {
  display: flex;
  gap: 12px;
  margin-top: 32px;
  align-items: center;
  flex-wrap: wrap;
}

.hero-trust {
  display: flex;
  gap: 28px;
  margin-top: 32px;
  flex-wrap: wrap;
  color: var(--muted);
  font-size: 13.5px;
}

.hero-trust .row { gap: 8px; }

/* Hero certificate visual */
.cert-visual {
  background: white;
  border: 1px solid var(--border);
  border-radius: 18px;
  box-shadow: var(--shadow-lg);
  padding: 22px;
  position: relative;
}

.cert-visual::before {
  content: '';
  position: absolute;
  inset: -1px;
  border-radius: 18px;
  background: linear-gradient(135deg, oklch(0.92 0.04 155) 0%, transparent 40%, transparent 60%, oklch(0.92 0.04 250) 100%);
  z-index: -1;
}

.cert-browser-bar {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 8px 12px;
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: 10px;
  font-family: 'Geist Mono', monospace;
  font-size: 12px;
  color: var(--ink-2);
  margin-bottom: 18px;
  white-space: nowrap;
  overflow: hidden;
}
.cert-browser-bar .url {
  flex: 1;
  min-width: 0;
  overflow: hidden;
  text-overflow: ellipsis;
}

.cert-row {
  display: flex;
  justify-content: space-between;
  padding: 10px 0;
  border-bottom: 1px solid var(--border-2);
  font-size: 13px;
}

.cert-row:last-child { border-bottom: 0; }

.cert-row .k { color: var(--muted); }
.cert-row .v { color: var(--ink); font-family: 'Geist Mono', monospace; }

.cert-check-bar {
  margin-top: 18px;
  padding: 14px;
  background: var(--green-soft);
  border-radius: 10px;
  display: flex;
  align-items: center;
  gap: 12px;
}

/* ---------- Section spacing ---------- */

section.block {
  padding: 80px 0;
}

section.block-tight {
  padding: 56px 0;
}

.section-head {
  text-align: center;
  max-width: 720px;
  margin: 0 auto 48px;
}

/* ---------- Feature grid ---------- */

.feature-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 18px;
}

@media (max-width: 820px) {
  .feature-grid { grid-template-columns: 1fr; }
}

.feature {
  border: 1px solid var(--border);
  background: white;
  border-radius: 14px;
  padding: 24px;
}

.feature-icon {
  width: 38px;
  height: 38px;
  border-radius: 9px;
  background: var(--surface-2);
  color: var(--navy-900);
  display: grid;
  place-items: center;
  margin-bottom: 16px;
}

.feature h4 { margin-bottom: 6px; }
.feature p { color: var(--muted); font-size: 14px; }

/* ---------- Steps ---------- */

.steps {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 20px;
}

@media (max-width: 920px) {
  .steps { grid-template-columns: 1fr 1fr; }
}

.step {
  position: relative;
}

.step-num {
  font-family: 'Geist Mono', monospace;
  font-size: 12px;
  color: var(--green-ink);
  background: var(--green-soft);
  border-radius: 999px;
  width: 24px;
  height: 24px;
  display: grid;
  place-items: center;
  margin-bottom: 16px;
}

.step h4 { margin-bottom: 6px; }
.step p { color: var(--muted); font-size: 14px; line-height: 1.5; }

/* ---------- Two ways ---------- */

.ways-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 20px;
}

@media (max-width: 820px) {
  .ways-grid { grid-template-columns: 1fr; }
}

.way-card {
  position: relative;
  background: white;
  border: 1px solid var(--border);
  border-radius: var(--radius-xl);
  padding: 30px;
  display: flex;
  flex-direction: column;
  box-shadow: var(--shadow-sm);
}

.way-head {
  display: flex;
  align-items: center;
  gap: 14px;
  margin-bottom: 16px;
}

.way-icon {
  width: 46px;
  height: 46px;
  border-radius: 12px;
  background: var(--navy-900);
  color: var(--green);
  display: grid;
  place-items: center;
  flex-shrink: 0;
}

.way-num {
  font-family: 'Geist Mono', monospace;
  font-size: 11.5px;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--muted-2);
  margin-bottom: 2px;
}

.way-steps {
  list-style: none;
  padding: 0;
  margin: 18px 0 0;
}

.way-steps li {
  display: flex;
  gap: 12px;
  align-items: flex-start;
  padding: 12px 0;
  border-top: 1px solid var(--border-2);
  font-size: 14px;
  line-height: 1.5;
  color: var(--muted);
}

.way-steps li strong { color: var(--ink); font-weight: 600; }

.way-steps li .n {
  flex-shrink: 0;
  width: 22px;
  height: 22px;
  border-radius: 999px;
  background: var(--surface-2);
  color: var(--navy-700);
  font-family: 'Geist Mono', monospace;
  font-size: 11px;
  font-weight: 600;
  display: grid;
  place-items: center;
  margin-top: 1px;
}

.way-foot {
  margin-top: auto;
  padding-top: 22px;
}

/* ---------- Price box ---------- */

.price-box {
  background: var(--navy-900);
  color: white;
  border-radius: 20px;
  padding: 36px;
  position: relative;
  overflow: hidden;
}

.price-box .row { color: oklch(0.85 0.02 250); }

.price-amount {
  display: flex;
  align-items: baseline;
  gap: 6px;
}

.price-amount .val {
  font-size: 56px;
  font-weight: 600;
  letter-spacing: -0.04em;
  color: white;
  line-height: 1;
}

.price-amount .per {
  color: oklch(0.78 0.02 250);
  font-size: 15px;
}

.price-bullets {
  list-style: none;
  padding: 0;
  margin: 24px 0 0;
}

.price-bullets li {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  padding: 6px 0;
  font-size: 14px;
  color: oklch(0.88 0.02 250);
}

.price-bullets li svg {
  color: var(--green);
  flex-shrink: 0;
  margin-top: 2px;
}

/* ---------- FAQ ---------- */

.faq-list {
  border-top: 1px solid var(--border);
}

.faq-item {
  border-bottom: 1px solid var(--border);
}

.faq-q {
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 20px 0;
  background: transparent;
  border: 0;
  text-align: left;
  font-size: 16px;
  font-weight: 500;
  color: var(--navy-900);
}

.faq-q svg {
  transition: transform 0.2s;
  color: var(--muted);
}

.faq-item.open .faq-q svg { transform: rotate(45deg); }

.faq-a {
  display: none;
  padding: 0 0 22px;
  color: var(--ink-2);
  font-size: 15px;
  line-height: 1.6;
  max-width: 720px;
}

.faq-item.open .faq-a { display: block; }

/* FAQ teaser grid */
.faq-head {
  display: flex;
  justify-content: space-between;
  align-items: flex-end;
  gap: 24px;
  margin-bottom: 32px;
  flex-wrap: wrap;
}
.faq-head-cta { flex-shrink: 0; }

.faq-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 16px;
}
@media (max-width: 720px) { .faq-grid { grid-template-columns: 1fr; } }

.faq-card {
  background: white;
  border: 1px solid var(--border);
  border-radius: 14px;
  padding: 24px 26px;
  display: flex;
  flex-direction: column;
  gap: 12px;
  position: relative;
  transition: border-color 0.18s, transform 0.18s, box-shadow 0.18s;
}
.faq-card:hover {
  border-color: oklch(0.72 0.02 250);
  transform: translateY(-1px);
  box-shadow: 0 8px 24px -16px oklch(0.20 0.05 250 / 0.18);
}
.faq-card-head {
  display: flex;
  align-items: center;
  gap: 10px;
}
.faq-num {
  font-size: 11.5px;
  letter-spacing: 0.06em;
  color: var(--green-600);
  font-weight: 600;
}
.faq-tag {
  font-size: 11px;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  color: var(--muted);
  background: var(--bg-tint);
  border: 1px solid var(--border);
  padding: 3px 8px;
  border-radius: 999px;
  font-weight: 500;
}
.faq-card-q {
  font-size: 17px;
  line-height: 1.35;
  margin: 0;
  color: var(--ink);
  font-weight: 600;
}
.faq-card-a {
  font-size: 14px;
  line-height: 1.6;
  color: var(--ink-2);
  margin: 0;
}

/* ---------- Footer ---------- */

.footer {
  background: var(--navy-900);
  color: oklch(0.78 0.02 250);
  padding: 60px 0 30px;
  margin-top: 80px;
}

.footer h5 {
  font-size: 13px;
  font-weight: 600;
  color: white;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  margin: 0 0 16px;
}

.footer-grid {
  display: grid;
  grid-template-columns: 1.4fr 1fr 1fr 1fr 1fr;
  gap: 32px;
}

@media (max-width: 880px) {
  .footer-grid { grid-template-columns: 1fr 1fr; }
}

.footer ul {
  list-style: none;
  padding: 0;
  margin: 0;
  display: flex;
  flex-direction: column;
  gap: 10px;
  font-size: 14px;
}

.footer a:hover { color: white; }

.footer-bot {
  border-top: 1px solid oklch(0.32 0.04 250);
  margin-top: 40px;
  padding-top: 24px;
  display: flex;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 12px;
  font-size: 13px;
}

/* ---------- App layout (dashboard) ---------- */

.app-shell {
  display: grid;
  grid-template-columns: 256px 1fr;
  min-height: 100vh;
  background: var(--surface);
}

@media (max-width: 880px) {
  .app-shell { grid-template-columns: 1fr; }
  .sidebar { display: none; }
}

.sidebar {
  background: white;
  border-right: 1px solid var(--border);
  padding: 22px 16px;
  display: flex;
  flex-direction: column;
  position: sticky;
  top: 0;
  height: 100vh;
}

.sidebar-brand {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 4px 8px 22px;
  font-weight: 600;
  color: var(--navy-900);
}

.side-section {
  padding: 14px 8px 6px;
  font-family: 'Geist Mono', monospace;
  font-size: 11px;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: var(--muted-2);
}

.side-nav {
  display: flex;
  flex-direction: column;
  gap: 2px;
}

.side-link {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 8px 10px;
  border-radius: 8px;
  color: var(--ink-2);
  font-size: 14px;
  font-weight: 500;
  transition: background 0.15s;
}

.side-link:hover {
  background: var(--surface);
}

.side-link.active {
  background: var(--surface-2);
  color: var(--navy-900);
}

.side-link svg { color: var(--muted); }
.side-link.active svg { color: var(--navy-900); }

.side-bottom {
  margin-top: auto;
  padding-top: 16px;
  border-top: 1px solid var(--border);
}

.user-row {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 8px;
  border-radius: 8px;
}

.avatar {
  width: 32px;
  height: 32px;
  border-radius: 50%;
  background: var(--navy-900);
  color: white;
  display: grid;
  place-items: center;
  font-weight: 600;
  font-size: 13px;
}

.user-meta { line-height: 1.2; font-size: 13px; }
.user-meta .e { color: var(--muted-2); font-size: 12px; }

/* Dashboard main */
.app-main {
  padding: 28px 36px 80px;
  max-width: 1180px;
  width: 100%;
}

@media (max-width: 880px) {
  .app-main { padding: 20px; }
}

.app-topbar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 28px;
}

.page-title h1 {
  font-size: 28px;
  letter-spacing: -0.02em;
  margin: 0;
}
.page-title p { color: var(--muted); font-size: 14px; margin-top: 4px; }

/* Tabs */
.tabs {
  display: flex;
  gap: 4px;
  border-bottom: 1px solid var(--border);
  margin-bottom: 22px;
}

.tab {
  padding: 10px 14px;
  background: transparent;
  border: 0;
  font-size: 14px;
  color: var(--muted);
  font-weight: 500;
  border-bottom: 2px solid transparent;
  margin-bottom: -1px;
  transition: color 0.15s, border-color 0.15s;
}

.tab:hover { color: var(--navy-900); }

.tab.active {
  color: var(--navy-900);
  border-bottom-color: var(--navy-900);
}

/* Table */

.table {
  width: 100%;
  border-collapse: collapse;
  font-size: 14px;
}

.table th {
  text-align: left;
  font-weight: 500;
  color: var(--muted);
  font-size: 12.5px;
  text-transform: uppercase;
  letter-spacing: 0.04em;
  padding: 12px 16px;
  background: var(--surface);
  border-bottom: 1px solid var(--border);
}

.table td {
  padding: 16px;
  border-bottom: 1px solid var(--border-2);
  vertical-align: middle;
}

.table tr:last-child td { border-bottom: 0; }

.table-wrap {
  background: white;
  border: 1px solid var(--border);
  border-radius: 14px;
  overflow: hidden;
}

/* Auth */

.auth-shell {
  min-height: 100vh;
  display: grid;
  grid-template-columns: 1fr 1fr;
  background: var(--bg);
}

@media (max-width: 880px) {
  .auth-shell { grid-template-columns: 1fr; }
  .auth-aside { display: none; }
}

.auth-aside {
  background: var(--navy-900);
  color: white;
  padding: 48px;
  display: flex;
  flex-direction: column;
  position: relative;
  overflow: hidden;
  background-image:
    radial-gradient(ellipse 60% 40% at 100% 100%, oklch(0.32 0.08 155 / 0.6), transparent 60%),
    radial-gradient(ellipse 70% 50% at 0% 0%, oklch(0.34 0.07 250 / 0.6), transparent 60%);
}

.auth-aside h2 { color: white; }
.auth-aside .lead { color: oklch(0.85 0.02 250); }

.auth-aside ul {
  list-style: none;
  padding: 0;
  margin: 24px 0 0;
  display: flex;
  flex-direction: column;
  gap: 12px;
  color: oklch(0.85 0.02 250);
}

.auth-aside ul li {
  display: flex;
  gap: 10px;
  align-items: flex-start;
}

.auth-aside ul li svg { color: var(--green); flex-shrink: 0; margin-top: 3px; }

.auth-main {
  display: grid;
  place-items: center;
  padding: 48px 28px;
}

.auth-card {
  width: 100%;
  max-width: 420px;
}

.auth-card h2 {
  font-size: 28px;
  margin-bottom: 6px;
}

.auth-card .lead {
  color: var(--muted);
  font-size: 15px;
  margin-bottom: 28px;
}

/* OTP boxes */
.otp-row {
  display: flex;
  gap: 8px;
  justify-content: center;
}

.otp-box {
  width: 52px;
  height: 60px;
  border-radius: 10px;
  border: 1px solid var(--border);
  background: white;
  text-align: center;
  font-size: 24px;
  font-weight: 600;
  color: var(--navy-900);
  font-family: 'Geist Mono', monospace;
}

.otp-box:focus {
  outline: none;
  border-color: var(--navy-700);
  box-shadow: 0 0 0 3px oklch(0.92 0.02 250);
}

/* Checkout */

.checkout-grid {
  display: grid;
  grid-template-columns: 1.4fr 0.8fr;
  gap: 36px;
  align-items: start;
}

@media (max-width: 980px) {
  .checkout-grid { grid-template-columns: 1fr; }
}

.checkout-sticky {
  position: sticky;
  top: 88px;
}

.summary {
  background: white;
  border: 1px solid var(--border);
  border-radius: 16px;
  overflow: hidden;
}

.summary-head {
  padding: 18px 20px;
  border-bottom: 1px solid var(--border);
  background: var(--surface);
}

.summary-body { padding: 18px 20px; }

.summary-row {
  display: flex;
  justify-content: space-between;
  padding: 8px 0;
  font-size: 14px;
}

.summary-total {
  border-top: 1px solid var(--border);
  margin-top: 8px;
  padding-top: 14px;
  font-size: 16px;
  font-weight: 600;
  color: var(--navy-900);
}

.section-card {
  background: white;
  border: 1px solid var(--border);
  border-radius: 16px;
  padding: 24px;
}

.section-card h3 { margin-bottom: 4px; }
.section-card .sub { color: var(--muted); font-size: 13.5px; margin-bottom: 18px; }

.reg-legend {
  font-family: 'Geist Mono', monospace;
  font-size: 11px;
  letter-spacing: 0.07em;
  text-transform: uppercase;
  color: var(--muted-2);
  margin-bottom: 12px;
  padding-bottom: 8px;
  border-bottom: 1px solid var(--border-2);
}

.domain-chips {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-top: 16px;
}

.domain-chip {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  padding: 6px 8px 6px 10px;
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: 999px;
  font-size: 13px;
  color: var(--navy-900);
}

.domain-chip svg { color: var(--navy-700); }

.domain-chip button {
  display: grid;
  place-items: center;
  width: 18px;
  height: 18px;
  border-radius: 999px;
  border: 0;
  background: var(--surface-2);
  color: var(--muted);
  cursor: pointer;
  transition: background 0.15s, color 0.15s;
}

.domain-chip button:hover { background: var(--red-soft, oklch(0.93 0.05 25)); color: var(--red-ink, oklch(0.5 0.18 25)); }

/* Stat tiles */

.stat-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 14px;
}

@media (max-width: 920px) { .stat-grid { grid-template-columns: 1fr 1fr; } }

.stat {
  background: white;
  border: 1px solid var(--border);
  border-radius: 12px;
  padding: 16px 18px;
}

.stat .l { font-size: 12.5px; color: var(--muted); text-transform: uppercase; letter-spacing: 0.04em; font-family: 'Geist Mono', monospace; }
.stat .v { font-size: 26px; font-weight: 600; color: var(--navy-900); letter-spacing: -0.02em; margin-top: 4px; line-height: 1.1; }
.stat .d { font-size: 12.5px; color: var(--muted); margin-top: 4px; }

/* Misc */

.divider { border-top: 1px solid var(--border); margin: 24px 0; }

.kbd {
  display: inline-grid;
  place-items: center;
  height: 22px;
  min-width: 22px;
  padding: 0 6px;
  border-radius: 6px;
  background: var(--surface-2);
  border: 1px solid var(--border);
  font-family: 'Geist Mono', monospace;
  font-size: 11px;
  color: var(--ink-2);
}

.callout {
  background: oklch(0.97 0.02 250);
  border: 1px solid oklch(0.9 0.025 250);
  border-radius: 12px;
  padding: 14px 16px;
  font-size: 13.5px;
  color: var(--navy-800);
  display: flex;
  gap: 10px;
  align-items: flex-start;
}

.callout svg { color: var(--navy-700); flex-shrink: 0; margin-top: 1px; }

.callout-warn {
  background: var(--amber-soft);
  border-color: oklch(0.88 0.06 75);
  color: var(--amber-ink);
}
.callout-warn svg { color: var(--amber-ink); }

.callout-success {
  background: var(--green-soft);
  border-color: oklch(0.86 0.05 155);
  color: var(--green-ink);
}
.callout-success svg { color: var(--green-ink); }

/* Toast */
.toast {
  position: fixed;
  bottom: 24px;
  left: 50%;
  transform: translateX(-50%);
  background: var(--navy-900);
  color: white;
  padding: 12px 18px;
  border-radius: 12px;
  font-size: 14px;
  box-shadow: var(--shadow-lg);
  z-index: 100;
  display: flex;
  align-items: center;
  gap: 10px;
  animation: toastIn 0.25s ease;
}

.toast svg { color: var(--green); }

@keyframes toastIn {
  from { transform: translate(-50%, 20px); opacity: 0; }
  to { transform: translate(-50%, 0); opacity: 1; }
}

/* Modal */
.modal-back {
  position: fixed; inset: 0;
  background: oklch(0.18 0.02 250 / 0.45);
  backdrop-filter: blur(4px);
  z-index: 50;
  display: grid;
  place-items: center;
  padding: 20px;
  animation: fade 0.15s ease;
}
@keyframes fade { from { opacity: 0; } to { opacity: 1; } }

.modal {
  background: white;
  border-radius: 16px;
  max-width: 480px;
  width: 100%;
  padding: 24px;
  box-shadow: var(--shadow-lg);
}

/* Skip the default focus glow on labels etc. */
:focus { outline: none; }

/* small responsive helper */
.hide-sm { }
@media (max-width: 760px) {
  .hide-sm { display: none !important; }
}

/* Page background variations */
.bg-tint {
  background: var(--surface);
}

/* Logo grid */
.trust-row {
  display: flex;
  align-items: center;
  justify-content: center;
  flex-wrap: wrap;
  gap: 40px;
  color: var(--muted-2);
  font-family: 'Geist Mono', monospace;
  font-size: 13px;
  letter-spacing: 0.04em;
}
