:root {
  --navy: #11264a;
  --blue: #2e7cc4;
  --teal: #3bb8a8;
  --sky: #dcebf8;
  --mist: #f4f8fc;
  --amber: #f4a63b;
  --muted: rgba(17, 38, 74, .66);
  --line: rgba(17, 38, 74, .12);
  --sans: "Plus Jakarta Sans", "Segoe UI", Helvetica, Arial, sans-serif;
  --ease: cubic-bezier(.2, .8, .2, 1);
  --mx: 72%;
  --my: 30%;
}

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

html { color-scheme: light; }

body {
  margin: 0;
  min-height: 100vh;
  min-height: 100dvh;
  background: var(--mist);
  color: var(--navy);
  font-family: var(--sans);
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
}

.sprite { position: absolute; width: 0; height: 0; overflow: hidden; }

/* ---------- atmosphere ---------- */
.bg {
  position: fixed;
  inset: 0;
  pointer-events: none;
  background:
    radial-gradient(46rem 36rem at 92% -6%, rgba(46, 124, 196, .20), transparent 62%),
    radial-gradient(40rem 32rem at -6% 106%, rgba(244, 166, 59, .17), transparent 62%),
    radial-gradient(30rem 24rem at 60% 110%, rgba(59, 184, 168, .12), transparent 62%);
}
.bg::after {
  content: "";
  position: absolute;
  inset: 0;
  background-image: radial-gradient(rgba(17, 38, 74, .10) 1px, transparent 1.4px);
  background-size: 26px 26px;
  -webkit-mask-image: linear-gradient(to bottom, #000 0%, transparent 70%);
  mask-image: linear-gradient(to bottom, #000 0%, transparent 70%);
}
.glow {
  position: fixed;
  inset: 0;
  pointer-events: none;
  background: radial-gradient(26rem 26rem at var(--mx) var(--my), rgba(46, 124, 196, .13), transparent 65%);
}

/* ---------- layout ---------- */
.page {
  position: relative;
  z-index: 1;
  min-height: 100vh;
  min-height: 100dvh;
  display: grid;
  grid-template-rows: auto 1fr auto;
  padding: clamp(1.1rem, 2.6vw, 2.25rem) clamp(1.25rem, 5vw, 4.5rem) 0;
  max-width: 94rem;
  margin: 0 auto;
}

.top { display: flex; align-items: center; justify-content: space-between; gap: 1rem; }

/* ---------- logo lockup ---------- */
.logo { display: inline-flex; align-items: center; gap: .7rem; color: var(--navy); text-decoration: none; }
.logo-mark { width: 2.6rem; height: 2.6rem; flex: none; }
.logo-word { font-weight: 800; font-size: 1.7rem; letter-spacing: -.04em; line-height: 1; }
.logo-word i { font-style: normal; color: var(--blue); padding: 0 .03em; }
.logo-tag {
  padding-left: .8rem;
  border-left: 1.5px solid rgba(17, 38, 74, .25);
  font-size: .66rem;
  font-weight: 700;
  letter-spacing: .16em;
  text-transform: uppercase;
  color: var(--muted);
  line-height: 1.2;
}

.pill {
  display: inline-flex;
  align-items: center;
  gap: .6rem;
  margin: 0;
  padding: .55rem 1rem;
  border: 1px solid var(--line);
  border-radius: 999px;
  background: rgba(255, 255, 255, .8);
  font-size: .78rem;
  font-weight: 700;
  letter-spacing: .12em;
  text-transform: uppercase;
  color: var(--navy);
}
.pulse { width: .55rem; height: .55rem; border-radius: 50%; background: var(--amber); box-shadow: 0 0 0 0 rgba(244, 166, 59, .6); animation: ping 2s infinite; }
@keyframes ping {
  0%   { box-shadow: 0 0 0 0 rgba(244, 166, 59, .6); }
  70%  { box-shadow: 0 0 0 .6rem rgba(244, 166, 59, 0); }
  100% { box-shadow: 0 0 0 0 rgba(244, 166, 59, 0); }
}

/* ---------- hero ---------- */
.hero {
  display: grid;
  grid-template-columns: minmax(0, 1.05fr) minmax(0, .95fr);
  align-items: center;
  gap: clamp(1rem, 5vw, 5rem);
  padding: clamp(1.5rem, 4vh, 3rem) 0;
}

.headline {
  margin: 0;
  font-weight: 800;
  font-size: clamp(3.2rem, min(8.4vw, 13vh), 7.4rem);
  line-height: .98;
  letter-spacing: -.045em;
}
.headline .line { display: block; overflow: hidden; padding: .02em 0 .1em; }
.grad {
  background: linear-gradient(95deg, var(--blue) 10%, var(--teal) 90%);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
  padding-right: .05em;
}

.lede { max-width: 28rem; margin: 1.6rem 0 0; font-size: clamp(1.05rem, 1.4vw, 1.25rem); line-height: 1.55; color: var(--muted); font-weight: 500; }
.cta { margin: 2rem 0 0; }
.btn {
  display: inline-flex;
  align-items: center;
  gap: .8rem;
  padding: .95rem 1.5rem;
  border-radius: 999px;
  background: var(--navy);
  color: #fff;
  font-weight: 700;
  font-size: 1rem;
  text-decoration: none;
  box-shadow: 0 .6rem 1.4rem -.6rem rgba(17, 38, 74, .55);
  transition: background .3s var(--ease), transform .3s var(--ease), box-shadow .3s var(--ease);
}
.btn svg { transition: transform .3s var(--ease); }
.btn:hover, .btn:focus-visible { background: var(--blue); transform: translateY(-2px); box-shadow: 0 .9rem 1.6rem -.6rem rgba(46, 124, 196, .6); }
.btn:hover svg, .btn:focus-visible svg { transform: translateX(.25rem); }
.btn:focus-visible { outline: 3px solid rgba(46, 124, 196, .45); outline-offset: 3px; }

/* ---------- ring art ---------- */
.art { position: relative; width: min(100%, 34rem, 62vh); justify-self: center; aspect-ratio: 1; }
.art svg { display: block; width: 100%; height: 100%; overflow: visible; }
.art .art-mark { position: absolute; inset: 0; margin: auto; width: 38%; height: 38%; animation: pop 1s var(--ease) .5s both; }

.ring-dash { transform-origin: 50% 50%; animation: spin 90s linear infinite; }
.ring-arc { stroke-dashoffset: 100; animation: sweep 2.4s var(--ease) .5s forwards; }
.ring-dot { opacity: 0; animation: fade .6s ease 2.6s forwards; }

@keyframes spin  { to { transform: rotate(360deg); } }
@keyframes sweep { to { stroke-dashoffset: 26; } }
@keyframes fade  { to { opacity: 1; } }
@keyframes pop   { from { transform: scale(.6); opacity: 0; } to { transform: scale(1); opacity: 1; } }

/* ---------- reveal ---------- */
.reveal { display: inline-block; animation: fade-up .9s var(--ease) both; }
.headline .reveal { display: block; animation-name: rise; }
.lede.reveal, .cta.reveal { display: block; }
.pill.reveal { display: inline-flex; }
.d1 { animation-delay: .1s; } .d2 { animation-delay: .25s; } .d3 { animation-delay: .4s; }
.d4 { animation-delay: .55s; } .d5 { animation-delay: .8s; } .d6 { animation-delay: .95s; }

@keyframes rise    { from { transform: translateY(105%); } to { transform: translateY(0); } }
@keyframes fade-up { from { transform: translateY(.8rem); opacity: 0; } to { transform: translateY(0); opacity: 1; } }

/* ---------- footer ---------- */
.foot {
  display: flex;
  justify-content: space-between;
  gap: .5rem 1rem;
  flex-wrap: wrap;
  padding: 1.3rem 0 1.5rem;
  border-top: 1px solid var(--line);
  font-size: .78rem;
  font-weight: 500;
  color: var(--muted);
}

/* ---------- responsive ---------- */
@media (max-width: 860px) {
  .hero { grid-template-columns: 1fr; gap: 1rem; }
  .art { order: -1; width: min(72vw, 22rem); justify-self: start; }
  .headline { font-size: clamp(3rem, 15vw, 5rem); }
}
@media (max-width: 520px) {
  .logo-tag { display: none; }
}

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation-duration: .001ms !important; animation-iteration-count: 1 !important; animation-delay: 0s !important; transition: none !important; }
}
