/* ==========================================================================
   MMINT Brand landing
   Tokens follow the MMINT brand manual 2026 (dark base, product gradient as accent).
   Same system as the MMINT Retail and Calc landings, in Brand's colours:
     blue  = listings inside the brand's price list
     pink  = a deviation (a seller out of the list, who gets an email)
   The Brand red-to-magenta gradient is reserved for primary actions.
   Shared with gracias.html (.hero, .simple, .display, .eyebrow, .btn...).
   ========================================================================== */

/* ---------- Self-hosted fonts (latin subset, same as Google Fonts' latin block) ----------
   One static file per width/weight actually used, so the hero only waits on ~14 KB files.
   Archivo widths: 100 (step numbers), 110 (legacy h2), 112 (brand, h2, card titles), 115 (figures), 125 (display). */
@font-face { font-family: "Archivo"; font-style: normal; font-weight: 800; font-stretch: 100%; font-display: swap; src: url(/landing/fonts/archivo-w100-800.woff2) format("woff2"); unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD; }
@font-face { font-family: "Archivo"; font-style: normal; font-weight: 700; font-stretch: 110%; font-display: swap; src: url(/landing/fonts/archivo-w110-700.woff2) format("woff2"); unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD; }
@font-face { font-family: "Archivo"; font-style: normal; font-weight: 700; font-stretch: 112%; font-display: swap; src: url(/landing/fonts/archivo-w112-700.woff2) format("woff2"); unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD; }
@font-face { font-family: "Archivo"; font-style: normal; font-weight: 800; font-stretch: 112%; font-display: swap; src: url(/landing/fonts/archivo-w112-800.woff2) format("woff2"); unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD; }
@font-face { font-family: "Archivo"; font-style: normal; font-weight: 800; font-stretch: 115%; font-display: swap; src: url(/landing/fonts/archivo-w115-800.woff2) format("woff2"); unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD; }
@font-face { font-family: "Archivo"; font-style: normal; font-weight: 800; font-stretch: 125%; font-display: swap; src: url(/landing/fonts/archivo-w125-800.woff2) format("woff2"); unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD; }
@font-face { font-family: "Archivo"; font-style: normal; font-weight: 900; font-stretch: 125%; font-display: swap; src: url(/landing/fonts/archivo-w125-900.woff2) format("woff2"); unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD; }
@font-face { font-family: "DM Sans"; font-style: normal; font-weight: 400; font-display: swap; src: url(/landing/fonts/dmsans-400.woff2) format("woff2"); unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD; }
@font-face { font-family: "DM Sans"; font-style: normal; font-weight: 700; font-display: swap; src: url(/landing/fonts/dmsans-700.woff2) format("woff2"); unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD; }
/* Fredoka ships as one small variable file covering both weights in use */
@font-face { font-family: "Fredoka"; font-style: normal; font-weight: 500 600; font-stretch: 100%; font-display: swap; src: url(/landing/fonts/fredoka-500-600.woff2) format("woff2"); unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD; }

:root {
  color-scheme: dark;

  /* Surfaces */
  --bg: #0f0c17;
  --bg-deep: #0a0811;
  --surface: #17131f;
  --surface-2: #1e1929;
  --line: rgba(255, 255, 255, 0.09);
  --line-strong: rgba(255, 255, 255, 0.18);

  /* Text */
  --text: #ffffff;
  --text-muted: #c3bdd1;
  --text-dim: #9a93aa;

  /* Brand masters */
  --brand-pink: #ff3dcb;
  --brand-blue: #219bff;
  --brand-violet: #5500a1;

  /* Meaning on this page */
  --ok: #219bff;              /* inside the price list */
  --ok-text: #6cbcff;         /* blue lifted for small text on the dark base */
  --off: #ff3dcb;             /* deviation */
  --off-text: #ff8fe0;

  /* Product: Brand (manual 2026: #c0003f, #ba028b, #ff3dcb) */
  --product-a: #c0003f;
  --product-b: #ba028b;
  --product-c: #ff3dcb;
  /* Buttons stop at #ba028b so white labels stay above AA; #ff3dcb under white text is <3:1. */
  --gradient: linear-gradient(120deg, var(--product-a) 0%, var(--product-b) 100%);
  /* #c0003f is too dark for text on the dark base (~3:1). Text uses a lifted rose into the master pink. */
  --accent: #ff3dcb;
  --accent-soft: #ff8fb8;
  --gradient-text: linear-gradient(90deg, #ff5c8a 0%, #ff3dcb 100%);
  --glow: rgba(192, 0, 63, 0.45);
  --focus: #ff7ad9;
  --soft: #e3a9c6;            /* second line of the hero title */

  /* Type */
  --font-display: "Archivo", "Arial Black", system-ui, sans-serif;
  --font-button: "Fredoka", "DM Sans", system-ui, sans-serif;
  --font-body: "DM Sans", system-ui, -apple-system, "Segoe UI", sans-serif;

  /* Layout */
  --container: 1200px;
  --gutter: 20px;
  --radius: 20px;
  --radius-sm: 12px;
  --header-h: 64px;
  --ease-out: cubic-bezier(0.22, 1, 0.36, 1);
}

/* ---------- Reset ---------- */
*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; scroll-padding-top: calc(var(--header-h) + 16px); }
body {
  margin: 0;
  background: var(--bg);
  color: var(--text);
  font-family: var(--font-body);
  font-size: 1rem;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}
img { max-width: 100%; height: auto; display: block; }
h1, h2, h3, p, ul, ol, dl, dd, figure { margin: 0; }
ul, ol { padding: 0; list-style: none; }
a { color: inherit; }
button, input, textarea, output { font: inherit; color: inherit; }

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

.visually-hidden {
  position: absolute !important; width: 1px; height: 1px; padding: 0; margin: -1px;
  overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0;
}

.skip-link {
  position: absolute; left: 12px; top: -60px; z-index: 100;
  background: var(--text); color: var(--bg); padding: 10px 16px; border-radius: 10px;
  font-weight: 700; text-decoration: none;
}
.skip-link:focus { top: 12px; }

.container { width: 100%; max-width: var(--container); margin: 0 auto; padding: 0 var(--gutter); }
.container--narrow { max-width: 820px; }

/* ---------- Type ---------- */
.display {
  font-family: var(--font-display);
  font-weight: 800;
  font-stretch: 125%;
  font-variation-settings: "wdth" 125;
  text-transform: uppercase;
  line-height: 1.02;
  letter-spacing: -0.01em;
  font-size: clamp(2rem, 7.4vw, 4.6rem);
}
.display--md { font-size: clamp(1.75rem, 5.4vw, 3.1rem); }
.display__line { display: block; text-wrap: balance; }

.text-gradient {
  background: var(--gradient-text);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}

.h2 {
  font-family: var(--font-display);
  font-weight: 800;
  font-stretch: 112%;
  font-variation-settings: "wdth" 112;
  font-size: clamp(1.75rem, 4.6vw, 2.875rem);
  line-height: 1.06;
  letter-spacing: -0.03em;
  max-width: 22ch;
  text-wrap: balance;
  margin-bottom: 40px;
}

/* Kept for gracias.html / ingresar.html */
.eyebrow {
  font-family: var(--font-body);
  font-size: 0.8125rem;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--accent);
  margin-bottom: 14px;
}
.lead { font-size: clamp(1.0625rem, 2.2vw, 1.25rem); color: var(--text-muted); max-width: 50ch; }

/* ---------- Buttons ---------- */
.btn {
  --btn-h: 52px;
  display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  min-height: var(--btn-h);
  padding: 0 calc(var(--btn-h) * 0.62);
  border-radius: 999px;
  font-family: var(--font-button);
  font-weight: 600;
  font-size: 1.1875rem; /* 19px/600 = large text for contrast purposes */
  line-height: 1;
  text-decoration: none;
  white-space: nowrap;
  cursor: pointer;
  border: 1.5px solid transparent;
  touch-action: manipulation;
  transition: transform 180ms var(--ease-out), box-shadow 200ms ease, background-color 200ms ease, border-color 200ms ease;
}
.btn:active { transform: scale(0.97); }
.btn--primary {
  background: var(--gradient);
  color: #fff;
  box-shadow: 0 10px 30px -10px var(--glow), inset 0 1px 0 rgba(255, 255, 255, 0.18);
}
.btn--primary:hover { box-shadow: 0 14px 40px -8px var(--glow), inset 0 1px 0 rgba(255, 255, 255, 0.25); transform: translateY(-1px); }
.btn--ghost {
  background: rgba(255, 255, 255, 0.02);
  border-color: var(--line-strong);
  color: var(--text);
}
.btn--ghost:hover { border-color: rgba(255, 255, 255, 0.45); background: rgba(255, 255, 255, 0.06); }
.btn--sm { --btn-h: 44px; font-size: 1rem; font-weight: 500; padding: 0 20px; }
.btn--block { width: 100%; }

.cta-row { display: flex; flex-wrap: wrap; align-items: center; gap: 12px 20px; margin-top: 32px; }

.text-link {
  display: inline-flex; align-items: center; min-height: 52px; padding: 0 4px;
  font-family: var(--font-button); font-weight: 600; font-size: 1.125rem;
  color: var(--text); text-decoration: underline; text-decoration-color: rgba(255, 61, 203, 0.7);
  text-underline-offset: 6px; text-decoration-thickness: 2px;
}
.text-link:hover { text-decoration-color: var(--accent); }

/* ---------- Header ---------- */
.site-header {
  position: sticky; top: 0; z-index: 50;
  background: rgba(15, 12, 23, 0.8);
  -webkit-backdrop-filter: saturate(140%) blur(14px);
  backdrop-filter: saturate(140%) blur(14px);
  border-bottom: 1px solid var(--line);
}
.site-header__inner { display: flex; align-items: center; gap: 20px; height: var(--header-h); }
.brand { display: inline-flex; align-items: center; gap: 10px; text-decoration: none; min-height: 44px; margin-right: auto; }
.brand img { width: auto; height: 32px; }
.brand__name { white-space: nowrap; font-family: var(--font-display); font-weight: 700; font-stretch: 112%; font-variation-settings: "wdth" 112; font-size: 1.0625rem; letter-spacing: 0.02em; text-transform: uppercase; }
.brand__name strong { font-weight: 800; color: var(--accent); }
.site-nav { display: none; }
.site-nav ul { display: flex; gap: 4px; }
.site-nav a {
  display: inline-flex; align-items: center; min-height: 44px; padding: 0 12px;
  color: var(--text-muted); text-decoration: none; font-size: 0.9375rem; border-radius: 10px;
  transition: color 150ms ease;
}
.site-nav a:hover { color: var(--text); }
.site-header__actions { display: flex; align-items: center; gap: 8px; }
.site-header__actions .btn--sm { padding: 0 16px; }
.only-wide { display: none; }
.only-narrow { display: inline; }

/* ---------- Sections ---------- */
.section { padding: 80px 0; position: relative; }
.section--alt { background: var(--bg-deep); border-block: 1px solid var(--line); }

/* ---------- Hero ---------- */
.hero { position: relative; padding: 48px 0 64px; overflow: hidden; isolation: isolate; }
.hero__glow {
  position: absolute; z-index: -1; pointer-events: none;
  width: 720px; height: 720px; right: -260px; top: -160px;
  background: radial-gradient(circle at 45% 45%, rgba(192, 0, 63, 0.4), rgba(186, 2, 139, 0.2) 45%, transparent 70%);
  filter: blur(40px);
}
.hero .lead { margin-top: 24px; }

/* Promise on top, the real product below it, framed like an app window */
.hero--product { padding: 56px 0 72px; text-align: center; }
.hero--product::before { /* faint grid behind the copy, fading out */
  content: ""; position: absolute; z-index: -2; left: 0; right: 0; top: 0; height: 720px;
  background-image:
    linear-gradient(rgba(255, 255, 255, 0.035) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255, 255, 255, 0.035) 1px, transparent 1px);
  background-size: 56px 56px; background-position: center top;
  -webkit-mask-image: radial-gradient(ellipse 60% 70% at 50% 25%, #000 10%, transparent 75%);
  mask-image: radial-gradient(ellipse 60% 70% at 50% 25%, #000 10%, transparent 75%);
}
.hero--product .hero__glow {
  left: 50%; right: auto; top: 420px; width: 1200px; height: 760px; margin-left: -600px;
  background: radial-gradient(closest-side, rgba(192, 0, 63, 0.45), rgba(186, 2, 139, 0.2) 55%, transparent 100%);
  filter: blur(20px);
}
.hero__intro { display: grid; justify-items: center; }
.hero__title {
  font-family: var(--font-display); font-weight: 800; font-stretch: 112%; font-variation-settings: "wdth" 112;
  font-size: clamp(2.25rem, 5.4vw, 4rem); line-height: 1.04; letter-spacing: -0.03em;
}
.hero__line { display: block; text-wrap: balance; }
.hero__line--soft { color: var(--soft); }
.hero__lead { margin-top: 24px; max-width: 54ch; }
.hero__ctas { justify-content: center; margin-top: 32px; }
.btn--play svg { flex: none; }
.hero__proof { display: flex; flex-wrap: wrap; justify-content: center; gap: 8px 28px; margin-top: 28px; font-size: 0.9375rem; color: var(--text-muted); }
.hero__proof li { position: relative; padding-left: 16px; }
.hero__proof li::before { content: ""; position: absolute; left: 0; top: 0.58em; width: 7px; height: 7px; border-radius: 50%; background: var(--ok); }
.hero__proof li:first-child::before { background: var(--off); }
.hero__proof strong { color: var(--text); }

.product { position: relative; margin: 64px auto 0; max-width: var(--shot-max, none); perspective: 2200px; text-align: left; }
.product__window {
  position: relative; border-radius: 16px; overflow: hidden; background: #0d0c12;
  border: 1px solid rgba(255, 255, 255, 0.14);
  box-shadow: 0 0 0 1px rgba(0, 0, 0, 0.6), 0 60px 120px -50px rgba(0, 0, 0, 0.95), 0 0 120px -30px rgba(192, 0, 63, 0.5);
  transform-origin: 50% 0;
}
.product__window::after { /* bottom of the shot dissolves into the page */
  content: ""; position: absolute; left: 0; right: 0; bottom: 0; height: 26%;
  background: linear-gradient(180deg, rgba(15, 12, 23, 0), var(--bg)); pointer-events: none;
}
.product__bar { display: flex; align-items: center; gap: 7px; height: 36px; padding: 0 14px; background: #15121c; border-bottom: 1px solid rgba(255, 255, 255, 0.07); }
.product__bar i { width: 10px; height: 10px; border-radius: 50%; background: rgba(255, 255, 255, 0.14); }
.product__bar span { margin: 0 auto; transform: translateX(-30px); padding: 3px 16px; border-radius: 6px; background: rgba(255, 255, 255, 0.05); font-size: 0.75rem; color: var(--text-dim); }
.product__shot { display: block; width: 100%; height: auto; }

.product__chip {
  position: absolute; z-index: 2; display: grid; gap: 4px; padding: 16px 20px; border-radius: 16px;
  background: rgba(24, 19, 33, 0.84); border: 1px solid rgba(255, 255, 255, 0.14);
  -webkit-backdrop-filter: blur(14px) saturate(140%); backdrop-filter: blur(14px) saturate(140%);
  box-shadow: 0 30px 60px -24px rgba(0, 0, 0, 0.95);
}
.chip__label { font-size: 0.8125rem; color: var(--text-muted); }
.chip__value {
  font-family: var(--font-display); font-weight: 800; font-stretch: 115%; font-variation-settings: "wdth" 115;
  font-size: clamp(1.75rem, 3vw, 2.5rem); line-height: 1; color: var(--off); font-variant-numeric: tabular-nums;
}
.chip__value--sm { font-size: clamp(1.375rem, 2.2vw, 1.75rem); color: var(--text); }
.chip__note { font-size: 0.8125rem; color: var(--text-dim); }
.chip__note b { color: var(--ok-text); }
.chip__dots { display: flex; align-items: flex-end; gap: 5px; height: 26px; margin: 4px 0 2px; }
.chip__dots i { width: 9px; height: 9px; border-radius: 50%; background: var(--ok); }
.chip__dots i:nth-child(3n+1) { transform: translateY(-14px); }
.chip__dots i:nth-child(3n+2) { transform: translateY(-6px); }
.chip__dots i:nth-child(n+5):nth-child(-n+7) { box-shadow: 0 0 0 2px rgba(33, 155, 255, 0.25); }
.product__chip--a { left: -32px; top: 52%; border-color: rgba(255, 61, 203, 0.5); box-shadow: 0 30px 60px -24px rgba(0, 0, 0, 0.95), 0 0 50px -12px rgba(255, 61, 203, 0.55); }
.product__chip--b { right: -28px; top: 44%; border-color: rgba(108, 188, 255, 0.45); }
.product__chip--c { right: -20px; top: 74%; border-color: rgba(255, 255, 255, 0.28); }

/* ---------- Try it: the tolerance check as a hands-on example ---------- */
.try { border-top: 1px solid var(--line); }
.try__grid { display: grid; gap: 40px; align-items: center; }
.try__copy .h2 { margin-bottom: 20px; }
.try__note { margin-top: 18px; font-size: 0.875rem; color: var(--text-dim); max-width: 46ch; }

/* ---------- Signature: tolerance check on one product ----------
   Each dot is one listing, placed by how far its price is from the list price (-20 % to +20 %).
   The band is the tolerance; dots outside it turn pink: those sellers get an email. */
.tol {
  position: relative; width: 100%; max-width: 540px; justify-self: center;
  padding: 22px 18px 20px; border-radius: var(--radius);
  background: linear-gradient(180deg, rgba(34, 22, 36, 0.94), rgba(22, 15, 24, 0.97));
  border: 1px solid var(--line-strong);
  box-shadow: 0 40px 90px -40px rgba(0, 0, 0, 0.9), 0 0 0 1px rgba(192, 0, 63, 0.14);
  font-variant-numeric: tabular-nums;
}
.tol__title {
  font-family: var(--font-display); font-weight: 800; font-stretch: 112%; font-variation-settings: "wdth" 112;
  font-size: 1.125rem; letter-spacing: -0.01em; line-height: 1.2;
}
.tol__meta { color: var(--text-dim); font-size: 0.875rem; margin-top: 4px; }

.tol__plot { position: relative; height: 150px; margin-top: 22px; }
.tol__band {
  position: absolute; top: 0; bottom: 30px; border-radius: 6px;
  left: calc(50% - var(--tol) * 2.5%); width: calc(var(--tol) * 5%);
  background: linear-gradient(180deg, rgba(33, 155, 255, 0.2), rgba(33, 155, 255, 0.05));
  border-inline: 1px solid rgba(108, 188, 255, 0.55);
  transition: left 160ms var(--ease-out), width 160ms var(--ease-out);
}
.tol__band b {
  position: absolute; top: 8px; left: 50%; transform: translateX(-50%); white-space: nowrap;
  font-size: 0.75rem; font-weight: 700; color: var(--ok-text);
}
.tol__list { position: absolute; left: 50%; top: 0; bottom: 30px; width: 2px; margin-left: -1px; background: rgba(255, 255, 255, 0.8); }
.tol__dots { position: absolute; left: 0; right: 0; top: 40px; height: 72px; }
.tol__dots i {
  position: absolute; left: calc(var(--x) * 1%); top: calc(var(--y) * 20px);
  width: 12px; height: 12px; margin-left: -6px; border-radius: 50%;
  background: var(--ok); box-shadow: 0 0 0 2px rgba(15, 12, 23, 0.9);
  transition: background-color 160ms ease, box-shadow 160ms ease;
}
.tol__dots i.is-off { background: var(--off); box-shadow: 0 0 0 2px rgba(15, 12, 23, 0.9), 0 0 14px rgba(255, 61, 203, 0.6); }
.tol__axis {
  position: absolute; left: 0; right: 0; bottom: 0; height: 30px; border-top: 1px solid var(--line-strong);
  display: flex; justify-content: space-between; align-items: end; font-size: 0.75rem; color: var(--text-dim);
}
.tol__axis span:nth-child(2) { color: var(--text); font-weight: 700; }

.tol__control { margin-top: 16px; }
.tol__row { display: flex; align-items: baseline; justify-content: space-between; gap: 12px; font-size: 0.9375rem; color: var(--text-muted); }
.tol__row output {
  font-family: var(--font-display); font-weight: 800; font-stretch: 115%; font-variation-settings: "wdth" 115;
  font-size: 1.5rem; line-height: 1; color: var(--text);
}
.tol__range {
  --thumb: 22px; --fill: 21%;
  display: block; width: 100%; height: 32px; margin: 6px 0 0; cursor: pointer;
  -webkit-appearance: none; appearance: none; background: transparent; touch-action: pan-y;
}
.tol__range:focus-visible { outline: none; }
.tol__range::-webkit-slider-runnable-track { height: 6px; border-radius: 6px; background: linear-gradient(90deg, var(--product-b) var(--fill), rgba(255, 255, 255, 0.12) var(--fill)); }
.tol__range::-moz-range-track { height: 6px; border-radius: 6px; background: rgba(255, 255, 255, 0.12); }
.tol__range::-moz-range-progress { height: 6px; border-radius: 6px; background: var(--product-b); }
.tol__range::-webkit-slider-thumb {
  -webkit-appearance: none; appearance: none; width: var(--thumb); height: var(--thumb); margin-top: -8px; border-radius: 50%;
  background: #fff; border: 5px solid var(--product-a); box-shadow: 0 4px 14px rgba(0, 0, 0, 0.6);
}
.tol__range::-moz-range-thumb { width: var(--thumb); height: var(--thumb); box-sizing: border-box; border-radius: 50%; background: #fff; border: 5px solid var(--product-a); }
.tol__range:focus-visible::-webkit-slider-thumb { box-shadow: 0 0 0 4px var(--focus); }
.tol__range:focus-visible::-moz-range-thumb { box-shadow: 0 0 0 4px var(--focus); }

.tol__counts { display: grid; grid-template-columns: repeat(3, 1fr); gap: 8px; margin-top: 14px; }
.tol__counts div { display: grid; gap: 2px; padding: 10px 12px; border-radius: var(--radius-sm); background: rgba(255, 255, 255, 0.04); border: 1px solid var(--line); }
.tol__counts dt { font-size: 0.75rem; line-height: 1.3; color: var(--text-dim); }
.tol__counts dd {
  font-family: var(--font-display); font-weight: 800; font-stretch: 115%; font-variation-settings: "wdth" 115;
  font-size: 1.5rem; line-height: 1;
}
.tol__counts .is-ok dd { color: var(--ok-text); }
.tol__counts .is-off dd { color: var(--off); }
.tol__mail { display: flex; align-items: flex-start; gap: 10px; margin-top: 14px; font-size: 0.9375rem; line-height: 1.45; min-height: 2.9em; }
.tol__mail svg { flex: none; width: 20px; height: 20px; margin-top: 1px; fill: none; stroke: var(--off); stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; }

/* ---------- Audience ---------- */
.audience-strip { border-block: 1px solid var(--line); background: var(--bg-deep); }
.audience-strip__inner { display: grid; gap: 14px; padding-block: 28px; }
.audience-strip__title { font-size: 0.9375rem; font-weight: 700; color: var(--text-dim); }
.audience { display: grid; gap: 14px; }
.audience li { color: var(--text-muted); font-size: 0.9375rem; line-height: 1.5; }
.audience strong { color: var(--text); }

/* ---------- Problem ---------- */
.problem__head { display: grid; gap: 22px; margin-bottom: 56px; }
.problem .display--md {
  max-width: 14ch; text-transform: none; font-stretch: 112%; font-variation-settings: "wdth" 112;
  font-size: clamp(2rem, 5.4vw, 3.5rem); letter-spacing: -0.03em; line-height: 1.02;
}

.tracks { display: grid; gap: 40px; }
.track__title { font-size: 1rem; font-weight: 700; margin-bottom: 18px; }
.track--blind .track__title { color: var(--text-dim); }

/* Mobile: vertical timeline. Each step is a node on the line; the pink node is when you learn your margin. */
.track__steps { position: relative; display: grid; gap: 18px; }
.track__steps::before {
  content: ""; position: absolute; left: 6px; top: 8px; bottom: 8px; width: 0;
  border-left: 2px solid var(--line-strong);
}
.track--blind .track__steps::before { border-left-style: dashed; }
.track__steps li { position: relative; padding-left: 32px; color: var(--text-muted); line-height: 1.4; }
.track__steps li::before {
  content: ""; position: absolute; left: 0; top: 3px; width: 14px; height: 14px; border-radius: 50%;
  background: var(--bg); border: 2px solid var(--text-dim);
}
.track__steps li.is-margin { color: var(--text); font-weight: 700; }
.track__steps li.is-margin::before {
  background: var(--off); border-color: var(--off);
  box-shadow: 0 0 0 5px rgba(255, 61, 203, 0.18);
}
.track--mmint .track__steps::before { border-left-color: rgba(255, 61, 203, 0.55); }

/* ---------- Features ---------- */
.features { display: grid; }
.feature { padding: 28px 0; border-top: 1px solid var(--line); }
.feature__glyph { display: block; width: 120px; height: 48px; margin-bottom: 22px; overflow: visible; }
.feature h3 {
  font-family: var(--font-display); font-weight: 800; font-stretch: 112%; font-variation-settings: "wdth" 112;
  text-transform: uppercase; font-size: 1.0625rem; letter-spacing: 0.01em; line-height: 1.25; margin-bottom: 8px;
}
.feature p { color: var(--text-muted); font-size: 0.9375rem; }
.g-axis { stroke: var(--line-strong); stroke-width: 1; fill: none; }
.g-ok { fill: var(--ok); }
.g-off { fill: var(--off); }
.g-off-line { stroke: var(--off); stroke-width: 2; fill: none; }
.g-off-ring { fill: none; stroke: rgba(255, 61, 203, 0.45); stroke-width: 1.5; stroke-dasharray: 3 3; }
.g-trend { stroke: rgba(33, 155, 255, 0.5); stroke-width: 1.5; fill: none; }
.g-band { fill: rgba(33, 155, 255, 0.12); stroke: rgba(108, 188, 255, 0.45); stroke-width: 1; }
.g-list { stroke: rgba(255, 255, 255, 0.7); stroke-width: 1.5; fill: none; }
.g-mail { fill: none; stroke: var(--off); stroke-width: 2; stroke-linejoin: round; }

/* Also included: a quiet line under the four capabilities */
.extras { display: flex; flex-wrap: wrap; gap: 10px 28px; margin-top: 32px; color: var(--text-muted); font-size: 0.9375rem; }
.extras li { position: relative; padding-left: 16px; }
.extras li::before { content: ""; position: absolute; left: 0; top: 0.6em; width: 7px; height: 7px; border-radius: 2px; background: var(--accent-soft); }
.extras strong { color: var(--text); }

/* ---------- Steps (a real sequence) ---------- */
.steps { position: relative; display: grid; gap: 32px; }
.steps::before {
  content: ""; position: absolute; left: 7px; top: 10px; bottom: 10px; width: 2px;
  background: linear-gradient(180deg, var(--ok), var(--off));
  opacity: 0.6;
}
.step { position: relative; padding-left: 44px; }
.step::before {
  content: ""; position: absolute; left: 0; top: 4px; width: 16px; height: 16px; border-radius: 50%;
  background: var(--bg-deep); border: 2px solid var(--ok);
}
.step--result::before { background: var(--off); border-color: var(--off); box-shadow: 0 0 0 6px rgba(255, 61, 203, 0.18); }
.step__num {
  display: block; margin-bottom: 10px;
  font-family: var(--font-display); font-weight: 800; font-stretch: 100%; font-variation-settings: "wdth" 100;
  font-size: 2.5rem; line-height: 1; color: rgba(255, 255, 255, 0.22);
}
.step--result .step__num { color: var(--off); }
.step h3 { font-size: 1.125rem; font-weight: 700; margin-bottom: 4px; }
.step p { color: var(--text-muted); font-size: 0.9375rem; max-width: 26ch; }

/* ---------- Walkthrough video: the steps are its chapters ---------- */
.walkthrough { display: grid; gap: 36px; }
.demo { margin: 0; }
.demo__video {
  display: block; width: 100%; height: auto; aspect-ratio: 16 / 10;
  border-radius: var(--radius); background: #17082c;
  border: 1px solid var(--line-strong);
  box-shadow: 0 40px 90px -40px rgba(0, 0, 0, 0.9), 0 0 0 1px rgba(192, 0, 63, 0.12);
}
.demo__caption { margin-top: 12px; font-size: 0.875rem; color: var(--text-dim); }

/* Each step title is a button that jumps the video to that part; its ::after covers the whole step */
.step__seek {
  appearance: none; background: none; border: 0; padding: 0; margin: 0;
  font: inherit; color: inherit; text-align: left; cursor: pointer;
}
.step__seek::after { content: ""; position: absolute; inset: -10px; border-radius: 14px; }
.step__seek:focus-visible { outline: none; }
.step__seek:focus-visible::after { outline: 3px solid var(--focus); outline-offset: 0; }
.step:hover h3 { color: #ffd6f4; }

/* While the video plays, the step on screen lights up and the rest step back */
.steps.has-active .step { transition: opacity 300ms ease; }
.steps.has-active .step:not(.is-active) { opacity: 0.5; }
.steps.has-active .step--result:not(.is-active)::before { background: var(--bg-deep); border-color: var(--ok); box-shadow: none; }
.steps.has-active .step--result:not(.is-active) .step__num { color: rgba(255, 255, 255, 0.22); }
.step.is-active::before { background: var(--off); border-color: var(--off); box-shadow: 0 0 0 6px rgba(255, 61, 203, 0.18); }
.step.is-active .step__num { color: var(--off); }

/* ---------- Proof: metric + differentiators ---------- */
.proof__grid { display: grid; gap: 56px; }
.proof__metric { position: relative; isolation: isolate; padding-block: 12px; }
.proof__metric::before { /* a field of listings behind the number */
  content: ""; position: absolute; z-index: -1; inset: -40px -20px;
  background-image: radial-gradient(circle, rgba(33, 155, 255, 0.5) 1.4px, transparent 1.8px);
  background-size: 16px 16px;
  -webkit-mask-image: radial-gradient(ellipse 60% 55% at 35% 50%, #000 0%, transparent 75%);
  mask-image: radial-gradient(ellipse 60% 55% at 35% 50%, #000 0%, transparent 75%);
  opacity: 0.55;
}
.metric { display: grid; gap: 12px; }
.metric__value {
  font-family: var(--font-display); font-weight: 900; font-stretch: 125%; font-variation-settings: "wdth" 125;
  font-size: clamp(3.25rem, 15vw, 7rem); line-height: 0.9; letter-spacing: -0.02em; font-variant-numeric: tabular-nums;
}
.metric__label { font-size: clamp(1.125rem, 2.4vw, 1.375rem); font-weight: 700; }
.metric__caption { margin-top: 14px; font-size: 0.8125rem; color: var(--text-dim); }
.metric__more { display: grid; grid-template-columns: 1fr 1fr; gap: 20px; margin-top: 28px; }
.metric--small { gap: 8px; }
.metric--small .metric__value { font-size: clamp(1.875rem, 5vw, 2.75rem); color: var(--soft); }
.metric--small .metric__label { font-size: 0.9375rem; font-weight: 400; color: var(--text-muted); }

.proof__list .h2 { margin-bottom: 24px; }
.bullets { display: grid; }
.bullets li {
  padding: 16px 0; border-top: 1px solid var(--line);
  color: var(--text-muted); font-size: 1.0625rem; line-height: 1.5;
}
.bullets li:last-child { border-bottom: 1px solid var(--line); }
.bullets strong { color: var(--text); }

/* ---------- Contact form ---------- */
.contact {
  background:
    radial-gradient(60% 50% at 85% 20%, rgba(192, 0, 63, 0.22), transparent 70%),
    var(--bg-deep);
  border-top: 1px solid var(--line);
  padding-bottom: 112px;
}
.contact__grid { display: grid; gap: 40px; }
.contact__intro .h2 { margin-bottom: 20px; }
.promises { display: grid; gap: 10px; margin-top: 28px; }
.promises li { position: relative; padding-left: 22px; font-weight: 700; }
.promises li::before {
  content: ""; position: absolute; left: 0; top: 0.5em; width: 9px; height: 9px; border-radius: 50%; background: var(--ok);
}
.contact__alt { margin-top: 24px; color: var(--text-muted); }
.contact__alt a, .form__status a, .form__privacy a, .faq a, .faq-section__alt a { color: #ffa3e6; }

.form {
  display: grid; gap: 18px; padding: 24px 20px; border-radius: var(--radius);
  background: var(--surface); border: 1px solid var(--line-strong);
  box-shadow: 0 40px 80px -40px rgba(192, 0, 63, 0.55);
  position: relative;
}
.field { display: grid; gap: 6px; align-content: start; }
.field label { font-weight: 700; font-size: 0.9375rem; }
.req { color: var(--accent); }
.field input, .field textarea {
  width: 100%; min-height: 50px; padding: 12px 14px; border-radius: 12px;
  background: var(--bg); border: 1.5px solid var(--line-strong); color: var(--text);
  font-size: 1rem; line-height: 1.4;
  transition: border-color 150ms ease, box-shadow 150ms ease;
}
.field textarea { resize: vertical; min-height: 110px; }
.field input:hover, .field textarea:hover { border-color: rgba(255, 255, 255, 0.32); }
.field input:focus-visible, .field textarea:focus-visible {
  outline: none; border-color: var(--accent-soft); box-shadow: 0 0 0 3px rgba(197, 139, 255, 0.4); border-radius: 12px;
}
.field input[aria-invalid="true"], .field textarea[aria-invalid="true"] { border-color: #ff8a8a; }
.field__error { color: #ffb0b0; font-size: 0.875rem; font-weight: 700; }
.field__hint { font-size: 0.8125rem; color: var(--text-dim); }
.form__foot { display: grid; gap: 14px; }
.form__required { font-size: 0.8125rem; color: var(--text-dim); }
.form__status {
  padding: 12px 14px; border-radius: 12px; font-weight: 700; font-size: 0.9375rem;
  background: rgba(255, 90, 90, 0.1); border: 1px solid rgba(255, 138, 138, 0.5); color: #ffd0d0;
}
.form__privacy { font-size: 0.8125rem; color: var(--text-dim); }
.form button[disabled] { opacity: 0.6; cursor: progress; transform: none; }
[hidden] { display: none !important; }

.hp { position: absolute !important; left: -10000px; top: auto; width: 1px; height: 1px; overflow: hidden; }

/* ---------- FAQ ---------- */
.faq-section__grid { display: grid; gap: 8px; }
.faq-section__intro .h2 { margin-bottom: 16px; }
.faq-section__alt { color: var(--text-muted); margin-bottom: 24px; }
.faq { border-top: 1px solid var(--line-strong); }
.faq details { border-bottom: 1px solid var(--line-strong); }
.faq summary {
  list-style: none; cursor: pointer; min-height: 64px; padding: 16px 48px 16px 0;
  display: flex; align-items: center; position: relative; font-weight: 700; font-size: 1.0625rem;
  transition: color 150ms ease;
}
.faq summary:hover { color: #ffd6f4; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::before, .faq summary::after { /* plus that turns into minus */
  content: ""; position: absolute; right: 8px; top: 50%; width: 14px; height: 2px; margin-top: -1px;
  background: var(--text-muted); border-radius: 2px;
  transition: transform 220ms var(--ease-out);
}
.faq summary::after { transform: rotate(90deg); }
.faq details[open] summary::after { transform: rotate(0deg); }
.faq details p { padding: 0 48px 22px 0; color: var(--text-muted); max-width: 60ch; }

/* ---------- Footer ---------- */
.site-footer { border-top: 1px solid var(--line); background: var(--bg-deep); padding: 36px 0 44px; }
.site-footer__inner { display: grid; gap: 24px; }
.site-footer__brand { display: flex; align-items: center; gap: 16px; color: var(--text-dim); font-size: 0.875rem; }
.site-footer__brand img { width: 40px; height: auto; }
.site-footer__links { display: flex; flex-wrap: wrap; gap: 4px 8px; }
.site-footer__links a {
  display: inline-flex; align-items: center; min-height: 44px; padding: 0 8px;
  color: var(--text-muted); text-decoration: none; font-size: 0.9375rem;
}
.site-footer__links a:hover { color: var(--text); text-decoration: underline; }

/* ---------- WhatsApp floating button ---------- */
.wa-fab {
  position: fixed; z-index: 40;
  right: max(16px, env(safe-area-inset-right)); bottom: max(16px, env(safe-area-inset-bottom));
  width: 52px; height: 52px; border-radius: 50%;
  display: grid; place-items: center;
  background: #1a7f45; color: #fff; /* darker WhatsApp green keeps the white glyph at AA contrast */
  box-shadow: 0 10px 28px -8px rgba(0, 0, 0, 0.7);
  transition: transform 200ms var(--ease-out), opacity 200ms ease, visibility 200ms;
}
.wa-fab:hover { transform: scale(1.06); }
/* Hidden while the contact form is on screen so it never covers the submit button */
.wa-fab.is-hidden { opacity: 0; visibility: hidden; transform: translateY(12px) scale(0.9); pointer-events: none; }
.has-fab .site-footer { padding-bottom: 100px; } /* room so the floating button never covers footer links */

/* ---------- Simple pages (gracias / ingresar) ---------- */
.simple { min-height: calc(100dvh - var(--header-h) - 180px); display: grid; align-items: center; padding: 72px 0; }
.simple .display { max-width: 16ch; }
.simple .lead { margin-top: 18px; }
.simple .cta-row { margin-top: 28px; }

/* ---------- Entrance motion: one orchestrated moment in the hero ----------
   Copy rises, the app window tilts into place, then its key figures land on it. */
@media (prefers-reduced-motion: no-preference) {
  .reveal { animation: rise 700ms var(--ease-out) both; }
  .reveal--late { animation-delay: 140ms; }
  /* Hero: the app window tilts up into place, then its key figures land on it */
  .product__window { animation: tilt-in 1100ms var(--ease-out) 250ms both; }
  .product__chip { animation: chip-in 600ms var(--ease-out) both; }
  .product__chip--a { animation-delay: 1000ms; }
  .product__chip--b { animation-delay: 1150ms; }
  .product__chip--c { animation-delay: 1300ms; }
  /* The tolerance check plays when it scrolls into view (landing.js toggles .is-waiting) */
  .tol__dots i { animation: pop 420ms var(--ease-out) calc(300ms + var(--i) * 30ms) both; }
  .tol__band { animation: fade 600ms ease 200ms both; }
  .tol.is-waiting .tol__dots i, .tol.is-waiting .tol__band { animation-play-state: paused; }
}
@keyframes rise { from { opacity: 0; transform: translateY(18px); } to { opacity: 1; transform: none; } }
@keyframes tilt-in { from { opacity: 0; transform: rotateX(24deg) translateY(70px) scale(0.94); } to { opacity: 1; transform: none; } }
@keyframes chip-in { from { opacity: 0; transform: translateY(16px) scale(0.96); } to { opacity: 1; transform: none; } }
@keyframes fade { from { opacity: 0; } to { opacity: 1; } }
@keyframes grow { from { opacity: 0; transform: scaleY(0); } to { opacity: 1; transform: none; } }
@keyframes draw { from { opacity: 0; transform: scaleX(0); } to { opacity: 1; transform: none; } }
@keyframes pop { from { opacity: 0; transform: scale(0.2); } to { opacity: 1; transform: none; } }

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

/* ---------- Breakpoints (mobile-first) ---------- */
@media (max-width: 759px) {
  .product { margin-top: 44px; }
  .product__window { border-radius: 12px; }
  .product__bar { height: 24px; padding: 0 10px; gap: 5px; }
  .product__bar i { width: 7px; height: 7px; }
  .product__bar span { display: none; }
  .product__chip--b, .product__chip--c { display: none; }
  .product__chip--a { left: 12px; top: auto; bottom: -36px; padding: 12px 16px; }
}
@media (max-width: 419px) {
  .site-header__inner { gap: 10px; }
  .site-header .brand__name { display: none; } /* the mark + aria-label carry the brand on small phones */
  .tol__dots i { width: 10px; height: 10px; margin-left: -5px; }
}
@media (min-width: 480px) {
  .only-wide { display: inline; }
  .only-narrow { display: none; }
  .tol { padding: 26px 26px 22px; }
}

@media (min-width: 640px) {
  :root { --gutter: 28px; }
  .audience { grid-template-columns: repeat(3, 1fr); gap: 0; }
  .audience li { padding-inline: 20px; border-left: 1px solid var(--line); }
  .features { grid-template-columns: repeat(2, 1fr); column-gap: 40px; }
  .form { grid-template-columns: 1fr 1fr; column-gap: 16px; }
  .field--wide, .form__foot { grid-column: 1 / -1; }
  .site-footer__inner { grid-template-columns: auto 1fr; align-items: center; }
  .site-footer__links { justify-content: flex-end; }
}

/* Horizontal timelines: same four columns in both rows, so the pink node visibly jumps from last to first */
@media (min-width: 760px) {
  .tracks { gap: 0; border-top: 1px solid var(--line); }
  .track { display: grid; grid-template-columns: 200px 1fr; gap: 24px; align-items: start; padding: 32px 0; border-bottom: 1px solid var(--line); }
  .track__title { margin: 0; padding-top: 30px; }
  .track__steps { grid-template-columns: repeat(4, 1fr); gap: 20px; }
  .track__steps::before { left: 7px; right: 7px; top: 7px; bottom: auto; width: auto; height: 0; border-left: 0; border-top: 2px solid var(--line-strong); }
  .track--blind .track__steps::before { border-left: 0; border-top-style: dashed; }
  .track--mmint .track__steps::before { border-top-color: rgba(255, 61, 203, 0.55); }
  .track__steps li { padding: 32px 8px 0 0; }
  .track__steps li::before { top: 0; }

  .steps { grid-template-columns: repeat(4, 1fr); gap: 24px; }
  .steps::before { left: 8px; right: 8px; top: 7px; bottom: auto; width: auto; height: 2px; background: linear-gradient(90deg, var(--ok), var(--off)); }
  .step { padding: 44px 12px 0 0; }
  .step::before { top: 0; }
}

@media (min-width: 960px) {
  :root { --header-h: 72px; }
  .site-nav { display: block; }
  .section { padding: 96px 0; }
  .contact { padding-bottom: 136px; }
  .hero { padding: 72px 0 96px; }
  .hero--product { padding: 80px 0 88px; }
  .try__grid { grid-template-columns: minmax(0, 0.9fr) minmax(0, 1.1fr); gap: 72px; }
  .tol { justify-self: end; }

  .audience-strip__inner { grid-template-columns: 200px 1fr; gap: 24px; align-items: baseline; padding-block: 32px; }
  .audience li:first-child { border-left: 0; padding-left: 0; }

  .problem__head { grid-template-columns: 1fr 1fr; align-items: end; gap: 56px; margin-bottom: 64px; }

  .features { grid-template-columns: repeat(4, 1fr); column-gap: 0; border-block: 1px solid var(--line); }
  .feature { border-top: 0; padding: 32px 28px 36px; }
  .feature + .feature { border-left: 1px solid var(--line); }
  .feature:first-child { padding-left: 0; }

  .proof__grid { grid-template-columns: 1fr 1fr; align-items: center; gap: 80px; }

  .contact__grid { grid-template-columns: 0.85fr 1.15fr; gap: 72px; align-items: start; }
  .form { padding: 32px; }

  .faq-section__grid { grid-template-columns: 0.8fr 1.2fr; gap: 72px; align-items: start; }
  .faq-section__intro { position: sticky; top: calc(var(--header-h) + 32px); }

  .wa-fab { width: 56px; height: 56px; right: 24px; bottom: 24px; }
}

/* Wide screens: the hero chips hang outside the window instead of covering the table */
@media (min-width: 1240px) {
  .product__chip--a { left: -150px; }
  .product__chip--b { right: -150px; }
  .product__chip--c { right: -130px; }
}
