/* ClubCensus marketing site — style guide tokens */
:root {
  --olive: #5c6b5f;
  --olive-hover: #4b5750;
  --olive-soft: #eef1ec;
  --olive-border: rgba(92, 107, 95, 0.12);
  --olive-border-strong: rgba(92, 107, 95, 0.15);
  --gold: #c9a86a;
  --bg: #f7f6f2;
  --card: #ffffff;
  --border: #e7e4dc;
  --text: #1c1e1c;
  --text-muted: #6d716c;
  --shadow: 0 1px 2px rgba(0, 0, 0, 0.04);
  --shadow-hover: 0 4px 20px -8px rgba(28, 30, 28, 0.08);
  --radius: 1rem;
  --font: ui-sans-serif, system-ui, -apple-system, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
  --max: 72rem;
}

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

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  font-family: var(--font);
  color: var(--text);
  background: var(--bg);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}

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

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

ul {
  margin: 0;
  padding: 0;
  list-style: none;
}

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

.container {
  width: 100%;
  max-width: var(--max);
  margin-inline: auto;
  padding-inline: 1rem;
}

@media (min-width: 640px) {
  .container {
    padding-inline: 1.5rem;
  }
}

/* Skip link */
.skip-link {
  position: absolute;
  left: -9999px;
  top: 0;
  z-index: 100;
  background: var(--olive);
  color: #fff;
  padding: 0.75rem 1rem;
  border-radius: 0.5rem;
}

.skip-link:focus {
  left: 1rem;
  top: 1rem;
}

/* Header */
.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  border-bottom: 1px solid var(--olive-border);
  background: rgba(247, 246, 242, 0.92);
  backdrop-filter: blur(12px);
}

.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  height: 4rem;
}

.logo {
  display: flex;
  align-items: center;
  flex-shrink: 0;
}

.logo img {
  height: 2rem;
  width: auto;
  max-width: 11.5rem;
  object-fit: contain;
  object-position: left center;
}

@media (min-width: 640px) {
  .logo img {
    height: 2.25rem;
    max-width: 12.5rem;
  }
}

.nav-desktop {
  display: none;
  align-items: center;
  gap: 0.125rem;
}

.nav-desktop a {
  border-radius: 0.5rem;
  padding: 0.5rem 0.875rem;
  font-size: 0.875rem;
  font-weight: 500;
  color: var(--text-muted);
  transition: color 0.15s, background 0.15s;
}

.nav-desktop a:hover {
  color: var(--text);
  background: rgba(92, 107, 95, 0.08);
}

.header-actions {
  display: none;
  align-items: center;
  gap: 0.5rem;
}

.menu-toggle {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border: none;
  background: transparent;
  color: var(--text);
  padding: 0.5rem;
  border-radius: 0.5rem;
  cursor: pointer;
}

.menu-toggle:hover {
  background: rgba(92, 107, 95, 0.08);
}

.nav-mobile {
  display: none;
  border-top: 1px solid var(--olive-border);
  padding: 0.75rem 1rem 1.25rem;
  background: var(--bg);
}

.nav-mobile.is-open {
  display: block;
}

.nav-mobile a {
  display: block;
  padding: 0.75rem 0.5rem;
  font-size: 0.9375rem;
  font-weight: 500;
  color: var(--text-muted);
  border-radius: 0.5rem;
}

.nav-mobile a:hover {
  color: var(--text);
  background: rgba(92, 107, 95, 0.08);
}

.nav-mobile-actions {
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
  margin-top: 0.75rem;
  padding-top: 0.75rem;
  border-top: 1px solid var(--olive-border);
}

@media (min-width: 768px) {
  .nav-desktop,
  .header-actions {
    display: flex;
  }

  .menu-toggle {
    display: none;
  }

  .nav-mobile {
    display: none !important;
  }
}

/* Buttons */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.375rem;
  min-height: 2.75rem;
  padding: 0.625rem 1.25rem;
  border-radius: 0.5rem;
  font-size: 0.9375rem;
  font-weight: 600;
  line-height: 1.25;
  border: 1px solid transparent;
  cursor: pointer;
  transition: background 0.15s, border-color 0.15s, color 0.15s, box-shadow 0.15s;
  text-align: center;
  white-space: nowrap;
}

.btn-sm {
  min-height: 2.25rem;
  padding: 0.375rem 0.875rem;
  font-size: 0.875rem;
}

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

.btn-primary:hover {
  background: var(--olive-hover);
}

.btn-outline {
  background: #fff;
  border-color: var(--border);
  color: var(--text);
}

.btn-outline:hover {
  border-color: rgba(92, 107, 95, 0.35);
  background: var(--olive-soft);
}

.btn-ghost {
  background: transparent;
  color: var(--text-muted);
}

.btn-ghost:hover {
  color: var(--text);
  background: rgba(92, 107, 95, 0.08);
}

.btn-link {
  background: transparent;
  border: none;
  color: var(--olive);
  min-height: auto;
  padding: 0.25rem 0;
  font-weight: 600;
}

.btn-link:hover {
  color: var(--olive-hover);
}

/* Badge */
.badge {
  display: inline-flex;
  align-items: center;
  border-radius: 999px;
  padding: 0.25rem 0.75rem;
  font-size: 0.6875rem;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--olive);
  background: rgba(92, 107, 95, 0.1);
  border: 1px solid rgba(92, 107, 95, 0.12);
}

/* Hero */
.hero {
  position: relative;
  overflow: hidden;
  border-bottom: 1px solid var(--olive-border);
  background: var(--bg);
  text-align: center;
  padding: 5rem 0 5.5rem;
}

.hero-glow {
  pointer-events: none;
  position: absolute;
  inset: 0;
  background: radial-gradient(ellipse 70% 40% at 50% 0%, rgba(92, 107, 95, 0.09), transparent);
}

.hero .container {
  position: relative;
}

.hero h1 {
  margin-top: 1.5rem;
  font-size: clamp(2.25rem, 5vw, 3.75rem);
  font-weight: 600;
  letter-spacing: -0.025em;
  line-height: 1.1;
  max-width: 48rem;
  margin-inline: auto;
  color: var(--text);
}

.hero-lead {
  margin-top: 1.5rem;
  font-size: clamp(1.0625rem, 2vw, 1.25rem);
  color: var(--text-muted);
  max-width: 42rem;
  margin-inline: auto;
  line-height: 1.7;
}

.hero-lead strong {
  font-weight: 600;
  color: rgba(28, 30, 28, 0.9);
}

.hero-sub {
  margin-top: 1rem;
  font-size: 1rem;
  color: var(--text-muted);
  max-width: 36rem;
  margin-inline: auto;
  line-height: 1.7;
}

.hero-sub strong {
  font-weight: 600;
  color: rgba(28, 30, 28, 0.85);
}

.cta-row {
  margin-top: 2.5rem;
  display: flex;
  flex-direction: column;
  flex-wrap: wrap;
  align-items: center;
  justify-content: center;
  gap: 0.75rem;
}

@media (min-width: 640px) {
  .cta-row {
    flex-direction: row;
  }

  .hero {
    padding: 7rem 0 7.5rem;
  }
}

.notice {
  margin-top: 1rem;
  font-size: 0.875rem;
  color: var(--text-muted);
  max-width: 36rem;
  margin-inline: auto;
  line-height: 1.6;
}

.trust-line {
  margin-top: 1.5rem;
  font-size: 0.875rem;
  color: var(--text-muted);
}

/* Sections */
.section {
  padding: 4rem 0;
}

@media (min-width: 640px) {
  .section {
    padding: 5rem 0;
  }
}

.section-white {
  background: #fff;
  border-bottom: 1px solid var(--olive-border);
}

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

.section-head {
  max-width: 48rem;
  margin-inline: auto;
  text-align: center;
}

.section-head h2 {
  font-size: clamp(1.5rem, 3vw, 2.25rem);
  font-weight: 600;
  letter-spacing: -0.02em;
  color: var(--text);
  line-height: 1.2;
}

.section-head p {
  margin-top: 0.75rem;
  color: var(--text-muted);
  line-height: 1.7;
}

/* Cards grid */
.card-grid {
  margin-top: 2.5rem;
  display: grid;
  gap: 1rem;
}

@media (min-width: 640px) {
  .card-grid.cols-2 {
    grid-template-columns: repeat(2, 1fr);
  }

  .card-grid.cols-3 {
    grid-template-columns: repeat(3, 1fr);
  }
}

@media (min-width: 1024px) {
  .card-grid.cols-4 {
    grid-template-columns: repeat(4, 1fr);
  }
}

.card {
  border-radius: var(--radius);
  border: 1px solid var(--olive-border-strong);
  background: #fff;
  padding: 1.25rem;
  text-align: left;
  transition: border-color 0.2s, box-shadow 0.2s;
  box-shadow: var(--shadow);
}

.card:hover {
  border-color: rgba(92, 107, 95, 0.3);
  box-shadow: var(--shadow-hover);
}

.card-icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 2.5rem;
  height: 2.5rem;
  border-radius: 0.75rem;
  background: rgba(92, 107, 95, 0.1);
  color: var(--olive);
  margin-bottom: 0.75rem;
}

.card-icon svg {
  width: 1.25rem;
  height: 1.25rem;
}

.card h3 {
  font-size: 0.875rem;
  font-weight: 600;
  color: var(--text);
}

.card p {
  margin-top: 0.5rem;
  font-size: 0.875rem;
  color: var(--text-muted);
  line-height: 1.6;
}

.card.lg h3 {
  font-size: 1.125rem;
}

.center-link {
  margin-top: 2rem;
  text-align: center;
}

/* Bill split */
.split {
  display: grid;
  gap: 2.5rem;
  align-items: center;
}

@media (min-width: 1024px) {
  .split {
    grid-template-columns: 1fr 1fr;
    gap: 3.5rem;
  }
}

.split h2 {
  font-size: clamp(1.75rem, 3vw, 2.25rem);
  font-weight: 600;
  letter-spacing: -0.02em;
  line-height: 1.2;
}

.split > div > p {
  margin-top: 1rem;
  color: var(--text-muted);
  line-height: 1.7;
}

.check-list {
  margin-top: 1.5rem;
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
}

.check-list li {
  display: flex;
  gap: 0.5rem;
  font-size: 0.875rem;
  color: var(--text-muted);
  line-height: 1.6;
}

.check-list svg {
  flex-shrink: 0;
  width: 1rem;
  height: 1rem;
  color: var(--olive);
  margin-top: 0.2rem;
}

.disclaimer {
  margin-top: 1rem;
  font-size: 0.75rem;
  color: var(--text-muted);
  line-height: 1.6;
}

.panel {
  border-radius: var(--radius);
  border: 1px solid var(--olive-border-strong);
  background: var(--bg);
  padding: 2rem 2.5rem;
}

.panel-label {
  font-size: 0.6875rem;
  font-weight: 600;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--text-muted);
  margin-bottom: 1rem;
}

.panel-list {
  display: flex;
  flex-direction: column;
  gap: 1rem;
}

.panel-list li {
  display: flex;
  gap: 0.75rem;
}

.panel-list svg {
  flex-shrink: 0;
  width: 1.25rem;
  height: 1.25rem;
  color: var(--olive);
  margin-top: 0.15rem;
}

.panel-list strong {
  display: block;
  font-weight: 600;
  color: var(--text);
}

.panel-list span {
  display: block;
  font-size: 0.875rem;
  color: var(--text-muted);
  line-height: 1.6;
}

/* Pricing */
.pricing-grid {
  margin-top: 2.5rem;
  display: grid;
  gap: 1.25rem;
}

@media (min-width: 768px) {
  .pricing-grid {
    grid-template-columns: repeat(3, 1fr);
    align-items: stretch;
  }
}

.price-card {
  border-radius: var(--radius);
  border: 1px solid var(--olive-border-strong);
  background: #fff;
  padding: 1.75rem;
  display: flex;
  flex-direction: column;
  box-shadow: var(--shadow);
  position: relative;
}

.price-card.highlight {
  border-color: rgba(92, 107, 95, 0.4);
  box-shadow: 0 8px 30px -12px rgba(92, 107, 95, 0.25);
}

.price-tag {
  position: absolute;
  top: -0.7rem;
  left: 50%;
  transform: translateX(-50%);
  background: var(--olive);
  color: #fff;
  font-size: 0.6875rem;
  font-weight: 600;
  letter-spacing: 0.04em;
  padding: 0.2rem 0.65rem;
  border-radius: 999px;
  white-space: nowrap;
}

.price-card .audience {
  font-size: 0.8125rem;
  color: var(--text-muted);
}

.price-card h3 {
  margin-top: 0.35rem;
  font-size: 1.25rem;
  font-weight: 600;
}

.price-card .amount {
  margin-top: 1rem;
  font-size: 2.25rem;
  font-weight: 600;
  letter-spacing: -0.02em;
  color: var(--text);
}

.price-card .amount span {
  font-size: 1rem;
  font-weight: 500;
  color: var(--text-muted);
}

.price-card .note {
  font-size: 0.8125rem;
  color: var(--text-muted);
  margin-top: 0.25rem;
}

.price-card .blurb {
  margin-top: 0.75rem;
  font-size: 0.875rem;
  color: var(--text-muted);
  line-height: 1.6;
}

.price-card ul {
  margin-top: 1.25rem;
  flex: 1;
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
}

.price-card ul li {
  display: flex;
  gap: 0.5rem;
  font-size: 0.875rem;
  color: var(--text-muted);
  line-height: 1.5;
}

.price-card ul svg {
  flex-shrink: 0;
  width: 1rem;
  height: 1rem;
  color: var(--olive);
  margin-top: 0.15rem;
}

.price-card .btn {
  margin-top: 1.5rem;
  width: 100%;
}

/* Testimonials */
.quote-grid {
  margin-top: 2.5rem;
  display: grid;
  gap: 1.25rem;
  max-width: 64rem;
  margin-inline: auto;
}

@media (min-width: 640px) {
  .quote-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

.quote {
  border-radius: var(--radius);
  border: 1px solid rgba(201, 168, 106, 0.25);
  background: #fff;
  padding: 1.75rem 2rem;
  box-shadow: var(--shadow);
  transition: border-color 0.2s;
}

.quote:hover {
  border-color: rgba(201, 168, 106, 0.4);
}

.quote p {
  color: rgba(28, 30, 28, 0.9);
  line-height: 1.7;
}

.quote footer {
  margin-top: 1.25rem;
  padding-top: 1rem;
  border-top: 1px solid rgba(201, 168, 106, 0.15);
  font-size: 0.875rem;
  color: var(--text-muted);
}

.quote footer strong {
  font-weight: 600;
  color: rgba(28, 30, 28, 0.8);
}

/* Story teaser */
.story-card {
  margin-top: 2rem;
  max-width: 42rem;
  margin-inline: auto;
  text-align: center;
  padding: 1.5rem;
  border-radius: var(--radius);
  border: 1px solid var(--olive-border-strong);
  background: #fff;
}

.story-card .club {
  font-weight: 600;
  color: var(--text);
}

.story-card .quote-text {
  margin-top: 0.5rem;
  font-size: 0.875rem;
  color: var(--text-muted);
  font-style: italic;
  line-height: 1.7;
}

/* Final CTA */
.final-cta {
  text-align: center;
}

.final-cta h2 {
  font-size: clamp(1.5rem, 3vw, 1.875rem);
  font-weight: 600;
  letter-spacing: -0.02em;
}

.final-cta > p {
  margin-top: 1rem;
  color: var(--text-muted);
  max-width: 36rem;
  margin-inline: auto;
  line-height: 1.7;
}

/* Footer */
.site-footer {
  border-top: 1px solid var(--olive-border);
  background: var(--bg);
  padding: 3rem 0 2rem;
}

.footer-grid {
  display: grid;
  gap: 2.5rem;
}

@media (min-width: 640px) {
  .footer-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (min-width: 1024px) {
  .footer-grid {
    grid-template-columns: 2fr 1fr 1fr 1fr;
  }
}

.footer-brand p {
  margin-top: 1rem;
  font-size: 0.875rem;
  color: var(--text-muted);
  max-width: 18rem;
  line-height: 1.7;
}

.footer-col h4 {
  font-size: 0.625rem;
  font-weight: 600;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--text-muted);
  margin-bottom: 0.75rem;
}

.footer-col ul {
  display: flex;
  flex-direction: column;
  gap: 0.625rem;
}

.footer-col a {
  font-size: 0.875rem;
  color: var(--text-muted);
  transition: color 0.15s;
}

.footer-col a:hover {
  color: var(--text);
}

.footer-bottom {
  margin-top: 2.5rem;
  padding-top: 2rem;
  border-top: 1px solid var(--olive-border);
  font-size: 0.75rem;
  color: rgba(109, 113, 108, 0.8);
}

/* Legal pages */
.legal {
  max-width: 42rem;
  margin: 0 auto;
  padding: 4rem 1rem 5rem;
}

.legal h1 {
  font-size: 2rem;
  font-weight: 600;
  letter-spacing: -0.02em;
}

.legal p {
  margin-top: 1rem;
  color: var(--text-muted);
  line-height: 1.7;
}

.legal a {
  color: var(--olive);
  text-decoration: underline;
  text-underline-offset: 2px;
}
