/* ============ spaikz.com home page ============ */
/* The house landing layout (idseason.spaikz.com, sidelinestudio.spaikz.com): a light page, photo collage with
   floating cards, stats strip, photo tiles, app cards, one dark photo band, numbered steps, FAQ, gradient finish,
   navy footer — in the Spaikz colours. Only index.html uses it; the admin, legal and sports pages keep styles.css. */
:root {
  --bg: #ffffff; --bg2: #f5f6fc; --line: #e4e7f2;
  --navy: #0b0f1a; --text: #141a2e; --muted: #5b6380;
  --blue: #4f6bff; --violet: #8b5cf6; --teal: #0fb39a;
  --grad: linear-gradient(105deg, #3b6cff 0%, #8b5cf6 55%, #0fb39a 100%);
  --btn: linear-gradient(115deg, #4f6bff, #8b5cf6);
  --shadow: 0 1px 2px rgba(11,15,26,.06), 0 12px 32px rgba(11,15,26,.08);
  --maxw: 1180px;
}
* { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: 84px; }
body { margin: 0; background: var(--bg); color: var(--text); font: 16px/1.6 Inter, system-ui, -apple-system, "Segoe UI", Roboto, sans-serif; -webkit-font-smoothing: antialiased; overflow-x: hidden; }
h1, h2, h3, .brand-name, .num { font-family: "Space Grotesk", Inter, sans-serif; letter-spacing: -.02em; color: var(--navy); }
a { color: inherit; }
img { max-width: 100%; display: block; }
.wrap { max-width: var(--maxw); margin: 0 auto; padding: 0 22px; }
.grad { background: var(--grad); -webkit-background-clip: text; background-clip: text; color: transparent; }
.skip-link { position: absolute; left: -9999px; top: 0; z-index: 100; background: var(--navy); color: #fff; padding: 10px 16px; }
.skip-link:focus { left: 0; }
.eyebrow { display: inline-flex; gap: 8px; align-items: center; font-size: 13px; font-weight: 700; letter-spacing: .07em; text-transform: uppercase; color: var(--violet); }
.eyebrow::before { content: ''; width: 22px; height: 3px; background: var(--grad); border-radius: 2px; }

/* buttons */
.btn { display: inline-flex; align-items: center; justify-content: center; gap: 8px; padding: 14px 24px; border-radius: 12px; font: 700 15.5px Inter, sans-serif; text-decoration: none; border: 0; cursor: pointer; transition: transform .15s, box-shadow .2s; }
.btn:hover { transform: translateY(-2px); }
.btn-p { background: var(--btn); color: #fff; box-shadow: 0 10px 24px rgba(108,92,255,.3); }
.btn-p:hover { box-shadow: 0 14px 30px rgba(108,92,255,.38); }
.btn-s { border: 1.5px solid #cdd3e6; color: var(--navy); background: #fff; }
.btn-s:hover { border-color: var(--violet); color: var(--violet); }

/* nav */
.nav { position: fixed; top: 0; left: 0; right: 0; z-index: 30; background: rgba(255,255,255,.86); backdrop-filter: blur(12px); -webkit-backdrop-filter: blur(12px); border-bottom: 1px solid transparent; transition: border-color .25s, box-shadow .25s; }
.nav.scrolled { border-color: var(--line); box-shadow: 0 4px 18px rgba(11,15,26,.06); }
.nav-in { max-width: var(--maxw); margin: 0 auto; padding: 0 22px; height: 68px; display: flex; align-items: center; gap: 22px; }
.brand { display: flex; align-items: center; gap: 10px; text-decoration: none; margin-right: auto; }
.brand-mark { width: 34px; height: 34px; border-radius: 10px; display: grid; place-items: center; color: #fff; background: var(--btn); box-shadow: 0 6px 16px rgba(108,92,255,.3); }
.brand-mark-sm { width: 26px; height: 26px; border-radius: 7px; box-shadow: none; }
.brand-name { font-weight: 700; font-size: 21px; }
.nav-links { display: flex; gap: 24px; align-items: center; font-size: 14.5px; font-weight: 500; }
.nav-links a { text-decoration: none; color: var(--muted); }
.nav-links a:hover { color: var(--violet); }
.nav-links a.btn-p { color: #fff; padding: 10px 18px; font-size: 14px; }
.nav-toggle { display: none; flex-direction: column; justify-content: center; align-items: center; gap: 4px; width: 40px; height: 40px; border-radius: 10px; border: 1px solid var(--line); background: #fff; cursor: pointer; padding: 0; }
.nav-toggle span { width: 16px; height: 2px; background: var(--navy); border-radius: 2px; }
@media (max-width: 900px) {
  .nav-toggle { display: flex; }
  .nav-links { display: none; position: absolute; top: 68px; left: 0; right: 0; flex-direction: column; align-items: stretch; gap: 0; background: #fff; border-bottom: 1px solid var(--line); padding: 6px 22px 18px; box-shadow: 0 12px 24px rgba(11,15,26,.08); }
  .nav.open .nav-links { display: flex; }
  .nav-links a { padding: 12px 0; }
  .nav-links a.btn-p { margin-top: 8px; }
}

/* hero */
.hero { position: relative; overflow: hidden; padding: 128px 0 84px; background: radial-gradient(900px 500px at 85% 10%, rgba(139,92,246,.13), transparent 60%), radial-gradient(800px 500px at 10% 90%, rgba(15,179,154,.10), transparent 60%), linear-gradient(180deg, #f5f6ff, #fff); }
.hero::before { content: ''; position: absolute; inset: 0; opacity: .5; background-image: linear-gradient(rgba(79,107,255,.06) 1px, transparent 1px), linear-gradient(90deg, rgba(79,107,255,.06) 1px, transparent 1px); background-size: 48px 48px; mask-image: linear-gradient(180deg, #000, transparent 85%); -webkit-mask-image: linear-gradient(180deg, #000, transparent 85%); }
.hero .wrap { position: relative; display: grid; grid-template-columns: 1.05fr .95fr; gap: 52px; align-items: center; }
.hero h1 { font-size: clamp(40px, 5.6vw, 68px); line-height: 1.03; margin: 18px 0; }
.lead { font-size: clamp(17px, 1.6vw, 19.5px); color: #3d4562; max-width: 590px; margin: 0 0 30px; }
.ctas { display: flex; gap: 14px; flex-wrap: wrap; }
.trust { display: flex; gap: 30px; flex-wrap: wrap; margin-top: 36px; color: var(--muted); font-size: 14px; }
.trust b { display: block; color: var(--navy); font: 700 28px "Space Grotesk", sans-serif; }
.collage { position: relative; height: 560px; }
.ph { position: absolute; border-radius: 24px; overflow: hidden; box-shadow: 0 24px 60px rgba(11,15,26,.24); border: 6px solid #fff; background: #e9ebf5; }
.ph img { width: 100%; height: 100%; object-fit: cover; }
.ph1 { width: 62%; aspect-ratio: 4 / 5; right: 0; top: 0; }
.ph2 { width: 44%; aspect-ratio: 4 / 5; left: 0; bottom: 0; }
.ph3 { width: 40%; aspect-ratio: 16 / 10; right: 6%; bottom: -4%; border-width: 5px; }
.ph .tag { position: absolute; left: 12px; top: 12px; background: rgba(11,15,26,.72); color: #fff; font-size: 12px; font-weight: 700; letter-spacing: .04em; padding: 4px 10px; border-radius: 999px; }
.float { position: absolute; background: #fff; border: 1px solid var(--line); border-radius: 16px; padding: 14px 16px; box-shadow: 0 18px 40px rgba(11,15,26,.16); font-size: 13.5px; color: var(--navy); animation: bob 6s ease-in-out infinite; z-index: 2; }
.float small { color: var(--muted); display: block; font-size: 12px; }
.float b { font: 700 15px "Space Grotesk", sans-serif; }
.f1 { left: 2%; top: 4%; }
.f2 { right: -2%; top: 46%; animation-delay: -3s; }
.pill { display: inline-block; padding: 2px 9px; border-radius: 999px; font-size: 11.5px; font-weight: 700; margin-top: 6px; background: #ede9fe; color: #6d28d9; }
.pill.ok { background: #dcfce7; color: #15803d; }
@keyframes bob { 0%, 100% { transform: translateY(0); } 50% { transform: translateY(-10px); } }
@media (max-width: 960px) { .hero .wrap { grid-template-columns: 1fr; } .collage { height: 480px; max-width: 620px; width: 100%; margin: 0 auto; } }
@media (max-width: 520px) { .collage { height: 390px; } .f2 { display: none; } .ph3 { display: none; } }

/* sections */
section { padding: 96px 0; }
.sec-alt { background: var(--bg2); border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); }
h2 { font-size: clamp(30px, 3.8vw, 46px); line-height: 1.1; margin: 14px 0 16px; }
.sub { color: var(--muted); font-size: 18px; max-width: 680px; }
.center { text-align: center; }
.center .sub { margin: 0 auto; }
.strip { padding: 34px 0; background: #fff; border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); }
.strip .wrap { display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px; text-align: center; }
.num { font-size: clamp(30px, 3.6vw, 42px); font-weight: 700; line-height: 1.2; }
.strip span { color: var(--muted); font-size: 14px; }
@media (max-width: 700px) { .strip .wrap { grid-template-columns: repeat(2, 1fr); } }

/* "what do you want to get better at?" photo tiles */
.tiles { display: grid; grid-template-columns: repeat(4, 1fr); gap: 18px; margin-top: 44px; }
.tile { position: relative; display: block; aspect-ratio: 4 / 5; border-radius: 22px; overflow: hidden; color: #fff; text-decoration: none; box-shadow: 0 18px 44px rgba(11,15,26,.16); border: 0; padding: 0; cursor: pointer; text-align: left; font: inherit; background: #222; }
.tile img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; transition: transform .6s ease; }
.tile::after { content: ''; position: absolute; inset: 0; background: linear-gradient(180deg, rgba(11,15,26,0) 35%, rgba(11,15,26,.82)); }
.tile:hover img { transform: scale(1.05); }
.tile span { position: absolute; left: 18px; right: 18px; bottom: 18px; z-index: 1; }
.tile b { display: block; font: 700 21px/1.15 "Space Grotesk", sans-serif; color: #fff; }
.tile small { display: block; margin-top: 4px; font-size: 13.5px; color: #dfe4f5; }
.tile em { font-style: normal; display: inline-block; margin-top: 10px; font-size: 12.5px; font-weight: 700; padding: 4px 10px; border-radius: 999px; background: rgba(255,255,255,.18); backdrop-filter: blur(6px); }
@media (max-width: 900px) { .tiles { grid-template-columns: 1fr 1fr; } }

/* app finder */
.filters { display: flex; flex-wrap: wrap; justify-content: center; gap: 8px; margin: 34px 0 30px; }
.filter { font: 600 14px Inter, sans-serif; padding: 9px 16px; border-radius: 999px; border: 1px solid var(--line); background: #fff; color: var(--muted); cursor: pointer; transition: color .2s, border-color .2s, transform .2s; }
.filter:hover { color: var(--violet); border-color: #cfc4fb; transform: translateY(-1px); }
.filter.is-on { background: var(--btn); color: #fff; border-color: transparent; box-shadow: 0 8px 20px rgba(108,92,255,.25); }
.filter em { font-style: normal; opacity: .75; margin-left: 4px; font-size: 12.5px; }
.apps { display: grid; grid-template-columns: repeat(3, 1fr); gap: 22px; text-align: left; }
.app { position: relative; display: flex; flex-direction: column; border-radius: 22px; overflow: hidden; background: #fff; border: 1px solid var(--line); box-shadow: var(--shadow); transition: transform .25s, box-shadow .25s, border-color .25s; }
.app:hover { transform: translateY(-5px); box-shadow: 0 2px 4px rgba(11,15,26,.06), 0 22px 48px rgba(11,15,26,.12); border-color: #d6d1fb; }
.app.is-out { display: none; }
.app.is-in { animation: app-in .4s ease both; }
@keyframes app-in { from { opacity: 0; transform: translateY(12px); } }
.app-shot { position: relative; display: block; aspect-ratio: 16 / 10; overflow: hidden; background: var(--bg2); border-bottom: 1px solid var(--line); }
.app-shot img { width: 100%; height: 100%; object-fit: cover; object-position: top center; transition: transform .6s ease; }
.app:hover .app-shot img { transform: scale(1.04); }
.badge { position: absolute; right: 12px; top: 12px; z-index: 1; font-size: 11.5px; font-weight: 700; padding: 4px 10px; border-radius: 999px; background: #dcfce7; color: #15803d; box-shadow: 0 4px 12px rgba(11,15,26,.12); }
.badge.beta { background: #ede9fe; color: #6d28d9; }
.badge.soon { background: #fef3c7; color: #92400e; }
.app-body { display: flex; flex-direction: column; gap: 10px; padding: 20px 22px 22px; flex: 1; }
.app-top { display: flex; align-items: center; gap: 12px; }
.app-ic { flex: 0 0 44px; height: 44px; border-radius: 12px; display: grid; place-items: center; background: #efedff; font-size: 22px; }
.app h3 { margin: 0; font-size: 20px; line-height: 1.15; }
.app-cat { display: block; font-size: 12.5px; color: var(--muted); font-weight: 600; }
.app p { margin: 0; color: var(--muted); font-size: 14.5px; }
.app-links { margin-top: auto; padding-top: 8px; display: flex; flex-wrap: wrap; align-items: center; gap: 8px 14px; }
.go { font-weight: 700; color: var(--violet); text-decoration: none; font-size: 15px; }
.go::after { content: ''; position: absolute; inset: 0; z-index: 1; } /* the whole card opens the app */
.app:hover .go { text-decoration: underline; }
.store { position: relative; z-index: 2; font-size: 12.5px; font-weight: 600; color: var(--muted); text-decoration: none; padding: 5px 11px; border-radius: 999px; border: 1px solid var(--line); background: #fff; }
.store:hover { color: var(--navy); border-color: var(--violet); }
.app-cta { justify-content: center; padding: 30px 26px; background: radial-gradient(400px 220px at 0% 0%, rgba(139,92,246,.12), transparent 70%), radial-gradient(400px 220px at 100% 100%, rgba(15,179,154,.12), transparent 70%), #fff; }
.app-cta h3 { font-size: 22px; }
.app-cta .btn { align-self: flex-start; margin-top: 8px; }
@media (max-width: 1000px) { .apps { grid-template-columns: 1fr 1fr; } }
@media (max-width: 640px) { .apps { grid-template-columns: 1fr; } }

/* why (split with photo) */
.split { display: grid; grid-template-columns: 1fr 1fr; gap: 56px; align-items: center; }
.split .photo { border-radius: 26px; overflow: hidden; aspect-ratio: 4 / 5; box-shadow: 0 24px 60px rgba(11,15,26,.18); }
.split .photo img { width: 100%; height: 100%; object-fit: cover; }
@media (max-width: 880px) { .split { grid-template-columns: 1fr; } .split .photo { aspect-ratio: 16 / 10; } }
.pains { display: grid; gap: 14px; margin-top: 26px; }
.pain { display: flex; gap: 14px; padding: 16px 18px; border: 1px solid var(--line); border-radius: 16px; background: #fff; box-shadow: var(--shadow); }
.pain .ic { flex: 0 0 42px; height: 42px; border-radius: 12px; display: grid; place-items: center; background: #efedff; font-size: 19px; }
.pain b { display: block; font-family: "Space Grotesk", sans-serif; font-size: 16.5px; color: var(--navy); }
.pain span { color: var(--muted); font-size: 14.5px; }

/* photo band (the one dark section): the sports apps */
.band { position: relative; padding: 120px 0; overflow: hidden; color: #fff; }
.band-bg { position: absolute; inset: 0; background: url("https://images.unsplash.com/photo-1431324155629-1a6deb1dec8d?w=2000&q=70&auto=format") center/cover; }
.band-bg::after { content: ''; position: absolute; inset: 0; background: linear-gradient(90deg, rgba(11,15,26,.94), rgba(11,15,26,.55)); }
.band .wrap { position: relative; }
.band h2 { max-width: 760px; color: #fff; }
.band .eyebrow { color: #7ee8d4; }
.band .sub { color: #d5dbee; }
.band-points { display: grid; grid-template-columns: repeat(3, minmax(0, 300px)); gap: 18px; margin: 30px 0 34px; }
.band-points div { border-left: 3px solid #7ee8d4; padding-left: 14px; color: #d5dbee; font-size: 15px; }
.band-points b { display: block; color: #fff; font: 700 17px "Space Grotesk", sans-serif; }
.band .btn-p { background: #fff; color: #5b3fd6; box-shadow: 0 14px 30px rgba(0,0,0,.25); }
.band-icons { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 22px; }
.band-icons a { display: inline-flex; align-items: center; gap: 8px; text-decoration: none; color: #eef0ff; font-size: 13.5px; font-weight: 600; padding: 6px 12px 6px 6px; border-radius: 999px; background: rgba(255,255,255,.1); border: 1px solid rgba(255,255,255,.16); }
.band-icons a:hover { background: rgba(255,255,255,.18); }
.band-icons img { width: 26px; height: 26px; border-radius: 7px; }
@media (max-width: 760px) { .band-points { grid-template-columns: 1fr; } }

/* steps */
.steps { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; margin-top: 46px; text-align: left; }
.step { padding: 28px 24px; border-radius: 20px; background: #fff; border: 1px solid var(--line); box-shadow: var(--shadow); position: relative; overflow: hidden; }
.step::after { content: ''; position: absolute; left: 0; top: 0; right: 0; height: 4px; background: var(--grad); }
.step .n { font: 700 15px "Space Grotesk", sans-serif; width: 38px; height: 38px; border-radius: 50%; display: grid; place-items: center; background: var(--btn); color: #fff; margin-bottom: 16px; }
.step h3 { margin: 0 0 8px; font-size: 21px; }
.step p { margin: 0; color: var(--muted); font-size: 15px; }
@media (max-width: 880px) { .steps { grid-template-columns: 1fr; } }

/* faq */
.faq { max-width: 860px; margin: 40px auto 0; }
.faq details { border: 1px solid var(--line); border-radius: 14px; padding: 18px 20px; background: #fff; margin-bottom: 10px; }
.faq summary { cursor: pointer; font: 600 17.5px "Space Grotesk", sans-serif; list-style: none; display: flex; justify-content: space-between; gap: 16px; color: var(--navy); }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: '+'; color: var(--violet); font-size: 24px; line-height: 1; }
.faq details[open] summary::after { content: '–'; }
.faq p { color: var(--muted); margin: 12px 0 0; font-size: 15.5px; }
.faq a { color: #5b3fd6; }

/* contact */
.contact { display: grid; grid-template-columns: .9fr 1.1fr; gap: 48px; align-items: start; }
.contact-points { display: grid; gap: 12px; margin-top: 24px; }
.contact-points div { display: flex; gap: 12px; align-items: center; color: var(--muted); font-size: 15px; }
.contact-points .ic { flex: 0 0 38px; height: 38px; border-radius: 11px; display: grid; place-items: center; background: #efedff; font-size: 17px; }
.contact-points a { color: #5b3fd6; font-weight: 600; }
.form { padding: 28px; border-radius: 22px; background: #fff; border: 1px solid var(--line); box-shadow: var(--shadow); }
.form .row { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; }
.field { display: flex; flex-direction: column; gap: 6px; margin-bottom: 14px; }
.field label { font-size: 13.5px; font-weight: 600; color: var(--navy); }
.field input, .field textarea { font: 15px Inter, sans-serif; color: var(--text); padding: 12px 14px; border-radius: 12px; border: 1.5px solid var(--line); background: var(--bg2); transition: border-color .2s, background .2s; }
.field input:focus, .field textarea:focus { outline: none; border-color: var(--violet); background: #fff; }
.form-note { margin: 12px 0 0; font-size: 14px; min-height: 1.2em; }
.form-note a { color: #5b3fd6; }
@media (max-width: 880px) { .contact { grid-template-columns: 1fr; } .form .row { grid-template-columns: 1fr; } }

/* final call to action */
.final { position: relative; padding: 130px 0; text-align: center; overflow: hidden; color: #fff; }
.final-bg { position: absolute; inset: 0; background: url("https://images.unsplash.com/photo-1591382696684-38c427c7547a?w=2000&q=70&auto=format") center/cover; }
.final-bg::after { content: ''; position: absolute; inset: 0; background: linear-gradient(120deg, rgba(59,108,255,.92), rgba(139,92,246,.88) 55%, rgba(15,179,154,.86)); }
.final .wrap { position: relative; }
.final h2 { font-size: clamp(34px, 4.6vw, 56px); max-width: 860px; margin: 14px auto 18px; color: #fff; }
.final .eyebrow { color: #fff; }
.final .eyebrow::before { background: #fff; }
.final .sub { color: #eef0ff; margin: 0 auto 30px; }
.final .btn-p { background: #fff; color: #5b3fd6; box-shadow: 0 14px 30px rgba(0,0,0,.18); }
.final .btn-s { background: transparent; color: #fff; border-color: rgba(255,255,255,.6); }
.final .btn-s:hover { color: #fff; border-color: #fff; }
.final .ctas { justify-content: center; }
.final .note { margin-top: 18px; color: #eef0ff; font-size: 14px; }

/* footer */
.footer { background: var(--navy); padding: 34px 0; color: #a9b1cc; font-size: 13.5px; }
.footer-inner { max-width: var(--maxw); margin: 0 auto; padding: 0 22px; display: flex; gap: 14px 26px; flex-wrap: wrap; align-items: center; }
.footer-brand { display: flex; align-items: center; gap: 10px; color: #fff; font-weight: 600; }
.footer-tag { margin: 0 auto 0 0; }
.footer a { color: #d3d9ee; }
.footer-links { display: flex; flex-wrap: wrap; gap: 16px; }
.footer-links a { text-decoration: none; }
.footer-links a:hover { text-decoration: underline; }
.copyright { max-width: var(--maxw); margin: 10px auto 0; padding: 0 22px; color: #7f88a8; font-size: 12.5px; }

/* phones */
@media (max-width: 560px) {
  .hero { padding: 100px 0 48px; }
  .ctas .btn { width: 100%; }
  .trust { gap: 20px; } .trust b { font-size: 24px; }
  section { padding: 64px 0; } .sub { font-size: 16.5px; }
  .final { padding: 96px 0; } .band { padding: 90px 0; }
  .step { padding: 22px 18px; } .form { padding: 22px 18px; }
  .tiles { gap: 12px; } .tile b { font-size: 18px; } .tile small { display: none; }
}
.js .reveal { opacity: 0; transform: translateY(20px); transition: opacity .45s ease, transform .45s ease; }
.js .reveal.in { opacity: 1; transform: none; }
@media (prefers-reduced-motion: reduce) { .js .reveal { opacity: 1; transform: none; } .float { animation: none; } .app, .tile img, .app-shot img { transition: none; } }

/* official App Store / Google Play badges, on their own row under the card's main link */
.stores { flex-basis: 100%; display: flex; flex-wrap: wrap; gap: 10px; }
.store.badge { padding: 0; border: 0; background: none; border-radius: 7px; line-height: 0; transition: transform .15s ease, box-shadow .15s ease; }
.store.badge img { display: block; height: 40px; width: auto; }
.store.badge:hover { transform: translateY(-1px); box-shadow: 0 6px 16px rgba(15, 23, 42, .18); }
.store.badge:focus-visible { outline: 2px solid var(--violet); outline-offset: 3px; }
