@font-face{font-family:'Geist Variable';font-style:normal;font-weight:100 900;font-display:swap;src:url(/assets/geist-latin.19f9c92546.woff2) format('woff2')}

:root{--primary:#1E3A8A;--primary-foreground:#FFFFFF;--ring:#1E3A8A;--brand-accent:#EA580C}:root[data-theme=dark]{--primary:#93C5FD;--primary-foreground:#0B1B4D;--ring:#93C5FD;--brand-accent:#FB923C}

/*
 * Neutral design tokens, copied from docs/design-system.md so the website matches the app.
 * The brand colours (--primary, --primary-foreground, --ring, --brand-accent) are NOT here:
 * the build adds them from brand/brand.json. Never write a colour anywhere else.
 */
:root {
  color-scheme: light;
  --background: #ffffff;
  --foreground: #0a1330;
  --foreground-soft: #3d4766;
  --card: #ffffff;
  --muted: #f6f8fc;
  --muted-strong: #eef1f6;
  --muted-foreground: #5a6482;
  --border: #e5e8f0;
  --accent-soft: #eef2fc;
  --brand-text: #c2410c;
  --highlight: #fef3c7;
  --highlight-foreground: #92400e;
  --success: #15803d;
  --success-soft: #dcfce7;
  --info-soft: #dbeafe;
  --info-soft-foreground: #1d4ed8;
  --danger-soft: #fee2e2;
  --danger-soft-foreground: #b91c1c;
  --on-dark: #ffffff;
  --on-dark-soft: #dbe3f8;
  --dark-band: #0e1c4f;

  --shadow-card: 0 1px 2px rgb(10 19 48 / 0.05);
  --shadow-raised: 0 1px 2px rgb(10 19 48 / 0.05), 0 22px 44px -24px rgb(10 19 48 / 0.35);
  --shadow-window:
    0 2px 4px rgb(10 19 48 / 0.04), 0 24px 48px -16px rgb(10 19 48 / 0.18),
    0 70px 120px -40px rgb(30 58 138 / 0.38);
  --shadow-button:
    inset 0 1px 0 rgb(255 255 255 / 0.18), 0 1px 2px rgb(10 19 48 / 0.2),
    0 6px 16px -6px rgb(30 58 138 / 0.55);
  --glow-blue: rgb(59 91 219 / 0.28);
  --glow-orange: rgb(234 88 12 / 0.2);
  --glass: rgb(255 255 255 / 0.82);

  --radius: 0.75rem;
  --radius-lg: 1.25rem;
  --radius-xl: 1.75rem;
  --radius-control: 0.625rem;
  --radius-pill: 999px;

  --text-xs: 0.75rem;
  --text-sm: 0.875rem;
  --text-base: 1rem;
  --text-lg: 1.125rem;
  --text-xl: 1.25rem;
  --text-2xl: 1.5rem;
  --text-3xl: 2rem;
  --text-4xl: 2.75rem;
  --text-hero: clamp(2.5rem, 6vw, 4.5rem);

  /* Spacing on a 4px base. */
  --space-1: 0.25rem;
  --space-2: 0.5rem;
  --space-3: 0.75rem;
  --space-4: 1rem;
  --space-6: 1.5rem;
  --space-8: 2rem;
  --space-12: 3rem;
  --space-16: 4rem;
  --space-24: 6rem;

  /* The smallest height of anything you tap. */
  --target: 2.75rem;

  --width: 75rem;
  --width-narrow: 48rem;

  --ease: cubic-bezier(0.2, 0.7, 0.2, 1);
  --ease-spring: cubic-bezier(0.2, 0.8, 0.3, 1.3);
}

/* Dark, only when the visitor picks it with the switch in the header. */
:root[data-theme='dark'] {
  color-scheme: dark;
  --background: #0b1220;
  --foreground: #e2e8f0;
  --foreground-soft: #cbd5e1;
  --card: #111a2e;
  --muted: #0e1628;
  --muted-strong: #172036;
  --muted-foreground: #94a3b8;
  --border: #243049;
  --accent-soft: #1b2740;
  --brand-text: #fdba74;
  --highlight: #3a2a07;
  --highlight-foreground: #fcd34d;
  --success: #4ade80;
  --success-soft: #052e16;
  --info-soft: #172554;
  --info-soft-foreground: #93c5fd;
  --danger-soft: #450a0a;
  --danger-soft-foreground: #fca5a5;
  --on-dark: #ffffff;
  --on-dark-soft: #dbe3f8;
  --dark-band: #0e1c4f;
  --glass: rgb(11 18 32 / 0.82);
  --shadow-window: 0 2px 4px rgb(0 0 0 / 0.3), 0 40px 80px -30px rgb(0 0 0 / 0.7);
}

/* Phone first. Colours, sizes and spacing come from tokens.css and the brand variables. */

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

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

body {
  margin: 0;
  background: var(--background);
  color: var(--foreground);
  font-family: 'Geist Variable', ui-sans-serif, system-ui, sans-serif;
  font-size: var(--text-base);
  line-height: 1.6;
  overflow-wrap: break-word;
  -webkit-font-smoothing: antialiased;
}

img {
  max-width: 100%;
}

h1,
h2,
h3 {
  margin: 0 0 var(--space-3);
  font-weight: 650;
  line-height: 1.12;
  letter-spacing: -0.03em;
  text-wrap: balance;
}

h1 {
  font-size: var(--text-4xl);
}
h2 {
  font-size: clamp(1.875rem, 4vw, 3rem);
}
h3 {
  font-size: var(--text-lg);
  letter-spacing: -0.01em;
}

p {
  margin: 0 0 var(--space-4);
}

ul {
  margin: 0;
  padding: 0;
}

a {
  color: var(--primary);
  text-underline-offset: 0.15em;
}

a:focus-visible,
button:focus-visible,
summary:focus-visible,
main:focus-visible {
  outline: 2px solid var(--ring);
  outline-offset: 3px;
}

.skip {
  position: absolute;
  left: var(--space-4);
  top: -4rem;
  z-index: 50;
  padding: var(--space-2) var(--space-4);
  border-radius: var(--radius-control);
  background: var(--primary);
  color: var(--primary-foreground);
}
.skip:focus {
  top: var(--space-4);
}

.wrap {
  width: 100%;
  max-width: var(--width);
  margin: 0 auto;
  padding: 0 var(--space-4);
}
.narrow {
  max-width: var(--width-narrow);
}
.centre {
  text-align: center;
}
.centre .section-lead,
.centre h2 {
  margin-left: auto;
  margin-right: auto;
}
.small {
  font-size: var(--text-sm);
  color: var(--muted-foreground);
}

/* Buttons */
.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: var(--space-2);
  min-height: var(--target);
  padding: 0 var(--space-6);
  border: 1px solid transparent;
  border-radius: var(--radius-control);
  background: var(--primary);
  color: var(--primary-foreground);
  font: inherit;
  font-weight: 600;
  text-decoration: none;
  box-shadow: var(--shadow-button);
  transition:
    transform 0.2s var(--ease),
    box-shadow 0.2s var(--ease),
    background-color 0.2s;
}
.button:hover {
  transform: translateY(-1px);
  background: color-mix(in srgb, var(--primary), var(--foreground) 12%);
}
.button:active {
  transform: scale(0.98);
}
.button .arrow {
  transition: transform 0.2s var(--ease);
}
.button:hover .arrow {
  transform: translateX(3px);
}
.button-outline {
  background: var(--card);
  color: var(--foreground);
  border-color: var(--border);
  box-shadow: var(--shadow-card);
}
.button-outline:hover {
  background: var(--muted);
}
.button-small {
  min-height: 2.5rem;
  padding: 0 var(--space-4);
}
.button-large {
  min-height: 3.375rem;
  padding: 0 var(--space-8);
  font-size: var(--text-lg);
}
.button-light {
  background: var(--on-dark);
  color: var(--dark-band);
  box-shadow: none;
}
.button-light:hover {
  background: var(--on-dark-soft);
}
.text-link {
  display: inline-flex;
  align-items: center;
  gap: var(--space-1);
  min-height: var(--target);
  font-weight: 600;
  text-decoration: none;
}
.text-link:hover {
  text-decoration: underline;
}
.actions {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: var(--space-3) var(--space-6);
  margin: var(--space-6) 0 0;
}
.centre .actions {
  justify-content: center;
}

/* Header */
.site-header {
  position: sticky;
  top: 0;
  z-index: 30;
  background: var(--glass);
  backdrop-filter: saturate(1.4) blur(14px);
  -webkit-backdrop-filter: saturate(1.4) blur(14px);
  border-bottom: 1px solid transparent;
  transition:
    border-color 0.3s,
    box-shadow 0.3s;
}
.site-header.is-scrolled {
  border-bottom-color: var(--border);
  box-shadow: var(--shadow-raised);
}
/* Phone: logo and actions on top, the links underneath. Wider screens: one row. */
.site-header .wrap {
  display: grid;
  grid-template-columns: 1fr auto;
  grid-template-areas:
    'logo actions'
    'nav nav';
  align-items: center;
  gap: 0 var(--space-3);
  min-height: 4.25rem;
  padding-top: var(--space-1);
}
.site-header .logo {
  grid-area: logo;
}
.site-header nav {
  grid-area: nav;
}
.header-actions {
  grid-area: actions;
  display: flex;
  align-items: center;
  gap: var(--space-2);
}
.logo {
  display: inline-flex;
  min-height: var(--target);
  align-items: center;
}
.logo img {
  display: block;
  height: 2.25rem;
  width: auto;
}
.logo .logo-dark,
:root[data-theme='dark'] .logo .logo-light {
  display: none;
}
:root[data-theme='dark'] .logo .logo-dark {
  display: block;
}
.theme-toggle {
  display: inline-grid;
  place-items: center;
  width: var(--target);
  height: var(--target);
  padding: 0;
  border: 1px solid var(--border);
  border-radius: var(--radius-pill);
  background: var(--card);
  color: var(--foreground-soft);
  cursor: pointer;
  transition:
    color 0.2s,
    border-color 0.2s,
    transform 0.2s var(--ease);
}
.theme-toggle[hidden] {
  display: none;
}
.theme-toggle:hover {
  color: var(--foreground);
  border-color: var(--muted-foreground);
}
.theme-toggle:active {
  transform: scale(0.94);
}
.theme-toggle .icon-sun,
:root[data-theme='dark'] .theme-toggle .icon-moon {
  display: none;
}
:root[data-theme='dark'] .theme-toggle .icon-sun {
  display: block;
}
.site-header nav ul {
  margin: 0;
  padding: 0;
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 0 var(--space-4);
  list-style: none;
}
.site-header nav a:not(.button) {
  position: relative;
  display: inline-flex;
  align-items: center;
  min-height: var(--target);
  color: var(--foreground-soft);
  font-size: var(--text-sm);
  font-weight: 500;
  text-decoration: none;
}
.site-header nav a:not(.button)::after {
  content: '';
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0.5rem;
  height: 2px;
  border-radius: 2px;
  background: var(--brand-accent);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 0.25s var(--ease);
}
.site-header nav a:hover::after,
.site-header nav a[aria-current='page']::after {
  transform: scaleX(1);
}
.site-header nav a[aria-current='page'],
.site-header nav a:hover {
  color: var(--foreground);
}
.nav-extra {
  display: none;
}

/* Sections */
section {
  padding: var(--space-16) 0;
}
.shaded {
  background: var(--muted);
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
}
.eyebrow,
.kicker {
  margin: 0 0 var(--space-3);
  color: var(--brand-text);
  font-size: var(--text-sm);
  font-weight: 600;
}
.section-lead,
.lead {
  max-width: 38rem;
  color: var(--foreground-soft);
  font-size: var(--text-lg);
  text-wrap: pretty;
}
.page-head {
  padding: var(--space-16) 0 var(--space-8);
  background:
    radial-gradient(60% 80% at 85% 0%, var(--accent-soft), transparent 70%), var(--background);
  border-bottom: 1px solid var(--border);
}
.page-head h1 {
  font-size: clamp(2.25rem, 5vw, 3.5rem);
}

/* Hero */
.hero {
  position: relative;
  overflow: hidden;
  padding: var(--space-16) 0 0;
  text-align: center;
}
.hero::before {
  content: '';
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(var(--border) 1px, transparent 1px),
    linear-gradient(90deg, var(--border) 1px, transparent 1px);
  background-size: 56px 56px;
  -webkit-mask-image: radial-gradient(ellipse 70% 50% at 50% 0%, black 25%, transparent 75%);
  mask-image: radial-gradient(ellipse 70% 50% at 50% 0%, black 25%, transparent 75%);
  opacity: 0.7;
}
.hero .wrap {
  position: relative;
}
.pill {
  display: inline-flex;
  align-items: center;
  gap: var(--space-2);
  margin: 0 0 var(--space-6);
  padding: var(--space-1) var(--space-4) var(--space-1) var(--space-3);
  border: 1px solid var(--border);
  border-radius: var(--radius-pill);
  background: var(--card);
  color: var(--foreground-soft);
  font-size: var(--text-sm);
  font-weight: 500;
  box-shadow: var(--shadow-card);
}
.pill::before {
  content: '';
  width: 0.5rem;
  height: 0.5rem;
  border-radius: 50%;
  background: var(--brand-accent);
  box-shadow: 0 0 0 4px color-mix(in srgb, var(--brand-accent) 18%, transparent);
  animation: breathe 2.4s ease-in-out infinite;
}
.hero h1 {
  max-width: 17ch;
  margin: 0 auto var(--space-6);
  font-size: var(--text-hero);
  line-height: 1.04;
  letter-spacing: -0.045em;
  animation: lift 0.9s var(--ease) both;
}
.mark {
  color: var(--primary);
  background-image: linear-gradient(
    color-mix(in srgb, var(--brand-accent) 24%, transparent),
    color-mix(in srgb, var(--brand-accent) 24%, transparent)
  );
  background-repeat: no-repeat;
  background-position: 0 90%;
  background-size: 100% 0.3em;
  animation: mark 0.9s 0.7s var(--ease) both;
}
.hero .lead {
  margin: 0 auto;
  font-size: var(--text-xl);
}
.hero .actions {
  justify-content: center;
  margin-top: var(--space-8);
}
.facts {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: var(--space-2) var(--space-6);
  margin-top: var(--space-6);
  color: var(--muted-foreground);
  font-size: var(--text-sm);
  list-style: none;
}
.facts li::before {
  content: '✓';
  margin-right: var(--space-2);
  color: var(--success);
  font-weight: 700;
}
.rise {
  animation: rise 0.8s var(--ease) both;
}
.d1 {
  animation-delay: 0.15s;
}
.d2 {
  animation-delay: 0.3s;
}
.d3 {
  animation-delay: 0.45s;
}

/* The product picture */
.stage {
  position: relative;
  margin-top: var(--space-12);
  padding-bottom: var(--space-16);
  perspective: 1800px;
}
.glow {
  position: absolute;
  left: 7%;
  right: 7%;
  top: 2rem;
  height: 75%;
  background:
    radial-gradient(closest-side at 40% 50%, var(--glow-blue), transparent),
    radial-gradient(closest-side at 72% 60%, var(--glow-orange), transparent);
  filter: blur(48px);
  animation: drift 9s ease-in-out infinite alternate;
}
.window {
  position: relative;
  margin: 0;
  overflow: hidden;
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  background: var(--card);
  box-shadow: var(--shadow-window);
  text-align: left;
  transform-origin: 50% 0;
  animation: tilt 1.3s 0.3s var(--ease) both;
}
.chrome {
  display: flex;
  align-items: center;
  gap: 0.4rem;
  height: 2.5rem;
  padding: 0 var(--space-4);
  border-bottom: 1px solid var(--border);
  background: var(--muted);
}
.chrome span {
  width: 0.625rem;
  height: 0.625rem;
  border-radius: 50%;
  background: var(--border);
}
.app {
  display: grid;
  grid-template-columns: 1fr;
  font-size: var(--text-sm);
}
.app-side {
  display: none;
}
.app-main {
  display: flex;
  flex-direction: column;
  gap: var(--space-4);
  padding: var(--space-6);
}
.app-title {
  margin: 0;
  font-size: var(--text-xl);
  font-weight: 650;
  letter-spacing: -0.02em;
}
.app-sub {
  margin: 0;
  color: var(--muted-foreground);
}
.kpis {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: var(--space-3);
  list-style: none;
}
.kpis li {
  padding: var(--space-3) var(--space-4);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  box-shadow: var(--shadow-card);
}
.kpis span {
  display: block;
  color: var(--muted-foreground);
  font-size: var(--text-xs);
}
.kpis strong {
  display: block;
  font-size: var(--text-2xl);
  letter-spacing: -0.03em;
  font-variant-numeric: tabular-nums;
}
.rows {
  list-style: none;
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: var(--space-2) var(--space-4);
}
.rows li {
  display: flex;
  align-items: center;
  gap: var(--space-3);
  padding: var(--space-2) 0;
  border-top: 1px solid var(--border);
  animation: rowin 0.6s var(--ease) both;
}
.rows li:first-child {
  border-top: 0;
}
.rows li:nth-child(2) {
  animation-delay: 1.2s;
}
.rows li:nth-child(1) {
  animation-delay: 1.1s;
}
.rows li:nth-child(3) {
  animation-delay: 1.3s;
}
.rows li:nth-child(4) {
  animation-delay: 1.4s;
}
.rows .time {
  width: 3rem;
  color: var(--muted-foreground);
  font-weight: 500;
  font-variant-numeric: tabular-nums;
}
.rows .who {
  flex: 1;
  min-width: 0;
}
.rows .who strong {
  display: block;
}
.rows .who small {
  color: var(--muted-foreground);
}
.chip {
  display: inline-flex;
  align-items: center;
  height: 1.5rem;
  padding: 0 var(--space-3);
  border-radius: var(--radius-pill);
  background: var(--info-soft);
  color: var(--info-soft-foreground);
  font-size: var(--text-xs);
  font-weight: 600;
  white-space: nowrap;
}
.chip-ok {
  background: var(--success-soft);
  color: var(--success);
}
.chip-warn {
  background: var(--highlight);
  color: var(--highlight-foreground);
}
.chip-bad {
  background: var(--danger-soft);
  color: var(--danger-soft-foreground);
}
.swap {
  display: inline-grid;
}
.swap > span {
  grid-area: 1 / 1;
  justify-self: end;
}
.swap .s-a {
  animation: swap-a 10s 2s infinite;
}
.swap .s-b {
  opacity: 0;
  animation: swap-b 10s 2s infinite;
}
.float {
  display: none;
}

/* Why switch */
.two {
  display: grid;
  gap: var(--space-12);
  align-items: center;
}
.ticks {
  display: flex;
  flex-direction: column;
  gap: var(--space-3);
  margin-top: var(--space-6);
  list-style: none;
}
.ticks li {
  position: relative;
  padding-left: var(--space-8);
  color: var(--foreground-soft);
}
.ticks li::before {
  content: '✓';
  position: absolute;
  left: 0;
  top: 0;
  display: grid;
  place-items: center;
  width: 1.375rem;
  height: 1.375rem;
  border-radius: 50%;
  background: var(--success-soft);
  color: var(--success);
  font-size: var(--text-xs);
  font-weight: 700;
}
.gather {
  overflow: clip;
  padding: var(--space-6);
  border: 1px solid var(--border);
  border-radius: var(--radius-xl);
  background: var(--card);
  box-shadow: var(--shadow-raised);
}
.gather-head {
  display: flex;
  align-items: center;
  gap: var(--space-3);
  padding-bottom: var(--space-4);
  border-bottom: 1px solid var(--border);
}
.avatar {
  display: grid;
  place-items: center;
  flex: none;
  width: 2.75rem;
  height: 2.75rem;
  border-radius: 50%;
  background: var(--accent-soft);
  color: var(--primary);
  font-weight: 700;
}
.gather-head strong {
  display: block;
}
.gather-head small {
  color: var(--muted-foreground);
}
.bits {
  display: flex;
  flex-direction: column;
  gap: var(--space-2);
  margin-top: var(--space-4);
  list-style: none;
}
.bit {
  display: grid;
  grid-template-columns: 1fr auto;
  align-items: center;
  min-height: 3.25rem;
  padding: 0 var(--space-4);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  background: var(--card);
  font-weight: 500;
}
.bit-label {
  display: grid;
}
.bit-label > span {
  grid-area: 1 / 1;
}
.bit .old {
  opacity: 0;
  color: var(--brand-text);
  text-decoration: line-through;
}
.bit .ok {
  color: var(--success);
  font-weight: 700;
}

/* Feature tabs */
.feat {
  display: grid;
  gap: var(--space-8);
  margin-top: var(--space-12);
  text-align: left;
}
.tablist {
  display: flex;
  flex-direction: column;
  gap: var(--space-2);
  list-style: none;
}
.tab {
  position: relative;
  display: flex;
  flex-direction: column;
  width: 100%;
  padding: var(--space-4) var(--space-6);
  overflow: hidden;
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  background: var(--card);
  color: inherit;
  font: inherit;
  text-align: left;
  transition:
    background-color 0.25s,
    box-shadow 0.25s,
    border-color 0.25s;
}
.tab strong {
  font-size: var(--text-lg);
  letter-spacing: -0.01em;
}
.tab span {
  color: var(--foreground-soft);
}
.js .tab {
  cursor: pointer;
  border-color: transparent;
  background: transparent;
}
.js .tab:hover {
  background: var(--muted);
}
.js .tab span {
  max-height: 0;
  opacity: 0;
  transition:
    max-height 0.4s var(--ease),
    opacity 0.3s;
}
.js .tab[aria-selected='true'] {
  border-color: var(--border);
  background: var(--card);
  box-shadow: var(--shadow-raised);
}
.js .tab[aria-selected='true'] span {
  max-height: 6rem;
  opacity: 1;
}
.tab .bar {
  display: none;
}
.js .tab[aria-selected='true'] .bar {
  position: absolute;
  left: var(--space-6);
  right: var(--space-6);
  bottom: 0;
  display: block;
  height: 3px;
  border-radius: 3px;
  background: var(--muted-strong);
  overflow: hidden;
}
.js .tab[aria-selected='true'] .bar::after {
  content: '';
  display: block;
  height: 100%;
  background: linear-gradient(90deg, var(--primary), var(--brand-accent));
  transform-origin: left;
  animation: progress 5.5s linear both;
}
.js .feat.is-manual .bar::after {
  animation: none;
}
.panel-wrap {
  display: none;
}
.js .panel-wrap {
  position: relative;
  display: block;
  min-height: 24rem;
  padding: var(--space-6);
  border: 1px solid var(--border);
  border-radius: var(--radius-xl);
  background:
    radial-gradient(120% 90% at 100% 0%, var(--accent-soft), transparent 60%), var(--muted);
}
.panel[hidden] {
  display: none;
}
.panel {
  display: flex;
  flex-direction: column;
  gap: var(--space-3);
  animation: rise 0.5s var(--ease) both;
}
.mini {
  padding: var(--space-4) var(--space-6);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  background: var(--card);
  box-shadow: var(--shadow-raised);
  font-size: var(--text-sm);
  animation: rise 0.5s var(--ease) both;
}
.mini:nth-child(2) {
  animation-delay: 0.12s;
}
.mini:nth-child(3) {
  animation-delay: 0.24s;
}
.mini-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: var(--space-3);
  margin-bottom: var(--space-2);
}
.mini-head strong {
  font-size: var(--text-base);
}
.mini dl {
  display: grid;
  grid-template-columns: 7rem 1fr;
  gap: var(--space-1) var(--space-3);
  margin: 0;
}
.mini dt {
  color: var(--muted-foreground);
}
.mini dd {
  margin: 0;
  font-weight: 600;
}
.amount {
  margin: var(--space-1) 0 0;
  font-size: var(--text-3xl);
  font-weight: 650;
  letter-spacing: -0.03em;
}
.meter {
  height: 0.625rem;
  margin-top: var(--space-3);
  overflow: hidden;
  border-radius: var(--radius-pill);
  background: var(--muted-strong);
}
.meter .three-quarters {
  width: 75%;
}
.meter span {
  display: block;
  height: 100%;
  border-radius: inherit;
  background: linear-gradient(90deg, var(--primary), var(--brand-accent));
  transform-origin: left;
  animation: grow 1.2s 0.3s var(--ease) both;
}
.mini ul {
  display: flex;
  flex-direction: column;
  gap: var(--space-2);
  list-style: none;
}
.mini li {
  display: flex;
  justify-content: space-between;
  gap: var(--space-3);
}
.check-list li {
  justify-content: flex-start;
}
.check-list li::before {
  content: '';
  flex: none;
  width: 1.25rem;
  height: 1.25rem;
  border: 1.5px solid var(--border);
  border-radius: 0.375rem;
}
.check-list .done {
  color: var(--muted-foreground);
}
.check-list .done::before {
  content: '✓';
  display: grid;
  place-items: center;
  border-color: var(--success);
  background: var(--success);
  color: var(--on-dark);
  font-size: var(--text-xs);
  font-weight: 700;
  animation: pop 0.4s var(--ease-spring) both;
}

/* Family page */
.swatches {
  display: flex;
  flex-wrap: wrap;
  gap: var(--space-2);
  margin-top: var(--space-6);
}
.swatch {
  display: inline-flex;
  align-items: center;
  gap: var(--space-2);
  min-height: var(--target);
  padding: 0 var(--space-4) 0 var(--space-3);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  background: var(--card);
  color: var(--foreground);
  font: inherit;
  font-size: var(--text-sm);
  font-weight: 500;
  cursor: pointer;
  transition:
    transform 0.2s,
    box-shadow 0.2s,
    border-color 0.2s;
}
.swatch:hover {
  transform: translateY(-1px);
  box-shadow: var(--shadow-raised);
}
.swatch[aria-pressed='true'] {
  border-color: var(--foreground);
  box-shadow: 0 0 0 1px var(--foreground);
}
.swatch i {
  width: 1.125rem;
  height: 1.125rem;
  border-radius: 0.375rem;
  background: var(--swatch);
}
.swatches[hidden] {
  display: none;
}
.phone {
  width: min(20rem, 100%);
  margin: 0 auto;
  padding: 0.625rem;
  border-radius: 2.75rem;
  background: var(--dark-band);
  box-shadow: var(--shadow-window);
  animation: bob 8s ease-in-out infinite;
}
.screen {
  overflow: hidden;
  border-radius: 2.2rem;
  background: var(--muted);
  /* The sample practice colours are all dark, in light and dark mode, so the text is white. */
  --practice: var(--dark-band);
}
.screen-head {
  padding: var(--space-6) var(--space-6) var(--space-8);
  background: var(--practice);
  color: var(--on-dark);
  transition: background-color 0.6s var(--ease);
}
.practice-name {
  display: flex;
  align-items: center;
  gap: var(--space-2);
  margin: 0;
  font-size: var(--text-sm);
  font-weight: 600;
}
.practice-name b {
  display: grid;
  place-items: center;
  width: 2rem;
  height: 2rem;
  border-radius: 0.5rem;
  background: var(--on-dark);
  color: var(--practice);
  font-size: var(--text-xs);
  transition: color 0.6s;
}
.screen-head p:last-child {
  margin: var(--space-6) 0 0;
  font-size: var(--text-2xl);
  font-weight: 650;
  letter-spacing: -0.03em;
}
.screen-body {
  display: flex;
  flex-direction: column;
  gap: var(--space-3);
  padding: var(--space-4);
  list-style: none;
}
.screen-body li {
  padding: var(--space-3) var(--space-4);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  background: var(--card);
  font-size: var(--text-sm);
}
.screen-body small {
  display: block;
  color: var(--muted-foreground);
}
.screen-body .bar {
  height: 0.375rem;
  margin-top: var(--space-2);
  overflow: hidden;
  border-radius: var(--radius-pill);
  background: var(--muted-strong);
}
.screen-body .bar span {
  display: block;
  width: 66%;
  height: 100%;
  background: var(--practice);
  transition: background-color 0.6s;
}
.powered {
  margin: 0;
  padding: 0 0 var(--space-4);
  color: var(--muted-foreground);
  font-size: var(--text-xs);
  text-align: center;
}

/* Cards */
.cards {
  display: grid;
  gap: var(--space-4);
  margin-top: var(--space-8);
  list-style: none;
}
.card {
  padding: var(--space-6);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  background: var(--card);
  box-shadow: var(--shadow-card);
  transition:
    transform 0.25s var(--ease),
    box-shadow 0.25s;
}
.cards .card:nth-child(2) {
  transition-delay: 60ms;
}
.cards .card:nth-child(3) {
  transition-delay: 120ms;
}
.cards .card:nth-child(5) {
  transition-delay: 60ms;
}
.cards .card:nth-child(6) {
  transition-delay: 120ms;
}
.card:hover {
  transform: translateY(-3px);
  box-shadow: var(--shadow-raised);
}
.card h3 {
  margin-top: var(--space-4);
}
.card p {
  margin: 0;
  color: var(--foreground-soft);
}
.icon {
  display: grid;
  place-items: center;
  width: 2.75rem;
  height: 2.75rem;
  border-radius: var(--radius);
  background: var(--accent-soft);
  color: var(--primary);
  font-weight: 700;
  transition: transform 0.3s var(--ease-spring);
}
.icon-warm {
  color: var(--brand-text);
}
.card:hover .icon {
  transform: rotate(-6deg) scale(1.08);
}

/* Questions */
.faq {
  display: flex;
  flex-direction: column;
  gap: var(--space-3);
  max-width: var(--width-narrow);
  margin: var(--space-8) auto 0;
  text-align: left;
}
.faq details {
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  background: var(--card);
  transition: box-shadow 0.25s;
}
.faq details[open] {
  box-shadow: var(--shadow-raised);
}
.faq summary {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: var(--space-4);
  min-height: 4rem;
  padding: 0 var(--space-6);
  font-weight: 600;
  cursor: pointer;
  list-style: none;
  border-radius: var(--radius-lg);
}
.faq summary::-webkit-details-marker {
  display: none;
}
.faq summary::after {
  content: '+';
  color: var(--muted-foreground);
  font-size: var(--text-2xl);
  font-weight: 400;
  line-height: 1;
  transition: transform 0.3s var(--ease);
}
.faq details[open] summary::after {
  transform: rotate(45deg);
  color: var(--primary);
}
.faq details p {
  margin: 0;
  padding: 0 var(--space-6) var(--space-6);
  color: var(--foreground-soft);
}
.faq details::details-content {
  block-size: 0;
  overflow: hidden;
  transition:
    block-size 0.35s var(--ease),
    content-visibility 0.35s allow-discrete;
}
.faq details[open]::details-content {
  block-size: auto;
}

/* Bands */
.band {
  padding: var(--space-16) 0;
}
.cta-box {
  position: relative;
  overflow: hidden;
  padding: var(--space-12) var(--space-6);
  border-radius: var(--radius-xl);
  background:
    radial-gradient(
      120% 140% at 100% 0%,
      color-mix(in srgb, var(--primary), var(--on-dark) 14%),
      var(--primary) 45%,
      var(--dark-band)
    ),
    var(--primary);
  color: var(--on-dark);
}
.cta-box h2 {
  max-width: 18ch;
}
.cta-box p {
  max-width: 34rem;
  color: var(--on-dark-soft);
  font-size: var(--text-lg);
}
.cta-box .button {
  margin-top: var(--space-4);
}
.cta-box::after {
  content: '';
  position: absolute;
  right: -5rem;
  top: -5rem;
  width: 22rem;
  height: 22rem;
  border: 2.5rem solid var(--on-dark);
  border-radius: 50%;
  border-left-color: transparent;
  opacity: 0.08;
  animation: spin 60s linear infinite;
}

/* Features page */
.jump {
  display: flex;
  flex-wrap: wrap;
  gap: var(--space-2);
  margin-top: var(--space-6);
  list-style: none;
}
.jump a {
  display: inline-flex;
  align-items: center;
  min-height: 2.5rem;
  padding: 0 var(--space-4);
  border: 1px solid var(--border);
  border-radius: var(--radius-pill);
  background: var(--card);
  color: var(--foreground-soft);
  font-size: var(--text-sm);
  font-weight: 500;
  text-decoration: none;
}
.jump a:hover {
  border-color: var(--primary);
  color: var(--primary);
}
.feature-list,
.prose {
  margin-top: var(--space-8);
  margin-bottom: var(--space-12);
}
.contents-bar {
  padding: var(--space-6) 0 0;
}
.feature h2 {
  font-size: var(--text-2xl);
}
.feature > div p {
  color: var(--foreground-soft);
}
.feature .ticks {
  margin-top: var(--space-4);
}
.feature .card:hover {
  transform: none;
}
.feature-list {
  display: grid;
  gap: var(--space-4);
  padding-top: var(--space-12);
  padding-bottom: var(--space-12);
}
.feature {
  padding: var(--space-8) var(--space-6);
  border: 1px solid var(--border);
  border-radius: var(--radius-xl);
  background: var(--card);
  box-shadow: var(--shadow-card);
  scroll-margin-top: 6rem;
}
.feature ul,
.prose ul {
  padding-left: var(--space-6);
}
.feature li {
  margin: var(--space-2) 0;
  color: var(--foreground-soft);
}
.feature li::marker {
  color: var(--brand-accent);
}
.prose {
  padding-top: var(--space-12);
  padding-bottom: var(--space-12);
}
.prose h2 {
  margin-top: var(--space-8);
  font-size: var(--text-2xl);
}
.notice {
  padding: var(--space-4);
  border-radius: var(--radius);
  background: var(--highlight);
  color: var(--highlight-foreground);
}

/* Footer */
.site-footer {
  padding: var(--space-12) 0 var(--space-8);
  border-top: 1px solid var(--border);
  background: var(--muted);
  color: var(--foreground-soft);
  font-size: var(--text-sm);
}
.footer-grid {
  display: grid;
  gap: var(--space-8);
}
.footer-name {
  margin-bottom: var(--space-2);
  color: var(--foreground);
  font-size: var(--text-lg);
  font-weight: 650;
}
.site-footer h2 {
  margin-bottom: var(--space-3);
  color: var(--foreground);
  font-size: var(--text-sm);
  letter-spacing: 0.06em;
  text-transform: uppercase;
}
.site-footer ul {
  display: flex;
  flex-direction: column;
  gap: var(--space-2);
  list-style: none;
}
.site-footer a {
  color: var(--foreground-soft);
  text-decoration: none;
}
.site-footer a:hover,
.site-footer a[aria-current='page'] {
  color: var(--primary);
  text-decoration: underline;
}
.footer-base {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: var(--space-4);
  margin-top: var(--space-8);
  padding-top: var(--space-6);
  border-top: 1px solid var(--border);
}

/* Scroll reveal (the script adds .js; without it everything simply shows) */
.js .reveal {
  opacity: 0;
  transform: translateY(18px);
  transition:
    opacity 0.7s var(--ease),
    transform 0.7s var(--ease);
}
.js .reveal.is-in {
  opacity: 1;
  transform: none;
}
.js .gather .bit {
  transition:
    transform 0.8s var(--ease),
    background-color 0.6s,
    border-color 0.6s;
}
.js .gather:not(.is-in) .bit {
  background: var(--highlight);
}
.js .gather:not(.is-in) .bit:nth-child(1) {
  transform: translate(-3rem, -1.5rem) rotate(-6deg);
}
.js .gather:not(.is-in) .bit:nth-child(2) {
  transform: translate(2.5rem, -0.75rem) rotate(5deg);
}
.js .gather:not(.is-in) .bit:nth-child(3) {
  transform: translate(-1.5rem, 0.5rem) rotate(4deg);
}
.js .gather:not(.is-in) .bit:nth-child(4) {
  transform: translate(3rem, 1rem) rotate(-5deg);
}
.js .gather:not(.is-in) .bit:nth-child(5) {
  transform: translate(-2.5rem, 1.5rem) rotate(7deg);
}
.js .gather:not(.is-in) .old {
  opacity: 1;
}
.js .gather:not(.is-in) .new,
.js .gather:not(.is-in) .ok {
  opacity: 0;
}
.js .gather .old,
.js .gather .new,
.js .gather .ok {
  transition: opacity 0.4s 0.35s;
}

@keyframes rise {
  from {
    opacity: 0;
    transform: translateY(18px);
  }
}
@keyframes lift {
  from {
    transform: translateY(14px);
  }
}
@keyframes mark {
  from {
    background-size: 0% 0.3em;
  }
}
@keyframes breathe {
  50% {
    box-shadow: 0 0 0 7px color-mix(in srgb, var(--brand-accent) 6%, transparent);
  }
}
@keyframes drift {
  to {
    transform: translateX(2%) scale(1.04);
  }
}
@keyframes tilt {
  from {
    opacity: 0;
    transform: rotateX(18deg) translateY(48px) scale(0.95);
  }
}
@keyframes rowin {
  from {
    opacity: 0;
    transform: translateX(-8px);
  }
}
@keyframes pop {
  from {
    opacity: 0;
    transform: scale(0.4);
  }
}
@keyframes bob {
  50% {
    transform: translateY(-8px);
  }
}
@keyframes grow {
  from {
    transform: scaleX(0);
  }
}
@keyframes progress {
  from {
    transform: scaleX(0);
  }
}
@keyframes spin {
  to {
    transform: rotate(360deg);
  }
}
@keyframes swap-a {
  0%,
  38% {
    opacity: 1;
  }
  42%,
  96% {
    opacity: 0;
  }
}
@keyframes swap-b {
  0%,
  38% {
    opacity: 0;
    transform: scale(0.7);
  }
  44% {
    opacity: 1;
    transform: scale(1.1);
  }
  48%,
  92% {
    opacity: 1;
    transform: none;
  }
  96%,
  100% {
    opacity: 0;
  }
}

/* Tablet and up */
@media (min-width: 48rem) {
  .wrap {
    padding: 0 var(--space-8);
  }
  section,
  .band {
    padding: var(--space-24) 0;
  }
  .nav-extra {
    display: list-item;
  }
  .site-header .wrap {
    display: flex;
    gap: var(--space-6);
    padding-top: 0;
  }
  .site-header nav {
    margin-left: auto;
  }
  .site-header nav ul {
    gap: var(--space-1) var(--space-6);
  }
  .kpis {
    grid-template-columns: repeat(4, minmax(0, 1fr));
  }
  .cards {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
  .two {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: var(--space-16);
  }
  .cta-box {
    padding: var(--space-16);
  }
  .feature {
    display: grid;
    grid-template-columns: minmax(0, 1fr) minmax(0, 1.3fr);
    gap: var(--space-8);
    align-items: start;
    padding: var(--space-8);
  }
  .feature .ticks {
    margin-top: 0;
  }
  .footer-grid {
    grid-template-columns: 1.5fr repeat(3, minmax(0, 1fr));
  }
}

@media (min-width: 64rem) {
  .app {
    grid-template-columns: 13rem minmax(0, 1fr);
  }
  .app-side {
    display: flex;
    flex-direction: column;
    gap: 0.125rem;
    padding: var(--space-4) var(--space-2);
    border-right: 1px solid var(--border);
    background: var(--muted);
    list-style: none;
  }
  .app-side li {
    padding: var(--space-2) var(--space-3);
    border-radius: 0.5rem;
    color: var(--foreground-soft);
    font-weight: 500;
  }
  .app-side li:first-child {
    background: var(--card);
    color: var(--primary);
    box-shadow: var(--shadow-card);
  }
  .app-cols {
    display: grid;
    grid-template-columns: 1.3fr 1fr;
    gap: var(--space-4);
  }
  .float {
    position: absolute;
    z-index: 2;
    display: flex;
    align-items: center;
    gap: var(--space-3);
    padding: var(--space-3) var(--space-4);
    border: 1px solid var(--border);
    border-radius: var(--radius-lg);
    background: var(--card);
    box-shadow: var(--shadow-raised);
    font-size: var(--text-sm);
    text-align: left;
    animation:
      pop 0.6s 1.6s var(--ease-spring) both,
      bob 6s 2.2s ease-in-out infinite;
  }
  .float strong {
    display: block;
  }
  .float small {
    color: var(--muted-foreground);
  }
  .float-left {
    left: 0;
    bottom: 5rem;
  }
  .float-right {
    right: 0;
    top: 5rem;
    animation-delay: 1.9s, 2.5s;
  }
  .cards-3 {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }
  .feat {
    grid-template-columns: minmax(0, 1fr) minmax(0, 1.25fr);
    align-items: start;
  }
}

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