*, *::before, *::after { box-sizing: border-box; }
html { color-scheme: dark; }
@media (prefers-reduced-motion: no-preference) {
  html { scroll-behavior: smooth; }
}
body { margin: 0; background: #070b11; color: #f8f6f1; font-family: "Afacad Flux", Arial, sans-serif; }
:is(h1, h2, h3, h4), .trade-example h3 em { letter-spacing: -0.029em; }
button, a { font: inherit; color: inherit; }
button { border: 0; background: none; }
a { text-decoration: none; }
.container { width: min(100% - 2rem, 1180px); margin-inline: auto; }
.redesign-header { position: absolute; inset: 0 0 auto; z-index: 2; }
.redesign-nav { display: grid; grid-template-columns: 1fr auto 1fr; align-items: center; min-height: 60px; }
.redesign-nav > a:first-child { justify-self: start; }
.redesign-nav img { display: block; width: clamp(132px, 15vw, 162px); height: auto; filter: brightness(0) invert(1); }
.redesign-section-links { display: flex; gap: clamp(22px, 3.4vw, 44px); color: #e5e2e8; font-size: .95rem; font-weight: 650; text-shadow: 0 1px 5px #070b11; }
.redesign-login { justify-self: end; font-weight: 700; padding: 8px 13px; border: 1px solid #9e9aa46e; background: #070b11a8; }
.reny-wins h2 { margin: 0; }
.reny-win { cursor: pointer; }
.reny-avatar { position: relative; display: grid; place-items: center; border-radius: 50%; border: 1px solid #ffffff69; overflow: hidden; font-size: .7rem; }
.reny-avatar img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.redesign-dialog { width: min(31rem, calc(100% - 2rem)); max-height: calc(100dvh - 2rem); padding: 1.6rem; color: #f8f6f1; background: #131a25; border: 1px solid #738399; border-radius: 12px; }
.redesign-dialog::backdrop { background: #05080bd9; }
.redesign-dialog h2 { margin: .55rem 0; font-size: 1.7rem; line-height: 1; }
.redesign-dialog form { float: right; }
.redesign-close { display: grid; place-items: center; width: 44px; height: 44px; color: inherit; border: 1px solid #738399; border-radius: 50%; cursor: pointer; font-size: 1.5rem; }
.redesign-dialog li + li { margin-top: .45rem; }

.reny-hero {
  --acid: #deff00;
  position: relative;
  isolation: isolate;
  overflow: hidden;
  color: #f8f6f1;
  background: #070b11;
}
.reny-art, .reny-hero::after {
  position: absolute;
  inset: 0;
  z-index: -1;
  pointer-events: none;
}
.reny-art img, .reny-video {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: right center;
}
.reny-video {
  position: absolute;
  inset: 0;
  opacity: 0;
  transition: opacity .18s ease;
}
.reny-video.is-playing { opacity: 1; }
.reny-hero::after {
  content: "";
  background: linear-gradient(90deg, #070b11 0%, #070b11eb 22%, #070b1157 57%, transparent 78%),
    linear-gradient(0deg, #070b11 0%, transparent 24%);
}
.reny-inner {
  min-height: 100svh;
  padding-top: clamp(105px, 16vh, 165px);
  padding-bottom: 48px;
}
.reny-hero h1 {
  font: italic 850 clamp(3.4rem, 6.5vw, 6.25rem)/.87 "Afacad Flux", Arial, sans-serif;
  margin: 0;
}
.reny-title-mask {
  display: block;
  padding: .09em .1em .2em;
  margin: -.09em -.1em -.2em;
}
.reny-title-line { display: block; }
.reny-title-accent {
  display: inline-block;
  padding: .12em .14em .12em 0;
  margin: -.12em -.14em -.12em 0;
  color: var(--acid);
  filter: drop-shadow(0 0 12px #deff0033);
}

@media (prefers-reduced-motion: no-preference) {
  .reny-title-mask { animation: reny-title-unmask 0s 630ms both; }
  .reny-title-line { animation: reny-title-rise 470ms cubic-bezier(.18,.76,.21,1) 90ms backwards; }
  .reny-title-mask + .reny-title-mask .reny-title-line {
    animation-duration: 390ms;
    animation-delay: 240ms;
  }
  .reny-title-accent {
    background: linear-gradient(111deg, var(--acid) 45%, #faffbc 50%, var(--acid) 55%) 100% 0 / 235% 100%;
    background-clip: text;
    color: transparent;
    animation: reny-title-glint 440ms ease-out 470ms forwards;
  }
  .reny-intro, .reny-actions, .reny-hero .hero-broker-trust, .reny-wins-heading {
    animation: reny-details-rise 360ms cubic-bezier(.2,.75,.2,1) backwards;
  }
  .reny-intro { animation-delay: 370ms; }
  .reny-actions { animation-delay: 450ms; }
  .reny-actions:focus-within { animation: none; }
  .reny-hero .hero-broker-trust { animation-delay: 510ms; }
  .reny-wins-heading { animation-delay: 580ms; }
}
@keyframes reny-title-unmask {
  from { overflow: hidden; }
  to { overflow: visible; }
}
@keyframes reny-title-rise {
  from { transform: translateY(108%); }
  to { transform: translateY(0); }
}
@keyframes reny-title-glint {
  to { background-position: 0 0; }
}
@keyframes reny-details-rise {
  from { opacity: 0; transform: translateY(10px); }
  to { opacity: 1; transform: translateY(0); }
}
.reny-hero .hero-broker-trust { align-items: flex-start; margin-top: 1rem; gap: .4rem; }
.reny-hero .hero-broker-trust__label { color: #c6d6da; }
.reny-hero .hero-broker-trust__list { padding-left: 0; }
.reny-hero .hero-broker { color: #e6f2f2; }
.reny-intro {
  font-size: clamp(1.05rem, 2vw, 1.42rem);
  color: #dedbea;
  margin: 1.15rem 0 0;
}
.reny-actions { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 1.35rem; }
.reny-trial, .reny-walkthrough {
  position: relative;
  isolation: isolate;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: .7em;
  min-height: 49px;
  padding: .66em 1.14em;
  font-size: .98rem;
  font-weight: 760;
  text-decoration: none;
  transition: transform .18s ease;
}
.reny-trial {
  color: #111500;
  filter: drop-shadow(0 6px 13px #dfff003b);
}
@media (hover: hover) {
  .reny-trial:hover { transform: scale(1.045); }
}
.reny-walkthrough { color: #eef3f7; }
.reny-trial::before, .reny-walkthrough::before, .reny-walkthrough::after {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -1;
  clip-path: polygon(11px 0,100% 0,100% calc(100% - 11px),calc(100% - 11px) 100%,0 100%,0 11px);
}
.reny-trial::before { background: linear-gradient(180deg, #edff4f, var(--acid) 45%, #dcfc00 92%, #869b00 92%); }
.reny-walkthrough::before { background: #98aab1; }
.reny-walkthrough::after { inset: 1px; background: #0c141c; }
.reny-walkthrough:hover { transform: translateY(-2px); }
.reny-hero :is(a,button):focus-visible { outline: 2px solid var(--acid); outline-offset: 4px; }
.reny-wins { width: min(100%, 565px); margin-top: clamp(1.7rem, 4vh, 3rem); }
.reny-wins h2 { font-size: clamp(1.32rem, 2.6vw, 1.87rem); line-height: 1; font-weight: 810; }
.reny-meta, .reny-note { color: #d0ced6; font-size: .88rem; margin-top: .42rem; }
.reny-meta time::before { content: "·"; display: inline-block; padding: 0 .55em; }
.reny-note { font-size: .75rem; margin-top: .85rem; }
.reny-wins-grid:not([hidden]) {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: clamp(7px, 1.3vw, 17px);
  list-style: none;
  padding: 0;
  margin: 1rem 0 0;
  perspective: 730px;
  perspective-origin: 64% -35%;
}
.reny-wins-grid li {
  --edge: #f8c96d;
  --glass: #4c3418;
  --tilt: -13deg;
  --slant: -3deg;
  --lift: 0px;
  --delay: 30ms;
  min-width: 0;
  transform-style: preserve-3d;
  transform: translate3d(0,var(--lift),0) rotateX(0deg) rotateY(var(--tilt)) rotateZ(var(--slant));
  animation: reny-arrival 1.08s calc(var(--wins-reveal-hold, 0ms) + var(--delay)) both;
}
.reny-wins-grid li:nth-child(2) { --edge: #6affe7; --glass: #16444c; --tilt: -8deg; --slant: -1deg; --lift: 6px; --delay: 270ms; }
.reny-wins-grid li:nth-child(3) { --edge: #e2adff; --glass: #3c2b57; --tilt: -4deg; --slant: 1deg; --lift: 12px; --delay: 510ms; }
.reny-wins-grid li::before {
  content: "";
  position: absolute;
  inset: -1px;
  border-radius: 11px;
  transform: translateZ(-18px);
  box-shadow: 0 3px 22px color-mix(in srgb, var(--edge), transparent 64%);
  pointer-events: none;
}
@keyframes reny-arrival {
  0% {
    opacity: 0;
    transform: translate3d(240px, -96px, -1450px) rotateX(23deg) rotateY(-69deg) rotateZ(-16deg);
    animation-timing-function: cubic-bezier(.36,.1,.78,.56);
  }
  30% { opacity: .95; }
  68% {
    opacity: 1;
    transform: translate3d(-5px,calc(var(--lift) + 3px),44px) rotateX(-5deg) rotateY(calc(var(--tilt) + 9deg)) rotateZ(var(--slant));
    animation-timing-function: cubic-bezier(.14,.79,.32,1);
  }
  100% { opacity: 1; transform: translate3d(0,var(--lift),0) rotateX(0deg) rotateY(var(--tilt)) rotateZ(var(--slant)); }
}
.reny-win {
  position: relative;
  transform-style: preserve-3d;
  width: 100%;
  min-height: 145px;
  height: 100%;
  padding: 11px;
  display: grid;
  grid-template-columns: 33px minmax(0,1fr);
  align-items: center;
  gap: 3px 6px;
  text-align: left;
  transition: transform .2s ease;
}
.reny-win::before, .reny-win::after, .reny-win-depth, .reny-win-light {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -1;
  clip-path: polygon(11px 0,calc(100% - 8px) 0,100% 8px,100% calc(100% - 11px),calc(100% - 11px) 100%,0 100%,0 11px);
}
.reny-win-depth, .reny-win-light { pointer-events: none; }
.reny-win-depth {
  transform: translate3d(3px, 4px, -12px);
  background: linear-gradient(148deg, var(--edge), #181924 40%, color-mix(in srgb,var(--edge),#0c1020 50%));
}
.reny-win-light {
  z-index: 1;
  background: linear-gradient(117deg, transparent 19%, #ffffff08 32%, #efffff37 47%, transparent 58%);
  background-size: 215% 100%;
  opacity: 0;
  animation: reny-card-light .52s linear calc(var(--wins-reveal-hold, 0ms) + var(--delay) + .60s) both;
}
@keyframes reny-card-light {
  0% { background-position: 100% 0; opacity: 0; }
  35% { opacity: .95; }
  100% { background-position: 0 0; opacity: 0; }
}
.reny-win::before {
  background: linear-gradient(140deg, #fff6df 2%, var(--edge) 19%, #363548 60%, var(--edge) 95%);
}
.reny-win::after {
  inset: 2px 2px 4px;
  background: radial-gradient(ellipse at 0 0, color-mix(in srgb, var(--edge), transparent 56%), transparent 63%),
    linear-gradient(128deg, var(--glass), #0d1020 88%);
}
.reny-win:is(:hover, :focus-visible) {
  transform: translateY(-5px) scale(1.025);
}
.reny-rank { color: var(--edge); font-size: 1.32rem; font-weight: 850; }
.direction-icon {
  position: relative;
  display: inline-block;
  width: 1em;
  height: 1em;
  flex: none;
  vertical-align: middle;
}
.direction-icon::before,
.direction-icon::after {
  position: absolute;
  top: 50%;
  content: "";
}
.direction-icon::before {
  left: .13em;
  right: .17em;
  border-top: 1.5px solid currentColor;
  transform: translateY(-50%);
}
.direction-icon::after {
  right: .18em;
  width: .38em;
  height: .38em;
  border-top: 1.5px solid currentColor;
  border-right: 1.5px solid currentColor;
  transform: translateY(-50%) rotate(45deg);
}
.direction-icon--left { transform: rotate(180deg); }
.direction-icon--diagonal { transform: rotate(-45deg); }
.reny-expand { justify-self: end; color: var(--edge); }
.reny-win .reny-avatar { grid-row: span 2; width: 34px; height: 34px; }
.reny-name { font-size: .8rem; font-weight: 680; overflow-wrap: anywhere; }
.reny-gain { font-size: clamp(1rem, 2.25vw, 1.56rem); font-weight: 850; line-height: 1; white-space: nowrap; }
.reny-ticker { grid-column: 1 / -1; color: #e5dfff; font-size: .75rem; }

.redesign-footer {
  padding-block: clamp(36px, 5vw, 60px);
  border-top: 1px solid #273139;
  color: #b6c3cc;
  font-size: .95rem;
}
.redesign-footer-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.45fr) repeat(3, minmax(0, 1fr));
  gap: clamp(24px, 4vw, 52px);
}
.redesign-footer-brand img {
  display: block;
  width: 162px;
  max-width: 100%;
  height: auto;
  filter: brightness(0) invert(1);
}
.redesign-footer-brand p { max-width: 28ch; margin: 14px 0 8px; }
.redesign-footer-social { display: flex; flex-wrap: wrap; gap: 6px; }
.redesign-footer-social a { display: grid; place-items: center; width: 44px; height: 44px; }
.redesign-footer h2 { margin: 0 0 12px; color: #f8f6f1; font-size: 1.05rem; font-weight: 750; }
.redesign-footer ul { display: grid; gap: 8px; margin: 0; padding: 0; list-style: none; }
.redesign-footer a:hover { color: #f8f6f1; text-decoration: underline; text-underline-offset: .2em; }
.redesign-footer a:focus-visible { outline: 2px solid #deff00; outline-offset: 3px; }
.redesign-footer-legal {
  margin-top: clamp(24px, 4vw, 48px);
  padding-top: 18px;
  border-top: 1px solid #273139;
  font-size: .85rem;
  line-height: 1.45;
}
.redesign-footer-legal p { max-width: 80ch; margin: 0; }
.redesign-footer-legal p + p { margin-top: 9px; }

.walkthrough-sheet {
  --acid: #deff00;
  padding: 1.6rem;
}
section.walkthrough-sheet { width: min(100% - 2rem, 31rem); margin: 0 auto 24px; }
.walkthrough-sheet h2 { margin: .55rem 0; font-size: 1.8rem; line-height: 1; }
.walkthrough-sheet form { position: absolute; top: 1rem; right: 1rem; float: none; }
.walkthrough-sheet form + h2 { padding-right: 42px; font-size: clamp(1.5rem, 6.5vw, 1.8rem); }
.walkthrough-sheet p { margin: 12px 0 18px; color: #c4d2d8; }
.walkthrough-sheet .walkthrough-status { margin-bottom: 0; font-size: .92rem; }
.walkthrough-sheet [hidden] { display: none; }
.walkthrough-sheet a:focus-visible { outline: 2px solid var(--acid); outline-offset: 4px; }

@media (max-width: 700px) {
  .redesign-nav { grid-template-columns: 1fr auto auto; column-gap: clamp(12px, 4vw, 20px); }
  .redesign-section-links a[href^="#"] { display: none; }
  .reny-inner { padding-top: max(105px, 16vw); padding-bottom: 32px; min-height: auto; }
  .reny-art { top: 57px; }
  .reny-art img, .reny-video { object-position: right top; }
  .reny-hero::after {
    background: linear-gradient(90deg, #070b11f0, #070b1170 50%, transparent 83%),
      linear-gradient(0deg, #070b11 0%, #070b118f 13%, #070b1138 36%, transparent 68%);
  }
  .reny-hero h1 { font-size: clamp(2.55rem, 9vw, 4.3rem); }
  .reny-intro { max-width: 15ch; }
  .reny-actions { flex-direction: column; align-items: flex-start; }
  .reny-wins { margin-top: 2.5rem; }
  .reny-wins-grid { padding-inline: 2px; }
  .reny-wins-grid li:nth-child(n) { --tilt: 0deg; --slant: 0deg; --lift: 0px; }
  .reny-win {
    grid-template-columns: clamp(19px, 5.8vw, 29px) minmax(0, 1fr);
    column-gap: 4px;
    padding: 8px;
    min-height: 119px;
  }
  .reny-win .reny-avatar { width: 100%; height: auto; aspect-ratio: 1; }
  .reny-gain { font-size: clamp(.85rem, 4vw, 1.12rem); }
  .redesign-footer-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .redesign-footer-brand { grid-column: 1 / -1; }
}
@media (prefers-reduced-motion: reduce) {
  .reny-wins-grid li, .reny-win-light { animation: none; }
  .reny-video { display: none; }
  .reny-win, .reny-actions a { transition: none; }
  .reny-win:is(:hover, :focus-visible), .reny-trial:hover { transform: none; }
}
