/* Skill tests pages (listing + test detail). Same palette as the site header and home hero (home-hero.css):
   navy ink, ScholarHat cyan to blue, Plus Jakarta Sans. Put class "st" on the page root and use ONLY these tokens
   so light and dark stay in sync. Theme switch = [data-bs-theme] on <html>. */
.st {
  --st-bg: #f4f8fb;
  --st-bg2: #eaf3f9;          /* alternating section band */
  --st-panel: #ffffff;
  --st-panel2: #f1f7fb;       /* inner tiles, inputs */
  --st-ink: #0f1b2d;
  --st-body: #46566b;
  --st-muted: #5c6c80;
  --st-line: rgba(20, 90, 140, .16);
  --st-a: #0891b2;            /* cyan (decorative / large) */
  --st-b: #2563eb;            /* blue */
  --st-a-ink: #0b6f8c;        /* cyan for small text (5.6:1 on panel) */
  --st-soft: rgba(8, 145, 178, .10);
  --st-grad: linear-gradient(135deg, #0e7490, #1d4ed8);       /* primary buttons, white text */
  --st-grad-text: linear-gradient(to right, #0891b2, #2563eb);
  --st-on-grad: #ffffff;
  --st-ok: #0f8a5f;
  --st-ok-bg: rgba(15, 138, 95, .12);
  --st-warn: #b45309;
  --st-gold: #b7791f;         /* rank 1 */
  --st-silver: #64748b;       /* rank 2 */
  --st-bronze: #a0522d;       /* rank 3 */
  --st-ring: rgba(8, 145, 178, .30);
  --st-shadow: 0 1px 0 rgba(255,255,255,.9) inset, 0 2px 4px rgba(15, 60, 100, .06), 0 28px 50px -30px rgba(15, 80, 130, .40);
  --st-r: 14px; --st-r-lg: 20px; --st-r-sm: 10px;
  --st-font: "Plus Jakarta Sans", system-ui, -apple-system, "Segoe UI", sans-serif;
  font-family: var(--st-font);
  color: var(--st-body);
  background: var(--st-bg);
}
[data-bs-theme="dark"] .st {
  --st-bg: #0b1220;
  --st-bg2: #0e1a2d;
  --st-panel: #0f1c30;
  --st-panel2: #12233b;
  --st-ink: #eef7ff;
  --st-body: #b4c6d9;
  --st-muted: #8fa5bb;
  --st-line: rgba(110, 190, 230, .18);
  --st-a: #2fb8d6;
  --st-b: #60a5fa;
  --st-a-ink: #67d3ea;
  --st-soft: rgba(47, 184, 214, .12);
  --st-grad: linear-gradient(135deg, #0e7490, #2563eb);
  --st-grad-text: linear-gradient(to right, #22d3ee, #60a5fa);
  --st-ok: #34d399;
  --st-ok-bg: rgba(52, 211, 153, .14);
  --st-warn: #fbbf24;
  --st-gold: #fbbf24;
  --st-silver: #cbd5e1;
  --st-bronze: #e0a070;
  --st-ring: rgba(47, 184, 214, .40);
  --st-shadow: 0 1px 0 rgba(255,255,255,.04) inset, 0 2px 4px rgba(0, 0, 0, .3), 0 28px 50px -30px rgba(0, 0, 0, .7);
}

/* ---- Layout and type scale: the WEBSITE's own (home-hero.css: .hh-shell 1240px container, .hh-title, h2 of the home sections) ---- */
.st {
  --st-container: 1240px;                           /* same as the home hero and the site header content */
  --st-gut: 16px;                                   /* side gutter (container = 100% - 2 * gutter) */
  --st-gap: 24px;
  --st-h1: clamp(2.1rem, 3.55vw, 3.15rem);          /* hero headline: weight 800, line-height 1.05, tracking -.035em */
  --st-h2: clamp(1.8rem, 3.6vw, 2.75rem);           /* section headline: weight 800, line-height 1.1, tracking -.03em */
  --st-h3: clamp(1.15rem, 1.6vw, 1.4rem);           /* sub headline: weight 700 */
  --st-lead: clamp(1rem, 1.3vw, 1.125rem);          /* lead: weight 400, line-height 1.6 */
  --st-section: clamp(40px, 5vw, 72px);             /* vertical section padding */
}
@media (max-width: 639px)  { .st { --st-gap: 12px; } }
.st-wrap { width: min(100% - 2 * var(--st-gut), var(--st-container)); margin-inline: auto; }
.st-section { padding-block: var(--st-section); }
.st-h1, .st-h2, .st-h3 { margin: 0; color: var(--st-ink); text-wrap: balance; }
.st-h1 { font-size: var(--st-h1); line-height: 1.05; font-weight: 800; letter-spacing: -.035em; }
.st-h2 { font-size: var(--st-h2); line-height: 1.1; font-weight: 800; letter-spacing: -.03em; }
.st-h3 { font-size: var(--st-h3); line-height: 1.25; font-weight: 700; letter-spacing: -.015em; }
.st-lead { font-size: var(--st-lead); line-height: 1.6; font-weight: 400; max-width: 60ch; color: var(--st-body); text-wrap: pretty; }
