/* css/roblox-devs.css — the Roblox developers' landing page (roblox-devs.html).
   Loaded after store.css; every rule sits under .rx, the page's <main>.

   The page's brief (feedback, 2026-10-31): fewer words, one column width all
   the way down, and the lime kept for the one act a view has. Surfaces are
   neutral greys rather than green-tinted, the picture of an imported place
   does the explaining, and every section is the same width so nothing
   jumps between half and full. */

.rx {
  --rx-w: 1080px;
  --rx-card: #141614;
  --rx-line: rgba(255, 255, 255, .09);
  --rx-ink: #f4f6f2;
  --rx-soft: #b4bab0;
  --rx-quiet: #8e958b;
  --rx-r: 10px;
}
.rx > * { max-width: var(--rx-w); margin-left: auto; margin-right: auto; }

/* Safari: shown by js/browser-note.js, never by default */
.rx-safari {
  display: flex; align-items: center; gap: 16px; flex-wrap: wrap;
  margin-top: 24px; padding: 18px 22px;
  background: #2a2208; border: 1px solid #c9a227; border-radius: var(--rx-r);
}
.rx-safari[hidden], .rx-safari-msg[hidden] { display: none; }
.rx-safari-msg { flex: 1 1 320px; color: #fbeec4; font-size: 1.1rem; line-height: 1.45; }
.rx-safari-msg b { color: #fff; }
.rx .rx-copy { flex: none; }

/* the hero: words left, the imported place right */
.rx-hero {
  display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
  gap: 56px; align-items: center; padding: 64px 0 8px;
}
.rx-kicker {
  color: var(--rx-quiet); font-size: .8rem; font-weight: 700;
  letter-spacing: .12em; text-transform: uppercase;
}
.rx h1 {
  margin-top: 14px; color: var(--rx-ink);
  font: 700 clamp(2.3rem, 4.4vw, 3.5rem) / 1.04 var(--sg); letter-spacing: -.04em;
}
.rx-lede { margin-top: 18px; max-width: 34em; color: var(--rx-soft); font-size: 1.12rem; line-height: 1.55; }
.rx .cta-row { margin-top: 28px; display: flex; flex-wrap: wrap; gap: 10px; }
.rx .btn { min-height: 44px; padding: 0 18px; font-size: .95rem; }
.rx-meta { margin-top: 16px; color: var(--rx-quiet); font-size: .88rem; }
.rx-shot { margin: 0; }
.rx-shot img {
  display: block; width: 100%; height: auto; aspect-ratio: 1;
  border: 1px solid var(--rx-line); border-radius: var(--rx-r);
}
.rx-shot figcaption { margin-top: 10px; color: var(--rx-quiet); font-size: .86rem; }

/* sections: one rhythm, one width */
.rx-sec { margin-top: 88px; }
.rx h2 {
  color: var(--rx-ink); font: 700 clamp(1.5rem, 2.4vw, 2rem) / 1.15 var(--sg);
  letter-spacing: -.03em; margin-bottom: 24px;
}
.rx h3 { color: var(--rx-ink); font: 700 1.1rem / 1.3 var(--sg); margin-bottom: 14px; }

/* steps: three equal cards */
.rx-steps { list-style: none; display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 16px; }
.rx-steps li,
.rx-card,
.rx-tile {
  background: var(--rx-card); border: 1px solid var(--rx-line); border-radius: var(--rx-r);
}
.rx-steps li { display: flex; flex-direction: column; gap: 6px; padding: 22px 24px 24px; }
.rx-n {
  display: inline-grid; place-items: center; width: 32px; height: 32px; margin-bottom: 10px;
  border: 1px solid var(--rx-line); border-radius: 50%;
  color: var(--rx-ink); font: 700 .95rem var(--mono);
}
.rx-steps b { color: var(--rx-ink); font-size: 1.08rem; }
.rx-steps li > span:last-child { color: var(--rx-soft); }

/* what comes over: two cards side by side */
.rx-split { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 16px; }
.rx-card { padding: 26px 28px; }
.rx-card p { margin-top: 14px; color: var(--rx-soft); line-height: 1.6; }
.rx-card p b { color: var(--rx-ink); }
.rx-list { list-style: none; display: grid; gap: 10px; }
.rx-list li { position: relative; padding-left: 28px; color: var(--rx-ink); }
.rx-list li::before {
  content: "\2713"; position: absolute; left: 0; top: 0;
  color: var(--lime); font-weight: 700;
}
.rx-card p.rx-first { margin-top: 0; }

/* why: four tiles, a big word and a short line */
.rx-why { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 16px; }
.rx-tile { display: flex; flex-direction: column; gap: 8px; padding: 24px; }
.rx-tile b { color: var(--rx-ink); font: 700 1.7rem / 1.1 var(--sg); letter-spacing: -.03em; }
.rx-tile span { color: var(--rx-soft); line-height: 1.45; }

/* questions: closed until asked */
.rx-faq { border-top: 1px solid var(--rx-line); }
.rx-q { border-bottom: 1px solid var(--rx-line); }
.rx-q summary {
  cursor: pointer; list-style: none; padding: 20px 36px 20px 0; position: relative;
  color: var(--rx-ink); font-weight: 700; font-size: 1.05rem;
}
.rx-q summary::-webkit-details-marker { display: none; }
.rx-q summary::after {
  content: "+"; position: absolute; right: 4px; top: 50%; transform: translateY(-50%);
  color: var(--rx-quiet); font: 400 1.4rem var(--mono);
}
.rx-q[open] summary::after { content: "\2212"; }
.rx-q p { padding: 0 0 22px; max-width: 62ch; color: var(--rx-soft); line-height: 1.6; }

/* the close */
.rx-end {
  margin-top: 88px; padding: 44px 40px; text-align: center;
  background: var(--rx-card); border: 1px solid var(--rx-line); border-radius: var(--rx-r);
}
.rx-end h2 { margin-bottom: 0; }
.rx-end .cta-row { justify-content: center; margin-top: 22px; }
.rx-cli { margin-top: 20px; color: var(--rx-quiet); font-size: .88rem; }
.rx-cli a { color: var(--rx-soft); text-decoration: underline; text-underline-offset: 3px; }
.rx-cli a:hover { color: var(--rx-ink); }

@media (max-width: 899px) {
  .rx-hero { grid-template-columns: minmax(0, 1fr); gap: 32px; padding-top: 40px; }
  .rx-why { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
@media (max-width: 640px) {
  .rx-sec, .rx-end { margin-top: 56px; }
  .rx-steps, .rx-split, .rx-why { grid-template-columns: minmax(0, 1fr); }
  .rx-steps li { flex-direction: row; flex-wrap: wrap; align-items: baseline; column-gap: 12px; }
  .rx-n { margin-bottom: 0; }
  .rx-steps li > span:last-child { flex-basis: 100%; }
  .rx-card, .rx-tile { padding: 20px; }
  .rx-end { padding: 32px 20px; }
  .rx .cta-row .btn { flex: 1 1 auto; justify-content: center; }
}

/* what you used on Roblox: a two-column table, scrolls inside itself on a phone */
.rx-map-wrap { overflow-x: auto; border: 1px solid var(--rx-line); border-radius: var(--rx-r); background: var(--rx-card); }
.rx-map { width: 100%; border-collapse: collapse; }
.rx-map th, .rx-map td { padding: 14px 22px; text-align: left; border-top: 1px solid var(--rx-line); vertical-align: top; }
.rx-map thead th { border-top: 0; color: var(--rx-quiet); font: 600 .8rem var(--mono); text-transform: uppercase; letter-spacing: .06em; }
.rx-map tbody th { color: var(--rx-ink); font-weight: 700; white-space: nowrap; width: 34%; }
.rx-map td { color: var(--rx-soft); line-height: 1.5; }
.rx-note { margin-top: 16px; color: var(--rx-soft); }
.rx-note a { color: var(--rx-ink); text-decoration: underline; text-underline-offset: 3px; }
@media (max-width: 640px) {
  .rx-map th, .rx-map td { padding: 12px 14px; }
  .rx-map tbody th { white-space: normal; }
}

/* your numbers: one strip with a rule between, so it doesn't read as the
   tiles under "Why sell here" a second time */
.rx-nums { list-style: none; display: grid; grid-template-columns: repeat(4, minmax(0, 1fr));
  border-top: 2px solid var(--lime); border-bottom: 1px solid var(--rx-line); }
.rx-nums li { display: flex; flex-direction: column; gap: 6px; padding: 18px 20px 20px; }
.rx-nums li + li { border-left: 1px solid var(--rx-line); }
.rx-nums b { color: var(--rx-ink); font: 700 1.15rem / 1.2 var(--sg); }
.rx-nums span { color: var(--rx-soft); line-height: 1.45; }
@media (max-width: 899px) {
  .rx-nums { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .rx-nums li:nth-child(3) { border-left: 0; }
  .rx-nums li:nth-child(n+3) { border-top: 1px solid var(--rx-line); }
}
@media (max-width: 640px) {
  .rx-why { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 10px; }
  .rx-tile { padding: 16px; }
  .rx-tile b { font-size: 1.35rem; }
  .rx-nums li { padding: 14px 12px 16px; }
}
.rx-note a { display: inline-block; padding: 12px 0; }
