:root {
  --ink: #152b39;
  --muted: #587180;
  --surface: #ffffff;
  --surface-soft: #f5f8f7;
  --line: #d9e5e4;
  --teal: #007f80;
  --teal-dark: #005e62;
  --teal-soft: #dff4f0;
  --orange: #e2743b;
  --orange-soft: #fff0e7;
  --yellow: #f5bd42;
  --blue: #275d84;
  --blue-soft: #e9f2f7;
  --shadow: 0 18px 45px rgba(18, 54, 67, 0.1);
  --radius: 28px;
}

*,
*::before,
*::after {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  color: var(--ink);
  background:
    radial-gradient(circle at 95% 4%, rgba(245, 189, 66, 0.16), transparent 17rem),
    radial-gradient(circle at 8% 16%, rgba(0, 127, 128, 0.11), transparent 22rem),
    var(--surface-soft);
  font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  font-size: 17px;
  line-height: 1.65;
  text-rendering: optimizeLegibility;
  overflow-x: hidden;
}

main,
section,
.hero-layout > *,
.section-heading > *,
.architecture-layout > *,
.collection-card > *,
.closing-card > *,
.credits-layout > * {
  min-width: 0;
}

img {
  display: block;
  max-width: 100%;
}

a {
  color: inherit;
}

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

:focus-visible {
  outline: 3px solid var(--yellow);
  outline-offset: 4px;
}

.skip-link {
  position: fixed;
  top: 10px;
  left: 12px;
  z-index: 1000;
  padding: 10px 14px;
  border-radius: 8px;
  color: #fff;
  background: var(--teal-dark);
  font-weight: 800;
  transform: translateY(-150%);
  transition: transform 0.2s ease;
}

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

.shell {
  width: min(1220px, calc(100% - 44px));
  margin: 0 auto;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 100;
  border-bottom: 1px solid rgba(217, 229, 228, 0.9);
  background: rgba(245, 248, 247, 0.92);
  backdrop-filter: blur(18px);
}

.header-inner {
  display: grid;
  grid-template-columns: minmax(240px, 1fr) auto auto auto;
  align-items: center;
  gap: 28px;
  min-height: 82px;
}

.language-switcher {
  display: inline-flex;
  gap: 3px;
  padding: 3px;
  border: 1px solid var(--line);
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.76);
}

.language-link {
  min-width: 31px;
  padding: 3px 6px;
  border-radius: 999px;
  color: var(--muted);
  font-size: 0.68rem;
  font-weight: 900;
  letter-spacing: 0.08em;
  line-height: 1.45;
  text-align: center;
  text-decoration: none;
}

.language-link[aria-current="true"] {
  color: #fff;
  background: var(--teal-dark);
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 15px;
  width: fit-content;
  color: var(--teal-dark);
  font-size: 0.7rem;
  font-weight: 900;
  letter-spacing: 0.14em;
  line-height: 1.3;
  text-decoration: none;
  text-transform: uppercase;
}

.brand img {
  width: 160px;
  height: 42px;
  object-fit: contain;
  object-position: left center;
}

.main-nav {
  display: flex;
  align-items: center;
  gap: 24px;
}

.main-nav a {
  color: var(--muted);
  font-size: 0.78rem;
  font-weight: 800;
  text-decoration: none;
}

.main-nav a:hover {
  color: var(--teal-dark);
}

.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 50px;
  padding: 0 20px;
  border: 1px solid var(--teal);
  border-radius: 999px;
  color: #fff;
  background: var(--teal);
  font-size: 0.86rem;
  font-weight: 900;
  line-height: 1.2;
  text-align: center;
  text-decoration: none;
  transition: transform 0.18s ease, background 0.18s ease, border-color 0.18s ease;
}

.button:hover {
  background: var(--teal-dark);
  border-color: var(--teal-dark);
  transform: translateY(-2px);
}

.button-small {
  min-height: 40px;
  padding: 0 16px;
  font-size: 0.76rem;
}

.button-secondary {
  color: var(--teal-dark);
  background: transparent;
}

.button-secondary:hover {
  color: #fff;
}

.hero {
  padding: 86px 0 106px;
  overflow: hidden;
}

.hero-layout {
  display: grid;
  grid-template-columns: minmax(0, 1.08fr) minmax(430px, 0.92fr);
  align-items: center;
  gap: 66px;
}

.eyebrow {
  margin: 0 0 20px;
  color: var(--teal-dark);
  font-size: 0.69rem;
  font-weight: 950;
  letter-spacing: 0.18em;
  line-height: 1.35;
  text-transform: uppercase;
}

h1,
h2,
h3,
p {
  margin-top: 0;
}

h1 {
  max-width: 760px;
  margin-bottom: 30px;
  font-size: clamp(3.25rem, 6.5vw, 6.4rem);
  font-weight: 850;
  letter-spacing: -0.085em;
  line-height: 0.92;
}

h1 em,
h2 em {
  color: var(--teal);
  font-family: Georgia, "Times New Roman", serif;
  font-size: 1.03em;
  font-weight: 500;
  letter-spacing: -0.075em;
}

h1 em {
  display: block;
  margin-top: 0.04em;
}

h2 {
  margin-bottom: 0;
  font-size: clamp(2.45rem, 4.8vw, 4.75rem);
  font-weight: 850;
  letter-spacing: -0.072em;
  line-height: 0.98;
}

h3 {
  font-size: 1.32rem;
  letter-spacing: -0.035em;
  line-height: 1.18;
}

.hero-lead {
  max-width: 680px;
  margin-bottom: 28px;
  color: var(--muted);
  font-size: clamp(1.05rem, 1.5vw, 1.22rem);
  line-height: 1.75;
}

.button-row {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
}

.hero-note {
  margin: 20px 0 0;
  color: var(--muted);
  font-size: 0.74rem;
  font-weight: 700;
}

.search-window {
  max-width: 100%;
  min-width: 0;
  border: 1px solid rgba(217, 229, 228, 0.95);
  border-radius: 32px;
  background: rgba(255, 255, 255, 0.94);
  box-shadow: var(--shadow);
  overflow: hidden;
  transform: rotate(1deg);
}

.window-bar {
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 17px 20px;
  border-bottom: 1px solid var(--line);
  background: #fbfcfc;
}

.window-dot {
  width: 10px;
  height: 10px;
  border-radius: 50%;
}

.window-dot.orange { background: var(--orange); }
.window-dot.yellow { background: var(--yellow); }
.window-dot.teal { background: var(--teal); }

.window-url {
  margin-left: 8px;
  color: #78909a;
  font-family: ui-monospace, SFMono-Regular, Menlo, monospace;
  font-size: 0.64rem;
}

.window-body {
  padding: 26px;
}

.mock-query {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  padding: 15px 18px;
  border: 1px solid var(--line);
  border-radius: 16px;
  background: var(--surface-soft);
}

.mock-query span {
  color: var(--muted);
  font-size: 0.68rem;
  font-weight: 800;
}

.mock-query strong {
  color: var(--ink);
  font-size: 1.25rem;
}

.mock-columns {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 10px;
  margin-top: 18px;
}

.mock-column {
  min-width: 0;
  padding: 14px;
  border: 1px solid var(--line);
  border-radius: 16px;
  background: #fff;
}

.mock-column.featured {
  border-color: rgba(0, 127, 128, 0.35);
  background: var(--teal-soft);
}

.mock-column span {
  display: block;
  margin-bottom: 2px;
  color: var(--muted);
  font-size: 0.58rem;
  font-weight: 900;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.mock-column strong {
  display: block;
  margin-bottom: 13px;
  font-size: 0.76rem;
}

.mock-column i {
  display: block;
  height: 7px;
  margin-top: 7px;
  border-radius: 999px;
  background: #dbe4e5;
}

.mock-column i:nth-of-type(2) { width: 78%; }
.mock-column i:nth-of-type(3) { width: 58%; }
.mock-column.featured i { background: rgba(0, 127, 128, 0.24); }

.window-caption {
  margin: 18px 2px 0;
  color: var(--muted);
  font-size: 0.74rem;
}

.section {
  padding: 94px 0;
}

.section-heading {
  display: grid;
  grid-template-columns: minmax(0, 1.2fr) minmax(320px, 0.8fr);
  align-items: end;
  gap: 80px;
  margin-bottom: 54px;
}

.section-heading > p,
.section-heading > div:last-child > p,
.architecture-copy > p,
.collection-copy,
.credits-layout > div:last-child,
.closing-card > div:last-child {
  color: var(--muted);
}

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

.problem {
  border-top: 1px solid var(--line);
  background: rgba(255, 255, 255, 0.64);
}

.problem-card,
.method-card {
  min-height: 270px;
  padding: 32px;
  border: 1px solid var(--line);
  border-radius: 24px;
  background: rgba(255, 255, 255, 0.86);
}

.problem-card {
  border-top: 5px solid var(--orange);
}

.problem-card > span {
  display: block;
  margin-bottom: 42px;
  color: var(--orange);
  font-family: ui-monospace, SFMono-Regular, Menlo, monospace;
  font-size: 0.72rem;
  font-weight: 900;
}

.problem-card p,
.method-card p {
  margin-bottom: 0;
  color: var(--muted);
  font-size: 0.92rem;
}

.meaning {
  background: var(--surface-soft);
}

.plain-caveat {
  padding-left: 16px;
  border-left: 3px solid var(--orange);
  color: var(--ink) !important;
  font-weight: 700;
}

.embedding-card {
  display: grid;
  grid-template-columns: 0.8fr 1.2fr;
  gap: 54px;
  margin-bottom: 26px;
  padding: 38px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: #fff;
  box-shadow: 0 12px 30px rgba(18, 54, 67, 0.06);
}

.embedding-definition p:last-child {
  margin-bottom: 0;
  color: var(--muted);
}

.meaning-map {
  position: relative;
  min-height: 310px;
  border-radius: 22px;
  background:
    radial-gradient(circle at center, rgba(0, 127, 128, 0.16), transparent 28%),
    linear-gradient(145deg, var(--surface-soft), var(--teal-soft));
  overflow: hidden;
}

.meaning-map::before,
.meaning-map::after {
  position: absolute;
  inset: 50% auto auto 50%;
  width: 225px;
  height: 225px;
  border: 1px dashed rgba(0, 127, 128, 0.28);
  border-radius: 50%;
  content: "";
  transform: translate(-50%, -50%);
}

.meaning-map::after {
  width: 145px;
  height: 145px;
}

.meaning-node,
.meaning-core {
  position: absolute;
  z-index: 2;
  padding: 8px 12px;
  border: 1px solid rgba(0, 127, 128, 0.18);
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.94);
  box-shadow: 0 7px 18px rgba(18, 54, 67, 0.08);
  font-size: 0.72rem;
  font-weight: 800;
}

.meaning-core {
  top: 50%;
  left: 50%;
  padding: 18px;
  color: #fff;
  background: var(--teal-dark);
  line-height: 1.15;
  text-align: center;
  transform: translate(-50%, -50%);
}

.node-es { top: 16%; left: 10%; }
.node-pt { top: 14%; right: 9%; }
.node-ja { bottom: 17%; left: 13%; }
.node-ar { right: 12%; bottom: 15%; }

.process-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1px;
  margin: 0;
  padding: 1px;
  border-radius: var(--radius);
  background: var(--line);
  list-style: none;
  overflow: hidden;
}

.process-grid li {
  min-height: 220px;
  padding: 28px;
  background: #fff;
}

.process-grid span {
  color: var(--orange);
  font-family: ui-monospace, SFMono-Regular, Menlo, monospace;
  font-size: 0.68rem;
  font-weight: 900;
}

.process-grid h3 {
  margin: 30px 0 8px;
}

.process-grid p {
  margin-bottom: 0;
  color: var(--muted);
  font-size: 0.86rem;
}

.architecture {
  color: #fff;
  background: var(--teal-dark);
}

.architecture-layout {
  display: grid;
  grid-template-columns: minmax(0, 0.8fr) minmax(460px, 1.2fr);
  align-items: center;
  gap: 80px;
}

.architecture h2 {
  margin-bottom: 30px;
  color: #fff;
}

.architecture-copy > p {
  color: rgba(255, 255, 255, 0.75);
}

.yellow-text {
  color: var(--yellow);
}

.architecture-links {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 10px;
  margin-top: 28px;
}

.architecture-links a {
  color: #fff;
  font-size: 0.82rem;
  font-weight: 900;
  text-underline-offset: 4px;
}

.pipeline {
  padding: 34px;
  border: 1px solid rgba(255, 255, 255, 0.2);
  border-radius: 28px;
  background: rgba(255, 255, 255, 0.08);
}

.pipeline > i {
  display: block;
  margin: 5px auto;
  color: var(--yellow);
  font-size: 1.2rem;
  font-style: normal;
  text-align: center;
}

.pipeline-row {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 12px;
}

.pipeline-item {
  display: grid;
  grid-template-columns: auto 1fr;
  column-gap: 14px;
  align-items: center;
  padding: 18px;
  border: 1px solid rgba(255, 255, 255, 0.16);
  border-radius: 18px;
  background: rgba(255, 255, 255, 0.08);
}

.pipeline-item span {
  grid-row: 1 / 3;
  display: grid;
  width: 34px;
  height: 34px;
  border-radius: 50%;
  color: var(--ink);
  background: var(--yellow);
  font-size: 0.64rem;
  font-weight: 950;
  place-items: center;
}

.pipeline-item strong {
  font-size: 0.9rem;
}

.pipeline-item small {
  color: rgba(255, 255, 255, 0.68);
  font-size: 0.7rem;
}

.pipeline-item.accent {
  background: rgba(0, 127, 128, 0.72);
}

.pipeline-item.final {
  background: rgba(245, 189, 66, 0.15);
}

.methods {
  background: #fff;
}

.method-card {
  display: flex;
  flex-direction: column;
  min-height: 330px;
}

.method-card.semantic {
  color: #fff;
  border-color: var(--teal-dark);
  background: var(--teal-dark);
  box-shadow: var(--shadow);
  transform: translateY(-10px);
}

.method-card.semantic p {
  color: rgba(255, 255, 255, 0.75);
}

.method-number {
  margin-bottom: 42px !important;
  color: var(--orange) !important;
  font-family: ui-monospace, SFMono-Regular, Menlo, monospace;
  font-size: 0.72rem !important;
  font-weight: 900;
}

.method-card.semantic .method-number {
  color: var(--yellow) !important;
}

.method-card > span {
  display: block;
  margin-top: auto;
  padding-top: 26px;
  color: var(--teal-dark);
  font-size: 0.69rem;
  font-weight: 950;
  letter-spacing: 0.1em;
  text-transform: uppercase;
}

.method-card.semantic > span {
  color: var(--yellow);
}

.collection {
  padding-top: 42px;
  background: #fff;
}

.collection-card {
  display: grid;
  grid-template-columns: minmax(0, 1.1fr) minmax(350px, 0.9fr);
  gap: 70px;
  padding: 52px;
  border-radius: 30px;
  background: var(--orange-soft);
}

.collection-card h2 {
  font-size: clamp(2.35rem, 4.4vw, 4.2rem);
}

.collection-copy ul {
  display: grid;
  gap: 8px;
  margin: 22px 0 0;
  padding: 0;
  list-style: none;
}

.collection-copy li {
  position: relative;
  padding-left: 24px;
  color: var(--ink);
  font-weight: 750;
}

.collection-copy li::before {
  position: absolute;
  top: 0.45em;
  left: 0;
  width: 9px;
  height: 9px;
  border-radius: 50%;
  background: var(--orange);
  content: "";
}

.live-experience {
  background: var(--surface-soft);
}

.topic-tabs {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 12px;
  margin-bottom: 24px;
}

.topic-tab {
  display: flex;
  align-items: center;
  gap: 14px;
  min-height: 68px;
  padding: 12px 18px;
  border: 1px solid var(--line);
  border-radius: 18px;
  color: var(--muted);
  background: #fff;
  font: inherit;
  font-size: 0.88rem;
  font-weight: 850;
  text-align: left;
  cursor: pointer;
}

.topic-tab span {
  color: var(--orange);
  font-family: ui-monospace, SFMono-Regular, Menlo, monospace;
  font-size: 0.65rem;
}

.topic-tab[aria-selected="true"] {
  color: #fff;
  border-color: var(--teal-dark);
  background: var(--teal-dark);
}

.topic-tab[aria-selected="true"] span {
  color: var(--yellow);
}

.topic-panel {
  padding: 34px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: #fff;
  box-shadow: 0 12px 30px rgba(18, 54, 67, 0.05);
}

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

.topic-panel-heading {
  display: flex;
  align-items: end;
  justify-content: space-between;
  gap: 30px;
  margin-bottom: 28px;
}

.topic-panel-heading h3 {
  margin-bottom: 0;
  font-size: 1.85rem;
}

.topic-panel-heading p {
  max-width: 520px;
  margin-bottom: 0;
  color: var(--muted);
  font-size: 0.85rem;
  text-align: right;
}

.query-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 14px;
}

.query-card {
  display: flex;
  flex-direction: column;
  min-height: 218px;
  padding: 20px;
  border: 1px solid var(--line);
  border-radius: 19px;
  background: var(--surface-soft);
  transition: border-color 0.18s ease, transform 0.18s ease, box-shadow 0.18s ease;
}

.query-card:hover {
  border-color: rgba(0, 127, 128, 0.42);
  box-shadow: 0 12px 22px rgba(18, 54, 67, 0.08);
  transform: translateY(-3px);
}

.query-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
}

.language-name {
  color: var(--teal-dark);
  font-size: 0.69rem;
  font-weight: 950;
  letter-spacing: 0.07em;
  text-transform: uppercase;
}

.language-code {
  display: grid;
  width: 30px;
  height: 30px;
  border-radius: 50%;
  color: var(--teal-dark);
  background: var(--teal-soft);
  font-family: ui-monospace, SFMono-Regular, Menlo, monospace;
  font-size: 0.58rem;
  font-weight: 950;
  place-items: center;
}

.query-text {
  margin: 28px 0;
  color: var(--ink);
  font-size: 1.12rem;
  font-weight: 800;
  line-height: 1.35;
}

.query-link {
  display: inline-flex;
  align-items: center;
  width: fit-content;
  margin-top: auto;
  color: var(--teal-dark);
  font-size: 0.72rem;
  font-weight: 950;
  text-decoration: none;
}

.query-link:hover {
  text-decoration: underline;
  text-underline-offset: 4px;
}

.experience-note {
  display: grid;
  grid-template-columns: auto 1fr;
  align-items: center;
  gap: 18px;
  margin-top: 22px;
  padding: 22px 26px;
  border-radius: 18px;
  color: #fff;
  background: var(--ink);
}

.experience-note > span {
  display: grid;
  width: 42px;
  height: 42px;
  border-radius: 50%;
  color: var(--ink);
  background: var(--yellow);
  font-size: 1.1rem;
  font-weight: 900;
  place-items: center;
}

.experience-note p {
  margin-bottom: 0;
  color: rgba(255, 255, 255, 0.78);
  font-size: 0.82rem;
}

.closing {
  padding-bottom: 42px;
  background: var(--surface-soft);
}

.closing-card {
  display: grid;
  grid-template-columns: minmax(0, 1.1fr) minmax(330px, 0.9fr);
  gap: 70px;
  padding: 52px;
  border-radius: 30px;
  color: #fff;
  background: var(--teal-dark);
}

.closing-card h2 {
  color: #fff;
  font-size: clamp(2.35rem, 4.4vw, 4.2rem);
}

.closing-card > div:last-child {
  color: rgba(255, 255, 255, 0.75);
}

.button-light {
  margin-top: 12px;
  color: var(--teal-dark);
  border-color: #fff;
  background: #fff;
}

.button-light:hover {
  color: #fff;
  border-color: var(--yellow);
  background: transparent;
}

.credits {
  background: var(--surface-soft);
}

.credits-layout {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(350px, 0.8fr);
  gap: 90px;
}

.credits-layout h2 {
  font-size: clamp(2.3rem, 4.1vw, 4rem);
}

.text-link {
  color: var(--teal-dark);
  font-size: 0.84rem;
  font-weight: 950;
  text-underline-offset: 4px;
}

.coar-reference {
  margin: 28px 0 0;
  padding-top: 24px;
  border-top: 1px solid var(--line);
  color: var(--muted);
  font-size: 0.82rem;
  line-height: 1.65;
}

.model-reference {
  margin: 28px 0 0;
  color: var(--muted);
  font-size: 0.82rem;
  line-height: 1.65;
}

.coar-reference a,
.model-reference a {
  color: var(--teal-dark);
  font-weight: 800;
  text-underline-offset: 3px;
}

.site-footer {
  padding: 28px 0;
  border-top: 1px solid var(--line);
  background: #fff;
}

.footer-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 30px;
}

.footer-inner > p {
  margin-bottom: 0;
  color: var(--muted);
  font-size: 0.68rem;
  font-weight: 700;
}

.footer-logos {
  display: flex;
  align-items: center;
  gap: 22px;
}

.footer-logos a {
  display: grid;
  min-height: 54px;
  padding: 8px 12px;
  border: 1px solid var(--line);
  border-radius: 12px;
  background: #fff;
  place-items: center;
}

.footer-logos img {
  width: 155px;
  height: 36px;
  object-fit: contain;
}

.footer-logos .ioi-logo {
  width: 138px;
}

.footer-logos .coar-logo {
  width: 124px;
}

@media (max-width: 1060px) {
  .header-inner {
    grid-template-columns: 1fr auto auto;
  }

  .main-nav {
    display: none;
  }

  .hero-layout,
  .architecture-layout {
    grid-template-columns: minmax(0, 1fr);
  }

  .hero-layout {
    gap: 54px;
  }

  .search-window {
    width: 100%;
    transform: none;
  }

  .section-heading {
    grid-template-columns: minmax(0, 1fr);
    gap: 28px;
  }

  .embedding-card,
  .collection-card,
  .closing-card,
  .credits-layout {
    grid-template-columns: minmax(0, 1fr);
    gap: 38px;
  }

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

@media (max-width: 780px) {
  body {
    font-size: 16px;
  }

  .shell {
    width: calc(100% - 28px);
  }

  .header-inner {
    min-height: 70px;
  }

  .brand img {
    width: 132px;
    height: 35px;
  }

  .brand span {
    display: none;
  }

  .hero {
    padding: 64px 0 76px;
  }

  h1 {
    font-size: clamp(2.8rem, 13vw, 4.25rem);
    letter-spacing: -0.072em;
  }

  h1 em {
    letter-spacing: -0.06em;
  }

  .section {
    padding: 72px 0;
  }

  .three-grid,
  .process-grid {
    grid-template-columns: 1fr;
  }

  .problem-card,
  .method-card {
    min-height: 0;
  }

  .problem-card > span,
  .method-number {
    margin-bottom: 26px !important;
  }

  .embedding-card,
  .collection-card,
  .closing-card {
    padding: 28px;
  }

  .method-card.semantic {
    transform: none;
  }

  .pipeline-row {
    grid-template-columns: 1fr;
  }

  .topic-tabs {
    grid-template-columns: 1fr;
  }

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

  .topic-panel-heading {
    display: block;
  }

  .topic-panel-heading p {
    margin-top: 10px;
    text-align: left;
  }

  .footer-inner {
    align-items: flex-start;
    flex-direction: column;
  }
}

@media (max-width: 520px) {
  .button-small {
    display: none;
  }

  .header-inner {
    display: flex;
  }

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

  .mock-columns {
    grid-template-columns: 1fr;
  }

  .mock-column {
    display: grid;
    grid-template-columns: 1fr auto;
    align-items: center;
  }

  .mock-column strong {
    margin-bottom: 0;
  }

  .mock-column i {
    display: none;
  }

  .window-url {
    max-width: 160px;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
  }

  .meaning-map {
    min-height: 370px;
  }

  .node-es { top: 10%; left: 6%; }
  .node-pt { top: 24%; right: 4%; }
  .node-ja { bottom: 22%; left: 7%; }
  .node-ar { right: 5%; bottom: 8%; }

  .architecture-layout {
    gap: 44px;
  }

  .pipeline,
  .topic-panel {
    padding: 20px;
  }

  .query-grid {
    grid-template-columns: 1fr;
  }

  .query-card {
    min-height: 190px;
  }

  .footer-logos {
    align-items: flex-start;
    flex-direction: column;
  }
}

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

  *,
  *::before,
  *::after {
    scroll-behavior: auto !important;
    transition: none !important;
  }
}
