:root {
  color-scheme: light;
  --ink: #111827;
  --muted: #5b6472;
  --line: #d9dee7;
  --surface: #ffffff;
  --soft: #f5f7fb;
  --navy: #111b4e;
  --blue: #273ccf;
  --teal: #0f8d7b;
  --amber: #f59e0b;
  --gray: #667085;
  --shadow: 0 24px 70px rgba(17, 24, 39, 0.14);
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  font-family:
    Inter,
    ui-sans-serif,
    system-ui,
    -apple-system,
    BlinkMacSystemFont,
    "Segoe UI",
    sans-serif;
  color: var(--ink);
  background: var(--surface);
  letter-spacing: 0;
}

a {
  color: inherit;
}

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

.site-header {
  position: sticky;
  top: 0;
  z-index: 10;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  min-height: 76px;
  padding: 14px clamp(18px, 5vw, 64px);
  background: rgba(255, 255, 255, 0.94);
  border-bottom: 1px solid rgba(217, 222, 231, 0.9);
  backdrop-filter: blur(18px);
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  min-width: 0;
  color: var(--ink);
  text-decoration: none;
}

.brand__icon {
  width: 44px;
  height: 44px;
  border-radius: 10px;
  box-shadow: 0 10px 24px rgba(17, 27, 78, 0.18);
}

.brand span {
  display: grid;
  gap: 2px;
  min-width: 0;
}

.brand strong {
  overflow: hidden;
  font-size: 0.98rem;
  line-height: 1.2;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.brand small {
  color: var(--muted);
  font-size: 0.78rem;
}

.nav {
  display: flex;
  align-items: center;
  gap: 8px;
  flex-wrap: wrap;
  justify-content: flex-end;
}

.nav a {
  min-height: 38px;
  display: inline-flex;
  align-items: center;
  border-radius: 8px;
  padding: 8px 12px;
  color: var(--muted);
  font-weight: 700;
  text-decoration: none;
}

.nav a:hover,
.nav a[aria-current="page"] {
  color: var(--navy);
  background: #eef2ff;
}

main {
  overflow: hidden;
}

.hero {
  display: grid;
  grid-template-columns: minmax(0, 1.15fr) minmax(280px, 0.85fr);
  gap: clamp(28px, 5vw, 72px);
  align-items: center;
  padding: clamp(48px, 8vw, 94px) clamp(18px, 5vw, 64px);
  background:
    linear-gradient(135deg, rgba(17, 27, 78, 0.96), rgba(39, 60, 207, 0.9)),
    var(--navy);
  color: #ffffff;
}

.hero__content {
  max-width: 760px;
}

.eyebrow {
  margin: 0 0 12px;
  color: var(--teal);
  font-size: 0.78rem;
  font-weight: 900;
  letter-spacing: 0.14em;
  text-transform: uppercase;
}

.hero .eyebrow {
  color: #9af0df;
}

h1,
h2,
h3,
p {
  margin-top: 0;
}

h1 {
  margin-bottom: 18px;
  max-width: 820px;
  font-size: clamp(2.2rem, 7vw, 5.1rem);
  line-height: 0.98;
  letter-spacing: 0;
}

h2 {
  margin-bottom: 12px;
  font-size: clamp(1.7rem, 4vw, 2.7rem);
  line-height: 1.05;
  letter-spacing: 0;
}

h3 {
  margin-bottom: 10px;
  font-size: 1.12rem;
  line-height: 1.25;
}

p {
  color: var(--muted);
  line-height: 1.65;
}

.hero__lead {
  max-width: 680px;
  color: rgba(255, 255, 255, 0.84);
  font-size: clamp(1.04rem, 2vw, 1.24rem);
}

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

.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 46px;
  border: 1px solid transparent;
  border-radius: 8px;
  padding: 12px 18px;
  font-weight: 850;
  line-height: 1.1;
  text-align: center;
  text-decoration: none;
}

.button--primary {
  background: var(--teal);
  color: #ffffff;
  box-shadow: 0 18px 40px rgba(15, 141, 123, 0.26);
}

.button--primary:hover {
  background: #0b7568;
}

.button--secondary {
  border-color: var(--line);
  background: #ffffff;
  color: var(--navy);
}

.button--secondary:hover {
  background: #f8fafc;
}

.support-panel,
.legal-summary {
  border: 1px solid rgba(255, 255, 255, 0.18);
  border-radius: 8px;
  padding: clamp(22px, 4vw, 34px);
  background: rgba(255, 255, 255, 0.96);
  box-shadow: var(--shadow);
  color: var(--ink);
}

.support-panel h2,
.legal-summary h2 {
  font-size: 1.45rem;
}

.club-crest {
  width: 112px;
  height: 132px;
  object-fit: contain;
  margin-bottom: 20px;
}

.club-crest--small {
  width: 86px;
  height: 104px;
}

.contact-list {
  display: grid;
  gap: 14px;
  margin: 0;
}

.contact-list div {
  display: grid;
  gap: 3px;
  padding-top: 14px;
  border-top: 1px solid var(--line);
}

.contact-list dt {
  color: var(--muted);
  font-size: 0.78rem;
  font-weight: 900;
  text-transform: uppercase;
}

.contact-list dd {
  margin: 0;
  font-weight: 750;
}

.section,
.page-heading,
.legal-layout,
.notice {
  padding: clamp(42px, 7vw, 82px) clamp(18px, 5vw, 64px);
}

.section--muted {
  background: var(--soft);
}

.section__intro {
  max-width: 760px;
  margin-bottom: 28px;
}

.topic-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 16px;
}

.topic-card {
  min-height: 230px;
  border: 1px solid var(--line);
  border-radius: 8px;
  padding: 22px;
  background: var(--surface);
}

.topic-card__icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 42px;
  height: 42px;
  margin-bottom: 22px;
  border-radius: 8px;
  background: var(--navy);
  color: #ffffff;
  font-size: 0.86rem;
  font-weight: 900;
}

.topic-card__icon--teal {
  background: var(--teal);
}

.topic-card__icon--amber {
  background: var(--amber);
}

.topic-card__icon--gray {
  background: var(--gray);
}

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

.steps li {
  min-height: 170px;
  position: relative;
  border: 1px solid var(--line);
  border-radius: 8px;
  padding: 58px 20px 20px;
  background: #ffffff;
  color: var(--muted);
  line-height: 1.55;
}

.steps li::before {
  counter-increment: steps;
  content: counter(steps);
  position: absolute;
  top: 18px;
  left: 20px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 30px;
  height: 30px;
  border-radius: 50%;
  background: #eef2ff;
  color: var(--blue);
  font-weight: 900;
}

.faq-list {
  display: grid;
  gap: 12px;
  max-width: 980px;
}

details {
  border: 1px solid var(--line);
  border-radius: 8px;
  background: #ffffff;
}

summary {
  cursor: pointer;
  padding: 18px 20px;
  color: var(--ink);
  font-weight: 850;
}

details p {
  margin: 0;
  padding: 0 20px 20px;
}

.notice {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  background: #fff8e8;
  border-top: 1px solid #ffe2a7;
  border-bottom: 1px solid #ffe2a7;
}

.notice > div {
  max-width: 760px;
}

.page-heading {
  background: var(--soft);
}

.page-heading p {
  max-width: 780px;
}

.legal-layout {
  display: grid;
  grid-template-columns: minmax(260px, 0.36fr) minmax(0, 0.64fr);
  gap: clamp(22px, 5vw, 56px);
  align-items: start;
}

.legal-summary {
  position: sticky;
  top: 100px;
  border-color: var(--line);
}

.legal-summary .button {
  width: 100%;
  margin-top: 8px;
}

.legal-content {
  max-width: 860px;
}

.legal-content h2 {
  margin-top: 34px;
  font-size: 1.35rem;
}

.legal-content h2:first-child {
  margin-top: 0;
}

.legal-content ul {
  margin: 0 0 24px;
  padding-left: 22px;
  color: var(--muted);
  line-height: 1.7;
}

.site-footer {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 24px;
  padding: 34px clamp(18px, 5vw, 64px);
  background: var(--ink);
  color: #ffffff;
}

.site-footer p {
  margin: 0;
  color: rgba(255, 255, 255, 0.72);
}

.site-footer a {
  color: #ffffff;
}

.footer-logo {
  width: 180px;
  max-width: 44vw;
  margin-bottom: 12px;
  filter: brightness(0) invert(1);
  opacity: 0.9;
}

@media (max-width: 980px) {
  .hero,
  .legal-layout {
    grid-template-columns: 1fr;
  }

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

  .legal-summary {
    position: static;
  }
}

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

  .nav {
    width: 100%;
    justify-content: flex-start;
  }

  .nav a {
    padding-inline: 10px;
  }

  .brand strong {
    white-space: normal;
  }

  h1 {
    font-size: clamp(2.1rem, 13vw, 3.5rem);
  }

  .hero,
  .section,
  .page-heading,
  .legal-layout,
  .notice {
    padding-inline: 18px;
  }

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

  .topic-card,
  .steps li {
    min-height: auto;
  }

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

  .actions,
  .notice .button {
    width: 100%;
  }

  .button {
    width: 100%;
  }
}
