@font-face {
  font-family: DM Sans;
  src: url("/fonts/sans.woff2") format("woff2");
  font-weight: 100 1000;
  font-display: swap;
}
@font-face {
  font-family: Instrument Serif;
  src: url("/fonts/serif.woff2") format("woff2");
  font-display: swap;
}
@font-face {
  font-family: Instrument Serif;
  src: url("/fonts/italic.woff2") format("woff2");
  font-style: italic;
  font-display: swap;
}
:root {
  color-scheme: dark;
  --bg: #080a0d;
  --surface: #101215;
  --surface-raised: #121518;
  --surface-gold: #29251e;
  --ink: #f3f1eb;
  --muted: #afb3bb;
  --line: #303237;
  --gold: #dcc297;
  --blue: #99beed;
  --shadow-border: 0 0 0 1px oklch(1 0 0 / 0.08);
  --shadow-border-hover: 0 0 0 1px oklch(1 0 0 / 0.14);
  --serif: "Instrument Serif", Georgia, serif;
  --sans: "DM Sans", Arial, sans-serif;
}
* {
  box-sizing: border-box;
}
html {
  scroll-behavior: smooth;
  scroll-padding-top: 1rem;
}
body {
  margin: 0;
  background: var(--bg);
  color: var(--ink);
  font: 16px/1.55 var(--sans);
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}
::selection {
  background: color-mix(in srgb, var(--gold) 28%, transparent);
  color: var(--ink);
}
a {
  color: inherit;
  text-decoration: none;
  transition-property: color;
  transition-duration: 150ms;
  transition-timing-function: ease-out;
}
a:hover {
  color: var(--gold);
}
button,
input,
select,
textarea {
  font: inherit;
}
button,
summary,
a,
input,
select,
textarea {
  touch-action: manipulation;
}
:focus-visible {
  outline: 2px solid var(--blue);
  outline-offset: 5px;
}
button {
  cursor: pointer;
}
button:disabled {
  opacity: 0.6;
  cursor: not-allowed;
}
button[aria-busy="true"]:disabled {
  cursor: wait;
}
[hidden] {
  display: none !important;
}
.wrap {
  width: min(1440px, 90%);
  margin-inline: auto;
}
.mast {
  position: relative;
  z-index: 3;
  border-bottom: 1px solid #25272a;
  background: var(--bg);
}
.bar,
.barend,
.wordmark,
.desktop,
.actions,
.sectionhead,
.tabs,
.textlink,
.button,
button:not(.plain),
.start {
  display: flex;
  align-items: center;
}
.bar {
  min-height: 82px;
  justify-content: space-between;
  gap: 28px;
}
.wordmark {
  gap: 9px;
  flex-shrink: 0;
  color: #eeeff2;
}
.wordmark img {
  object-fit: contain;
  mix-blend-mode: screen;
}
.wordmark img.wordmark-tc {
  mix-blend-mode: normal;
}
.wordmark-footer {
  flex-wrap: wrap;
}
.wordmark > span {
  font: 600 15px/1.05 var(--sans);
  letter-spacing: 0.145em;
}
.wordmark small {
  display: block;
  font-size: 7px;
  letter-spacing: 0.27em;
  margin-top: 4px;
}
.wordmark b {
  font: 400 17px var(--sans);
  color: #93949b;
  margin: 0 5px;
}
.wordmark em {
  font: normal 23px/1 var(--serif);
  color: var(--gold);
}
.desktop,
.barend {
  gap: 32px;
}
.desktop a,
.access,
.start {
  font-size: 13px;
}
.desktop a {
  color: #c0c2c7;
  position: relative;
  padding: 29px 0;
}
.desktop a[aria-current] {
  color: #f3f0e8;
}
.desktop a[aria-current]:after {
  position: absolute;
  content: "";
  width: 15px;
  height: 1px;
  background: var(--gold);
  bottom: 20px;
  inset-inline-start: 0;
}
.start,
.button,
button:not(.plain):not(#film-control):not(#film-sound) {
  background: var(--gold);
  color: #191711;
  font-weight: 650;
  border: 1px solid var(--gold);
  border-radius: 3px;
  justify-content: center;
  gap: 14px;
  min-height: 46px;
  padding: 10px 19px;
  font-size: 14px;
  width: fit-content;
  transition-property: scale, background-color, border-color, color;
  transition-duration: 150ms;
  transition-timing-function: ease-out;
}
.start:has(.icon),
.button:has(.icon),
button:not(.plain):not(#film-control):not(#film-sound):has(.icon) {
  padding-inline: 19px 17px;
}
.start {
  background: transparent;
  border-color: #7c705c;
  color: var(--gold);
  min-height: 36px;
  gap: 10px;
  font-size: 13px;
}
.button:hover,
button:not(.plain):not(#film-control):not(#film-sound):hover {
  background: #f0dbb7;
  color: #17150f;
}
.start:hover {
  background: var(--surface-gold);
}
.start:active,
.button:active,
button:not(.plain):not(#film-control):not(#film-sound):not(:disabled):active {
  scale: 0.96;
}
.icon {
  flex: none;
  display: block;
  transition-property: transform;
  transition-duration: 150ms;
  transition-timing-function: ease-out;
}
.button:hover .icon,
.start:hover .icon,
button:not(.plain):hover .icon,
.textlink:hover .icon,
.mode:hover .icon,
.listlink:hover .icon {
  transform: translate(1.5px, -1.5px);
}
.back:hover .icon-back {
  transform: translateX(-2px);
}
.mobile {
  display: none;
}
.skip {
  position: absolute;
  left: 16px;
  top: -100px;
  background: white;
  color: black;
  padding: 10px;
  z-index: 10;
}
.skip:focus {
  top: 10px;
}
.hero {
  overflow: hidden;
  background: radial-gradient(
    ellipse at 77% 52%,
    #121620 0%,
    #090b10 42%,
    #080a0d 68%
  );
  border-bottom: 1px solid #343437;
}
.hero-grid {
  min-height: clamp(468px, 36vw, 600px);
  display: grid;
  grid-template-columns: 0.91fr 1.22fr;
  align-items: center;
  gap: 1%;
  padding-block: 41px;
}
.lead {
  position: relative;
  z-index: 1;
}
.eyebrow,
.dataset-label,
.film figcaption,
.mode small,
.caption,
.back,
.risk,
.lineitem small,
.owned small {
  font-size: 12px;
}
.eyebrow,
.film figcaption,
.mode small {
  font-size: 11px;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  font-weight: 600;
}
.eyebrow {
  display: flex;
  align-items: center;
  gap: 11px;
  color: #c8cacd;
}
.eyebrow i {
  width: 27px;
  height: 1px;
  background: var(--gold);
}
h1,
h2,
h3,
p,
figure,
dl {
  margin: 0;
}
h1,
h2,
h3 {
  font-family: var(--serif);
  font-weight: 400;
  text-wrap: balance;
}
h1 em,
h2 em {
  font-weight: 400;
  color: var(--gold);
}
.lead h1 {
  font-size: clamp(75px, 7.6vw, 126px);
  line-height: 0.91;
  letter-spacing: -0.045em;
  margin: 24px 0 21px;
}
.hero-phrases {
  --long-phrase-size: min(4.65vw, 75px);
  container-type: inline-size;
  display: grid;
  grid-template-columns: minmax(0, 1fr);
  grid-template-rows: 1lh;
}
.hero-phrases > span {
  grid-area: 1 / 1;
  align-self: center;
  white-space: nowrap;
}
.hero-phrases > span:last-child {
  font-size: min(1em, var(--long-phrase-size));
  font-size: min(1em, 12.25cqi);
  letter-spacing: -0.045em;
}
@media (max-width: 780px) {
  .hero-phrases {
    --long-phrase-size: 11vw;
  }
}
.hero-phrases > span:not(:first-child) {
  opacity: 0;
}
@media (prefers-reduced-motion: no-preference) {
  .hero-phrases > span {
    /* Each 1.7s handoff follows 5s at rest. */
    animation: hero-phrase 20.1s cubic-bezier(0.37, 0, 0.63, 1) 430ms infinite;
  }
  @supports (background-clip: text) {
    .hero-phrases > span {
      /* Keep the italic descenders inside the painted area. */
      padding-block: 0.18em;
      margin-block: -0.18em;
      color: transparent;
      background-image:
        radial-gradient(ellipse, #b9ddff 0%, #91bdf0 25%, transparent 70%),
        radial-gradient(ellipse, #fff1d8 0%, #f3d6a6 25%, transparent 70%),
        linear-gradient(var(--gold), var(--gold));
      background-size: 36% 160%, 36% 160%, 100% 100%;
      background-position: -57% 50%, 157% 50%, center;
      background-repeat: no-repeat;
      background-clip: text;
    }
  }
  @supports (mask-image: linear-gradient(black, transparent)) {
    .hero-phrases > span {
      --hero-edge-opacity: 0.85;
      mask-image: linear-gradient(
        90deg,
        transparent 25%,
        black 29% 71%,
        transparent 75%
      );
      mask-size: 400% 100%;
      mask-position: center;
      mask-repeat: no-repeat;
    }
  }
  .hero-phrases > span:nth-child(2) {
    animation-delay: calc(430ms - 13.4s);
  }
  .hero-phrases > span:nth-child(3) {
    animation-delay: calc(430ms - 6.7s);
  }
  @keyframes hero-phrase {
    0%,
    100% {
      opacity: 1;
      transform: translateY(0);
      background-position: -57% 50%, 157% 50%, center;
      mask-position: 61.3333% 50%;
    }
    24.875622% {
      opacity: 1;
      transform: translateY(0);
      background-position: -57% 50%, 157% 50%, center;
      mask-position: 38.6667% 50%;
    }
    33.333333% {
      opacity: var(--hero-edge-opacity, 0);
      transform: translateY(-0.09em);
      background-position: 50% 50%, 50% 50%, center;
      mask-position: left center;
      /* Reset the mask from the left edge to the right while invisible. */
      animation-timing-function: steps(1, end);
    }
    91.542289% {
      opacity: var(--hero-edge-opacity, 0);
      transform: translateY(0.09em);
      background-position: 50% 50%, 50% 50%, center;
      mask-position: right center;
    }
  }
}
.lead .hero-heading-webgl {
  position: relative;
}
.hero-phrases-webgl {
  --long-phrase-size: min(4.65vw, 75px);
  position: relative;
  container-type: inline-size;
  display: grid;
  grid-template-columns: minmax(0, 1fr);
  grid-template-rows: 1lh;
  color: var(--hero-gold, var(--gold));
}
.hero-phrase {
  grid-area: 1 / 1;
  align-self: center;
  white-space: nowrap;
}
.hero-phrase[data-compact] {
  font-size: min(1em, var(--long-phrase-size));
  font-size: min(1em, 12.25cqi);
}
@media (max-width: 780px) {
  .hero-phrases-webgl {
    --long-phrase-size: 11vw;
  }
}
.hero-phrase:not([data-current]) {
  visibility: hidden;
}
.hero-phrase > i {
  display: inline-block;
  width: 0;
  height: 0;
  vertical-align: baseline;
}
.hero-phrases-webgl canvas {
  position: absolute;
  inset: -0.26em 0 -0.28em -0.13em;
  width: calc(100% + 0.25em);
  height: calc(100% + 0.54em);
  pointer-events: none;
  visibility: hidden;
}
@media (prefers-reduced-motion: no-preference) {
  .hero-phrases-webgl[data-morphing] canvas {
    visibility: visible;
  }
  .hero-phrases-webgl[data-morphing] .hero-phrase[data-current] {
    color: transparent;
  }
}
.lead .hero-motion-toggle {
  position: absolute;
  inset-inline-end: -4px;
  inset-block-start: var(--headline-control-top, 0px);
  z-index: 1;
  display: grid;
  place-items: center;
  width: 24px;
  height: 24px;
  padding: 0;
  border: 1px solid transparent;
  border-radius: 50%;
  background: transparent;
  color: #a99c86;
  cursor: pointer;
}
.hero-motion-toggle[hidden],
.hero-motion-toggle:not([data-paused]) .hero-motion-play,
.hero-motion-toggle[data-paused] .hero-motion-pause {
  display: none;
}
.lead .hero-motion-toggle:hover,
.lead .hero-motion-toggle:focus-visible {
  color: var(--gold);
  border-color: currentColor;
}
@media (prefers-reduced-motion: reduce) {
  .lead .hero-motion-toggle {
    display: none;
  }
}
.lead p,
.technology p,
.closing p,
.pagehead p,
.measure {
  color: var(--muted);
  max-width: 42ch;
  text-wrap: pretty;
}
.lead p {
  font-size: clamp(15px, 1.12vw, 18px);
}
.actions {
  gap: 24px;
  margin-top: 28px;
  flex-wrap: wrap;
}
.lead .eyebrow,
.lead h1,
.lead p,
.lead .actions {
  animation: fadeInUp 350ms ease-out both;
}
.lead h1 {
  animation-delay: 80ms;
}
.lead p {
  animation-delay: 160ms;
}
.lead .actions {
  animation-delay: 240ms;
}
@keyframes fadeInUp {
  from {
    opacity: 0;
    transform: translateY(10px);
    filter: blur(4px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
    filter: blur(0);
  }
}
.textlink {
  width: fit-content;
  gap: 8px;
  font-size: 13px;
  font-weight: 550;
}
.textlink .icon {
  color: var(--gold);
}
.film {
  min-width: 0;
  align-self: center;
}
.screen {
  position: relative;
}
.screen video {
  display: block;
  width: 100%;
  height: auto;
  aspect-ratio: 16/9;
  object-fit: contain;
  mask-image:
    linear-gradient(to right, transparent, #000 6%, #000 94%, transparent),
    linear-gradient(to bottom, transparent, #000 13%, #000 87%, transparent);
  mask-composite: intersect;
}
.film figcaption {
  color: #aaaeb9;
  display: flex;
  align-items: center;
  gap: 12px;
  margin: 3px 8% 0;
  font-size: 11px;
  letter-spacing: 0.13em;
}
.film figcaption > span:last-child {
  font-variant-numeric: tabular-nums;
}
.film figcaption > span:first-child {
  display: flex;
  align-items: center;
  gap: 8px;
}
.film-dot,
.pin {
  display: inline-block;
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--blue);
  box-shadow: 0 0 9px #739de677;
}
.track {
  flex: 1;
  height: 1px;
  background: linear-gradient(to right, #38404f, #655b49);
}
#film-control,
#film-sound {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font: inherit;
  color: #c5c5c5;
  background: transparent;
  border: 0;
  padding: 10px 4px;
  text-transform: uppercase;
  letter-spacing: inherit;
  white-space: nowrap;
  cursor: pointer;
  transition-property: color, scale;
  transition-duration: 150ms;
  transition-timing-function: ease-out;
}
#film-control:hover,
#film-sound:hover {
  color: var(--ink);
}
#film-sound[aria-pressed="true"] {
  color: var(--gold);
}
#film-control:active,
#film-sound:active {
  scale: 0.96;
}
.sound-icon {
  position: relative;
  display: inline-grid;
  place-items: center;
  width: 14px;
  height: 14px;
}
.sound-icon svg {
  transition-property: opacity, filter, scale;
  transition-duration: 300ms;
  transition-timing-function: cubic-bezier(0.2, 0, 0, 1);
}
.sound-icon .sound-on {
  position: absolute;
  inset: 0;
  opacity: 0;
  scale: 0.25;
  filter: blur(4px);
}
.sound-icon .sound-off {
  opacity: 1;
  scale: 1;
  filter: blur(0);
}
#film-sound[aria-pressed="true"] .sound-on {
  opacity: 1;
  scale: 1;
  filter: blur(0);
}
#film-sound[aria-pressed="true"] .sound-off {
  opacity: 0;
  scale: 0.25;
  filter: blur(4px);
}
h2 {
  font-size: clamp(38px, 3.7vw, 65px);
  line-height: 1.03;
  letter-spacing: -0.035em;
}
h3 {
  font-size: 30px;
  line-height: 1.12;
}
.result-strip {
  background: var(--surface);
  border-bottom: 1px solid var(--line);
}
.result-grid {
  display: grid;
  grid-template-columns: 0.83fr 1.3fr;
  align-items: center;
  gap: 5%;
  padding-block: 40px;
}
.result-grid h2 {
  font-size: clamp(33px, 3.25vw, 55px);
  margin: 12px 0;
}
.result-grid .textlink,
.back {
  color: var(--gold);
}
.broker-comparison-link {
  margin-top: 6px;
  min-height: 44px;
}
.home-metrics-header {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 6px 16px;
}
.period-selector {
  display: grid;
  grid-template-columns: 44px 104px 44px;
  align-items: center;
  color: var(--ink);
  font-size: 12px;
  text-align: center;
}
.period-selector button {
  display: grid;
  place-items: center;
  width: 44px;
  height: 44px;
  padding: 0;
  border: 0;
  border-radius: 4px;
  background: transparent;
  color: var(--gold);
  transition:
    background-color 150ms ease-out,
    scale 150ms ease-out;
}
.period-selector button[aria-disabled="true"] {
  color: var(--muted);
  opacity: 0.5;
  cursor: default;
}
@media (hover: hover) {
  .period-selector button[aria-disabled="false"]:hover {
    background: var(--surface-gold);
  }
}
@media (prefers-reduced-motion: no-preference) {
  .period-selector button[aria-disabled="false"]:active {
    scale: 0.96;
  }
}
.dataset-label {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 9px;
  color: #d7d9dc;
  font-size: 12px;
  letter-spacing: 0.04em;
}
.dataset-label > span:not(.pin) {
  color: #888;
}
.metrics {
  display: flex;
  margin: 14px 0 10px;
}
.metrics > div {
  flex: 1;
  padding: 0 20px;
  border-inline-start: 1px solid var(--line);
  display: flex;
  flex-direction: column-reverse;
}
.metrics > div:first-child {
  padding-inline-start: 0;
  border: 0;
}
.metrics dt,
.caption,
.risk,
.lineitem small,
.owned small,
.muted {
  color: var(--muted);
}
.metrics dt {
  font-size: 12px;
}
.metrics dd {
  margin: 0;
  font: 400 clamp(36px, 3.5vw, 59px)/1.1 var(--serif);
  white-space: nowrap;
  font-variant-numeric: lining-nums;
}
.metrics dd small {
  font-size: 0.6em;
}
.gold {
  color: var(--gold);
}
.risk {
  font-size: 12px;
  margin-top: 9px;
}
.section {
  padding-block: 68px;
}
.sectionhead {
  justify-content: space-between;
  gap: 20px;
  margin: 13px 0 27px;
}
.duo,
.compare,
.technology,
.detail-intro,
.authframe {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 20px;
}
.mode {
  min-height: 195px;
  display: flex;
  align-items: end;
  isolation: isolate;
  position: relative;
  overflow: hidden;
  border: 0;
  border-radius: 4px;
  box-shadow: var(--shadow-border);
  background: #101720;
  padding: 24px 27px;
  transition-property: box-shadow;
  transition-duration: 150ms;
  transition-timing-function: ease-out;
}
.mode:hover {
  box-shadow: var(--shadow-border-hover);
}
.mode:focus-visible {
  outline-offset: -3px;
}
.mode.x10 {
  background: #191610;
}
.mode img {
  position: absolute;
  right: 0;
  top: 0;
  height: 100%;
  width: 63%;
  object-fit: cover;
  z-index: -1;
  mask-image: linear-gradient(to right, transparent, #000 41%);
  opacity: 0.78;
  transition-property: transform;
  transition-duration: 300ms;
  transition-timing-function: ease-out;
}
.mode:hover img {
  transform: scale(1.025);
}
.mode small {
  color: var(--blue);
  font-size: 11px;
}
.mode.x10 small {
  color: var(--gold);
}
.mode h3 {
  font-size: clamp(44px, 4vw, 64px);
  letter-spacing: -0.03em;
}
.mode > .icon {
  margin-inline-start: auto;
  width: 20px;
  height: 20px;
}
.technology {
  border-top: 1px solid var(--line);
  padding-block: 50px;
  align-items: center;
}
.technology h2 {
  margin-top: 14px;
}
.technology p {
  max-width: 55ch;
}
.technology a {
  margin-top: 12px;
}
.closing {
  padding-block: 50px;
  background: linear-gradient(112deg, #151a20, #141211);
  border-block: 1px solid var(--line);
}
.closing .wrap {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
}
.closing h2 {
  margin-block: 12px;
}
.closing p {
  max-width: 66ch;
}
footer.wrap {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 25px;
  padding-block: 30px;
}
footer small {
  display: block;
  color: var(--muted);
  margin-top: 8px;
  font-size: 11px;
}
footer nav {
  display: flex;
  gap: 24px;
  color: var(--muted);
  font-size: 13px;
}
.inside {
  padding: 48px 0 70px;
  min-height: 75vh;
}
.pagehead {
  margin-bottom: 35px;
}
.pagehead h1 {
  font-size: clamp(54px, 6.6vw, 100px);
  line-height: 1.02;
  letter-spacing: -0.04em;
  margin: 13px 0;
}
.pagehead p {
  max-width: 62ch;
}
.inside h2 {
  margin-block: 22px 16px;
}
.inside h3 {
  margin: 6px 0;
}
.inside .sectionhead h2 {
  margin: 0;
}
.inside .risk {
  margin-top: 28px;
}
.catalog-item,
.study {
  padding: 26px 0;
  border-block: 1px solid var(--line);
}
.owned,
.empty {
  padding: 26px 0;
  border-bottom: 1px solid var(--line);
}
.detail-intro > div > h2:first-child,
.owned h2:first-child,
.empty h2:first-child {
  margin-top: 0;
}
.compare {
  margin: 18px 0 26px;
}
.compare p,
.measure,
.inside details p {
  color: var(--muted);
}
.compare p {
  max-width: 53ch;
}
.back {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  margin-bottom: 24px;
}
.detail-intro {
  align-items: center;
  margin: 16px 0 40px;
  gap: 5%;
}
.detail-art,
.authframe aside img {
  width: 100%;
  max-height: 320px;
  object-fit: contain;
  mask-image: linear-gradient(
    90deg,
    transparent,
    #000 8%,
    #000 92%,
    transparent
  );
}
.facts {
  margin-block: 16px;
}
.facts > div,
.lineitem,
.listlink {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
  border-bottom: 1px solid var(--line);
  padding: 14px 0;
}
.facts dt {
  color: var(--muted);
  min-width: 0;
}
.facts dd {
  margin: 0;
  min-width: 0;
  text-align: end;
  max-width: 65%;
  overflow-wrap: anywhere;
  font-variant-numeric: tabular-nums;
}
.lineitem > div {
  min-width: 0;
}
.lineitem > div:first-child {
  flex: 1;
}
.lineitem strong,
.lineitem b {
  font-variant-numeric: tabular-nums;
}
.lineitem small {
  display: block;
}
.secondary,
button.secondary:not(.plain) {
  background: transparent !important;
  border-color: #766d60 !important;
  color: var(--ink) !important;
}
.button.secondary:hover,
button.secondary:hover {
  background: #302b23 !important;
}
.listlink {
  transition-property: background-color, color;
  transition-duration: 150ms;
  transition-timing-function: ease-out;
}
.listlink:hover {
  background: #11151a;
}
.listlink small {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  color: var(--gold);
  text-align: right;
}
.prose {
  white-space: pre-line;
  max-width: 80ch;
  overflow-wrap: anywhere;
}
.inside details {
  padding: 15px 0;
  border-bottom: 1px solid var(--line);
}
summary {
  cursor: pointer;
}
details p,
details form {
  margin-top: 14px;
}
.inside summary {
  color: var(--gold);
  transition-property: color;
  transition-duration: 150ms;
  transition-timing-function: ease-out;
}
.inside summary:hover {
  color: var(--ink);
}
.inlineform,
.tabs {
  display: flex;
  gap: 18px;
  align-items: end;
  flex-wrap: wrap;
}
.inlineform {
  margin-bottom: 20px;
}
.inlineform label {
  max-width: 100%;
}
.chart {
  padding: 20px;
  background: #10171d;
  border-radius: 4px;
  box-shadow: var(--shadow-border);
  margin: 25px 0;
  color: var(--blue);
}
.chart svg {
  display: block;
  width: 100%;
  max-height: 220px;
}
.chart .chart-line,
.chart .chart-area {
  animation: chartReveal 550ms cubic-bezier(0.2, 0, 0, 1) both;
}
@keyframes chartReveal {
  from {
    clip-path: inset(0 100% 0 0);
  }
  to {
    clip-path: inset(0 0 0 0);
  }
}
.chart figcaption {
  font-size: 13px;
  color: var(--muted);
  margin-bottom: 16px;
}
.authframe {
  gap: 8%;
  align-items: start;
  max-width: 1100px;
  margin: auto;
}
.authframe aside img {
  max-width: 460px;
}
.formbox {
  padding: 24px 28px;
  background: var(--surface-raised);
  border: 0;
  border-radius: 4px;
  box-shadow: var(--shadow-border);
  max-width: 610px;
}
.formbox form,
.formbox,
.inside form:not(.inlineform):not(.tabs form) {
  display: grid;
  gap: 18px;
}
.formbox h2 {
  margin: 0;
}
.inside label {
  display: grid;
  gap: 6px;
  font-size: 14px;
}
.inside input,
.inside select,
.inside textarea {
  max-width: 100%;
  width: 100%;
  font-size: 16px;
  background: #0c0e11;
  color: var(--ink);
  border: 1px solid #555961;
  padding: 10px 12px;
  border-radius: 2px;
}
.inside input:not([type="checkbox"]),
.inside select {
  min-height: 46px;
}
.inside textarea {
  min-height: 96px;
  resize: vertical;
}
.inside fieldset {
  min-width: 0;
  margin: 0;
  padding: 10px 14px 15px;
  border: 1px solid var(--line);
}
.inside legend {
  color: var(--muted);
  font-size: 13px;
}
.inside .check {
  display: flex;
  align-items: baseline;
  gap: 10px;
  margin-top: 9px;
}
.inside .check input {
  width: auto;
  flex: none;
  accent-color: var(--gold);
}
.check a,
.formbox > a,
.formbox form > a,
.notice a {
  text-decoration: underline;
  text-underline-offset: 3px;
  text-decoration-thickness: from-font;
  text-decoration-skip-ink: auto;
}
.formbox > a,
.formbox form > a {
  font-size: 13px;
  color: var(--gold);
}
.secret {
  display: block;
  width: fit-content;
  padding: 16px;
  background: #202326;
  overflow-wrap: anywhere;
  margin: 16px 0;
}
.notice {
  padding: 14px;
  border-inline-start: 2px solid var(--gold);
  background: var(--surface-gold);
}
.tabs {
  margin: 0 0 24px;
  border-bottom: 1px solid var(--line);
  padding-bottom: 12px;
  align-items: center;
}
.tabs a {
  color: var(--muted);
  position: relative;
  padding-block: 4px;
}
.tabs a:hover {
  color: var(--gold);
}
.tabs a[aria-current] {
  color: var(--ink);
}
.tabs a[aria-current]::after {
  position: absolute;
  content: "";
  width: 15px;
  height: 1px;
  background: var(--gold);
  bottom: -2px;
  inset-inline-start: 0;
}
.tabs form {
  margin-inline-start: auto;
}
.plain {
  border: 0;
  background: transparent;
  color: var(--muted);
  padding: 8px;
  transition-property: color, scale;
  transition-duration: 150ms;
  transition-timing-function: ease-out;
}
.plain:hover {
  color: var(--ink);
}
.plain:active {
  scale: 0.96;
}
.empty p,
.measure {
  margin-bottom: 20px;
}
.owned details form + form {
  margin-top: 18px;
}
@media (max-width: 1000px) {
  .desktop,
  .barend {
    gap: 20px;
  }
  .bar {
    gap: 12px;
  }
  .hero-grid {
    grid-template-columns: 0.94fr 1.06fr;
  }
  .lead h1 {
    font-size: 8.3vw;
  }
  .actions {
    gap: 15px;
  }
  .result-grid {
    grid-template-columns: 0.8fr 1.3fr;
  }
  .metrics > div {
    padding: 0 12px;
  }
}
@media (max-width: 860px) {
  .desktop,
  .access {
    display: none;
  }
  .bar {
    min-height: 65px;
  }
  .barend {
    gap: 15px;
  }
  .mobile {
    display: block;
  }
  .mobile summary {
    display: grid;
    place-content: center;
    gap: 6px;
    min-width: 44px;
    min-height: 44px;
    padding: 10px;
    margin-inline-end: -10px;
    border-radius: 3px;
    list-style: none;
  }
  .mobile summary::-webkit-details-marker {
    display: none;
  }
  .mobile summary span {
    width: 20px;
    height: 1px;
    background: var(--ink);
    transition-property: transform;
    transition-duration: 150ms;
    transition-timing-function: ease-out;
  }
  .mobile[open] summary span:first-child {
    transform: translateY(3.5px) rotate(45deg);
  }
  .mobile[open] summary span:last-child {
    transform: translateY(-3.5px) rotate(-45deg);
  }
  .mobile nav {
    position: absolute;
    left: 0;
    right: 0;
    top: 100%;
    padding: 9px 5% 18px;
    background: #111418;
    box-shadow:
      0 12px 32px oklch(0 0 0 / 0.5),
      var(--shadow-border);
    display: grid;
  }
  .mobile nav a {
    padding: 12px 10px;
    border-radius: 3px;
    transition-property: background-color, color;
    transition-duration: 150ms;
    transition-timing-function: ease-out;
  }
  .mobile nav a:hover {
    background: #1a1e24;
  }
  .mobile nav a[aria-current] {
    color: var(--gold);
  }
}
@media (max-width: 780px) {
  .wrap {
    width: 90%;
  }
  .hero-grid {
    grid-template-columns: 1fr;
    padding: 38px 0 22px;
    gap: 12px;
  }
  .lead h1 {
    font-size: clamp(66px, 12vw, 92px);
    margin: 15px 0;
  }
  .lead p {
    max-width: 47ch;
  }
  .actions {
    margin-top: 21px;
  }
  .film {
    width: min(100%, 600px);
    justify-self: center;
  }
  .film figcaption {
    margin: 0 3%;
  }
  .screen video {
    max-height: 310px;
  }
  .result-grid,
  .technology {
    grid-template-columns: 1fr;
    gap: 22px;
  }
  .result-grid {
    padding-block: 28px;
  }
  .result-grid > div:first-child {
    display: grid;
    grid-template-columns: auto auto;
    align-items: end;
  }
  .result-grid .eyebrow {
    grid-column: 1/-1;
  }
  .result-grid h2 {
    margin: 9px 0 0;
  }
  .result-grid .textlink {
    justify-self: end;
  }
  .metrics {
    margin-block: 10px;
  }
  .metrics dd {
    font-size: 38px;
  }
  .section {
    padding-block: 44px;
  }
  .mode {
    min-height: 150px;
    padding: 16px;
  }
  .detail-intro,
  .authframe {
    grid-template-columns: 1fr;
  }
  .authframe aside img {
    display: none;
  }
  .inside {
    padding-block: 35px;
  }
  .closing .wrap,
  footer.wrap {
    align-items: start;
    flex-direction: column;
  }
  .start {
    min-height: 36px;
    padding: 6px 12px;
  }
  .start:has(.icon) {
    padding-inline: 12px 10px;
  }
  .inside .pagehead {
    margin-bottom: 24px;
  }
  .detail-art {
    max-height: 240px;
  }
}
@media (max-width: 520px) {
  .wordmark {
    gap: 6px;
  }
  .wordmark > span {
    font-size: 12px;
  }
  .wordmark img {
    width: 22px;
    height: 26px;
  }
  .wordmark img.wordmark-tc {
    width: auto;
    height: 29px;
  }
  .wordmark small {
    font-size: 6px;
  }
  .wordmark em {
    font-size: 19px;
  }
  .wordmark b {
    margin: 0 2px;
  }
  .barend {
    gap: 8px;
  }
  .hero-grid {
    padding-top: 30px;
  }
  .lead p {
    font-size: 15px;
  }
  .actions .button {
    font-size: 13px;
    padding: 10px 13px;
    gap: 10px;
  }
  .actions .button:has(.icon) {
    padding-inline: 13px 11px;
  }
  .textlink {
    font-size: 12px;
  }
  .film figcaption {
    gap: 7px;
    margin: 2px 0 0;
    font-size: 10px;
    letter-spacing: 0.1em;
  }
  .film figcaption > span:first-child {
    white-space: nowrap;
  }
  .result-grid > div:first-child {
    display: block;
  }
  .result-grid .textlink {
    margin-top: 8px;
  }
  .metrics dt {
    font-size: 11px;
  }
  .metrics dd {
    font-size: 34px;
  }
  .duo,
  .compare {
    grid-template-columns: 1fr;
  }
  .mode {
    min-height: 152px;
  }
  .sectionhead,
  .lineitem {
    flex-wrap: wrap;
  }
  .sectionhead {
    gap: 10px;
  }
  .formbox {
    padding: 18px;
  }
  .inside .facts > div {
    align-items: start;
    flex-wrap: wrap;
  }
  .facts dd {
    text-align: start;
    max-width: 100%;
  }
  .inlineform {
    display: grid;
    grid-template-columns: minmax(0, 1fr);
  }
  .inside .pagehead h1 {
    font-size: 54px;
  }
  .lineitem > div:first-child {
    min-width: 55%;
  }
  footer nav {
    gap: 15px;
    flex-wrap: wrap;
  }
  .sectionhead .textlink {
    margin-inline-start: auto;
  }
  .risk {
    font-size: 12px;
  }
}
@media (max-width: 420px) {
  .bar .start {
    display: none;
  }
  .metrics {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 16px 14px;
  }
  .metrics > div {
    padding: 0;
    padding-inline-start: 14px;
  }
  .metrics > div:nth-child(odd) {
    padding-inline-start: 0;
    border-inline-start: 0;
  }
}
@media (prefers-reduced-motion: reduce) {
  *,
  *:before,
  *:after {
    scroll-behavior: auto !important;
    transition: none !important;
    animation: none !important;
  }
}
@media (max-width: 370px) {
  .lead h1 {
    font-size: clamp(56px, 17.5vw, 65px);
  }
  .barend {
    margin-inline-start: auto;
  }
  .lead .actions {
    gap: 12px;
  }
  .result-grid h2 {
    font-size: 32px;
  }
}

/* PayGate V1 Checkout & Admin Ventas y Pagos */
.checkout-card {
  border: 1px solid var(--line);
  background: var(--surface);
  padding: 28px;
  border-radius: 4px;
}
.kpi-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 16px;
  margin-bottom: 28px;
}
.kpi-card {
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: 4px;
  padding: 18px 20px;
  display: grid;
  gap: 6px;
}
.kpi-card small {
  font-size: 11px;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--muted);
}
.kpi-card strong {
  font: 400 28px/1.1 var(--serif);
  color: var(--ink);
}
.kpi-card span {
  font-size: 12px;
  color: var(--muted);
}
.filter-bar {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  align-items: end;
  margin: 16px 0;
}
.data-table-wrap {
  width: 100%;
  overflow-x: auto;
  border: 1px solid var(--line);
  border-radius: 4px;
  background: var(--surface);
}
.data-table {
  width: 100%;
  border-collapse: collapse;
  font-size: 13px;
}
.data-table th,
.data-table td {
  padding: 12px 14px;
  text-align: left;
  border-bottom: 1px solid var(--line);
  vertical-align: top;
}
.data-table th {
  font-size: 11px;
  text-transform: uppercase;
  letter-spacing: 0.12em;
  color: var(--muted);
  background: var(--surface-raised);
}
.data-table a {
  color: var(--gold);
  text-decoration: underline;
}

/* ==========================================================================
   Resultados · pestañas, rendimiento histórico y comparativa de brókeres
   ========================================================================== */
.rs { --rs-gold-text: linear-gradient(180deg, #f6e8cb 0%, #dcc297 52%, #b8975f 100%); }
.rs-vh { position: absolute; width: 1px; height: 1px; margin: -1px; padding: 0; overflow: hidden; clip-path: inset(50%); white-space: nowrap; border: 0; }
.rs h2, .rs h3 { font-family: var(--serif); font-weight: 400; margin: 0; letter-spacing: -0.02em; }
:where(.rs) :is(dl, dd, p) { margin: 0; }

.rs-tabs { display: inline-flex; gap: 4px; padding: 4px; margin-bottom: clamp(20px, 3vw, 34px); border-radius: 999px; background: var(--surface); box-shadow: var(--shadow-border); max-width: 100%; }
.rs-tabs a { display: inline-flex; align-items: center; justify-content: center; min-height: 44px; padding: 0 clamp(14px, 2.4vw, 26px); border-radius: 999px; color: var(--muted); font-size: 14px; font-weight: 500; text-align: center; transition: color 160ms ease-out, background-color 160ms ease-out; }
.rs-tabs a:hover { color: var(--ink); }
.rs-tabs a[aria-selected="true"] { color: #17130b; background: var(--gold); font-weight: 600; }
.rs-tabs a:focus-visible { outline-offset: 2px; }

.rs-head { display: grid; gap: 8px; margin-bottom: clamp(18px, 2.4vw, 26px); }
.rs-head h2 { font-size: clamp(38px, 5.4vw, 72px); line-height: 1.02; }
.rs-head h2 em { color: var(--gold); }
.rs-head p { max-width: 58ch; color: var(--muted); font-size: clamp(15px, 1.2vw, 17px); font-style: italic; }

.rs-filters { display: flex; flex-wrap: wrap; gap: 16px 36px; padding: 16px 20px; margin-bottom: 16px; border-radius: 6px; background: var(--surface-raised); box-shadow: var(--shadow-border); }
.rs-filters:empty { display: none; }
.rs-filter { display: grid; gap: 8px; min-width: 0; }
.rs-label, .rs-kicker { color: var(--muted); font-size: 11px; font-weight: 600; letter-spacing: 0.14em; text-transform: uppercase; }
.rs-chips { display: flex; flex-wrap: wrap; gap: 8px; }
.rs-chip { display: inline-flex; align-items: center; min-height: 40px; padding: 0 16px; border-radius: 999px; font-size: 14px; font-weight: 500; color: var(--ink); background: transparent; box-shadow: 0 0 0 1px var(--line); transition: color 150ms ease-out, background-color 150ms ease-out, box-shadow 150ms ease-out; }
.rs-chip:hover { color: var(--gold); box-shadow: 0 0 0 1px var(--gold); }
.rs-chip[aria-current="true"] { color: #17130b; background: var(--gold); box-shadow: none; font-weight: 600; cursor: default; }
.rs-chip-static { color: var(--gold); box-shadow: 0 0 0 1px color-mix(in srgb, var(--gold) 45%, transparent); background: color-mix(in srgb, var(--gold) 8%, transparent); cursor: default; }
.rs-chip-static:hover { color: var(--gold); box-shadow: 0 0 0 1px color-mix(in srgb, var(--gold) 45%, transparent); }
.rs-chip:focus-visible { outline-offset: 3px; }

.rs-body { position: relative; transition: opacity 160ms ease-out; }
.rs-body[aria-busy="true"] { opacity: 0.58; pointer-events: none; }
.rs-body[aria-busy="true"]::before { content: ""; position: absolute; inset: 0 0 auto 0; height: 2px; border-radius: 2px; background: linear-gradient(90deg, transparent, var(--gold), transparent); z-index: 2; }

.rs-result { padding: clamp(18px, 3vw, 36px); border-radius: 6px; background: linear-gradient(180deg, var(--surface-raised), var(--surface)); box-shadow: var(--shadow-border); }
.rs-result-head { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 8px 20px; }
.rs-result-head h3 { font-size: clamp(22px, 2.4vw, 30px); }
.rs-result-head p { color: var(--muted); font-size: 14px; margin-top: 2px; }
.rs-badge { display: inline-flex; align-items: center; min-height: 28px; padding: 0 12px; border-radius: 999px; font-size: 12px; font-weight: 600; color: var(--muted); box-shadow: 0 0 0 1px var(--line); }
.rs-badge-gold { color: var(--gold); box-shadow: 0 0 0 1px color-mix(in srgb, var(--gold) 55%, transparent); }

.rs-hero { display: grid; grid-template-columns: minmax(0, 1.55fr) minmax(0, 1fr); gap: clamp(16px, 3vw, 48px); align-items: end; margin-block: clamp(14px, 2.4vw, 28px) clamp(14px, 2vw, 22px); }
.rs-return { display: grid; gap: 2px; min-width: 0; }
.rs-return-value { display: block; font: 400 clamp(68px, 12.5vw, 176px)/0.95 var(--serif); letter-spacing: -0.04em; font-variant-numeric: lining-nums; color: var(--gold); background: var(--rs-gold-text); -webkit-background-clip: text; background-clip: text; -webkit-text-fill-color: transparent; padding-bottom: 0.06em; white-space: nowrap; }
.rs-return-value small { font-size: 0.42em; letter-spacing: 0; }
.rs-sub { color: var(--muted); font-size: 14px; }
.rs-side { display: grid; gap: 0; }
.rs-side > div { display: flex; flex-direction: column-reverse; padding-block: 14px; border-top: 1px solid var(--line); }
.rs-side > div:first-child { border-top: 0; padding-top: 0; }
.rs-side dt { color: var(--muted); font-size: 12px; margin-top: 2px; }
.rs-side dd { font: 400 clamp(32px, 4.2vw, 56px)/1.05 var(--serif); letter-spacing: -0.02em; font-variant-numeric: lining-nums; white-space: nowrap; }

.rs-chartcard { margin: 0; padding: clamp(14px, 2vw, 22px); border-radius: 6px; background: #0b0d10; box-shadow: var(--shadow-border); }
.rs-chart-head { display: flex; flex-wrap: wrap; align-items: baseline; justify-content: space-between; gap: 8px 24px; margin-bottom: 14px; }
.rs-chart-title { font: 400 20px/1.2 var(--serif); }
.rs-readout { display: flex; flex-wrap: wrap; gap: 6px 26px; }
.rs-readout > div { display: flex; flex-direction: column-reverse; min-width: 0; }
.rs-readout dt { color: var(--muted); font-size: 11px; letter-spacing: 0.08em; text-transform: uppercase; }
.rs-readout dd { font-size: 15px; font-weight: 600; font-variant-numeric: tabular-nums; white-space: nowrap; }
.rs-readout [data-r="ret"] { color: var(--gold); }
.rs-chart-body { display: grid; grid-template-columns: auto minmax(0, 1fr); gap: 10px; }
.rs-yaxis { display: flex; flex-direction: column; justify-content: space-between; margin-block: -8px; color: var(--muted); font-size: 11px; font-variant-numeric: tabular-nums; text-align: right; line-height: 16px; }
.rs-plot { position: relative; height: clamp(220px, 32vw, 380px); touch-action: pan-y; cursor: crosshair; border-radius: 2px; }
.rs-plot:focus-visible { outline-offset: 6px; }
.rs-plot svg { display: block; width: 100%; height: 100%; overflow: visible; color: var(--gold); }
.rs-plot path { vector-effect: non-scaling-stroke; }
.rs-grid { fill: none; stroke: #ffffff; stroke-opacity: 0.08; stroke-width: 1; }
.rs-base { fill: none; stroke: var(--muted); stroke-opacity: 0.6; stroke-width: 1; stroke-dasharray: 4 5; }
.rs-line { fill: none; stroke: var(--gold); stroke-width: 2.4; stroke-linejoin: round; stroke-linecap: round; }
.rs-cross { position: absolute; top: 0; bottom: 0; width: 1px; background: color-mix(in srgb, var(--gold) 55%, transparent); pointer-events: none; }
.rs-dot { position: absolute; width: 12px; height: 12px; margin: -6px 0 0 -6px; border-radius: 50%; background: var(--gold); box-shadow: 0 0 0 5px color-mix(in srgb, var(--gold) 24%, transparent); pointer-events: none; }
.rs-tip { position: absolute; z-index: 2; display: grid; gap: 2px; padding: 8px 12px; border-radius: 6px; background: rgba(11, 13, 16, 0.94); box-shadow: 0 8px 24px rgba(0, 0, 0, 0.55), 0 0 0 1px color-mix(in srgb, var(--gold) 40%, transparent); transform: translate(-50%, calc(-100% - 14px)); white-space: nowrap; pointer-events: none; font-size: 12px; line-height: 1.3; }
.rs-tip.rs-tip-below { transform: translate(-50%, 14px); }
.rs-tip-date { color: var(--muted); font-size: 11px; }
.rs-tip strong { color: var(--ink); font-size: 14px; font-variant-numeric: tabular-nums; }
.rs-tip-ret { color: var(--gold); font-weight: 600; font-variant-numeric: tabular-nums; }
.rs-cross[hidden], .rs-dot[hidden], .rs-tip[hidden] { display: none !important; }
.rs-xaxis { display: flex; justify-content: space-between; gap: 12px; margin: 14px 0 0 0; padding-inline-start: 0; color: var(--muted); font-size: 12px; }
.rs-xaxis span:nth-child(2) { text-align: center; opacity: 0.75; }

.rs-summary-bar { display: grid; gap: 14px; padding: clamp(16px, 2.2vw, 24px); border-radius: 6px; background: #0b0d10; box-shadow: var(--shadow-border); }
.rs-summary-row { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 10px 20px; }
.rs-summary-row > div { display: grid; gap: 2px; }
.rs-summary-row strong { font: 400 clamp(22px, 2.4vw, 30px)/1.1 var(--serif); font-variant-numeric: lining-nums; }
.rs-summary-end { text-align: right; }
.rs-summary-final { color: var(--gold); }
.rs-summary-arrow { color: var(--muted); font-size: 18px; }
.rs-progress-wrap { position: relative; display: flex; align-items: center; }
.rs-progress-wrap .rs-bar { margin-top: 0; }
.rs-progress-dot { position: absolute; top: 50%; width: 11px; height: 11px; margin: -5.5px 0 0 -5.5px; border-radius: 50%; background: #f6e8cb; box-shadow: 0 0 0 4px color-mix(in srgb, var(--gold) 28%, transparent), 0 0 14px color-mix(in srgb, var(--gold) 65%, transparent); pointer-events: none; }
.rs-progress-dot[hidden] { display: none !important; }
.rs-summary-foot { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 6px 16px; color: var(--muted); font-size: 12px; }
.rs-live-pill { display: inline-flex; align-items: center; gap: 8px; color: var(--ink); font-weight: 500; }
.rs-live-pill i { width: 7px; height: 7px; border-radius: 50%; background: var(--gold); box-shadow: 0 0 0 3px color-mix(in srgb, var(--gold) 24%, transparent); }

.rs-meta { display: flex; flex-wrap: wrap; gap: 8px 0; margin-top: 18px; color: var(--muted); font-size: 13px; }
.rs-meta > div { display: flex; flex-direction: column; gap: 1px; padding-inline: 18px; border-inline-start: 1px solid var(--line); }
.rs-meta > div:first-child { padding-inline-start: 0; border: 0; }
.rs-meta dt { font-size: 11px; letter-spacing: 0.08em; text-transform: uppercase; }
.rs-meta dd { color: var(--ink); font-size: 14px; }

.rs-details { margin-top: 18px; border-top: 1px solid var(--line); }
.rs-details > summary { display: flex; align-items: center; justify-content: space-between; min-height: 48px; cursor: pointer; list-style: none; font-size: 14px; font-weight: 500; color: var(--ink); }
.rs-details > summary::-webkit-details-marker { display: none; }
.rs-details > summary::after { content: ""; width: 8px; height: 8px; margin-inline-end: 4px; border-right: 1.5px solid var(--gold); border-bottom: 1.5px solid var(--gold); transform: rotate(45deg); transition: transform 180ms ease-out; }
.rs-details[open] > summary::after { transform: rotate(-135deg); }
.rs-details > summary:hover { color: var(--gold); }
.rs-facts { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 220px), 1fr)); gap: 0 32px; padding-bottom: 8px; }
.rs-facts > div { display: flex; justify-content: space-between; gap: 16px; padding-block: 10px; border-top: 1px solid var(--line); font-size: 14px; }
.rs-facts dt { color: var(--muted); }
.rs-facts dd { text-align: right; font-variant-numeric: tabular-nums; }
.rs-note { margin-top: 14px; color: var(--muted); font-size: 12px; max-width: 78ch; }
.rs-method-block { margin-top: 18px; }
.rs-method ul { margin: 0; padding: 0 0 12px 18px; display: grid; gap: 8px; color: var(--muted); font-size: 14px; max-width: 78ch; }

.rs-state, .rs-state-inline { padding: clamp(22px, 4vw, 44px); border-radius: 6px; background: var(--surface-raised); box-shadow: var(--shadow-border); color: var(--muted); }
.rs-state { display: grid; justify-items: start; gap: 10px; }
.rs-state h3 { font-size: 26px; color: var(--ink); }
.rs-inline-error { margin-bottom: 16px; }
.rs-state-inline { padding: 22px; font-size: 14px; }

/* Comparativa */
.rs-context { display: flex; flex-wrap: wrap; gap: 8px 0; margin-bottom: 16px; padding: 14px 20px; border-radius: 6px; background: var(--surface-raised); box-shadow: var(--shadow-border); }
.rs-context > div { display: flex; flex-direction: column; gap: 1px; padding-inline: 20px; border-inline-start: 1px solid var(--line); }
.rs-context > div:first-child { padding-inline-start: 0; border: 0; }
.rs-context dt { color: var(--muted); font-size: 11px; letter-spacing: 0.08em; text-transform: uppercase; }
.rs-context dd { font-size: 15px; font-weight: 500; }

.rs-versus { display: grid; grid-template-columns: minmax(0, 1fr) auto minmax(0, 1fr); gap: clamp(10px, 2vw, 22px); align-items: stretch; }
.rs-versus:has(> .rs-broker:only-child), .rs-versus:not(:has(.rs-vs)) { grid-template-columns: repeat(auto-fit, minmax(min(100%, 300px), 1fr)); }
.rs-vs { align-self: center; display: grid; place-items: center; width: 46px; height: 46px; border-radius: 50%; font: 400 17px/1 var(--serif); letter-spacing: 0.06em; color: var(--gold); background: var(--bg); box-shadow: 0 0 0 1px color-mix(in srgb, var(--gold) 45%, transparent); }
.rs-broker { display: flex; flex-direction: column; gap: 18px; padding: clamp(18px, 3vw, 34px); border-radius: 6px; background: linear-gradient(180deg, var(--surface-raised), var(--surface)); box-shadow: var(--shadow-border); }
.rs-broker[data-leader] { box-shadow: 0 0 0 1px color-mix(in srgb, var(--gold) 50%, transparent), 0 24px 60px -34px color-mix(in srgb, var(--gold) 40%, transparent); }
.rs-broker > header { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 8px; min-height: 30px; }
.rs-broker h3 { font-size: clamp(24px, 2.6vw, 34px); }
.rs-broker-main { display: grid; gap: 4px; }
.rs-broker-value { display: block; font: 400 clamp(52px, 7vw, 100px)/1 var(--serif); letter-spacing: -0.035em; font-variant-numeric: lining-nums; color: var(--gold); background: var(--rs-gold-text); -webkit-background-clip: text; background-clip: text; -webkit-text-fill-color: transparent; padding-bottom: 0.06em; white-space: nowrap; }
.rs-broker-value small { font-size: 0.45em; letter-spacing: 0; }
.rs-bar { appearance: none; -webkit-appearance: none; width: 100%; height: 8px; margin-top: 6px; border: 0; border-radius: 999px; overflow: hidden; background: #1b1e22; color: var(--gold); }
.rs-bar::-webkit-progress-bar { background: #1b1e22; border-radius: 999px; }
.rs-bar::-webkit-progress-value { background: linear-gradient(90deg, #b8975f, #f0dcb2); border-radius: 999px; }
.rs-bar::-moz-progress-bar { background: linear-gradient(90deg, #b8975f, #f0dcb2); border-radius: 999px; }
.rs-broker-dd { display: flex; align-items: baseline; justify-content: space-between; gap: 12px; margin-top: auto; padding-top: 16px; border-top: 1px solid var(--line); }
.rs-broker-dd > div { display: flex; flex-direction: column-reverse; }
.rs-broker-dd dt { color: var(--muted); font-size: 12px; }
.rs-broker-dd dd { font: 400 clamp(24px, 2.6vw, 34px)/1.1 var(--serif); font-variant-numeric: lining-nums; }

.rs-gap { display: flex; flex-wrap: wrap; align-items: center; justify-content: center; gap: 8px 28px; margin-top: 16px; padding: clamp(16px, 2.6vw, 28px); border-radius: 6px; text-align: left; background: var(--surface-gold); box-shadow: 0 0 0 1px color-mix(in srgb, var(--gold) 28%, transparent); }
.rs-gap-value { font: 400 clamp(44px, 6vw, 80px)/1 var(--serif); letter-spacing: -0.03em; color: var(--gold); white-space: nowrap; }
.rs-gap-value small { font-size: 0.4em; letter-spacing: 0; }
.rs-gap p { max-width: 52ch; font-size: 15px; }

.rs-table-wrap { overflow-x: auto; padding-bottom: 8px; }
.rs-table { width: 100%; min-width: 420px; border-collapse: collapse; font-size: 14px; }
.rs-table th, .rs-table td { padding: 11px 12px 11px 0; text-align: left; border-top: 1px solid var(--line); font-variant-numeric: tabular-nums; }
.rs-table thead th { border-top: 0; color: var(--muted); font-size: 12px; font-weight: 600; }
.rs-table tbody th { font-weight: 400; color: var(--muted); }

@media (prefers-reduced-motion: no-preference) {
  .rs-enter, .rs-swap > * { animation: rsIn 420ms cubic-bezier(0.2, 0.7, 0.1, 1) both; }
  .rs-swap > :nth-child(2) { animation-delay: 60ms; }
  .rs-line, .rs-area { animation: chartReveal 700ms cubic-bezier(0.2, 0, 0, 1) both; }
  .rs-body[aria-busy="true"]::before { animation: rsBusy 1.1s ease-in-out infinite; }
  .rs-progress-dot, .rs-live-pill i { animation: rsPulse 2.4s ease-in-out infinite; }
}
@keyframes rsIn { from { opacity: 0; transform: translateY(8px); } to { opacity: 1; transform: none; } }
@keyframes rsBusy { 0% { opacity: 0.3; transform: scaleX(0.35); } 50% { opacity: 1; transform: scaleX(1); } 100% { opacity: 0.3; transform: scaleX(0.35); } }
@keyframes rsPulse { 0%, 100% { box-shadow: 0 0 0 3px color-mix(in srgb, var(--gold) 24%, transparent); } 50% { box-shadow: 0 0 0 6px color-mix(in srgb, var(--gold) 40%, transparent); } }

@media (max-width: 820px) {
  .rs-hero { grid-template-columns: 1fr; align-items: start; }
  .rs-side { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 0 20px; border-top: 1px solid var(--line); padding-top: 14px; }
  .rs-side > div, .rs-side > div:first-child { border: 0; padding-block: 0; }
  .rs-versus { grid-template-columns: 1fr; }
  .rs-vs { justify-self: center; margin-block: -6px; position: relative; z-index: 1; }
}
@media (max-width: 560px) {
  .rs-tabs { display: grid; grid-template-columns: 1fr 1fr; width: 100%; }
  .rs-tabs a { padding-inline: 8px; font-size: 13px; }
  .rs-filters { padding: 14px; gap: 14px; }
  .rs-chart-body { gap: 6px; }
  .rs-yaxis { font-size: 10px; }
  .rs-xaxis span:nth-child(2) { display: none; }
  .rs-meta > div { padding-inline: 0 14px; border: 0; width: 50%; }
  .rs-meta > div:nth-child(even) { padding-inline: 14px 0; }
  .rs-context > div { border: 0; width: 100%; padding-inline: 0; padding-block: 6px; }
  .rs-gap { text-align: center; }
  .rs-summary-end { text-align: left; }
  .rs-table { min-width: 0; font-size: 13px; }
  .rs-table th, .rs-table td { padding: 10px 8px 10px 0; }
}

/* Installation guide */
.install-guide { max-width: 820px; line-height: 1.75; }
.install-nav { display: flex; flex-wrap: wrap; gap: 12px 24px; padding: 20px 0; border-block: 1px solid var(--line); }
.install-guide section { padding: 36px 0; border-bottom: 1px solid var(--line); scroll-margin-top: 90px; }
.install-guide h2 { margin-top: 0; }
.install-guide li { margin-bottom: 16px; padding-left: 5px; }
.install-guide code { overflow-wrap: anywhere; }
