/* RAN - Prime Dev Mobile — mobile.ranonlineofficial.com
   Mobile first and kept clean: black base, white type, one yellow accent. Wider layouts from 760px. */
:root {
  --bg: #000;
  --surface: #0e0e11;
  --line: #222228;
  --text: #f2f2f5;
  --muted: #9d9da8;
  --tag: #f2c14e;
  --tag-ink: #111;
  --display: "Orbitron", "Arial Black", sans-serif;
  --label: "Michroma", "Arial", sans-serif;
  --body: "Inter", system-ui, -apple-system, sans-serif;
  color-scheme: dark;
}
* { box-sizing: border-box; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } }
body { margin: 0; background: var(--bg); color: var(--text); font: 16px/1.6 var(--body); -webkit-font-smoothing: antialiased; }
img { max-width: 100%; }
a { color: inherit; }
:focus-visible { outline: 2px solid var(--tag); outline-offset: 3px; }
.wrap { max-width: 1080px; margin: 0 auto; padding-left: max(20px, env(safe-area-inset-left, 0px)); padding-right: max(20px, env(safe-area-inset-right, 0px)); }
.kicker { font: 11px/1.4 var(--label); letter-spacing: .18em; color: var(--tag); text-transform: uppercase; margin: 0 0 12px; }
h1, h2, h3 { margin: 0; text-wrap: balance; }
h2 { font: 900 clamp(26px, 7vw, 38px)/1.1 var(--display); }
h3 { font: 600 17px/1.35 var(--body); }
.lead { color: var(--muted); max-width: 52ch; margin: 12px 0 0; }
section { padding-block: 64px; }

/* Buttons */
.btn { display: inline-flex; align-items: center; justify-content: center; min-height: 52px; padding: 0 24px; border-radius: 12px; font: 13px var(--label); letter-spacing: .12em; text-decoration: none; text-transform: uppercase; border: 0; cursor: pointer; }
.btn-primary { background: var(--tag); color: var(--tag-ink); }
.btn-primary:hover { filter: brightness(1.08); }
.btn-ghost { background: rgba(255,255,255,.06); color: #fff; box-shadow: inset 0 0 0 1px rgba(255,255,255,.28); }
.btn-ghost:hover { background: rgba(255,255,255,.12); }
.btn .ico { width: 18px; height: 18px; margin-right: 8px; }
.btn-small { min-height: 40px; padding: 0 14px; border-radius: 10px; font-size: 11px; }
.btn-block { width: 100%; }

/* Header */
body::before { content: ""; position: fixed; inset: 0 0 auto; height: env(safe-area-inset-top, 0px); z-index: 21; background: #000; }
.site-header { position: sticky; top: env(safe-area-inset-top, 0px); z-index: 20; background: rgba(0,0,0,.78); backdrop-filter: blur(12px); -webkit-backdrop-filter: blur(12px); }
.site-header .wrap { display: flex; align-items: center; justify-content: space-between; gap: 12px; height: 60px; }
.brand { display: block; width: 136px; aspect-ratio: 1038 / 299; }
.brand svg { display: block; width: 100%; height: 100%; overflow: visible; }
.nav { display: none; }
@media (min-width: 760px) {
  .site-header .wrap { height: 68px; }
  .brand { width: 168px; }
  .nav { display: flex; gap: 28px; margin-left: auto; margin-right: 8px; }
  .nav a { text-decoration: none; font: 12px var(--label); letter-spacing: .1em; color: var(--muted); }
  .nav a:hover { color: #fff; }
}

/* Hero: two Gunners, after the classic key art */
.hero { position: relative; overflow: hidden; padding-block: 0; isolation: isolate; }
.hero-bg { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; object-position: 60% 50%; filter: brightness(.34) saturate(.45) contrast(1.15); z-index: -2; }
.hero::before { content: ""; position: absolute; inset: 0; z-index: -1;
  background:
    linear-gradient(118deg, rgba(242,193,78,0) 46%, rgba(242,193,78,.16) 50%, rgba(242,193,78,0) 54%),
    radial-gradient(ellipse at 60% 30%, rgba(255,255,255,.10) 0%, rgba(0,0,0,0) 55%),
    linear-gradient(to top, #000 8%, rgba(0,0,0,0) 48%); }
.hero-emblem { position: absolute; z-index: -1; left: 50%; top: 4%; width: 150%; max-width: 980px; transform: translateX(-50%); fill: rgba(255,255,255,.035); }
.blades { position: absolute; inset: 0; z-index: -1; overflow: hidden; pointer-events: none; }
.blades i { position: absolute; left: -20%; width: 140%; height: 2px; transform: rotate(-19deg); background: linear-gradient(90deg, rgba(242,193,78,0), rgba(242,193,78,.55) 50%, rgba(242,193,78,0)); }
.blades i:nth-child(1) { top: 30%; }
.blades i:nth-child(2) { top: 36%; opacity: .45; height: 1px; }
.blades i:nth-child(3) { top: 62%; opacity: .3; transform: rotate(19deg); }
@keyframes rise { from { transform: translateY(28px); } to { transform: none; } }
.duo { position: relative; height: min(118vw, 520px); max-width: 520px; margin: 0 auto; }
.duo img { position: absolute; bottom: 0; width: auto; filter: drop-shadow(0 18px 30px rgba(0,0,0,.85)); }
.duo .back { left: -6%; height: 82%; opacity: .95; animation: rise 1.1s cubic-bezier(.2,.7,.2,1) .15s both; }
.duo .front { right: -10%; height: 100%; animation: rise .9s cubic-bezier(.2,.7,.2,1) both; }
@media (prefers-reduced-motion: reduce) { .duo img { animation: none; } }
.hero-copy { padding-block: 0 48px; text-align: center; margin-top: -24px; position: relative; }
.hero-copy h1 { font: 900 clamp(34px, 10vw, 62px)/1.04 var(--display); }
.hero-copy .sub { color: rgba(255,255,255,.75); max-width: 32ch; margin: 14px auto 24px; }
.soon { margin: 0 0 14px; font: 11px/1.4 var(--label); letter-spacing: .16em; text-transform: uppercase; color: rgba(255,255,255,.7); }
.soon span { display: inline-block; margin-right: 8px; padding: 3px 8px; border-radius: 6px; background: var(--tag); color: var(--tag-ink); letter-spacing: .12em; }
.hero-ctas { display: flex; flex-direction: column; gap: 10px; align-items: stretch; max-width: 340px; margin: 0 auto; }
.hero-copy .note { margin: 14px 0 0; font-size: 13px; color: rgba(255,255,255,.5); }
@media (min-width: 760px) {
  .hero .wrap { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); align-items: end; min-height: 640px; }
  .hero-copy { order: -1; text-align: left; margin: 0; padding-block: 120px; }
  .hero-copy .sub { margin-left: 0; }
  .hero-ctas { flex-direction: row; margin: 0; max-width: none; }
  .duo { height: 600px; width: 100%; }
}

/* Proof line */
.proof { padding-block: 22px; border-block: 1px solid var(--line); }
.proof ul { list-style: none; margin: 0; padding: 0; display: flex; flex-wrap: wrap; justify-content: center; gap: 8px 22px; font-size: 13px; color: var(--muted); }
.proof b { color: #fff; font-weight: 600; }

/* Classic key art: shown whole (never cropped) so the artwork's logos and copyright stay intact */
.keyart { padding-bottom: 40px; }
.keyart-strip { display: flex; gap: 12px; overflow-x: auto; scroll-snap-type: x mandatory; scrollbar-width: none; margin-top: 24px; padding: 0 max(20px, env(safe-area-inset-right, 0px)) 4px max(20px, env(safe-area-inset-left, 0px)); scroll-padding-left: max(20px, env(safe-area-inset-left, 0px)); }
.keyart-strip::-webkit-scrollbar { display: none; }
.keyart-strip figure { flex: none; width: 86%; margin: 0; scroll-snap-align: start; }
.keyart-strip img { display: block; width: 100%; height: auto; aspect-ratio: 4 / 3; border-radius: 14px; background: var(--surface); }
.keyart .credit { margin-top: 10px; font-size: 12px; color: var(--muted); }
@media (min-width: 760px) {
  .keyart-strip { max-width: 1080px; margin-inline: auto; overflow: visible; display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 16px; }
  .keyart-strip figure { width: auto; }
}

/* Follow link */
.follow { display: flex; align-items: center; gap: 14px; margin-top: 8px; padding: 14px 16px; border-radius: 14px; background: var(--surface); text-decoration: none; }
.follow .ico { width: 36px; height: 36px; padding: 8px; border-radius: 50%; background: #1877f2; color: #fff; flex: none; }
.follow span { display: grid; font-size: 13px; color: var(--muted); }
.follow b { color: var(--text); font-size: 15px; }

/* Mobile test */
.steps { list-style: none; margin: 28px 0 0; padding: 0; }
.steps li { position: relative; padding: 0 0 20px 32px; }
.steps li::before { content: ""; position: absolute; left: 6px; top: 20px; bottom: 0; width: 2px; background: var(--line); }
.steps li:last-child::before { display: none; }
.steps li::after { content: ""; position: absolute; left: 0; top: 5px; width: 14px; height: 14px; border-radius: 50%; border: 2px solid #3a3a42; background: var(--bg); }
.steps li.done::after { background: #fff; border-color: #fff; }
.steps li.now::after { background: var(--tag); border-color: var(--tag); box-shadow: 0 0 0 5px rgba(242,193,78,.18); }
.steps b { display: block; font-weight: 600; }
.steps span { color: var(--muted); font-size: 14px; }
.now-tag { display: inline-block; margin-left: 6px; padding: 1px 7px; border-radius: 999px; background: var(--tag); color: var(--tag-ink); font: 9px var(--label); letter-spacing: .12em; vertical-align: 2px; }

.signup { margin-top: 12px; background: var(--surface); border-radius: 18px; padding: 22px 18px; display: grid; gap: 14px; }
.signup label { display: grid; gap: 6px; font-size: 13px; color: var(--muted); }
.signup input, .signup select { font: 16px var(--body); color: #fff; background: #000; border: 1px solid var(--line); border-radius: 12px; min-height: 52px; padding: 0 14px; width: 100%; appearance: none; -webkit-appearance: none; }
.signup select { background-image: linear-gradient(45deg, transparent 50%, #888 50%), linear-gradient(135deg, #888 50%, transparent 50%); background-position: calc(100% - 20px) 50%, calc(100% - 15px) 50%; background-size: 5px 5px; background-repeat: no-repeat; padding-right: 36px; }
.signup input:focus, .signup select:focus { border-color: var(--tag); outline: none; }
.signup .row2 { display: grid; gap: 14px; }
.signup .check { display: flex; gap: 10px; align-items: flex-start; font-size: 13px; color: var(--muted); }
.signup .check input { min-height: 0; width: 20px; height: 20px; margin: 1px 0 0; flex: none; appearance: auto; -webkit-appearance: checkbox; accent-color: var(--tag); }
.signup small { font-size: 12px; line-height: 1.45; color: #7d7d88; }
.signup .group { display: grid; gap: 14px; }
.signup .group[hidden] { display: none; }
.platform { border: 0; margin: 0; padding: 0; min-width: 0; }
.platform legend { padding: 0; margin-bottom: 6px; font-size: 13px; color: var(--muted); }
.seg { position: relative; display: grid; grid-template-columns: 1fr 1fr; gap: 6px; padding: 4px; border-radius: 14px; background: #000; border: 1px solid var(--line); }
.signup .seg input { position: absolute; left: 0; top: 0; width: 1px; height: 1px; min-height: 0; margin: 0; padding: 0; border: 0; opacity: 0; pointer-events: none; }
.seg label { display: flex; align-items: center; justify-content: center; gap: 8px; min-height: 46px; border-radius: 10px; font: 600 14px var(--body); color: var(--muted); cursor: pointer; }
.seg label svg { width: 18px; height: 18px; }
.seg input:checked + label { background: var(--tag); color: var(--tag-ink); }
.seg input:focus-visible + label { outline: 2px solid var(--tag); outline-offset: 2px; }
.hp { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }
.signup .fine { font-size: 12px; color: var(--muted); margin: 0; text-align: center; }
.form-msg { margin: 0; font-size: 14px; padding: 12px 14px; border-radius: 12px; background: #000; border: 1px solid var(--line); }
.form-msg.ok { border-color: rgba(127,212,155,.6); }
.form-msg.err { border-color: rgba(255,138,122,.7); }
@media (min-width: 760px) {
  .test-grid { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.1fr); gap: 56px; align-items: start; }
  .signup { margin-top: 0; padding: 28px; }
  .signup .row2 { grid-template-columns: 1fr 1fr; }
}

/* Classes */
.viewer { position: relative; margin-top: 24px; aspect-ratio: 1 / 1.05; max-width: 100%; border-radius: 20px; overflow: hidden; background: radial-gradient(ellipse at 50% 42%, #2a2a31 0%, #09090b 70%); }
.viewer model-viewer { width: 100%; height: 100%; background: transparent; --poster-color: transparent; }
.viewer .hint { position: absolute; left: 0; right: 0; bottom: 12px; text-align: center; font-size: 12px; color: rgba(255,255,255,.45); pointer-events: none; }
.class-tabs { display: flex; gap: 8px; overflow-x: auto; margin: 16px -20px 0; padding: 0 20px 6px; scroll-snap-type: x mandatory; scrollbar-width: none; }
.class-tabs::-webkit-scrollbar { display: none; }
.class-tabs button { flex: none; scroll-snap-align: start; display: grid; justify-items: center; gap: 2px; width: 84px; padding: 8px 4px 10px; border-radius: 14px; border: 1px solid transparent; background: var(--surface); color: var(--muted); font: 10px var(--label); letter-spacing: .04em; cursor: pointer; }
.class-tabs button img { height: 60px; width: auto; }
.class-tabs button[aria-pressed="true"] { border-color: var(--tag); color: var(--tag); }
.class-info { margin-top: 20px; }
.class-info .name { font: 900 clamp(30px, 9vw, 42px)/1 var(--display); }
.class-info .tagline { font: 13px var(--label); color: var(--tag); letter-spacing: .06em; margin: 8px 0 10px; }
.class-info p { color: rgba(255,255,255,.75); margin: 0; }
.class-info .meta { margin-top: 10px; font-size: 13px; color: var(--muted); }
.moves { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 16px; }
.moves button { min-height: 40px; padding: 0 14px; border-radius: 999px; border: 1px solid var(--line); background: transparent; color: var(--text); font: 13px var(--body); cursor: pointer; }
.moves button[aria-pressed="true"] { background: #fff; border-color: #fff; color: #000; }
.moves button:disabled { opacity: .3; cursor: not-allowed; }
@media (min-width: 900px) {
  .class-grid { display: grid; grid-template-columns: minmax(0, 1.1fr) minmax(0, 1fr); gap: 0 48px; align-items: center; }
  .class-tabs { flex-wrap: wrap; overflow: visible; margin: 0; padding: 0; }
}

/* What to expect */
.expect { background: linear-gradient(to bottom, #000, #0b0b0e 30%, #0b0b0e 70%, #000); }
.tiles { list-style: none; margin: 28px 0 0; padding: 0; display: grid; gap: 12px; grid-template-columns: repeat(auto-fit, minmax(min(240px, 100%), 1fr)); }
.tiles li { display: grid; gap: 4px; padding: 18px; border-radius: 16px; background: var(--surface); }
.tiles svg { width: 28px; height: 28px; margin-bottom: 8px; fill: none; stroke: var(--tag); stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; }
.tiles b { font-weight: 600; }
.tiles span { font-size: 14px; color: var(--muted); }

/* FAQ */
.faq { margin-top: 20px; }
.faq details { border-bottom: 1px solid var(--line); }
.faq summary { cursor: pointer; list-style: none; padding: 18px 32px 18px 0; font-weight: 600; position: relative; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: "+"; position: absolute; right: 2px; top: 15px; font: 22px var(--body); color: var(--tag); }
.faq details[open] summary::after { content: "–"; }
.faq details p { margin: 0 0 18px; color: rgba(255,255,255,.72); }

/* Final call */
.final { position: relative; overflow: hidden; text-align: center; padding-block: 88px; isolation: isolate; }
.final .lead { margin-inline: auto; }
.final .hero-ctas { margin-top: 28px; }
.final-emblem { position: absolute; z-index: -1; left: 50%; top: 50%; width: min(120%, 820px); transform: translate(-50%, -50%); fill: rgba(255,255,255,.035); }
@media (min-width: 760px) { .final .hero-ctas { justify-content: center; } }

/* Sticky join bar on phones */
.sticky-cta { position: fixed; left: 0; right: 0; bottom: 0; z-index: 30; padding: 12px max(16px, env(safe-area-inset-right, 0px)) calc(12px + env(safe-area-inset-bottom, 0px)) max(16px, env(safe-area-inset-left, 0px)); background: linear-gradient(to top, rgba(0,0,0,.95) 60%, rgba(0,0,0,0)); transform: translateY(110%); transition: transform .25s ease; }
.sticky-cta.show { transform: none; }
@media (min-width: 760px) { .sticky-cta { display: none; } }
@media (prefers-reduced-motion: reduce) { .sticky-cta { transition: none; } }

/* Footer */
.site-footer { border-top: 1px solid var(--line); padding-block: 32px calc(96px + env(safe-area-inset-bottom, 0px)); color: var(--muted); font-size: 13px; }
.site-footer .wrap { display: grid; gap: 14px; }
.site-footer nav { display: flex; flex-wrap: wrap; gap: 8px 20px; }
.site-footer a { color: var(--text); text-decoration: none; }
.site-footer p { margin: 0; max-width: 70ch; }
@media (min-width: 760px) { .site-footer { padding-bottom: 32px; } }

/* Legal page */
.legal { padding-block: 40px 64px; }
.legal article { max-width: 68ch; }
.legal h1 { font: 900 clamp(28px, 8vw, 40px)/1.1 var(--display); margin-bottom: 8px; }
.legal h2 { font: 600 19px/1.3 var(--body); margin: 32px 0 8px; }
.legal p, .legal li { color: rgba(255,255,255,.8); }
.legal .draft { background: rgba(242,193,78,.1); border: 1px solid rgba(242,193,78,.5); border-radius: 12px; padding: 12px 14px; color: var(--text); }
.back { text-decoration: none; font: 12px var(--label); letter-spacing: .1em; color: var(--muted); }
