/* introSDR - site styles */

/* ---------- Fonts ---------- */
/* Served from the site itself (Latin subsets, SIL Open Font License - see assets/fonts). The
   ones above the fold are preloaded in the page head. */
@font-face {
  font-family: "Heebo";
  font-style: normal;
  font-weight: 500;
  font-display: swap;
  src: url("../fonts/heebo-500.woff2") format("woff2");
}

@font-face {
  font-family: "Heebo";
  font-style: normal;
  font-weight: 700;
  font-display: swap;
  src: url("../fonts/heebo-700.woff2") format("woff2");
}

@font-face {
  font-family: "Heebo";
  font-style: normal;
  font-weight: 800;
  font-display: swap;
  src: url("../fonts/heebo-800.woff2") format("woff2");
}

@font-face {
  font-family: "Heebo";
  font-style: normal;
  font-weight: 900;
  font-display: swap;
  src: url("../fonts/heebo-900.woff2") format("woff2");
}

@font-face {
  font-family: "IBM Plex Sans";
  font-style: normal;
  font-weight: 400;
  font-display: swap;
  src: url("../fonts/ibm-plex-sans-400.woff2") format("woff2");
}

@font-face {
  font-family: "IBM Plex Sans";
  font-style: normal;
  font-weight: 500;
  font-display: swap;
  src: url("../fonts/ibm-plex-sans-500.woff2") format("woff2");
}

@font-face {
  font-family: "IBM Plex Sans";
  font-style: normal;
  font-weight: 600;
  font-display: swap;
  src: url("../fonts/ibm-plex-sans-600.woff2") format("woff2");
}

@font-face {
  font-family: "IBM Plex Mono";
  font-style: normal;
  font-weight: 400;
  font-display: swap;
  src: url("../fonts/ibm-plex-mono-400.woff2") format("woff2");
}

@font-face {
  font-family: "IBM Plex Mono";
  font-style: normal;
  font-weight: 500;
  font-display: swap;
  src: url("../fonts/ibm-plex-mono-500.woff2") format("woff2");
}

/* ---------- Tokens ---------- */
:root {
  --paper: #f4f3f1;
  --paper-deep: #ebe9e6;
  --card: #fcfbfa;
  --ink: #111111;
  --ink-soft: #29282d;
  --muted: #5e5c66;
  --line: #dddbdf;
  --line-strong: #c6c3cc;
  --dark: #121116;
  --on-dark: #f4f3f1;
  --on-dark-muted: #b1afb9;
  --on-dark-line: #2f2d36;
  --danger: #b42318;

  /* Brand colors, from the logo: amber through orange-red to violet. */
  --accent: #5c12ff; /* violet - the accent on light backgrounds */
  --accent-rgb: 92, 18, 255;
  --accent-deep: #4309c9;
  --accent-soft: #ece5ff;
  --accent-warm: #fb9a0a; /* amber - the accent on dark backgrounds */
  --accent-warm-rgb: 251, 154, 10;
  --brand-stops: #fb9a0a, #fb5a07 35%, #5c12ff;
  --brand-gradient: linear-gradient(135deg, var(--brand-stops));

  /* Marker highlight behind key words: a light wash of the brand colors, in reading order. */
  --hl-from: #ffdcb5;
  --hl-to: #dccdff;
  --hl-dir: 90deg;

  --font-display: "Heebo", system-ui, sans-serif;
  --font-body: "IBM Plex Sans", system-ui, -apple-system, "Segoe UI", Arial, sans-serif;
  --font-mono: "IBM Plex Mono", ui-monospace, "SF Mono", Menlo, monospace;

  --radius: 16px;
  --radius-lg: 24px;
  --pill: 999px;
  --shadow-sm: 0 6px 16px rgba(17, 16, 22, 0.07);
  --shadow-md: 0 18px 44px rgba(17, 16, 22, 0.1);
  --ease: cubic-bezier(0.2, 0.8, 0.2, 1);

  --container: 1240px;
  --gutter: 24px;
  --nav-top: 0px;
  --nav-h: 76px;
  --flip: 1; /* arrow direction: 1 = LTR, -1 = RTL */
}

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

/* Anything the page hides stays hidden, whatever display its class sets. */
[hidden] {
  display: none !important;
}

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

body {
  margin: 0;
  background: var(--paper);
  color: var(--ink);
  font-family: var(--font-body);
  font-size: 17px;
  font-weight: 400;
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}

img,
svg {
  display: block;
  max-width: 100%;
}

a {
  color: inherit;
  text-decoration: none;
}

h1,
h2,
h3 {
  margin: 0;
  font-family: var(--font-display);
  font-weight: 800;
  line-height: 1.05;
  text-wrap: balance;
}

:lang(en) h1 {
  letter-spacing: -0.028em;
}

:lang(en) h2,
:lang(en) .h2 {
  letter-spacing: -0.03em;
}

h1 {
  font-size: clamp(2.9rem, 6.2vw, 5.4rem);
  font-weight: 900;
}

h2,
.h2 {
  font-size: clamp(2.1rem, 4.2vw, 3.5rem);
}

/* A section page's h1: its first heading, which keeps the h2 look it has on the home page. */
.h2 {
  font-weight: 800;
}

/* The h1's big display look, for a line that isn't the page's h1. */
.display-title {
  font-size: clamp(2.9rem, 6.2vw, 5.4rem);
  font-weight: 900;
}

:lang(en) .display-title {
  letter-spacing: -0.028em;
}

h3 {
  font-size: 1.3rem;
  font-weight: 700;
  line-height: 1.3;
}

/* Marker highlight behind the key words of a heading. */
h1 em,
h2 em {
  padding-inline: 0.05em;
  color: inherit;
  font-style: normal;
  background: linear-gradient(var(--hl-dir), var(--hl-from), var(--hl-to)) 0 80.6% / 100% 38% no-repeat;
  -webkit-box-decoration-break: clone;
  box-decoration-break: clone;
}

/* The slogan: the usual way, struck through, above ours. It stays in English in both languages. */
.slogan {
  text-align: start;
}

/* The struck line sits on its own row, smaller, above ours. */
.slogan s {
  display: table;
  margin-bottom: 0.12em;
  color: var(--muted);
  font-size: 0.66em;
  font-weight: 700;
  text-decoration-thickness: 0.07em;
  text-decoration-color: var(--accent);
}

.section--dark .slogan s {
  color: var(--on-dark-muted);
  text-decoration-color: var(--accent-warm);
}

.section--dark,
.cta-band {
  --hl-from: rgba(251, 90, 7, 0.6);
  --hl-to: rgba(92, 18, 255, 0.75);
}

p {
  margin: 0;
}

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

.skip-link {
  position: absolute;
  top: -100px;
  inset-inline-start: 16px;
  z-index: 100;
  padding: 10px 16px;
  border-radius: var(--pill);
  background: var(--ink);
  color: var(--on-dark);
}

.skip-link:focus {
  top: 16px;
}

.container {
  width: 100%;
  max-width: var(--container);
  margin-inline: auto;
  padding-inline: var(--gutter);
}

section[id] {
  scroll-margin-top: calc(var(--nav-top) + var(--nav-h) + 20px);
}

/* ---------- Type helpers ---------- */
.eyebrow,
.label {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  margin: 0;
  color: var(--ink-soft);
  font-family: var(--font-mono);
  font-size: 13px;
  font-weight: 500;
  letter-spacing: 0.16em;
  line-height: 1.4;
  text-transform: uppercase;
}

.label {
  color: var(--muted);
}

.eyebrow--light {
  color: var(--on-dark-muted);
}

.lead {
  color: var(--muted);
  font-size: 1.22rem;
  font-weight: 400;
  line-height: 1.65;
}

/* Keeps a hyphenated word on one line. */
.nowrap {
  white-space: nowrap;
}

.prose {
  display: grid;
  gap: 16px;
  max-width: 62ch;
  color: var(--muted);
}

.prose strong {
  color: var(--ink);
  font-weight: 600;
}

/* ---------- Logo ---------- */
.logo {
  display: inline-flex;
  align-items: center;
  direction: ltr;
}

.logo__img {
  width: auto;
  height: 30px;
}

/* The nav logo starts a little larger at the top of the page and shrinks to its usual size
   over the first stretch of scrolling (main.js sets --logo-shrink from 0 to 1). */
.nav .logo__img {
  height: calc(40px - 10px * var(--logo-shrink, 0));
  transition: height 0.12s linear;
}

/* The footer carries the one-color logo. */
.footer .logo__img {
  height: 28px;
}

/* ---------- Buttons & links ---------- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  min-height: 60px;
  padding-inline: 32px;
  border: 0;
  border-radius: var(--pill);
  background: var(--accent);
  color: #fff;
  font: inherit;
  font-size: 17px;
  font-weight: 600;
  white-space: nowrap;
  cursor: pointer;
  transition: background-color 0.25s var(--ease), box-shadow 0.25s var(--ease), transform 0.25s var(--ease), color 0.25s var(--ease);
}

.btn:hover,
.btn:focus-visible {
  background: var(--accent-deep);
  box-shadow: 0 10px 26px rgba(var(--accent-rgb), 0.3);
  transform: translateY(-1px);
}

.btn--sm {
  min-height: 46px;
  padding-inline: 22px;
  font-size: 15px;
}

.btn--ghost {
  background: transparent;
  color: var(--ink);
  box-shadow: inset 0 0 0 1.5px var(--line-strong);
}

.btn--ghost:hover,
.btn--ghost:focus-visible {
  background: var(--card);
  box-shadow: inset 0 0 0 1.5px var(--ink);
}

/* The contact form's spam trap: off-screen, so only bots fill it in. */
.lead-form__trap {
  position: absolute;
  left: -10000px;
  width: 1px;
  height: 1px;
  overflow: hidden;
}

/* The brand keeps its own casing, even in an uppercase label. */
.brand-name {
  text-transform: none;
}

/* The privacy policy: a readable column of text. */
.legal {
  display: grid;
  gap: 16px;
  max-width: 760px;
  color: var(--ink-soft);
  font-size: 16px;
  line-height: 1.7;
}

.legal h1 {
  margin-top: 4px;
}

.legal h2 {
  margin-top: 28px;
  font-size: 1.35rem;
  line-height: 1.3;
}

.legal h3 {
  margin-top: 8px;
  font-size: 1.05rem;
}

.legal ul {
  display: grid;
  gap: 8px;
  margin: 0;
  padding-inline-start: 22px;
}

.legal a {
  color: var(--accent);
  text-decoration: underline;
  text-underline-offset: 2px;
}

.legal__updated {
  color: var(--muted);
  font-size: 14px;
}

/* A detail still to be filled in - build.py lists the pages that have one. */
mark.todo {
  padding: 0 3px;
  border-radius: 4px;
  background: #ffe58a;
  color: var(--ink);
}

/* Under the contact form: what the details are for, and the privacy policy. */
.lead-form__note {
  margin: 0;
  color: var(--muted);
  font-size: 13px;
  line-height: 1.5;
}

.lead-form__note a {
  color: inherit;
  text-decoration: underline;
  text-underline-offset: 2px;
}

.footer__bottom a:hover {
  color: var(--accent);
}

/* The 404 page's ways back. */
.not-found__links {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 8px;
}

/* ---------- Nav ---------- */
.nav {
  position: sticky;
  top: env(safe-area-inset-top, 0px);
  z-index: 50;
  height: var(--nav-h);
}

/* Absolutely positioned so the mobile drawer opens over the page instead of pushing it down. */
.nav__pill {
  position: absolute;
  inset: 0 0 auto;
  border-bottom: 1px solid var(--line);
  background: rgba(244, 243, 241, 0.88);
  -webkit-backdrop-filter: blur(14px) saturate(1.2);
  backdrop-filter: blur(14px) saturate(1.2);
  transition: background-color 0.3s var(--ease), box-shadow 0.3s var(--ease);
}

.nav__bar {
  display: flex;
  align-items: center;
  gap: 28px;
  max-width: var(--container);
  min-height: calc(var(--nav-h) - 1px);
  margin-inline: auto;
  padding-inline: var(--gutter);
}

.nav__links {
  display: flex;
  align-items: center;
  gap: 30px;
  margin-inline-start: auto;
}

.nav__links a {
  position: relative;
  padding-block: 6px;
  color: var(--muted);
  font-size: 16px;
  font-weight: 500;
  white-space: nowrap;
  transition: color 0.2s var(--ease);
}

.nav__links a::after {
  content: "";
  position: absolute;
  inset-inline: 0;
  bottom: 0;
  height: 2px;
  border-radius: 2px;
  background: linear-gradient(var(--hl-dir), var(--brand-stops));
  transform: scaleX(0);
  transition: transform 0.25s var(--ease);
}

.nav__links a:hover,
.nav__links a:focus-visible,
.nav__links a[aria-current="page"] {
  color: var(--ink);
  outline: none;
}

.nav__links a:hover::after,
.nav__links a:focus-visible::after,
.nav__links a[aria-current="page"]::after {
  transform: scaleX(1);
}

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

.nav__burger {
  display: none;
  position: relative;
  width: 44px;
  height: 44px;
  border: 0;
  border-radius: 50%;
  background: transparent;
  cursor: pointer;
}

.nav__burger span {
  position: absolute;
  inset-inline-start: 11px;
  width: 22px;
  height: 2px;
  border-radius: 2px;
  background: var(--ink);
  transition: transform 0.35s var(--ease), top 0.35s var(--ease);
}

.nav__burger span:first-child {
  top: 17px;
}

.nav__burger span:last-child {
  top: 25px;
}

.nav__pill.is-open .nav__burger span:first-child {
  top: 21px;
  transform: rotate(45deg);
}

.nav__pill.is-open .nav__burger span:last-child {
  top: 21px;
  transform: rotate(-45deg);
}

.nav__drawer {
  display: none;
}

@media (max-width: 1080px) {
  .nav__links,
  .nav__cta {
    display: none;
  }

  .nav__actions {
    margin-inline-start: auto;
  }

  .nav__burger {
    display: block;
  }

  .nav__pill.is-open {
    background: var(--card);
    box-shadow: var(--shadow-md);
  }

  .nav__drawer {
    display: grid;
    grid-template-rows: 0fr;
    transition: grid-template-rows 0.45s var(--ease);
  }

  .nav__pill.is-open .nav__drawer {
    grid-template-rows: 1fr;
  }

  .nav__drawer-inner {
    display: flex;
    flex-direction: column;
    align-items: center;
    min-height: 0;
    overflow: hidden;
    opacity: 0;
    transition: opacity 0.25s var(--ease);
  }

  .nav__pill.is-open .nav__drawer-inner {
    opacity: 1;
    transition-delay: 0.1s;
  }

  .nav__drawer-links {
    display: flex;
    flex-direction: column;
    align-items: center;
    padding-block: 8px 14px;
  }

  .nav__drawer-links a {
    padding: 11px 20px;
    font-size: 18px;
    font-weight: 500;
    transition: color 0.2s var(--ease);
  }

  .nav__drawer-links a:hover,
  .nav__drawer-links a[aria-current="page"] {
    color: var(--accent);
  }

  .nav__drawer-inner .btn {
    margin-bottom: 28px;
  }
}

/* ---------- Page hero ---------- */
.hero {
  position: relative;
  padding-block: 72px 96px;
}

.hero > .container {
  position: relative;
}

.hero--home .container {
  display: grid;
  grid-template-columns: 1.08fr 0.92fr;
  align-items: center;
  gap: 64px;
}

.hero__copy {
  display: grid;
  justify-items: start;
  gap: 26px;
}

.hero__copy .lead {
  max-width: 56ch;
}

/* ---------- Calendar mockup (home hero) ---------- */
.cal {
  position: relative;
  padding: 24px 24px 28px;
  border: 1px solid var(--line);
  border-radius: 22px;
  background: var(--card);
  box-shadow: 0 30px 70px rgba(17, 16, 22, 0.1);
}

.cal__head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  margin-bottom: 18px;
}

.cal__title {
  font-family: var(--font-display);
  font-size: 17px;
  font-weight: 700;
}

.cal__badge {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  padding: 6px 12px;
  border-radius: var(--pill);
  background: var(--accent-soft);
  color: var(--accent-deep);
  font-size: 14px;
  font-weight: 600;
  white-space: nowrap;
}

.cal__badge i {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--accent);
}

.cal__badge b {
  font-variant-numeric: tabular-nums;
}

.cal__grid {
  display: grid;
  grid-template-columns: 50px repeat(5, 1fr);
  grid-template-rows: 30px repeat(8, 50px);
}

.cal__day {
  grid-row: 1;
  align-self: center;
  color: var(--muted);
  font-size: 14px;
  font-weight: 600;
  text-align: center;
}

.cal__time {
  grid-column: 1;
  color: var(--muted);
  font-family: var(--font-mono);
  font-size: 12px;
  transform: translateY(-8px);
  direction: ltr;
}

.cal__lines {
  grid-column: 2 / -1;
  grid-row: 2 / -1;
  border: 1px solid var(--line);
  border-radius: 10px;
  background-image: linear-gradient(var(--line) 1px, transparent 1px), linear-gradient(90deg, var(--line) 1px, transparent 1px);
  background-size: 20% 50px;
  background-position: -1px -1px;
}

.cal__event {
  position: relative;
  z-index: 1;
  display: grid;
  align-content: center;
  gap: 1px;
  min-width: 0;
  margin: 4px;
  padding: 5px 9px;
  border-radius: 8px;
  background: color-mix(in srgb, var(--ev, var(--ink)) 11%, #fff);
  box-shadow: inset 3px 0 0 var(--ev, transparent);
  line-height: 1.2;
  opacity: 0;
  transform: scale(0.85);
  transition: opacity 0.35s var(--ease), transform 0.5s cubic-bezier(0.2, 1.5, 0.4, 1), background-color 0.8s var(--ease), color 0.8s var(--ease), box-shadow 0.8s var(--ease);
}

.cal__event b {
  overflow: hidden;
  font-size: 13.5px;
  font-weight: 600;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.cal__event small {
  overflow: hidden;
  color: var(--muted);
  font-family: var(--font-mono);
  font-size: 11.5px;
  text-overflow: ellipsis;
  white-space: nowrap;
  transition: color 0.8s var(--ease);
}

.cal__event.is-in {
  opacity: 1;
  transform: none;
}

/* Each kind of meeting has its own color: intros berry, scoping orange, demos violet. */
.cal__event--intro {
  --ev: #c42f7c;
  --ev-rgb: 196, 47, 124;
}

.cal__event--scoping {
  --ev: #f57508;
  --ev-rgb: 245, 117, 8;
  --ev-fill: #b85306; /* a deeper orange, so white text on it stays readable */
}

.cal__event--demo {
  --ev: #5c12ff;
  --ev-rgb: 92, 18, 255;
}

.cal__event b {
  color: color-mix(in srgb, var(--ev, var(--ink)) 70%, #000);
}

/* The meeting just booked lights up in its full color. */
.cal__event.is-new {
  background: var(--ev-fill, var(--ev, var(--accent)));
  color: #fff;
  box-shadow: 0 8px 20px rgba(var(--ev-rgb, var(--accent-rgb)), 0.35);
}

.cal__event.is-new b {
  color: #fff;
}

.cal__event.is-new small {
  color: #fff;
}

.cal__toast {
  position: absolute;
  z-index: 2;
  inset-inline-end: -20px;
  bottom: -40px;
  display: grid;
  gap: 10px;
  width: min(340px, 82%);
  padding: 16px 18px;
  border: 1px solid var(--line);
  border-radius: 16px;
  background: #fff;
  box-shadow: var(--shadow-md);
  font-size: 14.5px;
  line-height: 1.45;
}

.cal__toast p {
  display: flex;
  align-items: baseline;
  gap: 10px;
  transition: opacity 0.35s var(--ease), transform 0.35s var(--ease);
}

.cal__toast p::before {
  content: "";
  flex: none;
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--line-strong);
  transform: translateY(-1px);
}

.cal__toast p.is-booked::before {
  background: var(--accent);
}

.cal__toast p.is-hidden {
  opacity: 0;
  transform: translateY(4px);
}

.cal__toast b {
  font-weight: 600;
}

.cal__toast q {
  color: var(--muted);
}

/* ---------- Sections ---------- */
.section {
  padding-block: 104px;
}

.section--tight {
  padding-block: 72px;
}

.section--deep {
  background: var(--paper-deep);
}

.section--dark {
  background: var(--dark);
  color: var(--on-dark);
}

.section--dark .lead,
.section--dark .prose {
  color: var(--on-dark-muted);
}

.section--dark .eyebrow {
  color: var(--on-dark-muted);
}

.head {
  display: grid;
  justify-items: start;
  gap: 18px;
  max-width: 900px;
  margin-bottom: 56px;
}

.head__title {
  display: grid;
  justify-items: start;
  gap: 18px;
}

/* ---------- Cell grids (bordered) ---------- */
.cells {
  display: grid;
  gap: 1px;
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--line);
}

.cells--3 {
  grid-template-columns: repeat(3, 1fr);
}

.cell {
  display: flex;
  flex-direction: column;
  gap: 12px;
  padding: 24px 26px;
  background: var(--card);
}

.cell p {
  color: var(--muted);
  font-size: 15.5px;
  line-height: 1.6;
}

/* The icon and the title side by side. */
.cell__top {
  display: flex;
  align-items: center;
  gap: 14px;
}

.cell__top h3 {
  font-size: 1.15rem;
  line-height: 1.25;
}

.cell__icon {
  display: grid;
  flex: none;
  place-items: center;
  width: 40px;
  height: 40px;
  border: 1px solid var(--line);
  border-radius: 11px;
  background: var(--paper);
}

/* Two key points, right under the service's description. */
.cell__points {
  display: grid;
  gap: 6px;
  margin: 2px 0 0;
  padding: 0;
  list-style: none;
}

.cell__points li {
  position: relative;
  padding-inline-start: 24px;
  color: var(--ink-soft);
  font-size: 14.5px;
  line-height: 1.45;
}

.cell__points li::before {
  content: "";
  position: absolute;
  top: 2px;
  inset-inline-start: 0;
  width: 16px;
  height: 16px;
  background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%235c12ff' stroke-width='2.6' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='m4.5 12.5 5 5 10-11'/%3E%3C/svg%3E") center / contain no-repeat;
}

.cell__icon svg {
  width: 20px;
  height: 20px;
  fill: none;
  stroke: var(--accent);
  stroke-width: 1.7;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.below {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 16px 40px;
  margin-top: 32px;
}

.below > p {
  max-width: 70ch;
  color: var(--muted);
}

/* ---------- Service details ---------- */
.cell__more {
  display: inline-flex;
  align-items: center;
  align-self: flex-start;
  gap: 8px;
  margin-top: auto;
  padding: 6px 0 0;
  border: 0;
  background: none;
  color: var(--accent);
  font: inherit;
  font-size: 15px;
  font-weight: 600;
  cursor: pointer;
}

.cell__more svg {
  width: 16px;
  height: 16px;
  fill: none;
  stroke: currentColor;
  stroke-width: 2;
  stroke-linecap: round;
  stroke-linejoin: round;
  transition: transform 0.25s var(--ease);
}

.cell__more:hover svg,
.cell__more:focus-visible svg {
  transform: translateX(4px);
}

/* A service's full story, shown on the page itself (services.js). With a mouse it floats under
   the card's "Read more" - in the top layer, as a popover, so the grid's rounded clip doesn't cut
   it; on touch screens it opens inside the card. */
.svc {
  display: grid;
  gap: 14px;
}

.svc[popover] {
  inset: auto;
  width: min(540px, calc(100vw - 32px));
  height: auto;
  margin: 0;
  padding: 24px 28px 26px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--card);
  color: var(--ink);
  box-shadow: 0 24px 60px rgba(18, 17, 22, 0.18), 0 2px 8px rgba(18, 17, 22, 0.06);
  overflow-y: auto;
  overscroll-behavior: contain;
}

/* The browser hides a closed popover, but .svc's own display would win over that. */
.svc[popover]:not(:popover-open) {
  display: none;
}

.svc[popover]:popover-open {
  animation: svc-pop 0.22s var(--ease);
}

.svc[popover].is-up:popover-open {
  animation-name: svc-pop-up;
}

/* Inside the card, under its "Read more". */
.svc:not([popover]) {
  margin-top: 4px;
  padding-top: 20px;
  border-top: 1px solid var(--line);
}

/* The card's own title is right above it there. */
.svc:not([popover]) .svc__name {
  display: none;
}

.svc .svc__name {
  color: var(--ink);
  font-family: var(--font-display);
  font-size: 19px;
  font-weight: 800;
  line-height: 1.2;
}

.svc .svc__tagline {
  color: var(--ink);
  font-size: 16px;
  font-weight: 600;
  line-height: 1.45;
}

.svc .svc__text {
  color: var(--muted);
  font-size: 15px;
  line-height: 1.6;
}

.svc__channel {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 4px 12px;
  padding: 12px 16px;
  border: 1px solid var(--line);
  border-radius: 12px;
  background: var(--paper);
  font-size: 15px;
}

.svc__channel strong {
  color: var(--accent);
}

.svc__channel span {
  color: var(--muted);
}

/* The channel and the way to book, side by side where they fit. */
.svc__foot {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 12px 16px;
  margin-top: 4px;
}

.svc__book {
  flex: none;
}

.svc__book svg {
  width: 18px;
  height: 18px;
  fill: none;
  stroke: currentColor;
  stroke-width: 2;
  stroke-linecap: round;
  stroke-linejoin: round;
}

/* The card whose story is open. */
.cell.is-open {
  box-shadow: inset 0 0 0 1.5px var(--accent);
}

.cell.is-open .cell__more svg {
  transform: translateX(4px);
}

/* Inside the card the arrow turns down, toward the story. */
.cell.is-open:has(> .svc:not([popover])) .cell__more svg {
  transform: rotate(90deg);
}

.cell[id] {
  scroll-margin-top: calc(var(--nav-top) + var(--nav-h) + 20px);
}

/* ---------- Service cards (home) ---------- */
/* Separate cards with a soft tint each, and under the text a small picture of the service at
   work - decorative only (aria-hidden), so it carries no text the card doesn't already say. */
/* Nothing under the cards, so the section ends closer to them. */
#services {
  padding-bottom: 72px;
}

@media (max-width: 900px) {
  #services {
    padding-bottom: 56px;
  }
}

.cells--bento {
  gap: 20px;
  overflow: visible;
  border: 0;
  border-radius: 0;
  background: none;
}

.cells--bento .cell {
  gap: 12px;
  padding: 28px 28px 24px;
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  transition: border-color 0.25s var(--ease), box-shadow 0.25s var(--ease);
}

.cells--bento .cell--violet {
  background: color-mix(in srgb, var(--accent) 5%, var(--card));
  border-color: color-mix(in srgb, var(--accent) 12%, var(--line));
}

.cells--bento .cell--warm {
  background: color-mix(in srgb, var(--accent-warm) 8%, var(--card));
  border-color: color-mix(in srgb, var(--accent-warm) 18%, var(--line));
}

.cells--bento .cell__top h3 {
  font-size: 1.25rem;
}

/* "Read more", with the channels the service runs on across from it. */
.cell__foot {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  margin-top: 2px;
}

.cell__foot .cell__more {
  align-self: center;
  margin-top: 0;
  padding-top: 0;
}

.cell__channels {
  display: flex;
  flex: none;
  gap: 6px;
  margin-inline-start: auto;
}

.cell__channel {
  display: grid;
  place-items: center;
  width: 24px;
  height: 24px;
  border: 1px solid var(--line);
  border-radius: 7px;
  background: #fff;
  color: var(--accent);
}

.cell__channel svg {
  width: 14px;
  height: 14px;
  fill: none;
  stroke: currentColor;
  stroke-width: 1.8;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.cell__channel--linkedin {
  border-color: #0a66c2;
  background: #0a66c2;
  color: #fff;
}

.cell__channel--linkedin svg {
  width: 12px;
  height: 12px;
  fill: currentColor;
  stroke: none;
}

/* A channel the service can add on request. */
.cell__channel--optional {
  border-style: dashed;
  border-color: var(--line-strong);
  background: transparent;
  color: var(--muted);
}

.cells--bento .cell:hover {
  box-shadow: var(--shadow-sm);
}

/* The picture: a little product panel. */
.demo {
  display: grid;
  gap: 2px;
  margin-top: auto;
  padding: 14px 16px;
  border: 1px solid var(--line);
  border-radius: 16px;
  background: #fff;
  box-shadow: 0 10px 26px rgba(17, 16, 22, 0.07);
  color: var(--ink-soft);
  font-size: 13px;
  line-height: 1.35;
  transition: transform 0.3s var(--ease);
}

/* Room between the text and the picture, whatever the text's length. */
.cells--bento .cell > p {
  margin-bottom: 6px;
}

/* A card's two key points, in its story. */
.svc__points {
  margin: 0;
}

.cells--bento .cell:hover .demo {
  transform: translateY(-3px);
}

.demo svg {
  fill: none;
  stroke: currentColor;
  stroke-width: 1.8;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.demo__head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  padding-bottom: 6px;
}

.demo__title {
  color: var(--ink);
  font-weight: 600;
}

.demo__chip {
  padding: 3px 9px;
  border-radius: var(--pill);
  background: var(--accent-soft);
  color: var(--accent-deep);
  font-size: 11.5px;
  font-weight: 600;
  white-space: nowrap;
}

.demo__chip--end {
  margin-inline-start: auto;
}

/* A person, a company or a meeting, with its state at the end. */
.demo__row {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 8px 0;
  border-top: 1px solid #efedf1;
}

.demo__head + .demo__row,
.demo__bar + .demo__row,
.demo > .demo__row:first-child {
  border-top: 0;
}

.demo__avatar,
.demo__logo {
  display: grid;
  flex: none;
  place-items: center;
  width: 30px;
  height: 30px;
  border-radius: 50%;
  background: linear-gradient(135deg, #ffd9b0, #dccdff);
  color: var(--ink);
  font-size: 11px;
  font-weight: 700;
}

.demo__avatar--b {
  background: linear-gradient(135deg, #dccdff, #c9e4ff);
}

.demo__avatar--c {
  background: linear-gradient(135deg, #ffe2c2, #ffc6b0);
}

.demo__avatar--d {
  background: linear-gradient(135deg, #d2f0e0, #dccdff);
}

.demo__logo {
  border-radius: 9px;
  background: var(--paper);
  color: var(--accent);
}

.demo__logo svg {
  width: 16px;
  height: 16px;
}

.demo__who {
  display: grid;
  min-width: 0;
}

.demo__who b {
  overflow: hidden;
  color: var(--ink);
  font-weight: 600;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.demo__who span {
  color: var(--muted);
  font-size: 12px;
}

.demo__state {
  margin-inline-start: auto;
  color: var(--muted);
  font-size: 12px;
  font-weight: 500;
  white-space: nowrap;
}

.demo__state--on {
  color: #0f7a43;
}

.demo__state--on::before {
  content: "";
  display: inline-block;
  width: 6px;
  height: 6px;
  margin-inline-end: 6px;
  border-radius: 50%;
  background: currentColor;
  vertical-align: 1px;
}

/* Network: a heads-up when someone in it posts. */
.demo__alert {
  display: flex;
  align-items: center;
  gap: 8px;
  margin-top: 6px;
  padding: 8px 10px;
  border-radius: 10px;
  background: var(--accent-soft);
  color: var(--accent-deep);
  font-size: 12.5px;
}

.demo__alert svg {
  flex: none;
  width: 15px;
  height: 15px;
}

.demo__alert b {
  font-weight: 600;
}

.demo__go {
  margin-inline-start: auto;
  padding: 3px 10px;
  border-radius: var(--pill);
  background: var(--accent);
  color: #fff;
  font-size: 11.5px;
  font-weight: 600;
}

/* Lead generation: the layers of data behind a message. */
.demo__layers {
  display: grid;
  gap: 6px;
  margin: 0;
  padding: 0;
  list-style: none;
}

.demo__layers li {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  padding: 7px 10px;
  border-radius: 9px;
  background: var(--paper);
}

.demo__layers span {
  color: var(--muted);
  font-family: var(--font-mono);
  font-size: 10.5px;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.demo__layers b {
  color: var(--ink);
  font-weight: 600;
}

.demo__msg {
  justify-self: end;
  max-width: 92%;
  margin-top: 10px;
  padding: 8px 12px;
  border-radius: 12px 12px 4px 12px;
  background: var(--accent);
  color: #fff;
  font-size: 12.5px;
}

/* SDR as a service: the lead's way to a meeting. */
.demo__steps {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 6px;
  margin: 2px 0 8px;
  padding: 0;
  list-style: none;
}

.demo__steps li {
  display: grid;
  gap: 6px;
  color: var(--muted);
  font-size: 11.5px;
  font-weight: 500;
}

.demo__steps li::before {
  content: "";
  height: 5px;
  border-radius: var(--pill);
  background: #ebe8ef;
}

.demo__steps .is-done::before {
  background: linear-gradient(90deg, var(--accent-warm), #fb5a07);
}

.demo__steps .is-now {
  color: var(--accent);
  font-weight: 600;
}

.demo__steps .is-now::before {
  background: var(--accent);
}

.demo__row--event {
  padding: 8px 10px;
  border: 0;
  border-radius: 10px;
  background: var(--paper);
}

.demo__row--event .demo__who b {
  white-space: normal;
}

/* Cold calling: a call in progress, and why it's happening now. */
.demo__live {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  color: #0f7a43;
  font-weight: 600;
}

.demo__live i {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: currentColor;
  animation: demo-live 1.6s ease-in-out infinite;
}

.demo__time {
  color: var(--muted);
  font-family: var(--font-mono);
  font-size: 12px;
}

.demo__wave {
  display: flex;
  align-items: center;
  gap: 3px;
  height: 22px;
  margin-inline-start: auto;
}

.demo__wave i {
  width: 3px;
  height: 100%;
  border-radius: 2px;
  background: var(--accent);
  transform-origin: center;
  animation: demo-wave 1.1s ease-in-out infinite;
}

.demo__wave i:nth-child(2n) {
  animation-delay: -0.35s;
}

.demo__wave i:nth-child(3n) {
  animation-delay: -0.7s;
}

.demo__why {
  display: grid;
  gap: 6px;
  margin-top: 4px;
  padding-top: 10px;
  border-top: 1px solid #efedf1;
}

.demo__tags {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
}

.demo__tags span {
  padding: 4px 9px;
  border-radius: var(--pill);
  background: #fff0de;
  color: #a2510a;
  font-size: 11.5px;
  font-weight: 500;
}

/* Website visitors: a glimpse of the site, and who's on it. */
.demo--browser {
  padding-top: 0;
  overflow: hidden;
}

.demo__bar {
  display: flex;
  align-items: center;
  gap: 5px;
  margin: 0 -16px 4px;
  padding: 9px 12px;
  border-bottom: 1px solid #efedf1;
  background: #f7f6f8;
}

.demo__bar i {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: #d9d6dd;
}

.demo__bar span {
  flex: 1;
  margin-inline-start: 8px;
  padding: 3px 10px;
  border-radius: var(--pill);
  background: #fff;
  color: var(--muted);
  font-family: var(--font-mono);
  font-size: 10.5px;
}

.demo__note {
  display: flex;
  align-items: center;
  gap: 6px;
  margin-top: 4px;
  color: var(--accent);
  font-size: 12px;
  font-weight: 600;
}

.demo__note::before {
  content: "\2192";
}

/* Engagement booster: a post worth replying to, surfaced for you - the reply is yours. */
.demo__lines {
  display: grid;
  gap: 6px;
  padding: 2px 0 10px;
}

.demo__lines i {
  height: 7px;
  border-radius: var(--pill);
  background: #efedf1;
}

.demo__lines i:last-child {
  width: 70%;
}

/* On a desktop screen the heading and all six cards fit in one window: the heading beside its
   lead, and everything in the cards a little tighter. */
@media (min-width: 1100px) {
  #services {
    padding-block: 40px 32px;
  }

  #services .head {
    grid-template-columns: minmax(0, 1.2fr) minmax(0, 1fr);
    align-items: end;
    gap: 12px 56px;
    max-width: none;
    margin-bottom: 28px;
  }

  #services .head__title {
    gap: 12px;
  }

  #services .head__title h2 {
    font-size: clamp(2.1rem, 2.9vw, 2.6rem);
  }

  #services .head .lead {
    font-size: 15.5px;
    line-height: 1.6;
  }

  .cells--bento {
    gap: 14px;
  }

  .cells--bento .cell {
    gap: 8px;
    padding: 18px 22px 16px;
  }

  .cells--bento .cell__top {
    gap: 12px;
  }

  .cells--bento .cell__icon {
    width: 34px;
    height: 34px;
    border-radius: 10px;
  }

  .cells--bento .cell__icon svg {
    width: 18px;
    height: 18px;
  }

  .cells--bento .cell__top h3 {
    font-size: 1.08rem;
  }

  .cells--bento .cell > p {
    font-size: 14px;
    line-height: 1.5;
  }

  .cells--bento .cell__more {
    padding-top: 0;
    font-size: 14px;
  }

  .cells--bento .demo {
    padding: 10px 12px;
    border-radius: 13px;
    font-size: 12px;
  }

  .cells--bento .demo--browser {
    padding-top: 0;
  }

  .cells--bento .demo__bar {
    margin-inline: -12px;
    padding-block: 7px;
  }

  .cells--bento .demo__head {
    padding-bottom: 2px;
  }

  .cells--bento .demo__row {
    padding: 5px 0;
  }

  .cells--bento .demo__avatar,
  .cells--bento .demo__logo {
    width: 26px;
    height: 26px;
  }

  .cells--bento .demo__alert {
    margin-top: 4px;
    padding: 6px 10px;
  }

  .cells--bento .demo__layers {
    gap: 4px;
  }

  .cells--bento .demo__layers li {
    padding: 5px 10px;
  }

  .cells--bento .demo__msg {
    margin-top: 6px;
    padding: 6px 11px;
  }

  .cells--bento .demo__steps {
    margin-bottom: 6px;
  }

  .cells--bento .demo__row--event {
    padding: 6px 10px;
  }

  .cells--bento .demo__why {
    margin-top: 2px;
    padding-top: 7px;
  }
}

/* A shorter window: each picture keeps just its key moment. */
@media (min-width: 1100px) and (max-height: 944px) {
  .cells--bento .demo,
  .cells--bento .demo--browser {
    padding: 8px 10px;
  }

  .cells--bento .demo > :not(.demo__key) {
    display: none;
  }

  .cells--bento .demo > .demo__key {
    margin: 0;
  }

  .cells--bento .demo > .demo__row.demo__key:not(.demo__row--event) {
    padding: 0;
  }

  .cells--bento .demo__layers.demo__key li + li {
    display: none;
  }
}

/* Shorter still: the pictures step aside, so the heading and the six services still fit. */
@media (min-width: 1100px) and (max-height: 814px) {
  #services {
    padding-block: 24px 20px;
  }

  #services .head {
    margin-bottom: 18px;
  }

  .cells--bento .demo {
    display: none;
  }

  .cells--bento .cell__foot {
    margin-top: auto;
  }
}

@keyframes demo-live {
  50% {
    opacity: 0.35;
  }
}

@keyframes demo-wave {
  0%,
  100% {
    transform: scaleY(0.3);
  }

  50% {
    transform: scaleY(1);
  }
}

@keyframes svc-pop {
  from {
    opacity: 0;
    transform: translateY(-6px);
  }
}

@keyframes svc-pop-up {
  from {
    opacity: 0;
    transform: translateY(6px);
  }
}

/* ---------- About and Services pages ---------- */
/* About: the experience behind us, in numbers. */
.stats {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 16px;
  width: 100%;
  margin: 12px 0 0;
  padding: 0;
  list-style: none;
}

.stats li {
  display: grid;
  align-content: start;
  gap: 8px;
  padding: 24px 26px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--card);
}

.stats b {
  justify-self: start;
  font-family: var(--font-display);
  font-size: clamp(2.4rem, 4vw, 3.2rem);
  font-weight: 800;
  line-height: 1;
  letter-spacing: -0.02em;
  background: var(--brand-gradient);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}

.stats span {
  color: var(--muted);
  font-size: 15.5px;
  line-height: 1.5;
}

/* About: the services as a short index, each opening its full story on the Services page. */
.svc-index {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 8px 40px;
  margin: 0;
  padding: 0;
  list-style: none;
}

.svc-index a {
  display: flex;
  align-items: flex-start;
  gap: 16px;
  padding: 18px 0;
  border-bottom: 1px solid var(--line);
  color: inherit;
}

.svc-index__text {
  display: grid;
  gap: 4px;
}

.svc-index b {
  font-family: var(--font-display);
  font-size: 1.15rem;
  transition: color 0.2s var(--ease);
}

.svc-index__text > span {
  color: var(--muted);
  font-size: 15.5px;
  line-height: 1.55;
}

.svc-index a:hover b {
  color: var(--accent);
}

/* About: why work with us - numbered reasons. */
.reasons {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 40px 44px;
  margin: 0;
  padding: 0;
  list-style: none;
  counter-reset: reason;
}

.reasons li {
  display: grid;
  align-content: start;
  gap: 10px;
  counter-increment: reason;
}

.reasons li::before {
  content: counter(reason, decimal-leading-zero);
  color: var(--accent);
  font-family: var(--font-mono);
  font-size: 13px;
  font-weight: 500;
  letter-spacing: 0.16em;
}

.reasons h3 {
  font-size: 1.2rem;
}

.reasons p {
  color: var(--muted);
  font-size: 16px;
  line-height: 1.6;
}

.reasons a,
.callout a {
  color: var(--accent);
  font-weight: 600;
}

/* Services page: a jump list, then every service's whole story - nothing to open. */
.svc-intro .head {
  margin-bottom: 36px;
}

.svc-jump {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}

.svc-jump a {
  padding: 9px 16px;
  border: 1px solid var(--line-strong);
  border-radius: var(--pill);
  color: var(--ink-soft);
  font-size: 15px;
  font-weight: 500;
  transition: border-color 0.2s var(--ease), color 0.2s var(--ease);
}

.svc-jump a:hover {
  border-color: var(--accent);
  color: var(--accent);
}

.svc-blocks__list {
  display: grid;
  gap: 20px;
}

.svc-block {
  display: grid;
  grid-template-columns: minmax(0, 5fr) minmax(0, 7fr);
  gap: 56px;
  padding: 44px 48px;
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  background: var(--card);
  scroll-margin-top: calc(var(--nav-top) + var(--nav-h) + 20px);
}

.svc-block__side,
.svc-block__body {
  display: grid;
  align-content: start;
  justify-items: start;
  gap: 16px;
}

.svc-block__mark {
  display: flex;
  align-items: center;
  gap: 14px;
  margin-bottom: 4px;
}

.svc-block__num {
  color: var(--muted);
  font-family: var(--font-mono);
  font-size: 13px;
  letter-spacing: 0.16em;
}

.svc-block h2 {
  font-size: clamp(1.6rem, 2.4vw, 2.1rem);
  line-height: 1.15;
}

.svc-block__tagline {
  color: var(--ink);
  font-size: 1.1rem;
  font-weight: 600;
  line-height: 1.45;
}

.svc-block__body > p {
  color: var(--ink-soft);
  font-size: 17px;
  line-height: 1.7;
}

.svc-block__book {
  margin-top: 6px;
}

/* ---------- Home ---------- */
/* ---------- Industry and role pages ---------- */
/* These pages read as one short page: tighter spacing between the sections and inside them.
   Scoped by the pages' own sections (.seg), so it can't reach other pages. The first section
   keeps its room under the nav. */
.section.seg {
  padding-block: 56px;
}

#segment.seg {
  padding-top: 104px;
  padding-bottom: 40px;
}

.section--tight.seg {
  padding-block: 40px;
}

.seg .statement {
  gap: 18px;
}

.seg .head {
  gap: 12px;
  margin-bottom: 32px;
}

.seg .reasons {
  gap: 24px 40px;
}

.seg .below {
  margin-top: 24px;
}

@media (max-width: 900px) {
  .section.seg {
    padding-block: 44px;
  }

  #segment.seg {
    padding-top: 88px;
    padding-bottom: 32px;
  }

  .seg .head {
    margin-bottom: 24px;
  }
}

/* "More industries" / "More roles": the sibling pages, as a row of pills. */
.seg-links {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin: 16px 0 0;
  padding: 0;
  list-style: none;
}

.seg-links a {
  display: inline-flex;
  padding: 9px 16px;
  border: 1px solid var(--line);
  border-radius: var(--pill);
  background: var(--card);
  color: var(--ink);
  font-size: 15px;
  font-weight: 500;
  text-decoration: none;
  transition: border-color 0.2s var(--ease), color 0.2s var(--ease);
}

.seg-links a:hover {
  border-color: var(--accent);
  color: var(--accent);
}

/* ---------- Careers ---------- */
/* The open roles stack one under the other, each card as wide as the page. On wide screens
   the heading sits beside the apply button and the two lists side by side under it; on narrow
   ones it all stacks, with the button last. */
.jobs {
  display: grid;
  gap: 24px;
  margin-top: 48px;
}

.job {
  display: grid;
  gap: 28px;
  padding: 34px 34px 36px;
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  background: var(--card);
  scroll-margin-top: calc(var(--nav-h) + 24px);
}

.job__heading {
  display: grid;
  gap: 14px;
}

.job__meta {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 8px;
}

.job__num {
  margin-inline-end: 6px;
  color: var(--muted);
  font-family: var(--font-mono);
  font-size: 12px;
  font-weight: 500;
  letter-spacing: 0.1em;
  text-transform: uppercase;
}

.job__tag {
  padding: 5px 12px;
  border-radius: var(--pill);
  background: var(--accent-soft);
  color: var(--accent-deep);
  font-family: var(--font-mono);
  font-size: 12px;
  font-weight: 500;
  letter-spacing: 0.1em;
  text-transform: uppercase;
}

.job__title {
  font-size: clamp(1.6rem, 2.4vw, 2rem);
}

.job__intro {
  color: var(--muted);
  font-size: 1.05rem;
  line-height: 1.6;
}

.job__parts {
  display: grid;
  gap: 24px;
}

.job__part {
  display: grid;
  align-content: start;
  gap: 14px;
}

.job__label {
  font-size: 1.05rem;
  font-weight: 700;
}

.job__list {
  display: grid;
  gap: 10px;
  margin: 0;
  padding: 0;
  list-style: none;
}

.job__list li {
  display: flex;
  align-items: flex-start;
  gap: 12px;
  color: var(--ink-soft);
  line-height: 1.5;
}

.job__list li::before {
  content: "";
  flex: none;
  width: 18px;
  height: 18px;
  margin-top: 3px;
  background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%235c12ff' stroke-width='2.6' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='m4.5 12.5 5 5 10-11'/%3E%3C/svg%3E") center / contain no-repeat;
}

/* "Apply for this role" and, under it, the ways to send a CV (careers.js). */
.job__apply {
  position: relative;
  justify-self: stretch;
}

.apply-box {
  display: grid;
  gap: 12px;
  max-width: 380px;
  margin-top: 12px;
  padding: 16px 18px;
  border: 1px solid var(--line);
  border-radius: 16px;
  background: #fff;
  box-shadow: var(--shadow-md);
}

.apply-box[hidden] {
  display: none;
}

.apply-box__text {
  margin: 0;
  color: var(--ink-soft);
  font-size: 14.5px;
  line-height: 1.5;
}

.apply-box__email {
  color: var(--ink);
  font-weight: 600;
}

.apply-box__actions {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

@media (min-width: 900px) {
  .job {
    grid-template-columns: 1fr auto;
    gap: 32px 48px;
    padding: 40px 44px 44px;
  }

  .job__heading {
    grid-column: 1;
    grid-row: 1;
  }

  .job__apply {
    grid-column: 2;
    grid-row: 1;
    align-self: start;
  }

  /* Beside the heading, the panel opens under the button, over the card. */
  .apply-box {
    position: absolute;
    z-index: 5;
    top: calc(100% + 10px);
    right: 0;
    width: 380px;
    margin-top: 0;
  }

  .job__parts {
    grid-column: 1 / -1;
    grid-template-columns: 1fr 1fr;
    gap: 56px;
    padding-top: 32px;
    border-top: 1px solid var(--line);
  }
}

.job__apply svg {
  width: 18px;
  height: 18px;
  fill: none;
  stroke: currentColor;
  stroke-width: 2;
  stroke-linecap: round;
  stroke-linejoin: round;
}

/* ---------- Blog ---------- */
/* The post list: a card per post, newest first. */
.posts {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(min(100%, 340px), 1fr));
  gap: 24px;
  margin: 56px 0 0;
  padding: 0;
  list-style: none;
}

.post {
  display: grid;
  align-content: start;
  gap: 12px;
  height: 100%;
  padding: 28px 28px 30px;
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  background: var(--card);
  color: inherit;
  text-decoration: none;
  transition: border-color 0.25s var(--ease), box-shadow 0.25s var(--ease), transform 0.25s var(--ease);
}

.post:hover {
  border-color: var(--line-strong);
  box-shadow: var(--shadow-sm);
  transform: translateY(-2px);
}

.post__meta {
  color: var(--accent);
  font-family: var(--font-mono);
  font-size: 12px;
  font-weight: 500;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.post__title {
  font-size: 1.35rem;
}

.post__excerpt {
  color: var(--muted);
  line-height: 1.6;
}

.post__more {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  margin-top: 6px;
  color: var(--accent);
  font-size: 0.95rem;
  font-weight: 600;
}

.post__more svg {
  width: 16px;
  height: 16px;
  fill: none;
  stroke: currentColor;
  stroke-width: 2;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.statement {
  display: grid;
  justify-items: start;
  gap: 28px;
}

.statement > * {
  max-width: 1040px;
}

.statement__quote {
  font-family: var(--font-display);
  font-size: clamp(1.9rem, 3.8vw, 3.2rem);
  font-weight: 400;
  line-height: 1.18;
  text-wrap: balance;
}

:lang(en) .statement__quote {
  letter-spacing: -0.02em;
}

/* A shorter echo of the statement, under the "Our approach" heading. */
.engage-line {
  color: var(--ink);
  font-family: var(--font-display);
  font-size: clamp(1.4rem, 2.3vw, 1.85rem);
  font-weight: 500;
  line-height: 1.3;
}

:lang(en) .engage-line {
  letter-spacing: -0.015em;
}

.statement__quote em,
.engage-line em {
  padding-inline: 0; /* no room for the heading marker when it's the hero's h1 */
  font-style: normal;
  color: var(--accent);
  background: linear-gradient(var(--hl-dir), #e14b0b, var(--accent));
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
}

.statement__quote s,
.engage-line s {
  color: var(--muted);
  text-decoration-thickness: 2px;
}

.statement .lead {
  max-width: 60ch;
}

.statement .lead strong,
.hero .lead strong {
  color: var(--ink);
  font-weight: 600;
}

.callout {
  display: grid;
  gap: 12px;
  padding: 28px 32px;
  border-inline-start: 3px solid var(--accent);
  background: var(--card);
  border-radius: 0 var(--radius) var(--radius) 0;
}

.section--dark .callout {
  background: #1d1b24;
  border-color: var(--accent-warm);
}

.callout p {
  font-family: var(--font-display);
  font-size: 1.25rem;
  line-height: 1.45;
}

.section--dark .callout p {
  color: var(--on-dark);
}

/* The seven growth stages as a workflow: nodes on a line, each joined by a short stem to a
   one-line callout. With scripting (.is-live) the stages come
   out one by one as the page scrolls; on tall enough screens (.is-pinned) the line holds
   still in the middle of the screen while they do. */
.growflow {
  --node: 38px;
  --gap: 14px;
  --stem: 22px;
  margin-top: 8px;
}

.growflow.is-pinned .growflow__pin {
  position: sticky;
  top: var(--pin-top, 0px);
}

/* The scroll distance that plays the stages while the line is pinned. */
.growflow.is-pinned .growflow__runway {
  height: 320vh;
}

/* The section heading sits in the pinned frame too, split in two columns so the heading,
   the process bar and the line fit one screen together. */
.head--split {
  grid-template-columns: minmax(0, 1.1fr) minmax(0, 1fr);
  align-items: end;
  gap: 18px 56px;
  max-width: none;
  margin-bottom: 28px;
}

.head--split h2,
.head--split .h2 {
  font-size: clamp(2rem, 3.2vw, 2.75rem);
}

.head__side {
  display: grid;
  gap: 10px;
}

.head--split .engage-line {
  font-size: clamp(1.2rem, 1.75vw, 1.5rem);
}

.head--split .lead {
  font-size: 1.05rem;
  line-height: 1.6;
}

/* "The process": a small bar over the line, with the hint to scroll and then the count. */
.growflow__bar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  margin-bottom: 26px;
  padding-bottom: 12px;
  border-bottom: 1px solid var(--line);
}

.growflow__status {
  display: grid;
  justify-items: end;
  margin: 0;
  font-family: var(--font-mono);
  font-size: 12.5px;
  font-weight: 500;
  letter-spacing: 0.12em;
}

.growflow__status > * {
  grid-area: 1 / 1;
  transition: opacity 0.3s var(--ease);
}

.growflow__count {
  color: var(--accent);
  direction: ltr;
  unicode-bidi: isolate;
}

.growflow:not(.is-live) .growflow__count,
.growflow:not(.is-started) .growflow__count {
  opacity: 0;
}

.growflow__hint {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  color: var(--muted);
  text-transform: uppercase;
  opacity: 0;
}

.growflow.is-pinned:not(.is-started) .growflow__hint {
  opacity: 1;
}

.growflow__hint svg {
  width: 15px;
  height: 15px;
  fill: none;
  stroke: var(--accent);
  stroke-width: 2;
  stroke-linecap: round;
  stroke-linejoin: round;
  transform: rotate(90deg);
  animation: hint-nudge 1.6s var(--ease) infinite;
}

@keyframes hint-nudge {
  50% {
    translate: 0 4px;
  }
}

.flowline {
  position: relative;
  display: grid;
  grid-template-columns: repeat(7, minmax(0, 1fr));
  gap: var(--gap);
  margin: 0;
  padding: 0;
  list-style: none;
}

.flowline::before,
.flowline::after {
  content: "";
  position: absolute;
  top: calc(50% - 1px);
  inset-inline: calc((100% - 6 * var(--gap)) / 14);
  height: 2px;
  border-radius: 2px;
}

.flowline::before {
  background: var(--line-strong);
}

/* --fill runs from the first node (0) to the last (1) as the stages come out. */
.flowline::after {
  background: linear-gradient(var(--hl-dir), var(--brand-stops));
  transform: scaleX(var(--fill, 1));
  transform-origin: left;
  transition: transform 0.25s linear;
}

.flowline__step {
  display: grid;
}

/* Each stage takes its color from the logo gradient - amber at the first, violet at the
   last - matching the line under it. --c-next is the next stage's, for the phone segments. */
.flowline__step:nth-child(1) {
  --c: #fb9a0a;
  --c-next: #fb7c09;
}

.flowline__step:nth-child(2) {
  --c: #fb7c09;
  --c-next: #fb5d07;
}

.flowline__step:nth-child(3) {
  --c: #fb5d07;
  --c-next: #d64940;
}

.flowline__step:nth-child(4) {
  --c: #d64940;
  --c-next: #ae3780;
}

.flowline__step:nth-child(5) {
  --c: #ae3780;
  --c-next: #8524c0;
}

.flowline__step:nth-child(6) {
  --c: #8524c0;
  --c-next: #5c12ff;
}

.flowline__step:nth-child(7) {
  --c: #5c12ff;
  --c-next: #5c12ff;
}

/* Callouts alternate above and below the line, so each one can be wider than its column. */
.flowline__stage {
  position: relative;
  display: grid;
  grid-template-rows: 1fr var(--node) 1fr;
  justify-items: center;
  width: 100%;
  padding: 0;
  border: 0;
  background: none;
  color: inherit;
  font: inherit;
  text-align: center;
}

.flowline__stage::before {
  content: "";
  position: absolute;
  inset-inline-start: calc(50% - 0.75px);
  width: 1.5px;
  height: var(--stem);
  background: var(--c);
  transition: transform 0.35s var(--ease) 0.12s;
}

.flowline__step:nth-child(odd) .flowline__stage::before {
  bottom: calc(50% + var(--node) / 2);
  transform-origin: bottom;
}

.flowline__step:nth-child(even) .flowline__stage::before {
  top: calc(50% + var(--node) / 2);
  transform-origin: top;
}

.growflow.is-live .flowline__step:not(.is-on) .flowline__stage::before {
  transform: scaleY(0);
}

.flowline__node {
  position: relative;
  z-index: 1;
  display: grid;
  grid-row: 2;
  place-items: center;
  width: var(--node);
  height: var(--node);
  border: 1.5px solid var(--c);
  border-radius: 50%;
  background: var(--c);
  color: #fff;
  transition: background-color 0.4s var(--ease), border-color 0.4s var(--ease), color 0.4s var(--ease), transform 0.3s var(--ease), box-shadow 0.3s var(--ease);
}

.growflow.is-live .flowline__step:not(.is-on) .flowline__node {
  border-color: var(--line-strong);
  background: var(--card);
  color: var(--muted);
}

.flowline__node svg {
  width: 17px;
  height: 17px;
  fill: none;
  stroke: currentColor;
  stroke-width: 1.8;
  stroke-linecap: round;
  stroke-linejoin: round;
  overflow: visible;
}

.growflow.is-live .flowline__step.is-current .flowline__node {
  transform: scale(1.08);
  box-shadow: 0 0 0 6px color-mix(in srgb, var(--c) 20%, transparent);
}

.flowline__card {
  display: grid;
  align-content: start;
  justify-items: center;
  gap: 6px;
  width: min(17.5rem, calc(200% + 2 * var(--gap) - 22px));
  padding: 14px 16px 13px;
  border: 1px solid var(--line);
  border-radius: 14px;
  background: var(--card);
  transition: opacity 0.45s var(--ease) 0.2s, translate 0.45s var(--ease) 0.2s, border-color 0.25s var(--ease), box-shadow 0.25s var(--ease), transform 0.25s var(--ease);
}

.flowline__step:nth-child(odd) .flowline__card {
  grid-row: 1;
  align-self: end;
  margin-bottom: var(--stem);
}

.flowline__step:nth-child(even) .flowline__card {
  grid-row: 3;
  align-self: start;
  margin-top: var(--stem);
}

/* The end stages hug the container edges instead of spilling past them. */
.flowline__step:first-child .flowline__card,
.flowline__step:last-child .flowline__card {
  width: min(17.5rem, calc(150% + var(--gap) - 12px));
}

.flowline__step:first-child .flowline__card {
  justify-self: start;
  justify-items: start;
  text-align: start;
}

.flowline__step:last-child .flowline__card {
  justify-self: end;
  justify-items: end;
  text-align: end;
}

/* A stage that hasn't come out yet keeps its card out of sight. */
.growflow.is-live .flowline__step:not(.is-on) .flowline__card {
  opacity: 0;
  translate: 0 8px;
}

.growflow.is-live .flowline__step:nth-child(odd):not(.is-on) .flowline__card {
  translate: 0 -8px;
}

/* While the line is pinned, the stage just revealed is the one in focus: the stages before it
   keep their names in full, and only their one-liners step back. */
.growflow.is-pinned.is-reading .flowline__step.is-on:not(.is-current) .flowline__line {
  opacity: 0.55;
}

.growflow.is-live .flowline__step.is-current .flowline__card {
  border-color: color-mix(in srgb, var(--c) 55%, transparent);
  box-shadow: var(--shadow-sm);
}

.flowline__num {
  color: var(--accent);
  font-family: var(--font-mono);
  font-size: 12px;
  font-weight: 500;
  letter-spacing: 0.12em;
}

.flowline__name {
  font-size: 15px;
  font-weight: 700;
  line-height: 1.3;
}

.flowline__line {
  color: var(--muted);
  font-size: 13.5px;
  line-height: 1.45;
  transition: opacity 0.3s var(--ease);
}

/* Each icon acts out its stage - digging, sprouting, dripping, shining, snipping, swinging,
   cycling - when its stage comes out, then again every few seconds while it is the one in
   focus, and on hover. The action fills the first third of the loop; the rest is a pause. */
.growflow.is-live .flowline__step.is-current .flowline__node svg,
.growflow.is-live .flowline__step.is-current .flowline__node svg *,
.flowline__stage:hover .flowline__node svg,
.flowline__stage:hover .flowline__node svg * {
  animation-duration: 3.4s;
  animation-timing-function: var(--ease);
  animation-iteration-count: infinite;
}

[data-flow-step="soil"] .flowline__node svg {
  transform-origin: 50% 70%;
}

.growflow.is-live .is-current [data-flow-step="soil"] .flowline__node svg,
[data-flow-step="soil"]:hover .flowline__node svg {
  animation-name: icon-dig;
}

.growflow.is-live .is-current [data-flow-step="seed"] .i-seed,
[data-flow-step="seed"]:hover .i-seed {
  animation-name: icon-seed;
}

.i-sprout {
  stroke-dasharray: 1;
}

.growflow.is-live .is-current [data-flow-step="seed"] .i-sprout,
[data-flow-step="seed"]:hover .i-sprout {
  animation-name: icon-sprout;
}

[data-flow-step="watering"] .flowline__node svg {
  transform-origin: 50% 100%;
}

.growflow.is-live .is-current [data-flow-step="watering"] .flowline__node svg,
[data-flow-step="watering"]:hover .flowline__node svg {
  animation-name: icon-drip;
}

.i-rays,
.i-core {
  transform-origin: 12px 12px;
}

.growflow.is-live .is-current [data-flow-step="sunlight"] .i-rays,
[data-flow-step="sunlight"]:hover .i-rays {
  animation-name: icon-rays;
}

.growflow.is-live .is-current [data-flow-step="sunlight"] .i-core,
[data-flow-step="sunlight"]:hover .i-core {
  animation-name: icon-core;
}

/* Both blades turn on the point where they cross. */
.i-blade-a,
.i-blade-b {
  transform-origin: 13.1px 12px;
}

.growflow.is-live .is-current [data-flow-step="pruning"] .i-blade-a,
[data-flow-step="pruning"]:hover .i-blade-a {
  animation-name: icon-snip-a;
}

.growflow.is-live .is-current [data-flow-step="pruning"] .i-blade-b,
[data-flow-step="pruning"]:hover .i-blade-b {
  animation-name: icon-snip-b;
}

/* The fruit swings from its stem. */
[data-flow-step="harvest"] .flowline__node svg {
  transform-origin: 62% 14%;
}

.growflow.is-live .is-current [data-flow-step="harvest"] .flowline__node svg,
[data-flow-step="harvest"]:hover .flowline__node svg {
  animation-name: icon-swing;
}

.growflow.is-live .is-current [data-flow-step="next-season"] .flowline__node svg,
[data-flow-step="next-season"]:hover .flowline__node svg {
  animation-name: icon-cycle;
}

@keyframes icon-dig {
  0%, 36%, 100% { transform: none; }
  8%, 24% { transform: rotate(-22deg); }
  16%, 32% { transform: translateY(2.5px); }
}

@keyframes icon-seed {
  0% { transform: translateY(-7px); opacity: 0; }
  12% { transform: translateY(1px); opacity: 1; }
  18%, 100% { transform: none; opacity: 1; }
}

@keyframes icon-sprout {
  0%, 16% { stroke-dashoffset: 1; opacity: 0; }
  17% { opacity: 1; }
  36%, 100% { stroke-dashoffset: 0; opacity: 1; }
}

@keyframes icon-drip {
  0% { transform: translateY(-8px) scale(0.7); opacity: 0; }
  14% { transform: translateY(1px) scale(1.1, 0.84); opacity: 1; }
  22% { transform: translateY(-1px) scale(0.95, 1.05); }
  30%, 100% { transform: none; opacity: 1; }
}

@keyframes icon-rays {
  0% { transform: rotate(-60deg) scale(0.6); opacity: 0.2; }
  32%, 100% { transform: none; opacity: 1; }
}

@keyframes icon-core {
  0% { transform: scale(0.6); }
  16% { transform: scale(1.18); }
  28%, 100% { transform: none; }
}

@keyframes icon-snip-a {
  0%, 36%, 100% { transform: none; }
  9%, 27% { transform: rotate(-15deg); }
  18% { transform: rotate(3deg); }
}

@keyframes icon-snip-b {
  0%, 36%, 100% { transform: none; }
  9%, 27% { transform: rotate(15deg); }
  18% { transform: rotate(-3deg); }
}

@keyframes icon-swing {
  0%, 40%, 100% { transform: none; }
  8% { transform: rotate(16deg); }
  18% { transform: rotate(-11deg); }
  27% { transform: rotate(6deg); }
  34% { transform: rotate(-2deg); }
}

@keyframes icon-cycle {
  0% { transform: none; }
  34%, 100% { transform: rotate(360deg); }
}

@media (max-width: 900px) {
  /* On narrow screens the workflow runs down the page, callouts beside their nodes. */
  .growflow {
    --node: 34px;
    --gap: 14px;
    --stem: 14px;
    --lift: 8px;
  }

  .flowline {
    grid-template-columns: 1fr;
  }

  .flowline::before,
  .flowline::after {
    display: none;
  }

  .flowline__step {
    position: relative;
  }

  .flowline__step:not(:last-child)::before,
  .flowline__step:not(:last-child)::after {
    content: "";
    position: absolute;
    top: calc(var(--lift) + var(--node) / 2);
    bottom: calc(-1 * (var(--gap) + var(--lift) + var(--node) / 2));
    inset-inline-start: calc(var(--node) / 2 - 1px);
    width: 2px;
  }

  .flowline__step::before {
    background: var(--line-strong);
  }

  /* A segment turns green once the stage below it has come out. */
  .flowline__step::after {
    background: linear-gradient(var(--c), var(--c-next));
    transform-origin: top;
    transition: transform 0.4s var(--ease);
  }

  .growflow.is-live .flowline__step:not(:has(+ .flowline__step.is-on))::after {
    transform: scaleY(0);
  }

  .growflow__status {
    display: none;
  }

  .flowline__stage {
    grid-template-rows: auto;
    grid-template-columns: var(--node) minmax(0, 1fr);
    column-gap: var(--stem);
    align-items: start;
    justify-items: stretch;
    text-align: start;
  }

  .flowline__node {
    grid-row: 1;
    margin-top: var(--lift);
  }

  .flowline__node svg {
    width: 16px;
    height: 16px;
  }

  .flowline__step:nth-child(n) .flowline__stage::before {
    top: calc(var(--lift) + var(--node) / 2 - 0.75px);
    bottom: auto;
    inset-inline-start: var(--node);
    width: var(--stem);
    height: 1.5px;
    transform-origin: left;
  }

  

  .growflow.is-live .flowline__step:not(.is-on) .flowline__stage::before {
    transform: scaleX(0);
  }

  .flowline__step:nth-child(n) .flowline__card {
    grid-row: 1;
    grid-column: 2;
    align-self: start;
    justify-self: stretch;
    justify-items: start;
    width: auto;
    margin: 0;
    text-align: start;
  }

  .growflow.is-live .flowline__step:nth-child(n):not(.is-on) .flowline__card {
    translate: 0 8px;
  }
}

.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  margin: -1px;
  padding: 0;
  overflow: hidden;
  clip: rect(0 0 0 0);
  white-space: nowrap;
  border: 0;
}

/* Comparison table */
.compare {
  width: 100%;
  border-collapse: separate;
  border-spacing: 0;
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--card);
}

.compare th,
.compare td {
  width: 50%;
  padding: 20px 28px;
  border-bottom: 1px solid var(--line);
  text-align: start;
  vertical-align: top;
}

.compare tr:last-child td {
  border-bottom: 0;
}

.compare th {
  font-family: var(--font-mono);
  font-size: 12.5px;
  font-weight: 500;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--muted);
  background: var(--paper);
}

.compare th:last-child {
  color: var(--accent);
}

.compare td:first-child {
  border-inline-end: 1px solid var(--line);
  color: var(--muted);
}

.compare td:last-child {
  background: #fff;
  font-weight: 500;
}

.compare td span.mark {
  display: inline-grid;
  place-items: center;
  width: 22px;
  height: 22px;
  margin-inline-end: 12px;
  border-radius: 50%;
  vertical-align: -5px;
  font-size: 13px;
  font-weight: 700;
}

.mark--no {
  background: var(--paper-deep);
  color: var(--muted);
}

.mark--yes {
  background: var(--accent);
  color: #fff;
}

/* On a dark section: a quiet dark table, with our column lifted by a brand tint. */
.section--dark .compare {
  border-color: var(--on-dark-line);
  background: rgba(255, 255, 255, 0.025);
}

.section--dark .compare th,
.section--dark .compare td,
.section--dark .compare tr {
  border-color: var(--on-dark-line);
}

.section--dark .compare th {
  background: rgba(255, 255, 255, 0.04);
  color: var(--on-dark-muted);
}

.section--dark .compare th:last-child {
  color: var(--accent-warm);
}

.section--dark .compare td:first-child {
  color: var(--on-dark-muted);
}

.section--dark .compare td:last-child {
  background: rgba(var(--accent-rgb), 0.12);
  color: var(--on-dark);
}

.section--dark .mark--no {
  background: rgba(255, 255, 255, 0.08);
  color: var(--on-dark-muted);
}

/* ---------- introAI ---------- */
/* A dark stage for the system: signals flow into the introAI hub, through the AE, out to
   actions. ai.js draws the wires between the nodes and runs the pulses along them. */
.ai {
  position: relative;
  isolation: isolate;
  overflow: clip; /* not hidden: that would stop the dwell's frame from sticking */
  background: #0b0a10;
}

/* A dotted field, and the brand glow behind the hub. */
.ai::before,
.ai::after {
  content: "";
  position: absolute;
  z-index: -1;
  pointer-events: none;
}

.ai::before {
  inset: 0;
  background-image: radial-gradient(rgba(255, 255, 255, 0.08) 1px, transparent 1.6px);
  background-size: 26px 26px;
  -webkit-mask-image: radial-gradient(ellipse 62% 55% at 50% 58%, #000 20%, transparent 75%);
  mask-image: radial-gradient(ellipse 62% 55% at 50% 58%, #000 20%, transparent 75%);
}

.ai::after {
  top: 56%;
  left: 50%;
  width: min(1100px, 130vw);
  height: 760px;
  translate: -50% -50%;
  background:
    radial-gradient(closest-side, rgba(92, 18, 255, 0.3), transparent 72%),
    radial-gradient(closest-side at 32% 58%, rgba(251, 90, 7, 0.14), transparent 70%);
}

/* Wide enough for the lead to sit on two lines on desktop screens. */
.ai__head {
  display: grid;
  justify-items: center;
  gap: 20px;
  max-width: 1200px;
  margin: 0 auto 76px;
  text-align: center;
}

.ai__head .slogan {
  text-align: center;
}

.ai__head .slogan s {
  margin-inline: auto;
}

.ai__lead {
  color: var(--on-dark-muted);
  font-size: 1.12rem;
  line-height: 1.7;
}

.ai__head .ai__lead {
  text-wrap: balance;
}

.ai__lead strong {
  color: var(--on-dark);
  font-weight: 600;
}

/* The dwell: the heading and the map hold still for a screen's worth of scrolling, so the
   whole system stays in view before the page moves on. ai.js turns it on where it fits - a
   little tighter, and scaled down a touch if the screen is short - and leaves it off where it
   doesn't. */
/* The scroll distance it holds for. A block of its own, not padding: a sticky box only sticks
   within its parent's content. */
.ai__dwell.is-on::after {
  content: "";
  display: block;
  height: 100vh;
}

.ai__dwell.is-on .ai__frame {
  position: sticky;
  top: var(--dwell-top, 90px);
  height: var(--frame-h, auto);
}

.ai__dwell.is-on .ai__stage {
  transform: scale(var(--dwell-scale, 1));
  transform-origin: top center;
}

.ai__dwell.is-on .ai__head {
  margin-bottom: 44px;
}

@media (max-width: 1399px) {
  .ai__dwell.is-on .ai__map {
    gap: 44px;
  }
}

.ai__dwell.is-on .ai__ae {
  margin-top: 24px;
}

/* The map runs top to bottom: what introAI reads, into the hub, through the AE, out to what
   the team gets. On wide screens each end is a single row of tiles (see below). */
.ai__map {
  position: relative;
  display: grid;
  grid-template-columns: minmax(0, 1fr);
  gap: 64px;
}

.ai__wires {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  overflow: visible;
  pointer-events: none;
}

.ai__col {
  position: relative;
  z-index: 1;
  display: grid;
  gap: 14px;
}

.ai__label {
  color: var(--on-dark-muted);
  font-family: var(--font-mono);
  font-size: 12px;
  letter-spacing: 0.16em;
  text-transform: uppercase;
}

/* The product's name keeps its own casing inside an all-caps label. */
.ai__brand {
  text-transform: none;
}

.ai__list {
  display: grid;
  gap: 10px;
  margin: 0;
  padding: 0;
  list-style: none;
}

.ai__node {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 11px 14px;
  border: 1px solid rgba(255, 255, 255, 0.09);
  border-radius: 14px;
  background: rgba(255, 255, 255, 0.035);
  color: var(--on-dark);
  font-size: 15px;
  font-weight: 500;
  line-height: 1.3;
  transition: opacity 0.6s var(--ease), translate 0.6s var(--ease), border-color 0.25s var(--ease);
}

.ai__node:hover {
  border-color: rgba(255, 255, 255, 0.2);
}

.ai__icon {
  display: grid;
  flex: none;
  place-items: center;
  width: 34px;
  height: 34px;
  border-radius: 10px;
  background: rgba(255, 255, 255, 0.06);
}

.ai__icon svg {
  width: 18px;
  height: 18px;
  fill: none;
  stroke: currentColor;
  stroke-width: 1.7;
  stroke-linecap: round;
  stroke-linejoin: round;
}

/* Signals come in warm, actions go out violet - the logo's gradient, read across the map. */
[data-ai-in] .ai__icon {
  color: #ffb257;
}

[data-ai-out] .ai__icon {
  color: #b79cff;
}

.ai__text {
  display: grid;
  gap: 2px;
}

.ai__text small {
  color: var(--on-dark-muted);
  font-size: 12.5px;
  font-weight: 400;
}

/* The tools behind a node, as a small overlapping stack of marks at its end. */
.ai__stack {
  display: flex;
  flex: none;
  margin-inline-start: auto;
  padding-inline-start: 8px;
}

.ai__tool {
  display: grid;
  place-items: center;
  width: 30px;
  height: 30px;
  border: 2px solid #131219;
  border-radius: 50%;
  background: #25222f;
}

.ai__tool + .ai__tool {
  margin-inline-start: -6px;
}

/* The tool's name, shown above its mark on hover. */
.ai__tool[data-tip] {
  position: relative;
}

.ai__tool[data-tip]:hover {
  z-index: 3;
}

.ai__tool[data-tip]::before,
.ai__tool[data-tip]::after {
  position: absolute;
  left: 50%;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.18s var(--ease), translate 0.18s var(--ease);
  translate: -50% 4px;
}

.ai__tool[data-tip]::after {
  content: attr(data-tip);
  bottom: calc(100% + 10px);
  padding: 5px 10px;
  border-radius: 8px;
  background: var(--on-dark);
  color: #121116;
  font-size: 12.5px;
  font-weight: 600;
  line-height: 1.3;
  white-space: nowrap;
  box-shadow: 0 8px 22px rgba(0, 0, 0, 0.4);
}

/* The little arrow under the label. */
.ai__tool[data-tip]::before {
  content: "";
  bottom: calc(100% + 5px);
  width: 10px;
  height: 10px;
  margin-left: 0;
  background: var(--on-dark);
  rotate: 45deg;
}

.ai__tool[data-tip]:hover::before,
.ai__tool[data-tip]:hover::after {
  opacity: 1;
  translate: -50% 0;
}

.ai__tool img {
  width: 15px;
  height: 15px;
  object-fit: contain;
}

/* The goal: a meeting in the calendar, framed in the brand gradient. */
.ai__node--goal {
  border-color: transparent;
  background: linear-gradient(#17131f, #17131f) padding-box, var(--brand-gradient) border-box;
  box-shadow: 0 0 36px rgba(var(--accent-rgb), 0.28);
}

.ai__node--goal .ai__icon {
  background: var(--brand-gradient);
  color: #fff;
}

.ai__core {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-areas:
    "hub"
    "name"
    "ae";
  align-items: center;
  justify-items: center;
  gap: 18px;
}

/* The hub: introAI itself, at the center of the map, glowing, under a small introSDR mark. The
   signals' wires meet at the mark's top point. */
.ai__hub {
  position: relative;
  display: grid;
  grid-area: hub;
  place-items: center;
  gap: 12px;
}

.ai__mark {
  position: relative;
  width: auto;
  height: 44px;
  filter: drop-shadow(0 0 12px rgba(251, 90, 7, 0.45));
}

.ai__hub-glow {
  position: absolute;
  inset: -40% -30%;
  background: radial-gradient(closest-side, rgba(92, 18, 255, 0.5), rgba(251, 90, 7, 0.16) 62%, transparent);
  filter: blur(18px);
  animation: ai-breathe 4.5s ease-in-out infinite;
}

.ai__map:not(.is-live) .ai__hub-glow {
  animation-play-state: paused;
}

@keyframes ai-breathe {
  50% {
    opacity: 0.6;
    scale: 0.92;
  }
}

.ai__name {
  display: grid;
  grid-area: name;
  justify-items: center;
  gap: 8px;
}

.ai__wordmark {
  position: relative;
  width: 109px;
  height: auto;
  filter: drop-shadow(0 0 22px rgba(92, 18, 255, 0.45));
}

.ai__name p {
  color: var(--on-dark-muted);
  font-family: var(--font-mono);
  font-size: 11.5px;
  letter-spacing: 0.14em;
  text-transform: uppercase;
}

/* The human in the loop: every move out of the hub passes the AE. */
.ai__ae {
  position: relative;
  display: grid;
  grid-area: ae;
  justify-items: center;
  gap: 10px;
  margin-top: 40px;
  max-width: 170px;
  text-align: center;
  text-wrap: balance;
}

.ai__ae-face {
  position: relative;
  display: grid;
  place-items: center;
  width: 64px;
  height: 64px;
  border: 1px solid rgba(255, 255, 255, 0.16);
  border-radius: 50%;
  background: #16131f;
  box-shadow: 0 0 0 7px rgba(255, 255, 255, 0.03);
  color: #fff;
}

.ai__ae-face > svg {
  width: 26px;
  height: 26px;
  fill: none;
  stroke: currentColor;
  stroke-width: 1.6;
  stroke-linecap: round;
}

.ai__ae-check {
  position: absolute;
  inset-inline-end: -3px;
  bottom: -3px;
  display: grid;
  place-items: center;
  width: 24px;
  height: 24px;
  border: 2px solid #0b0a10;
  border-radius: 50%;
  background: var(--brand-gradient);
}

.ai__ae-check svg {
  width: 12px;
  height: 12px;
  fill: none;
  stroke: #fff;
  stroke-width: 3;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.ai__ae p {
  display: grid;
  gap: 2px;
  color: var(--on-dark-muted);
  font-size: 13px;
  line-height: 1.4;
}

.ai__ae b {
  color: var(--on-dark);
  font-size: 14.5px;
}

/* Wires: faint tracks, with pulses running along them - warm on the way in, violet out. */
.ai__wire {
  fill: none;
  stroke: rgba(255, 255, 255, 0.13);
  stroke-width: 1.2;
  stroke-dasharray: 100;
  stroke-dashoffset: 100;
  transition: stroke-dashoffset 1.1s var(--ease);
}

.ai__map.is-in .ai__wire {
  stroke-dashoffset: 0;
}

.ai__pulse {
  fill: none;
  stroke-width: 2.4;
  stroke-linecap: round;
  stroke-dasharray: 9 200;
  stroke-dashoffset: 9;
  opacity: 0;
  animation: ai-pulse 3.4s linear infinite;
  animation-play-state: paused;
}

.ai__pulse--in {
  stroke: #fb8a0a;
}

.ai__pulse--out {
  stroke: #9a6bff;
}

.ai__map.is-in .ai__pulse {
  opacity: 1;
  transition: opacity 0.4s linear 1s;
}

.ai__map.is-live .ai__pulse {
  animation-play-state: running;
}

@keyframes ai-pulse {
  0% {
    stroke-dashoffset: 9;
  }

  55%,
  100% {
    stroke-dashoffset: -100;
  }
}

/* Entrance: the signals drop in from above, the results rise from below. */
.js .ai__map:not(.is-in) .ai__col:first-of-type .ai__node {
  opacity: 0;
  translate: 0 -14px;
}

.js .ai__map:not(.is-in) .ai__col:last-of-type .ai__node {
  opacity: 0;
  translate: 0 14px;
}

.ai__list .ai__node:nth-child(2) { transition-delay: 0.06s; }
.ai__list .ai__node:nth-child(3) { transition-delay: 0.12s; }
.ai__list .ai__node:nth-child(4) { transition-delay: 0.18s; }
.ai__list .ai__node:nth-child(5) { transition-delay: 0.24s; }
.ai__list .ai__node:nth-child(6) { transition-delay: 0.3s; }

.ai__foot {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
  align-items: center;
  gap: 32px 72px;
  margin-top: 84px;
}

@media (max-width: 900px) {
  .ai__head {
    margin-bottom: 52px;
  }

  .ai__foot {
    grid-template-columns: minmax(0, 1fr);
    margin-top: 60px;
  }
}

/* Mid-size screens: the cards keep their natural size and wrap into centered rows. */
@media (min-width: 560px) and (max-width: 1399px) {
  .ai__label {
    text-align: center;
  }

  .ai__list {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 10px;
  }

  .ai__node {
    flex: 0 1 auto;
  }
}

@media (min-width: 1400px) {
  /* Wide screens: each end of the map is one row of tiles, wired into the top of the hub and
     out of the bottom of the AE. The results' label sits under their row, clear of the wires. */
  .ai__map {
    gap: 0;
  }

  .ai__col:first-of-type {
    margin-bottom: 76px;
  }

  .ai__col:last-of-type {
    margin-top: 84px;
  }

  .ai__dwell.is-on .ai__col:first-of-type {
    margin-bottom: 56px;
  }

  .ai__dwell.is-on .ai__col:last-of-type {
    margin-top: 60px;
  }

  .ai__col:last-of-type .ai__label {
    order: 1;
  }

  /* The cards keep their usual size and sit side by side, centered. The two rows may use more
     of the screen than the page's column (up to 1400px), and on narrower screens the widest
     cards give up a little width, wrapping their text, rather than overflow. */
  .ai__col {
    margin-inline: calc((100% - min(100vw - 2 * var(--gutter), 1400px)) / 2);
  }

  .ai__label {
    text-align: center;
  }

  .ai__list {
    display: flex;
    justify-content: center;
    gap: 6px;
  }

  .ai__node {
    flex: 0 1 auto;
    min-width: 0;
    gap: 8px;
    padding: 10px;
    font-size: 14px;
  }

  .ai__icon {
    width: 30px;
    height: 30px;
  }

  .ai__stack {
    padding-inline-start: 4px;
  }

  .ai__ae {
    margin-top: 48px;
  }

  /* The AE's label sits beside it, so the wires leave straight from the circle. */
  .ai__ae p {
    position: absolute;
    top: 32px;
    left: calc(100% + 18px);
    width: max-content;
    max-width: 240px;
    text-align: start;
    translate: 0 -50%;
  }
}

/* ---------- FAQ ---------- */
/* Two columns across the page; each opens on its own, so answers never push the other side. */
.faq {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  align-items: start;
  gap: 0 56px;
}

.faq__col {
  border-top: 1px solid var(--line);
}

.faq details {
  border-bottom: 1px solid var(--line);
}

.faq summary {
  position: relative;
  padding-block: 18px;
  padding-inline: 0 40px;
  color: var(--ink-soft);
  font-size: 1rem;
  font-weight: 600;
  line-height: 1.45;
  list-style: none;
  cursor: pointer;
  transition: color 0.2s var(--ease);
}

.faq summary:hover,
.faq details[open] summary {
  color: var(--accent);
}

.faq summary::-webkit-details-marker {
  display: none;
}

.faq summary::before,
.faq summary::after {
  content: "";
  position: absolute;
  top: 50%;
  inset-inline-end: 6px;
  width: 12px;
  height: 1.5px;
  border-radius: 2px;
  background: var(--accent);
  transition: transform 0.3s var(--ease);
}

.faq summary::after {
  transform: rotate(90deg);
}

.faq details[open] summary::after {
  transform: rotate(0deg);
}

.faq .prose {
  gap: 12px;
  padding-bottom: 20px;
  font-size: 0.95rem;
  line-height: 1.6;
}

/* A quieter section heading, for the FAQ. */
.head--compact {
  margin-bottom: 32px;
}

.head--compact h2,
.head--compact .h2 {
  font-size: clamp(1.7rem, 2.6vw, 2.25rem);
}

/* ---------- CTA band ---------- */
.cta-band {
  padding-block: 96px;
  background: var(--dark);
  color: var(--on-dark);
}

/* The heading starts level with the top of the form beside it. */
.cta-band__inner {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 600px);
  align-items: start;
  gap: 40px 64px;
}

.cta-band__copy {
  display: grid;
  gap: 18px;
  max-width: 620px;
}

/* The question above the heading reads a little larger here, as the band's opening line. */
.cta-band .eyebrow {
  font-size: 15.5px;
  letter-spacing: 0.1em;
  text-wrap: balance;
}

.cta-band .lead {
  color: var(--on-dark-muted);
}

/* The lead form: step 1 the visitor's details, step 2 a meeting on the HubSpot calendar. */
.lead-card {
  display: grid;
  gap: 24px;
  padding: 28px;
  border-radius: var(--radius-lg);
  background: var(--card);
  box-shadow: 0 30px 80px rgba(0, 0, 0, 0.35);
  color: var(--ink);
}

.lead-card__progress {
  display: flex;
  align-items: center;
  gap: 12px;
  margin: 0;
  padding: 0;
  list-style: none;
  color: var(--muted);
  font-size: 14px;
  font-weight: 600;
}

.lead-card__progress li {
  display: flex;
  align-items: center;
  gap: 9px;
}

.lead-card__progress li + li::before {
  content: "";
  width: 28px;
  height: 1.5px;
  margin-inline-end: 3px;
  background: var(--line-strong);
}

.lead-card__dot {
  display: grid;
  place-items: center;
  width: 26px;
  height: 26px;
  border: 1.5px solid var(--line-strong);
  border-radius: 50%;
  font-size: 13px;
}

.lead-card__progress .is-current {
  color: var(--ink);
}

.lead-card__progress .is-current .lead-card__dot,
.lead-card__progress .is-done .lead-card__dot {
  border-color: var(--ink);
  color: var(--ink);
}

.lead-form {
  display: grid;
  gap: 18px;
}

.lead-form__grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 14px 14px;
}

.field {
  display: grid;
  gap: 6px;
}

.field__label {
  color: var(--ink-soft);
  font-size: 13.5px;
  font-weight: 600;
}

/* Marks a required field; the inputs carry required, so screen readers say it themselves. */
.field__req {
  margin-inline-start: 2px;
  color: var(--accent);
}

/* A field across the whole row, under the paired ones. */
.field--wide {
  grid-column: 1 / -1;
}

.field input:not([type="checkbox"]),
.field textarea,
.multi__toggle {
  width: 100%;
  height: 48px;
  padding-inline: 14px;
  border: 1.5px solid var(--line);
  border-radius: 12px;
  background: #fff;
  color: var(--ink);
  font: inherit;
  font-size: 15.5px;
  transition: border-color 0.2s var(--ease), box-shadow 0.2s var(--ease);
}

.field textarea {
  display: block;
  height: auto;
  min-height: 96px;
  padding-block: 12px;
  line-height: 1.5;
  resize: vertical;
}

/* Services: a button that opens a scrolling list of checkboxes, so more than one can be picked. */
.multi {
  position: relative;
}

.multi__toggle {
  overflow: hidden;
  padding-inline-end: 40px;
  background: #fff url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%235e5c66' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='m6 9 6 6 6-6'/%3E%3C/svg%3E") no-repeat right 14px center / 16px;
  text-align: start;
  text-overflow: ellipsis;
  white-space: nowrap;
  cursor: pointer;
}

.multi__toggle.is-empty {
  color: var(--muted);
}

.multi__menu {
  position: absolute;
  z-index: 5;
  top: calc(100% + 6px);
  inset-inline: 0;
  display: grid;
  gap: 2px;
  min-width: 0;
  max-height: 264px;
  overflow-y: auto;
  margin: 0;
  padding: 6px;
  border: 1.5px solid var(--line);
  border-radius: 12px;
  background: #fff;
  box-shadow: 0 18px 40px rgba(17, 17, 17, 0.14);
}

.multi__option {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 9px 10px;
  border-radius: 8px;
  font-size: 14.5px;
  line-height: 1.35;
  cursor: pointer;
}

.multi__option:hover {
  background: var(--paper);
}

.multi__option input {
  flex: none;
  width: 16px;
  height: 16px;
  margin: 0;
  accent-color: var(--accent);
}

.field input:not([type="checkbox"]):hover,
.field textarea:hover,
.multi__toggle:hover {
  border-color: var(--line-strong);
}

.field input:not([type="checkbox"]):focus,
.field textarea:focus,
.multi__toggle:focus,
.multi__toggle[aria-expanded="true"] {
  border-color: var(--accent);
  outline: none;
  box-shadow: 0 0 0 4px rgba(var(--accent-rgb), 0.14);
}

.field [aria-invalid="true"] {
  border-color: var(--danger);
}

.lead-form__error {
  margin: 0;
  color: var(--danger);
  font-size: 14px;
}

.lead-form__error:empty {
  display: none;
}

.lead-form__submit {
  justify-content: center;
  width: 100%;
  gap: 10px;
}

.lead-form__submit svg {
  width: 18px;
  height: 18px;
  fill: none;
  stroke: currentColor;
  stroke-width: 2;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.lead-form__submit[aria-busy="true"] {
  opacity: 0.7;
  pointer-events: none;
}

.lead-book {
  display: grid;
  gap: 16px;
}

.lead-book__head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
}

.lead-book__title {
  font-size: 1.25rem;
}

.lead-book__title:focus {
  outline: none;
}

.lead-book__back {
  flex: none;
  padding: 6px 0;
  border: 0;
  background: none;
  color: var(--accent);
  font: inherit;
  font-size: 14px;
  font-weight: 600;
  white-space: nowrap;
  cursor: pointer;
}

.lead-book__back:hover {
  text-decoration: underline;
}

/* The HubSpot scheduler, embedded - HubSpot's script sets its height to fit. */
.lead-book__frame iframe {
  display: block;
  width: 100%;
  border: 0;
  border-radius: 14px;
  background: #fff;
}

.lead-book__frame:empty {
  display: none;
}

.lead-book__fallback {
  display: grid;
  justify-items: start;
  gap: 16px;
  color: var(--ink-soft);
}

/* ---------- Footer ---------- */
.footer {
  padding-block: 72px 32px;
  color: var(--muted);
  font-size: 14px;
}

.footer__grid {
  display: grid;
  grid-template-columns: 1.4fr 0.8fr 1.3fr 0.8fr 0.8fr;
  gap: 36px;
}

.footer__brand {
  display: grid;
  align-content: start;
  justify-items: start;
  gap: 16px;
  max-width: 380px;
}

.footer__col {
  display: grid;
  align-content: start;
  justify-items: start;
  gap: 10px;
}

.footer__col .label {
  margin-bottom: 6px;
  font-size: 12px;
  color: #45434c; /* dark gray: between the links' gray and the ink */
  font-weight: 600;
}

.footer__list {
  display: grid;
  gap: 10px;
  margin: 0;
  padding: 0;
  list-style: none;
}

.footer a:not(.logo):hover {
  color: var(--accent);
}

.footer__mail {
  color: var(--ink);
  font-weight: 500;
}

.footer__social {
  display: flex;
  gap: 10px;
}

.footer__social a,
.footer__soon {
  display: grid;
  place-items: center;
  width: 40px;
  height: 40px;
  border: 1px solid var(--line-strong);
  border-radius: 50%;
  color: var(--ink);
  transition: color 0.2s, background-color 0.2s, border-color 0.2s;
}

.footer__social svg {
  width: 16px;
  height: 16px;
  fill: currentColor;
}

.footer .footer__social a[href]:hover {
  color: #fff;
  background-color: var(--accent);
  border-color: var(--accent);
}

.footer__bottom {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: 12px;
  margin-top: 56px;
  padding-top: 24px;
  border-top: 1px solid var(--line);
  font-size: 13px;
}

/* ---------- Responsive ---------- */
@media (max-width: 1080px) {
  .hero--home .container {
    grid-template-columns: 1fr;
  }

  .cells--3 {
    grid-template-columns: 1fr 1fr;
  }

  

  

  /* Full-width calendar: keep the toast inside the page gutter. */
  .cal__toast {
    inset-inline-end: -12px;
  }
}

@media (max-width: 900px) {
  .section {
    padding-block: 80px;
  }

  .head {
    grid-template-columns: 1fr;
    margin-bottom: 40px;
  }

  .cta-band__inner {
    grid-template-columns: minmax(0, 1fr);
  }

  /* The two FAQ columns become one list. */
  .faq {
    grid-template-columns: 1fr;
  }

  .faq__col + .faq__col {
    border-top: 0;
  }

  .cal {
    padding: 18px 16px 22px;
  }

  .cal__toast {
    inset-inline-end: 12px;
    bottom: -52px;
  }

  

  

  

  

  

  

  

  

  .footer__grid {
    grid-template-columns: repeat(4, minmax(0, 1fr));
  }

  .reasons {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .svc-block {
    grid-template-columns: minmax(0, 1fr);
    gap: 28px;
  }

  .footer__brand {
    grid-column: 1 / -1;
  }
}

@media (max-width: 640px) {
  .ai__wordmark {
    width: 88px;
  }

  :root {
    --gutter: 16px;
    --nav-top: 0px;
    --nav-h: 66px;
  }

  body {
    font-size: 16px;
  }

  .hero {
    padding-block: 40px 72px;
  }

  .cells--3 {
    grid-template-columns: 1fr;
  }

  .cell {
    padding: 20px;
  }

  .compare,
  .compare tbody,
  .compare tr,
  .compare td {
    display: block;
    width: 100%;
  }

  .compare thead {
    display: none;
  }

  .compare tr {
    border-bottom: 1px solid var(--line);
  }

  .compare tr:last-child {
    border-bottom: 0;
  }

  .compare td {
    padding: 14px 20px;
    border: 0;
  }

  .compare td:first-child {
    border: 0;
    padding-bottom: 4px;
    font-size: 15px;
  }

  .compare td:first-child::before {
    content: attr(data-head);
    display: block;
    margin-bottom: 4px;
    font-family: var(--font-mono);
    font-size: 11px;
    letter-spacing: 0.1em;
    text-transform: uppercase;
  }

  .compare td:last-child::before {
    content: attr(data-head);
    display: block;
    margin-bottom: 4px;
    color: var(--accent);
    font-family: var(--font-mono);
    font-size: 11px;
    font-weight: 500;
    letter-spacing: 0.1em;
    text-transform: uppercase;
  }

  .compare td:last-child {
    padding-top: 10px;
  }

  .section--dark .compare td:last-child::before {
    color: var(--accent-warm);
  }

  .hero--home {
    padding-bottom: 120px;
  }

  .cal__grid {
    grid-template-columns: 38px repeat(5, 1fr);
    grid-template-rows: 26px repeat(8, 42px);
  }

  .cal__lines {
    background-size: 20% 42px;
  }

  .cal__event {
    margin: 3px;
    padding: 4px 6px;
  }

  .cal__event b {
    font-size: 10.5px;
    text-overflow: clip;
  }

  .cal__event small {
    display: none;
  }

  .cal__title {
    font-size: 15px;
  }

  .stats,
  .svc-index,
  .reasons {
    grid-template-columns: minmax(0, 1fr);
  }

  .svc-block {
    padding: 28px 22px;
  }

  /* The link columns two by two under the brand, so the footer doesn't run on and on. */
  .footer__grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 36px 20px;
  }

  .lead-card {
    padding: 22px 18px;
  }

  .lead-form__grid {
    grid-template-columns: minmax(0, 1fr);
  }
}

@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }

  *,
  *::before,
  *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
    transition-delay: 0s !important;
  }
}
