/* ═══════════════════════════════════════════════════════════════
   DinerGrid Landing v2 — Modern Pro (paper palette)
   Static port of landing-v2 from the Claude Design handoff bundle.
   ═══════════════════════════════════════════════════════════════ */

:root {
  --base:    #fafaf7;
  --paper:   #ffffff;
  --panel:   #f1f0eb;
  --ink:     #0e0e0c;
  --ink2:    #5b5b56;
  --ink3:    #8e8e87;
  --rule:    rgba(14,14,12,0.10);
  --rule2:   rgba(14,14,12,0.05);
  --accent:  #e0512c;
  --accent-ink: #ffffff;

  --font-display: 'Bricolage Grotesque', 'Geist', 'Inter Tight', system-ui, sans-serif;
  --font-body:    'Geist', 'Inter Tight', system-ui, sans-serif;
  --font-mono:    'JetBrains Mono', 'Geist Mono', ui-monospace, Menlo, monospace;

  --container: 1240px;
}

*, *::before, *::after { box-sizing: border-box; }
html, body { margin: 0; padding: 0; }
html { scroll-behavior: smooth; }
section[id] { scroll-margin-top: 72px; }

body {
  background: var(--base);
  color: var(--ink);
  font-family: var(--font-body);
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}

::selection { background: var(--accent); color: #fff; }

a { color: inherit; text-decoration: none; transition: opacity .15s; }
a:hover { opacity: 0.78; }

img, svg { display: block; max-width: 100%; }
button { font: inherit; cursor: pointer; }
ul { list-style: none; padding: 0; margin: 0; }

@keyframes dgPulse {
  0%, 100% { opacity: 1; transform: scale(1); }
  50%      { opacity: 0.45; transform: scale(0.85); }
}

@keyframes dgReveal {
  from { opacity: 0; transform: translateY(12px); }
  to   { opacity: 1; transform: translateY(0); }
}
.reveal { opacity: 0; transform: translateY(12px); transition: opacity .7s ease, transform .7s ease; }
.reveal.visible { opacity: 1; transform: none; }

/* ── Layout helpers ─────────────────────────────────────────── */
.container { max-width: var(--container); margin: 0 auto; padding: 0 28px; }
.section { padding: 120px 0; }
.section-tight { padding: 60px 0; }

/* ── Eyebrow + section title ────────────────────────────────── */
.eyebrow {
  display: inline-flex; align-items: center; gap: 8px;
  font-family: var(--font-mono); font-size: 11px; font-weight: 500;
  color: var(--ink2); letter-spacing: 0.2px; text-transform: uppercase;
}
.eyebrow::before {
  content: ""; width: 6px; height: 6px; background: var(--accent);
  transform: rotate(45deg); border-radius: 1.5px;
}
.eyebrow.is-accent { color: var(--accent); }
.eyebrow.is-light  { color: var(--ink3); }

.section-title {
  margin: 18px 0 0;
  font-family: var(--font-display); font-weight: 600;
  font-size: clamp(40px, 4.8vw, 60px);
  line-height: 1.02; letter-spacing: -1.8px;
  color: var(--ink); text-wrap: balance;
}
.section-title .muted { color: var(--ink2); }
.section-lead {
  margin: 22px auto 0; max-width: 480px;
  font-size: 16px; line-height: 1.55; color: var(--ink2); text-wrap: pretty;
}

/* ── Buttons ────────────────────────────────────────────────── */
.btn {
  display: inline-flex; align-items: center; gap: 8px;
  font-family: var(--font-body); font-weight: 600; letter-spacing: -0.1px;
  border-radius: 8px; padding: 10px 18px; font-size: 14px;
  border: none; text-decoration: none; cursor: pointer;
  transition: opacity .15s, transform .15s;
}
.btn:hover { opacity: 0.85; }
.btn:active { transform: translateY(1px); }
.btn:disabled,
.btn[disabled] {
  opacity: 0.4;
  cursor: not-allowed;
  pointer-events: none;
}
.btn-sm { padding: 8px 14px; font-size: 13px; }
.btn-lg { padding: 15px 26px; font-size: 15px; }
.btn-ink { background: var(--ink); color: var(--base); }
.btn-accent { background: var(--accent); color: var(--accent-ink); }
.btn-ghost { background: transparent; color: var(--ink); box-shadow: inset 0 0 0 1px var(--rule); }
.btn-plain { background: transparent; color: var(--ink); padding: 8px 0; }
.btn-tag {
  font-family: var(--font-mono); font-size: 11px;
  padding: 3px 8px; margin-left: 4px;
  background: rgba(255,255,255,0.12); border-radius: 4px;
}

/* ── Nav ────────────────────────────────────────────────────── */
.nav {
  position: sticky; top: 0; z-index: 50;
  background: rgba(250,250,247,0.85);
  -webkit-backdrop-filter: blur(14px) saturate(140%);
  backdrop-filter: blur(14px) saturate(140%);
  border-bottom: 1px solid var(--rule2);
}
.nav-inner {
  max-width: var(--container); margin: 0 auto; padding: 14px 28px;
  display: flex; align-items: center; justify-content: space-between; gap: 24px;
}
.nav-links { display: flex; align-items: center; gap: 28px; }
.nav-links a {
  color: var(--ink2); font-size: 13.5px; font-weight: 500;
}
.nav-cta { display: flex; align-items: center; gap: 8px; }
.nav-burger {
  display: none; background: transparent; border: none; padding: 6px;
  color: var(--ink);
}

/* ── Logo lockup ────────────────────────────────────────────── */
.logo {
  display: inline-flex; align-items: center; gap: 12px;
  color: var(--ink); text-decoration: none; line-height: 1;
}
.logo-mark { display: block; height: 22px; width: auto; color: var(--ink); }
.logo-word {
  font-family: var(--font-display); font-weight: 700;
  font-size: 24px; letter-spacing: -0.84px; line-height: 1;
}
.logo-word .accent { color: var(--accent); }

/* ── Hero ───────────────────────────────────────────────────── */
.hero { position: relative; overflow: hidden; border-bottom: 1px solid var(--rule2); }
.hero-grid-bg {
  position: absolute; inset: 0; pointer-events: none;
  background-image:
    linear-gradient(var(--rule2) 1px, transparent 1px),
    linear-gradient(90deg, var(--rule2) 1px, transparent 1px);
  background-size: 56px 56px;
  -webkit-mask-image: radial-gradient(ellipse 70% 60% at 50% 30%, #000 30%, transparent 75%);
          mask-image: radial-gradient(ellipse 70% 60% at 50% 30%, #000 30%, transparent 75%);
}
.hero-glow {
  position: absolute; left: 50%; top: 100px;
  width: 600px; height: 600px; transform: translateX(-50%);
  background: radial-gradient(circle, rgba(224,81,44,0.15), transparent 60%);
  filter: blur(60px); pointer-events: none;
}
.hero-content {
  position: relative; max-width: var(--container); margin: 0 auto;
  padding: 64px 28px 0; text-align: center;
}

.hero-pill {
  display: inline-flex; align-items: center; gap: 10px;
  padding: 5px 14px; border-radius: 999px;
  background: var(--paper); border: 1px solid var(--rule);
  font-size: 12.5px; font-weight: 500; color: var(--ink);
  margin-bottom: 28px;
}
.hero-pill-dot {
  width: 6px; height: 6px; border-radius: 999px; background: #22c55e;
  box-shadow: 0 0 0 3px rgba(34,197,94,0.18);
  animation: dgPulse 2s ease-in-out infinite;
}

.hero-h1 {
  margin: 0; font-family: var(--font-display); font-weight: 600;
  font-size: clamp(48px, 7vw, 104px);
  line-height: 0.96; letter-spacing: -3.2px;
  color: var(--ink); text-wrap: balance;
}
.hero-h1 span { display: block; }
.hero-h1 .muted { color: var(--ink2); }

.hero-sub {
  margin: 28px auto 0; max-width: 620px;
  font-size: 18px; line-height: 1.5; color: var(--ink2); text-wrap: pretty;
}

.hero-ctas {
  margin-top: 32px; display: flex; justify-content: center;
  gap: 10px; flex-wrap: wrap;
}

.hero-trust {
  margin-top: 24px; display: flex; justify-content: center; gap: 28px;
  flex-wrap: wrap; font-size: 13px; color: var(--ink2);
}
.trust-check {
  display: inline-flex; align-items: center; gap: 7px;
}
.trust-check svg { flex-shrink: 0; }

.hero-product {
  margin-top: 56px; position: relative; max-width: 1100px; margin-left: auto; margin-right: auto;
}
.hero-product-phone {
  position: absolute; right: -40px; bottom: -60px;
  transform: rotate(2deg);
  filter: drop-shadow(0 30px 60px rgba(0,0,0,0.25));
}

/* ── Dashboard mock ─────────────────────────────────────────── */
.dash {
  background: var(--paper); border-radius: 16px;
  border: 1px solid var(--rule);
  box-shadow: 0 40px 100px -30px rgba(0,0,0,0.20), 0 1px 0 var(--rule2);
  overflow: hidden; text-align: left;
}
.dash-chrome {
  display: flex; align-items: center; gap: 12px;
  padding: 12px 14px; border-bottom: 1px solid var(--rule2);
  background: var(--panel);
}
.dash-chrome-dots { display: flex; gap: 6px; }
.dash-chrome-dots span { width: 11px; height: 11px; border-radius: 999px; opacity: 0.55; }
.dash-chrome-url {
  flex: 1; max-width: 340px; padding: 5px 12px;
  background: var(--base); border-radius: 6px; border: 1px solid var(--rule2);
  font-family: var(--font-mono); font-size: 11px; color: var(--ink2);
}
.dash-chrome-url::before { content: "● "; color: var(--accent); }

.dash-app {
  display: grid; grid-template-columns: 200px 1fr;
  min-height: 480px; background: var(--base);
}
.dash-side {
  padding: 18px 14px; border-right: 1px solid var(--rule2); background: var(--panel);
}
.dash-side-label {
  font-family: var(--font-mono); font-size: 10px; color: var(--ink3);
  letter-spacing: 1.4px; text-transform: uppercase; margin: 0 8px 12px;
}
.dash-side-workspace {
  padding: 8px 10px; display: flex; justify-content: space-between; align-items: center;
  background: var(--base); border-radius: 6px; margin-bottom: 16px;
  border: 1px solid var(--rule2);
  font-size: 12.5px; color: var(--ink); font-weight: 600;
}
.dash-side-ws-left { display: flex; align-items: center; gap: 8px; }
.dash-side-ws-chip { width: 16px; height: 16px; border-radius: 4px; background: var(--accent); }
.dash-side-ws-caret { color: var(--ink3); font-size: 10px; }
.dash-side-item {
  display: flex; justify-content: space-between; align-items: center;
  padding: 7px 10px; border-radius: 6px;
  color: var(--ink2); font-size: 13px; font-weight: 500;
}
.dash-side-item.is-active {
  background: var(--base); color: var(--ink); font-weight: 600;
  box-shadow: inset 0 0 0 1px var(--rule2);
}
.dash-side-count {
  background: var(--accent); color: var(--accent-ink);
  font-family: var(--font-mono); font-size: 10px; padding: 1px 6px;
  border-radius: 999px; font-weight: 700;
}

.dash-main { padding: 22px 28px; }
.dash-main-head {
  display: flex; justify-content: space-between; align-items: flex-start; margin-bottom: 20px;
}
.dash-main-eyebrow {
  font-family: var(--font-mono); font-size: 10px; color: var(--ink3);
  letter-spacing: 1.4px; text-transform: uppercase;
}
.dash-main-title {
  margin-top: 4px; font-family: var(--font-display); font-weight: 600;
  font-size: 28px; color: var(--ink); letter-spacing: -0.6px; line-height: 1.1;
}
.dash-main-live {
  display: inline-flex; align-items: center; gap: 6px;
  padding: 4px 10px; border: 1px solid var(--rule2); border-radius: 6px;
  font-family: var(--font-mono); font-size: 10px; color: var(--ink);
}
.dash-main-live::before {
  content: ""; width: 6px; height: 6px; border-radius: 999px; background: #22c55e;
  animation: dgPulse 1.4s ease-in-out infinite;
}

.dash-stats {
  display: grid; grid-template-columns: repeat(4, 1fr); gap: 10px; margin-bottom: 18px;
}
.dash-stat {
  padding: 12px 14px; border-radius: 8px;
  border: 1px solid var(--rule2); background: var(--paper);
}
.dash-stat-label {
  font-family: var(--font-mono); font-size: 9.5px; color: var(--ink3);
  letter-spacing: 1px; text-transform: uppercase;
}
.dash-stat-value {
  margin-top: 4px; font-family: var(--font-display); font-weight: 600;
  font-size: 22px; color: var(--ink); letter-spacing: -0.5px; line-height: 1.1;
}
.dash-stat-delta {
  margin-top: 2px; font-family: var(--font-mono); font-size: 10px; color: var(--ink3);
}
.dash-stat-delta.is-up { color: #16a34a; }

.dash-chart {
  padding: 16px 16px 10px; border-radius: 8px;
  border: 1px solid var(--rule2); background: var(--paper); margin-bottom: 14px;
}
.dash-chart-head {
  display: flex; justify-content: space-between; align-items: center; margin-bottom: 8px;
  font-size: 12px; color: var(--ink); font-weight: 600;
}
.dash-chart-total { font-family: var(--font-mono); font-size: 10px; color: var(--ink2); font-weight: 400; }

.dash-orders {
  border: 1px solid var(--rule2); border-radius: 8px;
  background: var(--paper); overflow: hidden;
}
.dash-orders-head, .dash-orders-row {
  padding: 11px 14px;
  display: grid; grid-template-columns: 60px 50px 1fr 90px 90px; gap: 12px;
  align-items: center;
}
.dash-orders-head {
  padding: 10px 14px; border-bottom: 1px solid var(--rule2);
  font-family: var(--font-mono); font-size: 9.5px; color: var(--ink3);
  letter-spacing: 1px; text-transform: uppercase;
}
.dash-orders-row { font-size: 12.5px; color: var(--ink); border-top: 1px solid var(--rule2); }
.dash-orders-row:first-of-type { border-top: none; }
.dash-orders-row .mono { font-family: var(--font-mono); font-size: 11px; color: var(--ink2); }
.dash-orders-row .tbl { font-family: var(--font-mono); font-weight: 700; color: var(--ink); }
.dash-orders-row .items { overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.dash-orders-row .amt { text-align: right; font-family: var(--font-mono); font-weight: 600; color: var(--ink); }
.dash-orders-row .status {
  justify-self: end; padding: 3px 9px; border-radius: 999px;
  font-family: var(--font-mono); font-size: 9.5px; font-weight: 700; letter-spacing: 0.8px;
}
.status-new     { background: rgba(224,81,44,0.13); color: var(--accent); border: 1px solid rgba(224,81,44,0.27); }
.status-cooking { background: rgba(245,158,11,0.13); color: #f59e0b;        border: 1px solid rgba(245,158,11,0.27); }
.status-ready   { background: rgba(34,197,94,0.13);  color: #22c55e;        border: 1px solid rgba(34,197,94,0.27); }

/* ── Phone mock ─────────────────────────────────────────────── */
.phone {
  background: var(--ink); border-radius: 36px; padding: 8px;
  box-shadow: 0 1px 0 var(--rule2) inset;
}
.phone-screen {
  width: 100%; height: 100%; background: var(--base);
  border-radius: 28px; overflow: hidden; position: relative;
  display: flex; flex-direction: column;
}
.phone-notch {
  position: absolute; top: 10px; left: 50%; transform: translateX(-50%);
  width: 70px; height: 18px; background: var(--ink); border-radius: 999px; z-index: 5;
}
.phone-head { padding: 32px 18px 8px; }
.phone-head-eyebrow {
  font-family: var(--font-mono); font-size: 9px; letter-spacing: 1.4px;
  color: var(--ink3); text-transform: uppercase;
}
.phone-head-title {
  margin-top: 2px; font-family: var(--font-display); font-weight: 600;
  font-size: 20px; color: var(--ink); letter-spacing: -0.4px; line-height: 1.1;
}
.phone-cats { display: flex; gap: 6px; padding: 8px 16px 4px; }
.phone-cat {
  font-size: 10.5px; font-weight: 600;
  padding: 5px 10px; border-radius: 999px;
  background: var(--panel); color: var(--ink2); white-space: nowrap;
}
.phone-cat.is-active { background: var(--ink); color: var(--base); }
.phone-items { padding: 8px 16px; display: flex; flex-direction: column; gap: 8px; flex: 1; }
.phone-item {
  display: flex; gap: 10px; padding: 8px 0;
  border-bottom: 1px solid var(--rule2);
}
.phone-item:last-child { border-bottom: none; }
.phone-item-img {
  width: 44px; height: 44px; flex-shrink: 0;
  background: linear-gradient(135deg, var(--panel), var(--rule));
  border-radius: 6px; border: 1px solid var(--rule2);
}
.phone-item-meta { flex: 1; min-width: 0; }
.phone-item-name { font-size: 12.5px; font-weight: 600; color: var(--ink); }
.phone-item-note {
  margin-top: 1px; font-size: 10.5px; color: var(--ink2);
  overflow: hidden; text-overflow: ellipsis; white-space: nowrap;
}
.phone-item-price {
  margin-top: 3px; font-family: var(--font-mono); font-size: 10.5px; font-weight: 700; color: var(--ink);
}
.phone-item-add {
  width: 22px; height: 22px; border-radius: 999px;
  background: var(--accent); color: var(--accent-ink);
  font-size: 14px; line-height: 20px; text-align: center;
  flex-shrink: 0; align-self: center;
}
.phone-cart {
  margin: 10px; padding: 10px 14px; background: var(--ink); color: var(--base);
  border-radius: 10px; display: flex; justify-content: space-between; align-items: center;
  font-size: 12px; font-weight: 600;
}
.phone-cart-total { font-family: var(--font-mono); }

.phone-large { width: 310px; height: 620px; }
.phone-compact { width: 230px; height: 460px; }

/* ── Values ─────────────────────────────────────────────────── */
.values { padding-bottom: 60px; }
.values-head { max-width: 720px; text-align: center; margin: 0 auto 60px; }
.values-grid {
  display: grid; grid-template-columns: repeat(2, 1fr); gap: 1px;
  background: var(--rule); border: 1px solid var(--rule); border-radius: 16px; overflow: hidden;
}
.value-card {
  background: var(--base); padding: 36px;
}
.value-icon {
  width: 38px; height: 38px; border-radius: 10px;
  background: var(--panel); border: 1px solid var(--rule2);
  display: flex; align-items: center; justify-content: center;
  margin-bottom: 22px;
}
.value-kicker {
  font-family: var(--font-mono); font-size: 10.5px; color: var(--accent);
  letter-spacing: 1.2px; text-transform: uppercase; margin-bottom: 8px;
}
.value-title {
  margin: 0 0 12px; font-family: var(--font-display); font-weight: 600;
  font-size: 26px; line-height: 1.1; letter-spacing: -0.6px; color: var(--ink);
}
.value-body {
  margin: 0; font-size: 14.5px; line-height: 1.55; color: var(--ink2);
  text-wrap: pretty; max-width: 460px;
}

/* ── How it works ───────────────────────────────────────────── */
.how {
  border-top: 1px solid var(--rule2); border-bottom: 1px solid var(--rule2);
  background: var(--panel);
}
.how-head {
  display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
  gap: 60px; align-items: end; margin-bottom: 64px;
}
.how-head-text {
  margin: 0; font-size: 16px; line-height: 1.55; color: var(--ink2); text-wrap: pretty; max-width: 480px;
}
.how-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
.step {
  background: var(--base); border: 1px solid var(--rule2); border-radius: 12px;
  padding: 26px 28px; position: relative;
}
.step-head { display: flex; justify-content: space-between; align-items: center; }
.step-n {
  font-family: var(--font-mono); font-size: 11px; color: var(--accent);
  letter-spacing: 1.2px; font-weight: 700;
}
.step-time {
  font-family: var(--font-mono); font-size: 10.5px; color: var(--ink2);
  padding: 3px 9px; border: 1px solid var(--rule2); border-radius: 999px;
}
.step-title {
  margin: 20px 0 10px; font-family: var(--font-display); font-weight: 600;
  font-size: 24px; line-height: 1.1; letter-spacing: -0.5px; color: var(--ink);
}
.step-body { margin: 0; font-size: 14px; line-height: 1.55; color: var(--ink2); text-wrap: pretty; }

/* ── Product ────────────────────────────────────────────────── */
.product-head { max-width: 720px; text-align: center; margin: 0 auto 80px; }

.feature {
  margin-top: 60px;
  display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
  gap: 80px; align-items: center;
}
.feature.is-reverse .feature-text { order: -1; }
.feature-visual { display: flex; justify-content: center; }
.feature-kicker {
  display: inline-flex; align-items: center; gap: 8px;
  font-family: var(--font-mono); font-size: 11px; font-weight: 500;
  color: var(--accent); letter-spacing: 0.2px; text-transform: uppercase;
}
.feature-kicker::before {
  content: ""; width: 6px; height: 6px; background: var(--accent);
  transform: rotate(45deg); border-radius: 1.5px;
}
.feature-title {
  margin: 16px 0 18px; font-family: var(--font-display); font-weight: 600;
  font-size: clamp(34px, 3.6vw, 48px); line-height: 1.0; letter-spacing: -1.4px;
  color: var(--ink); text-wrap: balance;
}
.feature-body {
  margin: 0 0 24px; font-size: 16.5px; line-height: 1.55; color: var(--ink2);
  max-width: 460px; text-wrap: pretty;
}
.feature-bullets { display: flex; flex-direction: column; gap: 11px; }
.feature-bullets li {
  display: flex; align-items: flex-start; gap: 12px;
  font-size: 14.5px; line-height: 1.45; color: var(--ink);
}
.feature-bullets svg { margin-top: 3px; flex-shrink: 0; }

.small-grid {
  margin-top: 120px;
  display: grid; grid-template-columns: repeat(2, 1fr); gap: 20px;
}
.small-card {
  padding: 32px; background: var(--paper);
  border: 1px solid var(--rule2); border-radius: 14px;
}
.small-card-title {
  margin: 14px 0 10px; font-family: var(--font-display); font-weight: 600;
  font-size: 22px; line-height: 1.15; letter-spacing: -0.5px; color: var(--ink); text-wrap: balance;
}
.small-card-body { margin: 0; font-size: 14px; line-height: 1.55; color: var(--ink2); text-wrap: pretty; }

/* ── Dashboard mini ─────────────────────────────────────────── */
.dash-mini {
  background: var(--paper); border-radius: 12px; border: 1px solid var(--rule);
  padding: 14px; width: 100%; max-width: 500px;
  box-shadow: 0 30px 60px -20px rgba(0,0,0,0.18);
}
.dash-mini-head {
  display: flex; justify-content: space-between; align-items: center; margin-bottom: 12px;
}
.dash-mini-eyebrow {
  font-family: var(--font-mono); font-size: 10px; color: var(--ink3);
  letter-spacing: 1.2px; text-transform: uppercase;
}
.dash-mini-badge {
  font-family: var(--font-mono); font-size: 10px; color: var(--accent);
  padding: 2px 8px; border: 1px solid rgba(224,81,44,0.27); border-radius: 999px;
}
.dash-mini-stats { display: grid; grid-template-columns: repeat(3, 1fr); gap: 8px; }
.dash-mini-stat {
  padding: 12px 14px; border: 1px solid var(--rule2); border-radius: 8px; background: var(--base);
}
.dash-mini-stat-label {
  font-family: var(--font-mono); font-size: 9px; color: var(--ink3); letter-spacing: 1px; text-transform: uppercase;
}
.dash-mini-stat-value {
  font-family: var(--font-display); font-weight: 700; font-size: 22px;
  color: var(--ink); letter-spacing: -0.5px; margin-top: 4px; line-height: 1;
}
.dash-mini-stat-value.is-accent { color: var(--accent); }
.dash-mini-chart {
  margin-top: 12px; padding: 12px 14px;
  border: 1px solid var(--rule2); border-radius: 8px; background: var(--base);
}
.dash-mini-orders {
  margin-top: 10px; display: flex; flex-direction: column; gap: 1px;
  background: var(--rule2); border-radius: 6px; overflow: hidden;
}
.dash-mini-row {
  background: var(--base); padding: 8px 12px;
  display: grid; grid-template-columns: 40px 1fr 60px 70px; gap: 10px;
  font-size: 11.5px; color: var(--ink); align-items: center;
}
.dash-mini-row .tbl { font-family: var(--font-mono); font-weight: 700; }
.dash-mini-row .items { overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.dash-mini-row .amt { text-align: right; font-family: var(--font-mono); font-weight: 700; }
.dash-mini-row .status {
  justify-self: end; padding: 2px 7px; border-radius: 999px;
  font-family: var(--font-mono); font-size: 9px; font-weight: 700; letter-spacing: 0.6px;
}

/* ── Pricing ────────────────────────────────────────────────── */
.pricing {
  border-top: 1px solid var(--rule2); border-bottom: 1px solid var(--rule2);
  background: var(--panel);
}
.pricing-head { max-width: 720px; text-align: center; margin: 0 auto 36px; }
.bill-toggle-wrap { display: flex; justify-content: center; margin-bottom: 40px; }
.bill-toggle { display: inline-flex; align-items: center; gap: 12px; }
.bill-toggle-pill {
  display: inline-flex; padding: 4px; border-radius: 999px;
  background: var(--base); border: 1px solid var(--rule);
}
.bill-toggle-pill button {
  padding: 7px 18px; border-radius: 999px; border: none;
  background: transparent; color: var(--ink2);
  font-size: 13px; font-weight: 600;
}
.bill-toggle-pill button.is-active { background: var(--ink); color: var(--base); }
.bill-save {
  font-family: var(--font-mono); font-size: 11px; letter-spacing: 1.2px;
  padding: 5px 10px; border-radius: 6px;
  background: rgba(224,81,44,0.12); color: var(--accent);
  font-weight: 700; text-transform: uppercase;
}

.pricing-cards { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; }
.price-card {
  position: relative;
  background: var(--base); color: var(--ink);
  border: 1px solid var(--rule); border-radius: 16px;
  padding: 32px 30px 30px;
  display: flex; flex-direction: column;
}
.price-card.is-featured {
  background: var(--ink); color: var(--base); border-color: var(--ink);
  box-shadow: 0 40px 80px -30px rgba(0,0,0,0.35);
}
.price-card-badge {
  position: absolute; top: -12px; left: 50%; transform: translateX(-50%);
  padding: 5px 14px; border-radius: 999px;
  background: var(--accent); color: var(--accent-ink);
  font-family: var(--font-mono); font-size: 10px; letter-spacing: 1.4px;
  text-transform: uppercase; font-weight: 700;
}
.price-card-header { min-height: 240px; display: flex; flex-direction: column; }
.price-card-tier {
  margin: 0; font-family: var(--font-display); font-weight: 600; font-size: 22px;
  letter-spacing: -0.3px;
}
.price-card.is-featured .price-card-tier { color: var(--base); }
.price-card-amount {
  margin-top: 18px; display: flex; align-items: baseline; gap: 6px;
}
.price-card-amount .num {
  font-family: var(--font-display); font-weight: 700; font-size: 56px;
  line-height: 1; letter-spacing: -2.5px; color: var(--ink);
}
.price-card.is-featured .num { color: var(--base); }
.price-card-amount .per { font-size: 13px; color: var(--ink2); }
.price-card.is-featured .per { color: var(--ink3); }
.price-card-kicker {
  margin-top: 10px; font-size: 12px; font-weight: 500; color: var(--ink2);
}
.price-card.is-featured .price-card-kicker { color: var(--ink3); }
.price-card-tagline {
  margin: 14px 0 0; font-size: 13.5px; line-height: 1.55; color: var(--ink2); text-wrap: pretty;
}
.price-card.is-featured .price-card-tagline { color: var(--ink3); }
.price-card-cta {
  padding: 12px 18px; text-align: center;
  background: var(--ink); color: var(--base); text-decoration: none;
  font-size: 14px; font-weight: 600; border-radius: 10px;
}
.price-card.is-featured .price-card-cta { background: var(--accent); color: var(--accent-ink); }
.price-card-divider { margin: 24px 0 16px; height: 1px; background: var(--rule2); }
.price-card.is-featured .price-card-divider { background: var(--rule); }
.price-card-features { display: flex; flex-direction: column; gap: 9px; }
.price-card-features li {
  display: flex; align-items: flex-start; gap: 10px;
  font-size: 13.5px; line-height: 1.5; color: var(--ink);
}
.price-card.is-featured .price-card-features li { color: var(--base); }
.price-card-features svg { margin-top: 3px; flex-shrink: 0; }

/* ── FAQ ────────────────────────────────────────────────────── */
.faq-grid {
  display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.4fr); gap: 80px;
}
.faq-intro p {
  margin-top: 22px; font-size: 15.5px; line-height: 1.55;
  color: var(--ink2); text-wrap: pretty; max-width: 360px;
}
.faq-intro a { color: var(--accent); text-decoration: underline; }
.faq-item { border-top: 1px solid var(--rule); }
.faq-item:last-child { border-bottom: 1px solid var(--rule); }
.faq-q {
  width: 100%; background: transparent; border: none; cursor: pointer;
  padding: 22px 0; display: flex; justify-content: space-between; align-items: center;
  font-family: var(--font-display); font-weight: 600; font-size: 19px;
  color: var(--ink); letter-spacing: -0.3px; text-align: left;
}
.faq-icon {
  width: 24px; height: 24px; border-radius: 999px;
  background: var(--panel); color: var(--ink2);
  display: inline-flex; align-items: center; justify-content: center;
  font-size: 16px; font-weight: 400;
  transition: transform .15s, background .15s, color .15s;
  flex-shrink: 0;
}
.faq-item.is-open .faq-icon {
  background: var(--accent); color: var(--accent-ink);
  transform: rotate(45deg);
}
.faq-a {
  display: none; padding-bottom: 22px;
  font-size: 15px; line-height: 1.6; color: var(--ink2); max-width: 580px; text-wrap: pretty;
}
.faq-item.is-open .faq-a { display: block; }

/* ── Final CTA ──────────────────────────────────────────────── */
.final-cta { padding-bottom: 120px; }
.final-cta-card {
  position: relative; overflow: hidden; border-radius: 24px;
  background: var(--ink); color: var(--base);
  padding: 80px 56px;
}
.final-cta-grid {
  position: absolute; inset: 0;
  background-image:
    linear-gradient(rgba(255,255,255,0.04) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255,255,255,0.04) 1px, transparent 1px);
  background-size: 48px 48px;
  -webkit-mask-image: radial-gradient(ellipse 60% 50% at 50% 50%, #000, transparent 80%);
          mask-image: radial-gradient(ellipse 60% 50% at 50% 50%, #000, transparent 80%);
}
.final-cta-glow {
  position: absolute; left: 50%; top: 120%;
  width: 800px; height: 400px; transform: translateX(-50%);
  background: radial-gradient(ellipse, rgba(224,81,44,0.33), transparent 60%);
  filter: blur(60px);
}
.final-cta-inner {
  position: relative; text-align: center; max-width: 760px; margin: 0 auto;
}
.final-cta-h2 {
  margin: 20px 0 0; font-family: var(--font-display); font-weight: 600;
  font-size: clamp(46px, 6vw, 84px); line-height: 0.98; letter-spacing: -2.8px;
  color: var(--base); text-wrap: balance;
}
.final-cta-h2 .accent { color: var(--accent); }
.final-cta-actions {
  margin-top: 36px; display: flex; justify-content: center; gap: 10px; flex-wrap: wrap;
}
.final-cta-actions .btn-accent { padding: 16px 28px; border-radius: 10px; font-size: 15px; }
.final-cta-actions .btn-outline {
  padding: 16px 28px; border-radius: 10px;
  background: transparent; color: var(--base);
  box-shadow: inset 0 0 0 1px rgba(255,255,255,0.18);
  font-size: 15px; font-weight: 600; text-decoration: none;
  display: inline-flex; align-items: center; gap: 8px;
}
.final-cta-note {
  margin-top: 20px; font-size: 12.5px; color: var(--ink3);
}

/* ── Footer ─────────────────────────────────────────────────── */
.footer {
  border-top: 1px solid var(--rule2);
  background: var(--panel);
}
.footer-inner {
  max-width: var(--container); margin: 0 auto; padding: 56px 28px 36px;
}
.footer-grid {
  display: grid; grid-template-columns: 1.6fr 1fr 1fr 1fr 1fr; gap: 40px;
}
.footer-brand-blurb {
  margin-top: 16px; max-width: 280px;
  font-size: 13.5px; line-height: 1.55; color: var(--ink2);
}
.footer-socials { margin-top: 18px; display: flex; gap: 8px; }
.footer-socials a {
  width: 30px; height: 30px; border-radius: 8px;
  background: var(--base); border: 1px solid var(--rule2);
  color: var(--ink); font-family: var(--font-mono); font-size: 11px; font-weight: 700;
  display: inline-flex; align-items: center; justify-content: center;
}
.footer-col-h {
  font-family: var(--font-mono); font-size: 10px; letter-spacing: 1.4px;
  text-transform: uppercase; color: var(--ink3); margin-bottom: 14px;
}
.footer-col-links { display: flex; flex-direction: column; gap: 9px; }
.footer-col-links a { font-size: 13.5px; color: var(--ink); }
.footer-bottom {
  margin-top: 48px; padding-top: 22px; border-top: 1px solid var(--rule2);
  display: flex; justify-content: space-between; gap: 20px; flex-wrap: wrap;
  font-family: var(--font-mono); font-size: 11px; color: var(--ink3); letter-spacing: 0.2px;
}
.footer-bottom-status { display: inline-flex; gap: 16px; align-items: center; }
.footer-bottom-status .ok {
  display: inline-flex; align-items: center; gap: 6px;
}
.footer-bottom-status .ok::before {
  content: ""; width: 6px; height: 6px; border-radius: 999px; background: #22c55e;
}

/* ── Long-form article (legal pages) ────────────────────────── */
.prose {
  max-width: 760px;
  margin: 0 auto;
  font-family: var(--font-body);
  color: var(--ink);
}
.prose h1 {
  margin: 0 0 12px;
  font-family: var(--font-display); font-weight: 600;
  font-size: clamp(40px, 5vw, 56px);
  line-height: 1.02; letter-spacing: -1.8px;
  color: var(--ink);
}
.prose h2 {
  margin: 56px 0 14px;
  font-family: var(--font-display); font-weight: 600;
  font-size: 24px; line-height: 1.2; letter-spacing: -0.5px;
  color: var(--ink);
}
.prose h3 {
  margin: 36px 0 10px;
  font-family: var(--font-display); font-weight: 600;
  font-size: 18px; line-height: 1.2; letter-spacing: -0.3px;
  color: var(--ink);
}
.prose p {
  margin: 0 0 16px;
  font-size: 16px; line-height: 1.65; color: var(--ink2); text-wrap: pretty;
}
.prose ul, .prose ol {
  margin: 0 0 16px; padding-left: 24px; list-style-position: outside;
  color: var(--ink2);
}
.prose ul { list-style: disc; }
.prose ol { list-style: decimal; }
.prose li { margin-bottom: 6px; font-size: 16px; line-height: 1.6; }
.prose a {
  color: var(--accent); text-decoration: underline; text-underline-offset: 2px;
}
.prose .last-updated {
  display: inline-block; margin-bottom: 40px;
  font-family: var(--font-mono); font-size: 12px;
  color: var(--ink3); letter-spacing: 0.3px;
}
.prose-page {
  padding: 96px 0 120px;
}

/* ── Pricing comparison table ───────────────────────────────── */
.compare-table {
  margin-top: 96px;
  overflow-x: auto;
}
.compare-table h3 {
  text-align: center; margin: 0 0 36px;
  font-family: var(--font-display); font-weight: 600;
  font-size: clamp(28px, 3vw, 36px); letter-spacing: -1px; color: var(--ink);
}
.compare-table table {
  width: 100%; border-collapse: collapse;
  background: var(--base);
  border: 1px solid var(--rule);
  border-radius: 12px;
  overflow: hidden;
}
.compare-table th,
.compare-table td {
  padding: 14px 22px;
  text-align: left;
  font-size: 14px;
  border-bottom: 1px solid var(--rule2);
}
.compare-table tr:last-child th,
.compare-table tr:last-child td { border-bottom: none; }
.compare-table thead th {
  background: var(--panel); color: var(--ink); font-weight: 600;
  font-family: var(--font-mono); font-size: 11px;
  letter-spacing: 1.2px; text-transform: uppercase;
}
.compare-table thead th.is-popular {
  background: var(--ink); color: var(--accent);
}
.compare-table td:first-child {
  font-weight: 500; color: var(--ink);
}
.compare-table td { color: var(--ink2); font-family: var(--font-body); }
.compare-table .check { color: var(--accent); font-weight: 700; }
.compare-table .dash { color: var(--ink3); }

@media (max-width: 768px) {
  .compare-table th, .compare-table td { padding: 10px 14px; font-size: 13px; }
  .prose h2 { margin-top: 40px; }
}

/* ── Mobile drawer ──────────────────────────────────────────── */
.mobile-overlay {
  position: fixed; inset: 0; background: rgba(14,14,12,0.45);
  -webkit-backdrop-filter: blur(8px); backdrop-filter: blur(8px);
  z-index: 1001; opacity: 0; pointer-events: none;
  transition: opacity .3s ease;
}
.mobile-overlay.is-open { opacity: 1; pointer-events: auto; }
.mobile-drawer {
  position: fixed; top: 0; bottom: 0; right: -300px; width: 300px;
  background: var(--paper); z-index: 1002;
  padding: 24px 24px; display: flex; flex-direction: column; gap: 18px;
  transition: right .4s ease, box-shadow .3s ease;
}
.mobile-drawer.is-open {
  right: 0; box-shadow: -20px 0 40px rgba(0,0,0,0.12);
}
.mobile-drawer a {
  font-family: var(--font-display); font-weight: 600; font-size: 18px;
  color: var(--ink); padding: 6px 0; border-bottom: 1px solid var(--rule2);
}
.mobile-drawer .btn { justify-content: center; }

/* ── Mobile sticky CTA ──────────────────────────────────────── */
.sticky-cta { display: none; }
@media (max-width: 640px) {
  .sticky-cta {
    display: flex; position: fixed; left: 0; right: 0; bottom: 0;
    z-index: 900;
    padding: 12px 16px calc(12px + env(safe-area-inset-bottom));
    background: var(--paper);
    box-shadow: 0 -4px 20px rgba(0,0,0,0.10);
    transform: translateY(120%); transition: transform .3s ease;
  }
  .sticky-cta.is-visible { transform: translateY(0); }
  .sticky-cta .btn { width: 100%; justify-content: center; }
  body.has-sticky-cta .footer { padding-bottom: 80px; }
}

/* ── Responsive ─────────────────────────────────────────────── */
@media (max-width: 1024px) {
  .hero-product-phone { display: none; }
  .feature { grid-template-columns: 1fr; gap: 40px; }
  .feature.is-reverse .feature-text { order: 0; }
  .pricing-cards { grid-template-columns: 1fr; max-width: 480px; margin: 0 auto; }
  .faq-grid { grid-template-columns: 1fr; gap: 40px; }
  .footer-grid { grid-template-columns: repeat(3, 1fr); }
  .footer-brand { grid-column: 1 / -1; }
}

@media (max-width: 768px) {
  .section { padding: 80px 0; }
  .nav-links { display: none; }
  .nav-burger { display: inline-flex; }
  .hero-content { padding-top: 48px; }
  .hero-h1 { font-size: clamp(40px, 11vw, 64px); letter-spacing: -2px; }
  .hero-trust { gap: 16px; }
  .values-grid { grid-template-columns: 1fr; }
  .how-head { grid-template-columns: 1fr; gap: 24px; margin-bottom: 40px; }
  .how-grid { grid-template-columns: 1fr; }
  .small-grid { grid-template-columns: 1fr; margin-top: 60px; }
  .dash-app { grid-template-columns: 1fr; min-height: 0; }
  .dash-side { display: none; }
  .dash-main { padding: 16px; }
  .dash-stats { grid-template-columns: repeat(2, 1fr); }
  .dash-orders-head, .dash-orders-row { grid-template-columns: 50px 1fr 70px; gap: 8px; }
  .dash-orders-head .col-time,
  .dash-orders-head .col-status,
  .dash-orders-row .mono,
  .dash-orders-row .status { display: none; }
  .final-cta-card { padding: 56px 24px; }
  .footer-grid { grid-template-columns: repeat(2, 1fr); }
  .footer-brand { grid-column: 1 / -1; }
  .container { padding: 0 20px; }
  .nav-inner { padding: 12px 20px; }
}

/* ── Reduced motion ─────────────────────────────────────────── */
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after {
    animation-duration: 0.001ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.001ms !important;
  }
  .hero-pill-dot, .dash-main-live::before { animation: none; }
  .reveal { opacity: 1; transform: none; }
}
