/* ThunderJump website: one stylesheet for every page. Light and dark. */
:root {
  --bg: #ffffff;
  --bg-soft: #f5f6fa;
  --fg: #16171d;
  --dim: #5d606c;
  --line: #e2e4ec;
  --accent: #3157d5;
  --accent-fg: #ffffff;
  --accent-soft: #e8edfd;
  --bolt: #f5b301;
  --yes: #1d7a3a;
  --no: #9a9ca6;
  --radius: 14px;
}
@media (prefers-color-scheme: dark) {
  :root {
    --bg: #121318;
    --bg-soft: #1a1c23;
    --fg: #eceef4;
    --dim: #a0a3b0;
    --line: #2b2e38;
    --accent: #7393ff;
    --accent-fg: #0d0f15;
    --accent-soft: #1f2640;
    --yes: #6fd38f;
    --no: #6c6f7a;
  }
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  background: var(--bg);
  color: var(--fg);
  font: 17px/1.6 system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;
}
img { max-width: 100%; height: auto; display: block; }
a { color: var(--accent); }
code, kbd {
  font: 0.88em ui-monospace, SFMono-Regular, Menlo, Consolas, monospace;
  background: var(--bg-soft);
  border: 1px solid var(--line);
  border-radius: 6px;
  padding: 0.05em 0.35em;
}
.wrap { max-width: 1080px; margin: 0 auto; padding: 0 20px; }

/* Top bar */
.top { border-bottom: 1px solid var(--line); }
.top .wrap { display: flex; align-items: center; gap: 16px; height: 60px; }
.brand { flex-shrink: 0; display: flex; align-items: center; gap: 10px; font-weight: 700; color: var(--fg); text-decoration: none; }
.brand img { width: 28px; height: 28px; }
.top nav { margin-left: auto; display: flex; gap: 18px; font-size: 15px; }
.top nav a { color: var(--dim); text-decoration: none; white-space: nowrap; }
.top nav a:hover { color: var(--fg); }

/* Hero */
.hero { padding: 72px 0 40px; text-align: center; }
.hero img.logo { width: 96px; height: 96px; margin: 0 auto 18px; }
.hero h1 { overflow-wrap: anywhere; font-size: clamp(28px, 5vw, 52px); line-height: 1.12; margin: 0 0 14px; letter-spacing: -0.02em; }
.hero p.lead { font-size: 20px; color: var(--dim); max-width: 720px; margin: 0 auto 28px; }
.buttons { display: flex; gap: 12px; justify-content: center; flex-wrap: wrap; }
.btn {
  display: inline-block;
  padding: 12px 22px;
  border-radius: 999px;
  font-weight: 600;
  text-decoration: none;
  border: 1px solid var(--line);
  color: var(--fg);
  background: var(--bg);
}
.btn.primary { background: var(--accent); color: var(--accent-fg); border-color: var(--accent); }
.btn:hover { filter: brightness(1.07); }
.small { font-size: 14px; color: var(--dim); }
.hero .small { margin-top: 14px; }

/* Screenshots */
.shot { margin: 40px auto 0; border-radius: var(--radius); overflow: hidden; border: 1px solid var(--line); box-shadow: 0 18px 50px rgba(20, 30, 70, 0.14); }
.shots { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(420px, 100%), 1fr)); gap: 26px; }
figure { margin: 0; }
figcaption { font-size: 14px; color: var(--dim); margin-top: 8px; }
.shots img { border-radius: 10px; border: 1px solid var(--line); }

/* Sections */
section { padding: 56px 0; }
section.soft { background: var(--bg-soft); }
h2 { font-size: clamp(26px, 3.4vw, 36px); line-height: 1.2; margin: 0 0 12px; letter-spacing: -0.01em; }
h3 { font-size: 19px; margin: 0 0 6px; }
.intro { color: var(--dim); max-width: 760px; margin: 0 0 32px; }
.grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(240px, 1fr)); gap: 20px; }
.card { background: var(--bg); border: 1px solid var(--line); border-radius: var(--radius); padding: 22px; }
.card p { margin: 0; color: var(--dim); font-size: 16px; }
.card .ico { font-size: 26px; margin-bottom: 8px; }

/* Key table / steps */
.keys { width: 100%; border-collapse: collapse; }
.keys td { padding: 9px 10px; border-bottom: 1px solid var(--line); vertical-align: top; }
.keys td:first-child { white-space: nowrap; width: 1%; }
ol.steps { padding-left: 22px; }
ol.steps li { margin-bottom: 8px; }

/* Comparison table */
.table-scroll { overflow-x: auto; border: 1px solid var(--line); border-radius: var(--radius); }
table.compare { width: 100%; border-collapse: collapse; min-width: 760px; font-size: 15px; }
.compare th, .compare td { padding: 11px 14px; border-bottom: 1px solid var(--line); text-align: left; vertical-align: top; }
.compare thead th { background: var(--bg-soft); position: sticky; top: 0; }
.compare thead th.us, .compare td.us { background: var(--accent-soft); }
.compare tbody th { font-weight: 600; width: 26%; }
.compare tr.group th { background: var(--bg-soft); font-size: 13px; text-transform: uppercase; letter-spacing: 0.05em; color: var(--dim); }
.yes { color: var(--yes); font-weight: 600; }
.no { color: var(--no); }
.note { display: block; font-size: 13px; color: var(--dim); }

/* Test status */
table.tested { min-width: 0; }
.tested tbody th { width: auto; }
.fail { color: #c62828; font-weight: 600; }
ul.releases { padding-left: 20px; margin: 8px 0 0; }

/* FAQ */
details { border-bottom: 1px solid var(--line); padding: 14px 0; }
summary { cursor: pointer; font-weight: 600; }
details p { color: var(--dim); margin: 10px 0 0; }

/* Footer */
footer { border-top: 1px solid var(--line); padding: 28px 0 40px; font-size: 14px; color: var(--dim); }
footer .wrap { display: flex; flex-wrap: wrap; gap: 8px 22px; }
footer a { color: var(--dim); }

@media (max-width: 640px) {
  body { font-size: 16px; }
  .top nav { gap: 14px; font-size: 14px; }
  .hide-sm { display: none; }
  .hero p.lead { font-size: 18px; }
  .keys td:first-child { white-space: normal; width: 40%; }
  .keys td { overflow-wrap: anywhere; padding: 8px 6px; }
  .hero { padding-top: 44px; }
  section { padding: 40px 0; }
}
