/*
  Freightform site v3.1
  Brand type: Source Serif 4 (titles at 600), Hanken Grotesk (body and UI), IBM Plex Mono (amounts only).
  Dark hero, warm stone sections. Button radius matches branding (0.5rem).
  Self-contained: pages migrate from styles.css to this file one at a time.
*/

:root {
  --night: #0a2323;
  --deep: #14403f;
  --harbour: #286363;
  --mint: #a7dccb;
  --ink: #14252a;
  --muted: #5b6c6c;
  --stone: #f3f3ef;
  --white: #ffffff;
  --tint: #e5eeec;
  --rule: #d9dcd6;
  --amber: #8f5400;
  --amber-bg: #fbeed6;
  --amber-line: #d98a14;

  --serif: "Source Serif 4", Georgia, "Times New Roman", serif;
  --sans: "Hanken Grotesk", system-ui, -apple-system, "Segoe UI", sans-serif;
  --mono: "IBM Plex Mono", ui-monospace, "SFMono-Regular", monospace;

  --radius: 0.5rem;
  --max: 72rem;
  --gutter: clamp(1.25rem, 4vw, 2.5rem);
  --header: 3.75rem;
  --header-offset: 0.75rem;
}

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

html {
  scroll-behavior: smooth;
  scroll-padding-top: calc(var(--header) + var(--header-offset) + 1rem);
}

body {
  margin: 0;
  font-family: var(--sans);
  font-size: 1rem;
  line-height: 1.65;
  color: var(--ink);
  background: var(--stone);
  -webkit-font-smoothing: antialiased;
}

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

p {
  margin: 0 0 1rem;
}

a {
  color: var(--harbour);
}

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

:focus-visible {
  outline: 3px solid var(--amber-line);
  outline-offset: 3px;
}

::selection {
  background: var(--mint);
  color: var(--night);
}

html {
  accent-color: var(--harbour);
}

h1,
h2,
h3 {
  margin: 0;
  font-family: var(--serif);
  font-weight: 600;
  line-height: 1.1;
  letter-spacing: -0.02em;
  color: inherit;
  text-wrap: balance;
}

.container {
  width: min(100% - var(--gutter) * 2, var(--max));
  margin-inline: auto;
}

.mono {
  font-family: var(--mono);
  font-size: 0.9em;
  font-variant-numeric: tabular-nums;
}

.visually-hidden {
  position: absolute;
  width: 1px;
  height: 1px;
  margin: -1px;
  padding: 0;
  overflow: hidden;
  clip: rect(0 0 0 0);
  white-space: nowrap;
  border: 0;
}

.skip-link {
  position: absolute;
  left: 1rem;
  top: -4rem;
  z-index: 200;
  padding: 0.6rem 1rem;
  background: var(--ink);
  color: var(--white);
  font-weight: 600;
}

.skip-link:focus {
  top: 1rem;
}

/* Buttons and links */

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0.8rem 1.5rem;
  border: 1px solid var(--harbour);
  border-radius: var(--radius);
  background: var(--harbour);
  color: var(--white);
  font-family: var(--sans);
  font-size: 0.9375rem;
  font-weight: 500;
  letter-spacing: -0.005em;
  line-height: 1.2;
  text-decoration: none;
  cursor: pointer;
  transition: background-color 0.15s, border-color 0.15s, color 0.15s;
}

.btn:hover {
  background: var(--deep);
  border-color: var(--deep);
  color: var(--white);
}

.btn--small {
  padding: 0.55rem 1.1rem;
}

.btn--mint {
  background: var(--mint);
  border-color: var(--mint);
  color: var(--night);
}

.btn--mint:hover {
  background: var(--white);
  border-color: var(--white);
  color: var(--night);
}

.text-link {
  font-size: 0.9375rem;
  font-weight: 500;
  color: inherit;
  text-decoration: underline;
  text-decoration-thickness: 1px;
  text-underline-offset: 0.35em;
}

/* Inline links get a 44px touch area without moving the layout */
.text-link,
.site-footer a {
  display: inline-block;
  padding-block: 0.65rem;
  margin-block: -0.65rem;
}

.text-link:hover {
  color: inherit;
  text-decoration-thickness: 2px;
}

/* Header */

.site-header {
  position: fixed;
  top: var(--header-offset);
  left: 0;
  right: 0;
  z-index: 100;
  margin: 0;
  height: auto;
  background: transparent;
  border: 0;
}

.site-header__inner {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1.5rem;
  height: var(--header);
  padding-inline: 1.1rem;
  border: 1px solid rgb(217 220 214 / 85%);
  border-radius: 0.75rem;
  background: rgb(255 255 255 / 90%);
  box-shadow: 0 10px 28px rgb(10 35 35 / 10%);
  backdrop-filter: saturate(1.15) blur(14px);
  -webkit-backdrop-filter: saturate(1.15) blur(14px);
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 0.625rem;
  color: var(--ink);
  font-family: var(--serif);
  font-size: 1.0625rem;
  font-weight: 600;
  letter-spacing: -0.02em;
  line-height: 1;
  text-decoration: none;
}

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

.brand__mark {
  width: 2rem;
  height: 2rem;
  border-radius: 9px;
  background: var(--harbour);
  object-fit: cover;
  flex-shrink: 0;
}

.brand__word {
  font: inherit;
}

.site-header__cta {
  display: none;
}

.site-nav {
  display: flex;
  align-items: center;
  gap: 2rem;
}

.site-nav a:not(.btn) {
  color: var(--ink);
  font-size: 0.9375rem;
  font-weight: 400;
  text-decoration: none;
}

.site-nav a:not(.btn):hover,
.site-nav a.is-active {
  color: var(--harbour);
}

.nav-toggle {
  display: none;
  flex-direction: column;
  justify-content: center;
  gap: 5px;
  width: 2.75rem;
  height: 2.75rem;
  padding: 0 0.65rem;
  border: 0;
  background: transparent;
  cursor: pointer;
}

.nav-toggle span {
  display: block;
  height: 1.5px;
  background: var(--ink);
  transition: transform 0.2s, opacity 0.2s;
}

.nav-toggle[aria-expanded="true"] span:nth-child(1) {
  transform: translateY(6.5px) rotate(45deg);
}

.nav-toggle[aria-expanded="true"] span:nth-child(2) {
  opacity: 0;
}

.nav-toggle[aria-expanded="true"] span:nth-child(3) {
  transform: translateY(-6.5px) rotate(-45deg);
}

/* Hero: dark, with the ledger overlapping into the stone section below */

.hero {
  position: relative;
  padding:
    calc(var(--header) + var(--header-offset) + clamp(1.5rem, 3.5vw, 2.75rem))
    0
    clamp(3rem, 5vw, 4.5rem);
  background-color: var(--night);
  background-image:
    radial-gradient(52rem 26rem at 88% -6%, rgb(70 160 140 / 30%), transparent 70%),
    radial-gradient(40rem 22rem at 4% 62%, rgb(40 99 99 / 28%), transparent 70%);
  color: var(--white);
}

.hero::after {
  content: "";
  position: absolute;
  inset: auto 0 0 0;
  height: clamp(5rem, 11vw, 9rem);
  background: var(--stone);
}

.hero > .container {
  position: relative;
  z-index: 1;
}

.hero__top {
  display: grid;
  grid-template-columns: minmax(0, 1.4fr) minmax(0, 1fr);
  gap: 2.5rem clamp(2rem, 6vw, 5rem);
  align-items: end;
  margin-bottom: clamp(2.5rem, 5vw, 4rem);
}

.hero__title {
  font-size: clamp(2.6rem, 5.8vw, 4.75rem);
  font-weight: 600;
  line-height: 1.04;
  letter-spacing: -0.025em;
  text-wrap: pretty;
}

.hero__title span {
  display: block;
}

.hero__sub {
  max-width: 28rem;
  margin: 0 0 1.75rem;
  font-size: 1.0625rem;
  line-height: 1.6;
  color: rgb(255 255 255 / 78%);
}

.hero__actions {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 1rem 1.75rem;
}

/* Shipment ledger (hero object) */

.ledger {
  background: var(--white);
  color: var(--ink);
  border: 1px solid rgb(255 255 255 / 12%);
  border-radius: var(--radius);
  box-shadow: 0 50px 90px -40px rgb(0 0 0 / 65%);
}

.ledger__head {
  display: flex;
  flex-wrap: wrap;
  align-items: baseline;
  justify-content: space-between;
  gap: 0.25rem 1.5rem;
  margin: 0;
  padding: 0.9rem 1.25rem;
  border-bottom: 1px solid var(--rule);
  font-size: 0.875rem;
}

.ledger__head p {
  margin: 0;
}

.ledger__ship {
  font-weight: 600;
}

.ledger__ref {
  margin-left: 0.75rem;
  font-size: 0.875rem;
  font-weight: 400;
  color: var(--muted);
}

.ledger__body {
  display: grid;
  grid-template-columns: minmax(0, 1.35fr) minmax(0, 1fr);
}

.ledger__col {
  padding: 1.25rem;
  min-width: 0;
}

.ledger__col + .ledger__col {
  border-left: 1px solid var(--rule);
}

/* Lines on this shipment */

.lines {
  width: 100%;
  border-collapse: collapse;
  font-size: 0.9375rem;
  table-layout: fixed;
}

.lines col.lines__col-label {
  width: auto;
}

.lines col.lines__col-amount {
  width: 7.5rem;
}

.lines th,
.lines td {
  padding: 0.45rem 0;
  border-bottom: 1px solid var(--tint);
  text-align: left;
  font-weight: 400;
  color: var(--ink);
  vertical-align: baseline;
}

.lines__group th {
  padding: 1.35rem 0 0.55rem;
  border-bottom: 2px solid var(--harbour);
  font-family: var(--sans);
  font-size: 0.9375rem;
  font-weight: 600;
  letter-spacing: -0.01em;
  color: var(--harbour);
}

.lines__group--exception th {
  border-bottom-color: var(--amber-line);
  color: var(--amber);
}

tbody:first-of-type .lines__group th {
  padding-top: 0.15rem;
}

.lines td.lines__amount {
  width: 7.5rem;
  text-align: right;
  white-space: nowrap;
  font-weight: 500;
  font-variant-numeric: tabular-nums;
  color: var(--ink);
}

.lines__src {
  display: block;
  margin-top: 0.15rem;
  margin-left: 0;
  font-size: 0.8125rem;
  font-weight: 400;
  color: var(--muted);
}

.lines__sum th,
.lines__sum td {
  padding-top: 0.65rem;
  font-weight: 600;
  color: var(--ink);
}

.lines__sum .lines__src {
  font-weight: 400;
  color: var(--muted);
}

.row--extra th,
.row--extra td {
  background: var(--amber-bg);
  color: var(--amber);
  border-bottom-color: var(--amber-line);
  font-weight: 600;
}

.row--extra th {
  padding-left: 0.6rem;
}

.row--extra td.lines__amount {
  padding-right: 0.6rem;
  color: var(--amber);
}

.row--extra .lines__src {
  color: var(--amber);
  font-weight: 600;
}

/* Margin panel */

.margin {
  display: flex;
  flex-direction: column;
  gap: 1.5rem;
  height: 100%;
}

.margin__totals {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1rem;
}

.margin__label {
  margin: 0 0 0.35rem;
  font-family: var(--sans);
  font-size: 0.875rem;
  font-weight: 600;
  letter-spacing: 0;
  line-height: 1.3;
  color: var(--muted);
}

.margin__money {
  margin: 0;
  font-family: var(--serif);
  font-size: clamp(1.75rem, 2.8vw, 2.25rem);
  font-weight: 600;
  font-variant-numeric: tabular-nums;
  line-height: 1;
  letter-spacing: -0.03em;
}

.margin__money--sell {
  color: var(--harbour);
}

.margin__money--bill {
  color: #b42318;
}

.margin__result {
  padding-top: 0.75rem;
}

.margin__figure {
  margin: 0;
  font-family: var(--serif);
  font-size: clamp(2.75rem, 4.4vw, 3.6rem);
  font-weight: 600;
  line-height: 1;
  letter-spacing: -0.03em;
  color: var(--amber);
}

.margin__caption {
  margin: 0.6rem 0 0;
  font-size: 0.875rem;
  line-height: 1.5;
  color: var(--muted);
}

.decide {
  display: grid;
  gap: 0.55rem;
  margin-top: auto;
  padding-top: 0.85rem;
  border-top: 1px solid var(--rule);
}

.decide__prompt {
  margin: 0;
  font-size: 0.8125rem;
  font-weight: 600;
  color: var(--muted);
}

.decide__row {
  display: flex;
  flex-wrap: wrap;
  gap: 0.45rem;
  margin: 0;
  padding: 0;
  list-style: none;
}

.decide__tag {
  display: inline-flex;
  align-items: center;
  padding: 0.35rem 0.7rem;
  border: 1px solid var(--rule);
  border-radius: 999px;
  background: var(--stone);
  color: var(--ink);
  font-family: var(--sans);
  font-size: 0.8125rem;
  font-weight: 500;
  line-height: 1.2;
}

.decide__tag--recharge {
  border-color: rgb(40 99 99 / 35%);
  background: var(--tint);
  color: var(--harbour);
}

.decide__tag--dispute {
  border-color: rgb(20 64 63 / 28%);
  color: var(--deep);
}

.decide__tag--absorb {
  color: var(--muted);
}

/* Sections */

.section {
  padding: clamp(4.5rem, 9vw, 8rem) 0;
}

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

.section--first {
  padding-top: clamp(3rem, 6vw, 5rem);
}

.section__title {
  max-width: 18em;
  font-size: clamp(2.1rem, 4.4vw, 3.5rem);
  font-weight: 600;
  line-height: 1.1;
}

.section__lede {
  max-width: 32rem;
  margin: 1.25rem 0 0;
  color: var(--muted);
}

/* Legal pages (privacy, terms) */

.legal-hero {
  padding: clamp(5.5rem, 12vw, 8rem) 0 clamp(2.5rem, 5vw, 3.5rem);
  background:
    radial-gradient(ellipse 80% 60% at 10% 0%, rgb(40 99 99 / 0.22), transparent 55%),
    var(--night);
  color: var(--stone);
}

.legal-hero h1 {
  margin: 0;
  font-family: var(--serif);
  font-size: clamp(2.4rem, 5vw, 3.75rem);
  font-weight: 600;
  letter-spacing: -0.03em;
  color: var(--white);
}

.legal-hero .section__lede {
  color: rgb(243 243 239 / 0.72);
}

.legal {
  max-width: 40rem;
}

.legal h2 {
  margin: 2.5rem 0 0.75rem;
  font-family: var(--serif);
  font-size: 1.5rem;
  font-weight: 600;
  letter-spacing: -0.02em;
}

.legal h2:first-child {
  margin-top: 0;
}

.legal p,
.legal li {
  color: var(--muted);
}

.legal p {
  margin: 0 0 1rem;
}

.legal ul {
  margin: 0 0 1rem;
  padding-left: 1.25rem;
}

.legal li {
  margin: 0.35rem 0;
}

.legal a {
  color: var(--harbour);
  text-decoration: underline;
  text-underline-offset: 0.15em;
}

/* Paper trail */

.trail__list {
  display: grid;
  grid-template-columns: repeat(5, minmax(0, 1fr));
  column-gap: 1.75rem;
  row-gap: 0.4rem;
  margin: clamp(2.5rem, 5vw, 4rem) 0 0;
  padding: 0;
  list-style: none;
  border-top: 1px solid var(--ink);
}

.trail__item {
  position: relative;
  display: grid;
  grid-template-rows: subgrid;
  grid-row: span 4;
  padding-top: 1.5rem;
}

.trail__item::before {
  content: "";
  position: absolute;
  top: -6px;
  left: 0;
  width: 11px;
  height: 11px;
  border: 1px solid var(--harbour);
  border-radius: 50%;
  background: var(--harbour);
}

.trail__item--late::before {
  border-color: var(--amber-line);
  background: var(--amber-line);
}

.trail__date {
  display: block;
  font-family: var(--serif);
  font-size: 1.75rem;
  font-weight: 600;
  line-height: 1.1;
  letter-spacing: -0.02em;
}

.trail__what {
  display: flex;
  align-items: center;
  gap: 0.4rem;
  font-size: 0.875rem;
  color: var(--muted);
}

.trail__icon {
  width: 1.1rem;
  height: 1.1rem;
  flex-shrink: 0;
}

.trail__says {
  margin: 0;
  padding-top: 0.5rem;
  font-size: 0.9375rem;
  line-height: 1.5;
}

.trail__fate {
  margin: 0;
  padding-top: 0.75rem;
  align-self: start;
  font-size: 0.875rem;
  font-weight: 600;
}

.trail__item--late .trail__fate {
  color: var(--amber);
}

/* Features */

.step__title {
  position: relative;
  z-index: 1;
  margin-bottom: 1rem;
  font-size: clamp(2.35rem, 4.2vw, 3.25rem);
  font-weight: 600;
  line-height: 1.05;
  letter-spacing: -0.03em;
}

.feature__text p {
  position: relative;
  z-index: 1;
  max-width: 26rem;
  margin: 0;
  font-size: 1.125rem;
  line-height: 1.6;
  color: var(--muted);
}

.ba {
  position: relative;
  z-index: 1;
  max-width: 26rem;
  margin: 1.75rem 0 0;
  border-top: 1px solid var(--rule);
}

.ba__row {
  display: grid;
  grid-template-columns: 4.5rem minmax(0, 1fr);
  gap: 0.75rem;
  padding: 0.8rem 0;
  border-bottom: 1px solid var(--rule);
  font-size: 1.0625rem;
  line-height: 1.5;
}

.ba dt {
  position: relative;
  padding-left: 1rem;
  font-weight: 600;
}

.ba dt::before {
  content: "";
  position: absolute;
  top: 0.5em;
  left: 0;
  width: 0.5rem;
  height: 0.5rem;
  border-radius: 50%;
  background: var(--amber-line);
}

.ba__row--after dt {
  color: var(--harbour);
}

.ba__row--after dt::before {
  background: var(--harbour);
}

.ba dd {
  margin: 0;
  color: var(--muted);
}

.ba__row--after dd {
  color: var(--ink);
  font-weight: 500;
}

.features {
  display: grid;
  gap: clamp(3rem, 6vw, 5.5rem);
  margin: 0;
  padding: 0;
  list-style: none;
}

.feature {
  position: relative;
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1.2fr);
  gap: clamp(2rem, 6vw, 5rem);
  align-items: center;
  overflow: visible;
}

.feature__text {
  position: relative;
  z-index: 3;
  overflow: visible;
}

.feature__num {
  position: absolute;
  z-index: 0;
  top: -0.12em;
  right: 0;
  left: auto;
  font-family: var(--serif);
  font-size: clamp(12rem, 22vw, 18rem);
  font-weight: 600;
  line-height: 0.7;
  letter-spacing: -0.1em;
  color: var(--harbour);
  opacity: 0.12;
  pointer-events: none;
  user-select: none;
  text-align: right;
}

/* Light vertical stagger, always on the right of the text column. */
.feature:nth-child(1) .feature__num {
  top: -0.16em;
}

.feature:nth-child(2) .feature__num {
  top: -0.24em;
}

.feature:nth-child(3) .feature__num {
  top: 0.02em;
}

.feature--flip .feature__visual {
  order: -1;
}

.feature__visual {
  position: relative;
  z-index: 1;
  min-width: 0;
}

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

/* Animation stages */

.stage {
  --u: 1rem;
  position: relative;
  display: flex;
  flex-direction: column;
  justify-content: center;
  gap: 1rem;
  min-height: 26rem;
  padding: 1.5rem;
  overflow: hidden;
  border-radius: var(--radius);
  background:
    radial-gradient(60% 70% at 85% 0%, rgba(167, 220, 203, 0.16), transparent 70%),
    radial-gradient(50% 60% at 0% 100%, rgba(40, 99, 99, 0.45), transparent 70%),
    var(--night);
  color: var(--ink);
}

.stage svg {
  display: block;
  flex: none;
}

.stage .num {
  font-family: var(--mono);
  font-variant-numeric: tabular-nums;
}

.stage .cursor {
  position: absolute;
  z-index: 3;
  width: 1.5rem;
  height: 1.5rem;
  pointer-events: none;
  filter: drop-shadow(0 2px 3px rgba(0, 0, 0, 0.35));
}

.stage.is-paused,
.stage.is-paused *,
.stage.is-paused *::before,
.stage.is-paused *::after {
  animation-play-state: paused !important;
}

/* 1. Forward it: documents flow into the logo */

.stage--flow {
  display: block;
}

.flow__logo {
  position: absolute;
  z-index: 2;
  top: 50%;
  left: 50%;
  width: 4.5rem;
  height: 4.5rem;
  margin: -2.25rem 0 0 -2.25rem;
  border-radius: 1rem;
  box-shadow: 0 0 0 1px rgba(255, 255, 255, 0.12), 0 12px 32px rgba(0, 0, 0, 0.4);
  animation: absorb 1s ease-out 0.1s infinite both;
}

.flow__ring {
  position: absolute;
  z-index: 1;
  top: 50%;
  left: 50%;
  width: 4.5rem;
  height: 4.5rem;
  margin: -2.25rem 0 0 -2.25rem;
  border: 1px solid var(--mint);
  border-radius: 1.4rem;
  opacity: 0;
  animation: ring 2.4s ease-out infinite both;
}

.flow__ring--b {
  animation-delay: 1.2s;
}

.flow__label {
  position: absolute;
  z-index: 2;
  top: calc(50% + 3.25rem);
  left: 50%;
  padding: 0.3rem 0.7rem;
  border-radius: 999px;
  background: rgb(255 255 255 / 10%);
  box-shadow: inset 0 0 0 1px rgb(255 255 255 / 18%);
  color: var(--mint);
  font-size: 0.75rem;
  font-weight: 500;
  white-space: nowrap;
  transform: translateX(-50%);
}

.chip {
  --tx: calc(var(--dx) * var(--u));
  --ty: calc(var(--dy) * 1rem);
  position: absolute;
  top: 50%;
  left: 50%;
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.45rem 0.8rem 0.45rem 0.55rem;
  border-radius: var(--radius);
  background: var(--white);
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.3);
  font-size: 0.8125rem;
  font-weight: 500;
  line-height: 1.2;
  white-space: nowrap;
  transform: translate(-50%, -50%);
  translate: var(--tx) var(--ty);
  animation: chip-in 6s cubic-bezier(0.5, 0, 0.6, 1) calc(var(--n) * 1s - 3s) infinite both;
}

.chip svg {
  width: 1.25rem;
  height: 1.25rem;
}

@keyframes chip-in {
  0% {
    translate: var(--tx) var(--ty);
    scale: 1;
    opacity: 0;
  }
  10% {
    opacity: 1;
  }
  52% {
    translate: 0 0;
    scale: 0.5;
    opacity: 1;
  }
  60%,
  100% {
    translate: 0 0;
    scale: 0.15;
    opacity: 0;
  }
}

@keyframes absorb {
  0% {
    scale: 1;
  }
  18% {
    scale: 1.09;
  }
  50%,
  100% {
    scale: 1;
  }
}

@keyframes ring {
  0% {
    scale: 1;
    opacity: 0.6;
  }
  100% {
    scale: 2.6;
    opacity: 0;
  }
}

/* 2. Check it: a bill is read, one line is confirmed */

.doc {
  position: relative;
  overflow: hidden;
  border-radius: var(--radius);
  background: var(--white);
  box-shadow: 0 16px 40px rgba(0, 0, 0, 0.35);
}

.doc__head {
  display: flex;
  align-items: center;
  gap: 0.6rem;
  padding: 0.8rem 1rem;
  border-bottom: 1px solid var(--rule);
  font-size: 0.875rem;
  font-weight: 600;
}

.doc__head svg {
  width: 1.25rem;
  height: 1.25rem;
}

.doc__read {
  margin-left: auto;
  padding: 0.15rem 0.5rem;
  border-radius: 999px;
  background: var(--tint);
  color: var(--harbour);
  font-size: 0.75rem;
}

.doc__scan {
  position: absolute;
  z-index: 2;
  top: 0;
  right: 0;
  left: 0;
  height: 3rem;
  border-bottom: 2px solid var(--harbour);
  background: linear-gradient(to bottom, transparent, rgba(40, 99, 99, 0.16));
  pointer-events: none;
  animation: scan 3.2s linear infinite both;
}

@keyframes scan {
  0% {
    top: -3rem;
  }
  100% {
    top: 100%;
  }
}

.doc__rows {
  margin: 0;
  padding: 0.35rem 0;
  list-style: none;
}

.doc__row {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto 5.5rem;
  align-items: center;
  gap: 0.75rem;
  padding: 0.55rem 1rem;
  font-size: 0.875rem;
  animation: row-cycle 10s ease infinite both;
  animation-delay: calc(var(--i) * 0.4s);
}

.doc__row--unsure {
  animation:
    row-cycle 10s ease infinite both,
    row-flag 10s linear infinite both;
  animation-delay: calc(var(--i) * 0.4s);
}

.doc__row > span {
  color: var(--muted);
}

.doc__row > b {
  font-weight: 500;
  text-align: right;
}

.doc__row > b:not(.num) {
  font-family: var(--sans);
}

.doc__row > i {
  display: grid;
  justify-self: end;
  place-items: center;
  width: 1.4rem;
  height: 1.4rem;
  border-radius: 50%;
  background: var(--harbour);
  color: var(--white);
  animation: ok-pop 10s ease infinite both;
  animation-delay: calc(var(--i) * 0.4s);
}

.doc__row > i svg {
  width: 0.8rem;
  height: 0.8rem;
}

.doc__row > i.unsure {
  position: relative;
  width: 100%;
  height: auto;
  padding: 0.2rem 0;
  border-radius: 999px;
  background: var(--harbour);
  color: var(--white);
  font-size: 0.75rem;
  font-style: normal;
  font-weight: 600;
  animation: unsure-pill 10s ease infinite both;
  animation-delay: calc(var(--i) * 0.4s);
}

.unsure em {
  grid-area: 1 / 1;
  font-style: normal;
}

.unsure__a {
  opacity: 0;
  animation: unsure-a 10s ease infinite both;
  animation-delay: calc(var(--i) * 0.4s);
}

.unsure__b {
  animation: unsure-b 10s ease infinite both;
  animation-delay: calc(var(--i) * 0.4s);
}

.doc__row .cursor {
  top: 55%;
  left: 62%;
  animation: cursor-check 10s ease infinite both;
  animation-delay: calc(var(--i) * 0.4s);
}

@keyframes row-cycle {
  0% {
    opacity: 0;
    translate: 0 0.5rem;
  }
  4% {
    opacity: 1;
    translate: 0 0;
  }
  90% {
    opacity: 1;
  }
  97%,
  100% {
    opacity: 0;
  }
}

@keyframes row-flag {
  0%,
  8% {
    background-color: transparent;
  }
  12%,
  50% {
    background-color: var(--amber-bg);
  }
  56%,
  100% {
    background-color: transparent;
  }
}

@keyframes ok-pop {
  0%,
  5% {
    scale: 0;
  }
  10% {
    scale: 1.3;
  }
  14%,
  100% {
    scale: 1;
  }
}

@keyframes unsure-pill {
  0%,
  8% {
    background: var(--amber-line);
    color: var(--ink);
    scale: 0;
  }
  12% {
    scale: 1.1;
  }
  15%,
  50% {
    background: var(--amber-line);
    color: var(--ink);
    scale: 1;
  }
  54%,
  100% {
    background: var(--harbour);
    color: var(--white);
    scale: 1;
  }
}

@keyframes unsure-a {
  0%,
  8% {
    opacity: 0;
  }
  12%,
  50% {
    opacity: 1;
  }
  52%,
  100% {
    opacity: 0;
  }
}

@keyframes unsure-b {
  0%,
  52% {
    opacity: 0;
  }
  56%,
  100% {
    opacity: 1;
  }
}

@keyframes cursor-check {
  0%,
  30% {
    opacity: 0;
    translate: 3.5rem 2.5rem;
  }
  38% {
    opacity: 1;
  }
  46% {
    translate: 0 0;
    scale: 1;
  }
  49% {
    scale: 0.8;
  }
  52% {
    scale: 1;
  }
  62% {
    opacity: 1;
    translate: 0 0;
  }
  70%,
  100% {
    opacity: 0;
    translate: 2rem 2rem;
  }
}

/* 3. Bill it: decide, invoice, margin */

.xc {
  padding: 1rem;
  border-radius: var(--radius);
  background: var(--white);
  box-shadow: 0 16px 40px rgba(0, 0, 0, 0.35);
}

.xc__line {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 1rem;
  margin-bottom: 0.9rem;
  font-size: 0.9375rem;
}

.xc__line b {
  display: block;
  font-weight: 600;
}

.xc__tag {
  display: grid;
  justify-items: start;
  margin-top: 0.35rem;
}

.xc__tag em {
  grid-area: 1 / 1;
  padding: 0.12rem 0.55rem;
  border-radius: 999px;
  font-size: 0.75rem;
  font-style: normal;
  font-weight: 600;
}

.xc__a {
  background: var(--amber-bg);
  color: var(--amber);
  opacity: 0;
  animation: xc-a 9s ease infinite both;
}

.xc__b {
  background: var(--tint);
  color: var(--harbour);
  animation: xc-b 9s ease infinite both;
}

.xc__btns {
  display: grid;
  grid-template-columns: 1.4fr 1fr 1fr;
  gap: 0.5rem;
}

.xc__btn {
  position: relative;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0.6rem 0.3rem;
  border-radius: var(--radius);
  color: var(--white);
  font-size: 0.8125rem;
  font-weight: 500;
  text-align: center;
}

.xc__btn--recharge {
  background: var(--harbour);
  animation: btn-press 9s ease infinite both;
}

.xc__btn--dispute {
  background: var(--deep);
  opacity: 0.3;
  animation: btn-dim 9s ease infinite both;
}

.xc__btn--absorb {
  background: var(--ink);
  opacity: 0.3;
  animation: btn-dim 9s ease infinite both;
}

.xc__btn .cursor {
  top: 55%;
  left: 62%;
  animation: cursor-bill 9s ease infinite both;
}

.bill__row {
  display: grid;
  grid-template-columns: minmax(0, 1.5fr) minmax(0, 1fr);
  gap: 1rem;
}

.inv {
  min-height: 9.5rem;
  padding: 0.9rem 1rem;
  border-radius: var(--radius);
  background: var(--white);
  box-shadow: 0 16px 40px rgba(0, 0, 0, 0.35);
  font-size: 0.8125rem;
}

.inv p {
  margin: 0;
}

.inv__head {
  margin-bottom: 0.5rem !important;
  color: var(--muted);
  font-size: 0.75rem;
  font-weight: 600;
}

.inv__line,
.inv__total {
  display: flex;
  justify-content: space-between;
  gap: 0.75rem;
  padding: 0.35rem 0;
}

.inv__line b {
  font-weight: 500;
}

.inv__line--new {
  animation: inv-new 9s ease infinite both;
}

.inv__total {
  margin-top: 0.25rem !important;
  border-top: 1px solid var(--ink);
  font-weight: 600;
}

.inv__sum {
  display: grid;
  justify-items: end;
  font-family: var(--serif);
  font-size: 1.0625rem;
}

.inv__sum em {
  grid-area: 1 / 1;
  font-style: normal;
}

.inv__a {
  opacity: 0;
  animation: inv-a 9s ease infinite both;
}

.inv__b {
  animation: inv-b 9s ease infinite both;
}

.mg {
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding: 0.9rem 1rem;
  border-radius: var(--radius);
  background: rgba(255, 255, 255, 0.07);
  box-shadow: inset 0 0 0 1px rgba(255, 255, 255, 0.14);
  color: var(--white);
}

.mg p {
  margin: 0;
}

.mg__label {
  color: var(--mint);
  font-size: 0.75rem;
  font-weight: 600;
}

.mg__val {
  display: grid;
  margin-top: 0.35rem !important;
  font-family: var(--serif);
  font-size: clamp(1.6rem, 3.4vw, 2.25rem);
  font-weight: 600;
  line-height: 1.1;
  letter-spacing: -0.02em;
}

.mg__val em {
  grid-area: 1 / 1;
  font-style: normal;
}

.mg__a {
  color: #f5b862;
  opacity: 0;
  animation: mg-a 9s ease infinite both;
}

.mg__b {
  color: var(--mint);
  transform-origin: left center;
  animation: mg-b 9s ease infinite both;
}

@keyframes xc-a {
  0%,
  28% {
    opacity: 1;
  }
  32%,
  92% {
    opacity: 0;
  }
  97%,
  100% {
    opacity: 1;
  }
}

@keyframes xc-b {
  0%,
  30% {
    opacity: 0;
  }
  34%,
  92% {
    opacity: 1;
  }
  97%,
  100% {
    opacity: 0;
  }
}

@keyframes btn-press {
  0%,
  25% {
    scale: 1;
  }
  28% {
    scale: 0.94;
  }
  32%,
  100% {
    scale: 1;
  }
}

@keyframes btn-dim {
  0%,
  26% {
    opacity: 1;
  }
  32%,
  92% {
    opacity: 0.3;
  }
  97%,
  100% {
    opacity: 1;
  }
}

@keyframes cursor-bill {
  0%,
  6% {
    opacity: 0;
    translate: 4rem 3.5rem;
  }
  12% {
    opacity: 1;
  }
  24% {
    translate: 0 0;
    scale: 1;
  }
  27% {
    scale: 0.8;
  }
  30% {
    scale: 1;
  }
  38% {
    opacity: 1;
    translate: 0 0;
  }
  46%,
  100% {
    opacity: 0;
    translate: 2rem 2.5rem;
  }
}

@keyframes inv-new {
  0%,
  34% {
    opacity: 0;
    translate: 0 -0.4rem;
    background-color: transparent;
  }
  40% {
    opacity: 1;
    translate: 0 0;
    background-color: var(--tint);
  }
  52%,
  92% {
    opacity: 1;
    translate: 0 0;
    background-color: transparent;
  }
  97%,
  100% {
    opacity: 0;
    translate: 0 -0.4rem;
    background-color: transparent;
  }
}

@keyframes inv-a {
  0%,
  38% {
    opacity: 1;
  }
  42%,
  92% {
    opacity: 0;
  }
  97%,
  100% {
    opacity: 1;
  }
}

@keyframes inv-b {
  0%,
  38% {
    opacity: 0;
  }
  42%,
  92% {
    opacity: 1;
  }
  97%,
  100% {
    opacity: 0;
  }
}

@keyframes mg-a {
  0%,
  44% {
    opacity: 1;
  }
  48%,
  92% {
    opacity: 0;
  }
  97%,
  100% {
    opacity: 1;
  }
}

@keyframes mg-b {
  0%,
  46% {
    opacity: 0;
    scale: 0.85;
  }
  52% {
    opacity: 1;
    scale: 1.12;
  }
  58%,
  92% {
    opacity: 1;
    scale: 1;
  }
  97%,
  100% {
    opacity: 0;
    scale: 0.85;
  }
}

/* Mid-page harbour CTA */

.cta-band {
  position: relative;
  display: grid;
  min-height: clamp(22rem, 42vw, 30rem);
  overflow: hidden;
  color: var(--ink);
  background: #f4f7f8;
}

.cta-band__img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: left center;
}

.cta-band__inner {
  position: relative;
  z-index: 1;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  justify-content: center;
  gap: 1.5rem;
  max-width: min(100% - var(--gutter) * 2, 28rem);
  margin-left: max(var(--gutter), calc((100% - var(--max)) / 2));
  margin-right: auto;
  padding: clamp(3rem, 7vw, 5rem) 0;
}

.cta-band__title {
  max-width: 11em;
  font-size: clamp(2rem, 4.2vw, 3.1rem);
  font-weight: 600;
  line-height: 1.12;
  letter-spacing: -0.02em;
  text-wrap: balance;
}

.cta-band .btn {
  background: var(--harbour);
  border-color: var(--harbour);
  color: var(--white);
}

.cta-band .btn:hover {
  background: var(--deep);
  border-color: var(--deep);
  color: var(--white);
}

/* Desks */

.desks__list {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 2.5rem clamp(1.5rem, 3.5vw, 3rem);
  align-items: start;
  margin: clamp(2rem, 4vw, 3rem) 0 0;
  padding: 0;
  list-style: none;
}

.role__panel {
  display: flex;
  align-items: stretch;
  aspect-ratio: 4 / 3;
  margin-bottom: 1.5rem;
  padding: 0;
  overflow: hidden;
  border: 1px solid var(--rule);
  border-radius: var(--radius);
  background: var(--white);
  color: var(--ink);
}

.role__panel > * {
  flex: 1;
  min-height: 0;
}

.role__panel svg {
  display: block;
  flex: none;
  width: 1.15rem;
  height: 1.15rem;
}

.role__panel .num {
  font-family: var(--mono);
  font-variant-numeric: tabular-nums;
}

/* Management */

.mgmt {
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  width: 100%;
  padding: 1.15rem 1.1rem 1rem;
  background: var(--white);
}

.mgmt__stats {
  display: grid;
  grid-template-columns: 1.3fr 1fr;
  gap: 0.75rem;
}

.mgmt__label {
  display: block;
  margin-bottom: 0.25rem;
  color: var(--muted);
  font-size: 0.75rem;
  font-weight: 600;
}

.mgmt__val {
  display: block;
  font-family: var(--serif);
  font-size: clamp(1.4rem, 2.4vw, 1.75rem);
  font-weight: 600;
  line-height: 1.1;
  letter-spacing: -0.02em;
  color: var(--harbour);
}

.mgmt__chart {
  display: grid;
  grid-template-columns: repeat(6, minmax(0, 1fr));
  align-items: end;
  gap: 0.4rem;
  height: 5.5rem;
  margin-top: 1.1rem;
}

.mgmt__bar {
  display: block;
  height: var(--h);
  border-radius: 0.2rem 0.2rem 0 0;
  background: var(--tint);
}

.mgmt__bar--now {
  background: var(--harbour);
}

.mgmt__caption {
  margin: 0.85rem 0 0;
  color: var(--muted);
  font-size: 0.75rem;
}

/* Operations */

.opsui {
  display: flex;
  flex-direction: column;
  width: 100%;
  padding: 1rem 1.1rem;
  background: var(--white);
}

.opsui__head {
  margin: 0 0 0.75rem;
  padding-bottom: 0.65rem;
  border-bottom: 1px solid var(--rule);
  font-size: 0.8125rem;
  font-weight: 600;
}

.opsui__feed {
  display: grid;
  gap: 0.45rem;
  margin: 0;
  padding: 0;
  list-style: none;
}

.opsui__feed li {
  display: grid;
  grid-template-columns: 1.15rem minmax(0, 1fr);
  gap: 0.55rem;
  align-items: center;
  padding: 0.45rem 0.55rem;
  border-radius: var(--radius);
  background: var(--stone);
  font-size: 0.78rem;
  line-height: 1.3;
}

.opsui__tag {
  margin: 0.85rem 0 0;
  color: var(--harbour);
  font-size: 0.75rem;
  font-weight: 600;
}

/* Accounts */

.accui {
  display: flex;
  flex-direction: column;
  justify-content: center;
  width: 100%;
  padding: 1.15rem 1.1rem;
  background: var(--white);
}

.accui__line {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 0.75rem;
  margin-bottom: 0.9rem;
  font-size: 0.9rem;
}

.accui__line b {
  display: block;
  font-weight: 600;
}

.accui__line span {
  display: inline-block;
  margin-top: 0.3rem;
  padding: 0.12rem 0.5rem;
  border-radius: 999px;
  background: var(--amber-bg);
  color: var(--amber);
  font-size: 0.72rem;
  font-weight: 600;
}

.accui__btns {
  display: grid;
  grid-template-columns: 1.35fr 1fr 1fr;
  gap: 0.4rem;
}

.accui__btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0.55rem 0.25rem;
  border-radius: var(--radius);
  color: var(--white);
  font-size: 0.72rem;
  font-weight: 500;
  text-align: center;
  line-height: 1.2;
}

.accui__btn--recharge {
  background: var(--harbour);
}

.accui__btn--dispute {
  background: var(--deep);
}

.accui__btn--absorb {
  background: var(--ink);
}

.accui__note {
  margin: 0.85rem 0 0;
  color: var(--muted);
  font-size: 0.75rem;
}

.role__title {
  margin-bottom: 0.5rem;
  font-size: 1.75rem;
  font-weight: 600;
  line-height: 1.1;
  letter-spacing: -0.02em;
}

.role p {
  max-width: 24rem;
  margin: 0;
  color: var(--muted);
}

/* Keep your TMS */

.band {
  position: relative;
  isolation: isolate;
  background-color: var(--night);
  background-image: url("../assets/images/cta-wave-teal.png");
  background-position: center;
  background-size: cover;
  background-repeat: no-repeat;
  color: var(--white);
}

.band::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -1;
  background: rgb(10 35 35 / 38%);
  pointer-events: none;
}

.band .section__title,
.band__lede,
.band__facts li {
  color: var(--white);
}

.band__grid {
  display: grid;
  grid-template-columns: minmax(0, 1.15fr) minmax(0, 1fr);
  gap: 3rem clamp(2rem, 6vw, 5rem);
  align-items: start;
}

.band__lede {
  max-width: 32rem;
  margin: 1.5rem 0 0;
}

.band__facts {
  margin: 0;
  padding: 0;
  list-style: none;
  font-weight: 500;
}

.band__facts li {
  padding: 0.85rem 0;
  border-top: 1px solid rgb(255 255 255 / 20%);
}

.band__facts li:last-child {
  border-bottom: 1px solid rgb(255 255 255 / 20%);
}

/* FAQ */

.faq__grid {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1.5fr);
  gap: 2.5rem clamp(2rem, 6vw, 5rem);
  align-items: start;
}

.faq__list {
  border-bottom: 1px solid var(--ink);
}

.faq__item {
  border-top: 1px solid var(--ink);
}

.faq__item summary {
  position: relative;
  display: block;
  padding: 1.25rem 2.5rem 1.25rem 0;
  font-family: var(--serif);
  font-size: 1.3125rem;
  font-weight: 600;
  line-height: 1.25;
  letter-spacing: -0.01em;
  cursor: pointer;
  list-style: none;
}

.faq__item summary::-webkit-details-marker {
  display: none;
}

.faq__item summary::after {
  content: "";
  position: absolute;
  top: 50%;
  right: 0.25rem;
  width: 0.6rem;
  height: 0.6rem;
  border-right: 2px solid var(--harbour);
  border-bottom: 2px solid var(--harbour);
  translate: 0 -75%;
  rotate: 45deg;
  transition: rotate 0.2s ease, translate 0.2s ease;
}

.faq__item[open] summary::after {
  translate: 0 -25%;
  rotate: 225deg;
}

.faq__item summary:hover {
  color: var(--harbour);
}

.faq__item summary:focus-visible {
  outline: 2px solid var(--harbour);
  outline-offset: 2px;
}

.faq__item p {
  max-width: 36rem;
  margin: 0;
  padding: 0 2.5rem 1.5rem 0;
  color: var(--muted);
}

/* Pilot */

.pilot__grid {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1.15fr);
  gap: 3rem clamp(2rem, 6vw, 5rem);
  align-items: start;
}

.pilot__parts {
  margin: 0;
  padding: 0;
}

.pilot__part {
  padding: 1.5rem 0 1.75rem;
  border-top: 1px solid var(--ink);
}

.pilot__part dt {
  margin-bottom: 0.5rem;
  font-family: var(--serif);
  font-size: 1.75rem;
  font-weight: 600;
  letter-spacing: -0.02em;
}

.pilot__part dd {
  margin: 0;
  color: var(--muted);
}

.pilot__scope {
  padding: 1.5rem 0 1.75rem;
  border-top: 1px solid var(--ink);
}

.pilot__scope-label {
  margin: 0 0 0.75rem;
  font-size: 0.75rem;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--muted);
}

.pilot__scope ul {
  margin: 0;
  padding: 0;
  list-style: none;
}

.pilot__scope li {
  position: relative;
  padding: 0.35rem 0 0.35rem 1.25rem;
  color: var(--ink);
}

.pilot__scope li::before {
  content: "";
  position: absolute;
  top: 0.85rem;
  left: 0;
  width: 0.45rem;
  height: 0.45rem;
  border-radius: 50%;
  background: var(--harbour);
}

.pilot__price {
  padding: 1.75rem 0 0;
  border-top: 1px solid var(--ink);
}

.pilot__fee {
  display: block;
  font-family: var(--serif);
  font-size: clamp(2.25rem, 4vw, 3.25rem);
  font-weight: 600;
  line-height: 1;
  letter-spacing: -0.03em;
}

.pilot__price p {
  max-width: 32rem;
  margin: 1rem 0 1.75rem;
  color: var(--muted);
}

.pilot__actions {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 1rem 1.75rem;
}

.pilot__actions .text-link {
  color: var(--ink);
}

/* Footer */

.site-footer {
  padding: clamp(3.5rem, 6vw, 5rem) 0 2rem;
  background: var(--night);
  color: rgb(255 255 255 / 72%);
  font-size: 0.9375rem;
}

.site-footer a {
  color: rgb(255 255 255 / 72%);
  text-decoration: none;
}

.site-footer a:hover {
  color: var(--white);
  text-decoration: underline;
}

.site-footer .brand {
  color: var(--white);
}

.site-footer__grid {
  display: grid;
  grid-template-columns: minmax(0, 1.6fr) repeat(2, minmax(0, 1fr));
  gap: 2.5rem;
}

.site-footer__tag {
  margin: 1.5rem 0 0.4rem;
  font-family: var(--serif);
  font-size: 1.75rem;
  font-weight: 600;
  letter-spacing: -0.02em;
  color: var(--white);
}

.site-footer h2 {
  margin-bottom: 0.9rem;
  font-family: var(--sans);
  font-size: 0.875rem;
  font-weight: 600;
  letter-spacing: 0;
  color: var(--white);
}

.site-footer ul {
  margin: 0;
  padding: 0;
  list-style: none;
}

.site-footer li {
  margin-bottom: 0.5rem;
}

.site-footer__bottom {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: 0.75rem 2rem;
  margin-top: 3.5rem;
  padding-top: 1.5rem;
  border-top: 1px solid rgb(255 255 255 / 16%);
  font-size: 0.875rem;
}

/* Responsive */

@media (max-width: 62rem) {
  .trail__list {
    grid-template-columns: 1fr;
    column-gap: 0;
    row-gap: 2rem;
    border-top: 0;
    border-left: 1px solid var(--ink);
    margin-left: 5px;
  }

  .trail__item {
    display: flex;
    flex-direction: column;
    grid-row: auto;
    padding: 0 0 0 1.75rem;
  }

  .trail__item::before {
    top: 0.4rem;
    left: -6px;
  }

  .trail__what {
    margin-top: 0.35rem;
  }

  .trail__says {
    padding-top: 0.9rem;
  }

  .trail__fate {
    margin-top: 0.9rem;
    padding-top: 0;
  }
}

@media (max-width: 52rem) {
  .nav-toggle {
    display: flex;
  }

  .site-header__cta {
    display: inline-flex;
    margin-left: auto;
    padding: 0.5rem 0.85rem;
    font-size: 0.8125rem;
  }

  .site-nav {
    position: absolute;
    top: calc(100% + 0.5rem);
    left: 0;
    right: 0;
    display: none;
    flex-direction: column;
    align-items: stretch;
    gap: 0;
    padding: 0.5rem 1.1rem 1.25rem;
    border: 1px solid rgb(217 220 214 / 85%);
    border-radius: 0.75rem;
    background: rgb(255 255 255 / 96%);
    box-shadow: 0 14px 32px rgb(10 35 35 / 12%);
    backdrop-filter: saturate(1.15) blur(14px);
    -webkit-backdrop-filter: saturate(1.15) blur(14px);
  }

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

  .site-nav a:not(.btn) {
    padding: 0.85rem 0;
    border-bottom: 1px solid var(--rule);
    font-size: 1.0625rem;
  }

  .site-nav__cta {
    display: none;
  }

  .hero__top {
    grid-template-columns: 1fr;
    align-items: start;
  }

  .ledger__body {
    grid-template-columns: 1fr;
  }

  .ledger__col + .ledger__col {
    border-left: 0;
    border-top: 1px solid var(--rule);
  }

  .band__grid,
  .faq__grid,
  .pilot__grid {
    grid-template-columns: 1fr;
  }

  .desks__list {
    grid-template-columns: 1fr;
  }

  .role__panel {
    aspect-ratio: auto;
  }

  .role p {
    max-width: 32rem;
  }

  .site-footer__grid {
    grid-template-columns: 1fr 1fr;
  }

  .site-footer__grid > :first-child {
    grid-column: 1 / -1;
  }
}

@media (max-width: 52rem) {
  .feature {
    grid-template-columns: 1fr;
    gap: 1.5rem;
  }

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

  .feature__num {
    font-size: clamp(9rem, 42vw, 12rem);
    opacity: 0.1;
    right: 0;
  }
}

@media (max-width: 40rem) {
  .cta-band::before {
    content: "";
    position: absolute;
    z-index: 1;
    inset: 0;
    background: linear-gradient(
      105deg,
      rgb(255 255 255 / 92%) 0%,
      rgb(255 255 255 / 78%) 48%,
      rgb(255 255 255 / 20%) 72%,
      transparent 100%
    );
    pointer-events: none;
  }

  .cta-band__img {
    object-position: 70% center;
  }

  .cta-band__inner {
    max-width: min(100% - var(--gutter) * 2, 22rem);
  }
}

@media (max-width: 30rem) {
  .hero__actions .btn {
    width: 100%;
  }

  .stage {
    --u: 0.55rem;
    min-height: 23rem;
    padding: 1rem;
  }

  .chip {
    font-size: 0.75rem;
  }

  .bill__row {
    grid-template-columns: 1fr;
  }

  .inv {
    min-height: 0;
  }
}

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

  *,
  *::before,
  *::after {
    transition-duration: 0.01ms !important;
    animation-duration: 0.01ms !important;
  }

  /* Looping stages hold their finished state instead. */
  .stage *,
  .stage *::before,
  .stage *::after {
    animation: none !important;
  }

  .flow__ring,
  .doc__scan,
  .stage .cursor {
    display: none;
  }
}
