/* =========================================================
   PromotionBot — shared stylesheet
   Editorial, paper + ink + electric lime accent
   ========================================================= */

:root {
  /* Color tokens — light (paper) */
  --paper:      oklch(98.5% 0.005 85);
  --paper-2:    oklch(96.5% 0.008 85);   /* alt-bg sections */
  --surface:    oklch(99% 0.003 85);     /* cards above paper */
  --ink:        oklch(16% 0.012 70);
  --ink-2:      oklch(28% 0.012 70);     /* secondary text */
  --muted:      oklch(48% 0.012 70);
  --line:       oklch(89% 0.012 75);
  --line-2:     oklch(82% 0.014 75);
  --accent:     oklch(86% 0.22 128);     /* electric lime */
  --accent-bg:  oklch(86% 0.22 128);
  --accent-ink: oklch(18% 0.015 70);
  --accent-soft:oklch(94% 0.10 128);

  --ok:         oklch(72% 0.18 150);
  --warn:       oklch(82% 0.16 80);
  --bad:        oklch(64% 0.20 28);

  /* Geometry */
  --r-sm: 6px;
  --r-md: 10px;
  --r-lg: 14px;
  --r-xl: 20px;

  --shadow-sm: 0 1px 0 oklch(0% 0 0 / 0.04), 0 1px 2px oklch(0% 0 0 / 0.04);
  --shadow-md: 0 1px 0 oklch(0% 0 0 / 0.04), 0 8px 24px -12px oklch(0% 0 0 / 0.18);

  /* Type */
  --font-sans: "Geist", ui-sans-serif, system-ui, -apple-system, "Segoe UI", sans-serif;
  --font-mono: "Geist Mono", ui-monospace, "SF Mono", Menlo, monospace;

  /* Layout */
  --maxw: 1180px;
  --pad: clamp(20px, 4vw, 40px);
  --rhythm: clamp(72px, 12vw, 140px);
}

html.dark {
  --paper:      oklch(15.5% 0.012 70);
  --paper-2:    oklch(18% 0.014 70);
  --surface:    oklch(19% 0.014 70);
  --ink:        oklch(96% 0.005 85);
  --ink-2:      oklch(82% 0.008 85);
  --muted:      oklch(62% 0.012 80);
  --line:       oklch(28% 0.016 70);
  --line-2:     oklch(34% 0.018 70);
  --accent:     oklch(86% 0.22 128);
  --accent-bg:  oklch(86% 0.22 128);
  --accent-ink: oklch(16% 0.015 70);
  --accent-soft:oklch(28% 0.10 128);

  --shadow-sm: 0 1px 0 oklch(0% 0 0 / 0.4), 0 1px 2px oklch(0% 0 0 / 0.4);
  --shadow-md: 0 1px 0 oklch(0% 0 0 / 0.4), 0 12px 32px -10px oklch(0% 0 0 / 0.55);
}

/* =========================================================
   Reset
   ========================================================= */
*, *::before, *::after { box-sizing: border-box; }
html, body { margin: 0; padding: 0; }
html { -webkit-text-size-adjust: 100%; }
body {
  font-family: var(--font-sans);
  background: var(--paper);
  color: var(--ink);
  font-size: 16px;
  line-height: 1.55;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
  font-feature-settings: "ss01", "cv11";
  transition: background-color .25s ease, color .25s ease;
}
img, svg { display: block; max-width: 100%; }
a { color: inherit; text-decoration: none; }
button { font: inherit; color: inherit; background: none; border: 0; cursor: pointer; }
input, button, textarea, select { font: inherit; color: inherit; }
hr { border: 0; border-top: 1px solid var(--line); margin: 0; }

/* =========================================================
   Typography
   ========================================================= */
.display {
  font-size: clamp(44px, 7.4vw, 92px);
  line-height: 0.98;
  letter-spacing: -0.035em;
  font-weight: 600;
  margin: 0;
  text-wrap: balance;
}
h1, h2, h3, h4 { margin: 0; letter-spacing: -0.02em; font-weight: 600; }
h2 { font-size: clamp(28px, 3.6vw, 44px); line-height: 1.05; letter-spacing: -0.025em; text-wrap: balance; }
h3 { font-size: 18px; line-height: 1.35; }
h4 { font-size: 17px; line-height: 1.35; }
p  { margin: 0; }
.lead {
  font-size: clamp(17px, 1.6vw, 21px);
  line-height: 1.5;
  color: var(--ink-2);
  max-width: 56ch;
  text-wrap: pretty;
}
.kicker {
  font-family: var(--font-mono);
  font-size: 12px;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--muted);
  display: inline-flex;
  align-items: center;
  gap: 10px;
}
.kicker::before {
  content: "";
  display: inline-block;
  width: 22px;
  height: 1px;
  background: var(--ink);
  opacity: .55;
}
.mono { font-family: var(--font-mono); }

/* =========================================================
   Layout primitives
   ========================================================= */
.container {
  max-width: var(--maxw);
  margin: 0 auto;
  padding-inline: var(--pad);
}
.section { padding-block: var(--rhythm); }
.section.alt { background: var(--paper-2); }
.section-head {
  display: flex;
  flex-direction: column;
  gap: 18px;
  margin-bottom: 56px;
  max-width: 760px;
}
.rule {
  height: 1px;
  background: var(--line);
  width: 100%;
}

/* =========================================================
   Nav
   ========================================================= */
.nav {
  position: sticky; top: 0; z-index: 50;
  backdrop-filter: saturate(180%) blur(14px);
  -webkit-backdrop-filter: saturate(180%) blur(14px);
  background: color-mix(in oklab, var(--paper) 78%, transparent);
  border-bottom: 1px solid transparent;
  transition: border-color .2s ease, background-color .2s ease;
}
.nav.scrolled { border-bottom-color: var(--line); }
.nav-inner {
  max-width: var(--maxw);
  margin: 0 auto;
  padding: 14px var(--pad);
  display: flex; align-items: center; justify-content: space-between;
  gap: 24px;
}
.brand {
  display: inline-flex; align-items: center; gap: 10px;
  font-weight: 600; font-size: 15px; letter-spacing: -0.01em;
}
.brand-mark {
  width: 30px; height: 30px;
  display: inline-grid; place-items: center;
  position: relative;
  flex: none;
}
.brand-mark svg { width: 100%; height: 100%; display: block; }
.brand-mark .bm-back  { fill: var(--accent); }
.brand-mark .bm-front { fill: var(--ink); }
.brand-mark .bm-glyph { stroke: var(--paper); }
.nav-links {
  display: flex; align-items: center; gap: 8px;
}
.nav-link {
  font-size: 14px; color: var(--ink-2);
  padding: 8px 12px; border-radius: var(--r-sm);
  transition: color .15s ease, background-color .15s ease;
}
.nav-link:hover { color: var(--ink); background: var(--paper-2); }
.nav-link.active { color: var(--ink); }
.nav-link.active::after {
  content: "";
  display: inline-block;
  width: 6px; height: 6px;
  background: var(--accent);
  margin-left: 8px;
  border-radius: 2px;
  vertical-align: middle;
  transform: translateY(-1px);
}

/* Theme toggle button */
.theme-toggle {
  width: 36px; height: 36px;
  display: inline-grid; place-items: center;
  border-radius: var(--r-sm);
  color: var(--ink-2);
  transition: background-color .15s ease, color .15s ease;
}
.theme-toggle:hover { background: var(--paper-2); color: var(--ink); }
.theme-toggle .sun { display: none; }
.theme-toggle .moon { display: block; }
html.dark .theme-toggle .sun { display: block; }
html.dark .theme-toggle .moon { display: none; }

/* =========================================================
   Buttons
   ========================================================= */
.btn {
  display: inline-flex; align-items: center; justify-content: center;
  gap: 8px;
  padding: 11px 18px;
  border-radius: var(--r-md);
  font-size: 14.5px; font-weight: 500;
  line-height: 1;
  border: 1px solid transparent;
  transition: transform .12s ease, background-color .15s ease, color .15s ease, border-color .15s ease;
  white-space: nowrap;
}
.btn:active { transform: translateY(1px); }
.btn-primary {
  background: var(--accent-bg);
  color: var(--accent-ink);
  border-color: oklch(from var(--accent) calc(l - 0.08) c h);
}
.btn-primary:hover { background: oklch(from var(--accent) calc(l + 0.02) c h); }
.btn-ghost {
  background: transparent; color: var(--ink);
  border-color: var(--line-2);
}
.btn-ghost:hover { background: var(--paper-2); border-color: var(--ink); }
.btn-dark {
  background: var(--ink); color: var(--paper);
}
.btn-dark:hover { background: oklch(from var(--ink) calc(l + 0.08) c h); }
.btn-sm { padding: 8px 14px; font-size: 13.5px; }
.btn-lg { padding: 14px 22px; font-size: 15px; }
.btn-block { width: 100%; }
.btn-arrow { transition: transform .2s ease; }
.btn:hover .btn-arrow { transform: translateX(3px); }

/* =========================================================
   Cards
   ========================================================= */
.card {
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--r-lg);
  padding: 28px;
  transition: transform .2s ease, border-color .2s ease, box-shadow .2s ease;
  position: relative;
}
.card.lift:hover {
  transform: translateY(-3px);
  border-color: var(--line-2);
  box-shadow: var(--shadow-md);
}
.card.lift::after {
  /* lime reveal line on hover */
  content: "";
  position: absolute;
  left: 28px; bottom: 0;
  width: 0; height: 2px;
  background: var(--accent);
  transition: width .25s ease;
}
.card.lift:hover::after { width: 40px; }

/* =========================================================
   Hero
   ========================================================= */
.hero {
  padding-top: clamp(64px, 10vw, 120px);
  padding-bottom: clamp(64px, 10vw, 120px);
  position: relative;
  overflow: hidden;
}
.hero-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.4fr) minmax(0, 1fr);
  gap: clamp(40px, 6vw, 96px);
  align-items: end;
}
.hero-left .kicker { margin-bottom: 24px; }
.hero-left h1 { margin-bottom: 28px; }
.hero-left h1 .accent-mark {
  background: var(--accent);
  color: var(--accent-ink);
  padding: 0.04em 0.14em;
  border-radius: 6px;
  -webkit-box-decoration-break: clone;
          box-decoration-break: clone;
}
.hero-left h1 .accent-mark::after { content: none; }
.hero-left .lead { margin-bottom: 36px; }
.hero-ctas { display: flex; gap: 12px; flex-wrap: wrap; }
.hero-meta {
  margin-top: 28px;
  display: flex; align-items: center; gap: 14px;
  font-family: var(--font-mono); font-size: 12px;
  color: var(--muted); letter-spacing: 0.05em;
}
.hero-meta .dot { width: 6px; height: 6px; border-radius: 50%; background: var(--ok); box-shadow: 0 0 0 4px color-mix(in oklab, var(--ok) 22%, transparent); }
.hero-right {
  border-top: 1px solid var(--line);
  padding-top: 24px;
  display: flex; flex-direction: column; gap: 28px;
}

/* Counters */
.counters {
  display: grid;
  grid-template-columns: 1fr;
  gap: 0;
}
.counter {
  display: grid;
  grid-template-columns: minmax(140px, max-content) 1fr;
  column-gap: 28px;
  align-items: center;
  padding-block: 22px;
  border-top: 1px solid var(--line);
}
.counter:first-child { border-top: 0; padding-top: 4px; }
.counter:last-child { padding-bottom: 4px; }
.counter-num {
  font-family: var(--font-mono);
  font-size: clamp(36px, 5vw, 52px);
  font-weight: 500;
  letter-spacing: -0.04em;
  line-height: 1;
  color: var(--ink);
  font-variant-numeric: tabular-nums;
  text-align: right;
  white-space: nowrap;
}
.counter-meta { display: flex; flex-direction: column; gap: 4px; min-width: 0; }
.counter-label {
  font-family: var(--font-mono);
  font-size: 11px; letter-spacing: 0.15em; text-transform: uppercase;
  color: var(--muted);
}
.counter-sub {
  font-size: 13px; color: var(--ink-2);
}

/* =========================================================
   Features grid
   ========================================================= */
.features-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
}
.feature-icon {
  width: 40px; height: 40px;
  background: var(--accent-bg);
  color: var(--accent-ink);
  border-radius: 10px;
  display: grid; place-items: center;
  margin-bottom: 20px;
}
.feature-icon svg { width: 22px; height: 22px; }
.feature h3 { margin-bottom: 8px; }
.feature p { color: var(--ink-2); font-size: 14.5px; line-height: 1.55; }

/* =========================================================
   How it works
   ========================================================= */
.steps {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 0;
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
  /* Suppress the default OL markers — the lime step-num badges ARE the numbering. */
  list-style: none;
  padding: 0;
  margin: 0;
}
.step {
  list-style: none;
  padding: 36px 28px 36px 0;
  border-right: 1px solid var(--line);
  position: relative;
}
.step:last-child { border-right: 0; padding-right: 0; }
.step:not(:first-child) { padding-left: 28px; }
.step-num {
  width: 32px; height: 32px;
  border-radius: 50%;
  background: var(--accent-bg);
  color: var(--accent-ink);
  display: inline-grid; place-items: center;
  font-family: var(--font-mono); font-weight: 600; font-size: 13px;
  margin-bottom: 20px;
}
.step h4 { margin-bottom: 8px; }
.step p { color: var(--ink-2); font-size: 14.5px; line-height: 1.55; }

/* =========================================================
   Audience pills
   ========================================================= */
.pills {
  display: flex; flex-wrap: wrap; gap: 10px;
  justify-content: center;
}
.pill {
  display: inline-flex; align-items: center; gap: 8px;
  padding: 10px 18px;
  border-radius: 999px;
  border: 1px solid var(--line-2);
  background: var(--surface);
  font-size: 14px;
  transition: background-color .15s ease, border-color .15s ease, transform .15s ease;
}
.pill:hover { transform: translateY(-1px); border-color: var(--ink); }
.pill .pill-dot {
  width: 6px; height: 6px; background: var(--accent); border-radius: 50%;
}

/* =========================================================
   Pricing
   ========================================================= */
.pricing-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
  align-items: stretch;
}
.price-card {
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--r-lg);
  padding: 32px;
  display: flex; flex-direction: column;
  position: relative;
}
.price-card.popular {
  border-color: var(--accent);
  box-shadow: 0 0 0 1px var(--accent);
}
.popular-badge {
  position: absolute; top: -11px; left: 32px;
  background: var(--accent-bg);
  color: var(--accent-ink);
  padding: 4px 10px;
  border-radius: 999px;
  font-family: var(--font-mono);
  font-size: 11px;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  font-weight: 600;
}
.price-card .tier {
  font-family: var(--font-mono);
  font-size: 12px;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--muted);
  margin-bottom: 16px;
}
.price-amount {
  display: flex; align-items: baseline; gap: 6px;
  margin-bottom: 6px;
}
.price-amount .num {
  font-size: 48px; font-weight: 600; letter-spacing: -0.04em; line-height: 1;
}
.price-amount .per {
  font-family: var(--font-mono);
  font-size: 13px; color: var(--muted);
}
.price-card .blurb {
  font-size: 14.5px; color: var(--ink-2);
  margin-bottom: 24px;
  min-height: 2.6em;
}
.price-card .feat {
  list-style: none; padding: 0; margin: 0 0 28px 0;
  display: flex; flex-direction: column; gap: 12px;
  font-size: 14.5px;
}
.price-card .feat li {
  display: grid;
  grid-template-columns: 18px 1fr;
  gap: 10px;
  align-items: flex-start;
  color: var(--ink-2);
}
.price-card .feat li svg {
  width: 14px; height: 14px;
  color: var(--accent-ink);
  background: var(--accent-bg);
  border-radius: 50%;
  padding: 2px;
  margin-top: 3px;
}
.price-card .btn { margin-top: auto; }

/* =========================================================
   FAQ accordion
   ========================================================= */
.faq {
  max-width: 760px;
  margin: 0 auto;
  border-top: 1px solid var(--line);
}
.faq-item {
  border-bottom: 1px solid var(--line);
}
.faq-q {
  width: 100%;
  display: flex; align-items: center; justify-content: space-between;
  gap: 24px;
  padding: 24px 0;
  text-align: left;
  font-size: 17px;
  font-weight: 500;
  letter-spacing: -0.01em;
  color: var(--ink);
  transition: color .15s ease;
}
.faq-q:hover { color: var(--ink); }
.faq-q .plus {
  font-family: var(--font-mono);
  font-size: 20px;
  color: var(--muted);
  transition: transform .25s ease, color .15s ease;
  line-height: 1;
}
.faq-item[open] .faq-q .plus { transform: rotate(45deg); color: var(--ink); }
.faq-a {
  max-height: 0;
  overflow: hidden;
  transition: max-height .35s ease;
}
.faq-a-inner {
  padding: 0 0 24px 0;
  color: var(--ink-2);
  font-size: 15px;
  line-height: 1.6;
  max-width: 65ch;
}
.faq-item[open] .faq-a { max-height: 320px; }

/* =========================================================
   CTA strip
   ========================================================= */
.cta-strip {
  border: 1px solid var(--line);
  border-radius: var(--r-xl);
  padding: clamp(36px, 6vw, 56px);
  background: var(--surface);
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 36px;
  align-items: center;
  position: relative;
  overflow: hidden;
}
.cta-strip::before {
  /* corner lime mark */
  content: "";
  position: absolute;
  top: 0; right: 0;
  width: 96px; height: 96px;
  background: var(--accent);
  border-bottom-left-radius: 120px;
  opacity: .9;
}
.cta-strip h2 { max-width: 18ch; }
.cta-strip .sub { color: var(--ink-2); margin-top: 10px; font-size: 16px; }
.cta-strip .actions { display: flex; gap: 12px; flex-wrap: wrap; position: relative; z-index: 1; }

/* =========================================================
   Footer
   ========================================================= */
.footer {
  border-top: 1px solid var(--line);
  padding-block: 64px 40px;
}
.footer-grid {
  display: grid;
  grid-template-columns: 1.4fr 1fr 1fr 1fr;
  gap: 40px;
  margin-bottom: 56px;
}
.footer-brand p { color: var(--muted); font-size: 14px; margin-top: 16px; max-width: 32ch; }
.footer-col h5 {
  font-family: var(--font-mono);
  font-size: 11px; letter-spacing: 0.15em; text-transform: uppercase;
  color: var(--muted);
  margin: 0 0 16px 0;
  font-weight: 500;
}
.footer-col ul { list-style: none; padding: 0; margin: 0; display: flex; flex-direction: column; gap: 10px; }
.footer-col a { font-size: 14px; color: var(--ink-2); transition: color .15s ease; }
.footer-col a:hover { color: var(--ink); }
.footer-bottom {
  display: flex; justify-content: space-between; align-items: center;
  gap: 20px;
  padding-top: 24px;
  border-top: 1px solid var(--line);
  font-family: var(--font-mono);
  font-size: 12px;
  color: var(--muted);
  letter-spacing: 0.04em;
}

/* =========================================================
   Status page
   ========================================================= */
.status-banner {
  border: 1px solid var(--line);
  border-radius: var(--r-lg);
  padding: 24px 28px;
  display: flex; align-items: center; gap: 18px;
  margin-bottom: 40px;
}
.status-banner.ok { background: color-mix(in oklab, var(--ok) 10%, var(--surface)); border-color: color-mix(in oklab, var(--ok) 40%, var(--line)); }
.status-banner.warn { background: color-mix(in oklab, var(--warn) 14%, var(--surface)); border-color: color-mix(in oklab, var(--warn) 50%, var(--line)); }
.status-banner.bad { background: color-mix(in oklab, var(--bad) 14%, var(--surface)); border-color: color-mix(in oklab, var(--bad) 50%, var(--line)); }
.status-banner .pulse {
  width: 12px; height: 12px; border-radius: 50%;
  background: var(--ok); flex: none;
  position: relative;
}
.status-banner .pulse::after {
  content: ""; position: absolute; inset: -4px;
  border-radius: 50%;
  background: inherit; opacity: .3;
  animation: pulse 1.8s ease-out infinite;
}
.status-banner.warn .pulse { background: var(--warn); }
.status-banner.bad .pulse { background: var(--bad); }
@keyframes pulse {
  0% { transform: scale(.8); opacity: .5; }
  100% { transform: scale(2.2); opacity: 0; }
}
.status-banner h2 { font-size: 22px; }
.status-banner .meta { font-family: var(--font-mono); font-size: 12px; color: var(--muted); margin-top: 4px; }

.status-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 16px;
  margin-bottom: 48px;
}
.status-card {
  border: 1px solid var(--line);
  border-radius: var(--r-md);
  padding: 20px;
  background: var(--surface);
}
.status-card .label {
  font-family: var(--font-mono);
  font-size: 11px; letter-spacing: 0.14em; text-transform: uppercase;
  color: var(--muted);
  margin-bottom: 14px;
}
.status-pill {
  display: inline-flex; align-items: center; gap: 8px;
  font-size: 13px;
  font-weight: 500;
}
.status-pill .dot { width: 8px; height: 8px; border-radius: 50%; background: var(--ok); }
.status-pill.warn .dot { background: var(--warn); }
.status-pill.bad .dot { background: var(--bad); }
.status-pill.warn { color: oklch(from var(--warn) calc(l - 0.2) c h); }
html.dark .status-pill.warn { color: var(--warn); }
.status-pill.bad { color: var(--bad); }

.metric .v {
  font-family: var(--font-mono);
  font-size: 28px;
  font-weight: 500;
  letter-spacing: -0.03em;
  font-variant-numeric: tabular-nums;
  line-height: 1;
  margin-bottom: 6px;
}
.metric .v-sub { font-size: 12px; color: var(--muted); font-family: var(--font-mono); }

.history-note {
  border: 1px dashed var(--line-2);
  border-radius: var(--r-md);
  padding: 20px 24px;
  font-size: 14px;
  color: var(--muted);
  display: flex; align-items: center; gap: 12px;
  background: var(--paper-2);
}

/* =========================================================
   Auth pages (login / signup)
   ========================================================= */
.auth-page {
  min-height: 100vh;
  display: grid;
  place-items: center;
  padding: 40px 20px;
  background:
    radial-gradient(ellipse 70% 60% at 50% 0%, color-mix(in oklab, var(--accent) 18%, transparent), transparent 60%),
    radial-gradient(ellipse 50% 50% at 50% 100%, color-mix(in oklab, var(--accent) 10%, transparent), transparent 70%),
    var(--paper);
  position: relative;
}
.auth-page::before {
  content: "";
  position: absolute; inset: 0;
  background:
    linear-gradient(var(--line) 1px, transparent 1px) 0 0 / 32px 32px,
    linear-gradient(90deg, var(--line) 1px, transparent 1px) 0 0 / 32px 32px;
  opacity: .35;
  pointer-events: none;
  mask-image: radial-gradient(ellipse 60% 60% at 50% 40%, black, transparent 75%);
  -webkit-mask-image: radial-gradient(ellipse 60% 60% at 50% 40%, black, transparent 75%);
}
.auth-card {
  position: relative;
  width: 100%; max-width: 420px;
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--r-xl);
  padding: 36px;
  box-shadow: var(--shadow-md);
}
.auth-brand {
  display: flex; align-items: center; gap: 10px;
  margin-bottom: 32px;
  font-weight: 600; font-size: 15px;
}
.auth-kicker {
  font-family: var(--font-mono);
  font-size: 11px;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--muted);
  margin-bottom: 10px;
}
.auth-card h1 {
  font-size: 26px; letter-spacing: -0.02em; line-height: 1.2;
  margin-bottom: 8px;
}
.auth-lead {
  font-size: 14px; color: var(--ink-2); line-height: 1.55;
  margin-bottom: 28px;
  max-width: 34ch;
}
.field { display: flex; flex-direction: column; gap: 6px; margin-bottom: 16px; }
.field label {
  font-family: var(--font-mono);
  font-size: 11px; letter-spacing: 0.14em; text-transform: uppercase;
  color: var(--muted);
}
.field input {
  height: 42px;
  border-radius: var(--r-md);
  border: 1px solid var(--line-2);
  background: var(--paper);
  padding: 0 14px;
  font-size: 14.5px;
  color: var(--ink);
  transition: border-color .15s ease, box-shadow .15s ease, background-color .15s ease;
}
.field input:focus {
  outline: none;
  border-color: var(--accent);
  box-shadow: 0 0 0 3px color-mix(in oklab, var(--accent) 30%, transparent);
}
.field input::placeholder { color: var(--muted); opacity: .8; }
.field .hint { font-size: 12px; color: var(--muted); margin-top: 2px; font-family: var(--font-mono); }
.field .err {
  font-size: 12.5px; color: var(--bad); margin-top: 2px;
  font-family: var(--font-mono);
  display: none;
}
.field.has-err input { border-color: var(--bad); }
.field.has-err .err { display: block; }

.auth-foot {
  display: flex; justify-content: space-between; align-items: center;
  margin-top: 22px;
  font-size: 13.5px;
  color: var(--muted);
}
.auth-foot a { color: var(--ink); font-weight: 500; }
.auth-foot a:hover { text-decoration: underline; }

.auth-back {
  position: absolute; top: 24px; left: 24px;
  font-size: 13px; color: var(--muted);
  display: inline-flex; align-items: center; gap: 8px;
}
.auth-back:hover { color: var(--ink); }
.auth-back svg { width: 14px; height: 14px; }

/* =========================================================
   Page header (for non-landing pages)
   ========================================================= */
.page-head {
  padding-top: clamp(64px, 8vw, 100px);
  padding-bottom: clamp(40px, 6vw, 72px);
}
.page-head .kicker { margin-bottom: 20px; }
.page-head h1 {
  font-size: clamp(40px, 6vw, 72px);
  line-height: 1.0;
  letter-spacing: -0.035em;
  font-weight: 600;
  margin-bottom: 20px;
  max-width: 14ch;
  text-wrap: balance;
}
.page-head .lead { max-width: 50ch; }

/* =========================================================
   Responsive
   ========================================================= */
@media (max-width: 980px) {
  .hero-grid { grid-template-columns: 1fr; gap: 56px; }
  .hero-right { border-top: 1px solid var(--line); padding-top: 40px; }
  .features-grid { grid-template-columns: repeat(2, 1fr); }
  .steps { grid-template-columns: repeat(2, 1fr); border: 0; }
  .step { border-right: 0; border-bottom: 1px solid var(--line); padding: 28px 0; }
  .step:nth-child(odd) { border-right: 1px solid var(--line); padding-right: 28px; }
  .step:nth-child(even) { padding-left: 28px; }
  .step:nth-last-child(-n+2) { border-bottom: 0; }
  .pricing-grid { grid-template-columns: 1fr; }
  .status-grid { grid-template-columns: repeat(2, 1fr); }
  .footer-grid { grid-template-columns: repeat(2, 1fr); gap: 32px; }
  .cta-strip { grid-template-columns: 1fr; }
}
@media (max-width: 768px) {
  .nav-links .nav-link.hide-mobile { display: none; }
  .nav-links { gap: 4px; }
}
@media (max-width: 480px) {
  .features-grid { grid-template-columns: 1fr; }
  .steps { grid-template-columns: 1fr; }
  .step, .step:nth-child(odd), .step:nth-child(even) { border-right: 0; padding: 24px 0; }
  .status-grid { grid-template-columns: 1fr; }
  .footer-grid { grid-template-columns: 1fr; gap: 28px; }
  .footer-bottom { flex-direction: column; align-items: flex-start; gap: 12px; }
  .auth-card { padding: 28px 22px; }
  .hero-meta { flex-wrap: wrap; }
}
