/* The public site (apps/web). Club navy and gold, as in the app
   (docs/brand/README.md). System fonts: nothing is loaded from elsewhere. */
:root {
  --navy: #1b2a4a;
  --navy-2: #243660;
  --gold: #d4a017;
  --gold-bright: #f5b70a;
  --ink: #111827;
  --muted: #4b5563;
  --line: #e5e7eb;
  --paper: #ffffff;
  --wash: #f6f7fb;
  --draft-bg: #fff7e0;
  --draft-line: #e6c35c;
}

* { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; }
body {
  margin: 0;
  font-family: system-ui, -apple-system, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
  font-size: 17px;
  line-height: 1.6;
  color: var(--ink);
  background: var(--paper);
}
img { max-width: 100%; height: auto; }
a { color: var(--navy-2); }
a:focus-visible, .button:focus-visible { outline: 3px solid var(--gold-bright); outline-offset: 2px; }

.wrap { max-width: 1080px; margin: 0 auto; padding: 0 20px; }
.skip { position: absolute; left: -999px; }
.skip:focus { left: 16px; top: 12px; background: var(--paper); padding: 8px 12px; z-index: 10; }

/* Header */
.site-header { background: var(--navy); color: #fff; }
.site-header .wrap { display: flex; align-items: center; justify-content: space-between; gap: 16px; min-height: 68px; flex-wrap: wrap; }
.brand { display: flex; align-items: center; gap: 12px; color: #fff; text-decoration: none; font-weight: 700; }
.brand img { width: 52px; height: 28px; }
.site-nav { display: flex; align-items: center; gap: 4px; flex-wrap: wrap; }
.site-nav a { color: rgba(255, 255, 255, 0.78); text-decoration: none; padding: 8px 12px; border-radius: 8px; font-size: 15px; }
.site-nav a:hover { color: #fff; background: rgba(255, 255, 255, 0.08); }
.site-nav a[aria-current="page"] { color: #fff; background: rgba(255, 255, 255, 0.15); }
.site-nav .button { margin-left: 8px; }

/* Buttons */
.button {
  display: inline-block; padding: 11px 20px; border-radius: 10px; font-weight: 600; font-size: 15px;
  text-decoration: none; border: 2px solid transparent;
}
.button-gold { background: var(--gold-bright); color: var(--navy); }
.button-gold:hover { background: #ffc61f; }
.button-ghost { border-color: rgba(255, 255, 255, 0.45); color: #fff; }
.button-ghost:hover { border-color: #fff; }
.site-nav .button-gold { color: var(--navy); padding: 8px 16px; }

/* Hero */
.hero { background: var(--navy); color: #fff; padding: 56px 0 72px; }
.hero .wrap { display: grid; grid-template-columns: 1.3fr 1fr; gap: 40px; align-items: center; }
.hero h1 { font-size: clamp(32px, 5vw, 48px); line-height: 1.15; margin: 0 0 16px; letter-spacing: -0.01em; }
.hero p { color: rgba(255, 255, 255, 0.82); font-size: 19px; margin: 0 0 28px; max-width: 34em; }
.hero .actions { display: flex; gap: 12px; flex-wrap: wrap; }
.hero-mark { justify-self: center; width: min(320px, 70%); }

/* Page heading (inner pages) */
.page-head { background: var(--navy); color: #fff; padding: 40px 0 44px; }
.page-head h1 { margin: 0 0 6px; font-size: clamp(28px, 4vw, 38px); line-height: 1.2; }
.page-head p { margin: 0; color: rgba(255, 255, 255, 0.8); max-width: 40em; }

/* Sections */
section { padding: 56px 0; }
section.alt { background: var(--wash); }
h2 { font-size: clamp(24px, 3vw, 30px); line-height: 1.25; margin: 0 0 12px; color: var(--navy); }
h3 { font-size: 19px; margin: 0 0 6px; color: var(--navy); }
.lead { color: var(--muted); max-width: 42em; margin: 0 0 28px; }
.prose > * { max-width: 44em; }
.prose p, .prose li { color: #1f2937; }

.cards { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
.card { background: var(--paper); border: 1px solid var(--line); border-radius: 14px; padding: 22px; }
.card p { margin: 0; color: var(--muted); font-size: 16px; }
.card .dot { width: 34px; height: 4px; border-radius: 2px; background: var(--gold); margin-bottom: 14px; }

.steps { counter-reset: step; list-style: none; padding: 0; margin: 0; display: grid; gap: 14px; max-width: 44em; }
.steps li { counter-increment: step; position: relative; padding: 14px 16px 14px 60px; border: 1px solid var(--line); border-radius: 12px; background: var(--paper); }
.steps li::before {
  content: counter(step); position: absolute; left: 16px; top: 13px; width: 30px; height: 30px; border-radius: 50%;
  background: var(--navy); color: #fff; font-weight: 700; display: grid; place-items: center; font-size: 15px;
}

.callout { display: flex; gap: 20px; align-items: center; justify-content: space-between; flex-wrap: wrap; background: var(--navy); color: #fff; border-radius: 16px; padding: 28px; }
.callout h2 { color: #fff; margin-bottom: 4px; }
.callout p { margin: 0; color: rgba(255, 255, 255, 0.8); }

/* Copy the club still has to write or have reviewed: visible on purpose,
   and the site does not go live until none is left (apps/web/README.md). */
.draft { background: var(--draft-bg); border: 1px dashed var(--draft-line); border-radius: 10px; padding: 12px 14px; color: #5c4400; font-size: 15px; }
.draft::before { content: "Draft — "; font-weight: 700; }

/* Footer */
.site-footer { border-top: 1px solid var(--line); padding: 28px 0 40px; color: var(--muted); font-size: 14px; }
.site-footer .wrap { display: flex; gap: 16px 28px; justify-content: space-between; flex-wrap: wrap; }
.site-footer nav { display: flex; gap: 18px; flex-wrap: wrap; }
.site-footer a { color: var(--muted); }

@media (max-width: 860px) {
  .hero .wrap { grid-template-columns: 1fr; }
  .hero-mark { display: none; }
  .cards { grid-template-columns: 1fr; }
}
@media (max-width: 560px) {
  body { font-size: 16px; }
  .site-header .wrap { padding-top: 12px; }
  .site-nav { width: 100%; justify-content: flex-start; padding-bottom: 10px; }
  .site-nav .button { margin-left: 0; }
  section { padding: 40px 0; }
}
@media print {
  .site-header, .site-footer, .hero .actions { display: none; }
  .hero, .page-head { background: none; color: var(--ink); }
}
