/* Athnexa Sports Technology — shared design system (LIGHT theme) */

:root{
  --bg:#f4f8fc;            /* light page background */
  --bg-2:#ffffff;          /* cards / panels */
  --bg-3:#eef4fa;          /* subtle raised */
  --line:#e2e9f1;          /* borders */
  --text:#14273c;          /* primary text (deep navy) */
  --muted:#5f7285;         /* secondary text */
  --accent:#2563eb;        /* brand blue */
  --accent-2:#0ea5e9;      /* sky */
  --accent-soft:#eaf1fe;   /* tinted fill */
  --accent-ink:#ffffff;
  --ok:#16a34a;
  --radius:16px;
  --maxw:1080px;
  --shadow:0 1px 3px rgba(20,39,60,.06);
  --shadow-lg:0 18px 44px rgba(20,39,60,.12);
  --font:-apple-system,BlinkMacSystemFont,"Segoe UI",Roboto,Inter,system-ui,sans-serif;
}

*{box-sizing:border-box}
html{scroll-behavior:smooth}
body{
  margin:0;font-family:var(--font);color:var(--text);
  background:
    radial-gradient(1100px 560px at 85% -8%, #e6f0fb 0%, transparent 60%),
    radial-gradient(820px 460px at -8% 4%, #eaf3fa 0%, transparent 55%),
    var(--bg);
  line-height:1.6;-webkit-font-smoothing:antialiased;
}
a{color:var(--accent);text-decoration:none}
a:hover{color:var(--accent-2)}
img{max-width:100%;height:auto}
.wrap{max-width:var(--maxw);margin:0 auto;padding:0 22px}

/* Header */
.site-header{position:sticky;top:0;z-index:20;backdrop-filter:blur(10px);
  background:rgba(255,255,255,.82);border-bottom:1px solid var(--line)}
.site-header .wrap{display:flex;align-items:center;justify-content:space-between;height:66px}
.brand{display:flex;align-items:center;gap:10px;font-weight:800;letter-spacing:.2px;color:var(--text)}
.brand .dot{width:12px;height:12px;border-radius:50%;
  background:linear-gradient(135deg,var(--accent),var(--accent-2));box-shadow:0 0 12px rgba(37,99,235,.5)}
.brand .bmark{height:28px;width:auto;display:block}
@media(max-width:640px){.brand .bmark{height:24px}}
.nav a{color:var(--muted);margin-left:22px;font-weight:600;font-size:.95rem}
.nav a:hover{color:var(--text)}

/* Hero */
.hero{padding:82px 0 52px;text-align:center}
.eyebrow{display:inline-block;font-size:.8rem;font-weight:700;letter-spacing:.16em;text-transform:uppercase;
  color:var(--accent);background:var(--accent-soft);border-radius:999px;padding:6px 14px;margin-bottom:22px}
.hero h1{font-size:clamp(2.2rem,5vw,3.6rem);line-height:1.08;margin:0 0 18px;font-weight:850;letter-spacing:-.02em}
.hero p{font-size:1.18rem;color:var(--muted);max-width:640px;margin:0 auto 30px}
.cta{display:inline-flex;gap:12px;flex-wrap:wrap;justify-content:center}
.btn{display:inline-flex;align-items:center;gap:8px;font-weight:700;border-radius:12px;padding:13px 22px;
  border:1px solid var(--line);color:var(--text);background:var(--bg-2);transition:.16s;box-shadow:var(--shadow)}
.btn:hover{transform:translateY(-1px);border-color:var(--accent);color:var(--accent)}
.btn.primary{background:linear-gradient(135deg,var(--accent),var(--accent-2));color:var(--accent-ink);border:none}
.btn.primary:hover{color:var(--accent-ink);filter:brightness(1.05)}

/* Sections */
section{padding:56px 0}
.section-title{font-size:1.9rem;font-weight:800;letter-spacing:-.01em;margin:0 0 8px}
.section-sub{color:var(--muted);margin:0 0 34px}

/* Cards / product grid */
.grid{display:grid;gap:22px;grid-template-columns:repeat(auto-fit,minmax(280px,1fr))}
/* plain padded card (About, support, feature) */
.card{background:var(--bg-2);border:1px solid var(--line);border-radius:var(--radius);
  padding:24px;display:flex;flex-direction:column;transition:.18s;box-shadow:var(--shadow)}
.card:hover{transform:translateY(-4px);box-shadow:var(--shadow-lg);border-color:var(--accent)}
/* thumbnail product card */
.pcard{background:var(--bg-2);border:1px solid var(--line);border-radius:var(--radius);
  overflow:hidden;display:flex;flex-direction:column;transition:.18s;box-shadow:var(--shadow)}
.pcard:hover{transform:translateY(-4px);box-shadow:var(--shadow-lg);border-color:var(--accent)}
.pcard .card-body{padding:24px;display:flex;flex-direction:column;flex:1}
/* shared inner text */
.card .tag,.pcard .tag{font-size:.72rem;font-weight:700;letter-spacing:.1em;text-transform:uppercase;color:var(--accent)}
.card h3,.pcard h3{font-size:1.3rem;margin:10px 0 8px;color:var(--text)}
.card h3 a,.pcard h3 a{color:var(--text)}
.card h3 a:hover,.pcard h3 a:hover{color:var(--accent)}
.card p,.pcard p{color:var(--muted);margin:0 0 18px;flex:1}
.card .links,.pcard .links{display:flex;gap:16px;flex-wrap:wrap;font-size:.92rem;font-weight:600}
.badge{display:inline-block;font-size:.72rem;font-weight:700;padding:3px 10px;border-radius:999px;
  background:var(--accent-soft);color:var(--accent);margin-left:6px}

/* Card thumbnail image header */
.thumb{display:flex;align-items:center;justify-content:center;height:190px;overflow:hidden;
  background:linear-gradient(135deg,#e8f1fc,#dbe9f8);border-bottom:1px solid var(--line)}
.thumb img{width:100%;height:100%;object-fit:cover;display:block;transition:.25s}
.pcard:hover .thumb img{transform:scale(1.04)}
.thumb img.contain{object-fit:contain;padding:20px;background:#fff}
.thumb.brand span{font-size:1.9rem;font-weight:850;letter-spacing:.01em;color:var(--accent)}

/* Legal / doc pages */
.doc{padding:48px 0 72px}
.doc .wrap{max-width:820px}
.doc h1{font-size:2.2rem;margin:0 0 6px;letter-spacing:-.01em}
.doc .updated{color:var(--muted);font-size:.95rem;margin:0 0 34px}
.doc h2{font-size:1.35rem;margin:38px 0 10px;padding-top:18px;border-top:1px solid var(--line)}
.doc h3{font-size:1.08rem;margin:22px 0 8px;color:var(--accent)}
.doc p,.doc li{color:#33475b}
.doc ul{padding-left:22px}
.doc li{margin:6px 0}
.doc .callout{background:var(--accent-soft);border:1px solid #d5e4fb;border-left:3px solid var(--accent);
  border-radius:10px;padding:16px 18px;margin:20px 0;color:var(--text)}
.doc table{width:100%;border-collapse:collapse;margin:16px 0;font-size:.95rem}
.doc th,.doc td{text-align:left;padding:10px 12px;border-bottom:1px solid var(--line)}
.doc th{color:var(--accent);font-weight:700}
.back{display:block;text-align:left;margin-bottom:24px;color:var(--muted);font-weight:600}

/* Product / about page */
.company-intro{max-width:760px;margin:0 auto 10px;text-align:center;color:var(--muted);font-size:1.1rem}
.product{border-top:1px solid var(--line);padding:52px 0}
.product:first-of-type{border-top:none}
.product-head{display:flex;align-items:center;gap:18px;margin-bottom:22px;flex-wrap:wrap}
.product-head img.logo{width:84px;height:84px;object-fit:contain;border-radius:18px;background:#fff;padding:6px;
  border:1px solid var(--line);box-shadow:var(--shadow)}
.product-head .h{flex:1;min-width:220px}
.product-head h2{font-size:1.7rem;margin:0 0 4px;border:none;padding:0}
.product-head .plat{color:var(--accent);font-weight:700;font-size:.82rem;letter-spacing:.1em;text-transform:uppercase}
.product-body{display:grid;grid-template-columns:1.1fr 1fr;gap:30px;align-items:start}
@media(max-width:820px){.product-body{grid-template-columns:1fr}}
.product-body h4{color:var(--accent);font-size:.8rem;letter-spacing:.12em;text-transform:uppercase;margin:18px 0 8px}
.product-body ul{padding-left:20px;margin:0}
.product-body li{margin:6px 0;color:#33475b}
.shots{display:grid;grid-template-columns:1fr 1fr;gap:14px;align-items:start}
.shots img{display:block;width:100%;height:auto;max-height:420px;object-fit:contain;margin:0 auto;
  border-radius:12px;border:1px solid var(--line);background:#fff;padding:6px;box-shadow:var(--shadow)}
.shots img.full{grid-column:1/-1;max-height:560px}
.shots img.tall{max-height:520px}
@media(max-width:640px){
  .shots{grid-template-columns:1fr}
  .shots img,.shots img.full,.shots img.tall{max-height:72vh}
}
.storebadges{display:flex;gap:12px;flex-wrap:wrap;align-items:center;margin:14px 0}
.storebadges img{height:44px;width:auto}
.support-box{background:var(--bg-3);border:1px solid var(--line);border-left:3px solid var(--accent);
  border-radius:12px;padding:16px 18px;margin-top:16px}
.support-box strong{color:var(--text)}

/* Featured launch band (dark, for a just-shipped app) */
.featured{display:grid;grid-template-columns:1.02fr .98fr;align-items:stretch;overflow:hidden;
  background:#0a1421;border:1px solid #10203a;border-radius:20px;box-shadow:var(--shadow-lg)}
.featured .fbody{padding:40px}
.featured .fbanner{position:relative;min-height:280px}
/* right-of-centre crop keeps the skater in frame and avoids slicing the wordmark */
.featured .fbanner img{position:absolute;inset:0;width:100%;height:100%;object-fit:cover;
  object-position:92% 50%;display:block}
.featured .eyebrow{background:rgba(37,99,235,.2);color:#8cc0ff}
.featured .flogo{width:66px;height:66px;border-radius:16px;display:block;margin-bottom:16px;
  box-shadow:0 10px 28px rgba(0,0,0,.55)}
.featured h2{color:#fff;font-size:clamp(1.7rem,3.4vw,2.15rem);line-height:1.15;margin:0 0 12px;
  font-weight:850;letter-spacing:-.01em}
.featured p{color:#9fb6cf;margin:0 0 8px}
.featured .storebadges{margin-top:20px}
/* the App Store badge is black-on-black inside the dark band — give it an edge */
.featured .storebadges a{display:inline-flex;border-radius:9px;box-shadow:0 0 0 1px rgba(255,255,255,.24)}
.featured .flinks{margin-top:18px;font-weight:600;font-size:.93rem}
.featured .flinks a{color:#8cc0ff;margin-right:18px}
.featured .flinks a:hover{color:#fff}
/* wide CTA variant: show the banner whole on black rather than cropping the wordmark */
.featured.cta-band{background:#000;border-color:#152740}
.featured.cta-band .fbanner img{object-fit:contain;object-position:center}
@media(max-width:820px){
  .featured{grid-template-columns:1fr}
  .featured .fbody{padding:28px;order:2}
  .featured .fbanner{order:1;min-height:200px}
}

/* Screenshot strip */
.shotstrip{display:grid;grid-template-columns:repeat(4,1fr);gap:18px}
.shotstrip figure{margin:0}
.shotstrip img{display:block;width:100%;height:auto;border-radius:14px;border:1px solid var(--line);
  background:#0a1421;box-shadow:var(--shadow)}
.shotstrip figcaption{margin-top:10px;text-align:center;font-size:.86rem;font-weight:600;color:var(--muted)}
@media(max-width:820px){.shotstrip{grid-template-columns:repeat(2,1fr);gap:14px}}

/* Social links */
.social{display:flex;gap:10px;align-items:center}
.social a{display:inline-flex;align-items:center;justify-content:center;width:38px;height:38px;
  border-radius:10px;color:var(--muted);background:var(--bg-3);border:1px solid var(--line);transition:.16s}
.social a:hover{color:#fff;background:linear-gradient(135deg,var(--accent),var(--accent-2));
  border-color:transparent;transform:translateY(-2px)}
.social svg{width:18px;height:18px;fill:currentColor;display:block}

/* Footer */
.site-footer{border-top:1px solid var(--line);padding:40px 0;color:var(--muted);font-size:.92rem;background:var(--bg-2)}
.site-footer .wrap{display:flex;flex-wrap:wrap;gap:18px 30px;justify-content:space-between;align-items:center}
.site-footer .fbrand img{width:150px;height:auto;display:block;margin-bottom:12px}
.site-footer .links a{color:var(--muted);margin-right:18px}
.site-footer .links a:hover{color:var(--accent)}
@media(max-width:640px){.nav a{margin-left:14px;font-size:.85rem}.hero{padding:56px 0 36px}}
