/* Public pages: /roadmap and /changelog. Same look as the /beta landing page:
   chalk background, white cards, ink type, bright green only for actions and
   progress. Green comes from themes.css (--acc-500), never hardcoded. */
:root {
  --ink: #101113; --chalk: #f1f2f4; --card: #fff; --text-2: #4a4f57; --muted: #5e636b; --faint: #8a8f98;
  --line: #e6e8eb; --ink-2: #26282c; --on-ink: #b8bcc4;
  --green: var(--acc-500, #22c55e);
  --raise: 0 1px 2px rgba(17, 18, 20, .04), 0 8px 24px rgba(17, 18, 20, .07);
  --font: "Plus Jakarta Sans", system-ui, -apple-system, "Segoe UI", sans-serif;
  --red: #d93b3b;
}
* { box-sizing: border-box; }
html, body { margin: 0; }
body { font-family: var(--font); background: var(--chalk); color: var(--ink); -webkit-font-smoothing: antialiased; font-size: 15px; line-height: 1.45; }
a { color: inherit; }
button { font: inherit; color: inherit; }
.ico { width: 18px; height: 18px; fill: none; stroke: currentColor; stroke-width: 2.2; stroke-linecap: round; stroke-linejoin: round; flex: none; }
.wrap { max-width: 1240px; margin: 0 auto; padding-left: 32px; padding-right: 32px; }
.g { color: var(--green); }
.eyebrow { font-size: 13px; font-weight: 800; letter-spacing: .14em; color: var(--muted); text-transform: uppercase; }

/* buttons */
.btn { border: 0; border-radius: 999px; font: 800 16px var(--font); padding: 16px 26px; cursor: pointer; text-decoration: none; display: inline-flex; align-items: center; justify-content: center; gap: 10px; white-space: nowrap; transition: transform .15s ease; }
.btn:active { transform: scale(.98); }
.btn:disabled { opacity: .5; cursor: default; }
.btn .ico { stroke-width: 2.8; }
.btn-green { background: var(--green); color: var(--ink); }
.btn-white { background: var(--card); color: var(--ink); font-weight: 700; box-shadow: var(--raise); }
.btn-ink { background: var(--ink); color: #fff; }
.btn-soft { background: var(--chalk); color: var(--ink); font-weight: 700; }
.btn-sm { font-size: 14px; padding: 10px 16px; }
.btn-wide { width: 100%; }

/* nav */
.st-nav { position: sticky; top: 0; z-index: 20; background: rgba(241, 242, 244, .92); -webkit-backdrop-filter: saturate(1.4) blur(10px); backdrop-filter: saturate(1.4) blur(10px); }
.st-nav .wrap { display: flex; align-items: center; justify-content: space-between; gap: 20px; padding-top: 20px; padding-bottom: 20px; }
.st-brand { display: flex; align-items: center; gap: 12px; text-decoration: none; font-size: 20px; font-weight: 800; letter-spacing: -.02em; }
.st-brand img { width: 40px; height: 40px; border-radius: 11px; display: block; }
.st-links { display: flex; align-items: center; gap: 28px; font-size: 15px; font-weight: 600; }
.st-links a { text-decoration: none; display: inline-flex; align-items: center; gap: 8px; }
.st-links a:hover { color: var(--text-2); }
.st-links a.on::before { content: ''; width: 7px; height: 7px; border-radius: 50%; background: var(--green); }
.st-links .st-cta { background: var(--ink); color: #fff; padding: 12px 20px; border-radius: 999px; }
.st-links .st-cta:hover { color: #fff; }
.st-menu { display: none; width: 44px; height: 44px; border: 0; border-radius: 50%; background: var(--card); align-items: center; justify-content: center; cursor: pointer; }

/* hero */
.st-hero { display: flex; flex-wrap: wrap; align-items: center; gap: 48px; padding-top: 48px; padding-bottom: 56px; }
.st-hero-copy { flex: 1 1 520px; min-width: 0; }
.st-hero h1 { font-size: clamp(44px, 6vw, 80px); font-weight: 800; line-height: .98; letter-spacing: -.045em; margin: 18px 0 0; }
.st-lede { font-size: 20px; font-weight: 500; line-height: 1.5; color: var(--text-2); margin: 22px 0 0; max-width: 29em; }
.st-acts { margin-top: 30px; display: flex; gap: 12px; flex-wrap: wrap; }
.st-how { flex: 1 1 400px; min-width: 0; background: var(--card); border-radius: 36px; padding: 36px; box-shadow: var(--raise); }
.st-how ol { list-style: none; padding: 0; margin: 22px 0 0; display: flex; flex-direction: column; gap: 20px; }
.st-how li { display: flex; gap: 16px; align-items: flex-start; }
.st-how b { display: block; font-size: 18px; font-weight: 800; }
.st-how li span span { display: block; font-size: 15px; color: var(--text-2); margin-top: 3px; }
.st-num { width: 38px; height: 38px; border-radius: 50%; background: var(--ink); color: var(--green); display: inline-flex; align-items: center; justify-content: center; font-size: 16px; font-weight: 800; flex: none; }

/* toolbar */
.st-tools { display: flex; flex-wrap: wrap; align-items: center; gap: 12px; padding-bottom: 22px; }
.st-pills { display: flex; gap: 8px; flex-wrap: wrap; flex: 1 1 560px; min-width: 0; }
.st-pill { border: 0; font: 700 15px var(--font); padding: 11px 18px; border-radius: 999px; background: var(--card); color: var(--ink); cursor: pointer; white-space: nowrap; text-decoration: none; }
.st-pill.on { background: var(--ink); color: #fff; }
.st-search { display: flex; align-items: center; gap: 10px; background: var(--card); border-radius: 999px; padding: 0 18px; height: 48px; flex: 0 1 300px; min-width: 0; box-shadow: var(--raise); color: var(--muted); }
.st-search input { border: 0; outline: 0; background: none; flex: 1; font: 500 15px var(--font); color: var(--ink); min-width: 0; }

.st-kick { margin: 26px 4px 12px; display: flex; align-items: center; gap: 10px; }
.st-count { background: var(--green); color: var(--ink); border-radius: 999px; font-size: 12px; padding: 2px 9px; letter-spacing: 0; }
.st-msg { color: var(--muted); font-weight: 600; padding: 6px 4px 18px; }

/* board */
.rm-cols { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 16px; align-items: start; padding-bottom: 40px; }
.rm-col { display: flex; flex-direction: column; gap: 12px; min-width: 0; }
.rm-colh { display: flex; align-items: center; justify-content: space-between; padding: 4px 6px 6px; }
.rm-colh > span:first-child { display: inline-flex; align-items: center; gap: 10px; font-size: 18px; font-weight: 800; }
.rm-n { font-size: 14px; font-weight: 700; color: var(--muted); background: var(--card); border-radius: 999px; padding: 3px 11px; }
.rm-dot { width: 12px; height: 12px; border-radius: 50%; flex: none; display: inline-flex; align-items: center; justify-content: center; }
.rm-dot.d-open { border: 2.5px solid var(--faint); }
.rm-dot.d-planned { background: var(--ink); }
.rm-dot.d-progress { background: var(--ink); }
.rm-dot.d-progress::after { content: ''; width: 5px; height: 5px; border-radius: 50%; background: var(--green); }
.rm-dot.d-shipped { background: var(--green); }
.rm-dot.d-pending { border: 2.5px dashed var(--faint); }
.rm-dot.d-declined { background: var(--red); }
.rm-tabs { display: none; }
.rm-card { background: var(--card); border-radius: 24px; padding: 18px; display: flex; gap: 14px; box-shadow: var(--raise); cursor: pointer; transition: transform .15s ease; }
.rm-card:active { transform: scale(.99); }
.rm-empty { color: var(--muted); font-size: 14px; font-weight: 600; text-align: center; padding: 28px 12px; border: 2px dashed #d9dce0; border-radius: 24px; }
.rm-vote { flex: 0 0 52px; height: 60px; border: 0; border-radius: 16px; background: var(--chalk); color: var(--ink); display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 3px; font: 800 16px var(--font); cursor: pointer; }
.rm-vote::before { content: ''; width: 0; height: 0; border-left: 7px solid transparent; border-right: 7px solid transparent; border-bottom: 8px solid var(--ink); }
.rm-vote.on { background: var(--ink); color: #fff; }
.rm-vote.on::before { border-bottom-color: var(--green); }
.rm-vote.static { cursor: default; }
.rm-vote.done { background: var(--green); color: var(--ink); }
.rm-vote.done::before { border: 0; width: 16px; height: 16px; background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath d='M5 12.5l4.5 4.5L19 7.5' fill='none' stroke='%23101113' stroke-width='3.4' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E") center / contain no-repeat; }
.rm-t { font-size: 17px; font-weight: 700; line-height: 1.3; overflow-wrap: anywhere; }
.rm-m { margin-top: 10px; display: flex; gap: 8px; flex-wrap: wrap; align-items: center; font-size: 13px; font-weight: 600; color: var(--muted); }
.rm-tag { background: var(--chalk); color: var(--ink); border-radius: 999px; padding: 4px 10px; font-weight: 700; }
.rm-ship { font-weight: 800; color: var(--ink); text-decoration: none; }
.rm-ship:hover { text-decoration: underline; }
.rm-badge { font-weight: 700; display: inline-flex; align-items: center; gap: 6px; color: var(--ink); }
.rm-badge .rm-dot { width: 10px; height: 10px; }

/* lists (waiting for approval, your suggestions, not planned) */
.st-ins { background: var(--card); border-radius: 24px; padding: 4px 20px; box-shadow: var(--raise); }
.st-row { display: flex; gap: 14px; padding: 14px 0; align-items: center; border-top: 1px solid var(--line); }
.st-row:first-child { border-top: 0; }
.st-row-main { flex: 1; min-width: 0; cursor: pointer; }
.st-row-main .rm-t { font-size: 16px; }
.st-row-main .rm-m { margin-top: 6px; }
.st-row-acts { display: flex; gap: 8px; flex: none; }

/* green block */
.st-block { padding-top: 40px; padding-bottom: 100px; }
.st-block > div { background: var(--green); border-radius: 44px; padding: 56px 64px; display: flex; flex-wrap: wrap; gap: 32px 40px; align-items: center; justify-content: space-between; }
.st-block h2 { font-size: clamp(38px, 5vw, 64px); font-weight: 800; line-height: .98; letter-spacing: -.045em; margin: 0; }
.st-block p { font-size: 19px; font-weight: 600; line-height: 1.45; margin: 14px 0 0; max-width: 26em; }
.st-block .btn { font-size: 17px; padding: 20px 30px; }

/* footer */
.st-foot { background: var(--card); }
.st-foot .top { display: flex; flex-wrap: wrap; gap: 48px; padding-top: 72px; padding-bottom: 40px; }
.st-foot .who { flex: 1 1 260px; min-width: 0; }
.st-foot .who p { font-size: 14px; color: var(--muted); margin: 10px 0 0; }
.st-foot .st-brand img { width: 36px; height: 36px; border-radius: 10px; }
.st-foot nav { flex: 3 1 640px; min-width: 0; display: grid; grid-template-columns: repeat(auto-fit, minmax(150px, 1fr)); gap: 32px; font-size: 16px; font-weight: 600; }
.st-foot nav div { display: flex; flex-direction: column; gap: 14px; }
.st-foot h4 { font-size: 15px; font-weight: 600; color: var(--muted); margin: 0; }
.st-foot nav a { text-decoration: none; }
.st-foot nav a:hover { color: var(--text-2); }
.st-foot .social { display: flex; gap: 22px; padding-bottom: 56px; }
.st-foot .social a { display: inline-flex; }

/* sheet / modal */
.st-modal { position: fixed; inset: 0; z-index: 50; display: flex; align-items: center; justify-content: center; padding: 24px; }
.st-modal[hidden] { display: none; }
.st-backdrop { position: absolute; inset: 0; background: rgba(16, 17, 19, .42); animation: st-fade .2s ease; }
.st-panel { position: relative; background: var(--chalk); border-radius: 40px; width: min(600px, 100%); max-height: min(90vh, 900px); overflow: auto; padding: 32px 34px 34px; box-shadow: 0 24px 64px rgba(17, 18, 20, .24); animation: st-up .25s cubic-bezier(.2, .8, .2, 1); }
@keyframes st-fade { from { opacity: 0; } }
@keyframes st-up { from { transform: translateY(24px); opacity: 0; } }
.st-sh { display: flex; align-items: center; justify-content: space-between; gap: 10px; }
.st-sh-l { display: flex; gap: 8px; align-items: center; flex-wrap: wrap; min-width: 0; }
.st-rb { width: 40px; height: 40px; border-radius: 50%; border: 0; background: var(--card); display: grid; place-items: center; cursor: pointer; color: var(--ink); flex: none; }
.st-rb .ico { width: 16px; height: 16px; stroke-width: 2.6; }
.st-panel h2.st-title { font-size: clamp(30px, 5vw, 40px); font-weight: 800; line-height: 1; letter-spacing: -.04em; margin: 16px 0 0; }
.st-sub { font-size: 16px; line-height: 1.5; color: var(--text-2); margin: 12px 0 0; }
.st-chipx { background: var(--card); border-radius: 999px; padding: 7px 12px; font-size: 13px; font-weight: 700; display: inline-flex; align-items: center; gap: 7px; }
.st-chipx.ink { background: var(--ink); color: #fff; }
.st-chipx.ink .rm-dot.d-planned, .st-chipx.ink .rm-dot.d-progress { background: #fff; }
.st-chipx.ink .rm-dot.d-open { border-color: #fff; }

.st-form { margin-top: 22px; background: var(--card); border-radius: 24px; padding: 4px 20px; box-shadow: var(--raise); }
.st-fld { display: block; padding: 14px 0; border-top: 1px solid var(--line); }
.st-fld:first-child { border-top: 0; }
.st-fld > span { font-size: 13px; color: var(--muted); font-weight: 700; display: block; margin-bottom: 4px; }
.st-fld input, .st-fld textarea, .st-fld select { width: 100%; border: 0; outline: 0; background: none; font: 600 16px var(--font); color: var(--ink); resize: vertical; padding: 0; }
.st-fld textarea { min-height: 64px; font-weight: 500; line-height: 1.5; }
.st-sim { margin-top: 14px; background: var(--card); border-radius: 24px; padding: 16px 18px; }
.st-sim-h { display: flex; align-items: center; gap: 10px; font-size: 15px; font-weight: 800; }
.st-sim-h .ico { width: 26px; height: 26px; padding: 6px; border-radius: 50%; background: var(--ink); color: var(--green); stroke-width: 3; }
.st-sim-row { margin-top: 12px; display: flex; align-items: center; gap: 14px; background: var(--chalk); border-radius: 18px; padding: 10px 14px; }
.st-sim-row .rm-vote { flex-basis: 44px; height: 50px; background: var(--card); }
.st-sim-row .rm-vote.on { background: var(--ink); }
.st-sim-row .rm-t { font-size: 15px; }
.st-sim-row .rm-m { margin-top: 4px; }
.st-lab { font-size: 13px; font-weight: 700; color: var(--muted); margin: 18px 2px 10px; }
.st-chips { display: flex; gap: 8px; flex-wrap: wrap; }
.st-chip { border: 0; font: 700 14px var(--font); padding: 9px 14px; border-radius: 999px; background: var(--card); color: var(--ink); cursor: pointer; }
.st-chip.on { background: var(--ink); color: #fff; }
.st-note { font-size: 13px; color: var(--muted); margin: 12px 2px 0; text-align: center; }
.st-err { color: var(--red); font-size: 14px; font-weight: 600; margin: 10px 2px 0; min-height: 1em; }
.st-panel .btn-wide { margin-top: 22px; padding: 18px; }

.rq-top { display: flex; gap: 18px; margin-top: 20px; align-items: flex-start; }
.rq-top .rm-vote { flex-basis: 64px; height: 74px; border-radius: 20px; font-size: 20px; }
.rq-top .rm-vote:not(.on):not(.done) { background: var(--card); }
.rq-top h2 { font-size: clamp(24px, 4vw, 32px); font-weight: 800; line-height: 1.08; letter-spacing: -.03em; margin: 0; overflow-wrap: anywhere; }
.rq-by { font-size: 14px; color: var(--muted); margin-top: 8px; display: flex; flex-wrap: wrap; gap: 6px 10px; align-items: center; }
.rq-detail { font-size: 16px; line-height: 1.55; color: var(--text-2); margin: 18px 0 0; white-space: pre-wrap; overflow-wrap: anywhere; }
.rq-reason { margin-top: 16px; padding: 14px 16px; border-radius: 20px; background: var(--card); font-size: 15px; line-height: 1.45; }
.rq-merged { font-size: 13px; color: var(--muted); margin-top: 10px; }
.rq-cs { display: flex; flex-direction: column; gap: 10px; }
.rq-c { background: var(--card); border-radius: 20px; padding: 14px 16px; }
.rq-cn { font-size: 14px; font-weight: 800; display: flex; gap: 8px; align-items: center; flex-wrap: wrap; }
.rq-cn small { color: var(--muted); font-weight: 500; font-size: 13px; }
.rq-team { background: var(--green); color: var(--ink); border-radius: 999px; padding: 2px 8px; font-size: 11px; font-weight: 800; }
.rq-ct { font-size: 15px; line-height: 1.45; color: var(--text-2); margin-top: 4px; white-space: pre-wrap; overflow-wrap: anywhere; }
.rq-del { margin-left: auto; border: 0; background: none; color: var(--muted); cursor: pointer; font-size: 13px; font-weight: 600; }
.rq-add { display: flex; gap: 10px; margin-top: 12px; align-items: flex-end; }
.rq-add textarea { flex: 1; min-width: 0; border: 0; outline: 0; background: var(--card); border-radius: 24px; padding: 14px 18px; font: 500 15px var(--font); color: var(--ink); resize: none; min-height: 50px; }
.rq-add .btn { padding: 15px 22px; }

.rq-owner { margin-top: 22px; background: var(--ink); color: #fff; border-radius: 26px; padding: 20px; }
.rq-owner-h { display: flex; justify-content: space-between; align-items: center; gap: 10px; }
.rq-owner-h .eyebrow { color: var(--on-ink); }
.rq-owner-h small { font-size: 13px; color: var(--on-ink); }
.rq-seg { display: flex; flex-wrap: wrap; background: var(--ink-2); border-radius: 22px; padding: 4px; gap: 2px; margin-top: 14px; }
.rq-seg button { flex: 1 1 auto; border: 0; border-radius: 999px; background: none; color: var(--on-ink); font: 700 13px var(--font); padding: 10px 12px; cursor: pointer; }
.rq-seg button.on { background: var(--green); color: var(--ink); font-weight: 800; }
.rq-ofld { display: block; margin-top: 10px; background: var(--ink-2); border-radius: 16px; padding: 11px 14px; }
.rq-ofld span { display: block; font-size: 12px; font-weight: 700; color: var(--on-ink); margin-bottom: 3px; }
.rq-ofld input, .rq-ofld select { width: 100%; border: 0; outline: 0; background: none; font: 600 15px var(--font); color: #fff; padding: 0; }
.rq-ofld select option { color: var(--ink); }
.rq-oacts { display: flex; gap: 8px; margin-top: 12px; }
.rq-oacts .btn { flex: 1; font-size: 14px; padding: 12px; }
.rq-oacts .btn-dark { background: var(--ink-2); color: #fff; font-weight: 700; }

.st-toast { position: fixed; left: 50%; bottom: 28px; transform: translateX(-50%) translateY(20px); background: var(--ink); color: #fff; padding: 13px 20px; border-radius: 999px; font-size: 14px; font-weight: 700; opacity: 0; transition: .25s ease; z-index: 60; pointer-events: none; max-width: calc(100% - 32px); text-align: center; }
.st-toast.on { opacity: 1; transform: translateX(-50%); }

/* changelog */
.cl-hero { padding-top: 48px; padding-bottom: 48px; }
.cl-hero h1 { font-size: clamp(44px, 6vw, 80px); font-weight: 800; line-height: .98; letter-spacing: -.045em; margin: 18px 0 0; }
.cl-grid { display: flex; flex-wrap: wrap; gap: 28px; align-items: flex-start; padding-bottom: 40px; }
.cl-list { flex: 1 1 280px; max-width: 320px; background: var(--card); border-radius: 28px; padding: 10px; position: sticky; top: 96px; box-shadow: var(--raise); }
.cl-li { display: flex; gap: 14px; align-items: center; padding: 10px; border-radius: 18px; text-decoration: none; }
.cl-li:hover, .cl-li.on { background: var(--chalk); }
.cl-ver { flex: 0 0 48px; height: 48px; border-radius: 15px; background: var(--chalk); display: grid; place-items: center; font-size: 14px; font-weight: 800; }
.cl-li.on .cl-ver { background: var(--green); }
.cl-li:hover .cl-ver { background: var(--card); }
.cl-li.on:hover .cl-ver { background: var(--green); }
.cl-ln { display: block; font-size: 16px; font-weight: 800; }
.cl-ld { display: block; font-size: 13px; color: var(--muted); font-weight: 600; margin-top: 1px; }
.cl-art { flex: 999 1 640px; min-width: 0; display: flex; flex-direction: column; gap: 20px; }
.cl-chips { display: none; }
.cl-card { background: var(--card); border-radius: 36px; padding: 44px; box-shadow: var(--raise); }
.cl-meta { display: flex; align-items: center; gap: 12px; flex-wrap: wrap; font-size: 15px; font-weight: 700; color: var(--muted); }
.cl-card h2 { font-size: clamp(38px, 5vw, 56px); font-weight: 800; line-height: 1; letter-spacing: -.04em; margin: 20px 0 0; }
.cl-tag { font-size: 22px; font-weight: 800; margin-top: 10px; color: var(--green); }
.cl-sum { font-size: 18px; line-height: 1.55; color: var(--text-2); margin: 16px 0 0; max-width: 38em; }
.cl-his { margin-top: 36px; display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 14px; }
.cl-hi { background: var(--chalk); border-radius: 24px; padding: 22px; }
.cl-ic { width: 46px; height: 46px; border-radius: 50%; background: var(--ink); color: var(--green); display: grid; place-items: center; }
.cl-ic .ico { width: 22px; height: 22px; stroke-width: 2.4; }
.cl-hi h4 { font-size: 17px; font-weight: 800; margin: 16px 0 0; }
.cl-hi p { font-size: 14.5px; color: var(--text-2); line-height: 1.45; margin: 5px 0 0; }
.cl-lists { margin-top: 40px; display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 32px; }
.cl-lst ul { list-style: none; margin: 14px 0 0; padding: 0; display: flex; flex-direction: column; gap: 12px; font-size: 15px; font-weight: 600; line-height: 1.4; }
.cl-lst li { display: flex; gap: 12px; align-items: flex-start; }
.cl-b { width: 22px; height: 22px; flex: none; border-radius: 50%; background: var(--chalk); color: var(--ink); display: inline-flex; align-items: center; justify-content: center; }
.cl-b svg { width: 12px; height: 12px; fill: none; stroke: currentColor; stroke-width: 3.2; stroke-linecap: round; stroke-linejoin: round; }
.cl-lst.new .cl-b { background: var(--ink); color: var(--green); }
.cl-from { background: var(--ink); color: #fff; border-radius: 30px; padding: 26px 30px; display: flex; flex-wrap: wrap; gap: 18px 28px; align-items: center; justify-content: space-between; }
.cl-from .eyebrow { color: var(--on-ink); }
.cl-from-l { display: flex; flex-direction: column; gap: 12px; min-width: 0; flex: 1 1 320px; }
.cl-from-i { display: flex; align-items: center; gap: 14px; }
.cl-from-v { width: 48px; height: 48px; border-radius: 15px; background: var(--green); color: var(--ink); display: inline-flex; align-items: center; justify-content: center; font-size: 16px; font-weight: 800; flex: none; }
.cl-from-i b { display: block; font-size: 16px; }
.cl-from-i small { display: block; font-size: 13px; color: var(--on-ink); margin-top: 2px; }
.cl-pager { display: flex; justify-content: space-between; gap: 12px; }
.cl-pager a { text-decoration: none; background: var(--card); border-radius: 22px; padding: 16px 22px; font-size: 16px; font-weight: 800; box-shadow: var(--raise); display: flex; align-items: center; gap: 14px; }
.cl-pager a small { display: block; color: var(--muted); font-weight: 700; font-size: 13px; }
.cl-pager .nx { margin-left: auto; text-align: right; }

@media (max-width: 1000px) {
  .rm-cols { grid-template-columns: 1fr; }
  .rm-col { display: none; }
  .rm-col.on { display: flex; }
  .rm-colh { display: none; }
  .rm-tabs { display: flex; background: var(--card); border-radius: 999px; padding: 4px; gap: 2px; margin-bottom: 14px; }
  .rm-tabs button { flex: 1 1 auto; border: 0; background: none; font: 700 13.5px var(--font); padding: 11px 6px; border-radius: 999px; color: var(--text-2); cursor: pointer; white-space: nowrap; }
  .rm-tabs button.on { background: var(--ink); color: #fff; }
  .rm-tabs button span { margin-left: 4px; opacity: .7; }
  .cl-list { display: none; }
  .cl-chips { display: flex; gap: 8px; overflow-x: auto; scrollbar-width: none; margin: 0 -32px; padding: 0 32px 2px; }
  .cl-chips::-webkit-scrollbar { display: none; }
  .cl-chips .st-pill { flex: none; display: inline-flex; align-items: center; gap: 8px; }
  .cl-chips .st-pill.on::before { content: ''; width: 7px; height: 7px; border-radius: 50%; background: var(--green); }
  .cl-his, .cl-lists { grid-template-columns: 1fr; }
  .cl-his { gap: 10px; }
  .cl-hi { display: flex; gap: 14px; align-items: flex-start; padding: 16px; border-radius: 22px; }
  .cl-hi h4 { margin: 0; font-size: 16px; }
  .cl-ic { flex: none; width: 42px; height: 42px; }
  .cl-lists { gap: 26px; }
}
@media (max-width: 760px) {
  .wrap { padding-left: 20px; padding-right: 20px; }
  .st-nav .wrap { padding-top: 16px; padding-bottom: 16px; }
  .st-brand { font-size: 18px; gap: 10px; }
  .st-brand img { width: 36px; height: 36px; border-radius: 10px; }
  .st-menu { display: inline-flex; }
  .st-links { display: none; position: absolute; left: 20px; right: 20px; top: 70px; flex-direction: column; align-items: stretch; gap: 4px; background: var(--card); border-radius: 26px; padding: 10px; box-shadow: 0 16px 40px rgba(17, 18, 20, .16); }
  .st-nav.open .st-links { display: flex; }
  .st-links a { padding: 14px 16px; border-radius: 16px; font-size: 16px; }
  .st-links a.on { background: var(--chalk); }
  .st-links .st-cta { justify-content: center; margin-top: 4px; }
  .st-hero { padding-top: 20px; padding-bottom: 28px; gap: 24px; }
  .st-hero h1, .cl-hero h1 { font-size: 46px; margin-top: 14px; }
  .st-lede { font-size: 17px; margin-top: 16px; }
  .st-acts .btn { flex: 1 1 100%; }
  .st-how { border-radius: 28px; padding: 22px; }
  .st-how ol { margin-top: 16px; gap: 14px; }
  .st-how b { font-size: 15px; }
  .st-how li span span { display: none; }
  .st-how li { align-items: center; }
  .st-num { width: 32px; height: 32px; font-size: 14px; }
  .st-pills { flex-wrap: nowrap; overflow-x: auto; scrollbar-width: none; flex-basis: 100%; margin: 0 -20px; padding: 0 20px; }
  .st-pills::-webkit-scrollbar { display: none; }
  .st-pill { font-size: 14px; padding: 10px 15px; }
  .st-search { flex: 1 1 100%; }
  .rm-tabs button { font-size: 12.5px; padding: 11px 2px; }
  .rm-card { border-radius: 22px; padding: 16px; }
  .rm-vote { flex-basis: 50px; height: 58px; }
  .rm-t { font-size: 16px; }
  .st-row { flex-wrap: wrap; }
  .st-block { padding-top: 12px; padding-bottom: 48px; }
  .st-block > div { border-radius: 32px; padding: 30px 26px; gap: 20px; }
  .st-block h2 { font-size: 38px; }
  .st-block p { font-size: 16px; margin-top: 12px; }
  .st-block .btn { width: 100%; font-size: 16px; padding: 17px; }
  .st-foot .top { padding-top: 40px; gap: 28px; }
  .st-foot nav { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 28px 20px; font-size: 15px; }
  .st-foot .social { padding-bottom: 44px; }
  .cl-hero { padding-top: 20px; padding-bottom: 24px; }
  .cl-chips { margin: 0 -20px; padding: 0 20px 2px; }
  .cl-art { gap: 12px; }
  .cl-card { border-radius: 30px; padding: 26px 22px; }
  .cl-card h2 { font-size: 40px; margin-top: 18px; }
  .cl-tag { font-size: 19px; margin-top: 8px; }
  .cl-sum { font-size: 16px; margin-top: 14px; }
  .cl-his { margin-top: 22px; }
  .cl-lists { margin-top: 26px; }
  .cl-from { border-radius: 30px; padding: 22px; }
  .cl-from .btn { width: 100%; }
  .cl-pager a { flex: 1; padding: 14px 16px; }
  .st-modal { padding: 0; align-items: flex-end; }
  .st-panel { border-radius: 30px 30px 0 0; width: 100%; max-height: 92vh; padding: 22px 20px 32px; }
}
@media (prefers-reduced-motion: reduce) { .st-backdrop, .st-panel { animation: none; } .btn, .rm-card { transition: none; } }
