:root {
  --bg: #f6f1e7;
  --surface: rgba(255, 255, 255, 0.78);
  --surface-strong: #fffdf8;
  --ink: #17261e;
  --muted: #5f6d63;
  --line: rgba(23, 38, 30, 0.12);
  --green: #216e39;
  --green-deep: #123d21;
  --gold: #ddb84d;
  --shadow: 0 20px 50px rgba(18, 37, 26, 0.12);
  --radius: 24px;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  color: var(--ink);
  background:
    radial-gradient(circle at top left, rgba(221, 184, 77, 0.28), transparent 26%),
    radial-gradient(circle at top right, rgba(33, 110, 57, 0.18), transparent 28%),
    linear-gradient(180deg, #f8f4eb 0%, var(--bg) 100%);
  font-family: "Avenir Next", "Trebuchet MS", sans-serif;
  line-height: 1.5;
}

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

.wrap {
  width: min(1120px, calc(100% - 2rem));
  margin: 0 auto;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 20;
  backdrop-filter: blur(16px);
  background: rgba(248, 244, 235, 0.8);
  border-bottom: 1px solid var(--line);
}

.header-bar,
.footer-bar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  padding: 1rem 0;
}

.brand {
  font-size: 1.2rem;
  font-weight: 800;
  letter-spacing: 0.04em;
  text-transform: uppercase;
}

.nav,
.footer-links {
  display: flex;
  align-items: center;
  gap: 1.1rem;
  flex-wrap: wrap;
}

.nav a,
.footer-links a {
  color: var(--muted);
}

.hero,
.section {
  padding: 5.5rem 0;
}

.hero-grid,
.split-grid {
  display: grid;
  gap: 2rem;
  align-items: center;
}

.hero-grid {
  grid-template-columns: 1.15fr 0.85fr;
}

.split-grid {
  grid-template-columns: 1fr 1fr;
}

.eyebrow {
  margin: 0 0 0.7rem;
  text-transform: uppercase;
  letter-spacing: 0.18em;
  font-size: 0.78rem;
  color: var(--green);
  font-weight: 800;
}

h1,
h2,
h3 {
  line-height: 1.05;
  margin: 0 0 1rem;
  font-family: Georgia, "Times New Roman", serif;
}

h1 {
  font-size: clamp(2.7rem, 6vw, 5rem);
  max-width: 11ch;
}

h2 {
  font-size: clamp(2rem, 4vw, 3.2rem);
  max-width: 14ch;
}

h3 {
  font-size: 1.35rem;
}

p {
  margin: 0 0 1rem;
}

.lead {
  font-size: 1.15rem;
  color: var(--muted);
  max-width: 38rem;
}

.lead.compact {
  max-width: 30rem;
}

.hero-actions {
  display: flex;
  gap: 1rem;
  flex-wrap: wrap;
  margin: 2rem 0 1rem;
}

.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 3.3rem;
  padding: 0.9rem 1.3rem;
  border-radius: 999px;
  font-weight: 700;
  transition: transform 180ms ease, box-shadow 180ms ease, background 180ms ease;
}

.button:hover,
.text-link:hover {
  transform: translateY(-1px);
}

.button-primary {
  color: white;
  background: linear-gradient(135deg, var(--green) 0%, var(--green-deep) 100%);
  box-shadow: 0 14px 30px rgba(18, 61, 33, 0.25);
}

.button-secondary {
  color: var(--green-deep);
  border: 1px solid rgba(18, 61, 33, 0.18);
  background: rgba(255, 255, 255, 0.72);
}

.footnote,
.small-note,
.policy-meta {
  color: var(--muted);
  font-size: 0.95rem;
}

.hero-card,
.card,
.policy-card {
  background: var(--surface);
  border: 1px solid rgba(255, 255, 255, 0.65);
  box-shadow: var(--shadow);
}

.hero-card {
  padding: 1.4rem;
  border-radius: 36px;
}

.phone-shell {
  width: min(100%, 360px);
  margin: 0 auto;
  padding: 0.9rem;
  border-radius: 38px;
  background: linear-gradient(180deg, #11381f 0%, #0b2314 100%);
}

.phone-screen {
  padding: 1rem;
  border-radius: 28px;
  background:
    linear-gradient(180deg, rgba(255,255,255,0.08), rgba(255,255,255,0)),
    linear-gradient(180deg, #1f6a34 0%, #184e28 100%);
  color: white;
}

.mini-top,
.mini-panel,
.row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 0.5rem;
}

.mini-top {
  font-size: 0.82rem;
  margin-bottom: 1rem;
  opacity: 0.92;
}

.mini-field {
  padding: 1rem 0.7rem;
  border-radius: 24px;
  border: 2px solid rgba(255, 255, 255, 0.6);
  min-height: 360px;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: space-between;
  background: rgba(255, 255, 255, 0.04);
}

.player-badge {
  padding: 0.45rem 0.8rem;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.15);
  font-size: 0.82rem;
  font-weight: 700;
}

.player-badge.top,
.player-badge.goalie {
  background: rgba(221, 184, 77, 0.2);
}

.row {
  width: 100%;
}

.row.midfield {
  justify-content: space-around;
}

.row.defense {
  justify-content: center;
  gap: 3rem;
}

.mini-panel {
  margin-top: 0.8rem;
  padding: 0.8rem 0.95rem;
  border-radius: 18px;
  background: rgba(255, 255, 255, 0.11);
  font-size: 0.88rem;
}

.section-heading {
  margin-bottom: 2rem;
}

.feature-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 1.25rem;
}

.card,
.policy-card {
  padding: 1.5rem;
  border-radius: var(--radius);
}

.card p,
.policy-card p,
.policy-card li {
  color: var(--muted);
}

.card.tall {
  min-height: 100%;
}

.policy-card ul {
  margin: 0;
  padding-left: 1.2rem;
}

.support-form {
  display: grid;
  gap: 1rem;
  margin: 1.5rem 0;
}

.form-field {
  display: grid;
  gap: 0.45rem;
}

.form-field span {
  font-weight: 700;
  color: var(--ink);
}

.form-field input,
.form-field select,
.form-field textarea {
  width: 100%;
  border: 1px solid rgba(23, 38, 30, 0.16);
  border-radius: 16px;
  padding: 0.9rem 1rem;
  font: inherit;
  color: var(--ink);
  background: rgba(255, 255, 255, 0.82);
}

.form-field textarea {
  resize: vertical;
  min-height: 180px;
}

.form-field input:focus,
.form-field select:focus,
.form-field textarea:focus {
  outline: 2px solid rgba(33, 110, 57, 0.2);
  border-color: rgba(33, 110, 57, 0.4);
}

.policy-card li {
  margin-bottom: 0.7rem;
}

.text-link {
  color: var(--green);
  font-weight: 700;
}

.site-footer {
  border-top: 1px solid var(--line);
  padding-bottom: 1rem;
}

.policy-wrap {
  max-width: 860px;
}

.policy-page h1 {
  max-width: none;
  font-size: clamp(2.4rem, 4vw, 3.8rem);
}

.policy-card h2 {
  font-size: 1.45rem;
  margin-top: 2rem;
  max-width: none;
}

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

  .hero,
  .section {
    padding: 4rem 0;
  }
}

@media (max-width: 720px) {
  .header-bar,
  .footer-bar {
    align-items: flex-start;
    flex-direction: column;
  }

  .nav,
  .footer-links,
  .hero-actions {
    width: 100%;
  }

  .nav a,
  .footer-links a {
    padding-right: 0.75rem;
  }

  .button {
    width: 100%;
  }

  .phone-shell {
    width: 100%;
  }
}
