/* Sublime AI — landing page styles */
:root {
  --bg: #FAF6ED;
  --ink: #1B2A1F;
  --ink-60: rgba(27, 42, 31, .64);
  --ink-40: rgba(27, 42, 31, .42);
  --ink-12: rgba(27, 42, 31, .12);
  --accent: #A8C922;
  --accent-ink: #1B2A1F;
  --sage: #D8E3C5;
  --card: #FFFDF6;
  --r-lg: 24px;
  --r-md: 16px;
  --font-display: "Bricolage Grotesque", sans-serif;
  --font-body: "Figtree", sans-serif;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  background: var(--bg);
  color: var(--ink);
  font-family: var(--font-body);
  font-size: 17px;
  line-height: 1.55;
  -webkit-font-smoothing: antialiased;
}
h1, h2, h3 { font-family: var(--font-display); line-height: 1.08; margin: 0; text-wrap: balance; }
p { margin: 0; text-wrap: pretty; }
a { color: inherit; text-decoration: none; }
img { display: block; }

.wrap { max-width: 1140px; margin: 0 auto; padding: 0 32px; }

/* ---------- buttons ---------- */
.btn {
  display: inline-flex; align-items: center; gap: 10px;
  background: var(--accent); color: var(--accent-ink);
  font-family: var(--font-body); font-weight: 700; font-size: 17px;
  padding: 16px 30px; border-radius: 999px; border: none; cursor: pointer;
  white-space: nowrap;
  box-shadow: 0 2px 0 rgba(27,42,31,.18), 0 10px 24px -12px rgba(27,42,31,.35);
  transition: transform .18s ease, box-shadow .18s ease, filter .18s ease;
}
.btn:hover { transform: translateY(-2px); filter: brightness(1.04); box-shadow: 0 4px 0 rgba(27,42,31,.18), 0 16px 30px -12px rgba(27,42,31,.4); }
.btn:active { transform: translateY(0); }
.btn .arr { transition: transform .18s ease; }
.btn:hover .arr { transform: translateX(3px); }
.btn--big { font-size: 19px; padding: 19px 38px; }
.btn--small { font-size: 15px; padding: 12px 22px; }

/* ---------- nav ---------- */
.nav {
  position: sticky; top: 0; z-index: 50;
  background: rgba(250, 246, 237, .85);
  backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--ink-12);
}
.nav-inner { display: flex; align-items: center; justify-content: space-between; height: 76px; }
.brand { display: flex; align-items: center; gap: 12px; font-family: var(--font-display); font-weight: 700; font-size: 21px; }
.brand img { width: 64px; height: 64px; }
.nav-right { display: flex; align-items: center; gap: 22px; }
.nav-phone { font-weight: 600; color: var(--ink-60); font-size: 15px; }

/* ---------- hero ---------- */
.hero { padding: 84px 0 72px; overflow: hidden; }
.hero-grid { display: grid; grid-template-columns: 1.15fr 1fr; gap: 56px; align-items: center; }
.hero h1 { font-size: clamp(40px, 5vw, 62px); font-weight: 700; letter-spacing: -0.5px; margin-bottom: 22px; }
.hero h1 .hl { position: relative; white-space: nowrap; }
.hero h1 .hl::after {
  content: ""; position: absolute; left: -2px; right: -2px; bottom: 4px; height: 14px;
  background: var(--accent); opacity: .45; border-radius: 6px; z-index: -1;
}
.hero-sub { font-size: 20px; color: var(--ink-60); max-width: 480px; margin-bottom: 32px; }
.hero-trust { display: flex; align-items: center; gap: 10px; margin-top: 22px; color: var(--ink-60); font-size: 15px; font-weight: 500; }
.check-dot {
  width: 22px; height: 22px; border-radius: 50%; background: var(--accent);
  display: inline-flex; align-items: center; justify-content: center;
  color: var(--accent-ink); font-size: 13px; font-weight: 800; flex-shrink: 0;
}

/* phone mockup */
.hero-visual { display: flex; justify-content: center; position: relative; }
.phone {
  width: 320px; background: var(--ink); border-radius: 44px; padding: 14px;
  box-shadow: 0 30px 60px -24px rgba(27,42,31,.45);
  transform: rotate(2deg);
}
.phone-screen { background: var(--card); border-radius: 32px; padding: 18px 16px 22px; display: flex; flex-direction: column; gap: 12px; }
.phone-statusbar { display: flex; justify-content: space-between; font-size: 12px; font-weight: 600; color: var(--ink-40); padding: 0 6px; }
.pcard { border: 1px solid var(--ink-12); border-radius: var(--r-md); padding: 14px; background: #fff; }
.pcard-row { display: flex; align-items: center; gap: 12px; }
.pavatar { width: 38px; height: 38px; border-radius: 50%; background: var(--sage); display: flex; align-items: center; justify-content: center; font-weight: 700; font-size: 14px; color: var(--ink); flex-shrink: 0; }
.pcard .t1 { font-weight: 700; font-size: 14px; }
.pcard .t2 { font-size: 12px; color: var(--ink-40); }
.pcard--ai { background: var(--ink); border-color: var(--ink); color: var(--bg); }
.pcard--ai .quote { font-size: 13px; line-height: 1.45; color: rgba(250,246,237,.85); margin-top: 10px; }
.pulse-dot { width: 9px; height: 9px; border-radius: 50%; background: var(--accent); flex-shrink: 0; animation: livePulse 1.6s ease-in-out infinite; }
@keyframes livePulse {
  0%, 100% { opacity: 1; box-shadow: 0 0 0 0 rgba(168, 201, 34, .55); }
  50% { opacity: .55; box-shadow: 0 0 0 5px rgba(168, 201, 34, 0); }
}
@media (prefers-reduced-motion: reduce) { .pulse-dot { animation: none; } }
.no-motion .pulse-dot { animation: none; }
.booked-chip {
  display: inline-flex; align-items: center; gap: 8px; background: var(--accent); color: var(--accent-ink);
  font-size: 12px; font-weight: 700; border-radius: 999px; padding: 5px 12px;
}
.float-chip {
  position: absolute; top: 8%; right: 2%;
  background: var(--card); border: 1px solid var(--ink-12); border-radius: 999px;
  padding: 10px 18px; font-size: 14px; font-weight: 700;
  box-shadow: 0 12px 28px -14px rgba(27,42,31,.35);
  display: flex; align-items: center; gap: 9px;
  transform: rotate(-3deg);
}

/* waveform */
.wave { display: flex; align-items: center; gap: 4px; height: 34px; }
.wave i {
  display: block; width: 5px; border-radius: 4px; background: var(--accent);
  height: 30%;
  animation: wave-bob 1.15s ease-in-out infinite;
}
.wave--ink i { background: var(--accent); }
@keyframes wave-bob {
  0%, 100% { height: 22%; }
  50% { height: var(--amp, 90%); }
}
.no-motion .wave i, .wave.paused i { animation: none; height: var(--amp, 60%); }

/* ---------- section scaffolding ---------- */
section { padding: 88px 0; }
.kicker {
  display: inline-block; font-size: 13px; font-weight: 700; letter-spacing: 2.4px; text-transform: uppercase;
  color: var(--ink-60); margin-bottom: 14px;
}
.sec-title { font-size: clamp(30px, 3.4vw, 42px); font-weight: 700; letter-spacing: -0.4px; }

/* ---------- problem strip (sage) ---------- */
.problem { background: var(--sage); padding: 64px 0; }
.problem-grid { display: grid; grid-template-columns: 1fr 1fr 1fr; gap: 20px; }
.problem-item { display: flex; align-items: flex-start; gap: 16px; padding: 0 26px; }
.problem-item + .problem-item { border-left: 1.5px solid rgba(27,42,31,.14); }
.problem-item .pi-title { font-weight: 700; font-size: 18px; font-family: var(--font-display); margin-bottom: 4px; }
.problem-item .pi-sub { font-size: 15px; color: var(--ink-60); }
.picon { width: 48px; height: 48px; border-radius: 14px; background: var(--bg); flex-shrink: 0; position: relative; box-shadow: 0 1px 0 rgba(27,42,31,.08); }
/* missed call: circle + slash */
.picon--missed::before { content: ""; position: absolute; inset: 13px; border: 2.5px solid var(--ink); border-radius: 50%; }
.picon--missed::after { content: ""; position: absolute; left: 50%; top: 50%; width: 30px; height: 2.5px; background: var(--ink); transform: translate(-50%,-50%) rotate(-45deg); border-radius: 2px; }
/* after hours: crescent moon */
.picon--moon::before { content: ""; position: absolute; inset: 12px; border-radius: 50%; background: var(--ink); }
.picon--moon::after { content: ""; position: absolute; inset: 12px; border-radius: 50%; background: var(--bg); transform: translate(7px,-4px) scale(.86); }
/* overwhelmed: stacked bars */
.picon--stack::before {
  content: ""; position: absolute; left: 12px; right: 12px; top: 14px; height: 4.5px; border-radius: 3px;
  background: var(--ink); box-shadow: 0 7.5px 0 var(--ink), 0 15px 0 var(--ink);
}

/* ---------- how it works ---------- */
.steps { display: flex; flex-direction: column; gap: 72px; margin-top: 56px; }
.step { display: grid; grid-template-columns: 1fr 1fr; gap: 64px; align-items: center; }
.step-num {
  width: 52px; height: 52px; border-radius: 50%; background: var(--ink); color: var(--bg);
  display: flex; align-items: center; justify-content: center;
  font-family: var(--font-display); font-size: 22px; font-weight: 700; margin-bottom: 20px;
}
.step h3 { font-size: 27px; font-weight: 700; margin-bottom: 12px; }
.step p { color: var(--ink-60); max-width: 420px; font-size: 17px; }
.step-visual { display: flex; justify-content: center; }
.mock {
  background: var(--card); border: 1px solid var(--ink-12); border-radius: var(--r-lg);
  padding: 24px; width: 100%; max-width: 420px;
  box-shadow: 0 24px 48px -28px rgba(27,42,31,.3);
}
.mock-title { font-weight: 700; font-size: 15px; margin-bottom: 16px; display: flex; align-items: center; gap: 9px; }
.check-list { display: flex; flex-direction: column; gap: 12px; }
.check-row { display: flex; align-items: center; gap: 12px; font-size: 15px; font-weight: 500; background: var(--bg); border-radius: 12px; padding: 12px 14px; }
/* call mock */
.call-mock-body { display: flex; flex-direction: column; gap: 12px; }
.bubble { border-radius: 16px; padding: 12px 16px; font-size: 14px; line-height: 1.45; max-width: 85%; }
.bubble--caller { background: var(--bg); border: 1px solid var(--ink-12); align-self: flex-start; border-bottom-left-radius: 6px; }
.bubble--ai { background: var(--ink); color: rgba(250,246,237,.9); align-self: flex-end; border-bottom-right-radius: 6px; }
.bubble .who { display: block; font-size: 11px; font-weight: 700; letter-spacing: 1px; text-transform: uppercase; opacity: .55; margin-bottom: 4px; }
/* calendar mock */
.cal { display: grid; grid-template-columns: repeat(5, 1fr); gap: 8px; }
.cal-day { font-size: 11px; font-weight: 700; color: var(--ink-40); text-align: center; text-transform: uppercase; letter-spacing: 1px; }
.cal-cell { height: 34px; border-radius: 9px; background: var(--bg); border: 1px dashed var(--ink-12); }
.cal-cell.busy { background: var(--sage); border: none; }
.cal-cell.new { background: var(--accent); border: none; position: relative; }
.cal-cell.new::after {
  content: "new"; position: absolute; inset: 0; display: flex; align-items: center; justify-content: center;
  font-size: 10px; font-weight: 800; letter-spacing: .5px; text-transform: uppercase; color: var(--accent-ink);
}

/* ---------- how-it-works animations ---------- */
/* armed = JS active & motion allowed; play = scrolled into view */
@keyframes mockBounceIn {
  0%   { opacity: 0; transform: translateY(56px) rotate(0deg) scale(0.94); }
  55%  { opacity: 1; transform: translateY(-12px) rotate(-1.8deg) scale(1.03); }
  72%  { transform: translateY(5px) rotate(1.4deg) scale(0.99); }
  86%  { transform: translateY(-3px) rotate(-0.7deg) scale(1.005); }
  100% { opacity: 1; transform: translateY(0) rotate(0deg) scale(1); }
}
@keyframes rowPop {
  0%   { opacity: 0; transform: translateY(16px) scale(0.92); }
  60%  { opacity: 1; transform: translateY(-4px) scale(1.04); }
  100% { opacity: 1; transform: translateY(0) scale(1); }
}
.mock--agent.anim-armed { opacity: 0; }
.mock--agent.anim-armed .check-row { opacity: 0; }
.mock--agent.anim-play { animation: mockBounceIn 0.95s cubic-bezier(0.34, 1.3, 0.64, 1) both; }
.mock--agent.anim-play .check-row { animation: rowPop 0.55s cubic-bezier(0.34, 1.56, 0.64, 1) both; }
.mock--agent.anim-play .check-row:nth-child(1) { animation-delay: 0.55s; }
.mock--agent.anim-play .check-row:nth-child(2) { animation-delay: 0.72s; }
.mock--agent.anim-play .check-row:nth-child(3) { animation-delay: 0.89s; }

/* live chat */
@keyframes bubbleIn {
  0%   { opacity: 0; transform: translateY(14px) scale(0.85); }
  65%  { opacity: 1; transform: translateY(-2px) scale(1.03); }
  100% { opacity: 1; transform: translateY(0) scale(1); }
}
/* bubbles keep their layout space from the start (no container growth) —
   they fade/pop in over the reserved space */
.mock--call.anim-armed .bubble { visibility: hidden; }
.mock--call .bubble.chat-shown { visibility: visible; animation: bubbleIn 0.4s cubic-bezier(0.34, 1.45, 0.64, 1) both; }
.bubble--caller { transform-origin: bottom left; }
.bubble--ai { transform-origin: bottom right; }

/* calendar pops */
@keyframes cellPop {
  0%   { opacity: 0; transform: scale(0); }
  62%  { opacity: 1; transform: scale(1.18); }
  100% { opacity: 1; transform: scale(1); }
}
@keyframes cellPopBig {
  0%   { opacity: 0; transform: scale(0); }
  55%  { opacity: 1; transform: scale(1.32); }
  78%  { transform: scale(0.94); }
  100% { opacity: 1; transform: scale(1); }
}
.mock--cal.anim-armed .cal-cell { opacity: 0; }
.mock--cal.anim-play .cal-cell { animation: cellPop 0.45s cubic-bezier(0.34, 1.4, 0.64, 1) both; animation-delay: var(--pop, 0s); }
.mock--cal.anim-play .cal-cell.new { animation-name: cellPopBig; animation-duration: 0.6s; }

/* motion off / reduced — everything visible, no animation */
@media (prefers-reduced-motion: reduce) {
  .mock--agent.anim-armed, .mock--agent.anim-armed .check-row, .mock--cal.anim-armed .cal-cell { opacity: 1; animation: none; }
  .mock--call.anim-armed .bubble { visibility: visible; animation: none; }
}
.no-motion .mock--agent, .no-motion .mock--agent .check-row, .no-motion .mock--cal .cal-cell { opacity: 1 !important; animation: none !important; }
.no-motion .mock--call .bubble { visibility: visible !important; animation: none !important; }

/* ---------- results (dark band) ---------- */
.results { background: var(--ink); color: var(--bg); padding: 96px 0; }
.results .kicker { color: rgba(250,246,237,.5); }
.results-grid { display: grid; grid-template-columns: 1fr 1fr 1fr; gap: 40px; margin-top: 48px; }
.stat { border-top: 1.5px solid rgba(250,246,237,.18); padding-top: 26px; }
.stat-num { font-family: var(--font-display); font-size: clamp(48px, 5.5vw, 72px); font-weight: 700; line-height: 1; color: var(--accent); }
.stat-label { font-size: 17px; color: rgba(250,246,237,.65); margin-top: 10px; }

/* ---------- demo (sage band) ---------- */
.demo { background: var(--sage); }
.demo-card {
  background: var(--card); border-radius: calc(var(--r-lg) + 8px); padding: 56px 60px;
  display: grid; grid-template-columns: 1fr 1fr; gap: 48px; align-items: center;
  box-shadow: 0 30px 60px -32px rgba(27,42,31,.35);
}
.demo-card h2 { font-size: clamp(28px, 3vw, 36px); margin-bottom: 12px; }
.demo-card .demo-sub { color: var(--ink-60); font-size: 18px; }
.demo-right { display: flex; flex-direction: column; gap: 20px; align-items: center; }
.demo-number { font-family: var(--font-display); font-size: clamp(30px, 3.4vw, 40px); font-weight: 700; letter-spacing: .5px; }
.player {
  display: flex; align-items: center; gap: 16px; background: var(--bg);
  border: 1px solid var(--ink-12); border-radius: 999px; padding: 10px 22px 10px 10px;
  cursor: pointer; user-select: none; transition: box-shadow .18s ease;
}
.player:hover { box-shadow: 0 10px 24px -14px rgba(27,42,31,.4); }
.play-btn {
  width: 46px; height: 46px; border-radius: 50%; background: var(--ink); flex-shrink: 0; position: relative;
}
.play-btn::after {
  content: ""; position: absolute; left: 55%; top: 50%; transform: translate(-50%,-50%);
  border-left: 13px solid var(--bg); border-top: 8px solid transparent; border-bottom: 8px solid transparent;
}
.player.playing .play-btn::after {
  border: none; width: 12px; height: 14px; left: 50%;
  border-left: 4px solid var(--bg); border-right: 4px solid var(--bg);
}
.player .ptime { font-size: 14px; font-weight: 700; color: var(--ink-60); font-variant-numeric: tabular-nums; }
.player .wave { height: 26px; }
.player:not(.playing) .wave i { animation-play-state: paused; height: var(--amp, 50%); }

/* ---------- testimonials ---------- */
.testi-big { max-width: 780px; margin: 0 auto; text-align: center; }
.testi-big .qmark { font-family: var(--font-display); font-size: 84px; line-height: .4; color: var(--accent); display: block; margin-bottom: 26px; }
.testi-big blockquote { font-family: var(--font-display); font-size: clamp(24px, 2.8vw, 32px); font-weight: 600; line-height: 1.32; margin: 0 0 28px; letter-spacing: -0.3px; }
.testi-who { display: flex; align-items: center; justify-content: center; gap: 14px; }
.avatar {
  width: 48px; height: 48px; border-radius: 50%; background: var(--sage);
  display: flex; align-items: center; justify-content: center;
  font-weight: 700; font-size: 16px; color: var(--ink); flex-shrink: 0;
}
.testi-who .w1 { font-weight: 700; font-size: 16px; text-align: left; }
.testi-who .w2 { font-size: 14px; color: var(--ink-60); text-align: left; }
.testi-small-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 32px; max-width: 880px; margin: 64px auto 0; }
.testi-small { border-top: 1.5px solid var(--ink-12); padding-top: 24px; display: flex; gap: 16px; align-items: flex-start; }
.testi-small p { font-size: 16px; color: var(--ink-60); margin-bottom: 12px; }
.testi-small .w1 { font-weight: 700; font-size: 15px; }
.testi-small .w2 { font-size: 13.5px; color: var(--ink-40); }

/* ---------- teaser strip (dark) ---------- */
.teaser { background: var(--ink); color: var(--bg); padding: 30px 0; }
.teaser-inner { display: flex; align-items: center; justify-content: space-between; gap: 20px; flex-wrap: wrap; }
.teaser-lead { font-family: var(--font-display); font-weight: 600; font-size: 18px; }
.teaser-tags { display: flex; gap: 12px; }
.tag {
  font-size: 13.5px; font-weight: 600; color: rgba(250,246,237,.75);
  border: 1px solid rgba(250,246,237,.25); border-radius: 999px; padding: 7px 16px;
}

/* ---------- final CTA ---------- */
.final { padding: 96px 0 140px; text-align: center; }
.final h2 { font-size: clamp(38px, 5vw, 60px); font-weight: 700; letter-spacing: -0.6px; margin-bottom: 18px; }
.final p { font-size: 19px; color: var(--ink-60); margin-bottom: 38px; }

/* bouncing slime cube logo — with cloud puddle splash */
@keyframes slimeJump {
  0%, 14%  { transform: translateY(0); animation-timing-function: ease-out; }
  32%      { transform: translateY(-72px); animation-timing-function: ease-in; }
  50%, 100% { transform: translateY(0); }
}
@keyframes slimeSquash {
  0%, 8%   { transform: scale(1, 1); }
  14%      { transform: scale(1.18, 0.80); }
  20%      { transform: scale(0.88, 1.18); }
  32%      { transform: scale(1.02, 0.98); }
  44%      { transform: scale(0.90, 1.15); }
  50%      { transform: scale(1.30, 0.70); }
  58%      { transform: scale(0.92, 1.10); }
  66%      { transform: scale(1.07, 0.95); }
  74%      { transform: scale(0.98, 1.02); }
  82%, 100% { transform: scale(1, 1); }
}
@keyframes slimeSpin {
  0%, 16%   { transform: rotateY(0deg); }
  50%, 100% { transform: rotateY(360deg); }
}
@keyframes slimePuddle {
  0%, 46%   { transform: scale(1, 1); }
  50%       { transform: scale(1.18, 1.22); }
  56%       { transform: scale(0.95, 0.90); }
  62%       { transform: scale(1.04, 1.05); }
  70%, 100% { transform: scale(1, 1); }
}
@keyframes slimeDrop1 {
  0%, 49% { transform: translate(0,0) scale(0.5); opacity: 0; }
  50%     { transform: translate(0,0) scale(1); opacity: 1; }
  57%     { transform: translate(-23px,-28px); }
  66%     { transform: translate(-38px,-1px); opacity: 1; }
  71%, 100% { transform: translate(-42px,6px); opacity: 0; }
}
@keyframes slimeDrop2 {
  0%, 49% { transform: translate(0,0) scale(0.5); opacity: 0; }
  50%     { transform: translate(0,0) scale(1); opacity: 1; }
  57%     { transform: translate(20px,-31px); }
  66%     { transform: translate(36px,-2px); opacity: 1; }
  71%, 100% { transform: translate(40px,5px); opacity: 0; }
}
@keyframes slimeDrop3 {
  0%, 49% { transform: translate(0,0) scale(0.5); opacity: 0; }
  50%     { transform: translate(0,0) scale(1); opacity: 1; }
  58%     { transform: translate(-8px,-38px); }
  67%     { transform: translate(-13px,-7px); opacity: 1; }
  72%, 100% { transform: translate(-15px,2px); opacity: 0; }
}
@keyframes slimeDrop4 {
  0%, 49% { transform: translate(0,0) scale(0.5); opacity: 0; }
  50%     { transform: translate(0,0) scale(1); opacity: 1; }
  58%     { transform: translate(10px,-41px); }
  67%     { transform: translate(16px,-6px); opacity: 1; }
  72%, 100% { transform: translate(18px,2px); opacity: 0; }
}
@keyframes slimeDrop5 {
  0%, 49% { transform: translate(0,0) scale(0.5); opacity: 0; }
  50%     { transform: translate(0,0) scale(1); opacity: 1; }
  56%     { transform: translate(-34px,-16px); }
  64%     { transform: translate(-52px,7px); opacity: 1; }
  69%, 100% { transform: translate(-56px,11px); opacity: 0; }
}
@keyframes slimeDrop6 {
  0%, 49% { transform: translate(0,0) scale(0.5); opacity: 0; }
  50%     { transform: translate(0,0) scale(1); opacity: 1; }
  56%     { transform: translate(31px,-13px); }
  64%     { transform: translate(48px,8px); opacity: 1; }
  69%, 100% { transform: translate(53px,12px); opacity: 0; }
}
.slime-stage { position: relative; width: 192px; height: 215px; margin: 0 auto 14px; }
.slime-puddle {
  position: absolute; bottom: 7px; left: 50%; margin-left: -69px;
  animation: slimePuddle 2.2s infinite;
  transform-origin: 50% 60%;
}
.slime-puddle svg { display: block; }
.slime-puddle-front { z-index: 2; }
.slime-jump {
  position: absolute; bottom: 9px; left: 50%; margin-left: -54px;
  width: 108px; height: 108px;
  animation: slimeJump 2.2s infinite;
  perspective: 700px;
}
.slime-spin { width: 100%; height: 100%; animation: slimeSpin 2.2s infinite cubic-bezier(0.45, 0.05, 0.55, 0.95); transform-style: preserve-3d; }
.slime-squash { width: 100%; height: 100%; transform-origin: 50% 100%; animation: slimeSquash 2.2s infinite; }
.slime-drop {
  position: absolute; bottom: 40px; left: 50%;
  border-radius: 50%; background: #A8C922; opacity: 0; z-index: 3;
}
@media (prefers-reduced-motion: reduce) {
  .slime-jump, .slime-spin, .slime-squash, .slime-puddle, .slime-drop { animation: none !important; }
  .slime-drop { display: none; }
}
.no-motion .slime-jump, .no-motion .slime-spin, .no-motion .slime-squash, .no-motion .slime-puddle, .no-motion .slime-drop { animation: none !important; }
.no-motion .slime-drop { display: none; }

/* ---------- footer ---------- */
footer {
  background: var(--ink); color: rgba(250,246,237,.68);
  padding: 80px 0 44px; position: relative; overflow: hidden;
}
.foot-top {
  display: grid; grid-template-columns: 1.3fr 2fr; gap: 72px;
  padding-bottom: 56px;
}
.foot-brand-col { display: flex; flex-direction: column; align-items: flex-start; gap: 18px; }
.foot-brand { font-size: 20px; gap: 6px; color: var(--bg); }
.foot-tagline { font-size: 15.5px; line-height: 1.6; max-width: 300px; }
.foot-live {
  display: inline-flex; align-items: center; gap: 10px;
  border: 1px solid rgba(250,246,237,.22); border-radius: 999px;
  padding: 9px 18px; font-size: 13.5px; font-weight: 600; color: var(--bg);
  background: rgba(250,246,237,.05);
}
.foot-socials { display: flex; gap: 12px; margin-top: 6px; }
.foot-socials a {
  width: 42px; height: 42px; border-radius: 50%;
  border: 1px solid rgba(250,246,237,.22);
  display: flex; align-items: center; justify-content: center;
  color: rgba(250,246,237,.75);
  transition: background .18s ease, color .18s ease, border-color .18s ease, transform .18s ease;
}
.foot-socials a:hover {
  background: var(--accent); border-color: var(--accent);
  color: var(--accent-ink); transform: translateY(-2px);
}
.foot-cols { display: grid; grid-template-columns: repeat(4, 1fr); gap: 32px; }
.foot-col { display: flex; flex-direction: column; gap: 13px; font-size: 14.5px; }
.foot-col-title {
  font-size: 12px; font-weight: 700; letter-spacing: 2px; text-transform: uppercase;
  color: var(--accent); margin-bottom: 4px;
}
.foot-col a { color: rgba(250,246,237,.68); transition: color .15s ease; width: fit-content; }
.foot-col a:hover { color: var(--bg); }
.foot-address { font-style: normal; line-height: 1.6; color: rgba(250,246,237,.68); }
.foot-bottom {
  display: flex; align-items: center; justify-content: space-between; gap: 16px; flex-wrap: wrap;
  padding: 22px 0; font-size: 13.5px; color: rgba(250,246,237,.45);
}
/* full-bleed separator with scroll-triggered green pulse */
.foot-rule {
  position: relative; height: 1px; width: 100%;
  background: rgba(250,246,237,.14);
}
.foot-rule-pulse {
  position: absolute; left: 50%; top: -0.5px; height: 2px; width: 100%;
  transform: translateX(-50%) scaleX(0); transform-origin: center;
  background: linear-gradient(90deg, transparent, var(--accent) 22%, var(--accent) 78%, transparent);
  box-shadow: 0 0 14px 1px rgba(198,244,50,.35);
  opacity: 0; pointer-events: none;
}
.foot-rule.is-pulsing .foot-rule-pulse {
  animation: footRulePulse 2.6s cubic-bezier(.25,.6,.3,1) forwards;
}
@keyframes footRulePulse {
  0%   { transform: translateX(-50%) scaleX(0); opacity: 0; }
  8%   { opacity: 1; }
  55%  { transform: translateX(-50%) scaleX(1); opacity: 1; }
  100% { transform: translateX(-50%) scaleX(1); opacity: 0; }
}
@media (prefers-reduced-motion: reduce) {
  .foot-rule-pulse { animation: none !important; }
}
.no-motion .foot-rule-pulse { animation: none !important; }
.foot-top-link { color: rgba(250,246,237,.6); font-weight: 600; transition: color .15s ease; }
.foot-top-link:hover { color: var(--accent); }
.foot-word {
  font-family: var(--font-display); font-weight: 700;
  font-size: clamp(110px, 17vw, 230px); line-height: .78; letter-spacing: -0.02em;
  text-align: center; user-select: none; pointer-events: none;
  color: #858681;
  margin: 26px 0 0; white-space: nowrap;
}
/* scroll-driven letter rise — JS sets --p (0→1) per letter, middle-out */
.foot-word span {
  display: inline-block;
  transform: translateY(calc((1 - var(--p, 1)) * 0.6em));
  opacity: var(--p, 1);
  will-change: transform, opacity;
}
@media (prefers-reduced-motion: reduce) {
  .foot-word span { transform: none; opacity: 1; }
}
.no-motion .foot-word span { transform: none !important; opacity: 1 !important; }

/* ---------- reveal on scroll ---------- */
@media (prefers-reduced-motion: no-preference) {
  .js .reveal { opacity: 0; transform: translateY(18px); transition: opacity .7s ease, transform .7s ease; }
  .js .reveal.in { opacity: 1; transform: none; }
}
.no-motion .reveal { opacity: 1 !important; transform: none !important; transition: none !important; }

/* ---------- responsive ---------- */
@media (max-width: 920px) {
  section { padding: 64px 0; }
  .hero { padding: 56px 0; }
  .hero-grid, .step, .demo-card { grid-template-columns: 1fr; }
  .hero-visual { margin-top: 12px; }
  .float-chip { display: none; }
  .problem-grid { grid-template-columns: 1fr; gap: 28px; }
  .problem-item { padding: 0; }
  .problem-item + .problem-item { border-left: none; border-top: 1.5px solid rgba(27,42,31,.14); padding-top: 28px; }
  .step-visual { order: 2; }
  .step-text { order: 1; }
  .results-grid { grid-template-columns: 1fr; gap: 28px; }
  .testi-small-grid { grid-template-columns: 1fr; }
  .demo-card { padding: 36px 28px; }
  .nav-phone { display: none; }
  .teaser-inner { justify-content: center; text-align: center; }
  .foot-top { grid-template-columns: 1fr; gap: 48px; }
  .foot-cols { grid-template-columns: 1fr 1fr; gap: 36px 24px; }
}

/* phones — keep the nav compact so the brand and CTA fit on one row */
@media (max-width: 600px) {
  .wrap { padding: 0 18px; }
  .nav-inner { height: 60px; }
  .brand { font-size: 17px; gap: 8px; }
  .brand img { width: 40px; height: 40px; }
  .brand span { white-space: nowrap; }
  .nav-right { gap: 12px; }
  .nav-right .btn--small { flex-shrink: 0; font-size: 13px; padding: 9px 15px; }
}

/* very narrow phones (e.g. iPhone SE, 320px) — trim a little more */
@media (max-width: 360px) {
  .brand { font-size: 15px; }
  .brand img { width: 34px; height: 34px; }
  .nav-right .btn--small { font-size: 12px; padding: 8px 12px; }
}
