/* Doctor PT-141 — Estilo de Experiencia de Compra Continua
 * Premium-ecommerce-adapted-for-editorial.
 * Dark-navy chrome + saturated orange CTA + sky-blue trust + ochre accents.
 */

:root {
  --primary: #232F3E;
  --primary-50: #EEF1F5;
  --primary-900: #101822;
  --secondary: #00A8E1;
  --accent: #FF9900;
  --accent-hover: #E58800;
  --accent-alt: #C9821D;
  --neutral-50: #FFFFFF;
  --neutral-200: #E5E7EB;
  --neutral-300: #DDDDDD;
  --neutral-500: #6B7280;
  --neutral-900: #111827;
  --bg: #F4F6F8;
  --surface: #FFFFFF;
  --text: #111827;
  --text-muted: #5B6573;
  --text-on-dark: #F4F6F8;
  --success: #1F7A3A;
  --warning: #C9821D;
  --danger: #B0301F;
  --trust-gold: #C9821D;

  --max-width: 78rem;
  --reading-width: 44rem;
  --container-px: clamp(1rem, 3vw, 2.5rem);

  --font-heading: 'Sora', 'Ember', 'Helvetica Neue', Helvetica, Arial, sans-serif;
  --font-body: 'Inter', system-ui, -apple-system, 'Segoe UI', sans-serif;
  --font-label: 'IBM Plex Mono', 'SF Mono', Consolas, monospace;

  --radius-button: 8px;
  --radius-card: 12px;
  --radius-pill: 9999px;

  --shadow-card-rest: 0 1px 2px rgba(17, 24, 39, 0.04), 0 8px 24px rgba(17, 24, 39, 0.06);
  --shadow-card-hover: 0 4px 8px rgba(17, 24, 39, 0.06), 0 16px 32px rgba(17, 24, 39, 0.08);

  --transition-base: 160ms ease-out;
  --transition-card: 200ms ease-out;
}

/* ===== Reset ===== */
*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; tab-size: 4; scroll-behavior: smooth; }
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation-duration: 0.01ms !important; animation-iteration-count: 1 !important; transition-duration: 0.01ms !important; }
}
body {
  margin: 0;
  font-family: var(--font-body);
  font-size: 1.0625rem;
  line-height: 1.65;
  color: var(--text);
  background: var(--bg);
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}
img, picture, svg, video { display: block; max-width: 100%; height: auto; }
button, input, select, textarea { font: inherit; color: inherit; }
a { color: var(--primary); text-decoration: none; }
a:hover { color: var(--accent); }
a:focus-visible, button:focus-visible {
  outline: 3px solid var(--accent);
  outline-offset: 2px;
  border-radius: 2px;
}
hr { border: 0; border-top: 1px solid var(--neutral-200); margin: 2.5rem 0; }

/* ===== Typography ===== */
h1, h2, h3, h4 {
  font-family: var(--font-heading);
  color: var(--text);
  line-height: 1.12;
  margin: 0 0 0.75rem;
  font-weight: 700;
}
h1 { font-size: clamp(2.5rem, 5vw, 4rem); font-weight: 800; letter-spacing: -0.025em; }
h2 { font-size: clamp(1.75rem, 3.25vw, 2.5rem); font-weight: 700; letter-spacing: -0.02em; margin-top: 2.5rem; }
h3 { font-size: 1.375rem; font-weight: 600; letter-spacing: -0.01em; margin-top: 2rem; }
h4 { font-size: 1.0625rem; font-weight: 600; }
p { margin: 0 0 1.125rem; }
p + h2, ul + h2, ol + h2 { margin-top: 3rem; }

ul, ol { margin: 0 0 1.25rem; padding-left: 1.5rem; }
ul li, ol li { margin-bottom: 0.5rem; }
ul.research-bullets { list-style: none; padding-left: 0; }
ul.research-bullets li { position: relative; padding-left: 1.25rem; margin-bottom: 0.5rem; }
ul.research-bullets li::before {
  content: "";
  position: absolute;
  left: 0; top: 0.6875rem;
  width: 8px; height: 8px;
  background: var(--accent);
}

strong { font-weight: 600; color: var(--text); }
em { font-style: italic; }
small, .small { font-size: 0.875rem; color: var(--text-muted); }
.micro { font-size: 0.75rem; }

code, .code-inline {
  font-family: var(--font-label);
  font-size: 0.9em;
  background: #ECEEF1;
  border-radius: 4px;
  padding: 0.125rem 0.375rem;
  color: var(--text);
}

.eyebrow {
  font-family: var(--font-label);
  font-size: 0.75rem;
  font-weight: 600;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--primary);
  margin: 0 0 0.75rem;
  line-height: 1.4;
}
.eyebrow.on-dark { color: var(--text-on-dark); }
.eyebrow .ochre-dot {
  display: inline-block;
  width: 4px; height: 4px;
  background: var(--accent-alt);
  border-radius: 50%;
  vertical-align: middle;
  margin: 0 0.5rem;
}

.label-caps {
  font-family: var(--font-label);
  font-size: 0.75rem;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--text-muted);
}

/* ===== Layout ===== */
.container {
  max-width: var(--max-width);
  margin: 0 auto;
  padding-left: var(--container-px);
  padding-right: var(--container-px);
}
.reading-column {
  max-width: var(--reading-width);
  margin-left: auto;
  margin-right: auto;
}

/* Skip link */
.skip-link {
  position: absolute;
  left: -10000px;
  top: 1rem;
  background: var(--primary);
  color: var(--text-on-dark);
  padding: 0.5rem 1rem;
  z-index: 100;
}
.skip-link:focus { left: 1rem; }

/* ===== Header ===== */
.site-header {
  background: var(--primary);
  color: var(--text-on-dark);
  position: sticky;
  top: 0;
  z-index: 50;
  border-bottom: 1px solid transparent;
  transition: border-color var(--transition-base);
}
.site-header.is-scrolled {
  border-bottom-color: var(--primary-900);
}
.site-header .container {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 56px;
}
.site-brand {
  font-family: var(--font-heading);
  font-weight: 700;
  font-size: 1.0625rem;
  color: var(--text-on-dark);
  letter-spacing: -0.01em;
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
}
.site-brand:hover { color: var(--accent); }
.brand-mark {
  display: inline-block;
  width: 8px; height: 8px;
  background: var(--accent);
  border-radius: 50%;
}

.site-nav { display: none; }
.site-nav ul {
  display: flex;
  gap: 1.5rem;
  list-style: none;
  margin: 0;
  padding: 0;
  align-items: center;
}
.site-nav a {
  color: var(--text-on-dark);
  font-size: 0.9375rem;
  font-weight: 500;
  position: relative;
  padding: 0.25rem 0;
  display: inline-block;
}
.site-nav a:hover {
  color: var(--text-on-dark);
}
.site-nav a:hover::after,
.site-nav a[aria-current="page"]::after {
  content: "";
  position: absolute;
  left: 0; right: 0;
  bottom: -4px;
  height: 1px;
  background: var(--accent);
}
.site-nav a[aria-current="page"]::after { height: 2px; }

.nav-cta {
  display: inline-block;
  border: 1px solid var(--accent);
  color: var(--accent);
  border-radius: var(--radius-button);
  padding: 0.375rem 0.875rem;
  font-size: 0.875rem;
  font-weight: 600;
  transition: background-color var(--transition-base), color var(--transition-base);
}
.nav-cta:hover {
  background: var(--accent);
  color: var(--primary);
}

.nav-toggle {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  background: transparent;
  border: 1px solid rgba(255,255,255,0.2);
  border-radius: var(--radius-button);
  color: var(--text-on-dark);
  padding: 0.375rem 0.75rem;
  font-size: 0.875rem;
  font-weight: 500;
  cursor: pointer;
}
.nav-toggle:focus-visible { outline: 3px solid var(--neutral-50); outline-offset: 2px; }
.nav-toggle-bars {
  display: inline-block;
  width: 16px; height: 12px;
  position: relative;
}
.nav-toggle-bars::before,
.nav-toggle-bars::after,
.nav-toggle-bars span {
  content: "";
  position: absolute;
  left: 0; right: 0;
  height: 2px;
  background: var(--text-on-dark);
}
.nav-toggle-bars::before { top: 0; }
.nav-toggle-bars span { top: 5px; display: block; }
.nav-toggle-bars::after { bottom: 0; }

.site-nav-mobile {
  display: none;
  background: var(--primary-900);
  border-top: 1px solid var(--primary-900);
}
.site-nav-mobile.is-open { display: block; }
.site-nav-mobile ul {
  list-style: none;
  margin: 0;
  padding: 0.5rem 0;
}
.site-nav-mobile a {
  display: block;
  padding: 0.75rem var(--container-px);
  color: var(--text-on-dark);
  font-size: 1rem;
  font-weight: 500;
  border-bottom: 1px solid rgba(255,255,255,0.06);
}
.site-nav-mobile a:hover { background: var(--primary); color: var(--accent); }
.site-nav-mobile a[aria-current="page"] { color: var(--accent); }

@media (min-width: 768px) {
  .site-nav { display: block; }
  .nav-toggle { display: none; }
  .site-nav-mobile { display: none !important; }
}

/* ===== Hero ===== */
.hero {
  padding: clamp(2.5rem, 6vw, 4.5rem) 0 clamp(2rem, 4vw, 3rem);
  background: var(--bg);
}
.hero-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 2rem;
  align-items: center;
}
@media (min-width: 1024px) {
  .hero-grid { grid-template-columns: 1.2fr 1fr; gap: 3rem; }
}
.hero-headline {
  max-width: 36rem;
}
.hero h1 { margin-bottom: 1rem; }
.hero .subheadline {
  font-size: 1.1875rem;
  color: var(--text-muted);
  max-width: 38rem;
  margin-bottom: 1.75rem;
  line-height: 1.55;
}
.cta-row {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
  align-items: center;
}
.hero-figure {
  margin: 0;
  border-radius: var(--radius-card);
  overflow: hidden;
  background: var(--surface);
  box-shadow: var(--shadow-card-rest);
  border: 1px solid var(--neutral-200);
}
.hero-figure img {
  display: block;
  width: 100%;
  height: auto;
  aspect-ratio: 16 / 9;
  object-fit: cover;
}

/* Hero card (trust signals) */
.hero-card {
  background: var(--surface);
  border: 1px solid var(--neutral-200);
  border-radius: var(--radius-card);
  box-shadow: var(--shadow-card-rest);
  padding: 1.25rem 1.5rem;
}
.hero-card .hero-card-eyebrow {
  margin-bottom: 1rem;
}
.trust-row {
  display: flex;
  justify-content: space-between;
  align-items: baseline;
  gap: 1rem;
  padding: 0.75rem 0;
  border-bottom: 1px solid var(--neutral-200);
}
.trust-row:last-child { border-bottom: 0; }
.trust-row-label {
  font-family: var(--font-label);
  font-size: 0.75rem;
  font-weight: 500;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--text-muted);
}
.trust-row-value {
  font-family: var(--font-heading);
  font-weight: 600;
  font-size: 1.0625rem;
  color: var(--text);
  text-align: right;
}
.trust-row-unit {
  font-family: var(--font-body);
  font-weight: 400;
  font-size: 0.875rem;
  color: var(--text-muted);
  margin-left: 0.25rem;
}

/* ===== Buttons ===== */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  border-radius: var(--radius-button);
  padding: 0.75rem 1.375rem;
  font-family: var(--font-body);
  font-size: 0.9375rem;
  font-weight: 600;
  letter-spacing: 0.02em;
  text-decoration: none;
  cursor: pointer;
  border: 1px solid transparent;
  transition: background-color var(--transition-base), border-color var(--transition-base), color var(--transition-base);
  white-space: nowrap;
}
.btn-primary {
  background: var(--accent);
  color: var(--primary);
  border-color: var(--accent);
  box-shadow: inset 0 1px 0 rgba(255,255,255,0.18);
}
.btn-primary:hover { background: var(--accent-hover); border-color: var(--accent-hover); color: var(--primary); }
.btn-secondary {
  background: transparent;
  border: 1.5px solid var(--primary);
  color: var(--primary);
}
.btn-secondary:hover { background: var(--primary-50); border-color: var(--primary); color: var(--primary); }
.btn-tertiary {
  background: transparent;
  border: 0;
  color: var(--primary);
  padding: 0;
  text-decoration: underline;
  text-decoration-thickness: 1.5px;
  text-underline-offset: 4px;
}
.btn-tertiary:hover { color: var(--accent); }
.btn .chev {
  display: inline-block;
  width: 0; height: 0;
  border-top: 4px solid transparent;
  border-bottom: 4px solid transparent;
  border-left: 6px solid currentColor;
  margin-left: 0.25rem;
}

/* ===== Main / content ===== */
main { display: block; }
.section {
  padding: clamp(2rem, 4vw, 3rem) 0;
}
.section + .section { padding-top: 0; }
.section-head {
  margin-bottom: 1.5rem;
}
.section-head .lede {
  color: var(--text-muted);
  font-size: 1.0625rem;
  max-width: 44rem;
  margin: 0;
}

.reading-body p,
.reading-body ul,
.reading-body ol { max-width: var(--reading-width); }
.reading-body h2,
.reading-body h3 { max-width: var(--reading-width); }
.reading-body figure { max-width: var(--reading-width); margin: 1.75rem auto; }

/* Reading chip row (8 MIN READ, UPDATED) */
.reading-chip-row {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  margin-bottom: 1rem;
  font-family: var(--font-label);
  font-size: 0.75rem;
  letter-spacing: 0.05em;
  color: var(--text-muted);
  text-transform: uppercase;
}
.reading-chip-row .dot {
  width: 4px; height: 4px;
  background: var(--accent-alt);
  border-radius: 50%;
}

/* ===== Cards & Grids ===== */
.card-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 1.25rem;
}
@media (min-width: 720px) { .card-grid { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 1024px) { .card-grid { grid-template-columns: repeat(3, 1fr); } }

.card-grid.two-up {
  grid-template-columns: 1fr;
}
@media (min-width: 720px) { .card-grid.two-up { grid-template-columns: repeat(2, 1fr); } }

.card {
  background: var(--surface);
  border: 1px solid var(--neutral-200);
  border-radius: var(--radius-card);
  box-shadow: var(--shadow-card-rest);
  padding: 1.5rem;
  position: relative;
}
.card-link {
  text-decoration: none;
  color: inherit;
  display: block;
  transition: box-shadow var(--transition-card), border-color var(--transition-card);
}
.card-link:hover {
  box-shadow: var(--shadow-card-hover);
  border-color: var(--primary-50);
}
.card .chip {
  display: inline-block;
  font-family: var(--font-label);
  font-size: 0.6875rem;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  background: var(--neutral-200);
  color: var(--text);
  border-radius: 4px;
  padding: 4px 8px;
  margin-bottom: 0.75rem;
}
.card h3 {
  font-size: 1.125rem;
  margin: 0 0 0.5rem;
  font-weight: 600;
}
.card p { margin: 0 0 0.5rem; font-size: 0.9375rem; color: var(--text); }
.card .card-foot {
  margin-top: 1rem;
  padding-top: 0.75rem;
  border-top: 1px solid var(--neutral-200);
  display: flex;
  justify-content: space-between;
  align-items: baseline;
  gap: 0.75rem;
  flex-wrap: wrap;
}
.card .card-foot .mono {
  font-family: var(--font-label);
  font-size: 0.75rem;
  color: var(--text-muted);
  letter-spacing: 0.04em;
}
.card .card-foot .cite {
  font-size: 0.875rem;
  font-weight: 500;
  color: var(--primary);
}
.card .card-foot .cite a:hover { color: var(--accent); }

/* Evidence card (per design.json.components.evidence_card) */
.evidence-card {
  background: var(--surface);
  border: 1px solid var(--neutral-200);
  border-radius: var(--radius-card);
  box-shadow: var(--shadow-card-rest);
  padding: 1.5rem;
  position: relative;
  overflow: hidden;
}
.evidence-card::before {
  content: "";
  position: absolute;
  left: 0; top: 0;
  width: 3px; height: 24px;
  background: var(--accent);
}
.evidence-card .chip { margin-bottom: 0.75rem; }
.evidence-card h3 { font-size: 1.125rem; margin: 0 0 0.5rem; font-weight: 600; }
.evidence-card p { margin: 0 0 0.75rem; font-size: 0.9375rem; }
.evidence-card .card-foot {
  display: flex;
  justify-content: space-between;
  align-items: baseline;
  gap: 0.75rem;
  flex-wrap: wrap;
  margin-top: 1rem;
  padding-top: 0.75rem;
  border-top: 1px solid var(--neutral-200);
}

/* Trust card row (for hero card content reuse) */
.trust-card-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 1.25rem;
}
@media (min-width: 720px) { .trust-card-grid { grid-template-columns: repeat(2, 1fr); } }

/* ===== Callouts ===== */
.callout {
  background: var(--surface);
  border-radius: var(--radius-card);
  border: 1px solid var(--neutral-200);
  border-left: 4px solid var(--accent);
  padding: 1.25rem 1.5rem;
  margin: 1.75rem 0;
}
.callout .callout-eyebrow {
  font-family: var(--font-label);
  font-size: 0.75rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  font-weight: 600;
  color: var(--text-muted);
  margin: 0 0 0.5rem;
}
.callout h3 {
  font-family: var(--font-heading);
  font-size: 1rem;
  font-weight: 600;
  margin: 0 0 0.5rem;
}
.callout p { margin: 0; font-size: 0.9375rem; }
.callout.warning { border-left-color: var(--accent-alt); }
.callout.danger { border-left-color: var(--danger); }
.callout.info { border-left-color: var(--secondary); }

/* ===== Tags ===== */
.tag {
  display: inline-block;
  font-family: var(--font-label);
  font-size: 0.75rem;
  font-weight: 500;
  letter-spacing: 0.04em;
  border: 1px solid var(--neutral-300);
  background: var(--neutral-50);
  color: var(--primary);
  border-radius: var(--radius-pill);
  padding: 2px 8px;
  text-transform: uppercase;
}
.tag.primary { background: var(--primary); border-color: var(--primary); color: var(--neutral-50); }
.tag.accent { background: var(--accent); border-color: var(--accent); color: var(--primary); font-weight: 600; }

/* ===== Tables ===== */
table {
  width: 100%;
  border-collapse: collapse;
  border-top: 1.5px solid var(--primary);
  margin: 1.5rem 0;
  font-size: 0.9375rem;
}
th, td {
  padding: 0.75rem 1rem;
  text-align: left;
  border-bottom: 1px solid var(--neutral-200);
}
th {
  font-family: var(--font-heading);
  font-size: 0.875rem;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--text-muted);
}
td.numeric { font-family: var(--font-label); text-align: right; }

/* ===== References list ===== */
.references-list {
  list-style: none;
  padding: 0;
  margin: 1.5rem 0;
}
.references-list li {
  background: var(--neutral-50);
  border: 1px solid var(--neutral-200);
  border-radius: var(--radius-card);
  padding: 1rem 1.25rem 1rem 3.25rem;
  margin-bottom: 0.75rem;
  position: relative;
  font-size: 0.9375rem;
  line-height: 1.55;
}
.references-list li .ref-number {
  position: absolute;
  left: 1rem; top: 1rem;
  font-family: var(--font-heading);
  font-weight: 700;
  color: var(--primary);
  font-size: 1rem;
}
.references-list li .ref-meta {
  display: block;
  margin-top: 0.5rem;
  font-family: var(--font-label);
  font-size: 0.75rem;
  color: var(--text-muted);
  letter-spacing: 0.03em;
}
.references-list li a { color: var(--primary); text-decoration: underline; text-decoration-thickness: 1px; text-underline-offset: 3px; }
.references-list li a:hover { color: var(--accent); }

/* ===== Inline citation sup ===== */
sup.cite { font-size: 0.7em; vertical-align: super; line-height: 0; }
sup.cite a {
  font-family: var(--font-label);
  font-weight: 600;
  color: var(--primary);
  text-decoration: none;
  border-bottom: 1px dotted var(--primary);
}
sup.cite a:hover { color: var(--accent); border-bottom-color: var(--accent); }

/* ===== Figures ===== */
figure {
  margin: 1.75rem 0;
}
figure img {
  border-radius: var(--radius-card);
  border: 1px solid var(--neutral-200);
  box-shadow: var(--shadow-card-rest);
}
figcaption {
  font-family: var(--font-label);
  font-size: 0.75rem;
  color: var(--text-muted);
  letter-spacing: 0.04em;
  margin-top: 0.5rem;
  text-transform: uppercase;
}

/* ===== Contact form ===== */
.contact-form {
  background: var(--surface);
  border: 1px solid var(--neutral-200);
  border-radius: var(--radius-card);
  box-shadow: var(--shadow-card-rest);
  padding: 1.75rem;
  max-width: 38rem;
}
.contact-form .form-row { margin-bottom: 1rem; }
.contact-form label {
  display: block;
  font-family: var(--font-label);
  font-size: 0.75rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--text-muted);
  font-weight: 600;
  margin-bottom: 0.4rem;
}
.contact-form input,
.contact-form textarea,
.contact-form select {
  width: 100%;
  background: var(--bg);
  border: 1px solid var(--neutral-300);
  border-radius: var(--radius-button);
  padding: 0.625rem 0.875rem;
  font-size: 0.9375rem;
  font-family: var(--font-body);
  color: var(--text);
  transition: border-color var(--transition-base), background-color var(--transition-base);
}
.contact-form input:focus,
.contact-form textarea:focus,
.contact-form select:focus {
  border-color: var(--primary);
  outline: 3px solid var(--accent);
  outline-offset: 2px;
  background: var(--surface);
}
.contact-form textarea { min-height: 8rem; resize: vertical; }

/* ===== Footer ===== */
.site-footer { margin-top: 4rem; }
.footer-top {
  background: var(--primary);
  color: var(--text-on-dark);
  padding: 2.5rem 0 2rem;
}
.footer-cols {
  display: grid;
  grid-template-columns: 1fr;
  gap: 1.75rem;
}
@media (min-width: 720px) { .footer-cols { grid-template-columns: repeat(3, 1fr); } }
.footer-col h4 {
  font-family: var(--font-label);
  font-size: 0.75rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  font-weight: 600;
  color: var(--accent);
  margin: 0 0 0.75rem;
}
.footer-col ul { list-style: none; margin: 0; padding: 0; }
.footer-col li { margin-bottom: 0.5rem; }
.footer-col a {
  color: var(--text-on-dark);
  font-size: 0.9375rem;
  font-weight: 500;
}
.footer-col a:hover { color: var(--accent); }

.footer-mid {
  background: var(--primary-900);
  color: var(--text-on-dark);
  padding: 1.25rem 0;
}
.footer-mid .disclaimer {
  margin: 0;
  font-size: 0.875rem;
  color: var(--text-on-dark);
  opacity: 0.9;
  max-width: 56rem;
}

.footer-bot {
  background: var(--primary-900);
  color: var(--text-on-dark);
  border-top: 1px solid rgba(255,255,255,0.08);
  padding: 1rem 0 1.5rem;
}
.footer-bot .container {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 1rem;
  flex-wrap: wrap;
}
.footer-bot p { margin: 0; font-size: 0.8125rem; opacity: 0.75; }
.footer-bot .orange-dot {
  display: inline-block;
  width: 8px; height: 8px;
  background: var(--accent);
  border-radius: 50%;
}

/* ===== 404 ===== */
.error-wrap {
  min-height: 60vh;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  padding: 4rem var(--container-px);
}
.error-wrap .code {
  font-family: var(--font-heading);
  font-size: clamp(4rem, 12vw, 8rem);
  font-weight: 800;
  letter-spacing: -0.04em;
  color: var(--primary);
  line-height: 1;
  margin-bottom: 0.5rem;
}
.error-wrap h1 { font-size: clamp(1.5rem, 3vw, 2rem); margin-bottom: 1rem; }
.error-wrap p { color: var(--text-muted); margin-bottom: 1.5rem; max-width: 32rem; margin-left: auto; margin-right: auto; }

/* ===== Tippy theme overrides ===== */
.tippy-box[data-theme~='light-border'] {
  background: var(--surface);
  color: var(--text);
  border: 1px solid var(--neutral-300);
  border-radius: 10px;
  box-shadow: 0 8px 24px rgba(17, 24, 39, 0.12);
  font-family: var(--font-body);
  font-size: 0.8125rem;
  line-height: 1.55;
  padding: 0.5rem 0.75rem;
}
.tippy-box[data-theme~='light-border'] .tippy-arrow { color: var(--surface); }
.tippy-box[data-theme~='light-border'] strong {
  font-family: var(--font-label);
  color: var(--primary);
  letter-spacing: 0.04em;
}

/* ===== Misc helpers ===== */
.muted { color: var(--text-muted); }
.center { text-align: center; }
.mb-0 { margin-bottom: 0; }
.mb-1 { margin-bottom: 0.5rem; }
.mt-2 { margin-top: 1rem; }
.mt-3 { margin-top: 1.5rem; }
.divider {
  height: 1.5px;
  background: var(--primary);
  width: 4rem;
  margin: 1.5rem 0;
}
