:root {
  color-scheme: light;
  --bg: #f7f9fc;
  --ink: #172439;
  --muted: #58667c;
  --blue: #2879ec;
  --line: rgba(74, 101, 145, 0.14);
  --glass: rgba(255, 255, 255, 0.45);
  --radius: 26px;
  --shadow: 0 12px 36px #415f8820, 0 2px 6px #415f8810;
  font-family:
    -apple-system, BlinkMacSystemFont, "SF Pro Display", "PingFang SC",
    "Microsoft YaHei", sans-serif;
  font-synthesis: none;
  color: var(--ink);
  background: var(--bg);
}
* {
  box-sizing: border-box;
}
html {
  scroll-behavior: smooth;
  scroll-padding-top: 120px;
}
body {
  margin: 0;
}
button,
input,
select,
textarea {
  font: inherit;
}
button,
a,
input,
select,
textarea {
  -webkit-tap-highlight-color: transparent;
}
button,
a {
  touch-action: manipulation;
}
button {
  cursor: pointer;
  color: inherit;
}
a {
  color: inherit;
  text-decoration: none;
}
button {
  border: 0;
}
img {
  max-width: 100%;
  height: auto;
  vertical-align: middle;
}
h1,
h2,
h3,
p,
figure {
  margin: 0;
}
a,
button,
input,
select,
textarea,
summary {
  outline-offset: 5px;
}
a:focus-visible,
button:focus-visible,
input:focus-visible,
select:focus-visible,
textarea:focus-visible,
summary:focus-visible {
  outline: 3px solid var(--blue);
}
a:hover {
  color: var(--blue);
}
.icon {
  width: 19px;
  height: 19px;
  fill: none;
  stroke: currentColor;
  stroke-width: 1.7;
  stroke-linecap: round;
  stroke-linejoin: round;
  vertical-align: middle;
  flex-shrink: 0;
}
.symbol-library {
  position: absolute;
  width: 0;
  height: 0;
  overflow: hidden;
}
.glass {
  background: var(--glass);
  border: 1px solid rgba(255, 255, 255, 0.9);
  box-shadow:
    var(--shadow),
    inset 0 0 0 1px #6f8fa92a,
    inset 0 2px 3px #fff,
    inset 0 -2px 4px #ffffff80;
  backdrop-filter: blur(24px) saturate(135%);
  -webkit-backdrop-filter: blur(24px) saturate(135%);
}
.skip-link {
  position: fixed;
  top: 12px;
  left: 20px;
  z-index: 100;
  background: white;
  padding: 12px 20px;
  border-radius: 12px;
  transform: translateY(-150%);
}
.skip-link:focus {
  transform: none;
}
.section-wrap {
  width: min(1160px, calc(100% - 80px));
  margin-inline: auto;
}
.header {
  position: absolute;
  z-index: 10;
  width: 100%;
  top: 20px;
  padding: 0 40px;
}
.nav {
  max-width: 1240px;
  margin: auto;
  border-radius: 28px;
  min-height: 68px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 12px 26px;
  gap: 24px;
}
.brand {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-size: 21px;
  font-weight: 650;
  letter-spacing: -0.5px;
  white-space: nowrap;
}
.brand img {
  border-radius: 9px;
}
.nav-links,
.footer-links {
  display: flex;
  gap: 36px;
  align-items: center;
}
.nav-links a {
  font-size: 14px;
  font-weight: 500;
  padding: 10px 0;
  transition: color 0.2s;
}
.nav-links .icon {
  width: 15px;
  height: 15px;
  margin-left: 3px;
}
.hero {
  position: relative;
  isolation: isolate;
  overflow: hidden;
  padding: 144px 40px 64px;
  background:
    radial-gradient(ellipse at 0 40%, #dff5fd 0, transparent 62%),
    radial-gradient(ellipse at 100% 64%, #e7e0ff 0, transparent 60%), var(--bg);
}
.hero-copy {
  text-align: center;
}
.hero h1 {
  font-size: clamp(42px, 5.2vw, 74px);
  line-height: 1.23;
  font-weight: 650;
  letter-spacing: -3px;
}
.hero h1 span {
  display: inline-block;
}
.hero-description {
  font-size: clamp(17px, 1.65vw, 23px);
  line-height: 1.6;
  color: #34435b;
  margin: 22px 0 26px;
}
.actions {
  display: flex;
  justify-content: center;
  gap: 18px;
}
.button {
  display: inline-flex;
  justify-content: center;
  align-items: center;
  gap: 12px;
  min-height: 54px;
  padding: 14px 30px;
  border-radius: 100px;
  font-weight: 550;
  font-size: 16px;
  transition:
    transform 0.28s,
    box-shadow 0.28s,
    background 0.28s;
}
.button:hover {
  transform: translateY(-3px);
}
.primary {
  color: white;
  background: linear-gradient(160deg, #293b57, #0e1a31);
  border: 1px solid #293c58;
  box-shadow:
    inset 0 2px 2px #ffffff30,
    0 4px 9px #23385628;
}
.primary:hover {
  color: white;
  box-shadow:
    inset 0 2px 2px #ffffff40,
    0 8px 24px #23385635;
}
.secondary {
  min-width: 175px;
}
.compatibility {
  font-size: 13px;
  line-height: 1.6;
  color: var(--muted);
  margin-top: 19px;
}
.compatibility span {
  padding: 0 7px;
}
.product-figure {
  max-width: 1100px;
  margin: 42px auto 0;
}
.product-window {
  display: block;
  position: relative;
  width: 100%;
  padding: 0;
  border-radius: 16px;
  background: #252525;
  box-shadow:
    0 35px 60px -18px #25384e66,
    0 8px 18px #15273d22,
    inset 0 0 0 1px #fff8;
  border: 1px solid #ffffffbd;
  transition: box-shadow 0.25s;
  overflow: hidden;
}
.product-window img {
  width: 100%;
}
.zoom-hint {
  display: flex;
  gap: 8px;
  align-items: center;
  position: absolute;
  right: 18px;
  bottom: 18px;
  padding: 10px 14px;
  border: 1px solid #ffffff3d;
  border-radius: 100px;
  font-size: 12px;
  color: white;
  background: #151c2ac4;
  backdrop-filter: blur(12px);
  opacity: 0;
  transform: translateY(5px);
  transition: 0.25s;
}
.product-window:hover .zoom-hint,
.product-window:focus-visible .zoom-hint {
  opacity: 1;
  transform: none;
}
.database-list {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 25px;
  margin-top: 40px;
  color: var(--muted);
  font-size: 17px;
}
.database-list span {
  display: flex;
  align-items: center;
  gap: 10px;
}
.database-list i {
  font-style: normal;
  font-size: 14px;
}
.database-list .icon {
  opacity: 0.7;
  width: 20px;
  height: 20px;
}
.experience {
  padding-top: 100px;
  padding-bottom: 100px;
}
.section-heading h2,
h2 {
  font-size: clamp(30px, 3.4vw, 46px);
  font-weight: 620;
  line-height: 1.35;
  letter-spacing: -1.7px;
}
.section-heading h2 span,
.download h2 span {
  display: inline-block;
}
.section-heading > p {
  color: var(--muted);
  font-size: 22px;
  line-height: 1.6;
  margin-top: 16px;
}
.tabs {
  display: flex;
  width: max-content;
  max-width: 100%;
  margin: 42px auto 36px;
  padding: 6px;
  border-radius: 100px;
  gap: 4px;
}
.tabs button {
  padding: 14px 26px;
  border-radius: 100px;
  background: transparent;
  color: #515e72;
  font-size: 15px;
  font-weight: 550;
  transition:
    background 0.3s,
    box-shadow 0.3s,
    color 0.3s;
}
.tabs button[aria-selected="true"] {
  background: #e4edff;
  color: #1265d6;
  box-shadow:
    inset 0 0 0 1px #2879ec25,
    0 3px 9px #2879ec0a;
}
.tabs button:hover {
  background: #e9effa;
}
.demo {
  border-radius: var(--radius);
  padding: 26px;
  background:
    radial-gradient(ellipse at 90% 30%, #d8f1fc8f, transparent 65%),
    radial-gradient(ellipse at 25% 95%, #dcd9ff70, transparent 60%), #ffffff70;
}
.demo-panel {
  display: grid;
  grid-template-columns: minmax(0, 3.4fr) minmax(180px, 1fr);
  align-items: center;
  gap: 36px;
  min-height: 385px;
  animation: panel-enter 0.35s both;
}
.demo-panel[hidden] {
  display: none;
}
.demo-workspace,
.query-workspace,
.agent-workspace {
  min-width: 0;
  background: #ffffffab;
  border: 1px solid #ffffff;
  box-shadow:
    0 16px 32px #46689125,
    0 1px 6px #698dc31a;
  border-radius: 18px;
  overflow: hidden;
  align-self: stretch;
}
.demo-workspace {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 190px;
}
.table-area {
  min-width: 0;
  display: flex;
  flex-direction: column;
}
.workspace-toolbar {
  display: flex;
  align-items: center;
  gap: 16px;
  min-height: 62px;
  padding: 16px;
  font-size: 12px;
}
.workspace-toolbar strong {
  font-weight: 600;
}
.traffic-lights {
  display: flex;
  gap: 5px;
}
.traffic-lights i {
  width: 9px;
  height: 9px;
  border-radius: 50%;
  background: #ff655e;
}
.traffic-lights i:nth-child(2) {
  background: #f5bf4f;
}
.traffic-lights i:nth-child(3) {
  background: #5ac05a;
}
.search-field {
  display: flex;
  align-items: center;
  gap: 5px;
  border: 1px solid var(--line);
  border-radius: 100px;
  min-width: 0;
  max-width: 190px;
  margin-left: auto;
  padding: 6px 9px;
  background: #fff8;
}
.search-field .icon {
  width: 14px;
  height: 14px;
  color: var(--muted);
}
.search-field input {
  border: 0;
  background: transparent;
  outline-offset: 6px;
  font-size: 11px;
  width: 100%;
  min-width: 0;
  color: var(--ink);
}
.table-scroll {
  overflow: auto;
  flex: 1;
  padding: 0 12px;
}
.table-scroll table,
.query-results table {
  border-collapse: collapse;
  width: 100%;
  text-align: left;
  font-size: 13px;
}
.table-scroll th,
.table-scroll td,
.query-results td,
.query-results th {
  padding: 17px 10px;
  border-bottom: 1px solid var(--line);
  white-space: nowrap;
}
.table-scroll th,
.query-results th {
  font-size: 11px;
  font-weight: 500;
  color: var(--muted);
  padding-block: 12px;
}
.table-scroll tr.selected {
  background: #dceafd;
}
.project-button {
  background: none;
  text-align: left;
  padding: 0;
  font-size: 13px;
  font-weight: 550;
  min-height: 28px;
}
.project-button:hover {
  color: var(--blue);
}
.status-dot {
  display: inline-block;
  width: 5px;
  height: 5px;
  border-radius: 50%;
  margin-right: 5px;
  background: #3b8ef6;
}
.status-dot.done {
  background: #4ba975;
}
.table-status {
  margin: 10px 12px 12px;
  padding: 10px 8px;
  background: #e7f1fb66;
  border-radius: 7px;
  font-size: 11px;
  color: var(--muted);
}
.inspector {
  background: #f7f8fd80;
  border-left: 1px solid var(--line);
  padding: 20px 14px 8px;
  display: flex;
  flex-direction: column;
  gap: 14px;
}
.inspector label {
  font-size: 11px;
  line-height: 1.5;
  display: block;
}
.inspector input[type="text"] {
  width: 100%;
  border: 1px solid var(--line);
  border-radius: 6px;
  background: #ffffff9e;
  padding: 8px;
  font-size: 12px;
  margin-top: 5px;
  color: var(--ink);
}
.inspector-actions {
  display: flex;
  gap: 10px;
  margin-top: auto;
}
.small-button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 6px;
  border: 1px solid var(--line);
  border-radius: 7px;
  background: #ffffffa8;
  padding: 8px 13px;
  min-height: 34px;
  font-size: 12px;
  white-space: nowrap;
  transition:
    background 0.2s,
    transform 0.2s;
}
.small-button:hover:not(:disabled) {
  background: #e7efff;
  transform: translateY(-1px);
}
.small-button.blue {
  background: var(--blue);
  color: white;
  border-color: #2879ec;
  box-shadow:
    inset 0 1px #ffffff40,
    0 2px 5px #2879ec18;
}
.small-button.blue:hover {
  background: #1465d6;
}
.small-button:disabled {
  opacity: 0.4;
  cursor: not-allowed;
}
.small-button .icon {
  width: 14px;
  height: 14px;
}
.inspector-actions .small-button {
  flex: 1;
}
.save-status {
  font-size: 10px;
  min-height: 14px;
  color: #20644c;
}
.demo-copy {
  padding: 5px 0;
}
.demo-copy h3 {
  font-size: 28px;
  font-weight: 620;
  line-height: 1.55;
  letter-spacing: -1px;
}
.demo-copy p {
  font-size: 15px;
  line-height: 1.9;
  color: var(--muted);
  margin: 20px 0 34px;
}
.demo-copy small {
  font-size: 11px;
  color: #66768c;
  line-height: 1.8;
}
.toolbar-detail {
  color: var(--muted);
  margin-left: auto;
  font-size: 11px;
}
.query-workspace {
  display: flex;
  flex-direction: column;
}
.code-editor {
  padding: 18px 24px;
  background: #eef3fb80;
  display: grid;
  grid-template-columns: 18px 1fr;
  column-gap: 12px;
  row-gap: 8px;
  font:
    12px/1.6 ui-monospace,
    SFMono-Regular,
    Menlo,
    monospace;
}
.code-line {
  color: #94a1b4;
  font-size: 10px;
}
.code-editor b {
  font-weight: 500;
  color: #6750aa;
}
.code-editor em {
  color: #19785f;
  font-style: normal;
}
.query-actions {
  display: flex;
  justify-content: space-between;
  gap: 10px;
  padding: 15px 20px;
  border-bottom: 1px solid var(--line);
}
.query-results {
  padding: 0 20px;
  flex: 1;
}
.empty-state {
  text-align: center;
  color: var(--muted);
  font-size: 13px;
  line-height: 1.8;
  padding: 24px 10px;
}
.empty-state small {
  font-size: 11px;
}
.query-results td,
.query-results th {
  padding: 9px 12px;
}
.result-count {
  font-size: 11px;
  color: var(--muted);
  padding: 12px;
}
.agent-conversation {
  padding: 2px 24px 20px;
  font-size: 12px;
  line-height: 1.8;
}
.user-message {
  margin-left: auto;
  padding: 8px 14px;
  background: #e3edff;
  border: 1px solid #d4e4fc;
  border-radius: 14px 14px 3px 14px;
  width: fit-content;
}
.agent-message {
  margin: 18px 0 12px;
  color: var(--muted);
}
.operation {
  border: 1px solid var(--line);
  border-radius: 12px;
  padding: 14px;
  background: #f8fbff;
}
.operation-heading {
  display: flex;
  justify-content: space-between;
  gap: 12px;
  font-size: 10px;
}
.operation-heading span {
  color: var(--muted);
}
.operation code {
  display: block;
  font:
    11px/1.9 ui-monospace,
    SFMono-Regular,
    Menlo,
    monospace;
  padding: 12px 0;
  color: #4f58a6;
}
#agent-actions {
  display: flex;
  gap: 8px;
}
#agent-result {
  font-size: 11px;
  color: #325877;
  margin-top: 12px;
}
#agent-result .small-button {
  margin: 10px 0;
}
.text-button {
  display: block;
  padding: 0;
  background: transparent;
  color: #1d68ce;
  font-size: 12px;
  margin-top: 16px;
}
.principles {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  margin-top: 64px;
  scroll-margin-top: 110px;
}
.principles article {
  padding: 0 34px;
  border-right: 1px solid var(--line);
}
.principles article:first-child {
  padding-left: 0;
}
.principles article:last-child {
  padding-right: 0;
  border-right: 0;
}
.principle-number {
  display: block;
  font-size: 26px;
  font-weight: 550;
  letter-spacing: -1px;
  color: #347fee;
  margin-bottom: 14px;
}
.principles h3 {
  font-size: 19px;
  font-weight: 600;
  margin-bottom: 12px;
}
.principles p {
  font-size: 14px;
  line-height: 1.9;
  color: var(--muted);
}
.download {
  padding: 80px 0 56px;
  position: relative;
  background:
    radial-gradient(ellipse at 0 40%, #def4fb 0, transparent 62%),
    radial-gradient(ellipse at 100% 50%, #ede5ff 0, transparent 60%);
}
.download-heading {
  text-align: center;
}
.download-icon {
  filter: drop-shadow(0 15px 15px #48749126);
  margin-bottom: 28px;
  transition: transform 0.5s;
}
.download-icon:hover {
  transform: translateY(-6px) rotate(-5deg);
}
.download-heading > p:not(.compatibility) {
  font-size: 22px;
  color: var(--muted);
  line-height: 1.6;
  margin: 18px 0 28px;
}
.download-heading .button {
  min-width: 220px;
}
.release {
  display: grid;
  grid-template-columns: 230px 1fr;
  border-radius: 26px;
  max-width: 960px;
  margin: 40px auto 0;
  padding: 6px;
  background: linear-gradient(110deg, #e0f5ff70, #ffffff80 45%, #e7ddff70);
}
.release-version {
  padding: 28px 30px;
  border-right: 1px solid var(--line);
}
.release-version h3 {
  font-size: 32px;
  font-weight: 600;
  letter-spacing: -1px;
}
.release-version time {
  display: block;
  color: var(--muted);
  font-size: 16px;
  margin: 12px 0 18px;
}
.text-link {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  color: #1d68ce;
  font-size: 13px;
}
.text-link .icon {
  height: 15px;
  width: 15px;
}
.release-notes {
  padding: 26px 34px;
}
.release-notes h3 {
  font-size: 19px;
  font-weight: 600;
  line-height: 1.5;
}
.release-notes ul {
  margin: 14px 0 0;
  padding-left: 20px;
  color: #3a4c65;
  font-size: 14px;
  line-height: 1.9;
}
.release-notes li + li {
  margin-top: 6px;
}
.release-details {
  text-align: center;
  color: var(--muted);
  font-size: 12px;
  line-height: 1.9;
  margin: 20px auto 0;
  max-width: 820px;
}
.release-details a {
  text-decoration: underline;
  text-underline-offset: 3px;
}
.scope {
  max-width: 960px;
  margin: 28px auto 0;
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
  padding: 18px 3px;
  font-size: 13px;
  color: var(--muted);
  line-height: 1.9;
}
.scope summary {
  cursor: pointer;
  color: #415370;
  list-style: none;
  display: flex;
  justify-content: space-between;
  gap: 20px;
}
.scope summary::-webkit-details-marker {
  display: none;
}
.scope summary span {
  font-size: 20px;
  transition: transform 0.2s;
}
.scope[open] summary span {
  transform: rotate(45deg);
}
.scope p {
  margin-top: 15px;
}
.scope .text-link {
  margin-top: 15px;
}
.footer {
  padding-top: 36px;
  padding-bottom: 30px;
}
.footer-top {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 30px;
}
.footer-links {
  gap: 26px;
}
.footer-links a {
  font-size: 12px;
  color: #344e75;
  display: inline-flex;
  align-items: center;
  gap: 4px;
}
.footer-links .icon {
  width: 13px;
  height: 13px;
}
.footer > p {
  text-align: center;
  font-size: 11px;
  line-height: 1.9;
  margin-top: 30px;
  color: var(--muted);
}
.footer > p a {
  margin-right: 4px;
  text-decoration: underline;
  text-underline-offset: 3px;
}
dialog {
  padding: 0;
  border: 1px solid #ffffff80;
  border-radius: 18px;
  width: min(1300px, calc(100% - 48px));
  max-width: none;
  max-height: 92vh;
  color: white;
  background: #24282e;
  box-shadow: 0 30px 100px #0008;
}
dialog::backdrop {
  background: #122039b5;
  backdrop-filter: blur(12px);
}
dialog > img {
  display: block;
  width: 100%;
}
.dialog-toolbar {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 16px;
  padding: 12px 16px;
  font-size: 12px;
}
.dialog-toolbar .small-button {
  color: var(--ink);
}
kbd {
  font:
    10px ui-monospace,
    monospace;
  opacity: 0.6;
}
.noscript-note {
  padding: 18px;
  font-size: 14px;
  line-height: 1.8;
}
.reveal {
  opacity: 1;
  transform: none;
}
.motion-ready .reveal:not(.in-view) {
  opacity: 0;
  transform: translateY(20px);
}
.motion-ready .reveal {
  transition:
    opacity 0.7s ease,
    transform 0.7s cubic-bezier(0.2, 0.65, 0.3, 1);
}
@keyframes panel-enter {
  from {
    opacity: 0;
    transform: translateY(6px);
  }
  to {
    opacity: 1;
    transform: none;
  }
}
@media (min-width: 1600px) {
  .hero {
    padding-top: 165px;
  }
  .hero h1 {
    font-size: 80px;
  }
  .hero-description {
    font-size: 24px;
  }
}
@media (max-width: 1050px) {
  .demo-panel {
    grid-template-columns: minmax(0, 1fr);
    gap: 24px;
  }
  .demo-copy {
    display: grid;
    grid-template-columns: 1fr 1.7fr;
    column-gap: 30px;
    padding: 0 8px;
  }
  .demo-copy h3 {
    font-size: 25px;
    grid-row: span 2;
  }
  .demo-copy p {
    font-size: 14px;
    margin: 0 0 12px;
  }
  .demo-copy small {
    font-size: 11px;
  }
  .demo-copy .text-button {
    grid-column: 2;
    margin-top: 10px;
  }
  .demo-workspace {
    grid-template-columns: minmax(0, 1fr) 220px;
    min-height: 370px;
  }
  .query-workspace,
  .agent-workspace {
    min-height: 385px;
  }
  .nav-links {
    gap: 24px;
  }
  .principles article {
    padding: 0 22px;
  }
  .principles h3 {
    font-size: 17px;
  }
  .footer-top {
    align-items: flex-start;
  }
  .footer-links {
    flex-wrap: wrap;
    gap: 16px;
    justify-content: flex-end;
  }
}
@media (max-width: 700px) {
  html {
    scroll-padding-top: 30px;
  }
  .header {
    padding: 0 16px;
    top: 14px;
  }
  .nav {
    min-height: 60px;
    padding: 9px 16px;
    border-radius: 22px;
    gap: 12px;
  }
  .brand {
    font-size: 17px;
    gap: 7px;
  }
  .brand img {
    width: 29px;
    height: 29px;
  }
  .nav-links {
    gap: 18px;
  }
  .nav-links a {
    font-size: 12px;
  }
  .nav-links a:nth-child(1),
  .nav-links a:nth-child(2) {
    display: none;
  }
  .nav-links .icon {
    width: 12px;
  }
  .hero {
    padding: 130px 20px 42px;
  }
  .hero h1 {
    font-size: 44px;
    letter-spacing: -2px;
    line-height: 1.28;
  }
  .hero-description {
    font-size: 15px;
    line-height: 1.9;
    margin: 22px 0 24px;
  }
  .actions {
    gap: 12px;
  }
  .button {
    font-size: 13px;
    padding: 13px 21px;
    min-height: 48px;
    gap: 8px;
  }
  .secondary {
    min-width: 0;
  }
  .compatibility {
    font-size: 11px;
  }
  .compatibility span {
    padding: 0 4px;
  }
  .product-figure {
    margin-top: 36px;
  }
  .product-window {
    border-radius: 10px;
    box-shadow: 0 22px 34px -16px #25384e66;
  }
  .zoom-hint {
    display: none;
  }
  .database-list {
    margin-top: 28px;
    gap: 13px;
    font-size: 12px;
  }
  .database-list span {
    gap: 5px;
  }
  .database-list .icon {
    width: 14px;
    height: 14px;
  }
  .section-wrap {
    width: calc(100% - 40px);
  }
  .experience {
    padding: 64px 0;
  }
  .section-heading h2,
  h2 {
    font-size: 30px;
    letter-spacing: -1px;
    line-height: 1.5;
  }
  .section-heading > p {
    font-size: 17px;
    margin-top: 12px;
  }
  .tabs {
    margin: 28px auto 24px;
    padding: 5px;
    gap: 0;
  }
  .tabs button {
    font-size: 12px;
    padding: 12px 16px;
  }
  .demo {
    padding: 12px;
    border-radius: 20px;
  }
  .demo-panel {
    gap: 22px;
  }
  .demo-workspace {
    grid-template-columns: minmax(0, 1fr);
    border-radius: 12px;
  }
  .workspace-toolbar {
    gap: 10px;
    padding: 14px 12px;
    min-height: 55px;
  }
  .workspace-toolbar strong {
    font-size: 11px;
  }
  .traffic-lights {
    gap: 4px;
  }
  .traffic-lights i {
    width: 7px;
    height: 7px;
  }
  .search-field {
    max-width: 158px;
  }
  .table-scroll {
    padding: 0 8px;
  }
  .table-scroll th,
  .table-scroll td {
    padding: 12px 7px;
  }
  .progress-track {
    width: 40px;
  }
  .project-button {
    font-size: 11px;
  }
  .table-scroll table {
    font-size: 10px;
  }
  .inspector {
    border-left: 0;
    border-top: 1px solid var(--line);
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 14px;
    padding: 16px;
  }

  .inspector textarea {
    min-height: 55px;
    resize: vertical;
  }
  .inspector-actions {
    grid-column: 1/-1;
  }
  .save-status {
    grid-column: 1/-1;
  }
  .demo-copy {
    display: block;
    padding: 0 10px 12px;
  }
  .demo-copy h3 {
    font-size: 23px;
    line-height: 1.45;
  }
  .demo-copy h3 br {
    display: none;
  }
  .demo-copy p {
    margin: 10px 0 16px;
    font-size: 13px;
  }
  .demo-copy small br {
    display: none;
  }
  .demo-copy small br::after {
    content: " ";
  }
  .query-workspace,
  .agent-workspace {
    min-height: 355px;
    border-radius: 12px;
  }
  .code-editor {
    padding: 20px 14px;
    font-size: 11px;
  }
  .query-actions {
    padding: 14px 12px;
    gap: 8px;
  }
  .small-button {
    font-size: 11px;
    padding: 8px 10px;
  }
  .query-results {
    padding: 0 10px;
  }
  .agent-conversation {
    padding: 2px 14px 18px;
  }
  .operation-heading {
    flex-wrap: wrap;
    gap: 4px;
  }
  .principles {
    grid-template-columns: 1fr;
    margin-top: 40px;
  }
  .principles article,
  .principles article:first-child,
  .principles article:last-child {
    padding: 24px 0;
    border-right: 0;
    border-bottom: 1px solid var(--line);
  }
  .principles article:last-child {
    border-bottom: 0;
    padding-bottom: 0;
  }
  .principle-number {
    font-size: 22px;
    float: left;
    width: 48px;
    margin-top: 0;
  }
  .principles h3 {
    font-size: 18px;
    margin-left: 48px;
  }
  .principles p {
    font-size: 13px;
    margin-left: 48px;
  }
  .download {
    padding: 48px 0 36px;
  }
  .download-icon {
    width: 88px;
    height: 88px;
    margin-bottom: 22px;
  }
  .download-heading > p:not(.compatibility) {
    font-size: 15px;
    margin: 16px 0 24px;
  }
  .download-heading .button {
    min-width: 190px;
  }
  .release {
    grid-template-columns: 1fr;
    margin-top: 30px;
    border-radius: 20px;
  }
  .release-version {
    padding: 20px;
    border-right: 0;
    border-bottom: 1px solid var(--line);
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 12px;
    align-items: center;
  }
  .release-version h3 {
    font-size: 28px;
  }
  .release-version time {
    margin: 0;
    text-align: right;
    font-size: 13px;
  }
  .release-version .text-link {
    grid-column: 1/-1;
  }
  .release-notes {
    padding: 22px 20px;
  }
  .release-notes h3 {
    font-size: 17px;
  }
  .release-notes ul {
    font-size: 12px;
    line-height: 1.9;
  }
  .release-details {
    font-size: 11px;
    padding: 0 8px;
  }
  .scope {
    font-size: 12px;
  }
  .footer {
    padding-top: 28px;
  }
  .footer-top {
    flex-direction: column;
    gap: 22px;
    align-items: center;
  }
  .footer-links {
    justify-content: center;
    gap: 18px;
    row-gap: 14px;
  }
  .footer-links a {
    font-size: 11px;
  }
  .footer > p {
    margin-top: 24px;
  }
  .dialog-toolbar {
    font-size: 10px;
    padding: 10px;
    gap: 8px;
  }
  dialog {
    width: calc(100% - 24px);
    border-radius: 12px;
  }
}
@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }
  *,
  *::before,
  *::after {
    animation: none !important;
    transition: none !important;
  }
  .motion-ready .reveal:not(.in-view) {
    opacity: 1;
    transform: none;
  }
  .product-window,
  .button:hover,
  .download-icon:hover {
    transform: none;
  }
}
@supports not (backdrop-filter: blur(1px)) {
  .glass {
    background: #f1f6fc;
  }
  .demo {
    background: #eaf2fb;
  }
}

/* Product screenshots remain on a flat plane to preserve text rasterization. */
.screenshot-controls {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 20px;
  margin: 0 0 18px;
  font-size: 12px;
  color: var(--muted);
}
.appearance-switch {
  display: flex;
  padding: 4px;
  border-radius: 100px;
  gap: 3px;
}
.appearance-switch button {
  background: transparent;
  padding: 8px 20px;
  border-radius: 100px;
  font-size: 12px;
}
.appearance-switch button[aria-pressed="true"] {
  background: #dfeaff;
  color: #1559b6;
  box-shadow: inset 0 0 0 1px #2879ec20;
}
.screenshot-fallback {
  text-align: center;
  font-size: 13px;
  padding-top: 16px;
}
.product-window {
  background: transparent;
  transform: none;
}
.dialog-toolbar {
  position: sticky;
  top: 0;
  background: #24282e;
  z-index: 1;
  flex-wrap: wrap;
}
.dialog-toolbar > a {
  color: #c5d9fc;
  margin-left: auto;
  font-size: 12px;
  text-decoration: underline;
  text-underline-offset: 3px;
}
.demo-notice {
  padding: 14px 18px;
  margin-bottom: 16px;
  border: 1px solid #db9a4b60;
  background: #fff5e6;
  border-radius: 12px;
  color: #815323;
  font-size: 13px;
  line-height: 1.7;
}
.demo-workspace {
  grid-template-columns: minmax(0, 1fr) 218px;
  max-height: 540px;
}
.table-area {
  overflow: hidden;
}
.table-scroll {
  overflow: auto;
  min-height: 0;
}
.table-scroll table {
  min-width: 780px;
}
.table-scroll th {
  position: sticky;
  top: 0;
  background: #f4f7fb;
  z-index: 1;
}
.table-scroll th button {
  background: none;
  font: inherit;
  white-space: nowrap;
  padding: 0;
  color: inherit;
}
.table-scroll th[aria-sort="ascending"] button::after {
  content: " ↑";
}
.table-scroll th[aria-sort="descending"] button::after {
  content: " ↓";
}
.table-scroll tr {
  cursor: pointer;
}
.table-scroll td {
  padding-block: 12px;
}
.table-scroll td:first-child {
  color: var(--muted);
  font-size: 11px;
}
.table-scroll tr:nth-child(even):not(.selected) {
  background: #71809908;
}
.status-dot.pending {
  background: #9aa0a9;
}
.inspector {
  padding: 0;
  gap: 0;
  min-height: 0;
  overflow: hidden;
}
.inspector-heading {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 17px 14px;
  border-bottom: 1px solid var(--line);
  font-size: 12px;
  flex-shrink: 0;
}
.inspector-heading span {
  font-size: 10px;
  color: var(--muted);
}
.record-fields {
  padding: 16px 14px;
  overflow: auto;
  min-height: 0;
}
.record-field + .record-field {
  margin-top: 16px;
}
.field-type {
  float: right;
  color: var(--muted);
  font:
    9px/1.7 ui-monospace,
    SFMono-Regular,
    Menlo,
    monospace;
}
.inspector input[type="text"] {
  font-size: 12px;
  padding: 8px;
  margin-top: 6px;
}
.inspector input:disabled {
  color: #8190a2;
  background: #e6eaf180;
  cursor: default;
}
.inspector input.modified {
  border-color: #d69643;
}
.inspector .null-option {
  display: flex;
  align-items: center;
  gap: 4px;
  margin-top: 6px;
  color: var(--muted);
  font:
    10px ui-monospace,
    SFMono-Regular,
    Menlo,
    monospace;
}
.inspector .null-option input {
  width: 12px;
  height: 12px;
  margin: 0;
  accent-color: var(--blue);
}
.inspector-actions {
  padding: 12px 14px 6px;
  border-top: 1px solid var(--line);
  flex-shrink: 0;
}
.save-status {
  padding: 3px 14px 10px;
  min-height: 24px;
  flex-shrink: 0;
}
.operation-purpose,
.operation-warning {
  font-size: 10px;
  color: var(--muted);
  margin-top: 8px;
  line-height: 1.7;
}
.operation-warning {
  margin-bottom: 12px;
}
#agent-result details {
  margin: 10px 0;
  border: 1px solid var(--line);
  border-radius: 8px;
  padding: 8px 12px;
}
#agent-result summary {
  cursor: pointer;
}
#agent-result pre {
  white-space: pre-wrap;
  overflow-wrap: anywhere;
  max-height: 160px;
  overflow: auto;
  font:
    11px/1.7 ui-monospace,
    SFMono-Regular,
    Menlo,
    monospace;
}
@media (max-width: 700px) {
  .screenshot-controls {
    gap: 12px;
    font-size: 11px;
    margin-bottom: 14px;
  }
  .appearance-switch button {
    padding: 8px 16px;
    font-size: 11px;
  }
  .demo-workspace {
    grid-template-columns: minmax(0, 1fr);
    max-height: none;
  }
  .table-area {
    max-height: 300px;
  }
  .inspector {
    display: flex;
    grid-template-columns: none;
    padding: 0;
    gap: 0;
  }
  .record-fields {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 16px 12px;
    max-height: none;
  }
  .record-field + .record-field {
    margin-top: 0;
  }
  .record-field:last-child {
    grid-column: 1/-1;
  }
  .inspector-actions {
    margin-top: 0;
  }
  .table-scroll table {
    font-size: 12px;
  }
  .table-scroll td {
    padding: 10px;
  }
  .dialog-toolbar > a {
    font-size: 10px;
  }
  .dialog-toolbar > span {
    width: 100%;
  }
  .dialog-toolbar #close-screenshot {
    margin-left: auto;
  }
}

/* Reserve one frame through loading, retries and scene/theme changes. */
#screenshot-picture { display: block; aspect-ratio: 2880 / 1800; }
#screenshot-picture img { display: block; width: 100%; height: 100%; object-fit: contain; }
.screenshot-scenes { width: max-content; max-width: 100%; margin: 20px auto 10px; }
.screenshot-note, .screenshot-status { text-align: center; color: var(--muted); font-size: 12px; line-height: 1.7; }
.screenshot-status { min-height: 1.7em; }
.screenshot-controls { flex-wrap: wrap; }
@media (max-width: 700px) {
  .screenshot-controls { gap: 8px; }
  .screenshot-scenes button { padding-inline: 12px; }
  .screenshot-note { font-size: 11px; }
}
