@import url("https://fonts.googleapis.com/css2?family=DM+Mono:wght@400;500&family=DM+Sans:opsz,wght@9..40,400;9..40,500;9..40,600;9..40,700&family=Fraunces:opsz,wght@9..144,500;9..144,600&display=swap");

:root { --ink: #16211f; --paper: #fbfaf5; --lime: #d5f33e; --soft: #e8e9e1; --muted: #65716d; --orange: #f05b32; }
* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body { margin: 0; color: var(--ink); background: var(--paper); font-family: "DM Sans", system-ui, sans-serif; }
main, footer { max-width: 1120px; margin: 0 auto; padding-inline: 32px; }
.nav { display: flex; justify-content: space-between; align-items: center; padding-block: 28px; }
.brand { color: var(--ink); font-size: 22px; font-weight: 700; letter-spacing: -1.2px; text-decoration: none; }.brand span { color: var(--orange); }
.nav-link, footer a { color: var(--ink); font-size: 14px; font-weight: 600; text-decoration: none; }.nav-link:hover, footer a:hover { text-decoration: underline; }
.hero { padding: 116px 0 68px; max-width: 820px; }.eyebrow { margin: 0 0 16px; color: var(--orange); font: 500 12px "DM Mono", monospace; letter-spacing: .08em; text-transform: uppercase; }
h1, h2 { margin: 0; letter-spacing: -0.065em; line-height: .95; } h1 { font-size: clamp(58px, 9vw, 108px); } h2 { font-size: clamp(38px, 5vw, 62px); } h1 em, h2 em { color: var(--orange); font-family: "Fraunces", serif; font-weight: 500; }
.lede { max-width: 620px; margin: 30px 0; color: var(--muted); font-size: 19px; line-height: 1.55; }.actions { display: flex; gap: 12px; flex-wrap: wrap; }.button { display: inline-flex; align-items: center; padding: 13px 18px; border-radius: 100px; font-size: 14px; font-weight: 600; text-decoration: none; }.primary { color: var(--ink); background: var(--lime); }.primary:hover { background: #c6e72a; }.ghost { color: var(--ink); border: 1px solid #bec2ba; }.ghost:hover { background: var(--soft); }
.terminal { overflow: hidden; margin: 18px 0 120px; border-radius: 14px; background: var(--ink); box-shadow: 0 18px 45px #16211f25; }.terminal-bar { display: flex; gap: 6px; align-items: center; height: 42px; padding: 0 16px; background: #26332f; color: #b6c3bb; font: 11px "DM Mono", monospace; }.terminal-bar span { width: 9px; height: 9px; border-radius: 50%; background: #718078; }.terminal-bar code { margin-left: 8px; }.terminal pre { margin: 0; padding: 26px; overflow-x: auto; color: #e9eee9; font: 14px/1.65 "DM Mono", monospace; }.prompt { color: var(--lime); }.output { color: #a4b5ae; }
.features { padding: 92px 0; border-top: 1px solid #d9dbd3; }.section-heading { max-width: 670px; }.feature-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 22px; margin-top: 55px; }.feature-grid article { min-height: 220px; padding: 26px; border: 1px solid #d9dbd3; border-radius: 10px; background: #f5f5ef; }.icon { color: var(--orange); font-size: 26px; }.feature-grid h3 { margin: 29px 0 10px; font-size: 18px; letter-spacing: -.04em; }.feature-grid p, .split p, .metrics p { color: var(--muted); line-height: 1.55; }
.split { display: grid; grid-template-columns: 1fr 1.05fr; gap: 70px; align-items: center; padding: 110px 0; }.split h2 { font-size: clamp(42px, 5vw, 67px); }.code-card { margin: 0; padding: 30px; overflow-x: auto; border-radius: 10px; background: #e6ebe3; color: #1e2925; font: 13px/1.7 "DM Mono", monospace; }.keyword { color: #a02b19; }.string { color: #17785c; }.comment { color: #758078; }
.playground { padding: 100px 0; border-top: 1px solid #d9dbd3; }.playground-lede { max-width: 620px; color: var(--muted); font-size: 17px; line-height: 1.55; }.playground-shell { display: grid; grid-template-columns: 1fr 1fr; gap: 1px; margin-top: 46px; overflow: hidden; border: 1px solid #cad0c6; border-radius: 14px; background: #cad0c6; box-shadow: 0 18px 45px #16211f12; }.editor-pane, .output-pane { min-width: 0; background: #f5f5ef; }.output-pane { background: var(--ink); }.pane-header { display: flex; justify-content: space-between; align-items: center; min-height: 47px; padding: 0 16px; border-bottom: 1px solid #d9dbd3; color: #52605a; font: 500 11px "DM Mono", monospace; }.output-pane .pane-header { border-color: #35423d; color: #b7c3bb; }.toggle { display: inline-flex; gap: 7px; align-items: center; cursor: pointer; }.toggle input { width: 14px; height: 14px; accent-color: var(--orange); }.wasm-status { color: var(--lime); }.editor-pane textarea { display: block; width: 100%; min-height: 370px; padding: 20px; resize: vertical; border: 0; outline: 0; background: transparent; color: var(--ink); font: 13px/1.7 "DM Mono", monospace; }.editor-pane textarea:focus { box-shadow: inset 0 0 0 2px var(--lime); }.html-output { min-height: 370px; margin: 0; padding: 20px; overflow: auto; color: #e7eee8; white-space: pre-wrap; font: 13px/1.7 "DM Mono", monospace; }
.metrics { display: grid; grid-template-columns: .9fr 1.4fr; gap: 55px; align-items: end; padding: 74px 0; border-block: 1px solid #d9dbd3; }.metrics h2 { font-size: clamp(42px, 5vw, 64px); }.metric-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }.metric-grid div { display: flex; flex-direction: column; gap: 10px; }.metric-grid strong { color: var(--orange); font: 600 clamp(39px, 4vw, 58px)/.9 "Fraunces", serif; letter-spacing: -.07em; }.metric-grid span { color: var(--muted); font: 12px/1.35 "DM Mono", monospace; }
.cta { padding: 120px 0; text-align: center; }.cta .eyebrow { margin-bottom: 20px; }.cta h2 { margin-bottom: 32px; font-size: clamp(52px, 7vw, 82px); } footer { display: flex; justify-content: space-between; padding-block: 24px 38px; color: var(--muted); font: 12px "DM Mono", monospace; }
@media (max-width: 720px) { main, footer { padding-inline: 20px; }.hero { padding-top: 80px; }.terminal { margin-bottom: 78px; }.feature-grid, .split, .playground-shell, .metrics { grid-template-columns: 1fr; gap: 28px; }.playground-shell { gap: 1px; }.features, .split, .playground { padding-block: 70px; }.metric-grid { gap: 12px; }.cta { padding-block: 88px; } }
