/* ScrollSort — landing page styles
   Deliberately dependency-free: no fonts, no CDN, no analytics, no cookies.
   That keeps it fast (<15 KB), avoids a GDPR cookie banner, and means nothing
   third-party can break or track your visitors. */

:root {
  --bg: #0a0a0c;
  --bg-soft: #111116;
  --card: #16161d;
  --line: #24242e;
  --text: #ececf1;
  --muted: #9a9aa8;
  --accent: #c8f751;
  --accent-dim: #9fce2e;
  --radius: 14px;
  --max: 1080px;
}

* { box-sizing: border-box; }

html { scroll-behavior: smooth; }

body {
  margin: 0;
  background: var(--bg);
  color: var(--text);
  font: 16px/1.6 -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
  -webkit-font-smoothing: antialiased;
}

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

a { color: var(--accent); text-decoration: none; }
a:hover { text-decoration: underline; }

.wrap { max-width: var(--max); margin: 0 auto; padding: 0 22px; }

/* ---------- header ---------- */
header {
  position: sticky; top: 0; z-index: 20;
  background: rgba(10, 10, 12, .82);
  backdrop-filter: blur(10px);
  border-bottom: 1px solid var(--line);
}
.nav { display: flex; align-items: center; gap: 18px; height: 64px; }
.logo { display: flex; align-items: center; gap: 9px; font-weight: 700; letter-spacing: -.02em; color: var(--text); }
.logo:hover { text-decoration: none; }
.logo-mark {
  width: 26px; height: 26px; border-radius: 7px;
  background: var(--accent); color: #0a0a0c;
  display: grid; place-items: center; font-size: 15px; font-weight: 800;
}
.nav-links { margin-left: auto; display: flex; gap: 22px; font-size: 14.5px; }
.nav-links a { color: var(--muted); }
.nav-links a:hover { color: var(--text); text-decoration: none; }

/* ---------- buttons ---------- */
.btn {
  display: inline-flex; align-items: center; gap: 9px;
  padding: 12px 20px; border-radius: 10px;
  font-weight: 650; font-size: 15px; border: 1px solid transparent;
  cursor: pointer; transition: transform .12s ease, background .15s ease;
}
.btn:hover { text-decoration: none; transform: translateY(-1px); }
.btn-primary { background: var(--accent); color: #0a0a0c; }
.btn-primary:hover { background: #d4ff6b; }
.btn-ghost { border-color: var(--line); color: var(--text); background: var(--bg-soft); }
.btn[aria-disabled="true"] { opacity: .55; pointer-events: none; }

/* ---------- hero ---------- */
.hero { padding: 74px 0 58px; }
.hero-grid { display: grid; grid-template-columns: 1.05fr .95fr; gap: 54px; align-items: center; }
.eyebrow {
  display: inline-flex; align-items: center; gap: 8px;
  font-size: 12.5px; letter-spacing: .09em; text-transform: uppercase;
  color: var(--accent); border: 1px solid rgba(200, 247, 81, .3);
  background: rgba(200, 247, 81, .07);
  padding: 6px 11px; border-radius: 999px; margin-bottom: 22px; font-weight: 650;
}
h1 { font-size: clamp(32px, 4.6vw, 50px); line-height: 1.08; letter-spacing: -.03em; margin: 0 0 18px; font-weight: 800; }
h1 em { font-style: normal; color: var(--accent); }
.lede { font-size: 17.5px; color: var(--muted); margin: 0 0 28px; max-width: 46ch; }
.cta-row { display: flex; flex-wrap: wrap; gap: 12px; align-items: center; }
.cta-note { font-size: 13.5px; color: var(--muted); margin-top: 14px; }

/* ---------- feed mockup ---------- */
.mock { background: var(--card); border: 1px solid var(--line); border-radius: var(--radius); padding: 14px; }
.mock-bar { display: flex; align-items: center; gap: 8px; margin-bottom: 12px; font-size: 12.5px; color: var(--muted); }
.dot { width: 8px; height: 8px; border-radius: 50%; background: var(--line); }
.chip {
  margin-left: auto; font-size: 11.5px; color: #0a0a0c; background: var(--accent);
  padding: 3px 9px; border-radius: 999px; font-weight: 700;
}
.cards { display: grid; grid-template-columns: repeat(3, 1fr); gap: 9px; }
.card-thumb {
  aspect-ratio: 9 / 14; border-radius: 9px; position: relative; overflow: hidden;
  background: linear-gradient(160deg, #232330, #17171f);
  border: 1px solid var(--line);
}
.card-thumb span {
  position: absolute; left: 6px; bottom: 6px;
  font-size: 10.5px; font-weight: 700; color: #0a0a0c;
  background: var(--accent); border-radius: 5px; padding: 2px 6px;
}
.card-thumb.rank1 { background: linear-gradient(160deg, #2f3a12, #171a12); }
.card-thumb.rank2 { background: linear-gradient(160deg, #262233, #17161f); }
.card-thumb.rank3 { background: linear-gradient(160deg, #1f2a2f, #151a1d); }

/* ---------- sections ---------- */
section { padding: 62px 0; border-top: 1px solid var(--line); }
h2 { font-size: clamp(24px, 3vw, 33px); letter-spacing: -.02em; margin: 0 0 12px; font-weight: 780; }
.sub { color: var(--muted); margin: 0 0 40px; max-width: 62ch; }

.steps { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; }
.step { background: var(--bg-soft); border: 1px solid var(--line); border-radius: var(--radius); padding: 22px; }
.step-n {
  width: 27px; height: 27px; border-radius: 8px; display: grid; place-items: center;
  background: rgba(200, 247, 81, .12); color: var(--accent); font-weight: 800; font-size: 13.5px;
  margin-bottom: 13px;
}
.step h3 { font-size: 16px; margin: 0 0 7px; }
.step p { margin: 0; color: var(--muted); font-size: 14.5px; }

.features { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; }
.feature { padding: 20px; border: 1px solid var(--line); border-radius: var(--radius); background: var(--bg-soft); }
.feature h3 { font-size: 15px; margin: 0 0 6px; }
.feature p { margin: 0; font-size: 14px; color: var(--muted); }
.feature .tag { font-size: 11px; text-transform: uppercase; letter-spacing: .08em; color: var(--accent); font-weight: 700; }

table { width: 100%; border-collapse: collapse; font-size: 14.5px; }
th, td { text-align: left; padding: 13px 14px; border-bottom: 1px solid var(--line); }
th { color: var(--muted); font-weight: 600; font-size: 13px; text-transform: uppercase; letter-spacing: .06em; }
td.y { color: var(--accent); font-weight: 700; }
td.n { color: #6a6a78; }
.table-wrap { border: 1px solid var(--line); border-radius: var(--radius); overflow: hidden; background: var(--bg-soft); }

details { border-bottom: 1px solid var(--line); padding: 16px 0; }
details summary { cursor: pointer; font-weight: 620; list-style: none; }
details summary::-webkit-details-marker { display: none; }
details summary::before { content: "+"; color: var(--accent); margin-right: 10px; font-weight: 800; }
details[open] summary::before { content: "–"; }
details p { color: var(--muted); margin: 10px 0 0 22px; font-size: 14.5px; }

.final { text-align: center; }
.final .lede { margin-left: auto; margin-right: auto; }
.final .cta-row { justify-content: center; }

/* ---------- footer ---------- */
footer { border-top: 1px solid var(--line); padding: 34px 0 46px; color: var(--muted); font-size: 13.5px; }
.foot-grid { display: flex; flex-wrap: wrap; gap: 14px 28px; align-items: center; }
.foot-links { margin-left: auto; display: flex; gap: 22px; flex-wrap: wrap; }
.foot-links a { color: var(--muted); }
.foot-links a:hover { color: var(--text); }
.disclaimer { margin-top: 22px; font-size: 12.5px; color: #6a6a78; max-width: 78ch; }

/* ---------- responsive ---------- */
@media (max-width: 900px) {
  .hero-grid, .steps, .features { grid-template-columns: 1fr; }
  .hero { padding-top: 46px; }
  .nav-links { display: none; }
  .mock { max-width: 380px; }
}
