/* =========================================================
   Flickd — Home
   Tokens follow the Gaudio Lab reference system:
   one accent (the logo blue), Poppins display + Roboto body, shadowless.
   ========================================================= */

:root {
  /* Color */
  --sky: #0058fd;            /* logo blue — the single accent */
  --sky-press: #0046cc;
  --sky-dark: #5b93ff;       /* accent on night backgrounds (keeps contrast) */
  --ink: #111214;
  --ink-2: #4a4f57;          /* secondary body text on white */
  --canvas: #ffffff;
  --surface: #f0f5ff;
  --night: #1e1e1f;
  --night-2: #2a2a2c;
  --muted: #9ca3af;
  --faint: #d3d5da;
  --hairline: #d6d6d6;
  --on-primary: #fafafa;
  --client: #23262d;         /* neutral stand-in for a client's own brand in case-study screens */

  /* Type */
  --font-display: "Poppins", system-ui, sans-serif;
  --font-body: "Roboto", "Helvetica Neue", Arial, sans-serif;

  /* Space */
  --s-1: 4px; --s-2: 8px; --s-3: 12px; --s-4: 16px;
  --s-5: 24px; --s-6: 40px; --s-7: 64px; --s-8: 112px;

  /* Radius */
  --r-sm: 4px; --r-md: 6px; --r-lg: 12px; --r-xl: 16px; --r-full: 9999px;

  /* Motion */
  --fast: 120ms;
  --standard: 240ms;
  --ease: cubic-bezier(0.25, 0.1, 0.25, 1);

  --header-h: 68px;
  --gutter: 20px;
  --max: 1200px;
}

/* ---------- Base ---------- */
*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-padding-top: var(--header-h); }
body {
  margin: 0;
  background: var(--canvas);
  color: var(--ink);
  font: 400 16px/1.5 var(--font-body);
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}
body.no-scroll { overflow: hidden; }
img, svg { display: block; max-width: 100%; }
a { color: inherit; }
h1, h2, h3 { margin: 0; font-family: var(--font-display); color: var(--ink); }
p { margin: 0; }
ul, ol { margin: 0; padding: 0; list-style: none; }
button { font: inherit; color: inherit; }

:focus-visible { outline: 2px solid var(--sky); outline-offset: 3px; border-radius: 2px; }
.band-night :focus-visible, .footer :focus-visible, .call-card :focus-visible { outline-color: var(--sky-dark); }

.container { width: 100%; max-width: var(--max); margin-inline: auto; padding-inline: var(--gutter); }
.visually-hidden {
  position: absolute !important; width: 1px; height: 1px; overflow: hidden;
  clip: rect(0 0 0 0); white-space: nowrap;
}
.skip-link {
  position: absolute; left: var(--s-4); top: -60px; z-index: 100;
  background: var(--ink); color: #fff; padding: var(--s-2) var(--s-4); border-radius: var(--r-md);
}
.skip-link:focus { top: var(--s-4); }

site-header, site-footer { display: block; }
site-header { min-height: var(--header-h); }

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center;
  gap: var(--s-2);
  height: 44px; padding: 0 var(--s-5);
  border: 1px solid transparent; border-radius: var(--r-sm);
  font: 500 16px/1 var(--font-body);
  text-decoration: none; white-space: nowrap; cursor: pointer;
  transition: background-color var(--fast) var(--ease), color var(--fast) var(--ease), border-color var(--fast) var(--ease);
}
.btn--sm { height: 36px; padding: 0 var(--s-4); font-size: 14px; border-radius: var(--r-md); }
.btn--lg { height: 52px; padding: 0 28px; }
.btn--block { width: 100%; }

.btn--primary { background: var(--sky); color: var(--on-primary); }
.btn--primary:hover { background: var(--sky-press); }
.btn--outline { border-color: var(--sky); color: var(--sky-press); background: transparent; }
.btn--outline:hover { background: var(--surface); }
.btn:active { transform: translateY(1px); }

.btn-row { display: flex; flex-wrap: wrap; gap: var(--s-3); }

/* ---------- Header ---------- */
.header {
  position: fixed; inset: 0 0 auto; z-index: 50;
  background: rgba(255, 255, 255, 0.92);
  -webkit-backdrop-filter: saturate(160%) blur(10px);
  backdrop-filter: saturate(160%) blur(10px);
  border-bottom: 1px solid transparent;
  transition: border-color var(--standard) var(--ease);
}
.header.is-scrolled, .header.is-open { border-bottom-color: var(--hairline); }
.header.is-open { background: var(--canvas); }
.header__inner { height: var(--header-h); display: flex; align-items: center; gap: var(--s-5); }

.logo { display: inline-flex; align-items: center; text-decoration: none; color: var(--ink); }
/* Full "Flickd Studio" lockup; black parts follow currentColor so the footer can flip them to white */
.logo { flex: none; }
.logo__img { height: 44px; width: auto; }
.footer .logo__img { height: 56px; }

.nav { margin-left: auto; }
.nav__list { display: flex; gap: var(--s-1); }
.nav__link {
  display: inline-flex; align-items: center; height: 36px; padding: 0 var(--s-4);
  border-radius: var(--r-md); font: 500 14px/1 var(--font-body);
  text-decoration: none; color: var(--ink);
  transition: background-color var(--fast) var(--ease), color var(--fast) var(--ease);
}
.nav__link:hover { background: var(--surface); }
.nav__link[aria-current="page"] { color: var(--sky-press); }

.menu-toggle {
  display: none; margin-left: auto;
  width: 44px; height: 44px; border: 0; border-radius: var(--r-full);
  background: transparent; cursor: pointer; position: relative;
}
.menu-toggle span {
  position: absolute; left: 12px; right: 12px; height: 2px; background: var(--ink); border-radius: 2px;
  transition: transform var(--standard) var(--ease), top var(--standard) var(--ease);
}
.menu-toggle span:first-child { top: 17px; }
.menu-toggle span:last-child { top: 25px; }
.menu-toggle[aria-expanded="true"] span:first-child { top: 21px; transform: rotate(45deg); }
.menu-toggle[aria-expanded="true"] span:last-child { top: 21px; transform: rotate(-45deg); }

.mobile-menu {
  height: calc(100dvh - var(--header-h));
  padding: var(--s-5) var(--gutter) calc(var(--s-6) + env(safe-area-inset-bottom));
  display: flex; flex-direction: column; justify-content: space-between;
  overflow-y: auto;
}
.mobile-menu[hidden] { display: none; }
.mobile-menu__list li { border-bottom: 1px solid var(--hairline); }
.mobile-menu__link {
  display: flex; align-items: center; min-height: 64px;
  font: 600 24px/1.2 var(--font-display); letter-spacing: -0.02em; text-decoration: none;
}
.mobile-menu__link[aria-current="page"] { color: var(--sky-press); }

@media (max-width: 959px) {
  .nav, .header__cta { display: none; }
  .menu-toggle { display: block; }
}

/* ---------- Sections ---------- */
.section { padding-block: var(--s-8); }
.section-title {
  font-weight: 700;
  font-size: clamp(30px, 4.2vw, 48px);
  line-height: 1.12;
  letter-spacing: -0.025em;
  max-width: 16ch;
  text-wrap: balance;
}
.section-lead { font-size: 18px; line-height: 1.6; color: var(--ink-2); max-width: 56ch; }
.section-head { display: grid; gap: var(--s-5); margin-bottom: var(--s-7); }
.section-head--row { grid-template-columns: 1fr auto; align-items: end; }

.split { display: grid; grid-template-columns: 5fr 6fr; gap: var(--s-7); align-items: start; }
.prose { display: grid; gap: var(--s-4); font-size: 18px; line-height: 1.65; color: var(--ink-2); max-width: 60ch; }
.prose__strong { color: var(--ink); font-weight: 500; }

/* ---------- Hero ---------- */
.hero { padding-top: calc(var(--header-h) + 72px); padding-bottom: var(--s-8); }
.hero__grid { display: grid; grid-template-columns: 1fr 1fr; gap: var(--s-7); align-items: center; }
.hero__title {
  font-weight: 700;
  font-size: clamp(40px, 5.6vw, 68px);
  line-height: 1.04;
  letter-spacing: -0.035em;
  max-width: 12ch;
  text-wrap: balance;
}
.hero__lead { margin-top: var(--s-5); font-size: 19px; line-height: 1.6; color: var(--ink-2); max-width: 46ch; }
.hero .btn-row { margin-top: var(--s-6); }
.hero__services {
  display: flex; flex-wrap: wrap; gap: 6px;
  margin-top: var(--s-6); padding-top: var(--s-5);
  border-top: 1px solid var(--hairline);
}
.hero__services a {
  display: inline-flex; align-items: center; height: 38px; padding: 0 13px;
  border: 1px solid var(--hairline); border-radius: var(--r-full);
  font: 500 14px/1 var(--font-body); color: var(--ink); text-decoration: none;
  transition: background-color var(--fast) var(--ease), border-color var(--fast) var(--ease), color var(--fast) var(--ease);
}
.hero__services a:hover { background: var(--surface); border-color: var(--sky); color: var(--sky-press); }

/* Hero: one enquiry moving through the system */
.journey {
  margin: 0;
  border: 1px solid var(--hairline);
  border-radius: var(--r-xl);
  background: var(--canvas);
  overflow: hidden;
}
.journey__head {
  display: flex; justify-content: space-between; align-items: center; gap: var(--s-3);
  padding: var(--s-4) var(--s-5);
  border-bottom: 1px solid var(--hairline);
  font-size: 14px;
}
.journey__title { font-weight: 500; }
.journey__live { display: inline-flex; align-items: center; gap: var(--s-2); color: var(--ink-2); white-space: nowrap; }
.journey__live i { width: 8px; height: 8px; border-radius: 50%; background: var(--sky); animation: pulse 2s var(--ease) infinite; }
@keyframes pulse { 50% { opacity: 0.3; } }

.journey__steps { position: relative; padding: var(--s-3) var(--s-5); }
/* rail behind the nodes, and the blue progress on top of it */
.journey__steps::before, .journey__steps::after {
  content: ""; position: absolute; left: calc(var(--s-5) + 11px); top: var(--rail-top, 38px); width: 2px;
}
.journey__steps::before { bottom: var(--rail-bottom, 38px); background: #e6e8ec; }
.journey__steps::after { height: var(--fill, 0px); background: var(--sky); transition: height 600ms var(--ease); }

.journey__step {
  position: relative;
  display: grid; grid-template-columns: 24px 1fr auto; align-items: center; gap: var(--s-4);
  padding: 14px 0;
}
.journey__step + .journey__step { border-top: 1px solid #f0f1f3; }
.journey__node {
  position: relative; z-index: 1;
  width: 24px; height: 24px; border-radius: 50%;
  border: 2px solid var(--faint); background: var(--canvas);
  transition: border-color var(--standard) var(--ease), background-color var(--standard) var(--ease);
}
.journey__text { display: grid; gap: 2px; min-width: 0; }
.journey__text b { font: 600 15px/1.3 var(--font-display); color: var(--muted); transition: color var(--standard) var(--ease); }
.journey__text span { font-size: 14px; line-height: 1.4; color: var(--muted); transition: color var(--standard) var(--ease); }
.journey__tool {
  padding: 5px 10px; border-radius: var(--r-full);
  border: 1px solid #eceef1; font-size: 12px; font-weight: 500; color: var(--muted); white-space: nowrap;
  transition: all var(--standard) var(--ease);
}

.journey__step.is-done .journey__node { border-color: var(--ink); background: var(--ink); }
.journey__step.is-done .journey__node::after {
  content: ""; position: absolute; left: 7px; top: 3px; width: 5px; height: 10px;
  border: solid #fff; border-width: 0 2px 2px 0; transform: rotate(45deg);
}
.journey__step.is-done .journey__text b { color: var(--ink); }
.journey__step.is-done .journey__text span { color: var(--ink-2); }
.journey__step.is-done .journey__tool { border-color: var(--hairline); color: var(--ink-2); }

.journey__step.is-active .journey__node { border-color: var(--sky); background: var(--canvas); box-shadow: inset 0 0 0 5px var(--canvas), inset 0 0 0 12px var(--sky); }
.journey__step.is-active .journey__text b { color: var(--sky); }
.journey__step.is-active .journey__text span { color: var(--ink); }
.journey__step.is-active .journey__tool { border-color: var(--sky); background: var(--surface); color: var(--sky); }

.journey__foot {
  display: flex; align-items: center; gap: var(--s-3);
  padding: var(--s-4) var(--s-5);
  border-top: 1px solid var(--hairline); background: var(--surface);
  font-size: 14px; color: var(--ink-2);
}
.journey__foot svg { flex: none; width: 20px; height: 20px; color: var(--sky); }

/* ---------- Problem ---------- */
.problem { border-top: 1px solid var(--hairline); }
.compare {
  display: grid; grid-template-columns: 1fr 1fr; gap: var(--s-5);
  margin-top: var(--s-7);
}
.compare__col { border-radius: var(--r-xl); padding: var(--s-6); display: flex; flex-direction: column; gap: var(--s-5); }
.compare__col h3 { font-size: 20px; font-weight: 600; letter-spacing: -0.01em; }
.compare__col > p { margin-top: auto; font-size: 15px; color: var(--ink-2); }
.compare__col--site { border: 1px solid var(--hairline); }
.compare__col--site h3 { color: var(--ink-2); }
.compare__col--system { background: var(--surface); }

/* Same list shape on both sides: connected on the right, broken on the left */
.chain { position: relative; display: grid; gap: var(--s-3); }
.chain::before {
  content: ""; position: absolute; left: 15px; top: 26px; bottom: 26px;
  width: 2px; background: var(--sky);
}
.chain li {
  position: relative; display: flex; align-items: center; gap: var(--s-4);
  min-height: 52px; padding: 10px var(--s-4) 10px 0; font-size: 16px; font-weight: 500;
}
.chain li::before {
  content: ""; position: relative; z-index: 1; flex: none; width: 32px; height: 32px; border-radius: 50%;
  background: var(--canvas); border: 2px solid var(--sky);
  background-image: radial-gradient(circle, var(--sky) 0 5px, transparent 6px);
}
.chain--broken li { color: var(--ink-2); font-weight: 400; }
.chain--broken li::before { border-color: var(--faint); background-image: none; }
/* line pieces stop short of each other, leaving a gap between every pair */
.chain--broken::before {
  background: repeating-linear-gradient(to bottom, #b9bdc4 0 27px, transparent 27px 37px, #b9bdc4 37px 64px);
}

/* ---------- Night band: web system ---------- */
.band-night { background: var(--night); color: #fff; }
.band-night .section-title { color: #fff; }
.band-night .section-lead { color: var(--faint); }

.stages { display: grid; grid-template-columns: 300px 1fr; gap: var(--s-6); align-items: stretch; }
.stages__tabs { display: flex; flex-direction: column; border-left: 1px solid #3a3a3d; }
.stages__tabs [role="tab"] {
  display: flex; align-items: center; gap: var(--s-4);
  min-height: 60px; padding: 0 var(--s-5);
  margin-left: -1px; border: 0; border-left: 2px solid transparent;
  background: transparent; color: var(--muted); text-align: left;
  font: 600 20px/1 var(--font-display); letter-spacing: -0.01em;
  cursor: pointer;
  transition: color var(--fast) var(--ease), border-color var(--fast) var(--ease);
}
.stages__tabs [role="tab"] .n { font: 500 13px/1 var(--font-body); color: var(--muted); min-width: 20px; }
.stages__tabs [role="tab"]:hover { color: #fff; }
.stages__tabs [role="tab"].is-done { color: var(--faint); }
.stages__tabs [role="tab"][aria-selected="true"] { color: #fff; border-left-color: var(--sky-dark); }
.stages__tabs [role="tab"][aria-selected="true"] .n { color: var(--sky-dark); }

.stages__panels {
  position: relative;
  background: var(--night-2); border-radius: var(--r-xl);
  padding: var(--s-6);
  display: flex; flex-direction: column;
}
.stage { display: grid; grid-template-columns: minmax(0, 1fr) 300px; gap: var(--s-6); align-items: center; animation: stage-in var(--standard) var(--ease); }
.stage__body { display: grid; gap: var(--s-5); align-content: start; }
.stage h3 { color: #fff; font-size: clamp(32px, 4vw, 44px); font-weight: 700; letter-spacing: -0.03em; }
.stage p { font-size: 19px; line-height: 1.6; color: var(--faint); max-width: 46ch; }
.stage__link {
  justify-self: start;
  color: var(--sky-dark); font-weight: 500; font-size: 15px;
  text-decoration: underline; text-underline-offset: 4px; text-decoration-thickness: 1px;
}
.stage__link:hover { color: #fff; }

/* Example deliverables: small light "interface" cards drawn in HTML/CSS */
.stage__example { margin: 0; display: grid; gap: var(--s-3); }
.stage__example figcaption { font-size: 13px; line-height: 1.45; color: var(--muted); }
.mock {
  display: grid; gap: 10px; align-content: start;
  min-height: 200px; padding: var(--s-4);
  border-radius: var(--r-lg); background: var(--canvas); color: var(--ink);
  font-size: 12px; line-height: 1.4;
}
.mock__line { display: block; height: 6px; border-radius: 3px; background: #e6e8ec; }
.mock__line--mid { width: 70%; }
.mock__line--short { width: 45%; }
.mock__meta { font-size: 11px; color: var(--ink-2); }
.mock__title { font: 600 14px/1.3 var(--font-display); }
.mock__btn {
  display: inline-flex; align-items: center; justify-content: center; height: 30px; padding: 0 12px;
  border-radius: var(--r-sm); background: var(--sky); color: var(--on-primary); font-weight: 500; font-size: 11px;
}
.mock__btn--ghost { background: transparent; color: var(--sky); box-shadow: inset 0 0 0 1px var(--sky); }
.mock__btn--full { width: 100%; margin-top: 4px; }

/* attract */
.mock__search {
  height: 32px; display: flex; align-items: center; padding: 0 14px;
  border: 1px solid var(--hairline); border-radius: var(--r-full); color: var(--ink-2);
}
.mock__result { display: grid; gap: 6px; padding: 10px; border-radius: var(--r-md); background: var(--surface); }
.mock__result--dim { background: transparent; opacity: 0.7; }
.mock__url { font-size: 11px; color: var(--ink-2); }
.mock__link { font-weight: 500; font-size: 13px; color: var(--sky); }

/* engage */
.mock__nav { display: flex; align-items: center; gap: 8px; padding-bottom: 8px; border-bottom: 1px solid #eceef1; }
.mock__nav i { width: 18px; height: 18px; border-radius: 4px; background: var(--ink); }
.mock__nav span { width: 22px; height: 5px; border-radius: 3px; background: #e6e8ec; }
.mock__nav span:first-of-type { margin-left: auto; }
.mock__nav b { width: 34px; height: 14px; border-radius: 3px; background: var(--sky); }
.mock__h { font: 700 17px/1.2 var(--font-display); letter-spacing: -0.02em; margin-top: 4px; }
.mock__actions { display: flex; gap: 6px; flex-wrap: wrap; }
.mock__cards { display: grid; grid-template-columns: repeat(3, 1fr); gap: 6px; margin-top: 2px; }
.mock__cards i { height: 34px; border-radius: 6px; background: var(--surface); }

/* capture */
.mock__label { font-size: 11px; color: var(--ink-2); margin-bottom: -6px; }
.mock__input { height: 30px; display: flex; align-items: center; padding: 0 10px; border: 1px solid #b9bdc4; border-radius: var(--r-sm); }
.mock__days { display: grid; grid-template-columns: repeat(4, 1fr); gap: 6px; }
.mock__days span { height: 28px; display: grid; place-items: center; border: 1px solid var(--hairline); border-radius: var(--r-sm); }
.mock__days .is-on { border-color: var(--sky); background: var(--surface); color: var(--sky); font-weight: 500; }

/* nurture */
.mock__sms {
  justify-self: start; max-width: 92%;
  padding: 10px 12px; border-radius: 14px 14px 14px 4px; background: var(--surface);
}
.mock__pipeline { display: grid; grid-template-columns: repeat(3, 1fr); gap: 6px; margin-top: 4px; }
.mock__pipeline div { display: grid; gap: 6px; padding: 8px; border-radius: var(--r-md); background: #f4f5f7; align-content: start; min-height: 64px; }
.mock__pipeline span { font-size: 10px; color: var(--ink-2); }
.mock__pipeline i { font-style: normal; height: 22px; border-radius: 4px; background: #e6e8ec; }
.mock__pipeline .is-on { background: var(--surface); }
.mock__pipeline .is-on i {
  display: flex; align-items: center; padding: 0 6px; font-size: 10px; font-weight: 500;
  background: var(--canvas); box-shadow: inset 2px 0 0 var(--sky);
}

/* improve */
.mock__bars { display: grid; gap: 10px; margin: 4px 0; }
.mock__bars div { display: grid; grid-template-columns: 52px 1fr; align-items: center; gap: 8px; }
.mock__bars span { font-size: 11px; color: var(--ink-2); }
.mock__bars i { display: block; width: var(--w); height: 12px; border-radius: 3px; background: var(--sky); }
.mock__bars div + div i { background: #9dbcfe; }
.stage[hidden] { display: none; }
@keyframes stage-in { from { opacity: 0; transform: translateY(6px); } }

.tags { display: flex; flex-wrap: wrap; gap: var(--s-2); margin-top: var(--s-2); }
.tags li {
  padding: 8px 14px; border-radius: var(--r-full);
  border: 1px solid #434347; font-size: 14px; color: #fff;
}
.stages__track { margin-top: auto; padding-top: var(--s-6); }
.stages__track::before { content: ""; display: block; height: 2px; background: #3a3a3d; border-radius: 2px; }
.stages__track span {
  display: block; height: 2px; margin-top: -2px; background: var(--sky-dark); border-radius: 2px;
  transform-origin: left; transition: transform var(--standard) var(--ease);
}

/* ---------- Why ---------- */
.why .section-title { margin-bottom: var(--s-5); }
.points { border-top: 1px solid var(--ink); }
.points li {
  display: flex; align-items: center; gap: var(--s-4);
  padding: 22px 0; border-bottom: 1px solid var(--hairline);
  font: 500 clamp(17px, 1.8vw, 20px)/1.35 var(--font-display); letter-spacing: -0.01em;
}
.points li::before {
  content: ""; flex: none; width: 22px; height: 22px;
  background: no-repeat center / 22px url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 22 22'%3E%3Ccircle cx='11' cy='11' r='10' fill='%23f0f5ff'/%3E%3Cpath d='M6.5 11.5l3 3 6-6.5' fill='none' stroke='%230058fd' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E");
}

/* ---------- Process ---------- */
.process { background: var(--surface); }
.steps { display: grid; grid-template-columns: repeat(4, 1fr); gap: var(--s-5); counter-reset: step; }
.step { position: relative; padding-top: var(--s-6); border-top: 2px solid var(--ink); }
.step::before {
  content: ""; position: absolute; top: -7px; left: 0;
  width: 12px; height: 12px; border-radius: 50%; background: var(--ink);
}
.step:last-child { border-top-color: var(--sky); }
.step:last-child::before { background: var(--sky); }
.step__n { display: block; font: 500 14px/1 var(--font-body); color: var(--ink-2); margin-bottom: var(--s-3); }
.step h3 { font-size: 22px; font-weight: 600; letter-spacing: -0.015em; margin-bottom: var(--s-3); }
.step p { font-size: 16px; line-height: 1.6; color: var(--ink-2); }

/* ---------- Final CTA ---------- */
.final-cta__inner { display: grid; grid-template-columns: 7fr 5fr; gap: var(--s-7); align-items: end; }
.final-cta__title {
  font-weight: 700; font-size: clamp(34px, 5vw, 60px); line-height: 1.06; letter-spacing: -0.035em;
  text-wrap: balance;
}
.final-cta .section-lead { margin-bottom: var(--s-5); }

/* ---------- Footer ---------- */
.footer { background: var(--night); color: var(--faint); padding: var(--s-7) 0 var(--s-5); }
.footer .logo { color: #fff; }
.footer a { text-decoration: none; }
.footer__top {
  display: grid; grid-template-columns: 1.4fr 1fr 1fr; gap: var(--s-6);
  padding-bottom: var(--s-7); border-bottom: 1px solid #3a3a3d;
}
.footer__statement { margin-top: var(--s-5); max-width: 34ch; font-size: 16px; line-height: 1.6; }
.footer__nav { display: grid; grid-template-columns: 1fr 1fr; gap: var(--s-5); }
.footer__nav ul { display: grid; gap: var(--s-3); align-content: start; }
.footer__nav a { font-size: 15px; transition: color var(--fast) var(--ease); }
.footer__nav a:hover { color: #fff; }
.footer__cta { display: grid; gap: var(--s-4); justify-items: start; align-content: start; }
.footer__cta p { color: #fff; font: 600 20px/1.3 var(--font-display); }
.footer__bottom {
  display: flex; justify-content: space-between; align-items: baseline; flex-wrap: wrap; gap: var(--s-3);
  padding-top: var(--s-5);
}
.footer__tagline { font: 600 18px/1.3 var(--font-display); color: #fff; }
.footer__copy { font-size: 14px; color: var(--muted); }

/* =========================================================
   Inner pages
   ========================================================= */

/* ---------- Page hero ---------- */
.page-hero {
  padding-top: calc(var(--header-h) + 88px);
  padding-bottom: var(--s-8);
  border-bottom: 1px solid var(--hairline);
}
.page-hero--compact { padding-bottom: var(--s-7); }
.page-hero__grid { display: grid; grid-template-columns: 1fr 1fr; gap: var(--s-7); align-items: center; }
.page-hero__grid--text { align-items: end; }
.page-hero__title {
  font-weight: 700;
  font-size: clamp(38px, 5vw, 60px);
  line-height: 1.06;
  letter-spacing: -0.035em;
  max-width: 14ch;
  text-wrap: balance;
}
.page-hero__grid:not(.page-hero__grid--text) .page-hero__intro { margin-top: var(--s-5); }

/* Who we are: the parts behind the website */
.behind { margin: 0; display: grid; }
.behind__label { font-size: 14px; color: var(--ink-2); margin-bottom: var(--s-3); }
.behind__parts { display: grid; grid-template-columns: repeat(4, 1fr); gap: var(--s-2); }
.behind__parts li {
  position: relative;
  display: flex; align-items: center; justify-content: center; text-align: center;
  min-height: 64px; padding: var(--s-3) var(--s-2);
  border: 1px solid var(--hairline); border-radius: var(--r-lg); background: var(--surface);
  font: 500 15px/1.25 var(--font-display); letter-spacing: -0.01em;
}
/* connection point at the bottom of each part */
.behind__parts li::after {
  content: ""; position: absolute; left: 50%; bottom: -5px; margin-left: -4px;
  width: 8px; height: 8px; border-radius: 50%; background: var(--ink);
}
.behind__wires { width: 100%; height: 72px; overflow: visible; }
.behind__wires path { fill: none; stroke: var(--ink); stroke-width: 1.5; vector-effect: non-scaling-stroke; }
.behind__site {
  position: relative;
  border: 1.5px solid var(--ink); border-radius: var(--r-lg); background: var(--canvas);
}
.behind__port {
  position: absolute; left: 50%; top: -8px; margin-left: -8px;
  width: 16px; height: 16px; border-radius: 50%;
  background: var(--sky); box-shadow: 0 0 0 4px var(--canvas);
}
.behind__bar { padding: 12px 16px; border-bottom: 1px solid var(--hairline); }
.behind__bar span { display: inline-block; padding: 4px 12px; border-radius: var(--r-full); background: #f4f5f7; font-size: 12px; color: var(--ink-2); }
.behind__page { display: grid; gap: 8px; padding: var(--s-5) var(--s-5) var(--s-3); }
.behind__page i { display: block; height: 8px; border-radius: 4px; background: #e6e8ec; }
.behind__page i.h { height: 16px; width: 72%; background: var(--ink); }
.behind__page i.h--short { width: 48%; margin-bottom: 6px; }
.behind__page i.short { width: 60%; }
.behind__page b { display: block; width: 120px; height: 32px; margin-top: 8px; border-radius: var(--r-sm); background: var(--sky); }
.behind__label--in { margin: 0; padding: 0 var(--s-5) var(--s-4); text-align: right; }

/* Who we are: principles */
.split--flush { align-items: end; }
.prose--dark { color: var(--faint); }
.principles { display: grid; grid-template-columns: 1fr 1fr; gap: var(--s-6) var(--s-7); }
.principles li { padding-top: var(--s-5); border-top: 1px solid #3a3a3d; }
.principles h3 {
  font-size: clamp(24px, 2.6vw, 32px); font-weight: 600; line-height: 1.2; letter-spacing: -0.02em;
  color: var(--muted);
}
.principles h3 span { color: #fff; }
.principles p { margin-top: var(--s-3); font-size: 17px; line-height: 1.6; color: var(--faint); max-width: 44ch; }

/* Who we are: mission */
.mission { background: var(--surface); }
.mission__inner { display: grid; grid-template-columns: 1fr 3fr; gap: var(--s-6); }
.mission__label { font: 500 16px/1.6 var(--font-body); color: var(--ink-2); padding-top: 0.5em; }
.mission__text {
  font: 600 clamp(26px, 3.4vw, 42px)/1.25 var(--font-display);
  letter-spacing: -0.025em; max-width: 28ch; text-wrap: balance;
}

.final-cta__inner--row { display: flex; justify-content: space-between; align-items: flex-end; flex-wrap: wrap; gap: var(--s-6); }
.final-cta__inner--row .final-cta__title { max-width: 16ch; }

/* ---------- What we do ---------- */
.service-index { display: flex; flex-wrap: wrap; gap: var(--s-2); margin-top: var(--s-7); }
.service-index a {
  display: inline-flex; align-items: center; gap: 10px;
  min-height: 44px; padding: 0 18px;
  border: 1px solid var(--hairline); border-radius: var(--r-full);
  font: 500 14px/1.2 var(--font-body); text-decoration: none;
  transition: background-color var(--fast) var(--ease), border-color var(--fast) var(--ease);
}
.service-index a:hover { background: var(--surface); border-color: var(--sky); }
.service-index span { color: var(--sky-press); }

.service { padding-block: var(--s-8); }
.service + .service { border-top: 1px solid var(--hairline); }
.service__grid { display: grid; grid-template-columns: 7fr 5fr; gap: var(--s-7); align-items: start; }
.service__name { display: flex; gap: 10px; font: 500 15px/1.4 var(--font-body); color: var(--ink-2); }
.service__name span { color: var(--sky-press); }
.service__title {
  margin-top: var(--s-4);
  font-size: clamp(28px, 3.6vw, 44px); font-weight: 700; line-height: 1.12; letter-spacing: -0.03em;
  max-width: 18ch; text-wrap: balance;
}
.service__desc { margin-top: var(--s-5); font-size: 18px; line-height: 1.65; color: var(--ink-2); max-width: 50ch; }
.service__includes { padding: var(--s-5) var(--s-5) var(--s-3); border-radius: var(--r-xl); background: var(--surface); }
.service__includes h3 { font: 500 14px/1 var(--font-body); color: var(--ink-2); margin-bottom: var(--s-2); }
.service__includes li { display: flex; align-items: center; gap: var(--s-3); padding: 12px 0; font-size: 16px; }
.service__includes li + li { border-top: 1px solid #dbe5fa; }
.service__includes li::before { content: ""; flex: none; width: 6px; height: 6px; border-radius: 50%; background: var(--ink); }

.summary { display: grid; grid-template-columns: 5fr 6fr; gap: var(--s-7); align-items: start; }
.summary__cta { margin-top: var(--s-6); }
.summary__chain { position: relative; }
.summary__chain::before {
  content: ""; position: absolute; left: 7px; top: 12px; bottom: 30px; width: 2px; background: #3a3a3d;
}
.summary__chain li {
  position: relative;
  padding: 18px 0 18px 44px;
  border-bottom: 1px solid #3a3a3d;
  font: 500 clamp(18px, 2vw, 22px)/1.35 var(--font-display); letter-spacing: -0.01em;
  color: var(--faint);
}
.summary__chain li::before {
  content: ""; position: absolute; left: 0; top: calc(18px + 0.675em - 8px);
  width: 16px; height: 16px; border-radius: 50%;
  background: var(--night); border: 2px solid var(--faint);
}
.summary__chain li:first-child { padding-top: 0; }
.summary__chain li:first-child::before { top: calc(0.675em - 8px); }
.summary__chain li:last-child::before { border-color: var(--sky-dark); background: var(--sky-dark); }
.summary__chain strong { color: #fff; font-weight: 600; }

/* ---------- Contact ---------- */
.contact { padding-top: var(--s-7); }
.contact__grid { display: grid; grid-template-columns: minmax(0, 1fr) 340px; gap: var(--s-7); align-items: start; }
.form, .form-done { grid-column: 1; grid-row: 1; }
.call-card {
  grid-column: 2; grid-row: 1;
  position: sticky; top: calc(var(--header-h) + var(--s-5));
  padding: var(--s-6) var(--s-5) var(--s-5);
  border-radius: var(--r-xl); background: var(--night); color: var(--faint);
}
.call-card h2 { color: #fff; font-size: 24px; font-weight: 600; line-height: 1.25; letter-spacing: -0.02em; }
.call-card p { margin: var(--s-3) 0 var(--s-5); font-size: 16px; line-height: 1.6; }
.call-card .btn--outline { color: #fff; border-color: var(--sky-dark); }
.call-card .btn--outline:hover { background: rgba(91, 147, 255, 0.16); }

.form__group { margin: 0 0 var(--s-6); padding: 0 0 var(--s-6); border: 0; border-bottom: 1px solid var(--hairline); min-width: 0; }
.form__group legend { padding: 0; margin-bottom: var(--s-5); font: 600 20px/1.3 var(--font-display); letter-spacing: -0.01em; }
.form__row { display: grid; grid-template-columns: 1fr 1fr; gap: 0 var(--s-4); }
.field { display: grid; gap: 6px; margin-bottom: var(--s-5); align-content: start; }
.form__group > .field:last-child, .form__group > .form__row:last-child .field { margin-bottom: 0; }
.field label { font-size: 15px; font-weight: 500; }
.field__opt { margin-left: 6px; font-size: 13px; font-weight: 400; color: var(--ink-2); }
.field input, .field textarea, .field select {
  width: 100%; min-height: 48px; padding: 12px 14px;
  border: 1px solid #b9bdc4; border-radius: var(--r-md);
  background: var(--canvas); color: var(--ink);
  font: 400 16px/1.4 var(--font-body);
  transition: border-color var(--fast) var(--ease);
}
.field textarea { resize: vertical; min-height: 96px; }
.field input::placeholder, .field textarea::placeholder { color: #80868f; }
.field input:hover, .field textarea:hover, .field select:hover { border-color: var(--ink-2); }
.field input:focus-visible, .field textarea:focus-visible, .field select:focus-visible {
  outline: 2px solid var(--sky); outline-offset: 0; border-color: var(--sky); border-radius: var(--r-md);
}
.field [aria-invalid="true"] { border-color: #c4320a; }
.field__error { font-size: 14px; color: #b42318; }
.select { position: relative; }
.select select { appearance: none; -webkit-appearance: none; padding-right: 40px; cursor: pointer; }
.select::after {
  content: ""; position: absolute; right: 18px; top: 50%; width: 7px; height: 7px; margin-top: -6px;
  border-right: 2px solid var(--ink); border-bottom: 2px solid var(--ink); transform: rotate(45deg); pointer-events: none;
}

.form__submit { display: flex; align-items: center; flex-wrap: wrap; gap: var(--s-4) var(--s-5); }
.form__submit .btn[disabled] { opacity: 0.6; cursor: progress; }
.form__note { font-size: 14px; line-height: 1.5; color: var(--ink-2); max-width: 40ch; }
.form__status { margin-top: var(--s-5); padding: 12px 16px; border-radius: var(--r-md); background: #fef3f2; color: #b42318; font-size: 15px; }

.form-done {
  display: grid; justify-items: start; gap: var(--s-4);
  padding: var(--s-7) var(--s-6); border-radius: var(--r-xl); background: var(--surface);
}
.form-done[hidden] { display: none; }
.form-done svg { width: 48px; height: 48px; }
.form-done h2 { font-size: clamp(26px, 3vw, 34px); font-weight: 700; letter-spacing: -0.025em; }
.form-done p { font-size: 17px; line-height: 1.6; color: var(--ink-2); max-width: 48ch; }
.form-done:focus { outline: none; }

/* ---------- Example page ---------- */
.text-link {
  justify-self: start;
  color: var(--sky); font-weight: 500; font-size: 15px;
  text-decoration: underline; text-underline-offset: 4px; text-decoration-thickness: 1px;
}
.text-link:hover { color: var(--sky-press); }

.ex-hero { align-items: end; }
.ex-note {
  margin-top: var(--s-5); padding: 12px 16px; max-width: 52ch;
  border-left: 2px solid var(--sky); background: var(--surface);
  font-size: 14px; line-height: 1.5; color: var(--ink-2);
}
.ex-index { display: grid; border-top: 1px solid var(--ink); }
.ex-index a {
  display: grid; grid-template-columns: 32px 1fr auto; align-items: baseline; gap: var(--s-3);
  padding: 14px 4px; border-bottom: 1px solid var(--hairline);
  font: 600 18px/1.3 var(--font-display); text-decoration: none;
  transition: background-color var(--fast) var(--ease);
}
.ex-index a:hover { background: var(--surface); }
.ex-index span { font: 500 13px/1 var(--font-body); color: var(--sky); }
.ex-index em { font: 400 13px/1.3 var(--font-body); font-style: normal; color: var(--ink-2); text-align: right; }

.ex-step { padding-block: var(--s-8); }
.ex-step + .ex-step { border-top: 1px solid var(--hairline); }
.ex-step__grid { display: grid; grid-template-columns: 5fr 7fr; gap: var(--s-7); align-items: center; }
.ex-step__text { display: grid; gap: var(--s-5); align-content: start; }
.ex-step__n { display: flex; gap: 10px; font: 500 15px/1.4 var(--font-body); color: var(--ink-2); }
.ex-step__n span { color: var(--sky); }
.ex-step__text h2 {
  font-size: clamp(28px, 3.4vw, 40px); font-weight: 700; line-height: 1.12; letter-spacing: -0.03em; text-wrap: balance;
}
.ex-step__text > p:not(.ex-step__n) { font-size: 18px; line-height: 1.65; color: var(--ink-2); max-width: 48ch; }
.ex-list { display: flex; flex-wrap: wrap; gap: var(--s-2); }
.ex-list li { padding: 7px 12px; border-radius: var(--r-full); background: var(--surface); font-size: 14px; }

/* Stage that holds each example screen */
.ex-stage {
  margin: 0; display: grid; gap: var(--s-4); justify-items: stretch;
  padding: var(--s-6); border-radius: var(--r-xl); background: var(--surface);
  font-size: 13px; line-height: 1.45;
}
.ex-stage--phone { justify-items: center; }

.win { padding: var(--s-5); border: 1px solid var(--hairline); border-radius: var(--r-lg); background: var(--canvas); }
.win__label { font-size: 12px; font-weight: 500; color: var(--ink-2); margin-bottom: var(--s-3); }

/* 01 strategy doc */
.doc { padding: var(--s-6) var(--s-5); border: 1px solid var(--hairline); border-radius: var(--r-lg); background: var(--canvas); }
.doc__title { font: 600 16px/1.3 var(--font-display); padding-bottom: var(--s-4); border-bottom: 1px solid var(--hairline); }
.doc dl { margin: 0; display: grid; }
.doc dl > div { display: grid; grid-template-columns: 150px 1fr; gap: var(--s-4); padding: 14px 0; border-bottom: 1px solid #eceef1; }
.doc dl > div:last-child { border-bottom: 0; padding-bottom: 0; }
.doc dt { font-size: 12px; font-weight: 500; color: var(--ink-2); }
.doc dd { margin: 0; font-size: 14px; }
.doc__flow { display: flex; flex-wrap: wrap; gap: 6px; }
.doc__flow span { position: relative; padding: 4px 10px; border-radius: var(--r-full); border: 1px solid var(--sky); color: var(--sky); font-size: 12px; font-weight: 500; }

/* 02 search ad + campaigns */
.serp__query { height: 38px; display: flex; align-items: center; padding: 0 16px; border: 1px solid var(--hairline); border-radius: var(--r-full); font-size: 14px; }
.serp__ad { display: grid; gap: 4px; margin-top: var(--s-4); padding: var(--s-4); border-radius: var(--r-md); background: var(--surface); }
.serp__meta { font-size: 12px; color: var(--ink-2); }
.serp__ad strong { font-size: 16px; font-weight: 500; color: var(--sky); }
.serp__ad p { color: var(--ink-2); }
.serp__organic { display: grid; gap: 6px; margin-top: var(--s-4); padding: 0 var(--s-4); }
.serp__organic i { height: 7px; border-radius: 4px; background: #e6e8ec; }
.serp__organic i.short { width: 55%; }
.mini-table { width: 100%; border-collapse: collapse; font-size: 13px; }
.mini-table th { text-align: left; font-weight: 500; font-size: 12px; color: var(--ink-2); padding: 0 8px 8px 0; border-bottom: 1px solid var(--hairline); }
.mini-table td { padding: 10px 8px 10px 0; border-bottom: 1px solid #eceef1; }
.mini-table tr:last-child td { border-bottom: 0; padding-bottom: 0; }
.tick { font-weight: 500; color: var(--sky); }

/* 03 browser + landing page */
.browser { border: 1px solid var(--hairline); border-radius: var(--r-lg); background: var(--canvas); overflow: hidden; }
.browser__bar { display: flex; align-items: center; gap: 6px; padding: 10px 14px; border-bottom: 1px solid var(--hairline); background: #f7f8fa; }
.browser__bar i { width: 9px; height: 9px; border-radius: 50%; background: var(--faint); }
.browser__bar span { margin-left: 10px; flex: 1; padding: 4px 10px; border-radius: var(--r-full); background: var(--canvas); font-size: 12px; color: var(--ink-2); overflow: hidden; white-space: nowrap; text-overflow: ellipsis; }
.site { padding: var(--s-4) var(--s-5) var(--s-5); display: grid; gap: var(--s-5); }
.site__nav { display: flex; align-items: center; gap: var(--s-4); font-size: 12px; color: var(--ink-2); }
.site__nav b { font: 700 16px/1 var(--font-display); color: var(--ink); margin-right: auto; letter-spacing: -0.02em; }
.site__nav em { font-style: normal; padding: 6px 10px; border-radius: var(--r-sm); background: var(--client); color: #fff; font-weight: 500; }
.site__hero { display: grid; grid-template-columns: 1.1fr 1fr; gap: var(--s-4); align-items: center; }
.site__hero strong { display: block; font: 700 22px/1.15 var(--font-display); letter-spacing: -0.02em; }
.site__hero p { margin: 8px 0 12px; color: var(--ink-2); }
.site__hero em { display: inline-block; font-style: normal; padding: 9px 12px; border-radius: var(--r-sm); background: var(--client); color: #fff; font-weight: 500; font-size: 12px; }
.price { width: 100%; height: auto; overflow: visible; }
.price__zone--charge { fill: #e6f6ec; }
.price__zone--sell { fill: #fdecea; }
.price__line { fill: none; stroke: var(--client); stroke-width: 2.5; stroke-linecap: round; }
.price__axis { stroke: var(--hairline); }
.price text { font: 500 10px var(--font-body); fill: var(--client); text-anchor: middle; }
.price .price__t { font-weight: 400; fill: var(--ink-2); text-anchor: start; }
.site__steps { display: grid; grid-template-columns: repeat(3, 1fr); gap: var(--s-2); }
.site__steps div { display: grid; gap: 6px; padding: 10px; border-radius: var(--r-md); background: #f4f2ee; font-size: 12px; }
.site__steps b { width: 20px; height: 20px; display: grid; place-items: center; border-radius: 50%; background: var(--client); color: #fff; font-size: 11px; }

/* 04 phone + booking form */
.phone { width: 100%; max-width: 290px; padding: 10px; border-radius: 36px; background: var(--ink); }
.phone__screen { display: grid; gap: 10px; padding: 26px 16px 18px; border-radius: 28px; background: var(--canvas); }
.bk__title { font: 600 16px/1.25 var(--font-display); }
.bk__progress { display: grid; grid-template-columns: repeat(3, 1fr); gap: 4px; }
.bk__progress i { height: 4px; border-radius: 2px; background: #e6e8ec; }
.bk__progress i.on { background: var(--client); }
.bk__q { margin-top: 4px; font-size: 13px; font-weight: 500; }
.bk__opts, .bk__slots { display: flex; flex-wrap: wrap; gap: 6px; }
.bk__opts span, .bk__slots span { padding: 7px 10px; border: 1px solid var(--hairline); border-radius: var(--r-full); font-size: 12px; }
.bk__slots span { border-radius: var(--r-sm); }
.bk__opts .on, .bk__slots .on { border-color: var(--client); background: var(--client); color: #fff; }
.bk__input { height: 36px; display: flex; align-items: center; padding: 0 10px; border: 1px solid #b9bdc4; border-radius: var(--r-sm); font-size: 12px; color: #80868f; }
.bk__btn { margin-top: 6px; height: 40px; display: grid; place-items: center; border-radius: var(--r-md); background: var(--client); color: #fff; font-weight: 500; }

/* 05 follow-up */
.fu { display: grid; gap: var(--s-4); }
.fu__msgs { display: grid; grid-template-columns: 1.2fr 1fr; gap: var(--s-4); align-items: start; }
.sms { display: grid; gap: 4px; padding: 12px 14px; border-radius: 16px 16px 16px 4px; background: var(--canvas); border: 1px solid var(--hairline); }
.sms__from { font-size: 11px; font-weight: 500; color: var(--ink-2); }
.notif { display: grid; gap: 4px; padding: 12px 14px; border-radius: var(--r-md); background: var(--ink); color: #fff; }
.notif span { font-size: 12px; color: var(--faint); }
.crm { display: grid; grid-template-columns: repeat(4, 1fr); gap: var(--s-2); }
.crm__col { display: grid; gap: 6px; align-content: start; min-height: 120px; padding: 8px; border-radius: var(--r-md); background: #f4f5f7; }
.crm__col p { font-size: 11px; color: var(--ink-2); }
.crm__col > i { height: 28px; border-radius: 4px; background: #e6e8ec; }
.crm__col--on { background: var(--surface); }
.crm__card { display: grid; gap: 2px; padding: 8px; border-radius: 4px; background: var(--canvas); border-left: 3px solid var(--sky); font-size: 11px; color: var(--ink-2); }
.crm__card b { font-size: 12px; color: var(--ink); }

/* 06 dashboard */
.dash__head { display: flex; justify-content: space-between; align-items: baseline; gap: var(--s-3); }
.dash__head span { font-size: 11px; color: var(--ink-2); }
.dash__grid { display: grid; grid-template-columns: 1.3fr 1fr; gap: var(--s-3); }
.dash__card { padding: var(--s-4); border-radius: var(--r-md); background: #f7f8fa; }
.dash__t { font-size: 12px; font-weight: 500; margin-bottom: var(--s-3); }
.dash__bars { display: grid; gap: 10px; }
.dash__bars div { display: grid; grid-template-columns: 96px 1fr; align-items: center; gap: 8px; }
.dash__bars span { font-size: 11px; color: var(--ink-2); }
.dash__bars i { display: block; width: var(--w); height: 10px; border-radius: 3px; background: var(--sky); }
.dash__bars div + div i { background: #9dbcfe; }
.dash__funnel { display: grid; gap: 8px; }
.dash__funnel div {
  display: flex; justify-content: space-between; align-items: center;
  width: var(--w); min-width: 110px; padding: 7px 8px; border-radius: 4px;
  background: #dbe5fa; font-size: 11px;
}
.dash__funnel div:first-child { background: var(--sky); color: #fff; }
.dash__next { display: grid; gap: 2px; margin-top: var(--s-3); padding: 12px 14px; border-radius: var(--r-md); border: 1px dashed var(--sky); }
.dash__next b { font-size: 12px; color: var(--sky); }

/* Home link to the example */
.hero__example { margin-top: var(--s-4); font-size: 15px; color: var(--ink-2); }

/* ---------- Responsive ---------- */
@media (max-width: 1023px) {
  .hero__grid, .split, .final-cta__inner { grid-template-columns: 1fr; }
  .hero__grid { gap: var(--s-6); }
  .split { gap: var(--s-5); }
  .stages { grid-template-columns: 1fr; gap: var(--s-4); }
  .stage { grid-template-columns: 1fr; gap: var(--s-6); }
  .stage__example { max-width: 380px; }
  .stages__tabs {
    flex-direction: row; overflow-x: auto; border-left: 0; gap: var(--s-2);
    scrollbar-width: none; margin-inline: calc(var(--gutter) * -1); padding-inline: var(--gutter);
    scroll-padding-inline: var(--gutter);
  }
  .stages__tabs::-webkit-scrollbar { display: none; }
  .stages__tabs [role="tab"] {
    flex: none; min-height: 44px; padding: 0 var(--s-4); margin: 0;
    border: 1px solid #434347; border-radius: var(--r-full); font-size: 16px; gap: var(--s-2);
  }
  .stages__tabs [role="tab"][aria-selected="true"] { border-color: var(--sky-dark); }
  .steps { grid-template-columns: 1fr 1fr; row-gap: var(--s-6); }
  .footer__top { grid-template-columns: 1fr 1fr; }
  .footer__brand { grid-column: 1 / -1; }
  .page-hero__grid, .service__grid, .summary, .contact__grid { grid-template-columns: 1fr; }
  .page-hero__grid { gap: var(--s-6); }
  .service__grid, .summary { gap: var(--s-6); }
  .mission__inner { grid-template-columns: 1fr; gap: var(--s-3); }
  .call-card { grid-column: 1; grid-row: auto; position: static; }
  .form, .form-done { grid-row: auto; }
  .ex-step__grid { grid-template-columns: 1fr; gap: var(--s-6); }
  .ex-hero { align-items: start; }
  .price { max-width: 320px; }
}

@media (max-width: 719px) {
  :root { --gutter: 16px; --header-h: 60px; --s-8: 80px; }
  .logo__img { height: 38px; }
  .hero { padding-top: calc(var(--header-h) + 40px); padding-bottom: var(--s-7); }
  .hero__lead, .prose, .section-lead { font-size: 17px; }
  .btn-row .btn { flex: 1 1 100%; }
  .section-head { margin-bottom: var(--s-6); }
  .section-head--row { grid-template-columns: 1fr; }
  .section-head--row .btn { justify-self: start; }
  .compare { grid-template-columns: 1fr; gap: var(--s-4); margin-top: var(--s-6); }
  .compare__col { padding: var(--s-5); }
  .journey__head, .journey__foot { padding-inline: var(--s-4); }
  .journey__steps { padding-inline: var(--s-4); }
  .journey__steps::before, .journey__steps::after { left: calc(var(--s-4) + 11px); }
  .journey__step { grid-template-columns: 24px 1fr; row-gap: 8px; align-items: start; }
  .journey__tool { grid-column: 2; justify-self: start; }
  .stages__panels { padding: var(--s-6) var(--s-5) var(--s-5); }
  .stage p { font-size: 17px; }
  /* process becomes a vertical timeline */
  .steps { grid-template-columns: 1fr; gap: 0; }
  .step { border-top: 0; border-left: 2px solid var(--ink); padding: 0 0 var(--s-6) var(--s-5); }
  .step:last-child { border-left-color: transparent; padding-bottom: 0; }
  .step::before { top: 0; left: -7px; }
  .footer__top { grid-template-columns: 1fr; }
  .final-cta__inner { gap: var(--s-5); }
  .final-cta .btn { width: 100%; }
  .page-hero { padding-top: calc(var(--header-h) + 48px); padding-bottom: var(--s-7); }
  .service-index { margin-top: var(--s-6); }
  .service { padding-block: var(--s-7); }
  .principles { grid-template-columns: 1fr; gap: var(--s-5); }
  .behind__parts { gap: 6px; }
  .behind__parts li { min-height: 58px; padding: 8px 4px; font-size: 13px; }
  .behind__wires { height: 56px; }
  .form__row { grid-template-columns: 1fr; }
  .form__submit .btn { width: 100%; }
  .form-done { padding: var(--s-6) var(--s-5); }
  .summary__cta { width: 100%; }
  .ex-step { padding-block: var(--s-7); }
  .ex-stage { padding: var(--s-4); margin-inline: calc(var(--gutter) * -1); border-radius: 0; }
  .ex-index em { display: none; }
  .doc { padding: var(--s-5) var(--s-4); }
  .doc dl > div { grid-template-columns: 1fr; gap: 4px; }
  .site__hero { grid-template-columns: 1fr; }
  .site__nav span { display: none; }
  .site__steps { grid-template-columns: 1fr; }
  .fu__msgs { grid-template-columns: 1fr; }
  .crm { grid-template-columns: repeat(2, 1fr); }
  .dash__grid { grid-template-columns: 1fr; }
  .mini-table th:nth-child(3), .mini-table td:nth-child(3) { display: none; }
}

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation: none !important; transition: none !important; scroll-behavior: auto !important; }
}
.nowrap { white-space: nowrap; }
