:root {
  --bg-0: #061420;
  --bg-1: #0a2233;
  --bg-2: #123f58;
  --panel: rgba(4, 18, 27, 0.72);
  --panel-border: rgba(199, 233, 255, 0.2);
  --text-main: #f4fbff;
  --text-soft: #b9d7ea;
  --brand-a: #36c2ff;
  --brand-b: #7cf5cf;
  --brand-c: #ffd884;
  --shadow: 0 18px 40px rgba(0, 0, 0, 0.4);
}

* {
  box-sizing: border-box;
}

html,
body {
  margin: 0;
  padding: 0;
  min-height: 100%;
}

body {
  font-family: "Space Grotesk", "Segoe UI", sans-serif;
  color: var(--text-main);
  background:
    radial-gradient(circle at 12% -4%, rgba(54, 194, 255, 0.2), transparent 36%),
    radial-gradient(circle at 88% 12%, rgba(124, 245, 207, 0.18), transparent 34%),
    linear-gradient(135deg, var(--bg-0), var(--bg-1) 38%, var(--bg-2));
  line-height: 1.5;
}

.aurora {
  position: fixed;
  inset: 0;
  pointer-events: none;
  z-index: 0;
  overflow: hidden;
}

.aurora span {
  position: absolute;
  width: 42vmax;
  height: 42vmax;
  border-radius: 999px;
  filter: blur(54px);
  opacity: 0.2;
  animation: drift 16s ease-in-out infinite alternate;
}

.aurora span:nth-child(1) {
  top: -8rem;
  left: -5rem;
  background: #42b8ff;
}

.aurora span:nth-child(2) {
  bottom: -12rem;
  right: -9rem;
  background: #85ffd8;
  animation-delay: 2s;
}

.aurora span:nth-child(3) {
  top: 42%;
  left: 45%;
  background: #ffda8a;
  animation-delay: 4s;
}

.container {
  position: relative;
  z-index: 1;
  width: min(1140px, calc(100vw - 3rem));
  margin: 0 auto;
}

.site-header {
  position: sticky;
  top: 0;
  backdrop-filter: blur(10px);
  background: rgba(6, 20, 32, 0.68);
  border-bottom: 1px solid rgba(178, 221, 245, 0.2);
  z-index: 5;
}

.site-header .container {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  padding: 0.95rem 0;
}

.brand-row {
  display: flex;
  align-items: center;
  gap: 0.75rem;
}

.brand-row img {
  width: 42px;
  height: 42px;
  object-fit: contain;
}

.brand-name {
  font-family: "Fraunces", serif;
  font-size: 1.05rem;
  letter-spacing: 0.02em;
}

.top-links {
  display: flex;
  align-items: center;
  gap: 0.9rem;
}

.top-links a {
  color: var(--text-main);
  text-decoration: none;
  font-size: 0.96rem;
  padding: 0.4rem 0.6rem;
  border-radius: 10px;
  transition: background 160ms ease;
}

.top-links a:hover {
  background: rgba(255, 255, 255, 0.1);
}

.hero {
  padding: 5.5rem 0 4rem;
}

.eyebrow {
  display: inline-flex;
  gap: 0.45rem;
  align-items: center;
  border: 1px solid rgba(175, 224, 254, 0.3);
  background: rgba(7, 28, 41, 0.58);
  color: var(--text-soft);
  padding: 0.35rem 0.7rem;
  border-radius: 999px;
  font-size: 0.84rem;
}

.hero h1 {
  font-family: "Fraunces", serif;
  font-size: clamp(2.1rem, 5vw, 4rem);
  margin: 1rem 0;
  line-height: 1.1;
  max-width: 11ch;
}

.hero p {
  max-width: 62ch;
  font-size: 1.06rem;
  color: var(--text-soft);
}

.cta-row {
  margin-top: 1.5rem;
  display: flex;
  flex-wrap: wrap;
  gap: 0.85rem;
}

.btn {
  appearance: none;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 44px;
  padding: 0.62rem 1rem;
  border-radius: 12px;
  text-decoration: none;
  font-weight: 600;
  letter-spacing: 0.01em;
  transition: transform 150ms ease, box-shadow 200ms ease, background 150ms ease;
}

.btn-primary {
  color: #07212f;
  background: linear-gradient(90deg, var(--brand-a), var(--brand-b));
  box-shadow: 0 12px 24px rgba(54, 194, 255, 0.25);
}

.btn-secondary {
  color: var(--text-main);
  border: 1px solid rgba(209, 236, 255, 0.28);
  background: rgba(7, 30, 44, 0.56);
}

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

.grid {
  display: grid;
  gap: 1rem;
}

.kpi-grid {
  grid-template-columns: repeat(3, minmax(0, 1fr));
  margin: 1.3rem 0 0;
}

.kpi {
  background: var(--panel);
  border: 1px solid var(--panel-border);
  border-radius: 16px;
  padding: 1rem;
  box-shadow: var(--shadow);
}

.kpi strong {
  display: block;
  font-size: 1.6rem;
  font-family: "Fraunces", serif;
}

.kpi span {
  color: var(--text-soft);
  font-size: 0.9rem;
}

section {
  padding: 1rem 0 2.5rem;
}

.section-title {
  font-family: "Fraunces", serif;
  font-size: clamp(1.55rem, 2.6vw, 2.25rem);
  margin: 0 0 0.8rem;
}

.lead {
  color: var(--text-soft);
  max-width: 70ch;
}

.card-grid {
  margin-top: 1.2rem;
  grid-template-columns: repeat(3, minmax(0, 1fr));
}

.card {
  background: var(--panel);
  border: 1px solid var(--panel-border);
  border-radius: 18px;
  padding: 1rem;
  box-shadow: var(--shadow);
}

.card h3 {
  margin: 0 0 0.35rem;
  font-size: 1.08rem;
}

.card p {
  margin: 0;
  color: var(--text-soft);
  font-size: 0.95rem;
}

.timeline {
  margin-top: 1rem;
  display: grid;
  gap: 0.8rem;
}

.timeline-item {
  display: grid;
  grid-template-columns: 96px 1fr;
  gap: 1rem;
  background: rgba(7, 27, 40, 0.64);
  border: 1px solid rgba(188, 229, 251, 0.18);
  border-radius: 14px;
  padding: 0.9rem;
}

.timeline-item .step {
  font-family: "IBM Plex Mono", monospace;
  color: var(--brand-c);
  font-size: 0.9rem;
}

.timeline-item p {
  margin: 0;
}

.doc-list {
  margin-top: 1.2rem;
  display: grid;
  gap: 0.8rem;
}

.doc-link {
  text-decoration: none;
  color: var(--text-main);
  border: 1px solid rgba(196, 233, 255, 0.24);
  background: rgba(5, 23, 34, 0.62);
  border-radius: 14px;
  padding: 0.9rem;
  display: grid;
  gap: 0.25rem;
  transition: border-color 140ms ease, transform 140ms ease;
}

.doc-link small {
  color: var(--text-soft);
}

.doc-link:hover {
  border-color: var(--brand-a);
  transform: translateY(-1px);
}

.site-footer {
  margin-top: 3rem;
  padding: 1.4rem 0 2.2rem;
  border-top: 1px solid rgba(184, 230, 255, 0.2);
}

.site-footer p {
  margin: 0;
  color: var(--text-soft);
  font-size: 0.95rem;
}

[data-reveal] {
  opacity: 0;
  transform: translateY(16px);
  transition: opacity 500ms ease, transform 500ms ease;
}

[data-reveal].visible {
  opacity: 1;
  transform: translateY(0);
}

@keyframes drift {
  0% {
    transform: translate(0, 0) scale(1);
  }
  100% {
    transform: translate(-16px, 14px) scale(1.08);
  }
}

@media (max-width: 960px) {
  .kpi-grid {
    grid-template-columns: 1fr;
  }

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

@media (max-width: 720px) {
  .site-header .container {
    flex-direction: column;
    align-items: flex-start;
  }

  .timeline-item {
    grid-template-columns: 1fr;
  }

  .timeline-item .step {
    margin-bottom: 0.25rem;
  }
}
