/* Great Seed Sports landing page. Colours and type follow docs/design-system.md. */

:root {
  --primary: #060640;
  --brand: #43439c;
  --brand-soft: #e6e7fb;
  --accent: #c9f03c;
  --background: #f7f7fb;
  --surface: #ffffff;
  --text: #0a0a2e;
  --text-secondary: #5b5b76;
  --text-tertiary: #7b7b92;
  --border: #e4e4ee;
  --success: #1f9d55;
  --radius-md: 12px;
  --radius-lg: 20px;
  --radius-xl: 28px;
  --shadow-md: 0 12px 32px rgba(6, 6, 64, 0.12);
  --shadow-lg: 0 24px 60px rgba(6, 6, 64, 0.18);
  --gutter: 24px;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
  scroll-padding-top: 80px;
}

body {
  margin: 0;
  font-family: 'Plus Jakarta Sans', system-ui, -apple-system, 'Segoe UI', sans-serif;
  font-size: 16px;
  line-height: 1.55;
  color: var(--text);
  background: var(--background);
  -webkit-font-smoothing: antialiased;
}

img {
  display: block;
  max-width: 100%;
}

a {
  color: inherit;
}

h1,
h2,
h3 {
  margin: 0;
  letter-spacing: -0.02em;
}

h1 {
  font-size: clamp(2.6rem, 6vw, 4.4rem);
  line-height: 1.02;
  font-weight: 800;
  max-width: 11ch;
}

h2 {
  font-size: clamp(2rem, 4vw, 2.9rem);
  line-height: 1.08;
  font-weight: 800;
  max-width: 18ch;
}

h3 {
  font-size: 1.2rem;
  line-height: 1.3;
  font-weight: 700;
}

p {
  margin: 0;
}

.wrap {
  width: 100%;
  max-width: 1160px;
  margin: 0 auto;
  padding: 0 var(--gutter);
}

.eyebrow {
  margin-bottom: 14px;
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--brand);
}

.eyebrow-light {
  color: var(--accent);
}

.lead {
  margin-top: 18px;
  font-size: 1.12rem;
  font-weight: 500;
  color: var(--text-secondary);
  max-width: 46ch;
}

.narrow {
  max-width: 52ch;
}

.mark {
  background: linear-gradient(transparent 62%, var(--accent) 62%, var(--accent) 92%, transparent 92%);
}

/* Buttons: full pills, navy primary, glass secondary, volt for the one featured plan. */

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 56px;
  padding: 0 28px;
  border: 0;
  border-radius: 999px;
  font: inherit;
  font-weight: 600;
  text-decoration: none;
  cursor: pointer;
  transition: transform 0.15s ease, box-shadow 0.15s ease, background 0.15s ease;
}

.btn:hover {
  transform: translateY(-1px);
}

.btn:focus-visible,
.nav a:focus-visible,
summary:focus-visible,
.menu-button:focus-visible {
  outline: 3px solid var(--brand);
  outline-offset: 3px;
}

.btn-sm {
  min-height: 44px;
  padding: 0 20px;
  font-size: 0.95rem;
}

.btn-primary {
  color: #fff;
  background: var(--primary);
  box-shadow: 0 8px 20px rgba(6, 6, 64, 0.22);
}

.btn-secondary {
  color: var(--primary);
  background: rgba(255, 255, 255, 0.62);
  border: 1px solid rgba(6, 6, 64, 0.12);
}

.btn-accent {
  color: var(--primary);
  background: var(--accent);
}

/* Navigation */

.nav {
  position: sticky;
  top: 0;
  z-index: 10;
  background: rgba(247, 247, 251, 0.82);
  backdrop-filter: saturate(160%) blur(14px);
  -webkit-backdrop-filter: saturate(160%) blur(14px);
  border-bottom: 1px solid rgba(6, 6, 64, 0.06);
}

.nav-inner {
  display: flex;
  align-items: center;
  gap: 24px;
  height: 72px;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-weight: 800;
  text-decoration: none;
  letter-spacing: -0.01em;
}

.nav-links {
  display: flex;
  gap: 28px;
  margin-left: auto;
}

.nav-links a {
  font-size: 0.95rem;
  font-weight: 600;
  color: var(--text-secondary);
  text-decoration: none;
}

.nav-links a:hover {
  color: var(--primary);
}

.menu-button {
  display: none;
  width: 44px;
  height: 44px;
  margin-left: auto;
  padding: 0;
  border: 0;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.7);
  cursor: pointer;
}

.menu-button span {
  display: block;
  width: 18px;
  height: 2px;
  margin: 5px auto;
  background: var(--primary);
  border-radius: 2px;
}

.mobile-menu {
  display: grid;
  gap: 4px;
  padding: 8px var(--gutter) 20px;
}

.mobile-menu[hidden] {
  display: none;
}

.mobile-menu a:not(.btn) {
  padding: 12px 0;
  font-weight: 600;
  text-decoration: none;
  border-bottom: 1px solid var(--border);
}

.mobile-menu .btn {
  margin-top: 12px;
}

/* Hero: the indigo wash fading into the page, as on the app's first screens. */

.hero {
  background: linear-gradient(180deg, #d9d6f7 0%, #ebe9fb 45%, var(--background) 100%);
  padding: 56px 0 88px;
  overflow: hidden;
}

.hero-inner {
  display: grid;
  grid-template-columns: 1.05fr 1fr;
  align-items: center;
  gap: 48px;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 32px;
}

.hero-points {
  display: flex;
  flex-wrap: wrap;
  gap: 8px 24px;
  margin: 28px 0 0;
  padding: 0;
  list-style: none;
  font-size: 0.92rem;
  font-weight: 600;
  color: var(--text-secondary);
}

.hero-points li::before {
  content: '✓';
  margin-right: 8px;
  color: var(--brand);
}

.hero-art {
  position: relative;
  min-height: 560px;
}

.photo {
  overflow: hidden;
  border: 4px solid rgba(255, 255, 255, 0.92);
  box-shadow: var(--shadow-lg);
  background: var(--brand-soft);
}

.photo img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.photo-main {
  position: absolute;
  top: 0;
  right: 40px;
  width: 64%;
  aspect-ratio: 3 / 4;
  border-radius: 180px 180px var(--radius-xl) var(--radius-xl);
}

.photo-inset {
  position: absolute;
  bottom: 10px;
  right: 0;
  width: 34%;
  aspect-ratio: 1;
  border-radius: 50%;
}

.profile-card {
  position: absolute;
  left: 0;
  bottom: 56px;
  width: 270px;
  padding: 18px;
  border-radius: var(--radius-lg);
  background: var(--surface);
  box-shadow: var(--shadow-md);
}

.profile-top {
  display: flex;
  align-items: center;
  gap: 12px;
}

.profile-top strong {
  display: block;
  font-size: 1rem;
}

.profile-top span {
  font-size: 0.82rem;
  color: var(--text-secondary);
}

.avatar {
  display: grid;
  place-items: center;
  width: 44px;
  height: 44px;
  border-radius: 50%;
  font-weight: 700;
  color: var(--brand);
  background: var(--brand-soft);
}

.profile-stats {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 8px;
  margin: 16px 0 12px;
}

.profile-stats div {
  padding: 10px 6px;
  text-align: center;
  border-radius: var(--radius-md);
  background: var(--background);
}

.profile-stats b {
  display: block;
  font-size: 1.35rem;
  line-height: 1.1;
}

.profile-stats span {
  font-size: 0.72rem;
  color: var(--text-tertiary);
}

.verified {
  display: inline-block;
  padding: 4px 10px;
  border-radius: 999px;
  font-size: 0.78rem;
  font-weight: 600;
  color: var(--success);
  background: #e3f5ea;
}

.sticker {
  position: absolute;
  top: 36px;
  left: 6%;
  padding: 10px 16px;
  border: 4px solid rgba(255, 255, 255, 0.92);
  border-radius: 999px;
  font-weight: 800;
  color: var(--primary);
  background: var(--accent);
  box-shadow: var(--shadow-md);
  transform: rotate(-6deg);
}

/* Sections */

.section {
  padding: 96px 0;
}

.tinted {
  background: var(--brand-soft);
}

.steps {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 20px;
  margin: 48px 0 0;
  padding: 0;
  list-style: none;
}

.steps li {
  padding: 28px 24px;
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  background: var(--surface);
}

.steps p,
.role p {
  margin-top: 8px;
  color: var(--text-secondary);
}

.step-number {
  display: grid;
  place-items: center;
  width: 40px;
  height: 40px;
  margin-bottom: 20px;
  border-radius: 50%;
  font-weight: 800;
  color: #fff;
  background: var(--primary);
}

.steps li:first-child .step-number {
  color: var(--primary);
  background: var(--accent);
}

.split-inner {
  display: grid;
  grid-template-columns: 0.9fr 1.1fr;
  align-items: center;
  gap: 64px;
}

.photo-tall {
  aspect-ratio: 4 / 5;
  border-radius: var(--radius-xl) 200px var(--radius-xl) var(--radius-xl);
}

.checks {
  display: grid;
  gap: 16px;
  margin: 32px 0 0;
  padding: 0;
  list-style: none;
}

.checks li {
  position: relative;
  padding-left: 40px;
  color: var(--text-secondary);
}

.checks li::before {
  content: '✓';
  position: absolute;
  left: 0;
  top: 0;
  display: grid;
  place-items: center;
  width: 26px;
  height: 26px;
  border-radius: 50%;
  font-size: 0.85rem;
  font-weight: 800;
  color: var(--primary);
  background: var(--accent);
}

.checks strong {
  color: var(--text);
}

.roles {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
  margin-top: 48px;
}

.role {
  padding: 28px;
  border-radius: var(--radius-lg);
  background: var(--surface);
}

.role-icon {
  display: grid;
  place-items: center;
  width: 52px;
  height: 52px;
  margin-bottom: 18px;
  border-radius: 50%;
  font-size: 1.5rem;
  background: var(--brand-soft);
}

/* Pricing */

.plans {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
  margin-top: 48px;
  align-items: stretch;
}

.plan {
  position: relative;
  display: flex;
  flex-direction: column;
  padding: 32px 28px;
  border: 1px solid var(--border);
  border-radius: var(--radius-xl);
  background: var(--surface);
}

.plan ul {
  flex: 1;
  display: grid;
  gap: 10px;
  align-content: start;
  margin: 24px 0 28px;
  padding: 0;
  list-style: none;
  color: var(--text-secondary);
}

.plan li::before {
  content: '✓';
  margin-right: 10px;
  font-weight: 800;
  color: var(--brand);
}

.price {
  margin-top: 12px;
}

.price b {
  font-size: 3rem;
  font-weight: 800;
  letter-spacing: -0.03em;
}

.price span {
  margin-left: 6px;
  color: var(--text-tertiary);
}

.plan-featured {
  color: #fff;
  background: var(--primary);
  border-color: var(--primary);
  box-shadow: var(--shadow-lg);
}

.plan-featured ul,
.plan-featured .price span {
  color: rgba(255, 255, 255, 0.7);
}

.plan-featured li::before {
  color: var(--accent);
}

.plan-tag {
  position: absolute;
  top: 28px;
  right: 24px;
  padding: 4px 12px;
  border-radius: 999px;
  font-size: 0.78rem;
  font-weight: 700;
  color: var(--primary);
  background: var(--accent);
}

.plans-note {
  margin-top: 24px;
  text-align: center;
  font-weight: 600;
  color: var(--text-secondary);
}

/* Invite & earn */

.invite {
  color: #fff;
  background: var(--primary);
}

.invite .lead {
  color: rgba(255, 255, 255, 0.72);
  max-width: 54ch;
}

.invite-inner {
  display: grid;
  grid-template-columns: 1.4fr 1fr;
  align-items: center;
  gap: 48px;
}

.invite-code {
  justify-self: center;
  padding: 32px 44px;
  border: 2px dashed rgba(255, 255, 255, 0.3);
  border-radius: var(--radius-xl);
  text-align: center;
  transform: rotate(3deg);
}

.invite-code span {
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: rgba(255, 255, 255, 0.7);
}

.invite-code b {
  display: block;
  margin-top: 6px;
  font-size: clamp(2.4rem, 5vw, 3.4rem);
  letter-spacing: 0.08em;
  color: var(--accent);
}

/* FAQ */

.faq-wrap {
  display: grid;
  grid-template-columns: 0.8fr 1.2fr;
  gap: 48px;
  align-items: start;
}

.faq {
  display: grid;
  gap: 12px;
}

.faq details {
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  background: var(--surface);
}

.faq summary {
  position: relative;
  padding: 20px 56px 20px 24px;
  font-weight: 700;
  list-style: none;
  cursor: pointer;
}

.faq summary::-webkit-details-marker {
  display: none;
}

.faq summary::after {
  content: '+';
  position: absolute;
  right: 22px;
  top: 50%;
  transform: translateY(-50%);
  display: grid;
  place-items: center;
  width: 28px;
  height: 28px;
  border-radius: 50%;
  font-size: 1.2rem;
  color: var(--brand);
  background: var(--brand-soft);
}

.faq details[open] summary::after {
  content: '–';
}

.faq details p {
  padding: 0 24px 22px;
  color: var(--text-secondary);
}

/* Closing call to action */

.cta {
  padding-top: 24px;
}

.cta-inner {
  display: grid;
  grid-template-columns: 280px 1fr;
  align-items: center;
  gap: 56px;
  padding: 48px;
  border-radius: 40px;
  background: linear-gradient(135deg, #d9d6f7, var(--brand-soft));
}

.cta .btn {
  margin-top: 28px;
}

.photo-cta {
  aspect-ratio: 1;
  border-radius: 50%;
}

/* Footer */

.footer {
  padding: 40px 0;
  border-top: 1px solid var(--border);
  font-size: 0.92rem;
  color: var(--text-secondary);
}

.footer-inner {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 16px 32px;
}

.footer nav {
  display: flex;
  gap: 24px;
  margin-left: auto;
}

.footer nav a {
  text-decoration: none;
}

.footer .brand {
  color: var(--text);
}

/* Tablet */

@media (max-width: 960px) {
  .hero-inner,
  .split-inner,
  .invite-inner,
  .faq-wrap {
    grid-template-columns: 1fr;
  }

  .hero-art {
    min-height: 520px;
    max-width: 520px;
    width: 100%;
    margin: 0 auto;
  }

  .steps {
    grid-template-columns: repeat(2, 1fr);
  }

  .roles,
  .plans {
    grid-template-columns: repeat(2, 1fr);
  }

  .split-art {
    max-width: 420px;
  }

  .invite-code {
    justify-self: start;
  }
}

/* Phone */

@media (max-width: 720px) {
  :root {
    --gutter: 16px;
  }

  .nav-links,
  .nav-inner > .btn {
    display: none;
  }

  .menu-button {
    display: block;
  }

  .hero {
    padding: 32px 0 64px;
  }

  .hero-actions .btn {
    width: 100%;
  }

  .hero-art {
    min-height: 440px;
  }

  .photo-main {
    right: 0;
    width: 72%;
  }

  .profile-card {
    width: 230px;
    bottom: 24px;
    padding: 14px;
  }

  .sticker {
    top: 16px;
    left: 0;
    font-size: 0.9rem;
  }

  .section {
    padding: 72px 0;
  }

  .steps,
  .roles,
  .plans {
    grid-template-columns: 1fr;
  }

  .cta-inner {
    grid-template-columns: 1fr;
    gap: 28px;
    padding: 28px;
    border-radius: var(--radius-xl);
  }

  .photo-cta {
    width: 180px;
  }

  .cta .btn {
    width: 100%;
  }

  .footer nav {
    margin-left: 0;
  }
}

@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }

  .btn {
    transition: none;
  }
}

.not-found {
  min-height: 100vh;
  padding-top: 18vh;
}
