:root {
  color-scheme: dark;
  --app-bg: oklch(16% 0.012 86);
  --panel-bg: oklch(22% 0.012 86);
  --panel-alt: oklch(27% 0.014 86);
  --surface: oklch(13% 0.008 86);
  --surface-raised: oklch(19% 0.012 86);
  --border: oklch(34% 0.018 86);
  --text: oklch(94% 0.016 86);
  --muted: oklch(70% 0.026 86);
  --subtle: oklch(58% 0.022 86);
  --accent: oklch(57% 0.115 165);
  --accent-strong: oklch(66% 0.13 165);
  --accent-soft: oklch(31% 0.052 165);
  --amber: oklch(70% 0.13 76);
  --token-saving-bg: #403323;
  --token-saving-text: #e1b588;
  --danger: oklch(62% 0.13 34);
  --news-video-bg: oklch(34% 0.07 76);
  --news-video-text: oklch(91% 0.07 76);
  --news-article-bg: oklch(31% 0.052 165);
  --news-article-text: oklch(89% 0.06 165);
  --radius-small: 6px;
  --radius-medium: 8px;
  --shadow-panel: 0 14px 28px oklch(0% 0 0 / 0.25);
  --content-width: 1180px;
  font-family: "Microsoft YaHei UI", "PingFang SC", system-ui, sans-serif;
}

html[data-theme="day"] {
  color-scheme: light;
  --app-bg: oklch(98% 0.012 240);
  --panel-bg: oklch(100% 0 0);
  --panel-alt: oklch(96% 0.022 240);
  --surface: oklch(95% 0.018 240);
  --surface-raised: oklch(99% 0.008 240);
  --border: oklch(86% 0.03 240);
  --text: oklch(29% 0.055 250);
  --muted: oklch(48% 0.04 250);
  --subtle: oklch(60% 0.03 250);
  --accent: oklch(58% 0.17 250);
  --accent-strong: oklch(49% 0.18 250);
  --accent-soft: oklch(93% 0.052 240);
  --amber: oklch(59% 0.135 76);
  --token-saving-bg: #fff4e7;
  --token-saving-text: #97602a;
  --danger: oklch(54% 0.16 30);
  --news-video-bg: oklch(93% 0.045 76);
  --news-video-text: oklch(38% 0.105 76);
  --news-article-bg: oklch(92% 0.052 165);
  --news-article-text: oklch(37% 0.1 165);
  --shadow-panel: 0 16px 34px oklch(37% 0.06 250 / 0.14);
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  background: var(--app-bg);
  color: var(--text);
  font-size: 16px;
  line-height: 1.68;
}

a {
  color: inherit;
  text-decoration: none;
}

img {
  display: block;
  max-width: 100%;
}

.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  clip-path: inset(50%);
  white-space: nowrap;
  border: 0;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 10;
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto auto auto;
  align-items: center;
  gap: 18px;
  min-height: 54px;
  padding: 8px max(20px, calc((100vw - var(--content-width)) / 2));
  border-bottom: 1px solid oklch(100% 0 0 / 0.08);
  background: oklch(15% 0.01 86 / 0.88);
  backdrop-filter: blur(14px);
}

.site-header[data-elevated="true"] {
  box-shadow: 0 8px 18px oklch(0% 0 0 / 0.25);
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  width: fit-content;
  font-weight: 800;
  letter-spacing: 0;
}

.brand img {
  border-radius: 6px;
}

.brand-local-name {
  display: inline-flex;
  align-items: center;
  min-height: 28px;
  padding: 0 14px;
  border-radius: 8px;
  border: 1px solid oklch(50% 0.09 165 / 0.68);
  background: oklch(24% 0.045 165 / 0.92);
  color: oklch(88% 0.07 165);
  font-size: 0.92rem;
  font-weight: 800;
  line-height: 1;
  white-space: nowrap;
}

.nav-links {
  display: flex;
  align-items: center;
  justify-self: end;
  justify-content: flex-end;
  gap: 8px;
}

.nav-links a,
.header-action,
.primary-action,
.disabled-action {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 38px;
  border-radius: var(--radius-small);
  font-weight: 700;
  white-space: nowrap;
}

.nav-links a {
  padding: 6px 12px;
  color: var(--muted);
}

.nav-links a:hover,
.nav-links a:focus-visible {
  color: var(--text);
  background-color: oklch(100% 0 0 / 0.06);
  outline: none;
}

.nav-links .language-switch {
  min-width: 38px;
  padding-inline: 10px;
  border: 1px solid oklch(100% 0 0 / 0.12);
  color: var(--text);
  background: oklch(22% 0.012 86 / 0.48);
}

.nav-links .language-switch:hover,
.nav-links .language-switch:focus-visible {
  border-color: oklch(82% 0.08 165 / 0.62);
  background: oklch(27% 0.014 86 / 0.78);
}

.theme-toggle {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  justify-self: end;
  width: 38px;
  min-width: 38px;
  min-height: 38px;
  padding: 0;
  border: 1px solid oklch(100% 0 0 / 0.12);
  border-radius: var(--radius-small);
  color: var(--text);
  background: oklch(22% 0.012 86 / 0.48);
  font: inherit;
  font-size: 1.08rem;
  font-weight: 800;
  line-height: 1;
  cursor: pointer;
  white-space: nowrap;
  transition:
    color 180ms cubic-bezier(0.22, 1, 0.36, 1),
    border-color 180ms cubic-bezier(0.22, 1, 0.36, 1),
    background-color 180ms cubic-bezier(0.22, 1, 0.36, 1),
    box-shadow 180ms cubic-bezier(0.22, 1, 0.36, 1);
}

.theme-toggle:hover,
.theme-toggle:focus-visible {
  border-color: oklch(82% 0.08 165 / 0.62);
  background: oklch(27% 0.014 86 / 0.78);
  outline: none;
}

.theme-toggle:focus-visible {
  box-shadow: 0 0 0 3px oklch(66% 0.13 165 / 0.2);
}

.nav-links .nav-sponsor {
  width: 38px;
  min-width: 38px;
  height: 34px;
  justify-content: center;
  padding: 0;
  border: 1px solid oklch(78% 0.13 76 / 0.42);
  color: var(--text);
  background-color: oklch(22% 0.024 165 / 0.88);
  background-image: url("../img/free-forever-mark.svg");
  background-repeat: no-repeat;
  background-position: center;
  background-size: 27px 27px;
  box-shadow: inset 0 1px 0 oklch(92% 0.08 76 / 0.16);
}

.nav-links .nav-sponsor:hover,
.nav-links .nav-sponsor:focus-visible,
.nav-links .nav-sponsor[aria-current="page"] {
  color: var(--text);
  border-color: oklch(78% 0.13 76 / 0.76);
  background-color: oklch(27% 0.04 165 / 0.96);
  box-shadow:
    inset 0 1px 0 oklch(92% 0.08 76 / 0.24),
    0 0 8px oklch(70% 0.13 76 / 0.24);
}

.sponsor-nav-icon {
  display: none;
}

.header-action {
  justify-self: end;
  padding: 6px 14px;
  border: 1px solid oklch(100% 0 0 / 0.16);
  color: var(--text);
  background: oklch(22% 0.012 86 / 0.72);
}

.header-action:hover,
.header-action:focus-visible {
  border-color: oklch(82% 0.08 165 / 0.7);
  outline: none;
}

main {
  overflow: hidden;
}

body::before {
  content: "";
  position: fixed;
  inset: 0;
  z-index: -1;
  pointer-events: none;
  background: linear-gradient(
    135deg,
    transparent 0 42%,
    oklch(70% 0.13 76 / 0.055) 42% 43%,
    transparent 43% 100%
  );
}

.hero,
.section,
.site-footer {
  width: min(var(--content-width), calc(100vw - 40px));
  margin: 0 auto;
}

main[id],
section[id] {
  scroll-margin-top: 70px;
}

.hero {
  display: grid;
  grid-template-columns: minmax(0, 0.92fr) minmax(0, 1.08fr);
  gap: 40px;
  align-items: center;
  min-height: calc(100vh - 54px);
  padding: 72px 0 48px;
}

.hero-copy {
  position: relative;
  z-index: 2;
  min-width: 0;
  max-width: 520px;
}

.hero-free-promise {
  display: block;
  max-width: 100%;
  margin: 0 0 24px;
  color: var(--text);
  font-size: clamp(2.75rem, 4vw, 4rem);
  font-weight: 900;
  line-height: 1.02;
  letter-spacing: 0;
  white-space: normal;
  text-wrap: balance;
}

.hero-free-promise strong {
  color: var(--amber);
  font-weight: 900;
}

.hero-free-promise[lang="en"] {
  font-size: clamp(2.7rem, 4.4vw, 4.2rem);
}

.section-kicker {
  margin: 0 0 10px;
  color: var(--amber);
  font-size: 0.94rem;
  font-weight: 800;
}

.hero-copy .section-kicker {
  margin-bottom: 16px;
  font-size: 1.08rem;
}

h1,
h2,
h3,
p {
  margin-top: 0;
}

h1,
h2 {
  text-wrap: balance;
}

h1 {
  margin-bottom: 16px;
  max-width: none;
  font-size: clamp(2.25rem, 3.2vw, 3.25rem);
  line-height: 1.08;
  font-weight: 800;
  letter-spacing: 0;
  white-space: nowrap;
}

h2 {
  margin-bottom: 12px;
  font-size: clamp(1.7rem, 2.45vw, 2.55rem);
  line-height: 1.2;
}

#product-title {
  white-space: normal;
}

h3 {
  margin-bottom: 8px;
  font-size: 1.1rem;
  line-height: 1.3;
}

.hero-lede,
.section-heading p,
.media-section p,
.download-panel p,
.error-shell p {
  color: var(--muted);
}

.section-heading a {
  color: var(--text);
  text-decoration: underline;
  text-decoration-color: oklch(82% 0.08 165 / 0.42);
  text-underline-offset: 4px;
}

.section-heading a:hover,
.section-heading a:focus-visible {
  color: var(--accent-strong);
  text-decoration-color: currentColor;
  outline: none;
}

.section-heading .section-help-link {
  margin-top: 10px;
  margin-bottom: 0;
}

.section-help-link a {
  display: inline-flex;
  align-items: center;
  width: fit-content;
  line-height: 1.5;
}

.hero-lede {
  max-width: 44ch;
  margin-bottom: 0;
  font-size: 1.2rem;
  line-height: 1.72;
}

.hero-copy h1 {
  max-width: 100%;
  font-size: 2.35rem;
  line-height: 1.12;
  white-space: normal;
  overflow-wrap: anywhere;
}

.hero-title-no-break {
  white-space: nowrap;
}

html[lang="en"] .hero-copy h1 {
  max-width: 20ch;
  font-size: 2.45rem;
  white-space: normal;
}

.hero-value-points {
  display: flex;
  flex-wrap: wrap;
  gap: 10px 20px;
  margin: 20px 0 0;
  padding: 0;
  list-style: none;
}

.hero-value-points li {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  color: var(--text);
  font-size: 0.92rem;
  font-weight: 750;
}

.hero-value-points li::before {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--accent-strong);
  box-shadow: 0 0 0 4px oklch(82% 0.08 165 / 0.1);
  content: "";
}

.hero-institution-link {
  display: inline-flex;
  gap: 7px;
  width: fit-content;
  margin-top: 18px;
  color: var(--accent-strong);
  align-items: center;
  font-size: 0.9rem;
  font-weight: 850;
  text-decoration: underline;
  text-decoration-color: oklch(66% 0.13 165 / 0.42);
  text-underline-offset: 4px;
}

.hero-institution-link span {
  transition: transform 160ms cubic-bezier(0.22, 1, 0.36, 1);
}

.hero-institution-link:hover,
.hero-institution-link:focus-visible {
  color: var(--text);
  outline: none;
}

.hero-institution-link:hover span,
.hero-institution-link:focus-visible span {
  transform: translateX(3px);
}

.primary-action,
.disabled-action {
  position: relative;
  overflow: hidden;
  padding: 9px 16px;
}

.primary-action {
  border: 1px solid oklch(82% 0.12 165 / 0.5);
  color: oklch(98% 0.012 86);
  background: var(--accent);
}

.primary-action::before {
  content: "";
  position: absolute;
  inset: -120% auto -120% -45%;
  width: 42%;
  transform: rotate(18deg);
  background: linear-gradient(90deg, transparent, oklch(100% 0 0 / 0.32), transparent);
  transition: transform 260ms cubic-bezier(0.22, 1, 0.36, 1);
}

.primary-action:hover,
.primary-action:focus-visible {
  background: var(--accent-strong);
  outline: none;
}

.primary-action:hover::before,
.primary-action:focus-visible::before {
  transform: translateX(360%) rotate(18deg);
}

.disabled-action {
  border: 1px solid var(--border);
  color: var(--subtle);
  background: var(--surface);
}

.hero-visual {
  position: relative;
  min-width: 0;
}

.hero-mascot-stage {
  position: absolute;
  inset: -108px -54px -112px;
  z-index: 2;
  pointer-events: none;
}

.hero-mascot {
  --mascot-delay: 0s;
  --mascot-entry-x: 0px;
  --mascot-entry-y: 0px;
  --mascot-exit-x: 0px;
  --mascot-exit-y: 0px;
  --mascot-entry-rotate: 0deg;
  --mascot-exit-rotate: 0deg;
  --mascot-action-x: 0px;
  --mascot-action-y: -4px;
  --mascot-action-rotate: 3deg;
  --mascot-action-scale: 1.04;
  position: absolute;
  display: block;
  width: clamp(82px, 7vw, 116px);
  aspect-ratio: 0.84;
  opacity: 1;
  transform-origin: 50% 100%;
  filter: drop-shadow(0 12px 15px oklch(0% 0 0 / 0.34));
  animation: mascot-arrive-act-exit 18s var(--mascot-delay) cubic-bezier(0.22, 1, 0.36, 1) infinite both;
  will-change: transform, opacity;
}

.hero-mascot-art {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: contain;
  object-position: center bottom;
  transform-origin: 50% 82%;
  animation: mascot-role-action 18s var(--mascot-delay) ease-in-out infinite both;
  will-change: transform;
}

.hero-mascot-reading {
  top: 0;
  left: 1%;
  --mascot-entry-x: -230px;
  --mascot-entry-y: -70px;
  --mascot-exit-x: -230px;
  --mascot-exit-y: 34px;
  --mascot-entry-rotate: -13deg;
  --mascot-exit-rotate: 10deg;
  --mascot-action-rotate: -4deg;
}

.hero-mascot-research {
  top: -12px;
  left: 28%;
  --mascot-delay: 0.22s;
  --mascot-entry-x: -170px;
  --mascot-entry-y: -160px;
  --mascot-exit-x: -190px;
  --mascot-exit-y: -54px;
  --mascot-entry-rotate: -9deg;
  --mascot-exit-rotate: -7deg;
  --mascot-action-x: 4px;
  --mascot-action-rotate: 6deg;
  --mascot-action-scale: 1.07;
}

.hero-mascot-cleaning {
  top: -12px;
  right: 28%;
  --mascot-delay: 0.44s;
  --mascot-entry-x: 170px;
  --mascot-entry-y: -160px;
  --mascot-exit-x: 190px;
  --mascot-exit-y: -54px;
  --mascot-entry-rotate: 9deg;
  --mascot-exit-rotate: 7deg;
  --mascot-action-x: 7px;
  --mascot-action-y: -2px;
  --mascot-action-rotate: -5deg;
}

.hero-mascot-database {
  top: 0;
  right: 1%;
  --mascot-delay: 0.66s;
  --mascot-entry-x: 230px;
  --mascot-entry-y: -70px;
  --mascot-exit-x: 230px;
  --mascot-exit-y: 34px;
  --mascot-entry-rotate: 13deg;
  --mascot-exit-rotate: -10deg;
  --mascot-action-scale: 1.08;
}

.hero-mascot-computing {
  bottom: 0;
  left: 1%;
  --mascot-delay: 0.88s;
  --mascot-entry-x: -230px;
  --mascot-entry-y: 70px;
  --mascot-exit-x: -230px;
  --mascot-exit-y: 96px;
  --mascot-entry-rotate: 12deg;
  --mascot-exit-rotate: -9deg;
  --mascot-action-y: 3px;
  --mascot-action-rotate: 4deg;
}

.hero-mascot-analysis {
  bottom: -12px;
  left: 28%;
  --mascot-delay: 1.1s;
  --mascot-entry-x: -170px;
  --mascot-entry-y: 160px;
  --mascot-exit-x: -190px;
  --mascot-exit-y: 70px;
  --mascot-entry-rotate: 8deg;
  --mascot-exit-rotate: 6deg;
  --mascot-action-x: -5px;
  --mascot-action-rotate: -6deg;
}

.hero-mascot-knowledge-graph {
  right: 28%;
  bottom: -12px;
  --mascot-delay: 1.32s;
  --mascot-entry-x: 170px;
  --mascot-entry-y: 160px;
  --mascot-exit-x: 190px;
  --mascot-exit-y: 70px;
  --mascot-entry-rotate: -8deg;
  --mascot-exit-rotate: -6deg;
  --mascot-action-x: 5px;
  --mascot-action-rotate: 6deg;
}

.hero-mascot-writing {
  right: 1%;
  bottom: 0;
  --mascot-delay: 1.54s;
  --mascot-entry-x: 230px;
  --mascot-entry-y: 70px;
  --mascot-exit-x: 230px;
  --mascot-exit-y: 96px;
  --mascot-entry-rotate: -12deg;
  --mascot-exit-rotate: 9deg;
  --mascot-action-y: 3px;
  --mascot-action-rotate: -4deg;
}

.hero-visual:hover .hero-mascot,
.hero-visual:hover .hero-mascot-art,
.hero-visual:focus-within .hero-mascot,
.hero-visual:focus-within .hero-mascot-art {
  animation-play-state: paused;
}

.hero-signal-map {
  position: absolute;
  inset: -46px -32px -34px -38px;
  width: calc(100% + 70px);
  height: calc(100% + 80px);
  pointer-events: none;
  opacity: 0.78;
}

.signal-line,
.signal-node {
  fill: none;
  stroke: url("#signalStroke");
  stroke-width: 1.4;
  vector-effect: non-scaling-stroke;
  filter: url("#signalGlow");
}

.signal-line {
  stroke-dasharray: 11 18;
  animation: signal-flow 7s linear infinite;
}

.signal-line-b {
  animation-duration: 8.4s;
  animation-direction: reverse;
}

.signal-line-c {
  animation-duration: 9.6s;
}

.signal-node {
  fill: var(--accent);
  stroke-width: 1;
  animation: signal-pulse 2.8s cubic-bezier(0.22, 1, 0.36, 1) infinite;
}

.signal-node-b {
  animation-delay: 420ms;
}

.signal-node-c {
  animation-delay: 820ms;
}

.visual-chip {
  position: absolute;
  z-index: 3;
  display: inline-flex;
  align-items: center;
  min-height: 30px;
  padding: 5px 10px;
  border: 1px solid oklch(82% 0.08 165 / 0.42);
  border-radius: var(--radius-small);
  color: var(--text);
  background: oklch(18% 0.018 86 / 0.78);
  backdrop-filter: blur(12px);
  font-size: 0.82rem;
  font-weight: 800;
  box-shadow: 0 8px 18px oklch(0% 0 0 / 0.22);
}

.visual-chip-left {
  left: -12px;
  top: 16%;
}

.visual-chip-right {
  right: -8px;
  top: 30%;
}

.visual-chip-bottom {
  left: 38%;
  bottom: 34px;
}

.product-frame {
  position: relative;
  z-index: 1;
  overflow: hidden;
  margin: 0;
  padding: 8px;
  border: 1px solid oklch(100% 0 0 / 0.16);
  border-radius: var(--radius-medium);
  background: var(--panel-bg);
  box-shadow: var(--shadow-panel);
}

.product-frame::before {
  content: "";
  position: absolute;
  inset: 8px;
  z-index: 2;
  pointer-events: none;
  border-radius: var(--radius-small);
  background:
    linear-gradient(90deg, transparent 0 42%, oklch(100% 0 0 / 0.18) 49%, transparent 56% 100%),
    linear-gradient(180deg, oklch(100% 0 0 / 0.09), transparent 32%);
  mix-blend-mode: screen;
  transform: translateX(-64%);
  animation: scan-sweep 5.6s cubic-bezier(0.22, 1, 0.36, 1) infinite;
}

.product-frame img {
  position: relative;
  z-index: 1;
  width: 100%;
  height: auto;
  border-radius: var(--radius-small);
  border: 1px solid oklch(0% 0 0 / 0.45);
}

.section {
  padding: 82px 0;
  border-top: 1px solid oklch(100% 0 0 / 0.08);
}

.section-heading {
  max-width: 760px;
  margin-bottom: 30px;
}

.product-section .section-heading {
  max-width: none;
}

.product-comparison-shell {
  overflow-x: auto;
  border: 1px solid var(--border);
  border-radius: var(--radius-medium);
  background: var(--panel-bg);
  box-shadow: var(--shadow-panel);
  scrollbar-color: var(--subtle) transparent;
}

.product-comparison-shell:focus-visible {
  outline: 3px solid oklch(66% 0.13 165 / 0.3);
  outline-offset: 3px;
}

.product-comparison {
  width: 100%;
  min-width: 820px;
  border-spacing: 0;
  border-collapse: separate;
}

.product-comparison th,
.product-comparison td {
  padding: 17px 20px;
  border-right: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
  text-align: left;
  vertical-align: top;
  line-height: 1.55;
}

.product-comparison thead th {
  color: var(--text);
  background: var(--panel-alt);
  font-size: 1rem;
}

.product-comparison thead th:first-child {
  width: 16%;
}

.product-comparison thead th:nth-child(2),
.product-comparison tbody td:nth-child(2) {
  background: var(--accent-soft);
}

.product-comparison thead strong,
.product-comparison thead small {
  display: block;
}

.product-comparison thead small {
  margin-top: 3px;
  color: var(--subtle);
  font-size: 0.76rem;
  font-weight: 700;
}

.product-comparison tbody th {
  color: var(--text);
  background: var(--panel-alt);
  font-size: 0.9rem;
  white-space: nowrap;
}

.product-comparison tbody td {
  color: var(--muted);
  font-size: 0.94rem;
}

.product-comparison tr:last-child > * {
  border-bottom: 0;
}

.product-comparison tr > *:last-child {
  border-right: 0;
}

.comparison-mark {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 20px;
  height: 20px;
  margin-right: 9px;
  border-radius: 50%;
  color: var(--accent-strong);
  background: oklch(66% 0.13 165 / 0.14);
  font-size: 0.76rem;
  font-weight: 900;
}

.comparison-summary {
  display: flex;
  gap: 18px 28px;
  align-items: center;
  justify-content: space-between;
  margin-top: 16px;
  padding: 18px 22px;
  border: 1px solid var(--border);
  border-radius: var(--radius-small);
  background: var(--panel-bg);
}

.comparison-summary > strong {
  max-width: 48ch;
  line-height: 1.5;
}

.comparison-summary > div {
  display: flex;
  gap: 8px;
  flex-wrap: wrap;
  justify-content: flex-end;
}

.comparison-summary span {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  padding: 6px 10px;
  border: 1px solid oklch(66% 0.13 165 / 0.28);
  border-radius: 999px;
  color: var(--accent-strong);
  background: var(--accent-soft);
  font-size: 0.82rem;
  font-weight: 850;
}

.comparison-summary .token-saving-badge {
  padding: 7px 14px;
  border-color: var(--token-saving-bg);
  color: var(--token-saving-text);
  background: var(--token-saving-bg);
  font-size: 1.15rem;
  font-weight: 900;
}

.comparison-benchmark {
  display: grid;
  grid-template-columns: minmax(240px, 0.8fr) minmax(460px, 1.2fr);
  gap: 20px 34px;
  margin-top: 28px;
  padding: clamp(24px, 3vw, 36px);
  border: 1px solid var(--border);
  border-radius: var(--radius-medium);
  background:
    linear-gradient(135deg, oklch(66% 0.13 250 / 0.11), transparent 48%),
    var(--surface-raised);
}

.benchmark-eyebrow {
  margin: 0 0 8px;
  color: var(--amber);
  font-size: 0.78rem;
  font-weight: 850;
}

.benchmark-copy h3 {
  margin: 0;
  font-size: clamp(1.45rem, 2.1vw, 2rem);
  text-wrap: balance;
}

.benchmark-copy > p:last-child {
  margin: 14px 0 0;
  color: var(--muted);
  font-size: 0.9rem;
}

.benchmark-metrics {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1fr) minmax(0, 1.28fr);
  align-self: start;
  gap: 10px;
  margin: 0;
}

.benchmark-metrics > div {
  display: flex;
  flex-direction: column;
  gap: 12px;
  min-width: 0;
  padding: 16px;
  border: 1px solid var(--border);
  border-radius: var(--radius-small);
  background: var(--panel-bg);
}

.benchmark-metrics dt {
  color: var(--text);
  font-weight: 800;
}

.benchmark-metrics dd {
  margin: 0;
  color: var(--accent-strong);
  font-size: clamp(2.2rem, 3.4vw, 3.25rem);
  font-weight: 900;
  line-height: 1.2;
  white-space: nowrap;
}

.benchmark-metric-title {
  display: block;
  color: var(--text);
  font-size: clamp(1.55rem, 2vw, 1.75rem);
  font-weight: 900;
  line-height: 1.3;
  letter-spacing: -0.02em;
}

.benchmark-token-saving .benchmark-metric-title {
  color: var(--token-saving-text);
}

.benchmark-metric-context {
  display: block;
  margin-top: 4px;
  color: var(--muted);
  font-size: 1rem;
  line-height: 1.5;
}

.benchmark-cost-comparison dd {
  display: grid;
  gap: 8px;
  color: var(--muted);
  font-size: 1rem;
  font-weight: 700;
  line-height: 1.5;
  white-space: normal;
}

.benchmark-cost-row {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 8px;
}

.benchmark-cost-row strong {
  color: var(--text);
  font-size: 1.125rem;
  font-weight: 800;
  font-variant-numeric: tabular-nums;
  white-space: nowrap;
}

.benchmark-cost-primary,
.benchmark-cost-primary strong {
  color: var(--accent-strong);
}

.benchmark-cost-unit {
  font-size: 1rem;
}

.benchmark-result,
.benchmark-note {
  grid-column: 1 / -1;
  margin: 0;
}

.benchmark-result {
  padding-top: 18px;
  border-top: 1px solid var(--border);
  color: var(--text);
  font-weight: 800;
}

.benchmark-note {
  color: var(--subtle);
  font-size: 0.78rem;
}

.benchmark-source-link {
  grid-column: 1 / -1;
  display: inline-flex;
  align-items: center;
  gap: 6px;
  width: fit-content;
  max-width: 100%;
  color: var(--accent-strong);
  font-size: 0.84rem;
  font-weight: 850;
  line-height: 1.45;
  text-decoration: underline;
  text-underline-offset: 4px;
  overflow-wrap: anywhere;
}

.benchmark-source-link:hover {
  color: var(--text);
}

.benchmark-source-link:focus-visible {
  border-radius: var(--radius-small);
  outline: 2px solid var(--accent-strong);
  outline-offset: 4px;
}

.media-section {
  display: block;
}

.media-heading {
  max-width: none;
  margin-bottom: 24px;
}

.video-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 14px;
}

.video-card {
  position: relative;
  display: grid;
  gap: 12px;
  overflow: hidden;
  padding: 12px;
  border: 1px solid var(--border);
  border-radius: var(--radius-medium);
  background:
    linear-gradient(135deg, oklch(82% 0.08 165 / 0.08), transparent 42%),
    var(--surface-raised);
  transition:
    transform 180ms cubic-bezier(0.22, 1, 0.36, 1),
    border-color 180ms cubic-bezier(0.22, 1, 0.36, 1),
    background-color 180ms cubic-bezier(0.22, 1, 0.36, 1);
}

.video-card::before {
  content: "";
  position: absolute;
  inset: 0 0 auto;
  height: 2px;
  background: linear-gradient(90deg, var(--accent), var(--amber), transparent);
  opacity: 0.68;
}

.video-card:hover,
.video-card:focus-within {
  transform: translateY(-2px);
  border-color: oklch(82% 0.08 165 / 0.5);
}

.video-shell {
  position: relative;
  overflow: hidden;
  aspect-ratio: 16 / 9;
  border: 1px solid oklch(0% 0 0 / 0.48);
  border-radius: var(--radius-small);
  background: var(--surface);
}

.video-shell::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: 1;
  pointer-events: none;
  border-radius: inherit;
  background:
    linear-gradient(180deg, oklch(100% 0 0 / 0.12), transparent 24%),
    linear-gradient(120deg, transparent 0 58%, oklch(82% 0.08 165 / 0.16) 63%, transparent 70%);
  opacity: 0.64;
}

.video-shell video {
  display: block;
  width: 100%;
  height: 100%;
  background: var(--surface);
  object-fit: contain;
}

.video-copy {
  padding: 0 4px 2px;
}

.video-meta {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 8px;
  margin-bottom: 10px;
}

.video-copy h3 {
  margin-bottom: 6px;
}

.video-copy p {
  margin-bottom: 0;
  font-size: 0.94rem;
}

.video-tag {
  display: inline-flex;
  align-items: center;
  min-height: 26px;
  margin-bottom: 0;
  padding: 3px 9px;
  border: 1px solid oklch(82% 0.08 165 / 0.34);
  border-radius: var(--radius-small);
  color: var(--accent-strong);
  background: oklch(31% 0.052 165 / 0.42);
  font-size: 0.8rem;
  font-weight: 900;
}

.video-meta time {
  color: var(--muted);
  font-size: 0.86rem;
  line-height: 1.4;
}

.news-section {
  display: block;
}

.news-heading-row {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 32px;
  margin-bottom: 30px;
}

.news-heading-row .section-heading {
  margin-bottom: 0;
}

.news-section .section-heading > p:last-child {
  text-wrap: pretty;
}

.news-filters {
  display: flex;
  flex-wrap: wrap;
  flex: 0 0 auto;
  justify-content: flex-end;
  gap: 10px;
  margin-bottom: 2px;
}

.news-filter-button {
  min-height: 44px;
  padding: 8px 16px;
  border: 1px solid var(--border);
  border-radius: 999px;
  color: var(--muted);
  background: var(--panel-alt);
  font: inherit;
  font-weight: 700;
  cursor: pointer;
  transition: border-color 160ms ease, color 160ms ease, background-color 160ms ease;
}

.news-filter-button:hover,
.news-filter-button[aria-pressed="true"] {
  border-color: var(--accent-strong);
  color: var(--text);
  background: var(--accent-soft);
}

.news-filter-button:focus-visible {
  outline: 2px solid var(--accent-strong);
  outline-offset: 3px;
}

.news-timeline {
  position: relative;
  display: grid;
}

.news-timeline::before {
  position: absolute;
  top: 30px;
  bottom: 30px;
  left: 156px;
  width: 1px;
  background: var(--border);
  content: "";
}

.news-item {
  display: grid;
  grid-template-columns: 140px 32px minmax(0, 1fr);
  align-items: start;
  padding: 26px 0;
  border-top: 1px solid var(--border);
}

.news-item:last-child {
  border-bottom: 1px solid var(--border);
}

.news-item[hidden] {
  display: none;
}

.news-item time {
  padding-top: 2px;
  color: var(--muted);
  font-size: 0.92rem;
  font-variant-numeric: tabular-nums;
}

.news-marker {
  position: relative;
  z-index: 1;
  justify-self: center;
  width: 10px;
  height: 10px;
  margin-top: 7px;
  border: 2px solid var(--app-bg);
  border-radius: 50%;
  background: var(--accent-strong);
  box-shadow: 0 0 0 4px var(--app-bg);
}

.news-link {
  display: flex;
  min-width: 0;
  align-items: flex-start;
  justify-content: space-between;
  gap: 24px;
  color: var(--text);
  text-decoration: none;
  border-radius: var(--radius-small);
}

.news-link h3 {
  min-width: 0;
  flex: 1 1 auto;
  margin: 0;
  font-size: 1.35rem;
  line-height: 1.45;
  text-wrap: pretty;
}

.news-type {
  display: inline-flex;
  align-items: center;
  margin-inline-start: 8px;
  padding: 4px 9px;
  border: 1px solid currentColor;
  border-radius: 999px;
  font-size: 0.72rem;
  font-weight: 800;
  line-height: 1;
  letter-spacing: 0.04em;
  vertical-align: 0.14em;
  white-space: nowrap;
}

.news-type-video {
  color: var(--news-video-text);
  background: var(--news-video-bg);
}

.news-type-article {
  color: var(--news-article-text);
  background: var(--news-article-bg);
}

.news-external {
  flex: 0 0 auto;
  color: var(--accent-strong);
  font-size: 1.2rem;
  transition: transform 180ms cubic-bezier(0.22, 1, 0.36, 1);
}

.news-link:hover h3,
.news-link:focus-visible h3 {
  color: var(--accent-strong);
}

.news-link:hover .news-external,
.news-link:focus-visible .news-external {
  transform: translate(2px, -2px);
}

.news-link:focus-visible {
  outline: 2px solid var(--accent-strong);
  outline-offset: 6px;
}

.download-section {
  padding-bottom: 70px;
}

.download-list {
  display: grid;
  gap: 14px;
  margin-top: 14px;
}

.download-pagination {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  margin-top: 18px;
}

.download-page-numbers {
  display: flex;
  align-items: center;
  gap: 6px;
}

.download-page-control,
.download-page-number {
  min-width: 38px;
  min-height: 38px;
  padding: 7px 10px;
  border: 1px solid var(--border);
  border-radius: var(--radius-small);
  color: var(--text);
  background: var(--panel-bg);
  font: inherit;
  font-weight: 700;
  cursor: pointer;
}

.download-page-control:hover,
.download-page-control:focus-visible,
.download-page-number:hover,
.download-page-number:focus-visible {
  border-color: var(--accent-strong);
  color: var(--accent-strong);
}

.download-page-number[aria-current="page"] {
  border-color: var(--accent-strong);
  color: var(--accent-strong);
  background: var(--accent-soft);
}

.download-page-control:disabled {
  cursor: not-allowed;
  opacity: 0.45;
}

.download-artifact {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 24px;
  align-items: start;
  padding: 20px;
  border: 1px solid var(--border);
  border-radius: var(--radius-medium);
  background: var(--panel-bg);
}

.download-artifact[hidden],
.download-pagination[hidden] {
  display: none;
}

.download-artifact.is-current {
  border-color: oklch(82% 0.08 165 / 0.38);
  background:
    linear-gradient(135deg, oklch(82% 0.08 165 / 0.08), transparent 40%),
    var(--panel-bg);
}

.download-artifact p {
  margin-bottom: 0;
}

.download-version-row {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  align-items: center;
  margin-bottom: 6px;
}

.download-release-date {
  color: var(--muted);
  font-size: 0.8rem;
  line-height: 1.5;
  white-space: nowrap;
}

.download-version-note {
  margin-bottom: 12px;
  color: var(--text);
  font-size: 0.98rem;
  line-height: 1.5;
  text-wrap: pretty;
}

.download-badge {
  display: inline-flex;
  align-items: center;
  min-height: 24px;
  padding: 2px 8px;
  border: 1px solid oklch(82% 0.08 165 / 0.35);
  border-radius: var(--radius-small);
  color: var(--accent-strong);
  background: var(--accent-soft);
  font-size: 0.78rem;
  font-weight: 900;
}

.download-badge.is-muted {
  border-color: var(--border);
  color: var(--muted);
  background: var(--surface-raised);
}

.checksum-list {
  display: grid;
  gap: 8px;
  margin: 16px 0 0;
}

.checksum-list div {
  display: grid;
  grid-template-columns: 64px minmax(0, 1fr);
  gap: 10px;
  align-items: start;
}

.checksum-list dt {
  color: var(--subtle);
  font-size: 0.78rem;
  font-weight: 800;
}

.checksum-list dd {
  min-width: 0;
  margin: 0;
}

.checksum-list code {
  display: block;
  color: var(--text);
  font-family: "SFMono-Regular", Consolas, "Liberation Mono", monospace;
  font-size: 0.82rem;
  line-height: 1.5;
  overflow-wrap: anywhere;
}

.download-artifact-side {
  display: grid;
  justify-items: end;
  gap: 10px;
}

.download-size {
  color: var(--subtle);
  font-size: 0.82rem;
}

.download-link {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 38px;
  padding: 9px 16px;
  border: 1px solid var(--border);
  border-radius: var(--radius-small);
  color: var(--text);
  font-weight: 700;
  white-space: nowrap;
}

.download-link:hover,
.download-link:focus-visible {
  border-color: oklch(82% 0.08 165 / 0.62);
  outline: none;
}

.site-footer {
  padding: 36px 0 34px;
  color: var(--muted);
  border-top: 1px solid oklch(100% 0 0 / 0.08);
}

.footer-main {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(180px, max-content) minmax(0, 1fr);
  gap: 48px;
  align-items: start;
  padding-bottom: 30px;
}

.footer-title {
  margin-bottom: 12px;
  color: var(--text);
  font-size: 1rem;
  line-height: 1.4;
}

.footer-address {
  font-style: normal;
}

.footer-address p {
  margin-bottom: 6px;
  text-wrap: pretty;
}

.footer-company {
  color: var(--text);
  font-weight: 700;
}

.footer-contact {
  justify-self: start;
}

.footer-feedback {
  justify-self: center;
  text-align: center;
}

.footer-social {
  justify-self: end;
}

.footer-email {
  display: inline-block;
  overflow-wrap: anywhere;
}

.footer-qr-list {
  display: grid;
  grid-template-columns: repeat(2, minmax(96px, 112px));
  gap: 16px;
}

.footer-qr {
  margin: 0;
}

.footer-qr a {
  display: block;
  border-radius: var(--radius-small);
}

.footer-qr img {
  width: 100%;
  height: auto;
  aspect-ratio: 1;
  border-radius: var(--radius-small);
  object-fit: contain;
}

.footer-qr figcaption {
  margin-top: 8px;
  color: var(--text);
  font-size: 0.86rem;
  line-height: 1.4;
  text-align: center;
}

.footer-bottom {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding-top: 22px;
  border-top: 1px solid oklch(100% 0 0 / 0.08);
  text-align: center;
}

.footer-icp-link {
  align-self: center;
}

.footer-copyright {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  flex-wrap: wrap;
  gap: 0 0.35em;
}

.site-footer a {
  color: var(--text);
  text-decoration: underline;
  text-decoration-color: oklch(82% 0.08 165 / 0.42);
  text-decoration-thickness: 1px;
  text-underline-offset: 4px;
  transition:
    color 160ms cubic-bezier(0.22, 1, 0.36, 1),
    text-decoration-color 160ms cubic-bezier(0.22, 1, 0.36, 1);
}

.site-footer a:hover {
  color: var(--accent-strong);
  text-decoration-color: currentColor;
}

.site-footer a:focus-visible {
  color: var(--accent-strong);
  text-decoration-color: currentColor;
  border-radius: 2px;
  outline: 2px solid var(--accent-strong);
  outline-offset: 4px;
}

.footer-qr a:focus-visible {
  border-radius: var(--radius-small);
}

.footer-qr a:hover img {
  opacity: 0.9;
}

.footer-qr a:active img {
  opacity: 0.78;
}

.footer-qr a:not(:focus-visible) {
  outline: none;
}

.guide-page main {
  overflow: visible;
}

.docs-layout {
  display: grid;
  grid-template-columns: 220px minmax(0, 1fr) 220px;
  gap: 28px;
  align-items: start;
  width: min(1320px, calc(100vw - 40px));
  margin: 0 auto;
  padding: 42px 0 82px;
}

.docs-sidebar,
.docs-on-this-page {
  position: sticky;
  top: 72px;
  max-height: calc(100vh - 92px);
  overflow: auto;
  padding: 14px;
  border: 1px solid var(--border);
  border-radius: var(--radius-medium);
  background: var(--surface-raised);
}

.docs-sidebar h2,
.docs-on-this-page h2 {
  margin-bottom: 10px;
  color: var(--text);
  font-size: 0.96rem;
  line-height: 1.3;
}

.docs-chapter-nav,
.docs-on-this-page nav {
  display: grid;
  gap: 3px;
}

.docs-chapter-nav a,
.docs-on-this-page a {
  display: block;
  padding: 7px 8px;
  border-radius: var(--radius-small);
  color: var(--muted);
  font-size: 0.9rem;
  line-height: 1.35;
}

.docs-chapter-nav a:hover,
.docs-chapter-nav a:focus-visible,
.docs-on-this-page a:hover,
.docs-on-this-page a:focus-visible,
.nav-links a[aria-current="page"] {
  color: var(--text);
  background-color: oklch(100% 0 0 / 0.06);
  outline: none;
}

.docs-content {
  min-width: 0;
}

.docs-hero {
  padding: 16px 0 38px;
  border-bottom: 1px solid oklch(100% 0 0 / 0.08);
}

.docs-hero h1 {
  max-width: 780px;
  white-space: normal;
}

.docs-hero p {
  max-width: 68ch;
  margin-bottom: 0;
  color: var(--muted);
}

.doc-section {
  scroll-margin-top: 76px;
  padding: 46px 0;
  border-bottom: 1px solid oklch(100% 0 0 / 0.08);
}

.doc-section:last-child {
  border-bottom: 0;
}

.doc-section-tag {
  display: inline-flex;
  align-items: center;
  min-height: 28px;
  margin-bottom: 12px;
  padding: 4px 9px;
  border: 1px solid oklch(82% 0.08 165 / 0.34);
  border-radius: var(--radius-small);
  color: var(--accent-strong);
  background: oklch(31% 0.052 165 / 0.35);
  font-size: 0.82rem;
  font-weight: 900;
}

.doc-section h2 {
  max-width: none;
  font-size: 2rem;
  line-height: 1.18;
  text-wrap: wrap;
}

.doc-section > p {
  max-width: 70ch;
  margin-bottom: 8px;
  color: var(--muted);
}

.doc-figure {
  margin: 24px 0 4px;
  overflow: hidden;
  border: 1px solid var(--border);
  border-radius: var(--radius-medium);
  background: var(--panel-bg);
}

.doc-image-trigger {
  position: relative;
  display: block;
  width: 100%;
  padding: 0;
  border: 0;
  color: inherit;
  background: transparent;
  cursor: zoom-in;
}

.doc-figure img {
  display: block;
  width: 100%;
  height: auto;
}

.doc-video-figure video {
  display: block;
  width: 100%;
  height: auto;
  background: oklch(8% 0.006 86);
}

.doc-figure figcaption strong {
  color: var(--text);
  font-weight: 900;
}

.doc-image-trigger:focus-visible {
  outline: 2px solid var(--accent);
  outline-offset: -4px;
}

.doc-image-trigger:hover .doc-image-zoom,
.doc-image-trigger:focus-visible .doc-image-zoom {
  color: var(--text);
  border-color: oklch(82% 0.08 165 / 0.56);
  background: oklch(17% 0.018 105 / 0.9);
}

.doc-image-zoom {
  position: absolute;
  right: 12px;
  bottom: 12px;
  padding: 7px 10px;
  border: 1px solid var(--border);
  border-radius: var(--radius-small);
  color: var(--muted);
  background: oklch(10% 0.012 105 / 0.78);
  font-size: 0.84rem;
  font-weight: 900;
  line-height: 1;
  transition:
    color 160ms cubic-bezier(0.22, 1, 0.36, 1),
    border-color 160ms cubic-bezier(0.22, 1, 0.36, 1),
    background-color 160ms cubic-bezier(0.22, 1, 0.36, 1);
}

.doc-figure figcaption {
  padding: 12px 14px 14px;
  border-top: 1px solid var(--border);
  color: var(--muted);
  font-size: 0.9rem;
  line-height: 1.55;
}

.image-lightbox {
  width: min(1380px, calc(100vw - 40px));
  max-height: calc(100vh - 40px);
  padding: 0;
  overflow: hidden;
  border: 1px solid var(--border);
  border-radius: var(--radius-medium);
  color: var(--text);
  background: var(--surface);
}

.image-lightbox::backdrop {
  background: oklch(6% 0.012 105 / 0.82);
}

.image-lightbox-panel {
  display: grid;
  max-height: calc(100vh - 40px);
  grid-template-rows: auto minmax(0, 1fr);
}

.image-lightbox-bar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  padding: 12px 14px;
  border-bottom: 1px solid var(--border);
}

.image-lightbox-bar p {
  margin: 0;
  font-weight: 900;
}

.image-lightbox-close {
  min-height: 34px;
  padding: 7px 12px;
  border: 1px solid var(--border);
  border-radius: var(--radius-small);
  color: var(--text);
  background: var(--surface-raised);
  font: inherit;
  font-weight: 900;
  cursor: pointer;
}

.image-lightbox-close:hover,
.image-lightbox-close:focus-visible {
  border-color: oklch(82% 0.08 165 / 0.56);
  outline: none;
}

.image-lightbox img {
  display: block;
  width: 100%;
  height: auto;
  max-height: calc(100vh - 98px);
  object-fit: contain;
  background: var(--background);
}

.doc-block {
  margin-top: 22px;
  padding-top: 18px;
  border-top: 1px solid var(--border);
}

.doc-block h3 {
  margin-bottom: 10px;
  font-size: 1rem;
}

.doc-step-title {
  margin: 20px 0 10px;
  color: var(--text);
  font-size: 0.95rem;
}

.doc-block p,
.doc-block li {
  color: var(--muted);
}

.doc-block ul,
.doc-steps {
  margin: 0;
  padding-left: 1.25rem;
}

.doc-block li + li {
  margin-top: 7px;
}

.doc-steps li::marker {
  color: var(--accent-strong);
  font-weight: 900;
}

.sponsor-layout {
  grid-template-columns: 220px minmax(0, 1fr);
  max-width: 1180px;
}

.sponsor-page .docs-sidebar {
  border-color: oklch(78% 0.13 76 / 0.28);
}

.sponsor-content {
  max-width: 860px;
}

.sponsor-section {
  padding-top: 46px;
}

.sponsor-section h1,
.sponsor-section h2 {
  max-width: 760px;
  white-space: normal;
}

.sponsor-section h1 {
  margin-bottom: 12px;
  font-size: 2rem;
  line-height: 1.18;
}

.sponsor-section > p a {
  color: var(--text);
  text-decoration: underline;
  text-decoration-color: oklch(78% 0.13 76 / 0.46);
  text-underline-offset: 4px;
}

.sponsor-section > p a:hover,
.sponsor-section > p a:focus-visible {
  color: var(--amber);
  text-decoration-color: currentColor;
  outline: none;
}

.sponsor-section-tag {
  gap: 6px;
  border-color: oklch(78% 0.13 76 / 0.34);
  color: var(--amber);
  background: oklch(31% 0.052 76 / 0.28);
}

.sponsor-section-icon {
  width: 16px;
  height: 16px;
  filter: drop-shadow(0 0 6px oklch(70% 0.13 76 / 0.42));
}

.sponsor-section-icon path {
  fill: currentColor;
}

.sponsor-card {
  display: grid;
  grid-template-columns: minmax(240px, 340px) minmax(0, 1fr);
  gap: 32px;
  align-items: start;
  margin-top: 22px;
}

.sponsor-copy {
  min-width: 0;
  padding-top: 4px;
}

.sponsor-copy p {
  max-width: 62ch;
}

.sponsor-followup {
  margin-top: 8px;
}

.sponsor-qr-figure {
  margin: 0;
  border-color: oklch(78% 0.13 76 / 0.34);
  background:
    radial-gradient(circle at 50% 0, oklch(78% 0.13 76 / 0.12), transparent 58%),
    var(--panel-bg);
}

.sponsor-qr-figure img {
  width: 222px;
  height: 222px;
  margin: 0 auto;
  padding: 16px;
  background: oklch(99% 0.004 86);
}

.sponsor-note {
  margin-top: 26px;
  color: var(--muted);
}

.sponsor-note h2 {
  margin-bottom: 10px;
  color: var(--text);
  font-size: 1.18rem;
  line-height: 1.35;
}

.sponsor-note ul {
  margin: 0;
  padding-left: 1.2rem;
}

.sponsor-note li + li {
  margin-top: 8px;
}

.doc-section > .sponsor-board-intro {
  max-width: none;
  font-size: 0.95rem;
  white-space: nowrap;
}

.sponsor-table-wrap {
  margin-top: 22px;
  overflow-x: auto;
  border: 1px solid var(--border);
  border-radius: var(--radius-medium);
  background: var(--panel-bg);
}

.sponsor-table {
  width: 100%;
  min-width: 560px;
  border-collapse: collapse;
}

.sponsor-table th,
.sponsor-table td {
  padding: 14px 16px;
  border-bottom: 1px solid var(--border);
  text-align: left;
}

.sponsor-table th {
  color: var(--text);
  background: oklch(27% 0.014 86 / 0.72);
  font-size: 0.9rem;
}

.sponsor-table td {
  color: var(--muted);
}

.sponsor-table tr:last-child td {
  border-bottom: 0;
}

.sponsor-empty-row td {
  color: var(--subtle);
}

.institution-main {
  width: min(calc(100vw - 40px), var(--content-width));
  margin: 0 auto;
  overflow: visible;
}

.institution-hero {
  position: relative;
  display: grid;
  grid-template-columns: minmax(0, 1.08fr) minmax(340px, 0.92fr);
  gap: clamp(44px, 7vw, 96px);
  align-items: center;
  min-height: 650px;
  padding: 76px 0 84px;
  border-bottom: 1px solid var(--border);
}

.institution-hero::before {
  position: absolute;
  inset: 40px -40px 42px 46%;
  z-index: -1;
  content: "";
  border-radius: 28px;
  opacity: 0.36;
  background-image:
    linear-gradient(oklch(66% 0.13 250 / 0.11) 1px, transparent 1px),
    linear-gradient(90deg, oklch(66% 0.13 250 / 0.11) 1px, transparent 1px);
  background-size: 28px 28px;
  mask-image: linear-gradient(120deg, transparent 5%, black 42%, transparent 94%);
}

.institution-hero-copy {
  min-width: 0;
}

.institution-hero-copy .section-kicker,
.institution-section-heading .section-kicker,
.institution-contact-copy .section-kicker {
  margin-bottom: 12px;
}

.institution-hero h1 {
  max-width: 13ch;
  margin: 0;
  font-size: clamp(3rem, 5.4vw, 5.25rem);
  line-height: 1.02;
  letter-spacing: -0.055em;
  text-wrap: balance;
}

.institution-hero-lede {
  max-width: 58ch;
  margin: 28px 0 0;
  color: var(--muted);
  font-size: 1.08rem;
}

.institution-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  align-items: stretch;
  margin-top: 30px;
}

.institution-actions .primary-action {
  min-height: 52px;
  padding: 11px 22px;
}

.institution-phone-link {
  display: inline-flex;
  min-height: 52px;
  padding: 8px 16px;
  border: 1px solid var(--border);
  border-radius: var(--radius-small);
  flex-direction: column;
  justify-content: center;
  background: var(--panel-bg);
  line-height: 1.2;
}

.institution-phone-link span {
  color: var(--subtle);
  font-size: 0.75rem;
  font-weight: 800;
}

.institution-phone-link strong {
  margin-top: 3px;
  color: var(--text);
  font-size: 0.98rem;
}

.institution-phone-link:hover,
.institution-phone-link:focus-visible {
  border-color: var(--accent-strong);
  background: var(--accent-soft);
  outline: none;
}

.institution-phone-link:focus-visible {
  box-shadow: 0 0 0 3px oklch(66% 0.13 165 / 0.2);
}

.institution-proof-list {
  display: flex;
  gap: 10px 22px;
  flex-wrap: wrap;
  margin: 24px 0 0;
  padding: 0;
  color: var(--muted);
  font-size: 0.88rem;
  font-weight: 800;
  list-style: none;
}

.institution-proof-list li {
  position: relative;
  padding-left: 15px;
}

.institution-proof-list li::before {
  position: absolute;
  top: 0.7em;
  left: 0;
  width: 6px;
  height: 6px;
  content: "";
  border-radius: 50%;
  background: var(--accent-strong);
  box-shadow: 0 0 0 4px oklch(66% 0.13 165 / 0.12);
}

.institution-hero-art {
  position: relative;
  display: grid;
  min-height: 500px;
  padding: 34px 34px 28px;
  overflow: hidden;
  border: 1px solid oklch(68% 0.14 250 / 0.46);
  border-radius: 22px;
  align-items: end;
  background:
    radial-gradient(circle at 50% 34%, oklch(66% 0.14 250 / 0.2), transparent 43%),
    linear-gradient(155deg, oklch(24% 0.055 250 / 0.84), var(--surface-raised) 64%);
  box-shadow:
    0 28px 64px oklch(0% 0 0 / 0.28),
    inset 0 1px 0 oklch(100% 0 0 / 0.1);
}

.institution-hero-art::after {
  position: absolute;
  top: 26px;
  right: 26px;
  width: 12px;
  height: 12px;
  content: "";
  border: 2px solid oklch(80% 0.12 76 / 0.78);
  border-radius: 50%;
  box-shadow: 0 0 0 8px oklch(80% 0.12 76 / 0.08);
}

.institution-art-label {
  position: absolute;
  top: 28px;
  left: 30px;
  color: oklch(86% 0.05 250);
  font-size: 0.72rem;
  font-weight: 900;
  letter-spacing: 0.12em;
}

.institution-hero-art > img {
  position: absolute;
  top: 48%;
  left: 50%;
  width: min(74%, 330px);
  height: auto;
  transform: translate(-50%, -50%);
  filter: drop-shadow(0 22px 24px oklch(0% 0 0 / 0.32));
}

.institution-art-caption {
  position: relative;
  z-index: 1;
  display: flex;
  padding-top: 18px;
  border-top: 1px solid oklch(100% 0 0 / 0.16);
  align-items: end;
  justify-content: space-between;
  gap: 16px;
}

.institution-art-caption span {
  color: var(--muted);
  font-size: 0.82rem;
}

.institution-art-caption strong {
  max-width: 10ch;
  color: var(--text);
  text-align: right;
  line-height: 1.25;
}

.institution-section {
  scroll-margin-top: 74px;
  padding: 88px 0;
  border-bottom: 1px solid var(--border);
}

.institution-section-heading {
  display: grid;
  grid-template-columns: minmax(0, 1.2fr) minmax(260px, 0.8fr);
  gap: 18px 54px;
  align-items: end;
  margin-bottom: 38px;
}

.institution-section-heading .section-kicker {
  grid-column: 1 / -1;
  margin-bottom: 0;
}

.institution-section-heading h2,
.institution-contact-copy h1 {
  max-width: 16ch;
  margin: 0;
  font-size: clamp(2rem, 3.6vw, 3.5rem);
  line-height: 1.08;
  letter-spacing: -0.035em;
  text-wrap: balance;
}

.institution-section-heading > p:last-child {
  margin: 0;
  color: var(--muted);
}

.institution-solution-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 14px;
}

.institution-solution-card {
  min-height: 258px;
  padding: 24px;
  border: 1px solid var(--border);
  border-radius: var(--radius-medium);
  background: var(--panel-bg);
}

.institution-solution-card-featured {
  border-color: oklch(66% 0.14 250 / 0.52);
  background:
    linear-gradient(150deg, oklch(31% 0.07 250 / 0.56), transparent 68%),
    var(--panel-bg);
}

.institution-card-index {
  display: block;
  margin-bottom: 54px;
  color: var(--accent-strong);
  font-size: 0.78rem;
  font-weight: 900;
  letter-spacing: 0.08em;
}

.institution-solution-card h3 {
  margin: 0 0 10px;
  font-size: 1.14rem;
  line-height: 1.3;
}

.institution-solution-card p {
  margin: 0;
  color: var(--muted);
  font-size: 0.92rem;
  line-height: 1.65;
}

.institution-process-list {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 0;
  margin: 0;
  padding: 0;
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
  list-style: none;
}

.institution-process-list li {
  min-height: 250px;
  padding: 26px 24px 30px;
  border-right: 1px solid var(--border);
}

.institution-process-list li:last-child {
  border-right: 0;
}

.institution-process-list li > span {
  display: block;
  margin-bottom: 66px;
  color: var(--accent-strong);
  font-size: 0.78rem;
  font-weight: 900;
}

.institution-process-list h3 {
  margin: 0 0 8px;
  font-size: 1.08rem;
}

.institution-process-list p {
  margin: 0;
  color: var(--muted);
  font-size: 0.91rem;
}

.institution-contact {
  border-bottom: 0;
}

.institution-contact-card {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 296px;
  gap: clamp(42px, 7vw, 92px);
  padding: clamp(32px, 5vw, 64px);
  border: 1px solid oklch(66% 0.14 250 / 0.48);
  border-radius: 18px;
  align-items: center;
  background:
    linear-gradient(135deg, oklch(28% 0.07 250 / 0.58), transparent 56%),
    var(--panel-bg);
  box-shadow: var(--shadow-panel);
}

.institution-contact-copy > p:not(.section-kicker):not(.institution-scope-note) {
  max-width: 62ch;
  margin: 22px 0 0;
  color: var(--muted);
}

.institution-contact-details {
  display: grid;
  gap: 0;
  margin: 30px 0 0;
  border-top: 1px solid var(--border);
}

.institution-contact-details div {
  display: grid;
  grid-template-columns: 100px minmax(0, 1fr);
  gap: 16px;
  padding: 13px 0;
  border-bottom: 1px solid var(--border);
}

.institution-contact-details dt {
  color: var(--subtle);
  font-size: 0.86rem;
  font-weight: 800;
}

.institution-contact-details dd {
  margin: 0;
  color: var(--text);
  font-weight: 800;
}

.institution-contact-details a {
  color: var(--accent-strong);
  text-decoration: underline;
  text-underline-offset: 4px;
}

.institution-contact-details a:hover,
.institution-contact-details a:focus-visible {
  color: var(--text);
  outline: none;
}

.institution-scope-note {
  max-width: 70ch;
  margin: 20px 0 0;
  color: var(--subtle);
  font-size: 0.8rem;
}

.institution-qr-figure {
  margin: 0;
  padding: 18px;
  border: 1px solid var(--border);
  border-radius: var(--radius-medium);
  background: oklch(99% 0.004 250);
}

.institution-qr-figure img {
  width: 100%;
  height: auto;
}

.institution-qr-figure figcaption {
  display: flex;
  padding: 14px 4px 2px;
  color: oklch(24% 0.04 250);
  align-items: center;
  justify-content: space-between;
  gap: 10px;
}

.institution-qr-figure figcaption span {
  color: oklch(46% 0.04 250);
  font-size: 0.82rem;
}

.error-page {
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  justify-content: center;
  gap: 28px;
  padding: 40px 0;
}

.error-shell {
  width: min(520px, calc(100vw - 40px));
  padding: 30px;
  border: 1px solid var(--border);
  border-radius: var(--radius-medium);
  background: var(--panel-bg);
}

.error-shell .brand {
  margin-bottom: 44px;
}

.error-footer {
  padding-bottom: 0;
}

html[data-theme="day"] .site-header {
  border-bottom-color: oklch(82% 0.04 240 / 0.78);
  background: oklch(99% 0.009 240 / 0.9);
}

html[data-theme="day"] .site-header[data-elevated="true"] {
  box-shadow: 0 8px 22px oklch(37% 0.06 250 / 0.13);
}

html[data-theme="day"] .brand-local-name {
  border-color: oklch(66% 0.12 250 / 0.48);
  color: var(--accent-strong);
  background: var(--accent-soft);
}

html[data-theme="day"] .nav-links a:hover,
html[data-theme="day"] .nav-links a:focus-visible,
html[data-theme="day"] .docs-chapter-nav a:hover,
html[data-theme="day"] .docs-chapter-nav a:focus-visible,
html[data-theme="day"] .docs-on-this-page a:hover,
html[data-theme="day"] .docs-on-this-page a:focus-visible,
html[data-theme="day"] .nav-links a[aria-current="page"] {
  color: var(--text);
  background-color: oklch(92% 0.04 240 / 0.92);
}

html[data-theme="day"] .nav-links .language-switch,
html[data-theme="day"] .theme-toggle,
html[data-theme="day"] .header-action {
  border-color: oklch(82% 0.04 240);
  color: var(--text);
  background: oklch(100% 0 0 / 0.82);
}

html[data-theme="day"] .nav-links .language-switch:hover,
html[data-theme="day"] .nav-links .language-switch:focus-visible,
html[data-theme="day"] .theme-toggle:hover,
html[data-theme="day"] .theme-toggle:focus-visible,
html[data-theme="day"] .header-action:hover,
html[data-theme="day"] .header-action:focus-visible {
  border-color: oklch(62% 0.13 250 / 0.72);
  background: var(--accent-soft);
}

html[data-theme="day"] .nav-links .nav-sponsor {
  border-color: oklch(65% 0.13 76 / 0.48);
  background-color: oklch(96% 0.025 76 / 0.94);
  box-shadow: inset 0 1px 0 oklch(100% 0 0 / 0.8);
}

html[data-theme="day"] .nav-links .nav-sponsor:hover,
html[data-theme="day"] .nav-links .nav-sponsor:focus-visible,
html[data-theme="day"] .nav-links .nav-sponsor[aria-current="page"] {
  border-color: oklch(59% 0.14 76 / 0.78);
  background-color: oklch(93% 0.045 76);
}

html[data-theme="day"] body::before {
  background: linear-gradient(
    135deg,
    transparent 0 42%,
    oklch(67% 0.12 240 / 0.075) 42% 43%,
    transparent 43% 100%
  );
}

html[data-theme="day"] .visual-chip {
  border-color: oklch(68% 0.11 250 / 0.42);
  background: oklch(100% 0 0 / 0.84);
  box-shadow: 0 8px 18px oklch(37% 0.06 250 / 0.14);
}

html[data-theme="day"] .product-frame {
  border-color: oklch(79% 0.04 240);
}

html[data-theme="day"] .section,
html[data-theme="day"] .site-footer,
html[data-theme="day"] .docs-hero,
html[data-theme="day"] .doc-section {
  border-color: var(--border);
}

html[data-theme="day"] .video-card {
  background:
    linear-gradient(135deg, oklch(58% 0.17 250 / 0.07), transparent 42%),
    var(--surface-raised);
}

html[data-theme="day"] .video-card:hover,
html[data-theme="day"] .video-card:focus-within,
html[data-theme="day"] .download-artifact.is-current {
  border-color: oklch(66% 0.12 250 / 0.48);
}

html[data-theme="day"] .video-tag,
html[data-theme="day"] .doc-section-tag {
  border-color: oklch(66% 0.12 250 / 0.36);
  color: var(--accent-strong);
  background: var(--accent-soft);
}

html[data-theme="day"] .download-artifact.is-current {
  background:
    linear-gradient(135deg, oklch(58% 0.17 250 / 0.07), transparent 40%),
    var(--panel-bg);
}

html[data-theme="day"] .sponsor-table th {
  background: var(--panel-alt);
}

html[data-theme="day"] .institution-hero-art {
  border-color: oklch(66% 0.13 250 / 0.38);
  background:
    radial-gradient(circle at 50% 34%, oklch(66% 0.14 250 / 0.16), transparent 43%),
    linear-gradient(155deg, oklch(94% 0.045 250), var(--panel-bg) 68%);
  box-shadow:
    0 28px 64px oklch(37% 0.06 250 / 0.16),
    inset 0 1px 0 oklch(100% 0 0 / 0.86);
}

html[data-theme="day"] .institution-art-label {
  color: var(--accent-strong);
}

html[data-theme="day"] .institution-solution-card-featured,
html[data-theme="day"] .institution-contact-card {
  background:
    linear-gradient(145deg, oklch(92% 0.055 250 / 0.88), transparent 64%),
    var(--panel-bg);
}

html[data-theme="day"] .image-lightbox::backdrop {
  background: oklch(20% 0.035 250 / 0.58);
}

body,
.site-header,
.brand-local-name,
.visual-chip,
.video-card,
.download-artifact,
.docs-sidebar,
.docs-on-this-page,
.doc-figure,
.sponsor-table-wrap,
.institution-phone-link,
.institution-solution-card,
.institution-contact-card,
.error-shell {
  transition:
    color 180ms cubic-bezier(0.22, 1, 0.36, 1),
    border-color 180ms cubic-bezier(0.22, 1, 0.36, 1),
    background-color 180ms cubic-bezier(0.22, 1, 0.36, 1),
    box-shadow 180ms cubic-bezier(0.22, 1, 0.36, 1);
}

@media (max-width: 1380px) {
  .hero {
    grid-template-columns: minmax(0, 0.94fr) minmax(0, 1.06fr);
    gap: 30px;
  }

  .hero-copy {
    max-width: 520px;
  }

  .hero-copy h1 {
    font-size: 2.05rem;
  }

  html[lang="en"] .hero-copy h1 {
    font-size: 2.05rem;
  }

  .hero-free-promise {
    font-size: clamp(2.55rem, 3.8vw, 3.5rem);
  }

  .hero-free-promise[lang="en"] {
    font-size: clamp(2.55rem, 3.8vw, 3.5rem);
  }

  .hero-lede {
    max-width: 40ch;
    font-size: 1.14rem;
  }

  .hero-mascot-stage {
    inset: -92px -34px -98px;
  }

  .hero-mascot {
    width: clamp(76px, 6.4vw, 98px);
  }

  .visual-chip-left {
    left: 8px;
  }

  .visual-chip-right {
    right: 8px;
  }
}

@media (max-width: 1180px) {
  .site-header {
    grid-template-columns: minmax(0, 1fr) auto auto;
  }

  .nav-links {
    display: none;
  }
}

@media (max-width: 1120px) {
  .hero {
    grid-template-columns: 1fr;
    gap: 30px;
    min-height: auto;
    padding-top: 48px;
  }

  .hero-copy {
    max-width: 700px;
  }

  .hero-copy h1 {
    font-size: 1.9rem;
    white-space: normal;
  }

  html[lang="en"] .hero-copy h1 {
    font-size: 1.8rem;
  }

  .hero-lede {
    max-width: 56ch;
  }

  .hero-visual {
    width: 100%;
  }

  .hero-mascot-stage {
    inset: -92px -22px -100px;
  }
}

@media (max-width: 1280px) {
  .docs-layout {
    grid-template-columns: 210px minmax(0, 1fr);
  }

  .sponsor-layout {
    grid-template-columns: 210px minmax(0, 1fr);
  }

  .docs-on-this-page {
    display: none;
  }
}

@media (max-width: 980px) {
  .hero {
    grid-template-columns: 1fr;
    min-height: auto;
  }

  .hero-signal-map {
    inset: -24px -16px -18px;
    width: calc(100% + 32px);
    height: calc(100% + 42px);
  }

  .hero-mascot-stage {
    inset: -80px 0 -88px;
  }

  .hero-mascot {
    width: clamp(70px, 9vw, 90px);
  }

  .hero-copy {
    max-width: 640px;
  }

  .comparison-benchmark {
    grid-template-columns: 1fr;
  }

  .media-heading {
    max-width: 62ch;
  }

  .institution-hero {
    grid-template-columns: 1fr;
    min-height: auto;
  }

  .institution-hero-copy {
    max-width: 760px;
  }

  .institution-hero-art {
    width: min(100%, 660px);
    min-height: 520px;
  }

  .institution-solution-grid,
  .institution-process-list {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .institution-process-list li:nth-child(2) {
    border-right: 0;
  }

  .institution-process-list li:nth-child(-n + 2) {
    border-bottom: 1px solid var(--border);
  }
}

@media (max-width: 820px) {
  .footer-main {
    grid-template-columns: 1fr;
    gap: 28px;
  }

  .docs-layout {
    grid-template-columns: 1fr;
    padding-top: 22px;
  }

  .sponsor-layout {
    grid-template-columns: 1fr;
  }

  .docs-sidebar {
    position: static;
    max-height: none;
  }

  .docs-chapter-nav {
    grid-template-columns: repeat(auto-fit, minmax(150px, 1fr));
  }

  .docs-hero {
    padding-top: 8px;
  }
}

@media (max-width: 640px) {
  .site-header {
    padding-inline: 14px;
  }

  .brand > span:not(.brand-local-name) {
    display: none;
  }

  .brand-local-name {
    padding-inline: 10px;
    font-size: 0.84rem;
  }

  .header-action {
    display: none;
  }

  .theme-toggle {
    width: 38px;
    min-width: 38px;
    padding: 0;
  }

  .hero,
  .section,
  .site-footer {
    width: min(100vw - 28px, var(--content-width));
  }

  .hero {
    padding-top: 34px;
  }

  .hero-free-promise,
  .hero-free-promise[lang="en"] {
    margin-bottom: 20px;
    font-size: clamp(2.1rem, 10.5vw, 2.9rem);
  }

  h1 {
    font-size: clamp(2rem, 8.2vw, 2.55rem);
  }

  .hero-copy h1 {
    font-size: 1.85rem;
    white-space: normal;
  }

  h2 {
    font-size: clamp(1.45rem, 6.6vw, 1.9rem);
  }

  .video-grid {
    grid-template-columns: 1fr;
  }

  .comparison-summary {
    align-items: flex-start;
    flex-direction: column;
  }

  .comparison-summary > div {
    justify-content: flex-start;
  }

  .benchmark-metrics {
    grid-template-columns: 1fr;
  }

  .news-heading-row {
    align-items: stretch;
    flex-direction: column;
    gap: 18px;
  }

  .news-filters {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }

  .news-filter-button {
    padding-inline: 8px;
  }

  .news-timeline::before {
    top: 27px;
    bottom: 27px;
    left: 5px;
  }

  .news-item {
    grid-template-columns: 12px minmax(0, 1fr);
    column-gap: 14px;
    padding: 22px 0;
  }

  .news-item time {
    grid-column: 2;
    margin-bottom: 8px;
    padding-top: 0;
    font-size: 0.9rem;
  }

  .news-marker {
    grid-row: 1 / span 2;
    grid-column: 1;
    margin-top: 5px;
  }

  .news-link {
    grid-row: 2;
    grid-column: 2;
    gap: 14px;
  }

  .news-link h3 {
    font-size: 1.15rem;
  }

  .visual-chip {
    display: none;
  }

  .hero-mascot-stage {
    position: relative;
    inset: auto;
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 2px 6px;
    margin-top: 10px;
  }

  .hero-mascot-stage .hero-mascot {
    position: relative;
    inset: auto;
    justify-self: center;
    width: min(21vw, 86px);
    --mascot-entry-x: 0px;
    --mascot-entry-y: 48px;
    --mascot-exit-x: 0px;
    --mascot-exit-y: 48px;
    --mascot-entry-rotate: 0deg;
    --mascot-exit-rotate: 0deg;
  }

  .footer-bottom {
    align-items: center;
    flex-direction: column;
  }

  .download-artifact {
    grid-template-columns: 1fr;
  }

  .download-artifact-side {
    justify-items: start;
  }

  .download-pagination {
    gap: 6px;
    flex-wrap: wrap;
  }

  .download-page-control,
  .download-page-number {
    min-width: 36px;
    min-height: 36px;
  }

  .docs-layout {
    width: min(100vw - 28px, var(--content-width));
  }

  .doc-section {
    padding: 38px 0;
  }

  .sponsor-card {
    grid-template-columns: 1fr;
  }

  .doc-section > .sponsor-board-intro {
    white-space: normal;
  }

  .sponsor-section h1 {
    font-size: 1.75rem;
  }

  .institution-main {
    width: min(100vw - 28px, var(--content-width));
  }

  .institution-hero {
    gap: 38px;
    padding: 50px 0 58px;
  }

  .institution-hero::before {
    inset: 32% -20px 28px 10%;
  }

  .institution-hero h1 {
    max-width: 12ch;
    font-size: clamp(2.55rem, 13vw, 3.8rem);
  }

  .institution-actions {
    align-items: stretch;
    flex-direction: column;
  }

  .institution-actions .primary-action,
  .institution-phone-link {
    width: 100%;
  }

  .institution-hero-art {
    min-height: 430px;
    padding: 26px 24px 22px;
  }

  .institution-art-label {
    top: 22px;
    left: 22px;
    max-width: 18ch;
  }

  .institution-art-caption {
    align-items: start;
    flex-direction: column;
  }

  .institution-art-caption strong {
    max-width: none;
    text-align: left;
  }

  .institution-section {
    padding: 62px 0;
  }

  .institution-section-heading {
    grid-template-columns: 1fr;
    gap: 14px;
  }

  .institution-section-heading .section-kicker {
    grid-column: auto;
  }

  .institution-solution-grid,
  .institution-process-list,
  .institution-contact-card {
    grid-template-columns: 1fr;
  }

  .institution-solution-card {
    min-height: 230px;
  }

  .institution-process-list li,
  .institution-process-list li:nth-child(2) {
    min-height: 0;
    border-right: 0;
    border-bottom: 1px solid var(--border);
  }

  .institution-process-list li:last-child {
    border-bottom: 0;
  }

  .institution-process-list li > span {
    margin-bottom: 34px;
  }

  .institution-contact-card {
    gap: 34px;
    padding: 26px;
  }

  .institution-contact-details div {
    grid-template-columns: 84px minmax(0, 1fr);
  }
}

@keyframes signal-flow {
  to {
    stroke-dashoffset: -116;
  }
}

@keyframes signal-pulse {
  0%,
  100% {
    opacity: 0.48;
    transform: scale(0.86);
  }
  50% {
    opacity: 1;
    transform: scale(1.2);
  }
}

@keyframes scan-sweep {
  0%,
  54% {
    transform: translateX(-64%);
    opacity: 0;
  }
  66% {
    opacity: 0.72;
  }
  100% {
    transform: translateX(78%);
    opacity: 0;
  }
}

@keyframes mascot-arrive-act-exit {
  0%,
  3% {
    opacity: 0;
    transform: translate3d(var(--mascot-entry-x), var(--mascot-entry-y), 0) scale(0.68) rotate(var(--mascot-entry-rotate));
  }
  9% {
    opacity: 1;
    transform: translate3d(0, -9px, 0) scale(1.06) rotate(-2deg);
  }
  12% {
    transform: translate3d(0, 3px, 0) scale(0.98) rotate(1deg);
  }
  16%,
  63% {
    opacity: 1;
    transform: translate3d(0, 0, 0) scale(1) rotate(0deg);
  }
  68% {
    opacity: 1;
    transform: translate3d(0, -7px, 0) scale(1.03) rotate(-1deg);
  }
  75%,
  100% {
    opacity: 0;
    transform: translate3d(var(--mascot-exit-x), var(--mascot-exit-y), 0) scale(0.72) rotate(var(--mascot-exit-rotate));
  }
}

@keyframes mascot-role-action {
  0%,
  19%,
  48%,
  100% {
    transform: translate3d(0, 0, 0) scale(1) rotate(0deg);
  }
  24% {
    transform: translate3d(var(--mascot-action-x), var(--mascot-action-y), 0) scale(var(--mascot-action-scale)) rotate(var(--mascot-action-rotate));
  }
  29% {
    transform: translate3d(0, 2px, 0) scale(0.98) rotate(0deg);
  }
  34% {
    transform: translate3d(var(--mascot-action-x), var(--mascot-action-y), 0) scale(var(--mascot-action-scale)) rotate(var(--mascot-action-rotate));
  }
  40% {
    transform: translate3d(0, 0, 0) scale(1) rotate(0deg);
  }
}

@media (prefers-reduced-motion: reduce) {
  *,
  *::before,
  *::after {
    scroll-behavior: auto !important;
    transition-duration: 0.01ms !important;
    animation-duration: 0.01ms !important;
  }

  .signal-line,
  .signal-node,
  .product-frame::before,
  .hero-mascot,
  .hero-mascot-art {
    animation: none !important;
  }

  .hero-mascot {
    opacity: 1;
    transform: none;
  }
}
