/* ShadowSwing — marketing site styles */
/* Cached by browsers for 4 hours. After editing this file, update the ?v= on every
   <link rel="stylesheet"> (first 8 hex of its sha256), or visitors get new HTML with old styles. */

:root {
  --blue-1: #33476b;
  --blue-2: #2b3c5b;
  --blue-3: #22304a;
  --accent: #ccff00;
  --ink: #1a2640;
  --text: #f2f5f1;
  --muted: #a9b6cc;
  --soft: #cdd6e4;
  --card: rgba(255, 255, 255, .06);
  --card-border: rgba(255, 255, 255, .08);
  --radius: 18px;
  --maxw: 1080px;
  --font-display: "Barlow Condensed", "Helvetica Neue", "Arial Narrow", system-ui, -apple-system, "Segoe UI", sans-serif;
  --font-body: "Barlow", system-ui, -apple-system, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
}

*, *::before, *::after { box-sizing: border-box; }

html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }

body {
  margin: 0;
  font-family: var(--font-body);
  font-size: 17px;
  line-height: 1.65;
  color: var(--text);
  background-color: var(--blue-3);
  background-image:
    radial-gradient(1100px 620px at 50% -8%, rgba(255, 255, 255, .10), rgba(255, 255, 255, 0) 62%),
    radial-gradient(900px 900px at 50% 120%, rgba(0, 0, 0, .38), rgba(0, 0, 0, 0) 70%),
    linear-gradient(170deg, var(--blue-1) 0%, var(--blue-2) 48%, var(--blue-3) 100%);
  background-attachment: scroll;
  background-repeat: no-repeat;
  min-height: 100%;
  overflow-x: hidden;
}

/* Grain overlay */
.grain {
  position: fixed;
  inset: 0;
  width: 100%;
  height: 100%;
  z-index: 0;
  pointer-events: none;
  mix-blend-mode: overlay;
  opacity: .45;
}

.page { position: relative; z-index: 1; }

.wrap {
  width: 100%;
  max-width: var(--maxw);
  margin: 0 auto;
  padding: 0 20px;
}

/* Typography */
h1, h2, h3, h4 {
  font-family: var(--font-display);
  font-weight: 800;
  line-height: 1.03;
  letter-spacing: .005em;
  margin: 0 0 .4em;
  text-transform: uppercase;
}

h1 { font-size: clamp(44px, 11vw, 92px); }
h2 { font-size: clamp(30px, 6vw, 46px); }
h3 { font-size: clamp(21px, 3.4vw, 26px); }
h4 { font-size: 19px; text-transform: none; letter-spacing: 0; }

p { margin: 0 0 1em; }
a { color: var(--accent); text-decoration: none; }
a:hover, a:focus-visible { text-decoration: underline; }
:focus-visible { outline: 2px solid var(--accent); outline-offset: 3px; border-radius: 6px; }

ul, ol { padding-left: 1.15em; }
li { margin: 0 0 .45em; }
strong { color: #fff; }
hr { border: 0; border-top: 1px solid var(--card-border); margin: 40px 0; }

/* Header */
.site-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  padding: 18px 0 8px;
}

.brand { display: flex; align-items: center; gap: 10px; color: var(--text); font-family: var(--font-display); font-weight: 800; text-transform: uppercase; font-size: 22px; letter-spacing: .02em; }
.brand:hover { text-decoration: none; }
.brand svg { display: block; width: 34px; height: 34px; border-radius: 9px; }

.site-nav { display: flex; gap: 18px; flex-wrap: wrap; font-size: 15px; justify-content: flex-end; }
.brand-name { white-space: nowrap; }
@media (max-width: 599px) {
  .brand-name { display: none; }          /* icon only on phones */
  .site-nav { gap: 14px; font-size: 14px; }
}
.site-nav a { color: var(--soft); }

/* Hero */
.hero { position: relative; padding: 34px 0 12px; text-align: center; }
.hero-court {
  position: absolute;
  top: -30px;
  left: 50%;
  transform: translateX(-50%);
  width: min(620px, 100%);
  height: auto;
  opacity: .16;
  pointer-events: none;
  z-index: -1;
}
.hero-mark { width: 104px; height: 104px; display: block; margin: 0 auto 18px; border-radius: 26px; }
.hero h1 { margin-bottom: .12em; }
.tagline { font-family: var(--font-display); font-weight: 800; text-transform: uppercase; font-size: clamp(19px, 4vw, 27px); color: var(--accent); margin: 0 0 .35em; letter-spacing: .02em; }
/* The category line lives inside the H1 so search engines read "swing trainer",
   while it looks exactly like the old tagline beneath the name. */
.hero .hero-title { display: flex; flex-direction: column; align-items: center; gap: .12em; margin: 0 0 .35em; }
.hero .hero-title .tagline { line-height: 1.15; margin: 0; max-width: 30ch; text-wrap: balance; }
.kicker { color: var(--soft); font-size: 18px; max-width: 46ch; margin: 0 auto 1.4em; }

/* Buttons */
.cta-row { display: flex; flex-wrap: wrap; gap: 12px; justify-content: center; align-items: center; margin-bottom: 14px; }
.btn {
  display: inline-block;
  font-family: var(--font-display);
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: .04em;
  font-size: 19px;
  padding: 13px 28px;
  border-radius: var(--radius);
  border: 1.5px solid transparent;
  cursor: pointer;
}
.btn:hover, .btn:focus-visible { text-decoration: none; }
.btn-primary { background: var(--accent); color: var(--ink); }
.btn-primary:hover { filter: brightness(1.06); }
.btn-secondary { border-color: rgba(255, 255, 255, .35); color: var(--text); background: transparent; }
.btn-secondary:hover { border-color: rgba(255, 255, 255, .6); }

.badge {
  display: inline-block;
  font-family: var(--font-display);
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: .08em;
  font-size: 13px;
  color: var(--soft);
  border: 1px solid var(--card-border);
  background: var(--card);
  border-radius: 999px;
  padding: 7px 15px;
}

.safety {
  margin: 22px auto 0;
  max-width: 44ch;
  font-size: 15px;
  color: var(--muted);
}

/* Sections */
section { padding: 46px 0; }
.section-lead { color: var(--soft); max-width: 62ch; }
.eyebrow { font-family: var(--font-display); font-weight: 800; text-transform: uppercase; letter-spacing: .14em; font-size: 13px; color: var(--accent); margin: 0 0 .5em; }

/* Cards & grids */
.grid { display: grid; gap: 16px; grid-template-columns: 1fr; }
@media (min-width: 720px) { .grid-3 { grid-template-columns: repeat(3, 1fr); } .grid-2 { grid-template-columns: repeat(2, 1fr); } }

.card {
  background: var(--card);
  border: 1px solid var(--card-border);
  border-radius: var(--radius);
  padding: 22px;
}
.card h3 { margin-bottom: .35em; }
.card .card-tag { font-family: var(--font-display); font-weight: 800; text-transform: uppercase; letter-spacing: .06em; font-size: 15px; color: var(--accent); margin: 0 0 .6em; }
.card p:last-child, .card ul:last-child { margin-bottom: 0; }
.step-n { font-family: var(--font-display); font-weight: 800; font-size: 40px; line-height: 1; color: var(--accent); display: block; margin-bottom: 6px; }

.feature-list { list-style: none; padding: 0; margin: 0; }
.feature-list li { position: relative; padding-left: 26px; }
.feature-list li::before {
  content: "";
  position: absolute;
  left: 2px;
  top: .62em;
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background: var(--accent);
}

/* Pricing */
.price-row { display: grid; gap: 16px; grid-template-columns: 1fr; margin-top: 18px; }
@media (min-width: 720px) { .price-row { grid-template-columns: repeat(3, 1fr); } }
.price { font-family: var(--font-display); font-weight: 800; font-size: 38px; line-height: 1; color: var(--accent); display: block; margin: 4px 0 6px; }
.price-note { color: var(--muted); font-size: 15px; }

/* FAQ */
.faq details {
  background: var(--card);
  border: 1px solid var(--card-border);
  border-radius: var(--radius);
  padding: 16px 20px;
  margin-bottom: 12px;
}
.faq summary {
  cursor: pointer;
  font-family: var(--font-display);
  font-weight: 800;
  text-transform: uppercase;
  font-size: 20px;
  letter-spacing: .01em;
  list-style: none;
}
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: "+"; float: right; color: var(--accent); margin-left: 12px; }
.faq details[open] summary::after { content: "\2212"; }
.faq details > p { margin-top: .8em; color: var(--soft); }
.faq details > p:last-child { margin-bottom: 0; }

/* Legal / prose pages */
.prose { max-width: 74ch; margin: 0 auto; }
.prose section { padding: 0; }   /* the 46px homepage section rhythm is far too loose for running text */
.prose h2 { margin-top: 1.5em; margin-bottom: .5em; font-size: clamp(24px, 4.4vw, 32px); }
.prose h3 { margin-top: 1.3em; }
.prose p, .prose li { color: var(--soft); }
.meta { color: var(--muted); font-size: 15px; }

/* Footer */
.site-footer {
  border-top: 1px solid var(--card-border);
  margin-top: 30px;
  padding: 28px 0 46px;
  color: var(--muted);
  font-size: 15px;
}
.footer-links { display: flex; flex-wrap: wrap; gap: 16px; margin-bottom: 12px; }
.footer-links a { color: var(--soft); }

/* Analytics consent bar (analytics.js) */
.consent-bar {
  position: fixed;
  left: 12px; right: 12px; bottom: 12px;
  z-index: 50;
  max-width: 560px;
  margin: 0 auto;
  padding: 14px 16px;
  background: var(--blue-2);
  border: 1px solid rgba(255, 255, 255, .14);
  border-radius: var(--radius);
  box-shadow: 0 12px 32px rgba(0, 0, 0, .35);
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 10px 16px;
  font-size: 15px;
  color: var(--soft);
}
.consent-bar p { margin: 0; flex: 1 1 260px; }
.consent-actions { display: flex; gap: 8px; }
.consent-bar .btn { font-size: 15px; padding: 9px 16px; border-radius: 12px; }

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation-duration: .001ms !important; transition-duration: .001ms !important; }
}

/* Guides */
.guide { max-width: 70ch; }
.guide-head { margin: 8px 0 28px; }
.guide-head h1 { font-size: clamp(34px, 7vw, 56px); line-height: 1.02; text-wrap: balance; margin: 0 0 .45em; }
.guide-lead { font-size: 19px; line-height: 1.5; color: var(--soft); max-width: 58ch; margin: 0 0 .9em; }
.toc { border: 1px solid var(--card-border); background: var(--card); border-radius: var(--radius); padding: 16px 20px; margin: 0 0 8px; }
.toc ol { margin: 0; padding-left: 1.2em; columns: 2; column-gap: 28px; }
.toc li { color: var(--soft); font-size: 15px; margin: .15em 0; break-inside: avoid; }
.toc a { color: var(--soft); }
.toc a:hover { color: var(--accent); }
@media (max-width: 599px) { .toc ol { columns: 1; } }
.drill { border-left: 3px solid var(--accent); padding: 2px 0 2px 18px; margin: 22px 0; }
.drill h3 { margin-top: 0; }
.drill p:last-child { margin-bottom: 0; }
.cue { font-size: 15px; color: var(--muted); }
.cue strong { color: var(--accent); }
.table-wrap { overflow-x: auto; margin: 16px 0; }
.plan { width: 100%; border-collapse: collapse; font-size: 15px; }
.plan th, .plan td { text-align: left; padding: 10px 12px; border-bottom: 1px solid var(--card-border); vertical-align: top; color: var(--soft); }
.plan th { font-family: var(--font-display); font-weight: 800; text-transform: uppercase; letter-spacing: .08em; font-size: 13px; color: var(--muted); }
.plan td:first-child { white-space: nowrap; font-variant-numeric: tabular-nums; color: var(--text); }
.callout { border: 1px solid rgba(204, 255, 0, .35); background: rgba(204, 255, 0, .06); border-radius: var(--radius); padding: 22px 24px; margin: 26px 0 8px; }
.callout h3 { margin: 0 0 .4em; }
.callout p:last-child { margin: 1em 0 0; }
.guide .faq details { margin: 10px 0; }
.guide-list { display: grid; gap: 16px; grid-template-columns: 1fr; margin-top: 8px; }
@media (min-width: 720px) { .guide-list { grid-template-columns: repeat(2, 1fr); } }
.guide-card { display: block; color: var(--text); background: var(--card); border: 1px solid var(--card-border); border-radius: var(--radius); padding: 22px; }
.guide-card:hover, .guide-card:focus-visible { border-color: rgba(204, 255, 0, .45); text-decoration: none; }
.guide-card .eyebrow { margin-bottom: .6em; }
.guide-card h2 { font-size: clamp(22px, 3.6vw, 28px); margin: 0 0 .4em; line-height: 1.1; }
.guide-card p { color: var(--soft); margin: 0 0 .8em; }
.guide-card .meta { margin: 0; }
.guide-card.soon { opacity: .55; pointer-events: none; }
.card-clip { display: block; width: 100%; max-width: 270px; height: auto; aspect-ratio: 540 / 960; border-radius: 14px; margin: 4px auto 14px; background: var(--blue-3); border: 1px solid var(--card-border); }
@media (min-width: 720px) { .card-clip { float: right; width: 44%; margin: 0 0 12px 16px; } }
@media (prefers-reduced-motion: reduce) { .card-clip { pointer-events: none; } }
