/* squadoverlay.com: one stylesheet for the landing page and the legal pages.
   Visual language follows overwolf.com: pure black, Montserrat headings over Lato body text,
   square uppercase buttons, borderless centred cards, accent-coloured statistics, a shield
   footer. The accent is the blue of the app's capture card. */
:root {
  --bg: #000;
  --band: #131313;
  --line: #262626;
  --white: #fff;
  --text: #dfdfdf;
  --muted: #bfbfbf;
  --faint: #9f9f9f;
  --accent: #119bea;
  --accent-hover: #0b84cc;
  --display: Montserrat, "Helvetica Neue", "Segoe UI", Arial, sans-serif;
  --body: Lato, "Helvetica Neue", "Segoe UI", Arial, sans-serif;
}
* { box-sizing: border-box; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
html, body { margin: 0; }
body { background: var(--bg); color: var(--text); font: 400 16px/1.6 var(--body); -webkit-font-smoothing: antialiased; overflow-x: hidden; }
h1, h2, h3 { margin: 0; font-family: var(--display); font-weight: 700; color: var(--white); }
p { margin: 0; }
a { color: var(--text); }
a:hover { color: var(--white); }
:focus-visible { outline: 2px solid var(--white); outline-offset: 3px; }
img, svg { display: block; max-width: 100%; }
[id] { scroll-margin-top: 70px; }
.ico { fill: none; stroke: currentColor; stroke-width: 1.6; stroke-linecap: round; stroke-linejoin: round; }

/* ------------------------------------------------------------------ buttons */
.btn-primary, .btn-secondary, .btn-secondary-small {
  display: inline-block; font: 500 16px/1.1 var(--display); text-decoration: none; cursor: pointer; border-radius: 0;
  transition: background-color .2s ease, border-color .2s ease, color .2s ease;
}
.btn-primary { padding: 16px 32px; color: var(--white); background: var(--accent); border: 0; text-transform: uppercase; }
.btn-primary:hover { color: var(--white); background: var(--accent-hover); }
.btn-secondary { padding: 16px 32px; color: var(--text); background: transparent; border: .8px solid var(--text); text-transform: uppercase; }
.btn-secondary-small { padding: 8px 32px; line-height: 1.4; color: var(--text); background: transparent; border: .8px solid var(--text); }
.btn-secondary:hover, .btn-secondary-small:hover { color: var(--white); background: var(--accent-hover); border-color: var(--accent-hover); }

/* ------------------------------------------------------------------ header */
.site-header { position: sticky; top: 0; z-index: 30; background: #000; }
.header-inner { display: flex; align-items: center; height: 70px; padding: 0 20px; }
.brand { display: inline-flex; align-items: center; gap: 10px; color: var(--white); text-decoration: none; font: 700 20px/1 var(--display); white-space: nowrap; }
.brand img { width: 30px; height: 30px; }
.brand-name span { color: var(--accent); }
.site-header nav { margin-left: auto; display: flex; align-items: center; gap: 48px; }
.site-header nav a:not([class]) { color: var(--text); text-decoration: none; font: 500 16px/1.5 var(--display); white-space: nowrap; }
.site-header nav a:not([class]):hover { color: var(--accent); }
@media (max-width: 960px) { .site-header nav a:not([class]) { display: none; } }
@media (max-width: 400px) { .brand { font-size: 17px; } .btn-secondary-small { padding: 8px 16px; } }

/* ------------------------------------------------------------------ hero */
/* A live three.js scene (hero3d.js) fills the hero behind left-aligned text, the way Overwolf's
   hero video does. Without WebGL the hero falls back to a static glow. */
.hero { position: relative; height: clamp(620px, calc(100vh - 70px), 900px); overflow: hidden; background: radial-gradient(40% 60% at 72% 50%, rgba(17, 155, 234, .28), transparent 70%), #000; }
.hero-canvas { position: absolute; inset: 0; width: 100%; height: 100%; display: block; opacity: 0; transition: opacity 1.2s ease; }
.hero.ready .hero-canvas { opacity: 1; }
.hero::after { content: ""; position: absolute; inset: 0; pointer-events: none; background: linear-gradient(90deg, rgba(0, 0, 0, .8) 0, rgba(0, 0, 0, .45) 30%, transparent 55%), linear-gradient(0deg, #000 0, transparent 18%); }
.hero-text { position: relative; z-index: 1; display: flex; flex-direction: column; justify-content: center; height: 100%; max-width: 760px; padding: 0 20px 40px 8vw; }
.hero h1 { font-size: 64px; line-height: 1.12; }
.hero h1 span { color: var(--accent); }
.hero .lede { margin-top: 24px; max-width: 470px; font: 400 22px/1.45 var(--display); color: var(--text); }
.hero-cta { display: flex; flex-wrap: wrap; gap: 16px; margin-top: 32px; }
.hero-note { margin-top: 18px; color: var(--faint); font-size: 14px; }
@media (max-width: 1100px) { .hero-text { padding-left: 20px; } .hero h1 { font-size: 52px; } }
@media (max-width: 760px) {
  .hero { height: auto; overflow: visible; background: radial-gradient(80% 300px at 50% 210px, rgba(17, 155, 234, .3), transparent 70%), #000; }
  .hero-canvas { position: relative; height: 440px; }
  .hero::after { background: linear-gradient(0deg, #000 0, transparent 22%); height: 440px; }
  .hero-text { height: auto; margin-top: -30px; padding: 0 20px; }
  .hero h1 { font-size: 40px; }
  .hero .lede { font-size: 18px; }
}

/* "Made for" strip: Overwolf's "Trusted by" row */
.made-for { display: flex; flex-wrap: wrap; align-items: center; gap: 24px 56px; padding: 30px 20px 40px; }
.made-for h3 { font-size: 22px; font-weight: 500; }
.made-for ul { display: flex; flex-wrap: wrap; gap: 24px 56px; margin: 0; padding: 0; list-style: none; }
.made-for li { display: flex; align-items: center; gap: 12px; color: var(--muted); font: 500 16px/1.2 var(--display); }
.made-for svg { width: 30px; height: 30px; color: var(--white); }

/* ------------------------------------------------------------------ sections */
.section-title { padding: 96px 20px 48px; text-align: center; font-size: 44px; line-height: 1.27; }
.anim { opacity: 0; transform: translateY(24px); transition: opacity .7s ease, transform .7s ease; }
.anim.in { opacity: 1; transform: none; }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } .anim { opacity: 1 !important; transform: none !important; transition: none !important; } }
@media (max-width: 760px) { .section-title { padding-top: 64px; font-size: 32px; } }

/* "Create with us": borderless cards, picture on top, centred text, a primary button */
.cards { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 24px; margin: 0; padding: 0 0 96px; list-style: none; }
.cards li { display: flex; flex-direction: column; align-items: center; text-align: center; }
.cards .art { width: 100%; aspect-ratio: 338 / 275; background: radial-gradient(70% 70% at 50% 45%, rgba(17, 155, 234, .25), transparent 70%), #0a0a0a; display: grid; place-items: center; overflow: hidden; }
.cards .art img { width: 86%; height: auto; box-shadow: 0 24px 50px -16px #000; }
.cards h3 { margin-top: 36px; padding: 0 20px; font-size: 32px; line-height: 1.25; }
.cards p { margin-top: 24px; padding: 0 20px; max-width: 340px; font-size: 18px; line-height: 1.5; }
.cards .btn-primary { margin-top: 32px; }
@media (max-width: 1100px) { .cards { grid-template-columns: repeat(2, minmax(0, 1fr)); row-gap: 64px; } }
@media (max-width: 600px) { .cards { grid-template-columns: 1fr; } .cards h3 { font-size: 26px; } }

/* product bands: text on the left, artwork on the right, on a fading grey band */
.band { position: relative; display: flex; align-items: center; min-height: 600px; padding: 64px 140px; background: linear-gradient(var(--band) 0, rgba(19, 19, 19, 0) 100%); overflow: hidden; }
.band + .band { margin-top: 96px; }
.band .content { position: relative; z-index: 1; max-width: 520px; }
.band h2 { font-size: 44px; line-height: 1.27; }
.band p { margin-top: 24px; font-size: 18px; line-height: 1.5; }
.band .btn-secondary { margin-top: 24px; }
.band .art { position: absolute; right: 6%; top: 50%; width: min(42%, 600px); translate: 0 -50%; }
.band .art::before { content: ""; position: absolute; inset: -18%; background: radial-gradient(closest-side, rgba(17, 155, 234, .32), transparent); z-index: -1; }
.band .art img { width: 100%; height: auto; box-shadow: 0 40px 80px -30px #000; }
@media (max-width: 1240px) { .band { padding: 64px 60px; } }
@media (max-width: 1100px) {
  .band { flex-direction: column; align-items: flex-start; min-height: 0; padding: 56px 20px; }
  .band .art { position: relative; right: auto; top: auto; width: 100%; margin-top: 40px; translate: none; }
  .band h2 { font-size: 32px; }
}

/* statistics */
.statistics { padding: 96px 20px; }
.statistics .lead { max-width: 592px; margin: 0 auto; }
.statistics h2 { font-size: 44px; line-height: 1.27; }
.statistics .lead p { margin-top: 24px; max-width: 540px; font-size: 18px; line-height: 1.5; }
.statistics dl { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 40px 24px; margin: 96px 0 0; padding: 0 20px; }
.statistics dl > div { display: flex; flex-direction: column-reverse; align-items: center; text-align: center; min-width: 140px; }
.statistics dd { margin: 0; font: 700 64px/1.12 var(--display); color: var(--accent); }
.statistics dt { margin-top: 8px; font: 400 16px/1.5 var(--display); letter-spacing: 3.2px; text-transform: uppercase; color: var(--text); }
@media (max-width: 760px) { .statistics h2 { font-size: 32px; } .statistics dl { justify-content: center; } .statistics dl > div { flex-basis: 40%; } }

/* "Partner with us": three centred columns with large art */
.trio { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 48px; margin: 0; padding: 0 20px 96px; list-style: none; }
.trio li { display: flex; flex-direction: column; align-items: center; text-align: center; }
.trio .art { display: grid; place-items: center; width: 100%; aspect-ratio: 464 / 354; background: radial-gradient(closest-side, rgba(17, 155, 234, .28), transparent); }
.trio .art span { font: 700 150px/1 var(--display); color: var(--white); text-shadow: 0 0 60px rgba(17, 155, 234, .7); }
.trio .art small { display: block; margin-top: 10px; font: 400 14px/1.4 var(--display); letter-spacing: 3px; text-transform: uppercase; color: var(--text); text-shadow: none; }
.trio h3 { margin-top: 24px; font-size: 32px; line-height: 1.25; }
.trio p { margin-top: 24px; max-width: 350px; font-size: 18px; line-height: 1.5; }
.trio .btn-secondary { margin-top: 24px; }
@media (max-width: 900px) { .trio { grid-template-columns: 1fr; gap: 64px; } .trio .art { max-width: 420px; } }

/* faq, in the same plain style */
.faq { max-width: 960px; margin: 0 auto; padding: 0 20px 96px; }
.faq details { border-bottom: 1px solid var(--line); }
.faq details:first-child { border-top: 1px solid var(--line); }
.faq summary { cursor: pointer; list-style: none; display: flex; align-items: center; gap: 20px; padding: 24px 0; font: 500 20px/1.4 var(--display); color: var(--white); }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: "+"; margin-left: auto; font: 400 28px/1 var(--display); color: var(--accent); transition: transform .2s ease; }
.faq details[open] summary::after { transform: rotate(45deg); }
.faq details p { padding: 0 0 24px; max-width: 800px; font-size: 18px; line-height: 1.5; }
.faq details p a { color: var(--accent); }

/* ------------------------------------------------------------------ footer */
.site-footer { position: relative; background: radial-gradient(900px 520px at 50% 18%, rgba(17, 155, 234, .22), transparent 70%), #000; font-family: var(--display); }
.back-to-top { display: flex; flex-direction: column; align-items: center; width: 90px; margin: 0 auto; padding-top: 24px; color: var(--text); font-size: 0; text-decoration: none; }
.back-to-top svg { width: 24px; height: 24px; transition: transform .2s ease; }
.back-to-top:hover svg { transform: translateY(-4px); }
.footer-mark { width: 200px; height: auto; margin: 32px auto 0; filter: drop-shadow(0 0 50px rgba(17, 155, 234, .75)); }
.footer-cta { padding: 48px 20px 0; text-align: center; }
.footer-cta h2 { font-size: 44px; line-height: 1.27; }
.footer-cta .badge { display: inline-block; margin-top: 32px; }
.badge img { width: 180px; height: auto; }
.site-footer-nav { display: flex; flex-wrap: wrap; gap: 40px 0; padding: 120px 20px 64px; }
.site-footer-nav .logos { flex: 0 0 185px; align-self: flex-end; }
.site-footer-nav .logos img { width: 72px; height: auto; }
.site-footer-nav nav { flex: 1; }
.site-footer-nav nav > ul { display: flex; flex-wrap: wrap; gap: 40px 0; margin: 0; padding: 0; list-style: none; }
.site-footer-nav nav > ul > li { flex: 1 1 200px; }
.site-footer-nav h3 { margin-bottom: 20px; font-size: 16px; font-weight: 700; }
.site-footer-nav ul ul { display: grid; gap: 24px; margin: 0; padding: 0; list-style: none; }
.site-footer-nav ul ul a { color: var(--faint); font: 500 14px/1.2 var(--display); text-decoration: none; }
.site-footer-nav ul ul a:hover { color: var(--white); }
.site-footer-social { border-top: 1px solid var(--line); }
.site-footer-social-inner { display: flex; flex-wrap: wrap; align-items: center; gap: 12px 24px; padding: 20px; }
.copyright { color: var(--faint); font-size: 14px; }
.site-footer-social-inner a { margin-left: auto; color: var(--faint); font-size: 14px; text-decoration: none; }
.site-footer-social-inner a:hover { color: var(--white); }
@media (max-width: 760px) { .site-footer-nav { padding-top: 72px; } .site-footer-nav .logos { flex-basis: 100%; } .footer-cta h2 { font-size: 32px; } }

/* ------------------------------------------------------------------ legal pages */
.doc { padding: 96px 20px; }
.doc .wrap { max-width: 860px; margin: 0 auto; }
.doc h1 { font-size: clamp(36px, 6vw, 64px); line-height: 1.12; }
.doc .meta { margin: 24px 0 48px; padding-bottom: 32px; border-bottom: 1px solid var(--line); color: var(--faint); font-size: 16px; }
.doc h2 { margin: 48px 0 16px; font-size: 28px; line-height: 1.3; }
.doc p, .doc li { font-size: 18px; line-height: 1.6; }
.doc p + p { margin-top: 16px; }
.doc ul { padding-left: 1.3rem; margin: 16px 0; }
.doc li { margin: 8px 0; }
.doc li::marker { color: var(--accent); }
.doc strong { color: var(--white); }
.doc a { color: var(--accent); text-underline-offset: 4px; }
.table { overflow-x: auto; margin: 24px 0; border: 1px solid var(--line); }
table { border-collapse: collapse; width: 100%; min-width: 640px; font-size: 16px; }
th, td { text-align: left; vertical-align: top; padding: 14px 16px; border-bottom: 1px solid var(--line); }
th { font: 600 13px/1.3 var(--display); color: var(--white); text-transform: uppercase; letter-spacing: .1em; background: var(--band); }
td:first-child { color: var(--white); font-weight: 700; }
tr:last-child td { border-bottom: 0; }
