:root {
  color-scheme: light;
  --ink: #17211c;
  --ink-2: #2c3a32;
  --muted: #68736b;
  --quiet: #879087;
  --line: #d8ded3;
  --line-strong: #c1caba;
  --paper: #f5f3ec;
  --paper-2: #ebe8de;
  --white: #fffefa;
  --green: #245d43;
  --green-dark: #123c2b;
  --sage: #dfe8dc;
  --sage-2: #eef3ea;
  --blue: #2d5879;
  --rust: #9b5a2e;
  --bronze: #a0793b;
  --red: #8d4b43;
  --shadow: 0 22px 48px rgba(31, 42, 34, 0.09);
  --shadow-soft: 0 12px 28px rgba(31, 42, 34, 0.06);
  --radius: 8px;
  --container: 1180px;
  --serif: Georgia, "Times New Roman", serif;
  --sans: "Segoe UI", Arial, Helvetica, sans-serif;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  color: var(--ink);
  background:
    linear-gradient(90deg, rgba(18, 60, 43, 0.035) 1px, transparent 1px) center top / 96px 96px,
    var(--paper);
  font-family: var(--sans);
  font-size: 16px;
  line-height: 1.65;
  letter-spacing: 0;
}

body.nav-open {
  overflow: hidden;
}

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

a {
  color: inherit;
  text-decoration-thickness: 1px;
  text-underline-offset: 4px;
}

button,
input,
textarea,
select {
  font: inherit;
  letter-spacing: 0;
}

button {
  cursor: pointer;
}

table {
  border-collapse: collapse;
}

section[id] {
  scroll-margin-top: 92px;
}

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

.skip-link {
  position: fixed;
  top: 12px;
  left: 12px;
  z-index: 1000;
  transform: translateY(-140%);
  padding: 10px 14px;
  color: var(--white);
  background: var(--green-dark);
  border-radius: var(--radius);
}

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

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

.site-header {
  position: sticky;
  top: 0;
  z-index: 100;
  border-bottom: 1px solid rgba(18, 60, 43, 0.14);
  background: rgba(245, 243, 236, 0.94);
  backdrop-filter: blur(18px);
}

.site-header::before {
  content: "";
  display: block;
  height: 3px;
  background: linear-gradient(90deg, var(--green-dark), var(--green), var(--bronze));
}

.nav-bar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  min-height: 76px;
  gap: 24px;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  min-width: 0;
  text-decoration: none;
}

.brand-mark {
  display: grid;
  width: 44px;
  height: 44px;
  place-items: center;
  color: var(--white);
  background: var(--green-dark);
  border: 1px solid rgba(18, 60, 43, 0.35);
  border-radius: var(--radius);
  font-family: var(--serif);
  font-weight: 700;
}

.brand strong {
  display: block;
  color: var(--ink);
  line-height: 1.1;
}

.brand small {
  display: block;
  color: var(--muted);
  font-size: 0.82rem;
}

.site-nav {
  display: flex;
  align-items: center;
  gap: 2px;
  padding: 4px;
  border: 1px solid rgba(18, 60, 43, 0.12);
  border-radius: var(--radius);
  background: rgba(255, 254, 250, 0.64);
}

.site-nav a {
  position: relative;
  padding: 8px 11px;
  color: var(--ink-2);
  border-radius: 6px;
  font-size: 0.92rem;
  font-weight: 650;
  text-decoration: none;
}

.site-nav a:hover {
  color: var(--green-dark);
  background: var(--sage-2);
}

.site-nav a.is-active {
  color: var(--white);
  background: var(--green-dark);
}

.nav-toggle {
  display: none;
  width: 44px;
  height: 44px;
  padding: 9px;
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: var(--radius);
}

.nav-toggle span:not(.sr-only) {
  display: block;
  height: 2px;
  margin: 5px 0;
  background: var(--ink);
}

.hero {
  position: relative;
  padding: 78px 0 54px;
  overflow: hidden;
  background:
    linear-gradient(180deg, rgba(255, 254, 250, 0.94), rgba(245, 243, 236, 0.98)),
    var(--white);
  border-bottom: 1px solid var(--line);
}

.hero::after {
  content: "";
  position: absolute;
  inset: auto 0 0 0;
  height: 1px;
  background: var(--line-strong);
}

.hero-grid {
  position: relative;
  display: grid;
  grid-template-columns: minmax(0, 1.02fr) minmax(360px, 0.94fr);
  align-items: center;
  gap: 54px;
}

.hero-copy {
  max-width: 735px;
}

.eyebrow,
.section-kicker {
  margin: 0 0 14px;
  color: var(--rust);
  font-size: 0.78rem;
  font-weight: 750;
  text-transform: uppercase;
  letter-spacing: 0;
}

.hero h1 {
  margin: 0;
  max-width: 760px;
  font-family: var(--serif);
  font-size: 3.45rem;
  line-height: 1;
  font-weight: 700;
}

.hero-lede {
  max-width: 690px;
  margin: 25px 0 0;
  color: var(--ink-2);
  font-size: 1.12rem;
  line-height: 1.72;
}

.hero-meta {
  display: grid;
  grid-template-columns: 0.72fr 0.78fr 1.32fr;
  gap: 0;
  margin: 34px 0 0;
  padding: 0;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: rgba(255, 254, 250, 0.74);
  box-shadow: var(--shadow-soft);
  overflow: hidden;
}

.hero-meta div {
  padding: 18px 19px;
  border-right: 1px solid var(--line);
}

.hero-meta div:last-child {
  border-right: 0;
}

.hero-meta dt {
  margin: 0 0 6px;
  color: var(--rust);
  font-size: 0.72rem;
  font-weight: 750;
  text-transform: uppercase;
  letter-spacing: 0;
}

.hero-meta dd {
  margin: 0;
  color: var(--ink);
  font-weight: 700;
  line-height: 1.38;
}

.hero-meta div:nth-child(1) dd,
.hero-meta div:nth-child(2) dd {
  white-space: nowrap;
}

.hero-actions,
.download-list {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 28px;
}

.button,
.download-list a {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 46px;
  padding: 10px 18px;
  border: 1px solid var(--line-strong);
  border-radius: var(--radius);
  font-weight: 750;
  text-decoration: none;
  transition: transform 160ms ease, background 160ms ease, border-color 160ms ease, color 160ms ease;
}

.button-primary {
  color: var(--white);
  background: var(--green-dark);
  border-color: var(--green-dark);
}

.button-primary:hover {
  background: var(--green);
  border-color: var(--green);
}

.button-secondary,
.download-list a {
  color: var(--ink);
  background: rgba(255, 254, 250, 0.8);
}

.button-secondary:hover,
.download-list a:hover {
  color: var(--green-dark);
  background: var(--sage-2);
  border-color: var(--green);
}

.button:hover,
.download-list a:hover,
.filter-button:hover,
.gallery-card:hover {
  transform: translateY(-1px);
}

.hero-figure,
.wide-figure,
.figure-panel,
.prototype-shot {
  margin: 0;
}

.hero-figure {
  position: relative;
  padding: 18px;
  background: rgba(255, 254, 250, 0.88);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  box-shadow: var(--shadow);
}

.hero-figure::before {
  content: "Graphical abstract";
  display: block;
  margin: 0 0 10px;
  color: var(--rust);
  font-size: 0.72rem;
  font-weight: 750;
  text-transform: uppercase;
  letter-spacing: 0;
}

.hero-figure img {
  width: 100%;
  aspect-ratio: 16 / 8.2;
  object-fit: contain;
  background: var(--white);
  border: 1px solid rgba(23, 33, 28, 0.1);
}

figcaption {
  margin-top: 11px;
  color: var(--muted);
  font-size: 0.87rem;
  line-height: 1.55;
}

.metrics-band {
  padding: 18px 0;
  background: var(--paper);
}

.metrics-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  color: var(--ink);
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  box-shadow: var(--shadow-soft);
}

.metric {
  position: relative;
  min-height: 118px;
  padding: 24px 28px 22px;
  border-right: 1px solid var(--line);
}

.metric:last-child {
  border-right: 0;
}

.metric::before {
  content: "";
  display: block;
  width: 28px;
  height: 3px;
  margin-bottom: 18px;
  background: var(--green);
}

.metric:nth-child(2)::before {
  background: var(--blue);
}

.metric:nth-child(3)::before {
  background: var(--bronze);
}

.metric:nth-child(4)::before {
  background: var(--rust);
}

.metric strong {
  display: block;
  font-family: var(--serif);
  font-size: 2.45rem;
  line-height: 1;
}

.metric span {
  display: block;
  max-width: 190px;
  margin-top: 9px;
  color: var(--muted);
  font-size: 0.94rem;
}

.section {
  padding: 88px 0;
}

.section-ruled {
  border-block: 1px solid var(--line);
  background: rgba(255, 254, 250, 0.76);
}

.section-heading {
  display: grid;
  grid-template-columns: minmax(0, 0.88fr) minmax(320px, 0.7fr);
  align-items: start;
  gap: 56px;
  margin-bottom: 42px;
}

.section-heading.compact {
  display: block;
  margin-bottom: 0;
}

.section-heading h2 {
  margin: 0;
  max-width: 760px;
  font-family: var(--serif);
  font-size: 2.45rem;
  line-height: 1.12;
  font-weight: 700;
}

.section-heading p {
  margin: 4px 0 0;
  max-width: 650px;
  color: var(--muted);
  font-size: 1.04rem;
  line-height: 1.78;
}

.section-heading.compact p {
  margin-top: 16px;
}

.section-kicker {
  position: relative;
  display: inline-flex;
  align-items: center;
  gap: 10px;
}

.section-kicker::before {
  content: "";
  width: 28px;
  height: 1px;
  background: currentColor;
}

.overview-grid,
.evidence-grid,
.scope-grid,
.process-grid {
  display: grid;
  gap: 18px;
}

.overview-grid {
  grid-template-columns: 1.08fr 1fr 1fr 1.08fr;
  align-items: stretch;
}

.feature-card,
.finding,
.scope-card,
.process-grid article,
.point,
.audit-strip div {
  background: rgba(255, 254, 250, 0.88);
  border: 1px solid var(--line);
  border-radius: var(--radius);
}

.feature-card {
  min-height: 278px;
  padding: 25px;
  box-shadow: 0 1px 0 rgba(18, 60, 43, 0.04);
}

.feature-card:nth-child(1),
.feature-card:nth-child(4) {
  padding-top: 32px;
}

.card-index {
  display: inline-grid;
  width: auto;
  min-width: 42px;
  height: 30px;
  place-items: center;
  margin-bottom: 34px;
  padding: 0 10px;
  color: var(--green-dark);
  background: var(--sage);
  border: 1px solid rgba(18, 60, 43, 0.18);
  border-radius: 999px;
  font-size: 0.78rem;
  font-weight: 800;
}

.feature-card:nth-child(2) .card-index {
  color: var(--blue);
  background: #e1e8ec;
}

.feature-card:nth-child(3) .card-index {
  color: var(--rust);
  background: #efe5d8;
}

.feature-card:nth-child(4) .card-index {
  color: var(--red);
  background: #eee1dd;
}

.feature-card h3,
.process-grid h3,
.scope-card h3,
.findings-list h3,
.gallery-header h3,
.embed-header h3 {
  margin: 0 0 12px;
  color: var(--ink);
  font-size: 1.12rem;
  line-height: 1.28;
}

.feature-card p,
.finding p,
.findings-list p,
.scope-card li,
.clean-list li,
.point span,
.audit-strip span,
.footer-grid p {
  color: var(--muted);
}

.feature-card p,
.finding p,
.findings-list p {
  margin: 0;
}

.split-layout {
  display: grid;
  grid-template-columns: minmax(0, 0.86fr) minmax(340px, 0.98fr);
  gap: 58px;
  margin-bottom: 32px;
}

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

.system-points {
  display: grid;
  gap: 12px;
  align-self: start;
}

.point {
  display: grid;
  grid-template-columns: 168px 1fr;
  gap: 20px;
  padding: 18px 20px;
  background: var(--white);
}

.point strong {
  color: var(--ink);
  font-size: 0.96rem;
}

.wide-figure {
  padding: 18px;
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  box-shadow: var(--shadow);
}

.section-ruled .wide-figure {
  background: rgba(255, 254, 250, 0.94);
}

.wide-figure img {
  width: 100%;
  max-height: 630px;
  object-fit: contain;
  background: var(--white);
  border: 1px solid rgba(23, 33, 28, 0.08);
}

.wide-figure figcaption,
.figure-panel figcaption,
.prototype-shot figcaption {
  padding-top: 8px;
  border-top: 1px solid rgba(18, 60, 43, 0.09);
}

.process-grid {
  grid-template-columns: repeat(2, 1fr);
  margin-top: 20px;
}

.process-grid article,
.scope-card {
  padding: 24px 26px;
}

.clean-list {
  display: grid;
  gap: 10px;
  margin: 0;
  padding-left: 18px;
}

.data-layout {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 18px;
  align-items: stretch;
}

.figure-panel {
  display: grid;
  grid-template-rows: auto 1fr;
  padding: 15px;
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  box-shadow: var(--shadow-soft);
}

.figure-panel img {
  width: 100%;
  aspect-ratio: 4 / 3;
  object-fit: contain;
  background: #fbfbf7;
  border: 1px solid rgba(23, 33, 28, 0.06);
}

.table-wrap {
  margin-top: 34px;
  overflow-x: auto;
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  box-shadow: var(--shadow-soft);
}

table {
  width: 100%;
  min-width: 760px;
}

caption {
  padding: 20px 22px;
  color: var(--ink);
  font-family: var(--serif);
  font-size: 1.15rem;
  font-weight: 700;
  text-align: left;
  background: linear-gradient(180deg, var(--white), #f8f7f0);
}

th,
td {
  padding: 17px 22px;
  text-align: left;
  vertical-align: top;
  border-top: 1px solid var(--line);
}

th {
  color: var(--ink);
  background: var(--sage-2);
  font-size: 0.8rem;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0;
}

td {
  color: var(--muted);
}

tbody tr:nth-child(even) {
  background: rgba(238, 243, 234, 0.42);
}

td:first-child {
  color: var(--ink);
  font-weight: 750;
}

.evidence-grid {
  grid-template-columns: repeat(4, 1fr);
  margin-bottom: 20px;
}

.finding {
  position: relative;
  min-height: 230px;
  padding: 24px 22px;
  overflow: hidden;
  background: var(--white);
}

.finding::before {
  content: "";
  display: block;
  width: 34px;
  height: 3px;
  margin-bottom: 18px;
  background: var(--green);
}

.finding:nth-child(2)::before {
  background: var(--blue);
}

.finding:nth-child(3)::before {
  background: var(--bronze);
}

.finding:nth-child(4)::before {
  background: var(--rust);
}

.finding span {
  display: block;
  margin-bottom: 14px;
  color: var(--muted);
  font-size: 0.8rem;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0;
}

.finding strong {
  display: block;
  margin-bottom: 14px;
  color: var(--green-dark);
  font-family: var(--serif);
  font-size: 1.95rem;
  line-height: 1.02;
}

.findings-list {
  display: grid;
  grid-template-columns: minmax(0, 1.1fr) minmax(0, 0.9fr);
  gap: 18px;
  margin: 22px 0 46px;
}

.findings-list div {
  padding: 24px 26px;
  background: rgba(255, 254, 250, 0.72);
  border: 1px solid var(--line);
  border-left: 4px solid var(--green);
  border-radius: var(--radius);
}

.findings-list div:nth-child(2) {
  border-left-color: var(--bronze);
}

.gallery-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  margin-bottom: 16px;
  padding-top: 10px;
  border-top: 1px solid var(--line);
}

.gallery-header h3 {
  margin: 0;
  font-family: var(--serif);
  font-size: 1.35rem;
}

.filter-group {
  display: inline-flex;
  flex-wrap: wrap;
  gap: 6px;
  padding: 4px;
  background: rgba(255, 254, 250, 0.75);
  border: 1px solid var(--line);
  border-radius: var(--radius);
}

.filter-button {
  min-height: 36px;
  padding: 6px 12px;
  color: var(--ink-2);
  background: transparent;
  border: 0;
  border-radius: 6px;
  font-weight: 750;
  transition: transform 160ms ease, background 160ms ease, color 160ms ease;
}

.filter-button.is-active {
  color: var(--white);
  background: var(--green-dark);
}

.figure-gallery {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 18px;
}

.gallery-card {
  min-width: 0;
  padding: 0;
  overflow: hidden;
  color: inherit;
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  text-align: left;
  transition: transform 160ms ease, border-color 160ms ease, box-shadow 160ms ease;
}

.gallery-card:hover {
  border-color: var(--line-strong);
  box-shadow: var(--shadow-soft);
}

.gallery-card[hidden] {
  display: none;
}

.gallery-card img {
  width: 100%;
  aspect-ratio: 16 / 10;
  object-fit: contain;
  background: #f7f7f1;
  border-bottom: 1px solid var(--line);
}

.gallery-card span {
  display: block;
  padding: 14px 16px 16px;
  color: var(--ink);
  font-weight: 750;
}

.demos-intro {
  max-width: 860px;
  margin-bottom: 30px;
}

.demo-note {
  max-width: 700px;
  margin: 14px 0 0;
  color: var(--muted);
  font-size: 0.95rem;
}

.walkthrough-embed {
  overflow: hidden;
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  box-shadow: var(--shadow);
}

.embed-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
  padding: 18px 20px;
  border-bottom: 1px solid var(--line);
  background: linear-gradient(180deg, var(--white), #f8f7f0);
}

.embed-header .section-kicker {
  margin-bottom: 4px;
}

.embed-header a {
  flex: 0 0 auto;
  color: var(--green-dark);
  font-weight: 750;
  text-decoration: none;
}

.walkthrough-embed iframe {
  display: block;
  width: 100%;
  height: 720px;
  border: 0;
  background: var(--white);
}

.prototype-shot {
  padding: 15px;
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  box-shadow: var(--shadow-soft);
}

.prototype-shot img {
  width: 100%;
  aspect-ratio: 16 / 10;
  object-fit: cover;
  object-position: top left;
  border: 1px solid rgba(23, 33, 28, 0.08);
}

.prototype-shot-compact {
  max-width: 900px;
  margin: 22px auto 18px;
}

.audit-strip {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 18px;
}

.audit-strip div {
  padding: 22px;
  border-top: 3px solid var(--green);
}

.audit-strip div:nth-child(2) {
  border-top-color: var(--blue);
}

.audit-strip div:nth-child(3) {
  border-top-color: var(--bronze);
}

.audit-strip strong,
.audit-strip span {
  display: block;
}

.audit-strip strong {
  color: var(--ink);
}

.audit-strip span {
  margin-top: 8px;
}

.scope-grid {
  grid-template-columns: repeat(2, 1fr);
  margin-bottom: 20px;
}

.scope-card {
  border-top: 4px solid var(--green);
  background: var(--white);
}

.scope-card.future {
  border-top-color: var(--rust);
}

.lightbox {
  position: fixed;
  inset: 0;
  z-index: 200;
  display: grid;
  place-items: center;
  padding: 34px;
  background: rgba(15, 22, 18, 0.86);
}

.lightbox[hidden] {
  display: none;
}

.lightbox figure {
  width: min(1120px, 100%);
  max-height: 88vh;
  margin: 0;
  padding: 16px;
  overflow: auto;
  background: var(--white);
  border-radius: var(--radius);
}

.lightbox img {
  width: 100%;
  max-height: 72vh;
  object-fit: contain;
  background: var(--white);
}

.lightbox-close {
  position: fixed;
  top: 18px;
  right: 18px;
  min-height: 42px;
  padding: 8px 14px;
  color: var(--white);
  background: var(--green-dark);
  border: 1px solid rgba(255, 255, 255, 0.22);
  border-radius: var(--radius);
  font-weight: 750;
}

.site-footer {
  padding: 36px 0;
  color: var(--white);
  background: var(--green-dark);
}

.footer-grid {
  display: grid;
  grid-template-columns: 1.2fr 0.7fr 1fr;
  gap: 30px;
}

.footer-grid strong,
.footer-grid span {
  display: block;
  color: var(--white);
  font-weight: 750;
}

.footer-grid p {
  margin: 8px 0 0;
  color: rgba(255, 255, 255, 0.72);
}

:focus-visible {
  outline: 3px solid rgba(45, 88, 121, 0.42);
  outline-offset: 3px;
}

@media (max-width: 1100px) {
  .hero-grid,
  .section-heading,
  .split-layout {
    grid-template-columns: 1fr;
  }

  .hero-copy,
  .section-heading p {
    max-width: none;
  }

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

  .data-layout,
  .figure-gallery,
  .audit-strip {
    grid-template-columns: 1fr 1fr;
  }
}

@media (max-width: 820px) {
  body.nav-open .site-header {
    background: var(--paper);
  }

  .container {
    width: min(100% - 28px, var(--container));
  }

  .nav-toggle {
    display: block;
  }

  .site-nav {
    position: fixed;
    inset: 79px 14px auto 14px;
    display: none;
    flex-direction: column;
    align-items: stretch;
    padding: 8px;
    background: var(--white);
    border: 1px solid var(--line);
    box-shadow: var(--shadow);
  }

  .site-nav.is-open {
    display: flex;
  }

  .site-nav a {
    padding: 13px 14px;
  }

  .hero {
    padding-top: 86px;
  }

  .hero h1 {
    font-size: 2.72rem;
    line-height: 1.04;
  }

  .hero-lede {
    font-size: 1.04rem;
  }

  .hero-meta,
  .metrics-grid,
  .process-grid,
  .findings-list,
  .scope-grid,
  .footer-grid {
    grid-template-columns: 1fr;
  }

  .hero-meta div,
  .metric {
    border-right: 0;
    border-bottom: 1px solid var(--line);
  }

  .hero-meta div:last-child,
  .metric:last-child {
    border-bottom: 0;
  }

  .metric {
    min-height: auto;
  }

  .section {
    padding: 62px 0;
  }

  .section-heading {
    gap: 18px;
    margin-bottom: 30px;
  }

  .section-heading h2 {
    font-size: 2.08rem;
  }

  .overview-grid,
  .evidence-grid,
  .data-layout,
  .figure-gallery,
  .audit-strip {
    grid-template-columns: 1fr;
  }

  .feature-card,
  .finding {
    min-height: auto;
  }

  .card-index {
    margin-bottom: 20px;
  }

  .point {
    grid-template-columns: 1fr;
    gap: 6px;
  }

  .gallery-header {
    display: block;
  }

  .filter-group {
    margin-top: 12px;
  }

  .embed-header {
    align-items: flex-start;
    flex-direction: column;
  }

  .walkthrough-embed iframe {
    height: 680px;
  }

  .lightbox {
    padding: 18px;
  }
}

@media (max-width: 640px) {
  .table-wrap {
    overflow-x: visible;
  }

  table,
  tbody,
  tr,
  td,
  caption {
    display: block;
    width: 100%;
    min-width: 0;
  }

  thead {
    display: none;
  }

  tbody tr {
    border-top: 1px solid var(--line);
  }

  tbody tr:nth-child(even) {
    background: rgba(238, 243, 234, 0.44);
  }

  td {
    display: grid;
    grid-template-columns: 106px minmax(0, 1fr);
    gap: 14px;
    padding: 14px 18px;
    border-top: 0;
  }

  td::before {
    color: var(--rust);
    font-size: 0.72rem;
    font-weight: 800;
    text-transform: uppercase;
  }

  td:nth-child(1)::before {
    content: "Signal";
  }

  td:nth-child(2)::before {
    content: "Purpose";
  }

  td:nth-child(3)::before {
    content: "Interpretation";
  }
}

@media (max-width: 480px) {
  .brand small {
    font-size: 0.78rem;
  }

  .hero h1 {
    font-size: 2.38rem;
  }

  .button,
  .download-list a {
    width: 100%;
  }
}

@media (prefers-reduced-motion: reduce) {
  *,
  *::before,
  *::after {
    scroll-behavior: auto !important;
    transition-duration: 0.01ms !important;
    animation-duration: 0.01ms !important;
  }

  .button:hover,
  .download-list a:hover,
  .filter-button:hover,
  .gallery-card:hover {
    transform: none;
  }
}
