:root {
  --navy: #0F2A43;
  --teal: #00A3A3;
  --amber: #E8A33D;
  --slate: #4A5B6C;
  --mist: #F3F5F7;
  --muted: #B8C4D0; /* Mist-leaning text tone for use on navy */
}

* { box-sizing: border-box; }
html, body { height: 100%; }

body {
  margin: 0;
  min-height: 100vh;
  min-height: 100dvh;
  display: flex;
  flex-direction: column;
  background: var(--navy);
  color: var(--mist);
  font-family: Inter, "Segoe UI", Calibri, Arial, sans-serif;
  font-size: 1.0625rem;
  line-height: 1.6;
  overflow-x: hidden;
}

.top, .foot { padding: 1.75rem clamp(1.5rem, 6vw, 5rem); position: relative; z-index: 2; }

.lockup { display: inline-flex; align-items: center; gap: 0.75rem; color: #fff; text-decoration: none; }
.wordmark { font-family: Manrope, "Segoe UI", Calibri, Arial, sans-serif; font-size: 1.625rem; line-height: 1; letter-spacing: -0.02em; }
.w-light { font-weight: 500; }
.w-bold { font-weight: 800; }

.stage {
  flex: 1;
  position: relative;
  display: flex;
  align-items: center;
  padding: 2rem clamp(1.5rem, 6vw, 5rem);
}

.copy { position: relative; z-index: 2; max-width: 34rem; }

h1 {
  margin: 0 0 1.25rem;
  font-family: Manrope, "Segoe UI", Calibri, Arial, sans-serif;
  font-weight: 800;
  font-size: clamp(2.25rem, 5.5vw, 4rem);
  line-height: 1.05;
  letter-spacing: -0.025em;
  color: #fff;
}

.copy p { margin: 0 0 2rem; color: var(--muted); max-width: 30rem; }

.button {
  display: inline-block;
  padding: 0.85rem 1.75rem;
  background: var(--teal);
  color: var(--mist);
  font-weight: 600;
  font-size: 1rem;
  text-decoration: none;
  border-radius: 999px;
  transition: background-color 0.2s ease, transform 0.2s ease;
}
.button:hover { background: var(--amber); transform: translateY(-1px); }
.button:focus-visible { outline: 3px solid var(--amber); outline-offset: 3px; }
.copy .note { margin: 1rem 0 0; font-size: 0.9rem; }

/* The mark: large, cropped by the right edge, behind the text on small screens */
.big-mark {
  position: absolute;
  right: -8vw;
  top: 50%;
  width: min(62vw, 62rem);
  max-height: 120%;
  transform: translateY(-50%);
  opacity: 0.95;
  z-index: 1;
  pointer-events: none;
}

.foot { color: var(--muted); font-size: 0.875rem; }

/* One page-load moment: rings draw in, then the dot settles into place */
.ring { stroke-dasharray: 1; stroke-dashoffset: 1; animation: draw 1.4s cubic-bezier(.65, 0, .25, 1) forwards; }
.ring-2 { animation-delay: 0.25s; }
.dot { opacity: 0; transform: translateX(-18px); animation: settle 0.9s cubic-bezier(.2, .8, .2, 1) 1.2s forwards; }

@keyframes draw { to { stroke-dashoffset: 0; } }
@keyframes settle { to { opacity: 1; transform: translateX(0); } }

@media (max-width: 720px) {
  .big-mark { width: 120vw; right: -45vw; opacity: 0.22; }
  .copy p { color: var(--mist); }
}

@media (prefers-reduced-motion: reduce) {
  .ring { animation: none; stroke-dashoffset: 0; }
  .dot { animation: none; opacity: 1; transform: none; }
  .button { transition: none; }
}
