:root {
  color-scheme: light;
  --bg: #f7f1e8;
  --bg-2: #efe4d4;
  --ink: #141311;
  --muted: #5a5247;
  --accent: #ff5c2a;
  --accent-2: #1f8a70;
  --card: #fff7ed;
  --border: #e2d6c4;
  --shadow: 0 24px 60px rgba(20, 19, 17, 0.12);
  --radius: 18px;
  --radius-sm: 12px;
  --max-width: 1100px;
}

* {
  box-sizing: border-box;
}

body {
  margin: 0;
  font-family: "Space Grotesk", "Helvetica Neue", Arial, sans-serif;
  color: var(--ink);
  background: radial-gradient(circle at top left, #fff7ec 0%, #f4e7d7 45%, #efe0cc 100%);
  min-height: 100vh;
  overflow-x: hidden;
}

body::before,
body::after {
  content: "";
  position: fixed;
  width: 55vw;
  height: 55vw;
  border-radius: 50%;
  z-index: -1;
  filter: blur(0px);
  opacity: 0.5;
}

body::before {
  top: -20vw;
  right: -10vw;
  background: radial-gradient(circle, rgba(255, 92, 42, 0.25), transparent 70%);
}

body::after {
  bottom: -25vw;
  left: -20vw;
  background: radial-gradient(circle, rgba(31, 138, 112, 0.2), transparent 70%);
}

a {
  color: inherit;
  text-decoration: none;
}

.page {
  max-width: var(--max-width);
  margin: 0 auto;
  padding: 32px 24px 80px;
}

.site-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  margin-bottom: 40px;
}

.logo {
  font-size: 1.3rem;
  font-weight: 700;
  letter-spacing: 0.02em;
}

.nav {
  display: flex;
  align-items: center;
  gap: 18px;
  font-size: 0.95rem;
}

.nav a {
  opacity: 0.75;
  transition: opacity 0.2s ease;
}

.nav a:hover {
  opacity: 1;
}

.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 12px 18px;
  border-radius: 999px;
  border: 1px solid var(--border);
  background: transparent;
  font-weight: 600;
  transition: transform 0.2s ease, box-shadow 0.2s ease, background 0.2s ease;
}

.button:hover {
  transform: translateY(-1px);
  box-shadow: 0 8px 24px rgba(20, 19, 17, 0.12);
}

.button.primary {
  background: var(--accent);
  color: white;
  border-color: transparent;
}

.button.ghost {
  background: white;
}

.hero {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 32px;
  align-items: center;
  margin-bottom: 80px;
}

.eyebrow {
  text-transform: uppercase;
  letter-spacing: 0.2em;
  font-size: 0.75rem;
  color: var(--accent-2);
  font-weight: 600;
  margin: 0 0 12px;
}

.hero h1 {
  font-size: clamp(2.4rem, 4vw, 3.6rem);
  margin: 0 0 16px;
}

.lead {
  font-size: 1.1rem;
  color: var(--muted);
  margin: 0 0 24px;
  max-width: 520px;
}

.cta-row {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-bottom: 28px;
}

.meta {
  display: grid;
  gap: 12px;
  color: var(--muted);
  font-size: 0.95rem;
}

.meta-label {
  display: block;
  font-weight: 600;
  color: var(--ink);
}

.hero-panel {
  background: var(--card);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 24px;
  box-shadow: var(--shadow);
  position: relative;
  overflow: hidden;
}

.hero-panel::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(130deg, rgba(255, 92, 42, 0.12), transparent 55%);
  pointer-events: none;
}

.panel-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  font-weight: 600;
  margin-bottom: 18px;
}

.pill {
  background: rgba(31, 138, 112, 0.12);
  color: var(--accent-2);
  border-radius: 999px;
  padding: 4px 10px;
  font-size: 0.75rem;
}

.fixture {
  display: grid;
  grid-template-columns: 1fr auto auto 1fr;
  gap: 12px;
  padding: 10px 0;
  border-bottom: 1px dashed var(--border);
  font-size: 0.95rem;
}

.fixture:last-of-type {
  border-bottom: none;
}

.score {
  font-weight: 700;
  color: var(--ink);
}

.panel-footer {
  margin-top: 18px;
  font-size: 0.9rem;
  color: var(--muted);
}

.section {
  margin-bottom: 70px;
}

.section h2 {
  font-size: clamp(1.6rem, 2.4vw, 2.2rem);
  margin-bottom: 12px;
}

.section p {
  color: var(--muted);
  max-width: 620px;
}

.card-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 18px;
  margin-top: 26px;
}

.card {
  background: white;
  border-radius: var(--radius-sm);
  border: 1px solid var(--border);
  padding: 18px;
  min-height: 160px;
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.card strong {
  font-size: 1.05rem;
}

.footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  font-size: 0.9rem;
  color: var(--muted);
  padding-top: 24px;
  border-top: 1px solid var(--border);
}

.login-shell {
  max-width: 460px;
  margin: 0 auto;
  background: white;
  border-radius: var(--radius);
  border: 1px solid var(--border);
  padding: 32px;
  box-shadow: var(--shadow);
}

.login-shell h1 {
  margin: 0 0 8px;
}

.section-title {
  font-size: 1.2rem;
  margin: 0 0 6px;
}

.form {
  display: grid;
  gap: 16px;
  margin-top: 20px;
}

.field {
  display: grid;
  gap: 8px;
  font-size: 0.95rem;
}

input {
  padding: 12px 14px;
  border-radius: 12px;
  border: 1px solid var(--border);
  font-size: 1rem;
  font-family: inherit;
}

.status {
  min-height: 24px;
  font-size: 0.9rem;
  color: var(--muted);
}

.divider {
  height: 1px;
  background: var(--border);
  margin: 28px 0;
}

.reveal {
  opacity: 0;
  transform: translateY(14px);
  transition: opacity 0.6s ease, transform 0.6s ease;
  transition-delay: var(--delay, 0s);
}

body.is-ready .reveal {
  opacity: 1;
  transform: translateY(0);
}

@media (max-width: 760px) {
  .site-header {
    flex-direction: column;
    align-items: flex-start;
  }

  .nav {
    flex-wrap: wrap;
    justify-content: flex-start;
  }

  .footer {
    flex-direction: column;
    align-items: flex-start;
  }
}

@media (prefers-reduced-motion: reduce) {
  .reveal,
  .button {
    transition: none;
  }
}
