:root {
  color-scheme: light;
  --bg: #f1f2ef;
  --surface: #fbfbf8;
  --surface-alt: #e4e8e6;
  --surface-deep: #111a17;
  --ink: #171b1f;
  --muted: #58636d;
  --line: rgba(18, 28, 24, 0.14);
  --brand: #111a17;
  --brand-strong: #0a1110;
  --brand-soft: rgba(11, 127, 114, 0.08);
  --green: #0b7f72;
  --amber: #c28b45;
  --blue: #256f8f;
  --champagne: #c6a15b;
  --copper: #c46d4c;
  --platinum: #f5f6f7;
  --violet: #657184;
  --code-bg: #10161a;
  --code-ink: #f1f3f5;
  --shadow: 0 16px 36px rgba(36, 39, 45, 0.11);
  --radius: 8px;
  --max: 1440px;
  --hero-panel-height: 700px;
  --hero-title-size: clamp(46px, 3.8vw, 54px);
  --hero-title-tablet-size: clamp(44px, 5vw, 52px);
  --hero-title-mobile-size: 38px;
  --hero-title-line: 1.06;
  --hero-lead-size: 18px;
  --hero-lead-tablet-size: 20px;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

html[lang="zh-CN"] {
  --hero-title-size: clamp(48px, 4.2vw, 58px);
  --hero-title-tablet-size: clamp(46px, 5.4vw, 54px);
  --hero-title-mobile-size: clamp(36px, 9.4vw, 40px);
}

body {
  margin: 0;
  font-family: "Roboto", "PingFang SC", "Hiragino Sans GB", "Microsoft YaHei", Arial, sans-serif;
  color: var(--ink);
  background: var(--bg);
  background-size: auto;
}

body.modal-open {
  overflow: hidden;
}

a {
  color: inherit;
  text-decoration: none;
}

i {
  line-height: 1;
}

img {
  display: block;
  max-width: 100%;
}

code,
pre {
  font-family: "JetBrains Mono", "SFMono-Regular", Menlo, monospace;
}

h1,
h2,
h3,
p {
  letter-spacing: 0;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 20;
  display: grid;
  grid-template-columns: auto minmax(0, 1fr) auto;
  align-items: center;
  gap: 24px;
  width: min(calc(100% - 48px), var(--max));
  min-height: 72px;
  margin: 0 auto;
  border-bottom: 1px solid var(--line);
  background: color-mix(in srgb, var(--bg) 92%, transparent);
  backdrop-filter: blur(12px);
}

.brand,
.top-nav,
.header-actions,
.hero-actions,
.docs-links,
.site-footer nav {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
}

.brand img {
  width: 112px;
  height: auto;
}

.menu-toggle {
  display: none;
  align-items: center;
  justify-content: center;
  gap: 7px;
  min-height: 38px;
  padding: 0 11px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: rgba(255, 255, 255, 0.62);
  color: var(--brand-strong);
  font: inherit;
  font-size: 13px;
  font-weight: 900;
  cursor: pointer;
}

.top-nav {
  justify-content: center;
  gap: 8px;
  color: var(--muted);
  font-size: 14px;
  font-weight: 800;
}

.top-nav a,
.nav-group > summary,
.language-link,
.search-link,
.icon-link,
.button,
.install-line span,
.inline-link,
.docs-links a,
.site-footer a {
  gap: 7px;
}

.top-nav a:hover,
.nav-group > summary:hover,
.site-footer a:hover {
  color: var(--brand);
}

.nav-group {
  position: relative;
}

.nav-group > summary,
.nav-direct {
  min-height: 40px;
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 0 11px;
  border: 1px solid transparent;
  border-radius: var(--radius);
  list-style: none;
  cursor: pointer;
  white-space: nowrap;
}

.nav-group > summary::-webkit-details-marker {
  display: none;
}

.nav-group > summary::after {
  content: "+";
  color: var(--brand-strong);
  font-family: "JetBrains Mono", monospace;
  font-size: 12px;
  line-height: 1;
}

.nav-group[open] > summary,
.nav-direct:hover {
  border-color: var(--line);
  background: rgba(255, 255, 255, 0.08);
  color: var(--brand-strong);
}

.nav-menu {
  position: absolute;
  top: calc(100% + 10px);
  left: 0;
  z-index: 30;
  width: min(300px, calc(100vw - 40px));
  display: grid;
  gap: 4px;
  padding: 8px;
  border: 1px solid rgba(255, 255, 255, 0.14);
  border-radius: var(--radius);
  background: rgba(42, 43, 45, 0.97);
  box-shadow: 0 18px 42px rgba(0, 0, 0, 0.36);
  backdrop-filter: blur(14px);
}

.nav-menu-right {
  right: 0;
  left: auto;
}

.nav-menu a {
  display: grid;
  gap: 2px;
  padding: 10px 11px;
  border-radius: 7px;
}

.nav-menu a:hover {
  background: rgba(255, 255, 255, 0.08);
}

.nav-menu span {
  color: #f5f6f7;
  font-size: 13px;
  font-weight: 900;
}

.nav-menu small {
  color: #aab2bf;
  font-size: 11px;
  font-weight: 700;
  line-height: 1.35;
}

.header-actions {
  justify-content: flex-end;
  gap: 10px;
}

.language-link,
.search-link,
.icon-link,
.button,
.docs-links a {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 40px;
  border-radius: var(--radius);
  font-weight: 900;
  white-space: nowrap;
}

.search-link {
  gap: 10px;
  padding: 0 12px;
  border: 1px solid var(--line);
  background: var(--surface);
  color: var(--muted);
  font-size: 13px;
}

.language-link {
  padding: 0 12px;
  border: 1px solid var(--line);
  background: var(--surface);
  color: var(--brand-strong);
  font-size: 13px;
  text-decoration: none;
}

kbd {
  min-width: 30px;
  padding: 2px 6px;
  border: 1px solid var(--line);
  border-radius: 5px;
  background: var(--surface-alt);
  font-family: "JetBrains Mono", monospace;
  font-size: 11px;
  color: var(--muted);
}

.icon-link {
  padding: 0 12px;
  border: 1px solid var(--brand);
  color: var(--brand);
  font-size: 13px;
}

main,
.site-footer {
  width: min(calc(100% - 48px), var(--max));
  margin: 0 auto;
}

section {
  padding: 72px 0;
}

.hero {
  min-height: auto;
  display: grid;
  grid-template-columns: minmax(300px, 0.42fr) minmax(700px, 1.08fr);
  gap: clamp(24px, 3vw, 42px);
  align-items: stretch;
  padding: clamp(30px, 4vh, 46px) clamp(28px, 4vw, 58px);
  border: 1px solid rgba(17, 26, 23, 0.12);
  border-radius: var(--radius);
  background:
    radial-gradient(circle at 74% 12%, rgba(11, 127, 114, 0.12), transparent 34%),
    linear-gradient(135deg, #f8f8f5 0%, #edf1ef 58%, #e1e6e3 100%);
  box-shadow: 0 20px 52px rgba(17, 26, 23, 0.12);
}

.hero .eyebrow {
  color: var(--brand-strong);
}

.hero h1 {
  color: var(--ink);
}

.hero .hero-lead {
  color: #343b44;
}

.hero-copy {
  max-width: none;
  height: var(--hero-panel-height);
  min-height: var(--hero-panel-height);
  display: grid;
  align-content: start;
  padding: clamp(8px, 1.2vw, 16px) 0;
}

.eyebrow,
.section-kicker {
  margin: 0 0 14px;
  color: var(--champagne);
  font-size: 12px;
  font-weight: 900;
  letter-spacing: 0;
  text-transform: uppercase;
}

h1 {
  max-width: 560px;
  margin: 0;
  color: var(--ink);
  background: none;
  -webkit-text-fill-color: currentColor;
  font-family: "JetBrains Mono", monospace;
  font-size: var(--hero-title-size);
  line-height: var(--hero-title-line);
  font-weight: 900;
  text-wrap: balance;
}

.hero-lead {
  max-width: 560px;
  margin: 22px 0 0;
  color: #353a42;
  font-size: var(--hero-lead-size);
  line-height: 1.55;
  font-weight: 700;
}

.hero-actions {
  gap: 12px;
  margin-top: 28px;
}

.button {
  appearance: none;
  min-height: 44px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  border-radius: var(--radius);
  cursor: pointer;
  font: inherit;
  padding: 0 16px;
  border: 1px solid var(--line);
  background: var(--surface);
  color: var(--ink);
  font-weight: 900;
  transition: background 0.16s ease, border-color 0.16s ease, color 0.16s ease, transform 0.16s ease;
}

.button:hover,
.docs-links a:hover {
  border-color: var(--brand);
  color: var(--brand);
  transform: translateY(-1px);
}

.button-primary {
  border-color: var(--green);
  background: var(--green);
  color: #ffffff;
}

.button-primary:hover {
  background: color-mix(in srgb, var(--green) 82%, #ffffff);
  color: #ffffff;
}

.install-cta code {
  color: inherit;
  font-size: 13px;
  font-weight: 900;
}

.install-line {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  align-items: center;
  width: fit-content;
  margin-top: 20px;
  padding: 10px 12px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--surface);
  box-shadow: var(--shadow);
}

.install-line span {
  color: var(--muted);
  font-size: 13px;
  font-weight: 900;
}

.install-line code {
  color: var(--brand-strong);
  font-size: 14px;
  font-weight: 800;
}

.hero-stats {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 8px;
  margin-top: 12px;
}

.hero-stats a {
  min-width: 0;
  min-height: 58px;
  display: grid;
  grid-template-columns: auto minmax(0, 1fr);
  gap: 3px 8px;
  align-content: center;
  padding: 9px 11px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--surface);
  color: var(--ink);
  transition: border-color 0.16s ease, transform 0.16s ease, background 0.16s ease;
}

.hero-stats a:hover {
  border-color: var(--brand);
  transform: translateY(-1px);
}

.hero-stats i {
  grid-row: span 2;
  align-self: center;
  color: var(--brand-strong);
  font-size: 16px;
}

.hero-stats strong {
  min-width: 0;
  color: var(--ink);
  font-family: "JetBrains Mono", monospace;
  font-size: 15px;
  font-weight: 900;
  line-height: 1;
}

.hero-stats span {
  min-width: 0;
  color: var(--muted);
  font-size: 10.5px;
  font-weight: 900;
  line-height: 1.15;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.hero-stage {
  position: relative;
  min-height: 470px;
  padding: 18px;
  border: 1px solid rgba(23, 25, 29, 0.2);
  border-radius: var(--radius);
  background:
    linear-gradient(180deg, rgba(251, 251, 252, 0.94), rgba(231, 233, 237, 0.94)),
    var(--surface);
  box-shadow: var(--shadow);
  overflow: hidden;
}

.hero-demo {
  min-height: 0;
  padding: 0;
  background: var(--code-bg);
  color: var(--code-ink);
  border: 1px solid rgba(255, 255, 255, 0.12);
}

.stage-topbar {
  position: relative;
  z-index: 1;
  display: flex;
  align-items: center;
  gap: 7px;
  margin-bottom: 18px;
  color: var(--muted);
  font-size: 12px;
  font-weight: 900;
}

.stage-topbar span {
  width: 9px;
  height: 9px;
  border-radius: 50%;
  background: var(--line);
}

.stage-topbar span:first-child {
  background: var(--green);
}

.stage-topbar strong {
  margin-left: auto;
}

.hero-demo .stage-topbar {
  margin: 0;
  padding: 8px 14px;
  border-bottom: 0;
  background: #171b20;
  color: #aeb9c7;
}

.demo-story {
  display: grid;
  gap: 4px;
  padding: 10px 14px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.14);
  background:
    linear-gradient(90deg, rgba(255, 255, 255, 0.12), transparent 70%),
    #15181d;
}

.demo-story span {
  color: #d8dce2;
  font-family: "JetBrains Mono", monospace;
  font-size: 11px;
  font-weight: 900;
}

.demo-story strong {
  color: #f5fbff;
  font-size: 15px;
  line-height: 1.35;
}

.model-code-card {
  gap: 8px;
  padding: 9px 12px 10px;
}

.model-code-title {
  display: grid;
  gap: 3px;
}

.model-code-title span {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  color: color-mix(in srgb, var(--green) 66%, #ffffff);
}

.model-code-title strong {
  font-size: 13px;
}

.model-code-card pre {
  margin: 0;
  padding: 10px 11px;
  border: 1px solid color-mix(in srgb, var(--green) 34%, rgba(255, 255, 255, 0.16));
  border-radius: 7px;
  background:
    radial-gradient(circle at 0% 0%, color-mix(in srgb, var(--green) 18%, transparent), transparent 38%),
    #0b1110;
  color: #dde7e5;
  font-size: clamp(9.2px, 0.62vw, 10px);
  line-height: 1.16;
  overflow: hidden;
}

.model-code-card code {
  color: inherit;
  font-family: "JetBrains Mono", monospace;
}

.model-code-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
}

.model-code-tags code {
  min-height: 21px;
  display: inline-flex;
  align-items: center;
  padding: 2px 7px;
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.07);
  color: #dce7e5;
  font-size: 9.8px;
  font-weight: 900;
}

.model-route-stage {
  display: grid;
  gap: 8px;
  margin-top: 10px;
}

.model-route-stage div {
  display: grid;
  gap: 4px;
  padding: 9px 10px;
  border: 1px solid color-mix(in srgb, var(--green) 24%, var(--line));
  border-radius: var(--radius);
  background:
    linear-gradient(90deg, color-mix(in srgb, var(--green) 8%, transparent), transparent 68%),
    #ffffff;
}

.model-route-stage small {
  color: var(--brand-strong);
  font-family: "JetBrains Mono", monospace;
  font-size: 10px;
  font-weight: 900;
}

.model-route-stage b {
  color: #2d3440;
  font-size: 12px;
  line-height: 1.35;
}

.hero-demo-switcher {
  position: relative;
}

.hero-demo-switcher > input {
  position: absolute;
  opacity: 0;
  pointer-events: none;
}

.demo-tab-list {
  display: grid;
  grid-template-columns: repeat(5, minmax(0, 1fr));
  border-bottom: 0;
  background: #171b20;
  overflow-x: auto;
}

.demo-tab-list label {
  min-height: 42px;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 0 10px;
  border-bottom: 0;
  color: #b8c4d2;
  font-size: 13px;
  font-weight: 900;
  white-space: nowrap;
  cursor: pointer;
}

.demo-tab-list label:hover {
  color: #ffffff;
}

#demo-model:checked ~ .demo-tab-list label[for="demo-model"],
#demo-structured:checked ~ .demo-tab-list label[for="demo-structured"],
#demo-instant:checked ~ .demo-tab-list label[for="demo-instant"],
#demo-actions:checked ~ .demo-tab-list label[for="demo-actions"],
#demo-flow:checked ~ .demo-tab-list label[for="demo-flow"],
#demo-service:checked ~ .demo-tab-list label[for="demo-service"] {
  color: #ffffff;
  background: #26342f;
}

.hero-demo-body {
  padding: 10px;
}

.demo-panel {
  display: none;
  gap: 10px;
  padding: 0;
}

#demo-model:checked ~ .hero-demo-body .demo-model,
#demo-structured:checked ~ .hero-demo-body .demo-structured,
#demo-instant:checked ~ .hero-demo-body .demo-instant,
#demo-actions:checked ~ .hero-demo-body .demo-actions,
#demo-flow:checked ~ .hero-demo-body .demo-flow,
#demo-service:checked ~ .hero-demo-body .demo-service {
  display: grid;
}

.demo-code,
.demo-output {
  border-radius: var(--radius);
}

.demo-code {
  border: 1px solid rgba(255, 255, 255, 0.13);
  background: color-mix(in srgb, var(--code-bg) 88%, #000000);
  overflow: hidden;
}

.demo-code-title {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  min-height: 36px;
  padding: 0 12px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.11);
  color: #d5dee9;
}

.demo-code-title > div {
  display: grid;
  gap: 2px;
  min-width: 0;
}

.demo-code-title span {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  color: var(--green);
  font-family: "JetBrains Mono", monospace;
  font-size: 12px;
  font-weight: 900;
}

.demo-code-title strong {
  color: #f3f7fb;
  font-size: 12px;
}

.copy-demo {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 6px;
  min-height: 28px;
  padding: 0 9px;
  border: 1px solid rgba(255, 255, 255, 0.18);
  border-radius: 6px;
  background: rgba(255, 255, 255, 0.08);
  color: #d8dce2;
  font: inherit;
  font-size: 11px;
  font-weight: 900;
  white-space: nowrap;
  cursor: pointer;
  transition: background 0.16s ease, border-color 0.16s ease, color 0.16s ease, transform 0.16s ease;
}

.copy-demo:hover,
.copy-demo.copied {
  border-color: color-mix(in srgb, var(--green) 68%, #ffffff);
  background: color-mix(in srgb, var(--green) 28%, transparent);
  color: #ffffff;
  transform: translateY(-1px);
}

.demo-code pre {
  height: clamp(138px, 20vh, 190px);
  min-height: 0;
  margin: 0;
  padding: 14px 16px;
  overflow: auto;
  color: var(--code-ink);
  font-size: 11px;
  line-height: 1.35;
  tab-size: 4;
}

.demo-code code {
  color: inherit;
  white-space: pre;
}

.code-token-keyword {
  color: #7dd3a8;
  font-weight: 900;
}

.code-token-builtin {
  color: #b9c4ff;
  font-weight: 800;
}

.code-token-function {
  color: #7cc7f2;
}

.code-token-string {
  color: #e7c16d;
}

.code-token-comment {
  color: #778391;
  font-style: italic;
}

.code-token-number {
  color: #f2a15f;
}

.code-token-operator {
  color: #9ad6c8;
}

.demo-output {
  padding: 12px;
  border: 1px solid rgba(23, 25, 29, 0.18);
  background: #f6f7f8;
  color: var(--ink);
}

.demo-output span {
  color: var(--brand-strong);
  font-size: 12px;
  font-weight: 900;
}

.demo-output strong {
  display: block;
  margin-top: 6px;
  font-size: 16px;
  line-height: 1.28;
  overflow-wrap: anywhere;
}

.demo-output dl {
  display: grid;
  gap: 6px;
  margin: 10px 0 0;
}

.demo-output dl div {
  display: grid;
  grid-template-columns: 82px minmax(0, 1fr);
  gap: 8px;
  align-items: center;
  min-height: 32px;
  padding: 6px 9px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: #ffffff;
}

.demo-output dt,
.demo-output dd {
  margin: 0;
}

.demo-output dt {
  color: var(--muted);
  font-family: "JetBrains Mono", monospace;
  font-size: 11px;
  font-weight: 900;
}

.demo-output dd {
  font-weight: 900;
}

.runtime-lines {
  display: grid;
  gap: 4px;
  margin: 7px 0 0;
  padding: 0;
  list-style: none;
}

.runtime-lines li {
  min-height: 24px;
  padding: 4px 7px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background:
    linear-gradient(90deg, color-mix(in srgb, var(--green) 16%, transparent), transparent 58%),
    #ffffff;
  color: #2c3744;
  font-weight: 800;
  animation: runtime-glow 4.8s ease-in-out infinite;
}

.stream-lines li {
  display: grid;
  grid-template-columns: 54px minmax(0, 1fr);
  gap: 8px;
  align-items: center;
}

.stream-lines small {
  color: var(--brand-strong);
  font-family: "JetBrains Mono", monospace;
  font-size: 9.5px;
  font-weight: 900;
  text-transform: uppercase;
}

.stream-lines code {
  min-width: 0;
  color: #262a30;
  font-size: 10.5px;
  font-weight: 800;
  white-space: normal;
  overflow-wrap: anywhere;
}

.runtime-lines li:nth-child(2) {
  animation-delay: 0.35s;
}

.runtime-lines li:nth-child(3) {
  animation-delay: 0.7s;
}

.runtime-lines li:nth-child(4) {
  animation-delay: 1.05s;
}

.instant-live {
  display: grid;
  grid-template-columns: minmax(0, 0.92fr) minmax(0, 0.98fr);
  gap: 8px;
  align-items: stretch;
  margin-top: 7px;
}

.instant-live .runtime-lines {
  margin-top: 0;
}

.patch-timeline li {
  animation-name: patch-step;
  animation-duration: 4.2s;
}

.live-card {
  display: grid;
  align-content: start;
  gap: 5px;
  min-height: 0;
  padding: 8px;
  border: 1px solid color-mix(in srgb, var(--brand) 24%, var(--line));
  border-radius: var(--radius);
  background:
    linear-gradient(180deg, #ffffff, #eceff3),
    #ffffff;
  box-shadow: inset 0 0 0 1px rgba(255, 255, 255, 0.72);
}

.live-card span {
  color: var(--brand-strong);
  font-family: "JetBrains Mono", monospace;
  font-size: 10px;
  font-weight: 900;
  text-transform: uppercase;
}

.live-card strong {
  margin: 0;
  color: var(--ink);
  font-size: 17px;
}

.live-card p {
  margin: 0;
  color: #5f6670;
  font-family: inherit;
  font-size: 11px;
  line-height: 1.35;
  font-weight: 800;
}

.live-progress {
  display: grid;
  gap: 6px;
  margin-top: 2px;
}

.live-progress i {
  display: block;
  height: 7px;
  border-radius: 999px;
  background:
    linear-gradient(90deg, var(--brand), color-mix(in srgb, var(--green) 74%, #ffffff)),
    #dfeaf0;
  transform-origin: left center;
  animation: stream-bar 2.7s ease-in-out infinite;
}

.live-progress i:nth-child(2) {
  width: 78%;
  animation-delay: 0.35s;
}

.live-progress i:nth-child(3) {
  width: 58%;
  animation-delay: 0.7s;
}

.realtime-preview {
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 4px;
}

.realtime-preview > span {
  grid-column: 1 / -1;
}

.preview-field {
  min-height: 26px;
  padding: 5px 6px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: #ffffff;
  animation: preview-patch 4.2s ease-in-out infinite;
}

.preview-field small {
  display: block;
  margin-bottom: 1px;
  color: var(--brand-strong);
  font-family: "JetBrains Mono", monospace;
  font-size: 9px;
  font-weight: 900;
}

.preview-field strong,
.preview-field b,
.preview-field p {
  display: block;
  margin: 0;
}

.preview-field strong {
  font-size: 13px;
  line-height: 1.24;
}

.preview-field p {
  color: #5f6670;
  font-family: inherit;
  font-size: 10.5px;
  line-height: 1.25;
  font-weight: 800;
}

.preview-field b {
  color: var(--ink);
  font-size: 11px;
  font-weight: 900;
}

.field-summary,
.patch-timeline li:nth-child(2) {
  animation-delay: 0.35s;
}

.field-todo,
.patch-timeline li:nth-child(3) {
  animation-delay: 0.7s;
}

.field-priority,
.patch-timeline li:nth-child(4) {
  animation-delay: 1.05s;
}

.result-json {
  margin: 10px 0 0;
  padding: 8px 10px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: #ffffff;
  color: #262a30;
  font-size: 10.5px;
  line-height: 1.28;
  overflow: hidden;
  white-space: pre-wrap;
  overflow-wrap: anywhere;
}

.result-json code {
  color: inherit;
  white-space: pre-wrap;
  word-break: break-word;
  overflow-wrap: anywhere;
}

.output-notes {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
  margin-top: 6px;
}

.output-notes b {
  display: inline-flex;
  align-items: center;
  min-height: 22px;
  padding: 3px 7px;
  border: 1px solid color-mix(in srgb, var(--green) 34%, var(--line));
  border-radius: 999px;
  background: color-mix(in srgb, var(--green) 10%, #ffffff);
  color: #226b35;
  font-size: 10.5px;
  font-weight: 900;
}

.field-routing {
  display: grid;
  gap: 5px;
  margin-top: 7px;
}

.field-routing div {
  display: grid;
  grid-template-columns: 126px minmax(0, 1fr);
  gap: 8px;
  align-items: center;
  min-height: 30px;
  padding: 6px 9px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background:
    linear-gradient(90deg, rgba(23, 25, 29, 0.08), transparent 68%),
    #ffffff;
}

.field-routing small {
  color: var(--brand-strong);
  font-family: "JetBrains Mono", monospace;
  font-size: 10px;
  font-weight: 900;
}

.field-routing b {
  color: #262a30;
  font-size: 11px;
  font-weight: 900;
}

.action-stack {
  gap: 4px;
}

.action-stack li {
  grid-template-columns: 76px minmax(0, 1fr);
}

.action-stack small {
  color: #226b35;
}

.result-meaning {
  margin: 7px 0 0;
  padding: 7px 8px;
  border: 1px solid color-mix(in srgb, var(--brand) 22%, var(--line));
  border-radius: var(--radius);
  background: #ffffff;
  color: #353a42;
  font-family: inherit;
  font-size: 11px;
  line-height: 1.35;
  font-weight: 800;
}

.console-output-card {
  display: grid;
  gap: 10px;
  border-color: rgba(255, 255, 255, 0.12);
  background: #090d11;
  color: #d8e2ec;
}

.console-title {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  min-width: 0;
}

.console-title > span:first-child,
.console-output-card > span:first-child {
  color: #9ad6c8;
  font-family: "JetBrains Mono", monospace;
  font-size: 11px;
  font-weight: 900;
  text-transform: uppercase;
}

.source-link,
.source-links {
  display: inline-flex;
  align-items: center;
  gap: 8px;
}

.source-link {
  min-height: 26px;
  padding: 0 9px;
  border: 1px solid rgba(154, 214, 200, 0.42);
  border-radius: 6px;
  background: rgba(154, 214, 200, 0.08);
  color: #dff8f0;
  font-size: 11px;
  font-weight: 900;
  white-space: nowrap;
}

.source-link:hover {
  border-color: rgba(154, 214, 200, 0.72);
  background: rgba(154, 214, 200, 0.16);
}

.terminal-output,
.example-output-card .terminal-output {
  min-height: 152px;
  margin: 0;
  padding: 13px 14px;
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: var(--radius);
  background: #05080c;
  color: #dce7f0;
  overflow: auto;
  box-shadow: inset 0 0 0 1px rgba(255, 255, 255, 0.03);
}

.terminal-output code {
  display: grid;
  gap: 4px;
  color: inherit;
  font-family: "JetBrains Mono", monospace;
  font-size: 11px;
  line-height: 1.45;
  white-space: pre-wrap;
}

.terminal-output code span {
  display: block;
  opacity: 1;
  color: #dce7f0;
  animation: none;
  overflow-wrap: anywhere;
}

.terminal-output code span::before {
  content: "";
}

.terminal-output code span:nth-child(2) {
  animation-delay: 0.34s;
}

.terminal-output code span:nth-child(3) {
  animation-delay: 0.68s;
}

.terminal-output code span:nth-child(4) {
  animation-delay: 1.02s;
}

.terminal-output code span:nth-child(5) {
  animation-delay: 1.36s;
}

.terminal-output code span:nth-child(6) {
  animation-delay: 1.7s;
}

.terminal-output code span:nth-child(7) {
  animation-delay: 2.04s;
}

.terminal-output code span:nth-child(8) {
  animation-delay: 2.38s;
}

.terminal-output code span:nth-child(9) {
  animation-delay: 2.72s;
}

.terminal-output .terminal-note {
  color: #93a4b8;
}

.terminal-output .terminal-note::before {
  content: "";
}

.flow-meter {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 8px;
  margin-top: 14px;
}

.flow-meter i {
  display: block;
  height: 10px;
  border-radius: 999px;
  background: linear-gradient(90deg, var(--brand), color-mix(in srgb, var(--green) 72%, #ffffff));
  transform-origin: left center;
  animation: meter-fill 2.8s ease-in-out infinite;
}

.flow-meter i:nth-child(2) {
  animation-delay: 0.24s;
}

.flow-meter i:nth-child(3) {
  animation-delay: 0.48s;
}

.flow-meter i:nth-child(4) {
  animation-delay: 0.72s;
}

.flow-graph {
  display: grid;
  grid-template-columns: minmax(0, 0.8fr) 24px minmax(0, 0.8fr) minmax(0, 1.25fr) minmax(0, 0.98fr) minmax(0, 1fr);
  gap: 6px;
  align-items: stretch;
  margin-top: 8px;
}

.flow-node,
.flow-split {
  min-height: 54px;
  padding: 7px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: #ffffff;
  color: #262a30;
  font-family: "JetBrains Mono", monospace;
  font-size: 10px;
  font-weight: 900;
}

.flow-node {
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
}

.flow-node.active {
  border-color: color-mix(in srgb, var(--green) 38%, var(--line));
  background: color-mix(in srgb, var(--green) 10%, #ffffff);
  animation: flow-pulse 3.8s ease-in-out infinite;
}

.flow-node.merge {
  border-color: color-mix(in srgb, var(--brand) 38%, var(--line));
  background: color-mix(in srgb, var(--brand) 10%, #ffffff);
}

.flow-arrow {
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--brand-strong);
  font-family: "JetBrains Mono", monospace;
  font-weight: 900;
}

.flow-split {
  display: grid;
  gap: 5px;
  align-content: start;
  border-color: color-mix(in srgb, var(--brand) 30%, var(--line));
  background: color-mix(in srgb, var(--brand) 8%, #ffffff);
  animation: flow-pulse 3.8s ease-in-out infinite;
  animation-delay: 0.45s;
}

.flow-split.muted {
  opacity: 0.64;
  animation: none;
}

.flow-split span {
  color: var(--brand-strong);
  font-size: 10px;
}

.parallel-lanes {
  display: grid;
  gap: 4px;
}

.parallel-lanes b {
  display: block;
  min-height: 20px;
  padding: 4px 5px;
  border-radius: 6px;
  background: #ffffff;
  color: #262a30;
  font-size: 9.5px;
  font-weight: 900;
  box-shadow: inset 0 0 0 1px var(--line);
}

.flow-node,
.flow-split,
.parallel-lanes b {
  min-width: 0;
  overflow-wrap: anywhere;
}

.demo-output p {
  margin: 7px 0 0;
  color: var(--muted);
  font-family: "JetBrains Mono", monospace;
  font-size: 11px;
  font-weight: 800;
}

.stage-card {
  position: relative;
  z-index: 1;
  padding: 18px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--surface);
}

.stage-card small,
.stage-grid small,
.goal-copy span,
.proof-grid span,
.effect-card > span,
.screenshot-card figcaption span,
.release-strip span,
.capability-card span,
.case-card span,
.site-footer span {
  color: var(--muted);
  font-size: 13px;
  font-weight: 900;
}

.value-card > span,
.capability-card span,
.proof-grid span,
.release-strip span {
  display: inline-flex;
  align-items: center;
  gap: 7px;
}

.stage-card strong {
  display: block;
  margin-top: 8px;
  font-size: 23px;
  line-height: 1.25;
}

.stage-card p {
  margin: 12px 0 0;
  color: var(--muted);
  line-height: 1.65;
}

.stage-path {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: repeat(5, minmax(0, 1fr));
  gap: 8px;
  margin: 18px 0;
}

.stage-path span {
  position: relative;
  min-height: 46px;
  display: flex;
  align-items: center;
  justify-content: center;
  border: 1px solid color-mix(in srgb, var(--brand) 28%, var(--line));
  border-radius: var(--radius);
  background: var(--brand-soft);
  color: var(--brand-strong);
  font-family: "JetBrains Mono", monospace;
  font-size: 12px;
  font-weight: 800;
}

.stage-path span::after {
  content: "";
  position: absolute;
  left: 8px;
  bottom: 7px;
  width: 22px;
  height: 3px;
  border-radius: 999px;
  background: var(--brand);
  animation: pulse-line 2.2s ease-in-out infinite;
}

.stage-path span:nth-child(3)::after {
  animation-delay: 0.2s;
}

.stage-path span:nth-child(5)::after {
  animation-delay: 0.4s;
}

.stage-path span:nth-child(7)::after {
  animation-delay: 0.6s;
}

.stage-path span:nth-child(9)::after {
  animation-delay: 0.8s;
}

.stage-path i {
  display: none;
}

.stage-grid {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 10px;
}

.stage-grid div {
  min-height: 96px;
  padding: 14px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: rgba(255, 255, 255, 0.78);
}

.stage-grid strong {
  display: block;
  margin-top: 10px;
  font-size: 17px;
}

.section-heading {
  max-width: 800px;
  margin-bottom: 28px;
}

.section-heading h2 {
  margin: 0;
  font-size: 44px;
  line-height: 1.12;
}

.section-heading p {
  margin: 16px 0 0;
  color: var(--muted);
  font-size: 18px;
  line-height: 1.78;
}

.value-section,
.proof-section,
.customers {
  border-top: 1px solid var(--line);
}

.value-section {
  padding-top: 20px;
}

.value-grid,
.proof-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 14px;
}

.engineering-note {
  display: grid;
  grid-template-columns: 180px minmax(0, 1fr);
  gap: 18px;
  align-items: start;
  margin-top: 14px;
  padding: 18px;
  border: 1px solid color-mix(in srgb, var(--green) 28%, var(--line));
  border-radius: var(--radius);
  background:
    linear-gradient(90deg, color-mix(in srgb, var(--green) 10%, transparent), rgba(23, 25, 29, 0.05)),
    var(--surface);
}

.engineering-note span {
  color: var(--green);
  font-size: 13px;
  font-weight: 900;
}

.engineering-note p {
  margin: 0;
  color: #353a42;
  line-height: 1.72;
  font-weight: 700;
}

.engineering-note .inline-link {
  grid-column: 2;
  margin-top: -4px;
}

.value-card,
.capability-card,
.proof-grid article,
.customer-logo,
.community-card,
.docs-band,
.screenshot-card,
.effect-card {
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--surface);
}

.value-card,
.capability-card,
.proof-grid article {
  min-height: 228px;
  padding: 20px;
}

.value-card:hover,
.capability-card:hover,
.proof-grid article:hover,
.screenshot-card:hover,
.effect-card:hover,
.release-strip a:hover {
  border-color: color-mix(in srgb, var(--brand) 42%, var(--line));
}

.value-card span,
.capability-card span {
  color: var(--green);
}

.value-card h3,
.capability-card h3,
.proof-grid h3,
.customer-logo h3,
.community-card h3,
.effect-card h3 {
  margin: 12px 0 0;
  font-size: 20px;
  line-height: 1.28;
}

.value-card p,
.capability-card p,
.proof-grid p,
.customer-logo p,
.community-card p,
.effect-card p {
  margin: 12px 0 0;
  color: var(--muted);
  line-height: 1.72;
}

.builder-section {
  border-top: 1px solid var(--line);
}

.goal-switcher {
  display: grid;
  gap: 16px;
}

.goal-switcher input {
  position: absolute;
  inline-size: 1px;
  block-size: 1px;
  opacity: 0;
  pointer-events: none;
}

.goal-tabs {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 8px;
  padding: 8px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: rgba(255, 255, 255, 0.74);
}

.goal-tabs label {
  min-height: 48px;
  display: flex;
  align-items: center;
  justify-content: center;
  border: 1px solid transparent;
  border-radius: 6px;
  color: var(--muted);
  cursor: pointer;
  font-weight: 900;
}

#goal-news:checked ~ .goal-tabs label[for="goal-news"],
#goal-control:checked ~ .goal-tabs label[for="goal-control"],
#goal-data:checked ~ .goal-tabs label[for="goal-data"],
#goal-eda:checked ~ .goal-tabs label[for="goal-eda"] {
  border-color: color-mix(in srgb, var(--brand) 34%, var(--line));
  background: var(--surface);
  color: var(--brand-strong);
  box-shadow: 0 10px 24px rgba(6, 18, 36, 0.06);
}

.goal-panels {
  min-height: 560px;
}

.goal-panel {
  display: none;
  grid-template-columns: minmax(0, 0.98fr) minmax(320px, 0.82fr);
  gap: 24px;
  align-items: stretch;
  padding: 24px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--surface);
  box-shadow: var(--shadow);
}

#goal-news:checked ~ .goal-panels .panel-news,
#goal-control:checked ~ .goal-panels .panel-control,
#goal-data:checked ~ .goal-panels .panel-data,
#goal-eda:checked ~ .goal-panels .panel-eda {
  display: grid;
}

.goal-copy {
  min-width: 0;
}

.goal-copy span {
  color: var(--brand-strong);
}

.goal-copy h3 {
  max-width: 680px;
  margin: 12px 0 0;
  font-size: 32px;
  line-height: 1.16;
}

.goal-copy p {
  margin: 16px 0 0;
  color: var(--muted);
  font-size: 18px;
  line-height: 1.72;
}

.goal-copy ul {
  display: grid;
  gap: 10px;
  margin: 20px 0 0;
  padding: 0;
  list-style: none;
}

.goal-copy li {
  position: relative;
  padding-left: 22px;
  color: #353a42;
  line-height: 1.68;
}

.goal-copy li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0.72em;
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--green);
}

.inline-link {
  display: inline-flex;
  align-items: center;
  margin-top: 22px;
  color: var(--brand-strong);
  font-weight: 900;
}

.inline-link::after {
  content: "->";
  margin-left: 8px;
  font-family: "JetBrains Mono", monospace;
}

.goal-visual {
  min-width: 0;
  min-height: 390px;
  display: grid;
  align-content: center;
  gap: 14px;
  padding: 22px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background:
    linear-gradient(135deg, rgba(23, 25, 29, 0.07), color-mix(in srgb, var(--green) 9%, transparent)),
    var(--surface-alt);
}

.goal-visual strong {
  display: block;
  color: var(--brand-strong);
  font-family: "JetBrains Mono", monospace;
  font-size: 15px;
  line-height: 1.6;
}

.mini-report {
  display: grid;
  gap: 12px;
  padding: 20px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--surface);
}

.mini-report span {
  color: var(--ink);
  font-size: 22px;
  font-weight: 900;
}

.mini-report p {
  margin: 0;
  color: var(--muted);
  line-height: 1.6;
}

.mini-report i {
  display: block;
  height: 12px;
  border-radius: 999px;
  background: linear-gradient(90deg, var(--brand), rgba(23, 25, 29, 0.12));
}

.mini-report i:nth-child(4) {
  width: 78%;
  background: linear-gradient(90deg, var(--green), color-mix(in srgb, var(--green) 14%, transparent));
}

.mini-report i:nth-child(5) {
  width: 62%;
  background: linear-gradient(90deg, var(--amber), rgba(183, 121, 31, 0.12));
}

.control-console div {
  padding: 16px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--surface);
}

.control-console span {
  color: var(--brand-strong);
  font-weight: 900;
}

.control-console p {
  margin: 8px 0 0;
  color: #353a42;
  line-height: 1.55;
}

.schema-card {
  background: var(--code-bg);
  color: var(--code-ink);
}

.schema-card code {
  white-space: pre-wrap;
  line-height: 1.75;
  font-size: 14px;
}

.eda-pipeline {
  grid-template-columns: repeat(2, minmax(0, 1fr));
}

.eda-pipeline span,
.flow-pills i {
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: 56px;
  border: 1px solid color-mix(in srgb, var(--amber) 30%, var(--line));
  border-radius: var(--radius);
  background: #fff8ec;
  color: #7a4b12;
  font-family: "JetBrains Mono", monospace;
  font-size: 13px;
  font-style: normal;
  font-weight: 800;
}

.capability-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 14px;
}

.showcase-section {
  border-top: 1px solid var(--line);
}

.showcase-grid {
  display: grid;
  grid-template-columns: 1.12fr 0.88fr;
  gap: 14px;
  align-items: stretch;
}

.screenshot-card,
.effect-card {
  min-width: 0;
  margin: 0;
  overflow: hidden;
}

.screenshot-card {
  position: relative;
  padding: 12px;
  background:
    linear-gradient(180deg, rgba(16, 24, 32, 0.95), rgba(22, 32, 42, 0.92)),
    var(--code-bg);
  box-shadow: var(--shadow);
}

.screenshot-card::before {
  content: "";
  display: block;
  width: 42px;
  height: 10px;
  margin: 0 0 10px 2px;
  border-radius: 999px;
  background:
    radial-gradient(circle at 5px 5px, #34d399 0 4px, transparent 5px),
    radial-gradient(circle at 21px 5px, #fbbf24 0 4px, transparent 5px),
    radial-gradient(circle at 37px 5px, #cfd4db 0 4px, transparent 5px);
}

.screenshot-large {
  grid-row: span 2;
}

.screenshot-card img {
  width: 100%;
  height: 286px;
  object-fit: cover;
  object-position: 50% 8%;
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: 6px;
  background: var(--surface-alt);
}

.screenshot-large img {
  height: 430px;
  object-position: 72% 4%;
}

.screenshot-card figcaption,
.effect-card {
  padding: 18px;
}

.screenshot-card figcaption {
  margin-top: 10px;
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: 6px;
  background: rgba(255, 255, 255, 0.06);
  color: #eef0f3;
}

.screenshot-card figcaption span {
  color: #cfd4db;
}

.screenshot-card figcaption strong {
  display: block;
  margin-top: 8px;
  font-size: 19px;
  line-height: 1.32;
}

.screenshot-card figcaption p {
  margin: 10px 0 0;
  color: #cbd1d8;
  font-size: 14px;
  line-height: 1.58;
}

.screenshot-card figcaption b {
  color: #ffffff;
}

.effect-card pre {
  margin: 16px 0 0;
  max-height: 220px;
  overflow: auto;
  padding: 16px;
  border-radius: var(--radius);
  background: var(--code-bg);
  color: var(--code-ink);
  font-size: 13px;
  line-height: 1.65;
}

.effect-card code {
  white-space: pre-wrap;
}

.flow-pills {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 8px;
  margin-top: 18px;
}

.proof-grid article span {
  color: var(--violet);
}

.release-strip {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 12px;
  padding: 24px 0 72px;
}

.release-strip a {
  min-height: 112px;
  padding: 18px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--surface);
}

.release-strip strong {
  display: block;
  margin-top: 10px;
  font-size: 18px;
  line-height: 1.35;
}

.customer-grid {
  display: grid;
  grid-template-columns: 1fr 1fr minmax(260px, 0.8fr);
  gap: 14px;
}

.customer-logo,
.community-card {
  padding: 18px;
}

.customer-logo {
  display: grid;
  grid-template-columns: 86px minmax(0, 1fr);
  gap: 16px;
  align-items: center;
}

.customer-logo img {
  width: 86px;
  max-height: 70px;
  object-fit: contain;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: #ffffff;
}

.community-card .button {
  margin-top: 16px;
}

.docs-band {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(300px, 0.8fr);
  gap: 24px;
  align-items: center;
  margin: 32px 0 72px;
  padding: 28px;
  background:
    linear-gradient(90deg, rgba(23, 25, 29, 0.08), transparent),
    var(--surface);
}

.docs-band h2 {
  margin: 0;
  font-size: 34px;
}

.docs-band p {
  color: var(--muted);
  line-height: 1.75;
}

.docs-links {
  justify-content: flex-start;
  gap: 10px;
}

.docs-links a {
  padding: 0 12px;
  border: 1px solid var(--line);
  background: var(--surface);
  color: var(--brand-strong);
  font-size: 13px;
}

.site-footer {
  display: flex;
  justify-content: space-between;
  gap: 20px;
  padding: 28px 0 44px;
  border-top: 1px solid var(--line);
}

.site-footer div {
  display: grid;
  gap: 4px;
}

.site-footer strong {
  font-family: "JetBrains Mono", monospace;
  font-size: 20px;
}

.site-footer nav {
  gap: 16px;
  color: var(--muted);
  font-size: 14px;
  font-weight: 800;
}

.model-strip {
  display: grid;
  gap: 10px;
  max-width: 520px;
  margin-top: 16px;
  padding: 14px;
  border: 1px solid color-mix(in srgb, var(--brand) 22%, var(--line));
  border-radius: var(--radius);
  background: rgba(255, 255, 255, 0.72);
}

.model-strip span {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  color: #353a42;
  font-size: 13px;
  font-weight: 900;
}

.model-strip div {
  display: flex;
  flex-wrap: wrap;
  gap: 7px;
}

.model-strip code {
  min-height: 26px;
  display: inline-flex;
  align-items: center;
  padding: 3px 8px;
  border: 1px solid color-mix(in srgb, var(--brand) 22%, var(--line));
  border-radius: 999px;
  background: #ffffff;
  color: var(--brand-strong);
  font-size: 11px;
  font-weight: 900;
}

.hero-side-panel {
  display: grid;
  gap: 10px;
  margin-top: auto;
  padding-top: 18px;
}

.hero-side-panel article {
  display: grid;
  gap: 6px;
  padding: 14px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: rgba(255, 255, 255, 0.72);
}

.hero-side-panel span {
  color: var(--brand-strong);
  font-size: 12px;
  font-weight: 900;
}

.hero-side-panel b {
  color: #353a42;
  font-size: 14px;
  line-height: 1.5;
}

html[lang="en-US"] .model-strip {
  gap: 8px;
  margin-top: 12px;
  padding: 12px;
}

html[lang="en-US"] .model-strip span {
  font-size: 12.5px;
}

html[lang="en-US"] .hero-lead {
  margin-top: 18px;
  line-height: 1.45;
}

html[lang="en-US"] .hero-actions {
  margin-top: 22px;
}

html[lang="en-US"] .install-line {
  margin-top: 16px;
  padding: 9px 11px;
}

html[lang="en-US"] .hero-side-panel {
  gap: 6px;
  padding-top: 10px;
}

html[lang="en-US"] .hero-side-panel article {
  gap: 4px;
  padding: 10px 12px;
}

html[lang="en-US"] .hero-side-panel span {
  font-size: 11.5px;
}

html[lang="en-US"] .hero-side-panel b {
  font-size: 13px;
  line-height: 1.32;
}

.hero-demo {
  height: var(--hero-panel-height);
  min-height: var(--hero-panel-height);
  display: grid;
  grid-template-rows: auto minmax(0, 1fr);
}

.hero-demo-switcher {
  min-height: 0;
  display: grid;
  grid-template-rows: auto minmax(0, 1fr);
}

.hero-demo-body {
  min-height: 0;
  overflow: hidden;
}

.demo-panel {
  --panel-accent: var(--green);
  height: 100%;
  min-height: 0;
  grid-template-columns: minmax(0, 0.94fr) minmax(0, 1.06fr);
  grid-template-rows: minmax(0, 1fr);
}

.demo-model {
  --panel-accent: var(--green);
}

.demo-structured {
  --panel-accent: var(--brand);
}

.demo-actions {
  --panel-accent: var(--amber);
}

.demo-flow {
  --panel-accent: var(--violet);
}

.demo-service {
  --panel-accent: #1b8a4b;
}

.demo-code {
  display: grid;
  grid-template-rows: auto minmax(0, 1fr);
  min-height: 0;
  border-color: rgba(255, 255, 255, 0.14);
  box-shadow: 0 10px 24px rgba(0, 0, 0, 0.18);
}

.demo-code-title {
  border-bottom: 0;
  background: color-mix(in srgb, var(--panel-accent) 16%, #151a20);
}

.demo-code-title span {
  color: color-mix(in srgb, var(--panel-accent) 72%, #ffffff);
}

.demo-code pre {
  height: auto;
  min-height: 0;
  max-height: none;
  overflow: visible;
  background: #0b0e13;
  color: #d8dce2;
  font-size: clamp(9.1px, 0.58vw, 9.8px);
  line-height: 1.18;
  white-space: pre-wrap;
  word-break: break-word;
}

.demo-code code {
  white-space: pre-wrap;
  text-shadow: 0 0 18px color-mix(in srgb, var(--panel-accent) 10%, transparent);
}

.demo-output {
  min-height: 0;
  overflow: visible;
  padding: 10px;
  border-color: color-mix(in srgb, var(--panel-accent) 30%, var(--line));
}

.demo-output strong {
  margin-top: 4px;
  font-size: 14px;
  line-height: 1.24;
  overflow-wrap: anywhere;
}

.stream-lines li {
  grid-template-columns: 72px minmax(0, 1fr);
}

.preview-field {
  opacity: 0.72;
  transform: translateY(0);
  animation: preview-stream 5.2s ease-in-out infinite both;
}

.demo-instant .instant-live,
.demo-instant .realtime-preview {
  grid-template-columns: 1fr;
}

.demo-instant .preview-field small,
.demo-instant .preview-field strong,
.demo-instant .preview-field b,
.demo-instant .preview-field p {
  overflow-wrap: anywhere;
}

.field-title {
  animation-delay: 0.1s;
}

.field-summary {
  animation-delay: 0.85s;
}

.field-todo {
  animation-delay: 1.6s;
}

.field-priority {
  animation-delay: 2.35s;
}

.structured-route-stage {
  display: grid;
  grid-template-columns: minmax(0, 0.96fr) minmax(170px, 0.78fr);
  gap: 8px;
  min-height: 0;
  margin-top: 7px;
}

.demo-output .result-json {
  margin: 0;
  background:
    radial-gradient(circle at 0% 0%, color-mix(in srgb, var(--panel-accent) 18%, transparent), transparent 34%),
    #101318;
  color: #dde2e8;
  border-color: color-mix(in srgb, var(--panel-accent) 28%, rgba(255, 255, 255, 0.14));
}

.structured-route-stage .field-routing {
  margin-top: 0;
}

.structured-route-stage .field-routing div {
  min-height: 39px;
  padding: 4px 7px;
  grid-template-columns: minmax(0, 1fr) 28px;
  background:
    linear-gradient(90deg, color-mix(in srgb, var(--panel-accent) 14%, transparent), transparent),
    #ffffff;
}

.structured-route-stage .field-routing small,
.structured-route-stage .field-routing b {
  grid-column: 1;
}

.structured-route-stage .field-routing i {
  grid-column: 2;
  grid-row: 1 / span 2;
  color: color-mix(in srgb, var(--panel-accent) 82%, var(--brand-strong));
  justify-self: end;
  align-self: center;
}

.event-rail {
  display: flex;
  flex-wrap: wrap;
  gap: 5px;
  align-items: center;
  margin-top: 7px;
  padding: 6px;
  border: 1px solid color-mix(in srgb, var(--violet) 26%, var(--line));
  border-radius: var(--radius);
  background: color-mix(in srgb, var(--violet) 7%, #ffffff);
}

.event-rail b {
  color: #3e4652;
  font-family: "JetBrains Mono", monospace;
  font-size: 9.5px;
  font-weight: 900;
}

.event-rail i {
  color: var(--violet);
  font-size: 10px;
}

.redesign-section,
.capability-map-section,
.evidence-section,
.example-output-section,
.devtools-section,
.skills-section,
.trust-section {
  border-top: 1px solid var(--line);
}

.split-heading {
  max-width: none;
  display: grid;
  grid-template-columns: minmax(0, 0.9fr) minmax(320px, 0.68fr);
  gap: 32px;
  align-items: end;
}

.split-heading p {
  margin-top: 0;
}

.decision-grid,
.capability-lanes {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 14px;
}

.decision-card,
.lane-card,
.evidence-card,
.devtools-screen,
.skills-console,
.prompt-effects article,
.trust-grid > article {
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--surface);
  box-shadow: 0 14px 30px rgba(6, 18, 36, 0.05);
}

.decision-card {
  min-height: 230px;
  padding: 20px;
}

.decision-card span,
.lane-card span,
.evidence-card figcaption span,
.prompt-effects span {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  color: var(--brand-strong);
  font-size: 13px;
  font-weight: 900;
}

.decision-card h3,
.lane-card h3,
.evidence-card h3,
.devtools-copy h2,
.prompt-effects h3 {
  margin: 12px 0 0;
  line-height: 1.24;
}

.decision-card h3,
.lane-card h3,
.evidence-card h3 {
  font-size: 20px;
}

.decision-card p,
.lane-card p,
.evidence-card p,
.devtools-copy p,
.prompt-effects p {
  margin: 12px 0 0;
  color: var(--muted);
  line-height: 1.7;
}

.capability-map-section {
  padding-top: 52px;
}

.capability-lanes {
  grid-template-columns: repeat(6, minmax(0, 1fr));
}

.lane-card {
  min-height: 196px;
  display: grid;
  align-content: start;
  padding: 18px;
}

.lane-card > i {
  width: 38px;
  height: 38px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 12px;
  border-radius: var(--radius);
  background: var(--brand-soft);
  color: var(--brand-strong);
}

.companion-lane {
  border-color: color-mix(in srgb, var(--brand) 34%, var(--line));
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.94), rgba(247, 253, 255, 0.98)),
    var(--surface);
}

.companion-lane > i {
  background: color-mix(in srgb, var(--green) 15%, #ffffff);
  color: var(--green);
}

.suite-section {
  padding: 72px 0;
}

.suite-layout {
  display: grid;
  grid-template-columns: minmax(360px, 0.88fr) minmax(460px, 1fr);
  gap: 26px;
  align-items: stretch;
}

.suite-copy {
  min-width: 0;
  display: flex;
  flex-direction: column;
  justify-content: center;
}

.suite-copy h2 {
  max-width: 820px;
  margin: 0;
  color: var(--ink);
  font-size: 46px;
  line-height: 1.08;
}

.suite-copy p {
  max-width: 820px;
  margin: 18px 0 0;
  color: var(--muted);
  font-size: 18px;
  line-height: 1.75;
}

.suite-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 24px;
}

.suite-proof {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-top: 18px;
}

.suite-proof span {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  min-height: 32px;
  padding: 4px 10px;
  border: 1px solid color-mix(in srgb, var(--green) 28%, var(--line));
  border-radius: 999px;
  background: color-mix(in srgb, var(--green) 7%, #ffffff);
  color: #236438;
  font-size: 12px;
  font-weight: 900;
}

.suite-console {
  min-height: 430px;
}

.suite-console pre {
  height: calc(100% - 58px);
  min-height: 360px;
}

.skills-build-board {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 14px;
  margin-top: 18px;
}

.skills-build-board article,
.devtools-connect {
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--surface);
  box-shadow: 0 14px 30px rgba(6, 18, 36, 0.05);
}

.skills-build-board article {
  min-height: 250px;
  padding: 18px;
}

.skills-build-board span {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  color: var(--brand-strong);
  font-size: 13px;
  font-weight: 900;
}

.skills-build-board p {
  margin: 14px 0 0;
  color: #30343a;
  font-size: 18px;
  font-weight: 900;
  line-height: 1.55;
}

.skills-build-board ul {
  display: grid;
  gap: 8px;
  margin: 16px 0 0;
  padding: 0;
  list-style: none;
}

.skills-build-board li {
  display: grid;
  grid-template-columns: 18px minmax(0, 1fr);
  gap: 8px;
  color: var(--muted);
  line-height: 1.5;
  font-size: 14px;
  font-weight: 800;
}

.skills-build-board li::before {
  content: "";
  width: 8px;
  height: 8px;
  margin-top: 8px;
  border-radius: 50%;
  background: var(--green);
}

.devtools-panel {
  min-width: 0;
  display: grid;
  gap: 12px;
}

.devtools-panel .devtools-screen {
  min-height: 430px;
}

.devtools-connect {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 10px;
  padding: 12px;
}

.devtools-connect code {
  min-width: 0;
  min-height: 44px;
  display: flex;
  align-items: center;
  padding: 9px 10px;
  border-radius: 7px;
  background: #eceff3;
  color: #17191d;
  font-family: "JetBrains Mono", monospace;
  font-size: 11px;
  font-weight: 900;
  line-height: 1.4;
  overflow-wrap: anywhere;
}

@media (min-width: 1041px) {
  .section-heading.split-heading,
  .decision-card,
  .lane-card,
  .suite-copy,
  .skills-build-board article,
  .evidence-card,
  .example-output-card,
  .trust-grid > article,
  .docs-band {
    overflow: hidden;
  }

  .section-heading.split-heading {
    height: 164px;
    margin-bottom: 28px;
  }

  .decision-card {
    height: 248px;
    min-height: 0;
  }

  .lane-card {
    height: 250px;
    min-height: 0;
  }

  .suite-skills .suite-copy {
    height: 430px;
  }

  .suite-devtools .suite-copy {
    height: 520px;
  }

  .skills-build-board article {
    height: 252px;
    min-height: 0;
  }

  .devtools-panel {
    height: 520px;
    align-content: stretch;
  }

  .devtools-panel .devtools-screen {
    height: 430px;
    min-height: 0;
  }

  .evidence-grid {
    grid-auto-rows: 370px;
  }

  .evidence-card {
    height: 100%;
  }

  .evidence-card img {
    min-height: 0;
  }

  .example-output-card {
    min-height: 300px;
  }

  .trust-grid > article {
    height: 316px;
  }

  .docs-band {
    height: 230px;
  }
}

.section-anchor {
  position: relative;
  top: -90px;
  display: block;
  height: 0;
}

.evidence-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 14px;
  align-items: stretch;
}

.evidence-card {
  min-width: 0;
  display: grid;
  grid-template-columns: minmax(0, 0.94fr) minmax(0, 1fr);
  margin: 0;
  overflow: hidden;
}

.evidence-large {
  grid-row: auto;
}

.evidence-card img {
  width: 100%;
  height: 100%;
  min-height: 270px;
  object-fit: contain;
  object-position: center center;
  border-right: 1px solid var(--line);
  background: var(--surface-alt);
}

.evidence-large img {
  object-position: center center;
}

.evidence-card figcaption {
  padding: 18px;
}

.evidence-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 7px;
  margin: 14px 0 0;
  padding: 0;
  list-style: none;
}

.evidence-tags li {
  min-height: 26px;
  display: inline-flex;
  align-items: center;
  padding: 3px 8px;
  border: 1px solid color-mix(in srgb, var(--green) 28%, var(--line));
  border-radius: 999px;
  background: color-mix(in srgb, var(--green) 8%, #ffffff);
  color: #226b35;
  font-size: 12px;
  font-weight: 900;
}

.example-output-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 14px;
}

.example-output-card {
  min-width: 0;
  padding: 18px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--surface);
  box-shadow: 0 12px 28px rgba(6, 18, 36, 0.05);
}

.example-output-card > span {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  color: var(--brand-strong);
  font-size: 13px;
  font-weight: 900;
}

.example-output-card h3 {
  margin: 12px 0 0;
  color: var(--ink);
  font-size: 20px;
  line-height: 1.28;
}

.example-output-card > code {
  display: block;
  margin-top: 12px;
  color: var(--blue);
  font-family: "JetBrains Mono", monospace;
  font-size: 11px;
  font-weight: 900;
  overflow-wrap: anywhere;
}

.example-output-card > .source-link,
.example-output-card > .source-links {
  margin-top: 12px;
}

.example-output-card > .source-link {
  width: fit-content;
}

.example-output-card .source-link {
  border-color: color-mix(in srgb, var(--green) 42%, var(--line));
  background: color-mix(in srgb, var(--green) 10%, #ffffff);
  color: var(--brand-strong);
}

.example-output-card .source-link:hover {
  border-color: color-mix(in srgb, var(--green) 70%, var(--line));
  background: color-mix(in srgb, var(--green) 16%, #ffffff);
}

.example-output-card pre {
  margin: 14px 0 0;
  padding: 13px;
  border-radius: 7px;
  background: #0b0e13;
  color: var(--code-ink);
  overflow: auto;
}

.example-output-card .terminal-output {
  margin-top: 12px;
  background: #05080c;
  color: #dce7f0;
}

.example-output-card pre code {
  color: inherit;
  font-family: "JetBrains Mono", monospace;
  font-size: 11.5px;
  line-height: 1.48;
  white-space: pre-wrap;
}

.example-output-card p {
  margin: 14px 0 0;
  color: var(--muted);
  line-height: 1.65;
}

.devtools-layout {
  display: grid;
  grid-template-columns: minmax(320px, 0.75fr) minmax(520px, 1.05fr);
  gap: 28px;
  align-items: center;
}

.devtools-copy h2 {
  font-size: 42px;
}

.feature-list {
  display: grid;
  gap: 10px;
  margin: 20px 0 24px;
  padding: 0;
  list-style: none;
}

.feature-list li {
  display: grid;
  grid-template-columns: 26px minmax(0, 1fr);
  gap: 10px;
  color: #353a42;
  line-height: 1.55;
  font-weight: 800;
}

.feature-list i {
  color: var(--green);
  margin-top: 4px;
}

.devtools-screen {
  overflow: hidden;
  background: var(--code-bg);
  color: #eef0f3;
}

.devtools-shot {
  position: relative;
  margin: 0;
  display: grid;
  align-items: stretch;
  border-color: rgba(36, 39, 45, 0.18);
  background: #111318;
}

.devtools-shot img {
  width: 100%;
  height: 100%;
  min-height: 0;
  object-fit: contain;
  object-position: center center;
  filter: saturate(0.96) contrast(1.03);
}

.devtools-shot figcaption {
  position: absolute;
  left: 12px;
  right: 12px;
  bottom: 12px;
  padding: 8px 10px;
  border: 1px solid rgba(255, 255, 255, 0.14);
  border-radius: 6px;
  background: rgba(12, 14, 17, 0.78);
  color: #f1f3f5;
  font-size: 12px;
  font-weight: 800;
  line-height: 1.4;
  backdrop-filter: blur(8px);
}

.zoomable-image {
  cursor: zoom-in;
}

.image-modal[hidden] {
  display: none;
}

.image-modal {
  position: fixed;
  inset: 0;
  z-index: 80;
  display: grid;
  place-items: center;
  padding: 28px;
  background: rgba(9, 12, 14, 0.78);
  backdrop-filter: blur(10px);
}

.image-modal figure {
  width: min(1180px, 96vw);
  max-height: 92vh;
  display: grid;
  gap: 10px;
  margin: 0;
}

.image-modal img {
  width: 100%;
  max-height: min(82vh, 860px);
  object-fit: contain;
  border: 1px solid rgba(255, 255, 255, 0.16);
  border-radius: var(--radius);
  background: #f7f8f7;
  box-shadow: 0 24px 70px rgba(0, 0, 0, 0.32);
}

.image-modal figcaption {
  color: #f6f7f7;
  font-size: 13px;
  font-weight: 800;
  text-align: center;
}

.image-modal-close {
  position: fixed;
  top: 18px;
  right: 18px;
  width: 42px;
  height: 42px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border: 1px solid rgba(255, 255, 255, 0.18);
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.1);
  color: #ffffff;
  cursor: pointer;
}

.devtools-top,
.devtools-tabs {
  display: flex;
  align-items: center;
  gap: 8px;
  min-height: 42px;
  padding: 0 14px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.12);
}

.devtools-top span {
  width: 9px;
  height: 9px;
  border-radius: 50%;
  background: #cfd4db;
}

.devtools-top span:first-child {
  background: #34d399;
}

.devtools-top span:nth-child(2) {
  background: #fbbf24;
}

.devtools-top strong {
  margin-left: auto;
  color: #cbd1d8;
  font-size: 12px;
}

.devtools-tabs {
  overflow-x: auto;
}

.devtools-tabs b {
  min-height: 34px;
  display: inline-flex;
  align-items: center;
  white-space: nowrap;
  color: #aeb9c7;
  font-size: 12px;
}

.devtools-tabs b:first-child {
  color: #ffffff;
  border-bottom: 3px solid var(--green);
}

.devtools-body {
  display: grid;
  grid-template-columns: minmax(180px, 0.42fr) minmax(0, 1fr);
  gap: 12px;
  padding: 14px;
}

.devtools-body aside,
.devtools-main {
  min-height: 320px;
  padding: 14px;
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: var(--radius);
  background: rgba(255, 255, 255, 0.04);
}

.devtools-body small {
  color: #d8dce2;
  font-family: "JetBrains Mono", monospace;
  font-size: 11px;
  font-weight: 900;
}

.devtools-body aside {
  display: grid;
  align-content: start;
  gap: 10px;
}

.devtools-body aside b,
.devtools-body aside i {
  display: block;
  padding: 8px;
  border-radius: 6px;
  background: rgba(255, 255, 255, 0.06);
  color: #e4e8ed;
  font-size: 12px;
  font-style: normal;
  font-weight: 800;
}

.devtools-body aside b {
  background: color-mix(in srgb, var(--green) 24%, transparent);
}

.devtools-graph {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 8px;
  margin-top: 18px;
}

.devtools-graph span {
  min-height: 74px;
  display: flex;
  align-items: center;
  justify-content: center;
  border: 1px solid rgba(216, 220, 226, 0.26);
  border-radius: var(--radius);
  background: rgba(216, 220, 226, 0.1);
  font-family: "JetBrains Mono", monospace;
  font-size: 12px;
  font-weight: 900;
}

.devtools-log {
  display: grid;
  gap: 8px;
  margin-top: 18px;
}

.devtools-log code {
  display: block;
  padding: 9px;
  border-radius: 6px;
  background: color-mix(in srgb, var(--code-bg) 88%, #000000);
  color: #dde2e8;
  font-size: 11px;
}

.skills-grid {
  display: grid;
  grid-template-columns: minmax(360px, 0.82fr) minmax(0, 1fr);
  gap: 18px;
  align-items: stretch;
}

.skills-console {
  overflow: hidden;
  background: var(--code-bg);
  color: var(--code-ink);
}

.skills-console pre {
  margin: 0;
  padding: 18px;
  overflow: auto;
  background:
    radial-gradient(circle at 0% 0%, color-mix(in srgb, var(--green) 18%, transparent), transparent 34%),
    color-mix(in srgb, var(--code-bg) 88%, #000000);
  color: #d8dce2;
  font-size: 12px;
  line-height: 1.65;
}

.skills-console .inline-link {
  margin: 0 18px 18px;
  color: #d8dce2;
}

.prompt-effects {
  display: grid;
  grid-template-columns: 1fr;
  gap: 10px;
}

.prompt-effects article {
  padding: 18px;
}

.prompt-effects p {
  color: #353a42;
  font-size: 17px;
  font-weight: 800;
}

.prompt-effects b {
  display: block;
  margin-top: 10px;
  color: var(--green);
  line-height: 1.55;
}

.trust-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 14px;
}

.trust-grid .customer-logo,
.trust-grid .community-card,
.trust-grid .authorization-card,
.trust-grid .career-card {
  min-height: 160px;
}

.authorization-card,
.career-card {
  padding: 18px;
}

.compact-links {
  display: grid;
  gap: 2px;
  margin-top: 12px;
}

.compact-links .inline-link {
  margin-top: 0;
}

.career-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
  margin-top: 12px;
}

.career-tags span {
  min-height: 24px;
  display: inline-flex;
  align-items: center;
  padding: 3px 8px;
  border: 1px solid color-mix(in srgb, var(--brand) 22%, var(--line));
  border-radius: 999px;
  background: var(--brand-soft);
  color: var(--brand-strong);
  font-size: 11px;
  font-weight: 900;
}

.career-card .button {
  margin-top: 14px;
}

.redesigned-docs {
  margin-top: 0;
}

.button,
.language-link,
.search-link,
.install-line,
.model-strip,
.hero-side-panel article,
.stage-card,
.value-card,
.capability-card,
.proof-grid article,
.customer-logo,
.community-card,
.docs-band,
.effect-card,
.decision-card,
.lane-card,
.evidence-card,
.prompt-effects article,
.trust-grid > article,
.goal-tabs,
.goal-panel,
.goal-visual,
.mini-report,
.control-console div,
.release-strip a,
.skills-build-board article,
.devtools-connect,
.doc-callout {
  background-color: var(--surface);
  color: var(--ink);
}

.button-primary {
  border-color: color-mix(in srgb, var(--green) 84%, #ffffff);
  background: linear-gradient(180deg, color-mix(in srgb, var(--green) 82%, #ffffff), var(--green));
  color: #ffffff;
  box-shadow: 0 10px 20px rgba(11, 127, 114, 0.24);
}

.button-primary:hover {
  background: linear-gradient(180deg, color-mix(in srgb, var(--green) 74%, #ffffff), color-mix(in srgb, var(--green) 88%, #000000));
  color: #ffffff;
}

.search-link,
.language-link,
.icon-link,
.docs-links a,
.inline-link,
.install-line code,
.model-strip code,
.hero-side-panel span,
.goal-copy span,
.decision-card span,
.lane-card span,
.evidence-card figcaption span,
.prompt-effects span,
.stage-path span,
.flow-arrow,
.demo-output span,
.preview-field small,
.field-routing small,
.devtools-body small,
.skills-console .inline-link {
  color: var(--blue);
}

.hero-lead,
.model-strip span,
.hero-side-panel b,
.engineering-note p,
.goal-copy li,
.goal-copy p,
.feature-list li,
.prompt-effects p,
.control-console p,
.result-meaning,
.demo-output p,
.section-heading p,
.value-card p,
.capability-card p,
.proof-grid p,
.customer-logo p,
.community-card p,
.effect-card p,
.decision-card p,
.lane-card p,
.evidence-card p,
.devtools-copy p,
.suite-copy p,
.docs-band p,
.site-footer nav,
.mini-report p,
.doc-callout p {
  color: var(--muted);
}

.hero-stage {
  border-color: var(--line);
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.9), rgba(223, 227, 232, 0.9)),
    var(--surface-alt);
}

.hero-demo,
.demo-code,
.devtools-screen,
.skills-console,
.schema-card {
  background: var(--code-bg);
  color: var(--code-ink);
}

.demo-story {
  background:
    linear-gradient(90deg, color-mix(in srgb, var(--green) 18%, transparent), transparent 52%, color-mix(in srgb, var(--champagne) 10%, transparent)),
    #141b19;
}

.demo-story span {
  color: color-mix(in srgb, var(--green) 56%, #ffffff);
}

.demo-code pre .code-token-keyword,
.model-code-card pre .code-token-keyword,
.result-json .code-token-keyword {
  color: #7dd3a8;
}

.demo-code pre .code-token-builtin,
.model-code-card pre .code-token-builtin,
.result-json .code-token-builtin {
  color: #b9c4ff;
}

.demo-code pre .code-token-function,
.model-code-card pre .code-token-function,
.result-json .code-token-function {
  color: #7cc7f2;
}

.demo-code pre .code-token-string,
.model-code-card pre .code-token-string,
.result-json .code-token-string {
  color: #e7c16d;
}

.demo-code pre .code-token-comment,
.model-code-card pre .code-token-comment,
.result-json .code-token-comment {
  color: #778391;
}

.demo-code pre .code-token-number,
.model-code-card pre .code-token-number,
.result-json .code-token-number {
  color: #f2a15f;
}

.demo-code pre .code-token-operator,
.model-code-card pre .code-token-operator,
.result-json .code-token-operator {
  color: #9ad6c8;
}

.model-strip {
  border-color: color-mix(in srgb, var(--blue) 28%, var(--line));
  background:
    linear-gradient(135deg, color-mix(in srgb, var(--blue) 10%, transparent), rgba(255, 255, 255, 0.78)),
    var(--surface);
}

.model-strip code {
  border-color: color-mix(in srgb, var(--blue) 32%, var(--line));
  background: color-mix(in srgb, var(--blue) 10%, #ffffff);
  color: var(--brand-strong);
}

.hero-stats a {
  border-color: color-mix(in srgb, var(--blue) 24%, var(--line));
}

.hero-side-panel article {
  background:
    linear-gradient(135deg, #ffffff, #eef1f4),
    var(--surface);
}

.hero-side-panel article:nth-child(1) {
  border-left: 3px solid var(--champagne);
}

.hero-side-panel article:nth-child(2) {
  border-left: 3px solid var(--green);
}

.hero-side-panel article:nth-child(3) {
  border-left: 3px solid var(--violet);
}

.hero .install-line,
.hero .model-strip,
.hero .hero-stats a,
.hero .hero-side-panel article {
  border-color: rgba(17, 26, 23, 0.12);
  background:
    linear-gradient(135deg, rgba(255, 255, 255, 0.92), rgba(245, 247, 246, 0.74)),
    var(--surface);
  box-shadow: 0 10px 24px rgba(17, 26, 23, 0.07);
}

.hero .model-strip {
  padding: 12px;
}

.hero .hero-stats a:hover {
  border-color: color-mix(in srgb, var(--green) 44%, var(--line));
  background:
    linear-gradient(135deg, color-mix(in srgb, var(--green) 8%, #ffffff), rgba(255, 255, 255, 0.86)),
    var(--surface);
}

.hero .hero-side-panel {
  gap: 8px;
  margin-top: 18px;
  padding-top: 0;
}

.hero .hero-side-panel article {
  padding: 11px 12px;
}

.hero .hero-side-panel article:nth-child(1) {
  border-left-color: var(--champagne);
}

.hero .hero-side-panel article:nth-child(2) {
  border-left-color: var(--green);
}

.hero .hero-side-panel article:nth-child(3) {
  border-left-color: color-mix(in srgb, var(--blue) 72%, #ffffff);
}

.hero .install-line span,
.hero .model-strip span,
.hero .hero-stats span,
.hero .hero-side-panel span {
  color: var(--brand-strong);
}

.hero .install-line code,
.hero .model-strip code {
  border-color: color-mix(in srgb, var(--blue) 24%, var(--line));
  background: color-mix(in srgb, var(--blue) 7%, #ffffff);
  color: var(--brand-strong);
}

.hero .hero-stats i {
  color: var(--green);
}

.hero .hero-stats strong {
  color: var(--ink);
}

.hero .hero-side-panel b {
  color: #343b44;
}

.demo-output,
.live-card,
.preview-field,
.runtime-lines li,
.field-routing div,
.flow-node,
.flow-split,
.parallel-lanes b,
.result-json,
.structured-route-stage .field-routing div,
.devtools-connect code,
.model-strip code,
.mini-report,
.control-console div {
  background: #ffffff;
  color: var(--ink);
}

.demo-code pre {
  background: #0b0e13;
  color: var(--code-ink);
}

.demo-output .result-json,
.skills-console pre,
.devtools-log code {
  background:
    radial-gradient(circle at 0% 0%, color-mix(in srgb, var(--panel-accent, var(--green)) 14%, transparent), transparent 34%),
    var(--code-bg);
  color: var(--code-ink);
}

.runtime-lines li,
.field-routing div {
  background:
    linear-gradient(90deg, color-mix(in srgb, var(--green) 12%, transparent), transparent 58%),
    #ffffff;
}

.live-card {
  background:
    linear-gradient(180deg, #ffffff, #eef3f6),
    var(--surface);
}

.preview-field strong,
.preview-field b,
.preview-field p,
.stream-lines code,
.field-routing b,
.flow-node,
.flow-split,
.parallel-lanes b,
.result-json,
.skills-build-board p {
  color: var(--ink);
}

.output-notes b,
.evidence-tags li,
.suite-proof span {
  border-color: color-mix(in srgb, var(--green) 38%, var(--line));
  background: color-mix(in srgb, var(--green) 14%, #ffffff);
  color: var(--green);
}

.event-rail,
.flow-split,
.flow-node.merge,
.companion-lane,
.docs-band,
.engineering-note {
  background:
    linear-gradient(135deg, color-mix(in srgb, var(--blue) 8%, transparent), color-mix(in srgb, var(--green) 6%, transparent)),
    var(--surface);
}

.screenshot-card {
  background:
    linear-gradient(180deg, rgba(11, 13, 16, 0.96), rgba(21, 22, 24, 0.94)),
    var(--code-bg);
}

.screenshot-card img,
.evidence-card img,
.customer-logo img {
  background: var(--surface-alt);
}

.screenshot-card figcaption {
  background: rgba(255, 255, 255, 0.07);
  color: #f5f6f7;
}

.screenshot-card figcaption p {
  color: #cfd6df;
}

.devtools-top span:nth-child(3),
.screenshot-card::before {
  filter: grayscale(0.45);
}

.career-tags span,
kbd {
  background: var(--brand-soft);
  color: var(--ink);
}

.demo-output.console-output-card {
  display: grid;
  grid-template-rows: auto minmax(0, 1fr);
  gap: 10px;
  padding: 10px;
  border-color: rgba(255, 255, 255, 0.12);
  background: #090d11;
  color: #d8e2ec;
  overflow: hidden;
}

.console-output-card .console-title > span:first-child {
  color: #9ad6c8;
}

.console-output-card .source-link {
  color: #dff8f0;
}

.demo-output.console-output-card .terminal-output {
  min-height: 0;
  height: 100%;
}

.terminal-output,
.example-output-card .terminal-output,
.demo-output.console-output-card .terminal-output {
  border-color: rgba(255, 255, 255, 0.1);
  background: #05080c;
  color: #dce7f0;
}

.terminal-output code {
  color: inherit;
  white-space: pre-wrap;
}

.terminal-output code span {
  opacity: 1;
  animation: none;
}

.terminal-output code span::before {
  content: "";
}

.terminal-output.is-streaming code span {
  opacity: 0;
  animation: terminal-line-once 0.18s ease-out both;
}

.terminal-output.is-streaming code span:nth-child(2) {
  animation-delay: 0.24s;
}

.terminal-output.is-streaming code span:nth-child(3) {
  animation-delay: 0.48s;
}

.terminal-output.is-streaming code span:nth-child(4) {
  animation-delay: 0.72s;
}

.terminal-output.is-streaming code span:nth-child(5) {
  animation-delay: 0.96s;
}

.terminal-output.is-streaming code span:nth-child(6) {
  animation-delay: 1.2s;
}

.terminal-output.is-streaming code span:nth-child(7) {
  animation-delay: 1.44s;
}

.terminal-output.is-streaming code span:nth-child(8) {
  animation-delay: 1.68s;
}

.terminal-output.is-streaming code span:nth-child(9) {
  animation-delay: 1.92s;
}

.decision-card,
.lane-card,
.skills-build-board article,
.evidence-card,
.trust-grid > article {
  background:
    linear-gradient(180deg, #ffffff, var(--surface)),
    var(--surface);
}

.decision-card:nth-child(4n + 1),
.lane-card:nth-child(4n + 1),
.skills-build-board article:nth-child(4n + 1),
.evidence-card:nth-child(4n + 1),
.trust-grid > article:nth-child(4n + 1) {
  box-shadow: inset 0 3px 0 var(--champagne), var(--shadow);
}

.decision-card:nth-child(4n + 2),
.lane-card:nth-child(4n + 2),
.skills-build-board article:nth-child(4n + 2),
.evidence-card:nth-child(4n + 2),
.trust-grid > article:nth-child(4n + 2) {
  box-shadow: inset 0 3px 0 var(--green), var(--shadow);
}

.decision-card:nth-child(4n + 3),
.lane-card:nth-child(4n + 3),
.skills-build-board article:nth-child(4n + 3),
.evidence-card:nth-child(4n + 3),
.trust-grid > article:nth-child(4n + 3) {
  box-shadow: inset 0 3px 0 var(--violet), var(--shadow);
}

.decision-card:nth-child(4n),
.lane-card:nth-child(4n),
.skills-build-board article:nth-child(4n),
.evidence-card:nth-child(4n),
.trust-grid > article:nth-child(4n) {
  box-shadow: inset 0 3px 0 var(--copper), var(--shadow);
}

.lane-card > i {
  background: color-mix(in srgb, var(--blue) 12%, #ffffff);
  color: var(--blue);
}

.lane-card:nth-child(4n + 1) > i {
  background: color-mix(in srgb, var(--champagne) 18%, #ffffff);
  color: var(--champagne);
}

.lane-card:nth-child(2n) > i {
  background: color-mix(in srgb, var(--green) 14%, #ffffff);
  color: var(--green);
}

.lane-card:nth-child(3n) > i {
  background: rgba(170, 178, 191, 0.14);
  color: var(--violet);
}

.section-heading h2,
.suite-copy h2,
.devtools-copy h2,
.docs-band h2 {
  color: var(--ink);
}

.split-heading .section-kicker,
.suite-copy .section-kicker,
.devtools-copy .section-kicker {
  color: var(--champagne);
}

@media (min-width: 1041px) {
  .redesign-section,
  .capability-map-section,
  .evidence-section,
  .example-output-section,
  .trust-section {
    min-height: 660px;
    display: grid;
    grid-template-columns: minmax(320px, 0.42fr) minmax(0, 0.78fr);
    gap: clamp(24px, 3vw, 44px);
    align-items: center;
    padding: clamp(58px, 7vh, 86px) 0;
  }

  .redesign-section > .split-heading,
  .capability-map-section > .split-heading,
  .evidence-section > .split-heading,
  .example-output-section > .split-heading,
  .trust-section > .split-heading {
    grid-column: 1;
    grid-row: 1;
    height: auto;
    display: block;
    margin: 0;
    align-self: center;
  }

  .redesign-section > .split-heading h2,
  .capability-map-section > .split-heading h2,
  .evidence-section > .split-heading h2,
  .example-output-section > .split-heading h2,
  .trust-section > .split-heading h2 {
    font-size: clamp(38px, 3.2vw, 52px);
    line-height: 1.08;
  }

  .redesign-section > .split-heading p,
  .capability-map-section > .split-heading p,
  .evidence-section > .split-heading p,
  .example-output-section > .split-heading p,
  .trust-section > .split-heading p {
    margin-top: 18px;
    font-size: 18px;
    line-height: 1.72;
  }

  .redesign-section .decision-grid,
  .capability-map-section .capability-lanes,
  .evidence-section .evidence-grid,
  .example-output-section .example-output-grid,
  .trust-section .trust-grid {
    grid-column: 2;
    grid-row: 1;
  }

  .redesign-section .decision-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .capability-map-section .capability-lanes {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }

  .evidence-section .evidence-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    grid-auto-rows: auto;
  }

  .evidence-section .evidence-card {
    grid-template-columns: 1fr;
    min-height: 0;
  }

  .evidence-section .evidence-card img {
    height: 170px;
    min-height: 170px;
    border-right: 0;
    border-bottom: 1px solid var(--line);
  }

  .evidence-section .evidence-card figcaption {
    padding: 14px;
  }

  .evidence-section .evidence-card h3 {
    font-size: 17px;
  }

  .evidence-section .evidence-card p {
    font-size: 13px;
    line-height: 1.55;
  }

  .evidence-section .evidence-tags li {
    min-height: 23px;
    font-size: 10.5px;
  }

  .trust-section .trust-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .trust-section .trust-grid > article {
    height: 260px;
  }

  .suite-section {
    min-height: 680px;
    display: grid;
    align-content: center;
    border-top: 1px solid var(--line);
  }

  .suite-devtools .devtools-layout,
  .suite-skills .suite-layout {
    grid-template-columns: minmax(360px, 0.42fr) minmax(0, 0.78fr);
    gap: clamp(24px, 3vw, 44px);
  }

  .suite-devtools .devtools-layout {
    grid-template-columns: minmax(0, 0.82fr) minmax(350px, 0.46fr);
  }

  .suite-devtools .devtools-copy {
    order: 2;
  }

  .suite-devtools .devtools-panel {
    order: 1;
  }

  .suite-copy h2 {
    font-size: clamp(38px, 3vw, 50px);
  }

  .skills-build-board {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }

  .redesigned-docs {
    min-height: 250px;
    grid-template-columns: minmax(320px, 0.42fr) minmax(0, 0.78fr);
    margin-bottom: 72px;
  }
}

@keyframes pulse-line {
  0%,
  100% {
    width: 18px;
    opacity: 0.46;
  }
  50% {
    width: 42px;
    opacity: 1;
  }
}

@keyframes runtime-glow {
  0%,
  100% {
    border-color: var(--line);
    transform: translateX(0);
  }
  50% {
    border-color: color-mix(in srgb, var(--green) 64%, transparent);
    transform: translateX(3px);
  }
}

@keyframes patch-step {
  0%,
  100% {
    border-color: var(--line);
    background:
      linear-gradient(90deg, color-mix(in srgb, var(--green) 9%, transparent), transparent 58%),
      rgba(255, 255, 255, 0.055);
    transform: translateY(0);
  }
  45% {
    border-color: color-mix(in srgb, var(--green) 52%, transparent);
    background:
      linear-gradient(90deg, color-mix(in srgb, var(--green) 22%, transparent), rgba(255, 255, 255, 0.08) 70%),
      rgba(255, 255, 255, 0.08);
    transform: translateY(-2px);
  }
}

@keyframes stream-bar {
  0%,
  100% {
    opacity: 0.55;
    transform: scaleX(0.28);
  }
  52% {
    opacity: 1;
    transform: scaleX(1);
  }
}

@keyframes preview-patch {
  0%,
  100% {
    border-color: var(--line);
    box-shadow: none;
    transform: translateY(0);
  }
  45% {
    border-color: rgba(23, 25, 29, 0.48);
    box-shadow: 0 0 0 3px rgba(23, 25, 29, 0.08);
    transform: translateY(-1px);
  }
}

@keyframes preview-stream {
  0%,
  3% {
    opacity: 0.58;
    transform: translateY(0);
    border-color: var(--line);
    box-shadow: none;
  }
  9%,
  78% {
    opacity: 1;
    transform: translateY(0);
    border-color: rgba(23, 25, 29, 0.46);
    box-shadow: 0 0 0 3px rgba(23, 25, 29, 0.08);
  }
  92%,
  100% {
    opacity: 0.72;
    transform: translateY(0);
    border-color: var(--line);
    box-shadow: none;
  }
}

@keyframes meter-fill {
  0%,
  100% {
    opacity: 0.55;
    transform: scaleX(0.52);
  }
  50% {
    opacity: 1;
    transform: scaleX(1);
  }
}

@keyframes flow-pulse {
  0%,
  100% {
    box-shadow: none;
    transform: translateY(0);
  }
  46% {
    box-shadow: 0 0 0 3px color-mix(in srgb, var(--green) 16%, transparent);
    transform: translateY(-2px);
  }
}

@keyframes terminal-line {
  0%,
  8% {
    opacity: 0;
  }
  9%,
  100% {
    opacity: 1;
  }
}

@keyframes terminal-line-once {
  from {
    opacity: 0;
    transform: translateY(3px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }

  .button,
  .copy-demo,
  .stage-path span::after,
  .runtime-lines li,
  .flow-meter i,
  .live-progress i,
  .preview-field,
  .terminal-output code span,
  .flow-node,
  .flow-split {
    animation: none;
    transition: none;
  }

  .terminal-output code span {
    opacity: 1;
  }
}

@media (max-width: 1040px) {
  .site-header {
    grid-template-columns: 1fr;
    gap: 12px;
    padding: 12px 0;
  }

  .top-nav,
  .header-actions {
    justify-content: flex-start;
  }

  .top-nav {
    width: 100%;
  }

  .nav-group {
    position: static;
  }

  .nav-menu {
    position: static;
    width: min(100%, 360px);
    margin-top: 6px;
    box-shadow: none;
    backdrop-filter: none;
  }

  .hero,
  .goal-panel,
  .showcase-grid,
  .split-heading,
  .evidence-grid,
  .example-output-grid,
  .suite-layout,
  .devtools-layout,
  .skills-grid,
  .docs-band {
    grid-template-columns: 1fr;
  }

  .hero {
    min-height: auto;
    gap: 28px;
    align-items: start;
    padding-top: 58px;
    border-bottom: 0;
  }

  .hero-copy {
    height: auto;
    min-height: 0;
    padding: 0;
    border-right: 0;
  }

  .hero-stage {
    border-radius: var(--radius);
    border-left: 1px solid rgba(23, 25, 29, 0.2);
  }

  h1 {
    font-size: var(--hero-title-tablet-size);
  }

  .hero-lead {
    font-size: var(--hero-lead-tablet-size);
  }

  .goal-panels {
    min-height: 0;
  }

  .screenshot-large {
    grid-row: auto;
  }

  .screenshot-large img,
  .screenshot-card img {
    height: 360px;
  }

  .value-grid,
  .decision-grid,
  .skills-build-board,
  .example-output-grid,
  .engineering-note,
  .proof-grid,
  .release-strip,
  .customer-grid,
  .trust-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .capability-grid,
  .capability-lanes {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }

  .evidence-large {
    grid-row: auto;
  }

  .evidence-large img,
  .evidence-card img {
    height: 340px;
  }
}

@media (max-width: 760px) {
  .site-header,
  main,
  .site-footer {
    width: min(calc(100% - 28px), var(--max));
  }

  .site-header {
    grid-template-columns: auto auto;
    gap: 8px 12px;
    min-height: 58px;
    padding: 8px 0;
  }

  .brand img {
    width: 104px;
  }

  .menu-toggle {
    display: inline-flex;
    justify-self: end;
  }

  .site-header:not(.nav-open) .top-nav,
  .site-header:not(.nav-open) .header-actions {
    display: none;
  }

  .site-header.nav-open .top-nav,
  .site-header.nav-open .header-actions {
    display: flex;
    grid-column: 1 / -1;
    width: 100%;
  }

  .site-header.nav-open .header-actions {
    gap: 8px;
  }

  section {
    padding: 52px 0;
  }

  .top-nav {
    gap: 8px;
  }

  .nav-group,
  .nav-direct {
    width: 100%;
  }

  .nav-group > summary,
  .nav-direct {
    width: 100%;
    justify-content: space-between;
  }

  .nav-menu {
    width: 100%;
  }

  .search-link {
    width: auto;
    justify-content: center;
  }

  h1 {
    font-size: var(--hero-title-mobile-size);
  }

  .section-heading h2 {
    font-size: 32px;
  }

  .suite-copy h2 {
    font-size: 34px;
  }

  .hero-lead,
  .goal-copy p,
  .suite-copy p,
  .section-heading p {
    font-size: 17px;
  }

  .goal-copy h3 {
    font-size: 26px;
  }

  .hero-stage,
  .goal-panel {
    padding: 16px;
  }

  .hero-demo {
    min-height: 0;
    padding: 0;
  }

  .stage-path,
  .stage-grid,
  .instant-live,
  .structured-route-stage,
  .suite-layout,
  .skills-build-board,
  .devtools-connect,
  .goal-tabs,
  .value-grid,
  .decision-grid,
  .engineering-note,
  .capability-grid,
  .capability-lanes,
  .example-output-grid,
  .proof-grid,
  .release-strip,
  .customer-grid,
  .trust-grid,
  .flow-pills,
  .eda-pipeline,
  .devtools-body,
  .devtools-graph {
    grid-template-columns: 1fr;
  }

  .stage-path span {
    justify-content: flex-start;
    padding-left: 14px;
  }

  .hero-demo-body {
    padding: 12px;
  }

  .demo-tab-list {
    grid-template-columns: repeat(5, minmax(0, 1fr));
    overflow: hidden;
  }

  .demo-tab-list label {
    min-height: 38px;
    gap: 3px;
    padding: 0 3px;
    font-size: 10px;
  }

  .demo-tab-list label i {
    display: none;
  }

  .demo-code pre {
    height: auto;
    min-height: 0;
    padding: 12px;
    font-size: 9.7px;
  }

  .suite-console,
  .devtools-panel .devtools-screen {
    min-height: 0;
  }

  .suite-console pre {
    height: auto;
    min-height: 260px;
  }

  .skills-build-board article {
    min-height: 0;
  }

  .engineering-note .inline-link {
    grid-column: 1;
    margin-top: 0;
  }

  .demo-code-title {
    align-items: flex-start;
    flex-direction: column;
    gap: 3px;
    padding: 10px 12px;
  }

  .demo-output dl div {
    grid-template-columns: 1fr;
    gap: 4px;
  }

  .field-routing div,
  .action-stack li {
    grid-template-columns: 1fr;
    gap: 4px;
  }

  .structured-route-stage .field-routing div {
    grid-template-columns: minmax(0, 1fr) 28px;
  }

  .flow-graph {
    grid-template-columns: 1fr;
  }

  .flow-arrow {
    min-height: 18px;
    transform: rotate(90deg);
  }

  .goal-visual {
    min-height: 0;
  }

  .screenshot-large img,
  .screenshot-card img,
  .evidence-large img,
  .evidence-card img {
    height: 260px;
  }

  .evidence-card {
    grid-template-columns: 1fr;
  }

  .evidence-card img {
    min-height: 0;
    border-right: 0;
    border-bottom: 1px solid var(--line);
  }

  .customer-logo,
  .site-footer {
    grid-template-columns: 1fr;
    display: grid;
  }

  .hero-demo {
    height: auto;
    min-height: 0;
  }

  .demo-panel {
    grid-template-columns: 1fr;
    grid-template-rows: auto auto;
  }

  .model-strip,
  .install-line,
  .hero-side-panel {
    width: 100%;
  }

  .hero-side-panel {
    display: none;
  }

  .devtools-body aside,
  .devtools-main {
    min-height: 0;
  }
}

@media (min-width: 520px) and (max-width: 760px) {
  .instant-live {
    grid-template-columns: minmax(0, 0.92fr) minmax(0, 0.98fr);
  }

  .structured-route-stage {
    grid-template-columns: minmax(0, 0.96fr) minmax(150px, 0.72fr);
  }
}
