:root {
  --bg: #06111d;
  --bg-soft: #0b1d2e;
  --panel: rgba(11, 29, 46, 0.78);
  --panel-border: rgba(95, 154, 219, 0.25);
  --text: #ecf4ff;
  --muted: #9cb6d6;
  --brand: #1f6db8;
  --brand-strong: #2f84db;
  --accent: #73b2ff;
  --shadow: 0 10px 30px rgba(2, 8, 16, 0.45);
}

*,
*::before,
*::after {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  min-height: 100vh;
  font-family: "Inter", system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  color: var(--text);
  background:
    radial-gradient(circle at 85% 12%, rgba(31, 109, 184, 0.15), transparent 30%),
    radial-gradient(circle at 15% 85%, rgba(47, 132, 219, 0.1), transparent 40%),
    linear-gradient(180deg, #050d18 0%, var(--bg) 45%, #040a13 100%);
  line-height: 1.45;
}

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

a:hover {
  color: #a7ceff;
}

.bg-grid {
  position: fixed;
  inset: 0;
  pointer-events: none;
  z-index: -3;
  background-image:
    linear-gradient(rgba(163, 194, 229, 0.05) 1px, transparent 1px),
    linear-gradient(90deg, rgba(163, 194, 229, 0.05) 1px, transparent 1px);
  background-size: 38px 38px;
  mask-image: radial-gradient(circle at center, black 30%, transparent 85%);
}

.bg-orb {
  position: fixed;
  width: 520px;
  height: 520px;
  border-radius: 50%;
  filter: blur(70px);
  pointer-events: none;
  z-index: -2;
}

.orb-a {
  top: -220px;
  right: -120px;
  background: rgba(31, 109, 184, 0.32);
}

.orb-b {
  bottom: -240px;
  left: -180px;
  background: rgba(18, 83, 151, 0.23);
}

.site-header,
main,
.site-footer {
  width: min(1120px, 92vw);
  margin-inline: auto;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 20;
  padding: 1.1rem 0.2rem;
  display: flex;
  align-items: center;
  justify-content: space-between;
  backdrop-filter: blur(12px);
}

.brand-link {
  display: inline-flex;
  align-items: center;
  justify-content: center;
}

.brand-icon {
  width: 52px;
  height: 52px;
}

.cube-fill {
  fill: rgba(31, 109, 184, 0.8);
}

.cube-line {
  stroke: #eff6ff;
  stroke-width: 10;
  stroke-linecap: round;
}

.nav-list {
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
  gap: 1rem;
}

.nav-list a {
  font-size: 0.95rem;
  font-weight: 500;
  padding: 0.35rem 0.6rem;
  border-radius: 6px;
}

.nav-list a:hover {
  background: rgba(85, 141, 206, 0.16);
}

main {
  padding-block: 2rem 3.2rem;
}

.hero {
  padding-block: 5.4rem 4.4rem;
}

.hero-kicker,
.kicker {
  margin: 0;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  font-weight: 700;
  color: var(--muted);
  font-size: 0.75rem;
}

.brand-morph {
  margin: 0.8rem 0 1rem;
  font-size: clamp(2.2rem, 10vw, 5rem);
  font-weight: 800;
  min-height: 1.24em;
  display: inline-block;
  letter-spacing: -0.02em;
  color: var(--text);
  text-shadow: 0 0 26px rgba(69, 137, 217, 0.2);
}

.brand-typed {
  white-space: nowrap;
}

.type-cursor {
  display: inline-block;
  width: 0.08em;
  height: 0.95em;
  margin-left: 0.08em;
  border-radius: 2px;
  background: var(--accent);
  transform: translateY(0.08em);
  animation: cursor-blink 1s steps(2, end) infinite;
}

@keyframes cursor-blink {
  0%,
  46% {
    opacity: 1;
  }
  50%,
  100% {
    opacity: 0.2;
  }
}

.hero-subline {
  margin: 0.5rem 0;
  max-width: 68ch;
  font-size: clamp(1rem, 2.3vw, 1.2rem);
  font-weight: 500;
}

.muted {
  color: var(--muted);
  font-weight: 500;
}

.section {
  padding-block: 2.2rem;
}

.section-head h2 {
  margin: 0.4rem 0 0.4rem;
  font-size: clamp(1.4rem, 4vw, 2rem);
}

.card-grid,
.details-grid {
  margin-top: 1.4rem;
  display: grid;
  gap: 1rem;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
}

.card,
.detail-card {
  background: var(--panel);
  border: 1px solid var(--panel-border);
  border-radius: 14px;
  padding: 1.05rem 1.1rem;
  box-shadow: var(--shadow);
}

.card h3,
.detail-card h3 {
  margin: 0;
  font-size: 1rem;
}

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

.advisory-list {
  margin: 1rem 0 0;
  padding-left: 1.15rem;
  max-width: 78ch;
  color: var(--muted);
}

.advisory-list li {
  margin: 0.5rem 0;
  padding-left: 0.2rem;
}

.detail-card ul {
  margin: 0.6rem 0 0;
  padding-left: 1.1rem;
  color: var(--muted);
}

.detail-card li + li {
  margin-top: 0.35rem;
}

.site-footer {
  border-top: 1px solid rgba(116, 164, 215, 0.22);
  padding-block: 1.2rem 1.9rem;
  display: flex;
  justify-content: space-between;
  gap: 1rem;
  color: var(--muted);
}

.site-footer p {
  margin: 0;
}

.footer-links {
  display: flex;
  gap: 1rem;
}

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

.reveal.is-revealed {
  opacity: 1;
  transform: translateY(0);
}

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

  .site-footer {
    flex-direction: column;
  }
}

@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }

  .reveal {
    transition-duration: 0ms;
  }

  .type-cursor {
    animation: none;
    opacity: 1;
  }

  .bg-orb {
    display: none;
  }
}
