:root {
  --navy: #0f1b3d;
  --mint: #3ddc97;
  --mint-dark: #2fc584;
  --bg: #f3f5fb;
  --band: #e4e9f5;
  --line: #d9dfee;
  --text: #44506e;
  --muted: #5d6886;
  --bar: #b9c4e0;
  --white: #fff;
  --head: "Bricolage Grotesque", system-ui, sans-serif;
  --body: "DM Sans", system-ui, sans-serif;
}
* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body { margin: 0; background: var(--bg); color: var(--text); font: 400 17px/1.55 var(--body); -webkit-font-smoothing: antialiased; }
h1, h2, h3 { font-family: var(--head); color: var(--navy); margin: 0; letter-spacing: -0.02em; }
p { margin: 0; }
.wrap { max-width: 1240px; margin: 0 auto; padding: 0 40px; }
.sr-only, .hp { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }

/* buttons */
.btn { display: inline-flex; align-items: center; justify-content: center; border: 0; border-radius: 10px; padding: 0 24px; height: 56px; font: 700 16px var(--body); text-decoration: none; cursor: pointer; white-space: nowrap; transition: background 0.15s, transform 0.1s; }
.btn:active { transform: translateY(1px); }
.btn:disabled { opacity: 0.6; cursor: wait; }
.btn-navy { background: var(--navy); color: var(--white); height: 48px; font-size: 15px; }
.btn-navy:hover { background: #1b2a57; }
.btn-mint { background: var(--mint); color: var(--navy); }
.btn-mint:hover { background: var(--mint-dark); }
.btn-block { width: 100%; }

/* header */
.top { display: flex; justify-content: space-between; align-items: center; padding-top: 24px; padding-bottom: 24px; }
.logo { font: 800 30px/1 var(--head); color: var(--navy); text-decoration: none; letter-spacing: -0.03em; }

/* hero */
.hero { display: grid; grid-template-columns: 1.1fr 1fr; gap: 64px; align-items: center; padding-top: 56px; padding-bottom: 88px; }
.eyebrow { font: 700 13px var(--body); letter-spacing: 0.08em; text-transform: uppercase; color: var(--navy); }
.hero h1 { font-size: clamp(44px, 6.4vw, 80px); line-height: 0.98; font-weight: 800; margin: 28px 0 22px; }
.hero h1 mark { background: var(--mint); color: var(--navy); padding: 0 10px; box-decoration-break: clone; -webkit-box-decoration-break: clone; }
.lead { font-size: 21px; max-width: 520px; }
.hero-form { display: flex; gap: 12px; margin-top: 28px; max-width: 560px; }
.hero-form input { flex: 1; min-width: 0; }
.small { font-size: 14px; margin-top: 18px; }
input, textarea, select { width: 100%; height: 56px; border: 1.5px solid #c4cbdd; border-radius: 10px; padding: 0 16px; font: 400 16px var(--body); color: var(--navy); background: var(--white); }
textarea { height: auto; padding: 14px 16px; resize: vertical; }
input:focus, textarea:focus, select:focus { outline: 3px solid rgba(61, 220, 151, 0.45); border-color: var(--mint-dark); }
.form-error { color: #c0322b; font-size: 14px; font-weight: 500; margin-top: 8px; min-height: 0; }
.form-error:empty { display: none; }

.sample { background: var(--white); border: 1px solid var(--line); border-radius: 22px; padding: 30px 28px; box-shadow: 0 24px 50px -20px rgba(15, 27, 61, 0.22); }
.sample-head { display: flex; justify-content: space-between; align-items: center; gap: 12px; margin-bottom: 18px; }
.sample-head h2 { font-size: 22px; }
.tag { white-space: nowrap; display: inline-block; background: var(--band); color: var(--navy); font: 700 12px var(--body); letter-spacing: 0.08em; text-transform: uppercase; padding: 5px 10px; border-radius: 6px; }
.bar-row { margin-bottom: 18px; }
.bar-label { display: flex; justify-content: space-between; gap: 12px; color: var(--navy); font-size: 15px; margin-bottom: 7px; }
.bar-label b { white-space: nowrap; flex-shrink: 0; }
.bar { height: 12px; background: var(--band); border-radius: 6px; overflow: hidden; }
.bar i { display: block; height: 100%; background: var(--bar); border-radius: 6px; }
.bar i.win { background: var(--mint); }
.decision { border-top: 1px solid var(--line); padding-top: 18px; margin-top: 6px; color: var(--navy); }
.decision .eyebrow { font-size: 12px; margin-bottom: 6px; }

/* sections */
.loop { background: var(--white); border-top: 1px solid var(--line); padding: 96px 0 96px; }
.h2 { font-size: clamp(32px, 4vw, 52px); line-height: 1.05; font-weight: 800; }
.sub { font-size: 19px; margin-top: 14px; }
.grid { display: grid; gap: 24px; margin-top: 48px; }
.grid-3 { grid-template-columns: repeat(3, 1fr); }
.grid-4 { grid-template-columns: repeat(4, 1fr); gap: 20px; }
.card { background: var(--bg); border: 1px solid var(--line); border-radius: 16px; padding: 28px; }
.card .tag { margin-bottom: 16px; }
.card h3 { font-size: 27px; line-height: 1.12; font-weight: 800; margin-bottom: 14px; }
.card p { font-size: 16px; }
.card-white { background: var(--white); }
.card-white h3 { font-size: 23px; margin-bottom: 10px; }

.tech { background: var(--band); padding: 64px 0; }
.tech-inner { display: flex; justify-content: space-between; align-items: center; gap: 40px; }
.tech .sub { font-size: 18px; color: var(--navy); }
/* (what's handled: ticked facts, not buttons) */
.handled { display: flex; gap: 28px; list-style: none; margin: 0; padding: 0; }
.handled li { display: flex; align-items: center; gap: 10px; font: 700 18px var(--body); color: var(--navy); white-space: nowrap; }
.handled svg { width: 26px; height: 26px; padding: 4px; border-radius: 50%; background: var(--mint); fill: none; stroke: var(--navy); stroke-width: 2.6; stroke-linecap: round; stroke-linejoin: round; flex-shrink: 0; }

.grows { padding: 96px 0; }

.founder { background: var(--navy); padding: 72px 0; scroll-margin-top: 0; }
.founder-inner { display: grid; grid-template-columns: 1fr 1fr; gap: 64px; align-items: center; }
.founder-copy h2 { color: var(--white); font-size: clamp(40px, 5vw, 64px); line-height: 1; font-weight: 800; }
.founder-copy h2 span { color: var(--mint); }
.founder-copy p { color: #d3d9ea; font-size: 20px; margin-top: 22px; max-width: 520px; }
.panel { background: var(--white); border-radius: 22px; padding: 32px 28px; max-width: 520px; width: 100%; }
.panel label { display: block; font: 700 14px var(--body); color: var(--navy); margin: 18px 0 8px; }
.panel label:first-child { margin-top: 0; }
.hint { font-size: 13px; margin-top: 6px; }
.panel .btn-block { margin-top: 22px; }
.panel .btn-block + .form-error + .hint, .panel .btn-block + .hint { margin-top: 14px; font-size: 14px; }
.done h3 { font-size: 30px; font-weight: 800; margin-bottom: 10px; }
.done p { color: var(--navy); }
.pay { margin-top: 24px; padding-top: 22px; border-top: 1px solid var(--line); }
.pay p { font-size: 16px; }

.foot { display: flex; justify-content: space-between; gap: 16px; padding-top: 28px; padding-bottom: 28px; font-size: 14px; }

@media (max-width: 960px) {
  .wrap { padding: 0 16px; }
  .hero { grid-template-columns: 1fr; gap: 40px; padding-top: 24px; padding-bottom: 56px; }
  .grid-3 { grid-template-columns: 1fr; }
  .grid-4 { grid-template-columns: 1fr 1fr; }
  .tech-inner { flex-direction: column; align-items: flex-start; gap: 24px; }
  .founder-inner { grid-template-columns: 1fr; gap: 32px; }
  .loop, .grows { padding: 64px 0; }
  .h2 br { display: none; }
}
@media (max-width: 560px) {
  .top .btn-navy { padding: 0 14px; height: 42px; font-size: 14px; }
  .logo { font-size: 26px; }
  .hero-form { flex-direction: column; }
  .hero-form input { flex: none; }
  .grid-4 { grid-template-columns: 1fr; }
  .handled { flex-wrap: wrap; gap: 14px 22px; }
  .card h3 { font-size: 24px; }
  .panel { padding: 24px 18px; }
  .foot { flex-direction: column; gap: 6px; }
}
.tech .h2 { font-size: clamp(30px, 3.3vw, 44px); }
.foot a { color: inherit; text-decoration: underline; text-underline-offset: 2px; }
.foot a:hover { color: var(--navy); }

/* the demo's way in */
.top-actions { display: flex; align-items: center; gap: 12px; }
.btn-ghost-top { background: transparent; color: var(--navy); height: 48px; font-size: 15px; border: 1.5px solid var(--line); }
.btn-ghost-top:hover { border-color: var(--navy); }
.demo-cta { display: inline-block; margin-top: 22px; padding: 14px 18px; border-radius: 12px; background: var(--white); border: 1.5px solid var(--line); color: var(--navy); text-decoration: none; font-size: 16px; }
.demo-cta:hover { border-color: var(--mint-dark); }
.demo-cta b { color: var(--navy); }
@media (max-width: 560px) { .btn-ghost-top { display: none; } }
