:root {
  --cobalt: #2a5fd9;
  --cobalt-deep: #1d4ed8;
  --cyan: #a9c6ff;
  --bg: #ffffff;
  --soft: #f8faff;
  --panel: #ffffff;
  --panel-2: #eef4fc;
  --ink: #0e1b2e;
  --muted: #5a6b82;
  --subtle: #5b6b80;
  --line: #e2e9f4;
  --line-strong: #c8d6ea;
  --accent: #2a5fd9;
  --accent-soft: #e8f0ff;
  --focus-ring: #1d4ed8;
  --radius: 16px;
  --pill: 999px;
  --font: Inter, "Google Sans", system-ui, -apple-system, "Segoe UI", sans-serif;
  --motion: 160ms;
  color-scheme: light;
}

[data-theme="dark"] {
  --bg: #070d18;
  --soft: #0c1526;
  --panel: #101a2b;
  --panel-2: #142238;
  --ink: #f1f7f2;
  --muted: #a9b7cb;
  --subtle: #8b9bb2;
  --line: #22324a;
  --line-strong: #35506f;
  --accent: #7fa7ff;
  --accent-soft: #12294b;
  --focus-ring: #a9c6ff;
  color-scheme: dark;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0; background: var(--bg); color: var(--ink);
  font-family: var(--font); font-size: 16px; line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}
img { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }
button { font: inherit; }
:where(a, button, summary, input, select, textarea, [tabindex]):focus-visible {
  outline: 3px solid var(--focus-ring);
  outline-offset: 2px;
}
::selection { background: var(--accent-soft); color: var(--ink); }

.skip {
  position: fixed; left: 16px; top: -60px; z-index: 100;
  background: var(--cobalt); color: #fff; padding: 8px 12px; border-radius: 8px;
  transition: top var(--motion) ease;
}
.skip:focus { top: 16px; }

.nav {
  position: sticky; top: 0; z-index: 20;
  display: flex; align-items: center; gap: 24px;
  padding: 10px clamp(16px, 4vw, 48px);
  background: color-mix(in srgb, var(--bg) 88%, transparent);
  backdrop-filter: blur(16px);
  border-bottom: 1px solid var(--line);
}
.nav-left { display: flex; align-items: center; gap: 14px; min-width: 0; }
.barry-brand img { height: 32px; width: auto; }
.logo-on-light { display: none; }
[data-theme="light"] .logo-on-dark { display: none; }
[data-theme="light"] .logo-on-light { display: block; }
.nav-divider { width: 1px; height: 22px; background: var(--line); }
.juxa-lockup {
  display: inline-flex; align-items: center; gap: 6px;
  font-weight: 800; letter-spacing: 0.12em; font-size: 11px;
  color: var(--muted);
}
.juxa-mark {
  display: inline-grid; place-items: center;
  width: 22px; height: 22px; border-radius: 6px;
  background: var(--cobalt); color: #fff;
  font-size: 9px; font-weight: 800; letter-spacing: 0;
}
.juxa-on-dark { display: none; }
[data-theme="dark"] .juxa-on-light { display: none; }
[data-theme="dark"] .juxa-on-dark { display: inline-block; }
.juxa-lockup img { height: 18px; width: auto; }
.juxa-big img { height: 20px; width: auto; }
.nav-links { display: flex; gap: 16px; margin-left: auto; }
.nav-links a { color: var(--muted); font-size: 12px; white-space: nowrap; }
.nav-links a:hover { color: var(--ink); }
.nav-actions { display: flex; align-items: center; gap: 8px; }
.ghost {
  border: 1px solid var(--line); background: transparent; color: var(--ink);
  border-radius: 9px; height: 34px; padding: 0 12px; cursor: pointer;
  transition: border-color var(--motion) ease, background var(--motion) ease;
}
.ghost:hover { border-color: var(--line-strong); background: var(--soft); }
.nav-toggle { display: none; }

.btn {
  display: inline-flex; align-items: center; justify-content: center;
  height: 44px; padding: 0 18px; border-radius: 9px;
  background: var(--cobalt); color: #fff; font-weight: 600; font-size: 14px;
  border: 1px solid transparent; cursor: pointer;
  transition: transform var(--motion) ease, background var(--motion) ease, border-color var(--motion) ease;
}
.btn:hover { background: #0a4cbb; transform: translateY(-1px); }
.btn:active { transform: translateY(0); }
.btn.secondary { background: transparent; color: var(--ink); border-color: var(--line-strong); }
.btn.secondary:hover { background: var(--soft); }
.btn.ghost { background: transparent; color: var(--ink); border-color: var(--line-strong); }
.btn.ghost:hover { background: var(--soft); }
.btn-sm { height: 34px; padding: 0 12px; font-size: 12px; }

.hero {
  display: grid; grid-template-columns: minmax(0, 0.92fr) minmax(380px, 1.08fr);
  gap: clamp(24px, 5vw, 64px); align-items: center;
  padding: clamp(48px, 7vw, 96px) clamp(16px, 5vw, 72px) clamp(36px, 5vw, 72px);
  background:
    radial-gradient(700px 360px at 20% -10%, rgba(11, 87, 208, 0.12), transparent 65%),
    linear-gradient(180deg, var(--bg), var(--bg));
}
.hero-copy { max-width: 640px; }
.eyebrow { font-size: 10px; letter-spacing: 0.18em; text-transform: uppercase; color: var(--accent); font-weight: 700; }
h1 {
  font-size: clamp(40px, 5.8vw, 70px); line-height: 1.02; letter-spacing: -0.04em;
  margin: 14px 0 16px; font-weight: 750;
}
h1 em { font-style: normal; color: var(--cobalt); }
[data-theme="dark"] h1 em { color: var(--cyan); }
.lede { font-size: clamp(16px, 1.8vw, 19px); color: var(--muted); max-width: 54ch; }
.hero-actions { display: flex; gap: 10px; flex-wrap: wrap; margin: 24px 0 12px; }
.micro { color: var(--subtle); font-size: 12px; margin: 0; }
.center { text-align: center; margin-top: 14px; }

.product {
  border: 1px solid var(--line-strong); border-radius: 18px; overflow: hidden;
  background: var(--panel); box-shadow: 0 24px 70px -36px rgba(16, 24, 40, 0.45);
}
.product-chrome {
  display: flex; align-items: center; gap: 6px; padding: 9px 12px;
  border-bottom: 1px solid var(--line); background: var(--panel-2);
}
.product-dots { display: flex; gap: 4px; margin-right: 8px; }
.product-dots i { width: 7px; height: 7px; border-radius: 50%; background: var(--line-strong); display: block; }
.product-tab {
  font-size: 10px; color: var(--muted); background: var(--panel);
  border: 1px solid var(--line); border-radius: 6px; padding: 2px 8px;
}
.product-tab.muted { color: var(--muted); }
.product-plus { margin-left: auto; color: var(--muted); }
.product-url {
  display: flex; align-items: center; gap: 8px; padding: 8px 12px;
  border-bottom: 1px solid var(--line); font-size: 11px; color: var(--muted);
}
.product-lock { color: var(--cobalt); }
.product-url span:nth-child(2) { flex: 1; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.product-body { display: grid; grid-template-columns: 150px minmax(0, 1fr); min-height: 380px; }
.product-side {
  display: flex; flex-direction: column; gap: 6px;
  padding: 14px 12px; border-right: 1px solid var(--line); background: var(--soft);
  font-size: 11px; color: var(--muted);
}
.side-title { font-size: 9px; letter-spacing: 0.12em; text-transform: uppercase; color: var(--subtle); }
.side-account { color: var(--ink); font-weight: 600; margin-bottom: 8px; }
.side-item { padding: 6px 8px; border-radius: 6px; }
.side-item.active { background: var(--panel); color: var(--ink); border: 1px solid var(--line); }
.side-spacer { flex: 1; }
.side-badge {
  font-size: 8px; letter-spacing: 0.08em; color: var(--accent);
  background: var(--accent-soft); border-radius: var(--pill); padding: 3px 6px; text-align: center;
}
.product-main { padding: 12px; display: flex; flex-direction: column; gap: 8px; background: var(--bg); }
.answer { border: 1px solid var(--line); border-radius: 10px; padding: 12px; background: var(--panel); }
.answer-head { display: flex; align-items: center; gap: 6px; font-size: 9px; letter-spacing: 0.1em; text-transform: uppercase; color: var(--accent); }
.pill { font-size: 8px; background: var(--accent-soft); padding: 2px 6px; border-radius: var(--pill); color: var(--accent); letter-spacing: 0; }
.answer p { margin: 8px 0; font-size: 11px; color: var(--ink); line-height: 1.5; }
.sources { display: flex; gap: 4px; flex-wrap: wrap; align-items: center; font-size: 9px; color: var(--muted); }
.source { border: 1px solid var(--line); border-radius: var(--pill); padding: 1px 7px; background: var(--soft); }
.result { border-bottom: 1px solid var(--line); padding: 8px 2px; }
.result strong { display: block; font-size: 11px; }
.result span { display: block; font-size: 9px; color: var(--subtle); margin-top: 2px; }
.result p { margin: 3px 0 0; font-size: 10px; color: var(--muted); }
.sponsor { border: 1px dashed var(--line-strong); border-radius: 10px; padding: 10px; background: var(--soft); }
.sponsor span { font-size: 8px; letter-spacing: 0.12em; text-transform: uppercase; color: var(--subtle); }
.sponsor strong { display: block; font-size: 11px; margin: 4px 0 2px; }
.sponsor p { margin: 0; font-size: 9px; color: var(--muted); }

.juxa-band {
  display: flex; align-items: center; gap: 24px; flex-wrap: wrap;
  padding: 18px clamp(16px, 5vw, 72px);
  border-top: 1px solid var(--line); border-bottom: 1px solid var(--line);
  background: var(--soft);
}
.juxa-big { display: inline-flex; align-items: center; gap: 8px; font-weight: 800; letter-spacing: 0.14em; font-size: 13px; }
.juxa-band p { margin: 0; color: var(--muted); font-size: 12px; }
.link { margin-left: auto; color: var(--accent); font-weight: 600; font-size: 12px; }

.section { padding: clamp(48px, 6vw, 84px) clamp(16px, 5vw, 72px); }
.soft { background: var(--soft); border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); }
.section-head { max-width: 720px; margin-bottom: 26px; }
.section-head h2 { font-size: clamp(28px, 3.6vw, 44px); line-height: 1.08; letter-spacing: -0.035em; margin: 10px 0 8px; }
.section-head p { color: var(--muted); margin: 0; max-width: 62ch; }

.feature-layout {
  display: grid; grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 14px;
}
.feature-card {
  border: 1px solid var(--line); border-radius: var(--radius); padding: 22px;
  background: var(--panel); transition: border-color var(--motion) ease, transform var(--motion) ease;
}
.feature-card:hover { border-color: var(--line-strong); transform: translateY(-2px); }
.feature-card.large { grid-row: span 2; display: flex; flex-direction: column; justify-content: space-between; }
.feature-num { font-size: 10px; letter-spacing: 0.14em; color: var(--accent); }
.feature-card h3 { font-size: 22px; margin: 8px 0 8px; letter-spacing: -0.02em; }
.feature-card p { color: var(--muted); font-size: 14px; margin: 0; }
.mini-search {
  display: flex; align-items: center; gap: 8px; margin-top: 22px;
  border: 1px solid var(--line-strong); border-radius: var(--pill); padding: 10px 14px;
  color: var(--muted); font-size: 12px; background: var(--soft);
}
.mini-go { margin-left: auto; color: var(--cobalt); font-weight: 700; }
.mini-list { display: flex; flex-direction: column; gap: 6px; margin-top: 14px; }
.mini-list span { border: 1px solid var(--line); border-radius: 7px; padding: 6px 9px; font-size: 11px; color: var(--muted); background: var(--soft); }
.mini-cite { margin-top: 14px; border-left: 2px solid var(--cobalt); padding-left: 10px; font-size: 12px; color: var(--muted); }
.mini-cite span { color: var(--accent); font-weight: 700; }

.dark {
  display: grid; grid-template-columns: minmax(0, 1fr) minmax(320px, 0.9fr);
  gap: clamp(24px, 5vw, 64px); align-items: center;
  background: linear-gradient(135deg, #08265a, #061a3d 60%, #04122a);
  color: #eef4ff;
}
.dark .eyebrow { color: #8ed8ff; }
.dark h2 { color: #fff; }
.dark p { color: #c9d8ef; }
.dark strong { color: #fff; }
.dark-copy { max-width: 620px; }
.check { margin: 18px 0 0; padding: 0; list-style: none; display: flex; flex-direction: column; gap: 8px; font-size: 13px; color: #d8e6ff; }
.check li::before { content: "✓"; color: #8ed8ff; margin-right: 8px; }
.search-card {
  --ink: #101828; --muted: #5a6b82; --subtle: #5b6b80;
  --soft: #f4f7fc; --line: #e1e8f2;
  background: #fff; color: var(--ink); border-radius: 16px; padding: 16px;
  box-shadow: 0 24px 60px -30px rgba(0,0,0,0.6);
}
.search-input { display: flex; align-items: center; gap: 8px; border: 1px solid #dce5f2; border-radius: var(--pill); padding: 11px 14px; font-size: 13px; color: #53627a; }
.search-input span:last-child { margin-left: auto; color: #0b57d0; }
.search-answer { margin-top: 12px; border: 1px solid #e1e8f2; border-radius: 10px; padding: 12px; background: #f7faff; }
.search-answer > span { font-size: 9px; letter-spacing: 0.1em; text-transform: uppercase; color: #0b57d0; }
.search-answer p { margin: 7px 0; font-size: 12px; color: #101828; }
.search-row { display: flex; justify-content: space-between; gap: 12px; border-bottom: 1px solid #e1e8f2; padding: 10px 2px; font-size: 12px; color: #101828; }
.search-row span:last-child { color: var(--subtle); }
.search-sponsor { margin-top: 10px; border: 1px dashed #c4d2e3; border-radius: 8px; padding: 8px; font-size: 9px; letter-spacing: 0.1em; text-transform: uppercase; color: var(--subtle); }

.privacy-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 14px; }
.privacy-grid article { border-top: 2px solid var(--cobalt); padding-top: 14px; }
.privacy-grid h3 { margin: 0 0 6px; font-size: 16px; }
.privacy-grid p { margin: 0; color: var(--muted); font-size: 13px; }

.plans { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 12px; }
.plan {
  border: 1px solid var(--line); border-radius: var(--radius); padding: 22px;
  background: var(--panel); display: flex; flex-direction: column; gap: 8px;
}
.plan.featured { border-color: var(--cobalt); box-shadow: 0 0 0 1px var(--cobalt) inset; }
.plan > span { font-size: 10px; letter-spacing: 0.14em; text-transform: uppercase; color: var(--accent); }
.plan h3 { font-size: 30px; margin: 0; letter-spacing: -0.03em; }
.plan h3 span { font-size: 12px; color: var(--muted); font-weight: 500; letter-spacing: 0; }
.plan p { color: var(--muted); font-size: 13px; margin: 0; }
.plan ul { margin: 4px 0 14px; padding-left: 18px; color: var(--muted); font-size: 12px; }
.plan .btn { margin-top: auto; width: 100%; }

.table-wrap { overflow-x: auto; border: 1px solid var(--line); border-radius: 14px; }
table { width: 100%; border-collapse: collapse; min-width: 680px; font-size: 13px; background: var(--panel); }
th, td { text-align: left; padding: 14px 16px; border-bottom: 1px solid var(--line); }
th { background: var(--soft); color: var(--muted); font-size: 10px; letter-spacing: 0.08em; text-transform: uppercase; }
tr:last-child td { border-bottom: 0; }

details { border: 1px solid var(--line); border-radius: 10px; padding: 14px 16px; margin-bottom: 8px; background: var(--panel); }
summary { cursor: pointer; font-weight: 600; }
summary::marker { color: var(--cobalt); }
details p { margin: 10px 0 0; color: var(--muted); font-size: 14px; }

.cta {
  display: flex; align-items: center; justify-content: space-between; gap: 24px;
  margin: 0 clamp(16px, 5vw, 72px) clamp(48px, 6vw, 84px);
  padding: clamp(26px, 4vw, 44px); border-radius: 18px;
  background: linear-gradient(120deg, #0b57d0, #062b6f);
  color: #fff;
}
.cta .eyebrow { color: #bfefff; }
.cta h2 { margin: 6px 0 4px; font-size: clamp(26px, 3.6vw, 40px); letter-spacing: -0.03em; }
.cta p { margin: 0; color: #d8e8ff; max-width: 60ch; }
.cta .btn { background: #fff; color: #062b6f; }
.cta .btn:hover { background: #eaf3ff; }

.footer {
  display: grid; grid-template-columns: 1.5fr 1fr 1fr 1.4fr;
  gap: 28px; padding: 40px clamp(16px, 5vw, 72px) 20px;
  border-top: 1px solid var(--line); background: var(--soft);
}
.footer-brand img { height: 36px; width: auto; }
.footer-brand p { color: var(--muted); font-size: 12px; max-width: 30ch; }
.footer-brand .juxa-lockup { margin-top: 10px; }
.footer strong { display: block; font-size: 12px; margin-bottom: 10px; }
.footer a { display: block; color: var(--muted); font-size: 12px; margin: 6px 0; }
.footer a:hover { color: var(--ink); }
.copyright { grid-column: 1 / -1; margin: 18px 0 0; padding-top: 16px; border-top: 1px solid var(--line); color: var(--subtle); font-size: 11px; }

@media (max-width: 1020px) {
  .hero, .dark { grid-template-columns: 1fr; }
  .feature-layout { grid-template-columns: 1fr; }
  .feature-card.large { grid-row: auto; }
  .privacy-grid, .plans { grid-template-columns: 1fr 1fr; }
  .footer { grid-template-columns: 1fr 1fr; }
}

@media (max-width: 1240px) {
  .nav-links { gap: 12px; }
}

@media (max-width: 1180px) {
  .nav-links {
    display: none; position: absolute; top: 100%; left: 0; right: 0;
    flex-direction: column; gap: 0; padding: 8px 16px 14px;
    background: var(--bg); border-bottom: 1px solid var(--line);
  }
  .nav.open .nav-links { display: flex; }
  .nav-links a { padding: 10px 0; border-bottom: 1px solid var(--line); }
  .nav-toggle { display: inline-flex; align-items: center; justify-content: center; }
}

@media (max-width: 720px) {
  .nav-left .juxa-lockup, .nav-divider { display: none; }
  .nav-links {
    display: none; position: absolute; top: 100%; left: 0; right: 0;
    flex-direction: column; gap: 0; padding: 8px 16px 14px;
    background: var(--bg); border-bottom: 1px solid var(--line);
  }
  .nav.open .nav-links { display: flex; }
  .nav-links a { padding: 10px 0; border-bottom: 1px solid var(--line); }
  .nav-toggle { display: inline-flex; align-items: center; justify-content: center; }
  .product-body { grid-template-columns: 1fr; }
  .product-side { flex-direction: row; flex-wrap: wrap; border-right: 0; border-bottom: 1px solid var(--line); }
  .side-spacer, .side-title, .side-account { display: none; }
  .privacy-grid, .plans { grid-template-columns: 1fr; }
  .cta { flex-direction: column; align-items: flex-start; }
  .footer { grid-template-columns: 1fr; }
}

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

.download-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(220px, 1fr)); gap: 14px; margin-top: 18px; }
.download-card {
  display: flex; flex-direction: column; gap: 6px; padding: 18px 20px;
  border: 1px solid var(--line); border-radius: 14px; background: var(--panel);
  color: var(--ink); text-decoration: none; transition: border-color 160ms ease, transform 160ms ease;
}
.download-card:hover { border-color: var(--line-strong); transform: translateY(-1px); }
.download-card strong { font-size: 16px; }
.download-card span { color: var(--muted); font-size: 12px; }
.download-cta { color: var(--accent) !important; font-weight: 600; margin-top: 4px; }

.download-card--soon { background: var(--soft); border-style: dashed; cursor: not-allowed; }
.download-card--soon .download-cta { color: var(--muted) !important; }
.download-card--soon:hover { transform: none; border-color: var(--line); }

/* Capa visual premium (Opera-class): profundidad, ritmo y motion sutil. */
.hero { padding-block: clamp(64px, 9vw, 120px) clamp(40px, 6vw, 72px); }
.hero h1 { font-size: clamp(44px, 6.4vw, 84px); line-height: .98; letter-spacing: -0.045em; }
.hero h1 em { font-style: normal; background: linear-gradient(92deg, #2A5FD9 0%, #19D3FF 100%); -webkit-background-clip: text; background-clip: text; color: transparent; }
.lede { font-size: clamp(16px, 1.35vw, 19px); line-height: 1.6; max-width: 54ch; }
.hero-actions .btn { transition: transform .16s ease, box-shadow .16s ease; }
.hero-actions .btn:hover { transform: translateY(-1px); box-shadow: 0 8px 24px rgb(42 95 217 / 22%); }
.hero-actions .btn.secondary { background: transparent; border: 1px solid var(--line); }
.product { border-radius: 18px; box-shadow: 0 30px 80px -32px rgb(23 24 28 / 35%), 0 8px 24px -12px rgb(23 24 28 / 18%); }
.product-chrome { backdrop-filter: saturate(1.2) blur(6px); }
.result { transition: background .16s ease, border-color .16s ease; }
.result:hover { background: var(--surface); border-color: var(--line); }
@media (prefers-reduced-motion: no-preference) {
  .hero-copy, .product { animation: rise .5s cubic-bezier(.2,.7,.2,1) both; }
  .product { animation-delay: .08s; }
  @keyframes rise { from { opacity: 0; transform: translateY(10px); } to { opacity: 1; transform: none; } }
}
header { position: sticky; top: 0; z-index: 50; backdrop-filter: saturate(1.4) blur(10px); background: color-mix(in srgb, var(--bg) 82%, transparent); }
section { scroll-margin-top: 84px; }
.site-header { display:flex; align-items:center; justify-content:space-between; gap:16px; padding:18px 24px; border-bottom:1px solid var(--line); }
.site-header .brand-word { font-weight:800; letter-spacing:-.03em; font-size:18px; text-decoration:none; color:var(--ink); }
.site-header nav { display:flex; gap:16px; font-size:13px; }
.site-header a { color:var(--muted); text-decoration:none; }
.site-header a:hover { color:var(--ink); }
.wrap { width:min(860px,100%); margin:0 auto; padding:48px 24px 72px; }
.dl-grid { display:grid; grid-template-columns:repeat(auto-fit,minmax(260px,1fr)); gap:14px; margin:24px 0; }
.dl-card { display:grid; gap:6px; padding:22px; border:1px solid var(--line); border-radius:16px; text-decoration:none; color:var(--ink); font-weight:700; background:var(--surface); }
.dl-card span { font-weight:400; font-size:12px; color:var(--muted); }
.dl-card.soon { opacity:.6; }
.lista { display:grid; gap:10px; padding-left:18px; color:var(--muted); font-size:14px; line-height:1.6; }
.entrada { padding:18px 0; border-bottom:1px solid var(--line); }
.entrada h2 { margin:0 0 6px; font-size:16px; }
.site-footer { padding:24px; text-align:center; font-size:12px; color:var(--muted); border-top:1px solid var(--line); }
.site-footer a { color:var(--muted); }

/* Oleada 2: beneficios, prueba visual honesta y comparativa con límites. */
.sr-only {
  position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px;
  overflow: hidden; clip: rect(0, 0, 0, 0); white-space: nowrap; border: 0;
}

.benefit-grid {
  display: grid; grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 14px;
}
.benefit {
  border: 1px solid var(--line); border-radius: var(--radius); padding: 20px;
  background: var(--panel); transition: border-color var(--motion) ease;
}
.benefit:hover { border-color: var(--line-strong); }
.benefit-icon {
  display: inline-grid; place-items: center; width: 40px; height: 40px;
  border-radius: 11px; background: var(--accent-soft); color: var(--accent);
  margin-bottom: 14px;
}
.benefit-icon svg { width: 22px; height: 22px; }
.benefit h3 { font-size: 17px; margin: 0 0 6px; letter-spacing: -0.01em; }
.benefit p { margin: 0; color: var(--muted); font-size: 13px; line-height: 1.55; }

.proof-band {
  display: grid; grid-template-columns: minmax(0, 1.45fr) minmax(260px, 0.55fr);
  gap: 14px; margin-top: 18px; align-items: start;
}
.proof-real, .proof-illus { margin: 0; border: 1px solid var(--line); border-radius: 16px; background: var(--panel); overflow: hidden; }
.proof-real { grid-column: 1 / -1; }
.proof-real img { width: 100%; height: auto; display: block; background: #0b0c0e; }
.proof-illus figcaption, .proof-real figcaption {
  padding: 12px 14px; border-top: 1px solid var(--line);
  color: var(--muted); font-size: 11px; line-height: 1.5;
}
.proof-illus figcaption strong, .proof-real figcaption strong { color: var(--ink); }
.proof-frame { border-bottom: 1px solid var(--line); background: var(--panel-2); }
.proof-top {
  display: flex; align-items: center; gap: 8px; padding: 10px 12px;
  border-bottom: 1px solid var(--line); font-size: 10px; color: var(--muted);
}
.proof-dots { display: flex; gap: 4px; }
.proof-dots i { width: 6px; height: 6px; border-radius: 50%; background: var(--line-strong); display: block; }
.proof-url { flex: 1; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.proof-badge {
  font-size: 8px; letter-spacing: 0.12em; text-transform: uppercase;
  color: var(--accent); background: var(--accent-soft); border-radius: var(--pill);
  padding: 2px 7px; white-space: nowrap;
}
.proof-body { display: flex; flex-direction: column; gap: 8px; padding: 12px; }
.proof-search {
  display: flex; align-items: center; gap: 8px; border: 1px solid var(--line-strong);
  border-radius: var(--pill); padding: 9px 12px; font-size: 12px;
  color: var(--muted); background: var(--panel);
}
.proof-search svg { width: 16px; height: 16px; color: var(--accent); flex: none; }
.proof-answer { border: 1px solid var(--line); border-radius: 10px; padding: 12px; background: var(--soft); }
.proof-answer-head { display: flex; align-items: center; gap: 6px; font-size: 9px; letter-spacing: 0.1em; text-transform: uppercase; color: var(--accent); }
.proof-pill { font-size: 8px; background: var(--accent-soft); padding: 2px 6px; border-radius: var(--pill); color: var(--accent); letter-spacing: 0; }
.proof-answer p { margin: 7px 0; font-size: 12px; color: var(--ink); line-height: 1.5; }
.proof-sources { display: flex; gap: 4px; flex-wrap: wrap; align-items: center; font-size: 9px; color: var(--muted); }
.proof-sources span:not(:first-child) { border: 1px solid var(--line); border-radius: var(--pill); padding: 1px 7px; background: var(--panel); }
.proof-result { display: flex; justify-content: space-between; gap: 12px; border-bottom: 1px solid var(--line); padding: 8px 2px; font-size: 11px; color: var(--ink); }
.proof-result span:last-child { color: var(--subtle); }
.proof-sponsor { border: 1px dashed var(--line-strong); border-radius: 8px; padding: 8px; font-size: 9px; letter-spacing: 0.1em; text-transform: uppercase; color: var(--subtle); background: var(--soft); }
.proof-side { display: grid; gap: 14px; }
.proof-note { border: 1px solid var(--line); border-radius: 16px; padding: 18px; background: var(--soft); }
.proof-note h3 { margin: 8px 0 10px; font-size: 17px; letter-spacing: -0.01em; }
.proof-note p { margin: 8px 0 12px; color: var(--muted); font-size: 13px; }
.proof-list { margin: 0 0 12px; padding-left: 18px; color: var(--muted); font-size: 13px; display: grid; gap: 4px; }
.proof-note .link { margin-left: 0; display: inline-block; }

.compare-notes { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 14px; margin-bottom: 18px; }
.compare-note { border: 1px solid var(--line); border-radius: var(--radius); padding: 20px; background: var(--panel); }
.compare-note.yes { border-left: 3px solid var(--accent); }
.compare-note.no { border-left: 3px solid var(--line-strong); }
.compare-note h3 { margin: 0 0 10px; font-size: 15px; letter-spacing: -0.01em; }
.compare-note ul { margin: 0; padding-left: 18px; color: var(--muted); font-size: 13px; display: grid; gap: 4px; }

.table-wrap table { min-width: 920px; }
.table-wrap th[scope="row"] {
  background: transparent; text-transform: none; letter-spacing: 0;
  font-size: 13px; color: var(--ink); font-weight: 600; padding: 14px 16px;
}
.table-wrap td { color: var(--muted); font-size: 12px; vertical-align: top; }
.cell-main { display: block; color: var(--ink); font-weight: 600; font-size: 12px; }
.cell-note { display: block; margin-top: 3px; color: var(--subtle); font-size: 11px; line-height: 1.4; }
.mark {
  display: inline-block; border: 1px solid var(--line-strong); border-radius: var(--pill);
  padding: 1px 8px; background: var(--soft); color: var(--ink);
  font-size: 10px; font-weight: 700; letter-spacing: 0.02em; white-space: nowrap;
}
.mark.no { border-style: dashed; color: var(--muted); background: transparent; }
.mark.pending { border-color: transparent; background: var(--accent-soft); color: var(--accent); }

@media (max-width: 1020px) {
  .benefit-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .proof-band { grid-template-columns: 1fr; }
  .proof-real { grid-column: auto; }
  .compare-notes { grid-template-columns: 1fr; }
}

@media (max-width: 720px) {
  .benefit-grid { grid-template-columns: 1fr; }
}

.cta-sticky { display:none; }
@media (max-width: 720px) {
  .cta-sticky { display:flex; align-items:center; justify-content:center; position:fixed; left:16px; right:16px; bottom:16px; z-index:60; height:46px; border-radius:999px; background:#2A5FD9; color:#fff; font-weight:600; text-decoration:none; box-shadow:0 10px 30px rgb(42 95 217 / 30%); }
}

/* Oleada 3: cómo funciona, Barry Safe, precios claros y enlaces de producto. */
.how-steps {
  list-style: none; margin: 0; padding: 0;
  display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 14px;
}
.how-step {
  display: flex; flex-direction: column; gap: 8px;
  border: 1px solid var(--line); border-radius: var(--radius); padding: 20px;
  background: var(--panel);
}
.how-num {
  font-size: 10px; letter-spacing: 0.14em; font-weight: 700; color: var(--accent);
}
.how-step-body { display: flex; flex-direction: column; gap: 6px; flex: 1; }
.how-step h3 { margin: 0; font-size: 18px; letter-spacing: -0.02em; }
.how-step p { margin: 0; color: var(--muted); font-size: 13px; line-height: 1.55; }
.how-shot, .how-illus {
  margin: 14px 0 0; border: 1px solid var(--line); border-radius: 12px;
  overflow: hidden; background: var(--soft);
}
.how-shot { margin-top: auto; }
.how-shot img { width: 100%; height: auto; display: block; background: #0b0c0e; }
.how-shot figcaption, .how-illus figcaption {
  padding: 10px 12px; border-top: 1px solid var(--line);
  color: var(--muted); font-size: 11px; line-height: 1.45;
}
.how-shot figcaption strong, .how-illus figcaption strong { color: var(--ink); }
.how-mini { display: flex; flex-direction: column; gap: 10px; padding: 12px; }
.how-mini-head {
  display: flex; align-items: center; justify-content: space-between; gap: 8px;
  font-size: 9px; letter-spacing: 0.1em; text-transform: uppercase; color: var(--accent);
}
.how-badge {
  font-size: 8px; letter-spacing: 0.12em; color: var(--accent);
  background: var(--accent-soft); border-radius: var(--pill); padding: 2px 7px; white-space: nowrap;
}
.how-source-row { display: flex; flex-wrap: wrap; gap: 6px; }
.how-source-row span {
  border: 1px solid var(--line); border-radius: var(--pill); padding: 3px 8px;
  background: var(--panel); color: var(--muted); font-size: 10px;
}
.how-source-bar { display: flex; gap: 4px; }
.how-source-bar i { display: block; flex: 1; height: 5px; border-radius: var(--pill); background: var(--accent); opacity: 0.32; }
.how-source-bar i:first-child { flex: 2; }
.how-mini--answer p { margin: 0; color: var(--ink); font-size: 12px; line-height: 1.5; }
.how-cite { border-top: 1px dashed var(--line-strong); padding-top: 8px; color: var(--muted); font-size: 10px; }

.safe-grid {
  display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 14px;
  margin-bottom: 16px;
}
.safe-card {
  border: 1px solid var(--line); border-radius: var(--radius); padding: 18px;
  background: var(--panel);
}
.safe-kicker {
  display: block; margin-bottom: 6px;
  font-size: 9px; letter-spacing: 0.14em; text-transform: uppercase; color: var(--subtle);
}
.safe-card h3 { margin: 0 0 6px; font-size: 16px; letter-spacing: -0.01em; }
.safe-card p { margin: 0; color: var(--muted); font-size: 12px; line-height: 1.55; }
.text-link { color: var(--accent); font-weight: 600; text-decoration: underline; text-underline-offset: 2px; }
.text-link:hover { color: var(--ink); }

details:target { border-color: var(--accent); box-shadow: 0 0 0 1px var(--accent) inset; }
details { scroll-margin-top: 84px; }

@media (max-width: 1020px) {
  .how-steps { grid-template-columns: 1fr; }
  .safe-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
@media (max-width: 720px) {
  .safe-grid { grid-template-columns: 1fr; }
}

.theme-icon { width: 16px; height: 16px; display: block; }
.theme-icon--sun { display: none; }
[data-theme="dark"] .theme-icon--moon { display: none; }
[data-theme="dark"] .theme-icon--sun { display: block; }
.nav-toggle svg { width: 16px; height: 16px; display: block; }

/* ── Buscador integrado en el hero (estructura funnel DDG, marca Barry) ── */
.hero-search {
  display: flex; align-items: center; gap: 8px;
  width: min(560px, 100%); margin: 22px 0 2px;
  padding: 0 6px 0 16px;
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: 999px;
  box-shadow: 0 1px 2px rgba(20, 18, 15, .06), 0 14px 36px -28px rgba(20, 18, 15, .45);
  transition: border-color 160ms ease, box-shadow 160ms ease;
}
.hero-search:focus-within {
  border-color: color-mix(in srgb, var(--cobalt) 55%, var(--line));
  box-shadow: 0 0 0 3px color-mix(in srgb, var(--cobalt) 16%, transparent);
}
.hero-search svg { color: var(--muted); flex: 0 0 auto; }
.hero-search input {
  flex: 1; min-width: 0; height: 48px;
  border: 0; outline: 0; background: transparent;
  color: var(--ink); font: inherit; font-size: 15px;
}
.hero-search input::placeholder { color: var(--muted); }
.hero-search button {
  flex: 0 0 auto; height: 38px; padding: 0 16px;
  border: 0; border-radius: 999px;
  background: var(--cobalt); color: #fff;
  font: inherit; font-size: 13px; font-weight: 600; cursor: pointer;
  transition: background 160ms ease;
}
.hero-search button:hover { background: var(--cobalt-deep); }
.hero-search button:active { transform: scale(.98); }
@media (max-width: 520px) {
  .hero-search { padding-left: 12px; }
  .hero-search input { height: 44px; font-size: 16px; }
  .hero-search button { height: 36px; padding: 0 12px; font-size: 12.5px; }
}

/* ── Shell tipo DDG: header con buscador central y menú agrupado ────────── */
.nav-search {
  display: flex; align-items: center; gap: 8px;
  flex: 1 1 auto; max-width: 560px; min-width: 0;
  height: 44px; margin: 0 auto; padding: 0 6px 0 14px;
  background: var(--surface); border: 1px solid var(--line);
  border-radius: 999px;
  transition: border-color 160ms ease, box-shadow 160ms ease;
}
.nav-search:focus-within {
  border-color: color-mix(in srgb, var(--cobalt) 55%, var(--line));
  box-shadow: 0 0 0 3px color-mix(in srgb, var(--cobalt) 16%, transparent);
}
.nav-search svg { color: var(--muted); flex: 0 0 auto; }
.nav-search input {
  flex: 1; min-width: 0; height: 40px;
  border: 0; outline: 0; background: transparent;
  color: var(--ink); font: inherit; font-size: 14px;
}
.nav-search input::placeholder { color: var(--muted); }
.nav-search button {
  flex: 0 0 auto; height: 34px; padding: 0 14px;
  border: 0; border-radius: 999px;
  background: var(--cobalt); color: #fff;
  font: inherit; font-size: 12.5px; font-weight: 600; cursor: pointer;
}
.nav-search button:hover { background: var(--cobalt-deep); }
.nav-login {
  display: inline-flex; align-items: center; height: 34px;
  text-decoration: none; white-space: nowrap;
}

/* El menú vive en el botón (como DDG), agrupado por secciones. */
.nav-links {
  display: none; position: absolute; top: 100%; right: 0; left: auto;
  width: min(620px, calc(100vw - 24px)); margin: 0;
  padding: 14px 16px 16px;
  background: var(--bg); border: 1px solid var(--line); border-top: 0;
  border-radius: 0 0 16px 16px;
  box-shadow: 0 24px 60px -30px rgb(0 0 0 / 45%);
  grid-template-columns: 1fr 1fr; gap: 4px 20px;
}
.nav.open .nav-links { display: grid; }
.nav-toggle { display: inline-flex; align-items: center; justify-content: center; }
.nav-group { padding: 8px 4px 10px; border-bottom: 1px solid var(--line); }
.nav-group-title {
  display: block; padding: 4px 0 6px;
  font-size: 10px; letter-spacing: .1em; text-transform: uppercase;
  color: var(--muted); font-weight: 700;
}
.nav-links .nav-group a {
  display: block; padding: 7px 0; border: 0;
  font-size: 13px; color: var(--ink);
}
.nav-links .nav-group a:hover { color: var(--cobalt); }

@media (max-width: 1180px) { .nav-search { max-width: 420px; } }
@media (max-width: 900px) { .nav-search { display: none; } }
@media (max-width: 720px) {
  .nav-login, .nav-actions .btn-sm { display: none; }
  .barry-brand img { height: 26px; }
  .nav-links { grid-template-columns: 1fr; width: 100%; right: 0; border-radius: 0; }
}

/* Accesos rápidos del hero, como los botones de features de DDG. */
.hero-quick { display: flex; flex-wrap: wrap; gap: 8px; margin: 16px 0 0; }
.hero-quick-item {
  display: inline-flex; align-items: center; gap: 8px;
  height: 44px; padding: 0 14px 0 8px;
  border: 1px solid var(--line); border-radius: 999px;
  background: var(--panel); color: var(--ink);
  font-size: 13px; font-weight: 600;
  transition: border-color 160ms ease, background 160ms ease, transform 160ms ease;
}
.hero-quick-item:hover { border-color: var(--line-strong); background: var(--surface); transform: translateY(-1px); }
.hq-dot {
  display: inline-grid; place-items: center;
  width: 28px; height: 28px; border-radius: 50%;
  background: color-mix(in srgb, var(--cobalt) 12%, transparent);
  color: var(--cobalt-deep); font-size: 10px; font-weight: 800;
}
[data-theme="dark"] .hq-dot { color: var(--accent); }

.nav-actions { margin-left: auto; }

/* El menú abierto manda: sin CTA fija encima y con scroll propio. */
.nav.open + main .cta-sticky { display: none !important; }
.nav-links { max-height: calc(100vh - 76px); overflow-y: auto; }

/* Estado "próximamente" legible (sin opacity que rompa contraste) */
.dl-card.soon { opacity: 1; background: var(--soft); border-style: dashed; }

/* Menú móvil a pantalla completa bajo el header (drawer DDG) */
@media (max-width: 720px) {
  .nav.open .nav-links {
    position: fixed; top: 60px; left: 0; right: 0; bottom: 0;
    width: 100%; height: calc(100dvh - 60px); max-height: none;
    border-radius: 0; overflow-y: auto;
  }
  body:has(.nav.open) { overflow: hidden; }
}

/* Icono del menú: hamburguesa → cerrar */
.nav-toggle .icon-close { display: none; }
.nav.open .nav-toggle .icon-menu { display: none; }
.nav.open .nav-toggle .icon-close { display: block; }

/* Header del sitio: el logo Barry ya incluye "by JUXA"; sin lockup duplicado */
.nav-left .juxa-lockup, .nav-left .nav-divider { display: none; }

/* Menú desktop: atenúa el fondo como un drawer */
@media (min-width: 721px) {
  .nav.open .nav-links {
    box-shadow: 0 24px 60px -30px rgb(0 0 0 / 45%), 0 0 0 100vmax rgb(0 0 0 / 28%);
    clip-path: inset(-100vmax);
  }
}

/* El último ítem del menú móvil no queda pegado al borde */
.nav-links { padding-bottom: 28px; }

/* La X del menú queda por encima del atenuado del drawer */
.nav-actions { position: relative; z-index: 30; }

/* Buscador del header centrado exacto en desktop (como el funnel DDG) */
@media (min-width: 1300px) {
  .nav-search {
    position: absolute; top: 10px; left: 50%; transform: translateX(-50%);
    width: 560px; margin: 0;
  }
}

/* ── Web estilo DDG: hero centrado con tarjetas, no hero de producto ───── */
.hero.hero-ddg {
  display: flex; flex-direction: column; align-items: center; text-align: center;
  grid-template-columns: 1fr; gap: 0;
  padding-top: clamp(56px, 8vw, 104px);
}
.hero-ddg .lede { max-width: 62ch; margin: 0 auto; }
.hero-cards {
  display: grid; grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 20px; width: min(760px, 100%); margin: 34px auto 0;
}
.hero-card {
  position: relative; display: flex; flex-direction: column; align-items: center;
  text-align: center; padding: 28px 26px 26px;
  border: 1px solid var(--line); border-radius: 24px; background: var(--surface);
  box-shadow: 0 24px 60px -48px rgb(16 24 40 / 45%);
  transition: transform 180ms ease, border-color 180ms ease, box-shadow 180ms ease;
}
.hero-card:hover { transform: translateY(-2px); border-color: var(--line-strong); box-shadow: 0 30px 70px -48px rgb(16 24 40 / 55%); }
.hero-card-kicker { font-size: 10px; letter-spacing: .16em; font-weight: 700; color: var(--muted); }
.hero-card-badge {
  position: absolute; top: 14px; right: 14px;
  font-size: 9px; letter-spacing: .12em; font-weight: 800;
  color: #fff; background: var(--cobalt); padding: 5px 9px; border-radius: 999px;
}
.hero-card-icon {
  width: 64px; height: 64px; border-radius: 18px;
  display: grid; place-items: center; background: var(--soft); color: var(--cobalt);
  margin: 18px 0 12px;
}
.hero-card-icon img { width: 48px; height: 48px; }
.hero-card h2 { font-size: 20px; line-height: 1.2; margin: 0 0 8px; }
.hero-card p { font-size: 13.5px; color: var(--muted); max-width: 34ch; margin: 0 0 20px; }
.hero-card .btn { margin-top: auto; height: 42px; }
.hero-card--featured { border-color: color-mix(in srgb, var(--cobalt) 35%, var(--line)); }
.trust { margin: 24px auto 0; color: var(--muted); font-size: 13px; }
.hero-down {
  margin: 22px auto 0; width: 42px; height: 42px;
  border: 1px solid var(--line); border-radius: 50%;
  display: grid; place-items: center; color: var(--muted); font-size: 18px;
  transition: color 160ms ease, border-color 160ms ease, transform 160ms ease;
}
.hero-down:hover { color: var(--ink); border-color: var(--line-strong); transform: translateY(2px); }
.product-visual .section-head { text-align: center; margin-inline: auto; }
.product-visual .product { width: min(980px, 100%); margin: 24px auto 0; }

/* Logo Barry más grande en el header (referente DDG) */
.barry-brand img { height: 44px; }
@media (max-width: 720px) { .barry-brand img { height: 30px; } }

@media (max-width: 720px) {
  .hero.hero-ddg { padding-top: 40px; }
  .hero-ddg h1 { font-size: clamp(38px, 10vw, 56px); }
  .hero-cards { grid-template-columns: 1fr; width: 100%; }
  .hero-card { padding: 24px 20px; }
}

/* ── Páginas del sitio estilo DDG: ayuda, comparativa, cuenta ───────────── */
.wrap h1 { font-size: clamp(34px, 5vw, 56px); line-height: 1.05; letter-spacing: -.04em; margin: 14px 0 12px; }
.wrap .lede { margin: 0 0 24px; }
.help-search { margin: 20px 0 22px; }
.help-grid { margin: 0 0 30px; }
.help-article { padding: 22px 0; border-bottom: 1px solid var(--line); }
.help-article h2 { font-size: 20px; margin: 0 0 8px; }
.help-article p { color: var(--muted); margin: 0; max-width: 70ch; }
.help-article code { font-size: 12px; background: var(--soft); padding: 2px 5px; border-radius: 5px; }
.compare-wrap { overflow-x: auto; margin: 24px 0; }
.compare-table { width: 100%; min-width: 680px; border-collapse: collapse; font-size: 14px; }
.compare-table th, .compare-table td { padding: 12px 14px; border-bottom: 1px solid var(--line); text-align: left; }
.compare-table thead th { font-size: 11px; letter-spacing: .08em; text-transform: uppercase; color: var(--muted); }
.compare-table tbody th { font-weight: 600; }
.compare-table .yes { color: #1a7f37; font-weight: 700; }
.compare-table .no { color: var(--muted); }
.compare-table .partial { color: var(--accent); font-weight: 600; }
.legal-note { font-size: 12px; color: var(--muted); max-width: 80ch; }
.page-cta { display: flex; flex-wrap: wrap; gap: 10px; margin: 24px 0; }
.dl-card a { color: var(--accent); font-size: 12px; font-weight: 600; margin-top: 4px; }
.dl-card .btn { justify-self: start; margin-top: 8px; height: 38px; padding: 0 16px; color: #fff; font-size: 13px; font-weight: 700; }
#dl-mac, #windows { scroll-margin-top: 96px; }

/* ── Clon de distribución DDG: discover, bandas, sticky y benchmark ────── */
.discover-band { padding: 42px clamp(16px, 5vw, 72px) 8px; text-align: center; }
.discover-band h2 { font-size: clamp(28px, 3.4vw, 40px); line-height: 1.1; letter-spacing: -.03em; margin: 8px 0 26px; }
.discover-row { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 12px; max-width: 1000px; margin: 0 auto; }
.discover-card {
  display: flex; flex-direction: column; align-items: center; gap: 3px;
  padding: 18px 12px; border: 1px solid var(--line); border-radius: 18px;
  background: var(--surface); text-align: center; color: var(--ink);
  transition: transform 160ms ease, border-color 160ms ease, box-shadow 160ms ease;
}
.discover-card:hover { transform: translateY(-2px); border-color: var(--line-strong); box-shadow: 0 18px 40px -30px rgb(16 24 40 / 45%); }
.discover-icon { display: grid; place-items: center; width: 44px; height: 44px; border-radius: 50%; background: var(--soft); color: var(--cobalt); margin-bottom: 4px; }
.discover-card strong { font-size: 14px; }
.discover-card small { color: var(--muted); font-size: 11px; }

.band { max-width: 1200px; margin: 28px auto; padding: clamp(26px, 4vw, 54px); border-radius: 32px; text-align: center; }
.band-mint { background: #e7f2e9; }
.band-blue { background: #e3eefc; }
.band-peach { background: #fde8d8; }
.band-yellow { background: #fdf1cf; }
.band-illustration { width: min(560px, 90%); height: auto; margin: 0 auto 10px; border-radius: 20px; }
.band h2 { font-size: clamp(26px, 3.2vw, 40px); line-height: 1.08; letter-spacing: -.03em; max-width: 22ch; margin: 0 auto 12px; }
.band > p { max-width: 68ch; margin: 0 auto; color: color-mix(in srgb, var(--ink) 72%, transparent); }
.band-link { display: inline-block; margin-top: 18px; color: var(--cobalt); font-weight: 700; font-size: 13px; }
.reveal-row { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 12px; max-width: 1000px; margin: 26px auto 0; }
.reveal-card {
  border: 1px solid color-mix(in srgb, #ffffff 55%, transparent); border-radius: 16px;
  background: color-mix(in srgb, #ffffff 45%, transparent); text-align: left;
}
.reveal-card summary { display: flex; align-items: center; gap: 10px; padding: 14px 16px; cursor: pointer; font-weight: 700; font-size: 13.5px; list-style: none; color: var(--ink); }
.reveal-card summary::-webkit-details-marker { display: none; }
.reveal-plus { margin-left: auto; width: 26px; height: 26px; border: 1px solid color-mix(in srgb, var(--ink) 22%, transparent); border-radius: 50%; display: grid; place-items: center; }
.reveal-plus::before { content: "+"; font-size: 16px; line-height: 1; }
.reveal-card[open] .reveal-plus::before { content: "−"; }
.reveal-card p { margin: 0; padding: 0 16px 16px; color: color-mix(in srgb, var(--ink) 68%, transparent); font-size: 13px; line-height: 1.5; }

/* Sección sticky: mockup fijo mientras pasan las tarjetas */
.sticky-head { max-width: 900px; }
.sticky-grid { display: grid; grid-template-columns: minmax(0, 1.1fr) minmax(0, .9fr); gap: clamp(24px, 4vw, 56px); align-items: start; margin-top: 30px; }
.sticky-visual { position: sticky; top: 96px; }
.sticky-visual .product { width: 100%; }
.sticky-copy { display: flex; flex-direction: column; gap: 14px; }
.sticky-card { border: 1px solid var(--line); border-radius: 20px; padding: 22px; background: var(--surface); }
.sticky-num { font-size: 11px; letter-spacing: .12em; color: var(--cobalt); font-weight: 800; }
.sticky-card h3 { margin: 6px 0; font-size: 18px; line-height: 1.2; }
.sticky-card p { margin: 0; color: var(--muted); font-size: 14px; }

/* Carrusel de benchmarks: desliza, arrastra y flechas */
.benchmark .section-head { max-width: 1000px; }
.rail-wrap { position: relative; margin-top: 26px; }
.rail {
  display: flex; gap: 14px; overflow-x: auto; scroll-snap-type: x mandatory;
  padding: 4px 2px 18px; scrollbar-width: thin; cursor: grab;
}
.rail > * { flex: 0 0 300px; scroll-snap-align: start; }
.rail.dragging { cursor: grabbing; scroll-snap-type: none; }
.metric-card { min-height: 176px; border: 1px solid var(--line); border-radius: 20px; background: var(--surface); padding: 22px; }
.metric-card strong { display: block; font-size: 40px; line-height: 1; letter-spacing: -.03em; color: var(--cobalt); }
.metric-card span { display: block; margin-top: 7px; font-size: 10.5px; letter-spacing: .08em; text-transform: uppercase; color: var(--muted); font-weight: 700; }
.metric-card p { margin: 12px 0 0; color: var(--muted); font-size: 13px; }
.rail-btn {
  position: absolute; top: 50%; transform: translateY(-50%); z-index: 2;
  width: 40px; height: 40px; border: 1px solid var(--line); border-radius: 50%;
  background: var(--bg); color: var(--ink); display: grid; place-items: center;
  cursor: pointer; box-shadow: 0 10px 24px -16px rgb(0 0 0 / 45%);
}
.rail-btn.prev { left: -14px; }
.rail-btn.next { right: -14px; }
.rail-btn:disabled { opacity: .35; cursor: default; }
@media (max-width: 1320px) { .rail-btn { display: none; } }
@media (max-width: 1020px) {
  .sticky-grid { grid-template-columns: 1fr; gap: 22px; }
  .sticky-visual { position: static; }
}
@media (max-width: 720px) {
  .discover-row { grid-template-columns: 1fr 1fr; }
  .reveal-row { grid-template-columns: 1fr; }
  .band { padding: 22px 18px; border-radius: 24px; }
  .band-illustration { width: 100%; }
  .rail > * { flex-basis: 82vw; }
}

/* Bandas en oscuro: superficies oscuras y texto claro */
[data-theme="dark"] .band-mint { background: #12251b; }
[data-theme="dark"] .band-blue { background: #111f33; }
[data-theme="dark"] .band-peach { background: #2a1a10; }
[data-theme="dark"] .band-yellow { background: #2a2410; }
[data-theme="dark"] .reveal-card { background: rgb(255 255 255 / 6%); border-color: rgb(255 255 255 / 14%); }
[data-theme="dark"] .band-link { color: var(--cyan); }

/* Sticky real: el mockup se fija mientras pasan las tarjetas */
.sticky-visual { position: relative; align-self: stretch; }
.sticky-inner { position: sticky; top: 96px; }
@media (min-width: 1021px) {
  .sticky-copy { min-height: 940px; }
}
@media (max-width: 1020px) {
  .sticky-inner { position: static; }
  .sticky-copy { min-height: 0; }
}

/* Tabs de comparación (comportamiento DDG) */
.compare-tabs { display: flex; flex-wrap: wrap; gap: 8px; margin: 20px 0 10px; }
.compare-tab {
  height: 36px; padding: 0 14px; border: 1px solid var(--line); border-radius: 999px;
  background: var(--surface); color: var(--ink); font: inherit; font-size: 12.5px; font-weight: 600;
  cursor: pointer;
}
.compare-tab[aria-pressed="true"] { background: var(--cobalt); border-color: var(--cobalt); color: #fff; }
.compare-table[data-active="barry"] .col-navegador,
.compare-table[data-active="barry"] .col-buscador,
.compare-table[data-active="navegador"] .col-barry,
.compare-table[data-active="navegador"] .col-buscador,
.compare-table[data-active="buscador"] .col-barry,
.compare-table[data-active="buscador"] .col-navegador { display: none; }

/* Header sticky más sólido al hacer scroll */
.nav { background: color-mix(in srgb, var(--bg) 94%, transparent); backdrop-filter: blur(14px); }

/* El header manda sobre los encabezados sticky de sección */
.nav { z-index: 90; }
.section-head { top: 65px; z-index: 30; }
@media (max-width: 720px) { .section-head { top: 60px; } }

/* Encabezados sticky que combinan con la sección (sin bloque blanco) */
.section.soft .section-head { background: color-mix(in srgb, var(--soft) 94%, transparent); }

/* Profundidad del sitio en oscuro: no superficies planas */
[data-theme="dark"] body {
  background:
    radial-gradient(1100px 620px at 50% -10%, #172033 0%, #0b1220 58%) no-repeat fixed;
}
@media (prefers-color-scheme: dark) {
  :root:not([data-theme="light"]) body {
    background:
      radial-gradient(1100px 620px at 50% -10%, #172033 0%, #0b1220 58%) no-repeat fixed;
  }
}

/* Mismo fix de logo en el sitio cuando el sistema es oscuro pero el tema
 * está forzado a claro (Safari). */
@media (prefers-color-scheme: dark) {
  :root:not([data-theme="dark"]) .juxa-on-light,
  :root:not([data-theme="dark"]) .logo-on-light { display: inline-block; }
  :root:not([data-theme="dark"]) .juxa-on-dark,
  :root:not([data-theme="dark"]) .logo-on-dark { display: none; }
}

/* ── Pulido de menús del sitio: foco, hover y densidad fina ───────────── */
.nav a, .nav button, .menu a, .menu button {
  transition: color 140ms ease, background 140ms ease, opacity 140ms ease;
}
.nav a:hover, .nav button:hover, .menu a:hover, .menu button:hover { color: var(--accent); }
.nav a:focus-visible, .nav button:focus-visible, .menu a:focus-visible, .menu button:focus-visible {
  outline: 2px solid var(--accent); outline-offset: 3px; border-radius: 8px;
}
.menu .group-title { letter-spacing: .1em; }
