:root {
  color-scheme: dark;
  --bg: #0c0c0f;
  --panel: #121217;
  --ink: #f4f4f6;
  --muted: #aaaab5;
  --purple: #a855f7;
  --bright: #c084fc;
  --line: #30303b;
  --glow: 168, 85, 247;
  --link-hover: #e4c2ff;
  --code: #e5c7ff;
  --quote-bg: #1b1524;
}
.theme-terminal {
  --bg: #071017;
  --panel: #0c1921;
  --ink: #effcff;
  --muted: #a7bdc5;
  --purple: #26e0df;
  --bright: #70eeff;
  --line: #20424c;
  --glow: 0, 213, 245;
  --link-hover: #c5faff;
  --code: #a4f6f3;
  --quote-bg: #0c252c;
}
.theme-ghosted {
  --bg: #0c0914;
  --panel: #140f21;
  --ink: #f6f3ff;
  --muted: #b3a8cc;
  --purple: #b44cff;
  --bright: #67e8f9;
  --line: #33264d;
  --glow: 180, 76, 255;
  --link-hover: #a5f3fc;
  --code: #d8b4fe;
  --quote-bg: #1d1430;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  background: var(--bg);
  color: var(--ink);
  font: 400 1rem/1.65 "Source Sans 3", sans-serif;
}
body::before {
  content: "";
  position: fixed;
  inset: 0;
  background: radial-gradient(ellipse 60% 40% at 50% -10%, rgba(var(--glow), .12), transparent 70%),
    linear-gradient(var(--line) 1px, transparent 1px),
    linear-gradient(90deg, var(--line) 1px, transparent 1px);
  background-size: auto, 48px 48px, 48px 48px;
  opacity: .35;
  pointer-events: none;
  z-index: -1;
}
a { color: var(--bright); }
a:hover { color: var(--link-hover); }
a:focus-visible { outline: 3px solid var(--bright); outline-offset: 4px; }
.skip-link { position: absolute; top: -100px; left: 1rem; z-index: 20; padding: .5rem 1rem; background: var(--ink); color: var(--bg); }
.skip-link:focus { top: 1rem; color: var(--bg); }
.wrap { width: min(1140px, 100% - 48px); margin-inline: auto; }
.site-header { border-bottom: 1px solid var(--line); background: var(--bg); }
.nav { min-height: 64px; display: flex; justify-content: space-between; align-items: center; gap: 20px; }
.brand { color: var(--ink); font-size: .8rem; font-weight: 900; letter-spacing: .16em; text-transform: uppercase; text-decoration: none; }
.brand span, .accent { color: var(--purple); }
.brand-divider { padding-inline: .25em; }
.nav-links, .footer-inner div { display: flex; flex-wrap: wrap; gap: 22px; }
.nav-links a, .footer-inner a { color: var(--muted); font: 700 .68rem/1.5 "JetBrains Mono", monospace; letter-spacing: .1em; text-transform: uppercase; text-decoration: none; }
.nav-links a:hover, .nav-links a[aria-current="page"], .footer-inner a:hover { color: var(--bright); }
.hero { padding: 70px 0 110px; }
.suite-banner { display: block; max-width: 800px; margin: 0 auto 40px; }
.suite-banner img { display: block; width: 100%; max-width: 100%; height: auto; }
.product-hero { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, min(320px, 35%)); align-items: center; gap: 30px; padding: 105px 0 85px; }
.product-copy { min-width: 0; }
.product-art { display: block; width: 100%; max-width: 320px; height: auto; }
.kicker, .card-number { color: var(--bright); font: 700 .72rem/1.5 "JetBrains Mono", monospace; letter-spacing: .22em; text-transform: uppercase; }
h1, h2, h3 { font-weight: 900; line-height: 1.08; }
h1 { margin: 22px 0 28px; font-size: clamp(3.2rem, 9vw, 6.6rem); letter-spacing: -.035em; text-transform: uppercase; }
.hero h1.kicker { margin: 0 0 20px; font: 700 .72rem/1.5 "JetBrains Mono", monospace; letter-spacing: .22em; }
h1 span { color: var(--purple); text-shadow: 0 0 40px rgba(var(--glow), .35); }
h2 { font-size: clamp(2rem, 4vw, 3rem); margin: 15px 0; }
.lede { max-width: 680px; color: #c8c8d1; font-size: clamp(1.15rem, 2vw, 1.35rem); }
.hero-note, .fine-print { color: var(--muted); }
.hero-note { margin: 26px 0 34px; }
.button-row { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 32px; }
.button { display: inline-block; padding: 16px 24px; background: var(--purple); color: var(--bg); font: 700 .75rem/1.4 "JetBrains Mono", monospace; letter-spacing: .1em; text-align: center; text-decoration: none; text-transform: uppercase; }
.button:hover { background: var(--bright); color: var(--bg); box-shadow: 0 0 30px rgba(var(--glow), .3); }
.button-outline { border: 1px solid var(--line); background: transparent; color: var(--ink); }
.button-outline:hover { border-color: var(--purple); background: transparent; color: var(--bright); box-shadow: none; }
.fine-print { font-size: .9rem; }
.tools-section { padding: 0 0 100px; }
.section-heading { display: flex; align-items: end; justify-content: space-between; gap: 20px; margin-bottom: 28px; }
.section-heading > p { color: var(--muted); }
.tool-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 20px; }
.tool-card { display: flex; flex-direction: column; padding: 32px; border: 1px solid var(--line); background: var(--panel); }
.card-art { display: block; width: 180px; max-width: 100%; height: auto; align-self: center; margin-bottom: 18px; }
.tool-card h3 { margin: 20px 0 8px; font-size: 1.8rem; }
.tool-card > p:not(.card-number) { color: #c8c8d1; }
.text-link { margin-top: auto; padding-top: 20px; color: var(--bright); font: 700 .75rem/1.5 "JetBrains Mono", monospace; letter-spacing: .08em; text-decoration: none; text-transform: uppercase; }
.text-link:hover { text-decoration: underline; }
.card-links { margin-top: auto; padding-top: 20px; display: flex; flex-wrap: wrap; gap: 12px 18px; align-items: center; }
.card-links .text-link { margin-top: 0; padding-top: 0; }
.docs-section { padding: 0 0 100px; }
.docs-intro { color: var(--muted); margin-bottom: 32px; }
.video-embed { max-width: 900px; aspect-ratio: 16 / 9; border: 1px solid var(--line); background: #000; margin-bottom: 12px; }
.video-embed iframe { display: block; width: 100%; height: 100%; border: 0; }
.readme { max-width: 900px; padding: clamp(20px, 4vw, 48px); background: var(--panel); border: 1px solid var(--line); overflow-wrap: anywhere; }
.readme h1 { font-size: clamp(2rem, 5vw, 3.2rem); }
.readme h2 { font-size: 1.8rem; margin-top: 2em; }
.readme h3 { font-size: 1.25rem; margin-top: 1.6em; }
.readme p, .readme li { color: #d3d3db; }
.readme li { margin: .55em 0; }
.readme img { max-width: 100%; height: auto; }
.readme hr { border: 0; border-top: 1px solid var(--line); margin: 2.5rem 0; }
.readme code { font: .9em/1.6 "JetBrains Mono", monospace; color: var(--code); }
.readme pre { padding: 18px; overflow-x: auto; background: #09090c; border: 1px solid var(--line); overflow-wrap: normal; }
.readme blockquote { margin: 1.5em 0; padding: .2em 1em; border-left: 3px solid var(--purple); background: var(--quote-bg); }
.readme-table-wrap { overflow-x: auto; margin: 1.5em 0; }
.readme table { width: 100%; border-collapse: collapse; font-size: .92rem; }
.readme th, .readme td { padding: 10px 12px; border: 1px solid var(--line); text-align: left; vertical-align: top; }
.readme th { color: var(--ink); background: rgba(var(--glow), .08); font-weight: 700; }
.readme td { color: #d3d3db; }
.readme th[align="right"], .readme td[align="right"] { text-align: right; white-space: nowrap; }
.site-footer { border-top: 1px solid var(--line); background: var(--bg); }
.footer-inner { display: flex; justify-content: space-between; flex-wrap: wrap; gap: 24px; padding-block: 35px; color: var(--muted); font-size: .85rem; }
@media (max-width: 900px) {
  .tool-grid { grid-template-columns: 1fr; }
}
@media (max-width: 680px) {
  .nav { align-items: flex-start; flex-direction: column; padding-block: 16px; }
  .nav-links { gap: 12px 18px; }
  .hero { padding: 40px 0 80px; }
  .suite-banner { max-width: 320px; margin-bottom: 40px; }
  .product-hero { grid-template-columns: 1fr; padding: 70px 0; }
  .product-art { width: min(100%, 280px); justify-self: center; }
  .section-heading { align-items: flex-start; flex-direction: column; }
  .tool-grid { grid-template-columns: 1fr; }
  .tool-card { padding: 24px; }
}
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } }
