/* Slashple public site styles.
   One file, no build step. Sections follow the order of the page:
   foundations, header, hero, content blocks, bands, contact, footer, motion. */

/* ---------- Fonts (served from this site, no third party) ---------- */

@font-face {
  font-family: "Inter";
  src: url("/assets/fonts/inter-latin.woff2") format("woff2");
  font-weight: 100 900;
  font-display: swap;
}

@font-face {
  font-family: "Space Grotesk";
  src: url("/assets/fonts/space-grotesk-latin.woff2") format("woff2");
  font-weight: 300 700;
  font-display: swap;
}

/* ---------- Foundations ---------- */

:root {
  --navy: #0e1626;
  --navy-raised: #16223a;
  --blue: #1d4ed8;
  --orange: #ff7a3d;
  --yellow: #ffd166;
  --ink: #0e1626;
  --ink-soft: #33435c;
  --ink-muted: #4a5a73;
  --mist: #f3f5f9;
  --tint: #eef3ff;
  --line: #d9e0ea;
  --line-strong: #c9d2df;
  --on-dark: #d3dbe8;
  --on-dark-muted: #aeb9cb;

  --font-body: "Inter", system-ui, -apple-system, "Segoe UI", sans-serif;
  --font-head: "Space Grotesk", system-ui, sans-serif;

  /* Vertical rhythm: generous on desktop, about half on a phone. */
  --space-section: clamp(64px, 9vw, 128px);
  --space-stack: clamp(36px, 5.5vw, 72px);
  --side: 24px;
}

/* The six division colours. --tone is safe under white text and as text on
   white; --tone-bright is for use on the dark ground. */
.tone-1 { --tone: #2563eb; --tone-bright: #6b9bff; }
.tone-2 { --tone: #7c3aed; --tone-bright: #a78bfa; }
.tone-3 { --tone: #0f766e; --tone-bright: #2dd4bf; }
.tone-4 { --tone: #c2410c; --tone-bright: #ff8a4c; }
.tone-5 { --tone: #be185d; --tone-bright: #f472b6; }
.tone-6 { --tone: #b45309; --tone-bright: #fbbf24; }

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

html {
  scroll-behavior: smooth;
  /* In-page links land below the fixed header, not under it. */
  scroll-padding-top: 88px;
  -webkit-text-size-adjust: 100%;
}

body {
  margin: 0;
  background: var(--navy);
  color: var(--ink);
  font-family: var(--font-body);
  font-size: 16px;
  line-height: 1.65;
  overflow-x: clip;
}

main {
  display: block;
  background: #fff;
}

h1, h2, h3, h4, p, ul, ol, dl, dd, figure {
  margin: 0;
}

/* Running text is set flush left. Justified text opens wide gaps between
   words on a phone, which makes it harder to read. */
p, li {
  text-wrap: pretty;
}

h1, h2, h3, h4 {
  font-family: var(--font-head);
  overflow-wrap: break-word;
  text-wrap: balance;
}

ul, ol {
  padding: 0;
  list-style: none;
}

img, svg {
  display: block;
  max-width: 100%;
}

a {
  color: inherit;
  transition: color 0.2s ease;
}

a:hover {
  color: var(--blue);
}

:focus-visible {
  outline: 2px solid var(--orange);
  outline-offset: 3px;
}

.wrap {
  width: 100%;
  max-width: 1240px;
  margin-inline: auto;
  padding-inline: var(--side);
}

.skip-link {
  position: absolute;
  left: 16px;
  top: -80px;
  z-index: 50;
  padding: 12px 16px;
  background: #fff;
  color: var(--ink);
  font-weight: 600;
}

.skip-link:focus {
  top: 16px;
}

.label {
  font-family: var(--font-body);
  font-size: 13px;
  font-weight: 600;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--ink-muted);
}

.small {
  font-size: 14px;
  color: var(--ink-muted);
}

.lead {
  max-width: 560px;
  font-size: 18px;
  color: var(--ink-soft);
}

/* Icons are drawn with strokes so they take the colour of their text. */
.icon-arrow,
.icon-line,
.burger svg {
  flex: none;
  fill: none;
  stroke: currentColor;
  stroke-width: 2;
}

.icon-arrow,
.burger svg {
  stroke-linecap: square;
}

.icon-line {
  stroke-linecap: round;
  stroke-linejoin: round;
}

/* ---------- Buttons and links ---------- */

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 12px;
  min-height: 56px;
  padding: 0 30px;
  border: 0;
  font: inherit;
  font-weight: 600;
  text-decoration: none;
  cursor: pointer;
  transition: transform 0.2s ease, filter 0.2s ease;
}

.btn:hover {
  transform: translateY(-2px);
  filter: brightness(1.08);
}

.btn--accent,
.btn--accent:hover {
  background: var(--orange);
  color: var(--navy);
}

.btn--blue,
.btn--blue:hover {
  background: var(--blue);
  color: #fff;
}

.btn--outline,
.btn--outline:hover {
  min-height: 44px;
  padding: 0 22px;
  border: 1px solid rgba(255, 255, 255, 0.55);
  background: transparent;
  color: #fff;
  font-size: 15px;
}

.text-link {
  display: inline-flex;
  align-items: center;
  min-height: 44px;
  font-weight: 600;
  text-underline-offset: 6px;
}

.text-link--plain {
  text-decoration: none;
}

/* ---------- Dark opening: header, hero, index ---------- */

.top,
.band--navy,
.site-footer {
  color: #fff;
}

.top a:hover,
.site-header a:hover,
.band--navy a:hover,
.site-footer a:hover {
  color: #ff9a62;
}

.top {
  background-color: var(--navy);
  background-image: linear-gradient(rgba(255, 255, 255, 0.035) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255, 255, 255, 0.035) 1px, transparent 1px);
  background-size: 72px 72px;
}

/* The header stays at the top of the screen on every device while the page
   scrolls beneath it. It sits outside .top so it is not held back when the
   hero scrolls away. */
.site-header {
  position: sticky;
  top: 0;
  z-index: 40;
  border-bottom: 1px solid rgba(255, 255, 255, 0.12);
  /* Nearly solid rather than blurred: a blur behind a fixed bar slows
     scrolling on low-end phones. */
  background: rgba(14, 22, 38, 0.97);
  color: #fff;
}

.site-header__bar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px 24px;
  padding-block: 16px;
}

.brand {
  display: flex;
  align-items: center;
  gap: 12px;
  min-height: 44px;
  font-family: var(--font-head);
  font-size: 23px;
  font-weight: 700;
  letter-spacing: -0.02em;
  text-decoration: none;
  text-transform: lowercase;
}

.nav {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 4px 28px;
}

.nav a:not(.btn) {
  display: flex;
  align-items: center;
  min-height: 44px;
  font-size: 15px;
  font-weight: 500;
  text-decoration: none;
}

.nav a[aria-current="page"] {
  box-shadow: inset 0 -2px 0 var(--orange);
}

/* The menu button names itself, so nobody has to guess what the icon does. */
.burger {
  display: none;
  align-items: center;
  justify-content: center;
  gap: 8px;
  height: 44px;
  padding: 0 14px 0 12px;
  font: inherit;
  font-size: 15px;
  font-weight: 600;
  border: 1px solid rgba(255, 255, 255, 0.55);
  background: transparent;
  color: #fff;
  cursor: pointer;
}

.burger__close,
.burger[aria-expanded="true"] .burger__open {
  display: none;
}

.burger[aria-expanded="true"] .burger__close {
  display: block;
}

/* On mid-sized screens the links sit closer and the menu button gives way,
   so every link stays in view. The Contact link still leads to the form. */
@media (max-width: 1180px) {
  .nav {
    gap: 4px 20px;
  }

  .nav .btn {
    display: none;
  }
}

/* Below 820px the links fold behind the menu button and open as a panel
   across the width of the screen, under the header. */
@media (max-width: 820px) {
  .burger {
    display: flex;
  }

  .nav {
    display: none;
    position: absolute;
    top: calc(100% - 4px);
    right: var(--side);
    left: var(--side);
    z-index: 30;
    flex-direction: column;
    flex-wrap: nowrap;
    align-items: stretch;
    gap: 0;
    padding: 8px;
    background: var(--navy-raised);
    border: 1px solid rgba(255, 255, 255, 0.2);
    box-shadow: 0 24px 48px -16px rgba(0, 0, 0, 0.65);
  }

  .nav.is-open {
    display: flex;
  }

  .nav a:not(.btn) {
    padding: 0 16px;
    white-space: nowrap;
  }

  .nav .btn {
    display: flex;
    margin-top: 8px;
  }
}

/* Hero */

.hero {
  padding-block: clamp(56px, 8vw, 104px) clamp(64px, 8vw, 112px);
}

.hero--slogan {
  display: flex;
  flex-direction: column;
  gap: clamp(32px, 4vw, 56px);
}

.hero--page,
.hero__row {
  display: flex;
  flex-wrap: wrap;
  align-items: flex-end;
  gap: 56px 72px;
}

.hero--legal {
  display: flex;
  flex-direction: column;
  gap: 24px;
  padding-block: clamp(48px, 7vw, 88px) clamp(52px, 7vw, 96px);
}

.hero__copy {
  flex: 3 1 480px;
  min-width: 0;
  display: flex;
  flex-direction: column;
  gap: 30px;
}

/* The slogan stays on one line: its size follows the width of the screen. */
.slogan {
  font-size: clamp(22px, calc((100vw - 48px) / 10.4), 112px);
  font-weight: 700;
  line-height: 1;
  letter-spacing: -0.045em;
  white-space: nowrap;
}

.slogan__mask {
  display: inline-block;
  overflow: hidden;
  vertical-align: bottom;
  padding-bottom: 0.14em;
  margin-bottom: -0.14em;
}

.slogan__word,
.slogan__dot {
  display: inline-block;
}

.slogan__dot,
.hero__dot {
  color: var(--orange);
}

/* On inner pages the headline takes most of the row and the bars sit beside it. */
.hero--page .hero__copy {
  flex: 5 1 560px;
}

.hero--page .bars {
  flex: 1 1 260px;
}

.hero--page .hero__dot {
  color: var(--tone-bright);
}

.hero__title {
  font-size: clamp(30px, 4.8vw, 64px);
  text-wrap: wrap;
  font-weight: 700;
  line-height: 1.02;
  letter-spacing: -0.04em;
}

.hero__lede {
  max-width: 620px;
  font-size: 19px;
  line-height: 1.6;
  color: var(--on-dark);
}

.hero__status {
  align-self: flex-start;
  padding: 8px 14px;
  border: 1px solid var(--tone-bright);
  color: var(--tone-bright);
  font-size: 14px;
  font-weight: 600;
  text-align: left;
}

.hero__effective {
  color: var(--on-dark-muted);
}

.hero__actions {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 12px 32px;
}

/* Six slanted bars, one per division. */
.bars {
  flex: 2 1 300px;
  min-width: 0;
  display: flex;
  align-items: flex-end;
  justify-content: center;
  gap: clamp(10px, 1.6vw, 22px);
  height: clamp(150px, 28vw, 300px);
  padding-inline: 8px clamp(70px, 13vw, 140px);
}

.bar {
  width: clamp(20px, 2.8vw, 42px);
  border: 1px solid rgba(255, 255, 255, 0.28);
  transform: skewX(-24deg);
  transform-origin: bottom;
}

.bar.is-lit {
  border-color: var(--tone-bright);
  background: var(--tone-bright);
}

.bar:nth-child(1) { height: 28%; }
.bar:nth-child(2) { height: 42%; }
.bar:nth-child(3) { height: 56%; }
.bar:nth-child(4) { height: 70%; }
.bar:nth-child(5) { height: 85%; }
.bar:nth-child(6) { height: 100%; }

/* The wallet concept beside a fintech headline. A drawing of the product
   being built: rounded like an app, unlike the square forms of the site. */
.hero__row:has(.wallet),
.hero--page:has(.wallet) {
  align-items: center;
}

.wallet {
  flex: 2 1 340px;
  max-width: 400px;
  margin-inline: auto;
  display: flex;
  flex-direction: column;
  gap: 14px;
}

.wallet__screen {
  display: flex;
  flex-direction: column;
  gap: 18px;
  padding: 24px;
  border: 1px solid rgba(255, 255, 255, 0.14);
  border-radius: 28px;
  background: linear-gradient(160deg, #1c2b4a 0%, #111a2e 100%);
  box-shadow: 0 48px 90px -40px rgba(0, 0, 0, 0.85), inset 0 1px 0 rgba(255, 255, 255, 0.08);
  color: #fff;
  font-variant-numeric: tabular-nums;
}

.wallet__head {
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.wallet__label {
  font-size: 13px;
  color: var(--on-dark-muted);
}

.wallet__pill {
  padding: 3px 10px;
  border-radius: 999px;
  background: rgba(45, 212, 191, 0.16);
  color: #2dd4bf;
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 0.08em;
}

.wallet__total {
  font-family: var(--font-head);
  font-size: clamp(34px, 4vw, 44px);
  font-weight: 700;
  line-height: 1;
  letter-spacing: -0.03em;
}

.wallet__total span {
  font-size: 0.55em;
  color: var(--on-dark-muted);
}

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

.wallet__actions span {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 6px;
  padding: 10px 0;
  border-radius: 14px;
  background: rgba(255, 255, 255, 0.06);
  font-size: 12px;
  font-weight: 600;
}

.wallet__actions svg {
  width: 20px;
  height: 20px;
  color: #2dd4bf;
}

.wallet__currencies li {
  display: flex;
  flex-direction: column;
  padding: 10px 12px;
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 12px;
  font-size: 13px;
  color: var(--on-dark);
}

.wallet__currencies b {
  font-size: 11px;
  letter-spacing: 0.1em;
  color: var(--on-dark-muted);
}

.wallet__card {
  position: relative;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  height: 92px;
  padding: 14px 16px;
  overflow: hidden;
  border-radius: 16px;
  background: linear-gradient(120deg, #0f766e 0%, #1d4ed8 60%, #7c3aed 100%);
}

.wallet__card::after {
  content: "";
  position: absolute;
  right: -34px;
  top: -34px;
  width: 128px;
  height: 128px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.12);
}

.wallet__card-chip {
  width: 30px;
  height: 22px;
  border-radius: 5px;
  background: linear-gradient(135deg, #ffd166, #e0a937);
}

.wallet__card-number {
  font-size: 13px;
  letter-spacing: 0.08em;
  white-space: pre;
}

.wallet__activity li {
  display: flex;
  justify-content: space-between;
  gap: 12px;
  padding-block: 10px;
  border-top: 1px solid rgba(255, 255, 255, 0.08);
  font-size: 13px;
  color: var(--on-dark);
}

.wallet__activity b {
  font-weight: 600;
  white-space: nowrap;
}

.wallet__activity .is-in {
  color: #2dd4bf;
}

.wallet__note {
  font-size: 13px;
  text-align: center;
  color: var(--on-dark-muted);
}

/* Index strip under the homepage hero */

.index {
  border-top: 1px solid rgba(255, 255, 255, 0.12);
}

.index__grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(min(180px, 100%), 1fr));
}

.index__cell {
  display: flex;
  flex-direction: column;
  gap: 6px;
  padding: 19px 16px 22px;
  border-top: 3px solid var(--tone-bright);
  text-align: left;
  text-decoration: none;
  transition: background-color 0.25s ease;
}

.index__cell:hover {
  background-color: rgba(255, 255, 255, 0.06);
}

.index__number {
  font-size: 13px;
  font-weight: 600;
  color: var(--tone-bright);
}

.index__label {
  font-family: var(--font-head);
  font-size: 17px;
  font-weight: 600;
  line-height: 1.3;
}

.index__note {
  font-size: 13px;
  color: var(--on-dark-muted);
}

/* ---------- Light sections ---------- */

.section {
  padding-block: var(--space-section);
}

.section--white { background: #fff; }
.section--mist { background: var(--mist); }
.section--tint { background: var(--tint); }

.section__inner {
  display: flex;
  flex-direction: column;
  gap: var(--space-stack);
}

.section__head {
  display: flex;
  flex-wrap: wrap;
  align-items: flex-end;
  justify-content: space-between;
  gap: 24px 72px;
}

.section__title {
  flex: 1.2 1 420px;
  min-width: 0;
  font-size: clamp(28px, 4.4vw, 60px);
  font-weight: 700;
  line-height: 1.04;
  letter-spacing: -0.035em;
}

.section__intro {
  flex: 1 1 360px;
  min-width: 0;
  max-width: 560px;
  display: flex;
  flex-direction: column;
  gap: 20px;
  font-size: 18px;
  color: var(--ink-soft);
}

/* Cards */

.cards {
  display: grid;
  gap: 16px;
}

.cards--wide { grid-template-columns: repeat(auto-fit, minmax(min(340px, 100%), 1fr)); }
.cards--narrow { grid-template-columns: repeat(auto-fit, minmax(min(260px, 100%), 1fr)); }

.card {
  display: flex;
  flex-direction: column;
  gap: 14px;
  padding: 28px;
  color: var(--ink-soft);
  transition: transform 0.25s ease, box-shadow 0.25s ease;
}

.cards--fill-mist .card { background: var(--mist); }
.cards--fill-white .card { background: #fff; }

.card:hover {
  transform: translateY(-4px);
  box-shadow: 0 24px 48px -28px rgba(14, 22, 38, 0.45);
}

.card__title {
  color: var(--ink);
  font-size: 21px;
  font-weight: 600;
  line-height: 1.25;
  letter-spacing: -0.015em;
}

.card--numbered {
  border-top: 3px solid var(--tone);
}

.card__number {
  font-family: var(--font-head);
  font-size: 15px;
  font-weight: 500;
  color: var(--tone);
}

.card__icon {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 52px;
  height: 52px;
  background: var(--tone);
  color: #fff;
}

/* Pillars are cards without a fill: a coloured rule and text. */
.card--pillar {
  padding: 28px 0 0;
  border-top: 3px solid var(--tone);
  background: transparent;
}

.card--pillar:hover {
  transform: none;
  box-shadow: none;
}

.cards:has(.card--pillar) {
  gap: 48px 56px;
}

/* Company structure diagram */

.structure {
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.structure__units {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(min(160px, 100%), 1fr));
  gap: 8px;
}

.structure__unit {
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  gap: 28px;
  min-height: 124px;
  padding: 18px;
  background: var(--tone);
  color: #fff;
  text-align: left;
}

.structure__number {
  font-size: 13px;
  font-weight: 600;
}

.structure__label {
  font-family: var(--font-head);
  font-size: 18px;
  font-weight: 600;
  line-height: 1.2;
}

.structure__base,
.structure__company {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 6px 24px;
  padding: 18px;
}

.structure__base {
  background: var(--navy);
  color: #fff;
}

.structure__base .small {
  color: var(--on-dark-muted);
}

.structure__company {
  border: 2px solid var(--navy);
}

.structure figcaption {
  margin-top: 8px;
}

/* Facts */

.facts {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(min(240px, 100%), 1fr));
  gap: 0 40px;
}

.fact {
  display: flex;
  flex-direction: column;
  gap: 6px;
  padding-block: 22px;
  border-top: 2px solid var(--navy);
}

.fact dd {
  font-family: var(--font-head);
  font-size: 19px;
  font-weight: 600;
  line-height: 1.3;
}

/* Division rows */

.rows {
  border-bottom: 1px solid var(--line);
}

.row {
  display: flex;
  flex-wrap: wrap;
  align-items: baseline;
  gap: 12px 48px;
  padding: clamp(28px, 3.4vw, 40px) 12px;
  border-top: 1px solid var(--line);
  transition: background-color 0.25s ease, padding-left 0.25s ease;
}

.row:hover {
  background-color: var(--mist);
  padding-left: 28px;
}

.row__number {
  flex: 0 0 96px;
  font-family: var(--font-head);
  font-size: 32px;
  font-weight: 500;
  line-height: 1;
  color: var(--tone);
}

.row__title {
  flex: 1 1 280px;
  min-width: 0;
  font-size: clamp(22px, 2.4vw, 32px);
  font-weight: 600;
  line-height: 1.15;
  letter-spacing: -0.025em;
  text-align: left;
}

.row__title a {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  min-height: 44px;
  text-decoration: none;
}

.row__body {
  flex: 2 1 420px;
  min-width: 0;
  display: flex;
  flex-direction: column;
  gap: 12px;
  font-size: 17px;
  color: var(--ink-soft);
}

/* Rails: stations along a length of track */

.track {
  display: flex;
  flex-direction: column;
  gap: 20px;
}

.track__list {
  display: grid;
  gap: 48px 0;
}

.track__list--3 { grid-template-columns: repeat(auto-fit, minmax(min(340px, 100%), 1fr)); }
.track__list--5 { grid-template-columns: repeat(auto-fit, minmax(min(220px, 100%), 1fr)); }

.track__item {
  display: flex;
  flex-direction: column;
  gap: 14px;
}

.track__line {
  position: relative;
  display: flex;
  align-items: center;
  height: 30px;
}

/* Two rails with sleepers between them. */
.track__rail {
  flex: 1 1 0;
  height: 10px;
  border-block: 2px solid var(--navy);
  background-image: repeating-linear-gradient(90deg, var(--navy) 0 3px, transparent 3px 18px);
  transform-origin: left;
}

.track__station {
  position: absolute;
  left: 0;
  top: 0;
  width: 30px;
  height: 30px;
  border: 4px solid #fff;
  border-radius: 50%;
  background: var(--tone);
  box-shadow: 0 0 0 2px var(--navy);
}

.track__runner {
  position: absolute;
  top: 9px;
  left: 30px;
  width: 12px;
  height: 12px;
  background: var(--tone);
  opacity: 0;
}

.track__text {
  display: flex;
  flex-direction: column;
  gap: 8px;
  padding-right: 28px;
  color: var(--ink-soft);
}

.track__title {
  color: var(--ink);
  font-size: 22px;
  font-weight: 600;
  line-height: 1.2;
  letter-spacing: -0.02em;
}

/* Statement */

.statement {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 24px 72px;
  padding: clamp(28px, 4vw, 56px);
  background: var(--tint);
  font-size: 18px;
  color: var(--ink-soft);
}

.statement > * {
  flex: 1 1 360px;
  min-width: 0;
}

.statement__title {
  color: var(--ink);
  font-size: clamp(24px, 3vw, 40px);
  font-weight: 700;
  line-height: 1.1;
  letter-spacing: -0.03em;
}

/* Progress stages */

.stages {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(min(300px, 100%), 1fr));
  gap: 48px 56px;
}

.stage {
  display: flex;
  flex-direction: column;
  gap: 18px;
  padding-top: 24px;
  border-top: 3px solid var(--stage);
}

.stage--completed { --stage: #0f766e; }
.stage--progress { --stage: var(--blue); }
.stage--ahead { --stage: var(--ink-muted); }

.stage__name {
  display: flex;
  align-items: center;
  gap: 10px;
  color: var(--stage);
}

/* The mark shows the status by shape as well as colour. */
.stage__mark circle {
  fill: none;
  stroke: currentColor;
  stroke-width: 2;
}

.stage__mark--completed circle,
.stage__mark path {
  fill: currentColor;
}

.stage li {
  padding-block: 18px;
  border-top: 1px solid var(--line-strong);
  color: var(--ink-soft);
}

/* Model steps */

.steps {
  display: flex;
  flex-direction: column;
  gap: 20px;
}

.steps__heading,
.chips__heading {
  font-size: 22px;
  font-weight: 600;
  letter-spacing: -0.02em;
}

.steps__list {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(min(230px, 100%), 1fr));
  gap: 12px;
}

.step {
  display: flex;
  flex-direction: column;
  gap: 12px;
  padding: 24px;
  border: 1px solid var(--line-strong);
  background: #fff;
  font-size: 15px;
  color: var(--ink-soft);
}

.step__count {
  display: flex;
  align-items: center;
  justify-content: space-between;
  font-size: 13px;
  font-weight: 600;
  color: var(--ink-muted);
}

.step__title {
  color: var(--ink);
  font-size: 20px;
  font-weight: 600;
  line-height: 1.2;
}

.step--highlight {
  border-color: var(--navy);
  background: var(--navy);
  color: var(--on-dark);
}

.step--highlight .step__title { color: #fff; }
.step--highlight .step__count { color: var(--on-dark-muted); }

/* Transfer corridor: money leaving one place and arriving in another */

.corridor {
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.corridor__route {
  display: grid;
  grid-template-columns: minmax(0, 210px) 1fr minmax(0, 210px);
  align-items: center;
  gap: 32px;
  padding: clamp(24px, 4vw, 44px);
  background: var(--navy);
  color: #fff;
}

.corridor__end {
  display: flex;
  flex-direction: column;
  gap: 4px;
}

.corridor__end--to {
  align-items: flex-end;
  text-align: right;
}

.corridor__currency {
  font-family: var(--font-head);
  font-size: clamp(34px, 4vw, 52px);
  font-weight: 700;
  line-height: 1;
  letter-spacing: -0.03em;
  color: #2dd4bf;
}

.corridor__end--to .corridor__currency {
  color: var(--yellow);
}

.corridor__place {
  margin-top: 6px;
  font-family: var(--font-head);
  font-size: 18px;
  font-weight: 600;
}

.corridor__route .small {
  color: var(--on-dark-muted);
}

.corridor__line {
  position: relative;
}

.corridor__line::before {
  content: "";
  position: absolute;
  top: 7px;
  left: 0;
  right: 0;
  height: 2px;
  background: repeating-linear-gradient(90deg, rgba(255, 255, 255, 0.4) 0 6px, transparent 6px 12px);
}

.corridor__stops {
  position: relative;
  display: flex;
  justify-content: space-between;
  gap: 8px;
}

.corridor__stop {
  flex: 1 1 0;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 10px;
  font-size: 13px;
  font-weight: 500;
  line-height: 1.35;
  text-align: center;
  color: var(--on-dark);
}

.corridor__dot {
  flex: none;
  width: 16px;
  height: 16px;
  border: 3px solid #2dd4bf;
  border-radius: 50%;
  background: var(--navy);
}

.corridor__pulse {
  position: absolute;
  z-index: 1;
  top: 3px;
  left: 0;
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background: var(--yellow);
  box-shadow: 0 0 0 5px rgba(255, 209, 102, 0.22);
  opacity: 0;
}

/* On a phone the route runs down the screen instead of across it. */
@media (max-width: 720px) {
  .corridor__route {
    grid-template-columns: 1fr;
  }

  .corridor__end--to {
    align-items: flex-start;
    text-align: left;
  }

  .corridor__line::before {
    top: 0;
    bottom: 0;
    left: 7px;
    right: auto;
    width: 2px;
    height: auto;
    background: repeating-linear-gradient(180deg, rgba(255, 255, 255, 0.4) 0 6px, transparent 6px 12px);
  }

  .corridor__stops {
    flex-direction: column;
    gap: 18px;
  }

  .corridor__stop {
    flex-direction: row;
    text-align: left;
  }

  .corridor__pulse {
    left: 3px;
  }
}

/* Figures: a few large numbers with what they measure */

.figures {
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.figures__list {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(min(240px, 100%), 1fr));
  gap: 0 40px;
}

.figure {
  display: flex;
  flex-direction: column;
  gap: 10px;
  padding-block: 24px;
  border-top: 3px solid var(--tone);
}

.figure__value {
  font-family: var(--font-head);
  font-size: clamp(40px, 5vw, 64px);
  font-weight: 700;
  line-height: 1;
  letter-spacing: -0.04em;
  color: var(--tone);
}

.figure dd {
  max-width: 340px;
  color: var(--ink-soft);
}

/* Chips and the action row */

.chips {
  display: flex;
  flex-direction: column;
  gap: 20px;
}

.chips ul {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(min(260px, 100%), 1fr));
  gap: 12px;
}

.chips li {
  display: flex;
  align-items: center;
  min-height: 56px;
  padding: 8px 20px;
  border: 1px solid var(--line-strong);
  font-weight: 500;
  text-align: left;
}

.action {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 20px 40px;
  padding-top: 40px;
  border-top: 1px solid var(--line);
}

.action .small {
  flex: 1 1 360px;
  min-width: 0;
}

/* ---------- Coloured bands ---------- */

.band {
  padding-block: var(--space-section);
  color: #fff;
}

.band--blue { background: var(--blue); }
.band--navy { background: var(--navy); }

.band__inner {
  display: flex;
  flex-direction: column;
  gap: var(--space-stack);
}

.band__title {
  font-size: clamp(30px, 5vw, 72px);
  font-weight: 700;
  line-height: 1.02;
  letter-spacing: -0.04em;
}

.band--blue .band__dot { color: var(--yellow); }
.band--navy .band__dot { color: var(--orange); }

.band__grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(min(260px, 100%), 1fr));
  gap: 48px;
}

.band__item {
  display: flex;
  flex-direction: column;
  gap: 14px;
  padding-top: 28px;
  border-top: 1px solid rgba(255, 255, 255, 0.4);
}

.band__item h3 {
  font-size: 24px;
  font-weight: 600;
  line-height: 1.2;
  letter-spacing: -0.02em;
}

.band__letter {
  font-family: var(--font-head);
  font-size: 15px;
  font-weight: 500;
}

.band--blue .band__letter { color: var(--yellow); }
.band--blue .band__item p:last-child { color: #e6ecff; }
.band--navy .band__letter { color: var(--orange); }
.band--navy .band__item p:last-child { color: var(--on-dark); }

/* Questions */

.faq__inner {
  display: flex;
  flex-wrap: wrap;
  gap: 48px 88px;
}

.faq .section__title {
  flex: 1 1 320px;
}

.faq__list {
  flex: 2 1 480px;
  min-width: 0;
  border-top: 1px solid rgba(255, 255, 255, 0.2);
}

.faq details {
  border-bottom: 1px solid rgba(255, 255, 255, 0.2);
}

.faq summary {
  padding-block: 22px;
  font-family: var(--font-head);
  font-size: clamp(18px, 1.8vw, 22px);
  font-weight: 600;
  line-height: 1.3;
  letter-spacing: -0.01em;
  text-align: left;
  cursor: pointer;
}

.faq details p {
  max-width: 760px;
  padding-bottom: 26px;
  font-size: 17px;
  color: var(--on-dark);
}

/* ---------- Contact and closing ---------- */

.contact__inner {
  display: flex;
  flex-wrap: wrap;
  gap: 56px 88px;
}

.contact__intro {
  flex: 1 1 380px;
  min-width: 0;
  display: flex;
  flex-direction: column;
  gap: 22px;
}

.contact .section__title,
.closing .section__title {
  flex: none;
}

.contact__details {
  margin-top: 16px;
  border-top: 1px solid var(--line-strong);
}

.contact__details div {
  display: flex;
  flex-wrap: wrap;
  gap: 4px 24px;
  padding-block: 16px;
  border-bottom: 1px solid var(--line-strong);
}

.contact__details dt {
  width: 72px;
  font-weight: 600;
}

.contact__details dd {
  flex: 1 1 220px;
  min-width: 0;
  color: var(--ink-soft);
}

.contact__details a {
  text-decoration: none;
}

.contact__form,
.contact__closed {
  flex: 1 1 420px;
  min-width: 0;
  padding: clamp(24px, 4vw, 48px);
  border: 1px solid var(--line);
  background: #fff;
  box-shadow: 0 24px 60px -32px rgba(14, 22, 38, 0.35);
}

.contact__form {
  display: flex;
  flex-direction: column;
  gap: 22px;
}

.contact__form .btn {
  align-self: flex-start;
}

.field {
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.field label {
  font-size: 15px;
  font-weight: 600;
}

.field input,
.field select,
.field textarea {
  width: 100%;
  min-height: 52px;
  padding: 12px 16px;
  border: 1px solid #8a97ab;
  border-radius: 0;
  background: #fff;
  color: var(--ink);
  font: inherit;
  text-align: left;
}

.field textarea {
  resize: vertical;
}

/* Hidden from people and from assistive technology. Automated senders that
   fill in every field reveal themselves here. */
.field--trap {
  position: absolute;
  left: -9999px;
  width: 1px;
  height: 1px;
  overflow: hidden;
}

.notice-line {
  padding: 14px 16px;
  font-weight: 500;
  text-align: left;
}

.notice-line--ok {
  background: #e7f6f1;
  color: #0b5c55;
}

.notice-line--error {
  background: #fdecec;
  color: #9b1c1c;
}

.closing__inner {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 32px 72px;
}

.closing__text {
  flex: 2 1 420px;
  min-width: 0;
  display: flex;
  flex-direction: column;
  gap: 18px;
}

.closing__actions {
  display: flex;
  flex-direction: column;
  gap: 14px;
}

/* ---------- Legal pages and notices ---------- */

.legal {
  max-width: 820px;
  margin-inline: auto;
  padding: clamp(56px, 7vw, 96px) var(--side) clamp(64px, 9vw, 120px);
  display: flex;
  flex-direction: column;
  gap: 40px;
  font-size: 17px;
  color: var(--ink-soft);
}

.clause {
  display: flex;
  flex-direction: column;
  gap: 14px;
  padding-top: 32px;
  border-top: 1px solid var(--line);
}

.clause h2 {
  color: var(--ink);
  font-size: 24px;
  font-weight: 600;
  line-height: 1.2;
  letter-spacing: -0.02em;
  text-align: left;
}

.notice {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 24px;
  padding-block: clamp(72px, 12vw, 160px);
  background: transparent;
}

/* ---------- Footer ---------- */

.site-footer {
  overflow: hidden;
  background: var(--navy);
  color: var(--on-dark);
}

.colour-strip {
  display: flex;
  height: 6px;
}

.colour-strip span {
  flex: 1 1 0;
  background: var(--tone-bright);
}

.site-footer__inner {
  display: flex;
  flex-direction: column;
  gap: 40px;
  padding-top: 72px;
}

.site-footer__top {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: 40px 64px;
}

.site-footer__brand {
  flex: 1 1 320px;
  max-width: 460px;
  display: flex;
  flex-direction: column;
  gap: 18px;
}

.site-footer .small {
  color: var(--on-dark);
}

.site-footer .label {
  padding-bottom: 8px;
  color: var(--on-dark-muted);
}

.site-footer__slogan {
  color: #fff;
  font-family: var(--font-head);
  font-size: 24px;
  font-weight: 600;
  letter-spacing: -0.02em;
}

.site-footer__column {
  display: flex;
  flex-direction: column;
  color: #fff;
  text-align: left;
}

.site-footer__column a {
  display: flex;
  align-items: center;
  min-height: 40px;
  font-size: 15px;
  text-decoration: none;
}

.site-footer__address {
  max-width: 240px;
  margin-top: 8px;
}

.site-footer__copyright {
  padding-top: 24px;
  border-top: 1px solid rgba(255, 255, 255, 0.14);
}

.site-footer__wordmark {
  margin-bottom: -0.16em;
  color: rgba(255, 255, 255, 0.07);
  font-family: var(--font-head);
  font-size: clamp(72px, 17.5vw, 250px);
  font-weight: 700;
  line-height: 0.9;
  letter-spacing: -0.05em;
  text-transform: lowercase;
  white-space: nowrap;
}

/* ---------- Motion ---------- */

@keyframes rise {
  from { opacity: 0; transform: translateY(22px); }
  to { opacity: 1; transform: none; }
}

@keyframes grow {
  from { opacity: 0; transform: skewX(-24deg) scaleY(0); }
  to { opacity: 1; transform: skewX(-24deg) scaleY(1); }
}

@keyframes word-up {
  from { transform: translateY(115%); }
  to { transform: none; }
}

@keyframes dot-land {
  0% { transform: scale(0); }
  70% { transform: scale(1.5); }
  100% { transform: scale(1); }
}

@keyframes draw {
  from { transform: scaleX(0); }
  to { transform: scaleX(1); }
}

/* A narrow band of colour crosses each word of the slogan in turn. */
@keyframes shine {
  0% { background-position: 120% 0; }
  32%, 100% { background-position: -20% 0; }
}

.rise {
  animation: rise 0.8s cubic-bezier(0.2, 0.7, 0.2, 1) both;
}

.hero__copy > .rise:nth-child(2) { animation-delay: 0.08s; }
.hero__copy > .rise:nth-child(3) { animation-delay: 0.16s; }
.hero__copy > .rise:nth-child(4) { animation-delay: 0.24s; }

.bar {
  animation: grow 0.9s cubic-bezier(0.2, 0.7, 0.2, 1) both;
}

.bar:nth-child(1) { animation-delay: 0.2s; }
.bar:nth-child(2) { animation-delay: 0.28s; }
.bar:nth-child(3) { animation-delay: 0.36s; }
.bar:nth-child(4) { animation-delay: 0.44s; }
.bar:nth-child(5) { animation-delay: 0.52s; }
.bar:nth-child(6) { animation-delay: 0.6s; }

.slogan__word {
  animation: word-up 0.9s cubic-bezier(0.2, 0.7, 0.2, 1) both;
}

.slogan__mask:nth-child(2) .slogan__word { animation-delay: 0.09s; }
.slogan__mask:nth-child(3) .slogan__word { animation-delay: 0.18s; }
.slogan__mask:nth-child(4) .slogan__word { animation-delay: 0.27s; }

.slogan__dot {
  transform-origin: 50% 85%;
  animation: dot-land 0.5s cubic-bezier(0.3, 1.4, 0.5, 1) 0.75s both;
}

/* Without support for clipping a background to text, the slogan stays white. */
@supports ((-webkit-background-clip: text) or (background-clip: text)) {
  .slogan__shine {
    background-image: linear-gradient(100deg, #fff 0%, #fff 38%, #6b9bff 44%, #2dd4bf 50%, #ff8a4c 56%, #fff 62%, #fff 100%);
    background-size: 350% 100%;
    background-position: -20% 0;
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
    animation: shine 5.2s cubic-bezier(0.4, 0, 0.2, 1) 1.4s infinite;
  }

  .slogan__mask:nth-child(2) .slogan__shine { animation-delay: 1.62s; }
  .slogan__mask:nth-child(3) .slogan__shine { animation-delay: 1.84s; }
  .slogan__mask:nth-child(4) .slogan__shine { animation-delay: 2.06s; }
}

/* Where the browser supports it, each stretch of track draws in as it
   scrolls into view. */
@supports (animation-timeline: view()) {
  .track__rail {
    animation: draw linear both;
    animation-timeline: view();
    animation-range: entry 10% cover 35%;
  }
}

/* A marker travels the stretches of track one after another. Each stretch
   shows its marker only during its own sixth of the twelve-second cycle. */
@keyframes leg-1 { 0% { left: 30px; opacity: 1; } 16.66% { left: calc(100% - 12px); opacity: 1; } 16.67%, 100% { left: calc(100% - 12px); opacity: 0; } }
@keyframes leg-2 { 0%, 16.66% { left: 30px; opacity: 0; } 16.67% { left: 30px; opacity: 1; } 33.32% { left: calc(100% - 12px); opacity: 1; } 33.33%, 100% { left: calc(100% - 12px); opacity: 0; } }
@keyframes leg-3 { 0%, 33.32% { left: 30px; opacity: 0; } 33.33% { left: 30px; opacity: 1; } 49.99% { left: calc(100% - 12px); opacity: 1; } 50%, 100% { left: calc(100% - 12px); opacity: 0; } }
@keyframes leg-4 { 0%, 49.99% { left: 30px; opacity: 0; } 50% { left: 30px; opacity: 1; } 66.66% { left: calc(100% - 12px); opacity: 1; } 66.67%, 100% { left: calc(100% - 12px); opacity: 0; } }
@keyframes leg-5 { 0%, 66.66% { left: 30px; opacity: 0; } 66.67% { left: 30px; opacity: 1; } 83.32% { left: calc(100% - 12px); opacity: 1; } 83.33%, 100% { left: calc(100% - 12px); opacity: 0; } }
@keyframes leg-6 { 0%, 83.32% { left: 30px; opacity: 0; } 83.33% { left: 30px; opacity: 1; } 99.99% { left: calc(100% - 12px); opacity: 1; } 100% { left: calc(100% - 12px); opacity: 0; } }

.track__item:nth-child(1) .track__runner { animation: leg-1 12s linear infinite; }
.track__item:nth-child(2) .track__runner { animation: leg-2 12s linear infinite; }
.track__item:nth-child(3) .track__runner { animation: leg-3 12s linear infinite; }
.track__item:nth-child(4) .track__runner { animation: leg-4 12s linear infinite; }
.track__item:nth-child(5) .track__runner { animation: leg-5 12s linear infinite; }
.track__item:nth-child(6) .track__runner { animation: leg-6 12s linear infinite; }

/* The card in the wallet drawing floats, and a payment travels the corridor. */
@keyframes float {
  0%, 100% { transform: none; }
  50% { transform: translateY(-5px); }
}

@keyframes travel-across {
  0% { left: 0; opacity: 0; }
  12%, 88% { opacity: 1; }
  100% { left: calc(100% - 10px); opacity: 0; }
}

@keyframes travel-down {
  0% { top: 0; opacity: 0; }
  12%, 88% { opacity: 1; }
  100% { top: calc(100% - 10px); opacity: 0; }
}

.wallet {
  animation: rise 0.9s cubic-bezier(0.2, 0.7, 0.2, 1) 0.3s both;
}

.wallet__card {
  animation: float 6s ease-in-out infinite;
}

.corridor__pulse {
  animation: travel-across 4.5s ease-in-out infinite;
}

@media (max-width: 720px) {
  .corridor__pulse {
    animation-name: travel-down;
  }
}

/* Stillness: for visitors who ask their device for less motion, and when the
   Animations feature is switched off in the admin panel. */
.no-motion *,
.no-motion *::before,
.no-motion *::after {
  animation: none !important;
  transition: none !important;
}

.no-motion {
  scroll-behavior: auto;
}

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

  *,
  *::before,
  *::after {
    animation: none !important;
    transition: none !important;
  }
}

/* ---------- Print ---------- */

@media print {
  .site-header, .bars, .index, .contact__form, .site-footer__wordmark, .colour-strip {
    display: none;
  }

  body, .top, .band, .site-footer {
    background: #fff !important;
    color: #000 !important;
  }
}
