:root {
  --bg: #071427;
  --bg-2: #0a1a36;
  --panel: rgba(255, 255, 255, 0.06);
  --panel-strong: rgba(255, 255, 255, 0.09);
  --text: #eef4ff;
  --muted: #b7c8e8;
  --accent: #7ec2ff;
  --accent-strong: #a4d4ff;
  --line: rgba(255, 255, 255, 0.13);
  --shadow: 0 18px 42px rgba(0, 0, 0, 0.28);
  --radius: 18px;
  --max: 1180px;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  font-family: Arial, Helvetica, sans-serif;
  color: var(--text);
  background:
    radial-gradient(circle at top left, rgba(126, 194, 255, 0.14), transparent 24%),
    linear-gradient(180deg, #06111f 0%, #071427 42%, #0a1934 100%);
  line-height: 1.55;
}

a {
  color: var(--accent);
  text-decoration: none;
}

a:hover {
  color: var(--accent-strong);
}

.container {
  width: min(var(--max), calc(100% - 40px));
  margin: 0 auto;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 10;
  background: rgba(7, 20, 39, 0.84);
  backdrop-filter: blur(10px);
  border-bottom: 1px solid var(--line);
}

.nav {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 18px 0;
  gap: 24px;
}

.brand-wrap {
  display: flex;
  flex-direction: column;
  gap: 4px;
}

.brand {
  font-size: 2rem;
  font-weight: 700;
  letter-spacing: 0.2px;
}

.brand-subtitle {
  color: var(--muted);
  font-size: 0.95rem;
}

.top-nav {
  display: flex;
  align-items: center;
  gap: 12px;
  flex-wrap: wrap;
}

.top-nav a {
  color: var(--muted);
  font-weight: 700;
  font-size: 0.96rem;
}

.nav-divider {
  color: rgba(255, 255, 255, 0.35);
}

.hero {
  padding: 72px 0 54px;
}

.hero-grid {
  display: grid;
  grid-template-columns: 1.45fr 0.95fr;
  gap: 32px;
  align-items: center;
}

.eyebrow,
.section-kicker,
.panel-kicker {
  margin: 0 0 10px;
  text-transform: uppercase;
  letter-spacing: 0.12em;
  font-size: 0.8rem;
  font-weight: 700;
  color: var(--accent-strong);
}

.hero h1 {
  margin: 0 0 16px;
  font-size: clamp(2.6rem, 5vw, 4.3rem);
  line-height: 1.03;
  max-width: 11ch;
}

.lead {
  margin: 0 0 28px;
  max-width: 64ch;
  color: var(--muted);
  font-size: 1.08rem;
}

.button-row {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
}

.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 46px;
  padding: 0 18px;
  border-radius: 999px;
  border: 1px solid var(--line);
  font-weight: 700;
  transition: 0.18s ease;
}

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

.button-primary {
  background: linear-gradient(180deg, #7ec2ff 0%, #5fa4eb 100%);
  color: #061326;
  border-color: transparent;
}

.button-primary:hover {
  color: #061326;
}

.button-secondary {
  background: rgba(255, 255, 255, 0.03);
  color: var(--text);
}

.hero-panel,
.feature-card,
.abstract-card,
.paper-shell {
  background: var(--panel);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  box-shadow: var(--shadow);
}

.hero-panel {
  padding: 26px 24px;
}

.hero-panel h2 {
  margin: 0 0 18px;
  font-size: 1.38rem;
  line-height: 1.22;
}

.panel-list {
  margin: 0;
  padding-left: 20px;
  color: var(--muted);
}

.panel-list li + li {
  margin-top: 10px;
}

.section {
  padding: 28px 0 56px;
}

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

.section-header h2 {
  margin: 0 0 10px;
  font-size: clamp(1.8rem, 3vw, 2.45rem);
}

.section-intro {
  margin: 0;
  max-width: 72ch;
  color: var(--muted);
}

.section-header-row {
  display: flex;
  justify-content: space-between;
  align-items: end;
  gap: 20px;
}

.section-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
}

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

.feature-card {
  padding: 22px 20px;
  background: var(--panel-strong);
}

.feature-card h3 {
  margin: 0 0 12px;
  font-size: 1.15rem;
}

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

.abstract-card {
  padding: 24px 24px 22px;
}

.abstract-text {
  margin: 0;
  color: var(--muted);
  max-width: 78ch;
}

.paper-shell {
  overflow: hidden;
}

.paper-frame {
  display: block;
  width: 100%;
  height: 980px;
  border: 0;
  background: #fff;
}

.site-footer {
  margin-top: 24px;
  padding: 30px 0 48px;
  border-top: 1px solid var(--line);
  background: rgba(0, 0, 0, 0.08);
}

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

.footer-brand {
  font-size: 1.5rem;
  font-weight: 700;
}

.footer-text,
.footer-heading,
.footer-link {
  color: var(--muted);
}

.footer-heading {
  margin: 0 0 10px;
  font-weight: 700;
}

@media (max-width: 980px) {
  .hero-grid,
  .feature-grid,
  .footer-grid {
    grid-template-columns: 1fr;
  }

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

  .paper-frame {
    height: 78vh;
  }
}

@media (max-width: 640px) {
  .container {
    width: min(var(--max), calc(100% - 24px));
  }

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

  .top-nav {
    gap: 10px;
  }

  .hero {
    padding-top: 46px;
  }
}