/* Premium Light theme: the single source for colour, type, surfaces, and the homepage components.
   Light is the default. Dark applies only when the learner chooses it (data-theme="dark"). */

/* ---------- tokens: light (default) ---------- */
:root {
  --font-ui: "Plus Jakarta Sans", system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;

  /* page backgrounds and surfaces */
  --bg: #f5f6fc;
  --bg-2: #eef1fa;
  --bg-3: #f0effb;
  --surface: #ffffff;
  --surface-2: #eef1fa;
  --lavender: #eae7ff;
  --powder: #e8f1ff;

  /* text */
  --heading: #191a35;
  --text: #20213a;
  --muted: #565b76;
  --muted-2: #737a95;
  --accent-text: #ffffff;

  /* brand */
  --accent: #6254e8;
  --accent-hover: #5143d1;
  --indigo: #37318b;
  --blue: #4778e8;
  --brand-soft: #eae7ff;
  --brand-gradient: linear-gradient(135deg, #6254e8 0%, #4778e8 100%);

  /* borders, radii, shadows */
  --border: #e3e6f0;
  --border-strong: #d3d8ea;
  --radius-lg: 18px;
  --radius-md: 12px;
  --shadow: 0 4px 18px rgba(37, 36, 80, 0.05);
  --shadow-lift: 0 12px 32px rgba(37, 36, 80, 0.08);

  /* semantic */
  --ok: #16845b;
  --ok-bg: #e6f5ee;
  --warn: #a66312;
  --warn-bg: #fbf1e3;
  --bad: #c13f50;
  --bad-bg: #fbe9ec;
  --info: #3568c8;
  --info-bg: #e8f1ff;

  /* kept for older rules */
  --brand-3: #22d3ee;
  color-scheme: light;
}

/* ---------- tokens: dark (chosen by the learner only) ---------- */
:root[data-theme="dark"] {
  --bg: #181634;
  --bg-2: #1d1a3f;
  --surface: #1f1c40;
  --surface-2: #28254f;
  --lavender: rgba(165, 148, 255, 0.14);
  --powder: rgba(120, 160, 255, 0.12);
  --heading: #f3f0ff;
  --text: #f3f0ff;
  --muted: #c4c1dd;
  --muted-2: #a09abf;
  --accent: #8177ff;
  --accent-hover: #9d95ff;
  --accent-text: #0c0a1f;
  --brand-soft: rgba(165, 148, 255, 0.14);
  --brand-gradient: linear-gradient(135deg, #7c6cff 0%, #5b8cff 100%);
  --border: #3f3a72;
  --border-strong: #554e8c;
  --shadow: 0 4px 18px rgba(0, 0, 0, 0.25);
  --shadow-lift: 0 14px 32px rgba(0, 0, 0, 0.35);
  --ok: #4ade80;
  --ok-bg: #123524;
  --warn: #fbbf24;
  --warn-bg: #3a2a10;
  --bad: #fca5a5;
  --bad-bg: #3a1717;
  --info: #93b8ff;
  --info-bg: #1a2a4a;
  color-scheme: dark;
}

body {
  font-family: var(--font-ui);
  background: var(--bg);
  color: var(--text);
  line-height: 1.6;
}

h1, h2, h3 { font-family: var(--font-ui); letter-spacing: -0.02em; color: var(--heading); }

/* ---------- header and footer ---------- */
.site-header {
  background: var(--surface);
  border-bottom: 1px solid var(--border);
  min-height: 72px;
  padding-top: 14px;
  padding-bottom: 14px;
  box-shadow: none;
  backdrop-filter: none;
  -webkit-backdrop-filter: none;
}
.site-header .brand {
  color: var(--heading);
  font-weight: 800;
  font-size: 17px;
  background: none;
  -webkit-background-clip: border-box;
  background-clip: border-box;
  display: inline-flex;
  align-items: center;
  gap: 8px;
}
.site-header .brand::before {
  content: "";
  flex: 0 0 auto;
  width: 26px;
  height: 26px;
  background: url("../images/brand/logomark.svg") center / contain no-repeat;
}
.site-nav { gap: 6px; }
.site-nav a {
  font-size: 14px;
  color: var(--muted);
  border-radius: var(--radius-md);
  padding: 8px 12px;
}
.site-nav a:hover { color: var(--heading); background: var(--surface-2); }
.site-nav a.current { color: var(--accent); background: var(--brand-soft); }
.site-footer {
  background: var(--surface);
  border-top: 1px solid var(--border);
  color: var(--muted);
}
.site-footer a { color: var(--heading); }

/* ---------- buttons ---------- */
.btn {
  border-radius: var(--radius-md);
  padding: 10px 18px;
  font-weight: 700;
  transition: transform 160ms ease, box-shadow 160ms ease, background-color 160ms ease, border-color 160ms ease;
}
.btn:hover:not(:disabled) { transform: translateY(-1px); }
.btn.primary {
  background: var(--accent);
  color: var(--accent-text);
  border: 0;
  box-shadow: 0 8px 20px -10px rgba(98, 84, 232, 0.6);
}
.btn.primary:hover:not(:disabled) { background: var(--accent-hover); box-shadow: 0 12px 24px -10px rgba(98, 84, 232, 0.7); }
.btn:not(.primary) { background: var(--surface); color: var(--heading); border: 1px solid var(--border-strong); }
.btn:not(.primary):hover:not(:disabled) { border-color: var(--accent); color: var(--accent); }

/* ---------- homepage hero ---------- */
.landing-hero {
  position: relative;
  overflow: hidden;
  isolation: isolate;
  margin: 0;
  padding: 48px 32px 52px;
  border: 1px solid var(--border);
  border-radius: 24px;
  background:
    radial-gradient(520px 260px at 20% 0%, rgba(98, 84, 232, 0.10), transparent 70%),
    radial-gradient(480px 240px at 100% 100%, rgba(71, 120, 232, 0.08), transparent 70%),
    linear-gradient(135deg, #f0ebff 0%, #f7f6ff 45%, #eaf2ff 100%);
  box-shadow: var(--shadow-lift);
}
.landing-hero--split { text-align: left; }
.landing-hero::before { display: none; }
.hero-blobs { position: absolute; inset: 0; pointer-events: none; overflow: hidden; }
.hero-blobs .blob {
  position: absolute;
  border-radius: 50%;
  filter: blur(40px);
  opacity: 0.55;
}
.hero-blobs .blob-1 { width: 200px; height: 200px; left: -40px; top: -60px; background: #c4b5fd; }
.hero-blobs .blob-2 { width: 260px; height: 260px; right: -80px; bottom: -100px; background: #93c5fd; }
.hero-blobs .blob-3 { width: 120px; height: 120px; right: 30%; top: 20%; background: #6254e8; opacity: 0.25; }
.hero-inner {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: minmax(0, 1.05fr) minmax(0, 1fr);
  gap: 28px 36px;
  align-items: center;
}
.hero-copy { text-align: left; }
.hero-copy .cta-row { justify-content: flex-start; }
.hero-copy .stats { justify-content: flex-start; }
.hero-visual { position: relative; }
.hero-art {
  display: block;
  width: 100%;
  max-width: 440px;
  margin: 0 auto;
  border-radius: 20px;
  box-shadow: 0 20px 50px rgba(37, 36, 80, 0.12);
}
.hero-float {
  position: absolute;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 10px 14px;
  border-radius: 12px;
  background: var(--surface);
  border: 1px solid var(--border);
  box-shadow: var(--shadow-lift);
  font-size: 13px;
  font-weight: 700;
  color: var(--heading);
  animation: hero-float 5s ease-in-out infinite;
}
.hero-float--pass { left: 0; bottom: 12%; animation-delay: 0s; }
.hero-float--api { right: 4%; top: 8%; animation-delay: 1.2s; }
.hero-float .float-icon {
  width: 26px;
  height: 26px;
  border-radius: 8px;
  display: grid;
  place-items: center;
  font-size: 12px;
  font-weight: 800;
  background: var(--ok-bg);
  color: var(--ok);
}
.hero-float--api .float-icon { background: var(--powder); color: var(--blue); font-family: ui-monospace, monospace; font-size: 11px; }
@keyframes hero-float {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(-6px); }
}
.landing-hero .eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 6px 12px;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.7);
  color: var(--accent);
  font-size: 11px;
  font-weight: 800;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  border: 1px solid var(--border);
}
.landing-hero .eyebrow::before {
  content: "";
  width: 7px;
  height: 7px;
  border-radius: 999px;
  background: var(--accent);
}
.landing-hero h1 {
  margin: 18px 0 14px;
  font-size: clamp(34px, 5vw, 54px);
  line-height: 1.08;
  letter-spacing: -0.03em;
  max-width: 16ch;
  color: var(--heading);
  background: none;
  -webkit-background-clip: border-box;
  background-clip: border-box;
}
.landing-hero .lead { margin: 0 0 24px; max-width: 42ch; font-size: 17px; color: var(--muted); }
.hero-copy .eyebrow { margin-bottom: 4px; }
.cta-row { display: flex; flex-wrap: wrap; gap: 12px; justify-content: center; margin-bottom: 28px; }
.landing-hero .stats { display: flex; flex-wrap: wrap; gap: 12px; justify-content: center; }
.landing-hero .stat {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow);
  text-align: left;
  min-width: 132px;
  backdrop-filter: none;
}
.landing-hero .stat b { font-size: 26px; color: var(--accent); background: none; -webkit-background-clip: border-box; background-clip: border-box; }
.landing-hero .stat span { color: var(--muted); }

/* decorative sparkle (SVG mask), kept subtle */
.sparkle {
  position: absolute;
  width: 16px;
  height: 16px;
  background: var(--accent);
  opacity: 0.35;
  -webkit-mask: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'><path d='M12 0 L14.6 9.4 L24 12 L14.6 14.6 L12 24 L9.4 14.6 L0 12 L9.4 9.4 Z'/></svg>") center / contain no-repeat;
          mask: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'><path d='M12 0 L14.6 9.4 L24 12 L14.6 14.6 L12 24 L9.4 14.6 L0 12 L9.4 9.4 Z'/></svg>") center / contain no-repeat;
  animation: none;
}
.sparkle.s1 { left: 9%; top: 24%; }
.sparkle.s2 { right: 12%; top: 16%; width: 12px; height: 12px; }
.sparkle.s3 { right: 20%; bottom: 20%; width: 14px; height: 14px; }

/* ---------- cards ---------- */
.path-card, .course-card, .dash-panel, .plan, .benefit, .quiz-panel, .auth-form, .curriculum-panel, .search-panel, .quick-card, .lecture-card, .sample-q {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow);
  transition: transform 200ms ease, box-shadow 200ms ease, border-color 200ms ease;
}
.path-card:hover, .course-card:hover, .plan:hover, .grid-sections a.tile:hover, .quick-card:hover, .lecture-card:hover, .path-jump__chip:hover {
  transform: translateY(-2px);
  box-shadow: var(--shadow-lift);
  border-color: var(--border-strong);
}
.path-card { position: relative; overflow: hidden; padding: 20px; border-top: 3px solid var(--accent); }
.path-grid .path-card:nth-child(2) { border-top-color: var(--blue); }
.path-grid .path-card:nth-child(3) { border-top-color: #5b8def; }
.path-grid .path-card:nth-child(4) { border-top-color: var(--indigo); }
.path-card::before { display: none; }
.kicker-sm {
  font-size: 12px;
  font-weight: 800;
  letter-spacing: 0.04em;
  color: var(--muted);
}
.path-card .step-no { background: var(--brand-soft); color: var(--accent); }
.path-card .start-tag { color: var(--ok); }
.path-card .explore { color: var(--accent); }
.grid-sections a.tile {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow);
  color: var(--heading);
}
.grid-sections a.tile small { color: var(--muted); }
.quick-card {
  position: relative;
  padding: 22px 22px 20px;
  color: var(--heading);
  text-decoration: none;
  display: flex;
  flex-direction: column;
  gap: 10px;
  overflow: hidden;
}
.quick-card::after {
  content: "";
  position: absolute;
  right: -20px;
  top: -20px;
  width: 100px;
  height: 100px;
  border-radius: 50%;
  background: radial-gradient(circle, var(--lavender) 0%, transparent 70%);
  opacity: 0.5;
  pointer-events: none;
}
.quick-card__icon {
  width: 48px;
  height: 48px;
  display: block;
}
.quick-card b { color: var(--heading); display: block; font-size: 17px; position: relative; z-index: 1; }
.quick-card small { color: var(--muted); position: relative; z-index: 1; line-height: 1.45; }
.path-card__art {
  width: 100%;
  height: auto;
  aspect-ratio: 280 / 132;
  object-fit: cover;
  border-radius: 10px;
  margin-bottom: 12px;
  display: block;
  border: 1px solid var(--border);
}
.path-card p {
  margin: 6px 0 10px;
  font-size: 14.5px;
  line-height: 1.55;
  color: var(--muted);
}
.landing-tools {
  margin-top: 32px;
  padding: 18px 22px;
  border-radius: 16px;
  border: 1px dashed var(--border-strong);
  background: linear-gradient(90deg, rgba(234, 231, 255, 0.35) 0%, rgba(232, 241, 255, 0.35) 100%);
  text-align: center;
}
.tools-label {
  margin: 0 0 12px;
  font-size: 12px;
  font-weight: 800;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--muted);
}
.tool-chips { display: flex; flex-wrap: wrap; gap: 10px; justify-content: center; }
.tool-chip {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 8px 14px;
  border-radius: 999px;
  background: var(--surface);
  border: 1px solid var(--border);
  font-size: 14px;
  font-weight: 700;
  color: var(--heading);
  box-shadow: var(--shadow);
}
.tool-chip-dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--brand-gradient);
}
.catalog-cta--fancy {
  position: relative;
  overflow: hidden;
  background: linear-gradient(160deg, var(--surface) 0%, var(--lavender) 120%);
}
.catalog-cta-glow {
  position: absolute;
  width: 280px;
  height: 280px;
  right: -80px;
  top: -100px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(98, 84, 232, 0.2) 0%, transparent 70%);
  pointer-events: none;
}
.catalog-cta-icons {
  display: flex;
  justify-content: center;
  gap: 12px;
  margin-bottom: 16px;
}
.catalog-cta-icons .catalog-icon { width: 44px; height: 44px; }
.catalog-cta--fancy h2,
.catalog-cta--fancy .lead,
.catalog-cta--fancy .catalog-cta-actions { position: relative; z-index: 1; }
.lecture-card { color: var(--heading); text-decoration: none; }
.lecture-card .topic { color: var(--accent); }
.lecture-card .action { color: var(--accent); }
.sample-q p { color: var(--heading); }
.sample-q ol { color: var(--muted); }
.benefit { padding: 18px 20px; }
.benefit h3 { color: var(--heading); }
.checklist { border-radius: var(--radius-lg); background: var(--surface); border: 1px solid var(--border); }
.checklist input { accent-color: var(--accent); }
.plan.featured { border: 1px solid var(--accent); }

/* section and page heroes */
.section-hero, .page-hero {
  padding: 26px 28px 24px;
  border: 1px solid var(--border);
  border-radius: 20px;
  background: var(--surface);
  box-shadow: var(--shadow);
  margin-bottom: 22px;
}
.section-hero h1, .page-hero h1 { color: var(--heading); background: none; -webkit-background-clip: border-box; background-clip: border-box; }
.section-hero .lead, .page-hero .lead { color: var(--muted); }

/* ---------- homepage layout ---------- */
.layout.no-side { grid-template-columns: minmax(0, 1fr); }
.layout.no-side > main,
.static-main {
  max-width: 1200px;
  width: 100%;
  margin: 0 auto;
  padding: 28px 32px 56px;
  box-sizing: border-box;
}
.landing-block { margin-top: 48px; }
.landing-block--shortcuts { margin-top: 28px; }
.landing-block--paths { margin-top: 44px; }
.landing-section-head { margin-bottom: 20px; }
.landing-section-head h2 { font-size: 26px; margin: 0 0 6px; }
.landing-section-head .lead { margin: 0; color: var(--muted); }
.landing-block > h2 { font-size: 26px; margin: 0 0 6px; }
.landing-block > .lead { color: var(--muted); }
.quick-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 16px; }
.quick-grid--three { grid-template-columns: repeat(3, minmax(0, 1fr)); }
.path-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 16px; }
.path-grid--stages { grid-template-columns: repeat(2, minmax(0, 1fr)); }
.path-card .kicker-sm {
  text-transform: uppercase;
  letter-spacing: 0.06em;
  font-size: 11px;
  color: var(--accent);
}
.path-card h3 { margin: 4px 0 0; font-size: 18px; }
.landing-catalog { margin-top: 44px; }
.catalog-cta {
  text-align: center;
  padding: 32px 28px;
  border: 1px solid var(--border);
  border-radius: 20px;
  background: var(--surface);
  box-shadow: var(--shadow);
}
.catalog-cta h2 { margin: 0 0 8px; font-size: 24px; }
.catalog-cta .lead { margin: 0 auto 20px; max-width: 52ch; color: var(--muted); }
.catalog-cta-actions { display: flex; flex-wrap: wrap; gap: 12px; justify-content: center; }
.lecture-cards { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 16px; }
.path-card .explore { font-weight: 800; font-size: 14px; text-decoration: none; }
.path-card .explore:hover { text-decoration: underline; }
.value-line { font-size: 17px; color: var(--muted); max-width: 62ch; margin: 0 auto 16px; line-height: 1.6; }
.hero-links { display: flex; gap: 14px; justify-content: center; flex-wrap: wrap; margin: -8px 0 20px; }
.hero-links a { color: var(--accent); font-weight: 800; text-decoration: none; }
.hero-links a:hover { text-decoration: underline; }
.lecture-card { display: flex; flex-direction: column; gap: 6px; padding: 20px; }
.lecture-card .title { font-size: 17px; font-weight: 700; line-height: 1.35; color: var(--heading); }
.lecture-card .action { margin-top: auto; padding-top: 8px; font-weight: 800; font-size: 14.5px; }
.sample-q { margin-top: 16px; padding: 20px 22px; }
.sample-q .kicker { font-size: 12px; font-weight: 800; letter-spacing: 0.06em; text-transform: uppercase; color: var(--accent); }
.sample-q p { margin: 8px 0 10px; font-weight: 700; font-size: 16px; }
.sample-q ol { margin: 0 0 12px; padding-left: 22px; }
.sample-q li { margin: 4px 0; }
.path-head { display: flex; align-items: center; gap: 10px; }

/* ---------- lesson and content surfaces ---------- */
.lecture-block .lecture-hero {
  border: 1px solid var(--border);
  border-radius: 22px;
  background: linear-gradient(90deg, #f0ebff 0%, #f7f6ff 55%, #eaf2ff 100%);
  box-shadow: var(--shadow);
}
.lecture-block .lecture-title { color: var(--heading); background: none; -webkit-background-clip: border-box; background-clip: border-box; }
.sec-num { background: var(--accent); color: #ffffff; box-shadow: none; }
.step-badge { background: var(--brand-soft); color: var(--accent); border-color: transparent; }
.objectives li::before { background: var(--accent); color: #ffffff; }
.sub-step, .sub-mistake, .kc-q, .answers, .table-card, .code-card, .visual-frame { border-radius: var(--radius-lg); }
.quiz-panel { background: var(--surface); }
.l1-section > p, .lecture p { color: var(--text); }
.l1-title { color: var(--heading); background: none; -webkit-background-clip: border-box; background-clip: border-box; }
.l1-hero { background: linear-gradient(90deg, #f0ebff 0%, #f7f6ff 55%, #eaf2ff 100%); }
.l1-hero .kicker { background: rgba(255, 255, 255, 0.7); color: var(--accent); }
/* Dark theme: keep the hero dark so the gradient title and text stay readable. */
:root[data-theme="dark"] .l1-hero,
:root:not([data-theme="light"]):not([data-theme]) .l1-hero {
  background: linear-gradient(90deg, color-mix(in srgb, var(--accent) 22%, var(--surface)) 0%, var(--surface) 60%, color-mix(in srgb, #22d3ee 14%, var(--surface)) 100%);
}
:root[data-theme="dark"] .l1-hero .kicker {
  background: var(--brand-soft);
}
.l1-hero .summary { color: var(--muted); }
/* Courses catalog hero ships a pale gradient; use the surface tones in dark mode */
[data-theme="dark"] .catalog-hero {
  background:
    radial-gradient(420px 200px at 0% 0%, rgba(98, 84, 232, 0.22), transparent 70%),
    radial-gradient(360px 180px at 100% 100%, rgba(71, 120, 232, 0.16), transparent 70%),
    linear-gradient(135deg, color-mix(in srgb, var(--accent) 18%, var(--surface)) 0%, var(--surface) 55%, color-mix(in srgb, #22d3ee 10%, var(--surface)) 100%);
}
.l1-meta .chip { background: var(--surface); color: var(--muted); border: 1px solid var(--border); }

/* focus and motion */
a:focus-visible, button:focus-visible, input:focus-visible, select:focus-visible, summary:focus-visible {
  outline: 3px solid var(--accent);
  outline-offset: 3px;
}

@media (prefers-reduced-motion: reduce) {
  .btn, .path-card, .course-card, .plan, .grid-sections a.tile, .quick-card, .lecture-card { transition: none !important; transform: none !important; }
  .hero-float { animation: none !important; }
}

@media (max-width: 960px) {
  .hero-inner { grid-template-columns: minmax(0, 1fr); text-align: center; }
  .hero-copy { text-align: center; }
  .hero-copy .cta-row,
  .hero-copy .stats { justify-content: center; }
  .landing-hero h1 { margin-left: auto; margin-right: auto; }
  .landing-hero .lead { margin-left: auto; margin-right: auto; }
  .hero-float--pass { left: 8%; bottom: 6%; }
  .hero-float--api { right: 8%; }
}
@media (max-width: 900px) {
  .quick-grid, .quick-grid--three { grid-template-columns: minmax(0, 1fr); }
  .path-grid, .path-grid--stages { grid-template-columns: minmax(0, 1fr); }
}
@media (max-width: 860px) {
  .landing-hero { padding: 40px 18px 40px; border-radius: 20px; }
  .hero-float { display: none; }
  .landing-hero .stat { min-width: 110px; }
  .sparkle { display: none; }
  .layout.no-side > main,
  .static-main { padding: 20px 16px 44px; }
  .lecture-cards { grid-template-columns: minmax(0, 1fr); }
  .catalog-cta { padding: 24px 18px; }
}


/* grouped footer */
.site-footer .footer-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(140px, 1fr));
  gap: 20px 28px;
  max-width: 1200px;
  margin: 0 auto 12px;
}
.site-footer .footer-col h3 {
  margin: 0 0 8px;
  font-size: 12px;
  font-weight: 800;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--muted-2);
}
.site-footer .footer-col nav { display: flex; flex-direction: column; gap: 6px; align-items: flex-start; }
.site-footer .footer-col a { font-size: 14px; font-weight: 600; color: var(--heading); text-decoration: none; }
.site-footer .footer-col a:hover { color: var(--accent); text-decoration: underline; }
.site-footer .footer-brand {
  max-width: 1200px;
  margin: 0 auto 16px;
  display: flex;
  align-items: center;
  gap: 10px;
  font-weight: 800;
  color: var(--heading);
  font-size: 16px;
}
.site-footer .footer-brand::before {
  content: "";
  width: 10px;
  height: 10px;
  border-radius: 3px;
  background: var(--brand-gradient);
}
.site-footer .fine { max-width: 1200px; margin: 12px auto 0; }

:root[data-theme="dark"] .landing-hero {
  background:
    radial-gradient(520px 260px at 20% 0%, rgba(129, 119, 255, 0.12), transparent 70%),
    radial-gradient(480px 240px at 100% 100%, rgba(91, 140, 255, 0.1), transparent 70%),
    linear-gradient(90deg, var(--bg-2) 0%, var(--bg) 50%, var(--surface-2) 100%);
}
