:root {
  --bg: #f3f5f8;
  --ink: #0f1720;
  --muted: #617080;
  --line: rgba(15, 23, 32, 0.1);
  --surface: rgba(255, 255, 255, 0.82);
  --surface-strong: #ffffff;
  --accent: #1976e6;
  --accent-soft: rgba(25, 118, 230, 0.12);
  --shadow: 0 20px 60px rgba(15, 23, 32, 0.08);
  --radius-xl: 32px;
  --radius-lg: 22px;
  --max: 1120px;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  font-family: "Manrope", -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  color: var(--ink);
  background:
    radial-gradient(circle at top left, rgba(25, 118, 230, 0.12), transparent 34%),
    radial-gradient(circle at 85% 15%, rgba(15, 23, 32, 0.08), transparent 26%),
    linear-gradient(180deg, #fbfcfe 0%, var(--bg) 100%);
}

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

a {
  color: inherit;
}

.topbar {
  position: sticky;
  top: 0;
  z-index: 20;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  width: min(calc(100% - 32px), var(--max));
  margin: 16px auto 0;
  padding: 16px 20px;
  backdrop-filter: blur(16px);
  background: rgba(255, 255, 255, 0.72);
  border: 1px solid rgba(255, 255, 255, 0.9);
  border-radius: 999px;
  box-shadow: var(--shadow);
}

.topbar-light {
  margin-bottom: 8px;
}

.brand {
  text-decoration: none;
  font-size: 1rem;
  font-weight: 800;
  letter-spacing: -0.04em;
}

.topnav {
  display: flex;
  align-items: center;
  gap: 14px;
  flex-wrap: wrap;
}

.topnav a {
  text-decoration: none;
  color: var(--muted);
  font-size: 0.95rem;
  font-weight: 600;
  transition: color 180ms ease, transform 180ms ease;
}

.topnav a:hover,
.topnav a.is-active {
  color: var(--ink);
  transform: translateY(-1px);
}

main {
  width: min(100%, 1440px);
  margin: 0 auto;
}

.site-home main {
  padding: 18px 0 64px;
}

.hero-panel {
  min-height: calc(100svh - 110px);
  display: grid;
  grid-template-columns: 1.15fr 0.85fr;
  gap: 28px;
  align-items: stretch;
  width: min(calc(100% - 32px), var(--max));
  margin: 0 auto;
}

.hero-copy,
.hero-visual,
.info-band,
.detail-strip,
.document,
.document-header {
  backdrop-filter: blur(10px);
}

.hero-copy {
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding: 40px 0 56px;
  max-width: 620px;
  animation: fade-up 700ms ease both;
}

.eyebrow,
.section-label,
.mini-label {
  margin: 0 0 12px;
  color: var(--muted);
  font-size: 0.74rem;
  font-weight: 800;
  letter-spacing: 0.14em;
  text-transform: uppercase;
}

.hero-copy h1,
.info-band h2,
.detail-strip h2,
.document-header h1 {
  margin: 0;
  letter-spacing: -0.05em;
  line-height: 0.96;
}

.hero-copy h1 {
  font-size: clamp(3.2rem, 7vw, 6.1rem);
  max-width: 10.5ch;
}

.lede,
.band-copy p,
.detail-list li,
.document p,
.document li,
.meta {
  color: var(--muted);
  line-height: 1.7;
  font-size: 1rem;
}

.lede {
  max-width: 36rem;
  margin: 22px 0 0;
  font-size: 1.1rem;
}

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

.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 48px;
  padding: 0 20px;
  border-radius: 999px;
  text-decoration: none;
  font-weight: 700;
  transition: transform 180ms ease, box-shadow 180ms ease, background 180ms ease;
}

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

.button-primary {
  color: #fff;
  background: linear-gradient(135deg, #0f1720 0%, #1976e6 100%);
  box-shadow: 0 16px 36px rgba(25, 118, 230, 0.24);
}

.button-secondary {
  color: var(--ink);
  background: rgba(255, 255, 255, 0.72);
  border: 1px solid var(--line);
}

.hero-visual {
  position: relative;
  min-height: 560px;
  border-radius: 40px;
  overflow: hidden;
  background:
    linear-gradient(160deg, rgba(255, 255, 255, 0.88) 0%, rgba(232, 239, 248, 0.78) 100%),
    linear-gradient(135deg, #eef4fb 0%, #dbe9fb 100%);
  border: 1px solid rgba(255, 255, 255, 0.9);
  box-shadow: var(--shadow);
  animation: fade-up 820ms ease both;
}

.visual-slab {
  position: absolute;
  border-radius: 999px;
  filter: blur(8px);
}

.slab-a {
  inset: 10% 16% auto auto;
  width: 220px;
  height: 220px;
  background: rgba(25, 118, 230, 0.18);
}

.slab-b {
  inset: auto auto 8% 10%;
  width: 260px;
  height: 260px;
  background: rgba(15, 23, 32, 0.12);
}

.visual-card {
  position: absolute;
  left: 36px;
  right: 36px;
  bottom: 36px;
  display: grid;
  gap: 10px;
  padding: 24px;
  background: rgba(255, 255, 255, 0.84);
  border: 1px solid rgba(255, 255, 255, 0.92);
  border-radius: 26px;
  box-shadow: 0 18px 40px rgba(15, 23, 32, 0.08);
}

.visual-card strong {
  font-size: 1.4rem;
  letter-spacing: -0.04em;
}

.visual-card span {
  color: var(--muted);
  line-height: 1.6;
}

.info-band,
.detail-strip,
.link-grid,
.document-shell {
  width: min(calc(100% - 32px), var(--max));
  margin: 0 auto;
}

.info-band,
.detail-strip {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 24px;
  align-items: start;
  margin-top: 28px;
  padding: 28px 30px;
  background: rgba(255, 255, 255, 0.72);
  border: 1px solid rgba(255, 255, 255, 0.9);
  border-radius: var(--radius-xl);
  box-shadow: var(--shadow);
}

.info-band h2,
.detail-strip h2 {
  font-size: clamp(2rem, 4vw, 3rem);
  max-width: 11ch;
}

.link-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 16px;
  margin-top: 20px;
}

.link-block {
  min-height: 220px;
  padding: 26px;
  text-decoration: none;
  color: inherit;
  background: rgba(255, 255, 255, 0.78);
  border: 1px solid rgba(255, 255, 255, 0.9);
  border-radius: 28px;
  box-shadow: var(--shadow);
  transition: transform 180ms ease, border-color 180ms ease;
}

.link-block:hover {
  transform: translateY(-4px);
  border-color: rgba(25, 118, 230, 0.22);
}

.link-block h3 {
  margin: 0;
  font-size: 1.6rem;
  letter-spacing: -0.04em;
}

.link-block p:last-child {
  color: var(--muted);
  line-height: 1.7;
}

.detail-list {
  margin: 0;
  padding-left: 18px;
}

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

.footer {
  width: min(calc(100% - 32px), var(--max));
  margin: 26px auto 44px;
  color: var(--muted);
}

.footer a {
  color: var(--ink);
  text-decoration: none;
  font-weight: 700;
}

.document-shell {
  padding: 12px 0 52px;
}

.document-header {
  padding: 32px 0 18px;
}

.document-header h1 {
  font-size: clamp(2.6rem, 5vw, 4.3rem);
}

.meta {
  margin: 12px 0 0;
}

.document {
  max-width: 840px;
}

.document section {
  padding: 28px 30px;
  margin-top: 16px;
  background: rgba(255, 255, 255, 0.82);
  border: 1px solid rgba(255, 255, 255, 0.92);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow);
  animation: fade-up 520ms ease both;
}

.document h2 {
  margin: 0 0 12px;
  font-size: 1.2rem;
  letter-spacing: -0.03em;
}

.document ul {
  margin: 0;
  padding-left: 18px;
}

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

@keyframes fade-up {
  from {
    opacity: 0;
    transform: translateY(18px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@media (max-width: 940px) {
  .hero-panel,
  .info-band,
  .detail-strip,
  .link-grid {
    grid-template-columns: 1fr;
  }

  .hero-panel {
    min-height: auto;
  }

  .hero-visual {
    min-height: 420px;
  }
}

@media (max-width: 640px) {
  .topbar {
    width: calc(100% - 20px);
    margin-top: 10px;
    padding: 14px 16px;
    border-radius: 24px;
  }

  .topnav {
    gap: 12px;
  }

  .hero-panel,
  .info-band,
  .detail-strip,
  .link-grid,
  .document-shell,
  .footer {
    width: calc(100% - 20px);
  }

  .hero-copy {
    padding: 28px 0 8px;
  }

  .hero-copy h1 {
    max-width: 9.5ch;
  }

  .hero-visual {
    min-height: 340px;
  }

  .visual-card {
    left: 18px;
    right: 18px;
    bottom: 18px;
    padding: 18px;
  }

  .info-band,
  .detail-strip,
  .link-block,
  .document section {
    padding: 22px 20px;
  }
}
