/* ============================================================================
   Par Crawl — marketing site styles. "Clubhouse Parody" design system.
   Cream + forest + brass + claret. Fraunces (display) / Inter (body).
   Dependency-free; animations are CSS + a tiny IntersectionObserver (parcrawl.js).
   ========================================================================== */

:root {
  --cream: #f4efe3;
  --cream-2: #ece4d3;
  --paper: #fbf8f0;
  --forest: #14241b;
  --forest-2: #1e4d3a;
  --green-soft: #2c6b4f;
  --brass: #c8a24b;
  --brass-2: #b8902f;
  --claret: #b23a2e;
  --ink: #1b2018;
  --muted: #6b6256;
  --line: rgba(27, 32, 24, 0.12);
  --line-strong: rgba(27, 32, 24, 0.2);
  --shadow: 0 18px 40px -22px rgba(20, 36, 27, 0.55);
  --shadow-lg: 0 40px 80px -40px rgba(20, 36, 27, 0.6);
  --radius: 18px;
  --radius-sm: 12px;
  --maxw: 1120px;
  --font-display: "Fraunces", "Iowan Old Style", Georgia, "Times New Roman", serif;
  --font-body: "Inter", system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body {
  margin: 0;
  font-family: var(--font-body);
  color: var(--ink);
  background: var(--cream);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
  overflow-x: hidden;
}

/* Subtle paper texture via layered gradients (no image, CSP-clean). */
body::before {
  content: "";
  position: fixed; inset: 0; z-index: -2;
  background:
    radial-gradient(1200px 600px at 80% -10%, rgba(200, 162, 75, 0.12), transparent 60%),
    radial-gradient(900px 500px at -10% 10%, rgba(30, 77, 58, 0.08), transparent 55%),
    var(--cream);
}
body::after {
  content: "";
  position: fixed; inset: 0; z-index: -1; opacity: 0.5; pointer-events: none;
  background-image: radial-gradient(rgba(27, 32, 24, 0.045) 1px, transparent 1px);
  background-size: 22px 22px;
}

a { color: inherit; text-decoration: none; }
img, svg { display: block; max-width: 100%; }
h1, h2, h3 { font-family: var(--font-display); font-weight: 600; line-height: 1.05; letter-spacing: -0.01em; margin: 0; }

.wrap { width: 100%; max-width: var(--maxw); margin: 0 auto; padding: 0 24px; }
.section { padding: 92px 0; position: relative; }
.eyebrow {
  display: inline-flex; align-items: center; gap: 8px;
  font-size: 12px; font-weight: 700; letter-spacing: 0.18em; text-transform: uppercase;
  color: var(--brass-2);
}
.eyebrow::before { content: ""; width: 22px; height: 1px; background: var(--brass); display: inline-block; }

/* ----------------------------- Buttons -------------------------------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 9px;
  font-weight: 700; font-size: 15px; letter-spacing: 0.01em;
  padding: 14px 22px; border-radius: 999px; cursor: pointer; border: 1.5px solid transparent;
  transition: transform 0.18s ease, box-shadow 0.18s ease, background 0.18s ease, color 0.18s ease;
  will-change: transform;
}
.btn-primary { background: var(--forest); color: var(--cream); box-shadow: var(--shadow); }
.btn-primary:hover { transform: translateY(-2px); box-shadow: var(--shadow-lg); background: #0f1c14; }
.btn-brass { background: linear-gradient(180deg, var(--brass), var(--brass-2)); color: var(--forest); box-shadow: var(--shadow); }
.btn-brass:hover { transform: translateY(-2px); box-shadow: var(--shadow-lg); }
.btn-ghost { background: transparent; color: var(--forest); border-color: var(--line-strong); }
.btn-ghost:hover { border-color: var(--forest); transform: translateY(-2px); }

/* ------------------------------- Nav ---------------------------------- */
.nav {
  position: sticky; top: 0; z-index: 50;
  backdrop-filter: saturate(1.4) blur(12px);
  background: rgba(244, 239, 227, 0.78);
  border-bottom: 1px solid var(--line);
}
.nav-inner { display: flex; align-items: center; justify-content: space-between; height: 70px; }
.brand { display: flex; align-items: center; gap: 11px; font-family: var(--font-display); font-weight: 600; font-size: 21px; }
.brand .crest { width: 38px; height: 38px; }
.nav-links { display: flex; align-items: center; gap: 30px; }
.nav-links a { font-size: 14.5px; font-weight: 600; color: var(--muted); transition: color 0.15s; }
.nav-links a:hover { color: var(--forest); }
.nav-cta { display: flex; align-items: center; gap: 12px; }
@media (max-width: 860px) { .nav-links { display: none; } }

/* ------------------------------ Hero ---------------------------------- */
.hero { padding: 64px 0 40px; position: relative; }
.hero-grid { display: grid; grid-template-columns: 1.05fr 0.95fr; gap: 48px; align-items: center; }
.stamp {
  display: inline-block; transform: rotate(-7deg);
  border: 2px solid var(--claret); color: var(--claret);
  font-family: var(--font-display); font-weight: 600; font-size: 12.5px; letter-spacing: 0.14em;
  padding: 5px 12px; border-radius: 8px; text-transform: uppercase; opacity: 0.92;
  margin-bottom: 22px;
}
.hero h1 { font-size: clamp(42px, 6.4vw, 76px); }
.hero h1 .accent { color: var(--forest-2); font-style: italic; }
.hero-sub { font-size: clamp(17px, 2.1vw, 20px); color: var(--muted); margin: 22px 0 14px; max-width: 30em; }
.tagline { font-family: var(--font-display); font-style: italic; font-size: 18px; color: var(--brass-2); margin-bottom: 30px; }
.hero-cta { display: flex; gap: 14px; flex-wrap: wrap; align-items: center; }
.hero-meta { margin-top: 22px; display: flex; gap: 22px; color: var(--muted); font-size: 13.5px; flex-wrap: wrap; }
.hero-meta b { color: var(--forest); }
@media (max-width: 900px) { .hero-grid { grid-template-columns: 1fr; gap: 28px; } }

/* Store badges (CSS-built, no external images). */
.badges { display: flex; gap: 12px; flex-wrap: wrap; }
.badge {
  display: inline-flex; align-items: center; gap: 10px;
  background: var(--forest); color: var(--cream);
  padding: 10px 16px; border-radius: 13px; box-shadow: var(--shadow);
  transition: transform 0.18s ease, box-shadow 0.18s ease;
}
.badge:hover { transform: translateY(-2px); box-shadow: var(--shadow-lg); }
.badge svg { width: 24px; height: 24px; }
.badge .b-small { font-size: 10px; letter-spacing: 0.04em; opacity: 0.8; line-height: 1; }
.badge .b-big { font-size: 16px; font-weight: 700; font-family: var(--font-display); line-height: 1.1; }
.badge--soon { opacity: 0.85; }
.badge--soon .b-small::after { content: " · coming soon"; opacity: 0.7; }

/* Hero art: a tilted scorecard card with a floating crest + ball. */
.hero-art { position: relative; display: flex; justify-content: center; }
.scorecard {
  width: 100%; max-width: 380px; background: var(--paper);
  border: 1px solid var(--line); border-radius: 22px; box-shadow: var(--shadow-lg);
  padding: 22px; transform: rotate(2.5deg); position: relative; overflow: hidden;
}
.scorecard::before {
  content: ""; position: absolute; inset: 0;
  background: linear-gradient(115deg, transparent 30%, rgba(255, 255, 255, 0.5) 45%, transparent 60%);
  transform: translateX(-120%); animation: sheen 5.5s ease-in-out infinite; pointer-events: none;
}
.sc-head { display: flex; align-items: center; justify-content: space-between; margin-bottom: 14px; }
.sc-head .sc-title { font-family: var(--font-display); font-size: 18px; }
.sc-head .sc-chip { font-size: 11px; font-weight: 700; color: var(--forest-2); background: rgba(30, 77, 58, 0.12); padding: 4px 9px; border-radius: 999px; }
.sc-row { display: grid; grid-template-columns: 26px 1fr auto auto; gap: 10px; align-items: center; padding: 9px 0; border-top: 1px solid var(--line); font-size: 14px; }
.sc-row .sc-emoji { font-size: 18px; }
.sc-row .sc-name { font-weight: 600; }
.sc-row .sc-thru { color: var(--muted); font-size: 12px; }
.sc-score { font-family: var(--font-display); font-weight: 600; font-size: 18px; min-width: 30px; text-align: right; }
.sc-score.under { color: var(--forest-2); }
.sc-score.over { color: var(--claret); }
.sc-row.leader { background: linear-gradient(90deg, rgba(200, 162, 75, 0.16), transparent); border-radius: 10px; margin: 0 -8px; padding-left: 8px; padding-right: 8px; }
.floating-crest { position: absolute; top: -26px; right: -18px; width: 96px; height: 96px; filter: drop-shadow(0 14px 22px rgba(20,36,27,0.35)); animation: float 6s ease-in-out infinite; }

/* ------------------------- Marquee strip ------------------------------ */
.strip { background: var(--forest); color: var(--cream); padding: 16px 0; overflow: hidden; }
.strip-track { display: flex; gap: 48px; white-space: nowrap; animation: marquee 26s linear infinite; width: max-content; }
.strip-track span { font-family: var(--font-display); font-style: italic; font-size: 17px; opacity: 0.92; display: inline-flex; align-items: center; gap: 14px; }
.strip-track span::after { content: "⛳"; font-style: normal; opacity: 0.5; }

/* ------------------------------ Features ------------------------------ */
.section-head { text-align: center; max-width: 640px; margin: 0 auto 54px; }
.section-head h2 { font-size: clamp(30px, 4vw, 46px); margin: 14px 0 14px; }
.section-head p { color: var(--muted); font-size: 17px; }
.features { display: grid; grid-template-columns: repeat(3, 1fr); gap: 22px; }
.feature {
  background: var(--paper); border: 1px solid var(--line); border-radius: var(--radius);
  padding: 26px; transition: transform 0.2s ease, box-shadow 0.2s ease, border-color 0.2s ease;
}
.feature:hover { transform: translateY(-4px); box-shadow: var(--shadow); border-color: var(--line-strong); }
.feature .ficon {
  width: 52px; height: 52px; border-radius: 14px; display: grid; place-items: center;
  font-size: 24px; margin-bottom: 16px;
  background: linear-gradient(180deg, rgba(200,162,75,0.22), rgba(200,162,75,0.08)); border: 1px solid rgba(200,162,75,0.4);
}
.feature h3 { font-size: 21px; margin-bottom: 8px; }
.feature p { color: var(--muted); font-size: 15px; margin: 0; }
@media (max-width: 900px) { .features { grid-template-columns: 1fr 1fr; } }
@media (max-width: 600px) { .features { grid-template-columns: 1fr; } }

/* ---------------------------- How it works ---------------------------- */
.steps { display: grid; grid-template-columns: repeat(3, 1fr); gap: 26px; counter-reset: step; }
.step { position: relative; padding-top: 20px; }
.step .num {
  font-family: var(--font-display); font-size: 54px; color: var(--brass); line-height: 1;
  -webkit-text-stroke: 1px var(--brass-2); opacity: 0.85; margin-bottom: 10px;
}
.step h3 { font-size: 22px; margin-bottom: 8px; }
.step p { color: var(--muted); margin: 0; font-size: 15px; }
@media (max-width: 760px) { .steps { grid-template-columns: 1fr; } }

/* --------------------------- Membership band -------------------------- */
.clubhouse { background: var(--forest); color: var(--cream); border-radius: 28px; padding: 56px; position: relative; overflow: hidden; }
.clubhouse::before { content: ""; position: absolute; inset: 0; background: radial-gradient(600px 300px at 90% 0%, rgba(200,162,75,0.22), transparent 60%); }
.clubhouse .inner { position: relative; display: grid; grid-template-columns: 1.1fr 0.9fr; gap: 40px; align-items: center; }
.clubhouse h2 { font-size: clamp(28px, 3.6vw, 42px); color: var(--cream); margin-bottom: 14px; }
.clubhouse p { color: rgba(244,239,227,0.78); font-size: 16px; }
.plan-card { background: rgba(255,255,255,0.06); border: 1px solid rgba(200,162,75,0.34); border-radius: var(--radius); padding: 28px; backdrop-filter: blur(6px); }
.plan-card h3 { color: var(--brass); font-size: 15px; letter-spacing: 0.12em; text-transform: uppercase; margin-bottom: 16px; }
.plan-list { list-style: none; padding: 0; margin: 0 0 8px; }
.plan-list li { display: flex; gap: 11px; padding: 8px 0; font-size: 14.5px; color: rgba(244,239,227,0.92); border-top: 1px solid rgba(244,239,227,0.1); }
.plan-list li:first-child { border-top: none; }
.plan-list li .tick { color: var(--brass); font-weight: 800; }
.plan-free h3 { color: rgba(244,239,227,0.7); }
@media (max-width: 820px) { .clubhouse { padding: 36px; } .clubhouse .inner { grid-template-columns: 1fr; } }

/* ----------------------------- Responsible ---------------------------- */
.responsible { text-align: center; }
.responsible .card { background: var(--paper); border: 1px dashed var(--line-strong); border-radius: var(--radius); padding: 34px; max-width: 760px; margin: 0 auto; }
.responsible h3 { font-size: 24px; margin-bottom: 10px; }
.responsible p { color: var(--muted); margin: 0 auto 6px; max-width: 56ch; }
.responsible .pills { display: flex; gap: 10px; flex-wrap: wrap; justify-content: center; margin-top: 18px; }
.pill { font-size: 13px; font-weight: 700; color: var(--forest-2); background: rgba(30,77,58,0.1); border: 1px solid rgba(30,77,58,0.2); padding: 7px 14px; border-radius: 999px; }

/* -------------------------------- FAQ --------------------------------- */
.faq { max-width: 760px; margin: 0 auto; }
.faq details { background: var(--paper); border: 1px solid var(--line); border-radius: var(--radius-sm); margin-bottom: 12px; overflow: hidden; transition: border-color 0.2s; }
.faq details[open] { border-color: var(--line-strong); }
.faq summary { cursor: pointer; padding: 18px 22px; font-weight: 700; font-size: 16.5px; list-style: none; display: flex; justify-content: space-between; align-items: center; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: "+"; font-size: 22px; color: var(--brass-2); transition: transform 0.2s; }
.faq details[open] summary::after { transform: rotate(45deg); }
.faq .faq-body { padding: 0 22px 20px; color: var(--muted); font-size: 15px; }

/* ------------------------------ Final CTA ----------------------------- */
.final-cta { text-align: center; }
.final-cta h2 { font-size: clamp(32px, 5vw, 56px); margin-bottom: 16px; }
.final-cta p { color: var(--muted); font-size: 18px; margin-bottom: 28px; }

/* ------------------------------- Footer ------------------------------- */
.footer { background: var(--forest); color: rgba(244,239,227,0.7); padding: 56px 0 30px; }
.footer-top { display: flex; justify-content: space-between; gap: 30px; flex-wrap: wrap; padding-bottom: 30px; border-bottom: 1px solid rgba(244,239,227,0.12); }
.footer .brand { color: var(--cream); }
.footer-links { display: flex; gap: 26px; flex-wrap: wrap; }
.footer-links a { color: rgba(244,239,227,0.74); font-size: 14px; font-weight: 600; }
.footer-links a:hover { color: var(--brass); }
.footer-bottom { display: flex; justify-content: space-between; gap: 16px; flex-wrap: wrap; padding-top: 22px; font-size: 13px; }
.footer-bottom .disclaimer { max-width: 60ch; }

/* --------------------------- Legal pages ------------------------------ */
.legal { max-width: 760px; margin: 0 auto; padding: 60px 0; }
.legal h1 { font-size: clamp(34px, 5vw, 52px); margin-bottom: 8px; }
.legal .lead { color: var(--muted); margin-bottom: 36px; }
.legal h2 { font-size: 24px; margin: 32px 0 10px; }
.legal p, .legal li { color: var(--ink); opacity: 0.86; }
.legal a { color: var(--forest-2); text-decoration: underline; }
.legal .updated { font-size: 13px; color: var(--muted); }

/* ---------------------------- Animations ------------------------------ */
@keyframes float { 0%,100% { transform: translateY(0) rotate(-4deg); } 50% { transform: translateY(-12px) rotate(2deg); } }
@keyframes sheen { 0% { transform: translateX(-120%); } 55%,100% { transform: translateX(220%); } }
@keyframes marquee { from { transform: translateX(0); } to { transform: translateX(-50%); } }

.reveal { opacity: 0; transform: translateY(26px); transition: opacity 0.7s cubic-bezier(.2,.7,.2,1), transform 0.7s cubic-bezier(.2,.7,.2,1); }
.reveal.in { opacity: 1; transform: none; }
.reveal.d1 { transition-delay: 0.08s; } .reveal.d2 { transition-delay: 0.16s; } .reveal.d3 { transition-delay: 0.24s; }

@media (prefers-reduced-motion: reduce) {
  * { animation: none !important; scroll-behavior: auto !important; }
  .reveal { opacity: 1; transform: none; transition: none; }
}
