:root {
  color-scheme: dark;
  --bg: #030609;
  --panel: #0d1116;
  --panel-2: #11161b;
  --line: rgba(255, 255, 255, .11);
  --line-strong: rgba(255, 255, 255, .18);
  --text: #f7f4ef;
  --muted: #93a2b7;
  --blue: #aed2ff;
  --gold: #f5a400;
  --gold-2: #ffc21a;
  --green: #36d399;
  --radius: 24px;
  --serif: 'Instrument Serif', Georgia, serif;
  --sans: Inter, ui-sans-serif, system-ui, -apple-system, Segoe UI, sans-serif;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  min-height: 100vh;
  background: var(--bg);
  color: var(--text);
  font-family: var(--sans);
  overflow-x: hidden;
}

body::before {
  content: '';
  position: fixed;
  inset: 0;
  pointer-events: none;
  background: radial-gradient(circle at 50% 0, rgba(245, 164, 0, .08), transparent 30%), linear-gradient(180deg, rgba(255, 255, 255, .025), transparent 28%);
}

a {
  color: inherit;
  text-decoration: none;
}

button,
input {
  font: inherit;
}

.topbar {
  position: sticky;
  top: 0;
  z-index: 20;
  height: 92px;
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  align-items: center;
  padding: 0 clamp(22px, 9vw, 185px);
  background: rgba(3, 6, 9, .82);
  backdrop-filter: blur(20px);
  border-bottom: 1px solid rgba(255, 255, 255, .06);
}

.brand,
.nav,
.ask-pill {
  display: flex;
  align-items: center;
}

.brand {
  gap: 13px;
  justify-self: start;
}

.brand-mark {
  display: grid;
  place-items: center;
  width: 46px;
  height: 46px;
  border-radius: 15px;
  color: var(--gold-2);
  background: rgba(245, 164, 0, .13);
  border: 1px solid rgba(245, 164, 0, .45);
  font-size: 1.35rem;
}

.brand-name {
  font: 1.55rem/1 var(--serif);
}

.brand-kicker,
.eyebrow,
.model-pill,
.card-index {
  color: var(--gold);
  text-transform: uppercase;
  letter-spacing: .35em;
  font-weight: 800;
  font-size: .78rem;
}

.nav {
  gap: 12px;
  padding: 4px;
  border-radius: 999px;
}

.nav a {
  color: #c9d1dd;
  padding: 14px 22px;
  border-radius: 999px;
  font-weight: 700;
}

.nav a.active,
.nav a:hover {
  color: var(--gold-2);
  background: rgba(245, 164, 0, .12);
  box-shadow: inset 0 0 0 1px rgba(245, 164, 0, .32);
}

.ask-pill {
  justify-self: end;
  gap: 10px;
  background: var(--gold);
  color: #070707;
  border-radius: 999px;
  padding: 16px 28px;
  font-weight: 800;
}

.section-shell {
  width: min(1235px, calc(100% - 36px));
  margin: 0 auto;
}

.hero {
  min-height: 760px;
  display: grid;
  justify-items: center;
  align-content: center;
  text-align: center;
  padding: 88px 0 64px;
}

.model-pill {
  border: 1px solid rgba(245, 164, 0, .42);
  background: rgba(245, 164, 0, .08);
  border-radius: 999px;
  padding: 12px 23px;
  margin-bottom: 46px;
}

h1,
h2,
h3 {
  margin: 0;
  font-family: var(--serif);
  font-weight: 500;
  letter-spacing: -.035em;
}

h1 {
  font-size: clamp(4.4rem, 7.6vw, 7.9rem);
  line-height: .82;
  max-width: 950px;
}

h1 em {
  color: var(--gold-2);
}

.hero-copy {
  max-width: 870px;
  color: var(--blue);
  font-size: clamp(1.15rem, 1.8vw, 1.46rem);
  line-height: 1.55;
  margin: 34px 0 0;
}

.hero-actions {
  display: flex;
  gap: 15px;
  margin-top: 52px;
  flex-wrap: wrap;
  justify-content: center;
}

.primary-btn,
.secondary-btn,
.ghost-btn {
  min-height: 58px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: 999px;
  font-weight: 800;
}

.primary-btn {
  gap: 18px;
  background: var(--gold);
  color: #050505;
  padding: 0 31px;
}

.secondary-btn,
.ghost-btn {
  color: #f7f7f7;
  background: rgba(255, 255, 255, .055);
  border: 1px solid var(--line-strong);
  padding: 0 30px;
}

.stats {
  display: flex;
  gap: 0;
  margin-top: 82px;
}

.stats div {
  min-width: 130px;
  padding: 0 38px;
  border-right: 1px solid var(--line);
}

.stats div:last-child {
  border-right: 0;
}

.stats strong {
  display: block;
  font: 2rem/1 var(--serif);
}

.stats span {
  color: #80a4d3;
  letter-spacing: .3em;
  text-transform: uppercase;
  font-size: .76rem;
}

.capabilities,
.library,
.consult {
  padding: 74px 0;
}

.section-heading {
  margin-bottom: 40px;
}

.split {
  display: grid;
  grid-template-columns: 1.2fr .8fr;
  gap: 40px;
  align-items: end;
}

.section-heading h2 {
  font-size: clamp(2.7rem, 4vw, 4.25rem);
  margin-top: 14px;
}

.section-heading p:not(.eyebrow),
.subline {
  color: var(--blue);
  line-height: 1.6;
  margin: 0;
}

.feature-grid {
  display: grid;
  grid-template-columns: repeat(6, 1fr);
  gap: 20px;
}

.feature-card {
  min-height: 240px;
  position: relative;
  overflow: hidden;
  border-radius: var(--radius);
  border: 1px solid var(--line-strong);
  background: linear-gradient(145deg, rgba(255, 255, 255, .055), rgba(255, 255, 255, .022));
  padding: 30px;
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, .06);
}

.feature-wide {
  grid-column: span 4;
  min-height: 320px;
}

.book-card {
  grid-column: span 2;
  background: linear-gradient(135deg, rgba(10, 13, 18, .75), rgba(10, 13, 18, .2)), radial-gradient(circle at 80% 0, rgba(255, 255, 255, .16), transparent 45%);
}

.compact-card,
.statue-card {
  grid-column: span 2;
}

.warm-card {
  background: radial-gradient(circle at 100% 0, rgba(245, 164, 0, .16), transparent 45%), linear-gradient(145deg, rgba(255, 255, 255, .06), rgba(255, 255, 255, .025));
}

.statue-card {
  display: flex;
  flex-direction: column;
  justify-content: end;
  background: linear-gradient(90deg, rgba(5, 7, 10, .8), rgba(5, 7, 10, .38)), radial-gradient(circle at 55% 20%, rgba(255, 255, 255, .2), transparent 24%);
}

.icon-box {
  display: grid;
  place-items: center;
  width: 44px;
  height: 44px;
  border-radius: 12px;
  margin-bottom: 34px;
  border: 1px solid currentColor;
}

.amber,
.feature-card a {
  color: var(--gold-2);
}

.blue {
  color: #7db5ff;
}

.green {
  color: var(--green);
}

.card-index {
  position: absolute;
  right: 28px;
  top: 34px;
}

.feature-card h3 {
  font-size: 2.05rem;
  margin: 38px 0 14px;
}

.compact-card h3,
.statue-card h3,
.book-card h3 {
  font-size: 1.75rem;
}

.feature-card p {
  color: var(--muted);
  line-height: 1.65;
  max-width: 560px;
}

.feature-card a {
  display: inline-block;
  margin-top: 14px;
  font-weight: 800;
}

.match-count {
  justify-self: end;
  color: #dce9ff;
}

.match-count strong {
  color: var(--text);
  margin: 0 6px;
}

.search-panel {
  padding: 16px;
  border-radius: var(--radius);
  border: 1px solid var(--line-strong);
  background: rgba(255, 255, 255, .045);
}

.search-box {
  min-height: 46px;
  display: flex;
  align-items: center;
  gap: 14px;
  border: 1px solid var(--line-strong);
  border-radius: 12px;
  background: #05070a;
  padding: 0 18px;
  color: var(--muted);
}

.search-box input {
  width: 100%;
  border: 0;
  outline: 0;
  color: var(--text);
  background: transparent;
}

.part-filters {
  display: flex;
  gap: 10px;
  flex-wrap: wrap;
  margin: 24px 0 34px;
}

.part-chip {
  border: 1px solid var(--line);
  color: #d9e8ff;
  background: rgba(255, 255, 255, .035);
  border-radius: 999px;
  padding: 10px 16px;
  cursor: pointer;
  font-weight: 800;
}

.part-chip span {
  color: #7890ad;
  font-weight: 600;
}

.part-chip.active {
  color: var(--gold-2);
  border-color: rgba(245, 164, 0, .55);
  background: rgba(245, 164, 0, .1);
}

.article-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
}

.article-card {
  min-height: 245px;
  border-radius: 17px;
  border: 1px solid var(--line-strong);
  background: var(--panel);
  padding: 28px 24px;
}

.article-top {
  display: flex;
  justify-content: space-between;
  align-items: center;
  color: var(--gold);
  text-transform: uppercase;
  letter-spacing: .28em;
  font-weight: 800;
  font-size: .78rem;
}

.article-top a {
  color: #8ba0bc;
  font-size: 1.1rem;
  letter-spacing: 0;
}

.article-card strong {
  display: block;
  color: var(--gold-2);
  font: 2.2rem/1 var(--serif);
  margin: 24px 0 18px;
}

.article-card h3 {
  font-size: 1.28rem;
  line-height: 1.2;
}

.article-card p {
  color: var(--muted);
  line-height: 1.55;
  font-size: .95rem;
}

.empty-results {
  color: var(--muted);
  grid-column: 1/-1;
}

.consult {
  border-top: 1px solid rgba(255, 255, 255, .08);
}

.consult.section-shell {
  width: min(1105px, calc(100% - 36px));
}

.consult-heading {
  align-items: center;
}

.ghost-btn {
  justify-self: end;
  min-height: 44px;
  cursor: pointer;
}

.chat-shell {
  border: 1px solid var(--line-strong);
  border-radius: 16px;
  background: #0e1216;
  overflow: hidden;
}

.chat-window {
  min-height: 488px;
  display: grid;
  place-items: center;
  padding: 42px;
}

.empty-state {
  max-width: 675px;
  text-align: center;
}

.spark {
  display: inline-grid;
  place-items: center;
  color: var(--gold-2);
  width: 56px;
  height: 32px;
  border-radius: 999px;
  border: 1px solid rgba(245, 164, 0, .52);
  background: rgba(245, 164, 0, .09);
}

.empty-state h3 {
  font-size: 2rem;
  margin-top: 28px;
}

.empty-state p {
  color: var(--muted);
  line-height: 1.6;
}

.prompt-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 12px;
  margin-top: 32px;
}

.prompt {
  text-align: left;
  color: #d3d9e3;
  border: 1px solid var(--line-strong);
  background: rgba(255, 255, 255, .035);
  border-radius: 11px;
  padding: 18px;
  min-height: 74px;
  cursor: pointer;
  font-weight: 700;
}

.composer {
  display: grid;
  grid-template-columns: 1fr 56px;
  gap: 12px;
  padding: 20px;
  border-top: 1px solid var(--line);
}

.composer input {
  min-height: 60px;
  border-radius: 18px;
  border: 1px solid var(--line-strong);
  background: #05070a;
  color: var(--text);
  outline: 0;
  padding: 0 20px;
}

.composer button {
  border: 0;
  border-radius: 999px;
  background: #a87305;
  color: #080808;
  font-size: 1.2rem;
  cursor: pointer;
}

.fineprint {
  color: #6d7f99;
  font-size: .78rem;
  padding: 0 24px 22px;
  margin: 0;
}

.message {
  width: 100%;
  max-width: 760px;
  display: grid;
  gap: 18px;
}

.question-bubble {
  justify-self: end;
  max-width: 78%;
  background: rgba(245, 164, 0, .15);
  border: 1px solid rgba(245, 164, 0, .34);
  border-radius: 18px 18px 4px 18px;
  padding: 14px 18px;
}

.answer-card {
  background: rgba(255, 255, 255, .045);
  border: 1px solid var(--line-strong);
  border-radius: 18px;
  padding: 22px;
}

.answer-card span {
  color: var(--gold);
  text-transform: uppercase;
  letter-spacing: .2em;
  font-size: .75rem;
  font-weight: 900;
}

.answer-card p {
  color: #d6e2f2;
  line-height: 1.65;
}

.answer-card ul {
  display: grid;
  gap: 8px;
  padding: 0;
  margin: 18px 0 0;
  list-style: none;
}

.answer-card li {
  color: var(--gold-2);
  font-weight: 800;
}

.answer-card li span {
  display: block;
  color: var(--muted);
  text-transform: none;
  letter-spacing: 0;
  font-size: .88rem;
  font-weight: 600;
}

.answer-body {
  color: #d6e2f2;
  line-height: 1.7;
}

.cursor-blink {
  animation: blink 1s steps(1) infinite;
  color: var(--gold-2);
  font-weight: 300;
}

@keyframes blink {

  0%,
  100% {
    opacity: 1;
  }

  50% {
    opacity: 0;
  }
}

.answer-body p {
  margin: 0 0 10px;
}

.answer-body p:last-child {
  margin-bottom: 0;
}

.answer-body strong {
  color: var(--text);
}

.answer-body ol {
  margin: 10px 0 14px 18px;
  padding: 0;
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.answer-body li {
  color: #d6e2f2;
}

.related-list {
  display: grid;
  gap: 8px;
  padding: 0;
  margin: 18px 0 0;
  list-style: none;
  border-top: 1px solid var(--line);
  padding-top: 16px;
}

.related-list li {
  color: var(--gold-2);
  font-weight: 800;
}

.related-list li span {
  display: block;
  color: var(--muted);
  text-transform: none;
  letter-spacing: 0;
  font-size: .88rem;
  font-weight: 600;
}

@media (max-width: 960px) {
  .topbar {
    grid-template-columns: 1fr;
    height: auto;
    gap: 14px;
    padding: 18px;
  }

  .brand,
  .ask-pill {
    justify-self: center;
  }

  .nav {
    order: 3;
    overflow-x: auto;
    max-width: 100%;
  }

  .split,
  .article-grid {
    grid-template-columns: 1fr;
  }

  .feature-wide,
  .book-card,
  .compact-card,
  .statue-card {
    grid-column: 1 / -1;
  }

  .hero {
    min-height: auto;
  }

  .stats {
    flex-wrap: wrap;
    justify-content: center;
  }

  .prompt-grid {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 620px) {
  h1 {
    font-size: 4rem;
  }

  .hero-copy {
    font-size: 1rem;
  }

  .topbar {
    position: relative;
  }

  .stats div {
    min-width: 95px;
    padding: 0 16px;
  }

  .composer {
    grid-template-columns: 1fr;
  }
}