:root {
  --bg: #f8fafc;
  --surface: #ffffff;
  --fg: #0f172a;
  --muted: #64748b;
  --subtle: #94a3b8;
  --line: #e2e8f0;
  --brand: #012677;
  --brand-deep: #001449;
  --radius: 0.75rem;
  --shadow-soft: 0 1px 3px 0 rgba(15, 23, 42, 0.04), 0 1px 2px -1px rgba(15, 23, 42, 0.04);
  --shadow-lift: 0 10px 30px -12px rgba(1, 38, 119, 0.28);
}

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

html {
  -webkit-text-size-adjust: 100%;
}

body {
  margin: 0;
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  background: var(--bg);
  color: var(--fg);
  font-family: "Geist", ui-sans-serif, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  font-size: 16px;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}

::selection {
  background: var(--fg);
  color: #fff;
}

/* Ambient atmosphere */
.atmosphere {
  position: fixed;
  inset: 0;
  pointer-events: none;
  overflow: hidden;
}

.blob {
  position: absolute;
  border-radius: 50%;
  filter: blur(90px);
  opacity: 0.5;
}

.blob-a {
  width: 620px;
  height: 620px;
  top: -320px;
  left: 50%;
  transform: translateX(-58%);
  background: radial-gradient(circle, rgba(1, 38, 119, 0.14), transparent 68%);
}

.blob-b {
  width: 520px;
  height: 520px;
  bottom: -300px;
  right: -120px;
  background: radial-gradient(circle, rgba(64, 224, 255, 0.12), transparent 68%);
  opacity: 0.7;
}

/* Nav */
.nav-wrap {
  position: sticky;
  top: 0;
  z-index: 20;
  padding: 12px 16px;
}

.nav {
  max-width: 1000px;
  margin: 0 auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  padding: 10px 14px 10px 18px;
  border: 1px solid var(--line);
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.92);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  box-shadow: var(--shadow-soft);
}

.nav-logo {
  height: 24px;
  width: auto;
  max-width: 150px;
  object-fit: contain;
  display: block;
}

.nav-pill {
  flex: none;
  display: inline-flex;
  align-items: center;
  gap: 7px;
  padding: 5px 11px;
  border: 1px solid var(--line);
  border-radius: 999px;
  background: var(--surface);
  color: var(--muted);
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.06em;
  text-transform: uppercase;
}

.nav-pill::before {
  content: "";
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--brand);
}

/* Layout */
.wrap {
  position: relative;
  z-index: 1;
  flex: 1;
  display: flex;
  align-items: center;
  width: 100%;
  max-width: 1000px;
  margin: 0 auto;
  padding: 56px 24px 24px;
}

.hero {
  width: 100%;
  max-width: 720px;
  margin: 0 auto;
  text-align: center;
}

/* Badge */
.badge {
  display: inline-flex;
  align-items: center;
  gap: 9px;
  margin: 0 0 28px;
  padding: 7px 16px;
  border: 1px solid var(--line);
  border-radius: 999px;
  background: var(--surface);
  box-shadow: var(--shadow-soft);
  color: var(--muted);
  font-size: 12.5px;
  font-weight: 500;
  letter-spacing: 0.01em;
}

.pulse {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: var(--brand);
  box-shadow: 0 0 0 0 rgba(1, 38, 119, 0.5);
  animation: pulse 2.4s ease-out infinite;
}

@keyframes pulse {
  0% { box-shadow: 0 0 0 0 rgba(1, 38, 119, 0.45); }
  70% { box-shadow: 0 0 0 8px rgba(1, 38, 119, 0); }
  100% { box-shadow: 0 0 0 0 rgba(1, 38, 119, 0); }
}

/* Headline */
h1 {
  margin: 0 0 22px;
  font-size: clamp(2.5rem, 7.2vw, 4.25rem);
  line-height: 1.08;
  letter-spacing: -0.04em;
  font-weight: 800;
  color: var(--fg);
}

h1 .muted {
  color: var(--subtle);
}

.lede {
  max-width: 54ch;
  margin: 0 auto 34px;
  color: var(--muted);
  font-size: 1.0625rem;
  line-height: 1.72;
  font-weight: 400;
}

/* Actions */
.actions {
  display: flex;
  justify-content: center;
  gap: 12px;
  flex-wrap: wrap;
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 9px;
  padding: 13px 24px;
  border-radius: var(--radius);
  font-size: 0.9375rem;
  font-weight: 600;
  text-decoration: none;
  transition: background-color 0.15s ease, box-shadow 0.15s ease, transform 0.15s ease;
}

.btn-primary {
  background: var(--fg);
  color: #fff;
  box-shadow: 0 1px 2px rgba(0, 0, 0, 0.06);
}

.btn-primary:hover {
  background: #1e293b;
  box-shadow: var(--shadow-lift);
}

.btn-primary:active {
  transform: scale(0.985);
}

/* Focus ring */
a:focus-visible {
  outline: 2px solid var(--brand);
  outline-offset: 3px;
  border-radius: 6px;
}

/* Pillars */
.pillars {
  list-style: none;
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 10px;
  margin: 46px 0 0;
  padding: 0;
}

.pillars li {
  display: inline-flex;
  align-items: center;
  gap: 9px;
  padding: 10px 16px;
  border: 1px solid var(--line);
  border-radius: 999px;
  background: var(--surface);
  box-shadow: var(--shadow-soft);
  color: #334155;
  font-size: 0.8125rem;
  font-weight: 500;
  white-space: nowrap;
}

.ico {
  display: inline-flex;
  color: var(--brand);
}

.ico svg {
  width: 16px;
  height: 16px;
}

/* Footer */
.foot {
  position: relative;
  z-index: 1;
  padding: 0 24px 30px;
}

.foot-inner {
  max-width: 1000px;
  margin: 0 auto;
  padding-top: 22px;
  border-top: 1px solid var(--line);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-wrap: wrap;
  gap: 8px;
  color: var(--subtle);
  font-size: 0.8125rem;
}

.foot a {
  color: var(--subtle);
  text-decoration: none;
  transition: color 0.15s ease;
}

.foot a:hover {
  color: var(--fg);
}

.sep {
  opacity: 0.6;
}

/* Entrance */
.badge,
h1,
.lede,
.actions,
.pillars {
  opacity: 0;
  transform: translateY(12px);
  animation: rise 0.65s cubic-bezier(0.22, 1, 0.36, 1) forwards;
}

.badge { animation-delay: 0.04s; }
h1 { animation-delay: 0.1s; }
.lede { animation-delay: 0.17s; }
.actions { animation-delay: 0.24s; }
.pillars { animation-delay: 0.31s; }

@keyframes rise {
  to {
    opacity: 1;
    transform: none;
  }
}

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after {
    animation: none !important;
    transition: none !important;
  }
  .badge,
  h1,
  .lede,
  .actions,
  .pillars {
    opacity: 1;
    transform: none;
  }
}

@media (max-width: 560px) {
  .wrap {
    padding: 40px 20px 16px;
  }
  .nav {
    padding: 8px 10px 8px 14px;
  }
  .nav-logo {
    height: 20px;
    max-width: 118px;
  }
  .badge {
    font-size: 11.5px;
    padding: 6px 13px;
  }
  .lede {
    font-size: 1rem;
  }
  .btn {
    width: 100%;
  }
  .pillars {
    margin-top: 32px;
    gap: 8px;
  }
  .pillars li {
    font-size: 0.78rem;
    padding: 9px 13px;
  }
}
