/* The corporate site's one stylesheet. The palette is Kamero's named brand colours (Warm Peach,
   Sunset Coral, Plum, Deep Violet, Obsidian, Soft Cream and Sage Green, as the README names them),
   with Sunset Coral as the one accent, as in the portal (src/portal/kamero-portal/src/styles/tokens.css).
   Gradients stay within the warm family, cream to peach to coral: coral and plum sit across the
   colour wheel from each other and turn brown where they blend, so plum appears only as a solid
   colour, as it does in the petal mark. Manrope is served from this folder as the
   portal serves it, so a page loads nothing from another origin (AD-064). The site commits to one light look with dark bands of its own, as a sales site
   reads the same for every visitor; the portal, used all day, is the one that follows the system theme. */

@font-face {
  font-family: 'Manrope';
  font-style: normal;
  font-weight: 400 800;
  font-display: swap;
  src: url('fonts/manrope-latin-ext.woff2') format('woff2');
  unicode-range:
    U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF;
}

@font-face {
  font-family: 'Manrope';
  font-style: normal;
  font-weight: 400 800;
  font-display: swap;
  src: url('fonts/manrope-latin.woff2') format('woff2');
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}

:root {
  --ink: #0b0b0f;
  --slate: #474752;
  --muted: #6b6b76;
  --paper: #ffffff;
  --mist: #f7f5f2;
  --line: #e9e5df;
  --line-2: #f0ede8;
  --coral: #ff6b45;
  --coral-ink: #c4441f;
  --coral-soft: #ffe6dc;
  --peach: #ffb18a;
  --plum-soft: #f4e8f0;
  --deep-violet: #3b0f5b;
  --plum: #6a2c5d;
  --sage: #0f6b4f;
  --sage-soft: #ddf0e8;
  --amber: #9a5b00;
  --amber-soft: #fbe9c6;
  --chip: #f1eee9;
  --gradient: linear-gradient(135deg, #ff9466 0%, #ff6b45 55%, #f0532d 100%);

  /* The night bands: Obsidian warmed with Deep Violet, the portal's chrome. */
  --night: #0e0816;
  --night-2: #1a1026;
  --night-line: rgba(255, 255, 255, 0.1);
  --night-ink: #f7f3ee;
  --night-slate: rgba(247, 243, 238, 0.72);
  --night-muted: rgba(247, 243, 238, 0.5);

  --shadow-lg: 0 50px 100px -20px rgba(40, 20, 60, 0.25), 0 30px 60px -30px rgba(0, 0, 0, 0.3);
  --shadow-md: 0 13px 27px -5px rgba(40, 20, 60, 0.18), 0 8px 16px -8px rgba(0, 0, 0, 0.2);
  --shadow-sm: 0 2px 5px -1px rgba(40, 20, 60, 0.12), 0 1px 3px -1px rgba(0, 0, 0, 0.12);

  --font: Manrope, Inter, -apple-system, 'Segoe UI', Roboto, Helvetica, Arial, sans-serif;
  --mono: ui-monospace, SFMono-Regular, Menlo, Consolas, 'Liberation Mono', monospace;

  --s-hero: clamp(2.6rem, 1.3rem + 4.2vw, 5rem);
  --s-h1: clamp(2.4rem, 1.5rem + 3.2vw, 4.2rem);
  --s-h2: clamp(2rem, 1.35rem + 2.2vw, 3.3rem);
  --s-lead: clamp(1.08rem, 1rem + 0.35vw, 1.28rem);

  --wrap: 1180px;
  --radius: 14px;
  color-scheme: light;
}

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

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  position: relative;
  isolation: isolate;
  background: var(--paper);
  color: var(--ink);
  font-family: var(--font);
  font-size: 1.0625rem;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}

a {
  color: inherit;
}

img {
  max-width: 100%;
  height: auto;
  display: block;
}

:focus-visible {
  outline: 2px solid var(--plum);
  outline-offset: 3px;
  border-radius: 4px;
}

h1,
h2,
h3 {
  margin: 0;
  text-wrap: balance;
  letter-spacing: -0.03em;
  line-height: 1.06;
  font-weight: 800;
}

p {
  margin: 0;
}

.skip {
  position: absolute;
  left: -9999px;
  top: 8px;
  z-index: 100;
  background: var(--paper);
  padding: 10px 14px;
  border-radius: 8px;
}

.skip:focus {
  left: 16px;
}

.wrap {
  max-width: var(--wrap);
  margin-inline: auto;
  padding-left: max(20px, env(safe-area-inset-left, 0px));
  padding-right: max(20px, env(safe-area-inset-right, 0px));
}

@media (min-width: 760px) {
  .wrap {
    padding-left: max(32px, env(safe-area-inset-left, 0px));
    padding-right: max(32px, env(safe-area-inset-right, 0px));
  }
}

/* A fact the repository does not hold yet: visible on purpose, so nothing launches with one in it. */
.todo {
  background: var(--amber-soft);
  color: var(--amber);
  border: 1px dashed currentColor;
  border-radius: 6px;
  padding: 0 6px;
  font-weight: 700;
}

.eyebrow {
  font-size: 0.95rem;
  font-weight: 700;
  color: var(--coral-ink);
}

.lead {
  font-size: var(--s-lead);
  color: var(--slate);
  max-width: 60ch;
  line-height: 1.55;
}

.grad-text {
  background: var(--gradient);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}

/* Buttons: a pill with an arrow that moves on hover */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font: 700 0.98rem/1 var(--font);
  padding: 13px 20px;
  border-radius: 999px;
  text-decoration: none;
  border: 0;
  cursor: pointer;
  transition:
    background 0.15s ease,
    opacity 0.15s ease,
    transform 0.12s ease;
}

.chev {
  width: 10px;
  height: 10px;
  transition: transform 0.15s ease;
}

.btn:hover .chev,
.link:hover .chev {
  transform: translateX(3px);
}

.btn-dark {
  background: var(--ink);
  color: #fff;
}

.btn-dark:hover {
  background: #2b2433;
}

.btn-brand {
  background: var(--gradient);
  color: #fff;
}

.btn-brand:hover {
  opacity: 0.92;
}

.btn-light {
  background: transparent;
  color: var(--ink);
}

.btn-light:hover {
  opacity: 0.7;
}

.btn-white {
  background: #fff;
  color: var(--ink);
}

.ctas {
  display: flex;
  flex-wrap: wrap;
  gap: 8px 12px;
  align-items: center;
}

.link {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-weight: 700;
  color: var(--coral-ink);
  text-decoration: none;
}

/* The band: Kamero's gradient, alive, across the top of every page, cut on a slope */
.band {
  position: absolute;
  z-index: -1;
  inset: 0 0 auto;
  height: 980px;
  overflow: hidden;
  clip-path: polygon(0 0, 100% 0, 100% 48%, 0 100%);
  background:
    radial-gradient(60% 70% at 12% 8%, #ffe2cf 0, transparent 62%),
    radial-gradient(45% 55% at 48% 30%, #ff8f63 0, transparent 70%),
    radial-gradient(45% 60% at 82% 12%, #ff8a5e 0, transparent 70%),
    radial-gradient(45% 55% at 97% 42%, #ff6b45 0, transparent 70%),
    radial-gradient(40% 50% at 30% 90%, #ffb18a 0, transparent 70%),
    #ffc6a8;
}

.band canvas {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  display: block;
}

.band::after {
  /* A wash from the left, so the headline sits on the light side of the gradient */
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(90deg, rgba(255, 246, 240, 0.72) 0%, rgba(255, 246, 240, 0.35) 38%, rgba(255, 246, 240, 0) 62%);
}

body:not([data-page='home']) .band {
  height: 620px;
  clip-path: polygon(0 0, 100% 0, 100% 62%, 0 100%);
}

@media (max-width: 760px) {
  /* On a phone the copy runs the full width, so the wash covers it all and fades down the band. */
  .band::after {
    background: linear-gradient(180deg, rgba(255, 246, 240, 0.8) 0%, rgba(255, 246, 240, 0.6) 55%, rgba(255, 246, 240, 0.15) 100%);
  }

  .band {
    height: 760px;
    clip-path: polygon(0 0, 100% 0, 100% 78%, 0 100%);
  }

  body:not([data-page='home']) .band {
    height: 560px;
  }
}

/* Header and its menus: the same on every page */
/* Not positioned, so the band behind it is placed against the page and the header forms no layer of
   its own; the menus lift themselves above the content instead. */
.top {
  position: static;
}

.top .wrap {
  display: flex;
  align-items: center;
  gap: 8px;
  min-height: 78px;
  flex-wrap: wrap;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  text-decoration: none;
  margin-right: 20px;
}

.brand-text {
  display: grid;
  line-height: 1;
}

.brand-name {
  font-weight: 800;
  font-size: 1.32rem;
  letter-spacing: -0.03em;
}

.brand-sub {
  font-size: 0.58rem;
  font-weight: 700;
  letter-spacing: 0.34em;
  text-transform: uppercase;
  opacity: 0.6;
  margin-top: 3px;
}

/* Styled on the symbol itself: a rule cannot reach into the copy each <use> draws, but the copy keeps the original's. */
#mark .p {
  fill: var(--plum);
}

#mark .c {
  fill: var(--coral);
}

.defs {
  position: absolute;
  width: 0;
  height: 0;
  overflow: hidden;
}

.nav {
  display: flex;
  align-items: center;
  flex: 1;
  gap: 2px;
}

.nav-right {
  margin-left: auto;
  display: flex;
  align-items: center;
  gap: 4px;
}

.menu {
  position: relative;
}

.menu-trigger,
.nav-link {
  font: 700 0.98rem/1 var(--font);
  color: var(--ink);
  background: transparent;
  border: 0;
  padding: 12px 14px;
  border-radius: 999px;
  cursor: pointer;
  text-decoration: none;
  display: inline-flex;
  align-items: center;
}

.menu-trigger:hover,
.nav-link:hover,
.menu:focus-within .menu-trigger {
  background: rgba(255, 255, 255, 0.45);
}

.menu-panel {
  position: absolute;
  top: calc(100% + 10px);
  left: -24px;
  width: max-content;
  max-width: min(640px, 90vw);
  background: #fff;
  border-radius: 14px;
  box-shadow: var(--shadow-lg);
  padding: 22px;
  z-index: 50;
  display: grid;
  grid-template-columns: repeat(2, minmax(220px, 1fr));
  gap: 4px 12px;
  opacity: 0;
  visibility: hidden;
  transform: translateY(-6px);
  transition:
    opacity 0.18s ease,
    transform 0.18s ease,
    visibility 0.18s;
}

.menu-panel::before {
  /* The bridge, so the pointer can travel from the trigger to the panel without it closing */
  content: '';
  position: absolute;
  inset: -12px 0 auto;
  height: 12px;
}

.menu-panel.one {
  grid-template-columns: minmax(240px, 1fr);
}

.menu:hover .menu-panel,
.menu:focus-within .menu-panel {
  opacity: 1;
  visibility: visible;
  transform: none;
}

.menu-head {
  grid-column: 1 / -1;
  font-size: 0.76rem;
  font-weight: 800;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--muted);
  padding: 4px 10px 8px;
}

.menu-item {
  display: grid;
  grid-template-columns: 32px minmax(0, 1fr);
  gap: 2px 12px;
  padding: 10px;
  border-radius: 10px;
  text-decoration: none;
  align-items: start;
}

.menu-item:hover {
  background: var(--mist);
}

.menu-item .mi {
  grid-row: span 2;
  width: 32px;
  height: 32px;
  border-radius: 9px;
  background: var(--gradient);
  color: #fff;
  display: grid;
  place-items: center;
}

.menu-item .mi svg {
  width: 17px;
  height: 17px;
}

.menu-item b {
  font-size: 0.95rem;
  line-height: 1.3;
}

.menu-item span {
  font-size: 0.85rem;
  color: var(--slate);
  line-height: 1.4;
}

.menu-toggle {
  display: none;
  margin-left: auto;
  font: 700 0.95rem/1 var(--font);
  color: #fff;
  background: var(--ink);
  border: 0;
  border-radius: 999px;
  padding: 11px 18px;
  cursor: pointer;
}

@media (max-width: 1020px) {
  .js .menu-toggle {
    display: inline-flex;
  }

  .js .nav {
    display: none;
  }

  .nav {
    flex-basis: 100%;
    flex-direction: column;
    align-items: stretch;
    background: #fff;
    border-radius: 16px;
    box-shadow: var(--shadow-lg);
    padding: 12px;
    margin-bottom: 16px;
  }

  .js .top.open .nav {
    display: flex;
  }

  .menu-trigger {
    pointer-events: none;
    font-size: 0.76rem;
    letter-spacing: 0.12em;
    text-transform: uppercase;
    color: var(--muted);
    padding: 14px 10px 4px;
  }

  .menu-panel,
  .menu:hover .menu-panel,
  .menu:focus-within .menu-panel {
    position: static;
    opacity: 1;
    visibility: visible;
    transform: none;
    box-shadow: none;
    padding: 0;
    width: auto;
    max-width: none;
    grid-template-columns: minmax(0, 1fr);
  }

  .menu-head {
    display: none;
  }

  .nav-right {
    margin: 8px 0 0;
    padding-top: 12px;
    border-top: 1px solid var(--line);
    justify-content: space-between;
  }
}

/* Home hero */
.hero {
  position: relative;
  padding-block: clamp(36px, 6vw, 80px) clamp(40px, 6vw, 96px);
  overflow-x: clip;
}

.hero-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.25fr) minmax(0, 0.75fr);
  gap: 40px;
  align-items: center;
}

.hero-copy {
  display: grid;
  gap: 28px;
  min-width: 0;
  max-width: 700px;
}

.hero h1 {
  font-size: var(--s-hero);
  letter-spacing: -0.05em;
  line-height: 0.98;
}

.hero .lead {
  color: #2e2a33;
  font-size: clamp(1.1rem, 1rem + 0.45vw, 1.35rem);
}

.hero-note {
  font-size: 0.9rem;
  color: #3a3540;
  font-weight: 600;
}

@media (max-width: 1020px) {
  .hero-grid {
    grid-template-columns: minmax(0, 1fr);
  }
}

/* The hero's composition: the portal behind, a phone checkout in front */
.stage {
  position: relative;
  height: 600px;
  min-width: 0;
}

.stage .dash {
  position: absolute;
  top: 30px;
  left: 150px;
  width: 640px;
}

.stage .phone {
  position: absolute;
  top: 110px;
  left: 0;
  width: 268px;
}

@media (max-width: 1020px) {
  .stage {
    height: 620px;
    max-width: 720px;
  }

  .stage .dash {
    left: 120px;
  }

  .stage .phone {
    left: 0;
  }
}

@media (max-width: 640px) {
  .stage {
    height: auto;
    display: grid;
    justify-items: center;
    padding-top: 12px;
  }

  .stage .dash {
    display: none;
  }

  .stage .phone {
    position: static;
    width: min(280px, 100%);
  }
}

/* Mock screens, drawn in the page rather than pictured */
.screen {
  background: #fff;
  border-radius: 12px;
  box-shadow: var(--shadow-lg);
  overflow: hidden;
  font-size: 0.8rem;
  color: var(--ink);
  line-height: 1.35;
}

.dash-bar {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 12px 16px;
  border-bottom: 1px solid var(--line-2);
  font-weight: 800;
}

.dash-bar .search {
  margin-left: auto;
  width: 200px;
  height: 26px;
  border-radius: 7px;
  background: var(--mist);
}

.dash-bar .sandbox {
  font-size: 0.7rem;
  font-weight: 700;
  color: var(--amber);
  background: var(--amber-soft);
  border-radius: 999px;
  padding: 3px 9px;
}

.dash-body {
  display: grid;
  grid-template-columns: 120px minmax(0, 1fr);
}

.dash-side {
  background: var(--night);
  color: var(--night-slate);
  padding: 14px 10px;
  display: grid;
  gap: 4px;
  align-content: start;
  font-weight: 600;
  font-size: 0.74rem;
}

.dash-side span {
  padding: 6px 8px;
  border-radius: 6px;
}

.dash-side .on {
  background: rgba(255, 107, 69, 0.18);
  color: #fff;
}

.dash-main {
  padding: 16px;
  display: grid;
  gap: 14px;
}

.kpis {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 10px;
}

.kpi {
  border: 1px solid var(--line-2);
  border-radius: 9px;
  padding: 10px;
  display: grid;
  gap: 2px;
}

.kpi small {
  color: var(--muted);
  font-size: 0.7rem;
  font-weight: 600;
}

.kpi b {
  font-size: 1.15rem;
  letter-spacing: -0.02em;
  font-variant-numeric: tabular-nums;
}

.kpi em {
  font-style: normal;
  font-size: 0.7rem;
  color: var(--sage);
  font-weight: 700;
}

.chart {
  border: 1px solid var(--line-2);
  border-radius: 9px;
  padding: 10px 10px 4px;
}

.chart-head {
  display: flex;
  justify-content: space-between;
  font-weight: 700;
  font-size: 0.74rem;
  color: var(--slate);
}

.chart svg {
  width: 100%;
  height: 110px;
  display: block;
}

.chart .grid-line {
  stroke: var(--line-2);
  stroke-width: 1;
}

.chart .area {
  fill: url(#area-fill);
}

.chart .line {
  fill: none;
  stroke: var(--coral);
  stroke-width: 2.2;
  stroke-linejoin: round;
}

.chart .line-2 {
  fill: none;
  stroke: #cfc9d6;
  stroke-width: 1.6;
  stroke-dasharray: 4 4;
}

.rows {
  display: grid;
  border: 1px solid var(--line-2);
  border-radius: 9px;
  overflow: hidden;
}

.row {
  display: grid;
  grid-template-columns: 34px minmax(0, 1fr) auto auto;
  gap: 10px;
  align-items: center;
  padding: 7px 10px;
  border-top: 1px solid var(--line-2);
  font-variant-numeric: tabular-nums;
}

.row:first-child {
  border-top: 0;
}

.row img {
  width: 30px;
  height: 20px;
}

.row .who {
  color: var(--slate);
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.row b {
  font-weight: 700;
}

.status {
  font-size: 0.68rem;
  font-weight: 700;
  padding: 2px 8px;
  border-radius: 999px;
  background: var(--sage-soft);
  color: var(--sage);
}

.status.wait {
  background: var(--amber-soft);
  color: var(--amber);
}

.status.no {
  background: #fbe1de;
  color: #a5301f;
}

/* The phone */
.phone {
  border-radius: 40px;
  background: #0b0b0f;
  padding: 10px;
  box-shadow: var(--shadow-lg);
}

.phone-screen {
  background: #fff;
  border-radius: 31px;
  overflow: hidden;
  padding: 18px 16px 18px;
  display: grid;
  gap: 12px;
  font-size: 0.78rem;
  line-height: 1.35;
  color: var(--ink);
}

.phone-notch {
  width: 90px;
  height: 22px;
  border-radius: 999px;
  background: #0b0b0f;
  margin: -8px auto 2px;
}

.shop {
  display: flex;
  align-items: center;
  gap: 8px;
  font-weight: 800;
  font-size: 0.86rem;
}

.shop i {
  width: 24px;
  height: 24px;
  border-radius: 7px;
  background: #1f3b57;
  color: #fff;
  font-style: normal;
  display: grid;
  place-items: center;
  font-size: 0.75rem;
}

.lines {
  display: grid;
  gap: 6px;
  padding-bottom: 10px;
  border-bottom: 1px solid var(--line-2);
}

.lines div,
.total {
  display: flex;
  justify-content: space-between;
  gap: 10px;
  font-variant-numeric: tabular-nums;
}

.lines span {
  color: var(--slate);
}

.total {
  font-weight: 800;
  font-size: 0.95rem;
}

.apple {
  background: #000;
  color: #fff;
  border-radius: 8px;
  text-align: center;
  font-weight: 700;
  padding: 10px;
  font-size: 0.9rem;
}

.or {
  text-align: center;
  color: var(--muted);
  font-size: 0.7rem;
}

.ways {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 6px;
}

.ways span {
  border: 1px solid var(--line);
  border-radius: 7px;
  padding: 5px 2px;
  display: grid;
  place-items: center;
}

.ways span.sel {
  border-color: var(--coral);
  box-shadow: 0 0 0 2px var(--coral-soft);
}

.ways img {
  width: 34px;
  height: 22px;
}

.field {
  border: 1px solid var(--line);
  border-radius: 8px;
  padding: 9px 10px;
  display: flex;
  justify-content: space-between;
  color: var(--slate);
  font-variant-numeric: tabular-nums;
}

.field-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 6px;
}

.pay {
  background: var(--coral);
  color: #1a0a05;
  border-radius: 8px;
  text-align: center;
  font-weight: 800;
  padding: 11px;
  font-size: 0.9rem;
}

.secure {
  text-align: center;
  font-size: 0.66rem;
  color: var(--muted);
}

/* Sections */
.section {
  padding-block: clamp(72px, 10vw, 128px);
  position: relative;
}

.section.tight-top {
  padding-top: 0;
}

.phone-solo {
  display: grid;
  justify-items: center;
}

.phone-solo .phone {
  width: 290px;
  max-width: 100%;
}

.section.mist {
  background: var(--mist);
}

.section.slant {
  /* The lighter slope, as the band's: a section that starts and ends on an angle */
  background: var(--mist);
  clip-path: polygon(0 4%, 100% 0, 100% 96%, 0 100%);
  padding-block: clamp(110px, 14vw, 180px);
}

.section-head {
  display: grid;
  gap: 18px;
  max-width: 780px;
  margin-bottom: clamp(40px, 6vw, 64px);
}

.section-head h2 {
  font-size: var(--s-h2);
}

.section-head.center {
  margin-inline: auto;
  text-align: center;
  justify-items: center;
}

/* The marks strip, moving */
.marks-section {
  padding-block: 40px 24px;
}

.marks-label {
  text-align: center;
  font-weight: 700;
  color: var(--slate);
  margin-bottom: 22px;
}

.marquee {
  overflow: hidden;
  -webkit-mask-image: linear-gradient(90deg, transparent, #000 8%, #000 92%, transparent);
  mask-image: linear-gradient(90deg, transparent, #000 8%, #000 92%, transparent);
}

.track {
  display: flex;
  gap: 18px;
  width: max-content;
  animation: slide 70s linear infinite;
}

.track.reverse {
  animation-direction: reverse;
  margin-top: 14px;
}

.track img {
  height: 40px;
  width: auto;
  border-radius: 6px;
  box-shadow: var(--shadow-sm);
}

@keyframes slide {
  to {
    transform: translateX(-50%);
  }
}

/* The product suite */
.suite {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 18px;
}

@media (max-width: 1020px) {
  .suite {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (max-width: 560px) {
  .suite {
    grid-template-columns: minmax(0, 1fr);
  }
}

.tile {
  background: #fff;
  border-radius: var(--radius);
  padding: 26px;
  display: grid;
  gap: 12px;
  align-content: start;
  text-decoration: none;
  box-shadow: var(--shadow-sm);
  border: 1px solid var(--line-2);
  transition:
    box-shadow 0.2s ease,
    transform 0.2s ease;
  min-width: 0;
}

a.tile:hover {
  box-shadow: var(--shadow-md);
  transform: translateY(-2px);
}

.tile h3 {
  font-size: 1.15rem;
}

.tile p {
  color: var(--slate);
  font-size: 0.97rem;
}

.tile .link {
  margin-top: 4px;
  font-size: 0.95rem;
}

.ico {
  width: 42px;
  height: 42px;
  border-radius: 11px;
  background: var(--gradient);
  color: #fff;
  display: grid;
  place-items: center;
  box-shadow: 0 6px 14px -6px rgba(255, 107, 69, 0.55);
}

.ico svg {
  width: 21px;
  height: 21px;
}

/* Feature rows: words on one side, a working picture on the other */
.feature {
  display: grid;
  grid-template-columns: minmax(0, 0.9fr) minmax(0, 1.1fr);
  gap: clamp(36px, 6vw, 88px);
  align-items: center;
}

.feature.flip {
  grid-template-columns: minmax(0, 1.1fr) minmax(0, 0.9fr);
}

.feature.flip .feature-copy {
  order: 2;
}

@media (max-width: 920px) {
  .feature,
  .feature.flip {
    grid-template-columns: minmax(0, 1fr);
  }

  .feature.flip .feature-copy {
    order: 0;
  }
}

.feature + .feature {
  margin-top: clamp(80px, 11vw, 140px);
}

.feature-copy {
  display: grid;
  gap: 20px;
  min-width: 0;
}

.feature-copy h2 {
  font-size: clamp(1.8rem, 1.3rem + 1.6vw, 2.6rem);
}

.points {
  list-style: none;
  margin: 6px 0 0;
  padding: 0;
  display: grid;
  gap: 16px;
}

.points li {
  display: grid;
  gap: 2px;
  padding-left: 18px;
  border-left: 2px solid var(--coral);
}

.points b {
  font-size: 1rem;
}

.points span {
  color: var(--slate);
  font-size: 0.96rem;
}

.figure-box {
  min-width: 0;
  position: relative;
}

/* Every drawing says what it is: a picture of the product with invented names and figures, never a
   customer's screen. Small and quiet under the drawing, so it is read once and does not compete. */
.illustrative {
  margin: 10px 2px 0;
  font-size: 0.72rem;
  letter-spacing: 0.02em;
  color: var(--muted);
  text-align: right;
}

.stage > .illustrative {
  position: absolute;
  right: 0;
  bottom: 0;
  margin: 0;
}

/* On a phone the stage is the phone drawing alone, so the caption sits under it like any other. */
@media (max-width: 640px) {
  .stage > .illustrative {
    position: static;
    margin-top: 10px;
    text-align: center;
  }
}

/* A browser window around a storefront with Checkout in it */
.browser {
  background: #fff;
  border-radius: 12px;
  box-shadow: var(--shadow-lg);
  overflow: hidden;
}

.browser-bar {
  display: flex;
  align-items: center;
  gap: 6px;
  padding: 11px 14px;
  background: var(--mist);
  border-bottom: 1px solid var(--line-2);
}

.browser-bar i {
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background: #ddd6cf;
}

.browser-bar span {
  margin-left: 14px;
  flex: 1;
  max-width: 300px;
  background: #fff;
  border-radius: 6px;
  font-size: 0.72rem;
  color: var(--muted);
  padding: 4px 10px;
}

.store {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1.05fr);
  gap: 22px;
  padding: 22px;
  font-size: 0.8rem;
}

@media (max-width: 560px) {
  .store {
    grid-template-columns: minmax(0, 1fr);
  }
}

.store-order {
  display: grid;
  gap: 12px;
  align-content: start;
}

.store-order b.h {
  font-size: 1rem;
}

.item {
  display: grid;
  grid-template-columns: 44px minmax(0, 1fr) auto;
  gap: 10px;
  align-items: center;
}

.item i {
  width: 44px;
  height: 44px;
  border-radius: 9px;
  background: linear-gradient(135deg, #e9e2da, #d8cfc5);
}

.item i.b {
  background: linear-gradient(135deg, #c9d6e3, #9fb3c8);
}

.item span {
  color: var(--slate);
}

.frame {
  border: 1px solid var(--line);
  border-radius: 12px;
  padding: 14px;
  display: grid;
  gap: 10px;
  position: relative;
  background: #fff;
}


.saved {
  display: flex;
  align-items: center;
  gap: 8px;
  border: 1px solid var(--coral);
  border-radius: 8px;
  padding: 8px 10px;
  box-shadow: 0 0 0 2px var(--coral-soft);
}

.saved img {
  width: 30px;
  height: 20px;
}

/* The journey of a payment, after the portal's Payment details panel */
.journey {
  background: #fff;
  border-radius: 16px;
  box-shadow: var(--shadow-lg);
  padding: 22px;
  display: grid;
  gap: 14px;
  max-width: 520px;
  margin-inline: auto;
}

.journey-head {
  display: grid;
  gap: 6px;
}

.journey-head b {
  font-size: 1.05rem;
}

.journey-head small {
  color: var(--muted);
  font-size: 0.8rem;
}

.pill {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  width: fit-content;
  font-size: 0.76rem;
  font-weight: 800;
  padding: 3px 10px;
  border-radius: 999px;
  background: var(--sage-soft);
  color: var(--sage);
}

.pill::before {
  content: '';
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: currentColor;
}

.steps {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  position: relative;
}

.step {
  display: grid;
  grid-template-columns: 22px minmax(0, 1fr) auto;
  gap: 2px 12px;
  padding: 10px 0;
  position: relative;
}

.step::before {
  content: '';
  width: 12px;
  height: 12px;
  border-radius: 50%;
  background: #fff;
  border: 3px solid var(--sage);
  margin-top: 4px;
  z-index: 1;
  transition:
    background 0.3s ease,
    box-shadow 0.3s ease;
}

.step::after {
  content: '';
  position: absolute;
  left: 8px;
  top: 30px;
  bottom: -4px;
  width: 2px;
  background: var(--sage-soft);
}

.step:last-child::after {
  display: none;
}

.step b {
  font-size: 0.95rem;
}

.step .t {
  font-size: 0.8rem;
  color: var(--muted);
  font-variant-numeric: tabular-nums;
  white-space: nowrap;
}

.step .why {
  grid-column: 2 / 4;
  font-size: 0.88rem;
  color: var(--slate);
}

.step.live::before {
  background: var(--sage);
  box-shadow: 0 0 0 6px var(--sage-soft);
}

/* The routing picture */
.routing {
  background: #fff;
  border-radius: 16px;
  box-shadow: var(--shadow-lg);
  padding: 18px;
}

.routing svg {
  width: 100%;
  height: auto;
  display: block;
}

.routing .node {
  fill: #fff;
  stroke: var(--line);
  stroke-width: 1.5;
}

.routing .node-in {
  fill: var(--night);
}

.routing .t1 {
  font: 800 15px var(--font);
  fill: var(--ink);
}

.routing .t2 {
  font: 600 12px var(--font);
  fill: var(--muted);
}

.routing .t-in {
  font: 800 15px var(--font);
  fill: #fff;
}

.routing .t-in2 {
  font: 600 12px var(--font);
  fill: rgba(255, 255, 255, 0.65);
}

.routing .path {
  fill: none;
  stroke: var(--line);
  stroke-width: 2;
}

.routing .flow {
  fill: none;
  stroke: url(#flow);
  stroke-width: 3;
  stroke-linecap: round;
  stroke-dasharray: 2 14;
  animation: dash 1.2s linear infinite;
}

.routing .flow.slow {
  animation-duration: 2.2s;
}

/* Where a scheme goes when its first acquirer is down: the same line, broken */
.routing .path.fallback {
  stroke: var(--peach);
  stroke-dasharray: 6 6;
}

/* A payment that screening stops, and the way it leaves the flow */
.routing .path.stop {
  stroke: var(--coral);
  stroke-dasharray: 4 6;
}

.routing .node.stop {
  fill: #fff6f3;
  stroke: #ffd2c2;
}

.routing .t1.stop {
  fill: var(--coral-ink);
}

/* Where the money goes, in its own colour, so it is plainly not the line the payment took */
.routing .path.money {
  stroke: var(--sage);
  stroke-width: 3;
  stroke-linecap: round;
}

.routing .node.ok {
  fill: var(--sage-soft);
  stroke: #b9dccd;
}

.routing .tag.ok {
  fill: var(--sage-soft);
}

.routing .tag-t.ok {
  fill: var(--sage);
}

.routing .tag.stop {
  fill: #fff6f3;
  stroke: #ffd2c2;
}

.routing .tag-t.stop {
  fill: var(--coral-ink);
}

/* The padlock on the vault */
.routing .lock {
  fill: var(--peach);
}

.routing .lock-s {
  fill: none;
  stroke: var(--peach);
  stroke-width: 2.4;
  stroke-linecap: round;
}

/* A market still with the provider a customer has today, and one that has moved */
.routing .tag.idle {
  fill: var(--chip);
}

.routing .tag-t.idle {
  fill: var(--slate);
}

.routing .tag.hot {
  fill: var(--coral-soft);
}

.routing .tag-t.hot {
  fill: var(--coral-ink);
}

/* The ways to pay has a gradient of its own, since it is wider than the routing drawing's */
.routing .flow.ways {
  stroke: url(#ways);
}

/* A drawing that stands across a section, between its heading and what follows */
.figure-wide {
  max-width: 820px;
  margin: 0 auto clamp(40px, 6vw, 64px);
}

/* A drawing inside a card that already has the card's own surface: no second card around it, and
   its moving dots in the one accent, since the pages that carry it have no gradient to borrow. */
.routing.plain {
  background: none;
  box-shadow: none;
  border-radius: 0;
  padding: 0;
  margin-top: 10px;
}

.routing.plain .flow {
  stroke: var(--coral);
}

.routing .tag {
  fill: var(--plum-soft);
}

.routing .tag-t {
  font: 800 12px var(--font);
  fill: var(--plum);
}

.routing .bar-bg {
  fill: var(--line-2);
}

.routing .bar {
  fill: var(--coral);
}

.routing .bar.ok {
  fill: var(--sage);
}

@keyframes dash {
  to {
    stroke-dashoffset: -32;
  }
}

/* The risk list */
.risk {
  background: #fff;
  border-radius: 16px;
  box-shadow: var(--shadow-lg);
  overflow: hidden;
  font-size: 0.86rem;
}

.risk-head {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  align-items: center;
  gap: 8px;
  padding: 16px 18px;
  border-bottom: 1px solid var(--line-2);
  font-weight: 800;
}

.risk-row {
  display: grid;
  grid-template-columns: 1.1fr 1.3fr auto;
  gap: 12px;
  align-items: center;
  padding: 12px 18px;
  border-bottom: 1px solid var(--line-2);
}

.risk-row span:first-child {
  color: var(--muted);
  font-weight: 600;
}

/* In a browser window the badge column has one width, so the middle column starts on the same line in every row */
.browser .risk-row {
  grid-template-columns: 1.1fr 1.3fr 5.5rem;
}

.browser .risk-row .status {
  justify-self: end;
}

/* A list in a browser window is set at the size of the other drawings, and never breaks a word */
.browser .risk-head,
.browser .risk-row,
.browser .blocked {
  font-size: 0.86rem;
}

.browser .risk-row b {
  overflow-wrap: normal;
}

/* On a phone three columns leave no room for the words, so in a row with a badge the name and the badge share a line and the detail sits beneath */
@media (max-width: 560px) {
  .risk-row:has(.status) {
    grid-template-columns: minmax(0, 1fr) auto;
    gap: 2px 12px;
  }

  .risk-row:has(.status) b {
    grid-column: 1 / -1;
    grid-row: 2;
  }
}

.risk-row b {
  font-variant-numeric: tabular-nums;
  overflow-wrap: anywhere;
}

.blocked {
  margin: 14px 18px 18px;
  display: grid;
  grid-template-columns: auto minmax(0, 1fr);
  gap: 4px 12px;
  align-items: center;
  border-radius: 12px;
  background: #fff6f3;
  border: 1px solid #ffd2c2;
  padding: 12px 14px;
}

.blocked .x {
  grid-row: span 2;
  width: 30px;
  height: 30px;
  border-radius: 50%;
  background: var(--coral);
  color: #fff;
  display: grid;
  place-items: center;
  font-weight: 800;
}

.blocked small {
  color: var(--slate);
}

/* The alert drawing: a morning's approval rate, the line a team set, and what followed when it was crossed */
.watch svg {
  display: block;
  width: 100%;
  height: auto;
  padding: 10px 8px 4px;
}

.watch .w-line,
.watch .w-dip {
  fill: none;
  stroke: var(--sage);
  stroke-width: 3;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.watch .w-dip {
  stroke: var(--coral);
}

.watch .w-dipfill {
  fill: var(--coral-soft);
}

.watch .w-red {
  stroke: #d9482b;
  stroke-width: 1.5;
  stroke-dasharray: 5 5;
}

.watch .w-redt {
  font: 700 11px var(--font);
  fill: #a5301f;
}

.watch .w-tick {
  stroke: var(--line);
  stroke-width: 1.5;
}

.watch .w-dot {
  fill: var(--coral);
  stroke: #fff;
  stroke-width: 2.5;
}

.watch .w-dot.ok {
  fill: var(--sage);
}

.watch .w-lab {
  font: 700 12px var(--font);
  fill: var(--ink);
}

.watch-steps {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 10px;
  padding: 14px 18px 16px;
  border-top: 1px solid var(--line-2);
  font-size: 0.78rem;
  color: var(--slate);
}

.watch-steps b {
  display: block;
  color: var(--ink);
}

/* The night band: for developers */
.night {
  background:
    radial-gradient(900px 500px at 90% 0%, rgba(59, 15, 91, 0.9), transparent 60%),
    var(--night);
  color: var(--night-ink);
  overflow: hidden;
}

.night .eyebrow {
  color: var(--peach);
}

.night .lead,
.night p {
  color: var(--night-slate);
}

.night .link {
  color: var(--peach);
}

.night .points li {
  border-left-color: var(--peach);
}

.night .points b {
  color: var(--night-ink);
}

.night .points span {
  color: var(--night-slate);
}

.dev-grid {
  display: grid;
  grid-template-columns: minmax(0, 0.85fr) minmax(0, 1.15fr);
  gap: clamp(36px, 6vw, 80px);
  align-items: center;
}

@media (max-width: 960px) {
  .dev-grid {
    grid-template-columns: minmax(0, 1fr);
  }
}

.code {
  background: var(--night-2);
  border: 1px solid var(--night-line);
  border-radius: 14px;
  box-shadow: 0 40px 80px -20px rgba(0, 0, 0, 0.6);
  overflow: hidden;
  min-width: 0;
}

.code-bar {
  display: flex;
  gap: 2px;
  padding: 8px;
  border-bottom: 1px solid var(--night-line);
  font-size: 0.82rem;
  font-weight: 700;
  color: var(--night-muted);
}

.code-bar span {
  padding: 8px 12px;
  border-radius: 8px;
}

.code-bar .on {
  background: rgba(255, 255, 255, 0.08);
  color: var(--night-ink);
}

.code pre {
  margin: 0;
  padding: 22px;
  overflow-x: auto;
  font: 400 0.82rem/1.7 var(--mono);
  color: var(--night-ink);
}

.code .k {
  color: #ffb18a;
}

.code .s {
  color: #9fe0c3;
}

.code .n {
  color: #ffd27a;
}

.code .q {
  color: #ff8f63;
}

.code .c {
  color: var(--night-muted);
  font-style: italic;
}

.dev-stats {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 20px;
  margin-top: clamp(48px, 7vw, 80px);
  padding-top: 32px;
  border-top: 1px solid var(--night-line);
}

@media (max-width: 640px) {
  .dev-stats {
    grid-template-columns: minmax(0, 1fr);
  }
}

.dev-stats div {
  display: grid;
  gap: 6px;
}

.dev-stats b {
  font-size: 1.05rem;
  color: var(--night-ink);
}

.dev-stats span {
  color: var(--night-slate);
  font-size: 0.94rem;
}

/* Global reach: the globe and the figures */
.globe-grid {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
  gap: clamp(36px, 6vw, 80px);
  align-items: center;
}

@media (max-width: 920px) {
  .globe-grid {
    grid-template-columns: minmax(0, 1fr);
  }
}

.globe {
  position: relative;
  width: 100%;
  max-width: 560px;
  aspect-ratio: 1;
  margin-inline: auto;
  border-radius: 50%;
  background: radial-gradient(circle at 34% 28%, #ffffff 0, #fbf4f1 40%, #f1e3e6 100%);
  box-shadow: inset -24px -30px 60px rgba(196, 68, 31, 0.07), 0 40px 80px -30px rgba(196, 68, 31, 0.25);
}

.globe canvas {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
}

.figures {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 28px 24px;
  margin-top: 12px;
}

.figures div {
  display: grid;
  gap: 4px;
  padding-left: 16px;
  border-left: 2px solid var(--line);
}

.figures b {
  font-size: clamp(2.2rem, 1.6rem + 2vw, 3.2rem);
  font-weight: 800;
  letter-spacing: -0.04em;
  line-height: 1;
  font-variant-numeric: tabular-nums;
}

.figures span {
  color: var(--slate);
  font-size: 0.95rem;
}

/* Platforms: one account, many merchants, many storefronts */
.tree {
  background: #fff;
  border-radius: 16px;
  box-shadow: var(--shadow-lg);
  padding: 26px 22px;
  display: grid;
  justify-items: center;
}

.tree-top {
  background: var(--night);
  color: #fff;
  border-radius: 12px;
  padding: 12px 18px;
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 4px 10px;
  font-weight: 800;
}

.tree-top small {
  font-weight: 600;
  color: var(--night-slate);
}

.tree-stem {
  width: 2px;
  height: 26px;
  background: var(--line);
}

.tree-row {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 12px;
  width: 100%;
  position: relative;
  padding-top: 22px;
}

.tree-row::before {
  content: '';
  position: absolute;
  top: 0;
  left: 16.6%;
  right: 16.6%;
  height: 2px;
  background: var(--line);
}

.merchant {
  border: 1px solid var(--line);
  border-radius: 12px;
  padding: 12px;
  display: grid;
  gap: 8px;
  position: relative;
  font-size: 0.82rem;
  min-width: 0;
}

.merchant::before {
  content: '';
  position: absolute;
  top: -23px;
  left: 50%;
  width: 2px;
  height: 22px;
  background: var(--line);
}

.merchant b {
  font-size: 0.9rem;
}

.merchant .sites {
  display: flex;
  flex-wrap: wrap;
  gap: 4px;
}

.merchant .sites span {
  background: var(--chip);
  border-radius: 6px;
  padding: 2px 7px;
  font-weight: 700;
  font-size: 0.72rem;
  color: var(--slate);
}

.merchant .ok {
  font-size: 0.72rem;
  font-weight: 700;
  color: var(--sage);
}

.merchant .ok.wait {
  color: var(--amber);
}

/* Payments moving: each merchant's line up to the platform, and the platform's one line on, are
   drawn as dots that travel, so the tree reads as payments flowing and not only as who sits where. */
.tree-stem,
.merchant::before {
  width: 3px;
  background: repeating-linear-gradient(to top, var(--coral) 0 3px, transparent 3px 10px);
  background-size: 3px 10px;
  animation: tree-flow 0.9s linear infinite;
}

.merchant::before {
  margin-left: -1px;
}

@keyframes tree-flow {
  to {
    background-position: 0 -10px;
  }
}

@media (prefers-reduced-motion: reduce) {
  .tree-stem,
  .merchant::before {
    animation: none;
  }
}

@media (max-width: 520px) {
  .tree-row {
    grid-template-columns: minmax(0, 1fr);
  }

  .tree-row::before,
  .merchant::before {
    display: none;
  }
}

/* Trust cards */
.duo {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 20px;
}

@media (max-width: 860px) {
  .duo {
    grid-template-columns: minmax(0, 1fr);
  }
}

.big-card {
  background: #fff;
  border-radius: 18px;
  box-shadow: var(--shadow-md);
  padding: clamp(26px, 4vw, 40px);
  display: grid;
  gap: 18px;
  align-content: start;
  min-width: 0;
}

.big-card h3 {
  font-size: clamp(1.4rem, 1.2rem + 0.8vw, 1.9rem);
}

.big-card p {
  color: var(--slate);
}

/* Rules: short statements in columns */
.cols {
  display: grid;
  gap: 36px 32px;
}

.cols.three {
  grid-template-columns: repeat(3, minmax(0, 1fr));
}

.cols.four {
  grid-template-columns: repeat(4, minmax(0, 1fr));
}

.cols.two {
  grid-template-columns: repeat(2, minmax(0, 1fr));
}

@media (max-width: 1020px) {
  .cols.four {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (max-width: 860px) {
  .cols.three {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (max-width: 600px) {
  .cols.two,
  .cols.three,
  .cols.four {
    grid-template-columns: minmax(0, 1fr);
  }
}

.rule {
  display: grid;
  gap: 10px;
  align-content: start;
}

.rule .ico {
  margin-bottom: 6px;
}

.rule h3 {
  font-size: 1.1rem;
}

.rule p {
  color: var(--slate);
  font-size: 0.97rem;
}

.night .rule h3 {
  color: var(--night-ink);
}

.night .rule p {
  color: var(--night-slate);
}

/* The path to live: a real sequence, so it is numbered */
.path {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 28px 20px;
  counter-reset: step;
}

@media (max-width: 960px) {
  .path {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (max-width: 560px) {
  .path {
    grid-template-columns: minmax(0, 1fr);
  }
}

.path li {
  counter-increment: step;
  display: grid;
  gap: 10px;
  align-content: start;
  padding-top: 22px;
  border-top: 2px solid var(--line);
  position: relative;
}

.path li::before {
  content: counter(step);
  position: absolute;
  top: -15px;
  left: 0;
  width: 28px;
  height: 28px;
  border-radius: 50%;
  background: var(--gradient);
  color: #fff;
  font-weight: 800;
  font-size: 0.85rem;
  display: grid;
  place-items: center;
}

.path b {
  font-size: 1.05rem;
}

.path span {
  font-size: 0.95rem;
  color: var(--slate);
}

.night .path li {
  border-top-color: var(--night-line);
}

.night .path b {
  color: var(--night-ink);
}

.night .path span {
  color: var(--night-slate);
}

/* Closing call */
.cta-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.1fr) minmax(0, 1fr);
  gap: clamp(36px, 6vw, 80px);
  align-items: start;
}

@media (max-width: 900px) {
  .cta-grid {
    grid-template-columns: minmax(0, 1fr);
  }
}

.cta-grid h2 {
  font-size: var(--s-h2);
}

.cta-copy {
  display: grid;
  gap: 22px;
}

.cta-tiles {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 28px;
}

@media (max-width: 520px) {
  .cta-tiles {
    grid-template-columns: minmax(0, 1fr);
  }
}

/* Inner pages */
.page-head {
  padding-block: clamp(40px, 6vw, 80px) clamp(64px, 9vw, 120px);
}

.page-head .wrap {
  display: grid;
  gap: 24px;
}

.page-head h1 {
  font-size: var(--s-h1);
  letter-spacing: -0.045em;
  max-width: 18ch;
}

.page-head .lead {
  color: #2e2a33;
}

.page-head .eyebrow {
  color: var(--deep-violet);
}

.prose {
  max-width: 70ch;
  display: grid;
  gap: 16px;
  color: var(--slate);
}

.prose h2 {
  font-size: 1.45rem;
  color: var(--ink);
  margin-top: 24px;
}

/* Payment methods */
.explorer-bar {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 24px;
}

.filters {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.filter {
  font: 700 0.9rem/1 var(--font);
  padding: 11px 16px;
  border-radius: 999px;
  border: 1px solid var(--line);
  background: #fff;
  color: var(--slate);
  cursor: pointer;
}

.filter[aria-pressed='true'] {
  background: var(--ink);
  color: #fff;
  border-color: var(--ink);
}

.search-row {
  display: flex;
  gap: 12px;
  align-items: center;
  flex-wrap: wrap;
}

.search input {
  font: 600 0.95rem/1 var(--font);
  color: var(--ink);
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 999px;
  padding: 12px 18px;
  width: min(260px, 100%);
}

.count {
  font-size: 0.9rem;
  color: var(--muted);
  font-variant-numeric: tabular-nums;
}

.no-js .explorer-bar {
  display: none;
}

.methods {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(240px, 1fr));
  gap: 14px;
}

.method {
  background: #fff;
  border-radius: 14px;
  box-shadow: var(--shadow-sm);
  border: 1px solid var(--line-2);
  padding: 16px 18px;
  display: grid;
  grid-template-columns: auto minmax(0, 1fr);
  gap: 8px 12px;
  align-items: center;
  min-width: 0;
}

.method[hidden] {
  display: none;
}

.method img {
  width: 46px;
  height: 31px;
}

.method b {
  font-size: 1rem;
  line-height: 1.2;
}

.method p {
  grid-column: 1 / -1;
  font-size: 0.88rem;
  color: var(--slate);
  line-height: 1.45;
}

.flags {
  grid-column: 1 / -1;
  display: flex;
  flex-wrap: wrap;
  gap: 4px;
}

.flags span {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  font-size: 0.7rem;
  font-weight: 800;
  color: var(--slate);
  background: var(--chip);
  padding: 2px 6px 2px 3px;
  border-radius: 5px;
}

.flags img {
  width: 16px;
  height: 12px;
  border-radius: 2px;
  object-fit: cover;
}

.empty {
  padding: 32px;
  text-align: center;
  color: var(--slate);
  border: 1px dashed var(--line);
  border-radius: 14px;
}

.schemes {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
}

.schemes img {
  height: 40px;
  width: auto;
  border-radius: 6px;
  box-shadow: var(--shadow-sm);
}

/* People, both placeholders until the owner supplies them */
.person {
  display: grid;
  gap: 12px;
  align-content: start;
}

.portrait {
  aspect-ratio: 4 / 5;
  max-width: 100%;
  border-radius: 16px;
  background:
    radial-gradient(circle at 50% 38%, rgba(255, 255, 255, 0.55) 0 17%, transparent 18%),
    radial-gradient(ellipse at 50% 100%, rgba(255, 255, 255, 0.55) 0 40%, transparent 41%),
    var(--gradient);
  opacity: 0.85;
}

.person b {
  font-size: 1.05rem;
}

.person span {
  color: var(--slate);
  font-size: 0.94rem;
}

.facts {
  margin: 0;
  display: grid;
  gap: 4px;
}

.facts dt {
  font-size: 0.76rem;
  font-weight: 800;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--muted);
  margin-top: 14px;
}

.facts dt:first-child {
  margin-top: 0;
}

.facts dd {
  margin: 0;
  font-weight: 700;
}

.shot {
  margin: 0;
  border-radius: 14px;
  overflow: hidden;
  box-shadow: var(--shadow-lg);
  background: #fff;
}

/* Footer: the same on every page */
footer {
  background: var(--mist);
  padding-block: 64px 40px;
  font-size: 0.92rem;
  color: var(--slate);
}

.foot {
  display: grid;
  grid-template-columns: minmax(0, 1.3fr) repeat(4, minmax(0, 1fr));
  gap: 32px;
}

@media (max-width: 900px) {
  .foot {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .foot-about {
    grid-column: 1 / -1;
  }
}

.foot-about {
  display: grid;
  gap: 16px;
  align-content: start;
  max-width: 34ch;
}

.foot h2 {
  margin: 0 0 12px;
  font-size: 0.92rem;
  font-weight: 800;
  color: var(--ink);
  letter-spacing: 0;
}

.foot ul {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  gap: 10px;
}

.foot a {
  text-decoration: none;
}

.foot a:hover {
  color: var(--ink);
}

.legal-line {
  margin-top: 48px;
  padding-top: 24px;
  border-top: 1px solid var(--line);
  display: grid;
  gap: 8px;
  font-size: 0.84rem;
  line-height: 1.6;
}

@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }

  .track {
    animation: none;
    flex-wrap: wrap;
    width: auto;
    justify-content: center;
  }

  .track.reverse {
    display: none;
  }

  .routing .flow {
    animation: none;
  }

  .tile,
  .btn,
  .menu-panel {
    transition: none;
  }
}

/* The products page: a bar of product areas that stays in reach, and a card per product, each with
   a small picture of the product at work rather than an icon alone. */
.area-bar {
  position: sticky;
  top: 0;
  z-index: 40;
  background: color-mix(in srgb, #fff 88%, transparent);
  backdrop-filter: saturate(1.4) blur(14px);
  -webkit-backdrop-filter: saturate(1.4) blur(14px);
  border-block: 1px solid var(--line-2);
}

.area-bar .wrap {
  display: flex;
  gap: 6px;
  overflow-x: auto;
  padding-block: 12px;
  scrollbar-width: none;
}

.area-bar .wrap::-webkit-scrollbar {
  display: none;
}

.area-tab {
  flex: none;
  font: 700 0.95rem/1 var(--font);
  color: var(--slate);
  background: transparent;
  border: 0;
  border-radius: 999px;
  padding: 11px 16px;
  cursor: pointer;
  display: inline-flex;
  align-items: center;
  gap: 8px;
}

.area-tab:hover {
  background: var(--mist);
  color: var(--ink);
}

.area-tab[aria-pressed='true'] {
  background: var(--ink);
  color: #fff;
}

.area-tab .n {
  font-size: 0.78rem;
  opacity: 0.6;
  font-variant-numeric: tabular-nums;
}

.no-js .area-bar {
  display: none;
}

.area {
  padding-block: clamp(56px, 7vw, 88px) 0;
  scroll-margin-top: 80px;
}

.area[hidden] {
  display: none;
}

.area-head {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 12px 24px;
  align-items: end;
  margin-bottom: 28px;
}

.area-head h2 {
  font-size: clamp(1.7rem, 1.3rem + 1.3vw, 2.4rem);
}

.area-head p {
  color: var(--slate);
  max-width: 60ch;
  grid-column: 1;
}

.area-head .link {
  grid-column: 2;
  grid-row: 1 / span 2;
  white-space: nowrap;
}

@media (max-width: 700px) {
  .area-head {
    grid-template-columns: minmax(0, 1fr);
  }

  .area-head .link {
    grid-column: 1;
    grid-row: auto;
  }
}

.pgrid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 20px;
}

.pgrid.four {
  grid-template-columns: repeat(4, minmax(0, 1fr));
}

@media (max-width: 1080px) {
  .pgrid.four {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (max-width: 900px) {
  .pgrid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (max-width: 580px) {
  .pgrid,
  .pgrid.four {
    grid-template-columns: minmax(0, 1fr);
  }
}

.pcard {
  background: #fff;
  border-radius: 16px;
  border: 1px solid var(--line-2);
  box-shadow: var(--shadow-sm);
  overflow: hidden;
  display: grid;
  grid-template-rows: auto 1fr;
  text-decoration: none;
  scroll-margin-top: 90px;
  transition:
    box-shadow 0.2s ease,
    transform 0.2s ease;
  min-width: 0;
}

.pcard:hover {
  box-shadow: var(--shadow-md);
  transform: translateY(-3px);
}

.pcard:target {
  box-shadow:
    0 0 0 3px var(--coral-soft),
    var(--shadow-md);
}

.pcard-body {
  padding: 22px 24px 24px;
  display: grid;
  gap: 10px;
  align-content: start;
}

.pcard-name {
  display: flex;
  align-items: center;
  gap: 10px;
  font-weight: 800;
  font-size: 1.1rem;
  letter-spacing: -0.02em;
}

.pcard-name .mi {
  width: 28px;
  height: 28px;
  border-radius: 8px;
  background: var(--gradient);
  color: #fff;
  display: grid;
  place-items: center;
  flex: none;
}

.pcard-name .mi svg {
  width: 15px;
  height: 15px;
}

.pcard-body p {
  color: var(--slate);
  font-size: 0.96rem;
}

.pcard-body .link {
  margin-top: 4px;
  font-size: 0.94rem;
}

.pcard-body .facts-row {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
}

.pcard-body .facts-row span {
  font-size: 0.74rem;
  font-weight: 700;
  color: var(--slate);
  background: var(--chip);
  border-radius: 999px;
  padding: 3px 9px;
}

/* The pictures: a tinted stage with a small piece of the product on it */
.art {
  height: 180px;
  position: relative;
  overflow: hidden;
  display: grid;
  place-items: center;
  padding: 18px;
  background: linear-gradient(135deg, #fff6f0 0%, #ffe6dc 100%);
  font-size: 0.74rem;
  line-height: 1.3;
}

.art.peach {
  background: linear-gradient(135deg, #fff4ec 0%, #ffe0d3 100%);
}

.art.cream {
  background: linear-gradient(135deg, #fbf8f3 0%, #f1e9de 100%);
}

.art.coral {
  background: linear-gradient(135deg, #fff1eb 0%, #ffd8ca 100%);
}

.art.night {
  background:
    radial-gradient(260px 160px at 90% 0%, rgba(255, 107, 69, 0.32), transparent 70%),
    var(--night);
}

.art.big {
  height: 240px;
}

.mini {
  background: #fff;
  border-radius: 10px;
  box-shadow: var(--shadow-md);
  padding: 12px;
  display: grid;
  gap: 7px;
  width: min(240px, 100%);
}

.mini .bar,
.mini-phone .bar {
  height: 8px;
  border-radius: 4px;
  background: var(--line-2);
}

.mini .bar.s,
.mini-phone .bar.s {
  width: 60%;
}

.mini .bar.m,
.mini-phone .bar.m {
  width: 80%;
}

.mini .btn-mini,
.mini-phone .btn-mini {
  height: 22px;
  border-radius: 6px;
  background: var(--coral);
  color: #1a0a05;
  font-weight: 800;
  display: grid;
  place-items: center;
  font-size: 0.7rem;
}

.mini .btn-mini.black,
.mini-phone .btn-mini.black {
  background: #000;
  color: #fff;
}

.mini .btn-mini.white {
  background: #fff;
  color: var(--ink);
  border: 1px solid var(--line);
}

.mini .row-mini {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 8px;
  font-weight: 700;
}

.mini .row-mini span {
  color: var(--muted);
  font-weight: 600;
}

.mini .tagline {
  font-size: 0.66rem;
  font-weight: 800;
  color: var(--plum);
}

.mini.tilt {
  transform: rotate(-3deg);
}

.mini-phone {
  width: 120px;
  height: 200px;
  border-radius: 20px;
  background: #0b0b0f;
  padding: 6px;
  box-shadow: var(--shadow-md);
  margin-top: 70px;
}

.mini-phone > div {
  background: #fff;
  border-radius: 15px;
  height: 100%;
  padding: 16px 10px;
  display: grid;
  gap: 7px;
  align-content: start;
}

.mini-phone .logo {
  width: 22px;
  height: 22px;
  border-radius: 6px;
  background: #1f3b57;
}

.mini-link {
  display: flex;
  align-items: center;
  gap: 8px;
  background: #fff;
  border-radius: 999px;
  padding: 8px 8px 8px 14px;
  box-shadow: var(--shadow-md);
  font-weight: 700;
  max-width: 100%;
  min-width: 0;
}

.mini-link span {
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
  color: var(--slate);
}

.mini-link b {
  flex: none;
  background: var(--ink);
  color: #fff;
  border-radius: 999px;
  padding: 5px 10px;
  font-size: 0.68rem;
}

.mini-stack {
  display: grid;
  gap: 10px;
  justify-items: center;
  width: 100%;
}

.mini-code {
  font: 0.72rem/1.65 var(--mono);
  color: var(--night-ink);
  white-space: pre;
  width: 100%;
  max-width: 260px;
  overflow: hidden;
}

.mini-code .k {
  color: #ffb18a;
}

.mini-code .s {
  color: #9fe0c3;
}

.mini-code .n {
  color: #ffd27a;
}

.mini-code .c {
  color: var(--night-muted);
}

.mini-marks {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 8px;
  max-width: 260px;
}

.mini-marks img {
  width: 54px;
  height: 36px;
  border-radius: 6px;
  box-shadow: var(--shadow-sm);
}

.mini-marks .more {
  width: 54px;
  height: 36px;
  border-radius: 6px;
  background: #fff;
  box-shadow: var(--shadow-sm);
  display: grid;
  place-items: center;
  font-weight: 800;
  color: var(--plum);
  font-size: 0.8rem;
}

.mini-badge {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-weight: 800;
  font-size: 0.7rem;
  border-radius: 999px;
  padding: 3px 9px;
  width: fit-content;
  background: var(--sage-soft);
  color: var(--sage);
}

.mini-badge.warn {
  background: var(--amber-soft);
  color: var(--amber);
}

.mini-badge.bad {
  background: #fbe1de;
  color: #a5301f;
}

.mini-split {
  display: grid;
  gap: 8px;
}

.mini-split .lane {
  display: grid;
  grid-template-columns: 70px minmax(0, 1fr) auto;
  gap: 8px;
  align-items: center;
  font-weight: 700;
}

.mini-split .lane > :last-child {
  font-size: 0.68rem;
  color: var(--muted);
}

.mini-split .track-mini {
  height: 8px;
  border-radius: 4px;
  background: var(--line-2);
  overflow: hidden;
}

.mini-split .fill {
  height: 100%;
  border-radius: 4px;
  background: var(--gradient);
}

.mini-split .w70 {
  width: 70%;
}

.mini-split .w30 {
  width: 30%;
}

.mini-split .w44 {
  width: 44%;
}

.mini-token {
  display: flex;
  align-items: center;
  gap: 10px;
  flex-wrap: wrap;
  justify-content: center;
}

.mini-card {
  width: 120px;
  height: 76px;
  border-radius: 10px;
  background: linear-gradient(135deg, #24202a, #0b0b0f);
  color: #fff;
  padding: 10px;
  display: grid;
  align-content: end;
  font-weight: 700;
  letter-spacing: 0.08em;
  box-shadow: var(--shadow-md);
}

.mini-arrow {
  font-weight: 800;
  color: var(--plum);
  font-size: 1.1rem;
}

.mini-pill {
  background: #fff;
  border-radius: 999px;
  padding: 7px 12px;
  font: 600 0.7rem var(--mono);
  box-shadow: var(--shadow-md);
}

.mini-bars {
  display: flex;
  align-items: flex-end;
  gap: 6px;
  height: 64px;
}

.mini-bars i {
  width: 14px;
  border-radius: 4px 4px 0 0;
  background: var(--gradient);
}

.mini-bars .h1 {
  height: 30%;
}

.mini-bars .h2 {
  height: 45%;
}

.mini-bars .h3 {
  height: 40%;
}

.mini-bars .h4 {
  height: 62%;
}

.mini-bars .h5 {
  height: 55%;
}

.mini-bars .h6 {
  height: 78%;
}

.mini-bars .h7 {
  height: 92%;
}

.mini-steps {
  display: grid;
  gap: 8px;
}

.mini-steps div {
  display: grid;
  grid-template-columns: 12px minmax(0, 1fr) auto;
  gap: 8px;
  align-items: center;
  font-weight: 700;
}

.mini-steps i {
  width: 10px;
  height: 10px;
  border-radius: 50%;
  border: 3px solid var(--sage);
}

.mini-steps span {
  color: var(--muted);
  font-weight: 600;
  font-variant-numeric: tabular-nums;
}

.mini-check {
  display: grid;
  gap: 7px;
}

.mini-check div {
  display: flex;
  align-items: center;
  gap: 8px;
  font-weight: 700;
}

.mini-check i {
  width: 16px;
  height: 16px;
  border-radius: 50%;
  background: var(--sage);
  flex: none;
  position: relative;
}

.mini-check i::after {
  content: '';
  position: absolute;
  left: 5px;
  top: 3px;
  width: 4px;
  height: 7px;
  border: solid #fff;
  border-width: 0 2px 2px 0;
  transform: rotate(45deg);
}

.mini-check i.wait {
  background: var(--amber-soft);
  border: 2px solid var(--amber);
}

.mini-check i.wait::after {
  display: none;
}

.mini-chips {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
}

.mini-chips span {
  background: var(--chip);
  border-radius: 6px;
  padding: 3px 8px;
  font-weight: 700;
  color: var(--slate);
}

.mini-link-accounts {
  display: flex;
  align-items: center;
  gap: 10px;
}

.mini-link-accounts .acct {
  background: #fff;
  border-radius: 10px;
  box-shadow: var(--shadow-md);
  padding: 10px 12px;
  font-weight: 800;
  display: grid;
  gap: 2px;
}

.mini-link-accounts .acct span {
  font-weight: 600;
  color: var(--muted);
  font-family: var(--mono);
  font-size: 0.66rem;
}

.mini-link-accounts .chain {
  width: 30px;
  height: 30px;
  border-radius: 50%;
  background: var(--gradient);
  color: #fff;
  display: grid;
  place-items: center;
}

.mini-link-accounts .chain svg {
  width: 16px;
  height: 16px;
}

.mini-dialog {
  text-align: center;
  justify-items: center;
}

.mini-dialog .bank {
  width: 30px;
  height: 30px;
  border-radius: 50%;
  background: var(--plum-soft);
  color: var(--plum);
  display: grid;
  place-items: center;
}

.mini-dialog .bank svg {
  width: 16px;
  height: 16px;
}

.mini-blocked {
  display: grid;
  grid-template-columns: auto minmax(0, 1fr);
  gap: 2px 10px;
  align-items: center;
}

.mini-blocked .x {
  grid-row: span 2;
  width: 26px;
  height: 26px;
  border-radius: 50%;
  background: var(--coral);
  color: #fff;
  display: grid;
  place-items: center;
  font-weight: 800;
}

.mini-blocked span {
  color: var(--muted);
}

.closer {
  padding-block: clamp(80px, 11vw, 140px);
}

@media (prefers-reduced-motion: reduce) {
  .pcard {
    transition: none;
  }
}

.pgrid.two {
  grid-template-columns: repeat(2, minmax(0, 1fr));
}

@media (max-width: 580px) {
  .pgrid.two {
    grid-template-columns: minmax(0, 1fr);
  }
}

/* Movement down the page (the script adds these classes, and takes them off when the move ends). A
   block rises into place as it arrives, a row of blocks one after another. */
.rise {
  opacity: 0;
  transform: translateY(22px);
  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);
}

.rise.risen {
  opacity: 1;
  transform: none;
}

.rise.rise1 {
  transition-delay: 0.09s;
}

.rise.rise2 {
  transition-delay: 0.18s;
}

.rise.rise3 {
  transition-delay: 0.27s;
}

/* A drawing builds its rows once, in order, when it is reached */
.build .beat {
  opacity: 0;
  transform: translateY(10px);
  transition:
    opacity 0.5s ease,
    transform 0.5s ease;
}

.build.playing .beat {
  opacity: 1;
  transform: none;
}

.build .beat1 {
  transition-delay: 0.16s;
}

.build .beat2 {
  transition-delay: 0.32s;
}

.build .beat3 {
  transition-delay: 0.48s;
}

.build .beat4 {
  transition-delay: 0.64s;
}

.build .beat5 {
  transition-delay: 0.8s;
}

.build .beat6 {
  transition-delay: 0.96s;
}

.build .beat7 {
  transition-delay: 1.12s;
}

/* A badge that turns into what it becomes swells once as it changes */
.turned {
  animation: turned 0.55s ease;
}

@keyframes turned {
  40% {
    transform: scale(1.18);
  }
}

/* A button, a tab and a filter give under the finger */
.btn:active,
.area-tab:active,
.filter:active,
.menu-toggle:active {
  transform: scale(0.96);
}

/* The folded menu drops into place on a phone */
@media (max-width: 1020px) {
  .js .top.open .nav {
    animation: drop 0.28s cubic-bezier(0.2, 0.7, 0.2, 1);
  }
}

@keyframes drop {
  from {
    opacity: 0;
    transform: translateY(-10px);
  }
}

@media (prefers-reduced-motion: reduce) {
  .rise,
  .build .beat {
    opacity: 1;
    transform: none;
    transition: none;
  }

  .turned,
  .js .top.open .nav {
    animation: none;
  }

  .btn:active,
  .area-tab:active,
  .filter:active,
  .menu-toggle:active {
    transform: none;
  }
}
