/* =========================================================
   ICKLE HUB — styles.css
   Design tokens → base → layout → components → sections
   ========================================================= */

:root {
  /* Colour — Ickle Hub brand */
  --bg:            #0A0E16;
  --bg-alt:        #0C111A;
  --surface:       #111827;
  --surface-2:     #161F31;
  --line:          #1E293B;   /* brand dark navy/slate */
  --line-strong:   #2C3B54;
  --text:          #F8FAFC;   /* brand light text */
  --text-muted:    #94A3B8;
  --text-dim:      #7E8DA3;
  --accent:        #2563EB;   /* brand electric blue — fills, dots, borders */
  --accent-bright: #60A5FA;   /* text-grade blue on dark — eyebrows, numerals, icons, focus */
  --accent-soft:   rgba(37, 99, 235, 0.10);
  --accent-line:   rgba(37, 99, 235, 0.38);
  --accent-cyan:   #22D3EE;   /* secondary accent — gradients, end-of-funnel values */
  --grad:          linear-gradient(120deg, #2563EB 0%, #22D3EE 100%);

  /* Type */
  --font-display: "Inter Tight", "Inter", -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
  --font-body: "Inter", -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
  --h1: clamp(2.6rem, 1.3rem + 4.4vw, 4.6rem);
  --h2: clamp(1.85rem, 1.35rem + 2vw, 2.85rem);
  --h3: 1.0625rem;
  --lead: clamp(1.02rem, 0.97rem + 0.35vw, 1.175rem);

  /* Space & shape */
  --container: 1160px;
  --section-y: clamp(72px, 9vw, 128px);
  --radius: 14px;
  --radius-sm: 10px;
  --header-h: 72px;
}

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

html {
  scroll-behavior: smooth;
  scroll-padding-top: calc(var(--header-h) + 16px);
  -webkit-text-size-adjust: 100%;
}

body {
  margin: 0;
  background: var(--bg);
  color: var(--text);
  font-family: var(--font-body);
  font-size: 1rem;
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
  overflow-x: hidden;
}

h1, h2, h3 {
  font-family: var(--font-display);
  font-weight: 600;
  line-height: 1.12;
  letter-spacing: -0.022em;
  margin: 0;
  text-wrap: balance;
}

h1 { font-size: var(--h1); letter-spacing: -0.032em; }
h2 { font-size: var(--h2); letter-spacing: -0.026em; }
h3 { font-size: var(--h3); letter-spacing: -0.012em; }

p { margin: 0; }
ul, ol { margin: 0; padding: 0; list-style: none; }
img, svg { display: block; max-width: 100%; }

::selection {
  background: rgba(37, 99, 235, 0.35);
  color: #FFFFFF;
}

a {
  color: inherit;
  text-decoration: none;
  transition: color 0.18s ease, opacity 0.18s ease;
}

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

.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;
}

.skip-link {
  position: absolute;
  top: 8px; left: 8px;
  z-index: 200;
  padding: 10px 16px;
  background: var(--text);
  color: var(--bg);
  border-radius: var(--radius-sm);
  font-size: 0.875rem;
  font-weight: 600;
  transform: translateY(-160%);
  transition: transform 0.2s ease;
}
.skip-link:focus { transform: translateY(0); }

/* ---------- Layout ---------- */
.container {
  width: min(100% - 2.5rem, var(--container));
  margin-inline: auto;
}

.section { padding-block: var(--section-y); }
.section--alt { background: var(--bg-alt); border-block: 1px solid var(--line); }

.section-head { max-width: 46rem; margin-bottom: clamp(40px, 5vw, 64px); }
.section-head__copy {
  color: var(--text-muted);
  font-size: var(--lead);
  max-width: 40rem;
  margin-top: 18px;
}

.eyebrow {
  font-size: 0.75rem;
  font-weight: 600;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--accent-bright);
  margin-bottom: 16px;
}

.lead {
  font-size: var(--lead);
  color: var(--text-muted);
  max-width: 38rem;
}

.grid { display: grid; gap: 20px; }
.grid--3 { grid-template-columns: repeat(auto-fit, minmax(258px, 1fr)); }
.grid--4 { grid-template-columns: repeat(auto-fit, minmax(246px, 1fr)); }
.grid--5 { grid-template-columns: repeat(auto-fit, minmax(200px, 1fr)); gap: 16px; }

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 13px 24px;
  border-radius: var(--radius-sm);
  border: 1px solid transparent;
  font-family: var(--font-body);
  font-size: 0.9375rem;
  font-weight: 600;
  letter-spacing: -0.005em;
  cursor: pointer;
  transition: background-color 0.18s ease, border-color 0.18s ease, color 0.18s ease, transform 0.18s ease;
}
.btn--primary { background: var(--text); color: #0A0E16; }
.btn--primary:hover { background: #FFFFFF; transform: translateY(-1px); }
.btn--grad {
  background: var(--grad);
  color: #FFFFFF;
  box-shadow: 0 6px 22px rgba(37, 99, 235, 0.28);
}
.btn--grad:hover {
  transform: translateY(-1px);
  box-shadow: 0 10px 28px rgba(37, 99, 235, 0.4);
}
.btn--ghost { border-color: var(--line-strong); color: var(--text); }
.btn--ghost:hover { border-color: var(--accent); color: var(--accent-bright); }
.btn--sm { padding: 9px 18px; font-size: 0.875rem; }
.btn--lg { padding: 15px 30px; font-size: 1rem; }

/* ---------- Header / nav ---------- */
.site-header {
  position: sticky;
  top: 0;
  z-index: 100;
  background: rgba(10, 14, 22, 0.72);
  backdrop-filter: saturate(150%) blur(14px);
  -webkit-backdrop-filter: saturate(150%) blur(14px);
  border-bottom: 1px solid transparent;
  transition: border-color 0.25s ease, background-color 0.25s ease;
}
.site-header.is-scrolled {
  background: rgba(10, 14, 22, 0.9);
  border-bottom-color: var(--line);
}

.site-header__inner {
  min-height: var(--header-h);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
}

.brand { display: inline-flex; align-items: center; gap: 10px; }
.brand__logo {
  width: 34px;
  height: 34px;
  flex: none;
}
.brand__logo--sm { width: 30px; height: 30px; }
.brand__text {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 0.95rem;
  letter-spacing: 0.13em;
  margin: 0;
}

.site-nav { display: flex; align-items: center; gap: 32px; }
.site-nav__list { display: flex; align-items: center; gap: 28px; }
.site-nav__list a {
  font-size: 0.9rem;
  font-weight: 500;
  color: var(--text-muted);
}
.site-nav__list a:hover { color: var(--text); }

.nav-toggle {
  display: none;
  width: 42px; height: 42px;
  align-items: center;
  justify-content: center;
  background: transparent;
  border: 1px solid var(--line-strong);
  border-radius: var(--radius-sm);
  color: var(--text);
  cursor: pointer;
}
.nav-toggle__bars { display: grid; gap: 5px; width: 18px; }
.nav-toggle__bars span {
  height: 1.5px;
  background: currentColor;
  border-radius: 2px;
  transition: transform 0.2s ease, opacity 0.2s ease;
}
.nav-toggle[aria-expanded="true"] .nav-toggle__bars span:first-child { transform: translateY(3.25px) rotate(45deg); }
.nav-toggle[aria-expanded="true"] .nav-toggle__bars span:last-child { transform: translateY(-3.25px) rotate(-45deg); }

/* ---------- Hero ---------- */
.hero {
  position: relative;
  padding-block: clamp(72px, 10vw, 132px) clamp(72px, 9vw, 120px);
  overflow: hidden;
}
.hero {
  background:
    radial-gradient(1000px 620px at 78% 18%, rgba(34, 211, 238, 0.055) 0%, rgba(34, 211, 238, 0) 70%),
    linear-gradient(180deg, #0B1120 0%, var(--bg) 62%);
}
.hero::before {
  content: "";
  position: absolute;
  top: -30%; left: 50%;
  width: min(1100px, 120%);
  aspect-ratio: 1;
  transform: translateX(-50%);
  background: radial-gradient(circle, rgba(37, 99, 235, 0.15) 0%, rgba(37, 99, 235, 0) 62%);
  pointer-events: none;
}
.hero__inner {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: minmax(0, 1.02fr) minmax(0, 0.98fr);
  gap: clamp(36px, 4.5vw, 64px);
  align-items: center;
}
.hero__title { margin-bottom: 22px; max-width: 18ch; line-height: 1.06; }
.grad {
  background: var(--grad);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}
.hero__actions { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 34px; }

/* Capability indicators under the CTA row */
.caps {
  display: flex;
  flex-wrap: wrap;
  gap: 10px 22px;
  margin-top: 30px;
  padding-top: 24px;
  border-top: 1px solid var(--line);
}
.caps li {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 0.8125rem;
  color: var(--text-muted);
}
.caps li::before {
  content: "";
  flex: none;
  width: 15px; height: 15px;
  border-radius: 50%;
  border: 1px solid var(--accent-line);
  background:
    linear-gradient(var(--accent-soft), var(--accent-soft)) padding-box,
    url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 12 12'%3E%3Cpath d='M3 6.2 5 8.2 9 3.9' fill='none' stroke='%2360A5FA' stroke-width='1.6' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E") center / 11px no-repeat;
}

/* Hero pipeline dashboard */
.pipe {
  background: linear-gradient(165deg, rgba(22, 31, 49, 0.96) 0%, rgba(13, 19, 32, 0.96) 100%);
  border: 1px solid var(--line-strong);
  border-radius: var(--radius);
  padding: 20px;
  box-shadow: 0 24px 60px rgba(3, 7, 16, 0.55);
}
.pipe__head {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 10px 16px;
  margin-bottom: 18px;
}
.pipe__title {
  display: inline-flex;
  align-items: center;
  gap: 9px;
  font-size: 0.72rem;
  font-weight: 600;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: var(--text);
}
.pipe__dot {
  width: 7px; height: 7px;
  border-radius: 50%;
  background: var(--accent-cyan);
  box-shadow: 0 0 0 3px rgba(34, 211, 238, 0.16);
}
.pipe__badge {
  padding: 4px 11px;
  border: 1px solid var(--line-strong);
  border-radius: 999px;
  background: rgba(10, 14, 22, 0.6);
  font-size: 0.62rem;
  font-weight: 600;
  letter-spacing: 0.11em;
  text-transform: uppercase;
  color: var(--text-muted);
}

.pipe__kpis {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 8px;
  margin-bottom: 18px;
}
.pipe__kpis li {
  display: grid;
  gap: 5px;
  padding: 12px 12px 13px;
  background: rgba(10, 15, 25, 0.7);
  border: 1px solid var(--line);
  border-radius: var(--radius-sm);
}
.pipe__label { font-size: 0.68rem; color: var(--text-dim); line-height: 1.3; }
.pipe__value {
  font-family: var(--font-display);
  font-size: 1.25rem;
  font-weight: 600;
  letter-spacing: -0.028em;
  line-height: 1;
}
.pipe__value--accent { color: var(--accent-cyan); font-size: 1.08rem; }

.flow {
  display: grid;
  gap: 9px;
  padding-top: 16px;
  border-top: 1px solid var(--line);
}
.flow__step {
  display: grid;
  grid-template-columns: 4.6rem minmax(0, 1fr) 3.2rem 3.1rem;
  align-items: center;
  gap: 10px;
}
.flow__name { font-size: 0.78rem; color: var(--text-muted); }
.flow__bar {
  height: 7px;
  border-radius: 999px;
  background: rgba(30, 41, 59, 0.9);
  overflow: hidden;
}
.flow__bar i {
  display: block;
  height: 100%;
  border-radius: 999px;
  background: var(--grad);
}
.flow__num {
  font-family: var(--font-display);
  font-size: 0.82rem;
  font-weight: 600;
  text-align: right;
  font-variant-numeric: tabular-nums;
}
.flow__pct {
  font-size: 0.72rem;
  color: var(--text-dim);
  text-align: right;
  font-variant-numeric: tabular-nums;
}
.flow__step--end .flow__num,
.flow__step--end .flow__pct { color: var(--accent-cyan); }

.pipe__note {
  margin-top: 16px;
  padding-top: 14px;
  border-top: 1px solid var(--line);
  font-size: 0.76rem;
  color: var(--text-dim);
}

/* ---------- Cards (problem) ---------- */
.card {
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 30px 28px;
  transition: border-color 0.25s ease, background-color 0.25s ease;
}
.card:hover { border-color: var(--line-strong); background: var(--surface-2); }
.card__index {
  display: block;
  font-family: var(--font-display);
  font-size: 0.8rem;
  font-weight: 600;
  letter-spacing: 0.14em;
  color: var(--accent-bright);
  margin-bottom: 20px;
}
.card h3 { margin-bottom: 10px; }
.card p { color: var(--text-muted); font-size: 0.9375rem; }

/* ---------- Stages (how it works) ---------- */
.stages {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 44px;
}
.stage {
  position: relative;
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 26px 24px 28px;
  transition: border-color 0.25s ease, background-color 0.25s ease;
}
.stage:hover { border-color: var(--line-strong); background: var(--surface-2); }
/* connecting arrow between cards */
.stage + .stage::before {
  content: "";
  position: absolute;
  top: 50%;
  left: -34px;
  width: 24px; height: 10px;
  transform: translateY(-50%);
  background: currentColor;
  color: var(--line-strong);
  -webkit-mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 10'%3E%3Cpath d='M0 5h20M16 1l4 4-4 4' fill='none' stroke='%23000' stroke-width='1.6' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E") center / contain no-repeat;
  mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 10'%3E%3Cpath d='M0 5h20M16 1l4 4-4 4' fill='none' stroke='%23000' stroke-width='1.6' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E") center / contain no-repeat;
}
.stage__num {
  display: inline-block;
  font-family: var(--font-display);
  font-size: 0.72rem;
  font-weight: 600;
  letter-spacing: 0.16em;
  color: var(--accent-bright);
  margin-bottom: 14px;
}
.stage__title { margin-bottom: 10px; font-size: 1.15rem; letter-spacing: -0.018em; }
.stage p { color: var(--text-muted); font-size: 0.875rem; }

/* ---------- Tiles (who we help) ---------- */
.tile {
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 26px 22px;
  transition: border-color 0.25s ease, transform 0.25s ease;
}
.tile:hover { border-color: var(--line-strong); transform: translateY(-2px); }
.tile__icon {
  display: grid;
  place-items: center;
  width: 36px; height: 36px;
  border-radius: 9px;
  border: 1px solid var(--accent-line);
  background: var(--accent-soft);
  color: var(--accent-bright);
  margin-bottom: 16px;
}
.tile h3 { margin-bottom: 10px; }
.tile h3::after {
  content: "";
  display: block;
  width: 22px; height: 2px;
  margin-top: 12px;
  background: var(--accent);
  border-radius: 2px;
  opacity: 1;
}
.tile p { color: var(--text-muted); font-size: 0.875rem; }

/* ---------- Capabilities ---------- */
.capability {
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 26px 24px;
}
.capability__icon {
  display: grid;
  place-items: center;
  width: 38px; height: 38px;
  border-radius: 9px;
  border: 1px solid var(--accent-line);
  background: var(--accent-soft);
  color: var(--accent-bright);
  margin-bottom: 18px;
}
.capability h3 { margin-bottom: 8px; }
.capability p { color: var(--text-muted); font-size: 0.875rem; }

/* ---------- Why Ickle ---------- */
.why {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 0.85fr);
  gap: clamp(40px, 6vw, 80px);
  align-items: start;
}
.chain {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 10px 8px;
  margin: 28px 0;
}
.chain li {
  display: inline-flex;
  align-items: center;
  padding: 8px 14px;
  border: 1px solid var(--line-strong);
  border-radius: 999px;
  background: var(--surface);
  font-size: 0.8125rem;
  font-weight: 500;
  color: var(--text);
}
.chain li + li::before {
  content: "";
  width: 14px; height: 1px;
  background: var(--line-strong);
  margin: 0 12px 0 -12px;
}
.chain li:last-child { border-color: var(--accent-line); color: var(--accent-bright); }

.why__list { display: grid; gap: 0; }
.why__item {
  padding: 24px 0;
  border-top: 1px solid var(--line);
}
.why__item:last-child { border-bottom: 1px solid var(--line); }
.why__item h3 { margin-bottom: 6px; }
.why__item p { color: var(--text-muted); font-size: 0.9rem; }

/* ---------- Tracking dashboard preview ---------- */
.dash {
  margin: 0;
  background: var(--bg-alt);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  overflow: hidden;
}

.dash__chrome {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 12px 20px;
  padding: 18px 22px;
  border-bottom: 1px solid var(--line);
  background: var(--surface);
}
.dash__title {
  font-family: var(--font-display);
  font-size: 0.95rem;
  font-weight: 600;
  letter-spacing: -0.012em;
}
.dash__range { font-size: 0.78rem; color: var(--text-dim); margin-top: 3px; }
.dash__badge {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  padding: 5px 12px;
  border: 1px solid var(--accent-line);
  border-radius: 999px;
  background: var(--accent-soft);
  color: var(--accent-bright);
  font-size: 0.7rem;
  font-weight: 600;
  letter-spacing: 0.1em;
  text-transform: uppercase;
}
.dash__badge::before {
  content: "";
  width: 6px; height: 6px;
  border-radius: 50%;
  background: var(--accent-bright);
}

.dash__body { padding: 22px; display: grid; gap: 20px; }

.dash__kpis {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(148px, 1fr));
  gap: 12px;
}
.kpi {
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--radius-sm);
  padding: 16px 16px 18px;
}
.kpi--accent { border-color: var(--accent-line); background: var(--surface-2); }
.kpi__label {
  font-size: 0.75rem;
  font-weight: 500;
  color: var(--text-dim);
  margin-bottom: 10px;
  line-height: 1.35;
}
.kpi__value {
  font-family: var(--font-display);
  font-size: 1.4rem;
  font-weight: 600;
  letter-spacing: -0.028em;
  line-height: 1;
}
.kpi--accent .kpi__value { color: var(--accent-bright); }

.dash__panel {
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--radius-sm);
  padding: 22px;
}
.dash__panel-title {
  font-size: 0.72rem;
  font-weight: 600;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: var(--text-dim);
  margin-bottom: 20px;
}

.funnel { display: grid; gap: 14px; }
.funnel__row {
  display: grid;
  grid-template-columns: 7rem 3.25rem minmax(0, 1fr) 3.5rem;
  align-items: center;
  gap: 14px;
}
.funnel__label { font-size: 0.875rem; color: var(--text); }
.funnel__count {
  font-family: var(--font-display);
  font-size: 0.875rem;
  font-weight: 600;
  color: var(--text);
  text-align: right;
}
.funnel__track {
  height: 9px;
  border-radius: 999px;
  background: var(--line);
  overflow: hidden;
}
.funnel__bar {
  display: block;
  height: 100%;
  border-radius: 999px;
  background: var(--accent);
}
.funnel__bar--end { background: var(--accent-bright); }
.funnel__pct {
  font-size: 0.8125rem;
  color: var(--text-muted);
  text-align: right;
  font-variant-numeric: tabular-nums;
}

.dash__stats {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(160px, 1fr));
  gap: 14px 20px;
  margin-top: 24px;
  padding-top: 20px;
  border-top: 1px solid var(--line);
}
.dash__stats li { display: grid; gap: 5px; }
.dash__stat-label {
  font-size: 0.72rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--text-dim);
}
.dash__stat-value {
  font-family: var(--font-display);
  font-size: 1.0625rem;
  font-weight: 600;
  letter-spacing: -0.02em;
  color: var(--text);
}

.dash__caption {
  padding: 16px 22px;
  border-top: 1px solid var(--line);
  background: var(--surface);
  font-size: 0.8125rem;
  color: var(--text-dim);
}
.dash__note {
  margin-top: 26px;
  max-width: 44rem;
  font-size: 0.9375rem;
  color: var(--text-muted);
}

/* ---------- Booking ---------- */
.booking__grid {
  display: grid;
  grid-template-columns: minmax(0, 0.82fr) minmax(0, 1.18fr);
  gap: clamp(32px, 4vw, 56px);
  align-items: start;
}
.booking__heading { font-size: 1.35rem; letter-spacing: -0.018em; margin-bottom: 12px; }
.booking__copy { color: var(--text-muted); font-size: 0.9375rem; }

.booking__meta {
  display: grid;
  gap: 12px;
  margin-top: 26px;
  padding-top: 24px;
  border-top: 1px solid var(--line);
}
.booking__meta li {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 0.9375rem;
  font-weight: 500;
  color: var(--text);
}
.booking__meta svg { color: var(--accent-bright); flex: none; }
.booking__meta a { color: var(--accent-bright); }
.booking__meta a:hover { color: var(--text); text-decoration: underline; text-underline-offset: 3px; }

.booking__checklist-title {
  margin-top: 28px;
  margin-bottom: 14px;
  font-size: 0.72rem;
  font-weight: 600;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: var(--text-dim);
}
.booking__checklist { display: grid; gap: 9px; }
.booking__checklist li {
  position: relative;
  padding-left: 20px;
  font-size: 0.9rem;
  color: var(--text-muted);
}
.booking__checklist li::before {
  content: "";
  position: absolute;
  left: 0; top: 0.62em;
  width: 6px; height: 6px;
  border-radius: 50%;
  background: var(--accent);
}
.booking__fallback {
  margin-top: 28px;
  padding-top: 22px;
  border-top: 1px solid var(--line);
  font-size: 0.875rem;
  color: var(--text-dim);
}
.booking__fallback a { color: var(--accent-bright); }
.booking__fallback a:hover { color: var(--text); text-decoration: underline; text-underline-offset: 3px; }

.booking__frame {
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 10px;
  overflow: hidden;
}
.booking__iframe {
  display: block;
  width: 100%;
  min-height: 760px;
  border: 0;
  border-radius: 9px;
  background: var(--surface-2);
  color-scheme: normal;
}

/* ---------- CTA ---------- */
.section--cta { padding-bottom: clamp(80px, 10vw, 140px); }
.cta-panel {
  position: relative;
  overflow: hidden;
  background: var(--surface);
  border: 1px solid rgba(37, 99, 235, 0.26);
  border-radius: 20px;
  padding: clamp(40px, 6vw, 76px) clamp(28px, 5vw, 72px);
  text-align: center;
}
.cta-panel::before {
  content: "";
  position: absolute;
  inset: -60% 20% auto 20%;
  aspect-ratio: 2 / 1;
  background: radial-gradient(ellipse at center, rgba(37, 99, 235, 0.16) 0%, rgba(37, 99, 235, 0) 65%);
  pointer-events: none;
}
.cta-panel > * { position: relative; }
.cta-panel h2 { max-width: 20ch; margin-inline: auto; }
.cta-panel__copy {
  color: var(--text-muted);
  font-size: var(--lead);
  max-width: 40rem;
  margin: 20px auto 34px;
}

.channels {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 12px 28px;
  margin-top: 34px;
  padding-top: 28px;
  border-top: 1px solid var(--line);
}
.channels a {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 0.9375rem;
  font-weight: 500;
  color: var(--text-muted);
}
.channels a:hover { color: var(--accent-bright); }
.channels__label {
  font-size: 0.7rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--text-dim);
}
/* ---------- Footer ---------- */
.site-footer {
  border-top: 1px solid var(--line);
  background: var(--bg-alt);
  padding-block: 48px;
}
.site-footer__inner {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 24px 40px;
}
.site-footer__mark {
  display: flex;
  align-items: center;
  gap: 10px;
}
.site-footer__tagline {
  margin-top: 8px;
  font-size: 0.875rem;
  color: var(--text-dim);
}
.site-footer__nav ul { display: flex; flex-wrap: wrap; gap: 24px; }
.site-footer__nav a { font-size: 0.9rem; color: var(--text-muted); }
.site-footer__nav a:hover { color: var(--text); }
.site-footer__legal { font-size: 0.8125rem; color: var(--text-dim); }

/* ---------- Legal pages (privacy, terms) ---------- */
.legal { padding-block: clamp(52px, 7vw, 88px) var(--section-y); }
.legal__inner { max-width: 46rem; }
.legal__title { margin-bottom: 14px; }
.legal__meta { font-size: 0.8125rem; color: var(--text-dim); }
.legal__intro {
  margin-top: 22px;
  font-size: var(--lead);
  color: var(--text-muted);
}

.legal__callout {
  margin-top: clamp(32px, 4vw, 44px);
  background: var(--surface);
  border: 1px solid var(--accent-line);
  border-radius: var(--radius);
  padding: 24px 26px;
}
.legal__callout p { color: var(--text-muted); font-size: 0.9375rem; }
.legal__callout strong { color: var(--text); font-weight: 600; }

.legal__body { margin-top: clamp(36px, 4vw, 52px); }
.legal__body h2 {
  font-size: 1.3rem;
  letter-spacing: -0.014em;
  margin-top: 46px;
  margin-bottom: 14px;
}
.legal__body h2:first-child { margin-top: 0; }
.legal__body h3 { margin-top: 26px; margin-bottom: 8px; }
.legal__body p { color: var(--text-muted); margin-bottom: 16px; }
.legal__body ul {
  list-style: disc;
  padding-left: 1.3rem;
  margin-bottom: 18px;
  display: grid;
  gap: 8px;
}
.legal__body li { color: var(--text-muted); }
.legal__body li::marker { color: var(--line-strong); }
.legal__body a {
  color: var(--accent-bright);
  text-decoration: underline;
  text-underline-offset: 3px;
}
.legal__body a:hover { color: var(--text); }
.legal__body strong { color: var(--text); font-weight: 600; }
.legal__body > :last-child { margin-bottom: 0; }

/* ---------- Reveal on scroll (only when JS is available) ---------- */
.js .reveal {
  opacity: 0;
  transform: translateY(14px);
  transition: opacity 0.6s cubic-bezier(0.22, 1, 0.36, 1), transform 0.6s cubic-bezier(0.22, 1, 0.36, 1);
}
.js .reveal.is-visible { opacity: 1; transform: none; }

/* =========================================================
   Responsive
   ========================================================= */
@media (max-width: 1040px) {
  .stages { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 44px; }
  /* arrows only make sense between horizontally adjacent cards */
  .stages .stage:nth-child(odd)::before { display: none; }
  .grid--5 { grid-template-columns: repeat(auto-fit, minmax(220px, 1fr)); }
  .dash__kpis { grid-template-columns: repeat(auto-fit, minmax(136px, 1fr)); }
  .funnel__row { grid-template-columns: 6rem 3rem minmax(0, 1fr) 3.25rem; }
}

@media (max-width: 920px) {
  .hero__inner { grid-template-columns: 1fr; }
  .hero__title { max-width: 20ch; }
  .hero__visual { max-width: none; }
  .why { grid-template-columns: 1fr; }
  .booking__grid { grid-template-columns: 1fr; }
}

@media (max-width: 860px) {
  .nav-toggle { display: inline-flex; }

  .site-nav {
    position: absolute;
    top: 100%; left: 0; right: 0;
    display: grid;
    justify-items: stretch;
    gap: 0;
    padding: 8px 20px 22px;
    background: var(--bg);
    border-bottom: 1px solid var(--line);
    box-shadow: 0 18px 40px rgba(3, 6, 12, 0.6);
    visibility: hidden;
    opacity: 0;
    transform: translateY(-8px);
    transition: opacity 0.2s ease, transform 0.2s ease, visibility 0.2s;
  }
  .site-nav.is-open { visibility: visible; opacity: 1; transform: none; }
  .site-nav__list { display: grid; gap: 0; }
  .site-nav__list a {
    display: block;
    padding: 14px 2px;
    font-size: 1rem;
    border-bottom: 1px solid var(--line);
  }
  .site-nav__cta { margin-top: 18px; justify-content: center; padding: 13px 24px; font-size: 0.9375rem; }
}

@media (max-width: 620px) {
  .stages { grid-template-columns: 1fr; gap: 12px; }
  .stages .stage::before { display: none; }
  .card, .capability, .tile { padding: 24px 20px; }

  .caps { gap: 8px 16px; }
  .pipe { padding: 16px; }
  .pipe__kpis { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .flow__step { grid-template-columns: 4.2rem minmax(0, 1fr) 2.9rem 2.9rem; gap: 8px; }
  .hero__actions .btn { flex: 1 1 auto; }
  .site-footer__inner { flex-direction: column; align-items: flex-start; text-align: left; }

  /* Dashboard: two KPI columns, and the funnel bar drops to its own row so
     labels and percentages stay readable on narrow screens. */
  .dash__body { padding: 14px; gap: 14px; }
  .dash__chrome, .dash__caption { padding-inline: 16px; }
  .dash__kpis { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 10px; }
  .dash__panel { padding: 18px 16px; }
  .funnel__row {
    grid-template-columns: minmax(0, 1fr) auto auto;
    gap: 7px 10px;
  }
  .funnel__label { grid-column: 1; grid-row: 1; }
  .funnel__count { grid-column: 2; grid-row: 1; text-align: left; }
  .funnel__pct   { grid-column: 3; grid-row: 1; }
  .funnel__track { grid-column: 1 / -1; grid-row: 2; }

  /* Booking widget stacks its date picker above the time slots on narrow
     screens, so it needs more vertical room. */
  .booking__frame { padding: 6px; }
  .booking__iframe { min-height: 880px; }
}

/* ---------- Reduced motion ---------- */
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after {
    animation-duration: 0.001ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.001ms !important;
  }
  .js .reveal { opacity: 1; transform: none; }
}
