/* bbs2 "Editorial": the design system for every page.
   Paper, ink, one spot colour (BBS purple). Newsreader for display, Schibsted Grotesk
   for text. Both SIL Open Font License, self-hosted. No inline styles anywhere: this file
   and the JS (through the CSSOM) are the only sources of style. */

/* ---------- Fonts ---------- */
@font-face {
  font-family: "Newsreader";
  font-style: normal;
  font-weight: 200 800;
  font-display: swap;
  src: url("fonts/newsreader-latin.woff2") format("woff2-variations");
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}
@font-face {
  font-family: "Newsreader";
  font-style: italic;
  font-weight: 200 800;
  font-display: swap;
  src: url("fonts/newsreader-latin-italic.woff2") format("woff2-variations");
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}
@font-face {
  font-family: "Schibsted Grotesk";
  font-style: normal;
  font-weight: 400 900;
  font-display: swap;
  src: url("fonts/schibsted-grotesk-latin.woff2") format("woff2-variations");
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}

/* ---------- Tokens ---------- */
:root {
  /* Colour: six roles plus the night ground used once on the home page */
  --paper: #FCFCFB;        /* canvas: paper white, neutral, not cream */
  --stock: #F0F1F2;        /* the second paper stock: forms, alternate chapters */
  --ink: #17182B;          /* blue-black, sits with the logo's navy wordmark */
  --ink-2: #3F4054;        /* secondary text */
  --ink-3: #585A6E;        /* captions, meta; 6.5:1 on paper, 6:1 on stock */
  --hair: #D7D8DE;         /* hairline rules */
  --spot: #6136C7;         /* BBS purple: links, actions and the live voice */
  --spot-deep: #4C26A8;    /* hover and pressed */
  --spot-wet: #8A61EA;     /* the logo's purple; transient ink only, never text */
  --spot-tint: #EEE9FB;    /* selection, current item */
  --night: #17182B;        /* the one ink page on home; also the nameplate */
  --on-night: #F3F2EE;
  --spot-night: #BCA8F8;   /* the spot on night, same hue, light stop */

  /* Type */
  --font-display: "Newsreader", "Iowan Old Style", Georgia, serif;
  --font-text: "Schibsted Grotesk", ui-sans-serif, system-ui, -apple-system, "Segoe UI", sans-serif;

  --t-label: 0.875rem;                                     /* 14px folio, kickers */
  --t-caption: 1rem;                                       /* 16px captions, meta */
  --t-small: 1rem;                                         /* 16px form help, fine print */
  --t-body: clamp(1.0625rem, 1rem + 0.25vw, 1.1875rem);    /* 17 to 19px */
  --t-lede: clamp(1.25rem, 1.1rem + 0.6vw, 1.5625rem);     /* standfirst, Newsreader italic */
  --t-h4: clamp(1.0625rem, 1rem + 0.25vw, 1.1875rem);
  --t-h3: clamp(1.25rem, 1.12rem + 0.5vw, 1.5rem);
  --t-h2: clamp(1.75rem, 1.35rem + 1.5vw, 2.75rem);
  --t-h1: clamp(2.375rem, 1.5rem + 3.4vw, 4.75rem);
  --t-display: clamp(3rem, 1.2rem + 6.4vw, 7.25rem);       /* home title page only */
  --t-quote: clamp(1.5rem, 1.2rem + 1.2vw, 2.25rem);

  --lh-body: 1.6;
  --lh-legal: 1.7;
  --track-display: -0.022em;
  --track-head: -0.012em;
  --track-label: 0.06em;

  --measure: 64ch;
  --measure-legal: 68ch;

  /* Space: 4px base */
  --s-1: 0.25rem; --s-2: 0.5rem; --s-3: 0.75rem; --s-4: 1rem; --s-5: 1.5rem;
  --s-6: 2rem; --s-7: 3rem; --s-8: 4rem; --s-9: 6rem; --s-10: 8rem;
  --section: clamp(3.5rem, 2.5rem + 4vw, 7rem);   /* between blocks */
  --gutter: clamp(1rem, 0.3rem + 2.8vw, 3rem);
  --margin-col: 13.5rem;                           /* the folio's margin on wide screens */

  /* Rules, radius, elevation */
  --rule: 1px solid var(--hair);
  --rule-ink: 2px solid var(--ink);
  --radius: 2px;
  --e1: 0 1px 2px rgb(23 24 43 / 0.06);
  --e2: 0 10px 28px -12px rgb(23 24 43 / 0.28);

  --ease-out: cubic-bezier(0.23, 1, 0.32, 1);

  color-scheme: light;
}

/* ---------- Base ---------- */
*, *::before, *::after { box-sizing: border-box; }
html {
  -webkit-text-size-adjust: 100%;
  text-size-adjust: 100%;
  scroll-padding-top: var(--s-6);
}
@media (prefers-reduced-motion: no-preference) { html { scroll-behavior: smooth; } }
body {
  margin: 0;
  background: var(--paper);
  color: var(--ink);
  font-family: var(--font-text);
  font-size: var(--t-body);
  line-height: var(--lh-body);
  font-kerning: normal;
  font-variant-ligatures: common-ligatures;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  caret-color: var(--spot);
  accent-color: var(--spot);
}
::selection { background: var(--spot-tint); color: var(--ink); }
img, svg, video { display: block; max-width: 100%; height: auto; }
h1, h2, h3, h4 { margin: 0; font-weight: 400; text-wrap: balance; }
p, li, dd, figcaption { text-wrap: pretty; }
p { margin: 0 0 1em; }
ul, ol { margin: 0 0 1em; padding-left: 1.25em; }
li { margin-bottom: 0.4em; }
li::marker { color: var(--ink-3); }

a { color: var(--spot); text-decoration-line: underline; text-decoration-thickness: 1px; text-underline-offset: 0.2em; transition: color 140ms var(--ease-out), text-decoration-color 140ms var(--ease-out); }
a:hover { color: var(--spot-deep); text-decoration-thickness: 2px; }
:focus-visible { outline: 2px solid var(--spot); outline-offset: 3px; border-radius: var(--radius); }
a[href^="tel:"] { white-space: nowrap; }
.num { font-variant-numeric: tabular-nums lining-nums; }

.skip {
  position: absolute; left: var(--gutter); top: var(--s-2); z-index: 60;
  padding: 0.75rem var(--s-4); background: var(--ink); color: var(--paper);
  font-weight: 600; text-decoration: none; transform: translateY(-200%);
}
.skip:focus { transform: none; color: var(--paper); }
.visually-hidden { position: absolute !important; width: 1px; height: 1px; overflow: hidden; clip-path: inset(50%); white-space: nowrap; }

/* ---------- The folio (no fixed bar) ---------- */
.folio { position: relative; z-index: 40; padding: var(--gutter) var(--gutter) 0; }
.nameplate {
  display: inline-block; background: var(--night); padding: 0.7rem 0.95rem 0.75rem;
  border-radius: var(--radius); line-height: 0;
}
.nameplate img { width: 9.5rem; height: auto; }
.nameplate:focus-visible { outline-offset: 4px; }
.folio__run {
  margin: var(--s-4) 0 0; font-size: 1rem; line-height: 1.35; color: var(--ink-3);
  display: none;
}
.folio__run a { color: inherit; text-decoration: none; }
.folio__section a { display: inline-block; padding-block: 0.3rem; margin-block: -0.3rem; }
.folio__run a:hover { color: var(--spot); }
.folio__section { display: block; font-size: var(--t-label); font-weight: 600; letter-spacing: var(--track-label); text-transform: uppercase; color: var(--ink); }
.folio__title { display: block; font-family: var(--font-display); font-size: 1.0625rem; font-style: italic; color: var(--ink-2); margin-top: 0.15rem; }
.folio__head { display: block; margin-top: var(--s-2); padding-top: var(--s-2); border-top: var(--rule); color: var(--ink-3); min-height: 1.35em; }
.folio__head:empty { display: none; }

/* phones and tablets: a slim paper bar at the top with the nameplate and the Index, so the
   Index is always to hand and never sits over the text */
@media (max-width: 1099px) {
  body:not(.is-home) .folio {
    position: sticky; top: 0; display: flex; align-items: center; justify-content: space-between; gap: var(--s-4);
    padding: var(--s-2) var(--gutter); background: var(--paper); border-bottom: var(--rule);
  }
  body:not(.is-home) .folio .nameplate { padding: 0.55rem 0.8rem 0.6rem; }
  body:not(.is-home) .folio .nameplate img { width: 7.5rem; }
  html { scroll-padding-top: 4.75rem; }
}
/* The Index button: in the bar on phones, under the folio on wide screens */
.folio__index {
  z-index: 45; display: inline-flex; align-items: center; gap: 0.6rem;
  min-height: 3rem; padding: 0 1.1rem 0 0.95rem;
  background: var(--ink); color: var(--paper); border: 0; border-radius: var(--radius);
  font: 600 1rem/1 var(--font-text); letter-spacing: 0.01em; text-decoration: none;
  cursor: pointer;
  transition: background-color 140ms var(--ease-out), transform 120ms var(--ease-out);
}
.folio__index:hover { background: var(--spot-deep); color: var(--paper); }
.folio__index:active { transform: translateY(1px); }
.folio__index-glyph { display: inline-grid; gap: 3px; width: 1rem; }
.folio__index-glyph span { display: block; height: 2px; background: currentColor; }
.folio__index-glyph span:nth-child(2) { width: 70%; }

@media (min-width: 1100px) {
  .folio {
    position: fixed; left: 0; top: 0; width: calc(var(--margin-col) + var(--gutter));
    padding: var(--gutter) 0 0 var(--gutter);
  }
  .folio__run { display: block; }
  .folio__index {
    position: static; margin-top: var(--s-4); min-height: 2.5rem; padding: 0 0.9rem 0 0.8rem;
    box-shadow: none; font-size: 0.9375rem;
  }
  /* on the one ink page the folio's paper type turns light (set by bbs2.js) */
  .folio.is-on-night .folio__run, .folio.is-on-night .folio__section, .folio.is-on-night .folio__title { color: var(--on-night); }
  .folio.is-on-night .folio__index { background: var(--on-night); color: var(--ink); }
}

/* ---------- Page frame ---------- */
[hidden] { display: none !important; }
main.page { display: block; outline: none; }
main.page > article {
  display: grid;
  grid-template-columns:
    [full-start] var(--gutter)
    [main-start wide-start] minmax(0, 1fr)
    [main-end wide-end] var(--gutter) [full-end];
  padding-bottom: var(--s-9);
}
:where(main.page > article) > * { grid-column: main; }
@media (min-width: 900px) {
  main.page > article {
    grid-template-columns:
      [full-start] var(--gutter)
      [main-start wide-start] minmax(0, 44rem)
      [main-end] var(--s-8)
      [aside-start] minmax(0, 17rem)
      [aside-end wide-end] minmax(0, 1fr) var(--gutter) [full-end];
  }
}
@media (min-width: 1100px) {
  main.page > article {
    grid-template-columns:
      [full-start] var(--gutter)
      [margin-start] var(--margin-col)
      [margin-end] var(--s-7)
      [main-start wide-start] minmax(0, 44rem)
      [main-end] var(--s-8)
      [aside-start] minmax(0, 17rem)
      [aside-end wide-end] minmax(0, 1fr) var(--gutter) [full-end];
  }
}

/* ---------- The page head (title, standfirst, action line) ---------- */
.dek { grid-column: wide; padding-top: var(--s-7); padding-bottom: var(--s-7); }
@media (min-width: 1100px) { .dek { padding-top: calc(var(--gutter) + 0.2rem); } }
.kicker {
  margin: 0 0 var(--s-5); font-size: var(--t-label); font-weight: 600;
  letter-spacing: var(--track-label); text-transform: uppercase; color: var(--ink-3);
}
@media (min-width: 1100px) { .dek .kicker { display: none; } }
.kicker a { display: inline-flex; align-items: center; min-height: 2.75rem; margin-block: -0.9rem; color: inherit; text-decoration: none; }
.kicker a:hover { color: var(--spot); text-decoration: underline; }
.kicker__sep { margin: 0 0.5em; color: var(--hair); }
.dek h1 {
  font-family: var(--font-display); font-size: var(--t-h1); font-weight: 380; line-height: 1.02;
  letter-spacing: var(--track-display); max-width: 18ch; font-variation-settings: "opsz" 72;
}
.standfirst {
  margin: var(--s-5) 0 0; max-width: 38ch; font-family: var(--font-display); font-style: italic;
  font-size: var(--t-lede); line-height: 1.38; color: var(--ink-2); font-variation-settings: "opsz" 24;
}
.actionline {
  margin: var(--s-6) 0 0; padding-top: var(--s-4); border-top: var(--rule); max-width: 44rem;
  font-size: var(--t-caption); line-height: 1.5; color: var(--ink-2);
}
.actionline a { font-weight: 600; }
.actionline strong { color: var(--ink); font-weight: 600; }

/* ---------- Figures (media in its own column, always captioned) ---------- */
.figure { grid-column: wide; margin: 0 0 var(--section); }
.figure img { width: 100%; height: auto; background: var(--stock); }
.figure figcaption {
  margin-top: var(--s-3); max-width: 46ch; font-size: var(--t-caption); line-height: 1.45; color: var(--ink-3);
}
.figure figcaption b { color: var(--ink); font-weight: 600; }
.figure--split { grid-column: main; }
.figure--split figcaption { max-width: 26rem; }

/* ---------- Body blocks ---------- */
.block { grid-column: main; margin: 0 0 var(--section); }
.block--wide { grid-column: wide; }
.block > h2, .block__head h2 {
  font-family: var(--font-display); font-size: var(--t-h2); font-weight: 400; line-height: 1.08;
  letter-spacing: var(--track-head); padding-top: var(--s-4); border-top: var(--rule-ink);
  margin-bottom: var(--s-5); font-variation-settings: "opsz" 60;
}
.block__intro { max-width: var(--measure); color: var(--ink-2); margin-bottom: var(--s-6); }
.prose { max-width: var(--measure); }
.prose p:last-child { margin-bottom: 0; }
.prose--lead > p:first-child::first-letter {
  float: left; font-family: var(--font-display); font-size: 4.1em; line-height: 0.82;
  font-weight: 400; margin: 0.06em 0.1em 0 -0.02em; color: var(--ink);
}

/* features: run-in heads, newspaper columns on wide screens */
.runin { margin: 0; padding: 0; }
.runin > div { break-inside: avoid; padding: var(--s-4) 0 var(--s-4); border-top: var(--rule); }
.runin dt { display: inline; font-family: var(--font-display); font-weight: 600; font-size: 1.125em; line-height: 1.3; color: var(--ink); }
.runin dt::after { content: ". "; }
.runin dt.is-punct::after { content: " "; }
.runin dd { display: inline; margin: 0; color: var(--ink-2); }
@media (min-width: 900px) {
  .block--wide .runin { columns: 2; column-gap: var(--s-8); column-rule: var(--rule); }
}

/* contents (hub children): a ruled index, not a card grid */
.contents { list-style: none; margin: 0; padding: 0; border-bottom: var(--rule); }
.contents li { margin: 0; border-top: var(--rule); }
.contents a {
  display: grid; grid-template-columns: 1fr auto; column-gap: var(--s-5); align-items: baseline;
  padding: var(--s-5) 0; text-decoration: none; color: var(--ink);
}
.contents__title {
  font-family: var(--font-display); font-size: var(--t-h3); line-height: 1.2; font-weight: 450;
  text-decoration: underline; text-decoration-color: transparent; text-decoration-thickness: 1px; text-underline-offset: 0.18em;
  transition: text-decoration-color 140ms var(--ease-out), color 140ms var(--ease-out);
}
.contents__blurb { grid-column: 1; margin-top: var(--s-1); color: var(--ink-2); font-size: 1rem; line-height: 1.5; max-width: 52ch; }
.contents__go { grid-row: 1; grid-column: 2; font-family: var(--font-display); font-size: 1.5rem; color: var(--spot); transition: transform 160ms var(--ease-out); }
.contents a:hover .contents__title { color: var(--spot-deep); text-decoration-color: currentColor; }
@media (hover: hover) and (pointer: fine) { .contents a:hover .contents__go { transform: translateX(4px); } }
@media (min-width: 900px) {
  .block--wide .contents { columns: 2; column-gap: var(--s-8); border-bottom: 0; }
  .block--wide .contents li { break-inside: avoid; }
}
.contents--lead a { grid-template-columns: 1fr; }

/* quote */
.pull {
  margin: 0 0 var(--section); padding: var(--s-6) 0 0; border-top: var(--rule-ink);
}
.pull blockquote {
  margin: 0; font-family: var(--font-display); font-style: italic; font-size: var(--t-quote);
  line-height: 1.28; letter-spacing: -0.005em; color: var(--ink); max-width: 30ch; font-variation-settings: "opsz" 48;
  text-indent: -0.42em;
}
.pull figcaption { margin-top: var(--s-5); font-size: var(--t-caption); line-height: 1.45; color: var(--ink-3); }
.pull figcaption b { display: block; color: var(--ink); font-weight: 600; }

/* logos: small, on white tiles */
.logos { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(auto-fill, minmax(6.5rem, 1fr)); gap: var(--s-3); }
.logos li { margin: 0; background: #FFFFFF; border: var(--rule); border-radius: var(--radius); aspect-ratio: 1; display: grid; place-items: center; padding: var(--s-3); }
.logos img { width: 100%; height: auto; max-width: 5.5rem; }

/* downloads */
.files { list-style: none; margin: 0; padding: 0; border-bottom: var(--rule); }
.files li { margin: 0; border-top: var(--rule); }
.files a { display: flex; gap: var(--s-4); justify-content: space-between; align-items: baseline; padding: var(--s-4) 0; text-decoration: none; color: var(--ink); }
.files__label { font-weight: 600; }
.files__note { display: block; font-size: var(--t-caption); color: var(--ink-3); font-weight: 400; margin-top: var(--s-1); }
.files__type { font-size: var(--t-label); font-weight: 600; letter-spacing: var(--track-label); color: var(--spot); white-space: nowrap; }
.files a:hover .files__label { color: var(--spot-deep); text-decoration: underline; }

/* callout: the one boxed element; a heavy top rule and the second stock */
.callout { background: var(--stock); border-top: var(--rule-ink); padding: var(--s-5) var(--s-5) var(--s-5); border-radius: 0 0 var(--radius) var(--radius); max-width: var(--measure); }
.callout h2, .callout h3 { font-family: var(--font-display); font-size: var(--t-h3); font-weight: 500; border: 0; padding: 0; margin: 0 0 var(--s-2); }
.callout p:last-child { margin: 0; }

/* see also */
.seealso { list-style: none; margin: 0; padding: 0; display: flex; flex-wrap: wrap; gap: var(--s-2) var(--s-6); }
.seealso li { margin: 0; }
.seealso a { min-width: 2.75rem; display: inline-flex; align-items: center; min-height: 2.75rem; font-family: var(--font-display); font-size: 1.25rem; font-style: italic; }

/* specs and plain tables */
.table-wrap { overflow-x: auto; }
.specs, .legal table { width: 100%; border-collapse: collapse; font-size: 1rem; line-height: 1.45; font-variant-numeric: lining-nums; }
.specs th, .specs td, .legal th, .legal td { text-align: left; vertical-align: top; padding: var(--s-3) var(--s-4) var(--s-3) 0; border-top: var(--rule); }
.specs th { width: 38%; font-weight: 600; color: var(--ink); }
.specs td { color: var(--ink-2); }

/* steps: hanging numerals */
.steps { list-style: none; margin: 0; padding: 0; counter-reset: step; max-width: var(--measure); }
.steps li { counter-increment: step; position: relative; margin: 0; padding: var(--s-4) 0 var(--s-4) 3.25rem; border-top: var(--rule); }
.steps li::before { content: counter(step); position: absolute; left: 0; top: var(--s-3); font-family: var(--font-display); font-size: 2.25rem; line-height: 1; font-variant-numeric: oldstyle-nums; color: var(--spot); }
.steps h3 { font-family: var(--font-display); font-size: var(--t-h3); font-weight: 500; margin: 0 0 var(--s-1); }
.steps p { margin: 0; color: var(--ink-2); }

/* options: variants side by side, divided by rules, never boxed, never priced */
.options { display: grid; gap: var(--s-6); }
@media (min-width: 900px) { .options { grid-template-columns: repeat(auto-fit, minmax(14rem, 1fr)); gap: 0; } .options > div { padding: 0 var(--s-6); border-left: var(--rule); } .options > div:first-child { padding-left: 0; border-left: 0; } }
.options h3 { font-family: var(--font-display); font-size: var(--t-h3); font-weight: 500; margin: 0 0 var(--s-2); }
.options__summary { font-family: var(--font-display); font-style: italic; color: var(--ink-2); font-size: 1.125rem; line-height: 1.4; }
.options ul { list-style: none; padding: 0; margin: var(--s-4) 0 0; }
.options li { margin: 0; padding: var(--s-2) 0; border-top: var(--rule); font-size: 1rem; line-height: 1.5; color: var(--ink-2); }

/* faq: printed, not folded */
.faq { max-width: var(--measure); }
.faq h3 { font-family: var(--font-display); font-size: var(--t-h3); font-weight: 500; line-height: 1.25; margin: var(--s-6) 0 var(--s-2); }
.faq h3:first-child { margin-top: 0; }
.faq__a p:last-child { margin-bottom: 0; }

/* contacts */
.block--contacts { grid-column: wide; }
.contacts { display: grid; gap: var(--s-5) var(--s-6); margin: 0; grid-template-columns: repeat(auto-fill, minmax(min(100%, 19rem), 1fr)); }
.contacts > div { border-top: var(--rule); padding-top: var(--s-3); min-width: 0; }
.contacts dd { overflow-wrap: normal; word-break: normal; }
.contacts dd.is-email { font-size: 1.125rem; }
.contacts dt { font-size: var(--t-caption); color: var(--ink-3); }
.contacts dd { margin: var(--s-1) 0 0; font-family: var(--font-display); font-size: 1.3125rem; line-height: 1.3; }
.contacts dd a { text-decoration-thickness: 1px; display: inline-block; padding-block: 0.55rem; margin-block: -0.55rem; }
.contacts__note { display: block; font-family: var(--font-text); font-size: var(--t-caption); color: var(--ink-3); margin-top: var(--s-1); }

/* cta as running text */
.runningcta { max-width: 40ch; font-family: var(--font-display); font-size: clamp(1.375rem, 1.15rem + 0.9vw, 1.875rem); line-height: 1.35; padding-top: var(--s-4); border-top: var(--rule-ink); }
.runningcta a { font-weight: 500; }
.runningcta__body { display: block; margin-top: var(--s-3); font-family: var(--font-text); font-size: var(--t-body); color: var(--ink-2); }

/* integrations index */
.integrations { margin: 0; }
@media (min-width: 900px) { .block--wide .integrations { columns: 2; column-gap: var(--s-8); column-rule: var(--rule); } }
.integrations > div { break-inside: avoid; padding: var(--s-3) 0; border-top: var(--rule); }
.integrations dt { display: inline; font-family: var(--font-display); font-weight: 600; font-size: 1.0625em; }
.integrations dt::after { content: ". "; }
.integrations dd { display: inline; margin: 0; color: var(--ink-2); }

/* awards: tiles with the year */
.awards { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(auto-fill, minmax(10rem, 1fr)); gap: var(--s-4); }
.awards li { margin: 0; }
.awards img { width: 100%; height: auto; border-radius: var(--radius); }
.awards span { display: block; margin-top: var(--s-2); font-size: var(--t-caption); color: var(--ink-3); }

/* aside notes beside a block on wide screens */
.aside-note { grid-column: main; margin-bottom: var(--section); font-size: var(--t-caption); color: var(--ink-3); }
@media (min-width: 900px) { .aside-note { grid-column: aside; grid-row: span 2; align-self: start; position: sticky; top: var(--s-6); } }

/* ---------- The annotated call (static here; the playing version is home and AI) ---------- */
.call { grid-column: wide; margin: 0 0 var(--section); }
.call__label { font-size: var(--t-label); font-weight: 600; letter-spacing: var(--track-label); text-transform: uppercase; color: var(--ink-3); margin: 0 0 var(--s-4); }
.call__grid { display: grid; gap: var(--s-6); }
@media (min-width: 900px) { .call__grid { grid-template-columns: minmax(0, 1fr) 15rem; gap: var(--s-8); } }
.script { margin: 0; padding: 0; list-style: none; }
.script li { display: grid; grid-template-columns: 5.5rem minmax(0, 1fr); gap: var(--s-4); margin: 0 0 var(--s-4); }
.script__who { padding-top: 0.45em; font-size: var(--t-label); font-weight: 600; letter-spacing: var(--track-label); text-transform: uppercase; color: var(--ink-3); }
.script__line { font-family: var(--font-display); font-size: clamp(1.25rem, 1.1rem + 0.6vw, 1.625rem); line-height: 1.35; color: var(--ink); font-variation-settings: "opsz" 24; }
.script__line--isla { color: var(--ink); }
.script__line--guest { font-style: italic; color: var(--ink-2); }
@media (max-width: 599px) { .script li { grid-template-columns: 1fr; gap: 0; } .script__who { padding: 0; } }
.call__play {
  display: inline-flex; align-items: center; gap: 0.6rem; min-height: 2.75rem; padding: 0 1rem 0 0.8rem;
  background: var(--spot); color: #FFFFFF; border: 0; border-radius: var(--radius);
  font: 600 1rem/1 var(--font-text); cursor: pointer; margin-bottom: var(--s-6);
  transition: background-color 140ms var(--ease-out), transform 120ms var(--ease-out);
}
.call__play:hover { background: var(--spot-deep); }
.call__play:active { transform: translateY(1px); }
.call__play[aria-disabled="true"] { cursor: default; }
.call__play-icon { width: 0; height: 0; border-left: 0.6rem solid currentColor; border-top: 0.38rem solid transparent; border-bottom: 0.38rem solid transparent; }
.call__time { font-weight: 400; opacity: 0.85; }

/* the docket: the request as housekeeping receives it */
.slip {
  position: relative; background: #FFFFFF; color: var(--ink); padding: var(--s-5) var(--s-4) var(--s-4);
  font-size: 0.9375rem; line-height: 1.45; box-shadow: var(--e2); max-width: 15rem;
  border-top: 1px dashed var(--hair);
}
.slip__dept { font-weight: 700; letter-spacing: var(--track-label); text-transform: uppercase; font-size: var(--t-label); padding-bottom: var(--s-2); border-bottom: 1px solid var(--ink); margin: 0 0 var(--s-3); }
.slip dl { margin: 0; display: grid; grid-template-columns: auto 1fr; gap: 0.15rem var(--s-3); font-variant-numeric: tabular-nums; }
.slip dt { color: var(--ink-3); }
.slip dd { margin: 0; font-weight: 600; }
.slip__status { margin: var(--s-3) 0 0; padding-top: var(--s-2); border-top: 1px dashed var(--hair); font-family: var(--font-display); font-variant-caps: all-small-caps; letter-spacing: 0.08em; font-weight: 600; font-size: 1.125rem; color: var(--spot); }
.notes { list-style: none; margin: var(--s-6) 0 0; padding: 0; }
.notes li { margin: 0 0 var(--s-4); padding-top: var(--s-2); border-top: var(--rule); font-size: 1rem; line-height: 1.45; color: var(--ink-2); }
.notes b { display: block; font-family: var(--font-display); font-style: italic; font-weight: 500; font-size: 1.0625rem; color: var(--ink); }

/* ---------- The reply page: enquiry form ---------- */
.reply {
  grid-column: full; background: var(--stock); border-top: var(--rule-ink);
  padding: var(--section) var(--gutter); margin: 0 0 var(--section);
  display: grid; grid-template-columns: subgrid;
}
.reply > * { grid-column: wide; }
@media (min-width: 1100px) { .reply { padding-left: 0; padding-right: 0; } }
.reply__head h2 { font-family: var(--font-display); font-size: var(--t-h2); line-height: 1.08; letter-spacing: var(--track-head); font-variation-settings: "opsz" 60; }
.reply__head p { max-width: 52ch; color: var(--ink-2); margin: var(--s-4) 0 var(--s-6); }
.form { display: grid; gap: var(--s-5) var(--s-6); max-width: 48rem; }
@media (min-width: 700px) { .form { grid-template-columns: 1fr 1fr; } .form .field--full, .form .form__foot { grid-column: 1 / -1; } }
.field { display: grid; gap: var(--s-2); }
.field label { font-size: var(--t-caption); font-weight: 600; color: var(--ink); }
.field__opt { font-weight: 400; color: var(--ink-3); }
.field input, .field select, .field textarea {
  font: inherit; font-size: 1.0625rem; color: var(--ink); background: var(--paper);
  border: 1px solid #808294; border-radius: var(--radius); padding: 0.7rem 0.8rem; min-height: 3rem; width: 100%;
  transition: border-color 140ms var(--ease-out), box-shadow 140ms var(--ease-out);
}
.field textarea { min-height: 8rem; resize: vertical; line-height: 1.5; }
.field input:hover, .field select:hover, .field textarea:hover { border-color: var(--ink-3); }
.field input:focus-visible, .field select:focus-visible, .field textarea:focus-visible { outline: none; border-color: var(--spot); box-shadow: 0 0 0 2px var(--spot); }
.trap { position: absolute; left: -10000px; width: 1px; height: 1px; overflow: hidden; }
.form__foot { display: flex; flex-wrap: wrap; gap: var(--s-4) var(--s-6); align-items: center; }
.button {
  display: inline-flex; align-items: center; justify-content: center; min-height: 3rem; padding: 0 1.5rem;
  background: var(--ink); color: var(--paper); border: 0; border-radius: var(--radius);
  font: 600 1.0625rem/1 var(--font-text); cursor: pointer; text-decoration: none; white-space: nowrap;
  transition: background-color 140ms var(--ease-out), transform 120ms var(--ease-out);
}
.button:hover { background: var(--spot-deep); color: var(--paper); }
.button:active { transform: translateY(1px); }
.button:disabled { background: var(--ink-3); cursor: not-allowed; }
.consent { margin: 0; font-size: var(--t-small); color: var(--ink-2); max-width: 46ch; }

/* ---------- Legal documents ---------- */
.toc { grid-column: main; margin: 0 0 var(--s-7); }
.toc summary { cursor: pointer; font-weight: 600; padding: var(--s-3) 0; border-top: var(--rule-ink); border-bottom: var(--rule); list-style: none; display: flex; justify-content: space-between; align-items: center; min-height: 3rem; }
.toc summary::-webkit-details-marker { display: none; }
.toc summary::after { content: "+"; font-family: var(--font-display); font-size: 1.5rem; line-height: 1; color: var(--spot); }
.toc[open] summary::after { content: "\2212"; }
.toc ol { list-style: none; margin: var(--s-3) 0 0; padding: 0; font-size: 1rem; line-height: 1.35; }
.toc li { margin: 0; }
.toc a { display: block; padding: 0.7rem 0 0.7rem var(--s-3); color: var(--ink-2); text-decoration: none; border-left: 1px solid var(--hair); }
.toc a:hover { color: var(--spot); border-left-color: var(--spot); }
.toc a[aria-current="true"] { color: var(--ink); border-left: 2px solid var(--spot); padding-left: calc(var(--s-3) - 1px); font-weight: 600; }
.toc .toc-l2 a { font-family: var(--font-display); font-style: italic; font-size: 1.0625rem; color: var(--ink); }
.toc .toc-l3 a { font-variant-caps: all-small-caps; letter-spacing: 0.04em; font-size: 1rem; }
@media (min-width: 1100px) and (pointer: fine) { .toc a { padding-block: 0.42rem; } }

.legal { grid-column: main; max-width: var(--measure-legal); margin: 0 0 var(--s-8); font-size: clamp(1.0625rem, 1rem + 0.2vw, 1.125rem); line-height: var(--lh-legal); }
@media (max-width: 699px) { .legal { hyphens: auto; -webkit-hyphens: auto; hyphenate-limit-chars: 8 4 4; } }
.legal h2 { font-family: var(--font-display); font-size: var(--t-h2); line-height: 1.08; letter-spacing: var(--track-head); margin: var(--s-9) 0 var(--s-4); padding-top: var(--s-4); border-top: var(--rule-ink); font-variation-settings: "opsz" 48; }
.legal > h2:first-child, .legal > h3:first-child { margin-top: 0; }
.legal h3 {
  font-family: var(--font-display); font-weight: 600; font-size: 1.3125rem; line-height: 1.3;
  font-variant-caps: all-small-caps; letter-spacing: 0.055em; color: var(--ink);
  margin: var(--s-7) 0 var(--s-3);
}
.legal h4 { font-family: var(--font-text); font-weight: 700; font-size: 1.0625rem; margin: var(--s-6) 0 var(--s-2); }
.legal p { margin: 0 0 0.95em; }
.legal ul, .legal ol { padding-left: 1.4em; margin: 0 0 1.1em; }
.legal li { margin-bottom: 0.5em; padding-left: 0.15em; }
.legal a { overflow-wrap: anywhere; }
.legal strong { font-weight: 650; }
.legal :target { scroll-margin-top: var(--s-6); }
.legal h2:target, .legal h3:target { background: linear-gradient(var(--spot-tint), var(--spot-tint)) no-repeat 0 100% / 100% 0.5em; }
.backtop { display: inline-block; margin-top: var(--s-7); font-size: var(--t-caption); font-weight: 600; }

.doc-meta { grid-column: main; margin: 0 0 var(--s-7); font-size: var(--t-caption); color: var(--ink-3); display: flex; flex-wrap: wrap; gap: var(--s-2) var(--s-6); }
.doc-meta a { font-weight: 600; }
.doc-aside { grid-column: main; font-size: var(--t-caption); color: var(--ink-2); margin: var(--s-8) 0 0; }
.doc-aside h2 { font-size: var(--t-label); font-weight: 600; letter-spacing: var(--track-label); text-transform: uppercase; color: var(--ink-3); margin: 0 0 var(--s-3); padding-top: var(--s-3); border-top: var(--rule-ink); }
.doc-aside ul { list-style: none; padding: 0; }
.doc-aside li { margin: 0 0 var(--s-2); }
@media (min-width: 900px) {
  .doc-aside { grid-column: aside; grid-row: 2 / span 20; align-self: start; position: sticky; top: var(--s-6); margin: 0; }
}

/* ---------- Colophon and the index (the footer) ---------- */
.colophon { background: var(--paper); border-top: 6px solid var(--ink); padding: var(--s-8) var(--gutter) var(--s-9); }
@media (min-width: 1100px) { .colophon { padding-left: calc(var(--gutter) + var(--margin-col) + var(--s-7)); } }
.colophon__line {
  margin: 0 0 var(--s-8); max-width: 40ch; font-family: var(--font-display); font-size: clamp(1.25rem, 1.1rem + 0.7vw, 1.75rem);
  line-height: 1.4; color: var(--ink); font-variation-settings: "opsz" 30;
}
.colophon__line a { font-weight: 500; }
.index__title { font-size: var(--t-label); font-weight: 600; letter-spacing: var(--track-label); text-transform: uppercase; color: var(--ink-3); margin: 0 0 var(--s-5); }
.index__groups { display: grid; gap: var(--s-6) var(--s-6); grid-template-columns: 1fr; }
@media (min-width: 560px) { .index__groups { grid-template-columns: 1fr 1fr; } }
@media (min-width: 1000px) { .index__groups { grid-template-columns: repeat(4, 1fr); } }
.index__group { border-top: var(--rule-ink); padding-top: var(--s-3); }
.index__group h3 { font-family: var(--font-display); font-size: 1.375rem; line-height: 1.2; font-weight: 450; margin: 0 0 var(--s-2); }
.index__group h3 a { display: inline-flex; align-items: center; min-height: 2.75rem; color: var(--ink); text-decoration: none; }
.index__group h3 a:hover { color: var(--spot-deep); text-decoration: underline; }
.index__group ul { list-style: none; margin: 0; padding: 0; }
.index__group li { margin: 0; }
.index__group li a { display: block; padding: 0.4rem 0; min-height: 2.75rem; line-height: 1.35; color: var(--ink-2); text-decoration: none; font-size: 1rem; }
@media (min-width: 1000px) { .index__group li a { min-height: 0; padding: 0.3rem 0; } }
.index__group li a:hover { color: var(--spot); text-decoration: underline; }
.index__group a[aria-current="page"] { color: var(--ink); font-weight: 600; }
.index__more { margin-top: var(--s-7); padding-top: var(--s-4); border-top: var(--rule); display: flex; flex-wrap: wrap; gap: var(--s-3) var(--s-6); font-size: 1rem; }
.index__more a { font-weight: 600; display: inline-flex; align-items: center; min-height: 2.75rem; }
.doc-aside a { display: inline-flex; align-items: center; min-height: 2.75rem; }
@media (pointer: fine) and (min-width: 1100px) { .index__more a, .doc-aside a { min-height: 0; } }
.index__bar { display: none; }
.colophon__small { margin-top: var(--s-8); font-size: var(--t-caption); line-height: 1.55; color: var(--ink-3); max-width: 72ch; }
.colophon__small p { margin: 0 0 var(--s-2); }
.colophon__small a { color: var(--ink-2); }

/* the index as a sheet (opened from the folio by bbs2.js) */
.index.is-sheet {
  position: fixed; inset: 0; z-index: 50; overflow-y: auto; overscroll-behavior: contain;
  background: var(--paper); padding: 0 var(--gutter) var(--s-9);
}
.index.is-sheet .index__bar {
  display: flex; justify-content: space-between; align-items: center; gap: var(--s-4);
  position: sticky; top: 0; z-index: 1; background: var(--paper); padding: var(--gutter) 0 var(--s-5); margin-bottom: var(--s-4);
}
.index__close {
  min-height: 2.75rem; padding: 0 1rem; background: transparent; color: var(--ink); border: 1px solid var(--ink);
  border-radius: var(--radius); font: 600 1rem/1 var(--font-text); cursor: pointer;
}
.index__close:hover { background: var(--ink); color: var(--paper); }
@media (min-width: 1100px) {
  .index.is-sheet { padding-left: calc(var(--gutter) + var(--margin-col) + var(--s-7)); }
  /* the sheet's nameplate sits exactly where the folio's was, so opening the index does not move it */
  .index.is-sheet .index__bar { margin-left: calc(-1 * (var(--margin-col) + var(--s-7))); }
}
.index__chapters { display: none; }
.index.is-sheet .index__chapters { display: block; }
html.has-sheet { overflow: hidden; }
html.has-sheet .folio__index { visibility: hidden; }
@media (prefers-reduced-motion: no-preference) {
  .index.is-sheet { animation: sheet-in 220ms var(--ease-out); }
  @keyframes sheet-in { from { opacity: 0; transform: translateY(8px); } to { opacity: 1; transform: none; } }
}

/* phones: the footer carries the utility row, the contact line and the small print; the full
   index is one tap away in the bar (without JavaScript the footer index stays as it is) */
@media (max-width: 699px) {
  html.has-js .index:not(.is-sheet):not(.index--sheet) .index__groups,
  html.has-js .index:not(.is-sheet):not(.index--sheet) > .index__title { display: none; }
  html.has-js .index:not(.is-sheet) .index__more { margin-top: 0; padding-top: 0; border-top: 0; }
}
/* the sheet: the utility row (customer support, logins, the phone number) comes first */
.index.is-sheet { display: flex; flex-direction: column; }
.index.is-sheet > .index__bar { order: -3; }
.index.is-sheet > .index__more { order: -2; margin: 0 0 var(--s-6); padding: 0 0 var(--s-4); border-top: 0; border-bottom: var(--rule); }
@media (min-width: 1000px) and (max-height: 820px) {
  .index.is-sheet .index__groups { gap: var(--s-4) var(--s-6); }
  .index.is-sheet .index__group h3 { font-size: 1.25rem; margin-bottom: 0; }
  .index.is-sheet .index__group h3 a { min-height: 2.25rem; }
  .index.is-sheet .index__group li a { padding: 0.15rem 0; }
  .index.is-sheet .index__bar { padding-bottom: var(--s-3); margin-bottom: var(--s-2); }
}

/* contents: a folded list at the top of the page on phones and tablets; on wide screens the
   same list is part of the folio, one fixed column with the nameplate and the Index, so the
   two can never overlap however far the page has scrolled */
.folio__toc { display: none; }
@media (min-width: 1100px) {
  details.toc { display: none; }
  .folio--toc { bottom: 0; display: flex; flex-direction: column; padding-bottom: var(--s-5); background: var(--paper); }
  .folio--toc .folio__head { display: none; }
  .folio__toc { display: block; flex: 0 1 auto; min-height: 0; overflow-y: auto; overscroll-behavior: contain; margin: var(--s-6) 0 0; padding: 0 var(--s-2) 0 0; scrollbar-width: thin; }
  .folio__toc-h { margin: 0; padding-top: var(--s-2); border-top: var(--rule-ink); font-size: var(--t-label); font-weight: 600; letter-spacing: var(--track-label); text-transform: uppercase; color: var(--ink-3); }
  .folio__toc ol { margin-top: var(--s-2); }
  .folio__index { align-self: flex-start; }
}
.figure__portrait { max-width: 26rem; }


/* ---------- Print: legal pages print as documents ---------- */
@media print {
  .folio, .folio__index, .colophon, .toc, .doc-aside, .reply, .skip { display: none !important; }
  body { background: #FFFFFF; font-size: 11pt; }
  main.page > article { display: block; padding: 0; }
  .legal { max-width: none; }
  a { color: inherit; }
}

/* ======================================================================
   Phase 2 additions
   ====================================================================== */

/* ---------- forms: states the shared lead-form.js drives ---------- */
.field__error, .form__error { margin: 0; font-size: var(--t-small); font-weight: 600; color: #A3243B; }
.field__error:target, .form__error:target { display: block !important; }
.form__error { grid-column: 1 / -1; padding: var(--s-3) var(--s-4); background: #FBEDEF; border-left: 0; border-top: 2px solid #A3243B; }
.field input[aria-invalid="true"], .field select[aria-invalid="true"], .field textarea[aria-invalid="true"] { border-color: #A3243B; box-shadow: 0 0 0 1px #A3243B; }
.field--radio { border: 0; margin: 0; padding: 0; min-width: 0; display: grid; gap: var(--s-2); }
.field--radio legend { font-size: var(--t-caption); font-weight: 600; margin-bottom: var(--s-2); padding: 0; }
.field__choice { display: flex; align-items: center; gap: 0; min-height: 2.75rem; position: relative; }
.field__choice label, .field--checkbox label { flex: 1 1 auto; display: flex; align-items: center; min-height: 2.75rem; padding-left: var(--s-3); cursor: pointer; }
.field__choice input, .field--checkbox input { width: 1.25rem; height: 1.25rem; min-height: 0; margin: 0; flex: none; }
.field__choice label, .field--checkbox label { font-weight: 400; font-size: 1rem; }
.field--checkbox { display: flex; align-items: flex-start; gap: var(--s-3); grid-template-columns: none; }
.field--checkbox input { margin-top: 0.15rem; }
.form .field--full { grid-column: 1 / -1; }
.form__status { grid-column: 1 / -1; margin: 0; font-size: var(--t-small); color: var(--ink-2); min-height: 1.5em; }
.form__done, .form__failed { max-width: 48rem; padding: var(--s-5); background: var(--paper); border-top: var(--rule-ink); }
.form__done-h { font-family: var(--font-display); font-size: var(--t-h3); margin: 0 0 var(--s-2); }
.form__done strong { font-family: var(--font-text); letter-spacing: 0.04em; }
.form__failed { border-top-color: #A3243B; }
.button[aria-busy="true"], .button:disabled { opacity: 0.7; cursor: progress; }

/* ---------- the annotated call ---------- */
.block--calls .acall + .acall { margin-top: var(--s-9); padding-top: var(--s-7); border-top: var(--rule); }
.acall { --pencil: #6B6D80; }
.acall__head { margin-bottom: var(--s-4); }
.acall__title { font-family: var(--font-display); font-size: var(--t-h3); font-weight: 500; line-height: 1.2; margin: 0; }
.acall__context { margin: var(--s-1) 0 0; color: var(--ink-2); font-size: 1rem; }
.acall__label { margin: var(--s-2) 0 0; font-size: var(--t-label); font-weight: 600; letter-spacing: var(--track-label); text-transform: uppercase; color: var(--ink-3); }
.acall__controls { display: flex; flex-wrap: wrap; align-items: center; gap: var(--s-3) var(--s-4); margin: var(--s-4) 0 var(--s-6); }
.acall__play {
  display: inline-flex; align-items: center; gap: 0.6rem; min-height: 3rem; padding: 0 1.1rem 0 0.9rem;
  background: var(--spot); color: #FFFFFF; border: 0; border-radius: var(--radius);
  font: 600 1rem/1 var(--font-text); cursor: pointer;
  transition: background-color 140ms var(--ease-out), transform 120ms var(--ease-out);
}
.acall__play:hover { background: var(--spot-deep); }
.acall__play:active { transform: translateY(1px); }
.acall__icon { width: 0; height: 0; border-left: 0.62rem solid currentColor; border-top: 0.4rem solid transparent; border-bottom: 0.4rem solid transparent; }
.acall.is-playing .acall__icon { width: 0.65rem; height: 0.8rem; border: 0; border-left: 0.22rem solid currentColor; border-right: 0.22rem solid currentColor; }
.acall__time { font-size: 1rem; font-variant-numeric: tabular-nums; color: var(--ink-2); min-width: 5.5em; }
.acall__progress { flex: 1 1 8rem; height: 2px; background: var(--hair); position: relative; max-width: 16rem; }
.acall__progress::after { content: ""; position: absolute; inset: 0; background: var(--spot); transform-origin: left center; transform: scaleX(var(--call-progress, 0)); }
.acall__audio { width: 100%; max-width: 28rem; margin: var(--s-2) 0 var(--s-5); }
.acall__grid { display: grid; gap: var(--s-6); }
@media (min-width: 900px) { .acall__grid { grid-template-columns: minmax(0, 1fr) 16rem; gap: var(--s-8); } }
.acall__script { list-style: none; margin: 0; padding: 0; }
.acall__line { display: grid; grid-template-columns: 5.25rem minmax(0, 1fr); gap: var(--s-4); margin: 0 0 var(--s-4); position: relative; }
.acall__who { padding-top: 0.5em; font-size: var(--t-label); font-weight: 600; letter-spacing: var(--track-label); text-transform: uppercase; color: var(--ink-3); }
.acall__said { display: block; font-family: var(--font-display); font-size: clamp(1.25rem, 1.1rem + 0.55vw, 1.625rem); line-height: 1.38; color: var(--ink); font-variation-settings: "opsz" 24; }
.acall__line--caller .acall__said { font-style: italic; }
.acall__text:lang(zh-Hans) { font-family: "PingFang SC", "Hiragino Sans GB", "Noto Sans CJK SC", "Microsoft YaHei", sans-serif; font-style: normal; font-size: 0.94em; letter-spacing: 0.02em; }
.acall__translation { display: block; margin-top: var(--s-1); font-family: var(--font-text); font-style: normal; font-size: 1rem; line-height: 1.5; color: var(--ink-2); }
.acall__mark { font-family: var(--font-text); font-style: normal; font-size: 0.7rem; font-weight: 700; color: var(--spot); margin-left: 0.2em; vertical-align: super; line-height: 0; }
@media (max-width: 599px) { .acall__line { grid-template-columns: 1fr; gap: 0; } .acall__who { padding: 0; } }

/* the ink: words are set in pencil and ink as they are said (or read, on the home page) */
@media (prefers-reduced-motion: no-preference) {
  /* at rest the transcript is in full ink; words go to pencil only while a call plays (or, on the home peak, while it is read by scroll) */
  .acall.is-enhanced.is-audio .call-word, .acall[data-peak-call].is-enhanced .call-word { color: var(--pencil); transition: color 420ms var(--ease-out); }
  .acall.is-enhanced .call-word.is-said, .acall.is-enhanced .call-word.is-inked { color: var(--ink); }
  .acall.is-enhanced .acall__line--caller .call-word.is-said, .acall.is-enhanced .acall__line--caller .call-word.is-inked { color: var(--ink-2); }
  .acall.is-enhanced .call-word.is-wet { color: var(--spot-wet); transition: none; }
  .acall.is-enhanced .acall__line.is-speaking::before { content: ""; position: absolute; left: 0; bottom: -0.35rem; width: 2.5rem; height: 2px; background: var(--spot); }
}
.acall.is-reduced-motion .acall__line.is-speaking .acall__said { color: var(--spot-deep); }

/* the margin: notes and the docket */
.acall__notes { list-style: none; margin: var(--s-6) 0 0; padding: 0; }
.acall__notes li { position: relative; margin: 0 0 var(--s-4); padding: var(--s-2) 0 0 1.6rem; border-top: var(--rule); font-size: 1rem; line-height: 1.45; color: var(--ink-2); }
.acall__notes b { display: block; font-family: var(--font-display); font-style: italic; font-weight: 500; font-size: 1.0625rem; color: var(--ink); }
.acall__noteno { position: absolute; left: 0; top: var(--s-2); font-size: 0.75rem; font-weight: 700; color: var(--spot); }
.slip {
  position: relative; background: #FFFFFF; color: var(--ink); padding: var(--s-4) var(--s-4) var(--s-3);
  font-size: 1rem; line-height: 1.4; box-shadow: var(--e2); max-width: 16rem; border-top: 1px dashed #B9BAC4;
}
.slip__dept { margin: 0 0 var(--s-2); padding-bottom: var(--s-2); border-bottom: 1px solid var(--ink); font-size: var(--t-label); font-weight: 700; letter-spacing: var(--track-label); text-transform: uppercase; }
.slip__title { margin: 0 0 var(--s-2); font-weight: 650; }
.slip .slip__fields { margin: 0; display: grid; grid-template-columns: 1fr; gap: 0.1rem; font-variant-numeric: tabular-nums lining-nums; }
.slip__fields div { display: flex; gap: var(--s-3); }
.slip__fields dt { color: var(--ink-3); min-width: 3.5rem; }
.slip__fields dd { margin: 0; }
.slip__status { margin: var(--s-3) 0 0; padding-top: var(--s-2); border-top: 1px dashed #B9BAC4; font-family: var(--font-display); font-variant-caps: all-small-caps; letter-spacing: 0.09em; font-weight: 650; font-size: 1.1875rem; color: var(--spot); }
@media (prefers-reduced-motion: no-preference) {
  /* once the player is running, the slip waits for "lodged" and then feeds out line by line */
  .acall.is-enhanced .slip { clip-path: inset(0 0 100% 0); opacity: 0.001; max-height: 0; padding-block: 0; border-top-width: 0; overflow: hidden; margin-bottom: 0; }
  .acall.is-enhanced .slip[data-card="shown"], .acall.is-enhanced.is-scroll-card .slip { clip-path: inset(0 0 0 0); opacity: 1; max-height: 24rem; padding-block: var(--s-4) var(--s-3); border-top-width: 1px; margin-bottom: var(--s-4); transition: clip-path 900ms steps(9, end), max-height 900ms steps(9, end), opacity 1ms; }
  .acall[data-peak-call].is-enhanced .acall__notes li { opacity: 0.001; transform: translateY(6px); transition: opacity 500ms var(--ease-out), transform 500ms var(--ease-out); }
  .acall[data-peak-call].is-enhanced .acall__notes li.is-shown { opacity: 1; transform: none; }
  .acall[data-peak-call].is-enhanced .acall__mark { opacity: 0; transition: opacity 300ms var(--ease-out); }
  .acall[data-peak-call].is-enhanced .acall__line.has-note-shown .acall__mark { opacity: 1; }
}

/* ---------- AI landing ---------- */
.dek__cover { margin: var(--s-4) 0 0; font-family: var(--font-display); font-style: italic; font-size: clamp(1.75rem, 1.3rem + 1.6vw, 2.75rem); line-height: 1.1; color: var(--spot); max-width: 22ch; }
.route { list-style: none; margin: var(--s-6) 0 var(--s-5); padding: 0; display: grid; gap: var(--s-5); counter-reset: none; position: relative; }
.route::before { content: ""; position: absolute; left: 1.1rem; top: 1.2rem; bottom: 1.2rem; width: 2px; background: var(--ink); }
.route__stop { position: relative; margin: 0; padding-left: 3.75rem; }
.route__dot { position: absolute; left: 0; top: 0; width: 2.25rem; height: 2.25rem; border-radius: 50%; background: var(--paper); border: 2px solid var(--ink); display: grid; place-items: center; font-family: var(--font-display); font-weight: 600; font-size: 1.0625rem; line-height: 1; }
.route__stop:nth-child(3) .route__dot { background: var(--spot); border-color: var(--spot); color: #FFFFFF; }
.route__stop h3 { font-family: var(--font-display); font-size: var(--t-h3); font-weight: 500; line-height: 1.2; margin: 0.15rem 0 var(--s-2); }
.route__stop p { margin: 0; color: var(--ink-2); font-size: 1rem; line-height: 1.55; }
@media (min-width: 1000px) {
  .route { grid-template-columns: repeat(5, minmax(0, 1fr)); gap: var(--s-5); }
  .route::before { left: 1.1rem; right: 1.1rem; top: 1.08rem; bottom: auto; width: auto; height: 2px; }
  .route__stop { padding: 3.25rem 0 0; }
}
.route__systems { max-width: 72ch; font-size: 1rem; color: var(--ink-2); line-height: 1.6; padding-top: var(--s-4); border-top: var(--rule); }
.route__systems span { font-weight: 600; color: var(--ink); }
.who { display: grid; gap: 0; border-bottom: var(--rule); }
@media (min-width: 900px) { .who { grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 0 var(--s-6); } }
.who__item { display: grid; grid-template-columns: 1fr auto; align-content: start; gap: var(--s-2) var(--s-4); padding: var(--s-5) 0; border-top: var(--rule); color: var(--ink); text-decoration: none; }
.who__t { font-family: var(--font-display); font-size: var(--t-h3); }
.who__d { grid-column: 1; color: var(--ink-2); font-size: 1rem; line-height: 1.5; }
.who__item .contents__go { grid-row: 1; grid-column: 2; }
.who__item:hover .who__t { color: var(--spot-deep); text-decoration: underline; text-underline-offset: 0.18em; }

/* ---------- small logos (home) ---------- */
.logos--small { grid-template-columns: repeat(auto-fill, minmax(4.75rem, 1fr)); gap: var(--s-2); }
.logos--small li { padding: var(--s-2); }

/* ---------- documents ---------- */
.is-doc .block--contacts { margin-bottom: var(--s-8); }
.is-doc .block--related, .is-doc .block--downloads { grid-column: main; }
.backtop { grid-column: main; margin: 0 0 var(--s-9); font-size: var(--t-caption); }
.backtop a { font-weight: 600; display: inline-flex; align-items: center; min-height: 2.75rem; }
.doc-toc { grid-column: main; }
.toc .toc-l3 a { font-variant-caps: all-small-caps; letter-spacing: 0.04em; font-size: 1rem; }
.toc .toc-l2 a { font-family: var(--font-display); font-style: italic; font-size: 1.0625rem; color: var(--ink); }

/* ---------- thanks and not found ---------- */
.thanks__ref { margin: var(--s-5) 0 0; font-family: var(--font-display); font-size: var(--t-h3); }
.thanks__ref strong { font-family: var(--font-text); letter-spacing: 0.04em; }
.thanks__home { margin: 0 0 var(--s-9); }
.thanks__home a { font-weight: 600; display: inline-flex; min-height: 2.75rem; align-items: center; }

/* ---------- running cta ---------- */
.runningcta__h { font-style: italic; }

/* very wide screens: the whole page scales up a step rather than leaving half the screen empty */
@media (min-width: 1900px) { html { font-size: 112.5%; } }
@media (min-width: 2400px) { html { font-size: 125%; } }

/* ---------- fix round (21 Nov 2026) ---------- */
/* radio and checkbox controls drawn in a 44px target, so the control itself is easy to hit */
.field__choice input[type="radio"], .field--checkbox input[type="checkbox"] {
  -webkit-appearance: none; appearance: none; position: relative; flex: none; cursor: pointer;
  width: 2.75rem; height: 2.75rem; min-height: 0; margin: 0 -0.75rem 0 -0.75rem; border: 0; background: none; padding: 0;
}
.field__choice input[type="radio"]::before, .field--checkbox input[type="checkbox"]::before {
  content: ""; position: absolute; inset: 0.75rem; border: 1.5px solid #808294; background: var(--paper);
  transition: border-color 140ms var(--ease-out);
}
.field__choice input[type="radio"]::before { border-radius: 50%; }
.field--checkbox input[type="checkbox"]::before { border-radius: var(--radius); }
.field__choice input[type="radio"]:hover::before, .field--checkbox input[type="checkbox"]:hover::before { border-color: var(--ink-3); }
.field__choice input[type="radio"]:checked::before { border-color: var(--spot); background: radial-gradient(circle, var(--spot) 0 0.28rem, var(--paper) 0.31rem); }
.field--checkbox input[type="checkbox"]:checked::before { border-color: var(--spot); background: var(--spot); }
.field--checkbox input[type="checkbox"]:checked::after { content: ""; position: absolute; left: 1.15rem; top: 0.95rem; width: 0.4rem; height: 0.7rem; border: solid #FFFFFF; border-width: 0 2px 2px 0; transform: rotate(45deg); }
.field__choice input[type="radio"]:focus-visible, .field--checkbox input[type="checkbox"]:focus-visible { outline: none; }
.field__choice input[type="radio"]:focus-visible::before, .field--checkbox input[type="checkbox"]:focus-visible::before { box-shadow: 0 0 0 2px var(--paper), 0 0 0 4px var(--spot); }
.field[aria-invalid="true"] input[type="radio"]::before { border-color: #A3243B; }
.field--checkbox { align-items: center; }
.field--checkbox input[type="checkbox"] { margin-top: 0; }
.form__foot .consent { flex: 1 1 18rem; }
/* the first screen's action: one solid button, then the phone number */
.actionline__btn {
  display: inline-flex; align-items: center; min-height: 2.75rem; margin: 0 var(--s-3) var(--s-2) 0; padding: 0 1.1rem;
  background: var(--ink); color: var(--paper); border-radius: var(--radius); font-weight: 600; font-size: 1rem; text-decoration: none; vertical-align: middle;
}
.actionline .actionline__btn:hover { background: var(--spot-deep); color: var(--paper); text-decoration: none; }
.actionline { font-size: 1rem; }
/* right edges: the footer and the form end on the page's own columns */
.colophon > * { max-width: 65rem; }
.form { max-width: 44rem; }
@media (min-width: 900px) { .options > div:last-child { padding-right: 0; } }
/* two-column lists run in rows, so neighbours line up */
@media (min-width: 900px) {
  .block--wide .contents { columns: auto; display: grid; grid-template-columns: 1fr 1fr; column-gap: var(--s-8); border-bottom: var(--rule); }
  .block--wide .contents li { break-inside: auto; }
}
.colophon > .index.is-sheet { max-width: none; }
/* run-in lists: the term prints as the bold opening of its paragraph */
.runin dd, .integrations dd { display: block; }
.runin__t { font-family: var(--font-display); font-weight: 600; font-size: 1.125em; line-height: 1.3; color: var(--ink); }
.integrations .runin__t { font-size: 1.0625em; }
.runin dt::after, .integrations dt::after { content: none; }
/* the docket carries the space under it; the notes follow the transcript directly while it is folded away */
.acall__margin .slip { margin-bottom: var(--s-5); }
.acall__margin .acall__notes { margin-top: 0; }
@media (max-width: 899px) { .acall__grid { gap: var(--s-4); } }
