@font-face { font-family: 'Inter'; font-weight: 100 900; font-display: swap; src: url(/inter/inter-latin-wght-normal.woff2) format('woff2'); }
@font-face { font-family: 'Mono'; font-weight: 100 900; font-display: swap; src: url(/jbm/jetbrains-mono-latin-wght-normal.woff2) format('woff2'); }

:root {
  --bg: #f4f1ea; --surface: #fff; --surface-2: #ebe7dd; --line: #ddd8cb; --ink: #0e1512; --muted: #5a665f;
  --brand: #11703f; --brand-2: #0c5a32; --mint: #7fd6a4; --forest: #0b1a12;
  --radius: 22px; --ease: cubic-bezier(.22, 1, .36, 1);
}
* { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; }
body { font-family: 'Inter', system-ui, sans-serif; background: var(--bg); color: var(--ink); -webkit-font-smoothing: antialiased; line-height: 1.55; font-size: 17px; }
a { color: inherit; }
img { max-width: 100%; display: block; }
.wrap { width: min(1180px, 100% - 48px); margin-inline: auto; }
.mono { font-family: 'Mono', ui-monospace, monospace; font-size: 12.5px; letter-spacing: .14em; text-transform: uppercase; }

/* Header */
header.top { position: sticky; top: 0; z-index: 40; background: color-mix(in oklab, var(--bg) 82%, transparent); backdrop-filter: saturate(1.4) blur(14px); border-bottom: 1px solid transparent; transition: border-color .3s; }
header.top.scrolled { border-color: var(--line); }
header.top .wrap { display: flex; align-items: center; justify-content: space-between; height: 72px; gap: 20px; }
.brand { display: flex; align-items: center; gap: 11px; text-decoration: none; font-weight: 700; letter-spacing: -.02em; font-size: 17px; }
.brand img { width: 34px; height: 34px; border-radius: 9px; }
.brand small { display: block; font-weight: 500; color: var(--muted); font-size: 12px; letter-spacing: 0; }
nav.links { display: flex; align-items: center; gap: 6px; }
nav.links a { text-decoration: none; font-size: 15px; color: var(--muted); padding: 8px 12px; border-radius: 10px; transition: color .2s, background .2s; }
nav.links a:hover, nav.links a[aria-current] { color: var(--ink); background: var(--surface-2); }
.btn { display: inline-flex; align-items: center; justify-content: center; gap: 10px; height: 50px; padding: 0 24px; border-radius: 14px; font-weight: 600; font-size: 16px; text-decoration: none; border: 2px solid var(--ink); transition: transform .25s var(--ease), background .2s, box-shadow .25s; white-space: nowrap; }
.btn:hover { transform: translateY(-2px); }
.btn.primary { background: var(--brand); border-color: var(--brand); color: #fff; box-shadow: 0 10px 24px -10px rgba(17, 112, 63, .7); }
.btn.primary:hover { background: var(--brand-2); }
.btn.dark { background: var(--ink); color: #fff; }
.btn.sm { height: 42px; padding: 0 18px; font-size: 15px; border-radius: 12px; }
nav.links .btn { color: #fff; margin-left: 8px; }
nav.links .btn:hover { background: var(--brand-2); color: #fff; }

/* Hero */
.hero { position: relative; padding: 56px 0 40px; overflow: hidden; }
.hero .wrap { display: grid; grid-template-columns: 1.02fr 1fr; gap: 40px; align-items: center; }
.pill { display: inline-flex; align-items: center; gap: 10px; border: 1.5px solid var(--ink); border-radius: 999px; padding: 7px 16px; background: var(--surface); }
.pill i { width: 8px; height: 8px; border-radius: 50%; background: var(--brand); box-shadow: 0 0 0 4px color-mix(in oklab, var(--brand) 20%, transparent); animation: pulse 2s infinite; }
h1.display { font-size: clamp(46px, 6.4vw, 88px); line-height: .96; letter-spacing: -.055em; font-weight: 800; margin: 26px 0 0; }
h1.display em, h2 em { font-style: normal; color: var(--brand); }
.lead { font-size: 19px; color: #36423b; margin-top: 24px; max-width: 34ch; }
.cta { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 32px; }
.price-line { display: flex; align-items: baseline; gap: 14px; margin-top: 34px; padding-top: 24px; border-top: 1px solid var(--line); max-width: 520px; }
.price-line b { font-size: 46px; letter-spacing: -.04em; font-weight: 800; line-height: 1; }
.price-line span { color: var(--muted); font-size: 15px; }

/* Hero stage: floating labels with a live scan line */
.stage { position: relative; height: 560px; }
.stage .card { position: absolute; background: #fbfaf6; border-radius: 20px; box-shadow: 0 40px 80px -30px rgba(14, 21, 18, .45), 0 0 0 1px rgba(14, 21, 18, .07); animation: float 7s ease-in-out infinite; }
.stage .c1 { left: 4%; top: 120px; width: 78%; padding: 26px 28px 22px; --r: -5deg; transform: rotate(var(--r)); }
.stage .c1 h4 { font-size: 19px; letter-spacing: -.01em; }
.stage .c1 .bars { height: 130px; margin: 16px 0 10px; }
.stage .c1 .bars svg { width: 100%; height: 100%; }
.stage .c1 .v { font-family: 'Mono'; text-align: center; letter-spacing: .22em; font-size: 19px; }
.stage .c2 { right: 0; top: 10px; width: 46%; padding: 20px; --r: 7deg; transform: rotate(var(--r)); animation-delay: -2s; }
.stage .c2 svg { width: 100%; height: auto; display: block; }
.stage .c2 p { text-align: center; font-weight: 600; font-size: 14px; margin-top: 10px; }
.stage .c3 { right: 2%; bottom: 40px; width: 62%; padding: 18px 20px; display: flex; gap: 16px; align-items: center; --r: -2deg; transform: rotate(var(--r)); animation-delay: -4s; }
.stage .c3 .dm { width: 86px; height: 86px; flex: none; }
.stage .c3 .dm svg { width: 100%; height: 100%; }
.stage .c3 small { color: var(--brand); }
.stage .c3 b { display: block; font-size: 17px; margin-top: 3px; }
.stage .c3 code { font-family: 'Mono'; color: var(--muted); font-size: 13px; }
.stage .beam { position: absolute; left: 0; width: 86%; top: 240px; height: 3px; border-radius: 3px; background: var(--mint); box-shadow: 0 0 26px 7px rgba(127, 214, 164, .7); transform: rotate(-5deg); animation: beam 3.6s ease-in-out infinite; }
.stage .toast { position: absolute; left: 6%; bottom: 150px; display: flex; align-items: center; gap: 10px; background: var(--ink); color: #fff; padding: 12px 18px; border-radius: 999px; font-size: 15px; box-shadow: 0 20px 40px -10px rgba(0, 0, 0, .45); animation: toast 3.6s var(--ease) infinite; }
.stage .toast i { width: 22px; height: 22px; border-radius: 50%; background: var(--mint); color: #06130c; display: grid; place-items: center; font-style: normal; font-weight: 800; font-size: 12px; }
@keyframes float { 0%, 100% { transform: rotate(var(--r)) translateY(0); } 50% { transform: rotate(var(--r)) translateY(-10px); } }
@keyframes beam { 0% { top: 170px; opacity: 0; } 15% { opacity: 1; } 55% { top: 300px; opacity: 1; } 70%, 100% { top: 300px; opacity: 0; } }
@keyframes toast { 0%, 50% { opacity: 0; transform: translateY(10px) scale(.96); } 60%, 92% { opacity: 1; transform: none; } 100% { opacity: 0; } }
@keyframes pulse { 50% { box-shadow: 0 0 0 8px color-mix(in oklab, var(--brand) 0%, transparent); } }

/* Logos strip */
.strip { border-block: 1px solid var(--line); padding: 20px 0; }
.strip .wrap { display: flex; flex-wrap: wrap; gap: 10px 26px; justify-content: space-between; color: var(--muted); }
.strip span { display: inline-flex; align-items: center; gap: 8px; font-size: 15px; }
.strip span::before { content: ''; width: 6px; height: 6px; border-radius: 2px; background: var(--brand); }

/* Statement */
.statement { background: var(--forest); color: #ecf2ee; padding: 110px 0; position: relative; overflow: hidden; }
.statement::after { content: ''; position: absolute; inset: 0; background-image: linear-gradient(#ffffff07 1px, transparent 1px), linear-gradient(90deg, #ffffff07 1px, transparent 1px); background-size: 44px 44px; mask-image: radial-gradient(ellipse at 80% 50%, #000, transparent 70%); pointer-events: none; }
.statement .wrap { display: grid; grid-template-columns: 1.2fr 1fr; gap: 60px; align-items: center; position: relative; z-index: 1; }
.statement h2 { font-size: clamp(40px, 5vw, 66px); line-height: 1; letter-spacing: -.05em; font-weight: 800; }
.statement h2 em { color: var(--mint); }
.statement p { font-size: 20px; color: #b4c4ba; line-height: 1.5; }

/* Sections */
section.block { padding: 110px 0; }
.kicker { color: var(--brand); }
h2.title { font-size: clamp(36px, 4.4vw, 58px); line-height: 1.02; letter-spacing: -.045em; font-weight: 800; margin-top: 14px; max-width: 18ch; }
.intro { display: flex; justify-content: space-between; align-items: end; gap: 40px; flex-wrap: wrap; margin-bottom: 52px; }
.intro p { max-width: 46ch; color: var(--muted); font-size: 18px; }

.features { display: grid; grid-template-columns: repeat(3, 1fr); border-top: 1px solid var(--ink); }
.features article { padding: 34px 30px 40px 0; border-right: 1px solid var(--line); }
.features article + article { padding-left: 30px; }
.features article:nth-child(3n) { border-right: 0; }
.features article:nth-child(3n + 1) { padding-left: 0; }
.features article:nth-child(n + 4) { border-top: 1px solid var(--line); }
.features .n { color: var(--brand); }
.features h3 { font-size: 25px; letter-spacing: -.03em; margin: 14px 0 10px; line-height: 1.15; }
.features p { color: var(--muted); font-size: 16px; }

/* Showcase tabs */
.showcase { background: var(--surface); border-block: 1px solid var(--line); }
.tabs { display: flex; gap: 8px; flex-wrap: wrap; margin-bottom: 26px; }
.tabs button { font: inherit; font-size: 15px; font-weight: 600; border: 1.5px solid var(--line); background: var(--bg); color: var(--muted); border-radius: 999px; padding: 10px 18px; cursor: pointer; transition: all .25s var(--ease); }
.tabs button[aria-selected='true'] { background: var(--ink); color: #fff; border-color: var(--ink); }
.shot { position: relative; border-radius: 26px; overflow: hidden; border: 1px solid var(--line); background: var(--bg); box-shadow: 0 50px 100px -50px rgba(14, 21, 18, .5); aspect-ratio: 1440 / 900; }
.shot img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; opacity: 0; transform: scale(1.015); transition: opacity .6s var(--ease), transform .9s var(--ease); }
.shot img.on { opacity: 1; transform: none; }

/* Demo */
.demo { display: grid; grid-template-columns: 1fr 1.6fr; gap: 50px; align-items: center; }
.demo-frame { border-radius: 24px; overflow: hidden; border: 1px solid var(--line); background: var(--surface); box-shadow: 0 50px 100px -50px rgba(14, 21, 18, .5); }
.demo-frame .bar { height: 42px; display: flex; align-items: center; gap: 7px; padding: 0 16px; border-bottom: 1px solid var(--line); background: #fbfaf7; }
.demo-frame .bar i { width: 11px; height: 11px; border-radius: 50%; background: var(--line); }
.demo-frame .bar span { margin-left: 10px; font-size: 13px; color: var(--muted); }
.demo-frame iframe { display: block; width: 100%; height: 560px; border: 0; }
.demo ul { list-style: none; margin-top: 26px; display: grid; gap: 12px; }
.demo li { display: flex; gap: 12px; font-size: 16px; color: #36423b; }
.demo li::before { content: '✓'; flex: none; width: 24px; height: 24px; border-radius: 50%; background: #dff0e6; color: var(--brand); display: grid; place-items: center; font-weight: 800; font-size: 12px; margin-top: 1px; }

/* Steps */
.steps { display: grid; grid-template-columns: repeat(4, 1fr); gap: 16px; counter-reset: s; }
.steps li { list-style: none; background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius); padding: 26px; }
.steps li::before { counter-increment: s; content: '0' counter(s); font-family: 'Mono'; font-size: 13px; color: var(--brand); display: grid; place-items: center; width: 40px; height: 40px; border-radius: 50%; border: 1.5px solid var(--ink); margin-bottom: 18px; }
.steps b { display: block; font-size: 19px; letter-spacing: -.02em; margin-bottom: 6px; }
.steps p { color: var(--muted); font-size: 15.5px; }

/* Pricing */
.pricing { display: grid; grid-template-columns: 1.1fr 1fr; gap: 24px; }
.plan { background: var(--forest); color: #ecf2ee; border-radius: 28px; padding: 40px; position: relative; overflow: hidden; }
.plan::after { content: ''; position: absolute; right: -80px; top: -80px; width: 300px; height: 300px; border-radius: 50%; background: radial-gradient(circle, rgba(127, 214, 164, .35), transparent 70%); }
.plan .amount { font-size: 76px; letter-spacing: -.05em; font-weight: 800; line-height: 1; margin-top: 20px; }
.plan .amount small { font-size: 18px; letter-spacing: 0; font-weight: 500; color: #9fb3a7; margin-left: 8px; }
.plan p { color: #b4c4ba; margin-top: 12px; }
.plan ul { list-style: none; margin: 26px 0 30px; display: grid; gap: 10px; }
.plan li { display: flex; gap: 10px; }
.plan li::before { content: '✓'; color: var(--mint); font-weight: 800; }
.plan .btn { border-color: var(--mint); background: var(--mint); color: #06130c; }
.faq { display: grid; gap: 10px; align-content: start; }
.faq details { background: var(--surface); border: 1px solid var(--line); border-radius: 18px; padding: 18px 22px; transition: background .2s; }
.faq summary { cursor: pointer; font-weight: 650; list-style: none; display: flex; justify-content: space-between; gap: 12px; }
.faq summary::after { content: '+'; font-size: 22px; line-height: 1; color: var(--brand); transition: transform .3s var(--ease); }
.faq details[open] summary::after { transform: rotate(45deg); }
.faq details p { color: var(--muted); margin-top: 10px; font-size: 15.5px; }

/* CTA band */
.band { padding: 0 0 110px; }
.band .inner { border-radius: 32px; padding: 64px; background: var(--brand); color: #fff; display: flex; justify-content: space-between; align-items: center; gap: 30px; flex-wrap: wrap; position: relative; overflow: hidden; }
.band .inner::before { content: ''; position: absolute; inset: 0; background: repeating-linear-gradient(90deg, rgba(255, 255, 255, .07) 0 3px, transparent 3px 9px, rgba(255, 255, 255, .05) 9px 10px, transparent 10px 17px); mask-image: linear-gradient(90deg, transparent 40%, #000); }
.band h2 { font-size: clamp(34px, 4vw, 52px); letter-spacing: -.045em; line-height: 1; font-weight: 800; max-width: 16ch; position: relative; }
.band .btn { position: relative; background: #fff; color: var(--ink); border-color: #fff; }

/* Docs */
.doc { max-width: 780px; padding: 60px 0 100px; }
.doc h1 { font-size: clamp(38px, 5vw, 56px); letter-spacing: -.045em; line-height: 1.02; font-weight: 800; }
.doc .meta { color: var(--muted); margin: 14px 0 34px; }
.doc h2 { font-size: 26px; letter-spacing: -.03em; margin: 44px 0 12px; scroll-margin-top: 90px; }
.doc h3 { font-size: 19px; margin: 26px 0 8px; }
.doc p, .doc li { color: #36423b; margin-bottom: 12px; }
.doc ul, .doc ol { padding-left: 22px; }
.doc code { font-family: 'Mono'; font-size: .86em; background: var(--surface-2); padding: 2px 6px; border-radius: 6px; }
.doc .note { background: #e2f2e8; border-radius: 16px; padding: 16px 20px; margin: 18px 0; color: #134a2d; }
.doc figure { margin: 22px 0 28px; border-radius: 18px; overflow: hidden; border: 1px solid var(--line); }
.doc .toc { background: var(--surface); border: 1px solid var(--line); border-radius: 18px; padding: 18px 22px; margin-bottom: 10px; }
.doc .toc a { display: block; text-decoration: none; padding: 4px 0; color: var(--muted); }
.doc .toc a:hover { color: var(--brand); }
.doc table { width: 100%; border-collapse: collapse; margin: 12px 0 20px; font-size: 15px; }
.doc th, .doc td { text-align: left; padding: 10px 12px; border-bottom: 1px solid var(--line); }
.doc th { font-weight: 650; }

footer { border-top: 1px solid var(--line); padding: 34px 0 44px; color: var(--muted); font-size: 14px; }
footer .wrap { display: flex; justify-content: space-between; gap: 20px; flex-wrap: wrap; }
footer nav { display: flex; gap: 18px; flex-wrap: wrap; }
footer a { text-decoration: none; }
footer a:hover { color: var(--ink); }

/* Reveal on scroll */
.reveal { opacity: 0; transform: translateY(26px); transition: opacity .9s var(--ease), transform .9s var(--ease); }
.reveal.in { opacity: 1; transform: none; }
.reveal.d1 { transition-delay: .08s; } .reveal.d2 { transition-delay: .16s; } .reveal.d3 { transition-delay: .24s; }

@media (max-width: 960px) {
  .hero .wrap, .statement .wrap, .demo, .pricing { grid-template-columns: 1fr; }
  .stage { height: 460px; }
  .features { grid-template-columns: 1fr; }
  .features article, .features article + article { padding: 28px 0; border-right: 0; border-top: 1px solid var(--line); }
  .steps { grid-template-columns: 1fr 1fr; }
  .hide-sm { display: none; }
  .band .inner { padding: 40px 28px; }
}
@media (max-width: 560px) { .steps { grid-template-columns: 1fr; } .stage { height: 400px; } .stage .c1 .bars { height: 90px; } .demo-frame iframe { height: 640px; } }
@media (prefers-reduced-motion: reduce) { *, *::before, *::after { animation: none !important; transition: none !important; } .reveal { opacity: 1; transform: none; } }
