/* ============================================================
   SPORTIFYR — Utility Pages (invite, support)
   Matches the main marketing site brand: dark navy, Inter, lime.
   ============================================================ */

:root {
  color-scheme: dark;
  --navy-950: #060B18;
  --navy-900: #0A0F1E;
  --navy-800: #111827;
  --lime: #C8FF3E;
  --lime-hover: #D4FF6A;
  --lime-border: rgba(200, 255, 62, 0.22);
  --neutral-300: #C8CDD6;
  --neutral-400: #9AA0AC;
  --neutral-450: #8E97A4;
  --white: #FFFFFF;
  --card-border: rgba(255, 255, 255, 0.07);
  --font-body: 'Inter', system-ui, -apple-system, 'Segoe UI', sans-serif;
  --transition: all 0.2s cubic-bezier(0.4, 0, 0.2, 1);
}

*, *::before, *::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

body {
  min-height: 100vh;
  background: var(--navy-950);
  color: var(--neutral-300);
  font-family: var(--font-body);
  font-size: 16px;
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
}

a {
  color: var(--lime);
  text-decoration: none;
}

a:hover {
  color: var(--lime-hover);
  text-decoration: underline;
}

:focus-visible {
  outline: 2px solid var(--lime);
  outline-offset: 3px;
}

.shell,
.invite-shell {
  width: min(calc(100% - 40px), 720px);
  margin: 0 auto;
}

.page {
  padding: 56px 0 72px;
}

/* ---- Headings & copy ---- */
h1 {
  font-size: clamp(28px, 5vw, 40px);
  font-weight: 700;
  letter-spacing: -0.02em;
  line-height: 1.15;
  color: var(--white);
  margin: 8px 0 14px;
}

h2 {
  font-size: 19px;
  font-weight: 600;
  color: var(--white);
  margin: 0 0 10px;
}

.eyebrow,
.hero-kicker {
  display: inline-block;
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 1.4px;
  text-transform: uppercase;
  color: var(--lime);
}

.lede {
  font-size: 17px;
  color: var(--neutral-400);
  margin-bottom: 24px;
}

.small {
  font-size: 13px;
  color: var(--neutral-450);
}

ul {
  padding-left: 20px;
  margin: 0 0 16px;
}

li {
  margin-bottom: 6px;
}

p {
  margin-bottom: 12px;
}

/* ---- Cards ---- */
.hero-card,
.page-card,
.invite-panel {
  background: var(--navy-900);
  border: 1px solid var(--card-border);
  border-radius: 20px;
  padding: 36px 32px;
}

.page-card {
  margin-top: 20px;
}

.section-break {
  height: 1px;
  background: var(--card-border);
  margin: 26px 0;
}

/* ---- Nav ---- */
.nav {
  display: flex;
  flex-wrap: wrap;
  gap: 6px 18px;
  margin-top: 24px;
  padding-top: 20px;
  border-top: 1px solid var(--card-border);
}

.nav a {
  font-size: 13px;
  font-weight: 500;
  color: var(--neutral-400);
}

.nav a:hover,
.nav a.active {
  color: var(--white);
  text-decoration: none;
}

/* ---- Invite page ---- */
.invite-page .invite-shell {
  display: flex;
  align-items: center;
  min-height: 100vh;
}

.invite-panel {
  width: 100%;
}

.invite-mark {
  width: 52px;
  height: 52px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 14px;
  background: var(--lime);
  color: var(--navy-950);
  font-size: 26px;
  font-weight: 800;
  margin-bottom: 22px;
}

.invite-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin: 22px 0 14px;
}

.cta {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-size: 15px;
  font-weight: 600;
  border-radius: 9999px;
  padding: 12px 26px;
  transition: var(--transition);
  text-decoration: none;
}

.cta:hover {
  text-decoration: none;
}

.cta-primary {
  background: var(--lime);
  color: var(--navy-950);
}

.cta-primary:hover {
  background: var(--lime-hover);
  color: var(--navy-950);
  box-shadow: 0 0 28px rgba(200, 255, 62, 0.30);
}

.cta-secondary {
  background: transparent;
  color: var(--white);
  border: 1px solid rgba(255, 255, 255, 0.18);
}

.cta-secondary:hover {
  color: var(--white);
  border-color: rgba(255, 255, 255, 0.4);
}

.invite-note {
  font-size: 13px;
  color: var(--neutral-450);
}

/* ---- Footer ---- */
.footer {
  padding: 28px 0 48px;
  font-size: 13px;
  color: var(--neutral-450);
  text-align: center;
}

.footer p {
  margin-bottom: 4px;
}

@media (max-width: 540px) {
  .hero-card,
  .page-card,
  .invite-panel {
    padding: 28px 20px;
  }

  .invite-actions .cta {
    width: 100%;
  }
}
