/* Chauffeur OS website. Colours follow brand/README.md and app/src/ui/theme.js:
   Porcelain + Cobalt (light) and Midnight + Cobalt (dark). No third-party
   fonts, scripts or requests. */
/* ---------- Tokens ---------- */
:root,
.look-light {
  color-scheme: light;
  --bg: #f6f7fa;
  --bg-alt: #eef1f6;
  --panel: #ffffff;
  --raised: #ffffff;
  --ink: #18212f;
  --muted: #596579;
  --accent: #255ce5;
  --accent-ink: #255ce5;
  --soft: #e9efff;
  --border: #dce2ed;
  --hair: #e8ecf3;
  --neutral: #eef1f6;
  --good: #0f7a4d;
  --good-bg: #e6f6ee;
  --warn: #8a5300;
  --warn-bg: #fff4dc;
  --bad: #b42332;
  --bad-bg: #fff0f1;
  --sh: 24 33 47;
  --card-shadow: 0 1px 2px rgb(24 33 47 / 0.04), 0 8px 24px -12px rgb(24 33 47 / 0.12);
  --lift-shadow: 0 2px 4px rgb(24 33 47 / 0.04), 0 28px 60px -24px rgb(24 33 47 / 0.28);
  --glow-1: rgb(37 92 229 / 0.2);
  --glow-2: rgb(79 127 239 / 0.16);
  --dot: rgb(24 33 47 / 0.13);
  --glass: rgb(255 255 255 / 0.74);
  --glass-edge: rgb(255 255 255 / 0.9);
  --gl: #255ce5;
  --gl-front: #9db8fb;
  --gl-quiet: #6b778f;
  --gl-quiet-front: #c3cad8;
  --grad-a: #1743b5;
  --grad-b: #255ce5;
  --grad-c: #5a8af5;
}
[data-theme='dark'],
.look-dark {
  color-scheme: dark;
  --bg: #101318;
  --bg-alt: #151a22;
  --panel: #1d232f;
  --raised: #3b4559;
  --ink: #f4f6fa;
  --muted: #c2cad8;
  --accent: #2f66ee;
  --accent-ink: #a9c1ff;
  --soft: #1f3160;
  --border: #3d4759;
  --hair: #343d4f;
  --neutral: #283040;
  --good: #62dba8;
  --good-bg: #143b2f;
  --warn: #f6c462;
  --warn-bg: #403112;
  --bad: #ff9aa2;
  --bad-bg: #431c24;
  --sh: 0 0 0;
  --card-shadow: 0 1px 2px rgb(0 0 0 / 0.3), 0 10px 28px -14px rgb(0 0 0 / 0.6);
  --lift-shadow: 0 2px 4px rgb(0 0 0 / 0.3), 0 30px 70px -24px rgb(0 0 0 / 0.75);
  --glow-1: rgb(47 102 238 / 0.34);
  --glow-2: rgb(169 193 255 / 0.13);
  --dot: rgb(244 246 250 / 0.13);
  --glass: rgb(29 35 47 / 0.72);
  --glass-edge: rgb(255 255 255 / 0.14);
  --gl: #4f7ff3;
  --gl-front: #cfdcff;
  --gl-quiet: #8490a8;
  --gl-quiet-front: #e3e8f1;
  --grad-a: #a9c1ff;
  --grad-b: #7ea2ff;
  --grad-c: #dbe6ff;
}
.look-light,
.look-dark {
  color: var(--ink);
}
/* ---------- Base ---------- */
*,
*::before,
*::after {
  box-sizing: border-box;
}
html {
  scroll-behavior: smooth;
  scroll-padding-top: 92px;
  -webkit-text-size-adjust: 100%;
}
body {
  margin: 0;
  background: var(--bg);
  color: var(--ink);
  font: 16px/1.6 Inter, ui-sans-serif, system-ui, -apple-system, 'Segoe UI', Roboto, 'Helvetica Neue', Arial, sans-serif;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
  overflow-x: clip;
}
h1,
h2,
h3,
h4,
p,
figure,
dl,
dd {
  margin: 0;
}
ul,
ol {
  margin: 0;
  padding: 0;
  list-style: none;
}
a {
  color: inherit;
  text-decoration: none;
}
img,
svg {
  display: block;
  max-width: 100%;
}
button,
input,
select {
  font: inherit;
  color: inherit;
}
button {
  cursor: pointer;
  touch-action: manipulation;
}
:focus-visible {
  outline: 3px solid var(--accent-ink);
  outline-offset: 3px;
  border-radius: 6px;
}
[hidden] {
  display: none !important;
}
.wrap {
  width: min(1200px, calc(100% - 48px));
  margin-inline: auto;
}
.sr-only,
.skip:not(:focus) {
  position: absolute;
  width: 1px;
  height: 1px;
  margin: -1px;
  padding: 0;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}
.skip:focus {
  position: fixed;
  top: 10px;
  left: 10px;
  z-index: 100;
  padding: 12px 16px;
  border-radius: 10px;
  background: var(--panel);
  box-shadow: var(--lift-shadow);
}
.sprite {
  position: absolute;
  width: 0;
  height: 0;
  overflow: hidden;
}
/* Icons: the app's own two-tone masters, drawn from the inline sprite. */
.ic {
  width: 1.25em;
  height: 1.25em;
  flex: none;
  overflow: visible;
}
.i-b {
  fill: var(--i-b, currentColor);
}
.i-f {
  fill: var(--i-f, currentColor);
  opacity: var(--i-fo, 0.42);
  stroke: var(--i-rim, none);
  stroke-width: 0.45;
}
.i-l {
  fill: none;
  stroke: var(--i-b, currentColor);
  stroke-width: 2.25;
  stroke-linecap: round;
  stroke-linejoin: round;
}
.ic.glass {
  --i-b: var(--gl);
  --i-f: var(--gl-front);
  --i-fo: 0.86;
  --i-rim: var(--glass-edge);
}
.ic.glass.quiet {
  --i-b: var(--gl-quiet);
  --i-f: var(--gl-quiet-front);
}
/* Logo pair: the on-light or on-dark lockup for the active appearance. */
.l-dark {
  display: none;
}
[data-theme='dark'] .l-light,
.look-dark .l-light {
  display: none;
}
[data-theme='dark'] .l-dark,
.look-dark .l-dark {
  display: block;
}
.look-light .l-light {
  display: block;
}
.look-light .l-dark {
  display: none;
}
/* ---------- Type ---------- */
h1,
h2,
h3 {
  text-wrap: balance;
}
h1 {
  font-size: clamp(2.7rem, 5.7vw, 4.9rem);
  line-height: 1;
  letter-spacing: -0.045em;
  font-weight: 760;
}
h2 {
  font-size: clamp(2.2rem, 4.7vw, 3.75rem);
  line-height: 1.04;
  letter-spacing: -0.04em;
  font-weight: 730;
}
h3 {
  font-size: 1.25rem;
  line-height: 1.25;
  letter-spacing: -0.02em;
  font-weight: 680;
}
.grad {
  background: linear-gradient(100deg, var(--grad-a) 0%, var(--grad-b) 45%, var(--grad-c) 100%);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
  padding-bottom: 0.08em;
}
.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-size: 12px;
  font-weight: 750;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--accent-ink);
}
.lead {
  font-size: clamp(1.05rem, 1.5vw, 1.2rem);
  line-height: 1.6;
  color: var(--muted);
  max-width: 34em;
  text-wrap: pretty;
}
.section {
  padding-block: clamp(64px, 8.4vw, 116px);
}
.section-head {
  display: grid;
  gap: 16px;
  margin-bottom: clamp(32px, 4.4vw, 56px);
  max-width: 780px;
}
.section-head.center {
  margin-inline: auto;
  text-align: center;
  justify-items: center;
}
.section-head.center .lead {
  margin-inline: auto;
}
.fine {
  font-size: 12.5px;
  line-height: 1.55;
  color: var(--muted);
}
/* ---------- Buttons, pills ---------- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  min-height: 52px;
  padding: 0 24px;
  border: 1px solid transparent;
  border-radius: 14px;
  font-size: 15.5px;
  font-weight: 650;
  line-height: 1.2;
  white-space: nowrap;
  transition:
    transform 0.18s ease,
    box-shadow 0.2s ease,
    background-color 0.2s ease,
    border-color 0.2s ease;
}
.btn .ic {
  width: 18px;
  height: 18px;
}
.btn.primary {
  color: #fff;
  background: linear-gradient(180deg, #2f66ee 0%, #255ce5 55%, #1c4fd6 100%);
  box-shadow:
    inset 0 1px 0 rgb(255 255 255 / 0.32),
    0 12px 26px -10px rgb(37 92 229 / 0.75);
}
.btn.primary:hover {
  transform: translateY(-2px);
  box-shadow:
    inset 0 1px 0 rgb(255 255 255 / 0.32),
    0 18px 34px -12px rgb(37 92 229 / 0.85);
}
.btn.ghost {
  background: var(--panel);
  border-color: var(--border);
  color: var(--ink);
  box-shadow: var(--card-shadow);
}
.btn.ghost:hover {
  transform: translateY(-2px);
  border-color: var(--accent-ink);
}
.btn.light {
  background: #fff;
  color: #18212f;
  box-shadow: 0 14px 30px -12px rgb(5 22 62 / 0.7);
}
.btn.light:hover {
  transform: translateY(-2px);
}
.btn.sm {
  min-height: 42px;
  padding: 0 16px;
  border-radius: 12px;
  font-size: 14px;
}
.pill {
  display: inline-flex;
  align-items: center;
  gap: 0.5em;
  padding: 0.32em 0.8em;
  border-radius: 99em;
  font-size: 12.5px;
  font-weight: 700;
  line-height: 1.35;
  white-space: nowrap;
  color: var(--muted);
  background: var(--neutral);
}
.pill::before {
  content: '';
  width: 0.5em;
  height: 0.5em;
  border-radius: 50%;
  background: currentColor;
  flex: none;
}
.pill.info {
  color: var(--accent-ink);
  background: var(--soft);
}
.pill.good {
  color: var(--good);
  background: var(--good-bg);
}
.pill.warn {
  color: var(--warn);
  background: var(--warn-bg);
}
.pill.bad {
  color: var(--bad);
  background: var(--bad-bg);
}
.pill.plain::before {
  display: none;
}
/* ---------- Header ---------- */
.site-header {
  position: sticky;
  top: 0;
  z-index: 60;
  background: color-mix(in srgb, var(--bg) 76%, transparent);
  -webkit-backdrop-filter: saturate(1.6) blur(18px);
  backdrop-filter: saturate(1.6) blur(18px);
  border-bottom: 1px solid transparent;
  transition: border-color 0.25s ease;
}
.site-header.scrolled {
  border-color: var(--hair);
}
.bar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  height: 76px;
}
.brand img {
  width: 172px;
  height: 46px;
  object-fit: contain;
}
.nav {
  display: flex;
  align-items: center;
  gap: 4px;
}
.nav a {
  padding: 9px 14px;
  border-radius: 10px;
  font-size: 14.5px;
  font-weight: 600;
  color: var(--muted);
  transition:
    color 0.15s ease,
    background-color 0.15s ease;
}
.nav a:hover {
  color: var(--ink);
  background: var(--neutral);
}
.nav .nav-cta {
  display: none;
}
.bar-tools {
  display: flex;
  align-items: center;
  gap: 10px;
}
.theme-switch {
  display: inline-flex;
  padding: 4px;
  border: 1px solid var(--border);
  border-radius: 99px;
  background: var(--neutral);
}
.theme-switch span {
  display: grid;
  place-items: center;
  width: 32px;
  height: 32px;
  border-radius: 50%;
  color: var(--muted);
  transition:
    background-color 0.2s ease,
    color 0.2s ease,
    box-shadow 0.2s ease;
}
.theme-switch .ic {
  width: 18px;
  height: 18px;
}
:root:not([data-theme='dark']) .theme-switch .sun,
[data-theme='dark'] .theme-switch .moon {
  background: var(--raised);
  color: var(--accent-ink);
  box-shadow: 0 2px 6px rgb(var(--sh) / 0.18);
}
.menu-btn {
  display: none;
  width: 44px;
  height: 44px;
  border: 1px solid var(--border);
  border-radius: 12px;
  background: var(--panel);
  place-items: center;
}
.menu-btn i {
  display: block;
  width: 18px;
  height: 2px;
  border-radius: 2px;
  background: var(--ink);
  box-shadow:
    0 6px 0 var(--ink),
    0 -6px 0 var(--ink);
}
/* ---------- Hero ---------- */
.hero {
  position: relative;
  isolation: isolate;
  padding: clamp(28px, 4vw, 56px) 0 clamp(52px, 6vw, 88px);
  overflow: clip;
}
.hero::before {
  content: '';
  position: absolute;
  inset: -30% -10% 0;
  z-index: -2;
  background:
    radial-gradient(52% 48% at 76% 34%, var(--glow-1), transparent 72%),
    radial-gradient(38% 40% at 8% 4%, var(--glow-2), transparent 70%);
}
.hero-grid {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 0.92fr);
  align-items: center;
  gap: clamp(24px, 4vw, 64px);
}
.badge {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 7px 14px 7px 10px;
  border: 1px solid var(--border);
  border-radius: 99px;
  background: var(--glass);
  -webkit-backdrop-filter: blur(12px);
  backdrop-filter: blur(12px);
  font-size: 13px;
  font-weight: 650;
  white-space: nowrap;
  box-shadow: var(--card-shadow);
}
.badge b {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  padding: 3px 9px;
  border-radius: 99px;
  background: var(--soft);
  color: var(--accent-ink);
  font-size: 11.5px;
  letter-spacing: 0.06em;
  text-transform: uppercase;
}
.badge b::before {
  content: '';
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: currentColor;
  animation: pulse 2.4s ease-in-out infinite;
}
.hero h1 {
  margin: 24px 0 22px;
}
.hero .lead {
  font-size: clamp(1.1rem, 1.7vw, 1.32rem);
  max-width: 30em;
}
.hero-cta {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 34px;
}
/* Hero stage: two phones and floating notes. */
.stage {
  position: relative;
  display: grid;
  place-items: center;
  min-height: clamp(520px, 54vw, 700px);
  perspective: 1800px;
}
.stage .phone {
  font-size: clamp(7.4px, 0.86vw, 10.4px);
}
.stage .p-front {
  z-index: 2;
  transform: translate(17%, 0) rotateY(-14deg) rotateX(5deg) rotateZ(1.5deg);
  animation: floatA 9s ease-in-out infinite;
}
.stage .p-back {
  position: absolute;
  z-index: 1;
  transform: translate(-46%, 6%) rotateY(-14deg) rotateX(5deg) rotateZ(1.5deg) scale(0.9);
  filter: saturate(0.96);
  animation: floatB 11s ease-in-out infinite;
}
.stage-caption {
  margin-top: 6px;
  text-align: center;
}
/* ---------- Phone and the app kit (all sizes in em of the phone) ---------- */
.phone {
  position: relative;
  flex: none;
  width: 31em;
  padding: 1.1em;
  border-radius: 5.1em;
  font-size: 10px;
  background: linear-gradient(145deg, #7a8496 0%, #232832 20%, #0a0c10 52%, #2b323f 82%, #687286 100%);
  box-shadow:
    inset 0 0 0 0.12em rgb(255 255 255 / 0.3),
    inset 0 0 0 0.5em #0b0d11,
    0 5em 9em -3.5em rgb(var(--sh) / 0.6),
    0 2em 4em -1.6em rgb(var(--sh) / 0.4);
}
.screen {
  position: relative;
  display: flex;
  flex-direction: column;
  height: 62.6em;
  border-radius: 4.05em;
  overflow: hidden;
  isolation: isolate;
  background: var(--bg);
  color: var(--ink);
  line-height: 1.35;
  text-align: left;
}
.screen::after {
  content: '';
  position: absolute;
  top: 1.05em;
  left: 50%;
  z-index: 9;
  width: 8.6em;
  height: 2.5em;
  border-radius: 1.4em;
  background: #000;
  transform: translateX(-50%);
  pointer-events: none;
}
.a-status {
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex: none;
  padding: 1.45em 2.7em 0.5em;
}
.a-status b {
  font-size: 1.3em;
  font-weight: 680;
  letter-spacing: -0.01em;
}
.a-status svg {
  width: 5.6em;
  height: 1.25em;
}
.a-top {
  flex: none;
  padding: 0.7em 1.6em 0;
}
.a-brand {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1em;
}
.a-logo {
  width: auto;
  height: 3.5em;
}
.a-tools {
  display: flex;
  align-items: center;
  gap: 0.7em;
}
.a-switch {
  display: inline-flex;
  padding: 0.3em;
  border: 1px solid var(--hair);
  border-radius: 9em;
  background: var(--neutral);
}
.a-switch i {
  display: grid;
  place-items: center;
  width: 2.8em;
  height: 2.8em;
  border-radius: 50%;
  color: var(--muted);
}
.a-switch i.on {
  background: var(--raised);
  color: var(--accent-ink);
  box-shadow: 0 0.2em 0.5em rgb(var(--sh) / 0.2);
}
.a-switch .ic {
  width: 1.6em;
  height: 1.6em;
}
button.a-switch {
  cursor: pointer;
}
.a-round {
  display: grid;
  place-items: center;
  flex: none;
  width: 3.7em;
  height: 3.7em;
  border: 0;
  border-radius: 50%;
  background: var(--soft);
  color: var(--accent-ink);
}
.a-round .ic {
  width: 1.8em;
  height: 1.8em;
}
.a-back {
  display: flex;
  align-items: center;
  gap: 0.6em;
}
.a-back .a-round {
  width: 3.2em;
  height: 3.2em;
  background: transparent;
}
.a-h1 {
  margin: 0.3em 0 0;
  font-size: 2.7em;
  font-weight: 760;
  line-height: 1.1;
  letter-spacing: -0.035em;
}
.a-h2 {
  margin: 0;
  font-size: 1.9em;
  font-weight: 740;
  line-height: 1.15;
  letter-spacing: -0.03em;
}
.a-sub {
  margin: 0.15em 0 0;
  font-size: 1.2em;
  color: var(--muted);
}
.a-body {
  display: flex;
  flex: 1;
  flex-direction: column;
  gap: 1.2em;
  min-height: 0;
  padding: 1.2em 1.6em 1.6em;
  overflow: hidden;
}
.a-body > * {
  flex: none;
}
.a-day {
  display: flex;
  align-items: center;
  justify-content: space-between;
  text-align: center;
}
.a-day strong {
  display: block;
  font-size: 2em;
  font-weight: 750;
  line-height: 1.15;
  letter-spacing: -0.03em;
}
.a-day span span {
  font-size: 1.15em;
  color: var(--muted);
}
.a-row {
  display: flex;
  align-items: center;
  gap: 0.7em;
}
.a-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.5em;
  padding: 0.82em 1.1em;
  border: 1px solid transparent;
  border-radius: 0.95em;
  font-size: 1.32em;
  font-weight: 660;
  line-height: 1.25;
  text-align: center;
  white-space: nowrap;
}
.a-btn .ic {
  width: 1.2em;
  height: 1.2em;
}
.a-btn.primary {
  background: var(--accent);
  color: #fff;
}
.a-btn.ghost {
  border-color: var(--border);
  background: var(--panel);
  color: var(--ink);
}
.a-btn.quiet {
  background: transparent;
  color: var(--accent-ink);
}
.a-btn.grow {
  flex: 1;
}
.a-btn.block {
  width: 100%;
}
.a-btn.lg {
  padding: 1.05em 1.1em;
  font-size: 1.45em;
}
.a-chips {
  display: flex;
  gap: 0.6em;
  overflow: hidden;
}
.a-chip {
  flex: none;
  padding: 0.5em 1em;
  border: 1px solid var(--border);
  border-radius: 9em;
  background: var(--panel);
  color: var(--ink);
  font-size: 1.22em;
  font-weight: 650;
  white-space: nowrap;
}
.a-chip.on {
  border-color: var(--accent);
  background: var(--accent);
  color: #fff;
}
.a-label {
  display: flex;
  justify-content: space-between;
  font-size: 1.05em;
  font-weight: 720;
  letter-spacing: 0.09em;
  text-transform: uppercase;
  color: var(--muted);
}
.a-card {
  display: flex;
  flex: none;
  flex-direction: column;
  gap: 1em;
  padding: 1.5em;
  border: 1px solid var(--hair);
  border-radius: 1.9em;
  background: var(--panel);
  box-shadow: var(--card-shadow);
}
.a-card-top {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 0.7em 0.8em;
}
.a-date {
  display: block;
  font-size: 1.1em;
  color: var(--muted);
}
.a-time {
  display: flex;
  align-items: baseline;
  gap: 0.6em;
  white-space: nowrap;
}
.a-time b {
  font-size: 2.6em;
  font-weight: 760;
  line-height: 1;
  letter-spacing: -0.03em;
}
.a-time span {
  font-size: 1.1em;
  color: var(--muted);
}
.screen .pill {
  font-size: 1.12em;
}
.route {
  position: relative;
  display: grid;
  gap: 0.9em;
  padding-left: 2.3em;
}
.route::before {
  content: '';
  position: absolute;
  top: 1.3em;
  bottom: 1.3em;
  left: 0.48em;
  width: 0.16em;
  background: var(--border);
}
.route > div {
  position: relative;
}
.route > div::before {
  content: '';
  position: absolute;
  top: 0.25em;
  left: -2.3em;
  width: 1.1em;
  height: 1.1em;
  border: 0.28em solid var(--accent-ink);
  border-radius: 50%;
  background: var(--panel);
}
.route > div:last-child::before {
  top: auto;
  bottom: 0.3em;
  border: 0;
  border-radius: 0.25em;
  background: var(--ink);
}
.route small {
  display: block;
  font-size: 1.05em;
  color: var(--muted);
}
.route p {
  margin: 0;
  font-size: 1.36em;
  font-weight: 560;
  line-height: 1.3;
}
.a-meta {
  font-size: 1.1em;
  color: var(--muted);
}
.a-fee {
  font-size: 1.5em;
  font-weight: 740;
  letter-spacing: -0.02em;
}
.a-facts {
  display: grid;
}
.a-fact {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1em;
  padding: 0.7em 0;
  border-top: 1px solid var(--hair);
  font-size: 1.2em;
}
.a-fact:first-child {
  padding-top: 0;
  border-top: 0;
}
.a-fact:last-child {
  padding-bottom: 0;
}
.a-fact > span:first-child {
  color: var(--muted);
}
.a-fact b {
  font-weight: 620;
  text-align: right;
}
.a-fact .pill {
  font-size: 0.92em;
}
.a-steps {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 0.4em;
}
.a-steps i {
  height: 0.55em;
  border-radius: 9em;
  background: var(--neutral);
}
.a-steps i.on {
  background: var(--accent);
}
.a-quick {
  display: grid;
  flex: none;
  grid-template-columns: repeat(3, 1fr);
  gap: 0.7em;
}
.a-quick > * {
  display: grid;
  justify-items: center;
  gap: 0.4em;
  padding: 1em 0.3em;
  border: 1px solid var(--hair);
  border-radius: 1.4em;
  background: var(--panel);
  color: var(--ink);
  font-size: 1.1em;
  font-weight: 620;
  line-height: 1.2;
  text-align: center;
  box-shadow: var(--card-shadow);
}
.a-quick .ic {
  width: 2.2em;
  height: 2.2em;
}
.a-text {
  margin: 0;
  font-size: 1.25em;
  line-height: 1.45;
}
.a-choice {
  display: flex;
  align-items: center;
  gap: 0.9em;
  width: 100%;
  padding: 1em 1.2em;
  border: 1px solid var(--border);
  border-radius: 1.3em;
  background: var(--panel);
  color: var(--ink);
  text-align: left;
}
.a-choice b {
  display: block;
  font-size: 1.3em;
  font-weight: 650;
}
.a-choice span span {
  font-size: 1.08em;
  color: var(--muted);
}
.a-choice .tick {
  display: grid;
  place-items: center;
  flex: none;
  width: 2em;
  height: 2em;
  margin-left: auto;
  border: 0.15em solid var(--border);
  border-radius: 50%;
  color: transparent;
}
.a-choice .tick .ic {
  width: 1.2em;
  height: 1.2em;
}
.a-choice.on {
  border-color: var(--accent-ink);
  background: var(--soft);
}
.a-choice.on .tick {
  border-color: var(--accent);
  background: var(--accent);
  color: #fff;
}
.a-banner {
  display: flex;
  align-items: flex-start;
  gap: 0.7em;
  padding: 0.9em 1.1em;
  border-radius: 1.2em;
  background: var(--soft);
  color: var(--accent-ink);
  font-size: 1.15em;
  font-weight: 600;
  line-height: 1.4;
}
.a-banner .ic {
  width: 1.4em;
  height: 1.4em;
  margin-top: 0.05em;
}
.a-banner.good {
  background: var(--good-bg);
  color: var(--good);
}
.a-banner.warn {
  background: var(--warn-bg);
  color: var(--warn);
}
.a-banner.neutral {
  background: var(--neutral);
  color: var(--muted);
}
.a-tabs {
  display: flex;
  flex: none;
  justify-content: space-around;
  padding: 0.8em 0.6em 1.9em;
  border-top: 1px solid var(--hair);
  background: var(--panel);
}
.a-tab {
  display: grid;
  justify-items: center;
  gap: 0.25em;
  padding: 0;
  border: 0;
  background: none;
  color: var(--muted);
  font-size: 0.95em;
  font-weight: 620;
  white-space: nowrap;
}
.a-tab .ic {
  box-sizing: content-box;
  width: 2.5em;
  height: 2.5em;
  padding: 0.3em 0.85em;
  border-radius: 9em;
}
.a-tab.on {
  color: var(--accent-ink);
}
.a-tab.on .ic {
  background: var(--soft);
}
/* ---------- UK strip ---------- */
/* ---------- Capture ---------- */
.tile {
  display: grid;
  place-items: center;
  width: 52px;
  height: 52px;
  border-radius: 15px;
  color: #fff;
  background:
    radial-gradient(120% 110% at 18% 0%, rgb(192 213 255 / 0.75) 0%, transparent 55%),
    linear-gradient(142deg, #4f7fef 0%, #255ce5 38%, #1743b5 74%, #0d2a78 100%);
  box-shadow:
    inset 0 1px 0 rgb(255 255 255 / 0.5),
    inset 0 -8px 14px rgb(7 25 79 / 0.35),
    0 12px 22px -10px rgb(23 67 181 / 0.75);
}
.tile .ic {
  width: 26px;
  height: 26px;
  --i-fo: 0.58;
  filter: drop-shadow(0 2px 2px rgb(6 25 71 / 0.35));
}
.tile.sm {
  width: 44px;
  height: 44px;
  border-radius: 13px;
}
.tile.sm .ic {
  width: 22px;
  height: 22px;
}
/* ---------- Roles ---------- */
.roles {
  background: var(--bg-alt);
  border-block: 1px solid var(--hair);
}
.seg {
  display: inline-flex;
  padding: 5px;
  border: 1px solid var(--border);
  border-radius: 16px;
  background: var(--neutral);
}
.seg button {
  display: inline-flex;
  align-items: center;
  gap: 9px;
  min-height: 46px;
  padding: 0 22px;
  border: 0;
  border-radius: 12px;
  background: transparent;
  color: var(--muted);
  font-size: 15px;
  font-weight: 680;
  transition:
    background-color 0.2s ease,
    color 0.2s ease,
    box-shadow 0.2s ease;
}
.seg button .ic {
  width: 20px;
  height: 20px;
}
.seg button[aria-selected='true'],
.seg button[aria-pressed='true'] {
  background: var(--raised);
  color: var(--accent-ink);
  box-shadow: 0 4px 12px rgb(var(--sh) / 0.16);
}
/* ---------- Bento ---------- */
.card {
  position: relative;
  display: flex;
  flex-direction: column;
  gap: 14px;
  padding: clamp(22px, 2.4vw, 30px);
  border: 1px solid var(--hair);
  border-radius: 26px;
  background: var(--panel);
  box-shadow: var(--card-shadow);
  overflow: hidden;
  isolation: isolate;
  transition:
    transform 0.25s ease,
    box-shadow 0.25s ease,
    border-color 0.25s ease;
}
.card::before {
  content: '';
  position: absolute;
  inset: 0;
  z-index: -1;
  background: radial-gradient(460px circle at var(--mx, 80%) var(--my, 0%), var(--glow-1), transparent 62%);
  opacity: 0;
  transition: opacity 0.35s ease;
}
.card:hover {
  transform: translateY(-3px);
  border-color: var(--border);
  box-shadow: var(--lift-shadow);
}
.card:hover::before {
  opacity: 1;
}
.card p {
  color: var(--muted);
  font-size: 15px;
}
.card .viz {
  margin-top: auto;
  padding-top: 10px;
}
/* ---------- Demo ---------- */
.demo {
  position: relative;
  isolation: isolate;
  background: var(--bg-alt);
  border-block: 1px solid var(--hair);
  overflow: clip;
}
.demo::before {
  content: '';
  position: absolute;
  inset: 0;
  z-index: -1;
  background: radial-gradient(46% 60% at 74% 50%, var(--glow-1), transparent 72%);
}
.demo-grid {
  display: grid;
  grid-template-columns: minmax(0, 0.92fr) auto;
  align-items: center;
  gap: clamp(28px, 6vw, 96px);
}
.guide {
  display: grid;
  gap: 22px;
}
.guide-tools {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 12px;
}
.steps {
  display: grid;
  gap: 10px;
  counter-reset: step;
}
.steps li {
  display: grid;
  grid-template-columns: 34px 1fr;
  gap: 14px;
  align-items: center;
  padding: 14px 16px;
  border: 1px solid var(--hair);
  border-radius: 16px;
  background: var(--panel);
  font-size: 15px;
  font-weight: 600;
  counter-increment: step;
  transition:
    border-color 0.25s ease,
    background-color 0.25s ease;
}
.steps li::before {
  content: counter(step);
  display: grid;
  place-items: center;
  width: 34px;
  height: 34px;
  border-radius: 50%;
  background: var(--neutral);
  color: var(--muted);
  font-size: 14px;
  font-weight: 720;
}
.steps li.next {
  border-color: var(--accent-ink);
}
.steps li.next::before {
  background: var(--accent);
  color: #fff;
}
.steps li.done {
  background: var(--good-bg);
  border-color: transparent;
}
.steps li.done::before {
  content: '✓';
  background: var(--good);
  color: var(--good-bg);
}
.demo-phone {
  font-size: clamp(10.6px, 3.05vw, 12px);
  margin-inline: auto;
}
.demo-phone .a-body {
  overflow-y: auto;
  overscroll-behavior: contain;
  scrollbar-width: none;
}
.demo-phone .a-body::-webkit-scrollbar {
  display: none;
}
.demo-phone button.a-card {
  width: 100%;
  font: inherit;
  text-align: left;
  color: inherit;
  cursor: pointer;
  transition:
    transform 0.15s ease,
    border-color 0.15s ease;
}
.demo-phone button.a-card:hover {
  border-color: var(--accent-ink);
  transform: translateY(-1px);
}
.demo-phone button.a-btn,
.demo-phone button.a-chip,
.demo-phone button.a-choice,
.demo-phone button.a-round,
.demo-phone button.a-tab,
.demo-phone .a-quick button {
  font-family: inherit;
  cursor: pointer;
}
.demo-phone button.a-btn:active,
.demo-phone button.a-card:active {
  transform: scale(0.985);
}
.demo-phone .a-chips {
  flex: none;
  overflow-x: auto;
  scrollbar-width: none;
}
.demo-phone .a-chips::-webkit-scrollbar {
  display: none;
}
.demo-phone button.a-banner {
  align-items: center;
  width: 100%;
  border: 0;
  text-align: left;
}
.demo-phone button.a-banner span {
  flex: 1;
}
.demo-phone .a-brand > span {
  display: block;
}
:root:not([data-theme='dark']) .demo-phone .a-switch .sun,
[data-theme='dark'] .demo-phone .a-switch .moon {
  background: var(--raised);
  color: var(--accent-ink);
  box-shadow: 0 0.2em 0.5em rgb(var(--sh) / 0.2);
}
.demo-phone [data-focus]:focus {
  outline: none;
}
.demo-phone .a-link {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding-top: 0.9em;
  border-top: 1px solid var(--hair);
  color: var(--accent-ink);
  font-size: 1.25em;
  font-weight: 650;
}
.demo-phone .a-link .ic {
  width: 1.2em;
  height: 1.2em;
}
.a-empty {
  display: grid;
  justify-items: center;
  gap: 0.6em;
  padding: 3em 1em;
  color: var(--muted);
  font-size: 1.25em;
  text-align: center;
}
.a-empty .ic {
  width: 3.4em;
  height: 3.4em;
}
.a-source {
  padding: 1.1em 1.2em;
  border-radius: 1.3em 1.3em 1.3em 0.4em;
  background: var(--neutral);
  font-size: 1.22em;
  line-height: 1.45;
}
.toast {
  position: fixed;
  left: 50%;
  bottom: 22px;
  z-index: 90;
  max-width: calc(100% - 32px);
  width: max-content;
  padding: 12px 18px;
  border-radius: 14px;
  background: var(--ink);
  color: var(--bg);
  font-size: 14px;
  font-weight: 600;
  line-height: 1.4;
  box-shadow: var(--lift-shadow);
  transform: translate(-50%, 20px);
  opacity: 0;
  pointer-events: none;
  transition:
    opacity 0.25s ease,
    transform 0.25s ease;
}
.toast.show {
  opacity: 1;
  transform: translate(-50%, 0);
}
/* ---------- Real screens ---------- */
.shots {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: clamp(14px, 2.4vw, 32px);
  align-items: start;
}
.shot-frame {
  padding: 3.2%;
  border-radius: 13.5% / 6.6%;
  background: linear-gradient(145deg, #7a8496 0%, #232832 20%, #0a0c10 52%, #2b323f 82%, #687286 100%);
  box-shadow:
    inset 0 0 0 1px rgb(255 255 255 / 0.28),
    0 40px 70px -34px rgb(var(--sh) / 0.7);
  transition: transform 0.3s ease;
}
.shot:hover .shot-frame {
  transform: translateY(-6px);
}
.shot-frame img {
  width: 100%;
  height: auto;
  border-radius: 11% / 5.4%;
}
/* ---------- Switching ---------- */
/* ---------- Principles ---------- */
/* ---------- Progress ---------- */
/* ---------- FAQ ---------- */
.faq-grid {
  display: grid;
  grid-template-columns: minmax(0, 0.8fr) minmax(0, 1.2fr);
  gap: clamp(28px, 6vw, 96px);
  align-items: start;
}
.faq-grid .section-head {
  position: sticky;
  top: 110px;
  margin-bottom: 0;
}
.faq details {
  border-top: 1px solid var(--border);
}
.faq details:last-child {
  border-bottom: 1px solid var(--border);
}
.faq summary {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
  padding: 22px 2px;
  font-size: 1.1rem;
  font-weight: 660;
  letter-spacing: -0.015em;
  cursor: pointer;
  list-style: none;
}
.faq summary::-webkit-details-marker {
  display: none;
}
.faq summary::after {
  content: '';
  flex: none;
  width: 34px;
  height: 34px;
  border-radius: 50%;
  background:
    linear-gradient(var(--accent-ink), var(--accent-ink)) center / 12px 2px no-repeat,
    linear-gradient(var(--accent-ink), var(--accent-ink)) center / 2px 12px no-repeat,
    var(--soft);
  transition: transform 0.25s ease;
}
.faq details[open] summary::after {
  transform: rotate(45deg);
}
.faq details p {
  padding: 0 60px 24px 2px;
  color: var(--muted);
}
/* ---------- Contact ---------- */
.cta {
  position: relative;
  isolation: isolate;
  margin-block: 0 clamp(40px, 6vw, 72px);
  padding: clamp(36px, 6vw, 80px);
  border-radius: clamp(28px, 4vw, 44px);
  color: #fff;
  background:
    radial-gradient(70% 90% at 12% 0%, rgb(192 213 255 / 0.5) 0%, rgb(148 185 255 / 0.2) 30%, transparent 62%),
    radial-gradient(60% 80% at 100% 100%, rgb(61 120 255 / 0.5), transparent 60%),
    linear-gradient(140deg, #4f7fef 0%, #255ce5 34%, #1743b5 68%, #091f56 100%);
  box-shadow:
    inset 0 1px 0 rgb(255 255 255 / 0.4),
    0 50px 90px -50px rgb(23 67 181 / 0.9);
  overflow: hidden;
}
.cta::after {
  content: '';
  position: absolute;
  inset: 0;
  z-index: -1;
  background-image: radial-gradient(rgb(255 255 255 / 0.2) 1px, transparent 1.4px);
  background-size: 24px 24px;
  -webkit-mask-image: linear-gradient(120deg, transparent 30%, #000);
  mask-image: linear-gradient(120deg, transparent 30%, #000);
}
.cta-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.2fr) minmax(0, 0.8fr);
  align-items: center;
  gap: clamp(28px, 5vw, 72px);
}
.cta h2 {
  margin: 18px 0;
}
.cta p {
  color: rgb(255 255 255 / 0.88);
  font-size: 1.1rem;
  max-width: 30em;
}
.contact-card {
  padding: 28px;
  border: 1px solid rgb(255 255 255 / 0.24);
  border-radius: 26px;
  background: rgb(9 31 86 / 0.42);
  -webkit-backdrop-filter: blur(16px);
  backdrop-filter: blur(16px);
}
.contact-card img {
  width: 64px;
  height: 64px;
  border-radius: 16px;
  box-shadow: 0 14px 28px -10px rgb(5 22 62 / 0.9);
  margin-bottom: 18px;
}
.contact-card h3 {
  font-size: 1.5rem;
}
.contact-card .btn {
  width: 100%;
}
.contact-card a.mail {
  display: block;
  margin-top: 14px;
  text-align: center;
  font-size: 14.5px;
  font-weight: 620;
  text-decoration: underline;
  text-underline-offset: 4px;
}
.contact-card small {
  display: block;
  margin-top: 16px;
  font-size: 12.5px;
  color: rgb(255 255 255 / 0.8);
  text-align: center;
}
/* ---------- Footer ---------- */
.site-footer {
  padding: 8px 0 34px;
}
.foot-legal {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: 12px 32px;
  padding-top: 22px;
  color: var(--muted);
  font-size: 12.5px;
}
/* ---------- Legal page ---------- */
.legal {
  max-width: 760px;
  padding: clamp(36px, 6vw, 72px) 0 clamp(56px, 8vw, 96px);
}
.legal h1 {
  margin: 18px 0 22px;
  font-size: clamp(2.4rem, 6vw, 3.6rem);
  letter-spacing: -0.04em;
}
.legal h2 {
  margin: 40px 0 10px;
  font-size: 1.4rem;
  letter-spacing: -0.02em;
  line-height: 1.25;
}
.legal p {
  margin-bottom: 14px;
  color: var(--muted);
  font-size: 16.5px;
}
.legal a {
  color: var(--accent-ink);
  text-decoration: underline;
  text-underline-offset: 3px;
}
.legal .btn {
  color: #fff;
  text-decoration: none;
  margin-top: 12px;
}
/* ---------- Motion ---------- */
.js .reveal {
  opacity: 0;
  transform: translateY(26px);
  transition:
    opacity 0.7s cubic-bezier(0.2, 0.7, 0.2, 1),
    transform 0.7s cubic-bezier(0.2, 0.7, 0.2, 1);
  transition-delay: calc(var(--d, 0) * 80ms);
}
.js .reveal.in {
  opacity: 1;
  transform: none;
}
@keyframes floatA {
  0%,
  100% {
    translate: 0 0;
  }
  50% {
    translate: 0 -10px;
  }
}
@keyframes floatB {
  0%,
  100% {
    translate: 0 0;
  }
  50% {
    translate: 0 9px;
  }
}
@keyframes pulse {
  0%,
  100% {
    box-shadow: 0 0 0 0 color-mix(in srgb, currentColor 50%, transparent);
  }
  60% {
    box-shadow: 0 0 0 6px transparent;
  }
}
/* ---------- Responsive ---------- */
@media (max-width: 1080px) {
  .nav {
    display: none;
  }
  .menu-btn {
    display: grid;
  }
  .nav.open {
    position: absolute;
    top: 76px;
    right: 24px;
    left: 24px;
    display: grid;
    gap: 2px;
    padding: 10px;
    border: 1px solid var(--border);
    border-radius: 20px;
    background: var(--panel);
    box-shadow: var(--lift-shadow);
  }
  .nav.open a {
    padding: 14px 16px;
    font-size: 16px;
    color: var(--ink);
  }
  .nav.open .nav-cta {
    display: block;
    margin-top: 6px;
    background: var(--accent);
    color: #fff;
    text-align: center;
  }
}
@media (max-width: 900px) {
  .hero-grid,
  .demo-grid,
  .faq-grid,
  .cta-grid {
    grid-template-columns: minmax(0, 1fr);
  }
  .hero {
    padding-top: 28px;
  }
  .stage {
    min-height: 0;
    margin-top: 12px;
    padding-block: 24px 8px;
  }
  .stage .phone {
    font-size: clamp(6.6px, 1.72vw, 9.6px);
  }
  .stage .p-front {
    transform: translate(22%, 0) rotateY(-12deg) rotateX(4deg) rotateZ(1deg);
  }
  .stage .p-back {
    transform: translate(-40%, 5%) rotateY(-12deg) rotateX(4deg) rotateZ(1deg) scale(0.9);
  }
  .faq-grid .section-head {
    position: static;
  }
  .shots {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 28px 18px;
  }
  .guide {
    order: 2;
  }
}
@media (max-width: 640px) {
  .wrap {
    width: calc(100% - 36px);
  }
  .bar {
    height: 66px;
  }
  .brand img {
    width: 150px;
    height: 40px;
  }
  .nav.open {
    top: 66px;
    right: 18px;
    left: 18px;
  }
  .bar-tools .btn {
    display: none;
  }
  .hero-cta .btn {
    flex: 1 1 100%;
  }
  .badge {
    font-size: 12px;
    gap: 8px;
    padding-right: 12px;
  }
  .badge b {
    font-size: 10.5px;
  }
  /* Swipeable rows instead of long stacks. */
  .shots {
    display: flex;
    gap: 14px;
    margin-inline: -18px;
    padding: 4px 18px 18px;
    overflow-x: auto;
    scroll-snap-type: x mandatory;
    scroll-padding-inline: 18px;
    scrollbar-width: none;
    -webkit-overflow-scrolling: touch;
  }
  .shots::-webkit-scrollbar {
    display: none;
  }
  .shots > * {
    flex: 0 0 66%;
    scroll-snap-align: start;
  }
  .js .shots .reveal {
    opacity: 1;
    transform: none;
  }
  .seg {
    display: flex;
    width: 100%;
  }
  .seg button {
    flex: 1;
    justify-content: center;
    padding: 0 10px;
  }
  .faq details p {
    padding-right: 8px;
  }
  .cta {
    width: calc(100% - 20px);
  }
}
@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }
  *,
  *::before,
  *::after {
    animation: none !important;
    transition-duration: 0.01ms !important;
    transition-delay: 0s !important;
  }
  .js .reveal {
    opacity: 1;
    transform: none;
  }
}

/* ---------- How it works: four cards, each with a small looping picture ---------- */
.flow {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 18px;
  counter-reset: flow;
}
.flow .card {
  gap: 6px;
  padding: 16px 16px 24px;
  counter-increment: flow;
}
.flow h3 {
  display: flex;
  align-items: baseline;
  gap: 10px;
  margin-top: 16px;
  padding-inline: 8px;
}
.flow h3::before {
  content: '0' counter(flow);
  font-size: 12px;
  font-weight: 750;
  letter-spacing: 0.1em;
  color: var(--accent-ink);
}
.flow p {
  padding-inline: 8px;
  font-size: 14.5px;
}
.vz {
  position: relative;
  display: grid;
  height: 172px;
  border: 1px solid var(--hair);
  border-radius: 18px;
  background:
    radial-gradient(120% 90% at 85% 0%, var(--glow-2), transparent 62%),
    var(--bg);
  overflow: hidden;
}
.vz-bubble i,
.vz-lines i,
.vz-paper i,
.vz-paper b,
.vz-track i {
  display: block;
}
.vz-bubble {
  position: absolute;
  top: 22px;
  left: 16px;
  display: grid;
  gap: 8px;
  width: 66%;
  padding: 14px;
  border: 1px solid var(--hair);
  border-radius: 16px 16px 16px 5px;
  background: var(--panel);
  box-shadow: var(--card-shadow);
  opacity: 0;
  animation: vzBubble 8s ease-in-out infinite;
}
.vz-bubble i,
.vz-lines i,
.vz-paper i {
  height: 8px;
  border-radius: 8px;
  background: var(--border);
}
.vz-bubble i:nth-child(2) {
  width: 82%;
}
.vz-bubble i:nth-child(3) {
  width: 54%;
}
.vz-fields {
  position: absolute;
  inset: 0;
  display: grid;
  align-content: center;
  gap: 8px;
  padding: 0 16px;
}
.vz-fields span {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 9px 12px;
  border: 1px solid var(--hair);
  border-radius: 12px;
  background: var(--panel);
  animation: vzField 8s ease-in-out infinite backwards;
}
.vz-fields span:nth-child(2) {
  animation-delay: 0.3s;
}
.vz-fields span:nth-child(3) {
  animation-delay: 0.6s;
}
.vz-fields i {
  width: 72%;
  height: 8px;
  border-radius: 8px;
  background: var(--border);
}
.vz-fields span:nth-child(2) i {
  width: 56%;
}
.vz-fields span:nth-child(3) i {
  width: 40%;
}
.vz-fields .ic {
  width: 18px;
  height: 18px;
  margin-left: auto;
  color: var(--good);
}
.vz-offer {
  align-content: center;
  justify-items: center;
  gap: 16px;
}
.vz-person {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 9px 18px 9px 9px;
  border: 1px solid var(--hair);
  border-radius: 99px;
  background: var(--panel);
  box-shadow: var(--card-shadow);
}
.vz-avatar {
  display: grid;
  place-items: center;
  width: 38px;
  height: 38px;
  border-radius: 50%;
  background: var(--soft);
  color: var(--accent-ink);
}
.vz-avatar .ic,
.vz-car .ic {
  width: 20px;
  height: 20px;
}
.vz-lines {
  display: grid;
  gap: 6px;
  width: 84px;
}
.vz-lines i:last-child {
  width: 58%;
}
.vz-swap {
  position: relative;
  display: grid;
  place-items: center;
  width: 100%;
  height: 30px;
}
.vz-swap .pill {
  position: absolute;
  font-size: 13px;
}
.vz-swap .pill.info {
  opacity: 0;
  animation: vzSwapA 8s ease-in-out infinite;
}
.vz-swap .pill.good {
  animation: vzSwapB 8s ease-in-out infinite;
}
.vz-journey {
  align-content: center;
  gap: 24px;
  padding: 0 22px;
}
.vz-road {
  position: relative;
  height: 36px;
}
.vz-road::before {
  content: '';
  position: absolute;
  top: 50%;
  right: 0;
  left: 0;
  height: 3px;
  margin-top: -1.5px;
  border-radius: 3px;
  background: repeating-linear-gradient(90deg, var(--border) 0 10px, transparent 10px 18px);
}
.vz-car {
  position: absolute;
  top: 0;
  left: calc(100% - 36px);
  display: grid;
  place-items: center;
  width: 36px;
  height: 36px;
  border-radius: 50%;
  background: var(--accent);
  color: #fff;
  box-shadow: 0 8px 16px -6px rgb(37 92 229 / 0.8);
  animation: vzCar 8s cubic-bezier(0.45, 0, 0.25, 1) infinite;
}
.vz-track {
  position: relative;
  height: 8px;
  border-radius: 8px;
  background: var(--neutral);
  overflow: hidden;
}
.vz-track i {
  height: 100%;
  background: var(--accent);
  transform-origin: left;
  animation: vzFill 8s cubic-bezier(0.45, 0, 0.25, 1) infinite;
}
.vz-track::after {
  content: '';
  position: absolute;
  inset: 0;
  background: repeating-linear-gradient(90deg, transparent 0 calc(20% - 5px), var(--bg) calc(20% - 5px) 20%);
}
.vz-invoice {
  align-content: center;
  justify-items: center;
  gap: 12px;
}
.vz-paper {
  display: grid;
  gap: 8px;
  width: 64%;
  padding: 14px;
  border: 1px solid var(--hair);
  border-radius: 12px;
  background: var(--panel);
  box-shadow: var(--card-shadow);
}
.vz-paper i {
  transform-origin: left;
  animation: vzLine 8s ease-out infinite backwards;
}
.vz-paper i:nth-child(2) {
  width: 80%;
  animation-delay: 0.25s;
}
.vz-paper i:nth-child(3) {
  width: 62%;
  animation-delay: 0.5s;
}
.vz-paper b {
  justify-self: end;
  width: 44%;
  height: 10px;
  border-radius: 8px;
  background: var(--accent);
  transform-origin: right;
  animation: vzLine 8s ease-out 0.85s infinite backwards;
}
.vz-invoice .pill {
  font-size: 13px;
  animation: vzPop 8s ease-in-out infinite;
}
@keyframes vzBubble {
  0%,
  3% {
    opacity: 0;
    transform: translateY(12px) scale(0.96);
  }
  9%,
  36% {
    opacity: 1;
    transform: none;
  }
  44%,
  100% {
    opacity: 0;
    transform: translateY(-16px) scale(0.95);
  }
}
@keyframes vzField {
  0%,
  44% {
    opacity: 0;
    transform: translateX(-14px);
  }
  52%,
  90% {
    opacity: 1;
    transform: none;
  }
  97%,
  100% {
    opacity: 0;
    transform: none;
  }
}
@keyframes vzSwapA {
  0%,
  5% {
    opacity: 0;
    transform: translateY(8px);
  }
  11%,
  46% {
    opacity: 1;
    transform: none;
  }
  52%,
  100% {
    opacity: 0;
    transform: translateY(-8px);
  }
}
@keyframes vzSwapB {
  0%,
  52% {
    opacity: 0;
    transform: scale(0.8);
  }
  58% {
    opacity: 1;
    transform: scale(1.1);
  }
  63%,
  91% {
    opacity: 1;
    transform: none;
  }
  98%,
  100% {
    opacity: 0;
    transform: none;
  }
}
@keyframes vzCar {
  0%,
  6% {
    left: 0;
    opacity: 0;
  }
  10% {
    left: 0;
    opacity: 1;
  }
  82%,
  92% {
    left: calc(100% - 36px);
    opacity: 1;
  }
  100% {
    left: calc(100% - 36px);
    opacity: 0;
  }
}
@keyframes vzFill {
  0%,
  8% {
    transform: scaleX(0);
    opacity: 1;
  }
  82%,
  92% {
    transform: scaleX(1);
    opacity: 1;
  }
  100% {
    transform: scaleX(1);
    opacity: 0;
  }
}
@keyframes vzLine {
  0%,
  5% {
    transform: scaleX(0);
    opacity: 0;
  }
  20%,
  90% {
    transform: scaleX(1);
    opacity: 1;
  }
  97%,
  100% {
    transform: scaleX(1);
    opacity: 0;
  }
}
@keyframes vzPop {
  0%,
  36% {
    opacity: 0;
    transform: scale(0.7);
  }
  42% {
    opacity: 1;
    transform: scale(1.12);
  }
  47%,
  90% {
    opacity: 1;
    transform: none;
  }
  97%,
  100% {
    opacity: 0;
    transform: none;
  }
}

/* ---------- Who it's for ---------- */
.duo {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 18px;
  max-width: 960px;
  margin-inline: auto;
}
.duo .card {
  gap: 24px;
  padding: clamp(26px, 3.2vw, 40px);
}
.role-tag {
  display: flex;
  align-items: center;
  gap: 14px;
  font-size: clamp(1.5rem, 2.6vw, 2rem);
  letter-spacing: -0.03em;
}
.role-tag .ic {
  width: 44px;
  height: 44px;
}
.checks {
  display: grid;
  gap: 14px;
}
.checks li {
  display: grid;
  grid-template-columns: 22px 1fr;
  align-items: center;
  gap: 12px;
  font-size: 1.06rem;
  font-weight: 560;
}
.checks .ic {
  width: 22px;
  height: 22px;
  color: var(--accent-ink);
}

/* ---------- Screens, footer and gentle motion ---------- */
.shot figcaption {
  padding-top: 16px;
  font-size: 14px;
  font-weight: 650;
  color: var(--muted);
  text-align: center;
}
.shot:nth-child(odd) .shot-frame {
  animation: floatA 9s ease-in-out infinite;
}
.shot:nth-child(even) .shot-frame {
  animation: floatB 11s ease-in-out infinite;
}
.foot-row {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 16px 32px;
  padding-bottom: 24px;
  border-bottom: 1px solid var(--hair);
}
.foot-row .brand img {
  width: 170px;
  height: 46px;
}
.foot-links {
  display: flex;
  flex-wrap: wrap;
  gap: 8px 26px;
  font-size: 14.5px;
  font-weight: 600;
}
.foot-links a:hover {
  color: var(--accent-ink);
}
.hero::before {
  animation: drift 16s ease-in-out infinite alternate;
}
.grad {
  background-size: 220% 100%;
  animation: shimmer 7s ease-in-out infinite alternate;
}
.cta::before {
  content: '';
  position: absolute;
  inset: -40% -20%;
  z-index: -1;
  background: radial-gradient(38% 46% at 30% 40%, rgb(255 255 255 / 0.2), transparent 70%);
  animation: drift 14s ease-in-out infinite alternate;
}
@keyframes drift {
  from {
    transform: translate3d(-2%, -1%, 0) scale(1);
  }
  to {
    transform: translate3d(4%, 3%, 0) scale(1.08);
  }
}
@keyframes shimmer {
  from {
    background-position: 0% 50%;
  }
  to {
    background-position: 100% 50%;
  }
}
@media (max-width: 1080px) {
  .flow {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}
@media (max-width: 640px) {
  .duo {
    grid-template-columns: minmax(0, 1fr);
  }
  .flow {
    display: flex;
    gap: 14px;
    margin-inline: -18px;
    padding: 4px 18px 18px;
    overflow-x: auto;
    scroll-snap-type: x mandatory;
    scroll-padding-inline: 18px;
    scrollbar-width: none;
  }
  .flow::-webkit-scrollbar {
    display: none;
  }
  .flow > * {
    flex: 0 0 80%;
    scroll-snap-align: start;
  }
  .js .flow .reveal {
    opacity: 1;
    transform: none;
  }
  .foot-row {
    flex-direction: column;
    align-items: flex-start;
  }
}
@media (prefers-reduced-motion: reduce) {
  .vz-bubble,
  .vz-swap .pill.info {
    display: none;
  }
}
.contact-card h3 {
  margin-bottom: 18px;
}
.stage-caption {
  position: relative;
  margin-top: 26px;
}

/* ======================================================================
   Glass layer: frosted surfaces over soft moving colour, in the manner of
   current iOS. Website chrome only; the app screens drawn in the phones
   keep the app's own solid surfaces.
   ====================================================================== */
:root {
  --g-bg: rgb(255 255 255 / 0.56);
  --g-bg-strong: rgb(255 255 255 / 0.78);
  --g-edge: rgb(255 255 255 / 0.9);
  --g-hi: rgb(255 255 255 / 1);
  --g-lo: rgb(24 33 47 / 0.05);
  --g-sheen: rgb(255 255 255 / 0.55);
  --g-inset: rgb(255 255 255 / 0.5);
  --g-shadow: 0 1px 1px rgb(24 33 47 / 0.04), 0 22px 44px -22px rgb(24 33 47 / 0.3);
  --orb-a: rgb(37 92 229 / 0.3);
  --orb-b: rgb(110 165 255 / 0.4);
  --orb-c: rgb(23 67 181 / 0.2);
}
[data-theme='dark'] {
  --g-bg: rgb(255 255 255 / 0.065);
  --g-bg-strong: rgb(255 255 255 / 0.12);
  --g-edge: rgb(255 255 255 / 0.15);
  --g-hi: rgb(255 255 255 / 0.3);
  --g-lo: rgb(0 0 0 / 0.25);
  --g-sheen: rgb(255 255 255 / 0.075);
  --g-inset: rgb(0 0 0 / 0.24);
  --g-shadow: 0 1px 1px rgb(0 0 0 / 0.3), 0 26px 50px -24px rgb(0 0 0 / 0.75);
  --orb-a: rgb(47 102 238 / 0.46);
  --orb-b: rgb(120 160 255 / 0.2);
  --orb-c: rgb(30 80 210 / 0.42);
}

/* Colour behind the glass. */
body::before {
  content: '';
  position: fixed;
  inset: -25% -15%;
  z-index: -1;
  pointer-events: none;
  background:
    radial-gradient(34% 30% at 16% 18%, var(--orb-b), transparent 70%),
    radial-gradient(38% 34% at 84% 10%, var(--orb-a), transparent 70%),
    radial-gradient(40% 36% at 72% 80%, var(--orb-c), transparent 72%),
    radial-gradient(30% 28% at 6% 88%, var(--orb-a), transparent 70%);
  animation: orbs 28s ease-in-out infinite alternate;
}
@keyframes orbs {
  from {
    transform: translate3d(-3%, -2%, 0) rotate(0deg) scale(1);
  }
  to {
    transform: translate3d(4%, 3%, 0) rotate(7deg) scale(1.1);
  }
}
.roles,
.demo {
  background: color-mix(in srgb, var(--bg-alt) 34%, transparent);
}
.demo::before {
  opacity: 0.6;
}

/* Frosted surfaces. */
.card,
.badge,
.btn.ghost,
.seg,
.theme-switch,
.menu-btn,
.steps li,
.faq details,
.chip {
  background: var(--g-bg);
  border: 1px solid var(--g-edge);
  -webkit-backdrop-filter: blur(22px) saturate(1.7);
  backdrop-filter: blur(22px) saturate(1.7);
  box-shadow:
    inset 0 1px 0 var(--g-hi),
    inset 0 -1px 0 var(--g-lo),
    var(--g-shadow);
}
.card::after {
  content: '';
  position: absolute;
  inset: 0;
  z-index: -1;
  border-radius: inherit;
  pointer-events: none;
  background: linear-gradient(158deg, var(--g-sheen), transparent 40%);
}
.card:hover {
  border-color: var(--g-edge);
}

/* Floating header pill. */
.site-header,
.site-header.scrolled {
  padding-top: 12px;
  background: transparent;
  border-color: transparent;
  -webkit-backdrop-filter: none;
  backdrop-filter: none;
}
.bar {
  position: relative;
  isolation: isolate;
  height: 64px;
  padding: 0 10px 0 18px;
}
.bar::before {
  content: '';
  position: absolute;
  inset: 0;
  z-index: -1;
  border: 1px solid var(--g-edge);
  border-radius: 22px;
  background: var(--g-bg-strong);
  -webkit-backdrop-filter: blur(26px) saturate(1.8);
  backdrop-filter: blur(26px) saturate(1.8);
  box-shadow:
    inset 0 1px 0 var(--g-hi),
    inset 0 -1px 0 var(--g-lo),
    var(--g-shadow);
}
.brand img {
  height: 42px;
}
.theme-switch {
  box-shadow:
    inset 0 1px 0 var(--g-hi),
    inset 0 -1px 0 var(--g-lo);
}
.nav a:hover {
  background: var(--g-bg);
}

/* Glossy primary button. */
.btn {
  position: relative;
}
.btn.primary {
  border-color: rgb(255 255 255 / 0.3);
}
.btn.primary::before {
  content: '';
  position: absolute;
  inset: 0;
  border-radius: inherit;
  pointer-events: none;
  background: linear-gradient(180deg, rgb(255 255 255 / 0.3), rgb(255 255 255 / 0) 55%);
}

/* Reflections on the phones and screenshots. */
.screen::before {
  content: '';
  position: absolute;
  inset: 0;
  z-index: 8;
  pointer-events: none;
  background: linear-gradient(118deg, rgb(255 255 255 / 0.2) 0%, rgb(255 255 255 / 0.05) 22%, transparent 42%);
}
.shot-frame {
  position: relative;
}
.shot-frame::after {
  content: '';
  position: absolute;
  inset: 0;
  border-radius: inherit;
  pointer-events: none;
  background: linear-gradient(120deg, rgb(255 255 255 / 0.24), transparent 32%);
}

/* Step pictures sit in an inset glass well. */
.vz {
  background:
    radial-gradient(120% 90% at 85% 0%, var(--glow-2), transparent 62%),
    var(--g-inset);
  border-color: var(--g-lo);
}

/* Questions as glass rows. */
.faq details {
  margin-bottom: 10px;
  border-radius: 20px;
}
.faq details:last-child {
  border-bottom: 1px solid var(--g-edge);
}
.faq summary {
  padding: 18px 20px;
}
.faq details p {
  padding: 0 60px 20px 20px;
}
.steps li {
  border-radius: 18px;
}

/* Contact card keeps its white text on the blue panel. */
.contact-card {
  border-color: rgb(255 255 255 / 0.32);
  background: linear-gradient(160deg, rgb(255 255 255 / 0.2), rgb(255 255 255 / 0.06));
  box-shadow:
    inset 0 1px 0 rgb(255 255 255 / 0.45),
    0 24px 50px -24px rgb(5 22 62 / 0.7);
}

/* Floating glass chips beside the phones. */
.chip {
  position: absolute;
  z-index: 3;
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 8px 18px 8px 8px;
  border-radius: 99px;
  font-size: 13.5px;
  font-weight: 680;
  white-space: nowrap;
}
.chip-ic {
  display: grid;
  place-items: center;
  width: 34px;
  height: 34px;
  border-radius: 50%;
}
.chip-ic .ic {
  width: 18px;
  height: 18px;
}
.chip-ic.good {
  background: var(--good-bg);
  color: var(--good);
}
.chip-ic.warn {
  background: var(--warn-bg);
  color: var(--warn);
}
.chip-ic.info {
  background: var(--soft);
  color: var(--accent-ink);
}
.chip.c1 {
  top: 6%;
  left: -2%;
  animation: floatB 8s ease-in-out infinite;
}
.chip.c2 {
  top: 58%;
  right: -3%;
  animation: floatA 10s ease-in-out infinite;
}
.chip.c3 {
  bottom: 8%;
  left: 2%;
  animation: floatA 12s ease-in-out infinite;
}

@media (max-width: 1080px) {
  .nav.open {
    top: calc(100% + 10px);
    right: 0;
    left: 0;
    background: var(--g-bg-strong);
    border-color: var(--g-edge);
    -webkit-backdrop-filter: blur(26px) saturate(1.8);
    backdrop-filter: blur(26px) saturate(1.8);
  }
}
@media (max-width: 640px) {
  .site-header,
  .site-header.scrolled {
    padding-top: 8px;
  }
  .bar {
    height: 58px;
  }
  .bar::before {
    border-radius: 18px;
  }
  .brand img {
    height: 36px;
  }
  .chip {
    padding: 6px 14px 6px 6px;
    font-size: 12.5px;
  }
  .chip-ic {
    width: 28px;
    height: 28px;
  }
  .chip.c1 {
    top: 2%;
    left: 0;
  }
  .chip.c2,
  .chip.c3 {
    display: none;
  }
  .faq details p {
    padding-right: 20px;
  }
}
@supports not ((backdrop-filter: blur(1px)) or (-webkit-backdrop-filter: blur(1px))) {
  :root {
    --g-bg: rgb(255 255 255 / 0.94);
    --g-bg-strong: rgb(255 255 255 / 0.97);
  }
  [data-theme='dark'] {
    --g-bg: rgb(29 35 47 / 0.96);
    --g-bg-strong: rgb(29 35 47 / 0.98);
  }
}
@media (prefers-reduced-transparency: reduce) {
  :root,
  [data-theme='dark'] {
    --g-bg: var(--panel);
    --g-bg-strong: var(--panel);
  }
  .card,
  .badge,
  .btn.ghost,
  .seg,
  .theme-switch,
  .menu-btn,
  .steps li,
  .faq details,
  .chip,
  .bar::before,
  .nav.open {
    -webkit-backdrop-filter: none;
    backdrop-filter: none;
  }
  body::before {
    display: none;
  }
}
