/* Page Raisers
   Built from the Page Raisers design system.
   teal #086B6E  magenta #A2155E  yellow #F2C231
   ink #1D1F23   cream #FBF6E9    paper #FFFDF7 */

:root {
  --teal: #086B6E;
  --teal-dark: #055053;
  --magenta: #A2155E;
  --yellow: #F2C231;
  --ink: #1D1F23;
  --cream: #FBF6E9;
  --paper: #FFFDF7;
  --teal-wash: #D8EFEE;
  --magenta-wash: #F9DFEB;
  --yellow-wash: #FDF0C4;
  --rule: #C3DEDD;
  --muted: #4A5560;

  --sp-2: 8px;
  --sp-4: 16px;
  --sp-6: 24px;
  --sp-8: 32px;
  --sp-12: 48px;
  --sp-16: 64px;
  --sp-24: 96px;

  --r-sm: 6px;
  --r-md: 12px;
  --r-lg: 20px;
  --r-pill: 999px;

  --wrap: 1080px;
  --narrow: 720px;
}

* { box-sizing: border-box; }

html { scroll-behavior: smooth; }

body {
  margin: 0;
  background: var(--cream);
  color: var(--ink);
  font-family: "Atkinson Hyperlegible", system-ui, -apple-system, sans-serif;
  font-size: 18px;
  line-height: 1.5;
  text-align: left;
  -webkit-font-smoothing: antialiased;
}

.wrap { max-width: var(--wrap); margin: 0 auto; padding: 0 var(--sp-6); }
.narrow { max-width: var(--narrow); }

h1, h2, h3 { font-weight: 700; line-height: 1.2; margin: 0 0 var(--sp-4); }
h1 { font-size: clamp(32px, 6vw, 52px); line-height: 1.1; }
h2 { font-size: clamp(24px, 4vw, 32px); color: var(--teal); }
h3 { font-size: 22px; }
p  { margin: 0 0 var(--sp-4); max-width: 68ch; }
a  { color: var(--teal); }
a:hover { color: var(--teal-dark); }

.accent { color: var(--magenta); }
.lede { font-size: clamp(19px, 2.4vw, 22px); }
.small { font-size: 15px; color: var(--muted); }

/* ---------- header ---------- */

.site-head {
  background: var(--paper);
  border-bottom: 1px solid var(--rule);
  position: sticky; top: 0; z-index: 50;
}
.site-head .wrap {
  display: flex; align-items: center; gap: var(--sp-6);
  min-height: 72px; flex-wrap: wrap;
}
.brand { display: flex; align-items: center; gap: 11px; text-decoration: none; }
.brand img { width: 48px; height: auto; display: block; flex: none; }
.brand .txt { display: flex; flex-direction: column; gap: 2px; }
.site-foot .brand img { width: 54px; }
.site-foot .brand { margin-bottom: var(--sp-2); }
.wordmark {
  font-family: "Fredoka", "Atkinson Hyperlegible", system-ui, sans-serif;
  font-weight: 600; font-size: 26px; color: var(--teal); line-height: 1;
}
.rally { font-size: 13px; font-weight: 700; color: var(--magenta); }
nav { margin-left: auto; display: flex; gap: var(--sp-6); align-items: center; flex-wrap: wrap; }
nav a { text-decoration: none; font-weight: 700; font-size: 16px; }
nav a[aria-current="page"] { border-bottom: 2.5px solid var(--magenta); }

/* ---------- buttons ---------- */

.btn {
  display: inline-block; text-decoration: none; font-weight: 700;
  padding: 14px 26px; border-radius: var(--r-pill);
  background: var(--teal); color: #fff; border: 2px solid var(--teal);
  font-size: 17px;
}
.btn:hover { background: var(--teal-dark); border-color: var(--teal-dark); color: #fff; }
.btn.ghost { background: transparent; color: var(--teal); }
.btn.ghost:hover { background: var(--teal-wash); color: var(--teal-dark); }
.btn.mag { background: var(--magenta); border-color: var(--magenta); }
.btn.mag:hover { background: #7d1049; border-color: #7d1049; }
.btn-row { display: flex; gap: var(--sp-4); flex-wrap: wrap; margin-top: var(--sp-6); }

/* ---------- sections ---------- */

section { padding: var(--sp-16) 0; }
section.tight { padding: var(--sp-12) 0; }
section.paper { background: var(--paper); }
section.tealwash { background: var(--teal-wash); }

.hero { padding: var(--sp-24) 0 var(--sp-16); }
.hero h1 { max-width: 16ch; }
.hero p { font-size: clamp(19px, 2.4vw, 23px); max-width: 54ch; }

/* ---------- cards ---------- */

.cards { display: grid; gap: var(--sp-6); margin-top: var(--sp-8); }
.cards.three { grid-template-columns: repeat(auto-fit, minmax(270px, 1fr)); }
.cards.two   { grid-template-columns: repeat(auto-fit, minmax(320px, 1fr)); }

.card {
  background: var(--paper); border: 1px solid var(--rule);
  border-radius: var(--r-md); padding: var(--sp-6);
}
.card.pick { border: 2.5px solid var(--teal); }
.card h3 { color: var(--teal); margin-bottom: var(--sp-2); }
.card p:last-child { margin-bottom: 0; }

.tag {
  display: inline-block; background: var(--yellow); color: var(--ink);
  font-size: 13px; font-weight: 700; padding: 3px 12px;
  border-radius: var(--r-pill); margin-bottom: var(--sp-2);
}

.money { font-size: 34px; font-weight: 700; color: var(--magenta); line-height: 1; }
.money small { display: block; font-size: 14px; font-weight: 400; color: var(--muted); margin-top: 4px; }

/* ---------- steps ---------- */

ol.steps { list-style: none; counter-reset: s; padding: 0; margin: var(--sp-8) 0 0; }
ol.steps li {
  counter-increment: s; position: relative;
  padding-left: 56px; margin-bottom: var(--sp-6); max-width: 64ch;
}
ol.steps li::before {
  content: counter(s); position: absolute; left: 0; top: -2px;
  width: 38px; height: 38px; border-radius: 50%;
  background: var(--teal); color: #fff;
  display: flex; align-items: center; justify-content: center;
  font-weight: 700; font-size: 18px;
}
ol.steps strong { display: block; }

/* ---------- table ---------- */

.tablewrap { overflow-x: auto; margin-top: var(--sp-8); }
table { width: 100%; border-collapse: collapse; min-width: 560px; }
th {
  text-align: left; font-weight: 700; color: var(--teal);
  padding: 12px 16px 12px 0; border-bottom: 2px solid var(--teal); vertical-align: bottom;
}
td { padding: 14px 16px 14px 0; border-bottom: 1px solid var(--rule); vertical-align: top; }
th.num, td.num { text-align: right; padding-right: 0; }
tr.best td { background: var(--magenta-wash); }
tr.best td.num { font-weight: 700; color: var(--magenta); }
td .mname { font-weight: 700; display: block; }

/* ---------- note ---------- */

.note {
  border-left: 4px solid var(--teal); background: var(--teal-wash);
  padding: var(--sp-4) var(--sp-6); border-radius: 0 var(--r-md) var(--r-md) 0;
  margin: var(--sp-6) 0;
}
.note.warm { border-left-color: var(--magenta); background: var(--magenta-wash); }
.note p:last-child { margin-bottom: 0; }

/* ---------- faq ---------- */

.faq { margin-top: var(--sp-8); }
.faq details {
  border-bottom: 1px solid var(--rule); padding: var(--sp-4) 0;
}
.faq summary {
  font-weight: 700; font-size: 19px; cursor: pointer; color: var(--teal);
  list-style: none; display: flex; justify-content: space-between; gap: var(--sp-4);
}
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: "+"; font-size: 24px; line-height: 1; color: var(--magenta); }
.faq details[open] summary::after { content: "\2013"; }
.faq details p { margin-top: var(--sp-4); }
.faq details p:last-child { margin-bottom: 0; }

/* ---------- group page ---------- */

.grouphero { background: var(--paper); border-bottom: 1px solid var(--rule); }
.grouphero .wrap { display: grid; gap: var(--sp-12); align-items: center;
                   grid-template-columns: 1fr; padding-top: var(--sp-16); padding-bottom: var(--sp-16); }
@media (min-width: 860px) { .grouphero .wrap { grid-template-columns: 1.1fr 0.9fr; } }
.coverimg {
  width: 100%; max-width: 380px; border-radius: var(--r-md);
  border: 1px solid var(--rule); display: block;
  box-shadow: 0 10px 30px rgba(8,107,110,0.13);
}
.progress { margin-top: var(--sp-6); max-width: 440px; }
.bar { height: 16px; border-radius: var(--r-pill); background: var(--teal-wash); overflow: hidden; }
.bar > span { display: block; height: 100%; background: var(--magenta); border-radius: var(--r-pill); }
.progress .small { margin-top: var(--sp-2); }

/* ---------- footer ---------- */

.site-foot {
  background: var(--teal); color: #fff; padding: var(--sp-12) 0; margin-top: var(--sp-16);
}
.site-foot a { color: #fff; }
.site-foot .wrap { display: flex; gap: var(--sp-8); flex-wrap: wrap; justify-content: space-between; }
.site-foot .wordmark { color: #fff; }
.site-foot .rally { color: var(--yellow); }
.site-foot p { font-size: 15px; margin: var(--sp-4) 0 0; opacity: 0.92; }
.site-foot nav { margin: 0; gap: var(--sp-6); }
.site-foot nav a { font-size: 15px; }

/* ---------- a11y ---------- */

.skip {
  position: absolute; left: -9999px; background: var(--paper); color: var(--teal);
  padding: 12px 20px; border-radius: var(--r-sm); font-weight: 700; z-index: 100;
}
.skip:focus { left: var(--sp-6); top: var(--sp-2); }
:focus-visible { outline: 3px solid var(--magenta); outline-offset: 3px; border-radius: 4px; }

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  * { animation: none !important; transition: none !important; }
}


/* ---------- leader kit ---------- */

.kitgrid { display: grid; gap: var(--sp-6); margin-top: var(--sp-8);
           grid-template-columns: repeat(auto-fit, minmax(240px, 1fr)); }
.kititem { background: var(--paper); border: 1px solid var(--rule);
           border-radius: var(--r-md, 12px); padding: var(--sp-5);
           display: flex; flex-direction: column; }
.kititem img { width: 100%; aspect-ratio: 4 / 5; object-fit: contain; object-position: top center;
               display: block; border: 1px solid var(--rule);
               border-radius: 6px; background: #fff; margin-bottom: var(--sp-4); padding: 6px; }
.kititem h3 { color: var(--teal); margin: 0 0 6px; font-size: 19px; }
.kititem p { font-size: 15.5px; margin: 0 0 var(--sp-4); }
.kititem .dl { margin-top: auto; font-weight: 700; text-decoration: none; font-size: 15.5px; }
.kititem .dl::after { content: " \2193"; }
.kitnote { font-size: 15px; color: var(--muted); margin-top: var(--sp-4); }
