/* Shadow Swings — marketing site styles */

:root {
  --blue-1: #33476b;
  --blue-2: #2b3c5b;
  --blue-3: #22304a;
  --accent: #ddf247;
  --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; }
.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 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; }
.prose h2 { margin-top: 1.6em; 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); }

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