@charset "UTF-8";
/* ============================================================
   SoloRank — marketing site
   Deliberate single-world design: the app's own visual identity
   ("Dark backgrounds. White text. Orange/gold for anything
   earned.") IS the brand, so this page commits to one dark game-HUD
   world rather than a light/dark toggle — same reasoning as an
   arcade-screen or letterpress-invitation design. All colors are
   painted directly; no prefers-color-scheme branching.
   ============================================================ */

:root{
  --bg:            #0A0A0C;
  --surface:       #16161B;
  --surface-2:     #1E1E24;
  --surface-3:     #26262E;
  --line:          #2A2A32;
  --line-soft:     #1D1D22;
  --text:          #F2EFE9;
  --text-dim:      #9B98A6;
  --text-faint:    #605D6B;
  --gold:          #FFD700;
  --gold-deep:     #B8940A;

  --rank-s:#FFD700; --rank-a:#4F46E5; --rank-b:#10B981;
  --rank-c:#3B82F6; --rank-d:#F59E0B; --rank-e:#EF4444;

  --stat-str:#EF4444; --stat-agi:#F97316; --stat-sta:#10B981;
  --stat-int:#6366F1; --stat-dis:#3B82F6; --stat-cre:#E879F9; --stat-sen:#8B5CF6;

  --font-display: "Arial Black", "Segoe UI Black", "Helvetica Neue", Arial, sans-serif;
  --font-body:    "Segoe UI", -apple-system, BlinkMacSystemFont, system-ui, Roboto, sans-serif;
  --font-mono:    "Cascadia Mono", "SF Mono", Consolas, "Courier New", monospace;

  --measure: 62ch;
  --container: 1140px;
}

*, *::before, *::after{ box-sizing:border-box; }
html{ scroll-behavior:smooth; }
@media (prefers-reduced-motion: reduce){
  html{ scroll-behavior:auto; }
  *, *::before, *::after{ animation-duration:.001ms !important; animation-iteration-count:1 !important; transition-duration:.001ms !important; }
}

body{
  margin:0;
  background:var(--bg);
  color:var(--text);
  font-family:var(--font-body);
  font-size:16px;
  line-height:1.6;
  -webkit-font-smoothing:antialiased;
  background-image:
    radial-gradient(ellipse 900px 500px at 15% -10%, rgba(255,215,0,.05), transparent 60%),
    radial-gradient(ellipse 700px 500px at 100% 10%, rgba(79,70,229,.06), transparent 55%);
  background-repeat:no-repeat;
}

img{ max-width:100%; display:block; }
a{ color:inherit; }
:focus-visible{ outline:2px solid var(--gold); outline-offset:3px; border-radius:2px; }

.wrap{ max-width:var(--container); margin:0 auto; padding:0 24px; }
.overflow-x{ overflow-x:auto; }

.eyebrow{
  font-family:var(--font-mono);
  font-size:12.5px;
  letter-spacing:.16em;
  text-transform:uppercase;
  color:var(--gold);
  display:flex; align-items:center; gap:10px;
  margin:0 0 14px;
}
.eyebrow::before{ content:""; width:20px; height:1px; background:var(--gold-deep); display:inline-block; }

h1,h2,h3{
  font-family:var(--font-display);
  text-transform:uppercase;
  letter-spacing:-.01em;
  text-wrap:balance;
  margin:0;
  font-weight:900;
}
h2{ font-size:clamp(28px,4.4vw,44px); line-height:1.05; }
h3{ font-size:16px; letter-spacing:.02em; }

p{ margin:0; }
.lede{ color:var(--text-dim); max-width:var(--measure); font-size:17px; line-height:1.7; }

.tabular{ font-variant-numeric:tabular-nums; font-family:var(--font-mono); }

/* ---------- buttons ---------- */
.btn-row{ display:flex; flex-wrap:wrap; gap:12px; }
.store-btn{
  display:inline-flex; align-items:center; gap:10px;
  padding:14px 22px;
  border-radius:10px;
  font-family:var(--font-body); font-weight:600; font-size:15px;
  text-decoration:none;
  border:1px solid var(--line);
  background:var(--surface-2);
  color:var(--text);
  transition:transform .15s ease, border-color .15s ease, background .15s ease;
}
.store-btn:hover{ transform:translateY(-2px); border-color:var(--gold-deep); background:var(--surface-3); }
.store-btn .arrow{ color:var(--gold); font-family:var(--font-mono); transition:transform .15s ease; }
.store-btn:hover .arrow{ transform:translateX(3px); }
.store-btn--primary{ border-color:var(--gold-deep); }
.store-btn small{ display:block; font-weight:400; color:var(--text-faint); font-size:11px; letter-spacing:.04em; text-transform:uppercase; }

/* ---------- nav ---------- */
.nav{
  position:sticky; top:0; z-index:40;
  background:rgba(10,10,12,.82);
  backdrop-filter:blur(10px);
  border-bottom:1px solid var(--line-soft);
}
.nav .wrap{ display:flex; align-items:center; justify-content:space-between; padding-top:14px; padding-bottom:14px; gap:20px; }
.brand{ display:flex; align-items:center; gap:10px; text-decoration:none; }
.brand img{ width:30px; height:30px; border-radius:7px; }
.brand span{ font-family:var(--font-display); font-size:18px; letter-spacing:.01em; text-transform:uppercase; }
.nav-links{ display:flex; gap:26px; list-style:none; margin:0; padding:0; }
.nav-links a{ text-decoration:none; color:var(--text-dim); font-size:14px; font-weight:600; transition:color .15s ease; }
.nav-links a:hover{ color:var(--text); }
.nav-cta{ display:flex; gap:10px; }
.nav-cta .store-btn{ padding:9px 14px; font-size:13px; }
@media (max-width:760px){ .nav-links{ display:none; } }

/* ---------- hero ---------- */
.hero{ padding:76px 0 90px; }
.hero .wrap{ display:grid; grid-template-columns:1.05fr .95fr; gap:56px; align-items:center; }
@media (max-width:900px){ .hero .wrap{ grid-template-columns:1fr; } }
.hero h1{ font-size:clamp(38px,6.2vw,66px); line-height:.98; margin-bottom:20px; }
.hero h1 em{ font-style:normal; color:var(--gold); }
.hero .lede{ font-size:18px; margin-bottom:30px; }
.hero .btn-row{ margin-bottom:14px; }
.hero .fine-print{ color:var(--text-faint); font-size:13px; }

/* character sheet card */
.sheet{
  background:linear-gradient(180deg, var(--surface) 0%, var(--surface-2) 100%);
  border:1px solid var(--line);
  border-radius:18px;
  padding:26px 26px 22px;
  box-shadow:0 30px 60px -30px rgba(0,0,0,.7);
}
.sheet-head{ display:flex; align-items:center; justify-content:space-between; margin-bottom:22px; padding-bottom:18px; border-bottom:1px solid var(--line); }
.sheet-head .label{ font-family:var(--font-mono); font-size:11px; letter-spacing:.14em; color:var(--text-faint); text-transform:uppercase; margin-bottom:6px; }
.rank-chip{
  width:52px; height:56px;
  clip-path:polygon(50% 0%, 100% 25%, 100% 75%, 50% 100%, 0% 75%, 0% 25%);
  background:color-mix(in srgb, var(--rank-d) 22%, var(--surface));
  border:1px solid var(--rank-d);
  display:flex; align-items:center; justify-content:center;
  font-family:var(--font-display); font-size:22px; color:var(--rank-d);
}
.sheet-head-right{ text-align:right; }
.sheet-head-right .xp{ color:var(--gold); font-size:15px; }
.stat-row{ display:grid; grid-template-columns:44px 1fr 40px; align-items:center; gap:12px; margin-bottom:12px; }
.stat-row:last-child{ margin-bottom:0; }
.stat-row .code{ font-family:var(--font-mono); font-size:12px; letter-spacing:.04em; color:var(--text-dim); }
.stat-row .track{ height:7px; border-radius:4px; background:var(--line-soft); overflow:hidden; }
.stat-row .fill{ height:100%; border-radius:4px; width:0; transition:width 1.1s cubic-bezier(.16,1,.3,1); }
.stat-row .pct{ font-family:var(--font-mono); font-size:12px; color:var(--text-dim); text-align:right; }
.sheet-foot{ margin-top:20px; padding-top:14px; border-top:1px solid var(--line); font-family:var(--font-mono); font-size:11px; color:var(--text-faint); letter-spacing:.04em; text-transform:uppercase; }

/* ---------- generic section ---------- */
section{ padding:84px 0; border-top:1px solid var(--line-soft); }
.section-head{ max-width:640px; margin-bottom:46px; }

/* ---------- how it works ---------- */
.loop{ display:grid; gap:0; }
.loop-step{ display:grid; grid-template-columns:64px 1fr; gap:22px; padding:22px 0; border-top:1px solid var(--line-soft); }
.loop-step:first-child{ border-top:none; }
.loop-step .num{ font-family:var(--font-mono); font-size:13px; color:var(--gold); padding-top:3px; }
.loop-step h3{ margin-bottom:6px; color:var(--text); }
.loop-step p{ color:var(--text-dim); font-size:15px; max-width:56ch; }

/* ---------- stats grid ---------- */
.stat-grid{ display:grid; grid-template-columns:repeat(auto-fit, minmax(230px,1fr)); gap:1px; background:var(--line-soft); border:1px solid var(--line-soft); border-radius:14px; overflow:hidden; }
.stat-card{ background:var(--surface); padding:24px 22px; border-left:3px solid var(--c); transition:background .15s ease; }
.stat-card:hover{ background:var(--surface-2); }
.stat-card .dot{ width:9px; height:9px; border-radius:50%; background:var(--c); margin-bottom:14px; box-shadow:0 0 12px var(--c); }
.stat-card h3{ color:var(--text); margin-bottom:8px; }
.stat-card p{ color:var(--text-dim); font-size:14px; line-height:1.55; }

/* ---------- rank rail ---------- */
.rank-rail{ display:flex; gap:0; align-items:stretch; min-width:720px; }
.rank-node{ flex:1; position:relative; padding:0 10px; }
.rank-node .connector{ position:absolute; top:34px; left:-50%; width:100%; height:2px; background:linear-gradient(90deg, var(--line), var(--pc, var(--line))); z-index:0; }
.rank-node:first-child .connector{ display:none; }
.rank-badge{
  width:68px; height:74px; margin:0 auto 18px;
  clip-path:polygon(50% 0%, 100% 25%, 100% 75%, 50% 100%, 0% 75%, 0% 25%);
  background:color-mix(in srgb, var(--c) 18%, var(--surface));
  border:1px solid var(--c);
  display:flex; align-items:center; justify-content:center;
  font-family:var(--font-display); font-size:26px; color:var(--c);
  position:relative; z-index:1;
  transition:transform .18s ease, box-shadow .18s ease;
}
.rank-node:hover .rank-badge{ transform:translateY(-4px); box-shadow:0 10px 24px -8px var(--c); }
.rank-node .pct{ font-family:var(--font-mono); font-size:11px; color:var(--text-faint); text-align:center; margin-bottom:8px; text-transform:uppercase; letter-spacing:.03em; }
.rank-node .quote{ font-size:13px; color:var(--text-dim); text-align:center; line-height:1.5; padding:0 4px; }
.rank-legend{ margin-top:18px; color:var(--text-faint); font-size:13px; }

/* ---------- pro / free cards ---------- */
.plans{ display:grid; grid-template-columns:1fr 1fr; gap:22px; }
@media (max-width:760px){ .plans{ grid-template-columns:1fr; } }
.plan{ background:var(--surface); border:1px solid var(--line); border-radius:16px; padding:32px; display:flex; flex-direction:column; gap:20px; }
.plan--pro{ border-color:var(--gold-deep); background:linear-gradient(180deg, var(--surface) 0%, color-mix(in srgb, var(--gold) 6%, var(--surface)) 100%); position:relative; }
.plan-tag{ font-family:var(--font-mono); font-size:11px; letter-spacing:.14em; text-transform:uppercase; color:var(--text-faint); }
.plan--pro .plan-tag{ color:var(--gold); }
.plan-price{ display:flex; align-items:baseline; gap:8px; }
.plan-price .amt{ font-family:var(--font-display); font-size:38px; }
.plan-price .per{ color:var(--text-faint); font-size:13px; }
.plan-sub{ color:var(--text-dim); font-size:13px; margin-top:-10px; }
.plan ul{ list-style:none; margin:0; padding:0; display:flex; flex-direction:column; gap:11px; }
.plan li{ display:flex; gap:10px; font-size:14.5px; color:var(--text-dim); }
.plan li::before{ content:"—"; color:var(--text-faint); }
.plan--pro li::before{ content:"—"; color:var(--gold); }
.plan-foot{ color:var(--text-faint); font-size:12.5px; margin-top:auto; }

/* ---------- follow ---------- */
.follow-grid{ display:grid; grid-template-columns:repeat(auto-fit, minmax(220px,1fr)); gap:1px; background:var(--line-soft); border:1px solid var(--line-soft); border-radius:14px; overflow:hidden; }
.follow-card{ background:var(--surface); padding:22px; text-decoration:none; display:flex; flex-direction:column; gap:4px; transition:background .15s ease; }
.follow-card:hover{ background:var(--surface-2); }
.follow-card .platform{ font-family:var(--font-mono); font-size:11px; letter-spacing:.1em; text-transform:uppercase; color:var(--text-faint); }
.follow-card .handle{ color:var(--gold); font-weight:700; font-size:15px; }
.follow-card .go{ margin-top:8px; font-family:var(--font-mono); font-size:12px; color:var(--text-dim); }

/* ---------- cta band ---------- */
.cta-band{ text-align:center; padding:90px 0; border-top:1px solid var(--line-soft); }
.cta-band h2{ margin-bottom:26px; }
.cta-band .btn-row{ justify-content:center; }

/* ---------- footer ---------- */
footer{ border-top:1px solid var(--line-soft); padding:36px 0; }
footer .wrap{ display:flex; flex-wrap:wrap; align-items:center; justify-content:space-between; gap:18px; }
.foot-brand{ display:flex; align-items:center; gap:10px; color:var(--text-faint); font-size:13px; }
.foot-brand img{ width:22px; height:22px; border-radius:5px; }
.foot-links{ display:flex; flex-wrap:wrap; gap:20px; list-style:none; margin:0; padding:0; }
.foot-links a{ text-decoration:none; color:var(--text-faint); font-size:13px; transition:color .15s ease; }
.foot-links a:hover{ color:var(--text-dim); }

/* ---------- reveal-on-scroll ---------- */
.reveal{ opacity:0; transform:translateY(18px); transition:opacity .6s ease, transform .6s ease; }
.reveal.in{ opacity:1; transform:none; }
@media (prefers-reduced-motion: reduce){
  .reveal{ opacity:1; transform:none; transition:none; }
}

/* ---------- legal subpages ---------- */
.legal-header{ padding:56px 0 30px; border-top:none; }
.legal-header .eyebrow{ margin-bottom:16px; }
.legal-header h1{ font-size:clamp(30px,5vw,46px); margin-bottom:14px; }
.legal-header p.lede{ margin-bottom:0; }
.legal-frame-wrap{ padding:0 0 70px; }
.legal-frame-shell{
  background:#fff;
  border:1px solid var(--line);
  border-radius:16px;
  overflow:hidden;
  box-shadow:0 30px 60px -30px rgba(0,0,0,.6);
}
.legal-frame-shell iframe{
  width:100%;
  height:80vh;
  min-height:520px;
  border:0;
  display:block;
}
.legal-fallback{
  margin-top:16px;
  font-size:13px;
  color:var(--text-faint);
}
.legal-fallback a{ color:var(--gold); text-decoration:none; }
.legal-fallback a:hover{ text-decoration:underline; }
