:root {
  --ink: #111827;
  --text: #344054;
  --muted: #667085;
  --line: #d8dee8;
  --soft-line: #e8ecf2;
  --paper: #ffffff;
  --surface: #f5f7fa;
  --blue: #1d4ed8;
  --blue-dark: #173da7;
  --blue-soft: #eef4ff;
  --container: min(1160px, calc(100vw - 48px));
  --reading: 790px;
  --sans: "Source Sans 3", -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  --mono: "IBM Plex Mono", Consolas, monospace;
}

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

html {
  scroll-behavior: smooth;
  scroll-padding-top: 84px;
}

body {
  margin: 0;
  color: var(--text);
  background: var(--paper);
  font-family: var(--sans);
  font-size: 17px;
  line-height: 1.72;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}

body.menu-open {
  overflow: hidden;
}

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

a {
  color: inherit;
  text-decoration: none;
}

button {
  font: inherit;
}

:focus-visible {
  outline: 3px solid #93b4ff;
  outline-offset: 3px;
}

::selection {
  color: #ffffff;
  background: var(--blue);
}

.container {
  width: var(--container);
  margin-inline: auto;
}

.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;
}

.skip-link {
  position: fixed;
  z-index: 1000;
  top: 12px;
  left: 12px;
  padding: 9px 13px;
  color: #ffffff;
  background: var(--blue);
  transform: translateY(-160%);
}

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

.partner-strip {
  height: 58px;
  background: #ffffff;
  border-bottom: 1px solid var(--soft-line);
}

.partner-strip-inner {
  display: flex;
  align-items: center;
  justify-content: flex-end;
  gap: 15px;
  height: 100%;
}

.partner-label {
  color: var(--muted);
  font-family: var(--mono);
  font-size: 0.63rem;
  letter-spacing: 0.07em;
  text-transform: uppercase;
}

.partner-logo {
  position: relative;
  display: block;
  overflow: hidden;
}

.partner-logo-deepcybo {
  width: 164px;
  height: 49px;
}

.partner-logo-deepcybo img {
  position: absolute;
  top: 50%;
  left: 0;
  width: 164px;
  max-width: none;
  transform: translateY(-50%);
}

.partner-logo-insta360 {
  width: 160px;
}

.partner-logo-insta360 img {
  width: 100%;
}

.partner-separator {
  width: 1px;
  height: 23px;
  background: var(--line);
}

.site-header {
  position: sticky;
  z-index: 100;
  top: 0;
  height: 68px;
  background: #ffffff;
  border-bottom: 1px solid var(--line);
}

.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 100%;
}

.wordmark {
  color: var(--ink);
  font-size: 1.26rem;
  font-weight: 700;
  letter-spacing: -0.025em;
}

.site-nav {
  display: flex;
  align-items: center;
  gap: 27px;
  color: #475467;
  font-size: 0.86rem;
  font-weight: 600;
}

.site-nav a {
  padding: 6px 0;
  border-bottom: 1px solid transparent;
}

.site-nav a:hover,
.site-nav a[aria-current="true"] {
  color: var(--blue);
  border-bottom-color: var(--blue);
}

.site-nav .nav-paper {
  padding: 9px 14px;
  color: #ffffff;
  background: var(--blue);
  border: 1px solid var(--blue);
}

.site-nav .nav-paper:hover {
  color: #ffffff;
  background: var(--blue-dark);
  border-color: var(--blue-dark);
}

.menu-button {
  display: none;
}

.hero {
  padding: 104px 0 70px;
  text-align: center;
  border-bottom: 1px solid var(--soft-line);
}

.hero-inner {
  max-width: 1030px;
}

.publication-label {
  margin: 0 0 20px;
  color: var(--blue);
  font-family: var(--mono);
  font-size: 0.7rem;
  font-weight: 500;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.hero h1 {
  margin: 0;
  color: var(--ink);
  font-size: clamp(3rem, 6.2vw, 5.3rem);
  font-weight: 600;
  letter-spacing: -0.052em;
  line-height: 1.03;
}

.authors {
  margin: 28px 0 0;
  color: var(--ink);
  font-size: 1.12rem;
  font-weight: 600;
}

.hero-summary {
  max-width: 830px;
  margin: 27px auto 0;
  color: var(--muted);
  font-size: 1.18rem;
  line-height: 1.68;
}

.hero-actions {
  display: flex;
  justify-content: center;
  gap: 12px;
  margin-top: 38px;
}

.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 22px;
  min-height: 48px;
  padding: 0 17px;
  font-size: 0.86rem;
  font-weight: 600;
  border: 1px solid transparent;
}

.button span {
  font-family: var(--mono);
  font-size: 0.65rem;
  font-weight: 400;
  letter-spacing: 0.055em;
  text-transform: uppercase;
  opacity: 0.76;
}

.button-primary {
  color: #ffffff;
  background: var(--blue);
  border-color: var(--blue);
}

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

.button-secondary {
  color: var(--ink);
  background: #ffffff;
  border-color: #aeb8c7;
}

.button-secondary:hover {
  color: var(--blue);
  border-color: var(--blue);
}

.hero-figure {
  padding: 64px 0 46px;
  background: var(--surface);
}

.figure-frame {
  margin: 0;
  padding: 12px;
  background: #ffffff;
  border: 1px solid var(--line);
}

.figure-frame a {
  display: block;
}

.figure-frame img {
  width: 100%;
  height: auto;
}

.figure-frame figcaption {
  padding: 15px 7px 3px;
  color: var(--muted);
  font-size: 0.82rem;
  line-height: 1.55;
}

.figure-frame figcaption strong {
  color: var(--ink);
  font-weight: 600;
}

.facts {
  background: #ffffff;
  border-bottom: 1px solid var(--line);
}

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

.facts-grid > div {
  min-height: 128px;
  padding: 28px 24px;
  border-left: 1px solid var(--line);
}

.facts-grid > div:last-child {
  border-right: 1px solid var(--line);
}

.facts-grid strong,
.facts-grid span {
  display: block;
}

.facts-grid strong {
  color: var(--ink);
  font-size: 1.8rem;
  font-weight: 600;
  letter-spacing: -0.035em;
}

.facts-grid span {
  margin-top: 7px;
  color: var(--muted);
  font-size: 0.79rem;
  line-height: 1.45;
}

.section {
  padding: 112px 0;
  border-bottom: 1px solid var(--line);
}

.section-muted {
  background: var(--surface);
}

.article-grid {
  display: grid;
  grid-template-columns: 76px minmax(0, 1fr);
  align-items: start;
  gap: 44px;
}

.section-index {
  padding-top: 5px;
  color: #98a2b3;
  font-family: var(--mono);
  font-size: 0.78rem;
  border-top: 1px solid #98a2b3;
}

.section-body {
  min-width: 0;
}

.section-header {
  max-width: 900px;
  margin-bottom: 46px;
}

.section-header > p {
  margin: 0 0 15px;
  color: var(--blue);
  font-family: var(--mono);
  font-size: 0.7rem;
  font-weight: 500;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.section-header h2,
.access-inner h2 {
  margin: 0;
  color: var(--ink);
  font-size: clamp(2.25rem, 4.5vw, 4rem);
  font-weight: 600;
  letter-spacing: -0.045em;
  line-height: 1.08;
}

.lead-copy,
.section-lead,
.subsection-block > p,
.ethics-grid {
  max-width: var(--reading);
}

.lead-copy {
  font-size: 1.11rem;
}

.lead-copy p,
.section-lead {
  margin: 0 0 22px;
}

.section-lead {
  color: #475467;
  font-size: 1.09rem;
}

.section-body h3 {
  margin: 56px 0 20px;
  color: var(--ink);
  font-size: 1.5rem;
  font-weight: 600;
  letter-spacing: -0.02em;
  line-height: 1.25;
}

.section-body h4 {
  margin: 0 0 8px;
  color: var(--ink);
  font-size: 1rem;
  font-weight: 600;
}

.principle-table {
  margin: 48px 0 58px;
  border-top: 1px solid var(--ink);
}

.principle-table > div {
  display: grid;
  grid-template-columns: 1.3fr 1fr 1fr;
  gap: 24px;
  padding: 13px 12px;
  font-size: 0.88rem;
  border-bottom: 1px solid var(--line);
}

.principle-table > div span:not(:first-child) {
  color: var(--ink);
}

.principle-table .table-heading {
  color: var(--ink);
  font-weight: 600;
  background: var(--surface);
}

.definition-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 0;
  margin-top: 24px;
  border-top: 1px solid var(--line);
  border-left: 1px solid var(--line);
}

.definition-grid > div {
  min-height: 160px;
  padding: 26px;
  background: #ffffff;
  border-right: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
}

.definition-grid p {
  margin: 0;
  color: var(--muted);
  font-size: 0.9rem;
}

.research-position {
  max-width: var(--reading);
  margin-top: 42px;
  padding: 25px 28px;
  background: var(--blue-soft);
  border-left: 3px solid var(--blue);
}

.research-position p {
  margin: 0;
}

.research-position-label {
  margin-bottom: 7px !important;
  color: var(--blue);
  font-family: var(--mono);
  font-size: 0.66rem;
  letter-spacing: 0.07em;
  text-transform: uppercase;
}

.wide-figure {
  margin-top: 48px;
}

.method-stage {
  margin-top: 72px;
}

.method-stage-label {
  display: grid;
  grid-template-columns: 104px 1fr;
  align-items: center;
  padding-bottom: 16px;
  border-bottom: 1px solid var(--ink);
}

.method-stage-label span {
  color: var(--blue);
  font-family: var(--mono);
  font-size: 0.7rem;
  letter-spacing: 0.06em;
  text-transform: uppercase;
}

.method-stage-label strong {
  color: var(--ink);
  font-size: 1.18rem;
  font-weight: 600;
}

.method-details {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  border-left: 1px solid var(--line);
}

.method-details article {
  padding: 30px 32px 32px;
  background: #ffffff;
  border-right: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
}

.method-details h3,
.characterization-grid h3,
.interpretation-grid h3,
.ethics-grid h3 {
  margin: 0 0 13px;
  font-size: 1.16rem;
}

.method-details p,
.characterization-grid p,
.interpretation-grid p,
.ethics-grid p {
  margin: 0;
  color: var(--muted);
  font-size: 0.92rem;
  line-height: 1.7;
}

.figure-pair {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 18px;
  margin-top: 56px;
}

.subsection-block {
  margin-top: 78px;
  padding-top: 32px;
  border-top: 1px solid var(--ink);
}

.subsection-block > h3 {
  margin-top: 0;
}

.prose-columns {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 42px;
  max-width: 1000px;
}

.prose-columns p,
.subsection-block > p {
  margin: 0;
}

.figure-dark {
  background: #101820;
  border-color: #101820;
}

.figure-dark figcaption {
  color: #b9c2cc;
}

.figure-dark figcaption strong {
  color: #ffffff;
}

.characterization-grid,
.interpretation-grid,
.ethics-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 0;
  margin-top: 48px;
  border-top: 1px solid var(--line);
  border-left: 1px solid var(--line);
}

.characterization-grid article,
.interpretation-grid article,
.ethics-grid > div {
  padding: 30px;
  background: #ffffff;
  border-right: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
}

.table-wrap {
  margin-top: 46px;
  overflow-x: auto;
  border: 1px solid var(--line);
}

table {
  width: 100%;
  min-width: 850px;
  color: var(--text);
  font-size: 0.8rem;
  line-height: 1.45;
  border-collapse: collapse;
}

caption {
  padding: 17px 18px;
  color: var(--ink);
  font-size: 0.9rem;
  font-weight: 600;
  text-align: left;
  background: #ffffff;
  border-bottom: 1px solid var(--ink);
}

th,
td {
  padding: 12px 14px;
  text-align: left;
  border-right: 1px solid var(--soft-line);
  border-bottom: 1px solid var(--soft-line);
  white-space: nowrap;
}

th {
  color: var(--ink);
  font-weight: 600;
  background: #f0f3f7;
}

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

tr:last-child td {
  border-bottom: 0;
}

th:last-child,
td:last-child {
  border-right: 0;
}

.table-note {
  margin: 13px 0 0;
  color: var(--muted);
  font-size: 0.78rem;
}

.second-table {
  margin-top: 52px;
}

.second-table table {
  min-width: 760px;
}

.interpretation-grid article:first-child {
  border-top: 3px solid var(--blue);
}

.interpretation-grid article:last-child {
  border-top: 3px solid #667085;
}

.ethics-grid {
  max-width: none;
}

.access-section {
  padding: 90px 0;
  background: #ffffff;
  border-bottom: 1px solid var(--line);
}

.access-inner {
  display: grid;
  grid-template-columns: minmax(0, 1.4fr) minmax(320px, 0.6fr);
  align-items: end;
  gap: 70px;
}

.access-inner > div:first-child > p:last-child {
  max-width: 720px;
  margin: 22px 0 0;
  color: var(--muted);
}

.access-buttons {
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.site-footer {
  padding: 42px 0;
  color: #cbd5e1;
  background: var(--ink);
}

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

.footer-inner > div:first-child {
  display: flex;
  flex-direction: column;
}

.footer-inner strong {
  color: #ffffff;
  font-size: 1.1rem;
}

.footer-inner span {
  margin-top: 3px;
  font-size: 0.78rem;
}

.footer-links {
  display: flex;
  gap: 24px;
  font-size: 0.75rem;
}

.footer-links a:hover {
  color: #ffffff;
}

.notice {
  position: fixed;
  z-index: 200;
  right: 20px;
  bottom: 20px;
  max-width: 380px;
  padding: 13px 16px;
  color: #ffffff;
  font-size: 0.78rem;
  background: var(--ink);
  border-left: 3px solid #93b4ff;
  box-shadow: 0 10px 35px rgba(17, 24, 39, 0.2);
  opacity: 0;
  pointer-events: none;
  transform: translateY(12px);
  transition: opacity 150ms ease, transform 150ms ease;
}

.notice.is-visible {
  opacity: 1;
  transform: translateY(0);
}

@media (max-width: 980px) {
  .site-nav {
    gap: 18px;
  }

  .site-nav a:not(.nav-paper) {
    display: none;
  }

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

  .facts-grid > div:nth-child(2) {
    border-right: 1px solid var(--line);
  }

  .facts-grid > div:nth-child(-n + 2) {
    border-bottom: 1px solid var(--line);
  }

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

  .method-details,
  .figure-pair,
  .prose-columns,
  .characterization-grid,
  .interpretation-grid,
  .ethics-grid {
    grid-template-columns: 1fr;
  }

  .access-inner {
    grid-template-columns: 1fr;
  }

  .access-buttons {
    flex-direction: row;
  }
}

@media (max-width: 700px) {
  :root {
    --container: min(100% - 30px, 640px);
  }

  body {
    font-size: 16px;
  }

  .partner-strip {
    height: 50px;
  }

  .partner-strip-inner {
    justify-content: center;
    gap: 10px;
  }

  .partner-label {
    display: none;
  }

  .partner-logo-deepcybo {
    width: 134px;
    height: 42px;
  }

  .partner-logo-deepcybo img {
    width: 134px;
  }

  .partner-logo-insta360 {
    width: 126px;
  }

  .site-header {
    height: 62px;
  }

  .menu-button {
    position: relative;
    z-index: 103;
    display: grid;
    width: 40px;
    height: 40px;
    padding: 10px;
    cursor: pointer;
    background: #ffffff;
    border: 1px solid var(--line);
    place-content: center;
  }

  .menu-button span:not(.sr-only) {
    display: block;
    width: 17px;
    height: 1px;
    margin: 2.5px;
    background: var(--ink);
  }

  .site-nav {
    position: fixed;
    z-index: 102;
    inset: 0;
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    justify-content: center;
    gap: 12px;
    padding: 15vw;
    color: var(--ink);
    background: #ffffff;
    opacity: 0;
    pointer-events: none;
    transform: translateY(-8px);
    transition: opacity 150ms ease, transform 150ms ease;
  }

  .menu-open .site-nav {
    opacity: 1;
    pointer-events: auto;
    transform: translateY(0);
  }

  .site-nav a,
  .site-nav a:not(.nav-paper) {
    display: block;
    color: var(--ink);
    font-size: 1.7rem;
    border: 0;
  }

  .site-nav .nav-paper {
    margin-top: 16px;
    padding: 11px 15px;
    color: #ffffff;
    font-size: 0.9rem;
  }

  .hero {
    padding: 74px 0 58px;
    text-align: left;
  }

  .hero h1 {
    font-size: clamp(2.55rem, 13vw, 4.2rem);
  }

  .hero-summary {
    font-size: 1.03rem;
  }

  .hero-actions {
    flex-direction: column;
    align-items: stretch;
  }

  .hero-figure {
    padding: 34px 0;
  }

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

  .facts-grid > div,
  .facts-grid > div:nth-child(2) {
    min-height: auto;
    border-right: 1px solid var(--line);
    border-bottom: 1px solid var(--line);
  }

  .section {
    padding: 78px 0;
  }

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

  .section-index {
    width: 44px;
  }

  .section-header {
    margin-bottom: 34px;
  }

  .section-header h2,
  .access-inner h2 {
    font-size: clamp(2.15rem, 10.5vw, 3.3rem);
  }

  .principle-table {
    overflow-x: auto;
  }

  .principle-table > div {
    grid-template-columns: 190px 150px 150px;
    width: 490px;
  }

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

  .method-stage-label {
    grid-template-columns: 1fr;
    gap: 8px;
  }

  .method-details article,
  .characterization-grid article,
  .interpretation-grid article,
  .ethics-grid > div {
    padding: 25px;
  }

  .subsection-block {
    margin-top: 56px;
  }

  .access-buttons {
    flex-direction: column;
  }

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

  .footer-links {
    flex-direction: column;
    gap: 9px;
  }
}

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

  *,
  *::before,
  *::after {
    transition-duration: 0.01ms !important;
  }
}
