:root {
      --paper: #F7F5EF;
      --ink: #111318;
      --line: #D7DDE5;
      --accent: #2F6BFF;
      --muted: #7B8494;
      --white: #fff;
      --soft: #ECEFF3;
      --radius: 2px;
      --ease-out: cubic-bezier(0.16, 1, 0.3, 1);
      --ease-in-out: cubic-bezier(0.83, 0, 0.17, 1);
    }

    * {
      box-sizing: border-box;
    }

    html {
      scroll-behavior: smooth;
      font-feature-settings: "kern" 1, "liga" 1;
      text-rendering: optimizeLegibility;
    }

    body {
      margin: 0;
      background: var(--paper);
      color: var(--ink);
      font-family: "Manrope", system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
      font-size: 1rem;
      line-height: 1.6;
      overflow-x: hidden;
    }

    img,
    svg {
      max-width: 100%;
      display: block;
    }a:not(.btn, .button) {
      color: inherit;
      text-decoration-thickness: .08em;
      text-underline-offset: .22em;
    }

    button,
    input,
    textarea {
      font: inherit;
    }

    .contenedor {
      width: min(92%, 1180px);
      margin: 0 auto;
    }

    .nav {
      position: sticky;
      top: 0;
      z-index: 50;
      background: color-mix(in srgb, var(--paper) 88%, transparent);
      backdrop-filter: blur(14px);
      border-bottom: 1px solid rgba(17, 19, 24, .08);
    }

    .nav__inner {
      min-height: 72px;
      display: grid;
      grid-template-columns: auto 1fr auto;
      align-items: center;
      gap: 24px;
    }

    .brand {
      display: inline-flex;
      align-items: center;
      gap: 10px;
      min-height: 44px;
      font-weight: 800;
      letter-spacing: -.03em;
      text-decoration: none;
      white-space: nowrap;
    }

    .brand__mark {
      width: 30px;
      height: 30px;
      flex: 0 0 auto;
    }

    .brand__text {
      line-height: 1.05;
    }

    .nav__links {
      display: flex;
      justify-content: flex-end;
      align-items: center;
      gap: 4px;
    }.nav__links a:not(.btn, .button), .nav-drawer a:not(.btn, .button) {
      min-height: 44px;
      display: inline-flex;
      align-items: center;
      gap: 7px;
      padding: 10px 12px;
      color: color-mix(in srgb, var(--ink) 78%, var(--muted));
      text-decoration: none;
      font-size: .875rem;
      font-weight: 650;
      letter-spacing: -.01em;
      border-radius: var(--radius);
    }

    .nav__links a:hover,
    .nav-drawer a:hover {
      color: var(--ink);
      background: rgba(47, 107, 255, .08);
    }

    .nav a[aria-current="page"] {
      color: var(--accent);
      background: rgba(47, 107, 255, .1);
    }

    .nav__num {
      font-variant-numeric: tabular-nums;
      font-size: .72rem;
      color: var(--muted);
      letter-spacing: .05em;
    }

    .nav__contact {
      min-height: 44px;
      display: inline-flex;
      align-items: center;
      justify-content: center;
      padding: 10px 14px;
      background: var(--ink);
      color: var(--paper);
      text-decoration: none;
      font-size: .875rem;
      font-weight: 750;
      border: 1px solid var(--ink);
      white-space: nowrap;
    }

    .nav__contact:hover {
      background: var(--accent);
      border-color: var(--accent);
    }

    .nav-burger {
      display: none;
      width: 44px;
      height: 44px;
      border: 1px solid var(--line);
      background: var(--paper);
      color: var(--ink);
      align-items: center;
      justify-content: center;
      padding: 0;
      cursor: pointer;
    }

    .nav-burger__lines {
      width: 20px;
      height: 12px;
      position: relative;
    }

    .nav-burger__lines::before,
    .nav-burger__lines::after {
      content: "";
      position: absolute;
      left: 0;
      width: 20px;
      height: 2px;
      background: currentColor;
      transition: transform 220ms var(--ease-in-out);
    }

    .nav-burger__lines::before {
      top: 0;
    }

    .nav-burger__lines::after {
      bottom: 0;
    }

    .nav-burger[aria-expanded="true"] .nav-burger__lines::before {
      transform: translateY(5px) rotate(45deg);
    }

    .nav-burger[aria-expanded="true"] .nav-burger__lines::after {
      transform: translateY(-5px) rotate(-45deg);
    }

    .nav-drawer {
      display: none;
    }

    .hero {
      min-height: calc(100svh - 72px);
      display: flex;
      align-items: stretch;
      padding: 48px 0 64px;
      border-bottom: 1px solid var(--line);
      background:
        linear-gradient(90deg, rgba(17, 19, 24, .055) 1px, transparent 1px),
        linear-gradient(180deg, rgba(17, 19, 24, .045) 1px, transparent 1px),
        var(--paper);
      background-size: 96px 96px;
    }

    .hero__grid {
      display: grid;
      grid-template-columns: repeat(12, 1fr);
      gap: 24px;
      align-items: end;
      width: 100%;
    }

    .hero__kicker {
      grid-column: 1 / 4;
      align-self: start;
      display: grid;
      gap: 12px;
      padding-top: 8px;
      color: var(--muted);
      font-size: .78rem;
      font-weight: 800;
      letter-spacing: .1em;
      text-transform: uppercase;
    }

    .hero__kicker::before {
      content: "01";
      color: var(--accent);
      font-variant-numeric: tabular-nums;
    }

    .hero__copy {
      grid-column: 4 / 13;
      display: grid;
      gap: 24px;
    }

    .hero h1 {
      margin: 0;
      max-width: 11ch;
      font-size: clamp(3rem, 9.4vw, 7.2rem);
      line-height: .96;
      letter-spacing: -.075em;
      font-weight: 800;
      text-wrap: balance;
    }

    .hero h1 span {
      color: var(--accent);
    }

    .hero__deck {
      display: grid;
      grid-template-columns: 1.05fr .75fr;
      gap: 32px;
      align-items: start;
      border-top: 1px solid var(--ink);
      padding-top: 24px;
    }

    .hero__deck p {
      margin: 0;
      max-width: 62ch;
      font-size: clamp(1.0625rem, 1.6vw, 1.28rem);
      line-height: 1.55;
      color: color-mix(in srgb, var(--ink) 88%, var(--muted));
    }

    .hero__actions {
      display: flex;
      flex-wrap: wrap;
      gap: 12px;
      justify-content: flex-start;
    }

    .btn {
      min-height: 44px;
      display: inline-flex;
      align-items: center;
      justify-content: center;
      gap: 8px;
      padding: 12px 16px;
      border: 1px solid var(--ink);
      border-radius: var(--radius);
      font-weight: 800;
      font-size: .93rem;
      letter-spacing: -.01em;
      text-decoration: none;
      text-align: center;
      white-space: nowrap;
      flex-shrink: 0;
      transition: background-color 150ms ease-out, color 150ms ease-out, border-color 150ms ease-out;
    }

    .btn--primary {
      background: var(--accent);
      border-color: var(--accent);
      color: var(--white);
    }

    .btn--primary:hover {
      background: var(--ink);
      border-color: var(--ink);
    }

    .btn--secondary {
      background: transparent;
      color: var(--ink);
    }

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

    .index-strip {
      padding: 24px 0;
      background: var(--ink);
      color: var(--paper);
    }

    .index-strip__grid {
      display: grid;
      grid-template-columns: 1fr 1fr 1.25fr;
      gap: 24px;
      align-items: start;
    }

    .index-strip__item {
      display: grid;
      gap: 6px;
      padding-left: 14px;
      border-left: 1px solid rgba(247, 245, 239, .28);
    }

    .index-strip__item strong {
      font-size: .88rem;
      letter-spacing: .08em;
      text-transform: uppercase;
    }

    .index-strip__item span {
      color: rgba(247, 245, 239, .72);
      font-size: .92rem;
      max-width: 44ch;
    }

    .section {
      padding: 72px 0;
    }

    .section--tight {
      padding: 56px 0 64px;
    }

    .section--ruled {
      border-bottom: 1px solid var(--line);
    }

    .section__head {
      display: grid;
      grid-template-columns: 160px minmax(0, 1fr);
      gap: 32px;
      align-items: start;
      margin-bottom: 32px;
    }

    .section__num {
      color: var(--accent);
      font-weight: 800;
      font-size: .84rem;
      letter-spacing: .08em;
      text-transform: uppercase;
      font-variant-numeric: tabular-nums;
    }

    .section__title {
      display: grid;
      gap: 12px;
    }

    h2 {
      margin: 0;
      max-width: 18ch;
      font-size: clamp(2rem, 4.2vw, 4.1rem);
      line-height: 1.02;
      letter-spacing: -.055em;
      font-weight: 800;
      text-wrap: balance;
    }

    h3 {
      margin: 0;
      font-size: clamp(1.125rem, 1.7vw, 1.5rem);
      line-height: 1.15;
      letter-spacing: -.035em;
      font-weight: 800;
    }

    p {
      margin: 0;
    }

    .lead {
      max-width: 64ch;
      color: color-mix(in srgb, var(--ink) 72%, var(--muted));
      font-size: 1.0625rem;
      line-height: 1.65;
    }

    .atlas-grid {
      display: grid;
      grid-template-columns: 1.2fr .8fr .8fr;
      gap: 16px;
      align-items: stretch;
    }

    .atlas-card {
      min-height: 220px;
      display: grid;
      align-content: space-between;
      gap: 24px;
      padding: 24px;
      border: 1px solid var(--line);
      background: color-mix(in srgb, var(--white) 58%, var(--paper));
    }

    .atlas-card--large {
      grid-row: span 2;
      min-height: 456px;
      background: var(--ink);
      color: var(--paper);
    }

    .atlas-card--large .atlas-card__text {
      color: rgba(247, 245, 239, .72);
      max-width: 48ch;
    }

    .atlas-card__label {
      display: inline-flex;
      align-items: center;
      gap: 8px;
      color: var(--accent);
      font-size: .76rem;
      font-weight: 800;
      text-transform: uppercase;
      letter-spacing: .1em;
      font-variant-numeric: tabular-nums;
    }

    .atlas-card__label::before {
      content: "";
      width: 8px;
      height: 8px;
      background: currentColor;
    }

    .atlas-card__text {
      color: color-mix(in srgb, var(--ink) 68%, var(--muted));
      max-width: 38ch;
    }

    .pathways {
      background: var(--white);
      border-block: 1px solid var(--line);
    }

    .pathway-grid {
      display: grid;
      grid-template-columns: .95fr 1.15fr .9fr;
      gap: 0;
      border: 1px solid var(--line);
      background: var(--paper);
    }

    .pathway {
      padding: 28px;
      display: grid;
      gap: 18px;
      align-content: start;
      border-right: 1px solid var(--line);
    }

    .pathway:last-child {
      border-right: 0;
    }

    .pathway__top {
      display: flex;
      align-items: center;
      justify-content: space-between;
      gap: 16px;
    }

    .pathway__icon {
      width: 40px;
      height: 40px;
      color: var(--accent);
    }

    .pathway:nth-child(2) .pathway__icon {
      width: 48px;
      height: 48px;
    }

    .pathway__tag {
      color: var(--muted);
      font-size: .76rem;
      font-weight: 800;
      letter-spacing: .09em;
      text-transform: uppercase;
    }

    .pathway p {
      max-width: 44ch;
      color: color-mix(in srgb, var(--ink) 70%, var(--muted));
    }.pathway a:not(.btn, .button) {
      width: fit-content;
      min-height: 44px;
      display: inline-flex;
      align-items: center;
      color: var(--ink);
      font-weight: 800;
    }

    .matrix-wrap {
      display: grid;
      grid-template-columns: 1fr 2fr;
      gap: 32px;
      align-items: start;
    }

    .matrix-note {
      position: sticky;
      top: 104px;
      display: grid;
      gap: 16px;
      padding-top: 8px;
    }

    .matrix-note p {
      max-width: 42ch;
      color: color-mix(in srgb, var(--ink) 70%, var(--muted));
    }

    .matrix {
      border: 1px solid var(--line);
      background: var(--white);
    }

    .matrix__row {
      display: grid;
      grid-template-columns: 1fr 1.2fr .9fr;
      gap: 0;
      border-bottom: 1px solid var(--line);
    }

    .matrix__row:last-child {
      border-bottom: 0;
    }

    .matrix__cell {
      padding: 18px;
      border-right: 1px solid var(--line);
      min-width: 0;
    }

    .matrix__cell:last-child {
      border-right: 0;
    }

    .matrix__head {
      background: var(--ink);
      color: var(--paper);
      font-size: .76rem;
      font-weight: 800;
      letter-spacing: .08em;
      text-transform: uppercase;
    }

    .matrix__cell strong {
      display: block;
      font-size: .98rem;
      line-height: 1.35;
      letter-spacing: -.02em;
    }

    .matrix__cell span {
      display: block;
      margin-top: 4px;
      color: var(--muted);
      font-size: .92rem;
      line-height: 1.45;
    }

    .research-block {
      display: grid;
      grid-template-columns: 1fr 1.35fr;
      gap: 48px;
      align-items: start;
      padding: 40px;
      background:
        linear-gradient(135deg, rgba(47, 107, 255, .12), transparent 42%),
        var(--ink);
      color: var(--paper);
    }

    .research-block h2 {
      max-width: 12ch;
    }

    .research-list {
      display: grid;
      gap: 0;
      border-top: 1px solid rgba(247, 245, 239, .24);
    }

    .research-item {
      display: grid;
      grid-template-columns: 72px 1fr;
      gap: 18px;
      padding: 20px 0;
      border-bottom: 1px solid rgba(247, 245, 239, .24);
    }

    .research-item__num {
      color: var(--accent);
      font-weight: 800;
      font-variant-numeric: tabular-nums;
    }

    .research-item p {
      color: rgba(247, 245, 239, .72);
      max-width: 58ch;
      margin-top: 6px;
    }

    .cta {
      padding: 64px 0 72px;
      background: var(--paper);
    }

    .cta__box {
      display: grid;
      grid-template-columns: 1fr auto;
      gap: 32px;
      align-items: end;
      padding-top: 28px;
      border-top: 2px solid var(--ink);
    }

    .cta__copy {
      display: grid;
      gap: 12px;
    }

    .cta h2 {
      max-width: 16ch;
    }

    .cta p {
      max-width: 64ch;
      color: color-mix(in srgb, var(--ink) 70%, var(--muted));
    }

    .contact-strip {
      margin-top: 24px;
      display: flex;
      flex-wrap: wrap;
      gap: 8px 18px;
      color: var(--muted);
      font-size: .92rem;
    }.contact-strip a:not(.btn, .button) {
      min-height: 44px;
      display: inline-flex;
      align-items: center;
      color: var(--ink);
      font-weight: 700;
    }

    .footer {
      background: var(--ink);
      color: var(--paper);
      padding: 40px 0 28px;
    }

    .footer__grid {
      display: grid;
      grid-template-columns: 1.2fr .8fr .8fr;
      gap: 32px;
      align-items: start;
    }

    .footer .brand {
      color: var(--paper);
      margin-bottom: 16px;
    }

    .footer p,
    .footer address {
      max-width: 52ch;
      color: rgba(247, 245, 239, .68);
      font-style: normal;
      font-size: .94rem;
    }

    .footer__links {
      display: grid;
      gap: 8px;
    }.footer__links a:not(.btn, .button) {
      min-height: 32px;
      color: rgba(247, 245, 239, .78);
      text-decoration: none;
      font-size: .94rem;
    }

    .footer__links a:hover {
      color: var(--paper);
      text-decoration: underline;
    }

    .footer__small {
      margin-top: 32px;
      padding-top: 20px;
      border-top: 1px solid rgba(247, 245, 239, .18);
      color: rgba(247, 245, 239, .52);
      font-size: .86rem;
    }

    .cookie-banner {
      position: fixed;
      right: 24px;
      bottom: 24px;
      z-index: 80;
      width: min(460px, calc(100% - 48px));
      padding: 18px;
      background: var(--white);
      border: 1px solid var(--ink);
      box-shadow: 12px 12px 0 rgba(17, 19, 24, .12);
      color: var(--ink);
    }

    .cookie-banner[hidden] {
      display: none;
    }

    .cookie-banner__copy {
      display: grid;
      gap: 8px;
      margin-bottom: 14px;
    }

    .cookie-banner strong {
      font-size: .95rem;
    }

    .cookie-banner p {
      color: color-mix(in srgb, var(--ink) 72%, var(--muted));
      font-size: .92rem;
      line-height: 1.5;
    }

    .cookie-banner a {
      font-weight: 800;
    }

    .cookie-banner__actions {
      display: flex;
      flex-wrap: wrap;
      gap: 8px;
    }

    .cookie-banner button {
      min-height: 44px;
      padding: 10px 12px;
      border: 1px solid var(--ink);
      background: transparent;
      color: var(--ink);
      cursor: pointer;
      font-weight: 800;
      font-size: .88rem;
    }

    .cookie-banner button[data-cookie-accept] {
      background: var(--accent);
      border-color: var(--accent);
      color: var(--white);
    }

    @media (prefers-reduced-motion: no-preference) {
      .hero__copy {
        animation: hero-in 520ms var(--ease-out) both;
      }

      @keyframes hero-in {
        from {
          opacity: 0;
          transform: translateY(8px);
        }
        to {
          opacity: 1;
          transform: translateY(0);
        }
      }
    }

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

    @media (max-width: 880px) {
      .nav__inner {
        min-height: 64px;
        grid-template-columns: auto 1fr auto;
      }

      .nav__links,
      .nav__contact {
        display: none;
      }

      .nav-burger {
        display: inline-flex;
        grid-column: 3;
      }

      .nav-drawer {
        display: grid;
        position: fixed;
        inset: 64px 0 auto 0;
        z-index: 49;
        max-height: calc(100svh - 64px);
        overflow: auto;
        background: var(--paper);
        border-bottom: 1px solid var(--line);
        padding: 12px 4%;
        transform: translateY(-12px);
        opacity: 0;
        pointer-events: none;
        transition: opacity 220ms var(--ease-in-out), transform 220ms var(--ease-in-out);
      }

      .nav-drawer.is-open {
        transform: translateY(0);
        opacity: 1;
        pointer-events: auto;
      }

      .nav-drawer a {
        width: 100%;
        justify-content: space-between;
        border-bottom: 1px solid var(--line);
        border-radius: 0;
        padding-inline: 0;
      }

      .nav-drawer .nav__num {
        display: none;
      }

      .hero {
        min-height: auto;
        padding: 40px 0 56px;
        background-size: 72px 72px;
      }

      .hero__grid,
      .hero__deck,
      .section__head,
      .matrix-wrap,
      .research-block,
      .cta__box,
      .footer__grid {
        grid-template-columns: 1fr;
      }

      .hero__kicker,
      .hero__copy {
        grid-column: 1;
      }

      .hero h1 {
        max-width: 10ch;
        font-size: clamp(3rem, 15vw, 5.6rem);
      }

      .index-strip__grid,
      .atlas-grid,
      .pathway-grid {
        grid-template-columns: 1fr;
      }

      .atlas-card--large {
        min-height: 320px;
      }

      .pathway {
        border-right: 0;
        border-bottom: 1px solid var(--line);
      }

      .pathway:last-child {
        border-bottom: 0;
      }

      .matrix-note {
        position: static;
      }

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

      .matrix__head {
        display: none;
      }

      .matrix__cell {
        border-right: 0;
        border-bottom: 1px solid var(--line);
      }

      .matrix__cell:last-child {
        border-bottom: 0;
      }

      .matrix__cell::before {
        content: attr(data-label);
        display: block;
        margin-bottom: 4px;
        color: var(--accent);
        font-size: .72rem;
        font-weight: 800;
        letter-spacing: .08em;
        text-transform: uppercase;
      }

      .cta__box {
        align-items: start;
      }
    }

    @media (max-width: 600px) {
      .brand__text {
        font-size: .95rem;
      }

      .hero {
        padding: 32px 0 48px;
      }

      .hero__deck {
        gap: 20px;
      }

      .section {
        padding: 56px 0;
      }

      .section--tight {
        padding: 48px 0 56px;
      }

      .section__head {
        gap: 16px;
        margin-bottom: 24px;
      }

      h2 {
        font-size: clamp(2rem, 11vw, 3.1rem);
      }

      .atlas-card,
      .pathway,
      .research-block {
        padding: 20px;
      }

      .research-item {
        grid-template-columns: 1fr;
        gap: 6px;
      }

      .btn {
        width: 100%;
      }

      .hero__actions,
      .cookie-banner__actions {
        width: 100%;
      }

      .cookie-banner {
        right: 4%;
        bottom: 16px;
        width: 92%;
      }

      .cookie-banner button {
        flex: 1 1 100%;
      }
    }

/* === RUNNER SCAFFOLD (zero-specificity safety net) ===
   Auto-appended by run_split.py. Any explicit rule on .btn the model
   wrote in the document above will override these (:where has
   specificity = 0). Scope = content blocks only, not hero/nav. */
:where(section, article, .card, .panel, aside) :where(.btn, .button, [class*="cta"]) {
  margin-block-start: clamp(0.75rem, 2vw, 1.5rem);
}


/* === Extended by T_INNERS_DOC === */

.page-header {
  padding: 64px 0 40px;
  border-bottom: 1px solid var(--line);
}

.page-header .contenedor {
  display: grid;
  grid-template-columns: minmax(120px, 0.28fr) minmax(0, 0.72fr);
  gap: 32px;
  align-items: end;
}

.page-header h1 {
  margin: 0 0 16px;
  max-width: 12ch;
  font-size: clamp(2.25rem, 6vw, 5.4rem);
  line-height: 0.98;
  letter-spacing: -0.055em;
}

.page-header p {
  max-width: 62ch;
  margin: 0;
  color: var(--muted);
  font-size: clamp(1rem, 1.4vw, 1.15rem);
  line-height: 1.65;
}

.catalogue-ledger {
  display: grid;
  grid-template-columns: 0.9fr 1.35fr;
  gap: 48px;
  align-items: start;
}

.ledger-note {
  position: sticky;
  top: 112px;
  border-top: 2px solid var(--ink);
  padding-top: 18px;
}

.ledger-note h2,
.split-note h2,
.workflow-note h2,
.fit-note h2 {
  margin: 10px 0 14px;
  font-size: clamp(1.75rem, 3.2vw, 3rem);
  line-height: 1.06;
  letter-spacing: -0.04em;
}

.ledger-note p,
.split-note p,
.workflow-note p,
.fit-note p {
  margin: 0;
  max-width: 58ch;
  color: var(--muted);
  line-height: 1.65;
}

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

.platform-row {
  display: grid;
  grid-template-columns: 0.42fr 1fr;
  gap: 24px;
  padding: 22px 0;
  border-top: 1px solid var(--line);
}

.platform-row:last-child {
  border-bottom: 1px solid var(--line);
}

.platform-row h3 {
  margin: 0;
  font-size: clamp(1.05rem, 1.6vw, 1.35rem);
  line-height: 1.18;
  letter-spacing: -0.025em;
}

.platform-row p {
  margin: 0 0 12px;
  color: var(--muted);
  line-height: 1.6;
}

.platform-row ul,
.os-panel ul,
.workflow-step ul,
.fit-card ul,
.request-list {
  margin: 0;
  padding-left: 1.1rem;
  color: var(--ink);
  line-height: 1.65;
}

.evidence-band {
  display: grid;
  grid-template-columns: 1fr 1fr 1fr;
  gap: 1px;
  background: var(--line);
  color: var(--ink);
  border: 1px solid var(--line);
}

.evidence-band__item {
  background: var(--white);
  color: var(--ink);
  padding: 24px;
}

.evidence-band__item strong {
  display: block;
  margin-bottom: 8px;
  font-size: 0.82rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.evidence-band__item p {
  margin: 0;
  color: var(--muted);
  line-height: 1.6;
}

.image-pair {
  display: grid;
  grid-template-columns: 1.15fr 0.85fr;
  gap: 16px;
  align-items: stretch;
}

.image-pair img,
.single-figure img,
.contact-figure img {
  width: 100%;
  height: 100%;
  min-height: 240px;
  object-fit: cover;
  display: block;
  filter: saturate(0.86) contrast(1.02);
}

.image-pair figure,
.single-figure,
.contact-figure {
  margin: 0;
  background: var(--soft);
  color: var(--ink);
  border: 1px solid var(--line);
}

.image-pair figcaption,
.single-figure figcaption,
.contact-figure figcaption {
  padding: 12px 14px;
  color: var(--muted);
  font-size: 0.9rem;
  line-height: 1.45;
}

.os-comparison {
  display: grid;
  grid-template-columns: 1.18fr 1fr 0.92fr;
  gap: 1px;
  background: var(--line);
  color: var(--ink);
  border: 1px solid var(--line);
}

.os-panel {
  background: var(--white);
  color: var(--ink);
  min-height: 420px;
  padding: 28px;
  display: flex;
  flex-direction: column;
  gap: 18px;
}

.os-panel--dark {
  background: var(--ink);
  color: var(--paper);
}

.os-panel--dark p,
.os-panel--dark li,
.os-panel--dark .os-panel__label {
  color: var(--line);
}

.os-panel__label {
  color: var(--muted);
  font-size: 0.78rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
}

.os-panel h2 {
  margin: 0;
  font-size: clamp(1.6rem, 2.6vw, 2.55rem);
  line-height: 1.08;
  letter-spacing: -0.04em;
}

.os-panel p {
  margin: 0;
  color: var(--muted);
  line-height: 1.62;
}

.environment-table {
  border-top: 1px solid var(--line);
}

.environment-row {
  display: grid;
  grid-template-columns: 0.34fr 0.66fr;
  gap: 24px;
  padding: 20px 0;
  border-bottom: 1px solid var(--line);
}

.environment-row strong {
  font-size: 1.02rem;
}

.environment-row p {
  margin: 0;
  color: var(--muted);
  line-height: 1.62;
}

.workflow-layout {
  display: grid;
  grid-template-columns: 0.72fr 1.28fr;
  gap: 56px;
  align-items: start;
}

.workflow-timeline {
  counter-reset: step;
  border-left: 1px solid var(--ink);
  display: grid;
  gap: 0;
}

.workflow-step {
  counter-increment: step;
  position: relative;
  padding: 0 0 34px 34px;
}

.workflow-step::before {
  content: counter(step, decimal-leading-zero);
  position: absolute;
  left: -20px;
  top: 0;
  width: 40px;
  height: 40px;
  display: grid;
  place-items: center;
  background: var(--ink);
  color: var(--paper);
  font-size: 0.8rem;
  font-weight: 700;
  font-variant-numeric: tabular-nums;
}

.workflow-step h3 {
  margin: 0 0 10px;
  font-size: clamp(1.25rem, 2vw, 1.8rem);
  line-height: 1.14;
  letter-spacing: -0.03em;
}

.workflow-step p {
  margin: 0 0 12px;
  max-width: 68ch;
  color: var(--muted);
  line-height: 1.62;
}

.architecture-metrics {
  display: grid;
  grid-template-columns: 1fr 1fr 1fr 1fr;
  gap: 1px;
  background: var(--line);
  color: var(--ink);
  border: 1px solid var(--line);
}

.metric-tile {
  background: var(--white);
  color: var(--ink);
  padding: 24px;
  min-height: 190px;
}

.metric-tile strong {
  display: block;
  margin-bottom: 28px;
  font-size: clamp(1.65rem, 3vw, 3.2rem);
  line-height: 1;
  letter-spacing: -0.06em;
  font-variant-numeric: tabular-nums;
}

.metric-tile span {
  display: block;
  color: var(--muted);
  line-height: 1.55;
}

.fit-layout {
  display: grid;
  grid-template-columns: 0.85fr 1.15fr;
  gap: 48px;
  align-items: start;
}

.fit-card-stack {
  display: grid;
  gap: 14px;
}

.fit-card {
  border: 1px solid var(--line);
  background: var(--white);
  color: var(--ink);
  padding: 24px;
}

.fit-card:nth-child(2) {
  margin-left: 32px;
}

.fit-card:nth-child(4) {
  margin-right: 32px;
}

.fit-card h3 {
  margin: 0 0 10px;
  font-size: clamp(1.18rem, 1.8vw, 1.55rem);
  line-height: 1.16;
  letter-spacing: -0.025em;
}

.fit-card p {
  margin: 0 0 12px;
  color: var(--muted);
  line-height: 1.6;
}

.priority-grid {
  display: grid;
  grid-template-columns: 1.25fr 0.85fr 0.9fr;
  gap: 1px;
  background: var(--line);
  color: var(--ink);
  border: 1px solid var(--line);
}

.priority-cell {
  background: var(--soft);
  color: var(--ink);
  padding: 22px;
}

.priority-cell h3 {
  margin: 0 0 8px;
  font-size: 1.05rem;
}

.priority-cell p {
  margin: 0;
  color: var(--muted);
  line-height: 1.58;
}

.contact-layout {
  display: grid;
  grid-template-columns: minmax(0, 1.15fr) minmax(280px, 0.85fr);
  gap: 40px;
  align-items: start;
}

.contact-form {
  background: var(--white);
  color: var(--ink);
  border: 1px solid var(--line);
  padding: clamp(24px, 4vw, 40px);
  display: grid;
  gap: 18px;
}

.contact-form__row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px;
}

.contact-form label {
  display: grid;
  gap: 8px;
  color: var(--ink);
  font-weight: 700;
}

.contact-form span {
  font-size: 0.88rem;
}

.contact-form input,
.contact-form textarea {
  width: 100%;
  min-height: 48px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--paper);
  color: var(--ink);
  padding: 12px 14px;
  font: inherit;
}

.contact-form textarea {
  min-height: 168px;
  resize: vertical;
}

.contact-form input:focus,
.contact-form textarea:focus {
  outline: 2px solid var(--accent);
  outline-offset: 2px;
}

.contact-form__hint {
  margin: 0;
  color: var(--muted);
  line-height: 1.55;
  font-size: 0.95rem;
}

.contact-side {
  display: grid;
  gap: 16px;
}

.contact-card {
  border: 1px solid var(--line);
  background: var(--soft);
  color: var(--ink);
  padding: 24px;
}

.contact-card h2,
.contact-card h3 {
  margin: 0 0 12px;
  font-size: clamp(1.2rem, 2vw, 1.65rem);
  line-height: 1.15;
  letter-spacing: -0.025em;
}

.contact-card p {
  margin: 0 0 12px;
  color: var(--muted);
  line-height: 1.6;
}.contact-card a:not(.btn, .button) {
  color: var(--ink);
  text-decoration-color: var(--accent);
  text-underline-offset: 3px;
}

.contact-card address {
  font-style: normal;
  color: var(--muted);
  line-height: 1.6;
}

.legal-page {
  padding: 64px 0;
}

.legal-page__head {
  max-width: 760px;
  padding-bottom: 32px;
  border-bottom: 1px solid var(--line);
}

.legal-page__head h1 {
  margin: 10px 0;
  font-size: clamp(2.15rem, 5vw, 4.6rem);
  line-height: 1;
  letter-spacing: -0.05em;
}

.legal-page__meta {
  margin: 0;
  color: var(--muted);
}

.legal-page__body {
  max-width: 760px;
  padding-top: 32px;
  line-height: 1.68;
}

.legal-page__body h2 {
  margin: 34px 0 10px;
  font-size: clamp(1.35rem, 2vw, 1.85rem);
  line-height: 1.15;
  letter-spacing: -0.025em;
}

.legal-page__body p,
.legal-page__body li {
  color: var(--muted);
}

.legal-page__body ul {
  padding-left: 1.2rem;
}

@media (prefers-reduced-motion: no-preference) {
  .contact-form input,
  .contact-form textarea {
    transition: border-color 200ms var(--ease-in-out), background-color 200ms var(--ease-in-out);
  }
}

@media (max-width: 880px) {
  .page-header {
    padding: 48px 0 32px;
  }

  .page-header .contenedor,
  .catalogue-ledger,
  .workflow-layout,
  .fit-layout,
  .contact-layout {
    grid-template-columns: 1fr;
    gap: 28px;
  }

  .ledger-note {
    position: static;
  }

  .os-comparison,
  .architecture-metrics,
  .priority-grid {
    grid-template-columns: 1fr 1fr;
  }

  .image-pair {
    grid-template-columns: 1fr;
  }

  .contact-form__row {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 600px) {
  .platform-row,
  .environment-row {
    grid-template-columns: 1fr;
    gap: 10px;
  }

  .evidence-band,
  .os-comparison,
  .architecture-metrics,
  .priority-grid {
    grid-template-columns: 1fr;
  }

  .os-panel {
    min-height: auto;
    padding: 24px;
  }

  .workflow-step {
    padding-left: 28px;
  }

  .fit-card:nth-child(2),
  .fit-card:nth-child(4) {
    margin-left: 0;
    margin-right: 0;
  }
}

/* === legal contrast guard (runner-injected, deterministic) === */
main.legal-page .legal-page__head h1,
main.legal-page .legal-page__meta,
main.legal-page .legal-page__body,
main.legal-page .legal-page__body h2,
main.legal-page .legal-page__body h3,
main.legal-page .legal-page__body p,
main.legal-page .legal-page__body li,
main.legal-page .legal-page__body strong,
main.legal-page .legal-page__body em {
  color: var(--ink);
}
main.legal-page .legal-page__body a {
  color: var(--ink);
  text-decoration: underline;
}
