/*
 * Veridens site styles.
 *
 * Design language: inspired by Stripe's marketing system (via the
 * awesome-design-md DESIGN.md, MIT), re-coloured to the Veridens leaf
 * greens. Borrowed: angled gradient-mesh band at the top, thin display
 * type with negative tracking, pill buttons, 12px cards, tabular
 * figures. Our own: palette, Geist instead of the proprietary Sohne,
 * certificate/register entry as the hero visual.
 *
 * Shape rule: buttons and chips are full pills; cards and panels are
 * --radius-card (12px); small tags are pills. Nothing else is rounded.
 * Spacing uses gap; margins only for centring.
 */

@font-face {
  font-family: 'Geist';
  font-style: normal;
  font-display: swap;
  font-weight: 100 900;
  src: url("../fonts/geist-latin-wght-normal.a147f99cd533.woff2") format('woff2-variations');
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6,
    U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122,
    U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}

@font-face {
  font-family: 'Geist';
  font-style: normal;
  font-display: swap;
  font-weight: 100 900;
  src: url("../fonts/geist-latin-ext-wght-normal.4841e590e2a9.woff2") format('woff2-variations');
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7,
    U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F,
    U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F,
    U+A720-A7FF;
}

@font-face {
  font-family: 'Geist Mono';
  font-style: normal;
  font-display: swap;
  font-weight: 100 900;
  src: url("../fonts/geist-mono-latin-wght-normal.a15f9d568fb0.woff2") format('woff2-variations');
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6,
    U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122,
    U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}

@font-face {
  font-family: 'Geist Mono';
  font-style: normal;
  font-display: swap;
  font-weight: 100 900;
  src: url("../fonts/geist-mono-latin-ext-wght-normal.693cf932fe6b.woff2") format('woff2-variations');
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7,
    U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F,
    U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F,
    U+A720-A7FF;
}

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

:root {
  color-scheme: light;

  /* Surfaces */
  --color-canvas: #fcfdfc;
  --color-canvas-soft: #f3f8f5;
  --color-surface: #ffffff;
  --color-hairline: #dfe8e3;

  /* Text. All pass WCAG AA on canvas and canvas-soft. */
  --color-ink: #0b2620;
  --color-ink-secondary: #2a4440;
  --color-ink-mute: #556b66;

  /* Brand. One accent: Veridens green. */
  --color-primary: #0a7a55;
  --color-primary-press: #075c40;
  --color-on-primary: #ffffff;
  --color-primary-subdued: #d5f2e1;
  --color-on-primary-subdued: #075c40;
  --color-feature: #0b2620;
  --color-on-feature: #e6efeb;
  --color-on-feature-mute: #a9c0b8;

  /* Register states (semantic, used only on status labels) */
  --color-state-valid: #0a7a55;
  --color-state-withdrawn: #9a3b2f;

  /* Gradient mesh stops, taken from the logo leaf */
  --mesh-base: #e9f8ef;
  --mesh-1: rgb(60 207 142 / 0.55);
  --mesh-2: rgb(14 159 110 / 0.45);
  --mesh-3: rgb(125 211 192 / 0.6);
  --mesh-4: rgb(232 247 161 / 0.7);
  --mesh-5: rgb(159 216 240 / 0.55);

  /* Elevation (tinted to the ink hue, never pure black) */
  --shadow-1: 0 1px 3px rgb(11 38 32 / 0.08);
  --shadow-2: 0 12px 32px rgb(11 38 32 / 0.12),
    0 2px 6px rgb(11 38 32 / 0.06);

  /* Type */
  --font-sans: 'Geist', system-ui, -apple-system, 'Segoe UI', sans-serif;
  --font-mono: 'Geist Mono', ui-monospace, 'Cascadia Mono', Consolas,
    monospace;

  /* Spacing (8px base) */
  --space-1: 0.25rem;
  --space-2: 0.5rem;
  --space-3: 0.75rem;
  --space-4: 1rem;
  --space-5: 1.5rem;
  --space-6: 2rem;
  --space-7: 3rem;
  --space-8: 4rem;
  --space-9: 6rem;

  --radius-card: 12px;
  --radius-pill: 9999px;

  --container-width: 75rem;
  --header-height: 4.5rem;

  --ease-out: cubic-bezier(0.16, 1, 0.3, 1);
}

/*
 * Light is the default for everyone. Dark is opt-in through the
 * header toggle (static/js/theme.js), which sets data-theme on <html>.
 */
:root[data-theme='dark'] {
  color-scheme: dark;

  --color-canvas: #0a1513;
  --color-canvas-soft: #0f1d1a;
  --color-surface: #12221e;
  --color-hairline: #21342f;

  --color-ink: #e6efeb;
  --color-ink-secondary: #c3d3cd;
  --color-ink-mute: #8fa59e;

  --color-primary: #3ccf8e;
  --color-primary-press: #5fdca3;
  --color-on-primary: #062018;
  --color-primary-subdued: #143a2d;
  --color-on-primary-subdued: #8ee6bb;
  --color-feature: #163a2f;
  --color-on-feature: #e6efeb;
  --color-on-feature-mute: #a9c0b8;

  --color-state-valid: #5fdca3;
  --color-state-withdrawn: #f0a090;

  --mesh-base: #0c1d18;
  --mesh-1: rgb(60 207 142 / 0.28);
  --mesh-2: rgb(14 159 110 / 0.35);
  --mesh-3: rgb(125 211 192 / 0.16);
  --mesh-4: rgb(190 230 120 / 0.12);
  --mesh-5: rgb(80 160 200 / 0.18);

  --shadow-1: 0 1px 3px rgb(0 0 0 / 0.3);
  --shadow-2: 0 16px 40px rgb(0 0 0 / 0.45), 0 2px 6px rgb(0 0 0 / 0.3);
}

/*
 * Stopgap: the PNG wordmark is black. Invert it and rotate the hue
 * back so the leaf stays green. Replace with an SVG logo whose
 * wordmark uses currentColor.
 */
[data-theme='dark'] .site-header__logo img,
[data-theme='dark'] .site-footer__brand img {
  filter: invert(1) hue-rotate(180deg);
}

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

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

html {
  scroll-padding-top: var(--space-5);
  -webkit-tap-highlight-color: transparent;
}

a,
button {
  touch-action: manipulation;
}

body {
  position: relative;
  margin: 0;
  display: flex;
  flex-direction: column;
  min-height: 100dvh;
  background: var(--color-canvas);
  color: var(--color-ink);
  font-family: var(--font-sans);
  font-size: 1rem;
  line-height: 1.55;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}

main {
  flex: 1;
}

h1,
h2,
h3,
p,
ul,
ol,
dl,
dd,
figure {
  margin: 0;
}

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

a {
  color: var(--color-primary);
  text-underline-offset: 0.2em;
}

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

.mono {
  font-family: var(--font-mono);
  font-variant-numeric: tabular-nums;
  letter-spacing: -0.01em;
}

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

@media (min-width: 768px) {
  .container {
    padding-inline: var(--space-6);
  }
}

.skip-link {
  position: absolute;
  left: var(--space-4);
  top: -100%;
  z-index: 2;
  padding: var(--space-2) var(--space-4);
  background: var(--color-surface);
  border-radius: var(--radius-pill);
}

.skip-link:focus {
  top: var(--space-4);
}

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

.display {
  font-size: clamp(2.125rem, 1.2rem + 3.6vw, 3.25rem);
  font-weight: 300;
  line-height: 1.05;
  letter-spacing: -0.025em;
  overflow-wrap: break-word;
  hyphens: manual;
  text-wrap: balance;
}

.section-heading {
  font-size: clamp(1.75rem, 1.3rem + 1.6vw, 2.5rem);
  font-weight: 300;
  line-height: 1.12;
  letter-spacing: -0.02em;
  text-wrap: balance;
}

.section-heading--narrow {
  max-width: 22ch;
}

.lead {
  max-width: 58ch;
  font-size: clamp(1.0625rem, 1rem + 0.3vw, 1.1875rem);
  line-height: 1.55;
  color: var(--color-ink-secondary);
}

/* ---------------------------------------------------------------- */
/* Buttons and links                                                */
/* ---------------------------------------------------------------- */

.button {
  display: inline-flex;
  align-items: center;
  min-height: 2.75rem;
  padding: var(--space-2) var(--space-5);
  border: 1px solid var(--color-primary);
  border-radius: var(--radius-pill);
  background: var(--color-primary);
  color: var(--color-on-primary);
  font-size: 1rem;
  font-weight: 500;
  line-height: 1;
  white-space: nowrap;
  text-decoration: none;
  transition: background-color 160ms var(--ease-out),
    transform 160ms var(--ease-out);
}

.button:hover {
  background: var(--color-primary-press);
  border-color: var(--color-primary-press);
}

.button:active {
  transform: scale(0.98);
}

.button--secondary {
  background: var(--color-surface);
  color: var(--color-primary);
  border-color: var(--color-hairline);
}

.button--secondary:hover {
  background: var(--color-surface);
  border-color: var(--color-primary);
}

.button--small {
  min-height: 2.25rem;
  padding-inline: var(--space-4);
  font-size: 0.9375rem;
}

.text-link {
  font-weight: 500;
  text-decoration-thickness: 1px;
  transition: text-decoration-thickness 160ms var(--ease-out);
}

.text-link:hover {
  text-decoration-thickness: 2px;
}

.actions {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: var(--space-3) var(--space-5);
}

/* ---------------------------------------------------------------- */
/* Gradient mesh (decorative, behind the header and hero)           */
/* ---------------------------------------------------------------- */

.mesh {
  position: absolute;
  inset: 0 0 auto 0;
  height: 46rem;
  background:
    radial-gradient(40% 60% at 92% 18%, var(--mesh-2), transparent 70%),
    radial-gradient(35% 55% at 70% 0%, var(--mesh-1), transparent 70%),
    radial-gradient(30% 45% at 100% 70%, var(--mesh-5), transparent 70%),
    radial-gradient(45% 55% at 45% 10%, var(--mesh-4), transparent 70%),
    radial-gradient(50% 60% at 10% 0%, var(--mesh-3), transparent 70%),
    var(--mesh-base);
  clip-path: polygon(0 0, 100% 0, 100% 62%, 0 100%);
  pointer-events: none;
}

.mesh--short {
  height: 22rem;
}

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

.site-header {
  position: relative;
}

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

.site-header__logo img {
  display: block;
  height: 2.25rem;
  width: auto;
}

.site-nav {
  display: flex;
  align-items: center;
  gap: var(--space-5);
  margin-left: auto;
}

.site-nav__link {
  color: var(--color-ink);
  font-size: 0.9375rem;
  font-weight: 500;
  text-decoration: none;
}

.site-nav__link:hover {
  color: var(--color-primary);
}

/* The section the visitor is in. */
.site-nav__link[aria-current] {
  color: var(--color-primary);
  text-decoration: underline;
  text-decoration-thickness: 2px;
  text-underline-offset: 0.4em;
}

/*
 * Theme toggle: icon button at the far right of the header. Shown by
 * theme.js, so it never appears without JS. The moon offers dark mode;
 * in dark mode the sun offers light mode.
 */
.theme-toggle {
  display: inline-grid;
  place-items: center;
  width: 2.25rem;
  height: 2.25rem;
  padding: 0;
  border: 1px solid var(--color-hairline);
  border-radius: var(--radius-pill);
  background: var(--color-surface);
  color: var(--color-ink);
  cursor: pointer;
  transition: border-color 160ms var(--ease-out),
    color 160ms var(--ease-out);
}

.theme-toggle[hidden] {
  display: none;
}

.theme-toggle:hover {
  border-color: var(--color-primary);
  color: var(--color-primary);
}

.theme-toggle__icon--sun,
[data-theme='dark'] .theme-toggle__icon--moon {
  display: none;
}

[data-theme='dark'] .theme-toggle__icon--sun {
  display: block;
}

/*
 * Narrow screens: logo and CTA on the first row, text links on a
 * second row. Keeps every link visible without a JS menu.
 */
@media (max-width: 639px) {
  .site-header__inner {
    flex-wrap: wrap;
    row-gap: var(--space-2);
    padding-block: var(--space-3);
  }

  .site-nav {
    order: 3;
    flex-basis: 100%;
    margin-left: 0;
  }

  .site-header__cta {
    margin-left: auto;
  }

  .site-nav__link {
    padding-block: var(--space-2);
  }

  .site-header__logo img {
    height: 1.75rem;
  }
}

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

.hero {
  position: relative;
  padding-block: var(--space-7) var(--space-9);
}

.hero__inner {
  display: grid;
  gap: var(--space-8);
  align-items: center;
}

.hero__copy {
  display: grid;
  gap: var(--space-5);
  max-width: 40rem;
}

/*
 * Below desktop the ring stacks under the copy. Keep the two close and
 * let the home gradient run down far enough to sit behind the ring, so
 * the hero reads as one block.
 */
@media (max-width: 1023px) {
  .hero {
    padding-block: var(--space-6) var(--space-7);
  }

  .hero__inner {
    gap: var(--space-5);
  }

  .mesh:not(.mesh--short) {
    height: 58rem;
    clip-path: polygon(0 0, 100% 0, 100% 92%, 0 100%);
  }
}

/*
 * Phones: the header already shows "Book a demo" just above, so the
 * hero keeps only the schemes button, full width.
 */
@media (max-width: 639px) {
  .hero__demo {
    display: none;
  }

  .hero__schemes {
    width: 100%;
    justify-content: center;
  }
}

.hero__eyebrow {
  color: var(--color-primary);
  font-size: 0.9375rem;
  font-weight: 500;
}

.hero__visual {
  position: relative;
  display: grid;
  max-width: 30rem;
}

@media (min-width: 1024px) {
  .hero {
    padding-block: var(--space-8) var(--space-9);
  }

  .hero__inner {
    grid-template-columns: minmax(0, 1.35fr) minmax(0, 1fr);
    gap: var(--space-7);
  }

  .hero__visual {
    justify-self: end;
    width: 100%;
  }
}

/*
 * Lifecycle ring (hero visual): seven steps on a circle around "one
 * case". On load the ring draws itself and the steps pop in one after
 * another, once, in under five seconds; then it stays still. With
 * reduced motion it is simply complete.
 */

.cycle {
  container-type: inline-size;
  position: relative;
  justify-self: center;
  width: min(100%, 19rem);
  aspect-ratio: 1;
  /* Room above for the top node, below for the bottom labels. */
  margin: var(--space-5) 0 var(--space-6);
}

.cycle__ring {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  overflow: visible;
}

.cycle__track,
.cycle__progress {
  fill: none;
  stroke-width: 0.7;
}

.cycle__track {
  stroke: var(--color-hairline);
}

.cycle__progress {
  stroke: var(--color-primary);
  stroke-dasharray: 100;
  stroke-linecap: round;
  transform: rotate(-90deg);
  transform-origin: 50% 50%;
}

.cycle__steps {
  position: absolute;
  inset: 0;
}

/* Each step sits on the ring at its own angle, label upright. */
.cycle__step {
  --angle: 0deg;
  position: absolute;
  left: 50%;
  top: 50%;
  display: grid;
  place-items: center;
  transform:
    translate(-50%, -50%)
    rotate(var(--angle))
    translateY(-38.5cqw)
    rotate(calc(-1 * var(--angle)));
}

.cycle__step:nth-child(2) { --angle: 51.43deg; }
.cycle__step:nth-child(3) { --angle: 102.86deg; }
.cycle__step:nth-child(4) { --angle: 154.29deg; }
.cycle__step:nth-child(5) { --angle: 205.71deg; }
.cycle__step:nth-child(6) { --angle: 257.14deg; }
.cycle__step:nth-child(7) { --angle: 308.57deg; }

.cycle__node {
  display: grid;
  place-items: center;
  width: 2.75rem;
  height: 2.75rem;
  border: 1px solid var(--color-hairline);
  border-radius: var(--radius-pill);
  background: var(--color-surface);
  color: var(--color-primary);
  box-shadow: var(--shadow-1);
}

.cycle__icon {
  width: 1.25rem;
  height: 1.25rem;
}

/* A pill behind each label keeps it clear of the ring line. */
.cycle__label {
  position: absolute;
  top: calc(100% + 0.25rem);
  left: 50%;
  transform: translateX(-50%);
  padding: 0.125rem 0.5rem;
  border-radius: var(--radius-pill);
  background: color-mix(in srgb, var(--color-surface) 90%, transparent);
  font-size: 0.75rem;
  font-weight: 500;
  white-space: nowrap;
}

.cycle__center {
  position: absolute;
  inset: 0;
  display: grid;
  place-content: center;
  justify-items: center;
  gap: var(--space-2);
  padding: 30cqw;
  text-align: center;
}

.cycle__center img {
  width: 2.5rem;
  height: auto;
}

.cycle__center span {
  font-size: 0.875rem;
  font-weight: 500;
  line-height: 1.3;
  text-wrap: balance;
}

@media (min-width: 640px) {
  .cycle {
    width: min(100%, 28rem);
  }

  .cycle__node {
    width: 3.5rem;
    height: 3.5rem;
  }

  .cycle__icon {
    width: 1.625rem;
    height: 1.625rem;
  }

  .cycle__label {
    font-size: 0.875rem;
  }

  .cycle__center img {
    width: 3.5rem;
  }

  .cycle__center span {
    font-size: 1.0625rem;
  }
}

@media (min-width: 1024px) {
  .cycle {
    justify-self: end;
    margin: var(--space-5) var(--space-6) var(--space-7) 0;
  }
}

@media (prefers-reduced-motion: no-preference) {
  .cycle__progress {
    animation: cycle-draw 3.9s cubic-bezier(0.45, 0, 0.55, 1) 0.2s both;
  }

  .cycle__node {
    animation: cycle-pop 450ms var(--ease-out) both;
  }

  .cycle__step:nth-child(1) .cycle__node { animation-delay: 0.2s; }
  .cycle__step:nth-child(2) .cycle__node { animation-delay: 0.75s; }
  .cycle__step:nth-child(3) .cycle__node { animation-delay: 1.3s; }
  .cycle__step:nth-child(4) .cycle__node { animation-delay: 1.85s; }
  .cycle__step:nth-child(5) .cycle__node { animation-delay: 2.4s; }
  .cycle__step:nth-child(6) .cycle__node { animation-delay: 2.95s; }
  .cycle__step:nth-child(7) .cycle__node { animation-delay: 3.5s; }
}

@keyframes cycle-draw {
  from {
    stroke-dashoffset: 100;
  }
}

@keyframes cycle-pop {
  from {
    opacity: 0;
    transform: scale(0.6);
  }
}

/* Benefits: three outcomes, separated by rules rather than cards. */

.benefits {
  display: grid;
  gap: var(--space-6);
}

.benefit {
  display: grid;
  gap: var(--space-3);
  align-content: start;
  padding-top: var(--space-5);
  border-top: 1px solid var(--color-hairline);
}

.benefit__icon {
  width: 2.75rem;
  height: 2.75rem;
  padding: 0.6rem;
  border-radius: var(--radius-pill);
  background: var(--color-primary-subdued);
  color: var(--color-on-primary-subdued);
}

.benefit__title {
  font-size: 1.375rem;
  font-weight: 400;
  letter-spacing: -0.015em;
}

.benefit p {
  color: var(--color-ink-secondary);
}

@media (min-width: 1024px) {
  .benefits {
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: var(--space-7);
  }
}

/* Certificate sample: an image of the platform's certificate layout. */

.certificate-sheet {
  display: grid;
  gap: var(--space-4);
  justify-items: center;
  margin: 0;
}

.certificate-sheet img {
  display: block;
  width: 100%;
  max-width: 24rem;
  height: auto;
  border-radius: 4px;
  box-shadow: var(--shadow-2);
  transform: rotate(-1.5deg);
}

.certificate-sheet figcaption {
  max-width: 25rem;
  color: var(--color-ink-mute);
  font-size: 0.8125rem;
  text-align: center;
}

.tag {
  padding: var(--space-1) var(--space-3);
  border-radius: var(--radius-pill);
  background: var(--color-primary-subdued);
  color: var(--color-on-primary-subdued);
  font-size: 0.75rem;
  font-weight: 500;
  white-space: nowrap;
}

/* ---------------------------------------------------------------- */
/* Sections                                                         */
/* ---------------------------------------------------------------- */

.section {
  padding-block: var(--space-8);
}

@media (min-width: 1024px) {
  .section {
    padding-block: var(--space-9);
  }
}

.section--tinted {
  background: var(--color-canvas-soft);
}

.section--bordered {
  border-block: 1px solid var(--color-hairline);
  padding-block: var(--space-8);
}

.section--last {
  padding-top: var(--space-6);
}

.stack {
  display: grid;
  gap: var(--space-7);
}

.section-intro {
  display: grid;
  gap: var(--space-4);
  align-content: start;
}

/* Audiences: asymmetric bento, one tall feature cell + two stacked */

.audiences {
  display: grid;
  gap: var(--space-4);
}

.audience {
  display: grid;
  align-content: start;
  gap: var(--space-3);
  padding: var(--space-6);
  border-radius: var(--radius-card);
  border: 1px solid var(--color-hairline);
  background: var(--color-surface);
}

.audience p:last-child {
  color: var(--color-ink-secondary);
}

.audience__standard {
  font-family: var(--font-mono);
  font-size: 0.8125rem;
  color: var(--color-ink-mute);
}

.audience__title {
  font-size: 1.5rem;
  font-weight: 400;
  line-height: 1.2;
  letter-spacing: -0.015em;
}

.audience--1 {
  background:
    radial-gradient(60% 55% at 85% 10%, rgb(60 207 142 / 0.45), transparent 70%),
    radial-gradient(45% 40% at 55% 0%, rgb(232 247 161 / 0.18), transparent 70%),
    radial-gradient(50% 45% at 100% 45%, rgb(125 211 192 / 0.22), transparent 70%),
    var(--color-feature);
  border-color: var(--color-feature);
  color: var(--color-on-feature);
}

.audience--1 .audience__standard,
.audience--1 p:last-child {
  color: var(--color-on-feature-mute);
}

/*
 * Photo card: the image fills the card and a scrim in the feature
 * colour rises from the bottom so the text keeps AA contrast.
 */
.audience--photo {
  isolation: isolate;
  overflow: hidden;
  min-height: 24rem;
  align-content: end;
}

.audience__photo {
  position: absolute;
  inset: 0;
  z-index: -2;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: 40% 30%;
}

.audience--photo::before {
  content: '';
  position: absolute;
  inset: 0;
  z-index: -1;
  background: linear-gradient(
    to top,
    var(--color-feature) 0%,
    color-mix(in srgb, var(--color-feature) 92%, transparent) 32%,
    color-mix(in srgb, var(--color-feature) 35%, transparent) 62%,
    transparent 85%
  );
}

.audience--2 {
  background:
    radial-gradient(70% 90% at 100% 0%, var(--mesh-1), transparent 70%),
    radial-gradient(60% 80% at 0% 100%, var(--mesh-4), transparent 70%),
    var(--color-surface);
}

/* The whole card is the link target; the title carries the link text. */
.audience {
  position: relative;
  transition: border-color 160ms var(--ease-out);
}

.audience__link {
  color: inherit;
  text-decoration: none;
}

.audience__link::after {
  content: '';
  position: absolute;
  inset: 0;
  border-radius: var(--radius-card);
}

.audience:hover {
  border-color: var(--color-primary);
}

.audience:hover .audience__link {
  text-decoration: underline;
  text-decoration-thickness: 1px;
}

@media (min-width: 768px) {
  .audiences {
    grid-template-columns: 1.25fr 1fr;
  }

  .audience--1 {
    grid-row: 1 / span 3;
    align-content: end;
    min-height: 22rem;
    padding: var(--space-7);
  }

  .audience--1 .audience__title {
    font-size: 2rem;
    font-weight: 300;
  }
}

/* Lifecycle: one connected sequence */

.lifecycle {
  display: grid;
  gap: var(--space-5);
}

.lifecycle__step {
  position: relative;
  display: grid;
  gap: var(--space-2);
  padding-left: var(--space-6);
}

.lifecycle__step::before {
  content: '';
  position: absolute;
  left: 0;
  top: 0.4rem;
  width: 0.75rem;
  height: 0.75rem;
  border: 2px solid var(--color-primary);
  border-radius: var(--radius-pill);
  background: var(--color-canvas-soft);
}

.lifecycle__step:not(:last-child)::after {
  content: '';
  position: absolute;
  left: calc(0.375rem - 1px);
  top: 1.4rem;
  bottom: calc(-1 * var(--space-5) + 0.2rem);
  width: 2px;
  background: var(--color-hairline);
}

.lifecycle__name {
  font-size: 1.0625rem;
  font-weight: 500;
}

.lifecycle__step p {
  color: var(--color-ink-secondary);
  font-size: 0.9375rem;
}

@media (min-width: 1024px) {
  /* One equal column per step, whatever the step count. */
  .lifecycle {
    grid-auto-flow: column;
    grid-auto-columns: minmax(0, 1fr);
    gap: var(--space-4);
  }

  .lifecycle__step {
    padding-left: 0;
    padding-top: var(--space-6);
    align-content: start;
  }

  .lifecycle__step::before {
    top: 0;
  }

  .lifecycle__step:not(:last-child)::after {
    left: 1.25rem;
    right: calc(-1 * var(--space-4) + 0.5rem);
    top: calc(0.375rem - 1px);
    bottom: auto;
    width: auto;
    height: 2px;
  }

  .lifecycle__step:last-child::before {
    background: var(--color-primary);
  }
}

/*
 * Lifecycle with icons (home): the same icons as the hero ring. When
 * the list scrolls into view (static/js/reveal.js) the line draws and
 * the icons pop in one after another, once.
 */

.lifecycle--icons .lifecycle__step {
  min-height: 3rem;
  padding-left: 4.25rem;
}

.lifecycle--icons .lifecycle__step::before {
  display: none;
}

.lifecycle__node {
  position: absolute;
  left: 0;
  top: 0;
  z-index: 1;
  display: grid;
  place-items: center;
  width: 3rem;
  height: 3rem;
  border: 1px solid var(--color-hairline);
  border-radius: var(--radius-pill);
  background: var(--color-surface);
  color: var(--color-primary);
  box-shadow: var(--shadow-1);
}

.lifecycle__node .cycle__icon {
  width: 1.375rem;
  height: 1.375rem;
}

.lifecycle--icons .lifecycle__step:last-child .lifecycle__node {
  border-color: var(--color-primary);
  background: var(--color-primary);
  color: var(--color-on-primary);
}

.lifecycle--icons .lifecycle__step:not(:last-child)::after {
  left: calc(1.5rem - 1px);
  top: 3.25rem;
  bottom: calc(-1 * var(--space-5) + 0.25rem);
  background: var(--color-primary);
  opacity: 0.35;
  transform-origin: top;
}

@media (min-width: 1024px) {
  .lifecycle--icons .lifecycle__step {
    padding-left: 0;
    padding-top: 4.25rem;
  }

  .lifecycle--icons .lifecycle__step:not(:last-child)::after {
    left: 3.5rem;
    right: calc(-1 * var(--space-4) + 0.5rem);
    top: calc(1.5rem - 1px);
    bottom: auto;
    width: auto;
    height: 2px;
    transform-origin: left;
  }
}

@media (prefers-reduced-motion: no-preference) {
  .lifecycle--icons .lifecycle__node {
    transition: opacity 400ms var(--ease-out), transform 400ms var(--ease-out);
  }

  .lifecycle--icons .lifecycle__step::after {
    transition: transform 320ms ease-out;
  }

  .lifecycle--icons.is-armed:not(.is-revealed) .lifecycle__node {
    opacity: 0;
    transform: scale(0.6);
  }

  .lifecycle--icons.is-armed:not(.is-revealed) .lifecycle__step::after {
    transform: scaleY(0);
  }

  .lifecycle--icons .lifecycle__step:nth-child(2) .lifecycle__node { transition-delay: 0.18s; }
  .lifecycle--icons .lifecycle__step:nth-child(3) .lifecycle__node { transition-delay: 0.36s; }
  .lifecycle--icons .lifecycle__step:nth-child(4) .lifecycle__node { transition-delay: 0.54s; }
  .lifecycle--icons .lifecycle__step:nth-child(5) .lifecycle__node { transition-delay: 0.72s; }
  .lifecycle--icons .lifecycle__step:nth-child(6) .lifecycle__node { transition-delay: 0.9s; }
  .lifecycle--icons .lifecycle__step:nth-child(7) .lifecycle__node { transition-delay: 1.08s; }

  .lifecycle--icons .lifecycle__step:nth-child(1)::after { transition-delay: 0.1s; }
  .lifecycle--icons .lifecycle__step:nth-child(2)::after { transition-delay: 0.28s; }
  .lifecycle--icons .lifecycle__step:nth-child(3)::after { transition-delay: 0.46s; }
  .lifecycle--icons .lifecycle__step:nth-child(4)::after { transition-delay: 0.64s; }
  .lifecycle--icons .lifecycle__step:nth-child(5)::after { transition-delay: 0.82s; }
  .lifecycle--icons .lifecycle__step:nth-child(6)::after { transition-delay: 1s; }
}

@media (prefers-reduced-motion: no-preference) and (min-width: 1024px) {
  .lifecycle--icons.is-armed:not(.is-revealed) .lifecycle__step::after {
    transform: scaleX(0);
  }
}

/* Printouts always show the finished lifecycle. */
@media print {
  .lifecycle--icons .lifecycle__node {
    opacity: 1 !important;
    transform: none !important;
  }

  .lifecycle--icons .lifecycle__step::after {
    transform: none !important;
  }
}

/* Product screenshots: real UI, never mock-ups. */

.screenshot {
  display: grid;
  gap: var(--space-3);
  margin: 0;
}

.screenshot img {
  display: block;
  width: 100%;
  height: auto;
  border: 1px solid var(--color-hairline);
  border-radius: var(--radius-card);
  box-shadow: var(--shadow-2);
}

.screenshot figcaption {
  color: var(--color-ink-mute);
  font-size: 0.8125rem;
}

/* Product highlight on the home page: copy left, screenshot right. */

.product-feature {
  display: grid;
  gap: var(--space-7);
  align-items: center;
}

.product-feature__copy {
  display: grid;
  gap: var(--space-4);
  justify-items: start;
}

.checklist {
  display: grid;
  gap: var(--space-2);
}

.checklist li {
  position: relative;
  padding-left: var(--space-6);
}

.checklist li::before {
  content: '';
  position: absolute;
  left: 0.25rem;
  top: 0.45em;
  width: 0.7rem;
  height: 0.4rem;
  border-left: 2px solid var(--color-primary);
  border-bottom: 2px solid var(--color-primary);
  transform: rotate(-45deg);
}

@media (min-width: 1024px) {
  .product-feature {
    grid-template-columns: minmax(0, 1fr) minmax(0, 1.5fr);
  }

  /* Mirrored: the visual on the left, the copy on the right. */
  .product-feature--reverse {
    grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
  }

  .product-feature--reverse .certificate-sheet {
    order: -1;
  }

}

/*
 * The screenshot runs past the container's right edge, but only where
 * the page gutter is wider than the bleed, so it never causes
 * horizontal scrolling.
 */
@media (min-width: 1360px) {
  .screenshot--bleed {
    margin-right: calc(-1 * var(--space-8));
  }
}

/*
 * Stat row (RoutePlanner proof). Per the dataviz rules: label plus
 * value in the body sans with proportional figures, ink colours only,
 * and the source stated beside it.
 */
.stats {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: var(--space-5);
}

.stat {
  display: flex;
  flex-direction: column-reverse;
  gap: var(--space-1);
  padding-top: var(--space-4);
  border-top: 1px solid var(--color-hairline);
}

.stat__label {
  color: var(--color-ink-secondary);
}

.stat__value {
  font-size: clamp(2.25rem, 1.6rem + 2.4vw, 3.25rem);
  font-weight: 500;
  line-height: 1.05;
  letter-spacing: -0.03em;
}

.stats__note {
  max-width: 62ch;
  color: var(--color-ink-mute);
  font-size: 0.875rem;
}

@media (min-width: 768px) {
  .stats {
    grid-template-columns: repeat(4, minmax(0, 1fr));
  }
}

/* Dark feature band (RoutePlanner AI review) */

.feature-band {
  display: grid;
  gap: var(--space-4);
  padding: var(--space-7) var(--space-5);
  border-radius: var(--radius-card);
  background:
    radial-gradient(50% 80% at 100% 0%, rgb(60 207 142 / 0.35), transparent 70%),
    var(--color-feature);
  color: var(--color-on-feature);
}

.feature-band p {
  max-width: 62ch;
  color: var(--color-on-feature-mute);
  font-size: 1.0625rem;
}

@media (min-width: 768px) {
  .feature-band {
    padding: var(--space-8);
  }
}

/*
 * AI section (home): a dark band with a small flow on the right (your
 * assistant, via MCP, to Veridens, a suggestion, a person decides) and
 * four points with icons below. The flow reveals once on scroll
 * (static/js/reveal.js); the last node pulses twice, then rests.
 */

.ai-band {
  --ai-mint: #3ccf8e;
  --ai-line: color-mix(in srgb, var(--color-on-feature) 22%, transparent);
  gap: var(--space-7);
  background:
    radial-gradient(45% 70% at 100% 0%, rgb(60 207 142 / 0.35), transparent 70%),
    radial-gradient(35% 60% at 0% 100%, rgb(125 211 192 / 0.14), transparent 70%),
    var(--color-feature);
}

.ai-band .lead {
  color: var(--color-on-feature-mute);
}

.ai-flow {
  display: grid;
  justify-self: start;
}

.ai-flow__step {
  position: relative;
  display: grid;
  grid-template-columns: 3rem auto;
  align-items: center;
  gap: var(--space-4);
  padding-bottom: var(--space-6);
}

.ai-flow__step:last-child {
  padding-bottom: 0;
}

.ai-flow__node {
  position: relative;
  z-index: 1;
  display: grid;
  place-items: center;
  width: 3rem;
  height: 3rem;
  border: 1px solid var(--ai-line);
  border-radius: var(--radius-pill);
  background: color-mix(in srgb, var(--color-on-feature) 8%, var(--color-feature));
  color: var(--color-on-feature);
}

.ai-flow__node .ai-icon,
.ai-flow__node img {
  width: 1.375rem;
  height: 1.375rem;
}

.ai-flow__step:last-child .ai-flow__node {
  border-color: var(--ai-mint);
  background: var(--ai-mint);
  color: #062018;
}

.ai-flow__label {
  font-weight: 500;
}

.ai-flow__step:last-child .ai-flow__label {
  color: var(--ai-mint);
}

/* The line between nodes. */
.ai-flow__step:not(:last-child)::after {
  content: '';
  position: absolute;
  left: calc(1.5rem - 1px);
  top: 3rem;
  bottom: 0;
  width: 2px;
  background: var(--ai-line);
  transform-origin: top;
}

/* "MCP" sits on the first line, between the assistant and Veridens. */
.ai-flow__via {
  position: absolute;
  left: 2.25rem;
  bottom: calc(var(--space-6) / 2 - 0.65rem);
  padding: 0.0625rem 0.5rem;
  border: 1px solid var(--ai-line);
  border-radius: var(--radius-pill);
  font-family: var(--font-mono);
  font-size: 0.75rem;
  color: var(--ai-mint);
}

.ai-band__items {
  display: grid;
  gap: var(--space-5) var(--space-6);
}

.ai-band__item {
  display: grid;
  gap: var(--space-2);
  align-content: start;
  padding-top: var(--space-4);
  border-top: 1px solid var(--ai-line);
}

.ai-band__icon {
  display: grid;
  place-items: center;
  width: 2.5rem;
  height: 2.5rem;
  margin-bottom: var(--space-1);
  border-radius: var(--radius-pill);
  background: color-mix(in srgb, var(--ai-mint) 16%, transparent);
  color: var(--ai-mint);
}

.ai-band__icon .ai-icon {
  width: 1.25rem;
  height: 1.25rem;
}

.ai-band__item dt {
  font-weight: 500;
}

.ai-band__item dd {
  color: var(--color-on-feature-mute);
}

@media (min-width: 768px) {
  .ai-band__items {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (min-width: 1024px) {
  .ai-band {
    grid-template-columns: minmax(0, 1.3fr) minmax(0, 1fr);
    align-items: center;
  }

  .ai-flow {
    justify-self: center;
  }

  .ai-band__items {
    grid-column: 1 / -1;
    grid-template-columns: repeat(4, minmax(0, 1fr));
  }
}

@media (prefers-reduced-motion: no-preference) {
  .ai-flow__node,
  .ai-flow__label {
    transition: opacity 400ms var(--ease-out), transform 400ms var(--ease-out);
  }

  .ai-flow__step::after {
    transition: transform 320ms ease-out;
  }

  .ai-flow.is-armed:not(.is-revealed) .ai-flow__node,
  .ai-flow.is-armed:not(.is-revealed) .ai-flow__label {
    opacity: 0;
    transform: translateY(6px);
  }

  .ai-flow.is-armed:not(.is-revealed) .ai-flow__step::after {
    transform: scaleY(0);
  }

  .ai-flow__step:nth-child(2) .ai-flow__node,
  .ai-flow__step:nth-child(2) .ai-flow__label { transition-delay: 0.35s; }
  .ai-flow__step:nth-child(3) .ai-flow__node,
  .ai-flow__step:nth-child(3) .ai-flow__label { transition-delay: 0.7s; }
  .ai-flow__step:nth-child(4) .ai-flow__node,
  .ai-flow__step:nth-child(4) .ai-flow__label { transition-delay: 1.05s; }

  .ai-flow__step:nth-child(1)::after { transition-delay: 0.15s; }
  .ai-flow__step:nth-child(2)::after { transition-delay: 0.5s; }
  .ai-flow__step:nth-child(3)::after { transition-delay: 0.85s; }

  /* The person who decides gets a soft pulse, twice, once revealed. */
  .ai-flow.is-revealed .ai-flow__step:last-child .ai-flow__node {
    animation: ai-decide 1.4s ease-out 1.5s 2;
  }
}

@keyframes ai-decide {
  from {
    box-shadow: 0 0 0 0 rgb(60 207 142 / 0.55);
  }
  to {
    box-shadow: 0 0 0 14px rgb(60 207 142 / 0);
  }
}

@media print {
  .ai-flow__node,
  .ai-flow__label {
    opacity: 1 !important;
    transform: none !important;
  }

  .ai-flow__step::after {
    transform: none !important;
  }
}

/* Products: compact rows on the home page, cards on /products/. */

.products-intro {
  display: flex;
  flex-wrap: wrap;
  align-items: baseline;
  justify-content: space-between;
  gap: var(--space-3) var(--space-5);
}

.product-list {
  display: grid;
  gap: 0 var(--space-7);
}

.product-row {
  display: grid;
  grid-template-columns: auto minmax(0, 1fr) auto;
  align-items: center;
  gap: var(--space-4);
  padding-block: var(--space-4);
  border-top: 1px solid var(--color-hairline);
  color: var(--color-ink);
  text-decoration: none;
}

.product-row__icon,
.product-card__icon {
  display: grid;
  place-items: center;
  width: 2.75rem;
  height: 2.75rem;
  border-radius: var(--radius-pill);
  background: var(--color-primary-subdued);
  color: var(--color-on-primary-subdued);
}

.product-row__icon svg,
.product-card__icon svg {
  width: 1.375rem;
  height: 1.375rem;
}

.product-row__copy {
  display: grid;
  gap: 0.125rem;
}

.product-row__title {
  font-size: 1.125rem;
  font-weight: 500;
}

.product-row__text {
  color: var(--color-ink-secondary);
  font-size: 0.9375rem;
}

.product-row__arrow {
  color: var(--color-ink-mute);
  transition: transform 160ms var(--ease-out), color 160ms var(--ease-out);
}

.product-row__arrow svg {
  width: 1.25rem;
  height: 1.25rem;
}

.product-row:hover .product-row__title {
  color: var(--color-primary);
}

.product-row:hover .product-row__arrow {
  color: var(--color-primary);
  transform: translateX(3px);
}

@media (min-width: 1024px) {
  .product-list {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

.product-cards {
  display: grid;
  gap: var(--space-4);
}

.product-card {
  display: grid;
  align-content: start;
  gap: var(--space-4);
  padding: var(--space-6);
  border: 1px solid var(--color-hairline);
  border-radius: var(--radius-card);
  background: var(--color-surface);
}

.product-card__head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: var(--space-3);
}

.product-card__title {
  font-size: 1.5rem;
  font-weight: 400;
  letter-spacing: -0.015em;
}

.product-card__problem {
  color: var(--color-ink-secondary);
}

.product-card__link {
  justify-self: start;
}

.product-card__body {
  display: grid;
  align-content: start;
  gap: var(--space-4);
}

/* A product video, on the Products page and on the product's own page. */
.product-video {
  display: grid;
  /* Without minmax(0, …) the 1920px video stretches the column. */
  grid-template-columns: minmax(0, 1fr);
  gap: var(--space-2);
  margin: 0;
}

.product-video video {
  display: block;
  width: 100%;
  height: auto;
  border: 1px solid var(--color-hairline);
  border-radius: var(--radius-card);
  background: var(--color-canvas-soft);
}

.product-video figcaption {
  color: var(--color-ink-mute);
  font-size: 0.8125rem;
}

/* On a product's own page: the title beside the video, so the video
   doesn't fill the whole screen under the hero. */
.product-demo {
  display: grid;
  gap: var(--space-5);
}

.product-demo__title {
  max-width: 22ch;
  font-size: 1.5rem;
  font-weight: 400;
  letter-spacing: -0.015em;
}

@media (min-width: 1024px) {
  .product-demo {
    grid-template-columns: minmax(0, 1fr) minmax(0, 2fr);
    align-items: center;
    gap: var(--space-7);
  }
}

/* The new product gets the mesh treatment so it stands apart. */
.product-card--new {
  background:
    radial-gradient(60% 90% at 100% 0%, var(--mesh-1), transparent 70%),
    radial-gradient(50% 80% at 0% 100%, var(--mesh-4), transparent 70%),
    var(--color-surface);
}

@media (min-width: 768px) {
  .product-cards {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .product-card--new,
  .product-card--video {
    grid-column: 1 / -1;
  }
}

@media (min-width: 1024px) {
  .product-card--video {
    grid-template-columns: minmax(0, 1fr) minmax(0, 1.4fr);
    align-items: center;
    gap: var(--space-7);
  }
}

.page-hero__tag {
  justify-self: start;
}

/*
 * Standards showcase (home): a photo panel per standard and tabs that
 * rotate. The progress bar's animation is the timer; showcase.js moves
 * to the next tab when it ends. Without JS the panels stack.
 */

.showcase {
  display: grid;
  gap: var(--space-4);
}

.showcase__panels {
  display: grid;
  gap: var(--space-4);
}

.showcase__panel {
  position: relative;
  isolation: isolate;
  overflow: hidden;
  display: grid;
  align-content: end;
  min-height: 24rem;
  padding: var(--space-6);
  border-radius: var(--radius-card);
  background: var(--color-feature);
  color: var(--color-on-feature);
}

.showcase__panel[hidden] {
  display: none;
}

.showcase__photo {
  position: absolute;
  inset: 0;
  z-index: -2;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: 45% 30%;
}

.showcase__panel::before {
  content: '';
  position: absolute;
  inset: 0;
  z-index: -1;
  background: linear-gradient(
    to top,
    var(--color-feature) 0%,
    color-mix(in srgb, var(--color-feature) 92%, transparent) 34%,
    color-mix(in srgb, var(--color-feature) 35%, transparent) 64%,
    transparent 88%
  );
}

.showcase__copy {
  display: grid;
  gap: var(--space-3);
  justify-items: start;
  max-width: 34rem;
}

.showcase__standard {
  font-family: var(--font-mono);
  font-size: 0.8125rem;
  color: var(--color-on-feature-mute);
}

.showcase__title {
  font-size: clamp(1.5rem, 1.2rem + 1vw, 2rem);
  font-weight: 300;
  line-height: 1.15;
  letter-spacing: -0.015em;
}

.showcase__copy p:not(.showcase__standard) {
  color: var(--color-on-feature-mute);
}

.showcase__link {
  color: var(--color-on-feature);
  font-weight: 500;
}

.showcase__controls {
  display: grid;
  gap: var(--space-3);
}

.showcase__tabs {
  display: grid;
  gap: var(--space-3);
}

.showcase__tab {
  position: relative;
  overflow: hidden;
  display: grid;
  gap: var(--space-1);
  padding: var(--space-5);
  border: 1px solid var(--color-hairline);
  border-radius: var(--radius-card);
  background: var(--color-surface);
  color: var(--color-ink);
  font: inherit;
  text-align: left;
  cursor: pointer;
  transition: border-color 160ms var(--ease-out);
}

.showcase__tab:hover {
  border-color: var(--color-primary);
}

.showcase__tab[aria-selected='true'] {
  border-color: var(--color-primary);
  background:
    radial-gradient(80% 120% at 100% 0%, var(--mesh-1), transparent 70%),
    var(--color-surface);
}

.showcase__tab-standard {
  font-family: var(--font-mono);
  font-size: 0.8125rem;
  color: var(--color-ink-mute);
}

.showcase__tab-title {
  font-size: 1.25rem;
  letter-spacing: -0.01em;
}

/* The timer is invisible; its animation only paces the rotation. */
.showcase__timer {
  position: absolute;
  width: 1px;
  height: 1px;
  visibility: hidden;
}

.showcase__controls[hidden] {
  display: none;
}

/* Rotation and fades only for visitors who have not asked for less motion. */
@media (prefers-reduced-motion: no-preference) {
  .showcase__tab[aria-selected='true'] .showcase__timer {
    animation: showcase-timer 7s linear forwards;
  }

  .showcase:hover .showcase__timer,
  .showcase:has(:focus-visible) .showcase__timer {
    animation-play-state: paused;
  }

  /* Once the visitor has picked a tab, it stays put. */
  .showcase.is-stopped .showcase__timer {
    animation: none;
  }

  .showcase.is-enhanced .showcase__panel:not([hidden]) {
    animation: showcase-fade 500ms var(--ease-out);
  }
}

@keyframes showcase-timer {
  to {
    transform: translateX(1px);
  }
}

@keyframes showcase-fade {
  from {
    opacity: 0;
  }
}

@media (min-width: 768px) {
  .showcase.is-enhanced {
    grid-template-columns: minmax(0, 1.4fr) minmax(0, 1fr);
    align-items: stretch;
  }

  .showcase__panel {
    min-height: 30rem;
    padding: var(--space-7);
  }


  .showcase__tab {
    align-content: center;
  }
}

/* Schemes and integrations */

.schemes {
  display: grid;
  gap: var(--space-7);
}

.chip-groups {
  display: grid;
  gap: var(--space-6);
}

.chip-group {
  display: grid;
  gap: var(--space-3);
}

.chip-group__label {
  color: var(--color-ink-mute);
  font-size: 0.875rem;
  font-weight: 500;
}

.chips {
  display: flex;
  flex-wrap: wrap;
  gap: var(--space-2);
}

.chip {
  padding: var(--space-2) var(--space-4);
  border-radius: var(--radius-pill);
  background: var(--color-primary-subdued);
  color: var(--color-on-primary-subdued);
  font-size: 0.9375rem;
  font-weight: 500;
}

.chip--standard {
  background: var(--color-feature);
  color: var(--color-on-feature);
}

.chip--quiet {
  background: var(--color-surface);
  border: 1px solid var(--color-hairline);
  color: var(--color-ink);
}

@media (min-width: 1024px) {
  .schemes {
    grid-template-columns: minmax(0, 1fr) minmax(0, 1.2fr);
    align-items: start;
  }
}

/* Security */

.security {
  display: grid;
  gap: var(--space-7);
}

.security__items {
  display: grid;
  gap: var(--space-5) var(--space-6);
}

.security__item {
  display: grid;
  gap: var(--space-1);
  padding-top: var(--space-4);
  border-top: 1px solid var(--color-hairline);
}

.security__item dt {
  font-weight: 500;
}

.security__item dd {
  color: var(--color-ink-secondary);
}

@media (min-width: 768px) {
  .security__items {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (min-width: 1024px) {
  .security {
    grid-template-columns: minmax(0, 1fr) minmax(0, 1.6fr);
  }
}

/* Closing call to action */

.cta-band {
  display: grid;
  gap: var(--space-4);
  justify-items: start;
  padding: var(--space-7) var(--space-5);
  border-radius: var(--radius-card);
  background:
    radial-gradient(50% 90% at 100% 100%, var(--mesh-2), transparent 70%),
    radial-gradient(40% 80% at 75% 0%, var(--mesh-3), transparent 70%),
    radial-gradient(40% 70% at 0% 100%, var(--mesh-4), transparent 70%),
    var(--mesh-base);
}

.cta-band .actions {
  padding-top: var(--space-3);
}

@media (min-width: 768px) {
  .cta-band {
    padding: var(--space-8);
  }
}

/* ---------------------------------------------------------------- */
/* Content pages                                                    */
/* ---------------------------------------------------------------- */

.page-hero {
  position: relative;
  display: grid;
  gap: var(--space-5);
  padding-block: var(--space-7) var(--space-8);
}

.page-hero > * {
  max-width: 46rem;
}

.page-hero__parent {
  justify-self: start;
  color: var(--color-ink-secondary);
  font-size: 0.9375rem;
  font-weight: 500;
}

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

/* Problems in the buyer's words, each answered */

.problems {
  display: grid;
  gap: var(--space-5);
}

.problem {
  display: grid;
  gap: var(--space-3);
  padding-top: var(--space-5);
  border-top: 1px solid var(--color-hairline);
}

.problem__quote {
  font-size: clamp(1.25rem, 1.05rem + 0.6vw, 1.5rem);
  font-weight: 300;
  line-height: 1.3;
  letter-spacing: -0.015em;
}

.problem__answer {
  max-width: 58ch;
  color: var(--color-ink-secondary);
}

@media (min-width: 1024px) {
  .problem {
    grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
    gap: var(--space-7);
  }
}

.page {
  position: relative;
  display: grid;
  gap: var(--space-5);
  padding-block: var(--space-7) var(--space-9);
}

.page > * {
  max-width: 48rem;
}

/* Contact details (footer contact section) */

.contact-details {
  display: grid;
  gap: var(--space-4);
}

.contact-details dt {
  color: var(--color-ink-mute);
  font-size: 0.8125rem;
}

.contact-details address {
  font-style: normal;
}

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

.site-footer {
  border-top: 1px solid var(--color-hairline);
  font-size: 0.9375rem;
}

.site-footer__inner {
  display: grid;
  gap: var(--space-6);
  padding-block: var(--space-8);
}

.site-footer__brand {
  display: grid;
  gap: var(--space-3);
  align-content: start;
  color: var(--color-ink-mute);
}

.site-footer__brand img {
  height: 2rem;
  width: auto;
}

.site-footer__contact {
  display: grid;
  gap: var(--space-4);
  align-content: start;
}

.site-footer__heading {
  font-size: 1.25rem;
  font-weight: 400;
  letter-spacing: -0.01em;
}

.site-footer__legal {
  color: var(--color-ink-mute);
  font-size: 0.8125rem;
}

@media (min-width: 768px) {
  .site-footer__inner {
    grid-template-columns: 1fr 2fr;
  }

  .site-footer__contact .contact-details {
    grid-template-columns: repeat(3, auto);
    justify-content: start;
    gap: var(--space-6);
  }

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

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

/* The "Contact" menu link glides to the footer unless motion is reduced. */
@media (prefers-reduced-motion: no-preference) {
  html {
    scroll-behavior: smooth;
  }
}

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