/* ============================================================================
   LockIn - Marketing landing page
   Design tokens lifted 1:1 from the LockIn app (navy #0E2A47, amber #E0922E,
   blue #3A6EA5, match-score green/amber/rose). Font: Assistant.
   Pre-launch: sells the product's capability - no fabricated proof or metrics.
   ========================================================================== */

:root {
  /* Brand */
  --navy: #0E2A47;
  --navy-2: #102846;
  --blue: #3A6EA5;
  --blue-deep: #2A5A8C;
  --blue-soft: #EAF1F9;
  --amber: #E0922E;
  --amber-soft: #FBF0DC;
  --amber-text: #9A6512;

  /* Match-score semantics */
  --match-high: #1B7F53;
  --match-high-bright: #2E9E6B;
  --match-high-soft: #E6F4EC;
  --match-med: #E0922E;
  --match-med-soft: #FBF0DC;
  --match-low: #C0556B;
  --match-low-soft: #F0D2D8;

  /* Neutrals (light) */
  --bg: #F5F6F8;
  --surface: #FFFFFF;
  --surface-2: #F2F4F7;
  --surface-3: #F7F9FB;
  --border: #E4E7EC;
  --border-2: #EEF1F4;
  --text: #1D2733;
  --text-2: #56657A;
  --text-3: #8A94A2;
  --white: #FEFEFE;

  /* Map tokens */
  --map-land: #E9EDF1;
  --map-road: #FCFCFA;
  --map-road-casing: #D8DDE3;
  --map-sea: #CFE0EA;
  --map-sea-2: #C2D8E4;
  --map-park: #D7E7D3;

  /* Radii */
  --r-sm: 8px;
  --r-md: 12px;
  --r-lg: 16px;
  --r-xl: 22px;
  --r-full: 999px;

  /* Shadows */
  --sh-sm: 0 1px 4px rgba(16, 40, 70, 0.08);
  --sh-md: 0 6px 20px rgba(16, 40, 70, 0.10);
  --sh-lg: 0 18px 48px rgba(16, 40, 70, 0.16);
  --sh-amber: 0 8px 24px rgba(224, 146, 46, 0.30);

  --maxw: 1180px;
  --ease: cubic-bezier(0.22, 1, 0.36, 1);
}

/* ── Reset ─────────────────────────────────────────────────────────────── */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; -webkit-tap-highlight-color: transparent; }

html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; overflow-x: clip; }

body {
  font-family: 'Assistant', system-ui, -apple-system, sans-serif;
  background: var(--bg);
  color: var(--text);
  line-height: 1.6;
  font-size: 17px;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  overflow-x: clip;
}

img, svg { display: block; max-width: 100%; }
a { color: inherit; text-decoration: none; }
ul, ol { list-style: none; }
button { font-family: inherit; cursor: pointer; border: none; background: none; }
input { font-family: inherit; }

:focus-visible { outline: 2px solid var(--blue); outline-offset: 2px; border-radius: 4px; }
::selection { background: rgba(58, 110, 165, 0.22); color: var(--navy); }

.skip-link {
  position: absolute; right: -999px; top: 8px; z-index: 200;
  background: var(--navy); color: var(--white); padding: 10px 18px; border-radius: var(--r-md);
}
.skip-link:focus { right: 12px; }

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

/* Anchor offset so jumps clear the sticky header */
#hero, #features, #how, #pricing, #demo { scroll-margin-top: 84px; }

.text-gradient {
  background: linear-gradient(90deg, var(--blue), var(--amber));
  -webkit-background-clip: text; background-clip: text;
  -webkit-text-fill-color: transparent; color: transparent;
}

/* Logo mark - navy keyhole pin (white pin on dark bands) */
.brand-mark { display: inline-flex; }
.brand-mark .pin-fill { fill: var(--navy); }
.brand-mark .key-fill { fill: var(--amber); }
.brand-light .brand-mark .pin-fill { fill: var(--white); }
.pin-fill { fill: var(--navy); }
.key-fill { fill: var(--amber); }

/* ── Buttons ───────────────────────────────────────────────────────────── */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  font-weight: 700; font-size: 16px; line-height: 1; white-space: nowrap;
  padding: 13px 22px; border-radius: var(--r-full); min-height: 44px;
  transition: transform 0.18s var(--ease), box-shadow 0.2s var(--ease), background 0.2s var(--ease), color 0.2s var(--ease);
}
.btn:active { transform: translateY(1px) scale(0.99); }
.btn-lg { padding: 16px 30px; font-size: 17px; }
.btn-block { width: 100%; }

.btn-primary { background: var(--navy); color: var(--white); box-shadow: var(--sh-sm); }
.btn-primary:hover { background: #14365a; box-shadow: var(--sh-md); transform: translateY(-2px); }

.btn-amber { background: var(--amber); color: var(--white); box-shadow: var(--sh-amber); }
.btn-amber:hover { background: #cf8323; transform: translateY(-2px); box-shadow: 0 12px 30px rgba(224, 146, 46, 0.42); }

.btn-ghost { background: rgba(255, 255, 255, 0.7); color: var(--navy); border: 1px solid var(--border); }
.btn-ghost:hover { background: var(--white); border-color: var(--blue); color: var(--blue-deep); transform: translateY(-2px); }
.btn-ghost svg { color: var(--blue); }

.btn-outline { background: transparent; color: var(--navy); border: 1.5px solid var(--border); }
.btn-outline:hover { border-color: var(--navy); background: var(--surface-2); }

/* ── Header ────────────────────────────────────────────────────────────── */
.site-header {
  position: sticky; top: 0; z-index: 100;
  background: rgba(245, 246, 248, 0.82);
  backdrop-filter: saturate(180%) blur(14px);
  -webkit-backdrop-filter: saturate(180%) blur(14px);
  transition: box-shadow 0.3s var(--ease), background 0.3s var(--ease), padding 0.3s var(--ease);
}
.site-header.scrolled {
  background: rgba(255, 255, 255, 0.92);
  box-shadow: 0 1px 0 var(--border), 0 6px 20px rgba(16, 40, 70, 0.06);
}
.header-inner { display: flex; align-items: center; gap: 24px; height: 70px; transition: height 0.3s var(--ease); }
.site-header.scrolled .header-inner { height: 60px; }

.brand { display: inline-flex; align-items: center; gap: 9px; font-weight: 800; font-size: 22px; color: var(--navy); letter-spacing: -0.01em; }
.brand-word { color: var(--navy); }

.main-nav { display: flex; gap: 28px; margin-inline-start: 12px; }
.main-nav a { color: var(--text-2); font-weight: 600; font-size: 16px; position: relative; padding: 6px 0; transition: color 0.2s; }
.main-nav a::after { content: ''; position: absolute; bottom: 0; right: 0; width: 0; height: 2px; background: var(--amber); transition: width 0.25s var(--ease); }
.main-nav a:hover { color: var(--navy); }
.main-nav a:hover::after { width: 100%; }

.header-actions { display: flex; align-items: center; gap: 14px; margin-inline-start: auto; }
.link-login { color: var(--text-2); font-weight: 600; font-size: 15px; transition: color 0.2s; }
.link-login:hover { color: var(--navy); }

.nav-toggle { display: none; flex-direction: column; align-items: center; justify-content: center; gap: 5px; padding: 8px; min-width: 44px; min-height: 44px; }
.nav-toggle span { width: 22px; height: 2px; background: var(--navy); border-radius: 2px; transition: transform 0.25s var(--ease), opacity 0.2s; }
.nav-toggle[aria-expanded="true"] span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.nav-toggle[aria-expanded="true"] span:nth-child(2) { opacity: 0; }
.nav-toggle[aria-expanded="true"] span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

.mobile-menu { display: none; flex-direction: column; gap: 4px; padding: 12px 24px 22px; background: var(--surface); border-top: 1px solid var(--border); }
.mobile-menu a { padding: 12px 6px; font-weight: 600; color: var(--text); border-bottom: 1px solid var(--border-2); }
.mobile-menu a.btn { margin-top: 10px; border-bottom: none; color: var(--white); }

/* ── Hero ──────────────────────────────────────────────────────────────── */
.hero { position: relative; padding: 70px 0 90px; overflow: hidden; }
/* Soft, page-wide tinted backdrop - replaces the flat gray, drifts gently. */
body::before {
  content: ''; position: fixed; inset: -12%; z-index: -1; pointer-events: none;
  background:
    radial-gradient(52vmax 52vmax at 86% -8%, rgba(58, 110, 165, 0.22), transparent 60%),
    radial-gradient(46vmax 46vmax at -6% 26%, rgba(224, 146, 46, 0.17), transparent 60%),
    radial-gradient(50vmax 50vmax at 52% 116%, rgba(27, 127, 83, 0.15), transparent 62%),
    radial-gradient(40vmax 40vmax at 108% 72%, rgba(192, 85, 107, 0.13), transparent 60%);
  animation: bgFloat 34s ease-in-out infinite alternate;
}
@keyframes bgFloat {
  from { transform: translate3d(-1.5%, -1%, 0); }
  to { transform: translate3d(1.5%, 1.5%, 0); }
}

/* Per-section living color washes - same idea as the hero, varied per section. */
.problem, .features, .how { position: relative; overflow: hidden; }
.problem > .container, .features > .container, .how > .container { position: relative; z-index: 1; }
.problem::before, .features::before, .how::before {
  content: ''; position: absolute; inset: -15%; z-index: 0; pointer-events: none;
}
.problem::before {
  background:
    radial-gradient(40vmax 40vmax at 10% 14%, rgba(224, 146, 46, 0.20), transparent 60%),
    radial-gradient(34vmax 34vmax at 94% 84%, rgba(58, 110, 165, 0.18), transparent 60%),
    radial-gradient(30vmax 30vmax at 60% 50%, rgba(192, 85, 107, 0.10), transparent 62%);
  animation: blobA 26s ease-in-out infinite alternate;
}
.features::before {
  background:
    radial-gradient(45vmax 45vmax at 88% 10%, rgba(58, 110, 165, 0.20), transparent 60%),
    radial-gradient(38vmax 38vmax at 4% 74%, rgba(27, 127, 83, 0.16), transparent 60%),
    radial-gradient(30vmax 30vmax at 45% 40%, rgba(224, 146, 46, 0.11), transparent 62%);
  animation: blobB 31s ease-in-out infinite alternate;
}
.how::before {
  background:
    radial-gradient(42vmax 42vmax at 16% 84%, rgba(27, 127, 83, 0.19), transparent 60%),
    radial-gradient(36vmax 36vmax at 84% 8%, rgba(224, 146, 46, 0.17), transparent 60%),
    radial-gradient(30vmax 30vmax at 55% 50%, rgba(58, 110, 165, 0.11), transparent 62%);
  animation: blobC 28s ease-in-out infinite alternate;
}
@keyframes blobA { from { transform: translate3d(-2.5%, -1.5%, 0); } to { transform: translate3d(2.5%, 2%, 0); } }
@keyframes blobB { from { transform: translate3d(2.5%, -2%, 0); } to { transform: translate3d(-2%, 1.5%, 0); } }
@keyframes blobC { from { transform: translate3d(-1.5%, 2%, 0); } to { transform: translate3d(2.5%, -1.5%, 0); } }

.hero-bg {
  position: absolute; inset: 0; z-index: 0; pointer-events: none;
  background:
    radial-gradient(60% 60% at 88% 8%, rgba(58, 110, 165, 0.12), transparent 60%),
    radial-gradient(50% 50% at 12% 18%, rgba(224, 146, 46, 0.10), transparent 60%);
}
.hero-grid {
  position: relative; z-index: 1;
  display: grid; grid-template-columns: 1.05fr 1fr; gap: 56px; align-items: center;
}

.eyebrow {
  display: inline-block; font-weight: 700; font-size: 14px; color: var(--blue-deep);
  background: var(--blue-soft); padding: 7px 14px; border-radius: var(--r-full); margin-bottom: 22px;
}
.hero-copy h1 { font-size: clamp(34px, 5vw, 56px); font-weight: 800; line-height: 1.08; letter-spacing: -0.02em; color: var(--navy); margin-bottom: 20px; }
.hero-sub { font-size: clamp(17px, 2vw, 21px); color: var(--text-2); max-width: 30em; margin-bottom: 30px; }
.hero-cta { display: flex; gap: 14px; flex-wrap: wrap; margin-bottom: 26px; }

.positioning-strip { display: flex; flex-wrap: wrap; align-items: center; gap: 9px; color: var(--text-2); font-weight: 600; font-size: 15px; }
.positioning-strip .sep { color: var(--text-3); }
.ps-pin { display: inline-flex; flex: none; }

/* staggered children reveal inside hero copy */
.hero-copy[data-reveal] > * { opacity: 0; transform: translateY(18px); }
.hero-copy.is-in > * { animation: rise 0.7s var(--ease) both; animation-delay: calc(var(--i) * 0.09s + 0.05s); }
@keyframes rise { to { opacity: 1; transform: translateY(0); } }

/* ── Device / product showcase ─────────────────────────────────────────── */
.hero-device { position: relative; }
.device {
  background: var(--surface); border-radius: var(--r-xl); box-shadow: var(--sh-lg);
  border: 1px solid var(--border); overflow: hidden; animation: float 7s ease-in-out infinite;
}
@keyframes float { 0%, 100% { transform: translateY(0); } 50% { transform: translateY(-10px); } }

.device-chrome {
  display: flex; align-items: center; gap: 7px; padding: 11px 15px;
  background: var(--navy); border-bottom: 1px solid rgba(255, 255, 255, 0.08);
}
.device-chrome .dot { width: 11px; height: 11px; border-radius: 50%; }
.dot-r { background: #ff5f57; } .dot-y { background: #febc2e; } .dot-g { background: #28c840; }
.device-url {
  margin-inline-start: auto; display: inline-flex; align-items: center; gap: 6px;
  background: rgba(255, 255, 255, 0.12); color: rgba(255, 255, 255, 0.85);
  font-size: 12px; font-weight: 600; padding: 4px 12px; border-radius: var(--r-full);
}
.device-url svg { color: rgba(255, 255, 255, 0.7); }

.device-screen { position: relative; height: 440px; background: var(--surface-3); }
.screen-view {
  position: absolute; inset: 0; display: flex; flex-direction: column;
  opacity: 0; visibility: hidden; transform: scale(0.98);
  transition: opacity 0.6s var(--ease), transform 0.6s var(--ease), visibility 0.6s;
}
.screen-view.is-active { opacity: 1; visibility: visible; transform: scale(1); }
/* Device-screen variants of the match & report mockups (no .visual-frame wrapper). */
.match-screen { flex: 1; display: flex; flex-direction: column; background: var(--surface-3); overflow: hidden; }
.report-screen { flex: 1; display: flex; align-items: center; justify-content: center; padding: 16px; background: var(--surface-3); overflow: hidden; }

.mini-topbar {
  display: flex; align-items: center; justify-content: space-between;
  padding: 11px 16px; background: var(--surface); border-bottom: 1px solid var(--border-2);
  font-size: 13px;
}
.mini-brand { font-weight: 800; color: var(--navy); }
.mini-client { color: var(--text-2); font-weight: 600; background: var(--surface-2); padding: 3px 10px; border-radius: var(--r-full); }

/* ── Map mock ──────────────────────────────────────────────────────────── */
.map-wrap { position: relative; flex: 1; overflow: hidden; }
.map-svg { width: 100%; height: 100%; object-fit: cover; }

.pin { opacity: 0; transform: translateY(-28px); }
/* Score markers - colored circles with the match score, on the map. */
.score-dot { stroke: var(--white); stroke-width: 2; }
.score-val { fill: var(--white); font-family: 'Assistant', system-ui, sans-serif; font-size: 13px; font-weight: 800; }
.pin-high .score-dot { fill: var(--match-high); }
.pin-med .score-dot { fill: var(--match-med); }
.pin-low .score-dot { fill: var(--match-low); }

.map-live .pin { animation: pinDrop 0.6s var(--ease) both; animation-delay: var(--d); }
.map-wrap.paused .pin { animation-play-state: paused; }
@keyframes pinDrop {
  0% { opacity: 0; transform: translateY(-28px); }
  60% { opacity: 1; transform: translateY(4px); }
  100% { opacity: 1; transform: translateY(0); }
}

.map-card {
  position: absolute; inset-inline-start: 16px; top: 16px; width: 230px;
  background: var(--surface); border: 1px solid var(--border); border-radius: var(--r-md);
  padding: 12px 14px; box-shadow: var(--sh-md); opacity: 0; transform: translateY(8px);
}
.map-live .map-card { animation: cardIn 0.6s var(--ease) both; animation-delay: 1.1s; }
@keyframes cardIn { to { opacity: 1; transform: translateY(0); } }
.map-card-head { display: flex; align-items: center; justify-content: space-between; gap: 8px; margin-bottom: 8px; }
.map-card-head strong { font-size: 15px; color: var(--navy); }
.map-card-meta { display: flex; flex-direction: column; gap: 3px; font-size: 12.5px; color: var(--text-2); margin-bottom: 9px; }
.map-card-tags { display: flex; flex-wrap: wrap; gap: 6px; }

.score-chip { font-size: 11.5px; font-weight: 700; padding: 3px 9px; border-radius: var(--r-full); white-space: nowrap; }
.score-high { background: var(--match-high-soft); color: var(--match-high); }
.score-med { background: var(--match-med-soft); color: var(--amber-text); }
.score-low { background: var(--match-low-soft); color: var(--match-low); }

.mini-tag { font-size: 11px; font-weight: 600; color: var(--text-2); background: var(--surface-2); padding: 3px 8px; border-radius: var(--r-full); }

.map-filters { position: absolute; inset-inline-end: 14px; bottom: 14px; display: flex; gap: 6px; flex-wrap: wrap; max-width: 220px; justify-content: flex-end; }
.filter-chip { font-size: 12px; font-weight: 600; color: var(--text-2); background: var(--surface); border: 1px solid var(--border); padding: 5px 11px; border-radius: var(--r-full); box-shadow: var(--sh-sm); }
.filter-chip.is-on { background: var(--navy); color: var(--white); border-color: var(--navy); }

.map-legend {
  position: absolute; inset-inline-start: 14px; bottom: 14px; display: flex; gap: 14px;
  background: var(--surface); border: 1px solid var(--border); border-radius: var(--r-full);
  padding: 7px 14px; box-shadow: var(--sh-sm); font-size: 12px; font-weight: 600; color: var(--text-2);
}
.map-legend span { display: inline-flex; align-items: center; gap: 6px; }
.lg { width: 9px; height: 9px; border-radius: 50%; }
.lg-high { background: var(--match-high); } .lg-med { background: var(--match-med); } .lg-low { background: var(--match-low); }

/* ── Alert builder mock ────────────────────────────────────────────────── */
.alert-builder { flex: 1; padding: 16px; display: flex; flex-direction: column; gap: 10px; background: var(--surface-3); overflow: hidden; }
.ab-field, .ab-toggle {
  display: flex; align-items: center; justify-content: space-between; gap: 10px;
  background: var(--surface); border: 1px solid var(--border); border-radius: var(--r-md); padding: 12px 14px;
  opacity: 0; transform: translateY(10px); transition: opacity 0.4s var(--ease), transform 0.4s var(--ease), border-color 0.3s;
}
.ab-field.in, .ab-toggle.in { opacity: 1; transform: none; }
.ab-field.in { border-color: #d6e4f2; }
.ab-label { font-size: 13px; color: var(--text-2); font-weight: 600; }
.ab-val { font-size: 13.5px; color: var(--blue-deep); font-weight: 700; background: var(--blue-soft); padding: 4px 11px; border-radius: var(--r-full); }
.ab-toggle span { font-weight: 700; color: var(--navy); font-size: 14px; }
.ab-switch { width: 40px; height: 23px; border-radius: var(--r-full); background: var(--border); position: relative; transition: background 0.3s; flex: none; }
.ab-switch::after { content: ''; position: absolute; top: 3px; inset-inline-start: 3px; width: 17px; height: 17px; border-radius: 50%; background: #fff; transition: transform 0.3s var(--ease); box-shadow: var(--sh-sm); }
.ab-toggle.in .ab-switch { background: var(--match-high); }
.ab-toggle.in .ab-switch::after { transform: translateX(-17px); }
.ab-toast {
  align-self: center; background: var(--match-high); color: #fff;
  font-weight: 700; font-size: 14px; padding: 10px 18px; border-radius: var(--r-full);
  opacity: 0; transform: translateY(10px); transition: opacity 0.45s var(--ease), transform 0.45s var(--ease);
  box-shadow: 0 8px 22px rgba(27, 127, 83, 0.3);
}
.ab-toast.show { opacity: 1; transform: none; }

/* ── Chat mock ─────────────────────────────────────────────────────────── */
.chat-mock { flex: 1; padding: 16px; display: flex; flex-direction: column; gap: 10px; overflow: hidden; background: var(--surface-3); }
.bubble {
  max-width: 80%; padding: 10px 14px; border-radius: 16px; font-size: 14px; line-height: 1.45;
  opacity: 0; transform: translateY(10px); animation: bubbleIn 0.45s var(--ease) forwards;
}
@keyframes bubbleIn { to { opacity: 1; transform: translateY(0); } }
.bubble.bot { align-self: flex-start; background: var(--surface); border: 1px solid var(--border); color: var(--text); border-bottom-right-radius: 5px; }
.bubble.me { align-self: flex-end; background: var(--navy); color: var(--white); border-bottom-left-radius: 5px; }
.chat-chips { display: flex; gap: 8px; flex-wrap: wrap; align-self: flex-start; opacity: 0; transform: translateY(10px); animation: bubbleIn 0.45s var(--ease) forwards; }
.chat-chip { font-size: 13px; font-weight: 600; color: var(--blue-deep); background: var(--blue-soft); border: 1px solid #d6e4f2; padding: 7px 13px; border-radius: var(--r-full); }
.chat-chip.picked { background: var(--navy); color: var(--white); border-color: var(--navy); }
.typing { align-self: flex-start; background: var(--surface); border: 1px solid var(--border); padding: 12px 16px; border-radius: 16px; display: inline-flex; gap: 4px; }
.typing i { width: 7px; height: 7px; border-radius: 50%; background: var(--text-3); animation: dotB 1.2s infinite ease-in-out; }
.typing i:nth-child(2) { animation-delay: 0.18s; } .typing i:nth-child(3) { animation-delay: 0.36s; }
@keyframes dotB { 0%, 80%, 100% { transform: scale(0.7); opacity: 0.5; } 40% { transform: scale(1); opacity: 1; } }

.client-card {
  align-self: stretch; background: var(--surface); border: 1px solid var(--border); border-radius: var(--r-md);
  padding: 13px 15px; box-shadow: var(--sh-sm); opacity: 0; transform: translateY(10px); animation: bubbleIn 0.5s var(--ease) forwards;
}
.client-card .cc-head { display: flex; align-items: center; gap: 9px; margin-bottom: 9px; }
.client-card .cc-av { width: 30px; height: 30px; border-radius: 50%; background: var(--amber-soft); color: var(--amber-text); display: grid; place-items: center; font-weight: 800; font-size: 14px; }
.client-card .cc-name { font-weight: 800; color: var(--navy); font-size: 14px; }
.client-card .cc-type { font-size: 12px; color: var(--text-2); }
.client-card .cc-tags { display: flex; flex-wrap: wrap; gap: 6px; }

/* ── Saved areas mock ──────────────────────────────────────────────────── */
.areas-mock { flex: 1; display: grid; grid-template-columns: 1fr 1fr; gap: 0; overflow: hidden; }
.areas-list { display: flex; flex-direction: column; gap: 10px; padding: 18px; background: var(--surface-3); }
.area-item {
  text-align: start; background: var(--surface); border: 1px solid var(--border); border-radius: var(--r-md);
  padding: 12px 14px; font-weight: 700; color: var(--navy); font-size: 14px; transition: all 0.2s var(--ease);
  display: flex; flex-direction: column; gap: 4px;
}
.area-item em { font-style: normal; font-size: 12px; font-weight: 600; color: var(--text-2); }
.area-item.is-on { background: var(--navy); color: var(--white); border-color: var(--navy); }
.area-item.is-on em { color: rgba(255, 255, 255, 0.75); }
.areas-map { position: relative; overflow: hidden; border-inline-start: 1px solid var(--border-2); }
.areas-map svg { width: 100%; height: 100%; object-fit: cover; }
.areas-map .pin { animation: pinDrop 0.6s var(--ease) both; animation-delay: var(--d); }

/* ── Reports & proposals mock ──────────────────────────────────────────── */
.report-frame { padding: 24px; display: flex; align-items: center; justify-content: center; background: linear-gradient(135deg, var(--surface-2), var(--surface-3)); }
.report-mock { width: 100%; max-width: 320px; }
.report-doc { background: var(--surface); border: 1px solid var(--border); border-radius: var(--r-md); box-shadow: var(--sh-md); padding: 18px; display: flex; flex-direction: column; gap: 10px; }
.rd-head { display: flex; align-items: center; justify-content: space-between; gap: 10px; padding-bottom: 12px; border-bottom: 1px solid var(--border-2); font-weight: 800; color: var(--navy); font-size: 14px; }
.rd-brand { display: inline-flex; align-items: center; gap: 5px; font-size: 13px; color: var(--navy); }
.rd-row { display: flex; align-items: center; justify-content: space-between; gap: 10px; font-size: 14.5px; font-weight: 700; color: var(--navy); background: var(--surface-3); border: 1px solid var(--border-2); border-radius: var(--r-sm); padding: 10px 12px; }
.rd-actions { display: flex; align-items: center; gap: 7px; flex-wrap: wrap; margin-top: 4px; }
.rd-btn { font-size: 12.5px; font-weight: 700; padding: 7px 14px; border-radius: var(--r-full); }
.rd-btn-primary { background: var(--navy); color: var(--white); }

/* ── Pipeline mock ─────────────────────────────────────────────────────── */
.pipeline-mock { flex: 1; padding: 14px 16px; display: flex; flex-direction: column; gap: 12px; overflow: hidden; }
.pipe-totals { display: flex; gap: 12px; }
.demo-badge { align-self: flex-start; font-size: 11px; font-weight: 700; color: var(--text-3); background: var(--surface-2); border: 1px solid var(--border-2); border-radius: var(--r-full); padding: 2px 9px; letter-spacing: 0.02em; }
.pipe-total { flex: 1; background: var(--surface); border: 1px solid var(--border); border-radius: var(--r-md); padding: 10px 14px; }
.pipe-total-label { display: block; font-size: 12px; color: var(--text-2); font-weight: 600; margin-bottom: 2px; }
.pipe-total-value { font-size: 20px; font-weight: 800; color: var(--navy); font-variant-numeric: tabular-nums; }
.pipe-total:last-child .pipe-total-value { color: var(--match-high); }

.kanban { display: grid; grid-template-columns: repeat(5, 1fr); gap: 8px; flex: 1; }
.kan-col { background: var(--surface-2); border-radius: var(--r-md); padding: 8px 7px; display: flex; flex-direction: column; gap: 7px; }
.kan-h { font-size: 11.5px; font-weight: 700; color: var(--text-2); text-align: center; }
.kan-card {
  background: var(--surface); border: 1px solid var(--border); border-radius: var(--r-sm);
  padding: 8px 9px; box-shadow: var(--sh-sm); opacity: 0; transform: translateY(14px) scale(0.96);
}
.kan-card b { display: block; font-size: 12.5px; color: var(--navy); }
.kan-card i { font-size: 11px; color: var(--text-2); font-style: normal; }
.kan-card.win { border-color: var(--match-high); background: var(--match-high-soft); }
.pipe-live .kan-card { animation: kanIn 0.5s var(--ease) both; animation-delay: var(--k); }
@keyframes kanIn { to { opacity: 1; transform: translateY(0) scale(1); } }

/* device dots */
.device-dots { display: flex; justify-content: center; gap: 8px; margin-top: 16px; }
.vd { position: relative; width: 9px; height: 9px; border-radius: 50%; background: rgba(14, 42, 71, 0.3); transition: all 0.25s var(--ease); }
.vd:hover { background: rgba(14, 42, 71, 0.5); }
.vd::before { content: ''; position: absolute; inset: -18px -9px; }
.vd.is-on { background: var(--amber); width: 26px; border-radius: var(--r-full); }

/* ── Sections ──────────────────────────────────────────────────────────── */
.section { padding: 86px 0; }
.section-head { max-width: 720px; margin: 0 auto 56px; text-align: center; }
.kicker { display: inline-block; font-weight: 700; font-size: 13px; letter-spacing: 0.04em; color: var(--amber-text); background: var(--amber-soft); padding: 6px 13px; border-radius: var(--r-full); margin-bottom: 16px; }
.section-head h2 { font-size: clamp(27px, 3.6vw, 40px); font-weight: 800; color: var(--navy); letter-spacing: -0.02em; line-height: 1.15; }
.section-lead { margin-top: 16px; font-size: 18px; color: var(--text-2); }

/* ── Problem ───────────────────────────────────────────────────────────── */
.problem { background: var(--surface); }
.pain-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 22px; }
.pain-card { background: var(--surface-3); border: 1px solid var(--border); border-radius: var(--r-lg); padding: 28px 24px; text-align: center; transition: transform 0.25s var(--ease), box-shadow 0.25s var(--ease); }
.pain-card:hover { transform: translateY(-4px); box-shadow: var(--sh-md); }
.pain-ic { width: 48px; height: 48px; border-radius: var(--r-md); background: var(--blue-soft); color: var(--navy); display: grid; place-items: center; margin: 0 auto 16px; }
.pain-ic svg { width: 24px; height: 24px; }
.pain-card h3 { font-size: 19px; font-weight: 800; color: var(--navy); margin-bottom: 8px; }
.pain-card p { font-size: 15.5px; color: var(--text-2); }

.solution-bridge {
  display: flex; align-items: center; gap: 16px; justify-content: center; text-align: center;
  margin-top: 44px; padding: 22px 30px; background: linear-gradient(120deg, var(--navy), #163a5e);
  border-radius: var(--r-lg); box-shadow: var(--sh-md);
}
.solution-bridge p { color: var(--white); font-size: 18px; font-weight: 600; max-width: 48em; }
.bridge-pin { flex: none; width: 46px; height: 46px; border-radius: 50%; background: rgba(255, 255, 255, 0.1); display: grid; place-items: center; }
.bridge-pin .pin-fill { fill: #fff; }

/* ── Feature rows ──────────────────────────────────────────────────────── */
.features { background: transparent; }
.feature-row { display: grid; grid-template-columns: 1fr 1.08fr; gap: 56px; align-items: center; margin-bottom: 84px; }
.feature-row.reverse { direction: ltr; }
.feature-row.reverse > * { direction: rtl; }
.feature-row:last-of-type { margin-bottom: 0; }

.feature-tag { display: inline-block; font-weight: 700; font-size: 13px; padding: 6px 13px; border-radius: var(--r-full); margin-bottom: 16px; }
.tag-blue { background: var(--blue-soft); color: var(--blue-deep); }
.tag-green { background: var(--match-high-soft); color: var(--match-high); }
.tag-amber { background: var(--amber-soft); color: var(--amber-text); }
.feature-copy h3 { font-size: clamp(23px, 3vw, 31px); font-weight: 800; color: var(--navy); line-height: 1.2; letter-spacing: -0.01em; margin-bottom: 14px; }
.feature-copy > p { font-size: 17.5px; color: var(--text-2); margin-bottom: 20px; }
.feature-copy > p.feature-note { font-size: 14.5px; color: var(--text-3); margin-top: -8px; }
.feature-list { display: flex; flex-direction: column; gap: 11px; }
.feature-list li { position: relative; padding-inline-start: 30px; font-size: 16px; color: var(--text); font-weight: 600; }
.feature-list li::before {
  content: ''; position: absolute; inset-inline-start: 0; top: 3px; width: 20px; height: 20px;
  border-radius: 50%; background: var(--match-high-soft) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath d='M5 12.5 L10 17.5 L19 7' fill='none' stroke='%231B7F53' stroke-width='3' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E") center / 13px no-repeat;
}

.feature-visual { min-width: 0; }
.visual-frame {
  background: var(--surface); border: 1px solid var(--border); border-radius: var(--r-xl);
  box-shadow: var(--sh-lg); overflow: hidden; height: 380px; display: flex; flex-direction: column;
}
.map-wrap-lg { height: 100%; }

/* match frame */
.match-frame { padding: 22px; gap: 18px; }
.match-head { display: flex; align-items: center; justify-content: space-between; gap: 14px; padding-bottom: 16px; border-bottom: 1px solid var(--border-2); }
.match-head strong { font-size: 18px; font-weight: 800; color: var(--navy); display: block; }
.match-sub { font-size: 13.5px; color: var(--text-2); }
.match-radial { position: relative; flex: none; }
.radial-arc { stroke-dasharray: 207.3; stroke-dashoffset: 207.3; transition: stroke-dashoffset 1.2s var(--ease); }
.match-radial.is-in .radial-arc { stroke-dashoffset: calc(207.3 - (207.3 * var(--target) / 100)); }
.radial-num { position: absolute; inset: 0; display: grid; place-items: center; font-size: 17px; font-weight: 800; color: var(--match-high); font-variant-numeric: tabular-nums; }

.match-list { display: flex; flex-direction: column; gap: 14px; }
.match-list li { display: grid; grid-template-columns: 110px 1fr 44px; align-items: center; gap: 12px; }
.ml-name { font-size: 14.5px; font-weight: 700; color: var(--navy); }
.ml-bar { height: 9px; background: var(--surface-2); border-radius: var(--r-full); overflow: hidden; }
.ml-bar i { display: block; height: 100%; width: 0; border-radius: var(--r-full); transition: width 1s var(--ease); }
.match-frame.is-in .ml-bar i { width: var(--w); }
.ml-bar i.match-high { background: var(--match-high); } .ml-bar i.match-med { background: var(--match-med); } .ml-bar i.match-low { background: var(--match-low); }
.ml-pct { font-size: 13.5px; font-weight: 700; color: var(--text-2); text-align: end; font-variant-numeric: tabular-nums; }

.pipeline-lg { background: var(--surface); }
.chat-frame .chat-lg { background: var(--surface-3); }

/* ── How it works ──────────────────────────────────────────────────────── */
.how { background: var(--surface); }
.steps { display: grid; grid-template-columns: repeat(4, 1fr); gap: 22px; }
.step { position: relative; padding: 30px 22px; background: var(--surface-3); border: 1px solid var(--border); border-radius: var(--r-lg); }
.step-num {
  display: grid; place-items: center; width: 46px; height: 46px; border-radius: 50%;
  background: var(--navy); color: var(--white); font-weight: 800; font-size: 20px; margin-bottom: 16px;
  box-shadow: 0 6px 16px rgba(14, 42, 71, 0.25);
}
.step:nth-child(2) .step-num { background: var(--blue); }
.step:nth-child(3) .step-num { background: var(--amber); }
.step:nth-child(4) .step-num { background: var(--match-high); }
.step h3 { font-size: 18px; font-weight: 800; color: var(--navy); margin-bottom: 7px; }
.step p { font-size: 14.5px; color: var(--text-2); }
.steps .step:not(:last-child)::after {
  content: ''; position: absolute; top: 52px; inset-inline-start: -14px; width: 28px; height: 2px;
  background: repeating-linear-gradient(90deg, var(--border-2) 0 5px, transparent 5px 10px);
}

/* ── Capability grid ───────────────────────────────────────────────────── */
.capabilities { background: var(--bg); }
.cap-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 18px; }
.cap { display: flex; align-items: flex-start; gap: 13px; background: var(--surface); border: 1px solid var(--border); border-radius: var(--r-lg); padding: 20px; transition: transform 0.25s var(--ease), box-shadow 0.25s var(--ease); }
.cap:hover { transform: translateY(-4px); box-shadow: var(--sh-md); }
.cap-ic { width: 44px; height: 44px; border-radius: var(--r-md); display: grid; place-items: center; font-size: 22px; flex: none; }
.ic-amber { background: var(--amber-soft); } .ic-blue { background: var(--blue-soft); } .ic-green { background: var(--match-high-soft); }
.cap h4 { font-size: 16px; font-weight: 800; color: var(--navy); margin-bottom: 4px; display: flex; align-items: center; gap: 7px; flex-wrap: wrap; }
.cap p { font-size: 14px; color: var(--text-2); line-height: 1.45; }
.soon { font-size: 10.5px; font-weight: 700; color: var(--blue-deep); background: var(--blue-soft); padding: 2px 8px; border-radius: var(--r-full); }

/* ── Pricing ───────────────────────────────────────────────────────────── */
.pricing { background: var(--surface); }
.billing-toggle { display: inline-flex; align-items: center; gap: 14px; margin-top: 26px; }
.bt-label { font-weight: 700; color: var(--text-2); transition: color 0.2s; display: inline-flex; align-items: center; gap: 7px; }
.bt-label.is-on { color: var(--navy); }
.save { font-style: normal; font-size: 12px; font-weight: 700; color: var(--match-high); background: var(--match-high-soft); padding: 3px 8px; border-radius: var(--r-full); }
.bt-switch { width: 52px; height: 30px; border-radius: var(--r-full); background: var(--navy); position: relative; transition: background 0.25s; flex: none; }
.bt-switch::before { content: ''; position: absolute; inset: -9px -6px; }
.bt-knob { position: absolute; top: 3px; inset-inline-start: 3px; width: 24px; height: 24px; border-radius: 50%; background: var(--white); transition: transform 0.25s var(--ease); box-shadow: var(--sh-sm); }
.bt-switch[aria-checked="true"] .bt-knob { transform: translateX(-22px); }

.plans { display: grid; grid-template-columns: repeat(3, 1fr); gap: 22px; align-items: stretch; }
.plan { position: relative; background: var(--surface-3); border: 1px solid var(--border); border-radius: var(--r-xl); padding: 32px 26px; display: flex; flex-direction: column; transition: transform 0.25s var(--ease), box-shadow 0.25s var(--ease); }
.plan:hover { transform: translateY(-5px); box-shadow: var(--sh-md); }
.plan-pop { border: 2px solid var(--amber); background: var(--surface); box-shadow: var(--sh-md); }
.plan-badge { position: absolute; top: -13px; inset-inline-start: 50%; transform: translateX(50%); background: var(--amber); color: var(--white); font-size: 12.5px; font-weight: 700; padding: 5px 16px; border-radius: var(--r-full); box-shadow: var(--sh-amber); white-space: nowrap; }
.plan h3 { font-size: 22px; font-weight: 800; color: var(--navy); }
.plan-desc { font-size: 14.5px; color: var(--text-2); margin: 6px 0 18px; min-height: 42px; }
.plan-price { display: flex; align-items: baseline; gap: 4px; margin-bottom: 22px; }
.plan-price .cur { font-size: 22px; font-weight: 700; color: var(--navy); }
.plan-price .amount { font-size: 46px; font-weight: 800; color: var(--navy); line-height: 1; font-variant-numeric: tabular-nums; transition: opacity 0.2s; }
.plan-price .per { font-size: 14px; color: var(--text-2); font-weight: 600; }
.plan-price-talk b { font-size: 28px; font-weight: 800; color: var(--navy); }
.plan-feats { display: flex; flex-direction: column; gap: 11px; margin-bottom: 26px; flex: 1; }
.plan-feats li { position: relative; padding-inline-start: 28px; font-size: 15px; color: var(--text); }
.plan-feats li::before {
  content: ''; position: absolute; inset-inline-start: 0; top: 3px; width: 18px; height: 18px; border-radius: 50%;
  background: var(--match-high-soft) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath d='M5 12.5 L10 17.5 L19 7' fill='none' stroke='%231B7F53' stroke-width='3' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E") center / 12px no-repeat;
}
.vat-note { text-align: center; margin-top: 26px; color: var(--text-3); font-size: 14px; }

/* ── CTA band / demo form ──────────────────────────────────────────────── */
.cta-band { background: linear-gradient(120deg, var(--navy) 0%, #14375c 60%, #1a4068 100%); position: relative; overflow: hidden; }
.cta-band::before { content: ''; position: absolute; inset: 0; background: radial-gradient(40% 60% at 85% 20%, rgba(224, 146, 46, 0.16), transparent 60%); pointer-events: none; }
.cta-inner { position: relative; display: grid; grid-template-columns: 1fr 1fr; gap: 56px; align-items: center; }
.cta-copy h2 { font-size: clamp(28px, 3.6vw, 40px); font-weight: 800; color: var(--white); line-height: 1.15; letter-spacing: -0.02em; margin-bottom: 16px; }
.cta-copy > p { font-size: 18px; color: rgba(255, 255, 255, 0.82); margin-bottom: 24px; }
.cta-bullets { display: flex; flex-direction: column; gap: 12px; }
.cta-bullets li { display: flex; align-items: center; gap: 11px; color: rgba(255, 255, 255, 0.92); font-weight: 600; font-size: 16px; }
.cta-bullets svg { color: var(--amber); flex: none; }

.cta-form-wrap { background: var(--surface); border-radius: var(--r-xl); box-shadow: var(--sh-lg); padding: 30px; position: relative; }
.demo-form { display: flex; flex-direction: column; gap: 15px; }
.field { display: flex; flex-direction: column; gap: 6px; }
.field-row { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; }
.field label { font-size: 14px; font-weight: 700; color: var(--navy); }
.field input {
  width: 100%; padding: 12px 14px; border: 1.5px solid var(--border); border-radius: var(--r-md);
  font-size: 16px; color: var(--text); background: var(--surface-3); text-align: right; transition: border-color 0.2s, background 0.2s, box-shadow 0.2s;
}
.field input::placeholder { color: var(--text-3); }
.field input:focus { outline: none; border-color: var(--blue); background: var(--surface); box-shadow: 0 0 0 3px rgba(58, 110, 165, 0.14); }
.field input:invalid:not(:placeholder-shown):not(:focus) { border-color: var(--match-low); }
.form-fine { font-size: 12.5px; color: var(--text-3); text-align: center; }
.form-error { font-size: 13.5px; font-weight: 600; color: var(--match-low); text-align: center; }
/* Honeypot - kept in the DOM for bots, removed from the visual/AT flow for humans. */
.hp-field { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }
.btn:disabled { opacity: 0.6; cursor: not-allowed; box-shadow: none; }

.form-success { text-align: center; padding: 36px 20px; animation: rise 0.5s var(--ease) both; }
.success-ic { width: 64px; height: 64px; border-radius: 50%; background: var(--match-high-soft); color: var(--match-high); display: grid; place-items: center; margin: 0 auto 18px; }
.form-success h3 { font-size: 23px; font-weight: 800; color: var(--navy); margin-bottom: 8px; }
.form-success p { color: var(--text-2); font-size: 16px; }
/* The .demo-form display:flex would otherwise beat the UA [hidden] rule. */
.demo-form[hidden] { display: none; }
.back-to-form { margin-top: 18px; background: none; border: none; color: var(--text-3); font-size: 13.5px; font-weight: 600; text-decoration: underline; text-underline-offset: 3px; cursor: pointer; padding: 4px 6px; transition: color 0.2s; }
.back-to-form:hover { color: var(--navy); }

/* ── Footer ────────────────────────────────────────────────────────────── */
.site-footer { background: var(--navy); color: rgba(255, 255, 255, 0.78); padding: 30px 0; }
.footer-grid { display: grid; grid-template-columns: 1.6fr 1fr 1fr; gap: 40px; padding-bottom: 36px; border-bottom: 1px solid rgba(255, 255, 255, 0.1); }
.brand-light .brand-word { color: var(--white); }
.brand-light { margin-bottom: 14px; }
.footer-brand p { font-size: 15px; max-width: 32em; line-height: 1.6; }
.footer-col h4 { color: var(--white); font-size: 15px; font-weight: 800; margin-bottom: 14px; }
.footer-col a, .footer-col span { display: block; color: rgba(255, 255, 255, 0.72); font-size: 15px; padding: 5px 0; transition: color 0.2s; }
.footer-col a:hover { color: var(--amber); }
.footer-bottom { display: flex; justify-content: center; align-items: center; text-align: center; font-size: 13.5px; color: rgba(255, 255, 255, 0.55); }

/* ── Scroll reveal ─────────────────────────────────────────────────────── */
[data-reveal]:not(.hero-copy) { opacity: 0; transform: translateY(28px); transition: opacity 0.7s var(--ease), transform 0.7s var(--ease); }
[data-reveal].is-in:not(.hero-copy) { opacity: 1; transform: translateY(0); }
.pain-grid [data-reveal], .cap-grid [data-reveal], .steps [data-reveal], .plans [data-reveal] { transition-delay: calc(var(--i, 0) * 0.07s); }

/* ── Responsive ────────────────────────────────────────────────────────── */
@media (max-width: 980px) {
  .hero-grid { grid-template-columns: 1fr; gap: 44px; }
  .hero-copy { text-align: center; }
  .hero-cta, .positioning-strip { justify-content: center; }
  .hero-sub { margin-inline: auto; }
  .hero-device { max-width: 520px; margin: 0 auto; width: 100%; }
  .feature-row, .feature-row.reverse { grid-template-columns: 1fr; gap: 30px; direction: rtl; }
  .feature-row .feature-visual { order: 2; }
  .cap-grid { grid-template-columns: repeat(2, 1fr); }
  .cta-inner { grid-template-columns: 1fr; gap: 36px; }
  .footer-grid { grid-template-columns: 1fr 1fr; }
}

@media (max-width: 820px) {
  .main-nav, .header-actions .link-login, .header-actions .btn-primary { display: none; }
  .nav-toggle { display: flex; }
  .mobile-menu.open { display: flex; }
  .hero { padding-top: 30px; } /* tighter gap to the header on mobile */
  .pain-grid, .plans, .steps { grid-template-columns: 1fr 1fr; }
  .steps .step::after { display: none; }
  .plan-pop { order: -1; }
}

@media (max-width: 560px) {
  body { font-size: 16px; }
  .section { padding: 60px 0; }
  .container { padding: 0 18px; }
  .pain-grid, .plans, .steps, .cap-grid, .footer-grid, .field-row { grid-template-columns: 1fr; }
  .device-screen { height: 410px; }
  .areas-mock { grid-template-columns: 1fr; }
  .areas-map { display: none; }
  .kanban { gap: 5px; }
  .kan-col { padding: 6px 4px; }
  .kan-card { padding: 6px; }
  .kan-card b { font-size: 11px; } .kan-card i { font-size: 9.5px; }
  .footer-bottom { flex-direction: column; gap: 8px; text-align: center; }
  .btn-lg { padding: 14px 24px; }
  .hero-cta .btn { flex: 1; }
}

/* ── Thumb-reachable floating CTA (mobile only) ────────────────────────── */
.mobile-cta {
  position: fixed; z-index: 90; inset-inline: 16px;
  bottom: calc(14px + env(safe-area-inset-bottom));
  display: none; align-items: center; justify-content: center;
  min-height: 52px; padding: 15px 18px; border-radius: var(--r-full);
  background: var(--navy); color: var(--white); font-weight: 700; font-size: 17px;
  box-shadow: 0 10px 30px rgba(14, 40, 70, 0.32);
  transform: translateY(180%); opacity: 0; pointer-events: none;
  transition: transform 0.35s var(--ease), opacity 0.35s var(--ease);
}
.mobile-cta.show { transform: translateY(0); opacity: 1; pointer-events: auto; }
.mobile-cta:active { transform: translateY(1px) scale(0.99); }

/* ── Mobile scroll & motion polish (≤768px) ────────────────────────────── */
@media (max-width: 768px) {
  /* Shorter-travel, snappier reveals on small screens */
  [data-reveal]:not(.hero-copy) { transform: translateY(16px); transition-duration: 0.45s; }
  .pain-grid [data-reveal], .cap-grid [data-reveal], .steps [data-reveal], .plans [data-reveal] { transition-delay: calc(var(--i, 0) * 0.05s); }
  .hero-copy[data-reveal] > * { transform: translateY(12px); }
  .hero-copy.is-in > * { animation-duration: 0.5s; animation-delay: calc(var(--i) * 0.06s + 0.04s); }

  /* Drop the floating parallax on touch - avoids scroll-jank */
  .device { animation: none; }

  /* Sticky header respects notches */
  .site-header { padding-inline: env(safe-area-inset-right) env(safe-area-inset-left); }

  /* Feature pipeline becomes a contained horizontal swipe area (page itself never scrolls sideways) */
  .pipeline-lg .kanban {
    grid-template-columns: none; grid-auto-flow: column; grid-auto-columns: 40%;
    overflow-x: auto; overscroll-behavior-x: contain; -webkit-overflow-scrolling: touch;
    scroll-snap-type: x proximity; gap: 8px; padding-bottom: 6px;
  }
  .pipeline-lg .kan-col { scroll-snap-align: start; }
  .pipeline-lg .kan-card b { font-size: 12px; } .pipeline-lg .kan-card i { font-size: 10.5px; }
}

@media (max-width: 820px) {
  .mobile-cta { display: flex; }
}

/* Safe-area padding at the foot of the page */
@media (max-width: 560px) {
  .site-footer { padding-bottom: calc(28px + env(safe-area-inset-bottom)); }
  .cta-band { padding-bottom: calc(60px + env(safe-area-inset-bottom)); }
}

/* Stack the hero CTAs full-width on the narrowest phones */
@media (max-width: 430px) {
  .hero-cta { flex-direction: column; }
  .hero-cta .btn { width: 100%; flex: none; }
}

/* ── Reduced motion ────────────────────────────────────────────────────── */
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation-duration: 0.001ms !important; animation-iteration-count: 1 !important; transition-duration: 0.001ms !important; scroll-behavior: auto !important; }
  [data-reveal], .hero-copy[data-reveal] > *, .pin, .map-card, .kan-card, .bubble, .chat-chips, .client-card,
  .ab-field, .ab-toggle, .ab-toast { opacity: 1 !important; transform: none !important; }
  .device { animation: none !important; }
  .radial-arc { transition: none !important; }
}
