/* CarvCAM site: white first, black for type, orange only where the eye should land. */
@font-face { font-family: "Geist"; src: url(fonts/geist-sans-latin-400-normal.woff2) format("woff2"); font-weight: 400; font-display: swap; }
@font-face { font-family: "Geist"; src: url(fonts/geist-sans-latin-500-normal.woff2) format("woff2"); font-weight: 500; font-display: swap; }
@font-face { font-family: "Geist"; src: url(fonts/geist-sans-latin-600-normal.woff2) format("woff2"); font-weight: 600; font-display: swap; }
@font-face { font-family: "Geist Mono"; src: url(fonts/geist-mono-latin-500-normal.woff2) format("woff2"); font-weight: 500; font-display: swap; }

:root {
  --bg: #ffffff;
  --bg-soft: #f7f6f3;
  --ink: #111214;
  --ink-2: #4a4b50;
  --ink-3: #7c7d82;
  --line: #e9e7e2;
  --accent: #ff5b1f;
  --accent-ink: #c2410c;
  --accent-soft: #fff3ed;
  --ok: #157a54;
  --max: 1160px;
  --narrow: 760px;
  --radius: 14px;
  --header-h: 64px;
  --font: "Geist", ui-sans-serif, system-ui, -apple-system, "Segoe UI", sans-serif;
  --mono: "Geist Mono", ui-monospace, monospace;
}
* { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: calc(var(--header-h) + 16px); -webkit-text-size-adjust: 100%; }
body { margin: 0; background: var(--bg); color: var(--ink); font: 400 17px/1.6 var(--font); -webkit-font-smoothing: antialiased; }
img { max-width: 100%; height: auto; display: block; }
a { color: inherit; }
:focus-visible { outline: 2px solid var(--accent); outline-offset: 3px; border-radius: 6px; }
.wrap { width: min(var(--max), 100% - 40px); margin: 0 auto; }
.narrow { width: min(var(--narrow), 100% - 40px); margin: 0 auto; }
.skip { position: absolute; left: -999px; top: 8px; background: var(--ink); color: #fff; padding: 8px 12px; border-radius: 8px; z-index: 100; }
.skip:focus { left: 8px; }

/* Header: fixed, light, logo left */
.hdr { position: sticky; top: env(safe-area-inset-top, 0px); z-index: 50; height: var(--header-h); background: rgba(255, 255, 255, 0.86); backdrop-filter: saturate(1.4) blur(12px); border-bottom: 1px solid var(--line); }
.hdr .wrap { height: 100%; display: flex; align-items: center; gap: 28px; }
.logo { display: inline-flex; align-items: center; gap: 9px; text-decoration: none; font-weight: 600; font-size: 18px; letter-spacing: -0.02em; }
.logo img { width: 28px; height: 28px; }
.wordmark { white-space: nowrap; }
.wordmark span { font-family: var(--mono); font-weight: 500; }
.nav { display: flex; gap: 22px; margin-left: auto; }
.nav a { text-decoration: none; font-size: 15px; color: var(--ink-2); }
.nav a:hover, .nav a[aria-current] { color: var(--ink); }
.hdr .btn { margin-left: 4px; }
.hdr__burger { display: none; }
.mnav { display: none; }
@media (max-width: 1080px) {
  .nav, .hdr__login { display: none; }
  .hdr .wrap { gap: 12px; }
  .hdr .btn { margin-left: auto; }
  .hdr__burger { display: inline-flex; flex-direction: column; justify-content: center; gap: 5px; width: 44px; height: 44px; margin-right: -10px; padding: 0 11px; border: 0; background: none; cursor: pointer; border-radius: 10px; color: var(--ink); }
  .hdr__burger:hover { background: var(--line); }
  .hdr__burger span { display: block; height: 2px; border-radius: 2px; background: currentColor; transition: transform .2s, opacity .2s; }
  .hdr__burger[aria-expanded="true"] span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
  .hdr__burger[aria-expanded="true"] span:nth-child(2) { opacity: 0; }
  .hdr__burger[aria-expanded="true"] span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }
  .mnav:not([hidden]) { display: block; position: absolute; left: 0; right: 0; top: 100%; background: #fff; border-bottom: 1px solid var(--line); box-shadow: 0 16px 32px rgba(17, 18, 20, 0.12); max-height: calc(100dvh - var(--header-h)); overflow-y: auto; }
  .hdr .mnav .wrap { display: flex; flex-direction: column; align-items: stretch; gap: 0; height: auto; padding-top: 8px; padding-bottom: 16px; }
  .mnav a { display: flex; align-items: baseline; gap: 8px; padding: 13px 0; font-size: 17px; text-decoration: none; color: var(--ink); border-bottom: 1px solid var(--line); }
  .mnav a[aria-current] { color: var(--accent-ink); font-weight: 600; }
  .mnav a small { font-size: 13px; color: var(--ink-2); }
  .mnav hr { border: 0; height: 8px; margin: 0; }
  .mnav a:last-child { border-bottom: 0; }
  html.mnav-open { overflow: hidden; }
}
@media (max-width: 380px) { .hdr .btn { padding-left: 14px; padding-right: 14px; } }

/* Buttons */
.btn { display: inline-flex; align-items: center; gap: 8px; height: 44px; padding: 0 18px; border-radius: 10px; font: 600 15px var(--font); text-decoration: none; border: 1px solid transparent; white-space: nowrap; transition: background 160ms, border-color 160ms, transform 160ms; }
.btn--primary { background: var(--ink); color: #fff; }
.btn--primary:hover { background: #26272b; }
.btn--accent { background: var(--accent); color: #fff; }
.btn--accent:hover { background: #f04d12; }
.btn--ghost { border-color: var(--line); color: var(--ink); background: #fff; }
.btn--ghost:hover { border-color: #cfccc6; }
.btn--lg { height: 52px; padding: 0 24px; font-size: 16px; }
.btn svg { width: 18px; height: 18px; }
.note { font-size: 14px; color: var(--ink-3); }

/* Type */
.eyebrow { font: 500 13px var(--mono); letter-spacing: 0.08em; text-transform: uppercase; color: var(--accent-ink); }
h1, h2, h3 { letter-spacing: -0.03em; line-height: 1.08; margin: 0; font-weight: 600; text-wrap: balance; }
h1 { font-size: clamp(40px, 6vw, 72px); }
h2 { font-size: clamp(30px, 4vw, 46px); }
h3 { font-size: 20px; letter-spacing: -0.015em; line-height: 1.25; }
.lede { font-size: clamp(18px, 2vw, 21px); color: var(--ink-2); line-height: 1.55; text-wrap: pretty; }
p { margin: 0 0 1em; text-wrap: pretty; }
.mark { color: var(--accent); }

/* Sections */
section { padding: 96px 0; }
.sec-head { max-width: 720px; margin-bottom: 48px; }
.sec-head .eyebrow { display: block; margin-bottom: 14px; }
.sec-head p { margin-top: 16px; }
.soft { background: var(--bg-soft); }
.rule { border-top: 1px solid var(--line); }

/* Hero */
.hero { padding: 88px 0 72px; }
.hero .eyebrow { display: inline-flex; gap: 8px; align-items: center; margin-bottom: 20px; }
.hero h1 { max-width: 900px; }
.hero .lede { max-width: 640px; margin: 24px 0 32px; }
.cta { display: flex; gap: 12px; flex-wrap: wrap; align-items: center; }
.cta .note { width: 100%; margin-top: 4px; }
.shot { margin-top: 64px; border-radius: 16px; overflow: hidden; border: 1px solid #1f2024; box-shadow: 0 1px 0 rgba(17, 18, 20, 0.04), 0 30px 80px -20px rgba(17, 18, 20, 0.35); background: #111214; }
.shot img { width: 100%; }
.shot video { display: block; width: 100%; height: auto; aspect-ratio: 16 / 10; }
.caption { margin-top: 12px; font-size: 14px; color: var(--ink-3); }

/* Proof strip */
.strip { display: grid; grid-template-columns: repeat(4, 1fr); gap: 24px; padding: 28px 0; border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); }
.strip div { font-size: 15px; color: var(--ink-2); }
.strip b { display: block; color: var(--ink); font-size: 17px; letter-spacing: -0.01em; }
@media (max-width: 820px) { .strip { grid-template-columns: 1fr 1fr; } }

/* Steps timeline */
.steps { display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px; counter-reset: s; }
.step { position: relative; padding-top: 22px; border-top: 2px solid var(--ink); }
.step::before { counter-increment: s; content: "0" counter(s); font: 500 13px var(--mono); color: var(--accent-ink); display: block; margin-bottom: 10px; }
.step h3 { margin-bottom: 8px; }
.step p { font-size: 15.5px; color: var(--ink-2); }
@media (max-width: 900px) { .steps { grid-template-columns: 1fr 1fr; } }
@media (max-width: 560px) { .steps { grid-template-columns: 1fr; } }

/* Feature rows (alternating screenshot / copy) */
.frow { display: grid; grid-template-columns: 1fr 1.25fr; gap: 64px; align-items: center; padding: 56px 0; }
.frow + .frow { border-top: 1px solid var(--line); }
.frow.flip { grid-template-columns: 1.25fr 1fr; }
.frow.flip .frow__copy { order: 2; }
.frow__copy h3 { font-size: clamp(24px, 2.6vw, 32px); letter-spacing: -0.025em; margin: 10px 0 14px; }
.frow__copy p { color: var(--ink-2); }
.frow .shot { margin: 0; }
.ticks { list-style: none; padding: 0; margin: 18px 0 0; display: grid; gap: 10px; }
.ticks li { display: flex; gap: 10px; font-size: 15.5px; color: var(--ink-2); }
.ticks li::before { content: ""; flex: none; width: 18px; height: 18px; margin-top: 3px; border-radius: 50%; background: var(--accent-soft) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16'%3E%3Cpath d='M4 8.5l2.5 2.5L12 5.5' fill='none' stroke='%23ff5b1f' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E") center/12px no-repeat; }
@media (max-width: 900px) { .frow, .frow.flip { grid-template-columns: 1fr; gap: 28px; } .frow.flip .frow__copy { order: 0; } }

/* Comparison table */
.cmp { width: 100%; border-collapse: collapse; font-size: 15px; }
.cmp th, .cmp td { padding: 14px 16px; text-align: left; border-bottom: 1px solid var(--line); vertical-align: top; }
.cmp thead th { font: 500 12px var(--mono); letter-spacing: 0.06em; text-transform: uppercase; color: var(--ink-3); border-bottom: 1.5px solid var(--ink); }
.cmp td:first-child { font-weight: 600; width: 34%; }
.cmp .us { background: var(--accent-soft); }
.yes, .no, .part { display: inline-flex; align-items: center; gap: 6px; font-weight: 500; }
.yes { color: var(--ok); }
.no { color: var(--ink-3); }
.part { color: var(--accent-ink); }
.tablewrap { overflow-x: auto; border: 1px solid var(--line); border-radius: var(--radius); }
.tablewrap .cmp { min-width: 640px; }
.tablewrap .cmp tr:last-child td { border-bottom: 0; }

/* Cards */
.grid { display: grid; gap: 20px; }
.grid--3 { grid-template-columns: repeat(3, 1fr); }
.grid--2 { grid-template-columns: repeat(2, 1fr); }
@media (max-width: 900px) { .grid--3 { grid-template-columns: 1fr 1fr; } }
@media (max-width: 600px) { .grid--3, .grid--2 { grid-template-columns: 1fr; } }
.card { display: flex; flex-direction: column; border: 1px solid var(--line); border-radius: var(--radius); padding: 24px; text-decoration: none; background: #fff; transition: border-color 160ms, transform 160ms, box-shadow 160ms; }
a.card:hover { border-color: #d9d5ce; transform: translateY(-2px); box-shadow: 0 14px 30px -18px rgba(17, 18, 20, 0.3); }
.card .eyebrow { margin-bottom: 10px; }
.card h3 { margin-bottom: 8px; }
.card p { color: var(--ink-2); font-size: 15.5px; margin-bottom: 14px; }
.card .more { margin-top: auto; font-weight: 600; font-size: 15px; color: var(--ink); }
.card .more::after { content: " →"; color: var(--accent); }
.card__img { margin: -24px -24px 20px; border-bottom: 1px solid var(--line); background: #111214; border-radius: var(--radius) var(--radius) 0 0; overflow: hidden; aspect-ratio: 16 / 10; }
.card__img img { width: 100%; height: 100%; object-fit: cover; object-position: top left; }

/* Machines */
.mach { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
@media (max-width: 900px) { .mach { grid-template-columns: 1fr; } }
.mach .card dl { margin: 6px 0 16px; display: grid; grid-template-columns: auto 1fr; gap: 6px 14px; font-size: 14.5px; }
.mach dt { color: var(--ink-3); }
.mach dd { margin: 0; font-weight: 500; }
.pill { display: inline-flex; align-items: center; height: 24px; padding: 0 9px; border-radius: 999px; font: 600 12px var(--font); background: #e8f5ef; color: var(--ok); }
.pill--muted { background: var(--bg-soft); color: var(--ink-3); }

/* Platforms */
.plat { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; }
.plat > div { border: 1px solid var(--line); border-radius: var(--radius); padding: 22px; }
.plat .on { border-color: var(--ink); }
.plat b { display: block; font-size: 18px; margin-bottom: 4px; }
@media (max-width: 700px) { .plat { grid-template-columns: 1fr; } }

/* Quote / VOC */
.voc { font-size: clamp(22px, 2.8vw, 30px); line-height: 1.35; letter-spacing: -0.02em; max-width: 880px; }
.voc em { font-style: normal; color: var(--accent); }

/* FAQ */
.faq details { border-bottom: 1px solid var(--line); padding: 20px 0; }
.faq summary { cursor: pointer; font-weight: 600; font-size: 18px; list-style: none; display: flex; justify-content: space-between; gap: 16px; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: "+"; font: 500 22px var(--mono); color: var(--accent); line-height: 1; }
.faq details[open] summary::after { content: "–"; }
.faq details p { margin: 12px 0 0; color: var(--ink-2); }

/* Final CTA */
.final { text-align: center; }
.final h2 { max-width: 760px; margin: 0 auto; }
.final .lede { max-width: 560px; margin: 18px auto 28px; }
.final .cta { justify-content: center; }

/* Article pages */
.crumbs { font-size: 14px; color: var(--ink-3); margin-bottom: 18px; }
.crumbs a { text-decoration: none; }
.crumbs a:hover { color: var(--ink); }
.article { padding: 64px 0 24px; }
.article h1 { font-size: clamp(36px, 5vw, 56px); }
.article .lede { margin-top: 18px; }
.prose { font-size: 17.5px; }
.prose h2 { font-size: clamp(26px, 3vw, 34px); margin: 56px 0 16px; }
.prose h3 { margin: 32px 0 10px; }
.prose p, .prose li { color: #2b2c30; }
.prose ol, .prose ul { padding-left: 1.2em; }
.prose li { margin-bottom: 8px; }
.prose .shot { margin: 28px 0 8px; }
.prose figure { margin: 28px 0; }
.howto { list-style: none; padding: 0; counter-reset: h; }
.howto > li { counter-increment: h; position: relative; padding: 0 0 28px 56px; border-left: 1px solid var(--line); margin-left: 16px; }
.howto > li:last-child { border-left-color: transparent; }
.howto > li::before { content: counter(h); position: absolute; left: -17px; top: -2px; width: 34px; height: 34px; border-radius: 50%; background: var(--ink); color: #fff; font: 500 14px var(--mono); display: flex; align-items: center; justify-content: center; }
.howto h3 { margin-bottom: 6px; }
.callout { border-left: 3px solid var(--accent); background: var(--accent-soft); padding: 16px 20px; border-radius: 0 10px 10px 0; margin: 24px 0; font-size: 16px; }
.related { margin-top: 64px; }

/* Footer */
.ftr { border-top: 1px solid var(--line); padding: 56px 0 40px; font-size: 15px; }
.ftr__top { display: grid; grid-template-columns: 1.4fr repeat(4, 1fr); gap: 32px; }
.ftr h4 { margin: 0 0 12px; font: 500 12px var(--mono); letter-spacing: 0.08em; text-transform: uppercase; color: var(--ink-3); }
.ftr ul { list-style: none; padding: 0; margin: 0; display: grid; gap: 8px; }
.ftr a { text-decoration: none; color: var(--ink-2); }
.ftr a:hover { color: var(--ink); }
.ftr__brand p { color: var(--ink-3); margin-top: 12px; max-width: 280px; font-size: 14.5px; }
.ftr__legal { margin-top: 40px; padding-top: 20px; border-top: 1px solid var(--line); color: var(--ink-3); font-size: 13px; display: flex; justify-content: space-between; gap: 20px; flex-wrap: wrap; }
@media (max-width: 900px) { .ftr__top { grid-template-columns: 1fr 1fr; } }
@media (max-width: 600px) {
  .ftr { padding: 32px 0 calc(24px + env(safe-area-inset-bottom, 0px)); font-size: 14.5px; }
  .ftr__top { grid-template-columns: 1fr; gap: 18px; }
  .ftr__brand { display: flex; align-items: center; gap: 12px; flex-wrap: wrap; }
  .ftr__brand p { margin: 0; font-size: 13.5px; max-width: none; }
  .ftr h4 { margin-bottom: 6px; }
  .ftr ul { display: flex; flex-wrap: wrap; gap: 6px 16px; }
  .ftr li a { display: inline-block; padding: 3px 0; }
  .ftr__long { display: none; }
  .ftr__legal { margin-top: 22px; padding-top: 14px; gap: 8px; font-size: 12px; }
}

@media (prefers-reduced-motion: reduce) { * { transition: none !important; scroll-behavior: auto !important; } }

/* ---------------- Docs ---------------- */
.vh { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.docs { display: grid; grid-template-columns: 240px minmax(0, 1fr) 200px; gap: 48px; padding-top: 28px; padding-bottom: 96px; align-items: start; }
.dside, .dtoc { position: sticky; top: calc(var(--header-h) + 24px); max-height: calc(100vh - var(--header-h) - 48px); overflow: auto; }
.dside__menu > summary { display: none; }
.dside__sec { margin-top: 22px; }
.dside__sec b { display: block; font: 500 12px var(--mono); letter-spacing: 0.08em; text-transform: uppercase; color: var(--ink-3); margin-bottom: 6px; }
.dside ul, .dtoc ul { list-style: none; margin: 0; padding: 0; }
.dside li a { display: block; padding: 6px 10px; margin-left: -10px; border-radius: 8px; font-size: 15px; color: var(--ink-2); text-decoration: none; }
.dside li a:hover { background: var(--bg-soft); color: var(--ink); }
.dside li a[aria-current] { background: var(--accent-soft); color: var(--accent-ink); font-weight: 600; }
.dtoc b { display: block; font: 500 12px var(--mono); letter-spacing: 0.08em; text-transform: uppercase; color: var(--ink-3); margin-bottom: 10px; }
.dtoc a { display: block; padding: 4px 0 4px 12px; border-left: 2px solid var(--line); font-size: 14px; color: var(--ink-3); text-decoration: none; }
.dtoc a:hover { color: var(--ink); }
.dtoc a.on { border-left-color: var(--accent); color: var(--ink); }
.dsearch { position: relative; }
.dsearch input { width: 100%; height: 42px; padding: 0 40px 0 14px; border: 1px solid var(--line); border-radius: 10px; font: 400 15px var(--font); background: #fff; color: var(--ink); }
.dsearch input:focus { outline: none; border-color: var(--accent); box-shadow: 0 0 0 3px var(--accent-soft); }
.dsearch kbd { position: absolute; right: 10px; top: 10px; font: 500 12px var(--mono); color: var(--ink-3); border: 1px solid var(--line); border-radius: 5px; padding: 1px 6px; }
.dsearch__res { position: absolute; z-index: 30; left: 0; right: 0; top: 48px; list-style: none; margin: 0; padding: 6px; background: #fff; border: 1px solid var(--line); border-radius: 12px; box-shadow: 0 16px 40px rgba(17, 18, 20, 0.14); }
.dsearch__res a { display: block; padding: 8px 10px; border-radius: 8px; text-decoration: none; }
.dsearch__res a:hover, .dsearch__res a:focus { background: var(--bg-soft); }
.dsearch__res b { display: block; font-size: 15px; }
.dsearch__res span, .dsearch__res .none { font-size: 13px; color: var(--ink-3); }
.dsearch__res .none { padding: 8px 10px; }
.dmain { min-width: 0; max-width: 760px; }
.dmain h1 { margin: 10px 0 0; font-size: clamp(30px, 4vw, 42px); line-height: 1.12; letter-spacing: -0.03em; }
.dmain .lede { margin: 16px 0 0; }
.dmain h2 { margin: 48px 0 12px; font-size: 24px; letter-spacing: -0.02em; }
.dmain > p, .dmain .dqa p { color: var(--ink-2); }
.dmain code { font: 500 0.88em var(--mono); background: var(--bg-soft); border: 1px solid var(--line); border-radius: 5px; padding: 1px 5px; color: var(--ink); white-space: nowrap; }
@media (max-width: 600px) { .dmain code, .prose code { white-space: normal; overflow-wrap: anywhere; } }
.dmain p a, .dmain td a, .dcall a { color: var(--accent-ink); font-weight: 500; }
.dmeta { margin: 14px 0 0; font: 500 13px var(--mono); color: var(--ink-3); }
.dsteps { list-style: none; counter-reset: ds; margin: 32px 0 0; padding: 0; }
.dsteps > li { counter-increment: ds; position: relative; padding: 0 0 32px 52px; }
.dsteps > li::before { content: counter(ds); position: absolute; left: 0; top: 0; width: 32px; height: 32px; border-radius: 50%; background: var(--ink); color: #fff; font: 500 14px/32px var(--mono); text-align: center; }
.dsteps > li::after { content: ""; position: absolute; left: 15px; top: 40px; bottom: 8px; width: 2px; background: var(--line); }
.dsteps > li:last-child::after { display: none; }
.dsteps h3 { margin: 3px 0 6px; font-size: 18px; letter-spacing: -0.01em; }
.dsteps p { margin: 0; color: var(--ink-2); }
.dshot.shot { margin-top: 16px; border-radius: 12px; box-shadow: 0 1px 0 rgba(17, 18, 20, 0.04), 0 18px 40px -18px rgba(17, 18, 20, 0.35); }
.dfig { margin: 28px 0 0; }
.dfig .dshot.shot { margin-top: 0; }
.dfig figcaption { margin-top: 10px; font-size: 14px; color: var(--ink-3); }
.dcall { display: flex; gap: 14px; margin: 28px 0 0; padding: 16px 18px; border-radius: 12px; border: 1px solid; }
.dcall p { margin: 4px 0 0; font-size: 15.5px; }
.dcall__ic { flex: none; width: 24px; height: 24px; border-radius: 50%; display: grid; place-items: center; color: #fff; font: 600 13px var(--font); margin-top: 1px; }
.dcall--tip { background: #effaf5; border-color: #cdeedd; color: #0f4f37; }
.dcall--tip .dcall__ic { background: var(--ok); }
.dcall--note { background: var(--bg-soft); border-color: var(--line); color: var(--ink); }
.dcall--note .dcall__ic { background: var(--ink); }
.dcall--warn { background: #fff6e5; border-color: #f6dfae; color: #5c3d00; }
.dcall--warn .dcall__ic { background: #c98a00; }
.dtable { width: 100%; border-collapse: collapse; margin-top: 20px; font-size: 15.5px; }
.dtable th { text-align: left; font: 500 12px var(--mono); letter-spacing: 0.06em; text-transform: uppercase; color: var(--ink-3); padding: 10px 14px; border-bottom: 1.5px solid var(--ink); }
.dtable td { padding: 12px 14px; border-bottom: 1px solid var(--line); vertical-align: top; color: var(--ink-2); }
.dtable td:first-child { font-weight: 600; color: var(--ink); }
.dcards { display: grid; grid-template-columns: repeat(auto-fit, minmax(200px, 1fr)); gap: 14px; margin-top: 40px; }
.dcard { display: block; padding: 18px; border: 1px solid var(--line); border-radius: 12px; text-decoration: none; transition: border-color 0.15s, transform 0.15s; }
.dcard:hover { border-color: var(--accent); transform: translateY(-2px); }
.dcard b { display: block; font-size: 16px; }
.dcard b::after { content: " →"; color: var(--accent); }
.dcard span { display: block; margin-top: 4px; font-size: 14px; color: var(--ink-3); }
.dchecks { list-style: none; margin: 16px 0 0; padding: 0; display: grid; gap: 4px; }
.dchecks label { display: flex; gap: 12px; padding: 10px 12px; border-radius: 10px; cursor: pointer; color: var(--ink-2); }
.dchecks label:hover { background: var(--bg-soft); }
.dchecks input { width: 18px; height: 18px; margin-top: 3px; accent-color: var(--accent); flex: none; }
.dchecks input:checked + span { color: var(--ink-3); text-decoration: line-through; }
.dqa { border-bottom: 1px solid var(--line); padding-bottom: 8px; }
.dqa h2 { font-size: 19px; margin-top: 32px; }
.dfoot { margin-top: 64px; padding-top: 24px; border-top: 1px solid var(--line); }
.dhelp { display: flex; flex-wrap: wrap; align-items: center; gap: 12px; font-size: 15px; }
.dhelp button { font: 500 14px var(--font); padding: 6px 14px; margin-right: 6px; border: 1px solid var(--line); border-radius: 8px; background: #fff; cursor: pointer; }
.dhelp button:hover { border-color: var(--ink); }
.dhelp__thanks { color: var(--ok); }
.dpn { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; margin-top: 28px; }
.dpn a { display: block; padding: 16px 18px; border: 1px solid var(--line); border-radius: 12px; text-decoration: none; }
.dpn a:hover { border-color: var(--accent); }
.dpn span { display: block; font-size: 13px; color: var(--ink-3); }
.dpn b { font-size: 16px; }
.dpn__prev b::before { content: "← "; color: var(--accent); }
.dpn__next { text-align: right; grid-column: 2; }
.dpn__next b::after { content: " →"; color: var(--accent); }
.dhome { padding: 72px 0 24px; }
.dhome h1 { margin: 12px 0 0; font-size: clamp(36px, 5vw, 56px); letter-spacing: -0.035em; line-height: 1.05; }
.dhome .lede { max-width: 620px; }
.dhome .dsearch { max-width: 560px; margin-top: 28px; }
.dhome .dsearch input { height: 52px; font-size: 17px; border-radius: 12px; }
.dhome .dsearch kbd { top: 15px; }
.dhome__quick { display: grid; grid-template-columns: 1.3fr 1fr 1fr; gap: 16px; margin-top: 40px; }
.dquick { display: flex; flex-direction: column; gap: 6px; padding: 22px; border: 1px solid var(--line); border-radius: var(--radius); text-decoration: none; }
.dquick:hover { border-color: var(--accent); }
.dquick b { font-size: 19px; letter-spacing: -0.01em; }
.dquick > span:last-child { font-size: 15px; color: var(--ink-3); }
.dquick--main { background: var(--ink); color: #fff; border-color: var(--ink); }
.dquick--main .eyebrow { color: var(--accent); }
.dquick--main > span:last-child { color: #b9b9bd; }
.dhome__grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 40px 32px; padding-top: 32px; border-top: 1px solid var(--line); }
.dsec h2 { font-size: 20px; margin: 0 0 10px; }
.dsec ul { list-style: none; margin: 0; padding: 0; }
.dsec a { display: block; padding: 10px 0; border-bottom: 1px solid var(--line); text-decoration: none; }
.dsec a:hover b { color: var(--accent-ink); }
.dsec b { display: block; font-size: 15.5px; }
.dsec span { display: block; font-size: 14px; color: var(--ink-3); margin-top: 2px; }
@media (max-width: 1100px) { .docs { grid-template-columns: 220px minmax(0, 1fr); } .dtoc { display: none; } }
@media (max-width: 820px) {
  .docs { grid-template-columns: 1fr; gap: 20px; padding-top: 12px; }
  .dside { position: static; max-height: none; overflow: visible; }
  .dside__menu { border: 1px solid var(--line); border-radius: 12px; padding: 0 14px; }
  .dside__menu > summary { display: block; padding: 12px 0; font-weight: 600; cursor: pointer; }
  .dside__menu[open] { padding-bottom: 14px; }
  .dhome__quick, .dhome__grid { grid-template-columns: 1fr; }
  .dhome { padding-top: 40px; }
  .dsteps > li { padding-left: 44px; }
}
.dsearch input:not(:placeholder-shown) + kbd { display: none; }

/* ---------------- Comparisons ---------------- */
.vhero { padding: 56px 0 40px; }
.vhero h1 { margin: 12px 0 0; font-size: clamp(36px, 5vw, 60px); line-height: 1.04; letter-spacing: -0.035em; }
.vhero__kicker { margin: 18px 0 0; font-size: clamp(20px, 2.4vw, 26px); font-weight: 600; letter-spacing: -0.02em; color: var(--accent-ink); max-width: 760px; }
.vhero .lede { max-width: 720px; }
.vtoc { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 36px; padding-top: 24px; border-top: 1px solid var(--line); }
.vtoc a { font-size: 14px; padding: 6px 12px; border: 1px solid var(--line); border-radius: 999px; text-decoration: none; color: var(--ink-2); }
.vtoc a:hover { border-color: var(--accent); color: var(--ink); }
.vsec { padding: 72px 0; }
.vsec.soft { background: var(--bg-soft); }
.vsec h2 { margin: 0 0 20px; font-size: clamp(26px, 3vw, 36px); letter-spacing: -0.025em; line-height: 1.15; }
.narrowish { max-width: 900px; }
.vpick { display: grid; grid-template-columns: 1fr 1fr; gap: 20px; }
.vpick__col { padding: 28px; border: 1px solid var(--line); border-radius: var(--radius); }
.vpick__col.us { border: 2px solid var(--accent); background: var(--accent-soft); }
.vglance { display: grid; grid-template-columns: repeat(4, 1fr); gap: 16px; }
.vglance__card { background: #fff; border: 1px solid var(--line); border-radius: var(--radius); padding: 20px; display: flex; flex-direction: column; gap: 10px; }
.vglance__card p { margin: 0; font-size: 14.5px; color: var(--ink-2); }
.vglance__k { font: 500 12px var(--mono); letter-spacing: 0.06em; text-transform: uppercase; color: var(--ink-3); }
.vglance__row { display: flex; flex-direction: column; padding: 10px 12px; border-radius: 10px; background: var(--bg-soft); }
.vglance__row.us { background: var(--accent-soft); }
.vglance__row span { font-size: 12.5px; color: var(--ink-3); }
.vglance__row.us span { color: var(--accent-ink); font-weight: 600; }
.vglance__row b { font-size: 16px; line-height: 1.3; }
.vbig { font-size: 24px; letter-spacing: -0.02em; }
.vflow { display: grid; grid-template-columns: 1fr 1fr; gap: 20px; margin-top: 28px; }
.vflow__lane { position: relative; padding: 24px; border: 1px solid var(--line); border-radius: var(--radius); background: #fff; }
.vflow__lane.us { border: 2px solid var(--accent); }
.vflow__name { display: block; font-size: 18px; margin-bottom: 14px; }
.vflow__lane ol { list-style: none; margin: 0; padding: 0; counter-reset: vf; }
.vflow__lane li { counter-increment: vf; position: relative; padding: 10px 12px 10px 46px; margin-bottom: 10px; background: var(--bg-soft); border-radius: 10px; font-size: 15.5px; }
.vflow__lane li::before { content: counter(vf); position: absolute; left: 12px; top: 10px; width: 24px; height: 24px; border-radius: 50%; background: var(--ink); color: #fff; font: 500 12px/24px var(--mono); text-align: center; }
.vflow__lane.us li { background: var(--accent-soft); }
.vflow__lane.us li::before { background: var(--accent); }
.vflow__lane li + li::after { content: ""; position: absolute; left: 23px; top: -11px; width: 2px; height: 12px; background: var(--line); }
.vflow__count { display: inline-block; margin-top: 4px; font: 500 13px var(--mono); color: var(--ink-3); }
.vflow__lane.us .vflow__count { color: var(--accent-ink); }
.vprice { display: grid; grid-template-columns: repeat(auto-fit, minmax(200px, 1fr)); gap: 14px; }
.vprice__card { background: #fff; border: 1px solid var(--line); border-radius: var(--radius); padding: 20px; }
.vprice__plan { font: 500 12px var(--mono); letter-spacing: 0.05em; text-transform: uppercase; color: var(--ink-3); }
.vprice__amt { display: block; margin: 8px 0; font-size: 20px; letter-spacing: -0.02em; line-height: 1.25; }
.vprice__card p { margin: 0; font-size: 14px; color: var(--ink-2); }
.vprice__src { display: block; margin-top: 10px; font-size: 13px; color: var(--ink-3); }
.vlimits { margin: 12px 0 0; padding-left: 20px; display: grid; gap: 8px; color: var(--ink-2); }
.vclips { display: grid; grid-template-columns: 1fr 1fr; gap: 24px; }
.vclips figure { margin: 0; }
.vclips .shot { margin-top: 0; }
.vclips figcaption { margin-top: 12px; font-size: 15px; color: var(--ink-2); }
.vquotes { display: grid; grid-template-columns: repeat(auto-fit, minmax(260px, 1fr)); gap: 16px; margin-top: 8px; }
.vquote { margin: 0; padding: 22px; background: #fff; border: 1px solid var(--line); border-radius: var(--radius); position: relative; }
.vquote::before { content: "“"; position: absolute; top: 6px; left: 16px; font: 600 44px/1 Georgia, serif; color: var(--accent); opacity: 0.35; }
.vquote p { margin: 14px 0 12px; font-size: 15.5px; color: var(--ink); }
.vquote footer { font-size: 13px; color: var(--ink-3); }
.cite { font-size: 0.7em; line-height: 0; }
.cite a { display: inline-block; min-width: 18px; padding: 1px 5px; margin-left: 2px; border-radius: 999px; background: var(--bg-soft); border: 1px solid var(--line); color: var(--accent-ink); text-decoration: none; text-align: center; font: 500 11px var(--mono); }
.vsec.soft .cite a { background: #fff; }
.vsrc { margin: 16px 0 0; padding-left: 22px; display: grid; gap: 8px; font-size: 14.5px; }
.vsrc a { color: var(--ink); }
.vsrc span { color: var(--ink-3); font-size: 13px; }
.vsrc li:target { background: var(--accent-soft); border-radius: 6px; }
.cmp--matrix th a { color: inherit; }
.cmp--matrix td, .cmp--matrix th { white-space: nowrap; }
@media (max-width: 900px) {
  .vpick, .vflow, .vclips { grid-template-columns: 1fr; }
  .vglance { grid-template-columns: 1fr 1fr; }
  .vsec { padding: 52px 0; }
}
@media (max-width: 520px) { .vglance { grid-template-columns: 1fr; } }

/* Downloads */
.btn svg { flex: none; }
.plat--4 { grid-template-columns: repeat(4, 1fr); }
.plat b svg { width: 18px; height: 18px; vertical-align: -3px; margin-right: 4px; }
.plat a + a { margin-left: 10px; }
.dlcards { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; margin-top: 32px; }
.dlcard { padding: 24px; border: 1px solid var(--line); border-radius: var(--radius); background: #fff; }
.dlcard.on { border: 2px solid var(--accent); }
.dlcard b { display: flex; align-items: center; gap: 8px; font-size: 20px; }
.dlcard b svg { width: 22px; height: 22px; }
.dlcard .btn { margin-top: 14px; }
.dlcard .note { margin: 6px 0 0; }
.dlcard:target { box-shadow: 0 0 0 4px var(--accent-soft); }
@media (max-width: 820px) { .plat--4, .dlcards { grid-template-columns: 1fr; } }
.soon { display: inline-block; font: 500 12px var(--mono); letter-spacing: 0.06em; text-transform: uppercase; color: var(--accent-ink); background: var(--accent-soft); border-radius: 999px; padding: 4px 10px; }

/* Account: sign up, log in, onboarding wizard, account home */
.auth [hidden], .wiz [hidden], .acct [hidden] { display: none !important; }
.auth { padding: 56px 20px 88px; background: var(--bg-soft); min-height: calc(100vh - var(--header-h)); }
/* Workshop photo behind the sign-up / log-in card. The original lives in the public Supabase
   Storage bucket "site-assets" (auth-bg.jpg); the render endpoint resizes it and serves WebP to
   browsers that support it. A dark overlay keeps the white card readable; until the photo is
   uploaded, the plain dark background shows. */
.auth {
  background-color: #1a1b1e;
  background-image: linear-gradient(rgba(17, 18, 20, 0.55), rgba(17, 18, 20, 0.7)), url("https://zveqsvizefgbicwvjvdu.supabase.co/storage/v1/render/image/public/site-assets/auth-bg.jpg?width=1920&height=1080&resize=cover&quality=70");
  background-size: cover;
  background-position: center;
}
@media (max-width: 960px) {
  .auth { background-image: linear-gradient(rgba(17, 18, 20, 0.55), rgba(17, 18, 20, 0.7)), url("https://zveqsvizefgbicwvjvdu.supabase.co/storage/v1/render/image/public/site-assets/auth-bg.jpg?width=960&height=1280&resize=cover&quality=68"); }
}
.auth .auth__card { box-shadow: 0 1px 2px rgba(0, 0, 0, 0.1), 0 24px 60px rgba(0, 0, 0, 0.35); }
.auth__card { width: min(440px, 100%); margin: 0 auto; background: var(--bg); border: 1px solid var(--line); border-radius: var(--radius); padding: 32px; box-shadow: 0 1px 2px rgba(0, 0, 0, 0.04), 0 12px 32px rgba(0, 0, 0, 0.05); }
.auth__card h1 { font-size: 28px; letter-spacing: -0.02em; margin: 0 0 6px; }
.auth__card .lede { font-size: 16px; margin: 0 0 20px; }
.auth__form { display: grid; gap: 14px; }
.auth__alt, .auth__legal { margin: 0; font-size: 14px; color: var(--ink-2); text-align: center; }
.auth__legal { font-size: 12px; color: var(--ink-3); }
.auth__msg { margin: 0; padding: 10px 12px; border-radius: 10px; font-size: 14px; background: #fdecec; color: #a11a1a; }
.auth__msg[data-kind="ok"] { background: #e8f6ef; color: var(--ok); }
.auth__sent h2 { margin: 0 0 8px; }
.btn--block { width: 100%; justify-content: center; }
.linkbtn { background: none; border: 0; padding: 0; font: inherit; color: var(--accent-ink); text-decoration: underline; cursor: pointer; }
.field { display: grid; gap: 6px; font-size: 14px; font-weight: 500; }
.field small { font-weight: 400; color: var(--ink-3); }
.field input, .field select, .field textarea { font: 400 16px/1.4 var(--font); color: var(--ink); background: var(--bg); border: 1px solid var(--line); border-radius: 10px; padding: 11px 12px; width: 100%; }
.field input:focus, .field select:focus, .field textarea:focus { outline: 2px solid var(--accent); outline-offset: 0; border-color: transparent; }
.field textarea { resize: vertical; }

.wiz { padding: 48px 0 96px; }
.wiz h1 { font-size: clamp(30px, 4vw, 40px); letter-spacing: -0.03em; margin: 4px 0 6px; }
.wiz__dots { display: flex; gap: 8px; list-style: none; padding: 0; margin: 24px 0 8px; }
.wiz__dot { flex: 1; height: 6px; border-radius: 3px; background: var(--line); font-size: 0; transition: background 0.2s; }
.wiz__dot.on { background: var(--accent); }
.wiz__count { margin: 0 0 4px; font: 500 12px/1 var(--mono); color: var(--ink-3); text-transform: uppercase; letter-spacing: 0.06em; }
.wiz__form { display: grid; gap: 18px; }
.wiz__step { border: 0; padding: 0; margin: 0; display: grid; gap: 16px; min-width: 0; }
.wiz__step legend { padding: 0; }
.wiz__step legend { float: left; width: 100%; }
.wiz__step legend + * { clear: both; }
.wiz__step legend h2 { font-size: 24px; line-height: 1.25; letter-spacing: -0.02em; margin: 8px 0 0; }
.wiz__step .lede { margin: 0; font-size: 16px; }
.wiz__step h3 { font-size: 16px; margin: 8px 0 8px; }
.wiz__nav { display: flex; justify-content: space-between; gap: 12px; }
.wiz__nav [data-next] { margin-left: auto; min-width: 140px; justify-content: center; }
.wiz__skip { text-align: center; margin: 0; font-size: 14px; }
.chips { display: flex; flex-wrap: wrap; gap: 8px; }
.chip input, .choice input { position: absolute; opacity: 0; pointer-events: none; }
.chip span { display: inline-block; padding: 8px 14px; border: 1px solid var(--line); border-radius: 999px; font-size: 15px; cursor: pointer; background: var(--bg); transition: border-color 0.15s, background 0.15s; }
.chip span:hover { border-color: var(--ink-3); }
.chip input:checked + span { background: var(--accent-soft); border-color: var(--accent); color: var(--accent-ink); }
.chip input:focus-visible + span, .choice input:focus-visible + span { outline: 2px solid var(--accent); outline-offset: 2px; }
.choices { display: grid; gap: 10px; grid-template-columns: repeat(auto-fit, minmax(220px, 1fr)); }
.choices--grid { grid-template-columns: repeat(auto-fit, minmax(160px, 1fr)); }
.choice span { display: grid; gap: 2px; height: 100%; padding: 14px 16px; border: 1px solid var(--line); border-radius: 12px; cursor: pointer; background: var(--bg); }
.choice--sm span { padding: 10px 14px; font-size: 15px; }
.choice small { color: var(--ink-2); font-size: 14px; }
.choice input:checked + span { border-color: var(--accent); background: var(--accent-soft); box-shadow: inset 0 0 0 1px var(--accent); }
.row2 { display: grid; gap: 14px; grid-template-columns: 1fr 1fr; }
.flowq { border: 1px solid var(--line); border-radius: 12px; padding: 16px; }
.flowq h3 { display: flex; align-items: center; gap: 8px; margin: 0; }
.flowq h3 span { display: inline-grid; place-items: center; width: 22px; height: 22px; border-radius: 50%; background: var(--ink); color: #fff; font-size: 12px; }
.flowq p { margin: 2px 0 10px; font-size: 14px; color: var(--ink-2); }
@media (max-width: 560px) { .row2 { grid-template-columns: 1fr; } .auth__card { padding: 24px 20px; } }

.acct { padding: 56px 0 96px; }
.acct h1 { font-size: clamp(30px, 4vw, 40px); letter-spacing: -0.03em; margin: 4px 0; }
.acct__grid { display: grid; gap: 16px; grid-template-columns: repeat(auto-fit, minmax(240px, 1fr)); margin: 28px 0; }
.acct .card { padding: 20px; }
.badge { display: inline-block; padding: 2px 10px; border-radius: 999px; background: var(--bg-soft); border: 1px solid var(--line); font-size: 13px; font-weight: 500; }
.note--ok { background: #e8f6ef; color: var(--ok); border-radius: 12px; padding: 12px 16px; margin-bottom: 20px; }
.hdr__login { text-decoration: none; font-size: 15px; font-weight: 500; color: var(--ink); white-space: nowrap; }
.hdr__login:hover { color: var(--accent-ink); }

/* Pricing */
.pricing { padding: 64px 0 40px; }
.pricing h1 { font-size: clamp(34px, 5vw, 52px); letter-spacing: -0.03em; margin: 6px 0 10px; }
.plans { display: grid; gap: 20px; grid-template-columns: repeat(3, 1fr); margin-top: 40px; align-items: start; }
.plan { position: relative; border: 1px solid var(--line); border-radius: var(--radius); padding: 28px; background: var(--bg); display: grid; gap: 12px; }
.plan--pro { border-color: var(--accent); box-shadow: 0 0 0 1px var(--accent), 0 16px 40px rgba(255, 91, 31, 0.08); }
.plan h2 { margin: 0; font-size: 20px; }
.plan__badge { position: absolute; top: -12px; left: 28px; background: var(--accent); color: #fff; font: 600 12px/1 var(--font); padding: 6px 10px; border-radius: 999px; }
.plan__price { margin: 0; }
.plan__price b { font-size: 44px; letter-spacing: -0.03em; }
.plan__price span, .plan__alt { color: var(--ink-3); font-size: 15px; }
.plan__alt { margin: -10px 0 0; }
.plan__lead { margin: 0; color: var(--ink-2); font-size: 15.5px; min-height: 48px; }
.plan__second { background: var(--bg-soft); }
.plan__link { font-size: 14px; color: var(--accent-ink); text-align: center; }
.plan .ticks { margin-top: 6px; }
.plans__msg { max-width: 560px; margin: 20px auto 0; text-align: center; }
.rules { display: grid; gap: 16px; grid-template-columns: repeat(3, 1fr); margin: 40px 0 0; padding: 24px; background: var(--bg-soft); border-radius: var(--radius); }
.rules div { display: grid; gap: 4px; font-size: 15px; }
.rules span { color: var(--ink-2); }
.pricing [hidden] { display: none !important; }
@media (max-width: 900px) { .plans, .rules { grid-template-columns: 1fr; } }
.plancard { display: flex; flex-wrap: wrap; justify-content: space-between; align-items: center; gap: 16px; border: 1px solid var(--line); border-radius: var(--radius); padding: 20px 24px; margin-top: 28px; }
.plancard h2 { margin: 2px 0 4px; font-size: 24px; }
.plancard p { margin: 0; color: var(--ink-2); }
.plancard__actions { display: flex; gap: 10px; }
.pricing .sec-head { max-width: 720px; margin: 0 auto; }

.card__img--photo { background: #fff; aspect-ratio: 4 / 3; }
.card__img--photo img { object-fit: contain; object-position: center; }
