/* The Club Digital — site styles, v3 "monochrome night"
   Built around the logo: a black-and-white isometric hexagon mark. Monochrome surfaces,
   a black 9pm night for the hero and feature bands, the mark itself as the hero's light
   source in brushed silver, liquid glass floating over it, and hexagons as small cues
   (eyebrows, ticks, step markers). One functional colour: the "done" green. */

:root {
  --bg: #FFFFFF;
  --bg-2: #F5F5F7;
  --surface: #FFFFFF;
  --ink: #0A0A0A;
  --ink-2: #5E5E64;
  --ink-3: #8A8A90;
  --line: rgba(0, 0, 0, .08);
  --line-2: rgba(0, 0, 0, .15);
  --accent-text: #5E5E64;          /* eyebrows and small labels */
  --ember: #0A0A0A;                /* fills that mark progress (named for history) */
  --done: #0E8F4F;                 /* the "it's handled" green, status only */
  --done-soft: rgba(14, 143, 79, .12);
  --mono-soft: rgba(0, 0, 0, .05);
  --notif-ink: #0A0A0A;
  --notif-ink-2: #48484E;
  --orb-a: #C7C7CC;
  --orb-b: #E5E5EA;
  --orb-c: #AEAEB2;
  --metal: linear-gradient(165deg, #FFFFFF 0%, #D1D1D6 30%, #8E8E93 62%, #3A3A3C 100%);
  --watermark: linear-gradient(160deg, rgba(0, 0, 0, .07), rgba(0, 0, 0, .015));
  --on-dusk: #FFFFFF;
  --on-dusk-2: rgba(255, 255, 255, .7);
  --dusk-top: #000000;
  --dusk:
    radial-gradient(85% 65% at 74% 108%, rgba(255, 255, 255, .17) 0%, rgba(255, 255, 255, .05) 38%, rgba(255, 255, 255, 0) 62%),
    radial-gradient(70% 55% at 6% 10%, rgba(142, 142, 160, .16) 0%, rgba(142, 142, 160, 0) 70%),
    linear-gradient(180deg, #000000 0%, #060607 42%, #111113 72%, #1C1C1F 100%);

  --font: "Geist", -apple-system, BlinkMacSystemFont, "Segoe UI", system-ui, Roboto, Arial, sans-serif;

  --r-s: 12px;
  --r-m: 20px;
  --r-l: 28px;
  --nav-h: 56px;
  --nav-top: 12px;
  --nav-space: calc(var(--nav-h) + var(--nav-top) * 2 + env(safe-area-inset-top, 0px));
  color-scheme: light;
}

@media (prefers-color-scheme: dark) {
  :root:not([data-theme="light"]) {
    --bg: #000000;
    --bg-2: #0E0E10;
    --surface: #1C1C1E;
    --ink: #F5F5F7;
    --ink-2: #A1A1A6;
    --ink-3: #7C7C82;
    --line: rgba(255, 255, 255, .09);
    --line-2: rgba(255, 255, 255, .16);
    --accent-text: #A1A1A6;
    --ember: #F5F5F7;
    --done: #30D158;
    --done-soft: rgba(48, 209, 88, .16);
    --mono-soft: rgba(255, 255, 255, .08);
    --notif-ink: #F5F5F7;
    --notif-ink-2: #AEAEB2;
    --orb-a: #3A3A3C;
    --orb-b: #2C2C2E;
    --orb-c: #48484A;
    --metal: linear-gradient(165deg, #FFFFFF 0%, #D1D1D6 30%, #8E8E93 62%, #3A3A3C 100%);
    --watermark: linear-gradient(160deg, rgba(255, 255, 255, .09), rgba(255, 255, 255, .02));
    color-scheme: dark;
  }
}
:root[data-theme="dark"] {
  --bg: #000000;
  --bg-2: #0E0E10;
  --surface: #1C1C1E;
  --ink: #F5F5F7;
  --ink-2: #A1A1A6;
  --ink-3: #7C7C82;
  --line: rgba(255, 255, 255, .09);
  --line-2: rgba(255, 255, 255, .16);
  --accent-text: #A1A1A6;
  --ember: #F5F5F7;
  --done: #30D158;
  --done-soft: rgba(48, 209, 88, .16);
  --mono-soft: rgba(255, 255, 255, .08);
  --notif-ink: #F5F5F7;
  --notif-ink-2: #AEAEB2;
  --orb-a: #3A3A3C;
  --orb-b: #2C2C2E;
  --orb-c: #48484A;
  --metal: linear-gradient(165deg, #FFFFFF 0%, #D1D1D6 30%, #8E8E93 62%, #3A3A3C 100%);
  --watermark: linear-gradient(160deg, rgba(255, 255, 255, .09), rgba(255, 255, 255, .02));
  color-scheme: dark;
}

/* ---------- Base ---------- */
*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-padding-top: calc(var(--nav-space) + 8px); }
body {
  margin: 0;
  background: var(--bg);
  color: var(--ink);
  font-family: var(--font);
  font-size: 1.0625rem;
  line-height: 1.6;
  letter-spacing: -.003em;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  text-rendering: optimizeLegibility;
}
body::before {
  content: "";
  position: fixed;
  inset: 0 0 auto;
  height: env(safe-area-inset-top, 0px);
  z-index: 70;
  background: var(--dusk-top);
}
img, svg { max-width: 100%; }
[hidden] { display: none !important; }
a { color: inherit; text-underline-offset: .2em; text-decoration-thickness: 1px; }
:focus-visible { outline: 2px solid var(--ember); outline-offset: 3px; border-radius: 6px; }
::selection { background: rgba(120, 120, 128, .28); }

h1, h2, h3, h4 { margin: 0; font-weight: 640; text-wrap: balance; color: inherit; }
h1 { font-size: clamp(3rem, 7.2vw, 6.25rem); line-height: .98; letter-spacing: -.048em; }
h2 { font-size: clamp(2.25rem, 4.8vw, 4rem); line-height: 1.02; letter-spacing: -.04em; }
h3 { font-size: clamp(1.3rem, 1.8vw, 1.6rem); line-height: 1.18; letter-spacing: -.022em; font-weight: 620; }
h4 { font-size: 1.125rem; letter-spacing: -.012em; font-weight: 620; }
p { margin: 0; }
p + p { margin-top: .85em; }
ul, ol { margin: 0; padding: 0; }
strong { font-weight: 620; }

.skip {
  position: absolute; left: 12px; top: -60px; z-index: 100;
  background: var(--ink); color: var(--bg); padding: 10px 16px; border-radius: 999px; font-weight: 600; text-decoration: none;
}
.skip:focus { top: calc(12px + env(safe-area-inset-top, 0px)); }
.visually-hidden { position: absolute !important; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0; padding: 0; margin: -1px; }

/* ---------- Layout ---------- */
.wrap {
  width: 100%;
  max-width: 1180px;
  margin-inline: auto;
  padding-left: max(20px, env(safe-area-inset-left, 0px));
  padding-right: max(20px, env(safe-area-inset-right, 0px));
}
@media (min-width: 760px) {
  .wrap { padding-left: max(40px, env(safe-area-inset-left, 0px)); padding-right: max(40px, env(safe-area-inset-right, 0px)); }
}
.narrow { max-width: 860px; }
.center { text-align: center; }
.center .actions { justify-content: center; }
.section { padding-block: clamp(88px, 11vw, 150px); position: relative; }
.section--alt { background: var(--bg-2); }
.section--tight { padding-block: clamp(64px, 8vw, 104px); }
.band { background: var(--bg-2); }
.grid { display: grid; gap: clamp(20px, 3vw, 36px); }
.cols-2 { grid-template-columns: repeat(auto-fit, minmax(min(100%, 360px), 1fr)); }
.cols-3 { grid-template-columns: repeat(auto-fit, minmax(min(100%, 280px), 1fr)); }
.stack > * + * { margin-top: 1rem; }
.measure { max-width: 64ch; }
.min0 { min-width: 0; }
.muted { color: var(--ink-2); }
.mt-0 { margin-top: 0 !important; }
.mt-s { margin-top: 12px; }
.mt-m { margin-top: 28px; }
.mt-l { margin-top: 48px; }

.section-head, .panel-head { display: grid; gap: 16px; margin-bottom: clamp(40px, 5.5vw, 72px); max-width: 860px; }
.section-head.center, .panel-head.center { margin-inline: auto; justify-items: center; }
.section-head .lead, .panel-head p { max-width: 58ch; }
.panel-head p { color: var(--ink-2); font-size: clamp(1.1rem, 1.5vw, 1.3rem); line-height: 1.5; }

.eyebrow, .label {
  font-size: .9375rem;
  font-weight: 600;
  letter-spacing: -.005em;
  color: var(--accent-text);
  display: inline-flex; align-items: center; gap: 9px;
}
.eyebrow::before { content: ""; width: 9px; height: 10.4px; flex: none; background: currentColor; clip-path: polygon(50% 0, 100% 25%, 100% 75%, 50% 100%, 0 75%, 0 25%); }
.label--plain { color: var(--ink-3); font-size: .8125rem; font-weight: 600; text-transform: uppercase; letter-spacing: .06em; }
.lead { font-size: clamp(1.15rem, 1.7vw, 1.4rem); line-height: 1.48; color: var(--ink-2); letter-spacing: -.012em; font-weight: 420; }
.lead strong { color: var(--ink); font-weight: 560; }
.hl { color: inherit; background: linear-gradient(transparent 62%, rgba(120, 120, 128, .3) 62%); padding-inline: .04em; }
.fineprint { font-size: .8125rem; color: var(--ink-3); line-height: 1.5; }
.fineprint a { color: var(--ink-2); }


/* ---------- Buttons ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  min-height: 50px; padding: 0 24px;
  border-radius: 999px; border: 1px solid transparent;
  font: 560 1.0625rem/1 var(--font); letter-spacing: -.01em;
  text-decoration: none; cursor: pointer; white-space: nowrap;
  transition: transform .2s cubic-bezier(.2, .8, .2, 1), background-color .2s ease, box-shadow .2s ease, color .2s ease;
}
.btn:active { transform: scale(.97); }
.btn--primary { background: var(--ink); color: var(--bg); }
.btn--primary:hover { box-shadow: 0 10px 24px -12px rgba(14, 15, 17, .55); transform: translateY(-1px); }
.btn--ghost { background: transparent; color: var(--ink); border-color: var(--line-2); }
.btn--ghost:hover { background: var(--surface); border-color: var(--ink-3); }
.btn--light { background: #FFFFFF; color: #0E0F11; }
.btn--light:hover { transform: translateY(-1px); box-shadow: 0 12px 28px -12px rgba(0, 0, 0, .5); }
.btn--glass { --lg-tint: rgba(255, 255, 255, .06); --lg-blur: 6px; --lg-sat: 150%; --lg-bright: .92; --lg-glow: rgba(255, 255, 255, .22); --lg-inner: rgba(255, 255, 255, .5); color: #FFFFFF; text-shadow: 0 1px 2px rgba(20, 16, 40, .35); }
.btn--glass:hover { --lg-tint: rgba(255, 255, 255, .12); transform: translateY(-1px); }
.btn--glass { --lg-spot: 120px; --lg-light: rgba(255, 255, 255, .45); }
.btn--glass::after { opacity: .22; }
.btn--glass:hover::after { opacity: .5; }
.btn--small { min-height: 38px; padding: 0 16px; font-size: .9375rem; }
.btn[disabled] { opacity: .45; cursor: not-allowed; transform: none; box-shadow: none; }
.btn .arrow { transition: transform .2s ease; }
.btn:hover .arrow { transform: translateX(2px); }
.actions { display: flex; flex-wrap: wrap; gap: 12px; align-items: center; }

.more, .textlink {
  display: inline-flex; align-items: center; gap: 4px; justify-self: start;
  font-weight: 560; color: var(--ink); text-decoration: none; letter-spacing: -.01em;
}
.more::after, .textlink::after { content: "›"; font-size: 1.25em; line-height: 1; transform: translateY(-1px); transition: transform .2s ease; }
.more:hover, .textlink:hover { text-decoration: underline; }
.more:hover::after, .textlink:hover::after { transform: translate(2px, -1px); }


/* Soft colour orbs that give glass something to frost */
.orbs { position: absolute; inset: 0; overflow: hidden; pointer-events: none; z-index: 0; }
.orbs i { position: absolute; border-radius: 50%; filter: blur(30px); opacity: .9; }
.orbs i:nth-child(1) { width: 46%; aspect-ratio: 1; background: var(--orb-a); left: -6%; top: 8%; }
.orbs i:nth-child(2) { width: 40%; aspect-ratio: 1; background: var(--orb-b); right: 4%; top: -10%; }
.orbs i:nth-child(3) { width: 36%; aspect-ratio: 1; background: var(--orb-c); right: 22%; bottom: -16%; }

/* ---------- Dusk bands ---------- */
.dusk {
  position: relative;
  background: var(--dusk);
  color: var(--on-dusk);
  isolation: isolate;
  overflow: hidden;
}
.dusk::after {
  /* fine grain so the gradient reads like light, not a flat fill */
  content: "";
  position: absolute; inset: 0; z-index: -1; pointer-events: none;
  opacity: .16; mix-blend-mode: overlay;
  background-image: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' width='180' height='180'><filter id='n'><feTurbulence type='fractalNoise' baseFrequency='.9' numOctaves='3' stitchTiles='stitch'/><feColorMatrix values='0 0 0 0 1 0 0 0 0 1 0 0 0 0 1 0 0 0 .6 0'/></filter><rect width='100%' height='100%' filter='url(%23n)'/></svg>");
}
.dusk .eyebrow { color: rgba(255, 255, 255, .62); }
.dusk .lead { color: var(--on-dusk-2); }
.dusk a:not(.btn) { color: #FFFFFF; }

/* ---------- Header: floating glass pill ---------- */
.site-header {
  position: sticky;
  top: calc(env(safe-area-inset-top, 0px) + var(--nav-top));
  z-index: 60;
  height: var(--nav-h);
  margin-top: var(--nav-top);
  margin-bottom: calc(-1 * (var(--nav-h) + var(--nav-top)));
  padding-left: max(12px, env(safe-area-inset-left, 0px));
  padding-right: max(12px, env(safe-area-inset-right, 0px));
  pointer-events: none;
}
.nav-pill {
  pointer-events: auto;
  max-width: 1120px; height: 100%; margin-inline: auto;
  display: flex; align-items: center; justify-content: space-between; gap: 12px;
  padding: 0 8px 0 18px;
  border-radius: 999px;
  --lg-tint: var(--tint-nav);
  --lg-blur: 12px;
  color: var(--ink);
}
.brand { display: inline-flex; align-items: center; gap: 9px; color: inherit; text-decoration: none; flex: none; }
.brand-logo {
  display: block; height: 30px; aspect-ratio: 1335 / 252; flex: none;
  background: currentColor;
  -webkit-mask: url("logo-lockup.svg") center / contain no-repeat;
  mask: url("logo-lockup.svg") center / contain no-repeat;
}
.site-footer .brand-logo { height: 34px; }
.nav { display: flex; align-items: center; gap: 2px; }
.nav a:not(.btn) { color: inherit; text-decoration: none; font-size: .9375rem; font-weight: 500; padding: 8px 13px; border-radius: 999px; opacity: .86; transition: opacity .15s ease, background-color .15s ease; }
.nav a:not(.btn):hover { opacity: 1; background: rgba(127, 127, 127, .12); }
.nav a[aria-current="page"] { opacity: 1; background: rgba(127, 127, 127, .14); }
.nav .btn { margin-left: 8px; min-height: 40px; padding: 0 18px; font-size: .9375rem; background: #0E0F11; color: #FFFFFF; }
:root[data-theme="dark"] .nav .btn { background: #FFFFFF; color: #0E0F11; }
@media (prefers-color-scheme: dark) { :root:not([data-theme="light"]) .nav .btn { background: #FFFFFF; color: #0E0F11; } }
.menu-toggle {
  display: none; align-items: center; gap: 8px;
  min-height: 40px; padding: 0 16px; border-radius: 999px; border: 0; cursor: pointer;
  background: rgba(127, 127, 127, .14); color: inherit; font: 560 .9375rem/1 var(--font);
}
.menu-toggle .bars { width: 14px; height: 10px; position: relative; }
.menu-toggle .bars::before, .menu-toggle .bars::after { content: ""; position: absolute; left: 0; right: 0; height: 1.5px; background: currentColor; border-radius: 2px; transition: transform .25s ease, top .25s ease; }
.menu-toggle .bars::before { top: 1px; }
.menu-toggle .bars::after { top: 7px; }
.menu-toggle[aria-expanded="true"] .bars::before { top: 4px; transform: rotate(45deg); }
.menu-toggle[aria-expanded="true"] .bars::after { top: 4px; transform: rotate(-45deg); }
/* Phones and tablets: the menu opens as a solid panel in the page's own colours (white with
   dark text, or dark with light text in dark mode), whatever is behind the bar, so it always
   reads clearly. The page behind dims while it's open. */
@media (max-width: 960px) {
  .menu-toggle { display: inline-flex; }
  .nav {
    display: none;
    position: absolute; left: 0; right: 0; top: calc(100% + 8px);
    flex-direction: column; align-items: stretch; gap: 2px;
    padding: 10px; border-radius: 24px;
    background: var(--surface); color: var(--ink);
    border: 1px solid color-mix(in srgb, var(--ink) 10%, transparent);
    box-shadow: 0 30px 60px -24px rgba(0, 0, 0, .55), 0 2px 8px -4px rgba(0, 0, 0, .2);
  }
  .nav.is-open { display: flex; }
  .nav a:not(.btn) { padding: 14px 16px; font-size: 1.0625rem; font-weight: 560; border-radius: 14px; color: var(--ink); opacity: 1; }
  .nav a:not(.btn):hover, .nav a[aria-current="page"] { background: color-mix(in srgb, var(--ink) 7%, transparent); }
  .nav a:not(.btn):focus-visible { outline: 2px solid var(--ink); outline-offset: -2px; }
  .nav .btn, :root[data-theme="dark"] .nav .btn { margin: 8px 0 0; min-height: 48px; background: var(--ink); color: var(--surface); }
  .site-header.menu-open::before { content: ""; position: fixed; inset: 0; z-index: -1; background: rgba(0, 0, 0, .4); pointer-events: auto; }
}
@media (max-width: 960px) and (prefers-color-scheme: dark) { :root:not([data-theme="light"]) .nav .btn { background: var(--ink); color: var(--surface); } }
@media (max-width: 960px) and (prefers-reduced-motion: no-preference) {
  .nav.is-open { animation: menu-in .22s cubic-bezier(.2, .8, .2, 1); }
  .site-header.menu-open::before { animation: menu-dim .22s ease; }
}
@keyframes menu-in { from { opacity: 0; transform: translateY(-6px) scale(.98); } }
@keyframes menu-dim { from { opacity: 0; } }

/* ---------- Home hero ---------- */
.hero { padding-top: calc(var(--nav-space) + clamp(32px, 6vw, 88px)); padding-bottom: clamp(72px, 9vw, 130px); }
.hero-grid { display: grid; grid-template-columns: minmax(0, 1.1fr) minmax(0, .9fr); gap: clamp(40px, 6vw, 96px); align-items: center; }
@media (max-width: 980px) { .hero-grid { grid-template-columns: minmax(0, 1fr); } }
.hero-copy { display: grid; gap: 26px; }
.hero h1 { color: #FFFFFF; max-width: 9.5ch; }
.hero h1 .soft { background: linear-gradient(180deg, #FFFFFF 10%, #8E8E93 100%); -webkit-background-clip: text; background-clip: text; color: transparent; }
.hero .lead { max-width: 34ch; font-size: clamp(1.15rem, 1.8vw, 1.45rem); }
.hero-trust { display: flex; flex-wrap: wrap; gap: 6px 18px; font-size: .9375rem; color: var(--on-dusk-2); }
.hero-trust span { display: inline-flex; align-items: center; gap: 7px; }
.hero-trust span::before { content: ""; width: 14px; height: 14px; border-radius: 50%; background: rgba(255, 255, 255, .18) url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 14 14'><path d='M4 7.2l2 2 4-4.4' fill='none' stroke='white' stroke-width='1.6' stroke-linecap='round' stroke-linejoin='round'/></svg>") center / 14px no-repeat; }

/* Lock-screen style notification stack */
.lockscreen { position: relative; display: grid; gap: 10px; justify-items: stretch; max-width: 430px; width: 100%; justify-self: center; }
.ls-time { display: grid; justify-items: center; margin-bottom: 14px; color: #FFFFFF; text-shadow: 0 2px 30px rgba(10, 12, 30, .35); }
.ls-day { font-size: 1.125rem; font-weight: 500; opacity: .85; letter-spacing: -.01em; }
.ls-clock { font-size: clamp(4.5rem, 9vw, 6.6rem); font-weight: 300; line-height: .95; letter-spacing: -.05em; font-variant-numeric: tabular-nums; }
.notifs { list-style: none; display: grid; gap: 10px; }
.notif {
  display: grid; grid-template-columns: 40px minmax(0, 1fr); gap: 12px; align-items: start;
  padding: 13px 15px; border-radius: 22px;
  --lg-tint: var(--tint-notif);
  --lg-blur: 14px;
  color: var(--notif-ink);
}
.n-icon { width: 40px; height: 40px; border-radius: 11px; display: grid; place-items: center; color: #FFFFFF; }
.n-icon svg { width: 22px; height: 22px; }
.n-icon--quote { background: linear-gradient(160deg, #FF9E5E, #E5612A); }
.n-icon--paid { background: linear-gradient(160deg, #3AD08A, #0E8C53); }
.n-icon--book { background: linear-gradient(160deg, #7C8DE0, #4253A8); }
.n-icon--star { background: linear-gradient(160deg, #FFD15C, #F2A322); }
.n-top { display: flex; justify-content: space-between; gap: 8px; font-size: .8125rem; color: var(--notif-ink-2); text-transform: uppercase; letter-spacing: .03em; font-weight: 560; }
.n-when { text-transform: none; letter-spacing: 0; font-weight: 450; }
.n-title { font-weight: 620; font-size: 1rem; letter-spacing: -.012em; margin-top: 1px; }
.n-text { font-size: .9375rem; color: var(--notif-ink-2); line-height: 1.35; }
.ls-note { text-align: center; font-size: .8125rem; color: #FFFFFF; margin-top: 8px; text-shadow: 0 1px 10px rgba(90, 30, 20, .6); }
@media (prefers-reduced-motion: no-preference) {
  .notif { animation: drop .7s cubic-bezier(.2, .9, .25, 1.05) both; animation-delay: calc(.35s + var(--i, 0) * .32s); }
  @keyframes drop { from { opacity: 0; transform: translateY(-18px) scale(.96); } to { opacity: 1; transform: none; } }
}
/* Live version (site.js): the clock shows the visitor's own time, each digit in a slot so it can roll
   over; notifications arrive one at a time on top while the oldest slips away behind the stack.
   The page's four stay in place but invisible (the ghost), so the space never changes size. */
.ls-digit { display: inline-block; position: relative; }
.ls-digit > .is-out { position: absolute; left: 0; top: 0; }
.notifs-stage { position: relative; }
.notifs--ghost { visibility: hidden; }
.notifs--ghost .notif, .notifs--live .notif { animation: none; }
.notifs--live { position: absolute; inset: 0; align-content: start; }
.notifs--live .notif.is-leaving { position: absolute; left: 0; right: 0; z-index: -1; pointer-events: none; }
.n-icon--lead { background: linear-gradient(160deg, #5ED3C5, #12857E); }
.n-icon--send { background: linear-gradient(160deg, #64C4FF, #1E6FD0); }
.n-icon--file { background: linear-gradient(160deg, #AEB4BF, #5B626F); }
/* Pause button for keyboard users, shown only when tabbed to (hovering over the cards also pauses). */
.ls-pause {
  position: absolute; left: 50%; top: 100%; translate: -50% 12px;
  opacity: 0; pointer-events: none; white-space: nowrap;
  padding: 8px 16px; border: 0; border-radius: 999px; background: #FFFFFF; color: #0A0A0A;
  font: inherit; font-size: .875rem; font-weight: 560; cursor: pointer;
}
.ls-pause:focus-visible { opacity: 1; pointer-events: auto; outline: 2px solid #FFFFFF; outline-offset: 3px; }

/* ---------- Stat ---------- */
.big-stat { font-size: clamp(3rem, 9vw, 7.5rem); font-weight: 650; letter-spacing: -.055em; line-height: .95; }
.big-stat .num { background: linear-gradient(180deg, var(--ink) 25%, var(--ink-3) 100%); -webkit-background-clip: text; background-clip: text; color: transparent; }
.source { font-size: .875rem; color: var(--ink-3); margin-top: 22px; }
.source a { color: var(--ink-2); }

/* ---------- Bento ---------- */
.bento { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 20px; }
@media (max-width: 980px) { .bento { grid-template-columns: minmax(0, 1fr); } }
.tile {
  position: relative; overflow: hidden; isolation: isolate;
  background: var(--surface); border-radius: var(--r-l);
  display: grid; grid-template-rows: auto 1fr; min-height: 460px; min-width: 0;
}
.tile--wide { grid-column: span 2; }
@media (max-width: 980px) { .tile--wide { grid-column: auto; } .tile { min-height: 0; } }
.tile-copy { padding: clamp(28px, 3.4vw, 44px) clamp(28px, 3.4vw, 44px) 0; display: grid; gap: 12px; align-content: start; position: relative; z-index: 1; }
.tile h3 { font-size: clamp(1.6rem, 2.6vw, 2.25rem); letter-spacing: -.035em; line-height: 1.06; }
.tile p { color: var(--ink-2); max-width: 44ch; }
.tile-price { font-size: .9375rem; font-weight: 560; color: var(--ink) !important; }
.tile-visual { position: relative; min-height: 220px; margin-top: 24px; }
.tile--ink { background: #0E0F11; color: #FFFFFF; }
.tile--ink p { color: rgba(255, 255, 255, .72); }
.tile--ink .tile-price { color: #FFFFFF !important; }
:root[data-theme="dark"] .tile--ink { background: #1F2024; }
@media (prefers-color-scheme: dark) { :root:not([data-theme="light"]) .tile--ink { background: #1F2024; } }
.tile--dusk { background: var(--dusk); color: #FFFFFF; }
.tile--dusk p { color: rgba(255, 255, 255, .78); }
.tile--dusk .tile-price, .tile--dusk .more { color: #FFFFFF !important; }

/* tile visuals */
.flowviz { display: flex; align-items: center; justify-content: center; padding: 20px clamp(20px, 3vw, 40px) 40px; }
.chain { position: relative; z-index: 1; display: flex; flex-wrap: wrap; align-items: center; justify-content: center; gap: 10px 0; }
.chain .chip { display: inline-flex; align-items: center; gap: 8px; padding: 12px 16px; border-radius: 16px; font-weight: 560; font-size: .9375rem; color: var(--ink); white-space: nowrap; }
.chain .chip svg { width: 18px; height: 18px; flex: none; color: var(--ink-2); }
.chain .link { width: 28px; height: 2px; background: var(--line-2); position: relative; }
.chain .link::after { content: ""; position: absolute; right: -1px; top: -3px; border-left: 6px solid var(--line-2); border-top: 4px solid transparent; border-bottom: 4px solid transparent; }
.chain .chip--done { background: var(--done); color: #FFFFFF; border-color: transparent; box-shadow: 0 14px 30px -14px rgba(18, 150, 91, .7); }
.chain .chip--done svg { color: #FFFFFF; }

.browser { position: absolute; left: clamp(24px, 3vw, 40px); right: -30px; bottom: -30px; top: 10px; border-radius: 18px 18px 0 0; overflow: hidden; z-index: 1; }
.browser-bar { display: flex; align-items: center; gap: 6px; padding: 12px 14px; border-bottom: 1px solid var(--line); }
.browser-bar i { width: 10px; height: 10px; border-radius: 50%; background: var(--line-2); }
.browser-bar span { margin-left: 10px; font-size: .75rem; color: var(--ink-3); background: rgba(127, 127, 127, .1); padding: 4px 10px; border-radius: 999px; }
.browser-body { padding: 18px; display: grid; gap: 10px; }
.browser-body b { display: block; height: 14px; width: 62%; border-radius: 6px; background: var(--ink); opacity: .85; }
.browser-body s { display: block; height: 8px; border-radius: 4px; background: var(--line-2); text-decoration: none; }
.browser-body s:nth-of-type(2) { width: 84%; }
.browser-body s:nth-of-type(3) { width: 70%; }
.browser-body em { display: inline-block; margin-top: 6px; height: 28px; width: 110px; border-radius: 999px; background: var(--ink); }
.toast { position: absolute; z-index: 2; left: clamp(16px, 2.4vw, 28px); bottom: 22px; display: flex; align-items: center; gap: 10px; padding: 10px 14px 10px 10px; border-radius: 16px; font-size: .875rem; color: var(--ink); max-width: calc(100% - 32px); }
.toast .n-icon { width: 30px; height: 30px; border-radius: 9px; }
.toast .n-icon svg { width: 16px; height: 16px; }
.toast b { display: block; font-weight: 620; }
.toast span { color: var(--ink-2); font-size: .8125rem; }

.papers { position: absolute; inset: 0; display: grid; place-items: center; }
.papers .sheet { position: absolute; width: 132px; height: 170px; border-radius: 6px; background: #FFFFFF; box-shadow: 0 10px 24px -14px rgba(14, 15, 17, .35); border: 1px solid rgba(14, 15, 17, .06); }
.papers .sheet::before { content: ""; position: absolute; left: 16px; right: 22px; top: 22px; height: 70px; background: repeating-linear-gradient(180deg, #D9D9D4 0 3px, transparent 3px 11px); }
.papers .sheet:nth-child(1) { transform: translate(-46px, -18px) rotate(-9deg); }
.papers .sheet:nth-child(2) { transform: translate(-8px, -30px) rotate(3deg); }
.papers .sheet:nth-child(3) { transform: translate(34px, -14px) rotate(11deg); }
.search { position: absolute; z-index: 1; left: 50%; bottom: 28px; transform: translateX(-50%); width: min(300px, calc(100% - 40px)); padding: 12px 14px; border-radius: 16px; display: grid; gap: 8px; }
.search .q { display: flex; align-items: center; gap: 8px; font-size: .9375rem; color: var(--ink); }
.search .q svg { width: 16px; height: 16px; color: var(--ink-3); }
.search .r { display: flex; align-items: center; gap: 8px; font-size: .8125rem; color: var(--ink-2); border-top: 1px solid var(--line); padding-top: 8px; }
.search .r em { font-style: normal; font-weight: 600; color: #FFFFFF; background: #D9483B; border-radius: 4px; padding: 1px 5px; font-size: .6875rem; }

.applist { position: relative; z-index: 1; display: flex; flex-wrap: wrap; gap: 8px; padding: 24px clamp(28px, 3.4vw, 44px) 36px; align-content: end; }
.applist span { padding: 8px 14px; border-radius: 999px; font-size: .875rem; font-weight: 520; color: var(--ink); }

/* ---------- Run demo ---------- */
.segmented {
  display: inline-flex; flex-wrap: wrap; justify-content: center; gap: 2px; padding: 4px; border-radius: 999px;
  background: var(--track); position: relative;
}
.seg {
  border: 0; background: transparent; color: var(--ink-2); cursor: pointer;
  font: 560 .9375rem/1 var(--font); letter-spacing: -.01em;
  padding: 12px 18px; border-radius: 999px; transition: background-color .2s ease, color .2s ease, box-shadow .2s ease;
}
.seg:hover { color: var(--ink); }
.seg[aria-selected="true"] { background: var(--surface); color: var(--ink); box-shadow: 0 1px 2px rgba(14, 15, 17, .08), 0 6px 16px -10px rgba(14, 15, 17, .3); }
.demo-wrap { display: grid; justify-items: center; gap: 28px; }
.runner {
  position: relative; isolation: isolate; overflow: hidden;
  width: 100%; max-width: 860px; border-radius: var(--r-l); padding: clamp(16px, 2.6vw, 28px);
  background: var(--bg-2);
}
.runner .orbs i { opacity: .55; }
.run-card { position: relative; z-index: 1; border-radius: 22px; padding: clamp(18px, 2.4vw, 26px); }
.run-trigger { display: flex; flex-wrap: wrap; align-items: baseline; gap: 6px 12px; padding-bottom: 16px; border-bottom: 1px solid var(--line); }
.run-trigger .k { font-size: .8125rem; font-weight: 600; text-transform: uppercase; letter-spacing: .06em; color: var(--accent-text); }
.run-trigger .v { font-size: clamp(1.1rem, 1.6vw, 1.3rem); font-weight: 600; letter-spacing: -.02em; }
.run-steps { list-style: none; display: grid; }
.run-step { display: grid; grid-template-columns: 28px minmax(0, 1fr) auto auto; gap: 14px; align-items: center; padding: 14px 2px; border-bottom: 1px solid var(--line); transition: opacity .3s ease; }
.run-step:last-child { border-bottom: 0; }
.run-step .tick { width: 24px; height: 24px; border-radius: 50%; display: grid; place-items: center; background: var(--done); color: #FFFFFF; transition: transform .35s cubic-bezier(.2, 1.4, .4, 1), background-color .3s ease; }
.run-step .tick svg { width: 14px; height: 14px; }
.run-step b { display: block; font-weight: 600; letter-spacing: -.012em; }
.run-step small { display: block; color: var(--ink-2); font-size: .875rem; }
.run-step .where { font-size: .875rem; color: var(--ink-2); padding: 4px 10px; border-radius: 999px; background: rgba(127, 127, 127, .1); white-space: nowrap; }
.run-step .when { font-size: .875rem; font-variant-numeric: tabular-nums; color: var(--ink-3); min-width: 72px; text-align: right; white-space: nowrap; }
.run-step.is-pending { opacity: .42; }
.run-step.is-pending .tick { background: var(--line-2); transform: scale(.7); }
.run-step.is-pending .tick svg { opacity: 0; }
.run-foot { display: grid; grid-template-columns: 1fr 1fr auto; gap: 12px; margin-top: 16px; align-items: stretch; }
.run-foot > div { padding: 14px 16px; border-radius: 16px; background: rgba(127, 127, 127, .08); }
.run-foot .k { display: block; font-size: .8125rem; color: var(--ink-3); margin-bottom: 2px; }
.run-foot .v { font-weight: 600; letter-spacing: -.01em; }
.run-foot > div:first-child .v { color: var(--done); }
.replay { align-self: center; border: 0; background: transparent; color: var(--ink); font: 560 .9375rem/1 var(--font); cursor: pointer; padding: 12px 10px; border-radius: 999px; white-space: nowrap; }
.replay:hover { background: rgba(127, 127, 127, .1); }
@media (max-width: 640px) {
  .run-step { grid-template-columns: 26px minmax(0, 1fr) auto; }
  .run-step .where { display: none; }
  .run-foot { grid-template-columns: 1fr; }
}

/* ---------- Time check with switches ---------- */
.calc { display: grid; grid-template-columns: minmax(0, 1.25fr) minmax(0, .9fr); gap: clamp(20px, 3vw, 40px); align-items: start; }
@media (max-width: 920px) { .calc { grid-template-columns: minmax(0, 1fr); } }
.switches { list-style: none; background: var(--surface); border-radius: var(--r-l); padding: 8px clamp(16px, 2.4vw, 28px); }
.switch-row { display: grid; grid-template-columns: minmax(0, 1fr) auto auto; gap: 16px; align-items: center; padding: 16px 0; border-bottom: 1px solid var(--line); cursor: pointer; }
.switches li:last-child .switch-row { border-bottom: 0; }
.sw-text { font-weight: 500; letter-spacing: -.01em; line-height: 1.35; }
.sw-hours { font-size: .875rem; color: var(--ink-3); font-variant-numeric: tabular-nums; white-space: nowrap; }
.sw {
  -webkit-appearance: none; appearance: none; margin: 0; flex: none;
  width: 51px; height: 31px; border-radius: 999px; position: relative; cursor: pointer;
  background: rgba(120, 120, 128, .24); transition: background-color .25s ease;
}
.sw::before {
  content: ""; position: absolute; top: 2px; left: 2px; width: 27px; height: 27px; border-radius: 50%;
  background: #FFFFFF; box-shadow: 0 3px 8px rgba(0, 0, 0, .15), 0 1px 1px rgba(0, 0, 0, .16);
  transition: transform .28s cubic-bezier(.3, 1.3, .5, 1);
}
.sw:checked { background: var(--done); }
.sw:checked::before { transform: translateX(20px); }
.sw:focus-visible { outline: 2px solid var(--ember); outline-offset: 3px; }
.calc-result { position: sticky; top: calc(var(--nav-space) + 12px); border-radius: var(--r-l); overflow: hidden; isolation: isolate; padding: 10px; background: var(--dusk); }
.calc-result .glass { position: relative; border-radius: 22px; padding: clamp(20px, 2.6vw, 30px); display: grid; gap: 20px; color: var(--ink); }
.field { display: grid; gap: 10px; }
.field label, .field .flabel { font-size: .875rem; font-weight: 560; color: var(--ink-2); }
.rate { display: flex; align-items: center; gap: 14px; }
.rate input[type="range"] { flex: 1; min-width: 0; accent-color: var(--ink); height: 28px; }
.rate output { font-weight: 640; font-size: 1.25rem; min-width: 3.5ch; text-align: right; font-variant-numeric: tabular-nums; letter-spacing: -.02em; }
.result-num { display: flex; align-items: baseline; gap: 10px; }
.result-num output { font-size: clamp(4rem, 8vw, 5.75rem); font-weight: 640; letter-spacing: -.06em; line-height: .9; font-variant-numeric: tabular-nums; }
.result-num span { font-size: 1.125rem; font-weight: 560; color: var(--ink-2); }
.result-sub { color: var(--ink-2); }
.result-sub .money { color: var(--ink); font-weight: 640; }
.calc-result .btn { width: 100%; }

/* ---------- Steps (a real sequence) ---------- */
.steps { list-style: none; display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 240px), 1fr)); gap: 16px; counter-reset: step; }
.steps li { counter-increment: step; background: var(--surface); border-radius: var(--r-m); padding: 28px 26px 26px; display: grid; gap: 10px; align-content: start; min-width: 0; }
.steps li::before { content: counter(step); font-size: 3.25rem; font-weight: 300; letter-spacing: -.05em; line-height: 1; color: var(--ink-3); margin-bottom: 14px; font-variant-numeric: tabular-nums; }
.steps .n { justify-self: start; font-size: .8125rem; font-weight: 600; color: var(--accent-text); }
.steps h3 { font-size: 1.375rem; }
.steps p { color: var(--ink-2); font-size: 1rem; }
.steps .meta { font-size: .875rem; color: var(--ink-3); margin-top: 4px; }
.section--alt .steps li, .band .steps li { background: var(--surface); }
.section:not(.section--alt):not(.band) .steps li { background: var(--bg-2); }

/* ---------- Sectors ---------- */
.sectors { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 300px), 1fr)); gap: 16px; }
.sector { background: var(--surface); border-radius: var(--r-m); padding: 26px; display: grid; gap: 8px; align-content: start; min-width: 0; }
.section:not(.section--alt):not(.band) .sector { background: var(--bg-2); }
.sector .ic { width: 44px; height: 44px; border-radius: 12px; display: grid; place-items: center; background: var(--bg-2); color: var(--ink); margin-bottom: 8px; }
.section:not(.section--alt):not(.band) .sector .ic { background: var(--surface); }
.sector .ic svg { width: 22px; height: 22px; }
.sector h3 { font-size: 1.1875rem; }
.sector p { color: var(--ink-2); font-size: .9375rem; line-height: 1.55; }

/* ---------- Principles ---------- */
.principles { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 320px), 1fr)); gap: 40px 48px; }
.principle { display: grid; gap: 8px; align-content: start; }
.principle .k { font-size: .8125rem; font-weight: 600; color: var(--accent-text); text-transform: uppercase; letter-spacing: .06em; }
.principle p { color: var(--ink-2); }
.principle p strong { color: var(--ink); display: block; font-size: 1.25rem; letter-spacing: -.02em; margin-bottom: 6px; font-weight: 620; }

/* ---------- Contact card (about) ---------- */
.intro-card { display: grid; grid-template-columns: minmax(0, .9fr) minmax(0, 1.1fr); gap: clamp(32px, 6vw, 88px); align-items: center; }
@media (max-width: 880px) { .intro-card { grid-template-columns: minmax(0, 1fr); } }
.card-stage { position: relative; isolation: isolate; border-radius: var(--r-l); padding: clamp(28px, 5vw, 56px); background: var(--bg-2); overflow: hidden; }
.section--alt .card-stage, .band .card-stage { background: var(--surface); }
.idcard { position: relative; z-index: 1; border-radius: 26px; padding: 28px; display: grid; gap: 18px; justify-items: center; text-align: center; }
.avatar { width: 92px; height: 106px; clip-path: polygon(50% 0, 100% 25%, 100% 75%, 50% 100%, 0 75%, 0 25%); display: grid; place-items: center; background: var(--dusk); color: #FFFFFF; font-size: 2.5rem; font-weight: 500; letter-spacing: -.04em; }
.idcard .who { font-size: 1.75rem; font-weight: 640; letter-spacing: -.035em; line-height: 1.1; }
.idcard .role { color: var(--ink-2); margin-top: -12px; }
.idcard dl { width: 100%; margin: 0; display: grid; text-align: left; border-radius: 16px; background: rgba(127, 127, 127, .08); }
.idcard dl div { display: grid; grid-template-columns: 110px minmax(0, 1fr); gap: 12px; padding: 12px 16px; border-bottom: 1px solid var(--line); font-size: .9375rem; }
.idcard dl div:last-child { border-bottom: 0; }
.idcard dt { color: var(--ink-3); }
.idcard dd { margin: 0; font-weight: 520; overflow-wrap: anywhere; }
.idcard .btn { width: 100%; }

/* ---------- Price list ---------- */
.table-scroll { overflow-x: auto; -webkit-overflow-scrolling: touch; border-radius: var(--r-l); background: var(--surface); }
.section--alt .table-scroll, .band .table-scroll { background: var(--surface); }
.section:not(.section--alt):not(.band) .table-scroll { background: var(--bg-2); }
.pricelist { width: 100%; border-collapse: collapse; min-width: 600px; }
.pricelist th, .pricelist td { text-align: left; padding: 18px 24px; border-bottom: 1px solid var(--line); vertical-align: top; }
.pricelist thead th { font-size: .8125rem; font-weight: 600; text-transform: uppercase; letter-spacing: .06em; color: var(--ink-3); }
.pricelist tbody th { font-weight: 600; width: 30%; letter-spacing: -.01em; }
.pricelist tbody th a { color: inherit; text-decoration: none; }
.pricelist tbody th a:hover { text-decoration: underline; }
.pricelist td { color: var(--ink-2); }
.pricelist td.p { color: var(--ink); font-weight: 640; white-space: nowrap; font-variant-numeric: tabular-nums; letter-spacing: -.01em; }
.pricelist tr:last-child th, .pricelist tr:last-child td { border-bottom: 0; }
.pricelist .group th { padding-top: 26px; padding-bottom: 10px; font-size: .8125rem; font-weight: 600; text-transform: uppercase; letter-spacing: .06em; color: var(--accent-text); border-bottom: 1px solid var(--line-2); }

/* ---------- Packages ---------- */
.packages { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 250px), 1fr)); gap: 16px; }
.package { background: var(--surface); border-radius: var(--r-l); padding: 30px 28px; display: grid; gap: 14px; align-content: start; min-width: 0; position: relative; }
.section:not(.section--alt):not(.band) .package { background: var(--bg-2); }
.package--key { background: #0E0F11 !important; color: #FFFFFF; }
.package--key p, .package--key .ticks li { color: rgba(255, 255, 255, .76); }
.package--key .label--plain { color: rgba(255, 255, 255, .6); }
:root[data-theme="dark"] .package--key { background: #24252A !important; }
@media (prefers-color-scheme: dark) { :root:not([data-theme="light"]) .package--key { background: #24252A !important; } }
.package h3 { font-size: 1.5rem; }
.package .p { font-size: 2rem; font-weight: 640; letter-spacing: -.04em; line-height: 1.05; font-variant-numeric: tabular-nums; }
.package .p small { font-size: 1rem; font-weight: 450; letter-spacing: 0; opacity: .7; margin-left: 4px; }
.package p { color: var(--ink-2); font-size: .9375rem; }
.package .ticks { font-size: .9375rem; }

/* ---------- Ticks list ---------- */
.ticks { list-style: none; display: grid; gap: 12px; }
.ticks li { display: grid; grid-template-columns: 22px minmax(0, 1fr); gap: 10px; align-items: start; color: var(--ink-2); }
.ticks li::before {
  content: ""; width: 18px; height: 20.8px; margin-top: 1px;
  clip-path: polygon(50% 0, 100% 25%, 100% 75%, 50% 100%, 0 75%, 0 25%);
  background: var(--ink) url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 18 21'><path d='M5.2 10.7l2.5 2.5 5-5.3' fill='none' stroke='white' stroke-width='1.9' stroke-linecap='round' stroke-linejoin='round'/></svg>") center / 18px no-repeat;
}
:root[data-theme="dark"] .ticks li::before { background-color: #3A3A3C; }
@media (prefers-color-scheme: dark) { :root:not([data-theme="light"]) .ticks li::before { background-color: #3A3A3C; } }
.package--key .ticks li::before { background-color: rgba(255, 255, 255, .22); }
.ticks--two { grid-template-columns: repeat(auto-fit, minmax(min(100%, 250px), 1fr)); column-gap: 32px; }

/* ---------- Explorer (automation page) ---------- */
.explorer { display: grid; gap: 24px; justify-items: center; }
.explorer-tabs { display: inline-flex; flex-wrap: wrap; justify-content: center; gap: 2px; padding: 4px; border-radius: 999px; background: var(--track); max-width: 100%; position: relative; }
.explorer-tab { border: 0; background: transparent; color: var(--ink-2); cursor: pointer; font: 560 .9375rem/1 var(--font); padding: 12px 18px; border-radius: 999px; white-space: nowrap; }
.explorer-tab:hover { color: var(--ink); }
.explorer-tab[aria-selected="true"] { background: var(--ink); color: var(--bg); }
.explorer-panel { width: 100%; display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 300px), 1fr)); gap: 16px; }
.flow { background: var(--surface); border-radius: var(--r-m); padding: 24px; display: grid; gap: 16px; align-content: start; min-width: 0; }
.flow h3 { font-size: 1.25rem; }
.flow ol { list-style: none; display: grid; gap: 0; position: relative; }
.flow li { display: grid; grid-template-columns: 22px minmax(0, 1fr); gap: 12px; align-items: start; padding: 6px 0; font-size: .9375rem; color: var(--ink-2); position: relative; }
.flow li::before { content: ""; width: 10px; height: 10px; margin: 6px 0 0 6px; border-radius: 50%; border: 2px solid var(--line-2); background: var(--surface); position: relative; z-index: 1; }
.flow li:not(:last-child)::after { content: ""; position: absolute; left: 11px; top: 20px; bottom: -8px; width: 2px; background: var(--line); }
.flow li:first-child { color: var(--ink); font-weight: 560; }
.flow li:first-child::before { border-color: var(--ember); background: var(--ember); }
.flow li:last-child { color: var(--ink); font-weight: 600; }
.flow li:last-child::before { border-color: var(--done); background: var(--done); }
.flow li span { display: block; }
.flow .apps { font-size: .8125rem; color: var(--ink-3); border-top: 1px solid var(--line); padding-top: 12px; }

/* ---------- Tools and platforms ---------- */
.toolgroups { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 260px), 1fr)); gap: 16px; }
.toolgroup { background: var(--bg-2); border-radius: var(--r-m); padding: 24px; }
.section--alt .toolgroup, .band .toolgroup { background: var(--surface); }
.toolgroup h3 { font-size: .8125rem; font-weight: 600; text-transform: uppercase; letter-spacing: .06em; color: var(--accent-text); margin-bottom: 8px; }
.toolgroup p { font-size: 1rem; color: var(--ink); line-height: 1.55; }
.platforms { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 280px), 1fr)); gap: 16px; }
.platform { background: var(--surface); border-radius: var(--r-l); padding: 30px; display: grid; gap: 12px; align-content: start; }
.platform .when { font-size: .8125rem; font-weight: 600; text-transform: uppercase; letter-spacing: .06em; color: var(--accent-text); }
.platform h3 { font-size: 1.75rem; letter-spacing: -.035em; }
.platform p { color: var(--ink-2); }
.platform .cost { color: var(--ink); font-weight: 560; font-size: .9375rem; }

/* ---------- Callout ---------- */
.callout { position: relative; isolation: isolate; overflow: hidden; border-radius: var(--r-l); padding: clamp(24px, 3vw, 36px); display: grid; gap: 16px; background: var(--surface); }
.section:not(.section--alt):not(.band) .callout { background: var(--bg-2); }
.callout h2, .callout h3 { font-size: clamp(1.4rem, 2.2vw, 1.75rem); }
.callout .ticks li { color: var(--ink); }
.datetable { width: 100%; border-collapse: collapse; font-size: .9375rem; }
.datetable th, .datetable td { text-align: left; padding: 12px 12px 12px 0; border-bottom: 1px solid var(--line); vertical-align: top; }
.datetable thead th { font-size: .8125rem; font-weight: 600; text-transform: uppercase; letter-spacing: .05em; color: var(--ink-3); }
.datetable td:first-child { font-weight: 600; white-space: nowrap; font-variant-numeric: tabular-nums; }
.datetable tr:last-child td { border-bottom: 0; }

/* ---------- FAQ ---------- */
.faq { max-width: 880px; }
.faq details { border-bottom: 1px solid var(--line-2); }
.faq summary { list-style: none; cursor: pointer; padding: 26px 48px 26px 0; position: relative; font-size: clamp(1.125rem, 1.6vw, 1.3rem); font-weight: 600; letter-spacing: -.02em; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after {
  content: ""; position: absolute; right: 6px; top: 50%; width: 12px; height: 12px; margin-top: -8px;
  border-right: 2px solid var(--ink-3); border-bottom: 2px solid var(--ink-3); transform: rotate(45deg); transition: transform .25s ease;
}
.faq details[open] summary::after { transform: rotate(-135deg); margin-top: -2px; }
.faq summary:hover { color: var(--ink-2); }
.faq .a { padding: 0 0 28px; color: var(--ink-2); max-width: 68ch; font-size: 1.0625rem; }

/* ---------- CTA band ---------- */
.cta-band { padding-block: clamp(96px, 12vw, 170px); text-align: center; }
.cta-band h2 { font-size: clamp(2.6rem, 6.4vw, 5.4rem); color: #FFFFFF; max-width: 13ch; margin-inline: auto; }
.cta-band .lead { margin: 22px auto 0; max-width: 40ch; }
.cta-band .actions { justify-content: center; margin-top: 36px; }
.cta { display: grid; gap: 0; }

/* ---------- Inner page hero ---------- */
.page-hero { position: relative; isolation: isolate; overflow: hidden; padding-top: calc(var(--nav-space) + clamp(36px, 6vw, 80px)); padding-bottom: clamp(56px, 7vw, 96px); }
.page-hero:not(.page-hero--scene)::before {
  content: ""; position: absolute; z-index: -1; pointer-events: none;
  width: min(560px, 80vw); aspect-ratio: 307 / 252; right: -9%; top: 8%;
  background: var(--watermark); opacity: .7;
  -webkit-mask: url("logo-mark.svg") center / contain no-repeat;
  mask: url("logo-mark.svg") center / contain no-repeat;
}
.page-hero h1 { font-size: clamp(2.75rem, 6.4vw, 5.25rem); max-width: 15ch; }
.page-hero h1.article-title { font-size: clamp(2.2rem, 4.8vw, 3.75rem); max-width: 22ch; line-height: 1.04; }
.page-hero .answer {
  margin-top: 28px; max-width: 62ch;
  font-size: clamp(1.15rem, 1.6vw, 1.35rem); line-height: 1.5; color: var(--ink-2); letter-spacing: -.012em;
}
.page-hero .actions { margin-top: 32px; }
.crumbs { margin-bottom: 26px; }
.crumbs ol { list-style: none; display: flex; flex-wrap: wrap; gap: 6px; font-size: .875rem; color: var(--ink-3); }
.crumbs li + li::before { content: "›"; margin-right: 6px; }
.crumbs a { color: var(--ink-2); text-decoration: none; }
.crumbs a:hover { color: var(--ink); text-decoration: underline; }
.byline { display: flex; flex-wrap: wrap; gap: 6px 18px; font-size: .9375rem; color: var(--ink-3); margin-top: 22px; }

/* ---------- Article ---------- */
.article-wrap { display: grid; grid-template-columns: minmax(0, 1fr) 290px; gap: clamp(36px, 6vw, 88px); align-items: start; }
@media (max-width: 980px) { .article-wrap { grid-template-columns: minmax(0, 1fr); } }
.prose { max-width: 68ch; min-width: 0; font-size: 1.125rem; line-height: 1.7; }
.prose > * + * { margin-top: 1.1em; }
.prose h2 { font-size: clamp(1.75rem, 2.8vw, 2.25rem); letter-spacing: -.035em; margin-top: 2.1em; scroll-margin-top: calc(var(--nav-space) + 12px); }
.prose h3 { font-size: 1.3rem; margin-top: 1.6em; }
.prose ul, .prose ol { padding-left: 1.3em; }
.prose li + li { margin-top: .45em; }
.prose a { color: var(--ink); text-decoration-color: var(--ink-3); }
.prose blockquote { margin: 1.6em 0; padding: 22px 26px; border-radius: var(--r-m); background: var(--bg-2); font-size: 1.25rem; line-height: 1.5; letter-spacing: -.015em; font-weight: 500; }
.prose .table-scroll { margin-top: 1.4em; background: var(--bg-2); border-radius: var(--r-m); }
.prose table { width: 100%; border-collapse: collapse; font-size: .9375rem; min-width: 560px; line-height: 1.5; }
.prose th, .prose td { text-align: left; padding: 14px 16px; border-bottom: 1px solid var(--line); vertical-align: top; }
.prose thead th { font-size: .8125rem; font-weight: 600; text-transform: uppercase; letter-spacing: .05em; color: var(--ink-3); }
.prose tr:last-child td { border-bottom: 0; }
.prose .answer-first { font-size: 1.3rem; line-height: 1.55; letter-spacing: -.015em; color: var(--ink); padding: 24px 28px; border-radius: var(--r-m); background: var(--bg-2); }
.aside-box { position: sticky; top: calc(var(--nav-space) + 16px); display: grid; gap: 16px; }
.sheetbox { background: var(--bg-2); border-radius: var(--r-m); padding: 22px; display: grid; gap: 12px; }
.sheetbox p { font-size: .9375rem; color: var(--ink-2); }
.toc ol { list-style: none; display: grid; gap: 10px; font-size: .9375rem; }
.toc a { color: var(--ink-2); text-decoration: none; }
.toc a:hover { color: var(--ink); text-decoration: underline; }
.sources { font-size: .9375rem; color: var(--ink-2); }
.sources h2 { font-size: 1.25rem !important; }
.sources ol { padding-left: 1.3em; }

/* ---------- Guides list ---------- */
.guidelist { list-style: none; display: grid; gap: 16px; }
.guidelist a { display: grid; grid-template-columns: 170px minmax(0, 1fr) auto; gap: 28px; padding: 30px; border-radius: var(--r-l); background: var(--bg-2); color: inherit; text-decoration: none; align-items: center; transition: transform .25s ease, background-color .2s ease; }
.guidelist a:hover { transform: translateY(-2px); background: var(--surface); box-shadow: 0 20px 40px -28px rgba(14, 15, 17, .35); }
.guidelist .d { font-size: .875rem; color: var(--ink-3); }
.guidelist h2 { font-size: clamp(1.35rem, 2.2vw, 1.75rem); letter-spacing: -.03em; }
.guidelist p { color: var(--ink-2); margin-top: 8px; }
.guidelist .go { font-size: 1.5rem; color: var(--ink-3); }
@media (max-width: 720px) { .guidelist a { grid-template-columns: minmax(0, 1fr); gap: 8px; padding: 24px; } .guidelist .go { display: none; } }

/* ---------- Booking ---------- */
.book-layout { display: grid; grid-template-columns: minmax(0, 1fr) 330px; gap: clamp(24px, 4vw, 48px); align-items: start; }
@media (max-width: 1020px) { .book-layout { grid-template-columns: minmax(0, 1fr); } }
.booker { background: var(--surface); border-radius: var(--r-l); min-width: 0; overflow: hidden; box-shadow: 0 30px 60px -40px rgba(14, 15, 17, .35); border: 1px solid var(--line); }
.booker-progress { display: flex; gap: 6px; padding: 14px; overflow-x: auto; border-bottom: 1px solid var(--line); }
.booker-progress li { list-style: none; flex: 1 0 auto; text-align: center; padding: 10px 14px; border-radius: 999px; font-size: .875rem; font-weight: 560; color: var(--ink-3); white-space: nowrap; }
.booker-progress li[aria-current="step"] { color: var(--ink); background: var(--bg-2); }
.booker-progress li.done { color: var(--done); }
.booker-section { padding: clamp(20px, 3vw, 32px); display: grid; gap: 18px; min-width: 0; }
.booker-section + .booker-section { border-top: 1px solid var(--line); }
.booker h2 { font-size: 1.4rem; letter-spacing: -.025em; }
.types { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 200px), 1fr)); gap: 12px; }
.type { position: relative; display: grid; gap: 6px; padding: 18px; border-radius: 18px; background: var(--bg-2); cursor: pointer; min-width: 0; border: 2px solid transparent; transition: border-color .2s ease, background-color .2s ease; }
.type input { position: absolute; opacity: 0; width: 1px; height: 1px; }
.type .tname { font-weight: 620; padding-right: 28px; letter-spacing: -.012em; }
.type .tmeta { font-size: .8125rem; font-weight: 560; color: var(--accent-text); }
.type .tdesc { font-size: .9rem; color: var(--ink-2); line-height: 1.45; }
.type::after { content: ""; position: absolute; right: 16px; top: 18px; width: 20px; height: 20px; border-radius: 50%; border: 1.5px solid var(--ink-3); transition: all .2s ease; }
.type:has(input:checked) { border-color: var(--ink); background: var(--surface); }
.type:has(input:checked)::after { border-color: var(--done); background: var(--done) url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 20 20'><path d='M6 10.3l2.6 2.6L14 7.5' fill='none' stroke='white' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'/></svg>") center / 20px no-repeat; }
.type:has(input:focus-visible) { outline: 2px solid var(--ember); outline-offset: 3px; }
.picker { display: grid; grid-template-columns: minmax(0, 1.1fr) minmax(0, 1fr); gap: 28px; }
@media (max-width: 720px) { .picker { grid-template-columns: minmax(0, 1fr); } }
.cal-head { display: flex; align-items: center; justify-content: space-between; gap: 8px; margin-bottom: 12px; }
.cal-head .month { font-size: 1.2rem; letter-spacing: -.02em; }
.cal-nav { display: flex; gap: 6px; }
.iconbtn { width: 38px; height: 38px; display: inline-grid; place-items: center; border: 0; background: var(--bg-2); color: var(--ink); border-radius: 50%; cursor: pointer; font: 500 1rem/1 var(--font); }
.iconbtn:hover:not([disabled]) { background: var(--line-2); }
.iconbtn[disabled] { opacity: .35; cursor: not-allowed; }
.cal-grid { display: grid; grid-template-columns: repeat(7, minmax(0, 1fr)); gap: 4px; }
.cal-grid .dow { font-size: .75rem; font-weight: 600; text-transform: uppercase; letter-spacing: .04em; color: var(--ink-3); text-align: center; padding: 6px 0; }
.day { aspect-ratio: 1 / 1; max-width: 100%; min-height: 38px; display: grid; place-items: center; border-radius: 50%; border: 0; background: none; color: var(--ink-3); font: 500 .9375rem/1 var(--font); font-variant-numeric: tabular-nums; position: relative; }
.day[data-available="true"] { color: var(--ink); background: var(--mono-soft); cursor: pointer; font-weight: 640; }
.day[data-available="true"]:hover { background: var(--line-2); }
.day[aria-pressed="true"] { background: var(--ink) !important; color: var(--bg); }
.day.is-today { box-shadow: inset 0 0 0 1.5px var(--line-2); }
.day:disabled { opacity: .6; }
.slots-head { display: flex; justify-content: space-between; align-items: baseline; gap: 8px; flex-wrap: wrap; margin-bottom: 12px; }
.slots-head .d { font-size: 1.2rem; letter-spacing: -.02em; }
.tz { font-size: .8125rem; color: var(--ink-3); }
.slots { display: grid; grid-template-columns: repeat(auto-fill, minmax(96px, 1fr)); gap: 8px; max-height: 340px; overflow-y: auto; padding: 2px; }
.slot { min-height: 46px; border: 1.5px solid var(--line-2); background: var(--surface); color: var(--ink); border-radius: 14px; font: 600 1rem/1 var(--font); font-variant-numeric: tabular-nums; cursor: pointer; display: grid; place-items: center; gap: 3px; padding: 6px 4px; transition: all .15s ease; }
.slot small { font-size: .7rem; font-weight: 450; color: var(--ink-3); }
.slot:hover { border-color: var(--ink); }
.slot[aria-pressed="true"] { background: var(--ink); color: var(--bg); border-color: var(--ink); }
.empty { color: var(--ink-2); font-size: .9375rem; padding: 16px; border-radius: 14px; background: var(--bg-2); }
.hint { font-size: .8125rem; color: var(--ink-3); }
.form-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 16px; }
.form-grid .full { grid-column: 1 / -1; }
@media (max-width: 600px) { .form-grid { grid-template-columns: minmax(0, 1fr); } }
.input, .textarea, .select {
  width: 100%; min-height: 50px; padding: 13px 16px; border: 1.5px solid transparent; border-radius: 14px;
  background: var(--bg-2); color: var(--ink); font: 400 1rem/1.4 var(--font); transition: border-color .15s ease, background-color .15s ease;
}
.textarea { min-height: 120px; resize: vertical; }
.input:focus, .textarea:focus, .select:focus { outline: none; border-color: var(--ink); background: var(--surface); }
.input[aria-invalid="true"], .textarea[aria-invalid="true"] { border-color: #D9483B; }
.err { font-size: .9375rem; color: #C23A2C; font-weight: 560; }
:root[data-theme="dark"] .err { color: #FF8A7A; }
@media (prefers-color-scheme: dark) { :root:not([data-theme="light"]) .err { color: #FF8A7A; } }
.consent { display: grid; grid-template-columns: 24px minmax(0, 1fr); gap: 10px; align-items: start; font-size: .9375rem; color: var(--ink-2); cursor: pointer; }
.consent input { width: 20px; height: 20px; margin-top: 2px; accent-color: var(--done); }
.consent a, .hint a, .book-aside a { color: var(--ink); }
.hp { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }
.summary { display: grid; grid-template-columns: auto minmax(0, 1fr); gap: 10px 20px; font-size: .9375rem; padding: 16px 18px; background: var(--bg-2); border-radius: 16px; margin: 0; }
.summary dt { color: var(--ink-3); }
.summary dd { margin: 0; font-weight: 600; min-width: 0; overflow-wrap: anywhere; }
.summary a { color: var(--ink); }
.notice { display: grid; grid-template-columns: auto minmax(0, 1fr); gap: 12px; align-items: start; padding: 14px 20px; background: var(--bg-2); color: var(--ink); font-size: .9375rem; border-bottom: 1px solid var(--line); }
.notice b { font-weight: 640; color: var(--ink); }
.confirmed { display: grid; gap: 18px; }
.confirmed .big-stamp { justify-self: start; display: inline-flex; align-items: center; gap: 10px; font-weight: 620; font-size: 1rem; color: var(--done); background: var(--done-soft); padding: 10px 16px 10px 12px; border-radius: 999px; }
.confirmed .big-stamp::before { content: ""; width: 22px; height: 22px; border-radius: 50%; background: var(--done) url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 20 20'><path d='M6 10.3l2.6 2.6L14 7.5' fill='none' stroke='white' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'/></svg>") center / 22px no-repeat; }
.confirmed h2 { font-size: clamp(1.6rem, 3vw, 2.2rem) !important; }
.book-aside { display: grid; gap: 16px; }
.book-aside .sheetbox p, .book-aside .sheetbox li { font-size: .9375rem; }
.copyline { display: flex; align-items: center; gap: 8px; flex-wrap: wrap; }
.copyline code { font: 500 .9375rem/1.4 var(--font); background: var(--surface); border-radius: 10px; padding: 8px 12px; user-select: all; overflow-wrap: anywhere; }
.spinner { width: 16px; height: 16px; border: 2px solid currentColor; border-right-color: transparent; border-radius: 50%; animation: spin .8s linear infinite; display: inline-block; }
@keyframes spin { to { transform: rotate(360deg); } }

/* ---------- Footer ---------- */
.site-footer { background: var(--bg-2); color: var(--ink-2); padding-block: 64px 36px; font-size: .875rem; }
.foot-grid { display: grid; grid-template-columns: minmax(0, 1.5fr) repeat(3, minmax(0, 1fr)); gap: 36px; }
@media (max-width: 880px) { .foot-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); } .foot-grid > :first-child { grid-column: 1 / -1; } }
@media (max-width: 460px) { .foot-grid { grid-template-columns: minmax(0, 1fr); } }
.site-footer .brand { color: var(--ink); }
.foot-about { display: grid; gap: 14px; max-width: 40ch; }
.foot-about p { line-height: 1.55; }
.foot-col h2 { font-size: .8125rem; font-weight: 620; color: var(--ink); margin-bottom: 12px; letter-spacing: -.005em; }
.foot-col ul { list-style: none; display: grid; gap: 9px; }
.foot-col a { color: var(--ink-2); text-decoration: none; }
.foot-col a:hover { color: var(--ink); text-decoration: underline; }
.foot-links a { color: var(--ink-2); text-decoration: none; }
.foot-links a:hover { color: var(--ink); text-decoration: underline; }
.foot-base { margin-top: 48px; padding-top: 20px; border-top: 1px solid var(--line); display: flex; flex-wrap: wrap; gap: 8px 24px; justify-content: space-between; color: var(--ink-3); font-size: .8125rem; }
.site-footer .copyline code { background: var(--surface); }

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

/* ---------- Nav over dusk bands (set by site.js) ---------- */
.site-header.on-dark .nav-pill { --lg-tint: rgba(16, 18, 32, .22); color: #FFFFFF; }
.site-header.on-dark .nav .btn { background: #FFFFFF; color: #0E0F11; }
.site-header.on-dark .menu-toggle { background: rgba(255, 255, 255, .14); }
.site-header .nav-pill { transition: max-width .7s cubic-bezier(.2, .8, .2, 1), color .35s ease; }
@media (max-width: 960px) {
  .site-header.on-dark .nav { color: var(--ink); }
  .site-header.on-dark .nav .btn { background: var(--ink); color: var(--surface); }
}

/* ---------- Small-screen refinements ---------- */
@media (max-width: 640px) {
  .chain { flex-direction: column; gap: 0; }
  .chain .link { width: 2px; height: 18px; }
  .chain .link::after { right: -3px; top: auto; bottom: -1px; border-left: 4px solid transparent; border-right: 4px solid transparent; border-top: 6px solid var(--line-2); border-bottom: 0; }
  .runner { padding: 8px; border-radius: 24px; }
  .run-card { padding: 16px; }
  .run-step { grid-template-columns: 24px minmax(0, 1fr) auto; gap: 12px; }
  .run-step .when { min-width: 0; font-size: .8125rem; }
  .idcard dl div { grid-template-columns: 1fr; gap: 2px; }
  .hero h1 { font-size: clamp(2.9rem, 13vw, 3.6rem); }
}
.idcard { max-width: 380px; margin-inline: auto; }
.idcard dl div { grid-template-columns: 96px minmax(0, 1fr); }
.notif p + p, .toast p + p { margin-top: 1px; }

/* =====================================================================
   Liquid glass
   A clear, refractive material: light tint, low blur, a bright specular
   rim, a soft inner glow where light passes through, and a highlight that
   follows the pointer. liquid.js adds true edge refraction in Chromium
   browsers (class .has-lens); everywhere else this CSS carries the look.
   ===================================================================== */
:root {
  --lg-blur: 8px;
  --lg-sat: 190%;
  --lg-rim-a: rgba(255, 255, 255, .95);
  --lg-rim-b: rgba(255, 255, 255, .2);
  --lg-inner: rgba(255, 255, 255, .6);
  --lg-glow: rgba(255, 255, 255, .45);
  --lg-drop: 0 16px 36px -18px rgba(12, 14, 32, .42), 0 2px 6px -3px rgba(12, 14, 32, .16);
  --lg-light: rgba(255, 255, 255, .5);
  --tint-nav: rgba(250, 250, 248, .5);
  --tint-notif: rgba(248, 248, 246, .5);
  --tint-panel: rgba(255, 255, 255, .6);
  --tint-chip: rgba(255, 255, 255, .55);
  --tint-seg: rgba(255, 255, 255, .82);
  --track: rgba(120, 120, 128, .12);
  --dot: rgba(14, 15, 17, .2);
  --ease-out: cubic-bezier(.16, .84, .24, 1);
}
@media (prefers-color-scheme: dark) {
  :root:not([data-theme="light"]) {
    --lg-rim-a: rgba(255, 255, 255, .55);
    --lg-rim-b: rgba(255, 255, 255, .07);
    --lg-inner: rgba(255, 255, 255, .22);
    --lg-glow: rgba(255, 255, 255, .12);
    --lg-drop: 0 18px 40px -18px rgba(0, 0, 0, .7), 0 2px 6px -3px rgba(0, 0, 0, .4);
    --lg-light: rgba(255, 255, 255, .14);
    --tint-nav: rgba(24, 25, 30, .46);
    --tint-notif: rgba(28, 30, 36, .64);
    --tint-panel: rgba(26, 28, 33, .58);
    --tint-chip: rgba(36, 38, 44, .55);
    --tint-seg: rgba(255, 255, 255, .16);
    --track: rgba(120, 120, 128, .24);
    --dot: rgba(255, 255, 255, .16);
  }
}
:root[data-theme="dark"] {
  --lg-rim-a: rgba(255, 255, 255, .55);
  --lg-rim-b: rgba(255, 255, 255, .07);
  --lg-inner: rgba(255, 255, 255, .22);
  --lg-glow: rgba(255, 255, 255, .12);
  --lg-drop: 0 18px 40px -18px rgba(0, 0, 0, .7), 0 2px 6px -3px rgba(0, 0, 0, .4);
  --lg-light: rgba(255, 255, 255, .14);
  --tint-nav: rgba(24, 25, 30, .46);
  --tint-notif: rgba(28, 30, 36, .64);
  --tint-panel: rgba(26, 28, 33, .58);
  --tint-chip: rgba(36, 38, 44, .55);
  --tint-seg: rgba(255, 255, 255, .16);
  --track: rgba(120, 120, 128, .24);
  --dot: rgba(255, 255, 255, .16);
}

.glass, .notif, .nav-pill, .btn--glass, .seg-lens {
  position: relative;
  isolation: isolate;
  background: linear-gradient(180deg, rgba(255, 255, 255, .12), rgba(255, 255, 255, 0) 55%), var(--lg-tint, var(--tint-chip));
  border: 0;
  box-shadow:
    inset 0 1px 0 var(--lg-inner),
    inset 0 -1px 0 rgba(255, 255, 255, .1),
    inset 0 -18px 30px -24px var(--lg-glow),
    var(--lg-drop);
  -webkit-backdrop-filter: blur(var(--lg-blur)) saturate(var(--lg-sat)) brightness(var(--lg-bright, 1.06));
  backdrop-filter: blur(var(--lg-blur)) saturate(var(--lg-sat)) brightness(var(--lg-bright, 1.06));
  transition: background-color .3s ease, box-shadow .3s ease, transform .25s var(--ease-out);
}
/* specular rim: bright where light hits (top-left, bottom-right), clear in between */
.glass::before, .notif::before, .nav-pill::before, .btn--glass::before, .seg-lens::before {
  content: "";
  position: absolute; inset: 0; z-index: -1;
  border-radius: inherit; padding: 1.2px; pointer-events: none;
  background: linear-gradient(var(--lg-angle, 155deg), var(--lg-rim-a), var(--lg-rim-b) 32%, rgba(255, 255, 255, 0) 50%, var(--lg-rim-b) 68%, var(--lg-rim-a));
  -webkit-mask: linear-gradient(#000 0 0) content-box, linear-gradient(#000 0 0);
  -webkit-mask-composite: xor;
  mask: linear-gradient(#000 0 0) content-box, linear-gradient(#000 0 0);
  mask-composite: exclude;
}
/* light that follows the pointer (motion.js sets --lx / --ly) */
.glass::after, .notif::after, .nav-pill::after, .btn--glass::after, .seg-lens::after {
  content: "";
  position: absolute; inset: 0; z-index: -1;
  border-radius: inherit; pointer-events: none;
  background: radial-gradient(var(--lg-spot, 240px) circle at var(--lx, 24%) var(--ly, -20%), var(--lg-light), rgba(255, 255, 255, 0) 70%);
  opacity: .5;
  transition: opacity .35s ease;
}
.glass:hover::after, .notif:hover::after, .nav-pill:hover::after, .btn--glass:hover::after { opacity: .9; }
.has-lens {
  -webkit-backdrop-filter: blur(var(--lg-blur)) saturate(var(--lg-sat)) brightness(var(--lg-bright, 1.06));
  backdrop-filter: var(--lens) blur(var(--lg-blur)) saturate(var(--lg-sat)) brightness(var(--lg-bright, 1.06));
}

/* component tints */
.chain .chip, .toast, .search, .browser { --lg-tint: var(--tint-chip); --lg-blur: 6px; }
.run-card, .calc-result .glass, .idcard { --lg-tint: var(--tint-panel); --lg-blur: 16px; --lg-spot: 420px; }
.applist span { --lg-tint: rgba(255, 255, 255, .1); --lg-blur: 5px; --lg-rim-a: rgba(255, 255, 255, .85); color: #FFFFFF; }
.btn--glass:active, .applist span:active { transform: scale(.96); }

@media (prefers-reduced-transparency: reduce) {
  .glass, .notif, .nav-pill, .btn--glass, .seg-lens, .has-lens { -webkit-backdrop-filter: none; backdrop-filter: none; }
  .nav-pill, .site-header.on-dark .nav-pill { --lg-tint: var(--bg); color: var(--ink); }
  .notif, .glass, .seg-lens { --lg-tint: var(--surface); }
  .btn--glass, .applist span { --lg-tint: rgba(255, 255, 255, .22); }
}

/* Dotted canvas behind workflow visuals, like an automation editor */
.canvas-dots::before {
  content: ""; position: absolute; inset: 0; z-index: 0; pointer-events: none;
  background-image: radial-gradient(circle, var(--dot) 1.1px, transparent 1.7px), radial-gradient(circle, var(--dot) 1.1px, transparent 1.7px);
  background-size: 24px 41.57px, 24px 41.57px;
  background-position: 0 0, 12px 20.78px;
  -webkit-mask: radial-gradient(120% 95% at 50% 50%, #000 35%, transparent 85%);
  mask: radial-gradient(120% 95% at 50% 50%, #000 35%, transparent 85%);
}
.canvas-dots .orbs { z-index: -1; }
.runner .run-card { z-index: 1; }

/* Liquid thumb for segmented controls (positioned by motion.js) */
.seg-lens {
  --lg-tint: var(--tint-seg); --lg-blur: 4px; --lg-spot: 140px;
  --lg-drop: 0 1px 2px rgba(14, 15, 17, .1), 0 8px 18px -10px rgba(14, 15, 17, .35);
  position: absolute; top: 0; left: 0; z-index: 0; width: 0; height: 0;
  border-radius: 999px; pointer-events: none;
  transition: translate .6s cubic-bezier(.3, 1.3, .45, 1), width .6s cubic-bezier(.3, 1.3, .45, 1), height .4s ease;
}
.seg-lens.no-anim { transition: none; }
.seg-lens.is-moving { animation: lg-blob .6s cubic-bezier(.3, 1.2, .4, 1); }
@keyframes lg-blob { 35% { scale: 1.1 .84; } 70% { scale: .98 1.04; } }
.seg, .explorer-tab { position: relative; z-index: 1; }
.lens-ready > [aria-selected="true"] { background: transparent !important; box-shadow: none !important; color: var(--ink) !important; }

/* =====================================================================
   Hero: 9pm sky. The sun sets and the stars come out as you scroll.
   motion.js sets --p from 0 (top) to 1 (hero scrolled away).
   ===================================================================== */
.hero { --p: 0; }
.hero .night { position: absolute; inset: 0; z-index: -1; pointer-events: none; background: linear-gradient(180deg, #03050C 0%, #070B18 55%, #120F22 100%); opacity: calc(var(--p) * .6); }
.hero .sky-stars { position: absolute; left: 0; top: 0; width: 100%; height: 72%; z-index: -1; pointer-events: none; opacity: calc(.5 + var(--p) * .5); transform: translate3d(0, calc(var(--p) * 40px), 0); }
.hero-grid { position: relative; z-index: 1; }
/* The mark in brushed silver, behind the notifications. Its sheen slides as you scroll. */
.hero-mark {
  position: absolute; z-index: -1; pointer-events: none;
  width: clamp(300px, 36vw, 520px); aspect-ratio: 307 / 252;
  left: 50%; top: 50%; translate: -50% -38%;
  filter: drop-shadow(0 0 50px rgba(255, 255, 255, .18)) drop-shadow(0 30px 60px rgba(0, 0, 0, .6));
  transform: translate3d(0, calc(var(--p) * -14%), 0) scale(calc(1 + var(--p) * .06));
}
.hero-mark i {
  display: block; width: 100%; height: 100%;
  background: linear-gradient(165deg, #FFFFFF 0%, #E5E5EA 18%, #9A9AA0 40%, #F2F2F7 52%, #6E6E73 68%, #2C2C2E 100%);
  background-size: 100% 240%;
  background-position: 50% calc(10% + var(--p) * 80%);
  -webkit-mask: url("logo-mark.svg") center / contain no-repeat;
  mask: url("logo-mark.svg") center / contain no-repeat;
}
.hero-copy { transform: translate3d(0, calc(var(--p) * -70px), 0); }
.lockscreen { transform: translate3d(0, calc(var(--p) * -24px), 0); }

/* Calculator result: night card, soft light behind dark glass */
.calc-result::before {
  content: ""; position: absolute; z-index: -1; pointer-events: none;
  width: 420px; height: 420px; right: -140px; bottom: -180px; border-radius: 50%;
  background: radial-gradient(closest-side, rgba(255, 255, 255, .34), rgba(255, 255, 255, .08) 55%, transparent);
}
.calc-result .glass {
  --lg-tint: rgba(28, 28, 30, .55); --lg-light: rgba(255, 255, 255, .14);
  --ink: #F5F5F7; --ink-2: #A1A1A6; --ink-3: #7C7C82; --line: rgba(255, 255, 255, .1);
  color: var(--ink); color-scheme: dark;
}
.calc-result .btn--light, .calc-result .btn:not(.btn--glass) { background: #FFFFFF; color: #0A0A0A; }
.calc-result input[type="range"] { accent-color: #FFFFFF; }

/* =====================================================================
   Motion
   ===================================================================== */
html { scroll-behavior: smooth; }

@media (prefers-reduced-motion: no-preference) {
  /* page-load sequence for hero copy */
  .hero-copy > *, .page-hero:not(.page-hero--scene) .wrap > *, .scene-copy > * { animation: lg-rise-in 1s var(--ease-out) both; }
  .hero-copy > :nth-child(2), .page-hero:not(.page-hero--scene) .wrap > :nth-child(2), .scene-copy > :nth-child(2) { animation-delay: .08s; }
  .hero-copy > :nth-child(3), .page-hero:not(.page-hero--scene) .wrap > :nth-child(3), .scene-copy > :nth-child(3) { animation-delay: .16s; }
  .hero-copy > :nth-child(4), .page-hero:not(.page-hero--scene) .wrap > :nth-child(4), .scene-copy > :nth-child(4) { animation-delay: .24s; }
  .hero-copy > :nth-child(5), .page-hero:not(.page-hero--scene) .wrap > :nth-child(5), .scene-copy > :nth-child(5) { animation-delay: .32s; }
  .hero-copy > :nth-child(6), .page-hero:not(.page-hero--scene) .wrap > :nth-child(6), .scene-copy > :nth-child(6) { animation-delay: .4s; }
  .hero-mark { animation: lg-mark-in 1.8s var(--ease-out) both; }
  .ls-time { animation: lg-rise-in 1.1s .1s var(--ease-out) both; }
  @keyframes lg-rise-in { from { opacity: 0; translate: 0 26px; filter: blur(10px); } to { opacity: 1; translate: none; filter: none; } }
  @keyframes lg-mark-in { from { opacity: 0; scale: .92; } to { opacity: 1; scale: 1; } }

  /* scroll reveals: soft focus-pull as each block arrives (motion.js adds the classes) */
  .js-motion [data-reveal] {
    opacity: 0; translate: 0 36px; scale: .985; filter: blur(10px);
    transition: opacity .9s var(--ease-out), translate 1.1s var(--ease-out), scale 1.1s var(--ease-out), filter .9s var(--ease-out);
    transition-delay: var(--d, 0ms);
  }
  .js-motion [data-reveal].is-in { opacity: 1; translate: none; scale: none; filter: none; }

  /* tiles lean towards the pointer */
  .tile { transition: transform .5s var(--ease-out); will-change: transform; }
}

/* sheen on tiles that follows the pointer */
.tile::after {
  content: ""; position: absolute; inset: 0; z-index: 3; pointer-events: none;
  background: radial-gradient(520px circle at var(--lx, 50%) var(--ly, 0%), rgba(255, 255, 255, .12), transparent 60%);
  opacity: 0; transition: opacity .4s ease;
}
.tile:hover::after { opacity: 1; }

/* words light up as you read down the page */
.lit-words .w { transition: color .4s ease; }
.js-motion .lit-words .w { color: color-mix(in srgb, var(--ink-2) 26%, transparent); }
.js-motion .lit-words .w.on { color: var(--ink-2); }

/* steps: a progress line that fills as you scroll, lighting each stage */
.steps.has-track { position: relative; padding-top: 34px; }
.steps.has-track::before, .steps.has-track::after {
  content: ""; position: absolute; top: 9px; height: 2px; border-radius: 2px; left: var(--t0, 0px);
}
.steps.has-track::before { width: var(--tw, 0px); background: var(--line-2); }
.steps.has-track::after { width: var(--fill, 0px); background: linear-gradient(90deg, var(--ink-3), var(--ink)); }
.steps.has-track > li { position: relative; }
.steps.has-track > li::after {
  content: ""; position: absolute; top: -31px; left: 25px; width: 14px; height: 16px;
  clip-path: polygon(50% 0, 100% 25%, 100% 75%, 50% 100%, 0 75%, 0 25%);
  background: var(--line-2); transition: background-color .4s ease, scale .4s var(--ease-out);
}
.steps.has-track > li.is-on::after { background: var(--ink); scale: 1.15; }
.steps > li::before { transition: color .4s ease; }
.steps > li.is-on::before { color: var(--ink); }

/* nav tightens once you start scrolling */
@media (min-width: 961px) {
  .site-header.is-compact .nav-pill { max-width: 960px; }
}
.nav-progress { position: absolute; left: 24px; right: 24px; bottom: 0; height: 2px; border-radius: 2px; overflow: hidden; pointer-events: none; }
.nav-progress i { display: block; width: 100%; height: 100%; transform-origin: left center; transform: scaleX(var(--read, 0)); background: currentColor; opacity: .7; }

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .hero-copy, .lockscreen, .hero-mark, .hero .sky-stars { transform: none !important; }
}

/* Night bands carry a large faint logo mark */
.cta-band::before {
  content: ""; position: absolute; z-index: -1; pointer-events: none;
  width: min(780px, 120vw); aspect-ratio: 307 / 252; left: 50%; top: 50%; translate: -50% -44%;
  background: linear-gradient(165deg, rgba(255, 255, 255, .16), rgba(255, 255, 255, .02) 72%);
  -webkit-mask: url("logo-mark.svg") center / contain no-repeat;
  mask: url("logo-mark.svg") center / contain no-repeat;
}
.tile--dusk::before {
  content: ""; position: absolute; z-index: 0; pointer-events: none;
  width: 70%; aspect-ratio: 307 / 252; right: -12%; top: -18%;
  background: linear-gradient(165deg, rgba(255, 255, 255, .12), rgba(255, 255, 255, 0) 75%);
  -webkit-mask: url("logo-mark.svg") center / contain no-repeat;
  mask: url("logo-mark.svg") center / contain no-repeat;
}
.tile--dusk .applist { position: relative; z-index: 1; }
@media (max-width: 640px) { .brand-logo { height: 25px; } }

/* =====================================================================
   Service scenes
   Small looping animations in the hero of the automation, websites and
   paperless pages. Always drawn at night like the home hero, with the
   same glass. scenes.js runs them only while they're on screen; with
   reduced motion they show one finished frame.
   Everything inside .scene-art is sized in em, and 1em is 1/32.5 of the
   scene's width, so each scene scales as one picture.
   ===================================================================== */
/* Full-height night header. The scene is the background on the right; its
   left edge fades into the dark so the headline always sits on clean black. */
.page-hero--scene.dusk {
  display: flex; align-items: center;
  min-height: clamp(640px, 100svh, 980px);
  padding-top: calc(var(--nav-space) + 28px); padding-bottom: 56px;
  background: radial-gradient(40% 58% at 74% 56%, rgba(255, 255, 255, .075), rgba(255, 255, 255, 0) 70%), #000000;
}
.page-hero--scene > .wrap { position: static; }
.scene-copy { position: relative; z-index: 2; max-width: min(570px, 46vw); display: grid; justify-items: start; }
.scene-copy .crumbs { margin-bottom: 30px; }
.page-hero--scene .crumbs ol { color: rgba(255, 255, 255, .42); }
.page-hero--scene .crumbs a { color: rgba(255, 255, 255, .66); }
.page-hero--scene .crumbs a:hover { color: #FFFFFF; }
.page-hero--scene .label { color: rgba(255, 255, 255, .6); }
.page-hero--scene h1 { font-size: clamp(2.7rem, 5vw, 4.6rem); max-width: 12ch; line-height: 1; letter-spacing: -.045em; margin-top: 14px; }
.hero-sub { margin-top: 24px; max-width: 34ch; font-size: clamp(1.15rem, 1.55vw, 1.4rem); line-height: 1.45; letter-spacing: -.014em; color: rgba(255, 255, 255, .72); font-weight: 420; }
.page-hero--scene .actions { margin-top: 36px; }
.page-hero--scene .scene {
  position: absolute; z-index: 0;
  right: max(-40px, calc(50vw - 640px));
  top: calc(50% + var(--nav-space) / 2 - 6px); translate: 0 -50%;
  width: min(58vw, 700px, calc((100svh - var(--nav-space) - 80px) * 520 / 560));
  -webkit-mask: linear-gradient(90deg, transparent 0, #000 6%); mask: linear-gradient(90deg, transparent 0, #000 6%);
}
@media (prefers-reduced-motion: no-preference) {
  .page-hero--scene .scene { animation: scene-in 1.6s .25s var(--ease-out) both; }
  @keyframes scene-in { from { opacity: 0; scale: .97; } to { opacity: 1; scale: 1; } }
}
@media (max-width: 1024px) {
  .page-hero--scene.dusk { display: block; min-height: 0; padding-bottom: 0; }
  .scene-copy { max-width: 620px; }
  .page-hero--scene .scene {
    position: relative; right: auto; top: auto; translate: -50% 0;
    width: min(100vw, 640px); margin: 40px 0 0 50%;
    -webkit-mask: linear-gradient(180deg, transparent 0, #000 12%, #000 84%, transparent 100%);
    mask: linear-gradient(180deg, transparent 0, #000 12%, #000 84%, transparent 100%);
  }
}

/* The answer-first paragraph, set as a large statement that lights up as you read */
.intro-statement { padding-block: clamp(80px, 10vw, 150px); }
.statement { max-width: 30ch; font-size: clamp(1.4rem, 3.1vw, 2.65rem); line-height: 1.22; letter-spacing: -.03em; font-weight: 560; color: var(--ink); text-wrap: pretty; }
.js-motion .statement.lit-words .w { color: color-mix(in srgb, var(--ink) 16%, transparent); }
.js-motion .statement.lit-words .w.on { color: var(--ink); }

.scene {
  --ok: #30D158;
  position: relative; container-type: inline-size;
  width: 100%; aspect-ratio: 520 / 540; color: #F5F5F7;
}
.scene--funnel { aspect-ratio: 520 / 560; }
.scene--launch { aspect-ratio: 520 / 470; }
.scene-art { position: absolute; inset: 0; z-index: 1; font-size: calc(100cqw / 32.5); line-height: 1.3; letter-spacing: -.01em; }
.scene-art.no-tr, .scene-art.no-tr * { transition: none !important; animation: none !important; }

/* scene glass: the same material as .glass, sized in em, and cheaper for moving parts */
.sg, .sgc {
  position: absolute;
  background: linear-gradient(180deg, rgba(255, 255, 255, .13), rgba(255, 255, 255, .03) 55%), rgba(34, 35, 40, .55);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, .2), inset 0 -1px 0 rgba(255, 255, 255, .05), 0 1.6em 3em -1.6em rgba(0, 0, 0, .9);
}
.sg { -webkit-backdrop-filter: blur(.85em) saturate(160%); backdrop-filter: blur(.85em) saturate(160%); }
.sgc { background: linear-gradient(180deg, rgba(255, 255, 255, .15), rgba(255, 255, 255, .05) 55%), rgba(40, 41, 46, .82); }
.sg::before, .sgc::before {
  content: ""; position: absolute; inset: 0; border-radius: inherit; padding: 1px; pointer-events: none;
  background: linear-gradient(155deg, rgba(255, 255, 255, .42), rgba(255, 255, 255, .07) 32%, rgba(255, 255, 255, 0) 50%, rgba(255, 255, 255, .06) 68%, rgba(255, 255, 255, .2));
  -webkit-mask: linear-gradient(#000 0 0) content-box, linear-gradient(#000 0 0); -webkit-mask-composite: xor;
  mask: linear-gradient(#000 0 0) content-box, linear-gradient(#000 0 0); mask-composite: exclude;
}
.scene .hex { display: inline-block; width: 1em; height: 1.1em; flex: none; background: currentColor; clip-path: polygon(50% 0, 100% 25%, 100% 75%, 50% 100%, 0 75%, 0 25%); }
.scene .ok { position: relative; width: 1.25em; height: 1.4em; flex: none; background: var(--ok); clip-path: polygon(50% 0, 100% 25%, 100% 75%, 50% 100%, 0 75%, 0 25%); transition: background .3s ease; }
.scene .ok::after { content: ""; position: absolute; left: 37%; top: 25%; width: 24%; height: 38%; border: solid #03140A; border-width: 0 .15em .15em 0; transform: rotate(45deg); }
.scene .n-icon { width: 2.4em; height: 2.4em; border-radius: .7em; }
.scene .n-icon svg { width: 1.3em; height: 1.3em; }
.fn-ic { display: grid; place-items: center; width: 2.1em; height: 2.1em; flex: none; border-radius: .65em; color: #FFFFFF; background: linear-gradient(160deg, #4A4A50, #1C1C1F); box-shadow: inset 0 1px 0 rgba(255, 255, 255, .25); }
.fn-ic svg { width: 1.2em; height: 1.2em; fill: none; stroke: currentColor; stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; }
@keyframes sc-spin { to { transform: rotate(360deg); } }
@keyframes sc-blink { 50% { opacity: 0; } }

/* ---------- Paperless: a stack of paper flicked through a scanner ---------- */
.paper-stack { position: absolute; left: 3.4em; top: 3.4em; width: 12.6em; height: 17.8em; perspective: 38em; }
.sheet {
  position: absolute; inset: 0; border-radius: .3em; padding: 1.3em 1.15em 1.15em;
  display: flex; flex-direction: column; gap: .5em;
  background: linear-gradient(180deg, #FCFCFA, #ECECE8);
  box-shadow: 0 .05em .1em rgba(0, 0, 0, .35), 0 1em 1.8em -.9em rgba(0, 0, 0, .8);
  transform-origin: 50% 0;
  transition: transform .55s var(--ease-out), opacity .4s ease;
}
.sheet[data-d="1"] { transform: translate(-.3em, .25em) rotate(-2.2deg); }
.sheet[data-d="2"] { transform: translate(.35em, .45em) rotate(2deg); }
.sheet[data-d="3"] { transform: translate(-.2em, .65em) rotate(-3.4deg); }
.sheet[data-d="4"] { transform: translate(.4em, .8em) rotate(3.2deg); }
.sheet[data-d="5"] { transform: translate(0, .95em) rotate(-1deg); }
.sheet b { font-size: .58em; font-weight: 720; letter-spacing: .16em; text-transform: uppercase; color: #1C1C1E; white-space: nowrap; }
.sheet i { display: block; height: .3em; border-radius: .2em; background: #D4D4D8; }
.sheet .w1 { width: 48%; background: #A1A1A6; margin-top: .3em; }
.sheet .w2 { width: 34%; }
.sheet .sh-rows { display: grid; gap: .6em; margin-top: .8em; padding-top: .8em; border-top: .06em solid #D9D9DD; }
.sheet .sh-rows i:nth-child(even) { width: 78%; }
.sheet .sh-rows i:nth-child(3) { width: 88%; }
.sheet .sh-total { margin-top: auto; align-self: flex-end; width: 36%; height: .55em; background: #2C2C2E; }
.sheet.is-flick { animation: sheet-flick .7s cubic-bezier(.45, 0, .55, 1) forwards; z-index: 30 !important; }
.sheet.is-quick { animation-duration: .48s; }
.sheet.is-back { opacity: 0; transition: none; }
@keyframes sheet-flick {
  0% { transform: none; opacity: 1; }
  38% { transform: translateY(-.5em) rotateX(-34deg); opacity: 1; }
  100% { transform: translate(7.5em, -1.2em) rotateX(-88deg) scale(.6); opacity: 0; }
}
.scan-beam {
  position: absolute; left: -9%; right: -9%; top: 0; z-index: 40; height: .22em; border-radius: 1em; opacity: 0; pointer-events: none;
  background: linear-gradient(90deg, rgba(255, 255, 255, 0), #FFFFFF 16%, #FFFFFF 84%, rgba(255, 255, 255, 0));
  box-shadow: 0 0 .8em .2em rgba(255, 255, 255, .7), 0 0 3em 1em rgba(200, 212, 255, .25);
}
.scan-beam::after { content: ""; position: absolute; left: 9%; right: 9%; bottom: 100%; height: 3.2em; background: linear-gradient(to top, rgba(255, 255, 255, .26), rgba(255, 255, 255, 0)); }
.scan-beam.is-scan { animation: scan-pass .62s cubic-bezier(.45, 0, .55, 1) forwards; }
.scan-beam.is-quick { animation-duration: .36s; }
@keyframes scan-pass { 0% { opacity: 0; transform: translateY(0); } 14% { opacity: 1; } 86% { opacity: 1; } 100% { opacity: 0; transform: translateY(17.8em); } }

.archive { left: 13.6em; right: .6em; top: 9.4em; bottom: 1.2em; border-radius: 1.3em; padding: .85em; display: flex; flex-direction: column; gap: .65em; }
.ar-bar { display: flex; align-items: center; justify-content: space-between; padding: .1em .35em 0; }
.ar-title { display: flex; align-items: center; gap: .5em; font-size: .82em; font-weight: 640; }
.ar-title .hex { width: .85em; height: .95em; }
.ar-count { font-size: .7em; color: rgba(255, 255, 255, .55); }
.ar-count b { color: #FFFFFF; font-weight: 640; font-variant-numeric: tabular-nums; }
.ar-list { list-style: none; flex: 1; min-height: 0; overflow: hidden; display: flex; flex-direction: column; gap: .45em; padding: 0; margin: 0; }
.ar-row {
  flex: none; display: grid; grid-template-columns: auto minmax(0, 1fr) auto; align-items: center; gap: .7em;
  padding: .55em .7em; border-radius: .85em;
  background: rgba(255, 255, 255, .06); box-shadow: inset 0 0 0 1px rgba(255, 255, 255, .06);
  transition: transform .55s var(--ease-out), opacity .4s ease, background-color .4s ease, box-shadow .4s ease;
}
.ar-row em { font-style: normal; font-size: .56em; font-weight: 720; letter-spacing: .04em; color: #FFFFFF; background: #D9483B; border-radius: .4em; padding: .3em .5em; }
.ar-row b { display: block; font-size: .76em; font-weight: 600; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.ar-row small { display: block; font-size: .66em; color: rgba(255, 255, 255, .55); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.ar-row.is-new { animation: row-in .65s var(--ease-out) both; }
@keyframes row-in { from { opacity: 0; transform: translateX(-1.4em) scale(.96); background-color: rgba(255, 255, 255, .24); } }
.ar-row.is-reading .ok { background: transparent; clip-path: none; border-radius: 50%; width: 1.15em; height: 1.15em; border: .15em solid rgba(255, 255, 255, .25); border-top-color: #FFFFFF; animation: sc-spin .7s linear infinite; }
.ar-row.is-reading .ok::after { display: none; }
.ar-row.is-reading small::after { content: "…"; }
.ar-row.is-out { opacity: 0; }
.ar-list.is-searching .ar-row { opacity: .32; }
.ar-list.is-searching .ar-row.is-match { opacity: 1; background: rgba(255, 255, 255, .15); box-shadow: inset 0 0 0 1px rgba(255, 255, 255, .4); }
.ar-search { display: flex; align-items: center; gap: .55em; padding: .7em .9em; border-radius: 999px; background: rgba(255, 255, 255, .08); box-shadow: inset 0 0 0 1px rgba(255, 255, 255, .1); font-size: .76em; }
.ar-search svg { width: 1.1em; height: 1.1em; flex: none; color: rgba(255, 255, 255, .6); }
.ar-ph { color: rgba(255, 255, 255, .42); }
.ar-q:empty { display: none; }
.ar-q:not(:empty) + .ar-ph { display: none; }
.ar-q::after { content: ""; display: inline-block; width: 1px; height: 1.1em; margin-left: 2px; vertical-align: -.2em; background: #FFFFFF; animation: sc-blink 1s steps(1) infinite; }

.box-chip { left: 2.1em; top: 26.2em; width: 9.3em; padding: .75em .85em .8em; border-radius: 1em; display: grid; gap: .5em; }
.bx-top { display: flex; align-items: baseline; justify-content: space-between; gap: .5em; }
.bx-top b { font-size: .72em; font-weight: 640; white-space: nowrap; }
.bx-top small { font-size: .66em; color: rgba(255, 255, 255, .6); font-variant-numeric: tabular-nums; }
.bx-bar { display: block; height: .32em; border-radius: 1em; background: rgba(255, 255, 255, .12); overflow: hidden; }
.bx-bar i { display: block; height: 100%; border-radius: inherit; background: linear-gradient(90deg, rgba(255, 255, 255, .55), #FFFFFF); transition: width .6s var(--ease-out); }
.bx-note { font-size: .6em; color: rgba(255, 255, 255, .5); white-space: nowrap; }

/* ---------- Automation: a funnel that turns requests into finished jobs ---------- */
.fn-svg { position: absolute; left: 0; top: 0; width: 32.5em; height: 35em; overflow: visible; }
.fn-body { fill: url(#fnFill); }
.fn-wall { fill: none; stroke: url(#fnWall); stroke-width: 1.5; }
.fn-rim { fill: rgba(255, 255, 255, .03); stroke: rgba(255, 255, 255, .55); stroke-width: 1.4; }
.fn-shine { fill: none; stroke: rgba(255, 255, 255, .07); stroke-width: 9; stroke-linecap: round; filter: blur(3px); }
.fn-stream { fill: none; stroke: rgba(255, 255, 255, .45); stroke-width: 1.6; stroke-dasharray: 3 4; animation: fn-dash .8s linear infinite; }
@keyframes fn-dash { to { stroke-dashoffset: -14; } }
.fn-count { left: 1.4em; top: 1.3em; display: flex; align-items: center; gap: .55em; padding: .5em .85em .5em .7em; border-radius: 999px; font-size: .74em; color: rgba(255, 255, 255, .7); }
.fn-count .hex { width: .8em; height: .9em; color: var(--ok); }
.fn-count b { color: #FFFFFF; font-weight: 660; font-variant-numeric: tabular-nums; }
.fn-node {
  position: absolute; left: 16.25em; top: 21.6em; width: 4.6em; height: 4.6em; translate: -50% -50%; border-radius: 50%;
  display: grid; place-items: center;
  background: radial-gradient(circle at 50% 28%, rgba(255, 255, 255, .2), rgba(255, 255, 255, .03) 70%), rgba(24, 24, 28, .85);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, .4), inset 0 0 0 1px rgba(255, 255, 255, .14), 0 0 2.6em rgba(255, 255, 255, .16), 0 1em 2em -1em #000000;
}
.fn-node i { width: 60%; aspect-ratio: 307 / 252; background: linear-gradient(165deg, #FFFFFF 0%, #D1D1D6 35%, #8E8E93 62%, #F2F2F7 80%, #AEAEB2 100%); -webkit-mask: url("logo-mark.svg") center / contain no-repeat; mask: url("logo-mark.svg") center / contain no-repeat; }
.fn-ring { position: absolute; inset: 0; border-radius: 50%; box-shadow: 0 0 0 1.5px rgba(255, 255, 255, .7), 0 0 1.2em rgba(255, 255, 255, .4); opacity: 0; pointer-events: none; }
.fn-node.is-hit { animation: fn-bump .5s var(--ease-out); }
.fn-node.is-hit .fn-ring { animation: fn-ring .9s var(--ease-out); }
@keyframes fn-bump { 30% { scale: 1.1; } }
@keyframes fn-ring { from { opacity: 1; transform: scale(1); } to { opacity: 0; transform: scale(1.8); } }
.fn-drops, .fn-chips { position: absolute; inset: 0; pointer-events: none; }
.fn-drop { position: absolute; left: 0; top: 0; width: .32em; height: .32em; margin: -.16em 0 0 -.16em; border-radius: 50%; background: #FFFFFF; box-shadow: 0 0 .5em rgba(255, 255, 255, .8); will-change: transform, opacity; }
.fn-chip { position: absolute; left: 0; top: 0; display: flex; align-items: center; gap: .5em; padding: .35em .85em .35em .35em; border-radius: 999px; font-size: .8em; font-weight: 600; white-space: nowrap; color: #FFFFFF; will-change: transform, opacity; }
.fn-chip--s1, .fn-chip--s2, .fn-chip--s3 { translate: -50% -50%; }
.fn-chip--s1 { left: 8.6em; top: 6.6em; }
.fn-chip--s2 { left: 20.5em; top: 5.2em; }
.fn-chip--s3 { left: 30.6em; top: 7.2em; }
.fn-out { position: absolute; left: 3.6em; right: 3.6em; top: 24.8em; height: 9.3em; overflow: hidden; list-style: none; margin: 0; padding: 0; display: flex; flex-direction: column; gap: .45em; }
.fn-row {
  flex: none; display: grid; grid-template-columns: auto minmax(0, 1fr) auto; align-items: center; gap: .75em;
  padding: .45em .85em; border-radius: .9em;
  background: rgba(255, 255, 255, .07); box-shadow: inset 0 0 0 1px rgba(255, 255, 255, .08);
  transition: transform .55s var(--ease-out), opacity .4s ease, background-color .5s ease;
}
.fn-row b { display: block; font-size: .8em; font-weight: 620; }
.fn-row small { display: block; font-size: .66em; color: rgba(255, 255, 255, .55); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.fn-row time { font-size: .64em; color: rgba(255, 255, 255, .45); }
.fn-row.is-new { animation: fn-row-in .6s var(--ease-out) both; }
@keyframes fn-row-in { from { opacity: 0; transform: translateY(-1em) scale(.97); background-color: rgba(255, 255, 255, .22); } }
.fn-row.is-working .ok { background: transparent; clip-path: none; border-radius: 50%; width: 1.15em; height: 1.15em; border: .15em solid rgba(255, 255, 255, .25); border-top-color: #FFFFFF; animation: sc-spin .7s linear infinite; }
.fn-row.is-working .ok::after { display: none; }
.fn-row.is-out { opacity: 0; }

/* ---------- Websites: a site goes live, then a customer pays on their phone ---------- */
.scene--launch .scene-art { transition: opacity .6s ease; }
.scene--launch .scene-art:not(.is-in), .scene--launch .scene-art.is-out { opacity: 0; }
.web { left: 1.2em; top: 4.6em; width: 24em; height: 20.6em; border-radius: 1.15em; overflow: hidden; display: flex; flex-direction: column; }
.web-bar { display: flex; align-items: center; gap: .6em; padding: .7em .75em .65em; }
.web-dots { display: flex; gap: .35em; }
.web-dots i { width: .55em; height: .55em; border-radius: 50%; background: rgba(255, 255, 255, .22); }
.web-url { flex: 1; min-width: 0; display: flex; align-items: center; gap: .45em; height: 2.3em; padding: 0 .9em; border-radius: 999px; background: rgba(255, 255, 255, .08); font-size: .72em; color: rgba(255, 255, 255, .85); white-space: nowrap; }
.web-url svg { width: 1em; height: 1em; flex: none; opacity: .65; }
.is-typing:not(.is-built) [data-url]::after { content: ""; display: inline-block; width: 1px; height: 1.1em; margin-left: 2px; vertical-align: -.2em; background: #FFFFFF; animation: sc-blink 1s steps(1) infinite; }
.web-status { display: flex; align-items: center; gap: .45em; height: 2.2em; padding: 0 .8em; border-radius: 999px; background: rgba(255, 255, 255, .08); font-size: .66em; font-weight: 620; color: rgba(255, 255, 255, .7); transition: background-color .4s ease, color .4s ease; }
.web-status i { box-sizing: border-box; width: .7em; height: .7em; border-radius: 50%; background: rgba(255, 255, 255, .35); }
.is-publishing:not(.is-live) .web-status i { width: .95em; height: .95em; background: transparent; border: .16em solid rgba(255, 255, 255, .3); border-top-color: #FFFFFF; animation: sc-spin .7s linear infinite; }
.is-live .web-status { background: rgba(48, 209, 88, .18); color: #FFFFFF; }
.is-live .web-status i { background: var(--ok); animation: live-ping 1.8s ease-out infinite; }
@keyframes live-ping { from { box-shadow: 0 0 0 0 rgba(48, 209, 88, .7); } to { box-shadow: 0 0 0 .8em rgba(48, 209, 88, 0); } }
.web-progress { height: 2px; margin: 0 .75em; border-radius: 2px; overflow: hidden; }
.web-progress i { display: block; height: 100%; width: 0; background: linear-gradient(90deg, rgba(255, 255, 255, .5), #FFFFFF); box-shadow: 0 0 .6em #FFFFFF; transition: width 1.3s cubic-bezier(.5, .1, .3, 1), opacity .4s ease .25s; }
.is-publishing .web-progress i { width: 100%; }
.is-live .web-progress i { opacity: 0; }
.web-body { flex: 1; margin: .55em; border-radius: .75em; padding: .8em; display: flex; flex-direction: column; gap: .7em; box-shadow: inset 0 0 0 1px rgba(255, 255, 255, .1); transition: background-color .7s ease, box-shadow .7s ease; }
.is-built .web-body { background-color: #FAFAFA; box-shadow: none; }
.wb { display: block; border-radius: .35em; outline: 1px dashed rgba(255, 255, 255, .3); outline-offset: -1px; transition: background-color .5s ease, outline-color .5s ease; transition-delay: calc(var(--i, 0) * 90ms); }
.is-built .wb { outline-color: transparent; }
.ws-nav { display: flex; align-items: center; gap: .7em; height: 1.4em; }
.ws-logo { width: 1.15em; height: 1.3em; flex: none; border-radius: 0; clip-path: polygon(50% 0, 100% 25%, 100% 75%, 50% 100%, 0 75%, 0 25%); background: rgba(255, 255, 255, .25); }
.is-built .ws-logo { background-color: #0A0A0A; }
.ws-nav i { width: 2.4em; height: .32em; }
.ws-nav i:first-of-type { margin-left: auto; }
.ws-nav em { width: 3.4em; height: 1.4em; border-radius: 999px; }
.is-built .ws-nav i { background-color: #C7C7CC; }
.is-built .ws-nav em { background-color: #0A0A0A; }
.ws-hero { position: relative; overflow: hidden; flex: 1; border-radius: .65em; padding: 1em 1.1em; display: flex; flex-direction: column; justify-content: flex-end; align-items: flex-start; gap: .55em; }
.ws-hero::before { content: ""; position: absolute; inset: 0; z-index: -1; opacity: 0; transition: opacity .6s ease .3s; background: radial-gradient(60% 70% at 78% 18%, rgba(255, 255, 255, .34), rgba(255, 255, 255, 0) 60%), linear-gradient(160deg, #3C3C40, #0C0C0E 70%); }
.ws-hero { isolation: isolate; }
.is-built .ws-hero::before { opacity: 1; }
.ws-hero b { font-size: 1.2em; font-weight: 700; letter-spacing: -.035em; line-height: 1.04; color: #FFFFFF; }
.ws-hero i { width: 46%; height: .3em; border-radius: .2em; background: rgba(255, 255, 255, .45); }
.ws-hero em { font-style: normal; font-size: .55em; font-weight: 620; padding: .55em 1.1em; border-radius: 999px; background: #FFFFFF; color: #0A0A0A; }
.ws-hero b, .ws-hero i, .ws-hero em { opacity: 0; transform: translateY(.4em); transition: opacity .5s ease .55s, transform .6s var(--ease-out) .55s; }
.is-built .ws-hero b, .is-built .ws-hero i, .is-built .ws-hero em { opacity: 1; transform: none; }
.ws-cards { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: .55em; height: 3.6em; }
.is-built .ws-cards i { background-color: #EDEDF0; }

.lchip { left: 1.5em; display: flex; align-items: center; gap: .65em; padding: .5em 1em .5em .5em; border-radius: 1.1em; opacity: 0; transform: translateY(.8em); transition: opacity .5s ease, transform .7s var(--ease-out); }
.lchip--speed { top: 24.3em; }
.lchip--seo { top: 28.4em; transition-delay: .25s; }
.is-live .lchip { opacity: 1; transform: none; }
.lchip strong { display: block; font-size: .76em; font-weight: 640; }
.lchip small { display: block; font-size: .64em; color: rgba(255, 255, 255, .55); }
.ring-s { position: relative; display: grid; place-items: center; width: 2.4em; height: 2.4em; }
.ring-s svg { position: absolute; inset: 0; width: 100%; height: 100%; transform: rotate(-90deg); }
.ring-s circle { fill: none; stroke: rgba(255, 255, 255, .14); stroke-width: 3.2; }
.ring-s .ring-p { stroke: var(--ok); stroke-linecap: round; stroke-dasharray: 100; stroke-dashoffset: 100; transition: stroke-dashoffset 1.2s var(--ease-out) .3s; }
.is-live .ring-s .ring-p { stroke-dashoffset: 1; }
.ring-s b { font-size: .72em; font-weight: 680; font-variant-numeric: tabular-nums; }

.phone {
  position: absolute; right: .9em; top: 7em; width: 10.4em; height: 21.6em; border-radius: 1.9em; padding: .38em;
  background: #050506;
  box-shadow: inset 0 0 0 .1em #4A4A4E, inset 0 0 0 .2em #111113, 0 0 0 .06em rgba(255, 255, 255, .28), 0 2em 3em -1.2em rgba(0, 0, 0, .9);
  opacity: 0; transform: translateY(16em) rotate(8deg);
  transition: transform .95s cubic-bezier(.2, .9, .25, 1.02), opacity .5s ease;
}
.is-phone .phone { opacity: 1; transform: rotate(-3deg); }
.phone::before { content: ""; position: absolute; z-index: 5; top: .95em; left: 50%; width: .45em; height: .45em; margin-left: -.225em; border-radius: 50%; background: #1A1A1C; box-shadow: inset 0 0 0 .08em #2C2C30; }
.ph-screen { position: relative; height: 100%; border-radius: 1.55em; overflow: hidden; background: #FAFAFA; isolation: isolate; }
.ph-screen::after { content: ""; position: absolute; inset: 0; z-index: 1; background: rgba(0, 0, 0, .42); opacity: 0; transition: opacity .4s ease; }
.is-pay:not(.is-done) .ph-screen::after { opacity: 1; }
.ph-site { padding: 2em .75em .75em; display: flex; flex-direction: column; gap: .55em; }
.ph-nav { display: flex; align-items: center; justify-content: space-between; }
.ph-nav .ws-logo { width: .9em; height: 1em; background: #0A0A0A; }
.ph-nav i { width: 1.1em; height: .7em; border-top: .14em solid #0A0A0A; border-bottom: .14em solid #0A0A0A; box-sizing: border-box; }
.ph-hero { height: 7.4em; border-radius: .65em; padding: .7em; display: flex; flex-direction: column; justify-content: flex-end; align-items: flex-start; gap: .45em; background: radial-gradient(70% 70% at 80% 15%, rgba(255, 255, 255, .34), rgba(255, 255, 255, 0) 60%), linear-gradient(160deg, #3C3C40, #0C0C0E 70%); }
.ph-hero b { font-size: .78em; font-weight: 700; letter-spacing: -.03em; line-height: 1.05; color: #FFFFFF; }
.ph-hero em { font-style: normal; font-size: .46em; font-weight: 620; padding: .5em 1em; border-radius: 999px; background: #FFFFFF; color: #0A0A0A; }
.ph-site > i { display: block; height: .3em; border-radius: .2em; background: #D1D1D6; }
.ph-site > i:nth-of-type(2) { width: 80%; }
.ph-site > i:nth-of-type(3) { width: 62%; }
.pay {
  position: absolute; left: .3em; right: .3em; bottom: .3em; z-index: 2; border-radius: 1.3em; padding: .55em .8em .85em;
  display: flex; flex-direction: column; gap: .55em; overflow: hidden;
  background: #FFFFFF; color: #0A0A0A; box-shadow: 0 -1em 2em -1em rgba(0, 0, 0, .45);
  transform: translateY(112%); transition: transform .6s cubic-bezier(.2, .9, .25, 1);
}
.is-pay .pay { transform: none; }
.is-done .pay { transform: translateY(112%); }
.pay-handle { display: block; width: 2.2em; height: .25em; border-radius: 1em; background: #D1D1D6; align-self: center; }
.pay-merchant { display: flex; align-items: center; gap: .5em; }
.pay-merchant .ws-logo { width: 1.4em; height: 1.55em; background: #0A0A0A; }
.pay-merchant b { display: block; font-size: .66em; font-weight: 680; }
.pay-merchant small { display: block; font-size: .54em; color: #6E6E73; }
.pay-amount { text-align: center; }
.pay-amount small { display: block; font-size: .54em; color: #6E6E73; }
.pay-amount b { display: block; font-size: 1.55em; font-weight: 700; letter-spacing: -.04em; font-variant-numeric: tabular-nums; }
.pay-card { display: flex; align-items: center; gap: .55em; padding: .5em .6em; border-radius: .6em; background: #F2F2F4; font-size: .56em; font-weight: 560; }
.card-ic { position: relative; width: 2.4em; height: 1.6em; flex: none; border-radius: .3em; background: linear-gradient(135deg, #48484C, #0A0A0A); }
.card-ic::after { content: ""; position: absolute; left: .35em; top: .45em; width: .55em; height: .42em; border-radius: .12em; background: linear-gradient(135deg, #E5E5EA, #AEAEB2); }
.pay-btn { display: grid; place-items: center; height: 2.4em; border-radius: 999px; background: #0A0A0A; color: #FFFFFF; font-size: .64em; font-weight: 640; transition: transform .15s ease; }
.pay-btn > span { grid-area: 1 / 1; transition: opacity .25s ease; }
.pb-spin { box-sizing: border-box; width: 1.3em; height: 1.3em; border-radius: 50%; border: .16em solid rgba(255, 255, 255, .3); border-top-color: #FFFFFF; opacity: 0; animation: sc-spin .7s linear infinite; }
.is-press .pay-btn { transform: scale(.94); }
.is-paying .pay-btn { transform: none; }
.is-paying .pb-label { opacity: 0; }
.is-paying .pb-spin { opacity: 1; }
.pay-ok { position: absolute; inset: 0; display: flex; flex-direction: column; align-items: center; justify-content: center; gap: .35em; background: #FFFFFF; opacity: 0; transition: opacity .3s ease; }
.pay-ok svg { width: 3.6em; height: 3.6em; margin-bottom: .2em; fill: none; stroke: #1FB04A; stroke-width: 3.2; stroke-linecap: round; stroke-linejoin: round; }
.pay-ok circle, .pay-ok path { stroke-dasharray: 1; stroke-dashoffset: 1; }
.pay-ok circle { transition: stroke-dashoffset .6s ease .1s; }
.pay-ok path { transition: stroke-dashoffset .35s ease .6s; }
.pay-ok b { font-size: .78em; font-weight: 700; }
.pay-ok small { font-size: .56em; color: #6E6E73; }
.is-paid .pay-ok { opacity: 1; }
.is-paid .pay-ok circle, .is-paid .pay-ok path { stroke-dashoffset: 0; }
.lt {
  left: 50%; top: .6em; z-index: 5; width: 20em; margin-left: -9em; display: grid; grid-template-columns: auto minmax(0, 1fr) auto; align-items: center; gap: .7em;
  padding: .65em .85em .65em .65em; border-radius: 1.25em;
  opacity: 0; transform: translateY(-5em) scale(.96);
  transition: transform .75s cubic-bezier(.2, .9, .25, 1.06), opacity .4s ease;
}
.is-toast .lt { opacity: 1; transform: none; }
.lt b { display: block; font-size: .78em; font-weight: 640; }
.lt small { display: block; font-size: .64em; color: rgba(255, 255, 255, .62); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.lt time { align-self: start; font-size: .6em; color: rgba(255, 255, 255, .5); }

@media (prefers-reduced-motion: reduce) {
  .scene *, .scene *::before, .scene *::after { animation: none !important; transition: none !important; }
}

/* =====================================================================
   Bespoke code (automation page) and bespoke web tools (websites page)
   ===================================================================== */
.section.dusk .ticks li { color: rgba(255, 255, 255, .74); }
.section.dusk .ticks li b { color: #FFFFFF; font-weight: 620; }
.section.dusk .ticks li::before { background-color: rgba(255, 255, 255, .2); }

.bespoke-grid { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.08fr); gap: clamp(40px, 6vw, 88px); align-items: center; }
@media (max-width: 980px) { .bespoke-grid { grid-template-columns: minmax(0, 1fr); } }
.bespoke h2 { margin-top: 14px; max-width: 13ch; font-size: clamp(2.4rem, 4.6vw, 3.8rem); line-height: 1.02; color: #FFFFFF; }
.bespoke .lead { margin-top: 20px; max-width: 44ch; }
.bespoke .ticks { margin-top: 30px; gap: 14px; }
.bespoke-price { margin-top: 28px; color: rgba(255, 255, 255, .72); }
.bespoke-price b { color: #FFFFFF; font-weight: 640; }
.bespoke .actions { margin-top: 22px; }

.code-card {
  margin: 0; overflow: hidden; border-radius: 22px; min-width: 0;
  background: linear-gradient(180deg, #18181B, #0D0D0F);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, .12), inset 0 0 0 1px rgba(255, 255, 255, .07), 0 50px 90px -40px rgba(0, 0, 0, .9);
}
.code-top { display: flex; align-items: center; gap: 12px; padding: 14px 18px; border-bottom: 1px solid rgba(255, 255, 255, .07); font-size: .8125rem; color: rgba(255, 255, 255, .5); }
.code-dots { display: inline-flex; gap: 6px; }
.code-dots i { width: 10px; height: 10px; border-radius: 50%; background: rgba(255, 255, 255, .16); }
.code-file { color: #FFFFFF; font-weight: 560; }
.code-when { margin-left: auto; white-space: nowrap; }
.code, .code-log { font-family: ui-monospace, "SF Mono", SFMono-Regular, Menlo, Consolas, "Liberation Mono", monospace; }
.code { margin: 0; padding: 18px 0; overflow-x: auto; font-size: clamp(.72rem, 1.02vw, .8125rem); line-height: 1.75; color: #E5E5EA; counter-reset: ln; scrollbar-width: thin; }
.code code { display: grid; min-width: max-content; font: inherit; }
.code .ln { display: block; padding-right: 24px; white-space: pre; counter-increment: ln; }
.code .ln::before { content: counter(ln); display: inline-block; width: 2.4em; margin-right: 1.4em; text-align: right; color: rgba(255, 255, 255, .22); -webkit-user-select: none; user-select: none; }
.code .c { color: #7F8C98; }
.code .k { color: #FF7AB2; }
.code .s { color: #FF8170; }
.code .n { color: #D9C97C; }
.code .f { color: #78C2B3; }
.code-log { padding: 14px 22px 18px; border-top: 1px solid rgba(255, 255, 255, .07); background: rgba(255, 255, 255, .025); font-size: .8125rem; line-height: 1.8; color: rgba(255, 255, 255, .74); }
.code-log p { margin: 0; display: flex; gap: 16px; }
.code-log time { color: rgba(255, 255, 255, .34); font-variant-numeric: tabular-nums; }
.code-log .ok { color: #30D158; }
.code-log .ok::after { content: " ✓"; white-space: pre; }
.js-motion .code-log p[data-reveal] { transform: none; translate: 0 6px; filter: none; transition-delay: calc(var(--step, 0) * 420ms + 300ms); }

.bespoke-notes { margin-top: clamp(56px, 7vw, 88px); padding-top: 32px; border-top: 1px solid rgba(255, 255, 255, .1); display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 24px; }
@media (max-width: 760px) { .bespoke-notes { grid-template-columns: minmax(0, 1fr); } }
.bespoke-notes h3 { font-size: 1.125rem; color: #FFFFFF; }
.bespoke-notes p { margin-top: 6px; color: rgba(255, 255, 255, .64); font-size: 1rem; }

.package-note { margin-top: 20px; padding: 18px 24px; border-radius: var(--r-m); background: var(--surface); color: var(--ink-2); font-size: 1rem; }
.package-note b { color: var(--ink); font-weight: 640; }
.package-note a { color: var(--ink); font-weight: 600; }

.webtools .panel-head h2 { color: #FFFFFF; }
.tool-cards { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 16px; }
@media (max-width: 980px) { .tool-cards { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 600px) { .tool-cards { grid-template-columns: minmax(0, 1fr); } }
.tool-card {
  display: grid; gap: 10px; align-content: start; padding: 28px 26px 30px; border-radius: var(--r-l);
  background: linear-gradient(180deg, rgba(255, 255, 255, .07), rgba(255, 255, 255, .025));
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, .12), inset 0 0 0 1px rgba(255, 255, 255, .06);
  transition: background-color .3s ease, box-shadow .3s ease;
}
.tool-card:hover { box-shadow: inset 0 1px 0 rgba(255, 255, 255, .18), inset 0 0 0 1px rgba(255, 255, 255, .12); }
.tool-card h3 { margin-top: 10px; font-size: 1.25rem; color: #FFFFFF; }
.tool-card p { color: rgba(255, 255, 255, .64); font-size: 1rem; }
.tc-ic { display: grid; place-items: center; width: 44px; height: 44px; border-radius: 13px; color: #FFFFFF; background: linear-gradient(160deg, #4A4A50, #1C1C1F); box-shadow: inset 0 1px 0 rgba(255, 255, 255, .25); }
.tc-ic svg { width: 22px; height: 22px; fill: none; stroke: currentColor; stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; }
.webtools-foot { margin-top: 36px; color: rgba(255, 255, 255, .66); max-width: 70ch; }
.webtools-foot a { color: #FFFFFF; font-weight: 600; }
.js-motion .code-log p[data-reveal].is-in { translate: none; }
.code-log .ok::after { margin-left: -10px; }
@media (max-width: 700px) {
  .code { overflow-x: visible; }
  .code code { min-width: 0; }
  .code .ln { white-space: pre-wrap; overflow-wrap: anywhere; padding-left: 3.4em; text-indent: -3.4em; padding-right: 16px; }
  .code .ln::before { width: 2.2em; margin-right: 1.2em; text-indent: 0; }
}

/* =====================================================================
   Hover, press and focus: always clear what you're pointing at,
   tapping or tabbing to. Subtle, quick, and calm under reduced motion.
   ===================================================================== */
a, button, summary, [role="button"] { -webkit-tap-highlight-color: transparent; }

/* Main menu (wide screens): one soft pill slides to whichever link you're on. */
@media (min-width: 961px) { .nav { position: relative; } .nav > a { position: relative; z-index: 1; } }
.nav-glow {
  position: absolute; z-index: 0; top: 0; left: 0; width: 0; height: 0; border-radius: 999px; pointer-events: none;
  background: color-mix(in srgb, currentColor 11%, transparent);
  box-shadow: inset 0 0 0 1px color-mix(in srgb, currentColor 10%, transparent), 0 6px 16px -10px rgba(0, 0, 0, .35);
  opacity: 0; transition: opacity .2s ease, translate .38s cubic-bezier(.3, 1.25, .45, 1), width .38s cubic-bezier(.3, 1.25, .45, 1), height .2s ease;
}
.nav-glow.is-on { opacity: 1; }
.nav-glow.no-slide { transition: opacity .2s ease; }
@media (min-width: 961px) { .nav.has-glow > a:not(.btn):hover { background: transparent; } }
.nav > a:not(.btn) { transition: opacity .15s ease, background-color .15s ease, color .15s ease; }
.nav > a:not(.btn):hover, .nav > a:not(.btn):focus-visible { opacity: 1; }
@media (min-width: 961px) { .nav > a:not(.btn):active { opacity: .7; } }
.nav > a[aria-current="page"] { font-weight: 620; }
@media (max-width: 960px) { .nav-glow { display: none; } }

/* Main menu (phones): each row lights up as you press it, with an arrow that slides in. */
@media (max-width: 960px) {
  .nav a:not(.btn) { display: flex; align-items: center; gap: 10px; transition: background-color .15s ease, transform .15s ease; }
  .nav a:not(.btn)::after { content: "›"; margin-left: auto; font-size: 1.35em; line-height: 1; opacity: .3; transform: translateX(-4px); transition: opacity .2s ease, transform .2s ease; }
  .nav a:not(.btn):hover::after, .nav a:not(.btn):focus-visible::after, .nav a:not(.btn):active::after, .nav a[aria-current="page"]::after { opacity: 1; transform: none; }
  .nav a:not(.btn):active { background: color-mix(in srgb, var(--ink) 13%, transparent); transform: scale(.985); }
  .nav a[aria-current="page"]::before { content: ""; width: 7px; height: 7px; border-radius: 50%; background: currentColor; flex: none; }
  .nav .btn:active { transform: scale(.97); }
}
@media (max-width: 960px) and (prefers-reduced-motion: no-preference) {
  .nav.is-open > a { animation: menu-item-in .32s cubic-bezier(.2, .8, .2, 1) both; }
  .nav.is-open > a:nth-child(2) { animation-delay: .03s; }
  .nav.is-open > a:nth-child(3) { animation-delay: .06s; }
  .nav.is-open > a:nth-child(4) { animation-delay: .09s; }
  .nav.is-open > a:nth-child(5) { animation-delay: .12s; }
  .nav.is-open > a:nth-child(6) { animation-delay: .15s; }
}
@keyframes menu-item-in { from { opacity: 0; transform: translateY(-6px); } }

/* Buttons: lift on hover, press in on tap, a clear ring from the keyboard. */
.btn:focus-visible { outline: 2px solid var(--ink); outline-offset: 3px; }
.btn--light:focus-visible, .btn--glass:focus-visible, .site-header.on-dark .btn:focus-visible { outline-color: #FFFFFF; }
.btn--ghost:hover { transform: translateY(-1px); }
.btn--primary:hover { background: color-mix(in srgb, var(--ink) 84%, var(--bg)); }
.nav .btn:hover { transform: translateY(-1px); box-shadow: 0 10px 22px -10px rgba(0, 0, 0, .55); }
.btn--light:hover { background: #F2F2F4; }
.btn:active, .btn--primary:active, .btn--light:active, .btn--glass:active, .btn--ghost:active { transform: scale(.97); filter: none; box-shadow: none; }

/* Text links with an arrow: the underline draws in from the left. */
.more, .textlink { text-decoration: none !important; background: linear-gradient(currentColor, currentColor) no-repeat 0 100% / 0 1.5px; padding-bottom: 2px; transition: background-size .25s ease, opacity .15s ease; }
.more:hover, .textlink:hover, .more:focus-visible, .textlink:focus-visible { background-size: calc(100% - 1em) 1.5px; }
.more:active, .textlink:active { opacity: .65; }

/* Service cards: the whole card opens its page (site.js marks the ones that can). */
.tile.is-link { cursor: pointer; transition: box-shadow .3s ease, translate .3s cubic-bezier(.2, .8, .2, 1); }
.tile.is-link:hover { box-shadow: 0 34px 70px -40px rgba(10, 12, 24, .55), 0 0 0 1px color-mix(in srgb, var(--ink) 8%, transparent); translate: 0 -3px; }
.tile.is-link:hover .more { background-size: calc(100% - 1em) 1.5px; }
.tile.is-link:hover .more::after { transform: translate(3px, -1px); }
.tile.is-link:active { translate: 0 0; scale: .995; }
.tile.is-link:has(.more:focus-visible) { box-shadow: 0 0 0 3px var(--bg), 0 0 0 5px var(--ink); }

/* Guide cards */
.guidelist a:active { transform: scale(.99); }
.guidelist a:focus-visible { outline: 2px solid var(--ink); outline-offset: 3px; }
.guidelist a:hover .go { transform: translateX(3px); }
.guidelist .go { transition: transform .2s ease; }

/* Questions: the row and its chevron answer the pointer. */
.faq summary { transition: color .15s ease, padding-left .2s ease; border-radius: 12px; }
.faq summary:hover { color: var(--ink); }
.faq summary:hover::after { border-color: var(--ink); }
.faq details:not([open]) summary:hover::after { transform: rotate(45deg) translate(2px, 2px); }
.faq summary:focus-visible { outline: 2px solid var(--ink); outline-offset: 4px; }
.faq summary:active { opacity: .7; }

/* Price list: the row you're on is picked out. */
.pricelist tbody tr:not(.group) { transition: background-color .15s ease; }
.pricelist tbody tr:not(.group):hover { background: color-mix(in srgb, var(--ink) 4%, transparent); }
.pricelist tbody th a { background: linear-gradient(currentColor, currentColor) no-repeat 0 100% / 0 1.5px; transition: background-size .25s ease; }
.pricelist tbody th a:hover { text-decoration: none; background-size: 100% 1.5px; }

/* Footer, breadcrumbs and contents links */
.foot-col a, .foot-links a, .crumbs a, .toc a { transition: color .15s ease; }
.foot-col a:hover, .foot-links a:hover, .crumbs a:hover, .toc a:hover { text-decoration-thickness: 1.5px; text-underline-offset: .22em; }
.foot-col a:active, .foot-links a:active, .crumbs a:active, .toc a:active { opacity: .65; }

/* Clients: logos of businesses already working with us, drawn in the site's own colour.
   Each logo is a mask (assets/clients/*.png), so it follows light and dark mode by itself. */
.clients { padding-block: clamp(44px, 6vw, 72px) 0; }
.clients-title { margin: 0 0 clamp(24px, 3.4vw, 40px); text-align: center; font-size: .9375rem; font-weight: 500; letter-spacing: -.005em; line-height: 1.4; color: var(--ink-3); }
.clients-row { list-style: none; margin: 0; padding: 0; display: flex; flex-wrap: wrap; justify-content: center; align-items: center; gap: 28px clamp(40px, 7vw, 104px); }
.client { display: flex; align-items: center; justify-content: center; }
.client-logo {
  --k: 1;
  display: block; height: calc(var(--h) * var(--k)); aspect-ratio: var(--ar);
  background-color: color-mix(in srgb, var(--ink) 58%, var(--bg));
  -webkit-mask-position: center; mask-position: center;
  -webkit-mask-size: contain; mask-size: contain;
  -webkit-mask-repeat: no-repeat; mask-repeat: no-repeat;
  transition: background-color .3s ease, scale .4s cubic-bezier(.3, 1.25, .45, 1);
}
.client:hover .client-logo { background-color: var(--ink); scale: 1.05; }
.client:active .client-logo { background-color: var(--ink); }
:root[data-theme="dark"] .client-logo { background-color: color-mix(in srgb, var(--ink) 68%, var(--bg)); }
@media (prefers-color-scheme: dark) { :root:not([data-theme="light"]) .client-logo { background-color: color-mix(in srgb, var(--ink) 68%, var(--bg)); } }
:root[data-theme="dark"] .client:is(:hover, :active) .client-logo { background-color: var(--ink); }
@media (prefers-color-scheme: dark) { :root:not([data-theme="light"]) .client:is(:hover, :active) .client-logo { background-color: var(--ink); } }
.client-logo--drd { --ar: 388 / 180; --h: 50px; -webkit-mask-image: url("clients/drd.png"); mask-image: url("clients/drd.png"); }
.client-logo--tdc { --ar: 239 / 180; --h: 54px; -webkit-mask-image: url("clients/tdc.png"); mask-image: url("clients/tdc.png"); }
.client-logo--apex { --ar: 639 / 180; --h: 44px; -webkit-mask-image: url("clients/apex.png"); mask-image: url("clients/apex.png"); }
.client-logo--armoury { --ar: 320 / 123; --h: 62px; -webkit-mask-image: url("clients/armoury.png"); mask-image: url("clients/armoury.png"); }
@media (max-width: 640px) {
  .clients-row { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 30px 20px; }
  .client-logo { --k: .8; max-width: 100%; }
}
@media (prefers-reduced-motion: reduce) { .client-logo { transition: background-color .3s ease; } .client:hover .client-logo { scale: none; } }

/* Moving version (site.js adds .is-moving; anyone who prefers less motion keeps the still row above).
   The row runs edge to edge and fades out at both sides. Each logo has --f, 0 at the edges and 1 in the
   middle, so logos light up and grow as they glide through the centre. Hover slows it to a stop. */
.clients-marquee.is-moving {
  --mg: clamp(56px, 8vw, 116px);
  max-width: none; padding: 14px 0; overflow: hidden;
  cursor: grab; touch-action: pan-y; -webkit-user-select: none; user-select: none;
  -webkit-mask-image: linear-gradient(90deg, transparent, #000 16%, #000 84%, transparent);
  mask-image: linear-gradient(90deg, transparent, #000 16%, #000 84%, transparent);
}
.clients-marquee.is-dragging { cursor: grabbing; }
.clients-track { display: flex; width: max-content; will-change: transform; }
.clients-marquee.is-moving .clients-row { display: flex; flex: none; flex-wrap: nowrap; justify-content: flex-start; gap: var(--mg); padding-right: var(--mg); }
.clients-marquee.is-moving .client .client-logo,
.clients-marquee.is-moving .client:hover .client-logo {
  background-color: var(--ink); max-width: none; transition: none;
  opacity: calc(.3 + var(--f, 0) * .7); scale: calc(.84 + var(--f, 0) * .2);
}
@media (max-width: 640px) {
  .clients-marquee.is-moving { --mg: 52px; -webkit-mask-image: linear-gradient(90deg, transparent, #000 12%, #000 88%, transparent); mask-image: linear-gradient(90deg, transparent, #000 12%, #000 88%, transparent); }
}
/* Pause button for keyboard users: hidden until it's tabbed to (hovering or touching also pauses). */
.clients-pause-wrap { display: flex; justify-content: center; margin: 0; height: 0; }
.clients-pause { position: absolute; opacity: 0; pointer-events: none; padding: 8px 16px; border: 0; border-radius: 999px; background: var(--ink); color: var(--bg); font: inherit; font-size: .875rem; font-weight: 560; cursor: pointer; }
.clients-pause:focus-visible { opacity: 1; pointer-events: auto; outline: 2px solid var(--ink); outline-offset: 3px; }

/* =====================================================================
   v22 (Nov 2026): improvement plan
   One accent colour, used only for things you can click (buttons and links).
   Everything else stays in the black-and-white palette (v23, 17 Nov: Luke felt
   the light blue sections didn't suit the style, so the "tints" are now greys).
   Also: services menu; site search; new page parts.
   ===================================================================== */
:root {
  --acc: #2160E0;                    /* the accent: main buttons, links, icons */
  --acc-hover: #1A50C2;
  --acc-text: #2160E0;               /* accent text on the page background (5.5:1) */
  --acc-on: #FFFFFF;                 /* text on an accent fill */
  --acc-tint: #F5F5F7;               /* related sections: the site's own soft grey */
  --acc-tint-2: rgba(0, 0, 0, .05);  /* icon squares, chips and hover fills: neutral */
  --acc-line: rgba(0, 0, 0, .14);
  --todo: #B45309;
}
@media (prefers-color-scheme: dark) {
  :root:not([data-theme="light"]) {
    --acc: #2563EB; --acc-hover: #3B73F0; --acc-text: #6EA8FF; --acc-on: #FFFFFF;
    --acc-tint: #0E0E10; --acc-tint-2: rgba(255, 255, 255, .08); --acc-line: rgba(255, 255, 255, .2); --todo: #F59E0B;
  }
}
:root[data-theme="dark"] {
  --acc: #2563EB; --acc-hover: #3B73F0; --acc-text: #6EA8FF; --acc-on: #FFFFFF;
  --acc-tint: #0E0E10; --acc-tint-2: rgba(255, 255, 255, .08); --acc-line: rgba(255, 255, 255, .2); --todo: #F59E0B;
}

/* ---------- The main call to action: same words, colour and shape everywhere ---------- */
.btn--cta, .btn--primary { background: var(--acc); color: var(--acc-on); }
.btn--cta:hover, .btn--primary:hover { background: var(--acc-hover); box-shadow: 0 10px 24px -12px rgba(33, 96, 224, .7); transform: translateY(-1px); }
.btn--cta:focus-visible, .btn--primary:focus-visible { outline: 2px solid var(--acc-text); outline-offset: 3px; }
.dusk .btn--cta:focus-visible { outline-color: #FFFFFF; }
.nav .btn.btn--cta, .site-header.on-dark .nav .btn.btn--cta,
:root[data-theme="dark"] .nav .btn.btn--cta { background: var(--acc); color: var(--acc-on); }
@media (prefers-color-scheme: dark) { :root:not([data-theme="light"]) .nav .btn.btn--cta { background: var(--acc); color: var(--acc-on); } }
@media (max-width: 960px) {
  .nav .btn.btn--cta, :root[data-theme="dark"] .nav .btn.btn--cta, .site-header.on-dark .nav .btn.btn--cta { background: var(--acc); color: var(--acc-on); }
}
@media (max-width: 960px) and (prefers-color-scheme: dark) { :root:not([data-theme="light"]) .nav .btn.btn--cta { background: var(--acc); color: var(--acc-on); } }
.nav .btn.btn--cta[aria-current="page"] { box-shadow: inset 0 0 0 2px rgba(255, 255, 255, .45); }

/* Links pick up the accent (blue means "you can click this") */
.more, .textlink { color: var(--acc-text); }
.prose a, .faq-more a, .source a, .fineprint a, .sources a, .work-body a, .contact-side a:not(.btn) { color: var(--acc-text); }
.dusk .more, .dusk .textlink { color: #FFFFFF; }

/* A standalone icon in a soft grey square */
.ic { width: 46px; height: 46px; border-radius: 13px; display: inline-grid; place-items: center; flex: none;
  background: var(--acc-tint-2); color: var(--ink); }
.ic svg { width: 23px; height: 23px; }
.tile .ic { margin-bottom: 4px; }

/* Tinted band: groups related sections without a hard break */
.section--tint { background: var(--acc-tint); }
.section--tint .tile, .section--tint .icard, .section--tint .steps li, .section--tint .quote-card,
.section--tint .package, .section--tint .work-card, .section--tint .flow { background: var(--surface); }

/* ---------- Services menu (desktop dropdown; on phones, a list under a heading) ---------- */
.nav-dd { position: relative; }
.nav-dd-btn {
  display: inline-flex; align-items: center; gap: 4px; border: 0; cursor: pointer; background: transparent; color: inherit;
  font: 500 .9375rem/1.2 var(--font); padding: 8px 10px 8px 13px; border-radius: 999px; opacity: .86;
  position: relative; z-index: 1; transition: opacity .15s ease;
}
.nav-dd-btn:hover, .nav-dd-btn[aria-expanded="true"] { opacity: 1; }
.nav-dd.is-current .nav-dd-btn { opacity: 1; font-weight: 620; }
.dd-chev svg { width: 15px; height: 15px; transition: transform .2s ease; }
.nav-dd-btn[aria-expanded="true"] .dd-chev svg { transform: rotate(180deg); }
.nav-dd-label { display: none; }
.nav-dd-menu {
  position: absolute; left: 50%; top: calc(100% + 14px); translate: -50% 0; width: 360px; z-index: 5;
  display: none; padding: 8px; border-radius: 22px; background: var(--surface); color: var(--ink);
  border: 1px solid color-mix(in srgb, var(--ink) 9%, transparent);
  box-shadow: 0 28px 60px -24px rgba(0, 0, 0, .45), 0 2px 8px -4px rgba(0, 0, 0, .18);
}
.nav-dd-menu::before { content: ""; position: absolute; left: 0; right: 0; top: -16px; height: 16px; } /* keeps hover alive across the gap */
.nav-dd.is-open .nav-dd-menu { display: grid; gap: 2px; }
@media (prefers-reduced-motion: no-preference) { .nav-dd.is-open .nav-dd-menu { animation: menu-in .2s cubic-bezier(.2, .8, .2, 1); } }
.nav .nav-dd-menu a {
  display: grid !important; grid-template-columns: auto minmax(0, 1fr); gap: 14px; align-items: center;
  padding: 12px 14px !important; border-radius: 15px !important; color: var(--ink) !important; opacity: 1 !important; text-decoration: none;
}
.nav .nav-dd-menu a::before, .nav .nav-dd-menu a::after { content: none !important; }
.nav .nav-dd-menu a:hover, .nav .nav-dd-menu a:focus-visible { background: var(--acc-tint-2) !important; }
.nav .nav-dd-menu a[aria-current="page"] { background: color-mix(in srgb, var(--ink) 6%, transparent) !important; }
.nav-dd-menu b { display: block; font-size: .9375rem; font-weight: 600; letter-spacing: -.01em; }
.nav-dd-menu small { display: block; font-size: .8125rem; color: var(--ink-2); margin-top: 2px; }
.dd-ic { width: 40px; height: 40px; border-radius: 12px; display: grid; place-items: center; background: var(--acc-tint-2); color: var(--ink); }
.dd-ic svg { width: 21px; height: 21px; }
@media (min-width: 961px) and (max-width: 1100px) {
  .nav > a:not(.btn), .nav-dd-btn { padding-left: 9px; padding-right: 9px; }
  .nav .btn.btn--cta { margin-left: 4px; padding: 0 15px; }
}
@media (max-width: 960px) {
  .nav-dd-btn { display: none; }
  .nav-dd-label { display: block; padding: 14px 16px 4px; font-size: .8125rem; font-weight: 600; text-transform: uppercase; letter-spacing: .06em; color: var(--ink-3); }
  .nav-dd-menu { position: static; display: grid; gap: 2px; width: auto; translate: none; padding: 0; border: 0; box-shadow: none; background: transparent; animation: none !important; }
  .nav-dd-menu::before { content: none; }
  .nav .nav-dd-menu a { padding: 10px 14px !important; }
  .dd-ic { width: 36px; height: 36px; }
}

/* ---------- Site search ---------- */
.nav-search {
  display: inline-grid; place-items: center; width: 40px; height: 40px; flex: none; border: 0; border-radius: 999px; cursor: pointer;
  background: rgba(127, 127, 127, .14); color: inherit; margin-left: 2px;
}
.nav-search[hidden] { display: none; }
.nav-search:hover { background: rgba(127, 127, 127, .22); }
.nav-search:focus-visible { outline: 2px solid currentColor; outline-offset: 2px; }
.ns-ic svg { width: 19px; height: 19px; display: block; }
.ns-text { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
@media (max-width: 960px) { .nav-pill { gap: 8px; } .brand { margin-right: auto; } }

.search-dialog {
  width: min(680px, calc(100vw - 24px)); max-height: min(78vh, 680px); margin: 10vh auto auto; padding: 0;
  border: 1px solid color-mix(in srgb, var(--ink) 10%, transparent); border-radius: 24px;
  background: var(--surface); color: var(--ink); overflow: hidden;
  box-shadow: 0 40px 90px -30px rgba(0, 0, 0, .55);
}
.search-dialog[open] { display: grid; grid-template-rows: auto minmax(0, 1fr) auto; }
.search-dialog::backdrop { background: rgba(0, 0, 0, .42); }
@media (prefers-reduced-motion: no-preference) { .search-dialog[open] { animation: menu-in .2s cubic-bezier(.2, .8, .2, 1); } }
.search-top { display: flex; align-items: center; gap: 10px; padding: 14px 14px 14px 20px; border-bottom: 1px solid var(--line); }
.search-top .ns-ic { color: var(--ink-3); }
.search-input { flex: 1; min-width: 0; border: 0; outline: 0; background: transparent; color: var(--ink); font: 450 1.1875rem/1.3 var(--font); padding: 8px 0; }
.search-input::placeholder { color: var(--ink-3); }
.search-input::-webkit-search-cancel-button { display: none; }
.search-close { border: 0; background: var(--bg-2); color: var(--ink-2); border-radius: 10px; font: 560 .8125rem/1 var(--font); padding: 8px 10px; cursor: pointer; }
.search-results { list-style: none; overflow-y: auto; padding: 8px; display: grid; gap: 2px; align-content: start; }
.search-results a { display: grid; gap: 3px; padding: 12px 14px; border-radius: 14px; color: inherit; text-decoration: none; }
.search-results a:hover, .search-results a:focus-visible, .search-results a.is-active { background: var(--acc-tint-2); outline: none; }
.search-results .sr-kind { font-size: .75rem; font-weight: 600; text-transform: uppercase; letter-spacing: .06em; color: var(--ink-3); }
.search-results .sr-title { font-weight: 600; letter-spacing: -.01em; }
.search-results .sr-snip { font-size: .875rem; color: var(--ink-2); line-height: 1.45; }
.search-results mark { background: color-mix(in srgb, var(--ink) 12%, transparent); color: inherit; border-radius: 3px; padding: 0 1px; }
.search-empty { padding: 22px 20px; color: var(--ink-2); }
.search-empty a { color: var(--acc-text); }
.search-foot { padding: 10px 20px; border-top: 1px solid var(--line); font-size: .8125rem; color: var(--ink-3); display: flex; gap: 16px; flex-wrap: wrap; }
.search-foot kbd { font: 560 .75rem/1 var(--font); border: 1px solid var(--line-2); border-radius: 5px; padding: 2px 5px; }

/* ---------- Home: introduction ---------- */
.intro-grid { display: grid; grid-template-columns: minmax(0, 1.15fr) minmax(0, .85fr); gap: clamp(32px, 6vw, 88px); align-items: center; }
@media (max-width: 880px) { .intro-grid { grid-template-columns: minmax(0, 1fr); } }
.ticks.problems { margin-top: 6px; }
.ticks.problems li { color: var(--ink); }
.stat-card { margin: 0; padding: clamp(28px, 4vw, 48px); border-radius: var(--r-l); background: var(--acc-tint); display: grid; gap: 14px; }
.stat-card .big-stat { font-size: clamp(3rem, 7vw, 5.6rem); }
.stat-card .stat-text { color: var(--ink-2); font-size: 1.0625rem; line-height: 1.55; }
.stat-card .source { margin-top: 4px; }
.bento--3 { grid-template-columns: repeat(3, minmax(0, 1fr)); }
@media (max-width: 980px) { .bento--3 { grid-template-columns: minmax(0, 1fr); } }
.bento--3 .tile { min-height: 520px; }
.bento--3 .tile h3 { font-size: clamp(1.45rem, 2vw, 1.85rem); }
@media (max-width: 980px) { .bento--3 .tile { min-height: 0; } }

/* ---------- Cards with an icon: benefits, reasons, capabilities, problems ---------- */
.icards { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 280px), 1fr)); gap: 16px; }
.icards--3 { grid-template-columns: repeat(auto-fit, minmax(min(100%, 300px), 1fr)); }
@media (min-width: 1000px) { .icards--3 { grid-template-columns: repeat(3, minmax(0, 1fr)); } }
.icard { background: var(--bg-2); border-radius: var(--r-m); padding: 26px; display: grid; gap: 10px; align-content: start; min-width: 0; }
.section--alt .icard, .band .icard { background: var(--surface); }
.icard h3 { font-size: 1.1875rem; margin-top: 6px; }
.icard p { color: var(--ink-2); font-size: .9375rem; line-height: 1.55; }
.icard .tools { font-size: .8125rem; color: var(--ink-3); border-top: 1px solid var(--line); padding-top: 10px; margin-top: 4px; }
.icard .textlink { margin-top: 4px; }

/* Problem → what changes */
.fixes { list-style: none; display: grid; gap: 12px; }
.fixes li { display: grid; grid-template-columns: minmax(0, 1fr) auto minmax(0, 1fr); gap: 18px; align-items: center; background: var(--bg-2); border-radius: var(--r-m); padding: 18px 22px; }
.section--alt .fixes li, .band .fixes li, .section--tint .fixes li { background: var(--surface); }
.fixes .was { color: var(--ink-2); display: flex; gap: 10px; align-items: flex-start; }
.fixes .now { color: var(--ink); font-weight: 560; display: flex; gap: 10px; align-items: flex-start; }
.fixes .was::before, .fixes .now::before { content: ""; width: 20px; height: 20px; flex: none; margin-top: 1px; border-radius: 50%; background-position: center; background-repeat: no-repeat; background-size: 12px; }
.fixes .was::before { background-color: color-mix(in srgb, var(--ink) 8%, transparent); background-image: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 12 12'><path d='M3 3l6 6M9 3 3 9' stroke='%238A8A90' stroke-width='1.6' stroke-linecap='round'/></svg>"); }
.fixes .now::before { background-color: var(--done); background-image: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 12 12'><path d='M2.6 6.3 5 8.6l4.4-5' fill='none' stroke='white' stroke-width='1.7' stroke-linecap='round' stroke-linejoin='round'/></svg>"); }
.fixes .to { color: var(--ink-3); }
.fixes .to svg { width: 20px; height: 20px; display: block; }
.fixes-head { display: grid; grid-template-columns: minmax(0, 1fr) auto minmax(0, 1fr); gap: 18px; padding: 0 22px 4px; font-size: .8125rem; font-weight: 600; text-transform: uppercase; letter-spacing: .06em; color: var(--ink-3); }
.fixes-head span:nth-child(2) { width: 20px; }
@media (max-width: 680px) {
  .fixes li { grid-template-columns: minmax(0, 1fr); gap: 8px; }
  .fixes .to, .fixes-head { display: none; }
}

/* ---------- Numbered steps, joined by the scroll progress line (motion.js) ---------- */
.steps--joined > li::before, .steps--joined > li.is-on::before { content: counter(step); width: 44px; height: 44px; border-radius: 50%; display: grid; place-items: center;
  font-size: 1.125rem; font-weight: 640; letter-spacing: 0; color: var(--bg); background: var(--ink); margin-bottom: 8px; }

/* ---------- Our work ---------- */
.work-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 340px), 1fr)); gap: 20px; }
.work-grid--page { grid-template-columns: repeat(auto-fit, minmax(min(100%, 420px), 1fr)); }
.work-card { background: var(--bg-2); border-radius: var(--r-l); overflow: hidden; display: grid; grid-template-rows: auto 1fr; min-width: 0; }
.band .work-card, .section--alt .work-card { background: var(--surface); }
.work-card.is-draft { outline: 2px dashed color-mix(in srgb, var(--todo) 55%, transparent); outline-offset: -2px; }
.work-media { aspect-ratio: 16 / 10; background: var(--acc-tint); display: grid; place-items: center; overflow: hidden; }
.work-media img { width: 100%; height: 100%; object-fit: cover; object-position: top center; display: block; }
.work-media--logo .client-logo { width: 62%; height: 46%; background-color: var(--ink); opacity: .82; }
.work-body { padding: 26px 28px 30px; display: grid; gap: 12px; align-content: start; }
.work-kind { font-size: .8125rem; font-weight: 600; text-transform: uppercase; letter-spacing: .06em; color: var(--ink-3); }
.work-body h2, .work-body h3 { font-size: clamp(1.4rem, 2.2vw, 1.75rem); letter-spacing: -.03em; }
.work-tags { list-style: none; display: flex; flex-wrap: wrap; gap: 6px; }
.work-tags a { display: inline-block; font-size: .8125rem; font-weight: 560; padding: 5px 11px; border-radius: 999px; background: var(--acc-tint-2); color: var(--ink); text-decoration: none; }
.work-tags a:hover { text-decoration: underline; }
.work-facts { display: grid; gap: 14px; margin: 6px 0 0; }
.work-facts dt { font-size: .8125rem; font-weight: 620; color: var(--ink); margin-bottom: 4px; }
.work-facts dd { margin: 0; color: var(--ink-2); font-size: .9375rem; line-height: 1.55; }
.work-facts ul { padding-left: 1.15em; display: grid; gap: 4px; }
.work-quote { margin: 4px 0 0; padding: 16px 18px; border-left: 3px solid var(--ink); background: var(--acc-tint-2); border-radius: 0 12px 12px 0; }
.work-quote footer { font-size: .875rem; color: var(--ink-2); margin-top: 8px; }
.work-also { margin-top: clamp(48px, 6vw, 80px); display: grid; gap: 18px; justify-items: start; }
.work-also h2 { font-size: 1.25rem; }
.work-logos { list-style: none; display: flex; flex-wrap: wrap; gap: 28px 40px; align-items: center; }
.work-logos .client-logo { display: block; width: 140px; height: 56px; }

/* Notes that only show in the local preview */
.todo { font-size: .875rem; line-height: 1.5; color: var(--todo); background: color-mix(in srgb, var(--todo) 10%, transparent);
  border: 1px dashed color-mix(in srgb, var(--todo) 55%, transparent); border-radius: 10px; padding: 8px 12px; margin-top: 6px; }
.todo b { font-weight: 640; }

/* ---------- Testimonials ---------- */
.quotes { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 320px), 1fr)); gap: 16px; }
.quote-card { margin: 0; background: var(--surface); border-radius: var(--r-l); padding: 30px; display: grid; gap: 16px; align-content: start; }
.quote-card blockquote { margin: 0; font-size: 1.1875rem; line-height: 1.5; letter-spacing: -.01em; }
.quote-card figcaption { display: grid; gap: 2px; font-size: .9375rem; }
.quote-card figcaption span { color: var(--ink-2); }
.q-stars { color: #E8A317; }
.q-stars svg { width: 22px; height: 22px; fill: currentColor; }
.quote-card--todo { background: transparent; padding: 0; }

/* ---------- FAQs page ---------- */
.faq-cats { position: sticky; top: calc(var(--nav-space) + 4px); z-index: 4; margin-bottom: 40px; }
.faq-cats ul { list-style: none; display: inline-flex; flex-wrap: wrap; gap: 6px; padding: 6px; border-radius: 999px; background: color-mix(in srgb, var(--bg) 88%, transparent);
  -webkit-backdrop-filter: blur(12px); backdrop-filter: blur(12px); border: 1px solid var(--line); }
.faq-cats a { display: inline-block; padding: 9px 15px; border-radius: 999px; font-size: .9375rem; font-weight: 560; color: var(--ink-2); text-decoration: none; }
.faq-cats a:hover, .faq-cats a.is-current { background: var(--acc-tint-2); color: var(--ink); }
@media (max-width: 760px) { .faq-cats { position: static; } .faq-cats ul { border-radius: 20px; } }
.faq-groups { display: grid; gap: clamp(56px, 7vw, 88px); }
.faq-group { scroll-margin-top: calc(var(--nav-space) + 80px); }
.faq-group h2 { font-size: clamp(1.6rem, 3vw, 2.25rem); margin-bottom: 8px; }
.faq details { scroll-margin-top: calc(var(--nav-space) + 90px); }
.faq details:target summary { text-decoration: underline; text-underline-offset: 4px; }
.faq-more { margin-top: 24px; }

/* ---------- Contact page ---------- */
.contact-grid { display: grid; grid-template-columns: minmax(0, 1.3fr) minmax(0, .9fr); gap: clamp(28px, 5vw, 64px); align-items: start; }
@media (max-width: 900px) { .contact-grid { grid-template-columns: minmax(0, 1fr); } }
.contact-form { background: var(--bg-2); border-radius: var(--r-l); padding: clamp(24px, 4vw, 44px); display: grid; gap: 18px; }
.contact-form .input, .contact-form .textarea, .contact-form .select { background: var(--surface); }
.contact-form .textarea { min-height: 150px; }
.select { appearance: none; -webkit-appearance: none; cursor: pointer; padding-right: 44px;
  background-image: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'><path d='m6 9 6 6 6-6' fill='none' stroke='%238A8A90' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'/></svg>");
  background-repeat: no-repeat; background-position: right 14px center; background-size: 18px; }
.field .opt { font-weight: 400; color: var(--ink-3); }
.contact-form .btn--cta { justify-self: start; min-width: 200px; }
.form-ok { padding: 16px 18px; border-radius: 14px; background: var(--done-soft); color: var(--ink); font-weight: 520; }
.contact-side { display: grid; gap: 18px; }
.contact-card { background: var(--bg-2); border-radius: var(--r-l); padding: 26px 28px; display: grid; gap: 14px; }
.contact-card h2 { font-size: 1.25rem; }
.contact-list { list-style: none; display: grid; gap: 14px; }
.contact-list li { display: grid; grid-template-columns: auto minmax(0, 1fr); gap: 14px; align-items: center; }
.contact-list .ic { width: 40px; height: 40px; border-radius: 12px; }
.contact-list .ic svg { width: 20px; height: 20px; }
.contact-list small { display: block; color: var(--ink-3); font-size: .8125rem; }
.contact-list a, .contact-list b { font-weight: 560; overflow-wrap: anywhere; }
.next-steps { list-style: none; counter-reset: ns; display: grid; gap: 14px; }
.next-steps li { counter-increment: ns; display: grid; grid-template-columns: 30px minmax(0, 1fr); gap: 12px; color: var(--ink-2); font-size: .9375rem; line-height: 1.5; }
.next-steps li::before { content: counter(ns); width: 28px; height: 28px; border-radius: 50%; display: grid; place-items: center; background: var(--ink); color: var(--bg); font-weight: 640; font-size: .875rem; }
.next-steps b { color: var(--ink); display: block; }

/* ---------- Resources as cards ---------- */
.res-cards { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 320px), 1fr)); gap: 20px; list-style: none; }
.res-card { height: 100%; display: grid; grid-template-rows: auto auto 1fr auto; gap: 12px; padding: 30px; border-radius: var(--r-l); background: var(--bg-2);
  color: inherit; text-decoration: none; transition: transform .25s ease, box-shadow .25s ease, background-color .25s ease; }
.res-card:hover { transform: translateY(-3px); background: var(--surface); box-shadow: 0 22px 44px -30px rgba(14, 15, 17, .4); }
.res-card .res-meta { display: flex; flex-wrap: wrap; gap: 8px 12px; align-items: center; font-size: .8125rem; color: var(--ink-3); }
.res-card .res-topic { font-weight: 600; color: var(--ink); background: var(--acc-tint-2); padding: 4px 10px; border-radius: 999px; }
.res-card h2 { font-size: clamp(1.3rem, 2vw, 1.55rem); letter-spacing: -.03em; line-height: 1.2; }
.res-card p { color: var(--ink-2); font-size: .9375rem; }
.res-card .more { margin-top: 6px; }

/* ---------- Package comparison ---------- */
.compare { width: 100%; border-collapse: collapse; min-width: 560px; font-size: .9375rem; }
.compare th, .compare td { padding: 14px 20px; border-bottom: 1px solid var(--line); text-align: left; vertical-align: top; }
.compare thead th { font-size: .8125rem; font-weight: 600; text-transform: uppercase; letter-spacing: .06em; color: var(--ink-3); }
.compare tbody th { font-weight: 560; color: var(--ink); width: 44%; }
.compare td { color: var(--ink-2); }
.compare .y, .compare .n { width: 22px; height: 22px; display: inline-grid; place-items: center; border-radius: 50%; }
.compare .y { background: var(--ink); color: var(--bg); }
.compare .n { background: color-mix(in srgb, var(--ink) 8%, transparent); color: var(--ink-3); }
.compare .y svg, .compare .n svg { width: 13px; height: 13px; }
.compare tr:last-child th, .compare tr:last-child td { border-bottom: 0; }
.package .best { font-size: .9375rem; color: var(--ink); font-weight: 560; }
.package--key .best { color: #FFFFFF; }
.extras { margin-top: 20px; display: grid; gap: 6px; font-size: .9375rem; color: var(--ink-2); max-width: 78ch; }
.extras b { color: var(--ink); }

/* ---------- "For the curious" expandable block ---------- */
.curious { margin-top: 28px; border-radius: var(--r-m); background: var(--bg-2); }
.band .curious, .section--alt .curious { background: var(--surface); }
.curious > summary { list-style: none; cursor: pointer; padding: 20px 56px 20px 24px; position: relative; font-weight: 600; letter-spacing: -.01em; }
.curious > summary::-webkit-details-marker { display: none; }
.curious > summary::after { content: ""; position: absolute; right: 24px; top: 50%; width: 10px; height: 10px; margin-top: -7px; border-right: 2px solid var(--ink-3); border-bottom: 2px solid var(--ink-3); transform: rotate(45deg); transition: transform .25s ease; }
.curious[open] > summary::after { transform: rotate(-135deg); margin-top: -2px; }
.curious > summary small { display: block; font-weight: 450; color: var(--ink-2); font-size: .875rem; margin-top: 2px; }
.curious-body { padding: 0 24px 26px; }
.curious-body .platforms { margin-top: 4px; }
.curious-body .platform { background: var(--bg-2); }
.band .curious-body .platform { background: var(--bg-2); }

/* ---------- Locations ---------- */
.locations { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 210px), 1fr)); gap: 12px; list-style: none; }
.locations li { display: flex; gap: 12px; align-items: center; background: var(--surface); border-radius: var(--r-m); padding: 18px 20px; font-weight: 560; }
.section:not(.band):not(.section--alt):not(.section--tint) .locations li { background: var(--bg-2); }
.locations .ic { width: 38px; height: 38px; border-radius: 11px; }
.locations .ic svg { width: 19px; height: 19px; }
.locations small { display: block; font-weight: 450; color: var(--ink-2); font-size: .8125rem; }

/* Bespoke web tools: say how each one helps */
.tool-card .helps { font-size: .875rem; color: rgba(255, 255, 255, .62); margin-top: 6px; }
.tool-card .helps b { color: rgba(255, 255, 255, .9); font-weight: 560; }

/* ---------- Home tagline: a longer headline than the old one, so a calmer size ---------- */
.hero h1.tagline { font-size: clamp(2.6rem, 4.9vw, 4.5rem); line-height: 1.02; letter-spacing: -.042em; max-width: 13.5ch; }
@media (max-width: 760px) { .hero h1.tagline { font-size: clamp(2.3rem, 10.4vw, 3rem); max-width: none; } }

/* A single project sits side by side (picture, then the story) rather than one huge card */
@media (min-width: 900px) {
  .work-grid > .work-card:only-child { grid-template-columns: minmax(0, 1.05fr) minmax(0, 1fr); grid-template-rows: none; }
  .work-grid > .work-card:only-child .work-media { aspect-ratio: auto; min-height: 100%; }
  .work-grid > .work-card:only-child .work-media img { object-position: left top; }
}
/* The time check's button is the main call to action, so it takes the accent like every other one */
.calc-result .btn.btn--cta { background: var(--acc); color: var(--acc-on); }
.calc-result .btn.btn--cta:hover { background: var(--acc-hover); }
/* Ticks and crosses in the package comparison: the round mark only, not the icon square */
.compare .y .ic, .compare .n .ic { width: auto; height: auto; background: none; border-radius: 0; box-shadow: none; color: inherit; }
.compare .y .ic svg, .compare .n .ic svg { width: 13px; height: 13px; stroke-width: 2.6; }
/* Four groups sit two by two rather than three and one */
@media (min-width: 760px) { .icards--2 { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
/* Four promises on one row on wide screens, two by two on tablets */
@media (min-width: 700px) and (max-width: 1099px) { .principles { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (min-width: 1100px) { .principles { grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 40px 36px; } }
.inline-links a { color: var(--acc-text); text-decoration: underline; text-underline-offset: 3px; text-decoration-thickness: 1px; }
.inline-links a:hover { text-decoration-thickness: 2px; }

/* =====================================================================
   v23 (17 Nov 2026): booking a call sits alongside Contact us.
   Book a free call is always the black-and-white button (white on dark,
   black on light); Contact us is always the blue one.
   ===================================================================== */
.btn-ic { display: inline-grid; margin-left: -4px; }
.btn-ic svg { width: 18px; height: 18px; }
.nav .btn.nav-book { padding: 0 16px; }
.nav .btn.nav-book .btn-ic svg { width: 16px; height: 16px; }

/* Two ways to get started, at the foot of every page */
.cta-options { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 16px; max-width: 900px; margin: 44px auto 0; text-align: left; }
.cta-opt { display: grid; gap: 12px; align-content: start; padding: clamp(24px, 3vw, 34px); border-radius: var(--r-l);
  background: rgba(255, 255, 255, .055); border: 1px solid rgba(255, 255, 255, .12); color: rgba(255, 255, 255, .72); }
.cta-opt--book { background: rgba(255, 255, 255, .1); border-color: rgba(255, 255, 255, .3); }
.cta-opt h3 { color: #FFFFFF; font-size: 1.375rem; letter-spacing: -.02em; }
.cta-opt p { line-height: 1.55; }
.cta-opt .btn { justify-self: start; margin-top: 6px; }
.cta-opt-top { display: flex; align-items: center; justify-content: space-between; gap: 12px; }
.cta-opt .ic, .contact-card--book .ic { background: rgba(255, 255, 255, .1); color: #FFFFFF; }
.cta-tag { font-size: .75rem; font-weight: 640; text-transform: uppercase; letter-spacing: .08em; padding: 5px 11px; border-radius: 999px; background: #FFFFFF; color: #0A0A0A; }
@media (max-width: 760px) {
  .cta-options { grid-template-columns: minmax(0, 1fr); margin-top: 32px; }
  .cta-opt .btn { justify-self: stretch; }
}

/* The booking card on the contact page */
.contact-card--book { background: #0A0A0A; color: rgba(255, 255, 255, .74); }
.contact-card--book h2 { color: #FFFFFF; }
.contact-card--book p { line-height: 1.55; }
.contact-card--book .btn { justify-self: start; }
:root[data-theme="dark"] .contact-card--book { border: 1px solid rgba(255, 255, 255, .22); }
@media (prefers-color-scheme: dark) { :root:not([data-theme="light"]) .contact-card--book { border: 1px solid rgba(255, 255, 255, .22); } }

/* A customer quote gets its own treatment; a single quote is shown large */
.quotes--one { grid-template-columns: minmax(0, 1fr); }
.q-mark { display: block; height: 30px; font: 600 4.6rem/1 Georgia, "Times New Roman", serif; color: var(--ink); margin-bottom: -6px; }
.quote-card--feature { padding: clamp(30px, 5vw, 64px); gap: 26px; }
.quote-card--feature blockquote { font-size: clamp(1.3rem, 2.4vw, 2rem); line-height: 1.34; letter-spacing: -.022em; font-weight: 500; max-width: 36ch; }
.quote-card--feature .q-mark { height: 40px; font-size: 6rem; }
.quote-card figcaption { display: flex; align-items: center; gap: 16px; }
.quote-card figcaption > span { display: grid; gap: 2px; }
.quote-card figcaption b { color: var(--ink); }
.quote-card figcaption .client-logo { --h: 40px; flex: none; max-width: 110px; background-color: var(--ink); }
.quote-card--feature figcaption { padding-top: 22px; border-top: 1px solid var(--line); }

/* The menu now holds two buttons, so keep every label on one line and tighten up on mid-size screens */
@media (min-width: 961px) {
  .nav > a, .nav-dd-btn { white-space: nowrap; }
}
@media (min-width: 961px) and (max-width: 1199px) {
  .nav a:not(.btn) { padding: 8px 8px; font-size: .875rem; }
  .nav-dd-btn { padding: 8px 6px 8px 8px; font-size: .875rem; }
  .nav .btn { margin-left: 4px; padding: 0 13px; font-size: .875rem; }
  .nav .btn.nav-book { padding: 0 13px; }
  .nav .btn.nav-book .btn-ic { display: none; }
}
@media (min-width: 961px) and (max-width: 1060px) {
  .nav-search .ns-text { display: none; }
  .nav a:not(.btn) { padding: 8px 6px; }
}

/* About: genuine figures, a compact list of who we help, and the client logos */
.highlights { list-style: none; display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 16px; margin-top: clamp(40px, 5vw, 64px); }
.highlights li { background: var(--surface); border-radius: var(--r-m); padding: 24px 26px; display: grid; gap: 8px; align-content: start; }
.highlights b { font-size: clamp(1.9rem, 3vw, 2.6rem); font-weight: 640; letter-spacing: -.035em; line-height: 1; color: var(--ink); }
.highlights span { color: var(--ink-2); font-size: .9375rem; line-height: 1.45; }
@media (max-width: 900px) { .highlights { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 420px) { .highlights { grid-template-columns: minmax(0, 1fr); } }
.sector-list { list-style: none; display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 320px), 1fr)); gap: 22px 32px; }
.sector-list li { display: grid; grid-template-columns: auto minmax(0, 1fr); gap: 14px; align-items: center; }
.sector-list .ic { width: 42px; height: 42px; border-radius: 12px; }
.sector-list .ic svg { width: 21px; height: 21px; }
.sector-list b { display: block; font-weight: 600; color: var(--ink); }
.sector-list span { color: var(--ink-2); font-size: .9375rem; line-height: 1.45; }
.also-title { font-size: 1.0625rem; font-weight: 600; }
.work-also .work-logos .client-logo { background-color: var(--ink); opacity: .8; }
/* On a white section the quote card needs its own grey so it doesn't float */
.section:not(.band):not(.section--alt):not(.section--tint) .quote-card:not(.quote-card--todo) { background: var(--bg-2); }
/* On phones and tablets the booking card comes first, above the form */
@media (max-width: 900px) {
  .contact-grid { display: flex; flex-direction: column; align-items: stretch; gap: 18px; }
  .contact-side { display: contents; }
  .contact-card--book { order: -1; }
  .contact-form { margin-bottom: 6px; }
}
/* Project pictures share the card's own colour, with a fine line under them, so cards stand clear of grey bands */
.work-media { background: transparent; border-bottom: 1px solid var(--line); }

/* ---------- Websites we've built: each client site shown in a browser window, one at a time ---------- */
.sites { display: grid; gap: 28px; justify-items: center; }
.sites-tabs { display: inline-flex; gap: 4px; padding: 5px; border-radius: 999px; background: var(--surface); border: 1px solid var(--line);
  max-width: 100%; overflow-x: auto; scrollbar-width: none; }
.sites-tabs::-webkit-scrollbar { display: none; }
.section:not(.band) .sites-tabs { background: var(--bg-2); }
.sites-tab { flex: none; border: 0; cursor: pointer; font: 560 .9375rem/1.2 var(--font); color: var(--ink-2); background: transparent;
  padding: 10px 18px; border-radius: 999px; transition: background-color .2s ease, color .2s ease; }
.sites-tab:hover { color: var(--ink); background: var(--acc-tint-2); }
.sites-tab[aria-selected="true"] { background: var(--ink); color: var(--bg); }
.sites-tab:focus-visible { outline: 2px solid var(--ink); outline-offset: 2px; }
.site-panel { margin: 0; width: 100%; max-width: 980px; display: grid; gap: 22px; }
.site-panel:focus-visible { outline: none; }
.site-panel:focus-visible .site-frame { outline: 2px solid var(--ink); outline-offset: 4px; }
.sites.is-tabbed .site-panel { animation: site-in .35s ease both; }
@keyframes site-in { from { opacity: 0; transform: translateY(8px); } to { opacity: 1; transform: none; } }
@media (prefers-reduced-motion: reduce) { .sites.is-tabbed .site-panel { animation: none; } }
.site-frame { border-radius: 16px; overflow: hidden; background: var(--surface); border: 1px solid var(--line-2);
  box-shadow: 0 2px 4px rgba(0, 0, 0, .04), 0 40px 80px -40px rgba(0, 0, 0, .45); }
.site-frame-bar { display: grid; grid-template-columns: auto auto auto 1fr; align-items: center; gap: 7px; height: 40px; padding: 0 14px;
  background: var(--bg-2); border-bottom: 1px solid var(--line); }
.band .site-frame-bar { background: color-mix(in srgb, var(--ink) 4%, var(--surface)); }
.site-frame-bar i { width: 11px; height: 11px; border-radius: 50%; background: color-mix(in srgb, var(--ink) 16%, transparent); }
.site-frame-url { justify-self: center; display: inline-flex; align-items: center; gap: 6px; margin-right: 54px; padding: 5px 16px; max-width: 70%;
  border-radius: 999px; background: var(--surface); color: var(--ink-2); font-size: .8125rem; font-weight: 500; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.band .site-frame-url { background: var(--bg-2); }
.sf-ic svg { width: 12px; height: 12px; display: block; }
.site-frame img { display: block; width: 100%; height: auto; aspect-ratio: 16 / 10; object-fit: cover; object-position: top center; }
.site-panel figcaption { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.4fr); gap: 6px 32px; align-items: start; }
.site-panel figcaption .site-kind { grid-column: 1; font-size: .8125rem; font-weight: 600; text-transform: uppercase; letter-spacing: .06em; color: var(--ink-3); }
.site-panel figcaption b { grid-column: 1; font-size: 1.375rem; font-weight: 620; letter-spacing: -.02em; }
.site-panel figcaption .site-line { grid-column: 2; grid-row: 1 / span 2; color: var(--ink-2); line-height: 1.55; }
.site-panel figcaption .site-links { grid-column: 2; display: flex; gap: 20px; flex-wrap: wrap; }
@media (max-width: 700px) {
  .site-panel figcaption { grid-template-columns: minmax(0, 1fr); }
  .site-panel figcaption > * { grid-column: 1 !important; grid-row: auto !important; }
  .site-frame { border-radius: 12px; }
  .site-frame-bar { height: 32px; gap: 5px; padding: 0 10px; }
  .site-frame-bar i { width: 8px; height: 8px; }
  .site-frame-url { margin-right: 30px; font-size: .75rem; padding: 3px 12px; }
  .sites-tabs { justify-self: stretch; }
  .sites-tab { padding: 9px 14px; font-size: .875rem; }
}
.sites-tab .tab-short { display: none; }
@media (max-width: 520px) {
  .sites-tab .tab-long { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
  .sites-tab .tab-short { display: inline; }
  .sites-tabs { justify-self: center; }
}

/* The header shrinks a little once you scroll. With Book a call and Contact us both in it, it can't go as
   narrow as before, and it never gets narrower than its own contents (so nothing pokes out of the bar). */
@media (min-width: 1200px) {
  .site-header.is-compact .nav-pill { max-width: 1080px; }
  .nav-pill { min-width: max-content; }
}
