:root {
  --bg-0: #040b13;
  --bg-1: #071220;
  --bg-2: #0d1f32;
  --panel: #12273a;
  --panel-soft: #162d43;
  --line: #315170;
  --line-soft: #46698c;
  --text: #edf5ff;
  --muted: #b6c9dc;
  --teal: #29c7a2;
  --gold: #d7b560;
  --orange: #f4a850;
  --danger: #ff6b6b;
  --shadow: 0 14px 36px rgba(2, 9, 15, 0.36);
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  color: var(--text);
  font-family: "Space Grotesk", sans-serif;
  line-height: 1.5;
  background:
    radial-gradient(circle at 12% 10%, rgba(215, 181, 96, 0.16), transparent 33%),
    radial-gradient(circle at 86% 20%, rgba(41, 199, 162, 0.12), transparent 35%),
    linear-gradient(180deg, var(--bg-0) 0%, var(--bg-1) 48%, var(--bg-2) 100%);
}

a:focus-visible,
button:focus-visible {
  outline: 2px solid rgba(115, 233, 205, 0.85);
  outline-offset: 2px;
}

body::before {
  content: "";
  position: fixed;
  inset: 0;
  pointer-events: none;
  background-image:
    linear-gradient(rgba(255, 255, 255, 0.02) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255, 255, 255, 0.02) 1px, transparent 1px);
  background-size: 34px 34px;
  opacity: 0.4;
  z-index: -1;
}

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

a {
  color: inherit;
}

.topbar {
  position: sticky;
  top: 0;
  z-index: 20;
  backdrop-filter: blur(14px);
  background: rgba(6, 14, 24, 0.78);
  border-bottom: 1px solid rgba(255, 255, 255, 0.09);
}

.topbar-inner {
  width: min(1280px, 95vw);
  margin: 0 auto;
  padding: 0.82rem 0;
  display: grid;
  grid-template-columns: auto 1fr auto;
  gap: 1rem;
  align-items: center;
}

.brand {
  text-decoration: none;
  font-weight: 700;
  color: #f1d489;
  letter-spacing: 0.02em;
}

.topnav {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 0.5rem;
  min-width: 0;
}

.topnav a {
  text-decoration: none;
  font-size: 0.83rem;
  color: var(--muted);
  border: 1px solid transparent;
  border-radius: 999px;
  padding: 0.29rem 0.52rem;
  white-space: nowrap;
  transition: color 160ms ease, border-color 160ms ease, background-color 160ms ease;
}

.topnav a:hover,
.topnav a.active {
  color: var(--text);
  border-color: rgba(41, 199, 162, 0.45);
  background: rgba(41, 199, 162, 0.12);
}

.cta-app {
  text-decoration: none;
  color: #101010;
  background: var(--gold);
  font-size: 0.8rem;
  font-weight: 700;
  border-radius: 999px;
  padding: 0.48rem 0.88rem;
  transition: transform 160ms ease;
}

.cta-app:hover {
  transform: translateY(-1px);
}

.site-main {
  width: min(1220px, 93vw);
  margin: 1.9rem auto 3.3rem;
  display: grid;
  gap: 1.14rem;
}

.panel {
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 18px;
  padding: clamp(1rem, 1.5vw, 1.24rem);
  background: linear-gradient(160deg, rgba(17, 37, 55, 0.94), rgba(14, 29, 44, 0.95));
  box-shadow: var(--shadow);
}

.reveal {
  opacity: 0;
  transform: translateY(18px);
  transition: opacity 420ms ease, transform 420ms ease;
}

.reveal.visible {
  opacity: 1;
  transform: translateY(0);
}

.hero-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.45fr) minmax(280px, 1fr);
  gap: 0.9rem;
}

.hero-copy {
  display: grid;
  gap: 0.78rem;
}

.eyebrow {
  text-transform: uppercase;
  letter-spacing: 0.14em;
  font-size: 0.72rem;
  font-weight: 700;
  color: var(--teal);
}

.hero h1 {
  font-family: "IBM Plex Serif", serif;
  font-size: clamp(1.4rem, 2.45vw, 2.25rem);
  line-height: 1.18;
  max-width: 28ch;
}

.lead {
  color: var(--muted);
  font-size: 0.99rem;
  line-height: 1.66;
  max-width: 82ch;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.52rem;
}

.hero-profiles {
  display: flex;
  flex-wrap: wrap;
  gap: 0.38rem;
}

.hero-profiles a {
  text-decoration: none;
  border: 1px solid rgba(215, 181, 96, 0.45);
  color: #f2db9f;
  background: rgba(215, 181, 96, 0.1);
  border-radius: 999px;
  padding: 0.29rem 0.54rem;
  font-size: 0.75rem;
  font-weight: 600;
  transition: transform 160ms ease, border-color 160ms ease;
}

.hero-profiles a:hover {
  border-color: #f5d98c;
  transform: translateY(-1px);
}

.hero-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 0.38rem;
}

.hero-tags span {
  border-radius: 999px;
  border: 1px solid rgba(41, 199, 162, 0.42);
  background: rgba(41, 199, 162, 0.1);
  color: #c5f8eb;
  padding: 0.29rem 0.54rem;
  font-size: 0.75rem;
  letter-spacing: 0.02em;
}

.identity-card {
  border: 1px solid rgba(215, 181, 96, 0.45);
  border-radius: 14px;
  background:
    radial-gradient(circle at 92% 12%, rgba(215, 181, 96, 0.18), transparent 40%),
    linear-gradient(180deg, rgba(14, 28, 43, 0.95), rgba(10, 22, 35, 0.94));
  padding: 0.86rem;
  display: grid;
  gap: 0.48rem;
  align-content: start;
}

.identity-mark {
  width: 72px;
  height: 72px;
  border-radius: 50%;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  color: #0f151c;
  font-weight: 700;
  letter-spacing: 0.04em;
  background: linear-gradient(140deg, #f1d483, #d7b560);
}

.identity-card h2 {
  color: #f3d992;
  font-size: 1.02rem;
}

.identity-role {
  color: #e8f3ff;
  font-size: 0.86rem;
  font-weight: 600;
}

.identity-meta {
  color: var(--muted);
  font-size: 0.83rem;
  line-height: 1.55;
}

.identity-contact {
  display: grid;
  gap: 0.3rem;
}

.identity-contact a {
  text-decoration: none;
  color: #cde9ff;
  font-size: 0.8rem;
  border: 1px solid rgba(108, 150, 191, 0.4);
  border-radius: 10px;
  background: rgba(8, 19, 30, 0.7);
  padding: 0.4rem 0.54rem;
}

.metrics-grid {
  margin-top: 0.88rem;
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 0.6rem;
}

.metrics-grid article {
  border: 1px solid var(--line);
  border-radius: 12px;
  background: rgba(8, 18, 29, 0.74);
  padding: 0.72rem;
}

.kpi-value {
  font-size: 1.28rem;
  color: #f1d483;
  line-height: 1;
  margin-bottom: 0.26rem;
}

.metrics-grid p {
  color: var(--muted);
  font-size: 0.83rem;
  line-height: 1.5;
}

.section-head {
  display: grid;
  gap: 0.25rem;
  margin-bottom: 0.92rem;
}

.section-head h2 {
  font-family: "IBM Plex Serif", serif;
  font-size: 1.26rem;
  line-height: 1.25;
}

.section-head p {
  color: var(--muted);
  font-size: 0.89rem;
}

.science-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 0.66rem;
}

.science-card {
  border: 1px solid var(--line);
  border-radius: 12px;
  background: rgba(9, 19, 30, 0.78);
  padding: 0.82rem;
  display: grid;
  gap: 0.36rem;
}

.science-card h3 {
  color: #f1d483;
  font-size: 0.95rem;
}

.science-card p,
.science-card li {
  color: var(--muted);
  font-size: 0.84rem;
  line-height: 1.56;
}

.science-card ul {
  margin: 0;
  padding-left: 1.05rem;
}

.workflow-grid {
  display: grid;
  grid-template-columns: minmax(250px, 330px) minmax(0, 1fr);
  gap: 0.68rem;
}

.build-tabs {
  display: grid;
  gap: 0.42rem;
}

.build-tab {
  border: 1px solid var(--line);
  border-radius: 10px;
  padding: 0.55rem 0.62rem;
  background: rgba(9, 19, 30, 0.8);
  color: var(--muted);
  text-align: left;
  font: inherit;
  font-size: 0.83rem;
  font-weight: 600;
  cursor: pointer;
  transition: border-color 160ms ease, color 160ms ease, background-color 160ms ease;
}

.build-tab:hover {
  color: var(--text);
  border-color: var(--line-soft);
}

.build-tab.active {
  color: #092018;
  border-color: #74e8cd;
  background: linear-gradient(120deg, #73e9cd, #29c7a2);
}

.build-detail {
  border: 1px solid var(--line);
  border-radius: 12px;
  background: rgba(9, 18, 29, 0.8);
  padding: 0.86rem;
  display: grid;
  gap: 0.4rem;
  min-height: 210px;
}

.build-detail h3 {
  color: #f1d483;
  font-size: 0.98rem;
}

.build-detail p,
.build-detail li {
  color: var(--muted);
  font-size: 0.85rem;
  line-height: 1.56;
}

.build-detail ul {
  margin: 0;
  padding-left: 1.08rem;
}

.progress-track {
  margin-top: 0.72rem;
  width: 100%;
  height: 8px;
  border-radius: 999px;
  background: rgba(160, 186, 211, 0.18);
  overflow: hidden;
}

.progress-track span {
  display: block;
  width: 0;
  height: 100%;
  border-radius: 999px;
  background: linear-gradient(90deg, #f3d88e, #29c7a2);
  transition: width 260ms ease;
}

.arch-layout {
  display: grid;
  grid-template-columns: minmax(0, 1.4fr) minmax(0, 1fr);
  gap: 0.68rem;
}

.arch-node-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 0.46rem;
}

.arch-node {
  border: 1px solid var(--line);
  border-radius: 10px;
  background: rgba(9, 19, 30, 0.82);
  color: var(--muted);
  font: inherit;
  font-size: 0.82rem;
  font-weight: 600;
  text-align: left;
  padding: 0.56rem 0.62rem;
  cursor: pointer;
  transition: border-color 160ms ease, color 160ms ease, background-color 160ms ease;
}

.arch-node:hover {
  color: var(--text);
  border-color: var(--line-soft);
}

.arch-node.active {
  color: #092018;
  border-color: #74e8cd;
  background: linear-gradient(120deg, #74e8cd, #2ac8a3);
}

.arch-detail {
  border: 1px solid var(--line);
  border-radius: 12px;
  background: rgba(9, 18, 29, 0.8);
  padding: 0.86rem;
  display: grid;
  gap: 0.42rem;
}

.arch-detail h3 {
  color: #f1d483;
  font-size: 0.98rem;
}

.arch-detail p,
.arch-detail li {
  color: var(--muted);
  font-size: 0.84rem;
  line-height: 1.56;
}

.arch-detail ul {
  margin: 0;
  padding-left: 1.08rem;
}

.flow-note {
  margin-top: 0.64rem;
  color: var(--muted);
  font-size: 0.82rem;
  line-height: 1.5;
}

.impact-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 0.62rem;
  margin-bottom: 0.66rem;
}

.impact-grid article {
  border: 1px solid var(--line);
  border-radius: 12px;
  background: rgba(9, 19, 30, 0.78);
  padding: 0.74rem;
}

.impact-grid h3 {
  color: #f1d483;
  font-size: 0.91rem;
  margin-bottom: 0.28rem;
}

.impact-grid p {
  color: var(--muted);
  font-size: 0.82rem;
  line-height: 1.5;
}

.chart-toolbar {
  margin-bottom: 0.66rem;
  border: 1px solid var(--line);
  border-radius: 12px;
  background: rgba(8, 18, 28, 0.78);
  padding: 0.64rem;
  display: grid;
  gap: 0.42rem;
}

.toolbar-title {
  color: #d5e9fb;
  font-size: 0.82rem;
  font-weight: 600;
}

.profile-switch {
  display: flex;
  flex-wrap: wrap;
  gap: 0.4rem;
}

.profile-btn {
  border: 1px solid var(--line);
  border-radius: 999px;
  background: rgba(9, 19, 30, 0.84);
  color: var(--muted);
  font: inherit;
  font-size: 0.8rem;
  font-weight: 600;
  padding: 0.34rem 0.62rem;
  cursor: pointer;
  transition: border-color 160ms ease, color 160ms ease, background-color 160ms ease;
}

.profile-btn:hover {
  color: var(--text);
  border-color: var(--line-soft);
}

.profile-btn.active {
  color: #092018;
  border-color: #74e8cd;
  background: linear-gradient(120deg, #74e8cd, #2ac8a3);
}

.chart-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 0.66rem;
}

.chart-card {
  border: 1px solid var(--line);
  border-radius: 12px;
  background: rgba(8, 18, 28, 0.8);
  padding: 0.74rem;
  display: grid;
  gap: 0.44rem;
}

.chart-card h3 {
  color: #f1d483;
  font-size: 0.92rem;
}

.chart-frame {
  position: relative;
  width: 100%;
  height: 248px;
}

.chart-frame canvas {
  position: absolute;
  inset: 0;
  width: 100% !important;
  height: 100% !important;
}

.video-portal {
  display: grid;
  grid-template-columns: minmax(0, 1.25fr) minmax(0, 1fr);
  gap: 0.66rem;
}

.video-player-card,
.video-description-card {
  border: 1px solid var(--line);
  border-radius: 12px;
  background: rgba(9, 19, 30, 0.8);
  padding: 0.82rem;
  display: grid;
  gap: 0.46rem;
}

.video-player-card h3,
.video-description-card h3 {
  color: #f1d483;
  font-size: 0.96rem;
}

.video-frame-shell {
  position: relative;
  width: 100%;
  aspect-ratio: 16 / 9;
  border-radius: 12px;
  overflow: hidden;
  border: 1px solid rgba(115, 233, 205, 0.34);
  background:
    radial-gradient(circle at 15% 15%, rgba(41, 199, 162, 0.3), transparent 35%),
    radial-gradient(circle at 85% 90%, rgba(215, 181, 96, 0.22), transparent 40%),
    rgba(7, 15, 24, 0.94);
}

.video-launch {
  width: 100%;
  height: 100%;
  position: relative;
  display: block;
  padding: 0;
  border: 0;
  cursor: pointer;
  background: transparent;
}

.video-launch img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transform: scale(1.02);
  transition: transform 260ms ease, filter 260ms ease;
}

.video-launch:hover img {
  transform: scale(1.06);
  filter: saturate(1.1);
}

.video-overlay {
  position: absolute;
  inset: 0;
  background:
    linear-gradient(180deg, rgba(3, 9, 15, 0.14), rgba(3, 9, 15, 0.7)),
    radial-gradient(circle at center, rgba(41, 199, 162, 0.2), transparent 52%);
}

.video-launch-cta {
  position: absolute;
  inset: 0;
  display: grid;
  place-content: center;
  justify-items: center;
  gap: 0.46rem;
  color: #f3f8ff;
  font-weight: 700;
  font-size: 0.92rem;
  letter-spacing: 0.02em;
}

.video-play-icon {
  width: 68px;
  height: 68px;
  border-radius: 50%;
  background: linear-gradient(135deg, #f0d78f, #d7b560);
  border: 1px solid rgba(255, 255, 255, 0.35);
  box-shadow: 0 0 0 0 rgba(215, 181, 96, 0.5);
  animation: pulsePlay 2s ease-out infinite;
  position: relative;
}

.video-play-icon::before {
  content: "";
  position: absolute;
  left: 28px;
  top: 22px;
  border-left: 18px solid #0f1822;
  border-top: 11px solid transparent;
  border-bottom: 11px solid transparent;
}

.video-embed {
  width: 100%;
  height: 100%;
  border: 0;
  display: block;
}

.video-caption {
  color: var(--muted);
  font-size: 0.83rem;
  line-height: 1.55;
}

.video-description-lead {
  color: var(--muted);
  font-size: 0.84rem;
  line-height: 1.58;
}

.video-detail-list {
  margin: 0;
  padding-left: 1.06rem;
  display: grid;
  gap: 0.3rem;
}

.video-detail-list li {
  color: var(--muted);
  font-size: 0.84rem;
  line-height: 1.56;
}

.video-signal-grid {
  display: grid;
  gap: 0.42rem;
}

.video-signal-grid article {
  border: 1px solid rgba(108, 150, 191, 0.42);
  border-radius: 10px;
  background: rgba(8, 18, 28, 0.8);
  padding: 0.52rem;
}

.video-signal-row {
  display: flex;
  justify-content: space-between;
  gap: 0.5rem;
  align-items: center;
  margin-bottom: 0.32rem;
}

.video-signal-row h4 {
  margin: 0;
  color: #f1d483;
  font-size: 0.78rem;
}

.video-signal-row span {
  color: #c6f7ec;
  font-size: 0.75rem;
  font-weight: 700;
}

.video-signal-track {
  width: 100%;
  height: 7px;
  border-radius: 999px;
  background: rgba(159, 188, 216, 0.2);
  overflow: hidden;
}

.video-signal-fill {
  display: block;
  width: var(--fill, 80%);
  height: 100%;
  border-radius: 999px;
  background: linear-gradient(90deg, #f1d483, #29c7a2);
  animation: signalFlow 2.6s ease-in-out infinite;
}

.video-signal-grid article:nth-child(2) .video-signal-fill {
  animation-delay: 0.3s;
}

.video-signal-grid article:nth-child(3) .video-signal-fill {
  animation-delay: 0.55s;
}

@keyframes pulsePlay {
  0% {
    box-shadow: 0 0 0 0 rgba(215, 181, 96, 0.5);
  }
  70% {
    box-shadow: 0 0 0 16px rgba(215, 181, 96, 0);
  }
  100% {
    box-shadow: 0 0 0 0 rgba(215, 181, 96, 0);
  }
}

@keyframes signalFlow {
  0% {
    filter: saturate(0.88);
    transform: scaleX(0.96);
    transform-origin: left center;
  }
  50% {
    filter: saturate(1.15);
    transform: scaleX(1);
    transform-origin: left center;
  }
  100% {
    filter: saturate(0.88);
    transform: scaleX(0.96);
    transform-origin: left center;
  }
}

.container {
  width: 100%;
}

.section-kicker {
  text-transform: uppercase;
  letter-spacing: 0.14em;
  font-size: 0.72rem;
  font-weight: 700;
  color: var(--teal);
  margin: 0 0 0.25rem;
}

.section-title {
  margin: 0;
  font-family: "IBM Plex Serif", serif;
  font-size: 1.26rem;
  line-height: 1.26;
}

.section-subtitle {
  margin: 0.26rem 0 0.92rem;
  color: var(--muted);
  font-size: 0.89rem;
  line-height: 1.62;
}

#paper .container {
  width: min(100%, 1020px);
  margin-inline: auto;
}

#paper .section-title {
  font-size: 1.14rem;
}

#paper .section-subtitle {
  margin: 0.22rem 0 0.72rem;
  font-size: 0.84rem;
  line-height: 1.54;
  max-width: 78ch;
}

.paper-preview-shell {
  display: grid;
  grid-template-columns: minmax(0, 0.86fr) minmax(0, 1fr);
  gap: 0.5rem;
  align-items: start;
}

.paper-sheet {
  border: 1px solid rgba(108, 150, 191, 0.45);
  border-radius: 12px;
  background:
    linear-gradient(180deg, rgba(244, 248, 253, 0.97), rgba(231, 240, 250, 0.95));
  color: #102231;
  padding: 0.74rem;
  display: grid;
  gap: 0.5rem;
}

.paper-topline {
  display: flex;
  gap: 0.35rem;
  font-size: 0.62rem;
  font-weight: 700;
  letter-spacing: 0.02em;
  text-transform: uppercase;
  color: #23425e;
}

.paper-topline span {
  flex: 1 1 0;
  display: grid;
  place-items: center;
  min-height: 34px;
  padding: 0.24rem 0.44rem;
  border: 1px solid rgba(43, 73, 101, 0.26);
  border-radius: 8px;
  background: #edf4fb;
  white-space: normal;
  text-align: center;
  line-height: 1.22;
  transition: border-color 160ms ease, background-color 160ms ease;
}

.paper-topline span:first-child {
  background: #edf3fb;
}

.paper-topline span:last-child {
  border-color: rgba(18, 108, 125, 0.28);
  background: #e8f8f3;
}

.paper-topline span:hover {
  border-color: rgba(30, 90, 129, 0.42);
  background: #e4effa;
}

.paper-title {
  margin: 0;
  font-family: "IBM Plex Serif", serif;
  font-size: 0.97rem;
  line-height: 1.34;
  color: #102231;
}

.paper-authors,
.paper-affiliation {
  margin: 0;
  font-size: 0.78rem;
  color: #224159;
}

.paper-sheet-preview {
  width: min(100%, 420px);
  margin-inline: auto;
  gap: 0.54rem;
}

.paper-preview-link {
  position: relative;
  display: block;
  width: min(100%, 252px);
  margin: 0 auto 0.12rem;
  border: 1px solid rgba(34, 65, 96, 0.36);
  border-radius: 14px;
  overflow: hidden;
  background: #f4f8fd;
  box-shadow: 0 12px 28px rgba(14, 34, 52, 0.2);
}

.paper-preview-link img {
  width: 100%;
  max-height: 372px;
  display: block;
  object-fit: contain;
  transform: scale(1);
  transition: transform 340ms ease;
}

.paper-preview-link::before {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(120deg, transparent 24%, rgba(255, 255, 255, 0.45) 50%, transparent 76%);
  transform: translateX(-120%);
  transition: transform 460ms ease;
  pointer-events: none;
}

.paper-preview-overlay {
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  display: grid;
  gap: 0.08rem;
  padding: 0.5rem 0.58rem;
  background: linear-gradient(180deg, rgba(14, 34, 52, 0), rgba(14, 34, 52, 0.9));
  color: #eef7ff;
}

.paper-preview-overlay strong {
  font-size: 0.8rem;
  line-height: 1.35;
}

.paper-preview-overlay span {
  font-size: 0.74rem;
  line-height: 1.42;
  color: #d6e9fb;
}

.paper-preview-link:hover img {
  transform: scale(1.04);
}

.paper-preview-link:hover::before {
  transform: translateX(120%);
}

.paper-insight-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 0.62rem;
}

.paper-insight-grid article {
  border: 1px solid rgba(34, 65, 96, 0.2);
  border-radius: 11px;
  background: rgba(255, 255, 255, 0.58);
  padding: 0.5rem 0.56rem;
}

.paper-insight-grid h4 {
  margin: 0 0 0.24rem;
  color: #11304a;
  font-size: 0.83rem;
}

.paper-insight-grid p {
  margin: 0;
  color: #223d54;
  font-size: 0.79rem;
  line-height: 1.52;
}

.paper-lock {
  border: 1px solid rgba(35, 65, 89, 0.35);
  border-radius: 10px;
  background: rgba(210, 226, 239, 0.7);
  color: #15344e;
  font-size: 0.79rem;
  line-height: 1.52;
  padding: 0.52rem 0.58rem;
}

.policy-card {
  border: 1px solid var(--line);
  border-radius: 12px;
  background: rgba(9, 19, 30, 0.8);
  padding: 0.82rem;
  display: grid;
  gap: 0.5rem;
}

.policy-card h3 {
  margin: 0;
  color: #f1d483;
  font-size: 0.96rem;
}

.policy-list {
  margin: 0;
  padding-left: 1.1rem;
  display: grid;
  gap: 0.42rem;
}

.policy-list li {
  color: var(--muted);
  font-size: 0.87rem;
  line-height: 1.58;
}

.policy-open-btn {
  margin-top: 0.22rem;
  align-self: start;
  min-height: 44px;
  border: 1px solid rgba(245, 210, 138, 0.55);
  border-radius: 999px;
  font-size: 0.84rem;
  letter-spacing: 0.02em;
  font-weight: 700;
  padding: 0.42rem 0.9rem;
  background: linear-gradient(90deg, #f4aa27, #e18600) !important;
  color: #101114 !important;
  box-shadow: 0 10px 24px rgba(228, 134, 0, 0.3);
  overflow: hidden;
  position: relative;
}

.policy-open-btn::before {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(120deg, transparent 35%, rgba(255, 255, 255, 0.35) 50%, transparent 65%);
  transform: translateX(-130%);
  transition: transform 380ms ease;
  pointer-events: none;
}

.policy-open-btn:hover {
  transform: translateY(-1px);
}

.policy-open-btn:hover::before {
  transform: translateX(130%);
}

.policy-modal-open {
  overflow: hidden;
}

.policy-modal {
  position: fixed;
  inset: 0;
  z-index: 3000;
  display: grid;
  place-items: center;
  padding: 1rem;
  background: rgba(5, 11, 18, 0.6);
  -webkit-backdrop-filter: blur(4px);
  backdrop-filter: blur(4px);
  opacity: 0;
  pointer-events: none;
  transition: opacity 180ms ease;
}

.policy-modal.visible {
  opacity: 1;
  pointer-events: auto;
}

.policy-modal-dialog {
  width: min(620px, 100%);
  max-height: min(92vh, 820px);
  overflow: auto;
  border: 1px solid rgba(31, 56, 84, 0.2);
  border-radius: 26px;
  background: #f6f8fb;
  color: #1e456a;
  padding: 1.35rem;
  box-shadow: 0 22px 60px rgba(4, 12, 22, 0.48);
  position: relative;
  display: grid;
  gap: 0.8rem;
}

.policy-modal-dialog h3 {
  margin: 0;
  color: #214a71;
  font-size: 1.9rem;
  line-height: 1.12;
}

.policy-modal-subtitle {
  margin: 0;
  color: #627992;
  font-size: 0.88rem;
  line-height: 1.54;
  max-width: 28rem;
}

.policy-modal-close {
  position: absolute;
  top: 0.86rem;
  right: 0.92rem;
  width: 34px;
  height: 34px;
  border: 0;
  border-radius: 50%;
  background: transparent;
  color: #6d8198;
  font-size: 1.56rem;
  line-height: 1;
  cursor: pointer;
}

.policy-modal-close:hover {
  background: rgba(33, 74, 113, 0.09);
  color: #214a71;
}

.policy-gate-shell {
  border: 1px solid rgba(219, 208, 191, 0.9);
  border-radius: 20px;
  background: #fafcff;
  padding: 0.95rem;
  display: grid;
  gap: 0.6rem;
}

.policy-gate-shell[hidden] {
  display: none !important;
}

.policy-gate-badge {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: max-content;
  border-radius: 999px;
  background: #e4e9f0;
  color: #2b4f73;
  font-size: 0.78rem;
  font-weight: 800;
  letter-spacing: 0.08em;
  padding: 0.36rem 0.72rem;
}

.policy-gate-shell h4 {
  margin: 0;
  color: #214a71;
  font-size: 1rem;
  line-height: 1.35;
}

.policy-gate-shell p {
  margin: 0;
  color: #617791;
  font-size: 0.86rem;
  line-height: 1.54;
}

.policy-action-btn {
  width: 100%;
  min-height: 54px;
  border: 1px solid transparent;
  border-radius: 999px;
  display: inline-flex;
  justify-content: center;
  align-items: center;
  text-decoration: none;
  font-size: 0.95rem;
  font-weight: 700;
  cursor: pointer;
  transition: transform 160ms ease, filter 160ms ease;
}

.policy-action-btn:hover {
  transform: translateY(-1px);
}

.policy-action-btn--primary {
  background: linear-gradient(90deg, #f5a822, #e48400);
  color: #11141a;
}

.policy-action-btn--secondary {
  background: #1e4670;
  color: #ecf4ff;
}

.policy-action-btn--secondary:hover {
  filter: brightness(1.05);
}

.policy-check {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  color: #647b95;
  font-size: 0.88rem;
  line-height: 1.48;
}

.policy-check input {
  width: 16px;
  height: 16px;
  accent-color: #1e4670;
}

.policy-template-box {
  white-space: pre-line;
  margin: 0;
  border: 1px solid rgba(213, 197, 171, 0.95);
  border-radius: 14px;
  background: #f0ece2;
  color: #735f44;
  padding: 0.72rem 0.86rem;
  font-size: 0.95rem;
  line-height: 1.48;
}

.policy-copy-btn {
  width: max-content;
  border: 1px solid rgba(214, 198, 170, 1);
  border-radius: 14px;
  background: #e8dcc4;
  color: #614a27;
  font: 700 0.91rem/1 "Space Grotesk", sans-serif;
  padding: 0.7rem 0.88rem;
  cursor: pointer;
  transition: transform 160ms ease, filter 160ms ease;
}

.policy-copy-btn:hover {
  transform: translateY(-1px);
  filter: brightness(1.03);
}

.policy-password-input {
  width: 100%;
  min-height: 54px;
  border: 1px solid rgba(216, 205, 188, 0.95);
  border-radius: 14px;
  background: #fff;
  color: #294562;
  font: 500 0.95rem/1.44 "Space Grotesk", sans-serif;
  padding: 0.68rem 0.84rem;
}

.policy-password-input::placeholder {
  color: #919eab;
}

.policy-status {
  min-height: 1.22rem;
  margin: 0;
  font-size: 0.84rem;
  font-weight: 700;
}

.policy-status.error {
  color: #d05151;
}

.policy-status.success {
  color: #2f9271;
}

.btn {
  text-decoration: none;
  border-radius: 999px;
  font-size: 0.8rem;
  font-weight: 700;
  padding: 0.5rem 0.86rem;
  border: 1px solid transparent;
  cursor: pointer;
  transition: transform 160ms ease, border-color 160ms ease;
  display: inline-flex;
  justify-content: center;
  align-items: center;
}

.btn.btn-primary {
  color: #0f0f0f;
  background: var(--gold);
}

.btn.btn-secondary {
  color: var(--text);
  border-color: var(--line);
  background: rgba(8, 18, 28, 0.76);
}

.btn.btn-dark {
  color: #e8f3ff;
  border-color: rgba(108, 150, 191, 0.45);
  background: rgba(8, 18, 28, 0.9);
}

.btn.btn-primary:hover,
.btn.btn-secondary:hover,
.btn.btn-dark:hover {
  transform: translateY(-1px);
}

.btn.btn-secondary:hover {
  border-color: var(--teal);
}

.btn.btn-dark:hover {
  border-color: #74e8cd;
}

.btn-block {
  width: 100%;
}

.resource-grid {
  margin-top: 0.22rem;
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 0.66rem;
}

.resource-card {
  border: 1px solid var(--line);
  border-radius: 12px;
  background: rgba(9, 19, 30, 0.8);
  padding: 0.82rem;
  display: grid;
  gap: 0.46rem;
}

.resource-card h3 {
  color: #f1d483;
  font-size: 0.95rem;
}

.resource-card p {
  color: var(--muted);
  font-size: 0.84rem;
  line-height: 1.58;
}

.resource-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 0.34rem;
}

.pill {
  border-radius: 999px;
  border: 1px solid rgba(108, 150, 191, 0.45);
  background: rgba(8, 18, 28, 0.84);
  color: #d8ecff;
  padding: 0.22rem 0.52rem;
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.03em;
}

.pill.accent {
  border-color: rgba(41, 199, 162, 0.45);
  background: rgba(41, 199, 162, 0.14);
  color: #c5f8eb;
}

.contact-grid {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1.1fr);
  gap: 0.72rem;
  align-items: start;
}

#contact {
  position: relative;
  overflow: hidden;
}

#contact::before {
  content: "";
  position: absolute;
  width: 260px;
  height: 260px;
  left: -90px;
  bottom: -140px;
  border-radius: 50%;
  background: radial-gradient(circle at center, rgba(41, 199, 162, 0.18), rgba(41, 199, 162, 0));
  pointer-events: none;
}

.contact-card,
.hire-card {
  position: relative;
  isolation: isolate;
  border: 1px solid rgba(86, 125, 160, 0.42);
  border-radius: 14px;
  background: linear-gradient(165deg, rgba(10, 22, 35, 0.9), rgba(7, 17, 28, 0.94));
  padding: 0.9rem;
  display: grid;
  gap: 0.46rem;
  overflow: hidden;
}

.contact-card::before,
.hire-card::before {
  content: "";
  position: absolute;
  width: 180px;
  height: 180px;
  right: -70px;
  top: -80px;
  border-radius: 50%;
  background: radial-gradient(circle at center, rgba(105, 216, 191, 0.32), rgba(105, 216, 191, 0));
  pointer-events: none;
  z-index: -1;
}

.contact-card h3,
.hire-card h3 {
  color: #f6d188;
  font-size: 0.98rem;
  letter-spacing: 0.01em;
}

.contact-role {
  color: #c9f1e7;
  font-size: 0.85rem;
  font-weight: 600;
}

.contact-meta,
.hire-lead {
  color: var(--muted);
  font-size: 0.84rem;
  line-height: 1.58;
}

.email-list {
  display: grid;
  gap: 0.3rem;
}

.email-list a {
  text-decoration: none;
  color: #d8ebff;
  font-size: 0.8rem;
  border: 1px solid rgba(108, 150, 191, 0.42);
  border-radius: 10px;
  background: rgba(8, 18, 28, 0.74);
  padding: 0.4rem 0.54rem;
  transition: border-color 160ms ease, transform 160ms ease;
}

.email-list a:hover {
  border-color: rgba(115, 233, 205, 0.54);
  transform: translateY(-1px);
}

.contact-highlights {
  margin-top: 0.18rem;
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 0.42rem;
}

.contact-highlights article {
  border: 1px solid rgba(92, 133, 169, 0.34);
  border-radius: 10px;
  background: rgba(8, 18, 28, 0.74);
  padding: 0.44rem 0.48rem;
}

.contact-highlights h4 {
  margin: 0;
  color: #f2d78f;
  font-size: 0.72rem;
  letter-spacing: 0.04em;
  text-transform: uppercase;
}

.contact-highlights p {
  margin: 0.14rem 0 0;
  color: #d6ecff;
  font-size: 0.78rem;
  font-weight: 700;
}

.profile-grid {
  margin-top: 0.3rem;
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 0.42rem;
}

.profile-link {
  text-decoration: none;
  border: 1px solid rgba(104, 145, 181, 0.42);
  border-radius: 10px;
  background: rgba(8, 18, 28, 0.8);
  color: #dceeff;
  padding: 0.5rem 0.56rem;
  font-size: 0.79rem;
  font-weight: 600;
  transition: transform 160ms ease, border-color 160ms ease, background-color 160ms ease;
}

.profile-link:hover {
  border-color: rgba(116, 232, 205, 0.72);
  background: rgba(30, 58, 82, 0.78);
  transform: translateY(-1px);
}

.hire-card {
  --service-tone: #2ad0a8;
  --service-tone-soft: rgba(42, 208, 168, 0.2);
  --service-tone-strong: #1f8f75;
  --service-ink: #063429;
  --service-meta-ink: #0a4a3c;
  border-color: rgba(92, 174, 154, 0.46);
}

.hire-card[data-service-theme="automation"] {
  --service-tone: #2ad0a8;
  --service-tone-soft: rgba(42, 208, 168, 0.2);
  --service-tone-strong: #1f8f75;
  --service-ink: #063429;
  --service-meta-ink: #0a4a3c;
}

.hire-card[data-service-theme="web"] {
  --service-tone: #4eb0ff;
  --service-tone-soft: rgba(78, 176, 255, 0.2);
  --service-tone-strong: #2f7ec2;
  --service-ink: #082743;
  --service-meta-ink: #163d5f;
}

.hire-card[data-service-theme="analytics"] {
  --service-tone: #f4b658;
  --service-tone-soft: rgba(244, 182, 88, 0.2);
  --service-tone-strong: #d28b25;
  --service-ink: #3a2200;
  --service-meta-ink: #523400;
}

.hire-card[data-service-theme="research"] {
  --service-tone: #d79dff;
  --service-tone-soft: rgba(215, 157, 255, 0.2);
  --service-tone-strong: #9d5bce;
  --service-ink: #2b0f42;
  --service-meta-ink: #4b2270;
}

.hire-flow {
  display: flex;
  flex-wrap: wrap;
  gap: 0.34rem;
}

.hire-flow span {
  border: 1px solid rgba(102, 140, 174, 0.42);
  border-radius: 999px;
  background: rgba(8, 18, 28, 0.76);
  color: #cfe6fb;
  font-size: 0.72rem;
  font-weight: 600;
  padding: 0.2rem 0.5rem;
}

.service-options {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 0.46rem;
}

.service-option {
  position: relative;
  border: 1px solid rgba(94, 136, 172, 0.42);
  border-radius: 12px;
  background: rgba(8, 18, 28, 0.82);
  color: var(--muted);
  text-align: left;
  font: inherit;
  padding: 0.52rem 0.6rem;
  display: grid;
  gap: 0.14rem;
  min-height: 72px;
  cursor: pointer;
  overflow: hidden;
  transition: border-color 180ms ease, color 180ms ease, background-color 180ms ease, transform 180ms ease, box-shadow 180ms ease;
}

.service-option::before {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  height: 2px;
  background: linear-gradient(90deg, transparent, rgba(120, 168, 211, 0.6), transparent);
  opacity: 0.5;
}

.service-option-title {
  color: #dcefff;
  font-size: 0.8rem;
  font-weight: 700;
  line-height: 1.35;
}

.service-option-meta {
  color: #9cb8d1;
  font-size: 0.72rem;
  line-height: 1.38;
}

.service-option:hover {
  color: #f0f7ff;
  border-color: rgba(127, 170, 206, 0.82);
  box-shadow: 0 8px 18px rgba(4, 11, 19, 0.34);
  transform: translateY(-1px);
}

.service-option.active {
  border-color: var(--service-tone);
  background: linear-gradient(130deg, var(--service-tone), var(--service-tone-strong));
  box-shadow: 0 12px 22px var(--service-tone-soft);
}

.service-option.active .service-option-title {
  color: var(--service-ink);
}

.service-option.active .service-option-meta {
  color: var(--service-meta-ink);
}

.hire-summary-card {
  margin-top: 0.14rem;
  border: 1px solid var(--service-tone);
  border-radius: 12px;
  background: linear-gradient(165deg, var(--service-tone-soft), rgba(8, 18, 28, 0.9));
  padding: 0.48rem 0.56rem;
  display: grid;
  gap: 0.18rem;
}

.hire-summary-label {
  margin: 0;
  color: #b9d7f0;
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.06em;
  text-transform: uppercase;
}

.hire-summary {
  margin: 0;
  color: #ecf7ff;
  font-size: 0.86rem;
  font-weight: 700;
}

.hire-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.46rem;
}

.hire-actions .btn-primary {
  color: #09131f;
  background: linear-gradient(120deg, var(--service-tone), var(--service-tone-strong));
}

.btn-primary,
.btn-secondary {
  text-decoration: none;
  border-radius: 999px;
  font-size: 0.8rem;
  font-weight: 700;
  padding: 0.5rem 0.86rem;
  border: 1px solid transparent;
  cursor: pointer;
  transition: transform 160ms ease, border-color 160ms ease;
}

.btn-primary {
  color: #0f0f0f;
  background: var(--gold);
}

.btn-primary:hover {
  transform: translateY(-1px);
}

.btn-secondary {
  color: var(--text);
  border-color: var(--line);
  background: rgba(8, 18, 28, 0.76);
}

.btn-secondary:hover {
  border-color: var(--teal);
  transform: translateY(-1px);
}

.footer {
  width: min(1220px, 93vw);
  margin: 0 auto 2.4rem;
  text-align: center;
  color: var(--muted);
  font-size: 0.82rem;
}

@media (max-width: 1180px) {
  .topbar-inner {
    grid-template-columns: 1fr;
    justify-items: start;
    padding-bottom: 0.72rem;
  }

  .topnav {
    justify-content: flex-start;
  }
}

@media (max-width: 1120px) {
  .hero-grid,
  .workflow-grid,
  .arch-layout,
  .video-portal,
  .paper-preview-shell,
  .contact-grid {
    grid-template-columns: 1fr;
  }

  .science-grid,
  .impact-grid,
  .chart-grid,
  .resource-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (max-width: 920px) {
  .science-grid,
  .impact-grid,
  .chart-grid,
  .paper-insight-grid,
  .resource-grid,
  .contact-highlights,
  .profile-grid,
  .service-options {
    grid-template-columns: 1fr;
  }

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

@media (max-width: 700px) {
  .site-main {
    width: min(1220px, 95vw);
  }

  .panel {
    padding: 0.92rem;
    border-radius: 14px;
  }

  .chart-frame {
    height: 218px;
  }

  .policy-modal {
    padding: 0.55rem;
  }

  .policy-modal-dialog {
    border-radius: 18px;
    padding: 1rem;
    max-height: 95vh;
  }

  .policy-modal-dialog h3 {
    font-size: 1.55rem;
  }

  .video-launch-cta {
    font-size: 0.84rem;
  }

  .video-play-icon {
    width: 60px;
    height: 60px;
  }

  .video-play-icon::before {
    left: 25px;
    top: 20px;
    border-left-width: 16px;
    border-top-width: 10px;
    border-bottom-width: 10px;
  }

  .hero h1 {
    font-size: clamp(1.24rem, 6vw, 1.66rem);
  }

  .section-head h2 {
    font-size: 1.08rem;
  }

  .topnav a {
    font-size: 0.78rem;
  }
}
