/* ============================================================
   RUBY SQUARE AU — global stylesheet
   Light editorial theme, ruby accent. No inline styles except
   the sanctioned background-image overlay pattern in markup.
   ============================================================ */

:root {
  --rs-bg: #faf9f6;
  --rs-paper: #ffffff;
  --rs-ink: #17171d;
  --rs-ink-soft: #3d3d47;
  --rs-muted: #6e6e78;
  --rs-line: rgba(23, 23, 29, 0.12);
  --rs-line-soft: rgba(23, 23, 29, 0.07);
  --rs-ruby: #d92038;
  --rs-ruby-deep: #a31621;
  --rs-ruby-ink: #7c0f1b;
  --rs-ruby-soft: rgba(217, 32, 56, 0.08);
  --rs-dark: #14141a;
  --rs-dark-2: #1c1c23;
  --rs-cream: #f3f0ea;
  --rs-steel: #e9e9ec;
  --rs-radius: 18px;
  --rs-radius-s: 10px;
  --rs-font-d: "Space Grotesk", "Inter", system-ui, sans-serif;
  --rs-font-b: "Inter", system-ui, -apple-system, "Segoe UI", sans-serif;
  --rs-shadow: 0 24px 60px -24px rgba(23, 23, 29, 0.18);
  --rs-shadow-s: 0 12px 32px -14px rgba(23, 23, 29, 0.14);
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  font-family: var(--rs-font-b);
  color: var(--rs-ink);
  background: var(--rs-bg);
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}

img {
  max-width: 100%;
  display: block;
}

h1,
h2,
h3,
h4,
.rs-h {
  font-family: var(--rs-font-d);
  letter-spacing: -0.02em;
  line-height: 1.05;
  margin: 0;
}

h1 {
  font-size: clamp(2.5rem, 6vw, 4.6rem);
  font-weight: 700;
}
h2 {
  font-size: clamp(1.9rem, 4vw, 3.1rem);
  font-weight: 700;
}
h3 {
  font-size: clamp(1.25rem, 2.2vw, 1.7rem);
  font-weight: 600;
}
h4 {
  font-size: 1.05rem;
  font-weight: 600;
}

p {
  line-height: 1.7;
  color: var(--rs-ink-soft);
  margin: 0;
}

a {
  color: inherit;
  text-decoration: none;
}

/* ---------- layout primitives ---------- */

.rs-wrap {
  width: 100%;
  max-width: 1320px;
  margin: 0 auto;
  padding: 0 clamp(18px, 4vw, 56px);
  position: relative;
}

.rs-sec {
  position: relative;
  padding: clamp(72px, 9vw, 136px) 0;
  overflow: hidden;
}
.rs-sec--tight {
  padding: clamp(48px, 6vw, 88px) 0;
}
.rs-sec--dark {
  background: var(--rs-dark);
  color: #f6f5f1;
}
.rs-sec--dark p {
  color: rgba(246, 245, 241, 0.72);
}
.rs-sec--cream {
  background: var(--rs-cream);
}
.rs-sec--paper {
  background: var(--rs-paper);
}
.rs-sec--line {
  border-top: 1px solid var(--rs-line-soft);
}

.rs-bg-img {
  background-size: cover;
  background-position: center;
  color: #f6f5f1;
}
.rs-bg-img p {
  color: rgba(246, 245, 241, 0.75);
}

.rs-grid-lines {
  background-image:
    linear-gradient(var(--rs-line-soft) 1px, transparent 1px),
    linear-gradient(90deg, var(--rs-line-soft) 1px, transparent 1px);
  background-size: 72px 72px;
}

.rs-dots-bg {
  background-image: radial-gradient(
    rgba(23, 23, 29, 0.14) 1px,
    transparent 1px
  );
  background-size: 22px 22px;
}

.rs-sec-head {
  max-width: 760px;
  margin-bottom: clamp(36px, 5vw, 64px);
}
.rs-sec-head--center {
  margin-left: auto;
  margin-right: auto;
  text-align: center;
}
.rs-sec-head--split {
  max-width: none;
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 32px;
  flex-wrap: wrap;
}

.rs-eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-family: var(--rs-font-d);
  font-size: 0.72rem;
  font-weight: 600;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--rs-ruby);
  margin-bottom: 18px;
}
.rs-eyebrow::before {
  content: "";
  width: 26px;
  height: 1px;
  background: var(--rs-ruby);
}
.rs-eyebrow--bare::before {
  display: none;
}

.rs-lead {
  font-size: clamp(1.02rem, 1.5vw, 1.22rem);
  margin-top: 20px;
}

.rs-num-tag {
  font-family: var(--rs-font-d);
  font-size: 0.78rem;
  letter-spacing: 0.18em;
  color: var(--rs-muted);
}

.rs-outline {
  font-family: var(--rs-font-d);
  font-weight: 700;
  color: transparent;
  -webkit-text-stroke: 1px rgba(23, 23, 29, 0.22);
  line-height: 0.9;
  user-select: none;
  pointer-events: none;
}
.rs-sec--dark .rs-outline,
.rs-bg-img .rs-outline {
  -webkit-text-stroke-color: rgba(246, 245, 241, 0.16);
}

/* ---------- buttons ---------- */

.rs-btn {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-family: var(--rs-font-d);
  font-size: 0.86rem;
  font-weight: 600;
  letter-spacing: 0.04em;
  padding: 15px 28px;
  border-radius: 999px;
  border: 1px solid transparent;
  cursor: pointer;
  transition:
    transform 0.25s ease,
    box-shadow 0.25s ease,
    background 0.25s ease,
    color 0.25s ease,
    border-color 0.25s ease;
  white-space: nowrap;
}
.rs-btn i {
  font-size: 0.9em;
}
.rs-btn--primary {
  background: var(--rs-ruby);
  color: #fff;
}
.rs-btn--primary:hover {
  background: var(--rs-ruby-deep);
  transform: translateY(-2px);
  box-shadow: 0 14px 30px -12px rgba(217, 32, 56, 0.55);
}
.rs-btn--dark {
  background: var(--rs-ink);
  color: #fff;
}
.rs-btn--dark:hover {
  background: #000;
  transform: translateY(-2px);
}
.rs-btn--line {
  border-color: var(--rs-line);
  color: var(--rs-ink);
  background: transparent;
}
.rs-btn--line:hover {
  border-color: var(--rs-ink);
  transform: translateY(-2px);
}
.rs-btn--light {
  background: #fff;
  color: var(--rs-ink);
}
.rs-btn--light:hover {
  transform: translateY(-2px);
  box-shadow: var(--rs-shadow-s);
}
.rs-btn--big {
  padding: 20px 38px;
  font-size: 0.95rem;
}
.rs-btn--full {
  width: 100%;
  justify-content: center;
}

.rs-linkarrow {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-family: var(--rs-font-d);
  font-weight: 600;
  font-size: 0.85rem;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--rs-ruby);
  transition: gap 0.25s ease;
}
.rs-linkarrow:hover {
  gap: 14px;
}

/* ---------- frames / media ---------- */

.rs-frame {
  border-radius: var(--rs-radius);
  overflow: hidden;
  border: 1px solid var(--rs-line-soft);
  background: var(--rs-steel);
  position: relative;
}
.rs-frame img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.rs-frame--sq {
  border-radius: 4px;
}
.rs-frame--shadow {
  box-shadow: var(--rs-shadow);
}

.rs-media-block {
  position: relative;
  min-height: 320px;
  border-radius: var(--rs-radius);
  overflow: hidden;
  display: flex;
  align-items: flex-end;
  background-size: cover;
  background-position: center;
  color: #f6f5f1;
}
.rs-media-block--tall {
  min-height: 460px;
}
.rs-media-block--sq {
  border-radius: 4px;
  min-height: 240px;
}

.rs-badge-float {
  position: absolute;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: rgba(255, 255, 255, 0.92);
  backdrop-filter: blur(8px);
  color: var(--rs-ink);
  font-family: var(--rs-font-d);
  font-size: 0.78rem;
  font-weight: 600;
  padding: 10px 16px;
  border-radius: 999px;
  box-shadow: var(--rs-shadow-s);
}
.rs-badge-float i {
  color: var(--rs-ruby);
}
.rs-badge-float--dark {
  background: rgba(20, 20, 26, 0.82);
  color: #f6f5f1;
  border: 1px solid rgba(255, 255, 255, 0.14);
}

/* ---------- hairline grid ---------- */

.rs-hair {
  border-color: var(--rs-line-soft);
}
.rs-hair-t {
  border-top: 1px solid var(--rs-line-soft);
}
.rs-hair-b {
  border-bottom: 1px solid var(--rs-line-soft);
}
.rs-hair-l {
  border-left: 1px solid var(--rs-line-soft);
}
.rs-hair-r {
  border-right: 1px solid var(--rs-line-soft);
}

.rs-grid2 {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: clamp(24px, 4vw, 56px);
}
.rs-grid3 {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: clamp(20px, 3vw, 40px);
}
.rs-grid4 {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: clamp(16px, 2.4vw, 32px);
}

/* ---------- marquee ---------- */

.rs-marquee {
  overflow: hidden;
  border-top: 1px solid var(--rs-line-soft);
  border-bottom: 1px solid var(--rs-line-soft);
  padding: 20px 0;
}
.rs-mq-track {
  display: flex;
  gap: 48px;
  width: max-content;
  animation: rs-mq 28s linear infinite;
}
.rs-mq-item {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  font-family: var(--rs-font-d);
  font-size: 0.85rem;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--rs-ink-soft);
  white-space: nowrap;
}
.rs-mq-item i {
  color: var(--rs-ruby);
}
@keyframes rs-mq {
  to {
    transform: translateX(-50%);
  }
}

/* ---------- slider ---------- */

.rs-slider {
  position: relative;
  overflow: hidden;
}
.rs-slides {
  display: flex;
  transition: transform 0.7s cubic-bezier(0.65, 0, 0.2, 1);
  height: 100%;
}
.rs-slide {
  min-width: 100%;
  height: 100%;
  flex: 0 0 100%;
}
.rs-slider-ctrl {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  width: 52px;
  height: 52px;
  border-radius: 50%;
  border: 1px solid var(--rs-line);
  background: rgba(255, 255, 255, 0.9);
  backdrop-filter: blur(6px);
  color: var(--rs-ink);
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  transition:
    background 0.25s,
    color 0.25s;
  z-index: 5;
}
.rs-slider-ctrl:hover {
  background: var(--rs-ink);
  color: #fff;
}
.rs-slider-ctrl--prev {
  left: 24px;
}
.rs-slider-ctrl--next {
  right: 24px;
}
.rs-slider-dots {
  position: absolute;
  bottom: 26px;
  left: 50%;
  transform: translateX(-50%);
  display: flex;
  gap: 10px;
  z-index: 5;
}
.rs-dot {
  width: 34px;
  height: 4px;
  border-radius: 2px;
  background: rgba(255, 255, 255, 0.35);
  border: none;
  cursor: pointer;
  transition: background 0.3s;
  padding: 0;
}
.rs-dot.is-active {
  background: var(--rs-ruby);
}
.rs-dots--dark .rs-dot {
  background: rgba(23, 23, 29, 0.2);
}
.rs-dots--dark .rs-dot.is-active {
  background: var(--rs-ruby);
}

/* ---------- accordions ---------- */

.rs-acc {
  border-top: 1px solid var(--rs-line);
}
.rs-acc-i {
  border-bottom: 1px solid var(--rs-line);
}
.rs-acc-t {
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  padding: 26px 8px;
  background: none;
  border: none;
  cursor: pointer;
  text-align: left;
  font-family: var(--rs-font-d);
  font-size: clamp(1rem, 1.6vw, 1.25rem);
  font-weight: 600;
  color: var(--rs-ink);
  transition:
    color 0.25s,
    padding 0.25s;
}
.rs-acc-t:hover {
  color: var(--rs-ruby);
}
.rs-acc-t .rs-acc-ic {
  flex: 0 0 auto;
  width: 34px;
  height: 34px;
  border-radius: 50%;
  border: 1px solid var(--rs-line);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 0.75rem;
  transition:
    transform 0.35s ease,
    background 0.3s,
    color 0.3s;
}
.rs-acc-i.is-open .rs-acc-ic {
  transform: rotate(135deg);
  background: var(--rs-ruby);
  color: #fff;
  border-color: var(--rs-ruby);
}
.rs-acc-c {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.45s ease;
}
.rs-acc-c > div {
  padding: 0 8px 30px;
  max-width: 760px;
}
.rs-acc-num {
  font-family: var(--rs-font-d);
  font-size: 0.8rem;
  color: var(--rs-muted);
  margin-right: 18px;
  letter-spacing: 0.1em;
}
.rs-sec--dark .rs-acc-t {
  color: #f6f5f1;
}
.rs-sec--dark .rs-acc,
.rs-sec--dark .rs-acc-i {
  border-color: rgba(255, 255, 255, 0.12);
}
.rs-sec--dark .rs-acc-t .rs-acc-ic {
  border-color: rgba(255, 255, 255, 0.2);
}
.rs-bg-img .rs-acc-t {
  color: #f6f5f1;
}
.rs-bg-img .rs-acc,
.rs-bg-img .rs-acc-i {
  border-color: rgba(255, 255, 255, 0.14);
}
.rs-bg-img .rs-acc-t .rs-acc-ic {
  border-color: rgba(255, 255, 255, 0.25);
}

/* horizontal accordion (levels odyssey) */

.rs-hacc {
  display: flex;
  gap: 10px;
  height: 460px;
}
.rs-hacc-p {
  position: relative;
  flex: 1;
  border-radius: var(--rs-radius-s);
  overflow: hidden;
  cursor: pointer;
  transition: flex 0.55s cubic-bezier(0.65, 0, 0.2, 1);
  background-size: cover;
  background-position: center;
  display: flex;
  align-items: flex-end;
}
.rs-hacc-p.is-open {
  flex: 3.4;
}
.rs-hacc-inner {
  padding: 28px;
  position: relative;
  z-index: 2;
  width: 100%;
}
.rs-hacc-inner h4 {
  color: #fff;
  font-size: 1.2rem;
  margin-bottom: 8px;
}
.rs-hacc-inner p {
  color: rgba(255, 255, 255, 0.8);
  font-size: 0.9rem;
  max-width: 420px;
  opacity: 0;
  transform: translateY(10px);
  transition:
    opacity 0.4s 0.15s,
    transform 0.4s 0.15s;
}
.rs-hacc-p.is-open .rs-hacc-inner p {
  opacity: 1;
  transform: none;
}
.rs-hacc-tag {
  position: absolute;
  top: 22px;
  left: 24px;
  font-family: var(--rs-font-d);
  font-size: 0.72rem;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: rgba(255, 255, 255, 0.85);
  z-index: 2;
}

/* ---------- tabs ---------- */

.rs-tabs {
  display: inline-flex;
  gap: 6px;
  padding: 6px;
  border: 1px solid var(--rs-line);
  border-radius: 999px;
  background: var(--rs-paper);
}
.rs-tab {
  border: none;
  background: transparent;
  font-family: var(--rs-font-d);
  font-size: 0.82rem;
  font-weight: 600;
  padding: 10px 22px;
  border-radius: 999px;
  cursor: pointer;
  color: var(--rs-muted);
  transition:
    background 0.25s,
    color 0.25s;
}
.rs-tab.is-active {
  background: var(--rs-ink);
  color: #fff;
}
.rs-tab-pane {
  display: none;
}
.rs-tab-pane.is-active {
  display: block;
}

/* ---------- node steps ---------- */

.rs-nodes {
  position: relative;
  display: grid;
  gap: clamp(40px, 6vw, 80px);
}
.rs-node {
  display: grid;
  grid-template-columns: 120px 1fr;
  gap: clamp(20px, 4vw, 56px);
  align-items: center;
  position: relative;
}
.rs-node + .rs-node {
  padding-top: clamp(40px, 6vw, 80px);
}
.rs-node + .rs-node::before {
  content: "";
  position: absolute;
  top: 0;
  left: 60px;
  right: 0;
  border-top: 1px dashed rgba(23, 23, 29, 0.25);
}
.rs-node-diamond {
  width: 110px;
  height: 110px;
  transform: rotate(45deg);
  border: 1px solid var(--rs-line);
  border-radius: 14px;
  overflow: hidden;
  margin: 0 auto;
  position: relative;
  background: var(--rs-paper);
}
.rs-node-diamond img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transform: rotate(-45deg) scale(1.45);
}
.rs-node-num {
  position: absolute;
  top: 8px;
  left: 14px;
  font-family: var(--rs-font-d);
  font-weight: 700;
  color: var(--rs-ruby);
  font-size: 1.6rem;
  z-index: 2;
  text-shadow: 0 0 8px #fff;
}

/* ---------- blueprint ---------- */

.rs-blueprint {
  position: relative;
}
.rs-blue-line {
  position: absolute;
  height: 1px;
  background: rgba(217, 32, 56, 0.5);
  transform-origin: left center;
}
.rs-blue-dot {
  position: absolute;
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background: var(--rs-ruby);
  box-shadow: 0 0 0 5px rgba(217, 32, 56, 0.15);
}
.rs-blue-note {
  position: absolute;
  max-width: 220px;
  font-size: 0.82rem;
  color: var(--rs-ink-soft);
}
.rs-blue-note strong {
  display: block;
  font-family: var(--rs-font-d);
  color: var(--rs-ink);
  margin-bottom: 4px;
}

/* ---------- skew panels ---------- */

.rs-skew-row {
  display: flex;
  gap: 14px;
}
.rs-skew {
  flex: 1;
  transform: skewX(-6deg);
  border-radius: var(--rs-radius-s);
  overflow: hidden;
  min-height: 340px;
  background-size: cover;
  background-position: center;
  display: flex;
  align-items: flex-end;
}
.rs-skew > div {
  transform: skewX(6deg);
  padding: 30px;
  width: 100%;
}
.rs-skew h4 {
  color: #fff;
}
.rs-skew p {
  color: rgba(255, 255, 255, 0.8);
  font-size: 0.88rem;
}

/* ---------- equalizer ---------- */

.rs-eq {
  display: flex;
  align-items: flex-end;
  gap: 6px;
  height: 160px;
}
.rs-eq span {
  flex: 1;
  background: linear-gradient(180deg, var(--rs-ruby), var(--rs-ruby-deep));
  border-radius: 3px 3px 0 0;
  animation: rs-eq 1.3s ease-in-out infinite alternate;
  min-height: 12%;
}
@keyframes rs-eq {
  from {
    transform: scaleY(0.35);
  }
  to {
    transform: scaleY(1);
  }
}
.rs-eq span {
  transform-origin: bottom;
}

/* ---------- podium ---------- */

.rs-podium {
  display: flex;
  align-items: flex-end;
  gap: 14px;
  justify-content: center;
}
.rs-podium-step {
  flex: 1;
  max-width: 240px;
  border-radius: var(--rs-radius-s) var(--rs-radius-s) 0 0;
  padding: 28px 20px;
  text-align: center;
  border: 1px solid var(--rs-line);
  border-bottom: none;
  background: var(--rs-paper);
}
.rs-podium-step--1 {
  height: 260px;
  background: var(--rs-ink);
  color: #fff;
  border-color: var(--rs-ink);
}
.rs-podium-step--1 p {
  color: rgba(255, 255, 255, 0.7);
}
.rs-podium-step--2 {
  height: 200px;
}
.rs-podium-step--3 {
  height: 160px;
}
.rs-podium-rank {
  font-family: var(--rs-font-d);
  font-size: 2.4rem;
  font-weight: 700;
  color: var(--rs-ruby);
}

/* ---------- timeline ---------- */

.rs-timeline {
  position: relative;
  padding-left: 40px;
}
.rs-timeline::before {
  content: "";
  position: absolute;
  left: 10px;
  top: 6px;
  bottom: 6px;
  width: 1px;
  background: var(--rs-line);
}
.rs-tl-i {
  position: relative;
  padding-bottom: 34px;
}
.rs-tl-i:last-child {
  padding-bottom: 0;
}
.rs-tl-i::before {
  content: "";
  position: absolute;
  left: -34px;
  top: 6px;
  width: 13px;
  height: 13px;
  border-radius: 50%;
  background: var(--rs-bg);
  border: 3px solid var(--rs-ruby);
}
.rs-tl-time {
  font-family: var(--rs-font-d);
  font-size: 0.78rem;
  letter-spacing: 0.16em;
  color: var(--rs-ruby);
  text-transform: uppercase;
  margin-bottom: 6px;
}

/* ---------- stat rows ---------- */

.rs-statrow {
  border-top: 1px solid var(--rs-line);
}
.rs-statrow-i {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 32px;
  padding: clamp(28px, 4vw, 48px) 12px;
  border-bottom: 1px solid var(--rs-line);
  transition:
    background 0.3s,
    padding 0.3s;
  position: relative;
}
.rs-statrow-i:hover {
  background: var(--rs-ruby-soft);
  padding-left: 28px;
}
.rs-stat-num {
  font-family: var(--rs-font-d);
  font-size: clamp(2.4rem, 6vw, 4.8rem);
  font-weight: 700;
  letter-spacing: -0.03em;
  line-height: 1;
}
.rs-stat-num sup {
  font-size: 0.4em;
  color: var(--rs-ruby);
  font-weight: 600;
}
.rs-stat-lbl {
  max-width: 340px;
  text-align: right;
}
.rs-stat-thumb {
  position: absolute;
  right: 24%;
  top: 50%;
  transform: translateY(-50%) scale(0);
  width: 130px;
  height: 130px;
  border-radius: 50%;
  overflow: hidden;
  border: 3px solid #fff;
  box-shadow: var(--rs-shadow);
  transition: transform 0.35s ease;
  z-index: 3;
  pointer-events: none;
}
.rs-statrow-i:hover .rs-stat-thumb {
  transform: translateY(-50%) scale(1);
}

/* ---------- progress ---------- */

.rs-progress {
  height: 8px;
  border-radius: 4px;
  background: var(--rs-steel);
  overflow: hidden;
}
.rs-progress > span {
  display: block;
  height: 100%;
  border-radius: 4px;
  background: linear-gradient(90deg, var(--rs-ruby), var(--rs-ruby-deep));
  width: 0;
  transition: width 1.4s cubic-bezier(0.3, 0.8, 0.3, 1);
}
.rs-progress-lbl {
  display: flex;
  justify-content: space-between;
  font-family: var(--rs-font-d);
  font-size: 0.78rem;
  font-weight: 600;
  margin-bottom: 10px;
}

/* ---------- ranges / sliders ---------- */

.rs-range {
  -webkit-appearance: none;
  appearance: none;
  width: 100%;
  height: 6px;
  border-radius: 3px;
  background: var(--rs-steel);
  outline: none;
}
.rs-range::-webkit-slider-thumb {
  -webkit-appearance: none;
  width: 26px;
  height: 26px;
  border-radius: 8px;
  background: var(--rs-ruby);
  cursor: pointer;
  border: 4px solid #fff;
  box-shadow: 0 4px 12px rgba(217, 32, 56, 0.4);
  transform: rotate(45deg);
}
.rs-range::-moz-range-thumb {
  width: 20px;
  height: 20px;
  border-radius: 6px;
  background: var(--rs-ruby);
  cursor: pointer;
  border: 3px solid #fff;
}
.rs-range-marks {
  display: flex;
  justify-content: space-between;
  font-size: 0.72rem;
  font-family: var(--rs-font-d);
  color: var(--rs-muted);
  margin-top: 10px;
  letter-spacing: 0.08em;
}

/* ---------- lists / checks ---------- */

.rs-checklist {
  list-style: none;
  padding: 0;
  margin: 0;
  display: grid;
  gap: 14px;
}
.rs-checklist li {
  display: flex;
  gap: 12px;
  align-items: flex-start;
  line-height: 1.55;
  color: var(--rs-ink-soft);
}
.rs-checklist i {
  color: var(--rs-ruby);
  margin-top: 4px;
  font-size: 0.85rem;
}
.rs-checklist--cross i {
  color: var(--rs-muted);
}

.rs-compare {
  width: 100%;
  border-collapse: collapse;
}
.rs-compare th,
.rs-compare td {
  padding: 18px 16px;
  text-align: left;
  border-bottom: 1px solid var(--rs-line-soft);
  font-size: 0.95rem;
}
.rs-compare th {
  font-family: var(--rs-font-d);
  font-size: 0.78rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--rs-muted);
}
.rs-compare td i.fa-check {
  color: var(--rs-ruby);
}
.rs-compare td i.fa-times {
  color: #b9b9c0;
}
.rs-compare td:first-child {
  font-family: var(--rs-font-d);
  font-weight: 600;
}
.rs-compare-wrap {
  overflow-x: auto;
}
.rs-compare--wide {
  min-width: 560px;
}

/* ---------- pricing ---------- */

.rs-pack {
  border: 1px solid var(--rs-line);
  border-radius: var(--rs-radius);
  padding: clamp(28px, 3.4vw, 44px);
  background: var(--rs-paper);
  position: relative;
  display: flex;
  flex-direction: column;
  gap: 22px;
  transition:
    transform 0.3s,
    box-shadow 0.3s,
    border-color 0.3s;
}
.rs-pack:hover {
  transform: translateY(-6px);
  box-shadow: var(--rs-shadow);
  border-color: rgba(217, 32, 56, 0.35);
}
.rs-pack--hot {
  border-color: var(--rs-ruby);
  box-shadow: 0 20px 50px -20px rgba(217, 32, 56, 0.35);
}
.rs-pack-tag {
  position: absolute;
  top: -13px;
  left: 28px;
  background: var(--rs-ruby);
  color: #fff;
  font-family: var(--rs-font-d);
  font-size: 0.68rem;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  padding: 6px 14px;
  border-radius: 999px;
}
.rs-pack-price {
  font-family: var(--rs-font-d);
  font-size: clamp(2rem, 3.4vw, 2.8rem);
  font-weight: 700;
  line-height: 1;
}
.rs-pack-price small {
  font-size: 0.85rem;
  font-weight: 500;
  color: var(--rs-muted);
  letter-spacing: 0;
}
.rs-pack-foot {
  margin-top: auto;
}

.rs-pricelist {
  border: 1px solid var(--rs-line);
  border-radius: var(--rs-radius);
  overflow: hidden;
}
.rs-pricelist-i {
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 18px;
  padding: 22px 28px;
  border-bottom: 1px solid var(--rs-line-soft);
  align-items: center;
  background: var(--rs-paper);
  transition: background 0.25s;
}
.rs-pricelist-i:last-child {
  border-bottom: none;
}
.rs-pricelist-i:hover {
  background: var(--rs-ruby-soft);
}
.rs-pricelist-i h4 {
  margin-bottom: 4px;
}
.rs-pricelist-i p {
  font-size: 0.85rem;
}
.rs-pricelist-price {
  font-family: var(--rs-font-d);
  font-size: 1.3rem;
  font-weight: 700;
  white-space: nowrap;
}
.rs-pricelist-price small {
  display: block;
  font-size: 0.68rem;
  color: var(--rs-muted);
  font-weight: 500;
  letter-spacing: 0.1em;
  text-transform: uppercase;
}

/* ---------- blur reveal ---------- */

.rs-blurtile {
  position: relative;
  overflow: hidden;
  border-radius: var(--rs-radius-s);
  cursor: pointer;
}
.rs-blurtile img {
  width: 100%;
  height: 240px;
  object-fit: cover;
  filter: blur(14px) saturate(1.1);
  transform: scale(1.12);
  transition:
    filter 0.6s ease,
    transform 0.6s ease;
}
.rs-blurtile.is-clear img {
  filter: blur(0);
  transform: scale(1);
}
.rs-blurtile .rs-blurtile-cap {
  position: absolute;
  inset: auto 0 0 0;
  padding: 18px;
  font-family: var(--rs-font-d);
  font-size: 0.8rem;
  font-weight: 600;
  color: #fff;
  background: linear-gradient(transparent, rgba(0, 0, 0, 0.6));
}

/* ---------- masonry ---------- */

.rs-masonry {
  columns: 3;
  column-gap: 20px;
}
.rs-masonry > * {
  break-inside: avoid;
  margin-bottom: 20px;
}

/* ---------- misc components ---------- */

.rs-chipset {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}
.rs-chip {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-family: var(--rs-font-d);
  font-size: 0.75rem;
  font-weight: 600;
  padding: 9px 16px;
  border-radius: 999px;
  border: 1px solid var(--rs-line);
  color: var(--rs-ink-soft);
  background: var(--rs-paper);
}
.rs-chip i {
  color: var(--rs-ruby);
  font-size: 0.7rem;
}
.rs-sec--dark .rs-chip,
.rs-bg-img .rs-chip {
  background: rgba(255, 255, 255, 0.08);
  border-color: rgba(255, 255, 255, 0.16);
  color: rgba(246, 245, 241, 0.85);
}

.rs-bigno {
  font-family: var(--rs-font-d);
  font-weight: 700;
  font-size: clamp(3rem, 7vw, 6rem);
  line-height: 0.95;
  letter-spacing: -0.04em;
}
.rs-bigno em {
  font-style: normal;
  color: var(--rs-ruby);
}

.rs-quoteblock {
  position: relative;
  padding: clamp(30px, 4vw, 60px);
}
.rs-quoteblock::before {
  content: "\201C";
  position: absolute;
  top: -10px;
  left: 8px;
  font-family: var(--rs-font-d);
  font-size: 7rem;
  color: var(--rs-ruby);
  line-height: 1;
  opacity: 0.9;
}
.rs-quoteblock blockquote {
  font-family: var(--rs-font-d);
  font-size: clamp(1.3rem, 2.6vw, 2rem);
  font-weight: 500;
  line-height: 1.35;
  margin: 0 0 18px;
}
.rs-quoteblock cite {
  font-style: normal;
  font-size: 0.85rem;
  color: var(--rs-muted);
  letter-spacing: 0.06em;
}

.rs-kv {
  display: grid;
  grid-template-columns: auto 1fr;
  gap: 8px 20px;
  font-size: 0.92rem;
}
.rs-kv dt {
  font-family: var(--rs-font-d);
  font-weight: 600;
  color: var(--rs-ink);
}
.rs-kv dd {
  margin: 0;
  color: var(--rs-ink-soft);
}

.rs-card-mini {
  border: 1px solid var(--rs-line-soft);
  border-radius: var(--rs-radius-s);
  padding: 26px;
  background: var(--rs-paper);
  display: flex;
  flex-direction: column;
  gap: 14px;
  transition:
    transform 0.3s,
    box-shadow 0.3s;
}
.rs-card-mini:hover {
  transform: translateY(-4px);
  box-shadow: var(--rs-shadow-s);
}
.rs-card-mini .rs-ic {
  width: 46px;
  height: 46px;
  border-radius: 12px;
  background: var(--rs-ruby-soft);
  color: var(--rs-ruby);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.05rem;
}
.rs-card-mini h4 {
  font-size: 1.02rem;
}
.rs-card-mini p {
  font-size: 0.9rem;
}

.rs-sticky {
  position: sticky;
  top: 110px;
}

.rs-tile-clip {
  clip-path: polygon(
    0 0,
    100% 0,
    100% calc(100% - 26px),
    calc(100% - 26px) 100%,
    0 100%
  );
}

.rs-langcloud {
  display: flex;
  flex-wrap: wrap;
  gap: 14px 22px;
  align-items: baseline;
}
.rs-langcloud span {
  font-family: var(--rs-font-d);
  font-weight: 600;
  color: var(--rs-ink-soft);
}
.rs-langcloud span:nth-child(3n) {
  font-size: 1.6rem;
  color: var(--rs-ink);
}
.rs-langcloud span:nth-child(4n) {
  color: var(--rs-ruby);
}

.rs-scroll-x {
  display: flex;
  gap: 18px;
  overflow-x: auto;
  scroll-snap-type: x mandatory;
  padding-bottom: 14px;
  -webkit-overflow-scrolling: touch;
}
.rs-scroll-x > * {
  flex: 0 0 78%;
  scroll-snap-align: start;
}
.rs-scroll-x::-webkit-scrollbar {
  height: 4px;
}
.rs-scroll-x::-webkit-scrollbar-thumb {
  background: var(--rs-line);
  border-radius: 2px;
}

.rs-switch {
  position: relative;
  width: 64px;
  height: 34px;
  border-radius: 999px;
  border: 1px solid var(--rs-line);
  background: var(--rs-steel);
  cursor: pointer;
  transition: background 0.3s;
}
.rs-switch::after {
  content: "";
  position: absolute;
  top: 3px;
  left: 4px;
  width: 26px;
  height: 26px;
  border-radius: 50%;
  background: #fff;
  box-shadow: 0 2px 6px rgba(0, 0, 0, 0.2);
  transition: transform 0.3s;
}
.rs-switch.is-on {
  background: var(--rs-ruby);
  border-color: var(--rs-ruby);
}
.rs-switch.is-on::after {
  transform: translateX(29px);
}

/* ---------- forms ---------- */

.rs-form {
  display: grid;
  gap: 20px;
}
.rs-form-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 20px;
}
.rs-field {
  display: grid;
  gap: 8px;
}
.rs-field label {
  font-family: var(--rs-font-d);
  font-size: 0.78rem;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--rs-ink-soft);
}
.rs-inp,
.rs-sel,
.rs-ta {
  width: 100%;
  font-family: var(--rs-font-b);
  font-size: 0.95rem;
  color: var(--rs-ink);
  background: var(--rs-paper);
  border: 1px solid var(--rs-line);
  border-radius: var(--rs-radius-s);
  padding: 15px 18px;
  outline: none;
  transition:
    border-color 0.25s,
    box-shadow 0.25s;
}
.rs-inp:focus,
.rs-sel:focus,
.rs-ta:focus {
  border-color: var(--rs-ruby);
  box-shadow: 0 0 0 4px rgba(217, 32, 56, 0.1);
}
.rs-ta {
  min-height: 140px;
  resize: vertical;
}
.rs-field.is-error .rs-inp,
.rs-field.is-error .rs-ta,
.rs-field.is-error .rs-sel {
  border-color: var(--rs-ruby);
}
.rs-err {
  font-size: 0.78rem;
  color: var(--rs-ruby);
  display: none;
}
.rs-field.is-error .rs-err {
  display: block;
}
.rs-consent {
  display: flex;
  gap: 12px;
  align-items: flex-start;
  font-size: 0.85rem;
  color: var(--rs-ink-soft);
}
.rs-consent input {
  width: 18px;
  height: 18px;
  margin-top: 2px;
  accent-color: var(--rs-ruby);
}
.rs-consent a {
  color: var(--rs-ruby);
  text-decoration: underline;
}
.rs-hp {
  position: absolute;
  left: -9999px;
  opacity: 0;
  height: 0;
  width: 0;
  overflow: hidden;
}
.rs-spinner {
  width: 20px;
  height: 20px;
  border: 3px solid rgba(255, 255, 255, 0.35);
  border-top-color: #fff;
  border-radius: 50%;
  animation: rs-spin 0.8s linear infinite;
  display: none;
}
@keyframes rs-spin {
  to {
    transform: rotate(360deg);
  }
}
.rs-btn.is-loading .rs-spinner {
  display: inline-block;
}

.rs-toast {
  position: fixed;
  bottom: 28px;
  right: 28px;
  z-index: 99998;
  background: var(--rs-ink);
  color: #fff;
  font-family: var(--rs-font-d);
  font-size: 0.88rem;
  font-weight: 500;
  padding: 16px 22px;
  border-radius: 12px;
  box-shadow: var(--rs-shadow);
  display: flex;
  align-items: center;
  gap: 12px;
  transform: translateY(140%);
  opacity: 0;
  transition:
    transform 0.45s cubic-bezier(0.3, 0.9, 0.3, 1),
    opacity 0.45s;
  max-width: 360px;
}
.rs-toast.is-show {
  transform: none;
  opacity: 1;
}
.rs-toast i {
  color: #ff8a98;
}

/* ---------- cookie banner ---------- */

.rs-cookie {
  position: fixed;
  z-index: 99999;
  left: 50%;
  bottom: 24px;
  transform: translate(-50%, 140%);
  width: min(720px, calc(100% - 32px));
  background: var(--rs-paper);
  border: 1px solid var(--rs-line);
  border-radius: 20px;
  box-shadow: 0 30px 80px -20px rgba(23, 23, 29, 0.35);
  padding: 24px 28px;
  display: flex;
  align-items: center;
  gap: 24px;
  opacity: 0;
  transition:
    transform 0.5s cubic-bezier(0.3, 0.9, 0.3, 1),
    opacity 0.5s;
}
.rs-cookie.is-show {
  transform: translate(-50%, 0);
  opacity: 1;
}
.rs-cookie-ic {
  flex: 0 0 auto;
  width: 46px;
  height: 46px;
  border-radius: 14px;
  background: var(--rs-ruby-soft);
  color: var(--rs-ruby);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.1rem;
}
.rs-cookie p {
  font-size: 0.85rem;
  line-height: 1.55;
  flex: 1;
}
.rs-cookie p strong {
  display: block;
  font-family: var(--rs-font-d);
  color: var(--rs-ink);
  margin-bottom: 3px;
}
.rs-cookie-btns {
  display: flex;
  gap: 10px;
  flex: 0 0 auto;
}
.rs-cookie .rs-btn {
  padding: 11px 20px;
  font-size: 0.78rem;
}

/* ---------- header ---------- */

.rubysquareau-topbar {
  background: var(--rs-ink);
  color: rgba(246, 245, 241, 0.8);
  font-size: 0.78rem;
  padding: 8px 0;
}
.rubysquareau-topbar .rs-wrap {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
}
.rubysquareau-topbar i {
  color: var(--rs-ruby);
  margin-right: 7px;
  font-size: 0.7rem;
}
.rubysquareau-topbar span {
  white-space: nowrap;
}

.rubysquareau-header {
  position: sticky;
  top: 0;
  z-index: 9990;
  background: rgba(250, 249, 246, 0.9);
  backdrop-filter: blur(14px);
  border-bottom: 1px solid var(--rs-line-soft);
  transition: box-shadow 0.3s;
}
.rubysquareau-header.is-scrolled {
  box-shadow: 0 10px 30px -14px rgba(23, 23, 29, 0.15);
}
.rubysquareau-header .rs-wrap {
  display: flex;
  align-items: center;
  gap: 28px;
  height: 74px;
}
.rubysquareau-logo {
  display: flex;
  align-items: center;
  gap: 12px;
  flex: 0 0 auto;
}
.rubysquareau-logo img {
  height: 42px;
  width: 42px;
  object-fit: cover;
  object-position: center 40%;
  border-radius: 10px;
}
.rubysquareau-logo strong {
  font-family: var(--rs-font-d);
  font-size: 1.05rem;
  letter-spacing: -0.01em;
}
.rubysquareau-logo strong em {
  font-style: normal;
  color: var(--rs-ruby);
}
.rubysquareau-nav {
  flex: 1;
  display: flex;
  justify-content: center;
}
.rubysquareau-nav ul {
  display: flex;
  gap: 4px;
  list-style: none;
  margin: 0;
  padding: 0;
}
.rubysquareau-nav a {
  font-family: var(--rs-font-d);
  font-size: 0.8rem;
  font-weight: 600;
  letter-spacing: 0.02em;
  padding: 10px 13px;
  border-radius: 999px;
  color: var(--rs-ink-soft);
  transition:
    color 0.2s,
    background 0.2s;
  white-space: nowrap;
}
.rubysquareau-nav a:hover {
  color: var(--rs-ink);
  background: var(--rs-ruby-soft);
}
.rubysquareau-nav a.rs-nav-svc {
  color: var(--rs-ruby);
}
.rubysquareau-cta {
  flex: 0 0 auto;
}
.rubysquareau-cta .rs-btn {
  padding: 11px 20px;
  font-size: 0.78rem;
}
.rubysquareau-burger {
  display: none;
  width: 46px;
  height: 46px;
  border-radius: 12px;
  border: 1px solid var(--rs-line);
  align-items: center;
  justify-content: center;
  font-size: 1rem;
  cursor: pointer;
  color: var(--rs-ink);
  background: var(--rs-paper);
}

.rubysquareau-mobile-menu {
  position: fixed;
  inset: 0;
  z-index: 99995;
  background: var(--rs-bg);
  padding: 24px;
  transform: translateX(100%);
  transition: transform 0.45s cubic-bezier(0.6, 0, 0.2, 1);
  display: flex;
  flex-direction: column;
  overflow-y: auto;
}
.rubysquareau-mobile-menu.is-open {
  transform: none;
}
.rs-mm-top {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 34px;
}
.rs-mm-close {
  width: 46px;
  height: 46px;
  border-radius: 12px;
  border: 1px solid var(--rs-line);
  background: var(--rs-paper);
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  font-size: 1rem;
}
.rubysquareau-mobile-nav ul {
  list-style: none;
  padding: 0;
  margin: 0;
  display: grid;
}
.rubysquareau-mobile-nav a {
  display: flex;
  align-items: center;
  justify-content: space-between;
  font-family: var(--rs-font-d);
  font-size: 1.5rem;
  font-weight: 600;
  padding: 16px 4px;
  border-bottom: 1px solid var(--rs-line-soft);
}
.rubysquareau-mobile-nav a i {
  font-size: 0.8rem;
  color: var(--rs-ruby);
}
.rubysquareau-mobile-nav a.rs-nav-svc {
  color: var(--rs-ruby);
}
.rubysquareau-mobile-contacts {
  margin-top: auto;
  padding-top: 30px;
  display: grid;
  gap: 12px;
  font-size: 0.9rem;
  color: var(--rs-ink-soft);
}
.rubysquareau-mobile-contacts i {
  color: var(--rs-ruby);
  width: 20px;
}

/* ---------- footer ---------- */

.rubysquareau-footer {
  background: var(--rs-ink);
  color: rgba(246, 245, 241, 0.72);
  margin-top: auto;
}
.rubysquareau-footer a {
  transition: color 0.2s;
}
.rubysquareau-footer a:hover {
  color: #fff;
}
.rs-foot-top {
  padding: clamp(56px, 7vw, 96px) 0 40px;
  display: grid;
  grid-template-columns: 1.4fr 1fr 1fr 1fr;
  gap: clamp(30px, 4vw, 60px);
}
.rs-foot-brand > img {
  width: min(190px, 62%);
  height: auto;
  background: var(--rs-paper);
  padding: 14px 18px;
  border-radius: var(--rs-radius-s);
  margin-bottom: 22px;
}
.rs-foot-brand p {
  color: rgba(246, 245, 241, 0.6);
  font-size: 0.92rem;
  max-width: 340px;
}
.rs-foot-socials {
  display: flex;
  gap: 10px;
  margin-top: 24px;
}
.rs-foot-socials a {
  width: 42px;
  height: 42px;
  border-radius: 50%;
  border: 1px solid rgba(255, 255, 255, 0.16);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 0.9rem;
  color: rgba(246, 245, 241, 0.8);
  transition:
    background 0.25s,
    color 0.25s,
    border-color 0.25s;
}
.rs-foot-socials a:hover {
  background: var(--rs-ruby);
  border-color: var(--rs-ruby);
  color: #fff;
}
.rs-foot-col h5 {
  font-family: var(--rs-font-d);
  font-size: 0.74rem;
  font-weight: 700;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: #fff;
  margin: 0 0 22px;
}
.rs-foot-col ul {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  gap: 12px;
  font-size: 0.9rem;
}
.rs-foot-contact {
  display: grid;
  gap: 16px;
  font-size: 0.9rem;
}
.rs-foot-contact div {
  display: flex;
  gap: 12px;
  align-items: flex-start;
  line-height: 1.55;
}
.rs-foot-contact i {
  color: var(--rs-ruby);
  margin-top: 4px;
  width: 16px;
  text-align: center;
}
.rs-foot-contact a {
  color: rgba(246, 245, 241, 0.72);
}
.rs-foot-games {
  margin-top: 8px;
  border-radius: var(--rs-radius-s);
  overflow: hidden;
  border: 1px solid rgba(255, 255, 255, 0.1);
  display: grid;
  grid-template-columns: 64px 1fr;
  align-items: center;
  gap: 0;
}
.rs-foot-games img {
  width: 64px;
  height: 64px;
  object-fit: cover;
}
.rs-foot-games div {
  padding: 10px 14px;
  font-size: 0.8rem;
}
.rs-foot-games strong {
  color: #fff;
  display: block;
  font-family: var(--rs-font-d);
}
.rs-foot-legal {
  border-top: 1px solid rgba(255, 255, 255, 0.1);
  padding: 26px 0;
  display: flex;
  flex-wrap: wrap;
  gap: 14px 30px;
  font-size: 0.8rem;
  color: rgba(246, 245, 241, 0.5);
  align-items: center;
  justify-content: space-between;
}
.rs-foot-legal nav {
  display: flex;
  flex-wrap: wrap;
  gap: 6px 22px;
}
.rs-foot-giant {
  overflow: hidden;
  padding: 10px 0 0;
}
.rs-foot-giant span {
  display: block;
  font-family: var(--rs-font-d);
  font-weight: 700;
  font-size: clamp(3.4rem, 12.5vw, 11.5rem);
  letter-spacing: -0.03em;
  line-height: 0.85;
  text-align: center;
  color: transparent;
  -webkit-text-stroke: 1px rgba(246, 245, 241, 0.16);
  white-space: nowrap;
  transform: translateY(0.12em);
}
.rs-foot-copy {
  border-top: 1px solid rgba(255, 255, 255, 0.1);
  padding: 20px 0 26px;
  font-size: 0.78rem;
  color: rgba(246, 245, 241, 0.45);
  display: flex;
  justify-content: space-between;
  gap: 14px;
  flex-wrap: wrap;
}
.rs-totop {
  position: fixed;
  right: 22px;
  bottom: 22px;
  z-index: 9980;
  width: 52px;
  height: 52px;
  border-radius: 50%;
  background: var(--rs-ruby);
  color: #fff;
  border: none;
  display: none;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  box-shadow: 0 14px 34px -10px rgba(217, 32, 56, 0.6);
}
.rs-totop.is-show {
  display: flex;
}

/* ---------- section-specific ---------- */

/* hero */
.sec-hero {
  padding: 0;
  min-height: calc(100vh - 74px);
  display: flex;
  flex-direction: column;
}
.sec-hero .rs-slides {
  flex: 1;
}
.hero-slide {
  min-height: calc(100vh - 74px);
  display: grid;
  grid-template-columns: 1.05fr 0.95fr;
}
.hero-left {
  padding: clamp(40px, 6vw, 90px) clamp(18px, 4vw, 56px);
  display: flex;
  flex-direction: column;
  justify-content: center;
  border-right: 1px solid var(--rs-line-soft);
  position: relative;
}
.hero-right {
  position: relative;
  min-height: 420px;
  background-size: cover;
  background-position: center;
  display: flex;
  align-items: flex-end;
}
.hero-right .hero-right-in {
  padding: 40px;
  position: relative;
  z-index: 2;
}
.hero-ctas {
  display: flex;
  gap: 14px;
  flex-wrap: wrap;
  margin-top: 34px;
}
.hero-rating {
  position: absolute;
  top: 32px;
  right: 32px;
  z-index: 3;
}
.hero-scroll {
  position: absolute;
  bottom: 28px;
  left: clamp(18px, 4vw, 56px);
  font-family: var(--rs-font-d);
  font-size: 0.72rem;
  letter-spacing: 0.24em;
  text-transform: uppercase;
  color: var(--rs-muted);
  display: flex;
  align-items: center;
  gap: 12px;
  z-index: 4;
}
.hero-scroll::after {
  content: "";
  width: 44px;
  height: 1px;
  background: var(--rs-ruby);
}
.hero-slide-idx {
  position: absolute;
  top: 32px;
  left: clamp(18px, 4vw, 56px);
  font-family: var(--rs-font-d);
  font-size: 0.75rem;
  letter-spacing: 0.3em;
  color: var(--rs-muted);
}

/* manifesto */
.manifesto-grid {
  display: grid;
  grid-template-columns: 1.2fr 0.8fr;
  gap: clamp(30px, 5vw, 80px);
}
.manifesto-lead {
  font-family: var(--rs-font-d);
  font-size: clamp(1.35rem, 2.6vw, 2rem);
  line-height: 1.4;
  font-weight: 500;
}
.manifesto-lead::first-letter {
  font-size: 2.6em;
  float: left;
  line-height: 0.85;
  padding-right: 12px;
  color: var(--rs-ruby);
  font-weight: 700;
}
.manifesto-steps {
  display: grid;
  gap: 0;
  margin-top: 48px;
}
.manifesto-step {
  display: grid;
  grid-template-columns: 90px 1fr;
  gap: 24px;
  padding: 28px 0;
  border-top: 1px solid var(--rs-line);
}
.manifesto-step:last-child {
  border-bottom: 1px solid var(--rs-line);
}
.manifesto-step:nth-child(2) {
  margin-left: clamp(0px, 6vw, 90px);
}
.manifesto-step:nth-child(3) {
  margin-left: clamp(0px, 12vw, 180px);
}
.manifesto-step .ms-n {
  font-family: var(--rs-font-d);
  font-size: 0.8rem;
  color: var(--rs-muted);
  letter-spacing: 0.14em;
  padding-top: 5px;
}

/* bento */
.bento {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  grid-auto-rows: 210px;
  gap: 16px;
}
.bento-i {
  border-radius: var(--rs-radius-s);
  padding: 28px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  position: relative;
  overflow: hidden;
}
.bento-i--tall {
  grid-row: span 2;
}
.bento-i--wide {
  grid-column: span 2;
}
.bento-i--ink {
  background: var(--rs-ink);
  color: #fff;
}
.bento-i--ink p {
  color: rgba(255, 255, 255, 0.65);
}
.bento-i--paper {
  background: var(--rs-paper);
  border: 1px solid var(--rs-line-soft);
}
.bento-i--ruby {
  background: linear-gradient(135deg, var(--rs-ruby), var(--rs-ruby-deep));
  color: #fff;
}
.bento-i--ruby p {
  color: rgba(255, 255, 255, 0.75);
}
.bento-i--img {
  color: #fff;
}
.bento-i h4 {
  font-size: 1.15rem;
  position: relative;
  z-index: 2;
}
.bento-i p {
  font-size: 0.88rem;
  position: relative;
  z-index: 2;
}
.bento-bars {
  display: flex;
  align-items: flex-end;
  gap: 8px;
  height: 90px;
}
.bento-bars span {
  flex: 1;
  background: rgba(255, 255, 255, 0.25);
  border-radius: 3px 3px 0 0;
}
.bento-bars span:nth-child(1) {
  height: 35%;
}
.bento-bars span:nth-child(2) {
  height: 55%;
}
.bento-bars span:nth-child(3) {
  height: 92%;
  background: var(--rs-ruby);
}
.bento-bars span:nth-child(4) {
  height: 70%;
}
.bento-bars span:nth-child(5) {
  height: 48%;
}
.bento-corner {
  position: absolute;
  bottom: 22px;
  right: 24px;
  font-family: var(--rs-font-d);
  font-size: 0.72rem;
  letter-spacing: 0.16em;
  opacity: 0.6;
  z-index: 2;
}
.bento-big {
  font-family: var(--rs-font-d);
  font-size: clamp(2.2rem, 4vw, 3.4rem);
  font-weight: 700;
  line-height: 1;
}

/* rotation showcase board */
.rotate-board {
  aspect-ratio: 1/1;
  max-width: 480px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  grid-template-rows: repeat(4, 1fr);
  gap: 8px;
  padding: 14px;
  border: 1px solid rgba(255, 255, 255, 0.16);
  border-radius: var(--rs-radius);
  background: rgba(255, 255, 255, 0.04);
}
.rotate-cell {
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.08);
  border: 1px solid rgba(255, 255, 255, 0.1);
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: var(--rs-font-d);
  color: rgba(255, 255, 255, 0.35);
  font-size: 0.8rem;
  overflow: hidden;
  position: relative;
}
.rotate-cell img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.rotate-cell--ruby {
  background: linear-gradient(135deg, var(--rs-ruby), var(--rs-ruby-deep));
  border-color: transparent;
  color: #fff;
}
.rotate-cell--ink {
  background: rgba(255, 255, 255, 0.9);
  color: var(--rs-ink);
}

/* steps ziggurat */
.zig {
  display: grid;
  gap: 18px;
}
.zig-i {
  display: grid;
  grid-template-columns: 70px 1fr auto;
  gap: 22px;
  align-items: center;
  padding: 24px 28px;
  border: 1px solid var(--rs-line-soft);
  border-radius: var(--rs-radius-s);
  background: var(--rs-paper);
}
.zig-i:nth-child(2) {
  margin-left: clamp(0px, 4vw, 60px);
}
.zig-i:nth-child(3) {
  margin-left: clamp(0px, 8vw, 120px);
}
.zig-i:nth-child(4) {
  margin-left: clamp(0px, 12vw, 180px);
}
.zig-n {
  font-family: var(--rs-font-d);
  font-size: 1.8rem;
  font-weight: 700;
  color: var(--rs-ruby);
}
.zig-i p {
  font-size: 0.9rem;
}

/* map embed */
.rs-map {
  border: 0;
  width: 100%;
  height: 420px;
  border-radius: var(--rs-radius);
  display: block;
  filter: grayscale(0.35) contrast(1.02);
}
.rs-map-wrap {
  border-radius: var(--rs-radius);
  overflow: hidden;
  border: 1px solid var(--rs-line-soft);
  box-shadow: var(--rs-shadow-s);
}

/* multi-step form */
.rs-steps-bar {
  display: flex;
  gap: 8px;
  margin-bottom: 30px;
}
.rs-steps-bar span {
  height: 4px;
  flex: 1;
  border-radius: 2px;
  background: var(--rs-steel);
  transition: background 0.3s;
}
.rs-steps-bar span.is-done {
  background: var(--rs-ruby);
}
.rs-fstep {
  display: none;
}
.rs-fstep.is-active {
  display: grid;
  gap: 20px;
}
.rs-fstep-title {
  font-family: var(--rs-font-d);
  font-weight: 600;
  font-size: 1.15rem;
  display: flex;
  align-items: center;
  gap: 12px;
}
.rs-fstep-title i {
  color: var(--rs-ruby);
}
.rs-optgrid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 12px;
}
.rs-opt {
  border: 1px solid var(--rs-line);
  border-radius: var(--rs-radius-s);
  padding: 18px;
  cursor: pointer;
  display: flex;
  gap: 12px;
  align-items: center;
  font-size: 0.9rem;
  font-weight: 500;
  transition:
    border-color 0.25s,
    background 0.25s;
  background: var(--rs-paper);
}
.rs-opt i {
  color: var(--rs-ruby);
}
.rs-opt:hover {
  border-color: var(--rs-ruby);
}
.rs-opt input {
  position: absolute;
  opacity: 0;
  pointer-events: none;
}
.rs-opt:has(input:checked) {
  border-color: var(--rs-ruby);
  background: var(--rs-ruby-soft);
}

/* qr */
.qr-podium {
  position: relative;
  width: min(340px, 80vw);
  aspect-ratio: 1/1;
  margin: 0 auto;
  display: flex;
  align-items: center;
  justify-content: center;
}
.qr-frame {
  width: 62%;
  aspect-ratio: 1/1;
  background: var(--rs-paper);
  border-radius: var(--rs-radius-s);
  overflow: hidden;
  border: 1px solid var(--rs-line);
  box-shadow: var(--rs-shadow);
  position: relative;
  z-index: 2;
}
.qr-frame img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.qr-deco {
  position: absolute;
  border: 1px solid var(--rs-line);
  border-radius: 8px;
}
.qr-deco--a {
  width: 30%;
  height: 30%;
  top: 4%;
  left: 2%;
  background: var(--rs-ruby-soft);
}
.qr-deco--b {
  width: 22%;
  height: 22%;
  bottom: 6%;
  right: 4%;
  background: var(--rs-ink);
}
.qr-deco--c {
  width: 16%;
  height: 16%;
  top: 10%;
  right: 10%;
  background: var(--rs-ruby);
}

/* faq side frame */
.faq-split {
  display: grid;
  grid-template-columns: 0.9fr 1.1fr;
  gap: clamp(28px, 4vw, 64px);
  align-items: start;
}

/* device frames */
.dev-stack {
  position: relative;
  height: 480px;
}
.dev-frame {
  position: absolute;
  border-radius: 20px;
  overflow: hidden;
  border: 6px solid var(--rs-ink);
  background: var(--rs-steel);
  box-shadow: var(--rs-shadow);
}
.dev-frame img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.dev-frame--phone {
  width: 190px;
  height: 400px;
  left: 8%;
  top: 40px;
  z-index: 3;
}
.dev-frame--fold {
  width: 300px;
  height: 240px;
  left: 34%;
  top: 20px;
  z-index: 2;
}
.dev-frame--tab {
  width: 380px;
  height: 280px;
  left: 40%;
  top: 150px;
  z-index: 1;
}

/* parallax cols */
.parallax-cols {
  display: grid;
  grid-template-columns: 1fr 0.7fr 1fr;
  gap: clamp(24px, 4vw, 60px);
  align-items: center;
}
.parallax-center {
  position: sticky;
  top: 34vh;
}

/* sitemap nav in footer handled by rs-foot */

/* blog cards */
.rs-post {
  display: grid;
  grid-template-columns: 1fr;
  border: 1px solid var(--rs-line-soft);
  border-radius: var(--rs-radius);
  overflow: hidden;
  background: var(--rs-paper);
  transition:
    transform 0.3s,
    box-shadow 0.3s;
}
.rs-post:hover {
  transform: translateY(-5px);
  box-shadow: var(--rs-shadow);
}
.rs-post-img {
  height: 210px;
  overflow: hidden;
  background: var(--rs-steel);
}
.rs-post-img img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.6s ease;
}
.rs-post:hover .rs-post-img img {
  transform: scale(1.06);
}
.rs-post-body {
  padding: 26px;
  display: grid;
  gap: 12px;
}
.rs-post-meta {
  display: flex;
  gap: 14px;
  font-size: 0.74rem;
  font-family: var(--rs-font-d);
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--rs-muted);
}
.rs-post-meta i {
  color: var(--rs-ruby);
  margin-right: 5px;
}
.rs-post h3 {
  font-size: 1.2rem;
  line-height: 1.3;
}
.rs-post p {
  font-size: 0.9rem;
}

/* service cards */
.rs-svc-card {
  position: relative;
  border: 1px solid var(--rs-line-soft);
  border-radius: var(--rs-radius);
  padding: 30px;
  background: var(--rs-paper);
  display: grid;
  gap: 16px;
  align-content: start;
  transition:
    border-color 0.3s,
    transform 0.3s,
    box-shadow 0.3s;
  overflow: hidden;
}
.rs-svc-card:hover {
  border-color: rgba(217, 32, 56, 0.4);
  transform: translateY(-5px);
  box-shadow: var(--rs-shadow-s);
}
.rs-svc-card .rs-svc-idx {
  font-family: var(--rs-font-d);
  font-size: 0.75rem;
  letter-spacing: 0.2em;
  color: var(--rs-muted);
}
.rs-svc-card h3 {
  font-size: 1.3rem;
}
.rs-svc-card .rs-svc-price {
  font-family: var(--rs-font-d);
  font-weight: 700;
  color: var(--rs-ruby);
  font-size: 1.05rem;
}
.rs-svc-card .rs-svc-go {
  position: absolute;
  top: 26px;
  right: 26px;
  width: 40px;
  height: 40px;
  border-radius: 50%;
  border: 1px solid var(--rs-line);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 0.75rem;
  transition:
    background 0.3s,
    color 0.3s;
}
.rs-svc-card:hover .rs-svc-go {
  background: var(--rs-ruby);
  color: #fff;
  border-color: var(--rs-ruby);
}

/* big cta band */
.cta-band {
  text-align: center;
  position: relative;
}
.cta-band .rs-bigno {
  font-size: clamp(2.6rem, 8vw, 7rem);
}

/* review wall */
.review-cascade {
  display: grid;
  grid-template-columns: repeat(6, 1fr);
  gap: 16px;
}
.review-b {
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: var(--rs-radius-s);
  padding: 26px;
  background: rgba(255, 255, 255, 0.04);
}
.review-b p {
  font-size: 0.92rem;
  color: rgba(246, 245, 241, 0.8);
}
.review-b .rev-meta {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-top: 18px;
  font-size: 0.75rem;
  color: rgba(246, 245, 241, 0.5);
  font-family: var(--rs-font-d);
}
.review-b--a {
  grid-column: span 3;
}
.review-b--b {
  grid-column: span 3;
}
.review-b--c {
  grid-column: span 2;
}
.review-b--d {
  grid-column: span 2;
}
.review-b--e {
  grid-column: span 2;
}

/* hex trophies */
.hexgrid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 18px;
}
.hex-i {
  aspect-ratio: 1/1;
  border: 1px solid rgba(255, 255, 255, 0.14);
  border-radius: 16px;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 12px;
  text-align: center;
  padding: 20px;
  background: rgba(255, 255, 255, 0.03);
  transition:
    border-color 0.3s,
    background 0.3s;
}
.hex-i:hover {
  border-color: var(--rs-ruby);
  background: rgba(217, 32, 56, 0.12);
}
.hex-i i {
  font-size: 1.5rem;
  color: var(--rs-ruby);
}
.hex-i span {
  font-family: var(--rs-font-d);
  font-size: 0.78rem;
  font-weight: 600;
  color: rgba(246, 245, 241, 0.85);
}
.hex-i--locked {
  opacity: 0.45;
}

/* terminal */
.rs-term {
  background: var(--rs-dark-2);
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: var(--rs-radius-s);
  padding: 22px 26px;
  font-family: "SFMono-Regular", Consolas, monospace;
  font-size: 0.85rem;
  color: #9fe870;
  overflow-x: auto;
}
.rs-term .t-dim {
  color: rgba(255, 255, 255, 0.4);
}
.rs-term .t-ruby {
  color: #ff8a98;
}

/* spec table */
.rs-spec {
  width: 100%;
  border-collapse: collapse;
}
.rs-spec td {
  padding: 16px 8px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.1);
  font-size: 0.9rem;
}
.rs-spec td:first-child {
  color: rgba(246, 245, 241, 0.55);
  font-family: var(--rs-font-d);
  font-size: 0.78rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}
.rs-spec td:last-child {
  text-align: right;
  color: #fff;
  font-weight: 600;
}

/* toc */
.rs-toc {
  border: 1px solid var(--rs-line-soft);
  border-radius: var(--rs-radius);
  padding: 28px;
  background: var(--rs-paper);
}
.rs-toc ol {
  margin: 0;
  padding-left: 20px;
  display: grid;
  gap: 10px;
  font-size: 0.92rem;
}
.rs-toc a {
  color: var(--rs-ink-soft);
}
.rs-toc a:hover {
  color: var(--rs-ruby);
}

/* legal body */
.legal-body h3 {
  margin: 40px 0 14px;
}
.legal-body p + p {
  margin-top: 12px;
}
.legal-body ul {
  margin: 12px 0;
  padding-left: 22px;
  display: grid;
  gap: 8px;
  color: var(--rs-ink-soft);
  line-height: 1.65;
}

/* thank-you */
.ty-ic {
  width: 90px;
  height: 90px;
  border-radius: 50%;
  background: var(--rs-ruby-soft);
  color: var(--rs-ruby);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 2rem;
  margin: 0 auto 26px;
}

/* ---------- utilities ---------- */

.rs-mt0 {
  margin-top: 0;
}
.rs-mt1 {
  margin-top: 10px;
}
.rs-mt2 {
  margin-top: 16px;
}
.rs-mt3 {
  margin-top: 24px;
}
.rs-mt4 {
  margin-top: 34px;
}
.rs-mt5 {
  margin-top: 44px;
}
.rs-mb1 {
  margin-bottom: 10px;
}
.rs-mb2 {
  margin-bottom: 16px;
}
.rs-mb3 {
  margin-bottom: 26px;
}
.rs-mb4 {
  margin-bottom: 34px;
}
.rs-mb5 {
  margin-bottom: 44px;
}
.rs-mv2 {
  margin-top: 14px;
  margin-bottom: 20px;
}
.rs-mr1 {
  margin-right: 10px;
}

.rs-tc {
  text-align: center;
}
.rs-tl {
  text-align: left;
}
.rs-white {
  color: #fff !important;
}
.rs-white-80 {
  color: rgba(255, 255, 255, 0.8) !important;
}
.rs-white-70 {
  color: rgba(255, 255, 255, 0.7) !important;
}
.rs-white-60 {
  color: rgba(255, 255, 255, 0.6) !important;
}
.rs-white-55 {
  color: rgba(255, 255, 255, 0.55) !important;
}
.rs-ruby {
  color: var(--rs-ruby) !important;
}
.rs-u {
  text-decoration: underline;
}
.rs-nowrap {
  white-space: nowrap;
}

.rs-h240 {
  height: 240px;
}
.rs-h260 {
  height: 260px;
}
.rs-h280 {
  height: 280px;
}
.rs-h300 {
  height: 300px;
}
.rs-h340 {
  height: 340px;
}
.rs-h400 {
  height: 400px;
}
.rs-mh-220 {
  min-height: 220px;
}
.rs-mh-260 {
  min-height: 260px;
}
.rs-mh-280 {
  min-height: 280px;
}
.rs-mh-340 {
  min-height: 340px;
}
.rs-mh-420 {
  min-height: 420px;
}

.rs-p2 {
  padding: 18px;
}
.rs-p3 {
  padding: 24px;
}
.rs-p4 {
  padding: 34px;
}

.rs-flex {
  display: flex;
}
.rs-flex-gap {
  display: flex;
  gap: 24px;
}
.rs-flex-gap-s {
  display: flex;
  gap: 14px;
  flex-wrap: wrap;
}
.rs-aic {
  align-items: center;
}
.rs-aie {
  align-items: flex-end;
}
.rs-ais {
  align-items: flex-start;
}
.rs-jcc {
  justify-content: center;
}
.rs-jcb {
  justify-content: space-between;
}
.rs-fdc {
  flex-direction: column;
}
.rs-fw {
  flex-wrap: wrap;
}

.rs-mw-380 {
  max-width: 380px;
}
.rs-mw-480 {
  max-width: 480px;
}
.rs-mw-560 {
  max-width: 560px;
}
.rs-mw-640 {
  max-width: 640px;
}
.rs-mw-760 {
  max-width: 760px;
}
.rs-mc {
  margin-left: auto;
  margin-right: auto;
}

.rs-fs-xs {
  font-size: 0.78rem;
}
.rs-fs-s {
  font-size: 0.85rem;
}
.rs-fs-m {
  font-size: 0.95rem;
}
.rs-ic-lg {
  font-size: 1.5rem;
  color: var(--rs-ruby);
}
.rs-ic-xl {
  font-size: 2.2rem;
  color: var(--rs-ruby);
}
.rs-bigno--s {
  font-size: 2.4rem;
}
.rs-cta-huge {
  font-size: clamp(2.6rem, 7vw, 6rem);
}
.rs-quote-fs {
  font-family: var(--rs-font-d);
  font-size: 1.25rem;
  line-height: 1.5;
  margin: 18px 0 14px;
}
.rs-lead-c {
  max-width: 560px;
  margin: 22px auto 0;
}
.rs-center-n {
  margin: 40px auto 0;
  max-width: 640px;
  text-align: center;
}
.rs-dn {
  display: none;
}

.bento-i--img {
  background-size: cover;
  background-position: center;
}
.rotate-board--3 {
  grid-template-columns: repeat(3, 1fr);
  grid-template-rows: repeat(3, 1fr);
}
.rs-node--auto {
  grid-template-columns: auto 1fr;
}
.rs-card-mini--ghost {
  background: rgba(255, 255, 255, 0.04);
  border-color: rgba(255, 255, 255, 0.12);
}
.rs-card-mini--accent {
  border-color: rgba(217, 32, 56, 0.4);
}
.rs-term .t-white {
  color: #fff;
}
.rs-ic-xxl {
  font-size: 4rem;
}
.rs-thumb-v {
  width: 120px;
  height: 76px;
  flex: 0 0 auto;
}
.rs-as-fs {
  align-self: flex-start;
}
.rs-frame--accent {
  border-color: var(--rs-ruby) !important;
}
.rs-grad-1 {
  height: 56px;
  background: linear-gradient(135deg, #d92038, #a31621);
}
.rs-grad-2 {
  height: 56px;
  background: linear-gradient(135deg, #17171d, #3d3d47);
}
.rs-grad-3 {
  height: 56px;
  background: linear-gradient(135deg, #faf9f6, #e9e9ec);
}
.rs-sq1 {
  color: #d92038;
}
.rs-sq2 {
  color: #2563eb;
}
.rs-sq3 {
  color: #0891b2;
}
.rs-sq4 {
  color: #be185d;
}
.rs-sq5 {
  color: #475569;
}
.rs-sq6 {
  color: #0d9488;
}
.rs-overlap {
  position: relative;
  height: 480px;
}
.rs-overlap-a {
  position: absolute;
  width: 62%;
  height: 72%;
  top: 0;
  left: 0;
  z-index: 2;
}
.rs-overlap-b {
  position: absolute;
  width: 52%;
  height: 60%;
  bottom: 0;
  right: 0;
  z-index: 1;
}

.rs-vlist {
  display: grid;
  gap: 12px;
}
.rs-vlist-s {
  display: grid;
  gap: 8px;
}
.rs-w100 {
  width: 100%;
}

/* ---------- responsive ---------- */

@media (max-width: 1180px) {
  .rubysquareau-nav a {
    padding: 10px 9px;
    font-size: 0.76rem;
  }
  .dev-frame--tab {
    left: 30%;
  }
}

@media (max-width: 1024px) {
  .rubysquareau-nav,
  .rubysquareau-cta {
    display: none;
  }
  .rubysquareau-burger {
    display: flex;
    margin-left: auto;
  }
  .rs-foot-top {
    grid-template-columns: 1fr 1fr;
  }
  .hero-slide {
    grid-template-columns: 1fr;
  }
  .hero-right {
    min-height: 50vh;
    order: -1;
  }
  .manifesto-grid {
    grid-template-columns: 1fr;
  }
  .bento {
    grid-template-columns: repeat(2, 1fr);
  }
  .rs-grid4 {
    grid-template-columns: repeat(2, 1fr);
  }
  .faq-split {
    grid-template-columns: 1fr;
  }
  .parallax-cols {
    grid-template-columns: 1fr;
  }
  .parallax-center {
    position: static;
  }
  .rs-sticky {
    position: static;
  }
  .dev-stack {
    height: auto;
    display: grid;
    gap: 18px;
  }
  .rs-overlap {
    height: auto;
    display: grid;
    gap: 18px;
  }
  .rs-overlap-a,
  .rs-overlap-b {
    position: relative;
    width: 100%;
    height: 260px;
    top: auto;
    left: auto;
    right: auto;
    bottom: auto;
  }
  .dev-frame {
    position: relative;
    width: 100%;
    height: 260px;
    left: auto;
    top: auto;
  }
  .rs-hacc {
    flex-direction: column;
    height: auto;
  }
  .rs-hacc-p {
    min-height: 110px;
  }
  .rs-hacc-p.is-open {
    min-height: 300px;
  }
  .rs-hacc-inner p {
    opacity: 1;
    transform: none;
    display: none;
  }
  .rs-hacc-p.is-open .rs-hacc-inner p {
    display: block;
  }
}

@media (max-width: 768px) {
  .rs-grid2,
  .rs-grid3 {
    grid-template-columns: 1fr;
  }
  .rs-grid4 {
    grid-template-columns: 1fr 1fr;
  }
  .rs-form-row {
    grid-template-columns: 1fr;
  }
  .rs-masonry {
    columns: 2;
  }
  .rs-skew-row {
    flex-direction: column;
  }
  .rs-skew {
    transform: none;
    min-height: 220px;
  }
  .rs-skew > div {
    transform: none;
  }
  .rs-node {
    grid-template-columns: 1fr;
  }
  .rs-node-diamond {
    width: 90px;
    height: 90px;
    margin: 0;
  }
  .rs-node + .rs-node::before {
    left: 0;
  }
  .rs-statrow-i {
    flex-direction: column;
    align-items: flex-start;
    gap: 12px;
  }
  .rs-stat-lbl {
    text-align: left;
  }
  .rs-stat-thumb {
    display: none;
  }
  .review-cascade {
    grid-template-columns: 1fr;
  }
  .review-b--a,
  .review-b--b,
  .review-b--c,
  .review-b--d,
  .review-b--e {
    grid-column: span 1;
  }
  .rs-eq span:nth-child(n + 11) {
    display: none;
  }
  .rs-optgrid {
    grid-template-columns: 1fr;
  }
  .zig-i {
    grid-template-columns: 1fr;
    gap: 10px;
  }
  .rs-podium {
    align-items: stretch;
    flex-direction: column;
  }
  .rs-podium-step {
    max-width: none;
    height: auto;
    display: flex;
    align-items: center;
    gap: 18px;
    text-align: left;
    border-radius: var(--rs-radius-s);
    border-bottom: 1px solid var(--rs-line);
  }
  .rs-podium-step--1 {
    border-bottom-color: var(--rs-ink);
  }
  .rs-cookie {
    flex-direction: column;
    align-items: flex-start;
    gap: 16px;
    padding: 20px;
  }
  .rs-cookie-btns {
    width: 100%;
  }
  .rs-cookie-btns .rs-btn {
    flex: 1;
    justify-content: center;
  }
  .rubysquareau-topbar .rs-wrap {
    justify-content: center;
    flex-wrap: wrap;
    gap: 4px 18px;
  }
  .hero-slide {
    min-height: auto;
  }
  .sec-hero {
    min-height: 0;
  }
  .rs-slider-ctrl {
    display: none;
  }
  .rs-compare th,
  .rs-compare td {
    padding: 12px 10px;
    font-size: 0.85rem;
    white-space: nowrap;
  }
  .rs-compare td:first-child {
    position: sticky;
    left: 0;
    background: var(--rs-bg);
  }
}

@media (max-width: 520px) {
  .rs-grid4 {
    grid-template-columns: 1fr;
  }
  .bento {
    grid-template-columns: 1fr;
    grid-auto-rows: minmax(180px, auto);
  }
  .bento-i--wide {
    grid-column: span 1;
  }
  .rs-masonry {
    columns: 1;
  }
  .rs-scroll-x > * {
    flex-basis: 88%;
  }
  .hexgrid {
    grid-template-columns: 1fr 1fr;
  }
  .manifesto-step {
    grid-template-columns: 1fr;
    gap: 8px;
  }
  .manifesto-step:nth-child(2),
  .manifesto-step:nth-child(3) {
    margin-left: 0;
  }
  .rs-langcloud span:nth-child(3n) {
    font-size: 1.2rem;
  }
}

@media (prefers-reduced-motion: reduce) {
  .rs-mq-track,
  .rs-eq span {
    animation: none;
  }
  html {
    scroll-behavior: auto;
  }
}
.rs-pb4 {
  padding-bottom: 16px;
}
.rs-sec--tall {
  padding: 160px 0 120px;
}
.rs-sec--centered .rs-sec-head {
  margin-left: auto;
  margin-right: auto;
}
.rs-ic-lg-wrap {
  width: 96px;
  height: 96px;
  border-radius: 50%;
  background: var(--rs-ruby-soft);
  border: 1px solid rgba(217, 32, 56, 0.25);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--rs-ruby);
  font-size: 2.4rem;
  margin-bottom: 28px;
}
.rs-feature {
  display: grid;
  grid-template-columns: 1.15fr 1fr;
  background: #fff;
  border: 1px solid var(--rs-line);
  border-radius: var(--rs-radius);
  overflow: hidden;
  text-decoration: none;
  color: var(--rs-ink);
  transition:
    transform 0.35s ease,
    box-shadow 0.35s ease;
}
.rs-feature:hover {
  transform: translateY(-4px);
  box-shadow: 0 24px 60px rgba(23, 23, 29, 0.12);
}
.rs-feature-img {
  min-height: 340px;
  position: relative;
  overflow: hidden;
}
.rs-feature-img img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.rs-feature-body {
  padding: 44px;
  display: flex;
  flex-direction: column;
  justify-content: center;
  gap: 16px;
}
.rs-feature-body h3 {
  font-family: var(--rs-font-d);
  font-size: clamp(1.5rem, 2.6vw, 2.1rem);
  line-height: 1.15;
}
.rs-nl {
  display: flex;
  flex-direction: column;
}
.rs-nl-row {
  display: flex;
  gap: 12px;
}
.rs-nl-row .rs-inp {
  flex: 1;
}
.rs-list {
  display: flex;
  flex-direction: column;
}
.rs-list-item {
  display: flex;
  align-items: center;
  gap: 24px;
  padding: 26px 10px;
  border-bottom: 1px solid var(--rs-line);
  text-decoration: none;
  color: var(--rs-ink);
  transition: padding-left 0.3s ease;
}
.rs-list-item:hover {
  padding-left: 22px;
}
.rs-list-item:first-child {
  border-top: 1px solid var(--rs-line);
}
.rs-list-num {
  font-family: var(--rs-font-d);
  font-size: 0.9rem;
  color: var(--rs-ruby);
  font-weight: 700;
  flex: 0 0 auto;
}
.rs-list-body {
  flex: 1;
  font-size: 0.95rem;
}
.rs-list-item i {
  color: var(--rs-line);
  transition:
    color 0.3s ease,
    transform 0.3s ease;
}
.rs-list-item:hover i {
  color: var(--rs-ruby);
  transform: translateX(4px);
}
.rs-quote {
  max-width: 820px;
  margin: 0 auto;
  text-align: center;
  padding: 20px 0;
}
.rs-quote .rs-ic-lg {
  color: var(--rs-ruby);
  margin-bottom: 22px;
}
.rs-quote cite {
  display: block;
  margin-top: 26px;
  font-style: normal;
  font-size: 0.9rem;
  color: var(--rs-muted);
}
.rs-quote-name {
  font-family: var(--rs-font-d);
  font-weight: 700;
  color: var(--rs-ink);
}
@media (max-width: 900px) {
  .rs-feature {
    grid-template-columns: 1fr;
  }
  .rs-feature-img {
    min-height: 240px;
  }
  .rs-feature-body {
    padding: 30px;
  }
}
@media (max-width: 640px) {
  .rs-nl-row {
    flex-direction: column;
  }
  .rs-list-item {
    gap: 14px;
    padding: 20px 6px;
  }
}
.rs-stat {
  background: #fff;
  border: 1px solid var(--rs-line);
  border-radius: var(--rs-radius);
  padding: 30px 26px;
  display: flex;
  flex-direction: column;
  gap: 10px;
  transition:
    transform 0.3s ease,
    box-shadow 0.3s ease;
}
.rs-stat:hover {
  transform: translateY(-4px);
  box-shadow: var(--rs-shadow);
}
.rs-stat-v {
  font-family: var(--rs-font-d);
  font-size: clamp(2.2rem, 4vw, 3.2rem);
  font-weight: 700;
  letter-spacing: -0.03em;
  line-height: 1;
  color: var(--rs-ink);
}
.rs-sec--dark .rs-stat {
  background: rgba(255, 255, 255, 0.04);
  border-color: rgba(255, 255, 255, 0.12);
}
.rs-sec--dark .rs-stat-v {
  color: #fff;
}
.rs-prose > * {
  margin-bottom: 22px;
}
.rs-prose h2 {
  font-family: var(--rs-font-d);
  font-size: clamp(1.6rem, 3vw, 2.2rem);
  margin-top: 52px;
  letter-spacing: -0.01em;
}
.rs-prose h3 {
  font-family: var(--rs-font-d);
  font-size: clamp(1.2rem, 2.2vw, 1.5rem);
  margin-top: 36px;
}
.rs-prose p {
  color: var(--rs-ink-soft);
  line-height: 1.85;
}
.rs-prose ul,
.rs-prose ol {
  padding-left: 24px;
  color: var(--rs-ink-soft);
  line-height: 1.85;
}
.rs-prose li {
  margin-bottom: 10px;
}
.rs-prose blockquote {
  border-left: 3px solid var(--rs-ruby);
  padding: 6px 0 6px 24px;
  font-size: 1.15rem;
  font-family: var(--rs-font-d);
  color: var(--rs-ink);
  margin: 36px 0;
}
.rs-prose a {
  color: var(--rs-ruby);
  text-decoration: underline;
  text-underline-offset: 3px;
}
.rs-prose .rs-frame {
  margin: 40px 0;
}
.rs-legal-grid {
  display: grid;
  grid-template-columns: 320px 1fr;
  gap: clamp(30px, 5vw, 70px);
  align-items: start;
}
@media (max-width: 1024px) {
  .rs-legal-grid {
    grid-template-columns: 1fr;
  }
}
h2.rs-h1 {
  font-size: clamp(2.5rem, 6vw, 4.6rem);
}
.rs-form .iti {
  --iti-border-color: var(--rs-line);
  --iti-dialcode-color: var(--rs-muted);
  --iti-dropdown-bg: #fff;
  --iti-hover-color: var(--rs-ruby-soft);
  --iti-path-flags-1x: url("https://cdn.jsdelivr.net/npm/intl-tel-input@25.12.5/build/img/flags.webp");
  --iti-path-flags-2x: url("https://cdn.jsdelivr.net/npm/intl-tel-input@25.12.5/build/img/flags@2x.webp");
  --iti-path-globe-1x: url("https://cdn.jsdelivr.net/npm/intl-tel-input@25.12.5/build/img/globe.webp");
  --iti-path-globe-2x: url("https://cdn.jsdelivr.net/npm/intl-tel-input@25.12.5/build/img/globe@2x.webp");
  display: block;
  width: 100%;
}
.rs-form .iti__country-container,
.rs-form .iti__selected-country,
.rs-form .iti__dropdown-content {
  border-radius: var(--rs-radius);
}
.rs-form .iti input.rs-inp {
  width: 100%;
}
@media (max-width: 768px) {
  html,
  body {
    overflow-x: hidden;
  }
} /* Tailwind CDN preflight repair — its reset lands after this file, so rules use
   parent-scoped selectors to keep the intended design tokens on top */
body.font-sans {
  font-family: var(--rs-font-b);
}
body.text-slate-900 {
  color: var(--rs-ink);
}
body.bg-slate-50 {
  background: var(--rs-bg);
}
body h1,
body h2,
body h3,
body h4,
body h5,
body h6 {
  font-family: var(--rs-font-d);
  letter-spacing: -0.02em;
  line-height: 1.05;
  margin: 0;
}
body h1 {
  font-size: clamp(2.5rem, 6vw, 4.6rem);
  font-weight: 700;
}
body h2 {
  font-size: clamp(1.9rem, 4vw, 3.1rem);
  font-weight: 700;
}
body h3 {
  font-size: clamp(1.25rem, 2.2vw, 1.7rem);
  font-weight: 600;
}
body h4 {
  font-size: 1.05rem;
  font-weight: 600;
}
body h5,
body h6 {
  font-size: 0.95rem;
  font-weight: 600;
}
body h2.rs-h1 {
  font-size: clamp(2.5rem, 6vw, 4.6rem);
}
.rs-prose ul,
.rs-toc ul {
  list-style: disc;
}
.rs-prose ol,
.rs-toc ol {
  list-style: decimal;
}
.rs-prose li::marker,
.rs-toc li::marker {
  color: var(--rs-ruby);
}
@media (max-width: 768px) {
  .rs-foot-top {
    grid-template-columns: 1fr;
    gap: 42px;
  }
  .rs-foot-brand {
    max-width: 100%;
  }
  .rs-foot-brand p {
    max-width: 100%;
  }
  .rs-foot-games {
    max-width: 380px;
  }
  .rs-foot-giant span {
    font-size: clamp(2.4rem, 15vw, 6rem);
    white-space: normal;
    transform: translateY(0.18em);
  }
  .rs-foot-legal {
    flex-direction: column;
    align-items: flex-start;
  }
  .rs-foot-copy {
    flex-direction: column;
    gap: 8px;
  }
}
