/* ========== Tazi Landing Page ========== */
/* Original design — written from scratch for Tazi */

:root {
  --bg: #0b0d12;
  --bg-elev: #11141b;
  --surface: #161a23;
  --border: #232838;
  --text: #f4f5f8;
  --text-dim: #9aa3b2;
  --text-mute: #6a7382;
  --brand: #6c5cff;
  --brand-2: #9c8bff;
  --accent: #18d6b9;
  --warn: #ffb547;
  --radius: 14px;
  --radius-lg: 22px;
  --shadow: 0 10px 40px rgba(0,0,0,.35);
  --max: 1180px;
}

* { box-sizing: border-box; margin: 0; padding: 0; }

html { scroll-behavior: smooth; }

body {
  font-family: 'Inter', -apple-system, BlinkMacSystemFont, sans-serif;
  background: var(--bg);
  color: var(--text);
  line-height: 1.55;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}

a { color: inherit; text-decoration: none; }

img { max-width: 100%; display: block; }

h1, h2, h3, h4 {
  font-family: 'Space Grotesk', 'Inter', sans-serif;
  letter-spacing: -0.02em;
  line-height: 1.1;
  font-weight: 700;
}

.container {
  max-width: var(--max);
  margin: 0 auto;
  padding: 0 24px;
}

.eyebrow {
  display: inline-block;
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--brand-2);
  background: rgba(108, 92, 255, 0.12);
  padding: 6px 12px;
  border-radius: 999px;
  margin-bottom: 18px;
}

.grad {
  background: linear-gradient(90deg, var(--brand) 0%, var(--accent) 100%);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}

/* ========== Buttons ========== */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 14px 22px;
  border-radius: 12px;
  font-weight: 600;
  font-size: 15px;
  cursor: pointer;
  transition: transform .15s ease, background .2s ease, box-shadow .2s ease;
  border: 1px solid transparent;
  white-space: nowrap;
}
.btn-sm { padding: 10px 16px; font-size: 14px; }
.btn-lg { padding: 18px 28px; font-size: 17px; }
.btn-block { width: 100%; }

.btn-primary {
  background: linear-gradient(135deg, var(--brand) 0%, #5847ff 100%);
  color: #fff;
  box-shadow: 0 8px 24px rgba(108, 92, 255, 0.35);
}
.btn-primary:hover { transform: translateY(-2px); box-shadow: 0 12px 32px rgba(108, 92, 255, 0.5); }

.btn-ghost {
  background: transparent;
  color: var(--text);
  border-color: var(--border);
}
.btn-ghost:hover { background: var(--surface); border-color: #2f364a; }

.apple-icon::before {
  content: "";
  display: inline-block;
  width: 16px;
  height: 16px;
  background: currentColor;
  -webkit-mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 384 512'%3E%3Cpath d='M318.7 268.7c-.2-36.7 16.4-64.4 50-84.8-18.8-26.9-47.2-41.7-84.7-44.6-35.5-2.8-74.3 20.7-88.5 20.7-15 0-49.4-19.7-76.4-19.7C63.3 141.2 4 184.8 4 273.5q0 39.3 14.4 81.2c12.8 36.7 59 126.7 107.2 125.2 25.2-.6 43-17.9 75.8-17.9 31.8 0 48.3 17.9 76.4 17.9 48.6-.7 90.4-82.5 102.6-119.3-65.2-30.7-61.7-90-61.7-91.9zm-56.6-164.2c27.3-32.4 24.8-61.9 24-72.5-24.1 1.4-52 16.4-67.9 34.9-17.5 19.8-27.8 44.3-25.6 71.9 26.1 2 49.9-11.4 69.5-34.3z'/%3E%3C/svg%3E") no-repeat center / contain;
}

/* ========== Nav ========== */
.nav {
  position: sticky;
  top: 0;
  z-index: 50;
  background: rgba(11, 13, 18, 0.78);
  backdrop-filter: saturate(180%) blur(14px);
  -webkit-backdrop-filter: saturate(180%) blur(14px);
  border-bottom: 1px solid var(--border);
}
.nav-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  padding: 16px 24px;
}
.logo {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-family: 'Space Grotesk', sans-serif;
  font-weight: 700;
  font-size: 20px;
  flex-shrink: 0;
}
.logo-mark {
  display: inline-block;
  width: 14px;
  height: 14px;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--brand), var(--accent));
  color: transparent;
  font-size: 0;
  box-shadow: 0 0 18px rgba(108, 92, 255, 0.7);
}
.nav-links {
  display: flex;
  gap: 28px;
  font-size: 14px;
  color: var(--text-dim);
}
.nav-links a:hover { color: var(--text); }

/* ========== Hero ========== */
.hero {
  position: relative;
  padding: 80px 0 100px;
  overflow: hidden;
}
.hero::before {
  content: "";
  position: absolute;
  top: -10%;
  left: -10%;
  width: 600px;
  height: 600px;
  background: radial-gradient(circle, rgba(108, 92, 255, 0.25), transparent 70%);
  filter: blur(40px);
  pointer-events: none;
}
.hero::after {
  content: "";
  position: absolute;
  bottom: -20%;
  right: -10%;
  width: 500px;
  height: 500px;
  background: radial-gradient(circle, rgba(24, 214, 185, 0.18), transparent 70%);
  filter: blur(40px);
  pointer-events: none;
}
.hero-inner {
  display: grid;
  grid-template-columns: 1.05fr 1fr;
  gap: 60px;
  align-items: center;
  position: relative;
  z-index: 1;
}
.hero-copy h1 {
  font-size: clamp(42px, 5.5vw, 64px);
  margin-bottom: 22px;
}
.lead {
  font-size: 19px;
  color: var(--text-dim);
  margin-bottom: 36px;
  max-width: 540px;
}
.hero-cta {
  display: flex;
  gap: 14px;
  flex-wrap: wrap;
  margin-bottom: 32px;
}
.hero-proof {
  display: flex;
  gap: 14px;
  align-items: center;
  font-size: 14px;
  color: var(--text-mute);
}
.stars { color: var(--warn); letter-spacing: 2px; }

/* ----- Phone mockup ----- */
.hero-art {
  position: relative;
  display: flex;
  justify-content: center;
  align-items: center;
  perspective: 1200px;
}
.phone {
  position: relative;
  width: 320px;
  height: 640px;
  background: linear-gradient(180deg, #1d2230, #11141b);
  border-radius: 48px;
  border: 2px solid #2a3043;
  padding: 14px;
  box-shadow:
    0 30px 80px rgba(0,0,0,.55),
    inset 0 1px 0 rgba(255,255,255,.06);
  transform: rotateY(-8deg) rotateX(3deg);
  z-index: 2;
}
.notch {
  position: absolute;
  top: 12px;
  left: 50%;
  transform: translateX(-50%);
  width: 110px;
  height: 28px;
  background: #06080c;
  border-radius: 16px;
  z-index: 3;
}
.phone-screen {
  width: 100%;
  height: 100%;
  background: linear-gradient(180deg, #0e1119, #181c28);
  border-radius: 36px;
  padding: 56px 18px 22px;
  display: flex;
  flex-direction: column;
  gap: 16px;
}
.callbar {
  display: flex;
  align-items: center;
  gap: 10px;
  background: rgba(108, 92, 255, 0.14);
  border: 1px solid rgba(108, 92, 255, 0.3);
  padding: 10px 14px;
  border-radius: 12px;
  font-size: 13px;
  font-weight: 500;
}
.callbar-dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--accent);
  box-shadow: 0 0 0 0 rgba(24, 214, 185, 0.6);
  animation: pulse 1.6s infinite;
}
@keyframes pulse {
  0% { box-shadow: 0 0 0 0 rgba(24, 214, 185, 0.6); }
  70% { box-shadow: 0 0 0 10px rgba(24, 214, 185, 0); }
  100% { box-shadow: 0 0 0 0 rgba(24, 214, 185, 0); }
}
.callbar-time {
  margin-left: auto;
  color: var(--text-dim);
  font-variant-numeric: tabular-nums;
}
.ivr-card {
  flex: 1;
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: 16px;
  padding: 14px;
  display: flex;
  flex-direction: column;
  gap: 8px;
}
.ivr-title {
  font-size: 12px;
  font-weight: 600;
  color: var(--text-mute);
  letter-spacing: 0.08em;
  text-transform: uppercase;
  margin-bottom: 4px;
}
.ivr-opt {
  display: flex;
  align-items: center;
  gap: 12px;
  background: rgba(255,255,255,0.03);
  border: 1px solid var(--border);
  color: var(--text);
  padding: 10px 12px;
  border-radius: 10px;
  font-size: 14px;
  font-weight: 500;
  cursor: pointer;
  text-align: left;
  transition: all .15s ease;
  font-family: inherit;
}
.ivr-opt:hover {
  background: rgba(108, 92, 255, 0.1);
  border-color: rgba(108, 92, 255, 0.4);
}
.ivr-opt .num {
  width: 26px;
  height: 26px;
  border-radius: 8px;
  background: rgba(108, 92, 255, 0.18);
  color: var(--brand-2);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-weight: 700;
  font-size: 12px;
}
.ivr-opt.highlight {
  background: linear-gradient(135deg, rgba(108, 92, 255, 0.25), rgba(24, 214, 185, 0.15));
  border-color: rgba(108, 92, 255, 0.6);
}
.phone-controls {
  display: flex;
  justify-content: space-around;
  padding-top: 8px;
}
.ctrl {
  width: 52px;
  height: 52px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  background: var(--surface);
  border: 1px solid var(--border);
  font-size: 20px;
}
.ctrl.end {
  background: #ff4d6a;
  border-color: #ff4d6a;
  box-shadow: 0 0 24px rgba(255, 77, 106, 0.4);
}
.hero-bg-blob {
  position: absolute;
  inset: 0;
  background: radial-gradient(circle at 60% 50%, rgba(108, 92, 255, 0.4), transparent 60%);
  filter: blur(60px);
  z-index: 0;
}

/* ========== Trust bar ========== */
.trust {
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
  padding: 36px 0;
  background: var(--bg-elev);
}
.trust-label {
  text-align: center;
  font-size: 13px;
  color: var(--text-mute);
  margin-bottom: 18px;
  letter-spacing: 0.06em;
}
.trust-logos {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 48px;
  font-family: 'Space Grotesk', sans-serif;
  font-weight: 600;
  font-size: 18px;
  color: var(--text-mute);
  opacity: 0.75;
}

/* ========== Generic section heads ========== */
.section-head {
  text-align: center;
  margin-bottom: 56px;
  max-width: 720px;
  margin-left: auto;
  margin-right: auto;
}
.section-head h2 {
  font-size: clamp(32px, 4vw, 46px);
  margin-bottom: 14px;
}
.section-sub {
  color: var(--text-dim);
  font-size: 17px;
}

section { padding: 100px 0; }

/* ========== Features ========== */
.feature-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  gap: 20px;
}
.feature-card {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 28px;
  transition: transform .2s ease, border-color .2s ease;
}
.feature-card:hover {
  transform: translateY(-4px);
  border-color: rgba(108, 92, 255, 0.4);
}
.feature-icon {
  font-size: 32px;
  margin-bottom: 16px;
}
.feature-card h3 {
  font-size: 20px;
  margin-bottom: 10px;
}
.feature-card p {
  color: var(--text-dim);
  font-size: 15px;
}

/* ========== How it works ========== */
.how { background: var(--bg-elev); }
.steps {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 32px;
  counter-reset: step;
}
.step {
  position: relative;
  padding: 32px 28px;
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
}
.step-num {
  font-family: 'Space Grotesk', sans-serif;
  font-size: 14px;
  font-weight: 700;
  color: var(--brand-2);
  letter-spacing: 0.1em;
  margin-bottom: 16px;
}
.step h3 { font-size: 22px; margin-bottom: 12px; }
.step p { color: var(--text-dim); font-size: 15px; }

/* ========== Split section ========== */
.split-inner {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 60px;
  align-items: center;
}
.split-copy h2 {
  font-size: clamp(30px, 3.6vw, 42px);
  margin-bottom: 18px;
}
.split-copy p {
  color: var(--text-dim);
  font-size: 17px;
  margin-bottom: 24px;
}
.checklist { list-style: none; padding: 0; }
.checklist li {
  position: relative;
  padding-left: 30px;
  margin-bottom: 12px;
  color: var(--text-dim);
}
.checklist li::before {
  content: "✓";
  position: absolute;
  left: 0;
  top: 0;
  width: 22px;
  height: 22px;
  border-radius: 50%;
  background: rgba(24, 214, 185, 0.15);
  color: var(--accent);
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 700;
  font-size: 13px;
}

.split-art {
  position: relative;
  height: 460px;
}
.ss-card {
  position: absolute;
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: 18px;
  padding: 18px;
  box-shadow: var(--shadow);
}
.ss-1 {
  top: 0;
  left: 0;
  width: 78%;
  transform: rotate(-3deg);
}
.ss-2 {
  bottom: 0;
  right: 0;
  width: 70%;
  transform: rotate(3deg);
  z-index: 2;
}
.ss-row {
  font-size: 12px;
  color: var(--text-mute);
  text-transform: uppercase;
  letter-spacing: 0.1em;
  margin-bottom: 12px;
}
.ss-call {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 10px 12px;
  border-radius: 10px;
  background: rgba(255,255,255,.03);
  margin-bottom: 6px;
  font-size: 14px;
}
.ss-call span {
  font-size: 12px;
  color: var(--text-mute);
}
.ss-title {
  font-weight: 600;
  font-size: 14px;
  margin-bottom: 12px;
  color: var(--text);
}
.ss-tree {
  font-family: 'Space Grotesk', monospace;
  font-size: 13px;
  color: var(--text-dim);
  line-height: 1.9;
}
.ss-tree .indent { padding-left: 18px; color: var(--text-mute); }
.ss-tree .hl {
  color: var(--accent);
  font-weight: 600;
}

/* ========== Pricing ========== */
.pricing { background: var(--bg-elev); }
.price-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 24px;
  max-width: 820px;
  margin: 0 auto;
}
.price-card {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 36px 30px;
  position: relative;
}
.price-card--pro {
  border-color: rgba(108, 92, 255, 0.5);
  background: linear-gradient(180deg, var(--surface), rgba(108, 92, 255, 0.05));
  box-shadow: 0 20px 60px rgba(108, 92, 255, 0.15);
}
.badge {
  position: absolute;
  top: -12px;
  right: 24px;
  background: linear-gradient(135deg, var(--brand), var(--accent));
  color: #fff;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  padding: 5px 12px;
  border-radius: 999px;
}
.price-card h3 { font-size: 22px; margin-bottom: 12px; }
.price {
  display: flex;
  align-items: baseline;
  gap: 6px;
  margin-bottom: 22px;
}
.amt { font-family: 'Space Grotesk', sans-serif; font-size: 44px; font-weight: 700; }
.per { color: var(--text-mute); font-size: 14px; }
.price-card ul { list-style: none; padding: 0; margin-bottom: 26px; }
.price-card li {
  padding: 8px 0;
  font-size: 15px;
  color: var(--text-dim);
  border-bottom: 1px solid var(--border);
}
.price-card li:last-child { border-bottom: 0; }
.price-foot {
  text-align: center;
  margin-top: 24px;
  font-size: 13px;
  color: var(--text-mute);
}

/* ========== Testimonials ========== */
.quote-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 22px;
}
blockquote {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 28px;
}
blockquote p {
  font-size: 17px;
  line-height: 1.6;
  margin-bottom: 16px;
  color: var(--text);
}
blockquote footer {
  font-size: 13px;
  color: var(--text-mute);
}

/* ========== FAQ ========== */
.faq { background: var(--bg-elev); }
.faq-list {
  max-width: 760px;
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  gap: 12px;
}
details {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: 14px;
  padding: 20px 22px;
  transition: border-color .2s ease;
}
details[open] { border-color: rgba(108, 92, 255, 0.5); }
summary {
  cursor: pointer;
  font-weight: 600;
  font-size: 16px;
  list-style: none;
  display: flex;
  justify-content: space-between;
  align-items: center;
}
summary::-webkit-details-marker { display: none; }
summary::after {
  content: "+";
  font-size: 22px;
  color: var(--text-mute);
  transition: transform .2s ease;
}
details[open] summary::after { transform: rotate(45deg); }
details p {
  margin-top: 14px;
  color: var(--text-dim);
  font-size: 15px;
  line-height: 1.65;
}

/* ========== CTA ========== */
.cta {
  text-align: center;
  background:
    radial-gradient(circle at 30% 50%, rgba(108, 92, 255, 0.3), transparent 60%),
    radial-gradient(circle at 70% 50%, rgba(24, 214, 185, 0.2), transparent 60%),
    var(--bg);
}
.cta-inner h2 {
  font-size: clamp(36px, 4.5vw, 54px);
  margin-bottom: 16px;
}
.cta-inner p {
  font-size: 18px;
  color: var(--text-dim);
  margin-bottom: 32px;
}

/* ========== Footer ========== */
.footer {
  background: #07080c;
  padding: 60px 0 30px;
  border-top: 1px solid var(--border);
}
.footer-inner {
  display: grid;
  grid-template-columns: 1fr 2fr;
  gap: 40px;
  margin-bottom: 40px;
}
.footer-brand p {
  margin-top: 12px;
  color: var(--text-mute);
  font-size: 14px;
}
.footer-cols {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 30px;
}
.footer-cols h4 {
  font-size: 13px;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--text);
  margin-bottom: 16px;
}
.footer-cols a {
  display: block;
  color: var(--text-mute);
  font-size: 14px;
  padding: 4px 0;
}
.footer-cols a:hover { color: var(--text); }
.footer-cols a.link-disabled {
  color: var(--text-mute);
  opacity: 0.5;
  cursor: not-allowed;
  pointer-events: none;
}
.footer-cols a.link-disabled:hover { color: var(--text-mute); }
.footer-bottom {
  display: flex;
  justify-content: space-between;
  padding-top: 24px;
  border-top: 1px solid var(--border);
  font-size: 13px;
  color: var(--text-mute);
}

/* ========== Interactive phone — extras ========== */

/* Option content layout */
.ivr-opt {
  position: relative;
  width: 100%;
}
.ivr-opt .opt-text {
  flex: 1;
  text-align: left;
}
.ivr-opt .chev {
  color: var(--text-mute);
  font-size: 18px;
  margin-left: auto;
}
.ivr-opt .agent-tag {
  margin-left: auto;
  font-size: 10px;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--accent);
  background: rgba(24, 214, 185, 0.14);
  padding: 3px 7px;
  border-radius: 999px;
}
.ivr-opt.is-agent {
  border-color: rgba(24, 214, 185, 0.25);
}
.ivr-opt.opt-pressed {
  background: rgba(108, 92, 255, 0.25) !important;
  transform: scale(0.97);
  transition: all .12s ease;
}

/* Back button */
.ivr-back {
  background: transparent !important;
  border-style: dashed !important;
  color: var(--text-mute) !important;
  font-size: 12.5px !important;
}
.ivr-back .num {
  background: transparent !important;
  border: 1px solid var(--border);
  color: var(--text-mute) !important;
}
.ivr-back:hover {
  border-color: var(--brand-2) !important;
  color: var(--text) !important;
}

/* Blinking hint */
@keyframes blinkHint {
  0%, 100% {
    border-color: rgba(108, 92, 255, 0.6);
    box-shadow: 0 0 0 0 rgba(108, 92, 255, 0.5);
  }
  50% {
    border-color: rgba(156, 139, 255, 1);
    box-shadow: 0 0 0 6px rgba(108, 92, 255, 0);
  }
}
.blink-hint {
  animation: blinkHint 1.6s ease-in-out infinite;
  background: linear-gradient(135deg, rgba(108, 92, 255, 0.18), rgba(24, 214, 185, 0.12)) !important;
  border-color: rgba(108, 92, 255, 0.6) !important;
}
.blink-hint {
  padding-right: 64px !important;
}
.blink-hint .opt-text {
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}
.blink-hint::after {
  content: "tap me";
  position: absolute;
  right: 10px;
  top: 50%;
  transform: translateY(-50%);
  font-size: 9px;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  font-weight: 700;
  color: var(--brand-2);
  background: rgba(108, 92, 255, 0.18);
  padding: 3px 7px;
  border-radius: 999px;
  white-space: nowrap;
}
@media (max-width: 380px) {
  .blink-hint { padding-right: 52px !important; }
  .blink-hint::after {
    content: "tap";
    font-size: 8px;
    padding: 2px 6px;
  }
}

/* "Soon" tag on options */
.soon-tag {
  margin-left: auto;
  font-size: 10px;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--warn);
  background: rgba(255, 181, 71, 0.14);
  padding: 3px 7px;
  border-radius: 999px;
}
.ivr-opt.is-soon {
  border-style: dashed;
  border-color: rgba(255, 181, 71, 0.35);
}
.ivr-opt.is-soon .opt-text {
  color: var(--text-dim);
}

/* Coming-soon state screen */
.phone-state--soon .state-clock {
  font-size: 38px;
  margin-bottom: 4px;
  animation: clockTilt 2.4s ease-in-out infinite;
}
@keyframes clockTilt {
  0%, 100% { transform: rotate(-6deg); }
  50% { transform: rotate(6deg); }
}
.phone-state--soon .state-title {
  background: linear-gradient(135deg, var(--warn), #ff8a47);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
  font-weight: 700;
  font-size: 18px;
}
.phone-state--soon .state-sub {
  max-width: 240px;
  line-height: 1.45;
}

/* Phone state screens (connecting / connected / resolved) */
.phone-state {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  padding: 22px 12px 14px;
  gap: 8px;
  position: relative;
}
.state-title {
  font-size: 16px;
  font-weight: 600;
  color: var(--text);
  margin-top: 4px;
}
.state-sub {
  font-size: 12px;
  color: var(--text-dim);
}
.state-row {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 6px;
  margin-top: 8px;
}
.state-pill {
  font-size: 10px;
  font-weight: 600;
  color: var(--text-dim);
  background: rgba(255,255,255,0.05);
  border: 1px solid var(--border);
  padding: 4px 8px;
  border-radius: 999px;
}

/* Loader (3 bouncing dots) */
.state-loader {
  display: inline-flex;
  gap: 6px;
  margin: 8px 0;
}
.state-loader span {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--brand-2);
  animation: dotBounce 1.2s ease-in-out infinite;
}
.state-loader span:nth-child(2) { animation-delay: 0.15s; }
.state-loader span:nth-child(3) { animation-delay: 0.3s; }
@keyframes dotBounce {
  0%, 80%, 100% { transform: scale(0.6); opacity: 0.4; }
  40% { transform: scale(1); opacity: 1; }
}

/* Connected — agent avatar with pulse */
.state-pulse {
  position: absolute;
  top: 8px;
  left: 50%;
  transform: translateX(-50%);
  width: 80px;
  height: 80px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(24, 214, 185, 0.3), transparent 60%);
  animation: pulseRing 2s ease-out infinite;
  pointer-events: none;
}
@keyframes pulseRing {
  0% { transform: translateX(-50%) scale(0.85); opacity: 0.8; }
  100% { transform: translateX(-50%) scale(1.4); opacity: 0; }
}
.state-avatar {
  width: 56px;
  height: 56px;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--brand), var(--accent));
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: 'Space Grotesk', sans-serif;
  font-size: 22px;
  font-weight: 700;
  color: #fff;
  box-shadow: 0 8px 24px rgba(108, 92, 255, 0.4);
  position: relative;
  z-index: 1;
}
.state-duration {
  color: var(--accent);
  font-variant-numeric: tabular-nums;
  font-weight: 600;
}

/* Resolved — checkmark */
.state-check {
  width: 56px;
  height: 56px;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--accent), #0fbaa1);
  display: flex;
  align-items: center;
  justify-content: center;
  color: #042920;
  font-size: 28px;
  font-weight: 800;
  box-shadow: 0 8px 24px rgba(24, 214, 185, 0.4);
  animation: checkPop .4s cubic-bezier(.3,1.6,.5,1);
}
@keyframes checkPop {
  0% { transform: scale(0); opacity: 0; }
  60% { transform: scale(1.15); opacity: 1; }
  100% { transform: scale(1); opacity: 1; }
}

/* Try it pill */
.try-it-pill {
  position: absolute;
  bottom: -16px;
  left: 50%;
  transform: translateX(-50%);
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 10px 18px;
  background: linear-gradient(135deg, var(--brand), #5847ff);
  color: #fff;
  border: 0;
  border-radius: 999px;
  font-family: inherit;
  font-size: 13px;
  font-weight: 600;
  letter-spacing: 0.02em;
  cursor: pointer;
  box-shadow: 0 10px 30px rgba(108, 92, 255, 0.45);
  z-index: 4;
  white-space: nowrap;
  transition: transform .15s ease, box-shadow .2s ease;
}
.try-it-pill:hover {
  transform: translateX(-50%) translateY(-2px);
  box-shadow: 0 14px 36px rgba(108, 92, 255, 0.6);
}
.try-it-arrow {
  display: inline-block;
  animation: arrowBob 1.4s ease-in-out infinite;
}
@keyframes arrowBob {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(-3px); }
}
.try-it-emoji { font-size: 14px; }

/* ========== Legal pages (Privacy, Terms) ========== */
.legal-page {
  background: var(--bg);
}
.legal {
  padding: 60px 0 80px;
  position: relative;
}
.legal::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 400px;
  background:
    radial-gradient(circle at 30% 0%, rgba(108, 92, 255, 0.12), transparent 60%),
    radial-gradient(circle at 70% 0%, rgba(24, 214, 185, 0.08), transparent 60%);
  pointer-events: none;
  z-index: 0;
}
.legal-container {
  position: relative;
  z-index: 1;
  max-width: 760px;
  margin: 0 auto;
  padding: 0 24px;
}

.legal-header {
  margin-bottom: 56px;
  padding-bottom: 36px;
  border-bottom: 1px solid var(--border);
}
.legal-back {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-size: 13px;
  color: var(--text-mute);
  margin-bottom: 24px;
  transition: color .15s ease;
}
.legal-back:hover { color: var(--text); }

.legal-header h1 {
  font-size: clamp(36px, 5vw, 52px);
  margin-bottom: 14px;
  letter-spacing: -0.02em;
}
.legal-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  font-size: 13px;
  color: var(--text-mute);
}

/* TL;DR card */
.legal-tldr {
  background: linear-gradient(135deg, rgba(108, 92, 255, 0.08), rgba(24, 214, 185, 0.04));
  border: 1px solid rgba(108, 92, 255, 0.25);
  border-radius: var(--radius-lg);
  padding: 30px 32px;
  margin-bottom: 56px;
}
.legal-tldr h2 {
  font-size: 18px;
  margin-bottom: 12px;
  color: var(--brand-2);
  letter-spacing: 0.04em;
  text-transform: uppercase;
  font-weight: 700;
}
.legal-tldr p {
  color: var(--text-dim);
  margin-bottom: 16px;
  font-size: 15px;
}
.legal-tldr-list {
  list-style: none;
  padding: 0;
  margin: 0;
  display: flex;
  flex-direction: column;
  gap: 10px;
}
.legal-tldr-list li {
  position: relative;
  padding-left: 26px;
  color: var(--text);
  font-size: 15px;
  line-height: 1.55;
}
.legal-tldr-list li::before {
  content: "✓";
  position: absolute;
  left: 0;
  top: 1px;
  width: 18px;
  height: 18px;
  border-radius: 50%;
  background: rgba(24, 214, 185, 0.18);
  color: var(--accent);
  font-weight: 700;
  font-size: 11px;
  display: flex;
  align-items: center;
  justify-content: center;
}

/* Body sections */
.legal-section {
  margin-bottom: 48px;
}
.legal-section:last-child {
  margin-bottom: 0;
}
.legal-section h2 {
  font-size: 24px;
  font-weight: 700;
  margin-bottom: 18px;
  letter-spacing: -0.01em;
  scroll-margin-top: 80px;
}
.legal-section h3 {
  font-size: 17px;
  font-weight: 600;
  margin-top: 28px;
  margin-bottom: 12px;
  color: var(--text);
  letter-spacing: -0.005em;
}
.legal-section p {
  color: var(--text-dim);
  font-size: 16px;
  line-height: 1.7;
  margin-bottom: 14px;
}
.legal-section ul {
  list-style: none;
  padding: 0;
  margin: 0 0 16px 0;
}
.legal-section ul li {
  position: relative;
  padding-left: 22px;
  color: var(--text-dim);
  font-size: 16px;
  line-height: 1.65;
  margin-bottom: 10px;
}
.legal-section ul li::before {
  content: "";
  position: absolute;
  left: 6px;
  top: 11px;
  width: 5px;
  height: 5px;
  border-radius: 50%;
  background: var(--brand-2);
  opacity: 0.7;
}
.legal-section ul li strong {
  color: var(--text);
  font-weight: 600;
}
.legal-section a {
  color: var(--brand-2);
  border-bottom: 1px dotted rgba(156, 139, 255, 0.4);
  transition: color .15s ease, border-color .15s ease;
}
.legal-section a:hover {
  color: var(--accent);
  border-bottom-color: var(--accent);
}
.legal-section em {
  font-style: italic;
  color: var(--text);
}

/* Contact list */
.legal-contact {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: 14px;
  padding: 20px 24px;
  margin-top: 12px;
}
.legal-contact li {
  padding-left: 0 !important;
}
.legal-contact li::before {
  display: none !important;
}

/* Mobile */
@media (max-width: 540px) {
  .legal { padding: 40px 0 60px; }
  .legal-tldr { padding: 24px; }
  .legal-section h2 { font-size: 21px; }
  .legal-section h3 { font-size: 16px; }
  .legal-section p,
  .legal-section ul li { font-size: 15px; }
}

/* ========== Mobile nav drawer ========== */
.nav-burger {
  display: none;
  flex-direction: column;
  justify-content: space-between;
  width: 28px;
  height: 22px;
  padding: 4px 0;
  background: transparent;
  border: 0;
  cursor: pointer;
  z-index: 51;
}
.nav-burger span {
  display: block;
  width: 100%;
  height: 2px;
  background: var(--text);
  border-radius: 2px;
  transition: transform .3s ease, opacity .3s ease;
}
.nav-burger[aria-expanded="true"] span:nth-child(1) {
  transform: translateY(7px) rotate(45deg);
}
.nav-burger[aria-expanded="true"] span:nth-child(2) {
  opacity: 0;
}
.nav-burger[aria-expanded="true"] span:nth-child(3) {
  transform: translateY(-7px) rotate(-45deg);
}

.nav-drawer {
  position: fixed;
  inset: 0;
  z-index: 50;
  visibility: hidden;
  pointer-events: none;
}
.nav-drawer.is-open {
  visibility: visible;
  pointer-events: auto;
}
.nav-drawer-backdrop {
  position: absolute;
  inset: 0;
  background: rgba(7, 8, 12, 0.6);
  backdrop-filter: blur(4px);
  -webkit-backdrop-filter: blur(4px);
  opacity: 0;
  transition: opacity .25s ease;
}
.nav-drawer.is-open .nav-drawer-backdrop {
  opacity: 1;
}
.nav-drawer-panel {
  position: absolute;
  top: 0;
  right: 0;
  bottom: 0;
  width: min(86vw, 320px);
  background: var(--bg-elev);
  border-left: 1px solid var(--border);
  padding: 80px 24px 32px;
  display: flex;
  flex-direction: column;
  gap: 6px;
  transform: translateX(100%);
  transition: transform .35s cubic-bezier(.2,.7,.2,1);
  padding-top: calc(80px + env(safe-area-inset-top));
  padding-bottom: calc(32px + env(safe-area-inset-bottom));
}
.nav-drawer.is-open .nav-drawer-panel {
  transform: translateX(0);
}
.nav-drawer-close {
  position: absolute;
  top: 18px;
  right: 18px;
  width: 36px;
  height: 36px;
  border-radius: 50%;
  background: var(--surface);
  border: 1px solid var(--border);
  color: var(--text);
  font-size: 16px;
  cursor: pointer;
}
.nav-drawer-link {
  font-size: 18px;
  font-weight: 600;
  color: var(--text);
  padding: 14px 4px;
  border-bottom: 1px solid var(--border);
  transition: color .15s ease;
}
.nav-drawer-link:hover {
  color: var(--brand-2);
}
.nav-drawer-cta {
  margin-top: 20px;
  font-size: 16px;
}

@media (max-width: 880px) {
  .nav-burger { display: flex; }
  .nav .nav-cta { display: none; }
}

/* ========== QR modal (desktop CTA fallback) ========== */
.qr-modal {
  position: fixed;
  inset: 0;
  z-index: 60;
  display: flex;
  align-items: center;
  justify-content: center;
  visibility: hidden;
  pointer-events: none;
}
.qr-modal.is-open {
  visibility: visible;
  pointer-events: auto;
}
.qr-modal-backdrop {
  position: absolute;
  inset: 0;
  background: rgba(7, 8, 12, 0.7);
  backdrop-filter: blur(6px);
  -webkit-backdrop-filter: blur(6px);
  opacity: 0;
  transition: opacity .25s ease;
}
.qr-modal.is-open .qr-modal-backdrop {
  opacity: 1;
}
.qr-modal-panel {
  position: relative;
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: 24px;
  padding: 36px 36px 30px;
  max-width: 360px;
  width: calc(100% - 32px);
  text-align: center;
  transform: scale(0.92);
  opacity: 0;
  transition: transform .25s cubic-bezier(.2,.7,.2,1), opacity .2s ease;
  box-shadow: 0 30px 80px rgba(0,0,0,0.5);
}
.qr-modal.is-open .qr-modal-panel {
  transform: scale(1);
  opacity: 1;
}
.qr-modal-close {
  position: absolute;
  top: 14px;
  right: 14px;
  width: 32px;
  height: 32px;
  border-radius: 50%;
  background: rgba(255,255,255,0.04);
  border: 1px solid var(--border);
  color: var(--text);
  cursor: pointer;
}
.qr-modal h3 {
  font-size: 22px;
  margin-bottom: 8px;
}
.qr-modal p {
  color: var(--text-dim);
  font-size: 14px;
  margin-bottom: 20px;
}
.qr-code {
  width: 220px;
  height: 220px;
  margin: 0 auto 20px;
  background: #fff;
  border-radius: 14px;
  padding: 14px;
  display: flex;
  align-items: center;
  justify-content: center;
}
.qr-code img {
  width: 100%;
  height: 100%;
  display: block;
}
.qr-modal-foot {
  font-size: 13px;
  color: var(--text-mute);
  margin: 0 !important;
}
.qr-modal-foot strong {
  color: var(--text);
}

/* ========== Mobile scroll snap ========== */
@media (max-width: 880px) and (pointer: coarse) {
  html {
    scroll-snap-type: y proximity;
  }
  .hero,
  .features,
  .how,
  .split,
  .pricing,
  .testimonials,
  .privacy,
  .faq,
  .cta {
    scroll-snap-align: start;
    scroll-snap-stop: normal;
  }
}

/* ========== Performance: skip rendering below-fold ========== */
.features,
.how,
.split,
.pricing,
.testimonials,
.privacy,
.faq,
.cta {
  content-visibility: auto;
  contain-intrinsic-size: auto 800px;
}

/* ========== Sticky mobile CTA ========== */
.sticky-cta {
  position: fixed;
  left: 0;
  right: 0;
  bottom: 0;
  z-index: 45;
  display: none;
  background: rgba(11, 13, 18, 0.92);
  backdrop-filter: saturate(180%) blur(16px);
  -webkit-backdrop-filter: saturate(180%) blur(16px);
  border-top: 1px solid var(--border);
  padding: 12px 16px calc(12px + env(safe-area-inset-bottom));
  transform: translateY(110%);
  transition: transform .35s cubic-bezier(.2,.7,.2,1), opacity .25s ease;
  opacity: 0;
  pointer-events: none;
}
.sticky-cta.is-visible {
  transform: translateY(0);
  opacity: 1;
  pointer-events: auto;
}
.sticky-cta.hide-near-cta {
  transform: translateY(110%);
  opacity: 0;
  pointer-events: none;
}
.sticky-cta-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  max-width: 480px;
  margin: 0 auto;
}
.sticky-cta-meta {
  display: flex;
  flex-direction: column;
  line-height: 1.2;
  flex-shrink: 0;
}
.sticky-cta-title {
  font-weight: 700;
  font-size: 15px;
  color: var(--text);
}
.sticky-cta-sub {
  font-size: 12px;
  color: var(--text-mute);
  margin-top: 2px;
}
.sticky-cta-btn {
  padding: 11px 18px;
  font-size: 14px;
}

/* Show only on mobile widths */
@media (max-width: 880px) {
  .sticky-cta { display: block; }
  /* Add bottom space so footer content isn't hidden under the bar */
  .footer-bottom { padding-bottom: 90px; }
}

/* ========== Spotlight cursor ========== */
.spotlight {
  position: fixed;
  top: 0;
  left: 0;
  width: 600px;
  height: 600px;
  margin-left: -300px;
  margin-top: -300px;
  pointer-events: none;
  z-index: 1;
  background: radial-gradient(
    circle at center,
    rgba(108, 92, 255, 0.18) 0%,
    rgba(108, 92, 255, 0.08) 25%,
    transparent 60%
  );
  filter: blur(20px);
  mix-blend-mode: screen;
  will-change: transform;
  transition: opacity .4s ease;
}

/* ========== Scroll reveal ========== */
.reveal {
  opacity: 0;
  transform: translateY(24px);
  transition: opacity .7s cubic-bezier(.2,.7,.2,1), transform .7s cubic-bezier(.2,.7,.2,1);
  will-change: opacity, transform;
}
.reveal.is-visible {
  opacity: 1;
  transform: translateY(0);
}
.bento .reveal:nth-child(2) { transition-delay: .05s; }
.bento .reveal:nth-child(3) { transition-delay: .1s; }
.bento .reveal:nth-child(4) { transition-delay: .15s; }
.bento .reveal:nth-child(5) { transition-delay: .2s; }
.steps .reveal:nth-child(2) { transition-delay: .08s; }
.steps .reveal:nth-child(3) { transition-delay: .16s; }
.privacy-grid .reveal:nth-child(2) { transition-delay: .06s; }
.privacy-grid .reveal:nth-child(3) { transition-delay: .12s; }
.privacy-grid .reveal:nth-child(4) { transition-delay: .18s; }

@media (prefers-reduced-motion: reduce) {
  .reveal { opacity: 1; transform: none; transition: none; }
}

/* ========== Phone screen swap animation ========== */
.phone-screen {
  transition: opacity .32s ease;
}
.phone-screen.phone-fading {
  opacity: 0.35;
}
.ivr-opts {
  display: flex;
  flex-direction: column;
  gap: 8px;
}

/* ========== Bento grid ========== */
.bento {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  grid-auto-rows: minmax(180px, auto);
  gap: 18px;
}
.bento-card {
  position: relative;
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 28px;
  overflow: hidden;
  transition: transform .25s ease, border-color .25s ease;
}
.bento-card:hover {
  transform: translateY(-3px);
  border-color: rgba(108, 92, 255, 0.4);
}
.bento-card h3 {
  font-size: 20px;
  margin-bottom: 10px;
}
.bento-card p {
  color: var(--text-dim);
  font-size: 15px;
  line-height: 1.55;
}
.bento-card .feature-icon {
  font-size: 32px;
  margin-bottom: 14px;
}

/* Hero card — large 2x2 */
.bento-hero {
  grid-column: span 2;
  grid-row: span 2;
  background: linear-gradient(135deg, rgba(108, 92, 255, 0.08), rgba(24, 214, 185, 0.04));
  border-color: rgba(108, 92, 255, 0.3);
  display: flex;
  flex-direction: column;
}
.bento-glow {
  position: absolute;
  top: -50%;
  right: -30%;
  width: 80%;
  height: 140%;
  background: radial-gradient(circle, rgba(108, 92, 255, 0.18), transparent 65%);
  filter: blur(40px);
  pointer-events: none;
}
.bento-content {
  position: relative;
  z-index: 1;
  display: flex;
  flex-direction: column;
  height: 100%;
}
.bento-hero h3 { font-size: 26px; }
.bento-hero p { font-size: 16px; max-width: 460px; }
.bento-demo {
  margin-top: auto;
  padding-top: 24px;
  display: flex;
  flex-direction: column;
  gap: 10px;
}
.demo-line {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 10px 14px;
  background: rgba(255,255,255,0.03);
  border: 1px solid var(--border);
  border-radius: 10px;
  font-size: 13px;
  color: var(--text-dim);
}
.demo-bar {
  display: inline-block;
  width: 4px;
  height: 18px;
  background: linear-gradient(180deg, var(--brand), var(--accent));
  border-radius: 2px;
  flex-shrink: 0;
  animation: pulseBar 1.8s ease-in-out infinite;
}
.demo-line:nth-child(2) .demo-bar { animation-delay: .3s; }
@keyframes pulseBar {
  0%, 100% { transform: scaleY(0.4); opacity: 0.6; }
  50% { transform: scaleY(1); opacity: 1; }
}
.demo-line--out {
  background: rgba(108, 92, 255, 0.1);
  border-color: rgba(108, 92, 255, 0.35);
  color: var(--text);
}
.demo-arrow {
  color: var(--accent);
  font-weight: 700;
  font-size: 16px;
  flex-shrink: 0;
}
.demo-tag {
  font-weight: 600;
}

/* Wide card — full row at bottom */
.bento-wide {
  grid-column: span 3;
  display: flex;
  flex-direction: column;
}
.bento-stats {
  margin-top: 20px;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
  padding-top: 22px;
  border-top: 1px solid var(--border);
}
.bento-stats > div {
  display: flex;
  flex-direction: column;
  gap: 4px;
}
.bento-stats strong {
  font-family: 'Space Grotesk', sans-serif;
  font-size: 32px;
  font-weight: 700;
  background: linear-gradient(135deg, var(--brand-2), var(--accent));
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
  letter-spacing: -0.02em;
}
.bento-stats span {
  font-size: 13px;
  color: var(--text-mute);
  letter-spacing: 0.04em;
}

/* ========== Privacy section ========== */
.privacy {
  background:
    radial-gradient(circle at 20% 20%, rgba(108, 92, 255, 0.08), transparent 50%),
    radial-gradient(circle at 80% 80%, rgba(24, 214, 185, 0.06), transparent 50%),
    var(--bg);
}
.privacy-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  gap: 18px;
  margin-bottom: 40px;
}
.privacy-card {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 28px;
  transition: border-color .2s ease, transform .2s ease;
}
.privacy-card:hover {
  border-color: rgba(24, 214, 185, 0.4);
  transform: translateY(-2px);
}
.privacy-icon {
  font-size: 30px;
  margin-bottom: 14px;
}
.privacy-card h3 {
  font-size: 19px;
  margin-bottom: 10px;
}
.privacy-card p {
  color: var(--text-dim);
  font-size: 14.5px;
  line-height: 1.6;
}
.privacy-foot {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 12px;
}
.badge-pill {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 8px 16px;
  border-radius: 999px;
  background: rgba(255,255,255,0.04);
  border: 1px solid var(--border);
  font-size: 13px;
  font-weight: 500;
  color: var(--text-dim);
}
.badge-pill::before {
  content: "✓";
  color: var(--accent);
  font-weight: 700;
}

/* ========== Responsive ========== */
@media (max-width: 880px) {
  .nav-links { display: none; }
  .nav-inner { padding: 14px 18px; }
  .hero { padding: 50px 0 70px; }
  .hero-inner { grid-template-columns: 1fr; gap: 40px; }
  .hero-art { order: -1; }
  .phone { transform: none; width: 280px; height: 560px; }
  .split-inner { grid-template-columns: 1fr; }
  .split-art { height: 380px; }
  .footer-inner { grid-template-columns: 1fr; }
  .footer-cols { grid-template-columns: repeat(3, 1fr); }
  section { padding: 70px 0; }

  /* Bento collapses to 2 cols */
  .bento { grid-template-columns: repeat(2, 1fr); }
  .bento-hero { grid-column: span 2; grid-row: auto; }
  .bento-wide { grid-column: span 2; }
  .bento-stats { grid-template-columns: repeat(3, 1fr); gap: 16px; }
  .bento-stats strong { font-size: 26px; }
}

@media (max-width: 540px) {
  .footer-cols { grid-template-columns: 1fr 1fr; }
  .hero-cta { flex-direction: column; align-items: stretch; }
  .hero-cta .btn { width: 100%; }
  .footer-bottom { flex-direction: column; gap: 8px; text-align: center; }

  /* Compact nav on phones */
  .nav-inner { padding: 12px 16px; gap: 10px; }
  .logo-word { font-size: 18px; }
  .nav .btn-sm {
    padding: 8px 14px;
    font-size: 13px;
  }

  /* Bento collapses to single column */
  .bento { grid-template-columns: 1fr; }
  .bento-hero { grid-column: span 1; }
  .bento-wide { grid-column: span 1; }
  .bento-stats { grid-template-columns: 1fr; gap: 14px; }
  .bento-stats strong { font-size: 24px; }

  /* Hide spotlight on touch devices */
  .spotlight { display: none; }
}

@media (max-width: 380px) {
  /* Last-resort: tiny phones — shorter button label */
  .nav .btn-sm { padding: 8px 12px; font-size: 12px; }
}
