/* =========================================================================
   Mimos — Landing page styles
   Design tokens + components, organized: tokens → base → layout → sections.
   ========================================================================= */

@import url("https://api.fontshare.com/v2/css?f[]=cabinet-grotesk@500,700,800&f[]=general-sans@400,500,600,700&display=swap");
@import url("https://fonts.googleapis.com/css2?family=JetBrains+Mono:wght@400;500&display=swap");
/* Arabic glyph fallback for the /ar/ locale. Google's CSS2 endpoint serves
   unicode-range-subsetted @font-face rules, so non-Arabic pages never download
   the font files — the import is near-free for Latin-script visitors. */
@import url("https://fonts.googleapis.com/css2?family=Noto+Sans+Arabic:wght@400;500;600;700;800&display=swap");

/* ---- Tokens ----------------------------------------------------------- */
:root {
  --color-terracotta-50:  #FBEFE8;
  --color-terracotta-100: #F4D6C6;
  --color-terracotta-200: #ECB89E;
  --color-terracotta-300: #E29874;
  --color-terracotta-400: #D67654;
  --color-terracotta-500: #C25C3C;
  --color-terracotta-600: #A14828;
  --color-terracotta-700: #7C361D;

  --color-sage-50:  #ECF0EC;
  --color-sage-100: #D1DCD2;
  --color-sage-200: #A6BCA9;
  --color-sage-300: #719278;
  --color-sage-400: #4A6B53;
  --color-sage-500: #2C5249;
  --color-sage-600: #1F3E37;
  --color-sage-700: #142B27;

  --color-honey-50:  #FBF3DF;
  --color-honey-100: #F5E4B0;
  --color-honey-200: #EFD27D;
  --color-honey-300: #E8B14F;
  --color-honey-400: #D69730;
  --color-honey-500: #B07919;

  --color-cream-50:  #FBF7EE;
  --color-cream-100: #F7F2E8;
  --color-cream-200: #EFE8D6;
  --color-cream-300: #E3D9C0;
  --color-cream-400: #C9BC9C;

  --color-ink-50:  #8B8478;
  --color-ink-100: #6B6458;
  --color-ink-200: #4A453D;
  --color-ink-300: #2E2A24;
  --color-ink-400: #1A1610;
  --color-ink-500: #0F0C08;

  --color-white: #FFFFFF;

  --color-success: #4A8A5F;
  --color-success-bg: #E4EFE4;
  --color-warning: #D69730;
  --color-warning-bg: #FBF3DF;
  --color-danger:  #C24A3C;
  --color-danger-bg: #FBE8E4;
  --color-info:    #3F6F8E;
  --color-info-bg: #E3EDF3;

  --fg-1: var(--color-ink-400);
  --fg-2: var(--color-ink-200);
  --fg-3: var(--color-ink-100);
  --fg-4: var(--color-ink-50);
  --fg-on-brand: var(--color-cream-50);
  --fg-on-dark:  var(--color-cream-100);
  --fg-link:     var(--color-terracotta-500);

  --bg-1: var(--color-cream-100);
  --bg-2: var(--color-cream-50);
  --bg-3: var(--color-white);
  --bg-4: var(--color-cream-200);
  --bg-inverse: var(--color-sage-700);
  --bg-brand:   var(--color-terracotta-400);

  --border-1: rgba(26, 22, 16, 0.10);
  --border-2: rgba(26, 22, 16, 0.18);
  --border-strong: var(--color-ink-400);

  --font-display: "Cabinet Grotesk", "DM Sans", "Noto Sans Arabic", system-ui, sans-serif;
  --font-body:    "General Sans", "DM Sans", "Noto Sans Arabic", system-ui, sans-serif;
  --font-mono:    "JetBrains Mono", ui-monospace, monospace;

  --shadow-xs: 0 1px 2px rgba(54, 36, 20, 0.06);
  --shadow-sm: 0 2px 6px rgba(54, 36, 20, 0.08);
  --shadow-md: 0 8px 20px -6px rgba(54, 36, 20, 0.12), 0 2px 4px rgba(54, 36, 20, 0.06);
  --shadow-lg: 0 24px 40px -16px rgba(54, 36, 20, 0.18), 0 4px 8px rgba(54, 36, 20, 0.06);
  --shadow-xl: 0 40px 80px -24px rgba(54, 36, 20, 0.24), 0 8px 16px rgba(54, 36, 20, 0.08);

  --ease-out:    cubic-bezier(0.22, 1, 0.36, 1);
  --ease-in:     cubic-bezier(0.55, 0, 0.7, 0.2);
  --ease-in-out: cubic-bezier(0.65, 0, 0.35, 1);
  --ease-spring: cubic-bezier(0.34, 1.56, 0.64, 1);

  --dur-fast:   120ms;
  --dur-normal: 200ms;
  --dur-slow:   320ms;
}

/* ---- Base ------------------------------------------------------------- */
*, *::before, *::after { box-sizing: border-box; }
html, body { margin: 0; padding: 0; }
body {
  background: var(--bg-1);
  color: var(--fg-1);
  font-family: var(--font-body);
  font-weight: 400;
  font-size: 16px;
  line-height: 1.5;
  -webkit-font-smoothing: antialiased;
}
button { font-family: inherit; }
button:hover:not(:disabled) { filter: brightness(0.97); }
button:active:not(:disabled) { transform: translateY(1px); }
a { color: inherit; }
a:hover { opacity: 0.85; }
::selection { background: var(--color-honey-300); color: var(--color-ink-400); }
[id] { scroll-margin-top: 80px; }

@keyframes mimos-pulse {
  0%   { box-shadow: 0 0 0 0 rgba(232,177,79,.55); }
  70%  { box-shadow: 0 0 0 8px rgba(232,177,79,0); }
  100% { box-shadow: 0 0 0 0 rgba(232,177,79,0); }
}

/* ---- Nav -------------------------------------------------------------- */
.nav {
  position: sticky;
  top: 0;
  z-index: 30;
  background: rgba(247, 242, 232, 0.82);
  backdrop-filter: saturate(140%) blur(12px);
  -webkit-backdrop-filter: saturate(140%) blur(12px);
  border-bottom: 1px solid var(--border-1);
  padding: 0 32px;
}
.nav-inner {
  max-width: 1240px;
  margin: 0 auto;
  display: flex;
  align-items: center;
  gap: 28px;
  padding: 14px 0;
}
.nav-brand {
  display: flex;
  align-items: center;
  gap: 10px;
  font-family: var(--font-display);
  font-weight: 800;
  font-size: 26px;
  letter-spacing: -0.04em;
  color: var(--fg-1);
  text-decoration: none;
}
.nav-links {
  display: flex;
  gap: 24px;
  margin-inline-start: 18px;
}
.nav-link {
  font-size: 14px;
  font-weight: 500;
  color: var(--fg-2);
  text-decoration: none;
  cursor: pointer;
}
.nav-right {
  margin-inline-start: auto;
  display: flex;
  gap: 14px;
  align-items: center;
}
.nav-cta {
  font-size: 14px;
  font-weight: 600;
  padding: 11px 18px;
  border-radius: 12px;
  border: 0;
  cursor: pointer;
  background: var(--color-sage-500);
  color: var(--fg-on-dark);
}
.lang-wrap {
  display: flex;
  align-items: center;
  gap: 2px;
  padding: 3px;
  border-radius: 999px;
  background: var(--color-cream-200);
  border: 1px solid var(--border-1);
}
/* Country pill — sits left of the language switcher in the nav. Filled
   by country-switcher.js with flag + localized country name. Click opens
   the full country picker modal. Hidden until populated so there's no
   "loading…" flash on first paint. */
.nav-country {
  appearance: none;
  font: inherit;
  display: inline-flex;
  align-items: center;
  gap: 7px;
  padding: 5px 12px 5px 10px;
  background: var(--bg-3);
  border: 1px solid var(--border-1);
  border-radius: 999px;
  color: var(--fg-1);
  cursor: pointer;
  transition: background-color var(--dur) var(--ease);
  max-width: 200px;
  margin-inline-end: 6px;
}
.nav-country:empty { display: none; }
.nav-country:hover { background: var(--color-cream-200); }
.nav-country-flag { font-size: 14px; line-height: 1; }
.nav-country-name {
  font-size: 12.5px;
  font-weight: 600;
  letter-spacing: 0.01em;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}
@media (max-width: 720px) {
  .nav-country { max-width: 130px; padding: 5px 10px 5px 8px; }
  .nav-country-name { font-size: 12px; }
}

/* Single combined trigger — current language label + caret. Click
   anywhere on the pill opens the dropdown; selection always requires
   the second click in the menu. */
.lang-switch-wrap {
  position: relative;
  display: inline-block;
}
.lang-switch {
  appearance: none;
  font: inherit;
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 5px 10px 5px 12px;
  background: var(--bg-3);
  border: 1px solid var(--border-1);
  border-radius: 999px;
  color: var(--fg-1);
  cursor: pointer;
  transition: background-color var(--dur) var(--ease);
}
.lang-switch:hover { background: var(--color-cream-200); }
.lang-switch-label {
  font-size: 11.5px;
  font-weight: 600;
  letter-spacing: 0.02em;
}
.lang-switch-caret {
  width: 12px; height: 12px;
  color: var(--fg-3);
  transition: transform var(--dur) var(--ease);
}
.lang-switch[aria-expanded="true"] .lang-switch-caret { transform: rotate(180deg); }

.lang-menu {
  position: absolute;
  top: calc(100% + 6px);
  inset-inline-end: 0;
  min-width: 168px;
  background: var(--bg-3);
  border: 1px solid var(--border-1);
  border-radius: var(--radius-md);
  box-shadow: var(--shadow-overlay);
  padding: 4px;
  z-index: 12;
  display: flex; flex-direction: column;
  opacity: 0; transform: translateY(-4px) scale(0.98);
  transition: opacity var(--dur) var(--ease), transform var(--dur) var(--ease);
}
/* [hidden] alone doesn't beat `display:flex` at equal specificity, so
   the invisible (opacity:0) menu was still capturing taps over content
   underneath — close it for real when not open. */
.lang-menu[hidden] { display: none; }
.lang-menu.is-open { opacity: 1; transform: translateY(0) scale(1); }
.lang-menu-item {
  appearance: none; border: 0; background: transparent;
  font: inherit; font-size: 13.5px;
  color: var(--fg-1);
  text-decoration: none;
  text-align: start;
  padding: 12px 14px;
  border-radius: 10px;
  cursor: pointer;
  display: flex; align-items: center;
  gap: 8px;
  transition: background-color var(--dur) var(--ease);
}
.lang-menu-item:hover { background: var(--color-cream-200); }
.lang-menu-item.is-active {
  background: rgba(44, 82, 73, 0.08);
}

/* ---- Hero ------------------------------------------------------------- */
.hero {
  padding: 88px 32px 96px;
  position: relative;
  overflow: hidden;
}
.hero-bg {
  position: absolute;
  inset-inline-end: -160px;
  top: -80px;
  width: 760px;
  height: 760px;
  opacity: 0.07;
  pointer-events: none;
}
.hero-inner {
  max-width: 1240px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: 1.05fr 0.95fr;
  gap: 64px;
  align-items: center;
  position: relative;
  z-index: 1;
}
.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--color-honey-500);
}
.dot-pulse {
  width: 8px;
  height: 8px;
  border-radius: 999px;
  background: var(--color-honey-300);
  animation: mimos-pulse 2s var(--ease-out) infinite;
}
.hero-h1 {
  font-family: var(--font-display);
  font-weight: 800;
  font-size: clamp(56px, 7vw, 96px);
  line-height: 0.96;
  letter-spacing: -0.035em;
  margin: 20px 0 22px;
  color: var(--fg-1);
  text-wrap: balance;
}
.hero-sub {
  font-size: 19px;
  line-height: 1.55;
  color: var(--fg-2);
  max-width: 560px;
  margin: 0;
  text-wrap: pretty;
}
.hero-form-wrap { margin-top: 32px; }

/* ---- Standalone account-creation CTA (replaces the waitlist forms) ---- */
.cta-solo {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-size: 16px;
  font-weight: 600;
  padding: 15px 28px;
  border-radius: 12px;
  background: var(--color-sage-500);
  color: var(--fg-on-dark);
  text-decoration: none;
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.12);
  transition: background var(--dur-normal) var(--ease-out);
}
.cta-solo:hover { background: var(--color-sage-600); }
.cta-solo:active { transform: translateY(1px); }
.cta-solo:focus-visible {
  outline: 2px solid var(--color-sage-500);
  outline-offset: 3px;
}
.cta-solo--honey { background: var(--color-honey-300); color: var(--color-ink-400); }
.cta-solo--honey:hover { background: var(--color-honey-400); }
.cta-solo--honey:focus-visible { outline-color: var(--color-cream-100); }
.pricing-cta { margin-top: 24px; }

/* ---- Waitlist form ---------------------------------------------------- */
.wl { max-width: 520px; }
.wl-field {
  display: flex;
  gap: 6px;
  padding: 6px;
  background: var(--bg-3);
  border: 1px solid var(--border-1);
  border-radius: 16px;
  box-shadow: 0 8px 20px -10px rgba(54, 36, 20, 0.18);
  align-items: stretch;
}
.wl-input {
  flex: 1;
  min-width: 0;
  border: 0;
  background: transparent;
  padding: 14px 14px;
  font-size: 16px;
  font-family: inherit;
  color: var(--fg-1);
  outline: none;
}
.wl-input::placeholder { color: var(--fg-3); }
.wl-submit {
  font-size: 16px;
  font-weight: 600;
  padding: 14px 22px;
  border-radius: 12px;
  border: 0;
  cursor: pointer;
  background: var(--color-sage-500);
  color: var(--fg-on-dark);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.12);
  flex-shrink: 0;
  font-family: inherit;
  transition: background var(--dur-normal) var(--ease-out),
              opacity var(--dur-normal) var(--ease-out);
}
.wl-submit:disabled { opacity: 0.55; cursor: not-allowed; }
/* As soon as the user types anything in the email field, the submit
   button darkens to sage-600. The button is also enabled at this point
   (sync() in app.js enables on any text), so the default 100% opacity
   takes over from the disabled 55%. Click without consent → existing
   showConsentError() handler fires the inline error. */
.wl-input:not(:placeholder-shown) ~ .wl-submit { background: var(--color-sage-600); }
.wl-consent {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  margin-top: 14px;
  font-size: 13px;
  line-height: 1.45;
  color: var(--fg-3);
  cursor: pointer;
}
.wl-consent input {
  margin-top: 2px;
  width: 16px;
  height: 16px;
  flex-shrink: 0;
  accent-color: var(--color-sage-500);
  cursor: pointer;
  border-radius: 3px;
  outline-offset: 2px;
}
.wl-consent.is-error input { outline: 2px solid var(--color-danger); }
.wl-consent a {
  color: var(--color-sage-500);
  text-decoration: underline;
  text-underline-offset: 2px;
}
.wl-error,
.wl-submit-error {
  display: none;
  margin-top: 6px;
  margin-inline-start: 26px;
  font-size: 12.5px;
  color: var(--color-danger);
  font-weight: 500;
}
.wl-error.is-visible,
.wl-submit-error.is-visible { display: block; }
.wl-honeypot {
  position: absolute;
  inset-inline-start: -10000px;
  top: auto;
  width: 1px;
  height: 1px;
  overflow: hidden;
}
.wl-micro {
  margin-top: 10px;
  font-size: 12.5px;
  color: var(--fg-3);
}
.wl-success {
  background: var(--color-sage-50);
  border: 1px solid var(--color-sage-200);
  border-radius: 14px;
  padding: 14px 18px;
  display: none;
  align-items: center;
  gap: 14px;
}
.wl-success.is-visible { display: flex; }
.wl-success-mark {
  width: 36px;
  height: 36px;
  border-radius: 50%;
  background: var(--color-sage-500);
  color: var(--fg-on-dark);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}
/* Anonymous wrapper around title+body needs explicit alignment. Without
   it, the inherited body line-height (1.5) creates ~5px of phantom
   leading above the title, pushing its visual baseline above the icon
   centre and looking misaligned. */
.wl-success > div:last-child {
  display: flex;
  flex-direction: column;
  justify-content: center;
  gap: 2px;
  min-width: 0;
}
.wl-success-title {
  font-weight: 600;
  font-size: 15px;
  line-height: 1.25;
  letter-spacing: -0.01em;
  color: var(--fg-1);
}
.wl-success-body {
  font-size: 13.5px;
  line-height: 1.4;
  color: var(--fg-3);
  margin-top: 0; /* gap on parent flex handles spacing */
}
.wl.is-success .wl-form,
.wl.is-success .wl-micro { display: none; }

/* Dark tone (inside the pricing card) */
.wl[data-tone="dark"] .wl-field {
  background: rgba(255, 255, 255, 0.10);
  border-color: rgba(255, 255, 255, 0.16);
  box-shadow: none;
}
.wl[data-tone="dark"] .wl-input { color: var(--fg-on-dark); }
.wl[data-tone="dark"] .wl-input::placeholder { color: rgba(251, 247, 238, 0.5); }
.wl[data-tone="dark"] .wl-submit {
  background: var(--color-honey-300);
  color: var(--color-ink-400);
}
.wl[data-tone="dark"] .wl-consent {
  color: rgba(251, 247, 238, 0.7);
}
.wl[data-tone="dark"] .wl-consent a { color: var(--color-honey-300); }
.wl[data-tone="dark"] .wl-consent input { accent-color: var(--color-honey-300); }
.wl[data-tone="dark"] .wl-success {
  background: rgba(232, 177, 79, 0.14);
}
.wl[data-tone="dark"] .wl-success-title { color: var(--fg-on-dark); }
.wl[data-tone="dark"] .wl-success-body { color: rgba(251, 247, 238, 0.7); }

/* ---- Referral local pages ------------------------------------------- */
.ref-page {
  min-height: 100vh;
  padding: 40px 24px 80px;
  background: var(--bg-1);
}
.ref-shell {
  width: min(1120px, 100%);
  margin: 0 auto;
}
.ref-back {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  margin-bottom: 32px;
  color: var(--fg-2);
  font-weight: 700;
  text-decoration: none;
}
.ref-hero {
  display: grid;
  grid-template-columns: minmax(0, 1.1fr) minmax(280px, 0.9fr);
  gap: 32px;
  align-items: end;
  margin-bottom: 32px;
}
.ref-eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  color: var(--color-honey-500);
  font-size: 12px;
  font-weight: 800;
}
.ref-title {
  max-width: 760px;
  margin: 10px 0 0;
  font-family: var(--font-display);
  font-size: clamp(42px, 6vw, 76px);
  line-height: 0.98;
  color: var(--fg-1);
}
.ref-lede {
  max-width: 680px;
  margin: 18px 0 0;
  color: var(--fg-2);
  font-size: 18px;
  line-height: 1.55;
}
.ref-card,
.ref-table-card,
.ref-terms {
  background: var(--color-cream-50);
  border: 1px solid var(--border-1);
  border-radius: 18px;
  box-shadow: var(--shadow-sm);
}
.ref-card { padding: 22px; }
.ref-card h2,
.ref-card h3 {
  margin: 0 0 8px;
  font-family: var(--font-display);
  line-height: 1.1;
}
.ref-card p { margin: 0; color: var(--fg-2); }
.ref-link-box {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 8px;
  margin-top: 16px;
}
.ref-link-box input,
.ref-input,
.ref-select {
  min-width: 0;
  height: 42px;
  border: 1px solid var(--border-1);
  border-radius: 10px;
  padding: 0 12px;
  background: var(--bg-1);
  color: var(--fg-1);
  font: 13px var(--font-mono);
}
.ref-button {
  min-height: 42px;
  border: 0;
  border-radius: 10px;
  padding: 0 14px;
  background: var(--color-sage-500);
  color: var(--fg-on-dark);
  font-weight: 800;
  cursor: pointer;
}
.ref-button.secondary {
  background: var(--color-cream-200);
  color: var(--fg-1);
}
.ref-button.danger {
  background: var(--color-danger);
  color: var(--fg-on-dark);
}
.ref-stats {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
  gap: 12px;
  margin: 18px 0 28px;
}
.ref-stat {
  min-height: 112px;
  padding: 18px;
  background: var(--color-cream-50);
  border: 1px solid var(--border-1);
  border-radius: 14px;
}
.ref-stat-value {
  font-family: var(--font-display);
  font-size: 34px;
  font-weight: 800;
  line-height: 1;
}
.ref-stat-label {
  margin-top: 8px;
  color: var(--fg-3);
  font-size: 13px;
  line-height: 1.35;
}
.ref-table-card {
  overflow: auto;
}
.ref-table {
  width: 100%;
  border-collapse: collapse;
  min-width: 720px;
}
.ref-table th,
.ref-table td {
  padding: 13px 14px;
  text-align: start;
  border-bottom: 1px solid var(--border-1);
  vertical-align: top;
}
.ref-table th {
  color: var(--fg-3);
  font-size: 12px;
  font-weight: 800;
}
.ref-table tr:last-child td { border-bottom: 0; }
.ref-status {
  display: inline-flex;
  align-items: center;
  min-height: 26px;
  padding: 0 9px;
  border-radius: 999px;
  background: var(--color-honey-50);
  color: var(--color-honey-500);
  font-size: 12px;
  font-weight: 800;
}
.ref-muted { color: var(--fg-3); }
.ref-error,
.ref-disabled {
  padding: 18px;
  border-radius: 14px;
  background: var(--color-danger-bg);
  color: var(--color-danger);
  font-weight: 700;
}
.ref-disabled {
  background: var(--color-honey-50);
  color: var(--fg-2);
}
.ref-terms {
  max-width: 820px;
  padding: 34px;
}
.ref-terms h1 {
  margin: 0 0 18px;
  font-family: var(--font-display);
  font-size: 44px;
  line-height: 1;
}
.ref-terms p {
  margin: 0 0 18px;
  color: var(--fg-2);
  font-size: 17px;
  line-height: 1.65;
}
.ref-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

@media (max-width: 780px) {
  .ref-page { padding: 28px 16px 56px; }
  .ref-hero { grid-template-columns: 1fr; align-items: start; }
  .ref-title { font-size: 42px; }
  .ref-link-box { grid-template-columns: 1fr; }
}

/* ---- Onboarding modal ----------------------------------------------- */
@keyframes ob-fade-in { from { opacity: 0 } to { opacity: 1 } }
@keyframes ob-slide-up { from { opacity: 0; transform: translateY(12px) } to { opacity: 1; transform: translateY(0) } }

.ob-overlay {
  position: fixed;
  inset: 0;
  z-index: 1300;
  background: rgba(26, 22, 16, 0.48);
  backdrop-filter: blur(6px);
  -webkit-backdrop-filter: blur(6px);
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 24px;
  animation: ob-fade-in var(--dur-normal) var(--ease-out);
}
.ob-overlay[hidden] { display: none; }

.ob-dialog {
  position: relative;
  width: 100%;
  max-width: 620px;
  max-height: calc(100vh - 48px);
  overflow-y: auto;
  background: var(--bg-1);
  border-radius: 20px;
  box-shadow: var(--shadow-xl);
  animation: ob-slide-up 280ms var(--ease-out);
}
.ob-dialog::-webkit-scrollbar { width: 8px; }
.ob-dialog::-webkit-scrollbar-thumb { background: var(--color-cream-300); border-radius: 8px; }

.ob-close {
  position: absolute;
  top: 16px;
  inset-inline-end: 16px;
  width: 34px;
  height: 34px;
  border-radius: 50%;
  border: 0;
  background: var(--bg-3);
  color: var(--fg-2);
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: inherit;
  z-index: 1;
}
.ob-close:hover { background: var(--color-cream-200); }

.ob-header { padding: 26px 32px 14px; }
.ob-stay-badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: var(--color-honey-50);
  border: 1px solid var(--color-honey-300);
  padding: 4px 10px 4px 7px;
  border-radius: 999px;
  font-size: 11.5px;
  font-weight: 600;
  color: var(--color-ink-400);
  margin-bottom: 14px;
}
.ob-stay-badge-mark {
  width: 15px;
  height: 15px;
  border-radius: 50%;
  background: var(--color-honey-300);
  color: var(--color-ink-400);
  display: inline-flex;
  align-items: center;
  justify-content: center;
}
.ob-eyebrow {
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--color-sage-500);
  margin-bottom: 6px;
}
.ob-title {
  margin: 0;
  font-family: var(--font-display);
  font-size: 26px;
  line-height: 1.12;
  font-weight: 700;
  letter-spacing: -0.02em;
  color: var(--fg-1);
}
.ob-sub {
  margin: 8px 0 0;
  font-size: 14px;
  line-height: 1.45;
  color: var(--fg-3);
  max-width: 480px;
}

.ob-form { padding: 4px 32px 24px; }
.ob-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 12px;
  margin-bottom: 12px;
}
.ob-field { margin-bottom: 12px; }
.ob-field:last-child { margin-bottom: 0; }
.ob-row .ob-field { margin-bottom: 0; }

.ob-label {
  display: block;
  font-size: 12px;
  font-weight: 600;
  color: var(--fg-2);
  margin-bottom: 6px;
  letter-spacing: 0.01em;
}
.ob-input {
  width: 100%;
  padding: 11px 14px;
  font-size: 15px;
  font-family: inherit;
  color: var(--fg-1);
  background: var(--bg-2);
  border: 1px solid var(--border-1);
  border-radius: 12px;
  outline: none;
  transition: border-color var(--dur-fast) var(--ease-out), background var(--dur-fast) var(--ease-out);
}
.ob-input::placeholder { color: var(--fg-4); }
.ob-input:focus {
  border-color: var(--color-sage-500);
  background: var(--bg-1);
}

/* Country combobox */
.ob-country-wrap { position: relative; }
.ob-country-list {
  position: absolute;
  z-index: 10;
  top: calc(100% + 4px);
  left: 0;
  right: 0;
  margin: 0;
  padding: 4px;
  list-style: none;
  background: var(--bg-1);
  border: 1px solid var(--border-1);
  border-radius: 12px;
  box-shadow: var(--shadow-lg);
  max-height: 220px;
  overflow-y: auto;
}
.ob-country-list[hidden] { display: none; }
.ob-country-section {
  padding: 8px 12px 4px;
  font-size: 10.5px;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--fg-3);
  pointer-events: none;
}
.ob-country-item {
  padding: 8px 12px;
  font-size: 14px;
  color: var(--fg-1);
  border-radius: 8px;
  cursor: pointer;
  background: transparent;
}
.ob-country-item.is-active { background: var(--color-cream-200); }
.ob-country-empty {
  padding: 10px 12px;
  font-size: 13.5px;
  color: var(--fg-3);
}

/* Segmented (pets / locations) */
.ob-segmented {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 5px;
}
.ob-seg-opt {
  padding: 10px 0;
  font-size: 13px;
  font-weight: 600;
  background: var(--bg-2);
  color: var(--fg-1);
  border: 1px solid var(--border-1);
  border-radius: 10px;
  cursor: pointer;
  font-family: inherit;
  white-space: nowrap;
  transition: background var(--dur-fast) var(--ease-out), border-color var(--dur-fast) var(--ease-out), color var(--dur-fast) var(--ease-out);
}
.ob-seg-opt:hover { background: var(--color-cream-200); }
.ob-seg-opt.is-on {
  background: var(--color-sage-500);
  color: var(--fg-on-dark);
  border-color: var(--color-sage-500);
}

/* Service chips */
.ob-chips {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
}
.ob-chip {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  padding: 7px 11px;
  font-size: 13px;
  font-weight: 500;
  background: var(--bg-2);
  color: var(--fg-1);
  border: 1px solid var(--border-1);
  border-radius: 999px;
  cursor: pointer;
  font-family: inherit;
  transition: background var(--dur-fast) var(--ease-out), border-color var(--dur-fast) var(--ease-out), color var(--dur-fast) var(--ease-out);
}
.ob-chip:hover { background: var(--color-cream-200); }
.ob-chip.is-on {
  background: var(--color-sage-500);
  color: var(--fg-on-dark);
  border-color: var(--color-sage-500);
}
.ob-chip.is-on:hover { filter: brightness(0.94); }

/* "Otro" chip — honey when toggled empty, sage when text is filled */
.ob-chip-other {
  border-style: dashed;
}
.ob-chip-other.is-on {
  background: var(--color-honey-300);
  color: var(--color-ink-400);
  border-color: var(--color-honey-300);
  border-style: solid;
}
.ob-chip-other.is-filled {
  background: var(--color-sage-500);
  color: var(--fg-on-dark);
  border-color: var(--color-sage-500);
}

.ob-other-wrap { margin-top: 10px; }
.ob-other-wrap[hidden] { display: none; }

/* Actions + error */
.ob-actions {
  display: flex;
  justify-content: flex-end;
  align-items: center;
  gap: 12px;
  padding-top: 16px;
  margin-top: 8px;
  border-top: 1px solid var(--border-1);
}
.ob-submit {
  padding: 13px 28px;
  font-size: 15px;
  font-weight: 600;
  background: var(--color-sage-500);
  color: var(--fg-on-dark);
  border: 0;
  border-radius: 12px;
  cursor: pointer;
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.12);
  font-family: inherit;
  transition: filter var(--dur-fast) var(--ease-out);
}
.ob-submit:hover { filter: brightness(0.97); }
.ob-submit:disabled { opacity: 0.7; cursor: wait; }
.ob-error {
  display: none;
  margin-top: 12px;
  font-size: 13px;
  color: var(--color-danger);
  font-weight: 500;
  text-align: end;
}
.ob-error.is-visible { display: block; }

@media (max-width: 560px) {
  .ob-row { grid-template-columns: 1fr; }
  .ob-header { padding: 22px 22px 12px; }
  .ob-form { padding: 4px 22px 22px; }
  .ob-segmented { grid-template-columns: repeat(2, 1fr); }
}

/* ---- Browser window (hero visual) ------------------------------------ */
.hero-visual { display: flex; justify-content: center; align-items: center; }
.chrome-window {
  width: 560px;
  height: 560px;
  max-width: 100%;
  border-radius: 10px;
  overflow: hidden;
  box-shadow: 0 24px 80px rgba(0, 0, 0, 0.35), 0 0 0 1px rgba(0, 0, 0, 0.1);
  display: flex;
  flex-direction: column;
  background: #35363a;
}
.chrome-bar {
  display: flex;
  align-items: center;
  height: 44px;
  background: #202124;
  padding-inline-end: 8px;
}
.chrome-lights {
  display: flex;
  gap: 8px;
  padding: 0 14px;
}
.chrome-light { width: 12px; height: 12px; border-radius: 50%; }
.chrome-light--red    { background: #ff5f57; }
.chrome-light--yellow { background: #febc2e; }
.chrome-light--green  { background: #28c840; }
.chrome-tabs {
  display: flex;
  align-items: flex-end;
  height: 100%;
  padding-inline-start: 4px;
  flex: 1;
}
.chrome-tab {
  position: relative;
  height: 34px;
  align-self: flex-end;
  padding: 0 12px;
  display: flex;
  align-items: center;
  gap: 8px;
  background: #35363a;
  border-radius: 8px 8px 0 0;
  min-width: 120px;
  max-width: 220px;
  font-family: system-ui, sans-serif;
  font-size: 12px;
  color: #e8eaed;
}
.chrome-tab-dot {
  width: 14px;
  height: 14px;
  border-radius: 50%;
  background: #5f6368;
  flex-shrink: 0;
}
.chrome-tab-title {
  flex: 1;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}
.chrome-tab-curve {
  position: absolute;
  bottom: 0;
  width: 8px;
  height: 10px;
}
.chrome-tab-curve--left  { left: -8px; }
.chrome-tab-curve--right { right: -8px; transform: scaleX(-1); }
.chrome-toolbar {
  height: 40px;
  background: #35363a;
  display: flex;
  align-items: center;
  gap: 4px;
  padding: 0 8px;
}
.chrome-tb-icon {
  width: 28px;
  height: 28px;
  display: flex;
  align-items: center;
  justify-content: center;
}
.chrome-tb-icon::before {
  content: "";
  width: 16px;
  height: 16px;
  border-radius: 50%;
  background: rgba(154, 160, 166, 0.4);
}
.chrome-url {
  flex: 1;
  height: 30px;
  border-radius: 15px;
  background: #282a2d;
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 0 14px;
  margin: 0 6px;
}
.chrome-url-dot {
  width: 12px;
  height: 12px;
  border-radius: 50%;
  background: rgba(154, 160, 166, 0.4);
}
.chrome-url-text {
  flex: 1;
  color: #e8eaed;
  font-size: 13px;
  font-family: system-ui, sans-serif;
}
.chrome-body {
  flex: 1;
  background: #fff;
  overflow: hidden;
}

/* ---- Web app dashboard (hero visual content) ------------------------- */
.app {
  display: flex;
  height: 100%;
  background: var(--color-cream-50);
}
.app-side {
  width: 156px;
  background: var(--color-cream-100);
  border-inline-end: 1px solid var(--border-1);
  display: flex;
  flex-direction: column;
  padding: 14px 10px 12px;
}
.app-side-brand {
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 4px 6px 12px;
}
.app-side-brand-name {
  font-family: var(--font-display);
  font-weight: 800;
  font-size: 17px;
  letter-spacing: -0.04em;
  color: var(--fg-1);
}
.app-nav {
  display: flex;
  flex-direction: column;
  gap: 1px;
}
.app-nav-item {
  display: flex;
  align-items: center;
  gap: 9px;
  padding: 6px 8px;
  border-radius: 7px;
  color: var(--fg-2);
  cursor: pointer;
}
.app-nav-item-label {
  font-size: 12px;
  font-weight: 500;
  flex: 1;
}
.app-nav-item.is-active {
  background: var(--color-sage-500);
  color: var(--fg-on-dark);
}
.app-nav-item.is-active .app-nav-item-label { font-weight: 600; }
.app-nav-badge {
  font-size: 9.5px;
  font-weight: 700;
  min-width: 16px;
  height: 16px;
  padding: 0 5px;
  border-radius: 999px;
  background: var(--color-honey-300);
  color: var(--color-ink-400);
  display: flex;
  align-items: center;
  justify-content: center;
}
.app-side-spacer { flex: 1; }
.app-side-user {
  display: flex;
  align-items: center;
  gap: 9px;
  padding: 12px 6px 6px;
  border-top: 1px solid var(--border-1);
  margin-top: 10px;
  cursor: pointer;
}
.app-side-user-av {
  width: 26px;
  height: 26px;
  border-radius: 50%;
  background: var(--color-cream-200);
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: var(--font-display);
  font-weight: 800;
  font-size: 11px;
  color: var(--color-ink-400);
  flex-shrink: 0;
}
.app-side-user-meta {
  flex: 1;
  min-width: 0;
}
.app-side-user-name {
  font-size: 11.5px;
  font-weight: 600;
  color: var(--fg-1);
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}
.app-side-user-shop {
  font-size: 10px;
  color: var(--fg-3);
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}
.app-main {
  flex: 1;
  padding: 20px;
  overflow: hidden;
  display: flex;
  flex-direction: column;
  gap: 14px;
  min-width: 0;
}
.app-head {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
}
.app-date { font-size: 11px; color: var(--fg-3); }
.app-day {
  font-family: var(--font-display);
  font-weight: 800;
  font-size: 22px;
  letter-spacing: -0.025em;
  color: var(--fg-1);
}
.app-newbtn {
  font-size: 11px;
  font-weight: 600;
  padding: 7px 12px;
  border-radius: 8px;
  background: var(--color-cream-200);
  color: var(--fg-2);
  border: 1px solid var(--border-1);
  cursor: pointer;
  font-family: inherit;
}
.app-banner {
  background: var(--color-sage-500);
  color: var(--fg-on-dark);
  border-radius: 10px;
  padding: 12px;
  box-shadow: var(--shadow-sm);
}
.app-banner-eyebrow {
  display: flex;
  align-items: center;
  gap: 6px;
  font-size: 9.5px;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--color-honey-300);
}
.app-banner-dot {
  width: 5px;
  height: 5px;
  border-radius: 999px;
  background: var(--color-success);
}
.app-banner-h {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 14.5px;
  margin-top: 4px;
  line-height: 1.3;
}
.app-banner-sub {
  display: flex;
  align-items: center;
  gap: 8px;
  margin-top: 10px;
  padding: 6px 8px;
  background: rgba(0, 0, 0, 0.15);
  border-radius: 6px;
}
.wa-dot {
  width: 18px;
  height: 18px;
  border-radius: 4px;
  background: #25D366;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}
.app-banner-sub-text {
  flex: 1;
  min-width: 0;
  font-size: 10.5px;
}
.app-banner-time {
  font-size: 10px;
  font-weight: 600;
  color: var(--color-honey-300);
}
.app-list-head {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  margin-bottom: 6px;
}
.app-list-eyebrow {
  font-size: 9.5px;
  font-weight: 600;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--fg-3);
}
.app-list-action {
  font-size: 9.5px;
  color: var(--color-honey-500);
  font-weight: 600;
  cursor: pointer;
}
.app-list {
  background: var(--bg-3);
  border-radius: 10px;
  border: 1px solid var(--border-1);
  overflow: hidden;
}
.app-row {
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 8px 12px;
  border-top: 1px solid var(--border-1);
}
.app-row:first-child { border-top: 0; }
.app-row-time {
  font-family: var(--font-mono);
  font-size: 10.5px;
  color: var(--fg-3);
  min-width: 32px;
}
.app-row-dot { width: 5px; height: 18px; border-radius: 2px; flex-shrink: 0; }
.app-row-main { flex: 1; min-width: 0; }
.app-row-name { font-size: 11.5px; font-weight: 600; color: var(--fg-1); }
.app-row-svc { font-size: 10px; color: var(--fg-3); }
.app-row-tag {
  font-size: 9px;
  font-weight: 700;
  letter-spacing: 0.06em;
  padding: 2px 6px;
  border-radius: 4px;
  color: var(--color-success);
}
.app-row-tag--hi {
  background: var(--color-honey-50);
  color: var(--color-honey-500);
  border: 1px solid var(--color-honey-300);
}
.app-queue {
  background: var(--bg-3);
  border-radius: 10px;
  padding: 10px;
  border: 1px solid var(--color-honey-300);
  display: flex;
  align-items: center;
  gap: 10px;
}
.app-queue-mark {
  width: 24px;
  height: 24px;
  border-radius: 50%;
  background: var(--color-honey-50);
  color: var(--color-honey-500);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  font-weight: 700;
  font-size: 11px;
}
.app-queue-main { flex: 1; min-width: 0; }
.app-queue-title { font-size: 11px; font-weight: 600; color: var(--fg-1); }
.app-queue-sub { font-size: 10px; color: var(--fg-3); }
.app-queue-cta {
  font-size: 10px;
  font-weight: 600;
  padding: 5px 10px;
  border-radius: 6px;
  background: var(--color-sage-500);
  color: var(--fg-on-dark);
  white-space: nowrap;
}

/* ---- Pillars section ------------------------------------------------- */
.pillars {
  padding: 110px 32px;
  background: var(--color-cream-100);
}
.pillars-inner { max-width: 1240px; margin: 0 auto; }
.pillars-head { max-width: 760px; margin-bottom: 64px; }
.pillars-h {
  font-family: var(--font-display);
  font-weight: 800;
  font-size: clamp(40px, 5vw, 60px);
  line-height: 1.02;
  letter-spacing: -0.03em;
  margin: 14px 0 18px;
  text-wrap: balance;
}
.pillars-sub {
  font-size: 19px;
  line-height: 1.55;
  color: var(--fg-2);
  margin: 0;
  max-width: 600px;
}
.pillars-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
}
.pillar-card {
  background: var(--bg-3);
  border-radius: 22px;
  padding: 28px;
  border: 1px solid var(--border-1);
  box-shadow: var(--shadow-sm);
  display: flex;
  flex-direction: column;
  gap: 18px;
}
.pillar-visual {
  height: 180px;
  background: var(--color-cream-100);
  border-radius: 14px;
  padding: 16px;
  overflow: hidden;
  position: relative;
  border: 1px solid var(--border-1);
}
.pillar-title {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 26px;
  letter-spacing: -0.015em;
  margin: 0;
  line-height: 1.15;
}
.pillar-body {
  font-size: 15.5px;
  line-height: 1.55;
  color: var(--fg-2);
  margin: 0;
}

/* Pillar 1 — Booking visual */
.bv {
  position: relative;
  height: 100%;
}
.bv-top {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  background: var(--bg-3);
  border-radius: 10px;
  padding: 10px;
  border: 1px solid var(--border-1);
  display: flex;
  align-items: center;
  gap: 10px;
}
.bv-avatar {
  width: 32px;
  height: 32px;
  border-radius: 50%;
  background: var(--color-honey-300);
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: var(--font-display);
  font-weight: 800;
  font-size: 13px;
  color: var(--fg-on-dark);
  flex-shrink: 0;
}
.bv-meta { flex: 1; min-width: 0; }
.bv-handle { font-weight: 600; font-size: 12px; }
.bv-url {
  font-size: 10.5px;
  color: var(--color-info);
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}
.bv-bottom {
  position: absolute;
  bottom: 0;
  left: 14px;
  right: 14px;
  background: var(--color-sage-500);
  color: var(--fg-on-dark);
  border-radius: 12px;
  padding: 12px 14px;
  box-shadow: var(--shadow-md);
}
.bv-eyebrow {
  font-size: 9.5px;
  font-weight: 600;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--color-honey-300);
}
.bv-pet { font-weight: 600; font-size: 14px; margin-top: 4px; }
.bv-caption {
  font-size: 11.5px;
  color: rgba(251, 247, 238, 0.7);
  margin-top: 2px;
}

/* Pillar 2 — No-show visual */
.ns { display: flex; flex-direction: column; gap: 8px; height: 100%; }
.ns-card {
  background: var(--bg-3);
  border: 1px solid var(--border-1);
  border-radius: 10px;
  padding: 10px 12px;
  display: flex;
  gap: 10px;
  align-items: flex-start;
}
.ns-wa {
  width: 24px;
  height: 24px;
  border-radius: 50%;
  background: #25D366;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}
.ns-meta { flex: 1; }
.ns-eyebrow { font-size: 10px; font-weight: 600; color: var(--fg-3); }
.ns-msg { font-size: 12px; color: var(--fg-1); margin-top: 1px; }
.ns-read { font-size: 9.5px; color: var(--color-info); margin-top: 3px; font-weight: 600; }
.ns-dep {
  background: var(--color-success-bg);
  border: 1px solid var(--color-success);
  border-radius: 10px;
  padding: 10px 12px;
  display: flex;
  align-items: center;
  gap: 10px;
}
.ns-dep-icon {
  width: 38px;
  height: 38px;
  border-radius: 8px;
  background: var(--color-success);
  color: #fff;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}
.ns-dep-meta { flex: 1; }
.ns-dep-eyebrow {
  font-size: 10.5px;
  font-weight: 600;
  color: var(--color-success);
  letter-spacing: 0.06em;
  text-transform: uppercase;
}
.ns-dep-amount {
  font-family: var(--font-display);
  font-weight: 800;
  font-size: 22px;
  color: var(--fg-1);
  letter-spacing: -0.02em;
  line-height: 1;
}

/* Pillar 3 — Sustain visual */
.sv { display: flex; flex-direction: column; gap: 8px; height: 100%; }
.sv-suggest {
  background: var(--bg-3);
  border: 1px solid var(--border-1);
  border-radius: 10px;
  padding: 10px 12px;
}
.sv-suggest-eyebrow {
  font-size: 10px;
  font-weight: 600;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--color-honey-500);
}
.sv-chips {
  display: flex;
  gap: 6px;
  margin-top: 6px;
  flex-wrap: wrap;
}
.sv-chip {
  font-size: 11px;
  font-weight: 600;
  padding: 5px 9px;
  border-radius: 999px;
  background: var(--color-cream-200);
  color: var(--fg-2);
  display: flex;
  align-items: center;
  gap: 4px;
}
.sv-chip.is-on {
  background: var(--color-sage-500);
  color: var(--fg-on-dark);
}
.sv-chip-price { opacity: 0.65; font-weight: 500; }
.sv-accepted {
  font-size: 11px;
  color: var(--fg-3);
  margin-top: 8px;
}
.sv-accepted strong { color: var(--fg-1); }
.sv-review {
  background: var(--color-honey-50);
  border: 1px solid var(--color-honey-300);
  border-radius: 10px;
  padding: 10px 12px;
}
.sv-review-head {
  display: flex;
  align-items: center;
  gap: 10px;
}
.sv-stars { display: flex; gap: 1px; }
.sv-review-pill {
  font-size: 11px;
  font-weight: 600;
  color: var(--fg-2);
  letter-spacing: 0.08em;
  text-transform: uppercase;
}
.sv-review-quote {
  font-size: 12.5px;
  color: var(--fg-1);
  margin-top: 6px;
  line-height: 1.4;
}
/* More features chip strip */
.more {
  margin-top: 36px;
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 10px;
}
.more-label {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 18px;
  letter-spacing: -0.01em;
  color: var(--fg-1);
  padding-inline-end: 6px;
}
.more-chip {
  display: inline-flex;
  align-items: center;
  padding: 8px 14px;
  border-radius: 999px;
  font-size: 14px;
  font-weight: 500;
  color: var(--fg-2);
  background: var(--bg-3);
  border: 1px solid var(--border-1);
}

/* ---- Pricing section ------------------------------------------------- */
.pricing {
  padding: 110px 32px;
  background: var(--color-cream-50);
}
.pricing-inner { max-width: 1240px; margin: 0 auto; }
.pricing-head {
  max-width: 680px;
  margin: 0 auto 56px;
  text-align: center;
}
.pricing-h {
  font-family: var(--font-display);
  font-weight: 800;
  font-size: clamp(40px, 5vw, 60px);
  line-height: 1.02;
  letter-spacing: -0.03em;
  margin: 14px 0 18px;
  text-wrap: balance;
}
.pricing-h-accent { color: var(--color-terracotta-500); }
.pricing-card {
  background: var(--color-sage-500);
  color: var(--fg-on-dark);
  border-radius: 28px;
  padding: 52px 56px;
  box-shadow: 0 30px 60px -20px rgba(20, 43, 39, 0.4);
  position: relative;
  overflow: hidden;
  max-width: 1100px;
  margin: 0 auto;
}
.pricing-card-paw {
  position: absolute;
  inset-inline-end: -60px;
  bottom: -60px;
  opacity: 0.08;
  pointer-events: none;
  width: 300px;
  height: 300px;
}
.pricing-top {
  position: relative;
  z-index: 1;
  text-align: center;
  padding-bottom: 36px;
  border-bottom: 1px solid rgba(251, 247, 238, 0.14);
}
.pricing-top-eyebrow {
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--color-honey-300);
}
.price-line {
  display: inline-flex;
  align-items: baseline;
  gap: 12px;
  margin-top: 12px;
}
.price-amount {
  font-family: var(--font-display);
  font-weight: 800;
  font-size: clamp(84px, 9.5vw, 132px);
  letter-spacing: -0.045em;
  line-height: 0.92;
}
/* Country-aware Display Strings have variable digit counts — long
   numbers (10,900 / 149,000) would overflow the card at 132px. */
.price-amount--md {
  font-size: clamp(56px, 6.5vw, 88px);
  letter-spacing: -0.04em;
}
.price-amount--sm {
  font-size: clamp(40px, 5vw, 64px);
  letter-spacing: -0.035em;
}
.price-change {
  margin-top: 14px;
}
.price-change-link {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font: inherit;
  font-size: 13px;
  color: rgba(251, 247, 238, 0.55);
  background: none;
  border: 0;
  padding: 0;
  cursor: pointer;
}
.price-change-link:hover { color: rgba(251, 247, 238, 0.95); }
.price-change-flag { font-size: 14px; line-height: 1; }
.price-change-country { color: rgba(251, 247, 238, 0.78); font-weight: 500; }
.price-change-sep { opacity: 0.5; }
.price-change-action { text-decoration: underline; text-underline-offset: 3px; }
.price-change-link:hover .price-change-action { text-decoration-thickness: 1.5px; }
.price-euro {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: clamp(32px, 3.5vw, 44px);
}
.price-per {
  font-size: 17px;
  color: rgba(251, 247, 238, 0.7);
  margin-inline-start: 6px;
}
.price-annual {
  font-size: 15px;
  font-weight: 500;
  color: rgba(247, 242, 232, 0.78);
  margin-top: 4px;
}
.price-less {
  font-size: 17px;
  color: var(--color-honey-300);
  margin-top: 6px;
  font-weight: 500;
}
/* Non-EU pricing placeholder — same vertical rhythm as the €29 block
   so the card shape stays consistent across regions. */
.price-soon {
  font-family: var(--font-display);
  font-weight: 800;
  font-size: clamp(48px, 5.5vw, 72px);
  letter-spacing: -0.035em;
  line-height: 1;
  margin-top: 18px;
}
.price-haircut {
  font-size: 17px;
  color: var(--color-honey-300);
  margin-top: 10px;
  font-weight: 500;
  max-width: 360px;
}
/* Small clarifier under the EU price stating the EU-only scope. Subtle
   colour so it doesn't compete with the big "29 €" + "Menos de 1 € al día"
   highlight, but readable enough to communicate the geographic limit. */
.price-eu-only {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  margin-top: 14px;
  font-size: 13px;
  font-weight: 500;
  color: rgba(247, 242, 232, 0.55);
  letter-spacing: -0.005em;
}
.pricing-bottom {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: 1.05fr 0.95fr;
  gap: 56px;
  margin-top: 40px;
}
.col-eyebrow {
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--color-honey-300);
  margin-bottom: 20px;
}
.feats {
  display: flex;
  flex-direction: column;
  gap: 14px;
}
.feat {
  display: flex;
  gap: 12px;
  align-items: center;
  font-size: 15.5px;
  color: rgba(251, 247, 238, 0.92);
}
.feat-check { color: var(--color-cream-100); flex-shrink: 0; }
.value-line {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: clamp(22px, 2.2vw, 28px);
  letter-spacing: -0.015em;
  line-height: 1.2;
  text-wrap: balance;
}
.value-line-accent { color: var(--color-honey-300); }
.math-line {
  font-size: 14.5px;
  color: rgba(251, 247, 238, 0.72);
  margin-top: 12px;
  line-height: 1.55;
}
.math-line strong {
  color: var(--fg-on-dark);
  font-weight: 600;
}
.pricing-card .wl { margin-top: 24px; }

/* ---- Footer ---------------------------------------------------------- */
.footer {
  background: var(--color-ink-400);
  color: var(--fg-on-dark);
  padding: 48px 32px 36px;
}
.footer-inner {
  max-width: 1240px;
  margin: 0 auto;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 24px;
  flex-wrap: wrap;
  border-top: 1px solid rgba(251, 247, 238, 0.15);
  padding-top: 36px;
}
.footer-brand {
  display: flex;
  align-items: center;
  gap: 12px;
  font-family: var(--font-display);
  font-weight: 800;
  font-size: 24px;
  letter-spacing: -0.04em;
  color: var(--fg-on-dark);
}
.footer-links {
  display: flex;
  gap: 22px;
  font-size: 13.5px;
  color: rgba(251, 247, 238, 0.65);
  flex-wrap: wrap;
}
.footer-link {
  color: inherit;
  text-decoration: none;
  cursor: pointer;
}
.footer-copy {
  font-size: 12px;
  color: rgba(251, 247, 238, 0.45);
}

/* ---- Privacy / Terms page ------------------------------------------- */
.privacy {
  padding: 64px 32px 96px;
  background: var(--bg-1);
}
.privacy-inner {
  max-width: 760px;
  margin: 0 auto;
}
.privacy-eyebrow {
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--color-honey-500);
}
.privacy-h1 {
  font-family: var(--font-display);
  font-weight: 800;
  font-size: clamp(40px, 5vw, 56px);
  line-height: 1.05;
  letter-spacing: -0.03em;
  margin: 14px 0 12px;
  color: var(--fg-1);
  text-wrap: balance;
}
.privacy-meta {
  font-size: 13.5px;
  color: var(--fg-3);
  margin: 0 0 32px;
}
.privacy-intro {
  font-size: 18px;
  line-height: 1.6;
  color: var(--fg-2);
  margin: 0 0 40px;
  text-wrap: pretty;
}
.privacy-h2 {
  font-family: var(--font-display);
  font-weight: 800;
  font-size: 32px;
  letter-spacing: -0.02em;
  margin: 56px 0 12px;
  padding-top: 24px;
  border-top: 1px solid var(--border-1);
  color: var(--fg-1);
}
.privacy-h2:first-of-type { border-top: 0; padding-top: 0; margin-top: 0; }
.privacy-h3 {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 21px;
  letter-spacing: -0.015em;
  margin: 36px 0 10px;
  color: var(--fg-1);
}
.privacy-h4 {
  font-family: var(--font-body);
  font-weight: 600;
  font-size: 15.5px;
  letter-spacing: 0;
  margin: 18px 0 4px;
  color: var(--fg-1);
}
.privacy-p {
  font-size: 16px;
  line-height: 1.65;
  color: var(--fg-2);
  margin: 0 0 14px;
}
.privacy-ul {
  font-size: 16px;
  line-height: 1.65;
  color: var(--fg-2);
  margin: 0 0 14px;
  padding-inline-start: 22px;
}
.privacy-ul li { margin-bottom: 6px; }
.privacy-p a, .privacy-ul a {
  color: var(--color-sage-500);
  text-decoration: underline;
  text-underline-offset: 3px;
}
.privacy-contact {
  margin-top: 56px;
  padding: 20px 24px;
  background: var(--bg-2);
  border: 1px solid var(--border-1);
  border-radius: 14px;
  font-size: 15px;
  color: var(--fg-2);
}
.privacy-contact a {
  color: var(--color-sage-500);
  font-weight: 600;
  text-decoration: underline;
  text-underline-offset: 3px;
}
.privacy-contact .privacy-p { margin: 0 0 10px; font-size: 15px; }
.privacy-contact .privacy-p:last-child { margin-bottom: 0; }
.privacy-note {
  font-size: 14.5px;
  line-height: 1.6;
  color: var(--fg-2);
  margin: 0 0 14px;
  padding: 14px 18px;
  background: var(--bg-2);
  border: 1px solid var(--border-1);
  border-inline-start: 3px solid var(--color-honey-500);
  border-radius: 12px;
}
.privacy-body code {
  font-family: ui-monospace, SFMono-Regular, Menlo, Consolas, monospace;
  font-size: 0.9em;
  background: var(--bg-2);
  border: 1px solid var(--border-1);
  border-radius: 5px;
  padding: 1px 5px;
}
.privacy-table-wrap {
  margin: 0 0 18px;
  overflow-x: auto;
  border: 1px solid var(--border-1);
  border-radius: 12px;
}
.privacy-table {
  width: 100%;
  border-collapse: collapse;
  font-size: 14.5px;
  line-height: 1.55;
}
.privacy-table th,
.privacy-table td {
  text-align: start;
  vertical-align: top;
  padding: 10px 14px;
  border-bottom: 1px solid var(--border-1);
}
.privacy-table thead th {
  font-weight: 700;
  color: var(--fg-1);
  background: var(--bg-2);
  white-space: nowrap;
}
.privacy-table tbody tr:last-child td { border-bottom: 0; }
.privacy-table td:first-child { font-weight: 600; color: var(--fg-1); }
/* Long compound words (e.g. German "Unterauftragsverarbeiter") must break
   rather than overflow the column on narrow viewports. */
.privacy-h1, .privacy-h2, .privacy-h3, .privacy-h4,
.privacy-p, .privacy-ul li, .privacy-table td {
  overflow-wrap: break-word;
  hyphens: auto;
}

/* ---- Hero mockup launcher (interactive demo trigger) ----------------- */
.chrome-launcher {
  position: relative;
  display: inline-block;
  margin: 0;
  padding: 0;
  background: transparent;
  border: 0;
  color: inherit;
  font: inherit;
  text-align: start;
  cursor: pointer;
  max-width: 100%;
  border-radius: 14px;
  transition: transform var(--dur-normal) var(--ease-out);
}
.chrome-launcher .chrome-window {
  transition: box-shadow var(--dur-normal) var(--ease-out);
}
.chrome-launcher:hover { transform: translateY(-4px); }
.chrome-launcher:active { transform: translateY(-1px); }
.chrome-launcher:hover .chrome-window {
  box-shadow: 0 36px 110px rgba(0, 0, 0, 0.44), 0 0 0 1px rgba(0, 0, 0, 0.16);
}
.chrome-launcher:focus-visible {
  outline: 3px solid var(--color-sage-500);
  outline-offset: 8px;
}

.chrome-launcher-badge {
  position: absolute;
  top: -18px;
  inset-inline-end: 18px;
  z-index: 2;
  background: var(--color-sage-500);
  color: var(--fg-on-dark);
  font-family: var(--font-body);
  font-size: 12.5px;
  font-weight: 600;
  letter-spacing: -0.01em;
  padding: 9px 14px 9px 11px;
  border-radius: 999px;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  box-shadow:
    0 12px 28px rgba(44, 82, 73, 0.44),
    0 0 0 1px rgba(255, 255, 255, 0.14) inset;
  transition: transform var(--dur-normal) var(--ease-out), background var(--dur-normal) var(--ease-out);
}
.chrome-launcher-badge-dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--color-honey-300);
  flex-shrink: 0;
}
.chrome-launcher-badge-arrow {
  flex-shrink: 0;
  transition: transform var(--dur-fast) var(--ease-out);
}
.chrome-launcher:hover .chrome-launcher-badge {
  background: var(--color-sage-600);
  transform: scale(1.04);
}
.chrome-launcher:hover .chrome-launcher-badge-arrow {
  transform: translateX(3px);
}

.chrome-launcher-hint {
  position: absolute;
  left: 50%;
  bottom: -32px;
  transform: translateX(-50%);
  font-size: 12.5px;
  font-weight: 500;
  color: var(--fg-3);
  white-space: nowrap;
  opacity: 0;
  pointer-events: none;
  transition: opacity var(--dur-normal) var(--ease-out);
}
.chrome-launcher:hover .chrome-launcher-hint,
.chrome-launcher:focus-visible .chrome-launcher-hint {
  opacity: 1;
}

/* ---- Sticky demo launcher ------------------------------------------- */
/* The chrome-launcher-badge itself relocates to a fixed top-center slot
   when the hero's chrome-launcher scrolls toward the top of the viewport.
   FLIP-animated in app.js — the badge IS the same DOM node moving. When
   floating, it carries its own button semantics (role + tabindex +
   aria-label) and a focus-visible outline. */
.chrome-launcher-badge--floating {
  position: fixed;
  top: var(--chrome-launcher-floating-top, 14px);
  left: 0;
  right: 0;
  margin: 0 auto;
  width: max-content;
  z-index: 40; /* above the nav (z:30) */
  cursor: pointer;
}
.chrome-launcher-badge--floating:hover {
  background: var(--color-sage-600);
  transform: scale(1.04);
}
.chrome-launcher-badge--floating:hover .chrome-launcher-badge-arrow {
  transform: translateX(3px);
}
.chrome-launcher-badge--floating:focus-visible {
  outline: 3px solid var(--color-sage-500);
  outline-offset: 6px;
}
@media (max-width: 560px) {
  .chrome-launcher-badge--floating { top: var(--chrome-launcher-floating-top, 10px); }
}

/* ---- Interactive demo modal ----------------------------------------- */
@keyframes demo-spin { to { transform: rotate(360deg); } }

.demo-overlay {
  position: fixed;
  inset: 0;
  z-index: 1100;
  background: rgba(15, 12, 8, 0.78);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 28px;
  animation: ob-fade-in var(--dur-normal) var(--ease-out);
}
.demo-overlay[hidden] { display: none; }

.demo-card {
  position: relative;
  width: 100%;
  height: 100%;
  max-width: 1240px;
  max-height: 820px;
  background: var(--color-cream-100);
  border-radius: 18px;
  overflow: hidden;
  box-shadow:
    0 60px 140px rgba(0, 0, 0, 0.5),
    0 0 0 1px rgba(255, 255, 255, 0.06) inset;
  animation: ob-slide-up 320ms var(--ease-out);
}
.demo-card-frame {
  width: 100%;
  height: 100%;
  border: 0;
  display: block;
}
.demo-card-loading {
  position: absolute;
  inset: 0;
  z-index: 1;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 14px;
  background: var(--color-cream-100);
  color: var(--color-sage-500);
  transition: opacity 220ms var(--ease-out);
}
.demo-card-loading.is-hidden {
  opacity: 0;
  pointer-events: none;
}
.demo-card-loading-spin {
  animation: demo-spin 0.95s linear infinite;
}
.demo-card-loading-text {
  font-size: 13px;
  font-weight: 500;
  color: var(--fg-3);
}

.demo-close {
  position: absolute;
  top: 20px;
  inset-inline-end: 20px;
  z-index: 2;
  height: 40px;
  padding: 0 14px 0 12px;
  border: 0;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.94);
  color: var(--fg-1);
  font-family: var(--font-body);
  font-size: 13.5px;
  font-weight: 600;
  letter-spacing: -0.01em;
  cursor: pointer;
  display: inline-flex;
  align-items: center;
  gap: 7px;
  box-shadow: 0 10px 28px rgba(0, 0, 0, 0.34);
  transition: background var(--dur-fast) var(--ease-out), transform var(--dur-fast) var(--ease-out);
}
.demo-close:hover { background: #fff; }
.demo-close:active { transform: translateY(1px); }

.demo-mobile-cover {
  display: none;
}

/* Was: html[lang="en"] .price-euro { display: none } — restored so the EN
   page also shows "29 €". The pricing is EU-only (clarified by the
   .price-eu-only badge) and EUR should be visible regardless of locale. */

/* ---- Responsive ------------------------------------------------------ */
@media (max-width: 960px) {
  .hero-inner,
  .pricing-bottom,
  .pillars-grid { grid-template-columns: 1fr !important; }
  .pillars-grid { gap: 16px; }
  .chrome-window { width: 100%; max-width: 520px; height: auto; aspect-ratio: 1 / 1; }
  .nav-links { display: none; }
  .pricing-card { padding: 32px 24px; }
  .hero { padding: 56px 24px 64px; }
  .pillars, .pricing { padding: 72px 24px; }
  .chrome-launcher-badge {
    top: -14px;
    inset-inline-end: 12px;
    font-size: 11.5px;
    padding: 7px 12px 7px 10px;
  }
}

@media (max-width: 720px) {
  .demo-overlay { padding: 0; }
  .demo-card { border-radius: 0; max-width: 100%; max-height: 100%; }
  .demo-close { top: 12px; inset-inline-end: 12px; padding: 0; width: 38px; height: 38px; justify-content: center; }
  .demo-close-label { display: none; }
}

@media (max-width: 560px) {
  .nav { padding: 0 18px; }
  .nav-inner { padding: 12px 0; gap: 12px; }
  .nav-brand { font-size: 22px; }
  .hero-form-wrap { margin-top: 24px; }
  .footer-inner { justify-content: flex-start; }
  .chrome-launcher-hint { display: none; }
}

/* ---- Accessibility: focus visibility -------------------------------- */
/* Single shared focus ring for keyboard users across every interactive
   element. The waitlist field uses :focus-within on the wrapper so the
   ring frames the entire input + submit (PRODUCT.md: "visible focus
   rings", DESIGN.md: "the wrapper carries the focus aesthetic"). */
.nav-link:focus-visible,
.nav-cta:focus-visible,
.lang-switch:focus-visible,
.lang-menu-item:focus-visible,
.footer-link:focus-visible,
.more-chip:focus-visible,
.wl-submit:focus-visible,
.ob-submit:focus-visible,
.ob-close:focus-visible,
.demo-close:focus-visible {
  outline: 2px solid var(--color-sage-500);
  outline-offset: 3px;
  border-radius: inherit;
}
.wl:focus-within .wl-field {
  outline: 2px solid var(--color-sage-500);
  outline-offset: 3px;
}
.wl[data-tone="dark"]:focus-within .wl-field {
  outline-color: var(--color-honey-300);
}
.ob-input:focus-visible {
  outline: 2px solid var(--color-sage-500);
  outline-offset: 2px;
}

/* ---- Accessibility: reduced motion ---------------------------------- */
/* PRODUCT.md commits to honoring this; DESIGN.md §6 Do #6 names the
   hero eyebrow pulse as the canonical case. We pause animations, kill
   hover translates, and shorten transitions to near-instant. */
@media (prefers-reduced-motion: reduce) {
  *,
  *::before,
  *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
    scroll-behavior: auto !important;
  }
  .dot-pulse,
  .app-banner-dot {
    animation: none;
  }
  .chrome-launcher:hover,
  .chrome-launcher:focus-visible {
    transform: none;
  }
}

/* ============ DEMO → SIGNUP MODAL ============
   Stacks above the demo modal (z-index 1100) so the demo stays visible
   but frozen behind a darker backdrop. Form is the existing .wl-form
   wired by wireWaitlist(). On success, the existing onboarding modal
   (z-index 1300) opens above this one. */
.ds-overlay {
  position: fixed;
  inset: 0;
  z-index: 1200;
  background: rgba(15, 12, 8, 0.62);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 24px;
  animation: ob-fade-in var(--dur-normal) var(--ease-out);
}
.ds-overlay[hidden] { display: none; }
.ds-dialog {
  position: relative;
  width: 100%;
  max-width: 440px;
  background: var(--bg-1);
  border-radius: 18px;
  padding: 32px 28px 26px;
  box-shadow: var(--shadow-xl);
  animation: ob-slide-up 260ms var(--ease-out);
}
.ds-close {
  position: absolute; top: 14px; right: 14px;
  width: 32px; height: 32px; border-radius: 50%;
  background: transparent; border: 0; color: var(--fg-2);
  display: flex; align-items: center; justify-content: center;
  cursor: pointer;
  transition: background var(--dur-fast) var(--ease-out), color var(--dur-fast) var(--ease-out);
}
.ds-close:hover { background: var(--color-cream-200); color: var(--fg-1); }
.ds-header { margin-bottom: 18px; }
.ds-title {
  font-family: var(--font-display); font-size: 22px; font-weight: 600;
  letter-spacing: -0.02em; color: var(--fg-1); line-height: 1.22;
}

/* =========================================================================
   ObsidianOS-style centered hero — DESKTOP ONLY (mobile untouched)
   Replaces the 2-column hero + chrome-window mockup with a centered text
   block + live iframe preview of the demo. The iframe pops out of the
   page as you scroll (--pop), text lifts away in parallax (--scroll).
   The .chrome-launcher-badge becomes "Prueba Mimos ↗" centered on the
   demo iframe; on scroll-past, wireStickyDemoLauncher() FLIPs it to the
   top of the viewport.
   ========================================================================= */
@media (min-width: 900px) {
  /* Drop the .dot-pulse from the hero eyebrow on desktop — the H1 is big
     enough; the dot clutters the centered layout. Mobile keeps the dot. */
  .hero .eyebrow .dot-pulse { display: none; }
  .hero .eyebrow { gap: 0; }

  .hero {
    padding: 32px 24px 120px;
    min-height: 100vh;
    display: flex;
    flex-direction: column;
    overflow: visible; /* override base .hero overflow:hidden — launcher shadow needs to escape */
  }
  /* Paws background covers the WHOLE hero (was right-edge only) */
  .hero .hero-bg {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    top: 0; right: 0;
    opacity: 0.04; /* much more subtle than 0.07 default */
    transform: translateY(calc(var(--scroll, 0) * -40px));
  }
  .hero .hero-bg svg { width: 100%; height: 100%; display: block; }

  .hero-inner {
    display: flex !important;
    flex-direction: column;
    align-items: center;
    text-align: center;
    gap: 20px;
    width: 100%;
    max-width: 1320px;
    margin: 0 auto;
    grid-template-columns: none; /* unset the 2-column grid */
  }
  .hero-inner > div:first-child { max-width: 720px; }
  .hero-inner .eyebrow,
  .hero-inner .hero-form-wrap { justify-content: center; }
  .hero-inner .hero-form-wrap { max-width: 460px; margin: 18px auto 0; }

  /* Text parallax — driven by .hero --scroll var (0 at scroll=0 → 1 at scroll=0.6vh) */
  .hero { --scroll: 0; }
  .hero-h1 {
    font-size: clamp(40px, 4.4vw, 60px);
    line-height: 1.05;
    letter-spacing: -0.022em;
    transform: translateY(calc(var(--scroll) * -40px));
    opacity: calc(1 - var(--scroll) * 0.85);
    will-change: transform, opacity;
  }
  .hero-sub {
    margin: 12px auto 0;
    max-width: 560px;
    transform: translateY(calc(var(--scroll) * -28px));
    opacity: calc(1 - var(--scroll) * 0.9);
  }
  .hero-inner .eyebrow {
    transform: translateY(calc(var(--scroll) * -50px));
    opacity: calc(1 - var(--scroll) * 1.2);
  }
  .hero-inner .hero-form-wrap {
    transform: translateY(calc(var(--scroll) * -16px));
    opacity: calc(1 - var(--scroll) * 0.75);
  }

  /* Launcher: full-width block (was inline-block), iframe-as-preview.
     Scale + shadow grow with --pop (driven by scroll handler in app.js). */
  .hero-visual {
    width: 100%;
    max-width: 1200px;
    margin: 2vh auto 0;
  }
  .chrome-launcher {
    --pop: 0;
    display: block;
    width: 100%;
    aspect-ratio: 16 / 10;
    margin: 0;
    padding: 0;
    background: transparent;
    border: 0;
    border-radius: 22px;
    cursor: pointer;
    transform: scale(calc(0.94 + var(--pop) * 0.06));
    transform-origin: 50% 0%;
    box-shadow:
      0 calc(60px * var(--pop)) calc(140px * var(--pop)) -32px rgba(54, 36, 20, calc(0.32 * var(--pop))),
      0 calc(24px * var(--pop)) calc(60px  * var(--pop)) -16px rgba(54, 36, 20, calc(0.18 * var(--pop))),
      0 0 0 1px rgba(26, 22, 16, calc(0.06 * var(--pop)));
    transition: transform var(--dur-normal) var(--ease-out);
  }
  .chrome-launcher:hover {
    transform: scale(calc(0.94 + var(--pop) * 0.06)) translateY(-4px);
  }

  /* Hide the chrome-window mockup on desktop — iframe takes over */
  .chrome-launcher .chrome-window { display: none; }

  /* Iframe wrap — rounded clipping container over the launcher box */
  .chrome-launcher-frame-wrap {
    position: absolute;
    inset: 0;
    border-radius: 22px;
    overflow: hidden;
    background: var(--bg-2);
    display: block;
  }
  .chrome-launcher-frame {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    border: 0;
    display: block;
    pointer-events: none;
    background: var(--bg-2);
  }

  /* Badge becomes "Prueba Mimos" centered on the iframe.
     HOTFIX: scoped to `.chrome-launcher .chrome-launcher-badge` so that when
     wireStickyDemoLauncher() moves the badge into <body> on scroll-past,
     this rule no longer matches and `.chrome-launcher-badge--floating`
     takes over (position:fixed, top:14px). Without the descendant scope,
     this @media rule wins on cascade order and the floating pill renders
     mid-page instead of anchored at top. */
  .chrome-launcher .chrome-launcher-badge {
    top: 28%;
    left: 50%;
    inset-inline-end: auto;
    font-size: 15px;
    padding: 13px 20px 13px 16px;
    gap: 10px;
    box-shadow:
      0 20px 50px rgba(44, 82, 73, 0.42),
      0 0 0 1px rgba(255, 255, 255, 0.16) inset;
    transform: translate(-50%, -50%);
  }
  .chrome-launcher:hover .chrome-launcher-badge {
    background: var(--color-sage-600);
    transform: translate(-50%, calc(-50% - 6px)) scale(1.04);
    box-shadow:
      0 36px 80px rgba(44, 82, 73, 0.55),
      0 0 0 1px rgba(255, 255, 255, 0.20) inset;
  }
  /* Arrow removed (user requested no ↗ on "Prueba Mimos") */
  .chrome-launcher-badge-arrow { display: none; }
  /* Hide the hint tooltip on desktop — the centered pill is enough affordance */
  .chrome-launcher-hint { display: none; }
}

/* Pillars header: compact H size on desktop. The new H is longer than the
   previous "Tres cosas..." headline (95 vs 52 chars) — at the old size
   it wrapped to 3 lines and dominated the section visually. Dropping
   ~20% (60px → 48px max) wraps to 2 lines, balances better against the
   quippy sub and the cards below. Mobile keeps the existing clamp min. */
@media (min-width: 900px) {
  .pillars-h { font-size: clamp(32px, 4vw, 48px); }
}

/* ---- Guides pages ----------------------------------------------------- */
.insights-nav-cta {
  display: inline-flex;
  align-items: center;
  text-decoration: none;
}

.insights-page {
  background:
    linear-gradient(180deg, rgba(251, 243, 223, 0.58), rgba(247, 242, 232, 0) 420px),
    var(--bg-1);
}

.insights-hero {
  max-width: 1240px;
  margin: 0 auto;
  padding: 86px 32px 76px;
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(360px, 0.72fr);
  gap: 58px;
  align-items: center;
}

.insights-hero-copy {
  max-width: 690px;
}

.insights-h1 {
  font-family: var(--font-display);
  font-weight: 800;
  font-size: 72px;
  line-height: 1.02;
  letter-spacing: 0;
  margin: 16px 0 22px;
  color: var(--fg-1);
  text-wrap: balance;
}

.insights-lede {
  max-width: 620px;
  margin: 0;
  color: var(--fg-2);
  font-size: 20px;
  line-height: 1.58;
  text-wrap: pretty;
}

.insights-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 30px;
}

.insights-button {
  display: inline-flex;
  align-items: center;
  min-height: 46px;
  padding: 12px 18px;
  border-radius: 12px;
  font-weight: 700;
  text-decoration: none;
  transition: transform var(--dur-fast) var(--ease-out), background-color var(--dur-fast) var(--ease-out);
}

.insights-button:hover {
  opacity: 1;
  transform: translateY(-1px);
}

.insights-button-primary {
  background: var(--color-sage-500);
  color: var(--fg-on-dark);
  box-shadow: inset 0 1px 0 rgba(251, 247, 238, 0.14);
}

.insights-button-secondary {
  background: var(--color-cream-200);
  color: var(--fg-2);
  border: 1px solid var(--border-1);
}

.insights-hero-media {
  margin: 0;
  border-radius: 28px;
  overflow: hidden;
  background: var(--bg-2);
  box-shadow: var(--shadow-lg);
}

.insights-hero-media img {
  display: block;
  width: 100%;
  aspect-ratio: 4 / 5;
  object-fit: cover;
}

.insights-section {
  max-width: 1240px;
  margin: 0 auto;
  padding: 72px 32px 28px;
}

.insights-section-split {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(300px, 0.62fr);
  gap: 56px;
  align-items: end;
}

.insights-section-split--solo {
  display: block;
}

.insights-section-split--solo > div {
  max-width: 760px;
}

.insights-h2 {
  font-family: var(--font-display);
  font-weight: 800;
  font-size: 46px;
  line-height: 1.08;
  letter-spacing: 0;
  margin: 14px 0 0;
  color: var(--fg-1);
  text-wrap: balance;
}

.insights-section-copy {
  margin: 0 0 6px;
  color: var(--fg-2);
  font-size: 18px;
  line-height: 1.62;
  text-wrap: pretty;
}

.insights-grid {
  max-width: 1240px;
  margin: 0 auto;
  padding: 10px 32px 64px;
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 18px;
}

.insights-card {
  min-height: 188px;
  display: flex;
  flex-direction: column;
  padding: 28px;
  border-radius: 22px;
  background: var(--bg-2);
  border: 1px solid var(--border-1);
  box-shadow: var(--shadow-sm);
}

.insights-card-link {
  color: inherit;
  text-decoration: none;
  display: flex;
  flex-direction: column;
  min-height: 100%;
  gap: 14px;
}

.insights-card-link:hover {
  opacity: 1;
}

.insights-card-link:hover .insights-card-cta {
  color: var(--color-sage-600);
}

.insights-card-featured {
  grid-column: span 2;
  padding: 0;
  overflow: hidden;
}

.insights-card-media img {
  display: block;
  width: 100%;
  aspect-ratio: 16 / 7;
  object-fit: cover;
}

.insights-card-body {
  padding: 24px 26px 26px;
}

.insights-card-topline {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  margin-bottom: 12px;
}

.insights-card-topline .insights-kicker {
  margin: 0;
}

.insights-card-topline span {
  flex-shrink: 0;
  padding: 4px 8px;
  border-radius: 999px;
  background: var(--color-honey-50);
  border: 1px solid rgba(176, 121, 25, 0.20);
  color: var(--color-honey-500);
  font-size: 10.5px;
  font-weight: 800;
}

.insights-kicker {
  margin: 0 0 12px;
  color: var(--color-honey-500);
  font-size: 12px;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0;
}

.insights-subject-label,
.insights-topic-meta span {
  margin: 0 0 7px;
  color: var(--fg-3);
  font-size: 11px;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0;
}

.insights-card h3 {
  font-family: var(--font-display);
  font-weight: 800;
  font-size: 28px;
  line-height: 1.14;
  letter-spacing: 0;
  margin: 0;
  color: var(--fg-1);
  text-wrap: balance;
}

.insights-card p:not(.insights-kicker) {
  margin: 0;
  color: var(--fg-2);
  line-height: 1.56;
}

.insights-card-cta {
  display: inline-flex;
  align-items: center;
  width: max-content;
  margin-top: 18px;
  color: var(--color-sage-500);
  font-weight: 800;
}

.insights-topic-meta {
  margin-top: 22px;
}

.insights-topic-meta-secondary {
  margin-top: 12px;
}

.insights-keywords {
  list-style: none;
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin: 0;
  padding: 0;
}

.insights-keywords li {
  padding: 7px 10px;
  border-radius: 999px;
  background: var(--color-cream-200);
  color: var(--fg-2);
  border: 1px solid var(--border-1);
  font-size: 12.5px;
  font-weight: 700;
  line-height: 1.25;
}

.insights-intent,
.insights-format {
  margin-top: 18px !important;
  padding-top: 16px;
  border-top: 1px solid var(--border-1);
  font-size: 14px;
}

.insights-format {
  margin-top: 12px !important;
  padding-top: 0;
  border-top: 0;
}

.insights-intent strong,
.insights-format strong {
  color: var(--fg-1);
  font-weight: 800;
}

.insights-seo-panel {
  width: calc(100% - 64px);
  max-width: 1180px;
  margin: 44px auto 0;
  padding: 42px;
  display: grid;
  grid-template-columns: minmax(0, 0.7fr) minmax(420px, 1fr);
  gap: 44px;
  background: var(--color-sage-500);
  color: var(--fg-on-dark);
  border-radius: 28px;
  box-shadow: 0 30px 60px -20px rgba(20, 43, 39, 0.4);
}

.insights-seo-panel .insights-h2 {
  color: var(--fg-on-dark);
}

.insights-workflow-grid {
  display: grid;
  gap: 12px;
}

.insights-workflow-grid article {
  display: grid;
  grid-template-columns: 38px minmax(110px, 0.32fr) minmax(0, 1fr);
  gap: 14px;
  align-items: baseline;
  padding: 16px 0;
  border-top: 1px solid rgba(251, 247, 238, 0.16);
}

.insights-workflow-grid article:last-child {
  border-bottom: 1px solid rgba(251, 247, 238, 0.16);
}

.insights-workflow-grid span {
  font-family: var(--font-display);
  font-weight: 800;
  color: var(--color-honey-300);
}

.insights-workflow-grid strong {
  font-family: var(--font-display);
  font-size: 22px;
  color: var(--fg-on-dark);
}

.insights-workflow-grid p {
  margin: 0;
  color: rgba(251, 247, 238, 0.78);
  line-height: 1.55;
}

.insights-lanes {
  display: grid;
  gap: 12px;
}

.insights-lane {
  display: grid;
  grid-template-columns: 42px minmax(120px, 0.42fr) minmax(0, 1fr);
  gap: 14px;
  align-items: baseline;
  padding: 17px 0;
  border-top: 1px solid var(--border-1);
}

.insights-lane:last-child {
  border-bottom: 1px solid var(--border-1);
}

.insights-lane span {
  font-family: var(--font-display);
  font-weight: 800;
  color: var(--color-terracotta-500);
}

.insights-lane strong {
  font-family: var(--font-display);
  font-size: 22px;
  color: var(--fg-1);
}

.insights-lane p {
  margin: 0;
  color: var(--fg-2);
  line-height: 1.5;
}

.insights-article-page {
  background:
    linear-gradient(180deg, rgba(251, 243, 223, 0.52), rgba(247, 242, 232, 0) 360px),
    var(--bg-1);
}

.insights-article-shell {
  max-width: 880px;
  margin: 0 auto;
  padding: 72px 32px 86px;
}

.insights-back-link {
  color: var(--color-sage-500);
  font-weight: 800;
  text-decoration: none;
}

.insights-article-header {
  padding: 32px 0 34px;
  border-bottom: 1px solid var(--border-1);
}

.insights-article-title {
  font-family: var(--font-display);
  font-weight: 800;
  font-size: 58px;
  line-height: 1.04;
  letter-spacing: 0;
  margin: 12px 0 18px;
  color: var(--fg-1);
  text-wrap: balance;
  overflow-wrap: anywhere;
}

.insights-article-dek {
  margin: 0;
  max-width: 720px;
  color: var(--fg-2);
  font-size: 21px;
  line-height: 1.56;
  text-wrap: pretty;
  overflow-wrap: break-word;
}

.insights-article-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 22px;
}

.insights-article-meta span,
.insights-article-keywords li {
  display: inline-flex;
  align-items: center;
  min-height: 31px;
  padding: 6px 11px;
  border-radius: 999px;
  background: var(--color-cream-200);
  border: 1px solid var(--border-1);
  color: var(--fg-2);
  font-size: 12.5px;
  font-weight: 800;
}

.insights-article-keywords {
  list-style: none;
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin: 12px 0 0;
  padding: 0;
}

.insights-article-header .insights-subject-label {
  margin-top: 20px;
}

.insights-article-body {
  padding-top: 34px;
  color: var(--fg-2);
  font-size: 18px;
  line-height: 1.72;
  overflow-wrap: break-word;
}

.insights-article-body > p,
.insights-article-body section > p {
  margin: 0 0 18px;
}

.insights-article-body section {
  margin-top: 38px;
}

.insights-article-body h2 {
  font-family: var(--font-display);
  font-size: 34px;
  line-height: 1.12;
  letter-spacing: 0;
  margin: 0 0 16px;
  color: var(--fg-1);
  text-wrap: balance;
}

.insights-article-body > h2 {
  margin-top: 48px;
}

.insights-article-body > h2:first-child {
  margin-top: 0;
}

.insights-article-body > p + h2,
.insights-article-body > ul + h2,
.insights-article-body > ol + h2,
.insights-article-body > figure + h2,
.insights-article-body > blockquote + h2 {
  margin-top: 50px;
}

.insights-article-body h3 {
  font-family: var(--font-display);
  font-size: 22px;
  line-height: 1.18;
  letter-spacing: 0;
  margin: 24px 0 10px;
  color: var(--fg-1);
}

.insights-article-body > h3 {
  margin-top: 34px;
}

.insights-article-body strong {
  color: var(--fg-1);
  font-weight: 800;
}

.insights-article-body a {
  color: var(--color-sage-500);
  font-weight: 800;
  text-decoration-thickness: 1px;
  text-underline-offset: 3px;
}

.insights-article-body [id] {
  scroll-margin-top: 104px;
}

.insights-article-body hr {
  margin: 34px 0;
  border: 0;
  border-top: 1px solid var(--border-1);
}

.insights-article-body ul {
  margin: 16px 0 28px;
  padding: 0;
  list-style: none;
  display: grid;
  gap: 12px;
}

.insights-article-body ol {
  margin: 16px 0 28px;
  padding-inline-start: 24px;
  display: grid;
  gap: 12px;
}

.insights-article-body li {
  position: relative;
  padding-inline-start: 22px;
}

.insights-article-body li::before {
  content: "";
  position: absolute;
  inset-inline-start: 0;
  top: 0.72em;
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--color-honey-300);
}

.insights-article-body ol li::before,
.insights-article-body .insights-checklist li::before {
  content: none;
}

.insights-data-table {
  margin: 30px 0 34px;
}

.insights-article-body > .insights-data-table + p {
  margin-top: 2px;
}

.insights-data-table > div {
  overflow-x: auto;
  border: 1px solid var(--border-1);
  border-radius: 18px;
  background: var(--bg-2);
}

.insights-data-table table {
  width: 100%;
  min-width: 800px;
  border-collapse: collapse;
  font-size: 15px;
  line-height: 1.55;
}

.insights-data-table th,
.insights-data-table td {
  padding: 15px 18px;
  text-align: start;
  border-bottom: 1px solid var(--border-1);
  vertical-align: top;
  white-space: nowrap;
}

.insights-data-table th {
  color: var(--fg-1);
  font-size: 12px;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  background: var(--color-cream-200);
}

.insights-data-table tbody tr:last-child td {
  border-bottom: 0;
}

.insights-data-table figcaption {
  margin-top: 9px;
  color: var(--fg-3);
  font-size: 13px;
  line-height: 1.5;
}

.insights-data-table-scroll > div {
  overflow-x: auto;
}

.insights-article-note,
.insights-toc,
.insights-inline-cta,
.insights-checklist {
  border: 1px solid var(--border-1);
  border-radius: 18px;
  background: var(--bg-2);
}

.insights-article-note {
  margin: 28px 0 32px;
  padding: 18px 20px;
  border-inline-start: 5px solid var(--color-sage-400);
  color: var(--fg-2);
}

.insights-article-note strong {
  display: inline;
}

.insights-toc {
  margin: 28px 0 38px;
  padding: 20px 22px;
}

.insights-toc h2 {
  margin-bottom: 12px;
  font-size: 24px;
}

.insights-toc ol {
  margin: 0;
  padding-inline-start: 22px;
  display: grid;
  gap: 8px;
  color: var(--fg-3);
  font-size: 15px;
  line-height: 1.45;
}

.insights-toc li {
  padding-left: 0;
}

.insights-toc li::before {
  content: none;
}

.insights-inline-cta {
  margin: 30px 0 38px;
  padding: 22px;
  display: grid;
  gap: 12px;
  border-color: rgba(44, 82, 73, 0.22);
  background: var(--color-sage-50);
}

.insights-inline-cta strong {
  display: block;
  font-family: var(--font-display);
  font-size: 22px;
  line-height: 1.16;
}

.insights-inline-cta .insights-button {
  width: fit-content;
  margin-top: 4px;
}

.insights-checklist {
  padding: 22px;
}

.insights-article-body .insights-checklist {
  margin-top: 14px;
}

.insights-article-body .insights-checklist ul {
  padding-inline-start: 22px;
  list-style: disc;
}

.insights-article-body .insights-checklist li {
  display: list-item;
  padding-left: 0;
}

.insights-checklist h3:first-child {
  margin-top: 0;
}

.insights-inline-action {
  margin: 18px 0 0 !important;
}

.insights-faq-dl {
  display: grid;
  gap: 10px;
  margin: 0;
}

.insights-faq-dl dt {
  margin-top: 12px;
  color: var(--fg-1);
  font-weight: 800;
}

.insights-faq-dl dd {
  margin: 0;
  color: var(--fg-2);
}

.insights-source {
  color: var(--fg-3);
  font-size: 13px;
  line-height: 1.55;
}

.insights-copy-blocks {
  display: grid;
  gap: 12px;
  margin: 22px 0 6px;
}

.insights-copy-block {
  padding: 18px 20px;
  border: 1px solid var(--border-1);
  border-radius: 18px;
  background: var(--color-honey-50, #fbf3df);
}

.insights-copy-block h3 {
  margin-top: 0;
}

.insights-copy-block p {
  margin-bottom: 10px !important;
}

.insights-copy-block p:last-child {
  margin-bottom: 0 !important;
}

.insights-faq-section {
  padding-top: 8px;
}

.insights-faq-list {
  display: grid;
  gap: 12px;
}

.insights-faq-item {
  padding: 18px 20px;
  border-radius: 18px;
  background: var(--bg-2);
  border: 1px solid var(--border-1);
}

.insights-faq-item h3 {
  margin-top: 0;
  font-size: 21px;
}

.insights-faq-item p {
  margin-bottom: 0 !important;
}

.insights-article-cta {
  margin-top: 44px;
  padding: 28px;
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 24px;
  align-items: center;
  background: var(--color-sage-500);
  color: var(--fg-on-dark);
  border-radius: 24px;
  box-shadow: 0 30px 60px -20px rgba(20, 43, 39, 0.34);
}

.insights-article-cta h2 {
  margin: 0 0 8px;
  color: var(--fg-on-dark);
  font-size: 30px;
}

.insights-article-cta p {
  color: rgba(251, 247, 238, 0.78);
}

.insights-article-cta .insights-kicker {
  color: var(--color-honey-300);
}

.insights-article-cta .insights-button-primary {
  background: var(--color-honey-300);
  color: var(--fg-1);
  white-space: nowrap;
}

.insights-related {
  margin-top: 44px;
  padding-top: 34px;
  border-top: 1px solid var(--border-1);
}

.insights-related h2 {
  font-size: 28px;
}

.insights-related > div {
  display: grid;
  gap: 10px;
}

.insights-related-link {
  display: grid;
  grid-template-columns: minmax(120px, 0.28fr) minmax(0, 1fr);
  gap: 16px;
  align-items: baseline;
  padding: 14px 0;
  color: inherit;
  text-decoration: none;
  border-top: 1px solid var(--border-1);
}

.insights-related-link:last-child {
  border-bottom: 1px solid var(--border-1);
}

.insights-related-link span {
  color: var(--color-honey-500);
  font-size: 12px;
  font-weight: 800;
  text-transform: uppercase;
}

.insights-related-link strong {
  color: var(--fg-1);
  font-family: var(--font-display);
  font-size: 22px;
  line-height: 1.18;
}

@media (max-width: 960px) {
  .insights-hero,
  .insights-section-split,
  .insights-seo-panel { grid-template-columns: 1fr; }
  .insights-hero {
    padding: 58px 24px 56px;
    gap: 34px;
  }
  .insights-h1 { font-size: 56px; }
  .insights-h2 { font-size: 38px; }
  .insights-article-title { font-size: 46px; }
  .insights-article-shell { padding: 58px 24px 72px; }
  .insights-section { padding: 58px 24px 24px; }
  .insights-grid {
    padding: 18px 24px 34px;
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
  .insights-card-featured { grid-column: span 2; }
  .insights-hero-media img { aspect-ratio: 16 / 10; }
  .insights-seo-panel {
    width: calc(100% - 48px);
    padding: 34px;
    gap: 30px;
  }
}

@media (max-width: 560px) {
  .insights-page .insights-nav-cta { display: none; }
  .insights-hero { padding: 42px 18px 44px; }
  .insights-h1 { font-size: 42px; line-height: 1.06; }
  .insights-lede { font-size: 18px; }
  .insights-article-shell { width: 100%; padding: 42px 18px 62px; }
  .insights-article-title { font-size: 34px; line-height: 1.08; }
  .insights-article-dek,
  .insights-article-body { font-size: 17px; }
  .insights-article-body h2 { font-size: 29px; }
  .insights-actions { display: grid; }
  .insights-button { justify-content: center; width: 100%; }
  .insights-section { padding: 46px 18px 18px; }
  .insights-h2 { font-size: 32px; }
  .insights-grid {
    padding: 18px;
    grid-template-columns: 1fr;
  }
  .insights-card,
  .insights-card-featured { grid-column: span 1; }
  .insights-card { min-height: auto; }
  .insights-seo-panel {
    width: calc(100% - 36px);
    padding: 26px;
    border-radius: 22px;
  }
  .insights-workflow-grid article,
  .insights-lane {
    grid-template-columns: 36px minmax(0, 1fr);
    gap: 8px 12px;
  }
  .insights-workflow-grid p,
  .insights-lane p {
    grid-column: 2;
  }
  .insights-article-cta {
    grid-template-columns: 1fr;
    padding: 24px;
    border-radius: 20px;
  }
  .insights-article-cta .insights-button {
    width: 100%;
    justify-content: center;
  }
  .insights-data-table > div {
    overflow-x: visible;
  }
  .insights-data-table table,
  .insights-data-table thead,
  .insights-data-table tbody,
  .insights-data-table tr,
  .insights-data-table td {
    display: block;
    width: 100%;
  }
  .insights-data-table table {
    min-width: 0;
  }
  .insights-data-table thead {
    position: absolute;
    width: 1px;
    height: 1px;
    overflow: hidden;
    clip: rect(0 0 0 0);
  }
  .insights-data-table tr {
    padding: 12px 0;
    border-bottom: 1px solid var(--border-1);
  }
  .insights-data-table tr:last-child {
    border-bottom: 0;
  }
  .insights-data-table td {
    display: grid;
    grid-template-columns: minmax(96px, 0.42fr) minmax(0, 1fr);
    gap: 12px;
    padding: 5px 14px;
    border-bottom: 0;
    white-space: normal;
  }
  .insights-data-table td::before {
    content: attr(data-label);
    color: var(--fg-3);
    font-size: 10.5px;
    font-weight: 800;
    letter-spacing: 0.04em;
    text-transform: uppercase;
  }
  .insights-related-link {
    grid-template-columns: 1fr;
    gap: 6px;
  }
}

.blog-article-shell {
  max-width: 980px;
}

.blog-article-shell .insights-article-header {
  max-width: 860px;
  margin-left: auto;
  margin-right: auto;
}

.blog-article-body {
  max-width: 760px;
  margin-left: auto;
  margin-right: auto;
  line-height: 1.62;
}

.blog-article-body > p {
  margin-bottom: 16px;
}

.blog-article-body h2 {
  margin-top: 48px;
  margin-bottom: 18px;
}

.blog-article-body h3 {
  margin-top: 28px;
  margin-bottom: 12px;
}

.blog-article-body h2 + h3,
.blog-article-body h3 + p {
  margin-top: 0;
}

.blog-article-body > h2:has(+ h3) {
  margin-bottom: 24px;
}

.blog-article-body .insights-table-heading {
  width: min(980px, calc(100vw - 64px));
  margin: 34px 50% 12px;
  transform: translateX(-50%);
  font-size: 20px;
  line-height: 1.2;
}

.blog-article-body .insights-table-heading + .insights-data-table {
  margin-top: 0;
}

.blog-article-body .insights-data-table {
  width: min(980px, calc(100vw - 64px));
  margin: 22px 50%;
  transform: translateX(-50%);
}

.blog-article-body .insights-data-table > div {
  border-radius: 14px;
  box-shadow: var(--shadow-xs);
}

.blog-article-body .insights-data-table table {
  font-size: 15.5px;
}

.blog-article-body .insights-data-table th,
.blog-article-body .insights-data-table td {
  padding: 14px 18px;
}

.blog-article-body .insights-data-table + p {
  margin-top: 4px;
}

.blog-article-body hr {
  margin: 42px 0 38px;
}

.blog-article-body blockquote {
  margin: 26px 0;
  padding: 22px 24px;
  border: 1px solid rgba(176, 121, 25, 0.24);
  border-radius: 18px;
  background: var(--color-honey-50);
  color: var(--fg-1);
}

.blog-article-body blockquote > :first-child {
  margin-top: 0;
}

.blog-article-body blockquote > :last-child {
  margin-bottom: 0;
}

.blog-article-body .insights-checklist-label {
  margin: 22px 0 10px;
  color: var(--fg-1);
  font-family: var(--font-display);
  font-size: 22px;
  line-height: 1.18;
}

.blog-article-body .insights-checklist-label:first-of-type {
  margin-top: 8px;
}

.blog-article-body .insights-checklist {
  margin: 0 0 24px;
  padding: 16px 18px;
  display: grid;
  gap: 12px;
  border-radius: 14px;
}

.blog-article-body .insights-checklist li {
  display: grid;
  grid-template-columns: 18px minmax(0, 1fr);
  gap: 12px;
  align-items: start;
  padding-left: 0;
  line-height: 1.48;
}

.blog-article-body .insights-checklist li::before {
  content: none;
}

.blog-article-body .insights-checkbox {
  width: 16px;
  height: 16px;
  margin-top: 0.28em;
  border: 1.5px solid var(--color-sage-500);
  border-radius: 4px;
  background: var(--bg-2);
}

.blog-index-grid {
  padding-bottom: 86px;
}

@media (max-width: 560px) {
  .blog-article-body .insights-table-heading {
    width: 100%;
    margin: 26px 0 10px;
    transform: none;
    font-size: 19px;
  }

  .blog-article-body .insights-data-table {
    width: 100%;
    margin: 18px 0 20px;
    transform: none;
  }

  .blog-article-page .insights-data-table > div {
    overflow-x: auto;
  }

  .blog-article-page .insights-data-table table {
    display: table;
    width: 100%;
    min-width: 680px;
    border-collapse: collapse;
  }

  .blog-article-page .insights-data-table thead {
    position: static;
    width: auto;
    height: auto;
    overflow: visible;
    clip: auto;
  }

  .blog-article-page .insights-data-table tbody {
    display: table-row-group;
  }

  .blog-article-page .insights-data-table tr {
    display: table-row;
    padding: 0;
    border-bottom: 0;
  }

  .blog-article-page .insights-data-table th,
  .blog-article-page .insights-data-table td {
    display: table-cell;
    width: auto;
    padding: 12px 14px;
    border-bottom: 1px solid var(--border-1);
    white-space: nowrap;
  }

  .blog-article-page .insights-data-table td::before {
    content: none;
  }
}

/* Pilot offer banner — shown only for visitors in Spain and Portugal. */
.pilot-banner{display:none;position:sticky;top:0;z-index:40;overflow:hidden;background:var(--color-sage-600);color:var(--color-cream-100);font-size:14.5px;line-height:1.35}
.pilot-banner.is-on{display:block}
.pilot-banner-inner{max-width:1120px;margin:0 auto;padding:9px 32px;display:flex;align-items:center;justify-content:center;gap:14px;flex-wrap:nowrap;text-align:center;min-width:0}
.pilot-banner-text{font-weight:600;min-width:0;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}
.pilot-banner-cta{display:inline-flex;align-items:center;gap:6px;flex:none;border:0;border-radius:999px;padding:6px 15px;background:var(--color-cream-100);color:var(--color-sage-600);font-weight:700;font-size:13px;font-family:inherit;cursor:pointer;white-space:nowrap}
.pilot-banner-cta:hover{opacity:.9}
html.mimos-pilot-active .nav{top:var(--pilot-banner-height,0px);background:rgba(247,242,232,.96)}
html.mimos-pilot-active .nav-cta{display:none}
html.mimos-pilot-active [id]{scroll-margin-top:calc(80px + var(--pilot-banner-height,0px))}
html.mimos-pilot-active{--chrome-launcher-floating-top:calc(var(--pilot-banner-height,0px) + 15px)}
@media (max-width:560px){.pilot-banner-inner{padding:8px 12px;gap:8px;font-size:13px;text-align:start}.pilot-banner-cta{padding:6px 12px;font-size:12px}}
@media (max-width:560px){html.mimos-pilot-active{--chrome-launcher-floating-top:calc(var(--pilot-banner-height,0px) + 8px)}}
@media (max-width:360px){.pilot-banner{font-size:10.8px}.pilot-banner-inner{padding:6px;gap:4px}.pilot-banner-cta{padding:5px 7px;gap:4px;font-size:10.5px}}

/* ---- RTL (Arabic) ------------------------------------------------------ */
/* The layout itself mirrors automatically: flex/grid follow `dir`, and the
   directional rules above use CSS logical properties (margin-inline-start,
   inset-inline-end, text-align: start, …) so they flip for free. This block
   only covers what logical properties can't express. */

/* Arabic is a joined script — the Latin display tracking (negative
   letter-spacing on headings, positive tracking on eyebrows/labels) breaks
   glyph joining and must be neutralized wholesale. */
[dir="rtl"],
[dir="rtl"] * {
  letter-spacing: 0;
}

/* Directional arrow on the demo-launcher badge: flip the glyph and mirror
   the 3px hover nudge. */
[dir="rtl"] .chrome-launcher-badge-arrow {
  transform: scaleX(-1);
}
[dir="rtl"] .chrome-launcher:hover .chrome-launcher-badge-arrow,
[dir="rtl"] .chrome-launcher-badge--floating:hover .chrome-launcher-badge-arrow {
  transform: translateX(-3px) scaleX(-1);
}
