:root {
  --ink: #172125;
  --muted: #647277;
  --paper: #f4f6f5;
  --white: #ffffff;
  --red: #e84a2a;
  --teal: #176b87;
  --line: #dce2e1;
  --soft-red: #fdede9;
  --soft-teal: #e8f1f4;
  --max: 1180px;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body { margin: 0; color: var(--ink); background: var(--paper); font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif; }
a { color: inherit; text-decoration: none; }
img { display: block; max-width: 100%; }
button, a { -webkit-tap-highlight-color: transparent; }

.site-header { position: fixed; z-index: 20; inset: 0 0 auto; height: 76px; display: flex; align-items: center; justify-content: space-between; padding: 0 max(24px, calc((100vw - var(--max)) / 2)); color: var(--white); transition: background .2s ease, color .2s ease, box-shadow .2s ease; }
.site-header.scrolled { color: var(--ink); background: rgba(255,255,255,.96); box-shadow: 0 2px 12px rgba(23,33,37,.1); }
.brand { display: inline-flex; align-items: center; gap: 10px; font-size: 20px; font-weight: 800; }
.brand img { width: 40px; height: 40px; border-radius: 8px; object-fit: cover; }
nav { display: flex; align-items: center; gap: 28px; font-size: 14px; font-weight: 700; }
nav a:hover, .text-link:hover { color: var(--red); }
.nav-cta { padding: 11px 16px; border: 1px solid currentColor; border-radius: 6px; }
.nav-toggle { display: none; border: 0; background: transparent; color: inherit; font-size: 28px; }

.hero { position: relative; min-height: min(820px, 92vh); color: var(--white); display: grid; align-items: end; overflow: hidden; }
.hero-media { position: absolute; inset: 0; background: url('assets/content/edgecircle_post_queenstown_mtb.webp') center 46% / cover no-repeat; transform: scale(1.015); }
.hero-shade { position: absolute; inset: 0; background: rgba(12,22,25,.46); }
.hero-content { position: relative; width: min(var(--max), calc(100% - 48px)); margin: 0 auto; padding: 150px 0 72px; }
.eyebrow { margin: 0 0 14px; color: var(--red); font-size: 12px; line-height: 1.3; font-weight: 900; letter-spacing: .12em; }
.hero .eyebrow { color: #ff765d; }
h1, h2, h3, p { letter-spacing: 0; }
h1 { margin: 0; font-size: clamp(64px, 10vw, 132px); line-height: .95; }
.hero-copy { max-width: 650px; margin: 24px 0 30px; font-size: clamp(18px, 2.2vw, 25px); line-height: 1.45; }
.hero-actions { display: flex; gap: 12px; flex-wrap: wrap; }
.button { min-height: 50px; display: inline-flex; align-items: center; justify-content: center; padding: 0 22px; border-radius: 6px; font-weight: 800; }
.button.primary { color: var(--white); background: var(--red); }
.button.primary:hover { background: #cc3d21; }
.button.ghost { color: var(--white); border: 1px solid rgba(255,255,255,.75); }
.hero-proof { display: flex; gap: 28px; margin-top: 70px; padding-top: 18px; border-top: 1px solid rgba(255,255,255,.4); font-size: 13px; font-weight: 700; }

.band { padding: 100px max(24px, calc((100vw - var(--max)) / 2)); }
.section-heading { max-width: 780px; }
.section-heading h2, .safety-copy h2, .privacy-band h2, .join h2 { margin: 0; font-size: clamp(36px, 5vw, 62px); line-height: 1.08; }
.section-heading > p:last-child { max-width: 700px; color: var(--muted); font-size: 18px; line-height: 1.65; }
.activity-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; margin-top: 48px; }
.activity-card { overflow: hidden; background: var(--white); border-radius: 8px; box-shadow: 0 2px 10px rgba(23,33,37,.08); }
.activity-card img { width: 100%; aspect-ratio: 4/3; object-fit: cover; }
.activity-card div { padding: 20px; }
.activity-card span { color: var(--teal); font-size: 11px; font-weight: 900; }
.activity-card h3 { margin: 8px 0 5px; font-size: 22px; }
.activity-card p { margin: 0; color: var(--muted); }

.band-dark { padding: 100px max(24px, calc((100vw - var(--max)) / 2)); color: var(--white); background: var(--ink); }
.light .eyebrow { color: #ff765d; }
.light h2 { margin: 0; max-width: 800px; font-size: clamp(36px, 5vw, 62px); line-height: 1.08; }
.steps { display: grid; grid-template-columns: repeat(3, 1fr); gap: 44px; margin: 60px 0 0; padding: 0; list-style: none; }
.steps li { padding-top: 20px; border-top: 1px solid #415055; }
.steps strong { color: #57b4d0; }
.steps h3 { margin: 24px 0 10px; font-size: 23px; }
.steps p { color: #b7c1c4; line-height: 1.6; }

.safety { display: grid; grid-template-columns: 1fr 1fr; align-items: center; gap: 70px; background: var(--white); }
.safety-image img { width: 100%; aspect-ratio: 4/5; object-fit: cover; border-radius: 8px; }
.safety-copy p { color: var(--muted); font-size: 17px; line-height: 1.65; }
.safety-copy ul { margin: 28px 0 0; padding: 0; list-style: none; }
.safety-copy li { padding: 14px 0 14px 30px; border-bottom: 1px solid var(--line); position: relative; font-weight: 700; }
.safety-copy li::before { content: '✓'; position: absolute; left: 0; color: var(--teal); }

.privacy-band { display: grid; grid-template-columns: 1fr 1fr; gap: 70px; padding: 78px max(24px, calc((100vw - var(--max)) / 2)); background: var(--soft-teal); }
.privacy-band p { color: var(--muted); line-height: 1.7; }
.text-link { display: inline-block; margin-top: 16px; color: var(--teal); font-weight: 900; }
.join { display: flex; align-items: flex-end; justify-content: space-between; gap: 40px; }
.join > div { max-width: 780px; }

footer { display: grid; grid-template-columns: 1fr auto; gap: 16px 40px; padding: 54px max(24px, calc((100vw - var(--max)) / 2)); color: var(--white); background: #10181b; }
.footer-brand { grid-column: 1; }
footer p, footer small { margin: 0; color: #aeb9bc; }
.footer-links { grid-column: 2; grid-row: 1 / span 2; display: flex; gap: 22px; align-items: center; }

.legal-page { background: var(--white); }
.legal-header { position: sticky; color: var(--ink); background: var(--white); border-bottom: 1px solid var(--line); }
.legal-main { width: min(820px, calc(100% - 40px)); margin: 0 auto; padding: 130px 0 80px; }
.legal-main h1 { font-size: clamp(46px, 8vw, 76px); }
.legal-main h2 { margin: 42px 0 10px; font-size: 24px; }
.legal-main p, .legal-main li { color: #405055; line-height: 1.75; }
.legal-main .effective { color: var(--teal); font-weight: 700; }

@media (max-width: 800px) {
  .site-header { height: 66px; padding: 0 20px; }
  .hero-media { transform: none; }
  .nav-toggle { display: block; }
  nav { position: absolute; top: 66px; left: 0; right: 0; display: none; flex-direction: column; align-items: stretch; gap: 0; padding: 12px 20px 20px; color: var(--ink); background: var(--white); box-shadow: 0 10px 20px rgba(23,33,37,.12); }
  nav.open { display: flex; }
  nav a { padding: 12px 0; }
  .nav-cta { margin-top: 8px; padding: 12px; text-align: center; color: var(--white); background: var(--red); border: 0; }
  .hero { min-height: 760px; }
  .hero-content { width: calc(100% - 40px); padding-bottom: 42px; }
  h1 { font-size: clamp(52px, 16vw, 72px); }
  .hero-proof { gap: 12px; margin-top: 54px; font-size: 11px; }
  .band, .band-dark { padding: 72px 20px; }
  .activity-grid, .steps, .safety, .privacy-band { grid-template-columns: 1fr; }
  .activity-grid { gap: 14px; }
  .steps { gap: 26px; }
  .safety { gap: 42px; }
  .privacy-band { gap: 26px; padding: 64px 20px; }
  .join { align-items: stretch; flex-direction: column; }
  footer { grid-template-columns: 1fr; padding: 48px 20px; }
  .footer-links { grid-column: 1; grid-row: auto; flex-wrap: wrap; }
}
