/* ============================================================
   SKER design system — shared by the platform landing page and
   every product page. A product page overrides --accent (and
   --accent-ink) to re-skin the whole system.

   Brand: Ring Blue #4D7CFE (SKER) · Accent Orange #FF5C3A (energy,
   used sparingly) · WrestleRef Green #22C55E · Navy #0B0F1A ·
   Parchment #F8F7F4.
   ============================================================ */

@import url('https://fonts.googleapis.com/css2?family=Outfit:wght@400;500;600;700;800;900&family=JetBrains+Mono:wght@500;700&display=swap');

:root {
  /* surfaces */
  --bg: #0B0F1A;            /* brand navy */
  --bg-2: #0e1420;
  --surface: #141b29;
  --surface-2: #1a2333;
  --text: #eef2f7;
  --muted: #8a97ab;
  --border: rgba(255, 255, 255, .10);
  --border-2: rgba(255, 255, 255, .06);

  /* brand */
  --accent: #4D7CFE;        /* SKER Ring Blue; products override */
  --accent-ink: #ffffff;    /* text on --accent */
  --orange: #FF5C3A;        /* energy accent — sparing */
  --green: #22C55E;         /* WrestleRef / positive signal */
  --amber: #F5A623;         /* rule-citation highlight */

  /* type */
  --font-display: 'Outfit', system-ui, sans-serif;
  --font: 'Outfit', system-ui, -apple-system, sans-serif;
  --font-mono: 'JetBrains Mono', ui-monospace, monospace;

  /* layout */
  --radius: 14px;
  --radius-sm: 8px;
  --max: 1180px;
}

* { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; }
body {
  background: var(--bg); color: var(--text);
  font: 400 17px/1.6 var(--font); -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}
a { color: inherit; text-decoration: none; }
img, video { max-width: 100%; display: block; }
.wrap { max-width: var(--max); margin: 0 auto; padding: 0 clamp(20px, 5vw, 40px); }

/* kicker / eyebrow */
.kicker {
  font-family: var(--font-mono); font-size: 12px; font-weight: 500;
  letter-spacing: .22em; text-transform: uppercase; color: var(--accent);
  display: inline-flex; align-items: center; gap: 9px;
}
.kicker .dot { width: 7px; height: 7px; border-radius: 50%; background: var(--accent);
  box-shadow: 0 0 12px var(--accent); animation: pulse 1.6s infinite; }
@keyframes pulse { 0%,100%{opacity:1} 50%{opacity:.3} }

/* header */
.site-header { position: sticky; top: 0; z-index: 50;
  background: color-mix(in srgb, var(--bg) 82%, transparent);
  backdrop-filter: blur(12px); border-bottom: 1px solid var(--border-2); }
.site-header .wrap { display: flex; align-items: center; justify-content: space-between; height: 66px; }
.brand { display: inline-flex; align-items: center; gap: 11px; font-family: var(--font); font-weight: 800;
  letter-spacing: .02em; font-size: 17px; color: var(--text); }
.brand img { height: 30px; width: auto; }
.brand img.mark { height: 36px; }
.brand .sep { color: var(--muted); font-weight: 400; margin: 0 2px; }
.brand .prod { font-family: var(--font-mono); font-weight: 700; font-size: 13px; letter-spacing: .12em; color: var(--muted); }
.nav { display: flex; gap: 26px; align-items: center; }
.nav a { color: var(--muted); font-size: 15px; font-weight: 500; transition: color .2s; }
.nav a:hover { color: var(--text); }
.nav .btn { color: var(--accent-ink); }
@media (max-width: 760px){ .nav a:not(.btn):not(.signin){ display:none; } }
.nav .signin { color: var(--text); font-weight: 600; }
@media (max-width: 760px){ .site-header .wrap { gap: 12px; } .brand { font-size: 15px; gap: 8px; } .brand img.mark { height: 30px; } .brand .sep, .brand .prod { display:none; } .nav { gap: 14px; } .nav a { white-space: nowrap; } }

/* buttons */
.btn { display: inline-flex; align-items: center; gap: 9px; padding: 14px 24px; border-radius: 8px;
  font-weight: 600; font-size: 15px; background: var(--accent); color: var(--accent-ink);
  border: 1px solid transparent; cursor: pointer;
  transition: transform .2s, box-shadow .2s, border-color .2s, color .2s; }
.btn:hover { transform: translateY(-2px); box-shadow: 0 16px 40px -10px color-mix(in srgb, var(--accent) 55%, transparent); }
.btn.secondary { background: rgba(255,255,255,.04); color: var(--text); border-color: var(--border); }
.btn.secondary:hover { border-color: var(--accent); color: var(--accent); box-shadow: none; }
.btn .arrow { transition: transform .2s; }
.btn:hover .arrow { transform: translateX(4px); }

/* sections */
.section { padding: clamp(64px, 9vw, 110px) 0; border-top: 1px solid var(--border-2); scroll-margin-top: 78px; }
.section-head { max-width: 720px; margin-bottom: 48px; }
.section-head h2 { font-family: var(--font-display); font-weight: 800; font-size: clamp(30px, 5.2vw, 52px);
  line-height: 1.02; letter-spacing: -.02em; margin: 16px 0 14px; }
.section-head p { color: var(--muted); font-size: 1.15rem; }

/* grid + cards */
.grid { display: grid; gap: 18px; grid-template-columns: repeat(auto-fit, minmax(260px, 1fr)); }
.card { background: var(--surface); border: 1px solid var(--border); border-radius: var(--radius);
  padding: 28px; transition: border-color .2s, transform .2s; }
.card:hover { border-color: color-mix(in srgb, var(--accent) 40%, var(--border)); }
.card .num { font-family: var(--font-mono); font-size: 13px; color: var(--accent); letter-spacing: .1em; margin-bottom: 14px; }
.card h3 { font-size: 1.35rem; font-weight: 700; margin-bottom: 8px; }
.card p { color: var(--muted); }
.card .tag { display: inline-block; font-family: var(--font-mono); font-size: 11px; letter-spacing: .14em;
  text-transform: uppercase; color: var(--muted); border: 1px solid var(--border); border-radius: 999px;
  padding: 4px 11px; margin-bottom: 14px; }
.card .tag.live { color: var(--green); border-color: color-mix(in srgb, var(--green) 40%, transparent); }

/* footer */
.site-footer { border-top: 1px solid var(--border-2); padding: 44px 0; color: var(--muted); font-size: .95rem; }
.site-footer .wrap { display: flex; flex-wrap: wrap; gap: 14px 28px; align-items: center; justify-content: space-between; }
.site-footer a:hover { color: var(--text); }
.site-footer .brand img { height: 22px; }

/* reveal */
@keyframes rise { from { opacity: 0; transform: translateY(22px); } to { opacity: 1; transform: translateY(0); } }
.rise { opacity: 0; animation: rise .8s forwards; }
