@import url(https://fonts.googleapis.com/css2?family=Poppins:ital,wght@0,100;0,200;0,300;0,400;0,500;0,600;0,700;0,800;0,900;1,100;1,200;1,300;1,400;1,500;1,600;1,700;1,800;1,900&display=swap);

/* ==================================================================
   Tokens

   Warm neutrals + a single chroma accent. The brand yellow does all the
   colour work; everything else is a warm near-black or a paper tone, which
   is what makes the page read as printed rather than clinical.
   ================================================================== */
:root {
  --yellow: #ffc600;
  --yellow-deep: #e5b000;
  --yellow-tint: #fff3bd;

  --ink: #11110f;          /* warm near-black — headings, dark bands */
  --charcoal: #34322d;
  --body: #5e5b54;

  --paper: #ffffff;
  --bone: #faf9f5;
  --cream: #efede6;
  --line: #deddd6;
  --line-strong: #c9c6bc;

  --container: 87.5rem;
  --gutter: clamp(1.25rem, 4vw, 2.5rem);

  --radius: 1.5rem;
  --radius-sm: 0.875rem;

  --shadow-card: 0 1px 2px rgba(25, 21, 16, 0.04),
    0 18px 40px -28px rgba(25, 21, 16, 0.35);
  --shadow-lift: 0 2px 6px rgba(25, 21, 16, 0.05),
    0 28px 56px -30px rgba(25, 21, 16, 0.45);

  --text-display: clamp(3rem, 1.25rem + 4.8vw, 6.25rem);
  --text-chapter: clamp(3rem, 1.3rem + 4.4vw, 5.75rem);
  --text-block: clamp(1.625rem, 1.15rem + 1.45vw, 2.5rem);

  --chapter-pad: clamp(5rem, 9vw, 9rem);
  --block-gap: clamp(2rem, 4vw, 4rem);

  --ease: cubic-bezier(0.4, 0, 0.2, 1);

  /* z-index: section nav 20 · header 30 · scrim 40 · dialog 50 */
}

/* ==================================================================
   Base
   ================================================================== */
*,
*::before,
*::after { box-sizing: border-box; }

* { margin: 0; }

/* A class that sets `display` would otherwise beat the UA rule for [hidden]. */
[hidden] { display: none !important; }

html {
  -webkit-text-size-adjust: 100%;
  scroll-padding-top: 4rem;
}

@media (prefers-reduced-motion: no-preference) {
  html { scroll-behavior: smooth; }
}

body {
  font-family: 'POPPINS', 'Lato', Trebuchet MS, 'Mulish', 'Segoe UI';
  font-size: 1.0625rem;
  line-height: 1.6;
  color: var(--body);
  background: var(--bone);
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}

h1, h2, h5, h4 {
  color: var(--ink);
  font-weight: 650;
  line-height: 1.06;
  letter-spacing: -0.045em;
  text-wrap: balance;
}

h1 { font-size: var(--text-display); letter-spacing: -0.065em; line-height: 0.94; }

p { text-wrap: pretty; }

a, a:hover { color: inherit;  }

img, svg { display: block; max-width: 100%; }

ul, ol { list-style: none; padding: 0; }

button, input, select, textarea { font: inherit; color: inherit; }

button:not(:disabled),
a[href],
label,
select { cursor: pointer; }

:focus-visible {
  outline: 3px solid var(--ink);
  outline-offset: 2px;
  border-radius: 4px;
}

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after {
    animation-duration: 0.01ms !important;
    transition-duration: 0.01ms !important;
    scroll-behavior: auto !important;
  }
}

/* ==================================================================
   Motion

   Start states only exist for JS users (`html.js`), so with JS off — or if
   anything fails — every element is simply visible. Reduced-motion users get
   the finished state immediately.
   ================================================================== */
.js .reveal {
  opacity: 0;
  transform: translateY(1.5rem);
  transition: opacity 0.7s var(--ease), transform 0.7s var(--ease);
  will-change: opacity, transform;
}

.js .reveal.is-in { opacity: 1; transform: none; will-change: auto; }

/* Children fan in behind their container. */
.js .reveal.stagger > * {
  opacity: 0;
  transform: translateY(1rem);
  transition: opacity 0.55s var(--ease), transform 0.55s var(--ease);
}

.js .reveal.stagger.is-in > * { opacity: 1; transform: none; }

.js .reveal.stagger.is-in > *:nth-child(1) { transition-delay: 0.06s; }
.js .reveal.stagger.is-in > *:nth-child(2) { transition-delay: 0.12s; }
.js .reveal.stagger.is-in > *:nth-child(3) { transition-delay: 0.18s; }
.js .reveal.stagger.is-in > *:nth-child(4) { transition-delay: 0.24s; }
.js .reveal.stagger.is-in > *:nth-child(5) { transition-delay: 0.3s; }
.js .reveal.stagger.is-in > *:nth-child(6) { transition-delay: 0.36s; }

/* Hero copy fans in on load rather than on scroll. */
.js .enter {
  opacity: 0;
  transform: translateY(1.25rem);
  animation: enter 0.75s var(--ease) forwards;
  animation-delay: calc(var(--i, 0) * 0.07s + 0.05s);
}

@keyframes enter {
  to { opacity: 1; transform: none; }
}

@media (prefers-reduced-motion: reduce) {
  .js .reveal,
  .js .reveal.stagger > *,
  .js .enter {
    opacity: 1 !important;
    transform: none !important;
    animation: none !important;
  }
}

.sr-only {
  position: absolute;
  width: 1px; height: 1px;
  padding: 0; margin: -1px;
  overflow: hidden;
  clip: rect(0 0 0 0);
  white-space: nowrap;
  border: 0;
}

.sprite { position: absolute; width: 0; height: 0; overflow: hidden; }

.icons {
  width: 1.25rem;
  height: 1.25rem;
  flex: none;
  fill: none;
  stroke: currentColor;
  stroke-width: 1.75;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.icons-lg { width: 1.5rem; height: 1.5rem; }

.container {
  width: 100%;
  max-width: var(--container);
  margin-inline: auto;
  padding-inline: var(--gutter);
}

.skip-link {
  position: absolute;
  left: -9999px;
  z-index: 60;
  background: var(--ink);
  color: var(--paper);
  padding: 0.75rem 1.25rem;
  border-radius: 999px;
  font-size: 0.875rem;
  font-weight: 500;
  text-decoration: none;
}

.skip-link:focus { left: 1rem; top: 1rem; }

/* ==================================================================
   Buttons
   ================================================================== */
.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  min-height: 3.375rem;
  padding: 0.8125rem 1.875rem;
  border: 1px solid transparent;
  border-radius: 999px;
  background: var(--yellow);
  color: var(--ink);
  font-size: 0.9375rem;
  font-weight: 600;
  letter-spacing: -0.01em;
  text-decoration: none;
  transition: background-color 0.2s var(--ease), border-color 0.2s var(--ease),
    color 0.2s var(--ease), transform 0.2s var(--ease);
}

.button:hover { background: var(--yellow-deep); }
.button:active { transform: translateY(1px); }

.button .icons { transition: transform 0.2s var(--ease); }
.button:hover .icons { transform: translateX(2px); }

.button-secondary {
  background: transparent;
  border-color: var(--line-strong);
  color: var(--ink);
}

.button-secondary:hover { background: transparent; border-color: var(--ink); }

.button-dark { background: var(--ink); color: var(--paper); }
.button-dark:hover { background: var(--charcoal); }

.button-sm {
  min-height: 2.5rem;
  padding: 0.4375rem 1.125rem;
  font-size: 0.8125rem;
}

.button:disabled { opacity: 0.55; cursor: not-allowed; }
.button:disabled:active { transform: none; }

/* ==================================================================
   Header
   ================================================================== */
.site-header {
  position: fixed;
  inset: 0 0 auto;
  z-index: 30;
  height: 4rem;
  background: var(--paper);
  border-bottom: 1px solid transparent;
  transition: height 0.25s var(--ease), border-color 0.25s var(--ease),
    box-shadow 0.25s var(--ease);
}

.site-header.is-scrolled {
  height: 3.5rem;
  border-bottom-color: var(--line);
  box-shadow: 0 1px 2px rgba(25, 21, 16, 0.04), 0 12px 32px -22px rgba(25, 21, 16, 0.35);
}

.header-spacer { height: 4rem; }

.header-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1.5rem;
  height: 100%;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 0.875rem;
  padding-block: 0.625rem;
  margin-block: -0.625rem;
  text-decoration: none;
}

.brand img {
  width: auto;
  height: 1.75rem;
  transition: height 0.25s var(--ease);
}

.is-scrolled .brand img { height: 1.5rem; }

.brand-rule { width: 1px; height: 1.25rem; background: var(--line-strong); }

.brand-country {
  font-size: 0.9375rem;
  color: var(--body);
  letter-spacing: -0.01em;
}

.desktop-nav { display: none; }

.desktop-nav a {
  position: relative;
  padding: 0.625rem 0.875rem;
  border-radius: 999px;
  font-size: 0.9375rem;
  color: var(--body);
  text-decoration: none;
  transition: color 0.2s var(--ease);
}

.desktop-nav a::after {
  content: "";
  position: absolute;
  left: 0.875rem;
  right: 0.875rem;
  bottom: 0.375rem;
  height: 2px;
  border-radius: 2px;
  background: var(--yellow);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 0.25s var(--ease);
}

.desktop-nav a:hover { color: var(--ink); }
.desktop-nav a:hover::after { transform: scaleX(1); }

.header-cta { display: none; }

.menu-button {
  display: inline-flex;
  flex-direction: column;
  justify-content: center;
  gap: 5px;
  width: 2.75rem;
  height: 2.75rem;
  margin-right: -0.5rem;
  padding: 0 0.625rem;
  border: 0;
  border-radius: 999px;
  background: transparent;
}

.menu-button span {
  display: block;
  height: 2px;
  border-radius: 2px;
  background: var(--ink);
}

@media (min-width: 62rem) {
  .site-header { height: 5rem; }
  .site-header.is-scrolled { height: 4rem; }
  .header-spacer { height: 5rem; }
  .desktop-nav { display: flex; align-items: center; gap: 0.25rem; }
  .header-cta { display: inline-flex; }
  .menu-button { display: none; }
  .brand img { height: 1.875rem; }
}

/* ==================================================================
   Mobile menu
   ================================================================== */
.menu-scrim {
  position: fixed;
  inset: 0;
  z-index: 40;
  background: rgba(25, 21, 16, 0.5);
}

.mobile-menu {
  position: fixed;
  inset: 0 0 auto;
  z-index: 50;
  max-height: 100dvh;
  overflow-y: auto;
  padding-bottom: 1.5rem;
  background: var(--paper);
  box-shadow: 0 24px 60px -30px rgba(25, 21, 16, 0.5);
}

.mobile-menu-top {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 4rem;
  padding-inline: var(--gutter);
  border-bottom: 1px solid var(--line);
  color: var(--ink);
}

.menu-close {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 2.75rem;
  height: 2.75rem;
  margin-right: -0.5rem;
  border: 0;
  border-radius: 999px;
  background: transparent;
}

.menu-close svg {
  width: 1.25rem;
  height: 1.25rem;
  fill: none;
  stroke: currentColor;
  stroke-width: 1.75;
  stroke-linecap: round;
}

.mobile-menu nav { padding-inline: var(--gutter); }

.mobile-menu nav a {
  display: block;
  padding: 1rem 0;
  border-bottom: 1px solid var(--line);
  color: var(--ink);
  font-weight: 400;
  text-decoration: none;
}

.mobile-cta {
  width: calc(100% - var(--gutter) * 2);
  margin: 1.5rem var(--gutter) 0;
}

/* ==================================================================
   Breadcrumbs
   ================================================================== */
.breadcrumbs { background: var(--cream); border-bottom: 1px solid var(--line); }

.breadcrumb-row {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  padding-block: 0.875rem;
  font-size: 0.8125rem;
  white-space: nowrap;
  overflow-x: auto;
  scrollbar-width: none;
}

.breadcrumb-row::-webkit-scrollbar { display: none; }

.breadcrumb-row a { color: var(--body); text-decoration: none; }
.breadcrumb-row a:hover { color: var(--ink); text-decoration: underline; }
/* --line-strong sat at 1.5:1 here, which read as broken rather than subtle. */
.breadcrumb-row span[aria-hidden] { color: var(--body); opacity: 0.55; }
.breadcrumb-row [aria-current] { color: var(--ink); font-weight: 400; }

/* ==================================================================
   Hero
   ================================================================== */
.hero {
  position: relative;
  isolation: isolate;
  overflow: hidden;
  color: rgba(255, 255, 255, 0.76);
  background: var(--ink);
	 top: 40px;
}

.hero::before {
  content: "";
  position: absolute;
  z-index: 1;
  top: -16rem;
  left: -18rem;
  width: 42rem;
  height: 42rem;
  pointer-events: none;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(255, 198, 0, 0.2), transparent 66%);
}

.hero-inner {
  position: relative;
  z-index: 2;
  padding-block: 4rem clamp(4rem, 8vw, 7rem);
}

.hero-copy { max-width: 46rem; }

/* Product identifier, not a second headline. */
.hero-product {
  display: inline-flex;
  align-items: center;
  gap: 0.625rem;
  padding: 0.5rem 0.875rem;
  border: 1px solid rgba(255, 255, 255, 0.18);
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.07);
  font-size: 0.8125rem;
  font-weight: 600;
  letter-spacing: 0.02em;
  color: rgba(255, 255, 255, 0.78);
  backdrop-filter: blur(12px);
}

.hero-product::before {
  content: "";
  width: 0.5rem;
  height: 0.5rem;
  border-radius: 50%;
  background: var(--yellow);
  box-shadow: 0 0 0 0.35rem rgba(255, 198, 0, 0.12);
}

.hero h1 {
  margin-top: 1.5rem;
  max-width: 11ch;
  color: var(--paper);
  /* Balanced so the three lines rag evenly and the longest one stays short —
     which is also what keeps the headline clear of the photograph. */
  text-wrap: balance;
  font-size: var(--text-display);
  line-height: 0.94;
  letter-spacing: -0.068em;
}

.hero-lead {
  margin-top: 1.75rem;
  max-width: 38rem;
  color: rgba(255, 255, 255, 0.7);
  font-size: 1.125rem;
  line-height: 1.58;
}

.button-row {
  display: flex;
  flex-direction: column;
  align-items: stretch;
  gap: 0.75rem;
  margin-top: 2rem;
}

.hero-facts {
  display: flex;
  flex-wrap: wrap;
  gap: 0.625rem;
  margin-top: 2.25rem;
  font-size: 0.8125rem;
  font-weight: 550;
  color: rgba(255, 255, 255, 0.78);
}

.hero-facts li {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.5rem 0.75rem;
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.055);
}

.hero-facts .icons {
  width: 1.0625rem;
  height: 1.0625rem;
  padding: 0.1875rem;
  border-radius: 999px;
  background: var(--yellow);
  stroke-width: 3.5;
  color: var(--ink);
}

.hero-note {
  margin-top: 1.75rem;
  padding-top: 1.25rem;
  border-top: 1px solid rgba(255, 255, 255, 0.16);
  max-width: 33rem;
  color: rgba(255, 255, 255, 0.58);
  font-size: 0.8125rem;
  line-height: 1.6;
}

.hero-media { position: relative; aspect-ratio: 4 / 3; }

.hero-media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: 100% 50%;
}

.hero-media::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(to bottom, var(--ink), transparent 25%);
}

.hero .button-secondary {
  color: var(--paper);
  border-color: rgba(255, 255, 255, 0.42);
}

.hero .button-secondary:hover {
  color: var(--ink);
  background: var(--paper);
  border-color: var(--paper);
}

@media (min-width: 40rem) {
  .button-row { flex-direction: row; align-items: center; }
  .hero-media { aspect-ratio: 16 / 9; }
}

/* The overlay hero only engages once there is genuinely room for it. Below
   this the stacked layout is used, which keeps all three people in frame. */
@media (min-width: 80rem) {
  .hero-inner {
    display: flex;
    align-items: center;
    min-height: 43rem;
    padding-block: 4rem 5.5rem;
  }
  /* The measured limit is the photograph: its subjects begin at ~55% of the
     frame, so the copy column stops short of that and the headline never
     lands on anyone. */
  .hero-copy { width: 56%; max-width: 47rem; }
  .hero-media { position: absolute; inset: 0; z-index: 0; aspect-ratio: auto; }
  /* Bias right so any horizontal crop eats the empty left side, not the people. */
  .hero-media img { object-position: 80% 38%; filter: saturate(0.88) contrast(1.03); }
  .hero-media::after {
    content: "";
    position: absolute;
    inset: 0;
    background:
      linear-gradient(to right, var(--ink) 22%, rgba(17, 17, 15, 0.92) 43%, rgba(17, 17, 15, 0.12) 72%),
      linear-gradient(to top, rgba(17, 17, 15, 0.68), transparent 42%);
  }
}

/* ==================================================================
   Sticky section nav
   ================================================================== */
.section-nav {
  position: sticky;
  top: 80px;
  z-index: 2;
  background: var(--paper);
  border-block: 1px solid var(--line);
}

.section-nav-scroll {
  display: flex;
  align-items: center;
  gap: 0.25rem;
  min-width: 0;
  padding-block: 0.25rem;
  /* Pull the rail out by the pill's own inset so the active label's text lines
     up with the content edge rather than its pill background. */
  margin-inline: -0.9375rem;
  padding-inline: 0.9375rem;
  overflow-x: auto;
  scrollbar-width: none;
}

.section-nav-scroll::-webkit-scrollbar { display: none; }

.section-nav-scroll a {
  flex: none;
  display: inline-flex;
  align-items: center;
  min-height: 2.75rem;          /* 44px touch target */
  padding: 0.5rem 0.9375rem;
  border-radius: 999px;
  font-size: 1rem;
  font-weight: 500;
  color: var(--body);
  text-decoration: none;
  white-space: nowrap;
  transition: color 0.2s var(--ease), background-color 0.2s var(--ease);
}

.section-nav-scroll a:hover { color: var(--ink); background: var(--cream); }
.section-nav-scroll a.active {
  background: var(--yellow);
  color: var(--ink);
  font-weight: 600;
}

/* ==================================================================
   Chapters
   ================================================================== */
.chapter {
  position: relative;
  padding-block: var(--chapter-pad);
  background: var(--bone);
}

.chapter-tinted { background: var(--cream); }

.chapter-head {
  position: relative;
  display: grid;
  grid-template-columns: 1fr;
  gap: 1.5rem;
  min-height: 22rem;
  padding: clamp(2rem, 5vw, 4.5rem);
  margin-bottom: var(--block-gap);
  overflow: hidden;
  color: rgba(255, 255, 255, 0.7);
  background: var(--ink);
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: clamp(1.75rem, 4vw, 3.25rem);
  box-shadow: var(--shadow-lift);
}

.chapter-head::before {
  content: "";
  position: absolute;
  right: -8rem;
  bottom: -15rem;
  width: 32rem;
  height: 32rem;
  border: 1px solid rgba(255, 198, 0, 0.22);
  border-radius: 50%;
  box-shadow: 0 0 0 4rem rgba(255, 198, 0, 0.035),
    0 0 0 8rem rgba(255, 198, 0, 0.025);
}

.chapter-head::after {
  content: "";
  position: absolute;
  top: 0;
  left: clamp(2rem, 5vw, 4.5rem);
  width: clamp(5rem, 10vw, 10rem);
  height: 0.4rem;
  background: var(--yellow);
}

.chapter-number {
  position: relative;
  z-index: 1;
  color: var(--yellow);
  font-size: clamp(3.5rem, 8vw, 7.5rem);
  font-weight: 700;
  line-height: 0.8;
  letter-spacing: -0.085em;
  font-variant-numeric: tabular-nums;
}

.chapter-number::after { display: none; }

.chapter-title {
  position: relative;
  z-index: 1;
}

.chapter-label {
  margin-bottom: 1rem;
  color: rgba(255, 255, 255, 0.56);
  font-size: 0.75rem;
  font-weight: 650;
  letter-spacing: 0.16em;
  text-transform: uppercase;
}

.chapter-head h2 {
  max-width: 13ch;
  color: var(--paper);
  font-size: var(--text-chapter);
  font-weight: 650;
  line-height: 0.94;
  letter-spacing: -0.065em;
}

.chapter-head h2 span {
  display: block;
  color: var(--yellow);
}

.chapter-summary {
  position: relative;
  z-index: 1;
  align-self: end;
  max-width: 28rem;
  color: rgba(255, 255, 255, 0.66);
  font-size: 1rem;
  line-height: 1.58;
}

@media (min-width: 62rem) {
  .chapter-head {
    grid-template-columns: minmax(7rem, 0.65fr) minmax(0, 2.35fr) minmax(16rem, 1fr);
    align-items: start;
    gap: clamp(2rem, 4vw, 5rem);
  }

  .chapter-summary { padding-bottom: 0.45rem; }
}

/* ==================================================================
   Showcase — the chapter's opening statement plus a benefit rail
   ================================================================== */
.showcase {
  --showcase-pad: clamp(1.5rem, 4vw, 3.5rem);
  position: relative;
  margin-bottom: var(--block-gap);
  padding-block: clamp(3rem, 6vw, 5rem);
  border-radius: clamp(2rem, 4vw, 3.25rem);
  background: var(--yellow);
  color: var(--ink);
  overflow: hidden;
  box-shadow: var(--shadow-lift);
}

.showcase::before {
  content: "";
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(rgba(17, 17, 15, 0.045) 1px, transparent 1px),
    linear-gradient(90deg, rgba(17, 17, 15, 0.045) 1px, transparent 1px);
  background-size: 2rem 2rem;
  mask-image: linear-gradient(to bottom, black, transparent 78%);
  pointer-events: none;
}

.showcase-intro {
  position: relative;
  display: grid;
  gap: 1.25rem;
  max-width: none;
  padding-inline: var(--showcase-pad);
  text-align: left;
}

.showcase-intro h5 {
  max-width: 17ch;
  color: var(--ink);
  font-size: clamp(2.25rem, 1.35rem + 2.5vw, 4rem);
  line-height: 0.98;
  letter-spacing: -0.055em;
}

.showcase-intro p {
  align-self: end;
  max-width: 32rem;
  margin-top: 0;
  color: rgba(17, 17, 15, 0.7);
  font-size: 1rem;
  line-height: 1.6;
}

@media (min-width: 62rem) {
  .showcase-intro {
    grid-template-columns: minmax(0, 1.35fr) minmax(18rem, 0.65fr);
    align-items: end;
    gap: 4rem;
  }
}

/* --- Rail ---------------------------------------------------------- */
.carousel { position: relative; margin-top: clamp(2rem, 4vw, 3rem); }

.carousel-track {
  display: flex;
  gap: 1rem;
  padding-inline: var(--showcase-pad);
  padding-bottom: 0.25rem;
  overflow-x: auto;
  scroll-snap-type: x mandatory;
  scroll-padding-inline: var(--showcase-pad);
  scrollbar-width: none;
  overscroll-behavior-x: contain;
}

.carousel-track::-webkit-scrollbar { display: none; }

.carousel-track > li {
  display: flex;
  flex-direction: column;
  /* Sized so the rail always overflows: the next card peeks in, which is what
     signals that it scrolls. */
  flex: 0 0 min(20rem, 78vw);
  scroll-snap-align: start;
  min-height: 20rem;
  padding: 1.75rem;
  border: 1px solid rgba(17, 17, 15, 0.08);
  border-radius: 1.5rem;
  background: var(--paper);
  box-shadow: 0 1rem 2.5rem -2rem rgba(17, 17, 15, 0.45);
  transition: border-color 0.3s var(--ease), transform 0.3s var(--ease), box-shadow 0.3s var(--ease);
}

.carousel-track > li:hover {
  border-color: var(--ink);
  transform: translateY(-0.35rem);
  box-shadow: 0 1.75rem 3rem -2.25rem rgba(17, 17, 15, 0.55);
}

.carousel-track h4 { color: var(--ink); font-size: 1.25rem; }

.carousel-track p {
  margin-top: 0.75rem;
  font-size: 0.9375rem;
  line-height: 1.65;
  color: var(--body);
}

/* Diagrams built from tokens — abstract by design, so nothing here can be
   mistaken for a real balance or a product screenshot. */
.card-visual {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.75rem;
  min-height: 7.5rem;
  margin-top: auto;
  padding-top: 2rem;
}

.token {
  display: grid;
  place-items: center;
  width: 3.25rem;
  height: 3.25rem;
  border: 1px solid var(--line-strong);
  border-radius: 999px;
  background: var(--cream);
  font-size: 0.75rem;
  font-weight: 500;
  letter-spacing: 0.02em;
  color: var(--ink);
}

.token .icons { width: 1.125rem; height: 1.125rem; }

.token-lg { width: 4.5rem; height: 4.5rem; font-size: 1.125rem; }

.token-accent {
  border-color: var(--ink);
  background: var(--ink);
  color: var(--paper);
}

.token-link { display: grid; place-items: center; color: var(--ink); }
.token-link .icons { width: 1.125rem; height: 1.125rem; }

/* --- Controls ------------------------------------------------------ */
.carousel-nav {
  display: none;
  align-items: center;
  justify-content: center;
  gap: 1.25rem;
  margin-top: 1.75rem;
  padding-inline: var(--showcase-pad);
}

.js .carousel-nav { display: flex; }

.carousel-arrow {
  display: grid;
  place-items: center;
  width: 2.75rem;
  height: 2.75rem;
  border: 1px solid rgba(17, 17, 15, 0.25);
  border-radius: 999px;
  background: transparent;
  color: var(--ink);
  transition: background-color 0.2s var(--ease), border-color 0.2s var(--ease),
    opacity 0.2s var(--ease);
}

.carousel-arrow:hover:not(:disabled) {
  background: var(--ink);
  border-color: var(--ink);
  color: var(--paper);
}

.carousel-arrow:disabled { opacity: 0.3; cursor: not-allowed; }

[data-carousel-prev] .icons { transform: rotate(180deg); }

.carousel-dots { display: flex; align-items: center; gap: 0.5rem; }

.carousel-dots button {
  width: 0.5rem;
  height: 0.5rem;
  padding: 0;
  border: 0;
  border-radius: 999px;
  background: rgba(17, 17, 15, 0.25);
  transition: width 0.3s var(--ease), background-color 0.3s var(--ease);
}

.carousel-dots button[aria-current="true"] {
  width: 1.5rem;
  background: var(--ink);
}

.showcase :focus-visible { outline-color: var(--ink); }

/* ==================================================================
   Blocks
   ================================================================== */
.block { display: grid; gap: 3rem; }

.block + .block { margin-top: var(--block-gap); }

/* A short brand rule anchors every block heading, so headings that carry no
   sub-line still read as deliberate rather than stranded. */
.block-head::before {
  content: "";
  display: block;
  width: 2.75rem;
  height: 0.45rem;
  margin-bottom: 1.5rem;
  border-radius: 999px;
  background: var(--yellow);
}

.block-head h5 {
  max-width: 16ch;
  font-size: var(--text-block);
  line-height: 1.03;
  letter-spacing: -0.05em;
}

.block-head > p {
  margin-top: 0.875rem;
  max-width: 28rem;
  font-size: 1rem;
  line-height: 1.6;
}

.block-head .note {
  margin-top: 1.25rem;
  font-size: 0.8125rem;
  line-height: 1.6;
}

/* The divider only earns its place when there is a lead paragraph to divide
   from — otherwise it reads as a stray line under the heading. */
.block-head > p:not(.note) ~ .note {
  margin-top: 1.5rem;
  padding-top: 1.25rem;
  border-top: 1px solid var(--line);
}

@media (min-width: 62rem) {
  .block {
    grid-template-columns: minmax(15rem, 4fr) minmax(0, 8fr);
    gap: clamp(4rem, 7vw, 7.5rem);
    align-items: start;
  }
  .block-head { position: sticky; top: 8.5rem; }
  .block-wide { grid-template-columns: 1fr; gap: 2.5rem; }
  .block-wide .block-head { position: static; }
  .block-wide .block-head > p { max-width: 40rem; }
}

/* ==================================================================
   Card grids
   ================================================================== */
.card-grid {
  display: grid;
  gap: 1rem;
  background: transparent;
  border: 0;
  border-radius: 0;
  overflow: visible;
  box-shadow: none;
}

.card-grid > * {
  background: var(--paper);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  transition: background-color 0.25s var(--ease), border-color 0.25s var(--ease),
    transform 0.25s var(--ease), box-shadow 0.25s var(--ease);
}

@media (min-width: 40rem) {
  .grid-2 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}

@media (min-width: 62rem) {
  .grid-4 { grid-template-columns: repeat(4, minmax(0, 1fr)); }
}

.tiles > li {
  min-height: 14rem;
  padding: clamp(1.5rem, 3vw, 2.125rem);
}

.tiles > li:hover {
  background: var(--yellow-tint);
  border-color: var(--yellow-deep);
  transform: translateY(-0.35rem);
  box-shadow: var(--shadow-card);
}

.tiles .icons {
  width: 2.75rem;
  height: 2.75rem;
  padding: 0.7rem;
  border-radius: 50%;
  background: var(--yellow);
  color: var(--ink);
  transition: transform 0.25s var(--ease);
}

.tiles > li:hover .icons { transform: translateY(-2px); }

.tiles h4 { margin-top: 2.25rem; font-size: 1.125rem; line-height: 1.3; }
.tiles p { margin-top: 0.625rem; font-size: 0.9375rem; line-height: 1.6; }
.tiles-compact h4 { margin-top: 1.375rem; }

@media (min-width: 62rem) {
  .use-cases .grid { grid-template-columns: repeat(3, minmax(0, 1fr)); }
  .use-cases .tiles > li { min-height: 16rem; }
}

/* ==================================================================
   Lists
   ================================================================== */
.spec-list {
  display: grid;
  grid-template-columns: 1fr;
  gap: 0.75rem;
  border-top: 0;
}

.spec-list > div {
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  gap: 1rem;
  min-height: 8.5rem;
  padding: 1.35rem;
  margin-inline: 0;
  border: 1px solid var(--line);
  border-radius: 1.125rem;
  background: var(--paper);
  transition: background-color 0.2s var(--ease), border-color 0.2s var(--ease),
    transform 0.2s var(--ease);
}

.spec-list > div:hover {
  background: var(--yellow-tint);
  border-color: var(--yellow-deep);
  transform: translateY(-0.2rem);
}

.spec-list dt {
  color: var(--body);
  font-size: 0.75rem;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.spec-list dd {
  color: var(--ink);
  font-size: 1rem;
  font-weight: 600;
  line-height: 1.35;
}

@media (min-width: 40rem) {
  .spec-list { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}

.check-list,
.plain-list,
.numbered-list { border-top: 2px solid var(--ink); }

.check-list li,
.plain-list li,
.numbered-list li {
  display: flex;
  align-items: flex-start;
  gap: 1rem;
  padding-block: 1rem;
  border-bottom: 1px solid var(--line);
  font-size: 0.9375rem;
  line-height: 1.6;
  color: var(--ink);
}

.check-list .icons {
  width: 1.25rem;
  height: 1.25rem;
  margin-top: 0.0625rem;
  padding: 0.1875rem;
  border-radius: 999px;
  background: var(--yellow);
  stroke-width: 3.5;
  color: var(--ink);
}

.plain-list li { color: var(--charcoal); }

.numbered-list li { gap: 1.25rem; }

.numbered-list span {
  font-size: 0.8125rem;
  font-weight: 600;
  letter-spacing: 0.14em;
  color: var(--body);
  font-variant-numeric: tabular-nums;
}

.permitted-block .check-list,
.eligibility-block .check-list,
.documents-block .numbered-list {
  display: grid;
  grid-template-columns: 1fr;
  gap: 0.75rem;
  border-top: 0;
}

.permitted-block .check-list li,
.eligibility-block .check-list li,
.documents-block .numbered-list li {
  min-height: 4.75rem;
  padding: 1rem 1.125rem;
  border: 1px solid var(--line);
  border-radius: 1rem;
  background: var(--paper);
  transition: border-color 0.2s var(--ease), transform 0.2s var(--ease),
    background-color 0.2s var(--ease);
}

.permitted-block .check-list li:hover,
.eligibility-block .check-list li:hover,
.documents-block .numbered-list li:hover {
  border-color: var(--yellow-deep);
  background: var(--yellow-tint);
  transform: translateX(0.25rem);
}

.documents-block .numbered-list span {
  display: grid;
  place-items: center;
  width: 2.4rem;
  height: 2.4rem;
  flex: 0 0 2.4rem;
  border-radius: 50%;
  background: var(--yellow);
  color: var(--ink);
  letter-spacing: 0;
}

.limitations-block .plain-list {
  padding: clamp(1.25rem, 3vw, 2rem);
  border: 0;
  border-radius: var(--radius);
  background: var(--ink);
  box-shadow: var(--shadow-lift);
}

.limitations-block .plain-list li {
  position: relative;
  padding: 1.25rem 0 1.25rem 2.25rem;
  border-color: rgba(255, 255, 255, 0.12);
  color: rgba(255, 255, 255, 0.78);
}

.limitations-block .plain-list li::before {
  content: "";
  position: absolute;
  top: 1.85rem;
  left: 0;
  width: 1rem;
  height: 0.3rem;
  border-radius: 999px;
  background: var(--yellow);
}

@media (min-width: 48rem) {
  .permitted-block .check-list,
  .eligibility-block .check-list,
  .documents-block .numbered-list {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

/* ==================================================================
   Steps
   ================================================================== */

.step-number {
  font-size: 0.8125rem;
  font-weight: 500;
  letter-spacing: 0.14em;
  color: var(--body);
  font-variant-numeric: tabular-nums;
}

.process > li {
  position: relative;
  min-height: 18rem;
  padding: clamp(1.5rem, 3vw, 2.125rem);
  overflow: hidden;
}
.process .step-number { color: var(--charcoal); }
.process h4 { margin-top: 5rem; font-size: 1.25rem; line-height: 1.25; }
.process p { margin-top: 0.75rem; font-size: 0.9375rem; line-height: 1.55; }
.process > li:hover { background: var(--yellow-tint); transform: translateY(-0.35rem); }

.process .step-number {
  font-size: 2.75rem;
  font-weight: 700;
  line-height: 1;
  letter-spacing: -0.07em;
}


/* ==================================================================
   Payment flow — the page's dark moment
   ================================================================== */
.flow {
  position: relative;
  padding: clamp(1.5rem, 3vw, 2.25rem);
  border-radius: 1.5rem;
  background: var(--ink);
  box-shadow: var(--shadow-lift);
  overflow: hidden;
}

/* Soft warm glow so the panel reads as lit rather than flat. */
.flow::before {
  content: "";
  position: absolute;
  inset: -40% 30% 55% -10%;
  background: radial-gradient(closest-side, rgba(255, 198, 0, 0.16), transparent);
  pointer-events: none;
}

.flow-title {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  font-size: 0.6875rem;
  font-weight: 500;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: rgba(255, 255, 255, 0.6);
}

.flow-title::before {
  content: "";
  width: 1.75rem;
  height: 2px;
  border-radius: 2px;
  background: var(--yellow);
}

.flow-track { position: relative; display: grid; gap: 0.75rem; margin-top: 1.75rem; }

.flow-track > li:not(.flow-arrow) {
  padding: 1.25rem;
  border: 1px solid rgba(255, 255, 255, 0.16);
  border-radius: 0.875rem;
  background: rgba(255, 255, 255, 0.03);
  transition: border-color 0.4s var(--ease), background-color 0.4s var(--ease),
    transform 0.4s var(--ease);
}

.flow-arrow {
  display: flex;
  justify-content: center;
  color: rgba(255, 255, 255, 0.3);
  transition: color 0.4s var(--ease);
}

.flow-arrow .icons { transform: rotate(90deg); }

/* Inactive states are dimmed but still clear AA on the dark panel — the
   highlight is emphasis, never the difference between readable and not. */
.flow-label {
  font-size: 0.875rem;
  font-weight: 500;
  line-height: 1.35;
  color: rgba(255, 255, 255, 0.72);
  transition: color 0.4s var(--ease);
}

.flow-caption {
  margin-top: 0.5rem;
  font-size: 0.75rem;
  line-height: 1.55;
  color: rgba(255, 255, 255, 0.58);
  transition: color 0.4s var(--ease);
}

/* The stage that the reader has scrolled to lights up. */
.flow[data-flow-stage="1"] [data-node="1"],
.flow[data-flow-stage="2"] [data-node="2"],
.flow[data-flow-stage="3"] [data-node="3"] {
  border-color: var(--yellow);
  background: rgba(255, 198, 0, 0.1);
  transform: translateX(4px);
}

.flow[data-flow-stage="1"] [data-node="1"] .flow-label,
.flow[data-flow-stage="2"] [data-node="2"] .flow-label,
.flow[data-flow-stage="3"] [data-node="3"] .flow-label { color: var(--paper); }

.flow[data-flow-stage="1"] [data-node="1"] .flow-caption,
.flow[data-flow-stage="2"] [data-node="2"] .flow-caption,
.flow[data-flow-stage="3"] [data-node="3"] .flow-caption {
  color: rgba(255, 255, 255, 0.72);
}

.flow[data-flow-stage="2"] .flow-arrow:first-of-type,
.flow[data-flow-stage="3"] .flow-arrow { color: var(--yellow); }

@media (prefers-reduced-motion: reduce) {
  .flow-track > li:not(.flow-arrow) { transform: none !important; }
}

/* ==================================================================
   Scrollytelling — pinned flow, scrolling steps
   ================================================================== */
.scrolly-grid { display: grid; gap: 2.5rem; }

.scrolly-steps { display: grid; gap: 1rem; }

.scrolly-steps > li {
  padding: 1.5rem;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--paper);
  transition: border-color 0.35s var(--ease), box-shadow 0.35s var(--ease),
    background-color 0.35s var(--ease);
}

.scrolly-steps > li[data-current] {
  border-color: var(--ink);
  box-shadow: var(--shadow-card);
}

.scrolly-steps h4 { margin-top: 0.75rem; font-size: 1.0625rem; }
.scrolly-steps p { margin-top: 0.5rem; font-size: 0.9375rem; }

.scrolly-steps .step-number { transition: color 0.35s var(--ease); }
.scrolly-steps > li[data-current] .step-number { color: var(--ink); }

@media (min-width: 62rem) {
  .scrolly-grid {
    grid-template-columns: minmax(0, 5fr) minmax(0, 7fr);
    gap: 4.5rem;
    align-items: start;
  }
  .scrolly-visual { position: sticky; top: 8.5rem; }
  /* Each step gets a screenful so the pinned diagram has time to change. */
  .scrolly-steps { gap: 1.5rem; }
  .scrolly-steps > li { padding: 2rem; min-height: 15rem; }
}

/* ==================================================================
   Table
   ================================================================== */
.fee-panel { display: grid; gap: 1.25rem; }

.fee-metrics {
  display: grid;
  grid-template-columns: 1fr;
  gap: 0.75rem;
}

.fee-metrics article {
  display: flex;
  flex-direction: column;
  min-height: 13rem;
  padding: 1.5rem;
  border: 1px solid var(--line);
  border-radius: 1.25rem;
  background: var(--paper);
}

.fee-metrics span,
.fee-metrics small {
  font-size: 0.75rem;
  font-weight: 600;
  line-height: 1.45;
}

.fee-metrics span {
  letter-spacing: 0.05em;
  text-transform: uppercase;
}

.fee-metrics strong {
  margin-top: auto;
  color: var(--ink);
  font-size: clamp(2.5rem, 4vw, 4rem);
  line-height: 1;
  letter-spacing: -0.075em;
}

.fee-metrics small { margin-top: 0.5rem; color: rgba(17, 17, 15, 0.58); }


.table-scroll {
  overflow-x: auto;
  padding: 0.5rem 1.5rem 1.5rem;
  border: 1px solid var(--line);
  border-radius: 1.25rem;
  background: var(--paper);
}

@media (min-width: 48rem) {
  .fee-metrics { grid-template-columns: repeat(3, minmax(0, 1fr)); }
}

.table-scroll table {
  width: 100%;
  min-width: 30rem;
  border-collapse: collapse;
  text-align: left;
}

.table-scroll th,
.table-scroll td {
  padding-block: 1.125rem;
  font-size: 0.9375rem;
  line-height: 1.6;
  vertical-align: top;
}

.table-scroll thead th {
  padding-bottom: 1rem;
  border-bottom: 2px solid var(--ink);
  font-size: 0.6875rem;
  font-weight: 500;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--charcoal);
}

.table-scroll tbody th {
  width: 40%;
  padding-right: 2rem;
  border-bottom: 1px solid var(--line);
  font-weight: 300;
  color: var(--body);
}

.table-scroll tbody td {
  border-bottom: 1px solid var(--line);
  font-weight: 400;
  color: var(--ink);
}

.table-scroll tbody tr:hover th,
.table-scroll tbody tr:hover td { background: var(--paper); }

/* ==================================================================
   Accordion
   ================================================================== */
.accordion { border-top: 2px solid var(--ink); }

.check-list + .accordion { margin-top: 2rem; }

.accordion-item { border-bottom: 1px solid var(--line); }

.accordion-item h4 { font-weight: inherit; }

.accordion-item button {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 1.5rem;
  width: 100%;
  padding: 1.1875rem 0;
  border: 0;
  background: transparent;
  text-align: left;
  font-size: 1rem;
  font-weight: 400;
  line-height: 1.45;
  letter-spacing: -0.02em;
  color: var(--ink);
  transition: color 0.2s var(--ease);
}

.accordion-item button:hover { color: var(--body); }

.accordion-mark {
  position: relative;
  flex: none;
  width: 1.75rem;
  height: 1.75rem;
  margin-top: -0.125rem;
  border: 1px solid var(--line-strong);
  border-radius: 999px;
  color: var(--charcoal);
  transition: background-color 0.25s var(--ease), border-color 0.25s var(--ease);
}

.accordion-mark::before,
.accordion-mark::after {
  content: "";
  position: absolute;
  background: currentColor;
  transition: transform 0.25s var(--ease);
}

.accordion-mark::before {
  top: calc(50% - 1px);
  left: 50%;
  width: 0.75rem;
  height: 2px;
  transform: translateX(-50%);
}

.accordion-mark::after {
  left: calc(50% - 1px);
  top: 50%;
  width: 2px;
  height: 0.75rem;
  transform: translateY(-50%);
}

[aria-expanded="true"] .accordion-mark {
  background: var(--yellow);
  border-color: var(--yellow);
  color: var(--ink);
}

[aria-expanded="true"] .accordion-mark::after { transform: translateY(-50%) scaleY(0); }

.accordion-panel { padding-bottom: 1.5rem; }

.accordion-panel p {
  max-width: 44rem;
  padding-right: 2.5rem;
  font-size: 0.9375rem;
  line-height: 1.7;
}

.faq-block .accordion {
  display: grid;
  gap: 0.75rem;
  border-top: 0;
}

.faq-block .accordion-item {
  padding-inline: 1.25rem;
  border: 1px solid var(--line);
  border-radius: 1.125rem;
  background: var(--paper);
  transition: border-color 0.2s var(--ease), background-color 0.2s var(--ease);
}

.faq-block .accordion-item:has([aria-expanded="true"]) {
  border-color: var(--yellow-deep);
  background: var(--yellow-tint);
}

.faq-block .accordion-item button {
  min-height: 4.75rem;
  padding-block: 1rem;
  font-size: 1rem;
  font-weight: 600;
}

.faq-block .accordion-panel { padding-bottom: 1.25rem; }

/* Soft open. `hidden` stays on the panel, so the a11y behaviour is unchanged. */
.js .accordion-panel:not([hidden]) > p {
  animation: panelIn 0.32s var(--ease) both;
}

@keyframes panelIn {
  from { opacity: 0; transform: translateY(-0.375rem); }
}

/* ==================================================================
   Sticky dock — a persistent way back to the form on long scrolls
   ================================================================== */
.dock {
  position: fixed;
  inset: auto 0 0;
  z-index: 25;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1.5rem;
  padding: 0.875rem var(--gutter);
  padding-bottom: max(0.875rem, env(safe-area-inset-bottom));
  border-top: 1px solid var(--line);
  background: var(--paper);
  box-shadow: 0 -12px 32px -24px rgba(25, 21, 16, 0.6);
  transform: translateY(100%);
  transition: transform 0.35s var(--ease);
}

.dock.is-in { transform: none; }

.dock p { min-width: 0; }

.dock strong {
  display: block;
  font-size: 0.875rem;
  color: var(--ink);
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.dock span {
  display: none;
  font-size: 0.8125rem;
  color: var(--body);
}

/* It is the primary tap target down here, so it keeps a full touch height. */
.dock .button { flex: none; min-height: 2.75rem; padding-inline: 1.375rem; }

@media (min-width: 48rem) {
  .dock span { display: block; }
  .dock strong { font-size: 0.9375rem; }
}

/* ==================================================================
   Enquiry form
   ================================================================== */
.prototype-badge {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  margin-top: 1.5rem;
  padding: 0.375rem 0.875rem;
  border: 1px solid var(--line-strong);
  border-radius: 999px;
  background: var(--paper);
  font-size: 0.75rem;
  font-weight: 500;
  color: var(--charcoal);
}

.contact-block {
  padding: clamp(1.5rem, 4vw, 3.5rem);
  border-radius: clamp(1.75rem, 4vw, 3rem);
  background:
    radial-gradient(circle at 0 0, rgba(255, 198, 0, 0.15), transparent 28rem),
    var(--ink);
  box-shadow: var(--shadow-lift);
}

.contact-block .block-head h5 { color: var(--paper); }
.contact-block .block-head > p { color: rgba(255, 255, 255, 0.64); }
.contact-block .prototype-badge {
  color: rgba(255, 255, 255, 0.78);
  background: rgba(255, 255, 255, 0.07);
  border-color: rgba(255, 255, 255, 0.2);
}

.prototype-badge span {
  width: 0.375rem;
  height: 0.375rem;
  border-radius: 999px;
  background: var(--yellow);
}

.form-card {
  padding: clamp(1.5rem, 3vw, 2.5rem);
  border: 1px solid var(--line);
  border-radius: 1.5rem;
  background: var(--paper);
  box-shadow: var(--shadow-card);
}

.form-status {
  position: absolute;
  width: 1px; height: 1px;
  overflow: hidden;
  clip: rect(0 0 0 0);
}

.required-note { font-size: 0.75rem; }

.form-grid { display: grid; gap: 1.25rem; margin-top: 1.5rem; }

.field {
  display: flex;
  flex-direction: column;
  min-width: 0;
  margin: 0;
  border: 0;
  padding: 0;
}

/* Labels are always ink — they never inherit a light colour from a section. */
.field > label,
.field > legend {
  padding: 0;                    /* legends carry 2px by default */
  font-size: 0.875rem;
  font-weight: 500;
  color: var(--ink);
}

.field .req { color: var(--charcoal); }
.field .optional { font-weight: 300; color: var(--body); }

.field .hint {
  margin-top: 0.25rem;
  font-size: 0.75rem;
  line-height: 1.5;
  color: var(--body);
}

.field input,
.field select,
.field textarea {
  width: 100%;
  margin-top: auto;
  padding: 0.8125rem 1rem;
  border: 1px solid var(--line-strong);
  border-radius: var(--radius-sm);
  background: var(--bone);
  color: var(--ink);
  font-size: 1rem;
  transition: border-color 0.2s var(--ease), box-shadow 0.2s var(--ease);
}

.field input,
.field select { min-height: 3.125rem; }

.field textarea { resize: vertical; }

.field input:hover,
.field select:hover,
.field textarea:hover { border-color: var(--body); }

.field input:focus,
.field select:focus,
.field textarea:focus {
  border-color: var(--ink);
  box-shadow: 0 0 0 3px var(--yellow-tint);
}

.field :is(input, select, textarea)[aria-invalid="true"] {
  border-color: var(--ink);
  box-shadow: inset 0 0 0 1px var(--ink);
}

.field .hint + input,
.field .hint + textarea,
.field .hint + select { margin-top: 0.5rem; }

.field-error {
  display: flex;
  align-items: flex-start;
  gap: 0.375rem;
  margin-top: 0.5rem;
  font-size: 0.8125rem;
  font-weight: 400;
  line-height: 1.45;
  color: var(--ink);
}

.field-error::before {
  content: "!";
  flex: none;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 1rem;
  height: 1rem;
  margin-top: 0.0625rem;
  border-radius: 999px;
  background: var(--ink);
  color: var(--paper);
  font-size: 0.6875rem;
  font-weight: 600;
}

.radio-row { display: flex; flex-wrap: wrap; gap: 0.75rem; margin-top: 0.75rem; }

.choice {
  display: inline-flex;
  align-items: center;
  gap: 0.625rem;
  min-height: 2.75rem;
  padding: 0.5rem 1.25rem;
  border: 1px solid var(--line-strong);
  border-radius: 999px;
  font-size: 0.9375rem;
  font-weight: 400;
  color: var(--ink);
  transition: border-color 0.2s var(--ease), background-color 0.2s var(--ease);
}

.choice:hover { border-color: var(--body); }
.choice:has(input:checked) { border-color: var(--ink); background: var(--yellow-tint); }
.choice input { accent-color: var(--yellow); width: 1rem; height: 1rem; }

.field-consent {
  margin-top: 1.75rem;
  padding-top: 1.5rem;
  border-top: 1px solid var(--line);
}

.choice-consent {
  align-items: flex-start;
  min-height: 0;
  padding: 0;
  border: 0;
  border-radius: 0;
  background: transparent;
  font-weight: 300;
  font-size: 0.875rem;
  line-height: 1.6;
  color: var(--charcoal);
}

.choice-consent:hover { border-color: transparent; }
.choice-consent:has(input:checked) { background: transparent; border-color: transparent; }
.choice-consent input { margin-top: 0.25rem; }

.error-summary {
  display: flex;
  align-items: flex-start;
  gap: 0.625rem;
  margin-bottom: 1.5rem;
  padding: 1rem 1.125rem;
  border: 1px solid var(--ink);
  border-radius: var(--radius-sm);
  background: var(--yellow-tint);
  font-size: 0.875rem;
  font-weight: 400;
  color: var(--ink);
}

.submit-button { width: 100%; margin-top: 1.75rem; }

.form-footnote { margin-top: 1.25rem; font-size: 0.75rem; line-height: 1.6; }

.form-success { display: grid; justify-items: start; gap: 1rem; }

.form-success .icons {
  width: 2.75rem;
  height: 2.75rem;
  padding: 0.6875rem;
  border-radius: 999px;
  background: var(--yellow);
  color: var(--ink);
  stroke-width: 3;
}

.form-success h4 { font-size: 1.25rem; }
.form-success p { max-width: 38rem; font-size: 0.9375rem; }
.form-success .button { margin-top: 0.5rem; }

@media (min-width: 40rem) {
  .form-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 1.25rem 1.5rem; }
  .field-full { grid-column: 1 / -1; }
  .submit-button { width: auto; }
}

/* ==================================================================
   Final CTA — the page's brand moment
   ================================================================== */
.final-cta {
  position: relative;
  isolation: isolate;
  overflow: hidden;
  padding-block: clamp(3.5rem, 6vw, 6rem);
  background: var(--ink);
  color: var(--paper);
}

.final-cta::before {
  content: "";
  position: absolute;
  z-index: -1;
  right: -8rem;
  bottom: -17rem;
  width: 34rem;
  height: 34rem;
  border-radius: 50%;
  background: var(--yellow);
  box-shadow: 0 0 0 4rem rgba(255, 198, 0, 0.08),
    0 0 0 8rem rgba(255, 198, 0, 0.04);
}

.final-cta-inner { display: grid; gap: 2rem; }

.final-cta h2 {
  max-width: 15ch;
  font-size: var(--text-chapter);
  color: var(--paper);
  line-height: 0.96;
}

.final-cta p {
  margin-top: 0.875rem;
  font-size: 1.0625rem;
  color: rgba(255, 255, 255, 0.62);
}

.final-cta .button-dark {
  color: var(--ink);
  background: var(--yellow);
}

.final-cta .button-dark:hover { background: var(--paper); }

@media (min-width: 62rem) {
  .final-cta-inner {
    grid-template-columns: minmax(0, 1fr) auto;
    align-items: center;
    gap: 4rem;
  }
}

/* ==================================================================
   Disclaimer and footer
   ================================================================== */
.disclaimer {
  padding-block: clamp(2.5rem, 4vw, 3.5rem);
  background: var(--cream);
}

.disclaimer h2 {
  font-size: 0.6875rem;
  font-weight: 500;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--charcoal);
}

.disclaimer p {
  margin-top: 1rem;
  /* max-width: 46rem;              keeps the measure near 75ch on a wide rail */
  font-size: 0.8125rem;
  line-height: 1.7;
}

.site-footer { background: var(--ink); color: var(--paper); }

.footer-grid { display: grid; gap: 3rem; padding-block: clamp(3rem, 5vw, 4.5rem); }

.footer-brand .brand-rule { background: rgba(255, 255, 255, 0.25); }
.footer-brand .brand-country { color: rgba(255, 255, 255, 0.72); }
.footer-brand img { height: 1.625rem; }

.footer-brand p {
  margin-top: 1.5rem;
  max-width: 22rem;
  font-size: 0.875rem;
  line-height: 1.7;
  color: rgba(255, 255, 255, 0.62);
}

.footer-nav { display: grid; gap: 2.5rem; }

.footer-nav h2 {
  font-size: 0.6875rem;
  font-weight: 500;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: rgba(255, 255, 255, 0.5);
}

.footer-nav a {
  display: block;
  margin-top: 0.875rem;
  font-size: 0.875rem;
  color: rgba(255, 255, 255, 0.82);
  text-decoration: none;
  transition: color 0.2s var(--ease);
}

.footer-nav a:hover { color: var(--yellow); }

.footer-bottom {
  display: grid;
  gap: 0.75rem;
  padding-block: 2rem;
  border-top: 1px solid rgba(255, 255, 255, 0.12);
}

.footer-bottom strong { font-size: 0.875rem; color: var(--paper); }

.footer-bottom p { font-size: 0.75rem; line-height: 1.6; color: rgba(255, 255, 255, 0.55); }

.site-footer :focus-visible { outline-color: var(--yellow); }

/* Small labels stay compact without dropping below a readable 12px floor. */
.flow-title,
.table-scroll thead th,
.disclaimer h2,
.footer-nav h2,
.required-note,
.field .hint,
.form-footnote,
.footer-bottom p {
  font-size: 0.75rem;
}

@media (min-width: 40rem) {
  .footer-nav { grid-template-columns: repeat(3, minmax(0, 1fr)); }
  .footer-bottom {
    grid-template-columns: auto minmax(0, 1fr);
    align-items: center;
    gap: 2rem;
  }
  .footer-bottom p { text-align: right; }
}

@media (min-width: 62rem) {
  .footer-grid { grid-template-columns: minmax(0, 1fr) minmax(0, 2fr); gap: 4rem; }
}
