/* ZNEX — public site
   Same visual language as znex-web-front's homepage: Geist, the
   #7367F0 → #00BAD1 brand gradient, zinc neutrals, light + dark.
   Plain CSS, no JS, no external requests. Responsive down to phone width. */

@font-face {
  font-family: "Geist";
  font-weight: 400 900;
  font-style: normal;
  font-display: swap;
  src: url("fonts/geist-variable-latin.woff2") format("woff2");
}

:root {
  --bg: #ffffff;
  --bg-soft: #fafafa;
  --bg-panel: #ffffff;
  --border: #f4f4f5;
  --border-strong: #e4e4e7;
  --text: #18181b;
  --text-dim: #71717a;
  --text-faint: #a1a1aa;

  --violet: #7367f0;
  --cyan: #00bad1;
  --brand-gradient: linear-gradient(135deg, #7367f0, #00bad1);
  --brand-gradient-rev: linear-gradient(135deg, #00bad1, #7367f0);

  --eyebrow-bg: #f5f3ff;
  --eyebrow-border: #ddd6fe;
  --eyebrow-text: #6d28d9;

  --green-bg: #f0fdf4;
  --green-text: #15803d;
  --amber-bg: #fffbeb;
  --amber-text: #b45309;
  --red-bg: #fef2f2;
  --red-text: #b91c1c;

  --ic-violet-bg: #ede9fe; --ic-violet-fg: #7c3aed;
  --ic-cyan-bg: #cffafe;   --ic-cyan-fg: #0891b2;
  --ic-blue-bg: #dbeafe;   --ic-blue-fg: #2563eb;
  --ic-emerald-bg: #d1fae5; --ic-emerald-fg: #059669;
  --ic-orange-bg: #ffedd5; --ic-orange-fg: #ea580c;
  --ic-rose-bg: #ffe4e6;   --ic-rose-fg: #e11d48;

  --grid-line: rgba(115, 103, 240, 0.07);
  --orb-opacity: 0.22;
  --wordmark-filter: none;
  --shadow-window: 0 30px 70px -20px rgba(24, 24, 27, 0.28);
  --shadow-panel: 0 20px 50px -24px rgba(24, 24, 27, 0.25);
}

@media (prefers-color-scheme: dark) {
  :root:not([data-theme="light"]) {
    --bg: #09090b;
    --bg-soft: #111113;
    --bg-panel: #131316;
    --border: #1f1f23;
    --border-strong: #27272a;
    --text: #fafafa;
    --text-dim: #a1a1aa;
    --text-faint: #71717a;

    --eyebrow-bg: rgba(46, 16, 101, 0.5);
    --eyebrow-border: #5b21b6;
    --eyebrow-text: #c4b5fd;

    --green-bg: rgba(5, 46, 22, 0.6);
    --green-text: #4ade80;
    --amber-bg: rgba(69, 26, 3, 0.6);
    --amber-text: #fbbf24;
    --red-bg: rgba(69, 10, 10, 0.6);
    --red-text: #f87171;

    --ic-violet-bg: rgba(76, 29, 149, 0.5); --ic-violet-fg: #a78bfa;
    --ic-cyan-bg: rgba(22, 78, 99, 0.5);    --ic-cyan-fg: #22d3ee;
    --ic-blue-bg: rgba(30, 58, 138, 0.5);   --ic-blue-fg: #60a5fa;
    --ic-emerald-bg: rgba(6, 78, 59, 0.5);  --ic-emerald-fg: #34d399;
    --ic-orange-bg: rgba(124, 45, 18, 0.5); --ic-orange-fg: #fb923c;
    --ic-rose-bg: rgba(136, 19, 55, 0.5);   --ic-rose-fg: #fb7185;

    --grid-line: rgba(115, 103, 240, 0.12);
    --orb-opacity: 0.18;
    --wordmark-filter: brightness(0) invert(1);
    --shadow-window: 0 30px 70px -20px rgba(0, 0, 0, 0.7);
    --shadow-panel: 0 20px 50px -24px rgba(0, 0, 0, 0.7);
  }
}

:root[data-theme="dark"] {
  --bg: #09090b;
  --bg-soft: #111113;
  --bg-panel: #131316;
  --border: #1f1f23;
  --border-strong: #27272a;
  --text: #fafafa;
  --text-dim: #a1a1aa;
  --text-faint: #71717a;

  --eyebrow-bg: rgba(46, 16, 101, 0.5);
  --eyebrow-border: #5b21b6;
  --eyebrow-text: #c4b5fd;

  --green-bg: rgba(5, 46, 22, 0.6);
  --green-text: #4ade80;
  --amber-bg: rgba(69, 26, 3, 0.6);
  --amber-text: #fbbf24;
  --red-bg: rgba(69, 10, 10, 0.6);
  --red-text: #f87171;

  --ic-violet-bg: rgba(76, 29, 149, 0.5); --ic-violet-fg: #a78bfa;
  --ic-cyan-bg: rgba(22, 78, 99, 0.5);    --ic-cyan-fg: #22d3ee;
  --ic-blue-bg: rgba(30, 58, 138, 0.5);   --ic-blue-fg: #60a5fa;
  --ic-emerald-bg: rgba(6, 78, 59, 0.5);  --ic-emerald-fg: #34d399;
  --ic-orange-bg: rgba(124, 45, 18, 0.5); --ic-orange-fg: #fb923c;
  --ic-rose-bg: rgba(136, 19, 55, 0.5);   --ic-rose-fg: #fb7185;

  --grid-line: rgba(115, 103, 240, 0.12);
  --orb-opacity: 0.18;
  --wordmark-filter: brightness(0) invert(1);
  --shadow-window: 0 30px 70px -20px rgba(0, 0, 0, 0.7);
  --shadow-panel: 0 20px 50px -24px rgba(0, 0, 0, 0.7);
}

* { box-sizing: border-box; }

html { background: var(--bg); scroll-behavior: smooth; }

body {
  margin: 0;
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  font-family: "Geist", -apple-system, BlinkMacSystemFont, "Segoe UI", Helvetica, Arial, sans-serif;
  background: var(--bg);
  color: var(--text);
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}

p { margin: 0; }
h1, h2, h3 { margin: 0; }
ul, ol { margin: 0; padding: 0; list-style: none; }
svg { display: block; }

.container {
  width: 100%;
  max-width: 1280px;
  margin-inline: auto;
  padding-inline: 48px;
}

.gradient-text {
  background: var(--brand-gradient);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}

.gradient-text-rev {
  background: var(--brand-gradient-rev);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}

.mono { font-variant-numeric: tabular-nums; }

/* ------------------------------------------------------------------ */
/* Header                                                              */
/* ------------------------------------------------------------------ */
.site-header {
  position: sticky;
  top: 0;
  z-index: 10;
  border-bottom: 1px solid var(--border);
  background: color-mix(in srgb, var(--bg) 80%, transparent);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
}

.header-row {
  height: 72px;
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.brand { display: flex; align-items: center; gap: 10px; }
.brand-mark { display: block; width: auto; height: 32px; }
.brand-text { display: block; width: auto; height: 20px; filter: var(--wordmark-filter); }

.site-nav {
  display: flex;
  gap: 28px;
  font-size: 14px;
  font-weight: 500;
  color: var(--text-dim);
}

/* ------------------------------------------------------------------ */
/* Hero                                                                */
/* ------------------------------------------------------------------ */
.hero {
  position: relative;
  padding-block: 72px 96px;
  overflow: hidden;
}

.hero-bg { position: absolute; inset: 0; pointer-events: none; }

.grid-fade {
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(to right, var(--grid-line) 1px, transparent 1px),
    linear-gradient(to bottom, var(--grid-line) 1px, transparent 1px);
  background-size: 44px 44px;
  mask-image: radial-gradient(ellipse 70% 65% at 50% 0%, #000 30%, transparent 78%);
  -webkit-mask-image: radial-gradient(ellipse 70% 65% at 50% 0%, #000 30%, transparent 78%);
}

.orb {
  position: absolute;
  width: 640px;
  height: 640px;
  border-radius: 50%;
  filter: blur(130px);
  opacity: var(--orb-opacity);
}

.orb-violet { top: -240px; left: -180px; background: #7367f0; }
.orb-cyan { top: 30%; right: -260px; background: #00bad1; }

.hero-grid {
  position: relative;
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
  gap: 72px;
  align-items: center;
}

.hero-copy { display: flex; flex-direction: column; align-items: flex-start; }

.eyebrow {
  margin-bottom: 28px;
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 6px 14px;
  border-radius: 999px;
  border: 1px solid var(--eyebrow-border);
  background: var(--eyebrow-bg);
  color: var(--eyebrow-text);
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.eyebrow .pulse-dot, .eyebrow .pulse-dot::after { background: var(--violet); }

.headline {
  font-size: clamp(44px, 5vw, 76px);
  font-weight: 900;
  line-height: 1.04;
  letter-spacing: -0.025em;
}

.headline .line { display: block; }

.lede {
  margin-top: 24px;
  max-width: 32em;
  font-size: clamp(17px, 1.15vw, 21px);
  line-height: 1.6;
  color: var(--text-dim);
  text-wrap: pretty;
}

.pulse-dot {
  position: relative;
  flex-shrink: 0;
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: #fff;
}

.pulse-dot::after {
  content: "";
  position: absolute;
  inset: 0;
  border-radius: 50%;
  background: inherit;
  animation: ping 1.8s cubic-bezier(0, 0, 0.2, 1) infinite;
}

@keyframes ping {
  75%, 100% { transform: scale(2.6); opacity: 0; }
}

@media (prefers-reduced-motion: reduce) {
  .pulse-dot::after { animation: none; }
  html { scroll-behavior: auto; }
}

.stats {
  margin-top: 44px;
  padding-top: 28px;
  width: 100%;
  border-top: 1px solid var(--border-strong);
  display: grid;
  grid-template-columns: repeat(4, max-content);
  justify-content: space-between;
  column-gap: 24px;
  row-gap: 18px;
}

.stat { display: flex; flex-direction: column; gap: 4px; }
.stat-value { font-size: 20px; font-weight: 900; line-height: 1.15; letter-spacing: -0.01em; }
.stat-label { font-size: 12px; font-weight: 500; color: var(--text-dim); white-space: nowrap; }

/* Mac-style product preview */
.hero-visual { position: relative; }

.visual-glow {
  position: absolute;
  inset: -28px;
  border-radius: 44px;
  opacity: 0.22;
  filter: blur(36px);
  background: var(--brand-gradient);
}

.mac-window {
  position: relative;
  border-radius: 20px;
  overflow: hidden;
  border: 1px solid var(--border-strong);
  background: var(--bg-panel);
  box-shadow: var(--shadow-window);
}

.mac-titlebar {
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 12px 18px;
  border-bottom: 1px solid var(--border);
  background: var(--bg-soft);
}

.mac-dot { width: 11px; height: 11px; border-radius: 50%; }
.mac-dot-red { background: #ff5f57; }
.mac-dot-amber { background: #febc2e; }
.mac-dot-green { background: #28c840; }

.mac-title { margin-left: 10px; font-size: 12px; font-weight: 600; color: var(--text-dim); }

.mac-tag {
  margin-left: auto;
  padding: 2px 10px;
  border-radius: 999px;
  font-size: 10px;
  font-weight: 700;
  background: var(--eyebrow-bg);
  color: var(--eyebrow-text);
}

.mac-body { padding: 20px; display: flex; flex-direction: column; gap: 14px; }

.kpi-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 12px; }

.kpi-card {
  border: 1px solid var(--border);
  background: var(--bg-soft);
  border-radius: 14px;
  padding: 12px 14px;
}

.kpi-label {
  font-size: 10.5px;
  font-weight: 500;
  color: var(--text-faint);
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.kpi-value { margin-top: 6px; font-size: 19px; font-weight: 900; line-height: 1; font-variant-numeric: tabular-nums; }

.kpi-delta {
  margin-top: 7px;
  font-size: 10.5px;
  font-weight: 700;
  color: var(--green-text);
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.chart-card { border: 1px solid var(--border); border-radius: 14px; padding: 14px 16px; }
.chart-head { display: flex; align-items: center; justify-content: space-between; margin-bottom: 6px; }
.chart-title { font-size: 12px; font-weight: 700; color: var(--text-dim); }
.chart-legend { display: flex; gap: 12px; font-size: 10.5px; font-weight: 500; color: var(--text-dim); }
.legend-item { display: inline-flex; align-items: center; gap: 5px; }
.legend-dot { width: 8px; height: 8px; border-radius: 50%; }
.legend-dot-actual { background: var(--violet); }
.legend-dot-plan { background: var(--cyan); }
.chart-svg { display: block; width: 100%; height: auto; }
.chart-gridline { stroke: var(--border-strong); stroke-width: 1; }
.chart-line-plan { stroke: var(--cyan); }
.chart-line-actual { stroke: var(--violet); }
.chart-endpoint { fill: var(--violet); }

.chart-foot {
  margin-top: 4px;
  display: flex;
  justify-content: flex-end;
  gap: 16px;
  font-size: 10.5px;
  font-weight: 700;
  color: var(--text-dim);
  font-variant-numeric: tabular-nums;
}

.entity-list { border: 1px solid var(--border); border-radius: 14px; overflow: hidden; }

.entity-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 10px 16px;
  border-bottom: 1px solid var(--border);
}

.entity-row:last-child { border-bottom: none; }
.entity-code { font-size: 12px; font-weight: 600; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }

.entity-chip, .chip {
  flex-shrink: 0;
  margin-left: 12px;
  padding: 2px 10px;
  border-radius: 999px;
  font-size: 10.5px;
  font-weight: 700;
  white-space: nowrap;
}

.entity-chip-ok, .chip-ok { background: var(--green-bg); color: var(--green-text); }
.entity-chip-warn, .chip-warn { background: var(--amber-bg); color: var(--amber-text); }
.entity-chip-late, .chip-late { background: var(--red-bg); color: var(--red-text); }
.chip-violet { background: var(--eyebrow-bg); color: var(--eyebrow-text); }

.sample-tag {
  align-self: flex-end;
  margin-top: 4px;
  font-size: 10px;
  font-weight: 500;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: var(--text-faint);
}

.sample-tag-center { display: block; text-align: center; margin-top: 12px; }

/* ------------------------------------------------------------------ */
/* Sections                                                            */
/* ------------------------------------------------------------------ */
.section { padding-block: 88px; }
.section-soft { background: var(--bg-soft); }

.section-head { max-width: 720px; margin-inline: auto; text-align: center; margin-bottom: 56px; }

.kicker {
  margin-bottom: 12px;
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
}

.kicker-violet { color: var(--violet); }
.kicker-cyan { color: var(--cyan); }

.section-title { font-size: clamp(30px, 3vw, 40px); font-weight: 900; letter-spacing: -0.02em; line-height: 1.12; }

.section-lede { margin-top: 16px; font-size: 17px; line-height: 1.6; color: var(--text-dim); text-wrap: pretty; }

/* Pillars */
.pillars { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 24px; }

.pillar {
  position: relative;
  padding: 28px;
  border-radius: 22px;
  border: 1px solid var(--border-strong);
  background: var(--bg-panel);
  transition: transform 160ms ease, box-shadow 160ms ease;
}

.pillar:hover { transform: translateY(-3px); box-shadow: var(--shadow-panel); }

.pillar h3 { margin-top: 20px; font-size: 20px; font-weight: 800; letter-spacing: -0.01em; }
.pillar > p { margin-top: 8px; font-size: 14px; line-height: 1.55; color: var(--text-dim); }

.pillar ul { margin-top: 18px; padding-top: 18px; border-top: 1px solid var(--border); display: flex; flex-direction: column; gap: 9px; }

.pillar li {
  position: relative;
  padding-left: 18px;
  font-size: 13.5px;
  line-height: 1.45;
  color: var(--text);
}

.pillar li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 8px;
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--brand-gradient);
}

.pillar-icon, .feature-icon {
  width: 48px;
  height: 48px;
  border-radius: 14px;
  display: grid;
  place-items: center;
}

.pillar-icon svg, .feature-icon svg {
  width: 24px;
  height: 24px;
  fill: none;
  stroke: currentColor;
  stroke-width: 1.75;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.icon-violet { background: var(--ic-violet-bg); color: var(--ic-violet-fg); }
.icon-cyan { background: var(--ic-cyan-bg); color: var(--ic-cyan-fg); }
.icon-blue { background: var(--ic-blue-bg); color: var(--ic-blue-fg); }
.icon-emerald { background: var(--ic-emerald-bg); color: var(--ic-emerald-fg); }
.icon-orange { background: var(--ic-orange-bg); color: var(--ic-orange-fg); }
.icon-rose { background: var(--ic-rose-bg); color: var(--ic-rose-fg); }

/* Feature rows */
.feature-row {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
  gap: 72px;
  align-items: center;
}

.feature-copy { display: flex; flex-direction: column; align-items: flex-start; }
.feature-title { margin-top: 22px; font-size: clamp(26px, 2.4vw, 32px); font-weight: 900; letter-spacing: -0.02em; line-height: 1.15; }
.feature-lede { margin-top: 16px; font-size: 16px; line-height: 1.65; color: var(--text-dim); text-wrap: pretty; }

.check-list { margin-top: 24px; display: flex; flex-direction: column; gap: 12px; }

.check-list li {
  position: relative;
  padding-left: 28px;
  font-size: 14.5px;
  line-height: 1.5;
}

.check-list li::before {
  content: "";
  position: absolute;
  left: 3px;
  top: 3px;
  width: 6px;
  height: 11px;
  border-right: 2.5px solid currentColor;
  border-bottom: 2.5px solid currentColor;
  transform: rotate(45deg);
}

.check-violet li::before { color: var(--violet); }
.check-cyan li::before { color: var(--cyan); }

.feature-visual { position: relative; }

/* Generic panel used by the showcases */
.panel {
  position: relative;
  padding: 20px;
  border-radius: 20px;
  border: 1px solid var(--border-strong);
  background: var(--bg-panel);
  box-shadow: var(--shadow-panel);
  display: flex;
  flex-direction: column;
  gap: 14px;
}

.panel-head { display: flex; align-items: center; justify-content: space-between; }
.panel-title { font-size: 13px; font-weight: 700; color: var(--text-dim); }

.panel-foot {
  display: flex;
  justify-content: space-between;
  padding-top: 12px;
  border-top: 1px solid var(--border);
  font-size: 11.5px;
  font-weight: 600;
  color: var(--text-dim);
}

/* Job steps */
.steps { display: flex; flex-direction: column; gap: 6px; }

.step {
  display: grid;
  grid-template-columns: 24px 1fr auto;
  align-items: center;
  gap: 12px;
  padding: 9px 12px;
  border-radius: 12px;
  background: var(--bg-soft);
  font-size: 13px;
}

.step-no {
  width: 22px;
  height: 22px;
  border-radius: 50%;
  display: grid;
  place-items: center;
  font-size: 10.5px;
  font-weight: 800;
  color: #fff;
  background: var(--brand-gradient);
}

.step-name { font-weight: 600; }
.step-meta { font-size: 11px; color: var(--text-faint); font-variant-numeric: tabular-nums; white-space: nowrap; }

/* Chat */
.chat-panel { gap: 12px; }

.chat-bubble {
  max-width: 88%;
  padding: 12px 16px;
  border-radius: 18px;
  font-size: 14px;
  line-height: 1.5;
}

.chat-user {
  align-self: flex-end;
  color: #fff;
  background: var(--brand-gradient);
  border-bottom-right-radius: 6px;
}

.chat-ai {
  align-self: flex-start;
  background: var(--bg-soft);
  border: 1px solid var(--border);
  border-bottom-left-radius: 6px;
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.mini-table { width: 100%; border-collapse: collapse; font-size: 13px; }
.mini-table td { padding: 5px 0; border-top: 1px solid var(--border); }
.mini-table td.num { text-align: right; font-weight: 700; font-variant-numeric: tabular-nums; padding-left: 12px; }
.mini-table td.dim { color: var(--text-faint); font-weight: 500; }

.provenance {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-size: 11px;
  font-weight: 600;
  color: var(--text-faint);
}

.provenance svg { width: 12px; height: 12px; fill: none; stroke: currentColor; stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; }

.chat-chips { display: flex; flex-wrap: wrap; gap: 8px; }

.chat-chips span {
  padding: 6px 12px;
  border-radius: 999px;
  border: 1px solid var(--border-strong);
  font-size: 12px;
  font-weight: 600;
  color: var(--text-dim);
}

/* Process flow */
.flow { display: flex; align-items: center; gap: 8px; padding-bottom: 6px; }

.flow-node {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 6px;
  font-size: 11px;
  font-weight: 600;
  color: var(--text-faint);
}

.flow-dot {
  width: 30px;
  height: 30px;
  border-radius: 50%;
  display: grid;
  place-items: center;
  font-size: 12px;
  font-weight: 800;
  border: 1px solid var(--border-strong);
}

.flow-done .flow-dot { color: #fff; border: none; background: var(--brand-gradient); }
.flow-done { color: var(--text-dim); }
.flow-current .flow-dot { border: 2px solid var(--violet); color: var(--eyebrow-text); background: var(--eyebrow-bg); }
.flow-current { color: var(--eyebrow-text); }

.flow-link { flex: 1; height: 2px; margin-bottom: 22px; background: var(--border-strong); border-radius: 2px; }
.flow-link-done { background: var(--violet); opacity: 0.6; }

.approval {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 12px 14px;
  border-radius: 14px;
  border: 1px solid var(--border);
  background: var(--bg-soft);
}

.approval-muted { opacity: 0.7; }
.approval-title { font-size: 13.5px; font-weight: 700; }
.approval-meta { margin-top: 2px; font-size: 11px; color: var(--text-faint); }

.approval-actions { display: flex; gap: 10px; margin-top: -4px; }

.btn {
  padding: 8px 16px;
  border-radius: 12px;
  font-size: 13px;
  font-weight: 700;
  user-select: none;
  cursor: default;
}

.btn-primary { color: #fff; background: var(--brand-gradient); }
.btn-ghost { color: var(--text-dim); border: 1px solid var(--border-strong); }

/* Excel + phone */
.device-row { display: grid; grid-template-columns: minmax(0, 1.5fr) minmax(0, 1fr); gap: 20px; align-items: end; }

.sheet-panel { gap: 10px; }

.sheet { width: 100%; border-collapse: collapse; font-size: 12px; }
.sheet th, .sheet td { border: 1px solid var(--border-strong); padding: 5px 8px; text-align: left; }
.sheet th { background: var(--bg-soft); color: var(--text-faint); font-weight: 600; font-size: 10.5px; }
.sheet td.rh { background: var(--bg-soft); color: var(--text-faint); font-size: 10.5px; width: 22px; text-align: center; }
.sheet td.num { text-align: right; font-variant-numeric: tabular-nums; }
.sheet td.sel { outline: 2px solid var(--violet); outline-offset: -2px; font-weight: 700; }
.sheet-foot { font-size: 11px; color: var(--text-faint); font-family: ui-monospace, SFMono-Regular, Menlo, monospace; }

.phone {
  border-radius: 28px;
  border: 1px solid var(--border-strong);
  background: var(--bg-panel);
  box-shadow: var(--shadow-panel);
  padding: 14px;
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.phone-top {
  padding: 6px 8px 2px;
  font-size: 11px;
  font-weight: 700;
  color: var(--text-dim);
  text-align: center;
}

.phone-kpi { padding: 12px; border-radius: 14px; background: var(--bg-soft); border: 1px solid var(--border); }
.phone-kpi .kpi-value { font-size: 22px; }

.phone-list { display: flex; flex-direction: column; gap: 6px; }

.phone-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 8px 10px;
  border-radius: 12px;
  border: 1px solid var(--border);
  font-size: 12px;
  font-weight: 600;
}

.phone-tabs {
  display: flex;
  justify-content: space-around;
  padding-top: 8px;
  border-top: 1px solid var(--border);
  font-size: 10.5px;
  font-weight: 600;
  color: var(--text-faint);
}

.phone-tabs .on { color: var(--violet); }

/* How it works */
.how-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 24px; }

.how-card {
  padding: 28px;
  border-radius: 22px;
  border: 1px solid var(--border-strong);
  background: var(--bg-panel);
}

.how-no {
  display: inline-grid;
  place-items: center;
  width: 48px;
  height: 48px;
  border-radius: 14px;
  font-size: 14px;
  font-weight: 900;
  color: #fff;
}

.how-no-1 { background: linear-gradient(135deg, #7367f0, #9c44dc); }
.how-no-2 { background: linear-gradient(135deg, #8e6cf0, #00bad1); }
.how-no-3 { background: linear-gradient(135deg, #00bad1, #00a798); }

.how-card h3 { margin-top: 20px; font-size: 18px; font-weight: 800; }
.how-card p { margin-top: 8px; font-size: 14px; line-height: 1.6; color: var(--text-dim); }

/* Closing band */
.band { padding-inline: 48px; padding-bottom: 88px; }

.band-inner {
  padding: 64px 48px;
  border-radius: 28px;
  background: var(--brand-gradient);
  color: #fff;
  text-align: center;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 16px;
}

.band h2 { font-size: clamp(26px, 3vw, 36px); font-weight: 900; letter-spacing: -0.02em; }
.band p { max-width: 36em; font-size: 16px; line-height: 1.6; color: rgba(255, 255, 255, 0.85); }

.launch-pill {
  margin-top: 8px;
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 12px 22px 12px 18px;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.16);
  border: 1px solid rgba(255, 255, 255, 0.35);
  color: #fff;
  font-size: 15px;
  font-weight: 700;
  letter-spacing: 0.01em;
  cursor: default;
  user-select: none;
}

/* Footer */
.site-footer { border-top: 1px solid var(--border); background: var(--bg); }

.footer-row {
  min-height: 64px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  font-size: 13px;
  color: var(--text-faint);
}

.footer-brand { display: inline-flex; align-items: center; gap: 10px; }
.footer-brand img { display: block; width: auto; height: 16px; }

/* ------------------------------------------------------------------ */
/* Responsive                                                          */
/* ------------------------------------------------------------------ */
@media (max-width: 1024px) {
  .container { padding-inline: 32px; }
  .band { padding-inline: 32px; }
  .hero-grid, .feature-row { gap: 48px; }
  .pillars, .how-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}

@media (max-width: 880px) {
  .site-nav { display: none; }
  .hero { padding-block: 48px 64px; }
  .hero-grid { grid-template-columns: 1fr; }
  .feature-row { grid-template-columns: 1fr; gap: 40px; }
  .feature-row-reverse .feature-visual { order: 2; }
  .feature-row-reverse .feature-copy { order: 1; }
  .section { padding-block: 64px; }
  .stats { grid-template-columns: repeat(2, max-content); }
}

@media (max-width: 640px) {
  .container { padding-inline: 16px; }
  .band { padding-inline: 16px; padding-bottom: 64px; }
  .band-inner { padding: 44px 24px; border-radius: 22px; }
  .pillars, .how-grid { grid-template-columns: 1fr; }
  .device-row { grid-template-columns: 1fr; }
  .phone { max-width: 320px; }
  .kpi-grid { grid-template-columns: 1fr; }
  .mac-body { padding: 14px; }
  .chat-bubble { max-width: 100%; }
  .step { grid-template-columns: 24px 1fr; }
  .step-meta { grid-column: 2; }
  .footer-row { flex-direction: column; align-items: flex-start; gap: 6px; padding-block: 16px; }
  .headline { font-size: 40px; }
}
