@font-face {
  font-family: "Familjen Grotesk";
  font-style: normal;
  font-weight: 400 600;
  font-display: swap;
  src: url("./assets/fonts/FamiljenGrotesk-Latin.woff2") format("woff2");
}

@font-face {
  font-family: "Familjen Grotesk";
  font-style: normal;
  font-weight: 400 600;
  font-display: swap;
  src: url("./assets/fonts/FamiljenGrotesk-LatinExt.woff2") format("woff2");
}

@font-face {
  font-family: "IBM Plex Mono";
  font-style: normal;
  font-weight: 400;
  font-display: swap;
  src: url("./assets/fonts/IBMPlexMono-Regular-Latin.woff2") format("woff2");
}

@font-face {
  font-family: "IBM Plex Mono";
  font-style: normal;
  font-weight: 500;
  font-display: swap;
  src: url("./assets/fonts/IBMPlexMono-Medium-Latin.woff2") format("woff2");
}

:root {
  color-scheme: light;
  --cream: #f3efe6;
  --cream-2: #e9e3d4;
  --card: #e2dacb;
  --card-2: #d8cebd;
  --ink: #211f1b;
  --ink-2: #181613;
  --ink-3: #25221e;
  --charcoal: #141210;
  --muted: #5b554b;
  --muted-2: #8a8174;
  --line: rgba(20, 20, 19, 0.14);
  --dark-line: rgba(250, 249, 245, 0.12);
  --dark-line-soft: rgba(250, 249, 245, 0.075);
  --accent: #4f5798;
  --proof: #c9ad37;
  --proof-ink: #9a7b1e;
  --sage: #7a9e82;
  --coral: #c47a6a;
  --radius: 8px;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  min-width: 320px;
  margin: 0;
  background: var(--cream);
  color: var(--ink);
  font-family: "Familjen Grotesk", system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  font-size: 16px;
  line-height: 1.5;
  letter-spacing: 0;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}

button,
input,
select {
  font: inherit;
}

button,
a {
  -webkit-tap-highlight-color: transparent;
}

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

svg {
  display: block;
}

.site-nav {
  position: sticky;
  top: 0;
  z-index: 20;
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  align-items: center;
  min-height: 58px;
  padding: 0 clamp(22px, 5.4vw, 78px);
  background: color-mix(in srgb, var(--cream) 94%, transparent);
  backdrop-filter: blur(18px);
}

.wordmark,
.footer-logo {
  color: var(--ink);
  font-size: 25px;
  font-weight: 600;
  line-height: 1;
  letter-spacing: 0.01em;
}

.wordmark span,
.footer-logo span {
  color: var(--accent);
}

.nav-links {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: clamp(24px, 3vw, 40px);
  color: var(--ink);
  font-size: 16px;
  font-weight: 500;
}

.nav-links a {
  transition: opacity 150ms ease;
}

.nav-links a:hover {
  opacity: 0.6;
}

.nav-cta {
  justify-self: end;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 38px;
  padding: 0 20px;
  border-radius: 8px;
  background: var(--ink);
  color: var(--cream);
  font-size: 14px;
  font-weight: 600;
}

main {
  background: var(--cream);
}

.hero-section {
  display: grid;
  grid-template-columns: minmax(0, 1fr);
  gap: 0;
  max-width: none;
  min-height: 0;
  margin: 0;
  padding: clamp(72px, 7vw, 116px) clamp(28px, 7vw, 150px) clamp(42px, 4.5vw, 58px);
  background: var(--cream);
  color: var(--ink);
}

.hero-copy h1 {
  max-width: 660px;
  margin: 0;
  color: var(--ink);
  font-size: clamp(34px, 3.1vw, 54px);
  font-weight: 500;
  line-height: 1.14;
  letter-spacing: 0;
}

.hero-aside {
  align-self: start;
  max-width: 620px;
  margin-top: 26px;
  padding-bottom: 0;
}

.hero-aside p {
  max-width: 620px;
  margin: 0;
  color: var(--muted);
  font-family: "Familjen Grotesk", system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  font-size: clamp(17px, 1.15vw, 20px);
  line-height: 1.45;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 32px;
}

.hero-meta {
  display: none;
  flex-wrap: wrap;
  gap: 10px 26px;
  margin: 40px 0 0;
  padding: 0;
  color: var(--muted-2);
  font-family: "IBM Plex Mono", ui-monospace, monospace;
  font-size: 12px;
  font-weight: 500;
  letter-spacing: 0;
  list-style: none;
  text-transform: uppercase;
}

.hero-meta li {
  display: flex;
  align-items: center;
  gap: 9px;
}

.hero-meta li::before {
  content: "";
  width: 5px;
  height: 5px;
  border-radius: 999px;
  background: var(--accent);
}

.hero-proof-list {
  display: grid;
  gap: 0;
  margin: clamp(24px, 3vw, 32px) 0 0;
  padding: 0;
  border-top: 1px solid var(--line);
}

.hero-proof-list div {
  display: grid;
  grid-template-columns: minmax(120px, 0.42fr) minmax(0, 1fr);
  gap: 20px;
  padding: 9px 0;
  border-bottom: 1px solid var(--line);
}

.hero-proof-list dt,
.hero-proof-list dd {
  margin: 0;
}

.hero-proof-list dt {
  color: var(--ink);
  font-size: 14px;
  font-weight: 600;
}

.hero-proof-list dd {
  color: var(--muted);
  font-size: 14px;
  line-height: 1.2;
}

.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 42px;
  padding: 0 21px;
  border-radius: 8px;
  font-size: 15px;
  font-weight: 600;
  cursor: pointer;
  transition: background 150ms ease, color 150ms ease, border-color 150ms ease, transform 150ms ease;
}

.button svg {
  width: 18px;
  height: 18px;
  margin-left: 12px;
  fill: none;
  stroke: currentColor;
  stroke-width: 1.8;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.button-dark {
  border: 1px solid var(--ink);
  background: var(--ink);
  color: var(--cream);
}

.button-dark:hover,
.button-dark:focus-visible {
  background: #000;
  transform: translateY(-1px);
}

.button-cream {
  border: 1px solid var(--line);
  background: transparent;
  color: var(--ink);
}

.button-cream:hover,
.button-cream:focus-visible {
  background: var(--cream-2);
  transform: translateY(-1px);
}

.hero-section .button-dark {
  border-color: var(--ink);
  background: var(--ink);
  color: var(--cream);
}

.hero-section .button-dark:hover,
.hero-section .button-dark:focus-visible {
  background: #000;
}

.hero-section .button-cream {
  border-color: var(--line);
  background: transparent;
  color: var(--ink);
}

.hero-section .button-cream:hover,
.hero-section .button-cream:focus-visible {
  background: var(--cream-2);
}

.product-band {
  position: relative;
  margin-top: 0;
  padding: clamp(20px, 2vw, 32px) clamp(28px, 7vw, 150px) clamp(72px, 8vw, 112px);
  background:
    linear-gradient(180deg, var(--cream) 0 132px, var(--charcoal) 132px 100%);
  color: var(--cream);
}

.band-heading {
  display: grid;
  grid-template-columns: minmax(190px, 0.28fr) minmax(0, 0.72fr);
  gap: 34px;
  align-items: end;
  max-width: 1720px;
  margin: clamp(46px, 6vw, 76px) auto 0;
}

.micro-label {
  display: block;
  color: var(--muted-2);
  font-family: "IBM Plex Mono", ui-monospace, monospace;
  font-size: 12px;
  font-weight: 500;
  text-transform: uppercase;
}

.band-heading h2 {
  max-width: 760px;
  margin: 0;
  color: var(--cream);
  font-size: clamp(28px, 3.2vw, 46px);
  font-weight: 500;
  line-height: 1.02;
}

.lvl-demo {
  position: relative;
  z-index: 1;
  max-width: 1720px;
  margin: 0 auto;
  overflow: hidden;
  border: 1px solid var(--dark-line);
  border-radius: var(--radius);
  background: linear-gradient(180deg, rgba(250, 249, 245, 0.05), rgba(250, 249, 245, 0.016)), var(--ink-2);
  box-shadow: 0 34px 120px rgba(0, 0, 0, 0.3);
}

.demo-topbar {
  display: grid;
  grid-template-columns: auto auto minmax(170px, 1fr) auto auto auto;
  gap: 14px;
  align-items: center;
  min-height: 42px;
  padding: 0 16px;
  border-bottom: 1px solid var(--dark-line-soft);
  color: var(--muted-2);
  font-family: "IBM Plex Mono", ui-monospace, monospace;
  font-size: 10px;
}

.demo-window-controls {
  display: inline-flex;
  gap: 6px;
  align-items: center;
}

.demo-window-controls i {
  width: 9px;
  height: 9px;
  border-radius: 999px;
  background: rgba(250, 249, 245, 0.18);
}

.proof-flow {
  display: grid;
  grid-template-columns: repeat(5, minmax(0, 1fr));
  gap: 1px;
  margin: 0;
  padding: 0;
  border-bottom: 1px solid var(--dark-line-soft);
  background: var(--dark-line-soft);
  list-style: none;
}

.proof-flow li {
  display: flex;
  align-items: center;
  gap: 9px;
  min-height: 34px;
  padding: 0 14px;
  background: rgba(250, 249, 245, 0.026);
  color: var(--muted-2);
  font-family: "IBM Plex Mono", ui-monospace, monospace;
  font-size: 10px;
  text-transform: uppercase;
}

.proof-flow li.active,
.proof-flow li:hover {
  color: var(--cream);
  background: rgba(201, 173, 55, 0.07);
}

.proof-flow span {
  color: var(--proof);
}

.demo-wordmark {
  color: var(--accent);
  font-family: "Familjen Grotesk", system-ui, sans-serif;
  font-size: 22px;
  font-weight: 600;
}

.demo-wordmark span {
  color: var(--proof);
}

.demo-context {
  color: var(--cream);
}

.demo-topbar strong {
  color: var(--cream);
  font-weight: 500;
}

.demo-actions {
  display: inline-flex;
  gap: 6px;
  justify-self: end;
  color: var(--muted-2);
}

.demo-actions svg {
  width: 17px;
  height: 17px;
  fill: none;
  stroke: currentColor;
  stroke-width: 1.7;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.local-indicator {
  justify-self: end;
  display: inline-flex;
  align-items: center;
  gap: 7px;
  color: var(--cream);
  text-transform: uppercase;
}

.local-indicator i {
  width: 7px;
  height: 7px;
  border-radius: 99px;
  background: var(--sage);
}

.demo-grid {
  display: grid;
  grid-template-columns: 40px minmax(170px, 0.52fr) minmax(250px, 0.78fr) minmax(330px, 1fr);
  min-height: 450px;
}

.demo-statusbar {
  display: flex;
  align-items: center;
  gap: 12px;
  min-height: 34px;
  padding: 0 14px;
  border-top: 1px solid var(--dark-line-soft);
  color: var(--muted-2);
  font-family: "IBM Plex Mono", ui-monospace, monospace;
  font-size: 10px;
  overflow-x: auto;
  scrollbar-width: none;
}

.demo-statusbar::-webkit-scrollbar {
  display: none;
}

.demo-statusbar span {
  display: inline-flex;
  flex: 0 0 auto;
  align-items: center;
  gap: 6px;
}

.demo-statusbar span + span {
  padding-left: 12px;
  border-left: 1px solid var(--dark-line-soft);
}

.status-dot {
  width: 6px;
  height: 6px;
  border-radius: 999px;
  background: var(--sage);
}

.demo-rail,
.source-list,
.thread-panel {
  border-right: 1px solid var(--dark-line-soft);
}

.demo-rail {
  display: flex;
  flex-direction: column;
  gap: 11px;
  align-items: center;
  padding: 18px 0;
  background: rgba(0, 0, 0, 0.13);
}

.demo-rail span {
  width: 20px;
  height: 20px;
  border: 1px solid rgba(250, 249, 245, 0.22);
  border-radius: 5px;
  opacity: 0.65;
}

.demo-rail span.active {
  background: rgba(94, 101, 163, 0.22);
  border-color: var(--accent);
}

.source-list,
.thread-panel,
.proof-panel {
  min-width: 0;
  padding: 14px;
}

.panel-label {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  color: var(--muted-2);
  font-family: "IBM Plex Mono", ui-monospace, monospace;
  font-size: 11px;
  text-transform: uppercase;
}

.panel-label button {
  display: grid;
  place-items: center;
  width: 22px;
  height: 22px;
  border: 0;
  background: transparent;
  color: var(--muted-2);
  cursor: pointer;
}

.panel-label strong {
  color: var(--sage);
  font-size: 10px;
  font-weight: 500;
}

.source-row {
  display: grid;
  grid-template-columns: 22px 1fr;
  gap: 9px;
  width: 100%;
  min-width: 0;
  margin-top: 9px;
  padding: 9px;
  border: 0;
  border-radius: 6px;
  background: transparent;
  color: var(--muted-2);
  text-align: left;
  cursor: pointer;
}

.source-row.active,
.source-row:hover {
  background: rgba(94, 101, 163, 0.2);
  color: var(--cream);
}

.source-row strong,
.source-row small {
  display: block;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.source-row strong {
  color: inherit;
  font-size: 14px;
  font-weight: 500;
}

.source-row small {
  color: var(--muted-2);
  font-size: 12px;
}

.doc-icon {
  width: 17px;
  height: 20px;
  border: 1px solid rgba(250, 249, 245, 0.2);
  border-radius: 3px;
  background: rgba(250, 249, 245, 0.045);
}

.index-status {
  margin-top: 158px;
  padding-top: 14px;
  border-top: 1px solid var(--dark-line-soft);
  color: var(--muted-2);
  font-family: "IBM Plex Mono", ui-monospace, monospace;
  font-size: 11px;
}

.index-status span,
.index-status strong,
.index-status small,
.index-status i {
  display: block;
}

.index-status strong {
  margin-top: 7px;
  color: var(--cream);
  font-weight: 500;
}

.index-status i {
  height: 4px;
  margin: 8px 0;
  border-radius: 99px;
  background: linear-gradient(90deg, var(--sage), var(--accent));
}

.question {
  max-width: 270px;
  margin-top: 16px;
  padding: 12px;
  border-radius: 6px;
  background: rgba(250, 249, 245, 0.06);
  color: var(--cream);
  font-size: 14px;
}

.answer {
  margin-top: 17px;
  color: var(--cream);
  font-size: 15px;
  line-height: 1.45;
}

.answer p {
  margin: 0 0 14px;
}

.citation-chip {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  height: 22px;
  min-width: 30px;
  border: 1px solid rgba(201, 173, 55, 0.52);
  border-radius: 4px;
  background: rgba(201, 173, 55, 0.12);
  color: var(--proof);
  font-family: "IBM Plex Mono", ui-monospace, monospace;
  font-size: 11px;
  cursor: pointer;
}

.citation-chip.active {
  border-color: var(--proof);
}

.citation-stack {
  display: grid;
  gap: 8px;
  margin-top: 26px;
}

.citation-row {
  display: grid;
  grid-template-columns: 32px 1fr;
  gap: 9px;
  align-items: center;
  width: 100%;
  padding: 10px;
  border: 1px solid var(--dark-line-soft);
  border-radius: 6px;
  background: rgba(250, 249, 245, 0.025);
  color: var(--cream);
  text-align: left;
  cursor: pointer;
}

.citation-row.active,
.citation-row:hover {
  border-color: rgba(201, 173, 55, 0.42);
  background: rgba(201, 173, 55, 0.07);
}

.citation-row span {
  display: grid;
  place-items: center;
  width: 26px;
  height: 24px;
  border: 1px solid rgba(201, 173, 55, 0.6);
  border-radius: 4px;
  color: var(--proof);
  font-family: "IBM Plex Mono", ui-monospace, monospace;
  font-size: 11px;
}

.citation-row strong,
.citation-row small {
  display: block;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.citation-row strong {
  font-size: 13px;
  font-weight: 500;
}

.citation-row small {
  color: var(--muted-2);
  font-family: "IBM Plex Mono", ui-monospace, monospace;
  font-size: 10px;
}

.document-toolbar {
  display: flex;
  justify-content: space-between;
  gap: 18px;
  color: var(--cream);
  font-size: 14px;
}

.document-toolbar strong {
  color: var(--muted-2);
  font-family: "IBM Plex Mono", ui-monospace, monospace;
  font-size: 11px;
  font-weight: 500;
}

.pdf-page {
  min-height: 226px;
  margin-top: 13px;
  padding: 26px 30px;
  border-radius: 5px;
  background: #f3efe4;
  color: var(--ink);
}

.pdf-page h3 {
  margin: 0 0 18px;
  font-size: 16px;
  font-weight: 600;
}

.pdf-page p {
  margin: 0;
  font-family: ui-serif, Georgia, "Times New Roman", serif;
  font-size: clamp(18px, 1.55vw, 24px);
  line-height: 1.36;
}

.pdf-page mark {
  padding: 0 4px;
  border-radius: 2px;
  background: rgba(201, 173, 55, 0.72);
  color: inherit;
  transition: background 180ms ease, color 180ms ease;
}

.pdf-page mark.is-changing {
  background: rgba(94, 101, 163, 0.35);
}

.proof-card {
  margin-top: 12px;
  padding: 14px;
  border: 1px solid var(--dark-line-soft);
  border-radius: 6px;
  background: rgba(250, 249, 245, 0.025);
}

.proof-facts {
  margin: 13px 0 0;
  padding: 0;
  border-top: 1px solid var(--dark-line-soft);
}

.proof-facts div {
  display: grid;
  grid-template-columns: minmax(88px, 0.42fr) minmax(0, 1fr);
  gap: 10px;
  padding: 8px 0;
  border-bottom: 1px solid var(--dark-line-soft);
}

.proof-facts dt,
.proof-facts dd {
  margin: 0;
  min-width: 0;
  color: var(--muted-2);
  font-size: 12px;
}

.proof-facts dt {
  font-family: "IBM Plex Mono", ui-monospace, monospace;
  text-transform: uppercase;
}

.proof-facts dd {
  overflow: hidden;
  color: var(--cream);
  text-overflow: ellipsis;
  white-space: nowrap;
}

.export-button {
  width: 100%;
  min-height: 35px;
  margin-top: 12px;
  border: 1px solid rgba(201, 173, 55, 0.44);
  border-radius: 6px;
  background: rgba(201, 173, 55, 0.14);
  color: var(--proof);
  font-size: 14px;
  font-weight: 600;
  cursor: pointer;
}

.export-button:hover,
.export-button:focus-visible {
  background: rgba(201, 173, 55, 0.2);
}

.proof-card p,
.export-status {
  margin: 10px 0 0;
  color: var(--muted-2);
  font-size: 13px;
  line-height: 1.3;
}

/* Claude-derived LVL workspace anatomy, recolored into the current LVL palette. */
.lvl-demo.lvl-app {
  max-width: 1720px;
  border-color: rgba(250, 249, 245, 0.16);
  border-radius: 8px;
  background: var(--ink-2);
  color: var(--muted-2);
  box-shadow:
    0 48px 130px rgba(0, 0, 0, 0.34),
    0 14px 46px rgba(28, 24, 19, 0.26);
}

.lvl-demo.lvl-app.is-proof-playing {
  border-color: rgba(201, 173, 55, 0.36);
  box-shadow:
    0 54px 140px rgba(0, 0, 0, 0.38),
    0 0 0 1px rgba(201, 173, 55, 0.18),
    0 0 48px rgba(201, 173, 55, 0.08);
}

.lvl-demo.lvl-app.is-proof-playing .lvl-cite.is-active {
  animation: proof-pulse 1.35s ease-in-out infinite;
}

.lvl-demo.lvl-app.is-exported .lvl-proof-detail {
  border-color: rgba(122, 158, 130, 0.36);
  background: rgba(122, 158, 130, 0.055);
}

.lvl-demo.lvl-app.is-exported .export-button {
  border-color: rgba(122, 158, 130, 0.48);
  background: rgba(122, 158, 130, 0.13);
  color: #a8c5ad;
}

@keyframes proof-pulse {
  0%,
  100% {
    box-shadow: 0 0 0 3px rgba(201, 173, 55, 0.08);
    transform: translateY(0);
  }

  50% {
    box-shadow: 0 0 0 6px rgba(201, 173, 55, 0.14);
    transform: translateY(-1px);
  }
}

.lvl-windowbar {
  display: grid;
  grid-template-columns: auto auto minmax(170px, 1fr) auto auto auto;
  gap: 14px;
  align-items: center;
  min-height: 42px;
  padding: 0 16px;
  border-bottom: 1px solid var(--dark-line-soft);
  background: var(--ink-2);
  color: var(--muted-2);
  font-family: "IBM Plex Mono", ui-monospace, monospace;
  font-size: 10px;
}

.lvl-body {
  display: grid;
  grid-template-columns: minmax(190px, 0.58fr) minmax(360px, 1.08fr) minmax(360px, 1fr);
  min-height: 500px;
}

.lvl-sidebar,
.lvl-thread {
  border-right: 1px solid var(--dark-line-soft);
}

.lvl-sidebar {
  min-width: 0;
  padding: 10px;
  background: #161713;
}

.lvl-sidebar-head {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 3px 4px 10px;
  border-bottom: 1px solid var(--dark-line-soft);
}

.lvl-project {
  flex: 1;
  min-width: 0;
  overflow: hidden;
  color: var(--cream);
  font-size: 13px;
  font-weight: 600;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.lvl-sidebar-actions {
  display: inline-flex;
  gap: 8px;
  color: var(--muted-2);
}

.lvl-sidebar-actions svg {
  width: 14px;
  height: 14px;
  fill: none;
  stroke: currentColor;
  stroke-width: 1.8;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.lvl-sidebar-group {
  padding: 9px 0 4px;
}

.lvl-sidebar-label {
  display: flex;
  align-items: center;
  gap: 8px;
  margin: 0 0 4px;
  padding: 0 6px;
  color: var(--muted-2);
  font-family: "IBM Plex Mono", ui-monospace, monospace;
  font-size: 10px;
  text-transform: uppercase;
}

.lvl-sidebar-label strong {
  margin-left: auto;
  color: var(--sage);
  font-weight: 500;
}

.lvl-thread-row,
.lvl-source-line {
  display: flex;
  align-items: center;
  width: 100%;
  min-width: 0;
  margin: 1px 0;
  padding: 7px 9px;
  border: 0;
  border-radius: 6px;
  background: transparent;
  color: var(--muted-2);
  text-align: left;
  cursor: pointer;
}

.lvl-thread-row {
  font-size: 12px;
  font-weight: 500;
}

.lvl-thread-row.active,
.lvl-thread-row:hover,
.lvl-source-line.active,
.lvl-source-line:hover {
  background: rgba(250, 249, 245, 0.075);
  color: var(--cream);
}

.lvl-source-line {
  gap: 8px;
  font-size: 12px;
}

.lvl-source-line span {
  flex: 1;
  min-width: 0;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.lvl-source-line i {
  width: 6px;
  height: 6px;
  border-radius: 999px;
  background: var(--sage);
}

.lvl-tabs {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 2px;
  margin: 8px 0 2px;
  padding: 2px;
  border: 1px solid rgba(250, 249, 245, 0.06);
  border-radius: 7px;
  background: rgba(250, 249, 245, 0.025);
}

.lvl-tabs button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 5px;
  min-width: 0;
  padding: 5px 4px;
  border: 0;
  border-radius: 5px;
  background: transparent;
  color: var(--muted-2);
  font-size: 11px;
  font-weight: 500;
  cursor: pointer;
}

.lvl-tabs button.active {
  background: rgba(250, 249, 245, 0.08);
  color: var(--cream);
}

.lvl-tabs span {
  padding: 0 4px;
  border-radius: 3px;
  background: rgba(250, 249, 245, 0.07);
  color: var(--muted-2);
  font-size: 9px;
}

.lvl-thread {
  display: flex;
  min-width: 0;
  flex-direction: column;
  background: var(--ink-2);
}

.lvl-thread-toolbar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 14px;
  min-height: 40px;
  padding: 0 18px;
  border-bottom: 1px solid var(--dark-line-soft);
  color: var(--muted-2);
  font-family: "IBM Plex Mono", ui-monospace, monospace;
  font-size: 10px;
  text-transform: uppercase;
}

.lvl-thread-toolbar strong {
  color: var(--sage);
  font-weight: 500;
}

.lvl-stream {
  display: flex;
  flex: 1;
  flex-direction: column;
  gap: 18px;
  min-height: 0;
  padding: 22px 18px 10px;
}

.lvl-msg-user {
  align-self: flex-end;
  max-width: 84%;
  margin: 0;
  padding: 10px 13px;
  border-radius: 8px 8px 2px 8px;
  background: rgba(250, 249, 245, 0.07);
  color: var(--cream);
  font-size: 14px;
}

.lvl-msg-ai {
  max-width: 92%;
  color: var(--muted-2);
  font-size: 14px;
  line-height: 1.62;
}

.lvl-ai-tag {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  margin-bottom: 9px;
  color: var(--sage);
  font-family: "IBM Plex Mono", ui-monospace, monospace;
  font-size: 10px;
  text-transform: uppercase;
}

.lvl-ai-tag i,
.lvl-verdict i {
  width: 6px;
  height: 6px;
  border-radius: 999px;
  background: var(--sage);
}

.lvl-msg-ai p {
  margin: 0 0 11px;
}

#claimText {
  color: var(--cream);
  font-weight: 500;
  background: linear-gradient(transparent 60%, rgba(201, 173, 55, 0.22) 60%);
}

.lvl-cite {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 21px;
  height: 19px;
  margin-left: 5px;
  padding: 0 5px;
  border: 1px solid rgba(79, 87, 152, 0.46);
  border-radius: 4px;
  background: rgba(79, 87, 152, 0.14);
  color: #aab0e0;
  font-family: "IBM Plex Mono", ui-monospace, monospace;
  font-size: 10px;
  font-weight: 500;
  cursor: pointer;
  vertical-align: 1px;
}

.lvl-cite.is-active,
.lvl-cite.active,
.lvl-cite:hover {
  border-color: rgba(201, 173, 55, 0.65);
  background: rgba(201, 173, 55, 0.13);
  color: var(--proof);
  box-shadow: 0 0 0 3px rgba(201, 173, 55, 0.08);
}

.lvl-cite.static {
  margin-left: 0;
  cursor: default;
}

.lvl-composer {
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 8px;
  align-items: center;
  margin: 10px 16px 16px;
  padding: 6px 6px 6px 12px;
  border: 1px solid var(--dark-line);
  border-radius: 8px;
  background: rgba(250, 249, 245, 0.025);
}

.lvl-composer input {
  min-width: 0;
  border: 0;
  background: transparent;
  color: var(--muted-2);
  font-size: 13px;
  outline: 0;
}

.lvl-composer button {
  display: grid;
  place-items: center;
  width: 30px;
  height: 30px;
  border: 0;
  border-radius: 6px;
  background: var(--accent);
  color: #fff;
  cursor: pointer;
}

.lvl-composer svg {
  width: 15px;
  height: 15px;
  fill: none;
  stroke: currentColor;
  stroke-width: 2;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.lvl-proof {
  display: flex;
  min-width: 0;
  flex-direction: column;
  gap: 12px;
  padding: 14px;
  background: #10100e;
}

.lvl-proof-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 14px;
  color: var(--muted-2);
  font-family: "IBM Plex Mono", ui-monospace, monospace;
  font-size: 10px;
  text-transform: uppercase;
}

.lvl-proof-head strong {
  min-width: 0;
  overflow: hidden;
  color: var(--muted-2);
  font-weight: 400;
  text-overflow: ellipsis;
  text-transform: none;
  white-space: nowrap;
}

.lvl-doc {
  min-height: 230px;
  padding: 22px 24px;
  border-radius: 6px;
  background: var(--cream);
  color: var(--ink);
}

.lvl-doc h3 {
  margin: 0 0 12px;
  color: var(--ink);
  font-size: 15px;
  font-weight: 600;
}

.lvl-doc p {
  margin: 0 0 11px;
  color: var(--ink);
  font-family: ui-serif, Georgia, "Times New Roman", serif;
  font-size: clamp(15px, 1.18vw, 22px);
  line-height: 1.48;
}

.lvl-doc p.dim {
  margin-bottom: 0;
  color: var(--muted);
}

.lvl-doc mark {
  padding: 0 4px;
  border-radius: 2px;
  background: rgba(201, 173, 55, 0.68);
  color: inherit;
  transition: background 180ms ease, box-shadow 180ms ease;
  box-decoration-break: clone;
  -webkit-box-decoration-break: clone;
}

.lvl-doc mark.is-changing {
  background: rgba(79, 87, 152, 0.35);
  box-shadow: 0 0 0 3px rgba(79, 87, 152, 0.12);
}

.lvl-proof-detail {
  display: grid;
  gap: 10px;
  padding: 13px;
  border: 1px solid var(--dark-line-soft);
  border-radius: 7px;
  background: rgba(250, 249, 245, 0.025);
}

.lvl-proof-row,
.lvl-verdict {
  display: flex;
  align-items: center;
  gap: 8px;
}

.lvl-proof-row strong {
  min-width: 0;
  overflow: hidden;
  color: var(--cream);
  font-size: 12px;
  font-weight: 500;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.lvl-verdict {
  padding-top: 10px;
  border-top: 1px solid var(--dark-line-soft);
  color: var(--muted-2);
  font-size: 12px;
}

.lvl-verdict strong {
  color: var(--sage);
  font-weight: 600;
}

.lvl-proof-facts {
  display: grid;
  gap: 7px;
  margin: 0;
  padding: 0;
}

.lvl-proof-facts div {
  display: grid;
  grid-template-columns: 96px minmax(0, 1fr);
  gap: 10px;
  align-items: center;
}

.lvl-proof-facts dt,
.lvl-proof-facts dd {
  margin: 0;
  color: var(--muted-2);
  font-size: 11px;
}

.lvl-proof-facts dt {
  font-family: "IBM Plex Mono", ui-monospace, monospace;
  text-transform: uppercase;
}

.lvl-proof-facts dd {
  display: flex;
  align-items: center;
  gap: 7px;
  color: var(--cream);
}

.lvl-bar {
  flex: 1;
  height: 4px;
  overflow: hidden;
  border-radius: 999px;
  background: rgba(250, 249, 245, 0.08);
}

.lvl-bar i {
  display: block;
  width: 94%;
  height: 100%;
  background: var(--accent);
}

.lvl-proof .export-button {
  margin-top: 2px;
}

.trust-strip,
.latest-section,
.principles-section,
.private-section,
.faq-section,
.access-section,
.pricing-strip {
  padding: clamp(70px, 8vw, 112px) clamp(22px, 5.4vw, 78px);
  border-bottom: 1px solid var(--line);
}

.latest-section h2,
.principles-section h2,
.private-section h2,
.faq-section h2,
.access-section h2 {
  margin: 0 0 32px;
  color: var(--ink);
  font-size: clamp(32px, 4vw, 58px);
  font-weight: 600;
  line-height: 1.05;
}

.trust-strip {
  display: grid;
  grid-template-columns: minmax(180px, 0.22fr) minmax(0, 1fr);
  gap: clamp(30px, 5vw, 68px);
  background: var(--cream);
}

.trust-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 1px;
  background: var(--line);
}

.trust-grid article {
  min-height: 168px;
  padding: 24px;
  background: var(--cream);
}

.trust-grid h3 {
  margin: 0;
  color: var(--ink);
  font-size: 24px;
  font-weight: 600;
  line-height: 1.08;
}

.trust-grid p {
  margin: 12px 0 0;
  color: var(--muted);
  font-size: 16px;
  line-height: 1.36;
}

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

.release-grid article {
  display: flex;
  flex-direction: column;
  min-height: 430px;
  padding: 30px;
  border-radius: var(--radius);
  background: var(--card);
}

.mini-frame {
  display: grid;
  gap: 8px;
  min-height: 98px;
  margin: 24px 0;
  padding: 14px;
  border: 1px solid rgba(20, 20, 19, 0.12);
  border-radius: 8px;
  background: rgba(250, 249, 245, 0.35);
  overflow: hidden;
}

.mini-frame span,
.mini-frame strong {
  color: var(--ink);
  font-family: "IBM Plex Mono", ui-monospace, monospace;
  font-size: 11px;
  font-weight: 500;
  text-transform: uppercase;
}

.source-frame i {
  display: block;
  height: 10px;
  border-radius: 999px;
  background: rgba(20, 20, 19, 0.12);
}

.source-frame i:nth-of-type(1) {
  width: 86%;
  background: rgba(79, 87, 152, 0.35);
}

.source-frame i:nth-of-type(2) {
  width: 66%;
  background: rgba(122, 158, 130, 0.34);
}

.source-frame i:nth-of-type(3) {
  width: 74%;
  background: rgba(201, 173, 55, 0.3);
}

.answer-frame {
  grid-template-columns: 34px minmax(0, 1fr);
  align-items: start;
}

.answer-frame span {
  display: grid;
  place-items: center;
  width: 28px;
  height: 26px;
  border: 1px solid rgba(154, 123, 30, 0.42);
  border-radius: 5px;
  color: var(--proof-ink);
}

.answer-frame p {
  margin: 0;
  color: var(--ink);
  font-family: ui-serif, Georgia, "Times New Roman", serif;
  font-size: 20px;
  line-height: 1.18;
}

.export-frame {
  grid-template-columns: minmax(0, 1fr) auto;
  align-items: start;
}

.export-frame strong {
  color: #4b7a54;
}

.export-frame i {
  grid-column: 1 / -1;
  display: block;
  height: 8px;
  border-radius: 999px;
  background: linear-gradient(90deg, var(--accent) 0 38%, var(--proof) 38% 74%, var(--sage) 74% 100%);
}

.release-grid h3 {
  margin: 0;
  color: var(--ink);
  font-size: 29px;
  font-weight: 600;
  line-height: 1.05;
}

.release-grid p {
  margin: 14px 0 0;
  color: var(--ink);
  font-family: ui-serif, Georgia, "Times New Roman", serif;
  font-size: 22px;
  line-height: 1.25;
}

.release-grid dl {
  margin: auto 0 22px;
  border-top: 1px solid rgba(20, 20, 19, 0.13);
}

.release-grid dl div {
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 18px;
  padding: 13px 0;
  border-bottom: 1px solid rgba(20, 20, 19, 0.13);
}

.release-grid dt,
.release-grid dd {
  margin: 0;
  color: var(--ink);
  font-size: 15px;
}

.release-grid dt {
  font-family: "IBM Plex Mono", ui-monospace, monospace;
  text-transform: uppercase;
}

.workflow-result {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
  color: var(--ink);
}

.workflow-result span {
  color: var(--muted);
  font-family: "IBM Plex Mono", ui-monospace, monospace;
  font-size: 12px;
  text-transform: uppercase;
}

.workflow-result strong {
  font-size: 15px;
  font-weight: 600;
}

.principles-section {
  display: grid;
  grid-template-columns: minmax(280px, 0.42fr) minmax(0, 1fr);
  gap: clamp(36px, 7vw, 94px);
}

.principle-list {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 1px;
  background: var(--line);
}

.principle-list article {
  min-height: 220px;
  padding: 28px;
  background: var(--cream);
}

.principle-list h3 {
  margin: 0;
  color: var(--ink);
  font-size: 24px;
  font-weight: 600;
}

.principle-list p {
  margin: 12px 0 0;
  color: var(--muted);
  font-size: 17px;
  line-height: 1.4;
}

.private-section {
  display: grid;
  grid-template-columns: minmax(300px, 0.48fr) minmax(0, 0.52fr);
  gap: clamp(36px, 7vw, 104px);
  align-items: end;
  background: var(--charcoal);
  color: var(--cream);
}

.private-section .micro-label {
  color: rgba(243, 239, 230, 0.62);
}

.private-section h2 {
  max-width: 760px;
  margin: 0;
  color: var(--cream);
}

.private-section > p {
  max-width: 560px;
  margin: 0;
  color: rgba(243, 239, 230, 0.68);
  font-family: ui-serif, Georgia, "Times New Roman", serif;
  font-size: clamp(22px, 2vw, 30px);
  line-height: 1.22;
}

.faq-section {
  display: grid;
  grid-template-columns: minmax(260px, 0.34fr) minmax(0, 0.66fr);
  gap: clamp(34px, 7vw, 100px);
  align-items: start;
  padding-top: clamp(52px, 6vw, 82px);
  padding-bottom: clamp(52px, 6vw, 82px);
}

.faq-section h2 {
  max-width: 460px;
  margin-bottom: 0;
}

.faq-list {
  border-top: 1px solid var(--line);
}

.faq-list details {
  border-bottom: 1px solid var(--line);
}

.faq-list summary {
  position: relative;
  display: flex;
  align-items: center;
  min-height: 68px;
  padding: 18px 42px 18px 0;
  color: var(--ink);
  font-size: 21px;
  font-weight: 600;
  line-height: 1.12;
  cursor: pointer;
  list-style: none;
}

.faq-list summary::-webkit-details-marker {
  display: none;
}

.faq-list summary::after {
  position: absolute;
  right: 0;
  content: "+";
  color: var(--muted);
  font-family: "IBM Plex Mono", ui-monospace, monospace;
  font-size: 22px;
  font-weight: 400;
}

.faq-list details[open] summary::after {
  content: "-";
}

.faq-list p {
  max-width: 620px;
  margin: -4px 0 24px;
  color: var(--muted);
  font-size: 17px;
  line-height: 1.45;
}

.access-section {
  display: grid;
  grid-template-columns: minmax(300px, 0.42fr) minmax(0, 1fr);
  gap: clamp(34px, 7vw, 100px);
  align-items: start;
}

.access-section h2 {
  margin-bottom: 14px;
}

.access-section > div p {
  max-width: 420px;
  margin: 0;
  color: var(--muted);
  font-size: 20px;
  line-height: 1.32;
}

.access-card {
  display: grid;
  gap: 12px;
  align-content: start;
  min-height: 190px;
  padding: 26px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--card);
}

.access-card span {
  color: var(--muted);
  font-family: "IBM Plex Mono", ui-monospace, monospace;
  font-size: 12px;
  text-transform: uppercase;
}

.access-card strong {
  color: var(--ink);
  font-size: clamp(28px, 3vw, 42px);
  font-weight: 600;
  line-height: 1;
}

.access-card p {
  max-width: 520px;
  margin: 0;
  color: var(--muted);
  font-size: 18px;
  line-height: 1.35;
}

.pricing-strip {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  padding-top: 0;
}

.pricing-strip article {
  min-height: 160px;
  padding: 30px 28px 0;
}

.pricing-strip article + article {
  border-left: 1px solid var(--line);
}

.pricing-strip span {
  display: block;
  color: var(--ink);
  font-size: 18px;
  font-weight: 600;
}

.pricing-strip strong {
  display: block;
  margin-top: 12px;
  color: var(--ink);
  font-size: 36px;
  font-weight: 600;
  line-height: 1;
}

.pricing-strip p {
  max-width: 340px;
  margin: 9px 0 0;
  color: var(--muted);
  font-size: 15px;
}

.site-footer {
  display: grid;
  grid-template-columns: minmax(220px, 0.34fr) minmax(0, 0.66fr);
  gap: clamp(50px, 8vw, 120px);
  padding: clamp(58px, 7vw, 88px) clamp(22px, 5.4vw, 78px);
  background: var(--charcoal);
  color: var(--cream);
}

.footer-brand {
  display: flex;
  flex-direction: column;
  min-height: 310px;
}

.footer-logo {
  color: var(--cream);
  font-size: 47px;
}

.footer-brand small {
  margin-top: auto;
  color: var(--muted-2);
  font-size: 15px;
}

.footer-note {
  max-width: 260px;
  margin: 18px 0 0;
  color: var(--muted-2);
  font-size: 17px;
  line-height: 1.3;
}

.footer-maker {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  width: max-content;
  max-width: 100%;
  margin-top: 22px;
  color: var(--muted-2);
  font-size: 15px;
  line-height: 1;
  transition: color 150ms ease;
}

.footer-maker-logo {
  width: 20px;
  height: 20px;
  border-radius: 5px;
  object-fit: cover;
}

.footer-maker:hover,
.footer-maker:focus-visible {
  color: var(--cream);
}

.footer-links {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: clamp(30px, 5vw, 76px);
}

.footer-links h2 {
  margin: 0 0 16px;
  color: var(--cream);
  font-size: 17px;
  font-weight: 600;
}

.footer-links a {
  display: block;
  margin-top: 13px;
  color: var(--muted-2);
  font-size: 17px;
  line-height: 1.2;
}

.footer-links a:hover {
  color: var(--cream);
}

.legal-main {
  min-height: 100vh;
  padding: clamp(76px, 9vw, 132px) clamp(22px, 5.4vw, 78px);
  background: var(--cream);
}

.legal-shell {
  display: grid;
  grid-template-columns: minmax(220px, 0.28fr) minmax(0, 0.72fr);
  gap: clamp(38px, 8vw, 116px);
  max-width: 1280px;
  margin: 0 auto;
}

.legal-kicker {
  margin: 0 0 18px;
  color: var(--muted);
  font-family: "IBM Plex Mono", ui-monospace, monospace;
  font-size: 12px;
  text-transform: uppercase;
}

.legal-shell h1 {
  margin: 0;
  color: var(--ink);
  font-size: clamp(42px, 6vw, 78px);
  font-weight: 600;
  line-height: 0.96;
}

.legal-updated {
  margin: 24px 0 0;
  color: var(--muted);
  font-size: 15px;
}

.legal-content {
  display: grid;
  gap: 30px;
}

.legal-content section {
  padding-bottom: 30px;
  border-bottom: 1px solid var(--line);
}

.legal-content h2 {
  margin: 0 0 12px;
  color: var(--ink);
  font-size: 24px;
  font-weight: 600;
}

.legal-content p,
.legal-content li {
  color: var(--muted);
  font-size: 18px;
  line-height: 1.48;
}

.legal-content p {
  margin: 0;
}

.legal-content ul {
  display: grid;
  gap: 9px;
  margin: 0;
  padding-left: 20px;
}

.legal-back {
  display: inline-flex;
  align-items: center;
  margin-top: 34px;
  color: var(--ink);
  font-weight: 600;
}

@media (max-width: 1180px) {
  .site-nav {
    grid-template-columns: auto 1fr auto;
  }

  .nav-links {
    gap: 22px;
  }

  .hero-section,
  .trust-strip,
  .principles-section,
  .private-section,
  .faq-section,
  .access-section {
    grid-template-columns: 1fr;
  }

  .hero-section {
    padding-bottom: clamp(20px, 3vw, 36px);
  }

  .hero-aside {
    align-self: start;
  }

  .demo-grid {
    grid-template-columns: 44px minmax(210px, 0.72fr) minmax(310px, 1fr);
  }

  .source-list {
    display: none;
  }

  .lvl-body {
    grid-template-columns: minmax(180px, 0.42fr) minmax(300px, 0.86fr) minmax(300px, 0.72fr);
  }

  .lvl-proof {
    display: flex;
  }

  .lvl-thread {
    border-right: 1px solid var(--dark-line-soft);
  }

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

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

  .legal-shell {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 820px) {
  .site-nav {
    min-height: 56px;
    padding-inline: 16px;
  }

  .nav-links {
    display: none;
  }

  .wordmark {
    font-size: 24px;
  }

  .nav-cta {
    min-height: 36px;
    padding-inline: 14px;
    font-size: 14px;
  }

  .hero-section,
  .product-band,
  .trust-strip,
  .latest-section,
  .principles-section,
  .private-section,
  .faq-section,
  .access-section,
  .pricing-strip,
  .site-footer {
    padding-inline: 16px;
  }

  .hero-section {
    padding-top: clamp(56px, 8vw, 104px);
    padding-inline: clamp(20px, 5vw, 56px);
    padding-bottom: clamp(20px, 3vw, 36px);
    min-height: 0;
  }

  .hero-meta {
    gap: 10px 26px;
    font-size: 12px;
  }

  .hero-proof-list div {
    grid-template-columns: 1fr;
    gap: 4px;
  }

  .product-band {
    margin-top: 0;
    padding-top: 28px;
    padding-bottom: 68px;
    background:
      linear-gradient(180deg, var(--cream) 0 64px, var(--charcoal) 64px 100%);
  }

  .proof-flow {
    grid-template-columns: repeat(5, max-content);
    overflow-x: auto;
    scrollbar-width: none;
  }

  .proof-flow::-webkit-scrollbar {
    display: none;
  }

  .proof-flow li {
    min-width: 112px;
  }

  .band-heading,
  .trust-grid,
  .release-grid,
  .principle-list,
  .pricing-strip,
  .site-footer,
  .footer-links {
    grid-template-columns: 1fr;
  }

  .demo-grid {
    grid-template-columns: 42px minmax(0, 1fr);
    min-height: 0;
  }

  .lvl-body {
    grid-template-columns: minmax(190px, 0.48fr) minmax(0, 1fr);
  }

  .lvl-proof {
    display: none;
  }

  .lvl-thread {
    border-right: 0;
  }

  .proof-panel {
    display: none;
  }

  .thread-panel {
    border-right: 0;
  }

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

  .lvl-windowbar {
    grid-template-columns: auto auto 1fr auto;
  }

  .lvl-windowbar > strong,
  .lvl-windowbar .demo-actions {
    display: none;
  }

  .demo-topbar > span:not(.demo-wordmark):not(.local-indicator):not(.demo-window-controls):not(.demo-actions),
  .demo-topbar > strong {
    display: none;
  }

  .demo-actions {
    display: none;
  }

  .trust-grid article {
    min-height: 0;
  }

  .release-grid article {
    min-height: 360px;
  }

  .mini-frame {
    min-height: 90px;
  }

  .pricing-strip article {
    min-height: 0;
    padding-top: 24px;
    padding-bottom: 24px;
  }

  .pricing-strip article + article {
    border-left: 0;
    border-top: 1px solid var(--line);
  }

  .footer-brand {
    min-height: 0;
  }

  .footer-brand small {
    margin-top: 38px;
  }
}

@media (max-width: 520px) {
  .hero-section {
    padding-top: 48px;
  }

  .hero-actions .button {
    width: 100%;
  }

  .product-band {
    margin-top: 0;
    padding-top: 24px;
    background:
      linear-gradient(180deg, var(--cream) 0 54px, var(--charcoal) 54px 100%);
  }

  .lvl-body {
    grid-template-columns: minmax(0, 1fr);
  }

  .lvl-sidebar {
    display: none;
  }

  .lvl-windowbar {
    grid-template-columns: auto 1fr auto;
    gap: 10px;
  }

  .lvl-windowbar .demo-context {
    display: none;
  }

  .lvl-thread-toolbar {
    align-items: flex-start;
    flex-direction: column;
    min-height: 0;
    padding-block: 10px;
    gap: 3px;
  }

  .lvl-msg-user,
  .lvl-msg-ai {
    max-width: 100%;
  }

  .release-grid p {
    font-size: 20px;
  }

  .legal-main {
    padding-top: 58px;
  }
}

@media (prefers-reduced-motion: reduce) {
  *,
  *::before,
  *::after {
    scroll-behavior: auto !important;
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
  }
}
