:root {
  --bg: #0b1220;
  --bg-2: #111a2e;
  --card: rgba(17, 26, 46, 0.72);
  --line: rgba(232, 237, 245, 0.12);
  --text: #e8edf5;
  --muted: #9aa6bb;
  --gold: #c9a24d;
  --gold-soft: rgba(201, 162, 77, 0.16);
  --serif: "Iowan Old Style", "Palatino Linotype", Palatino, Georgia, "Times New Roman", serif;
  --sans: system-ui, -apple-system, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
}

@media (prefers-color-scheme: light) {
  :root {
    --bg: #f4f1ea;
    --bg-2: #ebe6da;
    --card: rgba(255, 255, 255, 0.82);
    --line: rgba(11, 18, 32, 0.12);
    --text: #0b1220;
    --muted: #5b6475;
    --gold: #9a7425;
    --gold-soft: rgba(154, 116, 37, 0.12);
  }
}

* { box-sizing: border-box; }

html, body { height: 100%; }

body {
  margin: 0;
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  align-items: center;
  padding: 0 16px;
  background: var(--bg);
  color: var(--text);
  font-family: var(--sans);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}

/* Subtle grid with a slowly drifting glow */
.backdrop {
  position: fixed;
  inset: 0;
  z-index: -1;
  background:
    radial-gradient(600px circle at var(--x, 20%) var(--y, 15%), var(--gold-soft), transparent 60%),
    linear-gradient(var(--line) 1px, transparent 1px) 0 0 / 48px 48px,
    linear-gradient(90deg, var(--line) 1px, transparent 1px) 0 0 / 48px 48px,
    linear-gradient(180deg, var(--bg), var(--bg-2));
  mask-image: radial-gradient(ellipse at center, #000 40%, transparent 85%);
  -webkit-mask-image: radial-gradient(ellipse at center, #000 40%, transparent 85%);
  animation: drift 24s ease-in-out infinite alternate;
}

@property --x { syntax: "<percentage>"; inherits: false; initial-value: 20%; }
@property --y { syntax: "<percentage>"; inherits: false; initial-value: 15%; }

@keyframes drift {
  0%   { --x: 20%; --y: 15%; }
  50%  { --x: 80%; --y: 30%; }
  100% { --x: 45%; --y: 85%; }
}

.top {
  width: 100%;
  max-width: 720px;
  padding: 32px 0 0;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  color: var(--text);
  text-decoration: none;
}

.mark { width: 40px; height: 40px; }
.mark-bg { fill: var(--text); }
.mark-p { fill: none; stroke: var(--gold); stroke-width: 5; stroke-linecap: round; stroke-linejoin: round; }
.mark-x { stroke: var(--bg); stroke-width: 5; stroke-linecap: round; }

.brand-name {
  font-family: var(--serif);
  font-size: 1.35rem;
  letter-spacing: 0.02em;
}
.brand-name span { color: var(--gold); }

.card {
  width: 100%;
  max-width: 720px;
  margin: auto 0;
  padding: 48px clamp(24px, 6vw, 56px);
  background: var(--card);
  border: 1px solid var(--line);
  border-radius: 20px;
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  box-shadow: 0 30px 80px -40px rgba(0, 0, 0, 0.55);
  animation: rise 0.9s cubic-bezier(.2, .7, .2, 1) both;
}

@keyframes rise {
  from { opacity: 0; transform: translateY(16px); }
  to   { opacity: 1; transform: none; }
}

.eyebrow {
  margin: 0 0 12px;
  color: var(--gold);
  font-size: 0.78rem;
  font-weight: 600;
  letter-spacing: 0.18em;
  text-transform: uppercase;
}

h1 {
  margin: 0 0 16px;
  font-family: var(--serif);
  font-weight: 500;
  font-size: clamp(2rem, 5.5vw, 3rem);
  line-height: 1.15;
  letter-spacing: -0.01em;
}

.lead {
  margin: 0 0 36px;
  max-width: 56ch;
  color: var(--muted);
  font-size: 1.08rem;
}

/* Launch progress */
.progress {
  list-style: none;
  margin: 0 0 40px;
  padding: 0;
  border-top: 1px solid var(--line);
}

.progress li {
  display: grid;
  grid-template-columns: 20px 1fr auto;
  align-items: center;
  gap: 14px;
  padding: 14px 0;
  border-bottom: 1px solid var(--line);
}

.dot {
  width: 12px;
  height: 12px;
  border-radius: 50%;
  border: 2px solid var(--muted);
  justify-self: center;
}

.done .dot { background: var(--gold); border-color: var(--gold); }

.active .dot {
  border-color: var(--gold);
  animation: pulse 2.2s ease-out infinite;
}

@keyframes pulse {
  0%   { box-shadow: 0 0 0 0 var(--gold); }
  70%  { box-shadow: 0 0 0 10px transparent; }
  100% { box-shadow: 0 0 0 0 transparent; }
}

.step { font-weight: 500; }

.state {
  color: var(--muted);
  font-size: 0.85rem;
  letter-spacing: 0.04em;
}
.done .state, .active .state { color: var(--gold); }

/* Contact */
.contact h2 {
  margin: 0 0 6px;
  font-family: var(--serif);
  font-weight: 500;
  font-size: 1.3rem;
}

.contact p {
  margin: 0 0 18px;
  color: var(--muted);
}

.button {
  display: inline-block;
  padding: 12px 22px;
  border: 1px solid var(--gold);
  border-radius: 999px;
  color: var(--text);
  text-decoration: none;
  font-weight: 500;
  letter-spacing: 0.02em;
  transition: background 0.2s, color 0.2s;
}
.button:hover, .button:focus-visible { background: var(--gold); color: var(--bg); }
.button:focus-visible { outline: 2px solid var(--gold); outline-offset: 3px; }

.foot {
  width: 100%;
  max-width: 720px;
  padding: 24px 0 32px;
  text-align: center;
  color: var(--muted);
  font-size: 0.85rem;
}
.foot p { margin: 0; }

@media (max-width: 480px) {
  .progress li { grid-template-columns: 20px 1fr; }
  .state { grid-column: 2; margin-top: -10px; }
}

@media (prefers-reduced-motion: reduce) {
  .backdrop, .card, .active .dot { animation: none; }
}
