/* =========================================================
   Credit Repair Insights — Retro 70s redesign
   Cream · mustard · burnt orange · brown · olive · rainbow stripes
   ========================================================= */
:root {
  --cream: #fff0f4;
  --cream-2: #fbdce6;
  --paper: #fff7f9;
  --brown: #542438;
  --brown-2: #754057;
  --muted: #9b7182;
  --mustard: #ec8eae;
  --orange: #e66b96;
  --rust: #c94d7c;
  --olive: #a45c7c;
  --teal: #b85c83;

  --display: "Righteous", "Arial Rounded MT Bold", system-ui, sans-serif;
  --body: "Work Sans", system-ui, -apple-system, "Segoe UI", sans-serif;

  --radius: 28px;

  --stripe: linear-gradient(180deg,
      var(--mustard) 0 14%,
      var(--orange) 14% 28%,
      var(--rust) 28% 42%,
      var(--brown) 42% 56%,
      transparent 56%);

  --shadow: 8px 8px 0 var(--brown);
  --shadow-sm: 4px 4px 0 var(--brown);

  /* aliases used by pages */
  --blue: var(--orange);
  --coral: var(--orange);
  --yellow: var(--mustard);
  --mint: #e8b6c9;
  --lilac: #f1d4e0;
  --sky: #fce2eb;
  --pink: #e66b96;
  --green: #a45c7c;
  --bone: var(--paper);
  --ink: var(--brown);
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
  scroll-padding-top: 120px;
  background: var(--cream);
}

body {
  margin: 0;
  overflow-x: hidden;
  color: var(--brown);
  background: var(--cream);
  background-image: radial-gradient(rgba(61, 36, 23, .08) 1.2px, transparent 1.2px);
  background-size: 18px 18px;
  font-family: var(--body);
  font-size: 16px;
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
}

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

a {
  color: inherit;
  text-decoration: none;
}

button,
input,
select,
textarea {
  font: inherit;
  color: inherit;
}

button {
  cursor: pointer;
  border: 0;
  background: none;
}

::selection {
  background: var(--mustard);
  color: var(--brown);
}

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

.container {
  width: min(1180px, 100% - 48px);
  margin-inline: auto;
}

.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  overflow: hidden;
  clip: rect(0 0 0 0);
}

/* ---------- type ---------- */
h1,
h2,
h3,
h4 {
  font-family: var(--display);
  font-weight: 400;
  letter-spacing: -.01em;
  line-height: 1.1;
  margin: 0;
  color: var(--brown);
}

.display {
  font-size: clamp(2.8rem, 6.4vw, 5.6rem);
  line-height: 1.02;
}

.h2 {
  font-size: clamp(2.1rem, 4.4vw, 3.5rem);
  line-height: 1.1;
}

.lead {
  font-size: 1.08rem;
  color: var(--brown-2);
  max-width: 580px;
  margin: 20px 0 0;
}

.accent {
  color: var(--orange);
}

.hl {
  color: var(--orange);
  text-shadow: 3px 3px 0 var(--mustard);
  white-space: nowrap;
}

.hl.mint {
  color: var(--olive);
  text-shadow: 3px 3px 0 var(--mustard);
}

.hl.pink {
  color: var(--rust);
  text-shadow: 3px 3px 0 var(--mustard);
}

.kicker {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 8px 16px;
  margin-bottom: 22px;
  background: var(--mustard);
  color: var(--brown);
  border: 2.5px solid var(--brown);
  border-radius: 999px;
  font-family: var(--display);
  font-size: .8rem;
  letter-spacing: .04em;
  text-transform: uppercase;
  box-shadow: var(--shadow-sm);
}

.kicker i {
  font-size: .8rem;
}

.kicker.dark {
  background: var(--orange);
  color: var(--cream);
}

/* ---------- buttons ---------- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 12px;
  padding: 15px 28px;
  border: 2.5px solid var(--brown);
  border-radius: 999px;
  font-family: var(--display);
  font-size: .98rem;
  letter-spacing: .02em;
  box-shadow: 4px 4px 0 var(--brown);
  transition: transform .15s, box-shadow .15s, background .2s, color .2s;
  white-space: nowrap;
}

.btn i {
  font-size: .85em;
  transition: transform .25s;
}

.btn:hover i {
  transform: translateX(4px);
}

.btn:hover {
  transform: translate(-2px, -2px);
  box-shadow: 6px 6px 0 var(--brown);
}

.btn:active {
  transform: translate(2px, 2px);
  box-shadow: 1px 1px 0 var(--brown);
}

.btn-blue {
  background: var(--orange);
  color: var(--cream);
}

.btn-yellow {
  background: var(--mustard);
  color: var(--brown);
}

.btn-white,
.btn-outline {
  background: var(--paper);
  color: var(--brown);
}

.btn-ghost {
  background: transparent;
  box-shadow: none;
}

.btn[disabled] {
  opacity: .5;
  pointer-events: none;
}

.btn-row {
  display: flex;
  flex-wrap: wrap;
  gap: 16px;
  margin-top: 38px;
  align-items: center;
}

/* ---------- top bar + nav ---------- */
.topbar {
  background: var(--brown);
  color: var(--cream);
  font-size: .8rem;
  font-weight: 600;
}

.topbar .container {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 16px;
  min-height: 40px;
  flex-wrap: wrap;
}

.topbar a:hover {
  color: var(--mustard);
}

.topbar-r {
  display: flex;
  gap: 22px;
  flex-wrap: wrap;
}

.topbar i {
  color: var(--mustard);
  margin-right: 8px;
}

.stripes {
  height: 18px;
  background: linear-gradient(180deg, var(--mustard) 0 25%, var(--orange) 25% 50%, var(--rust) 50% 75%, var(--brown) 75%);
}

.nav {
  position: sticky;
  top: 0;
  z-index: 50;
  background: var(--cream);
  border-bottom: 2.5px solid var(--brown);
}

.nav-in {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 80px;
  gap: 20px;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  font-family: var(--display);
  font-size: 1.3rem;
  letter-spacing: .01em;
}

.brand-mark {
  width: 46px;
  height: 46px;
  border-radius: 50%;
  background: var(--orange);
  color: var(--cream);
  border: 2.5px solid var(--brown);
  display: grid;
  place-items: center;
  font-size: 1rem;
  box-shadow: 3px 3px 0 var(--brown);
  transition: transform .4s;
  position: relative;
  overflow: hidden;
}

.brand-mark::after {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  height: 40%;
  background: var(--mustard);
  border-top: 2.5px solid var(--brown);
}

.brand-mark i {
  position: relative;
  z-index: 1;
}

.brand:hover .brand-mark {
  transform: rotate(-12deg);
}

.nav-links {
  display: flex;
  gap: 8px;
  list-style: none;
  margin: 0;
  padding: 0;
}

.nav-links a {
  display: block;
  padding: 9px 18px;
  border: 2.5px solid transparent;
  border-radius: 999px;
  font-family: var(--display);
  font-size: .92rem;
  color: var(--brown);
  transition: all .2s;
}

.nav-links a:hover {
  border-color: var(--brown);
  background: var(--paper);
}

.nav-links a.active {
  background: var(--mustard);
  border-color: var(--brown);
  box-shadow: 3px 3px 0 var(--brown);
}

.nav-cta {
  display: flex;
  align-items: center;
  gap: 12px;
}

.nav-cta .btn {
  padding: 11px 20px;
  font-size: .9rem;
}

.menu-btn {
  display: none;
  width: 46px;
  height: 46px;
  border: 2.5px solid var(--brown);
  border-radius: 50%;
  background: var(--mustard);
  font-size: 1rem;
  box-shadow: 3px 3px 0 var(--brown);
}

.drawer {
  position: fixed;
  inset: 0;
  z-index: 100;
  visibility: hidden;
}

.drawer.open {
  visibility: visible;
}

.drawer-bg {
  position: absolute;
  inset: 0;
  background: rgba(61, 36, 23, .45);
  opacity: 0;
  transition: opacity .3s;
}

.drawer.open .drawer-bg {
  opacity: 1;
}

.drawer-panel {
  position: absolute;
  top: 0;
  right: 0;
  height: 100%;
  width: min(380px, 92%);
  background: var(--cream);
  border-left: 2.5px solid var(--brown);
  padding: 26px;
  transform: translateX(100%);
  transition: transform .4s cubic-bezier(.2, .8, .2, 1);
  display: flex;
  flex-direction: column;
  gap: 10px;
  overflow-y: auto;
}

.drawer.open .drawer-panel {
  transform: none;
}

.drawer-head {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 14px;
}

.drawer-close {
  width: 44px;
  height: 44px;
  border: 2.5px solid var(--brown);
  border-radius: 50%;
  background: var(--mustard);
  box-shadow: 3px 3px 0 var(--brown);
}

.drawer-link {
  display: flex;
  align-items: center;
  gap: 14px;
  padding: 16px 20px;
  border: 2.5px solid var(--brown);
  border-radius: 22px;
  background: var(--paper);
  font-family: var(--display);
  box-shadow: 4px 4px 0 var(--brown);
}

.drawer-link span.n {
  font-family: var(--body);
  font-size: .72rem;
  font-weight: 700;
  color: var(--orange);
}

.drawer-link i {
  margin-left: auto;
  color: var(--brown);
}

.drawer .btn {
  margin-top: 18px;
}

/* ---------- hero ---------- */
.hero {
  position: relative;
  padding: 70px 0 0;
}

.hero-grid {
  display: grid;
  grid-template-columns: 1.05fr .95fr;
  gap: 64px;
  align-items: center;
}

.hero h1 {
  margin: 0 0 26px;
}

.hero-lead {
  font-size: 1.1rem;
  color: var(--brown-2);
  max-width: 540px;
  margin: 0;
}

.hero-stats {
  display: flex;
  gap: 16px;
  margin-top: 46px;
  flex-wrap: wrap;
}

.hero-stat {
  background: var(--paper);
  border: 2.5px solid var(--brown);
  border-radius: 22px;
  padding: 16px 22px;
  box-shadow: var(--shadow-sm);
  min-width: 150px;
}

.hero-stat:nth-child(2) {
  background: var(--mustard);
}

.hero-stat:nth-child(3) {
  background: var(--olive);
  color: var(--cream);
}

.hero-stat:nth-child(3) span {
  color: var(--cream);
}

.hero-stat b {
  display: block;
  font-family: var(--display);
  font-weight: 400;
  font-size: 2.1rem;
  line-height: 1;
}

.hero-stat span {
  font-size: .82rem;
  font-weight: 600;
  color: var(--brown-2);
}

.hero-visual {
  position: relative;
  padding: 30px 30px 50px;
}

.hero-photo {
  position: relative;
  border-radius: 200px 200px 28px 28px;
  overflow: hidden;
  aspect-ratio: 4 / 5;
  border: 2.5px solid var(--brown);
  box-shadow: var(--shadow);
  background: var(--mustard);
}

.hero-photo img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  filter: sepia(.25) saturate(1.1);
  transform: scale(1.03);
  transition: transform 1.4s cubic-bezier(.2, .8, .2, 1);
}

.hero-visual:hover .hero-photo img {
  transform: scale(1.08);
}

.float-card {
  position: absolute;
  z-index: 2;
  background: var(--paper);
  border: 2.5px solid var(--brown);
  border-radius: 22px;
  box-shadow: var(--shadow-sm);
  padding: 16px 18px;
  animation: float 7s ease-in-out infinite;
}

.float-card.fc1 {
  top: 60px;
  left: -8px;
  width: 220px;
}

.float-card.fc2 {
  bottom: 70px;
  right: -8px;
  width: 220px;
  background: var(--orange);
  color: var(--cream);
  animation-delay: -3s;
}

.float-card .lbl {
  font-family: var(--display);
  font-size: .74rem;
  letter-spacing: .03em;
  text-transform: uppercase;
  color: var(--muted);
}

.float-card.fc2 .lbl {
  color: var(--cream);
}

.float-card .val {
  font-family: var(--display);
  font-size: 1.7rem;
  line-height: 1.1;
  margin-top: 2px;
}

.bars {
  display: flex;
  align-items: flex-end;
  gap: 6px;
  height: 50px;
  margin-top: 12px;
}

.bars span {
  flex: 1;
  border: 2px solid var(--brown);
  border-bottom: 0;
  border-radius: 10px 10px 0 0;
  background: var(--mustard);
  transform-origin: bottom;
  animation: grow 1.2s cubic-bezier(.2, .8, .2, 1) both;
}

.bars span:nth-child(odd) {
  background: var(--orange);
}

.bars span:last-child {
  background: var(--olive);
}

.bars span:nth-child(2) {
  animation-delay: .1s;
}

.bars span:nth-child(3) {
  animation-delay: .2s;
}

.bars span:nth-child(4) {
  animation-delay: .3s;
}

.bars span:nth-child(5) {
  animation-delay: .4s;
}

.bars span:nth-child(6) {
  animation-delay: .5s;
}

.avatars {
  display: flex;
}

.avatars span {
  width: 38px;
  height: 38px;
  border-radius: 50%;
  border: 2.5px solid var(--brown);
  display: grid;
  place-items: center;
  font-family: var(--display);
  margin-left: -8px;
  background: var(--mustard);
  color: var(--brown);
  font-size: .8rem;
}

.avatars span:first-child {
  margin-left: 0;
}

.avatars span:nth-child(2) {
  background: var(--cream);
}

.avatars span:nth-child(3) {
  background: var(--olive);
  color: var(--cream);
}

.sticker {
  position: absolute;
  z-index: 3;
  top: 4px;
  right: 0;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 10px 18px;
  border: 2.5px solid var(--brown);
  border-radius: 999px;
  background: var(--olive);
  color: var(--cream);
  font-family: var(--display);
  font-size: .86rem;
  box-shadow: 4px 4px 0 var(--brown);
  transform: rotate(-4deg);
}

.spark {
  position: absolute;
  z-index: 3;
  font-size: 1.6rem;
  color: var(--orange);
  animation: twinkle 4s ease-in-out infinite;
}

.spark.s1 {
  top: 110px;
  left: 12px;
}

.spark.s2 {
  bottom: 150px;
  right: 14px;
  color: var(--mustard);
  font-size: 1.3rem;
  animation-delay: -2s;
}

.ticker {
  margin-top: 96px;
  background: var(--brown);
  color: var(--cream);
  overflow: hidden;
  border-block: 2.5px solid var(--brown);
}

.ticker-track {
  display: flex;
  width: max-content;
  animation: marquee 40s linear infinite;
}

.ticker-track span {
  display: inline-flex;
  align-items: center;
  gap: 24px;
  padding: 18px 0;
  font-family: var(--display);
  font-size: 1.2rem;
  white-space: nowrap;
}

.ticker-track i {
  color: var(--mustard);
  font-size: .9rem;
}

/* ---------- sections ---------- */
.section {
  padding: 120px 0;
  position: relative;
}

.section-tight {
  padding: 80px 0;
}

.bg-white {
  background: var(--paper);
  border-block: 2.5px solid var(--brown);
}

.bg-paper2 {
  background: var(--cream-2);
  border-block: 2.5px solid var(--brown);
}

.bg-ink {
  background: var(--brown);
  color: var(--cream);
}

.bg-ink .lead {
  color: #e7d3b7;
}

.bg-ink .h2,
.bg-ink h2 {
  color: var(--cream);
}

.bg-ink .hl {
  color: var(--mustard);
  text-shadow: 3px 3px 0 var(--orange);
}

.center {
  text-align: center;
}

.center .lead {
  margin-inline: auto;
}

.section-head {
  margin-bottom: 64px;
}

.section-head.center {
  margin-inline: auto;
  max-width: 780px;
}

/* bento -> retro tiles */
.bento {
  display: grid;
  grid-template-columns: repeat(6, 1fr);
  gap: 24px;
}

.tile {
  position: relative;
  display: flex;
  flex-direction: column;
  gap: 14px;
  padding: 34px;
  min-height: 270px;
  overflow: hidden;
  border: 2.5px solid var(--brown);
  border-radius: var(--radius);
  background: var(--paper);
  box-shadow: var(--shadow);
  transition: transform .2s, box-shadow .2s;
}

.tile::before {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  top: 0;
  height: 14px;
  background: var(--tile);
  border-bottom: 2.5px solid var(--brown);
}

.tile>* {
  position: relative;
}

.tile:hover {
  transform: translate(-3px, -3px);
  box-shadow: 11px 11px 0 var(--brown);
}

.tile.w3 {
  grid-column: span 3;
}

.tile.w2 {
  grid-column: span 2;
}

.tile.w6 {
  grid-column: span 6;
}

.tile-top {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
}

.tile-ico {
  width: 58px;
  height: 58px;
  border-radius: 50%;
  display: grid;
  place-items: center;
  font-size: 1.1rem;
  background: var(--tile);
  color: var(--brown);
  border: 2.5px solid var(--brown);
  transition: transform .4s;
}

.tile:hover .tile-ico {
  transform: rotate(-20deg);
}

.tile-num {
  font-family: var(--display);
  font-size: .74rem;
  color: var(--brown-2);
  border: 2px solid var(--brown);
  border-radius: 999px;
  padding: 4px 12px;
}

.tile h3 {
  font-size: 1.8rem;
  margin-top: 10px;
}

.tile p {
  margin: 0;
  color: var(--brown-2);
  font-size: .95rem;
}

.tile .chips {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-top: auto;
  padding-top: 10px;
}

.chip {
  font-size: .78rem;
  font-weight: 700;
  background: var(--cream);
  border: 2px solid var(--brown);
  border-radius: 999px;
  padding: 4px 12px;
  color: var(--brown);
}

.tile-go {
  margin-top: auto;
  font-family: var(--display);
  font-size: .95rem;
  display: inline-flex;
  gap: 10px;
  align-items: center;
  padding-top: 6px;
  color: var(--orange);
}

.tile-go i {
  transition: transform .25s;
}

.tile:hover .tile-go i {
  transform: translateX(6px);
}

.tile-bg {
  position: absolute;
  right: -10px;
  bottom: -36px;
  font-size: 8.5rem;
  opacity: .1;
  color: var(--brown);
  pointer-events: none;
}

/* split */
.split {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 80px;
  align-items: center;
}

.split.rev> :first-child {
  order: 2;
}

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

.collage .c-main {
  position: absolute;
  left: 0;
  top: 0;
  width: 72%;
  height: 76%;
  object-fit: cover;
  border-radius: 200px 200px 24px 24px;
  border: 2.5px solid var(--brown);
  box-shadow: var(--shadow);
  filter: sepia(.2);
}

.collage .c-small {
  position: absolute;
  right: 0;
  bottom: 0;
  width: 46%;
  height: 50%;
  object-fit: cover;
  border-radius: 24px;
  border: 2.5px solid var(--brown);
  box-shadow: var(--shadow-sm);
}

.collage .c-note {
  position: absolute;
  right: 6%;
  top: 4%;
  background: var(--mustard);
  border: 2.5px solid var(--brown);
  border-radius: 22px;
  padding: 16px 20px;
  font-family: var(--display);
  font-size: 1.15rem;
  line-height: 1.2;
  box-shadow: var(--shadow-sm);
  transform: rotate(4deg);
  z-index: 2;
}

.checks {
  list-style: none;
  padding: 0;
  margin: 30px 0 0;
  display: grid;
  gap: 14px;
}

.checks li {
  display: flex;
  gap: 14px;
  align-items: center;
  color: var(--brown-2);
  font-weight: 600;
}

.checks i {
  flex: 0 0 34px;
  height: 34px;
  border-radius: 50%;
  background: var(--olive);
  color: var(--cream);
  border: 2px solid var(--brown);
  display: grid;
  place-items: center;
  font-size: .8rem;
}

/* difference */
.diff-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 22px;
}

.step {
  position: relative;
  background: var(--cream);
  border: 2.5px solid var(--cream);
  border-radius: 26px;
  padding: 34px;
  box-shadow: 6px 6px 0 var(--orange);
  transition: transform .2s;
}

.step:nth-child(2) {
  box-shadow: 6px 6px 0 var(--mustard);
}

.step:nth-child(3) {
  box-shadow: 6px 6px 0 var(--olive);
}

.step:nth-child(4) {
  box-shadow: 6px 6px 0 var(--cream-2);
}

.step:hover {
  transform: translate(-3px, -3px);
}

.step-no {
  font-family: var(--display);
  font-size: 2.6rem;
  line-height: 1;
  color: var(--orange);
}

.step:nth-child(2) .step-no {
  color: var(--rust);
}

.step:nth-child(3) .step-no {
  color: var(--olive);
}

.step h3 {
  font-size: 1.4rem;
  margin: 18px 0 10px;
  color: var(--brown);
}

.step p {
  margin: 0;
  color: var(--brown-2);
  font-size: .95rem;
}

.step .ic {
  display: none;
}

/* stats */
.stats {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  border: 2.5px solid var(--brown);
  border-radius: 30px;
  overflow: hidden;
  background: var(--paper);
  box-shadow: var(--shadow);
}

.stat {
  padding: 42px 22px;
  text-align: center;
  border-right: 2.5px solid var(--brown);
}

.stat:nth-child(1) {
  background: var(--mustard);
}

.stat:nth-child(2) {
  background: var(--paper);
}

.stat:nth-child(3) {
  background: var(--orange);
  color: var(--cream);
}

.stat:nth-child(4) {
  background: var(--olive);
  color: var(--cream);
}

.stat:last-child {
  border-right: 0;
}

.stat b {
  display: block;
  font-family: var(--display);
  font-weight: 400;
  font-size: clamp(2.4rem, 4.4vw, 3.4rem);
  line-height: 1;
}

.stat span {
  display: block;
  margin-top: 12px;
  font-size: .88rem;
  font-weight: 700;
}

/* chart */
.chart-card {
  background: var(--paper);
  border: 2.5px solid var(--brown);
  border-radius: 30px;
  padding: 32px;
  box-shadow: var(--shadow);
}

.chart-top {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 16px;
  flex-wrap: wrap;
  margin-bottom: 14px;
}

.seg {
  display: inline-flex;
  border: 2.5px solid var(--brown);
  border-radius: 999px;
  overflow: hidden;
}

.seg button {
  padding: 8px 16px;
  font-family: var(--display);
  font-size: .88rem;
  color: var(--brown);
  background: var(--paper);
}

.seg button+button {
  border-left: 2.5px solid var(--brown);
}

.seg button.active {
  background: var(--mustard);
}

.delta {
  font-family: var(--display);
  font-size: 2rem;
  color: var(--orange);
}

#moneyGraph {
  width: 100%;
  height: auto;
  overflow: visible;
}

.chart-grid {
  stroke: var(--cream-2);
  stroke-width: 2;
}

.chart-line {
  fill: none;
  stroke: var(--brown);
  stroke-width: 4;
  stroke-linecap: round;
  stroke-linejoin: round;
  stroke-dasharray: 1200;
  stroke-dashoffset: 1200;
  animation: draw 2s ease forwards;
}

.chart-baseline {
  fill: none;
  stroke: var(--orange);
  stroke-width: 3;
  stroke-dasharray: 2 8;
  stroke-linecap: round;
}

.chart-area {
  fill: url(#moneyArea);
  opacity: 0;
  animation: fade .9s 1s forwards;
}

.chart-point {
  fill: var(--mustard);
  stroke: var(--brown);
  stroke-width: 3;
}

.chart-label {
  fill: var(--muted);
  font-size: 12px;
  font-weight: 600;
  font-family: var(--body);
}

.legend {
  display: flex;
  gap: 20px;
  font-size: .84rem;
  font-weight: 600;
  color: var(--muted);
}

.legend i {
  display: inline-block;
  width: 18px;
  height: 4px;
  border-radius: 4px;
  margin-right: 8px;
  vertical-align: middle;
}

/* CTA */
.cta {
  position: relative;
  border: 2.5px solid var(--brown);
  border-radius: 44px;
  padding: 92px 56px;
  overflow: hidden;
  text-align: center;
  background: var(--orange);
  color: var(--cream);
  box-shadow: var(--shadow);
}

.cta::before {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  height: 120px;
  background: repeating-linear-gradient(90deg, var(--mustard) 0 60px, var(--rust) 60px 120px, var(--brown) 120px 180px, var(--cream) 180px 240px);
  border-top: 2.5px solid var(--brown);
  opacity: .95;
}

.cta::after {
  content: "";
  position: absolute;
  width: 260px;
  height: 260px;
  border-radius: 50%;
  border: 2.5px solid var(--cream);
  opacity: .25;
  right: -80px;
  top: -90px;
}

.cta h2 {
  color: var(--cream);
  font-size: clamp(2.3rem, 5vw, 3.7rem);
  position: relative;
  z-index: 1;
  text-shadow: 3px 3px 0 var(--brown);
}

.cta p {
  position: relative;
  z-index: 1;
  color: var(--cream);
  max-width: 580px;
  margin: 20px auto 0;
  font-size: 1.08rem;
}

.cta .btn-row {
  justify-content: center;
  position: relative;
  z-index: 1;
  margin-bottom: 40px;
}

.cta .btn-white {
  background: var(--cream);
}

.cta .big-i {
  display: none;
}

/* page hero */
.page-hero {
  position: relative;
  padding: 80px 0 60px;
  overflow: hidden;
  border-bottom: 2.5px solid var(--brown);
  background: var(--cream);
}

.page-hero::after {
  content: "";
  position: absolute;
  right: 0;
  top: 0;
  bottom: 0;
  width: 18px;
  background: linear-gradient(180deg, var(--mustard) 0 25%, var(--orange) 25% 50%, var(--rust) 50% 75%, var(--brown) 75%);
}

.page-hero h1 {
  font-size: clamp(2.8rem, 5.8vw, 4.8rem);
  margin-bottom: 24px;
}

.page-hero .lead {
  font-size: 1.12rem;
}

.crumbs {
  display: flex;
  gap: 10px;
  align-items: center;
  font-size: .84rem;
  font-weight: 700;
  color: var(--muted);
  margin-bottom: 26px;
}

.crumbs i {
  font-size: .6rem;
}

.crumbs a:hover {
  color: var(--orange);
}

.page-blob {
  position: absolute;
  right: -120px;
  top: -140px;
  width: 420px;
  height: 420px;
  border-radius: 50%;
  background: var(--mustard);
  opacity: .35;
  pointer-events: none;
}

.tag-row {
  display: flex;
  gap: 12px;
  flex-wrap: wrap;
  margin-top: 32px;
}

.tag {
  padding: 9px 18px;
  border: 2.5px solid var(--brown);
  border-radius: 999px;
  background: var(--paper);
  font-family: var(--display);
  font-size: .88rem;
  box-shadow: 3px 3px 0 var(--brown);
}

.tag:nth-child(2) {
  background: var(--mustard);
}

.tag:nth-child(3) {
  background: var(--olive);
  color: var(--cream);
}

/* services directory */
.filters {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-bottom: 64px;
  /* position: sticky; */
  top: 100px;
  z-index: 20;
  padding: 12px;
  background: var(--cream);
  border: 2.5px solid var(--brown);
  border-radius: 26px;
  box-shadow: var(--shadow-sm);
}

.filter {
  padding: 10px 18px;
  border: 2.5px solid var(--brown);
  border-radius: 999px;
  background: var(--paper);
  font-family: var(--display);
  font-size: .88rem;
  transition: all .2s;
}

.filter:hover {
  background: var(--mustard);
}

.filter.active {
  background: var(--orange);
  color: var(--cream);
  box-shadow: 3px 3px 0 var(--brown);
}

.filter span {
  display: inline-grid;
  place-items: center;
  min-width: 24px;
  height: 24px;
  margin-left: 8px;
  border-radius: 999px;
  background: var(--brown);
  color: var(--cream);
  font-family: var(--body);
  font-size: .72rem;
  font-weight: 700;
  padding: 0 7px;
}

.division {
  scroll-margin-top: 190px;
  margin-bottom: 90px;
}

.division-head {
  display: flex;
  justify-content: space-between;
  align-items: flex-end;
  gap: 24px;
  flex-wrap: wrap;
  margin-bottom: 30px;
  padding-bottom: 24px;
  border-bottom: 2.5px dashed var(--brown);
}

.division-head .kicker {
  margin-bottom: 16px;
}

.division-head h2 {
  font-size: clamp(2.2rem, 4vw, 3.2rem);
}

.division-head p {
  margin: 12px 0 0;
  color: var(--brown-2);
  max-width: 640px;
}

.division-head .btn {
  flex-shrink: 0;
}

.routes {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}

.route {
  position: relative;
  display: flex;
  flex-direction: column;
  gap: 10px;
  padding: 30px;
  border: 2.5px solid var(--brown);
  border-radius: 26px;
  background: var(--paper);
  box-shadow: var(--shadow-sm);
  transition: transform .2s, box-shadow .2s;
}

.route:hover {
  transform: translate(-3px, -3px);
  box-shadow: 8px 8px 0 var(--brown);
}

.route-ic {
  width: 52px;
  height: 52px;
  border-radius: 50%;
  display: grid;
  place-items: center;
  font-size: 1rem;
  background: var(--mustard);
  border: 2.5px solid var(--brown);
  margin-bottom: 6px;
}

.route:nth-child(3n+2) .route-ic {
  background: var(--orange);
  color: var(--cream);
}

.route:nth-child(3n+3) .route-ic {
  background: var(--olive);
  color: var(--cream);
}

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

.route p {
  margin: 0;
  color: var(--brown-2);
  font-size: .92rem;
  flex: 1;
}

.route-go {
  font-family: var(--display);
  font-size: .92rem;
  display: inline-flex;
  gap: 8px;
  align-items: center;
  color: var(--orange);
  margin-top: 8px;
}

.route-go i {
  transition: transform .25s;
}

.route:hover .route-go i {
  transform: translateX(5px);
}

.route-idx {
  display: none;
}

.empty {
  display: none;
}

/* about */
.values {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 24px;
}

.value {
  background: var(--paper);
  border: 2.5px solid var(--brown);
  border-radius: 30px;
  padding: 40px;
  box-shadow: var(--shadow-sm);
  transition: transform .2s;
}

.value:hover {
  transform: translate(-3px, -3px);
  box-shadow: 8px 8px 0 var(--brown);
}

.value .ic {
  width: 58px;
  height: 58px;
  border-radius: 50%;
  display: grid;
  place-items: center;
  font-size: 1.1rem;
  margin-bottom: 22px;
  border: 2.5px solid var(--brown) !important;
  color: var(--brown) !important;
}

.value h3 {
  font-size: 1.55rem;
  margin-bottom: 10px;
}

.value p {
  margin: 0;
  color: var(--brown-2);
}

.process {
  position: relative;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 26px;
}

.process::before {
  content: "";
  position: absolute;
  top: 56px;
  left: 16%;
  right: 16%;
  border-top: 3px dashed var(--brown);
  z-index: 0;
}

.p-card {
  position: relative;
  z-index: 1;
  text-align: center;
}

.p-badge {
  width: 110px;
  height: 110px;
  margin: 0 auto 26px;
  border-radius: 50%;
  display: grid;
  place-items: center;
  font-family: var(--display);
  font-size: 1.9rem;
  background: var(--mustard);
  border: 2.5px solid var(--brown);
  box-shadow: 5px 5px 0 var(--brown);
  color: var(--brown);
}

.p-card:nth-child(2) .p-badge {
  background: var(--orange);
  color: var(--cream);
}

.p-card:nth-child(3) .p-badge {
  background: var(--olive);
  color: var(--cream);
}

.p-card h3 {
  font-size: 1.5rem;
  margin-bottom: 10px;
}

.p-card p {
  color: var(--brown-2);
  margin: 0 auto;
  max-width: 300px;
}

/* forms */
.form-card {
  background: var(--paper);
  border: 2.5px solid var(--brown);
  border-radius: 34px;
  box-shadow: var(--shadow);
  padding: 46px;
}

.form-card h2 {
  font-size: 2rem;
  margin-bottom: 8px;
}

.form-card>p {
  color: var(--brown-2);
  margin: 0 0 30px;
}

.field {
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.field.full {
  grid-column: 1 / -1;
}

.field label {
  font-family: var(--display);
  font-size: .92rem;
  color: var(--brown);
}

.field label em {
  color: var(--orange);
  font-style: normal;
}

.field input,
.field select,
.field textarea {
  width: 100%;
  padding: 14px 18px;
  border-radius: 16px;
  border: 2.5px solid var(--brown);
  background: var(--cream);
  font-size: .98rem;
  transition: box-shadow .2s, background .2s;
}

.field input::placeholder,
.field textarea::placeholder {
  color: #a88b74;
}

.field textarea {
  min-height: 120px;
  resize: vertical;
}

.field input:focus,
.field select:focus,
.field textarea:focus {
  outline: none;
  background: #fff8ea;
  box-shadow: 4px 4px 0 var(--mustard);
}

.field select:disabled {
  opacity: .5;
}

.field .err {
  display: none;
  color: var(--rust);
  font-size: .8rem;
  font-weight: 700;
}

.field.invalid input,
.field.invalid select,
.field.invalid textarea {
  border-color: var(--rust);
  background: #fbe5d6;
}

.field.invalid .err {
  display: block;
}

.form-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 24px 22px;
}

.check {
  display: flex;
  gap: 12px;
  align-items: flex-start;
  font-size: .92rem;
  color: var(--brown-2);
  font-weight: 600 !important;
}

.check input {
  width: 22px;
  height: 22px;
  margin-top: 2px;
  accent-color: var(--orange);
  flex: 0 0 22px;
  padding: 0;
}

.form-msg {
  display: none;
  margin-top: 26px;
  padding: 16px 20px;
  border-radius: 18px;
  border: 2.5px solid var(--brown);
  align-items: center;
  gap: 12px;
  background: var(--olive);
  color: var(--cream);
  font-family: var(--display);
}

.form-msg.show {
  display: flex;
}

.form-msg.error {
  background: var(--rust);
}

.form-card .btn {
  width: 100%;
  margin-top: 30px;
}

.side-info {
  display: grid;
  gap: 18px;
}

.info-card {
  display: flex;
  gap: 18px;
  align-items: flex-start;
  padding: 24px;
  border: 2.5px solid var(--brown);
  border-radius: 26px;
  background: var(--paper);
  box-shadow: var(--shadow-sm);
}

.info-card .ic {
  flex: 0 0 52px;
  height: 52px;
  border-radius: 50%;
  display: grid;
  place-items: center;
  border: 2.5px solid var(--brown);
  background: var(--mustard);
  color: var(--brown);
  font-size: 1rem;
}

.info-card:nth-child(2) .ic {
  background: var(--orange);
  color: var(--cream);
}

.info-card:nth-child(3) .ic {
  background: var(--olive);
  color: var(--cream);
}

.info-card b {
  display: block;
  font-family: var(--display);
  font-weight: 400;
  font-size: 1.15rem;
}

.info-card span {
  color: var(--brown-2);
}

.info-card a:hover {
  color: var(--orange);
}

.note {
  background: var(--mustard);
  border: 2.5px solid var(--brown);
  border-radius: 20px;
  padding: 18px 22px;
  font-weight: 600;
  font-size: .92rem;
  color: var(--brown);
  margin-top: 16px;
}

.note a {
  text-decoration: underline;
  text-underline-offset: 3px;
}

.nl-tiles {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 18px;
  margin-top: 36px;
}

.nl-tile {
  background: var(--paper);
  border: 2.5px solid var(--brown);
  border-radius: 24px;
  padding: 24px;
  box-shadow: var(--shadow-sm);
  transition: transform .2s;
}

.nl-tile:hover {
  transform: translate(-3px, -3px);
}

.nl-tile i {
  width: 46px;
  height: 46px;
  border-radius: 50%;
  display: inline-grid;
  place-items: center;
  border: 2.5px solid var(--brown);
  background: var(--c);
  color: var(--brown);
  font-size: 1rem;
}

.nl-tile b {
  display: block;
  font-family: var(--display);
  font-weight: 400;
  font-size: 1.2rem;
  margin-top: 16px;
}

.nl-tile span {
  font-size: .88rem;
  color: var(--brown-2);
}

/* legal */
.legal-wrap {
  display: grid;
  grid-template-columns: 250px 1fr;
  gap: 48px;
  align-items: start;
}

.legal-toc {
  position: sticky;
  top: 120px;
  background: var(--paper);
  border: 2.5px solid var(--brown);
  border-radius: 26px;
  padding: 24px;
  box-shadow: var(--shadow-sm);
}

.legal-toc h4 {
  font-size: 1.05rem;
  margin-bottom: 12px;
}

.legal-toc a {
  display: block;
  padding: 7px 0;
  color: var(--brown-2);
  font-weight: 600;
  font-size: .9rem;
}

.legal-toc a:hover {
  color: var(--orange);
}

.legal-body {
  background: var(--paper);
  border: 2.5px solid var(--brown);
  border-radius: 34px;
  padding: 56px;
  box-shadow: var(--shadow);
}

.legal-body h2 {
  font-size: 1.6rem;
  margin: 46px 0 14px;
  scroll-margin-top: 120px;
}

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

.legal-body p,
.legal-body li {
  color: var(--brown-2);
}

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

.legal-body a {
  color: var(--orange);
  text-decoration: underline;
  text-underline-offset: 3px;
}

.legal-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-bottom: 30px;
}

.legal-meta span {
  font-size: .84rem;
  font-weight: 600;
  color: var(--brown);
  background: var(--mustard);
  border: 2px solid var(--brown);
  border-radius: 999px;
  padding: 6px 14px;
}

.legal-meta b {
  font-weight: 800;
}

/* footer */
.footer {
  background: var(--brown);
  color: #e7d3b7;
  padding: 0 0 34px;
  position: relative;
  overflow: hidden;
}

.footer::before {
  content: "";
  display: block;
  height: 22px;
  background: linear-gradient(180deg, var(--mustard) 0 25%, var(--orange) 25% 50%, var(--rust) 50% 75%, var(--olive) 75%);
}

.footer>.container {
  padding-top: 80px;
}

.footer-grid {
  display: grid;
  grid-template-columns: 1.5fr 1fr 1fr 1fr;
  gap: 48px;
}

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

.footer .brand-mark {
  border-color: var(--cream);
  box-shadow: 3px 3px 0 var(--mustard);
}

.footer p {
  margin: 20px 0 0;
  max-width: 320px;
  font-size: .92rem;
}

.footer h4 {
  color: var(--mustard);
  font-size: 1.05rem;
  margin: 0 0 18px;
}

.footer ul {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  gap: 10px;
  font-size: .92rem;
}

.footer ul a:hover {
  color: var(--mustard);
}

.footer-bottom {
  margin-top: 70px;
  padding-top: 26px;
  border-top: 2px dashed rgba(246, 234, 212, .25);
  display: flex;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 14px;
  font-size: .84rem;
}

.footer-bottom nav {
  display: flex;
  gap: 24px;
}

.footer-bottom a:hover {
  color: var(--mustard);
}

.to-top {
  position: fixed;
  right: 24px;
  bottom: 24px;
  z-index: 40;
  width: 52px;
  height: 52px;
  border-radius: 50%;
  background: var(--mustard);
  border: 2.5px solid var(--brown);
  box-shadow: 4px 4px 0 var(--brown);
  color: var(--brown);
  opacity: 0;
  transform: translateY(12px);
  transition: .3s;
  pointer-events: none;
}

.to-top.show {
  opacity: 1;
  transform: none;
  pointer-events: auto;
}

.toast {
  position: fixed;
  left: 50%;
  bottom: 28px;
  z-index: 200;
  transform: translate(-50%, 160%);
  opacity: 0;
  visibility: hidden;
  background: var(--mustard);
  color: var(--brown);
  padding: 16px 26px;
  border: 2.5px solid var(--brown);
  border-radius: 999px;
  box-shadow: var(--shadow-sm);
  font-family: var(--display);
  font-size: .95rem;
  transition: transform .5s cubic-bezier(.2, .9, .3, 1.1), opacity .3s;
  max-width: calc(100% - 40px);
}

.toast.show {
  transform: translate(-50%, 0);
  opacity: 1;
  visibility: visible;
}

/* reveal */
.reveal {
  opacity: 0;
  transform: translateY(24px);
  transition: opacity .8s ease, transform .8s cubic-bezier(.2, .8, .2, 1);
  transition-delay: var(--d, 0ms);
}

.reveal.in {
  opacity: 1;
  transform: none;
}

/* keyframes */
@keyframes float {
  50% {
    transform: translateY(-10px);
  }
}

@keyframes twinkle {
  50% {
    transform: rotate(45deg) scale(1.2);
    opacity: .7;
  }
}

@keyframes marquee {
  to {
    transform: translateX(-50%);
  }
}

@keyframes grow {
  from {
    transform: scaleY(.05);
  }
}

@keyframes draw {
  to {
    stroke-dashoffset: 0;
  }
}

@keyframes fade {
  to {
    opacity: 1;
  }
}

@media (prefers-reduced-motion: reduce) {

  *,
  *::before,
  *::after {
    animation: none !important;
    transition: none !important;
  }

  .reveal {
    opacity: 1;
    transform: none;
  }

  .chart-line {
    stroke-dashoffset: 0;
  }

  .chart-area {
    opacity: 1;
  }
}

/* ---------- responsive ---------- */
@media (max-width: 1080px) {
  .nav-links {
    display: none;
  }

  .menu-btn {
    display: inline-grid;
    place-items: center;
  }

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

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

@media (max-width: 960px) {

  .hero-grid,
  .split,
  .legal-wrap {
    grid-template-columns: 1fr;
    gap: 56px;
  }

  .split.rev> :first-child {
    order: 0;
  }

  .hero-visual {
    max-width: 560px;
    margin: 0 auto;
    width: 100%;
  }

  .bento .tile.w3,
  .bento .tile.w2 {
    grid-column: span 6;
  }

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

  .stat:nth-child(2) {
    border-right: 0;
  }

  .stat:nth-child(-n+2) {
    border-bottom: 2.5px solid var(--brown);
  }

  .legal-toc {
    position: static;
  }

  .process {
    grid-template-columns: 1fr;
    gap: 56px;
  }

  .process::before {
    display: none;
  }

  .filters {
    position: static;
  }
}

@media (max-width: 640px) {
  .section {
    padding: 84px 0;
  }

  .container {
    width: min(100% - 36px, 1180px);
  }

  .topbar-r .hide-sm {
    display: none;
  }

  .diff-grid,
  .values,
  .form-grid,
  .nl-tiles,
  .routes {
    grid-template-columns: 1fr;
  }

  .bento .tile.w3,
  .bento .tile.w2 {
    grid-column: span 6;
  }

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

  .stat {
    border-right: 0;
    border-bottom: 2.5px solid var(--brown);
  }

  .stat:last-child {
    border-bottom: 0;
  }

  .cta {
    padding: 64px 26px 150px;
    border-radius: 30px;
  }

  .form-card,
  .legal-body {
    padding: 28px;
  }

  .float-card.fc1 {
    left: 0;
    width: 180px;
  }

  .float-card.fc2 {
    right: 0;
    width: 180px;
  }

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

  .hero {
    padding-top: 44px;
  }

  .hero-stats {
    gap: 10px;
  }

  .hero-stat {
    min-width: 0;
    flex: 1 1 30%;
    padding: 12px;
  }

  .hero-stat b {
    font-size: 1.6rem;
  }

  .nav-cta .btn {
    display: none;
  }

  .collage {
    height: 440px;
  }

  .division-head .btn {
    width: 100%;
  }
}