/* =========================================================
   Importa México — Shared Design System
   Palette: petrol teal (emblem) + emerald secondary + gold accent.
   Red reserved strictly for compliance-risk semantics.
   Type: Archivo superfamily (expanded display / normal body).
   ========================================================= */
:root {
  /* Brand — petrol teal (from the Importa México emblem) */
  --brand:        oklch(0.45 0.055 202);
  --brand-deep:   oklch(0.35 0.050 204);
  --brand-deeper: oklch(0.25 0.038 207);
  --brand-bright: oklch(0.60 0.080 197);
  --brand-tint:   oklch(0.95 0.022 202);

  /* Secondary — emerald (the emblem's swoosh); also reads as compliance / go */
  --green:        oklch(0.54 0.11 158);
  --green-bright: oklch(0.66 0.13 158);
  --green-tint:   oklch(0.95 0.03 158);

  /* Accent — gold (the emblem's crest) */
  --brass:        oklch(0.72 0.105 82);
  --brass-deep:   oklch(0.54 0.088 78);
  --brass-tint:   oklch(0.95 0.04 84);

  /* Semantic risk — ONLY for non-compliance / alerts */
  --risk:         oklch(0.55 0.19 27);
  --risk-tint:    oklch(0.95 0.03 27);

  /* Neutrals (faintly cool, never cream) */
  --ink:          oklch(0.24 0.018 205);
  --ink-soft:     oklch(0.43 0.016 205);
  --ink-faint:    oklch(0.55 0.012 205);
  --bg:           oklch(0.985 0.004 205);
  --surface:      oklch(1 0 0);
  --surface-2:    oklch(0.965 0.007 205);
  --line:         oklch(0.90 0.008 205);
  --line-soft:    oklch(0.94 0.006 205);

  /* Type scale (fluid, ratio ~1.28) */
  --fs-xs:   0.78rem;
  --fs-sm:   0.88rem;
  --fs-base: clamp(1rem, 0.97rem + 0.16vw, 1.075rem);
  --fs-md:   clamp(1.16rem, 1.06rem + 0.5vw, 1.4rem);
  --fs-lg:   clamp(1.45rem, 1.2rem + 1.1vw, 2rem);
  --fs-xl:   clamp(1.95rem, 1.55rem + 1.9vw, 2.9rem);
  --fs-2xl:  clamp(2.5rem, 1.85rem + 3vw, 4.1rem);

  /* Spacing */
  --sp-section: clamp(4rem, 3rem + 5vw, 7.5rem);
  --container: 1180px;
  --radius: 16px;
  --radius-sm: 10px;
  --radius-lg: 26px;

  /* Elevation */
  --sh-sm: 0 1px 2px oklch(0.24 0.02 205 / 0.06), 0 2px 6px oklch(0.24 0.02 205 / 0.05);
  --sh-md: 0 4px 12px oklch(0.24 0.02 205 / 0.07), 0 12px 28px oklch(0.24 0.02 205 / 0.07);
  --sh-lg: 0 10px 24px oklch(0.24 0.02 205 / 0.09), 0 30px 60px oklch(0.24 0.02 205 / 0.11);

  /* Motion */
  --ease-expo: cubic-bezier(0.16, 1, 0.3, 1);
  --ease-quart: cubic-bezier(0.25, 1, 0.5, 1);

  /* z-index scale */
  --z-sticky: 100;
  --z-nav: 200;
  --z-overlay: 300;
}

* { margin: 0; padding: 0; box-sizing: border-box; }

html { scroll-behavior: smooth; }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } }

body {
  font-family: 'Archivo', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
  font-size: var(--fs-base);
  line-height: 1.62;
  color: var(--ink);
  background: var(--bg);
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}

h1, h2, h3, h4 {
  font-weight: 700;
  font-stretch: 118%;
  line-height: 1.08;
  letter-spacing: -0.02em;
  color: var(--ink);
  text-wrap: balance;
}

a { color: inherit; text-decoration: none; }
img, svg { max-width: 100%; display: block; }

::selection { background: var(--brand-bright); color: #fff; }

.container { width: 100%; max-width: var(--container); margin: 0 auto; padding: 0 clamp(1.1rem, 0.5rem + 2vw, 2rem); }
.section { padding-block: var(--sp-section); }
.hidden { display: none !important; }
/* Honeypot: off-screen but not display:none, so bots fill it while humans never see it */
.hp { position: absolute !important; left: -9999px !important; top: auto; width: 1px; height: 1px; overflow: hidden; opacity: 0; }
.turnstile-wrap { margin-top: 1.2rem; min-height: 65px; }

/* ---- Buttons ---- */
.btn {
  display: inline-flex; align-items: center; gap: 0.55rem;
  font-family: inherit; font-size: var(--fs-sm); font-weight: 600;
  font-stretch: 105%;
  padding: 0.85rem 1.5rem; border-radius: 999px; border: 1px solid transparent;
  cursor: pointer; transition: transform 0.25s var(--ease-quart), box-shadow 0.25s var(--ease-quart), background 0.2s;
  line-height: 1; white-space: nowrap;
}
.btn svg { width: 1.05em; height: 1.05em; }
.btn-primary { background: var(--brand); color: #fff; box-shadow: 0 1px 2px oklch(0.35 0.05 204 / 0.3); }
.btn-primary:hover { background: var(--brand-deep); transform: translateY(-2px); box-shadow: var(--sh-md); }
.btn-ghost { background: transparent; color: var(--ink); border-color: var(--line); }
.btn-ghost:hover { border-color: var(--brand); color: var(--brand-deep); transform: translateY(-2px); }
.btn-brass { background: var(--brass); color: oklch(0.28 0.05 78); }
.btn-brass:hover { background: var(--brass-deep); color: #fff; transform: translateY(-2px); box-shadow: var(--sh-md); }
.btn-lg { padding: 1.05rem 1.9rem; font-size: var(--fs-base); }

:focus-visible { outline: 3px solid var(--brand-bright); outline-offset: 3px; border-radius: 4px; }

/* ---- Header ---- */
.site-header {
  position: sticky; top: 0; z-index: var(--z-nav);
  background: oklch(0.985 0.004 205 / 0.82);
  backdrop-filter: saturate(1.4) blur(14px);
  border-bottom: 1px solid transparent;
  transition: border-color 0.3s, box-shadow 0.3s;
}
.site-header.scrolled { border-bottom-color: var(--line); box-shadow: var(--sh-sm); }
.header-inner { display: flex; align-items: center; justify-content: space-between; gap: 1rem; height: 68px; }
.brand-logo { display: inline-flex; align-items: center; gap: 0.6rem; font-stretch: 118%; font-weight: 700; font-size: 1.18rem; letter-spacing: -0.02em; color: var(--ink); }
.brand-logo .mark { width: 34px; height: 34px; flex: none; }
.brand-logo img { height: 40px; width: auto; }
.nav-links { display: none; align-items: center; gap: 1.9rem; }
.nav-links a { font-size: var(--fs-sm); font-weight: 500; color: var(--ink-soft); transition: color 0.2s; position: relative; }
.nav-links a:hover, .nav-links a.active { color: var(--brand-deep); }
.header-actions { display: flex; align-items: center; gap: 0.9rem; }
.lang-switch { display: inline-flex; font-size: var(--fs-xs); font-weight: 600; border: 1px solid var(--line); border-radius: 999px; overflow: hidden; }
.lang-switch a { padding: 0.38rem 0.7rem; color: var(--ink-faint); }
.lang-switch a.active { background: var(--brand); color: #fff; }
.header-cta { display: none; }

/* Mobile nav */
.nav-toggle { display: inline-flex; align-items: center; justify-content: center; width: 42px; height: 42px; border: 1px solid var(--line); border-radius: 10px; background: var(--surface); cursor: pointer; color: var(--ink); }
.nav-toggle svg { width: 22px; height: 22px; }
.nav-toggle .x { display: none; }
.nav-toggle[aria-expanded="true"] .x { display: block; }
.nav-toggle[aria-expanded="true"] .bars { display: none; }
.mobile-nav { display: none; position: fixed; inset: 68px 0 auto 0; z-index: var(--z-nav); background: var(--surface); border-bottom: 1px solid var(--line); box-shadow: var(--sh-md); padding: 0.6rem clamp(1.1rem, 0.5rem + 2vw, 2rem) 1.2rem; }
.mobile-nav.open { display: block; }
.mobile-nav a { display: block; padding: 0.85rem 0.2rem; font-weight: 600; font-size: var(--fs-base); color: var(--ink); border-bottom: 1px solid var(--line-soft); }
.mobile-nav a:last-of-type { border-bottom: none; }
.mobile-nav a.btn { margin-top: 0.9rem; width: 100%; justify-content: center; border-bottom: none; }
.mobile-nav a.btn-primary { color: #fff; }
.mobile-nav a.btn-ghost { color: var(--ink); }

@media (min-width: 940px) {
  .nav-links { display: flex; }
  .header-cta { display: inline-flex; }
  .nav-toggle { display: none; }
  .mobile-nav { display: none !important; }
}

/* ---- Page hero (interior pages) ---- */
.page-hero { position: relative; overflow: hidden; padding-block: clamp(3rem, 2rem + 4vw, 5.5rem) clamp(2rem, 1.5rem + 2vw, 3.5rem); text-align: center; }
.page-hero::before { content: ""; position: absolute; inset: 0; background: radial-gradient(55% 60% at 80% 0%, oklch(0.72 0.105 82 / 0.14), transparent 60%), radial-gradient(55% 60% at 12% 100%, oklch(0.54 0.11 158 / 0.10), transparent 62%); pointer-events: none; }
.page-hero .container { position: relative; z-index: 1; }
.page-hero h1 { font-size: var(--fs-2xl); }
.page-hero h1 .accent { color: var(--brand); }
.page-hero p { font-size: var(--fs-md); color: var(--ink-soft); margin: 1.2rem auto 0; max-width: 56ch; line-height: 1.5; text-wrap: pretty; }
.breadcrumb { display: flex; justify-content: center; gap: 0.4rem; font-size: var(--fs-xs); color: var(--ink-faint); margin-bottom: 1.2rem; }
.breadcrumb a { color: var(--brand-deep); font-weight: 600; }
.breadcrumb span { color: var(--line); }

/* ---- Hero (home) ---- */
.hero { position: relative; overflow: hidden; padding-top: clamp(2.5rem, 1rem + 5vw, 5rem); padding-bottom: clamp(3rem, 2rem + 4vw, 5.5rem); }
.hero::before {
  content: ""; position: absolute; inset: 0; z-index: 0;
  background:
    radial-gradient(60% 55% at 82% 8%, oklch(0.72 0.105 82 / 0.16), transparent 60%),
    radial-gradient(65% 60% at 8% 90%, oklch(0.54 0.11 158 / 0.12), transparent 62%);
  pointer-events: none;
}
.hero-grid { position: relative; z-index: 1; display: grid; gap: clamp(2.5rem, 1rem + 5vw, 4.5rem); grid-template-columns: 1fr; align-items: center; }
@media (min-width: 1000px) { .hero-grid { grid-template-columns: 1.05fr 0.95fr; } }

.eyebrow-pill { display: inline-flex; align-items: center; gap: 0.5rem; font-size: var(--fs-xs); font-weight: 600; color: var(--brand-deep); background: var(--brand-tint); padding: 0.42rem 0.85rem; border-radius: 999px; letter-spacing: 0.01em; }
.eyebrow-pill .dot { width: 7px; height: 7px; border-radius: 50%; background: var(--brand-bright); box-shadow: 0 0 0 4px oklch(0.60 0.080 197 / 0.2); }
.hero h1 { font-size: var(--fs-2xl); margin: 1.4rem 0 0; }
.hero h1 .accent { color: var(--brand); }
.hero .lede { font-size: var(--fs-md); color: var(--ink-soft); margin-top: 1.35rem; max-width: 34ch; line-height: 1.5; text-wrap: pretty; }
.hero-cta { display: flex; flex-wrap: wrap; gap: 0.9rem; margin-top: 2.1rem; }
.hero-trust { display: flex; align-items: center; gap: 0.6rem; margin-top: 1.9rem; font-size: var(--fs-sm); color: var(--ink-faint); }
.hero-trust svg { width: 1.15em; height: 1.15em; color: var(--brand); flex: none; }

/* Hero visual: compliance journey */
.hero-visual { position: relative; }
.journey-card { background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius-lg); box-shadow: var(--sh-lg); padding: clamp(1.2rem, 0.8rem + 1.5vw, 1.9rem); }
.journey-card .jtitle { font-size: var(--fs-sm); font-stretch: 108%; letter-spacing: -0.01em; color: var(--ink-soft); font-weight: 600; display: flex; align-items: center; justify-content: space-between; }
.journey-badge { font-size: 0.68rem; font-weight: 700; color: var(--brand-deep); background: var(--brand-tint); padding: 0.2rem 0.55rem; border-radius: 999px; letter-spacing: 0.02em; }
.journey-svg { width: 100%; height: auto; margin-top: 0.6rem; }
.journey-legend { display: grid; grid-template-columns: repeat(4, 1fr); gap: 0.5rem; margin-top: 0.5rem; }
.journey-legend span { font-size: 0.68rem; font-weight: 600; color: var(--ink-faint); text-align: center; letter-spacing: -0.01em; }

/* ---- Authority bar ---- */
.authority { border-block: 1px solid var(--line); background: var(--surface); }
.authority-inner { display: flex; flex-wrap: wrap; align-items: center; justify-content: center; gap: 0.7rem 1.5rem; padding-block: 1.25rem; text-align: center; }
.authority-lead { font-size: var(--fs-sm); color: var(--ink-soft); font-weight: 500; }
.authority-lead strong { color: var(--ink); font-weight: 700; font-stretch: 110%; }
.footprint { display: flex; flex-wrap: wrap; gap: 0.45rem; justify-content: center; }
.chip { display: inline-flex; align-items: center; gap: 0.35rem; font-size: var(--fs-xs); font-weight: 600; color: var(--ink-soft); background: var(--surface-2); border: 1px solid var(--line-soft); padding: 0.32rem 0.7rem; border-radius: 999px; }
.chip .pin { width: 6px; height: 6px; border-radius: 50%; background: var(--brass); }
.chip.hq .pin { background: var(--brand); }

/* ---- Section heading ---- */
.sec-head { max-width: 62ch; margin-bottom: clamp(2rem, 1.4rem + 1.6vw, 3.2rem); }
.sec-head .kicker { font-size: var(--fs-xs); font-weight: 700; color: var(--brass-deep); letter-spacing: 0.04em; text-transform: uppercase; }
.sec-head h2 { font-size: var(--fs-xl); margin-top: 0.7rem; }
.sec-head p { font-size: var(--fs-md); color: var(--ink-soft); margin-top: 1rem; line-height: 1.5; text-wrap: pretty; }
.sec-head.center { margin-inline: auto; text-align: center; }

/* ---- Reto (risk) section ---- */
.reto { position: relative; overflow: hidden; background: linear-gradient(180deg, var(--surface) 0%, var(--bg) 100%); }
.reto::before { content: ""; position: absolute; inset: 0; z-index: 0; pointer-events: none;
  background-image: url('/assets/img-reto-customs.webp'); background-size: cover; background-position: center 20%;
  opacity: 0.08;
  -webkit-mask-image: linear-gradient(180deg, transparent, #000 26%, #000 66%, transparent);
  mask-image: linear-gradient(180deg, transparent, #000 26%, #000 66%, transparent); }
.reto .container { position: relative; z-index: 1; }
.risk-grid { display: grid; gap: 1rem; grid-template-columns: repeat(auto-fit, minmax(240px, 1fr)); }
.risk-item { background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius); padding: 1.5rem; transition: transform 0.3s var(--ease-quart), box-shadow 0.3s var(--ease-quart), border-color 0.3s; }
.risk-item:hover { transform: translateY(-4px); box-shadow: var(--sh-md); border-color: oklch(0.55 0.19 27 / 0.35); }
.risk-item .ic { width: 44px; height: 44px; display: grid; place-items: center; border-radius: 12px; background: var(--risk-tint); color: var(--risk); margin-bottom: 1rem; }
.risk-item .ic svg { width: 22px; height: 22px; }
.risk-item h3 { font-size: var(--fs-base); font-stretch: 110%; }
.risk-item p { font-size: var(--fs-sm); color: var(--ink-soft); margin-top: 0.5rem; line-height: 1.55; }

/* ---- Solución ---- */
.solucion { background: var(--brand-deeper); color: oklch(0.96 0.01 205); position: relative; overflow: hidden; }
.solucion::before { content: ""; position: absolute; inset: 0; background: radial-gradient(50% 60% at 85% 15%, oklch(0.55 0.09 200 / 0.30), transparent 60%), radial-gradient(45% 55% at 10% 90%, oklch(0.72 0.105 82 / 0.14), transparent 60%); pointer-events: none; }
.solucion .container { position: relative; z-index: 1; }
.solucion .sec-head h2 { color: #fff; }
.solucion .kicker { color: var(--brass); }
.solucion .sec-head p { color: oklch(0.88 0.02 205); }
.sol-grid { display: grid; gap: clamp(2rem, 1rem + 3vw, 3.5rem); grid-template-columns: 1fr; align-items: center; }
@media (min-width: 900px) { .sol-grid { grid-template-columns: 1fr 1.1fr; } }
.sol-features { display: grid; gap: 1.1rem; }
.sol-feat { display: flex; gap: 1rem; align-items: flex-start; }
.sol-feat .ic { flex: none; width: 42px; height: 42px; display: grid; place-items: center; border-radius: 11px; background: oklch(0.60 0.128 158 / 0.18); color: oklch(0.82 0.11 158); border: 1px solid oklch(0.60 0.128 158 / 0.3); }
.sol-feat .ic svg { width: 21px; height: 21px; }
.sol-feat h3 { color: #fff; font-size: var(--fs-base); font-stretch: 110%; }
.sol-feat p { color: oklch(0.85 0.02 205); font-size: var(--fs-sm); margin-top: 0.3rem; line-height: 1.55; }
.sol-note { display: inline-flex; align-items: center; gap: 0.5rem; margin-top: 1.7rem; font-size: var(--fs-sm); font-weight: 600; color: oklch(0.9 0.08 82); }

/* Product mockup */
.product-shot { background: oklch(0.99 0.004 205); border-radius: var(--radius-lg); box-shadow: var(--sh-lg); border: 1px solid oklch(0.60 0.080 197 / 0.25); overflow: hidden; }
.shot-bar { display: flex; align-items: center; gap: 0.4rem; padding: 0.7rem 0.9rem; background: var(--surface-2); border-bottom: 1px solid var(--line); }
.shot-bar .d { width: 10px; height: 10px; border-radius: 50%; background: var(--line); }
.shot-bar .addr { margin-left: 0.6rem; font-size: 0.7rem; color: var(--ink-faint); font-weight: 500; }
.shot-body { padding: 1.1rem; }

/* ---- Herramientas ---- */
.tools-grid { display: grid; gap: 1rem; grid-template-columns: repeat(auto-fit, minmax(250px, 1fr)); }
.tool { position: relative; background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius); padding: 1.6rem; display: flex; flex-direction: column; transition: transform 0.3s var(--ease-quart), box-shadow 0.3s var(--ease-quart); }
.tool:hover { transform: translateY(-4px); box-shadow: var(--sh-md); }
.tool .stage { font-size: 0.72rem; font-weight: 700; color: var(--brass-deep); letter-spacing: 0.03em; text-transform: uppercase; }
.tool h3 { font-size: var(--fs-md); margin-top: 0.55rem; }
.tool p { font-size: var(--fs-sm); color: var(--ink-soft); margin-top: 0.6rem; line-height: 1.55; flex: 1; }
.tool .docs { display: flex; flex-wrap: wrap; gap: 0.35rem; margin-top: 1rem; }
.tool .docs span { font-size: 0.7rem; font-weight: 600; color: var(--ink-soft); background: var(--surface-2); border: 1px solid var(--line-soft); padding: 0.22rem 0.55rem; border-radius: 6px; }

/* ---- Skills (Nova) ---- */
.skills { background: var(--surface); }
.skills-grid { display: grid; gap: 0.9rem; grid-template-columns: repeat(auto-fit, minmax(255px, 1fr)); }
.skill { display: flex; gap: 0.9rem; align-items: flex-start; padding: 1.2rem; border: 1px solid var(--line); border-radius: var(--radius-sm); background: var(--bg); transition: border-color 0.25s, transform 0.25s var(--ease-quart), box-shadow 0.25s; }
.skill:hover { border-color: var(--brand); transform: translateY(-3px); box-shadow: var(--sh-sm); }
.skill .ic { flex: none; width: 40px; height: 40px; border-radius: 10px; display: grid; place-items: center; background: var(--brand-tint); color: var(--brand-deep); }
.skill .ic svg { width: 20px; height: 20px; }
.skill h3 { font-size: 0.98rem; font-stretch: 108%; letter-spacing: -0.01em; }
.skill p { font-size: var(--fs-sm); color: var(--ink-soft); margin-top: 0.25rem; line-height: 1.5; }
.skills-foot { margin-top: 2rem; display: flex; flex-wrap: wrap; align-items: center; gap: 0.9rem; }

/* ---- Nosotros ---- */
.nosotros-grid { display: grid; gap: clamp(2rem, 1rem + 3vw, 4rem); grid-template-columns: 1fr; align-items: center; }
@media (min-width: 920px) { .nosotros-grid { grid-template-columns: 1.1fr 0.9fr; } }
.globe-card { background: var(--brand-deeper); border-radius: var(--radius-lg); padding: clamp(1.5rem, 1rem + 2vw, 2.4rem); color: #fff; box-shadow: var(--sh-lg); }
.globe-card h3 { color: #fff; font-size: var(--fs-md); }
.globe-locations { display: grid; gap: 0.65rem; margin-top: 1.3rem; }
.globe-loc { display: flex; align-items: center; gap: 0.7rem; font-size: var(--fs-sm); color: oklch(0.9 0.02 205); padding-bottom: 0.65rem; border-bottom: 1px solid oklch(0.6 0.05 205 / 0.25); }
.globe-loc:last-child { border-bottom: none; padding-bottom: 0; }
.globe-loc .pin { width: 9px; height: 9px; border-radius: 50%; background: var(--brass); flex: none; }
.globe-loc.hq .pin { background: var(--brand-bright); box-shadow: 0 0 0 4px oklch(0.6 0.08 197 / 0.3); }
.globe-loc .role { margin-left: auto; font-size: 0.72rem; font-weight: 700; color: oklch(0.82 0.11 158); }
.stat-row { display: flex; flex-wrap: wrap; gap: 1.8rem; margin-top: 1.8rem; }
.stat b { display: block; font-size: var(--fs-lg); font-stretch: 118%; color: var(--brand); letter-spacing: -0.02em; }
.stat span { font-size: var(--fs-sm); color: var(--ink-soft); }

/* ---- Cómo funciona ---- */
.como { background: var(--surface); }
.steps { display: grid; gap: 1.2rem; grid-template-columns: repeat(auto-fit, minmax(220px, 1fr)); counter-reset: step; }
.step { position: relative; padding: 1.6rem; border-radius: var(--radius); background: var(--bg); border: 1px solid var(--line); }
.step .n { width: 38px; height: 38px; border-radius: 50%; background: var(--brand); color: #fff; display: grid; place-items: center; font-weight: 700; font-stretch: 110%; font-size: 1.05rem; margin-bottom: 1rem; }
.step h3 { font-size: var(--fs-base); font-stretch: 108%; }
.step p { font-size: var(--fs-sm); color: var(--ink-soft); margin-top: 0.4rem; line-height: 1.55; }

/* ---- Testimonios ---- */
.testi-grid { display: grid; gap: 1rem; grid-template-columns: repeat(auto-fit, minmax(280px, 1fr)); }
.testi { display: flex; flex-direction: column; background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius); padding: 1.7rem; }
.testi .quote-mark { color: var(--brass); font-size: 2.4rem; line-height: 0.6; font-weight: 800; }
.testi blockquote { font-size: var(--fs-base); color: var(--ink); margin-top: 0.6rem; line-height: 1.55; flex: 1; }
.testi .who { display: flex; align-items: center; gap: 0.75rem; margin-top: 1.3rem; }
.testi .who .av { width: 42px; height: 42px; border-radius: 50%; background: var(--brand); color: #fff; display: grid; place-items: center; font-weight: 700; font-stretch: 110%; flex: none; font-size: 0.9rem; }
.testi .who b { font-size: var(--fs-sm); display: block; font-stretch: 108%; }
.testi .who span { font-size: var(--fs-xs); color: var(--ink-faint); }

/* ---- Recursos / blog cards ---- */
.recursos { background: var(--surface); }
.posts { display: grid; gap: 1.1rem; grid-template-columns: repeat(auto-fit, minmax(280px, 1fr)); }
.post { display: flex; flex-direction: column; border: 1px solid var(--line); border-radius: var(--radius); overflow: hidden; background: var(--bg); transition: transform 0.3s var(--ease-quart), box-shadow 0.3s var(--ease-quart); }
.post:hover { transform: translateY(-4px); box-shadow: var(--sh-md); }
.post .thumb { aspect-ratio: 16 / 9; position: relative; overflow: hidden; }
.post .thumb svg { width: 100%; height: 100%; }
.post .body { padding: 1.3rem; display: flex; flex-direction: column; flex: 1; }
.post .tag { font-size: 0.7rem; font-weight: 700; color: var(--brass-deep); text-transform: uppercase; letter-spacing: 0.03em; }
.post h3 { font-size: var(--fs-base); font-stretch: 106%; margin-top: 0.5rem; line-height: 1.25; }
.post p { font-size: var(--fs-sm); color: var(--ink-soft); margin-top: 0.55rem; line-height: 1.5; flex: 1; }
.post .more { margin-top: 1rem; font-size: var(--fs-sm); font-weight: 600; color: var(--brand-deep); display: inline-flex; align-items: center; gap: 0.35rem; }
.post:hover .more { gap: 0.6rem; }
.post .meta { font-size: var(--fs-xs); color: var(--ink-faint); margin-top: 0.6rem; }

/* ---- FAQ ---- */
.faq-list { max-width: 800px; margin-inline: auto; display: grid; gap: 0.75rem; }
.faq-item { border: 1px solid var(--line); border-radius: var(--radius-sm); background: var(--surface); overflow: hidden; }
.faq-item summary { cursor: pointer; list-style: none; padding: 1.25rem 1.4rem; font-weight: 600; font-stretch: 106%; font-size: var(--fs-base); display: flex; align-items: center; justify-content: space-between; gap: 1rem; }
.faq-item summary::-webkit-details-marker { display: none; }
.faq-item summary .plus { flex: none; width: 22px; height: 22px; position: relative; transition: transform 0.3s var(--ease-quart); color: var(--brand); }
.faq-item[open] summary .plus { transform: rotate(45deg); }
.faq-item .answer { padding: 0 1.4rem 1.4rem; color: var(--ink-soft); font-size: var(--fs-sm); line-height: 1.6; }

/* ---- CTA final ---- */
.cta-final { background: linear-gradient(135deg, var(--brand-deep), var(--brand-deeper)); color: #fff; position: relative; overflow: hidden; }
.cta-final::before { content: ""; position: absolute; inset: 0; background: radial-gradient(50% 80% at 80% 20%, oklch(0.72 0.105 82 / 0.2), transparent 60%); }
.cta-final .container { position: relative; z-index: 1; text-align: center; }
.cta-final h2 { color: #fff; font-size: var(--fs-xl); }
.cta-final p { color: oklch(0.9 0.02 205); font-size: var(--fs-md); margin: 1rem auto 0; max-width: 48ch; }
.cta-final .hero-cta { justify-content: center; }

/* ---- Pricing / Empieza gratis ---- */
.pricing { background: var(--bg); }
.aud-grid { display: grid; gap: 1.2rem; grid-template-columns: 1fr; }
@media (min-width: 800px) { .aud-grid { grid-template-columns: 1.15fr 1fr; } }
.aud-card { position: relative; border-radius: var(--radius-lg); padding: clamp(1.6rem, 1.2rem + 1.5vw, 2.4rem); border: 1px solid var(--line); background: var(--surface); display: flex; flex-direction: column; }
.aud-card.featured { background: var(--brand-deeper); border-color: transparent; color: #fff; box-shadow: var(--sh-lg); overflow: hidden; }
.aud-card.featured::before { content: ""; position: absolute; inset: 0; background: radial-gradient(60% 70% at 88% 10%, oklch(0.72 0.105 82 / 0.2), transparent 60%); pointer-events: none; }
.aud-card > * { position: relative; z-index: 1; }
.aud-tag { display: inline-flex; align-items: center; gap: 0.4rem; align-self: flex-start; font-size: var(--fs-xs); font-weight: 700; letter-spacing: 0.02em; padding: 0.35rem 0.75rem; border-radius: 999px; }
.aud-card.featured .aud-tag { background: oklch(0.72 0.105 82); color: oklch(0.28 0.05 78); }
.aud-card:not(.featured) .aud-tag { background: var(--brand-tint); color: var(--brand-deep); }
.aud-card h3 { font-size: var(--fs-lg); margin-top: 1rem; }
.aud-card.featured h3 { color: #fff; }
.aud-price { display: flex; align-items: baseline; gap: 0.5rem; margin-top: 0.8rem; }
.aud-price b { font-size: clamp(2.4rem, 1.8rem + 2.5vw, 3.4rem); font-stretch: 118%; letter-spacing: -0.03em; line-height: 1; }
.aud-card.featured .aud-price b { color: #fff; }
.aud-price span { font-size: var(--fs-sm); color: var(--ink-faint); }
.aud-card.featured .aud-price span { color: oklch(0.85 0.03 200); }
.aud-card > p.sub { font-size: var(--fs-sm); margin-top: 0.6rem; color: var(--ink-soft); }
.aud-card.featured > p.sub { color: oklch(0.88 0.02 200); }
.aud-list { list-style: none; margin-top: 1.4rem; display: grid; gap: 0.7rem; flex: 1; }
.aud-list li { display: flex; gap: 0.6rem; align-items: flex-start; font-size: var(--fs-sm); line-height: 1.45; }
.aud-list svg { flex: none; width: 18px; height: 18px; margin-top: 2px; color: var(--green-bright); }
.aud-card:not(.featured) .aud-list svg { color: var(--brand); }
.aud-card .btn { margin-top: 1.6rem; justify-content: center; width: 100%; }
.aud-foot { font-size: var(--fs-xs); margin-top: 0.9rem; text-align: center; }
.aud-card.featured .aud-foot { color: oklch(0.8 0.02 200); }
.aud-card:not(.featured) .aud-foot { color: var(--ink-faint); }

/* Perks strip */
.perks { display: grid; gap: 1rem; grid-template-columns: repeat(auto-fit, minmax(210px, 1fr)); margin-top: 1.6rem; }
.perk { display: flex; gap: 0.85rem; align-items: flex-start; padding: 1.2rem; border: 1px solid var(--line); border-radius: var(--radius); background: var(--surface); }
.perk .ic { flex: none; width: 40px; height: 40px; border-radius: 10px; display: grid; place-items: center; background: var(--brass-tint); color: var(--brass-deep); }
.perk .ic svg { width: 21px; height: 21px; }
.perk b { display: block; font-size: 0.95rem; font-stretch: 108%; }
.perk span { display: block; font-size: var(--fs-sm); color: var(--ink-soft); margin-top: 0.2rem; line-height: 1.45; }

/* App download badges */
.app-cta { margin-top: 2rem; display: flex; flex-wrap: wrap; align-items: center; gap: 0.9rem; }
.app-cta .label { font-size: var(--fs-sm); font-weight: 600; color: var(--ink-soft); }
.app-badges { display: flex; flex-wrap: wrap; gap: 0.7rem; }
.app-badge { display: inline-flex; align-items: center; gap: 0.6rem; padding: 0.6rem 1.05rem; border-radius: 12px; background: var(--ink); color: #fff; transition: transform 0.25s var(--ease-quart), box-shadow 0.25s; }
.app-badge:hover { transform: translateY(-2px); box-shadow: var(--sh-md); }
.app-badge svg { width: 22px; height: 22px; flex: none; }
.app-badge .t { display: flex; flex-direction: column; line-height: 1.1; }
.app-badge .t small { font-size: 0.62rem; opacity: 0.8; }
.app-badge .t b { font-size: 0.9rem; font-stretch: 106%; }
.app-badge.apk { background: var(--surface); color: var(--ink); border: 1px solid var(--line); }

/* ---- Provider plan tables (proveedores page) ---- */
.plan-grid { display: grid; gap: 1.1rem; grid-template-columns: repeat(auto-fit, minmax(230px, 1fr)); align-items: start; }
.plan { position: relative; background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius); padding: 1.7rem 1.5rem; display: flex; flex-direction: column; }
.plan.pop { border-color: var(--brand); box-shadow: var(--sh-md); }
.plan .pop-tag { position: absolute; top: -0.7rem; left: 1.5rem; font-size: 0.66rem; font-weight: 700; letter-spacing: 0.04em; text-transform: uppercase; background: var(--brand); color: #fff; padding: 0.25rem 0.6rem; border-radius: 999px; }
.plan .name { font-size: var(--fs-md); font-stretch: 110%; font-weight: 700; }
.plan .price { display: flex; align-items: baseline; gap: 0.35rem; margin-top: 0.8rem; }
.plan .price b { font-size: clamp(2rem, 1.6rem + 1.6vw, 2.6rem); font-stretch: 116%; letter-spacing: -0.03em; line-height: 1; color: var(--ink); }
.plan .price small { font-size: var(--fs-sm); color: var(--ink-faint); font-weight: 500; }
.plan .mxn { font-size: var(--fs-xs); color: var(--ink-faint); margin-top: 0.3rem; }
.plan .users { font-size: var(--fs-sm); color: var(--brand-deep); font-weight: 600; margin-top: 0.9rem; padding-top: 0.9rem; border-top: 1px solid var(--line-soft); }
.plan ul { list-style: none; margin-top: 0.9rem; display: grid; gap: 0.55rem; flex: 1; }
.plan ul li { display: flex; gap: 0.55rem; align-items: flex-start; font-size: var(--fs-sm); color: var(--ink-soft); line-height: 1.4; }
.plan ul svg { flex: none; width: 17px; height: 17px; margin-top: 2px; color: var(--brand); }
.plan .btn { margin-top: 1.4rem; width: 100%; justify-content: center; }

/* Credit packs */
.packs-wrap { margin-top: 1.4rem; }
.packs-label { font-size: var(--fs-sm); font-weight: 700; color: var(--ink); margin-bottom: 0.8rem; display: flex; align-items: center; gap: 0.5rem; }
.packs-label span { font-weight: 500; color: var(--ink-faint); font-size: var(--fs-xs); }
.packs { display: grid; gap: 0.9rem; grid-template-columns: repeat(auto-fit, minmax(200px, 1fr)); }
.pack { background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius-sm); padding: 1.3rem; }
.pack .pk-name { font-size: var(--fs-sm); font-weight: 700; color: var(--brand-deep); text-transform: uppercase; letter-spacing: 0.03em; }
.pack .pk-cr { font-size: var(--fs-lg); font-stretch: 116%; letter-spacing: -0.02em; margin-top: 0.35rem; }
.pack .pk-cr small { font-size: var(--fs-sm); color: var(--ink-faint); font-weight: 500; letter-spacing: 0; }
.pack .pk-price { margin-top: 0.6rem; font-size: var(--fs-base); font-weight: 700; }
.pack .pk-price span { color: var(--ink-faint); font-weight: 500; font-size: var(--fs-xs); }
.pack .pk-unit { font-size: var(--fs-xs); color: var(--ink-faint); margin-top: 0.25rem; }

/* Credit cost guide */
.cost-guide { border: 1px solid var(--line); border-radius: var(--radius); overflow: hidden; background: var(--surface); }
.cost-row { display: grid; grid-template-columns: auto 1fr auto; gap: 0.8rem 1rem; align-items: center; padding: 0.95rem 1.3rem; border-bottom: 1px solid var(--line-soft); }
.cost-row:last-child { border-bottom: none; }
.cost-row .cls { font-weight: 700; font-stretch: 106%; font-size: var(--fs-sm); }
.cost-row .ex { font-size: var(--fs-sm); color: var(--ink-soft); }
.cost-row .cr { font-weight: 700; color: var(--brand-deep); background: var(--brand-tint); padding: 0.3rem 0.7rem; border-radius: 999px; font-size: var(--fs-xs); white-space: nowrap; }
@media (max-width: 560px) { .cost-row { grid-template-columns: 1fr auto; } .cost-row .ex { grid-column: 1 / -1; } }

/* ---- Footer ---- */
.site-footer { background: var(--brand-deeper); color: oklch(0.85 0.02 205); padding-block: clamp(3rem, 2rem + 3vw, 4.5rem) 2rem; }
.footer-grid { display: grid; gap: 2.2rem; grid-template-columns: 1fr; }
@media (min-width: 720px) { .footer-grid { grid-template-columns: 1.6fr 1fr 1fr; } }
.footer-brand .brand-logo { color: #fff; margin-bottom: 1rem; }
.footer-brand p { font-size: var(--fs-sm); color: oklch(0.8 0.02 205); max-width: 42ch; line-height: 1.6; }
.footer-brand .org { margin-top: 1rem; font-size: var(--fs-xs); color: oklch(0.72 0.02 205); }
.footer-col h3 { color: #fff; font-size: var(--fs-sm); font-stretch: 110%; margin-bottom: 1rem; }
.footer-col a, .footer-col span { display: block; font-size: var(--fs-sm); color: oklch(0.82 0.02 205); padding-block: 0.35rem; transition: color 0.2s; }
.footer-col a:hover { color: var(--brass); }
.footer-bottom { display: flex; flex-wrap: wrap; gap: 0.8rem; justify-content: space-between; align-items: center; margin-top: 2.6rem; padding-top: 1.6rem; border-top: 1px solid oklch(0.55 0.05 205 / 0.3); font-size: var(--fs-xs); color: oklch(0.72 0.02 205); }
.footer-bottom a { color: oklch(0.8 0.02 205); }
.footer-bottom a:hover { color: var(--brass); }

/* ---- Forms (registro / analiza) ---- */
.form-card { max-width: 560px; margin: 0 auto; background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius-lg); box-shadow: var(--sh-md); padding: clamp(1.5rem, 1rem + 2vw, 2.6rem); }
.form-wide { max-width: 720px; }
.form-step { display: none; }
.form-step.active { display: block; animation: fadeUp 0.4s var(--ease-expo); }
@keyframes fadeUp { from { opacity: 0; transform: translateY(10px); } to { opacity: 1; transform: none; } }
@media (prefers-reduced-motion: reduce) { .form-step.active { animation: none; } }
.steps-indicator { display: flex; align-items: center; justify-content: center; gap: 0.5rem; margin-bottom: 1.8rem; }
.steps-indicator .dot { width: 9px; height: 9px; border-radius: 50%; background: var(--line); transition: background 0.3s; }
.steps-indicator .dot.active { background: var(--brand); width: 26px; border-radius: 999px; }
.steps-indicator .dot.done { background: var(--green-bright); }
.form-group { margin-bottom: 1.2rem; }
.form-group > label { display: block; font-size: var(--fs-sm); font-weight: 600; color: var(--ink); margin-bottom: 0.45rem; }
.form-group .req { color: var(--risk); }
.form-group .hint { display: block; font-size: var(--fs-xs); color: var(--ink-faint); margin-top: 0.35rem; }
.input, .form-group input, .form-group select {
  width: 100%; font-family: inherit; font-size: var(--fs-base); color: var(--ink);
  padding: 0.8rem 1rem; border: 1px solid var(--line); border-radius: var(--radius-sm);
  background: var(--surface); transition: border-color 0.2s, box-shadow 0.2s;
}
.form-group input:focus, .form-group select:focus { outline: none; border-color: var(--brand); box-shadow: 0 0 0 3px oklch(0.60 0.080 197 / 0.18); }
.form-group input:disabled { background: var(--surface-2); color: var(--ink-faint); }
.form-row { display: flex; gap: 0.8rem; }
.form-row .grow { flex: 1; }
.check-row { display: flex; align-items: flex-start; gap: 0.6rem; font-size: var(--fs-sm); color: var(--ink-soft); }
.check-row input { width: auto; margin-top: 3px; }
.form-actions { display: flex; gap: 0.8rem; margin-top: 0.5rem; }
.form-actions .btn { flex: 1; justify-content: center; }
.notice { border-radius: var(--radius-sm); padding: 1.2rem 1.3rem; margin-top: 1.4rem; font-size: var(--fs-sm); line-height: 1.55; }
.notice h4 { font-size: var(--fs-base); font-stretch: 106%; margin-bottom: 0.4rem; }
.notice.info { background: var(--brand-tint); color: var(--brand-deep); }
.notice.warn { background: var(--brass-tint); color: var(--brass-deep); }
.notice.ok { background: var(--green-tint); color: oklch(0.34 0.08 158); }
.notice .btn { margin-top: 0.9rem; }
.success-mark { width: 76px; height: 76px; border-radius: 50%; background: var(--green-tint); color: var(--green-bright); display: grid; place-items: center; margin: 0 auto 1.3rem; }
.success-mark svg { width: 40px; height: 40px; }
.form-intro { text-align: center; margin-bottom: 1.6rem; }
.form-intro h2 { font-size: var(--fs-lg); }
.form-intro p { font-size: var(--fs-sm); color: var(--ink-soft); margin-top: 0.5rem; }
.audience-pick { display: grid; gap: 0.7rem; grid-template-columns: 1fr; margin-bottom: 0.5rem; }
.aud-opt { position: relative; display: flex; gap: 0.8rem; align-items: center; padding: 1rem 3rem 1rem 1.1rem; border: 1.5px solid var(--line); border-radius: var(--radius-sm); cursor: pointer; transition: border-color 0.2s, background 0.2s, box-shadow 0.2s; background: var(--surface); text-align: left; font: inherit; }
.aud-opt:hover { border-color: var(--brand-bright); background: var(--brand-tint); }
.aud-opt::after { content: ""; position: absolute; right: 1.1rem; top: 50%; transform: translateY(-50%); width: 20px; height: 20px; border-radius: 50%; border: 2px solid var(--line); transition: border-color 0.2s, background 0.2s, box-shadow 0.2s; }
.aud-opt[aria-pressed="true"] { border-color: var(--brand); background: var(--brand-tint); box-shadow: 0 0 0 3px oklch(0.60 0.080 197 / 0.18); }
.aud-opt[aria-pressed="true"]::after { border-color: var(--brand); background: var(--brand); box-shadow: inset 0 0 0 3px var(--surface); }
.aud-opt[aria-pressed="true"] .ic { background: var(--brand); color: #fff; }
.aud-opt .ic { flex: none; width: 38px; height: 38px; border-radius: 9px; background: var(--brand-tint); color: var(--brand-deep); display: grid; place-items: center; }
.aud-opt .ic svg { width: 20px; height: 20px; }
.aud-opt b { display: block; font-size: var(--fs-base); font-stretch: 106%; }
.aud-opt span { font-size: var(--fs-sm); color: var(--ink-faint); }

/* ---- Upload / analysis (analiza) ---- */
.stage-grid { display: grid; gap: 0.9rem; grid-template-columns: repeat(auto-fit, minmax(240px, 1fr)); }
.stage-opt { text-align: left; font: inherit; cursor: pointer; background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius); padding: 1.4rem; transition: transform 0.25s var(--ease-quart), box-shadow 0.25s, border-color 0.25s; display: flex; flex-direction: column; }
.stage-opt:hover { transform: translateY(-3px); box-shadow: var(--sh-md); border-color: var(--brand); }
.stage-opt .st-num { font-size: 0.72rem; font-weight: 700; color: var(--brass-deep); letter-spacing: 0.03em; text-transform: uppercase; }
.stage-opt h3 { font-size: var(--fs-md); margin-top: 0.45rem; }
.stage-opt p { font-size: var(--fs-sm); color: var(--ink-soft); margin-top: 0.4rem; flex: 1; }
.stage-opt .conf { margin-top: 0.9rem; font-size: var(--fs-xs); font-weight: 600; color: var(--brand-deep); background: var(--brand-tint); padding: 0.28rem 0.6rem; border-radius: 999px; align-self: flex-start; }
.dropzone { border: 2px dashed var(--line); border-radius: var(--radius); padding: 2.2rem 1.5rem; text-align: center; cursor: pointer; transition: border-color 0.2s, background 0.2s; background: var(--surface); }
.dropzone:hover, .dropzone.dragover { border-color: var(--brand); background: var(--brand-tint); }
.dropzone svg { width: 40px; height: 40px; color: var(--brand); margin: 0 auto 0.8rem; }
.dropzone b { display: block; font-stretch: 106%; }
.dropzone span { font-size: var(--fs-sm); color: var(--ink-faint); }
.doc-chips { display: flex; flex-wrap: wrap; gap: 0.4rem; margin: 0.9rem 0; }
.doc-chips .chip.crit { border-color: oklch(0.55 0.19 27 / 0.4); color: var(--risk); }
.file-row { display: flex; align-items: center; gap: 0.7rem; padding: 0.7rem 0.9rem; border: 1px solid var(--line); border-radius: var(--radius-sm); margin-top: 0.5rem; font-size: var(--fs-sm); }
.file-row .fx { flex: none; color: var(--brand); }
.file-row .fname { flex: 1; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.file-row .fsize { color: var(--ink-faint); font-size: var(--fs-xs); }
.file-row .frm { cursor: pointer; color: var(--ink-faint); border: none; background: none; padding: 0.2rem; }
.file-row .frm:hover { color: var(--risk); }
.analysis-result { margin-top: 1.6rem; }
.analysis-result .res-head { display: flex; gap: 0.9rem; align-items: center; margin-bottom: 1.2rem; }
.analysis-result .res-head .ic { flex: none; width: 46px; height: 46px; border-radius: 50%; background: var(--green-tint); color: var(--green-bright); display: grid; place-items: center; }
.analysis-result pre { white-space: pre-wrap; word-break: break-word; font-family: inherit; font-size: var(--fs-sm); line-height: 1.6; color: var(--ink-soft); background: var(--surface-2); border: 1px solid var(--line); border-radius: var(--radius-sm); padding: 1.2rem; }

/* ---- Imagery (subtle teal treatment for brand cohesion) ---- */
.imgwrap { position: relative; overflow: hidden; border-radius: var(--radius); background: var(--brand-deeper); }
.imgwrap > img { width: 100%; height: 100%; object-fit: cover; display: block; }
.imgwrap::after { content: ""; position: absolute; inset: 0; pointer-events: none; mix-blend-mode: multiply;
  background: linear-gradient(160deg, oklch(0.45 0.055 202 / 0.14), oklch(0.25 0.038 207 / 0.30)); }

/* Blog/recursos thumbnails as photos */
.post .thumb img { width: 100%; height: 100%; object-fit: cover; display: block; }
.post .thumb::after { content: ""; position: absolute; inset: 0; pointer-events: none; mix-blend-mode: multiply;
  background: linear-gradient(180deg, oklch(0.45 0.055 202 / 0.08), oklch(0.25 0.038 207 / 0.24)); }

/* Article / legal hero image */
.article-hero { margin: 1.5rem 0 0; aspect-ratio: 21 / 9; box-shadow: var(--sh-md); }
@media (max-width: 640px) { .article-hero { aspect-ratio: 16 / 9; } }

/* Nosotros globe-card with photo background */
.globe-card.has-photo { position: relative; overflow: hidden; }
.globe-card.has-photo .gc-bg { position: absolute; inset: 0; z-index: 0; }
.globe-card.has-photo .gc-bg img { width: 100%; height: 100%; object-fit: cover; }
.globe-card.has-photo .gc-bg::after { content: ""; position: absolute; inset: 0;
  background: linear-gradient(155deg, oklch(0.25 0.038 207 / 0.80), oklch(0.20 0.03 207 / 0.93)); }
.globe-card.has-photo > * { position: relative; z-index: 1; }

/* ---- Article / long-form prose (blog) ---- */
.article { max-width: 720px; margin: 0 auto; padding-block: clamp(2.5rem, 2rem + 2vw, 4rem); }
.article .breadcrumb { justify-content: flex-start; margin-bottom: 1.4rem; }
.article h1 { font-size: var(--fs-xl); }
.article .byline { display: flex; flex-wrap: wrap; gap: 0.5rem 1rem; margin-top: 1.1rem; font-size: var(--fs-sm); color: var(--ink-faint); }
.article .byline .tag { color: var(--brass-deep); font-weight: 700; text-transform: uppercase; letter-spacing: 0.03em; font-size: var(--fs-xs); }
.prose { margin-top: 2rem; font-family: 'Source Serif 4', Georgia, 'Times New Roman', serif; }
.prose > * + * { margin-top: 1.1rem; }
.prose p { font-size: 1.14rem; line-height: 1.75; color: oklch(0.30 0.016 205); }
.prose h2, .prose h3 { font-family: 'Archivo', sans-serif; }
.prose h2 { font-size: var(--fs-lg); margin-top: 2.4rem; }
.prose h3 { font-size: var(--fs-md); margin-top: 1.8rem; }
.prose ul, .prose ol { padding-left: 1.3rem; display: grid; gap: 0.5rem; }
.prose li { font-size: var(--fs-base); line-height: 1.6; color: oklch(0.32 0.016 205); }
.prose strong { color: var(--ink); }
.prose a { color: var(--brand-deep); text-decoration: underline; text-underline-offset: 2px; }
.callout { background: var(--brand-tint); border-radius: var(--radius); padding: 1.4rem 1.6rem; margin-top: 2rem; }
.callout b { display: block; font-stretch: 108%; margin-bottom: 0.4rem; color: var(--brand-deep); }
.callout p { font-size: var(--fs-sm); color: var(--ink-soft); line-height: 1.6; }
.article-cta { margin-top: 2.6rem; padding: 1.8rem; border-radius: var(--radius-lg); background: var(--brand-deeper); color: #fff; text-align: center; }
.article-cta h3 { color: #fff; font-size: var(--fs-md); }
.article-cta p { color: oklch(0.86 0.02 205); font-size: var(--fs-sm); margin: 0.6rem auto 1.2rem; max-width: 44ch; }
.article-disclaimer { margin-top: 2rem; font-size: var(--fs-xs); color: var(--ink-faint); line-height: 1.6; }

/* ---- Reveal motion (progressive enhancement) ----
   Content is visible by default. The hidden state applies ONLY once JS has
   confirmed observer support (html.js-motion) and only to not-yet-revealed
   elements, so no-JS and headless renderers always show content. */
[data-reveal] { transition: opacity 0.7s var(--ease-expo), transform 0.7s var(--ease-expo); }
.js-motion [data-reveal]:not(.in) { opacity: 0; transform: translateY(22px); }
@media (prefers-reduced-motion: reduce) {
  .js-motion [data-reveal]:not(.in) { opacity: 1; transform: none; }
  * { animation-duration: 0.001ms !important; animation-iteration-count: 1 !important; }
}

/* Journey animation */
.route-path { stroke-dasharray: 6 6; animation: dash 2.4s linear infinite; }
.route-dot { animation: travel 5s var(--ease-quart) infinite; }
@keyframes dash { to { stroke-dashoffset: -24; } }
@keyframes travel { 0% { offset-distance: 0%; } 45% { offset-distance: 62%; } 55% { offset-distance: 62%; } 100% { offset-distance: 100%; } }
.node-pulse { transform-origin: center; animation: pulse 3s ease-in-out infinite; }
@keyframes pulse { 0%,100% { opacity: 0.35; r: 4; } 50% { opacity: 0.9; r: 6; } }
@media (prefers-reduced-motion: reduce) { .route-path, .route-dot, .node-pulse { animation: none; } .route-dot { offset-distance: 100%; } }

.skip-link { position: absolute; left: -999px; top: 0; background: var(--brand); color: #fff; padding: 0.6rem 1rem; z-index: var(--z-overlay); border-radius: 0 0 8px 0; }
.skip-link:focus { left: 0; }
