:root {
  color-scheme: dark;
  --bg: #09090a;
  --subtle: #111113;
  --raised: #161618;
  --hover: #1f1f23;
  --line: #2a2a2e;
  --line-strong: #44444b;
  --text: #ededef;
  --body: #b4b4bc;
  --muted: #8a8a93;
  --acid: #d4ff3a;
  --acid-hover: #deff60;
  --accent: #d4ff3a;
  --accent-soft: rgb(212 255 58 / 0.07);
  --ok: #5eead4;
  --amber: #facc15;
  --nav: rgb(9 9 10 / 0.92);
  --shadow: rgb(0 0 0 / 0.35);
  --sans: Geist, -apple-system, BlinkMacSystemFont, sans-serif;
  --mono: "Geist Mono", ui-monospace, monospace;
}
:root[data-mode="light"] {
  color-scheme: light;
  --bg: #f4f4f2;
  --subtle: #fff;
  --raised: #f7f7f5;
  --hover: #ededea;
  --line: #dededa;
  --line-strong: #bdbdb7;
  --text: #18181b;
  --body: #45454d;
  --muted: #696972;
  --acid-hover: #c9f22e;
  --accent: #526900;
  --accent-soft: #f0f5df;
  --ok: #087d6b;
  --amber: #936500;
  --nav: rgb(244 244 242 / 0.94);
  --shadow: rgb(9 9 10 / 0.09);
}
@media (prefers-color-scheme: light) {
  :root:not([data-mode]) {
    color-scheme: light;
    --bg: #f4f4f2;
    --subtle: #fff;
    --raised: #f7f7f5;
    --hover: #ededea;
    --line: #dededa;
    --line-strong: #bdbdb7;
    --text: #18181b;
    --body: #45454d;
    --muted: #696972;
    --acid-hover: #c9f22e;
    --accent: #526900;
    --accent-soft: #f0f5df;
    --ok: #087d6b;
    --amber: #936500;
    --nav: rgb(244 244 242 / 0.94);
    --shadow: rgb(9 9 10 / 0.09);
  }
}
* {
  box-sizing: border-box;
}
html {
  scroll-behavior: auto;
  scroll-padding-top: 88px;
}
body {
  margin: 0;
  background: var(--bg);
  color: var(--text);
  font: 15px/1.65 var(--sans);
  -webkit-font-smoothing: antialiased;
}
a {
  color: inherit;
  text-decoration: none;
}
button,
input {
  font: inherit;
}
button {
  cursor: pointer;
}
button,
a,
input,
summary {
  -webkit-tap-highlight-color: transparent;
}
:focus-visible {
  outline: 2px solid var(--accent);
  outline-offset: 5px;
  border-radius: 4px;
}
::selection {
  background: var(--acid);
  color: #09090a;
}
[hidden] {
  display: none !important;
}
img {
  display: block;
  max-width: 100%;
}
svg.icon {
  width: 18px;
  height: 18px;
  flex: none;
  fill: none;
  stroke: currentColor;
  stroke-width: 1.65;
  stroke-linecap: round;
  stroke-linejoin: round;
}
h1,
h2,
h3,
h4,
p {
  margin: 0;
}
h1,
h2,
h3,
h4 {
  font-weight: 550;
}
h1,
h2 {
  text-wrap: balance;
}
.wrap {
  max-width: 1200px;
  padding: 0 32px;
  margin: 0 auto;
}
.mono,
code,
pre,
kbd {
  font-family: var(--mono);
}
.accent {
  color: var(--accent);
}
.muted {
  color: var(--muted);
}
.eyebrow {
  color: var(--accent);
  font: 500 11px/1.5 var(--mono);
  letter-spacing: 0.08em;
  text-transform: uppercase;
}
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 9px;
  min-height: 46px;
  padding: 0 19px;
  border: 1px solid var(--line-strong);
  border-radius: 8px;
  background: transparent;
  color: var(--text);
  font-size: 14px;
  font-weight: 500;
  transition:
    background 0.15s,
    border-color 0.15s;
}
.btn:hover {
  background: var(--hover);
  border-color: var(--muted);
}
.btn-primary {
  background: var(--acid);
  border-color: var(--acid);
  color: #09090a;
}
.btn-primary:hover {
  background: var(--acid-hover);
  border-color: var(--acid-hover);
}
.btn-small {
  min-height: 36px;
  padding: 0 14px;
  font-size: 13px;
}
.text-link {
  color: var(--accent);
  font-weight: 500;
  display: inline-flex;
  gap: 8px;
  align-items: center;
}
.text-link:hover {
  text-decoration: underline;
  text-underline-offset: 4px;
}
.skip-link {
  position: fixed;
  top: -100px;
  left: 16px;
  z-index: 100;
  padding: 12px 18px;
  background: var(--acid);
  color: #09090a;
  border-radius: 6px;
}
.skip-link:focus {
  top: 12px;
}
.site-nav {
  position: sticky;
  top: 0;
  z-index: 30;
  border-bottom: 1px solid var(--line);
  background: var(--nav);
  backdrop-filter: blur(16px);
}
.nav-inner {
  height: 72px;
  display: flex;
  align-items: center;
  gap: 48px;
}
.brand {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font: 500 20px/1 var(--mono);
  letter-spacing: -0.055em;
}
.brand img {
  width: 32px;
  height: 32px;
}
.nav-links {
  display: flex;
  list-style: none;
  gap: 27px;
  padding: 0;
  margin: 0;
  font-size: 13px;
  color: var(--body);
}
.nav-links a:hover {
  color: var(--text);
}
.nav-actions {
  margin-left: auto;
  display: flex;
  align-items: center;
  gap: 14px;
}
.icon-button {
  display: inline-grid;
  place-items: center;
  width: 36px;
  height: 36px;
  border: 1px solid transparent;
  border-radius: 7px;
  color: var(--muted);
  background: transparent;
}
.icon-button:hover {
  background: var(--hover);
  color: var(--text);
}
.theme-toggle .moon,
:root[data-mode="light"] .theme-toggle .sun {
  display: none;
}
:root[data-mode="light"] .theme-toggle .moon {
  display: block;
}
.mobile-toggle {
  display: none;
}
.hero {
  padding-top: 60px;
  text-align: center;
}
.release-pill {
  max-width: 100%;
  display: inline-flex;
  align-items: center;
  gap: 9px;
  padding: 5px 10px 5px 7px;
  border: 1px solid var(--line);
  border-radius: 6px;
  font: 11px/1.5 var(--mono);
  color: var(--body);
}
.release-pill span {
  flex: none;
  white-space: nowrap;
  background: var(--accent-soft);
  color: var(--accent);
  padding: 2px 6px;
  border-radius: 3px;
}
.release-pill .icon {
  width: 13px;
  height: 13px;
}
h1 {
  font-size: clamp(42px, 5.6vw, 72px);
  line-height: 1.06;
  letter-spacing: -0.055em;
  margin: 25px auto 22px;
  max-width: 950px;
}
.hero-lede {
  font-size: 18px;
  line-height: 1.7;
  color: var(--body);
  max-width: 625px;
  margin: 0 auto 28px;
  text-wrap: pretty;
}
.ctas {
  display: flex;
  justify-content: center;
  flex-wrap: wrap;
  gap: 12px;
}
.fine {
  font-size: 12px;
  color: var(--muted);
  margin-top: 17px;
}
.hero-shortcuts {
  display: flex;
  flex-wrap: wrap;
  gap: 24px;
  justify-content: center;
  margin-top: 28px;
  color: var(--body);
  font-size: 12px;
}
.hero-shortcuts a {
  display: flex;
  align-items: center;
  gap: 7px;
}
.hero-shortcuts a:hover {
  color: var(--accent);
}
.hero-shortcuts svg {
  width: 14px;
  height: 14px;
}
/* Interactive sample workspace; no live database or model calls. */
.tour {
  margin-top: 38px;
  text-align: left;
}
.tour-heading {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 13px;
  gap: 16px;
}
.tabs {
  display: flex;
  gap: 4px;
}
.tabs button {
  color: var(--muted);
  background: transparent;
  border: 1px solid transparent;
  border-radius: 6px;
  padding: 7px 13px;
  font-size: 12px;
}
.tabs button[aria-selected="true"] {
  color: var(--text);
  border-color: var(--line);
  background: var(--raised);
}
.tabs button:hover {
  color: var(--text);
}
.preview-label {
  font: 10px var(--mono);
  color: var(--muted);
}
.workspace-demo {
  border: 1px solid var(--line-strong);
  border-radius: 12px;
  overflow: hidden;
  background: var(--subtle);
  box-shadow: 0 30px 80px -35px var(--shadow);
  display: grid;
  grid-template-columns: 168px minmax(0, 1fr);
  min-height: 485px;
}
.demo-sidebar {
  padding: 16px 12px;
  background: var(--bg);
  border-right: 1px solid var(--line);
  display: flex;
  flex-direction: column;
  gap: 5px;
}
.demo-logo {
  display: flex;
  gap: 8px;
  align-items: center;
  font: 500 15px var(--mono);
  letter-spacing: -0.05em;
  padding: 0 7px 21px;
}
.demo-logo img {
  width: 25px;
  height: 25px;
}
.demo-nav {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 7px 10px;
  border-radius: 5px;
  color: var(--muted);
  font-size: 11px;
}
.demo-nav .icon {
  width: 14px;
  height: 14px;
}
.demo-nav.active {
  color: var(--text);
  background: var(--raised);
}
.demo-nav.active .icon {
  color: var(--accent);
}
.demo-connection {
  border-top: 1px solid var(--line);
  padding: 16px 9px 0;
  margin-top: auto;
  font: 9px var(--mono);
  color: var(--muted);
  display: flex;
  align-items: center;
  gap: 7px;
}
.status-dot {
  width: 5px;
  height: 5px;
  background: var(--ok);
  border-radius: 50%;
  display: inline-block;
  flex: none;
}
.demo-main {
  min-width: 0;
}
.demo-tabs {
  display: flex;
  align-items: center;
  min-height: 43px;
  border-bottom: 1px solid var(--line);
  padding: 0 15px;
  gap: 20px;
  font-size: 10px;
  color: var(--muted);
}
.demo-tabs .current {
  align-self: stretch;
  display: flex;
  align-items: center;
  gap: 7px;
  color: var(--text);
  border-bottom: 2px solid var(--accent);
}
.demo-tabs .icon {
  width: 13px;
  height: 13px;
}
.demo-main section {
  padding: 22px 25px;
}
.demo-page-heading {
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-size: 13px;
  margin-bottom: 18px;
  gap: 12px;
}
.demo-meta {
  font: 9px var(--mono);
  color: var(--muted);
}
.demo-answer {
  max-width: 650px;
  margin: 0 auto;
}
.demo-question {
  margin: 0 0 23px auto;
  padding: 8px 12px;
  background: var(--raised);
  border: 1px solid var(--line);
  border-radius: 7px;
  width: fit-content;
  font-size: 11px;
}
.answer-label {
  display: flex;
  align-items: center;
  gap: 7px;
  font: 9px var(--mono);
  color: var(--ok);
}
.demo-answer h3 {
  font-size: 23px;
  line-height: 1.35;
  letter-spacing: -0.025em;
  margin: 10px 0 7px;
}
.demo-answer p {
  font-size: 11px;
  color: var(--body);
}
.demo-answer strong {
  color: var(--accent);
  font-weight: 500;
}
.demo-chart {
  margin: 18px 0 13px;
  padding: 15px 18px 0;
  border: 1px solid var(--line);
  border-radius: 7px;
  background: var(--bg);
}
.chart-title {
  font-size: 10px;
  color: var(--body);
}
.chart-title span {
  float: right;
  font: 9px var(--mono);
  color: var(--muted);
}
.chart-bars {
  display: flex;
  align-items: end;
  gap: 23px;
  height: 114px;
  margin-top: 13px;
  border-bottom: 1px solid var(--line);
}
.chart-column {
  display: flex;
  flex-direction: column;
  justify-content: end;
  align-items: center;
  flex: 1;
  height: 100%;
  gap: 4px;
}
.chart-column .bar {
  width: 60%;
  height: var(--height);
  background: var(--line-strong);
  border-radius: 3px 3px 0 0;
}
.chart-column:last-child .bar {
  background: var(--accent);
}
.chart-column span {
  font: 8px var(--mono);
  color: var(--muted);
}
.chart-labels {
  display: flex;
  justify-content: space-around;
  font: 9px var(--mono);
  color: var(--muted);
  padding: 6px 0 8px;
}
.supporting {
  border-top: 1px solid var(--line);
}
.supporting summary {
  font-size: 10px;
  color: var(--muted);
  padding: 9px 0;
  cursor: pointer;
}
.supporting pre {
  font-size: 10px;
  overflow: auto;
  color: var(--body);
  padding: 10px;
  background: var(--bg);
}
.demo-sql {
  font: 11px/1.95 var(--mono);
  margin: 0;
  padding: 14px 18px;
  border: 1px solid var(--line);
  border-radius: 6px;
  background: var(--bg);
  overflow: auto;
  color: var(--body);
}
.sql-keyword {
  color: var(--accent);
}
.sql-string {
  color: var(--ok);
}
.result-heading {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin: 20px 0 9px;
  font-size: 11px;
}
.table-scroll {
  overflow: auto;
  border: 1px solid var(--line);
  border-radius: 6px;
}
.demo-table {
  width: 100%;
  border-collapse: collapse;
  white-space: nowrap;
  font: 10px/1.6 var(--mono);
  text-align: left;
}
.demo-table th {
  background: var(--raised);
  color: var(--muted);
  font-weight: 400;
}
.demo-table td,
.demo-table th {
  padding: 9px 15px;
  border-bottom: 1px solid var(--line);
}
.demo-table tr:last-child td {
  border-bottom: 0;
}
.demo-table tbody tr:nth-child(2) {
  background: var(--accent-soft);
}
.demo-table td:last-child,
.demo-table th:last-child {
  text-align: right;
}
.demo-explore-tools {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-bottom: 15px;
}
.demo-tag {
  font-size: 10px;
  padding: 4px 8px;
  border: 1px solid var(--line);
  border-radius: 4px;
  color: var(--body);
}
.demo-tag.green {
  color: var(--accent);
  border-color: var(--accent);
}
.demo-footer {
  font: 9px var(--mono);
  color: var(--muted);
  margin-top: 14px;
}
.demo-mcp-card {
  max-width: 550px;
  margin: 25px auto;
  border: 1px solid var(--line);
  border-radius: 8px;
  padding: 22px;
}
.demo-mcp-card h3 {
  display: flex;
  justify-content: space-between;
  font-size: 14px;
  margin-bottom: 14px;
}
.demo-mcp-card h3 span {
  font: 9px var(--mono);
  color: var(--muted);
  border: 1px solid var(--line);
  border-radius: 4px;
  padding: 2px 6px;
}
.demo-mcp-card p {
  font-size: 11px;
  color: var(--muted);
}
.demo-mcp-card code {
  display: block;
  border: 1px solid var(--line);
  padding: 12px;
  margin: 18px 0;
  font-size: 11px;
  border-radius: 5px;
  background: var(--bg);
}
.demo-mcp-card .demo-tag {
  display: inline-block;
  margin: 0 0 16px;
  background: var(--acid);
  border-color: var(--acid);
  color: #09090a;
}
/* Marketing sections */
.page-section {
  padding: 104px 0;
  border-top: 1px solid var(--line);
}
.section-heading {
  max-width: 670px;
}
h2 {
  font-size: clamp(32px, 4vw, 46px);
  line-height: 1.12;
  letter-spacing: -0.04em;
  margin: 14px 0 17px;
}
.section-lede {
  font-size: 16px;
  line-height: 1.8;
  color: var(--body);
  max-width: 630px;
  text-wrap: pretty;
}
.trust-strip {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 38px;
  padding: 31px 0 48px;
  color: var(--muted);
  font-size: 12px;
  flex-wrap: wrap;
}
.trust-strip span {
  display: inline-flex;
  align-items: center;
  gap: 9px;
}
.trust-strip .icon {
  width: 15px;
  height: 15px;
}
.split {
  display: grid;
  grid-template-columns: 1fr 1fr;
  align-items: start;
  gap: 72px;
}
.feature-list {
  padding: 0;
  margin: 25px 0;
  list-style: none;
  display: grid;
  gap: 14px;
  color: var(--body);
  font-size: 14px;
}
.feature-list li {
  display: flex;
  align-items: baseline;
  gap: 11px;
}
.feature-list li::before {
  content: "↗";
  color: var(--accent);
  font: 12px var(--mono);
}
.client-chips {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 10px;
  max-width: 430px;
  list-style: none;
  padding: 0;
  margin: 23px 0 14px;
}
.client-chips li {
  min-width: 0;
}
.client-chip {
  display: flex;
  align-items: center;
  gap: 12px;
  min-height: 62px;
  padding: 12px 14px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--raised);
  color: var(--text);
  font-size: 13px;
  font-weight: 500;
  transition:
    background 0.15s,
    border-color 0.15s;
}
.client-chip:hover {
  background: var(--hover);
  border-color: var(--line-strong);
}
.client-icon {
  display: grid;
  place-items: center;
  width: 30px;
  height: 30px;
  flex: none;
}
.client-icon img {
  width: 30px;
  height: 30px;
  object-fit: contain;
}
.client-icon .codex-logo {
  background: #000;
  border-radius: 6px;
}
.client-icon .on-light {
  display: none;
}
:root[data-mode="light"] .client-icon .on-dark {
  display: none;
}
:root[data-mode="light"] .client-icon .on-light {
  display: block;
}
@media (prefers-color-scheme: light) {
  :root:not([data-mode]) .client-icon .on-dark {
    display: none;
  }
  :root:not([data-mode]) .client-icon .on-light {
    display: block;
  }
}
@media (max-width: 380px) {
  .client-chip {
    padding: 10px;
    gap: 9px;
    font-size: 12px;
  }
}
.connection-flow {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 20px;
  border-bottom: 1px solid var(--line);
  font: 10px var(--mono);
  color: var(--body);
  justify-content: space-between;
}
.flow-node {
  display: flex;
  align-items: center;
  gap: 7px;
}
.flow-node img {
  width: 23px;
  height: 23px;
}
.flow-node .icon {
  width: 16px;
  height: 16px;
  color: var(--muted);
}
.setup-card {
  border: 1px solid var(--line);
  border-radius: 10px;
  background: var(--subtle);
  overflow: hidden;
}
.setup-inner {
  padding: 23px;
}
.setup-title {
  font-size: 12px;
  color: var(--body);
  display: flex;
  justify-content: space-between;
  align-items: center;
}
.copy-button {
  color: var(--body);
  border: 1px solid var(--line);
  background: var(--raised);
  border-radius: 5px;
  padding: 5px 9px;
  font-size: 11px;
  min-width: 66px;
}
.copy-button:hover {
  border-color: var(--muted);
}
.setup-card pre {
  font: 11px/1.9 var(--mono);
  color: var(--text);
  white-space: pre-wrap;
  overflow-wrap: anywhere;
  margin: 17px 0;
}
.setup-card .code-comment {
  color: var(--muted);
}
.setup-foot {
  display: flex;
  gap: 15px;
  flex-wrap: wrap;
  border-top: 1px solid var(--line);
  padding-top: 15px;
  color: var(--ok);
  font: 9px var(--mono);
}
.privacy-note {
  font-size: 12px;
  line-height: 1.8;
  color: var(--muted);
  margin-top: 17px;
}
.privacy-note strong {
  color: var(--body);
  font-weight: 500;
}
.copy-status {
  min-height: 20px;
  color: var(--muted);
  font-size: 11px;
  margin-top: 8px;
}
.source-toolbar {
  display: flex;
  justify-content: space-between;
  gap: 20px;
  align-items: center;
  margin: 36px 0 18px;
}
.source-filters {
  display: flex;
  flex-wrap: wrap;
  gap: 5px;
}
.source-filters button {
  color: var(--muted);
  border: 1px solid transparent;
  border-radius: 5px;
  background: transparent;
  padding: 6px 10px;
  font-size: 12px;
}
.source-filters button[aria-pressed="true"] {
  color: var(--text);
  border-color: var(--line);
  background: var(--raised);
}
.source-search {
  position: relative;
}
.source-search .icon {
  position: absolute;
  top: 11px;
  left: 11px;
  width: 14px;
  height: 14px;
  color: var(--muted);
}
.source-search input {
  border: 1px solid var(--line);
  border-radius: 6px;
  background: var(--subtle);
  color: var(--text);
  padding: 9px 12px 9px 33px;
  width: 220px;
  font-size: 12px;
}
.source-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 10px;
}
.source-card {
  display: grid;
  grid-template-columns: 38px minmax(0, 1fr);
  align-items: center;
  gap: 12px;
  padding: 16px 15px;
  min-height: 94px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--subtle);
}
.source-icon {
  display: grid;
  place-items: center;
  width: 38px;
  height: 38px;
  border-radius: 8px;
  background: #ffffff;
  border: 1px solid #e5e5e2;
}
.source-icon img,
.source-icon svg {
  width: 28px;
  height: 28px;
  object-fit: contain;
}
.source-icon--dark {
  background: #161618;
  border-color: #2a2a2e;
}
.source-copy {
  min-width: 0;
}
.source-name {
  font-size: 13px;
  font-weight: 500;
}
.source-detail {
  color: var(--muted);
  font-size: 10px;
  margin-top: 2px;
}
.source-badge {
  display: inline-block;
  margin: 6px 0 0;
  font: 10px/1.4 var(--mono);
  border: 1px solid var(--line-strong);
  padding: 2px 6px;
  border-radius: 4px;
  color: var(--amber);
}
.source-badge.qualified {
  color: var(--ok);
}
.source-count {
  color: var(--muted);
  font: 10px var(--mono);
  margin-top: 16px;
}
.source-empty {
  padding: 32px 0;
  color: var(--body);
  font-size: 14px;
}
.source-notes {
  margin-top: 25px;
  display: grid;
  gap: 10px;
  font-size: 12px;
  color: var(--muted);
}
.source-notes b {
  color: var(--body);
  font-weight: 500;
}
.source-icon--csv {
  color: #166d9e;
}
.source-icon--parquet {
  color: #6c45a2;
}
.source-icon--json {
  color: #3f3f46;
}
.workflow-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 34px;
  margin-top: 38px;
}
.workflow-card {
  padding-top: 21px;
  border-top: 1px solid var(--line-strong);
}
.workflow-card > .icon {
  color: var(--accent);
  width: 20px;
  height: 20px;
}
.workflow-card h3 {
  font-size: 17px;
  letter-spacing: -0.02em;
  margin: 14px 0 10px;
}
.workflow-card p {
  color: var(--body);
  font-size: 13px;
  line-height: 1.8;
}
.workflow-card .small-note {
  color: var(--muted);
  font-size: 11px;
  margin-top: 12px;
}
.ask-section {
  background: var(--subtle);
}
.answer-example {
  border: 1px solid var(--line);
  border-radius: 10px;
  background: var(--bg);
  padding: 28px;
}
.answer-example h3 {
  margin-top: 14px;
  font-size: 24px;
  line-height: 1.35;
  letter-spacing: -0.025em;
}
.answer-example p {
  font-size: 13px;
  color: var(--body);
  margin-top: 10px;
}
.answer-example .demo-chart {
  margin-top: 24px;
}
.answer-example details {
  margin-top: 18px;
}
.privacy-pair {
  margin-top: 24px;
  border-top: 1px solid var(--line);
  padding-top: 20px;
}
.privacy-pair h4 {
  color: var(--text);
  font-size: 13px;
  margin-bottom: 5px;
}
.privacy-pair p {
  font-size: 12px;
  color: var(--muted);
}
.models {
  font-size: 11px;
  color: var(--muted);
  margin-top: 23px;
  line-height: 2;
}
.plan-intro {
  display: flex;
  align-items: end;
  justify-content: space-between;
  gap: 30px;
}
.launch-note {
  max-width: 275px;
  font-size: 12px;
  color: var(--body);
  border-left: 2px solid var(--accent);
  padding-left: 14px;
  margin-bottom: 7px;
}
.launch-note strong {
  display: block;
  color: var(--accent);
  font: 10px var(--mono);
  text-transform: uppercase;
  margin-bottom: 4px;
}
.plans {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 18px;
  max-width: 860px;
  margin: 37px auto 0;
}
.plan {
  border: 1px solid var(--line);
  border-radius: 9px;
  padding: 27px;
  display: flex;
  flex-direction: column;
  background: var(--subtle);
}
.plan.featured {
  border-color: var(--accent);
}
.plan h3 {
  font-size: 15px;
  display: flex;
  justify-content: space-between;
  align-items: center;
}
.plan h3 span {
  color: var(--accent);
  font: 9px var(--mono);
}
.plan .for {
  color: var(--muted);
  font-size: 12px;
  margin: 6px 0 25px;
}
.price {
  font-size: 43px;
  letter-spacing: -0.05em;
  line-height: 1.1;
}
.price small {
  font-size: 11px;
  letter-spacing: 0;
  color: var(--muted);
}
.price s {
  font-size: 19px;
  color: var(--muted);
  letter-spacing: -0.02em;
  margin-left: 7px;
}
.plan .note {
  color: var(--muted);
  font-size: 11px;
  margin-top: 9px;
}
.plan ul {
  list-style: none;
  padding: 22px 0;
  margin: 0;
  display: grid;
  gap: 10px;
  color: var(--body);
  font-size: 12px;
  flex: 1;
}
.plan li::before {
  content: "✓";
  color: var(--accent);
  padding-right: 9px;
}
.plan .btn {
  width: 100%;
  min-height: 40px;
  font-size: 12px;
}
.pricing-foot {
  color: var(--muted);
  font-size: 12px;
  margin-top: 22px;
  text-align: center;
}
.faq-layout {
  display: grid;
  grid-template-columns: 0.8fr 1.3fr;
  gap: 72px;
}
.faq {
  border-top: 1px solid var(--line);
}
.faq details {
  border-bottom: 1px solid var(--line);
  padding: 18px 0;
}
.faq summary {
  list-style: none;
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 20px;
  font-size: 14px;
  cursor: pointer;
}
.faq summary::-webkit-details-marker {
  display: none;
}
.faq summary::after {
  content: "+";
  color: var(--muted);
  font: 18px var(--mono);
}
.faq details[open] summary::after {
  content: "−";
}
.faq p {
  color: var(--body);
  font-size: 13px;
  margin: 12px 24px 0 0;
  line-height: 1.8;
}
.faq a {
  color: var(--accent);
  text-decoration: underline;
  text-underline-offset: 3px;
}
.download {
  text-align: center;
}
.download h2 {
  font-size: clamp(36px, 4.8vw, 58px);
  max-width: 690px;
  margin: 15px auto 20px;
}
.download .section-lede {
  margin: 0 auto 28px;
}
.platform-note {
  font-size: 11px;
  color: var(--muted);
  margin-top: 18px;
}
.platform-note a {
  text-decoration: underline;
  text-underline-offset: 3px;
}
.site-footer {
  border-top: 1px solid var(--line);
  padding: 33px 0;
  color: var(--muted);
  font-size: 11px;
}
.footer-top {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 25px;
  margin-bottom: 25px;
}
.footer-links {
  display: flex;
  flex-wrap: wrap;
  gap: 20px;
}
.footer-links a:hover {
  color: var(--text);
}
.footer-bottom {
  display: flex;
  justify-content: space-between;
  gap: 20px;
  font-size: 10px;
}
@media (max-width: 1024px) {
  .nav-inner {
    gap: 25px;
  }
  .nav-links {
    gap: 18px;
  }
  .split {
    gap: 35px;
  }
  .source-grid {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }
  .workspace-demo {
    grid-template-columns: 140px minmax(0, 1fr);
  }
  .demo-tabs {
    gap: 13px;
  }
  .demo-main section {
    padding: 20px;
  }
  .workflow-grid {
    gap: 25px;
  }
}
@media (max-width: 760px) {
  .wrap {
    padding: 0 21px;
  }
  .nav-inner {
    height: 64px;
    gap: 12px;
  }
  .brand {
    font-size: 19px;
  }
  .brand img {
    width: 29px;
    height: 29px;
  }
  .nav-actions {
    gap: 5px;
  }
  .nav-actions > .btn {
    min-height: 34px;
    padding: 0 11px;
    font-size: 11px;
  }
  .mobile-toggle {
    display: inline-grid;
  }
  .nav-links {
    display: none;
    position: absolute;
    top: 63px;
    left: 0;
    right: 0;
    padding: 18px 23px 23px;
    gap: 0;
    flex-direction: column;
    background: var(--bg);
    border-bottom: 1px solid var(--line);
  }
  .nav-links.is-open {
    display: flex;
  }
  .nav-links a {
    display: block;
    padding: 12px 0;
  }
  .hero {
    padding-top: 53px;
  }
  h1 {
    font-size: clamp(40px, 8vw, 61px);
    margin-top: 23px;
  }
  .hero-lede {
    font-size: 16px;
    max-width: 540px;
  }
  .hero-shortcuts {
    gap: 19px;
    font-size: 11px;
  }
  .tour {
    margin-top: 38px;
  }
  .preview-label {
    display: none;
  }
  .tour-heading {
    justify-content: center;
  }
  .tabs {
    gap: 1px;
  }
  .tabs button {
    padding: 7px 12px;
  }
  .workspace-demo {
    grid-template-columns: 51px minmax(0, 1fr);
    min-height: 450px;
    border-radius: 9px;
  }
  .demo-sidebar {
    padding: 13px 7px;
  }
  .demo-logo {
    padding: 0 5px 17px;
  }
  .demo-logo span,
  .demo-nav span,
  .demo-connection {
    display: none;
  }
  .demo-logo img {
    width: 25px;
    height: 25px;
    max-width: none;
  }
  .demo-nav {
    padding: 9px 11px;
  }
  .demo-tabs {
    padding: 0 12px;
    min-height: 39px;
  }
  .demo-tabs > span:not(.current) {
    display: none;
  }
  .demo-main section {
    padding: 18px 15px;
  }
  .demo-page-heading {
    font-size: 12px;
  }
  .demo-answer h3 {
    font-size: 20px;
  }
  .demo-question {
    font-size: 10px;
    margin-bottom: 18px;
  }
  .demo-chart {
    padding: 12px 9px 0;
  }
  .chart-bars {
    gap: 9px;
    height: 110px;
  }
  .chart-column .bar {
    width: 70%;
  }
  .chart-column span {
    font-size: 7px;
  }
  .chart-title {
    font-size: 9px;
  }
  .chart-title span {
    font-size: 8px;
  }
  .demo-sql {
    font-size: 10px;
    padding: 11px;
  }
  .demo-mcp-card {
    margin: 12px auto;
    padding: 15px;
  }
  .trust-strip {
    padding: 25px 0 36px;
    gap: 12px 22px;
    font-size: 10px;
  }
  .page-section {
    padding: 70px 0;
  }
  h2 {
    font-size: 34px;
  }
  .section-lede {
    font-size: 15px;
  }
  .split,
  .faq-layout {
    grid-template-columns: 1fr;
    gap: 35px;
  }
  .source-toolbar {
    align-items: start;
    flex-direction: column;
    gap: 15px;
  }
  .source-search,
  .source-search input {
    width: 100%;
  }
  .source-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
  .source-card {
    grid-template-columns: 34px minmax(0, 1fr);
    padding: 13px 11px;
    gap: 9px;
    min-height: 108px;
  }
  .source-icon {
    width: 34px;
    height: 34px;
  }
  .source-icon img,
  .source-icon svg {
    width: 26px;
    height: 26px;
  }
  .source-name {
    font-size: 12px;
  }
  .source-detail {
    font-size: 9px;
  }
  .source-badge {
    font-size: 10px;
    margin: 6px 0 0;
  }
  .workflow-grid {
    grid-template-columns: 1fr;
    gap: 26px;
  }
  .plan-intro {
    align-items: start;
    flex-direction: column;
    gap: 20px;
  }
  .launch-note {
    max-width: none;
  }
  .plans {
    grid-template-columns: 1fr;
  }
  .plan {
    padding: 24px;
  }
  .answer-example {
    padding: 21px;
  }
  .footer-top,
  .footer-bottom {
    align-items: start;
    flex-direction: column;
  }
}
@media (max-width: 380px) {
  .wrap {
    padding: 0 16px;
  }
  .hero-shortcuts {
    gap: 12px;
    font-size: 10px;
  }
  .source-grid {
    grid-template-columns: 1fr;
  }
  .source-card {
    min-height: 94px;
  }
  .hero .ctas {
    flex-direction: column;
  }
}
@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }
  *,
  *::before,
  *::after {
    transition: none !important;
  }
}
.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}

@media (max-width: 760px) {
  .connection-flow {
    gap: 6px;
    padding: 16px 12px;
  }
  .connection-flow > .icon {
    width: 14px;
  }
  .flow-node {
    gap: 5px;
    font-size: 9px;
  }
  .flow-node img {
    width: 21px;
    height: 21px;
  }
}

.chart-column .bar {
  flex: none;
}

/* Keep connector availability readable at small sizes. */
.source-name {
  font-size: 14px;
}
.source-detail {
  font-size: 11px;
}
.source-badge {
  font-size: 10px;
}
@media (max-width: 760px) {
  .source-name {
    font-size: 13px;
  }
  .source-detail {
    font-size: 10px;
  }
  .source-badge {
    font-size: 10px;
  }
}

/* Buyer-focused product story, using the existing brand and sample workspace. */
.ai-request {
  display: flex;
  align-items: flex-start;
  gap: 12px;
  padding: 18px 22px;
  background: var(--accent-soft);
  color: var(--text);
  font-size: 13px;
  line-height: 1.65;
}
.ai-request > .icon {
  width: 17px;
  height: 17px;
  flex: none;
  margin-top: 3px;
  color: var(--accent);
}
.ai-request div {
  min-width: 0;
}
.ai-request div > span {
  display: block;
  color: var(--muted);
  font-size: 10px;
  margin-bottom: 4px;
}
.ai-request > b {
  margin-left: auto;
  white-space: nowrap;
  color: var(--muted);
  font-size: 10px;
  font-weight: 500;
}
.sql-example {
  min-width: 0;
  border: 1px solid var(--line);
  border-radius: 10px;
  overflow: hidden;
  background: var(--subtle);
}
.example-heading,
.example-foot {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 12px;
  padding: 16px 20px;
  color: var(--muted);
  font-size: 10px;
}
.example-heading {
  border-bottom: 1px solid var(--line);
}
.example-heading > span:first-child {
  color: var(--text);
  font-size: 12px;
}
.example-heading span,
.example-foot span {
  display: inline-flex;
  align-items: center;
  gap: 8px;
}
.example-heading .icon,
.example-foot .icon {
  width: 14px;
  height: 14px;
}
.example-foot {
  border-top: 1px solid var(--line);
}
.example-foot .icon {
  color: var(--accent);
}
.sql-example .demo-sql {
  margin: 0;
  border: 0;
  border-radius: 0;
  font-size: 11px;
}
.sql-workflow {
  align-items: center;
}
.sql-workflow + .workflow-grid {
  margin-top: 56px;
}
.example-question {
  border-bottom: 1px solid var(--line);
  padding-bottom: 18px;
  margin-bottom: 18px;
  color: var(--text) !important;
  font-size: 15px !important;
}
.pricing-foot {
  max-width: 740px;
  margin-left: auto;
  margin-right: auto;
  line-height: 1.8;
}
.pricing-foot strong {
  color: var(--body);
  font-weight: 500;
}
.team-note {
  text-align: center;
  margin-top: 20px;
  color: var(--body);
  font-size: 12px;
  line-height: 1.9;
}
@media (max-width: 760px) {
  .plans {
    grid-template-columns: 1fr;
  }
  .ai-request {
    padding: 16px;
    font-size: 12px;
  }
  .ai-request > b {
    display: none;
  }
  .example-heading,
  .example-foot {
    padding: 14px 16px;
    flex-wrap: wrap;
  }
  .sql-example .demo-sql {
    padding: 18px 16px;
    font-size: 10px;
  }
  .sql-workflow + .workflow-grid {
    margin-top: 34px;
  }
  .team-note .text-link {
    display: inline;
  }
}
