:root {
  --paper: #f6f8f7;
  --surface: #ffffff;
  --ink: #17262b;
  --muted: #5d6b70;
  --line: #dce4e2;
  --teal: #197f79;
  --teal-dark: #0d5e5a;
  --teal-soft: #e3f1ef;
  --blue: #2e65b8;
  --blue-soft: #e8f0fb;
  --orange: #d96b2b;
  --orange-soft: #fff0e6;
  --violet: #7356ad;
  --shadow: 0 18px 55px rgba(26, 55, 61, 0.09);
  --radius: 22px;
  --content: 1180px;
}

* {
  box-sizing: border-box;
}

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

body {
  margin: 0;
  color: var(--ink);
  background: var(--paper);
  font-family: Inter, ui-sans-serif, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  font-size: 16px;
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
}

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

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

.skip-link {
  position: fixed;
  top: 8px;
  left: 8px;
  z-index: 1000;
  padding: 10px 14px;
  border-radius: 8px;
  color: #fff;
  background: var(--ink);
  transform: translateY(-140%);
}

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

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

.nav-shell {
  width: min(calc(100% - 40px), var(--content));
  min-height: 68px;
  margin: 0 auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 28px;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 11px;
  color: var(--ink);
  font-size: 0.96rem;
  font-weight: 750;
  text-decoration: none;
  white-space: nowrap;
}

.brand-mark {
  display: grid;
  width: 34px;
  height: 34px;
  place-items: center;
  border: 1px solid rgba(25, 127, 121, 0.35);
  border-radius: 10px;
  color: #fff;
  background: var(--teal);
  font-size: 0.73rem;
  letter-spacing: 0.04em;
}

nav {
  display: flex;
  align-items: center;
  gap: clamp(15px, 2vw, 28px);
}

nav a {
  color: var(--muted);
  font-size: 0.88rem;
  font-weight: 650;
  text-decoration: none;
  transition: color 160ms ease;
}

nav a:hover,
nav a:focus-visible {
  color: var(--teal-dark);
}

.hero {
  overflow: hidden;
  border-bottom: 1px solid var(--line);
  background:
    radial-gradient(circle at 12% 12%, rgba(46, 101, 184, 0.10), transparent 25%),
    radial-gradient(circle at 88% 15%, rgba(217, 107, 43, 0.10), transparent 24%),
    linear-gradient(rgba(25, 127, 121, 0.035) 1px, transparent 1px),
    linear-gradient(90deg, rgba(25, 127, 121, 0.035) 1px, transparent 1px),
    var(--paper);
  background-size: auto, auto, 34px 34px, 34px 34px, auto;
}

.hero-inner {
  width: min(calc(100% - 40px), 1240px);
  margin: 0 auto;
  padding: 78px 0 74px;
  text-align: center;
}

.venue-line {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 12px;
  margin-bottom: 28px;
  color: var(--muted);
  font-size: 0.86rem;
  font-weight: 700;
  letter-spacing: 0.035em;
  text-transform: uppercase;
}

.venue-badge {
  padding: 6px 10px;
  border: 1px solid rgba(46, 101, 184, 0.2);
  border-radius: 999px;
  color: var(--blue);
  background: var(--blue-soft);
}

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

h1,
h2 {
  font-family: Charter, "Iowan Old Style", "Palatino Linotype", Georgia, serif;
  letter-spacing: -0.032em;
}

h1 {
  max-width: 1040px;
  margin: 0 auto 26px;
  font-size: clamp(2.55rem, 5.9vw, 5.2rem);
  line-height: 1.02;
  text-wrap: balance;
}

h1 span {
  color: var(--teal-dark);
  font-style: italic;
}

.hero-deck {
  max-width: 860px;
  margin: 0 auto 26px;
  color: #35484e;
  font-size: clamp(1.08rem, 1.8vw, 1.34rem);
  line-height: 1.55;
  text-wrap: balance;
}

.authors {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: center;
  gap: 5px 10px;
  margin-bottom: 3px;
  font-weight: 700;
}

.authors a {
  color: var(--teal-dark);
  text-decoration: none;
}

.authors a:hover,
.authors a:focus-visible {
  text-decoration: underline;
}

.authors span {
  color: #9aa7aa;
}

.affiliations {
  margin-bottom: 25px;
  color: var(--muted);
  font-size: 0.91rem;
}

.hero-actions,
.callout-actions {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: center;
  gap: 10px;
}

.button {
  display: inline-flex;
  min-height: 44px;
  align-items: center;
  justify-content: center;
  gap: 7px;
  padding: 9px 17px;
  border: 1px solid transparent;
  border-radius: 12px;
  font-size: 0.91rem;
  font-weight: 750;
  line-height: 1.2;
  text-decoration: none;
  transition: transform 160ms ease, box-shadow 160ms ease, border-color 160ms ease;
}

.button:not([aria-disabled="true"]):hover,
.button:not([aria-disabled="true"]):focus-visible {
  transform: translateY(-1px);
  box-shadow: 0 8px 24px rgba(23, 38, 43, 0.11);
}

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

.button-secondary {
  border-color: #cbd7d4;
  color: var(--ink);
  background: rgba(255, 255, 255, 0.84);
}

.button-muted {
  border-color: #e0e5e4;
  color: var(--muted);
  background: #edf0ef;
  cursor: not-allowed;
}

.hero-figure {
  margin: 52px auto 0;
  overflow: hidden;
  border: 1px solid rgba(205, 217, 214, 0.95);
  border-radius: 24px;
  background: #fff;
  box-shadow: var(--shadow);
  text-align: left;
}

.hero-figure img {
  width: 100%;
}

figcaption {
  padding: 15px 19px 17px;
  border-top: 1px solid var(--line);
  color: var(--muted);
  font-size: 0.88rem;
  line-height: 1.5;
}

.figure-source {
  color: var(--muted);
  font-size: 0.82rem;
}

.affiliations span {
  color: var(--muted);
  font-size: 0.84rem;
}

.section {
  padding: 92px 20px;
}

.section > * {
  width: min(100%, var(--content));
  margin-right: auto;
  margin-left: auto;
}

.section-tint {
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
  background: #eef4f2;
}

.section-dark {
  color: #edf5f4;
  background: #16292d;
}

.section-heading {
  margin-bottom: 42px;
  text-align: center;
}

.section-heading.compact {
  margin-bottom: 34px;
}

.eyebrow {
  margin-bottom: 10px;
  color: var(--teal);
  font-size: 0.78rem;
  font-weight: 850;
  letter-spacing: 0.13em;
  text-transform: uppercase;
}

.section-heading h2 {
  max-width: 900px;
  margin-right: auto;
  margin-bottom: 16px;
  margin-left: auto;
  font-size: clamp(2rem, 4vw, 3.35rem);
  line-height: 1.08;
  text-wrap: balance;
}

.section-heading > p:last-child {
  max-width: 820px;
  margin-right: auto;
  margin-bottom: 0;
  margin-left: auto;
  color: var(--muted);
  font-size: 1.03rem;
}

.inverted h2 {
  color: #fff;
}

.inverted > p:last-child {
  color: #b9c9c7;
}

.inverted .eyebrow {
  color: #6fd0c6;
}

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

.insight-card {
  min-height: 260px;
  padding: 27px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--surface);
  box-shadow: 0 10px 35px rgba(23, 38, 43, 0.045);
}

.insight-card h3 {
  margin-bottom: 10px;
  font-size: 1.24rem;
  line-height: 1.3;
}

.insight-card p {
  margin-bottom: 0;
  color: var(--muted);
}

.card-index {
  display: inline-flex;
  margin-bottom: 48px;
  font-size: 0.82rem;
  font-weight: 850;
  letter-spacing: 0.08em;
}

.intent-card {
  border-top: 4px solid var(--violet);
}

.intent-card .card-index {
  color: var(--violet);
}

.geometry-card {
  border-top: 4px solid var(--teal);
}

.geometry-card .card-index {
  color: var(--teal);
}

.flow-card {
  border-top: 4px solid var(--orange);
}

.flow-card .card-index {
  color: var(--orange);
}

.task-strip {
  display: grid;
  grid-template-columns: 1fr auto 1fr auto 1fr;
  align-items: center;
  gap: 22px;
  margin-top: 28px;
  padding: 25px 28px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: #fff;
}

.task-strip div {
  min-width: 0;
}

.task-label {
  display: block;
  margin-bottom: 4px;
  color: var(--teal);
  font-size: 0.75rem;
  font-weight: 850;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.task-strip strong {
  display: block;
  font-size: 0.96rem;
  line-height: 1.4;
}

.task-arrow {
  color: #93a4a4;
  font-size: 1.35rem;
}

.paper-figure {
  overflow: hidden;
  border: 1px solid #d7e1df;
  border-radius: var(--radius);
  background: #fff;
  box-shadow: var(--shadow);
}

.paper-figure img {
  width: 100%;
}

.figure-wide a {
  display: block;
}

.dark-figure {
  border-color: #315056;
  background: #0f2024;
  box-shadow: 0 20px 60px rgba(0, 0, 0, 0.2);
}

.dark-figure figcaption {
  border-color: #315056;
  color: #b9c9c7;
}

.center-action {
  margin-top: 25px;
  text-align: center;
}

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

.dataset-card {
  padding: 30px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: #fff;
  box-shadow: 0 10px 35px rgba(23, 38, 43, 0.045);
}

.release-card {
  background: linear-gradient(145deg, #fff 0%, #f1f8f6 100%);
}

.status-line {
  display: flex;
  align-items: center;
  gap: 8px;
  margin-bottom: 24px;
  color: var(--muted);
  font-size: 0.79rem;
  font-weight: 800;
  letter-spacing: 0.055em;
  text-transform: uppercase;
}

.status-dot {
  width: 9px;
  height: 9px;
  border-radius: 50%;
}

.paper-dot {
  background: var(--blue);
  box-shadow: 0 0 0 4px var(--blue-soft);
}

.pending-dot {
  background: var(--orange);
  box-shadow: 0 0 0 4px var(--orange-soft);
}

.available-dot {
  background: var(--teal);
  box-shadow: 0 0 0 4px var(--teal-soft);
}

.dataset-card h3 {
  margin-bottom: 3px;
  font-size: 1.23rem;
}

.dataset-number {
  margin-bottom: 16px;
  color: var(--teal-dark);
  font-family: Charter, "Iowan Old Style", Georgia, serif;
  font-size: clamp(2.5rem, 5vw, 4.15rem);
  font-weight: 700;
  line-height: 1;
  letter-spacing: -0.04em;
}

.dataset-number span {
  color: var(--muted);
  font-family: Inter, ui-sans-serif, sans-serif;
  font-size: 0.9rem;
  font-weight: 650;
  letter-spacing: 0;
}

.dataset-card > p:not(.dataset-number) {
  color: var(--muted);
}

.dataset-card .dataset-breakdown {
  margin: -4px 0 16px;
  color: var(--teal-dark);
  font-size: 0.88rem;
  font-weight: 750;
}

.dataset-card p:last-child {
  margin-bottom: 0;
}

.dataset-note {
  padding-top: 15px;
  border-top: 1px solid var(--line);
  font-size: 0.86rem;
}

.release-callout {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  align-items: center;
  gap: 30px;
  margin-top: 22px;
  padding: 25px 28px;
  border: 1px solid #b9dcd7;
  border-radius: var(--radius);
  background: var(--teal-soft);
}

.release-callout strong {
  font-size: 1.04rem;
}

.release-callout p {
  margin: 4px 0 0;
  color: var(--teal-dark);
}

.callout-actions {
  justify-content: flex-end;
}

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

.scope-grid article {
  padding: 29px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: #fff;
}

.scope-grid h3 {
  margin-bottom: 14px;
  font-size: 1.2rem;
}

.scope-grid ul {
  margin: 0;
  padding: 0;
  list-style: none;
}

.scope-grid li {
  position: relative;
  margin: 10px 0;
  padding-left: 27px;
  color: var(--muted);
}

.check-list li::before,
.plain-list li::before {
  position: absolute;
  left: 0;
  font-weight: 900;
}

.check-list li::before {
  content: "✓";
  color: var(--teal);
}

.plain-list li::before {
  content: "→";
  color: var(--orange);
}

.citation-section {
  padding-bottom: 108px;
}

.citation-box {
  position: relative;
  overflow: hidden;
  border: 1px solid #2d454a;
  border-radius: var(--radius);
  background: #14272b;
  box-shadow: var(--shadow);
}

.citation-box pre {
  margin: 0;
  padding: 30px;
  overflow-x: auto;
  color: #e4efed;
  font: 0.9rem/1.65 "SFMono-Regular", Consolas, "Liberation Mono", monospace;
}

.copy-button {
  position: absolute;
  top: 15px;
  right: 15px;
  padding: 8px 11px;
  border: 1px solid #496267;
  border-radius: 9px;
  color: #e4efed;
  background: #203a40;
  font: inherit;
  font-size: 0.8rem;
  font-weight: 750;
  cursor: pointer;
}

.copy-button:hover,
.copy-button:focus-visible {
  background: #2b4a51;
}

footer {
  padding: 38px 20px;
  border-top: 1px solid #294248;
  color: #c3d1cf;
  background: #102126;
}

.footer-inner {
  width: min(100%, var(--content));
  margin: 0 auto;
  display: grid;
  grid-template-columns: 0.7fr 1.3fr;
  gap: 50px;
}

footer strong {
  color: #fff;
  font-family: Charter, "Iowan Old Style", Georgia, serif;
  font-size: 1.25rem;
}

footer p {
  margin: 5px 0 0;
  font-size: 0.84rem;
}

footer a {
  color: #8bd7d0;
}

.footer-meta {
  text-align: right;
}

@media (max-width: 900px) {
  nav {
    gap: 14px;
  }

  nav a:nth-child(3),
  nav a:nth-child(5) {
    display: none;
  }

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

  .insight-card {
    min-height: auto;
  }

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

  .task-strip {
    grid-template-columns: 1fr;
    text-align: center;
  }

  .task-arrow {
    transform: rotate(90deg);
  }

  .release-callout {
    grid-template-columns: 1fr;
  }

  .callout-actions {
    justify-content: flex-start;
  }
}

@media (max-width: 720px) {
  .nav-shell {
    width: min(calc(100% - 28px), var(--content));
  }

  nav a {
    display: none;
  }

  nav a:nth-child(4) {
    display: inline;
  }

  .hero-inner {
    width: min(calc(100% - 28px), 1240px);
    padding-top: 55px;
  }

  h1 {
    font-size: clamp(2.25rem, 11vw, 3.55rem);
  }

  .venue-line {
    flex-direction: column;
    gap: 8px;
  }

  .authors {
    line-height: 1.4;
  }

  .hero-actions .button,
  .callout-actions .button {
    width: 100%;
  }

  .hero-figure {
    margin-top: 38px;
    border-radius: 16px;
  }

  .section {
    padding: 68px 16px;
  }

  .dataset-grid,
  .scope-grid,
  .footer-inner {
    grid-template-columns: 1fr;
  }

  .footer-inner {
    gap: 23px;
  }

  .footer-meta {
    text-align: left;
  }

  .citation-box pre {
    padding: 64px 20px 22px;
    font-size: 0.75rem;
  }
}

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

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