:root {
  --bg: #0c0c0b; --s1: #121211; --s2: #181816; --s3: #20201e;
  --border: #262623; --border2: #34342f;
  --muted: #6b6b65; --subtle: #9a9a93; --body: #cdccc4; --text: #f3f2eb;
  --lime: #a3e635; --lime-h: #b8f040; --lime-bg: #141a06; --lime-line: #3d5a10;
  --mono: ui-monospace, 'SF Mono', 'Cascadia Code', 'Fira Code', Consolas, monospace;
  --sans: -apple-system, BlinkMacSystemFont, 'Segoe UI', Inter, Roboto, sans-serif;
  --r: 8px; --rl: 14px;
}
* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body { margin: 0; background: var(--bg); color: var(--text); font: 16px/1.6 var(--sans); -webkit-font-smoothing: antialiased; }
a { color: var(--lime); text-decoration: none; }
a:hover { color: var(--lime-h); }
img { max-width: 100%; }
h1, h2, h3 { line-height: 1.15; margin: 0 0 12px; letter-spacing: -0.02em; }
h1 { font-size: clamp(34px, 5.4vw, 58px); font-weight: 750; }
h2 { font-size: clamp(26px, 3.4vw, 36px); font-weight: 700; }
h3 { font-size: 18px; font-weight: 650; }
p { margin: 0 0 14px; }
code { font-family: var(--mono); font-size: .9em; background: var(--s2); border: 1px solid var(--border); border-radius: 5px; padding: 1px 5px; }
.wrap { max-width: 1160px; margin: 0 auto; padding: 0 24px; }
.skip { position: absolute; left: -9999px; }
.skip:focus { left: 16px; top: 12px; background: var(--lime); color: var(--bg); padding: 8px 12px; border-radius: var(--r); z-index: 100; }
:focus-visible { outline: 2px solid var(--lime); outline-offset: 3px; }

/* buttons */
.btn { display: inline-flex; align-items: center; justify-content: center; gap: 8px; font-weight: 600; font-size: 15px; padding: 11px 20px; border-radius: var(--r); border: 1px solid transparent; cursor: pointer; white-space: nowrap; }
.btn-primary { background: var(--lime); color: #0c0c0b; }
.btn-primary:hover { background: var(--lime-h); color: #0c0c0b; }
.btn-ghost { border-color: var(--border2); color: var(--text); background: transparent; }
.btn-ghost:hover { border-color: var(--subtle); color: var(--text); }
.btn-lg { font-size: 16px; padding: 14px 24px; }
.btn-sm { font-size: 14px; padding: 7px 14px; }

/* nav */
.nav { position: sticky; top: 0; z-index: 50; background: rgba(12, 12, 11, .86); backdrop-filter: blur(10px); border-bottom: 1px solid var(--border); }
.nav-inner { display: flex; align-items: center; justify-content: space-between; height: 64px; }
.logo { display: inline-flex; align-items: center; gap: 8px; color: var(--text); }
.logo:hover { color: var(--text); }
.logo .word { font-family: var(--mono); font-weight: 700; font-size: 19px; }
.logo .by { font-size: 12px; color: var(--muted); margin-left: 2px; padding-left: 8px; border-left: 1px solid var(--border2); }
.nav-links { display: flex; align-items: center; gap: 22px; }
.nav-links > a:not(.btn), .dropdown summary { color: var(--body); font-size: 15px; }
.nav-links > a:not(.btn):hover, .dropdown summary:hover { color: var(--text); }
.nav-toggle { display: none; background: none; border: 1px solid var(--border2); color: var(--text); border-radius: var(--r); padding: 6px 12px; font: inherit; font-size: 14px; cursor: pointer; }
.dropdown { position: relative; }
.dropdown summary { list-style: none; cursor: pointer; }
.dropdown summary::-webkit-details-marker { display: none; }
.dropdown summary::after { content: ' ▾'; font-size: 11px; color: var(--muted); }
.dropdown-menu { position: absolute; top: calc(100% + 14px); left: -16px; width: 560px; display: grid; grid-template-columns: 1fr 1fr; gap: 2px; padding: 8px; background: var(--s2); border: 1px solid var(--border2); border-radius: var(--rl); box-shadow: 0 20px 50px rgba(0,0,0,.5); }
.dropdown-menu a { display: block; padding: 10px 12px; border-radius: var(--r); }
.dropdown-menu a:hover { background: var(--s3); }
.dropdown-menu strong { display: block; color: var(--text); font-size: 14px; }
.dropdown-menu span { display: block; color: var(--subtle); font-size: 13px; }

/* hero */
.hero { display: grid; grid-template-columns: 1.05fr 1fr; gap: 56px; align-items: center; padding-top: 80px; padding-bottom: 80px; }
.eyebrow { font-family: var(--mono); font-size: 12.5px; letter-spacing: .08em; text-transform: uppercase; color: var(--lime); margin-bottom: 16px; }
.hl { color: var(--lime); }
.lead { font-size: 19px; color: var(--body); max-width: 560px; }
.lead-sm { font-size: 17px; color: var(--body); }
.cta-row { display: flex; gap: 12px; flex-wrap: wrap; margin-top: 28px; }
.cta-note { font-size: 13.5px; color: var(--muted); margin-top: 14px; }
.hero-visual { position: relative; }
.hero-mascot { position: absolute; right: -18px; bottom: -48px; width: 120px; height: auto; filter: drop-shadow(0 10px 24px rgba(0,0,0,.5)); }

/* the mock Duct window */
.demo { margin: 0; background: var(--s1); border: 1px solid var(--border2); border-radius: var(--rl); box-shadow: 0 30px 80px rgba(0,0,0,.55), 0 0 0 1px rgba(163,230,53,.04); overflow: hidden; }
.demo-bar { display: flex; gap: 6px; padding: 12px 14px; border-bottom: 1px solid var(--border); }
.demo-bar span { width: 10px; height: 10px; border-radius: 50%; background: var(--border2); }
.demo-search { display: flex; align-items: center; gap: 10px; margin: 16px; padding: 11px 14px; background: var(--bg); border: 1px solid var(--border2); border-radius: var(--r); color: var(--text); font-size: 15px; }
.demo-search svg { color: var(--muted); flex-shrink: 0; }
.demo-result { margin: 0 16px 18px; padding: 16px; border: 1px solid var(--lime-line); background: var(--lime-bg); border-radius: var(--r); }
.demo-title { display: flex; align-items: center; gap: 10px; flex-wrap: wrap; }
.demo-title strong { font-size: 15px; overflow-wrap: anywhere; }
.demo-type { font-family: var(--mono); font-size: 10.5px; font-weight: 700; color: var(--lime); border: 1px solid var(--lime-line); border-radius: 4px; padding: 1px 5px; }
.demo-where { font-family: var(--mono); font-size: 12px; color: var(--bg); background: var(--lime); border-radius: 99px; padding: 1px 9px; font-weight: 700; }
.demo-folder { font-family: var(--mono); font-size: 12px; color: var(--muted); margin: 4px 0 10px; }
.demo-snippet { font-size: 14.5px; color: var(--body); margin-bottom: 14px; }
.demo-snippet mark { background: rgba(163,230,53,.22); color: var(--text); border-radius: 3px; padding: 0 2px; }
.demo-open { display: inline-block; font-size: 13px; font-weight: 650; background: var(--lime); color: var(--bg); border-radius: 6px; padding: 5px 12px; }

/* hero rotator */
.demo-tabs { display: flex; flex-wrap: wrap; gap: 6px; margin-bottom: 12px; }
.demo-tabs button { border: 1px solid var(--border2); background: transparent; color: var(--subtle); border-radius: 99px; padding: 4px 12px; font: inherit; font-size: 13px; cursor: pointer; }
.demo-tabs button:hover { color: var(--text); border-color: var(--subtle); }
.demo-tabs button.active { background: var(--lime-bg); border-color: var(--lime-line); color: var(--lime); }
.demo-rotator .demo-result { transition: opacity .25s; }
.demo-rotator.swap .demo-result, .demo-rotator.swap .demo-q { opacity: 0; }
.demo-q { transition: opacity .25s; }
.for-line { color: var(--subtle); font-size: 14.5px; margin-top: 18px; }

/* sections */
.section { padding-top: 88px; padding-bottom: 88px; }
.band { background: var(--s1); border-top: 1px solid var(--border); border-bottom: 1px solid var(--border); padding: 88px 0; }
.section-sub { color: var(--subtle); font-size: 17px; margin-bottom: 36px; }
.split { display: grid; grid-template-columns: 1fr 1fr; gap: 56px; align-items: center; }
.split-top { align-items: start; }
.steps { list-style: none; margin: 36px 0 0; padding: 0; display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
.steps li { background: var(--bg); border: 1px solid var(--border); border-radius: var(--rl); padding: 26px; }
.steps p { color: var(--body); margin: 0; }
.step-n { display: inline-grid; place-items: center; width: 30px; height: 30px; border-radius: 50%; background: var(--lime-bg); border: 1px solid var(--lime-line); color: var(--lime); font-family: var(--mono); font-weight: 700; margin-bottom: 14px; }
.ticks { list-style: none; margin: 22px 0 0; padding: 0; display: flex; flex-direction: column; gap: 12px; }
.ticks li { display: flex; gap: 10px; align-items: flex-start; color: var(--body); }
.tick { color: var(--lime); flex-shrink: 0; margin-top: 4px; }
.cards { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 16px; }
.card { min-width: 0; display: flex; flex-direction: column; background: var(--bg); border: 1px solid var(--border); border-radius: var(--rl); padding: 22px; color: var(--text); transition: border-color .15s, transform .15s; }
.card:hover { border-color: var(--lime-line); color: var(--text); transform: translateY(-2px); }
.card img { margin-bottom: 10px; }

/* feature rows with large mockups */
.features { display: flex; flex-direction: column; gap: 48px; }
.feature { display: grid; grid-template-columns: 1fr 1.1fr; gap: 48px; align-items: center; }
.feature.flip .feature-text { order: 2; }
.feature-text p { color: var(--body); font-size: 16.5px; }
.feature-text h3 { font-size: 22px; }
.mock.lg { height: auto; min-height: 170px; display: flex; flex-direction: column; justify-content: center; margin: 0; padding: 22px; font-size: 12.5px; border-radius: var(--rl); background: var(--bg); }
.mock.lg > * { width: 100%; }
.mock.lg .mock-page, .mock.lg .mock-doc { min-height: 150px; }
.mock.lg .mock-onprem { min-height: 120px; }
.mock.lg .mrow { height: 34px; }
.mock.lg .bar { height: 7px; margin: 8px 0; }
.chips.static .chip { cursor: default; }
.plan-h { margin-top: 22px; }
.others-h { margin-top: 48px; font-size: 18px; }

/* mini mockups on the use-case cards */
.mock { height: 118px; margin: -6px -6px 16px; padding: 12px; background: var(--s1); border: 1px solid var(--border); border-radius: 10px; overflow: hidden; position: relative; font-family: var(--mono); font-size: 10.5px; color: var(--subtle); }
.card:hover .mock { border-color: var(--border2); }
.bar { display: block; height: 6px; border-radius: 3px; background: var(--border2); margin: 6px 0; }
.w30 { width: 30%; } .w40 { width: 40%; } .w50 { width: 50%; } .w55 { width: 55%; } .w60 { width: 60%; } .w70 { width: 70%; } .w75 { width: 75%; } .w80 { width: 80%; } .w85 { width: 85%; } .w90 { width: 90%; } .w95 { width: 95%; }
.pill { font-style: normal; font-weight: 700; color: var(--bg); background: var(--lime); border-radius: 99px; padding: 0 6px; margin-left: auto; white-space: nowrap; }
.hit { background: var(--lime-bg); border: 1px solid var(--lime-line); color: var(--text); }
.mock-rows { display: flex; flex-direction: column; gap: 6px; }
.mrow { display: flex; align-items: center; gap: 8px; height: 26px; padding: 0 8px; border-radius: 6px; border: 1px solid transparent; white-space: nowrap; overflow: hidden; }
.mrow .bar { flex: 1; margin: 0 0 0 auto; max-width: 40%; }
.mrow .lbl { overflow: hidden; text-overflow: ellipsis; }
.ico { width: 12px; height: 10px; border-radius: 2px; background: var(--border2); flex-shrink: 0; }
.ico.doc { width: 10px; height: 12px; background: var(--lime); }
.ico.pin { width: 9px; height: 9px; border-radius: 50%; background: var(--subtle); }
.mrow.hit .ico.pin { background: var(--lime); }
.count { font-style: normal; margin-left: auto; color: var(--muted); }
.mock-page { background: var(--s2); border: 1px solid var(--border2); border-radius: 4px; padding: 6px 10px; height: 100%; }
.mline { display: flex; align-items: center; gap: 6px; padding: 2px 6px; margin: 4px -6px; border-radius: 4px; white-space: nowrap; }
.mline span { color: var(--lime); }
.mock-page.scan { background-color: #1c1c19; background-image: radial-gradient(rgba(255,255,255,.05) 1px, transparent 1px); background-size: 4px 4px; transform: rotate(-1.5deg); }
.ocr { display: flex; align-items: center; gap: 6px; border: 1.5px dashed var(--lime); border-radius: 4px; padding: 2px 6px; margin: 5px 0; color: var(--text); white-space: nowrap; }
.ocr em { font-style: normal; margin-left: auto; color: var(--lime); font-weight: 700; }
.mock-grid { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); grid-template-rows: repeat(3, 1fr); gap: 3px; height: 100%; }
.cell { background: var(--s2); border: 1px solid var(--border); border-radius: 2px; display: grid; place-items: center; white-space: nowrap; }
.cell.hit { font-weight: 700; color: var(--lime); }
.mock-papers { position: relative; height: 100%; }
.paper { position: absolute; background: var(--s2); border: 1px solid var(--border2); border-radius: 4px; padding: 6px 10px; width: 78%; height: 78px; }
.paper.back { left: 0; top: 0; opacity: .6; }
.paper.front { right: 0; bottom: 0; }
.cite { position: absolute; left: 10px; bottom: 8px; font-style: normal; color: var(--bg); background: var(--lime); border-radius: 4px; padding: 1px 6px; font-weight: 700; white-space: nowrap; }
.mock-bids .tags { display: flex; gap: 4px; margin-bottom: 8px; white-space: nowrap; overflow: hidden; }
.tag { font-style: normal; border: 1px solid var(--border2); border-radius: 99px; padding: 0 6px; }
.tag.on { color: var(--lime); border-color: var(--lime-line); background: var(--lime-bg); }
.answer { position: relative; background: var(--s2); border: 1px solid var(--lime-line); border-radius: 5px; padding: 3px 26px 3px 8px; margin-bottom: 6px; }
.answer.dim { border-color: var(--border); opacity: .6; }
.tick-box { position: absolute; right: 6px; top: 50%; transform: translateY(-50%); width: 14px; height: 14px; border-radius: 3px; background: var(--lime); color: var(--bg); font-size: 10px; display: grid; place-items: center; }
.mock-code { background: #070707; border-radius: 6px; padding: 10px; height: 100%; line-height: 1.75; white-space: nowrap; overflow: hidden; color: var(--body); }
.mock-code .k { color: var(--lime); font-weight: 700; } .mock-code .p { color: var(--subtle); } .mock-code .n { color: #f0b35c; } .mock-code .s { color: #8fd0a0; }
.card p { color: var(--subtle); font-size: 14.5px; flex: 1; }
.card .more { color: var(--lime); font-size: 14px; font-weight: 600; }
.pillars { display: grid; grid-template-columns: repeat(4, 1fr); gap: 28px; }
.pillars p { color: var(--body); font-size: 15px; }
.dev-band h2 { margin-bottom: 16px; }
.code { margin: 0; background: #070707; border: 1px solid var(--border2); border-radius: var(--rl); padding: 20px 22px; overflow-x: auto; font: 13.5px/1.7 var(--mono); color: var(--body); }
.code code { background: none; border: 0; padding: 0; font-size: inherit; white-space: pre; }
.code .c { color: var(--muted); }
.hero-code { font-size: 13px; }
.faq { display: flex; flex-direction: column; gap: 10px; margin-top: 28px; max-width: 820px; }
.faq details { border: 1px solid var(--border); border-radius: var(--rl); padding: 16px 20px; background: var(--s1); }
.faq summary { cursor: pointer; font-weight: 600; font-size: 16.5px; }
.faq details p { color: var(--body); margin: 12px 0 0; }
.final { text-align: center; padding-top: 96px; padding-bottom: 110px; display: flex; flex-direction: column; align-items: center; }
.final .cta-row { justify-content: center; }
.story { color: var(--subtle); border-left: 2px solid var(--lime-line); padding-left: 16px; margin-top: 20px; }
.plan-box { background: var(--s1); border: 1px solid var(--border); border-radius: var(--rl); padding: 26px; }
.plan-box p { color: var(--body); }
.chips { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 20px; }
.chip { border: 1px solid var(--border2); border-radius: 99px; padding: 8px 16px; color: var(--body); font-size: 15px; }
.chip:hover { border-color: var(--lime-line); color: var(--text); }

/* pricing */
.pricing-head { text-align: center; padding-bottom: 36px; }
.pricing-head .lead { margin: 0 auto 24px; }
.currency { color: var(--subtle); font-size: 14px; display: inline-flex; align-items: center; gap: 8px; }
.currency select { background: var(--s2); color: var(--text); border: 1px solid var(--border2); border-radius: var(--r); padding: 7px 10px; font: inherit; font-size: 14px; }
.plans { display: grid; grid-template-columns: repeat(4, 1fr); gap: 16px; align-items: stretch; }
.plan { display: flex; flex-direction: column; background: var(--s1); border: 1px solid var(--border); border-radius: var(--rl); padding: 26px 22px; }
.plan.featured { border-color: var(--lime-line); box-shadow: 0 0 0 1px var(--lime-line); }
.plan h2 { font-size: 22px; display: flex; align-items: center; gap: 8px; flex-wrap: wrap; }
.badge { font-family: var(--mono); font-size: 10.5px; font-weight: 700; letter-spacing: .05em; text-transform: uppercase; color: var(--lime); border: 1px solid var(--lime-line); border-radius: 99px; padding: 2px 8px; }
.blurb { color: var(--subtle); font-size: 14.5px; min-height: 44px; }
.price { margin: 6px 0 4px; min-height: 96px; }
.amount { display: block; font-size: 38px; font-weight: 750; letter-spacing: -0.02em; }
.amount-sm { font-size: 22px; padding-top: 10px; }
.per, .alt { display: block; color: var(--subtle); font-size: 13.5px; }
.alt { color: var(--muted); }
.min { color: var(--subtle); font-size: 13.5px; }
.plan .btn { margin: 10px 0 6px; }
.plan .ticks { font-size: 14.5px; }
.fineprint { color: var(--muted); font-size: 14px; max-width: 820px; }

/* download and prose */
.download { text-align: center; display: flex; flex-direction: column; align-items: center; }
.platforms { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; margin-top: 28px; width: 100%; max-width: 760px; }
.platform { border: 1px solid var(--border2); border-radius: var(--rl); padding: 22px; background: var(--s1); color: var(--text); }
.platform:hover { border-color: var(--lime-line); color: var(--text); }
.platform strong { display: block; font-size: 18px; }
.platform span { color: var(--subtle); font-size: 14px; }
.prose { max-width: 900px; }
.prose ul { color: var(--body); padding-left: 20px; }
.prose li { margin-bottom: 8px; }
.prose h2 { font-size: 24px; margin-top: 40px; }
.table-wrap { overflow-x: auto; border: 1px solid var(--border); border-radius: var(--rl); }
table { border-collapse: collapse; width: 100%; font-size: 14.5px; }
th, td { text-align: left; padding: 12px 14px; border-bottom: 1px solid var(--border); vertical-align: top; color: var(--body); }
th { color: var(--text); background: var(--s1); font-weight: 650; }
tr:last-child td { border-bottom: 0; }

/* footer */
.footer { border-top: 1px solid var(--border); padding: 56px 0 32px; background: var(--s1); }
.footer-grid { display: grid; grid-template-columns: 1.4fr 1fr 1fr 1fr 1fr; gap: 32px; }
.footer-brand p { color: var(--subtle); font-size: 14px; margin-top: 12px; max-width: 280px; }
.footer h3 { font-size: 13px; text-transform: uppercase; letter-spacing: .08em; color: var(--muted); font-family: var(--mono); }
.footer-grid > div > a { display: block; color: var(--body); font-size: 14.5px; padding: 3px 0; }
.footer-grid > div > a:hover { color: var(--text); }
.footer-legal { color: var(--muted); font-size: 13px; margin-top: 40px; }

/* responsive */
@media (max-width: 1000px) {
  .cards, .plans { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .pillars { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 860px) {
  .feature { grid-template-columns: 1fr; gap: 20px; }
  .feature.flip .feature-text { order: 0; }
  .nav-toggle { display: inline-block; }
  .nav-links { display: none; position: absolute; top: 64px; left: 0; right: 0; flex-direction: column; align-items: stretch; gap: 0; background: var(--bg); border-bottom: 1px solid var(--border); padding: 8px 16px 16px; }
  .nav-links.open { display: flex; }
  .nav-links > a, .dropdown summary { padding: 12px 4px; display: block; }
  .nav-links .btn { margin-top: 8px; }
  .dropdown-menu { position: static; width: auto; grid-template-columns: 1fr; box-shadow: none; }
  .hero, .split { grid-template-columns: 1fr; gap: 40px; }
  .hero { padding-top: 48px; padding-bottom: 64px; }
  .hero-mascot { width: 84px; right: 0; bottom: -36px; }
  .steps { grid-template-columns: 1fr; }
  .footer-grid { grid-template-columns: 1fr 1fr; }
  .section, .band { padding-top: 64px; padding-bottom: 64px; }
}
@media (max-width: 560px) {
  .wrap { padding-left: 16px; padding-right: 16px; }
  .cards, .plans, .pillars, .platforms, .footer-grid { grid-template-columns: 1fr; }
  .logo .by { display: none; }
  .btn-lg { width: 100%; }
  .code { font-size: 12px; padding: 16px; }
}
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } .card, .demo-q, .demo-rotator .demo-result { transition: none; } }

/* extra mockup parts */
.ico.folder { width: 13px; height: 10px; background: var(--subtle); border-radius: 2px 2px 3px 3px; }
.ico.person { width: 11px; height: 11px; border-radius: 50%; background: var(--subtle); }
.ico.key { width: 12px; height: 6px; border-radius: 3px; background: var(--subtle); }
.mrow.hit .ico.folder, .mrow.hit .ico.key, .mrow.hit .ico.person { background: var(--lime); }
.sync { font-style: normal; margin-left: auto; color: var(--lime); white-space: nowrap; }
.sync.busy { color: #f0b35c; }
.role { font-style: normal; margin-left: auto; border: 1px solid var(--border2); border-radius: 99px; padding: 0 7px; }
.warn { font-style: normal; margin-left: auto; color: #f0b35c; white-space: nowrap; }
.match { font-style: normal; margin-left: auto; color: var(--subtle); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.mock-mail .mail-head { display: flex; gap: 8px; align-items: center; margin-bottom: 6px; line-height: 1.4; }
.mock-mail strong { color: var(--text); }
.avatar { width: 22px; height: 22px; border-radius: 50%; background: var(--border2); flex-shrink: 0; }
.attach { display: flex; align-items: center; gap: 8px; border: 1px solid var(--border2); border-radius: 6px; padding: 4px 8px; margin-top: 6px; white-space: nowrap; overflow: hidden; }
.attach span { overflow: hidden; text-overflow: ellipsis; }
.mock-viewer { height: 100%; display: flex; flex-direction: column; }
.viewer-bar { display: flex; justify-content: space-between; padding: 0 2px 6px; color: var(--text); }
.pagenav { font-style: normal; color: var(--lime); }
.mock-viewer .mock-page { flex: 1; }
.hl { background: rgba(163,230,53,.25); color: var(--text) !important; border-radius: 2px; padding: 0 3px; white-space: nowrap; }
.mline .bar { flex: 1; margin: 0; }
.mock-doc { position: relative; background: #f3f2eb; color: #333; border-radius: 4px; padding: 10px 14px; height: 100%; overflow: hidden; }
.mock-doc .bar { background: #c9c8c0; }
.doc-title { font-family: var(--sans); font-weight: 700; color: #111; margin-bottom: 6px; }
.quote { border-left: 2px solid #8bbf2a; padding-left: 8px; margin-bottom: 8px; }
.quote .src, .answer .src { display: block; font-size: .9em; color: #6b6b65; font-style: italic; }
.docx { position: absolute; right: 10px; bottom: 8px; font-style: normal; font-weight: 700; background: var(--lime); color: var(--bg); border-radius: 4px; padding: 1px 6px; }
.mock-sheet .sheet-tabs { display: flex; gap: 4px; margin-bottom: 6px; }
.sheet-tabs em, .cite-tabs em { font-style: normal; border: 1px solid var(--border2); border-radius: 4px; padding: 0 6px; }
.sheet-tabs em.on, .cite-tabs em.on { color: var(--lime); border-color: var(--lime-line); background: var(--lime-bg); }
.mock-sheet .mock-grid { height: calc(100% - 26px); }
.cell.head { color: var(--text); background: var(--s3); }
.mock-table { position: relative; display: flex; flex-direction: column; gap: 4px; }
.trow { display: grid; grid-template-columns: 1.4fr .5fr 1.2fr; gap: 8px; align-items: center; padding: 4px 6px; border-bottom: 1px solid var(--border); white-space: nowrap; overflow: hidden; }
.trow span { overflow: hidden; text-overflow: ellipsis; }
.trow.head { color: var(--text); }
.trow .bar { margin: 0; width: 100%; }
.docx.csv { bottom: auto; top: 0; right: 0; }
.mock-cite .cite-tabs { display: flex; gap: 4px; margin-bottom: 8px; }
.cite-box { font-family: var(--sans); color: var(--text); background: var(--s2); border: 1px solid var(--lime-line); border-radius: 6px; padding: 6px 8px; margin-bottom: 6px; }
.cite-box.code { font-family: var(--mono); color: var(--subtle); border-color: var(--border); }
.mock-offline { position: relative; height: 100%; }
.nonet { position: absolute; right: 0; top: 0; font-style: normal; color: #f0b35c; border: 1px solid #5a4216; border-radius: 99px; padding: 0 8px; }
.demo-mini { padding-top: 26px; display: flex; flex-direction: column; gap: 6px; }
.mini-search { border: 1px solid var(--border2); border-radius: 6px; padding: 5px 8px; color: var(--text); }
.mock-onprem { display: flex; gap: 18px; align-items: center; height: 100%; }
.rack { width: 70px; display: flex; flex-direction: column; gap: 5px; flex-shrink: 0; }
.rack i { display: block; height: 18px; border-radius: 3px; background: var(--s3); border: 1px solid var(--border2); position: relative; }
.rack i::after { content: ''; position: absolute; right: 6px; top: 6px; width: 5px; height: 5px; border-radius: 50%; background: var(--lime); }
.onprem-text { display: flex; flex-direction: column; gap: 4px; }
.onprem-text strong { color: var(--text); font-family: var(--sans); font-size: 1.15em; }
.onprem-text .no { color: var(--lime); }
.mock-chips { display: flex; flex-wrap: wrap; gap: 6px; align-content: flex-start; }
.fchip { font-style: normal; border: 1px solid var(--border2); border-radius: 6px; padding: 3px 8px; white-space: nowrap; }
.fchip.on { color: var(--text); border-color: var(--lime-line); background: var(--lime-bg); }
.mock-collect { position: relative; }
.collect-head { color: var(--text); margin-bottom: 6px; display: flex; gap: 6px; align-items: center; }
.collect-head .pill { margin-left: 0; }
.mock-collect .answer { padding-right: 8px; }
.mock-collect .docx { bottom: -4px; }
.mock-ask { display: flex; flex-direction: column; gap: 6px; font-family: var(--sans); }
.mock-ask .q { align-self: flex-end; background: var(--s3); color: var(--text); border-radius: 8px 8px 2px 8px; padding: 4px 8px; }
.mock-ask .a { color: var(--body); background: var(--s2); border: 1px solid var(--border2); border-radius: 8px; padding: 6px 8px; }
.mock-ask sup { color: var(--lime); font-weight: 700; }
.mock-ask .srcs { display: flex; gap: 6px; flex-wrap: wrap; }
.mock-ask .srcs em { font-style: normal; font-family: var(--mono); border: 1px solid var(--lime-line); color: var(--lime); border-radius: 4px; padding: 0 5px; }
.mock-facets { display: grid; grid-template-columns: repeat(3, 1fr); gap: 8px; height: 100%; }
.facet { display: flex; flex-direction: column; gap: 4px; border: 1px solid var(--border2); border-radius: 6px; padding: 6px 8px; }
.facet strong { color: var(--text); }
.facet span { display: flex; justify-content: space-between; }
.facet em { font-style: normal; color: var(--lime); }

/* about and legal */
.about-hero { padding-bottom: 56px; }
.about-hero h1, .about-hero .lead { max-width: 820px; }
.pillars.three { grid-template-columns: repeat(3, 1fr); row-gap: 36px; }
.plain { list-style: none; padding: 0; margin: 0 0 14px; display: flex; flex-direction: column; gap: 10px; color: var(--body); }
.fine { color: var(--muted); font-size: 14px; }
.timeline { list-style: none; padding: 0; margin: 28px 0 0; border-left: 2px solid var(--lime-line); }
.timeline li { padding: 0 0 22px 22px; position: relative; color: var(--body); }
.timeline li::before { content: ''; position: absolute; left: -7px; top: 6px; width: 12px; height: 12px; border-radius: 50%; background: var(--lime); }
.timeline span { display: block; font-family: var(--mono); color: var(--lime); font-size: 13px; }
.contact-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 24px; margin-bottom: 20px; }
.contact-grid h3 { font-size: 15px; }
.legal-list { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; margin: 28px 0 12px; }
.legal-item { border: 1px solid var(--border); background: var(--s1); border-radius: var(--rl); padding: 18px; color: var(--text); }
.legal-item:hover { border-color: var(--lime-line); color: var(--text); }
.legal-item strong { display: block; margin-bottom: 4px; }
.legal-item span { color: var(--subtle); font-size: 14.5px; }
.legal { max-width: 820px; }
.legal p, .legal li { color: var(--body); }
.legal h2 { scroll-margin-top: 80px; }
.legal h3 { margin-top: 24px; font-size: 17px; }
.updated { color: var(--muted); font-size: 14px; }
.toc { border: 1px solid var(--border); border-radius: var(--rl); padding: 14px 20px; background: var(--s1); margin: 24px 0 8px; }
.toc ol { columns: 2; margin: 0; padding-left: 18px; color: var(--subtle); font-size: 14.5px; }
.toc li { margin: 3px 0; }
.eyebrow a { color: inherit; }
@media (max-width: 860px) {
  .pillars.three, .contact-grid, .legal-list { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 560px) {
  .pillars.three, .contact-grid, .legal-list { grid-template-columns: 1fr; }
  .toc ol { columns: 1; }
}

/* ---------- new-feature mockups (features page, "New in 1.0") ---------- */
.ico.chat { width: 11px; height: 9px; border-radius: 4px 4px 4px 1px; background: #4fce5d; }
.wa { font-style: normal; margin-left: auto; color: #4fce5d; white-space: nowrap; }
.mock-help, .mock-found, .mock-ledger, .mock-why { display: flex; flex-direction: column; gap: 7px; }
.mock-help .help-lead { color: var(--text); font-size: 1.1em; }
.mock-help u, .mock-found u { color: var(--lime); text-decoration-color: var(--lime-line); }
.mock-help .help-line { color: var(--body); }
.mock-help .dim { color: var(--muted); }
.why-box { border-left: 2px solid var(--lime); background: var(--lime-bg); color: var(--body); padding: 6px 8px; border-radius: 0 6px 6px 0; }
.mock-found { text-align: center; align-items: center; }
.mock-found > strong { font-size: 1.3em; color: var(--text); }
.mock-found > span { color: var(--body); }
.found-chips { display: flex; flex-wrap: wrap; justify-content: center; gap: 5px; }
.found-chips em { font-style: normal; color: var(--lime); border: 1px solid var(--lime-line); border-radius: 99px; padding: 1px 8px; }
.found-chips.try em { color: var(--body); border-color: var(--border2); }
.mock-found .mini-search { width: 100%; color: var(--muted); text-align: left; }
.mock-radar { display: flex; flex-direction: column; gap: 6px; }
.radar-row { display: grid; grid-template-columns: 74px minmax(0, 1fr); gap: 10px; align-items: center; background: var(--s1); border: 1px solid var(--border); border-left: 3px solid var(--border2); border-radius: 6px; padding: 6px 9px; color: var(--body); }
.radar-row.near { border-left-color: #f0b35c; }
.radar-row.passed { border-left-color: var(--muted); }
.rd { display: flex; flex-direction: column; color: var(--subtle); font-size: .9em; line-height: 1.3; }
.rd strong { color: var(--text); font-size: 1.1em; }
.radar-row.near .rd { color: #f0b35c; }
.rk { font-style: normal; color: var(--lime); text-transform: uppercase; letter-spacing: .06em; font-size: .8em; margin-right: 4px; }
.radar-row.passed .rk { color: var(--subtle); }
.ledger-tabs { display: flex; gap: 2px; align-self: flex-end; border: 1px solid var(--border2); border-radius: 6px; padding: 2px; }
.ledger-tabs em { font-style: normal; color: var(--subtle); padding: 1px 8px; border-radius: 4px; }
.ledger-tabs em.on { background: var(--border2); color: var(--text); }
.ledger-nothing { border: 1px solid var(--border2); border-radius: 8px; padding: 16px; text-align: center; display: flex; flex-direction: column; gap: 4px; }
.ledger-nothing strong { color: var(--lime); font-size: 1.6em; }
.ledger-nothing span { color: var(--subtle); }
.mock-perm { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 10px; }
.perm-col { display: flex; flex-direction: column; gap: 6px; min-width: 0; }
.perm-col > strong { color: var(--text); font-weight: 600; }
.perm-note { border: 1px dashed var(--border2); border-radius: 6px; padding: 6px 8px; color: var(--muted); }
@media (max-width: 560px) { .mock-perm { grid-template-columns: 1fr; } }

/* ---------- the features page ---------- */
.feature-jump { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 18px; }
.feature-jump a { border: 1px solid var(--border2); border-radius: 99px; padding: 4px 12px; color: var(--body); font-size: 14px; }
.feature-jump a:hover { border-color: var(--lime); color: var(--text); }
.group-head { max-width: 680px; margin-bottom: 36px; }
.group-head .eyebrow { margin-bottom: 4px; }
.badge-new { display: inline-block; vertical-align: middle; margin-left: 8px; font-size: 11px; font-weight: 700; letter-spacing: .06em; text-transform: uppercase; color: var(--bg); background: var(--lime); border-radius: 99px; padding: 1px 8px; }
.badge-plan { display: inline-block; vertical-align: middle; margin-left: 8px; font-size: 11px; font-weight: 600; color: var(--subtle); border: 1px solid var(--border2); border-radius: 99px; padding: 0 8px; }
.cards.new-cards { grid-template-columns: repeat(3, minmax(0, 1fr)); }
@media (max-width: 1000px) { .cards.new-cards { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 560px) { .cards.new-cards { grid-template-columns: 1fr; } }
.see-all { margin-top: 22px; font-weight: 600; }
/* The "New in 1.0" cards show the whole mockup. */
.new-cards .mock { height: auto; min-height: 150px; padding: 14px; display: flex; flex-direction: column; justify-content: center; }
.new-cards .mock > * { width: 100%; }
/* A last card alone on its row spans it, mockup beside the text. */
@media (min-width: 1001px) {
  .new-cards .card:last-child:nth-child(3n+1) { grid-column: 1 / -1; display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); grid-template-rows: auto auto 1fr; column-gap: 32px; align-items: start; }
  .new-cards .card:last-child:nth-child(3n+1) .mock { grid-row: 1 / span 3; margin-bottom: 0; }
  .new-cards .card:last-child:nth-child(3n+1) h3 { margin-top: 6px; }
}
@media (min-width: 561px) and (max-width: 1000px) {
  .new-cards .card:last-child:nth-child(2n+1) { grid-column: 1 / -1; }
}

/* blog */
.blog-head { padding-bottom: 40px; max-width: 1100px; }
.blog-follow { display: flex; flex-wrap: wrap; gap: 8px 22px; font-family: var(--mono); font-size: 13px; margin-top: 8px; }
.blog-list { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 20px; max-width: 1100px; padding-bottom: 96px; }
.blog-cats { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 28px; }
.blog-cats a { font-size: 14px; color: var(--body); border: 1px solid var(--border2); border-radius: 99px; padding: 6px 14px; }
.blog-cats a:hover { border-color: var(--subtle); color: var(--text); }
.blog-cats a[aria-current="page"] { background: var(--lime); border-color: var(--lime); color: #0c0c0b; font-weight: 600; }
.post-card { display: flex; flex-direction: column; border: 1px solid var(--border); background: var(--s1); border-radius: var(--rl); overflow: hidden; }
.post-card:hover { border-color: var(--lime-line); }
.post-cover { display: block; background: var(--bg); border-bottom: 1px solid var(--border); aspect-ratio: 1200 / 630; }
.post-cover img { display: block; width: 100%; height: 100%; object-fit: cover; }
.post-card-body { padding: 22px 26px; }
.post-card h2 { font-size: clamp(21px, 2.6vw, 25px); margin: 6px 0 8px; }
.post-card h2 a { color: var(--text); }
.post-card h2 a:hover { color: var(--lime); }
.post-card p { margin: 0; color: var(--body); }
.post-meta { display: flex; flex-wrap: wrap; gap: 4px 16px; font-family: var(--mono); font-size: 12.5px; color: var(--muted); margin: 0; }
.post-cat { color: var(--lime); }
.post-tags { display: flex; flex-wrap: wrap; gap: 8px; margin: 14px 0 0 !important; }
.post-tags a { font-family: var(--mono); font-size: 12px; color: var(--subtle); border: 1px solid var(--border2); border-radius: 99px; padding: 2px 10px; }
.post-tags a:hover { color: var(--lime); border-color: var(--lime-line); }
@media (max-width: 760px) { .blog-list { grid-template-columns: 1fr; } }
.post { max-width: 780px; }
.post-head { margin-bottom: 40px; }
.post-head h1 { font-size: clamp(32px, 4.6vw, 48px); }
.post-summary { font-size: 19px; color: var(--body); margin-bottom: 18px; }
.post-body { font-size: 17px; line-height: 1.75; color: var(--body); max-width: none; }
.post-body p, .post-body li { color: var(--body); }
.post-body strong { color: var(--text); }
.post-body h2 { font-size: 26px; margin: 48px 0 14px; color: var(--text); position: relative; }
.post-body h3 { font-size: 19px; margin: 32px 0 10px; color: var(--text); position: relative; }
.post-body .anchor { position: absolute; left: -24px; color: var(--muted); opacity: 0; text-decoration: none; font-weight: 400; }
.post-body h2:hover .anchor, .post-body h3:hover .anchor, .post-body .anchor:focus { opacity: 1; }
.post-body a { text-decoration: underline; text-underline-offset: 3px; text-decoration-color: var(--lime-line); }
.post-body ul, .post-body ol { padding-left: 22px; margin: 0 0 18px; }
.post-body li { margin-bottom: 8px; }
.post-body blockquote { margin: 0 0 18px; padding: 2px 0 2px 18px; border-left: 3px solid var(--lime); color: var(--text); }
.post-body pre { background: var(--s1); border: 1px solid var(--border); border-radius: var(--r); padding: 16px 18px; overflow-x: auto; margin: 0 0 22px; font-size: 13.5px; line-height: 1.6; }
.post-body pre code { background: none; border: 0; padding: 0; font-size: inherit; color: var(--text); }
.post-body hr { border: 0; border-top: 1px solid var(--border); margin: 40px 0; }
.post-body figure { margin: 28px 0 30px; }
.post-body figure img { display: block; width: 100%; height: auto; border: 1px solid var(--border2); border-radius: var(--rl); background: var(--s1); }
.post-body figcaption { margin-top: 10px; font-size: 14.5px; line-height: 1.55; color: var(--subtle); }
.post-body figure.narrow { max-width: 400px; margin-left: auto; margin-right: auto; }
.post-body figure.wide { width: min(1100px, calc(100vw - 48px)); margin-left: 50%; transform: translateX(-50%); }
.related-head { font-size: 15px; font-family: var(--mono); font-weight: 500; letter-spacing: .06em; text-transform: uppercase; color: var(--muted); margin: 32px 0 12px; }
.related { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; }
.related a { display: flex; flex-direction: column; gap: 6px; border: 1px solid var(--border); background: var(--s1); border-radius: var(--r); padding: 14px 16px; color: var(--text); font-weight: 600; }
.related a:hover { border-color: var(--lime-line); color: var(--text); }
.related a span { font-family: var(--mono); font-size: 12px; font-weight: 400; color: var(--lime); }
@media (max-width: 640px) { .related { grid-template-columns: 1fr; } }
.table-wrap { overflow-x: auto; margin: 0 0 22px; }
.post-body table { border-collapse: collapse; width: 100%; font-size: 15px; }
.post-body th, .post-body td { text-align: left; padding: 9px 12px; border-bottom: 1px solid var(--border); }
.post-body th { font-family: var(--mono); font-size: 12px; letter-spacing: .06em; text-transform: uppercase; color: var(--subtle); font-weight: 500; }
.post-body td { color: var(--body); font-variant-numeric: tabular-nums; }
.post-body .right { text-align: right; }
.post-body .center { text-align: center; }
.post-foot { margin-top: 56px; padding-top: 24px; border-top: 1px solid var(--border); color: var(--subtle); }
.post-nav { display: flex; justify-content: space-between; gap: 16px; margin-top: 24px; }
.post-nav a { display: flex; flex-direction: column; gap: 4px; max-width: 46%; color: var(--text); font-weight: 600; }
.post-nav a span { font-family: var(--mono); font-size: 12px; font-weight: 400; color: var(--muted); }
.post-nav .newer { text-align: right; margin-left: auto; }

/* press kit */
.press-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(240px, 1fr)); gap: 16px; }
.press-item { margin: 0; border: 1px solid var(--border); background: var(--s1); border-radius: var(--rl); overflow: hidden; display: flex; flex-direction: column; }
.press-art { background: radial-gradient(circle at 50% 40%, #232320, var(--s1) 70%); padding: 18px; display: flex; align-items: center; justify-content: center; aspect-ratio: 1; }
.press-art img { width: 82%; height: auto; }
.press-item figcaption { padding: 14px 18px 18px; display: flex; flex-direction: column; gap: 4px; border-top: 1px solid var(--border); }
.press-item figcaption span { color: var(--subtle); font-size: 14.5px; }
.press-links { display: flex; gap: 14px; margin-top: 6px; font-family: var(--mono); font-size: 13px !important; }
.press-text { padding-top: 64px; }
.swatches { display: grid; grid-template-columns: repeat(auto-fill, minmax(150px, 1fr)); gap: 12px; margin-bottom: 18px; }
.swatch { display: flex; flex-direction: column; justify-content: flex-end; height: 104px; border-radius: var(--r); padding: 12px 14px; font-family: var(--mono); font-size: 13px; border: 1px solid var(--border2); }
.swatch b { font-family: var(--sans); font-size: 15px; }
.swatch-lime { background: #a3e635; color: #0c0c0b; }
.swatch-ink { background: #0c0c0b; color: #f0efe8; }
.swatch-paper { background: #f0efe8; color: #0c0c0b; }
.swatch-fur { background: #e9d8b4; color: #0c0c0b; }
@media (max-width: 640px) { .post-body { font-size: 16px; } .post-body .anchor { display: none; } .post-nav { flex-direction: column; } .post-nav a { max-width: none; } .post-nav .newer { text-align: left; margin-left: 0; } }
