/* VITAMIN — shared styles, components and responsive layouts.
   Legacy components and superseded declarations have been removed. */

:root {
  --header-h: 56px;
}

@media (max-width: 860px) {
  :root {
    --header-h: 72px;
  }

}

html {
  scroll-padding-top: calc(var(--header-h) + 8px);
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body,
.menu-btn {
  margin: 0;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

.container {
  width: min(1120px, 92%);
  margin-inline: auto;
}

header {
  position: sticky;
  top: 0;
  z-index: 20;
  backdrop-filter: saturate(140%) blur(6px);
}

.nav {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.brand {
  position: relative;
  text-decoration: none;
  font-family: "Karla", "Helvetica Neue", Arial, sans-serif;
  color: var(--text) !important;
}

.brand::before {
  background-size: contain;
}

.brand:link,
.brand:visited,
.brand:hover,
.brand:focus,
.brand:active {
  text-decoration: none;
  color: var(--text) !important;
}

.menu {
  position: absolute;
  left: 50%;
  transform: translateX(-50%);
  display: flex;
  align-items: center;
  gap: 18px;
  z-index: 21;
}

nav ul {
  list-style: none;
  display: flex;
  padding: 0;
  margin: 0;
}

nav a {
  position: relative;
  text-decoration: none;
  transition: opacity .2s ease, color .2s ease;
  padding-left: 14px;
}

nav a:hover,
nav a:focus {
  opacity: 1;
}

a:focus-visible,
button:focus-visible,
.pill:focus-visible,
.cta:focus-visible {
  outline: 2px solid var(--accent);
  outline-offset: 2px;
  border-radius: 10px;
}

nav a::before {
  content: "";
  position: absolute;
  left: -10px;
  top: 50%;
  transform: translateY(-50%) scale(0);
  transform-origin: center;
  width: 20px;
  height: 20px;
  background: url("images/check-mark.svg") no-repeat center center;
  background-size: contain;
  transition: transform .25s cubic-bezier(0.4, 0, 0.2, 1);
}

nav a:hover::before,
nav a:focus::before {
  transform: translateY(-50%) scale(1);
}

a.cta {
  display: inline-block;
  padding: 10px 18px;
  border-radius: 999px;
  text-decoration: none;
  position: relative;
  overflow: hidden;
  transition: background .25s ease, border-color .25s ease, color .25s ease, padding-left .25s ease;
}

a.cta::before {
  content: "";
  position: absolute;
  left: 6px;
  top: 50%;
  transform: translateY(-50%) scale(0);
  transform-origin: center;
  width: 20px;
  height: 20px;
  background: url("images/check-mark.svg") no-repeat center center;
  background-size: contain;
  transition: transform .25s cubic-bezier(0.4, 0, 0.2, 1);
}

a.cta:hover::before,
a.cta:focus::before {
  transform: translateY(-50%) scale(1);
}

@media (prefers-color-scheme: dark) {
  a.cta {
    border-color: var(--accent);
  }

}

.menu-btn {
  border: none;
}

@media (max-width: 860px) {
  .menu {
    position: static;
    transform: none;
    margin: 0 auto;
    gap: 10px;
  }

  nav ul {
    display: none;
    position: absolute;
    top: 60px;
    left: 0;
    right: 0;
    background: var(--bg);
    border-bottom: 1px solid var(--line);
    padding: 14px 4%;
    flex-direction: column;
  }

  nav ul.open {
    display: flex;
  }

}

.hero {
  position: relative;
  display: grid;
}

.hero-copy {
  max-width: 1120px;
  margin-inline: auto;
  padding-top: 0;
  text-align: center;
}

.hero h1:not(.hero-title) {
  font-size: 52px;
  line-height: 1.1;
  margin-bottom: 8px;
  letter-spacing: 0;
}

.hero-eyebrow {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  margin: 0 0 12px;
  padding: 5px 11px;
  border-radius: 999px;
  font-family: "Cutive Mono", monospace;
  font-size: 11px;
  text-transform: uppercase;
}

.hero .hero-title {
  margin: 0 0 6px;
  font-size: clamp(110px, 10.4vw, 176px);
}

.hero-subtitle {
  max-width: none;
  margin: 0 0 16px;
  font-family: "Karla", "Helvetica Neue", Arial, sans-serif;
  font-size: 38px;
  color: var(--text);
}

.lead {
  margin-inline: auto;
  line-height: 1.6;
  margin-bottom: 22px;
}

.hero-cta {
  display: flex;
  justify-content: center;
  flex-wrap: wrap;
  margin-bottom: 0;
}

.hero-workflow {
  display: grid;
  gap: 0;
  align-items: stretch;
  margin-top: 0;
}

.hero-workflow-title {
  place-items: center;
  min-width: 0;
  margin: 0;
  border-right: 1px solid var(--line);
  line-height: 1.2;
  letter-spacing: 0;
}

.hero-step-arrow {
  display: grid;
  place-items: center;
  align-self: center;
  justify-self: center;
  color: var(--accent);
  line-height: 1;
}

.hero-step strong {
  display: block;
  font-size: 15px;
  line-height: 1.25;
}

.hero-step p {
  margin: 0;
  color: var(--muted);
  font-size: 13px;
  line-height: 1.45;
}

.hero .card {
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 18px;
}

@media (max-width: 1100px) {
  .hero-workflow-title {
    justify-items: start;
    border-right: 0;
    border-bottom: 1px solid var(--line);
  }

}

@media (max-width: 980px) {
  .hero .hero-title {
    font-size: clamp(74px, 18vw, 104px);
  }

  .hero-subtitle {
    font-size: 25px;
  }

  .hero-copy {
    max-width: none;
  }

  .hero-workflow-title {
    justify-items: start;
    min-width: 0;
    border-right: 0;
    border-bottom: 1px solid var(--line);
  }

}

h2 {
  font-size: clamp(24px, 3vw, 32px);
  margin: 0 0 12px;
}

.section-lead {
  margin: 0 0 18px;
  line-height: 1.55;
}

@media (min-width: 980px) {
  .section-lead,
  .table-note {
    white-space: normal;
  }

  #models .section-lead {
    max-width: none;
    white-space: normal;
  }

  .architecture-section .section-lead {
    max-width: 960px;
    white-space: normal;
  }

}

p {
  margin: 0 0 10px;
}

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

@media (max-width: 900px) {
  .grid-3 {
    grid-template-columns: 1fr;
  }

}

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

.model-family-card {
  min-height: 150px;
}

.model-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin: 0;
  padding: 0;
  list-style: none;
}

.model-badge {
  display: inline-flex;
  align-items: center;
  padding: 6px 10px;
  border: 1px solid var(--line);
  border-radius: 999px;
  background: var(--surface-soft);
  color: var(--text);
  font-size: 13px;
  font-weight: 650;
  line-height: 1.3;
  letter-spacing: normal;
  white-space: nowrap;
}

.table-note {
  max-width: 760px;
  margin: 12px 0 0;
  color: var(--muted);
  font-size: 14px;
  line-height: 1.55;
}

.architecture-lead {
  max-width: 960px;
  white-space: normal;
}

.architecture-pipeline {
  display: grid;
  justify-content: stretch;
  align-items: stretch;
  margin: 22px 0 16px;
}

.pipeline-step {
  position: relative;
  display: flex;
  align-items: flex-start;
  justify-content: flex-start;
  padding: 12px 14px;
  min-height: 0;
  text-align: left;
  border-radius: 12px;
}

.architecture-pipeline > * {
  grid-row: 1;
}

.flow-host {
  grid-column: 1;
}

.flow-down-host {
  grid-column: 2;
  justify-self: center;
  z-index: 1;
}

.flow-engine {
  grid-column: 3;
}

.flow-down-engine {
  grid-column: 4;
  justify-self: center;
  z-index: 1;
}

.flow-parsers {
  grid-column: 5;
}

.flow-down-parsers {
  grid-column: 6;
  justify-self: center;
  z-index: 1;
}

.flow-algorithm {
  grid-column: 7;
}

.flow-down-result {
  grid-column: 8;
  justify-self: center;
  z-index: 1;
}

.flow-result {
  grid-column: 9;
}

.pipeline-step-wide strong {
  white-space: normal;
}

.flow-arrow {
  display: grid;
  place-items: center;
  font-size: 20px;
  line-height: 1;
}

.pipeline-step strong {
  display: block;
  font-family: "Cutive Mono", monospace;
  font-size: 14px;
  line-height: 1.3;
}

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

.architecture-card {
  display: block;
  min-height: 0;
}

.architecture-card p:not(.kicker) {
  color: var(--text);
}

.architecture-note {
  max-width: none;
  margin: 12px 0 0;
  color: var(--muted);
  font-size: 14px;
  line-height: 1.55;
  font-style: italic;
}

.architecture-doc-link {
  margin-top: 8px;
  font-size: 13px;
  text-decoration: none;
}

.architecture-doc-link:hover,
.architecture-doc-link:focus {
  color: var(--accent);
  text-decoration: underline;
  text-underline-offset: 4px;
}

@media (max-width: 760px) {
  .models-grid {
    grid-template-columns: 1fr;
  }

}

@media (max-width: 1100px) {
  .architecture-pipeline {
    row-gap: 8px;
  }

  .architecture-pipeline .pipeline-step,
  .architecture-pipeline .flow-arrow {
    grid-column: 1;
    grid-row: auto;
  }

  .architecture-pipeline .flow-arrow {
    transform: rotate(90deg);
  }

  .architecture-layers {
    grid-template-columns: 1fr;
  }

}

.card--trail {
  position: relative;
  border-radius: var(--radius, 12px);
  padding: 20px;
  overflow: hidden;
}

.card--trail {
  --accent-soft: color-mix(in srgb, var(--accent) 70%, var(--surface) 30%);
}

@media (prefers-color-scheme: dark) {
  .card--trail {
    --accent-soft: color-mix(in srgb, var(--accent) 80%, var(--surface) 10%);
  }

}

.card--trail::before {
  content: "";
  position: absolute;
  inset-inline: 0;
  top: 0;
  height: 3px;
  border-radius: 2px 2px 0 0;
  background: linear-gradient(90deg, var(--accent), var(--accent-soft));
  transform-origin: left center;
  transform: scaleX(0.22);
  opacity: .95;
  transition: transform .38s cubic-bezier(0.4,0,0.2,1), opacity .38s ease;
  will-change: transform;
}

.card--trail-top:hover::before,
.card--trail-top:focus-within::before {
  transform: scaleX(0.55);
  opacity: .9;
}

@media (max-width: 640px) {
  .card--trail::before {
    height: 2px;
  }

}

@media (prefers-reduced-motion: reduce) {
  .card--trail::before,
  .card--trail::after {
    transition: none !important;
  }

}

.kicker {
  align-items: center;
  border: 1px solid color-mix(in srgb, var(--accent) 22%, var(--line));
  text-transform: uppercase;
  margin-bottom: 10px;
}

ul.inline {
  list-style: none;
  padding: 0;
  margin: 0;
  display: flex;
  gap: 10px;
  flex-wrap: wrap;
}

ul.inline.code li {
  font-family: "IBM Plex Mono", "Space Mono", monospace;
  font-size: 14px;
  padding: 5px 10px;
  border-radius: 6px;
  border: 1px solid color-mix(in srgb, var(--accent) 18%, var(--line));
  background: var(--surface-soft);
}

ul.inline.code li:hover {
  color: var(--accent-hover);
  background: var(--surface-accent);
}

@media (prefers-color-scheme: dark) {
  ul.inline.code li {
    background: color-mix(in srgb, var(--accent) 8%, var(--surface));
  }

  ul.inline.code li:hover {
    background: color-mix(in srgb, var(--accent) 15%, var(--surface));
  }

}

.team-subtitle {
  margin: 26px 0 14px;
  font-size: 22px;
}

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

.team-card {
  display: grid;
  align-content: start;
  gap: 12px;
  padding: 20px;
}

.team-card-header {
  display: flex;
  align-items: center;
  justify-content: flex-start;
  gap: 12px;
  min-height: 104px;
  padding-top: 8px;
  text-align: left;
}

.team-avatar-frame,
.collaborator-avatar-frame {
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 2px;
  border-radius: 50%;
  background: #e2e8f0;
  overflow: hidden;
}

.team-avatar-frame,
.collaborator-avatar-frame {
  width: 64px;
  height: 64px;
  flex: 0 0 64px;
}

.team-card:hover .team-avatar-frame,
.team-card:focus-within .team-avatar-frame,
.collaborator-chip:hover .collaborator-avatar-frame,
.collaborator-chip:focus-within .collaborator-avatar-frame {
  background: var(--brand-gradient);
}

.team-avatar,
.collaborator-avatar {
  display: block;
  box-sizing: content-box;
  max-width: none;
  flex-shrink: 0;
  border-radius: 50%;
  border: 2px solid #ffffff;
  object-fit: cover;
  object-position: center top;
  filter: grayscale(100%);
  transform: none;
}

.team-avatar,
.collaborator-avatar {
  width: 56px;
  height: 56px;
}

.team-card:hover .team-avatar,
.team-card:focus-within .team-avatar,
.collaborator-chip:hover .collaborator-avatar,
.collaborator-chip:focus-within .collaborator-avatar {
  filter: grayscale(0%);
}

@media (prefers-reduced-motion: no-preference) {
  .team-avatar,
  .collaborator-avatar {
    transition: filter 180ms ease;
  }

}

.team-card-identity {
  display: grid;
  gap: 2px;
  min-width: 0;
}

.team-card h4 {
  margin: 0 0 4px;
  font-family: inherit;
  font-size: 20px;
  font-weight: 850;
  line-height: 1.2;
}

.team-card p {
  margin: 0;
  color: var(--text);
}

.team-card .affiliation {
  color: var(--muted);
  font-size: 13px;
  line-height: 1.25;
}

.team-role {
  display: block;
  width: auto;
  min-height: 0;
  padding: 0;
  border: 0;
  border-radius: 0;
  background: transparent;
  color: var(--accent-hover);
  font-size: 11px;
  font-weight: 850;
  letter-spacing: .08em;
  line-height: 1.1;
  text-transform: uppercase;
}

.team-links {
  flex-wrap: wrap;
  align-items: center;
  justify-content: center;
}

.team-links a {
  display: inline-grid;
  place-items: center;
  color: var(--muted);
  font-size: 13px;
  text-decoration: none;
}

.team-links .material-symbols-outlined {
  font-size: 25px;
}

.team-links a:hover,
.team-links a:focus {
  text-decoration: none;
}

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

.collaborator-chip {
  display: flex;
  align-items: center;
  gap: 12px;
  min-width: 0;
  padding: 12px 14px;
  box-shadow: 0 10px 28px rgba(15, 23, 42, 0.045);
}

.collaborator-identity {
  display: grid;
  gap: 4px;
  min-width: 0;
  overflow-wrap: break-word;
}

.collaborator-chip strong {
  color: var(--text);
  font-size: 15px;
  line-height: 1.2;
}

.collaborator-chip span {
  color: var(--muted);
  font-size: 13px;
  line-height: 1.2;
  text-align: left;
}

@media (max-width: 900px) {
  .team-grid {
    grid-template-columns: 1fr;
  }

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

}

@media (max-width: 560px) {
  .collaborator-grid {
    grid-template-columns: 1fr;
  }

}

.material-symbols-outlined {
  font-family: "Material Symbols Outlined";
  display: inline-block;
  font-size: 28px;
  vertical-align: middle;
  font-variation-settings: "FILL" 0,
    "wght" 200,
    "GRAD" -25,
    "opsz" 28;
}

.card--trail.small {
  padding: 12px 16px;
  text-align: center;
}

.card--trail.small strong {
  display: block;
  font-size: 15px;
  margin-bottom: 4px;
}

.card--trail.small .affiliation {
  font-size: 13px;
  color: var(--muted);
}

.publications-lead {
  max-width: 780px;
}

.pub-filter {
  display: flex;
  flex-wrap: wrap;
  margin-bottom: 18px;
}

.pill {
  appearance: none;
  border-radius: 999px;
  padding: 8px 14px;
  font: inherit;
  cursor: pointer;
  position: relative;
  overflow: hidden;
  transition: background .25s ease, border-color .25s ease, color .25s ease, padding-left .25s ease;
}

.pill::before {
  content: "";
  position: absolute;
  left: 6px;
  top: 50%;
  transform: translateY(-50%) scale(0);
  transform-origin: center;
  width: 18px;
  height: 18px;
  background: url("images/check-mark.svg") no-repeat center center;
  background-size: contain;
  transition: transform .25s cubic-bezier(0.4, 0, 0.2, 1);
}

.pill:hover::before,
.pill:focus::before,
.pill.active::before {
  transform: translateY(-50%) scale(1);
}

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

.publication-card {
  display: grid;
  grid-template-columns: minmax(140px, 180px) minmax(0, 1fr) auto;
  align-items: center;
  gap: 14px;
  padding: 14px 18px;
}

.publication-card.is-hidden {
  display: none;
}

.publication-meta {
  margin: 0;
}

.publication-body {
  display: grid;
  gap: 4px;
}

.publication-card h3 {
  margin: 0;
  font-size: 17px;
  line-height: 1.3;
}

.publication-card p:not(.publication-meta) {
  margin: 0;
  color: var(--muted);
}

.publication-actions {
  display: flex;
  flex-wrap: wrap;
  justify-content: flex-end;
  gap: 8px;
}

.publication-actions a,
.publication-actions button {
  appearance: none;
  padding: 6px 12px;
  border: 1px solid rgba(22, 163, 74, 0.22);
  border-radius: 999px;
  color: var(--text);
  font-size: 13px;
  font: inherit;
  text-decoration: none;
  cursor: pointer;
}

@media (max-width: 900px) {
  .publication-card {
    grid-template-columns: 1fr;
    align-items: start;
  }

  .publication-actions {
    justify-content: flex-start;
  }

}

.bibtex-block {
  grid-column: 1 / -1;
  margin: 0;
  padding: 14px 16px;
  border-radius: 10px;
  font-size: 13px;
  line-height: 1.55;
}

.bibtex-block[hidden] {
  display: none;
}

.workbench-showcase {
  display: grid;
  grid-template-columns: 1fr;
  align-items: start;
}

.workbench-tabs {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 24px minmax(0, 1fr) 24px minmax(0, 1fr) 24px minmax(0, 1fr);
  align-items: stretch;
  gap: 14px;
  width: 100%;
  max-width: 1080px;
  min-width: 0;
  margin-inline: auto;
}

.workbench-tab-arrow {
  display: grid;
  place-items: center;
  align-self: center;
  justify-self: center;
  width: 24px;
  height: 24px;
  color: var(--accent);
  font-size: 18px;
  font-weight: 500;
  line-height: 1;
}

.workbench-tab {
  appearance: none;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: flex-start;
  width: 100%;
  min-width: 0;
  padding: 14px 16px;
  border: 1px solid rgba(148, 163, 184, 0.24);
  border-radius: 14px;
  background: #ffffff;
  color: var(--text);
  box-shadow: 0 4px 14px rgba(15, 23, 42, 0.035);
  cursor: pointer;
  font: inherit;
  text-align: center;
}

.workbench-tab[aria-selected="true"] {
  background: #ffffff;
  color: var(--accent);
}

.workbench-tab:focus-visible {
  outline: 2px solid var(--accent);
  outline-offset: 3px;
}

.workbench-tab-title {
  display: block;
  width: fit-content;
  max-width: 100%;
  margin-inline: auto;
  font-size: 15px;
  font-weight: 800;
  line-height: 1.35;
  text-wrap: balance;
}

.workbench-tab-description {
  display: block;
  margin-top: 9px;
  color: var(--muted);
  font-size: 14px;
  font-weight: 400;
  line-height: 1.5;
  text-wrap: balance;
}

.workbench-preview-panel[hidden] {
  display: none;
}

.workbench-preview {
  width: 100%;
  min-width: 0;
  height: auto;
  margin-inline: auto;
  padding: 20px;
  border: 1px solid var(--line);
  border-radius: 18px;
  background: #ffffff;
  box-shadow: 0 8px 24px rgba(15, 23, 42, 0.04);
}

.workbench-preview-panel {
  display: grid;
  place-items: center;
  width: 100%;
  height: auto;
}

.workbench-preview-panel img {
  display: block;
  width: auto;
  height: auto;
  max-width: 100%;
  max-height: min(72vh, 680px);
  min-width: 0;
  min-height: 0;
  object-fit: contain;
  object-position: center;
}

.workbench-preview-panel:focus-visible {
  outline: 2px solid var(--accent);
  outline-offset: 4px;
  border-radius: 8px;
}

.workbench-screenshot {
  display: grid;
  place-items: center;
  width: 100%;
  min-width: 0;
  max-width: 100%;
  border-radius: 12px;
  cursor: zoom-in;
  text-decoration: none;
}

.workbench-selection-caption {
  display: none;
  margin: 10px 4px 0;
  color: var(--muted);
  font-size: 14px;
  line-height: 1.5;
  text-align: center;
}

@media (max-width: 860px) {
  .workbench-tabs {
    grid-template-columns: minmax(0, 1fr) 20px minmax(0, 1fr);
    grid-template-rows: auto 20px auto;
    gap: 10px;
  }

  .workbench-tab:nth-of-type(1) {
    grid-area: 1 / 1;
  }

  .workbench-tab:nth-of-type(2) {
    grid-area: 1 / 3;
  }

  .workbench-tab:nth-of-type(3) {
    grid-area: 3 / 1;
  }

  .workbench-tab:nth-of-type(4) {
    grid-area: 3 / 3;
  }

  .workbench-tab-arrow:nth-of-type(1) {
    grid-area: 1 / 2;
  }

  .workbench-tab-arrow:nth-of-type(2) {
    grid-area: 2 / 1 / 3 / -1;
    transform: rotate(90deg);
  }

  .workbench-tab-arrow:nth-of-type(3) {
    grid-area: 3 / 2;
  }

  .workbench-tab-arrow {
    width: 20px;
    height: 20px;
  }

  .workbench-tab-description {
    display: none;
  }

  .workbench-preview {
    height: auto;
  }

  .workbench-tab-title {
    display: grid;
    place-items: center;
    min-height: 2.7em;
  }

  .workbench-selection-caption {
    display: block;
  }

  .workbench-preview-panel img {
    width: auto;
    max-height: min(80vh, 720px);
  }

}

@media (max-width: 480px) {
  .workbench-tabs {
    grid-template-columns: minmax(0, 1fr) 18px minmax(0, 1fr);
    column-gap: 8px;
  }

  .workbench-tab-title {
    font-size: 14px;
  }

}

.workbench-actions {
  display: flex;
  justify-content: center;
  margin-top: 10px;
}

.workbench-full-link {
  font-size: 13px;
  text-decoration: none;
}

.workbench-full-link:hover,
.workbench-full-link:focus {
  color: var(--accent);
  text-decoration: underline;
  text-underline-offset: 4px;
}

.skip {
  position: absolute;
  left: -9999px;
  top: auto;
  width: 1px;
  height: 1px;
  overflow: hidden;
}

.skip:focus {
  position: static;
  width: auto;
  height: auto;
  padding: 8px 10px;
  background: var(--accent-hover);
  color: var(--accent-contrast);
  border-radius: 8px;
}

.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}

footer {
  margin-top: 36px;
}

footer .small {
  opacity: 0.9;
}

.footer-links {
  margin-top: 12px;
}

.footer-links a {
  transition: opacity .2s ease;
}

.footer-links a:hover {
  opacity: 1;
}

:root {
  --bg: #f8fafc;
  --surface: #ffffff;
  --surface-soft: #f1f5f9;
  --surface-accent: #eef2ff;
  --text: #020817;
  --muted: #475569;
  --line: #dbe3ee;
  --accent: #7c3aed;
  --accent-hover: var(--accent);
  --accent-contrast: #ffffff;
  --blue: #2563eb;
  --pink: #db2777;
  --orange: #f59e0b;
  --green: #22c55e;
  --section: 52px;
  --radius: 18px;
  --shadow-soft: 0 18px 45px rgba(15, 23, 42, 0.08);
  --shadow-card: 0 10px 30px rgba(15, 23, 42, 0.08);
  --brand-gradient: linear-gradient(135deg, #2563eb 0%, #7c3aed 48%, #db2777 100%);
}

@media (prefers-color-scheme: dark) {
  :root {
    --bg: #f8fafc;
    --surface: #ffffff;
    --surface-soft: #f1f5f9;
    --surface-accent: #eef2ff;
    --text: #020817;
    --muted: #475569;
    --line: #dbe3ee;
    --accent: #7c3aed;
    --accent-hover: var(--accent);
    --accent-contrast: #ffffff;
  }

  img,
  video {
    filter: none;
  }

}

body {
  color: var(--text);
  font-family: ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  font-size: 16px;
  line-height: 1.55;
}

.menu-btn {
  background: radial-gradient(circle at 50% 0, rgba(37, 99, 235, 0.10), transparent 28rem),
    radial-gradient(circle at 80% 9rem, rgba(219, 39, 119, 0.08), transparent 24rem),
    radial-gradient(circle at 18% 28rem, rgba(124, 58, 237, 0.06), transparent 26rem),
    #f8fafc;
  color: var(--text);
  font-family: ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  font-size: 16px;
  line-height: 1.55;
}

nav a,
.cta,
h1 {
  font-family: ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  letter-spacing: -0.02em;
}

h2 {
  font-family: ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
}

h3 {
  font-family: ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  letter-spacing: -0.02em;
}

.container {
  width: min(1150px, 90%);
}

.stack-xl {
  padding-block: 54px 44px;
}

.stack-lg {
  padding-block: 42px;
}

header {
  background: rgba(255, 255, 255, 0.82);
  border-bottom: 1px solid rgba(148, 163, 184, 0.22);
  box-shadow: 0 8px 24px rgba(15, 23, 42, 0.04);
}

.nav {
  padding-block: 12px;
}

.brand {
  gap: 9px;
  font-size: 21px;
  font-weight: 800;
  letter-spacing: -0.04em;
}

.brand::before {
  content: "";
  width: 36px;
  height: 36px;
  margin-right: 0;
  border-radius: 12px;
  display: grid;
  place-items: center;
  background: url("images/vitamin-logo-mark.webp") center / contain no-repeat;
  box-shadow: none;
  filter: drop-shadow(0 12px 18px rgba(124, 58, 237, 0.28));
}

nav ul {
  gap: 10px;
}

nav a {
  padding: 8px 12px;
  border-radius: 999px;
  color: var(--muted);
  font-size: 14px;
  font-weight: 700;
  opacity: 1;
}

nav a::before {
  display: none;
}

nav a:hover,
nav a:focus {
  color: var(--text);
  background: rgba(124, 58, 237, 0.08);
}

a.cta {
  border: 1px solid rgba(148, 163, 184, 0.36);
  background: rgba(255, 255, 255, 0.86);
  color: var(--text);
  box-shadow: 0 8px 18px rgba(15, 23, 42, 0.04);
  font-weight: 750;
}

a.cta::before {
  display: none;
}

a.cta:hover,
a.cta:focus {
  padding-left: 18px;
  border-color: rgba(124, 58, 237, 0.36);
  background: #ffffff;
  color: var(--accent-hover);
  transform: translateY(-1px);
}

a.cta--primary {
  border: 0;
  box-shadow: 0 16px 32px rgba(124, 58, 237, 0.28);
}

a.cta--primary:hover,
a.cta--primary:focus {
  color: #ffffff;
  filter: saturate(1.08);
}

a.cta--primary {
  background: var(--brand-gradient);
  border-color: transparent;
  color: #ffffff;
  text-decoration: none;
  text-shadow: 0 1px 8px rgba(2, 8, 23, 0.18);
}

.hero-section {
  padding-block: 44px 34px;
}

.hero {
  gap: 34px;
  padding: 0;
}

.hero-eyebrow {
  border: 0;
  background: rgba(124, 58, 237, 0.10);
  color: var(--accent-hover);
  font-weight: 800;
  letter-spacing: .04em;
}

.hero .hero-title {
  margin-bottom: 8px;
  font-family: ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  font-size: clamp(72px, 10vw, 138px);
  line-height: .86;
  font-weight: 900;
  letter-spacing: -0.05em;
  background: var(--brand-gradient);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
  text-shadow: none;
}

.hero-subtitle {
  margin-bottom: 18px;
  font-size: clamp(34px, 5vw, 58px);
  line-height: 1.02;
  font-weight: 850;
  letter-spacing: -0.06em;
}

.lead {
  max-width: 780px;
  color: #334155;
  font-size: 19px;
}

.hero-cta {
  gap: 12px;
}

.hero-workflow {
  width: 100%;
  max-width: 1080px;
  margin-inline: auto;
  grid-template-columns: minmax(0, 1fr) 24px minmax(0, 1fr) 24px minmax(0, 1fr) 24px minmax(0, 1fr);
  grid-template-rows: auto auto;
  column-gap: 14px;
  row-gap: 14px;
  padding: 0;
  border: 0;
  border-radius: 0;
  background: transparent;
  box-shadow: none;
  overflow: visible;
}

.hero-workflow-title {
  display: block;
  grid-column: 1 / -1;
  grid-row: 1;
  padding: 0;
  border: 0;
  font-family: inherit;
  font-size: 16px;
  font-weight: 750;
  text-align: center;
  text-transform: none;
}

.hero-step {
  display: block;
  grid-row: 2;
  min-width: 0;
  padding: 14px 16px;
  border: 1px solid rgba(148, 163, 184, 0.24);
  border-radius: 14px;
  background: #ffffff;
  box-shadow: 0 4px 14px rgba(15, 23, 42, 0.035);
  text-align: center;
}

.hero-step > div {
  display: block;
}

.hero-step strong {
  margin-bottom: 6px;
  text-wrap: balance;
}

.hero-step p {
  text-wrap: balance;
}

.hero-step-arrow {
  grid-row: 2;
  width: 24px;
  height: 24px;
  font-size: 18px;
  font-weight: 500;
}

.hero-step strong {
  font-family: inherit;
  font-weight: 800;
}

.team-subtitle,
.model-tags {
  font-family: inherit;
}

h2 {
  margin-bottom: 12px;
  font-size: clamp(32px, 5vw, 54px);
  font-weight: 850;
  letter-spacing: -0.06em;
}

.section-lead {
  max-width: 820px;
  color: var(--muted);
  font-size: 18px;
}

.card--trail,
.workflow,
.publication-card,
.pipeline-step {
  border: 1px solid rgba(148, 163, 184, 0.26);
  background: rgba(255, 255, 255, 0.82);
  box-shadow: var(--shadow-card);
}

.card--trail::before {
  display: none;
}

:is(.card--trail, .workbench-step-card, .publication-card, .pipeline-step).has-actions:hover {
  border-color: rgba(124, 58, 237, 0.30);
  box-shadow: 0 18px 42px rgba(15, 23, 42, 0.11);
  transform: translateY(-1px);
}

.kicker,
.publication-meta,
.hero-workflow-title {
  color: var(--accent-hover);
}

.team-subtitle {
  color: var(--accent);
}

.kicker {
  display: inline-flex;
  width: fit-content;
  padding: 6px 10px;
  border-radius: 999px;
  background: rgba(124, 58, 237, 0.09);
  font-family: inherit;
  font-size: 12px;
  font-weight: 800;
  letter-spacing: .05em;
}

.models-grid,
.grid-3,
.architecture-layers,
.team-grid {
  gap: 18px;
}

.flow-arrow {
  color: var(--accent);
  font-family: inherit;
  font-weight: 900;
}

.architecture-doc-link,
.workbench-full-link {
  color: var(--accent-hover);
  font-weight: 700;
}

.pub-filter {
  gap: 10px;
}

.pill {
  border: 1px solid rgba(148, 163, 184, 0.34);
  background: #ffffff;
  color: var(--text);
  font-weight: 750;
  box-shadow: 0 8px 18px rgba(15, 23, 42, 0.04);
}

.pill::before {
  display: none;
}

.pill:hover,
.pill:focus,
.pill.active {
  padding-left: 14px;
  border-color: transparent;
  background: var(--brand-gradient);
  color: #ffffff;
}

.publication-card {
  border-radius: 16px;
}

.publication-meta {
  font-family: inherit;
  font-size: 13px;
  font-weight: 850;
  letter-spacing: .02em;
}

.publication-card h3 {
  font-weight: 780;
}

.publication-actions a,
.publication-actions button {
  border-color: rgba(148, 163, 184, 0.34);
  background: rgba(255, 255, 255, 0.9);
  font-weight: 750;
}

.publication-actions a:hover,
.publication-actions a:focus,
.publication-actions button:hover,
.publication-actions button:focus {
  border-color: transparent;
  background: rgba(124, 58, 237, 0.10);
}

.bibtex-block {
  border: 1px solid rgba(15, 23, 42, 0.08);
  background: #111827;
  box-shadow: inset 0 1px 0 rgba(255,255,255,.06);
}

.bibtex-block,
.bibtex-block *,
.publication-card:hover .bibtex-block *,
.publication-card:focus-within .bibtex-block * {
  color: #f8fafc !important;
}

.bibtex-block code {
  font-family: ui-monospace, SFMono-Regular, Menlo, Monaco, Consolas, "Liberation Mono", monospace;
  font-size: 13px;
  line-height: 1.55;
  white-space: pre;
}

.team-card {
  border-radius: 18px;
}

.team-avatar {
  box-shadow: none;
}

.collaborator-chip {
  border: 1px solid rgba(148, 163, 184, 0.24);
  background: rgba(255, 255, 255, 0.76);
  border-radius: 16px;
}

.card--trail,
.publication-card,
.pipeline-step {
  color: var(--text);
}

.card--trail:hover,
.card--trail:focus-within,
.publication-card:hover,
.publication-card:focus-within,
.pipeline-step:hover,
.pipeline-step:focus-within {
  background: #ffffff;
  color: var(--text);
}

.card--trail:hover *,
.card--trail:focus-within *,
.publication-card:hover *,
.publication-card:focus-within *,
.pipeline-step:hover *,
.pipeline-step:focus-within * {
  color: inherit;
}

.card--trail:hover .kicker,
.card--trail:focus-within .kicker,
.publication-card:hover .publication-meta,
.publication-card:focus-within .publication-meta,
.team-card:hover .affiliation,
.team-card:focus-within .affiliation {
  color: var(--accent-hover);
}

.collaborator-chip:hover,
.collaborator-chip:focus-within {
  color: var(--text);
}

.collaborator-chip:hover span,
.collaborator-chip:focus-within span {
  color: var(--muted);
}

.team-card:hover .team-role,
.team-card:focus-within .team-role {
  color: var(--text);
  background: rgba(255, 255, 255, 0.94);
}

.card--trail:hover p:not(.kicker),
.card--trail:focus-within p:not(.kicker),
.publication-card:hover p:not(.publication-meta),
.publication-card:focus-within p:not(.publication-meta) {
  color: var(--muted);
}

.publication-actions a:hover,
.publication-actions a:focus,
.publication-actions button:hover,
.publication-actions button:focus,
.team-links a:hover,
.team-links a:focus {
  color: var(--accent-hover);
}

#features .card--trail,
#models .model-family-card,
.architecture-card {
  padding-top: 20px;
}

#features .card--trail::after {
  content: "extension";
  position: absolute;
  display: grid;
  place-items: center;
  width: 42px;
  height: 42px;
  border-radius: 12px;
  background: var(--brand-gradient);
  font-family: "Material Symbols Outlined";
  font-size: 24px;
  font-weight: 300;
  font-feature-settings: "liga";
}

#models .model-family-card::after,
.architecture-card::after {
  content: "extension";
  position: absolute;
  left: 20px;
  display: grid;
  place-items: center;
  width: 42px;
  height: 42px;
  border-radius: 12px;
  background: var(--brand-gradient);
  font-family: "Material Symbols Outlined";
  font-size: 24px;
  font-weight: 300;
  font-feature-settings: "liga";
}

#features .card--trail::after {
  color: #ffffff;
  box-shadow: none;
}

#models .model-family-card::after,
.architecture-card::after {
  top: 20px;
  color: #ffffff;
  box-shadow: none;
}

#features .card--trail::after {
  top: 24px;
  left: 24px;
}

#features .card--trail:nth-child(1)::after {
  content: "edit_note";
  background: var(--blue);
}

#features .card--trail:nth-child(2)::after {
  content: "verified";
  background: var(--accent);
}

#features .card--trail:nth-child(3)::after {
  content: "manufacturing";
  background: var(--pink);
}

#models .model-family-card:nth-child(1)::after {
  content: "account_tree";
  background: var(--blue);
}

#models .model-family-card:nth-child(2)::after {
  content: "data_object";
  background: var(--pink);
}

.architecture-card:nth-child(1)::after {
  content: "schema";
  background: var(--blue);
}

.architecture-card:nth-child(2)::after {
  content: "settings";
  background: var(--accent);
}

.architecture-card:nth-child(3)::after {
  content: "science";
  background: var(--pink);
}

#features .card--trail .kicker,
#models .model-family-card .kicker,
.architecture-card .kicker {
  display: flex;
  width: 100%;
  min-width: 0;
  min-height: 42px;
  padding: 0 0 0 56px;
  margin: 0 0 16px;
  align-items: center;
  text-align: left;
  white-space: normal;
  color: var(--text);
  background: transparent;
  border: 0;
  border-radius: 0;
  letter-spacing: .04em;
}

#features .card--trail:hover .kicker,
#features .card--trail:focus-within .kicker,
#models .model-family-card:hover .kicker,
#models .model-family-card:focus-within .kicker,
.architecture-card:hover .kicker,
.architecture-card:focus-within .kicker {
  color: var(--text);
  background: transparent;
}

footer {
  margin: 44px auto 0;
  padding-block: 28px;
  background: radial-gradient(circle at 18% 0%, rgba(37, 99, 235, 0.10), transparent 22rem),
    radial-gradient(circle at 82% 0%, rgba(219, 39, 119, 0.08), transparent 22rem),
    rgba(255, 255, 255, 0.58);
  border-top: 1px solid rgba(148, 163, 184, 0.22);
  color: var(--text);
  text-align: left;
}

.footer-inner {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto auto;
  align-items: center;
  gap: 18px;
  padding: 0;
  border: 0;
  border-radius: 0;
  background: transparent;
  box-shadow: none;
}

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

.footer-logo {
  width: fit-content;
}

.footer-brand p,
footer .small {
  margin: 0;
  color: var(--muted);
  font-size: 14px;
}

.footer-links {
  display: flex;
  flex-wrap: wrap;
  justify-content: flex-end;
  gap: 8px;
  margin: 0;
}

.footer-links a {
  padding: 7px 11px;
  border-radius: 999px;
  color: var(--muted);
  font-size: 14px;
  font-weight: 700;
  text-decoration: none;
  opacity: 1;
}

.footer-links a:hover,
.footer-links a:focus {
  background: rgba(124, 58, 237, 0.08);
  color: var(--accent-hover);
}

.brand,
.menu-btn,
nav a,
.pill,
.publication-actions a,
.publication-actions button,
.team-links a,
.footer-links a,
.architecture-doc-link,
.workbench-full-link {
  min-width: 44px;
  min-height: 44px;
}

.brand {
  display: inline-flex;
  align-items: center;
}

.menu-btn {
  align-items: center;
}

nav a,
.publication-actions a,
.publication-actions button,
.footer-links a,
.architecture-doc-link,
.workbench-full-link {
  display: inline-flex;
  align-items: center;
}

.menu-btn,
.team-links a {
  justify-content: center;
}

@media (max-width: 520px) {
  .container.nav {
    width: min(100% - 20px, 1150px);
    gap: 8px;
    padding-block: 10px;
  }

  .nav .menu {
    flex: 0 0 auto;
    margin: 0;
  }

  .brand {
    flex: 0 0 auto;
    gap: 6px;
    font-size: 18px;
    white-space: nowrap;
  }

  .brand::before {
    width: 34px;
    height: 34px;
    border-radius: 10px;
    filter: drop-shadow(0 8px 14px rgba(124, 58, 237, 0.24));
  }

  .menu-btn {
    width: 44px;
    height: 44px;
    padding: 0;
    border: 1px solid rgba(148, 163, 184, 0.24);
    border-radius: 14px;
    background: rgba(255, 255, 255, 0.92);
    box-shadow: 0 10px 24px rgba(15, 23, 42, 0.08);
    color: var(--text);
  }

  .menu-btn .material-symbols-outlined {
    font-size: 23px;
    line-height: 1;
    background: var(--brand-gradient);
    -webkit-background-clip: text;
    background-clip: text;
    color: transparent;
  }

  .nav > .cta {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    flex: 0 1 auto;
    min-width: 0;
    min-height: 44px;
    padding: 0 14px 1px;
    font-size: 14px;
    line-height: 1.2;
    letter-spacing: -0.03em;
    white-space: nowrap;
  }

  .nav > .cta.cta--primary:hover,
  .nav > .cta.cta--primary:focus {
    padding-left: 14px;
  }

  nav ul {
    top: 66px;
    left: 10px;
    right: 10px;
    padding: 10px;
    gap: 6px;
    border: 1px solid rgba(148, 163, 184, 0.22);
    border-radius: 18px;
    background: rgba(255, 255, 255, 0.94);
    box-shadow: 0 18px 44px rgba(15, 23, 42, 0.12);
    backdrop-filter: blur(14px);
  }

  nav a {
    width: 100%;
    justify-content: flex-start;
    padding: 0 14px;
    border-radius: 14px;
    color: var(--text);
    font-size: 14px;
  }

  nav a:hover,
  nav a:focus {
    background: rgba(124, 58, 237, 0.08);
    color: var(--accent-hover);
  }

}

@media (max-width: 360px) {
  .brand {
    font-size: 17px;
  }

  .brand::before {
    width: 32px;
    height: 32px;
  }

  .nav > .cta {
    padding-inline: 11px;
    font-size: 13px;
  }

}

@media (max-width: 800px) {
  .footer-inner {
    grid-template-columns: 1fr;
    justify-items: start;
  }

  .footer-links {
    justify-content: flex-start;
  }

}

@media (max-width: 640px) {
  footer {
    margin-top: 16px;
    padding-block: 16px;
    padding-bottom: 32px;
  }

  .footer-inner {
    grid-template-columns: minmax(0, 1fr) auto;
    gap: 6px 12px;
    align-items: center;
  }

  .footer-brand {
    display: contents;
  }

  .footer-logo {
    grid-area: 1 / 1;
    min-height: 32px;
    gap: 6px;
    font-size: 17px;
  }

  .footer-logo::before {
    width: 26px;
    height: 26px;
    border-radius: 8px;
    filter: none;
  }

  .footer-brand p {
    grid-area: 2 / 1 / 3 / -1;
    font-size: 13px;
    line-height: 1.4;
  }

  .footer-links {
    grid-area: 3 / 1 / 4 / -1;
    display: grid;
    grid-template-columns: repeat(3, max-content);
    gap: 0 6px;
    margin-top: 2px;
  }

  .footer-links a {
    width: auto;
    min-width: 0;
    min-height: 32px;
    padding: 4px;
    white-space: nowrap;
  }

  footer .small {
    grid-area: 1 / 2;
    justify-self: end;
    font-size: 12px;
    line-height: 1.4;
    white-space: nowrap;
  }
}

@media (max-width: 1100px) {
  .hero-workflow {
    grid-template-columns: 1fr;
    grid-template-rows: none;
    gap: 12px;
  }

  .hero-workflow-title {
    grid-column: 1 / -1;
    grid-row: auto;
    padding: 0;
    border: 0;
  }

  .hero-step {
    display: block;
    grid-row: auto;
    grid-template-rows: none;
  }

  .hero-step > div {
    display: block;
  }

  .hero-step strong {
    margin-bottom: 6px;
  }

  .hero-step-arrow {
    grid-row: auto;
    transform: rotate(90deg);
  }

}

@media (max-width: 760px) {
  .hero-section {
    padding-block: 28px 24px;
  }

  .hero .hero-title {
    font-size: clamp(58px, 19vw, 86px);
  }

  .hero-subtitle {
    font-size: clamp(30px, 10vw, 42px);
  }

  .lead {
    font-size: 17px;
  }

  .hero-workflow {
    grid-template-columns: 1fr;
  }

}

.publication-card .bibtex-block,
.publication-card .bibtex-block code,
.publication-card:hover .bibtex-block,
.publication-card:hover .bibtex-block code,
.publication-card:focus-within .bibtex-block,
.publication-card:focus-within .bibtex-block code {
  background: #111827 !important;
  color: #f8fafc !important;
}

.menu-btn {
  display: none;
}

@media (max-width: 860px) {
  .menu-btn {
    display: inline-flex;
  }

}

#menu-list > .nav-socials {
  display: flex;
  gap: 4px;
}

#menu-list .nav-socials a {
  justify-content: center;
  width: 44px;
  padding: 0;
  border: 1px solid transparent;
  background: transparent;
  color: var(--muted);
}

#menu-list .nav-socials a:is(:hover, :focus) {
  background: transparent;
  box-shadow: none;
}

#menu-list .nav-socials .social-interior,
#menu-list .nav-socials a:is(:hover, :focus) .social-shell {
  opacity: 0;
}

#menu-list .nav-socials a:is(:hover, :focus) .social-interior {
  opacity: 1;
}

@media (prefers-reduced-motion: no-preference) {
  #menu-list .nav-socials .social-shell,
  #menu-list .nav-socials .social-interior {
    transition: opacity 180ms ease;
  }

}

@media (forced-colors: active) {
  #menu-list .nav-socials .social-background {
    fill: Canvas;
  }

  #menu-list .nav-socials .social-shell,
  #menu-list .nav-socials .social-interior {
    fill: LinkText;
  }

}

.nav-primary-links {
  display: flex;
  align-items: center;
  gap: 10px;
}

@media (max-width: 860px) {
  .nav-primary-links {
    flex-direction: column;
    align-items: stretch;
    gap: inherit;
  }

}

@media (width > 860px) {
  .nav .menu {
    position: static;
    transform: none;
    flex: 0 0 auto;
    margin-inline: auto 8px;
  }

  .nav .menu nav {
    width: auto;
  }

  #menu-list {
    align-items: center;
  }

  #menu-list > .nav-primary-links {
    position: absolute;
    top: 50%;
    left: 50%;
    width: max-content;
    transform: translate(-50%, -50%);
  }

  #menu-list > .nav-socials {
    margin-inline-start: 0;
  }

}

@media (860px < width <= 980px) {
  .nav > .cta {
    padding-inline: 14px;
    font-size: 14px;
  }

  .nav > .cta:is(:hover, :focus) {
    padding-left: 14px;
  }

}

body {
  background: radial-gradient(circle at 18% 4rem, rgba(37, 99, 235, 0.13), transparent 24rem),
    radial-gradient(circle at 82% 8rem, rgba(219, 39, 119, 0.12), transparent 24rem),
    radial-gradient(circle at 50% 30rem, rgba(124, 58, 237, 0.075), transparent 30rem),
    linear-gradient(180deg, #fbfdff 0%, #f8fafc 34%, #f6f3ff 100%);
}

.hero-section {
  position: relative;
  overflow: hidden;
}

.hero-section::before,
.hero-section::after {
  content: "";
  position: absolute;
  pointer-events: none;
  border-radius: 999px;
  filter: blur(2px);
  opacity: 0.72;
}

.hero-section::before {
  width: min(42vw, 420px);
  height: min(42vw, 420px);
  top: 16px;
  right: -140px;
  background: radial-gradient(circle, rgba(219, 39, 119, 0.16), transparent 68%);
}

.hero-section::after {
  width: min(46vw, 460px);
  height: min(46vw, 460px);
  left: -150px;
  bottom: -130px;
  background: radial-gradient(circle, rgba(37, 99, 235, 0.13), transparent 68%);
}

.hero > *,
.stack-lg > .container {
  position: relative;
  z-index: 1;
}

.card--trail,
.publication-card,
.pipeline-step {
  backdrop-filter: blur(18px);
  transition: transform 180ms ease,
    box-shadow 180ms ease,
    border-color 180ms ease,
    background 180ms ease;
}

:is(.card--trail, .workbench-step-card, .publication-card, .pipeline-step).has-actions:is(:hover, :focus-within) {
  transform: translateY(-2px);
  box-shadow: 0 22px 52px rgba(15, 23, 42, 0.12);
}

#features .grid-3 {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  align-items: stretch;
  gap: 16px;
}

#features .card--trail:nth-child(1) {
  min-height: 230px;
}

#features .card--trail {
  min-height: 230px;
  display: flex;
  flex-direction: column;
  justify-content: flex-start;
  padding: 24px;
  isolation: isolate;
  overflow: hidden;
}

#features .card--trail p:not(.kicker) {
  margin-top: 0;
  font-size: 17px;
  line-height: 1.58;
}

#features {
  padding-top: 18px;
}

.hero-copy {
  animation: vitamin-rise 520ms ease both;
}

.hero-workflow {
  animation: vitamin-rise 620ms 90ms ease both;
}

.stack-lg > .container {
  animation: vitamin-rise 520ms ease both;
  animation-timeline: view();
  animation-range: entry 0% cover 24%;
}

@keyframes vitamin-rise {
  from {
    opacity: 0;
    transform: translateY(14px);
  }

  to {
    opacity: 1;
    transform: translateY(0);
  }

}

@media (max-width: 900px) {
  #features .grid-3 {
    grid-template-columns: 1fr;
  }

  #features .card--trail,
  #features .card--trail:nth-child(1) {
    min-height: 0;
  }

}

@media (prefers-reduced-motion: reduce) {
  .hero-copy,
  .hero-workflow,
  .stack-lg > .container {
    animation: none !important;
  }

  .card--trail,
  .publication-card,
  .pipeline-step,
  .hero-workflow {
    transition: none !important;
  }

}

@media (max-width: 900px) {
  .hero-copy,
  .hero-workflow,
  .stack-lg > .container {
    animation: none !important;
    opacity: 1 !important;
    transform: none !important;
  }

  .card--trail,
  .publication-card,
  .pipeline-step,
  .hero-workflow {
    backdrop-filter: none;
  }

}

#features .card--trail,
.architecture-card {
  background: #ffffff;
}

.architecture-card {
  isolation: isolate;
  overflow: hidden;
}

.publication-card {
  min-width: 0;
}

.bibtex-block {
  max-width: 100%;
  min-width: 0;
  overflow-x: auto;
  -webkit-overflow-scrolling: touch;
}

.bibtex-block code {
  display: block;
  width: max-content;
  min-width: 100%;
}

@media (max-width: 760px) {
  .publication-card {
    overflow: hidden;
  }

  .bibtex-block {
    width: 100%;
    max-width: calc(100vw - 40px);
    padding: 12px;
    border-radius: 14px;
    font-size: 12px;
  }

  .bibtex-block code {
    font-size: 12px;
    line-height: 1.5;
  }

}

.team-card {
  position: relative;
  min-height: 156px;
  padding-right: 64px;
}

.team-links {
  position: absolute;
  top: 50%;
  right: 20px;
  display: grid;
  grid-template-columns: 1fr;
  gap: 4px;
  transform: translateY(-50%);
}

.team-links a {
  width: 44px;
  height: 44px;
  border: 0;
  border-radius: 0;
  background: transparent;
  box-shadow: none;
}

.team-links a:hover,
.team-links a:focus {
  background: transparent;
  transform: translateY(-1px);
}

@media (max-width: 900px) {
  .team-card {
    min-height: 156px;
    padding-right: 64px;
  }

}

@media (max-width: 520px) {
  .team-card {
    min-height: 156px;
    padding-right: 64px;
  }

  .team-links {
    right: 16px;
    gap: 4px;
  }

  .team-links a {
    width: 44px;
    height: 44px;
    min-width: 44px;
    min-height: 44px;
  }

  .team-links .material-symbols-outlined {
    font-size: 22px;
  }

}

.updates-fab {
  position: fixed;
  right: 22px;
  bottom: 22px;
  z-index: 60;
  display: inline-flex;
  align-items: center;
  gap: 10px;
  min-height: 48px;
  padding: 0 18px;
  border: 1px solid rgba(148, 163, 184, 0.24);
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.9);
  color: var(--text);
  box-shadow: 0 18px 42px rgba(15, 23, 42, 0.14);
  backdrop-filter: blur(18px);
  cursor: pointer;
  font: inherit;
  font-weight: 800;
  letter-spacing: -0.02em;
  transition: transform 180ms ease, box-shadow 180ms ease, border-color 180ms ease;
}

.updates-fab:hover,
.updates-fab:focus-visible {
  border-color: rgba(124, 58, 237, 0.30);
  transform: translateY(-2px);
  box-shadow: 0 22px 52px rgba(15, 23, 42, 0.18);
}

.updates-backdrop {
  position: fixed;
  inset: 0;
  z-index: 70;
  background: rgba(15, 23, 42, 0.24);
  backdrop-filter: blur(3px);
}

.updates-panel {
  position: fixed;
  top: auto;
  right: 22px;
  bottom: 84px;
  z-index: 80;
  display: grid;
  grid-template-rows: auto minmax(0, 1fr);
  width: min(420px, calc(100vw - 36px));
  max-height: min(560px, calc(100vh - 116px));
  border: 1px solid rgba(148, 163, 184, 0.26);
  border-radius: 26px;
  background: radial-gradient(circle at 20% 0, rgba(37, 99, 235, 0.12), transparent 16rem),
    radial-gradient(circle at 100% 12%, rgba(219, 39, 119, 0.12), transparent 16rem),
    rgba(255, 255, 255, 0.96);
  box-shadow: 0 28px 72px rgba(15, 23, 42, 0.22);
  overflow: hidden;
  transform: translateY(16px);
  opacity: 0;
  pointer-events: none;
  transition: transform 220ms ease, opacity 220ms ease;
}

.updates-panel.is-open {
  transform: translateY(0);
  opacity: 1;
  pointer-events: auto;
}

.updates-panel-header {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 18px;
  padding: 18px 18px 12px;
  border-bottom: 1px solid rgba(148, 163, 184, 0.20);
}

.updates-kicker {
  margin: 0 0 4px;
  color: var(--accent-hover);
  font-size: 12px;
  font-weight: 850;
  letter-spacing: .08em;
  text-transform: uppercase;
}

.updates-panel h2 {
  margin: 0;
  font-size: 28px;
  line-height: 1;
  letter-spacing: -0.055em;
}

.updates-close {
  display: inline-grid;
  place-items: center;
  flex: 0 0 44px;
  width: 44px;
  height: 44px;
  border: 0;
  border-radius: 14px;
  background: rgba(255, 255, 255, 0.78);
  color: var(--text);
  cursor: pointer;
}

.updates-close:hover,
.updates-close:focus-visible {
  background: rgba(124, 58, 237, 0.10);
  color: var(--accent-hover);
}

.updates-list {
  display: grid;
  gap: 9px;
  padding: 12px;
  overflow-y: auto;
  -webkit-overflow-scrolling: touch;
}

.updates-item {
  display: grid;
  row-gap: 3px;
  align-items: start;
  padding: 12px 13px 13px;
  border: 1px solid rgba(148, 163, 184, 0.22);
  border-radius: 16px;
  background: rgba(255, 255, 255, 0.90);
  box-shadow: 0 8px 20px rgba(15, 23, 42, 0.05);
}

.updates-meta {
  grid-column: 1;
  margin: 0;
  color: var(--accent-hover);
  font-size: 12px;
  font-weight: 850;
  letter-spacing: .03em;
}

.updates-item h3 {
  grid-column: 1;
  margin: 0;
  font-size: 16px;
  line-height: 1.25;
  letter-spacing: -0.03em;
  white-space: pre-line;
}

.updates-item p:not(.updates-meta) {
  grid-column: 1;
  margin: 0;
  color: var(--muted);
  font-size: 13px;
  line-height: 1.38;
}

.updates-title-link {
  color: var(--accent-hover);
  font-weight: 900;
  text-decoration: none;
  transition: color 160ms ease;
}

.updates-title-link:hover,
.updates-title-link:focus-visible {
  text-decoration: underline;
  text-underline-offset: 4px;
}

@media (max-width: 760px) {
  .updates-fab {
    right: 16px;
    bottom: 16px;
    min-height: 46px;
    padding-inline: 15px;
  }

  .updates-fab-label {
    max-width: 11ch;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
  }

  .updates-panel {
    top: auto;
    right: 10px;
    bottom: 10px;
    left: 10px;
    width: auto;
    max-height: min(78vh, 680px);
    border-radius: 24px;
    transform: translateY(18px);
  }

  .updates-panel.is-open {
    transform: translateY(0);
  }

  .updates-panel-header {
    padding: 18px 18px 14px;
  }

  .updates-list {
    padding: 10px;
  }

  .updates-item {
    padding: 10px 11px;
  }

  .updates-panel h2 {
    font-size: 27px;
  }

}

@media (prefers-reduced-motion: reduce) {
  .updates-fab,
  .updates-panel {
    transition: none !important;
  }

}

.workbench-full-link,
.architecture-doc-link {
  padding-inline: 12px;
  border-radius: 999px;
}

:is(button, a.cta, .publication-actions a, .nav-socials a, .workbench-full-link, .architecture-doc-link):is(:hover, :focus) {
  background: #ffffff;
  border-color: transparent;
  color: var(--accent);
  box-shadow: inset 0 0 0 1px rgba(124, 58, 237, 0.34);
  transform: translateY(-1px);
  filter: none;
  text-shadow: none;
  text-decoration: none;
}

:is(button, a.cta, .publication-actions a, .nav-socials a, .workbench-full-link, .architecture-doc-link):is(:hover, :focus) > .button-label,
.workbench-tab[aria-selected="true"] > .button-label {
  background: var(--brand-gradient);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
  -webkit-text-fill-color: transparent;
  text-shadow: none;
}

@media (prefers-reduced-motion: no-preference) {
  :is(button, a.cta, .publication-actions a, .nav-socials a, .workbench-full-link, .architecture-doc-link) {
    transition: background-color 180ms ease,
      border-color 180ms ease,
      box-shadow 180ms ease,
      transform 180ms ease;
  }

}

@media (prefers-reduced-motion: reduce) {
  :is(button, a.cta, .publication-actions a, .nav-socials a, .workbench-full-link, .architecture-doc-link):is(:hover, :focus) {
    transform: none;
  }

}

@media (forced-colors: active) {
  :is(button, a.cta, .publication-actions a, .nav-socials a, .workbench-full-link, .architecture-doc-link):is(:hover, :focus) > .button-label,
  .workbench-tab[aria-selected="true"] > .button-label {
    background: none;
    color: ButtonText;
    -webkit-text-fill-color: ButtonText;
  }

}

.architecture-pipeline {
  width: 100%;
  max-width: 1080px;
  margin-inline: auto;
  column-gap: 14px;
  grid-template-columns: minmax(0, 1fr) 24px minmax(0, 1fr) 24px minmax(0, 1fr)
    24px minmax(0, 1fr) 24px minmax(0, 1fr);
}

.architecture-pipeline .pipeline-step {
  min-width: 0;
  align-items: center;
  justify-content: center;
  padding: 14px 16px;
  border: 1px solid rgba(148, 163, 184, 0.24);
  border-radius: 14px;
  background: #ffffff;
  box-shadow: 0 4px 14px rgba(15, 23, 42, 0.035);
  text-align: center;
  transform: none;
}

.architecture-pipeline .pipeline-step strong {
  font-family: inherit;
  font-size: 15px;
  font-weight: 800;
  text-wrap: balance;
}

.architecture-pipeline .flow-arrow {
  align-self: center;
  justify-self: center;
  width: 24px;
  height: 24px;
  font-size: 18px;
  font-weight: 500;
}

@media (max-width: 1100px) {
  .architecture-pipeline {
    grid-template-columns: 1fr;
    gap: 12px;
  }

}

#team .team-grid[hidden],
#team .collaborator-grid[hidden],
.team-group-toggle[hidden],
.team-group-title[hidden] {
  display: none;
}

.team-group-toggle {
  display: flex;
  align-items: center;
  justify-content: space-between;
  width: 100%;
  min-height: 52px;
  padding: 12px 16px;
  border: 1px solid var(--line);
  border-radius: 14px;
  background: #ffffff;
  color: var(--accent);
  font: inherit;
  font-weight: 800;
  cursor: pointer;
}

.team-group-toggle:focus-visible {
  outline: 2px solid var(--accent);
  outline-offset: 3px;
}

.team-group-chevron {
  font-size: 24px;
  line-height: 1;
}

.team-group-toggle[aria-expanded="true"] .team-group-chevron {
  transform: rotate(180deg);
}

#team .team-grid {
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 12px;
}

#team .team-card {
  align-content: center;
  gap: 0;
  min-height: 112px;
  padding: 14px 34px 14px 10px;
}

#team .team-card-header {
  gap: 6px;
  min-height: 64px;
  padding-top: 0;
}

#team .team-card-identity {
  overflow-wrap: normal;
}

#team .team-card h4 {
  font-size: 16px;
  white-space: nowrap;
}

#team .team-links {
  position: absolute;
  top: 50%;
  right: 8px;
  display: grid;
  grid-template-columns: 1fr;
  gap: 2px;
  min-height: 0;
  margin: 0;
  transform: translateY(-50%);
}

#team .team-links a {
  width: 24px;
  height: 24px;
  min-width: 24px;
  min-height: 24px;
}

#team .team-links .material-symbols-outlined {
  font-size: 18px;
}

#team .collaborator-grid {
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 10px;
}

#team .collaborator-chip {
  gap: 10px;
  padding: 10px;
}

@media (max-width: 1250px) {
  #team .team-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

}

@media (max-width: 1000px) {
  #team .collaborator-grid {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }

}

@media (max-width: 760px) {
  #team .collaborator-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

}

@media (max-width: 640px) {
  .stack-lg {
    padding-block: 28px;
  }

  .stack-lg h2 {
    font-size: clamp(28px, 7vw, 32px);
    line-height: 1.12;
  }

  .section-lead {
    margin-bottom: 16px;
    font-size: 16px;
  }

  #team .team-subtitle {
    margin: 20px 0 10px;
    font-size: 18px;
  }

  #team .team-grid {
    grid-template-columns: 1fr;
    gap: 10px;
  }

  #team .collaborator-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 8px;
  }

  #team .collaborator-chip {
    min-height: 66px;
    gap: 8px;
    padding: 10px 8px;
    border-radius: 12px;
    box-shadow: none;
  }

  #team .collaborator-avatar-frame {
    width: 40px;
    height: 40px;
    flex-basis: 40px;
  }

  #team .collaborator-avatar {
    width: 32px;
    height: 32px;
  }

  #team .collaborator-chip strong {
    font-size: 14px;
    line-height: 1.3;
    overflow-wrap: normal;
  }

}

@media (min-width: 1200px) {
  .desktop-copy-lines > span {
    display: block;
  }

}

.architecture-pipeline .pipeline-label-part {
  white-space: nowrap;
}

#team .team-links a:is(:hover, :focus) .material-symbols-outlined {
  background: var(--brand-gradient);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
  -webkit-text-fill-color: transparent;
}

@media (forced-colors: active) {
  #team .team-links a:is(:hover, :focus) .material-symbols-outlined {
    background: none;
    color: LinkText;
    -webkit-text-fill-color: LinkText;
  }

}

.hero-copy .lead {
  max-width: 860px;
  text-wrap: balance;
}

.hero-copy .lead-verb {
  white-space: nowrap;
}

@media (prefers-reduced-motion: reduce) {
  :is(.card--trail, .workbench-step-card, .publication-card, .pipeline-step).has-actions:is(:hover, :focus-within) {
    transform: none;
  }

}

.updates-year-group {
  display: grid;
  gap: 10px;
}

.updates-year-label {
  margin: 0;
  padding: 3px 4px 0;
  color: var(--muted);
  font-size: 12px;
  font-weight: 850;
  letter-spacing: .04em;
}

.workbench-showcase {
  gap: 0;
  isolation: isolate;
}

.workbench-tabs {
  position: relative;
  z-index: 1;
}

.workbench-tab {
  position: relative;
  margin-bottom: 12px;
  border-color: var(--line);
}

.workbench-tab-arrow {
  margin-bottom: 12px;
}

.workbench-tab[aria-selected="true"] {
  z-index: 2;
  margin-bottom: 0;
  padding-bottom: 27px;
  border-color: var(--line);
  border-bottom: 0;
  border-radius: 14px 14px 0 0;
  box-shadow: none;
}

.workbench-tab[aria-selected="true"]::after {
  content: "";
  position: absolute;
  right: 0;
  bottom: -2px;
  left: 0;
  height: 3px;
  background: #ffffff;
  pointer-events: none;
}

.workbench-showcase .workbench-tab[aria-selected="true"]:is(:hover, :focus) {
  border-color: var(--line);
  background: #ffffff;
  box-shadow: none;
  transform: none;
}

.workbench-tab[aria-selected="true"]:focus-visible {
  outline-offset: -5px;
}

.workbench-preview {
  max-width: 1080px;
}

.workbench-showcase[data-active-step="model"] .workbench-preview {
  border-top-left-radius: 0;
}

.workbench-showcase[data-active-step="results"] .workbench-preview {
  border-top-right-radius: 0;
}

@media (max-width: 860px) {
  .workbench-showcase {
    padding: 12px;
    border: 1px solid var(--line);
    border-radius: 18px;
    background: #ffffff;
    box-shadow: 0 8px 24px rgba(15, 23, 42, 0.04);
  }

  .workbench-tab,
  .workbench-tab[aria-selected="true"] {
    margin-bottom: 0;
    padding: 13px 14px;
  }

  .workbench-tab[aria-selected="true"] {
    border: 1px solid rgba(124, 58, 237, 0.34);
    border-radius: 14px;
  }

  .workbench-tab[aria-selected="true"]::after {
    display: none;
  }

  .workbench-tab-arrow {
    margin-bottom: 0;
  }

  .workbench-preview {
    padding: 6px 0 0;
    border: 0;
    border-radius: 0;
    box-shadow: none;
  }

}

@media (max-width: 480px) {
  .workbench-showcase {
    padding: 10px;
  }

  .workbench-tab,
  .workbench-tab[aria-selected="true"] {
    padding: 10px 8px;
  }

}

@media (forced-colors: none) {
  #updatesButton:not(:hover):not(:focus-visible) > .button-label {
    background: none;
    color: var(--text);
    -webkit-text-fill-color: var(--text);
  }

}

#workbench-panel-verification img {
  max-width: min(100%, 680px);
}

@media (max-width: 520px) {
  .hero-cta {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 10px;
    max-width: 360px;
    margin-inline: auto;
  }

  .hero-cta > .cta--primary {
    grid-column: 1 / -1;
    justify-self: center;
  }

  .hero-cta > .cta:not(.cta--primary) {
    justify-content: center;
    padding-inline: 10px;
    font-size: 14px;
  }

  .hero-cta > .cta:not(.cta--primary):is(:hover, :focus) {
    padding-left: 10px;
  }

}
