:root {
  --paper: #F1F5F0;
  --surface: #FFFFFF;
  --sunk: #E8EEE8;
  --ink: #14201A;
  --muted: #5B6B62;
  --line: #D3DDD5;
  --money: #0E7A4B;
  --on-money: #FFFFFF;
  --money-soft: #DCEFE3;
  --deadline: #A85B0C;
  --deadline-soft: #FBEAD4;
  --check: #E4EFE2;
  --check-line: #9FBFA9;
  --hero-card: #14201A;
  --on-hero: #FFFFFF;
  --display: "Bricolage Grotesque", "Avenir Next", system-ui, sans-serif;
  --body: "Hanken Grotesk", "Helvetica Neue", system-ui, sans-serif;
  --mono: "IBM Plex Mono", ui-monospace, "SF Mono", Menlo, monospace;
}

@media (prefers-color-scheme: dark) {
  :root {
    --paper: #0B120F;
    --surface: #131D18;
    --sunk: #0F1813;
    --ink: #E3ECE6;
    --muted: #93A59A;
    --line: #26352D;
    --money: #3FC486;
    --on-money: #06140D;
    --money-soft: #143626;
    --deadline: #E8A04E;
    --deadline-soft: #3A2812;
    --check: #16261E;
    --check-line: #3C6150;
    --hero-card: #1A2A21;
    --on-hero: #E3ECE6;
  }
}

* { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; }
body {
  margin: 0;
  background: var(--paper);
  color: var(--ink);
  font-family: var(--body);
  font-size: 17px;
  line-height: 1.6;
}
a { color: inherit; }
img { max-width: 100%; }
h1, h2, h3 { font-family: var(--display); letter-spacing: -0.02em; margin: 0; text-wrap: balance; }
p { margin: 0; }
:focus-visible { outline: 2px solid var(--money); outline-offset: 3px; border-radius: 4px; }

.wrap { max-width: 1120px; margin-inline: auto; padding-inline: 20px; }

/* ---------- nav ---------- */
.nav { display: flex; align-items: center; justify-content: space-between; gap: 16px; padding-block: 22px; }
.brand { display: flex; align-items: center; text-decoration: none; font-family: var(--display); font-weight: 800; font-size: 21px; letter-spacing: -.02em; }
.brand-accent { color: var(--money); }
.seal {
  width: 32px; height: 32px; border-radius: 50%;
  border: 1.5px dashed var(--money); color: var(--money);
  display: grid; place-items: center;
  font-family: var(--display); font-weight: 800; font-size: 15px;
}
.nav-links { display: flex; gap: 22px; font-size: 15px; color: var(--muted); }
.nav-links a { text-decoration: none; }
.nav-links a:hover { color: var(--ink); }
.nav-links .nav-cta { color: var(--money); font-weight: 700; }
@media (max-width: 640px) { .nav-links .hide-sm { display: none; } }

/* ---------- buttons ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 10px;
  min-height: 54px; padding: 0 24px; border-radius: 14px;
  background: var(--money); color: var(--on-money);
  font-weight: 700; font-size: 17px; text-decoration: none;
  transition: transform .15s ease, opacity .15s ease;
}
.btn:hover { transform: translateY(-1px); }
.btn:active { opacity: .8; }
.btn.store { background: var(--ink); color: var(--paper); }
.btn.store svg { width: 20px; height: 20px; fill: currentColor; }
.btn small { display: block; font-size: 11px; font-weight: 500; opacity: .75; line-height: 1; }
.btn .stack { display: grid; text-align: left; line-height: 1.15; }

/* ---------- hero ---------- */
.hero {
  display: grid; grid-template-columns: 1.1fr 1fr; gap: 56px; align-items: center;
  padding-block: 48px 88px;
}
.eyebrow { font-family: var(--mono); font-size: 13px; letter-spacing: .08em; text-transform: uppercase; color: var(--money); }
.hero h1 { font-size: clamp(44px, 6.4vw, 78px); line-height: .98; font-weight: 800; margin-top: 16px; }
.hero h1 em { font-style: normal; color: var(--money); }
.hero .lede { font-size: 20px; color: var(--muted); max-width: 34ch; margin-top: 22px; }
.hero .cta { display: flex; flex-wrap: wrap; gap: 14px; align-items: center; margin-top: 32px; }
.hero .fine { font-size: 14px; color: var(--muted); }

/* Hero: real open settlements, stacked and overlapping.
   Each card's amount sits in its top row so it stays visible under the next card. */
.deck { position: relative; min-height: 420px; }
.scard {
  position: absolute; inset-inline: 0; display: grid; gap: 12px;
  padding: 18px 20px 16px; border-radius: 16px;
  background: var(--surface); border: 1px solid var(--line);
  box-shadow: 0 24px 50px -30px rgba(10, 30, 20, .45);
  animation: deal .7s cubic-bezier(.2, .8, .2, 1) both;
}
.scard:nth-of-type(1) { top: 0; animation-delay: 0s; }
.scard:nth-of-type(2) { top: 84px; animation-delay: .08s; }
.scard:nth-of-type(3) { top: 168px; animation-delay: .16s; }
.scard:nth-of-type(4) {
  top: 252px; animation-delay: .24s;
  background: var(--check); border-color: var(--check-line);
  box-shadow: 0 34px 60px -30px rgba(10, 30, 20, .55);
}
.sc-head { display: grid; grid-template-columns: auto 1fr auto; gap: 12px; align-items: center; }
.sc-head b { display: block; font-size: 17px; }
.sc-head div span { font-size: 14px; color: var(--muted); }
.sc-amt { display: grid; justify-items: end; gap: 2px; text-align: right; }
.sc-amt .lbl { font-family: var(--mono); font-size: 10px; letter-spacing: .1em; text-transform: uppercase; color: var(--muted); }
.sc-amt .big { font-family: var(--display); font-weight: 800; font-size: 30px; line-height: 1; color: var(--money); letter-spacing: -.03em; font-variant-numeric: tabular-nums; white-space: nowrap; }
.scard:nth-of-type(4) .sc-amt .big { font-size: clamp(36px, 4.4vw, 46px); }
.scard .tags { display: flex; flex-wrap: wrap; gap: 6px; }
.tag.open { background: var(--money); color: var(--on-money); }
.deck-note { position: absolute; left: 0; right: 0; bottom: 0; margin: 0; font-size: 13px; color: var(--muted); text-align: center; }
@keyframes deal { from { opacity: 0; translate: 0 24px; } to { opacity: 1; translate: 0 0; } }
@media (max-width: 880px) {
  .hero { grid-template-columns: 1fr; gap: 40px; padding-block: 24px 64px; }
}
@media (max-width: 480px) {
  .deck { min-height: 425px; }
  .scard { padding: 14px 14px 12px; gap: 10px; }
  .sc-head { gap: 10px; }
  .sc-head .mg { width: 34px; height: 34px; }
  .sc-head b { font-size: 15px; }
  .sc-head div span { font-size: 13px; }
  .sc-amt .big { font-size: 24px; }
  .scard:nth-of-type(2) { top: 76px; }
  .scard:nth-of-type(3) { top: 152px; }
  .scard:nth-of-type(4) { top: 228px; }
  .scard:nth-of-type(4) .sc-amt .big { font-size: 34px; }
}
@media (prefers-reduced-motion: reduce) {
  .scard { animation: none; }
  .btn { transition: none; }
}

/* ---------- sections ---------- */
section { padding-block: 72px; border-top: 1px solid var(--line); }
.sec-head { display: grid; gap: 12px; max-width: 640px; margin-bottom: 40px; }
.sec-head h2 { font-size: clamp(32px, 4.2vw, 48px); line-height: 1.05; font-weight: 700; }
.sec-head p { color: var(--muted); font-size: 18px; }

.steps { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; list-style: none; padding: 0; margin: 0; counter-reset: step; }
.steps li { background: var(--surface); border: 1px solid var(--line); border-radius: 14px; padding: 24px; display: grid; gap: 10px; align-content: start; counter-increment: step; }
.steps li::before { content: "Step " counter(step); font-family: var(--mono); font-size: 13px; color: var(--money); }
.steps h3 { font-size: 23px; font-weight: 700; }
.steps p { color: var(--muted); font-size: 16px; }
@media (max-width: 820px) { .steps { grid-template-columns: 1fr; } }

/* example matches */
.matches { display: grid; grid-template-columns: 1fr 1fr; gap: 40px; align-items: center; }
.list { background: var(--surface); border: 1px solid var(--line); border-radius: 16px; overflow: hidden; }
.li { display: grid; grid-template-columns: 40px 1fr auto; gap: 14px; align-items: center; padding: 16px 18px; border-top: 1px solid var(--line); }
.li:first-child { border-top: 0; }
.mg { width: 40px; height: 40px; border-radius: 11px; display: grid; place-items: center; color: #fff; font-weight: 700; }
.li b { display: block; font-size: 16px; }
.tags { display: flex; gap: 6px; flex-wrap: wrap; margin-top: 3px; }
.tag { font-family: var(--mono); font-size: 11px; padding: 2px 7px; border-radius: 4px; background: var(--money-soft); color: var(--money); }
.tag.amber { background: var(--deadline-soft); color: var(--deadline); }
.amt { font-family: var(--display); font-weight: 700; color: var(--money); font-variant-numeric: tabular-nums; white-space: nowrap; }
.total { background: var(--hero-card); color: var(--on-hero); border-radius: 18px; padding: 28px; display: grid; gap: 12px; }
.total .lbl { font-family: var(--mono); font-size: 12px; letter-spacing: .1em; opacity: .7; }
.total .big { font-family: var(--display); font-weight: 800; font-size: clamp(52px, 7vw, 76px); line-height: 1; letter-spacing: -0.03em; }
.total p { opacity: .8; }
@media (max-width: 820px) { .matches { grid-template-columns: 1fr; } }

/* honest */
.principles { display: grid; grid-template-columns: repeat(2, 1fr); gap: 0; border-top: 1px solid var(--line); }
.principles div { padding: 26px 26px 26px 0; border-bottom: 1px solid var(--line); display: grid; gap: 6px; }
.principles div:nth-child(odd) { padding-right: 36px; }
.principles h3 { font-size: 22px; font-weight: 700; }
.principles p { color: var(--muted); }
@media (max-width: 720px) { .principles { grid-template-columns: 1fr; } .principles div { padding-right: 0; } }

/* pricing */
.plans { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; }
.plan { background: var(--surface); border: 1px solid var(--line); border-radius: 16px; padding: 26px; display: grid; gap: 10px; align-content: start; }
.plan.featured { border: 2px solid var(--money); }
.plan .name { font-family: var(--mono); font-size: 13px; letter-spacing: .08em; text-transform: uppercase; color: var(--muted); }
.plan .price { font-family: var(--display); font-weight: 800; font-size: 44px; line-height: 1; font-variant-numeric: tabular-nums; }
.plan .price span { font-size: 17px; font-weight: 500; color: var(--muted); font-family: var(--body); }
.plan p { color: var(--muted); font-size: 16px; }
.badge { justify-self: start; font-family: var(--mono); font-size: 11px; font-weight: 500; padding: 3px 8px; border-radius: 99px; background: var(--money-soft); color: var(--money); }
@media (max-width: 820px) { .plans { grid-template-columns: 1fr; } }

/* faq */
.faq { display: grid; gap: 0; max-width: 780px; }
.faq details { border-bottom: 1px solid var(--line); padding-block: 18px; }
.faq summary { cursor: pointer; font-family: var(--display); font-weight: 700; font-size: 21px; list-style: none; display: flex; justify-content: space-between; gap: 16px; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: "+"; color: var(--money); font-weight: 500; }
.faq details[open] summary::after { content: "–"; }
.faq details p { color: var(--muted); margin-top: 10px; max-width: 64ch; }

/* closing */
.closing { text-align: left; display: grid; gap: 22px; justify-items: start; }
.closing h2 { font-size: clamp(36px, 5vw, 60px); line-height: 1; font-weight: 800; max-width: 16ch; }

/* footer */
footer { border-top: 1px solid var(--line); padding-block: 36px 48px; color: var(--muted); font-size: 14px; }
footer .row { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 18px; }
footer nav { display: flex; flex-wrap: wrap; gap: 20px; }
footer a { text-decoration: none; }
footer a:hover { color: var(--ink); }
footer .disclaimer { margin-top: 18px; max-width: 72ch; }

/* ---------- legal / support pages ---------- */
.doc { max-width: 720px; margin-inline: auto; padding-block: 32px 80px; }
.doc h1 { font-size: clamp(38px, 5vw, 54px); line-height: 1.02; font-weight: 800; }
.doc .updated { font-family: var(--mono); font-size: 13px; color: var(--muted); margin-top: 12px; }
.doc h2 { font-size: 24px; font-weight: 700; margin-top: 40px; }
.doc p, .doc li { color: var(--muted); }
.doc p { margin-top: 12px; }
.doc ul { padding-left: 20px; display: grid; gap: 6px; margin-top: 12px; }
.doc li::marker { color: var(--money); }
.doc strong { color: var(--ink); }
.contact-card { margin-top: 28px; background: var(--surface); border: 1px solid var(--line); border-radius: 16px; padding: 24px; display: grid; gap: 8px; }
.contact-card a.mail { font-family: var(--display); font-weight: 700; font-size: 24px; color: var(--money); text-decoration: none; }

/* ---------- logos ---------- */
.hero .stat { font-size: 17px; color: var(--muted); margin-top: 14px; }
.hero .stat b { color: var(--money); }
.logos { margin-top: 28px; display: grid; gap: 10px; }
.logos-label { font-family: var(--mono); font-size: 12px; letter-spacing: .08em; text-transform: uppercase; color: var(--muted); }
.logo-grid { display: grid; grid-template-columns: repeat(5, minmax(0, 1fr)); gap: 8px; max-width: 520px; }
.logo {
  display: grid; justify-items: center; gap: 6px; padding: 12px 4px; border-radius: 12px;
  background: var(--surface); border: 1px solid var(--line); color: var(--ink); text-decoration: none;
  font-size: 12px; font-weight: 600; transition: border-color .12s ease;
}
.logo span { max-width: 100%; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.logo:hover { border-color: var(--money); }
.logo svg { width: 24px; height: 24px; fill: currentColor; }
@media (max-width: 380px) { .logo { font-size: 10.5px; } .logo svg { width: 22px; height: 22px; } }
@media (prefers-reduced-motion: reduce) { .logo { transition: none; } }
