/* ============================================================================
   EMBER — premium design system
   Dark luxe aesthetic · champagne-gold accents · Apple-grade spacing & type
   ============================================================================ */

:root {
  /* Surfaces */
  --bg: #08080a;
  --bg-2: #0c0c10;
  --surface: rgba(255, 255, 255, 0.035);
  --surface-2: rgba(255, 255, 255, 0.06);
  --surface-3: rgba(255, 255, 255, 0.09);
  --border: rgba(255, 255, 255, 0.09);
  --border-strong: rgba(255, 255, 255, 0.16);

  /* Text */
  --text: #f4f4f6;
  --text-2: #a0a0aa;
  --text-3: #6c6c76;

  /* Gold */
  --gold-1: #f7e7b4;
  --gold-2: #e1bd72;
  --gold-3: #c69a45;
  --gold-deep: #a87b2c;
  --gold-grad: linear-gradient(135deg, #f9ecc4 0%, #e1bd72 45%, #c69a45 100%);
  --gold-soft: rgba(225, 189, 114, 0.12);
  --gold-line: rgba(225, 189, 114, 0.32);

  /* Semantic */
  --green: #4ade80;
  --green-soft: rgba(74, 222, 128, 0.14);
  --red: #f87171;
  --red-soft: rgba(248, 113, 113, 0.13);
  --blue: #7dd3fc;
  --blue-soft: rgba(125, 211, 252, 0.14);

  /* Geometry */
  --radius: 18px;
  --radius-sm: 12px;
  --radius-xs: 9px;
  --maxw: 1140px;
  --nav-h: 64px;

  /* Shadows */
  --shadow-sm: 0 1px 2px rgba(0, 0, 0, 0.4);
  --shadow: 0 18px 50px -16px rgba(0, 0, 0, 0.7);
  --shadow-gold: 0 18px 60px -18px rgba(198, 154, 69, 0.45);

  --font: "SF Pro Display", -apple-system, BlinkMacSystemFont, "Inter",
    "Segoe UI", system-ui, "Helvetica Neue", Arial, sans-serif;
  --mono: "SF Mono", ui-monospace, "JetBrains Mono", "Menlo", "Consolas", monospace;
}

* { box-sizing: border-box; }

html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }

body {
  margin: 0;
  background: var(--bg);
  color: var(--text);
  font-family: var(--font);
  font-size: 17px;
  line-height: 1.55;
  letter-spacing: -0.01em;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  text-rendering: optimizeLegibility;
  overflow-x: hidden;
}

/* Ambient background glow — warm, subtle, fixed */
body::before {
  content: "";
  position: fixed;
  inset: 0;
  z-index: -1;
  background:
    radial-gradient(900px 520px at 50% -8%, rgba(198, 154, 69, 0.14), transparent 70%),
    radial-gradient(700px 500px at 90% 8%, rgba(120, 90, 200, 0.06), transparent 72%),
    linear-gradient(180deg, var(--bg) 0%, var(--bg-2) 100%);
  pointer-events: none;
}

a { color: var(--gold-2); text-decoration: none; transition: color .18s ease; }
a:hover { color: var(--gold-1); }

img { max-width: 100%; display: block; }

::selection { background: rgba(225, 189, 114, 0.28); color: #fff; }

/* ── Layout ──────────────────────────────────────────────────────────────── */

.container { width: 100%; max-width: var(--maxw); margin: 0 auto; padding: 0 24px; }
.container-narrow { max-width: 720px; }

.section { padding: clamp(64px, 11vw, 132px) 0; }
.section-tight { padding: clamp(48px, 7vw, 88px) 0; }

main { min-height: 60vh; }

/* ── Typography ──────────────────────────────────────────────────────────── */

h1, h2, h3, h4 { margin: 0; font-weight: 600; letter-spacing: -0.03em; line-height: 1.08; }

.display {
  font-size: clamp(2.7rem, 1.4rem + 5.4vw, 5.1rem);
  font-weight: 600;
  letter-spacing: -0.04em;
  line-height: 1.02;
}
.h-section { font-size: clamp(2rem, 1.3rem + 2.7vw, 3.2rem); letter-spacing: -0.035em; }
.h-card { font-size: 1.35rem; letter-spacing: -0.025em; }

.lead {
  font-size: clamp(1.1rem, 1rem + 0.7vw, 1.42rem);
  color: var(--text-2);
  line-height: 1.5;
  letter-spacing: -0.015em;
  font-weight: 400;
}

.eyebrow {
  display: inline-block;
  font-size: 0.78rem;
  font-weight: 600;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--gold-2);
  margin-bottom: 18px;
}

.muted { color: var(--text-2); }
.dim { color: var(--text-3); }
.gold-text {
  background: var(--gold-grad);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}
.center { text-align: center; }
.balance { text-wrap: balance; }

/* ── Navigation ──────────────────────────────────────────────────────────── */

.nav {
  position: sticky;
  top: 0;
  z-index: 100;
  height: var(--nav-h);
  display: flex;
  align-items: center;
  background: rgba(10, 10, 13, 0.55);
  -webkit-backdrop-filter: saturate(180%) blur(20px);
  backdrop-filter: saturate(180%) blur(20px);
  border-bottom: 1px solid transparent;
  transition: border-color .3s ease, background .3s ease;
}
.nav.scrolled {
  background: rgba(9, 9, 12, 0.8);
  border-bottom-color: var(--border);
}
.nav .container { display: flex; align-items: center; justify-content: space-between; gap: 20px; }

.brand {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-size: 1.12rem;
  font-weight: 600;
  letter-spacing: 0.02em;
  color: var(--text);
}
.brand:hover { color: var(--text); }
.brand .dot {
  width: 9px; height: 9px; border-radius: 50%;
  background: var(--gold-grad);
  box-shadow: 0 0 12px 1px rgba(225, 189, 114, 0.6);
}
.brand b { font-weight: 600; letter-spacing: 0.14em; }

.nav-links { display: flex; align-items: center; gap: 26px; }
.nav-links a:not(.btn) {
  color: var(--text-2);
  font-size: 0.95rem;
  font-weight: 450;
  letter-spacing: -0.01em;
}
.nav-links a:not(.btn):hover { color: var(--text); }
.nav-email { color: var(--text-3); font-size: 0.9rem; }

.nav-toggle {
  display: none;
  background: none; border: none; cursor: pointer;
  width: 40px; height: 40px; padding: 8px;
  color: var(--text);
}
.nav-toggle svg { width: 24px; height: 24px; }

/* ── Buttons ─────────────────────────────────────────────────────────────── */

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 11px 22px;
  border-radius: 999px;
  border: 1px solid transparent;
  font-family: inherit;
  font-size: 0.96rem;
  font-weight: 550;
  letter-spacing: -0.01em;
  line-height: 1;
  cursor: pointer;
  text-decoration: none;
  white-space: nowrap;
  transition: transform .18s ease, box-shadow .22s ease, background .2s ease,
    border-color .2s ease, color .2s ease, opacity .2s ease;
}
.btn:hover { text-decoration: none; }
.btn:active { transform: translateY(0) scale(0.985); }

.btn-primary {
  background: var(--gold-grad);
  color: #1a1407;
  font-weight: 600;
  box-shadow: 0 8px 24px -8px rgba(198, 154, 69, 0.55);
}
.btn-primary:hover {
  color: #1a1407;
  transform: translateY(-1.5px);
  box-shadow: 0 14px 34px -8px rgba(198, 154, 69, 0.7);
}

.btn-ghost {
  background: var(--surface-2);
  border-color: var(--border-strong);
  color: var(--text);
}
.btn-ghost:hover { background: var(--surface-3); border-color: var(--gold-line); color: var(--text); }

.btn-outline { background: transparent; border-color: var(--border-strong); color: var(--text); }
.btn-outline:hover { border-color: var(--gold-line); color: var(--text); background: var(--gold-soft); }

.btn-success { background: var(--green); color: #06210f; font-weight: 600; }
.btn-success:hover { color: #06210f; transform: translateY(-1.5px); box-shadow: 0 12px 28px -10px rgba(74,222,128,.5); }
.btn-danger { background: transparent; border-color: rgba(248,113,113,.4); color: #fca5a5; }
.btn-danger:hover { background: var(--red-soft); border-color: var(--red); color: #fecaca; }

.btn-lg { padding: 15px 30px; font-size: 1.05rem; }
.btn-sm { padding: 8px 15px; font-size: 0.86rem; }
.btn-block { width: 100%; }

.btn svg { width: 18px; height: 18px; }

/* ── Cards & surfaces ────────────────────────────────────────────────────── */

.card {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 26px;
}
.card-pad-lg { padding: 34px; }

.surface-link { transition: border-color .2s ease, transform .2s ease, background .2s ease; }
.surface-link:hover {
  border-color: var(--gold-line);
  background: var(--surface-2);
  transform: translateY(-2px);
}

.divider { height: 1px; background: var(--border); border: 0; margin: 0; }

/* ── Hero ────────────────────────────────────────────────────────────────── */

.hero { position: relative; padding: clamp(72px, 12vw, 150px) 0 clamp(56px, 9vw, 110px); text-align: center; }
.hero .container { position: relative; z-index: 1; }
.hero .lead { max-width: 620px; margin: 24px auto 0; }
.hero-cta { display: flex; gap: 14px; justify-content: center; flex-wrap: wrap; margin-top: 38px; }
.hero-note { margin-top: 18px; font-size: 0.9rem; color: var(--text-3); }

.hero-visual {
  margin: clamp(48px, 7vw, 84px) auto 0;
  max-width: 920px;
  border-radius: 22px;
  border: 1px solid var(--border);
  background: linear-gradient(180deg, var(--surface-2), var(--surface));
  box-shadow: var(--shadow);
  overflow: hidden;
}

/* device mockup of staff dashboard */
.mock {
  padding: 18px;
  display: grid;
  grid-template-columns: 1.1fr 1fr 1fr;
  gap: 14px;
  text-align: left;
}
.mock-col-head { font-size: .72rem; text-transform: uppercase; letter-spacing: .14em; color: var(--text-3); margin-bottom: 10px; }
.mock-card { background: var(--bg-2); border: 1px solid var(--border); border-radius: var(--radius-sm); padding: 13px 15px; margin-bottom: 10px; }
.mock-card .t { font-weight: 600; font-size: .95rem; }
.mock-card .s { font-size: .82rem; color: var(--text-2); margin-top: 3px; }
.mock-card.hot { border-color: var(--gold-line); box-shadow: 0 0 0 1px var(--gold-soft) inset; }

/* ── Section header ──────────────────────────────────────────────────────── */

.sec-head { max-width: 680px; margin: 0 auto clamp(40px, 5vw, 64px); text-align: center; }
.sec-head .lead { margin-top: 16px; }

/* ── Feature grid ────────────────────────────────────────────────────────── */

.feature-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 18px;
}
.feature {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 28px;
  transition: border-color .25s ease, transform .25s ease, background .25s ease;
}
.feature:hover { border-color: var(--gold-line); transform: translateY(-3px); background: var(--surface-2); }
.icon-chip {
  width: 46px; height: 46px;
  display: grid; place-items: center;
  border-radius: 12px;
  background: var(--gold-soft);
  border: 1px solid var(--gold-line);
  margin-bottom: 18px;
}
.icon-chip svg { width: 23px; height: 23px; stroke: var(--gold-1); }
.feature h3 { font-size: 1.14rem; margin-bottom: 8px; letter-spacing: -0.02em; }
.feature p { margin: 0; color: var(--text-2); font-size: 0.96rem; line-height: 1.5; }

/* ── Steps ───────────────────────────────────────────────────────────────── */

.steps { display: grid; grid-template-columns: repeat(4, 1fr); gap: 22px; counter-reset: step; }
.step { position: relative; padding-top: 18px; border-top: 1px solid var(--border); }
.step::before {
  counter-increment: step;
  content: "0" counter(step);
  font-size: 0.85rem; font-weight: 600; letter-spacing: 0.05em;
  color: var(--gold-2);
  display: block; margin-bottom: 12px;
}
.step h3 { font-size: 1.08rem; margin-bottom: 7px; }
.step p { margin: 0; color: var(--text-2); font-size: 0.93rem; }

/* ── Pricing ─────────────────────────────────────────────────────────────── */

.pricing-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; align-items: start; }
.price {
  position: relative;
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 30px 28px;
}
.price.featured {
  border-color: var(--gold-line);
  background: linear-gradient(180deg, rgba(225,189,114,0.07), var(--surface));
  box-shadow: var(--shadow-gold);
}
.price-badge {
  position: absolute; top: 18px; right: 18px;
  font-size: 0.7rem; font-weight: 600; letter-spacing: 0.1em; text-transform: uppercase;
  color: #1a1407; background: var(--gold-grad);
  padding: 4px 11px; border-radius: 999px;
}
.price h3 { font-size: 1.15rem; margin-bottom: 6px; }
.price .tier-sub { color: var(--text-2); font-size: 0.9rem; min-height: 40px; }
.price .amount { display: flex; align-items: baseline; gap: 4px; margin: 14px 0 20px; }
.price .amount .num { font-size: 2.7rem; font-weight: 600; letter-spacing: -0.04em; }
.price .amount .per { color: var(--text-3); font-size: 0.95rem; }
.price ul { list-style: none; padding: 0; margin: 0 0 24px; }
.price ul li { display: flex; gap: 10px; align-items: flex-start; padding: 7px 0; font-size: 0.94rem; color: var(--text-2); }
.price ul li svg { width: 17px; height: 17px; stroke: var(--gold-2); flex: none; margin-top: 3px; }

/* ── FAQ ─────────────────────────────────────────────────────────────────── */

.faq { max-width: 760px; margin: 0 auto; }
.faq details {
  border-bottom: 1px solid var(--border);
  padding: 22px 4px;
}
.faq summary {
  list-style: none; cursor: pointer;
  font-size: 1.08rem; font-weight: 550; letter-spacing: -0.02em;
  display: flex; justify-content: space-between; align-items: center; gap: 16px;
}
.faq summary::-webkit-details-marker { display: none; }
.faq summary .chev { transition: transform .25s ease; color: var(--gold-2); flex: none; }
.faq details[open] summary .chev { transform: rotate(45deg); }
.faq p { color: var(--text-2); margin: 14px 0 0; font-size: 0.98rem; line-height: 1.6; }

/* ── CTA band ────────────────────────────────────────────────────────────── */

.cta-band {
  text-align: center;
  background: linear-gradient(180deg, rgba(225,189,114,0.08), var(--surface));
  border: 1px solid var(--gold-line);
  border-radius: 28px;
  padding: clamp(48px, 7vw, 80px) 28px;
}

/* ── Forms ───────────────────────────────────────────────────────────────── */

.field { margin-bottom: 18px; }
.field label { display: block; font-size: 0.88rem; font-weight: 500; color: var(--text-2); margin-bottom: 8px; }
.input, input[type=text], input[type=email], input[type=password], textarea {
  width: 100%;
  background: var(--bg-2);
  border: 1px solid var(--border-strong);
  color: var(--text);
  padding: 13px 15px;
  border-radius: var(--radius-xs);
  font-family: inherit;
  font-size: 1rem;
  letter-spacing: -0.01em;
  transition: border-color .18s ease, box-shadow .18s ease, background .18s ease;
}
.input::placeholder, input::placeholder { color: var(--text-3); }
.input:focus, input:focus, textarea:focus {
  outline: none;
  border-color: var(--gold-line);
  box-shadow: 0 0 0 4px var(--gold-soft);
  background: #0a0a0d;
}
.input-mono { font-family: var(--mono); font-size: 0.86rem; letter-spacing: 0; }
.field small { display: block; margin-top: 8px; font-size: 0.83rem; color: var(--text-3); line-height: 1.5; }

/* ── Auth ────────────────────────────────────────────────────────────────── */

.auth-wrap { display: flex; align-items: center; justify-content: center; padding: clamp(40px, 9vw, 96px) 0; }
.auth-card {
  width: 100%; max-width: 430px;
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: 22px;
  padding: 38px 34px;
  box-shadow: var(--shadow);
}
.auth-card h1 { font-size: 1.7rem; letter-spacing: -0.03em; }
.auth-card .sub { color: var(--text-2); margin: 8px 0 26px; font-size: 0.98rem; }
.auth-foot { text-align: center; margin-top: 22px; font-size: 0.92rem; color: var(--text-3); }

/* ── Alerts ──────────────────────────────────────────────────────────────── */

.alert { padding: 13px 16px; border-radius: var(--radius-xs); margin-bottom: 18px; font-size: 0.92rem; line-height: 1.5; }
.alert-error { color: #fecaca; background: var(--red-soft); border: 1px solid rgba(248,113,113,.3); }
.alert-ok { color: #bbf7d0; background: var(--green-soft); border: 1px solid rgba(74,222,128,.3); }
.alert-info { color: #bae6fd; background: var(--blue-soft); border: 1px solid rgba(125,211,252,.28); }

/* ── Status pill ─────────────────────────────────────────────────────────── */

.pill {
  display: inline-flex; align-items: center; gap: 7px;
  padding: 5px 13px; border-radius: 999px;
  font-size: 0.8rem; font-weight: 550; letter-spacing: -0.005em;
}
.pill .led { width: 7px; height: 7px; border-radius: 50%; flex: none; }
.pill.running { background: var(--green-soft); color: #86efac; }
.pill.running .led { background: #4ade80; box-shadow: 0 0 8px 1px rgba(74,222,128,.8); }
.pill.stopped { background: var(--surface-3); color: var(--text-2); }
.pill.stopped .led { background: var(--text-3); }
.pill.error { background: var(--red-soft); color: #fca5a5; }
.pill.error .led { background: var(--red); }
.pill.created { background: var(--blue-soft); color: #bae6fd; }
.pill.created .led { background: var(--blue); }

/* ── Page header (app) ───────────────────────────────────────────────────── */

.page-head { display: flex; align-items: flex-end; justify-content: space-between; gap: 20px; flex-wrap: wrap; margin-bottom: 30px; }
.page-head h1 { font-size: clamp(1.7rem, 1.3rem + 1.6vw, 2.4rem); letter-spacing: -0.035em; }
.page-head .sub { color: var(--text-2); margin-top: 6px; }
.back-link { display: inline-flex; align-items: center; gap: 6px; color: var(--text-3); font-size: 0.9rem; margin-bottom: 20px; }
.back-link:hover { color: var(--text); }
.back-link svg { width: 16px; height: 16px; }

/* ── Venue grid (dashboard) ──────────────────────────────────────────────── */

.venue-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(300px, 1fr)); gap: 18px; }
.venue {
  display: block;
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 24px;
  color: var(--text);
}
.venue:hover { color: var(--text); }
.venue .venue-top { display: flex; justify-content: space-between; align-items: flex-start; gap: 12px; }
.venue h3 { font-size: 1.22rem; letter-spacing: -0.025em; }
.venue .meta { color: var(--text-3); font-size: 0.86rem; margin-top: 8px; display: flex; gap: 7px; flex-wrap: wrap; align-items: center; }
.venue .meta .sep { opacity: .5; }
.venue-add {
  display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 12px;
  text-align: center; min-height: 160px;
  border: 1px dashed var(--border-strong); border-radius: var(--radius);
  color: var(--text-2);
  transition: border-color .2s ease, color .2s ease, background .2s ease;
}
.venue-add:hover { border-color: var(--gold-line); color: var(--text); background: var(--gold-soft); }
.venue-add .plus { width: 44px; height: 44px; border-radius: 50%; display: grid; place-items: center; background: var(--surface-2); border: 1px solid var(--border-strong); }
.venue-add .plus svg { width: 22px; height: 22px; }

/* empty state */
.empty {
  text-align: center; padding: clamp(48px, 8vw, 88px) 24px;
  border: 1px solid var(--border); border-radius: var(--radius); background: var(--surface);
}
.empty .empty-icon { width: 64px; height: 64px; margin: 0 auto 22px; border-radius: 50%; display: grid; place-items: center; background: var(--gold-soft); border: 1px solid var(--gold-line); }
.empty .empty-icon svg { width: 30px; height: 30px; stroke: var(--gold-1); }
.empty h2 { font-size: 1.5rem; margin-bottom: 10px; }
.empty p { color: var(--text-2); max-width: 420px; margin: 0 auto 26px; }

/* ── Code / token boxes ──────────────────────────────────────────────────── */

.codebox {
  display: flex; align-items: center; gap: 12px;
  background: var(--bg-2); border: 1px solid var(--border-strong);
  border-radius: var(--radius-xs); padding: 12px 14px;
  font-family: var(--mono); font-size: 0.86rem; color: var(--gold-1);
  word-break: break-all;
}
.codebox code { flex: 1; min-width: 0; background: none; padding: 0; color: inherit; }
.copy-btn {
  flex: none; background: var(--surface-2); border: 1px solid var(--border-strong);
  color: var(--text-2); border-radius: 7px; padding: 6px 10px; cursor: pointer;
  font-family: var(--font); font-size: 0.78rem; transition: all .18s ease;
}
.copy-btn:hover { color: var(--text); border-color: var(--gold-line); }
.copy-btn.copied { color: var(--green); border-color: rgba(74,222,128,.4); }

code {
  font-family: var(--mono); font-size: 0.86em;
  background: var(--surface-2); color: var(--gold-1);
  padding: 2px 6px; border-radius: 5px;
}

/* terminal log */
.terminal {
  background: #060608; border: 1px solid var(--border);
  border-radius: var(--radius-sm); overflow: hidden;
}
.terminal-bar { display: flex; align-items: center; gap: 7px; padding: 11px 15px; border-bottom: 1px solid var(--border); }
.terminal-bar .tdot { width: 11px; height: 11px; border-radius: 50%; background: var(--surface-3); }
.terminal-bar .tlabel { margin-left: 8px; font-size: 0.8rem; color: var(--text-3); font-family: var(--mono); }
.terminal pre {
  margin: 0; padding: 16px; max-height: 320px; overflow: auto;
  font-family: var(--mono); font-size: 0.78rem; line-height: 1.6; color: var(--text-2);
  white-space: pre-wrap; word-break: break-word;
}

/* ── Tabs (tenant sections IA) ───────────────────────────────────────────── */

.tabs { display: flex; gap: 6px; border-bottom: 1px solid var(--border); margin-bottom: 28px; flex-wrap: wrap; }
.tab {
  padding: 11px 16px; border-radius: 10px 10px 0 0; font-size: 0.94rem; font-weight: 500;
  color: var(--text-2); border-bottom: 2px solid transparent; margin-bottom: -1px;
  display: inline-flex; align-items: center; gap: 8px;
}
.tab.active { color: var(--text); border-bottom-color: var(--gold-2); }
.tab.soon { color: var(--text-3); cursor: default; }
.tab .soon-tag { font-size: 0.62rem; letter-spacing: .08em; text-transform: uppercase; color: var(--gold-3); border: 1px solid var(--gold-line); border-radius: 999px; padding: 1px 7px; }

/* info rows */
.info-grid { display: grid; gap: 18px; }
@media (min-width: 760px) { .info-grid.cols-2 { grid-template-columns: 1fr 1fr; } }

.stack-sm > * + * { margin-top: 12px; }
.stack > * + * { margin-top: 20px; }

/* ── Staff list (Кальянщики) ─────────────────────────────────────────────── */
.s-list > * + * { margin-top: 10px; }
.s-row {
  display: flex; align-items: center; gap: 14px; flex-wrap: wrap;
  padding: 14px 16px; border: 1px solid var(--border);
  border-radius: 12px; background: var(--surface);
}
.s-num {
  width: 36px; height: 36px; flex: none; display: grid; place-items: center;
  border-radius: 9px; background: var(--surface-2); border: 1px solid var(--border-strong);
  font-weight: 600; font-size: 0.92rem; color: var(--gold-1);
}
.s-num.admin { color: var(--text-3); }
.s-info { flex: 1; min-width: 150px; }
.s-info .nm { font-weight: 550; }
.s-info .meta { color: var(--text-3); font-size: 0.83rem; margin-top: 3px; display: flex; gap: 10px; flex-wrap: wrap; }
.s-actions { display: flex; gap: 8px; flex: none; flex-wrap: wrap; align-items: center; }
.tag { display: inline-flex; align-items: center; gap: 5px; font-size: 0.72rem; font-weight: 550; padding: 4px 10px; border-radius: 999px; }
.tag.admin { background: var(--gold-soft); color: var(--gold-1); border: 1px solid var(--gold-line); }
.tag.kal { background: var(--surface-3); color: var(--text-2); }
.tag.active { background: var(--green-soft); color: #86efac; }
.code-flash { border-color: var(--gold-line); background: linear-gradient(180deg, rgba(225,189,114,0.08), var(--surface)); }

/* ── Footer ──────────────────────────────────────────────────────────────── */

.footer { border-top: 1px solid var(--border); padding: 48px 0 40px; margin-top: 40px; }
.footer .container { display: flex; justify-content: space-between; align-items: center; gap: 20px; flex-wrap: wrap; }
.footer .brand { font-size: 1rem; }
.footer .foot-links { display: flex; gap: 22px; flex-wrap: wrap; }
.footer .foot-links a { color: var(--text-3); font-size: 0.9rem; }
.footer .foot-links a:hover { color: var(--text); }
.footer .copy { color: var(--text-3); font-size: 0.85rem; width: 100%; margin-top: 12px; }

/* ── Reveal animation ────────────────────────────────────────────────────── */

[data-reveal] { opacity: 0; transform: translateY(18px); transition: opacity .7s cubic-bezier(.2,.7,.2,1), transform .7s cubic-bezier(.2,.7,.2,1); }
[data-reveal].in { opacity: 1; transform: none; }

@media (prefers-reduced-motion: reduce) {
  * { animation: none !important; transition: none !important; scroll-behavior: auto !important; }
  [data-reveal] { opacity: 1; transform: none; }
}

/* ── Responsive ──────────────────────────────────────────────────────────── */

@media (max-width: 880px) {
  .feature-grid { grid-template-columns: repeat(2, 1fr); }
  .steps { grid-template-columns: repeat(2, 1fr); }
  .pricing-grid { grid-template-columns: 1fr; max-width: 460px; margin: 0 auto; }
  .mock { grid-template-columns: 1fr; }
  .mock-col:nth-child(n+2) { display: none; }
}

@media (max-width: 640px) {
  body { font-size: 16px; }
  .nav-links {
    position: fixed; inset: var(--nav-h) 0 auto 0;
    flex-direction: column; align-items: stretch; gap: 4px;
    background: rgba(9,9,12,0.96);
    -webkit-backdrop-filter: blur(20px); backdrop-filter: blur(20px);
    border-bottom: 1px solid var(--border);
    padding: 16px 24px 22px;
    transform: translateY(-130%);
    transition: transform .32s cubic-bezier(.3,.8,.3,1);
  }
  .nav-links.open { transform: translateY(0); }
  .nav-links a:not(.btn) { padding: 10px 0; font-size: 1.02rem; }
  .nav-links .btn { width: 100%; margin-top: 6px; }
  .nav-email { display: none; }
  .nav-toggle { display: inline-flex; }
  .feature-grid { grid-template-columns: 1fr; }
  .steps { grid-template-columns: 1fr; }
  .hero-cta .btn { width: 100%; }
  .page-head { align-items: flex-start; }
}
