/* Aatago marketing site — shared styles. No build step, no frameworks. */
:root {
  --green: #0E5C36;
  --green-dark: #0a4527;
  --volt: #C8F542;
  --ink: #0C1210;
  --offwhite: #F4F7F4;
  --muted: #5c6b62;
  --card: #ffffff;
  --radius: 14px;
}

* { box-sizing: border-box; }

html { scroll-behavior: smooth; }

body {
  margin: 0;
  font-family: "Inter", -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
  color: var(--ink);
  background: var(--offwhite);
  line-height: 1.6;
  font-size: 17px;
}

h1, h2, h3 {
  font-family: "Sora", "Inter", -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
  letter-spacing: -0.01em;
}

h1, h2 { letter-spacing: -0.02em; }

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

a { color: var(--green); }
a:hover { color: var(--green-dark); }

/* ---------- header / nav ---------- */
.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  background: rgba(244, 247, 244, 0.96);
  border-bottom: 1px solid #dde5de;
  backdrop-filter: blur(6px);
}
.nav {
  max-width: 1240px;
  margin: 0 auto;
  padding: 12px 20px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
}
.brand {
  display: flex;
  align-items: center;
  gap: 10px;
  font-weight: 800;
  font-size: 1.35rem;
  color: var(--ink);
  text-decoration: none;
}
.brand img { width: 38px; height: 38px; border-radius: 10px; }
.brand .tagline {
  display: block;
  font-size: 0.68rem;
  font-weight: 600;
  color: var(--muted);
  letter-spacing: 0.02em;
  line-height: 1.2;
  white-space: nowrap;
}
.nav-links { display: flex; align-items: center; gap: 4px; flex-wrap: nowrap; }
.nav-links .btn { margin-left: 4px; }
.nav-links a {
  text-decoration: none;
  color: var(--ink);
  font-weight: 600;
  padding: 8px 12px;
  border-radius: 8px;
  white-space: nowrap;
}
.nav-links .btn { white-space: nowrap; }
.nav-links a:hover { background: #e6ede6; }
.nav-links a.active { color: var(--green); }

/* ---------- sports dropdown ---------- */
.nav-item-drop { position: relative; }
.nav-item-drop>button { background: none; border: 0; font: inherit; font-weight: 600; color: var(--ink); padding: 8px 12px; border-radius: 8px; cursor: pointer; white-space: nowrap; }
.nav-item-drop>button:hover { background: #e6ede6; }
.nav-item-drop>button.active { color: var(--green); }
.nav-drop { position: absolute; top: calc(100% + 6px); left: 0; min-width: 180px; background: #fff; border: 1px solid #dde5de; border-radius: 12px; box-shadow: 0 12px 32px rgba(0,0,0,.14); padding: 6px; display: none; z-index: 60; }
.nav-item-drop.open .nav-drop { display: block; }
.nav-drop a { display: block; padding: 10px 12px; border-radius: 8px; }
.nav-drop a.active { color: var(--green); }

/* ---------- buttons ---------- */
button { font-family: inherit; }
.btn {
  display: inline-block;
  background: var(--volt);
  color: var(--ink);
  font-weight: 700;
  text-decoration: none;
  padding: 14px 28px;
  border-radius: 12px;
  border: 2px solid var(--volt);
  cursor: pointer;
  font-size: 1rem;
}
.btn:hover { background: #b8e63a; border-color: #b8e63a; color: var(--ink); }
.btn-outline {
  background: transparent;
  color: var(--green);
  border: 2px solid var(--green);
}
.btn-outline:hover { background: var(--green); color: #fff; }
.btn-small { padding: 8px 16px; font-size: 0.9rem; }
.btn-dark { background: var(--ink); border-color: var(--ink); color: #fff; }
.btn-dark:hover { background: #1a2421; border-color: #1a2421; color: #fff; }

/* ---------- layout ---------- */
.wrap { max-width: 1120px; margin: 0 auto; padding: 0 20px; }
.section { padding: 48px 0; }
.section-tight { padding: 40px 0; }
.center { text-align: center; }
.lede { font-size: 1.2rem; color: var(--muted); max-width: 680px; }
.center .lede { margin-left: auto; margin-right: auto; }
/* Section headings and their ledes are left-aligned site-wide, so they
   line up with the content below them instead of floating centred. The
   CTA band and hero keep their own centred treatment. */
.section h2.center, .section .lede.center, .section .center .lede { text-align: left; }
.section .center .lede { margin-left: 0; margin-right: 0; }

/* ---------- hero ---------- */
.hero {
  background: var(--ink);
  color: #fff;
  padding: 88px 0 72px;
  position: relative;
  overflow: hidden;
}
.hero h1 {
  font-size: clamp(2.4rem, 5.5vw, 4rem);
  line-height: 1.12;
  margin: 0 0 16px;
  letter-spacing: -0.02em;
}
.hero h1 .volt { color: var(--volt); }
.breadcrumb { font-size: 0.85rem; color: var(--muted); margin: 0 0 12px; }
.breadcrumb a { color: var(--muted); text-decoration: underline; }
.hero p.sub { font-size: 1.25rem; color: #c9d4cc; max-width: 640px; margin: 0 0 32px; }
.hero-cta { display: flex; gap: 12px; flex-wrap: wrap; }
.hero-cta .btn:first-child { min-width: 185px; text-align: center; }
.hero-note { margin-top: 16px; color: #8fa096; font-size: 0.95rem; }

/* ---------- cards / grids ---------- */
.grid { display: grid; gap: 20px; }
.grid-3 { grid-template-columns: repeat(auto-fit, minmax(280px, 1fr)); }
.grid-4 { grid-template-columns: repeat(4, 1fr); }
@media (max-width: 1000px) {
  .grid-4 { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 600px) {
  .grid-4 { grid-template-columns: 1fr; }
}
.grid-2 { grid-template-columns: repeat(auto-fit, minmax(320px, 1fr)); }
.card {
  background: var(--card);
  border: 1px solid #e2e9e2;
  border-radius: var(--radius);
  box-shadow: 0 2px 12px rgba(20, 40, 25, 0.05);
  padding: 28px;
  display: flex;
  flex-direction: column;
}
.card h3 { margin: 0 0 10px; font-size: 1.2rem; }
.card p { margin: 0; color: var(--muted); }
.card .icon { font-size: 2rem; margin-bottom: 12px; display: block; }

.steps { counter-reset: step; }
.step { position: relative; padding-left: 80px; }
.step::before {
  counter-increment: step;
  content: counter(step);
  position: absolute;
  left: 20px; top: 20px;
  width: 44px; height: 44px;
  border-radius: 50%;
  background: var(--green);
  color: #fff;
  font-weight: 800;
  display: flex; align-items: center; justify-content: center;
  font-size: 1.2rem;
}

/* ---------- flow diagrams (how-it-works) ---------- */
.flow {
  display: flex;
  align-items: flex-start;
  margin: 48px auto 0;
  max-width: 1100px;
}
.flow-step {
  flex: 1 1 0;
  min-width: 0;
  text-align: center;
  position: relative;
}
.flow-node {
  width: 72px;
  height: 72px;
  border-radius: 50%;
  background: var(--volt);
  color: var(--ink);
  font-weight: 800;
  font-size: 1.6rem;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  line-height: 1;
}
.flow-done .flow-node {
  background: var(--green);
  color: #fff;
  box-shadow: 0 0 0 5px var(--volt);
}
.flow-label {
  margin: 14px 0 0;
  font-weight: 700;
  font-size: 1.02rem;
  line-height: 1.35;
}
.flow-link {
  flex: 0 0 44px;
  height: 3px;
  margin-top: 35px;
  background: var(--volt);
  border-radius: 2px;
  position: relative;
}
.flow-link::after {
  content: "";
  position: absolute;
  right: -2px;
  top: 50%;
  transform: translateY(-50%);
  border-left: 9px solid var(--volt);
  border-top: 6px solid transparent;
  border-bottom: 6px solid transparent;
}
.flow-note {
  text-align: center;
  color: var(--muted);
  margin-top: 28px;
}
@media (max-width: 900px) {
  .flow {
    flex-direction: column;
    align-items: stretch;
    max-width: 420px;
    margin-left: auto;
    margin-right: auto;
  }
  .flow-step {
    display: flex;
    align-items: center;
    gap: 18px;
    text-align: left;
  }
  .flow-node {
    width: 58px;
    height: 58px;
    font-size: 1.35rem;
    flex-shrink: 0;
  }
  .flow-label { margin: 0; font-size: 1.08rem; }
  .flow-link {
    flex: none;
    width: 3px;
    height: 30px;
    margin: 2px 0 2px 27px;
  }
  .flow-link::after {
    right: auto;
    top: auto;
    bottom: -2px;
    left: 50%;
    transform: translateX(-50%);
    border-left: 6px solid transparent;
    border-right: 6px solid transparent;
    border-top: 9px solid var(--volt);
    border-bottom: none;
  }
  .flow-note { margin-top: 22px; }
}

/* ---------- pricing ---------- */
.billing-toggle { display: flex; gap: 8px; justify-content: center; margin-bottom: 32px; }
.billing-toggle button {
  border: 2px solid var(--green);
  background: transparent;
  color: var(--green);
  font-weight: 700;
  padding: 10px 22px;
  border-radius: 999px;
  cursor: pointer;
  font-size: 1rem;
}
.billing-toggle button.on { background: var(--green); color: #fff; }
.toggle-row { display: flex; gap: 24px; justify-content: center; flex-wrap: wrap; margin-bottom: 32px; }
.toggle-row .billing-toggle { margin-bottom: 0; }
.tier { display: flex; flex-direction: column; }
.tier.featured {
  border: 2px solid var(--green);
  box-shadow: 0 8px 30px rgba(14, 92, 54, 0.12);
  position: relative;
}
.tier .badge {
  position: absolute;
  top: -14px; left: 50%;
  transform: translateX(-50%);
  background: var(--volt);
  color: var(--ink);
  font-weight: 800;
  font-size: 0.8rem;
  padding: 4px 14px;
  border-radius: 999px;
  white-space: nowrap;
}
.tier h3 { font-size: 1.3rem; margin: 0; }
.card .badge {
  display: inline-block;
  background: var(--volt);
  color: var(--ink);
  font-weight: 800;
  font-size: 0.75rem;
  padding: 2px 10px;
  border-radius: 999px;
  white-space: nowrap;
  vertical-align: middle;
}
.tier .price { font-size: 1.6rem; font-weight: 800; margin: 12px 0 0; }
.tier .price small { font-size: 0.9rem; font-weight: 400; color: var(--muted); }
.tier .per-year { color: var(--muted); font-size: 0.9rem; min-height: 1.6em; }
.tier ul { list-style: none; padding: 0; margin: 20px 0; flex: 1; }
.tier li { padding: 6px 0; border-bottom: 1px solid #eef2ee; }
.tier li:last-child { border-bottom: none; }
.tier li.no { color: #aab5ac; }
.check { color: var(--green); font-weight: 700; margin-right: 8px; }

/* Pricing comparison table: one row per feature, so the same feature
   lines up across all four plans (QuickBooks-style compare table). */
.tier .btn { margin-top: auto; }
.tier-compare { overflow-x: auto; margin-top: 28px; border: 1px solid #e3eae3; border-radius: 14px; box-shadow: 0 8px 24px rgba(14, 92, 54, 0.06); }
.compare-table { width: 100%; min-width: 680px; border-collapse: collapse; background: var(--card); table-layout: fixed; }
.compare-table th, .compare-table td { padding: 12px; border-bottom: 1px solid #eef2ee; }
.compare-table th:nth-child(n+2), .compare-table td:nth-child(n+2) { border-left: 1px solid #dbe3db; }
.compare-table thead th { text-align: center; font-size: 1rem; vertical-align: bottom; }
.compare-table thead th:first-child { text-align: left; color: var(--muted); font-size: 0.9rem; }
.compare-table thead td { text-align: center; vertical-align: top; }
.compare-table thead th, .compare-table thead td { border-bottom: none; }
.compare-table thead tr:last-child th, .compare-table thead tr:last-child td { border-bottom: 2px solid #dde5de; }
.compare-table th:nth-child(3), .compare-table td:nth-child(3) { background: #f4f8f3; }
.compare-table .price { font-size: 1.3rem; font-weight: 800; color: var(--ink); white-space: nowrap; }
.compare-table .price small { font-size: 0.85rem; font-weight: 400; color: var(--muted); }
.compare-table .per-year { color: var(--muted); font-size: 0.85rem; line-height: 1.4; min-height: 8.9em; }
.compare-table .plan-badge { display: block; width: fit-content; margin: 0 auto 6px; background: var(--volt); color: var(--ink); font-weight: 800; font-size: 0.7rem; padding: 2px 10px; border-radius: 999px; white-space: nowrap; }
.compare-table thead .btn { display: inline-flex; align-items: center; justify-content: center; width: 100%; height: 44px; padding: 0 8px; font-family: inherit; font-size: 0.9rem; line-height: 1.25; text-align: center; box-sizing: border-box; }
.compare-table tbody th { text-align: left; font-weight: 600; }
.compare-table tbody td { text-align: center; }
.compare-table td.yes { color: var(--green); font-weight: 700; }
.compare-table td.no { color: #c3cdc4; }

/* ---------- faq ---------- */
details.faq {
  background: var(--card);
  border: 1px solid #e2e9e2;
  border-radius: 10px;
  padding: 16px 20px;
  margin-bottom: 12px;
}
details.faq summary {
  font-weight: 700;
  cursor: pointer;
  list-style: none;
}
details.faq summary::-webkit-details-marker { display: none; }
details.faq summary::before { content: "+ "; color: var(--green); font-weight: 800; }
details.faq[open] summary::before { content: "– "; }
details.faq p { margin: 12px 0 0; color: var(--muted); }

/* FAQ audience tabs (how-it-works "Common questions") */
.faq-tabs {
  display: flex;
  gap: 8px;
  justify-content: center;
  flex-wrap: wrap;
  margin: 20px 0 24px;
}
.faq-tab {
  border: 1px solid #cfdccf;
  background: #fff;
  color: var(--ink);
  font: inherit;
  font-weight: 700;
  padding: 10px 22px;
  border-radius: 999px;
  cursor: pointer;
}
.faq-tab:hover { border-color: var(--green); }
.faq-tab[aria-selected="true"] {
  background: var(--green);
  border-color: var(--green);
  color: #fff;
}
.faq-panel[hidden] { display: none; }

/* ---------- forms ---------- */
.form label { display: block; font-weight: 600; margin: 16px 0 6px; }
.form input, .form textarea, .form select {
  width: 100%;
  padding: 12px;
  border: 1px solid #c9d4cc;
  border-radius: 10px;
  font-size: 1rem;
  font-family: inherit;
  background: #fff;
}
.form textarea { min-height: 140px; resize: vertical; }

/* ---------- footer ---------- */
.site-footer {
  background: var(--ink);
  color: #c9d4cc;
  padding: 48px 0 24px;
  margin-top: 64px;
}
.site-footer a { color: #c9d4cc; text-decoration: none; }
.site-footer a:hover { color: var(--volt); }
.footer-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
  gap: 32px;
  max-width: 1120px;
  margin: 0 auto;
  padding: 0 20px;
}
.footer-grid h4 { color: #fff; margin: 0 0 12px; font-size: 1rem; }
.footer-grid ul { list-style: none; padding: 0; margin: 0; }
.footer-grid li { margin-bottom: 8px; }
.footer-bottom {
  max-width: 1120px;
  margin: 32px auto 0;
  padding: 20px 20px 0;
  border-top: 1px solid #223029;
  display: flex;
  justify-content: space-between;
  gap: 12px;
  flex-wrap: wrap;
  font-size: 0.9rem;
  color: #8fa096;
}
.social-links { display: flex; gap: 14px; }
.social-links a { color: #c9d4cc; display: inline-flex; }
.social-links a:hover { color: var(--volt); }

/* ---------- misc ---------- */
.testimonial { font-style: italic; }
.testimonial .who { font-style: normal; font-weight: 700; margin-top: 12px; }
.placeholder-note {
  background: #fff8e1;
  border: 1px dashed #c9a227;
  border-radius: 8px;
  padding: 10px 14px;
  font-size: 0.9rem;
  color: #7a5c00;
  margin-top: 12px;
}
.cta-band {
  background: var(--green);
  color: #fff;
  border-radius: 20px;
  padding: 56px 32px;
  text-align: center;
}
.cta-band h2 { margin: 0 0 12px; font-size: 2rem; }
.cta-band p { color: #d7e4da; max-width: 560px; margin: 0 auto 28px; }
.cta-btns { display: flex; gap: 12px; justify-content: center; flex-wrap: wrap; }

/* ---------- outline buttons on dark + nav backgrounds ---------- */
/* CTA band buttons: the band is dark green, so the default green-on-green
   outline button is invisible until hover. Give it white text/border by
   default (same treatment as the hero buttons' inline white style) and a
   white-fill hover, so load and hover are both visible and distinct. */
.cta-band .btn-outline { color: #fff; border-color: #fff; background: transparent; }
.cta-band .btn-outline:hover { background: #fff; color: var(--green); border-color: #fff; }
/* Nav outline buttons: .nav-links a:hover (higher specificity) would
   otherwise win the hover background, leaving white text on a pale
   background — invisible on hover. Scope the hover to the nav so the
   filled-green hover actually applies. Load state is untouched. */
.nav-links a.btn-outline:hover { background: var(--green); color: #fff; border-color: var(--green); }
/* CTA band paragraph links: the band is dark green and the default link
   green is the same green, so inline links (e.g. "see racquet pricing")
   are invisible on the band. Give them white text with the underline
   kept, in both default and hover states. Buttons are untouched — see
   the rules above. */
.cta-band p a, .cta-band p a:hover { color: #fff; text-decoration: underline; }
table.compare { width: 100%; border-collapse: collapse; background: #fff; border-radius: var(--radius); overflow: hidden; }
table.compare th, table.compare td { padding: 14px 16px; text-align: left; border-bottom: 1px solid #eef2ee; }
table.compare th { background: var(--ink); color: #fff; }

/* ---------- mobile nav (hamburger) ---------- */
.nav-toggle {
  display: none;
  background: none;
  border: 1px solid #d8e2d8;
  border-radius: 8px;
  font-size: 1.35rem;
  line-height: 1;
  padding: 6px 12px;
  cursor: pointer;
  color: var(--ink);
}
/* The full nav only fits on wide screens — below that, use the hamburger
   (a wrapped two-row nav looks broken). */
@media (max-width: 640px) {
  .section { padding: 44px 0; }
  .hero { padding: 60px 0 48px; }
  /* Three hero buttons don't fit side by side on a phone — the third
     wraps onto its own line. Stack them full-width instead. */
  .hero-cta { flex-direction: column; align-items: stretch; }
  .hero-cta .btn { text-align: center; }
}
@media (max-width: 1100px) {
  .nav { position: relative; }
  .nav-toggle { display: block; }
  .nav-links {
    display: none;
    position: absolute;
    top: 100%;
    right: 12px;
    flex-direction: column;
    align-items: stretch;
    background: #fff;
    border: 1px solid #e3eae3;
    border-radius: 12px;
    box-shadow: 0 12px 32px rgba(20,40,25,.14);
    padding: 8px;
    min-width: 210px;
    z-index: 50;
  }
  .nav-links.open { display: flex; }
  .nav-links a { padding: 10px 12px; }
  .nav-links .btn { text-align: center; margin-top: 4px; }
  /* No Sports dropdown on mobile — one flat nav. The Sports button is
     hidden and the three sports show as regular links. */
  .nav-item-drop { position: static; }
  .nav-item-drop > button { display: none; }
  .nav-drop {
    position: static;
    display: block;
    min-width: 0;
    border: 0;
    box-shadow: none;
    background: transparent;
    padding: 0;
  }
  .nav-drop a { padding: 10px 12px; }
}

/* Footer region switcher (Canada | U.S.) */
.region-switcher { display: inline-flex; align-items: center; gap: 8px; }
.region-switcher button {
  background: none; border: none; padding: 0;
  color: #8fa098; font: inherit; font-size: 13px; cursor: pointer;
}
.region-switcher button:hover { text-decoration: underline; }
.region-switcher button.on { color: #e8f0ea; font-weight: 600; text-decoration: underline; }
.region-switcher .region-sep { opacity: 0.4; }

/* ---------- redesigned homepage hero ---------- */
.hero-grid { display: grid; grid-template-columns: 1.15fr 0.85fr; gap: 48px; align-items: center; }
.hero-visual img { width: 100%; height: auto; display: block; border-radius: 20px; box-shadow: 0 24px 60px rgba(0,0,0,.35); }

/* Hero shot - single cutting-edge product image */
.hero-shot { position: relative; width: 100%; border-radius: 20px; overflow: hidden; box-shadow: 0 32px 80px rgba(0,0,0,0.25), 0 8px 24px rgba(0,0,0,0.15); transform: perspective(1200px) rotateY(-4deg) rotateX(2deg); transition: transform 0.4s ease; }
.hero-shot:hover { transform: perspective(1200px) rotateY(0deg) rotateX(0deg); }
.hero-shot img { display: block; width: 100%; height: auto; }
/* Remove old slideshow styles */
.hero-slides { display: none; }
.hero-dots { display: none; }
@media (max-width: 900px) {
  .hero-grid { grid-template-columns: 1fr; gap: 32px; }
  .hero-visual { max-width: 440px; margin: 0 auto; width: 100%; }
  .hero-shot { max-width: 440px; margin: 0 auto; }
}

/* ---------- guest checkout modal ---------- */
.guest-modal {
  position: fixed; inset: 0; z-index: 100;
  background: rgba(10, 20, 16, 0.6);
  display: flex; align-items: center; justify-content: center;
  padding: 20px;
}
.guest-modal[hidden] { display: none; }
.guest-modal-card {
  position: relative;
  background: #fff; border-radius: 16px;
  max-width: 440px; width: 100%;
  padding: 32px 28px 28px;
  box-shadow: 0 24px 60px rgba(0,0,0,.35);
}
.guest-modal-card h3 { margin: 0 0 6px; font-size: 1.4rem; }
.guest-modal-plan { color: #5b6b62; font-size: 0.95rem; margin: 0 0 18px; }
.guest-modal-close {
  position: absolute; top: 10px; right: 14px;
  background: none; border: none; font-size: 1.8rem; line-height: 1;
  color: #8fa098; cursor: pointer;
}
.guest-modal-close:hover { color: var(--ink); }
.guest-modal-card label { display: block; margin-bottom: 14px; font-weight: 600; font-size: 0.95rem; }
.guest-modal-card input {
  display: block; width: 100%; margin-top: 6px;
  padding: 12px 14px; font-size: 1rem;
  border: 2px solid #dfe7e1; border-radius: 10px;
  font-family: inherit;
}
.guest-modal-card input:focus { outline: none; border-color: var(--green); }
.guest-modal-card .btn { width: 100%; margin-top: 6px; }
.guest-modal-card .btn:disabled { opacity: 0.6; cursor: wait; }
.guest-modal-error { color: #b3261e; font-size: 0.9rem; margin: 0 0 10px; }
.guest-modal-note { color: #8fa098; font-size: 0.85rem; text-align: center; margin: 12px 0 0; }
.guest-steps { display: flex; gap: 8px; list-style: none; padding: 0; margin: 0 0 20px; }
.guest-step { flex: 1; display: flex; align-items: center; gap: 6px; font-size: 0.8rem; color: #8fa098; }
.guest-step-num { width: 22px; height: 22px; border-radius: 50%; background: #e8ede9; color: #8fa098; display: flex; align-items: center; justify-content: center; font-size: 0.75rem; font-weight: 700; flex-shrink: 0; }
.guest-step.active { color: #1a2e1f; font-weight: 600; }
.guest-step.active .guest-step-num { background: #1a2e1f; color: #fff; }

/* ---------- hero slider ---------- */
/* All slides stack in one grid cell, so the track is always as tall as the
   tallest slide and the controls below never move when the slide changes. */
.hero-slider { display: grid; }
.hero-slideshow { display: grid; }
.hero-slide { grid-column: 1; grid-row: 1; visibility: hidden; opacity: 0; transition: opacity .3s ease, visibility 0s .3s; }
.hero-slide.active { visibility: visible; opacity: 1; transition: opacity .45s ease .1s, visibility 0s 0s; }
/* Keep every slide's text starting at the same height so the CTAs never jump
   when the slide changes: the slides have different sub lengths, and the
   default vertical centring moved the buttons on every transition. */
.hero-slider .hero-grid { align-items: start; }
.hero-slider .hero-grid .sub { min-height: 3em; }
.hero-eyebrow { display: block; font-size: .8rem; font-weight: 800; letter-spacing: .14em; text-transform: uppercase; color: var(--volt); margin: 0 0 12px; }
.hero-controls { grid-column: 1; grid-row: 2; display: flex; align-items: center; justify-content: center; gap: 16px; margin-top: 28px; }
.hero-arrow { width: 36px; height: 36px; border-radius: 50%; border: 1px solid rgba(255, 255, 255, .3); background: transparent; color: #fff; font-size: 1.2rem; line-height: 1; cursor: pointer; flex-shrink: 0; }
.hero-arrow:hover { background: rgba(255, 255, 255, .15); }
.hero-dots { display: flex; gap: 8px; }
.hero-dots button { width: 10px; height: 10px; padding: 0; border: none; border-radius: 50%; background: rgba(255, 255, 255, .35); cursor: pointer; }
.hero-dots button[aria-current="true"] { background: var(--volt); }
@media (prefers-reduced-motion: reduce) {
  .hero-slide, .hero-slide.active { transition: none; }
}

/* ---------- nav breathing room ---------- */
/* The header is nearly full-width, so the gap between the brand and the
   first nav link was only the 16px flex gap. Widen the gap and slim the
   link padding so the logo has clear air without overflowing the wrap. */
.nav { gap: 28px; }
.nav-links a { padding-left: 9px; padding-right: 9px; }

/* ---------- hero slider: consistent heights ---------- */
/* Every slide stretches to the tallest slide's height. Pin each slide's
   CTA buttons to the bottom of the slide, so the buttons sit at the same
   height on every slide — on any screen width — instead of jumping up
   and down as the slider advances. */

/* ---------- card header rows ---------- */
/* ONE card model, every family, every viewport. The old model gave
   pattern-card headings a fixed 3-line zone (h3 min-height: 4.8em) so
   descriptions would start aligned across a row. On a one-line heading
   that reserve left about 2 lines of dead space between the heading
   text and the description -- the gap in the 2026-10-29 homepage
   screenshot. (The old comment claimed align-content prevented this;
   it did not -- the gap sat inside the heading box, between the heading
   text and the next flex line.) The reserve is gone: every header row
   is natural height and the description starts 10px below it. Rows no
   longer trade alignment for dead space.
   - Pattern cards (.player-cards / .admin-cards) have no header wrapper
     in the markup (icon span + h3 + p siblings), so the card is a grid:
     icon + heading share row 1, each paragraph spans both columns
     below. Row 2 grows (1fr), so a trailing link paragraph lands at the
     bottom of a stretched card while the description stays packed under
     the heading.
   - Every other card is the base column flex: icon above, heading,
     description, trailing link.
   - A trailing link on a column card pins to the bottom (margin-top:
     auto + 16px gap) so CTAs line up across a row. Never put a fixed
     top margin on a card link.
   - Grid rows stretch cards to equal height (the grid default); a short
     card's free space sits below its content, never between heading and
     text. On a one-column mobile grid each row is exactly its card's
     content height, so there is no stretch gap either.
   Rule order matters here: the generic :has() pin rule comes first, and
   the pattern link rules come last so they beat the generic pin on the
   paragraph. Specificity trap: :has() takes its argument's specificity,
   so a generic `.card:has(...)` display rule (0,2,2) outranked the
   pattern `.admin-cards .card` grid rule (0,2,0) and flipped any pattern
   card ending with a link back to column flex (the racquet "Players
   never pay" card). The generic display declaration was redundant --
   base .card is already column flex -- so it is gone; only the
   paragraph pin remains, and pattern cards stay grids. */
/* Every column card that ends with a link: pin that link to the bottom,
   so "Learn more", "Read the guide" and "See ..." links all sit at the
   same height in a row no matter how long each card's text is. Cards
   without a link are untouched. */
/* No display rule here on purpose: base .card is already column flex, and a display declaration on this :has() selector would outrank the pattern grid rule (see the specificity trap in the model comment above). */
.card:has(> p:last-child > a) > p:last-child { margin-top: auto; padding-top: 16px; }

/* Pattern cards: grid, not flex -- see the model note above. */
/* Header-row alignment: icon and heading share the heading's FIRST line.
   The icon's line box is exactly its glyph height (line-height: 1, not
   the body's 1.6), and both row-1 items sit at the top of the row.
   The v15 centre alignment dropped the icon to the middle of a
   multi-line heading block, so icons in one row sat at different
   heights -- tallest block, lowest icon. Top alignment puts every icon
   on one line, by its heading's first line, for single- and multi-line
   headings alike; the residual offset is a couple of pixels (icon box
   2rem vs first-line box 1.2rem x 1.6), far inside normal emoji ink
   variation. The grid keeps align-items: start on purpose: the
   description row still starts at the top of row 2. */
.player-cards .card, .admin-cards .card { display: grid; grid-template-columns: auto 1fr; grid-template-rows: auto 1fr; align-items: start; }
.player-cards .card .icon, .admin-cards .card .icon { grid-column: 1; grid-row: 1; margin: 0 12px 0 0; line-height: 1; align-self: start; }
.player-cards .card h3, .admin-cards .card h3 { grid-column: 2; grid-row: 1; margin: 0; min-width: 0; align-self: start; }
.player-cards .card p, .admin-cards .card p { grid-column: 1 / -1; margin: 10px 0 0; }

/* Sports cards: column flex with a header row. The header is natural
   height (never reserved) and the description follows 10px below it,
   same as every other card. The trailing "See ..." link pins via the
   generic :has() rule above -- there is deliberately no sport-card-only
   pin rule, so a link-less sport card can never have its description
   pushed to the bottom. */
.sport-card { display: flex; flex-direction: column; }
.sport-card .card-head { display: flex; align-items: flex-start; gap: 12px; margin-bottom: 10px; }
.sport-card .card-head .icon { margin: 0; flex-shrink: 0; }
.sport-card .card-head h3 { margin: 0; }

/* Pattern cards: a description paragraph that merely contains an inline
   link (e.g. the "see racquet pricing" link) flows normally -- nothing
   to pin, and pinning it would push the whole description to the
   bottom. */
.player-cards .card:has(> p:last-child > a) > p:last-child, .admin-cards .card:has(> p:last-child > a) > p:last-child { margin-top: 10px; padding-top: 0; }
/* Pattern cards: a trailing CTA paragraph (Learn more / See ... -- always
   a <strong> link) gets the 16px gap above it; its grid row already
   sits at the bottom of a stretched card. This rule comes after the
   one above so strong links win the tie. */
.player-cards .card:has(> p:last-child > a > strong) > p:last-child,
.admin-cards .card:has(> p:last-child > a > strong) > p:last-child { margin-top: auto; padding-top: 16px; }

/* A hidden card (e.g. filtered out by the blog sport tabs) stays hidden
   even though the rules above set display:flex/grid. Must come after
   them. */
.card[hidden] { display: none; }

/* ---------- add-on toggle (pricing) ---------- */
/* Sits right below the pricing table: one switch for the Finances add-on. */
.addon-toggle { display: flex; align-items: center; justify-content: space-between; gap: 16px; background: var(--card); border: 1px solid #e2e9e2; border-radius: var(--radius); box-shadow: 0 2px 12px rgba(20, 40, 25, 0.05); padding: 20px 24px; margin-top: 20px; }
.addon-toggle-text strong { display: block; font-size: 1.05rem; }
.addon-toggle-text span { color: var(--muted); font-size: 0.95rem; }
.addon-toggle-right { display: flex; align-items: center; gap: 14px; flex-shrink: 0; }
.addon-price { font-weight: 800; font-size: 1.05rem; white-space: nowrap; }
.switch { position: relative; width: 52px; height: 30px; border: none; border-radius: 999px; background: #c9d4cc; cursor: pointer; padding: 0; flex-shrink: 0; transition: background .2s ease; }
.switch span { position: absolute; top: 3px; left: 3px; width: 24px; height: 24px; border-radius: 50%; background: #fff; box-shadow: 0 1px 4px rgba(0,0,0,.25); transition: left .2s ease; }
.switch[aria-checked="true"] { background: var(--green); }
.switch[aria-checked="true"] span { left: 25px; }
@media (max-width: 640px) {
  .addon-toggle { flex-direction: column; align-items: flex-start; }
}

/* ---------- features compact list ---------- */
/* Two-column name + one-liner list for the non-hero features on the
   features page. Plain rows, not cards, so the page stops being a wall
   of identical cards. */
.feature-list { display: grid; grid-template-columns: repeat(2, 1fr); gap: 12px 32px; list-style: none; padding: 0; margin: 24px 0 0; }
.feature-list li { color: var(--muted); line-height: 1.5; }
.feature-list li strong { color: var(--ink); }
.feature-list li a { text-decoration: none; }
.feature-list li a:hover { text-decoration: underline; }
.feature-list .badge { display: inline-block; background: var(--volt); color: var(--ink); font-weight: 800; font-size: 0.75rem; padding: 2px 10px; border-radius: 999px; white-space: nowrap; vertical-align: middle; }
@media (max-width: 640px) {
  .feature-list { grid-template-columns: 1fr; }
}

/* ---------- mobile card spacing ---------- */
/* At ≤640px, card grids stop stretching cards to the tallest in the
   row: a short card no longer gets dead space above a pinned link,
   because the card hugs its content and margin-top:auto absorbs
   nothing. There is no heading reserve left to disable -- the model
   above has no min-height zone at any viewport, so stacked cards have
   no dead space between heading and text on phones either. Desktop
   rules above are untouched: equal-height rows and pinned links still
   apply above 640px. */
@media (max-width: 640px) {
  .grid-3, .grid-2, .grid-4 { align-items: start; }
}

/* ---------- fancy pass (2026-11-03): depth + motion, no images ---------- */
.hero {
  background:
    radial-gradient(640px 320px at 85% -10%, rgba(200, 245, 66, 0.16), transparent 70%),
    radial-gradient(520px 380px at -10% 110%, rgba(14, 92, 54, 0.55), transparent 70%),
    linear-gradient(180deg, #0C1210 0%, #0a2018 100%);
  border-bottom: 1px solid transparent;
  border-image: linear-gradient(90deg, transparent, var(--volt), transparent) 1;
}
/* Hero slides have visuals again: text on the left, image on the right
   (the 1.15fr / 0.85fr split in .hero-grid above). */

.btn { transition: transform .15s ease, box-shadow .15s ease, background .15s ease, border-color .15s ease; }
.btn:not(.btn-outline):not(.btn-dark) {
  background: linear-gradient(180deg, #d6fa62, var(--volt));
  box-shadow: 0 8px 20px rgba(20, 40, 25, 0.20);
}
.btn:not(.btn-outline):not(.btn-dark):hover {
  background: linear-gradient(180deg, #defe78, #b8e63a);
  transform: translateY(-1px);
  box-shadow: 0 12px 26px rgba(20, 40, 25, 0.24);
}
.btn-outline:hover, .btn-dark:hover { transform: translateY(-1px); }

.card { position: relative; transition: transform .2s ease, box-shadow .2s ease; }
.card::before {
  content: ""; position: absolute; top: 0; left: 24px; right: 24px; height: 3px;
  border-radius: 3px;
  background: linear-gradient(90deg, var(--green), var(--volt));
  opacity: 0; transition: opacity .2s ease;
}
.card:hover { transform: translateY(-4px); box-shadow: 0 16px 36px rgba(20, 40, 25, 0.12); }
.card:hover::before { opacity: 1; }
.card .icon {
  width: 52px; height: 52px; border-radius: 14px;
  background: linear-gradient(180deg, #F4F7F4, #e6ede6);
  display: inline-flex; align-items: center; justify-content: center;
  font-size: 1.6rem; margin-bottom: 16px;
}

.cta-band {
  background:
    radial-gradient(420px 420px at 90% -20%, rgba(200, 245, 66, 0.20), transparent 70%),
    linear-gradient(135deg, var(--green) 0%, #0a3d27 55%, var(--ink) 130%);
  box-shadow: 0 24px 48px rgba(20, 40, 25, 0.22);
}

.step::before { background: linear-gradient(135deg, var(--green), #0a3d27); }

.nav-links a { transition: background .15s ease; }

@keyframes hero-rise { from { opacity: 0; transform: translateY(14px); } to { opacity: 1; transform: translateY(0); } }
.hero-eyebrow { animation: hero-rise .6s ease both; }
.hero h1 { animation: hero-rise .6s ease .05s both; }
.hero p.sub { animation: hero-rise .6s ease .15s both; }
.hero-cta { animation: hero-rise .6s ease .25s both; }
.hero-note { animation: hero-rise .6s ease .35s both; }
@media (prefers-reduced-motion: reduce) {
  .hero-eyebrow, .hero h1, .hero p.sub, .hero-cta, .hero-note { animation: none; }
  .btn, .card { transition: none; }
}
