@import url("./fonts.css");
:root {
  color-scheme: light;
  --paper: #f3f2ec;
  --ink: #182021;
  --muted: #626762;
  --line: #d5d7cc;
  --lime: #d3ee9b;
  --board: #182021;
  --white: #fbfcf6;
  --radius: 7px;
  font-family: Manrope, "Segoe UI", sans-serif;
  font-synthesis: none;
  color: var(--ink);
  background: var(--paper);
}
* {
  box-sizing: border-box;
}
html {
  scroll-behavior: smooth;
  scroll-padding-top: 24px;
}
body {
  margin: 0;
  font-size: 16px;
  line-height: 1.65;
}
button,
select {
  font: inherit;
}
button,
a,
select {
  -webkit-tap-highlight-color: transparent;
}
button {
  cursor: pointer;
}
button:disabled {
  cursor: wait;
  opacity: 0.5;
}
a {
  color: inherit;
  text-decoration: none;
}
button,
select {
  color: inherit;
}
button {
  border: 1px solid var(--line);
  background: transparent;
  border-radius: var(--radius);
  min-height: 44px;
  padding: 10px 16px;
  font-size: 14px;
  font-weight: 600;
  transition:
    background-color 0.16s,
    border-color 0.16s,
    color 0.16s,
    transform 0.12s;
}
button:hover:not(:disabled) {
  background: #e7e9df;
  border-color: #a4ab9a;
}
button:active:not(:disabled) {
  transform: translateY(1px);
}
button:focus-visible,
a:focus-visible,
select:focus-visible,
pre:focus-visible,
canvas:focus-visible {
  outline: 3px solid #497c37;
  outline-offset: 4px;
}
.stage canvas:focus-visible {
  outline-offset: -5px;
  outline-color: var(--lime);
}
[hidden] {
  display: none !important;
}
.wrap {
  width: calc(100% - 96px);
  max-width: 1344px;
  margin-inline: auto;
}
.skip {
  position: fixed;
  top: 10px;
  left: 15px;
  z-index: 99;
  padding: 10px 20px;
  background: var(--lime);
  transform: translateY(-150%);
}
.skip:focus {
  transform: none;
}
.site-header {
  height: 100px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  border-bottom: 1px solid var(--line);
  gap: 20px;
}
.brand {
  display: inline-flex;
  align-items: center;
  font-size: 26px;
  font-weight: 800;
  letter-spacing: -1.3px;
  line-height: 1.1;
  min-height: 44px;
  flex-shrink: 0;
}
.brand svg {
  width: 32px;
  height: 32px;
  margin-right: 9px;
  fill: none;
  stroke: currentColor;
  stroke-width: 1.6;
  stroke-linejoin: round;
}
.brand-period {
  color: #628d40;
}
.site-header nav {
  display: flex;
  align-items: center;
  gap: 32px;
  font-size: 14px;
  font-weight: 600;
}
.site-header nav a {
  min-height: 44px;
  display: inline-flex;
  align-items: center;
  gap: 8px;
}
.site-header nav a:hover,
.inline-link:hover {
  color: #426729;
}
.language-toggle {
  font-size: 13px;
  padding: 8px 11px;
  border-color: #b6bdb0;
  min-width: 44px;
}
.intro {
  display: flex;
  align-items: end;
  justify-content: space-between;
  gap: 40px;
  padding: 34px 0 26px;
}
.eyebrow {
  font-size: 13px;
  font-weight: 600;
  margin: 0 0 12px;
  color: var(--muted);
}
h1,
h2,
h3,
p {
  margin-top: 0;
}
h1,
h2,
h3 {
  font-weight: 600;
  line-height: 1.18;
  letter-spacing: -0.055em;
}
h1 {
  font-size: clamp(36px, 3.9vw, 58px);
  margin-bottom: 0;
}
h2 {
  font-size: 42px;
}
h3 {
  font-size: 22px;
  letter-spacing: -0.03em;
}
.intro-note {
  font-size: 14px;
  line-height: 1.75;
  margin: 0 0 4px;
  max-width: 340px;
  color: var(--muted);
}
.laboratory {
  border: 1px solid #bdc5b6;
  border-radius: 10px;
  background: #fafbf5;
  overflow: hidden;
}
.lab-top {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 10px 18px;
  gap: 16px;
  border-bottom: 1px solid var(--line);
}
.mode-tabs {
  display: flex;
  gap: 4px;
}
.mode-tabs button {
  border-color: transparent;
  padding: 10px 16px;
}
.mode-tabs button.selected {
  background: var(--ink);
  color: var(--white);
}
.mode-tabs span {
  font-size: 12px;
  font-family: Consolas, monospace;
  margin-left: 5px;
  opacity: 0.75;
}
.model-control {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 12px;
}
.model-control label {
  color: var(--muted);
}
select {
  height: 44px;
  padding: 0 32px 0 12px;
  border: 1px solid var(--line);
  background: transparent;
  border-radius: 5px;
  font-size: 13px;
  cursor: pointer;
}
.status-dot {
  width: 6px;
  height: 6px;
  background: #a08446;
  border-radius: 50%;
}
.status-dot.ready {
  background: #4e8045;
}
.drawing-workspace {
  min-width: 0;
}
.lab-body {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 304px;
}
.stage {
  position: relative;
  min-width: 0;
  height: 400px;
  overflow: hidden;
  background: var(--board);
  color: #eef1e8;
  isolation: isolate;
}
#canvas {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  touch-action: none;
  cursor: crosshair;
  z-index: 1;
}
#camera-video {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  transform: scaleX(-1);
  opacity: 0;
}
.camera-on #camera-video {
  opacity: 0.55;
}
.stage-top,
.stage-bottom {
  position: absolute;
  left: 26px;
  right: 26px;
  display: flex;
  justify-content: space-between;
  gap: 16px;
  z-index: 2;
  pointer-events: none;
  font-size: 12px;
  color: #bbc6bf;
  line-height: 1.5;
}
.stage-top {
  top: 19px;
}
.stage-bottom {
  bottom: 18px;
}
.stage-count {
  font-family: Consolas, monospace;
}
.empty-state {
  position: absolute;
  top: 45%;
  left: 20px;
  right: 20px;
  z-index: 2;
  text-align: center;
  pointer-events: none;
}
.empty-state h2 {
  font-size: 28px;
  letter-spacing: -0.04em;
  margin-bottom: 12px;
}
.empty-state p {
  font-size: 14px;
  line-height: 1.75;
  color: #b8c2bb;
  margin-bottom: 8px;
}
.empty-state .text-button {
  pointer-events: auto;
  color: var(--lime);
  border: 0;
  border-radius: 4px;
  font-size: 13px;
  text-decoration: underline;
  text-underline-offset: 5px;
  padding: 8px 12px;
  background: transparent;
}
.empty-state .text-button:hover {
  background: #ffffff0b;
}
.cast-title {
  position: absolute;
  bottom: 64px;
  left: 20px;
  right: 20px;
  text-align: center;
  pointer-events: none;
  z-index: 3;
  opacity: 0;
  transition: opacity 0.2s;
}
.cast-title:not(:empty) {
  opacity: 1;
}
.cast-title small {
  display: block;
  font-size: 13px;
  color: #bbc6bf;
}
.cast-title strong {
  font-size: 30px;
  letter-spacing: -0.04em;
  font-weight: 600;
}
.trial-info {
  position: absolute;
  top: 56px;
  left: 26px;
  right: 26px;
  display: flex;
  gap: 20px;
  align-items: center;
  justify-content: space-between;
  pointer-events: none;
  z-index: 4;
  background: #182021d9;
  padding: 12px 16px;
  border: 1px solid #495348;
  border-radius: 6px;
  font-size: 13px;
}
.trial-info strong {
  font-family: Consolas, monospace;
  font-size: 28px;
  color: var(--lime);
  font-variant-numeric: tabular-nums;
}
.in-trial .empty-state {
  top: 53%;
}
.instrument-panel {
  min-width: 0;
  padding: 20px 20px 16px;
  background: #eef0e6;
  border-left: 1px solid var(--line);
}
.panel-heading {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 10px;
}
.panel-heading h2 {
  font-size: 14px;
  letter-spacing: 0;
  margin: 0;
  font-weight: 800;
}
.panel-heading > span {
  font-family: Consolas, monospace;
  font-size: 12px;
  color: var(--muted);
}
.rail-note {
  font-size: 12px;
  margin: 4px 0 16px;
  color: var(--muted);
}
#spell-list {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 6px;
}
.spell-button {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 8px;
  border: 1px solid #d2d6c8;
  padding: 10px 3px;
  min-height: 84px;
  border-radius: 5px;
  background: #f7f8f0;
  position: relative;
}
.spell-button svg {
  width: 29px;
  height: 29px;
  stroke: var(--ink);
  stroke-width: 4;
  fill: none;
  stroke-linejoin: round;
  stroke-linecap: round;
}
.spell-button .name {
  font-size: 12px;
  font-weight: 600;
  display: block;
  line-height: 1.15;
  letter-spacing: -0.01em;
}
.spell-button small,
.spell-button .number {
  display: none;
}
.spell-button.selected {
  background: var(--ink);
  border-color: var(--ink);
  color: #f6f8ef;
}
.spell-button.selected svg {
  stroke: var(--spell);
}
.spell-button.selected:hover {
  background: #303b31;
  color: #fff;
}
.readings {
  margin-top: 24px;
  border-top: 1px solid #cfd5c6;
  padding-top: 18px;
}
.readout {
  display: flex;
  gap: 18px;
  align-items: center;
  min-height: 100px;
  margin-top: 12px;
}
#input-preview {
  width: 76px;
  height: 76px;
  image-rendering: pixelated;
  background: #182021;
  border: 7px solid #182021;
  border-radius: 4px;
  flex-shrink: 0;
}
#probabilities {
  flex: 1;
  min-width: 0;
}
.muted {
  font-size: 12px;
  line-height: 1.7;
  color: var(--muted);
  margin: 0;
}
.prob-row {
  margin: 0 0 6px;
}
.prob-row > div:first-child {
  display: flex;
  justify-content: space-between;
  font-size: 12px;
  line-height: 1.4;
  gap: 4px;
}
.prob-row b {
  font-weight: 600;
}
.prob-row span {
  font-family: Consolas, monospace;
  white-space: nowrap;
}
.prob-track {
  height: 3px;
  background: #d5dbce;
  margin-top: 4px;
  overflow: hidden;
}
.prob-track i {
  display: block;
  height: 100%;
  background: #526c3d;
}
.reading-foot {
  font-size: 12px;
  line-height: 1.65;
  margin: 13px 0 0;
  color: var(--muted);
}
.lab-toolbar {
  display: flex;
  justify-content: space-between;
  gap: 12px;
  padding: 16px 20px 12px;
  border-top: 1px solid var(--line);
}
.primary-tools,
.secondary-tools {
  display: flex;
  align-items: center;
  gap: 8px;
  flex-wrap: wrap;
}
.primary {
  background: var(--lime);
  border-color: #b6d27e;
  color: #1d2b16;
}
.primary:hover:not(:disabled) {
  background: #c0e483;
  border-color: #93b460;
}
kbd {
  font-family: Consolas, monospace;
  font-size: 12px;
  margin-left: 12px;
  color: #727c6c;
  font-weight: 400;
}
.secondary-tools button {
  font-size: 12px;
  border-color: transparent;
}
.secondary-tools svg {
  width: 19px;
  height: 19px;
  display: block;
  fill: none;
  stroke: currentColor;
  stroke-width: 1.6;
}
#fullscreen-button {
  padding: 12px;
  min-width: 44px;
}
.notice {
  padding: 0 20px 15px;
  font-size: 12px;
  line-height: 1.6;
  color: var(--muted);
}
.notice.error {
  color: #a12820;
  font-weight: 600;
}
.under-stage {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  padding-top: 19px;
  font-size: 12px;
  color: var(--muted);
}
.under-stage p {
  margin: 0;
  display: flex;
  align-items: center;
  gap: 8px;
}
.under-stage span {
  border: 1px solid #bec7b7;
  width: 21px;
  height: 21px;
  display: inline-flex;
  justify-content: center;
  align-items: center;
  border-radius: 50%;
  font-family: Consolas, monospace;
  flex-shrink: 0;
}
.gesture-label {
  font-weight: 800;
  color: var(--ink);
}
.about,
.research {
  margin-top: 106px;
}
.section-label {
  display: flex;
  gap: 18px;
  align-items: center;
  padding-top: 16px;
  border-top: 1px solid var(--ink);
  font-size: 13px;
  font-weight: 600;
  margin-bottom: 40px;
}
.section-label > span:first-child {
  font-family: Consolas, monospace;
  color: var(--muted);
}
.editorial {
  display: grid;
  grid-template-columns: 1fr 1.2fr;
  gap: 100px;
}
.editorial h2 {
  font-size: 46px;
  margin-bottom: 22px;
}
.section-deck {
  max-width: 340px;
  color: var(--muted);
}
.inline-link {
  font-size: 14px;
  font-weight: 600;
  display: inline-flex;
  align-items: center;
  gap: 18px;
  min-height: 44px;
  border-bottom: 1px solid #78856c;
}
.process-list {
  list-style: none;
  padding: 0;
  margin: 0;
}
.process-list li {
  display: grid;
  grid-template-columns: 28px 1fr 75px;
  gap: 16px;
  align-items: start;
  padding: 23px 0;
  border-bottom: 1px solid var(--line);
}
.process-list li:first-child {
  padding-top: 0;
}
.process-list h3 {
  font-size: 18px;
  margin: 0 0 9px;
  letter-spacing: -0.03em;
}
.process-list p {
  font-size: 14px;
  color: var(--muted);
  margin: 0;
  line-height: 1.7;
}
.process-no {
  font:
    12px/2 Consolas,
    monospace;
  color: #6c7865;
}
.process-sketch {
  width: 75px;
  fill: none;
  stroke: #537444;
  stroke-width: 2;
  align-self: center;
}
.pixel-stamp {
  background: var(--ink);
  color: #e4eacb;
  font:
    20px/1 Consolas,
    monospace;
  display: grid;
  align-items: center;
  justify-content: center;
  width: 60px;
  height: 60px;
  align-self: center;
}
.mini-bars {
  height: 60px;
  display: flex;
  align-items: end;
  gap: 4px;
  align-self: center;
}
.mini-bars i {
  width: 7px;
  background: #b4bd9e;
  height: 12px;
}
.mini-bars i:nth-child(2) {
  height: 45px;
  background: #344f2d;
}
.mini-bars i:nth-child(3) {
  height: 25px;
}
.mini-bars i:nth-child(4) {
  height: 8px;
}
.mini-bars i:nth-child(5) {
  height: 18px;
}
.accepted-mark {
  font-size: 36px;
  color: #50713b;
  align-self: center;
  text-align: center;
}
.research-grid {
  display: grid;
  grid-template-columns: 1fr 1.2fr;
  gap: 100px;
}
.research h2 {
  font-size: 40px;
  margin-bottom: 24px;
}
.research p {
  font-size: 14px;
  line-height: 1.8;
  color: var(--muted);
}
.research-note {
  padding-left: 18px;
  border-left: 2px solid #a8b594;
  margin-top: 24px;
}
table {
  width: 100%;
  border-collapse: collapse;
  font-size: 14px;
}
caption {
  text-align: left;
  font-size: 12px;
  color: var(--muted);
  padding: 0 0 18px;
}
th,
td {
  text-align: left;
  padding: 17px 6px;
  border-bottom: 1px solid var(--line);
}
thead th {
  font-size: 12px;
  color: var(--muted);
  font-weight: 600;
  border-bottom: 1px solid #78856c;
}
tbody th {
  font-weight: 400;
}
tbody th b {
  font-family: Consolas, monospace;
  font-weight: 400;
  margin-right: 12px;
  color: var(--muted);
}
td:last-child,
th:last-child {
  text-align: right;
  white-space: nowrap;
}
td {
  font-family: Consolas, monospace;
  font-size: 17px;
  letter-spacing: -0.04em;
}
.table-note {
  font-size: 12px !important;
  margin: 16px 0 0;
}
.project-link {
  display: flex;
  justify-content: space-between;
  gap: 20px;
  align-items: center;
  margin-top: 80px;
  padding: 30px 0;
  border-top: 1px solid var(--line);
}
.project-link p {
  font-size: 20px;
  letter-spacing: -0.035em;
  margin: 0;
}
.project-link a {
  font-weight: 600;
  font-size: 14px;
  min-height: 44px;
  display: flex;
  align-items: center;
  gap: 30px;
}
.project-link a:hover {
  text-decoration: underline;
  text-underline-offset: 5px;
}
footer {
  border-top: 1px solid var(--line);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 30px;
  padding: 24px 0 30px;
  font-size: 12px;
  color: var(--muted);
}
footer .brand {
  font-size: 20px;
  color: var(--ink);
}
footer .brand svg {
  width: 25px;
  height: 25px;
}
footer p {
  margin: 0;
}
.laboratory:fullscreen {
  width: 100%;
  max-width: none;
  border: 0;
  border-radius: 0;
  overflow: auto;
  display: flex;
  flex-direction: column;
  background: var(--paper);
}
.laboratory:fullscreen .lab-body {
  flex: 1;
  min-height: 0;
}
.laboratory:fullscreen .stage {
  height: calc(100% - 135px);
  min-height: 340px;
}
@media (min-width: 1600px) {
  .stage {
    height: 550px;
  }
  .instrument-panel {
    padding: 24px;
  }
  .readings {
    margin-top: 34px;
  }
}
@media (max-width: 1150px) {
  .wrap {
    width: calc(100% - 48px);
  }
  .intro {
    gap: 28px;
  }
  .intro-note {
    font-size: 13px;
    max-width: 275px;
  }
  .lab-body {
    grid-template-columns: minmax(0, 1fr) 280px;
  }
  .instrument-panel {
    padding: 18px 16px;
  }
  .stage {
    height: 490px;
  }
  .under-stage {
    flex-wrap: wrap;
    justify-content: flex-start;
    gap: 12px 24px;
  }
  .editorial,
  .research-grid {
    gap: 55px;
  }
  .lab-toolbar {
    flex-wrap: wrap;
  }
  .readout {
    gap: 12px;
  }
}
@media (max-width: 800px) {
  .site-header {
    height: 82px;
  }
  .site-header nav {
    gap: 18px;
  }
  .intro {
    display: block;
    padding: 32px 0 26px;
  }
  .intro-note {
    font-size: 14px;
    max-width: none;
    margin-top: 18px;
  }
  .intro-note br::after {
    content: " ";
  }
  .lab-body {
    grid-template-columns: minmax(0, 1fr);
  }
  .stage {
    height: 440px;
  }
  .instrument-panel {
    display: grid;
    grid-template-columns: 1.1fr 1fr;
    gap: 28px;
    border-left: 0;
    border-top: 1px solid var(--line);
    padding: 22px;
  }
  .readings {
    border-top: 0;
    border-left: 1px solid var(--line);
    padding: 0 0 0 24px;
    margin: 0;
  }
  .grimoire {
    min-width: 0;
  }
  .spell-button {
    min-height: 73px;
  }
  .panel-heading h2 {
    font-size: 13px;
  }
  .lab-toolbar {
    padding-top: 14px;
  }
  .editorial,
  .research-grid {
    gap: 36px;
    grid-template-columns: 1fr;
  }
  .editorial > div {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 8px 30px;
  }
  .editorial h2 {
    grid-row: span 2;
  }
  .section-deck {
    margin: 0;
  }
  .inline-link {
    justify-self: start;
  }
  .about,
  .research {
    margin-top: 70px;
  }
  .editorial h2,
  .research h2 {
    font-size: 36px;
  }
  .research-grid > div:first-child {
    max-width: 600px;
  }
  .under-stage {
    font-size: 12px;
  }
  .project-link {
    margin-top: 50px;
  }
  footer {
    flex-wrap: wrap;
    gap: 12px 24px;
  }
  footer p:last-child {
    width: 100%;
  }
}
@media (max-width: 540px) {
  .wrap {
    width: calc(100% - 32px);
  }
  .site-header {
    height: 72px;
    gap: 10px;
  }
  .brand {
    font-size: 23px;
  }
  .brand svg {
    width: 26px;
    height: 26px;
    margin-right: 6px;
  }
  .site-header nav {
    gap: 10px;
    font-size: 12px;
  }
  .site-header nav a:first-child {
    display: none;
  }
  .site-header nav a {
    gap: 3px;
  }
  .language-toggle {
    padding: 8px;
    min-width: 44px;
  }
  .intro {
    padding: 28px 0 24px;
  }
  .eyebrow {
    font-size: 12px;
    margin-bottom: 12px;
  }
  h1 {
    font-size: 36px;
    max-width: 360px;
    line-height: 1.08;
  }
  .intro-note {
    font-size: 16px;
    line-height: 1.6;
    margin-top: 16px;
  }
  .lab-top {
    padding: 10px;
    flex-wrap: wrap;
    gap: 8px;
  }
  .mode-tabs {
    width: 100%;
    display: grid;
    grid-template-columns: 1fr 1fr;
  }
  .mode-tabs button {
    font-size: 13px;
    padding: 10px 8px;
  }
  .model-control {
    justify-content: space-between;
    width: 100%;
    padding: 0 4px;
    gap: 12px;
  }
  .model-control label {
    font-size: 12px;
  }
  .model-control select {
    flex: 1;
    font-size: 13px;
  }
  .stage {
    height: 380px;
  }
  .stage-top,
  .stage-bottom {
    left: 18px;
    right: 18px;
    font-size: 12px;
  }
  .stage-top {
    top: 17px;
  }
  .stage-bottom {
    bottom: 16px;
  }
  .stage-top #stage-count {
    display: none;
  }
  .empty-state {
    top: 45%;
  }
  .empty-state h2 {
    font-size: 26px;
  }
  .empty-state p {
    font-size: 16px;
  }
  .instrument-panel {
    grid-template-columns: 1fr;
    padding: 20px;
    gap: 22px;
  }
  .panel-heading h2 {
    font-size: 14px;
  }
  .rail-note {
    font-size: 12px;
    margin-bottom: 12px;
  }
  #spell-list {
    grid-template-columns: repeat(3, 1fr);
    gap: 8px;
  }
  .spell-button {
    min-height: 81px;
    gap: 8px;
  }
  .spell-button .name {
    font-size: 12px;
  }
  .readings {
    border-left: 0;
    border-top: 1px solid var(--line);
    padding: 18px 0 0;
  }
  .readout {
    min-height: 90px;
    gap: 20px;
  }
  .prob-row > div:first-child {
    font-size: 12px;
  }
  .prob-track {
    height: 4px;
  }
  .reading-foot {
    font-size: 12px;
    margin-top: 8px;
  }
  .lab-toolbar {
    padding: 16px 14px 12px;
    gap: 8px;
  }
  .primary-tools {
    display: grid;
    grid-template-columns: 1fr 1fr;
    width: 100%;
    gap: 8px;
  }
  .primary-tools .primary {
    grid-column: span 2;
  }
  .primary-tools button {
    font-size: 14px;
    min-height: 46px;
  }
  .secondary-tools {
    width: 100%;
    justify-content: space-between;
    gap: 4px;
  }
  .secondary-tools button {
    font-size: 12px;
    padding-inline: 10px;
  }
  .notice {
    padding: 0 16px 18px;
    font-size: 14px;
  }
  .under-stage {
    display: block;
    padding: 20px 4px 0;
    font-size: 12px;
  }
  .under-stage p {
    margin-bottom: 11px;
    gap: 10px;
  }
  .under-stage .gesture-label {
    margin-bottom: 13px;
  }
  .about,
  .research {
    margin-top: 56px;
  }
  .section-label {
    font-size: 12px;
    margin-bottom: 26px;
    padding-top: 13px;
  }
  .editorial > div {
    display: block;
  }
  .editorial h2,
  .research h2 {
    font-size: 34px;
    margin-bottom: 20px;
  }
  .section-deck {
    font-size: 16px;
    line-height: 1.7;
    margin-bottom: 16px;
  }
  .inline-link {
    font-size: 14px;
  }
  .editorial {
    gap: 32px;
  }
  .process-list li {
    grid-template-columns: 23px 1fr;
    gap: 13px;
    padding: 23px 0;
  }
  .process-list h3 {
    font-size: 19px;
    line-height: 1.35;
  }
  .process-list p {
    font-size: 16px;
    line-height: 1.7;
  }
  .process-list li > :last-child:not(div) {
    display: none;
  }
  .process-list .mini-bars {
    display: none;
  }
  .research-grid {
    gap: 22px;
  }
  .research p {
    font-size: 16px;
  }
  .research-note {
    font-size: 14px !important;
  }
  .research table {
    font-size: 12px;
  }
  .research th,
  .research td {
    padding: 16px 0;
  }
  .research td {
    font-size: 15px;
  }
  tbody th b {
    margin-right: 5px;
  }
  caption {
    font-size: 12px;
  }
  .table-note {
    font-size: 12px !important;
  }
  .project-link {
    display: block;
    padding: 25px 0;
    margin-top: 48px;
  }
  .project-link p {
    font-size: 22px;
    max-width: 260px;
    margin-bottom: 12px;
  }
  .project-link a {
    font-size: 14px;
    gap: 20px;
  }
  footer {
    padding: 24px 0;
    font-size: 12px;
    display: block;
  }
  footer .brand {
    margin-bottom: 10px;
  }
  footer p {
    margin-top: 8px;
  }
  .trial-info {
    left: 12px;
    right: 12px;
    top: 52px;
    padding: 8px 10px;
    gap: 10px;
    flex-wrap: wrap;
    font-size: 12px;
  }
  .trial-info strong {
    font-size: 23px;
  }
  .cast-title strong {
    font-size: 27px;
  }
}
@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }
  *,
  *::before,
  *::after {
    transition: none !important;
    animation: none !important;
  }
}
