:root {
  --ink: #0b1f1a;
  --body: #44544e;
  --muted: #74847d;
  --line: #e3e9e6;
  --soft: #f5f8f6;
  --jade: #1f7a55;
  --jade-2: #2fb47c;
  --mint: #7be3b6;
  --orange: #f08a2f;
  --red: #de4f31;
  --amber: #ffbf5a;
  --night: #0a1a16;
  --night-2: #10261f;
  --code: #d4e4dc;
  --sans: "Inter", ui-sans-serif, system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;
  --mono: "JetBrains Mono", ui-monospace, "SF Mono", Menlo, Consolas, monospace;
  --shadow: 0 50px 100px -20px rgba(10, 26, 22, .25), 0 30px 60px -30px rgba(0, 0, 0, .3);
  --shadow-sm: 0 2px 5px -1px rgba(10, 26, 22, .08), 0 13px 27px -5px rgba(10, 26, 22, .1);
}
* { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: 72px; }
body { margin: 0; font: 16px/1.6 var(--sans); color: var(--body); background: #fff; -webkit-font-smoothing: antialiased; overflow-x: hidden; }
a { color: var(--jade); text-decoration: none; }
h1, h2, h3, h4 { color: var(--ink); margin: 0; }
code, .mono { font-family: var(--mono); }
.wrap { position: relative; max-width: 1140px; margin: 0 auto; padding: 0 24px; }
.narrow { max-width: 860px; }
.vh { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); }
.ic { width: 18px; height: 18px; fill: none; stroke: currentColor; stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; flex: none; }
.card { background: #fff; border-radius: 12px; box-shadow: var(--shadow-sm); }

/* Pill buttons with a sliding arrow */
.pill { display: inline-flex; align-items: center; gap: 6px; font: 600 15px var(--sans); border: 0; border-radius: 999px; padding: 10px 18px; cursor: pointer; transition: background .2s, color .2s, box-shadow .2s; white-space: nowrap; }
.pill.sm { padding: 7px 14px; font-size: 14px; }
.pill.dark { background: var(--ink); color: #fff; }
.pill.dark:hover { background: #1d3a32; }
.pill.plain { background: none; color: var(--ink); padding-left: 6px; }
.pill.plain:hover { color: var(--jade); }
.pill.line { background: #fff; color: var(--ink); box-shadow: inset 0 0 0 1px var(--line); }
.pill.line:hover { box-shadow: inset 0 0 0 1px var(--ink); }
.chev { width: 14px; height: 14px; stroke-width: 2.4; transition: transform .2s; }
.pill:hover .chev { transform: translateX(3px); }

.eyebrow { margin: 0 0 12px; font: 600 15px var(--sans); color: var(--jade); }
.head { max-width: 620px; margin-bottom: 56px; }
.head.center { margin-left: auto; margin-right: auto; text-align: center; }
.head h2 { font-size: clamp(30px, 4vw, 44px); line-height: 1.12; letter-spacing: -.025em; font-weight: 600; }
.head > p:last-child { margin: 16px 0 0; font-size: 18px; }

/* Header */
.nav { position: sticky; top: 0; z-index: 20; background: #fff; border-bottom: 1px solid var(--line); }
.nav-row { display: flex; align-items: center; gap: 36px; height: 64px; }
.logo { display: flex; }
.links { display: flex; gap: 28px; margin-right: auto; }
.links a { color: var(--ink); font-weight: 500; font-size: 15px; }
.links a:hover { color: var(--jade); }

/* Mesh gradient: blurred blobs inside a skewed band */
.mesh { position: absolute; inset: -200px 0 auto; height: 860px; transform: skewY(-9deg); transform-origin: 0 100%; overflow: hidden; background: var(--m0); z-index: 0; transition: background .6s; }
.mesh i { position: absolute; border-radius: 50%; filter: blur(70px); opacity: .9; animation: drift 22s ease-in-out infinite alternate; transition: background .6s; }
.mesh .b1 { width: 60%; height: 90%; left: -10%; top: 10%; background: var(--m1); }
.mesh .b2 { width: 55%; height: 80%; left: 25%; top: -20%; background: var(--m2); animation-duration: 26s; }
.mesh .b3 { width: 50%; height: 85%; right: -10%; top: 15%; background: var(--m3); animation-duration: 30s; }
.mesh .b4 { width: 40%; height: 60%; right: 10%; bottom: -15%; background: var(--m4); animation-duration: 18s; }
.mesh .b5 { width: 35%; height: 55%; left: 40%; bottom: -10%; background: var(--m5); opacity: .6; animation-duration: 24s; }
@keyframes drift { to { transform: translate(8%, 6%) scale(1.15); } }

/* Hero */
.hero { position: relative; padding: 72px 0 120px; margin-top: -64px; padding-top: 136px; }
.hero-grid { position: relative; z-index: 1; display: grid; grid-template-columns: 1fr 1.05fr; gap: 56px; align-items: start; }
.hero-copy { padding-top: 40px; }
.hero .eyebrow { color: var(--ink); opacity: .75; }
h1 { font-size: clamp(44px, 6.4vw, 84px); line-height: 1.02; letter-spacing: -.045em; font-weight: 700; mix-blend-mode: color-burn; color: var(--hero-ink); }
@supports not (mix-blend-mode: color-burn) { h1 { color: var(--ink); } }
.lede { margin: 28px 0 0; max-width: 500px; font-size: 19px; line-height: 1.55; color: var(--hero-text); font-weight: 500; }
.cta { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 32px; }

.term { min-width: 0; background: var(--night); border-radius: 14px; box-shadow: var(--shadow); overflow: hidden; color: var(--code); }
.term-bar { display: flex; align-items: center; gap: 16px; padding: 10px 14px; border-bottom: 1px solid rgba(255, 255, 255, .07); }
.dots { display: flex; gap: 6px; }
.dots i { width: 10px; height: 10px; border-radius: 50%; background: rgba(255, 255, 255, .14); }
.tabs { display: flex; gap: 2px; }
.tabs button { font: 500 13px var(--sans); color: #8ea59b; background: none; border: 0; border-radius: 6px; padding: 4px 10px; cursor: pointer; }
.tabs button.on { color: #fff; background: rgba(255, 255, 255, .08); }
.panes { display: grid; }
.pane { grid-area: 1 / 1; visibility: hidden; }
.pane.on { visibility: visible; }
.term pre { margin: 0; padding: 16px 20px; font: 13px/1.65 var(--mono); overflow-x: auto; }
.term-label { position: relative; display: flex; align-items: center; gap: 8px; padding: 8px 20px; font: 600 11px var(--sans); letter-spacing: .08em; text-transform: uppercase; color: #8ea59b; border-block: 1px solid rgba(255, 255, 255, .07); }
.term-res { height: 210px; overflow: auto; }
.rerun { margin-left: auto; font: 600 11px var(--sans); color: var(--code); background: none; border: 1px solid rgba(255, 255, 255, .1); border-radius: 999px; padding: 3px 10px; cursor: pointer; }
.rerun:hover { border-color: var(--mint); }
.progress { position: absolute; left: 0; right: 0; bottom: -1px; height: 2px; }
.progress i { display: block; width: 0; height: 100%; background: linear-gradient(90deg, var(--accent-a), var(--mint)); transition: width .25s; }
.verdict-box { padding: 0 20px; border-bottom: 1px solid rgba(255, 255, 255, .07); }
.verdict { display: inline-flex; min-height: 28px; margin: 12px 0; padding: 4px 12px; border-radius: 999px; font: 600 13px var(--sans); opacity: 0; transform: translateY(4px); transition: opacity .3s, transform .3s; }
.verdict.show { opacity: 1; transform: none; }
.verdict.v-low { background: rgba(123, 227, 182, .12); color: var(--mint); }
.verdict.v-medium { background: rgba(255, 191, 90, .14); color: var(--amber); }
.verdict.v-high { background: rgba(255, 128, 100, .16); color: #ff8a70; }
.examples { display: flex; flex-wrap: wrap; align-items: center; gap: 6px; padding: 10px 20px 14px; border-top: 1px solid rgba(255, 255, 255, .07); font: 12px var(--sans); color: #8ea59b; }
.examples button { font: 500 12px var(--sans); color: var(--code); background: rgba(255, 255, 255, .04); border: 1px solid rgba(255, 255, 255, .08); border-radius: 999px; padding: 4px 12px; cursor: pointer; }
.examples button.on, .examples button:hover { border-color: var(--mint); color: var(--mint); }
[data-ip].typing::after { content: "▍"; margin-left: 1px; color: var(--mint); animation: blink 1s infinite; }
.live { width: 7px; height: 7px; border-radius: 50%; background: var(--mint); box-shadow: 0 0 0 3px rgba(123, 227, 182, .2); animation: blink 2s infinite; }
@keyframes blink { 50% { opacity: .3; } }
.c { color: #6f877c; } .k { color: #ffa65c; } .s { color: var(--mint); } .p { color: #a9c8ff; } .n { color: #ffbf5a; } .t { color: var(--mint); } .f { color: #7f938a; }

/* Signals strip */
.strip { padding: 8px 0 24px; }
.strip-row { display: flex; align-items: center; gap: 32px; flex-wrap: wrap; }
.strip p { margin: 0; font-size: 14px; font-weight: 500; color: var(--muted); }
.strip ul { display: flex; flex-wrap: wrap; gap: 12px 36px; margin: 0; padding: 0; list-style: none; }
.strip li { font-size: 20px; font-weight: 700; letter-spacing: -.02em; color: #9aa8a2; }

/* Sections */
.sec { position: relative; padding: 112px 0; }
.soft { background: var(--soft); }
.slant { clip-path: polygon(0 80px, 100% 0, 100% calc(100% - 80px), 0 100%); padding: 180px 0; margin: -40px 0; }

/* Product features: a short accent bar marks each title */
.feats { display: grid; grid-template-columns: repeat(4, 1fr); gap: 32px; margin-bottom: 64px; }
.feat .ic { width: 28px; height: 28px; color: var(--jade); margin-bottom: 16px; }
.feat h3 { position: relative; font-size: 16px; font-weight: 600; }
.feat h3::before { content: ""; position: absolute; left: -24px; top: 3px; bottom: 3px; width: 1px; background: var(--jade); }
.feat p { margin: 8px 0 0; font-size: 15px; }
.feat code { font-size: 13px; }
.anatomy { overflow: hidden; background: var(--night); box-shadow: var(--shadow); }
.anatomy-bar { display: flex; align-items: center; gap: 10px; padding: 12px 20px; font: 500 13px var(--mono); color: var(--code); border-bottom: 1px solid rgba(255, 255, 255, .07); }
.anatomy-bar .note { margin-left: auto; font-family: var(--sans); color: #8ea59b; }
.anatomy pre { margin: 0; padding: 20px; max-height: 420px; overflow: auto; font: 13px/1.65 var(--mono); color: var(--code); }
.verb { font: 700 11px var(--mono); color: var(--night); background: var(--mint); border-radius: 4px; padding: 2px 6px; }
.verb.post { background: var(--amber); }

/* Use cases */
.cases { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
.case { display: flex; flex-direction: column; min-width: 0; padding: 28px; transition: transform .2s, box-shadow .2s; }
.case:hover { transform: translateY(-3px); box-shadow: var(--shadow); }
.badge { display: grid; place-items: center; width: 40px; height: 40px; border-radius: 10px; color: #fff; margin-bottom: 18px; }
.c1 { background: linear-gradient(135deg, var(--orange), var(--red)); }
.c2 { background: linear-gradient(135deg, var(--jade-2), var(--jade)); }
.c3 { background: linear-gradient(135deg, var(--amber), var(--orange)); }
.c4 { background: linear-gradient(135deg, var(--red), #b8325a); }
.c5 { background: linear-gradient(135deg, #3aa9a0, var(--jade)); }
.c6 { background: linear-gradient(135deg, #ff9a6b, var(--red)); }
.case h3 { font-size: 18px; font-weight: 600; }
.case p { margin: 8px 0 20px; font-size: 15px; flex: 1; }
.rule { display: block; font-size: 12px; line-height: 1.5; padding: 10px 12px; border-radius: 8px; background: var(--night); color: var(--code); }

/* Developers: dark band */
.dark { background: var(--night); color: #a8bcb3; }
.dark h2, .dark strong { color: #fff; }
.dark .eyebrow { color: var(--mint); }
.dev-grid { display: grid; grid-template-columns: .8fr 1.2fr; gap: 64px; align-items: start; }
.steps { margin: 40px 0 0; padding: 0; list-style: none; counter-reset: s; }
.steps li { position: relative; padding: 0 0 24px 44px; counter-increment: s; }
.steps li::before { content: counter(s); position: absolute; left: 0; top: 0; width: 28px; height: 28px; display: grid; place-items: center; border-radius: 50%; font: 600 13px var(--sans); color: var(--night); background: var(--mint); }
.steps li:not(:last-child)::after { content: ""; position: absolute; left: 13.5px; top: 34px; bottom: 6px; width: 1px; background: rgba(255, 255, 255, .15); }
.steps span { display: block; font-size: 15px; }
.ref { background: var(--night-2); border: 1px solid rgba(255, 255, 255, .08); border-radius: 14px; overflow: hidden; box-shadow: 0 40px 80px -30px rgba(0, 0, 0, .6); }
.ref-row { display: flex; align-items: center; gap: 12px; padding: 14px 20px; border-bottom: 1px solid rgba(255, 255, 255, .07); }
.ref-row code { color: #fff; font-size: 14px; }
.ref-row span:last-child:not(.verb) { margin-left: auto; font-size: 13px; color: #8ea59b; }
.ref table { width: 100%; border-collapse: collapse; font-size: 13px; }
.ref th { text-align: left; padding: 10px 20px; font-weight: 600; color: #8ea59b; font-size: 12px; text-transform: uppercase; letter-spacing: .06em; }
.ref td { padding: 9px 20px; border-top: 1px solid rgba(255, 255, 255, .06); vertical-align: top; }
.ref td:nth-child(2) { color: #8ea59b; white-space: nowrap; }
.ref code { color: var(--mint); font-size: 12px; }
.stats { display: grid; grid-template-columns: repeat(4, 1fr); gap: 32px; margin-top: 88px; }
.stat b { position: relative; display: block; font-size: 40px; font-weight: 600; letter-spacing: -.03em; color: #fff; }
.stat b::before { content: ""; position: absolute; left: -24px; top: 12px; bottom: 12px; width: 1px; background: var(--mint); }
.stat span { font-size: 15px; }

/* Playground */
.pg { overflow: hidden; }
.cmd { display: flex; align-items: center; gap: 12px; padding: 12px 12px 12px 20px; border-bottom: 1px solid var(--line); color: var(--muted); }
.cmd input { flex: 1; min-width: 0; border: 0; outline: 0; font: 16px var(--mono); color: var(--ink); background: none; }
.json { margin: 0; padding: 20px; height: 380px; overflow: auto; font: 13px/1.65 var(--mono); background: var(--night); color: var(--code); }

/* Pricing */
.billing { display: flex; width: max-content; margin: -24px auto 40px; padding: 4px; border-radius: 999px; background: #fff; box-shadow: var(--shadow-sm); }
.billing button { font: 600 14px var(--sans); color: var(--body); background: none; border: 0; border-radius: 999px; padding: 8px 18px; cursor: pointer; }
.billing button.on { background: var(--ink); color: #fff; }
.billing span { font-size: 12px; color: var(--jade-2); margin-left: 4px; }
.plans { display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px; }
.plan { position: relative; display: flex; flex-direction: column; padding: 28px 24px; }
.plan.pop { box-shadow: var(--shadow); }
.plan.pop::before { content: ""; position: absolute; inset: 0; border-radius: 12px; padding: 2px; background: linear-gradient(135deg, var(--m1), var(--accent-a), var(--accent-b)); -webkit-mask: linear-gradient(#000 0 0) content-box, linear-gradient(#000 0 0); -webkit-mask-composite: xor; mask-composite: exclude; pointer-events: none; }
.pop-tag { position: absolute; top: -11px; left: 24px; font-size: 12px; font-weight: 600; color: #fff; background: linear-gradient(90deg, var(--accent-a), var(--accent-b)); border-radius: 999px; padding: 3px 10px; }
.plan h3 { font-size: 18px; font-weight: 600; }
.plan-for { margin: 4px 0 18px; font-size: 14px; color: var(--muted); }
.price { margin: 0; color: var(--ink); }
.price b { font-size: 40px; font-weight: 600; letter-spacing: -.03em; }
.price span { color: var(--muted); }
.billed { margin: 0; font-size: 13px; color: var(--muted); }
.quota { margin: 16px 0 20px; font-weight: 600; color: var(--ink); font-size: 15px; }
.plan .pill { justify-content: center; }
.plan ul { margin: 22px 0 0; padding: 0; list-style: none; font-size: 14px; }
.plan li { position: relative; padding: 0 0 8px 22px; }
.plan li::before { content: ""; position: absolute; left: 2px; top: 6px; width: 10px; height: 5px; border-left: 2px solid var(--jade-2); border-bottom: 2px solid var(--jade-2); transform: rotate(-45deg); }
.plan-free { display: flex; align-items: center; justify-content: space-between; gap: 24px; margin-top: 20px; padding: 20px 24px; }
.plan-free p { margin: 0; font-size: 15px; }
.plan-free strong { color: var(--ink); }
.plans-note { margin: 20px 0 0; text-align: center; font-size: 13px; color: var(--muted); }

/* Free tools and FAQ */
.tools-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 72px; }
.tools-grid .head { margin-bottom: 32px; }
.toollist { display: grid; gap: 12px; }
.toollist a { display: grid; grid-template-columns: 1fr auto; padding: 18px 20px; border-radius: 12px; background: #fff; box-shadow: var(--shadow-sm); color: var(--body); transition: box-shadow .2s; }
.toollist a:hover { box-shadow: var(--shadow); }
.toollist strong { color: var(--ink); }
.toollist span { grid-column: 1; font-size: 14px; }
.toollist .ic { grid-row: 1 / 3; grid-column: 2; align-self: center; color: var(--jade); }
.faq details { border-bottom: 1px solid var(--line); padding: 16px 0; }
.faq summary { cursor: pointer; font-weight: 600; color: var(--ink); list-style: none; display: flex; justify-content: space-between; gap: 16px; }
.faq summary::after { content: "+"; color: var(--jade); font-size: 20px; line-height: 1; }
.faq details[open] summary::after { content: "–"; }
.faq p { margin: 10px 0 0; font-size: 15px; }

/* Final call to action */
.final { position: relative; padding: 200px 0 120px; overflow: hidden; }
.mesh.small { inset: auto 0 0; height: 100%; transform: skewY(-6deg); transform-origin: 100% 0; top: 80px; }
.final-grid { position: relative; z-index: 1; display: grid; grid-template-columns: 1.3fr 1fr; gap: 64px; align-items: center; }
.final h2 { font-size: clamp(32px, 4vw, 48px); line-height: 1.1; letter-spacing: -.03em; font-weight: 700; }
.final-grid > div > p { margin: 14px 0 28px; font-size: 18px; color: var(--hero-text); font-weight: 500; }
.waitlist { display: flex; gap: 8px; max-width: 460px; padding: 6px; border-radius: 999px; background: #fff; box-shadow: var(--shadow-sm); }
.waitlist input { flex: 1; min-width: 0; border: 0; outline: 0; padding: 0 14px; font: 15px var(--sans); background: none; }
.wl-msg { min-height: 24px; margin: 12px 0 0; font-size: 14px; color: var(--ink); font-weight: 500; }
.final-facts { display: grid; gap: 16px; margin: 0; padding: 0; list-style: none; }
.final-facts li { padding: 20px 22px; border-radius: 12px; background: rgba(255, 255, 255, .7); backdrop-filter: blur(10px); }
.final-facts strong { display: block; color: var(--ink); }
.final-facts span { font-size: 15px; color: var(--hero-text); }

/* Footer */
.foot { padding: 64px 0 32px; font-size: 14px; }
.foot-grid { display: grid; grid-template-columns: 1.6fr repeat(4, 1fr); gap: 32px; }
.foot-brand p { margin: 12px 0 0; max-width: 260px; }
.foot-col { display: flex; flex-direction: column; gap: 8px; }
.foot-col h4 { font-size: 14px; margin-bottom: 4px; }
.foot-col a { color: var(--body); }
.foot-col a:hover { color: var(--jade); }
.foot-bar { display: flex; justify-content: space-between; gap: 24px; flex-wrap: wrap; margin-top: 48px; padding-top: 20px; border-top: 1px solid var(--line); color: var(--muted); font-size: 13px; }
.foot-bar p { margin: 0; }

/* Theme colours: mesh gradient, hero text and accents. */
body {
  --m0: #ffd7a8; --m1: var(--amber); --m2: var(--orange); --m3: var(--red); --m4: var(--jade-2); --m5: #ff7a8a;
  --hero-ink: #2a1408; --hero-text: #2b2320; --accent-a: var(--orange); --accent-b: var(--red);
}

/* Responsive */
@media (max-width: 1000px) {
  .hero-grid, .dev-grid, .tools-grid, .final-grid { grid-template-columns: 1fr; }
  .feats, .stats, .plans { grid-template-columns: repeat(2, 1fr); }
  .cases { grid-template-columns: repeat(2, 1fr); }
  .links { display: none; }
  .nav-row { justify-content: space-between; }
}
@media (max-width: 640px) {
  .feats, .stats, .plans, .cases, .foot-grid { grid-template-columns: 1fr; }
  .plan-free { flex-direction: column; align-items: flex-start; }
  .feat h3::before, .stat b::before { display: none; }
}
@media (prefers-reduced-motion: reduce) {
  .mesh i, .live, [data-ip].typing::after { animation: none; }
  html { scroll-behavior: auto; }
}
