/* Rupture — void, bone, fracture violet. */
:root {
  --rf-void: #08060d;
  --rf-basalt: #120e18;
  --rf-stone: #1c1524;
  --rf-line: #3d2f52;
  --rf-ash: #9a90ab;
  --rf-bone: #ece8f2;
  --rf-paper: #f4f0fa;
  --rf-fracture: #9b3dff;
  --rf-fracture-hot: #c084ff;
  --rf-nav: 60px;
  --rf-fault: clamp(400px, 40vw, 560px);
  --rf-gutter: clamp(24px, 4vw, 64px);
  --rf-display: "Cormorant Garamond", "Times New Roman", serif;
  --rf-body: "Source Sans 3", "Segoe UI", sans-serif;

  /* Aliases so store / hiscores / wiki bodies pick Rupture violet, not gothic gold/blood. */
  --nav-h: var(--rf-nav);
  --flash-h: 0px;
  --gold: #c084ff;
  --gold-bright: #e9d5ff;
  --gold-dim: #7c3aed;
  --gold-glow: rgba(155, 61, 255, 0.45);
  --gold-faint: #1a0f2a;
  --blood: #7c3aed;
  --blood-bright: #c084ff;
  --blood-dim: #5b21b6;
  --blood-glow: rgba(124, 58, 237, 0.45);
  --blood-faint: #1a0a2e;
  --border-blood: #3d2f52;
  --abyss: var(--rf-void);
  --deep: #0b0812;
  --mid: #100c16;
  --card: #16111f;
  --card-h: #1c1528;
  --card-lit: #241b32;
  --border: #3d2f52;
  --border-g: #3d2f52;
  --text-hi: var(--rf-bone);
  --text-md: var(--rf-ash);
  --text-lo: #7a7288;
  --bone: var(--rf-bone);
  --bone-mid: #cfc6dc;
  --bone-dim: #9a90ab;
  --emerald: #86efac;
  --radius: 0;
  --lava: var(--rf-fracture);
  --ember: var(--rf-fracture-hot);
}

*,
*::before,
*::after { box-sizing: border-box; }

html, body {
  margin: 0;
  padding: 0;
}

html { background: var(--rf-void); }

body {
  font-family: var(--rf-body);
  font-size: 17px;
  line-height: 1.55;
  color: var(--rf-bone);
  min-height: 100vh;
  background:
    radial-gradient(900px 480px at 8% -10%, rgba(91, 33, 182, 0.28), transparent 55%),
    radial-gradient(1100px 560px at 82% -12%, rgba(155, 61, 255, 0.22), transparent 58%),
    radial-gradient(700px 400px at 50% 110%, rgba(76, 29, 149, 0.18), transparent 50%),
    var(--rf-void);
}

img { display: block; max-width: 100%; }
a { color: inherit; }
button { font: inherit; }

.rf-skip {
  position: absolute;
  left: -999px;
  top: 8px;
  padding: 8px 12px;
  background: var(--rf-paper);
  color: var(--rf-void);
  z-index: 100;
}
.rf-skip:focus { left: 8px; }

/* ── Header ── */
.rf-header {
  position: sticky;
  top: 0;
  z-index: 40;
  height: var(--rf-nav);
  border-bottom: 1px solid var(--rf-line);
  background:
    linear-gradient(180deg, rgba(91, 33, 182, 0.22), transparent 70%),
    var(--rf-basalt);
}

.rf-header-inner {
  height: 100%;
  display: grid;
  grid-template-columns: auto 1fr auto;
  align-items: center;
  gap: 32px;
  padding: 0 var(--rf-gutter);
}

.rf-brand {
  display: flex;
  align-items: center;
  gap: 10px;
  text-decoration: none;
  color: var(--rf-bone);
}
.rf-brand img {
  width: 34px;
  height: 34px;
  object-fit: cover;
  border-radius: 7px;
}
.rf-brand span {
  font-family: var(--rf-display);
  font-size: 17px;
  font-weight: 600;
  letter-spacing: 0.34em;
  text-transform: uppercase;
}

.rf-nav {
  display: flex;
  justify-content: center;
  gap: 28px;
}
.rf-nav a {
  text-decoration: none;
  color: var(--rf-ash);
  font-size: 14px;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  padding: 6px 0;
  border-bottom: 1px solid transparent;
}
.rf-nav a:hover,
.rf-nav a[aria-current="page"] {
  color: var(--rf-fracture-hot);
  border-bottom-color: var(--rf-fracture);
}

/* ── Wiki dropdown (Bestiary/Market — logged-in only, both require an
   account anyway) ── */
.rf-nav-item {
  position: relative;
}
.rf-nav-drop {
  position: absolute;
  top: 100%;
  left: 50%;
  transform: translateX(-50%) translateY(4px);
  min-width: 140px;
  padding: 8px;
  display: flex;
  flex-direction: column;
  gap: 2px;
  background: var(--rf-basalt);
  border: 1px solid var(--rf-line);
  border-radius: 8px;
  box-shadow: 0 12px 28px -8px rgba(0, 0, 0, 0.5);
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.15s ease, visibility 0.15s ease;
  z-index: 20;
}
.rf-nav-item:hover .rf-nav-drop,
.rf-nav-item:focus-within .rf-nav-drop {
  opacity: 1;
  visibility: visible;
}
.rf-nav-drop a {
  padding: 7px 10px;
  border-bottom: none !important;
  border-radius: 5px;
  white-space: nowrap;
}
.rf-nav-drop a:hover {
  background: var(--rf-stone);
}

.rf-header-end {
  display: flex;
  align-items: center;
  gap: 18px;
}

/* ── Verify-email nudge (logged-in, unverified accounts) ── */
.rf-verify-bar {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 14px;
  flex-wrap: wrap;
  padding: 10px var(--rf-gutter);
  background: rgba(155, 61, 255, 0.1);
  border-bottom: 1px solid var(--rf-line);
  font-size: 14px;
  color: var(--rf-bone);
  text-align: center;
}
.rf-verify-bar a {
  color: var(--rf-fracture-hot);
  font-weight: 600;
  text-decoration: none;
  border-bottom: 1px solid var(--rf-fracture);
  white-space: nowrap;
}

.rf-icon-link {
  display: flex;
  color: var(--rf-ash);
  padding: 6px;
}
.rf-icon-link:hover { color: var(--rf-fracture-hot); }

.rf-signin,
.rf-account {
  text-decoration: none;
  color: var(--rf-ash);
  font-size: 13px;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  padding: 6px 0;
  border-bottom: 1px solid transparent;
}
.rf-signin:hover,
.rf-account:hover {
  color: var(--rf-fracture-hot);
  border-bottom-color: var(--rf-fracture);
}

.rf-play {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 38px;
  padding: 0 20px;
  background: var(--rf-fracture);
  color: #f7f2ff;
  text-decoration: none;
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  border: 1px solid var(--rf-fracture);
}
.rf-play:hover {
  background: var(--rf-fracture-hot);
  border-color: var(--rf-fracture-hot);
  color: #fff;
}

/* ── Page + fault ── */
.rf-page {
  position: relative;
  overflow: clip;
}

.rf-fault {
  position: absolute;
  top: 0;
  bottom: 0;
  left: var(--rf-fault);
  width: 1px;
  background: linear-gradient(
    180deg,
    transparent,
    rgba(155, 61, 255, 0.18) 12%,
    var(--rf-fracture) 46%,
    rgba(155, 61, 255, 0.22) 86%,
    transparent
  );
  pointer-events: none;
  z-index: 3;
  transform: rotate(0.35deg);
  transform-origin: top center;
}

.rf-anno {
  font-size: 11px;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--rf-ash);
}

.rf-kicker {
  margin: 0 0 14px;
  font-size: 11px;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--rf-fracture-hot);
}

.rf-block h2,
.rf-hero h1,
.rf-end p {
  font-family: var(--rf-display);
  font-weight: 600;
}

.rf-block h2 {
  margin: 0 0 16px;
  font-size: clamp(36px, 3.8vw, 54px);
  line-height: 1.12;
  letter-spacing: 0.01em;
}

.rf-block > p,
.rf-intro > p:nth-of-type(2) {
  margin: 0;
  color: var(--rf-ash);
  max-width: 42ch;
}

.rf-rail {
  width: calc(var(--rf-fault) - var(--rf-gutter) - 28px);
  max-width: 440px;
  margin-left: var(--rf-gutter);
}

/* ── Hero ── */
.rf-hero {
  position: relative;
  z-index: 5;
  display: block;
  border-bottom: 1px solid var(--rf-line);
}
.rf-hero-img {
  display: block;
  width: 100%;
  height: auto;
}
/* Transparent click target sitting exactly over the banner's baked-in PLAY NOW. */
.rf-hero-hotspot {
  position: absolute;
  left: 22.3%;
  top: 70%;
  width: 17.8%;
  height: 16.8%;
  z-index: 6;
  border-radius: 8px;
}
.rf-hero-hotspot span {
  position: absolute; width: 1px; height: 1px;
  margin: -1px; padding: 0; border: 0;
  overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap;
}
.rf-hero-hotspot:focus-visible {
  outline: 2px solid var(--rf-fracture-hot);
  outline-offset: 3px;
}
/* Trailer sits directly under the hero (under the PLAY NOW button).
   z-index lifts it above the decorative .rf-fault line so that line
   doesn't run through the video. */
.rf-hero-trailer {
  position: relative;
  z-index: 4;
  padding: 36px var(--rf-gutter) 4px;
  display: flex;
  justify-content: center;
}
.rf-hero-trailer video {
  width: 100%;
  max-width: 820px;
  height: auto;
  display: block;
  background: #000;
  border: 1px solid var(--rf-line);
}

.rf-hero-art {
  position: absolute;
  inset: 0;
  background: #0c0c0c;
  border-bottom: 1px solid var(--rf-line);
}
.rf-hero-art img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: 62% 42%;
}
.rf-hero-art::after {
  content: "";
  position: absolute;
  inset: 0;
  z-index: 1;
  pointer-events: none;
  background: linear-gradient(90deg, rgba(10,8,16,.84) 0%, rgba(10,8,16,.3) 46%, rgba(10,8,16,.52) 100%);
}
.rf-hero-art .rf-anno {
  position: absolute;
  right: var(--rf-gutter);
  bottom: 20px;
}

.rf-hud {
  position: absolute;
  top: 28px;
  right: var(--rf-gutter);
  z-index: 4;
  display: flex;
  align-items: baseline;
  gap: 10px;
  color: var(--rf-bone);
  background: var(--rf-basalt);
  border: 1px solid var(--rf-line);
  padding: 10px 16px 12px;
}
.rf-hud b {
  font-family: var(--rf-display);
  font-size: 32px;
  font-weight: 600;
  font-variant-numeric: tabular-nums;
  letter-spacing: 0.02em;
  color: var(--rf-fracture-hot);
}
.rf-hud span {
  font-size: 11px;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--rf-ash);
}

.rf-hero-copy {
  position: relative;
  z-index: 4;
  display: flex;
  flex-direction: column;
  justify-content: center;
  width: calc(var(--rf-fault) - var(--rf-gutter) - 28px);
  max-width: min(92vw, 640px);
  margin-left: var(--rf-gutter);
  padding: 80px 0 96px;
}

/* Hero trailer video — sits under the Play button (replaces the old hero art) */
.rf-hero-video {
  margin-top: 28px;
  width: 100%;
}
.rf-hero-video video {
  width: 100%;
  height: auto;
  display: block;
  background: #000;
  border: 1px solid var(--rf-line);
}

.rf-stone {
  width: 72px;
  height: 72px;
  object-fit: cover;
  margin-bottom: 28px;
  border-radius: 16px;
}

.rf-hero-copy h1 {
  margin: 0;
  font-size: clamp(56px, 7.2vw, 92px);
  line-height: 0.9;
  letter-spacing: 0.14em;
  text-transform: uppercase;
}

.rf-hero-copy p {
  margin: 22px 0 36px;
  max-width: 28ch;
  color: var(--rf-ash);
  font-size: 16px;
}

.rf-hero-copy .rf-play {
  align-self: flex-start;
  min-height: 44px;
  padding: 0 28px;
}

/* ── Intro (copy left, facts fill the right) ── */
.rf-split {
  display: grid;
  grid-template-columns: calc(var(--rf-fault) - var(--rf-gutter)) 1fr;
  gap: 56px;
  align-items: start;
  padding: 88px var(--rf-gutter) 80px;
}
.rf-intro {
  padding: 0;
  margin: 0;
  width: auto;
  max-width: 440px;
}

/* ── "What it is" feature card (matches the mockup, on the site's own bg) ── */
.rf-facts {
  position: relative;
  margin: 8px 0 0;
  padding: 6px 34px;
  background: rgba(12, 10, 20, 0.55);
  border: 1px solid var(--rf-line);
}
.rf-facts::before {
  content: "";
  position: absolute;
  top: -5px;
  left: 50%;
  width: 9px;
  height: 9px;
  transform: translateX(-50%) rotate(45deg);
  background: var(--rf-fracture);
  border: 1px solid var(--rf-line);
}
.rf-fact {
  position: relative;
  display: flex;
  align-items: center;
  gap: 22px;
  padding: 26px 0;
  border-top: 1px solid var(--rf-line);
}
.rf-fact:first-child { border-top: 0; }
.rf-fact:not(:first-child)::before {
  content: "";
  position: absolute;
  top: -4px;
  left: 50%;
  width: 7px;
  height: 7px;
  transform: translateX(-50%) rotate(45deg);
  background: var(--rf-fracture);
}
.rf-fact-icon {
  width: 72px;
  height: 72px;
  flex-shrink: 0;
  object-fit: contain;
}
.rf-fact h3 {
  margin: 0 0 7px;
  font-family: var(--rf-display);
  font-size: 19px;
  font-weight: 600;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--rf-bone);
}
.rf-fact p {
  margin: 0;
  color: var(--rf-ash);
  font-size: 15px;
  line-height: 1.5;
}

/* "What it is" kicker — arrow + rule, plus a diamond divider under the heading */
.rf-intro .rf-kicker {
  display: flex;
  align-items: center;
  gap: 10px;
}
.rf-intro .rf-kicker::before { content: "\2192"; color: var(--rf-fracture-hot); }
.rf-intro .rf-kicker::after {
  content: "";
  width: 46px;
  height: 1px;
  background: linear-gradient(90deg, var(--rf-fracture), transparent);
}
.rf-diamond-rule {
  display: block;
  position: relative;
  width: 130px;
  height: 1px;
  margin: 24px 0;
  background: linear-gradient(90deg, rgba(155, 61, 255, 0.45), transparent);
}
.rf-diamond-rule::before {
  content: "";
  position: absolute;
  left: 0;
  top: -3px;
  width: 7px;
  height: 7px;
  transform: rotate(45deg);
  background: var(--rf-fracture);
}

/* ── Progression ── */
.rf-progress {
  padding: 96px var(--rf-gutter) 80px;
}
.rf-progress > .rf-kicker,
.rf-progress > h2 {
  width: calc(var(--rf-fault) - var(--rf-gutter) - 28px);
  max-width: 440px;
}

.rf-spine {
  list-style: none;
  margin: 48px 0 0;
  padding: 0;
}

.rf-spine li {
  display: grid;
  grid-template-columns: calc(var(--rf-fault) - var(--rf-gutter) - 12px) 1fr;
  gap: 36px;
  align-items: start;
  padding: 32px 0 40px;
}

.rf-stage {
  display: block;
  text-align: right;
  font-size: 11px;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--rf-ash);
  padding-top: 10px;
}

.rf-spine h3 {
  margin: 0 0 8px;
  font-family: var(--rf-display);
  font-size: 28px;
  font-weight: 600;
}

.rf-spine p {
  margin: 0;
  color: var(--rf-ash);
  max-width: 42ch;
}

/* ── Live ── */
.rf-live {
  display: grid;
  grid-template-columns: calc(var(--rf-fault) - var(--rf-gutter)) 1fr;
  gap: 48px;
  padding: 80px var(--rf-gutter) 96px;
  border-top: 1px solid var(--rf-line);
  background: var(--rf-basalt);
}

.rf-live-count {
  margin: 20px 0 18px;
  font-size: 15px;
  color: var(--rf-ash);
}
.rf-live-count b {
  font-family: var(--rf-display);
  font-size: 40px;
  font-weight: 600;
  color: var(--rf-fracture-hot);
  margin-right: 10px;
}

.rf-text-link {
  color: var(--rf-fracture-hot);
  font-size: 13px;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  text-decoration: none;
  border-bottom: 1px solid var(--rf-fracture);
  padding-bottom: 2px;
}
.rf-text-link:hover { color: var(--rf-paper); }

.rf-news {
  list-style: none;
  margin: 0;
  padding: 0;
}
.rf-news li { border-top: 1px solid var(--rf-line); }
.rf-news a,
.rf-news div {
  display: grid;
  grid-template-columns: 92px 1fr;
  gap: 16px;
  padding: 16px 0;
  text-decoration: none;
}
.rf-news time {
  font-size: 12px;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--rf-ash);
  padding-top: 4px;
}
.rf-news span {
  font-family: var(--rf-display);
  font-size: 22px;
  line-height: 1.2;
}
.rf-news a:hover span { border-bottom: 1px solid var(--rf-fracture); color: var(--rf-fracture-hot); }

.rf-live-solo {
  grid-template-columns: calc(var(--rf-fault) - var(--rf-gutter)) 1fr;
}

/* ── End CTA ── */
.rf-end {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  padding: 88px var(--rf-gutter);
  border-top: 1px solid var(--rf-line);
  background: var(--rf-basalt);
}
.rf-stone-lg {
  width: 96px;
  height: 96px;
  margin-bottom: 28px;
}
.rf-end > p:first-of-type {
  margin: 0 0 28px;
  font-size: 28px;
  letter-spacing: 0.04em;
}
.rf-end .rf-play {
  min-height: 48px;
  padding: 0 36px;
}
.rf-end-note {
  margin: 18px 0 0;
  font-size: 12px;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--rf-ash);
  font-family: var(--rf-body);
}

/* ── Footer ── */
.rf-footer {
  border-top: 1px solid var(--rf-line);
  padding: 28px var(--rf-gutter) 36px;
  background: var(--rf-basalt);
}
.rf-footer-inner {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 24px;
  flex-wrap: wrap;
}
.rf-footer-mark {
  font-family: var(--rf-display);
  letter-spacing: 0.28em;
  text-transform: uppercase;
  font-size: 13px;
}
.rf-footer-nav {
  display: flex;
  gap: 20px;
}
.rf-footer-nav a {
  text-decoration: none;
  color: var(--rf-ash);
  font-size: 12px;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  border-bottom: 1px solid transparent;
}
.rf-footer-nav a:hover {
  color: var(--rf-fracture-hot);
  border-bottom-color: var(--rf-fracture);
}
.rf-footer-note {
  width: 100%;
  margin: 8px 0 0;
  font-size: 11px;
  color: #5c5c5c;
}
.rf-footer-note a { color: #7a7a7a; }

/* ── Play ── */
.rf-play-page {
  min-height: calc(100vh - var(--rf-nav) - 80px);
}
.rf-play-dls {
  background: var(--rf-basalt);
  border: 1px solid var(--rf-line);
  padding: 8px 32px 28px;
}
.rf-dls {
  list-style: none;
  margin: 0;
  padding: 0;
}
.rf-dl {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 16px;
  padding: 22px 0;
  border-top: 1px solid var(--rf-line);
  text-decoration: none;
}
.rf-dls li:first-child .rf-dl { border-top: 0; }
.rf-dl b {
  display: block;
  font-family: var(--rf-display);
  font-size: 22px;
  font-weight: 600;
}
.rf-dl small {
  display: block;
  margin-top: 4px;
  color: var(--rf-ash);
  font-size: 13px;
}
.rf-dl-go {
  font-size: 12px;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--rf-ash);
  flex-shrink: 0;
}
.rf-dl:hover .rf-dl-go,
.rf-dl.is-rec .rf-dl-go {
  color: var(--rf-fracture-hot);
  border-bottom: 1px solid var(--rf-fracture);
}
.rf-dl.is-rec b::after {
  content: " This device";
  font-family: var(--rf-body);
  font-size: 11px;
  font-weight: 500;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--rf-ash);
  margin-left: 10px;
}
.rf-play-note {
  margin: 36px 0 0;
  color: var(--rf-ash);
  max-width: 42ch;
}
.rf-play-note .rf-text-link {
  font-size: inherit;
  letter-spacing: inherit;
  text-transform: none;
}

.rf-cmd {
  font-family: inherit;
  font-size: 0.95em;
  color: var(--rf-fracture-hot);
}

.rf-vote-form {
  margin-top: 28px;
}
.rf-vote-form label {
  display: block;
  font-size: 13px;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--rf-ash);
  margin-bottom: 10px;
}
.rf-vote-row {
  display: flex;
  gap: 10px;
  max-width: 380px;
}
.rf-vote-form input {
  flex: 1;
  min-width: 0;
  height: 38px;
  padding: 0 12px;
  background: var(--rf-void);
  border: 1px solid var(--rf-line);
  color: var(--rf-bone);
  font-size: 16px;
}
.rf-vote-form input:focus {
  outline: 0;
  border-color: var(--rf-fracture);
}
.rf-vote-form button {
  height: 38px;
  padding: 0 18px;
  background: var(--rf-fracture);
  color: #f7f2ff;
  border: 1px solid var(--rf-fracture);
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  cursor: pointer;
}
.rf-vote-form button:hover {
  background: var(--rf-fracture-hot);
  border-color: var(--rf-fracture-hot);
}
.rf-vote-form .rf-text-link {
  display: inline-block;
  margin-top: 14px;
}
.rf-vote-as {
  margin-top: 24px;
  color: var(--rf-ash);
}
.rf-vote-as b { color: var(--rf-bone); }

.rf-flash {
  margin-top: 18px;
  max-width: 42ch;
}
.rf-flash.is-err { color: #ffb4b4; }
.rf-flash.is-ok { color: #b8f0c8; }

.rf-dl.is-cd {
  pointer-events: none;
  opacity: 0.45;
}
.rf-dl.is-cd .rf-dl-go {
  color: var(--rf-ash);
  border-bottom: 0;
}

.rf-lb {
  list-style: none;
  margin: 28px 0 0;
  padding: 0;
  max-width: 640px;
}
.rf-lb li {
  display: grid;
  grid-template-columns: 48px 1fr auto;
  gap: 16px;
  align-items: baseline;
  padding: 14px 0;
  border-top: 1px solid var(--rf-line);
}
.rf-lb li:first-child { border-top: 0; }
.rf-lb b {
  font-family: var(--rf-display);
  font-size: 20px;
  font-weight: 600;
  color: var(--rf-fracture-hot);
}
.rf-lb span {
  font-family: var(--rf-display);
  font-size: 22px;
}
.rf-lb small {
  color: var(--rf-ash);
  font-size: 13px;
}

.rf-vote-board-page {
  padding-top: 88px;
  padding-bottom: 80px;
  min-height: calc(100vh - var(--rf-nav) - 80px);
}

/* ── Inner pages ── */
.rf-inner {
  padding: 56px var(--rf-gutter) 0;
}
.rf-inner-head {
  max-width: 640px;
  margin-bottom: 36px;
}
.rf-inner-head h2 {
  margin: 0 0 12px;
  font-family: var(--rf-display);
  font-weight: 600;
  font-size: clamp(36px, 3.8vw, 54px);
  line-height: 1.12;
}
.rf-inner-head > p {
  margin: 0;
  color: var(--rf-ash);
  max-width: 46ch;
}
.rf-inner-links {
  display: flex;
  gap: 18px;
  margin-top: 18px !important;
}

.rf-page-narrow {
  max-width: 640px;
  margin: 0 auto;
  padding: 72px var(--rf-gutter) 96px;
}
.rf-page-narrow h1,
.rf-prose h1 {
  margin: 0 0 8px;
  font-family: var(--rf-display);
  font-weight: 600;
  font-size: clamp(36px, 4vw, 48px);
}
.rf-lede {
  margin: 0 0 32px;
  color: var(--rf-ash);
}

.rf-form label,
.rf-label {
  display: block;
  font-size: 12px;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--rf-ash);
  margin: 0 0 8px;
}
.rf-form .rf-group { margin-bottom: 18px; }
.rf-input,
.rf-form input[type="text"],
.rf-form input[type="email"],
.rf-form input[type="password"] {
  width: 100%;
  height: 42px;
  padding: 0 12px;
  background: var(--rf-void);
  border: 1px solid var(--rf-line);
  color: var(--rf-bone);
  font-size: 16px;
}
.rf-input:focus,
.rf-form input:focus {
  outline: 0;
  border-color: var(--rf-fracture);
}
.rf-pw {
  position: relative;
}
.rf-pw input { padding-right: 64px; }
.rf-pw button {
  position: absolute;
  right: 0;
  top: 0;
  height: 42px;
  padding: 0 12px;
  background: none;
  border: 0;
  color: var(--rf-ash);
  cursor: pointer;
  font-size: 12px;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}
.rf-pw button:hover { color: var(--rf-fracture-hot); }

.rf-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 42px;
  padding: 0 22px;
  background: var(--rf-fracture);
  color: #f7f2ff;
  border: 1px solid var(--rf-fracture);
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  cursor: pointer;
  text-decoration: none;
}
.rf-btn:hover {
  background: var(--rf-fracture-hot);
  border-color: var(--rf-fracture-hot);
  color: #fff;
}
.rf-btn:disabled { opacity: 0.5; cursor: not-allowed; }
.rf-btn-full { width: 100%; }

.rf-card {
  background: var(--rf-basalt);
  border: 1px solid var(--rf-line);
  padding: 28px;
  margin-bottom: 20px;
}
.rf-card h2 {
  margin: 0 0 16px;
  font-family: var(--rf-display);
  font-size: 22px;
  font-weight: 600;
}

.rf-prose {
  max-width: 740px;
  margin: 0 auto;
  padding: 72px var(--rf-gutter) 96px;
}
.rf-prose h2 {
  margin: 32px 0 10px;
  font-family: var(--rf-display);
  font-size: 22px;
  font-weight: 600;
  color: var(--rf-fracture-hot);
}
.rf-prose p,
.rf-prose li {
  color: var(--rf-ash);
  line-height: 1.7;
}
.rf-prose ul { padding-left: 20px; }
.rf-prose code { color: var(--rf-fracture-hot); }

.rf-news-list {
  list-style: none;
  margin: 0;
  padding: 0;
}
.rf-news-list li {
  border-top: 1px solid var(--rf-line);
  padding: 22px 0;
}
.rf-news-list li:first-child { border-top: 0; }
.rf-news-list a { text-decoration: none; }
.rf-news-list time {
  display: block;
  font-size: 12px;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--rf-ash);
  margin-bottom: 6px;
}
.rf-news-list h2 {
  margin: 0;
  font-family: var(--rf-display);
  font-size: 26px;
  font-weight: 600;
}
.rf-news-list a:hover h2 { color: var(--rf-fracture-hot); }

.rf-article-body {
  color: var(--rf-ash);
  font-size: 17px;
  line-height: 1.75;
}
.rf-article-body h2 {
  color: var(--rf-bone);
  font-family: var(--rf-display);
}
.rf-article-body img { margin: 16px 0; }

.rf-faq { border-top: 1px solid var(--rf-line); }
.rf-faq-q {
  width: 100%;
  text-align: left;
  background: none;
  border: 0;
  border-bottom: 1px solid var(--rf-line);
  color: var(--rf-bone);
  font-family: var(--rf-display);
  font-size: 22px;
  padding: 16px 0;
  cursor: pointer;
}
.rf-faq-q:hover { color: var(--rf-fracture-hot); }
.rf-faq-a {
  display: none;
  padding: 0 0 18px;
  color: var(--rf-ash);
}
.rf-faq-a.is-open { display: block; }

.rf-msg { display: none; margin-bottom: 14px; }
.rf-msg.is-err { display: block; color: #ffb4b4; }
.rf-msg.is-ok { display: block; color: #b8f0c8; }

.rf-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 18px;
  color: var(--rf-ash);
  margin: 8px 0 0;
}
.rf-rank {
  display: inline-block;
  margin-top: 8px;
  font-size: 11px;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--rf-fracture-hot);
}
.rf-table {
  width: 100%;
  border-collapse: collapse;
}
.rf-table th {
  text-align: left;
  font-size: 11px;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--rf-ash);
  padding: 10px 8px;
  border-bottom: 1px solid var(--rf-line);
}
.rf-table td {
  padding: 12px 8px;
  border-bottom: 1px solid var(--rf-line);
}
.rf-ok { color: #86efac; }
.rf-warn { color: #fbbf24; }

.rf-cart {
  position: relative;
  color: var(--rf-ash);
  text-decoration: none;
  font-size: 12px;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  padding: 6px 0;
}
.rf-cart:hover { color: var(--rf-fracture-hot); }
.rf-cart-n {
  position: absolute;
  top: -4px;
  right: -10px;
  min-width: 16px;
  height: 16px;
  padding: 0 4px;
  background: var(--rf-fracture);
  color: #fff;
  font-size: 10px;
  line-height: 16px;
  text-align: center;
}

.rf-pw-bar {
  height: 3px;
  background: var(--rf-line);
  margin-top: 8px;
}
.rf-pw-bar span {
  display: block;
  height: 100%;
  width: 0;
  background: var(--rf-fracture);
}
.rf-pw-bar.is-mid span { width: 66%; background: #fbbf24; }
.rf-pw-bar.is-ok span { width: 100%; background: #86efac; }
.rf-pw-bar.is-weak span { width: 33%; background: #f87171; }
