:root {
  --bg: #f1ede4;
  --bg-2: #e8e2d5;
  --card: #f9f6ef;
  --ink: #221a12;
  --ink-2: #5c5145;
  --muted: #8f8577;
  --line: #ddd5c6;
  --accent: #3a7d22;
  --accent-2: #2e661a;
  --accent-soft: #e2eed7;
  --dirt: #7a5232;
  --dirt-dark: #2a1d13;
  --good: #1a7f37;
  --code-bg: #ffffff;
  --radius: 14px;
  --head: "Inter Tight", "Inter", system-ui, -apple-system, "Segoe UI", sans-serif;
  --body: "Inter", system-ui, -apple-system, "Segoe UI", sans-serif;
  --mono: ui-monospace, "SF Mono", "JetBrains Mono", Menlo, Consolas, monospace;
  color-scheme: light;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body { margin: 0; background: var(--bg); color: var(--ink); font: 16px/1.6 var(--body); -webkit-font-smoothing: antialiased; }
a { color: inherit; }
img, svg { max-width: 100%; }
h1, h2, h3 { font-family: var(--head); letter-spacing: -0.025em; line-height: 1.08; margin: 0; }
h1 { font-size: clamp(38px, 6.2vw, 68px); font-weight: 700; }
h2 { font-size: clamp(28px, 3.6vw, 40px); font-weight: 650; }
h3 { font-size: 19px; font-weight: 650; letter-spacing: -0.015em; }
p { margin: 0; }
code { font-family: var(--mono); font-size: 0.88em; background: var(--bg-2); padding: 0.1em 0.35em; border-radius: 5px; }
.wrap { width: min(1160px, 100% - 32px); margin: 0 auto; }
.muted { color: var(--muted); }
.ink2 { color: var(--ink-2); }
.center { text-align: center; }
.sr { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); }

/* announcement + nav */
.announce { background: var(--accent); color: #fff; text-align: center; font-size: 13.5px; font-weight: 500; padding: 7px 16px; }
.announce a { text-decoration: none; }
.announce a:hover { text-decoration: underline; }
.nav { position: sticky; top: 10px; z-index: 10; margin-top: 10px; }
.nav-inner { display: flex; align-items: center; gap: 28px; padding: 10px 12px 10px 18px; border-radius: 16px; transition: background 0.2s, box-shadow 0.2s; }
.nav.stuck .nav-inner { background: color-mix(in srgb, var(--bg) 82%, transparent); backdrop-filter: blur(12px); box-shadow: 0 0 0 1px var(--line), 0 6px 24px rgba(0, 0, 0, 0.06); }
.logo { display: inline-flex; align-items: center; gap: 9px; font-family: var(--head); font-weight: 700; font-size: 19px; letter-spacing: -0.03em; text-decoration: none; }
.logo-mark { width: 26px; height: 26px; flex: none; }
.nav-links { display: flex; gap: 22px; font-size: 15px; font-weight: 500; color: var(--ink-2); }
.nav-links a { text-decoration: none; }
.nav-links a:hover { color: var(--ink); }
.nav-cta { margin-left: auto; display: flex; gap: 8px; }
.menu-btn { display: none; flex: none; margin-left: auto; background: none; border: 0; padding: 8px; cursor: pointer; color: var(--ink); }

/* buttons */
.btn { display: inline-flex; align-items: center; justify-content: center; gap: 8px; height: 44px; padding: 0 18px; border-radius: 10px; font: 600 15px/1 var(--body); text-decoration: none; border: 1px solid transparent; cursor: pointer; white-space: nowrap; transition: transform 0.1s, background 0.15s; }
.btn:active { transform: translateY(1px); }
.btn-primary { background: var(--accent); color: #fff; }
.btn-primary:hover { background: var(--accent-2); }
.btn-light { background: #fff; color: var(--ink); border-color: var(--line); }
.btn-light:hover { background: var(--card); }
.btn-sm { height: 38px; padding: 0 14px; font-size: 14px; }
.btn:focus-visible, a:focus-visible { outline: 2px solid var(--accent); outline-offset: 2px; }

/* hero */
.hero { padding: 72px 0 0; text-align: center; }
.nav { transition: none; }
.pill { display: inline-flex; align-items: center; gap: 6px; padding: 5px 12px; border-radius: 999px; background: var(--accent-soft); color: var(--accent-2); font-size: 13.5px; font-weight: 600; text-decoration: none; }
.hero h1 { margin: 22px auto 0; max-width: 15ch; }
.rotator { display: grid; align-items: center; }
.rotator span { display: block; transition: opacity 0.32s ease, transform 0.32s ease; }
.rotator span.out { opacity: 0; transform: translateY(-14px); }
.rotator span.in { opacity: 0; transform: translateY(14px); transition: none; }
.hero .lead { margin: 22px auto 0; max-width: 600px; font-size: 18.5px; color: var(--ink-2); }
.hero .ctas { margin-top: 32px; display: flex; gap: 10px; justify-content: center; flex-wrap: wrap; }

/* sky hero: a soft 2D Minecraft world */
.sky { position: relative; margin-top: -68px; padding-top: 68px; overflow: hidden; background: linear-gradient(180deg, #9fd0f4 0%, #bfe0f8 45%, #d9ecf9 100%); }
.sky .hero { position: relative; z-index: 2; padding: 76px 0 36px; }
.sky .lead { color: #3d4a55; }
.sky .pill { background: rgba(255, 255, 255, 0.7); color: var(--accent-2); }
.sky code { background: rgba(255, 255, 255, 0.6); }
/* a growth chart built from grass blocks, rising out of the sky */
.skyline { position: relative; z-index: 1; width: min(1160px, 100% - 32px); margin: 20px auto 0; height: 360px; display: grid; grid-template-columns: repeat(var(--cols, 24), 1fr); grid-template-rows: 100%; align-items: end; overflow: hidden; }
.col { display: grid; gap: 2px; align-content: end; padding: 0 1px; }
.blk { aspect-ratio: 1; border-radius: 2px; background: var(--c); opacity: 0; transform: translateY(14px); animation: rise 0.5s cubic-bezier(0.2, 0.8, 0.2, 1) forwards; animation-delay: var(--d); }
@keyframes rise { to { opacity: 1; transform: none; } }
@media (prefers-reduced-motion: reduce) { .blk { animation: none; opacity: 1; transform: none; } }
.clouds { position: absolute; inset: 0; z-index: 0; pointer-events: none; }
.cloud { position: absolute; left: 0; opacity: 0.92; animation: drift linear infinite; will-change: transform; }
.cloud svg { display: block; width: calc(var(--s, 1) * 100%); }
@keyframes drift { from { transform: translateX(-20vw); } to { transform: translateX(110vw); } }
@media (prefers-reduced-motion: reduce) { .cloud { animation-play-state: paused; } }

/* supported servers */
.works-wrap { margin-top: 40px; }
.works-title { text-align: center; color: var(--ink-2); font-size: 15px; margin-bottom: 16px; }
.works-grid { display: grid; grid-template-columns: repeat(6, 1fr); border: 1px solid var(--line); border-radius: 16px; background: color-mix(in srgb, var(--card) 70%, transparent); overflow: hidden; }
.works-cell { display: flex; align-items: center; justify-content: center; gap: 10px; padding: 26px 12px; font-weight: 600; color: var(--ink-2); border-right: 1px solid var(--line); }
.works-cell:last-child { border-right: 0; }
.works-cell svg { width: 30px; height: 30px; flex: none; }

/* framed sections */
.frame { border: 1px solid var(--line); border-radius: 22px; background: color-mix(in srgb, var(--card) 55%, transparent); }
.section { padding: 96px 0 0; }
.eyebrow { display: block; color: var(--accent); font-weight: 600; font-size: 14px; margin-bottom: 12px; }
.section-head { text-align: center; max-width: 720px; margin: 0 auto; padding: 56px 24px 40px; }
.section-head p { margin-top: 16px; font-size: 17.5px; color: var(--ink-2); }

/* the code stage */
.stage { margin: 0 28px; padding: 40px; border-radius: 16px; background-color: var(--accent); background-image: url("/tile-grass.svg"); background-size: 528px 528px; }
.window { background: #fff; border-radius: 12px; overflow: hidden; box-shadow: 0 30px 60px -20px rgba(30, 50, 10, 0.5); display: grid; grid-template-columns: 1.05fr 1fr; }
.window[hidden] { display: none; }
.window { min-height: 372px; }
.window-bar { grid-column: 1 / -1; display: flex; align-items: center; gap: 7px; padding: 12px 14px; border-bottom: 1px solid #ecebe6; font: 12px var(--mono); color: var(--muted); }
.window-bar i { width: 11px; height: 11px; border-radius: 50%; background: #e2e0da; }
.window-bar span { margin-left: auto; }
.code { margin: 0; padding: 22px 22px 26px; font: 13.5px/1.75 var(--mono); color: #2a2a28; overflow-x: auto; border-right: 1px solid #ecebe6; }
.code .k { color: #b0306e; } .code .s { color: #19794a; } .code .c { color: #9a988f; } .code .f { color: #1f5fbf; }
.mini { padding: 22px; background: #fbfaf8; display: grid; gap: 12px; align-content: start; }
.mini h4 { margin: 0; font: 600 13px var(--body); color: var(--ink-2); }
.frow { display: grid; grid-template-columns: 110px 1fr 54px; gap: 10px; align-items: center; font-size: 13px; }
.frow .bar { height: 16px; border-radius: 4px; background: #eee8dc; overflow: hidden; }
.frow .bar i { display: block; height: 100%; background: var(--accent); border-radius: 4px; }
.frow b { text-align: right; font-variant-numeric: tabular-nums; }
.ev { display: grid; grid-template-columns: 1fr 70px 48px; gap: 10px; align-items: center; font-size: 13px; }
.ev code { background: none; padding: 0; font-size: 12.5px; }
.ev b { text-align: right; font-variant-numeric: tabular-nums; }
.ev .up { color: var(--good); font-weight: 600; text-align: right; font-size: 12px; }
.ev .down { color: #b4442a; font-weight: 600; text-align: right; font-size: 12px; }
.err { display: flex; justify-content: space-between; gap: 12px; padding: 10px 12px; background: #fff; border: 1px solid #ecebe6; border-radius: 10px; font-size: 13px; }
.err span:not(.tag) { display: block; color: var(--muted); font-size: 12px; margin-top: 2px; }
.err > b { font-variant-numeric: tabular-nums; }
.err .tag { display: inline-block; font-size: 11px; font-weight: 600; padding: 1px 7px; border-radius: 999px; background: var(--accent-soft); color: var(--accent-2); margin-left: 4px; }
.err .tag.red { background: #fbe5df; color: #a5361a; }
.insight { display: flex; gap: 8px; padding: 10px 12px; border-radius: 10px; background: #fbefe4; color: #8a3b12; font-size: 13px; }

/* feature cards: a plain 3 × 2 grid, every card the same: text on top, picture below */
.cards { display: grid; grid-template-columns: repeat(3, 1fr); }
/* subgrid: the text rows and the picture rows line up across each row of cards */
.cards { grid-template-rows: repeat(2, auto 1fr); }
.card-cell { display: grid; grid-row: span 2; grid-template-rows: subgrid; border-right: 1px solid var(--line); min-width: 0; }
.card-cell:nth-child(3n) { border-right: 0; }
.card-cell:nth-child(n+4) { border-top: 1px solid var(--line); }
.card-text { padding: 24px 24px 18px; }
.card-text .ficon { width: 34px; height: 34px; margin-bottom: 12px; }
.card-text h3 { font-size: 18px; }
.card-text p { margin-top: 8px; color: var(--ink-2); font-size: 14.5px; line-height: 1.55; }
.card-text a { display: inline-block; margin-top: 10px; color: var(--accent); font-weight: 600; font-size: 14px; text-decoration: none; }
.card-text a:hover { text-decoration: underline; }
.card-visual { padding: 22px; display: grid; place-items: center; background-color: var(--accent); background-image: url("/tile-grass.svg"); background-size: 528px 528px; }
.card-visual.dirt { background-color: var(--dirt); background-image: url("/tile-dirt.svg"); }
.card-visual .panel-card { width: 100%; box-shadow: 0 16px 32px -18px rgba(20, 40, 10, 0.6); }
.card-visual .mini { padding: 12px 14px; gap: 7px; }
.card-visual .mini h4 { font-size: 12px; }
.card-visual .insight { font-size: 11.5px; padding: 7px 9px; }
.card-visual .frow, .card-visual .ev, .card-visual .hot { font-size: 11.5px; grid-template-columns: 84px 1fr 38px; }
.card-visual .ev { grid-template-columns: 1fr 64px 40px; }
.card-visual .hot { grid-template-columns: minmax(0, 2fr) minmax(0, 1fr) 32px; }
.card-visual .cohort td { padding: 4px 2px; font-size: 11px; }
.card-visual .log { grid-template-columns: 52px 42px 1fr; font-size: 11px; padding: 3px 0; }
.card-visual .log:nth-of-type(n+4) { display: none; }

/* one example per row: the point on the left, what it looks like on the right */
.stage-code { max-width: 760px; margin: 0 auto; }
.window.solo { display: block; min-height: 0; }
.window.solo .code { border-right: 0; }
.example { display: grid; grid-template-columns: 1fr 1.25fr; }
.tabs-col { display: grid; }
.tabs-col .feat { border-right: 0; border-bottom: 1px solid var(--line); padding: 24px 32px; }
.tabs-col .feat:last-child { border-bottom: 0; }
.tabs-col .feat .ficon { margin-bottom: 12px; }
.tabs-col .feat a { display: inline-block; margin-top: 12px; }
.soon { display: inline-block; vertical-align: 3px; margin-left: 6px; font: 600 11px var(--body); padding: 2px 8px; border-radius: 999px; background: var(--accent-soft); color: var(--accent-2); letter-spacing: 0; }
.example-visual > [hidden] { display: none; }
.example-visual > .panel-card { min-height: 340px; }
.cohort { width: 100%; border-collapse: separate; border-spacing: 3px; font-size: 12.5px; font-variant-numeric: tabular-nums; }
.cohort th { font-weight: 500; color: var(--muted); text-align: left; padding: 2px 4px; }
.cohort td { text-align: center; padding: 7px 4px; border-radius: 4px; font-weight: 600; }
.hot { display: grid; grid-template-columns: minmax(0, 1.4fr) 1fr 40px; gap: 10px; align-items: center; font-size: 12.5px; }
.hot code { background: none; padding: 0; font-size: 12px; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.hot .bar { height: 10px; border-radius: 4px; background: #eee8dc; overflow: hidden; }
.hot .bar i { display: block; height: 100%; background: var(--accent); border-radius: 4px; }
.hot b { text-align: right; font-variant-numeric: tabular-nums; }
.log { display: grid; grid-template-columns: 58px 50px 1fr; gap: 8px; align-items: baseline; font: 12px/1.45 var(--mono); padding: 5px 0; border-bottom: 1px solid #f0eee9; }
.log .t { color: var(--muted); }
.log .lv { font-weight: 700; font-size: 10.5px; }
.log .lv.info { color: #2a78d6; } .log .lv.warn { color: #b7791f; } .log .lv.error { color: #c0392b; }
.log .m { color: var(--ink); overflow: hidden; }
.log small { display: block; color: var(--muted); font-family: var(--body); font-size: 11px; }
.example-text { padding: 44px 40px; display: flex; flex-direction: column; align-items: flex-start; }
.example-text p { margin-top: 10px; color: var(--ink-2); }
.example-text .snippet { margin-top: 18px; font-size: 12.5px; background: var(--bg-2); padding: 7px 10px; border-radius: 8px; color: var(--ink); }
.example-text a { margin-top: 16px; color: var(--accent); font-weight: 600; text-decoration: none; }
.example-text a:hover { text-decoration: underline; }
.example-visual { border-left: 1px solid var(--line); padding: 36px; display: grid; place-items: center; background-color: var(--accent); background-image: url("/tile-grass.svg"); background-size: 528px 528px; }
.example.dirt .example-visual { background-color: var(--dirt); background-image: url("/tile-dirt.svg"); }
/* zigzag: every other row puts the picture on the left */
.example.flip { grid-template-columns: 1.25fr 1fr; }
.example.flip .example-visual { order: -1; border-left: 0; border-right: 1px solid var(--line); }
.example-text .ficon { margin-bottom: 14px; }
.example-text h3 { font-size: 24px; }
.example-text p { font-size: 16px; }
.panel-card { width: 100%; max-width: 460px; background: #fff; border-radius: 12px; box-shadow: 0 24px 48px -22px rgba(20, 40, 10, 0.55); overflow: hidden; }
.panel-card .mini { background: #fff; }

/* feature columns */
.cols3 { display: grid; grid-template-columns: repeat(3, 1fr); }
.feat { padding: 32px 28px 36px; border-right: 1px solid var(--line); position: relative; }
.feat:last-child { border-right: 0; }
.feat[data-show] { cursor: pointer; transition: background 0.15s; }
.feat[data-show]:hover { background: color-mix(in srgb, var(--card) 70%, transparent); }
.feat.on::before { content: ""; position: absolute; left: 0; top: 0; bottom: 0; width: 2px; background: var(--accent); }
.feat.on h3 { color: var(--accent-2); }
.feat:focus-visible { outline: 2px solid var(--accent); outline-offset: -2px; }
.ficon { width: 40px; height: 40px; border-radius: 10px; border: 1px solid var(--line); display: grid; place-items: center; background: #fff; margin-bottom: 18px; color: var(--ink); }
.feat p { margin-top: 10px; color: var(--ink-2); }
.feat a { display: inline-block; margin-top: 16px; color: var(--accent); font-weight: 600; text-decoration: none; }
.feat a:hover { text-decoration: underline; }

/* split rows */
.split { display: grid; grid-template-columns: 1fr 1.15fr; }
.split > div { padding: 44px 40px; }
.split > div + div { border-left: 1px solid var(--line); }
.split h3 { font-size: 26px; }
.split p { margin-top: 14px; color: var(--ink-2); }
.list { list-style: none; padding: 0; margin: 20px 0 0; display: grid; gap: 10px; }
.list li { display: flex; gap: 10px; align-items: flex-start; }
.list svg { flex: none; margin-top: 4px; color: var(--accent); }
.panel { background: #fff; border: 1px solid var(--line); border-radius: 14px; padding: 20px; box-shadow: 0 12px 32px -18px rgba(0, 0, 0, 0.25); }

/* chat and feedback mocks */
/* a bit of the game: sky, a grass horizon, and the chat box in the bottom-left corner */
.mc-scene { margin-top: 18px; height: 190px; border-radius: 12px; position: relative; overflow: hidden; display: flex; align-items: flex-end; padding: 0 10px 14px; background: #3d4a2a url("/mc-chat-bg.jpg") center / cover; image-rendering: pixelated; }
.mc-box { position: relative; z-index: 1; background: rgba(0, 0, 0, 0.5); padding: 4px 8px 5px; font: 21px/1.15 "VT323", ui-monospace, monospace; color: #fff; text-shadow: 2px 2px 0 #3f3f3f; max-width: 94%; }
.mc-scene.snow { background-image: url("/mc-feedback-bg.jpg"); }
.fb-mock { margin-top: 18px; }
.fb-mock p { margin-top: 6px; color: var(--ink); font-size: 14.5px; }
.fb-row { display: flex; justify-content: space-between; font-size: 13px; }
.fb-row .stars { color: #e0a100; letter-spacing: 1px; }
.fb-row .off { color: #ddd5c6; }

/* funnel visual */
.afunnel { display: grid; gap: 10px; }
.astep { display: grid; grid-template-columns: 150px 1fr 70px; gap: 12px; align-items: center; font-size: 14px; }
.astep .t { height: 26px; background: var(--bg-2); border-radius: 6px; overflow: hidden; }
.astep .t i { display: block; height: 100%; border-radius: 6px; background: linear-gradient(90deg, var(--accent), #6aa84f); }
.astep b { text-align: right; font-variant-numeric: tabular-nums; }
.astep .src { font-size: 12px; color: var(--muted); }

/* compare table */
.table { width: 100%; border-collapse: collapse; font-size: 15px; }
.table th, .table td { padding: 14px 18px; border-bottom: 1px solid var(--line); text-align: left; }
.table th { font: 600 14px var(--body); color: var(--ink-2); }
.table td:not(:first-child), .table th:not(:first-child) { text-align: center; }
.table tr:last-child td { border-bottom: 0; }
.yes { color: var(--good); font-weight: 700; }
.no { color: var(--muted); }
.table .hl { background: color-mix(in srgb, var(--accent-soft) 55%, transparent); }

/* pricing */
.plans { display: grid; grid-template-columns: repeat(2, 1fr); gap: 20px; max-width: 900px; margin: 0 auto; }
.plan { border-radius: 18px; padding: 30px; display: flex; flex-direction: column; gap: 18px; position: relative; overflow: hidden; }
.plan > .btn { margin-top: auto; }
.plan .tag { position: absolute; top: 26px; right: 26px; }
/* Free: a dirt block. Pro: a grass block. Both carry the same faint block grid. */
.plan { background-color: #e6dccb; background-image: url("/tile-sand.svg"); background-size: 528px 528px; border: 1px solid #d6c8b1; }
.plan .list svg { color: var(--dirt); }
.plan.pro { color: #fff; border: 0; background-color: var(--accent); background-image: linear-gradient(160deg, rgba(90, 170, 60, 0.35), rgba(30, 80, 15, 0.35)), url("/tile-grass.svg"); background-size: 100% 100%, 528px 528px; box-shadow: 0 28px 56px -26px rgba(46, 102, 26, 0.75); }
.plan.pro .list svg { color: #c8f0a8; }
.plan.pro .pill { background: rgba(255, 255, 255, 0.18); color: #fff; }
.plan.pro .btn-primary { background: #fff; color: var(--accent-2); }
.plan.pro .btn-primary:hover { background: #f0f7ea; }
.plan .btn-light { background: var(--card); }
.plan .price { font: 700 44px/1 var(--head); letter-spacing: -0.03em; }
.plan .price small { font: 500 16px var(--body); color: var(--muted); letter-spacing: 0; }
.plan.pro .price small { color: rgba(255, 255, 255, 0.75); }


/* faq */
.faq { max-width: 780px; margin: 0 auto; }
.faq details { border-bottom: 1px solid var(--line); padding: 18px 4px; }
.faq summary { cursor: pointer; font-weight: 600; font-size: 17px; list-style: none; display: flex; justify-content: space-between; gap: 16px; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: "+"; color: var(--muted); font-weight: 400; font-size: 22px; line-height: 1; }
.faq details[open] summary::after { content: "–"; }
.faq details p { margin-top: 10px; color: var(--ink-2); }

/* final cta: a field of grass blocks */
.cta-band { margin-top: 96px; border-radius: 22px; position: relative; overflow: hidden; text-align: center; color: #fff; background: #3f8a2a; }
.mosaic { position: absolute; inset: 0; width: 100%; height: 100%; }
/* a soft shade behind the text so it reads on the light blocks */
.cta-band::after { content: ""; position: absolute; inset: 0; background: radial-gradient(ellipse 46% 60% at 50% 50%, rgba(38, 84, 22, 0.78), rgba(38, 84, 22, 0) 100%); }
.cta-text { position: relative; z-index: 1; padding: 88px 32px; text-shadow: 0 1px 12px rgba(20, 50, 10, 0.45); }
.cta-band p { color: #eef7e6; margin-top: 14px; font-size: 17.5px; }
.cta-band .ctas { margin-top: 28px; display: flex; gap: 10px; justify-content: center; flex-wrap: wrap; text-shadow: none; }
.btn-white { background: #fff; color: var(--accent-2); }
.btn-white:hover { background: #f0f7ea; }
.btn-ghost { background: rgba(255, 255, 255, 0.14); color: #fff; border-color: rgba(255, 255, 255, 0.55); backdrop-filter: blur(2px); }
.btn-ghost:hover { background: rgba(255, 255, 255, 0.24); }

/* the page frame: one bordered column, rows split by hairlines (like a grid) */
.grid-frame { overflow: hidden; }
.grid-frame > .row + .row { border-top: 1px solid var(--line); }
.grid-frame > .row:not(.cols3):not(.split):not(.deco):not(.faq-row) { padding-bottom: 48px; }
.grid-frame .stage { margin-bottom: 0; }
.deco { display: grid; grid-template-columns: 1fr 2fr 1fr; height: 84px; }
.deco i + i { border-left: 1px solid var(--line); }
.deco i:nth-child(2) { background-image: radial-gradient(var(--line) 1.2px, transparent 1.3px); background-size: 14px 14px; }
.pricing-row .plans { padding: 0 28px; }
.faq-row { display: grid; grid-template-columns: 1fr 2fr; }
.faq-head { padding: 40px; border-right: 1px solid var(--line); }
.faq-head h2 { font-size: 30px; }
.faq-head p { margin-top: 12px; color: var(--ink-2); }
.faq-head a { color: var(--accent); font-weight: 600; }
.faq-row .faq { max-width: none; margin: 0; }
.faq-row .faq details { padding: 20px 32px; }
.faq-row .faq details:last-child { border-bottom: 0; }

/* footer wordmark */
.wordmark { margin-top: 32px; text-align: center; font: 700 clamp(56px, 13.5vw, 196px)/0.9 var(--head); letter-spacing: -0.05em; color: transparent; -webkit-text-stroke: 1.2px var(--line); white-space: nowrap; overflow: hidden; user-select: none; }

/* docs */
.doc { display: grid; grid-template-columns: 220px minmax(0, 1fr); gap: 48px; padding: 48px 0 0; }
.doc-nav { position: sticky; top: 90px; align-self: start; display: grid; gap: 2px; font-size: 14.5px; }
.doc-nav b { font-size: 12px; text-transform: uppercase; letter-spacing: 0.06em; color: var(--muted); margin: 14px 0 6px; }
.doc-nav a { text-decoration: none; color: var(--ink-2); padding: 5px 10px; border-radius: 8px; }
.doc-nav a:hover { background: var(--bg-2); color: var(--ink); }
.doc-nav a.on { background: #fff; color: var(--ink); box-shadow: 0 0 0 1px var(--line); font-weight: 600; }
.prose { max-width: 760px; }
.prose h1 { font-size: clamp(32px, 4vw, 44px); }
.prose h2 { font-size: 26px; margin-top: 48px; }
.prose h3 { margin-top: 28px; }
.prose p, .prose ul, .prose ol, .prose table { margin-top: 14px; color: var(--ink-2); }
.prose li { margin: 6px 0; }
.prose .lead { font-size: 18.5px; margin-top: 16px; }
.prose pre { margin: 16px 0 0; padding: 18px 20px; background: var(--code-bg); border: 1px solid var(--line); border-radius: 12px; overflow-x: auto; font: 13.5px/1.7 var(--mono); color: #2a2a28; }
.prose pre code { background: none; padding: 0; font-size: inherit; }
.prose table { border-collapse: collapse; width: 100%; font-size: 15px; }
@media (max-width: 600px) { .prose table { display: block; overflow-x: auto; } .prose td code { white-space: nowrap; } }
.prose th, .prose td { text-align: left; padding: 10px 12px; border-bottom: 1px solid var(--line); vertical-align: top; }
.prose th { color: var(--ink); }
.note { margin-top: 18px; padding: 14px 16px; border-radius: 12px; background: var(--accent-soft); color: var(--accent-2); font-size: 15px; }
.next { display: flex; justify-content: flex-end; margin-top: 48px; }
.next a { text-decoration: none; padding: 14px 18px; border: 1px solid var(--line); border-radius: 12px; background: #fff; font-weight: 600; }
.next a span { display: block; font-size: 13px; font-weight: 500; color: var(--muted); }

/* footer */
footer { margin-top: 96px; border-top: 1px solid var(--line); padding: 48px 0 0; font-size: 14.5px; color: var(--ink-2); }
.foot { display: grid; grid-template-columns: 1.6fr repeat(3, 1fr); gap: 32px; }
.foot h4 { margin: 0 0 12px; font: 600 13px var(--body); color: var(--ink); }
.foot a { display: block; text-decoration: none; padding: 3px 0; }
.foot a:hover { color: var(--ink); }
.foot p { margin-top: 12px; max-width: 32ch; }
.legal { margin-top: 36px; font-size: 13px; color: var(--muted); }

/* responsive */
@media (max-width: 900px) {
  .nav-links, .nav-cta .btn-light { display: none; }
  .nav-inner { gap: 8px; padding: 8px 6px 8px 12px; }
  .menu-btn { display: block; margin-left: 0; }
  .nav.open .nav-links { display: grid; position: absolute; top: 64px; left: 0; right: 0; background: var(--card); border: 1px solid var(--line); border-radius: 14px; padding: 12px 18px; gap: 10px; }
  .window { grid-template-columns: minmax(0, 1fr); }
  .example { grid-template-columns: minmax(0, 1fr); }
  .example-text, .tabs-col .feat { padding: 24px 22px; }
  .example-visual, .example.flip .example-visual { border-left: 0; border-right: 0; border-top: 1px solid var(--line); padding: 20px 14px; order: 0; }
  .example.flip { grid-template-columns: minmax(0, 1fr); }
  .cards { grid-template-columns: minmax(0, 1fr); grid-template-rows: none; }
  .card-cell { grid-row: auto; grid-template-rows: auto auto; }
  .card-cell { border-right: 0; }
  .card-cell + .card-cell { border-top: 1px solid var(--line); }
  .code { border-right: 0; border-bottom: 1px solid #ecebe6; }
  .stage { margin: 0 12px; padding: 18px; }
  .cols3, .split, .plans { grid-template-columns: minmax(0, 1fr); }
  .feat { border-right: 0; border-bottom: 1px solid var(--line); }
  .split > div { padding: 32px 22px; }
  .split > div + div { border-left: 0; border-top: 1px solid var(--line); }
  .doc { grid-template-columns: minmax(0, 1fr); gap: 24px; }
  .doc-nav { position: static; display: flex; flex-wrap: wrap; }
  .doc-nav b { width: 100%; }
  .foot { grid-template-columns: 1fr 1fr; }
  .works-grid { grid-template-columns: repeat(3, 1fr); }
  .faq-row { grid-template-columns: minmax(0, 1fr); }
  .faq-head { border-right: 0; border-bottom: 1px solid var(--line); padding: 28px 22px; }
  .faq-row .faq details { padding: 18px 22px; }
  .deco { height: 48px; }
  .pricing-row .plans { padding: 0 12px; }

  .works-cell:nth-child(3n) { border-right: 0; }
  .works-cell:nth-child(-n+3) { border-bottom: 1px solid var(--line); }
  .sky .hero { padding-top: 48px; }
  .skyline { height: 220px; grid-template-columns: repeat(24, 1fr); }
  .skyline .col:nth-child(-n+36) { display: none; }
  .code { font-size: 12px; }
  .astep { grid-template-columns: 110px 1fr 56px; font-size: 13px; }
  .table th, .table td { padding: 10px 8px; font-size: 13.5px; }
}
