/* ================================================================
   Smart AI Campus — Sitewide Stylesheet
   Single source of truth. Light/Dark mode via [data-theme] on <html>.
   ================================================================ */

/* ---------- Theme tokens ---------- */
:root,
[data-theme="light"] {
  --primary: #0d6efd;
  --primary-hover: #0b5ed7;
  --primary-active: #0a58ca;
  --primary-soft: rgba(13, 110, 253, 0.1);

  --bg: #ffffff;
  --surface: #f8f9fa;
  --surface-elevated: #ffffff;
  --surface-dark: #212529;
  --surface-dark-hover: #2a2f34;

  --text: #495057;
  --text-strong: #212529;
  --text-muted: #6c757d;
  --text-on-primary: #ffffff;
  --text-on-dark: #ffffff;
  --text-on-dark-muted: rgba(255, 255, 255, 0.7);

  --border: #dee2e6;
  --border-strong: #ced4da;
  --border-on-dark: rgba(255, 255, 255, 0.15);

  --shadow-sm: 0 1px 3px rgba(0, 0, 0, 0.06);
  --shadow-md: 0 4px 16px rgba(0, 0, 0, 0.08);
  --shadow-lg: 0 10px 30px rgba(0, 0, 0, 0.12);

  --hero-bg: linear-gradient(135deg, #0d6efd 0%, #0a58ca 100%);
}

[data-theme="dark"] {
  --primary: #3b82f6;
  --primary-hover: #2563eb;
  --primary-active: #1d4ed8;
  --primary-soft: rgba(59, 130, 246, 0.15);

  --bg: #0f172a;
  --surface: #1e293b;
  --surface-elevated: #1e293b;
  --surface-dark: #0b1220;
  --surface-dark-hover: #111a2e;

  --text: #cbd5e1;
  --text-strong: #f8fafc;
  --text-muted: #94a3b8;
  --text-on-primary: #ffffff;
  --text-on-dark: #f8fafc;
  --text-on-dark-muted: rgba(248, 250, 252, 0.65);

  --border: #334155;
  --border-strong: #475569;
  --border-on-dark: rgba(255, 255, 255, 0.1);

  --shadow-sm: 0 1px 3px rgba(0, 0, 0, 0.4);
  --shadow-md: 0 4px 16px rgba(0, 0, 0, 0.45);
  --shadow-lg: 0 10px 30px rgba(0, 0, 0, 0.55);

  --hero-bg: linear-gradient(135deg, #1d4ed8 0%, #1e40af 100%);
}

/* ---------- Base reset ---------- */
*,
*::before,
*::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html {
  scroll-behavior: smooth;
  -webkit-text-size-adjust: 100%;
}

body {
  font-family: "Raleway", system-ui, -apple-system, BlinkMacSystemFont,
    "Segoe UI", Roboto, Oxygen, Ubuntu, Cantarell, sans-serif;
  font-size: 16px;
  line-height: 1.6;
  color: var(--text);
  background-color: var(--bg);
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  transition: background-color 0.25s ease, color 0.25s ease;
}

img,
svg {
  max-width: 100%;
  display: block;
}

a {
  color: var(--primary);
  text-decoration: none;
  transition: color 0.2s ease;
}

a:hover {
  color: var(--primary-hover);
  text-decoration: underline;
}

h1,
h2,
h3,
h4,
h5,
h6 {
  color: var(--text-strong);
  font-weight: 700;
  line-height: 1.2;
  letter-spacing: -0.01em;
}

p {
  margin-bottom: 1rem;
}

ul,
ol {
  padding-left: 1.5rem;
  margin-bottom: 1rem;
}

li {
  margin-bottom: 0.4rem;
}

hr {
  border: 0;
  border-top: 1px solid var(--border);
  margin: 2rem 0;
}

/* ---------- Layout ---------- */
.container {
  width: 100%;
  max-width: 1140px;
  margin: 0 auto;
  padding: 0 1.25rem;
}

.section {
  padding: 4rem 0;
}

.section-tight {
  padding: 2.5rem 0;
}

.bg-surface {
  background-color: var(--surface);
}

.bg-dark {
  background-color: var(--surface-dark);
  color: var(--text-on-dark-muted);
}

.bg-dark h1,
.bg-dark h2,
.bg-dark h3,
.bg-dark h4,
.bg-dark h5,
.bg-dark h6 {
  color: var(--text-on-dark);
}

.text-primary {
  color: var(--primary) !important;
}

.text-muted {
  color: var(--text-muted);
}

.text-center {
  text-align: center;
}

.lead {
  font-size: 1.125rem;
  font-weight: 400;
  line-height: 1.7;
}

/* ---------- Skip link (accessibility) ---------- */
.skip-link {
  position: absolute;
  top: -100px;
  left: 0;
  background: var(--primary);
  color: #fff;
  padding: 0.75rem 1.25rem;
  z-index: 1000;
  border-radius: 0 0 6px 0;
}

.skip-link:focus {
  top: 0;
  color: #fff;
  text-decoration: none;
}

/* ---------- Navbar ---------- */
.navbar {
  background-color: var(--primary);
  position: sticky;
  top: 0;
  z-index: 100;
  box-shadow: var(--shadow-sm);
}

.navbar-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0.85rem 0;
  gap: 1rem;
}

.navbar-brand {
  display: flex;
  align-items: center;
  gap: 0.6rem;
  color: #fff;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.04em;
  font-size: 1.05rem;
}

.navbar-brand:hover {
  color: #fff;
  text-decoration: none;
  opacity: 0.9;
}

.brand-mark {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 34px;
  height: 34px;
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.18);
  color: #fff;
  font-weight: 800;
  font-size: 0.95rem;
}

.navbar-menu {
  display: flex;
  align-items: center;
  list-style: none;
  padding: 0;
  margin: 0;
  gap: 0.25rem;
}

.navbar-menu li {
  margin: 0;
}

.nav-link {
  display: inline-block;
  padding: 0.6rem 1rem;
  color: rgba(255, 255, 255, 0.92);
  font-weight: 500;
  border-radius: 6px;
  transition: background-color 0.2s ease, color 0.2s ease;
}

.nav-link:hover,
.nav-link[aria-current="page"] {
  color: #fff;
  background-color: rgba(255, 255, 255, 0.15);
  text-decoration: none;
}

.theme-toggle {
  background: rgba(255, 255, 255, 0.15);
  border: 1px solid rgba(255, 255, 255, 0.25);
  color: #fff;
  width: 38px;
  height: 38px;
  border-radius: 50%;
  cursor: pointer;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  margin-left: 0.5rem;
  transition: background-color 0.2s ease, transform 0.2s ease;
}

.theme-toggle:hover {
  background: rgba(255, 255, 255, 0.28);
  transform: scale(1.05);
}

.theme-toggle:focus-visible {
  outline: 2px solid #fff;
  outline-offset: 2px;
}

.theme-toggle svg {
  width: 18px;
  height: 18px;
}

[data-theme="light"] .theme-icon-sun {
  display: none;
}

[data-theme="dark"] .theme-icon-moon {
  display: none;
}

.navbar-toggler {
  display: none;
  background: transparent;
  border: 1px solid rgba(255, 255, 255, 0.4);
  color: #fff;
  padding: 0.4rem 0.6rem;
  border-radius: 6px;
  cursor: pointer;
}

.navbar-actions {
  display: flex;
  align-items: center;
}

/* ---------- Hero / Subheader ---------- */
.hero {
  background: var(--hero-bg);
  color: var(--text-on-primary);
  padding: 4.5rem 0 5.5rem;
  position: relative;
}

.hero h1,
.hero h2 {
  color: #fff;
}

.hero .display {
  font-size: clamp(2.25rem, 5vw, 3.5rem);
  font-weight: 800;
  margin-bottom: 1rem;
  letter-spacing: -0.02em;
}

.hero .lead {
  color: rgba(255, 255, 255, 0.9);
  font-size: 1.25rem;
  max-width: 720px;
}

.hero-cta {
  margin-top: 1.75rem;
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
}

.subheader {
  background: var(--hero-bg);
  color: var(--text-on-primary);
  padding: 3.5rem 0 4rem;
}

.subheader h1 {
  color: #fff;
  font-size: clamp(2rem, 4vw, 3rem);
  font-weight: 800;
  margin-bottom: 0.5rem;
}

.subheader p {
  color: rgba(255, 255, 255, 0.88);
  font-size: 1.25rem;
  margin: 0;
}

/* Simple straight-line separator. Used between sections
   (e.g. between the hero and the next content section). */
.section-divider,
.divider {
  display: block;
  width: 100%;
  height: 1px;
  background-color: var(--border);
  border: 0;
  margin: 0;
}

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  padding: 0.7rem 1.5rem;
  font-size: 1rem;
  font-weight: 600;
  font-family: inherit;
  line-height: 1.4;
  border: 1px solid transparent;
  border-radius: 999px;
  cursor: pointer;
  text-decoration: none;
  transition: background-color 0.2s ease, color 0.2s ease,
    border-color 0.2s ease, transform 0.15s ease, box-shadow 0.2s ease;
}

.btn:hover {
  text-decoration: none;
  transform: translateY(-1px);
  box-shadow: var(--shadow-md);
}

.btn:active {
  transform: translateY(0);
}

.btn-primary {
  background-color: var(--primary);
  color: #fff;
  border-color: var(--primary);
}

.btn-primary:hover {
  background-color: var(--primary-hover);
  border-color: var(--primary-hover);
  color: #fff;
}

.btn-light {
  background-color: #fff;
  color: var(--primary);
  border-color: #fff;
}

.btn-light:hover {
  background-color: #f1f3f5;
  color: var(--primary-active);
}

.btn-outline-light {
  background-color: transparent;
  color: #fff;
  border-color: #fff;
}

.btn-outline-light:hover {
  background-color: #fff;
  color: var(--primary);
}

/* ---------- Section heading ---------- */
.eyebrow {
  display: inline-block;
  color: var(--primary);
  font-size: 0.85rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  margin-bottom: 0.75rem;
}

.section-title {
  font-size: clamp(1.75rem, 3vw, 2.5rem);
  margin-bottom: 1rem;
}

.section-intro {
  font-size: 1.1rem;
  color: var(--text-muted);
  max-width: 760px;
  margin: 0 auto 2.5rem;
}

/* ---------- Grids ---------- */
.grid {
  display: grid;
  gap: 1.5rem;
}

.grid-3 {
  grid-template-columns: repeat(3, minmax(0, 1fr));
}

.grid-2 {
  grid-template-columns: repeat(2, minmax(0, 1fr));
}

.grid-4 {
  grid-template-columns: repeat(4, minmax(0, 1fr));
}

@media (max-width: 900px) {
  .grid-3,
  .grid-4 {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (max-width: 600px) {
  .grid-2,
  .grid-3,
  .grid-4 {
    grid-template-columns: 1fr;
  }
}

/* ---------- Step cards (3-step process) ---------- */
.step-card {
  text-align: center;
  padding: 2rem 1.5rem;
  background-color: var(--surface-elevated);
  border: 1px solid var(--border);
  border-radius: 14px;
  transition: transform 0.2s ease, box-shadow 0.2s ease,
    border-color 0.2s ease;
}

.step-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-lg);
  border-color: var(--primary);
}

.step-number {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 56px;
  height: 56px;
  border-radius: 50%;
  background: var(--primary-soft);
  color: var(--primary);
  font-size: 1.5rem;
  font-weight: 800;
  margin-bottom: 1rem;
}

.step-card h3 {
  margin-bottom: 0.6rem;
  font-size: 1.4rem;
}

.step-card p {
  color: var(--text-muted);
  margin: 0;
}

/* ---------- Feature cards ---------- */
.feature-card {
  background-color: var(--surface-elevated);
  border: 1px solid var(--border);
  border-radius: 14px;
  padding: 1.75rem;
  transition: transform 0.2s ease, box-shadow 0.2s ease,
    border-color 0.2s ease;
}

.feature-card:hover {
  transform: translateY(-3px);
  box-shadow: var(--shadow-md);
  border-color: var(--primary);
}

.feature-icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 48px;
  height: 48px;
  border-radius: 12px;
  background: var(--primary-soft);
  color: var(--primary);
  margin-bottom: 1rem;
}

.feature-icon svg {
  width: 24px;
  height: 24px;
}

.feature-card h3 {
  font-size: 1.2rem;
  margin-bottom: 0.5rem;
}

.feature-card p {
  color: var(--text-muted);
  margin: 0;
  font-size: 0.95rem;
}

/* ---------- Subject cards (dark band) ---------- */
.subject-card {
  background-color: var(--surface-dark-hover);
  border: 1px solid var(--border-on-dark);
  border-radius: 14px;
  padding: 2rem 1.5rem;
  text-align: center;
  transition: transform 0.2s ease, border-color 0.2s ease;
}

.subject-card:hover {
  transform: translateY(-3px);
  border-color: var(--primary);
}

.subject-card h3 {
  color: var(--text-on-dark);
  font-size: 1.3rem;
  margin-bottom: 0.75rem;
}

.subject-card .subject-icon {
  color: var(--primary);
  font-size: 2rem;
  margin-bottom: 1rem;
}

.subject-card ul {
  list-style: none;
  padding: 0;
  margin: 1rem 0 0;
  text-align: left;
}

.subject-card li {
  color: var(--text-on-dark-muted);
  padding: 0.35rem 0;
  border-bottom: 1px solid var(--border-on-dark);
  font-size: 0.95rem;
}

.subject-card li:last-child {
  border-bottom: none;
}

/* ---------- Two-column split ---------- */
.split {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 3rem;
  align-items: center;
}

@media (max-width: 900px) {
  .split {
    grid-template-columns: 1fr;
    gap: 2rem;
  }
}

.split-visual {
  display: flex;
  justify-content: center;
  align-items: center;
}

.device-mock {
  width: 100%;
  max-width: 420px;
  aspect-ratio: 9 / 16;
  background: linear-gradient(160deg, var(--primary) 0%, var(--primary-active) 100%);
  border-radius: 36px;
  padding: 14px;
  box-shadow: var(--shadow-lg);
  position: relative;
}

.device-mock::before {
  content: "";
  position: absolute;
  top: 14px;
  left: 50%;
  transform: translateX(-50%);
  width: 90px;
  height: 18px;
  background: rgba(0, 0, 0, 0.4);
  border-radius: 0 0 14px 14px;
  z-index: 2;
}

.device-screen {
  background: var(--bg);
  border-radius: 24px;
  height: 100%;
  display: flex;
  flex-direction: column;
  padding: 2.5rem 1.25rem 1.25rem;
  gap: 0.85rem;
  overflow: hidden;
}

.device-row {
  background: var(--surface);
  height: 48px;
  border-radius: 10px;
  border-left: 4px solid var(--primary);
}

.device-row.tall {
  height: 80px;
}

/* ---------- Contact / info cards ---------- */
.info-card {
  background-color: var(--surface-elevated);
  border: 1px solid var(--border);
  border-radius: 14px;
  padding: 2rem;
  text-align: center;
  height: 100%;
}

.info-card h3 {
  margin-bottom: 0.5rem;
  font-size: 1.25rem;
}

.info-card .info-icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 56px;
  height: 56px;
  border-radius: 50%;
  background: var(--primary-soft);
  color: var(--primary);
  margin-bottom: 1rem;
}

.info-card .info-icon svg {
  width: 24px;
  height: 24px;
}

.info-card a {
  font-weight: 600;
  word-break: break-word;
}

/* ---------- Long-form legal pages ---------- */
.legal {
  max-width: 860px;
  margin: 0 auto;
}

.legal h2 {
  font-size: 1.6rem;
  margin: 2.5rem 0 0.75rem;
  padding-top: 1rem;
}

.legal h3 {
  font-size: 1.2rem;
  margin: 1.5rem 0 0.5rem;
  color: var(--text-strong);
}

.legal p {
  margin-bottom: 1rem;
  color: var(--text);
}

.legal ul {
  margin-bottom: 1.25rem;
}

.legal .meta {
  font-size: 0.95rem;
  color: var(--text-muted);
  margin-bottom: 2rem;
  padding: 0.85rem 1rem;
  background: var(--surface);
  border-left: 3px solid var(--primary);
  border-radius: 4px;
}

.toc {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: 12px;
  padding: 1.25rem 1.5rem;
  margin-bottom: 2.5rem;
}

.toc h2 {
  margin: 0 0 0.75rem;
  padding: 0;
  font-size: 1.05rem;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: var(--text-muted);
}

.toc ol {
  margin: 0;
  padding-left: 1.25rem;
  columns: 2;
  column-gap: 2rem;
}

.toc li {
  margin-bottom: 0.35rem;
  break-inside: avoid;
}

@media (max-width: 700px) {
  .toc ol {
    columns: 1;
  }
}

/* ---------- Footer ---------- */
.site-footer {
  background-color: var(--surface);
  color: var(--text);
  padding: 3rem 0 1.5rem;
  border-top: 1px solid var(--border);
}

.footer-grid {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1fr;
  gap: 2rem;
  margin-bottom: 2rem;
}

@media (max-width: 800px) {
  .footer-grid {
    grid-template-columns: 1fr 1fr;
  }
}

@media (max-width: 500px) {
  .footer-grid {
    grid-template-columns: 1fr;
  }
}

.footer-brand h3 {
  color: var(--text-strong);
  margin-bottom: 0.5rem;
  font-size: 1.25rem;
}

.footer-brand p {
  color: var(--text-muted);
  font-size: 0.95rem;
  max-width: 360px;
}

.footer-col h4 {
  color: var(--text-strong);
  font-size: 0.85rem;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  margin-bottom: 1rem;
}

.footer-col ul {
  list-style: none;
  padding: 0;
  margin: 0;
}

.footer-col li {
  margin-bottom: 0.5rem;
}

.footer-col a {
  color: var(--text-muted);
  font-size: 0.95rem;
}

.footer-col a:hover {
  color: var(--primary);
}

.footer-bottom {
  border-top: 1px solid var(--border);
  padding-top: 1.5rem;
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 1rem;
  font-size: 0.9rem;
  color: var(--text-muted);
}

.social {
  display: inline-flex;
  gap: 0.5rem;
}

.social a {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 36px;
  height: 36px;
  border-radius: 50%;
  background: var(--bg);
  border: 1px solid var(--border);
  color: var(--text-muted);
  transition: background-color 0.2s ease, color 0.2s ease,
    border-color 0.2s ease;
}

.social a:hover {
  background: var(--primary);
  color: #fff;
  border-color: var(--primary);
  text-decoration: none;
}

.social svg {
  width: 16px;
  height: 16px;
}

/* ---------- Responsive nav ---------- */
@media (max-width: 800px) {
  .navbar-toggler {
    display: inline-flex;
    align-items: center;
    justify-content: center;
  }

  .navbar-collapse {
    display: none;
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    background-color: var(--primary);
    padding: 0.75rem 1.25rem 1.25rem;
    box-shadow: var(--shadow-md);
  }

  .navbar-collapse.open {
    display: block;
  }

  .navbar-menu {
    flex-direction: column;
    align-items: stretch;
    gap: 0.25rem;
  }

  .nav-link {
    display: block;
    padding: 0.75rem 0.85rem;
  }
}

/* ---------- Utilities ---------- */
.mt-0 { margin-top: 0 !important; }
.mt-1 { margin-top: 0.5rem !important; }
.mt-2 { margin-top: 1rem !important; }
.mt-3 { margin-top: 1.5rem !important; }
.mt-4 { margin-top: 2rem !important; }
.mb-0 { margin-bottom: 0 !important; }
.mb-1 { margin-bottom: 0.5rem !important; }
.mb-2 { margin-bottom: 1rem !important; }
.mb-3 { margin-bottom: 1.5rem !important; }
.mb-4 { margin-bottom: 2rem !important; }

/* ---------- Role cards (6 personas) ---------- */
.role-card {
  background-color: var(--surface-elevated);
  border: 1px solid var(--border);
  border-left: 4px solid var(--primary);
  border-radius: 12px;
  padding: 1.5rem;
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.role-card:hover {
  transform: translateY(-3px);
  box-shadow: var(--shadow-md);
}

.role-card .role-tag {
  display: inline-block;
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--primary);
  margin-bottom: 0.5rem;
}

.role-card h3 {
  font-size: 1.15rem;
  margin-bottom: 0.5rem;
}

.role-card p {
  color: var(--text-muted);
  font-size: 0.95rem;
  margin: 0 0 0.75rem;
}

.role-card .role-meta {
  font-size: 0.85rem;
  color: var(--text-muted);
  border-top: 1px solid var(--border);
  padding-top: 0.75rem;
  margin-top: 0.75rem;
}

.role-card .role-meta strong {
  color: var(--text-strong);
}

/* ---------- TOTP / QR mock visual ---------- */
.qr-mock {
  width: 100%;
  max-width: 320px;
  aspect-ratio: 1 / 1;
  background: var(--surface-elevated);
  border: 1px solid var(--border);
  border-radius: 18px;
  padding: 1.25rem;
  box-shadow: var(--shadow-lg);
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
}

.qr-grid {
  flex: 1;
  background-image:
    linear-gradient(45deg, var(--text-strong) 25%, transparent 25%),
    linear-gradient(-45deg, var(--text-strong) 25%, transparent 25%),
    linear-gradient(45deg, transparent 75%, var(--text-strong) 75%),
    linear-gradient(-45deg, transparent 75%, var(--text-strong) 75%);
  background-size: 18px 18px;
  background-position: 0 0, 0 9px, 9px -9px, -9px 0;
  background-color: var(--bg);
  border-radius: 10px;
  position: relative;
  overflow: hidden;
}

.qr-grid::before,
.qr-grid::after {
  content: "";
  position: absolute;
  width: 36px;
  height: 36px;
  border: 6px solid var(--text-strong);
  background: var(--bg);
}

.qr-grid::before { top: 8px; left: 8px; }
.qr-grid::after { top: 8px; right: 8px; }

.qr-meta {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 0.75rem;
}

.qr-meta .qr-countdown {
  font-weight: 700;
  font-size: 1.1rem;
  color: var(--primary);
}

.qr-bar {
  flex: 1;
  height: 6px;
  background: var(--surface);
  border-radius: 999px;
  overflow: hidden;
}

.qr-bar span {
  display: block;
  height: 100%;
  width: 65%;
  background: var(--primary);
  border-radius: 999px;
}

/* ---------- Platform matrix list ---------- */
.platform-list {
  list-style: none;
  padding: 0;
  margin: 1.5rem 0 0;
  display: grid;
  gap: 0.75rem;
}

.platform-list li {
  display: flex;
  align-items: center;
  gap: 0.85rem;
  padding: 0.85rem 1rem;
  background: var(--surface-elevated);
  border: 1px solid var(--border);
  border-radius: 10px;
  margin: 0;
}

.platform-list .platform-tag {
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  background: var(--primary-soft);
  color: var(--primary);
  padding: 0.2rem 0.55rem;
  border-radius: 6px;
  white-space: nowrap;
}

/* ---------- Variants / helpers ---------- */
.btn-outline-primary {
  background: transparent;
  color: var(--primary);
  border-color: var(--primary);
}

.btn-outline-primary:hover {
  background: var(--primary);
  color: #fff;
}

.section-intro-on-dark {
  color: var(--text-on-dark-muted);
}

.info-card-narrow {
  max-width: 420px;
  margin: 0 auto;
}

/* Reduced motion */
@media (prefers-reduced-motion: reduce) {
  *,
  *::before,
  *::after {
    animation-duration: 0.01ms !important;
    transition-duration: 0.01ms !important;
    scroll-behavior: auto !important;
  }
}
