/* ═══════════════════════════════════════════════════════════════════════════
   FYC /for-business v2 — Round 5
   Tighter typography (smaller, more elegant H2s), restrained brand palette
   (clay primary, wood/steel sparing, H2O reserved for marketplace + AI),
   HubSpot Meetings booker in modal
   ═══════════════════════════════════════════════════════════════════════════ */

/* ─── Fonts ────────────────────────────────────────────────────────────── */
@font-face { font-family: 'CircularXX'; src: url('/assets/fonts/CirculaXX/CircularXXTT-Book.ttf') format('truetype'); font-weight: 400; font-style: normal; font-display: swap; }
@font-face { font-family: 'CircularXX'; src: url('/assets/fonts/CirculaXX/CircularXXTT-BookItalic.ttf') format('truetype'); font-weight: 400; font-style: italic; font-display: swap; }
@font-face { font-family: 'CircularXX'; src: url('/assets/fonts/CirculaXX/CircularXXTT-Medium.ttf') format('truetype'); font-weight: 500; font-style: normal; font-display: swap; }
@font-face { font-family: 'CircularXX'; src: url('/assets/fonts/CirculaXX/CircularXXTT-Bold.ttf') format('truetype'); font-weight: 700; font-style: normal; font-display: swap; }
@font-face { font-family: 'CircularXX'; src: url('/assets/fonts/CirculaXX/CircularXXTT-BoldItalic.ttf') format('truetype'); font-weight: 700; font-style: italic; font-display: swap; }
@font-face { font-family: 'CircularXX'; src: url('/assets/fonts/CirculaXX/CircularXXTT-Black.ttf') format('truetype'); font-weight: 900; font-style: normal; font-display: swap; }

:root {
  --coal: #1b1919;
  --cotton: #f8f7ed;
  --clay: #c14611;
  --steel: #626a71;
  --wood: #e4c18d;
  --h2o: #ccecff;
  --h2o-deep: #3b8aa8;     /* darker H2O for marketplace callout + AI icon only */
  --wood-deep: #b8975f;    /* deeper wood for sparing icon use */
  --cotton-soft: #F1EFE0;
  --coal-soft: #2a2727;
  --border-faint: rgba(27, 25, 25, 0.1);
  --border-faint-on-dark: rgba(248, 247, 237, 0.12);
  --muted-on-dark: rgba(248, 247, 237, 0.7);
  --section-px: clamp(20px, 5vw, 80px);
  --section-py: clamp(64px, 9vw, 120px);
  --container-max: 1200px;
}

* { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; overflow-x: clip; scrollbar-gutter: stable; scroll-padding-top: 80px; }
body {
  background: var(--cotton);
  color: var(--coal);
  font-family: 'CircularXX', 'Helvetica Neue', Helvetica, Arial, sans-serif;
  font-size: 16px;
  line-height: 1.5;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  overflow-x: clip;
  width: 100%;
}
.container { max-width: var(--container-max); margin: 0 auto; padding-inline: var(--section-px); width: 100%; }

/* ─── Top nav — sticky + smart hide/show + glass ─────────────────────── */
.site-nav {
  position: sticky;
  top: 0;
  z-index: 100;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 16px clamp(20px, 4vw, 48px);
  background: rgba(248, 247, 237, 0.72);
  backdrop-filter: blur(18px) saturate(180%);
  -webkit-backdrop-filter: blur(18px) saturate(180%);
  border-bottom: 1px solid rgba(27, 25, 25, 0.06);
  transition: transform 0.7s cubic-bezier(0.16, 1, 0.3, 1), box-shadow 0.3s ease;
  will-change: transform;
}
.site-nav.nav-hidden { transform: translateY(-100%); }
.site-nav-logo img { height: 28px; display: block; }
.site-nav-links {
  display: flex;
  align-items: center;
  gap: 32px;
}
.site-nav-anchor {
  color: var(--coal);
  text-decoration: none;
  font-size: 14px;
  font-weight: 500;
  letter-spacing: 0.01em;
  opacity: 0.78;
  transition: opacity 0.2s ease;
  position: relative;
}
.site-nav-anchor:hover { opacity: 1; }
.site-nav-anchor::after {
  content: '';
  position: absolute;
  left: 0;
  right: 0;
  bottom: -6px;
  height: 1px;
  background: var(--coal);
  transform: scaleX(0);
  transform-origin: center;
  transition: transform 0.25s ease;
}
.site-nav-anchor:hover::after { transform: scaleX(1); }
.site-nav-ctas { display: flex; align-items: center; gap: 6px; }
.site-nav-link {
  color: var(--coal);
  text-decoration: none;
  padding: 10px 16px;
  font-size: 14px;
  font-weight: 500;
  border-radius: 999px;
  transition: background 0.2s ease;
}
.site-nav-link:hover { background: rgba(27, 25, 25, 0.06); }
.site-nav-cta {
  background: var(--coal);
  color: var(--cotton);
  text-decoration: none;
  padding: 10px 20px;
  border-radius: 999px;
  font-size: 14px;
  font-weight: 500;
  transition: background 0.2s ease;
}
.site-nav-cta:hover { background: var(--coal-soft); }

/* ─── Buttons ─────────────────────────────────────────────────────────── */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  font-family: inherit;
  font-size: 16px;
  font-weight: 500;
  padding: 14px 28px;
  border-radius: 999px;
  text-decoration: none;
  border: 1px solid transparent;
  cursor: pointer;
  transition: all 0.2s ease;
  letter-spacing: -0.1px;
}
.btn-primary { background: var(--coal); color: var(--cotton); }
.btn-primary:hover { background: var(--coal-soft); transform: translateY(-1px); }
.btn-ghost { background: transparent; color: var(--coal); border-color: var(--coal); }
.btn-ghost:hover { background: var(--coal); color: var(--cotton); }
.btn-clay { background: var(--clay); color: var(--cotton); }
.btn-clay:hover { background: #a83c0d; transform: translateY(-1px); }
/* Ghost button for dark backgrounds (used as low-commitment secondary on demo CTA section) */
.btn-ghost-light { background: transparent; color: var(--cotton); border-color: rgba(248, 247, 237, 0.32); }
.btn-ghost-light:hover { background: rgba(248, 247, 237, 0.08); border-color: var(--cotton); }
.btn-arrow .material-symbols-outlined { font-size: 20px; transition: transform 0.2s ease; }
.btn-arrow:hover .material-symbols-outlined { transform: translateX(3px); }

/* ─── Shared primitives ───────────────────────────────────────────────── */
.eyebrow {
  display: inline-block;
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  margin-bottom: 18px;
  color: var(--clay);
}
.eyebrow-light { color: var(--wood); }
.eyebrow-building { color: var(--clay); }

/* H2s trimmed down for elegance (was clamp 36/6vw/80) */
.section-h2 {
  font-size: clamp(30px, 4.5vw, 56px);
  font-weight: 700;
  line-height: 1.05;
  letter-spacing: -1.2px;
  margin-bottom: 20px;
  color: var(--coal);
}
.section-h2-accent { color: var(--clay); font-style: italic; }
.section-h2-light { color: var(--cotton); }

.section-lead {
  font-size: clamp(15px, 1.25vw, 18px);
  line-height: 1.55;
  color: var(--steel);
  max-width: 620px;
  font-weight: 400;
}
.section-lead-light { color: var(--muted-on-dark); }

.check-list {
  display: flex;
  flex-direction: column;
  gap: 12px;
  margin-bottom: 28px;
  list-style: none;
  padding: 0;
}
.check-list li {
  display: flex;
  align-items: flex-start;
  gap: 12px;
  font-size: 15px;
  line-height: 1.5;
  color: var(--coal);
}
.check-list .material-symbols-outlined {
  font-size: 20px;
  color: var(--clay);
  flex-shrink: 0;
  font-variation-settings: 'FILL' 1;
  margin-top: 1px;
}

.text-link-arrow {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  font-size: 14px;
  font-weight: 500;
  color: var(--clay);
  text-decoration: none;
  border-bottom: 1px solid currentColor;
  padding-bottom: 2px;
  transition: gap 0.2s ease;
}
.text-link-arrow .material-symbols-outlined { font-size: 18px; }
.text-link-arrow:hover { gap: 8px; }

.text-link { color: var(--clay); text-decoration: underline; text-underline-offset: 3px; }

/* ─── Wireframe primitives ───────────────────────────────────────────── */
.wireframe {
  background: var(--cotton);
  border: 1px solid var(--border-faint);
  border-radius: 14px;
  overflow: hidden;
  box-shadow: 0 32px 80px -24px rgba(27, 25, 25, 0.18), 0 12px 32px -12px rgba(27, 25, 25, 0.08);
  max-width: 100%;
}
.wireframe-laptop { width: 100%; aspect-ratio: 16 / 10; }
.wireframe-phone { width: 200px; aspect-ratio: 9 / 19; border-radius: 28px; position: relative; }
.wireframe-phone-notch {
  position: absolute;
  top: 14px;
  left: 50%;
  transform: translateX(-50%);
  width: 70px;
  height: 20px;
  background: var(--coal);
  border-radius: 999px;
  z-index: 2;
}
.wireframe-on-dark { background: var(--coal-soft); border-color: var(--border-faint-on-dark); }
.wireframe-chrome {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 10px 14px;
  background: var(--cotton-soft);
  border-bottom: 1px solid var(--border-faint);
  min-width: 0;
}
.wireframe-chrome-dark { background: rgba(248, 247, 237, 0.04); border-bottom-color: var(--border-faint-on-dark); }
.wireframe-dots { display: flex; gap: 6px; flex-shrink: 0; }
.wireframe-dots i { width: 10px; height: 10px; border-radius: 50%; background: rgba(27, 25, 25, 0.14); }
.wireframe-chrome-dark .wireframe-dots i { background: rgba(248, 247, 237, 0.18); }
.wireframe-url {
  font-size: 11px;
  color: var(--steel);
  background: var(--cotton);
  padding: 5px 12px;
  border-radius: 999px;
  flex: 1;
  min-width: 0;
  max-width: 360px;
  margin: 0 auto;
  text-align: center;
  border: 1px solid var(--border-faint);
  font-family: ui-monospace, SFMono-Regular, monospace;
  letter-spacing: -0.2px;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}
.wireframe-chrome-dark .wireframe-url { background: rgba(248, 247, 237, 0.06); color: var(--muted-on-dark); border-color: var(--border-faint-on-dark); }
.wireframe-body {
  padding: 24px;
  display: flex;
  flex-direction: column;
  gap: 16px;
  height: calc(100% - 44px);
  overflow: hidden;
}
.wireframe-body-dark { padding: 22px; }
.wireframe-phone .wireframe-body { padding: 48px 18px 24px; height: 100%; }
.wireframe-label {
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--steel);
  opacity: 0.6;
}
.wireframe-body-dark .wireframe-label { color: var(--wood); opacity: 0.7; }
.wireframe-blocks { display: flex; flex-direction: column; gap: 10px; }
.wireframe-block { background: var(--cotton-soft); border: 1px solid var(--border-faint); border-radius: 6px; height: 24px; }
.wireframe-block-sm { height: 18px; width: 60%; }
.wireframe-block-md { height: 28px; width: 85%; }
.wireframe-block-lg { height: 60px; width: 100%; }
.wireframe-block-dark { background: rgba(248, 247, 237, 0.05); border-color: var(--border-faint-on-dark); }

/* ═══ 1. HERO — slightly trimmed h1 ═══════════════════════════════════ */
.hero { position: relative; padding-block: clamp(56px, 8vw, 104px); overflow: clip; contain: paint; }
.hero-bg { position: absolute; inset: 0; pointer-events: none; color: var(--clay); opacity: 0.35; }
.hero-accent { position: absolute; height: 80%; }
.hero-accent-left { left: -40px; top: 20px; width: 120px; }
.hero-accent-right { right: -40px; top: 60px; width: 130px; }
.hero-inner {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: 1.1fr 1fr;
  gap: clamp(40px, 6vw, 80px);
  align-items: center;
}
/* Hero H1 — was clamp(44, 8vw, 104). Trimmed but kept hierarchically largest */
.hero-h1 {
  font-size: clamp(32px, 5.2vw, 64px);
  font-weight: 700;
  line-height: 1;
  letter-spacing: -1.6px;
  margin-bottom: 24px;
  color: var(--coal);
}
.hero-h1-accent { color: var(--clay); font-style: italic; }
.hero-sub {
  font-size: clamp(16px, 1.35vw, 19px);
  line-height: 1.5;
  color: var(--coal);
  margin-bottom: 16px;
  max-width: 540px;
}
.hero-anchor { font-size: 13.5px; color: var(--steel); margin-bottom: 32px; font-style: italic; }
.hero-ctas { display: flex; gap: 12px; flex-wrap: wrap; }
.hero-visual { position: relative; min-height: 440px; padding-bottom: 80px; }
.wireframe-hero-primary { max-width: 460px; margin-left: auto; position: relative; }

/* MacBook Pro + Chrome browser mockup */
.hero-laptop-frame {
  position: relative;
  border-radius: 10px 10px 4px 4px;
  overflow: visible;
  filter: drop-shadow(0 20px 40px rgba(0,0,0,0.15));
}
.hero-mac-bar {
  background: #e8e7e0;
  border-radius: 10px 10px 0 0;
  height: 16px;
  display: flex;
  align-items: center;
  padding: 0 8px;
  gap: 5px;
  border: 1px solid rgba(0,0,0,0.1);
  border-bottom: 1px solid rgba(0,0,0,0.07);
}
.hero-mac-bar i { display: block; width: 7px; height: 7px; border-radius: 50%; flex-shrink: 0; }
.hero-mac-bar i:nth-child(1) { background: #ff5f57; }
.hero-mac-bar i:nth-child(2) { background: #febc2e; }
.hero-mac-bar i:nth-child(3) { background: #28c840; }
.hero-chrome-address {
  flex: 1;
  background: rgba(0,0,0,0.06);
  border-radius: 4px;
  height: 9px;
  display: flex;
  align-items: center;
  padding: 0 4px;
  gap: 2px;
  font-size: 5.5px;
  color: rgba(0,0,0,0.3);
  font-family: -apple-system, sans-serif;
  overflow: hidden;
  white-space: nowrap;
}
.hero-chrome-lock { display: none; }
.hero-laptop-screen {
  width: 100%;
  line-height: 0;
  border: 1px solid rgba(0,0,0,0.1);
  border-top: none;
  border-radius: 0 0 4px 4px;
  overflow: hidden;
}
.hero-laptop-screen img { width: 100%; height: auto; display: block; }

/* Phone: centred, overlapping bottom of laptop by 50% of phone height */
.wireframe-hero-phone {
  display: block;
  width: 30%;
  margin: 0 auto;
  margin-top: -22%;
  position: relative;
  z-index: 2;
}

/* Hero phone frame — iPhone 16 Pro proportions */
.hero-phone-frame {
  background: #1a1a1a;
  border-radius: 16px;
  border: 2px solid #2a2a2a;
  box-shadow: 0 16px 48px rgba(0,0,0,0.4), inset 0 0 0 1px rgba(255,255,255,0.08);
  overflow: hidden;
  position: relative;
  aspect-ratio: 604 / 1314;
}
.hero-phone-notch {
  position: absolute;
  top: 6px; left: 50%;
  transform: translateX(-50%);
  width: 28%; height: 3%;
  background: #1a1a1a;
  border-radius: 3px;
  z-index: 2;
}
.hero-phone-screen { width: 100%; height: 100%; overflow: hidden; border-radius: 14px; }
.hero-phone-screen video { width: 100%; height: 100%; object-fit: cover; object-position: top; display: block; }

/* ═══ 2. TRUST STRIP — handwritten SVG halved, stats uniform coal ════ */
.trust {
  padding-block: clamp(48px, 7vw, 80px);
  background: var(--cotton-soft);
  border-block: 1px solid var(--border-faint);
}
.trust-container { text-align: center; }
.trust-h2 { margin: 0 auto 22px; line-height: 1; }
.trust-handwritten {
  width: 100%;
  max-width: 240px;          /* was 320px — 25% smaller per Sam */
  height: auto;
  display: block;
  margin: 0 auto;
}
.trust-sub {
  font-size: clamp(16px, 1.4vw, 20px);
  font-weight: 500;
  color: var(--coal);
  margin: 0 auto 40px;
  max-width: 560px;
  letter-spacing: -0.2px;
}
.trust-stats {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: clamp(20px, 4vw, 52px);
  max-width: 880px;
  margin: 0 auto;
}
.trust-stat { display: flex; flex-direction: column; gap: 4px; align-items: center; text-align: center; }
/* Uniform coal — no more cycling colours through h2o */
.trust-stat-value {
  display: block;
  font-size: clamp(20px, 2.6vw, 28px);
  font-weight: 700;
  letter-spacing: -0.8px;
  color: var(--coal);
  margin-bottom: 6px;
  line-height: 1.05;
}
.trust-stat-label { font-size: 13.5px; color: var(--steel); max-width: 240px; line-height: 1.4; }

/* ─── Trust strip reveal — animated entrance when section enters viewport ─── */
/* Handwritten SVG: fade-up entrance with subtle bounce-out scale-ping for engagement */
.trust-handwritten { opacity: 0; transform: translateY(14px) scale(0.94); }
.trust-sub { opacity: 0; transform: translateY(8px); transition: opacity 0.8s ease-out, transform 0.8s ease-out; }
.trust-stat { opacity: 0; transform: translateY(10px); transition: opacity 0.7s ease-out, transform 0.7s cubic-bezier(0.16, 1, 0.3, 1); }

@keyframes trust-handwritten-reveal {
  0%   { opacity: 0; transform: translateY(14px) scale(0.94); }
  60%  { opacity: 1; transform: translateY(0) scale(1.025); }
  82%  { opacity: 1; transform: translateY(0) scale(1.025); }
  100% { opacity: 1; transform: translateY(0) scale(1); }
}
.trust.revealed .trust-handwritten {
  animation: trust-handwritten-reveal 2.4s cubic-bezier(0.16, 1, 0.3, 1) 0.3s both;
}
.trust.revealed .trust-sub { opacity: 1; transform: translateY(0); transition-delay: 1.6s; }
.trust.revealed .trust-stat:nth-child(1) { opacity: 1; transform: translateY(0); transition-delay: 1.9s; }
.trust.revealed .trust-stat:nth-child(2) { opacity: 1; transform: translateY(0); transition-delay: 2.05s; }
.trust.revealed .trust-stat:nth-child(3) { opacity: 1; transform: translateY(0); transition-delay: 2.2s; }

/* Reduced-motion: skip the animations entirely, show everything at rest */
@media (prefers-reduced-motion: reduce) {
  .trust-handwritten, .trust-sub, .trust-stat { opacity: 1; transform: none; }
  .trust.revealed .trust-handwritten { animation: none; }
}

/* ═══ 3. CAPABILITIES — chip selector, coal active (not h2o) ═════════ */
.capabilities { padding-block: var(--section-py); }
.capabilities-header {
  text-align: center;
  max-width: 780px;
  margin: 0 auto clamp(32px, 4vw, 48px);
}
.capabilities-header .section-lead { margin: 0 auto; }

.capabilities-chips {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 8px;
  margin-bottom: clamp(32px, 4vw, 48px);
}
.cap-chip {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: transparent;
  border: 1px solid var(--border-faint);
  color: var(--coal);
  font-family: inherit;
  font-size: 14px;
  font-weight: 500;
  padding: 10px 18px;
  border-radius: 999px;
  cursor: pointer;
  transition: all 0.25s ease;
  white-space: nowrap;
}
.cap-chip:hover {
  border-color: var(--coal);
  transform: translateY(-2px);
  box-shadow: 0 4px 12px -4px rgba(27, 25, 25, 0.15);
}
.cap-chip.active {
  background: var(--coal);
  border-color: var(--coal);
  color: var(--cotton);
  box-shadow:
    0 0 0 4px rgba(27, 25, 25, 0.08),
    0 6px 18px -4px rgba(27, 25, 25, 0.42);
}
.cap-chip.active:hover {
  transform: none;
  box-shadow:
    0 0 0 4px rgba(27, 25, 25, 0.08),
    0 6px 18px -4px rgba(27, 25, 25, 0.42);
}
.cap-chip .material-symbols-outlined { font-size: 18px; font-variation-settings: 'FILL' 1; }

/* Pulse cue — sequential glow on inactive chips when row scrolls into view. */
@keyframes chip-pulse-cue {
  0%   { box-shadow: 0 0 0 0 rgba(193, 70, 17, 0); transform: translateY(0); }
  30%  { box-shadow: 0 0 0 8px rgba(193, 70, 17, 0.22); transform: translateY(-2px); }
  70%  { box-shadow: 0 0 0 4px rgba(193, 70, 17, 0); transform: translateY(0); }
  100% { box-shadow: 0 0 0 0 rgba(193, 70, 17, 0); transform: translateY(0); }
}
.chips-cued .cap-chip:not(.active) { animation: chip-pulse-cue 2.8s ease-in-out both; }
.chips-cued .cap-chip:nth-child(1):not(.active) { animation-delay: 0.30s; }
.chips-cued .cap-chip:nth-child(2):not(.active) { animation-delay: 0.80s; }
.chips-cued .cap-chip:nth-child(3):not(.active) { animation-delay: 1.30s; }
.chips-cued .cap-chip:nth-child(4):not(.active) { animation-delay: 1.80s; }
.chips-cued .cap-chip:nth-child(5):not(.active) { animation-delay: 2.30s; }

.capabilities-grid {
  display: grid;
  grid-template-columns: 1fr 1.1fr;
  gap: clamp(32px, 5vw, 60px);
  align-items: flex-start;
}
.capabilities-content { position: relative; min-width: 0; }
.cap-panel { display: none; animation: panelIn 0.35s ease; }
.cap-panel.active { display: block; }
@keyframes panelIn { from { opacity: 0; transform: translateY(8px); } to { opacity: 1; transform: translateY(0); } }
/* Was clamp(24, 3vw, 38). Trimmed */
.cap-h3 {
  font-size: clamp(22px, 2.4vw, 32px);
  font-weight: 700;
  line-height: 1.1;
  letter-spacing: -0.8px;
  margin-bottom: 14px;
  color: var(--coal);
}
.cap-body {
  font-size: clamp(15px, 1.2vw, 17px);
  line-height: 1.55;
  color: var(--coal);
  opacity: 0.8;
  margin-bottom: 22px;
}
.cap-inline-link {
  color: var(--clay);
  text-decoration: none;
  font-weight: 500;
  border-bottom: 1px solid rgba(193, 70, 17, 0.3);
  transition: border-color 0.2s ease;
}
.cap-inline-link:hover { border-bottom-color: var(--clay); }
.capabilities-visual { position: sticky; top: 100px; min-width: 0; }

/* Capabilities laptop frame */
.cap-laptop-frame {
  width: 100%;
  border-radius: 10px;
  overflow: hidden;
  border: 1px solid rgba(27, 25, 25, 0.1);
  box-shadow: 0 20px 60px rgba(0,0,0,0.12), 0 4px 16px rgba(0,0,0,0.08);
  background: #f5f5f0;
}
.cap-laptop-chrome {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 9px 14px;
  background: #e8e8e2;
  border-bottom: 1px solid rgba(0,0,0,0.07);
}
.cap-laptop-dots { display: flex; gap: 6px; }
.cap-laptop-dots i {
  display: block;
  width: 10px; height: 10px;
  border-radius: 50%;
  background: rgba(0,0,0,0.15);
}
.cap-laptop-url {
  flex: 1;
  font-size: 11px;
  color: rgba(0,0,0,0.35);
  font-family: ui-monospace, monospace;
  letter-spacing: 0.01em;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}
.cap-laptop-body {
  padding: 22px;
  aspect-ratio: 16 / 10;
  background: #fafaf6;
}
.cap-laptop-video {
  width: 100%;
  line-height: 0;
}
.cap-laptop-video video {
  width: 100%;
  display: block;
  aspect-ratio: 1278 / 650;
  object-fit: contain;
  background: #fff;
}

/* ═══ 4. FEATURES GRID ═══════════════════════════════════════════════ */
.features {
  padding-block: var(--section-py);
  background: var(--cotton-soft);
  border-block: 1px solid var(--border-faint);
}
.features-header {
  text-align: center;
  max-width: 800px;
  margin: 0 auto clamp(40px, 5vw, 64px);
}
.features-header .section-lead { margin: 0 auto; }
.features-columns {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: clamp(32px, 5vw, 56px);
}
.features-col-title {
  display: flex;
  align-items: center;
  gap: 12px;
  font-size: 13px;
  font-weight: 600;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--clay);
  margin-bottom: 22px;
  padding-bottom: 16px;
  border-bottom: 1px solid var(--border-faint);
}
.features-col-title .material-symbols-outlined { font-size: 18px; font-variation-settings: 'FILL' 1; }
.features-cards { display: grid; grid-template-columns: repeat(2, 1fr); gap: 12px; }
.feature-card {
  background: var(--cotton);
  border: 1px solid var(--border-faint);
  border-radius: 14px;
  padding: 20px 18px;
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}
.feature-card:hover { transform: translateY(-2px); box-shadow: 0 12px 32px -16px rgba(27, 25, 25, 0.1); }
.feature-card-icon {
  font-size: 24px;
  color: var(--clay);     /* default = clay (main accent) */
  font-variation-settings: 'FILL' 1;
  margin-bottom: 12px;
  display: block;
}
/* H2O removed from features. Wood and steel kept for sparing variety. */
.feature-card-icon.icon-wood { color: var(--wood-deep); }
.feature-card-icon.icon-steel { color: var(--steel); }
.feature-card-icon.icon-h2o { color: var(--h2o-deep); }
.feature-card-icon.icon-clay { color: var(--clay); }
.feature-card strong {
  display: block;
  font-size: 15px;
  font-weight: 600;
  letter-spacing: -0.2px;
  color: var(--coal);
  margin-bottom: 6px;
}
.feature-card p { font-size: 13px; line-height: 1.5; color: var(--steel); }

/* ═══ 5. REPORTS & INSIGHTS ════════════════════════════════════════════ */
.reports { padding-block: var(--section-py); background: var(--coal); color: var(--cotton); overflow: hidden; }
.reports-header {
  max-width: 800px;
  margin: 0 auto clamp(32px, 4vw, 48px);
  text-align: center;
}
.reports-header .section-lead { margin: 0 auto; }

.reports-chips {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 8px;
  margin-bottom: clamp(32px, 4vw, 48px);
}
.report-chip {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: transparent;
  border: 1px solid var(--border-faint-on-dark);
  color: var(--muted-on-dark);
  font-family: inherit;
  font-size: 14px;
  font-weight: 500;
  padding: 10px 18px;
  border-radius: 999px;
  cursor: pointer;
  transition: all 0.25s ease;
  white-space: nowrap;
}
.report-chip:hover {
  border-color: var(--wood);
  color: var(--cotton);
  transform: translateY(-2px);
  box-shadow: 0 4px 12px -4px rgba(248, 247, 237, 0.12);
}
.report-chip.active {
  background: var(--clay);
  border-color: var(--clay);
  color: var(--cotton);
  box-shadow:
    0 0 0 4px rgba(193, 70, 17, 0.22),
    0 6px 18px -4px rgba(193, 70, 17, 0.55);
}
.report-chip.active:hover {
  transform: none;
  box-shadow:
    0 0 0 4px rgba(193, 70, 17, 0.22),
    0 6px 18px -4px rgba(193, 70, 17, 0.55);
}
.report-chip .material-symbols-outlined { font-size: 18px; }

/* Pulse cue for reports — wood-tinted glow reads on coal background */
@keyframes chip-pulse-cue-dark {
  0%   { box-shadow: 0 0 0 0 rgba(228, 193, 141, 0); transform: translateY(0); }
  30%  { box-shadow: 0 0 0 8px rgba(228, 193, 141, 0.22); transform: translateY(-2px); }
  70%  { box-shadow: 0 0 0 4px rgba(228, 193, 141, 0); transform: translateY(0); }
  100% { box-shadow: 0 0 0 0 rgba(228, 193, 141, 0); transform: translateY(0); }
}
.chips-cued .report-chip:not(.active) { animation: chip-pulse-cue-dark 2.8s ease-in-out both; }
.chips-cued .report-chip:nth-child(1):not(.active) { animation-delay: 0.30s; }
.chips-cued .report-chip:nth-child(2):not(.active) { animation-delay: 0.80s; }
.chips-cued .report-chip:nth-child(3):not(.active) { animation-delay: 1.30s; }
.chips-cued .report-chip:nth-child(4):not(.active) { animation-delay: 1.80s; }
.chips-cued .report-chip:nth-child(5):not(.active) { animation-delay: 2.30s; }

.reports-grid {
  display: grid;
  grid-template-columns: 1fr 1.1fr;
  gap: clamp(32px, 5vw, 60px);
  align-items: flex-start;
}
.reports-content { position: relative; min-width: 0; }
.report-panel { display: none; animation: panelIn 0.35s ease; }
.report-panel.active { display: block; }
/* Was clamp(24, 3vw, 36). Trimmed */
.report-panel h3 {
  font-size: clamp(22px, 2.4vw, 30px);
  font-weight: 700;
  letter-spacing: -0.8px;
  margin-bottom: 12px;
  color: var(--cotton);
  line-height: 1.1;
  overflow-wrap: break-word;
}
.report-panel p {
  font-size: clamp(14px, 1.2vw, 16px);
  line-height: 1.55;
  color: var(--muted-on-dark);
  margin-bottom: 24px;
  overflow-wrap: break-word;
}
.report-panel p em { color: var(--wood); font-style: italic; }

.report-stats {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 10px;
  min-width: 0;
}
.report-stats > div {
  background: rgba(248, 247, 237, 0.04);
  border: 1px solid var(--border-faint-on-dark);
  border-radius: 12px;
  padding: 14px 12px;
  min-width: 0;
  overflow: hidden;
}
.report-stats > div span {
  display: block;
  font-size: 10px;
  color: var(--muted-on-dark);
  text-transform: uppercase;
  letter-spacing: 0.06em;
  font-weight: 600;
  margin-bottom: 6px;
  overflow-wrap: break-word;
  line-height: 1.2;
}
.report-stats > div strong {
  display: block;
  font-size: clamp(18px, 1.8vw, 22px);
  color: var(--cotton);
  letter-spacing: -0.8px;
  font-weight: 700;
  overflow-wrap: break-word;
}
.report-stats > .stat-hero { background: var(--clay); border-color: var(--clay); }
.report-stats > .stat-hero span { color: rgba(248, 247, 237, 0.9); }

.reports-closing { margin-top: 20px; font-size: 13.5px; color: var(--wood); font-style: italic; }
.reports-visual { position: sticky; top: 100px; min-width: 0; }

/* Report laptop frame */
.report-laptop-frame {
  width: 100%;
  border-radius: 10px;
  overflow: hidden;
  border: 1px solid rgba(248, 247, 237, 0.12);
  box-shadow: 0 24px 64px rgba(0,0,0,0.5), 0 4px 16px rgba(0,0,0,0.3);
  background: #1a1a1a;
}
.report-laptop-chrome {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 9px 14px;
  background: #2a2a2a;
  border-bottom: 1px solid rgba(255,255,255,0.07);
}
.report-laptop-dots { display: flex; gap: 6px; }
.report-laptop-dots i {
  display: block;
  width: 10px; height: 10px;
  border-radius: 50%;
  background: rgba(255,255,255,0.15);
}
.report-laptop-url {
  flex: 1;
  font-size: 11px;
  color: rgba(255,255,255,0.35);
  font-family: ui-monospace, monospace;
  letter-spacing: 0.01em;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}
.report-laptop-screen {
  width: 100%;
  height: 380px;
  overflow: hidden;
  position: relative;
  background: #fff;
}
.report-screenshot {
  width: 100%;
  display: block;
  transform-origin: top left;
  animation: reportPan var(--pan-duration, 14s) cubic-bezier(0.4, 0, 0.6, 1) var(--pan-delay, 1s) infinite;
}
@keyframes reportPan {
  0%   { transform: translateY(0); }
  6%   { transform: translateY(0); }       /* hold at top */
  88%  { transform: translateY(var(--pan-end, -60%)); }
  94%  { transform: translateY(var(--pan-end, -60%)); } /* hold at bottom */
  100% { transform: translateY(0); }       /* snap back to top */
}
.report-laptop-screen:hover .report-screenshot {
  animation-play-state: paused;
}

/* ═══ 6. PAINLESS MIGRATION ═══════════════════════════════════════════ */
.migration { padding-block: var(--section-py); }
.migration .container {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: clamp(32px, 4vw, 56px);
  align-items: center;
}
.migration-text { max-width: none; }
.migration-lead { margin-bottom: 28px; }

/* ═══ 7. PRICING — 5 software bands + marketplace callout ════════════ */
.pricing {
  padding-block: var(--section-py);
  background: var(--cotton-soft);
  border-block: 1px solid var(--border-faint);
}
.pricing-header { text-align: center; max-width: 800px; margin: 0 auto clamp(32px, 4vw, 48px); }
.pricing-header .section-lead { margin: 0 auto; }
.pricing-selector-label {
  text-align: center;
  font-size: 13px;
  font-weight: 600;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--steel);
  margin-bottom: 14px;
  padding-inline: 16px;
}
.pricing-selector {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 10px;
  margin: 0 auto 36px;
  width: fit-content;
  max-width: 100%;
}
.pricing-band {
  background: transparent;
  border: 1px solid var(--border-faint);
  font-family: inherit;
  font-size: 14px;
  font-weight: 500;
  padding: 10px 18px;
  border-radius: 999px;
  cursor: pointer;
  color: var(--coal);
  transition: all 0.25s ease;
  white-space: nowrap;
}
.pricing-band:hover {
  border-color: var(--coal);
  transform: translateY(-2px);
  box-shadow: 0 4px 12px -4px rgba(27, 25, 25, 0.15);
}
.pricing-band.active {
  background: var(--coal);
  border-color: var(--coal);
  color: var(--cotton);
  box-shadow:
    0 0 0 4px rgba(27, 25, 25, 0.08),
    0 6px 18px -4px rgba(27, 25, 25, 0.42);
}
.pricing-band.active:hover {
  transform: none;
  box-shadow:
    0 0 0 4px rgba(27, 25, 25, 0.08),
    0 6px 18px -4px rgba(27, 25, 25, 0.42);
}

/* Pulse cue — same staggered glow as capabilities/reports chips */
.chips-cued .pricing-band:not(.active) { animation: chip-pulse-cue 2.8s ease-in-out both; }
.chips-cued .pricing-band:nth-child(1):not(.active) { animation-delay: 0.30s; }
.chips-cued .pricing-band:nth-child(2):not(.active) { animation-delay: 0.80s; }
.chips-cued .pricing-band:nth-child(3):not(.active) { animation-delay: 1.30s; }
.chips-cued .pricing-band:nth-child(4):not(.active) { animation-delay: 1.80s; }
.chips-cued .pricing-band:nth-child(5):not(.active) { animation-delay: 2.30s; }

.pricing-cards { display: flex; justify-content: center; margin-bottom: 28px; min-height: 300px; }
.pricing-card {
  display: none;
  flex-direction: column;
  text-align: center;
  background: var(--cotton);
  border: 1px solid var(--border-faint);
  border-radius: 24px;
  padding: clamp(28px, 4.5vw, 44px);
  max-width: 540px;
  width: 100%;
  animation: cardIn 0.35s ease;
  box-shadow: 0 24px 64px -16px rgba(27, 25, 25, 0.08);
}
.pricing-card.active { display: flex; }
@keyframes cardIn { from { opacity: 0; transform: translateY(8px) scale(0.99); } to { opacity: 1; transform: translateY(0) scale(1); } }
.pricing-card-tier {
  font-size: 13px;
  font-weight: 600;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--clay);
  margin-bottom: 10px;
}
.pricing-card-price { display: flex; align-items: baseline; justify-content: center; gap: 6px; margin-bottom: 14px; }
.pricing-card-price strong {
  font-size: clamp(36px, 4.5vw, 52px);
  font-weight: 700;
  letter-spacing: -1.6px;
  color: var(--coal);
  line-height: 1;
}
.pricing-card-price span { font-size: 17px; color: var(--steel); font-weight: 500; }
.pricing-card-tagline { font-size: 14.5px; line-height: 1.5; color: var(--steel); margin-bottom: 24px; max-width: 380px; margin-left: auto; margin-right: auto; }
.pricing-card-cta { align-self: center; }

.pricing-compare { max-width: 720px; margin: 0 auto 28px; text-align: center; }
.pricing-compare summary {
  text-align: center;
  font-size: 14px;
  font-weight: 500;
  color: var(--clay);
  cursor: pointer;
  padding: 12px;
  border-bottom: 1px solid currentColor;
  display: inline-block;
  list-style: none;
}
.pricing-compare summary::-webkit-details-marker { display: none; }
.pricing-compare summary::after { content: ' →'; }
.pricing-compare[open] summary::after { content: ' ↑'; }
.pricing-compare-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: 16px;
  margin-top: 20px;
  padding: 22px;
  background: var(--cotton);
  border: 1px solid var(--border-faint);
  border-radius: 14px;
  font-size: 13px;
  color: var(--steel);
  text-align: left;
}
.pricing-compare-grid > div strong { display: block; color: var(--coal); font-weight: 600; margin-bottom: 4px; }

/* Marketplace callout — H2O retained here (this IS the appropriate H2O use) */
.pricing-marketplace {
  display: grid;
  grid-template-columns: auto 1fr auto;
  gap: 16px;
  align-items: center;
  max-width: 720px;
  margin: 0 auto;
  padding: 18px 22px;
  background: var(--h2o);
  border: 1px solid rgba(59, 138, 168, 0.2);
  border-radius: 16px;
}
.pricing-marketplace-icon {
  font-size: 28px;
  color: var(--h2o-deep);
  font-variation-settings: 'FILL' 1;
}
.pricing-marketplace-text strong { display: block; font-size: 14.5px; font-weight: 600; color: var(--coal); margin-bottom: 2px; }
.pricing-marketplace-text p { font-size: 13px; line-height: 1.45; color: var(--coal); opacity: 0.75; }

/* ═══ 8. DISCOVERY ════════════════════════════════════════════════════ */
.discovery { padding-block: var(--section-py); }
.discovery-header { text-align: center; max-width: 800px; margin: 0 auto clamp(32px, 4vw, 48px); }
.discovery-header .section-lead { margin: 0 auto; }
.discovery-cards {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 16px;
}
.discovery-card {
  background: var(--cotton);
  border: 1px solid var(--border-faint);
  border-radius: 16px;
  padding: 22px;
  transition: transform 0.25s ease, box-shadow 0.25s ease;
}
.discovery-card:hover { transform: translateY(-3px); box-shadow: 0 16px 40px -16px rgba(27, 25, 25, 0.12); }
.discovery-card-icon {
  font-size: 28px;
  color: var(--h2o-deep);    /* unified: h2o-deep for all discovery icons */
  font-variation-settings: 'FILL' 1;
  margin-bottom: 12px;
}
/* Variants retained but unused for discovery; available if needed elsewhere */
.discovery-card-icon.icon-h2o { color: var(--h2o-deep); }
.discovery-card-icon.icon-wood { color: var(--wood-deep); }
.discovery-card-icon.icon-steel { color: var(--steel); }
.discovery-card-icon.icon-clay { color: var(--clay); }
.discovery-card h3 {
  font-size: 16.5px;
  font-weight: 700;
  letter-spacing: -0.3px;
  margin-bottom: 6px;
  color: var(--coal);
}
.discovery-card p { font-size: 13.5px; line-height: 1.5; color: var(--steel); }

/* ═══ 9. DEMO CTA — trimmed h2 ═══════════════════════════════════════ */
.demo-cta { padding-block: var(--section-py); background: var(--coal); color: var(--cotton); text-align: center; }
/* Was clamp(36, 5vw, 64). Trimmed */
.demo-h2 {
  font-size: clamp(28px, 4vw, 52px);
  font-weight: 700;
  letter-spacing: -1.2px;
  line-height: 1.05;
  margin-bottom: 18px;
  color: var(--cotton);
}
.demo-sub { font-size: clamp(15px, 1.25vw, 18px); color: var(--muted-on-dark); max-width: 560px; margin: 0 auto 30px; line-height: 1.55; }
.demo-cta-buttons {
  display: flex;
  gap: 14px;
  justify-content: center;
  flex-wrap: wrap;
}
.demo-cta-btn { font-size: 16px; padding: 15px 30px; }
.demo-alt { margin-top: 24px; font-size: 14px; color: var(--muted-on-dark); }
.demo-alt .text-link { color: var(--wood); }

/* ─── Demo booker modal — sized for HubSpot Meetings iframe ─────────── */
.demo-modal {
  border: none;
  border-radius: 16px;
  padding: 0;
  width: min(720px, calc(100vw - 48px));   /* wider to fit calendar */
  max-height: calc(100vh - 48px);
  background: #ffffff;                     /* match HubSpot's white interior */
  color: var(--coal);
  box-shadow: 0 32px 80px -8px rgba(27, 25, 25, 0.4), 0 8px 24px -4px rgba(27, 25, 25, 0.2);
  overflow: hidden;
  margin: 24px auto;
}
.demo-modal::backdrop {
  background: rgba(27, 25, 25, 0.65);
  backdrop-filter: blur(4px);
  -webkit-backdrop-filter: blur(4px);
}
.demo-modal[open] { animation: modalIn 0.25s cubic-bezier(0.16, 1, 0.3, 1); }
@keyframes modalIn { from { opacity: 0; transform: translateY(12px) scale(0.98); } to { opacity: 1; transform: translateY(0) scale(1); } }
.demo-modal-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 14px 18px;
  border-bottom: 1px solid var(--border-faint);
  background: #ffffff;                     /* match modal body for seamless join */
  position: sticky;
  top: 0;
  z-index: 2;
}
.demo-modal-title { font-size: 12px; font-weight: 600; letter-spacing: 0.14em; text-transform: uppercase; color: var(--clay); }
.demo-modal-close {
  background: transparent;
  border: none;
  cursor: pointer;
  width: 32px;
  height: 32px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--steel);
  transition: background 0.2s ease, color 0.2s ease;
}
.demo-modal-close:hover { background: rgba(27, 25, 25, 0.06); color: var(--coal); }
.demo-modal-close .material-symbols-outlined { font-size: 22px; }
/* Modal body: no inner padding — let the Meetings iframe own the space */
.demo-modal-body {
  padding: 0;
  overflow-y: auto;
  max-height: calc(100vh - 48px - 50px);
}
/* Form modal needs inner padding (HubSpot Form renders edge-to-edge into the frame) */
.demo-modal-body-form { padding: 20px 24px 28px; }

/* HubSpot Meetings embed container — fills width, iframe sets its own height */
.meetings-iframe-container { width: 100%; min-height: 640px; }
.meetings-iframe-container iframe { width: 100% !important; border: 0; display: block; }

/* HubSpot Forms embed container — renders form directly */
.hs-form-frame { width: 100%; min-height: 480px; }

/* ─── Footer ───────────────────────────────────────────────────────── */
.site-footer { padding-block: 52px 28px; background: var(--coal-soft); color: var(--cotton); }
.footer-grid { display: grid; grid-template-columns: 2fr 1fr 1fr 1fr; gap: 28px; }
.footer-col-brand { max-width: 380px; }
.footer-logo img { height: 26px; margin-bottom: 16px; display: block; }
.footer-logo .footer-logo-img { filter: brightness(0) invert(1); }
.footer-tagline { font-size: 13.5px; line-height: 1.5; color: var(--muted-on-dark); margin-bottom: 12px; }
.footer-legal { font-size: 12px; color: var(--muted-on-dark); opacity: 0.75; margin-bottom: 6px; }
.footer-legal-link { color: var(--wood); text-decoration: none; border-bottom: 1px solid rgba(228, 193, 141, 0.3); transition: border-color 0.2s ease; }
.footer-legal-link:hover { border-bottom-color: var(--wood); }
.footer-legal-fine { font-size: 11px; opacity: 0.55; line-height: 1.5; }
.footer-h3 {
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--wood);
  margin-bottom: 14px;
}
.footer-links { list-style: none; display: flex; flex-direction: column; gap: 9px; }
.footer-links a { color: var(--cotton); text-decoration: none; font-size: 14px; }
.footer-links a:hover { color: var(--wood); }

/* ─── Responsive ────────────────────────────────────────────────────── */
@media (max-width: 960px) {
  .hero-inner { grid-template-columns: 1fr; }
  .hero-visual { min-height: 380px; }
  .wireframe-hero-primary { max-width: 100%; }
  .wireframe-hero-phone { width: 36%; margin-top: -18%; }

  .capabilities-grid { grid-template-columns: 1fr; }
  .capabilities-visual { position: static; margin-top: 28px; }

  .reports-grid { grid-template-columns: 1fr; }
  .reports-visual { position: static; margin-top: 24px; }
  .reports-content { min-height: auto; }

  .migration .container { grid-template-columns: 1fr; }

  .pricing-marketplace { grid-template-columns: auto 1fr; gap: 14px; padding: 16px 18px; }
  .pricing-marketplace .text-link-arrow { grid-column: 1 / -1; padding-top: 4px; justify-self: start; }

  .footer-grid { grid-template-columns: 1fr 1fr; gap: 24px; }
  .footer-col-brand { grid-column: span 2; }
}

@media (max-width: 720px) {
  .features-columns { grid-template-columns: 1fr; gap: 32px; }
  .features-cards { grid-template-columns: repeat(2, 1fr); gap: 10px; }

  .discovery-cards { grid-template-columns: repeat(2, 1fr); gap: 10px; }
  .discovery-card { padding: 16px; }
  .discovery-card-icon { font-size: 24px; margin-bottom: 10px; }
  .discovery-card h3 { font-size: 14.5px; }
  .discovery-card p { font-size: 12.5px; }

  .report-stats { grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 6px; }
  .report-stats > div { padding: 10px 8px; }
  .report-stats > div span { font-size: 9px; letter-spacing: 0.04em; }
  .report-stats > div strong { font-size: 16px; }

  .trust-stats { grid-template-columns: 1fr; gap: 20px; max-width: 360px; }
  .trust-handwritten { max-width: 195px; }
}

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

@media (max-width: 600px) {
  .site-nav { padding: 12px 16px; }
  .site-nav-logo img { height: 24px; }
  .site-nav-link { display: none; }  /* keep just primary CTA on mobile */

  .trust-sub { font-size: 15.5px; margin-bottom: 28px; }
  .trust-handwritten { max-width: 165px; }

  .cap-chip { font-size: 12px; padding: 8px 14px; gap: 6px; }
  .cap-chip .material-symbols-outlined { font-size: 16px; }

  .features-cards { gap: 8px; }
  .feature-card { padding: 14px 12px; }
  .feature-card-icon { font-size: 20px; margin-bottom: 8px; }
  .feature-card strong { font-size: 13px; margin-bottom: 4px; }
  .feature-card p { font-size: 11.5px; line-height: 1.4; }

  .discovery-cards { gap: 8px; }
  .discovery-card { padding: 14px 12px; }
  .discovery-card-icon { font-size: 22px; margin-bottom: 8px; }
  .discovery-card h3 { font-size: 13px; margin-bottom: 4px; }
  .discovery-card p { font-size: 11.5px; line-height: 1.4; }

  .pricing-band { padding: 8px 14px; font-size: 13px; }
  .pricing-card { padding: 26px 20px; }
  .pricing-marketplace { padding: 14px; }
  .pricing-marketplace-icon { font-size: 24px; }
  .pricing-marketplace-text strong { font-size: 13.5px; }
  .pricing-marketplace-text p { font-size: 12.5px; }

  .reports-chips { gap: 6px; }
  .report-chip { font-size: 12px; padding: 8px 14px; }
  .report-chip .material-symbols-outlined { font-size: 16px; }

  .footer-grid { grid-template-columns: 1fr 1fr; gap: 22px; }
  .footer-col-brand { grid-column: span 2; }

  .demo-modal {
    width: calc(100vw - 12px);          /* 6px each side — was 12px each side */
    max-height: calc(100vh - 100px);    /* fallback for older browsers */
    max-height: 80dvh;                  /* dropped from 85dvh — more room for Chrome UI */
    margin: 10px auto;                  /* tighter top/bottom too */
  }
  .demo-modal-body {
    max-height: calc(100vh - 100px - 50px);  /* fallback */
    max-height: calc(80dvh - 50px);          /* modern, subtracts header */
  }
  .demo-modal-body-form { padding: 8px 10px 14px; }   /* much tighter — was 14/14/20 */
  .demo-modal-header { padding: 10px 14px; }           /* tighter header */
  .hs-form-frame { min-height: 360px; padding: 0 !important; }
  /* Override HubSpot's internal padding/margins on mobile — they pad fields generously by default */
  .hs-form-frame form,
  .hs-form-frame > div,
  .hs-form-frame .hs-form,
  .hs-form-frame [class*="form-wrapper"],
  .hs-form-frame [class*="hs-form"] { padding-left: 0 !important; padding-right: 0 !important; }
  .hs-form-frame .hs-form-field,
  .hs-form-frame .hs-richtext { margin-bottom: 10px !important; }
  .meetings-iframe-container { min-height: 540px; }    /* slightly less than desktop's 640px */
}

/* Accessibility — honour reduced-motion preference for cue animations and nav transitions */
@media (prefers-reduced-motion: reduce) {
  .chips-cued .cap-chip,
  .chips-cued .report-chip { animation: none; }
  .site-nav { transition: none; }
  .cap-chip, .report-chip { transition-duration: 0.01ms; }
}

/* ═══ PRINT ════════════════════════════════════════════════════════════ */
@media print {
  .hero-accent, .wireframe-hero-phone, .site-nav, .modal-overlay,
  .chip-pulse, [data-demo-trigger], [data-message-trigger] { display: none !important; }
  .hero { overflow: hidden; contain: none; }
}

/* Visually hidden but accessible to screen readers and search engines */
.sr-only { position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0,0,0,0); white-space: nowrap; border: 0; }
