/* tenniswings.com — one stylesheet, no framework. */
:root {
  --ink: #14213d; --text: #3a4252; --muted: #616a7c; --line: #e3e7ee; --bg: #f6f8fb; --card: #fff;
  --blue: #2563eb; --ball: #a3cc29; --ball-dark: #5a7510; --green: #16a34a; --amber: #d97706; --red: #dc2626;
  --radius: 14px; --shadow: 0 10px 30px rgba(20, 33, 61, .08);
}
* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body { margin: 0; font-family: "Nunito Sans", system-ui, -apple-system, "Segoe UI", sans-serif; color: var(--text); background: var(--bg); line-height: 1.6; font-size: 17px; }
a { color: var(--blue); text-decoration: none; } a:hover { text-decoration: underline; }
img { max-width: 100%; display: block; }
.wrap { max-width: 1160px; margin: 0 auto; padding: 0 22px; }
h1, h2, h3 { color: var(--ink); line-height: 1.15; margin: 0 0 .5em; }
h1 { font-size: clamp(2.2rem, 4.6vw, 3.6rem); font-weight: 900; letter-spacing: -.02em; }
h2 { font-size: clamp(1.7rem, 3vw, 2.4rem); font-weight: 900; letter-spacing: -.01em; }
h3 { font-size: 1.15rem; font-weight: 800; }
.eyebrow { text-transform: uppercase; letter-spacing: .12em; font-size: .78rem; font-weight: 800; color: var(--ball-dark); }
.lead { font-size: 1.2rem; color: var(--text); max-width: 640px; }
.muted { color: var(--muted); }
.btn { display: inline-flex; align-items: center; gap: .5em; padding: .85em 1.4em; border-radius: 10px; font-weight: 800; border: 0; cursor: pointer; font-size: 1rem; }
.btn-primary { background: var(--ball); color: var(--ink); } .btn-primary:hover { background: #b6dc3f; text-decoration: none; }
.btn-ghost { background: rgba(255,255,255,.1); color: #fff; border: 1px solid rgba(255,255,255,.35); } .btn-ghost:hover { background: rgba(255,255,255,.18); text-decoration: none; }
.btn-dark { background: var(--ink); color: #fff; } .btn-dark:hover { text-decoration: none; background: #22325a; }

/* header: one sticky bar on every page; the phone menu opens below 960px (assets/js/menu.js) */
.skip-link { position: absolute; left: 12px; top: -60px; z-index: 50; background: var(--ball); color: var(--ink); font-weight: 800; padding: 10px 16px; border-radius: 8px; }
.skip-link:focus { top: 10px; text-decoration: none; }
.top { position: sticky; top: 0; z-index: 20; background: rgba(20,33,61,.97); backdrop-filter: blur(6px); }
.top .wrap { display: flex; align-items: center; gap: 24px; height: 68px; }
.brand { display: flex; align-items: center; gap: 10px; color: #fff; font-weight: 900; font-size: 1.25rem; }
.brand:hover { text-decoration: none; } .brand b { color: var(--ball); }
.brand svg { width: 34px; height: 34px; flex: none; }
.nav { display: flex; gap: 24px; margin-left: auto; align-items: center; }
.nav a { color: #d6dcea; font-weight: 700; font-size: .95rem; } .nav a:hover, .nav a[aria-current] { color: #fff; text-decoration: none; }
.nav .nav-signin { color: var(--ball); }
.nav .btn { padding: .6em 1.1em; color: var(--ink); }
.nav .btn:hover { color: var(--ink); }
.burger { display: none; margin-left: auto; width: 44px; height: 44px; border: 0; border-radius: 10px; background: rgba(255,255,255,.08); cursor: pointer; position: relative; }
.burger span, .burger span::before, .burger span::after { position: absolute; left: 12px; width: 20px; height: 2px; background: #fff; border-radius: 2px; content: ""; transition: transform .2s, opacity .2s; }
.burger span { top: 21px; } .burger span::before { left: 0; top: -6px; } .burger span::after { left: 0; top: 6px; }
.menu-open .burger span { background: transparent; }
.menu-open .burger span::before { transform: translateY(6px) rotate(45deg); }
.menu-open .burger span::after { transform: translateY(-6px) rotate(-45deg); }
@media (max-width: 960px) {
  .top .wrap { height: 60px; }
  .burger { display: block; }
  .nav { display: none; position: absolute; left: 0; right: 0; top: 60px; flex-direction: column; align-items: stretch; gap: 0;
         background: var(--ink); padding: 8px 22px 22px; border-top: 1px solid rgba(255,255,255,.1); box-shadow: 0 20px 30px rgba(0,0,0,.3); }
  .menu-open .nav { display: flex; }
  .nav a { padding: 13px 0; font-size: 1.05rem; border-bottom: 1px solid rgba(255,255,255,.08); }
  .nav .btn { margin-top: 16px; justify-content: center; padding: .9em 1em; border-bottom: 0; }
}
html { scroll-padding-top: 84px; }

/* hero: centred copy, then one large framed screen from the app */
.hero { background: radial-gradient(1200px 520px at 50% -12%, #2b4a8f 0%, transparent 62%), var(--ink); color: #dfe6f5; padding: 56px 0 72px; overflow: hidden; }
.hero h1 { color: #fff; margin: .25em 0 .35em; } .hero h1 em { font-style: normal; color: var(--ball); }
.hero .lead { color: #c6d0e6; margin: 0 auto; max-width: 700px; }
.hero-c { text-align: center; } .hero .eyebrow { color: var(--ball); }
.hero-cta { display: flex; gap: 12px; flex-wrap: wrap; margin: 26px 0 18px; justify-content: center; }
.chips { display: flex; flex-wrap: wrap; justify-content: center; gap: 8px 10px; margin: 0; padding: 0; list-style: none; }
.chips li { font-size: .86rem; font-weight: 700; color: #dfe6f5; background: rgba(255,255,255,.07); border: 1px solid rgba(255,255,255,.14); border-radius: 999px; padding: 5px 12px; }
.chips li::before { content: ""; display: inline-block; width: 7px; height: 7px; border-radius: 50%; background: var(--ball); margin-right: 8px; vertical-align: 1px; }
.frame { max-width: 1080px; margin: 36px auto 0; border-radius: 14px; overflow: hidden; background: #fff; box-shadow: 0 40px 80px rgba(0,0,0,.45), 0 0 0 1px rgba(255,255,255,.08); }
.frame-bar { display: flex; align-items: center; gap: 6px; padding: 9px 14px; background: #eef1f6; }
.frame-bar i { width: 10px; height: 10px; border-radius: 50%; background: #cfd5df; }
.frame-bar span { margin: 0 auto; font-size: .78rem; font-weight: 700; color: var(--muted); background: #fff; border-radius: 6px; padding: 2px 40px; }
.frame img { width: 100%; height: auto; }
.shot-note { display: block; margin-top: 12px; font-size: .82rem; color: #93a1bf; }
.frame.light { box-shadow: var(--shadow), 0 0 0 1px var(--line); margin: 0; }
.figure-note { font-size: .82rem; color: var(--muted); margin-top: 10px; text-align: center; }
@media (max-width: 600px) { .hero { padding: 36px 0 52px; } .frame { margin-top: 28px; border-radius: 10px; } .frame-bar span { padding: 2px 16px; } }

/* sections */
section { padding: 84px 0; }
section.alt { background: var(--card); }
.center { text-align: center; } .center .lead { margin: 0 auto; }
.grid3 { display: grid; grid-template-columns: repeat(3, 1fr); gap: 22px; margin-top: 40px; }
.grid2 { display: grid; grid-template-columns: 1fr 1fr; gap: 48px; align-items: center; }
@media (max-width: 900px) { .grid3, .grid2 { grid-template-columns: 1fr; } }
.card { background: var(--card); border: 1px solid var(--line); border-radius: var(--radius); padding: 24px; box-shadow: var(--shadow); }
section.alt .card { background: var(--bg); box-shadow: none; }
.icon { width: 44px; height: 44px; border-radius: 12px; display: grid; place-items: center; background: #ecf5d0; color: var(--ball-dark); margin-bottom: 14px; }
.icon svg { width: 22px; height: 22px; }
.card p { margin: 0; color: var(--text); }
ul.ticks { list-style: none; padding: 0; margin: 18px 0 0; }
ul.ticks li { padding: 6px 0 6px 30px; position: relative; }
ul.ticks li::before { content: ""; position: absolute; left: 0; top: 11px; width: 18px; height: 18px; border-radius: 50%; background: var(--ball) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16'%3E%3Cpath fill='%2314213d' d='M6.4 11.2 3.2 8l1.1-1.1 2.1 2.1 5.3-5.3L12.8 4.8z'/%3E%3C/svg%3E") center/14px no-repeat; }

/* flow (pathways) mock */
.flow { width: 100%; height: auto; background: var(--card); border-radius: var(--radius); border: 1px solid var(--line); box-shadow: var(--shadow); }
.legend { display: flex; gap: 16px; flex-wrap: wrap; font-size: .85rem; margin-top: 12px; color: var(--muted); }
.legend i { display: inline-block; width: 12px; height: 12px; border-radius: 3px; margin-right: 6px; vertical-align: -1px; }

/* steps */
.how { counter-reset: s; display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px; margin-top: 40px; }
.how div { position: relative; padding-top: 52px; }
.how div::before { counter-increment: s; content: counter(s); position: absolute; top: 0; left: 0; width: 38px; height: 38px; border-radius: 50%; background: var(--ink); color: var(--ball); font-weight: 900; display: grid; place-items: center; }
@media (max-width: 900px) { .how { grid-template-columns: 1fr 1fr; } }

/* faq */
details { background: var(--card); border: 1px solid var(--line); border-radius: 12px; padding: 16px 20px; margin-top: 12px; }
details summary { font-weight: 800; color: var(--ink); cursor: pointer; }
details p { margin: 10px 0 0; }

/* cta + footer */
.cta { background: var(--ink); color: #c6d0e6; border-radius: 22px; padding: 54px; display: grid; grid-template-columns: 1.3fr 1fr; gap: 30px; align-items: center; }
.cta h2 { color: #fff; }
.cta form { display: grid; gap: 10px; }
.cta input, .cta select, .cta textarea { padding: .8em 1em; border-radius: 10px; border: 0; font: inherit; }
@media (max-width: 860px) { .cta { grid-template-columns: 1fr; padding: 32px; } }
/* footer */
.foot { background: var(--ink); color: #b9c4dd; padding: 44px 0 28px; font-size: .92rem; margin-top: 0; }
.foot a { color: #dfe6f5; }
.foot-grid { display: flex; gap: 28px; flex-wrap: wrap; justify-content: space-between; align-items: flex-start; }
.foot-brand p { margin: 10px 0 0; max-width: 360px; }
.foot-links { display: flex; flex-wrap: wrap; gap: 4px 22px; }
.foot-links a { padding: 10px 0; font-weight: 700; }
.foot-legal { display: flex; flex-wrap: wrap; gap: 8px 20px; justify-content: space-between; border-top: 1px solid rgba(255,255,255,.12); margin-top: 26px; padding-top: 18px; color: #93a1bf; }
.foot-legal a { color: var(--ball); }

/* cookie banner (assets/js/analytics.js) */
.consent { position: fixed; left: 16px; right: 16px; bottom: 16px; z-index: 40; max-width: 760px; margin: 0 auto; background: #fff; color: var(--text);
           border-radius: 14px; box-shadow: 0 20px 50px rgba(20,33,61,.3); border: 1px solid var(--line); padding: 16px 18px;
           display: flex; gap: 16px; align-items: center; font-size: .92rem; line-height: 1.5; }
.consent[hidden] { display: none; }
.consent p { margin: 0; }
.consent div { display: flex; gap: 8px; flex: none; }
.consent .btn { padding: .6em 1em; font-size: .92rem; min-height: 42px; }
.btn-quiet { background: #eef1f6; color: var(--ink); } .btn-quiet:hover { background: #e2e7ef; }
@media (max-width: 640px) { .consent { flex-direction: column; align-items: stretch; } .consent div .btn { flex: 1; justify-content: center; } }
.prose { max-width: 780px; } #faq .center h2 { margin-top: .2em; } .prose h2 { font-size: 1.4rem; margin-top: 2em; } .prose li { margin: .3em 0; }
.brand { min-height: 44px; }
.foot-legal a { display: inline-block; padding: 10px 0; margin: -10px 0; }
@media (max-width: 600px) { .hero .lead { font-size: 1.05rem; } .chips li:nth-child(n+3) { display: none; } }
