/* ─── VRE Design tokens ──────────────────────────────────────────── */
:root {
  --bg: #ffffff;
  --surface: #f7f7f7;
  --surface2: #f1f3f4;
  --surface3: #e2e3e6;
  --border: #e8e8e8;
  --border2: #d1d1d1;
  --text: #222222;
  --text-dim: #717171;
  --label: #80868b;
  --accent: #0078d7;
  --accent-soft: #e8f0fe;
  --accent-border: #c6dafc;
  --blue: #1a73e8;
  --green: #188038;
  --yellow: #b06000;
  --red: #dc362e;
  --red-soft: #fcebeb;
  --yellow-soft: #fef6d5;
  --red-text: #600e0b;
  --yellow-text: #a75400;
  --scrollbar-thumb: #c5c9d0;
  --scrollbar-thumb-hover: #9aa0a6;
  --mono: ui-monospace, SFMono-Regular, Menlo, Consolas, "Liberation Mono", monospace;
  --sans: "Segoe UI", Roboto, Arial, sans-serif;
}

@media (prefers-color-scheme: dark) {
  :root {
    --bg: #282828;
    --surface: #333333;
    --surface2: #3c3c3c;
    --surface3: #3c3c3c;
    --border: #3c3c3c;
    --border2: #414141;
    --text: #e3e3e3;
    --text-dim: #9f9f9f;
    --label: #6d6d6d;
    --accent: #4ea1e1;
    --accent-soft: #253e57;
    --accent-border: #2a4a6a;
    --blue: #4ea1e1;
    --green: #4caf7d;
    --yellow: #fe8d59;
    --red: #e46962;
    --red-soft: #4e3534;
    --yellow-soft: #413c26;
    --red-text: #f9dedc;
    --yellow-text: #fdf3aa;
    --scrollbar-thumb: #414141;
    --scrollbar-thumb-hover: #6d6d6d;
  }
}

/* ─── Reset & base ───────────────────────────────────────────────── */
*, *::before, *::after { box-sizing: border-box; }

body {
  margin: 0;
  background: var(--bg);
  color: var(--text);
  font-family: var(--sans);
  font-size: 14px;
  line-height: 1.5;
}

a {
  color: inherit;
  text-decoration: none;
}

/* ─── Header / Nav ───────────────────────────────────────────────── */
.header {
  height: 52px;
  padding: 0 12px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  background: var(--bg);
  border-bottom: 1px solid var(--border);
  position: sticky;
  top: 0;
  z-index: 10;
}

.header {
  height: 52px;
  padding: 0 12px;
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.logo-wrapper {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  height: 52px;
  line-height: 1;
  text-decoration: none;
}

.logo-icon {
  width: 28px;
  height: 28px;
  object-fit: contain;
  display: block;
  border-radius: 5px;
        box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
}

.logo {
  display: block;
  line-height: 1;
  
}

.logo {
  font-family: 'IBM Plex Mono', var(--mono);
  font-size: 13.5px;
  font-weight: 500;
  color: var(--text);
  letter-spacing: -0.3px;
}
.nav {
  display: flex;
  align-items: center;
  gap: 4px;
}

.nav-link {
  color: var(--text-dim);
  font-size: 15px;
  padding: 5px 10px;
  border-radius: 6px;
  transition: background 0.12s, color 0.12s;
}
.nav-link {
  font-family: 'Geist', 'IBM Plex Sans', var(--sans);
}
.nav-link:hover {
  background: var(--surface2);
  color: var(--text);
}

#userArea {
  display: flex;
  align-items: center;
  gap: 6px;
  margin-left: 8px;
}

/* ─── Buttons ────────────────────────────────────────────────────── */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  border: 1px solid transparent;
  background: var(--accent);
  color: #fff;
  padding: 7px 14px;
  border-radius: 6px;
  cursor: pointer;
  font-size: 15px;
  font-family: var(--sans);
  font-weight: 500;
  transition: opacity 0.12s;
  white-space: nowrap;
}

.btn:hover { opacity: 0.88; }

.btn.secondary {
  background: var(--surface2);
  color: var(--text);
  border-color: var(--border);
}

.btn.ghost {
  background: transparent;
  color: var(--text-dim);
  border-color: var(--border);
}

.btn.ghost:hover {
  background: var(--surface2);
  color: var(--text);
}

.btn.danger {
  background: var(--red-soft);
  color: var(--red-text);
  border-color: var(--red);
}

.btn.small {
  padding: 4px 10px;
  font-size: 12px;
}

/* ─── Layout helpers ─────────────────────────────────────────────── */
.container {
  max-width: 860px;
  margin: 0 auto;
  padding: 0 24px;
}

.stack {
  display: grid;
  gap: 8px;
}

/* ─── Hero ───────────────────────────────────────────────────────── */
.hero {
  padding: 80px 24px;
  text-align: center;
  max-width: 720px;
  margin: 0 auto;
}

.hero h1 {
  font-size: 40px;
  font-weight: 700;
  margin: 0 0 14px;
  letter-spacing: -0.5px;
  line-height: 1.15;
}

.hero p {
  font-size: 16px;
  color: var(--text-dim);
  margin: 0 0 32px;
  line-height: 1.6;
}

.hero-actions {
  display: flex;
  gap: 8px;
  justify-content: center;
  flex-wrap: wrap;
}

/* ─── Card ───────────────────────────────────────────────────────── */
.card {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: 10px;
  padding: 28px;
}

.card h1 {
  margin: 0 0 4px;
  font-size: 20px;
  font-weight: 600;
}

.card h2 {
  margin: 0 0 4px;
  font-size: 15px;
  font-weight: 600;
}

/* ─── Form ───────────────────────────────────────────────────────── */
input[type="email"],
input[type="password"],
input[type="text"] {
  width: 100%;
  padding: 8px 10px;
  border: 1px solid var(--border2);
  border-radius: 6px;
  font-size: 15px;
  font-family: var(--sans);
  background: var(--bg);
  color: var(--text);
  transition: border-color 0.12s;
  outline: none;
}

input:focus {
  border-color: var(--accent);
}

.field-label {
  font-size: 12px;
  color: var(--label);
  margin-bottom: 4px;
  display: block;
}

/* ─── Status / alerts ────────────────────────────────────────────── */
.status {
  font-size: 12px;
  color: var(--text-dim);
  min-height: 18px;
  white-space: pre-wrap;
}

.status.error { color: var(--red); }
.status.success { color: var(--green); }

/* ─── Divider ────────────────────────────────────────────────────── */
hr {
  border: 0;
  border-top: 1px solid var(--border);
  margin: 20px 0;
}

.or-divider {
  display: flex;
  align-items: center;
  gap: 10px;
  color: var(--label);
  font-size: 11px;
}

.or-divider::before,
.or-divider::after {
  content: "";
  flex: 1;
  height: 1px;
  background: var(--border);
}

/* ─── Pricing grid ───────────────────────────────────────────────── */
.pricing-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  gap: 16px;
  margin-top: 32px;
}

.plan-card {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: 10px;
  padding: 24px;
}

.plan-card.featured {
  border-color: var(--accent-border);
  background: var(--accent-soft);
}

.plan-name {
  font-weight: 700;
  font-size: 15px;
  margin-bottom: 6px;
}

.plan-price {
  font-size: 28px;
  font-weight: 700;
  margin-bottom: 4px;
}

.plan-price span {
  font-size: 15px;
  font-weight: 400;
  color: var(--text-dim);
}

.plan-desc {
  font-size: 12px;
  color: var(--text-dim);
  margin-bottom: 20px;
}

/* ─── Dashboard table ────────────────────────────────────────────── */
.data-row {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 8px 0;
  border-bottom: 1px solid var(--border);
  font-size: 15px;
}

.data-row:last-child { border-bottom: 0; }

.data-key {
  color: var(--label);
  font-size: 11px;
  text-transform: uppercase;
  letter-spacing: 0.4px;
}

.data-val {
  font-family: var(--mono);
  font-size: 12px;
  color: var(--text);
  word-break: break-all;
}

/* ─── Muted text ─────────────────────────────────────────────────── */
.muted {
  color: var(--text-dim);
  font-size: 15px;
}

/* ─── Scrollbar ──────────────────────────────────────────────────── */
::-webkit-scrollbar { width: 8px; height: 8px; }
::-webkit-scrollbar-thumb {
  background: var(--scrollbar-thumb);
  border-radius: 4px;
}
::-webkit-scrollbar-thumb:hover {
  background: var(--scrollbar-thumb-hover);
}

.dd-item {
  display: flex; align-items: center; gap: 9px;
  width: 100%; padding: 7px 10px; border-radius: 7px;
  border: none; background: none; cursor: pointer;
  font-size: 13px; color: var(--text); font-family: var(--sans);
  transition: background 0.1s;
}
.dd-item:hover { background: var(--surface2); }
.dd-danger { color: var(--red); }
.dd-danger:hover { background: var(--red-soft); }


 /* ── Footer ── */
    .lp-footer {
      border-top: 1px solid var(--border);
      padding: 24px 40px;
      display: flex;
      align-items: center;
      justify-content: space-between;
      flex-wrap: wrap;
      gap: 12px;
    }

    .lp-footer-logo {
      font-family: 'IBM Plex Mono', var(--mono);
      font-size: 12.5px;
      color: var(--label);
    }

    .lp-footer-links {
      display: flex;
      gap: 24px;
    }

    .lp-footer-link {
      font-size: 13px;
      color: var(--label);
      text-decoration: none;
      transition: color 0.12s;
    }

    .lp-footer-link:hover {
      color: var(--text);
    }

    .lp-footer-copy {
      font-family: 'IBM Plex Mono', var(--mono);
      font-size: 11.5px;
      color: var(--label);
    }