/* ============================================================
   ShopCallback — "Warm Workshop" design system
   Cream + rust, slab-serif signage headings, plain-spoken UI.
   ============================================================ */

/* ---------- Tokens ---------- */
:root {
  --bg:            #FAF5EC;
  --bg-soft:       #F3EBDC;
  --card:          #FFFDF8;
  --ink:           #26211A;
  --muted:         #5D5445;
  --accent:        #B23A26;
  --accent-deep:   #8A2B1B;
  --accent-soft:   #F3DDD3;
  --line:          #E6DCC8;
  --ok:            #2F6B3F;
  --ok-soft:       #E3EFE0;
  --cream-on-rust: #FFF6EA;

  --font-display: "Alfa Slab One", "Rockwell", "Georgia", serif;
  --font-body: "Inter", system-ui, -apple-system, "Segoe UI", sans-serif;
  --font-mono: ui-monospace, "SF Mono", "Menlo", "Consolas", monospace;

  --maxw: 1080px;
  --radius: 18px;
  --radius-pill: 999px;
  --shadow: 0 8px 24px rgba(80, 55, 30, 0.10);
  --shadow-big: 0 18px 48px rgba(80, 55, 30, 0.16);
}

/* ---------- Reset & base ---------- */
*, *::before, *::after { box-sizing: border-box; }

html { scroll-behavior: smooth; }

body {
  margin: 0;
  background: var(--bg);
  color: var(--ink);
  font-family: var(--font-body);
  font-size: 1.0625rem;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}

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

h1, h2, h3 { line-height: 1.15; margin: 0 0 0.5em; }
p { margin: 0 0 1em; }

a { color: var(--accent-deep); }

:focus-visible {
  outline: 3px solid var(--accent);
  outline-offset: 3px;
  border-radius: 4px;
}

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

.skip-link {
  position: absolute;
  left: 16px;
  top: -60px;
  z-index: 100;
  background: var(--ink);
  color: var(--bg);
  padding: 10px 18px;
  border-radius: 10px;
  text-decoration: none;
  transition: top 0.2s ease;
}
.skip-link:focus { top: 12px; }

/* ---------- Type helpers ---------- */
.eyebrow {
  font-size: 0.8rem;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--accent-deep);
  margin-bottom: 16px;
}

.section-title {
  font-family: var(--font-display);
  font-weight: 400;
  font-size: clamp(1.9rem, 4.5vw, 2.9rem);
  letter-spacing: 0.01em;
  margin-bottom: 12px;
}

.section-lead {
  font-size: clamp(1.05rem, 2vw, 1.2rem);
  color: var(--muted);
  max-width: 620px;
  margin-bottom: 44px;
}

/* ---------- Buttons ---------- */
.button {
  display: inline-flex;
  align-items: center;
  gap: 9px;
  min-height: 44px;
  padding: 11px 22px;
  border-radius: var(--radius-pill);
  border: 2px solid transparent;
  font-family: var(--font-body);
  font-size: 1rem;
  font-weight: 700;
  text-decoration: none;
  white-space: nowrap;
  cursor: pointer;
  transition: background 0.15s ease, color 0.15s ease, transform 0.15s ease;
}
.button:active { transform: translateY(1px); }
.button svg { width: 17px; height: 17px; flex: none; }

.button-primary {
  background: var(--accent);
  color: var(--cream-on-rust);
}
.button-primary:hover { background: var(--accent-deep); }

.button-outline {
  border-color: var(--accent);
  color: var(--accent-deep);
  background: transparent;
}
.button-outline:hover { background: var(--accent-soft); }

/* The big tap-to-call button — the number is a headline, not a label */
.call-button {
  display: inline-flex;
  align-items: center;
  gap: 16px;
  padding: 16px 28px;
  border-radius: 20px;
  background: var(--accent);
  color: var(--cream-on-rust);
  text-decoration: none;
  box-shadow: var(--shadow-big);
  transition: background 0.15s ease, transform 0.15s ease, box-shadow 0.15s ease;
}
.call-button:hover {
  background: var(--accent-deep);
  transform: translateY(-2px);
}
.call-button:active { transform: translateY(0); }

.call-icon {
  display: grid;
  place-items: center;
  width: 52px;
  height: 52px;
  flex: none;
  border-radius: 50%;
  background: rgba(255, 246, 234, 0.16);
  animation: ring-pulse 2.4s ease-out infinite;
}
.call-icon svg { width: 24px; height: 24px; }

@keyframes ring-pulse {
  0%   { box-shadow: 0 0 0 0 rgba(255, 246, 234, 0.45); }
  70%  { box-shadow: 0 0 0 14px rgba(255, 246, 234, 0); }
  100% { box-shadow: 0 0 0 0 rgba(255, 246, 234, 0); }
}

.call-number {
  font-family: var(--font-display);
  font-size: clamp(1.45rem, 4.5vw, 2.1rem);
  letter-spacing: 0.02em;
  white-space: nowrap;
}

/* Cream-on-rust variant for the demo band */
.call-button-inverse {
  background: var(--cream-on-rust);
  color: var(--accent-deep);
}
.call-button-inverse:hover { background: #fff; }
.call-button-inverse .call-icon {
  background: var(--accent-soft);
  animation-name: ring-pulse-dark;
}
@keyframes ring-pulse-dark {
  0%   { box-shadow: 0 0 0 0 rgba(138, 43, 27, 0.35); }
  70%  { box-shadow: 0 0 0 14px rgba(138, 43, 27, 0); }
  100% { box-shadow: 0 0 0 0 rgba(138, 43, 27, 0); }
}

/* ---------- Nav ---------- */
.nav {
  position: sticky;
  top: 0;
  z-index: 50;
  background: rgba(250, 245, 236, 0.92);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  transition: box-shadow 0.2s ease;
}
.nav.scrolled { box-shadow: 0 2px 18px rgba(80, 55, 30, 0.12); }

.nav-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  min-height: 68px;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 9px;
  font-family: var(--font-display);
  font-size: 1.2rem;
  color: var(--ink);
  text-decoration: none;
  letter-spacing: 0.01em;
}
.brand-mark {
  width: 26px;
  height: 26px;
  padding: 4px;
  border-radius: 8px;
  background: var(--accent);
  color: var(--cream-on-rust);
  flex-shrink: 0;
}

.nav-links {
  display: flex;
  align-items: center;
  gap: 26px;
}
.nav-links a {
  color: var(--ink);
  text-decoration: none;
  font-weight: 600;
  font-size: 0.98rem;
}
.nav-links a:hover { color: var(--accent-deep); }

.nav-right {
  display: flex;
  align-items: center;
  gap: 12px;
}
.nav-cta { padding: 9px 18px; font-size: 0.95rem; }

.nav-toggle {
  display: none;
  width: 44px;
  height: 44px;
  border: none;
  background: none;
  cursor: pointer;
  position: relative;
}
.nav-toggle span,
.nav-toggle span::before,
.nav-toggle span::after {
  content: "";
  display: block;
  position: absolute;
  left: 10px;
  width: 24px;
  height: 2.5px;
  border-radius: 2px;
  background: var(--ink);
  transition: transform 0.2s ease, opacity 0.2s ease;
}
.nav-toggle span { top: 21px; }
.nav-toggle span::before { left: 0; top: -7px; }
.nav-toggle span::after { left: 0; top: 7px; }
.nav-toggle[aria-expanded="true"] span { background: transparent; }
.nav-toggle[aria-expanded="true"] span::before { transform: translateY(7px) rotate(45deg); }
.nav-toggle[aria-expanded="true"] span::after { transform: translateY(-7px) rotate(-45deg); }

/* ---------- Hero ---------- */
.hero { padding: clamp(48px, 7vw, 88px) 0 0; }

.hero-inner {
  display: grid;
  grid-template-columns: minmax(0, 1.15fr) minmax(0, 0.85fr);
  gap: clamp(32px, 5vw, 64px);
  align-items: center;
}

.hero h1 {
  font-family: var(--font-display);
  font-weight: 400;
  font-size: clamp(1.95rem, 9vw, 4rem);
  letter-spacing: 0.005em;
  margin-bottom: 18px;
}

.hero .lead {
  font-size: clamp(1.1rem, 2.2vw, 1.25rem);
  color: var(--muted);
  max-width: 540px;
  margin-bottom: 30px;
}

.demo-card {
  background: var(--card);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  box-shadow: var(--shadow);
  padding: 24px 26px 20px;
  max-width: 560px;
}

.demo-kicker {
  font-size: 1.02rem;
  margin-bottom: 16px;
}
.demo-kicker strong { color: var(--accent-deep); }

.demo-note {
  font-size: 0.95rem;
  color: var(--muted);
  margin: 16px 0 12px;
}

.copy-row {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 10px;
  border-top: 1px dashed var(--line);
  padding-top: 14px;
}

.copy-button {
  border: 1.5px solid var(--line);
  background: transparent;
  color: var(--accent-deep);
  font: inherit;
  font-size: 0.88rem;
  font-weight: 700;
  padding: 7px 14px;
  border-radius: var(--radius-pill);
  cursor: pointer;
}
.copy-button:hover { background: var(--accent-soft); border-color: var(--accent-soft); }

.copy-status {
  font-size: 0.88rem;
  font-weight: 700;
  color: var(--ok);
}

.copy-hint {
  font-size: 0.88rem;
  color: var(--muted);
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
  margin-top: 24px;
}
.hero-actions + .demo-card { margin-top: 26px; }

/* Phone mockup */
.hero-visual { display: flex; justify-content: center; }

.phone-frame {
  width: min(340px, 100%);
  background: var(--ink);
  border-radius: 34px;
  padding: 14px 12px 12px;
  box-shadow: var(--shadow-big);
  transform: rotate(2deg);
}

.phone-notch {
  width: 96px;
  height: 8px;
  border-radius: 6px;
  background: rgba(250, 245, 236, 0.25);
  margin: 0 auto 12px;
}

.phone-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 8px;
  background: rgba(250, 245, 236, 0.1);
  border-radius: 12px;
  padding: 9px 12px;
  margin-bottom: 10px;
}
.phone-caller {
  color: var(--bg);
  font-size: 0.8rem;
  font-weight: 600;
}
.phone-badge {
  background: var(--ok);
  color: #fff;
  font-size: 0.7rem;
  font-weight: 700;
  padding: 3px 9px;
  border-radius: var(--radius-pill);
  white-space: nowrap;
}

.phone-chat {
  background: var(--bg);
  border-radius: 16px;
  padding: 14px 12px;
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.bubble {
  max-width: 85%;
  margin: 0;
  padding: 9px 13px;
  font-size: 0.86rem;
  line-height: 1.45;
  border-radius: 14px;
}
.bubble-them {
  align-self: flex-start;
  background: #fff;
  border: 1px solid var(--line);
  border-bottom-left-radius: 4px;
}
.bubble-us {
  align-self: flex-end;
  background: var(--accent);
  color: var(--cream-on-rust);
  border-bottom-right-radius: 4px;
}

.phone-footer {
  display: flex;
  align-items: center;
  gap: 8px;
  color: rgba(250, 245, 236, 0.75);
  font-size: 0.74rem;
  padding: 10px 6px 2px;
}
.phone-footer svg { width: 14px; height: 14px; flex: none; }

/* Trust strip */
.trust-strip {
  display: flex;
  flex-wrap: wrap;
  gap: 12px 36px;
  justify-content: center;
  margin-top: clamp(40px, 6vw, 64px);
  padding-top: 22px;
  padding-bottom: 22px;
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
}
.trust-strip span {
  display: inline-flex;
  align-items: center;
  gap: 9px;
  font-weight: 600;
  font-size: 0.95rem;
  color: var(--muted);
}
.trust-strip span::before {
  content: "";
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--accent);
}

/* ---------- Sections (shared rhythm) ---------- */
.pain, .how, .features, .math, .faq, .cta,
.texting, .pricing, .schedule, .control, .tools,
.products, .workflow, .rules {
  padding: clamp(64px, 9vw, 110px) 0;
}

/* ---------- Pain ---------- */
.pain-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 20px;
}

.pain-card {
  background: var(--card);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  box-shadow: var(--shadow);
  padding: 26px 26px 18px;
}
.pain-card h3 {
  font-size: 1.13rem;
  font-weight: 700;
  margin-bottom: 8px;
}
.pain-card p { color: var(--muted); margin-bottom: 0; }

/* ---------- Demo band ---------- */
.demo-band {
  position: relative;
  background: var(--accent);
  color: var(--cream-on-rust);
  padding: clamp(64px, 8vw, 96px) 0;
}
.demo-band::before,
.demo-band::after {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  height: 10px;
  background: repeating-linear-gradient(
    -45deg,
    rgba(38, 33, 26, 0.28) 0 14px,
    transparent 14px 28px
  );
}
.demo-band::before { top: 0; }
.demo-band::after { bottom: 0; }

.demo-band-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: clamp(28px, 5vw, 60px);
}

.demo-band h2 {
  font-family: var(--font-display);
  font-weight: 400;
  font-size: clamp(1.9rem, 4.5vw, 2.9rem);
  margin-bottom: 12px;
}
.demo-band p {
  font-size: clamp(1.02rem, 2vw, 1.15rem);
  max-width: 520px;
  color: rgba(255, 246, 234, 0.92);
  margin-bottom: 28px;
}

.stamp {
  flex: none;
  width: clamp(120px, 16vw, 170px);
  color: var(--cream-on-rust);
  opacity: 0.9;
  transform: rotate(-6deg);
}
.stamp-text {
  font-family: var(--font-body);
  font-size: 11.5px;
  font-weight: 700;
  letter-spacing: 1.6px;
  fill: currentColor;
}

/* ---------- How it works ---------- */
.how { background: var(--bg-soft); }

.steps {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 20px;
  counter-reset: step;
}

.step {
  background: var(--card);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  box-shadow: var(--shadow);
  padding: 26px;
}
.step-num {
  display: grid;
  place-items: center;
  width: 44px;
  height: 44px;
  border-radius: 12px;
  background: var(--accent);
  color: var(--cream-on-rust);
  font-family: var(--font-display);
  font-size: 1.25rem;
  margin-bottom: 16px;
}
.step h3 { font-size: 1.12rem; font-weight: 700; margin-bottom: 8px; }
.step p { color: var(--muted); margin-bottom: 0; font-size: 0.98rem; }

/* ---------- Features ---------- */
.feature-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 20px;
}

.feature-card {
  background: var(--card);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  box-shadow: var(--shadow);
  padding: 24px;
}
.feature-icon {
  display: grid;
  place-items: center;
  width: 46px;
  height: 46px;
  border-radius: 13px;
  background: var(--accent-soft);
  color: var(--accent-deep);
  margin-bottom: 15px;
}
.feature-icon svg { width: 22px; height: 22px; }
.feature-card h3 { font-size: 1.08rem; font-weight: 700; margin-bottom: 7px; }
.feature-card p { color: var(--muted); margin-bottom: 0; font-size: 0.96rem; }

/* ---------- Math ---------- */
.math { background: var(--bg-soft); text-align: center; }
.math .section-title { margin-bottom: 44px; }

.stat-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 20px;
  margin-bottom: 44px;
}

.stat-tile {
  background: var(--card);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  box-shadow: var(--shadow);
  padding: 30px 20px;
}
.stat-num {
  display: block;
  font-family: var(--font-display);
  font-size: clamp(2.2rem, 5vw, 3.1rem);
  color: var(--accent);
  margin-bottom: 8px;
}
.stat-label {
  display: block;
  color: var(--muted);
  font-size: 0.95rem;
  max-width: 240px;
  margin: 0 auto;
}

/* Receipt card */
.receipt {
  position: relative;
  max-width: 480px;
  margin: 0 auto 12px;
  background: var(--card);
  border: 1px solid var(--line);
  border-bottom: none;
  border-radius: 10px 10px 0 0;
  box-shadow: var(--shadow);
  padding: 26px 30px 20px;
  text-align: left;
  font-family: var(--font-mono);
}
/* torn receipt edge */
.receipt::after {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  top: 100%;
  height: 12px;
  background:
    linear-gradient(-45deg, transparent 8.49px, var(--card) 8.5px) 0 0 / 17px 12px repeat-x,
    linear-gradient(45deg, transparent 8.49px, var(--card) 8.5px) 0 0 / 17px 12px repeat-x;
  filter: drop-shadow(0 3px 3px rgba(80, 55, 30, 0.08));
}

.receipt-title {
  font-size: 0.82rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  text-align: center;
  border-bottom: 1.5px dashed var(--line);
  padding-bottom: 12px;
  margin-bottom: 14px;
}

.receipt-lines { margin: 0; }
.receipt-lines > div {
  display: flex;
  justify-content: space-between;
  align-items: baseline;
  gap: 16px;
  padding: 5px 0;
  font-size: 0.92rem;
}
.receipt-lines dt { font-weight: 400; color: var(--muted); }
.receipt-lines dd { margin: 0; font-weight: 700; white-space: nowrap; }

.receipt-total {
  border-top: 1.5px dashed var(--line);
  margin-top: 8px;
  padding-top: 12px !important;
}
.receipt-total dt { color: var(--ink) !important; font-weight: 700 !important; }
.receipt-total dd {
  color: var(--accent);
  font-family: var(--font-display);
  font-size: 1.35rem;
}

.receipt-note {
  font-family: var(--font-body);
  font-size: 0.88rem;
  color: var(--muted);
  border-top: 1.5px dashed var(--line);
  margin: 14px 0 0;
  padding-top: 12px;
}

.math-closer {
  font-size: clamp(1.1rem, 2.2vw, 1.3rem);
  font-weight: 700;
  max-width: 560px;
  margin: 36px auto 0;
}

/* ---------- FAQ ---------- */
.faq-list {
  max-width: 720px;
}

.faq-list details {
  background: var(--card);
  border: 1px solid var(--line);
  border-radius: 14px;
  box-shadow: var(--shadow);
  margin-bottom: 12px;
  overflow: hidden;
}

.faq-list summary {
  list-style: none;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  padding: 18px 22px;
  font-weight: 700;
  font-size: 1.03rem;
}
.faq-list summary::-webkit-details-marker { display: none; }
.faq-list summary::after {
  content: "";
  flex: none;
  width: 11px;
  height: 11px;
  border-right: 2.5px solid var(--accent-deep);
  border-bottom: 2.5px solid var(--accent-deep);
  transform: rotate(45deg);
  transition: transform 0.2s ease;
}
.faq-list details[open] summary::after { transform: rotate(-135deg); }

.faq-list details p {
  padding: 0 22px 20px;
  margin: 0;
  color: var(--muted);
}

/* ---------- Final CTA ---------- */
.cta { text-align: center; }
.cta-inner { max-width: 760px; }

.cta h2 {
  font-family: var(--font-display);
  font-weight: 400;
  font-size: clamp(2rem, 5vw, 3.1rem);
  margin-bottom: 16px;
}
.cta p {
  font-size: clamp(1.05rem, 2vw, 1.2rem);
  color: var(--muted);
  max-width: 540px;
  margin: 0 auto 34px;
}

.cta-actions {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: center;
  gap: 18px;
  margin-bottom: 22px;
}

.cta-note {
  font-size: 0.92rem !important;
  color: var(--muted);
  margin-bottom: 0 !important;
}

/* ---------- Footer ---------- */
.footer {
  position: relative;
  background: var(--bg-soft);
  padding: 52px 0 28px;
}
.footer::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 8px;
  background: repeating-linear-gradient(
    -45deg,
    var(--accent) 0 14px,
    transparent 14px 28px
  );
  opacity: 0.35;
}

.footer-inner {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: 32px;
  padding-bottom: 32px;
  border-bottom: 1px solid var(--line);
}

.footer-brand p {
  color: var(--muted);
  font-size: 0.95rem;
  margin: 12px 0 0;
}

.footer-links {
  display: flex;
  flex-direction: column;
  gap: 10px;
}
.footer-links a {
  color: var(--ink);
  text-decoration: none;
  font-weight: 600;
  font-size: 0.95rem;
}
.footer-links a:hover { color: var(--accent-deep); }

.footer-bottom {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: 8px;
  padding-top: 22px;
}
.footer-bottom p {
  color: var(--muted);
  font-size: 0.88rem;
  margin: 0;
}

/* ---------- Call-to-booked flow (hero visual) ---------- */
.flow-stack {
  width: min(390px, 100%);
  display: flex;
  flex-direction: column;
}
.flow-card {
  background: var(--card);
  border: 1px solid var(--line);
  border-radius: 16px;
  box-shadow: var(--shadow);
  padding: 14px 16px;
  display: flex;
  flex-direction: column;
  gap: 6px;
}
.flow-tag {
  display: flex;
  align-items: center;
  gap: 7px;
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--accent-deep);
  margin: 0 0 4px;
}
.flow-tag svg { width: 14px; height: 14px; flex: none; }
.flow-card .bubble { max-width: 92%; }
.flow-note {
  font-family: var(--font-mono);
  font-size: 0.84rem;
  line-height: 1.5;
  background: var(--bg-soft);
  border: 1.5px dashed var(--line);
  border-radius: 10px;
  padding: 10px 13px;
  margin: 0;
}
.flow-arrow {
  align-self: center;
  color: var(--accent);
  display: flex;
  padding: 4px 0;
}
.flow-arrow svg { width: 18px; height: 18px; }

/* ---------- Two-column sections (texting, pricing) ---------- */
.texting-inner, .pricing-inner {
  display: grid;
  grid-template-columns: minmax(0, 1.05fr) minmax(0, 0.95fr);
  gap: clamp(32px, 5vw, 60px);
  align-items: center;
}
.texting .section-lead, .pricing .section-lead { margin-bottom: 22px; }

.plain-list {
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
  flex-direction: column;
  gap: 11px;
}
.plain-list li {
  display: flex;
  gap: 11px;
  align-items: flex-start;
  color: var(--muted);
}
.plain-list li::before {
  content: "";
  flex: none;
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--accent);
  margin-top: 9px;
}

.pricing { background: var(--bg-soft); }
.pricing .receipt { margin: 0 auto; }

/* ---------- Schedule rules ---------- */
.rules-grid {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 14px;
}
.rules-grid li {
  display: flex;
  gap: 10px;
  align-items: flex-start;
  background: var(--card);
  border: 1px solid var(--line);
  border-radius: 12px;
  box-shadow: var(--shadow);
  padding: 14px 16px;
  font-weight: 600;
  font-size: 0.95rem;
}
.rules-grid li::before {
  content: "✓";
  flex: none;
  color: var(--ok);
  font-weight: 800;
}
.rules-note {
  color: var(--muted);
  margin: 24px 0 0;
  max-width: 660px;
}

/* ---------- Control section ---------- */
.control { background: var(--bg-soft); }

/* ---------- Tools ---------- */
.tools-strip {
  display: flex;
  flex-wrap: wrap;
  gap: 12px 36px;
  margin-top: 26px;
}
.tools-strip span {
  display: inline-flex;
  align-items: center;
  gap: 9px;
  font-weight: 600;
  font-size: 0.95rem;
  color: var(--muted);
}
.tools-strip span::before {
  content: "";
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--accent);
}

/* ---------- Data band ---------- */
.data-band {
  background: var(--ink);
  color: var(--bg);
  padding: clamp(64px, 9vw, 110px) 0;
}
.data-band .section-title { color: var(--bg); }
.data-band .section-lead { color: rgba(250, 245, 236, 0.72); }
.data-list {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 15px 32px;
  max-width: 900px;
}
.data-list li {
  display: flex;
  gap: 12px;
  align-items: flex-start;
  color: rgba(250, 245, 236, 0.92);
}
.data-list li::before {
  content: "✓";
  flex: none;
  color: #8FBF9A;
  font-weight: 800;
}

/* ---------- Products ---------- */
.products { background: var(--bg-soft); }

.product-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 20px;
}
.product-card {
  background: var(--card);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  box-shadow: var(--shadow);
  padding: 28px 26px 24px;
  display: flex;
  flex-direction: column;
}
.product-name {
  font-family: var(--font-display);
  font-weight: 400;
  font-size: 1.6rem;
  color: var(--accent);
  margin: 0 0 10px;
}
.product-card > p { color: var(--muted); margin: 0 0 20px; }
.chip-row {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-top: auto;
}
.chip {
  font-size: 0.78rem;
  font-weight: 700;
  padding: 5px 12px;
  border-radius: var(--radius-pill);
  background: var(--accent-soft);
  color: var(--accent-deep);
}

/* ---------- Compact workflow strip ---------- */
.mini-steps {
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  counter-reset: mini;
}
.mini-steps li {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  background: var(--card);
  border: 1px solid var(--line);
  border-radius: var(--radius-pill);
  box-shadow: var(--shadow);
  padding: 8px 18px 8px 8px;
  font-weight: 600;
  font-size: 0.95rem;
}
.mini-steps li::before {
  counter-increment: mini;
  content: counter(mini);
  display: grid;
  place-items: center;
  width: 30px;
  height: 30px;
  flex: none;
  border-radius: 50%;
  background: var(--accent);
  color: var(--cream-on-rust);
  font-family: var(--font-display);
  font-size: 0.92rem;
}

/* ---------- Rules & data ---------- */
.rules { background: var(--bg-soft); }
.rules-inner {
  display: grid;
  grid-template-columns: minmax(0, 1.05fr) minmax(0, 0.95fr);
  gap: clamp(32px, 5vw, 60px);
  align-items: center;
}
.rules .section-lead { margin-bottom: 22px; }
.rules .receipt { margin: 0 auto; }
.rules-list {
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
  flex-direction: column;
  gap: 10px;
}
.rules-list li {
  display: flex;
  gap: 10px;
  align-items: flex-start;
  color: var(--muted);
}
.rules-list li::before {
  content: "✓";
  flex: none;
  color: var(--ok);
  font-weight: 800;
}

/* ---------- Scroll reveal (JS-gated so no-JS never hides content) ---------- */
html.js .reveal {
  opacity: 0;
  transform: translateY(16px);
  transition: opacity 0.55s ease, transform 0.55s ease;
}
html.js .reveal.in {
  opacity: 1;
  transform: none;
}

/* ---------- Responsive ---------- */
@media (max-width: 940px) {
  .hero-inner { grid-template-columns: minmax(0, 1fr); }
  .hero-visual { order: 2; }
  .phone-frame { transform: rotate(0deg); }
  .feature-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .steps { grid-template-columns: 1fr; }
  .demo-band-inner { flex-direction: column; text-align: center; }
  .demo-band p { margin-left: auto; margin-right: auto; }
  .texting-inner, .pricing-inner, .rules-inner { grid-template-columns: minmax(0, 1fr); }
  .rules-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .product-grid { grid-template-columns: 1fr; }
  .flow-stack { margin: 0 auto; }
}

/* The nav collapses earlier than the grids: the RepairCallback labels
   need ~960px in a row before the brand mark gets squeezed. */
@media (max-width: 960px) {
  .nav-links {
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    display: none;
    flex-direction: column;
    align-items: stretch;
    gap: 0;
    background: var(--bg);
    border-bottom: 1px solid var(--line);
    box-shadow: 0 14px 28px rgba(80, 55, 30, 0.12);
    padding: 8px 24px 16px;
  }
  .nav-links.open { display: flex; }
  .nav-links a { padding: 13px 0; border-bottom: 1px solid var(--line); }
  .nav-links a:last-child { border-bottom: none; }

  .nav-toggle { display: block; }
  .nav-cta { padding: 9px 14px; font-size: 0.9rem; }
  .nav-cta .nav-cta-long { display: none; }
  .brand { font-size: 1.05rem; }
  .nav-inner { gap: 10px; }
  .nav-right { gap: 8px; }
}

@media (max-width: 720px) {
  .pain-grid,
  .feature-grid,
  .stat-grid { grid-template-columns: 1fr; }
  .rules-grid { grid-template-columns: 1fr; }
  .data-list { grid-template-columns: 1fr; }
}

@media (max-width: 400px) {
  .nav-cta .nav-cta-text { display: none; }
  .nav-cta { padding: 10px 12px; }
}

@media (max-width: 480px) {
  .call-button {
    width: 100%;
    justify-content: center;
    padding: 15px 18px;
    gap: 12px;
  }
  .call-icon { width: 44px; height: 44px; }
  .demo-card { padding: 20px 18px 16px; }
  .copy-hint { display: none; }
  .cta-actions .button-outline { width: 100%; justify-content: center; }
}

/* ---------- Reduced motion ---------- */
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .call-icon { animation: none; }
  html.js .reveal {
    opacity: 1;
    transform: none;
    transition: none;
  }
  .call-button, .button { transition: none; }
}
