/* ==========================================================================
   Gladevale · Fraud Assistance
   Plain CSS, no build step. Sections:
   1. Tokens  2. Base  3. Layout  4. Header  5. Buttons and links  6. Hero
   7. Sections  8. Footer  9. Legal pages  10. Motion  11. Print
   ========================================================================== */

/* 1. Tokens --------------------------------------------------------------- */
:root {
  /* colour: graphite, deep teal, cool paper, one emerald accent */
  --ink-950: #0a1011;
  --ink-900: #0e1516;
  --teal-900: #10302d;
  --paper: #f5f7f6;
  --surface: #ffffff;
  --line: #dde5e2;
  --line-strong: #c9d5d1;
  --text: #17211f;
  --text-2: #4c5a57;
  --text-3: #63706d;
  --accent: #1fa98c;          /* fills, strokes and large marks on dark */
  --accent-soft: #3cc4a6;     /* small accent text on dark */
  --accent-ink: #0e6b59;      /* accent text and icons on light */
  --accent-wash: #e8f3f0;
  --accent-wash-line: #d2e6e0;
  --on-accent: #04211b;
  --on-dark: #eef4f2;
  --on-dark-2: #b7c6c2;
  --on-dark-3: #8fa19d;
  --line-dark: rgba(255, 255, 255, 0.1);
  --focus: var(--accent-ink);

  /* type */
  --font-display: "Manrope", "Inter", system-ui, -apple-system, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
  --font-body: "Inter", system-ui, -apple-system, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
  --fs-h1: clamp(2.375rem, 1.2rem + 4.2vw, 3.625rem);
  --fs-h2: clamp(1.875rem, 1.35rem + 1.9vw, 2.75rem);
  --fs-h3: 1.25rem;
  --fs-lede: clamp(1.0625rem, 1rem + 0.35vw, 1.25rem);
  --fs-body: 1.0625rem;
  --fs-small: 0.9375rem;
  --fs-micro: 0.8125rem;

  /* space: 8px scale */
  --s-1: 4px;
  --s-2: 8px;
  --s-3: 12px;
  --s-4: 16px;
  --s-5: 24px;
  --s-6: 32px;
  --s-7: 40px;
  --s-8: 48px;
  --s-9: 64px;
  --s-10: 80px;
  --s-11: 96px;
  --s-12: 128px;
  --section-y: clamp(72px, 9vw, 128px);

  /* shape */
  --container: 1200px;
  --gutter: clamp(20px, 4vw, 32px);
  --header-h: 68px;
  --r-sm: 10px;
  --r-md: 14px;
  --r-lg: 20px;
  --r-xl: 28px;
  --shadow-card: 0 1px 2px rgba(16, 32, 30, 0.04), 0 14px 32px -22px rgba(16, 32, 30, 0.14);
  --ease: cubic-bezier(0.2, 0.7, 0.2, 1);
}

/* 2. Base ----------------------------------------------------------------- */
*,
*::before,
*::after {
  box-sizing: border-box;
}

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

body {
  margin: 0;
  font-family: var(--font-body);
  font-size: var(--fs-body);
  line-height: 1.6;
  color: var(--text);
  background: var(--paper);
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  text-rendering: optimizeLegibility;
}

@media (min-width: 1200px) {
  :root {
    --fs-body: 1.125rem;
  }
}

h1,
h2,
h3 {
  margin: 0;
  font-family: var(--font-display);
  font-weight: 700;
  letter-spacing: -0.022em;
  text-wrap: balance;
}

h1 {
  font-size: var(--fs-h1);
  line-height: 1.06;
  letter-spacing: -0.032em;
}

h2 {
  font-size: var(--fs-h2);
  line-height: 1.12;
  letter-spacing: -0.028em;
}

h3 {
  font-size: var(--fs-h3);
  line-height: 1.3;
  letter-spacing: -0.015em;
}

p {
  margin: 0;
}

a {
  color: var(--accent-ink);
  text-decoration-thickness: 1px;
  text-underline-offset: 3px;
}

a:hover {
  text-decoration-thickness: 2px;
}

svg {
  display: block;
}

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

::selection {
  background: rgba(31, 169, 140, 0.28);
}

.on-dark {
  --focus: #6fdcc3;
  color: var(--on-dark);
}

/* Sections that receive focus after an in-page jump do not need a ring. */
[tabindex="-1"]:focus {
  outline: none;
}

/* Keeps a phrase together where it fits, and lets it wrap where it cannot. */
.ib {
  display: inline-block;
}

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

.skip-link {
  position: absolute;
  left: 16px;
  top: -80px;
  z-index: 200;
  display: inline-flex;
  align-items: center;
  min-height: 44px;
  padding: 0 16px;
  border-radius: var(--r-sm);
  background: var(--surface);
  color: var(--text);
  font-weight: 600;
  text-decoration: none;
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.25);
}

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

.icon {
  width: 22px;
  height: 22px;
  flex: none;
  fill: none;
  stroke: currentColor;
  stroke-width: 1.5;
  stroke-linecap: round;
  stroke-linejoin: round;
}

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

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

.section--surface {
  background: var(--surface);
  border-block: 1px solid var(--line);
}

.split {
  display: grid;
  grid-template-columns: minmax(0, 5fr) minmax(0, 7fr);
  gap: var(--s-9);
  align-items: start;
}

.split__aside {
  position: sticky;
  top: calc(var(--header-h) + 40px);
}

.eyebrow {
  display: flex;
  align-items: center;
  gap: 12px;
  margin: 0 0 20px;
  font-size: var(--fs-micro);
  font-weight: 600;
  line-height: 1.2;
  letter-spacing: 0.11em;
  text-transform: uppercase;
  color: var(--accent-ink);
}

.eyebrow::before {
  content: "";
  width: 24px;
  height: 1px;
  background: currentColor;
  opacity: 0.7;
}

.on-dark .eyebrow {
  color: var(--accent-soft);
}

.section-head {
  max-width: 44rem;
}

.section-head p:not(.eyebrow),
.split__aside p:not(.eyebrow) {
  margin-top: 20px;
  color: var(--text-2);
  max-width: 34rem;
}

.on-dark .section-head p:not(.eyebrow),
.on-dark .split__aside p:not(.eyebrow) {
  color: var(--on-dark-2);
}

.section-head--row {
  display: grid;
  grid-template-columns: minmax(0, 5fr) minmax(0, 7fr);
  gap: var(--s-9);
  align-items: end;
  max-width: none;
}

.section-head--row > p {
  margin-top: 0 !important;
  padding-bottom: 6px;
}

/* 4. Header --------------------------------------------------------------- */
.site-header {
  position: sticky;
  top: 0;
  z-index: 100;
  height: var(--header-h);
  margin-bottom: calc(-1 * var(--header-h));
  color: var(--on-dark);
  background: rgba(11, 17, 18, 0.74);
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
  -webkit-backdrop-filter: saturate(150%) blur(14px);
  backdrop-filter: saturate(150%) blur(14px);
  transition: background-color 0.3s var(--ease), border-color 0.3s var(--ease);
  --focus: #6fdcc3;
}

/* With JS the bar starts clear over the dark hero and gains its tint on scroll. */
.js .site-header:not(.is-scrolled):not(.is-open) {
  background: transparent;
  border-bottom-color: transparent;
  -webkit-backdrop-filter: none;
  backdrop-filter: none;
}

.site-header__inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: var(--s-5);
  height: 100%;
}

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

.brand__mark {
  width: 26px;
  height: 26px;
  flex: none;
  fill: none;
  stroke: var(--accent);
  stroke-width: 1.75;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.brand__name {
  font-family: var(--font-display);
  font-size: 1.1875rem;
  font-weight: 700;
  line-height: 1;
  letter-spacing: -0.02em;
  color: #fff;
}

.brand__desc {
  margin-left: 4px;
  padding-left: 14px;
  border-left: 1px solid rgba(255, 255, 255, 0.18);
  font-size: var(--fs-micro);
  font-weight: 500;
  line-height: 1.5;
  letter-spacing: 0.02em;
  white-space: nowrap;
  color: var(--on-dark-3);
}

.site-nav {
  display: flex;
  align-items: center;
  gap: var(--s-5);
}

.site-nav__list {
  display: flex;
  gap: 2px;
  margin: 0;
  padding: 0;
  list-style: none;
}

.site-nav__list a {
  display: inline-flex;
  align-items: center;
  min-height: 44px;
  padding: 0 14px;
  border-radius: var(--r-sm);
  font-size: var(--fs-small);
  font-weight: 500;
  color: var(--on-dark-2);
  text-decoration: none;
  transition: color 0.2s var(--ease), background-color 0.2s var(--ease);
}

.site-nav__list a:hover {
  color: #fff;
  background: rgba(255, 255, 255, 0.06);
}

.menu-btn {
  display: none;
  align-items: center;
  justify-content: center;
  width: 44px;
  height: 44px;
  margin-right: -10px;
  padding: 0;
  border: 0;
  border-radius: var(--r-sm);
  background: transparent;
  color: #fff;
  cursor: pointer;
}

.menu-btn__bars {
  position: relative;
  width: 20px;
  height: 12px;
}

.menu-btn__bars::before,
.menu-btn__bars::after {
  content: "";
  position: absolute;
  left: 0;
  width: 100%;
  height: 1.5px;
  border-radius: 2px;
  background: currentColor;
  transition: transform 0.25s var(--ease), top 0.25s var(--ease);
}

.menu-btn__bars::before {
  top: 1px;
}

.menu-btn__bars::after {
  top: 9px;
}

.menu-btn[aria-expanded="true"] .menu-btn__bars::before {
  top: 5px;
  transform: rotate(45deg);
}

.menu-btn[aria-expanded="true"] .menu-btn__bars::after {
  top: 5px;
  transform: rotate(-45deg);
}

@media (min-width: 1000px) and (max-width: 1159px) {
  .brand__desc {
    display: none;
  }
}

@media (max-width: 999px) {
  :root {
    --header-h: 64px;
  }

  .js .menu-btn {
    display: inline-flex;
  }

  .site-nav {
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    flex-direction: column;
    align-items: stretch;
    gap: var(--s-5);
    padding: 4px var(--gutter) 24px;
    background: rgba(11, 17, 18, 0.98);
    border-bottom: 1px solid var(--line-dark);
    box-shadow: 0 24px 40px -24px rgba(0, 0, 0, 0.6);
  }

  .js .site-nav {
    display: none;
  }

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

  .site-header.is-open {
    background: rgba(11, 17, 18, 0.98);
  }

  .site-nav__list {
    flex-direction: column;
    gap: 0;
  }

  .site-nav__list a {
    display: flex;
    min-height: 54px;
    padding: 0 2px;
    border-bottom: 1px solid var(--line-dark);
    border-radius: 0;
    font-size: 1.0625rem;
    color: var(--on-dark);
  }

  .site-nav__list a:hover {
    background: transparent;
  }

  .site-nav .btn {
    min-height: 52px;
    font-size: 1rem;
  }

  /* No JavaScript: the menu is simply laid out in the page, nothing is hidden. */
  html:not(.js) .site-header {
    position: static;
    height: auto;
    margin-bottom: 0;
    background: var(--ink-900);
  }

  html:not(.js) .site-header__inner {
    flex-wrap: wrap;
    height: auto;
    padding-block: 10px 0;
  }

  html:not(.js) .site-nav {
    position: static;
    width: 100%;
    padding: 0 0 20px;
    background: transparent;
    border: 0;
    box-shadow: none;
  }

  html:not(.js) .hero,
  html:not(.js) .page-head {
    padding-top: 56px;
  }
}

@media (max-width: 379px) {
  .brand__desc {
    display: none;
  }
}

/* 5. Buttons and links ---------------------------------------------------- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  min-height: 52px;
  padding: 0 24px;
  border: 1px solid transparent;
  border-radius: 12px;
  font-family: var(--font-body);
  font-size: 1rem;
  font-weight: 600;
  line-height: 1.2;
  letter-spacing: -0.005em;
  text-align: center;
  text-decoration: none;
  cursor: pointer;
  transition: background-color 0.2s var(--ease), border-color 0.2s var(--ease), color 0.2s var(--ease), transform 0.2s var(--ease);
}

.btn .icon {
  width: 20px;
  height: 20px;
}

.btn--primary {
  background: var(--accent);
  color: var(--on-accent);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.24), 0 1px 2px rgba(4, 33, 27, 0.28);
}

.btn--primary:hover {
  background: #2fb99b;
}

.btn--primary:active {
  transform: translateY(1px);
}

.btn--outline {
  border-color: rgba(255, 255, 255, 0.24);
  color: #fff;
}

.btn--outline:hover {
  border-color: var(--accent);
  background: rgba(31, 169, 140, 0.14);
}

.btn--sm {
  min-height: 44px;
  padding: 0 18px;
  border-radius: var(--r-sm);
  font-size: var(--fs-small);
}

@media (max-width: 999px) {
  .site-nav .btn--outline {
    border-color: transparent;
    background: var(--accent);
    color: var(--on-accent);
  }
}

.link-arrow {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  min-height: 48px;
  padding: 0 4px;
  font-weight: 600;
  color: inherit;
  text-decoration: none;
}

.link-arrow .icon {
  width: 18px;
  height: 18px;
  transition: transform 0.25s var(--ease);
}

.link-arrow:hover .icon {
  transform: translateX(4px);
}

.link-arrow--down:hover .icon {
  transform: translateY(3px);
}

.link-arrow span {
  background: linear-gradient(currentColor, currentColor) 0 100% / 100% 1px no-repeat;
  padding-bottom: 3px;
}

/* 6. Hero ----------------------------------------------------------------- */
.hero {
  position: relative;
  isolation: isolate;
  display: grid;
  align-items: center;
  min-height: min(92vh, 860px);
  padding: calc(var(--header-h) + 72px) 0 96px;
  overflow: hidden;
  background:
    radial-gradient(52% 64% at 80% 44%, rgba(31, 169, 140, 0.17), rgba(31, 169, 140, 0) 70%),
    linear-gradient(158deg, #0e1516 0%, #0e1b1b 42%, #10302d 100%);
}

@supports (overflow: clip) {
  .hero {
    overflow: clip;
  }
}

.hero::after {
  content: "";
  position: absolute;
  inset: auto 0 0 0;
  height: 1px;
  background: rgba(255, 255, 255, 0.06);
}

.hero__grid {
  display: grid;
  grid-template-columns: minmax(0, 1.5fr) minmax(0, 1fr);
  gap: var(--s-8);
  align-items: center;
}

.hero h1 {
  color: #fff;
}

.hero h1 span {
  display: block;
}

.hero h1 .soft {
  color: #9fcfc4;
}

.hero__lede {
  max-width: 35rem;
  margin-top: 28px;
  font-size: var(--fs-lede);
  line-height: 1.6;
  color: var(--on-dark-2);
}

.hero__actions {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 12px 28px;
  margin-top: 40px;
}

.hero__note {
  display: flex;
  align-items: flex-start;
  gap: 12px;
  max-width: 35rem;
  margin-top: 48px;
  padding-top: 24px;
  border-top: 1px solid var(--line-dark);
  font-size: var(--fs-small);
  line-height: 1.55;
  color: var(--on-dark-2);
}

.hero__note strong {
  font-weight: 600;
  color: var(--on-dark);
}

.hero__note .icon {
  width: 20px;
  height: 20px;
  margin-top: 2px;
  color: var(--accent);
}

.hero__art {
  justify-self: end;
  width: min(128%, 580px);
  pointer-events: none;
}

.hero__art svg {
  width: 100%;
  height: auto;
}

.hero__art-rings {
  display: none;
}

/* Let the drawing lean a little past the content edge once there is room for it. */
@media (min-width: 1360px) {
  .hero__art {
    margin-right: -72px;
  }
}

@media (max-width: 999px) {
  .hero {
    padding: calc(var(--header-h) + 56px) 0 72px;
    background:
      radial-gradient(min(84vw, 400px) min(84vw, 400px) at 100% 300px, rgba(31, 169, 140, 0.2), rgba(31, 169, 140, 0) 72%),
      linear-gradient(158deg, #0e1516 0%, #0e1b1b 42%, #10302d 100%);
  }

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

  .hero__copy {
    max-width: 40rem;
  }

  /* On small screens the drawing becomes a quiet backdrop of rings. */
  .hero__art {
    position: absolute;
    z-index: -1;
    top: calc(300px - min(84vw, 400px));
    right: 0;
    width: min(84vw, 400px);
  }

  .hero__art-full {
    display: none;
  }

  .hero__art-rings {
    display: block;
  }
}

@media (max-width: 599px) {
  .hero {
    padding-bottom: 64px;
  }

  .hero__actions {
    flex-direction: column;
    align-items: stretch;
    gap: 8px;
    margin-top: 32px;
  }

  .hero__actions .link-arrow {
    justify-content: center;
  }

  .hero__note {
    margin-top: 32px;
  }
}

/* 7. Sections ------------------------------------------------------------- */

/* What we do */
.cards {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: var(--s-4);
  margin: 0;
  padding: 0;
  list-style: none;
}

.card {
  padding: 28px 28px 32px;
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--r-lg);
  box-shadow: var(--shadow-card);
}

.icon-tile {
  display: grid;
  place-items: center;
  width: 44px;
  height: 44px;
  border: 1px solid var(--accent-wash-line);
  border-radius: 12px;
  background: var(--accent-wash);
  color: var(--accent-ink);
}

.card h3 {
  margin-top: 24px;
}

.card p {
  margin-top: 8px;
  font-size: 1rem;
  line-height: 1.6;
  color: var(--text-2);
}

/* How it works */
.steps {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: var(--s-8);
  margin: var(--s-9) 0 0;
  padding: 0;
  list-style: none;
}

.step {
  position: relative;
}

.step__num {
  display: grid;
  place-items: center;
  width: 44px;
  height: 44px;
  border: 1px solid var(--accent-wash-line);
  border-radius: 50%;
  background: var(--accent-wash);
  font-family: var(--font-display);
  font-size: 1rem;
  font-weight: 700;
  line-height: 1;
  color: var(--accent-ink);
}

.step:not(:last-child)::after {
  content: "";
  position: absolute;
  top: 22px;
  left: 60px;
  right: calc(-1 * var(--s-8) + 16px);
  height: 1px;
  background: var(--line);
}

.step h3 {
  margin-top: 28px;
  max-width: 20rem;
}

.step p {
  margin-top: 10px;
  max-width: 21rem;
  font-size: 1rem;
  color: var(--text-2);
}

/* Stay safe */
.signs {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 1px;
  margin: var(--s-9) 0 0;
  padding: 0;
  list-style: none;
  overflow: hidden;
  background: var(--line);
  border: 1px solid var(--line);
  border-radius: var(--r-lg);
  box-shadow: var(--shadow-card);
}

.sign {
  display: flex;
  flex-direction: column;
  gap: 20px;
  min-height: 168px;
  padding: 28px;
  background: var(--surface);
}

.sign .icon {
  width: 24px;
  height: 24px;
  color: var(--accent-ink);
}

.sign p {
  margin-top: auto;
  font-family: var(--font-display);
  font-size: 1.125rem;
  font-weight: 600;
  line-height: 1.4;
  letter-spacing: -0.012em;
  color: var(--text);
  text-wrap: balance;
}

.signs-note {
  display: flex;
  align-items: flex-start;
  gap: 12px;
  max-width: 44rem;
  margin-top: var(--s-6);
  font-size: 1rem;
  color: var(--text-2);
}

.signs-note .icon {
  width: 20px;
  height: 20px;
  margin-top: 3px;
  color: var(--accent-ink);
}

/* Commitments: the second dark band */
.band {
  position: relative;
  background:
    radial-gradient(46% 70% at 8% 0%, rgba(31, 169, 140, 0.13), rgba(31, 169, 140, 0) 70%),
    linear-gradient(200deg, #10302d 0%, #0e1e1e 52%, #0e1516 100%);
}

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

.commit {
  display: grid;
  grid-template-columns: 44px minmax(0, 1fr);
  gap: var(--s-5);
  padding: var(--s-6) 0;
  border-top: 1px solid var(--line-dark);
}

.commit:last-child {
  border-bottom: 1px solid var(--line-dark);
}

.commit__icon {
  display: grid;
  place-items: center;
  width: 44px;
  height: 44px;
  border: 1px solid rgba(60, 196, 166, 0.28);
  border-radius: 12px;
  background: rgba(31, 169, 140, 0.1);
  color: var(--accent-soft);
}

.commit h3 {
  font-size: 1.375rem;
  line-height: 1.25;
  color: #fff;
}

.commit p {
  margin-top: 8px;
  max-width: 34rem;
  color: var(--on-dark-2);
}

/* Questions */
.faq {
  border-top: 1px solid var(--line-strong);
}

.faq details {
  border-bottom: 1px solid var(--line-strong);
}

.faq summary {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: var(--s-5);
  min-height: 76px;
  padding: 20px 0;
  list-style: none;
  cursor: pointer;
  font-family: var(--font-display);
  font-size: 1.1875rem;
  font-weight: 600;
  line-height: 1.35;
  letter-spacing: -0.015em;
  color: var(--text);
  transition: color 0.2s var(--ease);
}

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

.faq summary:hover {
  color: var(--accent-ink);
}

.faq__icon {
  position: relative;
  flex: none;
  width: 32px;
  height: 32px;
  border: 1px solid var(--line-strong);
  border-radius: 50%;
  background: var(--surface);
  color: var(--text);
}

.faq__icon::before,
.faq__icon::after {
  content: "";
  position: absolute;
  top: 50%;
  left: 50%;
  width: 12px;
  height: 1.5px;
  margin: -0.75px 0 0 -6px;
  border-radius: 2px;
  background: currentColor;
  transition: transform 0.3s var(--ease), opacity 0.3s var(--ease);
}

.faq__icon::after {
  transform: rotate(90deg);
}

.faq details[open] .faq__icon::after {
  transform: rotate(0deg);
  opacity: 0;
}

.faq__a {
  max-width: 40rem;
  padding: 0 56px 28px 0;
  color: var(--text-2);
}

.faq__a > * + * {
  margin-top: 12px;
}

.faq__a ol {
  margin-bottom: 0;
  padding-left: 1.25em;
}

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

.faq__a li::marker {
  font-weight: 600;
  color: var(--accent-ink);
}

/* Contact */
.contact {
  padding-top: 0;
}

.contact-panel {
  display: grid;
  grid-template-columns: minmax(0, 1.15fr) minmax(0, 0.85fr);
  gap: var(--s-9);
  align-items: center;
  padding: clamp(28px, 5.4vw, 72px);
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--r-xl);
  box-shadow: var(--shadow-card);
}

.contact-panel__lede {
  max-width: 30rem;
  margin-top: 20px;
  color: var(--text-2);
}

.contact-panel__actions {
  margin-top: var(--s-6);
}

.contact-panel__address {
  margin-top: var(--s-4);
  font-size: var(--fs-small);
  color: var(--text-3);
}

.contact-panel__address a {
  font-weight: 500;
}

.contact-lists {
  display: grid;
  gap: var(--s-6);
  padding-left: var(--s-9);
  border-left: 1px solid var(--line);
}

.contact-lists h3 {
  font-family: var(--font-body);
  font-size: var(--fs-micro);
  font-weight: 600;
  letter-spacing: 0.11em;
  text-transform: uppercase;
  color: var(--text-3);
}

.ticks {
  display: grid;
  gap: 10px;
  margin: 14px 0 0;
  padding: 0;
  list-style: none;
  font-size: 1rem;
}

.ticks li {
  display: flex;
  align-items: flex-start;
  gap: 12px;
}

.ticks .icon {
  width: 20px;
  height: 20px;
  margin-top: 3px;
  color: var(--accent-ink);
}

.ticks--never .icon {
  color: var(--text-3);
}

/* 8. Footer --------------------------------------------------------------- */
.site-footer {
  padding: var(--s-9) 0 var(--s-7);
  background: var(--ink-950);
  font-size: var(--fs-small);
  color: var(--on-dark-2);
  --focus: #6fdcc3;
}

.site-footer__top {
  display: flex;
  flex-wrap: wrap;
  align-items: flex-start;
  justify-content: space-between;
  gap: var(--s-6) var(--s-9);
}

.site-footer__line {
  margin-top: 12px;
  color: var(--on-dark-3);
}

.site-footer__links {
  display: flex;
  flex-wrap: wrap;
  gap: 4px 8px;
  margin: 0 -12px 0 0;
  padding: 0;
  list-style: none;
}

.site-footer__links a {
  display: inline-flex;
  align-items: center;
  min-height: 44px;
  padding: 0 12px;
  border-radius: var(--r-sm);
  font-weight: 500;
  color: var(--on-dark);
  text-decoration: none;
  transition: color 0.2s var(--ease), background-color 0.2s var(--ease);
}

.site-footer__links a:hover {
  color: #fff;
  background: rgba(255, 255, 255, 0.06);
}

.site-footer__bottom {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: var(--s-5) var(--s-9);
  align-items: end;
  margin-top: var(--s-8);
  padding-top: var(--s-6);
  border-top: 1px solid var(--line-dark);
  font-size: var(--fs-micro);
  line-height: 1.65;
  color: var(--on-dark-3);
}

.site-footer__bottom p:first-child {
  max-width: 46rem;
}

.site-footer__copy {
  white-space: nowrap;
}

/* 9. Legal pages ---------------------------------------------------------- */
.page-head {
  position: relative;
  padding: calc(var(--header-h) + 72px) 0 72px;
  background:
    radial-gradient(40% 90% at 88% 20%, rgba(31, 169, 140, 0.15), rgba(31, 169, 140, 0) 70%),
    linear-gradient(158deg, #0e1516 0%, #0e1b1b 46%, #10302d 100%);
}

.page-head h1 {
  font-size: clamp(2.125rem, 1.4rem + 2.8vw, 3.25rem);
  color: #fff;
}

.page-head__meta {
  margin-top: 20px;
  font-size: var(--fs-small);
  color: var(--on-dark-2);
}

.page-head__intro {
  max-width: 40rem;
  margin-top: 20px;
  font-size: var(--fs-lede);
  color: var(--on-dark-2);
}

.legal {
  display: grid;
  grid-template-columns: 232px minmax(0, 720px);
  gap: var(--s-10);
  padding-block: var(--s-10) var(--s-12);
}

.toc {
  position: sticky;
  top: calc(var(--header-h) + 32px);
  align-self: start;
  max-height: calc(100vh - var(--header-h) - 64px);
  overflow: auto;
  font-size: var(--fs-small);
}

.toc__title {
  margin: 0 0 12px;
  font-size: var(--fs-micro);
  font-weight: 600;
  letter-spacing: 0.11em;
  text-transform: uppercase;
  color: var(--text-3);
}

.toc ol {
  margin: 0;
  padding: 0;
  list-style: none;
  border-left: 1px solid var(--line-strong);
}

.toc a {
  display: block;
  margin-left: -1px;
  padding: 7px 0 7px 16px;
  border-left: 1px solid transparent;
  line-height: 1.4;
  color: var(--text-2);
  text-decoration: none;
  transition: color 0.2s var(--ease), border-color 0.2s var(--ease);
}

.toc a:hover {
  border-left-color: var(--accent-ink);
  color: var(--text);
}

.prose {
  font-size: var(--fs-body);
  line-height: 1.7;
}

.prose > section + section {
  margin-top: var(--s-9);
}

.prose h2 {
  display: flex;
  align-items: baseline;
  gap: 14px;
  padding-bottom: 16px;
  border-bottom: 1px solid var(--line-strong);
  font-size: 1.5rem;
  line-height: 1.25;
  letter-spacing: -0.02em;
  scroll-margin-top: calc(var(--header-h) + 24px);
}

.prose h2 .num {
  flex: none;
  min-width: 1.6em;
  font-size: 1rem;
  font-weight: 700;
  letter-spacing: 0;
  color: var(--accent-ink);
}

.prose p {
  margin-top: 16px;
}

.prose ul {
  margin: 12px 0 0;
  padding-left: 1.2em;
}

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

.prose li::marker {
  color: var(--accent-ink);
}

.clauses {
  margin: 8px 0 0;
  padding: 0;
  list-style: none;
}

.clauses > li {
  display: grid;
  grid-template-columns: 3rem minmax(0, 1fr);
  gap: 8px;
  margin-top: 16px;
}

.clauses > li > .num {
  font-size: var(--fs-small);
  font-weight: 600;
  line-height: 1.9;
  font-variant-numeric: tabular-nums;
  color: var(--text-3);
}

.clauses > li > div > :first-child {
  margin-top: 0;
}

mark.ph {
  padding: 1px 6px 2px;
  border-bottom: 1px dashed var(--accent-ink);
  border-radius: 4px 4px 0 0;
  background: var(--accent-wash);
  color: #0b4e41;
  font-weight: 500;
  -webkit-box-decoration-break: clone;
  box-decoration-break: clone;
}

.legal-foot {
  margin-top: var(--s-9);
  padding-top: var(--s-5);
  border-top: 1px solid var(--line-strong);
  font-size: var(--fs-small);
  color: var(--text-2);
}

/* Not found */
.notfound {
  display: grid;
  place-items: center;
  min-height: 100vh;
  min-height: 100svh;
  padding: 48px var(--gutter);
  text-align: center;
  background:
    radial-gradient(50% 50% at 50% 38%, rgba(31, 169, 140, 0.16), rgba(31, 169, 140, 0) 70%),
    linear-gradient(158deg, #0e1516 0%, #0e1b1b 46%, #10302d 100%);
}

/* Responsive sections ----------------------------------------------------- */
@media (max-width: 999px) {
  .split,
  .section-head--row {
    grid-template-columns: minmax(0, 1fr);
    gap: var(--s-7);
  }

  .section-head--row {
    gap: 0;
  }

  .section-head--row > p {
    margin-top: 20px !important;
    padding-bottom: 0;
  }

  .split__aside {
    position: static;
  }

  .steps {
    gap: var(--s-6);
  }

  .step:not(:last-child)::after {
    right: calc(-1 * var(--s-6) + 16px);
  }

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

  .contact-panel {
    grid-template-columns: minmax(0, 1fr);
    gap: var(--s-7);
  }

  .contact-lists {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    padding: var(--s-7) 0 0;
    border-left: 0;
    border-top: 1px solid var(--line);
  }

  .legal {
    grid-template-columns: minmax(0, 720px);
    gap: var(--s-8);
    padding-block: var(--s-8) var(--s-11);
  }

  .toc {
    position: static;
    max-height: none;
    padding: 20px 24px 16px;
    border: 1px solid var(--line);
    border-radius: var(--r-md);
    background: var(--surface);
  }

  .toc ol {
    border-left: 0;
    columns: 2;
    column-gap: var(--s-6);
  }

  .toc a {
    margin-left: 0;
    padding: 9px 0;
    border-left: 0;
    break-inside: avoid;
  }
}

@media (max-width: 719px) {
  .cards {
    grid-template-columns: minmax(0, 1fr);
  }

  .card {
    display: grid;
    grid-template-columns: 44px minmax(0, 1fr);
    column-gap: var(--s-4);
    padding: 24px;
  }

  .card .icon-tile {
    grid-row: span 2;
  }

  .card h3 {
    margin-top: 0;
    align-self: center;
    min-height: 44px;
    display: flex;
    align-items: center;
  }

  .card p {
    grid-column: 2;
    margin-top: 4px;
  }

  .steps {
    grid-template-columns: minmax(0, 1fr);
    gap: var(--s-7);
    margin-top: var(--s-8);
  }

  .step {
    padding-left: 64px;
  }

  .step__num {
    position: absolute;
    top: 0;
    left: 0;
  }

  .step:not(:last-child)::after {
    top: 56px;
    bottom: calc(-1 * var(--s-7) + 12px);
    left: 22px;
    right: auto;
    width: 1px;
    height: auto;
  }

  .step h3 {
    margin-top: 0;
    padding-top: 8px;
    max-width: none;
  }

  .step p {
    max-width: none;
  }

  .signs {
    grid-template-columns: minmax(0, 1fr);
    margin-top: var(--s-8);
  }

  .sign {
    flex-direction: row;
    align-items: flex-start;
    gap: var(--s-4);
    min-height: 0;
    padding: 20px;
  }

  .sign p {
    margin-top: 0;
    font-size: 1.0625rem;
    text-wrap: wrap;
  }

  .commit {
    grid-template-columns: minmax(0, 1fr);
    gap: var(--s-4);
    padding: var(--s-6) 0;
  }

  .commit h3 {
    font-size: 1.25rem;
  }

  .faq summary {
    min-height: 68px;
    font-size: 1.0625rem;
  }

  .faq__a {
    padding-right: 0;
  }

  .contact-lists {
    grid-template-columns: minmax(0, 1fr);
  }

  .contact-panel .btn {
    width: 100%;
  }

  .site-footer__bottom {
    grid-template-columns: minmax(0, 1fr);
  }

  .toc ol {
    columns: 1;
  }

  .clauses > li {
    grid-template-columns: 2.5rem minmax(0, 1fr);
    gap: 4px;
  }

  .prose h2 {
    font-size: 1.3125rem;
  }
}

/* 10. Motion -------------------------------------------------------------- */
@media (prefers-reduced-motion: no-preference) {
  /* Only when JavaScript has announced itself; without it nothing is hidden. */
  .js .reveal {
    opacity: 0;
    transform: translateY(14px);
    transition: opacity 0.5s var(--ease), transform 0.5s var(--ease);
    transition-delay: calc(var(--i, 0) * 70ms);
  }

  .js .reveal.is-in {
    opacity: 1;
    transform: none;
  }
}

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

/* 11. Print --------------------------------------------------------------- */
@media print {
  .site-header,
  .hero__art,
  .toc,
  .skip-link {
    display: none !important;
  }

  .js .reveal {
    opacity: 1 !important;
    transform: none !important;
  }

  .hero,
  .band,
  .page-head,
  .site-footer {
    background: none !important;
    color: #000 !important;
  }

  .hero {
    min-height: 0;
    padding: 24px 0;
  }

  .hero h1,
  .hero h1 .soft,
  .page-head h1,
  .commit h3,
  .hero__lede,
  .hero__note,
  .commit p,
  .page-head__meta,
  .page-head__intro,
  .site-footer * {
    color: #000 !important;
  }
}
