* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
  scroll-padding-top: 6rem;
}

body {
  min-width: 0;
  margin: 0;
  font-size: 1.125rem;
  line-height: 1.65;
  background: var(--background);
}

img,
svg {
  display: block;
  max-width: 100%;
}
button,
a {
  -webkit-tap-highlight-color: transparent;
}
a {
  color: var(--action);
}
a:not(.button):not(.brand):not(.nav-link):not(.resource-link):not(.footer-link) {
  text-decoration-thickness: 0.125rem;
  text-underline-offset: 0.1875rem;
}
a:focus-visible,
button:focus-visible,
summary:focus-visible {
  outline: 3px solid var(--action);
  outline-offset: 3px;
  box-shadow: 0 0 0 2px var(--surface);
  border-radius: 0.25rem;
}
.plus :focus-visible,
.cta-panel :focus-visible {
  outline-color: var(--focus-dark);
  box-shadow: 0 0 0 2px var(--ink);
}

.skip-link {
  position: fixed;
  z-index: 100;
  top: 0.75rem;
  left: 0.75rem;
  transform: translateY(-180%);
  padding: 0.75rem 1rem;
  border-radius: 0.75rem;
  background: var(--ink);
  color: var(--surface);
  font-weight: 700;
}
.skip-link:focus {
  transform: translateY(0);
}

.wrap {
  width: min(calc(100% - 3rem), var(--content));
  margin-inline: auto;
}
.public-header {
  position: sticky;
  z-index: 20;
  top: 0;
  min-height: 5rem;
  background: var(--background);
}
.public-header::before {
  position: absolute;
  z-index: -1;
  inset: 0;
  content: '';
  box-shadow:
    0 1px 0 var(--border),
    0 0 0 100vmax var(--background);
  clip-path: inset(0 -100vmax -1px);
}
.public-wrap > .public-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1.5rem;
}
.public-header-inner {
  display: flex;
  width: 100%;
  max-width: var(--content);
  min-height: 5rem;
  margin-inline: auto;
  align-items: center;
  justify-content: space-between;
  gap: 1.5rem;
}
.brand {
  display: inline-flex;
  min-height: 3rem;
  align-items: center;
  gap: 0.65rem;
  color: var(--ink);
  text-decoration: none;
  font-size: 1.5rem;
  font-weight: 800;
  letter-spacing: -0.045em;
}
.brand-mark {
  display: grid;
  width: 2.65rem;
  height: 2.65rem;
  place-items: center;
  border-radius: 0.875rem;
  background: var(--action);
  box-shadow: 0 5px 14px rgb(11 95 88 / 17%);
}
.brand-mark svg {
  width: 1.75rem;
  height: 1.75rem;
}
.brand-word span {
  color: var(--action);
}
.brand-wordmark {
  display: block;
  width: min(12.5rem, 45vw);
  height: auto;
}
.public-header nav,
footer nav {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 0.5rem;
}
.public-header nav a {
  display: inline-flex;
  min-height: 3rem;
  align-items: center;
  padding: 0.4rem 0.7rem;
  border-radius: 0.7rem;
  color: var(--muted);
  text-decoration: none;
  font-size: 1rem;
  font-weight: 650;
}
.public-header nav a:hover {
  background: var(--soft-green);
  color: var(--ink);
}
.public-header nav .nav-login {
  min-width: 7.5rem;
  justify-content: center;
  border: 2px solid var(--action);
  background: var(--action);
  color: var(--surface);
}
.public-header nav .nav-login:hover {
  background: var(--action-hover);
  border-color: var(--action-hover);
  color: var(--surface);
}
.menu-toggle {
  display: none;
  width: auto;
  min-width: 3rem;
  height: 3rem;
  min-height: 3rem;
  place-items: center;
  padding: 0.4rem 0.75rem;
  border: 1px solid var(--border);
  border-radius: 0.75rem;
  background: var(--surface);
  color: var(--action);
  font: inherit;
  font-weight: 700;
  cursor: pointer;
}
.menu-toggle svg {
  width: 1.5rem;
  height: 1.5rem;
}
.menu-toggle[aria-expanded='true'] svg {
  transform: rotate(90deg);
}
.skip-target {
  display: block;
  height: 0;
  scroll-margin-top: 6rem;
}
.public-nav {
  margin-left: auto;
}
.public-nav a {
  min-width: 3rem;
}
.public-nav .nav-login {
  margin-left: 0.5rem;
}
.public-nav a:focus-visible,
.menu-toggle:focus-visible {
  outline: 3px solid var(--action);
  outline-offset: 3px;
  box-shadow: 0 0 0 2px var(--surface);
}
.menu-toggle[aria-expanded='true']:focus-visible {
  background: var(--soft-green);
}

html.motion-ready .reveal {
  opacity: 0;
  transform: translateY(0.875rem);
}
html.motion-ready .reveal {
  transition:
    opacity 450ms var(--ease),
    transform 450ms var(--ease);
}
html.motion-ready .reveal.is-visible {
  opacity: 1;
  transform: translateY(0);
}
.public-footer {
  display: grid;
  grid-template-columns: minmax(0, 1.35fr) repeat(4, minmax(0, 1fr));
  align-items: start;
}
.public-footer .footer-group {
  min-width: 0;
}
.public-footer .footer-link {
  max-width: 100%;
  overflow-wrap: anywhere;
}
.public-footer .alquiok-cookie-settings {
  min-height: 3rem;
  justify-self: start;
  margin: 0.25rem 0;
  padding: 0.35rem 0;
  color: var(--action);
  font: inherit;
  font-weight: 600;
  text-align: left;
  text-decoration: underline;
  text-decoration-thickness: 2px;
  text-underline-offset: 3px;
  cursor: pointer;
}
.public-footer .alquiok-cookie-settings:focus-visible {
  outline: 3px solid var(--action);
  outline-offset: 3px;
  box-shadow: 0 0 0 2px var(--surface);
}

main {
  padding: 0 0 2rem;
}
main > section,
#funciones,
#como-funciona,
#herramientas,
#planes,
#preguntas-frecuentes,
#guias {
  scroll-margin-top: 6rem;
}
.hero {
  position: relative;
  display: grid;
  min-height: 40rem;
  align-items: center;
  margin: 2rem 0 0;
  padding: clamp(2rem, 6vw, 5rem);
  overflow: hidden;
  border: 1px solid var(--border);
  border-radius: 2rem;
  background:
    radial-gradient(ellipse at 83% 20%, rgb(228 162 58 / 12%), transparent 30%),
    linear-gradient(135deg, var(--soft-green) 0%, var(--background) 58%, var(--warm) 100%);
}
.hero::before {
  position: absolute;
  right: -7rem;
  bottom: -13rem;
  width: 32rem;
  height: 32rem;
  border: 1px solid rgb(15 118 110 / 20%);
  border-radius: 50%;
  box-shadow:
    0 0 0 2rem rgb(15 118 110 / 3%),
    0 0 0 4rem rgb(15 118 110 / 2%);
  content: '';
}
.hero-inner {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(28.75rem, 1fr);
  align-items: center;
  gap: clamp(2rem, 3.5vw, 3rem);
}
.hero-content {
  max-width: 40rem;
}
.eyebrow {
  margin: 0 0 0.8rem;
  color: var(--action);
  font-size: 1rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  line-height: 1.35;
  text-transform: uppercase;
}
h1,
h2,
h3 {
  color: var(--ink);
  text-wrap: balance;
}
h3 {
  font-size: clamp(1.375rem, 1.8vw, 1.5rem);
  line-height: 1.25;
}
h1 {
  max-width: 20ch;
  margin: 0;
  font-size: clamp(2.25rem, 4.4vw, 3.25rem);
  font-weight: 700;
  line-height: 1.1;
  letter-spacing: -0.02em;
}
h1 em {
  color: var(--action);
  font-style: normal;
}
.hero-copy {
  max-width: 39rem;
  margin: 1.35rem 0 1.5rem;
  color: var(--muted);
  font-size: 1.25rem;
  line-height: 1.6;
}
.hero-copy strong {
  color: var(--ink);
}
.actions {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 0.75rem;
}
.button {
  display: inline-flex;
  min-width: 8.75rem;
  min-height: 3.25rem;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  padding: 0.75rem 1.25rem;
  border: 2px solid var(--action);
  border-radius: 0.875rem;
  background: var(--action);
  color: var(--white);
  text-align: center;
  text-decoration: none;
  font-size: 1.0625rem;
  font-weight: 700;
  line-height: 1.3;
  transition: transform 120ms var(--ease);
}
.button:hover {
  transform: translateY(-1px);
  background: var(--action-hover);
  border-color: var(--action-hover);
}
.button:active {
  transform: translateY(0);
  background: var(--action-pressed);
  border-color: var(--action-pressed);
}
.button:disabled,
.button[aria-disabled='true'] {
  border-color: var(--muted);
  background: var(--muted);
  color: var(--surface);
  cursor: not-allowed;
  transform: none;
}
.button-secondary {
  background: var(--surface);
  color: var(--action);
}
.button-secondary:hover {
  background: var(--soft-green);
  color: var(--action-hover);
}
.hero-note {
  margin: 1rem 0 0;
  color: var(--muted);
  font-size: 1rem;
  font-weight: 600;
}

.hero-visual {
  position: relative;
  display: grid;
  min-width: 0;
  align-content: center;
  justify-items: center;
  gap: 0.75rem;
  isolation: isolate;
  margin: 0;
}
.hero-visual picture {
  display: block;
  width: min(100%, 35rem);
}
.hero-visual img {
  width: 100%;
  height: auto;
  border-radius: 1.5rem;
  box-shadow: var(--shadow-deep);
}
.hero-visual figcaption {
  justify-self: end;
  color: var(--muted);
  font-size: 1rem;
}
.segment-illustration {
  width: min(100%, 44rem);
  margin: 2rem auto;
}
.segment-illustration picture,
.segment-illustration img {
  display: block;
  width: 100%;
  height: auto;
}
.segment-illustration img {
  border-radius: 1.25rem;
  box-shadow: var(--shadow-card);
}
.segment-illustration figcaption {
  margin-top: 0.5rem;
  color: var(--muted);
  font-size: 1rem;
  text-align: right;
}
.trust-row {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1rem;
  margin: 1.5rem 0 0;
  padding: 1rem 1.35rem;
  border: 1px solid var(--border);
  border-radius: 1.25rem;
  background: var(--surface);
  box-shadow: var(--shadow-soft);
}
.trust-item {
  display: flex;
  min-height: 3rem;
  align-items: center;
  gap: 0.8rem;
  padding: 0.35rem 0.75rem;
  color: var(--ink);
  font-weight: 650;
}
.trust-mark {
  display: grid;
  width: 2.35rem;
  height: 2.35rem;
  flex: 0 0 auto;
  place-items: center;
  border-radius: 0.75rem;
  background: var(--soft-green);
  color: var(--graphic);
}
.trust-mark svg {
  width: 1.35rem;
  height: 1.35rem;
}

section.content-section {
  padding: clamp(4rem, 8vw, 7.5rem) 0 0;
}
.section-head {
  max-width: 46rem;
  margin: 0 0 2rem;
}
.section-head h2 {
  max-width: 25ch;
  margin: 0;
  font-size: clamp(1.75rem, 4vw, 2.5rem);
  font-weight: 700;
  line-height: 1.15;
  letter-spacing: -0.02em;
}
.section-head > p:not(.eyebrow) {
  margin: 0.85rem 0 0;
  color: var(--muted);
  font-size: 1.125rem;
}
.grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 1.25rem;
}
.resource-grid,
.plans-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 1.25rem;
}
.card {
  min-width: 0;
  padding: clamp(1.75rem, 3vw, 2rem);
  border: 1px solid var(--border);
  border-radius: 1.25rem;
  background: var(--surface);
  box-shadow: var(--shadow-soft);
  transition: transform 200ms var(--ease);
}
.card:hover {
  transform: translateY(-3px);
  box-shadow: var(--shadow-card);
}
.card-icon {
  display: grid;
  width: 3rem;
  height: 3rem;
  place-items: center;
  margin-bottom: 1.25rem;
  border-radius: 0.95rem;
  background: var(--soft-green);
  color: var(--graphic);
}
.card-icon svg {
  width: 1.55rem;
  height: 1.55rem;
}
.card h3 {
  margin: 0 0 0.55rem;
  font-size: 1.4rem;
  font-weight: 700;
  line-height: 1.25;
  letter-spacing: -0.01em;
}
.card p {
  margin: 0;
  color: var(--muted);
}
.card h3 a {
  color: inherit;
  text-decoration: none;
}
.card h3 a:hover {
  color: var(--action);
  text-decoration: underline;
  text-decoration-thickness: 2px;
  text-underline-offset: 3px;
}
.resource-card {
  display: flex;
  min-height: 13rem;
  flex-direction: column;
}
.resource-link {
  display: inline-flex;
  min-height: 3rem;
  width: fit-content;
  align-items: center;
  margin-top: auto;
  padding-top: 0.75rem;
  color: var(--action);
  font-weight: 700;
  text-decoration: underline;
  text-decoration-thickness: 2px;
  text-underline-offset: 3px;
}
.resource-link:hover {
  color: var(--action-hover);
}
.subsection-head {
  margin: 2.5rem 0 1rem;
}
.subsection-head h3 {
  margin: 0;
  font-size: 1.5rem;
}

.audience-section {
  position: relative;
}
.audience-section::before {
  position: absolute;
  z-index: -1;
  top: 1.5rem;
  bottom: -2rem;
  right: 0;
  left: 0;
  background: var(--warm);
  box-shadow: 0 0 0 100vmax var(--warm);
  clip-path: inset(0 -100vmax);
  content: '';
}
.steps .card {
  position: relative;
  padding-top: 5.25rem;
}
.step-number {
  position: absolute;
  top: 1.4rem;
  left: 1.6rem;
  color: var(--graphic);
  font-size: 2.6rem;
  font-weight: 780;
  line-height: 1;
  letter-spacing: -0.05em;
}

.before-after-figure {
  width: min(100%, 52rem);
  margin: 1.5rem auto 0;
  overflow: hidden;
  border: 1px solid var(--border);
  border-radius: 1.75rem;
  background: var(--surface);
  box-shadow: var(--shadow-soft);
}
.before-after-figure img {
  width: 100%;
  height: auto;
}

.feature-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  align-items: center;
  gap: clamp(2rem, 7vw, 6rem);
  padding: 2.25rem 0;
  border-bottom: 1px solid var(--border);
}
.feature-row:nth-of-type(even) .feature-copy {
  order: 2;
}
.feature-row:nth-of-type(even) .feature-art {
  order: 1;
}
.feature-copy h3 {
  margin: 0 0 0.75rem;
  font-size: clamp(1.375rem, 1.8vw, 1.5rem);
  line-height: 1.25;
}
.feature-copy p {
  max-width: 36rem;
  margin: 0;
  color: var(--muted);
}
.feature-art {
  display: grid;
  min-height: 17rem;
  place-items: center;
  margin: 0;
  overflow: hidden;
  border: 1px solid var(--border);
  border-radius: 1.5rem;
  background: var(--soft-green);
}
.feature-art-captioned {
  grid-template-rows: minmax(0, 1fr) auto;
  gap: 0.5rem;
  padding: 0.75rem;
}
.feature-art-captioned picture {
  display: grid;
  width: 100%;
  height: 100%;
  place-items: center;
}
.feature-art-captioned figcaption {
  justify-self: end;
  color: var(--muted);
  font-size: 1rem;
}
.feature-art img {
  width: 100%;
  height: auto;
  max-height: 22rem;
  object-fit: contain;
  border-radius: inherit;
}
.feature-art.warm-art {
  background: var(--warm);
}
.plans-grid {
  align-items: stretch;
  grid-auto-rows: 1fr;
}
.plan-card {
  display: flex;
  flex-direction: column;
}
.plan-card-footer {
  margin-top: auto;
  padding-top: 1rem;
}
.plan-card-footer .button {
  width: fit-content;
  max-width: 100%;
}
.plan-card h3 {
  margin: 0 0 0.5rem;
  font-size: 1.5rem;
}
.plan-card .eyebrow {
  margin-bottom: 0.5rem;
}
.plan-price {
  margin: 0.5rem 0 0.85rem !important;
  color: var(--ink) !important;
  font-size: 2rem;
  font-weight: 700;
  line-height: 1.2;
  font-variant-numeric: tabular-nums;
}
.plan-price span {
  display: block;
  margin-top: 0.4rem;
  color: var(--muted);
  font-size: 1rem;
  font-weight: 600;
}
.plan-card-plus {
  position: relative;
  border: 2px solid var(--action);
  background: var(--soft-green);
  box-shadow: var(--shadow-card);
}
.plan-card-plus::before {
  position: absolute;
  top: -0.9rem;
  right: 1.5rem;
  padding: 0.25rem 0.75rem;
  border-radius: 2rem;
  background: var(--action);
  color: var(--white);
  content: none;
}
.plan-badge {
  display: inline-block;
  margin: 0 0 0.75rem;
  padding: 0.25rem 0.85rem;
  border-radius: 2rem;
  background: var(--action);
  color: var(--white) !important;
  font-size: 1rem;
  font-weight: 700;
  line-height: 1.4;
}
.plan-featured {
  border: 2px solid var(--action);
  background: var(--soft-green);
  box-shadow: var(--shadow-deep);
}
.plan-facts {
  margin: 1rem 0 0;
  padding-left: 1.4rem;
  color: var(--muted);
}
.plan-facts li {
  margin: 0.35rem 0;
}
.plan-note {
  margin-top: 1rem !important;
  padding: 1rem;
  border: 1px solid var(--border);
  border-radius: 0.9rem;
  background: var(--surface);
  font-size: 1rem;
}
.plan-actions {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 0.75rem 1.25rem;
  margin-top: 1.5rem;
}

.plus {
  display: grid;
  grid-template-columns: 1.1fr 1fr;
  align-items: center;
  gap: 2.5rem;
  padding: clamp(2rem, 5vw, 3.5rem);
  border-radius: 1.75rem;
  background: var(--ink);
  color: var(--background);
}
.plus h2 {
  margin: 0;
  color: var(--surface);
  font-size: clamp(1.75rem, 4vw, 2.5rem);
  line-height: 1.15;
}
.plus .eyebrow {
  color: var(--on-dark-accent);
}
.plus-copy {
  margin: 1rem 0 0;
  color: var(--on-dark-muted);
}
.plus-list {
  display: grid;
  gap: 0.8rem;
  margin: 0;
  padding: 0;
  list-style: none;
}
.plus-list li {
  display: flex;
  align-items: flex-start;
  gap: 0.75rem;
  color: var(--on-dark-strong);
}
.plus-list li::before {
  display: grid;
  width: 1.5rem;
  height: 1.5rem;
  flex: 0 0 auto;
  place-items: center;
  border-radius: 50%;
  background: var(--plus-check-background);
  color: var(--plus-check-foreground);
  content: '✓';
  font-size: 1rem;
  font-weight: 800;
}
.price-note {
  margin: 1rem 0 0;
  color: var(--on-dark-muted);
  font-size: 1rem;
}
.plus .button {
  margin-top: 1rem;
  border-color: var(--surface);
  background: var(--surface);
  color: var(--ink);
}

.faq-list {
  display: grid;
  gap: 0.75rem;
}
.faq-list details {
  padding: 0.25rem 1.25rem;
  border: 1px solid var(--border);
  border-radius: 1rem;
  background: var(--surface);
  box-shadow: 0 4px 15px rgb(24 48 43 / 4%);
}
.faq-list summary {
  display: flex;
  min-height: 3.5rem;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  cursor: pointer;
  color: var(--ink);
  font-weight: 700;
  list-style: none;
}
.faq-list summary::-webkit-details-marker {
  display: none;
}
.faq-list summary::after {
  width: 1.7rem;
  height: 1.7rem;
  flex: 0 0 auto;
  display: grid;
  place-items: center;
  border-radius: 50%;
  background: var(--soft-green);
  color: var(--action);
  content: '+';
  font-size: 1.2rem;
  font-weight: 600;
}
.faq-list details[open] summary::after {
  content: '−';
}
.faq-list details p {
  margin: 0 0 1.1rem;
  color: var(--muted);
}

.closing {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 2rem;
  padding: clamp(3rem, 6vw, 5rem) 0 clamp(1.5rem, 3vw, 2.5rem);
}
.closing h2 {
  margin: 0;
  font-size: clamp(1.75rem, 4vw, 2.5rem);
  line-height: 1.15;
}
.closing p {
  max-width: 42rem;
  margin: 0.6rem 0 0;
  color: var(--muted);
}
.guides-more {
  margin: 1.25rem 0 0;
}

footer:not(.site-footer) {
  display: grid;
  grid-template-columns: 1.2fr 1fr 1fr 1fr;
  gap: 2rem;
  padding: 2.5rem 0 3rem;
  border-top: 1px solid var(--border);
  color: var(--muted);
  font-size: 1rem;
}
.footer-group {
  display: grid;
  align-content: start;
  gap: 0.45rem;
}
.footer-group h2 {
  margin: 0 0 0.35rem;
  color: var(--ink);
  font-size: 1rem;
}
.footer-link {
  display: inline-flex;
  min-height: 3rem;
  align-items: center;
  width: fit-content;
  color: var(--muted);
  text-decoration: none;
}
.footer-link:hover {
  color: var(--action);
  text-decoration: underline;
  text-underline-offset: 3px;
}
.footer-brand {
  color: var(--ink);
  font-size: 1.25rem;
  font-weight: 750;
}
.footer-brand span {
  color: var(--action);
}
.footer-wordmark {
  display: block;
  width: min(11rem, 100%);
  height: auto;
  aspect-ratio: 252 / 64;
}
.footer-note {
  max-width: 17rem;
  margin: 0.35rem 0 0;
  font-size: 1rem;
}
.public-footer {
  grid-template-columns: minmax(0, 1.35fr) repeat(4, minmax(0, 1fr));
  column-gap: 2rem;
  row-gap: 1.5rem;
  padding-top: 1.5rem;
}
.public-footer .footer-brand-group {
  grid-column: auto;
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 0.5rem 1.5rem;
  max-width: none;
  margin: 0;
  padding: 0;
}
.public-footer .footer-brand-group .footer-note {
  max-width: none;
  margin: 0;
}
.public-footer .alquiok-cookie-settings {
  margin: 0;
  padding: 0;
  border: 0;
  border-radius: 0;
  background: transparent;
  color: inherit;
  font: inherit;
  text-align: left;
}
.pricing-grid {
  align-items: stretch;
  grid-auto-rows: 1fr;
}
.pricing-plan-card {
  display: flex;
  flex-direction: column;
}
.pricing-plan-card.plan-featured {
  border: 2px solid var(--action);
  background: var(--soft-green);
  box-shadow: var(--shadow-card);
}
.pricing-plan-card > .button {
  align-self: flex-start;
  margin-top: auto;
}
.alquiok-cookie-settings {
  min-height: 3rem;
  padding: 0.4rem 0.55rem;
  border: 0;
  background: transparent;
  color: var(--action);
  font: inherit;
  cursor: pointer;
}
.alquiok-consent {
  position: fixed;
  z-index: 1000;
  right: 1rem;
  bottom: 1rem;
  left: 1rem;
  width: auto;
  max-width: 27.5rem;
  max-height: 40dvh;
  margin-left: auto;
  overflow-y: auto;
  overscroll-behavior: contain;
  padding: 1.25rem 1.375rem;
  border: 1px solid var(--border);
  border-radius: 1.25rem;
  background: var(--surface);
  color: var(--ink);
  box-shadow: var(--shadow-deep);
  font-size: 1rem;
  line-height: 1.55;
}
.alquiok-consent[hidden] {
  display: none;
}
.alquiok-consent h2 {
  margin: 0 0 0.5rem;
  font-size: 1.25rem;
}
.alquiok-consent p {
  margin: 0;
  color: var(--muted);
}
.alquiok-consent a {
  color: var(--action);
  text-decoration-thickness: 0.125rem;
  text-underline-offset: 0.1875rem;
}
.alquiok-consent-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.625rem;
  margin-top: 1rem;
}
.alquiok-consent button {
  min-width: 8.75rem;
  min-height: 3rem;
  padding: 0.625rem 1rem;
  border: 2px solid var(--action);
  border-radius: 0.875rem;
  background: var(--surface);
  color: var(--action);
  font: inherit;
  font-weight: 700;
  cursor: pointer;
}
.alquiok-consent button[data-consent='accept'] {
  background: var(--action);
  color: var(--surface);
}
.alquiok-consent button:hover {
  border-color: var(--action-hover);
  background: var(--action-hover);
  color: var(--surface);
}
.alquiok-consent button:active {
  border-color: var(--action-pressed);
  background: var(--action-pressed);
}
.alquiok-consent button:disabled {
  border-color: var(--border);
  background: var(--border);
  color: var(--muted);
  cursor: not-allowed;
}
@media (max-width: 35rem) {
  .alquiok-consent {
    right: 0.625rem;
    bottom: 0.625rem;
    left: 0.625rem;
    padding: 0.75rem;
    font-size: 1rem;
    line-height: 1.4;
  }
  .alquiok-consent h2 {
    margin-bottom: 0.25rem;
    font-size: 1.125rem;
    line-height: 1.25;
  }
  .alquiok-consent-actions {
    gap: 0.5rem;
    margin-top: 0.625rem;
  }
  .alquiok-consent button {
    flex: 1 1 7rem;
    min-width: 0;
    min-height: 3rem;
    padding: 0.5rem 0.75rem;
  }
}

/* Shared article and utility-page primitives retained for sibling templates. */
.public-wrap {
  width: min(calc(100% - 3rem), var(--content));
  margin-inline: auto;
}
.article {
  max-width: 48rem;
}
.article {
  margin-inline: auto;
  font-size: 1.1875rem;
  line-height: 1.7;
}
.article > .eyebrow {
  font-size: 1rem;
}
.article > .lead {
  margin-bottom: 1rem;
}
.article > p:not(.eyebrow):not(.lead):not(.article-date):not(.disclaimer),
.article > h2,
.article > h3,
.article > ul,
.article > ol,
.article > .table-scroll {
  max-width: 68ch;
}
.article h2,
.article h3 {
  margin: 2.25rem 0 0.75rem;
}
.article-date {
  margin: 1rem 0 1.5rem;
  color: var(--muted);
  font-size: 1rem;
}
.breadcrumb {
  display: flex;
  min-height: 3rem;
  align-items: center;
  gap: 0.65rem;
  margin-bottom: 1.25rem;
  color: var(--muted);
  font-size: 1rem;
}
.breadcrumb a {
  min-height: 3rem;
  display: inline-flex;
  align-items: center;
  font-weight: 650;
}
.reading-time {
  color: var(--muted);
}
.guide-cover {
  display: block;
  aspect-ratio: 1200 / 630;
  margin: -0.5rem -0.5rem 1.25rem;
  overflow: hidden;
  border: 1px solid var(--border);
  border-radius: 1rem;
  background: var(--soft-green);
}
.guide-cover img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  border-radius: inherit;
}
.guide-cover--article {
  margin: 1.5rem 0 2rem;
  border-radius: 1.25rem;
}
.guide-card h2 {
  font-size: 1.5rem;
  line-height: 1.25;
}
.article h1 {
  font-size: clamp(2.25rem, 5vw, 3.5rem);
}
.article h2,
.content-card h2,
.faq-section h2 {
  margin: 0 0 0.65rem;
  font-size: clamp(1.75rem, 3vw, 2.5rem);
  line-height: 1.2;
}
.article p,
.content-card p {
  color: var(--muted);
}
.lead {
  max-width: 68ch;
  margin: 1.15rem 0 2rem;
  color: var(--muted);
  font-size: 1.25rem;
}
.content-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 1.25rem;
}
.content-card {
  min-width: 0;
  overflow-wrap: anywhere;
  padding: 2rem;
  border: 1px solid var(--border);
  border-radius: 1.25rem;
  background: var(--surface);
  box-shadow: var(--shadow-soft);
}
.content-card .eyebrow {
  font-size: 1rem;
}
.content-card .article-date,
.article-date {
  color: var(--muted);
  font-size: 1rem;
}
.text-link {
  display: inline-flex;
  min-height: 3rem;
  align-items: center;
  font-weight: 700;
}
.faq-section {
  margin-top: 4rem;
}
.cta-panel {
  margin-top: 3rem;
  padding: clamp(2rem, 5vw, 3rem);
  border-radius: 1.5rem;
  background: var(--ink);
  color: var(--surface);
}
.cta-panel h2 {
  margin: 0;
  color: var(--surface);
  font-size: clamp(1.75rem, 4vw, 2.5rem);
}
.cta-panel p {
  color: var(--on-dark-muted);
}
.article section {
  margin: 2rem 0;
}
.article a:not(.button) {
  text-decoration: underline;
  text-decoration-thickness: 2px;
  text-underline-offset: 3px;
}
.article ul,
.article ol {
  color: var(--muted);
}
.article li {
  margin: 0.45rem 0;
}
.table-scroll {
  max-width: 100%;
  overflow-x: auto;
}
.article table {
  width: 100%;
  border-collapse: collapse;
  background: var(--surface);
}
.article th,
.article td {
  padding: 0.8rem;
  border: 1px solid var(--border);
  text-align: left;
}
.article tr:nth-child(even) {
  background: var(--soft-green);
}
.article th {
  color: var(--ink);
}
.disclaimer {
  padding: 1rem;
  border-left: 3px solid var(--action);
  background: var(--soft-green);
}
.public-wrap > main:not(.article):not(.tool),
.wrap > main {
  padding: clamp(3rem, 7vw, 5rem) 0;
}
#contenido {
  padding-top: 0;
}
.public-wrap > main.tool {
  width: 100%;
  max-width: none;
  margin: 0;
  padding: clamp(3rem, 7vw, 5rem) 0;
}
.tool-panel {
  padding: 2rem;
  border: 1px solid var(--border);
  border-radius: 1.25rem;
  background: var(--surface);
  box-shadow: var(--shadow-soft);
}
.tool-panel > h2 {
  margin: 0 0 1.4rem;
  font-size: clamp(1.5rem, 3vw, 2rem);
}
.tool-form {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  align-items: start;
  gap: 1.25rem;
}
.tool-form label {
  display: flex;
  align-self: start;
  flex-direction: column;
  gap: 0.5rem;
  color: var(--ink);
  font-size: 1.0625rem;
  font-weight: 650;
  line-height: 1.45;
}
.field-label {
  display: block;
  flex: 0 0 3.25rem;
  height: 3.25rem;
  line-height: 1.45;
}
.tool-form input,
.tool-form select,
.tool-form textarea {
  width: 100%;
  height: 3.25rem;
  min-height: 3.25rem;
  max-height: 3.25rem;
  flex: 0 0 3.25rem;
  padding: 0.65rem 0.8rem;
  border: 1px solid var(--field-border);
  border-radius: 0.75rem;
  background: var(--surface);
  color: var(--ink);
  font: inherit;
  font-size: 1.125rem;
}
.tool-form textarea {
  overflow-y: auto;
  resize: none;
}
.tool-form input::placeholder,
.tool-form textarea::placeholder {
  color: var(--muted);
  opacity: 0.65;
}
.url-output {
  width: 100%;
  min-height: 5.25rem;
  padding: 0.75rem;
  border: 1px solid var(--field-border);
  border-radius: 0.75rem;
  background: var(--background);
  color: var(--ink);
  font: inherit;
  overflow-wrap: anywhere;
}
.tool-form input:focus,
.tool-form select:focus,
.tool-form textarea:focus {
  outline: 3px solid var(--action);
  outline-offset: 2px;
  box-shadow: 0 0 0 2px var(--surface);
}
.field-help {
  color: var(--muted);
  font-size: 1rem;
  font-weight: 400;
  line-height: 1.5;
}
.tool-form .full,
.full {
  grid-column: 1 / -1;
}
.tool-form > div.full {
  display: flex;
  align-items: flex-start;
  flex-direction: column;
  gap: 0.5rem;
}
.result {
  margin-top: 1.25rem;
  padding: 1.35rem;
  border-radius: 1rem;
  background: var(--soft-green);
  color: var(--ink);
}
.result[hidden],
.error[hidden],
.receipt[hidden],
.url-output[hidden] {
  display: none;
}
.result-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 0.8rem;
}
.result-grid > div {
  padding: 1rem;
  border: 1px solid var(--border);
  border-radius: 0.75rem;
  background: var(--surface);
}
.result-grid span {
  display: block;
  color: var(--muted);
  font-size: 1rem;
}
.result-grid strong,
.result > strong {
  display: block;
  margin-top: 0.25rem;
  color: var(--ink);
  font-size: clamp(1.5rem, 3vw, 2rem);
  font-variant-numeric: tabular-nums;
}
.error {
  display: flex;
  align-items: flex-start;
  gap: 0.65rem;
  margin: 0.75rem 0;
  color: var(--error);
  font-size: 1rem;
  font-weight: 650;
}
.error:not([hidden])::before {
  display: grid;
  width: 1.4rem;
  height: 1.4rem;
  flex: 0 0 auto;
  place-items: center;
  border: 2px solid currentColor;
  border-radius: 50%;
  content: '!';
  font-size: 0.9375rem;
  line-height: 1;
}
.tool-copy {
  max-width: 68ch;
  margin: 3.25rem auto 0;
}
.tool-copy p {
  color: var(--muted);
}
.tool-copy h2 {
  margin: 2rem 0 0.75rem;
}
.tool-copy a {
  text-decoration: underline;
  text-decoration-thickness: 2px;
  text-underline-offset: 3px;
}
.receipt {
  max-width: 47.5rem;
  margin: 2rem auto;
  padding: 2rem;
  border: 1px solid var(--border);
  border-radius: 1.25rem;
  background: var(--surface);
}
.receipt h2 {
  margin-top: 0;
}
.receipt dl {
  display: grid;
  grid-template-columns: 10rem 1fr;
  gap: 0.75rem;
}
.receipt dt {
  color: var(--muted);
}
.receipt dd {
  min-width: 0;
  margin: 0;
  color: var(--ink);
  font-weight: 650;
  overflow-wrap: anywhere;
}
.receipt .button {
  margin-top: 1rem;
}
.receipt > p:not(.eyebrow) {
  color: var(--muted);
}
.intro {
  max-width: 68ch;
  margin: 1rem 0 2rem;
  color: var(--muted);
  font-size: 1.25rem;
}
.price-amount {
  color: var(--ink) !important;
  font-size: 2rem;
  font-weight: 700;
  font-variant-numeric: tabular-nums;
}
.price-amount small {
  color: var(--muted);
  font-size: 1rem;
  font-weight: 600;
}
.content-card ul {
  padding-left: 1.4rem;
  color: var(--muted);
}
.content-card li {
  margin: 0.45rem 0;
}
.updated {
  margin: 0 0 2rem;
  color: var(--muted);
  font-size: 1rem;
}
.public-wrap > main > article:not(.tool-copy) {
  padding: 2rem;
  margin: 1rem 0;
  border: 1px solid var(--border);
  border-radius: 1.25rem;
  background: var(--surface);
  box-shadow: var(--shadow-soft);
}
.public-wrap > main > article h2 {
  font-size: 1.5rem;
}
.public-wrap > main > article p,
.public-wrap > main > article ul {
  color: var(--muted);
}
.support-main {
  max-width: 58rem;
  margin-inline: auto;
}
.support-main .intro {
  max-width: 68ch;
  margin: 1rem 0 2rem;
  color: var(--muted);
  font-size: 1.25rem;
}
.contact {
  margin: 0 0 2.5rem;
  padding: 2rem;
  border: 1px solid var(--border);
  border-radius: 1.25rem;
  background: var(--soft-green);
}
.contact h2 {
  margin: 0 0 0.5rem;
  font-size: 1.5rem;
}
.contact p {
  margin: 0.5rem 0 1rem;
  color: var(--muted);
}
.contact .email {
  display: inline-flex;
  min-height: 3rem;
  align-items: center;
  margin-left: 0.5rem;
  font-weight: 650;
  overflow-wrap: anywhere;
}
.section-title {
  margin: 2.5rem 0 1rem;
  font-size: 1.75rem;
}
.faq,
.faq-list {
  display: grid;
  gap: 0.75rem;
}
.faq details,
details {
  padding: 0.25rem 1.25rem;
  border: 1px solid var(--border);
  border-radius: 1rem;
  background: var(--surface);
}
.faq summary,
details summary {
  display: flex;
  min-height: 3.5rem;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  color: var(--ink);
  font-weight: 700;
  cursor: pointer;
  list-style: none;
}
.faq summary::-webkit-details-marker,
details summary::-webkit-details-marker {
  display: none;
}
.faq details p,
details p {
  margin: 0 0 1rem;
  color: var(--muted);
}
.status-page {
  min-height: 65vh;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  justify-content: center;
}
.status-links {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 0.75rem;
}

@media print {
  body {
    background: var(--white);
  }
  .public-header,
  footer,
  .tool-form,
  .tool-panel,
  .tool-copy,
  .tool-title,
  main > .eyebrow,
  main > .lead,
  .alquiok-consent,
  .alquiok-cookie-settings {
    display: none !important;
  }
  .public-wrap,
  .public-wrap > main {
    width: 100%;
    margin: 0;
    padding: 0;
  }
  .receipt {
    display: block !important;
    margin: 0;
    padding: 0;
    border: 0;
    border-radius: 0;
  }
  .reveal {
    opacity: 1 !important;
    transform: none !important;
    transition: none !important;
  }
}

@media (max-width: 900px) {
  .hero-inner {
    grid-template-columns: minmax(0, 1fr);
    gap: 1.5rem;
  }
  .hero {
    padding: clamp(2rem, 5vw, 3.5rem);
  }
  .hero-visual {
    min-height: 0;
  }
  .trust-row {
    grid-template-columns: 1fr;
    gap: 0.25rem;
  }
  .trust-item {
    padding-inline: 0.35rem;
  }
  .public-footer {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
  .public-footer .footer-brand-group {
    grid-column: 1 / -1;
  }
}
@media (max-width: 900px) {
  .wrap,
  .public-wrap {
    width: min(calc(100% - 2rem), var(--content));
  }
  .public-header-inner {
    width: 100%;
    min-height: 4.25rem;
    flex-wrap: wrap;
    gap: 0.25rem 1rem;
    padding: 0.5rem 0;
  }
  html.js-enabled .menu-toggle {
    display: grid;
  }
  .public-header nav {
    width: 100%;
    flex-basis: 100%;
    gap: 0.25rem;
  }
  .public-nav {
    display: grid !important;
    grid-template-columns: 1fr 1fr;
    gap: 0.25rem;
    margin: 0;
  }
  .public-nav[data-mobile-collapsed='true'] {
    display: none !important;
  }
  html.js-enabled .public-nav:not([data-mobile-collapsed='false']) {
    display: none !important;
  }
  html.js-enabled .public-nav[data-mobile-collapsed='true'] {
    display: none !important;
  }
  .public-header nav a {
    padding-inline: 0.55rem;
    font-size: 1rem;
  }
  .public-header nav .nav-login {
    margin-left: auto;
  }
  .hero {
    min-height: 0;
    margin-top: 1rem;
    padding: 2rem 1.4rem;
    border-radius: 1.5rem;
  }
  .hero-inner {
    grid-template-columns: 1fr;
    gap: 0.8rem;
  }
  h1 {
    max-width: 17ch;
    font-size: clamp(2.25rem, 10vw, 3rem);
  }
  .hero-copy {
    font-size: 1.125rem;
  }
  .hero-visual {
    min-height: 0;
    margin: 0 0 1.4rem;
  }
  .visual-card {
    width: min(92%, 22rem);
    padding: 1.2rem;
  }
  .visual-chip-contract {
    left: -0.2rem;
  }
  .visual-chip-payment {
    right: -0.2rem;
  }
  .illustration-label {
    bottom: -0.8rem;
  }
  .grid,
  .resource-grid,
  .plans-grid,
  .pricing-grid,
  .content-grid {
    grid-template-columns: 1fr;
  }
  .before-after {
    grid-template-columns: 1fr;
  }
  .ba-arrow {
    transform: rotate(90deg);
  }
  .feature-row {
    grid-template-columns: 1fr;
    gap: 1.25rem;
    padding: 1.5rem 0;
  }
  .feature-row:nth-of-type(even) .feature-copy,
  .feature-row:nth-of-type(even) .feature-art {
    order: initial;
  }
  .feature-art {
    min-height: 13rem;
  }
  .plus {
    grid-template-columns: 1fr;
    gap: 1.5rem;
  }
  .closing {
    align-items: flex-start;
    flex-direction: column;
  }
  .public-footer {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    grid-auto-flow: row;
    grid-template-rows: auto;
    row-gap: 1.25rem;
  }
  .tool-form,
  .result-grid {
    grid-template-columns: 1fr;
  }
  .tool-form .full {
    grid-column: auto;
  }
  .receipt {
    padding: 1.25rem;
  }
  .receipt dl {
    grid-template-columns: 1fr;
    gap: 0.15rem;
  }
  .receipt dd {
    margin-bottom: 0.65rem;
  }
}
@media (max-width: 380px) {
  .wrap,
  .public-wrap {
    width: min(calc(100% - 1.5rem), var(--content));
  }
  .public-header nav a {
    padding-inline: 0.35rem;
  }
  .hero {
    padding-inline: 1rem;
  }
  .actions .button {
    width: 100%;
  }
  .public-footer {
    grid-template-columns: 1fr;
  }
  .status-links .button {
    width: 100%;
  }
}
@media (max-width: 600px) {
  .public-footer {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 1rem;
    padding-bottom: 1.5rem;
  }
  .public-footer .footer-brand-group {
    display: flex;
    grid-column: 1 / -1;
    gap: 0.5rem 0.75rem;
    padding-bottom: 1rem;
    border-bottom: 1px solid var(--border);
  }
}
@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }
  *,
  *::before,
  *::after {
    scroll-behavior: auto !important;
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
  }
  .card:hover,
  .button:hover {
    transform: none;
  }
  html.motion-ready .reveal {
    opacity: 1;
    transform: none;
    transition: none;
  }
}

/* ===== Homepage redesign A — scoped to body.home-d3a ===== */
body.home-d3a {
  --d3a-gap: clamp(4rem, 8vw, 7.5rem);
  --d3a-r: 1.25rem;
  --d3a-deep: #0b3a36;
}
body.home-d3a main {
  padding-bottom: 0;
}
body.home-d3a .hero {
  min-height: 0;
  margin: 0;
  padding: clamp(2.5rem, 6vw, 5rem) 0 var(--d3a-gap);
  border: 0;
  border-radius: 0;
  background: none;
  overflow: visible;
}
body.home-d3a .hero::before {
  content: none;
}
body.home-d3a .hero-inner {
  grid-template-columns: minmax(0, 0.9fr) minmax(0, 1.1fr);
  gap: clamp(2rem, 4vw, 3.5rem);
}
body.home-d3a h1 {
  max-width: 17ch;
  font-size: clamp(2.25rem, 4.6vw, 4rem);
  line-height: 1.07;
  letter-spacing: -0.025em;
}
@media (min-width: 90rem) {
  body.home-d3a h1 {
    font-size: 3.75rem;
  }
}
body.home-d3a h1 em {
  color: var(--ink);
  font-style: normal;
  padding: 0 0.1em;
  margin: 0 -0.1em;
  background: linear-gradient(transparent 62%, #bfe3d5 62%, #bfe3d5 92%, transparent 92%);
  -webkit-box-decoration-break: clone;
  box-decoration-break: clone;
}
body.home-d3a .hero-copy {
  max-width: 36rem;
}
body.home-d3a .facts {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 0.75rem;
  margin: 2rem 0 0;
  padding: 0;
  list-style: none;
}
body.home-d3a .facts li {
  display: grid;
  grid-template-columns: auto minmax(0, 1fr);
  align-content: center;
  gap: 0.1rem;
  column-gap: 1rem;
  min-height: 8rem;
  padding: 1.5rem;
  border: 1px solid var(--border);
  border-radius: var(--d3a-r);
  background: var(--surface);
  box-shadow: var(--shadow-soft);
}
body.home-d3a .fact-icon {
  width: 3rem;
  height: 3rem;
  grid-row: 1 / 3;
  align-self: center;
  display: grid;
  place-items: center;
  margin: 0;
  border-radius: 0.7rem;
  background: var(--soft-green);
  color: var(--graphic);
}
body.home-d3a .fact-icon svg {
  width: 1.75rem;
  height: 1.75rem;
}
body.home-d3a .fact-num {
  grid-column: 2;
  color: var(--action);
  font-size: 2.5rem;
  font-weight: 800;
  line-height: 1;
  letter-spacing: -0.04em;
  font-variant-numeric: tabular-nums;
}
body.home-d3a .fact-prefix {
  display: block;
  margin-bottom: 0.25rem;
  font-size: 1rem;
  line-height: 1.1;
  letter-spacing: 0;
}
body.home-d3a .fact-num-sm {
  font-size: 1.5rem;
  line-height: 1.2;
  padding: 0;
}
body.home-d3a .fact-text {
  grid-column: 2;
  color: var(--ink);
  font-size: 1rem;
  font-weight: 650;
  line-height: 1.3;
}

/* demo */
body.home-d3a .demo {
  position: relative;
  min-width: 0;
  width: 100%;
  justify-self: stretch;
  padding: 0 0 2rem;
}
body.home-d3a .demo-window {
  display: grid;
  overflow: hidden;
  border: 1px solid var(--border);
  border-radius: 1.5rem;
  background: var(--surface);
  box-shadow: var(--shadow-deep);
}
body.home-d3a .demo-bar {
  display: flex;
  gap: 0.4rem;
  padding: 0.8rem 1rem;
  background: var(--soft-green);
  border-bottom: 1px solid var(--border);
}
body.home-d3a .demo-bar i {
  width: 0.7rem;
  height: 0.7rem;
  border-radius: 50%;
  background: #9cc7bb;
}
body.home-d3a .demo-body {
  padding: 1.25rem 1.25rem 1.5rem;
}
body.home-d3a .demo-head {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: 0.5rem 1rem;
  align-items: flex-start;
}
body.home-d3a .demo-head p {
  margin: 0;
}
body.home-d3a .demo-title {
  font-size: 1.1875rem;
  font-weight: 750;
  line-height: 1.3;
}
body.home-d3a .demo-sub {
  color: var(--muted);
  font-size: 1rem;
}
body.home-d3a .demo-tag {
  padding: 0.2rem 0.7rem;
  border-radius: 2rem;
  background: var(--warm);
  border: 1px solid #ecd9a8;
  color: #5a4210;
  font-size: 1rem;
  font-weight: 700;
}
body.home-d3a .demo-stats {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 0.6rem;
  margin: 1.1rem 0 0;
}
body.home-d3a .demo-stats div {
  padding: 0.7rem 0.75rem;
  border-radius: 0.9rem;
  background: var(--background);
  border: 1px solid var(--border);
}
body.home-d3a .demo-stats dt {
  color: var(--muted);
  font-size: 1rem;
  line-height: 1.25;
}
body.home-d3a .demo-stats dd {
  margin: 0.2rem 0 0;
  font-size: 1.1875rem;
  font-weight: 800;
  font-variant-numeric: tabular-nums;
}
body.home-d3a .demo-stats .demo-net {
  background: var(--soft-green);
}
body.home-d3a .demo-stats .demo-net dd {
  color: var(--action);
}
body.home-d3a .demo-annual {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: 0.25rem 1rem;
  margin-top: 0.9rem;
  padding: 0.8rem 1rem;
  border-radius: 0.9rem;
  background: var(--ink);
  color: var(--on-dark-strong);
  font-weight: 600;
}
body.home-d3a .demo-annual strong {
  font-size: 1.375rem;
  font-variant-numeric: tabular-nums;
}
body.home-d3a .demo-chart {
  display: grid;
  grid-template-columns: repeat(12, 1fr);
  align-items: end;
  gap: 0.3rem;
  height: 7rem;
  margin-top: 1.1rem;
  padding-bottom: 0.25rem;
  border-bottom: 2px solid var(--border);
}
body.home-d3a .demo-chart span {
  position: relative;
  display: block;
  height: 100%;
  border-radius: 0.3rem 0.3rem 0 0;
  background: linear-gradient(to top, var(--amber) var(--g), var(--graphic) var(--g));
}
body.home-d3a .demo-months {
  display: grid;
  grid-template-columns: repeat(12, 1fr);
  gap: 0.3rem;
  color: var(--muted);
  text-align: center;
  font-size: 1rem;
}
body.home-d3a .demo-legend {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 0.4rem 0.5rem;
  margin: 0.6rem 0 0;
  color: var(--muted);
  font-size: 1rem;
}
body.home-d3a .demo-legend span {
  width: 0.8rem;
  height: 0.8rem;
  border-radius: 0.2rem;
}
body.home-d3a .lg-in {
  background: var(--graphic);
}
body.home-d3a .lg-out {
  background: var(--amber);
  margin-left: 0.6rem;
}
body.home-d3a .phone {
  position: relative;
  margin: 1rem 0 0 auto;
  width: min(13.5rem, 52%);
  padding: 1.6rem 0.75rem 0.9rem;
  border: 6px solid var(--ink);
  border-radius: 2rem;
  background: var(--surface);
  box-shadow: var(--shadow-deep);
}
body.home-d3a .phone-notch {
  position: absolute;
  top: 0.45rem;
  left: 50%;
  width: 3.5rem;
  height: 0.7rem;
  transform: translateX(-50%);
  border-radius: 1rem;
  background: var(--ink);
}
body.home-d3a .phone-title {
  margin: 0 0 0.5rem;
  color: var(--ink);
  font-size: 1rem;
  font-weight: 800;
}
body.home-d3a .phone ul {
  display: grid;
  gap: 0.4rem;
  margin: 0;
  padding: 0;
  list-style: none;
}
body.home-d3a .phone li {
  display: grid;
  grid-template-columns: 1fr auto;
  padding: 0.45rem 0.55rem;
  border-radius: 0.7rem;
  background: var(--background);
  border-left: 4px solid var(--amber);
  font-size: 1rem;
  line-height: 1.25;
}
body.home-d3a .phone li span {
  grid-column: 1 / -1;
  font-weight: 650;
}
body.home-d3a .phone li em {
  color: var(--muted);
  font-style: normal;
}
body.home-d3a .phone li strong {
  grid-row: 2;
  grid-column: 2;
  font-variant-numeric: tabular-nums;
}

/* bands */
body.home-d3a section.content-section {
  position: relative;
  isolation: isolate;
  padding: var(--d3a-gap) 0 0;
}
body.home-d3a section.content-section + section.content-section:not(.band) {
  padding-top: var(--d3a-gap);
}
body.home-d3a .band {
  padding-bottom: var(--d3a-gap) !important;
}
body.home-d3a .band::before {
  position: absolute;
  z-index: -1;
  inset: 0;
  content: '';
  clip-path: inset(0 -100vmax);
}
body.home-d3a .band-green::before {
  background: var(--soft-green);
  box-shadow: 0 0 0 100vmax var(--soft-green);
}
body.home-d3a .band-ink {
  color: var(--on-dark-strong);
}
body.home-d3a .band-ink::before {
  background: var(--ink);
  box-shadow: 0 0 0 100vmax var(--ink);
}
body.home-d3a .band-deep::before {
  background: var(--d3a-deep);
  box-shadow: 0 0 0 100vmax var(--d3a-deep);
}
body.home-d3a .band-ink h2,
body.home-d3a .band-ink h3,
body.home-d3a .band-deep h2 {
  color: var(--surface);
}
body.home-d3a .band-ink .eyebrow,
body.home-d3a .band-deep .eyebrow {
  color: var(--on-dark-accent);
}
body.home-d3a .band-ink .section-head > p:not(.eyebrow),
body.home-d3a .band-ink p,
body.home-d3a .band-deep p {
  color: var(--on-dark-muted);
}
body.home-d3a .band-deep :focus-visible,
body.home-d3a .band-ink :focus-visible {
  outline-color: var(--focus-dark);
  box-shadow: 0 0 0 2px var(--ink);
}
body.home-d3a .section-head {
  margin-bottom: 2.5rem;
}
body.home-d3a .section-head h2,
body.home-d3a .closing h2 {
  max-width: 22ch;
  font-size: clamp(2rem, 3.4vw, 2.75rem);
  line-height: 1.12;
}
body.home-d3a .section-head > p:not(.eyebrow),
body.home-d3a .closing p {
  max-width: 62ch;
  font-size: 1.125rem;
}

/* before / after */
body.home-d3a .ba {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: clamp(1.5rem, 4vw, 3rem);
  align-items: stretch;
}
body.home-d3a .ba > div {
  padding: 1.5rem;
  border-radius: 1.25rem;
  min-width: 0;
}
body.home-d3a .ba-before {
  background: var(--warm);
  border: 2px dashed #cdb87c;
}
body.home-d3a .ba-after {
  background: var(--surface);
  border: 2px solid var(--action);
  box-shadow: var(--shadow-card);
}
body.home-d3a .ba-label {
  margin: 0 0 1rem;
  font-size: 1rem;
  font-weight: 800;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--ink);
}
body.home-d3a .ba-pile {
  position: relative;
  display: flex;
  flex-wrap: wrap;
  gap: 0.6rem 0.4rem;
  padding: 0.5rem 0 1rem;
}
body.home-d3a .paper {
  display: inline-block;
  max-width: 100%;
  padding: 0.75rem 0.9rem;
  border: 1px solid #d9cfae;
  border-radius: 0.4rem;
  background: #fffdf4;
  color: var(--ink);
  box-shadow: 0 3px 8px rgb(24 48 43 / 10%);
  font-size: 1rem;
  line-height: 1.3;
}
body.home-d3a .p1 {
  transform: rotate(-4deg);
}
body.home-d3a .p2 {
  transform: rotate(3deg) translateY(0.6rem);
}
body.home-d3a .p3 {
  transform: rotate(-2deg) translateX(1rem);
}
body.home-d3a .p4 {
  transform: rotate(4deg);
  border-radius: 1rem 1rem 1rem 0.2rem;
  background: #e8f0e6;
}
body.home-d3a .p5 {
  transform: rotate(-5deg) translateY(0.4rem);
}
body.home-d3a .ba-card h3 {
  margin: 0 0 1rem;
  font-size: 1.5rem;
}
body.home-d3a .ba-card ul {
  display: grid;
  gap: 0.6rem;
  margin: 0;
  padding: 0;
  list-style: none;
}
body.home-d3a .ba-card li {
  display: flex;
  align-items: center;
  gap: 0.7rem;
  padding: 0.7rem 0.9rem;
  border-radius: 0.8rem;
  background: var(--soft-green);
  font-weight: 650;
}
body.home-d3a .ba-card li svg {
  width: 1.4rem;
  height: 1.4rem;
  color: var(--action);
}

/* bento */
body.home-d3a .bento {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  grid-template-rows: auto auto;
  gap: 1.25rem;
}
body.home-d3a .bento-main {
  grid-column: 1 / 3;
  grid-row: 1 / 3;
  display: flex;
  flex-direction: column;
  padding: 2rem;
  border-radius: 1.25rem;
  background: var(--ink);
  color: var(--on-dark-strong);
  box-shadow: var(--shadow-card);
}
body.home-d3a .bento-main h3 {
  margin: 0 0 0.6rem;
  color: var(--surface);
  font-size: 1.75rem;
  line-height: 1.2;
}
body.home-d3a .bento-main p {
  margin: 0;
  color: var(--on-dark-muted);
  max-width: 40ch;
}
body.home-d3a .bento-main .card-icon {
  background: var(--plus-check-background);
  color: var(--on-dark-strong);
}
body.home-d3a .mini {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1rem;
  align-items: end;
  height: 9rem;
  margin-top: auto;
  padding-top: 1.5rem;
}
body.home-d3a .mini div {
  display: flex;
  align-items: flex-end;
  gap: 0.3rem;
  height: 100%;
}
body.home-d3a .mini span {
  flex: 1;
  border-radius: 0.35rem 0.35rem 0 0;
  background: #6fc3b1;
}
body.home-d3a .mini span.out {
  background: var(--amber);
}
body.home-d3a .bento-item {
  padding: 1.5rem;
  border: 1px solid var(--border);
  border-radius: 1.25rem;
  background: var(--surface);
  box-shadow: var(--shadow-soft);
  min-width: 0;
  transition:
    transform 200ms var(--ease),
    box-shadow 200ms var(--ease);
}
body.home-d3a .bento-item:hover {
  transform: translateY(-3px);
  box-shadow: var(--shadow-card);
}
body.home-d3a .bento-item h3 {
  margin: 0 0 0.4rem;
  font-size: 1.25rem;
}
body.home-d3a .bento-item p {
  margin: 0;
  color: var(--muted);
}
body.home-d3a .bento-item .card-icon {
  margin-bottom: 1rem;
}

/* flow */
body.home-d3a .flow {
  position: relative;
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 2rem;
  margin: 0;
  padding: 0;
  list-style: none;
}
body.home-d3a .flow::before {
  position: absolute;
  top: 1.75rem;
  left: 12%;
  right: 12%;
  height: 0.1875rem;
  background: repeating-linear-gradient(
    90deg,
    var(--on-dark-accent) 0 0.6rem,
    transparent 0.6rem 1.1rem
  );
  content: '';
}
body.home-d3a .flow li {
  position: relative;
  min-width: 0;
}
body.home-d3a .flow-n {
  position: relative;
  display: grid;
  width: 3.5rem;
  height: 3.5rem;
  place-items: center;
  margin-bottom: 1.25rem;
  border-radius: 50%;
  background: var(--surface);
  color: var(--ink);
  font-size: 1.5rem;
  font-weight: 800;
  box-shadow: 0 0 0 6px var(--ink);
}
body.home-d3a .flow h3 {
  margin: 0 0 0.5rem;
  font-size: 1.375rem;
}
body.home-d3a .flow p {
  margin: 0;
  max-width: 32ch;
}

/* plans */
body.home-d3a .plan-facts {
  list-style: none;
  padding: 0;
}
body.home-d3a .plan-facts li {
  position: relative;
  margin: 0.6rem 0;
  padding-left: 1.9rem;
}
body.home-d3a .plan-facts li::before {
  position: absolute;
  left: 0;
  top: 0.15rem;
  display: grid;
  width: 1.35rem;
  height: 1.35rem;
  place-items: center;
  border-radius: 50%;
  background: var(--action);
  color: var(--white);
  content: '✓';
  font-size: 0.875rem;
  font-weight: 800;
  line-height: 1;
}
body.home-d3a .plan-facts li.no {
  color: #566861;
}
body.home-d3a .plan-facts li.no::before {
  background: var(--border);
  color: var(--ink);
  content: '–';
}
body.home-d3a .plan-card {
  border-radius: 1.25rem;
}
body.home-d3a .plan-card-plus,
body.home-d3a .plan-card-plus:hover {
  transform: none;
}
body.home-d3a .plan-card-footer {
  margin-top: auto;
}
body.home-d3a .plan-note {
  margin-top: 1.25rem !important;
  color: var(--ink) !important;
}

/* faq */
body.home-d3a .faq-grid {
  display: grid;
  grid-template-columns: minmax(0, 0.8fr) minmax(0, 1.2fr);
  gap: clamp(2rem, 6vw, 5rem);
  align-items: start;
}
body.home-d3a .faq-sticky {
  position: sticky;
  top: 7rem;
  margin: 0;
}
body.home-d3a .faq-list details {
  border-radius: 1rem;
  padding: 0.25rem 1.25rem;
}
body.home-d3a .faq-list summary {
  font-size: 1.125rem;
}

/* closing */
body.home-d3a .closing {
  margin-top: var(--d3a-gap);
  padding: var(--d3a-gap) 0;
  position: relative;
  isolation: isolate;
  color: var(--on-dark-strong);
}
body.home-d3a .closing .button-secondary {
  background: transparent;
  border-color: var(--surface);
  color: var(--surface);
}
body.home-d3a .closing .button-secondary:hover {
  background: var(--surface);
  color: var(--ink);
}
body.home-d3a .closing .button:not(.button-secondary) {
  background: var(--surface);
  border-color: var(--surface);
  color: var(--ink);
}
body.home-d3a .closing .button:not(.button-secondary):hover {
  background: var(--soft-green);
}
body.home-d3a .public-footer {
  padding-top: 2.5rem;
}

@media (max-width: 64rem) {
  body.home-d3a .hero-inner {
    grid-template-columns: 1fr;
  }
  body.home-d3a .demo {
    max-width: none;
  }
  body.home-d3a .bento {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
  body.home-d3a .bento-main {
    grid-column: 1 / -1;
    grid-row: auto;
  }
  body.home-d3a .faq-grid {
    grid-template-columns: 1fr;
  }
  body.home-d3a .faq-sticky {
    position: static;
  }
}
@media (max-width: 48rem) {
  body.home-d3a {
    --d3a-gap: 4rem;
  }
  body.home-d3a .facts {
    grid-template-columns: 1fr;
  }
  body.home-d3a .facts li {
    grid-template-columns: auto minmax(0, 1fr);
    align-items: center;
    gap: 0.75rem;
  }
  body.home-d3a .fact-icon {
    margin: 0;
  }
  body.home-d3a .ba,
  body.home-d3a .flow,
  body.home-d3a .plans-grid,
  body.home-d3a .resource-grid {
    grid-template-columns: 1fr;
  }
  body.home-d3a .flow::before {
    top: 0;
    bottom: 0;
    left: 1.75rem;
    right: auto;
    width: 0.1875rem;
    height: auto;
    background: repeating-linear-gradient(
      180deg,
      var(--on-dark-accent) 0 0.6rem,
      transparent 0.6rem 1.1rem
    );
  }
  body.home-d3a .flow li {
    padding-left: 5rem;
  }
  body.home-d3a .flow-n {
    position: absolute;
    left: 0;
    top: 0;
  }
  body.home-d3a .plan-card-plus,
  body.home-d3a .plan-card-plus:hover {
    transform: none;
  }
  body.home-d3a .demo-stats {
    grid-template-columns: 1fr;
  }
  body.home-d3a .phone {
    position: relative;
    right: auto;
    width: min(100%, 17rem);
    margin: -1rem 0 0 auto;
  }
  body.home-d3a .demo {
    padding-bottom: 0;
  }
  body.home-d3a .closing {
    flex-direction: column;
    align-items: flex-start;
  }
}
@media (max-width: 30rem) {
  body.home-d3a .bento {
    grid-template-columns: 1fr;
  }
  body.home-d3a .actions .button {
    width: 100%;
  }
}
@media (prefers-reduced-motion: reduce) {
  body.home-d3a .bento-item,
  body.home-d3a .bento-item:hover {
    transition: none;
    transform: none;
  }
}

/* ===== Interior pages — scoped to non-home bodies ===== */
body:not(.home-d3a) main.tool,
body:not(.home-d3a) main.article {
  padding-top: clamp(1.5rem, 4vw, 3rem);
}
body:not(.home-d3a) main.tool > .eyebrow,
body:not(.home-d3a) main > .eyebrow:first-child {
  display: inline-flex;
  align-items: center;
  padding: 0.3rem 0.85rem;
  border-radius: 2rem;
  background: var(--soft-green);
}
body:not(.home-d3a) main.tool > h1,
body:not(.home-d3a) main > h1 {
  max-width: 22ch;
  font-size: clamp(2.25rem, 4.4vw, 3.25rem);
  line-height: 1.1;
}
body:not(.home-d3a) main.tool > .lead {
  max-width: 46rem;
  padding-bottom: 1.5rem;
  border-bottom: 1px solid var(--border);
}
body:not(.home-d3a) .tool-panel {
  padding: clamp(1.5rem, 3vw, 2rem);
  border: 1px solid var(--border);
  border-radius: 1.25rem;
  background: var(--surface);
  box-shadow: var(--shadow-soft);
}
body:not(.home-d3a) .tool-form input,
body:not(.home-d3a) .tool-form select {
  min-height: 3.25rem;
  font-size: 1.125rem;
  border: 2px solid var(--field-border);
  border-radius: 0.75rem;
}
body:not(.home-d3a) .tool-form .field-help {
  font-size: 1rem;
  color: var(--muted);
}
body:not(.home-d3a) .result {
  border: 1px solid var(--border);
  border-radius: 1.25rem;
  background: var(--soft-green);
}
body:not(.home-d3a) .result-grid strong {
  font-variant-numeric: tabular-nums;
  color: var(--action);
}
body:not(.home-d3a) .tool-copy {
  max-width: 68ch;
  margin-top: 3rem;
  padding: clamp(1.5rem, 3vw, 2rem);
  border-left: 4px solid var(--graphic);
  border-radius: 0 1.25rem 1.25rem 0;
  background: var(--surface);
}
body:not(.home-d3a) .content-card {
  border-radius: 1.25rem;
}
body:not(.home-d3a) .article {
  line-height: 1.7;
}
body:not(.home-d3a) .article .disclaimer {
  padding: 1rem 1.25rem;
  border: 1px solid var(--border);
  border-left: 4px solid var(--amber);
  border-radius: 0.75rem;
  background: var(--warm);
}
@media (min-width: 62rem) {
  body:not(.home-d3a) .tool-panel {
    max-width: 44rem;
  }
}

/* ===== Tool pages (yield, cashflow, receipt, UTM) ===== */
.tool-page {
  padding-bottom: 3rem;
}
.tool-hero {
  position: relative;
  margin-top: 2rem;
  padding: clamp(1.5rem, 4vw, 3rem);
  overflow: hidden;
  border: 1px solid var(--border);
  border-radius: 1.75rem;
  background: linear-gradient(
    135deg,
    var(--soft-green) 0%,
    var(--background) 62%,
    var(--warm) 100%
  );
}
.tool-hero::before {
  position: absolute;
  right: -6rem;
  top: -8rem;
  width: 22rem;
  height: 22rem;
  border: 1px solid rgb(15 118 110 / 20%);
  border-radius: 50%;
  box-shadow: 0 0 0 2rem rgb(15 118 110 / 4%);
  content: '';
  pointer-events: none;
}
.tool-crumb {
  position: relative;
  margin-bottom: 0.5rem;
}
.tool-hero-grid {
  position: relative;
  display: grid;
  align-items: end;
  gap: 2rem;
  grid-template-columns: minmax(0, 1fr) minmax(16rem, 20rem);
}
.tool-hero-copy .eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
}
.eyebrow-icon {
  display: inline-grid;
  width: 1.5rem;
  height: 1.5rem;
}
.eyebrow-icon svg {
  width: 1.5rem;
  height: 1.5rem;
}
.tool-page .tool-hero h1 {
  max-width: 22ch;
  font-size: clamp(2.25rem, 4.4vw, 3.25rem);
}
.tool-page .tool-hero .lead {
  max-width: 40rem;
  margin: 1.1rem 0 0;
  padding: 0;
  border: 0;
  font-size: 1.25rem;
}
.tool-free-card {
  padding: 1.5rem;
  border: 1px solid var(--border);
  border-radius: 1.25rem;
  background: var(--surface);
  box-shadow: var(--shadow-soft);
}
.tool-free-card p {
  margin: 0 0 0.35rem;
  color: var(--muted);
  font-size: 1rem;
}
.tool-free-card p strong {
  color: var(--ink);
  font-size: 1.125rem;
}
.tool-free-card .card-icon {
  margin-bottom: 0.9rem;
}

.tool-layout {
  display: grid;
  align-items: start;
  gap: 1.5rem;
  margin-top: 2rem;
  grid-template-columns: minmax(0, 1.15fr) minmax(0, 1fr);
}
.tool-page .tool-form-col {
  max-width: none;
}
.form-intro {
  margin: 0 0 1rem;
  color: var(--muted);
}
.form-group-title {
  margin: 0.75rem 0 0 !important;
  padding-bottom: 0.4rem;
  border-bottom: 1px solid var(--border);
  color: var(--action);
  font-size: 1rem !important;
  letter-spacing: 0.06em;
  text-transform: uppercase;
}
.form-group-title:first-child {
  margin-top: 0 !important;
}
.tool-page .tool-form input,
.tool-page .tool-form select {
  min-height: 3.25rem;
}
.tool-page .error {
  margin-top: 0.75rem;
  color: var(--error);
  font-weight: 700;
}
.tool-page .error[hidden],
.receipt[hidden],
.url-output[hidden],
[data-result-empty][hidden] {
  display: none;
}

.result-sidebar {
  position: sticky;
  top: 6.5rem;
  display: grid;
  gap: 1rem;
}
.result-empty,
.tool-page .result,
.receipt,
.utm-result {
  padding: clamp(1.5rem, 3vw, 2rem);
  border: 1px solid var(--border);
  border-radius: 1.25rem;
  background: var(--surface);
  box-shadow: var(--shadow-card);
}
.result-empty {
  border-style: dashed;
  background: var(--soft-green);
  box-shadow: none;
}
.result-empty h2,
.tool-page .result h2,
.receipt h2 {
  margin: 0 0 0.6rem;
  font-size: 1.5rem;
}
.result-empty p,
.result-empty li {
  color: var(--muted);
}
.result-empty ul {
  margin: 0.5rem 0 0;
  padding-left: 1.25rem;
}
.tool-page .result {
  margin: 0;
  background: var(--surface);
  border: 2px solid var(--action);
}
.tool-page .result[hidden] {
  display: none;
}
.tool-page .result-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 0.75rem;
}
.tool-page .result-grid > div {
  padding: 1rem;
  border-radius: 0.9rem;
  background: var(--soft-green);
}
.tool-page .result-grid span {
  display: block;
  color: var(--muted);
  font-size: 1rem;
  font-weight: 600;
}
.tool-page .result-grid strong {
  display: block;
  margin: 0.25rem 0;
  color: var(--action);
  font-size: clamp(1.5rem, 2.4vw, 2rem);
  line-height: 1.15;
  font-variant-numeric: tabular-nums;
}
.tool-page .result-grid small {
  display: block;
  color: var(--muted);
  font-size: 1rem;
  line-height: 1.4;
}
.tool-page .result > span {
  display: block;
  color: var(--muted);
  font-weight: 600;
}
.tool-page .result > strong {
  display: block;
  margin: 0.25rem 0 0.5rem;
  color: var(--action);
  font-size: clamp(2.25rem, 4vw, 3rem);
  line-height: 1.1;
  font-variant-numeric: tabular-nums;
}
.result-note {
  margin-top: 1rem;
  font-size: 1rem;
  color: var(--muted);
}
.result-bar {
  display: flex;
  height: 0.9rem;
  margin: 1rem 0 0;
  overflow: hidden;
  border-radius: 1rem;
  background: var(--border);
}
.result-bar .bar-in {
  width: var(--in, 0%);
  background: var(--graphic);
}
.result-bar .bar-out {
  width: var(--out, 0%);
  background: var(--amber);
}
.copy-status {
  min-height: 1.5rem;
  margin: 0.5rem 0 0;
  color: var(--success);
  font-size: 1rem;
  font-weight: 600;
}
.tool-page .result .button[data-copy-button],
.receipt-actions .button {
  margin-top: 1rem;
}
.receipt-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
}
.receipt dl {
  display: grid;
  grid-template-columns: 9rem 1fr;
  gap: 0.6rem 1rem;
}
.receipt dt {
  color: var(--muted);
}
.receipt dd {
  margin: 0;
  font-weight: 650;
  overflow-wrap: anywhere;
}
.url-output {
  width: 100%;
  min-height: 6rem;
  padding: 0.75rem;
  border: 2px solid var(--field-border);
  border-radius: 0.75rem;
  overflow-wrap: anywhere;
  background: var(--background);
  font: inherit;
}
.utm-result h3 {
  margin: 0 0 0.75rem;
}
.utm-result .button {
  margin-top: 0.75rem;
}
#utm-copy-status {
  display: block;
  margin-top: 0.5rem;
  color: var(--success);
  font-weight: 600;
}

.tool-below {
  display: grid;
  gap: 1.25rem;
  margin-top: 2.5rem;
  grid-template-columns: 1fr 1fr;
}
.tool-below .tool-faq {
  grid-column: 1 / -1;
}
.formula-box,
.example-box {
  padding: 1.75rem;
  border: 1px solid var(--border);
  border-radius: 1.25rem;
  background: var(--surface);
}
.formula-box {
  border-left: 6px solid var(--action);
  background: var(--soft-green);
}
.example-box {
  background: var(--warm);
}
.formula-box h2,
.example-box h2,
.tool-faq h2 {
  margin: 0 0 0.75rem;
  font-size: 1.5rem;
}
.formula {
  display: grid;
  gap: 0.5rem;
  margin: 0;
}
.formula span {
  padding: 0.75rem 1rem;
  border-radius: 0.75rem;
  background: var(--surface);
  color: var(--ink);
  font-weight: 700;
  font-variant-numeric: tabular-nums;
}
.example-box p {
  margin: 0 0 0.5rem;
}
.url-sample {
  overflow-wrap: anywhere;
  font-weight: 650;
}
.tool-below ~ .tool-copy {
  max-width: 68ch;
}

@media (max-width: 62rem) {
  .tool-hero-grid,
  .tool-layout,
  .tool-below {
    grid-template-columns: 1fr;
  }
  .result-sidebar {
    position: static;
  }
}
@media (max-width: 35rem) {
  .tool-page .result-grid {
    grid-template-columns: 1fr;
  }
  .receipt dl {
    grid-template-columns: 1fr;
    gap: 0.1rem;
  }
  .receipt dd {
    margin-bottom: 0.6rem;
  }
}
@media print {
  .tool-hero,
  .tool-form-col,
  .tool-below,
  .tool-copy,
  [data-result-empty],
  .receipt-actions,
  .copy-status,
  .public-header,
  .public-footer,
  .alquiok-consent {
    display: none !important;
  }
  .tool-layout {
    display: block;
    margin: 0;
  }
  .result-sidebar {
    position: static;
  }
  .receipt {
    margin: 0;
    padding: 0;
    border: 0;
    box-shadow: none;
  }
}

/* ===== Pricing / Support / Templates — body.interior-d3b ===== */
body.interior-d3b .sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  overflow: hidden;
  clip-path: inset(50%);
  white-space: nowrap;
}
body.interior-d3b .billing-selector {
  display: inline-flex;
  gap: 0.5rem;
  margin: 1.5rem 0 1rem;
  padding: 0.4rem;
  border: 1px solid var(--border);
  border-radius: 1rem;
  background: var(--surface);
}
body.interior-d3b .billing-selector legend {
  position: absolute;
  width: 1px;
  height: 1px;
  overflow: hidden;
  clip-path: inset(50%);
}
body.interior-d3b .billing-selector label {
  position: relative;
  display: inline-flex;
}
body.interior-d3b .billing-selector input {
  position: absolute;
  inset: 0;
  opacity: 0;
  margin: 0;
  cursor: pointer;
}
body.interior-d3b .billing-selector span {
  display: inline-flex;
  min-height: 3rem;
  align-items: center;
  padding: 0.4rem 1.1rem;
  border-radius: 0.75rem;
  color: var(--muted);
  font-weight: 700;
}
body.interior-d3b .billing-selector input:checked + span {
  background: var(--action);
  color: var(--white);
}
body.interior-d3b .billing-selector input:focus-visible + span {
  outline: 3px solid var(--action);
  outline-offset: 3px;
}
body.interior-d3b .pricing-grid {
  align-items: stretch;
}
body.interior-d3b .pricing-plan-card {
  height: 100%;
  border-radius: 1.25rem;
}
body.interior-d3b .pricing-plan-card ul {
  margin: 1rem 0 1.5rem;
  padding-left: 1.3rem;
  color: var(--muted);
}
body.interior-d3b .price-amount {
  margin: 0.25rem 0 0.5rem;
  color: var(--ink);
  font-size: 2.25rem;
  font-weight: 700;
  font-variant-numeric: tabular-nums;
}
body.interior-d3b .price-amount small {
  color: var(--muted);
  font-size: 1rem;
  font-weight: 600;
}
body.interior-d3b .price-options {
  display: grid;
  gap: 0.75rem;
}
body.interior-d3b .price-option {
  padding: 0.75rem 1rem;
  border: 1px solid var(--border);
  border-radius: 0.9rem;
  background: var(--surface);
}
body.interior-d3b .price-option p:last-child {
  margin-bottom: 0;
}
body.interior-d3b .compare-section {
  margin-top: 3rem;
}
body.interior-d3b .table-scroll {
  overflow-x: auto;
  border: 1px solid var(--border);
  border-radius: 1.25rem;
  background: var(--surface);
}
body.interior-d3b .compare-table {
  width: 100%;
  min-width: 30rem;
  border-collapse: collapse;
  font-variant-numeric: tabular-nums;
}
body.interior-d3b .compare-table th,
body.interior-d3b .compare-table td {
  padding: 1rem 1.25rem;
  border-bottom: 1px solid var(--border);
  text-align: left;
}
body.interior-d3b .compare-table thead th {
  background: var(--soft-green);
  color: var(--ink);
}
body.interior-d3b .compare-table tbody tr:last-child > * {
  border-bottom: 0;
}
body.interior-d3b .compare-table td:last-child {
  background: rgb(234 244 241 / 45%);
  font-weight: 650;
}

body.interior-d3b .support-cats {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 1rem;
  margin: 2rem 0;
}
body.interior-d3b .support-cat {
  display: block;
  text-decoration: none;
  color: inherit;
}
body.interior-d3b .support-cat h2 {
  margin: 0 0 0.4rem;
  font-size: 1.25rem;
}
body.interior-d3b .support-cat p {
  font-size: 1rem;
}
body.interior-d3b .support-page .contact {
  margin: 0 0 2.5rem;
  padding: clamp(1.5rem, 3vw, 2.25rem);
  border: 2px solid var(--action);
  border-radius: 1.25rem;
  background: var(--soft-green);
  box-shadow: var(--shadow-card);
}
body.interior-d3b .contact-steps {
  margin: 0 0 1.25rem;
  padding-left: 1.4rem;
  color: var(--muted);
}
body.interior-d3b .support-page .email {
  display: inline-block;
  margin-left: 1rem;
  font-size: 1.25rem;
  font-weight: 700;
}
body.interior-d3b .faq-group {
  margin-top: 2rem;
  scroll-margin-top: 6rem;
}
body.interior-d3b .faq-group h3 {
  margin: 0 0 0.75rem;
}

body.interior-d3b .template-grid {
  align-items: stretch;
}
body.interior-d3b .template-card {
  display: flex;
  flex-direction: column;
}
body.interior-d3b .template-card .button {
  margin-top: auto;
  align-self: flex-start;
}
body.interior-d3b .template-includes {
  margin: 0 0 1.25rem;
  padding-left: 1.3rem;
  color: var(--muted);
}
body.interior-d3b .template-card h3 {
  margin: 1rem 0 0.4rem;
  font-size: 1.125rem;
}
body.interior-d3b .sheet-preview {
  margin-bottom: 1.25rem;
  padding: 0.75rem;
  border: 1px solid var(--border);
  border-radius: 1rem;
  background: var(--soft-green);
}
body.interior-d3b .sheet-tabs {
  display: flex;
  flex-wrap: wrap;
  gap: 0.25rem;
  margin-bottom: 0.5rem;
}
body.interior-d3b .sheet-tabs span {
  padding: 0.15rem 0.6rem;
  border-radius: 0.5rem 0.5rem 0 0;
  background: var(--border);
  color: var(--muted);
  font-size: 1rem;
  font-weight: 600;
}
body.interior-d3b .sheet-tabs .on {
  background: var(--action);
  color: var(--white);
}

/* PR-D3B: the public interior pages share the homepage frame and tokens. */
body.interior-d3b main.article,
body.interior-d3b main.tool {
  width: 100%;
  max-width: 70rem;
  margin-inline: auto;
}
body.interior-d3b main {
  min-width: 0;
  padding-top: 0;
}
body.interior-d3b .tool-below {
  grid-template-columns: repeat(2, minmax(0, 1fr));
}
body.interior-d3b .tool-copy ul,
body.interior-d3b .tool-copy ol {
  max-width: 62ch;
  padding-left: 1.5rem;
}
body.interior-d3b .tool-copy li + li {
  margin-top: 0.75rem;
}
body.interior-d3b .formula-box,
body.interior-d3b .example-box {
  min-width: 0;
}
body.interior-d3b .formula,
body.interior-d3b .url-sample {
  overflow-wrap: anywhere;
}
body.interior-d3b .tool-hero {
  padding-inline: 0;
  border-inline: 0;
  border-radius: 0;
  box-shadow: 0 0 0 100vmax var(--soft-green);
  clip-path: inset(0 -100vmax);
}
body.interior-d3b .interior-hero {
  position: relative;
  margin: 0 0 3.5rem;
  padding: 2rem 0 3rem;
  border-bottom: 1px solid var(--border);
  background: var(--soft-green);
  box-shadow: 0 0 0 100vmax var(--soft-green);
  clip-path: inset(0 -100vmax);
}
body.interior-d3b .interior-hero-grid {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 12rem;
  gap: 3rem;
  align-items: center;
}
body.interior-d3b .interior-hero h1 {
  max-width: 24ch;
  margin-block: 1rem;
  font-size: clamp(2.1rem, 4.2vw, 3.25rem);
  line-height: 1.12;
}
body.interior-d3b .interior-hero .intro,
body.interior-d3b .interior-hero .lead {
  max-width: 62ch;
  margin-block: 1rem 0;
  font-size: 1.25rem;
  line-height: 1.65;
}
body.interior-d3b .breadcrumb {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 0.5rem;
  max-width: 100%;
  margin-bottom: 2rem;
  font-size: 1rem;
  color: var(--muted);
}
body.interior-d3b .breadcrumb a {
  display: inline-flex;
  align-items: center;
  min-height: 3rem;
}
body.interior-d3b .breadcrumb [aria-current] {
  min-width: 0;
  overflow-wrap: anywhere;
}
body.interior-d3b .interior-hero-art {
  position: relative;
  display: grid;
  place-items: center;
  height: 11rem;
  border-radius: 2rem;
  background: var(--surface);
  border: 1px solid var(--border);
  box-shadow: var(--shadow-soft);
  transform: rotate(-5deg);
}
body.interior-d3b .interior-hero-art::before,
body.interior-d3b .interior-hero-art::after {
  position: absolute;
  content: '';
  width: 2.5rem;
  height: 2.5rem;
  border-radius: 0.75rem;
  background: var(--soft-green);
  border: 1px solid var(--border);
}
body.interior-d3b .interior-hero-art::before {
  right: -0.75rem;
  top: -0.75rem;
}
body.interior-d3b .interior-hero-art::after {
  bottom: -0.75rem;
  left: -0.75rem;
}
body.interior-d3b .interior-hero-art > .interior-icon .lucide-icon {
  width: 4.5rem;
  height: 4.5rem;
  color: var(--action);
}
body.interior-d3b .interior-icon {
  display: inline-flex;
  flex-shrink: 0;
  color: var(--action);
}
body.interior-d3b .interior-icon .lucide-icon {
  width: 2rem;
  height: 2rem;
}
body.interior-d3b .interior-summary {
  display: flex;
  align-items: flex-start;
  gap: 1.5rem;
  padding: 2rem;
  margin-block: 2.5rem 4rem;
  background: var(--soft-green);
  border: 1px solid var(--border);
  border-radius: 1.25rem;
}
body.interior-d3b .interior-summary h2 {
  margin-block: 0 1rem;
  font-size: 1.5rem;
}
body.interior-d3b .interior-summary ul {
  padding-left: 1.25rem;
  margin: 0;
}
body.interior-d3b .interior-summary li + li {
  margin-top: 0.75rem;
}
body.interior-d3b .reading-layout {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 16rem;
  gap: 3rem;
  align-items: start;
}
body.interior-d3b .reading-sidebar {
  position: sticky;
  top: 7rem;
  min-width: 0;
  max-height: calc(100dvh - 8rem);
  overflow: auto;
  scrollbar-gutter: stable;
}
body.interior-d3b .page-toc {
  padding: 1.5rem;
  border: 1px solid var(--border);
  background: var(--surface);
  border-radius: 1.25rem;
}
body.interior-d3b .page-toc h2 {
  margin: 0 0 1rem;
  font-size: 1.125rem;
}
body.interior-d3b .page-toc ol {
  list-style: none;
  padding: 0;
  margin: 0;
}
body.interior-d3b .page-toc li {
  margin: 0;
}
body.interior-d3b .page-toc a {
  display: flex;
  align-items: center;
  min-height: 3rem;
  padding-block: 0.5rem;
  font-size: 1rem;
  line-height: 1.5;
  overflow-wrap: anywhere;
}
body.interior-d3b .article-prose,
body.interior-d3b .legal-prose {
  min-width: 0;
  max-width: 68ch;
  font-size: 1.125rem;
  line-height: 1.7;
}
body.interior-d3b .article-prose p,
body.interior-d3b .article-prose li,
body.interior-d3b .article-prose table {
  font-size: 1.125rem;
}
body.interior-d3b .article-prose > p,
body.interior-d3b .article-prose > ul,
body.interior-d3b .article-prose > ol {
  max-width: 68ch;
}
body.interior-d3b .article-prose h2,
body.interior-d3b .legal-prose h2 {
  font-size: clamp(1.5rem, 2.5vw, 2rem);
  line-height: 1.25;
  margin-block: 2.5rem 1.25rem;
}
body.interior-d3b .legal-prose article,
body.interior-d3b .legal-prose section {
  padding: 0 0 1.5rem;
  border-bottom: 1px solid var(--border);
}
body.interior-d3b .legal-prose article:first-of-type h2 {
  margin-top: 0.5rem;
}
body.interior-d3b .updated {
  display: inline-block;
  padding: 0.75rem 1rem;
  color: var(--muted);
  background: var(--soft-green);
  border-radius: 0.75rem;
  font-size: 1rem;
}
body.interior-d3b .worked-example {
  padding: 1.5rem;
  border-left: 0.25rem solid var(--action);
  border-radius: 0 1.25rem 1.25rem 0;
  background: var(--warm);
}
body.interior-d3b .worked-example h2:first-child {
  margin-top: 0;
}
body.interior-d3b .article-notice {
  margin-top: 1.5rem;
  padding: 1.25rem;
  border-radius: 1rem;
  background: var(--warm);
}
body.interior-d3b .article-notice .disclaimer {
  padding: 0;
  margin: 0;
  font-size: 1rem;
  line-height: 1.65;
  border: 0;
  background: none;
}
body.interior-d3b .article-table-scroll {
  max-width: 100%;
  overflow: auto;
}
body.interior-d3b .article-table-scroll table {
  width: 100%;
  border-collapse: collapse;
  font-variant-numeric: tabular-nums;
}
body.interior-d3b .article-table-scroll th,
body.interior-d3b .article-table-scroll td {
  padding: 0.75rem;
  border: 1px solid var(--border);
  text-align: left;
}
body.interior-d3b .article-table-scroll tr:nth-child(even) {
  background: var(--soft-green);
}
body.interior-d3b .related-tool-band {
  display: flex;
  gap: 1.5rem;
  padding: 2rem;
  margin-block: 4rem;
  border-radius: 1.25rem;
  background: var(--soft-green);
}
body.interior-d3b .related-tool-band h2 {
  margin-top: 0;
  font-size: 1.75rem;
}
body.interior-d3b .related-reading {
  margin-block: 4rem;
}
body.interior-d3b .related-reading .content-grid {
  grid-template-columns: repeat(3, minmax(0, 1fr));
}
body.interior-d3b .related-reading .guide-card {
  min-width: 0;
  padding: 1.25rem;
}
body.interior-d3b .related-reading h3 {
  font-size: 1.375rem;
  line-height: 1.35;
  margin-block: 1rem;
}
body.interior-d3b .guide-card .guide-cover {
  margin: 0;
  width: 100%;
  border-radius: 0.75rem;
  overflow: hidden;
}
body.interior-d3b .guide-cover img {
  display: block;
  width: 100%;
  height: auto;
}
body.interior-d3b .blog-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 2rem;
}
body.interior-d3b .blog-grid .guide-card {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  min-width: 0;
  padding: 1.5rem;
}
body.interior-d3b .blog-grid .guide-card h2 {
  font-size: 1.5rem;
  line-height: 1.3;
}
body.interior-d3b .blog-grid .guide-card .reading-time {
  margin-top: auto;
}
body.interior-d3b .blog-grid .guide-featured {
  grid-column: 1 / -1;
  display: grid;
  grid-template-columns: minmax(0, 1.2fr) minmax(0, 1fr);
  gap: 0.5rem 2rem;
  padding: 2rem;
  background: var(--soft-green);
}
body.interior-d3b .blog-grid .guide-featured .guide-cover {
  grid-row: 1 / 7;
  align-self: center;
}
body.interior-d3b .blog-grid .guide-featured h2 {
  font-size: clamp(1.75rem, 2.5vw, 2.25rem);
}
body.interior-d3b .guide-cover--article {
  display: block;
  max-width: 100%;
  margin-block: 2rem;
  border-radius: 1.25rem;
  overflow: hidden;
}
body.interior-d3b .segment-features {
  display: grid;
  gap: 4rem;
  margin-block: 4rem;
}
body.interior-d3b .segment-feature {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 0.8fr);
  gap: 4rem;
  align-items: center;
  padding: 2rem;
  border: 1px solid var(--border);
  background: var(--surface);
  border-radius: 1.25rem;
}
body.interior-d3b .segment-feature:nth-child(even) > div:first-child {
  order: 2;
}
body.interior-d3b .segment-feature h2 {
  margin-block: 1rem;
  font-size: clamp(1.75rem, 3vw, 2.25rem);
}
body.interior-d3b .segment-feature p {
  max-width: 62ch;
}
body.interior-d3b .segment-feature-art {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 0.75rem;
  padding: 2rem;
  border: 1px solid var(--border);
  border-radius: 1.25rem;
  background: var(--soft-green);
}
body.interior-d3b .segment-feature-art .interior-icon {
  grid-column: 1 / -1;
  padding: 1rem;
  margin-bottom: 1rem;
  border-radius: 1rem;
  background: var(--surface);
}
body.interior-d3b .segment-feature-art .lucide-icon {
  width: 4rem;
  height: 4rem;
}
body.interior-d3b .segment-feature-art > span {
  height: 4rem;
  border-radius: 0.5rem;
  background: var(--border);
}
body.interior-d3b .segment-feature-art > span:nth-child(3) {
  align-self: end;
  height: 6rem;
  background: var(--action);
}
body.interior-d3b .segment-illustration {
  max-width: 46rem;
  margin: 3rem auto;
}
body.interior-d3b [hidden] {
  display: none !important;
}
@media (max-width: 62rem) {
  body.interior-d3b .reading-layout {
    grid-template-columns: minmax(0, 1fr);
    gap: 2rem;
  }
  body.interior-d3b .reading-sidebar {
    position: static;
    max-height: none;
    grid-row: 1;
    overflow: visible;
  }
  body.interior-d3b .reading-sidebar .page-toc ol {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 0 1rem;
  }
  body.interior-d3b .article-notice {
    margin-top: 1rem;
  }
  body.interior-d3b .interior-hero-grid {
    grid-template-columns: minmax(0, 1fr) 8rem;
    gap: 1.5rem;
  }
  body.interior-d3b .interior-hero-art {
    height: 8rem;
    transform: none;
  }
  body.interior-d3b .blog-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
  body.interior-d3b .related-reading .content-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}
@media (max-width: 40rem) {
  body.interior-d3b .tool-below {
    grid-template-columns: minmax(0, 1fr);
  }
  body.interior-d3b .interior-hero {
    padding-block: 1rem 2rem;
    margin-bottom: 2rem;
  }
  body.interior-d3b .interior-hero-grid {
    grid-template-columns: minmax(0, 1fr);
  }
  body.interior-d3b .interior-hero-art {
    display: none;
  }
  body.interior-d3b .interior-hero .lead,
  body.interior-d3b .interior-hero .intro {
    font-size: 1.125rem;
  }
  body.interior-d3b .interior-summary {
    gap: 1rem;
    padding: 1.25rem;
  }
  body.interior-d3b .reading-sidebar .page-toc ol {
    grid-template-columns: minmax(0, 1fr);
  }
  body.interior-d3b .related-reading .content-grid,
  body.interior-d3b .blog-grid {
    grid-template-columns: minmax(0, 1fr);
  }
  body.interior-d3b .blog-grid .guide-featured {
    display: flex;
    padding: 1.5rem;
    gap: 0;
  }
  body.interior-d3b .segment-feature {
    grid-template-columns: minmax(0, 1fr);
    gap: 1.5rem;
    padding: 1.5rem;
  }
  body.interior-d3b .segment-feature:nth-child(even) > div:first-child {
    order: 0;
  }
  body.interior-d3b .segment-feature-art {
    padding: 1.5rem;
  }
  body.interior-d3b .related-tool-band {
    padding: 1.5rem;
    gap: 1rem;
  }
  body.interior-d3b .related-tool-band > .interior-icon {
    display: none;
  }
}
@media print {
  body.interior-d3b .reading-layout {
    display: block;
  }
  body.interior-d3b .reading-sidebar,
  body.interior-d3b .interior-hero-art,
  body.interior-d3b .related-reading,
  body.interior-d3b .related-tool-band {
    display: none !important;
  }
  body.interior-d3b .article-prose,
  body.interior-d3b .legal-prose {
    max-width: none;
  }
}
body.interior-d3b .sheet-grid {
  position: relative;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 2px;
  min-height: 8rem;
  padding: 2px;
  border-radius: 0.5rem;
  background: var(--border);
}
body.interior-d3b .sheet-grid b,
body.interior-d3b .sheet-grid i {
  display: block;
  min-height: 1.5rem;
  padding: 0.15rem 0.4rem;
  background: var(--surface);
  font-size: 0.9375rem;
  font-style: normal;
}
body.interior-d3b .sheet-grid b {
  background: var(--graphic);
  color: var(--white);
}
body.interior-d3b .sheet-grid .bars {
  position: absolute;
  right: 0.75rem;
  bottom: 0.5rem;
  display: flex;
  align-items: flex-end;
  gap: 0.3rem;
  height: 3.5rem;
}
body.interior-d3b .sheet-grid .bars u {
  width: 0.9rem;
  height: var(--h);
  border-radius: 0.2rem 0.2rem 0 0;
  background: var(--amber);
}
body.interior-d3b .sheet-grid .warn {
  grid-column: 1 / -1;
  padding: 0.3rem 0.5rem;
  background: var(--warm);
  color: var(--error);
  font-size: 1rem;
  font-style: normal;
  font-weight: 700;
}
body.interior-d3b .sheet-label {
  margin: 0.5rem 0 0;
  color: var(--muted);
  font-size: 1rem;
  text-align: right;
}

@media (max-width: 62rem) {
  body.interior-d3b .support-cats {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}
@media (max-width: 35rem) {
  body.interior-d3b .support-cats {
    grid-template-columns: 1fr;
  }
  body.interior-d3b .support-page .email {
    display: block;
    margin: 1rem 0 0;
  }
}

/* PR-D4A: richer homepage modules, balanced headings and non-overlapping paper layout. */
body.home-d3a .section-head-balanced {
  display: grid;
  max-width: none;
  grid-template-columns: minmax(0, 1fr) auto;
  align-items: end;
  column-gap: clamp(1.5rem, 4vw, 3.5rem);
}
body.home-d3a .section-head-balanced > .eyebrow {
  grid-column: 1 / -1;
}
body.home-d3a .section-head-balanced > h2,
body.home-d3a .section-head-balanced > h3,
body.home-d3a .section-head-balanced > p:not(.eyebrow) {
  grid-column: 1;
}
body.home-d3a .section-head-balanced > .section-head-link {
  grid-column: 2;
  grid-row: 2 / span 2;
  align-self: end;
  margin-bottom: 0.2rem;
}
body.home-d3a .section-head-link {
  display: inline-flex;
  min-height: 3rem;
  align-items: center;
  gap: 0.65rem;
  color: var(--action);
  font-weight: 700;
  text-decoration: underline;
  text-decoration-thickness: 2px;
  text-underline-offset: 3px;
}
body.home-d3a .section-head-link span,
body.home-d3a .resource-link .link-arrow {
  display: inline-block;
  transition: transform 120ms var(--ease);
}
body.home-d3a .section-head-link:hover span,
body.home-d3a .resource-link:hover .link-arrow,
body.home-d3a .resource-link:focus-visible .link-arrow {
  transform: translateX(0.25rem);
}
body.home-d3a .subsection-head.section-head-balanced {
  margin: 3.5rem 0 1.5rem;
}
body.home-d3a .subsection-head.section-head-balanced > div > .eyebrow {
  margin: 0 0 0.35rem;
}
body.home-d3a .subsection-head.section-head-balanced > p {
  grid-column: 2;
  grid-row: 1;
  align-self: end;
  max-width: 32ch;
  margin: 0 0 0.25rem;
  color: var(--muted);
}
body.home-d3a .homepage-resource-grid {
  align-items: stretch;
  gap: clamp(1rem, 2vw, 1.5rem);
}
body.home-d3a .homepage-resource-grid .resource-card {
  min-height: 23rem;
  padding: clamp(1.4rem, 2.5vw, 2rem);
  border-radius: var(--radius-card);
  transition:
    transform 200ms var(--ease),
    box-shadow 200ms var(--ease),
    border-color 200ms var(--ease);
}
body.home-d3a .resource-kind {
  width: fit-content;
  margin: 0 0 0.65rem;
  padding: 0.25rem 0.7rem;
  border: 1px solid var(--border);
  border-radius: 999px;
  background: var(--surface);
  color: var(--muted);
  font-size: 0.9375rem;
  font-weight: 700;
  line-height: 1.35;
}
body.home-d3a .homepage-resource-grid .resource-link {
  min-height: 3rem;
  margin-top: auto;
}
body.home-d3a .homepage-guides {
  grid-template-columns: repeat(3, minmax(0, 1fr));
}
body.home-d3a .homepage-guides .guide-featured {
  grid-column: span 2;
  min-height: 25rem;
  padding: clamp(1.6rem, 3vw, 2.5rem);
  border-inline-start: 0.375rem solid var(--action);
  background: linear-gradient(135deg, var(--soft-green), var(--surface) 68%);
}
body.home-d3a .homepage-guides .guide-featured .card-icon {
  width: 3.5rem;
  height: 3.5rem;
}
body.home-d3a .homepage-guides .guide-featured h3 {
  max-width: 24ch;
  font-size: clamp(1.55rem, 2.2vw, 2rem);
}
body.home-d3a .homepage-guides .reading-time {
  margin-top: 0.4rem;
}
body.home-d3a .ba {
  position: relative;
  gap: clamp(2rem, 5vw, 4rem);
}
body.home-d3a .ba::before {
  position: absolute;
  z-index: 2;
  top: 50%;
  left: 50%;
  display: grid;
  width: 3rem;
  height: 3rem;
  place-items: center;
  border: 1px solid var(--border);
  border-radius: 50%;
  background: var(--surface);
  box-shadow: var(--shadow-soft);
  color: var(--action);
  content: '→';
  font-size: 1.5rem;
  font-weight: 700;
  transform: translate(-50%, -50%);
}
body.home-d3a .ba > div {
  display: flex;
  min-height: 23rem;
  flex-direction: column;
}
body.home-d3a .ba-pile {
  flex: 1;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  grid-template-rows: repeat(3, minmax(3.5rem, 1fr));
  gap: 0.75rem;
  min-height: 16rem;
  padding: 0.25rem 0 0;
}
body.home-d3a .paper {
  display: grid;
  min-width: 0;
  align-items: center;
  padding: 0.7rem 0.8rem;
  transform: none;
}
body.home-d3a .p1,
body.home-d3a .p2 {
  grid-row: 1;
}
body.home-d3a .p3,
body.home-d3a .p5 {
  grid-row: 2;
}
body.home-d3a .p4 {
  grid-column: 1 / -1;
  grid-row: 3;
}
body.home-d3a .ba-after .ba-card {
  display: flex;
  flex: 1;
  flex-direction: column;
  justify-content: center;
}
body.home-d3a .ba-after .ba-card ul {
  width: 100%;
}

/* Progressive CSS-only hero motion. The resting state remains fully visible. */
@keyframes hero-value-in {
  from {
    opacity: 0.5;
    transform: translateY(0.4rem);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}
@keyframes hero-bar-rise {
  from {
    transform: scaleY(0.08);
  }
  to {
    transform: scaleY(1);
  }
}
@keyframes hero-phone-in {
  from {
    opacity: 0.55;
    transform: translate(0.5rem, 0.4rem);
  }
  to {
    opacity: 1;
    transform: translate(0, 0);
  }
}
@keyframes hero-row-in {
  from {
    opacity: 0.55;
    transform: translateX(0.5rem);
  }
  to {
    opacity: 1;
    transform: translateX(0);
  }
}
body.home-d3a .demo-chart span {
  transform-origin: center bottom;
  animation: hero-bar-rise 600ms var(--ease) both;
}
body.home-d3a .demo-chart span:nth-child(2) {
  animation-delay: 50ms;
}
body.home-d3a .demo-chart span:nth-child(3) {
  animation-delay: 100ms;
}
body.home-d3a .demo-chart span:nth-child(4) {
  animation-delay: 150ms;
}
body.home-d3a .demo-chart span:nth-child(5) {
  animation-delay: 200ms;
}
body.home-d3a .demo-chart span:nth-child(6) {
  animation-delay: 250ms;
}
body.home-d3a .demo-chart span:nth-child(7) {
  animation-delay: 300ms;
}
body.home-d3a .demo-chart span:nth-child(8) {
  animation-delay: 350ms;
}
body.home-d3a .demo-chart span:nth-child(9) {
  animation-delay: 400ms;
}
body.home-d3a .demo-chart span:nth-child(10) {
  animation-delay: 450ms;
}
body.home-d3a .demo-chart span:nth-child(11) {
  animation-delay: 500ms;
}
body.home-d3a .demo-chart span:nth-child(12) {
  animation-delay: 550ms;
}
body.home-d3a .demo-stats dd,
body.home-d3a .demo-annual strong {
  animation: hero-value-in 400ms var(--ease) both;
}
body.home-d3a .demo-stats div:nth-child(2) dd {
  animation-delay: 80ms;
}
body.home-d3a .demo-stats div:nth-child(3) dd {
  animation-delay: 160ms;
}
body.home-d3a .demo-annual strong {
  animation-delay: 220ms;
}
body.home-d3a .phone {
  animation: hero-phone-in 550ms var(--ease) 100ms both;
}
body.home-d3a .phone li {
  animation: hero-row-in 350ms var(--ease) both;
}
body.home-d3a .phone li:nth-child(2) {
  animation-delay: 120ms;
}
body.home-d3a .phone li:nth-child(3) {
  animation-delay: 240ms;
}
@media (max-width: 62rem) {
  body.home-d3a .section-head-balanced {
    grid-template-columns: 1fr;
  }
  body.home-d3a .section-head-balanced > .section-head-link {
    grid-column: 1;
    grid-row: auto;
    justify-self: start;
    margin-top: 0.75rem;
  }
  body.home-d3a .subsection-head.section-head-balanced > p {
    grid-column: 1;
    grid-row: auto;
  }
  body.home-d3a .homepage-guides {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}
@media (max-width: 48rem) {
  body.home-d3a .ba::before {
    content: '↓';
  }
  body.home-d3a .ba > div {
    min-height: 20rem;
  }
  body.home-d3a .homepage-guides .guide-featured {
    grid-column: 1 / -1;
    min-height: 0;
  }
}
@media (max-width: 35rem) {
  body.home-d3a .homepage-guides {
    grid-template-columns: 1fr;
  }
  body.home-d3a .homepage-guides .guide-featured {
    grid-column: auto;
  }
  body.home-d3a .homepage-resource-grid .resource-card {
    min-height: 0;
  }
}
@media (prefers-reduced-motion: reduce) {
  body.home-d3a .demo-chart span,
  body.home-d3a .demo-stats dd,
  body.home-d3a .demo-annual strong,
  body.home-d3a .phone,
  body.home-d3a .phone li {
    animation: none;
    opacity: 1;
    transform: none;
  }
  body.home-d3a .section-head-link span,
  body.home-d3a .resource-link .link-arrow {
    transition: none;
    transform: none;
  }
}
@media print {
  .reveal {
    opacity: 1 !important;
    transform: none !important;
  }
}

/* =====================================================================
   DS5 · Capa de diseño unificada (web pública)
   Un solo sistema de ritmo, encabezados, tarjetas, planes, movimiento.
   Se carga al final: sustituye a los parches D3A–D3C donde coinciden.
   ===================================================================== */
:root {
  --ds-section: clamp(4rem, 7vw, 6rem);
  --ds-gap: 1.5rem;
  --ds-radius: 1.25rem;
  --ds-pad: clamp(1.5rem, 2.4vw, 2rem);
  --ds-ease-out: cubic-bezier(0.2, 0.7, 0.2, 1);
  --ds-lift: 0 14px 34px rgb(24 48 43 / 12%);
}

/* ---------- Ritmo vertical único ---------- */
body.home-d3a {
  --d3a-gap: var(--ds-section);
}

/* ---------- Encabezados de sección: un solo patrón ---------- */
body.home-d3a .section-head,
body.home-d3a .section-head-balanced {
  display: grid;
  grid-template-columns: minmax(0, 40rem) auto;
  column-gap: 2rem;
  row-gap: 0;
  align-items: end;
  justify-content: space-between;
  margin-bottom: clamp(2rem, 3.5vw, 3rem);
}
body.home-d3a .section-head > .eyebrow,
body.home-d3a .section-head > h2,
body.home-d3a .section-head > h3,
body.home-d3a .section-head > p:not(.eyebrow),
body.home-d3a .section-head-balanced > .eyebrow,
body.home-d3a .section-head-balanced > h2,
body.home-d3a .section-head-balanced > p:not(.eyebrow) {
  grid-column: 1;
  grid-row: auto;
  margin-inline: 0;
}
body.home-d3a .section-head > .eyebrow,
body.home-d3a .section-head > h2,
body.home-d3a .section-head > p {
  margin-top: 0;
}
body.home-d3a section.content-section:not(.band):has(+ .band),
body.home-d3a section.content-section:not(.band):has(+ .closing) {
  padding-bottom: var(--ds-section);
}
body.home-d3a .section-head > .eyebrow {
  margin-bottom: 0.75rem;
}
body.home-d3a .section-head > h2 {
  max-width: 20ch;
  margin-bottom: 1rem;
  font-size: clamp(2rem, 3.4vw, 2.75rem);
  line-height: 1.12;
  letter-spacing: -0.02em;
  text-wrap: balance;
}
body.home-d3a .section-head > p:not(.eyebrow) {
  max-width: 56ch;
  margin-bottom: 0;
  font-size: 1.125rem;
  line-height: 1.6;
}
body.home-d3a .section-head > .section-head-link,
body.home-d3a .section-head-balanced > .section-head-link {
  grid-column: 2;
  grid-row: 1 / span 3;
  align-self: end;
  justify-self: end;
  margin: 0 0 0.35rem;
  white-space: nowrap;
}
body.home-d3a .faq-sticky {
  display: block;
}

/* Subnivel (p. ej. «Para quién es AlquiOK»): mismo patrón, un escalón menor */
body.home-d3a .subsection-head {
  display: grid;
  grid-template-columns: minmax(0, 40rem) minmax(0, 24rem);
  justify-content: space-between;
  align-items: end;
  gap: 0.5rem 2rem;
  margin: clamp(3.5rem, 6vw, 5rem) 0 clamp(1.5rem, 2.5vw, 2rem);
  padding-top: clamp(2.5rem, 4vw, 3.5rem);
  border-top: 1px solid var(--border);
}
body.home-d3a .subsection-head > div {
  grid-column: 1;
}
body.home-d3a .subsection-head > p {
  grid-column: 2;
  grid-row: 1;
  margin: 0;
  font-size: 1.0625rem;
}
body.home-d3a .subsection-head .eyebrow {
  margin-bottom: 0.5rem;
}
body.home-d3a .subsection-head h3 {
  margin: 0;
  font-size: clamp(1.625rem, 2.4vw, 2rem);
  line-height: 1.15;
  letter-spacing: -0.015em;
}

/* ---------- Tarjetas: un solo tratamiento ---------- */
body.home-d3a .resource-grid {
  display: grid;
  gap: var(--ds-gap);
  align-items: stretch;
}
body.home-d3a .homepage-tools-grid,
body.home-d3a .audience-grid {
  grid-template-columns: repeat(2, minmax(0, 1fr));
}
body.home-d3a .card.resource-card,
body.home-d3a .card.resource-card-featured {
  position: relative;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  min-height: 0;
  padding: var(--ds-pad);
  border: 1px solid var(--border);
  border-left-width: 1px;
  border-radius: var(--ds-radius);
  background: var(--card);
  box-shadow: var(--shadow-soft);
  transition:
    transform 200ms var(--ds-ease-out),
    box-shadow 200ms var(--ds-ease-out),
    border-color 200ms var(--ds-ease-out);
}
body.home-d3a .card.resource-card::before,
body.home-d3a .card.resource-card::after {
  content: none;
}
body.home-d3a .card.resource-card:hover {
  transform: translateY(-4px);
  border-color: var(--graphic);
  box-shadow: var(--ds-lift);
}
body.home-d3a .card.resource-card .card-icon {
  display: grid;
  width: 3rem;
  height: 3rem;
  margin: 0 0 1rem;
  place-items: center;
  border-radius: 0.875rem;
  background: var(--soft-green);
  color: var(--graphic);
}
body.home-d3a .card.resource-card .card-icon svg {
  width: 1.5rem;
  height: 1.5rem;
  stroke: currentColor;
}
body.home-d3a .resource-kind {
  margin: 0 0 0.5rem;
  padding: 0.15rem 0.7rem;
  border: 1px solid var(--border);
  border-radius: 999px;
  background: var(--surface);
  color: var(--muted);
  font-size: 0.875rem;
  font-weight: 700;
  line-height: 1.5;
}
body.home-d3a .card.resource-card h3 {
  margin: 0 0 0.5rem;
  font-size: 1.375rem;
  line-height: 1.25;
}
body.home-d3a .card.resource-card p:not(.resource-kind) {
  margin: 0 0 1.25rem;
  font-size: 1.0625rem;
  line-height: 1.55;
}
body.home-d3a .card.resource-card .resource-link {
  margin-top: auto;
}

/* Enlaces: subrayado que se desliza */
body.home-d3a .resource-link,
body.home-d3a .section-head-link {
  text-decoration: none;
  background: linear-gradient(currentColor, currentColor) left bottom / 100% 2px no-repeat;
  padding-bottom: 2px;
  transition: background-size 220ms var(--ds-ease-out);
}
body.home-d3a .resource-link:hover,
body.home-d3a .section-head-link:hover {
  background-size: 40% 2px;
}
body.home-d3a .resource-link .link-arrow,
body.home-d3a .section-head-link span {
  display: inline-block;
  transition: transform 220ms var(--ds-ease-out);
}
body.home-d3a .resource-link:hover .link-arrow,
body.home-d3a .section-head-link:hover span {
  transform: translateX(4px);
}

/* ---------- Planes: filas alineadas por subrejilla ---------- */
body.home-d3a .plans-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  grid-template-rows: auto auto auto 1fr auto auto;
  gap: 0 var(--ds-gap);
  align-items: stretch;
}
body.home-d3a .plan-card {
  position: relative;
  display: grid;
  grid-row: 1 / span 6;
  grid-template-rows: subgrid;
  align-content: start;
  padding: clamp(1.5rem, 3vw, 2.25rem);
  border: 1px solid var(--border);
  border-radius: var(--ds-radius);
  background: var(--card);
  box-shadow: var(--shadow-soft);
}
body.home-d3a .plan-card > .eyebrow {
  grid-row: 1;
  margin: 0 0 0.25rem;
}
body.home-d3a .plan-card > h3 {
  grid-row: 2;
  margin: 0 0 0.75rem;
}
body.home-d3a .plan-card > .plan-price {
  grid-row: 3;
  margin: 0 0 1.25rem;
}
body.home-d3a .plan-card > .plan-facts {
  grid-row: 4;
  align-self: start;
  margin: 0 0 1.25rem;
}
body.home-d3a .plan-card > .plan-note {
  grid-row: 5;
  margin: 0 0 1.25rem;
}
body.home-d3a .plan-card > .plan-card-footer {
  grid-row: 6;
  margin: 0;
  align-self: end;
}
body.home-d3a .plan-card-plus {
  border: 2px solid var(--action);
  background: var(--soft-green);
  box-shadow: var(--shadow-card);
}
body.home-d3a .plan-badge {
  position: absolute;
  top: 0;
  right: clamp(1.5rem, 3vw, 2.25rem);
  width: auto;
  margin: 0;
  padding: 0.3rem 0.85rem;
  border-radius: 0 0 0.75rem 0.75rem;
  background: var(--action);
  color: var(--surface);
  font-size: 0.9375rem;
  font-weight: 700;
  line-height: 1.4;
}
body.home-d3a .plan-actions {
  margin-top: 1.5rem;
  text-align: center;
}

/* ---------- Guías del blog: 1 destacada horizontal + 3 iguales, sin huecos ---------- */
body.home-d3a .homepage-guides {
  grid-template-columns: repeat(3, minmax(0, 1fr));
  grid-template-rows: auto;
  gap: var(--ds-gap);
}
body.home-d3a .homepage-guides .guide-card {
  padding: 0;
  overflow: hidden;
}
body.home-d3a .homepage-guides .guide-cover {
  display: block;
  width: 100%;
  margin: 0;
  background: var(--soft-green);
}
body.home-d3a .homepage-guides .guide-cover img {
  width: 100%;
  height: auto;
  aspect-ratio: 1200 / 660;
  object-fit: cover;
  border-radius: 0;
}
body.home-d3a .homepage-guides .card.guide-card > :not(.guide-cover) {
  margin-left: var(--ds-pad);
  margin-right: var(--ds-pad);
}
body.home-d3a .homepage-guides .guide-card .resource-kind {
  margin-top: 1.25rem;
}
body.home-d3a .homepage-guides .guide-card .reading-time {
  margin-top: 0;
  margin-bottom: 1rem;
  color: var(--muted);
  font-size: 0.9375rem;
}
body.home-d3a .homepage-guides .guide-card .resource-link {
  margin-bottom: var(--ds-pad);
}
body.home-d3a .homepage-guides .guide-featured {
  grid-column: 1 / -1;
  display: grid;
  grid-template-columns: minmax(0, 1.1fr) minmax(0, 1fr);
  grid-template-rows: auto auto auto auto auto 1fr;
  column-gap: 0;
  align-items: start;
  min-height: 0;
  border-inline-start-width: 1px;
  background: var(--card);
}
body.home-d3a .homepage-guides .guide-featured .guide-cover {
  grid-column: 1;
  grid-row: 1 / -1;
  height: 100%;
}
body.home-d3a .homepage-guides .guide-featured .guide-cover img {
  height: 100%;
}
body.home-d3a .homepage-guides .card.guide-featured > :not(.guide-cover) {
  grid-column: 2;
  margin-left: clamp(1.5rem, 3vw, 2.5rem);
  margin-right: clamp(1.5rem, 3vw, 2.5rem);
}
body.home-d3a .homepage-guides .guide-featured .resource-kind {
  margin-top: clamp(1.5rem, 3vw, 2.5rem);
}
body.home-d3a .homepage-guides .guide-featured h3 {
  font-size: clamp(1.625rem, 2.4vw, 2rem);
  max-width: 24ch;
}
body.home-d3a .homepage-guides .guide-featured .resource-link {
  align-self: end;
  margin-bottom: clamp(1.5rem, 3vw, 2.5rem);
}
body.home-d3a .guides-more {
  margin-top: 1.5rem;
}

/* ---------- Pasos: el conector termina en el último círculo ---------- */
@media (min-width: 48.0625rem) {
  body.home-d3a .flow::before {
    left: 1.75rem;
    right: auto;
    width: calc(2 * ((100% - 4rem) / 3 + 2rem));
  }
}

/* ---------- Cierre ---------- */
body.home-d3a .closing {
  display: grid;
  grid-template-columns: minmax(0, 40rem) auto;
  justify-content: space-between;
  align-items: center;
  gap: 2rem;
}
body.home-d3a .closing .eyebrow {
  margin-bottom: 1rem;
}
body.home-d3a .closing h2 {
  margin: 0 0 1rem;
  text-wrap: balance;
}
body.home-d3a .closing p:last-child {
  margin-bottom: 0;
}

/* ---------- Pie: respiración ---------- */
.site-footer-inner {
  padding: clamp(3rem, 5vw, 4rem) 0 clamp(2.5rem, 4vw, 3rem);
}

/* ---------- HERO reequilibrado ---------- */
body.home-d3a .hero {
  padding: clamp(2.5rem, 5vw, 4rem) 0 var(--ds-section);
}
body.home-d3a .hero-inner {
  grid-template-columns: minmax(0, 0.95fr) minmax(0, 1.05fr);
  align-items: center;
  gap: clamp(2rem, 4vw, 4rem);
}
body.home-d3a .hero-content {
  max-width: none;
}
body.home-d3a h1 {
  max-width: 14ch;
  margin: 0 0 1.25rem;
  font-size: clamp(2.5rem, 4.2vw, 3.5rem);
  line-height: 1.06;
  text-wrap: balance;
}
body.home-d3a h1 em {
  padding: 0;
  margin: 0;
  background: linear-gradient(transparent 64%, #bfe3d5 64%, #bfe3d5 92%, transparent 92%);
}
body.home-d3a .hero-copy {
  max-width: 34rem;
  margin: 0 0 2rem;
}
body.home-d3a .hero .actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem 1rem;
}
body.home-d3a .demo {
  padding: 0 0 clamp(3rem, 5vw, 4.5rem);
}
body.home-d3a .demo-chart,
body.home-d3a .demo-months,
body.home-d3a .demo-legend {
  width: calc(100% - 12rem);
}
body.home-d3a .phone {
  position: absolute;
  right: -1rem;
  bottom: 0;
  margin: 0;
  width: 12.5rem;
  z-index: 2;
}
body.home-d3a .phone-title {
  font-size: 0.9375rem;
  white-space: nowrap;
}
body.home-d3a .phone li {
  font-size: 0.9375rem;
  padding: 0.4rem 0.5rem;
}
body.home-d3a .phone li em {
  white-space: nowrap;
}
body.home-d3a .facts {
  margin-top: clamp(2.5rem, 4vw, 3.5rem);
}
body.home-d3a .facts li {
  min-height: 6.5rem;
  padding: 1.25rem 1.5rem;
}

/* ---------- Cabecera a todo el ancho ---------- */
.site-header {
  /* Mismo fondo que la cabecera de la app (check-uniformity); ::before lo extiende a todo el ancho */
  background: var(--background);
  border-bottom: 0;
}
.site-header::before {
  position: absolute;
  z-index: -1;
  inset: 0;
  content: '';
  background: var(--background);
  box-shadow: 0 0 0 100vmax var(--background);
  clip-path: inset(0 -100vmax);
}
.site-header::after {
  position: absolute;
  right: 0;
  bottom: 0;
  left: 0;
  height: 1px;
  content: '';
  background: var(--border);
  box-shadow:
    -100vmax 0 0 var(--border),
    100vmax 0 0 var(--border);
  clip-path: inset(0 -100vmax);
  transition: box-shadow 200ms var(--ds-ease-out);
}
.site-header-inner {
  min-height: 4.5rem;
  transition: min-height 200ms var(--ds-ease-out);
}
html.is-scrolled .site-header-inner {
  min-height: 3.75rem;
}
html.is-scrolled .site-header::after {
  height: 1px;
  background: var(--border);
  filter: drop-shadow(0 6px 10px rgb(24 48 43 / 8%));
}

/* ---------- Microinteracciones ---------- */
.button {
  transition:
    transform 160ms var(--ds-ease-out),
    box-shadow 160ms var(--ds-ease-out),
    background-color 160ms var(--ds-ease-out),
    border-color 160ms var(--ds-ease-out);
}
.button:hover {
  transform: translateY(-2px);
  box-shadow: 0 10px 22px rgb(11 95 88 / 22%);
}
.button:active {
  transform: translateY(0);
  box-shadow: none;
}
@supports (interpolate-size: allow-keywords) {
  :root {
    interpolate-size: allow-keywords;
  }
  details::details-content {
    height: 0;
    overflow: clip;
    transition:
      height 260ms var(--ds-ease-out),
      content-visibility 260ms allow-discrete;
  }
  details[open]::details-content {
    height: auto;
  }
}

/* ---------- Movimiento ---------- */
@keyframes ds-rise {
  from {
    opacity: 0;
    transform: translateY(16px);
  }
  to {
    opacity: 1;
    transform: none;
  }
}
@keyframes ds-rise-soft {
  from {
    opacity: 0.35;
    transform: translateY(12px);
  }
  to {
    opacity: 1;
    transform: none;
  }
}
@keyframes ds-slide-up {
  from {
    opacity: 0;
    transform: translateY(32px);
  }
  to {
    opacity: 1;
    transform: none;
  }
}
@keyframes ds-float-a {
  0%,
  100% {
    transform: translateY(0);
  }
  50% {
    transform: translateY(-5px);
  }
}
@keyframes ds-float-b {
  0%,
  100% {
    transform: translateY(0);
  }
  50% {
    transform: translateY(5px);
  }
}
@media (prefers-reduced-motion: no-preference) {
  body.home-d3a .hero-content > .eyebrow {
    animation: ds-rise 520ms var(--ds-ease-out) 0ms both;
  }
  body.home-d3a .hero-content > h1 {
    animation: ds-rise-soft 560ms var(--ds-ease-out) 90ms both;
  }
  body.home-d3a .hero-content > .hero-copy {
    animation: ds-rise 520ms var(--ds-ease-out) 180ms both;
  }
  body.home-d3a .hero-content > .actions {
    animation: ds-rise 520ms var(--ds-ease-out) 270ms both;
  }
  body.home-d3a .demo-window {
    animation:
      ds-rise 640ms var(--ds-ease-out) 240ms both,
      ds-float-a 7s ease-in-out 1.6s infinite;
  }
  body.home-d3a .phone {
    animation:
      ds-slide-up 680ms var(--ds-ease-out) 520ms both,
      ds-float-b 7s ease-in-out 1.9s infinite;
  }
  body.home-d3a .demo-chart span {
    animation: hero-bar-rise 760ms var(--ds-ease-out) both;
  }
  body.home-d3a .demo-chart span:nth-child(1) {
    animation-delay: 480ms;
  }
  body.home-d3a .demo-chart span:nth-child(2) {
    animation-delay: 540ms;
  }
  body.home-d3a .demo-chart span:nth-child(3) {
    animation-delay: 600ms;
  }
  body.home-d3a .demo-chart span:nth-child(4) {
    animation-delay: 660ms;
  }
  body.home-d3a .demo-chart span:nth-child(5) {
    animation-delay: 720ms;
  }
  body.home-d3a .demo-chart span:nth-child(6) {
    animation-delay: 780ms;
  }
  body.home-d3a .demo-chart span:nth-child(7) {
    animation-delay: 840ms;
  }
  body.home-d3a .demo-chart span:nth-child(8) {
    animation-delay: 900ms;
  }
  body.home-d3a .demo-chart span:nth-child(9) {
    animation-delay: 960ms;
  }
  body.home-d3a .demo-chart span:nth-child(10) {
    animation-delay: 1020ms;
  }
  body.home-d3a .demo-chart span:nth-child(11) {
    animation-delay: 1080ms;
  }
  body.home-d3a .demo-chart span:nth-child(12) {
    animation-delay: 1140ms;
  }
  body.home-d3a .facts li {
    animation: ds-rise 520ms var(--ds-ease-out) both;
  }
  body.home-d3a .facts li:nth-child(1) {
    animation-delay: 700ms;
  }
  body.home-d3a .facts li:nth-child(2) {
    animation-delay: 790ms;
  }
  body.home-d3a .facts li:nth-child(3) {
    animation-delay: 880ms;
  }
  html.hero-offscreen body.home-d3a .demo-window,
  html.hero-offscreen body.home-d3a .phone {
    animation-play-state: paused;
  }
  /* Revelado al entrar en pantalla (JS añade .rv; sin JS todo es visible) */
  html.rv-ready .rv {
    opacity: 0;
    transform: translateY(20px);
    transition:
      opacity 420ms var(--ds-ease-out),
      transform 420ms var(--ds-ease-out);
    transition-delay: calc(var(--rv-i, 0) * 60ms);
  }
  html.rv-ready .rv.rv-in {
    opacity: 1;
    transform: none;
  }
  html.rv-ready .card.rv.rv-in:hover {
    transition-delay: 0ms;
  }
}
@media (prefers-reduced-motion: reduce) {
  body.home-d3a .demo-window,
  body.home-d3a .phone,
  body.home-d3a .hero-content > *,
  body.home-d3a .facts li {
    animation: none;
  }
}

/* ---------- Responsive ---------- */
@media (max-width: 62rem) {
  body.home-d3a .section-head,
  body.home-d3a .section-head-balanced {
    grid-template-columns: minmax(0, 1fr);
  }
  body.home-d3a .section-head > .section-head-link,
  body.home-d3a .section-head-balanced > .section-head-link {
    grid-column: 1;
    grid-row: auto;
    justify-self: start;
    margin-top: 1rem;
    white-space: normal;
  }
  body.home-d3a .subsection-head {
    grid-template-columns: minmax(0, 1fr);
  }
  body.home-d3a .subsection-head > p {
    grid-column: 1;
    grid-row: auto;
  }
  body.home-d3a .hero-inner {
    grid-template-columns: minmax(0, 1fr);
  }
  body.home-d3a .demo {
    max-width: 38rem;
  }
  body.home-d3a .closing {
    grid-template-columns: minmax(0, 1fr);
  }
  body.home-d3a .homepage-guides {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
  body.home-d3a .homepage-guides .guide-featured {
    display: flex;
    flex-direction: column;
  }
  body.home-d3a .homepage-guides .card.guide-featured > :not(.guide-cover) {
    grid-column: auto;
    margin-left: var(--ds-pad);
    margin-right: var(--ds-pad);
  }
  body.home-d3a .homepage-guides .guide-featured .guide-cover {
    height: auto;
  }
  body.home-d3a .homepage-guides .guide-featured .guide-cover img {
    height: auto;
  }
}
@media (max-width: 40rem) {
  body.home-d3a .homepage-tools-grid,
  body.home-d3a .audience-grid,
  body.home-d3a .plans-grid,
  body.home-d3a .homepage-guides {
    grid-template-columns: minmax(0, 1fr);
    grid-template-rows: none;
    grid-auto-rows: auto;
  }
  body.home-d3a .plan-card {
    display: flex;
    grid-row: auto;
    flex-direction: column;
  }
  body.home-d3a .plan-card + .plan-card {
    margin-top: var(--ds-gap);
  }
  body.home-d3a .plan-card > .plan-card-footer {
    margin-top: auto;
  }
}
@media (max-width: 62rem) {
  body.home-d3a .demo {
    padding-bottom: 0;
  }
  body.home-d3a .phone {
    position: relative;
    right: auto;
    bottom: auto;
    width: min(100%, 16rem);
    margin: -1.5rem 0 0 auto;
  }
  body.home-d3a .demo-chart,
  body.home-d3a .demo-months,
  body.home-d3a .demo-legend {
    width: 100%;
  }
  body.home-d3a .demo-legend {
    margin-bottom: 1.75rem;
  }
  body.home-d3a .demo-stats {
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 0.5rem;
  }
  body.home-d3a .demo-stats div {
    padding: 0.65rem 0.6rem;
  }
  body.home-d3a .demo-stats dt {
    font-size: 0.875rem;
    line-height: 1.25;
  }
  body.home-d3a .demo-stats dd {
    font-size: 0.9375rem;
    white-space: nowrap;
  }
  body.home-d3a .demo-annual strong {
    font-size: 1.375rem;
  }
  body.home-d3a .facts {
    grid-template-columns: minmax(0, 1fr);
  }
}

/* ---------- Precios: filas de los dos planes alineadas por subrejilla ---------- */
body.interior-d3b .pricing-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  grid-template-rows: auto auto auto 1fr auto;
  grid-auto-rows: auto;
  gap: 0 var(--ds-gap);
  align-items: stretch;
}
body.interior-d3b .pricing-plan-card {
  position: relative;
  display: grid;
  grid-row: 1 / span 5;
  grid-template-rows: subgrid;
  align-content: start;
  height: auto;
  padding: clamp(1.5rem, 3vw, 2.25rem);
}
body.interior-d3b .pricing-plan-card > .card-icon {
  grid-row: 1;
  margin: 0 0 1rem;
}
body.interior-d3b .pricing-plan-card > h2 {
  grid-row: 2;
  margin: 0 0 0.5rem;
}
body.interior-d3b .pricing-plan-card > .price-options {
  grid-row: 3;
  margin: 0 0 0.5rem;
}
body.interior-d3b .pricing-plan-card > ul {
  grid-row: 4;
  align-self: start;
}
body.interior-d3b .pricing-plan-card > .button {
  grid-row: 5;
  align-self: end;
  justify-self: start;
  margin-top: 0;
}
body.interior-d3b .pricing-plan-card .plan-badge {
  position: absolute;
  top: 0;
  right: clamp(1.5rem, 3vw, 2.25rem);
  width: auto;
  margin: 0;
  padding: 0.3rem 0.85rem;
  border-radius: 0 0 0.75rem 0.75rem;
  background: var(--action);
  color: var(--surface);
  font-size: 0.9375rem;
  font-weight: 700;
  line-height: 1.4;
}
@media (max-width: 48rem) {
  body.interior-d3b .pricing-grid {
    grid-template-columns: minmax(0, 1fr);
    grid-template-rows: none;
  }
  body.interior-d3b .pricing-plan-card {
    display: flex;
    grid-row: auto;
    flex-direction: column;
  }
  body.interior-d3b .pricing-plan-card + .pricing-plan-card {
    margin-top: var(--ds-gap);
  }
  body.interior-d3b .pricing-plan-card > .button {
    margin-top: auto;
  }
}

/* ---------- Páginas interiores: cabecera de página ---------- */
body.interior-d3b main:not(.article):not(.tool) {
  padding-top: 0;
}
body.interior-d3b .interior-hero {
  margin-bottom: var(--ds-section);
  padding: 1.25rem 0 clamp(2.5rem, 4vw, 3.5rem);
  border-bottom: 0;
}
body.interior-d3b .interior-hero .breadcrumb {
  margin-bottom: 1rem;
}
body.interior-d3b .interior-hero-grid {
  grid-template-columns: minmax(0, 1fr) 9rem;
}
body.interior-d3b .interior-hero-art {
  height: 9rem;
  border-radius: 1.75rem;
  transform: none;
}
body.interior-d3b .interior-hero-art > .interior-icon .lucide-icon {
  width: 3.5rem;
  height: 3.5rem;
}
body.interior-d3b .interior-hero-art::before,
body.interior-d3b .interior-hero-art::after {
  content: none;
}
body.interior-d3b .pricing-plan-card.plan-featured > .card-icon {
  background: var(--surface);
}
@media (max-width: 48rem) {
  body.interior-d3b .interior-hero-grid {
    grid-template-columns: minmax(0, 1fr);
  }
  body.interior-d3b .interior-hero-art {
    display: none;
  }
}
body.interior-d3b .interior-hero-art > span:not(.interior-icon) {
  display: none;
}
body.interior-d3b .interior-hero {
  margin-bottom: clamp(2.5rem, 4vw, 3.5rem);
}
@media print {
  html.rv-ready .rv {
    opacity: 1 !important;
    transform: none !important;
    transition: none !important;
  }
}

/* ---------- Plantillas: filas alineadas entre tarjetas ---------- */
@media (min-width: 48.0625rem) {
  body.interior-d3b .template-grid {
    grid-template-rows: auto auto auto 1fr auto 1fr auto;
  }
  body.interior-d3b .template-card {
    display: grid;
    grid-row: span 7;
    grid-template-rows: subgrid;
    row-gap: 0;
  }
  body.interior-d3b .template-card .template-includes {
    align-self: start;
  }
}
body.interior-d3b .template-card h2 {
  margin: 0.15rem 0 0.75rem;
}
body.interior-d3b .template-grid + .disclaimer {
  margin-top: clamp(1.5rem, 3vw, 2.25rem);
}

/* ---------- Portadas de guías en el índice del blog ---------- */
body.interior-d3b .guide-card .guide-cover {
  aspect-ratio: 1200 / 660;
  margin: 0 0 1.25rem;
}
body.interior-d3b .guide-card .guide-cover img {
  height: 100%;
  object-fit: cover;
}
@media (max-width: 40rem) {
  /* El elemento actual repite el h1 que aparece justo debajo: se omite en móvil */
  body.interior-d3b .breadcrumb [aria-current],
  body.interior-d3b .breadcrumb span[aria-hidden='true']:nth-last-child(2) {
    display: none;
  }
}

/* ---------- Formularios: etiqueta sin hueco cuando hay una columna ---------- */
@media (max-width: 48rem) {
  .tool-form label {
    gap: 0.4rem;
  }
  .tool-form .field-label {
    flex: 0 0 auto;
    height: auto;
  }
}
/* Tarjetas del blog: tiempo de lectura antes del enlace */
body.interior-d3b .blog-grid .guide-card .reading-time {
  order: 5;
}
body.interior-d3b .blog-grid .guide-card .text-link {
  order: 6;
  margin-top: 0.75rem;
}

/* ---------- Ilustraciones de funciones: mini-interfaces ---------- */
body.interior-d3b .segment-feature-art.fa {
  display: flex;
  flex-direction: column;
  justify-content: center;
  gap: 0.75rem;
  min-height: 15rem;
  padding: clamp(1.25rem, 3vw, 2rem);
  background:
    radial-gradient(circle at 90% 10%, rgba(228, 162, 58, 0.18), transparent 40%), var(--soft-green);
}
body.interior-d3b .fa .interior-icon {
  grid-column: auto;
  margin: 0;
  padding: 0;
  background: none;
  border-radius: 0;
}
body.interior-d3b .fa .lucide-icon {
  width: 1.25rem;
  height: 1.25rem;
}
body.interior-d3b .fa p,
body.interior-d3b .fa small {
  max-width: none;
  margin: 0;
}
body.interior-d3b .fa-card {
  padding: 1.1rem 1.2rem;
  border: 1px solid var(--border);
  border-radius: 1rem;
  background: var(--surface);
  box-shadow: 0 12px 28px -18px rgba(24, 48, 43, 0.35);
  font-size: 0.875rem;
  line-height: 1.4;
}
body.interior-d3b .fa-title {
  margin-bottom: 0.75rem !important;
  color: var(--ink);
  font-size: 0.8125rem;
  font-weight: 700;
  letter-spacing: 0.02em;
}
body.interior-d3b .fa-note {
  align-self: flex-end;
  color: var(--muted);
  font-size: 0.75rem;
}
body.interior-d3b .fa small {
  display: block;
  color: var(--muted);
  font-size: 0.75rem;
}
body.interior-d3b .fa-head {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  padding-bottom: 0.75rem;
  margin-bottom: 0.5rem;
  border-bottom: 1px solid var(--border);
}
body.interior-d3b .fa-head .interior-icon {
  display: grid;
  place-items: center;
  width: 2.5rem;
  height: 2.5rem;
  border-radius: 0.75rem;
  background: var(--soft-green);
  color: var(--action);
}
body.interior-d3b .fa-head strong {
  display: block;
  font-size: 1rem;
}
body.interior-d3b .fa-list,
body.interior-d3b .fa-people,
body.interior-d3b .fa-files {
  display: grid;
  gap: 0.15rem;
  margin: 0;
  padding: 0;
  list-style: none;
}
body.interior-d3b .fa-row {
  display: flex;
  justify-content: space-between;
  gap: 1rem;
  padding: 0.45rem 0;
  border-bottom: 1px dashed var(--border);
  color: var(--muted);
}
body.interior-d3b .fa-row:last-child {
  border-bottom: 0;
}
body.interior-d3b .fa-row b {
  color: var(--ink);
  font-weight: 650;
  white-space: nowrap;
}
body.interior-d3b .fa-row.is-ok b,
body.interior-d3b .fa-row.is-in b {
  color: var(--action);
}
body.interior-d3b .fa-row.is-ok b::before {
  content: '';
  display: inline-block;
  width: 0.5rem;
  height: 0.5rem;
  margin-right: 0.4rem;
  border-radius: 50%;
  background: var(--action);
}
body.interior-d3b .fa-row.is-due b {
  padding: 0 0.5rem;
  border-radius: 999px;
  background: #fbf0dc;
  color: #8a5a12;
}
body.interior-d3b .fa-row.is-total {
  padding-top: 0.6rem;
  border-top: 1px solid var(--ink);
  border-bottom: 0;
  color: var(--ink);
  font-weight: 650;
}
body.interior-d3b .fa-people li,
body.interior-d3b .fa-files li {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  padding: 0.5rem 0;
  border-bottom: 1px dashed var(--border);
}
body.interior-d3b .fa-people li:last-child,
body.interior-d3b .fa-files li:last-child {
  border-bottom: 0;
}
body.interior-d3b .fa-people i {
  display: grid;
  flex: 0 0 2.25rem;
  place-items: center;
  height: 2.25rem;
  border-radius: 50%;
  background: var(--soft-green);
  color: var(--action);
  font-size: 0.75rem;
  font-style: normal;
  font-weight: 700;
}
body.interior-d3b .fa-people li:nth-child(2) i {
  background: #fbf0dc;
  color: #8a5a12;
}
body.interior-d3b .fa-files .interior-icon {
  display: grid;
  place-items: center;
  width: 2.25rem;
  height: 2.25rem;
  border-radius: 0.6rem;
  background: var(--soft-green);
  color: var(--action);
}
/* calendario */
body.interior-d3b .fa-timeline {
  display: grid;
  grid-template-columns: repeat(12, 1fr);
  gap: 0.35rem 0;
}
body.interior-d3b .fa-timeline span {
  grid-column: var(--s) / var(--e);
  overflow: hidden;
  margin-inline: 0.15rem;
  padding: 0.35rem 0.5rem;
  border-radius: 0.5rem;
  background: var(--action);
  color: #fff;
  font-size: 0.75rem;
  font-weight: 650;
  white-space: nowrap;
  text-overflow: ellipsis;
}
body.interior-d3b .fa-timeline span.is-alt {
  background: #e4a23a;
  color: #2b1d05;
}
body.interior-d3b .fa-days {
  display: grid;
  grid-template-columns: repeat(12, 1fr);
  margin-top: 0.6rem;
  padding-top: 0.5rem;
  border-top: 1px solid var(--border);
  color: var(--muted);
  font-size: 0.6875rem;
  text-align: center;
}
body.interior-d3b .fa-days i {
  font-style: normal;
}
/* fórmula */
body.interior-d3b .fa-formula {
  text-align: center;
}
body.interior-d3b .fa-eq {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  align-items: center;
  gap: 0.5rem;
  color: var(--ink);
  font-weight: 650;
}
body.interior-d3b .fa-eq span {
  padding: 0.3rem 0.6rem;
  border-radius: 0.5rem;
  background: var(--soft-green);
}
body.interior-d3b .fa-eq i {
  color: var(--muted);
  font-style: normal;
}
body.interior-d3b .fa-result {
  margin: 0.6rem 0 0.25rem !important;
  color: var(--action);
  font-size: 2.25rem;
  font-weight: 750;
  letter-spacing: -0.02em;
  line-height: 1.1;
}
/* inversión */
body.interior-d3b .fa-stack {
  display: flex;
  overflow: hidden;
  height: 0.75rem;
  margin-bottom: 0.6rem;
  border-radius: 999px;
  background: var(--border);
}
body.interior-d3b .fa-stack span {
  flex: 0 0 var(--w);
  background: var(--action);
}
body.interior-d3b .fa-stack span:nth-child(2) {
  background: #e4a23a;
}
body.interior-d3b .fa-stack span:nth-child(3) {
  flex-basis: max(var(--w), 0.5rem);
  background: #18302b;
}
/* barras de comparación */
body.interior-d3b .fa-bars {
  display: grid;
  gap: 0.6rem;
  margin-bottom: 0.75rem;
}
body.interior-d3b .fa-bars p {
  display: grid;
  grid-template-columns: 3.5rem 1fr 3rem;
  align-items: center;
  gap: 0.75rem;
  color: var(--muted);
}
body.interior-d3b .fa-bars i {
  width: var(--w);
  height: 0.75rem;
  border-radius: 999px;
  background: var(--action);
}
body.interior-d3b .fa-bars p:nth-child(2) i {
  background: #e4a23a;
}
body.interior-d3b .fa-bars b {
  color: var(--ink);
  text-align: right;
}
/* sincronización */
body.interior-d3b .fa-sync {
  position: relative;
  display: flex;
  align-items: flex-end;
  justify-content: center;
  gap: 0;
  min-height: 11rem;
}
body.interior-d3b .fa-laptop {
  position: relative;
  display: grid;
  align-content: start;
  gap: 0.45rem;
  width: 70%;
  aspect-ratio: 16 / 10;
  padding: 0.9rem;
  border: 0.5rem solid #18302b;
  border-bottom-width: 0.75rem;
  border-radius: 0.75rem 0.75rem 0.25rem 0.25rem;
  background: var(--surface);
}
body.interior-d3b .fa-laptop span,
body.interior-d3b .fa-phone span {
  display: block;
  height: 0.6rem;
  border-radius: 999px;
  background: var(--border);
}
body.interior-d3b .fa-laptop span:first-child,
body.interior-d3b .fa-phone span:first-child {
  width: 55%;
  background: var(--action);
}
body.interior-d3b .fa-laptop span:nth-child(3) {
  width: 75%;
}
body.interior-d3b .fa-phone {
  display: grid;
  align-content: start;
  gap: 0.4rem;
  width: 22%;
  aspect-ratio: 9 / 18;
  margin-left: -8%;
  padding: 1.1rem 0.5rem;
  border: 0.35rem solid #18302b;
  border-radius: 1rem;
  background: var(--surface);
  box-shadow: 0 12px 24px -14px rgba(24, 48, 43, 0.5);
}
body.interior-d3b .fa-badge {
  position: absolute;
  top: 0;
  left: 50%;
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  padding: 0.35rem 0.75rem;
  border-radius: 999px;
  background: var(--action);
  color: #fff;
  font-size: 0.8125rem;
  font-weight: 650;
  transform: translateX(-50%);
  white-space: nowrap;
}
body.interior-d3b .fa-badge .lucide-icon {
  width: 1rem;
  height: 1rem;
}
@media (max-width: 40rem) {
  body.interior-d3b .segment-feature-art.fa {
    min-height: 0;
  }
}
body.interior-d3b .fa-sync .fa-laptop {
  width: 62%;
  aspect-ratio: 16 / 10;
}
body.interior-d3b .fa-sync .fa-phone {
  position: relative;
  z-index: 1;
  width: 20%;
  margin-left: -6%;
  margin-bottom: -0.5rem;
}
body.interior-d3b .fa-sync {
  padding-top: 2.75rem;
}
body.interior-d3b .fa-badge .interior-icon {
  color: #fff;
}
body.interior-d3b .fa-timeline span {
  grid-row: 1;
}
@media (max-width: 40rem) {
  body.interior-d3b .fa-timeline span {
    padding: 0.35rem 0.3rem;
    text-align: center;
    text-overflow: clip;
  }
  body.interior-d3b .fa-eq {
    flex-direction: column;
    gap: 0.25rem;
  }
}

/* ---------- Segmentos: resumen + figura equilibrados ---------- */
body.interior-d3b .segment-intro {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
  align-items: center;
  gap: clamp(1.5rem, 4vw, 3rem);
  margin-block: 0 clamp(3rem, 5vw, 4rem);
}
body.interior-d3b .segment-intro .interior-summary {
  margin: 0;
  height: 100%;
  align-items: flex-start;
}
body.interior-d3b .segment-intro .segment-illustration {
  width: 100%;
  max-width: none;
  margin: 0;
}
body.interior-d3b .segment-intro .segment-illustration figcaption:not(.sr-only) {
  font-size: 0.8125rem;
}
body.interior-d3b .segment-intro + .segment-features {
  margin-top: 0;
}
body.interior-d3b .fa-figure .segment-feature-art.fa {
  height: 100%;
}
body.interior-d3b .fa-prop {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  padding: 0.6rem 0;
  border-bottom: 1px dashed var(--border);
}
body.interior-d3b .fa-prop:last-child {
  border-bottom: 0;
}
body.interior-d3b .fa-prop .interior-icon {
  display: grid;
  flex: 0 0 2.25rem;
  place-items: center;
  height: 2.25rem;
  border-radius: 0.6rem;
  background: var(--soft-green);
  color: var(--action);
}
body.interior-d3b .fa-prop > span {
  flex: 1;
  min-width: 0;
}
body.interior-d3b .fa-prop em {
  padding: 0.15rem 0.6rem;
  border-radius: 999px;
  background: var(--soft-green);
  color: var(--action);
  font-size: 0.75rem;
  font-style: normal;
  font-weight: 650;
}
body.interior-d3b .fa-prop.is-alt em {
  background: #fbf0dc;
  color: #8a5a12;
}
body.interior-d3b .fa-prop.is-free em {
  background: var(--background);
  color: var(--muted);
}
@media (max-width: 62rem) {
  body.interior-d3b .segment-intro {
    grid-template-columns: minmax(0, 1fr);
  }
}
body.interior-d3b .segment-intro .segment-illustration:not(.fa-figure) figcaption {
  position: absolute;
  width: 1px;
  height: 1px;
  overflow: hidden;
  clip: rect(0 0 0 0);
  white-space: nowrap;
}

/* ---------- Herramientas: rejilla única y texto alineado ---------- */
body.interior-d3b .tool-below {
  grid-template-columns: minmax(0, 1.15fr) minmax(0, 1fr);
  gap: 1.5rem;
}
body.interior-d3b .tool-copy {
  max-width: 46rem;
  margin: clamp(3rem, 5vw, 4rem) 0 0;
  padding: clamp(2rem, 4vw, 3rem) 0 0;
  border: 0;
  border-top: 1px solid var(--border);
  border-radius: 0;
  background: none;
}
body.interior-d3b .tool-copy > h2:first-child {
  margin-top: 0;
}
@media (max-width: 62rem) {
  body.interior-d3b .tool-below {
    grid-template-columns: minmax(0, 1fr);
  }
}

/* ---------- Aviso de privacidad compacto ---------- */
.alquiok-consent:not([hidden]) {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  align-items: center;
  column-gap: 1.25rem;
  right: 1rem;
  left: 1rem;
  bottom: 1rem;
  max-width: 50rem;
  margin-inline: auto;
  padding: 0.875rem 1rem 0.875rem 1.25rem;
  border-radius: 1rem;
  font-size: 0.9375rem;
  line-height: 1.45;
  animation: ds-slide-up 0.45s var(--ds-ease-out, ease-out) both;
}
.alquiok-consent h2 {
  grid-column: 1;
  margin: 0 0 0.15rem;
  font-size: 1rem;
}
.alquiok-consent p {
  grid-column: 1;
}
.alquiok-consent-actions {
  grid-column: 2;
  grid-row: 1 / span 2;
  margin: 0;
}
@media (max-width: 40rem) {
  .alquiok-consent:not([hidden]) {
    grid-template-columns: minmax(0, 1fr);
    right: 0;
    bottom: 0;
    left: 0;
    max-height: none;
    padding: 0.875rem 1rem calc(0.875rem + env(safe-area-inset-bottom));
    border-width: 1px 0 0;
    border-radius: 1rem 1rem 0 0;
    font-size: 0.875rem;
    line-height: 1.4;
  }
  .alquiok-consent h2 {
    font-size: 0.9375rem;
  }
  .alquiok-consent-actions {
    grid-column: 1;
    grid-row: auto;
    margin-top: 0.625rem;
  }
  .alquiok-consent button {
    flex: 1 1 100%;
    min-height: 3rem;
  }
}
@media (prefers-reduced-motion: reduce) {
  .alquiok-consent:not([hidden]) {
    animation: none;
  }
}
body.home-d3a .homepage-guides .guide-featured .guide-cover img {
  object-fit: contain;
}
body.home-d3a .subsection-head.section-head-balanced {
  grid-template-columns: minmax(0, 40rem);
}
body.home-d3a .subsection-head.section-head-balanced > p {
  grid-column: 1;
  grid-row: auto;
  max-width: 40rem;
  margin: 0.5rem 0 0;
}
@media (max-width: 40rem) {
  body.home-d3a .plans-grid .button,
  body.home-d3a .plans-grid .button-secondary {
    width: 100%;
    justify-self: stretch;
    justify-content: center;
    text-align: center;
  }
  body.home-d3a .homepage-guides .guide-card .resource-link {
    justify-self: start;
    align-self: flex-start;
    margin-left: var(--ds-pad);
  }
}
@media (max-width: 40rem) {
  body.home-d3a .plan-card > .plan-card-footer {
    align-self: stretch;
  }
}

/* ---------- Rendimiento del movimiento ---------- */
body.home-d3a .demo-window,
body.home-d3a .facts {
  contain: layout;
}
body.home-d3a .demo-window,
body.home-d3a .phone {
  will-change: transform;
}
@media (max-width: 62rem) {
  body.home-d3a .demo-window {
    animation: ds-rise 640ms var(--ds-ease-out) 240ms both;
    will-change: auto;
  }
  body.home-d3a .phone {
    animation: ds-slide-up 680ms var(--ds-ease-out) 520ms both;
    will-change: auto;
  }
}
/* Densidad ≥2x en tableta: la guía destacada sigue horizontal y la figura no supera 45rem */
@media (min-width: 48rem) and (max-width: 62rem) {
  body.home-d3a .homepage-guides .guide-featured {
    display: grid;
  }
  body.home-d3a .homepage-guides .card.guide-featured > :not(.guide-cover) {
    grid-column: 2;
    margin-left: clamp(1.25rem, 3vw, 2rem);
    margin-right: clamp(1.25rem, 3vw, 2rem);
  }
  body.home-d3a .homepage-guides .guide-featured .guide-cover,
  body.home-d3a .homepage-guides .guide-featured .guide-cover img {
    height: 100%;
  }
}
body.interior-d3b .segment-intro .segment-illustration:not(.fa-figure) {
  max-width: 45rem;
}
@media (prefers-reduced-motion: no-preference) {
  html.rv-ready body.home-d3a .flow > li.rv {
    transition-duration: 360ms;
    transition-delay: 0ms;
  }
}
@media (prefers-reduced-motion: no-preference) {
  html.rv-ready .rv:not(.rv-in) {
    transition: none;
  }
}
@media (min-width: 62.0625rem) {
  body.home-d3a .hero-inner {
    grid-template-columns: minmax(0, 0.9fr) minmax(0, 1.1fr);
  }
}

/* ---------- Página 404: sugerencias ---------- */
.status-suggestions {
  margin-top: clamp(2.5rem, 5vw, 3.5rem);
}
.status-suggestions h2 {
  margin: 0 0 1rem;
  font-size: 1.25rem;
}
.status-suggestions ul {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 1rem;
  margin: 0;
  padding: 0;
  list-style: none;
}
.status-suggestions a {
  display: grid;
  gap: 0.35rem;
  height: 100%;
  padding: 1.25rem;
  border: 1px solid var(--border);
  border-radius: 1rem;
  background: var(--surface);
  color: var(--ink);
  text-decoration: none;
  transition:
    transform 0.2s ease,
    box-shadow 0.2s ease,
    border-color 0.2s ease;
}
.status-suggestions a:hover {
  border-color: var(--action);
  box-shadow: var(--shadow-card);
  transform: translateY(-2px);
}
.status-suggestions a:focus-visible {
  outline: 3px solid var(--action);
  outline-offset: 2px;
}
.status-suggestions .card-icon {
  display: grid;
  place-items: center;
  width: 2.5rem;
  height: 2.5rem;
  margin-bottom: 0.5rem;
  border-radius: 0.75rem;
  background: var(--soft-green);
  color: var(--action);
}
.status-suggestions .card-icon svg {
  width: 1.25rem;
  height: 1.25rem;
}
.status-suggestions small {
  color: var(--muted);
  font-size: 0.9375rem;
  line-height: 1.45;
}
@media (max-width: 62rem) {
  .status-suggestions ul {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}
@media (max-width: 30rem) {
  .status-suggestions ul {
    grid-template-columns: minmax(0, 1fr);
  }
}
@media (prefers-reduced-motion: reduce) {
  .status-suggestions a {
    transition: none;
  }
  .status-suggestions a:hover {
    transform: none;
  }
}
/* Herramientas: fórmulas y URL de ejemplo legibles en móvil */
@media (max-width: 40rem) {
  .formula span,
  .url-sample,
  .example-box .url-sample {
    font-size: 0.9375rem;
    font-weight: 600;
    overflow-wrap: anywhere;
  }
}
.status-suggestions a {
  align-content: start;
}

/* ---------- Precios en móvil ---------- */
@media (max-width: 40rem) {
  body.interior-d3b .pricing-plan-card .button {
    width: 100%;
    justify-self: stretch;
    align-self: stretch;
    justify-content: center;
    text-align: center;
  }
  body.interior-d3b .compare-table {
    width: 100%;
    min-width: 0;
    table-layout: fixed;
    font-size: 0.9375rem;
  }
  body.interior-d3b .compare-table th,
  body.interior-d3b .compare-table td {
    padding: 0.75rem 0.6rem;
    overflow-wrap: anywhere;
    hyphens: auto;
  }
  body.interior-d3b .compare-table th:first-child {
    width: 42%;
  }
}

/* ---------- Tableta (45–62rem): composición equilibrada ---------- */
@media (min-width: 45rem) and (max-width: 62rem) {
  body.home-d3a .demo {
    position: relative;
    padding-bottom: 2.5rem;
  }
  body.home-d3a .phone {
    position: absolute;
    right: -0.5rem;
    bottom: 0;
    width: 13rem;
    margin: 0;
  }
  body.home-d3a .demo-chart,
  body.home-d3a .demo-months,
  body.home-d3a .demo-legend {
    width: calc(100% - 13.5rem);
  }
  body.home-d3a .demo-legend {
    margin-bottom: 0.5rem;
  }
  body.home-d3a .facts {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }
  body.home-d3a .homepage-guides {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
  /* 2×2: la destacada ocupa una celda (sin tarjeta huérfana) */
  body.home-d3a .homepage-guides .guide-featured {
    grid-column: auto;
    display: flex;
    flex-direction: column;
    min-height: 0;
    padding: 0;
  }
  body.home-d3a .homepage-guides .card.guide-featured > :not(.guide-cover) {
    margin-left: var(--ds-pad);
    margin-right: var(--ds-pad);
  }
  body.home-d3a .homepage-guides .guide-featured .guide-cover,
  body.home-d3a .homepage-guides .guide-featured .guide-cover img {
    height: auto;
  }
  body.home-d3a .homepage-guides .guide-featured h3 {
    font-size: 1.25rem;
  }
}
@media (min-width: 40.0625rem) and (max-width: 62rem) {
  body.home-d3a .homepage-guides .guide-card .resource-link {
    align-self: flex-start;
    justify-self: start;
  }
}

/* ---------- Artículos: lecturas relacionadas y llamada final ---------- */
body.interior-d3b .related-reading .guide-card {
  display: flex;
  flex-direction: column;
}
body.interior-d3b .related-reading .guide-card .reading-time {
  display: block;
  margin-top: auto;
  padding-top: 0.75rem;
  font-size: 0.9375rem;
}
body.interior-d3b .related-reading .guide-card .text-link {
  align-self: flex-start;
  margin-top: 0.5rem;
}
.cta-panel .button {
  border-color: var(--surface);
  background: var(--surface);
  color: var(--ink);
}
.cta-panel .button:hover {
  border-color: var(--soft-green);
  background: var(--soft-green);
  color: var(--ink);
}
/* PR-D4H: etiquetas de tipo con ancho mínimo y texto centrado */
.resource-kind {
  min-width: 7.5rem;
  text-align: center;
}

/* Cifras del hero en móvil: dos columnas y neto a todo el ancho (≥140px por caja) */
@media (max-width: 40rem) {
  body.home-d3a .demo-stats {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
  body.home-d3a .demo-stats .demo-net {
    grid-column: 1 / -1;
  }
}
/* Titular del hero en escritorio: máximo tres líneas (criterio PR-D4H) */
@media (min-width: 64.0625rem) {
  body.home-d3a h1 {
    max-width: 21ch;
    font-size: clamp(2.75rem, 3.2vw, 2.875rem);
    line-height: 1.06;
  }
}

/* ===== PR-D17 · Acabado visual ===== */
/* Flecha de enlace dibujada, no el glifo «→» (la fuente de la marca no lo
   incluye y cada sistema lo sustituía por uno distinto, pequeño y bajo). */
.link-arrow {
  display: inline-block;
  width: 1em;
  height: 1em;
  margin-left: 0.3em;
  overflow: hidden;
  vertical-align: -0.14em;
  text-indent: 2em;
  white-space: nowrap;
  background-color: currentColor;
  -webkit-mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='2.25' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M5 12h14M13 6l6 6-6 6'/%3E%3C/svg%3E")
    center / contain no-repeat;
  mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='2.25' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M5 12h14M13 6l6 6-6 6'/%3E%3C/svg%3E")
    center / contain no-repeat;
}
@media (forced-colors: active) {
  .link-arrow {
    background-color: LinkText;
  }
}
/* Herramientas: la cabecera usa la misma banda que el resto de páginas. */
body.interior-d3b .public-wrap > main.tool,
body.interior-d3b main.article:has(> .interior-hero) {
  padding-top: 0;
}
body.interior-d3b .tool-hero {
  margin: 0 0 2.5rem;
  padding: 2rem 0 3rem;
  border-top: 0;
  border-bottom: 1px solid var(--border);
  background: var(--soft-green);
}
body.interior-d3b .tool-hero::before {
  display: none;
}
body.interior-d3b .tool-crumb {
  margin-bottom: 1.5rem;
}
/* Tarjetas de guías: títulos sin subrayado permanente y metadatos juntos. */
body.interior-d3b .guide-card :is(h2, h3) a {
  color: var(--ink);
  text-decoration: none;
}
body.interior-d3b .guide-card :is(h2, h3) a:hover,
body.interior-d3b .guide-card :is(h2, h3) a:focus-visible {
  color: var(--action);
  text-decoration: underline;
  text-decoration-thickness: 2px;
  text-underline-offset: 4px;
}
body.interior-d3b .blog-grid .guide-card .article-date {
  order: 4;
  margin: auto 0 0;
  font-size: 0.9375rem;
}
body.interior-d3b .blog-grid .guide-card .reading-time {
  order: 5;
  margin-top: 0.25rem;
  font-size: 0.9375rem;
}
/* Portada del artículo alineada con la columna de lectura. */
body.interior-d3b .guide-cover--article {
  max-width: 47rem;
}
/* Precios: ahorro del plan anual. */
.price-saving {
  display: inline-block;
  margin: 0.25rem 0 0.75rem;
  padding: 0.25rem 0.625rem;
  border-radius: 0.75rem;
  background: var(--soft-green);
  color: var(--action);
  font-size: 0.9375rem;
  font-weight: 650;
}
/* Portada: captura real de la app. */
.product-shot {
  margin: clamp(2.5rem, 5vw, 4rem) 0 0;
}
.product-shot-frame {
  overflow: hidden;
  border: 1px solid var(--border);
  border-radius: 1.25rem;
  background: var(--surface);
  box-shadow: var(--shadow-deep);
}
.product-shot-bar {
  display: flex;
  align-items: center;
  gap: 0.375rem;
  padding: 0.625rem 1rem;
  border-bottom: 1px solid var(--border);
  background: var(--soft-green);
}
.product-shot-bar span {
  width: 0.625rem;
  height: 0.625rem;
  border-radius: 50%;
  background: #b9d3cb;
}
.product-shot-bar b {
  margin-left: 0.75rem;
  color: var(--muted);
  font-size: 0.8125rem;
  font-weight: 500;
}
.product-shot img {
  display: block;
  width: 100%;
  height: auto;
}
.product-shot figcaption {
  margin-top: 0.875rem;
  color: var(--muted);
  font-size: 0.9375rem;
  text-align: center;
}
/* Herramientas: grupos de opciones (radio) y campos de una línea. */
.tool-form .choice-group {
  display: grid;
  gap: 0.5rem;
  min-width: 0;
  margin: 0;
  padding: 0;
  border: 0;
}
.tool-form .choice-group > .field-label {
  flex: none;
  height: auto;
  margin-bottom: 0.25rem;
  padding: 0;
  color: var(--ink);
  font-size: 1.0625rem;
  font-weight: 650;
}
.tool-form .choice-group .field-help {
  margin: 0.25rem 0 0;
}
.tool-form label.choice strong {
  font-weight: 700;
}
.tool-form label.choice {
  flex-direction: row;
  align-items: center;
  gap: 0.75rem;
  padding: 0.75rem 0.875rem;
  border: 1px solid var(--field-border);
  border-radius: 0.75rem;
  background: var(--surface);
  font-weight: 500;
  cursor: pointer;
}
.tool-form label.choice:has(input:checked) {
  border-color: var(--action);
  background: var(--soft-green);
}
.tool-form label.choice input {
  width: 1.125rem;
  height: 1.125rem;
  min-height: 0;
  max-height: none;
  flex: 0 0 auto;
  margin: 0;
  padding: 0;
  accent-color: var(--action);
}
.tool-form .field-label.is-auto {
  flex: none;
  height: auto;
}

/* ===== PR-D20 · Portada: secciones con más producto y menos texto ===== */

/* --- Antes y después --- */
body.home-d3a .ba {
  grid-template-columns: minmax(0, 0.95fr) minmax(0, 1.05fr);
  align-items: stretch;
}
body.home-d3a .ba > div {
  padding: clamp(1.25rem, 2.5vw, 2rem);
  border-radius: 1.5rem;
}
body.home-d3a .ba-before {
  border: 1px solid #e6d9b5;
  background:
    radial-gradient(circle at 1px 1px, rgb(24 48 43 / 7%) 1px, transparent 0) 0 0 / 18px 18px,
    var(--warm);
}
body.home-d3a .ba-after {
  border: 1px solid var(--border);
  background: var(--surface);
  box-shadow: var(--shadow-deep);
}
body.home-d3a .ba-label {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  margin: 0 0 1.25rem;
  font-size: 0.875rem;
  letter-spacing: 0.1em;
}
body.home-d3a .ba-dot {
  width: 0.625rem;
  height: 0.625rem;
  border-radius: 50%;
  background: var(--action);
  box-shadow: 0 0 0 4px rgb(11 95 88 / 14%);
}
body.home-d3a .ba-dot--warn {
  background: #c9952b;
  box-shadow: 0 0 0 4px rgb(201 149 43 / 18%);
}
body.home-d3a .ba-pile {
  display: grid;
  flex: 0 0 auto;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  grid-template-rows: none;
  gap: 0.75rem;
  min-height: 0;
  padding: 0.25rem 0.25rem 0;
}
body.home-d3a .paper {
  display: flex;
  min-width: 0;
  align-items: center;
  gap: 0.625rem;
  padding: 0.75rem 0.875rem;
  border: 1px solid #e3d6b3;
  border-radius: 0.75rem;
  background: #fffdf6;
  box-shadow: 0 6px 16px rgb(24 48 43 / 8%);
  font-size: 0.9375rem;
  font-weight: 600;
  line-height: 1.3;
  overflow-wrap: anywhere;
}
@media (min-width: 48rem) and (max-width: 75rem) {
  /* Tarjetas estrechas: que los nombres de archivo no se partan */
  body.home-d3a .paper {
    gap: 0.5rem;
    padding: 0.75rem;
    font-size: 0.875rem;
  }
}
body.home-d3a .p1 {
  grid-row: auto;
  transform: rotate(-1.5deg);
}
body.home-d3a .p2 {
  grid-row: auto;
  transform: rotate(1.25deg) translateY(0.25rem);
}
body.home-d3a .p3 {
  grid-row: auto;
  transform: rotate(1deg);
}
body.home-d3a .p5 {
  grid-row: auto;
  transform: rotate(-1deg) translateY(0.2rem);
}
body.home-d3a .p4 {
  grid-column: 1 / -1;
  grid-row: auto;
  display: grid;
  gap: 0.2rem;
  justify-self: start;
  max-width: 22rem;
  border-color: #cfe0d6;
  border-radius: 1rem 1rem 1rem 0.25rem;
  background: #e9f3ec;
  transform: rotate(-0.75deg);
  font-weight: 600;
}
body.home-d3a .p4 small {
  color: var(--muted);
  font-size: 0.8125rem;
  font-weight: 500;
}
body.home-d3a .paper-tag {
  display: grid;
  flex: 0 0 auto;
  min-width: 2.25rem;
  height: 1.5rem;
  place-items: center;
  border-radius: 0.375rem;
  color: #fff;
  font-size: 0.6875rem;
  font-weight: 800;
  letter-spacing: 0.04em;
}
body.home-d3a .tag-pdf {
  background: #b5452f;
}
body.home-d3a .tag-xls {
  background: #2f7d4f;
}
body.home-d3a .tag-img {
  background: #6a5bb0;
}
body.home-d3a .tag-doc {
  background: #8a7a52;
}
body.home-d3a .ba-pains {
  display: grid;
  gap: 0.5rem;
  margin: auto 0 0;
  padding: 1.5rem 0 0;
  list-style: none;
}
body.home-d3a .ba-pains li {
  display: flex;
  align-items: center;
  gap: 0.625rem;
  color: #6b4f12;
  font-size: 0.9375rem;
  font-weight: 600;
}
body.home-d3a .ba-pains li::before {
  display: grid;
  width: 1.375rem;
  height: 1.375rem;
  flex: 0 0 auto;
  place-items: center;
  border-radius: 50%;
  background: #f3e3b8;
  color: #6b4f12;
  content: '?';
  font-size: 0.8125rem;
  font-weight: 800;
}
body.home-d3a .ba-after .ba-card {
  justify-content: flex-start;
  gap: 1.25rem;
}
body.home-d3a .ba-card-head {
  display: flex;
  align-items: center;
  gap: 0.875rem;
}
body.home-d3a .ba-card-head > div {
  min-width: 0;
  flex: 1;
}
body.home-d3a .ba-card-head .card-icon {
  display: grid;
  width: 3rem;
  height: 3rem;
  flex: 0 0 auto;
  place-items: center;
  margin: 0;
  border-radius: 0.875rem;
  background: var(--soft-green);
  color: var(--action);
}
body.home-d3a .ba-card-head .card-icon svg {
  width: 1.5rem;
  height: 1.5rem;
}
body.home-d3a .ba-card h3 {
  margin: 0;
  font-size: 1.375rem;
  line-height: 1.25;
}
body.home-d3a .ba-card-head p {
  margin: 0.2rem 0 0;
  color: var(--muted);
  font-size: 0.9375rem;
}
body.home-d3a .ba-status {
  flex: 0 0 auto;
  padding: 0.3rem 0.75rem;
  border-radius: 999px;
  background: var(--soft-green);
  color: var(--action);
  font-size: 0.875rem;
  font-weight: 750;
}
body.home-d3a .ba-stats {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  margin: 0;
  border: 1px solid var(--border);
  border-radius: 1rem;
  overflow: hidden;
}
body.home-d3a .ba-stats > div {
  min-width: 0;
  padding: 0.875rem 1rem;
}
body.home-d3a .ba-stats > div + div {
  border-left: 1px solid var(--border);
}
body.home-d3a .ba-stats dt {
  color: var(--muted);
  font-size: 0.8125rem;
  font-weight: 600;
}
body.home-d3a .ba-stats dd {
  margin: 0.25rem 0 0;
  color: var(--ink);
  font-size: 1.0625rem;
  font-weight: 800;
  font-variant-numeric: tabular-nums;
}
body.home-d3a .ba-card ul {
  gap: 0.5rem;
}
body.home-d3a .ba-card li {
  padding: 0.75rem 0.875rem;
  border: 1px solid transparent;
  border-radius: 0.875rem;
  background: var(--background);
  font-size: 1rem;
  font-weight: 650;
}
body.home-d3a .ba-card li b {
  margin-left: auto;
  padding: 0.15rem 0.625rem;
  border-radius: 999px;
  background: var(--surface);
  border: 1px solid var(--border);
  color: var(--muted);
  font-size: 0.8125rem;
  font-weight: 700;
  white-space: nowrap;
}
body.home-d3a .ba-card li b.is-ok {
  border-color: transparent;
  background: var(--soft-green);
  color: var(--action);
}
@media (max-width: 48rem) {
  body.home-d3a .ba {
    grid-template-columns: 1fr;
  }
  body.home-d3a .ba-stats {
    grid-template-columns: 1fr;
  }
  body.home-d3a .ba-stats > div + div {
    border-top: 1px solid var(--border);
    border-left: 0;
  }
  body.home-d3a .ba-stats > div {
    display: flex;
    justify-content: space-between;
    align-items: baseline;
    gap: 1rem;
  }
  body.home-d3a .ba-stats dd {
    margin: 0;
  }
}
@media (max-width: 30rem) {
  body.home-d3a .ba-pile {
    grid-template-columns: 1fr;
  }
}

/* --- Así de simple --- */
body.home-d3a .flow {
  gap: clamp(1.25rem, 2.5vw, 2rem);
}
body.home-d3a .flow li {
  display: flex;
  flex-direction: column;
}
body.home-d3a .flow-n {
  background: linear-gradient(145deg, #ffffff, #d7ebe4);
  color: var(--ink);
  box-shadow:
    0 0 0 6px var(--ink),
    0 0 0 7px rgb(183 214 202 / 45%);
}
body.home-d3a .flow-art {
  display: grid;
  flex: 1;
  align-content: center;
  gap: 0.5rem;
  margin-top: 1.5rem;
  padding: 1rem;
  border: 1px solid rgb(183 214 202 / 25%);
  border-radius: 1.125rem;
  background: rgb(255 255 255 / 6%);
  box-shadow: inset 0 1px 0 rgb(255 255 255 / 6%);
}
body.home-d3a .flow-art .fa-row {
  display: flex;
  align-items: center;
  gap: 0.625rem;
  min-width: 0;
  padding: 0.625rem 0.75rem;
  border-radius: 0.75rem;
  background: var(--surface);
  color: var(--ink);
}
body.home-d3a .flow-art .fa-row > span {
  display: grid;
  width: 1.75rem;
  height: 1.75rem;
  flex: 0 0 auto;
  place-items: center;
  border-radius: 0.5rem;
  background: var(--soft-green);
  color: var(--action);
  font-weight: 800;
}
body.home-d3a .flow-art .fa-row > span svg {
  width: 1rem;
  height: 1rem;
}
body.home-d3a .flow-art .fa-row b {
  min-width: 0;
  overflow: hidden;
  font-size: 0.9375rem;
  text-overflow: ellipsis;
  white-space: nowrap;
}
body.home-d3a .flow-art .fa-row.is-ghost {
  border: 1px dashed rgb(183 214 202 / 55%);
  background: transparent;
  color: var(--on-dark-muted);
}
body.home-d3a .flow-art .fa-row.is-ghost > span {
  background: transparent;
  color: var(--on-dark-accent);
}
body.home-d3a .flow-art .pill {
  margin-left: auto;
  padding: 0.125rem 0.5rem;
  border-radius: 999px;
  font-size: 0.75rem;
  font-style: normal;
  font-weight: 750;
  white-space: nowrap;
}
body.home-d3a .flow-art .pill-ok {
  background: var(--soft-green);
  color: var(--action);
}
body.home-d3a .flow-art .pill-warm {
  background: #f6ead0;
  color: #6b4f12;
}
body.home-d3a .flow-art .fa-cal {
  display: grid;
  grid-template-columns: repeat(7, minmax(0, 1fr));
  gap: 0.3rem;
  padding: 0.625rem;
  border-radius: 0.75rem;
  background: var(--surface);
}
body.home-d3a .flow-art .fa-cal i {
  height: 1.25rem;
  border-radius: 0.3rem;
  background: #edf2ef;
}
body.home-d3a .flow-art .fa-cal i.on {
  background: var(--action);
}
body.home-d3a .flow-art .fa-cal i.on2 {
  background: #e0a030;
}
body.home-d3a .flow-art .fa-bars {
  display: flex;
  height: 4.5rem;
  align-items: flex-end;
  gap: 0.4rem;
  padding: 0.625rem 0.75rem 0;
  border-radius: 0.75rem;
  background: var(--surface);
}
body.home-d3a .flow-art .fa-bars i {
  flex: 1;
  height: var(--h);
  border-radius: 0.3rem 0.3rem 0 0;
  background: linear-gradient(180deg, #0f766e, #0b5f58);
}
body.home-d3a .flow-art .fa-amount {
  margin-left: auto;
  color: var(--action);
  font-size: 0.9375rem;
  font-style: normal;
  font-weight: 800;
}
body.home-d3a .flow-cta {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 1rem 1.5rem;
  margin-top: clamp(2rem, 4vw, 3rem);
  padding-top: clamp(1.5rem, 3vw, 2rem);
  border-top: 1px solid rgb(183 214 202 / 22%);
}
body.home-d3a .flow-cta p {
  margin: 0;
}
body.home-d3a .band-ink .button-light {
  border-color: var(--surface);
  background: var(--surface);
  color: var(--ink);
}
body.home-d3a .band-ink .button-light:hover {
  background: var(--soft-green);
}

/* --- Herramientas y Para quién: tarjetas con ejemplo y puntos clave --- */
@media (min-width: 64rem) {
  body.home-d3a .homepage-tools-grid {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }
}
body.home-d3a .card.resource-card p.resource-preview {
  display: flex;
  flex-wrap: wrap;
  align-items: baseline;
  gap: 0.25rem 0.5rem;
  width: 100%;
  margin: auto 0 1.25rem;
  padding: 0.625rem 0.75rem;
  border-radius: 0.75rem;
  background: var(--background);
  color: var(--muted);
  font-size: 0.9375rem;
  line-height: 1.4;
}
body.home-d3a .card.resource-card .resource-preview span {
  color: var(--action);
  font-size: 0.75rem;
  font-weight: 800;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}
body.home-d3a .card.resource-card .resource-preview b {
  color: var(--ink);
  font-weight: 800;
}
body.home-d3a .resource-points {
  display: grid;
  gap: 0.4rem;
  margin: 0 0 1.25rem;
  padding: 0;
  list-style: none;
}
body.home-d3a .resource-points li {
  position: relative;
  padding-left: 1.625rem;
  color: var(--ink);
  font-size: 0.9375rem;
  font-weight: 600;
}
body.home-d3a .resource-points li::before {
  position: absolute;
  top: 0.15rem;
  left: 0;
  width: 1.125rem;
  height: 1.125rem;
  border-radius: 50%;
  background:
    url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%230b5f58' stroke-width='3' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M6 12l4 4 8-8'/%3E%3C/svg%3E")
      center / 0.75rem no-repeat,
    var(--soft-green);
  content: '';
}
body.home-d3a .card.resource-card .card-icon {
  background: linear-gradient(145deg, var(--soft-green), #d9ece5);
}
body.home-d3a .card.resource-card .resource-preview + .resource-link {
  margin-top: 0;
}
@media (max-width: 48rem) {
  body.home-d3a .ba::before {
    display: none;
  }
}
body.home-d3a .ba-card-head {
  flex-wrap: wrap;
}
body.home-d3a .ba-status {
  margin-left: auto;
}

/* PR-D30 · Boletín del Propietario: bloque de suscripción y páginas del alta. */
.newsletter-signup {
  box-sizing: border-box;
  display: grid;
  grid-template-columns: minmax(0, 1fr);
  gap: 1.5rem;
  width: 100%;
  max-width: var(--content);
  margin: clamp(2.5rem, 6vw, 4.5rem) auto;
  padding: clamp(1.5rem, 4vw, 2.5rem);
  border: 1px solid var(--border);
  border-radius: var(--radius-panel);
  background: linear-gradient(135deg, var(--soft-green), var(--surface) 70%);
  box-shadow: var(--shadow-soft);
  color: var(--ink);
}
.newsletter-copy {
  min-width: 0;
}
.newsletter-copy .eyebrow {
  margin: 0 0 0.5rem;
}
.newsletter-copy h2,
.newsletter-copy h3 {
  margin: 0;
  font-size: clamp(1.6rem, 3.2vw, 2.1rem);
  line-height: 1.15;
  letter-spacing: -0.01em;
  text-wrap: balance;
}
.newsletter-copy p:last-child {
  margin: 0.75rem 0 0;
  max-width: 34rem;
  color: var(--muted);
  font-size: var(--text-body);
  line-height: var(--line-body);
}
.newsletter-form {
  position: relative;
  display: grid;
  grid-template-columns: minmax(0, 1fr);
  gap: 0.75rem;
  min-width: 0;
  align-content: center;
}
.newsletter-label {
  font-weight: 700;
  font-size: var(--text-ui);
}
.newsletter-row {
  min-width: 0;
  display: flex;
  flex-wrap: wrap;
  gap: 0.625rem;
}
.newsletter-signup *,
.newsletter-signup *::before,
.newsletter-signup *::after {
  box-sizing: border-box;
}
.newsletter-row input {
  flex: 1 1 14rem;
  width: 100%;
  min-width: 0;
  min-height: var(--control-height);
  padding: 0 1rem;
  border: 1.5px solid var(--field-border);
  border-radius: var(--radius-control);
  background: var(--white);
  color: var(--ink);
  font: inherit;
  font-size: var(--text-control);
}
.newsletter-row input:focus-visible {
  outline: 3px solid var(--action);
  outline-offset: 2px;
}
.newsletter-row input[aria-invalid='true'] {
  border-color: var(--error);
}
.newsletter-row .button {
  flex: 0 0 auto;
  min-height: var(--control-height);
}
.newsletter-consent {
  display: grid;
  grid-template-columns: auto minmax(0, 1fr);
  gap: 0.625rem;
  align-items: start;
  color: var(--muted);
  font-size: var(--text-small);
  line-height: 1.5;
}
.newsletter-consent input {
  width: 1.25rem;
  height: 1.25rem;
  margin: 0.1rem 0 0;
  accent-color: var(--action);
}
.newsletter-consent a {
  color: var(--action);
}
.newsletter-trap {
  position: absolute;
  width: 1px;
  height: 1px;
  overflow: hidden;
  clip-path: inset(50%);
  white-space: nowrap;
}
.newsletter-status {
  min-height: 1.5rem;
  margin: 0;
  font-size: var(--text-small);
  font-weight: 600;
}
.newsletter-status[data-kind='ok'] {
  color: var(--success);
}
.newsletter-status[data-kind='error'] {
  color: var(--error);
}
.newsletter-notice {
  margin: 1rem 0 0;
  padding: 0.75rem 1rem;
  border-radius: var(--radius-control);
  background: var(--error-surface);
  color: var(--error);
  font-weight: 600;
}
.newsletter-confirm {
  margin: 1.5rem 0 0;
}
.newsletter-note {
  margin: 1.25rem 0 0;
  max-width: 36rem;
  color: var(--muted);
  font-size: var(--text-small);
}
@media (min-width: 56rem) {
  .newsletter-signup {
    grid-template-columns: minmax(0, 1fr) minmax(0, 1.1fr);
    gap: 2.5rem;
    align-items: center;
  }
}
@media print {
  .newsletter-signup {
    display: none;
  }
}

/* ---------- Sello normativa española (PR-D36, 28-oct-2026) ---------- */
.hero-law {
  display: flex;
  align-items: flex-start;
  gap: 0.65rem;
  max-width: 34rem;
  margin: 1.5rem 0 0;
  padding: 0.75rem 0.9rem;
  border: 1px solid var(--border);
  border-radius: 0.75rem;
  background: var(--surface);
  color: var(--muted);
  font-size: 0.9375rem;
  line-height: 1.5;
}
.hero-law strong {
  color: var(--ink);
}
.hero-law-icon {
  display: inline-flex;
  flex: none;
  width: 1.25rem;
  height: 1.25rem;
  margin-top: 0.1rem;
  color: var(--action);
}
.hero-law-icon svg {
  width: 100%;
  height: 100%;
}
