/* SecureSmarter: shared styles */
:root {
  --ink: #15181D;
  --ink-2: #1D2128;
  --ink-3: #272C34;
  --paper: #F7F6F3;
  --white: #FFFFFF;
  --line: #E4E2DC;
  --muted: #5A606B;
  --muted-dark: #A3AAB5;
  --gold: #E2A62B;
  --coral: #F0644A;
  --teal: #12A39A;
  --violet: #8B5CF0;
  --blue: #2F7BF5;
  --good: #12A39A;
  --bad: #F0644A;
  --display: Anton, Impact, "Arial Narrow", sans-serif;
  --body: Figtree, system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;
  --mono: "JetBrains Mono", ui-monospace, SFMono-Regular, Menlo, Consolas, monospace;
  --radius: 20px;
  --wrap: 1120px;
}

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } }
body {
  margin: 0;
  background: var(--paper);
  color: var(--ink);
  font-family: var(--body);
  font-size: 17px;
  line-height: 1.55;
  -webkit-font-smoothing: antialiased;
}
img, svg { display: block; max-width: 100%; }
a { color: inherit; }
button, input { font: inherit; }
:focus-visible { outline: 3px solid var(--blue); outline-offset: 3px; border-radius: 6px; }

.wrap { width: 100%; max-width: var(--wrap); margin: 0 auto; padding: 0 20px; }
.sr-only { position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0; }

/* ---------- Lockup: the S and the stacked words ---------- */
.lockup {
  --lh: 40px;
  display: inline-flex;
  align-items: center;
  gap: calc(var(--lh) * 0.146);
  height: var(--lh);
  text-decoration: none;
  color: var(--ink);
}
.lockup .s-mark { height: 100%; width: auto; aspect-ratio: 70.8 / 100; }
.lockup .wordmark { height: 100%; width: auto; aspect-ratio: 2.6 / 1; overflow: visible; }
.wordmark text { font-family: var(--display); fill: currentColor; }
.lockup.on-dark { color: var(--white); }

/* ---------- Header ---------- */
.site-header { background: var(--ink); color: var(--white); }
.site-header .wrap { display: flex; align-items: center; justify-content: space-between; gap: 16px; min-height: 72px; }
.site-header nav { display: flex; align-items: center; gap: 8px; }
.nav-link { color: var(--muted-dark); text-decoration: none; font-weight: 600; font-size: 15px; padding: 10px 12px; border-radius: 10px; }
.nav-link:hover { color: var(--white); }

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  min-height: 48px; padding: 0 22px;
  border-radius: 999px; border: 2px solid transparent;
  font-weight: 700; font-size: 16px; text-decoration: none; cursor: pointer;
  transition: transform .12s ease, background-color .15s ease, color .15s ease;
}
.btn:active { transform: translateY(1px); }
.btn-gold { background: var(--gold); color: var(--ink); }
.btn-gold:hover { background: #EBB548; }
.btn-ink { background: var(--ink); color: var(--white); }
.btn-ink:hover { background: #2A2F37; }
.btn-ghost { background: transparent; color: inherit; border-color: currentColor; }
.btn-ghost:hover { background: rgba(127,127,127,.12); }
.btn-small { min-height: 40px; padding: 0 16px; font-size: 15px; }

/* ---------- Type helpers ---------- */
.eyebrow { margin: 0; font-size: 13px; font-weight: 700; letter-spacing: .14em; text-transform: uppercase; color: var(--muted); }
.on-dark .eyebrow, .dark .eyebrow { color: var(--muted-dark); }
.display { font-family: var(--display); font-weight: 400; letter-spacing: .01em; line-height: 1; }
h1, h2, h3 { margin: 0; }
p { margin: 0; }

/* ---------- Sections ---------- */
.section { padding: 88px 0; }
.dark { background: var(--ink); color: var(--white); }
.white { background: var(--white); }
.section-head { display: flex; flex-direction: column; gap: 12px; max-width: 640px; margin-bottom: 40px; }
.section-head h2 { font-size: clamp(32px, 4.6vw, 48px); line-height: 1.08; letter-spacing: -0.015em; font-weight: 800; }
.section-head p { font-size: 18px; color: var(--muted); }
.dark .section-head p { color: var(--muted-dark); }

/* ---------- Hero ---------- */
.hero { padding: 72px 0 96px; }
.hero .wrap { display: grid; grid-template-columns: minmax(0, 1.2fr) minmax(0, 0.8fr); align-items: center; gap: 48px; }
.hero h1 { font-size: clamp(42px, 6.4vw, 76px); line-height: 1.02; letter-spacing: -0.025em; font-weight: 800; margin: 14px 0 20px; }
.hero .lede { font-size: clamp(18px, 2vw, 20px); color: var(--muted-dark); max-width: 560px; }
.hero-cta { display: flex; flex-wrap: wrap; align-items: center; gap: 12px 18px; margin-top: 32px; }
.hero-note { font-size: 14px; color: var(--muted-dark); }
.hero-s { justify-self: center; width: min(100%, 300px); }
.hero-s svg { width: 100%; height: auto; overflow: visible; }

/* the scoreboard lights */
.s-light { transition: fill .35s ease, filter .35s ease; }
.s-light.is-on { filter: drop-shadow(0 0 3px var(--glow, transparent)); }

/* ---------- Games grid ---------- */
.games { display: grid; grid-template-columns: repeat(5, minmax(0, 1fr)); gap: 16px; }
.game {
  display: flex; flex-direction: column; gap: 12px;
  background: var(--white); border: 2px solid var(--line); border-radius: var(--radius);
  padding: 20px; text-decoration: none; color: inherit; position: relative;
}
a.game:hover { border-color: var(--ink); }
.game img { width: 72px; height: 72px; }
.game h3 { font-family: var(--display); font-weight: 400; font-size: 34px; line-height: 1; letter-spacing: .01em; margin-top: 4px; }
.game .q { font-weight: 700; font-size: 16px; line-height: 1.3; }
.game .d { font-size: 15px; color: var(--muted); line-height: 1.45; }
.tag { align-self: flex-start; margin-top: auto; font-size: 12px; font-weight: 800; letter-spacing: .08em; text-transform: uppercase; padding: 6px 10px; border-radius: 999px; }
.tag-live { background: var(--gold); color: var(--ink); }
.tag-soon { background: var(--paper); color: var(--muted); }
.lights3 { display: flex; gap: 5px; }
.lights3 span { width: 12px; height: 12px; border-radius: 50%; }

/* ---------- Light up the S ---------- */
.how { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 56px; align-items: center; }
.how-steps { display: flex; gap: 28px; align-items: flex-end; flex-wrap: wrap; }
.how-steps figure { margin: 0; display: flex; flex-direction: column; gap: 10px; width: 88px; }
.how-steps svg { width: 64px; height: auto; }
.how-steps figcaption { display: flex; flex-direction: column; font-size: 14px; color: var(--muted); line-height: 1.3; }
.how-steps figcaption b { color: var(--ink); font-size: 15px; }
.how-copy { display: flex; flex-direction: column; gap: 16px; }
.how-copy h2 { font-size: clamp(32px, 4.6vw, 48px); line-height: 1.05; font-weight: 800; letter-spacing: -0.015em; }
.how-copy p { font-size: 18px; color: var(--muted); }
.legend { display: flex; flex-wrap: wrap; gap: 10px 18px; margin-top: 4px; }
.legend span { display: inline-flex; align-items: center; gap: 8px; font-weight: 700; font-size: 15px; }
.legend i { width: 12px; height: 12px; border-radius: 50%; display: inline-block; }

/* ---------- Signup ---------- */
.signup { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 40px; align-items: center; }
.signup h2 { font-size: clamp(30px, 4.2vw, 44px); line-height: 1.08; font-weight: 800; letter-spacing: -0.015em; }
.signup p.sub { font-size: 18px; color: var(--muted); margin-top: 12px; }
.dark .signup p.sub { color: var(--muted-dark); }
.form { display: flex; flex-direction: column; gap: 10px; }
.form-row { display: flex; gap: 10px; flex-wrap: wrap; }
.form input[type=email] {
  flex: 1 1 240px; min-height: 52px; padding: 0 18px;
  border-radius: 999px; border: 2px solid var(--line); background: var(--white); color: var(--ink);
}
.dark .form input[type=email] { border-color: var(--ink-3); }
.form input[type=email]:focus { outline: none; border-color: var(--blue); }
.form .btn { min-height: 52px; }
.form-note { font-size: 14px; color: var(--muted); }
.dark .form-note { color: var(--muted-dark); }
.form-msg { font-weight: 700; font-size: 15px; min-height: 1.4em; }
.form-msg.ok { color: var(--teal); }
.form-msg.err { color: var(--coral); }
.hp { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }

/* ---------- Teams ---------- */
.teams { display: grid; grid-template-columns: minmax(0, 1.1fr) minmax(0, 0.9fr); gap: 56px; align-items: start; }
.teams h2 { font-size: clamp(32px, 4.6vw, 52px); line-height: 1.04; font-weight: 800; letter-spacing: -0.02em; margin: 14px 0 22px; }
.ticks { list-style: none; padding: 0; margin: 0; display: flex; flex-direction: column; gap: 14px; }
.ticks li { display: flex; gap: 14px; align-items: flex-start; font-size: 18px; }
.ticks li::before { content: ""; flex: none; width: 14px; height: 14px; margin-top: 7px; border-radius: 50%; background: var(--gold); box-shadow: 0 0 10px rgba(226,166,43,.55); }
.panel { background: var(--ink-2); border: 1px solid var(--ink-3); border-radius: var(--radius); padding: 28px; display: flex; flex-direction: column; gap: 14px; }
.panel h3 { font-size: 22px; font-weight: 800; }

/* ---------- Footer ---------- */
.site-footer { background: var(--ink); color: var(--muted-dark); padding: 48px 0 56px; border-top: 1px solid var(--ink-3); }
.site-footer .wrap { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 24px; align-items: flex-start; }
.foot-left { display: flex; flex-direction: column; gap: 14px; }
.foot-left .tagline { color: var(--white); font-weight: 700; }
.foot-links { display: flex; flex-wrap: wrap; gap: 8px 20px; }
.foot-links a { color: var(--muted-dark); text-decoration: none; font-weight: 600; }
.foot-links a:hover { color: var(--white); }
.fine { font-size: 14px; max-width: 520px; margin-top: 8px; }

/* ---------- Responsive ---------- */
@media (max-width: 1020px) {
  .games { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .games .game:first-child { grid-column: 1 / -1; }
}
@media (max-width: 860px) {
  .hero .wrap, .how, .signup, .teams { grid-template-columns: minmax(0, 1fr); }
  .hero { padding: 40px 0 72px; }
  .hero-s { order: -1; width: 150px; justify-self: start; }
  .section { padding: 64px 0; }
}
@media (max-width: 560px) {
  .games { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 12px; }
  .game { padding: 16px; gap: 10px; }
  .game img { width: 56px; height: 56px; }
  .game h3 { font-size: 28px; }
  .game .q { font-size: 15px; }
  .games .game:not(:first-child) .d { display: none; }
  .how-steps { gap: 14px; flex-wrap: nowrap; align-items: flex-start; }
  .how-steps figure { width: auto; flex: 1 1 0; }
  .how-steps svg { width: 52px; }
  .site-header .nav-link { display: none; }
  .lockup { --lh: 34px; }
  .wrap { padding: 0 16px; }
  .form .btn { flex: 1 1 100%; }
}
