/* Webbeon Inc. home page
   Mobile first. Breakpoints: 600px, 720px, 900px, 1000px (full navigation). */

/* ---------- Fonts ---------- */
/* Public Sans, served from this site. SIL Open Font License: see fonts/OFL.txt */

@font-face {
  font-family: 'Public Sans';
  font-style: normal;
  font-weight: 400 800;
  font-display: swap;
  src: url("fonts/public-sans-latin.woff2") format("woff2");
}

@font-face {
  font-family: 'Public Sans';
  font-style: italic;
  font-weight: 400 600;
  font-display: swap;
  src: url("fonts/public-sans-latin-italic.woff2") format("woff2");
}

/* ---------- Tokens ---------- */

:root {
  /* Brand colours, taken from the W. icon */
  --green: #052e2b;
  --green-soft: #0a4640;
  --teal: #0b6660;
  --mint: #5eead4;
  --mint-pale: #d9f7f0;

  /* Neutrals, tinted towards the brand green */
  --ink: #052e2b;
  --text: #354b48;
  --muted: #566c69;
  --line: #cfdcd7;
  --line-strong: #9db0ab;
  --mist: #eef4f1;
  --paper: #ffffff;

  --on-dark: #ffffff;
  --on-dark-soft: rgba(255, 255, 255, 0.74);
  --on-dark-line: rgba(255, 255, 255, 0.18);

  --font: 'Public Sans', system-ui, -apple-system, 'Segoe UI', Roboto, sans-serif;

  --radius-s: 10px;
  --radius-m: 16px;
  --radius-l: 28px;

  --gutter: clamp(1.25rem, 5vw, 4rem);
  --section-y: clamp(3.5rem, 2.4rem + 5vw, 6.5rem);
  --header-h: 4.25rem;
}

/* ---------- Base ---------- */

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

html {
  color-scheme: light;
  -webkit-text-size-adjust: 100%;
  text-size-adjust: 100%;
  scroll-padding-top: calc(var(--header-h) + 1rem);
}

body {
  margin: 0;
  background: var(--paper);
  color: var(--text);
  font-family: var(--font);
  font-size: 1.0625rem;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

h1,
h2,
h3,
p,
ul,
ol,
address {
  margin: 0;
}

ul,
ol {
  padding: 0;
  list-style: none;
}

address {
  font-style: normal;
}

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

a {
  color: inherit;
}

h1,
h2,
h3 {
  color: var(--ink);
  text-wrap: balance;
}

p {
  text-wrap: pretty;
}

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

.section--dark :focus-visible,
.site-footer :focus-visible {
  outline-color: var(--mint);
}

.visually-hidden {
  position: absolute;
  width: 1px;
  height: 1px;
  overflow: hidden;
  clip-path: inset(50%);
  white-space: nowrap;
}

.skip-link {
  position: absolute;
  top: 0.5rem;
  left: 0.5rem;
  z-index: 100;
  padding: 0.75rem 1rem;
  border-radius: var(--radius-s);
  background: var(--green);
  color: var(--on-dark);
  font-weight: 700;
  text-decoration: none;
  transform: translateY(-200%);
}

.skip-link:focus {
  transform: none;
}

/* ---------- Layout ---------- */

.wrap {
  width: min(100% - 2 * var(--gutter), 70rem);
  margin-inline: auto;
}

.section {
  padding-block: var(--section-y);
  overflow-x: clip;
}

.section--mist {
  background: var(--mist);
}

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

.section--tight {
  padding-block: clamp(2.5rem, 1.8rem + 3vw, 4rem);
}

.section--flush {
  padding-top: 0;
}

/* Follows a section of the same colour that ends on a question: keep the answer close */
.section--join {
  padding-top: 0.75rem;
}

/* Heading block, with an optional drawing beside it on wide screens */
.head {
  display: grid;
  gap: 1.75rem;
  margin-bottom: clamp(2rem, 1.4rem + 2.5vw, 3rem);
}

.head__figure {
  width: 100%;
  max-width: 24rem;
}

.head__figure svg {
  width: 100%;
  height: auto;
}

/* ---------- Type ---------- */

.label {
  margin-bottom: 0.75rem;
  color: var(--teal);
  font-size: 0.9375rem;
  font-weight: 650;
  line-height: 1.3;
}

.section--dark .label {
  color: var(--mint);
}

.h2 {
  font-size: clamp(1.875rem, 1.35rem + 2.4vw, 2.875rem);
  font-weight: 750;
  line-height: 1.06;
  letter-spacing: -0.03em;
}

.section--dark .h2,
.section--dark h3 {
  color: var(--on-dark);
}

.lede {
  max-width: 34rem;
  margin-top: 1rem;
  font-size: clamp(1.0625rem, 1rem + 0.35vw, 1.1875rem);
  line-height: 1.55;
  text-wrap: balance;
}

.h3 {
  font-size: 1.1875rem;
  font-weight: 700;
  line-height: 1.2;
  letter-spacing: -0.015em;
}

.link {
  display: inline-block;
  padding-block: 0.5rem;
  color: var(--ink);
  font-weight: 700;
  text-decoration: underline;
  text-decoration-thickness: 1.5px;
  text-underline-offset: 0.3em;
}

/* ---------- Buttons ---------- */

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 3.25rem;
  padding: 0.75rem 1.5rem;
  border: 0;
  border-radius: var(--radius-s);
  background: var(--green);
  color: var(--on-dark);
  font: inherit;
  font-size: 1rem;
  font-weight: 700;
  line-height: 1.2;
  text-align: center;
  text-decoration: none;
  cursor: pointer;
  transition: background-color 0.15s ease, box-shadow 0.15s ease;
}

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

.btn--compact {
  min-height: 2.75rem;
  padding: 0.5rem 1.25rem;
  font-size: 0.9375rem;
}

.btn--block {
  width: 100%;
}

/* ---------- Header ---------- */

.site-header {
  position: relative;
  z-index: 50;
  background: var(--paper);
  border-bottom: 1px solid var(--line);
}

.js .site-header {
  position: sticky;
  top: 0;
  background: rgba(255, 255, 255, 0.94);
  -webkit-backdrop-filter: blur(14px);
  backdrop-filter: blur(14px);
}

.site-header__bar {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 0 1.5rem;
  min-height: var(--header-h);
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 0.625rem;
  min-height: 2.75rem;
  color: var(--ink);
  font-size: 1.125rem;
  font-weight: 800;
  letter-spacing: -0.02em;
  text-decoration: none;
  white-space: nowrap;
}

.brand__mark {
  display: flex;
  align-items: center;
  justify-content: center;
  flex: none;
  width: 2rem;
  height: 2rem;
  border-radius: 8px;
  background: var(--green);
  box-shadow: inset 0 0 0 1px rgba(94, 234, 212, 0.32);
  color: #fff;
  font-size: 0.9375rem;
  font-weight: 800;
  line-height: 1;
}

.brand__mark span {
  color: var(--mint);
}

.nav-toggle {
  display: none;
  align-items: center;
  gap: 0.625rem;
  min-height: 2.75rem;
  margin-right: -0.5rem;
  padding: 0 0.5rem;
  border: 0;
  background: none;
  color: var(--ink);
  font: inherit;
  font-size: 0.9375rem;
  font-weight: 700;
  cursor: pointer;
}

.nav-toggle__icon {
  position: relative;
  width: 1.375rem;
  height: 0.75rem;
}

.nav-toggle__icon::before,
.nav-toggle__icon::after {
  content: '';
  position: absolute;
  left: 0;
  width: 100%;
  height: 2px;
  border-radius: 2px;
  background: currentColor;
  transition: transform 0.2s ease;
}

.nav-toggle__icon::before {
  top: 0;
}

.nav-toggle__icon::after {
  bottom: 0;
}

.nav-toggle[aria-expanded='true'] .nav-toggle__icon::before {
  transform: translateY(5px) rotate(45deg);
}

.nav-toggle[aria-expanded='true'] .nav-toggle__icon::after {
  transform: translateY(-5px) rotate(-45deg);
}

.site-nav {
  width: 100%;
  padding-bottom: 1.25rem;
}

.site-nav__link {
  display: flex;
  align-items: center;
  min-height: 3.25rem;
  border-bottom: 1px solid var(--line);
  color: var(--ink);
  font-size: 1.125rem;
  font-weight: 600;
  text-decoration: none;
}

.site-nav__cta {
  width: 100%;
  margin-top: 1.25rem;
}

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

  .js .site-nav {
    display: none;
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    height: calc(100vh - var(--header-h));
    height: calc(100dvh - var(--header-h));
    overflow-y: auto;
    overscroll-behavior: contain;
    padding: 0.25rem var(--gutter) 2rem;
    background: var(--paper);
  }

  .nav-open {
    overflow: hidden;
  }

  .js .site-nav.is-open {
    display: block;
  }
}

@media (min-width: 1000px) {
  :root {
    --header-h: 4.75rem;
  }

  .site-header__bar {
    flex-wrap: nowrap;
  }

  .site-nav {
    display: flex;
    flex: 1;
    align-items: center;
    justify-content: space-between;
    gap: 1.5rem;
    width: auto;
    padding: 0;
  }

  .site-nav__list {
    display: flex;
    gap: clamp(1rem, 2.1vw, 1.75rem);
    margin-inline: auto;
  }

  .site-nav__link {
    min-height: 2.75rem;
    border: 0;
    color: var(--text);
    font-size: 0.9375rem;
    font-weight: 550;
    white-space: nowrap;
  }

  .site-nav__link:hover {
    color: var(--ink);
    text-decoration: underline;
    text-decoration-thickness: 1.5px;
    text-underline-offset: 0.4em;
  }

  .site-nav__cta {
    width: auto;
    margin: 0;
  }
}

/* ---------- Hero ---------- */

.hero {
  padding-block: clamp(2rem, 1rem + 4vw, 4rem) clamp(2.5rem, 1.5rem + 4vw, 4.5rem);
}

.hero__grid {
  display: grid;
  gap: 2.25rem;
}

.hero__kicker {
  display: block;
  margin-bottom: 0.875rem;
  color: var(--teal);
  font-size: 0.9375rem;
  font-weight: 650;
  line-height: 1.3;
  letter-spacing: 0;
}

.hero__title {
  display: block;
  font-size: clamp(2.25rem, 12.4vw - 0.25rem, 4.25rem);
  font-weight: 800;
  line-height: 1;
  letter-spacing: -0.04em;
}

/* One short sentence per line */
.hero__title span {
  display: block;
  white-space: nowrap;
}

.hero__lede {
  max-width: 32rem;
  margin-top: 1.25rem;
  font-size: clamp(1.0625rem, 0.98rem + 0.45vw, 1.1875rem);
  line-height: 1.55;
}

.hero__actions {
  display: grid;
  gap: 0.75rem;
  margin-top: 1.75rem;
}

/* Three results, each explained in the Results section */
.proof {
  display: grid;
  gap: 0.875rem;
  margin-top: 1.75rem;
  padding-top: 1.5rem;
  border-top: 1px solid var(--line);
}

.proof__item {
  display: grid;
  grid-template-columns: 5.75rem minmax(0, 1fr);
  align-items: baseline;
  column-gap: 0.75rem;
}

.proof__figure {
  color: var(--ink);
  font-size: 2rem;
  font-weight: 800;
  line-height: 1;
  letter-spacing: -0.04em;
  white-space: nowrap;
}

.proof__unit {
  margin-left: 0.25em;
  color: var(--teal);
  font-size: 0.5em;
  font-weight: 700;
  letter-spacing: -0.01em;
}

.proof__label {
  display: block;
  color: var(--ink);
  font-size: 0.9375rem;
  font-weight: 600;
  line-height: 1.35;
  text-wrap: balance;
}

.proof__source {
  margin-top: 0.75rem;
  font-size: 0.875rem;
}

.proof__source a {
  display: inline-block;
  padding-block: 0.625rem;
  color: var(--muted);
  text-decoration: underline;
  text-decoration-color: var(--line-strong);
  text-underline-offset: 0.3em;
}

.hero__media {
  aspect-ratio: 4 / 5;
  border-radius: var(--radius-l);
  background: var(--mist);
  overflow: hidden;
}

.hero__media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: 50% 12%;
}

@media (min-width: 600px) {
  .hero__actions {
    display: flex;
    flex-wrap: wrap;
  }

  .proof {
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 1.5rem;
  }

  .proof__item {
    display: block;
  }

  .proof__figure {
    display: block;
    margin-bottom: 0.5rem;
    font-size: 2.375rem;
  }

  .hero__media {
    aspect-ratio: 5 / 4;
  }
}

@media (min-width: 900px) {
  .hero__grid {
    grid-template-columns: minmax(0, 1.08fr) minmax(0, 0.92fr);
    align-items: center;
    gap: clamp(2.5rem, 5vw, 4.5rem);
  }

  .hero__title {
    font-size: clamp(3.25rem, 5.9vw, 4.5rem);
  }

  .hero__media {
    aspect-ratio: 6 / 7;
    max-height: 38rem;
    justify-self: end;
    width: 100%;
  }
}

/* ---------- Outcomes ---------- */

.chart .chart__climb {
  stroke-dasharray: 1;
  stroke-dashoffset: 0;
}

.outcomes {
  display: grid;
  gap: 0.875rem;
}

.outcome {
  padding: 1.5rem;
  border: 1px solid var(--line);
  border-radius: var(--radius-m);
  background: var(--paper);
}

.outcome p {
  margin-top: 0.625rem;
  font-size: 1rem;
}

/* ---------- Who we work with ---------- */

.who__head {
  margin-bottom: 1.5rem;
}

.who__head .label {
  margin-bottom: 0.5rem;
}

.who__title {
  font-size: clamp(1.5rem, 1.25rem + 1.1vw, 1.875rem);
  font-weight: 750;
  line-height: 1.1;
  letter-spacing: -0.025em;
}

.who__list {
  display: grid;
  border-top: 1px solid var(--line);
}

.who__item {
  display: flex;
  align-items: center;
  gap: 0.875rem;
  padding-block: 0.875rem;
  border-bottom: 1px solid var(--line);
}

.who__item svg {
  flex: none;
  width: 2.5rem;
  height: 2.5rem;
}

.who__item .h3 {
  font-size: 1.0625rem;
}

/* A question that leads into the next section */
.connector {
  display: flex;
  align-items: center;
  gap: 1rem;
  margin-top: clamp(2.5rem, 2rem + 2vw, 3.5rem);
  color: var(--ink);
  font-size: 1.0625rem;
  font-style: italic;
  line-height: 1.35;
  text-align: center;
}

.connector::before,
.connector::after {
  content: '';
  flex: 1;
  min-width: 1rem;
  height: 1px;
  background: var(--line-strong);
}

.connector__text {
  max-width: 17rem;
  text-wrap: balance;
}

.connector__arrow {
  margin-left: 0.25rem;
  color: var(--muted);
  font-style: normal;
  white-space: nowrap;
}

/* ---------- What Webbeon does ---------- */

.service {
  display: grid;
  gap: 1.75rem;
  padding-block: clamp(2rem, 1.5rem + 2vw, 3rem);
  border-top: 1px solid var(--line);
  scroll-margin-top: var(--header-h);
}

.service:last-of-type {
  padding-bottom: 0;
}

.service__title {
  font-size: clamp(1.5rem, 1.3rem + 0.95vw, 2rem);
  font-weight: 750;
  line-height: 1.1;
  letter-spacing: -0.025em;
}

.service__tagline {
  margin-top: 0.625rem;
  color: var(--ink);
  font-size: 1.125rem;
  font-weight: 700;
  line-height: 1.35;
}

.service__text {
  max-width: 34rem;
  margin-top: 0.75rem;
}

.service__for {
  display: flex;
  gap: 0.75rem;
  max-width: 34rem;
  margin-top: 1rem;
  font-size: 0.9375rem;
  line-height: 1.5;
}

.service__for dt {
  flex: none;
  color: var(--teal);
  font-weight: 650;
}

.service__for dd {
  margin: 0;
}

.service .link {
  margin-top: 0.75rem;
}

.service__media {
  width: 100%;
  max-width: 34rem;
}

.panel {
  padding: clamp(1rem, 0.5rem + 2.4vw, 1.75rem);
  border-radius: var(--radius-l);
  background: var(--mist);
}

.panel svg {
  width: 100%;
  height: auto;
}

/* Woo Clinical Suite: the product family as real text, not a picture */
.suite {
  display: grid;
  gap: 1.5rem;
  padding: clamp(1.5rem, 1rem + 2.4vw, 2.25rem);
  border-radius: var(--radius-l);
  background: var(--green);
  color: var(--on-dark);
  container-type: inline-size;
}

.suite__brand {
  display: flex;
  align-items: center;
  gap: 0.875rem;
  padding-bottom: 1.5rem;
  border-bottom: 1px solid var(--teal);
  font-size: 1.0625rem;
  font-weight: 800;
  line-height: 1.2;
  letter-spacing: -0.01em;
}

.suite__mark {
  display: flex;
  align-items: center;
  justify-content: center;
  flex: none;
  width: 3.5rem;
  height: 3.5rem;
  border-radius: 13px;
  box-shadow: inset 0 0 0 1px rgba(94, 234, 212, 0.5);
  font-size: 1.625rem;
  font-weight: 800;
  line-height: 1;
  letter-spacing: -0.02em;
}

.suite__mark span {
  color: var(--mint);
}

.suite__apps {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 1.125rem 0.375rem;
}

.suite__app {
  display: grid;
  justify-items: center;
  gap: 0.5rem;
  color: var(--mint-pale);
  font-size: 0.6875rem;
  font-weight: 600;
  line-height: 1.2;
  text-align: center;
}

.suite__app svg {
  width: 2.75rem;
  height: 2.75rem;
}

@media (max-width: 359.98px) {
  .suite {
    padding-inline: 1.125rem;
  }
}

/* Labels grow with the panel, not the screen, so they never collide */
@container (min-width: 21.5rem) {
  .suite__app {
    font-size: 0.75rem;
    white-space: nowrap;
  }
}

@container (min-width: 25rem) {
  .suite__app {
    font-size: 0.8125rem;
  }

  .suite__app svg {
    width: 3rem;
    height: 3rem;
  }
}

/* ---------- How we work ---------- */

.photo-band {
  margin-bottom: var(--section-y);
  background: var(--mist);
}

.photo-band img {
  width: 100%;
  height: clamp(15rem, 9rem + 26vw, 28.75rem);
  object-fit: cover;
  object-position: 50% 42%;
}

.steps {
  display: grid;
  counter-reset: step;
}

.step {
  position: relative;
  padding: 0 0 1.75rem 3.375rem;
  counter-increment: step;
}

.step:last-child {
  padding-bottom: 0;
}

.step::before {
  content: counter(step);
  position: absolute;
  top: 0;
  left: 0;
  display: grid;
  place-items: center;
  width: 2.25rem;
  height: 2.25rem;
  border-radius: 50%;
  background: var(--green);
  color: var(--on-dark);
  font-size: 0.9375rem;
  font-weight: 700;
}

.step::after {
  content: '';
  position: absolute;
  top: 2.625rem;
  bottom: 0.375rem;
  left: calc(1.125rem - 0.5px);
  width: 1px;
  background: var(--line-strong);
}

.step:last-child::after {
  display: none;
}

.step .h3 {
  padding-top: 0.375rem;
}

.step p {
  margin-top: 0.375rem;
  font-size: 1rem;
}

/* ---------- Why Webbeon ---------- */

.why__head .link {
  margin-top: 0.75rem;
}

.points {
  display: grid;
  gap: 1.5rem;
}

.point {
  padding-top: 1.125rem;
  border-top: 1.5px solid var(--ink);
}

.point p {
  margin-top: 0.5rem;
  font-size: 1rem;
}

/* ---------- Results ---------- */

.helix {
  max-width: 27.5rem;
}

.stats {
  display: grid;
}

.stat {
  padding-block: 1.75rem;
  border-top: 1px solid var(--on-dark-line);
}

.stat__figure {
  display: flex;
  align-items: baseline;
  gap: 0.5rem;
  color: var(--on-dark);
  font-size: clamp(4.25rem, 3.2rem + 4.6vw, 6.25rem);
  font-weight: 800;
  line-height: 0.9;
  letter-spacing: -0.045em;
}

.stat__unit {
  color: var(--mint);
  font-size: 0.32em;
  font-weight: 700;
  letter-spacing: -0.01em;
}

.stat .h3 {
  margin-top: 1rem;
  font-size: 1.25rem;
}

.stat__area {
  margin-top: 0.375rem;
  color: var(--mint);
  font-size: 0.875rem;
  font-weight: 650;
}

.stat__note {
  margin-top: 0.75rem;
  font-size: 0.9375rem;
  line-height: 1.5;
}

.opportunity {
  display: grid;
  gap: 0.75rem;
  margin-top: 0.5rem;
  padding: 1.5rem;
  border: 1px solid rgba(94, 234, 212, 0.45);
  border-radius: var(--radius-m);
  background: rgba(94, 234, 212, 0.07);
}

.opportunity__figure {
  color: var(--on-dark);
  font-size: clamp(2.25rem, 1.6rem + 3.2vw, 3.5rem);
  font-weight: 800;
  line-height: 1;
  letter-spacing: -0.04em;
}

.opportunity .h3 {
  font-size: 1.125rem;
}

.opportunity .stat__area {
  margin-top: 0.25rem;
}

/* ---------- Partners ---------- */

.partner {
  display: grid;
  gap: 1.5rem;
  padding: clamp(1.5rem, 1rem + 2.6vw, 2.75rem);
  border-radius: var(--radius-l);
  background: var(--mist);
  scroll-margin-top: calc(var(--header-h) + 1rem);
}

.partner__title {
  font-size: clamp(1.5rem, 1.25rem + 1.1vw, 1.875rem);
  font-weight: 750;
  line-height: 1.12;
  letter-spacing: -0.025em;
}

.partner__text {
  margin-top: 0.75rem;
}

/* ---------- Questions ---------- */

.faq {
  display: grid;
  gap: 2rem;
}

.faq__head {
  margin-bottom: 0;
}

.faq__list {
  border-top: 1.5px solid var(--ink);
}

.qa {
  border-bottom: 1px solid var(--line-strong);
}

.qa summary {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  min-height: 4rem;
  padding-block: 0.875rem;
  list-style: none;
  cursor: pointer;
}

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

.qa .h3 {
  font-size: 1.125rem;
}

.qa__icon {
  position: relative;
  flex: none;
  width: 2rem;
  height: 2rem;
  border: 1.5px solid var(--ink);
  border-radius: 50%;
}

.qa__icon::before,
.qa__icon::after {
  content: '';
  position: absolute;
  top: 50%;
  left: 50%;
  width: 0.75rem;
  height: 1.5px;
  background: var(--ink);
  transform: translate(-50%, -50%);
  transition: transform 0.2s ease;
}

.qa__icon::after {
  transform: translate(-50%, -50%) rotate(90deg);
}

.qa[open] .qa__icon::after {
  transform: translate(-50%, -50%);
}

.qa__answer {
  max-width: 36rem;
  padding: 0 3rem 1.5rem 0;
}

.faq__aside {
  position: relative;
  padding-top: 4rem;
}

.ask {
  padding: 1.25rem 1.375rem;
  border: 1px solid var(--line);
  border-radius: var(--radius-m);
  background: var(--paper);
}

.ask p {
  margin-top: 0.375rem;
  font-size: 0.9375rem;
}

.ask .link {
  margin-top: 0.25rem;
  padding-bottom: 0;
  font-size: 0.9375rem;
}

.faq__bubbles {
  position: absolute;
  top: 0;
  right: 1.25rem;
  width: 6rem;
}

/* ---------- Contact ---------- */

.contact {
  display: grid;
  gap: 2.25rem;
}

.contact__details {
  display: grid;
  gap: 0.25rem;
  margin-top: 1.75rem;
  padding-top: 1.5rem;
  border-top: 1px solid var(--line);
  color: var(--ink);
  font-weight: 500;
}

.contact__details a {
  display: inline-block;
  padding-block: 0.375rem;
  text-decoration: underline;
  text-decoration-color: var(--line-strong);
  text-underline-offset: 0.3em;
}

.form {
  display: grid;
  gap: 1.125rem;
  padding: clamp(1.25rem, 0.75rem + 2.6vw, 2rem);
  border: 1.5px solid var(--ink);
  border-radius: var(--radius-m);
  background: var(--paper);
}

.field label {
  display: block;
  margin-bottom: 0.375rem;
  color: var(--ink);
  font-size: 0.9375rem;
  font-weight: 650;
  line-height: 1.3;
}

.field__optional {
  color: var(--muted);
  font-weight: 400;
}

.field input,
.field textarea {
  display: block;
  width: 100%;
  min-height: 3.125rem;
  padding: 0.75rem 0.875rem;
  border: 1px solid var(--line-strong);
  border-radius: var(--radius-s);
  background: var(--paper);
  color: var(--ink);
  font: inherit;
  font-size: 1rem;
  line-height: 1.4;
  appearance: none;
}

.field textarea {
  min-height: 8rem;
  resize: vertical;
}

.field input:focus-visible,
.field textarea:focus-visible {
  outline-offset: 0;
  border-color: var(--teal);
  border-radius: var(--radius-s);
}

.field [aria-invalid='true'] {
  border-color: #b3261e;
  box-shadow: inset 0 0 0 1px #b3261e;
}

.field__error {
  margin-top: 0.375rem;
  color: #b3261e;
  font-size: 0.875rem;
  font-weight: 600;
  line-height: 1.35;
}

.form__status {
  font-size: 0.9375rem;
  line-height: 1.5;
}

.form__status:empty {
  display: none;
}

.form__status a {
  font-weight: 600;
}

/* ---------- Legal pages ---------- */

.prose {
  max-width: 42rem;
}

.prose h1 {
  font-size: clamp(2rem, 1.5rem + 2.4vw, 3rem);
  font-weight: 800;
  line-height: 1.05;
  letter-spacing: -0.03em;
}

.prose__date {
  margin-top: 0.75rem;
  color: var(--muted);
  font-size: 0.9375rem;
}

.prose h2 {
  margin-top: 2.25rem;
  font-size: 1.25rem;
  font-weight: 700;
  line-height: 1.25;
  letter-spacing: -0.015em;
}

.prose p {
  margin-top: 0.75rem;
}

.prose a {
  color: var(--ink);
  font-weight: 600;
  text-underline-offset: 0.3em;
}


/* ---------- Footer ---------- */

.site-footer {
  padding-block: clamp(2.5rem, 2rem + 3vw, 4rem);
  background: var(--green);
  color: var(--on-dark-soft);
  font-size: 0.9375rem;
}

.site-footer__grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 2rem 1.5rem;
}

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

.site-footer__company {
  grid-column: 2;
  grid-row: 2 / span 2;
}

.site-footer .brand {
  color: var(--on-dark);
}

.site-footer .brand__mark {
  box-shadow: inset 0 0 0 1px rgba(94, 234, 212, 0.5);
}

.site-footer__tagline {
  margin-top: 0.5rem;
}

.site-footer__title {
  margin-bottom: 0.5rem;
  color: var(--mint);
  font-size: 0.875rem;
  font-weight: 650;
}

.site-footer__links a {
  display: inline-block;
  padding-block: 0.4375rem;
  color: var(--on-dark);
  text-decoration: none;
}

/* ---------- 600px and up ---------- */

@media (min-width: 600px) {
  .who__list {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    column-gap: 2rem;
  }

  .points {
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 2rem;
  }

  .opportunity {
    grid-template-columns: 1fr auto;
    align-items: center;
    padding: 1.75rem 2rem;
  }

  .opportunity__label {
    text-align: right;
  }

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

  .field--full,
  .form .btn,
  .form__status {
    grid-column: 1 / -1;
  }

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

  .site-footer__company {
    grid-column: auto;
    grid-row: auto;
  }
}

/* ---------- 720px and up ---------- */

@media (min-width: 720px) {
  .outcomes {
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 1rem;
  }
}

/* ---------- 900px and up ---------- */

@media (min-width: 900px) {
  .head {
    grid-template-columns: minmax(0, 1fr) auto;
    align-items: center;
    gap: 3rem;
  }

  .head__figure {
    width: 22rem;
  }

  .head__figure--wide {
    width: 26rem;
  }

  .who__head {
    display: flex;
    align-items: baseline;
    gap: 1rem;
  }

  .who__head .label {
    margin: 0;
  }

  .connector__text {
    max-width: none;
  }

  .who__list {
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 0.875rem;
    border: 0;
  }

  .who__item {
    padding: 0.875rem 1rem;
    border: 1px solid var(--line);
    border-radius: var(--radius-m);
  }

  .who__item .h3 {
    font-size: 1rem;
  }

  .service {
    grid-template-columns: minmax(0, 1.1fr) minmax(0, 0.9fr);
    align-items: center;
    gap: clamp(2.5rem, 5vw, 4.5rem);
  }

  .service--flip {
    grid-template-columns: minmax(0, 0.9fr) minmax(0, 1.1fr);
  }

  .service--flip .service__media {
    order: -1;
  }

  .service__media {
    max-width: none;
  }

  .steps {
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 2rem;
  }

  .step {
    padding: 3.25rem 0 0;
  }

  .step::after {
    top: 1.125rem;
    right: -1.625rem;
    bottom: auto;
    left: 2.625rem;
    width: auto;
    height: 1px;
  }

  .step .h3 {
    padding-top: 0;
  }

  .stats {
    grid-template-columns: repeat(3, minmax(0, 1fr));
    border-top: 1px solid var(--on-dark-line);
  }

  .stat {
    padding: 2rem 2rem 2.25rem;
    border-top: 0;
    border-left: 1px solid var(--on-dark-line);
  }

  .stat:first-child {
    padding-left: 0;
    border-left: 0;
  }

  .opportunity {
    margin-top: 1.5rem;
  }

  .partner {
    grid-template-columns: minmax(0, 1fr) auto;
    align-items: center;
    gap: 3rem;
  }

  .faq {
    grid-template-columns: minmax(0, 0.38fr) minmax(0, 0.62fr);
    grid-template-rows: auto 1fr;
    gap: 2rem clamp(2.5rem, 5vw, 4.5rem);
  }

  .faq__list {
    grid-column: 2;
    grid-row: 1 / span 2;
  }

  .faq__aside {
    padding-top: 0;
  }

  .faq__bubbles {
    position: static;
    width: 15rem;
    margin-top: 2rem;
  }

  .contact {
    grid-template-columns: minmax(0, 0.46fr) minmax(0, 0.54fr);
    align-items: start;
    gap: clamp(2.5rem, 5vw, 4.5rem);
  }

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

  .site-footer__brand {
    grid-column: auto;
  }
}

/* ---------- Hover (pointer devices only) ---------- */

@media (hover: hover) {
  .link:hover {
    color: var(--teal);
  }

  .btn:hover {
    background: var(--teal);
  }

  .btn--outline:hover {
    background: var(--mint-pale);
  }

  .qa summary:hover .h3 {
    color: var(--teal);
  }

  .contact__details a:hover,
  .proof__source a:hover {
    color: var(--teal);
    text-decoration-color: currentColor;
  }

  .field input:hover,
  .field textarea:hover {
    border-color: var(--ink);
  }

  .site-footer__links a:hover {
    text-decoration: underline;
    text-underline-offset: 0.3em;
  }
}

/* ---------- Motion ---------- */

@media (prefers-reduced-motion: no-preference) {
  html {
    scroll-behavior: smooth;
  }

  /* The one animated moment: the climbing line draws itself when it scrolls into view */
  .js .chart .chart__climb {
    stroke-dashoffset: 1;
    transition: stroke-dashoffset 1.4s cubic-bezier(0.3, 0, 0.2, 1) 0.15s;
  }

  .js .chart .chart__area,
  .js .chart .chart__dot {
    opacity: 0;
    transition: opacity 0.6s ease 1.1s;
  }

  .js .chart.is-drawn .chart__climb {
    stroke-dashoffset: 0;
  }

  .js .chart.is-drawn .chart__area,
  .js .chart.is-drawn .chart__dot {
    opacity: 1;
  }

  @supports (interpolate-size: allow-keywords) {
    .qa {
      interpolate-size: allow-keywords;
    }

    .qa::details-content {
      height: 0;
      overflow: hidden;
      transition: height 0.25s ease, content-visibility 0.25s allow-discrete;
    }

    .qa[open]::details-content {
      height: auto;
    }
  }
}

@media (prefers-reduced-motion: reduce) {
  *,
  *::before,
  *::after {
    transition-duration: 0.01ms !important;
  }
}
