/* ---------------------------------------------------------------------------
   MatchLab marketing site — "Steep" style system.
   Light editorial: white/Fog canvas, single rust accent, Ink CTA.
   Display serif: Fraunces (substitute for Signifier). Body: Inter (for Söhne).
--------------------------------------------------------------------------- */
@import url('https://fonts.googleapis.com/css2?family=Fraunces:opsz,wght@9..144,400;9..144,500&family=Inter:wght@400;500;600&display=swap');

:root {
  /* colors */
  --ink: #17191c;
  --white: #ffffff;
  --fog: #f7f7f8;
  --ash: #4c4c4c;
  --graphite: #777b86;
  --dove: #a3a6af;
  --rust: #5d2a1a;
  --apricot: #fbe1d1;
  --sky: #d3e3fc;
  --mint: #d7efe0;

  /* fonts */
  --serif: 'Fraunces', Georgia, 'Times New Roman', serif;
  --sans: 'Inter', ui-sans-serif, system-ui, -apple-system, sans-serif;

  /* shape */
  --r-card: 24px;
  --r-input: 16px;
  --r-img: 12px;
  --pill: 9999px;
  --max: 1200px;

  /* signature 3-layer shadow */
  --shadow: rgba(4, 23, 43, 0.05) 0px 0px 0px 1px,
            rgba(0, 0, 0, 0.10) 0px 20px 25px -5px,
            rgba(0, 0, 0, 0.10) 0px 8px 10px -6px;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }

body {
  margin: 0;
  background: var(--white);
  color: var(--ink);
  font-family: var(--sans);
  font-size: 16px;
  line-height: 1.38;
  letter-spacing: -0.009em;
  -webkit-font-smoothing: antialiased;
}

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

/* serif only at 40px+ */
h1, h2 {
  font-family: var(--serif);
  font-weight: 400;
  line-height: 1.1;
  margin: 0 0 0.4em;
}
h1 { font-size: clamp(44px, 7vw, 64px); letter-spacing: -0.025em; }
h2 { font-size: clamp(34px, 5vw, 44px); letter-spacing: -0.02em; }
h3 { font-family: var(--sans); font-weight: 500; letter-spacing: -0.014em; margin: 0 0 6px; }

/* buttons — one filled Ink per view, secondary is a text link */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 12px 22px;
  border-radius: var(--pill);
  background: var(--ink);
  color: var(--white);
  font-family: var(--sans);
  font-weight: 450;
  font-size: 15px;
  border: 1px solid var(--ink);
  transition: opacity .15s ease, transform .15s ease;
}
.btn:hover { opacity: 0.9; transform: translateY(-1px); }
.btn-sm { padding: 8px 18px; }
.btn-link {
  background: transparent;
  color: var(--ink);
  border: none;
  padding: 12px 8px;
  font-weight: 450;
  font-size: 15px;
}
.btn-link:hover { color: var(--rust); }

/* nav */
.nav {
  position: sticky; top: 0; z-index: 30;
  display: flex; align-items: center; justify-content: space-between;
  height: 68px; padding: 0 32px;
  background: var(--white);
  border-bottom: 1px solid var(--fog);
}
.brand { font-family: var(--serif); font-weight: 400; font-size: 22px; letter-spacing: -0.02em; color: var(--ink); }
.nav-links { display: flex; align-items: center; gap: 28px; }
.nav-links a:not(.btn) { color: var(--ink); font-size: 15px; font-weight: 450; }
.nav-links a:not(.btn):hover { color: var(--rust); }
.nav-cta { display: flex; align-items: center; gap: 6px; }

/* hero */
.hero { position: relative; overflow: hidden; padding: 96px 24px 112px; text-align: center; }
.hero::before {
  content: "";
  position: absolute; top: -160px; left: 50%;
  width: 900px; height: 700px; transform: translateX(-50%);
  background: radial-gradient(ellipse at center, var(--apricot) 0%, transparent 62%);
  opacity: 0.7; pointer-events: none;
}
.hero-inner { position: relative; max-width: 760px; margin: 0 auto; z-index: 2; }
.eyebrow {
  display: inline-block; margin-bottom: 22px;
  font-size: 14px; font-weight: 500; letter-spacing: 0.02em;
  color: var(--rust);
}
.hero h1 { margin-bottom: 20px; }
.lead { font-size: 18px; line-height: 1.5; color: var(--ash); max-width: 560px; margin: 0 auto; }
.hero-cta { display: flex; gap: 8px; justify-content: center; align-items: center; margin: 32px 0 14px; flex-wrap: wrap; }
.micro { font-size: 14px; color: var(--graphite); }

/* floating hero cards */
.float { position: absolute; z-index: 1; background: var(--white); border-radius: var(--r-card); box-shadow: var(--shadow); padding: 16px 18px; width: 220px; text-align: left; }
.float .cap { font-size: 13px; color: var(--graphite); font-weight: 450; }
.float .big { font-family: var(--serif); font-size: 34px; line-height: 1; margin-top: 4px; }
.float .delta { color: #2f7d4f; font-size: 13px; font-weight: 500; margin-top: 6px; }
.float.warm { background: var(--apricot); }
.float.cool { background: var(--sky); }
.float .row { display: flex; align-items: center; gap: 8px; font-size: 14px; padding: 3px 0; }
.float .dot { width: 8px; height: 8px; border-radius: var(--pill); flex: none; }
.float .badge { position: absolute; top: -14px; right: -12px; width: 34px; height: 34px; border-radius: var(--pill); display: grid; place-items: center; font-size: 12px; font-weight: 500; box-shadow: var(--shadow); }
.f1 { top: 40px; left: 2%; transform: rotate(-4deg); }
.f2 { top: 210px; left: 4%; }
.f3 { top: 40px; right: 2%; transform: rotate(3deg); }
.f4 { top: 220px; right: 3%; }
.donut { display: block; margin: 4px auto 0; }
@media (max-width: 1080px) { .float { display: none; } }

/* sections */
.section { max-width: var(--max); margin: 0 auto; padding: 80px 32px; }
.section-alt { background: var(--fog); max-width: none; }
.section-alt > .inner { max-width: var(--max); margin: 0 auto; }
.section-head { max-width: 640px; margin: 0 auto 56px; text-align: center; }
.section-head p { color: var(--ash); font-size: 18px; line-height: 1.5; margin: 0; }

/* card grid */
.grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(280px, 1fr)); gap: 20px; }
.card {
  background: var(--white);
  border-radius: var(--r-card);
  padding: 24px;
  box-shadow: var(--shadow);
}
.card.warm { background: var(--apricot); box-shadow: none; }
.card.cool { background: var(--sky); box-shadow: none; }
.card h3 { font-size: 20px; }
.card p { color: var(--ash); margin: 0; font-size: 16px; line-height: 1.5; }
.card.warm p, .card.cool p { color: var(--ink); }
.ico {
  width: 44px; height: 44px; display: grid; place-items: center;
  border-radius: var(--r-img); margin-bottom: 18px;
  border: 1.5px solid var(--ink); font-size: 22px;
}
.card.warm .ico, .card.cool .ico { border-color: var(--ink); background: rgba(255,255,255,0.4); }

/* steps */
.steps { list-style: none; padding: 0; margin: 0 auto; max-width: 660px; display: grid; gap: 12px; }
.steps li {
  display: flex; align-items: center; gap: 18px;
  background: var(--white); border-radius: var(--r-card);
  padding: 20px 24px; font-size: 17px; box-shadow: var(--shadow);
}
.steps .n { flex: none; width: 34px; height: 34px; display: grid; place-items: center; border-radius: var(--pill); border: 1.5px solid var(--rust); color: var(--rust); font-weight: 500; }

/* pricing: what a token buys */
.uses { max-width: 780px; margin: 0 auto; }
.use { text-align: center; }
.use .ico { margin: 0 auto 16px; }
.use h3 { font-size: 17px; }
.use .cost { color: var(--rust); font-family: var(--serif); font-size: 22px; }
.pricing-note { max-width: 620px; margin: 40px auto 0; text-align: center; color: var(--ash); font-size: 16px; line-height: 1.5; text-wrap: balance; }
.pricing-note .nb { white-space: nowrap; }
.pricing-note strong { color: var(--ink); font-weight: 500; }

/* values */
.values { display: grid; grid-template-columns: repeat(auto-fit, minmax(240px, 1fr)); gap: 24px; }
.value .check { color: var(--rust); font-family: var(--serif); font-size: 22px; }
.value h3 { font-size: 17px; margin: 8px 0 4px; }
.value p { color: var(--ash); margin: 0; font-size: 15px; line-height: 1.5; }

/* cta */
.cta { text-align: center; }
.cta-card {
  max-width: var(--max); margin: 0 auto;
  background: var(--ink); color: var(--white);
  border-radius: var(--r-card);
  padding: 72px 24px;
  position: relative; overflow: hidden;
}
.cta-card::before {
  content: ""; position: absolute; top: -120px; left: 50%; transform: translateX(-50%);
  width: 600px; height: 400px; background: radial-gradient(ellipse, rgba(251,225,209,0.18), transparent 65%);
}
.cta-card h2, .cta-card .lead { color: var(--white); position: relative; }
.cta-card .lead { color: rgba(255,255,255,0.7); }
.cta-card .btn { background: var(--white); color: var(--ink); border-color: var(--white); position: relative; }
.cta-card .btn-link { color: var(--white); }
.cta-card .btn-link:hover { color: var(--apricot); }

/* footer */
.footer { border-top: 1px solid var(--fog); }
.footer-inner {
  max-width: var(--max); margin: 0 auto; padding: 32px;
  display: flex; align-items: center; justify-content: space-between;
  flex-wrap: wrap; gap: 12px; color: var(--graphite); font-size: 14px;
}
.footer nav { display: flex; gap: 24px; }
.footer nav a:hover { color: var(--rust); }

/* legal pages */
.legal { max-width: 760px; margin: 0 auto; padding: 64px 32px 96px; }
.legal h1 { margin-bottom: 8px; }
.legal h2 { font-family: var(--sans); font-weight: 500; font-size: 20px; letter-spacing: -0.014em; margin: 36px 0 8px; }
.legal p, .legal li { color: var(--ash); font-size: 16px; line-height: 1.55; }
.legal ul { padding-left: 20px; }
.legal li { margin: 6px 0; }
.legal a { color: var(--rust); }
.updated { font-size: 14px; color: var(--graphite); margin-top: -2px; }
.disclaimer { margin-top: 40px; padding: 18px 20px; background: var(--fog); border-radius: var(--r-input); font-size: 14px; }

@media (max-width: 560px) {
  .nav { padding: 0 20px; }
  .nav-links a:not(.btn) { display: none; }
  .section { padding: 64px 20px; }
  .hero { padding: 72px 20px 72px; }
}
