.rs-hero {
  position: relative;
  min-height: 100svh;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  padding: 130px 0 clamp(40px, 7vh, 84px);
  overflow: hidden;
  background:
    radial-gradient(55% 60% at 80% 30%, var(--glow-a), transparent 72%),
    radial-gradient(45% 45% at 88% 62%, var(--glow-b), transparent 72%),
    var(--bg);
}

.rs-hero::after {
  content: "";
  position: absolute;
  inset: auto 0 0;
  height: 38%;
  background: linear-gradient(180deg, rgba(4, 6, 10, 0), var(--bg));
  pointer-events: none;
}

.rs-hero__glow {
  position: absolute;
  right: -12%;
  top: 0;
  width: min(80vw, 1200px);
  height: 88%;
  border-radius: 50%;
  background: radial-gradient(closest-side, rgba(77, 141, 255, 0.2), transparent 70%);
  pointer-events: none;
}

.rs-stack {
  position: absolute;
  right: calc(var(--gutter) + 2vw);
  top: 17%;
  width: clamp(280px, 29vw, 460px);
  aspect-ratio: 1 / 0.9;
  z-index: 1;
  pointer-events: none;
  animation: rs-idle 8s ease-in-out infinite;
}

.rs-stack__tilt {
  position: absolute;
  inset: 0;
  transform: rotate(-7deg);
}

.rs-slip {
  --step: 17%;
  position: absolute;
  left: 0;
  right: 0;
  top: calc((2 - var(--i)) * var(--step));
  height: 66%;
  z-index: calc(3 - var(--i));
  display: flex;
  flex-direction: column;
  gap: 16px;
  padding: clamp(16px, 1.6vw, 24px);
  border-radius: 22px;
  background: linear-gradient(180deg, #111a29, #0a0f18);
  box-shadow: inset 0 0 0 1px var(--line-strong), 0 40px 80px -30px rgba(0, 0, 0, 0.95);
  transform: scale(calc(1 - var(--i) * 0.06));
  transform-origin: 50% 0;
}

.rs-slip__head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
}

.rs-slip__head b {
  font-weight: 700;
  font-size: clamp(17px, 1.55vw, 24px);
  letter-spacing: -0.045em;
  line-height: 1;
  white-space: nowrap;
}

.rs-slip__head .serif {
  font-weight: 400;
  color: var(--ice);
  font-size: 1.08em;
}

.rs-slip__state {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  flex: none;
  padding: 5px 10px;
  border-radius: 999px;
  font-family: var(--f-mono);
  font-size: var(--t-micro);
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--ink-3);
  box-shadow: inset 0 0 0 1px var(--line);
}

.rs-slip__state i {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  box-shadow: inset 0 0 0 1px currentColor;
}

.rs-slip--closed .rs-slip__head b {
  color: var(--ink-3);
}

.rs-slip--closed .rs-slip__head .serif {
  color: inherit;
}

.rs-slip--open {
  background: linear-gradient(180deg, #14203a, #0b111c);
  box-shadow: inset 0 0 0 1px rgba(168, 212, 240, 0.42), 0 50px 100px -30px rgba(77, 141, 255, 0.55);
}

.rs-slip--open .rs-slip__state {
  color: var(--ice);
  box-shadow: inset 0 0 0 1px rgba(168, 212, 240, 0.35);
}

.rs-slip--open .rs-slip__state i {
  background: var(--blue);
  box-shadow: 0 0 10px var(--blue);
}

.rs-slip__sheet {
  flex: 1;
  display: grid;
  grid-template-rows: repeat(4, 1fr);
  border-radius: 12px;
  overflow: hidden;
  box-shadow: inset 0 0 0 1px var(--line);
}

.rs-slip__sheet span {
  display: grid;
  grid-template-columns: 12px 1.6fr 1fr 0.7fr;
  gap: 12px;
  align-items: center;
  padding: 0 14px;
  border-top: 1px solid var(--line);
}

.rs-slip__sheet span:first-child {
  border-top: 0;
}

.rs-slip__sheet i {
  height: 6px;
  border-radius: 3px;
  background: rgba(168, 212, 240, 0.14);
}

.rs-slip__sheet i:first-child {
  height: 12px;
  border-radius: 3px;
  background: var(--ice);
}

.rs-slip__sheet span:nth-child(3) {
  background: rgba(77, 141, 255, 0.14);
}

.rs-slip__sheet span:nth-child(3) i:last-child {
  background: var(--ice);
}

.js:not(.reduced):not(.no-anim) .rs-slip {
  animation: rs-deal 1.2s var(--ease-out) both;
  animation-delay: calc(1.1s + (2 - var(--i)) * 0.14s);
}

@keyframes rs-deal {
  from {
    opacity: 0;
    translate: 0 40px;
  }
}

.rs-hero__inner {
  position: relative;
  z-index: 1;
}

.rs-hero__inner .crumbs {
  margin-bottom: clamp(28px, 5vh, 56px);
}

.rs-hero__title {
  margin: 0 0 0 -0.05em;
  font-weight: 800;
  font-size: clamp(60px, 11.2vw, 186px);
  line-height: 0.8;
  letter-spacing: -0.058em;
}

.rs-hero__title .line {
  display: block;
  overflow: hidden;
  padding: 0.04em 0.05em 0.08em;
  margin-bottom: -0.1em;
}

.rs-hero__title .line > span {
  display: inline-block;
}

.rs-hero__title .serif {
  font-weight: 400;
  color: var(--ice);
  letter-spacing: -0.035em;
  font-size: 1.06em;
}

.rs-hero__row {
  display: flex;
  flex-wrap: wrap;
  align-items: flex-end;
  justify-content: space-between;
  gap: 28px clamp(28px, 5vw, 80px);
  margin-top: clamp(28px, 5vh, 52px);
}

.rs-hero__row .lede {
  max-width: 36em;
  margin: 0;
}

@media (max-width: 1020px) {
  .rs-stack {
    position: relative;
    top: auto;
    right: auto;
    align-self: flex-end;
    width: min(46vw, 400px);
    margin: 0 calc(var(--gutter) + 2vw) clamp(24px, 4vh, 48px) 0;
  }
}

@media (max-width: 620px) {
  .rs-stack {
    display: none;
  }
  .rs-hero {
    min-height: auto;
    padding-top: 112px;
  }
  .rs-hero__title {
    font-size: 19.5vw;
  }
}

.rs-shelf {
  position: relative;
  padding: var(--space-section-lg) 0 var(--space-section);
}

.rs-grid {
  display: grid;
  grid-template-columns: repeat(12, minmax(0, 1fr));
  gap: 14px;
}

.rs-tool {
  position: relative;
  display: flex;
  flex-direction: column;
  border-radius: var(--radius);
  background: var(--bg-1);
  box-shadow: inset 0 0 0 1px var(--line);
  overflow: hidden;
  transition: box-shadow 0.7s var(--ease-out), transform 0.7s var(--ease-out);
}

a.rs-tool:hover {
  box-shadow: inset 0 0 0 1px rgba(168, 212, 240, 0.35), 0 40px 90px -40px rgba(77, 141, 255, 0.5);
  transform: translateY(-6px);
}

.rs-tool--xl {
  grid-column: span 7;
  grid-row: span 2;
}

.rs-tool--closed {
  grid-column: span 5;
  background: rgba(8, 11, 18, 0.6);
}

.rs-tool__stage {
  --rx: 0deg;
  --ry: 0deg;
  --gx: 50%;
  --gy: 30%;
  position: relative;
  height: clamp(320px, 30vw, 440px);
  perspective: 1400px;
  background:
    radial-gradient(60% 70% at 70% 20%, var(--glow-a), transparent 70%),
    radial-gradient(50% 60% at 10% 90%, var(--glow-b), transparent 70%),
    var(--bg-2);
  overflow: hidden;
}

.rs-tool--xl .rs-tool__stage {
  flex: 1 0 auto;
  height: auto;
  min-height: clamp(320px, 30vw, 440px);
}

.rs-tool--xl .rs-paper {
  height: min(78%, 350px);
}

.rs-tool--xl .rs-tool__body {
  flex: none;
}

.rs-tool--closed .rs-tool__stage {
  height: clamp(190px, 16vw, 240px);
  background:
    radial-gradient(60% 80% at 70% 10%, rgba(77, 141, 255, 0.08), transparent 70%),
    var(--bg-1);
}

.rs-tool--closed .rs-tool__body {
  gap: 8px;
  padding-bottom: 26px;
}

.rs-tool--closed .rs-tool__title {
  color: var(--ink-2);
}

.rs-tool--closed .rs-tool__title .serif {
  color: var(--ink-3);
}

.rs-tool--closed .rs-tool__body p {
  color: var(--ink-3);
}

.rs-tool__off {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  margin-top: 10px;
  font-weight: 600;
  font-size: 15px;
  color: var(--ink-3);
}

.rs-tool__off i {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  box-shadow: inset 0 0 0 1.5px currentColor;
}

.rs-tool--closed .rs-obj {
  filter: grayscale(1);
  opacity: 0.55;
}

.rs-form {
  position: absolute;
  left: 50%;
  top: 58%;
  width: min(62%, 300px);
  display: flex;
  flex-direction: column;
  gap: 12px;
  padding: 18px 18px 22px;
  border-radius: 14px;
  background: linear-gradient(180deg, #131b2a, #0c121c);
  box-shadow: inset 0 0 0 1px var(--line-strong), 0 30px 60px -24px rgba(0, 0, 0, 0.95);
  transform: translate(-50%, -50%) translateY(calc((1 - var(--p)) * 16%)) rotate(-4deg);
}

.rs-form span {
  display: grid;
  grid-template-columns: 12px minmax(0, 1fr);
  gap: 12px;
  align-items: center;
}

.rs-form span::before {
  content: "";
  width: 12px;
  height: 12px;
  border-radius: 3px;
  box-shadow: inset 0 0 0 1.5px var(--line-strong);
}

.rs-form span.is-on::before {
  background: var(--ice);
  box-shadow: none;
}

.rs-form i {
  height: 6px;
  border-radius: 3px;
  background: rgba(168, 212, 240, 0.16);
}

.rs-form b {
  width: 58%;
  height: 9px;
  margin-bottom: 4px;
  border-radius: 4px;
  background: rgba(168, 212, 240, 0.32);
}

.rs-ad {
  position: absolute;
  left: 50%;
  top: 56%;
  width: min(38%, 190px);
  aspect-ratio: 1;
  border-radius: 12px;
  overflow: hidden;
  box-shadow: inset 0 0 0 1px var(--line-strong), 0 30px 60px -24px rgba(0, 0, 0, 0.95);
  transform: translate(-50%, -50%) translateX(calc(var(--x) * var(--p) * 58%)) rotate(calc(var(--x) * var(--p) * 9deg)) scale(calc(1 - var(--x) * var(--x) * 0.08));
  z-index: calc(2 - var(--x) * var(--x));
}

.rs-ad img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.rs-tool__shine {
  position: absolute;
  inset: 0;
  pointer-events: none;
  background: radial-gradient(40% 50% at var(--gx) var(--gy), rgba(168, 212, 240, 0.12), transparent 70%);
  opacity: 0;
  transition: opacity 0.6s var(--ease-out);
}

.rs-tool:hover .rs-tool__shine {
  opacity: 1;
}

.rs-tool__body {
  display: flex;
  flex-direction: column;
  gap: 10px;
  padding: 26px 28px 30px;
  flex: 1;
}

.rs-tool__title {
  margin: 0;
  font-weight: 700;
  font-size: var(--t-h3);
  line-height: 1.02;
  letter-spacing: -0.045em;
}

.rs-tool__title .serif {
  color: var(--ice);
  font-size: 1.08em;
}

.rs-tool__body p {
  margin: 0;
  max-width: 34em;
  color: var(--ink-2);
  font-size: 15.5px;
  flex: 1;
}

.rs-tool__cta {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  margin-top: 12px;
  font-weight: 600;
  font-size: 15px;
}

.rs-tool__cta svg {
  width: 14px;
  height: 14px;
  color: var(--ice);
  transition: transform 0.5s var(--ease-out);
}

.rs-tool:hover .rs-tool__cta svg {
  transform: translateX(4px);
}

.rs-obj {
  --p: 1;
  position: absolute;
  inset: 0;
  transform: rotateX(var(--rx)) rotateY(var(--ry));
  transform-style: preserve-3d;
  transition: transform 0.9s var(--ease-out);
}

.rs-tag {
  position: absolute;
  left: 18px;
  top: 18px;
  z-index: 5;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 6px 10px;
  border-radius: 999px;
  font-family: var(--f-mono);
  font-size: var(--t-micro);
  letter-spacing: 0.12em;
  text-transform: uppercase;
  background: rgba(4, 6, 10, 0.65);
  -webkit-backdrop-filter: blur(10px);
  backdrop-filter: blur(10px);
  box-shadow: inset 0 0 0 1px var(--line-strong);
}

.rs-tag i {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--blue);
  box-shadow: 0 0 8px var(--blue);
}

.rs-paper {
  position: absolute;
  left: 50%;
  top: 50%;
  width: min(78%, 480px);
  height: 78%;
  border-radius: 16px;
  background: linear-gradient(180deg, #111826, #0b101a);
  box-shadow: inset 0 0 0 1px var(--line-strong), 0 30px 60px -30px rgba(0, 0, 0, 0.9);
  transform: translate(-50%, -50%);
}

.rs-paper--back2 {
  transform: translate(-50%, -50%) translate(calc(var(--p) * 26px), calc(var(--p) * -6px)) rotate(calc(var(--p) * 7deg));
  opacity: 0.5;
}

.rs-paper--back1 {
  transform: translate(-50%, -50%) translate(calc(var(--p) * -22px), calc(var(--p) * 4px)) rotate(calc(var(--p) * -5deg));
  opacity: 0.75;
}

.rs-paper--front {
  background: none;
  box-shadow: none;
  display: flex;
  flex-direction: column;
  perspective: 900px;
  transform: translate(-50%, -50%) translateY(calc((1 - var(--p)) * 22%));
}

.rs-fold {
  position: relative;
  padding: 0 14px;
  background: linear-gradient(180deg, #131b2a, #0d131e);
  box-shadow: inset 0 0 0 1px var(--line-strong);
  font-size: 11.5px;
  color: var(--ink-2);
}

.rs-fold--top {
  flex: 1.15;
  border-radius: 16px 16px 0 0;
  padding-top: 12px;
}

.rs-fold--bot {
  flex: 1;
  border-radius: 0 0 16px 16px;
  transform-origin: top center;
  transform: rotateX(calc((1 - var(--p)) * 150deg));
  backface-visibility: hidden;
  box-shadow: inset 0 0 0 1px var(--line-strong), 0 40px 60px -30px rgba(77, 141, 255, 0.45);
}

.rs-fold--bot::after {
  content: "";
  position: absolute;
  inset: 0;
  border-radius: inherit;
  background: linear-gradient(180deg, rgba(4, 6, 10, 0.9), transparent);
  opacity: calc(1 - var(--p));
  pointer-events: none;
}

.rs-mini__bar {
  display: flex;
  align-items: center;
  gap: 5px;
  padding-bottom: 10px;
  border-bottom: 1px solid var(--line);
}

.rs-mini__bar i {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: rgba(168, 212, 240, 0.2);
}

.rs-mini__bar span {
  margin-left: 8px;
  color: var(--ink);
  font-weight: 650;
  font-size: 12.5px;
  white-space: nowrap;
}

.rs-mini__bar b {
  margin-left: auto;
  font-family: var(--f-mono);
  font-size: 9px;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  font-weight: 400;
  color: var(--ink-3);
  white-space: nowrap;
}

.rs-mini__kpis {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 8px;
  padding: 10px 0;
}

.rs-mini__kpis span {
  display: flex;
  flex-direction: column;
  gap: 3px;
  padding: 8px 10px;
  border-radius: 10px;
  background: rgba(168, 212, 240, 0.05);
  box-shadow: inset 0 0 0 1px var(--line);
  color: var(--ink);
  font-weight: 700;
  font-size: clamp(15px, 1.6vw, 22px);
  letter-spacing: -0.04em;
  white-space: nowrap;
}

.rs-mini__kpis small {
  font-family: var(--f-mono);
  font-size: 8.5px;
  font-weight: 400;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--ink-3);
}

.rs-mini__head,
.rs-mini__row {
  display: grid;
  grid-template-columns: 14px minmax(0, 1.6fr) minmax(0, 1fr) 64px;
  gap: 8px;
  align-items: center;
  height: 27px;
  border-bottom: 1px solid var(--line);
  white-space: nowrap;
}

.rs-mini__head {
  grid-template-columns: minmax(0, 1.6fr) minmax(0, 1fr) 64px;
  padding-left: 22px;
  font-family: var(--f-mono);
  font-size: 8.5px;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--ink);
}

.rs-mini__row span {
  overflow: hidden;
  text-overflow: ellipsis;
}

.rs-mini__row span:first-of-type {
  color: var(--ink);
}

.rs-mini__row em {
  justify-self: start;
  font-style: normal;
  font-size: 10px;
  padding: 1px 7px;
  border-radius: 999px;
  color: var(--ice);
  box-shadow: inset 0 0 0 1px rgba(168, 212, 240, 0.22);
}

.rs-mini__row i {
  width: 11px;
  height: 11px;
  border-radius: 3px;
  background: var(--ice);
}

.rs-mini__row.is-due {
  background: rgba(77, 141, 255, 0.12);
  margin: 0 -14px;
  padding: 0 14px;
}

.rs-mini__row.is-due span:last-child {
  color: var(--ice);
  font-weight: 600;
}

.rs-mini__tabs {
  display: flex;
  gap: 14px;
  padding: 8px 0;
  font-size: 10.5px;
  color: var(--ink-3);
}

.rs-mini__tabs span:first-child {
  color: var(--ice);
}

@media (hover: none), (pointer: coarse) {
  .rs-obj {
    animation: rs-idle 6s ease-in-out infinite;
  }
  .rs-tool:nth-child(2) .rs-obj {
    animation-delay: -1.5s;
  }
  .rs-tool:nth-child(3) .rs-obj {
    animation-delay: -3s;
  }
  .rs-tool:nth-child(4) .rs-obj {
    animation-delay: -4.5s;
  }
}

@keyframes rs-idle {
  0%, 100% { transform: translateY(0) rotate(0); }
  50% { transform: translateY(-6px) rotate(0.8deg); }
}

@media (max-width: 1020px) {
  .rs-tool--xl {
    grid-column: span 12;
    grid-row: auto;
  }
  .rs-tool--closed {
    grid-column: span 6;
  }
}

@media (max-width: 620px) {
  .rs-tool__stage,
  .rs-tool--xl .rs-tool__stage {
    height: 300px;
    min-height: 0;
  }
  .rs-grid {
    gap: 10px;
  }
  .rs-tool--closed .rs-tool__stage {
    height: 128px;
  }
  .rs-tool--closed .rs-tool__body {
    gap: 4px;
    padding: 16px 16px 18px;
  }
  .rs-tool--closed .rs-tool__title {
    font-size: 21px;
  }
  .rs-tool--closed .rs-tool__body p {
    display: none;
  }
  .rs-tool__off {
    gap: 8px;
    margin-top: 6px;
    font-size: 13px;
  }
  .rs-paper {
    width: 86%;
    height: 82%;
  }
  .rs-tool__body {
    padding: 22px 20px 24px;
  }
}

.rs-quote {
  position: relative;
  padding: var(--space-section) 0;
  border-top: 1px solid var(--line);
  background: radial-gradient(40% 50% at 15% 40%, rgba(77, 141, 255, 0.08), transparent 70%);
}

.rs-quote__inner {
  display: grid;
  grid-template-columns: 220px minmax(0, 1fr);
  gap: 40px;
  align-items: start;
}

.rs-quote__block {
  margin: 0;
  position: relative;
}

.rs-quote__block::before {
  content: "\201C";
  position: absolute;
  left: -0.08em;
  top: -0.42em;
  font-family: var(--f-serif);
  font-style: italic;
  font-size: clamp(80px, 8vw, 130px);
  line-height: 1;
  color: var(--ice);
  opacity: 0.18;
  pointer-events: none;
}

.rs-quote__text {
  position: relative;
  margin: 0;
  font-weight: 600;
  font-size: clamp(24px, 2.4vw, 36px);
  line-height: 1.15;
  letter-spacing: -0.035em;
  text-wrap: balance;
  max-width: 24em;
}

.rs-quote__text .w {
  color: rgba(238, 244, 250, 0.14);
}

.rs-quote__text .serif {
  font-size: 1.08em;
}

.rs-quote__by {
  display: flex;
  align-items: center;
  gap: 16px;
  margin-top: clamp(32px, 4vw, 56px);
}

.rs-quote__more {
  margin-top: clamp(28px, 3vw, 40px);
}

.rs-quote__by img {
  width: 56px;
  height: 56px;
  border-radius: 50%;
  object-fit: cover;
  object-position: 50% 20%;
  box-shadow: 0 0 0 1px var(--line-strong);
}

.rs-quote__by b {
  display: block;
  font-size: 17px;
  letter-spacing: -0.02em;
}

.rs-quote__by small {
  font-family: var(--f-mono);
  font-size: var(--t-micro);
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--ink-3);
}

@media (max-width: 820px) {
  .rs-quote__inner {
    grid-template-columns: 1fr;
    gap: 24px;
  }
  .rs-quote__inner > span:empty {
    display: none;
  }
  .rs-quote__block {
    padding-top: 44px;
  }
  .rs-quote__block::before {
    top: -0.16em;
  }
}

.rs-latest .post h2,
.rs-latest .post h3 {
  font-size: clamp(18px, 1.5vw, 23px);
  letter-spacing: -0.03em;
  line-height: 1.2;
}

.rs-latest .post p {
  color: var(--ink-3);
}

.rs-latest {
  position: relative;
  padding: var(--space-section) 0 clamp(60px, 7vw, 100px);
  border-top: 1px solid var(--line);
}

@media (prefers-reduced-motion: reduce) {
  .rs-stack,
  .rs-obj {
    animation: none;
  }
  .rs-quote__text .w {
    color: inherit;
  }
}

.no-anim .rs-quote__text .w {
  color: inherit;
}
