/* ─── TOKENS ─── */
:root {
  --bg: #fbf8f2;
  --surface: #fffef9;
  --ink: #14212b;
  --muted: #4e5b66;
  --muted-light: #8696a0;
  --line: #d8d2c4;
  --brand: #e4572e;
  --brand-dark: #b33e1d;
  --brand-soft: #fff1ec;
  --accent: #1f6f78;
  --accent-soft: #d8eef0;
  --green: #2a9d6b;
  --green-soft: #d4f0e5;
  --amber: #d4730a;
  --radius: 16px;
  --radius-sm: 10px;
  --shadow: 0 24px 60px rgba(20, 33, 43, 0.1);
  --shadow-sm: 0 8px 24px rgba(20, 33, 43, 0.08);
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; }
html, body { margin: 0; padding: 0; }

body {
  font-family: Manrope, sans-serif;
  color: var(--ink);
  background:
    radial-gradient(1200px 600px at 100% -80px, #ffd9c9 0%, transparent 65%),
    radial-gradient(900px 600px at -100px 40%, #d7ecef 0%, transparent 60%),
    var(--bg);
  line-height: 1.5;
  font-size: 1rem;
}

a { color: inherit; text-decoration: none; }
p { margin: 0; }

.container {
  width: min(1120px, 92vw);
  margin: 0 auto;
}

/* ─── NAV ─── */
.site-header {
  position: sticky;
  top: 0;
  z-index: 40;
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  background: rgba(251, 248, 242, 0.82);
  border-bottom: 1px solid rgba(216, 210, 196, 0.6);
}

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

.brand {
  font-family: "Space Grotesk", sans-serif;
  font-size: 1.35rem;
  font-weight: 700;
  letter-spacing: 0.2px;
  display: flex;
  align-items: center;
  gap: 6px;
}

.brand-icon { font-size: 1.1em; }

.nav {
  display: flex;
  gap: 22px;
  color: var(--muted);
  font-weight: 600;
  font-size: 0.95rem;
}
.nav a:hover { color: var(--ink); }

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

.hamburger {
  display: none;
  flex-direction: column;
  gap: 5px;
  border: none;
  background: none;
  cursor: pointer;
  padding: 4px;
}
.hamburger span {
  display: block;
  width: 22px;
  height: 2px;
  background: var(--ink);
  border-radius: 2px;
  transition: all 180ms ease;
}

/* ─── BUTTONS ─── */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 11px 20px;
  border-radius: 999px;
  font-family: Manrope, sans-serif;
  font-weight: 700;
  font-size: 0.94rem;
  border: 1px solid transparent;
  cursor: pointer;
  transition: transform 140ms ease, box-shadow 180ms ease, border-color 160ms ease, background 160ms ease;
  white-space: nowrap;
}
.btn:hover { transform: translateY(-1px); }

.btn-lg { padding: 14px 26px; font-size: 1rem; }

.btn-primary {
  color: #fff;
  background: linear-gradient(120deg, var(--brand) 0%, #f07e3d 100%);
  box-shadow: 0 8px 20px rgba(228, 87, 46, 0.28);
}
.btn-primary:hover { box-shadow: 0 12px 28px rgba(228, 87, 46, 0.38); }

.btn-secondary {
  border-color: var(--line);
  background: #fff;
  color: var(--ink);
}
.btn-secondary:hover { border-color: #b8b0a4; }

.btn-ghost {
  border-color: var(--line);
  color: var(--muted);
  background: transparent;
}

/* ─── TYPE ─── */
h1, h2, h3, h4 {
  font-family: "Space Grotesk", sans-serif;
  margin: 0;
  line-height: 1.1;
}
h1 { font-size: clamp(2rem, 5vw, 3.5rem); letter-spacing: -0.8px; }
h2 { font-size: clamp(1.65rem, 2.8vw, 2.35rem); letter-spacing: -0.3px; }
h3 { font-size: 1.15rem; font-weight: 700; margin-bottom: 6px; }

.eyebrow {
  font-family: "Space Grotesk", sans-serif;
  color: var(--accent);
  font-weight: 700;
  font-size: 0.82rem;
  text-transform: uppercase;
  letter-spacing: 1.2px;
  margin: 0 0 12px;
}

.lead {
  font-size: clamp(1rem, 2vw, 1.2rem);
  color: var(--muted);
  margin-top: 16px;
  max-width: 60ch;
  line-height: 1.6;
}

.section-lead {
  font-size: 1.08rem;
  color: var(--muted);
  margin-top: 14px;
  max-width: 68ch;
  line-height: 1.6;
}

.micro {
  color: var(--muted-light);
  font-size: 0.88rem;
  margin-top: 10px;
}

/* ─── ANIMATIONS ─── */
@keyframes rise {
  from { transform: translateY(20px); opacity: 0; }
  to   { transform: translateY(0);    opacity: 1; }
}

@keyframes float {
  0%, 100% { transform: translateY(0px); }
  50%       { transform: translateY(-10px); }
}

.reveal {
  opacity: 0;
  transform: translateY(18px);
  transition: opacity 500ms ease, transform 520ms ease;
}
.reveal.visible {
  opacity: 1;
  transform: translateY(0);
}

/* ─── HERO ─── */
.hero { padding: 86px 0 60px; }

.hero-grid {
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  gap: 40px;
  align-items: center;
}

.hero-copy h1 { margin-bottom: 0; }

.hero-cta {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 28px;
}

/* App mockup */
.hero-visual {
  animation: rise 700ms 200ms ease both;
  filter: drop-shadow(0 36px 56px rgba(20, 33, 43, 0.18));
}

.app-mockup {
  background: #fff;
  border: 1px solid #e2dbd0;
  border-radius: var(--radius);
  box-shadow: var(--shadow);
  overflow: hidden;
  animation: float 6s 900ms ease-in-out infinite;
}

.mockup-bar {
  display: flex;
  align-items: center;
  gap: 6px;
  background: #f5f2ed;
  padding: 10px 14px;
  border-bottom: 1px solid #e2dbd0;
}
.dot {
  width: 11px;
  height: 11px;
  border-radius: 50%;
}
.dot-red   { background: #ff5f57; }
.dot-amber { background: #febc2e; }
.dot-green { background: #28c840; }
.mockup-title {
  margin-left: 8px;
  font-size: 0.8rem;
  font-weight: 700;
  color: var(--muted);
  font-family: "Space Grotesk", sans-serif;
}

.mockup-body { padding: 12px; display: flex; flex-direction: column; gap: 8px; }

.job-row {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 10px 12px;
  border-radius: var(--radius-sm);
  border: 1px solid var(--line);
  background: var(--surface);
  font-size: 0.82rem;
}
.job-row-info { flex: 1; min-width: 0; }
.job-row-info strong { display: block; font-size: 0.85rem; }
.job-row-info span   { color: var(--muted-light); font-size: 0.78rem; }

.job-active { background: #fffbf0; border-color: #f5d78e; }
.job-done   { background: #f2fcf7; border-color: #a8dfc3; }

.job-status-dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  flex-shrink: 0;
}
.status-done    { background: var(--green); }
.status-active  { background: var(--amber); }
.status-pending { background: #c4bfb8; }

.job-badge {
  font-size: 0.7rem;
  font-weight: 700;
  padding: 3px 8px;
  border-radius: 999px;
  white-space: nowrap;
}
.badge-complete { background: var(--green-soft);  color: #1a7a4f; }
.badge-progress { background: #fff0cc;             color: #966400; }
.badge-pending  { background: #f0ede8;             color: var(--muted); }

.mockup-invoice-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 8px;
  padding: 10px 12px;
  border-radius: var(--radius-sm);
  background: #f2fcf7;
  border: 1px solid #a8dfc3;
  font-size: 0.8rem;
  color: var(--muted);
}
.mockup-invoice-row strong { font-size: 0.9rem; color: var(--ink); }
.badge-paid {
  font-size: 0.72rem;
  font-weight: 700;
  padding: 2px 8px;
  border-radius: 999px;
  background: var(--green);
  color: #fff;
}

/* ─── TRUST BAR ─── */
.trust-bar {
  padding: 20px 0 36px;
  text-align: center;
}
.trust-label {
  font-size: 0.84rem;
  color: var(--muted-light);
  font-weight: 600;
  margin-bottom: 14px;
  text-transform: uppercase;
  letter-spacing: 0.8px;
}
.trade-pills {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 8px;
}
.trade-pills span {
  background: rgba(255,255,255,0.8);
  border: 1px solid var(--line);
  border-radius: 999px;
  padding: 6px 16px;
  font-size: 0.88rem;
  font-weight: 600;
  color: var(--muted);
}

/* ─── METRICS ─── */
.metrics { padding: 20px 0 56px; }

.metric-grid {
  display: grid;
  gap: 14px;
  grid-template-columns: repeat(4, minmax(0, 1fr));
}
.metric-grid article {
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: rgba(255, 255, 255, 0.75);
  padding: 22px 20px;
  text-align: center;
}
.metric {
  font-family: "Space Grotesk", sans-serif;
  font-size: 2.1rem;
  font-weight: 700;
  color: var(--brand-dark);
  margin: 0;
  line-height: 1;
}
.metric-label {
  color: var(--muted);
  font-size: 0.88rem;
  margin-top: 8px;
  line-height: 1.4;
}

/* ─── PAIN SECTION ─── */
.pain-section {
  padding: 72px 0 80px;
  background: linear-gradient(180deg, transparent 0%, rgba(228, 87, 46, 0.04) 100%);
}
.pain-section h2 { margin-top: 8px; margin-bottom: 36px; }
.pain-section em { font-style: italic; color: var(--brand); }

.pain-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 14px;
  margin-bottom: 40px;
}
.pain-card {
  background: #fff;
  border: 1px solid #eee7dc;
  border-radius: var(--radius);
  padding: 22px 20px;
  display: flex;
  flex-direction: column;
  gap: 12px;
}
.pain-card p {
  font-size: 1rem;
  color: var(--muted);
  line-height: 1.5;
  font-style: italic;
}
.pain-icon { font-size: 1.8rem; line-height: 1; }

.pain-resolution {
  display: flex;
  align-items: center;
  gap: 20px;
  background: linear-gradient(120deg, #fff5e8 0%, #ebfbfc 100%);
  border: 1px solid #d7cab6;
  border-radius: var(--radius);
  padding: 24px 28px;
}
.pain-resolution p {
  font-family: "Space Grotesk", sans-serif;
  font-size: 1.15rem;
  font-weight: 700;
  flex: 1;
}

/* ─── HOW IT WORKS ─── */
.how-section {
  padding: 80px 0;
  background: linear-gradient(180deg, rgba(31, 111, 120, 0.04) 0%, transparent 100%);
}
.how-section h2 { margin-top: 8px; margin-bottom: 10px; }

.steps-grid {
  display: grid;
  grid-template-columns: 1fr auto 1fr auto 1fr;
  gap: 12px;
  align-items: start;
  margin-top: 48px;
}
.step {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 28px 24px;
}
.step-num {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 40px;
  height: 40px;
  border-radius: 50%;
  background: var(--accent-soft);
  border: 2px solid rgba(31, 111, 120, 0.25);
  color: var(--accent);
  font-family: "Space Grotesk", sans-serif;
  font-size: 0.88rem;
  font-weight: 800;
  line-height: 1;
  margin-bottom: 16px;
}
.step h3 { margin-bottom: 10px; }
.step p { color: var(--muted); font-size: 0.95rem; line-height: 1.6; }

.step-arrow {
  font-size: 2rem;
  color: var(--line);
  align-self: center;
  padding: 0 4px;
}

/* ─── CORE FEATURES ─── */
.features-section { padding: 80px 0; }
.features-section h2 { margin-top: 8px; margin-bottom: 56px; }

.feature-block {
  display: grid;
  grid-template-columns: 1.05fr 0.95fr;
  gap: 48px;
  align-items: center;
  margin-bottom: 72px;
}
.feature-block-flip {
  grid-template-columns: 0.95fr 1.05fr;
}
.feature-block-flip .feature-block-content { order: 2; }
.feature-block-flip .feature-block-visual   { order: 1; }

.feature-icon-large {
  font-size: 2.4rem;
  margin-bottom: 14px;
  line-height: 1;
}
.feature-block-content h3 {
  font-size: 1.45rem;
  margin-bottom: 12px;
}
.feature-block-content p { color: var(--muted); line-height: 1.65; }

.feature-list {
  margin: 18px 0 0;
  padding: 0;
  list-style: none;
  color: var(--muted);
}
.feature-list li {
  margin: 9px 0;
  font-size: 0.95rem;
  padding-left: 24px;
  position: relative;
}
.feature-list li::before {
  content: '✓';
  position: absolute;
  left: 0;
  color: var(--green);
  font-weight: 800;
  font-size: 0.85rem;
}

/* Mini cards */
.mini-card {
  background: #fff;
  border: 1px solid #e2dbd0;
  border-radius: var(--radius);
  padding: 18px;
  box-shadow: var(--shadow-sm);
}
.mini-card-header {
  font-family: "Space Grotesk", sans-serif;
  font-weight: 700;
  font-size: 0.84rem;
  color: var(--muted);
  margin-bottom: 14px;
  padding-bottom: 10px;
  border-bottom: 1px solid var(--line);
}

.dispatch-row {
  display: flex;
  gap: 10px;
  align-items: center;
  padding: 7px 8px;
  border-radius: 8px;
  font-size: 0.8rem;
  margin-bottom: 4px;
}
.drow-highlight { background: #fffbf0; border: 1px solid #f5d78e; }
.dispatch-time { font-weight: 700; color: var(--ink); min-width: 38px; font-family: "Space Grotesk", sans-serif; }
.dispatch-name { font-weight: 700; min-width: 52px; }
.dispatch-job  { color: var(--muted); flex: 1; }

.quote-line {
  display: flex;
  justify-content: space-between;
  font-size: 0.83rem;
  padding: 5px 0;
  border-bottom: 1px solid #f0ebe3;
  color: var(--muted);
}
.quote-total {
  display: flex;
  justify-content: space-between;
  font-family: "Space Grotesk", sans-serif;
  font-weight: 700;
  font-size: 0.95rem;
  padding: 8px 0 12px;
}
.quote-actions {
  display: flex;
  gap: 8px;
  flex-wrap: wrap;
}
.badge-accepted {
  font-size: 0.72rem;
  font-weight: 700;
  padding: 3px 10px;
  border-radius: 999px;
  background: var(--green-soft);
  color: #1a7a4f;
}
.badge-xero {
  font-size: 0.72rem;
  font-weight: 700;
  padding: 3px 10px;
  border-radius: 999px;
  background: var(--accent-soft);
  color: var(--accent);
}

/* SMS card */
.sms-card .mini-card-header { margin-bottom: 12px; }
.sms-bubble {
  max-width: 86%;
  padding: 9px 13px;
  border-radius: 14px;
  font-size: 0.8rem;
  line-height: 1.45;
  margin-bottom: 6px;
}
.sms-out { background: var(--accent-soft); color: var(--accent); margin-left: auto; border-bottom-right-radius: 4px; }
.sms-in  { background: #f0ede8; color: var(--ink); margin-right: auto; border-bottom-left-radius: 4px; }
.sms-meta { font-size: 0.72rem; color: var(--muted-light); margin-top: 8px; }

/* ─── TRADE PACKS ─── */
.trade-pack-section { padding: 80px 0; background: rgba(20, 33, 43, 0.02); }
.trade-pack-section h2 { margin-top: 8px; margin-bottom: 10px; }

.trade-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 16px;
  margin-top: 36px;
}
.trade-card {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 24px 20px;
  display: flex;
  flex-direction: column;
  gap: 10px;
  transition: box-shadow 200ms ease, transform 200ms ease;
}
.trade-card:hover {
  box-shadow: var(--shadow-sm);
  transform: translateY(-2px);
}
.trade-icon { font-size: 2rem; line-height: 1; }
.trade-card h3 { margin: 0; }
.trade-card p  { color: var(--muted); font-size: 0.88rem; line-height: 1.5; }
.trade-card ul {
  padding: 0 0 0 18px;
  margin: 4px 0 6px;
  flex: 1;
}
.trade-card li { font-size: 0.83rem; color: var(--muted); margin: 5px 0; }
.trade-badge {
  display: inline-block;
  font-size: 0.7rem;
  font-weight: 700;
  padding: 3px 10px;
  border-radius: 999px;
  background: var(--accent-soft);
  color: var(--accent);
  align-self: flex-start;
}
.trade-footer-note {
  text-align: center;
  color: var(--muted-light);
  font-size: 0.88rem;
  margin-top: 28px;
}
.trade-footer-note a { color: var(--accent); font-weight: 600; }

/* ─── TECHNOLOGY ─── */
.tech-section { padding: 80px 0; }
.tech-section h2 { margin-top: 8px; margin-bottom: 10px; }

.tech-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 16px;
  margin-top: 40px;
}
.tech-card {
  background: #fff;
  border: 1px solid var(--line);
  border-top: 3px solid var(--accent-soft);
  border-radius: var(--radius);
  padding: 24px 22px;
  transition: box-shadow 200ms ease, transform 200ms ease, border-top-color 200ms ease;
}
.tech-card:hover {
  box-shadow: var(--shadow-sm);
  transform: translateY(-2px);
  border-top-color: var(--accent);
}
.tech-icon { font-size: 1.8rem; margin-bottom: 12px; line-height: 1; }
.tech-card h3 { margin-bottom: 8px; }
.tech-card p  { color: var(--muted); font-size: 0.92rem; line-height: 1.6; }

/* ─── INTEGRATIONS ─── */
.integrations-section {
  padding: 80px 0;
  background: linear-gradient(180deg, rgba(31, 111, 120, 0.04) 0%, transparent 100%);
}
.integrations-inner {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 56px;
  align-items: center;
}
.integrations-copy h2 { margin-bottom: 14px; }
.integrations-copy p  { color: var(--muted); margin-bottom: 22px; line-height: 1.6; }

.integration-cards {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 10px;
}
.int-card {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--radius-sm);
  padding: 14px 16px;
  display: flex;
  flex-direction: column;
  gap: 4px;
}
.int-logo { font-size: 1.3rem; }
.int-name { font-weight: 700; font-size: 0.9rem; }
.int-desc { color: var(--muted-light); font-size: 0.78rem; }

/* ─── TESTIMONIALS ─── */
.testimonials-section { padding: 80px 0; }
.testimonials-section h2 { margin-top: 8px; margin-bottom: 36px; }

.testimonial-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 16px;
}
.testimonial-card {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 24px 22px;
  display: flex;
  flex-direction: column;
  gap: 16px;
}
.stars { color: #f5a623; font-size: 0.95rem; letter-spacing: 2px; }
.testimonial-body {
  color: var(--muted);
  font-size: 0.96rem;
  line-height: 1.65;
  flex: 1;
}
.testimonial-author {
  display: flex;
  align-items: center;
  gap: 12px;
}
.avatar {
  width: 40px;
  height: 40px;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--brand-soft) 0%, var(--accent-soft) 100%);
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: "Space Grotesk", sans-serif;
  font-weight: 700;
  font-size: 0.75rem;
  color: var(--accent);
  flex-shrink: 0;
  border: 1px solid var(--line);
}
.testimonial-author strong { display: block; font-size: 0.9rem; }
.testimonial-author span   { color: var(--muted-light); font-size: 0.8rem; }

/* ─── CTA BAND ─── */
.conversion-band { padding: 36px 0 80px; }

.band-inner {
  background: var(--ink);
  border-radius: calc(var(--radius) + 4px);
  padding: 52px 48px;
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 48px;
  align-items: center;
  position: relative;
  overflow: hidden;
}
.band-inner::before {
  content: '';
  position: absolute;
  top: -80px;
  right: -80px;
  width: 360px;
  height: 360px;
  background: radial-gradient(circle, rgba(228, 87, 46, 0.22) 0%, transparent 70%);
  pointer-events: none;
}
.band-inner::after {
  content: '';
  position: absolute;
  bottom: -80px;
  left: 10%;
  width: 280px;
  height: 280px;
  background: radial-gradient(circle, rgba(31, 111, 120, 0.18) 0%, transparent 70%);
  pointer-events: none;
}
.band-copy h2 { color: #fff; margin-bottom: 12px; }
.band-copy p  { color: rgba(255,255,255,0.62); max-width: 54ch; line-height: 1.65; }
.band-stats {
  display: flex;
  gap: 28px;
  margin-top: 22px;
  flex-wrap: wrap;
}
.band-stats span  { font-size: 0.88rem; color: rgba(255,255,255,0.45); }
.band-stats strong { color: rgba(255,255,255,0.88); font-weight: 700; }
.band-actions {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 12px;
  position: relative;
  z-index: 1;
}
.band-actions .micro { color: rgba(255,255,255,0.4); }
.band-ghost {
  border-color: rgba(255,255,255,0.2) !important;
  color: rgba(255,255,255,0.75) !important;
  background: rgba(255,255,255,0.06) !important;
}
.band-ghost:hover {
  background: rgba(255,255,255,0.12) !important;
  border-color: rgba(255,255,255,0.35) !important;
  color: #fff !important;
}

/* ─── FAQ ─── */
.faq { padding: 80px 0; }
.faq h2 { margin-bottom: 28px; }

.faq-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 14px;
}
.faq-card {
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 22px 20px;
}
.faq-card h3 { margin-bottom: 8px; }
.faq-card p  { color: var(--muted); font-size: 0.94rem; line-height: 1.6; }

/* ─── FOOTER ─── */
.site-footer {
  border-top: 1px solid var(--line);
  background: var(--surface);
  padding: 48px 0 0;
}

.footer-inner {
  display: grid;
  grid-template-columns: 1.2fr 2fr;
  gap: 40px;
  padding-bottom: 40px;
}
.footer-brand p {
  color: var(--muted-light);
  font-size: 0.88rem;
  margin-top: 8px;
}
.footer-links {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 16px;
}
.footer-col {
  display: flex;
  flex-direction: column;
  gap: 8px;
}
.footer-col strong {
  font-size: 0.84rem;
  font-weight: 700;
  color: var(--ink);
  margin-bottom: 4px;
  text-transform: uppercase;
  letter-spacing: 0.6px;
}
.footer-col a {
  color: var(--muted);
  font-size: 0.88rem;
  transition: color 140ms ease;
}
.footer-col a:hover { color: var(--ink); }

.footer-bottom {
  border-top: 1px solid var(--line);
  padding: 18px 0;
}
.footer-bottom p {
  color: var(--muted-light);
  font-size: 0.84rem;
}

/* ─── UTILITIES ─── */

/* Pain-fix badge */
.pain-fix {
  font-size: 0.78rem;
  font-weight: 700;
  color: #1a7a4f;
  font-style: normal !important;
  padding: 4px 10px;
  background: var(--green-soft);
  border-radius: 6px;
  display: inline-block;
  margin-top: auto;
}

/* Hero social proof */
.hero-social-proof {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-top: 20px;
}
.proof-avatars { display: flex; }
.proof-avatar {
  width: 30px;
  height: 30px;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--brand-soft) 0%, var(--accent-soft) 100%);
  border: 2px solid var(--surface);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 0.6rem;
  font-weight: 800;
  color: var(--accent);
  margin-left: -7px;
  font-family: "Space Grotesk", sans-serif;
}
.proof-avatar:first-child { margin-left: 0; }
.hero-social-proof > span {
  font-size: 0.85rem;
  font-weight: 600;
  color: var(--muted);
}

/* Metric accent bottom borders */
.metric-grid article:nth-child(1) { border-bottom: 3px solid var(--brand); }
.metric-grid article:nth-child(2) { border-bottom: 3px solid var(--accent); }
.metric-grid article:nth-child(3) { border-bottom: 3px solid var(--green); }
.metric-grid article:nth-child(4) { border-bottom: 3px solid #f5a623; }

/* Stagger animation delays */
.metric-grid article:nth-child(2)  { transition-delay: 80ms; }
.metric-grid article:nth-child(3)  { transition-delay: 160ms; }
.metric-grid article:nth-child(4)  { transition-delay: 240ms; }
.pain-grid .pain-card:nth-child(2) { transition-delay: 80ms; }
.pain-grid .pain-card:nth-child(3) { transition-delay: 160ms; }
.pain-grid .pain-card:nth-child(4) { transition-delay: 80ms; }
.pain-grid .pain-card:nth-child(5) { transition-delay: 160ms; }
.pain-grid .pain-card:nth-child(6) { transition-delay: 240ms; }
.tech-grid .tech-card:nth-child(2) { transition-delay: 80ms; }
.tech-grid .tech-card:nth-child(3) { transition-delay: 160ms; }
.tech-grid .tech-card:nth-child(4) { transition-delay: 80ms; }
.tech-grid .tech-card:nth-child(5) { transition-delay: 160ms; }
.tech-grid .tech-card:nth-child(6) { transition-delay: 240ms; }
.testimonial-card:nth-child(2)     { transition-delay: 100ms; }
.testimonial-card:nth-child(3)     { transition-delay: 200ms; }
.trade-card:nth-child(2)           { transition-delay: 80ms; }
.trade-card:nth-child(3)           { transition-delay: 160ms; }
.trade-card:nth-child(4)           { transition-delay: 240ms; }

/* ─── RESPONSIVE ─── */
@media (max-width: 1080px) {
  .hero-grid        { grid-template-columns: 1fr; }
  .hero-visual      { max-width: 520px; }
  .metric-grid      { grid-template-columns: repeat(2, 1fr); }
  .trade-grid       { grid-template-columns: repeat(2, 1fr); }
  .tech-grid        { grid-template-columns: repeat(2, 1fr); }
  .steps-grid       { grid-template-columns: 1fr; }
  .step-arrow       { display: none; }
  .integrations-inner { grid-template-columns: 1fr; }
  .feature-block, .feature-block-flip {
    grid-template-columns: 1fr;
  }
  .feature-block-flip .feature-block-content { order: 0; }
  .feature-block-flip .feature-block-visual   { order: 0; }
  .testimonial-grid { grid-template-columns: 1fr; }
  .band-inner       { grid-template-columns: 1fr; padding: 36px 28px; }
}

@media (max-width: 780px) {
  .nav, .nav-actions { display: none; }
  .hamburger { display: flex; }

  .nav.open {
    display: flex;
    flex-direction: column;
    gap: 0;
    position: absolute;
    top: 72px;
    left: 0;
    right: 0;
    background: rgba(251, 248, 242, 0.97);
    backdrop-filter: blur(8px);
    border-bottom: 1px solid var(--line);
    padding: 12px 0;
  }
  .nav.open a {
    padding: 12px 24px;
    font-size: 1rem;
  }

  h1 { font-size: clamp(1.7rem, 7vw, 2.4rem); }
  h2 { font-size: clamp(1.4rem, 5vw, 1.9rem); }

  .metric-grid        { grid-template-columns: 1fr 1fr; }
  .pain-grid          { grid-template-columns: 1fr; }
  .trade-grid         { grid-template-columns: 1fr; }
  .tech-grid          { grid-template-columns: 1fr; }
  .faq-grid           { grid-template-columns: 1fr; }
  .integration-cards  { grid-template-columns: 1fr; }
  .footer-inner       { grid-template-columns: 1fr; }
  .footer-links       { grid-template-columns: 1fr 1fr; }
  .band-actions       { align-items: flex-start; }
  .pain-resolution    { flex-direction: column; align-items: flex-start; }
}

/* Founder offer strip — hero, homepage. Deliberately not inside a .reveal:
   a commercial offer must not depend on JavaScript to be visible. */
.founder-strip {
  margin: 14px 0 6px;
  padding: 12px 16px;
  border-left: 3px solid var(--brand);
  background: var(--brand-soft);
  border-radius: var(--radius-sm);
  font-size: .95rem;
  line-height: 1.5;
  color: var(--ink);
  max-width: 560px;
}
.founder-strip strong { color: var(--brand-dark); }
.founder-strip a { color: var(--brand-dark); font-weight: 600; white-space: nowrap; }

/* ── Trade picker (homepage) ────────────────────────────────────────────────
   The section is visible by default and JS only enriches it, so a visitor
   without JavaScript still gets real content rather than an empty box. */
.trade-picker { padding: 72px 0; background: var(--surface); border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); }
.trade-picker h2 { margin: 6px 0 10px; }

.tp-control { display: flex; align-items: center; gap: 12px; flex-wrap: wrap; margin: 22px 0 24px; }
.tp-label { font-family: "Space Grotesk", sans-serif; font-weight: 700; font-size: 1.1rem; color: var(--ink); }
.tp-control select {
  font-family: inherit; font-size: 1.05rem; font-weight: 600; color: var(--ink);
  padding: 12px 44px 12px 16px; border: 2px solid var(--brand); border-radius: var(--radius-sm);
  background-color: var(--brand-soft); cursor: pointer; min-width: 260px; appearance: none;
  background-image: url("data:image/svg+xml;charset=utf-8,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16' fill='%23b33e1d'%3E%3Cpath d='M4 6l4 4 4-4'/%3E%3C/svg%3E");
  background-repeat: no-repeat; background-position: right 14px center; background-size: 16px;
}
.tp-control select:focus-visible { outline: 3px solid var(--accent); outline-offset: 2px; }

.tp-panel { background: var(--bg); border: 1px solid var(--line); border-radius: var(--radius); padding: 28px; box-shadow: var(--shadow-sm); }
.tp-count { font-family: "Space Grotesk", sans-serif; font-size: 1.35rem; font-weight: 600; color: var(--ink); margin: 0 0 6px; }
.tp-count strong { font-size: 2rem; color: var(--brand-dark); }
.tp-sub { color: var(--muted); margin: 0 0 18px; }

.tp-chips { list-style: none; display: flex; flex-wrap: wrap; gap: 8px; padding: 0; margin: 0 0 22px; }
.tp-chip { background: var(--accent-soft); color: #14494f; border: 1px solid #b6dde0; border-radius: 999px; padding: 7px 14px; font-size: .9rem; font-weight: 500; }

.tp-actions { display: flex; flex-wrap: wrap; gap: 10px; }

@media (max-width: 720px) {
  .trade-picker { padding: 52px 0; }
  .tp-control select { min-width: 0; width: 100%; }
  .tp-panel { padding: 20px; }
  .tp-count strong { font-size: 1.7rem; }
  .tp-actions .btn { width: 100%; text-align: center; }
}

/* ── Focus visibility ───────────────────────────────────────────────────────
   Keyboard users had almost nothing to go on: the only focus style on the site
   was the one added with the trade picker. :focus-visible keeps it off mouse
   clicks, so this costs the pointer experience nothing. */
a:focus-visible,
button:focus-visible,
select:focus-visible,
input:focus-visible,
textarea:focus-visible,
[tabindex]:focus-visible {
  outline: 3px solid var(--accent);
  outline-offset: 3px;
  border-radius: 4px;
}

/* ── Reduced motion ─────────────────────────────────────────────────────────
   The site ran a 6s infinite float, scroll-reveal transitions and hover
   transforms with no regard for the user's setting, which is WCAG 2.3.3 and a
   genuine problem for anyone with a vestibular disorder.

   Reveal elements need care: they start at opacity 0 and are made visible by
   script. Simply killing the transition would leave them invisible, so they are
   forced visible here rather than animated. */
@media (prefers-reduced-motion: reduce) {
  *,
  *::before,
  *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
    scroll-behavior: auto !important;
  }

  .reveal,
  .reveal.visible {
    opacity: 1 !important;
    transform: none !important;
  }
}

/* ── Homepage walkthrough ───────────────────────────────────────────────────
   Two columns on desktop (app panel + explanation), stacked on mobile. The
   stage is a live region, so the panel is announced as steps change. */
.demo { padding: 76px 0; }
.demo h2 { margin: 6px 0 10px; }

.demo-nav { display: flex; flex-wrap: wrap; gap: 8px; margin: 22px 0 20px; }
.demo-step {
  font-family: "Space Grotesk", sans-serif; font-size: .88rem; font-weight: 600;
  padding: 8px 14px; border-radius: 999px; border: 1px solid var(--line);
  background: var(--surface); color: var(--muted); cursor: pointer;
  transition: background 160ms ease, color 160ms ease, border-color 160ms ease;
}
button.demo-step:hover { border-color: var(--brand); color: var(--brand-dark); }
.demo-step.is-current { background: var(--brand); border-color: var(--brand); color: #fff; }

.demo-stage { display: grid; grid-template-columns: 1.05fr 1fr; gap: 28px; align-items: start; }

.demo-panel { background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius); box-shadow: var(--shadow); overflow: hidden; }
.demo-panel-bar { display: flex; align-items: center; gap: 7px; padding: 12px 16px; background: var(--bg); border-bottom: 1px solid var(--line); }
.demo-panel-title { margin-left: 8px; font-family: "Space Grotesk", sans-serif; font-size: .85rem; font-weight: 600; color: var(--muted); }
.demo-panel-body { padding: 8px 16px 14px; }

.demo-row { display: flex; justify-content: space-between; align-items: center; gap: 14px; padding: 13px 0; border-bottom: 1px solid var(--line); font-size: .95rem; }
.demo-row:last-child { border-bottom: 0; }
.demo-row-l { color: var(--ink); }
.demo-row-r { font-weight: 600; white-space: nowrap; }
.demo-row--done .demo-row-r { color: var(--green); }
.demo-row--new .demo-row-r { color: var(--brand-dark); }
.demo-row--total { border-top: 2px solid var(--ink); margin-top: 4px; }
.demo-row--total .demo-row-l,
.demo-row--total .demo-row-r { font-family: "Space Grotesk", sans-serif; font-weight: 700; font-size: 1.05rem; }

.demo-copy h3 { font-size: 1.4rem; margin: 4px 0 10px; }
.demo-copy p { color: var(--muted); margin: 0; line-height: 1.65; }

.demo-controls { display: flex; gap: 10px; margin-top: 22px; }
.demo-controls .btn[disabled] { opacity: .4; cursor: not-allowed; }

@media (max-width: 860px) {
  .demo { padding: 52px 0; }
  .demo-stage { grid-template-columns: 1fr; gap: 20px; }
  .demo-controls .btn { flex: 1; text-align: center; }
}

/* ── Comparison depth table ─────────────────────────────────────────────────
   Wide content must scroll inside its own container rather than pushing the
   page sideways on a phone. */
.compare-depth .cd-wrap { overflow-x: auto; margin-top: 22px; border-radius: var(--radius); border: 1px solid var(--line); background: var(--surface); box-shadow: var(--shadow-sm); }
.cd-table { border-collapse: collapse; width: 100%; min-width: 640px; font-size: .95rem; }
.cd-table th, .cd-table td { text-align: left; padding: 14px 18px; border-bottom: 1px solid var(--line); vertical-align: top; }
.cd-table thead th { font-family: "Space Grotesk", sans-serif; font-size: .78rem; letter-spacing: .06em; text-transform: uppercase; color: var(--muted); background: var(--bg); }
.cd-table tbody th { font-weight: 600; color: var(--ink); width: 30%; }
.cd-table tbody tr:last-child th, .cd-table tbody tr:last-child td { border-bottom: 0; }
.cd-figure { font-family: "Space Grotesk", sans-serif; font-weight: 700; color: var(--brand-dark); white-space: nowrap; }
.compare-depth .micro { margin-top: 14px; }

/* Available to screen readers, out of the visual flow. */
.visually-hidden { position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0; }
