/* Techclick Exam Prep — professional home design system
   Senior product UI: disciplined dark theme, real vendor marks, subtle motion. */

:root {
  --bg: #060a12;
  --bg-elev: #0b1220;
  --text: #eef3fb;
  --muted: #9aa8bd;
  --faint: #6b7a90;
  --border: rgba(148, 163, 184, 0.14);
  --border-strong: rgba(148, 163, 184, 0.28);
  --surface: rgba(255, 255, 255, 0.035);
  --surface-2: rgba(255, 255, 255, 0.06);
  --brand: #f47216;
  --brand-2: #0ea5e9;
  --brand-soft: rgba(244, 114, 22, 0.16);
  --success: #34d399;
  --danger: #f87171;
  --radius: 18px;
  --shadow: 0 28px 70px -32px rgba(0, 0, 0, 0.85);
  --wrap: 1180px;
  --ease: cubic-bezier(0.22, 1, 0.36, 1);
}

*,
*::before,
*::after { box-sizing: border-box; }

html { scroll-behavior: smooth; }

body.exam-home {
  margin: 0;
  min-height: 100vh;
  font-family: Inter, system-ui, -apple-system, "Segoe UI", sans-serif;
  color: var(--text);
  background: var(--bg);
  letter-spacing: -0.011em;
  -webkit-font-smoothing: antialiased;
  line-height: 1.55;
  overflow-x: hidden;
}

body.exam-home::before {
  content: "";
  position: fixed;
  inset: 0;
  z-index: -1;
  pointer-events: none;
  background:
    radial-gradient(1000px 560px at 18% -8%, rgba(244, 114, 22, 0.18), transparent 58%),
    radial-gradient(800px 480px at 92% 4%, rgba(14, 165, 233, 0.14), transparent 55%),
    radial-gradient(700px 400px at 50% 100%, rgba(16, 185, 129, 0.05), transparent 50%),
    linear-gradient(180deg, #060a12 0%, #080d18 42%, #05080f 100%);
}

a { color: inherit; text-decoration: none; }
img { max-width: 100%; display: block; }
h1, h2, h3 { letter-spacing: -0.035em; line-height: 1.12; margin: 0 0 0.5rem; font-weight: 800; }
p { margin: 0 0 0.75rem; }

.wrap {
  width: min(var(--wrap), calc(100% - 2rem));
  margin-inline: auto;
}

.skip-link {
  position: absolute;
  left: -999px;
  top: 0;
  background: #fff;
  color: #000;
  padding: 0.5rem 0.8rem;
  z-index: 1000;
}
.skip-link:focus { left: 0.5rem; top: 0.5rem; }

.sr-only {
  position: absolute;
  width: 1px; height: 1px;
  padding: 0; margin: -1px;
  overflow: hidden; clip: rect(0, 0, 0, 0);
  border: 0;
}

.hidden { display: none !important; }
.muted { color: var(--muted); }
.grad {
  background: linear-gradient(100deg, #fb923c 0%, #0ea5e9 45%, #f47216 100%);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}

.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  font-size: 0.72rem;
  font-weight: 750;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: #fdba74;
  margin-bottom: 0.55rem;
}

/* Buttons */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.45rem;
  font-weight: 650;
  font-size: 0.92rem;
  border-radius: 12px;
  padding: 0.72rem 1.2rem;
  border: 1px solid transparent;
  cursor: pointer;
  transition: transform 0.18s var(--ease), box-shadow 0.2s ease, background 0.2s ease, border-color 0.2s ease;
  white-space: nowrap;
}
.btn:active { transform: translateY(1px); }
.btn-sm { padding: 0.48rem 0.9rem; font-size: 0.84rem; }
.btn-lg { padding: 0.88rem 1.35rem; font-size: 0.98rem; }
.btn-primary {
  background: linear-gradient(180deg, #fb923c, #ea580c);
  color: #fff;
  box-shadow: 0 14px 32px -14px rgba(234, 88, 12, 0.75);
}
.btn-primary:hover { box-shadow: 0 18px 36px -12px rgba(234, 88, 12, 0.9); filter: brightness(1.05); }
.btn-ghost {
  background: var(--surface-2);
  color: var(--text);
  border-color: var(--border-strong);
}
.btn-ghost:hover { border-color: var(--brand); background: var(--brand-soft); }
.text-link {
  color: #fdba74;
  font-weight: 650;
  font-size: 0.95rem;
}
.text-link:hover { color: #fff; text-decoration: underline; }

/* Header */
.site-header {
  position: sticky;
  top: var(--tc-bar-h, 0px);
  z-index: 60;
  background: rgba(6, 10, 18, 0.78);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  border-bottom: 1px solid var(--border);
}
.header-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  min-height: 66px;
  gap: 1rem;
}
.brand {
  display: flex;
  align-items: center;
  gap: 0.75rem;
}
.brand img { height: 34px; width: auto; }
.brand-text { display: none; border-left: 1px solid var(--border); padding-left: 0.75rem; }
.brand-text strong { display: block; font-size: 0.88rem; }
.brand-text small { display: block; font-size: 0.72rem; color: var(--muted); }
@media (min-width: 640px) {
  .brand-text { display: block; }
}
.header-nav {
  display: flex;
  align-items: center;
  gap: 0.2rem;
  flex-wrap: wrap;
  justify-content: flex-end;
}
.header-nav a:not(.btn) {
  color: var(--muted);
  font-size: 0.9rem;
  font-weight: 550;
  padding: 0.5rem 0.72rem;
  border-radius: 9px;
}
.header-nav a:not(.btn):hover {
  color: #fff;
  background: rgba(255, 255, 255, 0.05);
}
@media (max-width: 720px) {
  .header-nav a:not(.btn):not(:last-child) { display: none; }
}

body:has(.pro-topbar) > .site-header { display: none; }

/* Hero */
.hero {
  padding: 2.2rem 0 1rem;
}
.hero-grid {
  display: grid;
  gap: 1.75rem;
  align-items: center;
}
@media (min-width: 980px) {
  .hero-grid {
    grid-template-columns: minmax(0, 1.05fr) minmax(320px, 0.95fr);
    gap: 2.5rem;
    min-height: 520px;
  }
}

.hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.42rem 0.9rem;
  border-radius: 999px;
  font-size: 0.8rem;
  font-weight: 650;
  color: #a7f3d0;
  background: rgba(52, 211, 153, 0.1);
  border: 1px solid rgba(52, 211, 153, 0.28);
  margin-bottom: 1.15rem;
}
.hero-badge .dot,
.panel-live .dot {
  width: 0.48rem;
  height: 0.48rem;
  border-radius: 50%;
  background: var(--success);
  box-shadow: 0 0 0 4px rgba(52, 211, 153, 0.14);
  animation: pulse 2s infinite;
}
@keyframes pulse {
  0%, 100% { opacity: 1; }
  50% { opacity: 0.4; }
}

.hero h1 {
  font-size: clamp(2rem, 4.6vw, 3.35rem);
  max-width: 14ch;
  margin-bottom: 0.9rem;
}
.lede {
  max-width: 38rem;
  color: var(--muted);
  font-size: clamp(0.98rem, 1.5vw, 1.1rem);
  margin-bottom: 1.35rem;
}

.search-form {
  position: relative;
  display: flex;
  align-items: center;
  gap: 0.5rem;
  max-width: 34rem;
  margin: 0 0 1.15rem;
  padding: 0.4rem 0.4rem 0.4rem 1rem;
  background: rgba(10, 16, 28, 0.88);
  border: 1px solid var(--border-strong);
  border-radius: 14px;
  box-shadow: var(--shadow);
}
.search-form:focus-within {
  border-color: rgba(59, 130, 246, 0.55);
  box-shadow: 0 0 0 3px rgba(59, 130, 246, 0.14), var(--shadow);
}
.search-ico { color: var(--faint); flex-shrink: 0; }
.search-form input {
  flex: 1;
  min-width: 0;
  border: 0;
  outline: 0;
  background: transparent;
  color: #fff;
  font: inherit;
  font-size: 0.95rem;
  padding: 0.55rem 0.25rem;
}
.search-form input::placeholder { color: var(--faint); }
@media (max-width: 560px) {
  .search-form { flex-wrap: wrap; padding: 0.65rem; max-width: none; }
  .search-form input { width: 100%; flex: 1 1 100%; }
  .search-form .btn { width: 100%; }
}

.search-suggest {
  position: absolute;
  left: 0;
  right: 0;
  top: calc(100% + 6px);
  background: #0c1424;
  border: 1px solid var(--border-strong);
  border-radius: 14px;
  box-shadow: var(--shadow);
  padding: 0.35rem;
  z-index: 30;
  overflow: hidden;
}
.suggest-item {
  width: 100%;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 0.1rem;
  text-align: left;
  border: 0;
  background: transparent;
  color: var(--text);
  padding: 0.7rem 0.8rem;
  border-radius: 10px;
  cursor: pointer;
  font: inherit;
}
.suggest-item:hover,
.suggest-item:focus {
  background: rgba(59, 130, 246, 0.12);
  outline: none;
}
.suggest-item strong { font-size: 0.9rem; }
.suggest-item span { font-size: 0.78rem; color: var(--muted); }

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.65rem;
  margin-bottom: 1.1rem;
}

.trust-row {
  display: flex;
  flex-wrap: wrap;
  gap: 0.45rem 0.9rem;
  color: var(--muted);
  font-size: 0.84rem;
  font-weight: 550;
}
.trust-row span { color: #c5d0e0; }

/* Hero interactive panel */
.hero-panel { width: 100%; }
.panel-shell {
  border-radius: 22px;
  background: linear-gradient(165deg, rgba(255, 255, 255, 0.07), rgba(255, 255, 255, 0.02));
  border: 1px solid var(--border-strong);
  box-shadow: var(--shadow);
  overflow: hidden;
  backdrop-filter: blur(10px);
}
.panel-top {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0.75rem 1rem;
  border-bottom: 1px solid var(--border);
  background: rgba(0, 0, 0, 0.18);
}
.panel-dots { display: flex; gap: 0.35rem; }
.panel-dots i {
  width: 9px; height: 9px; border-radius: 50%;
  background: rgba(148, 163, 184, 0.35);
  display: block;
}
.panel-dots i:nth-child(1) { background: #f87171; }
.panel-dots i:nth-child(2) { background: #fbbf24; }
.panel-dots i:nth-child(3) { background: #34d399; }
.panel-live {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  font-size: 0.75rem;
  font-weight: 650;
  color: #a7f3d0;
}
.panel-body { padding: 1rem 1.05rem 1.1rem; }
.panel-meta {
  display: flex;
  align-items: center;
  gap: 0.7rem;
  margin-bottom: 0.8rem;
}
.panel-meta strong { display: block; font-size: 0.95rem; }
.panel-meta small { color: var(--muted); font-size: 0.78rem; }
.panel-timer {
  margin-left: auto;
  font-variant-numeric: tabular-nums;
  font-weight: 750;
  font-size: 0.88rem;
  color: #fde68a;
  background: rgba(251, 191, 36, 0.1);
  border: 1px solid rgba(251, 191, 36, 0.25);
  border-radius: 999px;
  padding: 0.28rem 0.6rem;
}
.panel-progress {
  height: 5px;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.08);
  overflow: hidden;
  margin-bottom: 0.9rem;
}
.panel-progress span {
  display: block;
  height: 100%;
  background: linear-gradient(90deg, #3b82f6, #22d3ee);
  border-radius: inherit;
}
.panel-q {
  font-size: 0.92rem;
  color: #e2e8f0;
  margin-bottom: 0.75rem;
  line-height: 1.5;
}
.panel-options {
  display: grid;
  gap: 0.45rem;
  margin-bottom: 0.85rem;
}
.panel-options .opt {
  text-align: left;
  border: 1px solid var(--border);
  background: rgba(255, 255, 255, 0.03);
  color: var(--text);
  border-radius: 12px;
  padding: 0.7rem 0.8rem;
  font: inherit;
  font-size: 0.86rem;
  cursor: pointer;
  transition: border-color 0.15s ease, background 0.15s ease, transform 0.15s ease;
}
.panel-options .opt:hover {
  border-color: rgba(59, 130, 246, 0.45);
  background: rgba(59, 130, 246, 0.08);
  transform: translateX(3px);
}
.panel-options .opt.is-correct {
  border-color: rgba(52, 211, 153, 0.55);
  background: rgba(52, 211, 153, 0.12);
}
.panel-options .opt.is-wrong {
  border-color: rgba(248, 113, 113, 0.5);
  background: rgba(248, 113, 113, 0.1);
}
.panel-foot {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 0.65rem;
}
.panel-feedback {
  font-size: 0.8rem;
  color: var(--muted);
  flex: 1;
  min-width: 12rem;
}
.panel-feedback.ok { color: #6ee7b7; }
.panel-feedback.bad { color: #fca5a5; }

.hero-stats {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 0.55rem;
  margin-top: 0.85rem;
}
@media (min-width: 520px) {
  .hero-stats { grid-template-columns: repeat(4, minmax(0, 1fr)); }
}
.stat {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: 14px;
  padding: 0.85rem 0.45rem;
  text-align: center;
}
.stat b {
  display: block;
  font-size: 1.25rem;
  font-weight: 800;
  line-height: 1.1;
  background: linear-gradient(180deg, #fff, #cbd5e1);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}
.stat span {
  font-size: 0.7rem;
  color: var(--muted);
}

/* Vendor strip / marquee */
.vendor-strip {
  margin-top: 2rem;
  padding-top: 1.25rem;
  border-top: 1px solid var(--border);
}
.vendor-strip-label {
  display: block;
  text-align: center;
  font-size: 0.72rem;
  font-weight: 750;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--faint);
  margin-bottom: 0.85rem;
}
.vendor-marquee {
  overflow: hidden;
  mask-image: linear-gradient(90deg, transparent, #000 8%, #000 92%, transparent);
  -webkit-mask-image: linear-gradient(90deg, transparent, #000 8%, #000 92%, transparent);
}
.vendor-track {
  display: flex;
  gap: 0.65rem;
  width: max-content;
  animation: marquee 28s linear infinite;
}
.vendor-track img {
  width: 2.45rem;
  height: 2.45rem;
  object-fit: contain;
  padding: 0.38rem;
  border-radius: 11px;
  background: #fff;
  border: 1px solid rgba(255, 255, 255, 0.75);
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.22);
}
@keyframes marquee {
  from { transform: translateX(0); }
  to { transform: translateX(-50%); }
}
@media (prefers-reduced-motion: reduce) {
  .vendor-track { animation: none; flex-wrap: wrap; width: auto; justify-content: center; }
  .reveal { opacity: 1 !important; transform: none !important; }
}

/* Continue */
.continue-block { margin-top: 1.1rem; }
.continue-card {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  padding: 1.1rem 1.25rem;
  border-radius: var(--radius);
  background: linear-gradient(135deg, rgba(59, 130, 246, 0.16), rgba(99, 102, 241, 0.08));
  border: 1px solid rgba(59, 130, 246, 0.3);
}

/* Sections */
.section { padding: 3rem 0 0.4rem; }
.section-head { margin-bottom: 1.4rem; max-width: 40rem; }
.section-head h2 { font-size: clamp(1.45rem, 3vw, 1.95rem); }
.row-between {
  display: flex;
  flex-wrap: wrap;
  align-items: flex-end;
  justify-content: space-between;
  gap: 0.75rem;
  max-width: none;
}

/* Goals */
.goal-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 0.9rem;
}
@media (min-width: 640px) {
  .goal-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
@media (min-width: 1000px) {
  .goal-grid { grid-template-columns: repeat(4, minmax(0, 1fr)); }
}
.goal-card {
  display: flex;
  flex-direction: column;
  gap: 0.4rem;
  padding: 1.15rem 1.1rem 1.05rem;
  border-radius: var(--radius);
  background: var(--surface);
  border: 1px solid var(--border);
  transition: border-color 0.2s ease, box-shadow 0.2s ease, background 0.2s ease, transform 0.2s var(--ease);
  min-height: 100%;
  transform-style: preserve-3d;
  will-change: transform;
}
.goal-card:hover {
  border-color: rgba(59, 130, 246, 0.45);
  box-shadow: var(--shadow);
  background: var(--surface-2);
}
.goal-card h3 { font-size: 1.05rem; }
.goal-card p { color: var(--muted); font-size: 0.9rem; margin: 0; }
.goal-card ul {
  margin: 0.3rem 0 0.45rem;
  padding-left: 1.05rem;
  color: #cbd5e1;
  font-size: 0.84rem;
}
.goal-card li { margin: 0.14rem 0; }
.goal-cta {
  margin-top: auto;
  font-size: 0.88rem;
  font-weight: 750;
  color: #fdba74;
}

/* Logo chips */
.logo-chip {
  width: 2.15rem;
  height: 2.15rem;
  border-radius: 10px;
  background: #fff;
  border: 1px solid rgba(255, 255, 255, 0.75);
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.28);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
  flex: 0 0 auto;
}
.logo-chip img {
  width: 1.45rem;
  height: 1.45rem;
  object-fit: contain;
  display: block;
}
.logo-chip-lg {
  width: 2.7rem;
  height: 2.7rem;
  border-radius: 12px;
}
.logo-chip-lg img {
  width: 1.85rem;
  height: 1.85rem;
}
.logo-stack {
  display: flex;
  align-items: center;
  gap: 0.35rem;
  margin-bottom: 0.4rem;
  min-height: 2.2rem;
}
.feature-top {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 0.65rem;
  margin-bottom: 0.65rem;
}

/* Steps */
.steps {
  display: grid;
  gap: 0.85rem;
}
@media (min-width: 768px) {
  .steps { grid-template-columns: repeat(3, minmax(0, 1fr)); }
}
.step {
  padding: 1.25rem;
  border-radius: var(--radius);
  background: var(--surface);
  border: 1px solid var(--border);
  position: relative;
  overflow: hidden;
}
.step::after {
  content: "";
  position: absolute;
  inset: auto 0 0 0;
  height: 2px;
  background: linear-gradient(90deg, transparent, rgba(59, 130, 246, 0.55), transparent);
  opacity: 0;
  transition: opacity 0.2s ease;
}
.step:hover::after { opacity: 1; }
.step-num {
  display: inline-flex;
  width: 2.05rem;
  height: 2.05rem;
  align-items: center;
  justify-content: center;
  border-radius: 999px;
  background: linear-gradient(135deg, #3b82f6, #6366f1);
  color: #fff;
  font-weight: 800;
  font-size: 0.9rem;
  margin-bottom: 0.7rem;
}
.step h3 { font-size: 1.05rem; }
.step p { color: var(--muted); font-size: 0.92rem; margin: 0; }

/* Featured */
.feature-grid {
  display: grid;
  gap: 0.85rem;
}
@media (min-width: 700px) {
  .feature-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
@media (min-width: 1000px) {
  .feature-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); }
}
.feature-card {
  padding: 1.15rem;
  border-radius: var(--radius);
  background: var(--surface);
  border: 1px solid var(--border);
  transition: transform 0.18s var(--ease), border-color 0.18s ease, box-shadow 0.18s ease;
}
.feature-card:hover {
  transform: translateY(-4px);
  border-color: var(--border-strong);
  box-shadow: var(--shadow);
}
.feature-flag {
  background: linear-gradient(160deg, rgba(59, 130, 246, 0.18), rgba(15, 23, 42, 0.35));
  border-color: rgba(59, 130, 246, 0.35);
}
.pill {
  display: inline-flex;
  font-size: 0.68rem;
  font-weight: 750;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  color: #bfdbfe;
  background: rgba(59, 130, 246, 0.16);
  border: 1px solid rgba(59, 130, 246, 0.28);
  border-radius: 999px;
  padding: 0.22rem 0.55rem;
}
.feature-card h3 { font-size: 1.05rem; }
.feature-card p { color: var(--muted); font-size: 0.9rem; margin: 0 0 0.75rem; }
.feature-cta { font-weight: 750; color: #fdba74; font-size: 0.9rem; }

/* Trust */
.trust-band {
  display: grid;
  gap: 1.25rem;
  padding: 1.55rem;
  border-radius: calc(var(--radius) + 4px);
  background: var(--surface);
  border: 1px solid var(--border);
}
@media (min-width: 800px) {
  .trust-band { grid-template-columns: 1.2fr 1fr; align-items: center; }
}
.trust-list {
  margin: 0;
  padding: 0;
  list-style: none;
}
.trust-list li {
  position: relative;
  padding: 0.55rem 0.55rem 0.55rem 2rem;
  border-bottom: 1px solid var(--border);
  color: #dbe4f3;
  font-size: 0.94rem;
}
.trust-list li:last-child { border-bottom: 0; }
.trust-list li::before {
  content: "✓";
  position: absolute;
  left: 0.35rem;
  top: 0.55rem;
  color: var(--success);
  font-weight: 800;
}

/* FAQ */
.faq {
  display: grid;
  gap: 0.55rem;
  max-width: 46rem;
}
.faq details {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: 12px;
  padding: 0.9rem 1rem;
  transition: border-color 0.15s ease;
}
.faq details[open] { border-color: rgba(59, 130, 246, 0.35); }
.faq summary {
  cursor: pointer;
  font-weight: 700;
  list-style: none;
}
.faq summary::-webkit-details-marker { display: none; }
.faq details[open] summary { margin-bottom: 0.4rem; color: #fff; }
.faq p { color: var(--muted); font-size: 0.94rem; margin: 0; }
.faq a { color: #fdba74; text-decoration: underline; }

.cta-final {
  text-align: center;
  padding-bottom: 2rem;
}
.cta-final h2 { font-size: clamp(1.4rem, 3vw, 1.95rem); }
.cta-final .hero-actions { justify-content: center; }

/* SEO */
.seo-content { padding-bottom: 2rem; }
.seo-prose {
  max-width: 48rem;
  color: var(--muted);
  font-size: 0.95rem;
  line-height: 1.7;
}
.seo-prose p { margin: 0 0 1rem; }
.seo-prose a { color: #fdba74; text-decoration: underline; text-underline-offset: 2px; }
.seo-prose a:hover { color: #fff; }
.seo-prose h3 {
  color: var(--text);
  font-size: 1.1rem;
  margin: 1.25rem 0 0.6rem;
}
.seo-list {
  margin: 0 0 1rem;
  padding-left: 1.15rem;
}
.seo-list li { margin: 0.35rem 0; }

/* Footer */
.site-footer {
  margin-top: 1rem;
  border-top: 1px solid var(--border);
  padding: 1.75rem 0 2.5rem;
  background: rgba(0, 0, 0, 0.22);
}
.footer-row {
  display: flex;
  flex-wrap: wrap;
  gap: 1.25rem;
  justify-content: space-between;
  align-items: flex-start;
}
.footer-nav {
  display: flex;
  flex-wrap: wrap;
  gap: 0.35rem 0.9rem;
}
.footer-nav a {
  color: var(--muted);
  font-size: 0.9rem;
}
.footer-nav a:hover { color: #fff; }

/* Reveal on scroll */
.reveal {
  opacity: 0;
  transform: translateY(18px);
  transition: opacity 0.7s var(--ease), transform 0.7s var(--ease);
}
.reveal.is-in {
  opacity: 1;
  transform: none;
}

/* Soft tools bar under exam home */
body.exam-home .tc-bar {
  font-size: 12px !important;
}


/* Active nav link (catalog etc.) */
.header-nav a.nav-active,
.header-nav a[aria-current="page"] {
  color: #fff !important;
  background: var(--brand-soft);
  border: 1px solid rgba(244, 114, 22, 0.35);
}


/* Career path cards — accessible focus (no hover-only dependency) */
.goal-card {
  display: flex;
  flex-direction: column;
  text-decoration: none;
  color: inherit;
  cursor: pointer;
  transition: border-color .15s ease, box-shadow .15s ease, transform .15s ease;
}
.goal-card:focus-visible {
  outline: 2px solid var(--brand-300, #7dd3fc);
  outline-offset: 3px;
  border-color: var(--brand-300, #7dd3fc);
  box-shadow: 0 0 0 4px rgba(56, 189, 248, 0.18);
}
.goal-card:hover,
.goal-card:focus {
  transform: translateY(-2px);
}
@media (prefers-reduced-motion: reduce) {
  .goal-card { transition: none; }
  .goal-card:hover, .goal-card:focus { transform: none; }
}
