:root {
  color-scheme: light;
  --ink: #142027;
  --muted: #60707a;
  --line: rgba(20, 32, 39, 0.12);
  --paper: #f7faf9;
  --panel: rgba(255, 255, 255, 0.86);
  --teal: #00a7b7;
  --mint: #4cc6a4;
  --coral: #e77c67;
  --deep: #0b171e;
  font-family:
    Inter, "SF Pro Display", "PingFang SC", "Microsoft YaHei", Arial, sans-serif;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  min-width: 320px;
  color: var(--ink);
  background: var(--paper);
  overflow-x: hidden;
}

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

.site-header {
  position: fixed;
  z-index: 20;
  top: 0;
  left: 0;
  right: 0;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  padding: 18px clamp(18px, 4vw, 56px);
  color: #f8ffff;
  background: rgba(8, 18, 24, 0.68);
  border-bottom: 1px solid rgba(255, 255, 255, 0.14);
  backdrop-filter: blur(16px);
}

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

.brand-mark {
  display: grid;
  width: 38px;
  height: 38px;
  place-items: center;
  border: 1px solid rgba(255, 255, 255, 0.36);
  border-radius: 50%;
  background: rgba(0, 167, 183, 0.22);
  color: #ffffff;
  font-weight: 800;
}

.brand strong,
.brand small {
  display: block;
  line-height: 1.1;
}

.brand strong {
  max-width: min(52vw, 440px);
  line-height: 1.25;
  white-space: normal;
}

.brand small {
  margin-top: 4px;
  color: rgba(255, 255, 255, 0.66);
  font-size: 12px;
}

.top-nav {
  display: flex;
  align-items: center;
  gap: clamp(12px, 2vw, 26px);
  color: rgba(255, 255, 255, 0.78);
  font-size: 14px;
  white-space: nowrap;
}

.top-nav a {
  padding: 8px 0;
}

.top-nav a:hover,
.top-nav a:focus-visible {
  color: #ffffff;
}

.hero {
  position: relative;
  display: grid;
  min-height: 82svh;
  overflow: hidden;
  background: var(--deep);
}

.hero-image {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: 58% center;
}

.hero-shade {
  position: absolute;
  inset: 0;
  background:
    linear-gradient(90deg, rgba(5, 17, 22, 0.82) 0%, rgba(5, 17, 22, 0.48) 42%, rgba(5, 17, 22, 0.1) 100%),
    linear-gradient(0deg, rgba(247, 250, 249, 0.98) 0%, rgba(247, 250, 249, 0) 28%);
}

.hero-content {
  position: relative;
  z-index: 2;
  width: min(760px, calc(100% - 36px));
  align-self: center;
  padding: 112px 0 96px clamp(18px, 5vw, 72px);
  color: #ffffff;
}

.eyebrow {
  margin: 0 0 16px;
  color: #8de3df;
  font-size: 12px;
  font-weight: 800;
  letter-spacing: 0;
  text-transform: uppercase;
}

.hero h1 {
  margin: 0;
  max-width: 11em;
  font-size: clamp(40px, 6vw, 78px);
  line-height: 1.06;
  letter-spacing: 0;
  overflow-wrap: anywhere;
}

.hero-copy {
  max-width: 620px;
  margin: 26px 0 0;
  color: rgba(255, 255, 255, 0.84);
  font-size: clamp(17px, 2vw, 23px);
  line-height: 1.75;
  overflow-wrap: anywhere;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 34px;
}

.primary-action,
.secondary-action,
.module-action {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 46px;
  padding: 0 20px;
  border-radius: 6px;
  font-weight: 800;
}

.primary-action,
.module-action {
  color: #071419;
  background: #8de3df;
}

.secondary-action {
  color: #ffffff;
  border: 1px solid rgba(255, 255, 255, 0.34);
  background: rgba(255, 255, 255, 0.08);
}

.intro-band,
.module-band,
.papers-band {
  padding: clamp(42px, 7vw, 88px) clamp(18px, 5vw, 72px);
}

.intro-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.1fr) minmax(260px, 0.9fr);
  gap: clamp(24px, 5vw, 64px);
  align-items: start;
  max-width: 1180px;
  margin: 0 auto;
}

.intro-grid p {
  margin: 0;
  color: #263b44;
  font-size: clamp(22px, 3vw, 34px);
  line-height: 1.45;
  overflow-wrap: anywhere;
}

.intro-grid ul {
  display: grid;
  gap: 14px;
  margin: 0;
  padding: 0;
  list-style: none;
}

.intro-grid li {
  padding: 16px 18px;
  border-left: 3px solid var(--teal);
  background: #ffffff;
  color: #31464e;
  box-shadow: 0 14px 32px rgba(20, 32, 39, 0.06);
}

.module-band {
  background: #ffffff;
  border-top: 1px solid var(--line);
}

.section-heading {
  max-width: 1180px;
  margin: 0 auto 26px;
}

.section-heading h2 {
  margin: 0;
  font-size: clamp(30px, 4vw, 52px);
  letter-spacing: 0;
}

.section-copy {
  max-width: 760px;
  margin: 16px 0 0;
  color: var(--muted);
  font-size: 17px;
  line-height: 1.8;
}

.module-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 18px;
  max-width: 1180px;
  margin: 0 auto;
}

.module-card {
  display: flex;
  min-height: 390px;
  flex-direction: column;
  padding: 28px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.96), rgba(247, 250, 249, 0.94)),
    #ffffff;
  box-shadow: 0 22px 56px rgba(20, 32, 39, 0.08);
}

.module-card.featured {
  color: #f4fbfb;
  border-color: rgba(141, 227, 223, 0.28);
  background:
    linear-gradient(155deg, rgba(13, 45, 54, 0.98), rgba(20, 80, 84, 0.94)),
    var(--deep);
}

.module-kicker {
  color: var(--coral);
  font-size: 13px;
  font-weight: 900;
}

.featured .module-kicker {
  color: #8de3df;
}

.module-card h3 {
  margin: 18px 0 0;
  font-size: clamp(24px, 2.5vw, 32px);
  letter-spacing: 0;
}

.module-card p {
  margin: 18px 0 0;
  color: var(--muted);
  line-height: 1.75;
}

.featured p {
  color: rgba(244, 251, 251, 0.76);
}

.module-list,
.project-strip,
.experiment-list {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-top: 24px;
}

.module-list span {
  padding: 8px 10px;
  border: 1px solid rgba(0, 167, 183, 0.18);
  border-radius: 999px;
  color: #37565e;
  background: rgba(0, 167, 183, 0.08);
  font-size: 13px;
}

.featured .module-list span {
  color: #eafafa;
  border-color: rgba(141, 227, 223, 0.3);
  background: rgba(255, 255, 255, 0.08);
}

.project-strip {
  flex-direction: column;
  margin-top: 28px;
  padding: 16px;
  border: 1px solid rgba(141, 227, 223, 0.24);
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.08);
}

.project-strip strong {
  color: #8de3df;
  font-size: 13px;
}

.project-strip span {
  color: #ffffff;
  font-weight: 800;
}

.experiment-list {
  flex-direction: column;
  gap: 10px;
  margin-top: 24px;
}

.experiment-entry {
  display: grid;
  gap: 5px;
  padding: 14px;
  border: 1px solid rgba(141, 227, 223, 0.24);
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.08);
  color: #ffffff;
  text-decoration: none;
}

.experiment-entry strong {
  color: #8de3df;
  font-size: 13px;
}

.experiment-entry span {
  font-weight: 900;
  line-height: 1.35;
}

.experiment-entry small {
  color: rgba(244, 251, 251, 0.68);
  font-size: 13px;
  line-height: 1.45;
}

.experiment-entry:hover,
.experiment-entry:focus-visible {
  border-color: rgba(141, 227, 223, 0.54);
  background: rgba(255, 255, 255, 0.13);
}

.primary-entry {
  border-color: rgba(255, 179, 133, 0.62);
  background: rgba(255, 126, 71, 0.16);
}

.primary-entry strong {
  color: #ffbf9b;
}

.text-link,
.module-action {
  margin-top: auto;
}

.text-link {
  display: inline-flex;
  width: fit-content;
  padding-top: 28px;
  color: #007987;
  font-weight: 800;
}

.light-link {
  color: #8de3df;
}

.module-action {
  width: fit-content;
  margin-top: auto;
}

.papers-band {
  background: #eef5f2;
  border-top: 1px solid var(--line);
}

.paper-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 18px;
  max-width: 1180px;
  margin: 0 auto;
}

.paper-card {
  display: flex;
  min-height: 360px;
  flex-direction: column;
  padding: 26px;
  border: 1px solid rgba(20, 32, 39, 0.1);
  border-radius: 8px;
  background: #ffffff;
  box-shadow: 0 18px 46px rgba(20, 32, 39, 0.07);
}

.paper-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-bottom: 18px;
}

.paper-meta span {
  display: inline-flex;
  align-items: center;
  min-height: 28px;
  padding: 0 10px;
  border: 1px solid rgba(0, 167, 183, 0.18);
  border-radius: 999px;
  color: #31545d;
  background: rgba(0, 167, 183, 0.08);
  font-size: 12px;
  font-weight: 800;
}

.paper-card h3 {
  margin: 0;
  color: #15262d;
  font-size: clamp(21px, 2.2vw, 28px);
  line-height: 1.22;
  letter-spacing: 0;
  overflow-wrap: anywhere;
}

.paper-authors {
  margin: 14px 0 0;
  color: #007987;
  font-weight: 900;
}

.paper-card p:not(.paper-authors) {
  margin: 16px 0 0;
  color: #526872;
  line-height: 1.75;
}

.paper-link {
  display: inline-flex;
  width: fit-content;
  margin-top: auto;
  padding-top: 22px;
  color: #007987;
  font-weight: 900;
}

.site-footer {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  align-items: center;
  gap: 12px;
  padding: 24px clamp(18px, 5vw, 72px);
  color: rgba(255, 255, 255, 0.72);
  background: #09151b;
  font-size: 14px;
}

.site-footer a {
  color: rgba(139, 231, 229, 0.88);
  text-decoration: none;
}

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

@media (max-width: 860px) {
  .site-header {
    position: absolute;
    align-items: flex-start;
    padding: 14px 18px;
  }

  .top-nav {
    max-width: min(58vw, 230px);
    flex-wrap: wrap;
    justify-content: flex-end;
    gap: 8px 14px;
    font-size: 13px;
    white-space: normal;
  }

  .hero {
    min-height: 760px;
  }

  .hero-image {
    object-position: 68% center;
  }

  .hero-shade {
    background:
      linear-gradient(90deg, rgba(5, 17, 22, 0.9) 0%, rgba(5, 17, 22, 0.58) 70%, rgba(5, 17, 22, 0.28) 100%),
      linear-gradient(0deg, rgba(247, 250, 249, 1) 0%, rgba(247, 250, 249, 0) 26%);
  }

  .hero-content {
    width: min(620px, calc(100% - 36px));
    padding: 128px 0 88px 18px;
  }

  .intro-grid,
  .module-grid,
  .paper-grid {
    grid-template-columns: 1fr;
  }

  .module-card,
  .paper-card {
    min-height: 330px;
  }
}

@media (max-width: 520px) {
  .brand small {
    display: none;
  }

  .brand-mark {
    width: 34px;
    height: 34px;
  }

  .site-header {
    flex-wrap: wrap;
    gap: 8px 16px;
  }

  .top-nav {
    width: 100%;
    max-width: none;
    gap: 7px 11px;
    justify-content: flex-start;
    font-size: 12px;
    padding-left: 46px;
  }

  .hero h1 {
    max-width: 100%;
    font-size: clamp(30px, 8.5vw, 38px);
    line-height: 1.16;
  }

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

  .primary-action,
  .secondary-action,
  .module-action {
    width: 100%;
  }

  .module-card,
  .paper-card {
    padding: 22px;
  }
}
