/* Offset Security: design system and components.
   Source of truth: DESIGN.md. One stylesheet, no build step.
   Order: tokens · base · type · layout · actions · navigation · shared sections · home · inner pages · products · forms · responsive · motion. */

/* ═══ Tokens ═══════════════════════════════════════════════════════════ */
:root {
  --canvas: #F7F7F5; --band: #ECECE8; --surface: #FFFFFF;
  --line: #DEDDD7; --line-strong: #C5C4BC; --field: #7A8496;
  --ink: #0B1428; --body: #2B3140; --muted: #5A5F6B; --placeholder: #6E727C;
  --blue: #2457D6; --blue-ink: #1B45B0; --blue-wash: #E7EDFB;
  --navy: #0B1428; --navy-2: #15213D; --navy-3: #1E2C4E; --navy-line: rgba(232, 236, 244, 0.14);
  --on-navy: #E8ECF4; --on-navy-muted: #A3AEC2; --on-navy-accent: #9DB6FF;
  --success: #1D7A4C; --warning: #9A5B0B; --error: #B42318; --error-wash: #FDF0EF;

  --display: 'Newsreader', 'Iowan Old Style', Georgia, serif;
  --sans: 'Geist', 'Segoe UI', system-ui, -apple-system, sans-serif;
  --mono: 'Geist Mono', ui-monospace, 'SFMono-Regular', Consolas, monospace;

  --s1: 4px; --s2: 8px; --s3: 12px; --s4: 16px; --s5: 24px; --s6: 32px; --s7: 48px; --s8: 64px; --s9: 96px;
  --max: 1200px; --gutter: 32px; --nav-h: 72px;
  --section: 88px; --head-gap: 36px;
  --r: 4px;
  --t: 0.5228; /* tan(27.6deg): the logo angle */
  --skew: skewX(-27.6deg);
  --ease: cubic-bezier(0.16, 1, 0.3, 1);
  --t-fast: 160ms; --t-mid: 320ms;
  --float: 0 1px 2px rgba(11, 20, 40, 0.06), 0 16px 40px -16px rgba(11, 20, 40, 0.22);
}

/* ═══ Base ═════════════════════════════════════════════════════════════ */
*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; text-size-adjust: 100%; scroll-padding-top: calc(var(--nav-h) + 24px); }
body { margin: 0; background: var(--canvas); color: var(--body); font: 400 16.5px/1.65 var(--sans); -webkit-font-smoothing: antialiased; -moz-osx-font-smoothing: grayscale; font-feature-settings: "kern", "liga", "calt"; }
h1, h2, h3, h4, p, ul, ol, figure, blockquote, dl, dd, table { margin: 0; }
ul, ol { padding: 0; list-style: none; }
img, svg { display: block; max-width: 100%; }
img { height: auto; }
a { color: inherit; text-decoration: none; }
button { font: inherit; color: inherit; background: none; border: 0; padding: 0; cursor: pointer; }
strong { font-weight: 600; }
p, li { text-wrap: pretty; }
:focus-visible { outline: 2px solid var(--blue); outline-offset: 3px; border-radius: 2px; }
.closing :focus-visible { outline-color: #fff; }
::selection { background: var(--blue-wash); color: var(--ink); }
.visually-hidden { position: absolute !important; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); clip-path: inset(50%); white-space: nowrap; }
.skip-link { position: absolute; left: var(--s4); top: -80px; z-index: 200; padding: var(--s3) var(--s4); background: var(--ink); color: #fff; border-radius: var(--r); font-weight: 500; }
.skip-link:focus { top: var(--s4); }

/* ═══ Type ═════════════════════════════════════════════════════════════ */
.display, .h2, .h2-long { font-family: var(--display); font-weight: 400; color: var(--ink); font-optical-sizing: auto; text-wrap: balance; }
.display { font-size: clamp(38px, 4vw, 56px); line-height: 1.06; letter-spacing: -0.022em; }
.h2, .h2-long { font-size: clamp(28px, 2.6vw, 38px); line-height: 1.14; letter-spacing: -0.018em; }
.display em, .h2 em, .h2-long em { font-style: normal; color: inherit; }
.h3, .h3s { font: 600 19px/1.3 var(--sans); letter-spacing: -0.012em; color: var(--ink); text-wrap: balance; }
.lead { font-size: clamp(17px, 1.4vw, 19px); line-height: 1.6; color: var(--body); }
.small { font-size: 15px; line-height: 1.55; }
.data { font: 400 13.5px/1.45 var(--mono); letter-spacing: 0; font-variant-numeric: tabular-nums; }
.fig { font-weight: 600; color: var(--ink); white-space: nowrap; }

/* Label: mono caps in brand blue with the offset marker (two bars on the logo angle) */
.label { display: inline-flex; align-items: center; gap: 10px; font: 400 13px/1.2 var(--mono); letter-spacing: 0.06em; text-transform: uppercase; color: var(--blue-ink); }
.label::before, .mark { content: ''; display: inline-block; flex-shrink: 0; width: 17px; height: 9px; background: linear-gradient(var(--blue), var(--blue)) 5px 0 / 12px 3px no-repeat, linear-gradient(var(--ink), var(--ink)) 0 6px / 12px 3px no-repeat; transform: var(--skew); }
.label a:hover { color: var(--ink); }
.label--plain { font-size: 12px; color: var(--muted); }
.label--plain::before { display: none; }
.closing .label { color: var(--on-navy-accent); }
.closing .label::before { background: linear-gradient(var(--on-navy-accent), var(--on-navy-accent)) 5px 0 / 12px 3px no-repeat, linear-gradient(#fff, #fff) 0 6px / 12px 3px no-repeat; }
.mark--lg { width: 34px; height: 18px; background: linear-gradient(var(--blue), var(--blue)) 10px 0 / 24px 6px no-repeat, linear-gradient(var(--ink), var(--ink)) 0 12px / 24px 6px no-repeat; }

/* Tags: standards and frameworks only */
.tags { display: flex; flex-wrap: wrap; gap: 6px; }
.tag, .phero__std-list li { display: inline-flex; align-items: center; min-height: 28px; padding: 4px 10px; font: 500 13px/1.2 var(--sans); color: var(--ink); background: var(--surface); border: 1px solid var(--line); border-radius: var(--r); white-space: nowrap; max-width: 100%; }

/* Bullet list: the bullet is a short bar on the logo angle */
.olist > li { position: relative; padding-left: 22px; }
.olist > li::before { content: ''; position: absolute; left: 1px; top: 0.66em; width: 10px; height: 4px; background: var(--blue); transform: var(--skew); }

/* ═══ Layout ═══════════════════════════════════════════════════════════ */
.wrap { width: 100%; max-width: calc(var(--max) + var(--gutter) * 2); margin-inline: auto; padding-inline: var(--gutter); }
.section { padding-block: var(--section); }
.section--tight { padding-block: calc(var(--section) * 0.75); }
.section--stone, .section--band { background: var(--band); }
.section--line { border-top: 1px solid var(--line); }
/* two canvas sections in a row get a hairline */
.section:not(.section--stone):not(.section--band) + .section:not(.section--stone):not(.section--band) { border-top: 1px solid var(--line); }
.section > .wrap > :last-child { margin-bottom: 0; }

/* Section head: headline, then an optional short paragraph under it */
.shead { display: flex; flex-direction: column; align-items: flex-start; gap: 14px; max-width: 760px; margin-bottom: var(--head-gap); }
.shead--wide { max-width: 920px; }
.shead__support, .shead__lead { max-width: 62ch; font-size: 17px; line-height: 1.6; color: var(--muted); }
/* .shead--split is kept as a hook; it stacks like every other head (DESIGN.md: no split headers) */
.shead--row { max-width: none; flex-direction: row; flex-wrap: wrap; align-items: flex-end; justify-content: space-between; gap: 12px 32px; }
.shead__more { margin-top: var(--s6); }

/* ═══ Actions ══════════════════════════════════════════════════════════ */
.btn { display: inline-flex; align-items: center; justify-content: center; gap: 10px; min-height: 46px; padding: 0 20px; font: 500 15px/1 var(--sans); letter-spacing: -0.003em; white-space: nowrap; border: 1px solid transparent; border-radius: var(--r); transition: background var(--t-fast), color var(--t-fast), border-color var(--t-fast), transform 120ms var(--ease); }
.btn:active { transform: translateY(1px); }
.btn--primary, .btn-primary { background: var(--navy); color: #fff; }
.btn--primary:hover, .btn-primary:hover { background: var(--blue); }
.btn--outline { border-color: var(--line-strong); color: var(--ink); background: transparent; }
.btn--outline:hover { border-color: var(--ink); }
.closing .btn--primary { background: #fff; color: var(--ink); }
.closing .btn--primary:hover { background: var(--on-navy-accent); }
.closing .btn--outline { border-color: rgba(255, 255, 255, 0.3); color: #fff; }
.closing .btn--outline:hover { border-color: #fff; }
.btn__text { display: inline-flex; align-items: center; gap: 10px; }
.actions { display: flex; flex-wrap: wrap; align-items: center; gap: var(--s3) var(--s6); }
.link { display: inline-flex; align-items: center; gap: 8px; padding-bottom: 3px; font-weight: 500; color: var(--ink); background-image: linear-gradient(currentColor, currentColor), linear-gradient(var(--blue), var(--blue)); background-size: 100% 1px, 0 2px; background-position: 0 100%, 0 100%; background-repeat: no-repeat; transition: color var(--t-fast), background-size var(--t-mid) var(--ease); }
.link:hover { color: var(--blue-ink); background-size: 100% 1px, 100% 2px; }
.closing .link { color: #fff; }
.closing .link:hover { color: var(--on-navy-accent); }
.arrow { width: 16px; height: 16px; flex-shrink: 0; transition: transform var(--t-mid) var(--ease); }
a:hover > .arrow, button:hover > .arrow, a:focus-visible > .arrow, a:hover .arrow { transform: translateX(3px); }
.ext { width: 12px; height: 12px; flex-shrink: 0; }
.btn .ext { width: 14px; height: 14px; }

/* ═══ Navigation ═══════════════════════════════════════════════════════ */
.nav { position: sticky; top: 0; z-index: 100; background: rgba(247, 247, 245, 0.92); -webkit-backdrop-filter: saturate(1.4) blur(14px); backdrop-filter: saturate(1.4) blur(14px); border-bottom: 1px solid transparent; transition: border-color 240ms var(--ease), background 240ms var(--ease); }
.nav.is-stuck { border-bottom-color: var(--line); }
.nav__bar { position: relative; display: flex; align-items: center; height: var(--nav-h); gap: var(--s6); }
.nav__logo { flex-shrink: 0; }
.nav__logo img { height: 44px; width: auto; transition: height var(--t-mid) var(--ease); }
.nav.is-stuck .nav__logo img { height: 34px; }
.nav__menu { display: flex; align-items: center; gap: var(--s5); margin-left: auto; }
.nav__list { display: flex; align-items: center; gap: 2px; }
.nav__link { position: relative; display: inline-flex; align-items: center; height: var(--nav-h); padding: 0 12px; font: 500 15px/1 var(--sans); color: var(--body); transition: color var(--t-fast), background var(--t-fast); }
.nav__link:hover, .nav__link[aria-expanded="true"] { color: var(--ink); }
.nav__link[aria-current] { color: var(--blue-ink); }
.nav__cta { min-height: 40px; padding: 0 16px; font-size: 14.5px; }
.nav__icon { display: grid; place-items: center; flex-shrink: 0; width: 40px; height: 40px; border-radius: var(--r); background: var(--blue-wash); color: var(--blue-ink); transition: background var(--t-fast), color var(--t-fast); }
.nav__icon svg { width: 20px; height: 20px; }
.nav__text { display: flex; flex-direction: column; gap: 3px; min-width: 0; }
.nav__items strong { font: 500 15.5px/1.3 var(--sans); color: var(--ink); transition: color var(--t-fast); }
.nav__items small { font: 400 13.5px/1.45 var(--sans); color: var(--muted); }
.nav__items a[aria-current] strong { color: var(--blue-ink); }
.nav__toggle { display: none; width: 44px; height: 44px; margin-left: auto; margin-right: -10px; align-items: center; justify-content: center; }
.nav__toggle span, .nav__toggle span::before, .nav__toggle span::after { display: block; width: 20px; height: 1.5px; background: var(--ink); transition: transform var(--t-mid) var(--ease), background var(--t-fast); }
.nav__toggle span { position: relative; }
.nav__toggle span::before, .nav__toggle span::after { content: ''; position: absolute; left: 0; }
.nav__toggle span::before { transform: translateY(-6px); }
.nav__toggle span::after { transform: translateY(6px); }
.nav.is-open .nav__toggle span { background: transparent; }
.nav.is-open .nav__toggle span::before { transform: rotate(45deg); }
.nav.is-open .nav__toggle span::after { transform: rotate(-45deg); }

@media (min-width: 900px) {
  .nav__link { height: 38px; margin-block: calc((var(--nav-h) - 38px) / 2); border-radius: var(--r); }
  .nav__link:hover, .nav__link[aria-expanded="true"] { background: rgba(11, 20, 40, 0.05); }
  button.nav__link { gap: 7px; }
  button.nav__link::after { content: ''; width: 6px; height: 6px; margin-top: -3px; border-right: 1.5px solid currentColor; border-bottom: 1.5px solid currentColor; transform: rotate(45deg); opacity: 0.55; transition: transform var(--t-mid) var(--ease), margin var(--t-mid) var(--ease); }
  button.nav__link[aria-expanded="true"]::after { transform: rotate(-135deg); margin-top: 3px; }
  .nav__panel { position: absolute; top: 100%; left: var(--panel-x, 0px); z-index: 2; padding-top: 2px; visibility: hidden; opacity: 0; transform: translateY(6px); pointer-events: none; transition: opacity 180ms var(--ease), transform 280ms var(--ease), visibility 0s 280ms; }
  .nav__panel::before { content: ''; position: absolute; left: 0; right: 0; top: -12px; height: 14px; }
  .nav__item.is-open .nav__panel { visibility: visible; opacity: 1; transform: none; pointer-events: auto; transition: opacity 220ms var(--ease), transform 320ms var(--ease); }
  .nav.is-switching .nav__panel, .nav.is-switching .nav__panel * { transition: none !important; }
  .nav__panel-inner { display: grid; grid-template-columns: 248px auto; gap: 8px; padding: 8px; background: var(--surface); border: 1px solid var(--line); border-radius: var(--r); box-shadow: var(--float); }
  .nav__overview { display: flex; flex-direction: column; gap: 12px; padding: 24px 22px 20px; border-radius: var(--r); background: var(--band); transition: background var(--t-fast); }
  .nav__overview:hover { background: #E5E5E0; }
  .nav__overview .label { font-size: 12px; }
  .nav__overview-text { font: 400 20px/1.3 var(--display); letter-spacing: -0.01em; color: var(--ink); text-wrap: balance; }
  .nav__overview-link { display: inline-flex; align-items: center; gap: 8px; margin-top: auto; padding-top: 12px; font: 500 14.5px/1 var(--sans); color: var(--blue-ink); }
  .nav__overview:hover .arrow { transform: translateX(3px); }
  .nav__items { display: grid; grid-template-columns: repeat(2, 292px); column-gap: 4px; align-content: start; gap: 2px 4px; padding: 4px; }
  .nav__items a { display: flex; align-items: flex-start; gap: 14px; padding: 12px 14px 12px 12px; border-radius: var(--r); transition: background var(--t-fast); }
  .nav__items a:hover, .nav__items a:focus-visible { background: var(--band); }
  .nav__items a:hover .nav__icon, .nav__items a:focus-visible .nav__icon { background: var(--blue); color: #fff; }
  .nav__items a:focus-visible { outline-offset: -2px; }
}
@media (min-width: 900px) and (max-width: 1099px) {
  .nav__panel-inner { grid-template-columns: 208px auto; }
  .nav__items { grid-template-columns: repeat(2, 248px); }
}

/* ═══ Shared sections ══════════════════════════════════════════════════ */
/* Closing: the one navy band, directly above the footer */
.closing { position: relative; padding-block: clamp(56px, 6vw, 88px); background: var(--navy); color: var(--on-navy); }
.closing__grid { display: grid; grid-template-columns: minmax(0, 7fr) minmax(0, 5fr); column-gap: clamp(32px, 6vw, 96px); row-gap: var(--s6); align-items: start; }
.closing__copy { display: flex; flex-direction: column; align-items: flex-start; gap: 16px; }
.closing__copy .display, .closing__copy .h2 { color: #fff; }
.closing__title, .closing .display { font-size: clamp(32px, 3.2vw, 46px); line-height: 1.1; letter-spacing: -0.02em; }
.closing__text { max-width: 48ch; color: var(--on-navy-muted); font-size: 17px; }
.closing__copy .actions { margin-top: var(--s2); }
.closing__alt { max-width: 60ch; font-size: 14.5px; color: var(--on-navy-muted); }
.closing__alt a { color: #fff; text-decoration: underline; text-underline-offset: 3px; }
/* without a side column the offer moves right, so the band has no empty half */
.closing__grid:not(:has(.closing__side)) .closing__copy { grid-column: 1 / -1; display: grid; grid-template-columns: minmax(0, 7fr) minmax(0, 5fr); column-gap: clamp(32px, 6vw, 96px); row-gap: 14px; align-items: start; }
.closing__grid:not(:has(.closing__side)) .closing__copy > .label { grid-column: 1; grid-row: 1; }
.closing__grid:not(:has(.closing__side)) .closing__copy > .display, .closing__grid:not(:has(.closing__side)) .closing__copy > .h2 { grid-column: 1; grid-row: 2 / span 3; }
.closing__grid:not(:has(.closing__side)) .closing__copy > .closing__text { grid-column: 2; grid-row: 2; padding-top: 6px; }
.closing__grid:not(:has(.closing__side)) .closing__copy > .actions { grid-column: 2; grid-row: 3; margin-top: var(--s2); }
.closing__grid:not(:has(.closing__side)) .closing__copy > .closing__alt { grid-column: 2; grid-row: 4; }
.closing__grid:not(:has(.closing__side)):not(:has(.label)) .closing__copy > .display { grid-row: 1 / span 3; }
.closing__grid:not(:has(.closing__side)):not(:has(.label)) .closing__copy > .closing__text { grid-row: 1; }
.closing__grid:not(:has(.closing__side)):not(:has(.label)) .closing__copy > .actions { grid-row: 2; }
.closing__grid:not(:has(.closing__side)):not(:has(.label)) .closing__copy > .closing__alt { grid-row: 3; }
.closing__side .label { margin-bottom: var(--s4); }
.closing__steps li { display: grid; grid-template-columns: 32px minmax(0, 1fr); gap: var(--s3); padding: 14px 0; border-top: 1px solid var(--navy-line); font-size: 15px; line-height: 1.55; color: var(--on-navy-muted); }
.closing__steps li:last-child { border-bottom: 1px solid var(--navy-line); }
.closing__steps .data { padding-top: 2px; color: var(--on-navy-accent); }
.closing__steps strong { display: block; margin-bottom: 2px; font-weight: 500; font-size: 16px; color: #fff; }
.closing__side-title { margin-bottom: var(--s3); font: 500 15px/1.3 var(--sans); color: #fff; }
.roles { display: flex; flex-wrap: wrap; gap: 8px; }
.roles li { padding: 8px 12px; font: 400 13px/1.2 var(--mono); color: var(--on-navy); border: 1px solid var(--navy-line); border-radius: var(--r); }

/* Footer: on band, under a hairline */
.footer { background: var(--band); color: var(--muted); padding-block: var(--s7) var(--s5); font-size: 15px; border-top: 1px solid var(--line); }
.footer__grid { display: grid; grid-template-columns: minmax(0, 1.4fr) repeat(4, minmax(0, 1fr)); gap: var(--s6) var(--gutter); }
.footer__brand { display: flex; flex-direction: column; gap: var(--s4); padding-right: var(--s5); }
.footer__brand img { height: 30px; width: auto; }
.footer__brand p { max-width: 30ch; line-height: 1.55; }
.footer__contact { display: flex; flex-direction: column; gap: 4px; }
.footer__contact a { color: var(--ink); transition: color var(--t-fast); }
.footer__title { margin-bottom: var(--s4); font: 400 12px/1 var(--mono); letter-spacing: 0.08em; text-transform: uppercase; color: var(--muted); }
.footer__group li + li { margin-top: 8px; }
.footer__group a { display: inline-flex; align-items: center; gap: 6px; color: var(--ink); line-height: 1.45; transition: color var(--t-fast); }
.footer__contact a:hover, .footer__group a:hover, .footer__legal a:hover { color: var(--blue-ink); }
.footer__all { color: var(--blue-ink) !important; font-weight: 500; }
.footer__all .arrow { width: 14px; height: 14px; }
.footer__base { display: flex; flex-wrap: wrap; justify-content: space-between; align-items: baseline; gap: var(--s3) var(--s5); margin-top: var(--s6); padding-top: var(--s4); border-top: 1px solid var(--line-strong); font-size: 14px; }
.footer__legal { display: flex; gap: var(--s5); }
.footer__legal a { color: var(--muted); }

/* ═══ Home ═════════════════════════════════════════════════════════════ */
/* Hero: the brand line, scope and actions on the left; engraved ribbon artwork behind on the right (see Hero artwork below) */
.hero { padding-block: clamp(48px, 6vw, 88px) clamp(40px, 4vw, 56px); }
.hero__grid { display: grid; grid-template-columns: repeat(12, minmax(0, 1fr)); column-gap: var(--gutter); row-gap: var(--s7); align-items: center; }
.hero__copy { grid-column: 1 / span 6; display: flex; flex-direction: column; align-items: flex-start; }
.hero__title { margin-top: 22px; font: 400 clamp(42px, 4.6vw, 66px)/1.04 var(--display); letter-spacing: -0.025em; color: var(--ink); font-optical-sizing: auto; text-wrap: balance; }
.hero__title span { display: block; }
.hero__title--plain { font-size: clamp(30px, 3vw, 42px); line-height: 1.08; }
.hero__accent { color: var(--blue); }
.hero__lead { max-width: 34em; margin-top: 22px; font-size: clamp(17px, 1.35vw, 19px); line-height: 1.6; color: var(--body); }
.hero__actions { margin-top: 34px; }


/* Hero artwork: engraved line work bleeding off the right, the copy on clean paper, facts on a rule at the foot */
.hero--art { position: relative; isolation: isolate; overflow: hidden; padding-block: clamp(24px, 2.8vw, 48px) clamp(24px, 2.4vw, 36px); }
.hero--art::after { content: ''; position: absolute; inset: 0; z-index: -1; pointer-events: none; opacity: 0.5; mix-blend-mode: multiply;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='160' height='160'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='.9' numOctaves='2' stitchTiles='stitch'/%3E%3CfeColorMatrix values='0 0 0 0 .55 0 0 0 0 .52 0 0 0 0 .45 0 0 0 .09 0'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E"); }
.hero--art .hero__grid { align-items: center; }
.hero--art .hero__actions { margin-top: 28px; justify-content: center; }
.hero--art .hero__copy { grid-column: 1 / span 6; }
.hero__film { grid-column: 7 / -1; margin: 0; }
.hero__film-frame { position: relative; overflow: hidden; aspect-ratio: 16 / 10; background: var(--canvas); border: 1px solid var(--line); border-radius: var(--r); box-shadow: 0 1px 2px rgba(11, 20, 40, 0.04), 0 30px 60px -36px rgba(11, 20, 40, 0.3); }
.hero__film video { display: block; width: 100%; height: 100%; object-fit: cover; }
.hero__film-toggle { position: absolute; right: 12px; bottom: 12px; display: grid; place-items: center; width: 36px; height: 36px; border-radius: var(--r); background: rgba(247, 247, 245, 0.88); border: 1px solid var(--line); color: var(--ink); opacity: 0; transition: opacity var(--t-fast), background var(--t-fast); }
.hero__film:hover .hero__film-toggle, .hero__film-toggle:focus-visible, .hero__film.is-paused .hero__film-toggle { opacity: 1; }
.hero__film-toggle:hover { background: #fff; }
.hero__film-toggle svg { width: 14px; height: 14px; }
.hero__film .i-play, .hero__film.is-paused .i-pause { display: none; }
.hero__film.is-paused .i-play { display: block; }
/* chapters: what the film covers, where it is, and a way to jump to a part */
.chapters { display: grid; grid-template-columns: repeat(6, minmax(0, 1fr)); gap: 8px; margin-top: 14px; }
.chapters button { display: flex; flex-direction: column; gap: 8px; padding: 4px 0; text-align: left; color: var(--muted); }
.chapters__bar { position: relative; display: block; height: 2px; overflow: hidden; background: var(--line); }
.chapters__bar i { position: absolute; inset: 0; background: var(--blue); transform: scaleX(var(--p, 0)); transform-origin: 0 50%; }
.chapters__name { font: 400 11.5px/1.2 var(--mono); letter-spacing: 0.06em; text-transform: uppercase; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; transition: color var(--t-fast); }
.chapters button:hover .chapters__name, .chapters button.is-on .chapters__name { color: var(--ink); }
.chapters button.is-on .chapters__name { color: var(--blue-ink); }
.chapters button.is-done .chapters__bar i { transform: scaleX(1); background: var(--line-strong); }
@media (max-width: 1199px) {
  .hero--art .hero__copy { grid-column: 1 / span 6; }
}
@media (max-width: 899px) {
  .hero--art .hero__grid { min-height: 0; padding-top: 8px; }
  /* phones: the film sits between the headline and the paragraph */
  .hero--art .hero__grid { display: flex; flex-direction: column; align-items: stretch; row-gap: 0; }
  .hero--art .hero__copy { display: contents; }
  .hero--art .hero__copy > .label { order: 1; align-self: flex-start; }
  .hero--art .hero__title { order: 2; }
  .hero__film { order: 3; width: 100%; margin-top: 24px; }
  .hero--art .hero__lead { order: 4; margin-top: 24px; }
  .hero--art .hero__actions { order: 5; }
  .chapters { gap: 5px; }
  .chapters__name { font-size: 10.5px; letter-spacing: 0.01em; text-overflow: clip; }
  .hero__film-toggle { opacity: 1; }
  .hero--art .hero__copy { grid-column: 1 / -1; }
}
@media (max-width: 599px) {
  .hero__copy > .label { font-size: 11.5px; letter-spacing: 0.04em; }
  /* phones: the label and H1 sit above the film, so the page says what Offset does before the film starts */
  .hero.hero--art { padding-top: 0; }  /* beats the generic phone rule `.hero { padding-block: 36px 52px }` further down */
  .hero--art .hero__grid { padding-top: 0; }
  .hero.hero--art { padding-bottom: 28px; }
  .chapters { margin-top: 10px; }
  .hero--art .hero__lead { order: -1; margin: 0 0 20px; font-size: 16px; }
  .hero--art .hero__actions { margin-top: 20px; }
  .hero--art .hero__copy > .label { order: -3; margin-top: 20px; }
  .hero--art .hero__title { order: -2; margin: 12px 0 10px; font-size: 28px; }
  .hero__film { order: 0; margin-top: 0; }
  .hero__film-frame { aspect-ratio: 4 / 5; margin-inline: calc(var(--gutter) * -1); border: 0; border-radius: 0; box-shadow: none; border-bottom: 1px solid var(--line); }
}

/* Partner strip: logos only, under the hero */
.platforms .wrap { position: relative; }
.platforms { padding-block: 0 40px; }
.platforms .wrap > .platforms__caption { padding-top: 20px; border-top: 1px solid var(--line); }
.platforms .wrap { display: flex; flex-direction: column; gap: 10px; }
.platforms__caption { font-size: 13.5px; line-height: 1.4; color: var(--muted); }
.platforms__list { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 20px 32px; }
.platforms__list li { display: flex; align-items: center; height: 32px; }
.platforms__list img, .platforms__list svg { width: auto; height: var(--h, 22px); filter: grayscale(1); opacity: 0.62; transition: filter var(--t-mid), opacity var(--t-mid); }
.platforms__list li:hover img, .platforms__list li:hover svg { filter: none; opacity: 1; }

/* Practices: three groups, each a short list of doors */
.practices { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); column-gap: var(--gutter); row-gap: var(--s7); }
.practices__group { display: flex; flex-direction: column; padding-top: var(--s5); border-top: 1px solid var(--ink); }
.practices__title { font: 400 25px/1.2 var(--display); letter-spacing: -0.015em; color: var(--ink); }
.practices__text { margin-top: 8px; font-size: 15px; line-height: 1.55; color: var(--muted); min-height: 3.1em; }
.practices__list { margin-top: var(--s5); border-top: 1px solid var(--line); }
.practices__list a { display: grid; grid-template-columns: minmax(0, 1fr) 16px; column-gap: var(--s4); align-items: center; padding: 16px 0; border-bottom: 1px solid var(--line); transition: color var(--t-fast); }
.practices__name { display: block; font: 600 16px/1.35 var(--sans); letter-spacing: -0.008em; color: var(--ink); transition: color var(--t-fast); }
.practices__tag { display: block; margin-top: 3px; font-size: 14px; line-height: 1.4; color: var(--muted); }
.practices__list .arrow { color: var(--muted); }
.practices__list a:hover .practices__name { color: var(--blue-ink); }
.practices__list a:hover .arrow { color: var(--blue); }

/* Why: the position on the left, four convictions on the right */
.why { display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 7fr); column-gap: clamp(32px, 6vw, 96px); row-gap: var(--s6); align-items: start; }
.why__head { display: flex; flex-direction: column; gap: 18px; }
.why__lead { font-size: 17px; line-height: 1.6; color: var(--body); }
.why__list { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: var(--s6) var(--gutter); }
.why__list li { padding-top: var(--s4); border-top: 1px solid var(--line-strong); }
.why__list h3 { margin-bottom: 8px; }
.why__list p { font-size: 15.5px; line-height: 1.6; color: var(--body); }

/* Post-quantum: head, then a horizontal timeline */
.pqc__head { display: grid; grid-template-columns: minmax(0, 7fr) minmax(0, 5fr); column-gap: clamp(32px, 6vw, 96px); row-gap: var(--s5); align-items: start; margin-bottom: var(--s7); }
.pqc__copy { padding-top: 34px; }
.pqc__head > div:first-child { display: flex; flex-direction: column; align-items: flex-start; gap: 14px; }
.pqc__text { font-size: 16.5px; line-height: 1.65; color: var(--body); }
.pqc__copy .actions { margin-top: var(--s5); }
.pqc__timeline { position: relative; display: grid; grid-template-columns: repeat(5, minmax(0, 1fr)); column-gap: var(--gutter); }
.pqc__timeline::before { content: ''; position: absolute; left: 0; right: 0; top: 6px; height: 1px; background: var(--line-strong); }
.pqc__timeline li { position: relative; display: flex; flex-direction: column; gap: 6px; padding-top: 30px; }
.pqc__timeline li::before { content: ''; position: absolute; left: 0; top: 0; width: 13px; height: 13px; border-radius: 50%; background: var(--band); border: 1.5px solid var(--ink); }
.pqc__when { font: 400 13.5px/1.3 var(--mono); color: var(--muted); }
.pqc__timeline strong { font-size: 16px; line-height: 1.35; font-weight: 600; color: var(--ink); }
.pqc__timeline span:not(.pqc__when) { font-size: 14.5px; line-height: 1.5; color: var(--muted); }
.pqc__timeline li.is-now::before { background: var(--blue); border-color: var(--blue); box-shadow: 0 0 0 5px var(--blue-wash); }
.pqc__timeline li.is-now .pqc__when { color: var(--blue-ink); }
.pqc__now { margin-left: 8px; padding: 2px 6px; border-radius: var(--r); background: var(--blue); color: #fff; font: 500 11px/1.4 var(--sans); letter-spacing: 0.02em; font-style: normal; vertical-align: 1px; }
.m .pqc__timeline.is-armed::before { transform: scaleX(0); transform-origin: 0 50%; }
.m .pqc__timeline.is-armed.is-in::before { transform: none; transition: transform 1.4s cubic-bezier(0.65, 0, 0.35, 1) 100ms; }

/* Sectors: a 3 × 2 matrix of doors, each with the rules it answers to */
.sectors { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); border-top: 1px solid var(--ink); }
.sectors > li { border-bottom: 1px solid var(--line); }
.sectors > li:not(:nth-child(3n+1)) { border-left: 1px solid var(--line); }
.sectors a { position: relative; display: flex; flex-direction: column; gap: 6px; height: 100%; padding: 26px 56px 28px 24px; transition: background var(--t-fast); }
.sectors > li:nth-child(3n+1) a { padding-left: 0; }
.sectors > li:nth-child(3n+1) a:hover { padding-left: 0; }
.sectors__name { font: 400 26px/1.15 var(--display); letter-spacing: -0.015em; color: var(--ink); transition: color var(--t-fast); }
.sectors__line { font-size: 15px; line-height: 1.5; color: var(--body); }
.sectors__fws { margin-top: 10px; font: 400 12.5px/1.5 var(--mono); color: var(--muted); }
.sectors a > .arrow { position: absolute; right: 22px; top: 32px; color: var(--muted); }
.sectors a:hover { background: linear-gradient(180deg, rgba(36, 87, 214, 0.05), transparent); }
.sectors a:hover .sectors__name { color: var(--blue-ink); }
.sectors a:hover > .arrow { color: var(--blue); }

/* Tools: free products, copy and list beside a real screenshot */
.tools { display: grid; grid-template-columns: repeat(12, minmax(0, 1fr)); column-gap: var(--gutter); row-gap: var(--s7); align-items: center; }
.tools__copy { grid-column: 1 / span 5; display: flex; flex-direction: column; align-items: flex-start; gap: 14px; }
.tools__copy > p { color: var(--body); }
.tools__shot { grid-column: 7 / -1; }
.tools__list { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); width: 100%; margin-top: var(--s3); border-top: 1px solid var(--line-strong); }
.tools__list li { border-bottom: 1px solid var(--line); }
.tools__list a { display: flex; flex-direction: column; gap: 2px; padding: 12px 12px 12px 0; }
.tools__list strong { font-weight: 600; font-size: 15.5px; color: var(--ink); transition: color var(--t-fast); }
.tools__list span { font-size: 13.5px; line-height: 1.4; color: var(--muted); }
.tools__list a:hover strong { color: var(--blue-ink); }
.tools__copy .link { margin-top: var(--s3); }

/* Plate: a real screenshot in a window frame */
.plate__frame { position: relative; overflow: hidden; background: var(--surface); border: 1px solid var(--line); border-radius: var(--r); box-shadow: 0 1px 2px rgba(11, 20, 40, 0.04), 0 28px 56px -32px rgba(11, 20, 40, 0.32); }
.plate__bar { display: flex; align-items: center; gap: 6px; height: 32px; padding: 0 12px; border-bottom: 1px solid var(--line); background: var(--canvas); font: 400 12.5px/1 var(--mono); color: var(--muted); }
.plate__bar i { width: 8px; height: 8px; border-radius: 50%; background: var(--line-strong); }
.plate__bar span { margin-left: 8px; }
.plate img { width: 100%; aspect-ratio: 16 / 10; object-fit: cover; object-position: top left; }

/* ═══ Inner pages ══════════════════════════════════════════════════════ */
/* Page header: eyebrow, title (with its promise as a sans subtitle), lead, actions. Stacked, one left edge. */
.phero { padding: clamp(40px, 4.4vw, 64px) 0 clamp(44px, 4.6vw, 64px); border-bottom: 1px solid var(--line); }
.phero__eyebrow { display: flex; margin: 0 0 20px; }
.phero__grid { display: grid; grid-template-columns: repeat(12, minmax(0, 1fr)); column-gap: var(--gutter); row-gap: 20px; align-items: start; }
.phero__title { grid-column: 1 / span 10; }
.phero__title em { display: block; max-width: 40em; margin-top: 16px; font: 400 clamp(18px, 1.5vw, 21px)/1.45 var(--sans); letter-spacing: -0.006em; color: var(--muted); text-wrap: balance; }
.phero__side { grid-column: 1 / span 7; display: flex; flex-direction: column; align-items: flex-start; gap: var(--s4); }
.phero__lead { font-size: clamp(17px, 1.35vw, 19px); line-height: 1.6; color: var(--body); }
.phero__side p { color: var(--body); }
.phero__side strong { color: var(--ink); }
.phero__side a:not(.btn):not(.link) { color: var(--ink); text-decoration: underline; text-underline-offset: 3px; text-decoration-color: var(--line-strong); }
.phero__actions { grid-column: 1 / -1; margin-top: var(--s2); }
.phero__grid--wide .phero__title { grid-column: 1 / span 11; }
.phero--plain { border-bottom: 0; }
.phero--plain + .section, .phero + .section { border-top: 0; }
.guide-page .phero__title, .legal-page .phero__title, .phero__title--compact { font-size: clamp(32px, 3.2vw, 44px); }
.nowrap { white-space: nowrap; }

/* Industry figures in the header */
.stats { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); margin-top: var(--s7); border-top: 1px solid var(--ink); }
.stats li { display: flex; flex-direction: column; gap: 8px; padding: var(--s5) var(--s6) 0 0; }
.stats li + li { padding-left: var(--s6); border-left: 1px solid var(--line); }
.stats__value { font: 400 clamp(34px, 3.2vw, 46px)/1 var(--display); letter-spacing: -0.025em; color: var(--ink); font-variant-numeric: tabular-nums lining-nums; }
.stats__text { max-width: 32ch; font-size: 15px; line-height: 1.55; color: var(--muted); }
.stats__src { display: block; margin-top: 8px; font: 400 11.5px/1.4 var(--mono); letter-spacing: 0.01em; color: var(--muted); opacity: 0.85; }

/* Sector pages: the figures move beside the title instead of trailing under it */
@media (min-width: 1100px) {
  .phero:has(.stats) .wrap { display: grid; grid-template-columns: minmax(0, 7fr) minmax(0, 4fr); column-gap: clamp(40px, 7vw, 112px); align-items: start; }
  .phero:has(.stats) .phero__eyebrow { grid-column: 1; grid-row: 1; }
  .phero:has(.stats) .phero__grid { grid-column: 1; grid-row: 2; }
  .phero:has(.stats) .phero__grid > * { grid-column: 1 / -1; }
  .phero:has(.stats) .stats { grid-column: 2; grid-row: 1 / span 2; grid-template-columns: minmax(0, 1fr); margin-top: 0; border-top: 1px solid var(--ink); }
  .phero:has(.stats) .stats li, .phero:has(.stats) .stats li + li { padding: 18px 0; border-left: 0; }
  .phero:has(.stats) .stats li + li { border-top: 1px solid var(--line); }
  .phero:has(.stats) .stats li:last-child { padding-bottom: 0; }
  .phero:has(.stats) .stats__value { font-size: clamp(32px, 2.8vw, 40px); }
}

/* Service header: the pitch left, an at-a-glance card right */
.svc-hero__grid { display: grid; grid-template-columns: minmax(0, 7fr) minmax(0, 5fr); gap: clamp(32px, 5vw, 80px); align-items: start; }
.svc-hero__pitch { display: flex; flex-direction: column; align-items: flex-start; gap: 20px; }
.svc-hero__pitch .phero__eyebrow { margin-bottom: 0; }
.svc-hero__pitch .phero__lead { max-width: 54ch; }
.svc-hero__pitch .actions { margin-top: var(--s2); }
.glance { padding: var(--s5); border: 1px solid var(--line); border-radius: var(--r); background: var(--surface); }
.glance__label { margin-bottom: var(--s3); font: 400 12px/1.3 var(--mono); letter-spacing: 0.06em; text-transform: uppercase; color: var(--muted); }
.glance__phases li { display: grid; grid-template-columns: 28px minmax(0, 1fr) auto; gap: 12px; align-items: baseline; padding: 10px 0; border-top: 1px solid var(--line); }
.glance__n { font: 400 12.5px/1 var(--mono); color: var(--blue-ink); }
.glance__name { font: 500 15px/1.35 var(--sans); color: var(--ink); }
.glance__when { font: 400 13px/1.3 var(--sans); color: var(--muted); text-align: right; white-space: nowrap; }
.glance__std { margin-top: var(--s2); padding-top: var(--s4); border-top: 1px solid var(--line); }
.glance__std .glance__label { margin-bottom: 10px; }
.phero__std-list { display: flex; flex-wrap: wrap; gap: 6px; }
.glance .phero__std-list li { background: var(--canvas); }

/* Service overview: what it is and why it matters, against what we deliver */
.overview__grid { display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 7fr); gap: clamp(32px, 5vw, 80px); align-items: start; }
.overview__what { display: flex; flex-direction: column; align-items: flex-start; }
.overview__what .label, .overview__deliver .label { display: flex; margin: 0 0 var(--s4); }
.overview__title { margin-bottom: var(--s4); font: 500 clamp(20px, 1.7vw, 23px)/1.45 var(--sans); letter-spacing: -0.01em; }
.overview__text { font-size: 16px; line-height: 1.65; color: var(--body); }
.overview__why { display: flex; flex-direction: column; gap: 8px; margin-top: var(--s5); padding-top: var(--s5); border-top: 1px solid var(--line-strong); }
.overview__k { font: 400 12px/1.3 var(--mono); letter-spacing: 0.06em; text-transform: uppercase; color: var(--muted); }
.overview__mid { font: 600 18.5px/1.4 var(--sans); letter-spacing: -0.01em; color: var(--ink); }
.deliver { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: var(--s4); }
.deliver__item { padding: var(--s5); border: 1px solid var(--line); border-radius: var(--r); background: var(--surface); }
.deliver__item h3 { margin: 0 0 6px; font: 600 16.5px/1.35 var(--sans); letter-spacing: -0.01em; color: var(--ink); }
.deliver__item p { font-size: 15px; line-height: 1.6; color: var(--body); }
.overview__fws { margin-top: var(--s7); padding-top: var(--s5); border-top: 1px solid var(--line-strong); }
.overview__fws .overview__k { margin-bottom: var(--s4); }
.fws { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: var(--s4); width: 100%; }
.fws > li { display: flex; flex-direction: column; gap: 2px; padding: var(--s5); border: 1px solid var(--line); border-radius: var(--r); background: var(--surface); }
.fws strong { font: 400 22px/1.2 var(--display); letter-spacing: -0.015em; color: var(--ink); }
.fws span { margin-bottom: var(--s3); font: 400 13.5px/1.4 var(--sans); color: var(--muted); }
.fws li li { padding: 3px 0; font-size: 14px; line-height: 1.5; }

/* Industry delivery list (2 × 2, on canvas): rows under a rule, not cards */
.deliver > li:not(.deliver__item) { display: flex; flex-direction: column; gap: 10px; padding-top: var(--s5); border-top: 1px solid var(--line-strong); }
ul.deliver:not(:has(.deliver__item)) { gap: var(--s7) var(--s7); }
.deliver__kind { font: 400 12px/1.3 var(--mono); letter-spacing: 0.06em; text-transform: uppercase; color: var(--muted); }
.deliver__kind span { color: var(--blue-ink); margin-right: 6px; }
.deliver > li:not(.deliver__item) > p:not(.deliver__kind) { font-size: 15.5px; line-height: 1.65; }
.deliver__link { align-self: flex-start; margin-top: var(--s2); font-size: 15px; }

/* Workflow: each step one row; number, what happens, what you receive */
.workflow .shead { margin-bottom: var(--s6); }
.steps { border-top: 1px solid var(--ink); }
.step { display: grid; grid-template-columns: 64px minmax(0, 1.5fr) minmax(0, 1fr); column-gap: clamp(24px, 3vw, 48px); align-items: start; padding: var(--s6) 0; border-bottom: 1px solid var(--line); }
.steps .step:last-child { padding-bottom: 0; border-bottom: 0; }
.step__n { font: 400 36px/1 var(--display); letter-spacing: -0.02em; color: var(--blue); font-variant-numeric: lining-nums; }
.step__main { display: flex; flex-direction: column; align-items: flex-start; gap: 10px; }
.step__when { padding: 3px 8px; border-radius: var(--r); background: var(--blue-wash); font: 500 12.5px/1.3 var(--sans); color: var(--blue-ink); }
.step__title { font: 600 clamp(19px, 1.6vw, 22px)/1.3 var(--sans); letter-spacing: -0.015em; color: var(--ink); }
.step__text { max-width: 60ch; font-size: 16px; line-height: 1.65; color: var(--body); }
.step__out { padding: var(--s4) var(--s5); border-radius: var(--r); background: var(--surface); border: 1px solid var(--line); }
.step__label { margin-bottom: 10px; font: 400 12px/1.2 var(--mono); letter-spacing: 0.06em; text-transform: uppercase; color: var(--muted); }
.step__out .olist li { font-size: 15px; line-height: 1.5; color: var(--ink); }
.step__out .olist li + li { margin-top: 8px; }

/* Pager: previous / next in a series */
.pager { padding-block: var(--section); }
.pager__row { display: grid; grid-template-columns: 1fr 1fr; border-top: 1px solid var(--line-strong); border-bottom: 1px solid var(--line); }
.pager__cell { position: relative; display: flex; flex-direction: column; gap: 10px; padding: var(--s6) 72px var(--s6) 0; transition: background var(--t-fast); }
.pager__cell--next { padding-left: var(--s6); border-left: 1px solid var(--line); }
.pager__name { font: 400 24px/1.2 var(--display); letter-spacing: -0.015em; color: var(--ink); transition: color var(--t-fast); }
.pager__cell > .arrow { position: absolute; right: 16px; top: calc(var(--s6) + 14px); width: 40px; height: 40px; padding: 12px; border: 1px solid var(--line-strong); border-radius: var(--r); transition: background var(--t-fast), border-color var(--t-fast), color var(--t-fast), transform var(--t-mid) var(--ease); }
.pager__cell--prev > .arrow { transform: rotate(180deg); }
.pager__cell--prev:hover > .arrow { transform: rotate(180deg) translateX(3px); }
.pager__cell:hover .pager__name { color: var(--blue-ink); }
.pager__cell:hover > .arrow { background: var(--ink); border-color: var(--ink); color: #fff; }
.pager__all { margin-top: var(--s5); }
.workflow + .pager { padding-top: 0; }

/* Services hub: three groups, each a titled row of service cards */
.sgroup { display: grid; grid-template-columns: minmax(0, 3fr) minmax(0, 9fr); gap: clamp(24px, 4vw, 56px); padding-block: var(--s7); border-top: 1px solid var(--line-strong); }
.sgroup:first-child { border-top: 0; padding-top: 0; }
.sgroup:last-child { padding-bottom: 0; }
.sgroups { padding-top: var(--s7); background: var(--band); }
.sgroup__head { position: sticky; top: calc(var(--nav-h) + 24px); align-self: start; display: flex; flex-direction: column; gap: var(--s3); }
.sgroup__title { font-size: clamp(26px, 2.3vw, 32px); line-height: 1.12; }
.sgroup__text { font-size: 15px; line-height: 1.6; color: var(--muted); }
.tiles { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: var(--s4); }
.tiles > li { display: flex; }
.tile { display: flex; flex-direction: column; align-items: flex-start; width: 100%; padding: var(--s5); border: 1px solid var(--line); border-radius: var(--r); background: var(--surface); transition: border-color var(--t-fast); }
.tile:hover { border-color: var(--ink); }
.tile__icon { display: block; margin-bottom: var(--s4); color: var(--blue-ink); }
.tile__icon svg { width: 26px; height: 26px; }
.tile__name { font: 600 18px/1.3 var(--sans); letter-spacing: -0.012em; color: var(--ink); text-wrap: balance; }
.tile__tag { margin-top: 4px; font-size: 14px; line-height: 1.4; color: var(--muted); }
.tile__text { margin-top: var(--s3); font-size: 15px; line-height: 1.6; color: var(--body); }
.tile__list { width: 100%; margin-top: var(--s4); padding-top: var(--s3); border-top: 1px solid var(--line); }
.tile__list li { position: relative; padding: 4px 0 4px 18px; font-size: 14px; line-height: 1.45; color: var(--ink); }
.tile__list li::before { content: ''; position: absolute; left: 1px; top: 11px; width: 8px; height: 3px; background: var(--blue); transform: var(--skew); }
.tile__more { display: inline-flex; align-items: center; gap: 8px; margin-top: auto; padding-top: var(--s5); font: 500 15px/1 var(--sans); color: var(--ink); }
.tile:hover .tile__more { color: var(--blue-ink); }

/* Industry exposures: number, title, text */
.exposures { border-top: 1px solid var(--ink); }
.exposure { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.4fr); column-gap: var(--gutter); padding: var(--s6) 0; border-bottom: 1px solid var(--line); }
.exposures .exposure:last-child { padding-bottom: 0; border-bottom: 0; }
.exposure__title { font-size: 20px; padding-right: var(--s5); }
.exposure__text { font-size: 16px; line-height: 1.65; }

/* Frameworks on band */
.rules { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); column-gap: var(--gutter); row-gap: var(--s6); }
.rules li { display: flex; flex-direction: column; gap: var(--s3); padding-top: var(--s5); border-top: 1px solid var(--ink); }
.rules__name { font: 400 24px/1.2 var(--display); letter-spacing: -0.015em; color: var(--ink); }
.rules p { font-size: 15px; line-height: 1.65; }

/* Sideways navigation between sectors */
.siblings { padding-bottom: var(--section); }
.siblings ul { display: grid; grid-template-columns: repeat(5, minmax(0, 1fr)); margin-top: var(--s4); border-top: 1px solid var(--line-strong); }
.siblings li + li { border-left: 1px solid var(--line); }
.siblings ul a { display: flex; align-items: center; justify-content: space-between; gap: 10px; height: 100%; padding: 18px 16px; font: 500 16px/1.3 var(--sans); color: var(--ink); border-bottom: 1px solid var(--line); transition: background var(--t-fast), color var(--t-fast); }
.siblings ul a:hover { background: var(--band); color: var(--blue-ink); }
.siblings .arrow { color: var(--muted); }

/* Industries overview rows */
.xrows { border-top: 1px solid var(--ink); }
.xrow { position: relative; display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 6fr) 40px; column-gap: var(--gutter); padding: var(--s6) 0; border-bottom: 1px solid var(--line); transition: background var(--t-fast); }
.xrows li:last-child .xrow { border-bottom: 0; }
.xrow__head { display: flex; flex-direction: column; gap: 8px; }
.xrow__name { font: 400 clamp(28px, 2.6vw, 36px)/1.08 var(--display); letter-spacing: -0.02em; color: var(--ink); transition: color var(--t-fast); }
.xrow__line { font: 400 16.5px/1.45 var(--sans); color: var(--muted); }
.xrow__body { display: flex; flex-direction: column; gap: var(--s3); padding-top: 6px; }
.xrow__fws { color: var(--ink); font-size: 13px; }
.xrow__fws span { color: var(--line-strong); margin: 0 4px; }
.xrow__text { font-size: 15.5px; line-height: 1.6; color: var(--body); }
.xrow > .arrow { justify-self: end; width: 40px; height: 40px; margin-top: 4px; padding: 12px; border: 1px solid var(--line-strong); border-radius: var(--r); transition: background var(--t-fast), border-color var(--t-fast), color var(--t-fast); }
.xrow:hover { background: linear-gradient(90deg, rgba(36, 87, 214, 0.05), transparent 70%); }
.xrow:hover .xrow__name { color: var(--blue-ink); }
.xrow:hover > .arrow { background: var(--ink); border-color: var(--ink); color: #fff; transform: none; }

/* About: one type scale. Serif for the three statements (story heading, quote, principles heading);
   everything else is 17px body, with principle titles as 19px sans. */
.ab-story__grid { display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 7fr); column-gap: clamp(40px, 7vw, 112px); align-items: start; }
.ab-story__head { position: sticky; top: calc(var(--nav-h) + 32px); }
.ab-story__text { display: flex; flex-direction: column; gap: 20px; max-width: 38em; font-size: 17px; line-height: 1.7; color: var(--body); }
.ab-story__lead { font-size: 17px; line-height: 1.7; color: var(--ink); font-weight: 500; }
.ab-mission__wrap { max-width: 880px; }
.ab-mission__quote { margin: 0; padding-left: var(--s6); border-left: 2px solid var(--blue); }
.ab-mission__quote p { font: 400 clamp(26px, 2.6vw, 36px)/1.3 var(--display); letter-spacing: -0.015em; color: var(--ink); text-wrap: balance; }
.ab-mission__text { margin-top: var(--s5); padding-left: calc(var(--s6) + 2px); max-width: 62ch; font-size: 17px; line-height: 1.7; color: var(--body); }
.ab-principles__list { border-top: 1px solid var(--ink); }
.ab-principles__list li { display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 7fr); column-gap: clamp(40px, 7vw, 112px); padding: 24px 0; border-bottom: 1px solid var(--line); }
.ab-principles__list li:last-child { border-bottom: 0; padding-bottom: 0; }
.ab-principles__list h3 { font-size: 19px; }
.ab-principles__list p { max-width: 38em; font-size: 17px; line-height: 1.7; color: var(--body); }

/* Document layout: sticky index + body (guides, legal) */
.doc { display: grid; grid-template-columns: repeat(12, minmax(0, 1fr)); column-gap: var(--gutter); padding-bottom: var(--section); }
.doc__index { grid-column: 1 / span 3; align-self: start; position: sticky; top: calc(var(--nav-h) + 40px); padding-top: var(--s7); }
.doc__index ol { border-top: 1px solid var(--line); }
.doc__index a { display: grid; grid-template-columns: 30px minmax(0, 1fr); gap: 4px; padding: 11px 0; border-bottom: 1px solid var(--line); font-size: 14.5px; line-height: 1.4; font-weight: 500; color: var(--muted); transition: color var(--t-fast); }
.doc__index a .data { font-size: 12.5px; padding-top: 1px; }
.doc__index a:hover { color: var(--ink); }
.doc__index a[aria-current="true"] { color: var(--blue-ink); }
.doc__index a[aria-current="true"] .data { color: var(--blue); }
.doc__body { grid-column: 4 / -1; }

/* Legal */
.legal-dates { display: flex; flex-direction: row; flex-wrap: wrap; gap: var(--s3) var(--s7); }
.legal-dates dt { font: 400 12px/1.4 var(--mono); letter-spacing: 0.06em; text-transform: uppercase; color: var(--muted); }
.legal-dates dd { margin: 2px 0 0; font-size: 16px; color: var(--ink); }
.legal { max-width: 720px; padding-top: var(--s7); font-size: 16.5px; line-height: 1.75; }
.legal h2 { display: flex; align-items: baseline; gap: 14px; margin: var(--s7) 0 var(--s4); padding-top: var(--s5); border-top: 1px solid var(--line-strong); font: 400 clamp(22px, 2vw, 26px)/1.25 var(--display); letter-spacing: -0.015em; color: var(--ink); scroll-margin-top: calc(var(--nav-h) + 24px); }
.legal h2:first-child { margin-top: 0; padding-top: 0; border-top: 0; }
.legal h2 .data { font-size: 13px; color: var(--blue-ink); }
.legal p + p, .legal p + ul, .legal ul + p { margin-top: var(--s4); }
.legal ul { list-style: disc; padding-left: 1.3em; }
.legal li + li { margin-top: 6px; }
.legal li::marker { color: var(--blue-ink); }
.legal strong { color: var(--ink); }
.legal a { text-decoration: underline; text-underline-offset: 3px; text-decoration-color: var(--line-strong); }
.legal a:hover { color: var(--blue-ink); text-decoration-color: currentColor; }

/* ═══ Products ═════════════════════════════════════════════════════════ */
.pp-icon { width: 16px; height: 16px; flex-shrink: 0; }
.btn .pp-icon { width: 17px; height: 17px; }
.jump { display: flex; flex-wrap: wrap; gap: 6px 0; font: 400 13px/1.4 var(--mono); }
.jump a { padding-right: 14px; margin-right: 14px; border-right: 1px solid var(--line-strong); color: var(--muted); white-space: nowrap; transition: color var(--t-fast); }
.jump a:last-child { border-right: 0; margin-right: 0; padding-right: 0; }
.jump a:hover { color: var(--ink); }

/* product page header */
.prod { padding-bottom: var(--s7); }
.prod__grid { display: grid; grid-template-columns: repeat(12, minmax(0, 1fr)); column-gap: var(--gutter); row-gap: var(--s6); align-items: center; }
.prod__copy { grid-column: 1 / span 5; display: flex; flex-direction: column; align-items: flex-start; gap: 14px; }
.prod__copy .phero__eyebrow { margin-bottom: 4px; }
.prod__show { grid-column: 6 / -1; }
.prod__name { font-size: clamp(40px, 4.2vw, 58px); line-height: 1.04; }
.prod__tag { font-size: clamp(17px, 1.4vw, 19px); line-height: 1.55; color: var(--ink); }
.prod__meta { display: flex; flex-wrap: wrap; gap: 4px 0; margin-bottom: 2px; line-height: 1.5; color: var(--muted); font-size: 13px; }
.prod__meta span { margin: 0 8px; color: var(--line-strong); }
.prod__desc { font-size: 15.5px; line-height: 1.6; color: var(--muted); }
.prod__copy .actions, .band__copy .actions { margin-top: var(--s2); }

/* product index strip */
.pindex-strip { display: grid; grid-auto-flow: column; grid-auto-columns: minmax(0, 1fr); border-top: 1px solid var(--ink); }
.pindex-strip--5 { }  /* columns follow the number of products */
.pindex-strip li + li { border-left: 1px solid var(--line); }
.pindex-strip a { display: flex; flex-direction: column; gap: 4px; height: 100%; padding: 18px 16px; border-bottom: 1px solid var(--line); transition: background var(--t-fast); }
.pindex-strip li:first-child a { padding-left: 0; }
.pindex-strip strong { font-weight: 600; color: var(--ink); transition: color var(--t-fast); }
.pindex-strip span { font: 400 13.5px/1.4 var(--sans); color: var(--muted); }
.pindex-strip a:hover strong { color: var(--blue-ink); }
.phero .pindex-strip { margin-top: var(--s7); }
.phero .pindex-strip a { border-bottom: 0; padding-bottom: 4px; }

/* product bands (Products page) */
.band { scroll-margin-top: var(--nav-h); }
.band-anchor { height: 0; scroll-margin-top: var(--nav-h); }
.band__grid { display: grid; grid-template-columns: repeat(12, minmax(0, 1fr)); column-gap: var(--gutter); row-gap: var(--s7); align-items: center; }
.band__copy { grid-column: 1 / span 5; display: flex; flex-direction: column; align-items: flex-start; gap: 14px; }
.band__show { grid-column: 6 / -1; }
.band--flip .band__copy { grid-column: 8 / -1; grid-row: 1; }
.band--flip .band__show { grid-column: 1 / span 7; grid-row: 1; }
.band.section { padding-block: calc(var(--section) * 0.8); }
.more { padding-block: var(--s6); }
.more p { display: flex; flex-wrap: wrap; align-items: baseline; gap: 12px; color: var(--muted); }

/* slideshow window (behaviour in js/products.js) */
.pp-show { --show-ms: 5500ms; --show-ease: cubic-bezier(0.65, 0, 0.35, 1); }
.pp-window { position: relative; overflow: hidden; background: var(--surface); border: 1px solid var(--line); border-radius: var(--r); box-shadow: 0 1px 2px rgba(11, 20, 40, 0.04), 0 28px 56px -32px rgba(11, 20, 40, 0.32); }
button.pp-window { display: block; width: 100%; padding: 0; cursor: zoom-in; text-align: left; }
.pp-window__bar { display: flex; align-items: center; gap: 6px; height: 32px; padding: 0 12px; background: var(--canvas); border-bottom: 1px solid var(--line); }
.pp-term__dot { width: 8px; height: 8px; border-radius: 50%; background: var(--line-strong); }
.pp-window__title { margin-left: 8px; font: 400 12.5px/1 var(--mono); color: var(--muted); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.pp-show__stage { position: relative; aspect-ratio: 16 / 10; overflow: hidden; background: var(--surface); }
.pp-show__slide { position: absolute; inset: 0; display: block; width: 100%; padding: 0; border: 0; background: var(--surface); cursor: zoom-in; overflow: hidden; transform: translateX(100%); visibility: hidden; transition: transform 0.6s var(--show-ease), visibility 0s linear 0.6s; }
.pp-show__slide.from-left, .pp-show__slide.to-left { transform: translateX(-100%); }
.pp-show__slide.is-active { transform: none; visibility: visible; transition: transform 0.6s var(--show-ease), visibility 0s; }
.pp-show__slide.is-instant { transition: none; }
.pp-show__slide img, .pp-window > img { display: block; width: 100%; height: 100%; object-fit: cover; object-position: top left; transform-origin: 0 0; }
.pp-show__nav { display: flex; align-items: flex-start; gap: var(--s4); margin-top: var(--s5); }
.pp-show__tabs { flex: 1; min-width: 0; display: grid; grid-auto-flow: column; grid-auto-columns: minmax(0, 1fr); gap: 10px; }
.pp-show__tab { display: grid; gap: 8px; padding: 4px 0; text-align: left; }
.pp-show__track { display: block; height: 2px; background: var(--line); overflow: hidden; }
.pp-show__track i { display: block; height: 100%; background: var(--blue); transform: scaleX(0); transform-origin: left; }
.pp-show__tab.is-active .pp-show__track i { animation: pp-show-fill var(--show-ms) linear forwards; }
@keyframes pp-show-fill { to { transform: scaleX(1); } }
.pp-show__dots { display: flex; justify-content: center; gap: 4px; margin-top: var(--s4); }
.pp-show__dots button { width: 22px; height: 22px; display: grid; place-items: center; }
.pp-show__dots button::before { content: ""; width: 8px; height: 8px; border-radius: 50%; background: var(--line-strong); transition: background var(--t-fast), transform var(--t-fast); }
.pp-show__dots button:hover::before { background: var(--muted); }
.pp-show__dots button.is-active::before { background: var(--blue); transform: scale(1.15); }
.pp-show__label { font: 400 13px/1.2 var(--sans); color: var(--muted); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; transition: color var(--t-fast); }
.pp-show__tab:hover .pp-show__label, .pp-show__tab.is-active .pp-show__label { color: var(--ink); }
.pp-show__toggle { flex-shrink: 0; width: 32px; height: 32px; display: flex; align-items: center; justify-content: center; border: 1px solid var(--line-strong); border-radius: var(--r); color: var(--ink); transition: border-color var(--t-fast); }
.pp-show__toggle:hover { border-color: var(--ink); }
.pp-show__toggle .pp-icon { width: 12px; height: 12px; }
.pp-show__i-play, .pp-show.is-paused .pp-show__i-pause { display: none; }
.pp-show.is-paused .pp-show__i-play { display: block; }
.pp-show:hover .pp-show__tab.is-active i, .pp-show:has(:focus-visible) .pp-show__tab.is-active i, .pp-show.is-paused .pp-show__tab.is-active i, .pp-show.is-offscreen .pp-show__tab.is-active i { animation-play-state: paused; }

/* screenshot viewer */
.pp-lightbox { width: min(1200px, 94vw); max-width: none; max-height: 94vh; padding: 0; border: 0; background: transparent; overflow: visible; }
.pp-lightbox::backdrop { background: rgba(11, 20, 40, 0.88); }
.pp-lightbox figure { margin: 0; }
.pp-lightbox img { display: block; width: 100%; max-height: 84vh; object-fit: contain; border-radius: var(--r); background: var(--surface); }
.pp-lightbox figcaption { display: flex; justify-content: space-between; gap: var(--s4); margin-top: var(--s3); font: 400 13px/1.4 var(--mono); color: var(--on-navy); }
.pp-lightbox__btn { position: absolute; width: 44px; height: 44px; display: flex; align-items: center; justify-content: center; border-radius: var(--r); background: rgba(11, 20, 40, 0.8); color: #fff; border: 1px solid rgba(255, 255, 255, 0.24); }
.pp-lightbox__btn:hover { background: var(--navy); border-color: #fff; }
.pp-lightbox__close { top: 12px; right: 12px; }
.pp-lightbox__prev { left: 12px; top: 42%; }
.pp-lightbox__next { right: 12px; top: 42%; }

/* platform tabs: a segmented control */
.ptabs { display: inline-flex; flex-wrap: nowrap; gap: 2px; padding: 3px; border-radius: var(--r); background: var(--band); box-shadow: inset 0 0 0 1px var(--line); }
.ptab { position: relative; display: inline-flex; align-items: center; gap: 8px; min-height: 42px; padding: 0 18px; border-radius: 3px; font: 500 15px/1 var(--sans); color: var(--body); transition: color var(--t-fast), background var(--t-fast), box-shadow var(--t-fast); }
.ptab:hover { color: var(--ink); background: rgba(255, 255, 255, 0.6); }
.ptab[aria-selected="true"] { background: var(--surface); color: var(--ink); box-shadow: 0 1px 2px rgba(11, 20, 40, 0.08), 0 0 0 1px var(--line); }
.js [data-tabs]:not(.is-ready) [role="tabpanel"] ~ [role="tabpanel"] { display: none; }

/* downloads */
.dl__panels { padding-top: var(--s5); }
.pp-panel { display: grid; grid-template-columns: auto minmax(0, 1fr); column-gap: var(--s6); row-gap: var(--s4); align-items: center; max-width: 960px; padding-top: var(--s5); border-top: 1px solid var(--line-strong); }
.pp-panel[hidden] { display: none; }
.pp-panel > .pp-row__dl { align-self: center; min-width: 260px; }
.pp-panel .pp-dsteps, .pp-panel .pp-dsteps ~ .pp-row__meta { grid-column: 1 / -1; }
.pp-row__dl { display: inline-grid; grid-template-columns: 38px auto; grid-template-rows: auto auto; column-gap: 14px; row-gap: 3px; align-items: center; justify-content: start; min-height: 64px; padding: 12px 24px 12px 12px; text-align: left; white-space: nowrap; border-radius: var(--r); background: var(--navy); color: #fff; font: 500 16px/1.2 var(--sans); transition: background var(--t-fast); }
.pp-row__dl:hover { background: var(--blue); }
.pp-row__dl > .pp-icon { grid-row: 1 / span 2; width: 38px; height: 38px; padding: 10px; border-radius: var(--r); background: rgba(255, 255, 255, 0.12); }
.pp-row__dl > span { grid-column: 2; align-self: end; }
.pp-row__dl small { grid-column: 2; align-self: start; font: 400 12.5px/1.3 var(--mono); color: rgba(255, 255, 255, 0.72); }
.pp-row__info { display: flex; flex-direction: column; align-items: flex-start; gap: 10px; min-width: 0; }
.pp-row__meta { display: flex; flex-wrap: wrap; gap: 6px 16px; font: 400 13px/1.5 var(--mono); color: var(--muted); }
.pp-row__meta--foot { margin-top: var(--s3); justify-content: space-between; }
.pp-mini { color: var(--ink); text-decoration: underline; text-underline-offset: 3px; }
.pp-row__note { font-size: 15px; color: var(--body); }
.pp-row__guide { display: inline-flex; align-items: center; gap: 8px; justify-self: start; padding-bottom: 2px; font-weight: 500; color: var(--ink); background: linear-gradient(currentColor, currentColor) 0 100% / 100% 1px no-repeat; transition: color var(--t-fast); }
.pp-row__guide:hover { color: var(--blue-ink); }
.pp-row__guide .pp-icon { width: 15px; height: 15px; }
.pp-row__info .pp-code-label { margin-top: 4px; }
.pp-row__info .pp-code { width: 100%; }
.pp-dsteps { display: flex; flex-direction: column; gap: var(--s4); }
.pp-dsteps li { display: grid; grid-template-columns: 30px minmax(0, 1fr); gap: 8px; }
.pp-dsteps__n { font: 400 13px/1.8 var(--mono); color: var(--blue-ink); }
.pp-dsteps strong { display: block; margin-bottom: 8px; color: var(--ink); }
.pp-dsteps .pp-row__dl { margin-top: 10px; }

/* code and output */
.pp-code-label { display: block; margin-top: var(--s3); font: 400 12.5px/1.4 var(--mono); color: var(--muted); }
.pp-code { display: flex; align-items: center; gap: var(--s3); padding: 10px 10px 10px 16px; background: var(--navy); border-radius: var(--r); }
.pp-code code { flex: 1; min-width: 0; overflow-x: auto; font: 400 13.5px/1.6 var(--mono); color: var(--on-navy); white-space: pre-wrap; overflow-wrap: anywhere; background: none; padding: 0; }
.pp-code__copy { flex-shrink: 0; width: 36px; height: 36px; display: flex; align-items: center; justify-content: center; border-radius: var(--r); color: var(--on-navy-muted); border: 1px solid var(--navy-line); transition: color var(--t-fast), background var(--t-fast); }
.pp-code__copy:hover { color: #fff; background: var(--navy-2); }
.pp-code__copy.is-copied { color: #fff; background: var(--blue); border-color: var(--blue); }
.pp-out { margin: 0; padding: 12px 16px; overflow-x: auto; font: 400 13px/1.6 var(--mono); color: var(--ink); background: var(--band); border-left: 2px solid var(--line-strong); border-radius: 0 var(--r) var(--r) 0; }

/* features and details */
.feats { display: grid; grid-template-columns: repeat(12, minmax(0, 1fr)); column-gap: var(--gutter); row-gap: var(--s7); }
.feats__list { grid-column: 1 / span 7; display: flex; flex-direction: column; gap: 14px; }
.feats__facts { grid-column: 9 / -1; display: flex; flex-direction: column; gap: 14px; }
.feats .h2 { font-size: clamp(26px, 2.4vw, 34px); }
.feats__list .olist { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: var(--s4) var(--s6); margin-top: 12px; }
.feats__list .olist li { font-size: 15.5px; line-height: 1.55; color: var(--ink); }
.kv, .pp-kv { width: 100%; border-collapse: collapse; border-top: 1px solid var(--ink); }
.feats__facts .kv { margin-top: 12px; }
.kv th, .kv td, .pp-kv th, .pp-kv td { padding: 12px 12px 12px 0; text-align: left; vertical-align: top; border-bottom: 1px solid var(--line); font-size: 15px; }
.kv th, .pp-kv th { width: 36%; font: 500 14px/1.6 var(--sans); color: var(--muted); }
.pp-packs th { width: auto; color: var(--ink); }
.pp-packs td:last-child, .pp-packs th:last-child { text-align: right; padding-right: 0; }
.pp-packs + .pp-dstep { margin-top: var(--s5, 28px); }
.kv td { color: var(--ink); }
.kv a { text-decoration: underline; text-underline-offset: 3px; }

/* install guide as a readable document */
.needs { margin-bottom: var(--s8); }
.needs .shead, .install .shead { margin-bottom: var(--s6); }
.install .ptabs { margin-bottom: var(--s6); }
.guide { max-width: 760px; color: var(--body); font-size: 16px; line-height: 1.7; }
.guide[hidden] { display: none; }
.guide > * + * { margin-top: var(--s4); }
.guide h2, .guide h3, .guide h4 { color: var(--ink); }
.guide h3 { font: 600 19px/1.35 var(--sans); letter-spacing: -0.01em; }
.guide h4 { font: 600 16px/1.4 var(--sans); }
.guide h3 + *, .guide h4 + * { margin-top: var(--s3); }
.guide ul, .guide ol { padding-left: 1.3em; }
.guide ul { list-style: disc; }
.guide ol { list-style: decimal; }
.guide li + li { margin-top: 6px; }
.guide li::marker { color: var(--blue-ink); }
.guide strong { color: var(--ink); }
.guide a { color: var(--ink); text-decoration: underline; text-underline-offset: 3px; text-decoration-color: var(--line-strong); }
.guide a:hover { text-decoration-color: var(--ink); color: var(--blue-ink); }
.guide :not(pre) > code { padding: 1px 6px; font: 400 0.88em/1.4 var(--mono); color: var(--ink); background: var(--band); border-radius: 3px; }
.section--stone .guide :not(pre) > code { background: var(--surface); }
.guide .pp-code code { font-size: 13.5px; background: none; padding: 0; color: var(--on-navy); }
.guide--needs { max-width: none; }
.guide--needs .pp-kv { max-width: 860px; }
.guide--intro p { color: var(--body); }
.pp-dstep { display: grid; grid-template-columns: 52px minmax(0, 1fr); gap: 4px; align-items: baseline; }
.pp-dstep__n { font: 400 13px/1.7 var(--mono); color: var(--blue-ink); }
.pp-part { display: flex; flex-direction: column; gap: 6px; margin-top: var(--s7) !important; padding-top: var(--s5); border-top: 1px solid var(--ink); font: 400 clamp(24px, 2.4vw, 32px)/1.15 var(--display); letter-spacing: -0.015em; scroll-margin-top: calc(var(--nav-h) + 24px); }
.guide--long { padding-top: var(--s7); }
.guide--long > .pp-part:first-child { margin-top: 0 !important; padding-top: 0; border-top: 0; }
.pp-part__n { font: 400 12.5px/1 var(--mono); letter-spacing: 0.06em; text-transform: uppercase; color: var(--blue-ink); }
.pp-hr { border: 0; border-top: 1px solid var(--line); margin: var(--s6) 0 !important; }

/* after installing */
.after { display: grid; grid-template-columns: repeat(12, minmax(0, 1fr)); column-gap: var(--gutter); row-gap: var(--s7); }
.after__main { grid-column: 1 / span 7; }
.after__side { grid-column: 9 / -1; display: flex; flex-direction: column; gap: var(--s7); }
.helps { display: flex; flex-direction: column; gap: var(--s4); padding: 0 !important; list-style: none !important; }
.helps li { padding-top: var(--s3); border-top: 1px solid var(--line-strong); }
.helps li + li { margin-top: 0; }
.helps li > strong { display: block; margin-bottom: 4px; }
.disclaimer { margin-top: var(--s7); padding-top: var(--s4); border-top: 1px solid var(--line-strong); font-size: 13px; color: var(--muted); }

/* FAQ */
.faq__list { border-top: 1px solid var(--ink); max-width: 900px; }
.faq__item { border-bottom: 1px solid var(--line); }
.faq__item summary { position: relative; display: flex; align-items: center; min-height: 64px; padding: 18px 48px 18px 0; font: 500 17.5px/1.4 var(--sans); color: var(--ink); cursor: pointer; list-style: none; }
.faq__item summary::-webkit-details-marker { display: none; }
.faq__item summary::before, .faq__item summary::after { content: ''; position: absolute; right: 8px; top: 50%; width: 14px; height: 1.5px; background: currentColor; transition: transform var(--t-mid) var(--ease); }
.faq__item summary::after { transform: rotate(90deg); }
.faq__item[open] summary::after { transform: rotate(0); }
.faq__item summary:hover { color: var(--blue-ink); }
.faq__body { padding: 0 48px var(--s5) 0; max-width: 72ch; }
.faq__body code { font: 400 0.9em var(--mono); background: var(--band); padding: 1px 5px; border-radius: 3px; }
.faq__body a { text-decoration: underline; text-underline-offset: 3px; }

/* ═══ Contact and forms ════════════════════════════════════════════════ */
.formcard { grid-column: 1 / span 7; padding: clamp(24px, 3vw, 40px); background: var(--surface); border: 1px solid var(--line); border-radius: var(--r); }
.formcard__done[hidden], .formcard [hidden] { display: none; }
.form { display: flex; flex-direction: column; gap: var(--s5); }
.form__row { display: grid; grid-template-columns: 1fr 1fr; gap: var(--s5); }
.field { display: flex; flex-direction: column; gap: 8px; }
.field label { font-size: 14px; font-weight: 500; color: var(--ink); }
.field__req { margin-left: 3px; color: var(--blue-ink); }
.field input, .field select, .field textarea { width: 100%; min-height: 48px; padding: 12px 14px; font: 400 16px/1.4 var(--sans); color: var(--ink); background: var(--surface); border: 1px solid var(--field); border-radius: var(--r); transition: border-color var(--t-fast), box-shadow var(--t-fast); }
.field input::placeholder, .field textarea::placeholder { color: var(--placeholder); }
.field textarea { min-height: 156px; resize: vertical; }
.field select { appearance: none; -webkit-appearance: none; padding-right: 40px; background: var(--surface) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='8' viewBox='0 0 12 8'%3E%3Cpath d='M1 1.5 6 6.5l5-5' fill='none' stroke='%230B1428' stroke-width='1.5'/%3E%3C/svg%3E") no-repeat right 14px center; }
.field input:hover, .field select:hover, .field textarea:hover { border-color: var(--ink); }
.field input:focus-visible, .field select:focus-visible, .field textarea:focus-visible { outline: none; border-color: var(--blue); box-shadow: 0 0 0 1px var(--blue), 0 0 0 4px var(--blue-wash); }
.field.is-invalid input, .field.is-invalid select { border-color: var(--error); }
.field__error { font-size: 13.5px; color: var(--error); }
.form__summary { padding: var(--s4) var(--s5); border-left: 3px solid var(--error); background: var(--error-wash); border-radius: 0 var(--r) var(--r) 0; }
.form__summary li + li { margin-top: 4px; }
.form__summary a { font-size: 14.5px; color: var(--error); text-decoration: underline; text-underline-offset: 2px; }
.form__submit { display: flex; flex-wrap: wrap; align-items: center; gap: var(--s3) var(--s5); margin-top: var(--s2); }
.form__submit .btn { min-width: 180px; }
.form__submit .btn:disabled { opacity: 0.7; cursor: progress; }
.form__note { font-size: 13.5px; color: var(--muted); }
.form__note a { color: var(--ink); text-decoration: underline; text-underline-offset: 3px; text-decoration-color: var(--line-strong); }
.form__note a:hover { color: var(--blue-ink); text-decoration-color: currentColor; }
.form__server { padding: var(--s3) var(--s4); border-left: 3px solid var(--error); background: var(--error-wash); font-size: 14.5px; color: var(--error); }
.formcard__done { display: flex; flex-direction: column; align-items: flex-start; gap: var(--s4); padding: var(--s6) 0; }
.formcard__done p { max-width: 44ch; color: var(--body); }
.formcard__done h2:focus { outline: none; }

/* Contact page: one composition. Left: title, intro, direct contacts, next steps. Right: the form, level with the title. */
.contact-page { padding-block: clamp(40px, 4.4vw, 64px) var(--section); }
.contact-page__grid { display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 7fr); column-gap: clamp(40px, 6vw, 96px); row-gap: var(--s7); align-items: start; }
.contact-page__intro { position: sticky; top: calc(var(--nav-h) + 32px); display: flex; flex-direction: column; align-items: flex-start; }
.contact-page__title { margin-top: 20px; }
.contact-page__lead { margin-top: 20px; font-size: clamp(17px, 1.35vw, 19px); line-height: 1.6; color: var(--body); }
.contact-direct { width: 100%; margin-top: var(--s6); border-top: 1px solid var(--ink); }
.contact-direct li { display: grid; grid-template-columns: 76px minmax(0, 1fr); align-items: baseline; gap: 12px; padding: 14px 0; border-bottom: 1px solid var(--line); }
.contact-direct span { font: 400 12px/1.3 var(--mono); letter-spacing: 0.06em; text-transform: uppercase; color: var(--muted); }
.contact-direct a, .contact-direct strong { font-size: 18px; font-weight: 500; color: var(--ink); }
.contact-direct a { text-decoration: underline; text-decoration-color: var(--line-strong); text-underline-offset: 4px; transition: color var(--t-fast), text-decoration-color var(--t-fast); }
.contact-direct a:hover { color: var(--blue-ink); text-decoration-color: currentColor; }
.contact-next { width: 100%; margin-top: var(--s7); }
.contact-next__title { margin-bottom: var(--s3); font: 600 17px/1.3 var(--sans); letter-spacing: -0.01em; color: var(--ink); }
.contact-next li { display: grid; grid-template-columns: 32px minmax(0, 1fr); gap: 8px; padding: 10px 0; font-size: 15.5px; line-height: 1.55; color: var(--muted); }
.contact-next .data { padding-top: 2px; color: var(--blue-ink); font-size: 12.5px; }
.contact-next strong { display: block; margin-bottom: 2px; font-size: 16px; font-weight: 600; color: var(--ink); }
.contact-page .formcard { grid-column: auto; padding: clamp(24px, 3vw, 40px); }
@media (max-width: 899px) {
  .contact-page__grid { grid-template-columns: minmax(0, 1fr); }
  .contact-page__grid { row-gap: 0; }
  .contact-page__intro { display: contents; }
  .contact-page__intro > * { order: 1; }
  .contact-page .formcard { order: 2; margin-top: var(--s6); }
  .contact-next { order: 3; margin-top: var(--s7); }
}

/* ═══ Responsive ═══════════════════════════════════════════════════════ */
@media (max-width: 1199px) {
  :root { --section: 76px; }
  .nav__link { padding: 0 10px; }
  .nav__menu { gap: var(--s4); }
  .hero__copy { grid-column: 1 / -1; max-width: 720px; }
  .practices { grid-template-columns: minmax(0, 1fr); row-gap: var(--s6); }
  .practices__group { display: grid; grid-template-columns: minmax(0, 4fr) minmax(0, 8fr); column-gap: var(--gutter); }
  .practices__group > .practices__title, .practices__group > .practices__text { grid-column: 1; }
  .practices__list { grid-column: 2; grid-row: 1 / span 3; margin-top: 0; }
  .practices__text { min-height: 0; }
  .why { grid-template-columns: minmax(0, 1fr); }
  .why__head { max-width: 720px; }
  .tools__copy { grid-column: 1 / span 6; }
  .tools__shot { grid-column: 7 / -1; }
  .svc-hero__grid, .overview__grid { grid-template-columns: minmax(0, 1fr); }
  .glance { max-width: 640px; }
  .sgroup { grid-template-columns: minmax(0, 1fr); gap: var(--s5); }
  .sgroup__head { position: static; max-width: 640px; }
  .prod__copy, .band__copy, .band--flip .band__copy, .prod__show, .band__show, .band--flip .band__show { grid-column: 1 / -1; grid-row: auto; }
  .prod__copy, .band__copy { max-width: 720px; }
  .pindex-strip { grid-auto-flow: row; grid-template-columns: repeat(3, minmax(0, 1fr)); }
  .pindex-strip li:nth-child(4) { border-left: 0; }
  .pindex-strip li:nth-child(4) a { padding-left: 0; }
  .feats__list, .feats__facts, .after__main, .after__side { grid-column: 1 / -1; }
  .siblings ul { grid-template-columns: repeat(3, minmax(0, 1fr)); }
  .siblings li:nth-child(4) { border-left: 0; }
  .fws { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .footer__grid { grid-template-columns: repeat(4, minmax(0, 1fr)); }
  .footer__brand { grid-column: 1 / -1; flex-direction: row; flex-wrap: wrap; align-items: flex-start; justify-content: space-between; padding-right: 0; }
  .platforms__list { justify-content: flex-start; column-gap: 40px; }
}
@media (max-width: 1099px) {
  .step { grid-template-columns: 52px minmax(0, 1fr); row-gap: var(--s4); }
  .step__out { grid-column: 2; }
  .step__n { font-size: 30px; }
}
@media (max-width: 899px) {
  :root { --gutter: 24px; --nav-h: 64px; --section: 64px; --head-gap: 28px; }
  /* phone menu sheet */
  .nav__toggle { display: inline-flex; }
  .nav { -webkit-backdrop-filter: none; backdrop-filter: none; background: var(--canvas); }
  .nav__logo img, .nav.is-stuck .nav__logo img { height: 34px; }
  .nav__menu { position: fixed; inset: var(--nav-h) 0 0 0; z-index: 99; display: none; flex-direction: column; align-items: stretch; gap: 0; margin: 0; padding: var(--s3) var(--gutter) 0; background: var(--canvas); overflow-y: auto; overscroll-behavior: contain; }
  .nav.is-open .nav__menu { display: flex; }
  .nav.is-open { border-bottom-color: var(--line); }
  html.menu-open { overflow: hidden; }
  .nav__list { flex-direction: column; align-items: stretch; gap: 0; }
  .nav__item { border-bottom: 1px solid var(--line); }
  .nav__link { width: 100%; height: auto; padding: 18px 0; font: 500 21px/1.2 var(--sans); letter-spacing: -0.012em; color: var(--ink); justify-content: space-between; }
  button.nav__link::before { content: ''; order: 2; width: 9px; height: 9px; margin-right: 6px; border-right: 1.5px solid currentColor; border-bottom: 1.5px solid currentColor; transform: translateY(-3px) rotate(45deg); transition: transform var(--t-mid) var(--ease); }
  button.nav__link[aria-expanded="true"]::before { transform: translateY(2px) rotate(-135deg); }
  .nav__panel { position: static; display: none; }
  .nav__item.is-open .nav__panel { display: block; }
  .nav__panel-inner { display: block; padding: 0 0 var(--s4); }
  .nav__overview { display: inline-flex; padding: 0 0 var(--s2); font-size: 15px; font-weight: 500; color: var(--blue-ink); }
  .nav__overview .label, .nav__overview-text { display: none; }
  .nav__overview-link { display: inline-flex; align-items: center; gap: 8px; }
  .nav__items a { display: block; padding: 10px 0; }
  .nav__items strong { font-size: 16px; }
  .nav__icon, .nav__items small { display: none; }
  .nav__cta { position: sticky; bottom: 0; margin: auto calc(var(--gutter) * -1) 0; min-height: 60px; border-radius: 0; font-size: 16px; }

  .closing__grid, .closing__grid:not(:has(.closing__side)) .closing__copy { grid-template-columns: minmax(0, 1fr); }
  .closing__grid:not(:has(.closing__side)) .closing__copy > * { grid-column: 1 !important; grid-row: auto !important; }
  .closing__grid:not(:has(.closing__side)) .closing__copy > .closing__text { padding-top: 0; }
  .practices__group { display: flex; }
  .practices__list { margin-top: var(--s4); }
  .why__list { grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); }
  .pqc__head { grid-template-columns: minmax(0, 1fr); }
  .pqc__copy { padding-top: 0; }
  .pqc__timeline { grid-template-columns: minmax(0, 1fr); padding-left: 28px; row-gap: 0; }
  .pqc__timeline::before { left: 6px; right: auto; top: 8px; bottom: 8px; width: 1px; height: auto; }
  .m .pqc__timeline.is-armed::before { transform: scaleY(0); transform-origin: 50% 0; }
  .pqc__timeline li { display: grid; grid-template-columns: 96px minmax(0, 1fr); column-gap: var(--s4); row-gap: 4px; padding: 16px 0; border-bottom: 1px solid var(--line); }
  .pqc__timeline li:last-child { border-bottom: 0; }
  .pqc__timeline li::before { left: -28px; top: 20px; }
  .pqc__when { grid-row: 1 / span 2; padding-top: 2px; }
  .sectors { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .sectors > li:not(:nth-child(3n+1)) { border-left: 0; }
  .sectors > li:nth-child(even) { border-left: 1px solid var(--line); }
  .sectors > li:nth-child(3n+1) a { padding-left: 24px; }
  .sectors > li:nth-child(odd) a { padding-left: 0; }
  .tools__copy, .tools__shot { grid-column: 1 / -1; }
  .tools__copy { max-width: 640px; }
  .phero__title, .phero__grid--wide .phero__title, .phero__side { grid-column: 1 / -1; }
  .stats li { padding: var(--s5) var(--s4) 0 0; }
  .stats li + li { padding-left: var(--s4); }
  .exposure { grid-template-columns: minmax(0, 1fr); row-gap: var(--s3); }
  .rules { grid-template-columns: minmax(0, 1fr); }
  .xrow { grid-template-columns: minmax(0, 1fr) 40px; row-gap: var(--s4); }
  .xrow__head, .xrow__body { grid-column: 1; }
  .xrow > .arrow { grid-column: 2; grid-row: 1; }
  .tiles { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .ab-story__grid { grid-template-columns: minmax(0, 1fr); row-gap: var(--s5); }
  .ab-principles__list li { grid-template-columns: minmax(0, 1fr); row-gap: 8px; }
  .ab-story__head { position: static; }
  .ab-mission__quote { padding-left: var(--s5); }
  .ab-mission__text { padding-left: calc(var(--s5) + 2px); }
  .doc__index { grid-column: 1 / -1; position: static; padding-top: var(--s6); }
  .doc__body { grid-column: 1 / -1; }
  .pager__cell { padding-right: 64px; }
  .pp-panel { grid-template-columns: minmax(0, 1fr); }
  .pp-panel > .pp-row__dl { min-width: 0; justify-self: start; }
  .footer__grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
@media (max-width: 599px) {
  :root { --gutter: 20px; --section: 52px; --head-gap: 24px; }
  body { font-size: 16px; }
  .actions .btn { flex: 1 1 100%; }
  .btn { max-width: 100%; white-space: normal; text-align: center; line-height: 1.25; padding-block: 12px; }
  .nav__cta { max-width: none; }
  .hero { padding-block: 36px 52px; }
  .hero__title { margin-top: 18px; }
  .hero__actions { width: 100%; margin-top: 28px; }
  .platforms__list { column-gap: 28px; row-gap: 14px; }
  .platforms__list img, .platforms__list svg { height: calc(var(--h, 22px) * 0.85); }
  .why__list { grid-template-columns: minmax(0, 1fr); gap: var(--s5); }
  .pqc__timeline li { grid-template-columns: minmax(0, 1fr); }
  .pqc__when { grid-row: auto; }
  .sectors { grid-template-columns: minmax(0, 1fr); }
  .sectors > li:nth-child(even) { border-left: 0; }
  .sectors a, .sectors > li:nth-child(odd) a, .sectors > li:nth-child(3n+1) a { padding: 20px 40px 20px 0; }
  .sectors a > .arrow { right: 4px; top: 26px; }
  .sectors__name { font-size: 24px; }
  .stats { grid-template-columns: minmax(0, 1fr); }
  .stats li, .stats li + li { padding: var(--s4) 0; border-left: 0; }
  .stats li + li { border-top: 1px solid var(--line); }
  .step { grid-template-columns: minmax(0, 1fr); padding: var(--s5) 0; }
  .step__n, .step__out { grid-column: 1; }
  .step__n { font-size: 26px; }
  .glance { padding: var(--s4); }
  .glance__phases li { grid-template-columns: 26px minmax(0, 1fr); }
  .glance__when { grid-column: 2; text-align: left; }
  .deliver, .tiles, .fws { grid-template-columns: minmax(0, 1fr); }
  ul.deliver:not(:has(.deliver__item)) { gap: var(--s6); }
  .deliver__item, .tile { padding: var(--s4) var(--s4) var(--s5); }
  .siblings ul { grid-template-columns: minmax(0, 1fr); }
  .siblings li + li { border-left: 0; }
  .siblings ul a { padding: 15px 0; }
  .pager__row { grid-template-columns: minmax(0, 1fr); }
  .pager__cell--next { padding-left: 0; border-left: 0; border-top: 1px solid var(--line); }
  .pager__name { font-size: 21px; }
  .pindex-strip { grid-auto-flow: row; grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .pindex-strip li + li, .pindex-strip li:nth-child(4) { border-left: 0; }
  .pindex-strip li:nth-child(even) { border-left: 1px solid var(--line); }
  .pindex-strip a, .pindex-strip li:first-child a, .pindex-strip li:nth-child(4) a { padding: 14px 12px 14px 0; }
  .pindex-strip li:nth-child(even) a { padding-left: 14px; }
  .pp-show__label { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
  .pp-show__nav { align-items: center; margin-top: var(--s4); }
  .feats__list .olist { grid-template-columns: minmax(0, 1fr); }
  .pp-row__dl { width: 100%; text-align: left; }
  .ptabs { display: flex; width: 100%; }
  .ptab { flex: 1; justify-content: center; padding: 0 8px; }
  .faq__item summary { font-size: 16px; }
  .form__row { grid-template-columns: minmax(0, 1fr); }
  .form__submit .btn { width: 100%; }
  .footer__grid { grid-template-columns: 1fr 1fr; gap: var(--s5); }
  .footer__brand { grid-column: 1 / -1; flex-direction: column; }
  .footer__base { flex-direction: column; align-items: flex-start; }
}

/* ═══ Motion ═══════════════════════════════════════════════════════════ */
/* Home hero: copy rises in sequence; the artwork fades in and drifts (js/hero-art.js) */
@media (prefers-reduced-motion: no-preference) {
  .hero__copy > * { animation: rise 700ms var(--ease) both; }
  .hero__copy > :nth-child(2) { animation-delay: 60ms; }
  .hero__copy > :nth-child(3) { animation-delay: 120ms; }
  .hero__copy > :nth-child(4) { animation-delay: 180ms; }
  /* scroll reveal, where the browser supports scroll-driven animation; elsewhere content simply shows */
  @supports (animation-timeline: view()) {
    .reveal { animation: rise linear both; animation-timeline: view(); animation-range: entry 0% entry 28%; }
  }
}
@keyframes rise { from { opacity: 0; transform: translateY(12px); } to { opacity: 1; transform: none; } }
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation-duration: 0.01ms !important; animation-iteration-count: 1 !important; transition-duration: 0.01ms !important; scroll-behavior: auto !important; }
  .pp-show__slide, .pp-show__slide.is-active { transition: none; }
}
