/* notori.app · estructura común: menú (escritorio y móvil), migas, plantillas de guía, comparativa, hub y
   herramienta, tarjetas y pie. Usa los tokens de styles.css (violeta, tinta, amarillo). Sin JavaScript obligatorio. */

/* ------------------------------------------------------------ cabecera */

.site-header .brand,
.site-header .brand span {
  white-space: nowrap;
}

.site-header .brand,
.site-header .nav-end {
  flex-shrink: 0;
}

.nav {
  gap: 18px;
}

.nav-menu {
  display: flex;
  align-items: center;
  gap: 2px;
  margin-right: auto;
  margin-left: 18px;
}

.dd {
  position: relative;
}

.dd > summary {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  min-height: 44px;
  padding: 0 13px;
  border-radius: 11px;
  color: var(--muted);
  font-size: 14px;
  font-weight: 650;
  line-height: 1;
  white-space: nowrap;
  cursor: pointer;
  list-style: none;
  user-select: none;
}

.dd > summary::-webkit-details-marker {
  display: none;
}

.dd > summary:hover,
.dd[open] > summary {
  background: var(--soft);
  color: var(--ink);
}

.dd[data-current="true"] > summary {
  color: var(--ink);
}

.dd[open] > summary .lang-caret {
  transform: rotate(225deg);
  margin-top: 3px;
}

.lang-caret {
  display: inline-block;
  width: 6px;
  height: 6px;
  margin-top: -3px;
  border-right: 1.5px solid currentColor;
  border-bottom: 1.5px solid currentColor;
  transform: rotate(45deg);
  opacity: 0.7;
}

.dd-panel {
  position: absolute;
  top: calc(100% + 10px);
  left: -8px;
  z-index: 30;
  width: 340px;
  padding: 8px;
  border: 1px solid var(--line);
  border-radius: 18px;
  background: var(--paper);
  box-shadow: 0 18px 50px rgba(25, 22, 40, 0.14);
}

.dd-panel.dd-wide {
  width: 560px;
}

.dd-panel ul {
  display: grid;
  gap: 2px;
  margin: 0;
  padding: 0;
  list-style: none;
}

.dd-wide ul {
  grid-template-columns: 1fr 1fr;
}

.dd-link {
  display: block;
  padding: 11px 13px;
  border-radius: 12px;
  color: var(--ink);
  text-decoration: none;
}

.dd-link:hover,
.dd-link:focus-visible {
  background: var(--soft);
  color: var(--ink);
}

.dd-title {
  display: block;
  font-size: 14px;
  font-weight: 700;
  line-height: 1.35;
}

.dd-desc {
  display: block;
  margin-top: 2px;
  color: var(--muted);
  font-size: 13px;
  line-height: 1.4;
}

.dd-all {
  grid-column: 1 / -1;
  margin-top: 4px;
  padding-top: 4px;
  border-top: 1px solid var(--line);
}

.dd-all .dd-title {
  color: var(--purple-text);
}

/* selector de idioma */

.lang-menu > summary {
  padding: 0 12px;
  border: 1px solid var(--line);
  color: var(--ink);
  font-weight: 700;
}

.lang-list {
  position: absolute;
  top: calc(100% + 10px);
  right: 0;
  z-index: 30;
  min-width: 190px;
  margin: 0;
  padding: 6px;
  list-style: none;
  background: var(--paper);
  border: 1px solid var(--line);
  border-radius: 16px;
  box-shadow: 0 18px 50px rgba(25, 22, 40, 0.14);
}

.lang-list a {
  display: block;
  padding: 10px 12px;
  border-radius: 10px;
  color: var(--muted);
  font-size: 14px;
  font-weight: 600;
  text-decoration: none;
  white-space: nowrap;
}

.lang-list a:hover,
.lang-list a:focus-visible {
  background: var(--soft);
  color: var(--purple-text);
}

.lang-list [aria-current="true"] {
  color: var(--ink);
  font-weight: 800;
}

.nav-end .btn-small .apple {
  width: 15px;
  height: 18px;
}

.nav-end .btn-small {
  gap: 8px;
}

/* menú móvil: un <details> que despliega un cajón bajo la cabecera */

.mnav {
  display: none;
}

.mnav > summary {
  display: inline-flex;
  align-items: center;
  gap: 9px;
  min-height: 44px;
  padding: 0 12px;
  border: 1px solid var(--line);
  border-radius: 12px;
  color: var(--ink);
  font-size: 14px;
  font-weight: 700;
  cursor: pointer;
  list-style: none;
}

.mnav > summary::-webkit-details-marker {
  display: none;
}

.burger {
  position: relative;
  display: inline-block;
  width: 18px;
  height: 12px;
}

.burger::before,
.burger::after,
.burger span {
  content: "";
  position: absolute;
  left: 0;
  width: 18px;
  height: 2px;
  border-radius: 2px;
  background: currentColor;
  transition: transform 0.2s ease, opacity 0.2s ease;
}

.burger::before { top: 0; }
.burger span { top: 5px; }
.burger::after { top: 10px; }

.mnav[open] .burger::before { transform: translateY(5px) rotate(45deg); }
.mnav[open] .burger span { opacity: 0; }
.mnav[open] .burger::after { transform: translateY(-5px) rotate(-45deg); }

.mnav-panel {
  position: fixed;
  top: 74px;
  right: 0;
  left: 0;
  z-index: 40;
  max-height: calc(100vh - 74px);
  max-height: calc(100dvh - 74px);
  overflow-y: auto;
  padding: 10px 20px 28px;
  border-top: 1px solid var(--line);
  background: var(--paper);
  box-shadow: 0 30px 60px rgba(25, 22, 40, 0.18);
}

.m-group {
  padding: 16px 0;
  border-bottom: 1px solid var(--line);
}

.m-title {
  margin: 0 0 8px;
  color: var(--purple-text);
  font-size: 12px;
  font-weight: 750;
  letter-spacing: 0.1em;
  text-transform: uppercase;
}

.m-group ul {
  display: grid;
  gap: 2px;
  margin: 0;
  padding: 0;
  list-style: none;
}

.m-group a {
  display: flex;
  align-items: center;
  min-height: 44px;
  color: var(--ink);
  font-size: 17px;
  font-weight: 600;
  text-decoration: none;
}

.m-group a.m-all {
  color: var(--purple-text);
  font-size: 15px;
}

.m-langs ul {
  grid-template-columns: 1fr 1fr;
  column-gap: 12px;
}

.m-langs a {
  font-size: 15px;
  font-weight: 550;
  color: var(--muted);
}

.m-langs a[aria-current="true"] {
  color: var(--ink);
  font-weight: 800;
}

.m-cta {
  margin: 22px 0 0;
}

.m-cta .btn {
  width: 100%;
}

@media (max-width: 1060px) {
  .dd > summary {
    padding: 0 9px;
  }

  .nav-menu {
    margin-left: 6px;
  }
}

@media (max-width: 920px) {
  .nav-menu,
  .nav-end > .lang-menu {
    display: none;
  }

  .mnav {
    display: block;
  }
}

@media (min-width: 761px) and (max-width: 920px) {
  .mnav-panel {
    top: 88px;
    max-height: calc(100dvh - 88px);
  }
}

@media (max-width: 400px) {
  .mnav-label {
    display: none;
  }

  .nav-end {
    gap: 8px;
  }
}

/* ------------------------------------------------------------ migas */

.crumbs {
  margin: 0 0 22px;
}

.crumbs ol {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 4px 0;
  margin: 0;
  padding: 0;
  list-style: none;
  font-size: 14px;
  line-height: 1.4;
}

.document .crumbs li,
.crumbs li {
  display: inline-flex;
  align-items: center;
  margin: 0;
  color: var(--muted);
  font-size: 14px;
  line-height: 1.4;
}

.crumbs li + li::before {
  content: "";
  display: inline-block;
  width: 6px;
  height: 6px;
  margin: 0 11px 0 9px;
  border-top: 1.5px solid currentColor;
  border-right: 1.5px solid currentColor;
  transform: rotate(45deg);
  opacity: 0.55;
}

.crumbs a {
  color: var(--muted);
  font-weight: 600;
  text-decoration: none;
}

.crumbs a:hover {
  color: var(--purple-text);
}

.crumbs [aria-current="page"] {
  color: var(--ink);
  font-weight: 600;
}

/* ------------------------------------------------------------ guía, comparativa, herramienta */

.article {
  width: min(820px, calc(100% - 64px));
}

.article-head {
  padding-bottom: 8px;
}

.article-head h1 {
  margin-bottom: 20px;
}

.document .meta {
  display: flex;
  flex-wrap: wrap;
  gap: 4px 8px;
  margin: 0 0 30px;
  color: var(--muted);
  font-size: 14px;
  line-height: 1.5;
}

.document .meta a {
  color: var(--ink);
  font-weight: 650;
  text-decoration: none;
}

.quick,
.verdict {
  margin: 8px 0 34px;
  padding: 24px 26px 8px;
  border: 1px solid var(--pill-line);
  border-radius: 20px;
  background: var(--pill-bg);
}

.document .quick h2,
.document .verdict h2 {
  margin: 0 0 14px;
  color: var(--purple-text);
  font-size: 13px;
  font-weight: 750;
  letter-spacing: 0.1em;
  text-transform: uppercase;
}

.document .quick li,
.document .verdict li {
  margin-bottom: 12px;
  color: var(--ink);
  font-size: 16px;
  line-height: 1.6;
}

.verdict-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px;
  margin-bottom: 18px;
}

.verdict-col {
  padding: 18px 18px 4px;
  border-radius: 16px;
  background: var(--paper);
}

.verdict-notori {
  box-shadow: inset 0 0 0 2px var(--purple);
}

.document .verdict h3 {
  margin: 0 0 12px;
  font-size: 17px;
}

.document .verdict ul {
  padding-left: 20px;
}

.cta-mid {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  margin: 38px 0;
  padding: 24px 26px;
  border-radius: 22px;
  background: var(--band);
  color: var(--band-ink);
}

.document .cta-mid p {
  margin: 0;
  color: var(--band-muted);
  font-size: 15px;
  line-height: 1.6;
}

.document .cta-mid .cta-mid-title {
  margin-bottom: 6px;
  color: var(--band-ink);
  font-size: 19px;
  font-weight: 750;
  letter-spacing: -0.01em;
}

.cta-mid .btn {
  flex: none;
  background: var(--yellow);
  color: #191628;
}

.cta-mid .btn:hover {
  background: #ffe07a;
  color: #191628;
}

.shot-strip {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(170px, 1fr));
  gap: 18px;
  margin: 34px 0 10px;
}

.shot-strip figure {
  margin: 0;
}

.shot-strip img {
  width: 100%;
  height: auto;
  border-radius: 22px;
  box-shadow: 0 16px 45px rgba(37, 21, 115, 0.16);
}

.document .shot-strip figcaption {
  margin-top: 12px;
  color: var(--muted);
  font-size: 13px;
  text-align: center;
}

.faq-block {
  margin-top: 40px;
}

.author-box {
  display: flex;
  gap: 18px;
  align-items: flex-start;
  margin: 46px 0 10px;
  padding: 22px 24px;
  border: 1px solid var(--line);
  border-radius: 20px;
}

.author-initial,
.author-photo {
  flex: none;
  width: 56px;
  height: 56px;
  border-radius: 50%;
}

.author-photo {
  object-fit: cover;
}

.author-initial {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background: var(--purple);
  color: #ffffff;
  font-size: 24px;
  font-weight: 800;
}

.document .author-box p {
  margin: 0 0 4px;
  font-size: 15px;
  line-height: 1.55;
}

.document .author-box .author-name {
  color: var(--ink);
  font-size: 16px;
  font-weight: 750;
}

/* ------------------------------------------------------------ tarjetas */

.keep {
  margin-top: 46px;
}

.card-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(230px, 1fr));
  gap: 14px;
  margin: 18px 0 0;
}

.card-grid-2 {
  grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
}

.link-card,
.hub-card,
.feature-card {
  position: relative;
  display: flex;
  flex-direction: column;
  gap: 8px;
  padding: 22px 22px 46px;
  border: 1px solid var(--card-line);
  border-radius: 20px;
  background: var(--paper);
  color: var(--ink);
  text-decoration: none;
  transition: border-color 0.2s ease, transform 0.2s ease, box-shadow 0.2s ease;
}

.link-card:hover,
.hub-card:hover,
.feature-card:hover {
  border-color: var(--pill-line);
  color: var(--ink);
  transform: translateY(-2px);
  box-shadow: 0 14px 34px rgba(37, 21, 115, 0.1);
}

.card-tag {
  align-self: flex-start;
  padding: 4px 10px;
  border-radius: 999px;
  background: var(--pill-bg);
  color: var(--purple-text);
  font-size: 11px;
  font-weight: 750;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.link-card-title,
.hub-card-title {
  font-size: 18px;
  font-weight: 750;
  letter-spacing: -0.015em;
  line-height: 1.3;
}

.link-card-text {
  color: var(--muted);
  font-size: 14px;
  line-height: 1.55;
}

.link-card-more {
  position: absolute;
  bottom: 18px;
  left: 22px;
  color: var(--purple-text);
  font-size: 15px;
  font-weight: 700;
}

.hub-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  gap: 14px;
  margin-top: 18px;
}

.hub-card {
  background: var(--soft);
}

.feature-card {
  margin: 0 0 34px;
  padding: 30px 30px 56px;
  border: 0;
  background: var(--band);
  color: var(--band-ink);
}

.feature-card:hover {
  color: var(--band-ink);
}

.feature-card .card-tag {
  background: var(--yellow);
  color: #191628;
}

.feature-card-title {
  max-width: 640px;
  font-size: clamp(22px, 3vw, 30px);
  font-weight: 800;
  letter-spacing: -0.03em;
  line-height: 1.2;
}

.feature-card .link-card-text {
  max-width: 640px;
  color: var(--band-muted);
  font-size: 16px;
}

.feature-card .link-card-more {
  left: 30px;
  bottom: 24px;
  color: var(--yellow);
}

/* ------------------------------------------------------------ hubs */

.hub {
  padding: 60px 0 30px;
}

.hub-head {
  max-width: 760px;
  margin-bottom: 34px;
}

.hub-head h1 {
  margin-bottom: 18px;
  font-size: clamp(36px, 5vw, 56px);
  letter-spacing: -0.045em;
  line-height: 1.1;
}

.hub-head .lead {
  margin: 0;
  color: var(--muted);
  font-size: 19px;
}

.hub-notes {
  max-width: 760px;
  margin-top: 40px;
}

.hub-notes h2,
.bridge h2,
.matrix h2,
.hub .faq-block h2 {
  margin: 0 0 12px;
  font-size: 24px;
  letter-spacing: -0.025em;
  line-height: 1.25;
}

.hub-notes p {
  margin: 0 0 16px;
  color: var(--muted);
  font-size: 17px;
  line-height: 1.7;
}

.hub-notes ul {
  margin: 0 0 16px;
  padding-left: 22px;
  font-size: 17px;
  line-height: 1.6;
}

.hub-notes li + li {
  margin-top: 8px;
}

.hub-notes * + h2 {
  margin-top: 32px;
}

.bridge,
.hub .faq-block {
  margin-top: 54px;
}

.matrix {
  margin: 0 0 40px;
}

.matrix .table-wrap {
  overflow-x: auto;
  border: 1px solid var(--line);
  border-radius: 18px;
}

.matrix-table {
  width: 100%;
  min-width: 860px;
  border-collapse: collapse;
  font-size: 14px;
  line-height: 1.5;
}

.matrix-table th,
.matrix-table td {
  padding: 13px 15px;
  border-bottom: 1px solid var(--line);
  text-align: left;
  vertical-align: top;
  color: var(--muted);
}

.matrix-table thead th {
  background: var(--soft);
  color: var(--ink);
  font-size: 13px;
  font-weight: 700;
}

.matrix-table tbody th {
  color: var(--ink);
  font-weight: 700;
  white-space: nowrap;
}

.matrix-table tbody th a {
  color: var(--ink);
}

.matrix-table tr:last-child th,
.matrix-table tr:last-child td {
  border-bottom: 0;
}

.matrix-table .m-notori th,
.matrix-table .m-notori td {
  background: var(--pill-bg);
  color: var(--ink);
}

.matrix .fine {
  margin-top: 12px;
}

/* ------------------------------------------------------------ home */

.hero-solo {
  grid-template-columns: minmax(0, 780px);
}

.band-solo {
  grid-template-columns: 1fr;
}

.feature h3 + p {
  margin-top: 10px;
}

.explore .section-head {
  max-width: 720px;
}

.explore .card-grid {
  margin-top: 14px;
}

.explore-about {
  margin-top: 22px;
  font-weight: 650;
}

.pricing-box {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 30px;
  padding: 34px 36px;
  border: 1px solid var(--pill-line);
  border-radius: 26px;
  background: var(--pill-bg);
}

.pricing-box h2 {
  margin: 0 0 8px;
}

.pricing-box p {
  color: var(--muted);
}

/* ------------------------------------------------------------ herramientas (CLS: espacio reservado) */

.tool-preview-box {
  display: flex;
  align-items: center;
  justify-content: center;
  height: 240px;
  margin: 0 0 14px;
  border: 1px dashed var(--line);
  border-radius: 12px;
  background: var(--paper);
  overflow: hidden;
}

.tool-preview-box .tool-preview {
  max-height: 100%;
  margin: 0;
  border: 0;
  object-fit: contain;
}

.tool-result[hidden] {
  display: block !important;
  visibility: hidden;
}

.tool-preview-box .tool-preview[hidden] {
  display: block !important;
  visibility: hidden;
}

/* ------------------------------------------------------------ pie */

.f-grid {
  display: grid;
  grid-template-columns: 1fr 3fr;
  gap: 40px;
  padding: 50px 0 34px;
}

.f-brand p {
  max-width: 260px;
  margin-top: 12px;
  color: var(--muted);
  font-size: 14px;
}

.f-cols {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 28px;
}

.f-title {
  margin: 0 0 12px;
  color: var(--ink);
  font-size: 13px;
  font-weight: 750;
  letter-spacing: 0.06em;
  text-transform: uppercase;
}

.f-cols ul,
.f-langs ul {
  margin: 0;
  padding: 0;
  list-style: none;
}

.f-cols li {
  margin-bottom: 9px;
  line-height: 1.4;
}

.f-cols a,
.f-langs a {
  color: var(--muted);
  font-size: 14px;
  text-decoration: none;
  overflow-wrap: anywhere;
}

.f-cols a:hover,
.f-langs a:hover {
  color: var(--purple-text);
}

.f-langs {
  padding: 18px 0;
  border-top: 1px solid var(--line);
}

.f-langs ul {
  display: flex;
  flex-wrap: wrap;
  gap: 8px 20px;
}

.f-langs a[aria-current="true"] {
  color: var(--ink);
  font-weight: 700;
}

/* ------------------------------------------------------------ responsive */

@media (max-width: 1000px) {
  .f-grid {
    grid-template-columns: 1fr;
    gap: 28px;
  }
}

@media (max-width: 760px) {
  .article {
    width: calc(100% - 40px);
  }

  .verdict-grid {
    grid-template-columns: 1fr;
  }

  .cta-mid,
  .pricing-box {
    display: block;
  }

  .cta-mid .btn,
  .pricing-box .btn {
    width: 100%;
    margin-top: 18px;
  }

  .f-cols {
    grid-template-columns: 1fr 1fr;
    gap: 26px 20px;
  }

  .hub {
    padding-top: 40px;
  }

  .quick,
  .verdict {
    padding: 20px 18px 4px;
  }

  .tool-preview-box {
    height: 200px;
  }
}

/* ------------------------------------------------------------ páginas de contenido: cabecera, capturas y bloques (28/11) */

.page-hero {
  border-bottom: 1px solid var(--line);
  background:
    radial-gradient(900px 320px at 85% -10%, var(--pill-bg), transparent 70%),
    var(--soft);
}

.page-hero-inner {
  width: min(860px, calc(100% - 64px));
  margin: 0 auto;
  padding: 52px 0 34px;
}

.page-hero h1 {
  margin: 0 0 20px;
  font-size: clamp(34px, 5vw, 56px);
  letter-spacing: -0.045em;
  line-height: 1.1;
}

.page-hero .eyebrow {
  margin-bottom: 16px;
}

.page-hero .lead {
  max-width: 740px;
  margin: 0 0 22px;
  color: var(--ink);
  font-size: 20px;
  line-height: 1.6;
}

.page-hero .meta {
  display: flex;
  flex-wrap: wrap;
  gap: 4px 8px;
  margin: 0;
  color: var(--muted);
  font-size: 14px;
  line-height: 1.5;
}

.page-hero .meta a {
  color: var(--ink);
  font-weight: 650;
  text-decoration: none;
}

.trust-pill {
  display: inline-block;
  margin: 0;
  padding: 7px 14px;
  border: 1px solid var(--pill-line);
  border-radius: 999px;
  background: var(--paper);
  color: var(--ink);
  font-size: 14px;
  font-weight: 600;
  line-height: 1.4;
}

.document.article {
  padding-top: 38px;
}

.prose::after {
  display: block;
  clear: both;
  content: "";
}

.prose h2,
.prose .table-wrap,
.prose .cta-mid,
.prose .shot-strip,
.prose .method,
.prose .tool,
.prose blockquote {
  clear: both;
}

.prose .table-wrap {
  overflow-x: auto;
  margin: 22px 0 28px;
  border: 1px solid var(--line);
  border-radius: 16px;
}

.prose table {
  width: 100%;
  border-collapse: collapse;
  font-size: 15px;
  line-height: 1.5;
}

.prose th,
.prose td {
  padding: 12px 14px;
  border-bottom: 1px solid var(--line);
  text-align: left;
  vertical-align: top;
}

.prose thead th {
  background: var(--soft);
  color: var(--ink);
  font-size: 13px;
  font-weight: 750;
  letter-spacing: 0.02em;
}

.prose tbody tr:last-child th,
.prose tbody tr:last-child td {
  border-bottom: 0;
}

.prose tbody th {
  color: var(--ink);
  font-weight: 650;
}

.prose td {
  color: var(--muted);
}

/* columna de Notori: la tabla la marca con class="col-notori" en th/td */
.prose .col-notori {
  background: color-mix(in srgb, var(--pill-bg) 70%, transparent);
  color: var(--ink);
}

.prose thead .col-notori {
  background: var(--pill-bg);
  color: var(--purple-text);
}

.inline-shot {
  float: right;
  width: 230px;
  margin: 6px 0 22px 34px;
}

.inline-shot img {
  display: block;
  width: 100%;
  height: auto;
  border-radius: 24px;
  box-shadow: 0 18px 46px rgba(37, 21, 115, 0.18), 0 0 0 1px rgba(25, 22, 40, 0.06);
}

.inline-file img {
  border-radius: 14px;
  background: #ffffff;
}

.document .inline-shot figcaption {
  margin-top: 12px;
  color: var(--muted);
  font-size: 13px;
  line-height: 1.45;
  text-align: center;
}

.shot-strip {
  grid-template-columns: repeat(auto-fit, minmax(170px, 230px));
  justify-content: center;
  gap: 26px;
  padding: 30px 22px;
  border-radius: 26px;
  background: var(--soft);
}

.method {
  margin: 40px 0 10px;
  padding: 24px 26px 8px;
  border-left: 4px solid var(--purple);
  border-radius: 0 18px 18px 0;
  background: var(--soft);
}

.document .method h2 {
  margin: 0 0 10px;
  font-size: 19px;
}

.document .method p {
  font-size: 16px;
}

.document .method .method-sign {
  color: var(--ink);
  font-size: 14px;
  font-weight: 650;
}

.document .quick ul {
  padding-left: 0;
  list-style: none;
}

.document .quick li {
  position: relative;
  padding-left: 30px;
}

.document .quick li::before {
  position: absolute;
  top: 3px;
  left: 0;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 20px;
  height: 20px;
  border-radius: 50%;
  background: var(--purple);
  color: #ffffff;
  font-size: 12px;
  font-weight: 800;
  content: "✓";
}

/* hubs con imagen */
.hub-head.has-art {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 260px;
  gap: 48px;
  align-items: center;
  max-width: none;
}

.hub-art {
  margin: 0;
}

.hub-art img {
  display: block;
  width: 100%;
  height: auto;
  border-radius: 26px;
  box-shadow: 0 24px 60px rgba(37, 21, 115, 0.2);
  transform: rotate(2deg);
}

.hub-art figcaption {
  margin-top: 14px;
  color: var(--muted);
  font-size: 13px;
  text-align: center;
}

.link-card.has-thumb {
  padding: 0 0 46px;
  overflow: hidden;
}

.link-card-body {
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.link-card.has-thumb .link-card-body {
  padding: 18px 22px 0;
}

.card-thumb {
  display: block;
  height: 170px;
  overflow: hidden;
  background: linear-gradient(160deg, var(--pill-bg), var(--soft));
}

.card-thumb picture,
.card-thumb img {
  display: block;
}

.card-thumb img {
  width: 62%;
  height: auto;
  margin: 22px auto 0;
  border-radius: 16px 16px 0 0;
  box-shadow: 0 10px 30px rgba(37, 21, 115, 0.18);
}

.feature-card.has-thumb {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 190px;
  gap: 24px;
  align-items: start;
  padding-bottom: 0;
  overflow: hidden;
}

.feature-card-body {
  display: flex;
  flex-direction: column;
  gap: 8px;
  padding-bottom: 46px;
}

.feature-card .card-thumb {
  height: 200px;
  margin: -4px -4px 0 0;
  background: none;
}

.feature-card .card-thumb img {
  width: 100%;
  margin: 0;
}

/* home: pasos con captura y precio */
.card-with-shot {
  display: flex;
  flex-direction: column;
  overflow: hidden;
  padding-bottom: 0;
}

.card-shot {
  height: 250px;
  margin: 22px -4px 0;
  overflow: hidden;
}

.card-shot img {
  display: block;
  width: 78%;
  height: auto;
  margin: 0 auto;
  border-radius: 22px 22px 0 0;
  box-shadow: 0 14px 40px rgba(37, 21, 115, 0.18);
}

.card-with-shot p {
  flex: 1 0 auto;
}

.pricing-box {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 24px 36px;
}

.pricing-copy p {
  margin: 0;
}

.plans {
  display: grid;
  grid-column: 1 / -1;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 14px;
  margin: 10px 0 0;
  padding: 0;
  list-style: none;
}

.plan {
  position: relative;
  display: flex;
  flex-direction: column;
  gap: 4px;
  padding: 20px 20px 18px;
  border: 1px solid var(--pill-line);
  border-radius: 18px;
  background: var(--paper);
}

.plan-main {
  box-shadow: inset 0 0 0 2px var(--purple);
}

.plan-badge {
  align-self: flex-start;
  margin-bottom: 6px;
  padding: 3px 10px;
  border-radius: 999px;
  background: var(--yellow);
  color: #191628;
  font-size: 11px;
  font-weight: 800;
  letter-spacing: 0.06em;
  text-transform: uppercase;
}

.plan-name {
  color: var(--muted);
  font-size: 14px;
  font-weight: 650;
}

.plan-price {
  color: var(--ink);
  font-size: 26px;
  font-weight: 800;
  letter-spacing: -0.02em;
}

.plan-note {
  color: var(--muted);
  font-size: 13px;
  line-height: 1.45;
}

.pricing-end {
  display: flex;
  grid-column: 1 / -1;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
}

.pricing-end .fine {
  margin: 0;
}

.pricing-end .btn {
  flex: none;
}

@media (max-width: 760px) {
  .page-hero-inner {
    width: calc(100% - 40px);
    padding: 34px 0 26px;
  }

  .page-hero .lead {
    font-size: 18px;
  }

  .inline-shot {
    float: none;
    width: min(250px, 72%);
    margin: 26px auto;
  }

  .shot-strip {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 14px;
    padding: 18px 14px;
  }

  .hub-head.has-art {
    grid-template-columns: 1fr;
    gap: 28px;
  }

  .hub-art {
    width: min(220px, 60%);
    margin: 0 auto;
  }

  .feature-card.has-thumb {
    grid-template-columns: 1fr;
  }

  .feature-card .card-thumb {
    display: none;
  }

  .plans {
    grid-template-columns: 1fr;
  }

  .pricing-box {
    display: block;
  }

  .pricing-end {
    display: block;
    margin-top: 18px;
  }

  .card-shot {
    height: 220px;
  }
}

.card-thumb img {
  height: 150px;
  object-fit: cover;
  object-position: 50% 30%;
}

.feature-card .card-thumb img {
  height: 200px;
  object-position: 50% 28%;
}

.card-thumb.thumb-final img {
  object-position: 50% 0;
}

/* «Sigue leyendo» con 4 tarjetas: 2 × 2 en vez de 3 + 1 huérfana. */
@media (min-width: 761px) {
  .keep .card-grid:has(> :nth-child(4):last-child) {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

/* ------------------------------------------------------------ re-auditoría 2 */

/* Héroe de la home: el rectángulo amarillo queda detrás del teléfono y el pie de foto descansa sobre el papel. */
.hero-art::before {
  content: none;
}

.hero-shot {
  position: relative;
  isolation: isolate;
}

.hero-shot::before {
  content: "";
  position: absolute;
  inset: 28px -15px -12px;
  z-index: -1;
  border-radius: 34px;
  background: var(--yellow);
  transform: rotate(4deg);
}

.hero-art .caption {
  position: relative;
  padding-top: 26px;
  color: var(--muted);
}

/* Capturas junto al texto: los títulos fluyen al lado de la captura (no la «limpian»); solo los bloques anchos
   (tablas, CTA, bandas, metodología, herramienta) bajan debajo. El generador no deja flotar una captura que
   quedaría sola delante de un bloque ancho (inline-shot-solo, centrada). */
.prose h2 {
  clear: none;
}

.prose .inline-shot-solo {
  float: none;
  width: min(250px, 72%);
  margin: 26px auto 30px;
}

/* Tablas en el móvil: las de tres columnas caben enteras; las más anchas avisan de que se deslizan. */
.table-wrap {
  background:
    linear-gradient(to right, var(--paper) 30%, transparent) left / 28px 100% no-repeat local,
    linear-gradient(to left, var(--paper) 30%, transparent) right / 28px 100% no-repeat local,
    radial-gradient(farthest-side at 0 50%, rgba(25, 22, 40, 0.18), transparent) left / 12px 100% no-repeat scroll,
    radial-gradient(farthest-side at 100% 50%, rgba(25, 22, 40, 0.18), transparent) right / 12px 100% no-repeat scroll;
}

@media (max-width: 760px) {
  .document table {
    min-width: 0;
    font-size: 13.5px;
    line-height: 1.45;
  }

  .document table.wide {
    min-width: 560px;
  }

  .document table:not(.wide) td {
    overflow-wrap: anywhere;
  }

  .document th,
  .document td {
    padding: 9px 10px;
  }

  .document thead th {
    font-size: 12px;
  }

  .table-hint {
    display: block;
    margin: -16px 0 22px;
    color: var(--muted);
    font-size: 12.5px;
    text-align: right;
  }

  /* Tabla matriz del hub de comparativas: una tarjeta por app. */
  .matrix .table-wrap {
    overflow: visible;
    border: 0;
    background: none;
  }

  .matrix-table,
  .matrix-table tbody,
  .matrix-table tr,
  .matrix-table th,
  .matrix-table td {
    display: block;
    min-width: 0;
    width: 100%;
  }

  .matrix-table thead {
    display: none;
  }

  .matrix-table tr {
    margin: 0 0 14px;
    border: 1px solid var(--line);
    border-radius: 16px;
    overflow: hidden;
  }

  .matrix-table tbody th {
    padding: 12px 14px;
    background: var(--soft);
    font-size: 16px;
  }

  .matrix-table tr.m-notori th {
    background: var(--pill-bg);
    color: var(--purple-text);
  }

  .matrix-table td {
    padding: 9px 14px;
  }

  .matrix-table td::before {
    display: block;
    color: var(--ink);
    content: attr(data-label);
    font-size: 12px;
    font-weight: 700;
  }
}

@media (min-width: 761px) {
  .table-hint {
    display: none;
  }
}

/* Herramientas: la caja de vista previa se presenta como zona de espera, no como una imagen rota. */
.tool-preview-box {
  flex-direction: column;
  gap: 6px;
  padding: 16px;
  background: var(--soft);
  text-align: center;
}

.tool-preview-box:has(.tool-preview[hidden]) {
  height: 120px;
}

.tool-preview-box .tool-preview[hidden] {
  display: none !important;
}

.tool-preview-box:not(:has(.tool-preview[hidden])) .tool-empty {
  display: none;
}

.tool-empty {
  margin: 0;
  color: var(--muted);
  font-size: 14px;
  line-height: 1.5;
}

.tool-empty-icon {
  display: block;
  width: 34px;
  height: 26px;
  margin: 0 auto 4px;
  border: 2px solid var(--pill-line);
  border-radius: 7px;
  background:
    radial-gradient(circle at 30% 35%, var(--pill-line) 3px, transparent 4px),
    linear-gradient(135deg, transparent 55%, var(--pill-line) 56%) bottom / 100% 60% no-repeat;
}

.tool-result[hidden] {
  display: none !important;
}

.tool-copy-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  margin-bottom: 6px;
}

.tool-copy-row .tool-label {
  margin: 0;
}

/* Home: «Explora» con 6 tarjetas en 3 + 3 (sin huecos). */
@media (min-width: 761px) {
  .explore .card-grid:has(> :nth-child(6):last-child),
  .explore .card-grid:has(> :nth-child(3):last-child) {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }
}

/* Modo oscuro: los bloques oscuros se separan del papel con un borde. */
@media (prefers-color-scheme: dark) {
  .cta-mid,
  .feature-card {
    border: 1px solid var(--band-line);
  }
}

/* Kit de prensa: icono, galería y descarga en .zip. */
.press-icon {
  display: flex;
  align-items: center;
  gap: 18px;
  flex-wrap: wrap;
}

.press-icon img {
  width: 96px;
  height: 96px;
  border-radius: 22px;
  box-shadow: 0 8px 24px rgba(37, 21, 115, 0.16);
}

.fine-inline {
  color: var(--muted);
  font-size: 13px;
}

.press-shots {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 22px;
  margin: 22px 0 18px;
}

.press-shots figure {
  margin: 0;
}

.press-shots a {
  display: block;
}

.press-shots img {
  display: block;
  width: 100%;
  height: auto;
  border-radius: 18px;
  box-shadow: 0 10px 28px rgba(37, 21, 115, 0.16);
}

.document .press-shots figcaption {
  margin-top: 8px;
  color: var(--muted);
  font-size: 12.5px;
  text-align: center;
}

.press-zip {
  display: flex;
  align-items: center;
  gap: 14px;
  flex-wrap: wrap;
}

.btn-ghost-dark {
  border: 1px solid var(--ink);
  background: transparent;
  color: var(--ink);
}

.btn-ghost-dark:hover {
  background: var(--ink);
  color: var(--paper);
}

@media (max-width: 760px) {
  .press-shots {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 14px;
  }

  .hero-shot::before {
    inset: 25px -7px -10px;
  }
}

/* Capturas junto al texto más estrechas cuando el texto de al lado es corto (lo decide el generador). */
@media (min-width: 761px) {
  .prose .inline-shot-m {
    width: 200px;
  }

  .prose .inline-shot-s {
    width: 170px;
  }
}

.prose .inline-shot {
  clear: right;
}

/* Capturas homogéneas: las «finales» (titular de App Store arriba) se recortan a la pantalla del teléfono en
   tarjetas, bandas y tiras, y todas comparten proporción, para que no se mezclen titulares cortados con
   pantallas limpias. */
.shots img,
.shot-strip img {
  aspect-ratio: 360 / 520;
  object-fit: cover;
  object-position: 50% 0;
}

.shots img.shot-final,
.shot-strip img.shot-final {
  object-position: 50% 100%;
}

.card-shot img.shot-final {
  aspect-ratio: 360 / 520;
  object-fit: cover;
  object-position: 50% 100%;
}

.card-thumb.thumb-final img {
  object-position: 50% 64%;
}

.shots:has(> :nth-child(2):last-child) {
  grid-template-columns: repeat(2, minmax(0, 1fr));
}
