/* ---- 00-fonts.css ---- */
/* Sapien Systems brand typefaces, self-hosted (no third-party font requests).
   Archivo: structure and headings. Public Sans: reading. IBM Plex Mono: labels and data. */

@font-face {
  font-family: "Archivo";
  font-style: normal;
  font-weight: 400 700;
  font-display: swap;
  src: url("../fonts/archivo-variable-latin.woff2") format("woff2");
  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: "Archivo";
  font-style: normal;
  font-weight: 400 700;
  font-display: swap;
  src: url("../fonts/archivo-variable-latin-ext.woff2") format("woff2");
  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: "Public Sans";
  font-style: normal;
  font-weight: 400 600;
  font-display: swap;
  src: url("../fonts/public-sans-variable-latin.woff2") format("woff2");
  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: "Public Sans";
  font-style: normal;
  font-weight: 400 600;
  font-display: swap;
  src: url("../fonts/public-sans-variable-latin-ext.woff2") format("woff2");
  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: "IBM Plex Mono";
  font-style: normal;
  font-weight: 400;
  font-display: swap;
  src: url("../fonts/ibm-plex-mono-400-latin.woff2") format("woff2");
  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: "IBM Plex Mono";
  font-style: normal;
  font-weight: 500;
  font-display: swap;
  src: url("../fonts/ibm-plex-mono-500-latin.woff2") format("woff2");
  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;
}

/* ---- 10-foundation.css ---- */
/* Sapien Systems: design foundation.
   Colour values mirror the fin-Sapien product theme: the site and the product share one brand. Components never use
   raw colours; they read the semantic variables a surface defines (.surface-light is the default; .surface-dark
   flips every component inside it). The site is calm and editorial: paper and graphite, hairline rules, copper used
   sparingly for actions. Nothing moves except the product itself (the Co-pilot Coach session and the edition
   slideshow, each with its own pause control). */

/* ---------------------------------------------------------------- tokens */

:root {
  /* brand constants */
  --graphite-950: #0f0e0c;
  --graphite-900: #171512;
  --graphite-800: #201d19;
  --graphite-600: #3c372f;
  --graphite-400: #8c8478;
  --paper-50: #fbf9f6;
  --paper-100: #f6f1ea;
  --paper-200: #eee8df;
  --copper-700: #8e5220;
  --copper-500: #c4762f;
  --amber-400: #e9a23c;
  --amber-300: #f5bc66;
  --steel-400: #5e82be;
  --steel-700: #2f4468;
  /* blues and greens beside the copper: the steel of the product's data colour and the green of its success state,
     each in a deep tone for text and panels and a tint for backgrounds */
  --blue-800: #1d3a66;
  --blue-700: #2c5a97;
  --blue-500: #4f7fc0;
  --green-800: #184634;
  --green-700: #2b7552;
  --green-500: #4a9a72;
  --teal-800: #123f3e;
  --teal-700: #1f7470;
  --slate-800: #262f42;
  --slate-600: #52637f;

  /* type */
  --font-structure: "Archivo", "Helvetica Neue", Arial, sans-serif;
  --font-reading: "Public Sans", "Segoe UI", system-ui, -apple-system, sans-serif;
  --font-mono: "IBM Plex Mono", ui-monospace, "SFMono-Regular", Menlo, Consolas, monospace;
  --step--2: 0.75rem;
  --step--1: 0.875rem;
  --step-0: 1rem;
  --step-1: clamp(1.0625rem, 1.03rem + 0.15vw, 1.125rem);
  --step-2: clamp(1.1875rem, 1.12rem + 0.3vw, 1.375rem);
  --step-3: clamp(1.5rem, 1.3rem + 0.85vw, 2rem);
  --step-4: clamp(1.875rem, 1.5rem + 1.6vw, 2.75rem);
  --step-5: clamp(2.25rem, 1.6rem + 2.6vw, 3.625rem);

  /* space */
  --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;
  --gutter: clamp(1rem, 0.4rem + 2.6vw, 2.5rem);
  --section-pad: clamp(3.5rem, 2.4rem + 4.4vw, 6.5rem);
  --grid-gap: clamp(1rem, 0.62rem + 1.5vw, 1.75rem);
  --container: 1240px;
  --header-h: 68px;

  /* shape and motion */
  --radius-xs: 4px;
  --radius-sm: 8px;
  --radius: 12px;
  --radius-lg: 16px;
  --radius-pill: 999px;
  --ease-out: cubic-bezier(0.22, 0.61, 0.36, 1);
  --ease-emphasized: cubic-bezier(0.2, 0, 0, 1);
  --ease-in-out: cubic-bezier(0.65, 0, 0.35, 1);
  --dur-fast: 160ms;
  --dur: 260ms;
  --dur-slow: 640ms;
}

/* the Greek alpha in "α Sapien" (U+03B1): the self-hosted brand subsets have no Greek, so each family takes one
   matching neo-grotesque alpha from fonts already on the device (nothing is downloaded), for that character only */
@font-face {
  font-family: "Archivo";
  font-style: normal;
  font-weight: 400 700;
  src: local("Arial Bold"), local("Arial-BoldMT"), local("Helvetica Neue Bold"), local("HelveticaNeue-Bold"), local("Liberation Sans Bold"), local("LiberationSans-Bold");
  unicode-range: U+03B1;
}

@font-face {
  font-family: "Public Sans";
  font-style: normal;
  font-weight: 400 600;
  src: local("Arial"), local("ArialMT"), local("Helvetica Neue"), local("HelveticaNeue"), local("Liberation Sans"), local("LiberationSans");
  unicode-range: U+03B1;
}

@font-face {
  font-family: "IBM Plex Mono";
  font-style: normal;
  font-weight: 400 500;
  src: local("Arial"), local("ArialMT"), local("Helvetica Neue"), local("HelveticaNeue"), local("Liberation Sans"), local("LiberationSans");
  unicode-range: U+03B1;
}

/* light surface: the default (paper) */
:root,
.surface-light {
  --bg: #fbf9f6;
  --bg-raised: #ffffff;
  --bg-alt: #f6f1ea;
  --bg-sunken: #eee8df;
  --ink: #171512;
  --ink-soft: #3c372f;
  --muted: #4f4942;
  --faint: #565048;
  --hairline: #e8e1d8;
  --border: #d5ccc0;
  --border-strong: #8c8478;
  --chip: #f1ece5;
  --chip-border: #b8aea1;
  --accent: #8e5220;
  --accent-ink: #74400f;
  --accent-hover: #713f16;
  --accent-tint: #f7ebdd;
  --accent-tint-border: #c4762f;
  --accent-soft: #f0ddc9;
  --on-accent: #ffffff;
  --success: #3d704d;
  --success-tint: #e7f1e9;
  --blue: #2c5a97;
  --blue-tint: #e8eff9;
  --blue-border: #9db7dd;
  --green: #2b7552;
  --green-tint: #e4f2ea;
  --green-border: #9ccbb2;
  --teal: #1f7470;
  --teal-tint: #e1f1ef;
  --teal-border: #95c9c5;
  --flag: #9a4f12;
  --flag-tint: #fbefdf;
  --info: #2f4468;
  --info-tint: #e7edf7;
  --error: #ae4436;
  --error-tint: #f9e9e6;
  --data: #5e82be;
  --shadow-color: 30 24 18;
  --shadow-sm: 0 1px 2px rgb(var(--shadow-color) / 0.06), 0 1px 1px rgb(var(--shadow-color) / 0.04);
  --shadow-md: 0 1px 2px rgb(var(--shadow-color) / 0.05), 0 12px 32px -14px rgb(var(--shadow-color) / 0.22);
  --shadow-lg: 0 2px 4px rgb(var(--shadow-color) / 0.05), 0 28px 60px -24px rgb(var(--shadow-color) / 0.3);
}

/* dark surface: graphite. It is also the whole page in the dark theme (the visitor's choice, html[data-theme="dark"],
   set by the switch in the top bar; 90-theme.css holds the rest of the dark theme) */
.surface-dark,
:root[data-theme="dark"] {
  --bg: #0f0e0c;
  --bg-raised: #171512;
  --bg-alt: #201d19;
  --bg-sunken: #12100e;
  --ink: #f7f3ec;
  --ink-soft: #ded6ca;
  --muted: #b9afa2;
  --faint: #a1988c;
  --hairline: #2a2722;
  --border: #3c372f;
  --border-strong: #71695f;
  --chip: #25211d;
  --chip-border: #4b453d;
  --accent: #e9a23c;
  --accent-ink: #e9a23c;
  --accent-hover: #f5bc66;
  --accent-tint: #2c2116;
  --accent-tint-border: #c4762f;
  --accent-soft: #382818;
  --on-accent: #171512;
  --success: #76ae84;
  --success-tint: #19291d;
  --blue: #8eb0e6;
  --blue-tint: #172138;
  --blue-border: #3a5684;
  --green: #7cc4a0;
  --green-tint: #142a20;
  --green-border: #2f6a4f;
  --teal: #74c7c0;
  --teal-tint: #102a29;
  --teal-border: #2b6662;
  --flag: #f0b35c;
  --flag-tint: #2e2213;
  --info: #8ea9d6;
  --info-tint: #172138;
  --error: #e57b6c;
  --error-tint: #321b18;
  --data: #5e82be;
  --shadow-color: 0 0 0;
  --shadow-sm: 0 1px 2px rgb(0 0 0 / 0.4);
  --shadow-md: 0 1px 0 rgb(255 255 255 / 0.03) inset, 0 16px 36px -18px rgb(0 0 0 / 0.7);
  --shadow-lg: 0 1px 0 rgb(255 255 255 / 0.04) inset, 0 32px 64px -28px rgb(0 0 0 / 0.8);
  color-scheme: dark;
}

.surface-light,
.surface-dark {
  color: var(--ink);
}

.surface-dark {
  background: var(--bg);
}

/* ---------------------------------------------------------------- base */

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

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

body {
  margin: 0;
  min-height: 100vh;
  background: var(--bg);
  color: var(--ink);
  font-family: var(--font-reading);
  font-size: var(--step-0);
  line-height: 1.6;
  font-kerning: normal;
  text-rendering: optimizeLegibility;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

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

img {
  height: auto;
}

button,
input,
select,
textarea {
  font: inherit;
  color: inherit;
}

button {
  -webkit-tap-highlight-color: transparent;
}

a {
  color: inherit;
  text-decoration-thickness: 1px;
  text-underline-offset: 0.2em;
}

::selection {
  background: var(--accent-soft);
  color: var(--ink);
}

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

h1,
h2,
h3,
h4 {
  margin: 0;
  font-family: var(--font-structure);
  font-weight: 600;
  color: var(--ink);
  text-wrap: balance;
}

h1 {
  font-size: var(--step-5);
  line-height: 1.04;
  letter-spacing: -0.028em;
}

h2 {
  font-size: var(--step-4);
  line-height: 1.08;
  letter-spacing: -0.022em;
}

h3 {
  font-size: var(--step-2);
  line-height: 1.25;
  letter-spacing: -0.01em;
}

p {
  margin: 0;
  text-wrap: pretty;
}

ul,
ol {
  margin: 0;
  padding: 0;
}

dl,
dd {
  margin: 0;
}

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

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

main[tabindex="-1"]:focus {
  outline: none;
}

/* keeps hyphenated names (fin-Sapien, Co-pilot Coach, GSTR-2B) on one line: the brand faces have no non-breaking
   hyphen, so U+2011 would fall back to a system font */
.nowrap,
.edition {
  white-space: nowrap;
}

.skip-link {
  position: fixed;
  top: 0.75rem;
  left: 0.75rem;
  z-index: 200;
  padding: 0.75rem 1rem;
  border: 1px solid var(--graphite-600);
  border-radius: var(--radius-sm);
  background: var(--graphite-900);
  color: #f7f3ec;
  font-weight: 600;
  text-decoration: none;
  transform: translateY(-160%);
}

.skip-link:focus-visible {
  transform: none;
  outline-color: var(--amber-400);
}

/* ---------------------------------------------------------------- type helpers */

.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 0.625rem;
  margin: 0;
  font-family: var(--font-mono);
  font-size: var(--step--2);
  font-weight: 500;
  line-height: 1.3;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--accent);
}

.lead {
  font-size: var(--step-1);
  line-height: 1.6;
  color: var(--muted);
  max-width: 58ch;
}

.icon {
  flex: none;
  width: 1.25em;
  height: 1.25em;
}

/* ---------------------------------------------------------------- layout */

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

main {
  display: block;
}

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

.section--alt {
  background: var(--bg-alt);
}

.section--rule {
  border-top: 1px solid var(--hairline);
}

/* a section heading: title (and an optional line) on the left, an optional action on the right */
.section-head {
  display: flex;
  flex-wrap: wrap;
  align-items: flex-end;
  justify-content: space-between;
  gap: var(--space-4) var(--space-7);
  margin-bottom: clamp(2rem, 1.4rem + 2vw, 3rem);
}

.section-head__text {
  display: grid;
  gap: var(--space-3);
  max-width: 44rem;
}

.section-head__text .lead {
  max-width: 54ch;
}

/* the page title row: compact, so the page's content starts on the first screen */
.page-head {
  padding-block: clamp(2rem, 1.4rem + 2.2vw, 3.25rem) clamp(1.5rem, 1.1rem + 1.4vw, 2.25rem);
}

.page-head__inner {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
  align-items: start;
  gap: var(--space-4) clamp(2rem, 5vw, 5rem);
}

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

.page-head h1 {
  font-size: clamp(2rem, 1.55rem + 1.9vw, 3.125rem);
}

.page-head__side {
  display: grid;
  justify-items: start;
  gap: var(--space-4);
  padding-top: 0.5rem;
}

/* the first section under a page title starts closer to it */
.page-head + .section {
  padding-top: clamp(2.25rem, 1.6rem + 2.4vw, 3.5rem);
}

.page-head__side .lead {
  max-width: 52ch;
}

@media (max-width: 860px) {
  .page-head__inner {
    grid-template-columns: 1fr;
  }

  .page-head__side {
    padding-top: 0;
  }
}

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

/* ---------------------------------------------------------------- buttons and links */

.button {
  --button-bg: transparent;
  --button-fg: var(--ink);
  --button-border: var(--border-strong);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.625rem;
  min-height: 46px;
  padding: 0 1.25rem;
  border: 1px solid var(--button-border);
  border-radius: var(--radius-sm);
  background: var(--button-bg);
  color: var(--button-fg);
  font-family: var(--font-reading);
  font-size: 0.9375rem;
  font-weight: 600;
  line-height: 1;
  letter-spacing: 0.005em;
  text-decoration: none;
  white-space: nowrap;
  cursor: pointer;
  transition:
    background-color var(--dur) var(--ease-out),
    border-color var(--dur) var(--ease-out),
    color var(--dur) var(--ease-out);
}

.button .icon {
  width: 18px;
  height: 18px;
}

.icon--trail {
  display: inline-flex;
  transition: transform var(--dur) var(--ease-out);
}

.icon--trail .icon {
  width: 17px;
  height: 17px;
}

a:hover .icon--trail,
a:focus-visible .icon--trail,
.button:hover .icon--trail {
  transform: translateX(3px);
}

.button--primary {
  --button-bg: var(--accent);
  --button-fg: var(--on-accent);
  --button-border: var(--accent);
}

.button--primary:hover {
  --button-bg: var(--accent-hover);
  --button-border: var(--accent-hover);
}

.button--secondary:hover {
  --button-bg: var(--chip);
  --button-border: var(--ink-soft);
}

.button--small {
  min-height: 38px;
  padding: 0 1rem;
  font-size: 0.875rem;
}

.link-arrow {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  font-weight: 600;
  font-size: 0.9375rem;
  color: var(--accent);
  text-decoration: none;
}

.link-arrow:hover {
  color: var(--accent-hover);
}

.text-link {
  color: var(--accent);
  text-decoration: underline;
  text-decoration-color: color-mix(in srgb, var(--accent) 45%, transparent);
}

.text-link:hover {
  text-decoration-color: currentColor;
}

/* ---------------------------------------------------------------- header */

.site-header {
  position: sticky;
  top: 0;
  z-index: 100;
  height: var(--header-h);
  background: var(--bg);
  border-bottom: 1px solid var(--hairline);
}

.site-header__inner {
  height: 100%;
  display: flex;
  align-items: center;
  gap: clamp(0.75rem, 2vw, 2rem);
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 0.75rem;
  margin-right: auto;
  text-decoration: none;
  border-radius: var(--radius-sm);
}

.brand__mark {
  width: 34px;
  height: 34px;
}

.brand__word {
  width: 150px;
  height: 13px;
}

.site-nav__list {
  display: flex;
  align-items: center;
  gap: 0.125rem;
  list-style: none;
}

.site-nav__link {
  position: relative;
  display: inline-flex;
  align-items: center;
  height: 40px;
  padding: 0 0.875rem;
  border-radius: var(--radius-sm);
  color: var(--ink-soft);
  font-size: 0.9375rem;
  font-weight: 500;
  white-space: nowrap;
  text-decoration: none;
  transition:
    color var(--dur-fast) var(--ease-out),
    background-color var(--dur-fast) var(--ease-out);
}

.site-nav__link:hover {
  color: var(--ink);
  background: color-mix(in srgb, var(--ink) 7%, transparent);
}

.site-nav__link[aria-current="page"] {
  color: var(--ink);
}

.site-nav__link[aria-current="page"]::after {
  content: "";
  position: absolute;
  left: 0.875rem;
  right: 0.875rem;
  bottom: 4px;
  height: 2px;
  border-radius: 2px;
  background: var(--accent);
}

.nav-toggle {
  display: none;
  width: 44px;
  height: 44px;
  align-items: center;
  justify-content: center;
  padding: 0;
  border: 1px solid var(--border);
  border-radius: var(--radius-sm);
  background: transparent;
  color: var(--ink);
  cursor: pointer;
}

.nav-toggle__icon path {
  fill: none;
  stroke: currentColor;
  stroke-width: 1.75;
  stroke-linecap: round;
  transform-box: view-box;
  transform-origin: 12px 12px;
  transition:
    transform var(--dur) var(--ease-out),
    opacity var(--dur-fast) var(--ease-out);
}

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

.nav-toggle[aria-expanded="true"] .nav-toggle__mid {
  opacity: 0;
}

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

/* the open menu covers the viewport below the header; site.js makes the page behind it inert */
.mobile-nav {
  position: absolute;
  top: 100%;
  inset-inline: 0;
  height: calc(100vh - var(--header-h) + 1px);
  height: calc(100dvh - var(--header-h) + 1px);
  overflow-y: auto;
  overscroll-behavior: contain;
  padding: var(--space-2) 0 var(--space-6);
  background: var(--bg);
}

.mobile-nav[hidden] {
  display: none;
}

.mobile-nav__list {
  list-style: none;
  margin-bottom: var(--space-5);
}

.mobile-nav__list a {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: var(--space-4);
  min-height: 44px;
  padding: 1rem 0;
  border-bottom: 1px solid var(--hairline);
  font-family: var(--font-structure);
  font-size: 1.25rem;
  font-weight: 600;
  color: var(--ink);
  text-decoration: none;
}

.mobile-nav__list a[aria-current="page"] {
  color: var(--accent);
}

.mobile-nav__list a[aria-current="page"]::after {
  content: "";
  flex: none;
  width: 1.5rem;
  height: 2px;
  border-radius: 2px;
  background: currentColor;
}

.mobile-nav .button {
  width: 100%;
}

@media (max-width: 1080px) {
  :root {
    --header-h: 64px;
  }

  .site-nav {
    display: none;
  }

  .nav-toggle {
    display: inline-flex;
  }

  /* without JavaScript the menu cannot open: the footer carries the page links instead */
  html:not(.js) .nav-toggle {
    display: none;
  }
}

/* phones: the menu holds the call to action */
@media (max-width: 559px) {
  .site-header__cta {
    display: none;
  }

  html:not(.js) .site-header__cta {
    display: inline-flex;
  }
}

@media (min-width: 560px) {
  .mobile-nav .button {
    display: none;
  }
}

@media (max-width: 374px) {
  .site-header__inner {
    gap: 0.5rem;
  }

  .brand {
    gap: 0.625rem;
  }

  .brand__name {
    font-size: 1rem;
  }
}

@media (min-width: 1081px) {
  .mobile-nav {
    display: none !important;
  }
}

/* ---------------------------------------------------------------- shared components */

/* numbered steps (Map, Scope, Build, Pilot) */
.steps {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: var(--grid-gap);
  list-style: none;
  counter-reset: step;
}

.step {
  display: grid;
  align-content: start;
  gap: 0.5rem;
  padding-top: 1.125rem;
  border-top: 1px solid var(--border);
  counter-increment: step;
}

.step::before {
  content: counter(step, decimal-leading-zero);
  font-family: var(--font-mono);
  font-size: var(--step--2);
  font-weight: 500;
  letter-spacing: 0.12em;
  color: var(--accent);
}

.step__title {
  font-size: var(--step-2);
}

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

@media (max-width: 900px) {
  .steps {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    row-gap: var(--space-6);
  }
}

@media (max-width: 520px) {
  .steps {
    grid-template-columns: 1fr;
    row-gap: var(--space-5);
  }
}

/* short points with an icon: four columns on wide screens */
.points {
  display: grid;
  grid-template-columns: repeat(var(--points-cols, 4), minmax(0, 1fr));
  gap: clamp(1.75rem, 1.2rem + 2vw, 2.75rem) var(--grid-gap);
  list-style: none;
}

.point {
  display: grid;
  align-content: start;
  gap: 0.5rem;
}

.point__icon {
  display: inline-grid;
  place-items: center;
  width: 40px;
  height: 40px;
  margin-bottom: 0.375rem;
  border: 1px solid var(--accent-tint-border);
  border-radius: var(--radius-sm);
  background: var(--accent-tint);
  color: var(--accent);
}

.point__icon .icon {
  width: 20px;
  height: 20px;
}

/* icon tints: copper by default, then blue, green and teal so a row of points is not one colour */
.point__icon--blue {
  border-color: var(--blue-border);
  background: var(--blue-tint);
  color: var(--blue);
}

.point__icon--green {
  border-color: var(--green-border);
  background: var(--green-tint);
  color: var(--green);
}

.point__icon--teal {
  border-color: var(--teal-border);
  background: var(--teal-tint);
  color: var(--teal);
}

.point__title {
  font-size: var(--step-1);
  line-height: 1.3;
}

.point__text {
  color: var(--muted);
  font-size: 0.9375rem;
}

@media (max-width: 1000px) {
  .points {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (max-width: 560px) {
  .points {
    grid-template-columns: 1fr;
  }

  .point__text {
    font-size: 1rem;
  }
}

.chips {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
  list-style: none;
}

.chips li {
  display: inline-flex;
  align-items: center;
  min-height: 30px;
  padding: 0.25rem 0.75rem;
  border: 1px solid var(--border);
  border-radius: var(--radius-pill);
  background: var(--bg-raised);
  font-size: 0.875rem;
  line-height: 1.3;
  color: var(--ink-soft);
}

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

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

.faq summary {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: var(--space-4);
  min-height: 44px;
  padding: 1.125rem 0;
  font-family: var(--font-structure);
  font-size: var(--step-1);
  font-weight: 600;
  line-height: 1.35;
  color: var(--ink);
  cursor: pointer;
  list-style: none;
}

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

.faq summary::after {
  content: "";
  flex: none;
  width: 10px;
  height: 10px;
  margin-right: 4px;
  border-right: 1.5px solid var(--accent);
  border-bottom: 1.5px solid var(--accent);
  transform: translateY(-3px) rotate(45deg);
  transition: transform var(--dur) var(--ease-out);
}

.faq details[open] summary::after {
  transform: translateY(2px) rotate(-135deg);
}

.faq__answer {
  display: grid;
  gap: 0.75rem;
  padding: 0 0 1.375rem;
  max-width: 64ch;
  color: var(--muted);
}

.panel {
  position: relative;
  background: var(--bg-raised);
  border: 1px solid var(--hairline);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-lg);
  overflow: hidden;
}

.panel__bar {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  height: 44px;
  padding: 0 1rem;
  border-bottom: 1px solid var(--hairline);
  background: var(--bg-alt);
  font-family: var(--font-mono);
  font-size: 0.75rem;
  color: var(--faint);
}

/* "illustrative" labels on sample interfaces */
.sample-note {
  display: inline-flex;
  align-items: flex-start;
  gap: 0.5rem;
  font-family: var(--font-mono);
  font-size: 0.6875rem;
  line-height: 1.6;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  text-wrap: balance;
  color: var(--muted);
}

.sample-note::before {
  content: "";
  flex: none;
  width: 6px;
  height: 6px;
  margin-top: calc((1.6em - 6px) / 2);
  border-radius: 1px;
  border: 1px solid currentColor;
}

@media (max-width: 420px) {
  .sample-note {
    letter-spacing: 0.05em;
  }
}

/* the closing call to action at the foot of a page */
.cta-band {
  padding-block: clamp(3rem, 2.2rem + 3vw, 4.5rem);
}

/* straight after a section of the same tone, the band does not repeat the section's own padding */
.section--alt + .cta-band.section--alt,
.section:not(.section--alt):not(.surface-dark) + .cta-band:not(.section--alt) {
  padding-top: 0;
}

.cta-band__inner {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: var(--space-5) var(--space-7);
  padding: clamp(1.75rem, 1.2rem + 2vw, 2.75rem);
  border-radius: var(--radius-lg);
  background: var(--bg);
}

.cta-band__text {
  display: grid;
  gap: 0.5rem;
  max-width: 40rem;
}

.cta-band__title {
  font-size: var(--step-3);
}

.cta-band__text p {
  color: var(--muted);
}

/* ---------------------------------------------------------------- forms */

.field {
  display: grid;
  align-content: start;
  gap: 0.5rem;
}

.field label {
  font-size: 0.875rem;
  font-weight: 600;
  color: var(--ink-soft);
}

.field input,
.field select,
.field textarea {
  width: 100%;
  min-height: 48px;
  padding: 0.75rem 0.875rem;
  border: 1px solid var(--border-strong);
  border-radius: var(--radius-sm);
  background: var(--bg-raised);
  color: var(--ink);
  font-size: 1rem;
  line-height: 1.4;
  transition: border-color var(--dur-fast) var(--ease-out);
}

.field textarea {
  min-height: 120px;
  resize: vertical;
}

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

.field input:focus-visible,
.field select:focus-visible,
.field textarea:focus-visible {
  outline: 2px solid var(--accent);
  outline-offset: 2px;
  border-color: var(--accent);
}

/* a field's message, written under it after a submit (site.js) and cleared once the field is valid */
.field__error {
  font-size: 0.875rem;
  font-weight: 500;
  line-height: 1.45;
  color: var(--error);
}

.field__error[hidden] {
  display: none;
}

.form-status {
  padding: 0.875rem 1rem;
  border-left: 2px solid var(--success);
  border-radius: 0 var(--radius-sm) var(--radius-sm) 0;
  background: var(--success-tint);
  color: var(--ink);
  font-size: 0.9375rem;
}

.form-status:focus {
  outline: none;
}

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

/* ---------------------------------------------------------------- footer */

.site-footer {
  background: var(--bg-raised);
  color: var(--muted);
  font-size: 0.9375rem;
}

.site-footer__grid {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: clamp(2rem, 4vw, 4rem);
  padding-block: clamp(3rem, 2.4rem + 2.4vw, 4.5rem) clamp(2rem, 1.6rem + 1.6vw, 3rem);
}

.site-footer__brand {
  display: grid;
  align-content: start;
  justify-items: start;
  gap: var(--space-5);
}

/* the lockup artwork carries the footer colour; lighten keeps its edge invisible */
.site-footer__lockup {
  width: 200px;
  height: auto;
  mix-blend-mode: lighten;
  margin: -16px 0 0 -5px;
}

.site-footer__email {
  font-family: var(--font-structure);
  font-size: var(--step-1);
  font-weight: 600;
  color: var(--ink);
  text-decoration: none;
  word-break: break-word;
}

.site-footer__email:hover {
  color: var(--accent);
}

.site-footer__nav {
  display: grid;
  grid-template-columns: repeat(3, max-content);
  column-gap: clamp(2rem, 4vw, 4rem);
  row-gap: var(--space-5);
}

.site-footer__heading {
  margin-bottom: var(--space-4);
  font-family: var(--font-mono);
  font-size: var(--step--2);
  font-weight: 500;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--faint);
}

.site-footer ul {
  display: grid;
  gap: 0.625rem;
  list-style: none;
}

.site-footer__nav a {
  color: var(--ink-soft);
  text-decoration: none;
  transition: color var(--dur-fast) var(--ease-out);
}

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

.site-footer__base {
  display: grid;
  gap: 0.375rem;
  padding-block: var(--space-5) var(--space-6);
  border-top: 1px solid var(--hairline);
  font-size: 0.8125rem;
  color: var(--faint);
}

.site-footer__base p {
  max-width: 100ch;
}

@media (max-width: 960px) {
  .site-footer__grid {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 600px) {
  .site-footer__nav {
    grid-template-columns: 1fr 1fr;
  }

  .site-footer__nav > :last-child {
    grid-column: 1 / -1;
  }
}

/* ---------------------------------------------------------------- touch targets
   Phones, tablets and any coarse pointer: standalone links and small buttons are at least 44 px tall. */

@media (max-width: 960px), (pointer: coarse) {
  .brand,
  .link-arrow,
  .button--small {
    min-height: 44px;
  }

  .site-footer ul {
    gap: 0;
  }

  .site-footer__nav li a,
  .site-footer__email {
    display: inline-block;
    min-height: 44px;
    line-height: 1.5;
    padding-block: calc((44px - 1.5em) / 2);
  }

  .site-footer__heading {
    margin-bottom: var(--space-2);
  }
}

/* ---------------------------------------------------------------- motion and print */

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

@media (prefers-reduced-motion: reduce) {
  *,
  *::before,
  *::after {
    animation-duration: 1ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 1ms !important;
    scroll-behavior: auto !important;
  }
}

@media print {
  .site-header,
  .nav-toggle,
  .mobile-nav {
    display: none !important;
  }
}

/* ---- 35-coach-demo.css ---- */
/* Co-pilot Coach sample session (partials/coach-demo.html + scripts/coach-stage.js).
   Three layouts. coach-stage.js marks the figure .is-staged as soon as it runs, before the engine it loads later, so
   the panel keeps one size while the engine loads and while the session plays:
   - without .is-staged (no JavaScript, coach-stage.js missing, or .is-unavailable when the illustration cannot
     start): the transcript and the review, no stage;
   - .is-staged: the client's stage beside (phones: above) the live transcript, which the review replaces at the end.
     The review always holds its place (invisible until then, still read by screen readers), so it never moves the
     page;
   - .is-staged with reduced motion: the still, one client beside the whole conversation and the review. */

.coach-demo {
  margin: 0;
}

.coach-demo__panel {
  position: relative;
  background: var(--bg-raised);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-lg);
  overflow: hidden;
  overflow: clip;
}

/* ------------------------------------------------------------ top bar */

.coach-demo__bar {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 0.5rem 1rem;
  min-height: 52px;
  padding: 0.5rem 0.75rem 0.5rem 1rem;
  border-bottom: 1px solid var(--hairline);
  background: var(--bg-alt);
}

.coach-demo__badge {
  display: inline-flex;
  flex: none;
  align-items: center;
  gap: 0.5rem;
  font-family: var(--font-mono);
  font-size: 0.6875rem;
  font-weight: 500;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--accent);
  white-space: nowrap;
}

.coach-demo__pulse {
  position: relative;
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--accent);
}

.coach-demo__title {
  flex: 1 1 0;
  min-width: 0;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
  font-size: 0.875rem;
  font-weight: 600;
  color: var(--ink);
}

/* the timer and the controls travel together: on the right, or on a line of their own when the bar is too narrow */
.coach-demo__tools {
  display: none;
  flex: none;
  align-items: center;
  gap: 0.75rem;
  margin-left: auto;
}

.coach-demo__timer {
  font-family: var(--font-mono);
  font-size: 0.75rem;
  color: var(--faint);
  font-variant-numeric: tabular-nums;
}

.coach-demo__controls {
  display: inline-flex;
  flex: none;
  gap: 0.375rem;
}

/* the controls appear with the client; until then their place is kept and they cannot be reached */
.coach-demo:not(.is-enhanced) .coach-demo__controls {
  visibility: hidden;
}

.coach-demo__button {
  position: relative;
  display: inline-flex;
  flex: none;
  align-items: center;
  justify-content: center;
  gap: 0.4rem;
  height: 34px;
  padding: 0 0.75rem;
  border: 1px solid var(--border);
  border-radius: var(--radius-sm);
  background: var(--bg-raised);
  color: var(--ink-soft);
  font-size: 0.8125rem;
  font-weight: 600;
  cursor: pointer;
  transition:
    border-color var(--dur-fast) var(--ease-out),
    color var(--dur-fast) var(--ease-out);
}

.coach-demo__button:hover {
  border-color: var(--border-strong);
  color: var(--ink);
}

.coach-demo__button--icon {
  width: 34px;
  padding: 0;
}

/* as wide for "Play" as for "Pause", so the timer beside it never shifts */
.coach-demo__button--toggle {
  min-width: 5.25rem;
}

.coach-demo__icon {
  flex: none;
  width: 15px;
  height: 15px;
  fill: none;
  stroke: currentColor;
  stroke-width: 2;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.coach-demo__icon--play {
  display: none;
}

.coach-demo.is-paused .coach-demo__icon--pause {
  display: none;
}

.coach-demo.is-paused .coach-demo__icon--play {
  display: block;
}

/* ------------------------------------------------------------ body */

.coach-demo__body {
  display: grid;
  grid-template-columns: minmax(0, 1fr);
}

.coach-demo__stage-col {
  display: none;
  align-content: start;
  gap: 0.875rem;
  padding: 1rem;
}

.coach-demo__stage {
  position: relative;
  isolation: isolate;
  aspect-ratio: 1;
  overflow: hidden;
  border: 1px solid var(--border);
  border-radius: 14px;
  background: radial-gradient(70% 60% at 50% 38%, var(--bg-raised) 0%, var(--bg-alt) 58%, var(--bg-sunken) 100%);
}

.surface-dark .coach-demo__stage {
  background: radial-gradient(70% 60% at 50% 38%, var(--bg-alt) 0%, var(--bg-sunken) 72%);
}

.coach-demo__stage canvas,
.coach-demo__rig {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
}

.coach-demo__rig > svg {
  display: block;
  width: 100%;
  height: 100%;
}

.coach-demo__state {
  position: absolute;
  top: 0.75rem;
  left: 0.75rem;
  z-index: 2;
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  height: 24px;
  padding: 0 0.6rem;
  border-radius: var(--radius-pill);
  background: color-mix(in srgb, var(--bg-raised) 82%, transparent);
  border: 1px solid var(--hairline);
  font-family: var(--font-mono);
  font-size: 0.625rem;
  font-weight: 500;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--muted);
  -webkit-backdrop-filter: blur(6px);
  backdrop-filter: blur(6px);
}

.coach-demo__state::before {
  content: "";
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--accent);
}

.coach-demo.is-listening .coach-demo__state::before {
  background: var(--info);
}

.coach-demo__meter {
  position: absolute;
  right: 0.875rem;
  bottom: 0.875rem;
  z-index: 2;
  display: flex;
  align-items: flex-end;
  gap: 3px;
  height: 18px;
  opacity: 0;
  transition: opacity var(--dur) var(--ease-out);
}

.coach-demo__meter i {
  width: 3px;
  height: 100%;
  border-radius: 2px;
  background: var(--info);
  transform: scaleY(0.25);
  transform-origin: center bottom;
}

.coach-demo.is-listening .coach-demo__meter {
  opacity: 1;
}

/* the lip-synced caption: every line of the script sits invisibly in the same cell as the one being spoken, so the
   caption is always as tall as its longest line. coach-stage.js builds those lines when it stages the session,
   before the engine arrives; the min-height is only a floor */
.coach-demo__caption {
  display: grid;
  min-height: 3.2em;
  font-size: 0.9375rem;
  line-height: 1.6;
  color: var(--faint);
}

.coach-demo__caption > span {
  grid-area: 1 / 1;
}

.coach-demo__caption-size {
  visibility: hidden;
}

.coach-demo__caption-live span {
  transition: color 180ms var(--ease-out);
}

.coach-demo__caption-live .is-said {
  color: var(--ink);
}

/* while the client listens, the caption shows the banker's words as they are recognised */
.coach-demo__caption.is-you {
  color: var(--ink-soft);
}

.coach-demo__caption-size.is-you::before,
.coach-demo__caption.is-you .coach-demo__caption-live::before {
  content: "You";
  margin-right: 0.625rem;
  font-family: var(--font-mono);
  font-size: 0.625rem;
  font-weight: 500;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--info);
}

/* ------------------------------------------------------------ side: context, transcript, note, review */

.coach-demo__side {
  position: relative;
  display: flex;
  flex-direction: column;
  min-width: 0;
  min-height: 0;
}

.coach-demo__context {
  display: grid;
  grid-template-columns: auto minmax(0, 1fr);
  gap: 0.5rem 0.75rem;
  align-items: center;
  padding: 1rem 1.125rem;
  border-bottom: 1px solid var(--hairline);
}

.coach-demo__portrait {
  width: 44px;
  height: 44px;
  border-radius: 50%;
  border: 1px solid var(--border);
  background: linear-gradient(135deg, var(--info-tint), var(--accent-soft));
  object-fit: cover;
}

.coach-demo__client-name {
  display: flex;
  flex-wrap: wrap;
  align-items: baseline;
  gap: 0.25rem 0.5rem;
  font-weight: 600;
  color: var(--ink);
  line-height: 1.3;
}

.coach-demo__fictional {
  font-family: var(--font-mono);
  font-size: 0.625rem;
  font-weight: 500;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--faint);
}

.coach-demo__client-role {
  margin: 0;
  font-size: 0.8125rem;
  color: var(--muted);
  line-height: 1.4;
}

.coach-demo__objective {
  grid-column: 1 / -1;
  margin-top: 0.25rem !important;
  font-size: 0.8125rem;
  line-height: 1.5;
  color: var(--muted);
}

.coach-demo__label {
  display: block;
  margin-bottom: 0.25rem;
  font-family: var(--font-mono);
  font-size: 0.625rem;
  font-weight: 500;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--faint);
}

.coach-demo__transcript {
  display: flex;
  flex-direction: column;
  min-height: 0;
  padding: 0.875rem 1.125rem 1rem;
}

.coach-demo__script,
.coach-demo__live {
  display: grid;
  align-content: start;
  gap: 0.75rem;
  list-style: none;
  font-size: 0.875rem;
  line-height: 1.55;
}

.coach-demo__script {
  padding-top: 0.5rem;
}

.coach-demo__live {
  display: none;
}

.coach-demo__script li,
.coach-demo__line {
  display: grid;
  gap: 0.125rem;
  color: var(--ink-soft);
}

.coach-demo__who {
  font-family: var(--font-mono);
  font-size: 0.625rem;
  font-weight: 500;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--faint);
}

.coach-demo__line--rm .coach-demo__who,
.coach-demo__script li[data-speaker="rm"] .coach-demo__who {
  color: var(--info);
}

.coach-demo__line--rm .coach-demo__said,
.coach-demo__script li[data-speaker="rm"] [data-line] {
  color: var(--ink);
}

.coach-demo__script li[data-speaker="note"],
.coach-demo__line--note {
  padding: 0.625rem 0.75rem;
  border-left: 2px solid var(--accent);
  background: var(--accent-tint);
  border-radius: 0 var(--radius-sm) var(--radius-sm) 0;
}

.coach-demo__script li[data-speaker="note"] .coach-demo__who,
.coach-demo__line--note .coach-demo__who {
  color: var(--accent);
}

.coach-demo__note {
  margin: 0 1.125rem 1rem;
  padding: 0.75rem 0.875rem;
  border-left: 2px solid var(--accent);
  border-radius: 0 var(--radius-sm) var(--radius-sm) 0;
  background: var(--accent-tint);
}

.coach-demo__note-category {
  font-family: var(--font-mono);
  font-size: 0.625rem;
  font-weight: 500;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--accent);
}

.coach-demo__note-text {
  margin-top: 0.25rem !important;
  font-size: 0.875rem;
  line-height: 1.5;
  color: var(--ink);
}

.coach-demo__review {
  padding: 1rem 1.125rem 1.125rem;
  border-top: 1px solid var(--hairline);
  background: var(--bg-raised);
}

.coach-demo__review-head {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 1rem;
  margin-bottom: 0.5rem;
}

.coach-demo__scores {
  display: grid;
  list-style: none;
}

.coach-demo__scores li {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  padding: 0.5rem 0;
  border-bottom: 1px solid var(--hairline);
  font-size: 0.875rem;
  color: var(--ink);
}

.coach-demo__level {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  font-size: 0.8125rem;
  color: var(--muted);
  text-align: right;
}

.coach-demo__level::after {
  content: "";
  flex: none;
  width: 44px;
  height: 6px;
  border-radius: 3px;
  background:
    linear-gradient(90deg, var(--accent) 0 var(--fill, 0%), transparent 0) no-repeat,
    var(--chip);
  box-shadow: inset 0 0 0 1px var(--hairline);
}

.coach-demo__level[data-level="1"] {
  --fill: 25%;
}

.coach-demo__level[data-level="2"] {
  --fill: 55%;
}

.coach-demo__level[data-level="3"] {
  --fill: 85%;
}

.coach-demo__delivery {
  margin-top: 0.75rem !important;
  font-size: 0.8125rem;
  line-height: 1.5;
  color: var(--muted);
}

/* the honesty caption sits in the panel's shadow: muted keeps it legible there. A reading measure, with the label on
   its own line above the sentence */
.coach-demo__note-line {
  max-width: 66ch;
  margin-top: 0.875rem;
  font-size: 0.875rem;
  line-height: 1.5;
  color: var(--muted);
}

.coach-demo__note-line .sample-note {
  display: flex;
  width: fit-content;
  margin: 0 0 0.25rem;
  color: var(--muted);
}

/* ------------------------------------------------------------ with JavaScript: the stage */

.coach-demo.is-staged .coach-demo__stage-col {
  display: grid;
}

@media (min-width: 761px) {
  .coach-demo.is-staged .coach-demo__body {
    grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
  }

  .coach-demo.is-staged .coach-demo__stage-col {
    border-right: 1px solid var(--hairline);
  }
}

/* wide screens: a landscape stage (the rig letterboxes its square drawing, so the client stays whole) keeps the panel
   in proportion with the transcript and the review beside it */
@media (min-width: 1001px) {
  .coach-demo__stage {
    aspect-ratio: 5 / 4;
  }
}

/* ------------------------------------------------------------ with JavaScript and motion: the live session */

@media (prefers-reduced-motion: no-preference) {
  .coach-demo.is-staged .coach-demo__tools {
    display: inline-flex;
  }

  /* context on top; below it the transcript, with the coaching tip under it, and the review in the same place.
     The review spans both rows, so they are always at least as tall as the review: nothing grows when it shows. */
  .coach-demo.is-staged .coach-demo__side {
    display: grid;
    grid-template-columns: minmax(0, 1fr);
    grid-template-rows: auto minmax(9rem, 1fr) auto;
  }

  .coach-demo.is-staged .coach-demo__context {
    grid-area: 1 / 1;
  }

  /* size containment: the lines that arrive scroll inside it and never make it taller */
  .coach-demo.is-staged .coach-demo__transcript {
    grid-area: 2 / 1;
    contain: size;
    padding-bottom: 0;
  }

  .coach-demo.is-staged .coach-demo__note {
    grid-area: 3 / 1;
  }

  .coach-demo.is-staged .coach-demo__review {
    grid-row: 2 / 4;
    grid-column: 1;
    align-self: start;
    border-top: 0;
    opacity: 0;
    pointer-events: none;
    transition: opacity 520ms var(--ease-out);
  }

  /* screen readers read the conversation from the script list; the live list is its visual echo */
  .coach-demo.is-staged .coach-demo__script {
    position: absolute !important;
    width: 1px;
    height: 1px;
    margin: -1px;
    padding: 0;
    overflow: hidden;
    clip: rect(0 0 0 0);
    white-space: nowrap;
    border: 0;
  }

  .coach-demo.is-staged .coach-demo__live {
    display: grid;
    flex: 1 1 0;
    min-height: 0;
    overflow-y: auto;
    padding-top: 0.5rem;
    padding-bottom: 0.875rem;
    scrollbar-width: thin;
    mask-image: linear-gradient(to bottom, transparent 0, currentColor 1.25rem);
    -webkit-mask-image: linear-gradient(to bottom, transparent 0, currentColor 1.25rem);
  }

  /* the end: the review takes the transcript's place, under the client's context */
  .coach-demo.is-staged.is-reviewing .coach-demo__review {
    opacity: 1;
    pointer-events: auto;
  }

  .coach-demo.is-staged.is-reviewing .coach-demo__transcript > .coach-demo__label {
    opacity: 0;
  }

  .coach-demo.is-staged.is-reviewing .coach-demo__live,
  .coach-demo.is-staged.is-reviewing .coach-demo__note {
    visibility: hidden;
  }
}

/* ------------------------------------------------------------ with JavaScript and reduced motion: the still */

@media (prefers-reduced-motion: reduce) {
  .coach-demo.is-staged .coach-demo__caption,
  .coach-demo.is-staged .coach-demo__note {
    display: none;
  }

  /* wide screens: the client stays in view beside the long transcript (the panel clips with overflow: clip, which
     unlike hidden is not a scroll container, so sticky follows the page) */
  @media (min-width: 761px) {
    .coach-demo.is-staged .coach-demo__stage-col {
      position: sticky;
      top: calc(var(--header-h) + 1rem);
      align-self: start;
      border-right: 0;
    }

    .coach-demo.is-staged .coach-demo__side {
      border-left: 1px solid var(--hairline);
    }
  }
}

/* ------------------------------------------------------------ responsive */

@media (max-width: 760px) {
  .coach-demo.is-staged .coach-demo__stage-col {
    border-bottom: 1px solid var(--hairline);
  }

  .coach-demo__stage {
    width: 100%;
    max-width: 26rem;
    margin-inline: auto;
    aspect-ratio: 5 / 4;
  }

  .coach-demo__caption {
    min-height: 6.4em;
  }

  .coach-demo__title {
    display: none;
  }

  .coach-demo__bar {
    column-gap: 0.75rem;
  }
}

/* touch and phones: 44 px controls */
@media (max-width: 760px), (pointer: coarse) {
  .coach-demo__button {
    height: 44px;
  }

  .coach-demo__button--icon {
    width: 44px;
  }
}

/* narrow phones: the toggle shows its icon only; its name stays "Pause the sample session" or "Play ..." */
@media (max-width: 480px) {
  .coach-demo__bar {
    padding-inline: 0.875rem 0.5rem;
  }

  .coach-demo__tools {
    gap: 0.5rem;
  }

  .coach-demo__button--toggle {
    width: 44px;
    min-width: 0;
    padding: 0;
  }

  .coach-demo__button-label {
    position: absolute;
    width: 1px;
    height: 1px;
    margin: -1px;
    overflow: hidden;
    clip: rect(0 0 0 0);
    white-space: nowrap;
  }
}

/* the narrowest screens (320 px, or 400 % zoom): the bar keeps one line without the timer, which is decoration */
@media (max-width: 340px) {
  .coach-demo__timer {
    display: none;
  }
}

/* ------------------------------------------------------------ motion */

@media (prefers-reduced-motion: no-preference) {
  /* the looping signals run only while the session plays (not off screen, paused, finished or motion-paused) */
  .coach-demo.is-running .coach-demo__pulse::after {
    content: "";
    position: absolute;
    inset: 0;
    border-radius: 50%;
    background: var(--accent);
    animation: coach-ping 2s var(--ease-out) infinite;
  }

  .coach-demo.is-listening.is-running .coach-demo__meter i {
    animation: coach-level 0.9s var(--ease-in-out) infinite alternate;
  }

  .coach-demo__meter i:nth-child(2) {
    animation-delay: -0.35s !important;
    animation-duration: 0.7s !important;
  }

  .coach-demo__meter i:nth-child(3) {
    animation-delay: -0.6s !important;
    animation-duration: 1.1s !important;
  }

  .coach-demo__meter i:nth-child(4) {
    animation-delay: -0.2s !important;
    animation-duration: 0.8s !important;
  }

  .coach-demo__meter i:nth-child(5) {
    animation-delay: -0.5s !important;
    animation-duration: 1s !important;
  }

  .coach-demo__note.is-new {
    animation: rise-in 520ms var(--ease-emphasized) both;
  }

  .coach-demo__line {
    animation: coach-fade 320ms var(--ease-out) both;
  }
}

@keyframes coach-ping {
  0% {
    opacity: 0.6;
    transform: scale(1);
  }
  100% {
    opacity: 0;
    transform: scale(2.6);
  }
}

@keyframes coach-level {
  from {
    transform: scaleY(0.2);
  }
  to {
    transform: scaleY(1);
  }
}

@keyframes coach-fade {
  from {
    opacity: 0;
  }
  to {
    opacity: 1;
  }
}

/* ---------------------------------------------------------------- scenario switcher (partials/coach-switcher.html)
   A quiet row above the session: a mono label, then one tab per industry. The tabs appear only once coach-stage.js
   has wired them (.is-switchable); without it the first scenario stays in the page in full. */

.coach-switch__bar {
  display: none;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: var(--space-3) var(--space-5);
  margin-bottom: var(--space-4);
}

.coach-switch.is-switchable .coach-switch__bar {
  display: flex;
}

.coach-switch__label {
  font-family: var(--font-mono);
  font-size: var(--step--2);
  font-weight: 500;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--faint);
}

.coach-switch__tabs {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
}

.coach-switch__tab {
  min-height: 40px;
  padding: 0 1rem;
  font-family: var(--font-reading);
  font-size: 0.875rem;
  font-weight: 500;
  line-height: 1;
  color: var(--muted);
  background: transparent;
  border: 1px solid var(--border);
  border-radius: var(--radius-pill);
  cursor: pointer;
  transition:
    color var(--dur-fast) var(--ease-out),
    border-color var(--dur-fast) var(--ease-out),
    background-color var(--dur-fast) var(--ease-out);
}

.coach-switch__tab:hover {
  color: var(--ink);
  border-color: var(--border-strong);
}

.coach-switch__tab[aria-selected="true"] {
  color: var(--ink);
  background: var(--accent-tint);
  border-color: var(--accent-tint-border);
}

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

@media (max-width: 960px), (pointer: coarse) {
  .coach-switch__tab {
    min-height: 44px;
  }
}

@media (max-width: 600px) {
  .coach-switch__bar {
    justify-content: flex-start;
  }

  .coach-switch__tab {
    padding: 0 0.875rem;
  }
}

/* ---- 40-tour.css ---- */
/* Product tour (partials/product-tour.html), on the Home and Platform pages: real fin-Sapien screens, one per
   tab. Tabs on the left, the framed screen on the right; phones stack them. */

.tour {
  display: grid;
  grid-template-columns: minmax(0, 4fr) minmax(0, 8fr);
  align-items: start;
  gap: clamp(1.25rem, 1rem + 1.6vw, 2.5rem);
}

.tour__tabs {
  display: grid;
  gap: 0.375rem;
}

.tour__tab {
  display: grid;
  grid-template-columns: 40px minmax(0, 1fr);
  align-items: start;
  gap: 0.875rem;
  width: 100%;
  padding: 0.875rem 1rem;
  border: 1px solid transparent;
  border-radius: var(--radius);
  background: transparent;
  color: var(--ink);
  text-align: left;
  cursor: pointer;
  transition:
    background-color var(--dur-fast) var(--ease-out),
    border-color var(--dur-fast) var(--ease-out);
}

.tour__tab:hover {
  background: var(--bg-alt);
}

.tour__tab[aria-selected="true"] {
  border-color: var(--border);
  background: var(--bg-raised);
  box-shadow: var(--shadow-sm);
}

.tour__tab-icon {
  display: inline-grid;
  place-items: center;
  width: 40px;
  height: 40px;
  border: 1px solid var(--accent-tint-border);
  border-radius: 10px;
  background: var(--accent-tint);
  color: var(--accent);
}

.tour__tab-icon .icon {
  width: 20px;
  height: 20px;
}

.tour__tab-icon--blue {
  border-color: var(--blue-border);
  background: var(--blue-tint);
  color: var(--blue);
}

.tour__tab-icon--green {
  border-color: var(--green-border);
  background: var(--green-tint);
  color: var(--green);
}

.tour__tab-icon--teal {
  border-color: var(--teal-border);
  background: var(--teal-tint);
  color: var(--teal);
}

.tour__tab-body {
  display: grid;
  gap: 0.25rem;
}

.tour__tab-title {
  font-family: var(--font-structure);
  font-size: var(--step-1);
  font-weight: 600;
  line-height: 1.3;
}

.tour__tab-text {
  font-size: 0.875rem;
  line-height: 1.45;
  color: var(--muted);
}

.tour__stage {
  display: grid;
  gap: 0.875rem;
  min-width: 0;
}

.tour__shot {
  margin: 0;
}

.tour__shot[hidden] {
  display: none;
}

/* the screen in a plain window frame; every frame keeps one 16:10 shape so switching never moves the page */
.tour__frame {
  aspect-ratio: 16 / 10;
  border: 1px solid var(--border);
  border-radius: var(--radius);
  background: var(--paper-50);
  box-shadow: var(--shadow-lg);
  overflow: hidden;
}

.tour__open {
  display: block;
  height: 100%;
  cursor: zoom-in;
}

.tour__open:focus-visible {
  outline-offset: -3px;
}

.tour__frame img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: left top;
}

/* the cited answer is a crop of the conversation pane: shown whole, from the top */
.tour__frame--wide img {
  object-fit: contain;
  object-position: center top;
}

/* without JavaScript every screen is shown under its tab's title */
html:not(.js) .tour {
  grid-template-columns: 1fr;
}

html:not(.js) .tour__shot[hidden] {
  display: block;
}

@media (max-width: 1000px) {
  .tour {
    grid-template-columns: 1fr;
  }

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

@media (max-width: 560px) {
  .tour__tabs {
    grid-template-columns: 1fr;
  }

  .tour__tab-text {
    display: none;
  }

  .tour__tab {
    align-items: center;
    padding: 0.5rem 0.75rem;
  }
}

/* ---- 50-home.css ---- */
/* Home page (index.html): the title row, the edition slideshow beside what we offer, the Co-pilot Coach session,
   how we differ, how we work. */

/* ---------------------------------------------------------------- hero
   The edition slideshow on the left; the headline and what we offer on the right. Phones: headline, slideshow,
   offers. */

.home-hero {
  padding-block: clamp(1.25rem, 0.9rem + 1.2vw, 2rem) clamp(3rem, 2.2rem + 3vw, 4.5rem);
}

.home-hero__grid {
  display: grid;
  grid-template-columns: minmax(0, 7fr) minmax(0, 5fr);
  grid-template-rows: auto 1fr;
  grid-template-areas:
    "slides title"
    "slides offers";
  column-gap: clamp(1.5rem, 1rem + 2vw, 3rem);
  row-gap: clamp(1rem, 0.8rem + 0.8vw, 1.5rem);
}

/* the headline block: what we are, big (the owner removed the smaller pillars line under it) */
.home-hero__head {
  grid-area: title;
  display: grid;
  gap: 0.625rem;
}

.home-hero__title {
  max-width: none;
  font-size: clamp(2.375rem, 1.5rem + 2vw, 3rem);
  line-height: 1.02;
}

.home-hero__sub {
  max-width: 44ch;
  font-size: var(--step-1);
  font-weight: 500;
  line-height: 1.45;
  color: var(--ink-soft);
}

/* the second line of the headline: what makes the work trustworthy, on a line of its own */
.home-hero__accent {
  display: block;
}

.home-hero__slides {
  grid-area: slides;
  display: flex;
  min-width: 0;
}

.offers {
  grid-area: offers;
}

/* below 1180 px the right column is too narrow for the headline and the offers: stack them (headline, slideshow,
   offers), with the offers two by two while there is room */
@media (max-width: 1180px) {
  .home-hero__grid {
    grid-template-columns: minmax(0, 1fr);
    grid-template-rows: auto;
    grid-template-areas:
      "title"
      "slides"
      "offers";
  }
}

@media (min-width: 640px) and (max-width: 1180px) {
  .offers__list {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

/* ---------------------------------------------------------------- edition slideshow
   One slide per Sapien edition (partials/gen/editions-slides.html, written by tools/make_content.py). Each slide is
   one surface in the edition colour, dark on the text side: the edition, a sample result set straight on the
   colour, and an illustration of the industry (assets/img/industries, written by tools/make_illustrations.py).
   The controls lie over the foot of the slide. The slides share one grid cell, so the card keeps the height of the
   tallest. site.js advances them every few seconds with a visible pause control; it never advances for visitors
   who prefer reduced motion. Without JavaScript every slide is shown, one under the other. */

.slides {
  position: relative;
  display: flex;
  flex: 1;
  flex-direction: column;
  min-width: 0;
  border-radius: var(--radius-lg);
  background: var(--graphite-900);
  overflow: hidden;
}

.slides__viewport {
  display: grid;
  flex: 1;
}

.slide {
  --hue-a: #3466a8;
  --hue-b: #16305a;
  --slide-accent: #b9cff0;
  display: grid;
  grid-template-columns: minmax(0, 1.2fr) minmax(0, 1fr);
  align-items: center;
  gap: clamp(1rem, 0.6rem + 1.4vw, 2rem);
  min-width: 0;
  padding: clamp(1.5rem, 1.1rem + 1.4vw, 2.25rem) clamp(1.25rem, 0.9rem + 1.4vw, 2.25rem) calc(64px + 1rem);
  background:
    radial-gradient(90% 80% at 88% 30%, rgb(255 255 255 / 0.13), transparent 62%),
    linear-gradient(100deg, var(--hue-b) 0%, var(--hue-b) 30%, var(--hue-a) 100%);
  color: #fff;
}

.slide--health {
  --hue-a: #2f8160;
  --hue-b: #133d2d;
  --slide-accent: #a9dcc1;
}

.slide--pharma {
  --hue-a: #24827e;
  --hue-b: #0f3836;
  --slide-accent: #a3dcd7;
}

.slide--legal {
  --hue-a: #9a5a25;
  --hue-b: #44250c;
  --slide-accent: #f5bc66;
}

.slide--manufacturing {
  --hue-a: #5a6c8a;
  --hue-b: #1f2737;
  --slide-accent: #c6d2e6;
}

.slide--growth {
  --hue-a: #3d8f62;
  --hue-b: #143f2a;
  --slide-accent: #a9dcc1;
}

.js .slide {
  grid-area: 1 / 1;
  visibility: hidden;
  opacity: 0;
  transition:
    opacity 420ms var(--ease-out),
    visibility 0s linear 420ms;
}

.js .slide.is-active {
  visibility: visible;
  opacity: 1;
  transition:
    opacity 420ms var(--ease-out),
    visibility 0s;
}

html:not(.js) .slide {
  padding-bottom: clamp(1.5rem, 1.1rem + 1.4vw, 2.25rem);
}

.slide__text {
  display: grid;
  align-content: center;
  justify-items: start;
  gap: 0.5rem;
  min-width: 0;
}

.slide__industry {
  font-family: var(--font-mono);
  font-size: var(--step--2);
  font-weight: 500;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--slide-accent);
}

.slide__edition {
  font-family: var(--font-structure);
  font-size: clamp(1.875rem, 1.5rem + 1.3vw, 2.5rem);
  font-weight: 600;
  line-height: 1.05;
  letter-spacing: -0.025em;
  color: #fff;
}

.slide__line {
  max-width: 44ch;
  color: rgb(255 255 255 / 0.84);
  font-size: 0.9375rem;
}

.slide__link {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  min-height: 44px;
  font-weight: 600;
  font-size: 0.9375rem;
  color: #fff;
  text-decoration: underline;
  text-decoration-color: rgb(255 255 255 / 0.45);
  text-underline-offset: 0.25em;
}

.slide__link:hover {
  text-decoration-color: #fff;
}

.slide__link:focus-visible,
.slides__tab:focus-visible,
.slides__button:focus-visible {
  outline-color: #fff;
}

.slide__img {
  width: 100%;
  height: auto;
  max-height: 340px;
  object-fit: contain;
}

/* the sample result: the tool, three checks with their sources and the sign-off, straight on the colour */
.sample {
  display: grid;
  gap: 0.625rem;
  width: 100%;
  margin-top: 0.75rem;
  padding-top: 0.875rem;
  border-top: 1px solid rgb(255 255 255 / 0.2);
}

.sample__app {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 0.25rem 0.625rem;
}

.sample__icon {
  display: inline-grid;
  place-items: center;
  width: 26px;
  height: 26px;
  border-radius: 7px;
  background: rgb(255 255 255 / 0.16);
  color: #fff;
}

.sample__icon .icon {
  width: 15px;
  height: 15px;
}

.sample__name {
  font-size: 0.9375rem;
  font-weight: 600;
  color: #fff;
}

.sample__file {
  font-family: var(--font-mono);
  font-size: 0.6875rem;
  color: rgb(255 255 255 / 0.7);
}

.sample__rows {
  display: grid;
  gap: 0.5rem;
  list-style: none;
}

.sample__row {
  display: grid;
  grid-template-columns: 22px minmax(0, 1fr);
  gap: 0.125rem 0.625rem;
  font-size: 0.875rem;
  line-height: 1.4;
  color: rgb(255 255 255 / 0.94);
}

.sample__mark {
  grid-row: span 2;
  display: inline-grid;
  place-items: center;
  width: 22px;
  height: 22px;
  margin-top: -1px;
  border-radius: 50%;
  background: rgb(255 255 255 / 0.18);
  color: #fff;
}

.sample__row--flag .sample__mark {
  background: #f5bc66;
  color: #3a2408;
}

.sample__mark .icon {
  width: 13px;
  height: 13px;
  stroke-width: 2.4;
}

.sample__src {
  font-family: var(--font-mono);
  font-size: 0.6875rem;
  color: rgb(255 255 255 / 0.68);
}

.sample__sign {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: 0.25rem 1rem;
  font-size: 0.8125rem;
  font-weight: 600;
  color: #fff;
}

.sample__note {
  font-family: var(--font-mono);
  font-size: 0.625rem;
  font-weight: 400;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: rgb(255 255 255 / 0.62);
}

@media (max-width: 560px) {
  .slide {
    grid-template-columns: minmax(0, 1fr);
    align-content: start;
    background:
      radial-gradient(90% 60% at 70% 10%, rgb(255 255 255 / 0.13), transparent 62%),
      linear-gradient(180deg, var(--hue-a) 0%, var(--hue-b) 55%);
  }

  .slide__img {
    order: -1;
    max-height: 170px;
  }
}

/* controls: one tab per edition, then previous, pause and next */
.slides__controls {
  display: none;
}

.js .slides__controls {
  position: absolute;
  inset: auto 0 0;
  display: flex;
  align-items: center;
  gap: 0.75rem;
  padding: 0.625rem clamp(0.75rem, 0.5rem + 1vw, 1.5rem);
  border-top: 1px solid rgb(255 255 255 / 0.14);
  background: rgb(0 0 0 / 0.24);
}

.slides__tabs {
  display: flex;
  flex: 1;
  min-width: 0;
  gap: 0.25rem;
  overflow-x: auto;
  scrollbar-width: none;
}

.slides__tabs::-webkit-scrollbar {
  display: none;
}

.slides__tab {
  position: relative;
  flex: none;
  min-height: 44px;
  padding: 0 0.75rem;
  border: 0;
  border-radius: var(--radius-sm);
  background: transparent;
  color: rgb(255 255 255 / 0.72);
  font-size: 0.875rem;
  font-weight: 500;
  cursor: pointer;
  transition:
    color var(--dur-fast) var(--ease-out),
    background-color var(--dur-fast) var(--ease-out);
}

.slides__tab:hover {
  color: #fff;
  background: rgb(255 255 255 / 0.1);
}

.slides__tab[aria-selected="true"] {
  color: #fff;
}

.slides__tab:focus-visible {
  outline-offset: -2px;
}

/* the selected tab's bar fills while its slide is shown, so the visitor can see when the next one comes */
.slides__tab-bar {
  position: absolute;
  left: 0.75rem;
  right: 0.75rem;
  bottom: 6px;
  height: 2px;
  border-radius: 2px;
  background: rgb(255 255 255 / 0.25);
  overflow: hidden;
  opacity: 0;
}

.slides__tab[aria-selected="true"] .slides__tab-bar {
  opacity: 1;
}

.slides__tab-bar::after {
  content: "";
  position: absolute;
  inset: 0;
  background: #fff;
  transform-origin: left center;
  transform: scaleX(1);
}

.slides.is-playing .slides__tab[aria-selected="true"] .slides__tab-bar::after {
  animation: slide-progress var(--slide-time, 7000ms) linear both;
}

.slides.is-held .slides__tab[aria-selected="true"] .slides__tab-bar::after {
  animation-play-state: paused;
}

@keyframes slide-progress {
  from {
    transform: scaleX(0);
  }
  to {
    transform: scaleX(1);
  }
}

.slides__buttons {
  display: flex;
  flex: none;
  gap: 0.25rem;
}

.slides__button {
  display: inline-grid;
  place-items: center;
  width: 44px;
  height: 44px;
  padding: 0;
  border: 1px solid rgb(255 255 255 / 0.28);
  border-radius: var(--radius-sm);
  background: transparent;
  color: #fff;
  cursor: pointer;
  transition:
    color var(--dur-fast) var(--ease-out),
    border-color var(--dur-fast) var(--ease-out),
    background-color var(--dur-fast) var(--ease-out);
}

.slides__button[hidden] {
  display: none;
}

.slides__button:hover {
  border-color: rgb(255 255 255 / 0.6);
  background: rgb(255 255 255 / 0.1);
}

.slides__button-icon {
  display: inline-flex;
}

.slides__button-icon .icon {
  width: 18px;
  height: 18px;
}

.slides__button-icon--prev {
  transform: scaleX(-1);
}

.slides:not(.is-playing) .slides__button-icon--pause,
.slides.is-playing .slides__button-icon--play {
  display: none;
}

/* phones: the tabs scroll beside the pause button; the tabs already step through the editions */
@media (max-width: 560px) {
  .js .slides__controls {
    padding-inline: 0.5rem 0.75rem;
  }

  [data-slides-prev],
  [data-slides-next] {
    display: none;
  }
}

/* ---------------------------------------------------------------- what we offer */

.offers {
  display: flex;
  flex-direction: column;
  min-width: 0;
}

.offers__title {
  margin-bottom: 0.5rem;
}

.offers__list {
  display: grid;
  flex: 1;
  grid-auto-rows: 1fr;
  list-style: none;
  border-top: 1px solid var(--border);
}

.offer {
  display: grid;
  grid-template-columns: 44px minmax(0, 1fr) 24px;
  align-content: center;
  align-items: center;
  gap: 0.25rem 1rem;
  height: 100%;
  padding: 0.875rem 0.75rem 0.875rem 0.25rem;
  border-bottom: 1px solid var(--border);
  text-decoration: none;
  transition: background-color var(--dur-fast) var(--ease-out);
}

.offer:hover {
  background: var(--bg-alt);
}

.offer:focus-visible {
  outline-offset: -2px;
}

.offer__icon {
  display: inline-grid;
  place-items: center;
  width: 44px;
  height: 44px;
  border: 1px solid var(--accent-tint-border);
  border-radius: 10px;
  background: var(--accent-tint);
  color: var(--accent);
}

.offer__icon .icon {
  width: 21px;
  height: 21px;
}

.offer__icon--blue {
  border-color: var(--blue-border);
  background: var(--blue-tint);
  color: var(--blue);
}

.offer__icon--green {
  border-color: var(--green-border);
  background: var(--green-tint);
  color: var(--green);
}

.offer__icon--teal {
  border-color: var(--teal-border);
  background: var(--teal-tint);
  color: var(--teal);
}

.offer__body {
  display: grid;
  gap: 0.25rem;
}

.offer__title {
  font-family: var(--font-structure);
  font-size: var(--step-2);
  font-weight: 600;
  line-height: 1.2;
  letter-spacing: -0.01em;
  color: var(--ink);
}

.offer__text {
  font-size: 0.9375rem;
  line-height: 1.5;
  color: var(--muted);
}

.offer__arrow {
  color: var(--accent);
  transition: transform var(--dur) var(--ease-out);
}

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

/* ---------------------------------------------------------------- RM Coach & Companion band */

.home-coach .section-head {
  align-items: end;
}

.home-coach__facts {
  display: grid;
  gap: 0.5rem;
  list-style: none;
}

.home-coach__facts li {
  display: flex;
  align-items: center;
  gap: 0.625rem;
  color: var(--ink-soft);
  font-size: 0.9375rem;
}

.home-coach__facts .icon {
  width: 18px;
  height: 18px;
  color: var(--accent);
}

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

/* ---------------------------------------------------------------- how we differ, how we work */

.home-differ .points {
  --points-cols: 4;
}

/* ---- 51-coach.css ---- */
/* Co-pilot Coach page (coach.html): the sample session first, then who uses it, how a session works, what the
   review covers, voice and privacy, questions. The session panel itself is 35-coach-demo.css. */

.coach-session {
  padding-bottom: clamp(3rem, 2.2rem + 3vw, 4.5rem);
}

.coach-session__note {
  margin-top: var(--space-4);
}

/* who practises: one row per industry */
.coach-who {
  list-style: none;
  border-top: 1px solid var(--border);
}

.coach-who__row {
  display: grid;
  grid-template-columns: minmax(0, 3fr) minmax(0, 4fr) minmax(0, 5fr);
  align-items: baseline;
  gap: 0.375rem var(--grid-gap);
  padding: 1.125rem 0;
  border-bottom: 1px solid var(--border);
}

.coach-who__industry {
  font-family: var(--font-mono);
  font-size: var(--step--2);
  font-weight: 500;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--accent);
}

.coach-who__role {
  font-family: var(--font-structure);
  font-size: var(--step-1);
  font-weight: 600;
  line-height: 1.3;
  color: var(--ink);
}

.coach-who__when {
  color: var(--muted);
  font-size: 0.9375rem;
}

@media (max-width: 760px) {
  .coach-who__row {
    grid-template-columns: 1fr;
  }
}

/* the six review categories */
.coach-review {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 1px;
  list-style: none;
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  background: var(--border);
  overflow: hidden;
}

.coach-review li {
  display: grid;
  align-content: start;
  gap: 0.375rem;
  padding: 1.25rem 1.375rem 1.375rem;
  background: var(--bg-raised);
}

.coach-review__name {
  font-family: var(--font-structure);
  font-size: var(--step-1);
  font-weight: 600;
  color: var(--ink);
}

.coach-review__text {
  color: var(--muted);
  font-size: 0.9375rem;
}

.coach-review__foot {
  margin-top: var(--space-4);
  color: var(--muted);
  font-size: 0.9375rem;
}

@media (max-width: 900px) {
  .coach-review {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (max-width: 520px) {
  .coach-review {
    grid-template-columns: 1fr;
  }
}

/* two columns: a heading beside its content */
.coach-split {
  display: grid;
  grid-template-columns: minmax(0, 4fr) minmax(0, 8fr);
  gap: var(--space-6) clamp(2rem, 5vw, 5rem);
}

.coach-split__head {
  display: grid;
  align-content: start;
  gap: var(--space-3);
}

@media (max-width: 900px) {
  .coach-split {
    grid-template-columns: 1fr;
  }
}

/* ---- 53-platform.css ---- */
/* Platform page (platform.html): what every edition shares, Why this answer?, controls, deployment, questions. */

.plat-caps {
  --points-cols: 3;
}

/* controls: a ruled two-column list */
.plat-controls {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  column-gap: clamp(2rem, 5vw, 4.5rem);
  list-style: none;
  border-top: 1px solid var(--border);
}

.plat-control {
  display: grid;
  grid-template-columns: 36px minmax(0, 1fr);
  gap: 0.25rem 1rem;
  padding: 1.25rem 0;
  border-bottom: 1px solid var(--border);
}

.plat-control__icon {
  grid-row: span 2;
  display: inline-grid;
  place-items: center;
  width: 36px;
  height: 36px;
  border-radius: var(--radius-sm);
  background: var(--chip);
  color: var(--ink-soft);
}

.plat-control__icon .icon {
  width: 18px;
  height: 18px;
}

.plat-control__title {
  font-family: var(--font-structure);
  font-size: var(--step-1);
  font-weight: 600;
  line-height: 1.3;
  color: var(--ink);
}

.plat-control__text {
  color: var(--muted);
  font-size: 0.9375rem;
}

@media (max-width: 860px) {
  .plat-controls {
    grid-template-columns: 1fr;
  }
}

/* deployment: where it runs and which models answer */
.plat-deploy {
  display: grid;
  gap: var(--space-5);
}

.plat-deploy__row {
  display: grid;
  grid-template-columns: minmax(0, 2.4fr) repeat(3, minmax(0, 3fr));
  gap: var(--grid-gap);
  padding-top: 1.25rem;
  border-top: 1px solid var(--border);
}

.plat-deploy__label {
  font-family: var(--font-mono);
  font-size: var(--step--2);
  font-weight: 500;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--accent);
  padding-top: 0.25rem;
}

.plat-deploy__item {
  display: grid;
  align-content: start;
  gap: 0.375rem;
}

.plat-deploy__title {
  font-family: var(--font-structure);
  font-size: var(--step-1);
  font-weight: 600;
  line-height: 1.3;
  color: var(--ink);
}

.plat-deploy__text {
  color: var(--muted);
  font-size: 0.9375rem;
}

.plat-deploy__note {
  color: var(--muted);
  font-size: 0.9375rem;
  max-width: 80ch;
}

@media (max-width: 900px) {
  .plat-deploy__row {
    grid-template-columns: 1fr;
    gap: var(--space-4);
  }
}

.plat-faq > .section-head__text {
  align-content: start;
}

.plat-faq {
  display: grid;
  grid-template-columns: minmax(0, 4fr) minmax(0, 8fr);
  gap: var(--space-6) clamp(2rem, 5vw, 5rem);
}

@media (max-width: 900px) {
  .plat-faq {
    grid-template-columns: 1fr;
  }
}

/* ---------------------------------------------------------------- why this answer? (illustrative panel, static) */

.plat-why {
  margin: 0;
}

.plat-why__bar {
  justify-content: space-between;
}

.plat-why__crumb {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  font-size: 0.6875rem;
  font-weight: 500;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--ink-soft);
}

.plat-why__crumb-icon,
.plat-why__kb-icon {
  display: inline-flex;
}

.plat-why__crumb-icon .icon,
.plat-why__kb-icon .icon {
  width: 15px;
  height: 15px;
}

.plat-why__kb {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  height: 26px;
  padding: 0 0.625rem;
  border: 1px solid var(--border);
  border-radius: var(--radius-pill);
  background: var(--bg-raised);
  font-family: var(--font-reading);
  font-size: 0.75rem;
  font-weight: 500;
  color: var(--ink-soft);
}

.plat-why__kb-icon {
  color: var(--muted);
}

.plat-why__body {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 0.94fr);
}

/* the conversation, on the paper the product uses behind its thread */
.plat-why__thread {
  display: flex;
  flex-direction: column;
  justify-content: center;
  gap: 1.125rem;
  padding: clamp(1.5rem, 0.9rem + 2.4vw, 3rem);
  background: var(--bg);
}

.plat-why__question {
  align-self: flex-end;
  max-width: min(100%, 23rem);
  padding: 0.75rem 1rem;
  border-radius: 16px 16px 4px 16px;
  background: var(--bg-sunken);
  color: var(--ink);
  font-size: 0.9375rem;
  line-height: 1.55;
}

.plat-why__answer {
  max-width: 34rem;
  padding: 1rem 1.125rem 1.0625rem;
  border: 1px solid var(--hairline);
  border-radius: 4px 16px 16px 16px;
  background: var(--bg-raised);
  box-shadow: var(--shadow-sm);
}

.plat-why__answer-text {
  font-size: 0.9375rem;
  line-height: 1.7;
  color: var(--ink);
}

.plat-why__meta {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 0.625rem 1rem;
}

.plat-why__trigger {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  height: 30px;
  padding: 0 0.7rem;
  border: 1px solid var(--border-strong);
  border-radius: var(--radius-sm);
  background: var(--bg-raised);
  font-size: 0.75rem;
  font-weight: 600;
  color: var(--ink);
  cursor: default;
  user-select: none;
}

.plat-why__trigger .icon {
  width: 14px;
  height: 14px;
}

.plat-why__route {
  display: inline-flex;
  align-items: baseline;
  gap: 0.25rem;
  font-family: var(--font-mono);
  font-size: 0.6875rem;
  letter-spacing: 0.02em;
  color: var(--muted);
}

.plat-why__alpha {
  font-family: var(--font-structure);
  font-size: 0.9375rem;
  font-weight: 600;
  line-height: 1;
  color: var(--ink);
}

/* citation markers: neutral, except the trace being checked, which is the panel's one copper accent */
.plat-cite {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 1.1rem;
  height: 1.1rem;
  margin-left: 0.15em;
  padding: 0 0.25rem;
  border: 1px solid var(--border);
  border-radius: 5px;
  background: var(--chip);
  font-family: var(--font-mono);
  font-size: 0.625rem;
  font-weight: 500;
  line-height: 1;
  letter-spacing: 0;
  color: var(--ink-soft);
  vertical-align: 0.4em;
}

.plat-cite--on {
  border-color: color-mix(in srgb, var(--copper-500) 70%, transparent);
  background: var(--accent-tint);
  color: var(--accent);
}

/* the inspector: a slide-over beside the thread, as in the product */
.plat-why__inspector {
  position: relative;
  display: flex;
  flex-direction: column;
  min-width: 0;
  border-left: 1px solid var(--hairline);
  background: var(--bg-raised);
  box-shadow: -22px 0 40px -34px rgb(var(--shadow-color) / 0.45);
}

.plat-why__head {
  padding: 1.25rem clamp(1.25rem, 0.9rem + 1vw, 1.75rem) 1.125rem;
  border-bottom: 1px solid var(--hairline);
}

.plat-why__title {
  display: flex;
  align-items: center;
  gap: 0.625rem;
  font-family: var(--font-structure);
  font-size: 1.0625rem;
  font-weight: 600;
  letter-spacing: -0.01em;
  color: var(--ink);
}

.plat-why__title-icon {
  display: grid;
  place-items: center;
  width: 28px;
  height: 28px;
  border: 1px solid var(--hairline);
  border-radius: 7px;
  background: var(--bg-alt);
  color: var(--ink-soft);
}

.plat-why__title-icon .icon {
  width: 15px;
  height: 15px;
}

.plat-why__summary {
  margin-top: 0.5rem;
  font-family: var(--font-mono);
  font-size: 0.6875rem;
  letter-spacing: 0.03em;
  color: var(--faint);
}

.plat-why__claims {
  list-style: none;
  padding: 0.25rem clamp(1.25rem, 0.9rem + 1vw, 1.75rem) 0.75rem;
}

.plat-why__claim {
  padding: 1.125rem 0 1.25rem;
}

.plat-why__claim + .plat-why__claim {
  border-top: 1px solid var(--hairline);
}

.plat-why__claim-head {
  display: flex;
  flex-wrap: wrap;
  align-items: baseline;
  justify-content: space-between;
  gap: 0.375rem 1rem;
}

.plat-why__claim-text {
  flex: 1 1 15rem;
  font-size: 0.9375rem;
  font-weight: 600;
  line-height: 1.45;
  color: var(--ink);
}

.plat-why__support {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  margin: 0;
  font-family: var(--font-mono);
  font-size: 0.625rem;
  font-weight: 500;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  white-space: nowrap;
  color: var(--faint);
}

.plat-why__support .plat-cite {
  margin: 0;
  vertical-align: middle;
}

/* inline, so a long source label wraps after the marker instead of dropping below it */
.plat-why__source .plat-cite {
  margin: 0 0.5rem 0 0;
  vertical-align: 0.05em;
}

.plat-why__passage {
  margin: 0.75rem 0 0;
  padding: 0.125rem 0 0.125rem 0.875rem;
  border-left: 2px solid var(--border);
}

.plat-why__claim--on .plat-why__passage {
  border-left-color: var(--copper-500);
}

.plat-why__source {
  font-family: var(--font-mono);
  font-size: 0.625rem;
  font-weight: 500;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--muted);
}

.plat-why__quote {
  margin-top: 0.4rem;
  font-size: 0.875rem;
  line-height: 1.6;
  color: var(--ink-soft);
}

.plat-why__actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.375rem;
  margin-top: 1rem;
}

.plat-why__action {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  height: 30px;
  padding: 0 0.75rem;
  border: 1px solid var(--border);
  border-radius: var(--radius-sm);
  background: var(--bg-raised);
  font-size: 0.75rem;
  font-weight: 600;
  color: var(--ink-soft);
  cursor: default;
  user-select: none;
}

.plat-why__action .icon {
  width: 14px;
  height: 14px;
}

.plat-why__action--quiet {
  padding-inline: 0.5rem;
  border-color: transparent;
  background: transparent;
  color: var(--muted);
}

.plat-why__caption {
  margin-top: 1rem;
}

@media (max-width: 860px) {
  .plat-why__body {
    grid-template-columns: 1fr;
  }

  .plat-why__inspector {
    border-left: 0;
    border-top: 1px solid var(--hairline);
    box-shadow: none;
  }
}

@media (max-width: 520px) {
  .plat-why__kb {
    display: none;
  }

  .plat-why__question {
    max-width: 92%;
  }

  .plat-why__answer {
    max-width: 100%;
  }
}

/* ---- 54-company.css ---- */
/* Company page (company.html): who we are and principles beside the contact form; the Privacy notice
   (privacy.html) and the 404 page share the simple text layout at the end. */

.company-grid {
  display: grid;
  grid-template-columns: minmax(0, 5fr) minmax(0, 7fr);
  align-items: start;
  gap: var(--space-7) clamp(2rem, 5vw, 5rem);
}

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

.company-about__text {
  display: grid;
  gap: 0.875rem;
  color: var(--muted);
  font-size: var(--step-1);
}

.company-principles {
  list-style: none;
  border-top: 1px solid var(--border);
}

.company-principle {
  display: grid;
  gap: 0.25rem;
  padding: 1rem 0;
  border-bottom: 1px solid var(--border);
}

.company-principle__title {
  font-family: var(--font-structure);
  font-size: var(--step-1);
  font-weight: 600;
  color: var(--ink);
}

.company-principle__text {
  color: var(--muted);
  font-size: 0.9375rem;
}

.company-direct {
  display: grid;
  gap: 0.25rem;
}

.company-direct__label {
  font-family: var(--font-mono);
  font-size: var(--step--2);
  font-weight: 500;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--faint);
}

.company-direct a {
  font-family: var(--font-structure);
  font-size: var(--step-2);
  font-weight: 600;
  color: var(--accent);
  text-decoration: none;
  word-break: break-word;
}

.company-direct a:hover {
  text-decoration: underline;
}

.company-contact {
  display: grid;
  gap: var(--space-4);
  scroll-margin-top: calc(var(--header-h) + 1rem);
}

.company-contact__head {
  display: grid;
  gap: 0.375rem;
}

.company-contact__head h2 {
  font-size: var(--step-3);
}

.company-contact__head p {
  color: var(--muted);
}

@media (max-width: 960px) {
  .company-grid {
    grid-template-columns: 1fr;
  }
}

.company-form {
  display: grid;
  gap: var(--space-5);
  padding: clamp(1.25rem, 0.75rem + 2vw, 2.5rem);
  background: var(--bg-raised);
  border: 1px solid var(--hairline);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-md);
}

.company-form__grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 1.375rem 1.25rem;
}

.company-form__wide {
  grid-column: 1 / -1;
}

.company-form .field input,
.company-form .field select,
.company-form .field textarea {
  background: var(--bg);
}

.company-form .field textarea {
  min-height: 7.5rem;
}

.company-form .field textarea[name="notes"] {
  min-height: 5.75rem;
}

.company-form ::placeholder {
  color: var(--faint);
  opacity: 1;
}

.company-form .field input:user-invalid,
.company-form .field select:user-invalid,
.company-form .field textarea:user-invalid {
  border-color: var(--error);
}

.company-form .field input:user-invalid:focus-visible,
.company-form .field select:user-invalid:focus-visible,
.company-form .field textarea:user-invalid:focus-visible {
  box-shadow: 0 0 0 3px color-mix(in srgb, var(--error) 20%, transparent);
}

.company-form__optional {
  font-weight: 400;
  color: var(--faint);
}

.company-form__select {
  position: relative;
}

.company-form__select select {
  -webkit-appearance: none;
  appearance: none;
  padding-right: 2.75rem;
  cursor: pointer;
}

.company-form__chevron {
  position: absolute;
  top: 50%;
  right: 0.875rem;
  display: flex;
  color: var(--muted);
  pointer-events: none;
  transform: translateY(-50%);
}

.company-form__chevron .icon {
  width: 18px;
  height: 18px;
}

.company-form__note {
  max-width: 62ch;
  font-size: 0.875rem;
  line-height: 1.6;
  color: var(--muted);
}

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

@media (max-width: 600px) {
  .company-form__grid {
    grid-template-columns: minmax(0, 1fr);
  }

  .company-form__actions .button {
    width: 100%;
  }
}

/* ================================================================ privacy notice */

/* a document page: one narrow reading column */
.doc {
  width: min(100% - 2 * var(--gutter), 760px);
  margin-inline: auto;
}

/* the notice: one narrow reading column, each part a hairline, an h2 and its text */
.privacy-notice__body {
  display: grid;
  gap: clamp(2.25rem, 1.75rem + 1.5vw, 3rem);
}

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

.privacy-part h2 {
  font-size: var(--step-2);
  line-height: 1.25;
  letter-spacing: -0.012em;
}

.privacy-part p {
  max-width: 60ch;
  font-size: clamp(1rem, 0.96rem + 0.18vw, 1.125rem);
  line-height: 1.75;
  color: var(--muted);
}

.privacy-part .mono {
  color: var(--ink-soft);
}

/* an address never breaks at its hyphen or dot */
.privacy-email {
  white-space: nowrap;
}

/* ---- 55-industries.css ---- */
/* Industries page (industries.html; the tabs and panels are partials/gen/industries-panels.html, written by
   tools/make_content.py). One tab per industry plus "Your industry". In each panel the applications are a list
   beside one open detail (desktop) or an accordion (phones): the same markup, because each .app is display:
   contents on wide screens, so its button joins the list column and its detail the detail column. Without
   JavaScript every panel and every detail is shown. */

/* ---------------------------------------------------------------- tabs */

.ind-tabs {
  position: sticky;
  top: var(--header-h);
  z-index: 50;
  background: var(--bg);
  border-block: 1px solid var(--hairline);
}

html:not(.js) .ind-tabs {
  display: none;
}

.ind-tabs__inner {
  display: flex;
  gap: 0.25rem;
  overflow-x: auto;
  scroll-padding-inline: var(--gutter);
  scrollbar-width: none;
}

.ind-tabs__inner::-webkit-scrollbar {
  display: none;
}

.ind-tab {
  position: relative;
  flex: none;
  min-height: 56px;
  padding: 0 1rem;
  border: 0;
  background: transparent;
  color: var(--muted);
  font-size: 0.9375rem;
  font-weight: 500;
  white-space: nowrap;
  cursor: pointer;
  transition: color var(--dur-fast) var(--ease-out);
}

.ind-tab:first-child {
  padding-left: 0;
}

.ind-tab:hover {
  color: var(--ink);
}

.ind-tab[aria-selected="true"] {
  color: var(--ink);
  font-weight: 600;
}

.ind-tab[aria-selected="true"]::after {
  content: "";
  position: absolute;
  left: 1rem;
  right: 1rem;
  bottom: -1px;
  height: 2px;
  background: var(--accent);
}

.ind-tab:first-child[aria-selected="true"]::after {
  left: 0;
}

.ind-tab:focus-visible {
  outline-offset: -4px;
}

/* the last tab is the way in for every other industry: set apart by a rule */
.ind-tab[data-ind-tab="your-organisation"] {
  margin-left: 0.5rem;
}

.ind-tab[data-ind-tab="your-organisation"]::before {
  content: "";
  position: absolute;
  left: -0.375rem;
  top: 18px;
  bottom: 18px;
  width: 1px;
  background: var(--border);
}

/* ---------------------------------------------------------------- panel */

.ind-panels {
  padding-block: clamp(1.5rem, 1.1rem + 1.4vw, 2.25rem) clamp(3rem, 2.2rem + 3vw, 4.5rem);
}

html:not(.js) .ind-panel[hidden] {
  display: block;
}

html:not(.js) .ind-panel + .ind-panel {
  margin-top: var(--space-8);
  padding-top: var(--space-7);
  border-top: 1px solid var(--border);
}

.ind-panel:focus-visible {
  outline-offset: 8px;
}

.ind-panel__intro {
  display: grid;
  grid-template-columns: minmax(0, 6fr) minmax(0, 6fr);
  align-items: start;
  gap: var(--space-5) clamp(2rem, 5vw, 4.5rem);
  margin-bottom: clamp(1.5rem, 1.1rem + 1.4vw, 2.25rem);
}

.ind-panel__name {
  display: grid;
  gap: 0.5rem;
}

.ind-panel__title {
  display: grid;
  gap: 0.375rem;
  font-size: var(--step-4);
}

.ind-panel__industry {
  font-family: var(--font-mono);
  font-size: var(--step--2);
  font-weight: 500;
  line-height: 1.3;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--accent);
}

.ind-panel__editions {
  display: flex;
  flex-wrap: wrap;
  gap: 0 0.75em;
}

.ind-panel__line {
  max-width: 52ch;
  color: var(--muted);
  font-size: var(--step-1);
}

.ind-facts {
  display: grid;
  gap: var(--space-4);
  padding-top: 0.25rem;
}

.ind-facts__row {
  display: grid;
  grid-template-columns: 8.5rem minmax(0, 1fr);
  align-items: baseline;
  gap: var(--space-4);
}

.ind-facts dt {
  font-family: var(--font-mono);
  font-size: var(--step--2);
  font-weight: 500;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--faint);
}

.ind-facts dd {
  color: var(--ink-soft);
  font-size: 0.9375rem;
}

.ind-facts__chips {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
  list-style: none;
}

.ind-facts__chips li {
  display: inline-flex;
  align-items: center;
  min-height: 30px;
  padding: 0.25rem 0.75rem;
  border: 1px solid var(--border);
  border-radius: var(--radius-pill);
  background: var(--bg-raised);
  font-size: 0.875rem;
  line-height: 1.3;
  color: var(--ink-soft);
}

@media (max-width: 960px) {
  .ind-panel__intro {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 520px) {
  .ind-facts__row {
    grid-template-columns: 1fr;
    gap: 0.5rem;
  }
}

/* ---------------------------------------------------------------- applications: list and detail */

.apps {
  display: grid;
  grid-template-columns: minmax(0, 5fr) minmax(0, 7fr);
  grid-template-rows: repeat(var(--apps, 6), auto) 1fr;
  column-gap: clamp(1.25rem, 0.8rem + 1.6vw, 2.25rem);
  border-top: 1px solid var(--border);
}

.app {
  display: contents;
}

.app__head {
  grid-column: 1;
  font-size: inherit;
  line-height: inherit;
  letter-spacing: normal;
}

.app__toggle {
  display: grid;
  grid-template-columns: 40px minmax(0, 1fr) 20px;
  align-items: center;
  gap: 0.875rem;
  width: 100%;
  min-height: 68px;
  padding: 0.75rem 0.875rem 0.75rem 0.75rem;
  border: 0;
  border-bottom: 1px solid var(--hairline);
  background: transparent;
  color: var(--ink);
  text-align: left;
  cursor: pointer;
  transition: background-color var(--dur-fast) var(--ease-out);
}

.app__toggle:hover {
  background: var(--bg-alt);
}

.app__toggle:focus-visible {
  outline-offset: -2px;
}

.app__toggle[aria-expanded="true"] {
  background: var(--bg-raised);
  box-shadow: inset 2px 0 0 var(--accent);
}

.app__icon {
  display: inline-grid;
  place-items: center;
  width: 40px;
  height: 40px;
  border: 1px solid var(--border);
  border-radius: var(--radius-sm);
  background: var(--bg-raised);
  color: var(--ink-soft);
  transition:
    color var(--dur-fast) var(--ease-out),
    border-color var(--dur-fast) var(--ease-out),
    background-color var(--dur-fast) var(--ease-out);
}

.app__toggle[aria-expanded="true"] .app__icon {
  border-color: var(--accent-tint-border);
  background: var(--accent-tint);
  color: var(--accent);
}

.app__icon .icon {
  width: 20px;
  height: 20px;
}

.app__label {
  display: grid;
  gap: 0.125rem;
  min-width: 0;
}

.app__name {
  font-family: var(--font-structure);
  font-size: 1.0625rem;
  font-weight: 600;
  line-height: 1.3;
}

.app__group {
  font-size: 0.8125rem;
  color: var(--faint);
}

.app__chevron {
  display: inline-flex;
  color: var(--faint);
  transition:
    transform var(--dur) var(--ease-out),
    color var(--dur-fast) var(--ease-out);
}

.app__chevron .icon {
  width: 18px;
  height: 18px;
}

.app__toggle[aria-expanded="true"] .app__chevron {
  color: var(--accent);
}

/* the open application's detail fills the second column beside the whole list */
.app__detail {
  grid-column: 2;
  grid-row: 1 / -1;
  align-self: start;
  display: grid;
  gap: clamp(1.25rem, 1rem + 1vw, 1.75rem);
  margin-top: 1rem;
  padding: clamp(1.25rem, 0.9rem + 1.4vw, 2rem);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  background: var(--bg-raised);
  box-shadow: var(--shadow-md);
}

.app__detail[hidden] {
  display: none;
}

.app__detail:focus-visible {
  outline-offset: 4px;
}

.app__detail-head {
  display: grid;
  grid-template-columns: 52px minmax(0, 1fr);
  align-items: start;
  gap: 1rem;
}

.app__detail-icon {
  display: inline-grid;
  place-items: center;
  width: 52px;
  height: 52px;
  border-radius: var(--radius);
  background: var(--accent);
  color: var(--on-accent);
}

.app__detail-icon .icon {
  width: 26px;
  height: 26px;
}

.app__detail-name {
  font-family: var(--font-structure);
  font-size: var(--step-3);
  font-weight: 600;
  line-height: 1.15;
  letter-spacing: -0.016em;
  color: var(--ink);
}

.app__job {
  margin-top: 0.375rem;
  max-width: 50ch;
  color: var(--muted);
}

/* Reads -> Produces -> Signed off by */
.app__flow {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1fr) minmax(0, 0.8fr);
  gap: 1.75rem;
  list-style: none;
}

.app__step {
  position: relative;
  display: grid;
  align-content: start;
  gap: 0.625rem;
  padding: 1rem 1rem 1.125rem;
  border: 1px solid var(--hairline);
  border-radius: var(--radius);
  background: var(--bg);
}

.app__step:not(:last-child)::after {
  content: "";
  position: absolute;
  top: 50%;
  right: calc(-0.875rem - 5px);
  width: 9px;
  height: 9px;
  border-top: 1.5px solid var(--border-strong);
  border-right: 1.5px solid var(--border-strong);
  transform: translateY(-50%) rotate(45deg);
}

.app__step--sign {
  border-color: var(--accent-tint-border);
  background: var(--accent-tint);
}

.app__step-label {
  font-family: var(--font-mono);
  font-size: 0.6875rem;
  font-weight: 500;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--faint);
}

.app__step--sign .app__step-label {
  color: var(--accent);
}

.app__step-list {
  display: grid;
  gap: 0.5rem;
  list-style: none;
}

.app__step-list li {
  position: relative;
  padding-left: 0.875rem;
  font-size: 0.875rem;
  line-height: 1.45;
  color: var(--ink-soft);
}

.app__step-list li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0.6em;
  width: 5px;
  height: 1.5px;
  background: var(--border-strong);
}

.app__signer {
  font-family: var(--font-structure);
  font-size: 1.0625rem;
  font-weight: 600;
  line-height: 1.3;
  color: var(--ink);
}

.app__link {
  justify-self: start;
}

/* narrower detail column: the flow reads top to bottom */
@media (max-width: 1180px) {
  .app__flow {
    grid-template-columns: 1fr;
    gap: 1.25rem;
  }

  .app__step:not(:last-child)::after {
    top: auto;
    right: auto;
    left: 1.25rem;
    bottom: calc(-0.625rem - 5px);
    transform: rotate(135deg);
  }
}

/* phones and small tablets: an accordion, the detail under its own button */
@media (max-width: 760px) {
  .apps {
    display: block;
  }

  .app {
    display: block;
  }

  .app__chevron {
    transform: rotate(90deg);
  }

  .app__toggle[aria-expanded="true"] .app__chevron {
    transform: rotate(-90deg);
  }

  .app__detail {
    margin: 0 0 1rem;
    box-shadow: none;
  }
}

/* without JavaScript the buttons do nothing: every detail is shown under its name */
html:not(.js) .apps {
  display: block;
}

html:not(.js) .app {
  display: block;
}

html:not(.js) .app__detail[hidden] {
  display: grid;
}

html:not(.js) .app__detail {
  margin: 0 0 1rem;
}

html:not(.js) .app__chevron {
  display: none;
}

/* ---------------------------------------------------------------- panel foot */

.ind-panel__foot {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: var(--space-5) var(--space-7);
  margin-top: clamp(1.75rem, 1.3rem + 1.6vw, 2.5rem);
  padding-top: var(--space-5);
  border-top: 1px solid var(--hairline);
}

.ind-more {
  display: grid;
  gap: 0.625rem;
  flex: 1 1 32rem;
}

.ind-more__label {
  font-family: var(--font-mono);
  font-size: var(--step--2);
  font-weight: 500;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--faint);
}

.ind-more__list {
  display: flex;
  flex-wrap: wrap;
  gap: 0.375rem 0;
  list-style: none;
  color: var(--ink-soft);
  font-size: 0.9375rem;
}

.ind-more__list li:not(:last-child)::after {
  content: "\00b7";
  padding-inline: 0.625rem;
  color: var(--border-strong);
}

.ind-note {
  margin-top: var(--space-6);
}

/* ---------------------------------------------------------------- your industry */

.ind-steps {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: var(--grid-gap);
  list-style: none;
}

.ind-step {
  display: grid;
  align-content: start;
  gap: 0.5rem;
  padding: 1.25rem 1.25rem 1.5rem;
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  background: var(--bg-raised);
}

.ind-step__num {
  font-family: var(--font-mono);
  font-size: var(--step--2);
  font-weight: 500;
  letter-spacing: 0.12em;
  color: var(--accent);
}

.ind-step__title {
  font-size: var(--step-2);
}

.ind-step__text {
  color: var(--muted);
  font-size: 0.9375rem;
}

.ind-gets {
  display: grid;
  gap: 0.75rem;
  flex: 1 1 40rem;
}

.ind-gets__list {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 0.75rem var(--space-6);
  list-style: none;
}

.ind-gets__list li {
  display: grid;
  grid-template-columns: 22px minmax(0, 1fr);
  gap: 0.625rem;
  font-size: 0.9375rem;
  color: var(--muted);
}

.ind-gets__icon {
  display: inline-grid;
  place-items: center;
  width: 22px;
  height: 22px;
  margin-top: 1px;
  border-radius: 50%;
  background: var(--accent-tint);
  color: var(--accent);
}

.ind-gets__icon .icon {
  width: 13px;
  height: 13px;
  stroke-width: 2.5;
}

@media (max-width: 960px) {
  .ind-steps {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (max-width: 560px) {
  .ind-steps,
  .ind-gets__list {
    grid-template-columns: 1fr;
  }

  .ind-panel__foot .button {
    width: 100%;
  }
}

/* ---------------------------------------------------------------- accent per industry
   The same colours as the Home slideshow: finance and manufacturing blue, healthcare and sales green, legal copper. */

/* a link to a panel (#your-organisation, #finance) lands with its title below the sticky tab bar, not under it */
.js .ind-panel {
  scroll-margin-top: 3.75rem;
}

.ind-panel {
  --ind-accent: var(--accent);
  --ind-tint: var(--accent-tint);
  --ind-border: var(--accent-tint-border);
  --ind-solid: var(--accent);
}

.ind-panel--finance,
.ind-panel--manufacturing {
  --ind-accent: var(--blue);
  --ind-tint: var(--blue-tint);
  --ind-border: var(--blue-border);
  --ind-solid: var(--blue-700);
}

.ind-panel--manufacturing {
  --ind-solid: var(--slate-600);
}

.ind-panel--healthcare,
.ind-panel--sales {
  --ind-accent: var(--green);
  --ind-tint: var(--green-tint);
  --ind-border: var(--green-border);
  --ind-solid: var(--green-700);
}

/* "Any industry" is small copper text over the coloured background (on Home too): the deeper copper keeps AA */
.ind-panel--custom {
  --ind-accent: var(--accent-ink);
}

.ind-panel__industry {
  color: var(--ind-accent);
}

.app__toggle[aria-expanded="true"] {
  box-shadow: inset 2px 0 0 var(--ind-accent);
}

.app__toggle[aria-expanded="true"] .app__icon {
  border-color: var(--ind-border);
  background: var(--ind-tint);
  color: var(--ind-accent);
}

.app__toggle[aria-expanded="true"] .app__chevron {
  color: var(--ind-accent);
}

.app__detail-icon {
  background: var(--ind-solid);
  color: #fff;
}

.app__step--sign {
  border-color: var(--ind-border);
  background: var(--ind-tint);
}

.app__step--sign .app__step-label {
  color: var(--ind-accent);
}

/* ---- 80-liquid-glass.css ---- */
/* Liquid glass, colour and motion: the finishing layer over the components (loads after the page sheets).
   - Liquid glass: translucent surfaces that blur and lift what is behind them, with a bright rim of light and a
     soft shadow (the header bar, what we offer, the points, the tour tabs, the tab bar, the closing band).
   - Colour: soft fields of blue, green and copper behind the top of every page and behind some sections, so the
     glass has something to refract. No patterns, no textures.
   - Motion: the slideshow illustrations animate on the visible slide (and stop with the slideshow's pause button);
     content below the first screen rises in once as it scrolls into view; controls respond to the pointer.
     Nothing on the first screen hides or moves on load except the slide illustration, and visitors who prefer
     reduced motion get the finished, still page. */

:root {
  --glass: rgb(255 255 255 / 0.56);
  --glass-strong: rgb(255 255 255 / 0.78);
  --glass-blur: blur(18px) saturate(175%);
  --glass-rim: linear-gradient(140deg, rgb(255 255 255 / 0.95), rgb(255 255 255 / 0.2) 36%, rgb(255 255 255 / 0.06) 60%, rgb(255 255 255 / 0.7));
  --glass-shadow: 0 1px 1px rgb(30 24 18 / 0.04), 0 14px 34px -18px rgb(30 24 18 / 0.28);
  --glass-shadow-lift: 0 2px 4px rgb(30 24 18 / 0.05), 0 24px 44px -20px rgb(30 24 18 / 0.34);
  --ease-out-quint: cubic-bezier(0.22, 1, 0.36, 1);
  --ease-spring: cubic-bezier(0.34, 1.4, 0.64, 1);
}

/* ---------------------------------------------------------------- the living background
   A fixed layer of soft colour behind the whole site (partials/header.html, .backdrop): fields of blue, green,
   teal, copper and amber light drifting slowly, seen through the light page bands as through frosted glass. It
   holds still for visitors who prefer reduced motion. No patterns or textures. */

.backdrop {
  position: fixed;
  inset: 0;
  z-index: -1;
  overflow: hidden;
  pointer-events: none;
  background: var(--paper-50);
}

.backdrop__blob {
  position: absolute;
  left: var(--x);
  top: var(--y);
  width: var(--s);
  height: var(--s);
  border-radius: 50%;
  background: radial-gradient(closest-side, var(--c), transparent);
  opacity: var(--o);
  will-change: transform;
}

.backdrop__blob--1 {
  --c: #4f7fc0;
  --s: 64vmax;
  --x: -20vmax;
  --y: -24vmax;
  --o: 0.4;
}

.backdrop__blob--2 {
  --c: #4a9a72;
  --s: 54vmax;
  --x: 60vw;
  --y: -20vmax;
  --o: 0.4;
}

.backdrop__blob--3 {
  --c: #1f7470;
  --s: 56vmax;
  --x: -16vmax;
  --y: 50vh;
  --o: 0.32;
}

.backdrop__blob--4 {
  --c: #c4762f;
  --s: 46vmax;
  --x: 58vw;
  --y: 38vh;
  --o: 0.3;
}

.backdrop__blob--5 {
  --c: #e9a23c;
  --s: 38vmax;
  --x: 28vw;
  --y: 70vh;
  --o: 0.3;
}

.backdrop__blob--6 {
  --c: #8eb0e6;
  --s: 42vmax;
  --x: 24vw;
  --y: 4vh;
  --o: 0.36;
}

/* a frost over the colour, a little stronger lower down where reading text sits */
.backdrop::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgb(251 249 246 / 0.06), rgb(251 249 246 / 0.3));
}

/* the light page bands let the colour through, softened; dark bands stay solid */
.section--alt,
.home-work,
#tour,
[aria-labelledby="how-title"] {
  background: rgb(255 255 255 / 0.3);
}

[aria-labelledby="controls-title"] {
  background: transparent;
}

/* the band behind the Coach session on Home (it follows the theme): a cool light rising behind the panel */
.home-coach {
  background:
    radial-gradient(50% 45% at 18% 8%, rgb(79 127 192 / 0.12), transparent 70%),
    radial-gradient(45% 40% at 92% 96%, rgb(74 154 114 / 0.1), transparent 70%);
}

/* the key words of the Home headline in the blue-to-green of the palette */
.text-gradient {
  background: linear-gradient(100deg, var(--blue-700) 0%, var(--teal-700) 55%, var(--green-700) 100%);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}

@media (forced-colors: active) {
  .text-gradient {
    background: none;
    color: CanvasText;
  }
}

/* small copper text (labels, links) in a deeper copper, so it keeps AA over the coloured background; buttons and
   marks keep the brand copper */
.eyebrow,
.text-link,
.link-arrow,
.offer__arrow,
.coach-who__industry,
.plat-deploy__label,
.ind-step__num,
.step::before,
.company-direct a,
.app__link {
  color: var(--accent-ink);
}

.link-arrow:hover,
.text-link:hover,
.company-direct a:hover {
  color: var(--accent-hover);
}

/* ---------------------------------------------------------------- the rim of light shared by glass surfaces */

.site-header__inner,
.offer,
.point,
.tour__tab,
.cta-band__inner,
.step::before {
  position: relative;
}

.site-header__inner::after,
.offer::after,
.point::after,
.tour__tab::after,
.cta-band__inner::after {
  content: "";
  position: absolute;
  inset: 0;
  border-radius: inherit;
  padding: 1px;
  background: var(--glass-rim);
  -webkit-mask: linear-gradient(#000 0 0) content-box, linear-gradient(#000 0 0);
  -webkit-mask-composite: xor;
  mask-composite: exclude;
  pointer-events: none;
}

/* ---------------------------------------------------------------- header: a floating glass bar */

:root {
  --header-h: 74px;
}

.site-header {
  height: var(--header-h);
  padding-top: 10px;
  background: transparent;
  border-bottom: 0;
}

.site-header__inner {
  height: 56px;
  padding: 0 8px 0 14px;
  border-radius: 16px;
  background: linear-gradient(100deg, rgb(15 20 32 / 0.84), rgb(16 32 37 / 0.84));
  -webkit-backdrop-filter: var(--glass-blur);
  backdrop-filter: var(--glass-blur);
  box-shadow: inset 0 1px 0 rgb(255 255 255 / 0.08), 0 14px 34px -18px rgb(10 16 28 / 0.6);
  transition:
    background-color var(--dur) var(--ease-out),
    box-shadow var(--dur) var(--ease-out);
}

.site-header__inner::after {
  opacity: 0.3;
}

.site-header.is-scrolled .site-header__inner {
  background: linear-gradient(100deg, rgb(15 20 32 / 0.9), rgb(16 32 37 / 0.9));
  box-shadow: inset 0 1px 0 rgb(255 255 255 / 0.08), 0 20px 44px -20px rgb(10 16 28 / 0.7);
}

.site-header[data-menu-open] {
  background: var(--bg);
}

.site-nav__link:hover {
  background: rgb(255 255 255 / 0.08);
}

.site-nav__link[aria-current="page"] {
  background: rgb(255 255 255 / 0.1);
  box-shadow: inset 0 1px 0 rgb(255 255 255 / 0.08);
}

.site-nav__link[aria-current="page"]::after {
  bottom: 6px;
}

.site-header__cta {
  min-height: 40px;
}

@supports not ((backdrop-filter: blur(1px)) or (-webkit-backdrop-filter: blur(1px))) {
  .site-header__inner {
    background: #121823;
  }
}

@media (max-width: 1000px) {
  :root {
    --header-h: 68px;
  }

  .site-header {
    padding-top: 8px;
  }

  .site-header__inner {
    height: 52px;
    width: calc(100% - 16px);
    padding-left: 12px;
    padding-right: 4px;
  }

  .nav-toggle {
    border-color: transparent;
    background: rgb(255 255 255 / 0.08);
  }
}

/* ---------------------------------------------------------------- what we offer: glass tiles */

.offers__list {
  gap: 0.5rem;
  border-top: 0;
}

.offer {
  padding: 0.75rem 1rem 0.75rem 0.875rem;
  border-bottom: 0;
  border-radius: 16px;
  background: var(--glass);
  -webkit-backdrop-filter: var(--glass-blur);
  backdrop-filter: var(--glass-blur);
  box-shadow: var(--glass-shadow);
  transition:
    transform 320ms var(--ease-out-quint),
    box-shadow 320ms var(--ease-out-quint),
    background-color 320ms var(--ease-out-quint);
}

.offer:hover {
  background: var(--glass-strong);
  box-shadow: var(--glass-shadow-lift);
  transform: translateY(-2px);
}

/* each offer: what it is (label), what it does for the team (title), how (text) */
.offer__label {
  font-family: var(--font-mono);
  font-size: 0.6875rem;
  font-weight: 500;
  line-height: 1.4;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--accent-ink);
}

.offer__body {
  gap: 0.1875rem;
}

/* desktop: headline, "How we differ" and its line, and the four tiles stay on the first screen (1280x800,
   1366x768, 1440x900); a tile with a longer text grows on its own instead of every tile growing with it */
@media (min-width: 1181px) {
  .home-hero__grid {
    row-gap: 1rem;
  }

  .offers__list {
    grid-auto-rows: auto;
    gap: 0.375rem;
  }

  .offer {
    padding-block: 0.5rem;
  }
}

/* taller screens have room for four equal tiles */
@media (min-width: 1181px) and (min-height: 860px) {
  .offers__list {
    grid-auto-rows: 1fr;
  }
}

/* ---------------------------------------------------------------- points: glass cards */

.point {
  padding: 1.375rem 1.375rem 1.5rem;
  border-radius: 18px;
  background: var(--glass);
  -webkit-backdrop-filter: var(--glass-blur);
  backdrop-filter: var(--glass-blur);
  box-shadow: var(--glass-shadow);
  transition:
    transform 320ms var(--ease-out-quint),
    box-shadow 320ms var(--ease-out-quint);
}

.point:hover {
  transform: translateY(-3px);
  box-shadow: var(--glass-shadow-lift);
}

/* ---------------------------------------------------------------- steps: numbered glass chips on a line */

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

.step::before {
  z-index: 1;
  display: inline-grid;
  place-items: center;
  width: 46px;
  height: 46px;
  margin-bottom: 0.625rem;
  border-radius: 50%;
  background: var(--glass-strong);
  -webkit-backdrop-filter: var(--glass-blur);
  backdrop-filter: var(--glass-blur);
  box-shadow: inset 0 1px 0 rgb(255 255 255 / 0.9), var(--glass-shadow);
  font-size: 0.75rem;
}

@media (min-width: 901px) {
  .steps {
    position: relative;
  }

  .steps::before {
    content: "";
    position: absolute;
    top: 22px;
    left: 23px;
    right: calc(25% - 0.75 * var(--grid-gap) - 23px);
    height: 2px;
    border-radius: 2px;
    background: linear-gradient(90deg, var(--blue-500), var(--teal-700), var(--green-500), var(--copper-500));
    opacity: 0.55;
    transform-origin: left center;
  }
}

/* ---------------------------------------------------------------- product tour */

.tour__tab {
  transition:
    background-color 260ms var(--ease-out-quint),
    box-shadow 260ms var(--ease-out-quint),
    transform 320ms var(--ease-out-quint);
}

.tour__tab::after {
  opacity: 0;
  transition: opacity 260ms var(--ease-out-quint);
}

.tour__tab[aria-selected="true"] {
  border-color: transparent;
  background: var(--glass-strong);
  -webkit-backdrop-filter: var(--glass-blur);
  backdrop-filter: var(--glass-blur);
  box-shadow: var(--glass-shadow);
}

.tour__tab[aria-selected="true"]::after {
  opacity: 1;
}

.tour__tab:hover {
  transform: translateX(3px);
}

.tour__frame {
  box-shadow: 0 2px 4px rgb(30 24 18 / 0.05), 0 40px 70px -36px rgb(23 34 56 / 0.45);
}

/* ---------------------------------------------------------------- industries: glass tab bar, sliding marker */

.ind-tabs {
  background: rgb(251 249 246 / 0.72);
  -webkit-backdrop-filter: var(--glass-blur);
  backdrop-filter: var(--glass-blur);
}

.ind-tabs__inner {
  position: relative;
}

.ind-tabs__bar {
  position: absolute;
  bottom: 0;
  left: 0;
  width: 0;
  height: 2px;
  border-radius: 2px;
  background: var(--accent);
  pointer-events: none;
  transition:
    transform 420ms var(--ease-out-quint),
    width 420ms var(--ease-out-quint);
}

.ind-tabs__inner.has-bar .ind-tab[aria-selected="true"]::after {
  display: none;
}

.app__detail {
  border-top: 3px solid var(--ind-accent, var(--accent));
}

.app__toggle {
  transition:
    background-color var(--dur-fast) var(--ease-out),
    padding-left 260ms var(--ease-out-quint);
}

.app__toggle:hover .app__chevron {
  transform: translateX(3px);
}

@media (max-width: 760px) {
  .app__toggle:hover .app__chevron {
    transform: rotate(90deg);
  }

  .app__toggle[aria-expanded="true"]:hover .app__chevron {
    transform: rotate(-90deg);
  }
}

/* ---------------------------------------------------------------- the demo form: a glass card */

.company-form {
  border-color: transparent;
  background: var(--glass-strong);
  -webkit-backdrop-filter: var(--glass-blur);
  backdrop-filter: var(--glass-blur);
  box-shadow: inset 0 1px 0 rgb(255 255 255 / 0.9), var(--glass-shadow-lift);
}

/* ---------------------------------------------------------------- buttons */

.button {
  transition:
    background-color var(--dur) var(--ease-out),
    border-color var(--dur) var(--ease-out),
    color var(--dur) var(--ease-out),
    transform 260ms var(--ease-out-quint),
    box-shadow 260ms var(--ease-out-quint);
}

.button--primary:hover {
  transform: translateY(-1px);
  box-shadow: 0 12px 26px -12px color-mix(in srgb, var(--accent) 75%, transparent);
}

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

.button--secondary {
  --button-bg: rgb(255 255 255 / 0.55);
  -webkit-backdrop-filter: blur(10px);
  backdrop-filter: blur(10px);
}

.surface-dark .button--secondary {
  --button-bg: rgb(255 255 255 / 0.06);
}

.surface-dark .button--secondary:hover {
  --button-bg: rgb(255 255 255 / 0.12);
}

/* ---------------------------------------------------------------- closing band: deep glass */

.cta-band__inner {
  overflow: hidden;
  background:
    radial-gradient(60% 130% at 100% 0%, rgb(79 127 192 / 0.38), transparent 62%),
    radial-gradient(50% 120% at 0% 100%, rgb(74 154 114 / 0.26), transparent 62%),
    linear-gradient(120deg, #141210 0%, #18243a 100%);
  box-shadow: 0 34px 60px -34px rgb(23 34 56 / 0.65);
}

.cta-band__inner::after {
  opacity: 0.35;
}

/* ---------------------------------------------------------------- slideshow controls: dark glass */

.js .slides__controls {
  background: rgb(10 10 12 / 0.26);
  -webkit-backdrop-filter: blur(12px) saturate(150%);
  backdrop-filter: blur(12px) saturate(150%);
}

/* ---------------------------------------------------------------- footer: a line of the palette */

.site-footer {
  position: relative;
}

.site-footer::before {
  content: "";
  position: absolute;
  inset: 0 0 auto;
  height: 2px;
  background: linear-gradient(90deg, var(--copper-500), var(--blue-500) 50%, var(--green-500));
  opacity: 0.85;
}

/* ---------------------------------------------------------------- motion (only for visitors who allow it) */

@media (prefers-reduced-motion: no-preference) {
  /* the living background drifts: each field on its own slow path */
  .backdrop__blob--1 {
    animation: drift-a 46s ease-in-out infinite alternate;
  }

  .backdrop__blob--2 {
    animation: drift-b 54s ease-in-out infinite alternate;
  }

  .backdrop__blob--3 {
    animation: drift-c 60s ease-in-out infinite alternate;
  }

  .backdrop__blob--4 {
    animation: drift-a 50s ease-in-out -12s infinite alternate-reverse;
  }

  .backdrop__blob--5 {
    animation: drift-b 42s ease-in-out -20s infinite alternate;
  }

  .backdrop__blob--6 {
    animation: drift-c 38s ease-in-out -8s infinite alternate-reverse;
  }

  @keyframes drift-a {
    0% {
      transform: translate(0, 0) scale(1);
    }
    50% {
      transform: translate(14vw, 10vh) scale(1.12);
    }
    100% {
      transform: translate(4vw, 22vh) scale(0.94);
    }
  }

  @keyframes drift-b {
    0% {
      transform: translate(0, 0) scale(1.05);
    }
    50% {
      transform: translate(-16vw, 14vh) scale(0.92);
    }
    100% {
      transform: translate(-6vw, 26vh) scale(1.1);
    }
  }

  @keyframes drift-c {
    0% {
      transform: translate(0, 0) scale(0.95);
    }
    50% {
      transform: translate(12vw, -12vh) scale(1.1);
    }
    100% {
      transform: translate(22vw, -4vh) scale(1);
    }
  }

  /* content below the first screen rises in once (site.js marks it [data-reveal] and adds .is-in) */
  .js [data-reveal] {
    opacity: 0;
    translate: 0 22px;
    transition:
      opacity 700ms var(--ease-out-quint) calc(var(--reveal-i, 0) * 80ms),
      translate 800ms var(--ease-out-quint) calc(var(--reveal-i, 0) * 80ms),
      transform 320ms var(--ease-out-quint),
      box-shadow 320ms var(--ease-out-quint),
      background-color 320ms var(--ease-out-quint);
  }

  .js [data-reveal].is-in {
    opacity: 1;
    translate: none;
  }

  /* the line through the steps draws across once they arrive */
  .js .steps[data-reveal]::before {
    transform: scaleX(0);
    transition: transform 1200ms var(--ease-out-quint) 250ms;
  }

  .js .steps[data-reveal].is-in::before {
    transform: scaleX(1);
  }

  /* switching: tour screens, industry panels and tool details settle in */
  .tour.is-live .tour__shot:not([hidden]) {
    animation: settle-in 480ms var(--ease-out-quint) both;
  }

  .ind.is-live .ind-panel:not([hidden]) {
    animation: settle-in 420ms var(--ease-out-quint) both;
  }

  .ind.is-live .app__detail:not([hidden]) {
    animation: settle-in 380ms var(--ease-out-quint) both;
  }

  @keyframes settle-in {
    from {
      opacity: 0;
      transform: translateY(10px) scale(0.995);
    }
    to {
      opacity: 1;
      transform: none;
    }
  }

  /* ------------------------------------------------ illustration motion (partials/illustrations, il- hooks)
     Entrance parts run when a slide becomes the visible one; loops keep the scene alive and stop with the
     slideshow's pause button (.slides.is-stopped). */
  .il-grow,
  .il-pop,
  .il-beat,
  .il-halo,
  .il-spin,
  .il-spin-rev,
  .il-spin-slow,
  .il-smoke,
  .il-tap {
    transform-box: fill-box;
    transform-origin: center;
  }

  .il-grow {
    transform-origin: 50% 100%;
  }

  .il-sway {
    transform-box: view-box;
    transform-origin: 200px 104px;
  }

  .il-tap {
    transform-origin: 20% 95%;
  }

  .slide.is-active .il-grow {
    animation: il-grow 900ms var(--ease-out-quint) var(--d, 0s) both;
  }

  .slide.is-active .il-draw {
    stroke-dasharray: 1;
    animation: il-draw 900ms var(--ease-out-quint) var(--d, 0s) both;
  }

  .slide.is-active .il-pop {
    animation: il-pop 520ms var(--ease-spring) var(--d, 0s) both;
  }

  .slide.is-active .il-dart {
    animation: il-dart 700ms var(--ease-out-quint) 1.1s both;
  }

  .slide.is-active .il-halo {
    animation: il-breathe 6s ease-in-out infinite;
  }

  .slide.is-active .il-beat {
    animation: il-beat 2.6s ease-in-out infinite;
  }

  .slide.is-active .il-pulse {
    stroke-dasharray: 1;
    animation: il-pulse 2.8s ease-in-out infinite;
  }

  .slide.is-active .il-light {
    animation: il-light 3.4s ease-in-out var(--d, 0s) infinite;
  }

  .slide.is-active .il-bubble {
    animation: il-bubble 3.2s ease-in var(--d, 0s) infinite;
  }

  .slide.is-active .il-spin-slow {
    animation: il-spin 26s linear infinite;
  }

  .slide.is-active .il-spin {
    animation: il-spin 10s linear infinite;
  }

  .slide.is-active .il-spin-rev {
    animation: il-spin 6.5s linear infinite reverse;
  }

  .slide.is-active .il-smoke {
    animation: il-smoke 3.6s ease-out var(--d, 0s) infinite;
  }

  .slide.is-active .il-sway {
    animation: il-sway 5.5s ease-in-out infinite;
  }

  .slide.is-active .il-tap {
    animation: il-tap 3.6s ease-in-out 1s infinite;
  }

  .slide.is-active .il-belt {
    animation: il-belt 4s ease-in-out infinite;
  }

  .slides.is-stopped .il-halo,
  .slides.is-stopped .il-beat,
  .slides.is-stopped .il-pulse,
  .slides.is-stopped .il-light,
  .slides.is-stopped .il-bubble,
  .slides.is-stopped .il-spin-slow,
  .slides.is-stopped .il-spin,
  .slides.is-stopped .il-spin-rev,
  .slides.is-stopped .il-smoke,
  .slides.is-stopped .il-sway,
  .slides.is-stopped .il-tap,
  .slides.is-stopped .il-belt {
    animation-play-state: paused;
  }

  @keyframes il-grow {
    from {
      transform: scaleY(0);
    }
    to {
      transform: scaleY(1);
    }
  }

  @keyframes il-draw {
    from {
      stroke-dashoffset: 1;
    }
    to {
      stroke-dashoffset: 0;
    }
  }

  @keyframes il-pop {
    from {
      opacity: 0;
      transform: scale(0.4);
    }
    to {
      opacity: 1;
      transform: scale(1);
    }
  }

  @keyframes il-dart {
    from {
      opacity: 0;
      transform: translate(40px, -40px);
    }
    to {
      opacity: 1;
      transform: translate(0, 0);
    }
  }

  @keyframes il-breathe {
    0%,
    100% {
      transform: scale(1);
    }
    50% {
      transform: scale(1.045);
    }
  }

  @keyframes il-beat {
    0%,
    100% {
      transform: scale(1);
    }
    12% {
      transform: scale(1.08);
    }
    24% {
      transform: scale(1);
    }
    36% {
      transform: scale(1.05);
    }
    48% {
      transform: scale(1);
    }
  }

  @keyframes il-pulse {
    0% {
      stroke-dashoffset: 1;
    }
    45%,
    75% {
      stroke-dashoffset: 0;
    }
    100% {
      stroke-dashoffset: -1;
    }
  }

  @keyframes il-light {
    0%,
    100% {
      opacity: 1;
    }
    50% {
      opacity: 0.35;
    }
  }

  @keyframes il-bubble {
    0% {
      opacity: 0;
      transform: translateY(0);
    }
    20% {
      opacity: 0.9;
    }
    100% {
      opacity: 0;
      transform: translateY(-46px);
    }
  }

  @keyframes il-spin {
    to {
      transform: rotate(360deg);
    }
  }

  @keyframes il-smoke {
    0% {
      opacity: 0;
      transform: translate(0, 6px) scale(0.7);
    }
    25% {
      opacity: 1;
    }
    100% {
      opacity: 0;
      transform: translate(16px, -24px) scale(1.3);
    }
  }

  @keyframes il-sway {
    0%,
    100% {
      transform: rotate(-3deg);
    }
    50% {
      transform: rotate(3deg);
    }
  }

  @keyframes il-tap {
    0%,
    62%,
    100% {
      transform: rotate(0);
    }
    72% {
      transform: rotate(-14deg);
    }
    80% {
      transform: rotate(3deg);
    }
    86% {
      transform: rotate(0);
    }
  }

  @keyframes il-belt {
    0%,
    100% {
      transform: translateX(0);
    }
    50% {
      transform: translateX(10px);
    }
  }
}

/* ================================================================ liquid glass, after the reference samples
   Glass that behaves like a thick lens: deep blur and extra saturation of what is behind it, a bright rim that
   catches light along the top and left edges, a softer return along the bottom and right, an inner glow, and
   generous rounding. Two tints: light glass on the paper pages and dark glass in the dark bands and the top bar. */

:root {
  --lg-light-edge:
    inset 0 1px 0 rgb(255 255 255 / 0.95),
    inset 1px 0 0 rgb(255 255 255 / 0.55),
    inset 0 -1px 0 rgb(255 255 255 / 0.35),
    inset 0 0 0 1px rgb(255 255 255 / 0.25),
    inset 14px 14px 28px -22px rgb(255 255 255 / 0.95),
    inset -12px -14px 26px -24px rgb(30 24 18 / 0.22);
  --lg-dark-edge:
    inset 0 1px 0 rgb(255 255 255 / 0.3),
    inset 1px 0 0 rgb(255 255 255 / 0.14),
    inset 0 -1px 0 rgb(255 255 255 / 0.08),
    inset 0 0 0 1px rgb(255 255 255 / 0.06),
    inset 16px 16px 32px -26px rgb(255 255 255 / 0.32),
    inset 0 0 36px rgb(255 255 255 / 0.04);
}

/* light glass: what we offer, the tour tabs, the demo form */
.offer {
  border-radius: 20px;
  box-shadow: var(--lg-light-edge), var(--glass-shadow);
}

.offer:hover {
  box-shadow: var(--lg-light-edge), var(--glass-shadow-lift);
}

.tour__tab[aria-selected="true"] {
  border-radius: 18px;
  box-shadow: var(--lg-light-edge), var(--glass-shadow);
}

.company-form {
  border-radius: 24px;
  box-shadow: var(--lg-light-edge), var(--glass-shadow-lift);
}

/* the top bar: dark liquid glass; the colour behind it bleeds through, darkened, so the text stays crisp */
.site-header__inner {
  border-radius: 20px;
  background:
    linear-gradient(165deg, rgb(255 255 255 / 0.1), rgb(255 255 255 / 0) 42%),
    rgb(12 16 26 / 0.56);
  -webkit-backdrop-filter: blur(24px) saturate(200%) brightness(0.72);
  backdrop-filter: blur(24px) saturate(200%) brightness(0.72);
  box-shadow: var(--lg-dark-edge), 0 18px 40px -20px rgb(8 12 24 / 0.6);
}

.site-header.is-scrolled .site-header__inner {
  background:
    linear-gradient(165deg, rgb(255 255 255 / 0.1), rgb(255 255 255 / 0) 42%),
    rgb(12 16 26 / 0.64);
  box-shadow: var(--lg-dark-edge), 0 22px 48px -22px rgb(8 12 24 / 0.7);
}

.site-header__inner::after {
  opacity: 0.45;
}

.site-header__cta {
  border-radius: 12px;
}

@media (max-width: 1000px) {
  .site-header__inner {
    border-radius: 18px;
  }
}

/* the slideshow controls: dark liquid glass along the foot of the slide */
.js .slides__controls {
  background: rgb(8 10 18 / 0.3);
  -webkit-backdrop-filter: blur(16px) saturate(180%) brightness(0.85);
  backdrop-filter: blur(16px) saturate(180%) brightness(0.85);
  box-shadow: inset 0 1px 0 rgb(255 255 255 / 0.18);
}

/* ---------------------------------------------------------------- dark showcase bands
   A near-black stage crossed by soft diagonal streaks of the palette's light (blue, sky, teal-green, copper) that
   drift slowly; the cards above it are dark liquid glass, so the streaks glow through them, blurred. The top of the
   band stays dark behind the heading. (partials: .lg-stage with .lg-streaks inside, in index.html and
   platform.html) */

.lg-stage {
  position: relative;
  isolation: isolate;
  overflow: hidden;
  background: #05070d;
}

.lg-stage::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -1;
  pointer-events: none;
  background: linear-gradient(180deg, #05070d 0, rgb(5 7 13 / 0.9) 170px, rgb(5 7 13 / 0.25) 400px, rgb(5 7 13 / 0.1) 100%);
}

/* phones: the band is tall and narrow, so the streaks run steeper and cross every card */
@media (max-width: 760px) {
  .lg-streaks {
    inset: -10% -90%;
    transform: rotate(-64deg);
  }
}

.lg-streaks {
  position: absolute;
  inset: -40% -20%;
  z-index: -2;
  pointer-events: none;
  transform: rotate(-30deg);
}

.lg-streak {
  position: absolute;
  left: -20%;
  width: 140%;
  top: var(--t);
  height: var(--h);
  border-radius: 999px;
  background: linear-gradient(90deg, transparent 0%, var(--c1) 24%, var(--c2) 58%, transparent 92%);
  opacity: var(--o);
  filter: blur(var(--b));
  will-change: transform;
}

.lg-streak--1 { --t: 30%; --h: 70px; --c1: #1d4ed8; --c2: #4f7fc0; --o: 0.95; --b: 2px; }
.lg-streak--2 { --t: 38%; --h: 150px; --c1: #0c2a88; --c2: #3b6fd4; --o: 0.85; --b: 10px; }
.lg-streak--3 { --t: 50%; --h: 34px; --c1: #6cc6f2; --c2: #d6f2ff; --o: 0.75; --b: 1px; }
.lg-streak--4 { --t: 57%; --h: 110px; --c1: #1f7470; --c2: #4a9a72; --o: 0.75; --b: 6px; }
.lg-streak--5 { --t: 68%; --h: 54px; --c1: #c4762f; --c2: #e9a23c; --o: 0.62; --b: 3px; }
.lg-streak--6 { --t: 76%; --h: 130px; --c1: #213a8c; --c2: #5e82be; --o: 0.75; --b: 12px; }

.lg-line {
  position: absolute;
  left: -20%;
  width: 140%;
  top: var(--t);
  height: 1px;
  background: linear-gradient(90deg, transparent, rgb(255 255 255 / 0.5) 30%, rgb(255 255 255 / 0.18) 70%, transparent);
}

.lg-line--1 { --t: 35%; }
.lg-line--2 { --t: 54%; }
.lg-line--3 { --t: 72%; }

/* dark liquid glass cards on the stage */
.lg-stage .point {
  border-radius: 26px;
  background:
    linear-gradient(160deg, rgb(255 255 255 / 0.1), rgb(255 255 255 / 0.02) 45%, rgb(0 0 0 / 0.2)),
    rgb(10 12 20 / 0.55);
  -webkit-backdrop-filter: blur(26px) saturate(190%) brightness(0.7);
  backdrop-filter: blur(26px) saturate(190%) brightness(0.7);
  box-shadow: var(--lg-dark-edge), 0 30px 60px -32px rgb(0 0 0 / 0.85);
}

.lg-stage .point:hover {
  box-shadow: var(--lg-dark-edge), 0 36px 70px -32px rgb(0 0 0 / 0.9);
}

.lg-stage .point::after {
  opacity: 0.4;
}

.lg-stage .point__title {
  color: #fff;
}

.lg-stage .point__text {
  color: rgb(255 255 255 / 0.8);
}

@supports not ((backdrop-filter: blur(1px)) or (-webkit-backdrop-filter: blur(1px))) {
  .lg-stage .point {
    background: rgb(14 17 27 / 0.92);
  }
}

@media (prefers-reduced-motion: no-preference) {
  .lg-streak--1 { animation: streak 22s ease-in-out infinite alternate; }
  .lg-streak--2 { animation: streak 30s ease-in-out -6s infinite alternate-reverse; }
  .lg-streak--3 { animation: streak 18s ease-in-out -3s infinite alternate; }
  .lg-streak--4 { animation: streak 26s ease-in-out -10s infinite alternate-reverse; }
  .lg-streak--5 { animation: streak 20s ease-in-out -8s infinite alternate; }
  .lg-streak--6 { animation: streak 34s ease-in-out -14s infinite alternate-reverse; }

  @keyframes streak {
    from {
      transform: translateX(-9%);
    }
    to {
      transform: translateX(9%);
    }
  }

}

/* ---------------------------------------------------------------- the top bar: edge to edge
   One full-width bar fixed to the top of the window (sticky), in dark liquid glass: the page and the colour fields
   behind it show through, blurred and darkened. This block comes last so it settles the bar's shape over the
   earlier floating version. */

:root {
  --header-h: 64px;
}

.site-header {
  height: var(--header-h);
  padding-top: 0;
  background:
    linear-gradient(180deg, rgb(255 255 255 / 0.06), rgb(255 255 255 / 0)),
    linear-gradient(100deg, rgb(11 15 25 / 0.74), rgb(12 26 32 / 0.74));
  -webkit-backdrop-filter: blur(22px) saturate(190%) brightness(0.68);
  backdrop-filter: blur(22px) saturate(190%) brightness(0.68);
  box-shadow: inset 0 -1px 0 rgb(255 255 255 / 0.1), 0 10px 30px -24px rgb(8 12 24 / 0.6);
  transition: box-shadow var(--dur) var(--ease-out);
}

.site-header.is-scrolled {
  box-shadow: inset 0 -1px 0 rgb(255 255 255 / 0.1), 0 14px 34px -20px rgb(8 12 24 / 0.65);
}

.site-header[data-menu-open] {
  background: var(--bg);
}

.site-header__inner,
.site-header.is-scrolled .site-header__inner {
  width: min(100% - 2 * var(--gutter), var(--container));
  height: 100%;
  padding: 0;
  border-radius: 0;
  background: none;
  -webkit-backdrop-filter: none;
  backdrop-filter: none;
  box-shadow: none;
}

.site-header__inner::after {
  display: none;
}

/* the brand: the mark beside the name, set in the site's heading face */
.brand {
  gap: 0.625rem;
}

.brand__name {
  font-family: var(--font-structure);
  font-size: 1.1875rem;
  font-weight: 600;
  line-height: 1;
  letter-spacing: -0.015em;
  color: var(--ink);
  white-space: nowrap;
}

.site-nav__link {
  padding: 0 0.75rem;
}

@supports not ((backdrop-filter: blur(1px)) or (-webkit-backdrop-filter: blur(1px))) {
  .site-header {
    background: #121823;
  }
}

@media (max-width: 1080px) {
  :root {
    --header-h: 60px;
  }

  .site-header__inner,
  .site-header.is-scrolled .site-header__inner {
    width: min(100% - 2 * var(--gutter), var(--container));
    height: 100%;
    padding: 0;
  }
}

@media print {
  [data-reveal] {
    opacity: 1 !important;
    translate: none !important;
  }

  .backdrop {
    display: none;
  }
}

/* ---- 90-theme.css ---- */
/* Theme: the site is graphite throughout (the owner chose black only, 2026-11-21).
   partials/head.html sets html[data-theme="dark"] on every page, so the dark tokens of 10-foundation.css apply to the
   whole page, and this layer turns the light finishing of 80-liquid-glass.css dark: the colour fields glow softly on
   black instead of tinting paper, and the light glass becomes smoky glass with a faint rim. The light rules
   underneath stay as the base these override; nothing on the site turns them back on. */

/* ---------------------------------------------------------------- dark theme: glass */

:root[data-theme="dark"] {
  --glass: rgb(255 255 255 / 0.045);
  --glass-strong: rgb(255 255 255 / 0.085);
  --glass-rim: linear-gradient(140deg, rgb(255 255 255 / 0.32), rgb(255 255 255 / 0.06) 36%, rgb(255 255 255 / 0.02) 60%, rgb(255 255 255 / 0.16));
  --glass-shadow: 0 1px 1px rgb(0 0 0 / 0.3), 0 16px 36px -18px rgb(0 0 0 / 0.75);
  --glass-shadow-lift: 0 2px 4px rgb(0 0 0 / 0.35), 0 26px 48px -20px rgb(0 0 0 / 0.85);
  --lg-light-edge: var(--lg-dark-edge);
}

/* ---------------------------------------------------------------- dark theme: the living background
   The same drifting fields of blue, green, teal, copper and amber, glowing at half strength on graphite (as behind
   the Coach session) instead of tinting paper. */

:root[data-theme="dark"] .backdrop {
  background: var(--graphite-950);
}

:root[data-theme="dark"] .backdrop__blob {
  opacity: calc(var(--o) * 0.5);
}

:root[data-theme="dark"] .backdrop::after {
  background: linear-gradient(180deg, rgb(15 14 12 / 0.12), rgb(15 14 12 / 0.48));
}

/* the alternate bands: a breath lighter than the page, the colour still showing through */
:root[data-theme="dark"] .section--alt,
:root[data-theme="dark"] .home-work,
:root[data-theme="dark"] #tour,
:root[data-theme="dark"] [aria-labelledby="how-title"] {
  background: rgb(255 255 255 / 0.025);
}

/* ---------------------------------------------------------------- dark theme: details */

/* the Home headline's second line in the light tones of the same blue, teal and green */
:root[data-theme="dark"] .text-gradient {
  background-image: linear-gradient(100deg, #8eb0e6 0%, #74c7c0 55%, #7cc4a0 100%);
}

:root[data-theme="dark"] .step::before {
  box-shadow: var(--lg-dark-edge), var(--glass-shadow);
}

/* the product screens are recoloured dark (src/static/assets/img/product/*-dark-*.webp): the frame takes their page
   colour, so a wide screen sits in it without a paper band */
:root[data-theme="dark"] .tour__frame {
  background: #1a1816;
  box-shadow: 0 2px 4px rgb(0 0 0 / 0.3), 0 40px 70px -36px rgb(0 0 0 / 0.85);
}

:root[data-theme="dark"] .ind-tabs {
  background: rgb(15 14 12 / 0.72);
}

:root[data-theme="dark"] .button--secondary {
  --button-bg: rgb(255 255 255 / 0.06);
}

:root[data-theme="dark"] .button--secondary:hover {
  --button-bg: rgb(255 255 255 / 0.12);
}

/* the Coach band on Home: a cool light rising behind the session, stronger on graphite */
:root[data-theme="dark"] .home-coach {
  background:
    radial-gradient(50% 45% at 18% 8%, rgb(79 127 192 / 0.2), transparent 70%),
    radial-gradient(45% 40% at 92% 96%, rgb(74 154 114 / 0.16), transparent 70%);
}

:root[data-theme="dark"] .coach-demo__stage {
  background: radial-gradient(70% 60% at 50% 38%, var(--bg-alt) 0%, var(--bg-sunken) 72%);
}
