:root {
  color-scheme: light;
  --ink: #171a27;
  --ink-soft: #30364a;
  --navy: #1f293e;
  --muted: #6f7484;
  --muted-light: #989ba7;
  --line: #e7e8ee;
  --line-strong: #d9dbe4;
  --surface: #f7f7fa;
  --surface-soft: #fbfbfd;
  --white: #ffffff;
  --purple: #8179dd;
  --purple-strong: #685ecb;
  --purple-soft: #efedff;
  --green: #1a9b68;
  --shadow-sm: 0 10px 30px rgba(25, 29, 45, 0.06);
  --shadow-lg: 0 34px 80px rgba(25, 29, 45, 0.12);
  --radius-sm: 8px;
  --radius-md: 12px;
  --shell: 1180px;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
  scroll-padding-top: 88px;
}

body {
  margin: 0;
  min-width: 320px;
  overflow-x: hidden;
  background: var(--white);
  color: var(--ink);
  font-family:
    Inter,
    ui-sans-serif,
    -apple-system,
    BlinkMacSystemFont,
    "Segoe UI",
    "PingFang SC",
    "Hiragino Sans GB",
    "Microsoft YaHei",
    sans-serif;
  font-size: 16px;
  line-height: 1.6;
  text-rendering: optimizeLegibility;
  -webkit-font-smoothing: antialiased;
}

button,
a {
  font: inherit;
}

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

button {
  color: inherit;
}

img,
svg {
  display: block;
}

.shell {
  width: min(calc(100% - 48px), var(--shell));
  margin-inline: auto;
}

.skip-link {
  position: fixed;
  top: 10px;
  left: 10px;
  z-index: 100;
  padding: 10px 14px;
  border-radius: var(--radius-sm);
  background: var(--ink);
  color: var(--white);
  transform: translateY(-160%);
  transition: transform 160ms ease;
}

.skip-link:focus {
  transform: translateY(0);
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 40;
  border-bottom: 1px solid rgba(231, 232, 238, 0.8);
  background: rgba(255, 255, 255, 0.92);
  backdrop-filter: blur(18px);
}

.site-header__inner {
  min-height: 72px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 28px;
}

.brand {
  width: 136px;
  flex: 0 0 auto;
}

.brand img {
  width: 100%;
  height: auto;
}

.site-nav {
  display: flex;
  align-items: center;
  gap: 30px;
}

.site-nav > a {
  color: var(--ink-soft);
  font-size: 14px;
  font-weight: 560;
  transition:
    color 160ms ease,
    opacity 160ms ease;
}

.site-nav > a:hover {
  color: var(--purple-strong);
}

.language-switch {
  display: inline-flex;
  align-items: center;
  height: 34px;
  padding: 3px;
  border: 1px solid var(--line);
  border-radius: 9px;
  background: var(--surface-soft);
}

.language-switch__button {
  min-width: 45px;
  height: 26px;
  padding: 0 8px;
  border: 0;
  border-radius: 6px;
  background: transparent;
  color: var(--muted);
  font-size: 12px;
  font-weight: 650;
  cursor: pointer;
  transition:
    color 160ms ease,
    background 160ms ease,
    box-shadow 160ms ease;
}

.language-switch__button.is-active {
  background: var(--white);
  color: var(--ink);
  box-shadow: 0 1px 4px rgba(25, 29, 45, 0.08);
}

.language-switch__divider {
  width: 1px;
  height: 14px;
  background: var(--line-strong);
}

.hero {
  position: relative;
  overflow: hidden;
  padding: 92px 0 44px;
}

.hero::before {
  content: "";
  position: absolute;
  inset: 0 0 auto;
  height: 560px;
  background:
    linear-gradient(180deg, rgba(248, 247, 255, 0.82), rgba(255, 255, 255, 0)),
    radial-gradient(circle at 50% 8%, rgba(129, 121, 221, 0.1), transparent 42%);
  pointer-events: none;
}

.hero__content {
  position: relative;
  z-index: 1;
  max-width: 960px;
  text-align: center;
}

.section-heading__eyebrow {
  margin: 0 0 14px;
  color: var(--purple-strong);
  font-size: 12px;
  font-weight: 760;
  letter-spacing: 0;
  text-transform: none;
}

.hero h1 {
  margin: 0;
  color: var(--navy);
  font-size: 76px;
  font-weight: 760;
  letter-spacing: 0;
  line-height: 1.02;
}

.hero__tagline {
  margin: 22px 0 0;
  color: var(--ink);
  font-size: 27px;
  font-weight: 620;
  letter-spacing: 0;
  line-height: 1.3;
}

.hero__description {
  max-width: 920px;
  margin: 16px auto 0;
  color: var(--muted);
  font-size: 16px;
  white-space: nowrap;
}

.hero__actions {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 12px;
  margin-top: 34px;
}

.button {
  min-height: 50px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 9px;
  padding: 0 22px;
  border: 1px solid transparent;
  border-radius: 10px;
  font-size: 14px;
  font-weight: 680;
  white-space: nowrap;
  transition:
    transform 160ms ease,
    box-shadow 160ms ease,
    border-color 160ms ease,
    background 160ms ease;
}

.button svg {
  width: 17px;
  height: 17px;
  stroke-width: 2;
}

.button:hover {
  transform: translateY(-1px);
}

.button--primary {
  min-width: 206px;
  background: var(--navy);
  color: var(--white);
  box-shadow: 0 12px 24px rgba(31, 41, 62, 0.16);
}

.button--primary:hover {
  background: #151d2f;
  box-shadow: 0 15px 28px rgba(31, 41, 62, 0.2);
}

.button--secondary {
  border-color: var(--line-strong);
  background: var(--white);
  color: var(--ink);
}

.button--secondary:hover {
  border-color: #c7c9d4;
  box-shadow: var(--shadow-sm);
}

.button__badge {
  margin-left: 3px;
  padding: 3px 7px;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.14);
  color: rgba(255, 255, 255, 0.88);
  font-size: 10px;
  font-weight: 700;
}

.product-preview {
  position: relative;
  z-index: 2;
  margin-top: 66px;
}

.app-window {
  overflow: hidden;
  border: 1px solid var(--line-strong);
  border-radius: var(--radius-md);
  background: var(--white);
  box-shadow: var(--shadow-lg);
}

.app-window__bar {
  height: 44px;
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  align-items: center;
  padding: 0 16px;
  border-bottom: 1px solid var(--line);
  background: #fafafd;
}

.window-controls {
  display: flex;
  gap: 7px;
}

.window-controls span {
  width: 9px;
  height: 9px;
  border-radius: 50%;
  background: #d8d9e0;
}

.window-controls span:first-child {
  background: #c9c4e8;
}

.app-window__title {
  color: #7f8290;
  font-size: 11px;
  font-weight: 620;
}

.window-status {
  display: flex;
  justify-content: flex-end;
  color: var(--green);
}

.window-status svg {
  width: 15px;
  height: 15px;
}

.app-window__body {
  min-height: 565px;
  display: grid;
  grid-template-columns: 186px minmax(0, 1fr) 208px;
  background: #fbfbfd;
}

.app-sidebar {
  display: flex;
  flex-direction: column;
  padding: 18px 13px 14px;
  border-right: 1px solid var(--line);
  background: #f7f7fa;
}

.app-sidebar__brand {
  display: flex;
  align-items: center;
  gap: 9px;
  padding: 0 7px 18px;
  color: var(--navy);
  font-size: 13px;
}

.app-logo-mark {
  width: 25px;
  height: 25px;
  display: inline-grid;
  place-items: center;
  border-radius: 7px;
  background: var(--navy);
  color: var(--white);
  font-size: 11px;
  font-weight: 760;
}

.app-sidebar__action {
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 10px;
  border: 1px solid var(--line-strong);
  border-radius: 8px;
  background: var(--white);
  color: var(--ink-soft);
  font-size: 11px;
  font-weight: 620;
}

.app-sidebar__action svg,
.app-sidebar__footer svg {
  width: 14px;
  height: 14px;
}

.app-sidebar__label,
.app-trace__label {
  margin: 22px 8px 8px;
  color: var(--muted-light);
  font-size: 10px;
  font-weight: 730;
  letter-spacing: 0;
  text-transform: uppercase;
}

.app-history {
  display: grid;
  gap: 4px;
}

.app-history__item {
  overflow: hidden;
  padding: 8px 9px;
  border-radius: 7px;
  color: var(--muted);
  font-size: 11px;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.app-history__item.is-active {
  background: var(--white);
  color: var(--ink-soft);
  box-shadow: 0 1px 3px rgba(25, 29, 45, 0.05);
}

.app-sidebar__footer {
  display: flex;
  align-items: center;
  gap: 8px;
  margin-top: auto;
  padding: 9px;
  color: var(--muted);
  font-size: 11px;
}

.app-main {
  min-width: 0;
  display: flex;
  flex-direction: column;
  padding: 25px 28px 24px;
  background: var(--white);
}

.app-main__header {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 18px;
  padding-bottom: 20px;
  border-bottom: 1px solid #efeff3;
}

.app-main__kicker {
  margin: 0 0 4px;
  color: var(--muted-light);
  font-size: 10px;
  font-weight: 720;
  letter-spacing: 0;
  text-transform: uppercase;
}

.app-main__header h2 {
  margin: 0;
  color: var(--navy);
  font-size: 18px;
  font-weight: 690;
  letter-spacing: 0;
}

.app-main__status {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  margin-top: 4px;
  color: var(--muted);
  font-size: 10px;
  white-space: nowrap;
}

.status-dot {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--green);
  box-shadow: 0 0 0 3px rgba(26, 155, 104, 0.1);
}

.query-message {
  display: flex;
  gap: 11px;
  padding: 22px 0 17px;
}

.query-message__avatar {
  width: 28px;
  height: 28px;
  flex: 0 0 auto;
  display: grid;
  place-items: center;
  border-radius: 8px;
  background: var(--purple-soft);
  color: var(--purple-strong);
  font-size: 11px;
  font-weight: 760;
}

.query-message p {
  margin: 0;
}

.query-message__name {
  color: var(--ink);
  font-size: 11px;
  font-weight: 700;
}

.query-message p:last-child {
  max-width: 520px;
  margin-top: 3px;
  color: var(--ink-soft);
  font-size: 13px;
  line-height: 1.6;
}

.answer-card {
  padding: 18px;
  border: 1px solid var(--line);
  border-radius: 10px;
  background: #fbfbfd;
}

.answer-card__head {
  display: flex;
  align-items: center;
  gap: 10px;
}

.answer-card__icon {
  width: 30px;
  height: 30px;
  display: grid;
  place-items: center;
  border-radius: 8px;
  background: var(--white);
  color: var(--purple-strong);
  box-shadow: 0 2px 7px rgba(25, 29, 45, 0.07);
}

.answer-card__icon svg {
  width: 15px;
  height: 15px;
}

.answer-card__title,
.answer-card__subtitle {
  margin: 0;
}

.answer-card__title {
  color: var(--ink);
  font-size: 12px;
  font-weight: 710;
}

.answer-card__subtitle {
  margin-top: 1px;
  color: var(--muted-light);
  font-size: 10px;
}

.answer-lines {
  display: grid;
  gap: 9px;
  margin-top: 20px;
}

.answer-lines span {
  width: 82%;
  height: 7px;
  border-radius: 99px;
  background: #e9e9ef;
}

.answer-lines__long {
  width: 96% !important;
}

.answer-lines__medium {
  width: 61% !important;
}

.source-row {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
  margin-top: 19px;
}

.source-row span {
  padding: 4px 7px;
  border: 1px solid #e5e4ee;
  border-radius: 6px;
  background: var(--white);
  color: #77798a;
  font-family: "SFMono-Regular", Consolas, monospace;
  font-size: 9px;
}

.query-input {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  margin-top: auto;
  padding: 13px 13px 13px 16px;
  border: 1px solid var(--line-strong);
  border-radius: 9px;
  color: var(--muted-light);
  font-size: 11px;
}

.query-input__send {
  width: 25px;
  height: 25px;
  flex: 0 0 auto;
  display: grid;
  place-items: center;
  border-radius: 7px;
  background: var(--navy);
  color: var(--white);
}

.query-input__send svg {
  width: 13px;
  height: 13px;
}

.app-trace {
  padding: 27px 17px;
  border-left: 1px solid var(--line);
  background: #fbfbfd;
}

.app-trace__label {
  margin: 0 0 19px;
}

.trace-step {
  position: relative;
  display: flex;
  gap: 9px;
  padding-bottom: 21px;
}

.trace-step:not(:last-child)::before {
  content: "";
  position: absolute;
  top: 23px;
  left: 9px;
  width: 1px;
  height: 24px;
  background: #e1e2e8;
}

.trace-step > span {
  width: 19px;
  height: 19px;
  flex: 0 0 auto;
  display: grid;
  place-items: center;
  border-radius: 50%;
  background: #ececf1;
  color: #9b9daa;
}

.trace-step.is-complete > span {
  background: var(--purple-soft);
  color: var(--purple-strong);
}

.trace-step.is-active > span {
  background: var(--navy);
  color: var(--white);
}

.trace-step svg {
  width: 10px;
  height: 10px;
  stroke-width: 2.4;
}

.trace-step.is-active svg {
  animation: spin 1.8s linear infinite;
}

.trace-step strong,
.trace-step small {
  display: block;
}

.trace-step strong {
  color: var(--ink-soft);
  font-size: 10px;
  font-weight: 680;
}

.trace-step small {
  margin-top: 2px;
  color: var(--muted-light);
  font-size: 9px;
}

/* Product preview mirrors the structured workspace in the supplied app image. */
.app-window__body {
  min-height: 680px;
  grid-template-columns: 241px minmax(0, 1fr);
}

.app-sidebar {
  padding: 16px 8px 13px;
}

.app-sidebar__brand {
  justify-content: space-between;
  padding: 0 0 22px;
}

.app-sidebar__logo {
  width: 78px;
  height: auto;
}

.app-sidebar__brand-action {
  width: 24px;
  height: 24px;
  display: grid;
  place-items: center;
  border-radius: 7px;
  color: var(--muted);
}

.app-sidebar__brand-action svg {
  width: 13px;
  height: 13px;
}

.app-sidebar__actions {
  display: grid;
  gap: 2px;
}

.app-sidebar__actions .app-sidebar__action {
  min-height: 34px;
  justify-content: center;
  padding: 7px 8px;
  border: 0;
  background: transparent;
  color: var(--ink-soft);
}

.app-sidebar__actions .app-sidebar__action:hover {
  background: rgba(255, 255, 255, 0.76);
}

.app-sidebar__label {
  margin: 22px 0 8px;
}

.app-sidebar__section {
  min-height: 22px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 8px;
  margin: 22px 0 8px;
  color: var(--muted-light);
  font-size: 10px;
  font-weight: 730;
}

.app-sidebar__section svg {
  width: 12px;
  height: 12px;
}

.app-workspaces {
  display: grid;
  gap: 3px;
}

.app-workspace {
  min-width: 0;
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 6px 7px;
  border-radius: 8px;
  color: var(--muted);
}

.app-workspace.is-active {
  padding-left: 15px;
  background: var(--white);
  color: var(--ink-soft);
  box-shadow: 0 1px 4px rgba(25, 29, 45, 0.06);
}

.app-workspace__icon {
  width: 22px;
  height: 22px;
  flex: 0 0 auto;
  display: grid;
  place-items: center;
  border-radius: 7px;
  background: #ececf1;
  color: #777a89;
}

.app-workspace.is-active .app-workspace__icon {
  background: var(--purple-soft);
  color: var(--purple-strong);
}

.app-workspace__icon svg {
  width: 12px;
  height: 12px;
}

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

.app-workspace__meta {
  min-width: 0;
}

.app-workspace strong {
  color: inherit;
  font-size: 10px;
  font-weight: 680;
}

.app-workspace strong em {
  margin-left: 4px;
  color: var(--muted-light);
  font-size: 8px;
  font-style: normal;
  font-weight: 560;
}

.app-workspace small {
  margin-top: 1px;
  color: var(--muted-light);
  font-size: 8px;
}

.app-workspace__actions {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  margin-left: auto;
}

.app-workspace__action {
  width: 18px;
  height: 18px;
  display: grid;
  place-items: center;
  border-radius: 5px;
  color: var(--muted-light);
}

.app-workspace__action:hover {
  background: rgba(255, 255, 255, 0.9);
  color: var(--ink-soft);
}

.app-workspace__action svg {
  width: 11px;
  height: 11px;
}

.app-main {
  padding: 0;
}

.app-main__topbar {
  display: flex;
  align-items: center;
  justify-content: flex-start;
  gap: 2px;
  padding: 10px 14px 10px 8px;
  border-bottom: 1px solid #efeff3;
}

.app-main__title-group {
  display: flex;
  align-items: center;
  gap: 5px;
}

.app-main__title-icon {
  width: 13px;
  height: 13px;
  color: var(--purple-strong);
}

.app-main__topbar h2 {
  margin: 0;
  color: var(--navy);
  font-size: 12px;
  font-weight: 690;
  letter-spacing: 0;
  line-height: 1.2;
}

.app-main__topbar .app-main__kicker {
  margin: 8px 0 0;
  color: var(--muted-light);
  font-size: 9px;
  font-weight: 560;
  text-transform: none;
}

.app-main__topbar .app-main__status {
  margin-top: 1px;
  font-size: 9px;
}

.app-main__new-action {
  width: 24px;
  height: 24px;
  display: grid;
  place-items: center;
  margin-left: auto;
  border-radius: 7px;
  background: #f4f4f7;
  color: var(--muted);
}

.app-main__new-action svg {
  width: 13px;
  height: 13px;
}

.app-thread {
  flex: 1;
  min-height: 0;
  overflow: hidden;
  padding: 18px 28px 0 152px;
}

.query-message--user {
  max-width: 650px;
  align-items: flex-start;
  justify-content: flex-end;
  margin-left: auto;
  padding: 0 0 17px;
}

.query-message--user > div:first-child {
  text-align: right;
}

.query-message--user .query-message__avatar {
  background: var(--navy);
  color: var(--white);
}

.query-message--user .query-message__name {
  color: var(--muted-light);
}

.answer-copy {
  max-width: 760px;
}

.answer-summary {
  margin: 12px 0 0;
  color: var(--muted);
  font-size: 11px;
  line-height: 1.55;
}

.citation-table {
  overflow: hidden;
  margin-top: 16px;
  border: 1px solid var(--line);
  border-radius: 9px;
  background: var(--white);
}

.citation-table__row {
  min-height: 54px;
  display: grid;
  grid-template-columns: minmax(0, 1.55fr) minmax(0, 0.95fr) minmax(0, 0.76fr);
  align-items: center;
  gap: 14px;
  padding: 8px 12px;
  border-top: 1px solid #efeff3;
}

.citation-table__row:first-child {
  border-top: 0;
}

.citation-table__head {
  min-height: 34px;
  background: #f8f8fb;
  color: var(--muted-light);
  font-size: 9px;
  font-weight: 700;
}

.citation-paper,
.citation-scholar {
  min-width: 0;
}

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

.citation-paper strong,
.citation-scholar strong {
  color: var(--ink-soft);
  font-size: 10px;
  font-weight: 650;
}

.citation-paper small,
.citation-scholar small {
  margin-top: 2px;
  color: var(--muted-light);
  font-size: 8px;
}

.signal-pill {
  justify-self: start;
  padding: 4px 7px;
  border-radius: 6px;
  background: #f0f1f5;
  color: #696d7d;
  font-size: 8px;
  font-weight: 680;
  white-space: nowrap;
}

.signal-pill--strong {
  background: #e9f7f1;
  color: #167b55;
}

.query-input {
  display: block;
  margin: 18px 28px 0;
  padding: 11px 13px 10px;
}

.query-input__placeholder {
  overflow: hidden;
  color: var(--muted-light);
  font-size: 11px;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.query-input__toolbar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 14px;
  margin-top: 10px;
}

.query-input__tools {
  display: flex;
  align-items: center;
  gap: 8px;
  color: var(--muted-light);
}

.query-input__tool {
  width: 20px;
  height: 20px;
  display: grid;
  place-items: center;
  border-radius: 5px;
  color: var(--muted);
}

.query-input__tool svg {
  width: 13px;
  height: 13px;
}

.query-input__scope {
  margin-left: 2px;
  color: var(--muted);
  font-size: 10px;
}

.query-input__utility {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  color: var(--muted);
  font-size: 10px;
  white-space: nowrap;
}

.query-input__utility svg {
  width: 13px;
  height: 13px;
}

.query-input__utility-bar {
  display: flex;
  align-items: center;
  margin: 8px 28px 20px;
}

.query-input__model {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  color: var(--ink-soft);
  font-size: 10px;
  font-weight: 640;
  white-space: nowrap;
}

.query-input__model-group {
  display: inline-flex;
  align-items: center;
  gap: 8px;
}

.query-input__model small {
  color: var(--muted-light);
  font-size: 9px;
  font-weight: 560;
}

.query-input__model svg {
  width: 12px;
  height: 12px;
  color: var(--muted-light);
}

.section {
  padding: 112px 0;
}

.has-js [data-reveal] {
  opacity: 0;
  transform: translate3d(var(--reveal-x, 0), var(--reveal-y, 28px), 0);
  transition:
    opacity 620ms cubic-bezier(0.22, 1, 0.36, 1),
    transform 820ms cubic-bezier(0.22, 1, 0.36, 1);
  transition-delay: var(--reveal-delay, 0ms);
  will-change: opacity, transform;
}

.has-js [data-reveal="left"] {
  --reveal-x: -72px;
  --reveal-y: 0px;
}

.has-js [data-reveal="right"] {
  --reveal-x: 72px;
  --reveal-y: 0px;
}

.has-js [data-reveal="up"] {
  --reveal-x: 0px;
  --reveal-y: 30px;
}

.has-js [data-reveal].is-visible {
  opacity: 1;
  transform: translate3d(0, 0, 0);
  will-change: auto;
}

.section-heading {
  max-width: 720px;
  margin-bottom: 48px;
}

.section-heading h2 {
  margin: 0;
  color: var(--navy);
  font-size: 40px;
  font-weight: 710;
  letter-spacing: 0;
  line-height: 1.2;
}

.section-heading > p:last-child {
  max-width: 620px;
  margin: 16px 0 0;
  color: var(--muted);
  font-size: 16px;
}

.features {
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
  background: var(--surface-soft);
}

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

.feature {
  padding-top: 25px;
  border-top: 1px solid var(--line-strong);
}

.feature__icon {
  width: 36px;
  height: 36px;
  display: grid;
  place-items: center;
  border-radius: 9px;
  background: var(--purple-soft);
  color: var(--purple-strong);
}

.feature__icon svg {
  width: 18px;
  height: 18px;
}

.feature h3 {
  margin: 20px 0 8px;
  color: var(--ink);
  font-size: 17px;
  font-weight: 690;
  letter-spacing: 0;
}

.feature p {
  margin: 0;
  color: var(--muted);
  font-size: 14px;
}

.downloads {
  background: var(--white);
}

.section-heading--downloads {
  margin-inline: auto;
  text-align: center;
}

.section-heading--downloads > p:last-child {
  margin-inline: auto;
}

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

.download-card {
  position: relative;
  min-height: 365px;
  display: flex;
  flex-direction: column;
  padding: 28px;
  border: 1px solid var(--line);
  border-radius: var(--radius-md);
  background: var(--white);
  box-shadow: var(--shadow-sm);
  transition:
    border-color 180ms ease,
    box-shadow 180ms ease,
    transform 180ms ease;
}

.download-card:hover {
  transform: translateY(-2px);
  border-color: #d4d1ec;
  box-shadow: 0 20px 46px rgba(25, 29, 45, 0.1);
}

.download-card.is-recommended {
  border-color: #c8c3ee;
  box-shadow: 0 18px 48px rgba(104, 94, 203, 0.11);
}

.download-card__top {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 20px;
}

.platform-mark {
  width: 42px;
  height: 42px;
  display: grid;
  place-items: center;
  border-radius: 11px;
}

.platform-mark svg {
  width: 20px;
  height: 20px;
}

.platform-mark--windows {
  background: #eef4ff;
  color: #2556b8;
}

.platform-mark--mac {
  background: #f3f1ff;
  color: var(--purple-strong);
}

.download-card__badge {
  padding: 4px 9px;
  border-radius: 999px;
  background: var(--purple-soft);
  color: var(--purple-strong);
  font-size: 10px;
  font-weight: 730;
}

.download-card h3 {
  margin: 30px 0 4px;
  color: var(--navy);
  font-size: 25px;
  font-weight: 720;
  letter-spacing: 0;
}

.download-card > p {
  margin: 0;
  color: var(--muted);
  font-size: 13px;
}

.download-card__meta {
  display: flex;
  align-items: center;
  gap: 10px;
  margin: 16px 0 24px;
  color: var(--muted-light);
  font-size: 12px;
}

.download-card__meta span + span::before {
  content: "·";
  margin-right: 10px;
  color: #c9cbd4;
}

.button--download {
  width: 100%;
  margin-top: auto;
  background: var(--navy);
  color: var(--white);
}

.button--download:hover {
  background: #151d2f;
  box-shadow: 0 12px 24px rgba(31, 41, 62, 0.18);
}

.trust-row {
  display: flex;
  align-items: center;
  justify-content: center;
  flex-wrap: wrap;
  gap: 28px;
  margin-top: 36px;
  color: var(--muted);
  font-size: 12px;
}

.trust-row > span {
  display: inline-flex;
  align-items: center;
  gap: 7px;
}

.trust-row svg {
  width: 14px;
  height: 14px;
  color: var(--green);
}

.site-footer {
  border-top: 1px solid var(--line);
  background: var(--surface-soft);
}

.site-footer__inner {
  min-height: 116px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
}

.site-footer__brand {
  display: flex;
  align-items: center;
  gap: 13px;
}

.site-footer__brand img {
  width: 96px;
  height: auto;
}

.site-footer__brand span {
  padding-left: 13px;
  border-left: 1px solid var(--line-strong);
  color: var(--muted);
  font-size: 12px;
}

.site-footer p {
  margin: 0;
  color: var(--muted-light);
  font-size: 12px;
}

@keyframes spin {
  to {
    transform: rotate(360deg);
  }
}

@media (max-width: 980px) {
  .app-window__body {
    grid-template-columns: 170px minmax(0, 1fr);
  }

  .app-trace {
    display: none;
  }

  .section {
    padding: 92px 0;
  }
}

@media (max-width: 760px) {
  .shell {
    width: min(calc(100% - 32px), var(--shell));
  }

  .site-header__inner {
    min-height: 64px;
  }

  .brand {
    width: 118px;
  }

  .site-nav {
    gap: 14px;
  }

  .site-nav > a {
    display: none;
  }

  .hero {
    padding-top: 70px;
  }

  .hero h1 {
    font-size: 56px;
  }

  .hero__tagline {
    font-size: 22px;
  }

  .hero__description {
    max-width: 620px;
    font-size: 15px;
    white-space: normal;
  }

  .has-js [data-reveal="left"] {
    --reveal-x: -12px;
  }

  .has-js [data-reveal="right"] {
    --reveal-x: 12px;
  }

  .product-preview {
    margin-top: 48px;
  }

  .app-window__body {
    min-height: 510px;
    grid-template-columns: 1fr;
  }

  .app-sidebar {
    display: none;
  }

  .app-main {
    padding: 0;
  }

  .app-main__topbar {
    padding: 18px 16px 15px;
  }

  .app-thread {
    padding: 16px 16px 0;
  }

  .query-input {
    margin: 16px 16px 0;
  }

  .query-input__utility-bar {
    margin: 8px 16px 16px;
  }

  .feature-grid,
  .download-grid {
    grid-template-columns: 1fr;
  }

  .feature-grid {
    gap: 22px;
  }

  .section {
    padding: 78px 0;
  }

  .section-heading {
    margin-bottom: 36px;
  }

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

  .download-card {
    min-height: auto;
  }
}

@media (max-width: 560px) {
  .hero__actions {
    flex-direction: column;
  }

  .hero__actions .button {
    width: 100%;
  }

  .app-window__bar {
    grid-template-columns: 1fr auto;
  }

  .app-window__title {
    display: none;
  }

  .app-main__header {
    align-items: flex-start;
  }

  .app-main__status {
    display: none;
  }

  .query-message {
    padding-top: 18px;
  }

  .query-message--user {
    max-width: 100%;
    padding-top: 0;
  }

  .citation-table__row {
    grid-template-columns: minmax(0, 1.45fr) minmax(0, 0.75fr);
    gap: 10px;
  }

  .citation-table__row > :nth-child(2) {
    display: none;
  }

  .download-card {
    padding: 23px 20px;
  }

  .trust-row {
    justify-content: flex-start;
    gap: 16px;
  }

  .site-footer__inner {
    padding: 28px 0;
    align-items: flex-start;
    flex-direction: column;
  }
}

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

  *,
  *::before,
  *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
  }

  .has-js [data-reveal] {
    opacity: 1;
    transform: none;
  }
}
