/* ==========================================================================
   Imaging Diagnostics — design system
   Light, precise and technical: white space, the brand's own deep purple
   (sampled from the original logo, #402363), and lens/aperture geometry.
   ========================================================================== */

@font-face {
  font-family: 'Inter';
  font-style: normal;
  font-weight: 400 700;
  font-display: swap;
  src: url('/assets/fonts/inter-var.woff2') format('woff2');
}
@font-face {
  font-family: 'Space Grotesk';
  font-style: normal;
  font-weight: 500 700;
  font-display: swap;
  src: url('/assets/fonts/space-grotesk-var.woff2') format('woff2');
}

:root {
  --bg: #ffffff;
  --bg-alt: #f6f2fb;
  --bg-card: #ffffff;
  --bg-card-hover: #faf8fd;
  --border: rgba(64, 35, 99, 0.13);
  --border-strong: rgba(64, 35, 99, 0.26);
  --text: #241a33;
  --heading: #1a1128;
  --text-muted: #5f5570;
  --text-faint: #8d84a0;

  /* Brand purple, sampled directly from the original ID-logo.gif (#402363). */
  --accent: #402363;
  --accent-dim: #2e1a48;
  --accent-2: #7c3aed;
  --accent-pale: #efe8f9;
  --on-accent: #ffffff;
  --gold: #b6893a;
  --success: #1f9d6c;

  --font-display: 'Space Grotesk', 'Segoe UI', system-ui, sans-serif;
  --font-body: 'Inter', 'Segoe UI', system-ui, -apple-system, sans-serif;

  --container: 1180px;
  --radius-lg: 20px;
  --radius: 14px;
  --radius-sm: 9px;

  --shadow-1: 0 1px 3px rgba(64, 35, 99, 0.08);
  --shadow-2: 0 20px 45px -18px rgba(64, 35, 99, 0.22);
  --glow-accent: 0 0 0 1px rgba(64, 35, 99, 0.1), 0 16px 40px -12px rgba(124, 58, 237, 0.22);

  --ease: cubic-bezier(0.16, 1, 0.3, 1);
}

/* ---------- Reset ---------- */
*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  background: var(--bg);
  color: var(--text);
  font-family: var(--font-body);
  font-size: 16px;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}
img { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }
ul { list-style: none; margin: 0; padding: 0; }
h1, h2, h3, h4 { font-family: var(--font-display); font-weight: 600; line-height: 1.15; margin: 0 0 0.5em; letter-spacing: -0.01em; color: var(--heading); }
p { margin: 0 0 1em; color: var(--text-muted); }
button { font-family: inherit; cursor: pointer; }
input, select, textarea { font-family: inherit; font-size: 1rem; }
::selection { background: var(--accent); color: #fff; }

.container {
  max-width: var(--container);
  margin: 0 auto;
  padding: 0 24px;
}

section { position: relative; padding: 108px 0; }
section.tight { padding: 72px 0; }
.section-alt { background: var(--bg-alt); }
.section-alt::before, .section-alt::after {
  content: '';
  position: absolute;
  left: 0; right: 0;
  height: 1px;
  background: linear-gradient(90deg, transparent, var(--border-strong) 50%, transparent);
}
.section-alt::before { top: 0; }
.section-alt::after { bottom: 0; }

/* ---------- Background texture ---------- */
.grain-bg {
  position: fixed;
  inset: 0;
  z-index: 0;
  pointer-events: none;
  background-image:
    linear-gradient(rgba(64,35,99,0.05) 1px, transparent 1px),
    linear-gradient(90deg, rgba(64,35,99,0.05) 1px, transparent 1px);
  background-size: 64px 64px;
  mask-image: radial-gradient(ellipse 80% 60% at 50% 0%, black 0%, transparent 70%);
}

/* ---------- Type scale ---------- */
.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-family: var(--font-display);
  font-size: 0.78rem;
  font-weight: 600;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--accent);
  margin-bottom: 18px;
}
.eyebrow::before {
  content: '';
  width: 22px; height: 1px;
  background: var(--accent);
  display: inline-block;
}
h1 { font-size: clamp(2.4rem, 4.6vw, 4rem); }
h2 { font-size: clamp(1.9rem, 3.2vw, 2.7rem); }
h3 { font-size: 1.35rem; }
.lede { font-size: 1.2rem; color: var(--text-muted); max-width: 640px; }
.section-head { max-width: 700px; margin-bottom: 56px; }
.section-head.center { margin-left: auto; margin-right: auto; text-align: center; }
.text-accent { color: var(--accent); }
.text-accent-2 { color: var(--accent-2); }

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 14px 26px;
  border-radius: 999px;
  font-family: var(--font-display);
  font-weight: 600;
  font-size: 0.95rem;
  border: 1px solid var(--border-strong);
  transition: all 0.25s var(--ease);
  white-space: nowrap;
}
.btn-accent {
  background: linear-gradient(135deg, var(--accent), var(--accent-2));
  color: #fff;
  border: none;
  box-shadow: 0 10px 26px -8px rgba(64, 35, 99, 0.55);
}
.btn-accent:hover { transform: translateY(-2px); box-shadow: 0 14px 32px -8px rgba(64, 35, 99, 0.65); }
.btn-ghost { background: rgba(64,35,99,0.04); color: var(--text); }
.btn-ghost:hover { border-color: var(--accent); color: var(--accent); background: var(--accent-pale); }
.btn-sm { padding: 10px 18px; font-size: 0.85rem; }
.btn svg { width: 16px; height: 16px; }

/* ---------- Header / Nav ---------- */
.site-header {
  position: sticky;
  top: 0;
  z-index: 100;
  padding: 18px 0;
  transition: all 0.3s var(--ease);
  background: rgba(255, 255, 255, 0.5);
  backdrop-filter: blur(0px);
}
.site-header.scrolled {
  padding: 12px 0;
  background: rgba(255, 255, 255, 0.92);
  backdrop-filter: blur(16px);
  border-bottom: 1px solid var(--border);
}
.header-inner { display: flex; align-items: center; justify-content: space-between; gap: 24px; }
.brand { display: flex; align-items: center; gap: 12px; flex-shrink: 0; }
.brand-logo { height: 40px; width: auto; }
.main-nav { display: flex; align-items: center; gap: 34px; }
.main-nav a {
  font-size: 0.94rem;
  color: var(--text-muted);
  font-weight: 500;
  position: relative;
  padding: 4px 0;
  transition: color 0.2s;
}
.main-nav a:hover, .main-nav a.active { color: var(--accent); }
.main-nav a.active::after {
  content: '';
  position: absolute;
  left: 0; right: 0; bottom: -6px;
  height: 2px;
  background: var(--accent);
  border-radius: 2px;
}
.header-actions { display: flex; align-items: center; gap: 18px; }
.nav-toggle {
  display: none;
  width: 42px; height: 42px;
  border-radius: 10px;
  border: 1px solid var(--border-strong);
  background: var(--bg-card);
  color: var(--text);
  align-items: center; justify-content: center;
}
.nav-toggle svg { width: 20px; height: 20px; }

@media (max-width: 900px) {
  .main-nav {
    position: fixed;
    inset: 74px 16px auto 16px;
    flex-direction: column;
    align-items: stretch;
    gap: 2px;
    background: #fff;
    border: 1px solid var(--border);
    border-radius: var(--radius);
    padding: 10px;
    box-shadow: var(--shadow-2);
    opacity: 0;
    visibility: hidden;
    transform: translateY(-8px);
    transition: all 0.25s var(--ease);
  }
  .main-nav.open { opacity: 1; visibility: visible; transform: translateY(0); }
  .main-nav a { padding: 12px 14px; border-radius: 8px; }
  .main-nav a:hover { background: var(--accent-pale); }
  .nav-cta { display: none; }
  .nav-toggle { display: inline-flex; }
}

/* ---------- Hero ---------- */
.hero {
  padding: 90px 0 120px;
  position: relative;
  overflow: hidden;
}
.hero-glow {
  position: absolute;
  top: -220px; left: 50%;
  width: 1100px; height: 700px;
  transform: translateX(-50%);
  background: radial-gradient(ellipse at center, rgba(124,58,237,0.14), rgba(64,35,99,0.07) 45%, transparent 72%);
  filter: blur(10px);
  pointer-events: none;
  z-index: 0;
}
.hero-grid { display: grid; grid-template-columns: 1.05fr 0.95fr; gap: 60px; align-items: center; position: relative; z-index: 1; }
.hero-actions { display: flex; gap: 14px; margin-top: 36px; flex-wrap: wrap; }
.hero-stats { display: flex; gap: 40px; margin-top: 56px; flex-wrap: wrap; }
.hero-stat .num { font-family: var(--font-display); font-size: 2rem; font-weight: 700; color: var(--heading); }
.hero-stat .label { font-size: 0.82rem; color: var(--text-faint); text-transform: uppercase; letter-spacing: 0.06em; }

.aperture-stage {
  position: relative;
  aspect-ratio: 1 / 1;
  display: flex;
  align-items: center;
  justify-content: center;
}
.aperture-stage svg { width: 100%; height: 100%; max-width: 460px; }
.aperture-ring { transform-origin: 250px 250px; animation: spin 40s linear infinite; }
.aperture-ring.reverse { animation-direction: reverse; animation-duration: 60s; }
@keyframes spin { to { transform: rotate(360deg); } }
@media (prefers-reduced-motion: reduce) { .aperture-ring { animation: none; } }

@media (max-width: 980px) {
  .hero-grid { grid-template-columns: 1fr; }
  .aperture-stage { max-width: 340px; margin: 0 auto; order: -1; }
}

/* ---------- Stat strip ---------- */
.stat-strip {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  background: var(--bg-card);
  box-shadow: var(--shadow-1);
  overflow: hidden;
}
.stat-strip .stat { padding: 34px 24px; text-align: center; border-right: 1px solid var(--border); }
.stat-strip .stat:last-child { border-right: none; }
.stat-strip .num { font-family: var(--font-display); font-size: 2.2rem; font-weight: 700; color: var(--accent); }
.stat-strip .label { color: var(--text-muted); font-size: 0.88rem; margin-top: 6px; }
@media (max-width: 800px) { .stat-strip { grid-template-columns: repeat(2, 1fr); } .stat-strip .stat:nth-child(2) { border-right: none; } .stat-strip .stat:nth-child(-n+2) { border-bottom: 1px solid var(--border); } }

/* ---------- Cards / grids ---------- */
.grid { display: grid; gap: 26px; }
.grid-3 { grid-template-columns: repeat(3, 1fr); }
.grid-2 { grid-template-columns: repeat(2, 1fr); }
.grid-4 { grid-template-columns: repeat(4, 1fr); }
@media (max-width: 980px) { .grid-3, .grid-4 { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 640px) { .grid-2, .grid-3, .grid-4 { grid-template-columns: 1fr; } }

.card {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 32px;
  transition: all 0.3s var(--ease);
}
.card:hover { border-color: var(--border-strong); background: var(--bg-card-hover); transform: translateY(-4px); box-shadow: var(--shadow-1); }
.card .icon {
  width: 48px; height: 48px;
  border-radius: 12px;
  background: linear-gradient(135deg, var(--accent-pale), #fff);
  border: 1px solid rgba(64,35,99,0.18);
  display: flex; align-items: center; justify-content: center;
  margin-bottom: 20px;
  color: var(--accent);
}
.card .icon svg { width: 24px; height: 24px; }
.card h3 { margin-bottom: 10px; }
.card p { margin-bottom: 0; font-size: 0.96rem; }

/* ---------- Device / product card (photo on light panel) ---------- */
.device-card {
  border-radius: var(--radius-lg);
  background: linear-gradient(150deg, #faf8fd, #ece2f7);
  padding: 30px;
  position: relative;
  overflow: hidden;
  border: 1px solid var(--border);
  box-shadow: var(--shadow-1);
}
.device-card::before {
  content: '';
  position: absolute;
  width: 260px; height: 260px;
  background: radial-gradient(circle, rgba(124,58,237,0.22), transparent 70%);
  top: -80px; right: -80px;
  border-radius: 50%;
}
.device-card img { position: relative; z-index: 1; border-radius: 10px; }

.product-card {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  overflow: hidden;
  display: flex;
  flex-direction: column;
  transition: all 0.3s var(--ease);
}
.product-card:hover { border-color: rgba(64,35,99,0.32); box-shadow: var(--glow-accent); }
.product-card .device-card { border-radius: 0; margin: 0; box-shadow: none; border: none; border-bottom: 1px solid var(--border); aspect-ratio: 4/3; display: flex; align-items: center; justify-content: center; }
.product-card .device-card img { max-height: 200px; width: auto; margin: 0 auto; }
.product-card .body { padding: 26px 28px 30px; flex: 1; display: flex; flex-direction: column; }
.product-card .tag { display: inline-block; font-size: 0.72rem; font-weight: 700; letter-spacing: 0.08em; text-transform: uppercase; color: var(--accent-2); background: var(--accent-pale); border: 1px solid rgba(124,58,237,0.3); padding: 4px 10px; border-radius: 999px; margin-bottom: 14px; align-self: flex-start; }
.product-card p { font-size: 0.94rem; flex: 1; }
.product-card .links { margin-top: 18px; font-family: var(--font-display); font-weight: 600; font-size: 0.88rem; color: var(--accent); display: flex; align-items: center; gap: 6px; }

/* ---------- CPD philosophy ---------- */
.cpd-row { display: grid; grid-template-columns: repeat(3, 1fr); gap: 0; border: 1px solid var(--border); border-radius: var(--radius-lg); overflow: hidden; background: var(--bg-card); box-shadow: var(--shadow-1); }
.cpd-step { padding: 40px 34px; position: relative; }
.cpd-step:not(:last-child) { border-right: 1px solid var(--border); }
.cpd-step .letter { font-family: var(--font-display); font-size: 3rem; font-weight: 700; color: transparent; -webkit-text-stroke: 1.5px var(--accent-2); opacity: 0.7; line-height: 1; }
.cpd-step h3 { margin-top: 14px; }
@media (max-width: 900px) { .cpd-row { grid-template-columns: 1fr; } .cpd-step:not(:last-child) { border-right: none; border-bottom: 1px solid var(--border); } }

/* ---------- Timeline ---------- */
.timeline { position: relative; padding-left: 34px; }
.timeline::before { content: ''; position: absolute; left: 6px; top: 6px; bottom: 6px; width: 1px; background: var(--border-strong); }
.timeline-item { position: relative; padding-bottom: 46px; }
.timeline-item:last-child { padding-bottom: 0; }
.timeline-item::before { content: ''; position: absolute; left: -34px; top: 4px; width: 13px; height: 13px; border-radius: 50%; background: var(--bg); border: 2px solid var(--accent); box-shadow: 0 0 0 4px rgba(64,35,99,0.1); }
.timeline-item .year { font-family: var(--font-display); font-weight: 700; color: var(--accent); font-size: 0.95rem; letter-spacing: 0.04em; }
.timeline-item h3 { margin: 6px 0 10px; }

/* ---------- Pull quote ---------- */
.pull-quote {
  border-radius: var(--radius-lg);
  border: 1px solid var(--border);
  background: linear-gradient(160deg, #ffffff, var(--bg-alt));
  padding: 56px;
  position: relative;
  box-shadow: var(--shadow-1);
}
.pull-quote .mark-icon { width: 40px; height: 40px; color: var(--accent-2); opacity: 0.6; margin-bottom: 20px; }
.pull-quote blockquote { font-family: var(--font-display); font-size: clamp(1.3rem, 2.4vw, 1.7rem); color: var(--heading); font-weight: 500; line-height: 1.4; margin: 0 0 26px; }
.pull-quote .attribution { display: flex; align-items: center; gap: 14px; }
.pull-quote .avatar { width: 44px; height: 44px; border-radius: 50%; background: linear-gradient(135deg, var(--accent), var(--accent-2)); display: flex; align-items: center; justify-content: center; font-family: var(--font-display); font-weight: 700; color: #fff; }
.pull-quote .who strong { display: block; color: var(--heading); font-size: 0.95rem; }
.pull-quote .who span { color: var(--text-faint); font-size: 0.85rem; }
@media (max-width: 700px) { .pull-quote { padding: 34px 26px; } }

/* ---------- Trust wall ---------- */
.trust-wall { display: flex; flex-wrap: wrap; gap: 18px; }
.trust-plate {
  flex: 1 1 200px;
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 26px 24px;
  background: var(--bg-card);
  text-align: center;
  box-shadow: var(--shadow-1);
}
.trust-plate .name { font-family: var(--font-display); font-weight: 700; font-size: 1.15rem; color: var(--heading); }
.trust-plate .sub { font-size: 0.8rem; color: var(--text-faint); margin-top: 4px; }

/* ---------- Badges / certifications ---------- */
.badge-row { display: flex; flex-wrap: wrap; gap: 16px; }
.badge {
  display: flex; align-items: center; gap: 12px;
  border: 1px solid var(--border-strong);
  border-radius: 999px;
  padding: 10px 20px 10px 12px;
  background: var(--bg-card);
}
.badge .dot { width: 34px; height: 34px; border-radius: 50%; background: linear-gradient(135deg, var(--accent), var(--accent-2)); display: flex; align-items: center; justify-content: center; color: #fff; flex-shrink: 0; }
.badge .dot svg { width: 17px; height: 17px; }
.badge strong { display: block; font-size: 0.88rem; color: var(--heading); }
.badge span { display: block; font-size: 0.76rem; color: var(--text-faint); }

/* ---------- Process steps (vertical numbered) ---------- */
.process-list { display: flex; flex-direction: column; }
.process-item { display: grid; grid-template-columns: 64px 1fr; gap: 24px; padding: 26px 0; border-bottom: 1px solid var(--border); }
.process-item:last-child { border-bottom: none; }
.process-item .idx { font-family: var(--font-display); font-size: 1.8rem; font-weight: 700; color: transparent; -webkit-text-stroke: 1.4px var(--border-strong); }
.process-item:hover .idx { -webkit-text-stroke: 1.4px var(--accent); }
.process-item h3 { margin-bottom: 6px; }
.process-item p { margin: 0; }

/* ---------- Callout ---------- */
.callout {
  border-radius: var(--radius-lg);
  border: 1px solid rgba(124,58,237,0.3);
  background: linear-gradient(135deg, rgba(124,58,237,0.06), rgba(64,35,99,0.04));
  padding: 48px;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 40px;
  align-items: center;
}
@media (max-width: 900px) { .callout { grid-template-columns: 1fr; padding: 32px 26px; } }

/* ---------- CTA band (intentionally full brand-purple, white text) ---------- */
.cta-band {
  border-radius: var(--radius-lg);
  background: linear-gradient(135deg, var(--accent), var(--accent-dim) 65%);
  border: 1px solid var(--accent-dim);
  padding: 64px;
  text-align: center;
  position: relative;
  overflow: hidden;
}
.cta-band::before {
  content: '';
  position: absolute; inset: 0;
  background: radial-gradient(ellipse at 50% 0%, rgba(255,255,255,0.14), transparent 60%);
}
.cta-band > * { position: relative; z-index: 1; }
.cta-band .eyebrow { color: #d8c3ff; }
.cta-band .eyebrow::before { background: #d8c3ff; }
.cta-band h2, .cta-band h3 { color: #fff; }
.cta-band p, .cta-band .lede { color: rgba(255,255,255,0.78); }
.cta-band .btn-row { display: flex; justify-content: center; gap: 14px; margin-top: 30px; flex-wrap: wrap; }
.cta-band .btn-accent { background: #fff; color: var(--accent); box-shadow: 0 10px 26px -8px rgba(0,0,0,0.35); }
.cta-band .btn-ghost { border-color: rgba(255,255,255,0.4); color: #fff; background: rgba(255,255,255,0.08); }
.cta-band .btn-ghost:hover { border-color: #fff; background: rgba(255,255,255,0.16); color: #fff; }
@media (max-width: 700px) { .cta-band { padding: 44px 24px; } }

/* ---------- Forms ---------- */
.form-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 20px; }
.form-grid .full { grid-column: 1 / -1; }
@media (max-width: 700px) { .form-grid { grid-template-columns: 1fr; } }
.field label { display: block; font-size: 0.85rem; font-weight: 600; color: var(--text-muted); margin-bottom: 8px; }
.field input, .field select, .field textarea {
  width: 100%;
  background: var(--bg-alt);
  border: 1px solid var(--border-strong);
  color: var(--text);
  border-radius: var(--radius-sm);
  padding: 13px 16px;
  transition: border-color 0.2s;
}
.field input:focus, .field select:focus, .field textarea:focus { outline: none; border-color: var(--accent); }
.field textarea { resize: vertical; min-height: 130px; }
.field-note { font-size: 0.78rem; color: var(--text-faint); margin-top: 6px; }
.form-message { margin-top: 18px; padding: 14px 18px; border-radius: var(--radius-sm); font-size: 0.92rem; display: none; }
.form-message.show { display: block; }
.form-message.success { background: rgba(31,157,108,0.1); border: 1px solid rgba(31,157,108,0.35); color: #157a53; }
.form-message.error { background: rgba(220,38,38,0.08); border: 1px solid rgba(220,38,38,0.3); color: #b91c1c; }

/* ---------- Contact info cards ---------- */
.contact-info { display: flex; flex-direction: column; gap: 18px; }
.info-card { display: flex; gap: 16px; padding: 22px; border: 1px solid var(--border); border-radius: var(--radius); background: var(--bg-card); box-shadow: var(--shadow-1); }
.info-card .icon { width: 44px; height: 44px; border-radius: 10px; background: var(--accent-pale); border: 1px solid rgba(64,35,99,0.2); color: var(--accent); display: flex; align-items: center; justify-content: center; flex-shrink: 0; }
.info-card .icon svg { width: 22px; height: 22px; }
.info-card strong { display: block; color: var(--heading); margin-bottom: 4px; }
.info-card a { color: var(--text-muted); }
.info-card a:hover { color: var(--accent); }

/* ---------- Footer ---------- */
.site-footer { border-top: 1px solid var(--border); padding: 72px 0 28px; background: var(--bg-alt); }
.footer-grid { display: grid; grid-template-columns: 1.4fr 1fr 1fr 1fr; gap: 40px; padding-bottom: 48px; }
.footer-brand .brand { margin-bottom: 16px; }
.footer-brand p { max-width: 280px; font-size: 0.92rem; }
.footer-col h4 { font-size: 0.82rem; text-transform: uppercase; letter-spacing: 0.08em; color: var(--text-faint); margin-bottom: 18px; }
.footer-col ul { display: flex; flex-direction: column; gap: 12px; }
.footer-col a { color: var(--text-muted); font-size: 0.94rem; }
.footer-col a:hover { color: var(--accent); }
.footer-bottom { display: flex; justify-content: space-between; align-items: center; padding-top: 28px; border-top: 1px solid var(--border); font-size: 0.82rem; color: var(--text-faint); flex-wrap: wrap; gap: 10px; }
.footer-bottom a { color: var(--text-faint); }
.footer-bottom a:hover { color: var(--accent); }
@media (max-width: 900px) { .footer-grid { grid-template-columns: 1fr 1fr; } }
@media (max-width: 560px) { .footer-grid { grid-template-columns: 1fr; } }

/* ---------- Page hero (inner pages) ---------- */
.page-hero { padding: 80px 0 70px; position: relative; }
.page-hero .lede { max-width: 700px; }
.breadcrumb { font-size: 0.85rem; color: var(--text-faint); margin-bottom: 18px; }
.breadcrumb a:hover { color: var(--accent); }

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

/* ---------- Misc utility ---------- */
.mt-0 { margin-top: 0; }
.flex-between { display: flex; justify-content: space-between; align-items: center; gap: 20px; flex-wrap: wrap; }
.tag-list { display: flex; flex-wrap: wrap; gap: 10px; }
.tag-pill { font-size: 0.78rem; padding: 6px 14px; border-radius: 999px; border: 1px solid var(--border-strong); color: var(--text-muted); }
.divider { height: 1px; background: var(--border); margin: 56px 0; }
.center-text { text-align: center; }
.narrow { max-width: 780px; margin-left: auto; margin-right: auto; }

/* ---------- 404 ---------- */
.error-page { min-height: 70vh; display: flex; align-items: center; justify-content: center; text-align: center; }
.error-page .code { font-family: var(--font-display); font-size: 7rem; font-weight: 700; background: linear-gradient(135deg, var(--accent), var(--accent-2)); -webkit-background-clip: text; background-clip: text; color: transparent; line-height: 1; }
