:root {
  --bg: #0c2442;          /* matches the logo background, so the logo has no visible edge */
  --text: #e8eef7;
  --muted: #8fa3bf;
  --accent: #ffc928;      /* DUCK yellow */
  --accent-2: #f5873a;    /* DUCK orange */
  --on-accent: #0c2442;
}

* { box-sizing: border-box; }

html { color-scheme: dark; }

body {
  margin: 0;
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  background: var(--bg);
  color: var(--text);
  font: 18px/1.5 system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;
  -webkit-font-smoothing: antialiased;
}

main {
  flex: 1;
  width: 100%;
  max-width: 640px;
  margin: 0 auto;
  padding: 16px 16px 48px;
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
}

h1 { margin: 0; line-height: 0; }

.logo {
  width: min(100%, 560px);
  height: auto;
  /* soften the square edge in case JPEG shifts the background a shade */
  -webkit-mask-image: radial-gradient(closest-side, #000 88%, transparent 100%);
          mask-image: radial-gradient(closest-side, #000 88%, transparent 100%);
}

.clip {
  width: 100%;
  /* pull up into the logo's empty bottom padding */
  margin-top: max(-24px, -4vw);
  border-radius: 14px;
  box-shadow:
    0 0 0 1px rgb(143 200 255 / 0.18),
    0 18px 48px rgb(0 0 0 / 0.45);
  aspect-ratio: 16 / 9;
  object-fit: cover;
  background: #071a31;
}
.clip[hidden] { display: none; }

.what {
  margin: 24px 0 4px;
  font-size: 1.15rem;
  max-width: 30em;
}

.aside {
  margin: 0;
  color: var(--muted);
  font-size: 0.95rem;
}

.soon {
  margin: 32px 0 0;
  color: var(--accent);
  font-size: 0.8rem;
  font-weight: 700;
  letter-spacing: 0.18em;
  text-transform: uppercase;
}

.cta {
  margin-top: 12px;
  display: inline-block;
  padding: 14px 28px;
  border-radius: 999px;
  background: linear-gradient(180deg, var(--accent), var(--accent-2));
  color: var(--on-accent);
  font-weight: 700;
  font-size: 1.1rem;
  text-decoration: none;
  box-shadow: 0 6px 24px rgb(245 135 58 / 0.25);
  transition: box-shadow 0.12s ease;
}
.cta:hover { box-shadow: 0 10px 28px rgb(245 135 58 / 0.35); }
.cta:focus-visible { outline: 3px solid var(--text); outline-offset: 3px; }

.links {
  margin-top: 28px;
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 8px 24px;
}

a { color: var(--muted); }
.links a {
  display: inline-flex;
  align-items: center;
  gap: 8px;
}
.links svg { width: 20px; height: 20px; fill: currentColor; flex: none; }
.links a, footer a { text-decoration: none; }
.links a:hover, footer a:hover { color: var(--text); text-decoration: underline; }

footer {
  padding: 24px 16px 32px;
  text-align: center;
  font-size: 0.8rem;
  color: var(--muted);
}
footer span { margin: 0 8px; }

/* legal page */
.legal { text-align: left; align-items: stretch; max-width: 720px; }
.legal h1 { line-height: 1.2; font-size: 1.6rem; margin: 24px 0 8px; }
.legal h2 { font-size: 1.15rem; margin: 28px 0 4px; }
.legal p, .legal li { color: var(--text); font-size: 1rem; }
.legal a { color: var(--accent); }
.back { margin-top: 16px; font-size: 0.95rem; }
