/* ─────────────────────────────────────────────────────────
   ShieldDesk landing — design tokens & global styles
   Visual direction: Light + editorial, sky-blue accent, restrained motion
   Static build — no framework, no inline styles.
   ───────────────────────────────────────────────────────── */

:root {
  /* Surfaces */
  --bg: #ffffff;
  --bg-warm: #faf9f7;
  --bg-soft: #f5f4f0;
  --bg-ink: #0a0a0a;

  /* Ink */
  --ink: #0a0a0a;
  --ink-2: #1c1c1c;
  --ink-3: #3a3a3a;
  --muted: #6b6b6b;
  --muted-2: #999998;
  --line: #e8e7e3;
  --line-strong: #d4d3cf;

  /* Accent — sky blue */
  --accent: #0ea5e9;
  --accent-2: #0284c7;
  --accent-soft: color-mix(in oklch, var(--accent) 8%, transparent);
  --accent-tint: color-mix(in oklch, var(--accent) 14%, white);
  --accent-ink: color-mix(in oklch, var(--accent) 75%, black);

  /* Status colors (kept consistent across themes) */
  --status-spam: #b91c1c;
  --status-spam-soft: #fee2e2;
  --status-refund: #b45309;
  --status-refund-soft: #fef3c7;
  --status-shipping: #1d4ed8;
  --status-shipping-soft: #dbeafe;
  --status-resolved: #15803d;
  --status-resolved-soft: #dcfce7;
  --status-product: #6b21a8;
  --status-product-soft: #f3e8ff;

  /* Neutral surfaces for inline-extracted bits */
  --neutral-soft: #f5f5f4;
  --neutral-soft-ink: #525252;
  --neutral-meta-ink: #9a9a96;

  /* Type */
  --font-display: "Instrument Serif", "Times New Roman", Georgia, serif;
  --font-ui: "Geist", "Söhne", -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  --font-mono: "Geist Mono", "JetBrains Mono", ui-monospace, monospace;

  /* Spacing */
  --section-y: clamp(96px, 12vw, 180px);
  --gutter: clamp(20px, 4vw, 48px);
  --maxw: 1320px;

  /* Motion */
  --motion: 1;
}

/* Reset-ish */
*, *::before, *::after { box-sizing: border-box; }
html, body { margin: 0; padding: 0; }
html { scroll-behavior: smooth; -webkit-font-smoothing: antialiased; -moz-osx-font-smoothing: grayscale; }
body {
  font-family: var(--font-ui);
  font-size: 17px;
  line-height: 1.55;
  color: var(--ink);
  background: var(--bg);
  font-feature-settings: "ss01", "cv11";
  text-rendering: optimizeLegibility;
  overflow-x: hidden;
}

img, svg { display: block; max-width: 100%; }
button { font: inherit; color: inherit; cursor: pointer; }
a { color: inherit; text-decoration: none; }

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

/* ─── Type ──────────────────────────────────────────── */
.display {
  font-family: var(--font-display);
  font-weight: 400;
  letter-spacing: -0.02em;
  line-height: 0.95;
}
.serif-italic { font-style: italic; font-family: var(--font-display); font-weight: 400; }

.eyebrow {
  font-family: var(--font-mono);
  font-size: 11.5px;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--muted);
  display: inline-flex;
  align-items: center;
  gap: 8px;
}
.eyebrow::before {
  content: "";
  width: 6px; height: 6px; border-radius: 50%;
  background: var(--accent);
  box-shadow: 0 0 0 4px var(--accent-soft);
  animation: dotPulse 2.4s ease-in-out infinite calc(var(--motion) * 1s);
  flex: none;
}
@keyframes dotPulse {
  0%, 100% { box-shadow: 0 0 0 0 var(--accent-soft); }
  50% { box-shadow: 0 0 0 6px transparent; }
}

.mono { font-family: var(--font-mono); font-size: 12.5px; letter-spacing: 0; }

/* ─── Layout ─────────────────────────────────────────── */
.wrap {
  width: 100%;
  max-width: var(--maxw);
  margin: 0 auto;
  padding: 0 var(--gutter);
}
.section { padding: var(--section-y) 0; position: relative; }
.section + .section { border-top: 1px solid var(--line); }

.section-label {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  padding-bottom: 32px;
  border-bottom: 1px solid var(--line);
  margin-bottom: 48px;
}
.section-label .num {
  font-family: var(--font-mono);
  font-size: 11.5px;
  letter-spacing: 0.12em;
  color: var(--muted);
}

/* ─── Buttons ─────────────────────────────────────── */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 14px 22px;
  border-radius: 999px;
  font-size: 14.5px;
  font-weight: 500;
  letter-spacing: -0.005em;
  border: 1px solid transparent;
  background: transparent;
  transition: transform .2s ease, background .2s ease, color .2s ease, border-color .2s ease, box-shadow .2s ease;
  white-space: nowrap;
}
.btn-primary {
  background: var(--ink);
  color: white;
  border-color: var(--ink);
}
.btn-primary:hover {
  background: var(--accent);
  border-color: var(--accent);
  transform: translateY(-1px);
  box-shadow: 0 8px 24px -8px var(--accent);
}
.btn-secondary {
  background: white;
  border-color: var(--line-strong);
  color: var(--ink);
}
.btn-secondary:hover {
  border-color: var(--ink);
  transform: translateY(-1px);
}
.btn .arrow {
  display: inline-block;
  transition: transform .2s ease;
}
.btn:hover .arrow { transform: translateX(3px); }

.btn-sm { padding: 10px 16px; font-size: 13px; }
.btn-lg { padding: 18px 28px; font-size: 16px; }

/* Hero CTA secondary on dark final-cta uses transparent variant */
.btn-on-dark {
  background: transparent;
  color: white;
  border-color: rgba(255,255,255,0.3);
}

/* ─── Pill / badge ─────────────────────────────────── */
.pill {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 4px 10px;
  border-radius: 999px;
  font-family: var(--font-mono);
  font-size: 10.5px;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  font-weight: 500;
}
.pill.spam { background: var(--status-spam-soft); color: var(--status-spam); }
.pill.refund { background: var(--status-refund-soft); color: var(--status-refund); }
.pill.shipping { background: var(--status-shipping-soft); color: var(--status-shipping); }
.pill.resolved { background: var(--status-resolved-soft); color: var(--status-resolved); }
.pill.product { background: var(--status-product-soft); color: var(--status-product); }
.pill.accent { background: var(--accent-soft); color: var(--accent-ink); }
.pill.neutral { background: var(--neutral-soft); color: var(--neutral-soft-ink); }
.pill.meta { background: var(--neutral-soft); color: var(--neutral-meta-ink); }
.pill.outline { background: white; color: var(--ink-3); border: 1px solid var(--line); }
.pill.block { flex: 1; justify-content: center; }
.pill.classifying { background: #f3f4f6; color: #6b7280; }

/* ─── Hairline divider ──────────────────────────── */
.hairline {
  height: 1px;
  width: 100%;
  background: var(--line);
}

/* ─── Reveal — content is visible by default ─────── */
.reveal { opacity: 1; }

/* Motion-off (kept for prefers-reduced-motion + data hook) */
body[data-motion="0"] * {
  animation-duration: 0.001s !important;
  animation-iteration-count: 1 !important;
  transition-duration: 0.001s !important;
}

/* ─── Nav ────────────────────────────────────────── */
.nav {
  position: sticky;
  top: 0;
  z-index: 50;
  background: rgba(255, 255, 255, 0.78);
  backdrop-filter: saturate(160%) blur(14px);
  -webkit-backdrop-filter: saturate(160%) blur(14px);
  border-bottom: 1px solid var(--line);
}
.nav-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 64px;
}
.brand {
  display: flex;
  align-items: center;
  gap: 10px;
  font-weight: 600;
  letter-spacing: -0.015em;
  font-size: 16px;
}
.brand-mark {
  width: 26px; height: 26px;
  position: relative;
  display: grid;
  place-items: center;
}
.brand-mark svg { width: 100%; height: 100%; }

.nav-links {
  display: flex;
  gap: 28px;
  font-size: 14px;
  color: var(--ink-3);
}
.nav-links a { transition: color .2s ease; }
.nav-links a:hover { color: var(--ink); }

.nav-cta { display: flex; align-items: center; gap: 10px; }

@media (max-width: 760px) {
  .nav-links { display: none; }
}

/* ─── Hero ───────────────────────────────────────── */
.hero { padding: clamp(72px, 9vw, 132px) 0 clamp(80px, 10vw, 140px); position: relative; }

.hero-head {
  display: grid;
  grid-template-columns: 1fr;
  gap: 28px;
  margin-bottom: 64px;
}
.hero h1 {
  font-family: var(--font-display);
  font-weight: 400;
  font-size: clamp(56px, 9.4vw, 152px);
  line-height: 0.92;
  letter-spacing: -0.025em;
  margin: 0;
  color: var(--ink);
}
.hero h1 em {
  font-style: italic;
  color: var(--accent);
}
.hero-sub {
  font-size: clamp(17px, 1.6vw, 21px);
  line-height: 1.5;
  color: var(--ink-3);
  max-width: 620px;
  margin: 0;
}
.hero-meta {
  display: flex;
  align-items: center;
  gap: 14px;
  flex-wrap: wrap;
  margin-top: 8px;
}

.hero-trust {
  display: flex;
  align-items: center;
  gap: 22px;
  flex-wrap: wrap;
  color: var(--muted);
  font-size: 13.5px;
  margin-top: 4px;
}
.hero-trust .dot { width: 3px; height: 3px; border-radius: 50%; background: var(--muted-2); }

.hero-preview-caption {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-top: 16px;
  padding: 0 4px;
  font-size: 12px;
  color: var(--muted);
  font-family: var(--font-mono);
  flex-wrap: wrap;
  gap: 8px;
}

/* Inbox demo container */
.inbox-frame {
  position: relative;
  border: 1px solid var(--line);
  border-radius: 18px;
  background: linear-gradient(180deg, #ffffff 0%, var(--bg-warm) 100%);
  overflow: hidden;
  box-shadow:
    0 1px 0 rgba(255,255,255,1) inset,
    0 30px 60px -30px rgba(20, 20, 60, 0.12),
    0 60px 120px -40px rgba(20, 20, 60, 0.08);
}
.inbox-frame::before {
  content: "";
  position: absolute;
  inset: -1px;
  background: linear-gradient(135deg, transparent 40%, var(--accent-soft) 100%);
  pointer-events: none;
  z-index: 0;
  border-radius: 18px;
  opacity: 0.6;
}
.inbox-chrome {
  position: relative;
  z-index: 1;
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 14px 18px;
  border-bottom: 1px solid var(--line);
  background: rgba(255,255,255,0.6);
}
.inbox-chrome-dots { display: flex; gap: 6px; }
.inbox-chrome-dots span { width: 10px; height: 10px; border-radius: 50%; background: var(--line-strong); }
.inbox-chrome-url {
  font-family: var(--font-mono);
  font-size: 11.5px;
  color: var(--muted);
  margin: 0 auto;
  padding: 4px 14px;
  background: var(--bg-warm);
  border-radius: 999px;
  border: 1px solid var(--line);
}
.inbox-chrome-status {
  font-family: var(--font-mono);
  font-size: 10.5px;
  letter-spacing: 0.1em;
  color: var(--status-resolved);
  display: inline-flex;
  align-items: center;
  gap: 6px;
  text-transform: uppercase;
}
.inbox-chrome-status::before {
  content: "";
  width: 6px; height: 6px;
  border-radius: 50%;
  background: var(--status-resolved);
  animation: dotPulse 2s ease-in-out infinite;
}

.inbox-stats {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  border-bottom: 1px solid var(--line);
  background: white;
}
.inbox-stats.no-top-border { border-top: 0; }
.inbox-stat {
  padding: 18px 20px;
  border-right: 1px solid var(--line);
  display: flex;
  flex-direction: column;
  gap: 6px;
}
.inbox-stat:last-child { border-right: 0; }
.inbox-stat-label {
  font-family: var(--font-mono);
  font-size: 10px;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--muted);
}
.inbox-stat-value {
  font-family: var(--font-display);
  font-size: 32px;
  line-height: 1;
  font-variant-numeric: tabular-nums;
  color: var(--ink);
}
.inbox-stat.highlight .inbox-stat-value { color: var(--accent); }

.inbox-tabs {
  position: relative;
  z-index: 1;
  display: flex;
  gap: 4px;
  padding: 14px 18px 0;
  background: white;
  border-bottom: 1px solid var(--line);
}
.inbox-tab {
  font-size: 13px;
  padding: 8px 14px;
  border-radius: 8px 8px 0 0;
  color: var(--muted);
  border: 1px solid transparent;
  border-bottom: none;
  margin-bottom: -1px;
  position: relative;
  background: transparent;
}
.inbox-tab.active {
  color: var(--ink);
  background: var(--bg-warm);
  border-color: var(--line);
}
.inbox-tab .count {
  display: inline-block;
  margin-left: 6px;
  font-family: var(--font-mono);
  font-size: 10.5px;
  color: var(--muted-2);
}

.inbox-list {
  position: relative;
  z-index: 1;
  background: white;
}
.inbox-row {
  display: grid;
  grid-template-columns: 200px 1fr 140px 110px 90px;
  align-items: center;
  gap: 16px;
  padding: 16px 18px;
  border-bottom: 1px solid var(--line);
  font-size: 13.5px;
  transition: background .25s ease;
}
.inbox-row.flash { animation: rowFlash 1.6s ease-out 1; }
@keyframes rowFlash {
  0% { background: var(--accent-soft); }
  100% { background: transparent; }
}
.inbox-row:hover { background: var(--bg-warm); }
.inbox-row .customer { display: flex; align-items: center; gap: 10px; min-width: 0; }
.inbox-row .avatar {
  width: 28px; height: 28px; border-radius: 50%;
  background: var(--bg-soft);
  display: grid; place-items: center;
  font-size: 11px; color: var(--ink-3);
  flex: none;
  font-weight: 500;
}
.inbox-row .customer-text { min-width: 0; }
.inbox-row .name { font-weight: 500; color: var(--ink); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.inbox-row .email { color: var(--muted); font-size: 11.5px; font-family: var(--font-mono); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.inbox-row .msg { color: var(--ink-3); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.inbox-row .when { color: var(--muted); font-family: var(--font-mono); font-size: 11.5px; }

.inbox-row.entering {
  animation: rowSlide .55s cubic-bezier(.2,.7,.3,1) both;
}
@keyframes rowSlide {
  from { opacity: 0; transform: translateY(-8px); background: var(--accent-soft); }
  to { opacity: 1; transform: none; }
}

/* AI reply panel */
.inbox-reply {
  position: relative;
  z-index: 1;
  border-top: 1px solid var(--line);
  background: linear-gradient(180deg, white, var(--bg-warm));
  padding: 22px 24px;
  display: grid;
  grid-template-columns: 28px 1fr auto;
  gap: 14px;
  align-items: start;
}
.inbox-reply-ai {
  width: 28px; height: 28px;
  border-radius: 8px;
  background: var(--ink);
  color: white;
  display: grid; place-items: center;
  font-family: var(--font-mono);
  font-size: 11px;
  font-weight: 500;
}
.inbox-reply-body { font-size: 14px; color: var(--ink-2); line-height: 1.55; }
.inbox-reply-label {
  font-family: var(--font-mono);
  font-size: 10.5px;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--muted);
  margin-bottom: 6px;
  display: flex;
  align-items: center;
  gap: 8px;
}
.inbox-reply-conf { margin-left: 4px; }
.inbox-reply-actions { display: flex; gap: 6px; }
.inbox-reply-btn {
  font-size: 12px;
  padding: 6px 12px;
  border-radius: 8px;
  background: white;
  border: 1px solid var(--line-strong);
  color: var(--ink);
}
.inbox-reply-btn.primary { background: var(--ink); color: white; border-color: var(--ink); }
.inbox-reply-btn.primary:hover { background: var(--accent); border-color: var(--accent); }
.inbox-reply-btn.push { margin-left: auto; }

.typing-cursor {
  display: inline-block;
  width: 8px; height: 1em;
  vertical-align: -2px;
  background: var(--accent);
  margin-left: 2px;
  animation: caret 1s steps(2) infinite;
}
.typing-cursor.sm { height: 0.8em; width: 5px; margin: 0; background: #9ca3af; }
@keyframes caret { 0%, 50% { opacity: 1 } 50.01%, 100% { opacity: 0 } }

/* ─── Marquee / logo strip ──────────────────────── */
.logo-strip {
  display: flex;
  align-items: center;
  gap: 56px;
  padding: 32px 0;
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
  color: var(--muted);
  font-family: var(--font-mono);
  font-size: 12px;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  overflow: hidden;
  white-space: nowrap;
}
.logo-strip-track {
  display: flex;
  gap: 56px;
  animation: marquee 40s linear infinite;
  flex: none;
}
@keyframes marquee {
  from { transform: translateX(0); }
  to { transform: translateX(-50%); }
}
.logo-strip-item { display: inline-flex; align-items: center; gap: 10px; }
.logo-strip-item .sep { width: 4px; height: 4px; border-radius: 50%; background: var(--line-strong); }

/* ─── Big editorial headline ─────────────────────── */
.editorial-h2 {
  font-family: var(--font-display);
  font-weight: 400;
  font-size: clamp(40px, 6.4vw, 96px);
  line-height: 0.97;
  letter-spacing: -0.02em;
  color: var(--ink);
  margin: 0 0 24px;
  max-width: 18ch;
}
.editorial-h2 em { font-style: italic; color: var(--accent); }
.editorial-lede {
  font-size: clamp(17px, 1.5vw, 20px);
  color: var(--ink-3);
  max-width: 56ch;
  line-height: 1.5;
}
.editorial-lede.gap-64 { margin-bottom: 64px; }
.editorial-lede.gap-56 { margin-bottom: 56px; }
.editorial-lede.gap-48 { margin-bottom: 48px; }

/* ─── Problem section ───────────────────────────── */
.problem-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 0;
  border: 1px solid var(--line);
  border-radius: 18px;
  overflow: hidden;
  background: white;
}
.problem-card {
  padding: 36px 32px;
  border-right: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
  display: flex;
  flex-direction: column;
  gap: 10px;
  position: relative;
  min-height: 220px;
}
.problem-card:nth-child(2n) { border-right: 0; }
.problem-card:nth-last-child(-n+2) { border-bottom: 0; }
.problem-card .num {
  font-family: var(--font-mono);
  font-size: 11px;
  letter-spacing: 0.1em;
  color: var(--muted);
}
.problem-card h3 {
  font-family: var(--font-display);
  font-weight: 400;
  font-size: 28px;
  line-height: 1.05;
  letter-spacing: -0.01em;
  margin: 8px 0 4px;
  color: var(--ink);
}
.problem-card p { font-size: 14.5px; color: var(--ink-3); margin: 0; }

.problem-card .visual {
  margin-top: auto;
  padding-top: 24px;
  display: flex;
  align-items: center;
  gap: 8px;
  flex-wrap: wrap;
}
.problem-card .visual.spam-grid { gap: 6px; }

@media (max-width: 800px) {
  .problem-grid { grid-template-columns: 1fr; }
  .problem-card { border-right: 0 !important; border-bottom: 1px solid var(--line) !important; }
  .problem-card:last-child { border-bottom: 0 !important; }
}

/* Repetition viz */
.repetition-viz { display: flex; flex-direction: column; gap: 4px; width: 100%; }
.repetition-row {
  font-family: var(--font-mono); font-size: 11px; color: var(--muted);
  display: flex; justify-content: space-between;
  padding: 4px 8px; background: var(--bg-soft); border-radius: 6px;
}

/* Support-hours viz */
.support-hours-svg { width: 100%; height: 70px; }

/* ─── How it works ──────────────────────────────── */
.how-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 32px;
  margin-top: 64px;
}
.how-step {
  display: flex;
  flex-direction: column;
  gap: 14px;
}
.how-step .step-num {
  font-family: var(--font-display);
  font-size: 88px;
  line-height: 1;
  color: var(--ink);
  letter-spacing: -0.04em;
}
.how-step .step-num em { color: var(--accent); font-style: italic; }
.how-step h3 {
  font-family: var(--font-display);
  font-weight: 400;
  font-size: 30px;
  line-height: 1.05;
  letter-spacing: -0.01em;
  margin: 0;
}
.how-step p { font-size: 15px; color: var(--ink-3); margin: 0; line-height: 1.55; }
.how-step .vis {
  margin-top: 12px;
  border: 1px solid var(--line);
  border-radius: 14px;
  padding: 18px;
  background: var(--bg-warm);
  min-height: 160px;
  position: relative;
  overflow: hidden;
}

@media (max-width: 900px) {
  .how-grid { grid-template-columns: 1fr; gap: 48px; }
}

/* Install viz */
.install-viz { display: flex; flex-direction: column; gap: 10px; }
.install-row {
  display: flex; align-items: center; gap: 10px; padding: 10px;
  background: white; border: 1px solid var(--line); border-radius: 10px;
}
.install-badge {
  width: 22px; height: 22px; border-radius: 6px; background: var(--ink); color: white;
  display: grid; place-items: center; font-size: 11px; font-family: var(--font-mono);
}
.install-row-label { font-size: 12px; }
.install-status { margin-left: auto; font-family: var(--font-mono); font-size: 10px; color: var(--accent); }
.install-meta { font-family: var(--font-mono); font-size: 10px; color: var(--muted); }

.progress-track { height: 6px; background: var(--line); border-radius: 999px; overflow: hidden; }
.progress-fill {
  height: 100%; width: 78%; background: var(--accent); border-radius: 999px;
  animation: progress 2.4s ease-in-out infinite;
}
@keyframes progress { 0% { width: 10%; } 50% { width: 78%; } 100% { width: 100%; } }

/* Classify viz */
.classify-viz { display: flex; flex-direction: column; gap: 8px; font-size: 12px; }
.classify-quote {
  padding: 8px; background: white; border: 1px solid var(--line); border-radius: 8px;
  font-style: italic; color: var(--ink-3);
}
.classify-arrow { font-family: var(--font-mono); font-size: 10px; color: var(--muted); text-align: center; }
.classify-tags { display: flex; gap: 6px; flex-wrap: wrap; }

/* Approval viz */
.approval-viz { display: flex; flex-direction: column; gap: 8px; }
.approval-draft {
  padding: 10px; background: white; border: 1px solid var(--line); border-radius: 8px;
  font-size: 11.5px; color: var(--ink-3); line-height: 1.5;
}
.approval-actions { display: flex; gap: 6px; }

/* ─── Features grid (editorial) ─────────────────── */
.features {
  display: grid;
  grid-template-columns: repeat(12, 1fr);
  gap: 24px;
  margin-top: 64px;
}
.feature {
  border: 1px solid var(--line);
  border-radius: 18px;
  padding: 28px;
  background: white;
  position: relative;
  overflow: hidden;
  display: flex;
  flex-direction: column;
  gap: 14px;
  transition: border-color .25s ease, transform .25s ease;
}
.feature:hover { border-color: var(--ink); }
.feature h3 {
  font-family: var(--font-display);
  font-weight: 400;
  font-size: 30px;
  line-height: 1.05;
  letter-spacing: -0.01em;
  margin: 0;
}
.feature p { font-size: 14.5px; color: var(--ink-3); margin: 0; line-height: 1.55; max-width: 42ch; }
.feature .visual {
  margin-top: auto;
  min-height: 140px;
  display: flex;
  align-items: flex-end;
}
.f-wide { grid-column: span 8; }
.f-narrow { grid-column: span 4; }
.f-half { grid-column: span 6; }
.f-full { grid-column: span 12; }

@media (max-width: 1000px) {
  .f-wide, .f-narrow, .f-half { grid-column: span 12; }
}

/* Specific feature visuals */
.classifier-bars { display: flex; flex-direction: column; gap: 8px; width: 100%; }
.classifier-row {
  display: grid;
  grid-template-columns: 110px 1fr 40px;
  align-items: center;
  gap: 12px;
  font-size: 12px;
}
.classifier-row .bar {
  height: 6px;
  border-radius: 999px;
  background: var(--bg-soft);
  overflow: hidden;
  position: relative;
}
.classifier-row .bar > span {
  display: block;
  height: 100%;
  background: var(--accent);
  border-radius: 999px;
  width: 0;
  transition: width 1.2s cubic-bezier(.2,.7,.3,1);
}
.classifier-row[data-cat="shipping"] .bar > span { background: var(--status-shipping); }
.classifier-row[data-cat="refund"] .bar > span { background: var(--status-refund); }
.classifier-row[data-cat="product"] .bar > span { background: var(--status-product); }
.classifier-row[data-cat="spam"] .bar > span { background: var(--status-spam); }
.classifier-row[data-cat="other"] .bar > span { background: var(--muted-2); }
.classifier-row .pct { font-family: var(--font-mono); color: var(--muted); font-size: 11px; text-align: right; }

.savings-num {
  font-family: var(--font-display);
  font-size: 64px;
  line-height: 1;
  letter-spacing: -0.03em;
  font-variant-numeric: tabular-nums;
}
.savings-num em { color: var(--accent); font-style: italic; }
.savings-caption { font-family: var(--font-mono); font-size: 11px; color: var(--muted); margin-top: 6px; }

/* Order context terminal */
.term {
  width: 100%; font-family: var(--font-mono); font-size: 10.5px; line-height: 1.6;
  background: #0a0a0a; color: #a3a3a3; padding: 14px; border-radius: 10px; overflow: hidden;
}
.term .m-get { color: #fbbf24; }
.term .m-post { color: var(--accent); }
.term .m-ok { color: #10b981; }
.term .m-str { color: #fff; }
.term .indent { padding-left: 12px; }
.term .gap { margin-top: 6px; }

/* Inbox mini viz */
.inbox-mini { width: 100%; border: 1px solid var(--line); border-radius: 10px; overflow: hidden; background: white; }
.inbox-mini-tabs {
  display: flex; gap: 2px; padding: 8px 10px; border-bottom: 1px solid var(--line); background: var(--bg-warm);
}
.inbox-mini-tab {
  font-size: 11px; padding: 3px 8px; border-radius: 5px; background: transparent; color: var(--muted);
}
.inbox-mini-tab.active { background: white; color: var(--ink); box-shadow: 0 0 0 1px var(--line); }
.inbox-mini-row {
  display: flex; gap: 10px; align-items: center; padding: 8px 10px;
  border-bottom: 1px solid var(--line); font-size: 11px;
}
.inbox-mini-row:last-child { border-bottom: 0; }
.inbox-mini-name { font-weight: 500; flex: 0 0 80px; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.inbox-mini-msg { color: var(--muted); flex: 1; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.inbox-mini-row .pill { font-size: 9px; }

/* Auto-resolve donut */
.autoresolve { display: flex; align-items: center; gap: 14px; width: 100%; }
.donut-wrap { position: relative; width: 110px; height: 110px; display: grid; place-items: center; }
.donut-svg { transform: rotate(-90deg); }
.donut-center { position: absolute; text-align: center; }
.autoresolve-caption { font-size: 12.5px; color: var(--ink-3); line-height: 1.5; }

/* Webhook viz */
.webhook-viz {
  font-family: var(--font-mono); font-size: 10.5px; line-height: 1.5;
  background: var(--bg-soft); padding: 14px; border-radius: 10px; width: 100%; color: var(--ink-3);
}
.webhook-viz .m-post { color: var(--accent); }
.webhook-viz .m-ink { color: var(--ink); }
.webhook-viz .m-ok { color: var(--status-resolved); margin-top: 4px; }

/* ─── Live Demo ─────────────────────────────────── */
.live-demo {
  border: 1px solid var(--line);
  border-radius: 22px;
  background: white;
  overflow: hidden;
  box-shadow: 0 30px 80px -40px rgba(0,0,0,.18);
}
.demo-tabs {
  display: flex;
  gap: 4px;
  padding: 14px 18px;
  border-bottom: 1px solid var(--line);
  background: var(--bg-warm);
  overflow-x: auto;
  scrollbar-width: none;
}
.demo-tabs::-webkit-scrollbar { display: none; }
.demo-tab {
  font-size: 13px;
  padding: 8px 14px;
  border-radius: 8px;
  color: var(--muted);
  background: transparent;
  border: 0;
  flex: none;
  white-space: nowrap;
  transition: background .2s ease, color .2s ease;
}
.demo-tab.active {
  background: white;
  color: var(--ink);
  box-shadow: 0 1px 2px rgba(0,0,0,.04), 0 0 0 1px var(--line);
}
.demo-content { padding: 0; min-height: 460px; position: relative; }
.demo-panel { display: none; }
.demo-panel.active { display: block; }

/* Ticket detail */
.ticket-grid { display: grid; grid-template-columns: 1fr 320px; min-height: 460px; }
.ticket-main { padding: 32px; border-right: 1px solid var(--line); }
.ticket-tagline { display: flex; gap: 10px; align-items: center; margin-bottom: 14px; }
.ticket-meta-mono { font-family: var(--font-mono); font-size: 11.5px; color: var(--muted); }
.ticket-subject {
  font-family: var(--font-display); font-size: 28px; line-height: 1.2; margin: 0 0 18px;
  font-weight: 400; letter-spacing: -0.01em;
}
.ticket-from { font-size: 14px; color: var(--ink-3); line-height: 1.6; padding-bottom: 24px; border-bottom: 1px solid var(--line); }
.ticket-from strong { color: var(--ink); }
.ticket-draft-wrap { margin-top: 24px; }
.ticket-draft {
  border: 1px solid var(--line); border-radius: 12px; padding: 20px;
  background: linear-gradient(180deg, white, var(--bg-warm)); font-size: 14.5px; line-height: 1.6;
}
.ticket-draft .tracking { font-family: var(--font-mono); }
.ticket-draft .sig { color: var(--muted); }
.ticket-actions { display: flex; gap: 8px; margin-top: 14px; }
.ticket-side { padding: 24px; background: var(--bg-warm); }
.label-mt { margin-top: 24px; margin-bottom: 14px; }
.label-mb { margin-bottom: 14px; }

.context-row {
  display: flex; justify-content: space-between; padding: 7px 0; font-size: 13;
  border-bottom: 1px solid var(--line);
}
.context-row .ctx-label { color: var(--muted); }
.context-row .ctx-value { color: var(--ink); }
.context-row .ctx-value.mono { font-family: var(--font-mono); font-size: 12px; }
.context-row .ctx-value.shipping { color: var(--status-shipping); }

/* Savings dashboard */
.demo-pad { padding: 32px; min-height: 460px; }
.savings-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 16px; margin-bottom: 32px; }
.big-stat { padding: 18px; border: 1px solid var(--line); border-radius: 12px; background: white; }
.big-stat-label {
  font-family: var(--font-mono); font-size: 10.5px; letter-spacing: 0.1em; color: var(--muted); text-transform: uppercase;
}
.big-stat-value { font-family: var(--font-display); font-size: 38px; line-height: 1.1; font-variant-numeric: tabular-nums; margin-top: 8px; }
.big-stat-change { font-family: var(--font-mono); font-size: 11.5px; color: var(--status-resolved); margin-top: 4px; }
.savings-panel { border: 1px solid var(--line); border-radius: 14px; padding: 24px; background: white; }
.savings-panel-head { display: flex; justify-content: space-between; align-items: center; margin-bottom: 16px; }
.savings-panel-meta { font-family: var(--font-mono); font-size: 11.5px; color: var(--muted); }
.savings-chart-svg { width: 100%; height: 200px; }

@media (max-width: 760px) {
  .savings-grid { grid-template-columns: repeat(2, 1fr); }
}

/* Settings */
.settings-grid { padding: 32px; min-height: 460px; display: grid; grid-template-columns: 1fr 1fr; gap: 32px; }
.setting-row {
  display: flex; justify-content: space-between; align-items: flex-start; gap: 24px;
  padding: 18px 0; border-bottom: 1px solid var(--line);
}
.setting-info { max-width: 360px; }
.setting-label { font-size: 14px; font-weight: 500; color: var(--ink); margin-bottom: 4px; }
.setting-desc { font-size: 12.5px; color: var(--muted); line-height: 1.5; }
.setting-control { display: flex; align-items: center; gap: 12px; }
.threshold-val { font-family: var(--font-mono); font-size: 13px; color: var(--ink); min-width: 36px; }
.brand-voice {
  padding: 16px; border: 1px solid var(--line); border-radius: 10px; background: white;
  font-size: 13.5px; line-height: 1.6; color: var(--ink-3);
}
.brand-voice strong { color: var(--ink); }
.integrations { margin-top: 14px; display: flex; flex-direction: column; gap: 8px; }
.integration-row {
  display: flex; justify-content: space-between; align-items: center; padding: 10px 14px;
  border: 1px solid var(--line); border-radius: 10px; background: white; font-size: 13px;
}
.integration-status {
  display: inline-flex; align-items: center; gap: 6px; color: var(--status-resolved);
  font-family: var(--font-mono); font-size: 11px;
}
.integration-status .led { width: 6px; height: 6px; border-radius: 50%; background: var(--status-resolved); }

@media (max-width: 760px) {
  .ticket-grid { grid-template-columns: 1fr; }
  .ticket-main { border-right: 0; border-bottom: 1px solid var(--line); }
  .savings-grid { grid-template-columns: 1fr 1fr; }
  .settings-grid { grid-template-columns: 1fr; }
}

/* Toggle (settings) */
.toggle {
  width: 42px; height: 24px; border-radius: 999px; background: var(--line-strong);
  border: 0; position: relative; transition: background .2s ease; flex: none;
}
.toggle[data-on="1"] { background: var(--accent); }
.toggle i {
  position: absolute; top: 2px; left: 2px; width: 20px; height: 20px; border-radius: 50%;
  background: white; transition: left .2s ease; box-shadow: 0 1px 3px rgba(0,0,0,0.2);
}
.toggle[data-on="1"] i { left: 20px; }

/* ─── ROI calculator ─────────────────────────── */
.roi {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1.1fr);
  gap: clamp(18px, 3vw, 64px);
  align-items: start;
}
.roi-left { display: flex; flex-direction: column; min-width: 0; }
.roi-left .editorial-h2 { margin-bottom: 18px; }
.roi-left .roi-lede { margin-bottom: 40px; }
.roi-inputs { display: flex; flex-direction: column; gap: 28px; }
.roi-input { display: flex; flex-direction: column; gap: 10px; }
.roi-input-head {
  display: flex;
  justify-content: space-between;
  align-items: baseline;
}
.roi-input-label { font-size: 13.5px; color: var(--ink-3); }
.roi-input-value {
  font-family: var(--font-display);
  font-size: 28px;
  line-height: 1;
  color: var(--ink);
  font-variant-numeric: tabular-nums;
}
.roi-slider {
  -webkit-appearance: none;
  appearance: none;
  width: 100%;
  height: 4px;
  background: var(--line);
  border-radius: 999px;
  outline: none;
}
.roi-slider::-webkit-slider-thumb {
  -webkit-appearance: none;
  appearance: none;
  width: 22px; height: 22px;
  border-radius: 50%;
  background: var(--ink);
  cursor: pointer;
  border: 4px solid white;
  box-shadow: 0 2px 8px rgba(0,0,0,.2), 0 0 0 1px var(--ink);
  transition: transform .15s ease;
}
.roi-slider::-webkit-slider-thumb:hover { transform: scale(1.1); }
.roi-slider::-moz-range-thumb {
  width: 22px; height: 22px;
  border-radius: 50%;
  background: var(--ink);
  border: 4px solid white;
  box-shadow: 0 2px 8px rgba(0,0,0,.2), 0 0 0 1px var(--ink);
}
.roi-slider.inline-w { width: 180px; }

.roi-output {
  border: 1px solid var(--line);
  border-radius: 22px;
  padding: 40px;
  background: linear-gradient(180deg, white, var(--bg-warm));
  position: relative;
  overflow: hidden;
}
.roi-output::before {
  content: "";
  position: absolute;
  inset: -50% -10% auto auto;
  width: 60%;
  height: 100%;
  background: radial-gradient(closest-side, var(--accent-soft), transparent);
  pointer-events: none;
}
.roi-output-rows { position: relative; z-index: 1; }
.roi-output-row {
  display: flex;
  justify-content: space-between;
  align-items: baseline;
  padding: 16px 0;
  border-bottom: 1px solid var(--line);
}
.roi-output-row:last-of-type { border-bottom: 0; }
.roi-output-label { font-size: 14px; color: var(--ink-3); }
.roi-output-value {
  font-family: var(--font-display);
  font-size: 32px;
  font-variant-numeric: tabular-nums;
  letter-spacing: -0.02em;
}
.roi-output-value .unit { font-size: 16px; color: var(--muted); font-family: var(--font-ui); }
.roi-output-value.accent { color: var(--accent); }
.roi-output-value.muted-sm { font-size: 24px; color: var(--muted); }
.roi-headline {
  font-family: var(--font-display);
  font-size: clamp(48px, 6vw, 84px);
  line-height: 1;
  letter-spacing: -0.025em;
  margin: 0 0 28px;
  position: relative;
  z-index: 1;
}
.roi-headline em { color: var(--accent); font-style: italic; }
.roi-headline .currency { font-size: 0.55em; vertical-align: 0.4em; color: var(--ink-3); margin-right: 4px; }
.roi-foot {
  position: relative; z-index: 1; margin-top: 24px; font-size: 12.5px; color: var(--muted); font-family: var(--font-mono);
}

@media (max-width: 700px) {
  .roi-output { padding: 24px; }
  .roi-headline { font-size: clamp(40px, 9vw, 64px); }
  .roi-input-value { font-size: 22px; }
  .roi-output-value { font-size: 24px; }
}
@media (max-width: 520px) {
  .roi { grid-template-columns: 1fr; gap: 28px; }
}

/* ─── Pricing ────────────────────────────────── */
.pricing-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 16px;
}
.price-card {
  border: 1px solid var(--line);
  border-radius: 18px;
  padding: 28px 24px;
  background: white;
  display: flex;
  flex-direction: column;
  gap: 22px;
  position: relative;
  transition: border-color .25s ease, transform .25s ease, box-shadow .25s ease;
}
.price-card:hover {
  border-color: var(--ink);
  transform: translateY(-2px);
}
.price-card.featured {
  background: var(--ink);
  color: white;
  border-color: var(--ink);
}
.price-card.featured h3, .price-card.featured .price-amt { color: white; }
.price-card.featured ul li { color: rgba(255,255,255,0.78); }
.price-card.featured .price-card-foot { color: rgba(255,255,255,0.6); }
.price-card.featured .btn-primary {
  background: var(--accent);
  color: white;
  border-color: var(--accent);
}
.price-card.featured .btn-primary:hover { background: white; color: var(--ink); border-color: white; }

.price-card-head { display: flex; flex-direction: column; gap: 6px; }
.price-card h3 {
  font-family: var(--font-ui);
  font-weight: 500;
  font-size: 16px;
  letter-spacing: -0.005em;
  margin: 0;
  color: var(--ink);
  display: flex;
  align-items: center;
  gap: 10px;
}
.price-card .featured-tag {
  font-family: var(--font-mono);
  font-size: 10px;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  padding: 3px 8px;
  border-radius: 999px;
  background: var(--accent);
  color: white;
}
.price-amt {
  font-family: var(--font-display);
  font-size: 56px;
  line-height: 1;
  letter-spacing: -0.025em;
  font-variant-numeric: tabular-nums;
}
.price-amt .per { font-family: var(--font-ui); font-size: 14px; color: var(--muted); margin-left: 4px; letter-spacing: 0; }
.price-card.featured .price-amt .per { color: rgba(255,255,255,0.5); }

.price-card ul { list-style: none; padding: 0; margin: 0; display: flex; flex-direction: column; gap: 10px; }
.price-card ul li { font-size: 13.5px; color: var(--ink-3); display: flex; align-items: flex-start; gap: 8px; }
.price-card ul li::before {
  content: "";
  width: 14px; height: 14px;
  flex: none;
  margin-top: 3px;
  background: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 14 14' fill='none' stroke='%230ea5e9' stroke-width='1.6'><path d='M3 7.5l2.5 2.5L11 4.5'/></svg>") no-repeat center / contain;
}
.price-card.featured ul li::before {
  background: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 14 14' fill='none' stroke='white' stroke-width='1.6'><path d='M3 7.5l2.5 2.5L11 4.5'/></svg>") no-repeat center / contain;
}
.price-card .btn { justify-content: center; width: 100%; }

.price-card-foot {
  margin-top: auto;
  font-size: 12px;
  color: var(--muted);
  font-family: var(--font-mono);
}
.pricing-note { margin-top: 32px; font-size: 12.5px; color: var(--muted); font-family: var(--font-mono); text-align: center; }

@media (max-width: 1100px) {
  .pricing-grid { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 600px) {
  .pricing-grid { grid-template-columns: 1fr; }
}

/* ─── Security ──────────────────────────────── */
.security-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1px;
  background: var(--line);
  border: 1px solid var(--line);
  border-radius: 18px;
  overflow: hidden;
}
.security-card {
  background: white;
  padding: 28px;
  display: flex;
  flex-direction: column;
  gap: 8px;
}
.security-card h4 {
  font-family: var(--font-ui);
  font-size: 15px;
  font-weight: 500;
  margin: 0;
  color: var(--ink);
  display: flex;
  align-items: center;
  gap: 8px;
}
.security-card p { font-size: 13.5px; color: var(--ink-3); margin: 0; line-height: 1.5; }
.security-card .ico {
  width: 16px; height: 16px;
  display: inline-grid; place-items: center;
  color: var(--accent);
}

@media (max-width: 900px) {
  .security-grid { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 600px) {
  .security-grid { grid-template-columns: 1fr; }
}

/* ─── FAQ ───────────────────────────────────── */
.faq-list { display: flex; flex-direction: column; border-top: 1px solid var(--line); margin-top: 48px; }
.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;
  background: transparent;
  border: 0;
  text-align: left;
  font-family: var(--font-display);
  font-size: clamp(20px, 2.4vw, 28px);
  letter-spacing: -0.01em;
  color: var(--ink);
  line-height: 1.2;
}
.faq-q .plus {
  width: 28px; height: 28px;
  border-radius: 50%;
  border: 1px solid var(--line-strong);
  display: grid; place-items: center;
  position: relative;
  flex: none;
  transition: transform .3s ease, background .25s ease, color .25s ease;
}
.faq-q .plus::before, .faq-q .plus::after {
  content: "";
  position: absolute;
  background: var(--ink);
  transition: transform .3s ease, background .25s ease;
}
.faq-q .plus::before { width: 10px; height: 1.2px; }
.faq-q .plus::after { width: 1.2px; height: 10px; }
.faq-item.open .faq-q .plus { background: var(--ink); border-color: var(--ink); }
.faq-item.open .faq-q .plus::before, .faq-item.open .faq-q .plus::after { background: white; }
.faq-item.open .faq-q .plus::after { transform: scaleY(0); }

.faq-a {
  max-height: 0;
  overflow: hidden;
  transition: max-height .4s ease, padding .3s ease;
}
.faq-item.open .faq-a { max-height: 320px; padding-bottom: 24px; }
.faq-a-inner {
  font-size: 16px;
  color: var(--ink-3);
  line-height: 1.6;
  max-width: 64ch;
}

/* ─── Final CTA ─────────────────────────────── */
.final-cta {
  background: var(--bg-ink);
  color: white;
  padding: clamp(96px, 12vw, 160px) 0;
  border-top: 0;
  position: relative;
  overflow: hidden;
}
.final-cta::before {
  content: "";
  position: absolute;
  inset: 0;
  background:
    radial-gradient(60% 50% at 50% 100%, color-mix(in oklch, var(--accent) 50%, transparent) 0%, transparent 70%);
  opacity: 0.35;
  pointer-events: none;
}
.final-cta-inner {
  position: relative;
  z-index: 1;
  text-align: center;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 32px;
  max-width: 980px;
  margin: 0 auto;
}
.final-cta h2 {
  font-family: var(--font-display);
  font-weight: 400;
  font-size: clamp(60px, 9vw, 144px);
  line-height: 0.92;
  letter-spacing: -0.025em;
  margin: 0;
}
.final-cta h2 em { color: var(--accent); font-style: italic; }
.final-cta .lede { font-size: 18px; color: rgba(255,255,255,0.7); max-width: 56ch; margin: 0; }
.final-cta-actions { display: flex; gap: 12px; flex-wrap: wrap; justify-content: center; }
.final-cta .btn-primary {
  background: white;
  color: var(--ink);
  border-color: white;
}
.final-cta .btn-primary:hover { background: var(--accent); color: white; border-color: var(--accent); }
.final-cta .eyebrow { color: rgba(255,255,255,0.55); }
.final-cta .eyebrow::before { background: var(--accent); box-shadow: 0 0 0 4px color-mix(in oklch, var(--accent) 30%, transparent); }

/* ─── Footer ───────────────────────────────── */
.footer {
  background: var(--bg-ink);
  color: rgba(255,255,255,0.6);
  padding: 64px 0 48px;
  font-size: 13.5px;
}
.footer-top {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1fr;
  gap: 48px;
  padding-bottom: 48px;
  border-bottom: 1px solid rgba(255,255,255,0.1);
}
.footer-brand { display: flex; flex-direction: column; gap: 14px; max-width: 320px; }
.footer-brand .brand { color: white; }
.footer-brand p { margin: 0; font-size: 13.5px; line-height: 1.55; }
.footer-brand .by { margin-top: 6px; font-size: 12px; color: rgba(255,255,255,0.4); }
.footer h5 {
  font-family: var(--font-mono);
  font-size: 10.5px;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: rgba(255,255,255,0.45);
  margin: 0 0 16px;
  font-weight: 500;
}
.footer ul { list-style: none; padding: 0; margin: 0; display: flex; flex-direction: column; gap: 10px; }
.footer ul a { color: rgba(255,255,255,0.75); transition: color .2s ease; }
.footer ul a:hover { color: white; }
.footer-bottom {
  padding-top: 28px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 24px;
  flex-wrap: wrap;
  font-size: 12px;
  color: rgba(255,255,255,0.4);
}
.footer-bottom .links { display: flex; gap: 20px; }
.footer-bottom .mono { font-family: var(--font-mono); }

@media (max-width: 800px) {
  .footer-top { grid-template-columns: 1fr 1fr; }
}

/* ─── Misc Animations ─────────────────────── */
@keyframes float {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(-6px); }
}

@keyframes shimmer {
  0% { background-position: -200% 0; }
  100% { background-position: 200% 0; }
}

.shimmer-text {
  background: linear-gradient(90deg, var(--muted) 0%, var(--ink) 50%, var(--muted) 100%);
  background-size: 200% 100%;
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
  animation: shimmer 4s linear infinite;
}

/* Reduced motion */
@media (prefers-reduced-motion: reduce) {
  * { animation-duration: 0s !important; transition-duration: 0s !important; }
  html { scroll-behavior: auto; }
}

/* Mobile hero adjustments */
@media (max-width: 760px) {
  .inbox-stats { grid-template-columns: repeat(2, 1fr); }
  .inbox-stat:nth-child(2n) { border-right: 0; }
  .inbox-row { grid-template-columns: 1fr auto auto; gap: 10px; }
  .inbox-row .msg, .inbox-row .email, .inbox-row .when { display: none; }
}

/* Utility */
.sr-only {
  position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px;
  overflow: hidden; clip: rect(0,0,0,0); white-space: nowrap; border: 0;
}
.center { text-align: center; }

/* ─── Section background variant + donut number sizing ─── */
.section.warm { background: var(--bg-warm); }
.savings-num.donut-num { font-size: 36px; }
.savings-num .pct-sm { font-size: 18px; }
