:root {
  --bg: #f7f9fc;
  --surface: #ffffff;
  --text: #1c2733;
  --muted: #546270;
  --brand: #1f4e8c;
  --brand-hover: #173d6e;
  --on-brand: #ffffff;
  --accent: #f4b731;
  --border: #dde4ee;
}

@media (prefers-color-scheme: dark) {
  :root {
    --bg: #10161e;
    --surface: #18212c;
    --text: #e6edf5;
    --muted: #a5b3c2;
    --brand: #6ea2e6;
    --brand-hover: #8db8f0;
    --on-brand: #0d1520;
    --border: #2a3644;
  }
}

* { box-sizing: border-box; }

html, body { margin: 0; }

body {
  background: var(--bg);
  color: var(--text);
  font-family: system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;
  line-height: 1.5;
  min-height: 100vh;
  display: flex;
  flex-direction: column;
}

main { flex: 1; }

.topbar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  max-width: 1080px;
  margin: 0 auto;
  width: 100%;
  padding: 16px;
}

.brand {
  display: flex;
  align-items: center;
  gap: 10px;
  color: var(--text);
  font-weight: 700;
  font-size: 1.2rem;
  text-decoration: none;
}

.topbar-signin {
  color: var(--brand);
  font-weight: 600;
  text-decoration: none;
}
.topbar-signin:hover { text-decoration: underline; }

.banner {
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  align-items: center;
  gap: 32px;
  max-width: 1080px;
  margin: 24px auto 0;
  padding: 40px 16px;
}

.eyebrow {
  margin: 0 0 8px;
  color: var(--brand);
  font-weight: 700;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  font-size: 0.85rem;
}

h1 {
  margin: 0 0 16px;
  font-size: clamp(2rem, 4.5vw, 3rem);
  line-height: 1.15;
  text-wrap: balance;
}

.lede {
  margin: 0;
  color: var(--muted);
  font-size: 1.15rem;
  max-width: 34em;
}

.banner-art { width: 100%; height: auto; }

.signin {
  max-width: 520px;
  margin: 24px auto 48px;
  padding: 32px 24px;
  text-align: center;
  background: var(--surface);
  border: 1px solid var(--border);
  border-top: 4px solid var(--accent);
  border-radius: 12px;
}

.signin h2 { margin: 0 0 8px; font-size: 1.4rem; }
.signin p { margin: 0 0 20px; color: var(--muted); }

.button {
  display: inline-block;
  padding: 12px 36px;
  background: var(--brand);
  color: var(--on-brand);
  border-radius: 8px;
  font-weight: 700;
  font-size: 1.05rem;
  text-decoration: none;
}
.button:hover { background: var(--brand-hover); }

a:focus-visible {
  outline: 3px solid var(--accent);
  outline-offset: 3px;
}

.footer {
  padding: 24px 16px;
  text-align: center;
  color: var(--muted);
  font-size: 0.9rem;
}
.footer p { margin: 0; }

@media (max-width: 720px) {
  .banner {
    grid-template-columns: 1fr;
    text-align: center;
    padding-top: 16px;
    margin-top: 0;
  }
  .lede { margin: 0 auto; }
  .banner-art { max-width: 320px; margin: 0 auto; }
  .signin { margin-left: 16px; margin-right: 16px; }
}
