/* Custodian site: the whole design system in one hand-written file.
   Tokens first, then base rules, then layout, then components, then the
   utilities the page scripts toggle. No framework, no icon font: the icons are
   CSS masks, so a page paints complete on its first frame. */

@font-face {
  font-family: 'Satoshi';
  src: url('../fonts/Satoshi-Regular.woff2') format('woff2');
  font-weight: 400;
  font-style: normal;
  font-display: block;
}

@font-face {
  font-family: 'Satoshi';
  src: url('../fonts/Satoshi-Bold.woff2') format('woff2');
  font-weight: 700;
  font-style: normal;
  font-display: block;
}

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

:root {
  /* The brand teal of the kit is for the logo, large type, icons and
     surfaces. White text on it reaches only 3.3:1, so buttons, links and
     small text use the darker teal (6.1:1 on white). */
  --brand: #5097a6;
  --brand-ink: #2c6c79;
  --brand-deep: #163f48;
  --brand-deeper: #0f2e35;
  --brand-soft: #e6f1f3;
  --brand-tint: #f3f8f9;
  --brand-line: #c9dde2;

  --ink: #172a2f;
  --ink-2: #4a5c62;
  --ink-3: #5e7075; /* 4.5:1 or more on every light surface */
  --line: #e1e8ea;
  --paper: #ffffff;
  --paper-2: #f6f9fa;

  --success: #1d7a4e;
  --success-soft: #e6f4ec;
  --warning: #a35a0f;
  --warning-soft: #fbf0e3;
  --danger: #b42318;
  --danger-soft: #fbe9e7;

  --radius: 14px;
  --radius-lg: 22px;
  --shadow: 0 1px 2px rgba(23, 42, 47, 0.04), 0 12px 32px -12px rgba(23, 42, 47, 0.12);
  --shadow-lg: 0 24px 60px -20px rgba(22, 63, 72, 0.28);
  --ease: cubic-bezier(0.16, 1, 0.3, 1);
  --nav-h: 72px;
}

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

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

html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }

body {
  margin: 0;
  font-family: 'Satoshi', system-ui, -apple-system, 'Segoe UI', sans-serif;
  font-size: 1rem;
  line-height: 1.6;
  color: var(--ink);
  background: var(--paper);
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

h1, h2, h3, h4 {
  margin: 0;
  font-weight: 700;
  line-height: 1.12;
  letter-spacing: -0.02em;
  color: var(--ink);
  text-wrap: balance;
}

h1 { font-size: clamp(2.125rem, 1.4rem + 2.6vw, 3.25rem); }
h2 { font-size: clamp(1.625rem, 1.2rem + 1.4vw, 2.25rem); }
h3 { font-size: 1.125rem; line-height: 1.3; letter-spacing: -0.01em; }
h4 { font-size: 1rem; line-height: 1.4; letter-spacing: 0; }

p, ul, ol, table { margin: 0; }
p + p { margin-top: 1em; }
p, .stat__s { text-wrap: pretty; }

a { color: var(--brand-ink); text-decoration-thickness: 1px; text-underline-offset: 0.18em; }
a:hover { color: var(--brand-deep); }

strong { font-weight: 700; }
em { font-style: italic; }

code {
  font-family: ui-monospace, SFMono-Regular, Menlo, Consolas, monospace;
  font-size: 0.92em;
  background: var(--paper-2);
  border: 1px solid var(--line);
  border-radius: 6px;
  padding: 0.08em 0.4em;
  white-space: nowrap;
}

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

button, input { font: inherit; color: inherit; }
button { cursor: pointer; }

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

::selection { background: var(--brand-soft); color: var(--brand-deep); }

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

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

.wrap { width: 100%; max-width: 1080px; margin: 0 auto; padding: 0 20px; }
.wrap--narrow { max-width: 720px; }
.wrap--reading { max-width: 680px; }

@media (min-width: 720px) { .wrap { padding: 0 32px; } }

.section { padding: clamp(48px, 3rem + 3vw, 88px) 0; }
.section--tight { padding: clamp(36px, 2.5rem + 2vw, 64px) 0; }
.section--tint { background: var(--brand-tint); }
.section--soft { background: var(--paper-2); }
.section--line-top { border-top: 1px solid var(--line); }
.section--deep { background: var(--brand-deep); color: #fff; }
.section--deep h2, .section--deep h3 { color: #fff; }
.section--deep p { color: rgba(255, 255, 255, 0.86); }
.section--deep a { color: #fff; }
.section--deep .btn--white { color: var(--brand-deep); }
.section--deep .btn--white:hover { color: var(--brand-deep); }

.section-head { max-width: 640px; margin-bottom: clamp(28px, 1.75rem + 2vw, 48px); }
.section-head:last-child { margin-bottom: 0; }
.section-head--center { margin-left: auto; margin-right: auto; text-align: center; }
.section-head h2 + p, .section-head h1 + p { margin-top: 16px; }

.eyebrow {
  display: inline-block;
  margin-bottom: 14px;
  font-size: 0.8125rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--brand-ink);
}
.section--deep .eyebrow { color: rgba(255, 255, 255, 0.72); }

.lead { font-size: clamp(1.0625rem, 1rem + 0.3vw, 1.1875rem); line-height: 1.55; color: var(--ink-2); }
.section--deep .lead { color: rgba(255, 255, 255, 0.86); }
.muted { color: var(--ink-2); }
.small { font-size: 0.9rem; }
.tiny { font-size: 0.8125rem; line-height: 1.5; color: var(--ink-3); }
.tiny a { color: inherit; }
.center { text-align: center; }

.grid { display: grid; gap: 20px; }
.grid > * { min-width: 0; } /* a long line inside a card must not widen the column */
.grid:has(> .feature:not(.card)) { row-gap: 40px; }
.grid--2 { grid-template-columns: repeat(auto-fit, minmax(min(100%, 360px), 1fr)); }
/* Three cards: one column, then one row. Never two and one. */
.grid--3 { grid-template-columns: 1fr; }
@media (min-width: 860px) { .grid--3 { grid-template-columns: repeat(3, 1fr); } }
/* Four cards: one column, then two by two, then one row. Never three and one. */
.grid--4 { grid-template-columns: 1fr; }
@media (min-width: 560px) { .grid--4 { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 1024px) { .grid--4 { grid-template-columns: repeat(4, 1fr); } }
.grid--pair { grid-template-columns: repeat(2, 1fr); gap: 16px; }
@media (max-width: 400px) { .grid--pair { grid-template-columns: 1fr; } }
.grid--split { grid-template-columns: 1fr; gap: 40px; align-items: center; }
@media (min-width: 900px) { .grid--split { grid-template-columns: 1fr 1fr; gap: 64px; } }
@media (min-width: 900px) { .grid--split-wide { grid-template-columns: 1.15fr 0.85fr; } }
.grid--top { align-items: start; }
/* On one column the text of a step comes before its picture. */
@media (max-width: 899px) { .grid--split > :has(> .eyebrow) { order: -1; } }

.row { display: flex; flex-wrap: wrap; gap: 12px; align-items: center; }
.row--center { justify-content: center; }

/* ---------- navigation ---------- */

.nav {
  position: sticky;
  top: 0;
  z-index: 50;
  background: rgba(255, 255, 255, 0.86);
  -webkit-backdrop-filter: saturate(160%) blur(14px);
  backdrop-filter: saturate(160%) blur(14px);
  border-bottom: 1px solid var(--line);
}

.nav__bar { display: flex; align-items: center; justify-content: space-between; gap: 24px; height: var(--nav-h); }

.brand { display: inline-flex; align-items: center; color: var(--brand); text-decoration: none; transition: color 0.25s; }
.brand { min-height: 44px; }
.brand svg { height: 30px; width: auto; }
.brand:hover { color: var(--brand-ink); }

.nav__links { display: none; align-items: center; gap: 4px; margin: 0; padding: 0; list-style: none; }
.nav__links a {
  display: inline-block;
  padding: 8px 12px;
  border-radius: 999px;
  font-size: 0.9375rem;
  font-weight: 700;
  color: var(--ink-2);
  text-decoration: none;
  transition: color 0.2s, background 0.2s;
}
.nav__links a:hover { color: var(--ink); background: var(--paper-2); }
.nav__links a[aria-current="page"] { color: var(--brand-ink); background: var(--brand-soft); }

.nav__actions { display: none; align-items: center; gap: 8px; }

.nav__toggle {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 44px;
  height: 44px;
  margin-right: -8px;
  border: 0;
  border-radius: 12px;
  background: transparent;
  color: var(--ink);
}
.nav__toggle:hover { background: var(--paper-2); }
.nav__toggle .ic { width: 24px; height: 24px; }
.nav__toggle .ic-x { display: none; }
.nav.is-open .nav__toggle .ic-menu { display: none; }
.nav.is-open .nav__toggle .ic-x { display: block; }

.nav__menu { display: none; padding: 8px 0 20px; border-top: 1px solid var(--line); }
.nav.is-open { background: var(--paper); }
.nav.is-open .nav__menu { display: block; }
.nav__menu ul { margin: 0; padding: 0; list-style: none; }
.nav__menu li a:not(.btn) {
  display: block;
  padding: 12px 4px;
  font-weight: 700;
  color: var(--ink);
  text-decoration: none;
  border-bottom: 1px solid var(--line);
}
.nav__menu li a[aria-current="page"] { color: var(--brand-ink); }
.nav__menu .row { margin-top: 16px; }
.nav__menu .btn { flex: 1; }

@media (min-width: 960px) {
  .nav__links, .nav__actions { display: flex; }
  .nav__toggle, .nav__menu { display: none !important; }
}

/* Over the home photo: transparent bar, white logo and links, until scrolled. */
.nav--overlay { transition: background 0.25s, border-color 0.25s; }
.nav--overlay.is-overlay { background: transparent; -webkit-backdrop-filter: none; backdrop-filter: none; border-bottom-color: transparent; }
.nav--overlay.is-overlay .brand, .nav--overlay.is-overlay .nav__toggle { color: #fff; }
.nav--overlay.is-overlay .nav__links a { color: rgba(255, 255, 255, 0.86); }
.nav--overlay.is-overlay .nav__links a:hover { color: #fff; background: rgba(255, 255, 255, 0.12); }
.nav--overlay.is-overlay .nav__links a[aria-current="page"] { color: #fff; background: rgba(255, 255, 255, 0.16); }
.nav--overlay.is-overlay .btn--ghost { color: #fff; border-color: rgba(255, 255, 255, 0.45); }
.nav--overlay.is-overlay .btn--ghost:hover { background: rgba(255, 255, 255, 0.12); }
.nav--overlay.is-overlay .btn--solid { background: #fff; color: var(--brand-deep); box-shadow: none; }
.nav--overlay.is-overlay .nav__toggle:hover { background: rgba(255, 255, 255, 0.12); }

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

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  min-height: 44px;
  padding: 0 20px;
  border: 1px solid transparent;
  border-radius: 999px;
  font-size: 0.9rem;
  font-weight: 700;
  line-height: 1;
  text-decoration: none;
  white-space: nowrap;
  transition: background 0.2s, color 0.2s, border-color 0.2s, transform 0.2s var(--ease), box-shadow 0.2s;
}
.btn .ic { width: 18px; height: 18px; }
.btn:active { transform: translateY(1px); }
.btn[disabled], .btn[aria-disabled="true"] { opacity: 0.55; cursor: not-allowed; }

.btn--solid { background: var(--brand-ink); color: #fff; box-shadow: 0 8px 20px -10px rgba(44, 108, 121, 0.7); }
.btn--solid:hover { background: var(--brand-deep); color: #fff; }

.btn--ghost { background: transparent; color: var(--ink); border-color: var(--line); }
.btn--ghost:hover { background: var(--paper-2); border-color: var(--brand-line); color: var(--ink); }

.btn--soft { background: var(--brand-soft); color: var(--brand-deep); }
.btn--soft:hover { background: var(--brand-line); color: var(--brand-deep); }

.btn--white { background: #fff; color: var(--brand-deep); }
.btn--white:hover { background: var(--brand-soft); color: var(--brand-deep); }

.btn--outline-white { background: transparent; color: #fff; border-color: rgba(255, 255, 255, 0.45); }
.btn--outline-white:hover { background: rgba(255, 255, 255, 0.1); color: #fff; }

.btn--paypal { background: #ffc439; color: #003087; }
.btn--paypal:hover { background: #f5b800; color: #003087; }

.btn--sm { min-height: 40px; padding: 0 16px; font-size: 0.875rem; }
.btn--lg { min-height: 52px; padding: 0 26px; font-size: 1rem; }
/* On the narrowest phones a long label wraps inside its button. */
@media (max-width: 400px) { .btn { white-space: normal; text-align: center; line-height: 1.25; padding-top: 10px; padding-bottom: 10px; } }
.btn--block { width: 100%; white-space: normal; line-height: 1.25; padding-top: 12px; padding-bottom: 12px; }

.text-link { display: inline-flex; align-items: center; gap: 6px; font-weight: 700; text-decoration: none; padding: 10px 0; margin: -10px 0; } /* 44px to tap, same layout */
.text-link .ic { width: 16px; height: 16px; transition: transform 0.2s var(--ease); }
.text-link:hover .ic { transform: translateX(3px); }

/* ---------- icons (CSS masks, currentColor) ---------- */

.ic {
  display: inline-block;
  width: 22px;
  height: 22px;
  flex: 0 0 auto;
  background: currentColor;
  -webkit-mask: var(--i) center / contain no-repeat;
  mask: var(--i) center / contain no-repeat;
}
.ic-menu { --i: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23000' stroke-width='2' stroke-linecap='round'%3E%3Cpath d='M4 7h16M4 12h16M4 17h16'/%3E%3C/svg%3E"); }
.ic-x { --i: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23000' stroke-width='2' stroke-linecap='round'%3E%3Cpath d='M6 6l12 12M18 6L6 18'/%3E%3C/svg%3E"); }
.ic-arrow { --i: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23000' stroke-width='2.2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M5 12h14M13 6l6 6-6 6'/%3E%3C/svg%3E"); }
.ic-down { --i: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23000' stroke-width='2.2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M12 5v14M6 13l6 6 6-6'/%3E%3C/svg%3E"); }
.ic-check { --i: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23000' stroke-width='2.4' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M5 12.5l4.5 4.5L19 7.5'/%3E%3C/svg%3E"); }
.ic-shield { --i: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23000' stroke-width='1.8' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M12 3l7 3v5.5c0 4.6-3 8.3-7 9.5-4-1.2-7-4.9-7-9.5V6z'/%3E%3Cpath d='M9 12l2 2 4-4'/%3E%3C/svg%3E"); }
.ic-lock { --i: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23000' stroke-width='1.8' stroke-linecap='round' stroke-linejoin='round'%3E%3Crect x='4' y='10.5' width='16' height='10' rx='2.5'/%3E%3Cpath d='M8 10.5V7.5a4 4 0 018 0v3'/%3E%3C/svg%3E"); }
.ic-eye-off { --i: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23000' stroke-width='1.8' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M3 3l18 18'/%3E%3Cpath d='M10.6 6.3A9.8 9.8 0 0112 6c4.5 0 8 3.2 9.5 6-.5.9-1.2 1.9-2.1 2.8M6.6 6.8C4.6 8 3.2 9.9 2.5 12c1.5 2.8 5 6 9.5 6 1.5 0 2.9-.3 4.1-.9'/%3E%3Cpath d='M9.9 9.9a3 3 0 004.2 4.2'/%3E%3C/svg%3E"); }
.ic-pause { --i: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23000' stroke-width='1.8' stroke-linecap='round' stroke-linejoin='round'%3E%3Ccircle cx='12' cy='12' r='9'/%3E%3Cpath d='M10 9v6M14 9v6'/%3E%3C/svg%3E"); }
.ic-users { --i: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23000' stroke-width='1.8' stroke-linecap='round' stroke-linejoin='round'%3E%3Ccircle cx='9' cy='8' r='3.5'/%3E%3Cpath d='M2.5 20c.5-3.5 3.2-5.5 6.5-5.5s6 2 6.5 5.5'/%3E%3Cpath d='M16 5a3.2 3.2 0 010 6.3M18 14.6c2 .6 3.3 2.2 3.5 4.4'/%3E%3C/svg%3E"); }
.ic-user { --i: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23000' stroke-width='1.8' stroke-linecap='round' stroke-linejoin='round'%3E%3Ccircle cx='12' cy='8' r='4'/%3E%3Cpath d='M4.5 20.5c.7-4 3.8-6.5 7.5-6.5s6.8 2.5 7.5 6.5'/%3E%3C/svg%3E"); }
.ic-chart { --i: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23000' stroke-width='1.8' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M4 19h16'/%3E%3Cpath d='M5 15l4-5 4 3 6-7'/%3E%3C/svg%3E"); }
.ic-cpu { --i: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23000' stroke-width='1.8' stroke-linecap='round' stroke-linejoin='round'%3E%3Crect x='6' y='6' width='12' height='12' rx='2'/%3E%3Crect x='9.5' y='9.5' width='5' height='5' rx='1'/%3E%3Cpath d='M9 2.5v3.5M15 2.5v3.5M9 18v3.5M15 18v3.5M2.5 9H6M2.5 15H6M18 9h3.5M18 15h3.5'/%3E%3C/svg%3E"); }
.ic-download { --i: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23000' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M12 4v11M7 11l5 5 5-5'/%3E%3Cpath d='M4 19h16'/%3E%3C/svg%3E"); }
.ic-trash { --i: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23000' stroke-width='1.8' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M4 7h16M9 7V4.5h6V7M7 7l.8 12.5h8.4L17 7'/%3E%3C/svg%3E"); }
.ic-mail { --i: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23000' stroke-width='1.8' stroke-linecap='round' stroke-linejoin='round'%3E%3Crect x='3' y='5.5' width='18' height='13' rx='2.5'/%3E%3Cpath d='M3.5 7l8.5 6 8.5-6'/%3E%3C/svg%3E"); }
.ic-doc { --i: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23000' stroke-width='1.8' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M7 3h7l5 5v13H7z'/%3E%3Cpath d='M14 3v5h5M10 13h6M10 17h6'/%3E%3C/svg%3E"); }
.ic-layers { --i: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23000' stroke-width='1.8' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M12 4l8 4.5-8 4.5-8-4.5z'/%3E%3Cpath d='M4 13l8 4.5 8-4.5M4 17.5L12 22l8-4.5'/%3E%3C/svg%3E"); }
.ic-compass { --i: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23000' stroke-width='1.8' stroke-linecap='round' stroke-linejoin='round'%3E%3Ccircle cx='12' cy='12' r='9'/%3E%3Cpath d='M15.5 8.5l-2 5-5 2 2-5z'/%3E%3C/svg%3E"); }
.ic-spark { --i: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23000' stroke-width='1.8' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M12 3c.6 4.6 3.4 7.4 8 8-4.6.6-7.4 3.4-8 8-.6-4.6-3.4-7.4-8-8 4.6-.6 7.4-3.4 8-8z'/%3E%3C/svg%3E"); }
.ic-globe { --i: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23000' stroke-width='1.8' stroke-linecap='round' stroke-linejoin='round'%3E%3Ccircle cx='12' cy='12' r='9'/%3E%3Cpath d='M3 12h18M12 3c2.5 2.6 3.8 5.6 3.8 9s-1.3 6.4-3.8 9c-2.5-2.6-3.8-5.6-3.8-9S9.5 5.6 12 3z'/%3E%3C/svg%3E"); }
.ic-warn { --i: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23000' stroke-width='1.8' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M12 3.5l9.5 16.5h-19z'/%3E%3Cpath d='M12 10v4.5M12 17.5v.5'/%3E%3C/svg%3E"); }
.ic-info { --i: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23000' stroke-width='1.8' stroke-linecap='round' stroke-linejoin='round'%3E%3Ccircle cx='12' cy='12' r='9'/%3E%3Cpath d='M12 11v5M12 8v.5'/%3E%3C/svg%3E"); }
.ic-copy { --i: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23000' stroke-width='1.8' stroke-linecap='round' stroke-linejoin='round'%3E%3Crect x='8' y='8' width='12' height='12' rx='2'/%3E%3Cpath d='M16 8V6a2 2 0 00-2-2H6a2 2 0 00-2 2v8a2 2 0 002 2h2'/%3E%3C/svg%3E"); }
.ic-ring { --i: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='8 8 84 84'%3E%3Cpath fill='%23000' d='M9,85h24v6H9V85z%20M67,85v6h24v-6H67z%20M22,43c0-15.4,12.6-28,28-28s28,12.6,28,28c0,9-4.3,17.1-11,22.2v7.2%20C77.2,66.5,84,55.6,84,43C84,24.2,68.8,9,50,9S16,24.2,16,43c0,12.6,6.8,23.5,17,29.4v-7.2C26.3,60.1,22,52,22,43z%20M47,91h6V66h-6%20V91z%20M57,91h6V66h-6V91z%20M37,91h6V66h-6V91z'/%3E%3C/svg%3E"); }

.icon-box {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 48px;
  height: 48px;
  border-radius: 14px;
  background: var(--brand-soft);
  color: var(--brand-ink);
}
.icon-box .ic { width: 24px; height: 24px; }
.icon-box--white { background: rgba(255, 255, 255, 0.14); color: #fff; }

/* ---------- hero ---------- */

.hero { padding: clamp(48px, 3rem + 4vw, 104px) 0 clamp(40px, 2rem + 3vw, 80px); }
.hero--tint { background: linear-gradient(180deg, var(--brand-tint) 0%, var(--paper) 100%); }
.hero h1 + .lead { margin-top: 20px; }
.hero .row { margin-top: 32px; }
.hero__note { margin-top: 20px; font-size: 0.9375rem; color: var(--ink-3); }

/* The home hero: a full-bleed photo under the navigation, the tagline centred on it. */
.hero-photo {
  position: relative;
  margin-top: calc(-1 * var(--nav-h) - 2px);
  padding: calc(var(--nav-h) + 2px + clamp(72px, 6rem + 4vw, 150px)) 0 clamp(72px, 6rem + 4vw, 150px);
  min-height: calc(100vh + 4px);
  min-height: calc(100svh + 4px);
  display: flex;
  align-items: center;
  color: #fff;
  background: var(--brand-deep) url('hero-team.webp') center / cover no-repeat;
  isolation: isolate;
}
@media (max-width: 900px) { .hero-photo { background-image: url('hero-team-1280.webp'); } }
.hero-photo::before {
  content: '';
  position: absolute;
  inset: 0;
  z-index: -1;
  /* A darker patch behind the text keeps the lead readable on light parts of the photo. */
  background:
    radial-gradient(ellipse 60% 50% at 50% 58%, rgba(15, 46, 53, 0.45), rgba(15, 46, 53, 0) 100%),
    linear-gradient(180deg, rgba(15, 46, 53, 0.62) 0%, rgba(15, 46, 53, 0.42) 45%, rgba(15, 46, 53, 0.66) 100%);
}
.hero-photo .wrap { text-align: center; }
.hero-photo h1 { color: #fff; max-width: 760px; margin: 0 auto; font-size: clamp(2.375rem, 1.5rem + 3.2vw, 4rem); }
.hero-photo h1 .accent { color: #a9dbe4; display: inline-block; text-wrap: balance; }
.hero-photo .lead { color: rgba(255, 255, 255, 0.9); max-width: 640px; margin: 22px auto 0; }
.hero-photo .row { justify-content: center; margin-top: 32px; }
.hero-photo .hero__note { color: rgba(255, 255, 255, 0.9); text-shadow: 0 1px 12px rgba(15, 46, 53, 0.7); }
/* On a phone the tagline sits right under the bar, not in the middle of a tall photo. */
@media (max-width: 720px) {
  /* The block sits in the middle of the photo below the bar, a little
     above the exact centre, where the eye expects it. */
  .hero-photo { padding-top: calc(var(--nav-h) + 2px + 24px); padding-bottom: calc(24px + 5svh); }
  .hero-photo h1 { font-size: clamp(2.25rem, 1.5rem + 4vw, 2.75rem); }
  .hero-photo h1 .accent { text-wrap: wrap; } /* "with the people / in view." */
  .hero-photo .lead { margin-top: 18px; text-wrap: balance; }
  .hero-photo .row { margin-top: 28px; }
  .hero-photo .btn--lg { min-height: 50px; padding: 0 22px; font-size: 1rem; }
  .hero-photo .hero__note { margin-top: 20px; font-size: 0.875rem; max-width: 330px; margin-left: auto; margin-right: auto; }
}

.accent { color: var(--brand-ink); }

/* Bento: small mock-ups with a caption, one per thing the product shows. */
.bento { display: grid; gap: 16px; grid-template-columns: 1fr; }
@media (min-width: 600px) { .bento { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 900px) { .bento { grid-template-columns: repeat(3, 1fr); } }
.bento__item { display: flex; flex-direction: column; gap: 14px; padding: 16px; border-radius: var(--radius-lg); background: var(--paper); border: 1px solid var(--line); }
.bento__mock { display: grid; align-content: center; gap: 8px; min-height: 120px; padding: 16px; border-radius: var(--radius); background: var(--brand-tint); border: 1px solid var(--brand-line); font-size: 0.8125rem; color: var(--ink-2); }
.bento__cap { font-weight: 700; color: var(--ink); font-size: 0.9375rem; }
.bento__cap small { display: block; font-weight: 400; color: var(--ink-2); margin-top: 2px; }
.mock-bar { display: grid; grid-template-columns: 82px 1fr; align-items: center; gap: 8px; }
.mock-bar i { display: block; height: 8px; border-radius: 999px; background: var(--brand); }
.mock-chips { display: flex; flex-wrap: wrap; gap: 6px; }
.mock-chips .chip { font-size: 0.75rem; padding: 4px 10px; }
.mock-line { display: flex; flex-wrap: wrap; gap: 4px 5px; line-height: 1.5; }
.mock-line .redacted { display: inline-block; padding: 0 6px; border-radius: 4px; background: var(--brand-deep); color: #fff; font-size: 0.7rem; letter-spacing: 0.04em; }
.mock-people { display: flex; align-items: center; gap: 6px; }
.mock-people i { width: 26px; height: 26px; border-radius: 999px; background: var(--brand-line); border: 2px solid #fff; margin-left: -8px; }
.mock-people i:first-child { margin-left: 0; }
.mock-people b { margin-left: 8px; font-size: 1.25rem; color: var(--brand-ink); }
.mock-switch { display: flex; align-items: center; justify-content: space-between; gap: 12px; padding: 10px 12px; border-radius: 12px; background: #fff; border: 1px solid var(--line); color: var(--ink); font-weight: 700; }
.mock-switch i { position: relative; width: 40px; height: 22px; border-radius: 999px; background: var(--brand-ink); flex: 0 0 auto; }
.mock-switch i::after { content: ''; position: absolute; top: 3px; right: 3px; width: 16px; height: 16px; border-radius: 999px; background: #fff; }
.mock-trend { display: flex; align-items: flex-end; gap: 6px; height: 56px; }
.mock-trend i { flex: 1; border-radius: 4px 4px 0 0; background: var(--brand); opacity: 0.85; }

.page-head { padding: clamp(48px, 3rem + 3vw, 88px) 0 clamp(24px, 2rem + 1vw, 40px); }
.page-head .lead { margin-top: 18px; }
.page-head--center { text-align: center; }
.page-head--center .lead { margin-left: auto; margin-right: auto; }

/* ---------- cards ---------- */

.card {
  background: var(--paper);
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  padding: 24px;
}
/* A plan card: the list keeps clear of the button below it. */
.card--stack .checks { margin-bottom: 32px; }
.card--soft { background: var(--paper-2); border-color: transparent; }
.card--tint { background: var(--brand-tint); border-color: var(--brand-line); }
.card--deep { background: var(--brand-deep); border-color: transparent; color: #fff; }
.card--deep h3, .card--deep h4 { color: #fff; }
.card--deep p, .card--deep li { color: rgba(255, 255, 255, 0.86); }
.card--lift { box-shadow: var(--shadow); }
.card .icon-box { margin-bottom: 20px; }
.card h3 + p, .card h4 + p { margin-top: 10px; }
.card p { color: var(--ink-2); }
.card--deep p { color: rgba(255, 255, 255, 0.86); }
.card .tiny { color: var(--ink-3); }
.card > .text-link { margin-top: 8px; } /* 18px after the 10px tap padding */
.card--stack { display: flex; flex-direction: column; }
.card--stack > .text-link, .card--stack > .btn { margin-top: auto; }
.card--stack > p + .text-link, .card--stack > ul + .text-link { padding-top: 28px; }

.feature { display: grid; grid-template-columns: auto 1fr; gap: 18px; align-items: start; }
.feature .icon-box { margin: 0; }
.feature h3 + p, .feature h4 + p { margin-top: 6px; }
.feature p { color: var(--ink-2); }
@media (max-width: 560px) { .feature.card { grid-template-columns: 1fr; gap: 14px; } }

.checks { list-style: none; margin: 0; padding: 0; display: grid; gap: 10px; }
.checks li { position: relative; padding-left: 30px; color: var(--ink-2); }
.checks li::before {
  content: '';
  position: absolute;
  left: 0;
  top: 0.15em;
  width: 20px;
  height: 20px;
  border-radius: 999px;
  background: var(--brand-soft);
}
.checks li::after {
  content: '';
  position: absolute;
  left: 4px;
  top: calc(0.15em + 4px);
  width: 12px;
  height: 12px;
  background: var(--brand-ink);
  -webkit-mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23000' stroke-width='3' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M5 12.5l4.5 4.5L19 7.5'/%3E%3C/svg%3E") center / contain no-repeat;
  mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23000' stroke-width='3' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M5 12.5l4.5 4.5L19 7.5'/%3E%3C/svg%3E") center / contain no-repeat;
}
.checks--ink li { color: var(--ink); }
.section--deep .checks li, .card--deep .checks li { color: rgba(255, 255, 255, 0.9); }
.section--deep .checks li::before, .card--deep .checks li::before { background: rgba(255, 255, 255, 0.16); }
.section--deep .checks li::after, .card--deep .checks li::after { background: #fff; }
.checks--nots li::before { background: var(--danger-soft); }
.checks--nots li::after { background: var(--danger); -webkit-mask-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23000' stroke-width='3' stroke-linecap='round'%3E%3Cpath d='M6 6l12 12M18 6L6 18'/%3E%3C/svg%3E"); mask-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23000' stroke-width='3' stroke-linecap='round'%3E%3Cpath d='M6 6l12 12M18 6L6 18'/%3E%3C/svg%3E"); }

.bullets { margin: 0; padding-left: 1.2em; color: var(--ink-2); display: grid; gap: 8px; }
.bullets--ink { color: var(--ink); }

/* ---------- steps ---------- */

.steps { display: grid; gap: 16px; }
.step { display: grid; grid-template-columns: 52px 1fr; gap: 20px; align-items: start; }
.step__n {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 52px;
  height: 52px;
  border-radius: 999px;
  background: var(--brand-ink);
  color: #fff;
  font-size: 1.25rem;
  font-weight: 700;
}
.step h3 + p { margin-top: 8px; }
.step p { color: var(--ink-2); }
.step + .step { padding-top: 16px; border-top: 1px solid var(--line); }

/* ---------- stats ---------- */

.stat { container-type: inline-size; padding: 24px; border-radius: var(--radius-lg); background: var(--paper); border: 1px solid var(--line); }
.stat__n { display: block; white-space: nowrap; font-size: clamp(2rem, 1.5rem + 1.6vw, 2.75rem); font-weight: 700; line-height: 1; letter-spacing: -0.03em; color: var(--brand-ink); }
/* In a narrow card the figure shrinks with the card, so a range such as 50–200% fits. */
@supports (font-size: 1cqi) { .stat__n { font-size: min(clamp(2rem, 1.5rem + 1.6vw, 2.75rem), 19cqi); } }
.stat__l { display: block; margin-top: 10px; font-weight: 700; color: var(--ink); }
.stat__s { display: block; margin-top: 4px; font-size: 0.9375rem; color: var(--ink-2); }
.stat__src { display: block; margin-top: 12px; font-size: 0.8125rem; color: var(--ink-3); }
.stat__src a { color: inherit; }
.stat--deep { background: rgba(255, 255, 255, 0.08); border-color: rgba(255, 255, 255, 0.14); }
.stat--deep .stat__n, .stat--deep .stat__l { color: #fff; }
.stat--deep .stat__s { color: rgba(255, 255, 255, 0.8); }

/* ---------- tables ---------- */

.table-wrap { overflow-x: auto; border: 1px solid var(--line); border-radius: var(--radius); background: var(--paper); }
.table { width: 100%; border-collapse: collapse; font-size: 0.9375rem; }
.table th, .table td { padding: 14px 16px; text-align: left; vertical-align: top; border-top: 1px solid var(--line); }
.table thead th { border-top: 0; background: var(--paper-2); font-size: 0.8125rem; letter-spacing: 0.04em; text-transform: uppercase; color: var(--ink-2); }
.table--keys th:first-child { width: 44%; }
.table td.num, .table th.num { text-align: right; font-variant-numeric: tabular-nums; }
.table td strong { color: var(--ink); }
@media (max-width: 600px) {
  .table { font-size: 0.875rem; }
  .table th, .table td { padding: 10px 10px; overflow-wrap: break-word; }
}

/* ---------- prose (legal pages) ---------- */

.prose { font-size: 1.0625rem; color: var(--ink-2); }
.prose h2 { font-size: 1.5rem; margin: 48px 0 14px; color: var(--ink); }
.prose h3 { font-size: 1.125rem; margin: 28px 0 10px; color: var(--ink); }
.prose p + p { margin-top: 12px; }
.prose ul, .prose ol { margin: 12px 0; padding-left: 1.4em; display: grid; gap: 6px; }
.prose strong { color: var(--ink); }
.prose .table-wrap { margin: 16px 0; }
.prose .contact-box { margin-top: 16px; }
.prose > :first-child { margin-top: 0; }

.summary { padding: 22px 24px; border-radius: var(--radius); background: var(--brand-tint); border: 1px solid var(--brand-line); color: var(--ink-2); }
.summary strong { color: var(--ink); }

.contact-box { padding: 18px 22px; border-radius: var(--radius); background: var(--paper-2); }

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

.field { display: grid; gap: 8px; }
.field > span:first-child, .label { font-size: 0.9375rem; font-weight: 700; color: var(--ink); }
.input {
  width: 100%;
  min-height: 50px;
  padding: 12px 16px;
  font-size: 1rem; /* 16px or more: iOS does not zoom into the field */
  border: 1px solid var(--brand-line);
  border-radius: 12px;
  background: #fff;
  color: var(--ink);
  transition: border-color 0.2s, box-shadow 0.2s;
}
.input::placeholder { color: var(--ink-3); }
.input:focus { outline: none; border-color: var(--brand-ink); box-shadow: 0 0 0 4px var(--brand-soft); }
.help { font-size: 0.875rem; color: var(--ink-2); }
.form-status {
  padding: 12px 16px;
  border-radius: 12px;
  font-size: 0.9375rem;
  font-weight: 700;
  background: var(--paper-2);
  color: var(--ink-2);
}
.form-status:empty, .form-status[hidden] { display: none; }
form p:empty { display: none; }
.form-status[data-state="neutral"] { padding: 0; background: none; font-weight: 400; }
.form-status[data-state="success"] { background: var(--success-soft); color: var(--success); }
.form-status[data-state="warning"] { background: var(--warning-soft); color: var(--warning); }
.form-status[data-state="error"] { background: var(--danger-soft); color: var(--danger); }

.chip {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 6px 12px;
  border-radius: 999px;
  font-size: 0.8125rem;
  font-weight: 700;
  background: var(--brand-soft);
  color: var(--brand-deep);
  white-space: nowrap;
}
.chip::before { content: ''; width: 8px; height: 8px; border-radius: 999px; background: currentColor; }
.chip[data-state="success"] { background: var(--success-soft); color: var(--success); }
.chip[data-state="warning"] { background: var(--warning-soft); color: var(--warning); }
.chip[data-state="error"] { background: var(--danger-soft); color: var(--danger); }
.chip--plain::before { display: none; }

.checkbox { display: flex; gap: 12px; align-items: flex-start; font-size: 0.9375rem; color: var(--ink); }
.checkbox input { width: 22px; height: 22px; margin: 2px 0 0; accent-color: var(--brand-ink); flex: 0 0 auto; }

.code-block {
  display: block;
  margin: 10px 0;
  padding: 12px 14px;
  border-radius: 10px;
  background: var(--paper-2);
  border: 1px solid var(--line);
  font-family: ui-monospace, SFMono-Regular, Menlo, Consolas, monospace;
  font-size: 0.9rem;
  color: var(--brand-deep);
  white-space: pre-wrap;
  word-break: break-word;
}

.notice { display: grid; grid-template-columns: auto 1fr; gap: 12px; padding: 14px 16px; border-radius: 12px; background: var(--paper-2); font-size: 0.9375rem; color: var(--ink-2); }
.notice .ic { width: 20px; height: 20px; color: var(--brand-ink); margin-top: 2px; }
.notice--success { background: var(--success-soft); color: var(--success); }
.notice--success .ic { color: var(--success); }
.notice--warning { background: var(--warning-soft); color: var(--warning); }
.notice--warning .ic { color: var(--warning); }

/* ---------- illustrations ---------- */

.panel {
  border-radius: var(--radius-lg);
  background: var(--paper);
  border: 1px solid var(--line);
  box-shadow: var(--shadow-lg);
  padding: 22px;
}
.panel__head { display: flex; align-items: center; justify-content: space-between; gap: 12px; margin-bottom: 18px; }
.panel__title { font-weight: 700; }
.panel__caption { margin-top: 12px; font-size: 0.8125rem; color: var(--ink-3); text-align: center; }

.bars { display: grid; gap: 10px; }
.bar { display: grid; grid-template-columns: 110px 1fr 40px; align-items: center; gap: 12px; font-size: 0.9375rem; }
.bar__track { height: 10px; border-radius: 999px; background: var(--brand-soft); overflow: hidden; }
.bar__fill { height: 100%; border-radius: 999px; background: var(--brand); }
.bar__v { text-align: right; font-variant-numeric: tabular-nums; color: var(--ink-2); font-size: 0.875rem; }

.trend { margin-top: 20px; padding-top: 18px; border-top: 1px solid var(--line); }
.trend__legend { display: flex; flex-wrap: wrap; gap: 6px 16px; margin-top: 10px; font-size: 0.8125rem; color: var(--ink-2); }
.trend__legend span::before { content: ''; display: inline-block; width: 10px; height: 10px; border-radius: 2px; margin-right: 6px; vertical-align: -1px; background: var(--c); }

.axes { border-radius: var(--radius-lg); background: var(--brand-tint); border: 1px solid var(--brand-line); padding: 12px; }

.ring-bg { position: relative; overflow: hidden; }
.ring-bg::before {
  content: '';
  position: absolute;
  right: -12%;
  top: -30%;
  width: 52%;
  aspect-ratio: 1;
  border-radius: 999px;
  border: 26px solid rgba(255, 255, 255, 0.06);
  pointer-events: none;
}
.ring-bg > * { position: relative; }

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

.footer { background: var(--brand-deeper); color: rgba(255, 255, 255, 0.78); padding: 64px 0 32px; }
.footer__grid { display: grid; gap: 36px 24px; grid-template-columns: 1fr 1fr; }
.footer__grid > :first-child { grid-column: 1 / -1; }
@media (min-width: 720px) { .footer__grid { grid-template-columns: 1.6fr 1fr 1fr 1fr; gap: 32px; } .footer__grid > :first-child { grid-column: auto; } }
.footer__base > * { text-wrap: pretty; }
.footer .brand { color: #fff; }
.footer .brand svg { height: 28px; }
.footer__about { margin-top: 18px; max-width: 320px; font-size: 0.9375rem; line-height: 1.6; }
.footer h4 { color: #fff; font-size: 0.875rem; letter-spacing: 0.06em; text-transform: uppercase; margin-bottom: 14px; }
.footer ul { list-style: none; margin: -6px 0; padding: 0; display: grid; gap: 0; }
.footer a { display: inline-block; padding: 6px 0; color: rgba(255, 255, 255, 0.78); text-decoration: none; font-size: 0.9375rem; }
.footer a:hover { color: #fff; }
.footer__base { margin-top: 48px; padding-top: 24px; border-top: 1px solid rgba(255, 255, 255, 0.12); display: flex; flex-wrap: wrap; gap: 8px 24px; justify-content: space-between; font-size: 0.8125rem; color: rgba(255, 255, 255, 0.6); }

/* ---------- small pages (404, checkout result, demo notices) ---------- */

.centre-page { min-height: 100vh; display: grid; place-items: center; padding: 32px 20px; background: var(--brand-tint); }
.centre-card { width: 100%; max-width: 560px; }
.centre-card .brand { display: flex; width: fit-content; margin-bottom: 24px; }
.centre-card h1 { font-size: clamp(1.75rem, 1.4rem + 1.5vw, 2.5rem); }
.centre-card .lead { margin-top: 14px; font-size: 1.0625rem; }
.centre-card .row { margin-top: 28px; }
@media (max-width: 480px) { .centre-card .row .btn { flex: 1 1 100%; } }

.simple-head { border-bottom: 1px solid var(--line); background: var(--paper); }
.simple-head .nav__bar { height: 68px; }
.simple-head .brand svg { height: 26px; }

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

/* Short and small: a block must never look missing while the page scrolls. */
.reveal { opacity: 0; transform: translateY(12px); transition: opacity 0.45s var(--ease), transform 0.45s var(--ease); }
.reveal.visible { opacity: 1; transform: none; }
.reveal-d1 { transition-delay: 0.06s; }
.reveal-d2 { transition-delay: 0.12s; }
.reveal-d3 { transition-delay: 0.18s; }

/* ---------- utilities toggled by scripts ---------- */

.hidden { display: none !important; }
/* Spacing utilities come after the components, so a component that resets its
   margin (.checks, .bullets) does not cancel them. */
.mt-1 { margin-top: 8px; } .mt-2 { margin-top: 16px; } .mt-3 { margin-top: 24px; } .mt-4 { margin-top: 32px; } .mt-6 { margin-top: 48px; }
.mb-2 { margin-bottom: 16px; } .mb-3 { margin-bottom: 24px; } .mb-6 { margin-bottom: 48px; }
.nowrap { white-space: nowrap; }
@media (max-width: 600px) { .meta-line .meta-sep { display: none; } .meta-line > .nowrap { display: block; } }
.opacity-50 { opacity: 0.5; }
.sr-only { position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0, 0, 0, 0); white-space: nowrap; border: 0; }

/* ---------- install command (connector) ---------- */

.install-cmd {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 8px 8px 8px 16px;
  border-radius: 12px;
  background: var(--brand-deeper);
  color: #e6f2f4;
  border: 1px solid var(--brand-deep);
}
.install-cmd code {
  flex: 1 1 auto;
  min-width: 0;
  font-family: ui-monospace, SFMono-Regular, Menlo, Consolas, monospace;
  font-size: 0.875rem;
  color: inherit;
  background: none;
  border: 0;
  box-shadow: none;
  padding: 0;
  white-space: normal;
}
/* One command per block line. A long command wraps between words only, and
   its continuation is indented, so each command still reads as one. */
.install-cmd code > span { display: block; white-space: pre-wrap; overflow-wrap: anywhere; padding-left: 2ch; text-indent: -2ch; }
.install-cmd .btn { flex: 0 0 auto; color: #e6f2f4; border-color: rgba(230, 242, 244, 0.35); }
.install-cmd .btn:hover { background: rgba(255, 255, 255, 0.1); color: #fff; }
.install-cmd .btn.is-copied { color: #a9dbe4; border-color: #a9dbe4; }
@media (max-width: 600px) {
  .install-cmd { flex-wrap: wrap; padding: 12px 10px; }
  /* Small enough that the address of the script fits on one line. */
  .install-cmd code { flex-basis: 100%; font-size: 0.75rem; }
}

.cmd-table { width: 100%; border-collapse: collapse; font-size: 0.9375rem; }
.cmd-table td { padding: 10px 12px 10px 0; border-bottom: 1px solid var(--line); vertical-align: top; }
.cmd-table td:first-child { white-space: nowrap; font-family: ui-monospace, SFMono-Regular, Menlo, Consolas, monospace; color: var(--brand-deep); font-size: 0.9rem; width: 1%; padding-right: 20px; }
.cmd-table tr:last-child td { border-bottom: 0; }
@media (max-width: 600px) {
  .cmd-table, .cmd-table tbody, .cmd-table tr, .cmd-table td { display: block; width: auto; }
  .cmd-table tr { padding: 10px 0; border-bottom: 1px solid var(--line); }
  .cmd-table tr:last-child { border-bottom: 0; }
  .cmd-table td { padding: 0; border: 0; }
  .cmd-table td:first-child { width: auto; padding: 0 0 4px; white-space: normal; overflow-wrap: anywhere; }
}

/* ---------- smartphones ----------
   One place for the phone layout. The rules keep the desktop design and
   make it denser: less empty space, icons next to their titles, figures two
   by two, buttons that fill the row, tables that read as lists. */

@media (max-width: 600px) {
  h1 { font-size: 2rem; }
  h2 { font-size: 1.5rem; }
  .lead { font-size: 1.0625rem; }
  .tiny { font-size: 0.875rem; }
  .prose { font-size: 1rem; }
  .prose h2 { font-size: 1.3125rem; margin-top: 40px; }

  .section { padding: 52px 0; }
  .section--tight { padding: 40px 0; }
  .section-head { margin-bottom: 28px; }
  .page-head { padding: 36px 0 8px; }
  .hero { padding: 36px 0 20px; }
  .page-head .lead { margin-top: 14px; }

  .card { padding: 18px; }
  .panel { padding: 18px; }
  .summary { padding: 18px; }
  .grid { gap: 14px; }
  .grid--split { gap: 32px; }

  .hero-photo::before {
    background:
      radial-gradient(ellipse 90% 45% at 50% 40%, rgba(15, 46, 53, 0.5), rgba(15, 46, 53, 0) 100%),
      linear-gradient(180deg, rgba(15, 46, 53, 0.62) 0%, rgba(15, 46, 53, 0.42) 45%, rgba(15, 46, 53, 0.66) 100%);
  }
  .hero-photo .hero__note { text-wrap: balance; }

  /* Icon or step number next to the title; the text below uses the full width. */
  .feature, .feature.card { grid-template-columns: 40px 1fr; gap: 10px 14px; align-items: center; }
  .feature > div { display: contents; }
  .feature > div > * { grid-column: 1 / -1; }
  .feature > div > :first-child { grid-column: 2; }
  .feature h3 + p, .feature h4 + p { margin-top: 0; }
  .card:has(> :is(.icon-box, .step__n):first-child) { display: grid; grid-template-columns: 40px 1fr; column-gap: 14px; align-items: center; align-content: start; }
  .card:has(> :is(.icon-box, .step__n):first-child) > * { grid-column: 1 / -1; }
  .card:has(> :is(.icon-box, .step__n):first-child) > :first-child { grid-column: 1; margin: 0; }
  .card:has(> :is(.icon-box, .step__n):first-child) > :first-child + :is(h3, h4) { grid-column: 2; margin: 0; }
  .icon-box { width: 40px; height: 40px; border-radius: 12px; }
  .icon-box .ic { width: 20px; height: 20px; }
  .step__n { width: 40px; height: 40px; font-size: 1.0625rem; }

  /* Figures two by two. */
  .grid--4:has(> .stat), .grid--pair { grid-template-columns: repeat(2, 1fr); gap: 12px; }
  .stat { padding: 16px; }
  .stat__l { margin-top: 8px; font-size: 0.9375rem; line-height: 1.35; }
  .stat__s { font-size: 0.875rem; }

  /* Mock-ups on the home page: same content, less height. */
  .bento__item { padding: 12px; gap: 12px; }
  .bento__mock { min-height: 96px; padding: 12px; }

  /* Buttons fill the row: two short ones share it, a long one takes it all. */
  .row > .btn { flex: 1 1 auto; }

  /* Tables marked to stack: one block per row, each value with its label. */
  .table--stack thead { display: none; }
  .table--stack, .table--stack tbody, .table--stack tr, .table--stack td { display: block; width: auto; }
  .table--stack tr { padding: 12px 14px; border-top: 1px solid var(--line); }
  .table--stack tbody tr:first-child { border-top: 0; }
  .table--stack td { padding: 2px 0; border: 0; text-align: left; }
  .table--stack td:first-child { font-weight: 700; color: var(--ink); margin-bottom: 2px; }
  .table--stack td + td::before { content: attr(data-label) ": "; font-weight: 700; color: var(--ink-3); font-size: 0.8125rem; letter-spacing: 0.02em; }
  .table--stack td.num { text-align: left; }

  /* Small pages: the card at the top, where the eye lands. */
  .centre-page { place-items: start center; padding-top: 32px; }

  /* Footer: shorter. The legal links go on one line. */
  .footer { padding: 44px 0 28px; }
  .footer__grid { gap: 28px 24px; }
  .footer__grid > :nth-child(4) { grid-column: 1 / -1; }
  .footer__grid > :nth-child(4) ul { display: flex; flex-wrap: wrap; gap: 0 24px; }
  .footer__base { margin-top: 32px; }
}
