/* Grey Rock Consulting — site styles */

/* Typefaces, served from this site so no visitor's browser has to contact
   anyone else. Each file is a variable font: one file covers every weight used.
   Both are licensed under the SIL Open Font License. */
@font-face {
  font-family: "Archivo";
  font-style: normal;
  font-weight: 600 800;
  font-display: swap;
  src: url("/assets/fonts/archivo-latin.woff2") format("woff2");
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}

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

:root {
  --ink: #121214;
  --ink-2: #1a1a1e;
  --line-dark: rgba(255, 255, 255, 0.1);
  --paper: #ffffff;
  --paper-2: #f5f4f2;
  --line: #e4e2de;
  --text: #1c1c1f;
  --muted: #5c5c66;
  --muted-soft: #6f6f78; /* small secondary text on light backgrounds */
  --on-dark: #f4f4f5;
  --on-dark-muted: #a9a9b2;
  --on-dark-soft: #c9c9d0; /* body text on dark backgrounds */
  --red: #e0242a;
  --red-dark: #bf1a20;
  --red-soft: rgba(224, 36, 42, 0.1);
  --green: #1f9d61;
  --green-soft: rgba(31, 157, 97, 0.12);

  --font-display: "Archivo", "Segoe UI", system-ui, sans-serif;
  --font-body: "Inter", "Segoe UI", system-ui, -apple-system, sans-serif;

  --wrap: 1140px;
  --gutter: clamp(20px, 4vw, 40px);
  --header-h: 72px;
  --ease: cubic-bezier(0.2, 0.7, 0.1, 1);
}

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

html {
  scroll-behavior: smooth;
  scroll-padding-top: calc(var(--header-h) + 16px);
  -webkit-text-size-adjust: 100%;
}

body {
  margin: 0;
  background: var(--paper);
  color: var(--text);
  font-family: var(--font-body);
  font-size: 17px;
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
}

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

a {
  color: inherit;
}

h1,
h2,
h3,
h4 {
  font-family: var(--font-display);
  line-height: 1.12;
  letter-spacing: -0.02em;
  margin: 0;
  text-wrap: balance;
}

p {
  margin: 0;
}

.wrap {
  width: 100%;
  max-width: calc(var(--wrap) + var(--gutter) * 2);
  margin-inline: auto;
  padding-inline: var(--gutter);
}

.skip-link {
  position: absolute;
  left: 16px;
  top: -60px;
  z-index: 100;
  background: var(--red);
  color: #fff;
  padding: 10px 16px;
  border-radius: 8px;
  text-decoration: none;
  font-weight: 600;
}

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

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

/* ---------- Buttons ---------- */

.btn {
  position: relative;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  min-height: 48px;
  padding: 12px 24px;
  border: 1.5px solid transparent;
  border-radius: 999px;
  font-family: var(--font-body);
  font-size: 16px;
  font-weight: 600;
  line-height: 1.2;
  text-decoration: none;
  cursor: pointer;
  transition: background-color 0.2s ease, border-color 0.2s ease, box-shadow 0.25s ease, translate 0.25s var(--ease);
}

.btn svg {
  width: 18px;
  height: 18px;
  flex: none;
}

.btn:hover {
  translate: 0 -2px;
}

.btn:active {
  translate: 0 0;
}

.btn-primary {
  background: var(--red);
  color: #fff;
}

.btn-primary:hover {
  background: var(--red-dark);
  box-shadow: 0 12px 28px -10px rgba(224, 36, 42, 0.7);
}

.btn-ghost {
  border-color: rgba(255, 255, 255, 0.28);
  color: var(--on-dark);
}

.btn-ghost:hover {
  border-color: #fff;
  background: rgba(255, 255, 255, 0.06);
}

.btn-small {
  min-height: 40px;
  padding: 8px 18px;
  font-size: 15px;
}

/* ---------- Header ---------- */

.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  height: var(--header-h);
  background: rgba(18, 18, 20, 0.97);
  border-bottom: 1px solid var(--line-dark);
  color: var(--on-dark);
  transition: background-color 0.35s ease, border-color 0.35s ease;
}

/* See-through over the hero. Only with scripts running, because a script is what
   turns the header solid again once the page scrolls onto the light sections. */
.js .home .site-header:not(.scrolled):not(.nav-open) {
  background: transparent;
  border-bottom-color: transparent;
}

.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  height: 100%;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  text-decoration: none;
  color: var(--on-dark);
  flex: none;
}

.brand-name {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 18px;
  letter-spacing: 0.01em;
  line-height: 1.1;
}

.brand-name span {
  display: block;
  font-family: var(--font-body);
  font-size: 11px;
  font-weight: 500;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--on-dark-muted);
  margin-top: 3px;
}

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

.site-nav a:not(.btn) {
  position: relative;
  padding: 8px 12px;
  border-radius: 8px;
  color: var(--on-dark-muted);
  font-size: 15px;
  font-weight: 500;
  text-decoration: none;
  transition: color 0.15s ease;
}

.site-nav a:not(.btn)::after {
  content: "";
  position: absolute;
  left: 12px;
  right: 12px;
  bottom: 3px;
  height: 2px;
  background: var(--red);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 0.3s var(--ease);
}

.site-nav a:not(.btn):hover,
.site-nav a.is-current {
  color: #fff;
}

.site-nav a:not(.btn):hover::after,
.site-nav a.is-current::after {
  transform: scaleX(1);
}

.site-nav .btn {
  margin-left: 12px;
}

/* The mountain mark beside the name. */
.brand-mark {
  flex: none;
  width: 38px;
  height: 38px;
}

/* The login button that sits alone at the right of the bar on wide screens.
   Below that width the copy inside the menu (.nav-login) is the one that shows. */
.header-login {
  display: none;
}

/* Home page, wide screens: name on the left, links in the exact centre of the
   page, login on the right. The two outer columns are equal, which is what
   keeps the links centred whatever the widths of the name and the button. */
@media (min-width: 981px) {
  .home .header-inner {
    display: grid;
    grid-template-columns: minmax(0, 1fr) auto minmax(0, 1fr);
    gap: 12px;
  }

  .home .brand {
    justify-self: start;
  }

  .home .site-nav {
    gap: 0;
  }

  .home .site-nav a:not(.btn) {
    padding-inline: 10px;
  }

  .home .site-nav a:not(.btn)::after {
    left: 10px;
    right: 10px;
  }

  .nav-login {
    display: none;
  }

  .header-login {
    display: inline-flex;
    justify-self: end;
  }
}

.nav-toggle {
  display: none;
  width: 44px;
  height: 44px;
  padding: 0;
  border: 1px solid var(--line-dark);
  border-radius: 10px;
  background: rgba(18, 18, 20, 0.4);
  color: var(--on-dark);
  cursor: pointer;
}

.nav-toggle svg {
  width: 22px;
  height: 22px;
  margin: auto;
}

.nav-toggle .icon-close,
.nav-open .nav-toggle .icon-menu {
  display: none;
}

.nav-open .nav-toggle .icon-close {
  display: block;
}

.scroll-progress {
  position: absolute;
  left: 0;
  right: 0;
  bottom: -1px;
  height: 2px;
  pointer-events: none;
}

.scroll-progress span {
  display: block;
  height: 100%;
  background: var(--red);
  transform: scaleX(var(--scroll, 0));
  transform-origin: left;
}

@media (max-width: 980px) {
  /* Without scripts the menu button cannot open anything, so the links stay
     in the header as a row that scrolls sideways. */
  html:not(.js) .site-nav {
    min-width: 0;
    overflow-x: auto;
  }

  html:not(.js) .site-nav a {
    flex: none;
    white-space: nowrap;
  }

  .js .nav-toggle {
    display: block;
  }

  .js .site-nav {
    position: absolute;
    top: var(--header-h);
    left: 0;
    right: 0;
    display: none;
    flex-direction: column;
    align-items: stretch;
    gap: 2px;
    /* never taller than the screen, so every link stays reachable on a sideways phone */
    max-height: calc(100vh - var(--header-h));
    max-height: calc(100dvh - var(--header-h));
    padding: 12px var(--gutter) 20px;
    overflow-y: auto;
    background: var(--ink);
    border-bottom: 1px solid var(--line-dark);
  }

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

  .js .site-nav a:not(.btn) {
    padding: 12px 8px;
    font-size: 17px;
  }

  .js .site-nav a:not(.btn)::after {
    display: none;
  }

  .js .site-nav .btn {
    flex: none;
    margin: 10px 0 0;
  }
}

/* ---------- Sections ---------- */

.section {
  position: relative;
  padding-block: clamp(72px, 10vw, 136px);
}

.section-alt {
  background: var(--paper-2);
}

.section-dark {
  background: var(--ink);
  color: var(--on-dark);
}

.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  margin-bottom: 18px;
  color: var(--red);
  font-size: 13px;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
}

.eyebrow::before {
  content: "";
  width: 24px;
  height: 2px;
  background: currentColor;
}

.display {
  font-size: clamp(34px, 5.4vw, 66px);
  font-weight: 800;
  letter-spacing: -0.035em;
  line-height: 1.02;
}

.display-xl {
  font-size: clamp(44px, 8vw, 104px);
}

.chapter-line {
  max-width: 560px;
  margin-top: 22px;
  color: var(--muted);
  font-size: clamp(18px, 1.9vw, 21px);
  line-height: 1.5;
}

.section-dark .chapter-line {
  color: var(--on-dark-muted);
}

.section-head {
  max-width: 860px;
  margin-bottom: clamp(40px, 6vw, 72px);
}

/* ---------- Hero ---------- */

/* Short windows (most laptops): the space kept for the mountains under the hero,
   the headline, the box padding and the gaps all shrink with the window's height,
   so the box still fits below the header and the pinned scroll-through can run.
   Each height-based cap only takes effect below about 900px tall, so taller
   windows look exactly as before. script.js (copyFitsPinned) still unpins the
   hero on windows too short even for this. */
.hero {
  --hero-pad-bottom: clamp(110px, min(26vh, 51vh - 225px), 280px);
  position: relative;
  display: flex;
  align-items: center;
  min-height: 100vh;
  min-height: 100svh;
  margin-top: calc(-1 * var(--header-h));
  padding: calc(var(--header-h) + 32px) 0 var(--hero-pad-bottom);
  overflow: hidden;
  background: linear-gradient(180deg, #151518 0%, #1b1b20 60%, #222228 100%);
  color: var(--on-dark);
}

.hero-scene {
  position: absolute;
  inset: 0;
  pointer-events: none;
}

.hero-glow {
  position: absolute;
  inset: 0;
  background:
    radial-gradient(70% 55% at 78% 8%, rgba(224, 36, 42, 0.22), transparent 62%),
    radial-gradient(50% 40% at 12% 30%, rgba(255, 255, 255, 0.05), transparent 70%);
}

.ridge {
  position: absolute;
  left: -3%;
  bottom: -1px;
  width: 106%;
  max-width: none;
  height: 62vh;
  min-height: 300px;
  will-change: transform;
}

.ridge-back {
  height: 86vh;
  min-height: 400px;
}

.ridge-mid {
  height: 56vh;
  min-height: 280px;
}

.ridge-near {
  height: 50vh;
  min-height: 250px;
}

.hero-snow {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
}

.mist {
  position: absolute;
  left: -20%;
  width: 140%;
  height: 26vh;
  border-radius: 50%;
  background: radial-gradient(closest-side, rgba(255, 255, 255, 0.09), transparent);
  filter: blur(24px);
  animation: drift 38s ease-in-out infinite alternate;
}

.mist-0 {
  bottom: 34vh;
  height: 22vh;
  animation-duration: 60s;
  opacity: 0.7;
}

.mist-1 {
  bottom: 24vh;
}

.mist-2 {
  bottom: 8vh;
  height: 20vh;
  animation-duration: 52s;
  animation-direction: alternate-reverse;
  opacity: 0.8;
}

@keyframes drift {
  from {
    translate: -8% 0;
  }
  to {
    translate: 8% 0;
  }
}

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

.hero-box {
  position: relative;
  isolation: isolate;
  max-width: 880px;
  padding: clamp(26px, min(4.4vw, 6.7vh), 60px);
  will-change: transform, opacity;
}

/* A soft dark backing behind the hero copy, fading out toward the summit,
   so the text stays readable over the mountains. */
.hero-shade {
  position: absolute;
  inset: 0;
  z-index: -1;
  background: linear-gradient(
    90deg,
    rgba(18, 18, 20, 0.62) 0%,
    rgba(18, 18, 20, 0.5) 45%,
    rgba(18, 18, 20, 0.12) 80%,
    rgba(18, 18, 20, 0) 100%
  );
  pointer-events: none;
}

.hero .btn-ghost {
  background: rgba(18, 18, 20, 0.55);
}

.hero .btn-ghost:hover {
  background: rgba(40, 40, 46, 0.7);
}

.hero-frame {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  max-width: none;
  overflow: visible;
  pointer-events: none;
}

.hero-frame rect {
  width: calc(100% - 2px);
  height: calc(100% - 2px);
  fill: none;
  stroke: rgba(255, 255, 255, 0.55);
  stroke-width: 1;
  vector-effect: non-scaling-stroke;
}

.hero h1 {
  font-size: clamp(40px, min(6.6vw, 9.4vh), 84px);
  font-weight: 800;
  letter-spacing: -0.04em;
  line-height: 1;
}

.hero h1 em {
  font-style: normal;
  color: var(--red);
}

.hero-lede {
  max-width: 520px;
  margin-top: clamp(16px, 2.7vh, 24px);
  color: #e4e4e8;
  font-size: clamp(18px, 2vw, 21px);
  line-height: 1.5;
  text-shadow: 0 1px 14px rgba(18, 18, 20, 0.9);
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
  margin-top: clamp(22px, 3.8vh, 34px);
}

.scroll-cue {
  position: absolute;
  left: 50%;
  bottom: 26px;
  z-index: 2;
  display: grid;
  justify-items: center;
  width: 26px;
  height: 42px;
  margin-left: -13px;
  border: 1.5px solid rgba(255, 255, 255, 0.45);
  border-radius: 14px;
}

.scroll-cue span {
  width: 3px;
  height: 8px;
  margin-top: 8px;
  border-radius: 2px;
  background: #fff;
  animation: cue 1.8s ease-in-out infinite;
}

@keyframes cue {
  0% {
    opacity: 0;
    translate: 0 -2px;
  }
  35% {
    opacity: 1;
  }
  100% {
    opacity: 0;
    translate: 0 14px;
  }
}

/* Hero entrance (JS only) */

.js .hero-frame rect {
  stroke-dasharray: 1;
  stroke-dashoffset: 1;
  transition: stroke-dashoffset 2.2s cubic-bezier(0.65, 0, 0.2, 1) 0.2s;
}

.js .hero.is-loaded .hero-frame rect {
  stroke-dashoffset: 0;
}

.js .hero .eyebrow,
.js .hero-lede,
.js .hero-actions,
.js .scroll-cue {
  opacity: 0;
  translate: 0 18px;
  transition: opacity 0.9s ease, translate 0.9s var(--ease);
}

.js .hero.is-loaded .eyebrow {
  opacity: 1;
  translate: 0 0;
  transition-delay: 0.15s;
}

.js .hero.is-loaded .hero-lede {
  opacity: 1;
  translate: 0 0;
  transition-delay: 0.3s;
}

/* The buttons are the way into the page, so they arrive early and quickly:
   fully visible about 0.85s after the hero loads (it used to be about 2s). */
.js .hero.is-loaded .hero-actions {
  opacity: 1;
  translate: 0 0;
  transition-duration: 0.5s;
  transition-delay: 0.35s;
}

.js .hero.is-loaded .scroll-cue {
  opacity: 1;
  translate: 0 0;
  transition-delay: 1.6s;
}

.js .ridge {
  translate: 0 90px;
  opacity: 0;
  transition: translate 1.6s var(--ease), opacity 1.2s ease;
}

.js .ridge-mid {
  transition-delay: 0.15s;
}

.js .ridge-near {
  transition-delay: 0.3s;
}

.js .hero.is-loaded .ridge {
  translate: 0 0;
  opacity: 1;
}

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

.js [data-split] .word {
  display: inline-block;
  overflow: hidden;
  vertical-align: top;
  padding: 0.08em 0.03em 0.16em;
  margin: -0.08em -0.03em -0.16em;
}

.js [data-split] .word-inner {
  display: inline-block;
  transform: translateY(115%);
  transition: transform 0.9s var(--ease);
  transition-delay: calc(var(--i, 0) * 60ms + var(--base, 0ms));
}

.js [data-split].is-visible .word-inner {
  transform: none;
}

.hero h1[data-split] {
  --base: 250ms;
}

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

.js .reveal {
  opacity: 0;
  translate: 0 22px;
  transition: opacity 0.8s ease, translate 0.8s var(--ease);
  transition-delay: var(--d, 0ms);
}

.js .reveal.is-visible {
  opacity: 1;
  translate: 0 0;
}

.js .pop {
  opacity: 0;
  scale: 0.9;
  transition: opacity 0.7s ease, scale 0.9s var(--ease);
  transition-delay: var(--d, 0ms);
}

.js .pop.is-visible {
  opacity: 1;
  scale: 1;
}

/* ---------- Stats ---------- */

.stats-band {
  background: var(--ink);
  color: var(--on-dark);
}

.hero-stats {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 0;
}

.stat {
  padding: 36px 28px 56px 0;
}

.stat + .stat {
  padding-left: 32px;
  border-left: 1px solid var(--line-dark);
}

.stat-value {
  font-family: var(--font-display);
  font-size: clamp(40px, 5.6vw, 72px);
  font-weight: 800;
  letter-spacing: -0.04em;
  line-height: 1;
  color: #fff;
  font-variant-numeric: tabular-nums;
}

.stat-label {
  margin-top: 12px;
  color: var(--on-dark-muted);
  font-size: 16px;
  line-height: 1.45;
}

@media (max-width: 720px) {
  .hero-stats {
    grid-template-columns: 1fr;
  }

  .stat {
    padding: 24px 0;
  }

  .stat + .stat {
    padding-left: 0;
    border-left: 0;
    border-top: 1px solid var(--line-dark);
  }

  .stat:last-child {
    padding-bottom: 44px;
  }
}

/* ---------- Platform ---------- */

.platform {
  display: grid;
  grid-template-columns: minmax(0, 0.95fr) minmax(0, 1.05fr);
  gap: clamp(32px, 6vw, 80px);
  align-items: center;
}

.pill-list {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin: 30px 0 0;
  padding: 0;
  list-style: none;
}

.pill-list li {
  padding: 8px 16px;
  border: 1px solid #d5d2cc;
  border-radius: 999px;
  background: var(--paper);
  font-size: 15px;
  font-weight: 600;
}

.collage {
  position: relative;
  height: 590px;
}

.float {
  position: absolute;
  will-change: transform;
}

.float > * {
  animation: bob 7s ease-in-out infinite alternate;
}

.c-invoice {
  left: 6%;
  top: 150px;
  z-index: 2;
  width: 300px;
}

.c-total {
  right: 0;
  top: 0;
  z-index: 3;
  width: 230px;
}

.c-total > * {
  animation-duration: 9s;
  animation-delay: -3s;
}

.c-toast {
  left: 0;
  top: 84px;
  z-index: 4;
}

.c-toast > * {
  animation-duration: 6s;
  animation-delay: -2s;
}

.c-deposit {
  right: 0;
  bottom: 56px;
  z-index: 4;
  width: 286px;
}

.c-deposit > * {
  animation-duration: 8s;
  animation-delay: -5s;
}

.c-plan {
  left: 0;
  bottom: 0;
  z-index: 3;
  width: 220px;
}

.c-plan > * {
  animation-duration: 10s;
  animation-delay: -1s;
}

@keyframes bob {
  from {
    translate: 0 -6px;
  }
  to {
    translate: 0 6px;
  }
}

.sample-note {
  margin-top: 18px;
  color: var(--muted-soft); /* dark enough to read at this size */
  font-size: 13px;
  text-align: center;
}

/* ---------- Mock UI ---------- */

.ui-card {
  padding: 18px;
  background: #fff;
  border: 1px solid rgba(18, 18, 20, 0.07);
  border-radius: 16px;
  box-shadow: 0 30px 60px -28px rgba(18, 18, 20, 0.45), 0 2px 6px rgba(18, 18, 20, 0.05);
  color: var(--text);
  font-size: 14px;
  line-height: 1.4;
}

.ui-row {
  display: grid;
  grid-template-columns: 40px 1fr;
  gap: 12px;
  align-items: center;
  padding: 14px 16px;
}

.ui-icon {
  display: grid;
  place-items: center;
  width: 40px;
  height: 40px;
  border-radius: 12px;
  background: var(--red-soft);
  color: var(--red);
}

.ui-icon svg {
  width: 20px;
  height: 20px;
}

.ui-label {
  color: var(--muted-soft);
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 0.04em;
  text-transform: uppercase;
}

.ui-strong {
  margin-top: 2px;
  font-weight: 600;
}

.ui-big {
  margin-top: 4px;
  font-family: var(--font-display);
  font-size: 34px;
  font-weight: 800;
  letter-spacing: -0.03em;
  line-height: 1.1;
  font-variant-numeric: tabular-nums;
}

.ui-sub {
  margin-top: 8px;
  color: var(--muted-soft);
  font-size: 13px;
}

.meter {
  height: 6px;
  margin-top: 14px;
  border-radius: 3px;
  background: #ecebe8;
  overflow: hidden;
}

.meter i {
  display: block;
  width: var(--w);
  height: 100%;
  border-radius: 3px;
  background: var(--red);
}

.js .meter i {
  width: 0;
  transition: width 1.6s var(--ease) 0.5s;
}

.js .is-visible .meter i {
  width: var(--w);
}

.dots {
  display: flex;
  gap: 8px;
  margin-top: 14px;
}

.dots i {
  width: 100%;
  height: 6px;
  border-radius: 3px;
  background: #ecebe8;
}

.dots i.on {
  background: var(--red);
}

.ui-toast {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 10px 16px 10px 10px;
  border-radius: 999px;
  background: var(--ink);
  box-shadow: 0 20px 40px -18px rgba(18, 18, 20, 0.6);
  color: #fff;
  font-size: 14px;
  font-weight: 600;
  white-space: nowrap;
}

.tick {
  display: grid;
  place-items: center;
  width: 24px;
  height: 24px;
  border-radius: 50%;
  background: var(--green);
  color: #fff;
}

.tick svg {
  width: 14px;
  height: 14px;
}

.invoice-head {
  display: grid;
  grid-template-columns: 38px 1fr auto;
  gap: 12px;
  align-items: center;
}

.avatar {
  display: grid;
  place-items: center;
  width: 38px;
  height: 38px;
  border-radius: 10px;
  background: var(--ink);
  color: #fff;
  font-family: var(--font-display);
  font-size: 13px;
  font-weight: 700;
}

.invoice-id strong {
  display: block;
  white-space: nowrap;
  font-size: 15px;
}

.invoice-id span {
  color: var(--muted-soft);
  font-size: 12px;
}

.chip {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 4px 10px;
  border-radius: 999px;
  font-size: 12px;
  font-weight: 700;
}

.chip i {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: currentColor;
}

.chip-paid,
.chip-done {
  background: var(--green-soft);
  color: #157a4a;
}

.chip-sent {
  background: #efeeeb;
  color: #5c5c66;
}

.invoice-rows {
  display: grid;
  gap: 8px;
  margin-top: 16px;
  padding-top: 14px;
  border-top: 1px solid #ecebe8;
}

.invoice-rows div,
.invoice-total {
  display: flex;
  justify-content: space-between;
  gap: 12px;
}

.invoice-rows span:first-child {
  color: #5c5c66;
}

.invoice-total {
  margin-top: 14px;
  padding-top: 14px;
  border-top: 1px solid #ecebe8;
  align-items: baseline;
}

.invoice-total strong {
  font-family: var(--font-display);
  font-size: 22px;
  font-weight: 800;
  letter-spacing: -0.02em;
}

/* ---------- Pinned scene ---------- */

.scene {
  position: relative;
  background: var(--ink);
  color: var(--on-dark);
  scroll-margin-top: calc(-1 * (var(--header-h) + 16px));
}

.scene-sticky {
  padding-block: clamp(72px, 10vw, 136px);
}

.scene-inner {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
  gap: clamp(32px, 6vw, 80px);
  align-items: center;
}

/* Same size as every other section heading on tall screens. The scene is pinned
   to one screen, so on short screens the heading gives way to keep the steps in view. */
.scene .display {
  font-size: clamp(30px, min(5.4vw, 7.4vh), 66px);
}

.scene-steps {
  position: relative;
  margin: clamp(24px, 4vh, 40px) 0 0;
  padding: 0 0 0 30px;
  list-style: none;
}

.scene-steps::before,
.scene-steps::after {
  content: "";
  position: absolute;
  left: 0;
  top: 8px;
  bottom: 8px;
  width: 2px;
  background: var(--line-dark);
}

.scene-steps::after {
  background: var(--red);
  transform: scaleY(var(--progress, 1));
  transform-origin: top;
}

.scene-steps li {
  padding: 14px 0;
  transition: opacity 0.4s ease;
}

.scene-steps h3 {
  font-size: clamp(20px, 2.2vw, 26px);
  font-weight: 700;
}

.scene-steps p {
  margin-top: 6px;
  color: var(--on-dark-muted);
  font-size: 17px;
}

.scene-stage {
  position: relative;
  display: grid;
  place-items: center;
  min-height: 440px;
}

.scene-stage::before {
  content: "";
  position: absolute;
  width: min(460px, 100%);
  aspect-ratio: 1;
  border-radius: 50%;
  background: radial-gradient(closest-side, rgba(224, 36, 42, 0.28), transparent);
  transition: scale 0.8s var(--ease), opacity 0.8s ease;
}

.scene-stage[data-step="2"]::before {
  scale: 1.12;
}

.scene-stage[data-step="3"]::before {
  scale: 1.25;
}

.demo {
  position: relative;
  width: min(330px, 100%);
}

.demo-invoice {
  position: relative;
  z-index: 1;
}

.demo-email,
.demo-deposit {
  position: absolute;
  z-index: 2;
  width: 272px;
  transition: opacity 0.5s ease, translate 0.6s var(--ease), scale 0.6s var(--ease);
}

.demo-email {
  left: -54px;
  top: -82px;
}

.demo-deposit {
  right: -54px;
  bottom: -70px;
}

.scene-stage:not([data-step="1"]) .demo-email {
  opacity: 0;
  translate: 0 -18px;
  scale: 0.94;
}

.scene-stage:not([data-step="3"]) .demo-deposit {
  opacity: 0;
  translate: 0 22px;
  scale: 0.94;
}

.chip-stack {
  display: grid;
  justify-items: end;
}

.chip-stack .chip {
  grid-area: 1 / 1;
  opacity: 0;
  scale: 0.8;
  transition: opacity 0.35s ease, scale 0.45s var(--ease);
}

.scene-stage[data-step="1"] .chip-sent,
.scene-stage[data-step="2"] .chip-paid,
.scene-stage[data-step="3"] .chip-done {
  opacity: 1;
  scale: 1;
}

.demo-pay {
  display: grid;
  margin-top: 16px;
  border-radius: 10px;
  background: var(--red);
  color: #fff;
  font-weight: 700;
  text-align: center;
  transition: background-color 0.45s ease;
}

.demo-pay span {
  grid-area: 1 / 1;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 11px;
  transition: opacity 0.35s ease, translate 0.45s var(--ease);
}

.demo-pay svg {
  width: 16px;
  height: 16px;
}

.scene-stage:not([data-step="1"]) .demo-pay {
  background: var(--green);
}

.scene-stage[data-step="1"] .paid-label,
.scene-stage:not([data-step="1"]) .pay-label {
  opacity: 0;
  translate: 0 8px;
}

.demo-secure {
  margin-top: 10px;
  color: var(--muted-soft);
  font-size: 12px;
  text-align: center;
  transition: opacity 0.4s ease;
}

.scene-stage[data-step="1"] .demo-secure {
  opacity: 0;
}

/* Pinned behaviour (JS only) */

.js .scene {
  height: 300vh;
}

/* Without scripts nothing is pinned, so the section can simply clip its own
   decoration (it otherwise makes a phone page scroll sideways). */
html:not(.js) .scene {
  overflow: hidden;
}

.js .scene-sticky {
  position: sticky;
  top: 0;
  display: flex;
  align-items: center;
  height: 100vh;
  height: 100svh;
  padding-block: calc(var(--header-h) + 16px) 24px;
  overflow: hidden;
}

.js .scene-inner {
  width: 100%;
}

.js .scene-steps li:not(.is-active) {
  opacity: 0.75; /* dimmed, but still readable */
}

@media (max-width: 860px) {
  .scene-inner {
    grid-template-columns: 1fr;
    gap: 20px;
  }

  .scene .eyebrow {
    margin-bottom: 10px;
  }

  .scene-steps {
    margin-top: 18px;
  }

  .scene-steps li {
    padding: 7px 0;
  }

  .scene-steps p {
    font-size: 15px;
  }

  /* Only the current step's description is shown, to fit the pinned screen.
     The others stay available to screen readers. */
  .js .scene-steps li:not(.is-active) p {
    position: absolute;
    width: 1px;
    height: 1px;
    overflow: hidden;
    clip-path: inset(50%);
    white-space: nowrap;
  }

  .scene-stage {
    min-height: 0;
    padding: 54px 0 48px;
  }

  .demo {
    width: min(300px, 90%);
  }

  .demo .ui-card.invoice {
    padding: 14px;
  }

  .demo .invoice-rows {
    margin-top: 12px;
    padding-top: 10px;
    gap: 5px;
  }

  .demo .invoice-total {
    margin-top: 10px;
    padding-top: 10px;
  }

  .demo-pay {
    margin-top: 12px;
  }

  .demo-email,
  .demo-deposit {
    width: 262px;
    padding: 10px 12px;
  }

  .demo-email {
    left: -22px;
    top: -52px;
  }

  .demo-deposit {
    right: -22px;
    bottom: -46px;
  }
}

@media (max-width: 860px) and (max-height: 740px) {
  .js .scene-sticky {
    align-items: flex-start;
    padding-top: calc(var(--header-h) + 12px);
  }

  .scene .eyebrow,
  .demo-secure,
  .demo .invoice-rows div + div {
    display: none;
  }

  .scene .display {
    font-size: 26px;
  }

  .scene-steps {
    margin-top: 12px;
  }

  .scene-stage {
    padding: 48px 0 44px;
  }
}

/* ---------- Service explorer ---------- */

.card-icon {
  display: grid;
  place-items: center;
  width: 46px;
  height: 46px;
  margin-bottom: 22px;
  border-radius: 12px;
  background: var(--red-soft);
  color: var(--red);
}

.card-icon svg {
  width: 23px;
  height: 23px;
}

.explorer {
  --gap: clamp(24px, 4vw, 56px);
  position: relative;
}

.svc-stage {
  display: none;
}

.svc-list {
  margin: 0;
  padding: 0;
  list-style: none;
  border-top: 1px solid var(--line);
}

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

.svc-tab {
  position: relative;
  display: grid;
  grid-template-columns: 40px minmax(0, 1fr) 20px;
  align-items: center;
  gap: 10px;
  width: 100%;
  padding: 17px 4px;
  border: 0;
  background: none;
  color: var(--muted);
  font-family: var(--font-display);
  font-size: clamp(18px, 1.9vw, 22px);
  font-weight: 700;
  letter-spacing: -0.015em;
  line-height: 1.2;
  text-align: left;
  cursor: pointer;
  transition: color 0.25s ease, padding-left 0.4s var(--ease);
}

.svc-tab::before {
  content: "";
  position: absolute;
  left: 0;
  top: 22%;
  bottom: 22%;
  width: 3px;
  border-radius: 2px;
  background: var(--red);
  transform: scaleY(0);
  transition: transform 0.4s var(--ease);
}

.svc-tab::after {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  bottom: -1px;
  height: 2px;
  background: var(--red);
  transform: scaleX(0);
  transform-origin: left;
}

.svc-num {
  color: var(--muted-soft); /* dark enough to read at this size */
  font-size: 13px;
  letter-spacing: 0.08em;
  transition: color 0.25s ease;
}

.svc-arrow {
  justify-self: end;
  width: 9px;
  height: 9px;
  border-top: 2px solid currentColor;
  border-right: 2px solid currentColor;
  rotate: 45deg;
  opacity: 0.35;
  transition: opacity 0.25s ease, translate 0.4s var(--ease), rotate 0.4s var(--ease);
}

.svc-tab:hover {
  color: var(--text);
}

.svc.is-active .svc-tab {
  padding-left: 16px;
  color: var(--text);
}

.svc.is-active .svc-tab::before {
  transform: scaleY(1);
}

.svc.is-active .svc-num {
  color: var(--red);
}

.svc.is-active .svc-arrow {
  opacity: 1;
}

.explorer.is-auto .svc.is-active .svc-tab::after {
  animation: svc-progress 4.5s linear forwards;
}

@keyframes svc-progress {
  to {
    transform: scaleX(1);
  }
}

.svc-detail-inner {
  position: relative;
  display: flex;
  flex-direction: column;
  gap: 12px;
  margin: 2px 0 20px;
  padding: 24px;
  overflow: hidden;
  border-radius: 16px;
  background:
    radial-gradient(360px circle at 85% 0%, rgba(224, 36, 42, 0.42), transparent 62%),
    var(--ink);
  color: var(--on-dark);
}

.svc-big {
  position: absolute;
  right: 14px;
  top: 2px;
  color: transparent;
  font-family: var(--font-display);
  font-size: 96px;
  font-weight: 800;
  letter-spacing: -0.05em;
  line-height: 1;
  -webkit-text-stroke: 1.5px rgba(255, 255, 255, 0.16);
  pointer-events: none;
}

.svc-icon {
  display: grid;
  place-items: center;
  width: 52px;
  height: 52px;
  border-radius: 14px;
  background: var(--red);
  color: #fff;
}

.svc-icon svg {
  width: 26px;
  height: 26px;
}

.svc-lead {
  margin-top: 10px;
  color: #fff;
  font-family: var(--font-display);
  font-size: clamp(22px, 2.6vw, 34px);
  font-weight: 700;
  letter-spacing: -0.02em;
  line-height: 1.12;
  text-wrap: balance;
}

.svc-detail p:not(.svc-lead) {
  max-width: 46ch;
  color: var(--on-dark-soft);
  font-size: 16px;
  line-height: 1.55;
}

/* Tap-to-open list (JS, narrow screens) */

/* A closed panel is hidden from keyboards and screen readers as well as from view;
   the delay lets it finish sliding shut first. */
.js .svc-detail {
  display: grid;
  grid-template-rows: 0fr;
  visibility: hidden;
  transition: grid-template-rows 0.5s var(--ease), visibility 0s linear 0.5s;
}

.js .svc-clip {
  min-height: 0;
  overflow: hidden;
}

.js .svc.is-active .svc-detail {
  grid-template-rows: 1fr;
  visibility: visible;
  transition-delay: 0s;
}

.js .svc.is-active .svc-arrow {
  rotate: 135deg;
}

.js .svc-icon svg * {
  stroke-dasharray: 90;
  stroke-dashoffset: 90;
}

.js .svc.is-active .svc-icon svg * {
  stroke-dashoffset: 0;
  transition: stroke-dashoffset 1.1s var(--ease) 0.2s;
}

/* Side-by-side explorer (JS, wide screens) */

@media (min-width: 900px) {
  .js .explorer {
    display: grid;
    grid-template-columns: calc((100% - var(--gap)) * 0.44) calc((100% - var(--gap)) * 0.56);
    column-gap: var(--gap);
  }

  .js .svc-list {
    grid-column: 1;
    grid-row: 1;
  }

  .js .svc-stage {
    display: block;
    grid-column: 2;
    grid-row: 1;
    border-radius: 24px;
    background:
      radial-gradient(480px circle at var(--mx, 82%) var(--my, 0%), rgba(224, 36, 42, 0.46), transparent 62%),
      var(--ink);
  }

  .js .svc-detail {
    position: absolute;
    top: 0;
    right: 0;
    bottom: 0;
    display: block;
    width: calc((100% - var(--gap)) * 0.56);
    opacity: 0;
    visibility: hidden;
    translate: 0 26px;
    transition: opacity 0.22s ease, translate 0.22s ease, visibility 0s 0.22s;
  }

  .js .svc.is-active .svc-detail {
    opacity: 1;
    visibility: visible;
    translate: 0 0;
    transition: opacity 0.55s ease 0.12s, translate 0.7s var(--ease) 0.12s, visibility 0s;
  }

  .js .svc-clip {
    height: 100%;
    overflow: visible;
  }

  .js .svc-detail-inner {
    height: 100%;
    justify-content: flex-end;
    margin: 0;
    padding: clamp(28px, 3.6vw, 48px);
    border-radius: 24px;
    background: none;
  }

  .js .svc-big {
    right: 26px;
    top: 12px;
    font-size: clamp(140px, 17vw, 220px);
    opacity: 0;
    translate: 48px 0;
    transition: opacity 0.6s ease 0.15s, translate 0.9s var(--ease) 0.15s;
  }

  .js .svc.is-active .svc-big {
    opacity: 1;
    translate: 0 0;
  }

  .js .svc-icon {
    position: absolute;
    left: clamp(28px, 3.6vw, 48px);
    top: clamp(28px, 3.6vw, 48px);
    width: 64px;
    height: 64px;
    border-radius: 18px;
  }

  .js .svc-icon svg {
    width: 30px;
    height: 30px;
  }

  .js .svc.is-active .svc-arrow {
    rotate: 45deg;
    translate: 4px 0;
  }
}

/* Included / quoted split.
   Without scripts both groups show, each under its heading. With scripts,
   script.js puts a small toggle above the list and shows one group at a time. */

.svc-head {
  padding: 22px 4px 10px;
  border-bottom: 1px solid var(--line);
  color: var(--text);
  font-size: 13px;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.svc-head:first-child {
  padding-top: 14px;
}

.svc-foot {
  padding: 14px 4px 0;
  color: var(--muted);
  font-size: 15px;
  line-height: 1.5;
}

.svc-foot a {
  color: var(--red-dark);
  font-weight: 600;
  text-underline-offset: 3px;
}

.has-switch .svc-head,
.has-switch[data-set="inc"] [data-group="quo"],
.has-switch[data-set="quo"] [data-group="inc"] {
  display: none;
}

.svc-switch {
  display: grid;
  grid-template-columns: minmax(0, 1.12fr) minmax(0, 1fr);
  margin-bottom: 12px;
  padding: 4px;
  border-radius: 14px;
  background: #ecebe8;
}

/* Same shape and size as the calculator's toggle (.calc-seg). */
.svc-switch button {
  min-height: 44px;
  padding: 8px 6px;
  border: 0;
  border-radius: 10px;
  background: none;
  color: #44444c;
  font-family: var(--font-body);
  font-size: 15px;
  font-weight: 600;
  line-height: 1.3;
  white-space: nowrap;
  cursor: pointer;
}

.svc-switch button[aria-pressed="true"] {
  background: #fff;
  color: var(--text);
  box-shadow: 0 2px 8px rgba(18, 18, 20, 0.14);
}

.svc-count {
  margin-left: 2px;
  color: var(--muted);
  font-weight: 500;
}

@media (min-width: 900px) {
  .js .explorer.has-switch {
    grid-template-rows: auto 1fr;
    min-height: 460px;
  }

  .js .has-switch .svc-switch {
    grid-column: 1;
    grid-row: 1;
  }

  .js .has-switch .svc-list {
    grid-row: 2;
    align-self: start;
  }

  .js .has-switch .svc-stage {
    grid-row: 1 / span 2;
  }
}

@media (min-width: 900px) and (max-width: 1120px) {
  .svc-switch button {
    font-size: 13px;
  }
}

@media (max-width: 420px) {
  .svc-switch button {
    font-size: 13px;
  }
}

/* Very narrow phones: both counts drop to a second line so the two halves stay even. */
@media (max-width: 359px) {
  .svc-switch button {
    white-space: normal;
  }

  .svc-count {
    display: block;
    margin-left: 0;
  }
}

/* ---------- Pricing ----------
   A dark band states the two fees. The calculator sits on the light part below it. */

.pricing-band {
  padding-block: clamp(72px, 10vw, 128px) clamp(48px, 7vw, 88px);
}

.pricing-band-in {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: clamp(28px, 5vw, 64px);
  align-items: center;
}

.fee-cards {
  display: grid;
  gap: 14px;
}

.fee-card {
  padding: 20px 22px 22px;
  background: var(--ink-2);
  border: 1px solid var(--line-dark);
  border-radius: 16px;
}

.fee-label {
  color: var(--on-dark-muted);
  font-size: 13px;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
}

.fee-value {
  margin-top: 12px;
  color: #fff;
  font-family: var(--font-display);
  font-size: clamp(34px, 3.5vw, 44px);
  font-weight: 800;
  letter-spacing: -0.04em;
  line-height: 1;
  white-space: nowrap;
}

.fee-note {
  margin-top: 10px;
  color: var(--on-dark-muted);
  font-size: 15px;
  line-height: 1.3;
}

@media (max-width: 1000px) {
  .pricing-band-in {
    grid-template-columns: 1fr;
  }

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

@media (max-width: 480px) {
  .fee-cards {
    grid-template-columns: 1fr;
  }
}

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

.pricing-calc {
  padding-block: clamp(40px, 5vw, 64px) clamp(72px, 10vw, 128px);
  background: var(--paper-2);
}

.calc-intro {
  font-size: clamp(24px, 3vw, 32px);
  font-weight: 800;
  letter-spacing: -0.025em;
  line-height: 1.1;
}

/* The Grey Rock card redefines these three, so the same rules style both cards. */
.calc {
  --calc-text: var(--text);
  --calc-soft: var(--muted);
  --calc-rule: var(--line);
  margin-top: 20px;
  color: var(--calc-text);
  font-variant-numeric: tabular-nums;
}

.calc-top {
  display: grid;
  grid-template-columns: minmax(0, 0.9fr) minmax(0, 1.1fr);
  gap: clamp(28px, 5vw, 60px);
  align-items: center;
  padding: clamp(22px, 3vw, 38px);
  background: var(--paper);
  border: 1px solid rgba(18, 18, 20, 0.09);
  border-radius: 24px;
  box-shadow: 0 30px 60px -38px rgba(18, 18, 20, 0.35);
}

.calc-controls {
  display: grid;
  gap: 26px;
}

.calc-label {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 16px;
}

.calc-label label,
.calc-label span,
.calc-kicker {
  color: var(--calc-soft);
  font-size: 13px;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
}

.calc-label output {
  font-family: var(--font-display);
  font-size: 30px;
  font-weight: 800;
  letter-spacing: -0.03em;
  line-height: 1;
}

.calc-control input[type="range"] {
  display: block;
  width: 100%;
  margin: 10px 0 0;
  accent-color: var(--red);
  cursor: pointer;
}

.calc-seg {
  display: grid;
  grid-template-columns: 1fr 1fr;
  margin-top: 10px;
  padding: 4px;
  border-radius: 14px;
  background: #ecebe8;
}

.calc-seg button {
  min-height: 44px;
  padding: 8px 10px;
  border: 0;
  border-radius: 10px;
  background: none;
  color: #44444c;
  font-family: var(--font-body);
  font-size: 15px;
  font-weight: 600;
  line-height: 1.3;
  cursor: pointer;
}

.calc-seg button[aria-pressed="true"] {
  background: #fff;
  color: var(--text);
  box-shadow: 0 2px 8px rgba(18, 18, 20, 0.14);
}

.calc-pref {
  display: inline-block;
  margin-left: 8px;
  padding: 2px 7px 3px;
  border-radius: 999px;
  background: var(--red);
  color: #fff;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  vertical-align: 1px;
}

/* Without scripts the controls cannot work, so the page shows the worked example instead. */
.calc-example {
  color: var(--calc-soft);
  font-size: 16px;
  line-height: 1.5;
}

.js .calc-example,
html:not(.js) .calc-control {
  display: none;
}

.calc-result {
  padding-left: clamp(28px, 5vw, 60px);
  border-left: 1px solid var(--calc-rule);
  container-type: inline-size;
}

.calc-big {
  margin-top: 6px;
  font-family: var(--font-display);
  font-size: clamp(40px, 5.4vw, 68px);
  font-weight: 800;
  letter-spacing: -0.045em;
  line-height: 1;
}

.calc-big span {
  color: var(--red);
}

.calc-per {
  margin-top: 8px;
  color: var(--calc-soft);
  font-size: 16px;
}

/* The yearly figure, shown as the sum it comes from. */
.calc-eq {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 8px 6px;
  margin-top: 20px;
}

.calc-term {
  display: inline-flex;
  align-items: center;
  gap: 6px;
}

.calc-chip {
  display: inline-flex;
  flex-direction: column;
  padding: 9px 11px 10px;
  border: 1px solid var(--calc-rule);
  border-radius: 12px;
  background: var(--paper-2);
  line-height: 1.1;
}

.calc-chip b {
  font-family: var(--font-display);
  font-size: 22px;
  font-weight: 800;
  letter-spacing: -0.02em;
  white-space: nowrap;
}

.calc-chip i {
  margin-top: 5px;
  color: var(--calc-soft);
  font-size: 11px;
  font-style: normal;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  white-space: nowrap;
}

.calc-x {
  color: var(--calc-soft);
  font-size: 20px;
  font-weight: 600;
}

.calc-chip-res {
  background: var(--ink);
  border-color: var(--ink);
}

.calc-chip-res b {
  color: #fff;
}

.calc-chip-res i {
  color: var(--on-dark-soft);
}

/* From tablet width up the sum stays on one line: its sizes follow the width of the
   result column. A phone-width screen lets it break onto two lines. */
@supports (width: 1cqi) {
  @media (min-width: 561px) {
    .calc-eq {
      flex-wrap: nowrap;
      gap: 0 1.1cqi;
    }

    .calc-term {
      gap: 1.1cqi;
    }

    .calc-chip {
      padding: 1.7cqi 1.9cqi 1.9cqi;
    }

    .calc-chip b {
      font-size: clamp(14px, 4cqi, 22px);
    }

    .calc-chip i {
      font-size: clamp(8.5px, 2.2cqi, 11px);
      letter-spacing: 0.06em;
    }

    .calc-x {
      font-size: clamp(12px, 3.4cqi, 20px);
    }
  }
}

/* Below desktop width the result sits under the controls and takes the full width. */
@media (max-width: 1100px) {
  .calc-top {
    grid-template-columns: 1fr;
  }

  .calc-result {
    padding: 24px 0 0;
    border-left: 0;
    border-top: 1px solid var(--calc-rule);
  }
}

.calc-cols {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 22px;
  margin-top: 26px;
}

.calc-side {
  padding: clamp(22px, 2.8vw, 34px);
  border-radius: 24px;
}

.calc-us {
  --calc-text: #fff;
  --calc-soft: #b9b9c2;
  --calc-rule: rgba(255, 255, 255, 0.14);
  background: var(--ink);
  border: 1px solid rgba(224, 36, 42, 0.6);
  box-shadow: 0 28px 54px -32px rgba(18, 18, 20, 0.75);
  color: var(--calc-text);
}

.calc-them {
  border: 1.5px dashed #b3b0a8;
}

.calc-tag {
  display: inline-block;
  padding: 5px 12px;
  border-radius: 999px;
  font-family: var(--font-body);
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.08em;
  line-height: 1.5;
  text-transform: uppercase;
}

.calc-us .calc-tag {
  background: var(--red);
  color: #fff;
}

.calc-them .calc-tag {
  border: 1px solid #b3b0a8;
  color: var(--calc-soft);
}

.calc-rows {
  margin-top: 16px;
}

.calc-row {
  display: flex;
  justify-content: space-between;
  gap: 18px;
  padding: 11px 0;
  border-top: 1px solid var(--calc-rule);
  font-size: 15px;
  line-height: 1.45;
}

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

.calc-row > span:first-child {
  font-weight: 600;
}

.calc-row small {
  display: block;
  margin-top: 1px;
  color: var(--calc-soft);
  font-size: 13px;
  font-weight: 400;
  line-height: 1.4;
}

.calc-row > span:last-child {
  flex: none;
  font-weight: 600;
  white-space: nowrap;
}

.calc-row.calc-sub {
  border-top-color: var(--calc-soft);
}

.calc-row.calc-sub > span {
  font-weight: 700;
}

.calc-recv {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 16px;
  margin-top: 4px;
  padding-top: 18px;
  border-top: 2px solid var(--calc-text);
}

.calc-recv span:first-child {
  color: var(--calc-soft);
  font-size: 13px;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
}

.calc-recv span:last-child {
  font-family: var(--font-display);
  font-size: clamp(32px, 3.6vw, 42px);
  font-weight: 800;
  letter-spacing: -0.04em;
  line-height: 1;
}

.calc-ticks {
  display: grid;
  gap: 12px;
  margin: 26px 0 0;
  padding: 24px 0 0;
  border-top: 1px solid var(--calc-rule);
  list-style: none;
}

.calc-ticks li {
  display: grid;
  grid-template-columns: 22px 1fr;
  gap: 12px;
  font-size: 16px;
  line-height: 1.5;
}

.calc-ticks svg {
  width: 22px;
  height: 22px;
  margin-top: 1px;
  color: var(--red-dark);
}

@media (max-width: 760px) {
  .calc-cols {
    grid-template-columns: 1fr;
  }
}

/* ---------- About ----------
   Words on the left. On the right, a soft panel with the logo, who leads the firm
   and the three credentials, with the mountains faintly along its base. The panel
   is exactly as tall as the words: its contents are compact, and the mountains take
   whatever height is left over. Four value cards sit underneath. */

.about-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.08fr) minmax(0, 0.92fr);
  gap: clamp(32px, 5vw, 72px);
  align-items: stretch;
}

.about-copy {
  align-self: center;
}

.about-panel {
  --px: clamp(22px, 2.6vw, 34px);
  position: relative;
  display: flex;
  flex-direction: column;
  overflow: hidden;
  padding: clamp(22px, 2.4vw, 30px) var(--px) 0;
  border-radius: 24px;
  background: var(--paper-2);
}

.about-top {
  display: flex;
  align-items: center;
  gap: 16px;
}

.about-top img {
  flex: none;
  width: 60px;
  height: 60px;
}

.about-led {
  color: var(--muted);
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 0.12em;
  line-height: 1.5;
  text-transform: uppercase;
}

.about-led strong {
  display: block;
  color: var(--text);
  font-family: var(--font-display);
  font-size: 22px;
  font-weight: 800;
  letter-spacing: -0.02em;
  line-height: 1.15;
  text-transform: none;
}

.about-creds {
  margin: 16px 0 0;
  padding: 0;
  list-style: none;
}

.about-creds li {
  display: grid;
  grid-template-columns: 148px minmax(0, 1fr);
  gap: 16px;
  align-items: baseline;
  padding: 12px 0;
  border-top: 1px solid #dad7d1;
}

.about-creds strong {
  color: var(--text);
  font-family: var(--font-display);
  font-size: clamp(22px, 2vw, 26px);
  font-weight: 800;
  letter-spacing: -0.03em;
  line-height: 1;
}

.about-creds span {
  color: var(--muted);
  font-size: 14px;
  line-height: 1.4;
}

/* The mountains, drawn by mountains.js. With a flex-basis of 0 and a small minimum,
   the drawing claims no height of its own (an SVG would otherwise insist on its
   natural proportions) and then grows into the spare room. Its view starts just
   above the summit and uses "meet", so the whole range always fits and the peak is
   never cut; overflow: visible lets the repeats to either side reach the panel edges. */
.about-ridge {
  overflow: visible;
  flex: 1 1 0;
  width: calc(100% + 2 * var(--px));
  height: 0;
  min-height: 56px;
  max-width: none;
  margin: 0 calc(-1 * var(--px));
  opacity: 0.2;
  pointer-events: none;
}

.about-values {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 16px;
  margin: clamp(40px, 5vw, 64px) 0 0;
  padding: 0;
  list-style: none;
}

.about-values li {
  padding: 22px 22px 24px;
  border-radius: 16px;
  background: var(--paper-2);
}

.about-num {
  display: block;
  margin-bottom: 26px;
  color: var(--red-dark);
  font-family: var(--font-display);
  font-size: 15px;
  font-weight: 700;
  letter-spacing: 0.08em;
}

.about-values h3 {
  font-size: 22px;
  font-weight: 700;
}

.about-values p {
  margin-top: 8px;
  color: var(--muted);
  font-size: 16px;
  line-height: 1.5;
}

/* Below this width the words are too short to hold the panel beside them, so it stacks. */
@media (max-width: 1040px) {
  .about-grid {
    grid-template-columns: 1fr;
  }

  .about-ridge {
    min-height: clamp(90px, 16vw, 130px);
  }
}

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

@media (max-width: 560px) {
  .about-values {
    grid-template-columns: 1fr;
  }

  .about-num {
    margin-bottom: 12px;
  }

  .about-creds li {
    grid-template-columns: 1fr;
    gap: 4px;
  }
}

/* ---------- FAQ ---------- */

.faq details {
  border-bottom: 1px solid #dad7d1;
}

.faq details:first-of-type {
  border-top: 1px solid #dad7d1;
}

.faq summary {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  padding: 18px 0;
  font-family: var(--font-display);
  font-size: clamp(17px, 1.6vw, 19px);
  font-weight: 600;
  letter-spacing: -0.01em;
  cursor: pointer;
  list-style: none;
  transition: color 0.2s ease;
}

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

.faq summary::after {
  content: "";
  flex: none;
  width: 14px;
  height: 14px;
  background:
    linear-gradient(currentColor, currentColor) center / 100% 2px no-repeat,
    linear-gradient(currentColor, currentColor) center / 2px 100% no-repeat;
  color: var(--red);
  transition: rotate 0.35s var(--ease);
}

.faq details[open] summary::after {
  rotate: 45deg;
}

.faq summary:hover {
  color: var(--red-dark);
}

.faq .answer {
  padding: 0 40px 20px 0;
  color: var(--muted);
  animation: answer 0.5s var(--ease);
}

@keyframes answer {
  from {
    opacity: 0;
    translate: 0 -8px;
  }
}

.faq .answer a {
  color: var(--red-dark);
  font-weight: 600;
}

/* ---------- Contact ---------- */

.contact-section {
  overflow: hidden;
}

.contact-section::before {
  content: "";
  position: absolute;
  inset: 0;
  background: radial-gradient(60% 70% at 85% 110%, rgba(224, 36, 42, 0.22), transparent 65%);
  pointer-events: none;
}

.contact {
  position: relative;
  display: grid;
  grid-template-columns: minmax(0, 1.1fr) minmax(0, 0.9fr);
  gap: clamp(32px, 6vw, 80px);
  align-items: center;
}

.contact-copy .btn {
  margin-top: 34px;
}

.contact-list {
  display: grid;
  gap: 0;
  margin: 0;
  padding: 0;
  list-style: none;
  border-top: 1px solid var(--line-dark);
}

.contact-list li {
  display: grid;
  grid-template-columns: 44px 1fr;
  gap: 16px;
  align-items: start;
  padding: 22px 0;
  border-bottom: 1px solid var(--line-dark);
}

.contact-list .card-icon {
  width: 44px;
  height: 44px;
  margin: 0;
  background: rgba(255, 255, 255, 0.06);
  color: #fff;
}

.contact-list .card-icon svg {
  width: 20px;
  height: 20px;
}

.contact-list .label {
  color: var(--on-dark-muted);
  font-size: 13px;
  font-weight: 600;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.contact-list .value {
  margin-top: 4px;
  color: #fff;
  font-size: 18px;
  font-weight: 500;
  overflow-wrap: anywhere;
}

.contact-list .value a {
  text-decoration: none;
  border-bottom: 1px solid rgba(255, 255, 255, 0.3);
  transition: border-color 0.2s ease;
}

.contact-list .value a:hover {
  border-bottom-color: var(--red);
}

.contact-list .note {
  margin-top: 2px;
  color: var(--on-dark-muted);
  font-size: 15px;
}

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

@media (max-width: 560px) {
  .collage {
    height: 610px;
  }

  .c-invoice {
    left: 0;
    top: 152px;
    width: 262px;
  }

  .c-total {
    width: 196px;
  }

  .c-total .ui-big {
    font-size: 28px;
  }

  /* Sits clear of the invoice total at every scroll position. */
  .c-toast {
    left: auto;
    right: 0;
    top: 388px;
  }

  .c-deposit {
    bottom: 0;
    width: 262px;
  }

  .c-plan {
    bottom: 84px;
    width: 190px;
  }
}

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

.site-footer {
  background: #0b0b0c;
  color: var(--on-dark-muted);
  font-size: 15px;
  border-top: 1px solid var(--line-dark);
}

.footer-inner {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 16px 32px;
  padding-block: 28px;
}

.footer-links {
  display: flex;
  align-items: center;
}

.footer-links a {
  text-decoration: none;
}

.footer-links a:hover {
  color: #fff;
}

/* ---------- Legal / simple pages ---------- */

.page-hero {
  background: var(--ink);
  color: var(--on-dark);
  padding-block: clamp(48px, 7vw, 88px);
}

.page-hero h1 {
  font-size: clamp(36px, 5.4vw, 60px);
  font-weight: 800;
  letter-spacing: -0.03em;
}

.page-hero p:not(.eyebrow) {
  margin-top: 14px;
  color: var(--on-dark-muted);
}

.not-found {
  min-height: 60vh;
  display: grid;
  align-content: center;
}

/* The not-found page is dark from top to bottom: it fills the screen, so no
   white shows under the footer on a tall window. */
.not-found-page {
  display: flex;
  flex-direction: column;
  min-height: 100vh;
  min-height: 100dvh;
  background: var(--ink);
}

.not-found-page .not-found {
  flex: 1;
}

/* ---------- Reduced motion ---------- */

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

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

  .js .reveal,
  .js .pop,
  .js .ridge,
  .js .hero .eyebrow,
  .js .hero-lede,
  .js .hero-actions,
  .js .scroll-cue {
    opacity: 1;
    translate: none;
    scale: none;
  }

  .js [data-split] .word-inner {
    transform: none;
  }

  .js .hero-frame rect {
    stroke-dashoffset: 0;
  }
}

.nw {
  white-space: nowrap;
}

/* ---------- Accessibility helpers ---------- */

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

/* Small red text needs a lighter red to stay readable on dark backgrounds. */
.hero .eyebrow,
.section-dark .eyebrow,
.scene .eyebrow,
.page-hero .eyebrow {
  color: #ff5a5f;
}

/* The brand red is a little too light for small text on the off-white sections,
   so small labels there use the darker red. */
.section-alt .eyebrow {
  color: var(--red-dark);
}

/* ---------- Pause animations control ---------- */

.motion-toggle {
  display: none;
  align-items: center;
  gap: 8px;
  padding: 0;
  border: 0;
  background: none;
  color: inherit;
  font: inherit;
  cursor: pointer;
}

.js .motion-toggle {
  display: inline-flex;
}

.no-motion-control .motion-toggle {
  display: none;
}

.motion-toggle:hover {
  color: #fff;
}

.motion-icon {
  width: 9px;
  height: 11px;
  border-left: 3px solid currentColor;
  border-right: 3px solid currentColor;
}

.motion-paused .motion-icon {
  width: 0;
  height: 0;
  border: 6px solid transparent;
  border-right: 0;
  border-left: 10px solid currentColor;
}

.hero-motion {
  position: absolute;
  right: var(--gutter);
  bottom: 24px;
  z-index: 3;
  padding: 8px 14px;
  border: 1px solid rgba(255, 255, 255, 0.28);
  border-radius: 999px;
  background: rgba(18, 18, 20, 0.55);
  color: var(--on-dark-soft);
  font-size: 13px;
  font-weight: 600;
}

/* On a narrow phone the centred scroll cue would run into the pause button,
   so it moves to the left edge. */
@media (max-width: 480px) {
  .js .scroll-cue {
    left: var(--gutter);
    margin-left: 0;
  }
}

.motion-paused .mist,
.motion-paused .float > *,
.motion-paused .scroll-cue span,
.motion-paused .svc-tab::after {
  animation-play-state: paused !important;
}

/* ---------- Animations switched off with the pause control ----------
   Mirrors the reduced-motion rules, so both routes give the same calm page. */

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

.motion-paused *,
.motion-paused *::before,
.motion-paused *::after {
  animation: none !important;
  transition-duration: 0.01ms !important;
  transition-delay: 0ms !important;
}

.motion-paused.js .reveal,
.motion-paused.js .pop,
.motion-paused.js .ridge,
.motion-paused.js .hero .eyebrow,
.motion-paused.js .hero-lede,
.motion-paused.js .hero-actions,
.motion-paused.js .scroll-cue {
  opacity: 1;
  translate: none;
  scale: none;
}

.motion-paused.js [data-split] .word-inner {
  transform: none;
}

.motion-paused.js .hero-frame rect {
  stroke-dashoffset: 0;
}

/* ---------- Legal documents (privacy, terms, accessibility) ---------- */

.back-link {
  color: var(--on-dark-muted);
  font-size: 15px;
  font-weight: 500;
  text-decoration: none;
}

.back-link:hover {
  color: #fff;
}

.legal-page {
  background: #fff;
}

.legal {
  max-width: 760px;
  margin: 0 auto;
  padding: clamp(36px, 6vw, 72px) var(--gutter) clamp(56px, 8vw, 96px);
  color: #1c1c1f;
  font-size: 16px;
  line-height: 1.7;
}

/* Headings use the same display typeface as the rest of the site. */
.legal h1,
.legal h2,
.legal h3 {
  letter-spacing: -0.01em;
  text-wrap: wrap;
}

.legal-nav {
  display: flex;
  flex-wrap: wrap;
  gap: 6px 22px;
  margin-bottom: 30px;
  font-size: 14px;
}

.legal-nav a {
  padding-bottom: 2px;
  border-bottom: 1px solid transparent;
  color: var(--muted);
  text-decoration: none;
}

.legal-nav a:hover {
  color: var(--text);
}

.legal-nav a[aria-current="page"] {
  border-bottom-color: var(--text);
  color: var(--text);
  font-weight: 600;
}

.legal h1 {
  font-size: clamp(28px, 4vw, 36px);
  font-weight: 800;
  letter-spacing: -0.025em;
  line-height: 1.2;
}

.legal-meta {
  display: flex;
  flex-wrap: wrap;
  align-items: baseline;
  justify-content: space-between;
  gap: 6px 20px;
  margin-top: 8px;
  padding-bottom: 22px;
  border-bottom: 1px solid var(--text);
  color: var(--muted);
  font-size: 15px;
}

.legal-print {
  display: none;
  padding: 0;
  border: 0;
  background: none;
  color: var(--muted);
  font: inherit;
  text-decoration: underline;
  text-underline-offset: 2px;
  cursor: pointer;
}

.js .legal-print {
  display: inline;
}

.legal-print:hover {
  color: var(--text);
}

.legal-body {
  margin-top: 28px;
}

.legal-body p,
.legal-body ul,
.legal-body ol {
  margin-top: 12px;
}

.legal-body ul {
  padding-left: 22px;
}

.legal-body li + li {
  margin-top: 6px;
}

.legal-body h2 {
  margin-top: 40px;
  font-size: 19px;
  font-weight: 700;
  line-height: 1.3;
}

.legal-body h3 {
  margin-top: 24px;
  font-size: 16px;
  font-weight: 700;
  line-height: 1.4;
}

.legal-body a {
  color: var(--text);
  text-decoration: underline;
  text-underline-offset: 2px;
  overflow-wrap: anywhere;
}

.legal-toc {
  margin-top: 28px;
  padding: 20px 24px;
  border: 1px solid var(--line);
  border-radius: 8px;
}

.legal-body .legal-toc-title {
  margin: 0;
  color: var(--muted);
  font-size: 13px;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
}

.legal-toc ol {
  columns: 2;
  column-gap: 32px;
  margin: 10px 0 0;
  padding: 0;
  list-style: none;
  font-size: 15px;
}

.legal-toc li {
  break-inside: avoid;
}

.legal-toc li + li {
  margin-top: 4px;
}

.legal-toc a {
  text-decoration: none;
}

.legal-toc a:hover {
  text-decoration: underline;
}

@media (max-width: 600px) {
  .legal-toc ol {
    columns: 1;
  }
}

@media print {
  .site-header,
  .site-footer,
  .skip-link,
  .legal-nav,
  .legal-toc,
  .legal-print {
    display: none !important;
  }

  body {
    font-size: 11pt;
  }

  .legal {
    max-width: none;
    padding: 0;
  }

  .legal-body a {
    text-decoration: none;
  }

  .legal-body h2 {
    break-after: avoid;
  }
}

/* ---------- Footer: legal links grouped, pause control set apart ---------- */

.footer-right {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 14px 22px;
}

.footer-links a + a::before {
  content: "";
  display: inline-block;
  width: 3px;
  height: 3px;
  margin: 0 12px;
  border-radius: 50%;
  background: var(--muted-soft);
  vertical-align: middle;
}

.footer-motion {
  padding: 7px 14px;
  border: 1px solid rgba(255, 255, 255, 0.22);
  border-radius: 999px;
  font-size: 13px;
  font-weight: 600;
  transition: border-color 0.2s ease, color 0.2s ease;
}

.footer-motion:hover {
  border-color: rgba(255, 255, 255, 0.6);
}

@media (min-width: 620px) {
  .js:not(.no-motion-control) .footer-links {
    padding-right: 22px;
    border-right: 1px solid rgba(255, 255, 255, 0.16);
  }
}

/* ---------- Logo placements ---------- */

.footer-brand {
  display: flex;
  align-items: center;
  gap: 16px;
}

.footer-brand img {
  flex: none;
  width: 64px;
  height: 64px;
}

.legal-title {
  display: flex;
  align-items: center;
  gap: 20px;
}

.legal-title img {
  flex: none;
  width: 72px;
  height: 72px;
}

@media (max-width: 760px) {
  .legal-title {
    gap: 14px;
  }

  .legal-title img {
    width: 56px;
    height: 56px;
  }
}

/* ---------- FAQ grouped by topic ---------- */

.faq-groups {
  display: grid;
  gap: clamp(36px, 5vw, 56px);
}

.faq-group {
  display: grid;
  grid-template-columns: minmax(0, 220px) minmax(0, 1fr);
  gap: 16px clamp(24px, 5vw, 72px);
  align-items: start;
}

.faq-label {
  padding-top: 26px;
  color: var(--red-dark);
  font-family: var(--font-body);
  font-size: 13px;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
}

@media (max-width: 760px) {
  .faq-group {
    grid-template-columns: 1fr;
  }

  .faq-label {
    padding-top: 0;
  }
}

/* ---------- FAQ: topic tabs (with JavaScript) ---------- */

.faq-groups.is-tabbed {
  grid-template-columns: minmax(0, 220px) minmax(0, 1fr);
  gap: 16px clamp(24px, 5vw, 72px);
  align-items: start;
}

.is-tabbed .faq-group {
  display: block;
  grid-column: 2;
}

.is-tabbed .faq-group[hidden] {
  display: none;
}

.is-tabbed .faq-label {
  display: none;
}

.faq-tabs {
  display: grid;
  gap: 4px;
}

.faq-tab {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  width: 100%;
  padding: 12px 14px;
  border: 0;
  border-left: 3px solid transparent;
  border-radius: 0 8px 8px 0;
  background: none;
  color: var(--muted);
  font: 600 16px/1.3 var(--font-body);
  text-align: left;
  cursor: pointer;
  transition: color 0.2s ease, background-color 0.2s ease, border-color 0.2s ease;
}

.faq-tab span {
  color: var(--muted-soft);
  font-size: 13px;
}

.faq-tab:hover {
  color: var(--text);
  background: rgba(18, 18, 20, 0.04);
}

.faq-tab[aria-selected="true"] {
  border-left-color: var(--red);
  background: #fff;
  color: var(--text);
}

@media (max-width: 760px) {
  .faq-groups.is-tabbed {
    grid-template-columns: minmax(0, 1fr);
  }

  .is-tabbed .faq-group {
    grid-column: 1;
  }

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

  .faq-tab {
    width: auto;
    padding: 8px 14px;
    border: 1px solid #d5d2cc;
    border-radius: 999px;
    background: #fff;
    font-size: 15px;
  }

  .faq-tab[aria-selected="true"] {
    border-color: var(--ink);
    background: var(--ink);
    color: #fff;
  }

  .faq-tab[aria-selected="true"] span {
    color: var(--on-dark-soft);
  }
}
