/* ==========================================================================
   Finafaze site styles
   Layout idea: frosted glass panels floating over the brand's own stripe mark,
   with one dark band per page for contrast.
   ========================================================================== */
:root {
  --bg: #F3F5F9;
  --ink: #0E1726;
  --ink-2: #233249;
  --muted: #4B5567;
  --faint: #636C7D;
  --accent: #2F63F6;
  --accent-soft: rgba(47, 99, 246, .12);
  --accent-pale: #8FB6FB;
  --night: #0A1120;
  --night-text: #A9B4C8;
  --ok: #16A267;
  --ok-ink: #0B6B43;
  --ok-soft: rgba(22, 162, 103, .13);
  --white: #FFFFFF;
  --glass: rgba(255, 255, 255, .56);
  --glass-strong: rgba(255, 255, 255, .74);
  --glass-edge: rgba(255, 255, 255, .95);
  --hair: rgba(14, 23, 38, .1);
  --frost: blur(24px) saturate(170%);
  --shadow: 0 24px 50px -30px rgba(14, 23, 38, .28);
  --shadow-lg: 0 40px 80px -34px rgba(20, 40, 110, .38);
  --font-display: 'Outfit', 'Avenir Next', 'Segoe UI', system-ui, sans-serif;
  --font-body: 'Instrument Sans', 'Helvetica Neue', 'Segoe UI', system-ui, sans-serif;
  --font-mono: 'Geist Mono', ui-monospace, 'SF Mono', Menlo, Consolas, monospace;
  color-scheme: light;
  padding-top: env(safe-area-inset-top, 0px);
  padding-bottom: env(safe-area-inset-bottom, 0px);
}

/* ---------- base ---------- */
*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
body {
  margin: 0;
  background: var(--bg);
  color: var(--ink);
  font-family: var(--font-body);
  font-size: 1rem;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}
body::before {
  content: ""; position: fixed; inset: 0 0 auto; z-index: 60;
  height: env(safe-area-inset-top, 0px); background: var(--bg);
}
[hidden] { display: none !important; }
img, svg { display: block; }
img { max-width: 100%; height: auto; }
p, h1, h2, h3, h4, ul, ol, figure, blockquote { margin: 0; }
ul, ol { padding: 0; list-style: none; }
a { color: inherit; }
button { font: inherit; color: inherit; }
:focus-visible { outline: 2px solid var(--accent); outline-offset: 3px; border-radius: 8px; }
.skip {
  position: absolute; left: 16px; top: -80px; z-index: 100; padding: 12px 18px;
  border-radius: 999px; background: var(--ink); color: var(--white); text-decoration: none;
}
.skip:focus { top: calc(env(safe-area-inset-top, 0px) + 12px); }

.wrap {
  width: 100%; max-width: 1240px; margin-inline: auto;
  padding-left: max(20px, env(safe-area-inset-left, 0px));
  padding-right: max(20px, env(safe-area-inset-right, 0px));
}
.rel { position: relative; z-index: 1; }

/* ---------- type ---------- */
h1, h2, h3, h4 { font-family: var(--font-display); font-weight: 600; text-wrap: balance; }
.h1 { font-size: clamp(2.25rem, 1.25rem + 4.4vw, 4.125rem); line-height: 1.03; letter-spacing: -.035em; }
.h1--page { font-size: clamp(2.125rem, 1.3rem + 3.4vw, 3.5rem); line-height: 1.05; }
.h2 { font-size: clamp(1.9rem, 1.25rem + 2.9vw, 3.5rem); line-height: 1.05; letter-spacing: -.03em; }
.h3 { font-size: clamp(1.25rem, 1.15rem + .5vw, 1.5rem); line-height: 1.2; letter-spacing: -.015em; }
.h4 { font-size: 1.1875rem; line-height: 1.25; letter-spacing: -.01em; }
.accent { color: var(--accent); }
.lead { font-size: clamp(1.0625rem, 1rem + .35vw, 1.25rem); line-height: 1.55; color: var(--muted); max-width: 60ch; }
.body { color: var(--muted); max-width: 65ch; }
.body + .body { margin-top: 1em; }
.eyebrow, .mono-label {
  font-family: var(--font-mono); font-size: .75rem; line-height: 1.5;
  letter-spacing: .14em; text-transform: uppercase;
}
.eyebrow { color: var(--accent); }
.mono-label { color: var(--muted); letter-spacing: .12em; font-size: .6875rem; }
.num { font-family: var(--font-mono); font-variant-numeric: tabular-nums; font-weight: 500; }

/* ---------- glass ---------- */
.glass {
  background: var(--glass);
  -webkit-backdrop-filter: var(--frost); backdrop-filter: var(--frost);
  border: 1px solid var(--glass-edge);
  box-shadow: inset 0 1px 0 var(--white), var(--shadow);
}
@supports not ((backdrop-filter: blur(1px)) or (-webkit-backdrop-filter: blur(1px))) {
  .glass { background: rgba(255, 255, 255, .88); }
}

/* brand mark used as artwork */
.mark { position: absolute; z-index: 0; max-width: none; width: auto; pointer-events: none; user-select: none; }
.mark--blur { filter: blur(60px); opacity: .24; }
.clip { position: relative; overflow: hidden; overflow: clip; }
main { position: relative; isolation: isolate; }
.mark--page { z-index: -1; left: -220px; top: -270px; height: 760px; }

/* ---------- buttons ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 10px;
  min-height: 54px; padding: 0 26px; border-radius: 999px; border: 1px solid transparent;
  font: 500 1rem/1 var(--font-body); text-decoration: none; cursor: pointer; white-space: nowrap;
  transition: background-color .2s, transform .2s, box-shadow .2s;
}
.btn--dark { background: var(--ink); color: var(--white); box-shadow: 0 14px 30px -12px rgba(14, 23, 38, .5); }
.btn--dark:hover { background: #1B2740; transform: translateY(-1px); }
.btn--glass {
  background: rgba(255, 255, 255, .64); color: var(--ink); border-color: var(--glass-edge);
  -webkit-backdrop-filter: var(--frost); backdrop-filter: var(--frost);
  box-shadow: inset 0 1px 0 var(--white), 0 10px 30px -14px rgba(14, 23, 38, .2);
}
.btn--glass:hover { background: rgba(255, 255, 255, .9); }
.btn--sm { min-height: 44px; padding: 0 20px; font-size: .9375rem; }
.btn-row { display: flex; flex-wrap: wrap; gap: 12px; }
.more {
  display: inline-flex; align-items: center; gap: 6px; min-height: 44px;
  font-weight: 600; font-size: .9375rem; color: var(--accent); text-decoration: none;
}
.more:hover { text-decoration: underline; text-underline-offset: 4px; }
.more svg { transition: transform .2s; }
a:hover > .more svg, .more:hover svg { transform: translateX(3px); }

/* ---------- header ---------- */
.site-header { position: sticky; top: env(safe-area-inset-top, 0px); z-index: 50; padding-top: 12px; }
.nav {
  display: flex; align-items: center; justify-content: space-between; gap: 12px;
  height: 64px; padding: 0 10px 0 24px; border-radius: 999px;
  background: rgba(255, 255, 255, .68);
  box-shadow: inset 0 1px 0 var(--white), 0 12px 40px -16px rgba(14, 23, 38, .22);
}
.nav__logo { display: flex; align-items: center; flex: none; }
.nav__logo img { height: 30px; width: auto; }
.nav__links { display: flex; align-items: center; gap: 2px; }
.nav__links > li > a, .nav__btn {
  display: inline-flex; align-items: center; gap: 6px; min-height: 44px; padding: 0 14px;
  border: 0; border-radius: 999px; background: none; cursor: pointer;
  font: 500 .9375rem/1 var(--font-body); color: var(--ink); text-decoration: none;
}
.nav__links > li > a:hover, .nav__btn:hover { background: rgba(14, 23, 38, .06); }
.nav__links > li > a[aria-current="page"], .nav__btn.is-current { color: var(--accent); }
.nav__btn svg:last-child { transition: transform .2s; }
.has-menu.open > .nav__btn svg:last-child { transform: rotate(180deg); }
.nav__actions { display: flex; align-items: center; gap: 6px; flex: none; }
.nav__toggle {
  display: none; place-items: center; width: 44px; height: 44px; flex: none;
  border: 0; border-radius: 999px; background: var(--ink); color: var(--white); cursor: pointer;
}
.nav__toggle .i-close, .nav__toggle[aria-expanded="true"] .i-menu { display: none; }
.nav__toggle[aria-expanded="true"] .i-close { display: block; }

.has-menu { position: relative; }
.menu {
  position: absolute; top: calc(100% + 14px); left: -12px; z-index: 5; width: 330px; padding: 10px;
  display: flex; flex-direction: column; gap: 2px;
  border-radius: 24px; background: rgba(255, 255, 255, .97); border: 1px solid var(--glass-edge);
  box-shadow: 0 30px 60px -24px rgba(14, 23, 38, .38);
  opacity: 0; visibility: hidden; transform: translateY(-6px);
  transition: opacity .18s, transform .18s, visibility .18s;
}
.menu::before { content: ""; position: absolute; left: 0; right: 0; top: -16px; height: 16px; }
.menu--right { left: auto; right: -8px; width: 320px; }
.has-menu.open > .menu, .has-menu:has(.menu :focus-visible) > .menu { opacity: 1; visibility: visible; transform: none; }
@media (hover: hover) {
  .has-menu:hover > .menu { opacity: 1; visibility: visible; transform: none; }
}
.menu a {
  display: flex; align-items: center; gap: 12px; padding: 10px 12px; border-radius: 16px;
  color: var(--ink); text-decoration: none;
}
.menu a:hover { background: var(--accent-soft); }
.menu a[aria-current="page"] b { color: var(--accent); }
.menu__text { display: flex; flex-direction: column; gap: 2px; min-width: 0; }
.menu__text b { font-weight: 600; font-size: .9375rem; line-height: 1.25; }
.menu__text small { font-size: .8125rem; line-height: 1.35; color: var(--muted); }

.site-header > .wrap { position: relative; }
.mobile-menu {
  position: absolute; top: calc(100% + 10px);
  left: max(20px, env(safe-area-inset-left, 0px)); right: max(20px, env(safe-area-inset-right, 0px));
  padding: 14px; border-radius: 28px;
  display: flex; flex-direction: column; gap: 6px;
  background: rgba(255, 255, 255, .94);
  -webkit-backdrop-filter: var(--frost); backdrop-filter: var(--frost);
  border: 1px solid var(--glass-edge);
  box-shadow: inset 0 1px 0 var(--white), 0 30px 60px -24px rgba(14, 23, 38, .4);
  max-height: calc(100vh - 110px); overflow-y: auto; overscroll-behavior: contain;
}
.mm-label { padding: 10px 12px 2px; font-family: var(--font-mono); font-size: .6875rem; letter-spacing: .14em; text-transform: uppercase; color: var(--muted); }
.mm-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 6px; }
.mm-link {
  display: flex; align-items: center; min-height: 48px; padding: 8px 12px; border-radius: 14px;
  background: rgba(243, 245, 249, .9); color: var(--ink); text-decoration: none;
  font-weight: 500; font-size: .9375rem; line-height: 1.25;
}
.mm-link[aria-current="page"] { color: var(--accent); }
.mm-row { display: flex; flex-direction: column; }
.mm-row a {
  display: flex; align-items: center; justify-content: space-between; min-height: 50px; padding: 0 12px;
  border-radius: 14px; color: var(--ink); text-decoration: none;
  font-family: var(--font-display); font-size: 1.1875rem; font-weight: 500;
}
.mm-row a[aria-current="page"] { color: var(--accent); }
.mm-row a svg { color: var(--faint); }
.mm-rule { height: 1px; margin: 6px 12px; background: var(--hair); }
.mobile-menu .btn { margin-top: 6px; }

/* ---------- hero (home) ---------- */
.hero { padding-block: clamp(36px, 5.5vw, 84px) clamp(40px, 6vw, 80px); }
.hero__grid {
  display: grid; grid-template-columns: minmax(0, 1.06fr) minmax(0, .94fr);
  gap: clamp(32px, 4vw, 56px); align-items: center;
}
.hero__copy { display: flex; flex-direction: column; align-items: flex-start; gap: 24px; min-width: 0; }
.pill {
  display: inline-flex; align-items: center; gap: 10px; min-height: 36px; padding: 6px 16px 6px 12px;
  border-radius: 999px; font-size: .875rem; font-weight: 500; line-height: 1.3; color: var(--ink-2);
  background: rgba(255, 255, 255, .62);
}
.dot { width: 8px; height: 8px; flex: none; border-radius: 99px; background: var(--accent); box-shadow: 0 0 0 4px var(--accent-soft); }
.dot--ok { width: 7px; height: 7px; background: var(--ok); box-shadow: none; }
.ticks { display: flex; flex-wrap: wrap; gap: 8px 24px; font-size: .875rem; font-weight: 500; color: var(--ink-2); }
.ticks li { display: flex; align-items: center; gap: 8px; }
.ticks svg { color: var(--accent); flex: none; }

.stage { position: relative; min-width: 0; padding: 62px 0 96px; }
.stage .mark { top: -9%; right: -24%; height: 118%; }
.dash {
  position: relative; z-index: 1; max-width: 500px; margin-left: auto; margin-right: 7%;
  padding: 30px 32px; border-radius: 32px; background: rgba(255, 255, 255, .5);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, .95), var(--shadow-lg);
}
.dash__top { display: flex; justify-content: space-between; align-items: center; gap: 12px; }
.sync { display: flex; align-items: center; gap: 6px; font-size: .75rem; color: var(--muted); white-space: nowrap; }
.dash__label { margin-top: 22px; font-size: .875rem; color: var(--muted); }
.dash__figure { display: flex; flex-wrap: wrap; align-items: center; gap: 6px 14px; margin-top: 4px; }
.num--xl { font-size: clamp(1.9rem, 1.2rem + 2.2vw, 2.625rem); letter-spacing: -.03em; line-height: 1.15; }
.tag { display: inline-flex; align-items: center; padding: 4px 9px; border-radius: 99px; font-size: .6875rem; font-weight: 600; line-height: 1.3; white-space: nowrap; }
.tag--ok { color: var(--ok-ink); background: var(--ok-soft); }
.tag--accent { color: var(--accent); background: var(--accent-soft); }
.tag--dark { color: var(--white); background: var(--ink); font-family: var(--font-mono); font-weight: 500; letter-spacing: .1em; padding: 6px 10px; }
.dash__chart { width: 100%; height: 124px; margin-top: 18px; }
.dash__months { display: flex; justify-content: space-between; margin-top: 8px; font-family: var(--font-mono); font-size: .6875rem; color: var(--faint); }
.dash__stats { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 12px; margin-top: 18px; padding-top: 18px; border-top: 1px solid var(--hair); }
.dash__stats div { display: flex; flex-direction: column; gap: 4px; min-width: 0; }
.dash__stats span { font-size: .75rem; color: var(--muted); }
.dash__stats b { font-size: 1.125rem; }

.chip {
  position: absolute; z-index: 2; display: flex; align-items: center; gap: 12px;
  width: min(272px, 80%); padding: 14px 16px; border-radius: 22px; background: rgba(255, 255, 255, .7);
  box-shadow: inset 0 1px 0 var(--white), 0 20px 40px -18px rgba(20, 40, 110, .38);
}
.chip__icon { display: grid; place-items: center; width: 40px; height: 40px; flex: none; border-radius: 12px; background: var(--accent-soft); color: var(--accent); }
.chip__icon--ok { background: var(--ok-soft); color: var(--ok-ink); }
.chip__text { display: flex; flex-direction: column; gap: 2px; min-width: 0; }
.chip__text b { font-size: .875rem; font-weight: 600; line-height: 1.3; }
.chip__text small { font-size: .75rem; color: var(--muted); line-height: 1.35; }
.chip--a { top: 6px; right: -3%; }
.chip--b { left: -9%; bottom: 238px; }
.chip--c { right: 0; bottom: 6px; width: min(340px, 94%); align-items: flex-start; }
.chip--c .chip__text span { font-size: .875rem; line-height: 1.45; }
.avatar {
  display: grid; place-items: center; width: 40px; height: 40px; flex: none; border-radius: 99px;
  background: var(--ink-2); color: var(--white); font-family: var(--font-display); font-weight: 500; font-size: .9375rem;
}
.avatar--lg { width: 56px; height: 56px; font-size: 1.25rem; }

/* ---------- sections ---------- */
.section { padding-block: clamp(52px, 6.5vw, 100px); }
.section--tight { padding-block: clamp(28px, 4vw, 52px); }
.sec-head { display: flex; flex-direction: column; gap: 16px; margin-bottom: clamp(28px, 4vw, 56px); }
.sec-head--center { align-items: center; text-align: center; }
.sec-head--split { flex-direction: row; justify-content: space-between; align-items: flex-end; gap: 32px 80px; }
.sec-head--split > div { display: flex; flex-direction: column; gap: 16px; max-width: 640px; }
.sec-head--split > p { max-width: 460px; }
.sec-head .lead { font-size: clamp(1rem, .95rem + .3vw, 1.125rem); }

.grid { display: grid; gap: 20px; }
.grid--4 { grid-template-columns: repeat(4, minmax(0, 1fr)); }
.grid--3 { grid-template-columns: repeat(3, minmax(0, 1fr)); }
.grid--2 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
.grid--7 { grid-template-columns: repeat(4, minmax(0, 1fr)); }
.grid--7 > :first-child { grid-column: span 2; }
.grid--5 { grid-template-columns: repeat(5, minmax(0, 1fr)); gap: 14px; }

.card { display: flex; flex-direction: column; min-width: 0; padding: 30px 28px; border-radius: 30px; text-decoration: none; color: var(--ink); }
a.card, .lift { transition: transform .35s cubic-bezier(.2, .8, .2, 1), box-shadow .35s; }
a.card:hover, .lift:hover { transform: translateY(-4px); box-shadow: inset 0 1px 0 var(--white), 0 34px 60px -30px rgba(14, 23, 38, .34); }
.ichip { display: grid; place-items: center; width: 52px; height: 52px; flex: none; border-radius: 16px; background: var(--accent-soft); color: var(--accent); }
.ichip--sm { width: 40px; height: 40px; border-radius: 12px; }
.card .h3 { margin-top: 26px; }
.card .h4 { margin-top: 22px; }
.card__text { margin-top: 10px; font-size: .9375rem; line-height: 1.6; color: var(--muted); }
.card .more { margin-top: auto; padding-top: 18px; }
.card--feature { padding: 26px 24px; border-radius: 26px; }
.card--tile { padding: 20px; border-radius: 22px; gap: 14px; }
.card--tile p { font-weight: 500; font-size: .9375rem; line-height: 1.35; }
.card--tile .ichip { width: 44px; height: 44px; border-radius: 14px; }

/* clients */
.strip-head { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 4px 24px; margin-bottom: 18px; }
.client-tiles { display: grid; grid-template-columns: repeat(5, minmax(0, 1fr)); gap: 12px; }
.client-tile {
  display: flex; flex-direction: column; justify-content: center; gap: 2px; min-height: 84px; padding: 14px 18px;
  border-radius: 20px; background: rgba(255, 255, 255, .6); min-width: 0;
}
.client-tile b { font-family: var(--font-display); font-weight: 600; font-size: 1.0625rem; line-height: 1.2; letter-spacing: -.01em; }
.client-tile small { font-size: .75rem; color: var(--muted); }
.client-card { flex-direction: row; align-items: center; gap: 16px; padding: 22px; border-radius: 24px; }
.client-card > div { display: flex; flex-direction: column; gap: 2px; min-width: 0; }
.client-card b { font-family: var(--font-display); font-weight: 600; font-size: 1.1875rem; line-height: 1.2; letter-spacing: -.01em; }
.client-card small { font-size: .875rem; color: var(--muted); }

/* hotels & hospitality (USALI) */
.hosp { padding: 30px; }
.hosp__grid { display: grid; grid-template-columns: minmax(0, 1.1fr) minmax(0, .9fr); gap: 32px; align-items: center; }
.hosp__copy { display: flex; flex-direction: column; align-items: flex-start; min-width: 0; }
.hosp__copy .h3 { margin-top: 22px; }
.hosp__copy .more { margin-top: 10px; padding-top: 0; }
.row--total .tag--ok { background: rgba(255, 255, 255, .14); color: var(--white); }
@media (max-width: 860px) { .hosp__grid { grid-template-columns: 1fr; gap: 20px; } }

/* who */
.who .mark--blur { left: 26%; top: 6%; height: 860px; opacity: .3; transform: rotate(90deg); }

/* bento */
.bento { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 20px; }
.bento .card { padding: 34px; border-radius: 32px; background: rgba(255, 255, 255, .64); min-height: 300px; }
.bento__wide { grid-column: span 2; display: grid !important; grid-template-columns: minmax(0, 310px) minmax(0, 1fr); gap: 32px; }
.bento__col { display: flex; flex-direction: column; min-width: 0; }
.bento__top { display: flex; justify-content: space-between; align-items: flex-start; }
.bento .h3 { font-size: clamp(1.5rem, 1.3rem + .8vw, 1.875rem); letter-spacing: -.02em; margin-top: 24px; }
.panel {
  display: flex; flex-direction: column; gap: 10px; min-width: 0; padding: 20px; border-radius: 22px;
  background: rgba(243, 245, 249, .78); border: 1px solid rgba(255, 255, 255, .9);
}
.row {
  display: flex; align-items: center; justify-content: space-between; gap: 6px 12px; flex-wrap: wrap;
  min-height: 50px; padding: 8px 14px; border-radius: 14px; background: var(--white);
  font-size: .875rem; font-weight: 500; line-height: 1.3;
}
.row > span:last-child { display: flex; align-items: center; gap: 10px; }
.row--total { background: var(--ink); color: var(--white); }
.panel--night {
  position: relative; overflow: hidden; justify-content: space-between; gap: 28px;
  background: var(--ink); border-color: transparent; padding: 24px;
}
.panel--night .mark { right: -40px; top: -60px; height: 340px; opacity: .9; }
.panel--night .mono-label { position: relative; color: var(--night-text); }
.glass-tags { position: relative; display: flex; flex-wrap: wrap; gap: 8px; max-width: 380px; }
.glass-tags span {
  padding: 9px 14px; border-radius: 99px; font-size: .8125rem; font-weight: 500; color: var(--white);
  background: rgba(255, 255, 255, .1); border: 1px solid rgba(255, 255, 255, .18);
  -webkit-backdrop-filter: var(--frost); backdrop-filter: var(--frost);
}

/* dark band */
.night-band {
  position: relative; overflow: hidden;
  margin-left: max(12px, env(safe-area-inset-left, 0px)); margin-right: max(12px, env(safe-area-inset-right, 0px));
  padding-block: clamp(44px, 6.5vw, 88px);
  border-radius: clamp(28px, 4vw, 44px); background: var(--night); color: var(--white);
}
.night-band .mark--blur { right: -4%; top: -32%; height: 1080px; opacity: .72; filter: blur(52px); }
.night-band .eyebrow { color: var(--accent-pale); }
.night-band .lead, .night-band .body { color: var(--night-text); }
.night-band .sec-head { max-width: 880px; }
.ncard {
  display: flex; flex-direction: column; min-width: 0; padding: 28px; border-radius: 26px;
  background: rgba(255, 255, 255, .06); border: 1px solid rgba(255, 255, 255, .12);
  -webkit-backdrop-filter: var(--frost); backdrop-filter: var(--frost);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, .1);
}
.ncard svg { color: var(--accent-pale); flex: none; }
.ncard h3 { margin-top: 26px; font-size: 1.3125rem; font-weight: 500; letter-spacing: -.01em; line-height: 1.25; }
.ncard p { margin-top: 10px; font-size: .9375rem; line-height: 1.6; color: var(--night-text); }
.checks { display: flex; flex-wrap: wrap; gap: 12px; }
.checks li {
  display: flex; align-items: center; gap: 14px; min-height: 64px; padding: 14px 24px 14px 20px; border-radius: 999px;
  background: rgba(255, 255, 255, .06); border: 1px solid rgba(255, 255, 255, .12);
  font-family: var(--font-display); font-size: 1.125rem; font-weight: 500; line-height: 1.3;
}
.checks svg { color: var(--accent-pale); flex: none; }
.statement { font-family: var(--font-display); font-weight: 500; font-size: clamp(1.375rem, 1.1rem + 1.3vw, 2.125rem); line-height: 1.3; letter-spacing: -.02em; max-width: 26em; text-wrap: balance; }

/* steps */
.steps { position: relative; display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 20px; }
.steps::before {
  content: ""; position: absolute; left: 60px; right: 60px; top: 55px; height: 2px;
  background: repeating-linear-gradient(90deg, rgba(14, 23, 38, .16) 0 6px, transparent 6px 12px);
}
.step { position: relative; display: flex; flex-direction: column; min-width: 0; padding: 28px; border-radius: 28px; background: rgba(255, 255, 255, .72); }
.step__n {
  display: grid; place-items: center; width: 54px; height: 54px; flex: none; border-radius: 99px;
  background: var(--white); border: 1px solid rgba(14, 23, 38, .12); color: var(--ink);
  font-family: var(--font-mono); font-size: .9375rem;
}
.step:first-child .step__n { background: var(--ink); border-color: var(--ink); color: var(--white); }
.step:last-child .step__n { background: var(--accent); border-color: var(--accent); color: var(--white); }
.step h3 { margin-top: 36px; font-size: 1.3125rem; letter-spacing: -.01em; line-height: 1.25; }
.step p { margin-top: 10px; font-size: .9375rem; line-height: 1.6; color: var(--muted); }

.timeline { position: relative; display: flex; flex-direction: column; gap: 16px; max-width: 900px; }
.timeline::before {
  content: ""; position: absolute; left: 54px; top: 40px; bottom: 40px; width: 2px;
  background: repeating-linear-gradient(180deg, rgba(14, 23, 38, .16) 0 6px, transparent 6px 12px);
}
.tstep { position: relative; display: grid; grid-template-columns: 54px minmax(0, 1fr); gap: 24px; align-items: start; padding: 26px 28px; border-radius: 28px; background: rgba(255, 255, 255, .72); }
.tstep .step__n { background: var(--white); }
.tstep:first-child .step__n { background: var(--ink); border-color: var(--ink); color: var(--white); }
.tstep:last-child .step__n { background: var(--accent); border-color: var(--accent); color: var(--white); }
.tstep__body { display: flex; flex-direction: column; gap: 8px; min-width: 0; }
.tstep__body .mono-label { color: var(--accent); }
.tstep__body p { color: var(--muted); max-width: 62ch; }

/* testimonial */
.quote-sec .mark { left: 5%; top: -8%; height: 116%; transform: rotate(-90deg); opacity: .92; }
.quote {
  position: relative; z-index: 1; max-width: 1000px; margin-inline: auto;
  display: flex; flex-direction: column; gap: 28px;
  padding: clamp(28px, 5vw, 60px) clamp(26px, 5.5vw, 72px); border-radius: clamp(30px, 4vw, 40px);
  box-shadow: inset 0 1px 0 var(--white), var(--shadow-lg);
}
.quote svg { color: var(--accent); }
.quote blockquote { font-family: var(--font-display); font-weight: 400; font-size: clamp(1.1875rem, 1rem + 1vw, 1.75rem); line-height: 1.42; letter-spacing: -.01em; }
.quote figcaption { display: flex; align-items: center; gap: 14px; }
.quote figcaption div { display: flex; flex-direction: column; gap: 1px; }
.quote figcaption b { font-weight: 600; }
.quote figcaption small { font-size: .875rem; color: var(--muted); }

/* faq */
.faq-grid { display: grid; grid-template-columns: minmax(0, 400px) minmax(0, 1fr); gap: clamp(28px, 6vw, 80px); align-items: start; }
.faq-side { display: flex; flex-direction: column; gap: 16px; }
.contact-line { display: inline-flex; align-items: center; gap: 10px; min-height: 44px; font-weight: 500; text-decoration: none; }
.contact-line svg { color: var(--accent); flex: none; }
.contact-line:hover { color: var(--accent); }
.faq-list { display: flex; flex-direction: column; gap: 12px; min-width: 0; }
.faq { border-radius: 24px; background: rgba(255, 255, 255, .6); }
.faq[open] { background: rgba(255, 255, 255, .8); }
.faq summary {
  display: flex; align-items: center; justify-content: space-between; gap: 16px; min-height: 72px; padding: 16px 28px;
  cursor: pointer; list-style: none; font-size: 1.0625rem; font-weight: 600; line-height: 1.35; border-radius: 24px;
}
.faq summary::-webkit-details-marker { display: none; }
.faq__icon { position: relative; width: 20px; height: 20px; flex: none; }
.faq__icon::before, .faq__icon::after {
  content: ""; position: absolute; left: 3px; right: 3px; top: 9px; height: 2px; border-radius: 2px; background: var(--ink);
  transition: transform .2s;
}
.faq__icon::after { transform: rotate(90deg); }
.faq[open] .faq__icon::after { transform: rotate(0deg); }
.faq__a { padding: 0 28px 24px; color: var(--muted); max-width: 66ch; }

/* cta */
.cta-sec { padding-block: clamp(36px, 5vw, 64px) clamp(52px, 6vw, 88px); }
.cta-sec .mark--l { left: -3%; top: -4%; height: 112%; opacity: .95; }
.cta-sec .mark--r { right: -3%; top: 4%; height: 100%; opacity: .95; transform: scaleX(-1); }
.cta {
  position: relative; z-index: 1; display: flex; flex-direction: column; align-items: center; text-align: center; gap: 22px;
  padding: clamp(36px, 6vw, 72px) clamp(22px, 6vw, 80px); border-radius: clamp(30px, 4vw, 44px);
  background: rgba(255, 255, 255, .52); box-shadow: inset 0 1px 0 var(--white), 0 50px 90px -40px rgba(20, 40, 110, .42);
}
.cta .h2 { max-width: 15em; }
.cta .btn-row { justify-content: center; margin-top: 10px; }
.cta__note { font-size: .9375rem; color: var(--muted); }
.cta__note a { color: var(--accent); font-weight: 600; text-decoration: none; }

/* ---------- inner pages ---------- */
.page-hero { padding-block: clamp(36px, 5vw, 76px) clamp(36px, 5vw, 64px); }
.page-hero__grid { display: grid; grid-template-columns: minmax(0, 1.08fr) minmax(0, .92fr); gap: clamp(32px, 5vw, 72px); align-items: start; }
.page-hero__copy { display: flex; flex-direction: column; align-items: flex-start; gap: 22px; min-width: 0; }
.page-hero__copy .btn-row { margin-top: 6px; }
.page-hero--solo .page-hero__copy { max-width: 820px; }
.tagline { font-family: var(--font-display); font-size: clamp(1.1875rem, 1.1rem + .5vw, 1.4375rem); font-weight: 500; line-height: 1.3; letter-spacing: -.01em; color: var(--ink-2); }
.vstage { position: relative; min-width: 0; padding: 36px 0 48px; }
.vstage .mark { top: -6%; right: -20%; height: 112%; }
.vcard {
  position: relative; z-index: 1; display: flex; flex-direction: column; gap: 10px; max-width: 480px; margin-left: auto; margin-right: 5%;
  padding: 26px; border-radius: 30px; background: rgba(255, 255, 255, .52);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, .95), var(--shadow-lg);
}
.vcard__head { display: flex; align-items: center; justify-content: space-between; gap: 12px; margin-bottom: 6px; }
.vcard__foot { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 8px; }
.statusline { display: flex; align-items: center; gap: 10px; min-height: 44px; padding: 8px 14px; border-radius: 14px; background: rgba(255, 255, 255, .7); font-size: .875rem; font-weight: 500; line-height: 1.3; }
.statusline svg { color: var(--ok-ink); flex: none; }
.statusline--next svg { color: var(--accent); }
.statusline--todo { color: var(--muted); }
.statusline--todo svg { color: var(--faint); }
.linkrow {
  display: flex; align-items: center; gap: 14px; min-height: 68px; padding: 12px 14px; border-radius: 18px;
  background: rgba(255, 255, 255, .78); color: var(--ink); text-decoration: none; transition: background-color .2s;
}
.linkrow:hover { background: var(--white); }
.linkrow > span:nth-child(2) { display: flex; flex-direction: column; gap: 2px; flex: 1; min-width: 0; }
.linkrow b { font-weight: 600; line-height: 1.25; }
.linkrow small { font-size: .8125rem; line-height: 1.4; color: var(--muted); }
.linkrow > svg { color: var(--faint); flex: none; }
.facts { display: flex; flex-direction: column; }
.facts div { display: flex; justify-content: space-between; gap: 20px; padding: 13px 4px; border-top: 1px solid var(--hair); font-size: .9375rem; }
.facts div:first-child { border-top: 0; }
.facts dt { color: var(--muted); flex: none; }
.facts dd { margin: 0; font-weight: 600; text-align: right; }

.split { display: grid; grid-template-columns: minmax(0, 380px) minmax(0, 1fr); gap: clamp(24px, 6vw, 96px); align-items: start; }
.split__side { display: flex; flex-direction: column; gap: 16px; }
.founder { display: grid; grid-template-columns: auto minmax(0, 1fr); gap: 24px; padding: clamp(24px, 4vw, 44px); border-radius: 32px; }
.founder__body { display: flex; flex-direction: column; gap: 14px; min-width: 0; }
.founder__body p { color: var(--muted); max-width: 66ch; }

/* contact */
.contact-grid { display: grid; grid-template-columns: minmax(0, .82fr) minmax(0, 1.18fr); gap: clamp(28px, 5vw, 72px); align-items: start; }
.contact-side { display: flex; flex-direction: column; gap: 22px; min-width: 0; }
.info-cards { display: flex; flex-direction: column; gap: 12px; margin-top: 8px; }
.info-card { display: flex; align-items: center; gap: 16px; padding: 18px 20px; border-radius: 22px; background: rgba(255, 255, 255, .64); }
.info-card div { display: flex; flex-direction: column; gap: 2px; min-width: 0; }
.info-card small { font-size: .8125rem; color: var(--muted); }
.info-card a, .info-card b { font-weight: 600; font-size: 1.0625rem; text-decoration: none; overflow-wrap: anywhere; user-select: all; }
.info-card a:hover { color: var(--accent); }
.form-card { padding: clamp(22px, 4vw, 40px); border-radius: 32px; background: rgba(255, 255, 255, .62); box-shadow: inset 0 1px 0 var(--white), var(--shadow-lg); }
.form-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 16px; margin-top: 22px; }
.field { display: flex; flex-direction: column; gap: 6px; min-width: 0; }
.field--full { grid-column: 1 / -1; }
.field label { font-size: .875rem; font-weight: 600; line-height: 1.35; }
.field label span { font-weight: 400; color: var(--muted); }
.field input, .field select, .field textarea {
  width: 100%; min-height: 50px; padding: 12px 14px; border-radius: 14px;
  border: 1px solid rgba(14, 23, 38, .16); background: var(--white); color: var(--ink);
  font: 400 1rem/1.4 var(--font-body);
}
.field textarea { min-height: 130px; resize: vertical; }
.field input:focus, .field select:focus, .field textarea:focus { outline: 2px solid var(--accent); outline-offset: 1px; border-color: var(--accent); }
.form-foot { display: flex; flex-wrap: wrap; align-items: center; gap: 12px 20px; margin-top: 22px; }
.form-foot small { font-size: .8125rem; color: var(--muted); max-width: 40ch; }
.form-result { display: flex; flex-direction: column; gap: 14px; margin-top: 22px; padding: 22px; border-radius: 22px; background: var(--white); border: 1px solid var(--hair); }
.form-result pre {
  margin: 0; padding: 14px; max-height: 240px; overflow: auto; border-radius: 14px; background: var(--bg);
  font: 400 .8125rem/1.55 var(--font-mono); white-space: pre-wrap; overflow-wrap: anywhere;
}
.form-result p { color: var(--muted); font-size: .9375rem; }
.form-result .ok { display: flex; align-items: center; gap: 10px; color: var(--ok-ink); font-weight: 600; }

/* legal */
.sheet { max-width: 860px; padding: clamp(24px, 5vw, 56px); border-radius: 32px; background: rgba(255, 255, 255, .7); }
.sheet h2 { margin-top: 2em; font-size: 1.25rem; letter-spacing: -.01em; line-height: 1.3; }
.sheet p, .sheet li { color: var(--muted); max-width: 68ch; }
.sheet p { margin-top: .9em; }
.sheet ul { margin-top: .7em; padding-left: 1.2em; list-style: disc; display: flex; flex-direction: column; gap: .35em; }
.sheet a { color: var(--accent); font-weight: 500; }

/* ---------- footer ---------- */
.site-footer { padding-block: 0 40px; }
.site-footer__rule { height: 1px; background: var(--hair); }
.footer-grid { display: grid; grid-template-columns: minmax(0, 320px) minmax(0, 1fr); gap: 40px 64px; padding-top: 52px; }
.footer-brand { display: flex; flex-direction: column; gap: 18px; align-items: flex-start; }
.footer-brand img { height: 32px; width: auto; }
.footer-brand p { font-size: .9375rem; color: var(--muted); }
.badges { display: flex; flex-wrap: wrap; gap: 8px; }
.badge { display: inline-flex; align-items: center; min-height: 32px; padding: 0 12px; border-radius: 99px; background: rgba(255, 255, 255, .72); border: 1px solid rgba(14, 23, 38, .08); font-size: .75rem; font-weight: 600; color: var(--ink-2); text-decoration: none; }
a.badge { min-height: 44px; }
.footer-cols { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 32px 24px; }
.footer-col { display: flex; flex-direction: column; gap: 4px; font-size: .9375rem; min-width: 0; }
.footer-col .mono-label { margin-bottom: 8px; }
.footer-col a { display: inline-flex; align-items: center; min-height: 34px; text-decoration: none; }
.footer-col a:hover { color: var(--accent); }
.footer-base { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 6px 24px; margin-top: 52px; font-size: .8125rem; color: var(--muted); }

/* ---------- responsive ---------- */
@media (max-width: 1080px) {
  .nav__links, .nav__client { display: none; }
  .nav__toggle { display: grid; }
  .grid--4 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .grid--7 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .grid--5 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .client-tiles { grid-template-columns: repeat(3, minmax(0, 1fr)); }
  .client-tiles li:last-child { display: none; }
  .bento { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .steps { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .steps::before { display: none; }
  .footer-grid { grid-template-columns: 1fr; }
}
@media (max-width: 960px) {
  .hero__grid, .page-hero__grid, .faq-grid, .split, .contact-grid { grid-template-columns: 1fr; }
  .stage { max-width: 560px; width: 100%; margin-inline: auto; padding: 56px 0 104px; }
  .stage .mark { right: -12%; top: 4%; height: 96%; }
  .dash { margin-inline: 0; max-width: none; }
  .chip--a { right: 0; }
  .chip--b { display: none; }
  .vstage { max-width: 560px; width: 100%; margin-inline: auto; padding: 8px 0 24px; }
  .vstage .mark { right: -10%; }
  .vcard { margin-inline: 0; max-width: none; }
  .sec-head--split { flex-direction: column; align-items: flex-start; }
  .grid--3 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .night-band .grid--3 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
@media (max-width: 680px) {
  .nav { height: 60px; padding-left: 20px; }
  .pill { font-size: .78rem; padding-right: 14px; }
  .nav__logo img { height: 24px; }
  .btn { min-height: 52px; }
  .hero .btn-row, .cta .btn-row { flex-direction: column; align-self: stretch; }
  .hero .btn-row .btn, .cta .btn-row .btn { width: 100%; }
  .dash { padding: 22px 20px; border-radius: 28px; }
  .dash__stats b { font-size: .9375rem; }
  .chip { padding: 12px 14px; border-radius: 20px; }
  .grid--3, .grid--2, .grid--7, .night-band .grid--3 { grid-template-columns: 1fr; }
  .grid--7 > :first-child { grid-column: auto; }
  .grid--4.grid--keep2, .grid--5 { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 10px; }
  .grid--4:not(.grid--keep2) { grid-template-columns: 1fr; }
  .client-tiles { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 10px; }
  .client-tiles li:last-child { display: flex; }
  .client-tile { min-height: 72px; padding: 12px 14px; border-radius: 18px; }
  .client-tile b { font-size: .9375rem; }
  .bento { grid-template-columns: 1fr; }
  .bento .card { padding: 24px; border-radius: 28px; min-height: 0; }
  .bento__wide { grid-column: auto; grid-template-columns: 1fr; gap: 20px; }
  .card { padding: 24px 22px; border-radius: 26px; }
  .card--who { padding: 18px; min-height: 150px; border-radius: 24px; }
  .card--who .h3 { font-size: 1.125rem; margin-top: auto; padding-top: 18px; }
  .card--who .card__text, .card--who .more { display: none; }
  .card--tile { padding: 16px; border-radius: 20px; }
  .ncard { flex-direction: row; gap: 16px; padding: 20px; border-radius: 22px; }
  .ncard h3 { margin-top: 0; font-size: 1.125rem; }
  .ncard p { margin-top: 6px; font-size: .875rem; }
  .ncard > div { min-width: 0; }
  .checks li { flex: 1 1 100%; font-size: 1rem; min-height: 56px; border-radius: 20px; }
  .steps { grid-template-columns: 1fr; gap: 12px; }
  .step { display: grid; grid-template-columns: 44px minmax(0, 1fr); column-gap: 16px; padding: 18px; border-radius: 22px; }
  .step__n { width: 44px; height: 44px; font-size: .8125rem; grid-row: span 2; }
  .step h3 { margin-top: 2px; font-size: 1.1875rem; }
  .step p { margin-top: 4px; }
  .timeline::before { left: 40px; }
  .tstep { grid-template-columns: 44px minmax(0, 1fr); gap: 16px; padding: 18px; border-radius: 22px; }
  .faq summary { min-height: 64px; padding: 14px 20px; font-size: 1rem; }
  .faq__a { padding: 0 20px 20px; }
  .founder { grid-template-columns: 1fr; }
  .form-grid { grid-template-columns: 1fr; }
  .footer-cols { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .footer-base { flex-direction: column; margin-top: 36px; }
  .cta-sec .mark--l { height: 62%; left: -12%; }
  .cta-sec .mark--r { height: 56%; top: auto; bottom: 2%; right: -10%; }
  .quote-sec .mark { left: auto; right: -8%; top: 34%; height: 70%; transform: none; }
  .who .mark--blur { left: 4%; top: 22%; height: 520px; }
}
@media (max-width: 480px) {
  .nav__cta { display: none; }
}
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { transition: none !important; animation: none !important; }
}

/* ==========================================================================
   Client logos, testimonials, "why we're different", accreditations
   ========================================================================== */
.logos-sec { padding-block: clamp(20px, 3vw, 40px) clamp(12px, 2vw, 24px); }
.marquee {
  position: relative; overflow: hidden; padding-block: 6px 28px;
  -webkit-mask-image: linear-gradient(90deg, transparent, #000 7%, #000 93%, transparent);
  mask-image: linear-gradient(90deg, transparent, #000 7%, #000 93%, transparent);
}
.marquee__track { display: flex; gap: 16px; width: max-content; animation: marquee 52s linear infinite; }
.marquee:hover .marquee__track, .marquee:focus-within .marquee__track { animation-play-state: paused; }
@keyframes marquee { to { transform: translateX(calc(-50% - 8px)); } }
.logo-tile {
  flex: none; display: grid; place-items: center; width: 196px; height: 96px; padding: 14px 22px;
  border-radius: 22px; background: rgba(255, 255, 255, .8); border: 1px solid var(--glass-edge);
  box-shadow: inset 0 1px 0 var(--white), 0 18px 34px -24px rgba(14, 23, 38, .32);
}
.logo-tile img { height: 54px; width: auto; max-width: 100%; object-fit: contain; border-radius: 6px; }

.client-grid { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 16px; }
.clogo-card { display: flex; flex-direction: column; min-width: 0; padding: 12px; border-radius: 26px; }
.clogo { display: grid; place-items: center; height: 128px; padding: 18px 22px; border-radius: 18px; background: var(--white); }
.clogo img { height: 64px; width: auto; max-width: 100%; object-fit: contain; border-radius: 6px; }
.clogo-card__meta { display: flex; flex-direction: column; gap: 2px; padding: 14px 10px 8px; min-width: 0; }
.clogo-card__meta b { font-family: var(--font-display); font-weight: 600; font-size: 1.0625rem; line-height: 1.25; letter-spacing: -.01em; }
.clogo-card__meta small { font-size: .8125rem; color: var(--muted); }
.clogo-card--feature { grid-column: span 2; flex-direction: row; align-items: stretch; gap: 6px; }
.clogo-card--feature .clogo { flex: 1.25; height: auto; min-height: 168px; }
.clogo-card--feature .clogo img { height: 52px; }
.clogo-card--feature .clogo-card__meta { flex: 1; justify-content: center; padding: 14px 18px; gap: 6px; }
.clogo-card--feature .clogo-card__meta b { font-size: 1.375rem; }

.tgrid { display: grid; grid-template-columns: minmax(0, 1.1fr) minmax(0, 1fr); gap: 20px; }
.tcard { display: flex; flex-direction: column; gap: 18px; min-width: 0; padding: 28px; border-radius: 28px; }
.tcard .qmark { width: 30px; height: auto; color: var(--accent); flex: none; }
.tcard blockquote { font-size: 1.0625rem; line-height: 1.6; color: var(--ink-2); }
.tcard--feature { grid-row: span 3; padding: clamp(28px, 4vw, 48px); gap: 28px; }
.tcard--feature .qmark { width: 44px; }
.tcard--feature blockquote { font-family: var(--font-display); font-size: clamp(1.25rem, 1.05rem + .9vw, 1.75rem); line-height: 1.42; letter-spacing: -.01em; color: var(--ink); }
.tcard figcaption, .quote figcaption { display: flex; align-items: center; gap: 14px; margin-top: auto; }
.tcard figcaption > div, .quote figcaption > div { display: flex; flex-direction: column; gap: 1px; min-width: 0; }
.tcard figcaption b { font-weight: 600; }
.tcard figcaption small { font-size: .875rem; color: var(--muted); }
.tlogo { display: grid; place-items: center; width: 92px; height: 56px; flex: none; padding: 6px 10px; border-radius: 14px; background: var(--white); border: 1px solid var(--hair); }
.tlogo img { height: 40px; width: auto; max-width: 100%; object-fit: contain; border-radius: 4px; }
.tcard--feature .tlogo, .quote .tlogo { width: 116px; height: 70px; }
.tcard--feature .tlogo img, .quote .tlogo img { height: 52px; }

.diff__grid { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: clamp(32px, 6vw, 88px); align-items: center; }
.diff__copy { display: flex; flex-direction: column; align-items: flex-start; gap: 18px; min-width: 0; }
.diff__list { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 24px 28px; margin-top: 12px; }
.diff__list li { display: flex; flex-direction: column; gap: 10px; min-width: 0; }
.diff__list .ichip { width: 44px; height: 44px; border-radius: 14px; }
.diff__list h3 { font-size: 1.125rem; line-height: 1.25; letter-spacing: -.01em; }
.diff__list p { font-size: .9375rem; line-height: 1.55; color: var(--muted); }
.diff__stage { position: relative; min-width: 0; padding-block: 34px; }
.diff__stage .mark { left: -16%; top: -10%; height: 122%; opacity: .9; }
.feed { position: relative; z-index: 1; padding: 24px; border-radius: 30px; background: rgba(255, 255, 255, .55); box-shadow: inset 0 1px 0 rgba(255, 255, 255, .95), var(--shadow-lg); }
.feed__head { display: flex; justify-content: space-between; align-items: center; gap: 12px; margin-bottom: 14px; }
.feed__list { position: relative; display: flex; flex-direction: column; gap: 8px; }
.feed__list::before {
  content: ""; position: absolute; left: 87px; top: 24px; bottom: 24px; width: 2px; border-radius: 2px;
  background: linear-gradient(var(--accent), rgba(47, 99, 246, .12)); transform-origin: top;
}
.feed__list li {
  position: relative; display: grid; grid-template-columns: 44px 36px minmax(0, 1fr) auto; align-items: center; gap: 12px;
  min-height: 62px; padding: 10px 14px; border-radius: 16px; background: rgba(255, 255, 255, .84);
}
.feed__list time { font-family: var(--font-mono); font-size: .75rem; color: var(--muted); font-variant-numeric: tabular-nums; }
.feed__icon { position: relative; z-index: 1; display: grid; place-items: center; width: 36px; height: 36px; border-radius: 11px; background: var(--accent-soft); color: var(--accent); }
.feed__icon--ok { background: var(--ok-soft); color: var(--ok-ink); }
.feed__text { display: flex; flex-direction: column; gap: 1px; min-width: 0; }
.feed__text b { font-size: .875rem; font-weight: 600; line-height: 1.3; }
.feed__text small { font-size: .75rem; color: var(--muted); line-height: 1.35; }

.accred { display: flex; flex-wrap: wrap; gap: 10px; }
.accred img { height: 70px; width: auto; padding: 9px 12px; border-radius: 16px; background: var(--white); border: 1px solid rgba(14, 23, 38, .08); }
.faq__a ul { margin: .6em 0; padding-left: 1.2em; list-style: disc; display: flex; flex-direction: column; gap: .3em; }
.faq__a p + p { margin-top: .6em; }
.faq__a a { color: var(--accent); font-weight: 500; }

@media (max-width: 1080px) {
  .client-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
.logo-tile--text span, .clogo--text span {
  font-family: var(--font-display); font-weight: 600; letter-spacing: -.01em; text-align: center; text-wrap: balance; color: var(--ink-2);
}
.logo-tile--text span { font-size: 1rem; line-height: 1.2; }
.clogo--text span { font-size: 1.25rem; line-height: 1.2; max-width: 12em; }
@media (max-width: 960px) {
  .diff__grid { grid-template-columns: 1fr; }
  .diff__stage { max-width: 560px; width: 100%; margin-inline: auto; padding-block: 8px 0; }
  .tgrid { grid-template-columns: 1fr; }
  .tcard--feature { grid-row: auto; }
}
@media (max-width: 680px) {
  .logo-tile { width: 150px; height: 78px; padding: 12px 16px; border-radius: 18px; }
  .logo-tile img { height: 44px; }
  .client-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 10px; }
  .clogo-card { padding: 8px; border-radius: 22px; }
  .clogo { height: 96px; padding: 12px 14px; border-radius: 15px; }
  .clogo img { height: 50px; }
  .clogo--text span { font-size: 1rem; }
  .logo-tile--text span { font-size: .875rem; }
  .clogo-card__meta { padding: 10px 6px 6px; }
  .clogo-card__meta b { font-size: .9375rem; }
  .clogo-card--feature { flex-direction: column; }
  .clogo-card--feature .clogo { min-height: 110px; }
  .clogo-card--feature .clogo-card__meta { padding: 12px 8px 6px; }
  .diff__list { grid-template-columns: 1fr; gap: 18px; }
  .diff__list li { display: grid; grid-template-columns: 44px minmax(0, 1fr); column-gap: 14px; row-gap: 4px; }
  .diff__list .ichip { grid-row: span 2; }
  .feed { padding: 16px; border-radius: 26px; }
  .feed__list li { grid-template-columns: 34px minmax(0, 1fr) auto; gap: 10px; padding: 10px 12px; }
  .feed__list time { display: none; }
  .feed__icon { width: 34px; height: 34px; }
  .feed__list::before { left: 28px; }
  .tcard { padding: 22px; border-radius: 24px; }
  .accred img { height: 62px; }
}

/* ==========================================================================
   Motion
   ========================================================================== */
@view-transition { navigation: auto; }
::view-transition-old(root), ::view-transition-new(root) { animation-duration: .32s; }
:root { --ease-out: cubic-bezier(.16, 1, .3, 1); --ease-io: cubic-bezier(.65, 0, .35, 1); interpolate-size: allow-keywords; }

@keyframes rise { from { opacity: 0; translate: 0 22px; } }
@keyframes lineUp { from { translate: 0 108%; } }
@keyframes popIn { from { opacity: 0; scale: .88; } }
@keyframes dashIn { from { opacity: 0; translate: 0 44px; scale: .96; filter: blur(12px); } }
@keyframes stripeIn { from { opacity: 0; transform: translate(-9px, 7px); } }
@keyframes drawLine { from { stroke-dashoffset: 1; } to { stroke-dashoffset: 0; } }
@keyframes fadeIn { from { opacity: 0; } }
@keyframes float { 0%, 100% { translate: 0 0; } 50% { translate: 0 -9px; } }
@keyframes pulseOk { 0% { box-shadow: 0 0 0 0 rgba(22, 162, 103, .55); } 100% { box-shadow: 0 0 0 9px rgba(22, 162, 103, 0); } }
@keyframes pulseAccent { 0% { box-shadow: 0 0 0 0 rgba(47, 99, 246, .5); } 100% { box-shadow: 0 0 0 10px rgba(47, 99, 246, 0); } }
@keyframes drift { 0%, 100% { rotate: 0deg; scale: 1; } 50% { rotate: 7deg; scale: 1.1; } }

/* header tightens once you scroll */
.nav { transition: height .4s var(--ease-out), background-color .4s, box-shadow .4s; }
.site-header.is-scrolled .nav { background: rgba(255, 255, 255, .84); box-shadow: inset 0 1px 0 var(--white), 0 18px 44px -18px rgba(14, 23, 38, .32); }
@media (min-width: 681px) { .site-header.is-scrolled .nav { height: 58px; } }

/* hero headline: each line slides up from behind a mask */
.hero-title .line { display: block; overflow: hidden; padding-bottom: .08em; margin-bottom: -.08em; }
.hero-title .line > span { display: inline-block; }
.js .hero-title .line > span { animation: lineUp 1.05s var(--ease-out) both; }
.js .hero-title .line:nth-child(1) > span { animation-delay: .12s; }
.js .hero-title .line:nth-child(2) > span { animation-delay: .24s; }
.js .hero-title .line:nth-child(3) > span { animation-delay: .36s; }
.js .hero__copy > :not(h1) { animation: rise .9s var(--ease-out) both; }
.js .hero__copy > .pill { animation-delay: 0s; }
.js .hero__copy > .lead { animation-delay: .5s; }
.js .hero__copy > .btn-row { animation-delay: .62s; }
.js .hero__copy > .ticks { animation-delay: .74s; }

/* hero visual */
.stage { --px: 0; --py: 0; }
.stage-mark { aspect-ratio: 76 / 120; transform: translate3d(calc(var(--px) * -12px), calc(var(--py) * -9px), 0); transition: transform 1s var(--ease-out); }
.js .stage-mark polygon { animation: stripeIn 1.3s var(--ease-out) both; }
.js .stage-mark polygon:nth-child(1) { animation-delay: .15s; }
.js .stage-mark polygon:nth-child(2) { animation-delay: .3s; }
.js .stage-mark polygon:nth-child(3) { animation-delay: .45s; }
.dash { transform: perspective(1400px) rotateY(calc(var(--px) * 5deg)) rotateX(calc(var(--py) * -4deg)); transition: transform 1s var(--ease-out), box-shadow .35s; }
.js .dash { animation: dashIn 1.25s .3s var(--ease-out) both; }
.chip { transform: translate3d(calc(var(--px) * 18px), calc(var(--py) * 13px), 0); transition: transform 1s var(--ease-out); }
.chip--c { transform: translate3d(calc(var(--px) * 26px), calc(var(--py) * 18px), 0); }
.js .chip--a { animation: popIn .8s 1s var(--ease-out) both, float 7s 1.9s ease-in-out infinite; }
.js .chip--b { animation: popIn .8s 1.2s var(--ease-out) both, float 8s 2.6s ease-in-out infinite; }
.js .chip--c { animation: popIn .8s 1.4s var(--ease-out) both, float 7.5s 3.2s ease-in-out infinite; }
.dash__line { stroke-dasharray: 1; stroke-dashoffset: 0; }
.js .dash__line { animation: drawLine 2s .8s var(--ease-io) both; }
.js .dash__area { animation: fadeIn 1.4s 1.7s both; }
.dot--ok { animation: pulseOk 2.2s ease-out infinite; }
.pill .dot { animation: pulseAccent 2.6s ease-out infinite; }

/* inner page heroes */
.js .page-hero__copy > *, .js .contact-side > * { animation: rise .9s var(--ease-out) both; }
.js .page-hero__copy > :nth-child(2), .js .contact-side > :nth-child(2) { animation-delay: .1s; }
.js .page-hero__copy > :nth-child(3), .js .contact-side > :nth-child(3) { animation-delay: .2s; }
.js .page-hero__copy > :nth-child(4), .js .contact-side > :nth-child(4) { animation-delay: .3s; }
.js .page-hero__copy > :nth-child(5), .js .contact-side > :nth-child(5) { animation-delay: .4s; }
.js .page-hero__copy > :nth-child(n+6), .js .contact-side > :nth-child(n+6) { animation-delay: .5s; }
.js .vstage .vcard, .js .form-card { animation: dashIn 1.2s .25s var(--ease-out) both; }
.js .vcard > * { animation: rise .8s var(--ease-out) both; }
.js .vcard > :nth-child(2) { animation-delay: .55s; }
.js .vcard > :nth-child(3) { animation-delay: .67s; }
.js .vcard > :nth-child(4) { animation-delay: .79s; }
.js .vcard > :nth-child(5) { animation-delay: .91s; }
.js .vcard > :nth-child(n+6) { animation-delay: 1.03s; }
.js .vstage > .mark { animation: fadeIn 1.6s .1s both; }

/* ambient drift on the dark bands */
.night-band .mark--blur { animation: drift 22s ease-in-out infinite; }

/* scroll reveals (JS tags the elements, so nothing hides without it) */
.js [data-reveal] {
  opacity: 0; translate: 0 28px;
  transition-property: opacity, translate, scale, filter, transform, box-shadow, background-color;
  transition-duration: .9s, 1.05s, 1.05s, 1.05s, .35s, .35s, .25s;
  transition-timing-function: var(--ease-out);
  transition-delay: var(--d, 0ms), var(--d, 0ms), var(--d, 0ms), var(--d, 0ms), 0s, 0s, 0s;
}
.js [data-reveal="zoom"] { translate: 0 18px; scale: .95; filter: blur(10px); }
.js [data-reveal="left"] { translate: -22px 0; }
.js [data-reveal].is-in { opacity: 1; translate: 0 0; scale: 1; filter: none; }
.motion .feed__list li[data-reveal] .tag { opacity: 0; scale: .6; transition: opacity .4s, scale .6s var(--ease-out); transition-delay: calc(var(--d, 0ms) + .5s); }
.motion .feed__list li[data-reveal].is-in .tag { opacity: 1; scale: 1; }

/* connector lines draw in */
.motion .steps::before { transform: scaleX(0); transform-origin: left; transition: transform 1.6s var(--ease-io) .25s; }
.motion .steps.is-in::before { transform: none; }
.motion .timeline::before { transform: scaleY(0); transform-origin: top; transition: transform 2.2s var(--ease-io) .2s; }
.motion .timeline.is-in::before { transform: none; }
.motion .feed__list::before { transform: scaleY(0); transition: transform 1.8s var(--ease-io) .3s; }
.motion .feed__list.is-in::before { transform: none; }

/* light that follows the pointer across glass */
.glare { position: relative; }
.glare::after {
  content: ""; position: absolute; inset: 0; border-radius: inherit; pointer-events: none; opacity: 0;
  background: radial-gradient(380px circle at var(--mx, 50%) var(--my, 50%), rgba(255, 255, 255, .34), rgba(255, 255, 255, 0) 60%);
  transition: opacity .4s;
}
.ncard.glare::after, .night-band .glare::after { background: radial-gradient(320px circle at var(--mx, 50%) var(--my, 50%), rgba(143, 182, 251, .14), rgba(143, 182, 251, 0) 60%); }
.glare:hover::after { opacity: 1; }
.tcard, .step, .tstep, .info-card, .ncard, .clogo-card, .feed { transition: transform .35s var(--ease-out), box-shadow .35s; }
.tcard:hover, .clogo-card:hover { transform: translateY(-4px); box-shadow: inset 0 1px 0 var(--white), 0 34px 60px -30px rgba(14, 23, 38, .34); }

/* buttons: a light sweep and an arrow nudge */
.btn--dark { position: relative; overflow: hidden; }
.btn--dark::after {
  content: ""; position: absolute; top: 0; bottom: 0; left: -60%; width: 45%; pointer-events: none;
  background: linear-gradient(100deg, rgba(255, 255, 255, 0), rgba(255, 255, 255, .26), rgba(255, 255, 255, 0));
  transform: skewX(-18deg); transition: left .8s var(--ease-out);
}
.btn--dark:hover::after { left: 125%; }
.btn--dark svg { transition: translate .3s var(--ease-out); }
.btn--dark:hover svg:last-child { translate: 3px 0; }

/* FAQ answers glide open where the browser supports it */
.faq::details-content { block-size: 0; overflow: clip; transition: block-size .45s var(--ease-out), content-visibility .45s allow-discrete; }
.faq[open]::details-content { block-size: auto; }

@media (prefers-reduced-motion: reduce) {
  .marquee { -webkit-mask-image: none; mask-image: none; }
  .marquee__track { width: auto; flex-wrap: wrap; justify-content: center; padding-inline: 20px; }
  .marquee__track .dup { display: none; }
  .dash, .chip, .stage-mark { transform: none; }
}

/* remote support: always beside the client links */
.mm-support {
  display: flex; align-items: center; gap: 12px; min-height: 60px; margin-top: 6px; padding: 10px 14px 10px 10px;
  border-radius: 16px; background: var(--accent-soft); color: var(--ink); text-decoration: none;
}
.mm-support > span:nth-child(2) { display: flex; flex-direction: column; gap: 1px; flex: 1; min-width: 0; }
.mm-support b { font-weight: 600; font-size: .9375rem; line-height: 1.25; }
.mm-support small { font-size: .8125rem; line-height: 1.35; color: var(--muted); }
.mm-support .ichip { background: var(--white); }
.mm-support > svg { color: var(--accent); flex: none; }
.info-card--support { flex-wrap: wrap; }
.info-card--support > div { flex: 1 1 180px; }
.info-card__note { font-size: .875rem; line-height: 1.45; color: var(--muted); }
.info-card--support .btn { margin-left: auto; }
.footer-support {
  white-space: nowrap; margin-top: 8px; gap: 8px; align-self: flex-start; min-height: 44px !important; padding: 0 14px;
  border-radius: 999px; background: var(--accent-soft); color: var(--accent); font-weight: 600; font-size: .875rem;
}
.footer-support:hover { background: var(--accent); color: var(--white) !important; }

/* client area: logos and a featured client login */
.nav__client-btn { border: 1px solid rgba(14, 23, 38, .1); background: rgba(255, 255, 255, .55); }
.nav__client-btn:hover { background: var(--white); }
.nav__client-mark { height: 17px; width: auto; }
.menu--client { width: 360px; gap: 6px; padding: 12px; }
.menu__title { padding: 4px 8px 6px; font-family: var(--font-mono); font-size: .6875rem; letter-spacing: .14em; text-transform: uppercase; color: var(--muted); }
.menu .cl-item { display: flex; align-items: center; gap: 12px; padding: 10px; border-radius: 16px; }
.menu .cl-item > svg { flex: none; color: var(--faint); }
.cl-logo { display: grid; place-items: center; width: 44px; height: 44px; flex: none; border-radius: 13px; background: var(--white); border: 1px solid var(--hair); color: var(--accent); }
.cl-logo img { width: auto; height: 24px; }
.cl-logo--brand { background: linear-gradient(145deg, #FFFFFF, #E8EFFE); }
.cl-logo--xero { padding: 6px; }
.cl-logo--xero img { height: 30px; width: 30px; border-radius: 50%; }
.menu .cl-item--portal {
  padding: 14px 12px; border: 1px solid rgba(47, 99, 246, .2);
  background: linear-gradient(135deg, rgba(47, 99, 246, .1), rgba(156, 192, 252, .16) 60%, rgba(255, 255, 255, .6));
  box-shadow: inset 0 1px 0 var(--white);
}
.menu .cl-item--portal:hover { background: linear-gradient(135deg, rgba(47, 99, 246, .16), rgba(156, 192, 252, .24) 60%, rgba(255, 255, 255, .7)); }
.cl-item--portal .cl-logo { width: 48px; height: 48px; box-shadow: 0 8px 18px -10px rgba(47, 99, 246, .6); }
.cl-tag { display: inline-flex; align-items: center; gap: 4px; flex: none; padding: 4px 8px; border-radius: 99px; background: var(--white); color: var(--accent); font-size: .6875rem; font-weight: 600; }

.mm-client { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 6px; }
.mm-client__card {
  display: flex; flex-direction: column; align-items: flex-start; gap: 10px; min-height: 112px; padding: 12px;
  border-radius: 16px; background: rgba(243, 245, 249, .9); color: var(--ink); text-decoration: none;
}
.mm-client__card > span:last-child { display: flex; flex-direction: column; gap: 1px; min-width: 0; }
.mm-client__card b { font-weight: 600; font-size: .9375rem; line-height: 1.25; }
.mm-client__card small { font-size: .75rem; line-height: 1.35; color: var(--muted); }
.mm-client__card--portal { background: linear-gradient(135deg, rgba(47, 99, 246, .12), rgba(156, 192, 252, .2)); border: 1px solid rgba(47, 99, 246, .18); }

.footer-col .footer-client { gap: 10px; }
.footer-client img { height: 18px; width: auto; }

/* ---- Client logo optical sizing ----
   Each client logo carries --s (set by the build from its shape): wide logos are
   drawn shorter and square ones taller, so they all carry similar visual weight. */
.logo-tile { --lh: 54px; --lmax: 66px; grid-template-columns: minmax(0, 1fr); }
.clogo { --lh: 62px; --lmax: 88px; grid-template-columns: minmax(0, 1fr); }
.clogo-card--feature .clogo { --lh: 58px; --lmax: 104px; }
.logo-tile img, .clogo img { height: calc(var(--lh) * var(--s, 1)); max-height: var(--lmax); justify-self: center; }
.tlogo { grid-template-columns: minmax(0, 1fr); }
@media (max-width: 680px) {
  .logo-tile { --lh: 44px; --lmax: 54px; }
  .clogo { --lh: 48px; --lmax: 68px; }
  .clogo-card--feature .clogo { --lh: 48px; --lmax: 76px; }
}

/* ---- Clients page: every client the same size ----
   15 clients: 5 across on desktop, 3 across on tablets (both fill evenly),
   2 across on phones with the last card centred. */
.client-grid { grid-template-columns: repeat(5, minmax(0, 1fr)); }
.clogo { padding: 16px 14px; }
@media (max-width: 1080px) {
  .client-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); }
}
@media (max-width: 680px) {
  .client-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .client-grid > :last-child:nth-child(odd) { grid-column: 1 / -1; justify-self: center; width: calc(50% - 5px); }
}
