/* Poppins, Latin subset, self-hosted. Licence terms ship alongside the files
   in the fonts directory. */
@font-face {
  font-family: Poppins;
  font-style: normal;
  font-weight: 400;
  font-display: swap;
  src: url("/static/fonts/poppins-latin-400.woff2") format("woff2");
}
@font-face {
  font-family: Poppins;
  font-style: normal;
  font-weight: 600;
  font-display: swap;
  src: url("/static/fonts/poppins-latin-600.woff2") format("woff2");
}
@font-face {
  font-family: Poppins;
  font-style: normal;
  font-weight: 700;
  font-display: swap;
  src: url("/static/fonts/poppins-latin-700.woff2") format("woff2");
}
@font-face {
  font-family: Poppins;
  font-style: normal;
  font-weight: 800;
  font-display: swap;
  src: url("/static/fonts/poppins-latin-800.woff2") format("woff2");
}
@font-face {
  font-family: Poppins;
  font-style: italic;
  font-weight: 700;
  font-display: swap;
  src: url("/static/fonts/poppins-latin-700-italic.woff2") format("woff2");
}
/* Locally installed stand-in scaled to Poppins' x-height and vertical metrics,
   so the swap to the real face shifts nothing. */
@font-face {
  font-family: "Poppins Fallback";
  src: local("Arial"), local("Helvetica"), local("Liberation Sans");
  size-adjust: 105.68%;
  ascent-override: 99.36%;
  descent-override: 33.12%;
  line-gap-override: 9.46%;
}

:root {
  /* Shared with the app: apps/mobile/lib/core/theme/app_colors.dart */
  --brand: #7c3aed;
  --brand-deep: #5b21b6;
  --accent: #facc15;
  --accent-dark: #eab308;
  --ink: #1f2937;
  --muted: #6b7280;
  --line: #e5e7eb;
  --soft: #f9fafb;
  --success: #10b981;
  --danger: #ef4444;
  --warning: #f59e0b;

  /* The marketing field, which the app deliberately does not use. */
  --field: #2e1065;
  --field-2: #4c1d95;
  --on-field: #f5f3ff;
  --on-field-dim: #c4b5fd;

  --page: clamp(1.25rem, 5vw, 5.5rem);
  --r-card: 16px;
  --r-control: 12px;
  --shadow: 0 8px 24px rgb(109 40 217 / 12%);
  --ease: 200ms ease-out;
}

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

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

body {
  margin: 0;
  background: var(--field);
  color: var(--ink);
  font-family: Poppins, "Poppins Fallback", sans-serif;
  font-size: clamp(1rem, 0.96rem + 0.2vw, 1.0625rem);
  line-height: 1.6;
  overflow-x: hidden;
}

h1,
h2,
h3 {
  margin: 0;
  line-height: 1.1;
  text-wrap: balance;
}

p {
  margin: 0;
  text-wrap: pretty;
}

a {
  color: inherit;
}

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

.skip-link {
  position: fixed;
  top: 0;
  left: 1rem;
  z-index: 20;
  padding: 0.75rem 1rem;
  background: var(--accent);
  color: var(--ink);
  font-weight: 700;
  border-radius: 0 0 var(--r-control) var(--r-control);
  transform: translateY(-120%);
  transition: transform var(--ease);
}
.skip-link:focus-visible {
  transform: translateY(0);
}

:focus-visible {
  outline: 3px solid var(--accent);
  outline-offset: 3px;
  border-radius: 4px;
}
.band--light :focus-visible,
.band--faq :focus-visible {
  outline-color: var(--brand);
}

.icon {
  width: 1em;
  height: 1em;
  flex: none;
}

/* ---------------------------------------------------------------- layout */

.wrap {
  width: min(1180px, 100%);
  margin-inline: auto;
}
.wrap--narrow {
  width: min(760px, 100%);
}
.wrap--split {
  display: grid;
  gap: clamp(2.5rem, 6vw, 5rem);
  align-items: center;
}
@media (width >= 900px) {
  .wrap--split {
    grid-template-columns: 1fr minmax(300px, 380px);
  }
}

.band {
  padding: clamp(3.5rem, 9vw, 7rem) var(--page);
}
.band--light {
  background: #fff;
  color: var(--ink);
}
.band--problem,
.band--control,
.band--app,
.band--protect {
  background: var(--field);
  color: var(--on-field);
}
.band--control,
.band--protect {
  background: var(--field-2);
}
.band--founding {
  background: linear-gradient(135deg, var(--brand) 0%, var(--brand-deep) 100%);
  color: #fff;
  text-align: center;
}
.band--faq {
  background: var(--soft);
  color: var(--ink);
}
.band--trainee {
  background: #fff;
  color: var(--ink);
  border-top: 1px solid var(--line);
  text-align: center;
}

.kicker {
  margin-bottom: 0.9rem;
  color: var(--brand);
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
}
.band--problem .kicker,
.band--control .kicker,
.band--app .kicker,
.band--protect .kicker,
.kicker--on-dark {
  color: var(--accent);
}

.band h2 {
  font-size: clamp(1.9rem, 1.2rem + 3vw, 3.1rem);
  font-weight: 800;
  letter-spacing: -0.025em;
}

.band__lede {
  margin-top: 1.25rem;
  color: var(--muted);
  font-size: 1.05rem;
}
.band--problem .band__lede,
.band--control .band__lede,
.band--app .band__lede,
.band--protect .band__lede,
.band--founding .band__lede {
  color: var(--on-field-dim);
}
.band__lede--wide {
  max-width: 62ch;
}

/* ---------------------------------------------------------------- buttons */

.button {
  display: inline-flex;
  align-items: center;
  gap: 0.6rem;
  padding: 0.75rem 1.4rem;
  background: var(--accent);
  color: var(--ink);
  font-weight: 700;
  font-size: 0.95rem;
  text-decoration: none;
  border-radius: 999px;
  transition: background var(--ease), transform var(--ease);
}
.button:hover {
  background: var(--accent-dark);
  transform: translateY(-1px);
}
.button--lg {
  padding: 1rem 1.9rem;
  font-size: 1.05rem;
}
.button--small {
  padding: 0.55rem 1.1rem;
  font-size: 0.875rem;
}

.link-cta {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  margin-top: 1.5rem;
  color: var(--brand);
  font-weight: 700;
  text-decoration: none;
  border-bottom: 2px solid currentColor;
  padding-bottom: 2px;
}

/* ---------------------------------------------------------------- header */

.site-header {
  position: sticky;
  top: 0;
  z-index: 10;
  padding: 0.85rem var(--page);
  background: rgb(46 16 101 / 92%);
  backdrop-filter: blur(12px);
  border-bottom: 1px solid rgb(196 181 253 / 18%);
}
.site-header__inner {
  display: flex;
  align-items: center;
  gap: 1.5rem;
}
.brand {
  display: block;
  flex: none;
  line-height: 0;
}
.brand img {
  width: 148px;
  height: auto;
}
.site-header nav {
  display: none;
  margin-left: auto;
  gap: 1.75rem;
}
.site-header nav a {
  color: var(--on-field-dim);
  font-size: 0.9rem;
  font-weight: 600;
  text-decoration: none;
}
.site-header nav a:hover {
  color: #fff;
}
.site-header .button {
  margin-left: auto;
}
@media (width >= 860px) {
  .site-header nav {
    display: flex;
  }
  .site-header .button {
    margin-left: 0;
  }
}

/* ---------------------------------------------------------------- hero */

.hero {
  padding: clamp(3rem, 8vw, 6rem) var(--page) clamp(3rem, 6vw, 4.5rem);
  background:
    radial-gradient(70% 90% at 15% 5%, rgb(124 58 237 / 55%) 0%, transparent 60%),
    linear-gradient(160deg, var(--field-2) 0%, var(--field) 55%);
  color: var(--on-field);
}
.hero__grid {
  display: grid;
  gap: clamp(2.5rem, 6vw, 4.5rem);
  align-items: center;
}
@media (width >= 960px) {
  .hero__grid {
    grid-template-columns: minmax(0, 1fr) minmax(330px, 420px);
    align-items: start;
  }
}

.eyebrow {
  display: inline-block;
  margin-bottom: 1.5rem;
  padding: 0.4rem 0.9rem;
  background: rgb(196 181 253 / 14%);
  border: 1px solid rgb(196 181 253 / 28%);
  border-radius: 999px;
  color: var(--on-field-dim);
  font-size: 0.78rem;
  font-weight: 600;
  letter-spacing: 0.04em;
}

.hero h1 {
  font-size: clamp(2.5rem, 1.3rem + 5.2vw, 4.5rem);
  font-weight: 800;
  letter-spacing: -0.035em;
  color: #fff;
}
.hero h1 em {
  font-style: italic;
  color: var(--accent);
}

.hero .lede {
  max-width: 54ch;
  margin-top: 1.5rem;
  color: var(--on-field-dim);
  font-size: clamp(1.02rem, 0.98rem + 0.3vw, 1.2rem);
}

.hero .button {
  margin-top: 2.25rem;
}

.hero__note {
  margin-top: 1rem;
  color: rgb(196 181 253 / 75%);
  font-size: 0.875rem;
}

/* ---------------------------------------------------------------- calculator */

.calc {
  padding: clamp(1.5rem, 3vw, 2rem);
  background: #fff;
  color: var(--ink);
  border-radius: var(--r-card);
  box-shadow: var(--shadow);
}
.calc__title {
  font-size: 1.05rem;
  font-weight: 700;
}
.calc__field {
  margin-top: 1.25rem;
}
.calc__field label {
  display: block;
  margin-bottom: 0.45rem;
  color: var(--muted);
  font-size: 0.85rem;
  font-weight: 600;
}
.calc__input {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0 0.9rem;
  background: var(--soft);
  border: 1px solid var(--line);
  border-radius: var(--r-control);
}
.calc__input:focus-within {
  border-color: var(--brand);
}
.calc__prefix {
  color: var(--muted);
  font-size: 0.85rem;
  font-weight: 700;
}
.calc__input input {
  width: 100%;
  padding: 0.75rem 0;
  border: 0;
  background: none;
  color: inherit;
  font: inherit;
  font-weight: 700;
}
.calc__input input:focus {
  outline: none;
}

.calc__out {
  display: block;
  margin-top: 1.5rem;
  padding: 1.25rem;
  background: var(--field);
  border-radius: var(--r-control);
  color: var(--on-field);
  text-align: center;
}
.calc__label {
  display: block;
  color: var(--on-field-dim);
  font-size: 0.78rem;
  font-weight: 600;
  letter-spacing: 0.1em;
  text-transform: uppercase;
}
.calc__total {
  display: block;
  margin: 0.35rem 0 0.4rem;
  color: var(--accent);
  font-size: clamp(1.9rem, 1.4rem + 2vw, 2.5rem);
  font-weight: 800;
  font-style: italic;
  letter-spacing: -0.03em;
  line-height: 1.05;
}
.calc__sub {
  display: block;
  color: var(--on-field-dim);
  font-size: 0.85rem;
}
.calc__foot {
  margin-top: 1rem;
  color: var(--muted);
  font-size: 0.78rem;
}

/* ---------------------------------------------------------------- cards */

.cards {
  display: grid;
  gap: 1.25rem;
  margin: clamp(2rem, 4vw, 3rem) 0 0;
  padding: 0;
  list-style: none;
}
@media (width >= 720px) {
  .cards--3 {
    grid-template-columns: repeat(3, 1fr);
  }
  .cards--4 {
    grid-template-columns: repeat(2, 1fr);
  }
}
@media (width >= 1040px) {
  .cards--4 {
    grid-template-columns: repeat(4, 1fr);
  }
}
.cards li {
  padding: 1.6rem;
  background: rgb(255 255 255 / 6%);
  border: 1px solid rgb(196 181 253 / 20%);
  border-radius: var(--r-card);
}
.cards h3 {
  font-size: 1.1rem;
  font-weight: 700;
  color: #fff;
}
.cards p {
  margin-top: 0.6rem;
  color: var(--on-field-dim);
  font-size: 0.95rem;
}

/* ---------------------------------------------------------------- steps */

.steps,
.flow {
  display: grid;
  gap: 1.25rem;
  margin: clamp(2rem, 4vw, 3rem) 0 0;
  padding: 0;
  list-style: none;
  counter-reset: flow;
}
@media (width >= 780px) {
  .steps,
  .flow {
    grid-template-columns: repeat(2, 1fr);
    gap: 1.75rem 2.5rem;
  }
}

.steps li {
  display: flex;
  gap: 1.1rem;
  align-items: flex-start;
}
.steps__n {
  display: grid;
  place-items: center;
  flex: none;
  width: 2.25rem;
  height: 2.25rem;
  background: var(--brand);
  color: #fff;
  border-radius: 999px;
  font-weight: 800;
  font-size: 0.95rem;
}
.steps h3,
.flow h3 {
  font-size: 1.1rem;
  font-weight: 700;
}
.steps p,
.flow p {
  margin-top: 0.4rem;
  color: var(--muted);
  font-size: 0.95rem;
}

.flow li {
  position: relative;
  padding-left: 1.25rem;
  border-left: 2px solid var(--line);
  counter-increment: flow;
}
.flow li::before {
  content: counter(flow);
  position: absolute;
  top: 0;
  left: -0.6rem;
  display: grid;
  place-items: center;
  width: 1.1rem;
  height: 1.1rem;
  background: var(--brand);
  color: #fff;
  border-radius: 999px;
  font-size: 0.65rem;
  font-weight: 800;
}

/* ---------------------------------------------------------------- ledger */

.ledger {
  max-width: 460px;
  margin: clamp(2rem, 4vw, 3rem) 0 0;
  padding: 1.5rem;
  background: var(--soft);
  border: 1px solid var(--line);
  border-radius: var(--r-card);
}
.ledger figcaption {
  margin-bottom: 1rem;
  color: var(--muted);
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
}
.ledger dl {
  margin: 0;
}
.ledger div {
  display: flex;
  justify-content: space-between;
  gap: 1rem;
  padding: 0.55rem 0;
}
.ledger dt,
.ledger dd {
  margin: 0;
}
.ledger dd {
  font-weight: 700;
  font-variant-numeric: tabular-nums;
}
.ledger__fee {
  color: var(--muted);
}
.ledger__total {
  margin-top: 0.35rem;
  padding-top: 0.9rem;
  border-top: 1px solid var(--line);
  font-weight: 700;
}
.ledger__total dd {
  color: var(--brand);
  font-size: 1.25rem;
}

/* ---------------------------------------------------------------- guardrail */

.guardrail {
  max-width: 68ch;
  margin-top: clamp(2rem, 4vw, 3rem);
  padding: 1.4rem 1.6rem;
  background: rgb(0 0 0 / 18%);
  border-left: 3px solid var(--accent);
  border-radius: 0 var(--r-control) var(--r-control) 0;
  color: var(--on-field-dim);
  font-size: 0.95rem;
}
.guardrail strong {
  color: #fff;
}

/* ---------------------------------------------------------------- phone */

.legend {
  display: flex;
  flex-wrap: wrap;
  gap: 0.9rem 1.5rem;
  margin: 1.75rem 0 0;
  padding: 0;
  list-style: none;
  color: var(--on-field-dim);
  font-size: 0.85rem;
  font-weight: 600;
}
.legend li {
  display: flex;
  align-items: center;
  gap: 0.5rem;
}
.dot {
  width: 0.7rem;
  height: 0.7rem;
  border-radius: 3px;
}
.dot--open {
  background: var(--success);
}
.dot--booked {
  background: var(--danger);
}
.dot--pending {
  background: var(--warning);
}
.dot--empty {
  background: rgb(255 255 255 / 12%);
  box-shadow: inset 0 0 0 1px rgb(196 181 253 / 35%);
}

.phone {
  justify-self: center;
  width: min(300px, 100%);
  padding: 0.7rem;
  background: #120436;
  border: 1px solid rgb(196 181 253 / 25%);
  border-radius: 34px;
  box-shadow: 0 24px 60px rgb(0 0 0 / 35%);
}
.phone__screen {
  overflow: hidden;
  background: #fff;
  border-radius: 26px;
  color: var(--ink);
}
.phone__head {
  padding: 1.5rem 1.1rem 2.75rem;
  background: linear-gradient(180deg, var(--brand) 0%, var(--brand-deep) 100%);
}
.phone__hi {
  color: #fff;
  font-size: 1.05rem;
  font-style: italic;
  font-weight: 700;
  line-height: 1.25;
}
.phone__stats {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 0.6rem;
  margin: -2rem 0.75rem 0;
}
.stat {
  padding: 0.7rem 0.8rem;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--r-control);
  box-shadow: var(--shadow);
}
.stat span {
  display: block;
  color: var(--muted);
  font-size: 0.62rem;
  font-weight: 600;
  letter-spacing: 0.06em;
  text-transform: uppercase;
}
.stat b {
  display: block;
  margin-top: 0.15rem;
  font-size: 0.95rem;
  font-weight: 800;
  letter-spacing: -0.02em;
}

.phone__card {
  margin: 0.9rem 0.75rem 1.1rem;
  padding: 0.85rem;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--r-control);
}
.phone__card-title {
  margin-bottom: 0.6rem;
  color: var(--ink);
  font-size: 0.75rem;
  font-weight: 700;
}
.grid {
  display: grid;
  grid-template-columns: 1.6rem repeat(5, 1fr);
  gap: 3px;
}
.cell {
  height: 1.55rem;
  background: var(--soft);
  border: 1px solid var(--line);
  border-radius: 6px;
}
.cell--label {
  display: grid;
  place-items: center;
  background: none;
  border: 0;
  color: var(--muted);
  font-size: 0.6rem;
  font-weight: 700;
}
.cell--open {
  background: var(--success);
  border-color: var(--success);
}
.cell--booked {
  background: var(--danger);
  border-color: var(--danger);
}
.cell--pending {
  background: var(--warning);
  border-color: var(--warning);
}

/* ---------------------------------------------------------------- board */

/* The trainee hero's illustration of a booking, in the same card language as
   the app's own surfaces. */
.board {
  padding: clamp(1.25rem, 3vw, 1.75rem);
  background: #fff;
  color: var(--ink);
  border-radius: var(--r-card);
  box-shadow: var(--shadow);
}
.board__head {
  color: var(--muted);
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
}
.board__card {
  margin-top: 0.9rem;
  padding: 1.1rem;
  border: 1px solid var(--line);
  border-radius: var(--r-control);
}
.board__who {
  display: flex;
  align-items: center;
  gap: 0.7rem;
}
.board__avatar {
  display: grid;
  place-items: center;
  flex: none;
  width: 2.5rem;
  height: 2.5rem;
  background: var(--brand);
  color: #fff;
  border-radius: 999px;
  font-size: 0.8rem;
  font-weight: 800;
}
.board__name {
  display: grid;
  line-height: 1.25;
}
.board__name b {
  font-size: 0.98rem;
  font-weight: 700;
}
.board__name small {
  color: var(--muted);
  font-size: 0.78rem;
}
.pill {
  display: inline-flex;
  align-items: center;
  gap: 0.3rem;
  margin-left: auto;
  padding: 0.25rem 0.6rem;
  border-radius: 999px;
  font-size: 0.7rem;
  font-weight: 700;
  white-space: nowrap;
}
.pill--verified {
  background: #ecfdf5;
  color: #047857;
}
.board__lines {
  margin: 1.1rem 0 0;
}
.board__lines div {
  display: flex;
  justify-content: space-between;
  gap: 1rem;
  padding: 0.45rem 0;
  border-top: 1px solid var(--line);
  font-size: 0.9rem;
}
.board__lines dt {
  color: var(--muted);
}
.board__lines dd {
  margin: 0;
  font-weight: 700;
  text-align: right;
}
.board__free {
  color: #047857;
}
.board__pay {
  margin-top: 1rem;
  padding: 0.6rem 0.8rem;
  background: #f5f3ff;
  border-radius: 8px;
  color: var(--brand-deep);
  font-size: 0.8rem;
  font-weight: 600;
  text-align: center;
}
.board__foot {
  margin-top: 0.9rem;
  color: var(--muted);
  font-size: 0.72rem;
  text-align: center;
}

/* ---------------------------------------------------------------- discovery phone */

.phone__head--compact {
  padding: 1.1rem 1.1rem 1rem;
}
.phone__chips {
  display: flex;
  gap: 0.35rem;
  padding: 0.75rem 0.75rem 0;
}
.chip {
  flex: 1;
  padding: 0.4rem 0;
  background: var(--soft);
  border: 1px solid var(--line);
  border-radius: 8px;
  color: var(--muted);
  font-size: 0.65rem;
  font-weight: 700;
  text-align: center;
}
.chip--on {
  background: var(--brand);
  border-color: var(--brand);
  color: #fff;
}
.phone__list {
  display: grid;
  gap: 0.45rem;
  padding: 0.75rem;
}
.mini {
  display: flex;
  align-items: center;
  gap: 0.55rem;
  padding: 0.55rem 0.6rem;
  border: 1px solid var(--line);
  border-radius: 10px;
}
.mini__av {
  display: grid;
  place-items: center;
  flex: none;
  width: 1.7rem;
  height: 1.7rem;
  background: #ede9fe;
  border-radius: 999px;
  color: var(--brand-deep);
  font-size: 0.6rem;
  font-weight: 800;
}
.mini__body {
  display: grid;
  line-height: 1.2;
}
.mini__body b {
  font-size: 0.72rem;
  font-weight: 700;
}
.mini__body small {
  color: var(--muted);
  font-size: 0.62rem;
}
.mini__price {
  margin-left: auto;
  font-size: 0.72rem;
  font-weight: 800;
}

.checks--inline {
  margin-top: 2rem;
}

.band--protect .guardrail + .guardrail {
  margin-top: 1rem;
}

/* ---------------------------------------------------------------- checks */

.checks {
  display: grid;
  gap: 0.85rem;
  margin: clamp(2rem, 4vw, 3rem) 0 0;
  padding: 0;
  list-style: none;
}
.checks li {
  display: flex;
  align-items: flex-start;
  gap: 0.85rem;
  padding: 1rem 1.2rem;
  background: var(--soft);
  border: 1px solid var(--line);
  border-radius: var(--r-control);
  font-weight: 600;
}
.icon--check {
  margin-top: 0.3em;
  color: var(--success);
}
.checks__optional {
  color: var(--muted);
  font-weight: 400;
}
.checks__optional .icon--check {
  color: var(--muted);
}

/* ---------------------------------------------------------------- founding */

.band--founding .button {
  margin-top: 2rem;
  background: #fff;
}
.band--founding .button:hover {
  background: var(--accent);
}
.band--founding .band__lede {
  margin-inline: auto;
  max-width: 54ch;
  color: rgb(255 255 255 / 85%);
}
.band--founding .band__lede strong {
  color: #fff;
  font-weight: 700;
}
/* The profile badge is drawn as one, which also keeps it off the gradient -
   accent on brand purple only reaches 3.7:1. */
.badge {
  display: inline-block;
  padding: 0.1em 0.6em;
  background: var(--accent);
  color: var(--ink);
  border-radius: 999px;
  font-size: 0.92em;
  font-weight: 700;
  white-space: nowrap;
}
.band--founding .hero__note {
  color: rgb(255 255 255 / 70%);
}

/* ---------------------------------------------------------------- faq */

.band--faq details {
  padding: 1.15rem 1.35rem;
  margin-top: 0.75rem;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--r-control);
}
.band--faq details:first-of-type {
  margin-top: clamp(2rem, 4vw, 3rem);
}
.band--faq summary {
  cursor: pointer;
  font-weight: 700;
  list-style: none;
}
.band--faq summary::-webkit-details-marker {
  display: none;
}
.band--faq summary::after {
  content: "+";
  float: right;
  margin-left: 1rem;
  color: var(--brand);
  font-size: 1.3rem;
  font-weight: 400;
  line-height: 1;
}
.band--faq details[open] summary::after {
  content: "\2212";
}
.band--faq details p {
  margin-top: 0.75rem;
  color: var(--muted);
  font-size: 0.95rem;
}

/* ---------------------------------------------------------------- trainee */

.band--trainee p {
  max-width: 56ch;
  margin-top: 1.25rem;
  margin-inline: auto;
  color: var(--muted);
}
.band--trainee h2 {
  font-size: clamp(1.5rem, 1.2rem + 1.6vw, 2.1rem);
}

/* ---------------------------------------------------------------- footer */

.site-footer {
  padding: clamp(3rem, 6vw, 4.5rem) var(--page) 2rem;
  background: var(--field);
  color: var(--on-field-dim);
  font-size: 0.9rem;
}
.wrap--footer {
  display: grid;
  gap: 2.5rem;
}
@media (width >= 760px) {
  .wrap--footer {
    grid-template-columns: 2fr 1fr 1fr;
    gap: 3rem;
  }
}
.site-footer__brand img {
  width: 160px;
  height: auto;
}
.site-footer__brand p {
  max-width: 34ch;
  margin-top: 1rem;
}
.site-footer h2 {
  margin-bottom: 1rem;
  color: #fff;
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}
.site-footer ul {
  display: grid;
  gap: 0.6rem;
  margin: 0;
  padding: 0;
  list-style: none;
}
.site-footer a {
  text-decoration: none;
}
.site-footer a:hover {
  color: #fff;
  text-decoration: underline;
}
.site-footer__base {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: 1rem;
  margin-top: 3rem;
  padding-top: 1.5rem;
  border-top: 1px solid rgb(196 181 253 / 18%);
  font-size: 0.82rem;
}

/* ---------------------------------------------------------------- reveal */

/* Settled state is the default; the animation only ever applies where the
   feature exists and motion is welcome. Firefox is still behind a flag. */
@media (prefers-reduced-motion: no-preference) {
  @supports (animation-timeline: view()) {
    .band .wrap > *,
    .hero__copy,
    .calc {
      animation: reveal linear both;
      animation-timeline: view();
      animation-range: entry 10% cover 28%;
    }
  }
}

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

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