@import url('https://fonts.googleapis.com/css2?family=Geist:wght@100..900&family=Geist+Mono:wght@100..900&display=swap');

:root {
  color-scheme: light;
  --paper: #fff;
  --ink: #0a0a0a;
  --secondary: #595959;
  --card: #fff;
  --muted: #f5f5f5;
  --line: #e5e5e5;
  --input: #a3a3a3;
  --primary: #171717;
  --on-primary: #fafafa;
  --ring: #737373;
  --grid: #7373730c;
  --blue: #087ea4;
  background: var(--paper);
  color: var(--ink);
  font: 16px/1.55 Geist, Inter, ui-sans-serif, system-ui, sans-serif;
}

@media (prefers-color-scheme: dark) {
  :root:not([data-theme='light']) {
    color-scheme: dark;
    --paper: #0a0a0a;
    --ink: #fafafa;
    --secondary: #a3a3a3;
    --card: #171717;
    --muted: #171717;
    --line: #292929;
    --input: #525252;
    --primary: #e5e5e5;
    --on-primary: #171717;
    --ring: #a3a3a3;
    --grid: #a3a3a30c;
    --blue: #58c4dc;
    --code-accent: #edb781;
  }
}
:root[data-theme='dark'] {
  color-scheme: dark;
  --paper: #0a0a0a;
  --ink: #fafafa;
  --secondary: #a3a3a3;
  --card: #171717;
  --muted: #171717;
  --line: #292929;
  --input: #525252;
  --primary: #e5e5e5;
  --on-primary: #171717;
  --ring: #a3a3a3;
  --grid: #a3a3a30c;
  --blue: #58c4dc;
  --code-accent: #edb781;
}
* { box-sizing: border-box; }
body { margin: 0; }
a { color: var(--ink); text-underline-offset: 4px; }
a:focus-visible, button:focus-visible, input:focus-visible, select:focus-visible, iframe:focus-visible { outline: 2px solid var(--ring); outline-offset: 3px; }
button, select, input { font: inherit; }
button { cursor: pointer; }
[hidden] { display: none !important; }
p, h1, h2, h3 { margin: 0; }
p { color: var(--secondary); }
img { display: block; max-width: 100%; }
code, pre { font-family: 'Geist Mono', ui-monospace, SFMono-Regular, Consolas, monospace; }
.shell { width: min(1160px, calc(100% - 64px)); margin-inline: auto; }
.skip { position: absolute; left: 16px; top: 8px; transform: translateY(-200%); }
.skip:focus { transform: none; background: var(--paper); padding: 8px; z-index: 10; }
.masthead { position: sticky; top: 0; z-index: 5; width: 100%; min-height: 64px; display: flex; align-items: center; gap: 14px; padding-inline: max(24px, calc((100% - 1200px) / 2)); border-bottom: 1px solid var(--line); background: var(--paper); }
.icon { width: 16px; height: 16px; flex: none; fill: none; stroke: currentColor; stroke-width: 1.7; stroke-linecap: round; stroke-linejoin: round; }
.header-tools { display: flex; gap: 8px; align-items: center; margin-inline-start: auto; }
.header-search { display: inline-flex; min-height: 36px; min-width: 150px; padding-inline: 12px; align-items: center; gap: 8px; border: 1px solid var(--line); border-radius: 7px; color: var(--secondary); background: var(--card); font-size: 14px; }
.header-search:hover { color: var(--ink); border-color: var(--ring); }
.brand { display: flex; align-items: center; min-width: 0; gap: 8px; color: var(--ink); }
.brand img { flex: none; }
.wordmark { display: inline-flex; align-items: center; font-weight: 700; font-size: 17px; letter-spacing: -.045em; white-space: nowrap; }
.brand-dot { display: inline-block; width: 5px; height: 5px; background: currentColor; border-radius: 50%; margin-inline: 3px; }
.surface-label { display: inline-flex; align-items: center; min-height: 32px; margin-left: 6px; border: 1px solid var(--line); border-radius: 6px; padding-inline: 8px; font-size: 13px; font-weight: 500; white-space: nowrap; }
.surface-label { gap: 6px; }
.masthead a, .button, .row-links a, .inventory a { text-decoration: none; }
nav { display: flex; flex-wrap: wrap; align-items: center; gap: 3px 18px; font-size: 14px; }
nav a { display: inline-flex; align-items: center; min-height: 44px; color: var(--secondary); }
nav a[aria-current='page'], nav a:hover { color: var(--ink); }
.theme-control { position: relative; display: grid; place-items: center; min-width: 38px; min-height: 36px; border: 1px solid var(--line); border-radius: 7px; background: var(--card); }
.theme-control:hover { border-color: var(--ring); }
.theme-control:focus-within { outline: 2px solid var(--ring); outline-offset: 3px; }
.theme-control select { position: absolute; inset: 0; width: 100%; height: 100%; min-height: 0; opacity: 0; cursor: pointer; }
.hero-band { border-bottom: 1px solid var(--line); position: relative; isolation: isolate; }
.hero-band::before { position: absolute; content: ''; inset: 0; z-index: -1; mask-image: linear-gradient(#000 35%, transparent); background-image: linear-gradient(var(--grid) 1px, transparent 1px), linear-gradient(90deg, var(--grid) 1px, transparent 1px); background-size: 44px 44px; }
.hero { text-align: center; max-width: 900px; padding-block: 48px 76px; }
.hero-kicker { display: inline-flex; gap: 10px; align-items: center; min-height: 32px; border: 1px solid var(--line); border-radius: 999px; background: var(--muted); padding-inline: 12px; text-decoration: none; font-size: 12px; font-weight: 600; }
.kicker-label { display: inline-flex; align-items: center; gap: 6px; }
.kicker-label::before { content: ''; width: 6px; height: 6px; border-radius: 50%; background: var(--primary); }
.kicker-counts { color: var(--secondary); border-left: 1px solid var(--line); padding-left: 10px; font-weight: 450; }
.hero-kicker:hover, .inventory a:hover { border-color: var(--ring); }
h1, h2 { letter-spacing: -.047em; font-weight: 650; line-height: 1.1; }
h1 { font-size: clamp(2.5rem, 5.55vw, 4.25rem); }
h2 { font-size: clamp(1.85rem, 4.3vw, 2.85rem); }
.hero h1 { max-width: 26ch; margin: 20px auto 13px; font-size: clamp(1.95rem, 3.6vw, 2.75rem); font-weight: 700; line-height: 1.05; letter-spacing: -.025em; text-wrap: balance; }
.hero-platform { color: var(--blue); white-space: nowrap; }
.hero-platform img { display: inline-block; vertical-align: -.045em; margin-right: .22em; width: .78em; height: .78em; }
.hero-underline { text-decoration: underline; text-decoration-color: var(--blue); text-decoration-thickness: 2px; text-underline-offset: .14em; }
.hero-description { max-width: 44rem; margin-inline: auto; font-size: .9375rem; line-height: 1.45; text-wrap: pretty; }
.hero-description strong { color: var(--ink); font-weight: 550; }
.actions, .inventory { display: flex; flex-wrap: wrap; align-items: center; gap: 9px; }
.hero .actions { justify-content: center; margin-top: 23px; }
.hero .button { min-height: 36px; }
.button { width: fit-content; display: inline-flex; min-height: 40px; align-items: center; justify-content: center; gap: 7px; padding: 7px 14px; border: 1px solid var(--line); border-radius: 7px; background: var(--paper); color: var(--ink); font-size: 14px; font-weight: 550; }
.button:hover { background: var(--muted); }
.button.filled { border-color: var(--primary); color: var(--on-primary); background: var(--primary); }
.button.filled:hover { opacity: .87; }
.inventory { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); margin: 24px auto 18px; gap: 12px; text-align: start; max-width: 868px; }
.inventory a, .starter-features li { padding: 14px 16px; min-height: 84px; display: flex; align-items: center; gap: 12px; background: var(--card); }
.inventory a { border: 1px solid var(--line); border-radius: 12px; }
.inventory .icon, .starter-features .icon { color: var(--secondary); width: 18px; height: 18px; }
.inventory strong, .starter-features strong { display: block; font-size: 14px; font-weight: 600; line-height: 1.35; }
.inventory small, .starter-features small { display: block; color: var(--secondary); font-size: 12px; line-height: 1.35; margin-top: 2px; }
.command.hero-command { grid-template-columns: auto minmax(0, 1fr) auto; max-width: 575px; margin-inline: auto; text-align: start; }
.hero-command .prompt { align-self: stretch; display: grid; place-items: center; padding-inline: 12px; color: var(--secondary); border-right: 1px solid var(--line); }
.command.hero-command pre { padding-block: 9px; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.hero-command button { display: inline-flex; align-items: center; gap: 6px; min-height: 38px; align-self: stretch; }
.hero-command .icon { width: 13px; height: 13px; }
.hero-command code span { color: var(--code-accent, #9a4a14); }
.hero-note { margin-top: 8px; font-size: 12px; }
.demo-band { background: var(--muted); border-bottom: 1px solid var(--line); }
.starter-strip { display: grid; grid-template-columns: minmax(0, .9fr) minmax(0, 1.25fr); gap: 46px; align-items: center; max-width: 1110px; padding-block: 64px; scroll-margin-top: 80px; }
.eyebrow { font-size: 13px; font-weight: 500; }
.starter-strip h2, .catalog-showcase h2, .section h2 { font-size: clamp(1.625rem, 2.6vw, 2rem); font-weight: 700; letter-spacing: -.025em; }
.starter-strip h2 { margin-block: 14px; text-wrap: balance; }
.starter-strip p:not(.eyebrow) { max-width: 46ch; font-size: 15px; line-height: 1.6; }
.starter-strip .actions { margin-top: 20px; }
.starter-features { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 1px; overflow: hidden; list-style: none; margin: 0; padding: 0; border: 1px solid var(--line); border-radius: 14px; background: var(--line); }
.starter-features li { min-height: 72px; }
.catalog-showcase { padding-block: 60px; text-align: center; }
.catalog-showcase h2 { margin: 12px 0 8px; }
.catalog-showcase p:not(.eyebrow) { font-size: 15px; }
.demo-strip { display: grid; grid-template-columns: minmax(0,1fr) minmax(200px, .64fr); gap: 36px; align-items: center; margin: 30px auto 24px; max-width: 960px; padding: 25px; border-radius: 15px; background: var(--paper); border: 1px solid var(--line); }
.example-list { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 10px; text-align: start; }
.example-list a { display: grid; align-content: center; gap: 4px; min-height: 115px; padding: 14px; border: 1px solid var(--line); border-radius: 10px; background: var(--card); text-decoration: none; }
.example-list a:hover { border-color: var(--ring); }
.example-list strong { font-size: .92rem; }
.example-list span { color: var(--secondary); font-size: 13px; }
.demo-strip .demo-phone { display: block; margin-inline: auto; max-width: 228px; width: 100%; }
.demo-phone img { height:100%; width:100%; object-fit:cover; object-position:top; }
.section { padding-block: 55px; border-bottom: 1px solid var(--line); scroll-margin-top: 78px; }
#query { scroll-margin-top: 104px; }
.section-heading { display: flex; justify-content: space-between; align-items: end; gap: 20px; margin-bottom: 26px; }
.section p { margin-top: 10px; }
.filters { display: grid; grid-template-columns: minmax(0, 1fr) minmax(145px, 210px); gap: 12px; }
.filters label { display: grid; gap: 6px; font-size: 14px; font-weight: 600; }
input, select { width: 100%; min-height: 44px; border: 1px solid var(--input); border-radius: 6px; padding: 9px 12px; background: var(--paper); color: var(--ink); }
.status { font-size: 14px; }
.result-list { list-style: none; padding: 0; margin: 15px 0 22px; border-top: 1px solid var(--line); }
.result-list:empty { border: 0; }
.item { display: grid; grid-template-columns: minmax(0, 1fr) auto; align-items: center; gap: 12px; padding: 13px 0; border-bottom: 1px solid var(--line); }
.item h3 { font-size: 1rem; font-weight: 650; }
.item p { margin-top: 3px; font-size: .9rem; max-width: 72ch; }
.row-links { display: flex; flex-wrap: wrap; align-items: center; justify-content: flex-end; gap: 6px 14px; }
.row-links span { font-size: 13px; color: var(--secondary); }
.row-links a { display: inline-flex; align-items: center; min-height: 44px; font-size: 14px; font-weight: 550; }
.row-links a:hover, .footer a:hover { text-decoration: underline; }
.guide { display: grid; grid-template-columns: minmax(175px, .75fr) minmax(0, 1.55fr); gap: 36px 55px; }
.steps { display: grid; min-width: 0; gap: 19px; }
.steps h3 { margin-bottom: 6px; font-size: 16px; }
.command { display: grid; grid-template-columns: minmax(0, 1fr) auto; gap: 0; border: 1px solid var(--line); border-radius: 8px; background: var(--muted); color: var(--ink); }
.command pre { margin: 0; overflow: auto; padding: 12px; font-size: .84rem; line-height: 1.65; white-space: pre-wrap; overflow-wrap: anywhere; }
.command button { min-height: 44px; align-self: start; padding-inline: 12px; border: 0; border-left: 1px solid var(--line); background: transparent; color: var(--secondary); font-size: 13px; font-weight: 550; border-radius: 0 8px 8px 0; }
.command button:hover { color: var(--ink); }
.footer { padding-block: 24px; display: flex; flex-wrap: wrap; gap: 12px 24px; font-size: 14px; }
.footer span { margin-right: auto; font-weight: 650; }
.setup-main { max-width: 820px; padding-block: clamp(42px, 7vw, 84px); }
.setup-main h1 { font-size: clamp(2.6rem, 5.5vw, 4.25rem); }
.setup-main h2 { font-size: clamp(2rem, 4.5vw, 2.6rem); }
.setup-main h3 { margin: 20px 0 7px; overflow-wrap: anywhere; }
.setup-main p { margin-block: 12px; max-width: 72ch; }
.setup-main section { margin-top: 40px; padding-top: 28px; border-top: 1px solid var(--line); scroll-margin-top: 78px; }
.setup-main p code { overflow-wrap: anywhere; }
@media (max-width: 820px) {
  .shell { width: calc(100% - 36px); }
  .masthead { width: 100%; flex-wrap: wrap; gap: 0 10px; padding: 9px 18px 0; }
  .masthead nav { order: 3; width: 100%; gap: 12px; }
  .guide, .starter-strip { grid-template-columns: 1fr; }
  .starter-strip { gap: 26px; padding-block: 44px; }
  .demo-strip { gap: 22px; }
  .inventory { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .section, .starter-strip, .setup-main section { scroll-margin-top: 115px; }
  #query { scroll-margin-top: 129px; }
}
@media (max-width: 520px) {
  .hero { padding-block: 34px 44px; }
  .header-search, .theme-control { min-width: 38px; min-height: 36px; justify-content: center; padding-inline: 0; }
  .header-search span { display: none; }
  .masthead .brand { gap: 6px; }
  .masthead .brand > img { width: 28px; height: 28px; }
  .masthead .surface-label { margin-left: 0; padding-inline: 6px; font-size: 12px; }
  .header-tools { gap: 5px; }
  .masthead nav { gap: 4px 11px; font-size: 13px; }
  .masthead .optional-nav { display: none; }
  .hero .button { min-height: 44px; }
  .filters, .demo-strip { grid-template-columns: 1fr; }
  .starter-features { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .inventory a { min-height: 69px; gap: 8px; padding: 8px 10px; }
  .example-list a { min-height: 85px; }
  .section-heading { flex-direction: column; align-items: flex-start; gap: 9px; }
  .item { grid-template-columns: 1fr; gap: 3px; }
  .row-links { justify-content: flex-start; }
}
