/* ==========================================================================
   FinanceBee homepage — light 3D redesign (prototype v3)
   Colour rule 60 · 30 · 10: white surfaces, navy structure and text,
   yellow only for calls to action and small accents (never as text on white).
   ========================================================================== */
@font-face {
  font-family: Inter;
  font-style: normal;
  font-weight: 400 800;
  font-display: swap;
  src: url("assets/fonts/inter-latin.woff2") format("woff2");
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}
:root {
  /* brand */
  --navy: #0B2545;
  --navy-2: #02417B;
  --navy-3: #1A3A63;
  --yellow: #F8B400;
  --yellow-2: #E2A400;
  --amber: #FEAE03;
  --green: #10B981;
  --green-700: #047857;
  --green-50: #ECFDF5;

  /* neutrals */
  --ink: #1F2937;
  --body: #4B5563;
  --mute: #6B7585;
  --line: #E4E9F0;
  --mist: #F4F7FB;
  --white: #FFFFFF;
  --navy-tint: #E8EEF6;

  /* on navy */
  --on-dark: rgba(232, 238, 246, .82);
  --on-dark-2: rgba(232, 238, 246, .6);
  --hair: rgba(255, 255, 255, .12);
  --glass: rgba(255, 255, 255, .06);

  --ease: cubic-bezier(.16, 1, .3, 1);
  --hex: polygon(25% 3%, 75% 3%, 100% 50%, 75% 97%, 25% 97%, 0 50%);

  /* type scale: static steps for UI text, fluid steps for headings */
  --fs-micro: .7rem;      /* pills, ribbons, tiny caps labels */
  --fs-xs: .8rem;         /* eyebrows, captions, meta */
  --fs-sm: .875rem;       /* nav, small print, secondary UI */
  --fs-md: .95rem;        /* card body copy, lists */
  --fs-base: 1rem;        /* buttons, emphasised body */
  --fs-lg: 1.25rem;       /* small card titles */
  --fs-xl: 1.5rem;        /* card titles */
  --fs-2xl: 2rem;         /* plan names */
  --fs-lede: clamp(1.05rem, 1.5vw, 1.3rem);
  --fs-h2: clamp(2.15rem, 4.2vw, 3.45rem);
  --fs-display: clamp(2.6rem, 6vw, 5.4rem);
  --fs-hero: clamp(2.9rem, 7vw, 6.4rem);

  --track-caps: .14em;    /* small uppercase badges */
  --track-caps-wide: .18em; /* uppercase labels and eyebrows */

  /* spacing scale: --space-N = N x 4px */
  --space-1: 4px;
  --space-2: 8px;
  --space-3: 12px;
  --space-4: 16px;
  --space-5: 20px;
  --space-6: 24px;
  --space-8: 32px;
  --space-10: 40px;
  --space-12: 48px;
  --space-14: 56px;
  --space-16: 64px;
  --space-20: 80px;
  --space-24: 96px;
  --gutter: var(--space-6);
  --container: min(1320px, 100% - 2 * var(--gutter));
  --section-y: clamp(96px, 14vh, 180px);  /* vertical padding of a band */
  --block-gap: clamp(48px, 8vh, 96px);    /* heading-to-content gap inside a band */

  --radius-sm: 8px;
  --radius-md: 12px;
  --radius-lg: 20px;
  --radius-xl: 32px;
  --radius-pill: 999px;

  /* depth: navy-tinted shadows so white surfaces float rather than smudge */
  --shadow-sm: 0 1px 2px rgba(11, 37, 69, .06), 0 2px 8px -2px rgba(11, 37, 69, .06);
  --shadow-md: 0 2px 4px rgba(11, 37, 69, .04), 0 14px 28px -10px rgba(11, 37, 69, .14);
  --shadow-lg: 0 4px 8px rgba(11, 37, 69, .04), 0 28px 56px -18px rgba(11, 37, 69, .22), 0 60px 120px -40px rgba(11, 37, 69, .2);
  --bevel: inset 0 1px 0 rgba(255, 255, 255, .9), inset 0 -1px 0 rgba(11, 37, 69, .06);
  --bevel-dark: inset 0 1px 0 rgba(255, 255, 255, .14), inset 0 -1px 0 rgba(0, 0, 0, .25);
}

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; overflow-x: clip; }
body {
  margin: 0; background: var(--white); color: var(--body);
  font-family: Inter, ui-sans-serif, system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;
  font-size: 17px; line-height: 1.55; -webkit-font-smoothing: antialiased; overflow-x: clip;
}
html.is-booting, html.is-booting body { overflow: hidden; }
.boot {
  position: fixed; inset: 0; z-index: 400; display: grid; place-items: center; overflow: hidden;
  color: #fff; background: #071B33;
  clip-path: inset(0 0 0 0);
  transition: clip-path .9s cubic-bezier(.76, 0, .24, 1) .15s, visibility 0s linear 1.1s;
}
/* soft brand light and a faint dot texture behind the mark */
.boot::before, .boot::after { content: ""; position: absolute; inset: 0; pointer-events: none; }
.boot::before {
  background:
    radial-gradient(ellipse 50% 45% at 30% 30%, rgba(2, 65, 123, .9), transparent 70%),
    radial-gradient(ellipse 40% 36% at 74% 76%, rgba(248, 180, 0, .14), transparent 70%);
  filter: blur(30px);
}
.boot::after {
  background-image: radial-gradient(rgba(255, 255, 255, .07) 1px, transparent 1.3px);
  background-size: 22px 22px;
  -webkit-mask-image: radial-gradient(circle at 50% 50%, #000 0, transparent 65%);
  mask-image: radial-gradient(circle at 50% 50%, #000 0, transparent 65%);
}
/* exit: the curtain lifts away while the mark zooms gently forward */
.boot.is-done { clip-path: inset(0 0 100% 0); visibility: hidden; pointer-events: none; }
.boot-in { position: relative; z-index: 1; display: grid; justify-items: center; gap: 14px; transition: transform .7s cubic-bezier(.76, 0, .24, 1), opacity .5s ease; }
.boot.is-done .boot-in { transform: translateY(-40px) scale(1.06); opacity: 0; }
.boot-mark { position: relative; width: 132px; height: 132px; display: grid; place-items: center; margin-bottom: 6px; }
.boot-mark img { width: 62px; height: auto; animation: boot-breathe 2.4s ease-in-out infinite; filter: drop-shadow(0 8px 18px rgba(248, 180, 0, .25)); }
.boot-ring { position: absolute; inset: 0; width: 100%; height: 100%; transform: rotate(-90deg); }
.boot-ring circle { fill: none; stroke-width: 2.5; }
.boot-ring-track { stroke: rgba(255, 255, 255, .1); }
.boot-ring-fill { stroke: #F8B400; stroke-linecap: round; stroke-dasharray: 100; stroke-dashoffset: 100; filter: drop-shadow(0 0 6px rgba(248, 180, 0, .55)); }
.boot-count { font-size: 44px; font-weight: 700; letter-spacing: -.04em; line-height: 1; font-variant-numeric: tabular-nums; }
.boot-count small { font-size: 20px; font-weight: 600; margin-left: 2px; color: rgba(255, 255, 255, .55); }
.boot-msg { color: rgba(255, 255, 255, .62); font-size: 14px; letter-spacing: .02em; }
@keyframes boot-breathe { 0%, 100% { transform: scale(1); } 50% { transform: scale(1.06); } }
h1, h2, h3, h4, p, ul, ol, dl { margin: 0; }
ol { padding: 0; list-style: none; }
h1, h2, h3, h4 { color: var(--navy); }
ul { padding: 0; list-style: none; }
a { color: inherit; text-decoration: none; }
img { display: block; max-width: 100%; }
.wrap { width: var(--container); margin-inline: auto; }
.ic { width: 1.15em; height: 1.15em; fill: none; stroke: currentColor; stroke-width: 1.7; stroke-linecap: round; stroke-linejoin: round; flex: none; }
:focus-visible { outline: 2px solid var(--navy-2); outline-offset: var(--space-1); border-radius: var(--radius-sm); }

/* ---------- type ---------- */
h1, h2, h3 { letter-spacing: -.028em; line-height: 1.12; text-wrap: balance; }
.display { font-size: var(--fs-h2); font-weight: 700; letter-spacing: -.034em; }
.lede { font-size: var(--fs-lede); line-height: 1.45; max-width: 34em; }
.fine { font-size: var(--fs-sm); color: var(--mute); margin-top: var(--space-4); }
.eyebrow { font-size: var(--fs-xs); font-weight: 600; letter-spacing: var(--track-caps-wide); text-transform: uppercase; color: var(--navy-2); display: inline-flex; align-items: center; gap: .7em; }
.eyebrow:not(:has(.live-dot))::before { content: ""; width: 18px; height: 3px; border-radius: var(--radius-pill); background: var(--yellow); }
.kicker { font-size: var(--fs-micro); font-weight: 600; letter-spacing: var(--track-caps-wide); text-transform: uppercase; color: var(--mute); }
.center { text-align: center; display: grid; justify-items: center; gap: var(--space-5); }
/* yellow highlighter behind a phrase: the accent on white without yellow text */
/* yellow underline: width is 0 until the heading scrolls into view */
.mark {
  color: inherit;
  background-image: linear-gradient(transparent 68%, var(--yellow) 68% 86%, transparent 86%);
  background-repeat: no-repeat;
  background-position: left center;
  background-size: 0% 100%;
  -webkit-box-decoration-break: clone;
  box-decoration-break: clone;
  padding-inline: .04em;
  transition: background-size 1.8s cubic-bezier(.4, 0, .2, 1);
}
.mark.drawn { background-size: 100% 100%; }
.hero .mark { transition-delay: .55s; }
.gold { color: var(--yellow); }  /* only on navy surfaces */

/* ---------- buttons ---------- */
.btn { display: inline-flex; align-items: center; justify-content: center; gap: .6em; height: 52px; padding: 0 var(--space-8); border-radius: var(--radius-pill); font-weight: 600; font-size: var(--fs-base); letter-spacing: -.01em; white-space: nowrap; cursor: pointer; border: 0; transition: transform .4s var(--ease), background .25s, box-shadow .4s var(--ease), color .25s; }
.btn-sm { height: 40px; padding: 0 var(--space-5); font-size: var(--fs-sm); }
.btn:hover { transform: translateY(-2px); }
.btn:active { transform: translateY(1px); }
.btn-yellow { background: var(--yellow); color: var(--navy); box-shadow: inset 0 1px 0 rgba(255, 255, 255, .45), inset 0 -2px 0 rgba(11, 37, 69, .14), 0 8px 20px -8px rgba(226, 164, 0, .7); }
.btn-yellow:hover { background: var(--amber); box-shadow: inset 0 1px 0 rgba(255, 255, 255, .45), inset 0 -2px 0 rgba(11, 37, 69, .14), 0 16px 32px -10px rgba(226, 164, 0, .8); }
.btn-line { color: var(--white); box-shadow: inset 0 0 0 1px rgba(255, 255, 255, .7); }
.btn-line:hover { background: var(--white); color: var(--navy); }
.btn-ink-line { color: var(--navy); background: var(--white); box-shadow: inset 0 0 0 1px var(--line), var(--shadow-sm); }
.btn-ink-line:hover { box-shadow: inset 0 0 0 1px var(--navy), var(--shadow-md); }
.btn-shine {
  position: relative;
  overflow: hidden;
  color: #fff;
  background: var(--navy-2);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, .45), inset 0 -2px 0 rgba(11, 37, 69, .35), 0 8px 20px -8px rgba(2, 65, 123, .7);
}
.btn-shine:hover { box-shadow: inset 0 1px 0 rgba(255, 255, 255, .45), inset 0 -2px 0 rgba(11, 37, 69, .35), 0 16px 32px -10px rgba(2, 65, 123, .8); }
.btn-shine::after {
  content: "";
  position: absolute;
  top: -80%;
  bottom: -80%;
  width: 28px;
  left: 0;
  background: linear-gradient(90deg, transparent 0%, rgba(255, 255, 255, .08) 28%, rgba(255, 255, 255, .72) 50%, rgba(255, 255, 255, .08) 72%, transparent 100%);
  transform: translateX(-48px) skewX(-28deg);
  pointer-events: none;
  animation: btn-glint 13.6s ease-in-out 5s infinite;
}
@keyframes btn-glint {
  0% { transform: translateX(-48px) skewX(-28deg); }
  26.5%, 100% { transform: translateX(440px) skewX(-28deg); }
}
@media (prefers-reduced-motion: reduce) {
  .btn-shine::after { animation: none; opacity: 0; }
}
.actions { display: flex; flex-wrap: wrap; gap: var(--space-4); justify-content: center; }

.pill { display: inline-flex; align-items: center; gap: .5em; font-size: var(--fs-micro); font-weight: 700; letter-spacing: var(--track-caps); text-transform: uppercase; padding: .5em .9em; border-radius: var(--radius-pill); }
.pill i { width: 6px; height: 6px; border-radius: 50%; background: var(--green); }
.pill-live { color: var(--green-700); background: var(--green-50); }
.pill-dev { color: var(--navy-2); background: var(--navy-tint); }
.live-dot { width: 8px; height: 8px; border-radius: 50%; background: var(--green); box-shadow: 0 0 0 0 rgba(16, 185, 129, 1); animation: ping 2.2s infinite; }
@keyframes ping { 70%, 100% { box-shadow: 0 0 0 12px transparent; } }

/* ---------- 3D tilt cards (pointer-driven in script.js) ---------- */
.tilt { position: relative; transform: perspective(1100px) rotateX(var(--rx, 0deg)) rotateY(var(--ry, 0deg)) translateY(var(--lift, 0px)); transform-style: preserve-3d; transition: transform .6s var(--ease), box-shadow .6s var(--ease), background .4s; }
.tilt:hover { --lift: -6px; box-shadow: var(--shadow-lg); }
.tilt::after { content: ""; position: absolute; inset: 0; border-radius: inherit; pointer-events: none; opacity: 0; transition: opacity .4s; background: radial-gradient(420px circle at var(--mx, 50%) var(--my, 0%), rgba(255, 255, 255, .55), transparent 45%); }
.tilt:hover::after { opacity: 1; }

/* ---------- nav ---------- */
.nav { position: fixed; inset: 0 0 auto; z-index: 200; overflow: visible; background: var(--white); border-bottom: 1px solid var(--line); transition: background .25s, box-shadow .4s, border-color .25s; }
.nav.solid { box-shadow: 0 8px 24px -16px rgba(11, 37, 69, .18); }
.nav-in { width: min(1440px, calc(100% - 32px)); margin-inline: auto; height: 56px; display: flex; align-items: center; gap: 24px; }
.brand img { height: 32px; width: auto; }
.nav-links { display: flex; align-items: stretch; gap: 8px; margin-inline: auto; }
.nav-links > a,
.nav-links .nav-drop-trigger { white-space: nowrap; }
.nav-links a, .nav-quiet {
  font-size: 14px; font-weight: 500; letter-spacing: -.01em;
  color: var(--ink); opacity: .88; transition: opacity .2s, color .2s, background .2s;
}
.nav-links a:hover, .nav-quiet:hover { opacity: 1; color: var(--navy); }
.nav-cta { display: flex; align-items: center; gap: 14px; }
.nav-cta .btn-sm { height: 36px; padding: 0 16px; font-size: 14px; }

/* Linear-style: floating rounded mega on hover */
.nav-drop {
  position: static;
  display: flex;
  align-items: stretch;
  align-self: stretch;
}
.nav-drop-trigger {
  position: relative;
  display: inline-flex;
  align-items: center;
  gap: 7px;
  height: auto;
  margin: auto 0;
  padding: 7px 11px;
  border-radius: 999px;
  cursor: pointer;
}
.nav-links > a {
  display: inline-flex;
  align-items: center;
  padding: 7px 11px;
  border-radius: 999px;
}
.nav-drop.is-open .nav-drop-trigger {
  opacity: 1;
  background: rgba(2, 65, 123, .08);
}
.bk-page .nav:not(.solid) .nav-drop.is-open .nav-drop-trigger {
  background: rgba(255, 255, 255, .14);
}
/* One pill only: hide the glide behind an open mega trigger (avoids the ghost double pill) */
.nav.is-mega-open .nav-glide,
.nav-links:has(.nav-drop.is-open) .nav-glide {
  opacity: 0;
  transition: none;
}
.nav-caret {
  display: inline-block; width: 5px; height: 5px; margin-top: -1px;
  border-right: 1.5px solid currentColor; border-bottom: 1.5px solid currentColor;
  transform: rotate(45deg); opacity: .55; transition: transform .25s cubic-bezier(.16, 1, .3, 1);
}
.nav-drop.is-open .nav-caret { transform: rotate(225deg); margin-top: 2px; }

.nav-veil {
  position: fixed;
  inset: 56px 0 0;
  z-index: 190;
  background: rgba(7, 24, 44, .28);
  opacity: 0;
  pointer-events: none;
  transition: opacity .28s ease;
}
.nav.is-mega-open .nav-veil {
  opacity: 1;
  pointer-events: auto;
}
.nav.is-mega-open {
  background: #fff;
  border-bottom-color: transparent;
  transition: none;
}
/* Hero pages: bookkeeping.css owns the stronger .bk-page .nav.is-mega-open rules */

.nav-drop-panel {
  position: absolute;
  top: 100%;
  left: 50%;
  z-index: 120;
  width: min(780px, calc(100vw - 40px));
  padding: 10px 0 0;
  background: transparent;
  border: 0;
  box-shadow: none;
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
  transform: translateX(-50%) translateY(6px) scale(.985);
  transform-origin: 50% 0;
  transition:
    opacity .22s ease,
    transform .32s cubic-bezier(.16, 1, .3, 1),
    visibility 0s linear .28s;
}
.nav-drop.is-open .nav-drop-panel {
  opacity: 1;
  visibility: visible;
  pointer-events: auto;
  transform: translateX(-50%) translateY(0) scale(1);
  transition:
    opacity .18s ease,
    transform .32s cubic-bezier(.16, 1, .3, 1),
    visibility 0s linear 0s;
}
.nav-drop-end .nav-drop-panel {
  width: max-content;
  max-width: calc(100vw - 40px);
}
.nav-drop-panel-inner { display: block; }
.nav-mega {
  display: grid;
  grid-template-columns: 1.4fr minmax(200px, 220px);
  gap: 4px 20px;
  padding: 14px 14px 10px;
  border-radius: 12px;
  background: #fff;
  /* Crisp Linear-style edge */
  border: 1px solid rgba(15, 23, 42, .12);
  box-shadow:
    0 0 0 1px rgba(15, 23, 42, .04),
    inset 0 1px 0 rgba(255, 255, 255, 1),
    inset 0 -1px 0 rgba(15, 23, 42, .04),
    0 1px 2px rgba(15, 23, 42, .04),
    0 22px 44px -18px rgba(11, 37, 69, .28),
    0 10px 18px -12px rgba(11, 37, 69, .14);
}
.nav-mega-main {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 2px 12px;
  align-content: start;
}
.nav-mega-ico {
  display: grid;
  place-items: center;
  flex: none;
  width: 36px;
  height: 36px;
  margin-top: 1px;
  border-radius: 10px;
  color: var(--navy-2);
  background: #f3f6fa;
  box-shadow: inset 0 0 0 1px rgba(15, 23, 42, .06);
}
.nav-mega-ico .ic { width: 17px; height: 17px; }
.nav-mega-feat {
  display: flex;
  align-items: flex-start;
  gap: 12px;
  padding: 12px;
  border-radius: 10px;
  color: var(--navy);
  transition: background .2s ease;
}
.nav-mega-feat .nav-mega-copy {
  display: grid;
  gap: 3px;
  min-width: 0;
}
.nav-mega-feat:hover,
.nav-mega-feat:focus-visible { background: #f4f7fb; }
.nav-mega-feat:hover .nav-mega-ico,
.nav-mega-feat:focus-visible .nav-mega-ico {
  background: #fff;
  color: var(--navy);
}
.nav-mega-feat[aria-current="page"] {
  background: #eef3f9;
  color: var(--navy);
  opacity: 1;
  box-shadow: inset 3px 0 0 var(--yellow);
}
.nav-mega-feat[aria-current="page"] .nav-mega-ico {
  background: #fff;
  color: var(--navy);
}
.nav-mega-feat[aria-current="page"] strong { color: var(--navy); opacity: 1; }
.nav-mega-feat strong {
  display: block;
  font-size: 14.5px;
  font-weight: 650;
  letter-spacing: -.02em;
  line-height: 1.25;
  color: var(--navy);
  white-space: nowrap;
}
.nav-mega-feat .nav-mega-copy > span {
  display: block;
  font-size: 12.5px;
  line-height: 1.4;
  color: #5b6b7c;
}
.nav-mega-side {
  display: grid;
  align-content: start;
  gap: 2px;
  padding: 6px 0 6px 8px;
  border-left: 1px solid #eef1f6;
}
.nav-mega-side a {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 9px 10px;
  border-radius: 10px;
  font-size: 14.5px;
  font-weight: 600;
  letter-spacing: -.01em;
  color: var(--navy);
  opacity: 1;
  white-space: nowrap;
  transition: background .2s ease;
}
.nav-mega-side .nav-mega-ico {
  width: 28px;
  height: 28px;
  margin-top: 0;
  border-radius: 8px;
}
.nav-mega-side .nav-mega-ico .ic { width: 15px; height: 15px; }
.nav-mega-side a:hover,
.nav-mega-side a:focus-visible { background: #f4f7fb; }
.nav-mega-side a:hover .nav-mega-ico,
.nav-mega-side a:focus-visible .nav-mega-ico {
  background: #fff;
  color: var(--navy);
}
.nav-mega-side a[aria-current="page"] {
  background: #eef3f9;
  color: var(--navy);
  opacity: 1;
  font-weight: 650;
  box-shadow: inset 3px 0 0 var(--yellow);
}
.nav-mega-side a[aria-current="page"] .nav-mega-ico {
  background: #fff;
  color: var(--navy);
}
.nav-mega-foot {
  grid-column: 1 / -1;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  margin-top: 6px;
  padding: 12px 8px 4px;
  border-top: 1px solid #eef1f6;
}
.nav-mega-foot a {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 13.5px;
  font-weight: 550;
  color: var(--navy);
  opacity: .9;
}
.nav-mega-foot .nav-mega-ico {
  width: 26px;
  height: 26px;
  margin-top: 0;
  border-radius: 7px;
}
.nav-mega-foot .nav-mega-ico .ic { width: 14px; height: 14px; }
.nav-mega-foot a:hover { opacity: 1; color: var(--navy-2); }
.nav-mega-foot .nav-mega-more { color: var(--navy-2); font-weight: 600; white-space: nowrap; }
.nav-mega-company {
  grid-template-columns: max-content max-content;
  gap: 4px 0;
  width: auto;
  max-width: none;
  padding: 16px 10px 12px 16px;
}
.nav-co-col {
  display: grid;
  align-content: start;
  gap: 1px;
  min-width: 220px;
  padding: 0 8px;
}
.nav-co-col + .nav-co-col {
  margin-left: 8px;
  padding-left: 16px;
  border-left: 1px solid #eef1f6;
}
.nav-co-label {
  margin: 2px 0 8px;
  padding: 0 10px;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: .08em;
  text-transform: uppercase;
  color: #8b9aab;
}
.nav-mega-company .nav-co-col > a {
  display: flex;
  align-items: center;
  gap: 10px;
  min-height: 40px;
  padding: 6px 10px;
  border-radius: 10px;
  font-size: 14.5px;
  font-weight: 600;
  letter-spacing: -.01em;
  color: var(--navy);
  white-space: nowrap;
}
.nav-mega-company .nav-co-col > a .nav-mega-ico {
  width: 28px;
  height: 28px;
  margin-top: 0;
  border-radius: 8px;
}
.nav-mega-company .nav-co-col > a .nav-mega-ico .ic { width: 15px; height: 15px; }
.nav-mega-company .nav-co-col > a:hover,
.nav-mega-company .nav-co-col > a:focus-visible { background: #f4f7fb; }
.nav-mega-company .nav-co-col > a:hover .nav-mega-ico,
.nav-mega-company .nav-co-col > a:focus-visible .nav-mega-ico { background: #fff; color: var(--navy); }
.nav-mega-company .nav-co-col > a[aria-current="page"] {
  background: #eef3f9;
  box-shadow: inset 3px 0 0 var(--yellow);
}
.nav-mega-company .nav-co-col > a[aria-current="page"] .nav-mega-ico { background: #fff; color: var(--navy); }

/* legacy hooks kept for mobile sheet cloning */
.nav-drop-card, .nav-drop-ico, .nav-drop-copy { display: none; }

@media (max-width: 1180px) {
  .nav-drop-panel,
  .nav-veil { display: none !important; }
}

/* ---------- 01 hero ---------- */
.hero { position: relative; display: grid; justify-items: center; align-content: center; overflow: hidden; isolation: isolate; box-sizing: border-box; height: 100svh; min-height: 100svh; padding: 68px 0 0; background: linear-gradient(180deg, var(--white) 0%, var(--white) 45%, var(--mist) 100%); }
#aurora, #hero-dots { position: absolute; inset: 0; width: 100%; height: 100%; pointer-events: none; }
#aurora { z-index: -3; }
#hero-dots { z-index: -2; }
.hero-veil { position: absolute; inset: 0; z-index: -1; pointer-events: none; background: radial-gradient(46% 18% at 50% 62%, rgba(255, 255, 255, .94), rgba(255, 255, 255, .55) 58%, transparent 80%), radial-gradient(34% 26% at 50% 38%, rgba(255, 255, 255, .9), rgba(255, 255, 255, .2) 62%, transparent 78%); }
/* two soft lights drifting behind the headline */
.hero::before, .hero::after { content: ""; position: absolute; z-index: -4; pointer-events: none; border-radius: 50%; will-change: transform; }
.hero::before { left: 4%; top: 4%; width: 44vw; height: 44vw; background: radial-gradient(closest-side, rgba(2, 65, 123, .08), transparent); animation: drift-a 22s ease-in-out infinite alternate; }
.hero::after { right: 4%; top: 14%; width: 36vw; height: 36vw; background: radial-gradient(closest-side, rgba(248, 180, 0, .06), transparent); animation: drift-b 28s ease-in-out infinite alternate; }
@keyframes drift-a { to { transform: translate3d(14vw, 8vh, 0) scale(1.15); } }
@keyframes drift-b { to { transform: translate3d(-16vw, -6vh, 0) scale(.9); } }
.hero-badge { padding: .7em 1.2em; border-radius: var(--radius-pill); background: var(--white); box-shadow: var(--shadow-sm), inset 0 0 0 1px var(--line); color: var(--navy-2); letter-spacing: var(--track-caps-wide); }
.hero-copy { align-self: center; text-align: center; display: grid; justify-items: center; gap: var(--space-5); padding: 0 var(--gutter); max-width: 1100px; }
.hero h1 { font-size: var(--fs-hero); font-weight: 800; letter-spacing: -.052em; line-height: .98; }
.hero-sub { font-size: var(--fs-lede); line-height: 1.5; max-width: 36em; color: var(--navy); font-weight: 500; }
.hero-facts { position: relative; z-index: 2; width: min(1180px, calc(100% - 2 * var(--gutter))); display: grid; grid-template-columns: repeat(4, 1fr); gap: 8px; margin: 28px auto 0; padding: 8px; border-radius: 18px; background: #fff; border: 1px solid #e6e8ec; box-shadow: 0 1px 2px rgba(11, 37, 69, .04), 0 18px 40px -28px rgba(11, 37, 69, .2); }
.hero-facts li { padding: 16px 18px; border-radius: 12px; transition: background .25s ease, opacity .25s ease, transform .25s ease; }
.hero-facts:hover li { opacity: .4; }
.hero-facts li:hover { opacity: 1; background: #f4f7fb; transform: translateY(-2px); }
.hero-facts b { display: block; color: var(--navy); font-size: var(--fs-md); font-weight: 600; letter-spacing: -.01em; transition: color .25s ease; }
.hero-facts li:hover b { color: var(--navy-2); }
.hero-facts span { display: block; margin-top: var(--space-1); font-size: var(--fs-xs); line-height: 1.4; color: var(--mute); }
.scroll-cue { position: absolute; left: 50%; bottom: 168px; width: 26px; height: 42px; margin-left: -13px; border-radius: 14px; box-shadow: inset 0 0 0 1.5px var(--navy); opacity: .35; }
.scroll-cue span { position: absolute; left: 50%; top: 8px; width: 3px; height: 8px; margin-left: -1.5px; border-radius: 3px; background: var(--navy); animation: cue 2s var(--ease) infinite; }
@keyframes cue { 0% { transform: translateY(0); opacity: 1; } 80%, 100% { transform: translateY(16px); opacity: 0; } }
.rise { opacity: 0; transform: translateY(34px); animation: rise 1.3s var(--ease) forwards; animation-delay: calc(.25s + var(--i) * .13s); }
/* if motion is blocked mid-flight, never leave hero copy invisible */
@media (prefers-reduced-motion: reduce) {
  .rise { opacity: 1; transform: none; animation: none; }
}
@keyframes rise { to { opacity: 1; transform: none; } }

/* ---------- pinned scroll scenes ---------- */
[data-pin] { position: relative; }
.pin { position: sticky; top: 0; height: 100svh; overflow: hidden; }

/* ---------- 02 product ---------- */
.product { height: 280vh; background: var(--mist); }
.product .pin { display: grid; grid-template-rows: auto 1fr; justify-items: center; }
.product-head { text-align: center; padding-top: clamp(84px, 13vh, 132px); display: grid; gap: var(--space-5); justify-items: center; opacity: calc(1 - var(--p, 0) * 1.5); transform: translateY(calc(var(--p, 0) * -70px)) scale(calc(1 - var(--p, 0) * .08)); }
.product-head h2 { font-size: var(--fs-h2); font-weight: 700; letter-spacing: -.045em; }
.device-scene { width: 100%; perspective: 1800px; perspective-origin: 50% 0%; display: grid; justify-items: center; align-items: start; }
.device { --e: 0; position: relative; width: min(1040px, 88vw); transform-style: preserve-3d; transform-origin: 50% 0; transform: translateY(calc(6vh - var(--e) * 17vh)) rotateX(calc(64deg - var(--e) * 64deg)) scale(calc(.74 + var(--e) * .26)); will-change: transform; }
.device-glow { position: absolute; inset: 8% 4% -10%; border-radius: 50%; background: radial-gradient(closest-side, rgba(11, 37, 69, .22), transparent 72%); filter: blur(10px); transform: translateZ(-120px); opacity: calc(.5 + var(--e) * .5); }
.dash { position: relative; transform-style: preserve-3d; padding: clamp(18px, 2.4vw, 34px); border-radius: clamp(18px, 2.2vw, 30px); background: linear-gradient(180deg, var(--white), #FAFBFD); box-shadow: inset 0 0 0 1px var(--line), var(--bevel), var(--shadow-lg); }
.dash > * { transform-style: preserve-3d; }
.dash-head { display: flex; justify-content: space-between; align-items: center; }
.dash-title { font-weight: 700; font-size: clamp(1rem, 1.6vw, 1.35rem); color: var(--navy); letter-spacing: -.02em; }
.dash-stats { display: grid; grid-template-columns: repeat(3, 1fr); gap: clamp(8px, 1.2vw, 16px); margin-top: clamp(12px, 1.8vw, 24px); transform: translateZ(calc((1 - var(--e)) * 60px)); }
.stat { padding: clamp(12px, 1.6vw, 22px); border-radius: clamp(12px, 1.4vw, 18px); background: var(--white); box-shadow: inset 0 0 0 1px var(--line), var(--shadow-sm); }
.stat span { display: block; font-size: clamp(.6rem, .85vw, .76rem); font-weight: 600; letter-spacing: .12em; text-transform: uppercase; color: var(--mute); }
.stat b { display: block; margin-top: var(--space-1); font-size: clamp(1.1rem, 2.6vw, 2.3rem); font-weight: 700; color: var(--navy); letter-spacing: -.04em; line-height: 1.1; }
.stat-navy { background: linear-gradient(160deg, var(--navy-3), var(--navy)); box-shadow: var(--bevel-dark), var(--shadow-md); }
.stat-navy span { color: var(--on-dark-2); }
.stat-navy b { color: var(--yellow); }
.chart { display: flex; align-items: flex-end; gap: clamp(6px, 1vw, 14px); height: clamp(110px, 22vh, 230px); margin-top: clamp(10px, 1.4vw, 18px); padding: clamp(12px, 1.6vw, 22px) clamp(12px, 1.6vw, 22px) 0; border-radius: clamp(12px, 1.4vw, 18px); background: var(--mist); box-shadow: inset 0 0 0 1px var(--line); transform: translateZ(calc((1 - var(--e)) * 30px)); }
.chart i { flex: 1; height: calc(var(--h) * var(--e, 1)); border-radius: var(--radius-sm) var(--radius-sm) 0 0; background: linear-gradient(180deg, #9FB4CF, #D5DFEC); }
.chart .hi { background: linear-gradient(180deg, var(--yellow), var(--yellow-2)); }
.dash-apps { display: flex; flex-wrap: wrap; gap: var(--space-2); margin-top: clamp(10px, 1.4vw, 18px); }
.dash-apps span { font-size: clamp(.64rem, .9vw, .8rem); font-weight: 600; color: var(--navy); background: var(--navy-tint); padding: .5em 1em; border-radius: var(--radius-pill); }
.chip { position: absolute; display: flex; align-items: center; gap: var(--space-3); padding: var(--space-4) var(--space-5); border-radius: var(--radius-lg); background: rgba(255, 255, 255, .92); backdrop-filter: blur(14px); color: var(--mute); font-size: var(--fs-xs); line-height: 1.3; box-shadow: inset 0 0 0 1px var(--line), var(--shadow-lg); opacity: var(--e); }
.chip b { display: block; color: var(--navy); font-size: var(--fs-md); letter-spacing: -.01em; }
.chip .ic { width: 38px; height: 38px; padding: 9px; border-radius: var(--radius-md); background: rgba(248, 180, 0, .22); color: var(--navy); }
.chip-a { right: -6%; top: -5%; transform: translateZ(90px) translateX(calc((1 - var(--e)) * 120px)); }
.chip-b { left: -7%; bottom: 30%; transform: translateZ(120px) translateX(calc((1 - var(--e)) * -120px)); }
.chip-b .ic { background: var(--green-50); color: var(--green-700); }

/* ---------- 03 statement ---------- */
.statement { background: var(--white); padding: clamp(110px, 20vh, 240px) 0; }
.statement p { width: min(1100px, 100% - 2 * var(--gutter)); margin-inline: auto; font-size: var(--fs-h2); font-weight: 700; letter-spacing: -.04em; line-height: 1.1; color: #D6DDE7; }
.statement .w { transition: color .5s ease, background-size .6s var(--ease); }
.statement .w.lit { color: var(--navy); }
.statement .w.key { background: linear-gradient(var(--yellow), var(--yellow)) 0 88% / 0 26% no-repeat; }
.statement .w.lit.key { background-size: 100% 26%; }

/* ---------- 03b see it work: live product demos ---------- */
.demo-tabs { display: grid; grid-template-columns: repeat(4, 1fr); gap: var(--space-3); margin-top: var(--block-gap); }
.demo-tab { position: relative; overflow: hidden; display: flex; align-items: center; gap: var(--space-3); padding: var(--space-4) var(--space-5); border: 0; border-radius: var(--radius-lg); background: var(--white); text-align: left; cursor: pointer; font: inherit; color: var(--body); box-shadow: inset 0 0 0 1px var(--line), var(--shadow-sm); transition: box-shadow .4s var(--ease), transform .4s var(--ease); }
.demo-tab:hover { transform: translateY(-2px); box-shadow: inset 0 0 0 1px var(--line), var(--shadow-md); }
.demo-tab .ic { width: 40px; height: 40px; padding: 10px; border-radius: var(--radius-md); background: var(--navy-tint); color: var(--navy); transition: background .4s, color .4s; }
.demo-tab b { display: block; color: var(--navy); font-size: var(--fs-md); font-weight: 600; letter-spacing: -.01em; }
.demo-tab small { display: block; font-size: var(--fs-xs); color: var(--mute); }
.demo-tab i { position: absolute; left: 0; bottom: 0; height: 3px; width: 0; background: var(--yellow); }
.demo-tab.on { box-shadow: inset 0 0 0 1.5px var(--navy), var(--shadow-md); }
.demo-tab.on .ic { background: var(--navy); color: var(--yellow); }
.demo-tab.run i { width: 100%; transition: width var(--dur, 10s) linear; }

.demo-stage { margin-top: var(--space-6); perspective: 1800px; }
.win { overflow: hidden; border-radius: var(--radius-xl); background: var(--white); box-shadow: inset 0 0 0 1px var(--line), var(--shadow-lg); transform-origin: 50% 0; transform: rotateX(12deg) scale(.95); transition: transform 1.4s var(--ease); }
.demo-stage.in .win { transform: none; }
.win-bar { display: flex; align-items: center; gap: var(--space-3); height: 48px; padding: 0 var(--space-4); border-bottom: 1px solid var(--line); background: #FAFBFD; }
.win-dots { display: flex; gap: 6px; }
.win-dots i { width: 10px; height: 10px; border-radius: 50%; background: var(--line); }
.win-url { min-width: 0; overflow: hidden; text-overflow: ellipsis; margin-inline: auto; padding: var(--space-1) var(--space-4); border-radius: var(--radius-pill); background: var(--white); box-shadow: inset 0 0 0 1px var(--line); font-size: var(--fs-xs); color: var(--mute); white-space: nowrap; }
.win-url b { color: var(--navy); font-weight: 600; }
.win-user { flex: none; display: grid; place-items: center; width: 28px; height: 28px; border-radius: 50%; background: var(--navy); color: var(--white); font-size: var(--fs-micro); font-weight: 700; }
.win-body { display: grid; grid-template-columns: 200px minmax(0, 1fr) 250px; height: 560px; }
.win-side { display: flex; flex-direction: column; gap: 2px; padding: var(--space-4) var(--space-3); border-right: 1px solid var(--line); background: #FAFBFD; }
.win-org { display: flex; align-items: center; gap: var(--space-2); margin-bottom: var(--space-3); padding: var(--space-1) var(--space-2); font-size: var(--fs-xs); font-weight: 600; color: var(--navy); }
.win-org span { display: grid; place-items: center; width: 24px; height: 24px; border-radius: 6px; background: var(--yellow); color: var(--navy); font-size: .6rem; font-weight: 800; }
.win-side a { display: flex; align-items: center; gap: 10px; padding: var(--space-2) 10px; border-radius: var(--radius-sm); font-size: var(--fs-sm); color: var(--ink); opacity: .72; transition: background .3s, opacity .3s, color .3s; }
.win-side a.on { background: var(--navy-tint); color: var(--navy); font-weight: 600; opacity: 1; }
.win-main { position: relative; overflow: hidden; }
.win-feed { padding: var(--space-4); border-left: 1px solid var(--line); background: #FAFBFD; overflow: hidden; }
.feed-h { margin-bottom: var(--space-3); font-size: var(--fs-micro); font-weight: 600; letter-spacing: var(--track-caps-wide); text-transform: uppercase; color: var(--mute); }
.feed li { display: grid; grid-template-columns: 22px 1fr; gap: var(--space-2); padding: var(--space-2) 0; font-size: var(--fs-xs); line-height: 1.4; color: var(--body); animation: feed-in .5s var(--ease); }
.feed li::before { content: attr(data-who); display: grid; place-items: center; width: 22px; height: 22px; border-radius: 50%; background: var(--navy-tint); color: var(--navy); font-size: .55rem; font-weight: 700; }
.feed li[data-who="FB"]::before { background: var(--navy); color: var(--yellow); }
.feed b { color: var(--navy); font-weight: 600; }
.feed time { display: block; font-size: var(--fs-micro); color: var(--mute); }
@keyframes feed-in { from { opacity: 0; transform: translateY(-6px); } }

/* scene frame */
.scene { position: absolute; inset: var(--space-5) var(--space-6); display: flex; flex-direction: column; gap: var(--space-4); opacity: 0; visibility: hidden; transition: opacity .45s ease, visibility 0s .45s; }
.scene.on { opacity: 1; visibility: visible; transition: opacity .45s ease; }
.sc-head { display: flex; align-items: center; justify-content: space-between; gap: var(--space-3); }
.sc-head h4 { font-size: var(--fs-lg); font-weight: 700; letter-spacing: -.02em; }
.sc-status { display: inline-flex; align-items: center; gap: 6px; padding: .4em .9em; border-radius: var(--radius-pill); font-size: var(--fs-micro); font-weight: 700; letter-spacing: var(--track-caps); text-transform: uppercase; color: var(--mute); background: var(--white); box-shadow: inset 0 0 0 1px var(--line); white-space: nowrap; }
.sc-status::before { content: ""; width: 6px; height: 6px; border-radius: 50%; background: currentColor; }
.sc-status[data-state="work"] { color: var(--navy-2); background: var(--navy-tint); box-shadow: none; }
.sc-status[data-state="work"]::before { background: var(--yellow); animation: blink 1s ease-in-out infinite; }
.sc-status[data-state="done"] { color: var(--green-700); background: var(--green-50); box-shadow: none; }
@keyframes blink { 50% { opacity: .25; } }
/* Linear-style "working" text */
.shimmer { background: linear-gradient(90deg, var(--mute) 0%, var(--navy) 45%, var(--mute) 90%) 0 0 / 220% 100%; -webkit-background-clip: text; background-clip: text; color: transparent !important; animation: shimmer 1.4s linear infinite; }
@keyframes shimmer { to { background-position: -220% 0; } }
.amt { text-align: right; font-variant-numeric: tabular-nums; }

/* receipt */
.rc { flex: 1; min-height: 0; display: grid; grid-template-columns: 220px minmax(0, 1fr); gap: var(--space-6); }
.rc-doc { position: relative; overflow: hidden; padding: var(--space-5) var(--space-4); border-radius: var(--radius-lg); background: var(--mist); box-shadow: inset 0 0 0 1px var(--line); }
.rc-paper { padding: var(--space-4) var(--space-3); background: var(--white); box-shadow: var(--shadow-md); transform: rotate(-1.5deg); font: 500 11px/1.55 ui-monospace, "SFMono-Regular", Consolas, monospace; color: #374151; }
.rc-brand { text-align: center; font-weight: 700; font-size: 13px; letter-spacing: .12em; color: var(--navy); line-height: 1.2; }
.rc-brand small { font-size: 9px; letter-spacing: .2em; }
.rc-meta, .rc-lines li, .rc-sum { display: flex; justify-content: space-between; gap: var(--space-2); }
.rc-meta { margin: var(--space-2) 0; padding-bottom: var(--space-2); border-bottom: 1px dashed #CBD5E1; }
.rc-lines span:first-child { overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.rc-sum { margin-top: var(--space-1); }
.rc-sum:first-of-type { margin-top: var(--space-2); padding-top: var(--space-2); border-top: 1px dashed #CBD5E1; }
.rc-total { font-weight: 700; color: var(--navy); }
[data-box] { border-radius: 3px; transition: background .3s, box-shadow .3s; }
[data-box].hit { background: rgba(248, 180, 0, .16); box-shadow: 0 0 0 2px var(--yellow); }
.rc-scan { position: absolute; left: 0; right: 0; top: 0; height: 56px; opacity: 0; pointer-events: none; background: linear-gradient(180deg, transparent, rgba(2, 65, 123, .12)); border-bottom: 2px solid var(--navy-2); transition: opacity .3s; }
.rc-doc.scanning .rc-scan { opacity: 1; animation: scan 1.3s ease-in-out infinite alternate; }
@keyframes scan { to { top: calc(100% - 56px); } }
.rc-panel { display: flex; flex-direction: column; gap: var(--space-4); min-width: 0; }
.steps { display: flex; gap: var(--space-2); }
.steps li { flex: 1; display: flex; align-items: center; gap: var(--space-2); padding: var(--space-2) 10px; border-radius: var(--radius-md); background: var(--mist); box-shadow: inset 0 0 0 1px var(--line); font-size: var(--fs-xs); color: var(--mute); transition: background .3s, color .3s, box-shadow .3s; }
.steps li::before { content: ""; flex: none; width: 12px; height: 12px; border-radius: 50%; border: 2px solid var(--line); }
.steps li.active { background: var(--white); color: var(--navy); box-shadow: inset 0 0 0 1px var(--line), var(--shadow-sm); }
.steps li.active::before { border-color: var(--navy-2); border-top-color: transparent; animation: spin .8s linear infinite; }
.steps li.done { color: var(--green-700); }
.steps li.done::before { border-color: var(--green); background: var(--green); box-shadow: inset 0 0 0 2px var(--white); }
@keyframes spin { to { transform: rotate(360deg); } }
.rc-fields { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 10px; }
.rc-fields > div { padding: 10px var(--space-3); border-radius: var(--radius-md); background: var(--white); box-shadow: inset 0 0 0 1px var(--line); opacity: .45; transition: opacity .4s, box-shadow .4s; }
.rc-fields > div.on { opacity: 1; box-shadow: inset 0 0 0 1px var(--line), var(--shadow-sm); }
.rc-fields dt { display: flex; justify-content: space-between; align-items: center; font-size: var(--fs-micro); font-weight: 600; letter-spacing: var(--track-caps); text-transform: uppercase; color: var(--mute); }
.rc-fields em { font-style: normal; font-weight: 500; letter-spacing: 0; opacity: 0; transition: opacity .3s; }
.rc-fields .on em { opacity: 1; }
.rc-fields dd { margin: var(--space-1) 0 0; min-height: 1.45em; font-size: var(--fs-md); font-weight: 600; color: var(--navy); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.rc-fields dd.typing::after { content: ""; display: inline-block; width: 2px; height: 1em; margin-left: 2px; vertical-align: -2px; background: var(--navy-2); animation: blink .8s step-end infinite; }
.flag { padding: 1px 6px; border-radius: var(--radius-pill); background: #FEF3C7; color: #92400E; letter-spacing: 0; text-transform: none; opacity: 0; transition: opacity .3s; }
.unsure.on .flag { opacity: 1; }
.unsure.on { box-shadow: inset 0 0 0 1px #FCD34D, var(--shadow-sm) !important; }
.rc-account { display: flex; justify-content: space-between; align-items: center; gap: var(--space-3); padding: 10px var(--space-3); border-radius: var(--radius-md); background: var(--navy-tint); font-size: var(--fs-xs); color: var(--navy-2); opacity: 0; transform: translateY(6px); transition: opacity .4s, transform .5s var(--ease); }
.rc-account.on { opacity: 1; transform: none; }
.rc-account b { color: var(--navy); font-size: var(--fs-sm); }
.pipe { display: flex; gap: var(--space-2); margin-top: auto; }
.pipe li, .track li { flex: 1; padding-top: 10px; border-top: 3px solid var(--line); font-size: var(--fs-micro); font-weight: 600; color: var(--mute); transition: border-color .4s, color .4s; }
.pipe li.done, .track li.done { border-color: var(--navy-2); color: var(--navy); }
.pipe li.done:last-child, .track li.done:last-child { border-color: var(--green); color: var(--green-700); }
.track li.active { border-color: var(--yellow); }

/* tables (bank, payroll) */
.bk, .pr { width: 100%; border-collapse: collapse; font-size: var(--fs-sm); }
.bk th, .pr th { padding: 6px var(--space-2); border-bottom: 1px solid var(--line); text-align: left; font-size: var(--fs-micro); font-weight: 600; letter-spacing: var(--track-caps); text-transform: uppercase; color: var(--mute); }
.bk th.amt, .pr th.amt { text-align: right; }
.bk td, .pr td { padding: 9px var(--space-2); border-bottom: 1px solid var(--line); color: var(--ink); white-space: nowrap; }
.bk .in { color: var(--green-700); }
.bk tbody tr { opacity: 0; transform: translateY(6px); transition: opacity .4s, transform .5s var(--ease), background .3s; }
.bk tbody tr.on { opacity: 1; transform: none; }
.bk tbody tr.focus { background: rgba(248, 180, 0, .09); }
.st { display: inline-flex; padding: 2px var(--space-2); border-radius: var(--radius-pill); font-size: var(--fs-micro); font-weight: 600; color: var(--mute); background: var(--white); box-shadow: inset 0 0 0 1px var(--line); }
.st.ok { color: var(--green-700); background: var(--green-50); box-shadow: none; }
.st.review { color: #92400E; background: #FEF3C7; box-shadow: none; }
.bk-meter { display: flex; align-items: center; gap: var(--space-3); font-size: var(--fs-xs); color: var(--mute); }
.bk-meter i { flex: 1; height: 6px; overflow: hidden; border-radius: var(--radius-pill); background: var(--line); }
.bk-meter b { display: block; height: 100%; width: 0; border-radius: inherit; background: var(--navy-2); transition: width .6s var(--ease); }
.bk-match { position: absolute; right: 0; bottom: 0; width: 360px; padding: var(--space-4); border-radius: var(--radius-lg); background: var(--white); box-shadow: inset 0 0 0 1px var(--line), var(--shadow-lg); opacity: 0; transform: translateY(14px) scale(.98); pointer-events: none; transition: opacity .4s, transform .6s var(--ease); }
.bk-match.on { opacity: 1; transform: none; }
.bk-match-h { font-size: var(--fs-sm); font-weight: 600; color: var(--navy); }
.bk-match-h small { display: block; font-size: var(--fs-micro); font-weight: 500; color: var(--mute); }
.bk-cand { display: grid; grid-template-columns: 30px minmax(0, 1fr) auto; column-gap: 10px; align-items: center; margin-top: var(--space-2); padding: 10px; border-radius: var(--radius-md); box-shadow: inset 0 0 0 1px var(--line); }
.bk-cand > .ic, .bk-cand > div { grid-row: span 2; }
.bk-cand > .ic { width: 30px; height: 30px; padding: 7px; border-radius: var(--radius-sm); background: var(--navy-tint); color: var(--navy); }
.bk-cand b { display: block; font-size: var(--fs-xs); color: var(--navy); }
.bk-cand small { display: block; font-size: var(--fs-micro); color: var(--mute); }
.bk-cand .why { color: var(--navy-2); }
.bk-cand.on { background: #F7FAFD; box-shadow: inset 0 0 0 2px var(--navy-2); }
.conf { justify-self: end; padding: 2px var(--space-2); border-radius: var(--radius-pill); font-size: var(--fs-micro); font-weight: 700; }
.conf.strong { color: var(--green-700); background: var(--green-50); }
.conf.weak { color: var(--mute); background: var(--mist); }
.likely { justify-self: end; font-size: .62rem; font-weight: 600; color: var(--green-700); }
.bk-confirm { display: table; margin: var(--space-3) 0 0 auto; padding: 6px var(--space-4); border-radius: var(--radius-pill); background: var(--yellow); color: var(--navy); font-size: var(--fs-xs); font-weight: 600; box-shadow: inset 0 -2px 0 rgba(11, 37, 69, .14); transition: transform .15s; }
.bk-confirm.press { transform: scale(.93); }

/* payroll */
.pr-period { display: flex; flex-wrap: wrap; gap: var(--space-4); font-size: var(--fs-xs); color: var(--mute); }
.pr-period b { color: var(--navy); }
.pr tfoot td { border-top: 2px solid var(--line); border-bottom: 0; font-weight: 700; color: var(--navy); }
.pr td.calc { color: var(--mute); }
.pr-file { margin-top: auto; padding: var(--space-4); border-radius: var(--radius-lg); background: var(--white); box-shadow: inset 0 0 0 1px var(--line), var(--shadow-sm); opacity: .4; transition: opacity .4s, box-shadow .4s; }
.pr-file.on { opacity: 1; box-shadow: inset 0 0 0 1px var(--line), var(--shadow-md); }
.pr-file-h { display: flex; justify-content: space-between; align-items: center; font-size: var(--fs-sm); }
.pr-file-h b { color: var(--navy); }
.mode { padding: 2px var(--space-2); border-radius: var(--radius-pill); background: var(--navy); color: var(--white); font-size: var(--fs-micro); font-weight: 700; letter-spacing: var(--track-caps); text-transform: uppercase; }
.track { display: flex; gap: var(--space-2); margin: var(--space-3) 0 var(--space-2); }
.pr-corr { font-size: var(--fs-micro); color: var(--mute); }
.pr-corr code, .vt-done code { font: 600 var(--fs-xs) ui-monospace, Consolas, monospace; color: var(--navy); }

/* vat */
.vt { flex: 1; min-height: 0; display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.25fr); gap: var(--space-5); align-items: start; }
.vt-file { display: flex; align-items: center; gap: var(--space-2); margin-bottom: var(--space-2); font-size: var(--fs-xs); font-weight: 600; color: var(--navy); }
.sheet { width: 100%; border-collapse: collapse; font-size: 12px; background: var(--white); }
.sheet th { padding: 3px 6px; border: 1px solid var(--line); background: var(--mist); font-weight: 500; font-size: 10px; color: var(--mute); }
.sheet td { padding: 6px var(--space-2); border: 1px solid var(--line); color: var(--ink); white-space: nowrap; transition: background .3s, box-shadow .3s; }
.sheet td[data-cell] { text-align: right; font-variant-numeric: tabular-nums; }
.sheet td.hit { background: rgba(248, 180, 0, .16); box-shadow: inset 0 0 0 2px var(--yellow); }
.vt-boxes { display: grid; grid-template-columns: repeat(3, 1fr); gap: var(--space-2); }
.vt-boxes > div { padding: 10px; border-radius: var(--radius-md); background: var(--white); box-shadow: inset 0 0 0 1px var(--line); transition: box-shadow .4s, transform .4s var(--ease); }
.vt-boxes > div.fill { box-shadow: inset 0 0 0 2px var(--navy-2); transform: translateY(-2px); }
.vt-boxes span { display: grid; place-items: center; width: 20px; height: 20px; border-radius: 50%; background: var(--navy-tint); color: var(--navy); font-size: .62rem; font-weight: 700; }
.vt-boxes p { margin: 6px 0 2px; min-height: 2.5em; font-size: var(--fs-micro); line-height: 1.25; color: var(--mute); }
.vt-boxes b { font-size: var(--fs-md); color: var(--navy); font-variant-numeric: tabular-nums; }
.vt-boxes .key { background: linear-gradient(160deg, var(--navy-3), var(--navy)); box-shadow: var(--bevel-dark); }
.vt-boxes .key span { background: var(--yellow); }
.vt-boxes .key p { color: var(--on-dark-2); }
.vt-boxes .key b { color: var(--yellow); }
.vt-done { display: flex; align-items: center; gap: 10px; padding: 10px var(--space-4); border-radius: var(--radius-md); background: var(--green-50); color: var(--green-700); font-size: var(--fs-xs); opacity: 0; transform: translateY(8px); transition: opacity .4s, transform .5s var(--ease); }
.vt-done.on { opacity: 1; transform: none; }

@media (max-width: 1100px) {
  .win-body { grid-template-columns: 190px minmax(0, 1fr); }
  .win-feed { display: none; }
}
@media (max-width: 960px) {
  .demo-tabs { grid-template-columns: repeat(2, 1fr); }
  .win-body { display: block; height: auto; }
  .win-side { display: none; }
  .win-main { min-height: 540px; padding: var(--space-4); }
  .scene { position: static; display: none; }
  .scene.on { display: flex; }
  .rc, .vt { grid-template-columns: 1fr; }
  .rc-doc { max-height: 220px; }
  .bk-match { position: static; width: auto; margin-top: var(--space-2); }
  .bk-match:not(.on) { display: none; }
}
@media (max-width: 600px) {
  .demo-tab { padding: var(--space-3); }
  .demo-tab small { display: none; }
  .demo-tab .ic { width: 32px; height: 32px; padding: 8px; }
  .hide-s { display: none; }
  .bk, .pr { font-size: var(--fs-xs); }
  .bk td, .pr td, .bk th, .pr th { padding-inline: 4px; }
  .bk td:nth-child(2) { max-width: 120px; overflow: hidden; text-overflow: ellipsis; }
  .steps { flex-direction: column; }
  .rc-fields { grid-template-columns: 1fr; }
  .win-url { font-size: var(--fs-micro); }
}

/* ---------- 04 apps deck ---------- */
.apps { height: 420vh; background: var(--white); }
.apps .pin { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.05fr); align-items: center; gap: var(--space-6); width: min(1320px, 100% - 2 * var(--gutter)); margin-inline: auto; }
.apps-copy { display: grid; gap: var(--space-8); align-content: center; }
.apps-slides { position: relative; height: clamp(330px, 46vh, 420px); }
.slide { position: absolute; inset: 0; display: grid; align-content: start; gap: var(--space-4); opacity: 0; transform: translateY(40px); transition: opacity .5s ease, transform .8s var(--ease); pointer-events: none; }
.slide.on { opacity: 1; transform: none; pointer-events: auto; }
.slide.past { transform: translateY(-40px); }
.num { font-size: var(--fs-xs); font-weight: 600; letter-spacing: var(--track-caps-wide); color: var(--mute); font-variant-numeric: tabular-nums; }
.num::after { content: " / 07"; opacity: .6; }
.slide h2 { font-size: var(--fs-display); font-weight: 800; letter-spacing: -.05em; line-height: .96; }
.slide .tag { color: var(--navy-2); font-size: var(--fs-lede); font-weight: 600; letter-spacing: -.02em; line-height: 1.25; }
.slide p:last-child { max-width: 30em; font-size: var(--fs-base); }
.apps-foot { display: flex; align-items: center; gap: var(--space-8); }
.ticks { display: flex; gap: var(--space-2); }
.ticks i { width: 22px; height: 3px; border-radius: var(--radius-pill); background: var(--line); transition: background .4s, width .6s var(--ease); }
.ticks i.on { width: 44px; background: var(--yellow); }

/* a 3D deck: the active card sits in front, the next few recede behind it in depth.
   Only transform and opacity change, so scrolling stays on the compositor. */
.deck-scene { position: relative; height: 100%; display: grid; place-items: center; perspective: 1400px; }
.deck-scene::before { content: ""; position: absolute; inset: 18% 6% 10%; background: radial-gradient(closest-side, rgba(11, 37, 69, .1), transparent); pointer-events: none; }
.deck { position: relative; width: min(400px, 78%); height: min(460px, 62vh); transform-style: preserve-3d; transform: rotateY(-16deg) rotateX(8deg); }
.panel { --k: 0; position: absolute; inset: 0; z-index: calc(10 - var(--k)); display: flex; flex-direction: column; justify-content: flex-end; gap: var(--space-2); padding: var(--space-8); border-radius: var(--radius-xl); color: var(--on-dark-2); font-size: var(--fs-sm); background: radial-gradient(120% 80% at 0% 0%, rgba(255, 255, 255, .1), transparent 50%), linear-gradient(160deg, var(--navy-3) 0%, var(--navy) 60%, #071B33 100%); box-shadow: var(--bevel-dark), 0 30px 60px -24px rgba(11, 37, 69, .55); opacity: calc(1 - var(--k) * .22); transform: translate3d(calc(var(--k) * 34px), calc(var(--k) * -26px), calc(var(--k) * -70px)); transition: transform .7s var(--ease), opacity .5s ease; }
.panel.past { opacity: 0; transform: translate3d(-60px, 30px, 80px) rotate(-4deg); }
.panel b { color: var(--white); font-size: var(--fs-xl); font-weight: 700; letter-spacing: -.035em; line-height: 1.05; }
.panel em { position: absolute; top: var(--space-8); right: var(--space-8); font-style: normal; font-size: var(--fs-micro); font-weight: 700; letter-spacing: var(--track-caps); text-transform: uppercase; padding: .5em .9em; border-radius: var(--radius-pill); color: var(--green-700); background: var(--green-50); }
.hexi { position: absolute; top: var(--space-8); left: var(--space-8); width: 96px; height: 84px; display: grid; place-items: center; clip-path: var(--hex); background: rgba(248, 180, 0, .14); color: var(--yellow); transition: background .5s, color .5s; }
.hexi .ic { width: 38px; height: 38px; stroke-width: 1.5; }
.panel.front .hexi { background: linear-gradient(160deg, var(--amber), var(--yellow-2)); color: var(--navy); }

/* ---------- bands ---------- */
.band { padding: var(--section-y) 0; position: relative; }
.band-light { background: var(--white); }
.band-mist { background: var(--mist); }
.band-dark { background: var(--navy); color: var(--on-dark); }
.band-dark h2, .band-dark h3, .band-dark .display { color: var(--white); }
.band-dark .eyebrow { color: var(--on-dark); }
.two { display: grid; grid-template-columns: minmax(0, 1.1fr) minmax(0, 1fr); gap: clamp(32px, 6vw, 96px); align-items: center; }
.two > div:first-child { display: grid; gap: var(--space-6); justify-items: start; }

.next { display: grid; gap: var(--space-5); }
.next-card { display: grid; gap: var(--space-2); justify-items: start; padding: var(--space-8); border-radius: var(--radius-xl); background: var(--white); box-shadow: inset 0 0 0 1px var(--line), var(--shadow-md); }
.next-card h3 { margin-top: var(--space-2); font-size: var(--fs-xl); font-weight: 700; }
.next-card .tag { color: var(--navy-2); font-weight: 600; }
.next-card p:last-child { font-size: var(--fs-md); }

/* ---------- 06 thresholds (the navy band) ---------- */
.mtd { background: radial-gradient(90% 70% at 50% 110%, var(--navy-2) 0%, var(--navy) 70%); overflow: hidden; }
.thresholds { display: grid; grid-template-columns: repeat(3, 1fr); gap: var(--space-5); margin: var(--block-gap) 0; padding: 0; list-style: none; perspective: 1200px; }
.th { position: relative; padding: var(--space-10) var(--space-10) var(--space-12); display: grid; gap: var(--space-3); overflow: hidden; border-radius: var(--radius-xl); background: linear-gradient(180deg, rgba(255, 255, 255, .09), rgba(255, 255, 255, .03)); box-shadow: inset 0 0 0 1px var(--hair), var(--bevel-dark), 0 30px 60px -30px rgba(0, 0, 0, .5); }
.th.tilt::after { background: radial-gradient(420px circle at var(--mx, 50%) var(--my, 0%), rgba(255, 255, 255, .12), transparent 45%); }
.th span { font-size: var(--fs-xs); font-weight: 600; letter-spacing: var(--track-caps-wide); text-transform: uppercase; color: var(--on-dark-2); }
.th b { font-size: clamp(2.2rem, 4.2vw, 3.4rem); font-weight: 600; letter-spacing: -.04em; line-height: 1; color: rgba(255, 255, 255, .92); font-variant-numeric: tabular-nums; }
.th i { position: absolute; left: 0; bottom: 0; height: 2px; width: 0; background: rgba(255, 255, 255, .3); transition: width 1.6s var(--ease) .3s; }
.th.in i { width: var(--lvl); }
.fine-dark { color: var(--on-dark-2); max-width: 52em; margin: 0 0 var(--space-4); }

/* ---------- 07 who ---------- */
.who { display: grid; grid-template-columns: repeat(3, 1fr); gap: var(--space-5); margin-top: var(--block-gap); }
.who-card { padding: var(--space-10); display: grid; gap: var(--space-2); align-content: start; border-radius: var(--radius-xl); background: #fff; box-shadow: 0 1px 2px rgba(11, 37, 69, .05), 0 16px 36px -22px rgba(11, 37, 69, .28); }
.who-card img { width: 64px; height: 64px; margin-bottom: var(--space-4); padding: var(--space-2); border-radius: var(--radius-lg); background: linear-gradient(180deg, var(--white), var(--mist)); box-shadow: var(--bevel), inset 0 0 0 1px var(--line), var(--shadow-md); transform: translateZ(40px); }
.who-card h3 { font-size: var(--fs-lg); font-weight: 700; }
.who-card p:last-child { font-size: var(--fs-md); }

/* ---------- 08 pricing ---------- */
.toggle { display: inline-flex; padding: var(--space-1); border-radius: var(--radius-pill); background: var(--white); box-shadow: inset 0 0 0 1px var(--line), var(--shadow-sm); margin-top: var(--space-2); }
.toggle button { border: 0; background: none; cursor: pointer; font: 600 var(--fs-sm) Inter, sans-serif; color: var(--body); padding: .65em 1.5em; border-radius: var(--radius-pill); transition: background .3s, color .3s; }
.toggle button.on { background: var(--navy); color: var(--white); box-shadow: var(--bevel-dark); }
.plans { display: grid; grid-template-columns: repeat(3, 1fr); gap: var(--space-5); margin-top: var(--block-gap); align-items: stretch; }
.plan { display: flex; flex-direction: column; padding: var(--space-10) var(--space-8) var(--space-8); border-radius: var(--radius-xl); background: var(--white); box-shadow: inset 0 0 0 1px var(--line), var(--shadow-md); }
.plan h3 { font-size: var(--fs-2xl); font-weight: 700; margin-top: var(--space-2); }
.plan-tag { margin: var(--space-2) 0 var(--space-6); min-height: 3em; font-size: var(--fs-md); }
.price { display: flex; align-items: baseline; gap: var(--space-2); overflow: hidden; }
@keyframes plan-swap {
  from { transform: perspective(1100px) translateY(16px) scale(.975); }
  to { transform: perspective(1100px) rotateX(var(--rx, 0deg)) rotateY(var(--ry, 0deg)) translateY(var(--lift, 0px)); }
}
@keyframes plan-swap-down {
  from { transform: perspective(1100px) translateY(-16px) scale(.975); }
  to { transform: perspective(1100px) rotateX(var(--rx, 0deg)) rotateY(var(--ry, 0deg)) translateY(var(--lift, 0px)); }
}
.plan.is-bill { animation: plan-swap .52s cubic-bezier(.2, .8, .2, 1); }
.plans:not(.is-annual) .plan.is-bill { animation-name: plan-swap-down; }
.plan.is-bill:nth-child(2) { animation-delay: .07s; }
.plan.is-bill:nth-child(3) { animation-delay: .14s; }
@keyframes price-up { from { transform: translateY(70%); opacity: 0; } to { transform: none; opacity: 1; } }
.plan.is-bill .price > span,
.plan.is-bill .price-sub { animation: price-up .4s ease; }
.pump { display: inline-flex; align-items: baseline; height: .95em; letter-spacing: 0; }
.pump-reel { display: inline-block; width: 1ch; height: .95em; overflow: hidden; line-height: .95; }
.pump-reel.is-grow { width: 0; }
.pump-strip { display: block; position: relative; top: 0; }
.pump-strip i { display: block; height: .95em; font-style: normal; text-align: center; }
@media (prefers-reduced-motion: reduce) {
  .plan.is-bill,
  .plan.is-bill .price > span,
  .plan.is-bill .price-sub { animation: none; }
}
.price b { font-size: clamp(3.4rem, 5.6vw, 4.6rem); font-weight: 800; letter-spacing: -.06em; line-height: .95; color: var(--navy); font-variant-numeric: tabular-nums; }
.price > span { color: var(--mute); font-size: inherit; font-weight: 500; }
.price-sub { font-size: var(--fs-micro); font-weight: 600; letter-spacing: var(--track-caps-wide); text-transform: uppercase; color: var(--mute); margin: var(--space-3) 0 var(--space-6); }
.list { display: grid; gap: var(--space-3); padding-top: var(--space-6); margin-bottom: var(--space-8); border-top: 1px solid var(--line); font-size: var(--fs-md); color: var(--ink); }
.list li { position: relative; padding-left: var(--space-6); line-height: 1.4; }
.list li::before { content: ""; position: absolute; left: 0; top: .38em; width: 13px; height: 7px; border-left: 2px solid var(--navy-2); border-bottom: 2px solid var(--navy-2); transform: rotate(-45deg); }
.plan .btn { margin-top: auto; width: 100%; }
.plan-pop { background: radial-gradient(120% 60% at 0% 0%, rgba(255, 255, 255, .08), transparent 50%), linear-gradient(170deg, var(--navy-3) 0%, var(--navy) 60%); color: var(--on-dark); margin-block: calc(-1 * var(--space-5)); padding-block: var(--space-14) var(--space-12); box-shadow: var(--bevel-dark), 0 60px 120px -50px rgba(11, 37, 69, .7); }
.plan-pop.tilt::after { background: radial-gradient(420px circle at var(--mx, 50%) var(--my, 0%), rgba(255, 255, 255, .1), transparent 45%); }
.plan-pop h3, .plan-pop .price b { color: var(--white); }
.plan-pop .kicker, .plan-pop .price span, .plan-pop .price-sub { color: var(--on-dark-2); }
.plan-pop .list { border-color: var(--hair); color: rgba(255, 255, 255, .9); }
.plan-pop .list li::before { border-color: var(--yellow); }
.ribbon { position: absolute; top: var(--space-6); right: var(--space-6); font-size: var(--fs-micro); font-weight: 700; letter-spacing: var(--track-caps); text-transform: uppercase; padding: .6em 1em; border-radius: var(--radius-pill); background: var(--yellow); color: var(--navy); }
.plans-note { text-align: center; margin-top: var(--space-14); font-size: var(--fs-sm); color: var(--mute); }
.plans-note a { color: var(--navy-2); font-weight: 600; text-decoration: underline; text-decoration-color: var(--yellow); text-decoration-thickness: 2px; text-underline-offset: 4px; }
/* mobile plan carousel dots — shown only while cards scroll sideways */
.plans-dots {
  display: none;
  justify-content: center;
  align-items: center;
  gap: 8px;
  margin: 16px 0 0;
  padding: 0;
  border: 0;
}
.plans-dots button {
  display: block;
  width: 8px;
  height: 8px;
  padding: 0;
  border: 0;
  border-radius: 99px;
  background: rgba(11, 37, 69, .2);
  cursor: pointer;
  transition: width .28s var(--ease), background .28s var(--ease), transform .28s var(--ease);
}
.plans-dots button.is-on {
  width: 22px;
  background: var(--navy);
}
.plans-dots button:focus-visible {
  outline: 2px solid var(--yellow);
  outline-offset: 3px;
}
@media (pointer: fine) {
  .plan.has-collab, .plan.has-collab * { cursor: none; }
}
.plan.tilt:hover { z-index: 5; }
.user-cursor { position: absolute; inset: 0; z-index: 30; pointer-events: none; opacity: 0; transition: opacity .15s linear; }
.user-cursor.on { opacity: 1; }
.user-cursor-arrow, .user-cursor-label { position: absolute; left: 0; top: 0; }
.user-cursor-arrow { width: 28px; height: 28px; color: var(--c, var(--navy)); filter: drop-shadow(0 2px 2px rgba(11, 37, 69, .28)); }
.user-cursor-arrow path { fill: currentColor; }
.user-cursor-label {
  padding: 5px 11px; border-radius: var(--radius-pill); background: var(--c, var(--navy)); color: var(--tc, #fff);
  font-size: var(--fs-sm); font-weight: 650; line-height: 1.2; white-space: nowrap;
  box-shadow: 0 8px 18px -10px rgba(11, 37, 69, .55);
}

/* ---------- 09 security ---------- */
#security.band {
  position: relative;
  z-index: 1;
  overflow-x: clip;
  overflow-y: visible;
  padding: 80px 0 28px;
  background: #fff;
}
#security.band::before {
  content: "";
  position: absolute;
  /* stay inside the band so overflow-x:clip does not shear the glow */
  top: 0;
  right: 0;
  bottom: 0;
  left: 0;
  z-index: 0;
  pointer-events: none;
  background:
    radial-gradient(ellipse 42% 38% at 10% 12%, rgba(2, 65, 123, .42), transparent 72%),
    radial-gradient(ellipse 36% 32% at 88% 10%, rgba(248, 180, 0, .28), transparent 70%),
    radial-gradient(ellipse 44% 36% at 12% 78%, rgba(2, 65, 123, .28), transparent 74%),
    radial-gradient(ellipse 40% 34% at 86% 82%, rgba(11, 37, 69, .18), transparent 72%);
  filter: blur(36px);
  -webkit-mask-image:
    linear-gradient(to right, transparent 0%, #000 12%, #000 88%, transparent 100%),
    linear-gradient(to bottom, transparent 0%, #000 10%, #000 70%, transparent 100%);
  mask-image:
    linear-gradient(to right, transparent 0%, #000 12%, #000 88%, transparent 100%),
    linear-gradient(to bottom, transparent 0%, #000 10%, #000 70%, transparent 100%);
  -webkit-mask-composite: source-in;
  mask-composite: intersect;
  animation: security-mesh 36s ease-in-out infinite alternate;
}
#security .wrap { position: relative; z-index: 1; width: min(1280px, 100% - 2 * var(--gutter)); }
@keyframes security-mesh { to { transform: translate3d(1%, -1%, 0); } }
#security .center { gap: 10px; }
#security .lede { max-width: 38em; color: var(--body); }
#security .display { white-space: nowrap; text-wrap: nowrap; line-height: 1.05; }
@media (max-width: 600px) {
  #security .display { white-space: normal; text-wrap: wrap; }
}
.security-orbit { display: grid; grid-template-columns: minmax(200px, 280px) minmax(0, 1fr) minmax(200px, 280px); align-items: center; gap: 12px 18px; width: 100%; margin-top: 4px; overflow: visible; }
.orbit-col { display: grid; grid-template-rows: repeat(3, auto); gap: 16px; min-width: 0; }
.orbit { position: relative; width: min(100%, calc(100svh - 190px)); aspect-ratio: 1; margin: 0 auto; justify-self: center; container-type: inline-size; }
.orbit-stage { position: absolute; z-index: 2; left: 50%; top: 50%; width: min(270px, 39cqw); height: min(281px, 40.6cqw); margin: 0; transform: translate(-50%, -50%); perspective: 1100px; pointer-events: none; }
.orbit-logo { position: relative; width: 100%; height: 100%; transform-style: preserve-3d; transform: rotateX(14deg) rotateY(32deg); }
/* mobile only: slow yaw left → right (desktop still follows the cursor in JS) */
.orbit-logo.is-revolve {
  animation: orbit-logo-ltr 18s linear infinite;
  will-change: transform;
}
.orbit-logo img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: contain; transform: translateZ(calc(var(--i) * 0.38px)); }
.orbit-logo img[alt="FinanceBee"] { filter: drop-shadow(0 22px 16px rgba(11, 37, 69, .28)); }
@keyframes orbit-logo-ltr {
  from { transform: rotateX(12deg) rotateY(28deg); }
  to { transform: rotateX(12deg) rotateY(388deg); }
}
@media (prefers-reduced-motion: reduce) {
  .orbit-logo.is-revolve { animation: none; }
}
.orbit-ring { position: absolute; left: 50%; top: 50%; border-radius: 50%; border: 1px solid rgba(11, 37, 69, .14); animation: orbit-spin linear infinite; pointer-events: none; }
.orbit-ring-1 { width: 56%; height: 56%; margin: -28% 0 0 -28%; animation-duration: 24s; }
.orbit-ring-2 { width: 74%; height: 74%; margin: -37% 0 0 -37%; animation-duration: 38s; animation-direction: reverse; }
.orbit-slot { position: absolute; inset: 0; transform: rotate(var(--a)); pointer-events: none; }
.orbit-node { position: absolute; z-index: 4; left: 50%; top: 0; width: min(60px, 11cqw); height: min(60px, 11cqw); display: grid; place-items: center; border: 0; padding: 0; font: inherit; cursor: pointer; pointer-events: auto; border-radius: 50%; background: #fff; color: var(--c, var(--navy)); box-shadow: 0 8px 16px -10px rgba(11, 37, 69, .45), inset 0 0 0 1px #e6e8ec; animation: orbit-counter linear infinite; }
.orbit-node.on, .orbit-node:hover, .orbit-node:focus-visible { z-index: 5; box-shadow: 0 14px 28px -12px rgba(11, 37, 69, .55), inset 0 0 0 2px var(--c, var(--navy)); }
.orbit-card { display: flex; align-items: flex-start; gap: 10px; width: 100%; height: auto; padding: 12px; border: 0; border-radius: 14px; background: #fff; color: var(--body); text-align: left; cursor: pointer; font: inherit; box-shadow: 0 10px 24px -18px rgba(11, 37, 69, .45), inset 0 0 0 1px #e6e8ec; }
.orbit-card.on { box-shadow: 0 14px 28px -16px rgba(11, 37, 69, .4), inset 0 0 0 1.5px var(--c, var(--navy)); }
.orbit-card .ic { width: 36px; height: 36px; padding: 8px; border-radius: 10px; color: var(--c, var(--navy)); background: color-mix(in srgb, var(--c, var(--navy)) 14%, #fff); box-shadow: inset 0 0 0 1px color-mix(in srgb, var(--c, var(--navy)) 28%, #fff); }
.orbit-card b { display: block; color: var(--navy); font-size: 12px; font-weight: 650; letter-spacing: -.02em; }
.orbit-card span { display: block; margin-top: 4px; font-size: 11px; font-weight: 400; line-height: 1.35; }
.orbit-ring-1 .orbit-node { animation-duration: 24s; }
.orbit-ring-2 .orbit-node { animation-duration: 38s; animation-direction: reverse; }
.orbit-node .ic { width: 44%; height: 44%; }
@keyframes orbit-spin { to { transform: rotate(360deg); } }
@keyframes orbit-counter {
  from { transform: translate(-50%, -50%) rotate(calc(var(--a) * -1)); }
  to { transform: translate(-50%, -50%) rotate(calc(var(--a) * -1 - 360deg)); }
}

/* ---------- 10 finale ---------- */
.finale { position: relative; isolation: isolate; overflow: hidden; min-height: 0; padding: clamp(108px, 18vh, 200px) 0 clamp(36px, 4vh, 56px); text-align: center; background: #071B33; color: var(--on-dark); }
.finale .field { position: absolute; inset: 0; width: 100%; height: 100%; z-index: 0; display: block; pointer-events: none; }
.neon-tube { position: absolute; inset: 0; width: 100%; height: 100%; z-index: 0; display: block; pointer-events: none; }
.finale-in { position: relative; z-index: 1; display: grid; justify-items: center; gap: var(--space-8); color: var(--on-dark); opacity: 0; pointer-events: none; }
.finale.is-lit .finale-in { opacity: 1; pointer-events: auto; transition: opacity .45s ease; }
/* two floating hex prisms for depth */
.finale-hex { position: absolute; z-index: -1; width: 180px; aspect-ratio: 1 / .866; clip-path: var(--hex); background: linear-gradient(160deg, rgba(255, 255, 255, .14), rgba(255, 255, 255, .02)); animation: bob 9s ease-in-out infinite alternate; }
.finale-hex.a { left: -40px; bottom: 12%; }
.finale-hex.b { right: 4%; top: 10%; width: 110px; background: linear-gradient(160deg, var(--amber), var(--yellow-2)); opacity: .9; animation-duration: 7s; }
@keyframes bob { to { transform: translateY(-18px) rotate(8deg); } }
.finale h2 { color: var(--white); font-size: var(--fs-h2); font-weight: 600; letter-spacing: -.03em; line-height: 1.12; }
.finale p { font-size: var(--fs-lede); max-width: 34em; }
/* ---------- notes ---------- */
.letters {
  --globe: min(520px, 38vw);
  position: relative; z-index: 2; overflow: hidden; padding: 48px 0;
  margin-top: 72px;
  background:
    radial-gradient(55% 70% at 78% 50%, rgba(2, 65, 123, .45), transparent 62%),
    #071B33;
}
.letters-card {
  position: static; display: grid; grid-template-columns: minmax(0, 1fr) minmax(240px, var(--globe));
  align-items: center; gap: 28px; min-height: 0; padding: 0;
  overflow: visible; border-radius: 0; color: #fff; background: none;
}
.letters-copy { position: relative; z-index: 1; max-width: 46em; }
.letters-card h2 { max-width: none; color: #fff; font-size: clamp(2.6rem, 4.6vw, 4rem); font-weight: 600; letter-spacing: -.03em; line-height: 1.08; white-space: nowrap; }
/* underline instead of highlight wash — white on yellow failed WCAG AA contrast */
.letters-card h2 .mark {
  background-image: none;
  text-decoration: underline;
  text-decoration-color: var(--yellow);
  text-decoration-thickness: .16em;
  text-underline-offset: .14em;
}
.letters-copy p { max-width: 40em; margin-top: 18px; color: rgba(255, 255, 255, .72); font-size: 1.25rem; line-height: 1.55; }
.letters-form { margin-top: 28px; max-width: 34rem; }
.letters-form label { display: block; margin: 0 0 8px 4px; color: rgba(255, 255, 255, .62); font-size: 13px; font-weight: 600; }
.letters-row {
  display: flex; align-items: center; gap: 8px;
  padding: 6px 6px 6px 18px;
  border: 1px solid rgba(255, 255, 255, .2);
  border-radius: 999px;
  background: #12283f;
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, .08);
}
.letters-row:focus-within { border-color: var(--yellow); }
.letters-row input {
  flex: 1; min-width: 0; height: 44px; padding: 0; border: 0; border-radius: 0;
  background: transparent; color: #fff; font: inherit; font-size: 16px;
}
.letters-row input::placeholder { color: rgba(255, 255, 255, .42); }
.letters-row input:focus { outline: none; }
.letters-row input:-webkit-autofill,
.letters-row input:-webkit-autofill:hover,
.letters-row input:-webkit-autofill:focus {
  -webkit-text-fill-color: #fff;
  caret-color: #fff;
  box-shadow: 0 0 0 1000px #12283f inset;
  transition: background-color 99999s ease-out;
}
.letters-row:has(input[aria-invalid="true"]) { border-color: #fecdd3; }
.letters-row .btn { flex: none; height: 44px; padding: 0 20px; font-size: 15px; box-shadow: none; }
.letters-row .btn:hover { transform: none; }
.letters-msg { min-height: 1.4em; margin: 10px 0 0 4px; color: #fff; font-size: var(--fs-sm); }
.letters-form.is-sent .letters-row { border-color: var(--green); }
.letters-globe {
  position: relative; z-index: 0; display: block; justify-self: end;
  width: 100%; max-width: var(--globe); height: auto; aspect-ratio: 1;
  pointer-events: auto;
}

/* ---------- footer ---------- */
.foot { position: relative; z-index: 4; overflow: hidden; background: #0B2545; color: rgba(255, 255, 255, .72); padding: 28px 0 72px; font-size: 14px; }
.foot-top, .foot-main, .foot-base, .foot-mark { position: relative; z-index: 1; }
.foot-top { display: flex; align-items: center; justify-content: space-between; gap: 24px; }
.foot-logo img { display: block; width: 200px; height: auto; }
.foot-main { display: grid; grid-template-columns: minmax(220px, 28em) minmax(0, 1fr); gap: 40px 112px; align-items: start; margin-top: 40px; }
.foot-about { display: grid; gap: 16px; max-width: 28em; min-width: 0; justify-items: start; }
.foot-line { margin: 0; max-width: 28em; min-width: 0; color: rgba(255, 255, 255, .78); font-size: 15px; font-weight: 400; letter-spacing: 0; line-height: 1.6; }
.foot-cols { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); column-gap: 56px; row-gap: 28px; justify-content: stretch; width: 100%; max-width: none; }
.foot h4, .foot .foot-label {
  margin: 0 0 14px;
  color: var(--yellow);
  font-size: 11px;
  font-weight: 700;
  letter-spacing: .14em;
  text-transform: uppercase;
  line-height: 1.2;
}
.foot-cols a { display: block; width: fit-content; padding: 10px 0; color: rgba(255, 255, 255, .82); font-size: 14px; line-height: 1.35; font-weight: 400; }
.foot-cols a:hover, .foot-cols a:focus-visible {
  color: transparent;
  background-image: linear-gradient(180deg, #ffffff 0%, #d7e0ea 46%, #9aabbd 100%);
  -webkit-background-clip: text;
  background-clip: text;
}
.foot-mark {
  --mark-left: max(var(--gutter), calc((100% - 1320px) / 2));
  container-type: inline-size;
  width: calc((100% - var(--mark-left)) / 0.78);
  margin: 28px 0 6px var(--mark-left);
  pointer-events: none;
}
.foot-mark svg { display: block; width: 100%; height: auto; opacity: .38; }
.foot-glint {
  position: absolute; inset: 0;
  -webkit-mask: url("assets/wordmark.svg?v=7") left top / 100% 100% no-repeat;
  mask: url("assets/wordmark.svg?v=7") left top / 100% 100% no-repeat;
  pointer-events: none;
}
.foot-glint::after {
  content: ""; position: absolute; top: -80%; bottom: -80%; left: 0; width: 28px;
  background: linear-gradient(90deg, transparent 0%, rgba(255, 255, 255, .08) 28%, rgba(255, 255, 255, .72) 50%, rgba(255, 255, 255, .08) 72%, transparent 100%);
  transform: translateX(-48px) skewX(-28deg);
  filter: drop-shadow(0 0 6px rgba(255, 255, 255, .45));
  opacity: 0;
  pointer-events: none;
}
.foot.is-glint .foot-glint::after {
  animation: foot-mark-glint 3.6s ease-in-out 1;
  animation-fill-mode: none;
}
@keyframes foot-mark-glint {
  0% { opacity: 0; transform: translateX(-48px) skewX(-28deg); }
  8% { opacity: 1; }
  92% { opacity: 1; }
  100% { opacity: 0; transform: translateX(calc(100cqi + 48px)) skewX(-28deg); }
}
@media (prefers-reduced-motion: reduce) {
  .foot.is-glint .foot-glint::after,
  .foot-glint::after { animation: none; opacity: 0; }
}
.foot-rule { height: 1px; background: rgba(255, 255, 255, .28); }
.foot-base {
  display: flex;
  flex-wrap: wrap;
  align-items: baseline;
  justify-content: space-between;
  gap: 10px 28px;
  padding-top: 22px;
  color: #A8B2BE;
  font-size: 12px;
  line-height: 1.45;
}
.foot-legal { display: flex; flex-wrap: wrap; align-items: baseline; gap: 6px 10px; }
.foot-legal span { color: #fff; }
.foot-regs {
  display: inline-flex;
  flex-wrap: wrap;
  align-items: baseline;
  gap: 6px 10px;
  margin: 0;
  color: #A8B2BE;
}
.foot-regs a {
  color: #D6DDE7;
  /* WCAG 1.4.1: a link in a line of text needs more than colour to stand out. */
  text-decoration: underline;
  text-decoration-color: rgba(214, 221, 231, .55);
  text-underline-offset: 3px;
  border-bottom: 1px solid transparent;
}
.foot-regs a:hover,
.foot-regs a:focus-visible {
  color: #fff;
  text-decoration-color: rgba(248, 180, 0, .8);
}
.foot-regs .sep { opacity: .45; user-select: none; }
.foot-vat-no {
  color: #D6DDE7;
  font-weight: 500;
  font-variant-numeric: tabular-nums;
  letter-spacing: .06em;
  font-feature-settings: "tnum" 1, "lnum" 1;
}
.foot-social { display: flex; align-items: center; justify-content: flex-start; gap: 12px; margin: 0; }
.foot-social a { display: grid; place-items: center; width: 36px; height: 36px; color: rgba(255, 255, 255, .88); }
.foot-social a:hover, .foot-social a:focus-visible { color: #fff; }
.foot-social a:focus-visible { outline: 2px solid var(--yellow, #F8B400); outline-offset: 2px; }
.foot-social svg { width: 22px; height: 22px; fill: currentColor; }

/* One full-width row per individual app, same window as See it work. */
.person-band { background: var(--mist); padding: clamp(72px, 10vh, 120px) 0; }
.person-row { display: grid; gap: 22px; margin-top: 64px; }
.person-copy { width: 100%; max-width: none; }
.person-copy h3 { font-size: clamp(1.35rem, 2vw, 1.75rem); font-weight: 600; letter-spacing: -.028em; line-height: 1.2; }
.person-copy .kicker { margin-top: 18px; }
.hmrc { margin: 10px 0 0; padding: 2px 0 2px 14px; border-left: 3px solid var(--yellow); }
.hmrc p { margin: 0 0 8px; color: var(--navy); font-size: 17px; line-height: 1.55; }
.hmrc-from { margin-top: 8px; color: #8b939e; font-size: 13px; }
.hmrc-from a { text-decoration: underline; text-underline-offset: 2px; }
.person-own { margin-top: 8px; max-width: none; color: var(--body); font-size: 17px; line-height: 1.55; }
.person-free { margin-top: 12px; color: var(--navy); }
.person-free a { text-decoration: underline; text-underline-offset: 2px; font-weight: 600; }
.free-tag { display: inline-block; margin-left: 8px; padding: 4px 10px; border-radius: 999px; background: #fff3c4; color: #0b2545; font-size: 12px; font-weight: 700; letter-spacing: .02em; line-height: 1.3; vertical-align: middle; white-space: nowrap; }
.person-studio { margin-top: 4px; }

/* Individual tax apps: fuller than the business portals, still a real screen. */
.you-band { background: linear-gradient(180deg, #fff 0%, var(--mist) 100%); }
.you { display: grid; grid-template-columns: 1fr 1fr; gap: 20px; margin-top: 40px; align-items: stretch; }
.you-app {
  display: flex; flex-direction: column; min-height: 520px;
  background: var(--white); border: 1px solid #e6e8ec; border-radius: 16px; overflow: hidden;
  border-top: 3px solid var(--yellow);
  box-shadow: 0 30px 70px -42px rgba(11, 37, 69, .45);
}
.you-bar { display: flex; align-items: center; gap: 10px; padding: 14px 16px; border-bottom: 1px solid #eef0f3; }
.you-bar > div { min-width: 0; }
.you-bar > i {
  display: grid; place-items: center; width: 36px; height: 36px; border-radius: 50%;
  background: var(--yellow); color: var(--navy); font-style: normal; font-size: 12px; font-weight: 700; flex: none;
}
.you-bar b { display: block; font-size: 15px; font-weight: 600; letter-spacing: -.02em; }
.you-bar span { display: block; margin-top: 1px; color: #8b939e; font-size: 12px; font-weight: 400; }
.you-bar .studio-mode { margin-left: auto; flex: none; }
.you-nav { display: flex; gap: 4px; padding: 8px 12px; background: #f6f8fb; border-bottom: 1px solid #eef0f3; }
.you-nav button {
  height: 32px; padding: 0 12px; border: 0; border-radius: 8px; background: transparent;
  color: #626b78; font: inherit; font-size: 13px; font-weight: 500; cursor: pointer;
}
.you-nav button.on { background: var(--white); color: var(--navy); box-shadow: inset 0 0 0 1px #e6e8ec; }
.you-body { flex: 1; display: flex; flex-direction: column; gap: 12px; padding: 8px 8px 14px; min-height: 0; }
.you-split { display: grid; grid-template-columns: 176px minmax(0, 1fr); gap: 0; padding: 0; }
.you-steps { border-right: 1px solid #eef0f3; padding: 8px 0; }
.you-steps button {
  display: flex; align-items: center; gap: 8px; width: 100%; min-height: 40px; padding: 0 14px;
  border: 0; border-bottom: 1px solid #f3f5f8; background: transparent; color: var(--navy);
  text-align: left; font: inherit; font-size: 13px; cursor: pointer;
}
.you-steps button.on { background: #f4f7fb; }
.you-steps button.done::before { content: ""; width: 7px; height: 7px; border-radius: 50%; background: var(--green); flex: none; }
.you-pane { display: flex; flex-direction: column; gap: 10px; padding: 16px; }
.you-pane h3 { font-size: 16px; font-weight: 600; letter-spacing: -.02em; }
.you-pane p { color: #626b78; font-size: 14px; line-height: 1.45; }
.you-break { display: grid; gap: 8px; margin: 4px 0 0; }
.you-break li { display: flex; justify-content: space-between; gap: 12px; padding-bottom: 8px; border-bottom: 1px solid #f3f5f8; font-size: 13px; color: #626b78; }
.you-break b { color: var(--navy); font-weight: 600; font-variant-numeric: tabular-nums; }
.you-foot { margin-top: auto; display: flex; align-items: center; justify-content: space-between; gap: 12px; padding: 4px 8px 0; }
.you-foot span, .you-note { color: #626b78; font-size: 13px; line-height: 1.45; }
.you-source {
  display: grid; grid-template-columns: 1fr auto; grid-template-areas: "name state" "meta state";
  gap: 2px 12px; width: 100%; text-align: left; padding: 12px 14px; border-radius: 10px;
  border: 1px solid #e6e8ec; background: var(--white); color: var(--navy); font: inherit; cursor: pointer;
}
.you-source b { grid-area: name; font-size: 14px; font-weight: 600; }
.you-source span { grid-area: meta; color: #8b939e; font-size: 12px; }
.you-source em { grid-area: state; align-self: center; font-style: normal; font-size: 12px; font-weight: 600; color: #8b939e; }
.you-source.on em { color: var(--green-700); }
.you-declare { display: flex; align-items: flex-start; gap: 10px; font-size: 14px; line-height: 1.45; color: var(--navy); }
.you-declare input { margin-top: 3px; }
.you-app .btn { height: 34px; padding: 0 14px; border-radius: 8px; font-size: 13px; font-weight: 600; box-shadow: none; }
.you-app .btn:hover, .you-app .btn:active { transform: none; }
.you-app .scr-math { margin-top: 12px; }

/* ---------- reveal (uses `translate` so `transform` stays free for 3D tilt) ---------- */
.reveal { opacity: 0; translate: 0 46px; transition: opacity 1.1s var(--ease), translate 1.3s var(--ease), transform .6s var(--ease), box-shadow .6s var(--ease), background .4s; transition-delay: var(--d, 0s), var(--d, 0s), 0s, 0s, 0s; }
.reveal.in { opacity: 1; translate: none; }

/* ---------- responsive ---------- */
/* Collapse the desktop menu before long labels (Making Tax Digital, HMRC recognition) wrap or clip. */
@media (max-width: 1180px) {
  .nav-links { display: none; }
  .nav-cta { margin-left: auto; }
}
@media (max-width: 960px) {
  .hero-facts { grid-template-columns: repeat(2, 1fr); }
  .scroll-cue { display: none; }
  .two, .you, .you-split { grid-template-columns: 1fr; }
  .studio[data-features] .studio-tab { flex: none; justify-content: flex-start; padding: 0 14px; }
  .security-orbit { grid-template-columns: 1fr 1fr; }
  .orbit { grid-column: 1 / -1; width: min(100%, 460px); }
  .you-app { min-height: 0; }
  /* tablet: Standard featured full-width, Free + Business beside it */
  .plans {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 16px;
    width: 100%;
    max-width: none;
    margin-inline: 0;
    margin-top: 28px;
    padding: 0;
    overflow: visible;
  }
  .plan {
    width: 100%;
    min-width: 0;
    padding: 22px 20px 18px;
    border-radius: 20px;
  }
  .plan-pop {
    grid-column: 1 / -1;
    order: -1;
    margin-block: 0;
    padding: 26px 24px 22px;
  }
  .plan .kicker { font-size: 10.5px; margin: 0; }
  .plan h3 { font-size: 1.45rem; margin-top: 4px; }
  .plan-tag { min-height: 0; margin: 4px 0 12px; font-size: 14px; line-height: 1.45; }
  .price b { font-size: clamp(2.2rem, 4vw, 2.8rem); }
  .price > span { font-size: 14px; }
  .price-sub { margin: 4px 0 12px; font-size: 12px; }
  .plan .list { gap: 8px; padding-top: 14px; margin-bottom: 16px; font-size: 13.5px; }
  .plan .list li { padding-left: 30px; min-height: 0; }
  .plan .list .li-ic { width: 18px; height: 18px; padding: 3px; }
  .plan .btn { height: 44px; font-size: 14.5px; }
  .ribbon { top: 14px; right: 14px; }
  .plans-dots { display: none !important; }
  .plans-note { margin-top: 22px; }
}
/* tablet only: Standard card reads left (offer) / right (features) */
@media (max-width: 960px) and (min-width: 601px) {
  .plan-pop {
    display: grid;
    grid-template-columns: minmax(220px, .95fr) minmax(260px, 1.15fr);
    column-gap: 28px;
    row-gap: 0;
    align-items: start;
    padding: 28px 28px 24px;
  }
  .plan-pop .kicker,
  .plan-pop h3,
  .plan-pop .plan-tag,
  .plan-pop .price,
  .plan-pop .price-sub,
  .plan-pop > .btn {
    grid-column: 1;
  }
  .plan-pop h3 { font-size: 1.7rem; }
  .plan-pop .plan-tag { margin-bottom: 16px; max-width: 28ch; }
  .plan-pop .price b { font-size: clamp(2.6rem, 5vw, 3.2rem); }
  .plan-pop .price-sub { margin-bottom: 0; }
  .plan-pop .list {
    grid-column: 2;
    grid-row: 1 / span 7;
    align-self: center;
    border-top: none;
    padding-top: 0;
    margin: 0;
    gap: 10px;
  }
  .plan-pop > .btn {
    width: auto;
    max-width: 240px;
    margin-top: 18px;
  }
  .plan-pop .ribbon { top: 18px; right: 18px; }
}
@media (max-width: 960px) {
  .who { grid-template-columns: repeat(2, 1fr); }
  .thresholds { grid-template-columns: 1fr; }
  .letters { --globe: min(78vw, 320px); overflow: hidden; margin-top: 48px; padding: 40px 0 12px; }
  .letters-card { grid-template-columns: 1fr; justify-items: stretch; gap: 12px; min-height: 0; padding-bottom: 0; }
  .letters-card h2 { white-space: normal; }
  .letters-globe { width: min(100%, var(--globe)); justify-self: center; }
  .foot { padding: 24px 0 56px; }
  .foot-logo img { width: 156px; }
  .foot-main { grid-template-columns: 1fr; margin-top: 28px; gap: 28px; }
  /* tablet: keep four link columns so Product does not stretch the footer alone */
  .foot-cols {
    justify-self: stretch;
    align-items: start;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    column-gap: clamp(16px, 2.4vw, 28px);
    row-gap: 20px;
    max-width: none;
  }
  .foot h4, .foot .foot-label {
    margin: 0 0 12px;
    font-size: 10.5px;
    letter-spacing: .16em;
  }
  .foot-cols a {
    display: flex;
    align-items: center;
    min-height: 0;
    padding: 5px 0;
    font-size: 13px;
    line-height: 1.3;
    font-weight: 400;
    color: rgba(255, 255, 255, .78);
  }
  .foot-mark { --mark-left: var(--gutter); width: calc(100% - var(--gutter)); max-width: 100%; margin-top: 12px; overflow: hidden; }
  .foot-base {
    flex-direction: row;
    flex-wrap: nowrap;
    align-items: baseline;
    justify-content: space-between;
    gap: 16px 48px;
    padding-top: 18px;
    padding-right: max(72px, var(--gutter));
    box-sizing: border-box;
  }
  .foot-legal {
    display: inline-flex;
    flex-direction: row;
    flex-wrap: nowrap;
    align-items: baseline;
    gap: 6px;
    flex: 0 1 auto;
    margin: 0;
    text-align: left;
    white-space: nowrap;
  }
  .foot-regs {
    flex: 0 0 auto;
    margin: 0 0 0 auto;
    text-align: right;
    white-space: nowrap;
  }
  /* the carousel becomes a simple stacked list on small screens */
  .apps { height: auto; padding: var(--space-24) 0; }
  .apps .pin { position: static; height: auto; overflow: visible; grid-template-columns: 1fr; }
  .deck-scene, .ticks { display: none; }
  .apps-slides { height: auto; display: grid; gap: var(--space-12); }
  .slide { position: static; opacity: 1; transform: none; pointer-events: auto; }
  .chip { display: none; }
}
@media (max-width: 600px) {
  body { font-size: 16px; }
  .who { grid-template-columns: 1fr; }
  .nav-quiet { display: none; }
  .hero-facts span { display: none; }
  #security .display { font-size: clamp(1.45rem, 7.2vw, 2.4rem); }
  .security-orbit { grid-template-columns: 1fr; --spread: 0; overflow: visible; }
  .orbit { width: min(100%, 420px); max-width: 100%; grid-row: 1; overflow: hidden; }
  .who-card, .th { padding: var(--space-8); }
  .product { height: 220vh; }
  .letters-card .letters-row { flex-direction: column; align-items: stretch; gap: 8px; padding: 8px; border-radius: 18px; }
  .letters-card .letters-row input { flex: none; width: 100%; height: 42px; padding: 0 8px; border: 0; }
  .letters-card .letters-row .btn { width: 100%; }
}
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .boot { transition: none; }
  *, *::before, *::after { animation: none !important; transition: none !important; }
  .reveal, .rise { opacity: 1; transform: none; translate: none; }
  .mark { transition: none; background-size: 100% 100%; }
  .studio-tab.on::after { animation: none; transform: scaleX(1); }
  .statement .w { color: var(--navy); }
  .statement .w.key { background-size: 100% 26%; }
}

/* Four facts, two across. Figures are the Hairline catalog, tinted with the theme. */
.lineup { background: #fff; padding: clamp(72px, 9vh, 108px) 0 clamp(84px, 11vh, 128px); }
.lineup .lede { max-width: 40em; }
.lineup-grid {
  display: grid; grid-template-columns: 1fr 1fr; margin-top: clamp(48px, 6vh, 72px);
  border: 1px solid #e6e8ec; border-radius: 16px; overflow: hidden; background: #fff;
}
.lineup-cell { display: grid; grid-template-rows: 220px auto; min-width: 0; border-right: 1px solid #e6e8ec; border-bottom: 1px solid #e6e8ec; }
.lineup-cell:nth-child(2n) { border-right: 0; }
.lineup-cell:nth-last-child(-n+2) { border-bottom: 0; }
.lineup-fig {
  display: grid; place-items: center; background: #f4f7fb; border-bottom: 1px solid #e6e8ec;
  --hairline-plate: #f4f7fb;
  --hairline-hi: #F8B400;
  --hairline-edge: #0B2545;
  --hairline-mid: #02417B;
  --hairline-lo: #c5d0dc;
  --hairline-stroke: 1.05;
}
.lineup-fig [data-fig] { width: min(250px, 74%); }
.lineup-copy { padding: 22px 28px 26px; }
.lineup-copy h3 { font-size: 17px; font-weight: 600; letter-spacing: -.02em; color: var(--navy); transition: color .3s ease; }
.lineup-cell:hover h3 { color: var(--navy-2); }
@media (prefers-reduced-motion: reduce) {
  .lineup-copy h3 { transition: none; }
}
.lineup-copy p { margin-top: 6px; max-width: 36em; color: var(--body); font-size: 15px; line-height: 1.5; }
@media (max-width: 720px) {
  .lineup-grid { grid-template-columns: 1fr; }
  .lineup-cell { border-right: 0; }
  .lineup-cell:nth-last-child(-n+2) { border-bottom: 1px solid #e6e8ec; }
  .lineup-cell:last-child { border-bottom: 0; }
}

.works { background: #fff; padding: 8px 0 clamp(56px, 8vh, 88px); }
.works-kicker {
  margin: 0 0 22px;
  text-align: center;
  font-size: 12px;
  font-weight: 700;
  letter-spacing: .16em;
  text-transform: uppercase;
  color: var(--mute, #6B7585);
}
.works-loop {
  position: relative;
  overflow: hidden;
  width: 100%;
  -webkit-mask-image: linear-gradient(90deg, transparent, #000 48px, #000 calc(100% - 48px), transparent);
  mask-image: linear-gradient(90deg, transparent, #000 48px, #000 calc(100% - 48px), transparent);
}
.works-track {
  display: flex;
  width: max-content;
  will-change: transform;
  backface-visibility: hidden;
}
.works-logos {
  display: flex;
  flex-wrap: nowrap;
  align-items: center;
  gap: 20px;
  margin: 0;
  padding: 8px 0;
  list-style: none;
}
.works-logos li {
  flex: none;
  width: 56px;
  height: 56px;
  display: grid;
  place-items: center;
  overflow: hidden;
  border-radius: 14px;
  background: #fff;
  box-shadow: inset 0 0 0 1px #e6ebf2, 0 10px 20px -14px rgba(11, 37, 69, .28);
  transition: transform .35s ease;
}
.works-logos li:hover { transform: scale(1.08); }
.works-logos img { display: block; }
.works-fill img { width: 100%; height: 100%; object-fit: cover; }
.works-fit img { width: 72%; height: 72%; object-fit: contain; }
@media (prefers-reduced-motion: reduce) {
  .works-loop { -webkit-mask-image: none; mask-image: none; }
  .works-track { transform: none !important; }
  .works-logos { flex-wrap: wrap; justify-content: center; gap: 12px; }
  .works-logos li:hover { transform: none; }
}
/* phones: every logo visible, smaller tiles, no marquee */
@media (max-width: 700px) {
  .works { padding: 4px 0 40px; }
  .works-kicker { margin-bottom: 16px; font-size: 11px; letter-spacing: .14em; }
  .works-loop {
    overflow: visible;
    -webkit-mask-image: none;
    mask-image: none;
  }
  .works-track {
    display: block;
    width: 100%;
    transform: none !important;
    will-change: auto;
  }
  .works-logos {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    align-items: center;
    gap: 10px;
    padding: 0;
    width: 100%;
  }
  .works-logos li {
    width: 40px;
    height: 40px;
    border-radius: 10px;
    box-shadow: inset 0 0 0 1px #e6ebf2, 0 6px 12px -10px rgba(11, 37, 69, .22);
  }
  .works-logos li:hover { transform: none; }
}

/* Features: one petite product surface. Tabs switch it; the data plays until a click. */
.features {
  position: relative; display: flow-root; color: #fff;
  padding: clamp(64px, 8vh, 96px) 0 clamp(72px, 10vh, 120px); overflow: hidden;
  background: #07172A url("waves.svg?v=6") center / cover no-repeat;
}
.features::before {
  content: ""; position: absolute; inset: 0; z-index: 0; pointer-events: none;
  background:
    linear-gradient(90deg, transparent 0%, rgba(7, 23, 42, .42) 10%, rgba(7, 23, 42, .82) 24%, rgba(7, 23, 42, .82) 76%, rgba(7, 23, 42, .42) 90%, transparent 100%),
    linear-gradient(180deg, rgba(7, 23, 42, .28) 0%, transparent 22%, transparent 78%, rgba(7, 23, 42, .4) 100%);
}
.features > .wrap { position: relative; z-index: 1; }
.features h2 { color: #fff; }
.features .eyebrow { color: #F8B400; }
.features .lede,
.features .studio-tell { color: #fff; }
.studio { margin-top: 36px; font-size: 13px; line-height: 1.35; color: var(--navy); }
.features .mac,
.person-band .mac {
  border-radius: 6px; overflow: hidden; background: #0a0a0a;
  box-shadow: 0 28px 50px -16px rgba(0, 0, 0, .65), 0 0 0 1px rgba(255, 255, 255, .08);
}
.features .mac-bar,
.person-band .mac-bar {
  position: relative; display: flex; align-items: center; min-height: 26px; padding: 2px 10px;
  background: #333; color: #fff;
}
.features .mac-lights,
.person-band .mac-lights { position: absolute; left: 10px; display: flex; gap: 5px; }
.features .mac-lights i,
.person-band .mac-lights i { width: 8px; height: 8px; border-radius: 50%; display: block; }
.features .mac-lights i:nth-child(1),
.person-band .mac-lights i:nth-child(1) { background: #ff605c; }
.features .mac-lights i:nth-child(2),
.person-band .mac-lights i:nth-child(2) { background: #ffbd44; }
.features .mac-lights i:nth-child(3),
.person-band .mac-lights i:nth-child(3) { background: #00ca4e; }
.features .mac-title,
.person-band .mac-title { flex: 1; text-align: center; font-size: 11px; font-weight: 500; color: #fff; }
.features .mac .studio-stage,
.person-band .mac .studio-stage {
  border-radius: 0 0 6px 6px;
  box-shadow: none;
}
.studio-tabs {
  display: flex; flex-wrap: wrap; gap: 6px; margin-bottom: 10px; padding: 6px;
  background: var(--white); border: 1px solid #e6e8ec; border-radius: 14px;
  box-shadow: 0 18px 40px -16px rgba(0, 0, 0, .5), 0 0 0 1px rgba(255, 255, 255, .08);
}
.studio-tab {
  position: relative; display: flex; align-items: center; gap: 7px; height: 40px; padding: 0 14px;
  border: 1px solid transparent; border-radius: 10px; background: transparent;
  color: #5c6674; font: inherit; font-size: 13.5px; font-weight: 500; cursor: pointer;
}
.studio[data-features] .studio-tab {
  flex: 1 1 0; justify-content: center; padding: 0 8px; white-space: nowrap;
}
.studio-tab .ic { width: 15px; height: 15px; stroke: currentColor; }
.studio-tab:hover { color: var(--navy); background: #f4f7fb; }
.studio-tab.on { color: var(--navy); background: #f4f7fb; }
.studio[data-features] .studio-tabs { position: relative; }
.studio[data-features] .studio-glide {
  position: absolute; left: 0; top: 0; z-index: 0; pointer-events: none;
  border-radius: 10px; background: var(--navy);
  box-shadow: 0 10px 18px -14px rgba(11, 37, 69, .8);
  transition: transform .42s cubic-bezier(.22, .8, .24, 1), width .42s cubic-bezier(.22, .8, .24, 1), height .42s cubic-bezier(.22, .8, .24, 1);
}
.studio[data-features] .studio-glide::after {
  content: ""; position: absolute; left: 12px; right: 12px; bottom: 5px; height: 2px;
  border-radius: 2px; background: var(--yellow); transform-origin: left;
  transform: scaleX(var(--tour, 0)); transition: transform 2.8s linear;
}
.studio[data-features] .studio-glide.is-snap::after { transition: none; }
.studio[data-features] .studio-tab {
  z-index: 1; background: transparent; border-color: transparent;
  transition: color .42s ease, background .42s ease;
}
.studio[data-features] .studio-tab:hover { color: var(--navy); background: rgba(11, 37, 69, .06); }
.studio[data-features] .studio-tab.on,
.studio[data-features] .studio-tab.on:hover { color: #fff; background: transparent; border-color: transparent; }
.studio[data-features] .studio-tab.on::after { content: none; }
@keyframes tour-bar { from { transform: scaleX(0); } to { transform: scaleX(1); } }
.studio-tell {
  width: 100%; max-width: none; margin: 22px 0 0; color: var(--body);
  font-size: 17px; line-height: 1.55; font-weight: 400; letter-spacing: 0;
}
.studio-stage.zoom { animation: panel-zoom .5s cubic-bezier(.16, .84, .32, 1); }
.studio-tell.zoom { animation: caption-zoom .5s cubic-bezier(.16, .84, .32, 1); }
@keyframes panel-zoom {
  from { opacity: .2; transform: scale(.9); }
  to { opacity: 1; transform: scale(1); }
}
@keyframes caption-zoom {
  from { opacity: 0; transform: translateY(10px) scale(.98); }
  to { opacity: 1; transform: none; }
}
.studio-stage {
  display: flex; flex-direction: column; min-height: 400px;
  background: #fff; border: 0; border-radius: 6px; overflow: hidden;
  box-shadow: 0 36px 70px -18px rgba(0, 0, 0, .62), 0 0 0 1px rgba(255, 255, 255, .08);
}
.studio-bar {
  display: flex; align-items: center; gap: 8px; min-height: 30px; padding: 0 10px;
  border-bottom: 1px solid #eef0f3;
}
.studio-bar b { font-size: 12px; font-weight: 600; letter-spacing: -.01em; }
.studio-bar [data-hint] { color: #5f6a78; font-size: 11px; font-weight: 400; }
.studio-mode { margin-left: auto; display: inline-flex; align-items: center; gap: 6px; color: var(--green-700); font-size: 12px; font-weight: 500; flex: none; }
.studio-mode i { width: 6px; height: 6px; border-radius: 50%; background: var(--green); }
.studio-tools { margin-left: auto; display: inline-flex; align-items: center; gap: 2px; flex: none; }
.studio-icon {
  width: 24px; height: 24px; padding: 0; border: 0; border-radius: 5px; background: transparent;
  color: #5f6a78; display: grid; place-items: center; cursor: pointer;
}
.studio-icon:hover { color: var(--navy); background: #f4f7fb; }
.studio-icon svg { width: 12px; height: 12px; }
.studio-icon[hidden],
.studio-icon [hidden] { display: none; }
.studio-dot {
  width: 7px; height: 7px; margin-left: 6px; border-radius: 50%; background: #10B981; flex: none;
  box-shadow: 0 0 0 0 rgba(16, 185, 129, .5);
  animation: studio-pulse 1.5s ease-out infinite;
}
.studio-dot.is-paused { animation: none; background: #c5ccd4; box-shadow: none; }
@keyframes studio-pulse {
  70% { box-shadow: 0 0 0 6px rgba(16, 185, 129, 0); }
}
.studio-stage { position: relative; }
.ghost-hand {
  position: absolute; z-index: 6; width: 22px; height: 22px; margin: -2px 0 0 -2px;
  pointer-events: none; opacity: 0;
  transition: transform .16s cubic-bezier(.2, .8, .2, 1), opacity .12s linear;
  filter: drop-shadow(0 2px 2px rgba(11, 37, 69, .32));
}
.ghost-hand.is-on { opacity: 1; }
.ghost-hand svg { display: block; position: relative; transform-origin: 4px 3px; }
.ghost-hand i {
  position: absolute; left: 1px; top: 1px; width: 8px; height: 8px; border-radius: 50%;
  border: 2px solid #02417B; opacity: 0; pointer-events: none;
}
.ghost-hand.is-tap svg { animation: ghost-tap .16s ease; }
.ghost-hand.is-tap i { animation: ghost-ring .45s ease; }
@keyframes ghost-tap {
  0% { transform: none; }
  45% { transform: translate(1px, 2px) scale(.82); }
  100% { transform: none; }
}
@keyframes ghost-ring {
  0% { opacity: .85; transform: scale(.4); }
  100% { opacity: 0; transform: scale(2.6); }
}
@media (prefers-reduced-motion: reduce) {
  .ghost-hand { display: none; }
}
.studio-toasts {
  position: absolute; right: 16px; bottom: 16px; z-index: 5;
  display: flex; flex-direction: column; align-items: flex-end; justify-content: flex-end; gap: 8px;
  width: min(280px, 70%); pointer-events: none;
}
.studio-toast {
  display: flex; align-items: flex-start; gap: 8px; margin: 0; max-width: 100%;
  padding: 10px 12px; border-radius: 12px;
  background: rgba(255, 255, 255, .97); color: #1a3148;
  border: 1px solid #e6ebf1;
  font-size: 12.5px; line-height: 1.45;
  box-shadow: 0 1px 2px rgba(11, 37, 69, .05), 0 14px 30px -18px rgba(11, 37, 69, .32);
  animation: studio-toast-in .35s ease;
}
.studio-toast i {
  width: 7px; height: 7px; margin-top: 5px; border-radius: 50%; background: #E2A400; flex: none;
}
.studio-toast.is-done i { background: #10B981; }
.studio-toast.is-out { opacity: 0; transform: translateY(-4px); transition: opacity .35s ease, transform .35s ease; }
@keyframes studio-toast-in {
  from { opacity: 0; transform: translateY(6px); }
  to { opacity: 1; transform: none; }
}
.studio tr.is-hot td { background: #FFF6E4; }
.studio tr.is-hot td:first-child { box-shadow: inset 3px 0 0 #E2A400; }
.studio .scr-boxes .is-hot,
.studio .scr-step.is-hot,
.studio .scr-line.is-hot,
.studio .rota button.is-hot,
.studio .scr-track li.is-hot,
.studio .btn.is-hot,
.person-studio .gate-nav button.is-hot,
.person-studio .scr-math.is-hot,
.person-studio .you-declare.is-hot {
  background: #FFF6E4;
  box-shadow: inset 3px 0 0 #E2A400;
}
.studio .btn.is-sent,
.studio .btn.is-sent:disabled {
  opacity: 1; background: var(--green); color: #fff; cursor: default;
  box-shadow: none; transition: background .35s ease, color .35s ease;
}
.studio .btn.is-sent .plane.is-check { fill: none; stroke: #fff; }
.studio .btn .plane.is-flyout {
  fill: var(--navy-2); pointer-events: none;
  animation: plane-away 1.1s ease-in forwards;
}
.studio .btn .plane.is-flyout path { fill: var(--navy-2); }
@keyframes plane-away {
  0% { transform: translate(0, 0) scale(1); }
  100% { transform: translate(120px, -90px) scale(1.8) rotate(-12deg); }
}
.gate { display: flex; flex-direction: column; background: #f5f7fb; }
.gate:not([hidden]) { flex: 1; }
.gate-bar {
  display: flex; align-items: center; gap: 10px; height: 46px; padding: 0 14px; flex: none;
  background: linear-gradient(180deg, #12325c, #0b2545); color: #fff; font-size: 12px;
}
.gate-bar b { font-weight: 600; }
.gate-bar span { color: #b7c4d4; }
.gate-bar i {
  margin-left: auto; width: 22px; height: 22px; border-radius: 50%; background: #f8b400; color: #0b2545;
  display: grid; place-items: center; font-style: normal; font-size: 10px; font-weight: 700;
}
.gate-body { display: grid; grid-template-columns: 168px minmax(0, 1fr); flex: 1; }
.gate-nav { background: #fff; border-right: 1px solid #e6e8ec; padding: 6px 0 10px; }
.gate-nav p { margin: 10px 12px 4px; color: #5f6a78; font-size: 10px; font-weight: 600; letter-spacing: .06em; text-transform: uppercase; }
.gate-nav button, .gate-tabs button {
  display: block; width: 100%; text-align: left; border: 0; border-left: 2px solid transparent; background: transparent; color: #3d4754;
  font: inherit; font-size: 13px; padding: 8px 14px; cursor: pointer;
}
.gate-nav button.on { background: #eef3f9; color: #0b2545; font-weight: 600; border-left-color: var(--yellow); }
.gate-tabs { display: flex; gap: 2px; padding: 6px 8px 0; background: #fff; border-bottom: 1px solid #eef0f3; }
.gate-tabs button { width: auto; border-left: 0; border-radius: 6px 6px 0 0; }
.gate-tabs button.on { background: #f5f7fb; font-weight: 600; }
.gate-view { min-width: 0; background: #fff; }
.scr[hidden], .gate[hidden], [data-screen][hidden] { display: none; }
.scr { font-size: 14px; }
.scr-tool {
  display: flex; align-items: center; gap: 12px; min-height: 56px; padding: 8px 28px 8px 16px;
  border-bottom: 1px solid #eef0f3; background: #fff;
}
.scr-tool b { font-size: 13px; font-weight: 600; flex: none; }
.scr-tool .btn { margin-left: auto; flex: none; }
.scr-meta { color: #5f6a78; font-size: 13px; min-width: 0; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.btn-fly { position: relative; overflow: visible; }
.btn-fly .plane {
  width: 15px; height: 15px; fill: currentColor;
}
.scr-tabs { display: inline-flex; gap: 2px; }
.scr-tabs i { font-style: normal; color: #5f6a78; font-size: 12px; padding: 3px 8px; border-radius: 6px; }
.scr-tabs i.on { color: var(--navy); background: #f3f5f8; }
.scr table { width: 100%; border-collapse: collapse; }
.scr th, .scr td { padding: 11px 16px; text-align: left; border-bottom: 1px solid #f0f2f5; vertical-align: middle; }
.scr th { color: #5f6a78; font-size: 12px; font-weight: 600; letter-spacing: .01em; background: #fafbfc; }
.scr td { color: var(--navy); }
.scr .amt, .scr th.amt { text-align: right; font-variant-numeric: tabular-nums; }
.scr tbody tr { cursor: pointer; }
.scr tbody tr:hover td { background: #f7f9fc; }
.scr tbody tr.on td { background: #eef3f9; }
.scr tr[data-live] td { background: #fbf8f1; }
.scr em {
  font-style: normal; font-size: 11px; font-weight: 500; color: #5c6b82;
  background: #f4f6f9; border-radius: 999px; padding: 2px 7px;
}
.scr em[data-filed] { color: var(--green-700); background: var(--green-50); }
.sheet th:first-child, .sheet td:first-child { width: 28px; color: #5f6a78; text-align: right; }
.scr-vat, .scr-split { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); flex: 1; }
.scr-side { border-right: 1px solid #eef0f3; }
.scr-vat .scr-pane { background: #f4f7fb; padding: 12px 12px 14px; gap: 10px; align-items: stretch; }
.scr-vat .scr-pane .scr-tool { min-height: 0; padding: 2px 2px 0; border: 0; background: transparent; }
.scr-vat .vat-head > div { display: grid; gap: 1px; }
.scr-vat .vat-head .scr-meta { font-size: 10px; font-weight: 650; letter-spacing: .08em; text-transform: uppercase; }
.scr-boxes { display: grid; grid-template-columns: 1fr 1fr 1fr; gap: 8px; padding: 0; }
.scr-boxes div {
  display: grid; grid-template-columns: 18px minmax(0, 1fr); column-gap: 8px; align-content: center;
  min-height: 58px; padding: 8px 10px; border: 0; border-radius: 4px; background: #fff;
  box-shadow: inset 0 0 0 1px #e6ebf2;
}
.scr-boxes i {
  grid-row: 1 / span 2; align-self: center; display: grid; place-items: center;
  width: 18px; height: 18px; border-radius: 3px; background: #eef2f7;
  color: var(--navy-2); font-style: normal; font-size: 10px; font-weight: 700;
}
.scr-boxes span { display: block; color: #5f6a78; font-size: 11px; line-height: 1.25; }
.scr-boxes b { display: block; margin-top: 2px; font-size: 14px; font-weight: 650; letter-spacing: -.02em; color: var(--navy); font-variant-numeric: tabular-nums; }
.scr-boxes div.due i { background: var(--yellow); color: var(--navy); }
.scr-boxes div.due b { font-size: 15px; }
.scr-boxes div.on { box-shadow: inset 0 0 0 1px #d5deea; }
.sheet td.on { background: #f4f7fb; }
.scr-track { display: flex; gap: 14px; list-style: none; margin: 0; padding: 8px 12px 10px; color: #5f6a78; font-size: 11px; }
.scr-track li.on { color: var(--green-700); }
.rota { padding: 10px 12px 12px; }
.rota-head, .rota-row { display: grid; grid-template-columns: 64px repeat(7, minmax(0, 1fr)); gap: 6px; align-items: center; }
.rota-head { color: #5f6a78; font-size: 11px; font-weight: 500; margin-bottom: 6px; }
.rota-row { margin-bottom: 6px; }
.rota-row b { font-size: 12.5px; font-weight: 500; }
.rota-row button {
  border: 1px solid #e6e8ec; background: var(--white); color: var(--navy); border-radius: 6px;
  height: 28px; cursor: pointer; font: inherit; font-size: 12px; font-weight: 500;
}
.rota-row button[data-shift="am"] { background: #f4f7fb; }
.rota-row button[data-shift="pm"] { background: #fbf8f1; }
.rota-row button[data-shift="off"] { color: #5f6a78; background: #f7f8fa; }
.rota-row button:disabled { cursor: default; opacity: .6; }
.scr-step, .scr-line {
  display: flex; align-items: center; gap: 8px; width: 100%; text-align: left;
  border: 0; border-bottom: 1px solid #f3f5f8; background: var(--white); color: var(--navy);
  min-height: 32px; padding: 0 12px; cursor: pointer; font: inherit; font-size: 12.5px;
}
.scr-step.on, .scr-line.on { background: #f4f7fb; }
.scr-step.done::before, .scr-line.on::before {
  content: ""; width: 6px; height: 6px; border-radius: 50%; background: var(--green); flex: none;
}
.scr-group { margin: 8px 12px 2px; color: #5f6a78; font-size: 11px; }
.scr-pane { padding: 12px 14px; display: flex; flex-direction: column; align-items: flex-start; gap: 8px; min-height: 100%; }
.scr-math { margin-top: auto; width: 100%; display: grid; grid-template-columns: repeat(3, 1fr); gap: 8px; }
.scr-math div { background: #f4f7fb; border-radius: 4px; padding: 12px; }
.scr-math span { display: block; color: #5f6a78; font-size: 11px; font-weight: 500; }
.scr-math b { display: block; margin-top: 4px; font-size: 16px; font-weight: 600; letter-spacing: -.02em; }
.scr-pane h3 { font-size: 14px; font-weight: 600; letter-spacing: -.02em; }
.scr-pane p, .scr-note { color: #626b78; font-size: 12.5px; margin: 0; }
.ct-work { background: #f4f7fb; padding: 14px; gap: 10px; align-items: stretch; }
.ct-work .ct-due { display: flex; align-items: baseline; justify-content: space-between; gap: 12px; }
.ct-work .ct-due .scr-meta { font-size: 10px; font-weight: 650; letter-spacing: .08em; text-transform: uppercase; }
.ct-work .ct-due b { font-size: 22px; font-weight: 650; letter-spacing: -.03em; color: var(--navy); font-variant-numeric: tabular-nums; }
.ct-work .ct-lines { display: grid; gap: 6px; }
.ct-work .scr-line {
  min-height: 38px; padding: 0 12px; border: 0; border-radius: 4px; background: #fff;
  box-shadow: inset 0 0 0 1px #e6ebf2;
}
.ct-work .scr-line span { color: #5f6a78; }
.ct-work .scr-line b { font-size: 13px; font-weight: 650; }
.ct-work .scr-line.on { background: #fff; box-shadow: inset 0 0 0 1px #d5deea; }
.ct-work .scr-line.on::before { width: 7px; height: 7px; }
.ct-work .scr-note { font-size: 12px; color: #5f6a78; }
.ct-work .scr-math { margin-top: 2px; }
.ct-work .scr-math div { background: #fff; border-radius: 4px; box-shadow: inset 0 0 0 1px #e6ebf2; }
.ct-work .scr-math .due b { font-size: 17px; }
.ct-work .btn { align-self: flex-start; }
.studio .ct-work .scr-line.is-hot { background: #FFF6E4; box-shadow: inset 3px 0 0 #E2A400; }
.sa-work { background: #f4f7fb; padding: 16px; gap: 12px; align-items: stretch; }
.sa-work h3 { font-size: 15px; }
.sa-work p { max-width: 40em; line-height: 1.45; color: #5f6a78; }
.sa-work .you-break { gap: 6px; margin: 0; width: 100%; }
.sa-work .you-break li {
  align-items: center; min-height: 38px; padding: 0 12px; border: 0; border-radius: 4px;
  background: #fff; box-shadow: inset 0 0 0 1px #e6ebf2; color: #5f6a78;
}
.sa-work .you-break b { font-size: 13px; font-weight: 650; }
.sa-work .scr-math { margin-top: 2px; }
.sa-work .scr-math div { background: #fff; border-radius: 4px; box-shadow: inset 0 0 0 1px #e6ebf2; }
.sa-work .scr-math .due b { font-size: 17px; }
.scr-line { justify-content: space-between; }
.scr-line b { font-weight: 500; font-variant-numeric: tabular-nums; }
.studio-log { margin: 0; padding: 8px 14px; border-top: 1px solid #eef0f3; color: #5f6a78; font-size: 12px; }
.studio .btn {
  height: 32px; padding: 0 12px; border-radius: 6px; font-size: 13px; font-weight: 500;
  box-shadow: none; letter-spacing: 0;
}
.studio .btn:hover, .studio .btn:active { transform: none; }
.studio .btn-yellow { box-shadow: none; }
.studio .btn-yellow:hover { background: var(--yellow-2); box-shadow: none; }
.studio .btn:disabled { opacity: .4; cursor: default; box-shadow: none; }
.studio .btn.is-sent:hover,
.studio .btn.is-sent:disabled,
.studio .btn.is-sent:disabled:hover {
  opacity: 1; background: var(--green); color: #fff; transform: none;
}
.th em { font-style: normal; font-size: 13px; color: var(--on-dark); min-height: 1.2em; }
.th.over { box-shadow: inset 0 0 0 1px rgba(255, 255, 255, .26), var(--bevel-dark), 0 30px 60px -30px rgba(0, 0, 0, .5); }
.th.over i { background: rgba(255, 255, 255, .55); }
.th.focus i { background: var(--yellow); }
.mtd .thresholds { margin-top: 0; margin-bottom: 0; }
.mtd-sub { margin: 36px 0 6px; text-align: center; color: #fff; font-size: 22px; font-weight: 650; letter-spacing: -.02em; }
.mtd-note { margin: 0 0 16px; text-align: center; color: var(--on-dark); font-size: 15px; }
/* ---------- MTD checker: a title, one line of result, then plain fields ---------- */
/* .mtd-note is reused by the testing suite further down; keep it light on this dark band */
#mtd .mtd-note { color: var(--on-dark-2); font-size: 15px; margin: 0 0 var(--space-4); }
#mtd #mtd-check { margin-top: var(--space-16); }
/* the result: one plain line of yellow text, no box */
.qguess {
  max-width: 920px; min-height: 1.6em; margin: var(--space-2) auto var(--space-6); text-align: center;
  font-size: var(--fs-base); font-weight: 500; line-height: 1.6; color: var(--yellow); text-wrap: balance;
}
.qguess i { display: none; }
/* while answers are missing, the line shimmers like text that is still loading */
.qguess[data-state="wait"] span {
  color: transparent; -webkit-background-clip: text; background-clip: text;
  background-image: linear-gradient(90deg, rgba(232, 238, 246, .45) 0%, rgba(232, 238, 246, .45) 40%, #fff 50%, rgba(232, 238, 246, .45) 60%, rgba(232, 238, 246, .45) 100%);
  background-size: 250% 100%; animation: qwait 2.4s linear infinite;
}
@keyframes qwait { from { background-position: 100% 0; } to { background-position: -150% 0; } }
@media (prefers-reduced-motion: reduce) { .qguess[data-state="wait"] span { animation: none; color: var(--on-dark-2); background: none; } }
/* the fields sit on a sheet of glossy white paper: layered whites, one soft sheen */
.qrow {
  position: relative; overflow: hidden; isolation: isolate;
  display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: var(--space-6) var(--space-8);
  max-width: 920px; margin-inline: auto; padding: var(--space-8) var(--space-10);
  border-radius: var(--radius-lg); text-align: left;
  background: linear-gradient(170deg, #ffffff 0%, #fbfcfe 38%, #f1f4f9 100%);
  box-shadow:
    inset 0 1px 0 #fff, inset 0 -1px 0 rgba(11, 37, 69, .05),
    0 1px 2px rgba(0, 0, 0, .1), 0 24px 60px -28px rgba(0, 0, 0, .6);
}
.qrow::before {
  content: ""; position: absolute; inset: -40% -10% auto 35%; height: 120%; z-index: -1; pointer-events: none;
  background: radial-gradient(closest-side, rgba(255, 255, 255, .95), rgba(255, 255, 255, 0));
}
.qf { display: grid; gap: 10px; align-content: start; min-width: 0; margin: 0; padding: 0; border: 0; }
.qf legend, .qf-label { padding: 0; font-size: 13px; font-weight: 500; letter-spacing: -.005em; color: #5f6b7b; }
.qf legend { margin-bottom: 10px; }

/* segmented choice: every option visible, the chosen one lifts out as a white tab */
.qseg {
  display: flex; gap: 2px; height: 46px; padding: 4px; border-radius: 11px;
  background: #eef2f6; box-shadow: inset 0 0 0 1px #e2e7ee, inset 0 1px 2px rgba(11, 37, 69, .04);
}
.qseg label { position: relative; flex: 1 1 0; min-width: 0; display: flex; }
.qseg input { position: absolute; inset: 0; width: 100%; height: 100%; margin: 0; opacity: 0; cursor: pointer; }
.qseg span {
  flex: 1; display: grid; place-items: center; padding: 0 8px; border-radius: 8px; white-space: nowrap; overflow: hidden; text-overflow: ellipsis;
  font-size: 14px; font-weight: 500; color: #5f6b7b; pointer-events: none;
  transition: background .2s, color .2s, box-shadow .2s;
}
.qseg label:hover span { color: var(--navy); }
.qseg input:checked + span {
  background: #fff; color: var(--navy); font-weight: 600;
  box-shadow: 0 1px 2px rgba(11, 37, 69, .12), 0 0 0 1px rgba(11, 37, 69, .06);
}
.qseg input:focus-visible + span { outline: 2px solid var(--navy-2); outline-offset: 1px; }

.qf-box {
  display: flex; align-items: center; height: 46px; border-radius: 11px; overflow: hidden;
  background: #fff; box-shadow: inset 0 0 0 1px #dfe5ec, 0 1px 2px rgba(11, 37, 69, .04);
  transition: box-shadow .2s;
}
.qf-box:hover { box-shadow: inset 0 0 0 1px #c9d2dd, 0 1px 2px rgba(11, 37, 69, .04); }
.qf-box:focus-within { box-shadow: inset 0 0 0 1.5px var(--navy-2), 0 0 0 4px rgba(2, 65, 123, .1); }
.qf-box b {
  display: grid; place-items: center; align-self: stretch; width: 44px; flex: none;
  font-weight: 500; color: #7b8697; background: #f4f6f9; border-right: 1px solid #e6eaf0;
}
.qf-box input {
  width: 100%; min-width: 0; height: 100%; border: 0; padding: 0 14px; background: transparent; outline: none;
  color: var(--navy); font: 600 1.05rem/1 inherit; font-family: inherit; letter-spacing: -.01em; font-variant-numeric: tabular-nums;
}
.qf-box input::placeholder { color: #aab3bf; font-weight: 500; }
@media (max-width: 760px) { .qrow { grid-template-columns: 1fr; padding: var(--space-6); } }
@media (max-width: 600px) {
  .qrow { padding: var(--space-5); }
  .qseg label { flex: 1 1 auto; }
  .qseg span { font-size: 13px; padding: 0 6px; }
}
.mtd .fine-dark {
  width: 100%; max-width: none; margin: var(--space-8) 0 0; text-align: center; text-wrap: pretty;
  font-size: var(--fs-md); line-height: 1.6; color: var(--white);
}
/* ---------- MTD section, compact: tighter band, smaller tiles, closer blocks ---------- */
#mtd { padding: clamp(56px, 8vh, 84px) 0; }
#mtd .center { gap: 12px; }
#mtd .display { font-size: clamp(2rem, 3.6vw, 3rem); }
#mtd .lede { font-size: var(--fs-base); }
#mtd .mtd-sub { margin: 28px 0 4px; font-size: 19px; }
#mtd .mtd-note { margin-bottom: 12px; font-size: 14px; }
#mtd .th { padding: 20px 24px 22px; gap: 6px; border-radius: var(--radius-lg); }
#mtd .th b { font-size: clamp(1.8rem, 3vw, 2.5rem); }
#mtd #mtd-check { margin-top: 36px; }
#mtd .qguess { margin: 2px auto 14px; }
#mtd .qrow { padding: 20px 28px; gap: 14px 24px; }
#mtd .qf { gap: 6px; }
#mtd .qf legend { margin-bottom: 6px; }
#mtd .qseg, #mtd .qf-box { height: 42px; }
#mtd .fine-dark { margin-top: 20px; font-size: 17px; line-height: 1.55; font-weight: 400; letter-spacing: 0; }
#pricing { position: relative; overflow: hidden; background: #fff; }
#pricing .field {
  position: absolute; inset: 0; width: 100%; height: 100%; z-index: 0; pointer-events: none;
  opacity: .78;
  -webkit-mask-image: linear-gradient(#000 0%, #000 62%, transparent 94%);
  mask-image: linear-gradient(#000 0%, #000 62%, transparent 94%);
}
/* light veil — just enough to calm the hex without washing it out */
#pricing::after {
  content: "";
  position: absolute;
  inset: 0;
  z-index: 1;
  pointer-events: none;
  background: rgba(255, 255, 255, .28);
}
#pricing .wrap { position: relative; z-index: 2; }
.workspace { margin-top: 28px; }
.workspace .device { transform: none; width: min(880px, 100%); margin-inline: auto; }
.workspace .chart i { height: var(--h); }
@media (max-width: 860px) {
  .scr-vat, .scr-split { grid-template-columns: 1fr; }
  .scr-side { border-right: 0; border-bottom: 1px solid #eef0f3; }
  .rota-head, .rota-row { grid-template-columns: 48px repeat(7, minmax(0, 1fr)); gap: 3px; }
  .studio-stage, .gate:not([hidden]) { min-height: 0; }
}

/* ---------- Testing suite: one fixed stage, every app ---------- */
.mtd-lab {
  box-sizing: border-box; height: 100dvh; padding: 76px 0 12px; overflow: hidden;
  display: flex; flex-direction: column;
}
.mtd-lab > .wrap {
  flex: 1; min-height: 0; height: 100%; display: flex; flex-direction: column;
}
.mtd-lab .center { flex: none; }
.mtd-lab .display { margin: 0; font-size: clamp(1.7rem, 3vw, 2.45rem); }
.mtd-lab .lede { margin: 8px auto 0; font-size: 16px; line-height: 1.4; }
.suite {
  flex: 1 1 0; height: 0; min-height: 0; margin-top: 12px;
  display: flex; flex-direction: column; overflow: hidden;
}
.suite .studio-tabs {
  flex: none; flex-wrap: nowrap; height: 52px; margin-bottom: 8px; overflow: hidden;
}
.suite .studio-tab {
  flex: 1 1 0; min-width: 0; justify-content: center; height: 40px; padding: 0 6px;
  white-space: nowrap; font-size: 12.5px;
}
.suite .studio-tab span { overflow: hidden; text-overflow: ellipsis; }
.suite .studio-tab.on { color: #fff; background: var(--navy); border-color: var(--navy); }
.suite .studio-tab.on::after {
  content: ""; position: absolute; left: 10px; right: 10px; bottom: 4px; height: 2px;
  border-radius: 2px; background: var(--yellow); transform: scaleX(var(--tour, 0));
  transform-origin: left; transition: transform 3.2s linear;
}
.suite .studio-tab.is-instant.on::after { transition: none; }
.suite-stage { flex: 1 1 0; height: 0; min-height: 0; overflow: hidden; }
.suite-panel { height: 100%; overflow: hidden; }
.suite-panel[hidden],
.gate.suite-panel[hidden] { display: none; }
.gate.suite-panel {
  display: flex; flex-direction: column; border: 1px solid #e6e8ec; border-radius: 12px;
}
.suite .gate-bar { height: 46px; flex: none; }
.suite .gate-bar > span { min-width: 0; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.suite .gate-bar .mtd-toggle {
  margin-left: auto; height: 28px; background: transparent; color: #fff;
  border-color: rgba(255, 255, 255, .35);
}
.suite .gate-bar .mtd-toggle:hover { background: rgba(255, 255, 255, .1); }
.ledger.suite-panel {
  display: grid; grid-template-columns: 168px minmax(0, 1fr);
  background: #eef2f6; border: 1px solid #dce3eb; border-radius: 12px; color: #12253c;
}
.ledger.suite-panel[hidden] { display: none; }
.ledger-nav {
  background: linear-gradient(180deg, #003566, #00243f); color: #dbe6f2;
  padding: 14px 10px; overflow: hidden;
}
.ledger-brand { margin: 0; padding: 4px 8px 10px; color: #fff; font-size: 14px; font-weight: 700; }
.ledger-label {
  margin: 10px 8px 4px; color: #93aac4; font-size: 10px; font-weight: 600;
  letter-spacing: .06em; text-transform: uppercase;
}
.ledger-nav button {
  position: relative; display: block; width: 100%; margin: 0; padding: 8px 10px;
  border: 0; border-radius: 8px; background: transparent; color: #dbe6f2;
  font: inherit; font-size: 13px; text-align: left; cursor: pointer;
}
.ledger-nav button.on { background: rgba(255, 255, 255, .12); color: #fff; }
.ledger-nav button.on::before {
  content: ""; position: absolute; left: 0; top: 8px; bottom: 8px; width: 3px;
  border-radius: 0 3px 3px 0; background: #5aa7e8;
}
.ledger-main { display: flex; flex-direction: column; min-width: 0; min-height: 0; background: #eef2f6; }
.ledger-top, .ledger-chrome {
  display: flex; align-items: center; gap: 10px; height: 48px; flex: none; padding: 0 14px;
}
.ledger-top { background: #fff; border-bottom: 1px solid #dce3eb; }
.ledger-chrome { background: linear-gradient(180deg, #003566, #00243f); color: #fff; }
.ledger-org { display: inline-flex; align-items: center; gap: 8px; font-size: 13px; font-weight: 600; flex: none; }
.ledger-org i { width: 8px; height: 8px; border-radius: 50%; background: #2f6f52; }
.ledger-top [data-app-note], .ledger-chrome [data-app-note] {
  min-width: 0; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; font-size: 12px;
}
.ledger-top [data-app-note] { color: #4a5d75; }
.ledger-chrome [data-app-note] { color: #dbe6f2; }
.ledger-top .mtd-toggle, .ledger-chrome .mtd-toggle { margin-left: auto; }
.ledger-chrome .mtd-toggle { background: transparent; color: #fff; border-color: rgba(255, 255, 255, .35); }
.ledger.ledger-rail, .ledger.ledger-page {
  grid-template-columns: minmax(0, 1fr);
  grid-template-rows: 48px minmax(0, 1fr);
}
.ledger-icons { display: flex; gap: 6px; padding: 8px 12px 0; flex: none; }
.ledger-icons button {
  height: 28px; padding: 0 10px; border: 0; border-radius: 8px; background: transparent;
  color: #4a5d75; font: inherit; font-size: 12px; font-weight: 600; cursor: pointer;
}
.ledger-icons button.on { background: #003566; color: #fff; }
.ledger-pills { display: flex; flex-wrap: wrap; gap: 6px; margin-top: 8px; }
.ledger-pills button {
  height: 28px; padding: 0 10px; border: 1px solid #dce3eb; border-radius: 8px; background: #fff;
  color: #4a5d75; font: inherit; font-size: 12px; cursor: pointer;
}
.ledger-pills button.on { background: #003566; border-color: #003566; color: #fff; }
.ledger-page .ledger-sheet { margin: 12px; padding: 14px; background: #fff; border: 1px solid #dce3eb; border-radius: 12px; overflow: hidden; }
.ledger-kicker { margin: 0; color: #0f6fb8; font-size: 11px; font-weight: 700; letter-spacing: .06em; text-transform: uppercase; }
.ledger-sheet h3 { margin: 2px 0 0; color: #12253c; font-size: 20px; font-weight: 650; }
.ledger-ct { grid-template-columns: 180px minmax(0, 1fr); }
.ledger-ct .ledger-nav { background: #0b2545; }
.ledger-ct .ledger-top .mtd-toggle { margin-left: 0; }
.ledger-net {
  margin-left: auto; padding: 4px 10px; border-radius: 999px; background: #fff6db;
  border: 1px solid #f0d789; color: #0b2545; font-size: 12px; font-weight: 700;
}
.app-fill {
  flex: 1; min-height: 0; overflow: hidden; background: #fff;
  display: flex; flex-direction: column;
}
.app-split { display: grid; grid-template-columns: minmax(220px, .8fr) minmax(0, 1.2fr); }
.app-split > * { min-height: 0; overflow: hidden; }
.vat-boxes, .acc-steps { align-content: start; }
.vat-boxes { display: grid; grid-template-columns: 1fr 1fr; gap: 8px; padding: 12px; }
.vat-boxes div { border: 1px solid #e6e8ec; border-radius: 8px; padding: 10px 12px; background: #fff; }
.vat-boxes span { display: block; color: #8b939e; font-size: 12px; }
.vat-boxes b { display: block; margin-top: 4px; font-size: 16px; font-weight: 600; }
.acc-steps { border-right: 1px solid #eef0f3; padding-top: 6px; }
.suite .is-hot:not(tr) { background: #FFF6E4; box-shadow: inset 3px 0 0 #E2A400; }
.suite tr.is-hot td { background: #FFF6E4; }
.suite tr.is-hot td:first-child { box-shadow: inset 3px 0 0 #E2A400; }
.suite .rota-row button.is-hot { background: #FFF6E4; box-shadow: inset 0 -2px 0 #E2A400; }
.suite .mtd-send.is-hot { background: #0047FF; box-shadow: inset 0 -3px 0 #F8B400; }
.suite .scr-track li.is-hot { color: var(--navy); font-weight: 600; background: transparent; box-shadow: inset 0 -2px 0 #E2A400; }

.mtd-frame {
  display: grid; grid-template-columns: 232px minmax(0, 1fr);
  height: 100%; min-height: 0; overflow: hidden;
  border: 1px solid #E2E6ED; border-radius: 12px;
  background: #F4F7FE; box-shadow: 4px 0 24px rgba(11, 27, 75, .12);
  font-size: 14px; line-height: 1.45; color: #1A1D21;
}
.mtd-frame h3, .mtd-frame h4, .mtd-frame p { letter-spacing: 0; text-wrap: wrap; }
.mtd-nav {
  position: relative; display: flex; flex-direction: column; min-height: 0; padding: 18px 0 12px; overflow: hidden;
  background: linear-gradient(180deg, #001a33 0%, #002952 38%, #003366 72%, #001428 100%);
  color: #fff;
}
.mtd-nav::before {
  content: ""; position: absolute; inset: 0; pointer-events: none;
  background:
    radial-gradient(ellipse 65% 50% at 0% 0%, rgba(130, 165, 210, .12) 0%, transparent 58%),
    conic-gradient(from 8deg at 0% 0%, transparent 0deg 4deg, rgba(150, 180, 220, .11) 4deg 20deg, transparent 20deg 32deg, rgba(150, 180, 220, .1) 32deg 50deg, transparent 50deg 62deg, rgba(150, 180, 220, .09) 62deg 80deg, transparent 80deg 360deg);
}
.mtd-brand, .mtd-search, .mtd-group, .mtd-nav button { position: relative; z-index: 1; }
.mtd-brand { margin: 0; padding: 0 20px 16px; color: #fff; font-size: 18px; font-weight: 700; letter-spacing: -.02em; text-align: center; }
.mtd-search {
  margin: 0 16px 18px; padding: 9px 14px 9px 34px; border: 1px solid rgba(255, 255, 255, .35); border-radius: 999px;
  background: #001428 url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='16' height='16' fill='none' stroke='rgba(255,255,255,.55)' stroke-width='1.8' viewBox='0 0 24 24'%3E%3Ccircle cx='11' cy='11' r='7'/%3E%3Cpath d='M20 20l-3.5-3.5'/%3E%3C/svg%3E") 12px 50% no-repeat;
  color: rgba(255, 255, 255, .45); font-size: 13px;
}
.mtd-group { margin: 0; padding: 8px 20px 8px; color: rgba(255, 255, 255, .35); font-size: 10px; font-weight: 600; letter-spacing: .08em; text-transform: uppercase; }
.mtd-nav button {
  position: relative; display: block; width: 100%; margin: 0; padding: 12px 20px; border: 0;
  background: transparent; color: rgba(255, 255, 255, .9); font: inherit; font-size: 14px; font-weight: 500; text-align: left; cursor: pointer;
}
.mtd-nav button:hover { background: rgba(255, 255, 255, .08); color: #fff; }
.mtd-nav button.on {
  background: #1b86d8; color: #fff;
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, .12), 0 0 18px rgba(27, 134, 216, .32);
}
.mtd-nav button.on::after {
  content: ""; position: absolute; top: 50%; right: 14px; width: 6px; height: 22px; border-radius: 999px;
  background: #66ff66; transform: translateY(-50%);
  box-shadow: 0 0 6px rgba(50, 205, 50, .95), 0 0 14px rgba(50, 205, 50, .55);
}
.mtd-main { position: relative; display: flex; flex-direction: column; min-width: 0; min-height: 0; height: 100%; background: #F4F7FE; }
.mtd-toasts {
  position: absolute; top: 62px; right: 14px; z-index: 4; display: grid; gap: 8px;
  width: min(260px, calc(100% - 28px)); pointer-events: none;
}
.mtd-toast {
  margin: 0; padding: 9px 12px 9px 14px; background: #fff; border: 1px solid #E2E6ED; border-left: 3px solid #0047FF;
  border-radius: 10px; box-shadow: 0 8px 22px rgba(16, 24, 40, .12); color: #1A1D21; font-size: 13px; font-weight: 500;
  animation: mtd-toast-in .28s ease;
}
.mtd-toast.is-out { opacity: 0; transform: translateY(-4px); transition: opacity .25s ease, transform .25s ease; }
@keyframes mtd-toast-in { from { opacity: 0; transform: translateY(6px); } }
.mtd-head {
  display: flex; flex: none; align-items: center; justify-content: space-between; gap: 16px;
  padding: 12px 20px; background: #fff; border-bottom: 1px solid #E2E6ED;
}
.mtd-head p { color: #5C6370; font-size: 12px; }
.mtd-head p span { margin: 0 4px; }
.mtd-head h3 { margin-top: 1px; color: #0047FF; font-size: 16px; font-weight: 600; line-height: 1.2; }
.mtd-tools { display: flex; align-items: center; gap: 8px; flex: none; }
.mtd-toggle {
  display: inline-flex; align-items: center; gap: 6px; height: 32px; padding: 0 12px;
  border: 1px solid #E2E6ED; border-radius: 10px; background: #fff; color: #1A1D21;
  font: inherit; font-size: 13px; font-weight: 500; cursor: pointer;
}
.mtd-toggle svg { width: 12px; height: 12px; fill: currentColor; }
.mtd-toggle [hidden] { display: none; }
.mtd-toggle:hover { background: #F4F7FE; }
.mtd-mode {
  display: inline-flex; align-items: center; gap: 6px; padding: 6px 12px; border-radius: 10px;
  background: #28A745; color: #fff; font-size: 13px; font-weight: 500;
}
.mtd-mode.is-paused { background: #5C6370; }
.mtd-mode i { width: 6px; height: 6px; border-radius: 50%; background: #fff; }
.mtd-body { flex: 1; min-height: 0; padding: 12px 16px 14px; overflow: hidden; }
.mtd-page { display: none; }
.mtd-page p { color: #6b7280; font-size: 11px; font-weight: 600; letter-spacing: .06em; text-transform: uppercase; }
.mtd-page h3 { margin-top: 2px; color: #111827; font-size: 28px; font-weight: 700; }
.mtd-page span { display: block; margin-top: 4px; color: #4b5563; font-size: 14px; }
.mtd-next {
  position: relative; margin-top: 0; padding: 8px 12px 8px 14px; overflow: hidden;
  background: #fff; border: 1px solid #E2E6ED; border-radius: 12px;
  box-shadow: 0 1px 3px rgba(16, 24, 40, .06), 0 1px 2px rgba(16, 24, 40, .04);
}
.mtd-next::before { content: ""; position: absolute; top: 0; bottom: 0; left: 0; width: 4px; background: #003566; }
.mtd-next p:first-child { color: #5C6370; font-size: 11px; font-weight: 600; letter-spacing: .04em; text-transform: uppercase; }
.mtd-next h4 { margin-top: 2px; color: #1A1D21; font-size: 15px; font-weight: 700; }
.mtd-next p:last-child { display: none; }
.mtd-section {
  margin: 10px 0 0; padding-left: 12px; border-left: 3px solid #2E75B6;
  color: #6b7280; font-size: 13px; font-weight: 600; letter-spacing: .06em; text-transform: uppercase;
}
.mtd-h { margin-top: 0; color: #111827; font-size: 20px; font-weight: 700; }
.mtd-lead, .mtd-prop, .mtd-note, .mtd-empty { color: #4b5563; font-size: 13px; line-height: 1.4; }
.mtd-lead, .mtd-prop { margin-top: 4px; }
.mtd-source {
  margin-top: 8px; padding: 8px 10px; background: #fff; border: 1px solid #e5e7eb; border-radius: 12px;
  box-shadow: 0 1px 3px rgba(16, 24, 40, .06);
}
.mtd-source[data-source="uk"] { display: flex; flex-wrap: wrap; align-items: center; gap: 6px 12px; }
.mtd-source[data-source="uk"] .mtd-pills { display: none; }
.mtd-source[data-source="uk"] header { flex: 1 1 160px; }
.mtd-source[data-source="uk"] .mtd-prop { flex: 1 1 180px; margin: 0; }
.mtd-source[data-source="uk"] .mtd-send { margin: 0; }
.mtd-source header { display: flex; align-items: baseline; justify-content: space-between; gap: 12px; }
.mtd-source header b { color: #1f2937; font-size: 14px; font-weight: 500; }
.mtd-source header span { color: #6b7280; font-size: 13px; }
.mtd-pills { display: flex; flex-wrap: nowrap; gap: 6px; margin-top: 6px; }
.mtd-pills button {
  border: 1px solid #e5e7eb; border-radius: 999px; padding: 4px 10px; background: #f3f4f6; color: #4b5563;
  font: inherit; font-size: 12px; font-weight: 500; cursor: pointer;
}
.mtd-pills button.on { box-shadow: 0 0 0 2px #93c5fd; }
.mtd-pills button.is-done { background: #d1fae5; border-color: #a7f3d0; color: #065f46; }
.mtd-pills button.is-progress { background: #dbeafe; border-color: #bfdbfe; color: #1e40af; }
.mtd-pills button.is-open { background: #fef3c7; border-color: #fde68a; color: #92400e; }
.mtd-quarter { margin-top: 8px; }
.mtd-qmeta { display: flex; align-items: center; justify-content: space-between; gap: 8px; color: #374151; font-size: 13px; }
.mtd-qmeta em, .mtd-main table em { font-style: normal; font-size: 12px; font-weight: 600; }
.mtd-qmeta em { padding: 2px 8px; border-radius: 999px; background: #fef3c7; color: #92400e; }
.mtd-qmeta em.is-done, .mtd-main table em.is-done { background: #d1fae5; color: #065f46; }
.mtd-qmeta em.is-progress { background: #dbeafe; color: #1e40af; }
.mtd-qmeta em.is-wait { background: #f3f4f6; color: #4b5563; }
.mtd-main table em { color: #92400e; }
.mtd-figures { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 8px; margin: 8px 0; }
.mtd-figures div { padding: 6px 8px; border-radius: 10px; background: #F4F7FE; }
.mtd-figures span, .mtd-cards p, .mtd-stats p, .mtd-estimate span { display: block; color: #6b7280; font-size: 12px; }
.mtd-figures b { color: #111827; font-size: 16px; }
.mtd-main table { width: 100%; border-collapse: collapse; font-size: 13px; background: #fff; }
.mtd-main th { padding: 4px 6px; border-bottom: 1px solid #E2E6ED; color: #6b7280; font-size: 11px; font-weight: 600; letter-spacing: .04em; text-align: left; text-transform: uppercase; }
.mtd-main td { padding: 4px 6px; border-bottom: 1px solid #f3f4f6; color: #1A1D21; }
.mtd-main .amt { text-align: right; font-variant-numeric: tabular-nums; }
.mtd-main tr[data-line] { cursor: pointer; }
.mtd-main tr.is-out td { color: #9ca3af; text-decoration: line-through; }
.mtd-main tr.is-new td { animation: mtd-in 1.1s ease; }
@keyframes mtd-in { from { background: #FFF6E4; } }
.mtd-empty { margin-top: 8px; }
.mtd-send {
  margin-top: 8px; border: 0; border-radius: 10px; padding: 6px 14px;
  background: #0047FF; color: #fff; font: inherit; font-size: 14px; font-weight: 500; cursor: pointer;
}
.mtd-send:hover:not(:disabled) { background: #003AD6; }
.mtd-send:disabled { opacity: .45; cursor: default; }
.mtd-cards, .mtd-stats, .mtd-estimate { display: grid; gap: 8px; margin-top: 10px; }
.mtd-cards { grid-template-columns: repeat(2, minmax(0, 1fr)); }
.mtd-stats { grid-template-columns: repeat(3, minmax(0, 1fr)); }
.mtd-estimate { grid-template-columns: 1fr 1fr; }
.mtd-cards article, .mtd-stats article, .mtd-estimate div {
  padding: 10px 12px; background: #fff; border: 1px solid #E2E6ED; border-radius: 12px;
  box-shadow: 0 1px 3px rgba(16, 24, 40, .06);
}
.mtd-cards b, .mtd-stats b, .mtd-estimate b { display: block; margin-top: 2px; color: #111827; font-size: 18px; }
.mtd-cards span, .mtd-stats span { display: block; margin-top: 4px; color: #6b7280; font-size: 12px; }
.mtd-stats article.is-open { background: #fffbeb; border-color: #fde68a; }
.mtd-stats article.is-done { background: #ecfdf5; border-color: #a7f3d0; }
.mtd-note { margin-top: 12px; }
@media (max-width: 800px) {
  .mtd-frame { grid-template-columns: 1fr; }
  .mtd-nav { flex-direction: row; align-items: center; gap: 4px; overflow: auto; padding: 8px; }
  .mtd-brand, .mtd-search, .mtd-group { display: none; }
  .mtd-nav button { width: auto; white-space: nowrap; padding: 10px 12px; }
  .mtd-nav button.on::after { display: none; }
  .mtd-figures, .mtd-cards, .mtd-stats, .mtd-estimate { grid-template-columns: 1fr; }
}
@media (prefers-reduced-motion: reduce) {
  .mtd-toggle { display: none; }
}

/* ---------- 07 who: modal cards, image cards that open into a full modal ---------- */
.mcards { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: var(--space-5); margin-top: var(--block-gap); }
.mcard {
  position: relative; display: block; aspect-ratio: 5 / 4; padding: 0; border: 0; border-radius: var(--radius-lg);
  overflow: hidden; cursor: pointer; text-align: left; background: var(--navy); isolation: isolate;
  box-shadow: 0 1px 2px rgba(11, 37, 69, .08), 0 22px 44px -26px rgba(11, 37, 69, .55);
  transition: transform .5s var(--ease), box-shadow .5s var(--ease);
}
.mcard img, .mmodal-media img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; z-index: -2; }
.mcard img { transition: transform .9s var(--ease); }
.mcard::after, .mmodal-media::after {
  content: ""; position: absolute; inset: 0; z-index: -1; pointer-events: none;
  background: linear-gradient(180deg, rgba(11, 37, 69, 0) 38%, rgba(11, 37, 69, .55) 68%, rgba(11, 37, 69, .92) 100%);
}
.mcard:hover { transform: translateY(-4px); box-shadow: 0 1px 2px rgba(11, 37, 69, .08), 0 30px 56px -26px rgba(11, 37, 69, .65); }
.mcard:hover img { transform: scale(1.05); }
.mcard:focus-visible { outline: 2px solid var(--yellow); outline-offset: 3px; }
.mcard-copy { position: absolute; left: 22px; right: 68px; bottom: 20px; display: grid; gap: 4px; }
.mcard-kicker { font-size: var(--fs-micro); font-weight: 600; letter-spacing: var(--track-caps-wide); text-transform: uppercase; color: var(--yellow); }
.mcard-title { font-size: var(--fs-lg); font-weight: 700; letter-spacing: -.02em; line-height: 1.15; color: #fff; }
.mcard-plus, .mmodal-close {
  position: absolute; right: 18px; bottom: 18px; width: 36px; height: 36px; border-radius: 50%; border: 0; padding: 0;
  background: rgba(255, 255, 255, .18); backdrop-filter: blur(8px); -webkit-backdrop-filter: blur(8px);
  box-shadow: inset 0 0 0 1px rgba(255, 255, 255, .28); transition: background .25s, transform .4s var(--ease);
}
.mcard-plus::before, .mcard-plus::after, .mmodal-close::before, .mmodal-close::after {
  content: ""; position: absolute; left: 50%; top: 50%; width: 13px; height: 1.8px; margin: -0.9px 0 0 -6.5px; border-radius: 2px; background: #fff;
}
.mcard-plus::after { transform: rotate(90deg); }
.mcard:hover .mcard-plus { background: var(--yellow); transform: rotate(90deg); }
.mcard:hover .mcard-plus::before, .mcard:hover .mcard-plus::after { background: var(--navy); }

/* the modal: portaled to body — above nav (200) and every following section */
.mmodal { position: fixed; inset: 0; z-index: 320; }
.mmodal[hidden] { display: none; }
html.who-modal-open { overflow: hidden; }
.mmodal-back { position: absolute; inset: 0; background: rgba(6, 20, 40, .62); backdrop-filter: blur(6px); -webkit-backdrop-filter: blur(6px); }
.mmodal-panel {
  position: fixed; overflow: hidden; border-radius: var(--radius-lg); background: var(--navy);
  box-shadow: 0 40px 100px -30px rgba(0, 0, 0, .6); display: flex; flex-direction: column;
}
.mmodal-media { position: relative; flex: 1; isolation: isolate; background: var(--navy); min-height: 0; }
.mmodal-close { top: 18px; bottom: auto; right: 18px; z-index: 3; cursor: pointer; }
.mmodal-close::before { transform: rotate(45deg); }
.mmodal-close::after { transform: rotate(-45deg); }
.mmodal-close:hover { background: rgba(255, 255, 255, .32); }
.mmodal-close:focus-visible { outline: 2px solid var(--yellow); outline-offset: 2px; }
/* title + body sit in the photo */
.mmodal-shade {
  position: absolute; left: 0; right: 0; bottom: 0; z-index: 2;
  display: grid; gap: 10px; justify-items: start;
  padding: 48px 28px 28px;
  background: linear-gradient(180deg, rgba(6, 20, 40, 0) 0%, rgba(6, 20, 40, .55) 28%, rgba(6, 20, 40, .92) 72%, rgba(6, 20, 40, .96) 100%);
}
.mmodal-shade .mcard-kicker,
.mmodal-shade .mcard-title {
  position: static; margin: 0; max-width: 18em;
  background: none; backdrop-filter: none; -webkit-backdrop-filter: none; padding: 0;
}
.mmodal-shade .mcard-title {
  font-size: clamp(1.55rem, 3vw, 2.15rem); font-weight: 750; letter-spacing: -.03em; line-height: 1.12; color: #fff;
}
.mmodal-body {
  display: grid; gap: 14px; justify-items: start; width: 100%;
  padding: 0; margin-top: 4px;
}
.mmodal-body p {
  margin: 0; font-size: var(--fs-base); line-height: 1.55;
  color: rgba(232, 238, 246, .88); max-width: 36em;
}
@media (max-width: 960px) { .mcards { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 600px) { .mcards { grid-template-columns: 1fr; } .mcard { aspect-ratio: 16 / 10; } }

/* ---------- who: six equal cards, photos at full strength, a black scrim only where the text sits ---------- */
.mcards { grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 20px; }
.mcard { aspect-ratio: 4 / 3; height: auto; border-radius: 12px; }
/* no gradient over the photo: the text sits in a light black box along the bottom */
.mcard::after { display: none; }
.mcard-copy {
  left: 0; right: 0; bottom: 0; gap: 5px; padding: 18px 76px 20px 24px;
  background: rgba(0, 0, 0, .38); backdrop-filter: blur(3px); -webkit-backdrop-filter: blur(3px);
}
.mcard-title { text-shadow: 0 1px 10px rgba(0, 0, 0, .3); }
.mcard-desc { display: block; font-size: 14px; line-height: 1.45; color: rgba(255, 255, 255, .88); max-width: 30em; }
/* the plus: a solid white disc on the copy's bottom line, the cross drawn in even pixels so it stays crisp */
.mcard-plus {
  z-index: 1; right: 22px; bottom: 20px; width: 34px; height: 34px; background: #fff;
  backdrop-filter: none; -webkit-backdrop-filter: none; box-shadow: 0 4px 14px -4px rgba(0, 0, 0, .45);
}
.mcard-plus::before, .mcard-plus::after, .mmodal-close::before, .mmodal-close::after {
  width: 14px; height: 2px; margin: 0; border-radius: 1px; transform: translate(-50%, -50%);
}
.mcard-plus::before, .mcard-plus::after { background: var(--navy); }
.mcard-plus::after { transform: translate(-50%, -50%) rotate(90deg); }
.mmodal-close::before { transform: translate(-50%, -50%) rotate(45deg); }
.mmodal-close::after { transform: translate(-50%, -50%) rotate(-45deg); }
.mcard:hover .mcard-plus { background: var(--yellow); }
.mmodal-panel { border-radius: 16px; }
/* the modal's app chips — glass on the photo */
.mmodal-apps { display: grid; gap: 10px; width: 100%; }
.mmodal-apps-label {
  font-size: var(--fs-micro); font-weight: 600; letter-spacing: var(--track-caps-wide);
  text-transform: uppercase; color: rgba(232, 238, 246, .55);
}
.mmodal-apps ul { display: flex; flex-wrap: wrap; gap: 8px; margin: 0; padding: 0; list-style: none; }
.mmodal-apps li {
  display: inline-flex; align-items: center; gap: 7px; height: 30px; padding: 0 12px; border-radius: var(--radius-pill);
  font-size: 13px; font-weight: 600; color: #fff;
  background: rgba(255, 255, 255, .14); box-shadow: inset 0 0 0 1px rgba(255, 255, 255, .22);
}
.mmodal-apps li::before { content: ""; width: 6px; height: 6px; border-radius: 50%; background: var(--yellow); }
.mmodal-body > .btn { width: auto; min-width: 160px; }
@media (max-width: 960px) { .mcards { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 600px) { .mcards { grid-template-columns: 1fr; } .mcard { aspect-ratio: 16 / 11; } }
.mmodal-media::after { display: none; }


/* ---------- who: Magnific-style abstract surface + income streams ---------- */
#who {
  position: relative;
  overflow: hidden;
  isolation: isolate;
  background:
    linear-gradient(180deg, rgba(255, 255, 255, .15) 0%, rgba(255, 255, 255, .55) 72%, #fff 100%),
    url("assets/who-abstract.svg?v=1") center / cover no-repeat,
    #eef4fb;
}
#who::before, #who::after { content: ""; position: absolute; pointer-events: none; z-index: 0; }
/* soft brand bloom over the abstract, fading before the pricing seam */
#who::after {
  inset: -8% -4% 8%;
  z-index: 0;
  background:
    radial-gradient(ellipse 36% 32% at 88% 12%, rgba(248, 180, 0, .2), transparent 70%),
    radial-gradient(ellipse 40% 36% at 8% 70%, rgba(2, 65, 123, .14), transparent 72%),
    radial-gradient(ellipse 34% 30% at 50% 48%, rgba(2, 65, 123, .06), transparent 70%);
  filter: blur(22px);
  -webkit-mask-image: linear-gradient(180deg, #000 0%, #000 62%, transparent 96%);
  mask-image: linear-gradient(180deg, #000 0%, #000 62%, transparent 96%);
}
#who::before {
  inset: 0;
  z-index: 0;
  background-image: radial-gradient(rgba(11, 37, 69, .1) 1px, transparent 1.2px);
  background-size: 22px 22px;
  -webkit-mask-image: radial-gradient(ellipse 68% 58% at 50% 52%, #000 18%, transparent 76%);
  mask-image: radial-gradient(ellipse 68% 58% at 50% 52%, #000 18%, transparent 76%);
  opacity: .55;
}
#who > .wrap { position: relative; z-index: 1; }

/* ---------- security cards: scattered and floating around the mark ---------- */
/* each card: --ox/--oy its scatter offset, --r its tilt, --d its depth (1 near, 0.5 far), --f its float period */
.orbit-col { gap: 26px; }
.orbit-card {
  --ox: 0px; --oy: 0px; --r: 0deg; --d: 1; --f: 7s;
  transform: translate3d(calc(var(--ox) * var(--spread, 1) + var(--px, 0) * var(--d) * 8px), calc(var(--oy) * var(--spread, 1) + var(--py, 0) * var(--d) * 6px), 0)
    rotate(var(--r)) scale(calc(.88 + var(--d) * .12));
  box-shadow: 0 calc(10px + var(--d) * 18px) calc(24px + var(--d) * 26px) -18px rgba(11, 37, 69, calc(.25 + var(--d) * .25)), inset 0 0 0 1px #e6e8ec;
  animation: orbit-card-float var(--f) ease-in-out infinite alternate;
  transition: transform .5s var(--ease), box-shadow .3s;
  will-change: transform;
}
.orbit-card.on { box-shadow: 0 calc(14px + var(--d) * 18px) calc(28px + var(--d) * 26px) -16px rgba(11, 37, 69, .45), inset 0 0 0 1.5px var(--c, var(--navy)); }
.orbit-card:hover { --d: 1.15; }
@keyframes orbit-card-float { from { translate: 0 -6px; } to { translate: 0 8px; } }
/* scatter stays toward the mark — never past the viewport edges (avoids clipped white stubs) */
.orbit-col-left .orbit-card:nth-child(1) { --ox: 22px; --oy: -14px; --r: -2.5deg; --d: .7; --f: 7.5s; }
.orbit-col-left .orbit-card:nth-child(2) { --ox: 14px; --oy: 4px; --r: 1.8deg; --d: 1; --f: 6.2s; animation-delay: -2s; }
.orbit-col-left .orbit-card:nth-child(3) { --ox: 28px; --oy: 16px; --r: -1.2deg; --d: .55; --f: 8.4s; animation-delay: -4s; }
.orbit-col-right .orbit-card:nth-child(1) { --ox: -22px; --oy: -8px; --r: 2.2deg; --d: .9; --f: 6.8s; animation-delay: -1s; }
.orbit-col-right .orbit-card:nth-child(2) { --ox: -14px; --oy: 8px; --r: -2deg; --d: .6; --f: 8s; animation-delay: -3s; }
.orbit-col-right .orbit-card:nth-child(3) { --ox: -18px; --oy: 14px; --r: 1.4deg; --d: 1; --f: 7s; animation-delay: -5s; }
@media (max-width: 960px) {
  .orbit-card { --ox: 0px !important; --oy: 0px !important; --r: 0deg !important; --d: 1 !important; transform: none; animation: none; }
}
@media (prefers-reduced-motion: reduce) { .orbit-card { animation: none; transition: none; } }

/* pricing hexagons fade in under the who → pricing seam */
#pricing .field {
  -webkit-mask-image: linear-gradient(transparent 0%, #000 16%, #000 62%, transparent 94%);
  mask-image: linear-gradient(transparent 0%, #000 16%, #000 62%, transparent 94%);
}

/* income streams converging behind the cards */
.who-streams {
  position: absolute; inset: 0; width: 100%; height: 100%; z-index: 0; pointer-events: none;
  -webkit-mask-image: linear-gradient(180deg, transparent 0%, #000 12%, #000 70%, transparent 94%);
  mask-image: linear-gradient(180deg, transparent 0%, #000 12%, #000 70%, transparent 94%);
}
.who-streams path { fill: none; vector-effect: non-scaling-stroke; }
.who-streams .stream { stroke: rgba(2, 65, 123, .14); stroke-width: 1; }
.who-streams .stream.gold { stroke: rgba(226, 164, 0, .38); }
.who-streams .stream.blue { stroke: rgba(2, 65, 123, .32); stroke-width: 1.15; }
.who-streams .pulse {
  stroke: var(--yellow); stroke-width: 1.75; stroke-linecap: round; opacity: .7;
  stroke-dasharray: 70 930; stroke-dashoffset: 1000; animation: who-flow 7s linear infinite;
}
.who-streams .pulse.blue { stroke: #1a5fa8; animation-duration: 8.5s; opacity: .55; }
@keyframes who-flow { to { stroke-dashoffset: 0; } }
@media (prefers-reduced-motion: reduce) { .who-streams .pulse { display: none; } }

/* Phones only. Tablets and up keep the photo grid and the stream animation. */
.who-lite { display: none; margin: 22px 0 0; padding: 0; list-style: none; }
@media (max-width: 600px) {
  #who .who-streams,
  #who .mcards { display: none; }
  #who .who-streams .pulse { animation: none; }
  .who-lite {
    display: grid;
    grid-template-columns: minmax(0, 1fr);
    gap: 12px;
  }
  .who-lite-card {
    display: grid;
    min-width: 0;
    overflow: hidden;
    border-radius: 16px;
    background: #fff;
    border: 1px solid #e4ebf3;
    box-shadow: 0 10px 24px -18px rgba(11, 37, 69, .4);
    color: inherit;
  }
  .who-lite img {
    display: block;
    width: 100%;
    height: 168px;
    object-fit: cover;
  }
  .who-lite-copy { display: grid; gap: 3px; min-width: 0; padding: 12px 14px 14px; }
  .who-lite-kicker {
    font-size: 11px;
    font-weight: 650;
    letter-spacing: .04em;
    color: #5a6b80;
  }
  .who-lite-title {
    font-size: 16px;
    font-weight: 700;
    letter-spacing: -.02em;
    line-height: 1.2;
    color: #0B2545;
  }
  .who-lite-desc {
    font-size: 13.5px;
    line-height: 1.4;
    color: #3d4f66;
  }
}


/* ---------- site cursor: a pointy branded arrow (navy, white edge); gold over anything clickable ---------- */
:root {
  --cur-arrow: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='28' height='28' viewBox='0 0 28 28'%3E%3Cpath d='M6 4.6v19l5-4.5 3.6 7.9 3.4-1.5-3.5-7.7H21z' fill='%230B2545' opacity='.22'/%3E%3Cpath d='M5 3v19l5-4.5 3.6 7.9 3.4-1.5-3.5-7.7H20z' fill='%230B2545' stroke='white' stroke-width='1.6' stroke-linejoin='round'/%3E%3C/svg%3E") 5 3, auto;
  --cur-hand: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='28' height='28' viewBox='0 0 28 28'%3E%3Cpath d='M6 4.6v19l5-4.5 3.6 7.9 3.4-1.5-3.5-7.7H21z' fill='%230B2545' opacity='.22'/%3E%3Cpath d='M5 3v19l5-4.5 3.6 7.9 3.4-1.5-3.5-7.7H20z' fill='%23F8B400' stroke='%230B2545' stroke-width='1.6' stroke-linejoin='round'/%3E%3C/svg%3E") 5 3, pointer;
}
html, body { cursor: var(--cur-arrow); }
:is(a[href], button, [role="button"], label, summary, select, input[type="checkbox"], input[type="radio"], input[type="range"],
  .btn, .mcard, .orbit-node, .orbit-card, .demo-tab, .qseg label, .qseg input, .th, .toggle button, .mmodal-close,
  .scr tbody tr, tr[data-line], [data-fig]) { cursor: var(--cur-hand) !important; }
/* the pricing plans draw their own collaborator cursors */
.plan.has-collab, .plan.has-collab * { cursor: none !important; }

/* ---------- FAQ: numbered questions beside contact channels, on deep navy ---------- */
.faq { position: relative; overflow: hidden; isolation: isolate; padding: clamp(80px, 12vh, 140px) 0; background: #071B33; color: rgba(232, 238, 246, .82); }
.faq::before, .faq::after { content: ""; position: absolute; pointer-events: none; z-index: -1; }
.faq::before {
  inset: -10%;
  background:
    radial-gradient(ellipse 42% 40% at 12% 18%, rgba(2, 65, 123, .85), transparent 70%),
    radial-gradient(ellipse 36% 34% at 92% 88%, rgba(248, 180, 0, .14), transparent 70%),
    radial-gradient(ellipse 30% 30% at 70% 20%, rgba(37, 99, 235, .14), transparent 70%);
  filter: blur(30px);
}
.faq::after {
  inset: 0;
  background-image: linear-gradient(rgba(255, 255, 255, .045) 1px, transparent 1px), linear-gradient(90deg, rgba(255, 255, 255, .045) 1px, transparent 1px);
  background-size: 56px 56px;
  -webkit-mask-image: radial-gradient(ellipse 60% 60% at 50% 45%, #000 10%, transparent 75%);
  mask-image: radial-gradient(ellipse 60% 60% at 50% 45%, #000 10%, transparent 75%);
}
.faq-in { display: grid; grid-template-columns: minmax(0, 0.9fr) minmax(0, 1.3fr); gap: clamp(40px, 6vw, 96px); align-items: start; }
.faq-side { position: sticky; top: 100px; display: grid; gap: 18px; justify-items: start; }
.faq-title { color: #fff; font-size: clamp(2.1rem, 3.8vw, 3.1rem); font-weight: 700; letter-spacing: -.04em; line-height: 1.06; }
.faq-lede { font-size: var(--fs-base); line-height: 1.6; max-width: 30em; color: rgba(232, 238, 246, .72); }
.faq-channels { width: 100%; max-width: 440px; margin-top: 10px; border-radius: 18px; overflow: hidden; background: rgba(255, 255, 255, .04); box-shadow: inset 0 0 0 1px rgba(255, 255, 255, .1), 0 30px 60px -36px rgba(0, 0, 0, .7); backdrop-filter: blur(6px); }
.faq-channel { display: grid; grid-template-columns: auto 1fr auto; align-items: center; gap: 14px; padding: 16px 18px; color: inherit; text-decoration: none; transition: background .25s; }
.faq-channel + .faq-channel { border-top: 1px solid rgba(255, 255, 255, .08); }
.faq-channel:hover { background: rgba(255, 255, 255, .05); }
.faq-channel:focus-visible { outline: 2px solid var(--yellow); outline-offset: -2px; }
.faq-channel-ic { display: grid; place-items: center; width: 40px; height: 40px; border-radius: 50%; background: rgba(255, 255, 255, .07); box-shadow: inset 0 0 0 1px rgba(255, 255, 255, .1); }
.faq-channel-ic svg, .faq-channel-go svg { width: 18px; height: 18px; fill: none; stroke: currentColor; stroke-width: 1.7; stroke-linecap: round; stroke-linejoin: round; }
.faq-channel-ic svg { color: var(--yellow); }
.faq-channel-copy { display: grid; gap: 2px; min-width: 0; }
.faq-channel-copy b { color: #fff; font-size: 15px; font-weight: 600; overflow-wrap: anywhere; }
.faq-channel-copy span { font-size: 13px; color: rgba(232, 238, 246, .6); }
.faq-channel-go { color: rgba(232, 238, 246, .45); transition: color .25s, transform .3s var(--ease); }
.faq-channel:hover .faq-channel-go { color: var(--yellow); transform: translate(2px, -2px); }
/* the list */
.faq-list { margin: 0; padding: 0; list-style: none; border-top: 1px solid rgba(255, 255, 255, .1); }
.faq-item { border-bottom: 1px solid rgba(255, 255, 255, .1); }
.faq-item h3 { margin: 0; font: inherit; }
.faq-q {
  display: grid; grid-template-columns: 44px 1fr auto; align-items: center; gap: 12px; width: 100%;
  padding: 24px 0; border: 0; background: none; color: #fff; text-align: left; font: inherit;
}
.faq-q:focus-visible { outline: 2px solid var(--yellow); outline-offset: 4px; border-radius: 6px; }
.faq-num { font-size: 13px; font-weight: 600; letter-spacing: .06em; color: rgba(232, 238, 246, .38); font-variant-numeric: tabular-nums; transition: color .3s; }
.faq-text { font-size: clamp(1.05rem, 1.5vw, 1.22rem); font-weight: 600; letter-spacing: -.015em; line-height: 1.35; transition: color .3s; }
.faq-q:hover .faq-text { color: var(--yellow); }
.faq-toggle {
  position: relative; width: 34px; height: 34px; border-radius: 50%; flex: none;
  background: rgba(255, 255, 255, .07); box-shadow: inset 0 0 0 1px rgba(255, 255, 255, .12);
  transition: background .3s, box-shadow .3s, transform .45s var(--ease);
}
.faq-toggle::before {
  content: ""; position: absolute; left: 50%; top: 50%; width: 8px; height: 8px; margin: -6px 0 0 -4px;
  border-right: 1.8px solid #fff; border-bottom: 1.8px solid #fff; transform: rotate(45deg); transition: border-color .3s;
}
.faq-item.is-open .faq-num { color: var(--yellow); }
.faq-item.is-open .faq-toggle { background: var(--yellow); box-shadow: 0 6px 18px -6px rgba(248, 180, 0, .6); transform: rotate(180deg); }
.faq-item.is-open .faq-toggle::before { border-color: var(--navy); }
/* answers open by animating the row height from 0 to its content */
.faq-a { display: grid; grid-template-rows: 0fr; transition: grid-template-rows .45s var(--ease); }
.faq-a > div { overflow: hidden; padding-left: 56px; padding-right: 50px; }
.faq-item.is-open .faq-a { grid-template-rows: 1fr; }
.faq-a p { font-size: var(--fs-md); line-height: 1.65; color: rgba(232, 238, 246, .72); max-width: 40em; }
.faq-a p + p { margin-top: 12px; }
.faq-a > div > p:last-child { padding-bottom: 26px; }
@media (max-width: 960px) {
  .faq-in { grid-template-columns: 1fr; }
  .faq-side { position: static; width: 100%; justify-items: stretch; }
  .faq-lede { max-width: none; }
  .faq-channels { max-width: none; width: 100%; }
}
@media (max-width: 600px) {
  .faq-q { grid-template-columns: 34px 1fr auto; padding: 20px 0; }
  .faq-a > div { padding-left: 46px; padding-right: 0; }
}
@media (prefers-reduced-motion: reduce) { .faq-a, .faq-toggle { transition: none; } }
.faq { z-index: 2; }
.faq .eyebrow { color: rgba(232, 238, 246, .78); }

/* preloader: the mark, ring and count scale with the screen, so they hold their own on a large display */
.boot-in { gap: clamp(14px, 1.6vw, 26px); }
.boot-mark { width: clamp(170px, 17vw, 300px); height: clamp(170px, 17vw, 300px); margin-bottom: clamp(6px, 1vw, 16px); }
.boot-mark img { width: clamp(84px, 8.4vw, 150px); }
.boot-ring circle { stroke-width: 2; }
.boot-count { font-size: clamp(44px, 4.6vw, 80px); }
.boot-count small { font-size: clamp(20px, 1.9vw, 32px); }
.boot-msg { font-size: clamp(14px, 1.05vw, 18px); }
/* a soft light disc behind the mark, so its navy half reads against the navy screen */
.boot-mark::before {
  content: ""; position: absolute; inset: 14%; border-radius: 50%;
  background: radial-gradient(circle, rgba(219, 234, 254, .2) 0%, rgba(219, 234, 254, .08) 55%, transparent 72%);
}
.boot-mark img { position: relative; }

/* pricing: each feature carries an icon that says what it is */
.plan .list li { padding-left: 36px; min-height: 24px; }
.plan .list li::before { display: none; }
.plan .list .li-ic {
  position: absolute; left: 0; top: -1px; width: 24px; height: 24px; padding: 5px; border-radius: 7px;
  color: var(--navy-2); background: #eef3f9; box-shadow: inset 0 0 0 1px #dfe7f1; stroke-width: 1.8;
}
.plan-pop .list .li-ic { color: var(--yellow); background: rgba(248, 180, 0, .12); box-shadow: inset 0 0 0 1px rgba(248, 180, 0, .28); }

/* ---------- responsive pass: tablet ---------- */
@media (max-width: 960px) and (min-width: 601px) {
  /* the three MTD lines stay side by side on a tablet */
  #mtd .thresholds { grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 12px; }
  #mtd .th { padding: 18px 18px 20px; }
  #mtd .th b { font-size: clamp(1.5rem, 3.6vw, 2rem); }
  #mtd .th span { font-size: 11px; letter-spacing: .12em; }
}
@media (max-width: 960px) {
  /* security on a tablet: the mark on top, then the six cards in two even columns of three */
  .security-orbit { grid-template-columns: repeat(2, minmax(0, 1fr)); grid-template-areas: "orbit orbit" "left right"; gap: 16px; max-width: 760px; margin-inline: auto; }
  .security-orbit .orbit { grid-area: orbit; }
  .orbit-col-left { grid-area: left; }
  .orbit-col-right { grid-area: right; }
  .orbit-col { grid-template-columns: 1fr; grid-template-rows: none; gap: 14px; }
}
@media (max-width: 600px) {
  #security { overflow-x: clip; }
  .security-orbit { grid-template-columns: 1fr; grid-template-areas: "orbit" "left" "right"; --spread: 0; overflow: visible; }
  .security-orbit .orbit { overflow: hidden; max-width: 100%; }
}

/* the security scatter tightens on smaller laptops so no card reaches the screen edge */
@media (max-width: 1280px) and (min-width: 601px) { .security-orbit { --spread: .45; } }
@media (max-width: 1100px) and (min-width: 601px) { .security-orbit { --spread: .2; } }

/* ---------- phones: app tabs one per row, and calmer text sizes ---------- */
@media (max-width: 600px) {
  .studio-tell, .person-own { font-size: 15px; line-height: 1.6; }
  .lede { font-size: 16px; line-height: 1.55; }
}

/* ---------- phones: stacked pricing, Standard first ---------- */
@media (max-width: 600px) {
  .plans {
    grid-template-columns: 1fr;
    gap: 12px;
    margin-top: 22px;
  }
  .plan {
    width: 100%;
    padding: 18px 16px 16px;
    border-radius: 18px;
  }
  .plan-pop {
    grid-column: auto;
    padding: 20px 18px 18px;
  }
  .plan .kicker { font-size: 9.5px; margin: 0; }
  .plan h3 { font-size: 1.3rem; margin-top: 2px; line-height: 1.15; }
  .plan-tag { min-height: 0; margin: 2px 0 10px; font-size: 13px; line-height: 1.4; }
  .price { margin-top: 2px; }
  .price b { font-size: 2.4rem; letter-spacing: -.05em; line-height: .95; }
  .price > span { font-size: 14px; }
  .price-sub { margin: 2px 0 10px; font-size: 11px; }
  .plan .list { gap: 6px; padding-top: 12px; margin-bottom: 14px; font-size: 13px; }
  .plan .list li { padding-left: 28px; min-height: 0; line-height: 1.35; }
  .plan .list .li-ic { width: 16px; height: 16px; padding: 3px; border-radius: 5px; top: 1px; }
  .plan .btn { height: 42px; font-size: 14px; }
  .ribbon { top: 12px; right: 12px; font-size: 8.5px; padding: .45em .75em; }
  #pricing .toggle { margin-top: 2px; }
  .plans-note { margin-top: 18px; font-size: 13px; }
}

/* who modal overlay: single column on the photo */
.mmodal-body {
  grid-template-columns: 1fr;
  align-items: start;
  align-content: start;
  gap: 14px;
}
.mmodal-body > p { margin: 0; }
.mmodal-body > .btn { justify-self: start; }
@media (max-width: 600px) {
  .mmodal-shade { padding: 40px 18px 20px; gap: 8px; }
  .mmodal-shade .mcard-title { font-size: 1.45rem; }
  .mmodal-body { gap: 12px; }
  .mmodal-body > p { font-size: 14.5px; line-height: 1.5; }
  .mmodal-body > .btn {
    justify-self: stretch;
    width: 100%;
    height: 46px;
    margin-top: 2px;
  }
  .mmodal-apps { gap: 8px; }
  .mmodal-apps ul { gap: 8px; }
  .mmodal-apps li { height: 28px; font-size: 12.5px; }
}

/* ---------- phones: a full sizing pass so type, buttons and blocks fit a small screen ---------- */
@media (max-width: 600px) {
  body { font-size: 15px; }
  /* type */
  .hero h1 {
    font-size: clamp(1.6rem, 5.8vw, 1.85rem);
    letter-spacing: -.035em;
    line-height: 1.12;
  }
  .display, #security .display { font-size: clamp(1.6rem, 7.4vw, 1.85rem); line-height: 1.08; }
  .letters h2 { font-size: clamp(1.6rem, 7.4vw, 1.85rem); }
  .faq-title { font-size: clamp(1.55rem, 7vw, 1.8rem); }
  .lede, .hero-sub, .faq-lede { font-size: 15px; line-height: 1.55; }
  .eyebrow { font-size: 11px; letter-spacing: .14em; }
  .mtd-sub, #mtd .mtd-sub { font-size: 16px; }
  #mtd .mtd-note, .qguess { font-size: 14px; }
  #mtd .th b { font-size: 1.45rem; }
  .person-row h3 { font-size: 18px; }
  .faq-text { font-size: 15px; }
  .faq-a p { font-size: 14px; }
  .mcard-title { font-size: 17px; }
  .mcard-desc { font-size: 13px; }
  .lineup-copy h3 { font-size: 16px; }
  .lineup-copy p { font-size: 14px; }
  /* buttons */
  .btn { height: 44px; padding: 0 20px; font-size: 14.5px; }
  .btn-sm { height: 34px; padding: 0 14px; font-size: 13px; }
  /* nav */
  .nav-in { height: 52px; }
  .brand img { height: 28px; }
  /* section rhythm: less air above and below each block */
  .band, #who, #pricing, #roadmap, #apps, .features, .person-band, .lineup, .letters { padding-top: 60px; padding-bottom: 60px; }
  #mtd { padding: 52px 0; }
  .faq { padding: 60px 0; }
  #security.band { padding-top: 56px; }
  .center { gap: 12px; }
  /* blocks */
  .lineup-cell { grid-template-rows: 170px auto; }
  .lineup-copy { padding: 16px 18px 20px; }
  .faq-q { padding: 16px 0; }
  .faq-toggle { width: 30px; height: 30px; }
  .faq-channel { padding: 12px 14px; }
  .faq-channel-ic { width: 34px; height: 34px; }
  .orbit-card { padding: 10px; }
  .qrow { padding: 16px; }
  #mtd .qseg, #mtd .qf-box { height: 40px; }
  .foot-line { font-size: 14px; }
  .foot-logo img { width: 160px; }
}

/* ---------- phones, round two: spacing, scale and layout fixes section by section ---------- */
.brand-word { display: none; }
@media (max-width: 600px) {
  /* 1 · nav and hero: the mark plus a readable wordmark; the hero hugs its content */
  .brand { display: inline-flex; align-items: center; gap: 8px; }
  .brand picture img { width: 30px; height: 30px; }
  .brand-word { display: inline; font-size: 17px; font-weight: 700; letter-spacing: -.02em; color: var(--navy); }
  .brand-word b { color: #E2A400; font-weight: 700; }
  .hero { height: auto; min-height: 0; padding: 92px 0 56px; }
  .hero-copy { gap: 16px; }
  .hero .actions { gap: 10px; }

  /* 2 · section intros wrap naturally, no forced breaks */
  .lede br { display: none; }
  .lede { font-size: 14px; max-width: 34em; text-wrap: balance; }
  .center { padding-inline: 4px; }

  /* 3 · who: shorter cards, a compact caption, and no stuck hover on touch */
  .mcards { gap: 12px; }
  .mcard { aspect-ratio: 16 / 9; border-radius: 12px; }
  .mcard-copy { padding: 12px 54px 12px 16px; gap: 3px; }
  .mcard-kicker { font-size: 9.5px; }
  .mcard-title { font-size: 16px; }
  .mcard-desc { font-size: 12.5px; line-height: 1.35; }
  .mcard-plus { width: 30px; height: 30px; right: 14px; bottom: 14px; }
  .mcard-plus::before, .mcard-plus::after { width: 12px; }

  /* 5 · MTD form: roomier card, clear divisions, 2 × 2 roles */
  #mtd .qrow {
    gap: 0;
    padding: 8px 20px 12px;
    border-radius: 16px;
  }
  #mtd .qf { padding: 16px 0; gap: 10px; }
  #mtd .qf + .qf { border-top: 1px solid #e4e9f0; }
  #mtd .qf legend, #mtd .qf-label {
    font-size: 13px; font-weight: 600; color: #4b5767; letter-spacing: -.01em;
  }
  #mtd .qf legend { margin-bottom: 10px; }
  #mtd .qseg, #mtd .qf-box { height: 44px; }
  #mtd .qf:first-child .qseg {
    display: grid; grid-template-columns: 1fr 1fr; height: auto;
    gap: 6px; padding: 6px;
  }
  #mtd .qf:first-child .qseg label { min-height: 40px; }
  #mtd .qseg span { font-size: 13.5px; padding: 0 8px; }
  #mtd .qf-box b { width: 48px; }
  #mtd .qf-box input { padding: 0 16px; font-size: 1.05rem; }

  /* 6 · pricing: keep cards short on a phone */
  .plan .kicker { font-size: 9px; }
  .plan h3 { font-size: 1.2rem; }
  .plan-tag { font-size: 12.5px; color: var(--mute); }
  .plan-pop .plan-tag { color: rgba(255, 255, 255, .7); }
  .price b { font-size: 2.45rem; letter-spacing: -.05em; }
  .price > span { font-size: 13.5px; }
  .plan .list { font-size: 12.5px; gap: 5px; }
  .plan .list li { padding-left: 26px; }
  .plan .list .li-ic { width: 16px; height: 16px; padding: 3px; }

  /* 7 · the comparison link keeps its arrow */
  .plans-note { font-size: 12.5px; line-height: 1.6; padding-inline: 8px; }
  .plans-note a { white-space: nowrap; }

  /* 8 · newsletter: the globe on top, smaller type and button */
  .letters { --globe: min(62vw, 230px); margin-top: 36px; padding: 28px 0 36px; }
  .letters-card { display: flex; flex-direction: column; align-items: stretch; gap: 8px; }
  .letters-globe { order: -1; align-self: center; width: var(--globe); margin-bottom: 4px; }
  .letters-card h2 { font-size: 1.6rem; }
  .letters-copy p { font-size: 14px; margin-top: 10px; line-height: 1.55; }
  .letters-form { margin-top: 20px; }
  .letters-form label { font-size: 12.5px; margin-bottom: 6px; }
  .letters-row input { font-size: 16px; }
  .letters-row .btn { height: 44px; font-size: 15px; }

  /* 9 · footer: two link columns + centred legal on phones */
  .foot { padding: 22px 0 48px; }
  .foot-main { margin-top: 24px; gap: 24px; }
  .foot-cols {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    column-gap: 20px;
    row-gap: 22px;
  }
  .foot-cols a {
    min-height: 40px;
    padding: 8px 0;
    font-size: 14px;
  }
  .foot-base {
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 8px;
    text-align: center;
    padding-right: 0;
    padding-inline: var(--gutter);
  }
  .foot-legal,
  .foot-regs {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 4px;
    width: 100%;
  }
  .foot-regs .sep { display: none; }
  .foot-regs { white-space: normal; margin-left: 0; text-align: center; }
}
/* the legal line, everywhere: one tone, the company name a touch brighter and spaced */
.foot-legal { color: rgba(255, 255, 255, .5); font-size: 12px; font-weight: 400; letter-spacing: .01em; }
.foot-legal span { color: rgba(255, 255, 255, .78); font-weight: 500; letter-spacing: .04em; }
/* touch screens: no hover state left stuck on a tapped card */
@media (hover: none) {
  .mcard:hover { transform: none; }
  .mcard:hover img { transform: none; }
  .mcard:hover .mcard-plus { background: #fff; transform: none; }
  .mcard:hover .mcard-plus::before, .mcard:hover .mcard-plus::after { background: var(--navy); }
}
@media (max-width: 600px) { #mtd .fine-dark { font-size: 12.5px; line-height: 1.55; margin-top: 16px; } }

/* phones: compact chip wrap — small, side-by-side, no tall list */
@media (max-width: 600px) {
  .studio[data-features] .studio-tabs,
  .studio-tabs {
    display: flex;
    flex-direction: row;
    flex-wrap: wrap;
    align-items: stretch;
    justify-content: flex-start;
    gap: 6px;
    padding: 8px;
    overflow: visible;
    -webkit-mask-image: none;
    mask-image: none;
  }
  .studio[data-features] .studio-tab,
  .studio-tab {
    flex: 0 1 auto;
    width: auto;
    max-width: 100%;
    height: 32px;
    min-height: 32px;
    padding: 0 10px;
    gap: 5px;
    border-radius: 8px;
    font-size: 11.5px;
    font-weight: 600;
    justify-content: center;
    white-space: nowrap;
  }
  .studio[data-features] .studio-tab .ic,
  .studio-tab .ic {
    width: 13px;
    height: 13px;
    flex: none;
  }
  .studio[data-features] .studio-glide {
    border-radius: 8px;
  }
  .studio[data-features] .studio-glide::after {
    left: 10px;
    right: 10px;
    bottom: 4px;
  }
}

/* phones: live demo plays inside the padded wrap, scaled to fit */
@media (max-width: 700px) {
  .features .mac-fit {
    width: 100%;
    max-width: 100%;
    overflow: hidden;
    border-radius: 12px;
  }
  .features .mac.is-fit {
    display: block;
    box-sizing: border-box;
  }
}

/* footer links: on hover, the same looping shimmer as the checker's waiting line */
.foot-cols a:hover, .foot-cols a:focus-visible {
  color: transparent;
  background-image: linear-gradient(90deg, rgba(255, 255, 255, .5) 0%, rgba(255, 255, 255, .5) 40%, #fff 50%, rgba(255, 255, 255, .5) 60%, rgba(255, 255, 255, .5) 100%);
  background-size: 250% 100%;
  -webkit-background-clip: text; background-clip: text;
  animation: qwait 2.4s linear infinite;
  text-shadow: none;
}
@media (prefers-reduced-motion: reduce) {
  .foot-cols a:hover, .foot-cols a:focus-visible { animation: none; background-image: none; color: #fff; }
}

@media (min-width: 601px) {
  .brand { display: inline-flex; align-items: center; }
  .brand img { height: 34px; width: auto; }
}

/* ---------- the page you are on: a soft pill behind the link, with a small gold dot under it. The pill
   glides to whichever link the pointer is on and back again (nav-drop.js); without script it simply rests. ---------- */
.nav-links { position: relative; align-self: stretch; }
.nav-links > a { position: relative; z-index: 1; }
.nav-links > .nav-drop { z-index: 2; }
.nav-links a[aria-current="page"] { opacity: 1; color: var(--navy); font-weight: 600; }
.nav-glide {
  position: absolute; top: 50%; left: 0; width: 0; height: 36px; margin-top: -18px; z-index: 0; pointer-events: none;
  border-radius: 999px; background: rgba(2, 65, 123, .07); box-shadow: inset 0 0 0 1px rgba(2, 65, 123, .06); opacity: 0;
  transition: left .42s var(--ease), width .42s var(--ease), opacity .25s ease, background .3s;
}
.nav-glide.on { opacity: 1; }
.nav-glide.is-still { transition: opacity .25s ease; }
.nav-glide::after {
  content: ""; position: absolute; left: 50%; bottom: -8px; width: 5px; height: 5px; margin-left: -2.5px; border-radius: 50%;
  background: var(--yellow); box-shadow: 0 0 0 3px rgba(248, 180, 0, .18); opacity: 0; transform: scale(.4); transition: opacity .25s, transform .3s var(--ease);
}
.nav-glide.is-home::after { opacity: 1; transform: none; }
/* the pill carries the hover now, so the Products tab underline is not needed */
.nav-links.has-glide .nav-drop-trigger::after { display: none; }
/* no script: the pill sits on the link itself */
.nav-links:not(.has-glide) a[aria-current="page"] { padding: 0 11px; margin: 0 -11px; }
.nav-links:not(.has-glide) a[aria-current="page"]::before { content: ""; position: absolute; inset: 50% 0 auto; height: 36px; margin-top: -18px; z-index: -1; border-radius: 999px; background: rgba(2, 65, 123, .07); }
/* on the product and company pages the menu sits clear over the navy hero until it turns solid */
.bk-page .nav:not(.solid) .nav-links a[aria-current="page"] { color: #fff; opacity: 1; }
.bk-page .nav.solid .nav-links a[aria-current="page"] { color: var(--navy); opacity: 1; }
.bk-page .nav:not(.solid) .nav-glide { background: rgba(255, 255, 255, .12); box-shadow: inset 0 0 0 1px rgba(255, 255, 255, .14); }
@media (prefers-reduced-motion: reduce) { .nav-glide { transition: opacity .2s ease; } }

/* ---------- phones and tablets: compact pill at the bottom, sheet above it ---------- */
.nav-burger, .nav-sheet, .m-dock, .m-dock-scrim { display: none; }
@media (max-width: 1180px) {
  body { padding-bottom: calc(62px + env(safe-area-inset-bottom, 0px)); }
  .nav-in { gap: 12px; }
  .nav-cta { gap: 8px; }
  .nav-cta .btn-sm {
    height: 32px; padding: 0 12px; font-size: 12.5px; letter-spacing: -.01em;
  }
  .nav-burger {
    display: grid; place-content: center; gap: 3px; flex: none; width: 32px; height: 32px; margin-left: 2px; padding: 0; border: 0; border-radius: 8px;
    color: var(--navy); background: var(--navy-tint); cursor: pointer; transition: background .2s;
  }
  .nav-burger span { display: block; width: 14px; height: 1.5px; border-radius: 2px; background: currentColor; transition: transform .3s var(--ease), opacity .2s; }
  .nav.menu-open .nav-burger span:nth-child(1) { transform: translateY(4.5px) rotate(45deg); }
  .nav.menu-open .nav-burger span:nth-child(2) { opacity: 0; }
  .nav.menu-open .nav-burger span:nth-child(3) { transform: translateY(-4.5px) rotate(-45deg); }
  .bk-page .nav:not(.solid):not(.menu-open) .nav-burger { color: #fff; background: rgba(255, 255, 255, .14); }

  .nav-sheet {
    display: grid; gap: 16px; position: fixed; z-index: 230; left: 12px; right: 12px; top: auto;
    bottom: calc(62px + env(safe-area-inset-bottom, 0px));
    max-height: min(70dvh, 640px); overflow-y: auto; overscroll-behavior: contain;
    padding: 8px 20px 22px; background: var(--white); box-shadow: 0 24px 40px -20px rgba(11, 37, 69, .35); border-radius: 22px;
    opacity: 0; visibility: hidden; pointer-events: none; transform: translateY(12px);
    transition: opacity .25s ease, transform .35s var(--ease), visibility 0s .35s;
  }
  .nav.menu-open .nav-sheet { opacity: 1; visibility: visible; pointer-events: auto; transform: none; transition: opacity .25s ease, transform .35s var(--ease); }

  .m-dock {
    position: fixed; z-index: 250; left: 10px; right: 10px; bottom: 8px;
    display: flex; pointer-events: none;
    padding-bottom: env(safe-area-inset-bottom, 0px);
  }
  .m-dock-bar {
    pointer-events: auto; display: flex; align-items: stretch; gap: 0;
    width: 100%; height: 46px; padding: 3px; border-radius: 16px; color: #fff;
    background: color-mix(in srgb, var(--navy) 92%, transparent);
    border: 1px solid rgba(255, 255, 255, .22);
    box-shadow: 0 10px 24px rgba(11, 37, 69, .22);
    backdrop-filter: blur(16px);
  }
  .m-dock-item {
    flex: 1; min-width: 0; display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 1px;
    height: auto; padding: 0 1px; border: 0; border-radius: 12px;
    color: rgba(255, 255, 255, .78); background: transparent; font: inherit; font-size: 9px; font-weight: 650;
    line-height: 1; letter-spacing: .01em; text-decoration: none; cursor: pointer; white-space: nowrap;
    transition: background .2s, color .2s, transform .2s cubic-bezier(.4, 0, .2, 1);
  }
  .m-dock-ico-wrap { display: grid; place-items: center; width: 16px; height: 16px; }
  .m-dock-item .ic { width: 16px; height: 16px; }
  .m-dock-menu .m-dock-x { display: none; }
  html.nav-locked .m-dock-menu .m-dock-ico { display: none; }
  html.nav-locked .m-dock-menu .m-dock-x { display: block; }
  html.nav-locked .m-dock-menu { background: rgba(255, 255, 255, .14); }
  .m-dock-item[aria-current="page"], .m-dock-search.is-on { background: rgba(255, 255, 255, .14); color: var(--yellow); }
  .m-search {
    position: fixed; z-index: 240; left: 10px; right: 10px;
    bottom: calc(60px + env(safe-area-inset-bottom, 0px));
    display: grid; gap: 8px; padding: 8px 12px 10px; border-radius: 18px; background: #fff;
    box-shadow: 0 18px 40px -16px rgba(11, 37, 69, .4);
  }
  .m-search[hidden] { display: none !important; }
  .m-search-field {
    display: flex; align-items: center; gap: 8px; height: 44px; padding: 0 12px; border-radius: 12px;
    background: var(--mist, #f4f7fb); box-shadow: inset 0 0 0 1px var(--line, #e3e9f1);
  }
  .m-search-field .ic { width: 18px; height: 18px; color: var(--navy); }
  .m-search-field input {
    flex: 1; min-width: 0; border: 0; outline: 0; background: transparent;
    font: 500 16px/1 Inter, system-ui, sans-serif; color: var(--navy);
  }
  .m-search-list { display: grid; max-height: min(46dvh, 360px); overflow: auto; }
  .m-search-list a {
    display: flex; align-items: center; min-height: 44px; padding: 0 4px; border-bottom: 1px solid var(--line, #e6edf5);
    font-size: 15px; font-weight: 600; color: var(--navy); text-decoration: none;
  }
  .m-search-empty { margin: 8px 4px 4px; font-size: 14px; color: var(--mute, #6B7585); }
  .m-dock-item:active { transform: scale(.94); }
  .m-dock-item:focus-visible { outline: 2px solid var(--yellow); outline-offset: 2px; }
  .m-dock-scrim {
    display: block; position: fixed; z-index: 190; inset: 0; margin: 0; padding: 0; border: 0;
    background: rgba(11, 37, 69, .45); cursor: pointer;
    opacity: 0; visibility: hidden; transition: opacity .25s ease, visibility 0s .25s;
  }
  .m-dock-scrim[hidden] { display: none !important; }
  html.nav-locked .m-dock-scrim { opacity: 1; visibility: visible; transition: opacity .25s ease; }
  .nav.menu-open, .bk-page .nav.menu-open { background: var(--white); box-shadow: 0 1px 0 var(--line); }
  .bk-page .nav.menu-open .brand-on-dark { display: none; }
  .bk-page .nav.menu-open .brand-on-light { display: block; }
  html.nav-locked { overflow: hidden; }

  .nav-sheet-k { margin: 8px 0 -6px; font-size: 11px; font-weight: 700; letter-spacing: .14em; text-transform: uppercase; color: var(--mute); }
  .nav-sheet-products { display: grid; grid-template-columns: 1fr 1fr; gap: 6px; }
  .nav-sheet-products a { display: flex; align-items: center; gap: 10px; min-height: 48px; padding: 12px 10px; border-radius: 14px; background: var(--mist); color: var(--navy); }
  .nav-sheet-products .nav-drop-ico { display: grid; place-items: center; flex: none; width: 32px; height: 32px; border-radius: 10px; color: var(--navy-2); background: #fff; }
  .nav-sheet-products .nav-drop-ico .ic { width: 17px; height: 17px; }
  .nav-sheet-products .nav-drop-copy strong { display: block; font-size: 13.5px; font-weight: 700; color: var(--navy); }
  .nav-sheet-products .nav-drop-copy span { display: none; }
  .nav-sheet-pages { display: grid; border-top: 1px solid var(--line); }
  .nav-sheet-pages a { display: flex; align-items: center; justify-content: space-between; padding: 14px 4px; border-bottom: 1px solid var(--line); font-size: 15px; font-weight: 600; color: var(--navy); }
  .nav-sheet-pages a::after { content: ""; width: 7px; height: 7px; border-top: 2px solid #b6c3d4; border-right: 2px solid #b6c3d4; transform: rotate(45deg); }
  .nav-sheet-pages a[aria-current="page"] { color: var(--navy-2); box-shadow: inset 3px 0 0 var(--yellow); padding-left: 12px; }
  .nav-sheet-cta { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; }
  .nav-sheet-cta .btn { justify-content: center; width: 100%; }
  .nav-sheet-cta .btn-ghost-navy { color: var(--navy); background: #fff; box-shadow: inset 0 0 0 1.5px var(--line); }
}
@media (max-width: 600px) {
  /* pages with the full logo already carry the word: no second wordmark beside it */
  .brand img[class^="brand-on"] ~ .brand-word { display: none; }
  .nav .brand img[class^="brand-on"] { height: 28px; }
  .nav-in {
    height: 52px;
    gap: 10px;
    width: min(1320px, 100% - 24px); /* tighter side padding than page gutter */
  }
  .nav-cta .btn-sm {
    height: 30px; padding: 0 10px; font-size: 12px;
  }
  .nav-burger { margin-left: 0; }
  .brand-word {
    font-size: 15px; white-space: nowrap;
  }
  .brand picture img { width: 26px; height: 26px; }
}
@media (max-width: 360px) {
  .nav-sheet-products { grid-template-columns: 1fr; }
  .nav-cta .btn-sm { padding: 0 8px; font-size: 11.5px; }
  .brand-word { font-size: 14px; }
  /* product pages: full wordmark SVG is wide — keep it readable without crowding the CTA */
  .nav .brand img[class^="brand-on"] { height: 24px; }
}
@media (prefers-reduced-motion: reduce) {
  .nav-sheet, .nav-burger span, .m-dock-item, .m-dock-scrim { transition: none; }
}
@media print { .m-dock, .m-dock-scrim, .m-search { display: none !important; } }


/* ---------- the closing call-to-action on every page: full width, headline + lede + buttons stacked on
   the left, and a photo that drifts sideways as the banner crosses the screen (nav-drop.js) ---------- */
.bk-cta.bk-cta-bleed > div { width: auto; }
.bk-cta.bk-cta-bleed .bk-cta-card.bk-cta-split { min-height: clamp(420px, 52vh, 540px); align-items: center; border-radius: 0; }
.bk-cta.bk-cta-bleed .bk-cta-card.bk-cta-split img { left: -8%; right: auto; width: 116%; max-width: none; height: 100%; object-fit: cover; will-change: transform; }
.bk-cta.bk-cta-bleed .bk-cta-card.bk-cta-split::after { background: linear-gradient(90deg, rgba(7, 27, 51, .88) 0%, rgba(7, 27, 51, .66) 34%, rgba(7, 27, 51, .22) 62%, rgba(7, 27, 51, .12) 100%), linear-gradient(0deg, rgba(7, 27, 51, .25), transparent 40%); }
.bk-cta.bk-cta-bleed .bk-cta-card.bk-cta-split .bk-cta-copy { grid-template-columns: minmax(0, 1fr); justify-items: start; align-content: center; gap: 16px; width: var(--container); max-width: none; margin-inline: auto; padding-inline: 0; box-sizing: border-box; }
.bk-cta.bk-cta-bleed .bk-cta-card.bk-cta-split .bk-cta-copy h2 { max-width: 24ch; margin: 0; text-shadow: 0 2px 18px rgba(7, 27, 51, .45); }
.bk-cta.bk-cta-bleed .bk-cta-card.bk-cta-split .bk-cta-copy p { max-width: min(72ch, 100%); margin: 0; font-size: 17px; line-height: 1.5; }
.bk-cta.bk-cta-bleed .bk-cta-card.bk-cta-split .bk-cta-copy .actions { display: flex; flex-wrap: wrap; gap: 12px; margin: 4px 0 0; }
.bk-cta.bk-cta-bleed .bk-cta-card.bk-cta-split .bk-cta-copy .actions .btn { justify-content: center; white-space: nowrap; }
.bk-cta.bk-cta-bleed .bk-cta-card.bk-cta-split .btn-line { background: rgba(7, 27, 51, .45); backdrop-filter: blur(6px); }
.bk-cta.bk-cta-bleed .bk-cta-card.bk-cta-split .btn-line:hover { background: var(--white); color: var(--navy); }
.bk-cta-line { white-space: nowrap; }
@media (max-width: 860px) {
  .bk-cta.bk-cta-bleed .bk-cta-card.bk-cta-split { min-height: 460px; align-items: end; }
  .bk-cta.bk-cta-bleed .bk-cta-card.bk-cta-split::after { background: linear-gradient(180deg, rgba(7, 27, 51, .1) 0%, rgba(7, 27, 51, .55) 45%, rgba(7, 27, 51, .92) 100%); }
  .bk-cta.bk-cta-bleed .bk-cta-card.bk-cta-split img { object-position: 60% 40%; }
}
@media (max-width: 420px) { .bk-cta-line { white-space: normal; } }

/* Skip link (WCAG 2.4.1 Bypass Blocks). Hidden until focused; mirrors company.css. */
.skip {
  position: absolute;
  left: 16px;
  top: -56px;
  z-index: 500;
  padding: 10px 16px;
  background: var(--yellow);
  color: var(--navy);
  border-radius: 6px;
  font-weight: 700;
  text-decoration: none;
}
.skip:focus { top: 12px; outline: 2px solid #fff; outline-offset: 2px; }
