:root {
  color-scheme: dark;
  --bg: #080b0f;
  --surface: #101821;
  --surface-2: #14212b;
  --line: #243440;
  --line-strong: #345261;
  --text: #eef7f4;
  --muted: #9cb4af;
  --soft: #6f8984;
  --brand: #4fd1b0;
  --brand-2: #78a6ff;
  --warn: #e8c468;
  --shadow: 0 22px 70px rgba(0, 0, 0, 0.42);
  --container: 1180px;
  --radius: 8px;
  font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
}

* { box-sizing: border-box; }
html { background: var(--bg); }
body {
  margin: 0;
  color: var(--text);
  background:
    radial-gradient(circle at 16% 8%, rgba(79, 209, 176, 0.12), transparent 34rem),
    radial-gradient(circle at 86% 2%, rgba(120, 166, 255, 0.10), transparent 30rem),
    linear-gradient(180deg, #080b0f 0%, #0b1117 46%, #080b0f 100%);
}

a { color: inherit; text-decoration: none; }
p { color: var(--muted); line-height: 1.7; }
img { max-width: 100%; height: auto; }

.site-header,
.site-footer,
.hero,
.section,
.page-hero,
.early-banner {
  width: min(var(--container), calc(100% - 40px));
  margin-inline: auto;
}

.site-header {
  min-height: 72px;
  display: flex;
  align-items: center;
  gap: 18px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  min-width: 190px;
}

.brand img {
  width: 42px;
  height: 42px;
  filter: drop-shadow(0 0 10px rgba(79, 209, 176, 0.28));
}

.brand span {
  display: grid;
  line-height: 1.05;
}

.brand strong { font-size: 1.05rem; }
.brand small { color: var(--muted); font-size: 0.78rem; }

.site-nav {
  display: flex;
  align-items: center;
  gap: 4px;
  margin-left: auto;
  min-width: 0;
}

.site-nav a,
.nav-action {
  color: var(--muted);
  padding: 10px 12px;
  border-radius: var(--radius);
  font-weight: 650;
  font-size: 0.94rem;
}

.site-nav a:hover,
.nav-action:hover {
  color: var(--text);
  background: rgba(255, 255, 255, 0.06);
}

.nav-action {
  color: #08110f;
  background: var(--brand);
  white-space: nowrap;
}

.nav-toggle,
.mobile-nav-contact,
.nav-backdrop {
  display: none;
}

.early-banner {
  display: flex;
  gap: 10px;
  align-items: center;
  margin-top: 14px;
  padding: 10px 12px;
  border: 1px solid var(--line);
  border-left: 3px solid var(--brand);
  border-radius: var(--radius);
  background: rgba(16, 24, 33, 0.72);
  color: #b8c9c5;
  font-size: .84rem;
  line-height: 1.45;
}

.early-banner strong {
  color: var(--brand);
  text-transform: uppercase;
  font-size: .72rem;
  letter-spacing: .08em;
  white-space: nowrap;
}

.hero {
  min-height: auto;
  display: grid;
  grid-template-columns: minmax(0, 1fr) 380px;
  align-items: center;
  gap: 56px;
  padding: 70px 0 76px;
}

.eyebrow {
  color: var(--brand);
  text-transform: uppercase;
  letter-spacing: 0;
  font-size: 0.78rem;
  font-weight: 800;
  margin: 0 0 12px;
}

h1,
h2,
h3 {
  letter-spacing: 0;
  line-height: 1.06;
  margin: 0;
}

h1 { font-size: clamp(3rem, 4.6vw, 4.65rem); max-width: 880px; }
h2 { font-size: clamp(1.75rem, 3vw, 3rem); }
h3 { font-size: 1.18rem; }

.hero-lede {
  max-width: 560px;
  font-size: 1.14rem;
}

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

.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 46px;
  padding: 0 18px;
  border-radius: var(--radius);
  border: 1px solid var(--line-strong);
  font-weight: 800;
}

.button.primary {
  background: var(--brand);
  border-color: var(--brand);
  color: #08110f;
}

.button.secondary {
  background: rgba(255, 255, 255, 0.04);
  color: var(--text);
}

.system-panel {
  border: 1px solid var(--line);
  background: linear-gradient(180deg, rgba(20, 33, 43, 0.94), rgba(12, 18, 24, 0.94));
  box-shadow: var(--shadow);
  border-radius: var(--radius);
  padding: 20px;
  align-self: center;
  min-height: 0;
  display: grid;
  align-content: center;
}

.panel-topline,
.node {
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 14px;
  background: rgba(255, 255, 255, 0.035);
}

.panel-topline {
  display: flex;
  justify-content: space-between;
  color: var(--soft);
  margin-bottom: 12px;
}

.node {
  display: grid;
  gap: 8px;
}

.node span,
.status {
  color: var(--brand);
  font-size: 0.76rem;
  font-weight: 800;
  text-transform: uppercase;
}

.node strong { font-size: 1.18rem; }
.node-active { border-color: rgba(79, 209, 176, 0.6); }
.node-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 12px;
  margin-top: 12px;
}
.node.muted { opacity: 0.68; }

.fabric-panel .node-active strong {
  font-size: clamp(1rem, 1.5vw, 1.18rem);
  overflow-wrap: anywhere;
}

.section,
.page-hero {
  padding: 76px 0;
}

.page-hero {
  max-width: 900px;
}

.page-hero h1 {
  max-width: 15ch;
}

.page-hero p {
  max-width: 760px;
  font-size: 1.1rem;
}

.account-shell {
  width: min(var(--container), calc(100% - 40px));
  margin-inline: auto;
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(320px, 430px);
  gap: 72px;
  align-items: center;
  padding: 88px 0 76px;
}

.account-intro h1 { max-width: 12ch; }
.account-intro > p { max-width: 640px; font-size: 1.12rem; }

.account-signals {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-top: 24px;
}

.account-signals span {
  border: 1px solid var(--line);
  color: var(--muted);
  padding: 7px 10px;
  font-size: 0.84rem;
  font-weight: 750;
}

.account-panel {
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: rgba(16, 24, 33, 0.8);
  box-shadow: var(--shadow);
  padding: 24px;
}

.account-tabs {
  display: grid;
  grid-template-columns: 1fr 1fr;
  border-bottom: 1px solid var(--line);
  margin: -4px 0 20px;
}

.account-tab {
  color: var(--muted);
  background: transparent;
  border: 0;
  border-bottom: 2px solid transparent;
  padding: 12px 8px;
  font: inherit;
  font-weight: 800;
  cursor: pointer;
}

.account-tab.is-active { border-bottom-color: var(--brand); color: var(--text); }

.account-feedback {
  min-height: 26px;
  margin: 0 0 16px;
  font-size: 0.92rem;
}

.account-feedback[data-state="error"] { color: #ff9f9f; }
.account-feedback[data-state="success"] { color: var(--brand); }

.account-form {
  display: grid;
  gap: 14px;
}

.account-form label {
  display: grid;
  gap: 7px;
  color: var(--text);
  font-size: 0.9rem;
  font-weight: 750;
}

.account-form input {
  width: 100%;
  min-height: 44px;
  border: 1px solid var(--line-strong);
  border-radius: var(--radius);
  background: #0b1117;
  color: var(--text);
  padding: 0 12px;
  font: inherit;
}

.account-form input:focus { outline: 2px solid var(--brand); outline-offset: 2px; }
.account-form select {
  width: 100%;
  border: 1px solid var(--line);
  background: var(--surface);
  color: var(--text);
  padding: 12px;
  font: inherit;
}
.account-form select:focus { outline: 2px solid var(--brand); outline-offset: 2px; }
.account-form .button { margin-top: 6px; }

.account-panel--signed-in h2 { margin-bottom: 10px; }
.account-panel--signed-in p { margin-top: 0; }
.account-panel-actions { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 22px; }
.account-panel-actions form { margin: 0; }
.account-principles { padding-top: 0; }
.lyre-credential-controls { display: grid; gap: 18px; }
.lyre-credential-note { margin: 0; color: var(--muted); }
.lyre-remove-credential { display: grid; gap: 12px; border-top: 1px solid var(--line); padding-top: 18px; }
.lyre-remove-credential label { display: grid; gap: 7px; color: var(--muted); font-size: .9rem; }
.lyre-remove-credential select { width: 100%; border: 1px solid var(--line); background: var(--surface); color: var(--text); padding: 12px; font: inherit; }

.split {
  display: grid;
  grid-template-columns: 0.85fr 1.15fr;
  gap: 56px;
  align-items: start;
  border-top: 1px solid rgba(255, 255, 255, 0.08);
}

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

.product-grid,
.principles,
.repo-grid,
.service-grid,
.process-grid,
.contact-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 16px;
}

.product-card,
.principles article,
.product-row,
.repo-card,
.service-tile,
.process-grid article,
.contact-grid article {
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: rgba(16, 24, 33, 0.72);
}

.product-card {
  display: grid;
  align-content: start;
  gap: 12px;
  min-height: 300px;
  padding: 22px;
}

.product-card:hover,
.product-row:hover {
  border-color: rgba(79, 209, 176, 0.55);
}

.product-card img { width: 64px; height: 64px; object-fit: contain; }

.principle-band {
  border-top: 1px solid rgba(255, 255, 255, 0.08);
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
}

.principles article {
  padding: 22px;
}

.repo-card,
.process-grid article,
.contact-grid article {
  display: grid;
  gap: 12px;
  align-content: start;
  padding: 22px;
}

.repo-card--featured {
  border-color: rgba(79, 209, 176, 0.48);
}

.repo-card a,
.contact-grid a:not(.button) {
  color: var(--brand);
  font-weight: 800;
}

.repo-meta {
  display: flex;
  justify-content: space-between;
  gap: 12px;
  color: var(--muted);
  font-weight: 750;
}

.service-tile {
  min-height: 96px;
  display: flex;
  align-items: center;
  padding: 18px;
  color: var(--text);
  font-weight: 800;
}

.section-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 22px;
}

.philosophy-hero {
  width: min(var(--container), calc(100% - 40px));
  margin-inline: auto;
  display: grid;
  grid-template-columns: minmax(0, 1fr) 360px;
  gap: 48px;
  align-items: end;
  padding: 86px 0 76px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
}

.philosophy-hero h1 {
  max-width: 760px;
}

.philosophy-hero p {
  max-width: 680px;
  font-size: 1.12rem;
}

.philosophy-signal {
  border: 1px solid rgba(79, 209, 176, 0.42);
  border-radius: var(--radius);
  background:
    linear-gradient(135deg, rgba(79, 209, 176, 0.12), transparent 54%),
    rgba(16, 24, 33, 0.82);
  box-shadow: var(--shadow);
  padding: 24px;
}

.philosophy-signal span {
  display: block;
  color: var(--brand);
  font-size: 0.76rem;
  font-weight: 850;
  margin-bottom: 14px;
}

.philosophy-signal strong {
  display: block;
  font-size: clamp(1.35rem, 2vw, 2rem);
  line-height: 1.15;
}

.philosophy-ledger {
  display: grid;
  gap: 12px;
}

.philosophy-ledger article {
  display: grid;
  grid-template-columns: 84px minmax(0, 1fr);
  gap: 24px;
  align-items: start;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: rgba(16, 24, 33, 0.68);
  padding: 24px;
}

.philosophy-ledger h2 {
  font-size: clamp(1.5rem, 2.6vw, 2.5rem);
}

.philosophy-ledger p {
  max-width: 760px;
  margin-bottom: 0;
}

.philosophy-proof {
  border-top: 1px solid rgba(255, 255, 255, 0.08);
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
}

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

.proof-grid article {
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: rgba(16, 24, 33, 0.72);
  padding: 22px;
}

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

.fabric-grid article,
.launch-card,
.proof-list article {
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: rgba(16, 24, 33, 0.72);
  padding: 22px;
}

.fabric-grid article {
  display: grid;
  align-content: start;
  gap: 12px;
  min-height: 176px;
}

.answer-section {
  border-top: 1px solid rgba(255, 255, 255, 0.08);
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
}

.answer-list {
  display: grid;
  gap: 12px;
}

.answer-list details {
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: rgba(16, 24, 33, 0.72);
  padding: 18px;
}

.answer-list summary {
  cursor: pointer;
  color: var(--text);
  font-weight: 850;
}

.answer-list p {
  margin: 10px 0 0;
}

.answer-list a {
  color: var(--brand);
  font-weight: 800;
}

.proof-list {
  display: grid;
  gap: 12px;
}

.proof-list article {
  display: grid;
  gap: 10px;
}

.proof-list p,
.fabric-grid p,
.launch-card p {
  margin-bottom: 0;
}

.launch-grid {
  grid-template-columns: 1fr 1fr;
  align-items: stretch;
}

.launch-section {
  border-top: 1px solid rgba(255, 255, 255, 0.08);
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
}

.launch-card {
  display: grid;
  align-content: start;
  gap: 14px;
  min-height: 230px;
}

.launch-card--primary {
  border-color: rgba(79, 209, 176, 0.55);
  background:
    linear-gradient(135deg, rgba(79, 209, 176, 0.12), transparent 56%),
    rgba(16, 24, 33, 0.82);
}

.signup-form {
  display: grid;
  gap: 10px;
  margin-top: 4px;
}

.signup-form label {
  color: var(--text);
  font-size: 0.9rem;
  font-weight: 800;
}

.signup-form div {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 10px;
}

.signup-form input {
  width: 100%;
  min-height: 46px;
  border: 1px solid var(--line-strong);
  border-radius: var(--radius);
  background: #0b1117;
  color: var(--text);
  padding: 0 12px;
  font: inherit;
}

.signup-form input:focus {
  outline: 2px solid var(--brand);
  outline-offset: 2px;
}

.product-list {
  display: grid;
  gap: 16px;
  padding-top: 0;
}

.product-row {
  display: grid;
  grid-template-columns: 72px minmax(0, 1fr) auto;
  gap: 22px;
  align-items: center;
  padding: 22px;
}

.product-row ul {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  padding: 0;
  margin: 14px 0 0;
  list-style: none;
}

.product-row li {
  color: var(--muted);
  border: 1px solid var(--line);
  border-radius: 999px;
  padding: 6px 10px;
  font-size: 0.88rem;
}

.copy-stack p:first-child { margin-top: 0; }
.final-cta .button { margin-top: 14px; }

.site-footer {
  display: flex;
  justify-content: space-between;
  gap: 24px;
  padding: 44px 0;
  border-top: 1px solid rgba(255, 255, 255, 0.08);
}

.site-footer nav {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
  align-content: start;
}

.site-footer a { color: var(--muted); font-weight: 700; }

@media (max-width: 900px) {
  .site-header {
    padding: 14px 0;
    min-height: 72px;
  }

  .brand { min-width: 0; }

  .hero,
  .account-shell,
  .philosophy-hero,
  .split,
  .product-grid,
  .principles,
  .fabric-grid,
  .launch-grid,
  .repo-grid,
  .service-grid,
  .process-grid,
  .contact-grid,
  .proof-grid {
    grid-template-columns: 1fr;
  }

  .hero {
    min-height: auto;
    padding-top: 64px;
  }

  h1 { max-width: 14ch; }

  .signup-form div {
    grid-template-columns: 1fr;
  }

  .philosophy-hero {
    padding-top: 64px;
  }

  .account-shell { gap: 38px; padding-top: 64px; }
}

@media (max-width: 620px) {
  .site-header,
  .site-footer,
  .hero,
  .account-shell,
  .section,
  .page-hero,
  .early-banner {
    width: min(var(--container), calc(100% - 28px));
  }

  .philosophy-hero {
    width: min(var(--container), calc(100% - 28px));
  }

  .account-shell {
    width: min(var(--container), calc(100% - 28px));
    grid-template-columns: 1fr;
  }

  body.nav-open {
    overflow: hidden;
  }

  .nav-toggle {
    width: 44px;
    height: 44px;
    margin-left: auto;
    border: 1px solid var(--line-strong);
    border-radius: var(--radius);
    background: rgba(255, 255, 255, 0.04);
    display: inline-grid;
    place-content: center;
    gap: 5px;
    position: relative;
    z-index: 80;
  }

  .nav-toggle span {
    width: 18px;
    height: 2px;
    border-radius: 999px;
    background: var(--text);
    display: block;
  }

  .nav-backdrop {
    position: fixed;
    inset: 0;
    z-index: 60;
    display: block;
    background: rgba(0, 0, 0, 0.56);
  }

  .nav-backdrop[hidden] {
    display: none;
  }

  .site-nav {
    position: fixed;
    top: 0;
    right: 0;
    bottom: 0;
    z-index: 70;
    width: min(84vw, 320px);
    margin: 0;
    padding: 92px 18px 18px;
    display: grid;
    align-content: start;
    gap: 8px;
    background: rgba(12, 18, 24, 0.98);
    border-left: 1px solid var(--line);
    box-shadow: var(--shadow);
    transform: translateX(100%);
    transition: transform 180ms ease;
  }

  body.nav-open .site-nav {
    transform: translateX(0);
  }

  .site-nav a {
    width: 100%;
    color: var(--text);
    border: 1px solid var(--line);
    background: rgba(255, 255, 255, 0.035);
    padding: 13px 14px;
  }

  .mobile-nav-contact {
    display: block;
    background: var(--brand) !important;
    color: #08110f !important;
    border-color: var(--brand) !important;
  }

  .nav-action {
    display: none;
  }

  .node-grid,
  .product-row,
  .philosophy-ledger article {
    grid-template-columns: 1fr;
  }

  .site-footer {
    display: grid;
  }
}

@media (min-width: 1600px) {
  :root { --container: 1560px; }

  .site-header,
  .site-footer,
  .hero,
  .section,
  .page-hero,
  .early-banner,
  .philosophy-hero {
    width: min(var(--container), calc(100% - 96px));
  }

  .hero {
    grid-template-columns: minmax(0, 1.15fr) 520px;
    gap: 96px;
  }

  .hero h1,
  .page-hero h1,
  .philosophy-hero h1 {
    max-width: 1080px;
  }

  .hero p,
  .page-hero p,
  .philosophy-hero p {
    max-width: 820px;
  }

  .fabric-grid,
  .launch-grid,
  .proof-grid,
  .services-grid,
  .products-grid {
    grid-template-columns: repeat(4, minmax(0, 1fr));
  }

  .account-shell {
    width: min(1480px, calc(100% - 96px));
    grid-template-columns: minmax(0, 1.2fr) minmax(420px, 520px);
  }
}

@media (min-width: 2200px) {
  :root { --container: 1840px; }

  .site-header,
  .site-footer,
  .hero,
  .section,
  .page-hero,
  .early-banner,
  .philosophy-hero {
    width: min(var(--container), calc(100% - 128px));
  }

  .hero {
    grid-template-columns: minmax(0, 1.25fr) 600px;
    gap: 128px;
  }

  .fabric-grid,
  .launch-grid,
  .proof-grid,
  .services-grid,
  .products-grid {
    grid-template-columns: repeat(5, minmax(0, 1fr));
  }
}

/* Corporate shell: quiet navigation, shared by the existing public routes. */
[hidden] { display: none !important; }
:focus-visible { outline: 2px solid var(--brand); outline-offset: 5px; }
html { scroll-behavior: smooth; scroll-padding-top: 100px; }
.skip-link { position: fixed; top: -100px; left: 20px; z-index: 200; background: var(--text); color: var(--bg); padding: 14px; }
.skip-link:focus { top: 12px; }
.site-header {
  position: sticky; top: 0; z-index: 50; min-height: 78px;
  background: rgba(8, 11, 15, .94); backdrop-filter: blur(16px);
}
.brand { min-width: 160px; }
.brand img { width: 34px; height: 34px; filter: none; }
.brand strong { font-size: 1rem; font-weight: 650; letter-spacing: .02em; }
.brand small { font-size: .7rem; margin-top: 3px; }
.site-nav { gap: 12px; }
.site-nav a { font-size: .8rem; font-weight: 500; padding: 12px 8px; }
.site-nav .nav-lyre { border: 1px solid var(--line-strong); border-radius: 3px; color: var(--text); padding-inline: 18px; margin-left: 12px; }
.nav-lyre span { margin-left: 14px; color: var(--brand); }
.site-footer { display: grid; grid-template-columns: 1fr 1fr; padding-block: 56px 28px; gap: 32px 80px; }
.site-footer img { width: 125px; opacity: .8; }
.site-footer p { font-size: .85rem; }
.site-footer nav { column-gap: 24px; row-gap: 12px; }
.site-footer nav a { font-size: .78rem; font-weight: 450; }
.site-footer a:hover { color: var(--text); }
.footer-copyright { grid-column: 1 / -1; color: var(--muted); font-size: .7rem; padding-top: 24px; }

/* Homepage: two major moments, connected by a short company thesis. */
.home-page { background: #0c1013; --brand: #8ed8c0; --muted: #a4b3b7; --line: #2b353a; --line-strong: #516661; }
.home-page .site-header { background: rgba(12, 16, 19, .94); }
.home-width { width: min(1180px, calc(100% - 80px)); margin-inline: auto; }
.company-hero { min-height: calc(100svh - 78px); display: flex; flex-direction: column; justify-content: center; position: relative; padding-block: 88px 130px; }
.home-label { text-transform: uppercase; font-size: .68rem; font-weight: 600; letter-spacing: .16em; color: var(--brand); margin: 0 0 28px; }
.company-hero h1 { font-size: clamp(3.3rem, 6.7vw, 6.6rem); font-weight: 450; letter-spacing: -.06em; line-height: 1.04; max-width: 16ch; text-wrap: balance; }
.company-hero h1 span { color: var(--brand); }
.company-lede { max-width: 570px; font-size: clamp(1rem, 1.35vw, 1.15rem); line-height: 1.8; margin: 36px 0 0; }
.hero-descent { position: absolute; bottom: 34px; left: 0; right: 0; display: flex; justify-content: space-between; border-top: 1px solid var(--line); padding-top: 22px; font-size: .78rem; color: var(--muted); }
.hero-descent span:last-child { color: var(--brand); font-size: 1.25rem; }
.company-thesis { padding-block: 76px 100px; display: grid; grid-template-columns: 1fr 1fr; gap: 110px; }
.company-thesis p { margin: 0; font-size: .96rem; }
.company-thesis p:first-child { color: var(--text); font-size: 1.35rem; line-height: 1.6; max-width: 400px; }
.lyre-presentation { min-height: 100svh; border-top: 1px solid var(--line); padding-block: 80px 88px; background: #11171b; }
.lyre-intro { display: grid; grid-template-columns: 1.3fr 1fr; gap: 0 100px; align-items: end; margin-bottom: 42px; }
.lyre-intro .home-label { grid-column: 1 / -1; margin-bottom: 20px; }
.lyre-intro h2 { font-size: clamp(2rem, 3.3vw, 3.3rem); font-weight: 450; letter-spacing: -.04em; line-height: 1.13; max-width: 19ch; text-wrap: balance; }
.lyre-intro > p:last-child { font-size: .98rem; line-height: 1.8; margin: 0; max-width: 370px; }
.lyre-instrument { display: grid; grid-template-columns: 1fr 1.15fr; border: 1px solid #3a494e; background: #151d21; border-radius: 4px; box-shadow: 0 16px 48px #0002; overflow: hidden; }
.instrument-heading { grid-column: 1 / -1; display: flex; justify-content: space-between; padding: 17px 26px; border-bottom: 1px solid var(--line); font-size: .73rem; }
.instrument-heading span:first-child { color: var(--text); font-weight: 600; }
.instrument-heading span:last-child { color: var(--muted); }
.instrument-controls { padding: 26px; min-width: 0; }
.capability-choices { margin: 0; padding: 0; border: 0; display: grid; gap: 8px; min-width: 0; }
.capability-choices legend { font-size: .7rem; color: var(--muted); margin-bottom: 16px; }
.capability-choice { display: grid; grid-template-columns: 24px 1fr 16px; gap: 12px; align-items: center; padding: 16px; border: 1px solid transparent; border-radius: 2px; position: relative; cursor: pointer; }
.capability-choice:hover { background: #ffffff03; border-color: var(--line); }
.capability-choice:has(input:checked) { border-color: #71958a; background: #8ed8c008; }
.capability-choice:has(input:focus-visible) { outline: 2px solid var(--brand); outline-offset: 2px; }
.capability-choice:has(input:disabled) { opacity: .5; cursor: not-allowed; }
.capability-choice input { position: absolute; width: 1px; height: 1px; opacity: 0; }
.choice-index { font-size: .65rem; color: var(--muted); font-variant-numeric: tabular-nums; }
.capability-choice strong { display: block; font-size: .9rem; font-weight: 500; }
.capability-choice small { display: block; font-size: .73rem; line-height: 1.6; color: var(--muted); margin-top: 4px; }
.choice-mark { color: var(--brand); visibility: hidden; }
.capability-choice:has(input:checked) .choice-mark { visibility: visible; }
.home-page .button { font-size: .8rem; font-weight: 600; border-radius: 3px; gap: 24px; min-height: 48px; }
.home-page .button:hover:not(:disabled) { filter: brightness(1.08); }
.run-button { width: 100%; margin-top: 24px; cursor: pointer; font: inherit; }
.run-button:disabled { cursor: not-allowed; background: #293b35; border-color: #43564e; color: #b2bdb9; }
.demo-input { margin-top: 20px; }
.demo-input label { display: block; font-size: .8rem; margin-bottom: 8px; }
.demo-input textarea { width: 100%; resize: vertical; min-height: 80px; max-height: 240px; border: 1px solid var(--line-strong); border-radius: 2px; padding: 12px; background: #0c1316; color: var(--text); font: inherit; font-size: .9rem; }
.demo-input small { display: block; margin-top: 7px; color: var(--muted); font-size: .7rem; line-height: 1.6; }
.input-error { color: #f0b5a7; font-size: .8rem; }
.instrument-output { min-width: 0; padding: 27px 32px; border-left: 1px solid var(--line); display: flex; flex-direction: column; background: #10171a; }
.output-heading { display: flex; justify-content: space-between; gap: 12px; }
.output-heading .home-label { margin: 0; font-size: .64rem; color: var(--muted); }
.request-state { font-size: .66rem; color: var(--muted); }
.result-stage { flex: 1; display: flex; flex-direction: column; justify-content: center; padding-block: 32px; min-height: 205px; }
.result-value { margin: 0; font-size: clamp(1.5rem, 2.2vw, 2.2rem); font-weight: 450; color: var(--text); letter-spacing: -.03em; line-height: 1.35; overflow-wrap: anywhere; }
.result-note { font-size: .76rem; margin: 16px 0 0; }
[data-state="success"] .result-value { color: var(--brand); font-variant-numeric: tabular-nums; }
[data-state="running"] .request-state::before { content: ''; display: inline-block; width: 6px; height: 6px; margin-right: 8px; background: var(--brand); border-radius: 50%; animation: request-pulse 1.3s ease-in-out infinite; }
[data-state="error"] .result-value { font-size: 1.35rem; }
.demo-connection { margin: 20px 0 0; font-size: .69rem; line-height: 1.6; }
.retry-discovery { align-self: flex-start; border: 0; padding: 10px 0; background: none; color: var(--brand); font: inherit; font-size: .75rem; cursor: pointer; min-height: 44px; }
.request-details { border-top: 1px solid var(--line); padding-top: 12px; font-size: .7rem; }
.request-details summary { cursor: pointer; min-height: 30px; padding-block: 5px; color: var(--muted); }
.request-details dl { display: grid; grid-template-columns: 110px minmax(0, 1fr); gap: 10px; line-height: 1.6; }
.request-details dt { color: var(--muted); }
.request-details dd { margin: 0; overflow-wrap: anywhere; }
.instrument-foot { grid-column: 1 / -1; display: flex; justify-content: space-between; gap: 16px; padding: 16px 26px; border-top: 1px solid var(--line); font-size: .68rem; color: var(--muted); }
.instrument-foot a { color: var(--text); }
.instrument-foot a span { margin-left: 8px; color: var(--brand); }
.lyre-next { margin-top: 30px; display: flex; gap: 32px; align-items: center; flex-wrap: wrap; }
.quiet-link { font-size: .77rem; color: var(--muted); padding-block: 12px; }
.quiet-link span { margin-left: 10px; }
@keyframes request-pulse { 50% { opacity: .3; } }
@media (max-width: 900px) {
  .site-header { flex-wrap: wrap; min-height: 72px; padding-block: 14px; }
  .js .nav-toggle { display: block; margin-left: auto; width: auto; height: 42px; padding: 0 14px; color: var(--text); border: 1px solid var(--line); border-radius: 3px; background: transparent; font: inherit; font-size: .8rem; }
  .site-nav { position: static; transform: none; transition: none; width: 100%; display: flex; flex-wrap: wrap; margin: 0; padding: 12px 0 0; gap: 6px; border: 0; background: none; box-shadow: none; }
  .site-nav a { width: auto; border: 0; background: none; min-height: 44px; }
  .site-nav .nav-lyre { margin-left: 0; }
  .home-width { width: calc(100% - 48px); }
  .company-hero { min-height: calc(100svh - 72px); }
  .company-thesis { gap: 48px; }
  .lyre-intro { gap: 0 36px; }
  .instrument-controls { padding: 20px; }
  .instrument-output { padding: 22px; }
  .capability-choice { padding: 13px 10px; gap: 8px; }
}
@media (max-width: 620px) {
  html { scroll-padding-top: 90px; }
  .home-width { width: calc(100% - 40px); }
  .company-hero { padding-block: 70px 130px; }
  .company-hero h1 { font-size: clamp(2.7rem, 10.6vw, 4rem); max-width: 16ch; }
  .company-lede { font-size: 1rem; margin-top: 28px; }
  .company-thesis { grid-template-columns: 1fr; gap: 22px; padding-block: 48px 64px; }
  .company-thesis p:first-child { font-size: 1.2rem; }
  .lyre-presentation { padding-block: 56px; }
  .lyre-intro { grid-template-columns: 1fr; gap: 22px; margin-bottom: 30px; }
  .lyre-intro .home-label { margin: 0; }
  .lyre-intro h2 { max-width: 20ch; }
  .lyre-instrument { grid-template-columns: minmax(0, 1fr); }
  .instrument-heading { padding: 16px; font-size: .65rem; gap: 8px; }
  .instrument-controls { padding: 20px 16px; }
  .capability-choice { padding: 14px 12px; }
  .instrument-output { border-left: 0; border-top: 1px solid var(--line); padding: 22px; }
  .result-stage { min-height: 190px; }
  .result-value { font-size: 1.65rem; }
  .instrument-foot { padding: 16px; flex-wrap: wrap; }
  .lyre-next { gap: 10px; align-items: stretch; flex-direction: column; }
  .quiet-link { text-align: center; }
  .site-footer { grid-template-columns: 1fr; gap: 24px; padding-top: 40px; }
}
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation: none !important; transition: none !important; }
}
