/* Rocketor — design system v2
   Neutral dark SaaS surfaces, one accent, fluid spacing, mobile-first.
   No frameworks, no webfonts, no external requests. */

:root {
  --ink: #060708;
  --bg: #0a0b0c;
  --surface: #101214;
  --surface-2: #16181b;
  --surface-3: #1c1f23;
  --line: rgba(255, 255, 255, 0.07);
  --line-2: rgba(255, 255, 255, 0.13);
  --text: #f3f6f4;
  --muted: #a9b4af;
  --faint: #8b968f;
  --accent: #c8f14f;
  --accent-ink: #0b1206;
  --accent-soft: rgba(200, 241, 79, 0.1);
  --accent-line: rgba(200, 241, 79, 0.34);
  --cyan: #6ee7c8;
  --amber: #ffc76b;
  --danger: #ff8f8f;

  --r-xs: 8px;
  --r-sm: 10px;
  --r-md: 14px;
  --r-lg: 18px;
  --r-xl: 24px;

  --shadow-sm: 0 1px 2px rgba(0, 0, 0, 0.4);
  --shadow-md: 0 18px 40px -24px rgba(0, 0, 0, 0.85);
  --shadow-lg: 0 40px 80px -40px rgba(0, 0, 0, 0.9);

  --max: 1160px;
  --pad: clamp(18px, 5vw, 26px);
  --sec: clamp(52px, 8vw, 92px);

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

* { box-sizing: border-box; }

html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } }

body {
  margin: 0;
  background: var(--bg);
  color: var(--text);
  font-family: var(--font);
  font-size: 16px;
  line-height: 1.62;
  letter-spacing: -0.005em;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
  overflow-x: hidden;
}

body::before {
  content: "";
  position: fixed;
  inset: 0;
  background:
    radial-gradient(760px 420px at 8% -6%, rgba(200, 241, 79, 0.07), transparent 60%),
    radial-gradient(680px 400px at 96% 0%, rgba(110, 231, 200, 0.05), transparent 62%);
  pointer-events: none;
  z-index: 0;
}

/* ---------- type ---------- */
h1, h2, h3, h4 { margin: 0 0 0.5em; line-height: 1.14; letter-spacing: -0.025em; font-weight: 640; }
h1 { font-size: clamp(1.9rem, 6.4vw, 3.35rem); }
h2 { font-size: clamp(1.42rem, 4vw, 2.15rem); }
h3 { font-size: clamp(1.02rem, 2.4vw, 1.14rem); letter-spacing: -0.015em; }
h4 { font-size: 0.94rem; }
p { margin: 0 0 0.95rem; color: var(--muted); }
p:last-child { margin-bottom: 0; }
strong, b { color: var(--text); font-weight: 600; }
small { font-size: 0.82rem; }
a { color: var(--text); text-decoration: none; transition: color 0.14s ease, border-color 0.14s ease; }
a:hover { color: var(--accent); }
img, svg { max-width: 100%; }
code, kbd { font-family: var(--mono); font-size: 0.88em; }
hr { border: 0; border-top: 1px solid var(--line); margin: var(--sec) 0; }

:focus-visible { outline: 2px solid var(--accent); outline-offset: 2px; border-radius: 4px; }

/* ---------- layout ---------- */
.wrap { width: 100%; max-width: var(--max); margin: 0 auto; padding: 0 var(--pad); position: relative; z-index: 1; }
.narrow { max-width: 760px; }
.center { text-align: center; }
.stack > * + * { margin-top: 1rem; }
.row { display: flex; gap: 12px; flex-wrap: wrap; align-items: center; }
.row.between { justify-content: space-between; }
.grow { flex: 1 1 240px; min-width: 0; }
.hide { display: none !important; }
.muted { color: var(--muted); }
.faint { color: var(--faint); font-size: 0.895rem; }
.mono { font-family: var(--mono); font-size: 0.85rem; letter-spacing: -0.01em; }
.divider { height: 1px; background: var(--line); margin: var(--sec) 0; }

.grid { display: grid; gap: clamp(12px, 2.2vw, 18px); min-width: 0; }
.grid > * { min-width: 0; }
.grid.two, .grid.three, .grid.four, .admin-grid, .plan-grid, .footer-grid, .split { grid-template-columns: minmax(0, 1fr); }
.split { display: grid; gap: clamp(18px, 3vw, 30px); align-items: start; }
.split > * { min-width: 0; }

@media (min-width: 620px) {
  .grid.two { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .grid.three, .grid.four { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .admin-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .footer-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
@media (min-width: 960px) {
  .grid.three { grid-template-columns: repeat(3, minmax(0, 1fr)); }
  .grid.four { grid-template-columns: repeat(4, minmax(0, 1fr)); }
  .admin-grid { grid-template-columns: repeat(4, minmax(0, 1fr)); }
  .split { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .split.wide-left { grid-template-columns: 1.1fr 0.9fr; }
}

/* ---------- sections ---------- */
section { padding: var(--sec) 0; position: relative; }
section.tight { padding: calc(var(--sec) * 0.6) 0; }
section.flush { padding-top: 0; }
section.alt {
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.016), rgba(255, 255, 255, 0));
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
}
.section-head { max-width: 700px; margin-bottom: clamp(22px, 3.4vw, 40px); }
.section-head h2 { margin-bottom: 10px; }
.lede { font-size: clamp(1rem, 1.6vw, 1.08rem); color: var(--muted); max-width: 62ch; }

.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 0.73rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--accent);
  background: var(--accent-soft);
  border: 1px solid rgba(200, 241, 79, 0.18);
  padding: 5px 11px;
  border-radius: 999px;
  margin-bottom: 16px;
  font-weight: 600;
}

/* ---------- header ---------- */
.site-header {
  position: sticky;
  top: 0;
  z-index: 60;
  background: rgba(10, 11, 12, 0.94);
  backdrop-filter: blur(16px) saturate(140%);
  border-bottom: 1px solid var(--line);
}
.site-header .inner { display: flex; align-items: center; gap: 16px; height: 60px; }
.brand { display: inline-flex; align-items: center; gap: 9px; font-weight: 660; letter-spacing: -0.03em; font-size: 1.02rem; min-width: 0; }
.brand .mark { width: 28px; height: 28px; border-radius: 8px; background: var(--accent); display: grid; place-items: center; flex: 0 0 28px; }
.brand .mark svg { width: 17px; height: 17px; }
.brand small { display: block; font-size: 0.63rem; letter-spacing: 0.15em; text-transform: uppercase; color: var(--faint); font-weight: 600; }
.brand-text { display: none; }
@media (min-width: 420px) { .brand-text { display: block; } }

.site-nav { display: none; }
.header-cta { display: none; }
.nav-toggle {
  margin-left: auto;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 42px;
  height: 42px;
  background: var(--surface);
  border: 1px solid var(--line-2);
  color: var(--text);
  border-radius: var(--r-sm);
  cursor: pointer;
  font-size: 1rem;
}
.nav-toggle[aria-expanded="true"] { border-color: var(--accent); color: var(--accent); }

.nav-sheet {
  display: none;
  position: fixed;
  inset: 60px 0 auto 0;
  z-index: 55;
  background: var(--bg);
  border-bottom: 1px solid var(--line-2);
  padding: 14px var(--pad) 22px;
  box-shadow: var(--shadow-lg);
  max-height: calc(100vh - 60px);
  overflow-y: auto;
}
.nav-sheet.open { display: block; }
.nav-sheet a.nav-link {
  display: flex;
  align-items: center;
  justify-content: space-between;
  min-height: 48px;
  padding: 0 2px;
  font-size: 1rem;
  color: var(--text);
  border-bottom: 1px solid var(--line);
}
.nav-sheet a.nav-link[aria-current="page"] { color: var(--accent); }
.nav-sheet a.nav-link::after { content: "→"; color: var(--faint); font-size: 0.9rem; }
.nav-sheet .sheet-cta { display: grid; gap: 10px; margin-top: 18px; }

@media (min-width: 900px) {
  .site-header .inner { height: 68px; gap: 26px; }
  .nav-toggle { display: none; }
  .site-nav { display: flex; gap: 24px; margin-left: auto; align-items: center; }
  .site-nav a { font-size: 0.91rem; color: var(--muted); font-weight: 500; padding: 6px 0; }
  .site-nav a:hover, .site-nav a[aria-current="page"] { color: var(--text); }
  .header-cta { display: flex; gap: 10px; align-items: center; }
  .nav-sheet { display: none !important; }
}

/* ---------- buttons ---------- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  min-height: 46px;
  border-radius: 999px;
  padding: 12px 22px;
  font-size: 0.94rem;
  font-weight: 600;
  font-family: inherit;
  border: 1px solid var(--line-2);
  background: var(--surface-2);
  color: var(--text);
  cursor: pointer;
  transition: background 0.16s ease, border-color 0.16s ease, transform 0.16s ease, color 0.16s ease;
}
.btn:hover { border-color: var(--line-2); background: var(--surface-3); color: var(--text); transform: translateY(-1px); }
.btn:active { transform: none; }
.btn-primary { background: var(--accent); color: var(--accent-ink); border-color: transparent; }
.btn-primary:hover { background: #d4f96a; color: var(--accent-ink); }
.btn-ghost { background: transparent; }
.btn-ghost:hover { background: rgba(255, 255, 255, 0.04); }
.btn-sm { min-height: 40px; padding: 9px 16px; font-size: 0.87rem; }
.btn-lg { min-height: 52px; padding: 14px 28px; font-size: 1rem; }
.btn-block { width: 100%; }
.btn-danger { border-color: rgba(255, 143, 143, 0.36); color: var(--danger); background: transparent; }
.btn[disabled] { opacity: 0.5; pointer-events: none; }
@media (max-width: 619px) {
  .btn-lg { width: 100%; }
}

/* ---------- hero ---------- */
.hero { padding: clamp(38px, 7vw, 76px) 0 clamp(30px, 5vw, 60px); }
.hero-grid { display: grid; gap: clamp(26px, 4vw, 48px); align-items: center; }
@media (min-width: 960px) { .hero-grid { grid-template-columns: 1.08fr 0.92fr; align-items: start; } }
@media (min-width: 960px) { .hero-grid > .panel { margin-top: 34px; } }
.hero h1 { margin-bottom: 16px; }
.hero h1 span.hl { color: var(--accent); }
.hero .lede { font-size: clamp(1rem, 1.9vw, 1.12rem); }
.hero-actions { display: grid; gap: 10px; margin: 22px 0 14px; }
@media (min-width: 620px) { .hero-actions { display: flex; flex-wrap: wrap; gap: 12px; } }
.hero-points {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 12px;
  padding-top: 18px;
  margin-top: 18px;
  border-top: 1px solid var(--line);
}
.hero-points div span { display: block; font-size: clamp(1.05rem, 3.4vw, 1.4rem); font-weight: 660; color: var(--text); letter-spacing: -0.02em; }
.hero-points div small { color: var(--faint); font-size: 0.78rem; line-height: 1.35; display: block; }

/* ---------- panels + cards ---------- */
.panel {
  background: linear-gradient(180deg, var(--surface), rgba(16, 18, 20, 0.72));
  border: 1px solid var(--line);
  border-radius: var(--r-lg);
  padding: clamp(18px, 4vw, 26px);
  box-shadow: var(--shadow-md);
  position: relative;
}
.panel.flat { box-shadow: none; background: var(--surface); }
.panel .tagline { font-size: 0.73rem; text-transform: uppercase; letter-spacing: 0.14em; color: var(--faint); font-weight: 600; }

.card {
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--r-md);
  padding: clamp(16px, 3.4vw, 22px);
  transition: border-color 0.18s ease, background 0.18s ease;
}
.card:hover { border-color: var(--line-2); background: var(--surface-2); }
.card h3 { margin-bottom: 7px; }
.card p { font-size: 0.925rem; line-height: 1.55; }
.card p:last-child { margin-bottom: 0; }
.card .ico {
  width: 32px;
  height: 32px;
  border-radius: 9px;
  background: var(--accent-soft);
  border: 1px solid rgba(200, 241, 79, 0.16);
  color: var(--accent);
  display: grid;
  place-items: center;
  margin-bottom: 13px;
  font-size: 0.92rem;
  font-weight: 640;
}
.card.compact { padding: 14px 16px; }
.card.compact .ico { width: 26px; height: 26px; margin-bottom: 9px; font-size: 0.8rem; }

.console-rows { display: grid; gap: 8px; margin-top: 14px; }
.console-row {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 12px;
  font-size: 0.88rem;
  padding: 9px 12px;
  border-radius: var(--r-sm);
  background: rgba(255, 255, 255, 0.025);
  border: 1px solid var(--line);
  min-width: 0;
}
.console-row span { min-width: 0; overflow-wrap: anywhere; }
.console-row b { font-weight: 600; font-size: 0.84rem; white-space: normal; overflow-wrap: anywhere; min-width: 0; }
.live-dot { width: 7px; height: 7px; border-radius: 50%; background: var(--accent); display: inline-block; box-shadow: 0 0 0 3px rgba(200, 241, 79, 0.16); }

/* ---------- pricing ---------- */
.plan-grid { display: grid; gap: clamp(14px, 2.4vw, 20px); align-items: stretch; }
@media (min-width: 720px) { .plan-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
.plan { display: flex; flex-direction: column; }
.plan.featured { border-color: rgba(200, 241, 79, 0.38); background: linear-gradient(180deg, rgba(200, 241, 79, 0.05), var(--surface)); }
.plan .badge {
  align-self: flex-start;
  font-size: 0.68rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--accent);
  border: 1px solid var(--accent-line);
  border-radius: 999px;
  padding: 4px 9px;
  margin-bottom: 12px;
  font-weight: 620;
}
.plan .plan-name { font-size: 0.95rem; font-weight: 620; margin-bottom: 2px; }
.plan .price { display: flex; align-items: baseline; gap: 7px; margin: 8px 0 2px; }
.plan .price b { font-size: clamp(2.1rem, 6vw, 2.5rem); letter-spacing: -0.04em; font-weight: 660; line-height: 1; }
.plan .price span { color: var(--faint); font-size: 0.87rem; }
.plan .terms { font-size: 0.85rem; color: var(--cyan); margin-bottom: 2px; }
.plan .blurb { font-size: 0.93rem; color: var(--muted); margin: 8px 0 0; }
.plan ul { list-style: none; padding: 18px 0 0; margin: 18px 0 22px; display: grid; gap: 9px; border-top: 1px solid var(--line); }
.plan ul li { display: flex; gap: 9px; font-size: 0.935rem; color: var(--muted); align-items: flex-start; line-height: 1.5; }
.plan ul li::before { content: "✓"; color: var(--accent); font-weight: 700; flex: 0 0 15px; font-size: 0.85rem; }
.plan .foot { margin-top: auto; display: grid; gap: 10px; }
.plan-note { margin-top: 16px; font-size: 0.85rem; color: var(--faint); }

/* ---------- steps / timeline ---------- */
.timeline { display: grid; gap: 0; border-left: 1px solid var(--line-2); margin-left: 6px; }
.timeline .step { padding: 0 0 26px 22px; position: relative; }
.timeline .step:last-child { padding-bottom: 0; }
.timeline .step::before { content: ""; position: absolute; left: -5.5px; top: 5px; width: 10px; height: 10px; border-radius: 50%; background: var(--surface-2); border: 2px solid var(--line-2); }
.timeline .step.done::before { background: var(--accent); border-color: var(--accent); }
.timeline .step.current::before { background: var(--accent); border-color: var(--accent); box-shadow: 0 0 0 4px rgba(200, 241, 79, 0.16); }
.timeline .step small { color: var(--faint); text-transform: uppercase; letter-spacing: 0.1em; font-size: 0.69rem; font-weight: 620; }
.timeline .step h3 { margin: 5px 0 5px; }
.timeline .step p:last-child { margin-bottom: 0; }

/* ---------- faq ---------- */
.faq { display: grid; gap: 10px; }
.faq details { background: var(--surface); border: 1px solid var(--line); border-radius: var(--r-md); padding: 0; overflow: hidden; }
.faq details[open] { border-color: var(--line-2); background: var(--surface-2); }
.faq summary {
  cursor: pointer;
  font-weight: 580;
  list-style: none;
  display: flex;
  justify-content: space-between;
  gap: 14px;
  align-items: center;
  min-height: 52px;
  padding: 14px 18px;
  font-size: 0.97rem;
}
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: "+"; color: var(--accent); font-weight: 700; font-size: 1.05rem; flex: 0 0 auto; }
.faq details[open] summary::after { content: "–"; }
.faq .answer { padding: 0 18px 16px; color: var(--muted); font-size: 0.93rem; }
.faq .answer p:last-child { margin-bottom: 0; }

/* ---------- forms ---------- */
form { margin: 0; }
.field { display: grid; gap: 6px; margin-bottom: 15px; }
.field label { font-size: 0.79rem; text-transform: uppercase; letter-spacing: 0.09em; color: var(--faint); font-weight: 620; }
input, select, textarea {
  width: 100%;
  max-width: 100%;
  min-width: 0;
  min-height: 48px;
  background: var(--ink);
  border: 1px solid var(--line-2);
  border-radius: var(--r-sm);
  color: var(--text);
  padding: 12px 14px;
  font-size: 16px;
  font-family: inherit;
  transition: border-color 0.15s ease, box-shadow 0.15s ease;
}
@media (min-width: 720px) { input, select, textarea { font-size: 0.95rem; min-height: 46px; } }
input:focus, select:focus, textarea:focus { outline: none; border-color: var(--accent); box-shadow: 0 0 0 3px rgba(200, 241, 79, 0.16); }
input::placeholder, textarea::placeholder { color: #78837d; opacity: 1; }
textarea { min-height: 120px; resize: vertical; }
fieldset { border: 1px solid var(--line); border-radius: var(--r-md); padding: 16px; margin: 0 0 16px; }
legend { font-size: 0.79rem; text-transform: uppercase; letter-spacing: 0.09em; color: var(--faint); padding: 0 6px; font-weight: 620; }
.radio-row { display: grid; gap: 10px; }
.radio { display: flex; gap: 12px; align-items: flex-start; border: 1px solid var(--line-2); border-radius: var(--r-md); padding: 14px; cursor: pointer; min-width: 0; transition: border-color 0.15s ease, background 0.15s ease; }
.radio:hover { border-color: var(--line-2); background: var(--surface-2); }
.radio input { width: auto; min-height: 0; margin-top: 4px; flex: 0 0 auto; }
.radio.selected { border-color: var(--accent); background: var(--accent-soft); }
.radio > div, .radio span.wrap { min-width: 0; }
.radio b { display: block; }
.radio small { color: var(--faint); display: block; overflow-wrap: anywhere; }

/* ---------- banners + pills ---------- */
.banner { border-radius: var(--r-md); padding: 12px 15px; font-size: 0.92rem; margin-bottom: 18px; border: 1px solid; overflow-wrap: anywhere; }
.banner.ok { background: rgba(110, 231, 200, 0.07); border-color: rgba(110, 231, 200, 0.28); color: var(--cyan); }
.banner.warn { background: rgba(255, 199, 107, 0.07); border-color: rgba(255, 199, 107, 0.28); color: var(--amber); }
.banner.bad { background: rgba(255, 143, 143, 0.07); border-color: rgba(255, 143, 143, 0.3); color: var(--danger); }
.banner a { color: inherit; text-decoration: underline; }
.pill { display: inline-flex; align-items: center; gap: 6px; font-size: 0.73rem; letter-spacing: 0.07em; text-transform: uppercase; padding: 4px 10px; border-radius: 999px; border: 1px solid var(--line-2); color: var(--muted); font-weight: 620; white-space: nowrap; }
.pill.ok { color: var(--accent); border-color: var(--accent-line); background: var(--accent-soft); }
.pill.warn { color: var(--amber); border-color: rgba(255, 199, 107, 0.32); }
.pill.bad { color: var(--danger); border-color: rgba(255, 143, 143, 0.32); }

/* ---------- tables ---------- */
.table-wrap { border: 1px solid var(--line); border-radius: var(--r-lg); background: var(--surface); overflow: hidden; }
table { width: 100%; border-collapse: collapse; font-size: 0.89rem; }
th, td { text-align: left; padding: 12px 14px; border-bottom: 1px solid var(--line); white-space: nowrap; }
th { color: var(--faint); font-size: 0.72rem; letter-spacing: 0.1em; text-transform: uppercase; font-weight: 640; background: rgba(255, 255, 255, 0.02); }
tbody tr:hover { background: rgba(255, 255, 255, 0.015); }
tr:last-child td { border-bottom: 0; }
td.wrapcell { white-space: normal; max-width: 300px; }

@media (max-width: 719px) {
  .table-wrap { overflow-x: auto; -webkit-overflow-scrolling: touch; }
  .table-wrap table { min-width: 660px; }
  .table-wrap.stack table { min-width: 0; }
  .table-wrap.stack thead { display: none; }
  .table-wrap.stack tbody, .table-wrap.stack tr, .table-wrap.stack td { display: block; width: 100%; }
  .table-wrap.stack tr { padding: 12px 14px; border-bottom: 1px solid var(--line); }
  .table-wrap.stack tr:last-child { border-bottom: 0; }
  .table-wrap.stack td { border: 0; padding: 4px 0; white-space: normal; display: flex; gap: 12px; justify-content: space-between; align-items: baseline; }
  .table-wrap.stack td::before { content: attr(data-label); color: var(--faint); font-size: 0.76rem; text-transform: uppercase; letter-spacing: 0.09em; font-weight: 640; flex: 0 0 38%; }
  .table-wrap.stack td { min-width: 0; overflow-wrap: anywhere; font-size: 0.94rem; }
  .table-wrap.stack td.wide { display: block; }
  .table-wrap.stack td.wide::before { display: block; margin-bottom: 4px; }
  .table-wrap.stack td:empty { display: none; }
}

/* ---------- portal ---------- */
.portal-head { display: flex; justify-content: space-between; gap: 16px; align-items: flex-start; flex-wrap: wrap; margin-bottom: 24px; }
.avatar { width: 42px; height: 42px; border-radius: 12px; background: var(--accent); color: var(--accent-ink); display: grid; place-items: center; font-weight: 700; flex: 0 0 42px; }
.stat-card { background: var(--surface); border: 1px solid var(--line); border-radius: var(--r-md); padding: 16px 18px; }
.stat-card small { display: block; color: var(--faint); font-size: 0.72rem; text-transform: uppercase; letter-spacing: 0.1em; margin-bottom: 5px; font-weight: 620; }
.stat-card b { font-size: clamp(1.1rem, 3.4vw, 1.3rem); font-weight: 640; letter-spacing: -0.02em; display: block; overflow-wrap: anywhere; }
.deliverable { display: grid; gap: 6px; padding: 16px 18px; border: 1px solid var(--line); border-radius: var(--r-md); background: var(--surface); }
.deliverable header { display: flex; justify-content: space-between; gap: 12px; align-items: center; flex-wrap: wrap; }
.deliverable .body { color: var(--muted); font-size: 0.92rem; white-space: pre-wrap; overflow-wrap: anywhere; }
.tabs { display: flex; gap: 6px; flex-wrap: wrap; margin-bottom: 20px; }
.tabs a { padding: 8px 14px; border-radius: 999px; border: 1px solid var(--line); font-size: 0.85rem; color: var(--muted); }
.tabs a.on { border-color: var(--accent-line); color: var(--accent); background: var(--accent-soft); }
.auth-shell { max-width: 440px; margin: clamp(20px, 6vw, 48px) auto; }

/* ---------- admin ---------- */
.grid.two > .panel, .grid.two > .card { align-self: start; }
.admin-grid { display: grid; gap: 14px; margin-bottom: 26px; }
.plan-health { display: grid; gap: 9px; }
.section-title { font-size: clamp(1.1rem, 3vw, 1.3rem); margin: 30px 0 12px; }

/* ---------- footer ---------- */
.site-footer { border-top: 1px solid var(--line); padding: clamp(34px, 6vw, 56px) 0 26px; margin-top: clamp(24px, 5vw, 48px); }
.footer-grid { display: grid; gap: clamp(20px, 3vw, 28px); }
@media (min-width: 900px) { .footer-grid { grid-template-columns: 1.5fr 1fr 1fr 1fr; } }
.site-footer h4 { font-size: 0.73rem; letter-spacing: 0.13em; text-transform: uppercase; color: var(--faint); margin-bottom: 12px; }
.site-footer ul { list-style: none; padding: 0; margin: 0; display: grid; gap: 2px; }
.site-footer a { color: var(--muted); font-size: 0.92rem; display: inline-flex; align-items: center; min-height: 40px; }
.footer-bottom { margin-top: 28px; padding-top: 18px; border-top: 1px solid var(--line); display: grid; gap: 10px; color: var(--faint); font-size: 0.83rem; }
@media (min-width: 720px) { .footer-bottom { display: flex; justify-content: space-between; align-items: center; gap: 14px; flex-wrap: wrap; } }

/* ---------- legal ---------- */
.legal-split { display: grid; gap: clamp(18px, 3vw, 30px); }
@media (min-width: 900px) { .legal-split { grid-template-columns: 250px minmax(0, 1fr); } }
.legal-split .side { position: static; }
@media (min-width: 900px) { .legal-split .side { position: sticky; top: 88px; } }

/* ---------- misc ---------- */
.checklist { list-style: none; padding: 0; margin: 0; display: grid; gap: 10px; }
.checklist li { display: flex; gap: 10px; color: var(--muted); font-size: 0.94rem; align-items: flex-start; }
.checklist li::before { content: "→"; color: var(--accent); flex: 0 0 auto; }
.kbd-row { display: flex; gap: 8px; flex-wrap: wrap; }
.legal-body h2 { margin-top: 30px; font-size: clamp(1.1rem, 3vw, 1.3rem); }
.legal-body p { color: var(--muted); }
.legal-nav { display: flex; gap: 8px; flex-wrap: wrap; margin-bottom: 26px; }

/* Sticky mobile CTA — marketing pages only. */
.mobile-cta {
  position: fixed;
  left: 0;
  right: 0;
  bottom: 0;
  z-index: 50;
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 10px;
  align-items: center;
  padding: 10px var(--pad) calc(10px + env(safe-area-inset-bottom));
  background: rgba(10, 11, 12, 0.94);
  backdrop-filter: blur(14px);
  border-top: 1px solid var(--line-2);
  transform: translateY(130%);
  transition: transform 0.25s ease;
}
.mobile-cta.show { transform: none; }
.mobile-cta .mc-copy { min-width: 0; }
.mobile-cta .mc-copy b { display: block; font-size: 0.86rem; }
.mobile-cta .mc-copy small { color: var(--muted); font-size: 0.8rem; display: block; }
@media (min-width: 900px) { .mobile-cta { display: none; } }
body.has-mobile-cta { padding-bottom: 78px; }
@media (min-width: 900px) { body.has-mobile-cta { padding-bottom: 0; } }

/* Reveal: only when JS is present, and never hides content for long. */
.reveal { opacity: 1; }
html.js .reveal { opacity: 0; transform: translateY(12px); transition: opacity 0.5s ease, transform 0.5s ease; }
html.js .reveal.in { opacity: 1; transform: none; }
@media (prefers-reduced-motion: reduce) { html.js .reveal { opacity: 1; transform: none; transition: none; } }
@media (max-width: 719px) { html.js .reveal { opacity: 1; transform: none; transition: none; } }
