/* Pearce Studios Learning Center */
:root {
  --bg: #0d0a08; --bg-2: #15110e; --panel: #1b1612; --panel-2: #231c17;
  --line: rgba(255,236,214,.1); --line-2: rgba(255,236,214,.18);
  --text: #f3ebe2; --muted: #b9a99a; --dim: #8a7b6e;
  --accent: #f0782f; --accent-ink: #1a0d04; --accent-soft: rgba(240,120,47,.14);
  --ok: #7bd389; --warn: #f2c14e; --bad: #ef6b5b;
  --prose: #e6dbcf; --code-bg: #120e0b;
  --sans: "Inter", system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;
  --serif: "Fraunces", Georgia, serif;
  --side: 264px;
  color-scheme: dark;
}
:root[data-theme="light"] {
  --bg: #f6f1ea; --bg-2: #efe8de; --panel: #ffffff; --panel-2: #f3ece3;
  --line: rgba(40,26,14,.1); --line-2: rgba(40,26,14,.18);
  --text: #1d1712; --muted: #6a5c50; --dim: #8f8275;
  --accent: #c8581a; --accent-ink: #fff; --accent-soft: rgba(200,88,26,.1);
  --prose: #2a2119; --code-bg: #f3ece3;
  color-scheme: light;
}
*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; }
body { margin: 0; background: var(--bg); color: var(--text); font: 16px/1.55 var(--sans); letter-spacing: -0.005em; -webkit-font-smoothing: antialiased; }
a { color: inherit; }
img { max-width: 100%; height: auto; border-radius: 14px; }
h1, h2, h3 { letter-spacing: -0.03em; line-height: 1.1; margin: 0; }
h1 { font-size: clamp(30px, 3.6vw, 46px); font-weight: 700; }
h1 em, .hero h1 em { font-family: var(--serif); font-style: italic; font-weight: 400; color: var(--accent); }
h2 { font-size: 22px; }
.muted { color: var(--muted); }
.center { text-align: center; }
.sr { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); }
.skip { position: absolute; left: 12px; top: -60px; background: #fff; color: #000; padding: 10px 14px; border-radius: 8px; z-index: 100; }
.skip:focus { top: 12px; }
:focus-visible { outline: 3px solid #ffb020; outline-offset: 2px; border-radius: 6px; }
.ic { width: 18px; height: 18px; fill: none; stroke: currentColor; stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; flex: none; }
.eyebrow, .tag { font-size: 12px; font-weight: 600; letter-spacing: .08em; text-transform: uppercase; color: var(--accent); margin: 0 0 10px; display: block; }
.lede { color: var(--muted); font-size: 18px; max-width: 640px; margin: 14px 0 0; }
.row { display: flex; gap: 10px; flex-wrap: wrap; align-items: center; }
.row-between { display: flex; justify-content: space-between; gap: 16px; align-items: flex-start; flex-wrap: wrap; }

/* buttons */
.btn { display: inline-flex; align-items: center; justify-content: center; gap: 8px; min-height: 44px; padding: 0 20px; border-radius: 999px; border: 1px solid transparent; background: var(--accent); color: var(--accent-ink); font: 600 15px var(--sans); text-decoration: none; cursor: pointer; transition: filter .2s, border-color .2s, background-color .2s, transform .2s; }
.btn:hover { filter: brightness(1.08); }
.btn:active { transform: scale(.98); }
.btn.ghost { background: transparent; color: var(--text); border-color: var(--line-2); }
.btn.ghost:hover { border-color: var(--accent); filter: none; }
.btn.big { min-height: 52px; padding: 0 26px; font-size: 16px; }
.btn.sm { min-height: 34px; padding: 0 13px; font-size: 13.5px; }
.btn.full { width: 100%; }
.btn.danger { color: var(--bad); }
.btn.danger:hover { border-color: var(--bad); }

/* cards + forms */
.card { background: var(--panel); border: 1px solid var(--line); border-radius: 22px; padding: 22px; box-shadow: inset 0 1px 0 rgba(255,255,255,.03); }
.form h2 { margin: 18px 0 10px; font-size: 18px; }
.field { margin-bottom: 14px; flex: 1 1 200px; }
.field label { display: block; font-size: 13.5px; font-weight: 600; color: var(--muted); margin-bottom: 6px; }
.field small { display: block; margin-top: 5px; font-size: 12.5px; }
input, select, textarea { width: 100%; font: inherit; font-size: 16px; color: var(--text); background: var(--bg); border: 1px solid var(--line-2); border-radius: 12px; padding: 12px 14px; transition: border-color .2s, box-shadow .2s; }
textarea { resize: vertical; line-height: 1.55; }
input:focus, select:focus, textarea:focus { outline: none; border-color: var(--accent); box-shadow: 0 0 0 4px var(--accent-soft); }
input:disabled { opacity: .7; }
.check { display: inline-flex; gap: 8px; align-items: center; font-weight: 600; color: var(--muted); cursor: pointer; }
.check input { width: 18px; height: 18px; accent-color: var(--accent); }
.hp { position: absolute; left: -9999px; }
.alert { background: rgba(239,107,91,.1); border: 1px solid rgba(239,107,91,.4); color: var(--text); padding: 12px 14px; border-radius: 12px; margin-bottom: 16px; font-size: 14.5px; }
.flash { background: rgba(123,211,137,.1); border: 1px solid rgba(123,211,137,.4); padding: 12px 16px; border-radius: 12px; margin-bottom: 20px; }
code { font-size: .9em; background: var(--code-bg); padding: 2px 6px; border-radius: 6px; }

/* layout */
.main { padding: 40px clamp(18px, 4vw, 56px) 80px; max-width: 1320px; min-width: 0; }
body { overflow-x: hidden; }
.has-side .main { margin-left: var(--side); }
.side { position: fixed; inset: 0 auto 0 0; width: var(--side); background: var(--bg-2); border-right: 1px solid var(--line); padding: 22px 16px; display: flex; flex-direction: column; gap: 18px; z-index: 40; overflow-y: auto; }
.brand { display: flex; align-items: center; gap: 10px; text-decoration: none; font-weight: 700; letter-spacing: -0.02em; }
.brand small { display: block; font-size: 12px; font-weight: 500; color: var(--dim); letter-spacing: 0; }
.mark { width: 34px; height: 34px; border-radius: 10px; background: var(--accent); color: var(--accent-ink); display: grid; place-items: center; font-weight: 800; flex: none; }
.side-search { position: relative; }
.side-search .ic { position: absolute; left: 12px; top: 50%; transform: translateY(-50%); color: var(--dim); }
.side-search input { padding: 10px 12px 10px 38px; font-size: 14.5px; border-radius: 999px; }
.side nav { display: flex; flex-direction: column; gap: 2px; }
.side nav a { display: flex; align-items: center; gap: 10px; padding: 10px 12px; border-radius: 12px; text-decoration: none; color: var(--muted); font-weight: 500; font-size: 15px; }
.side nav a:hover { background: var(--panel); color: var(--text); }
.side nav a.on { background: var(--accent-soft); color: var(--accent); }
.nav-label { font-size: 11.5px; letter-spacing: .1em; text-transform: uppercase; color: var(--dim); margin: 14px 12px 4px; font-weight: 600; }
.side-foot { margin-top: auto; display: flex; flex-direction: column; gap: 4px; }
.side-foot button { display: flex; align-items: center; gap: 10px; width: 100%; padding: 10px 12px; border: 0; background: none; color: var(--muted); font: 500 15px var(--sans); border-radius: 12px; cursor: pointer; text-align: left; }
.side-foot button:hover { background: var(--panel); color: var(--text); }
.menu { display: none; }
@media (max-width: 980px) {
  .has-side .main { margin-left: 0; padding-top: 76px; }
  .side { transform: translateX(-100%); transition: transform .3s cubic-bezier(.16,1,.3,1); box-shadow: 20px 0 60px rgba(0,0,0,.4); }
  .side.open { transform: none; }
  .menu { display: grid; place-items: center; position: fixed; top: 14px; left: 14px; z-index: 50; width: 46px; height: 46px; border-radius: 999px; border: 1px solid var(--line-2); background: var(--panel); cursor: pointer; }
  .menu span { display: block; width: 18px; height: 2px; background: var(--text); border-radius: 2px; }
  .menu span + span { margin-top: 5px; }
}

.page-head { margin-bottom: 28px; }
.crumbs { display: flex; gap: 8px; flex-wrap: wrap; font-size: 14px; color: var(--dim); margin-bottom: 18px; }
.crumbs a { color: var(--muted); text-decoration: none; }
.crumbs a:hover { color: var(--accent); }

/* dashboard */
.overview { display: grid; grid-template-columns: 1.4fr 1fr 1.2fr; gap: 14px; margin-bottom: 40px; }
.resume { text-decoration: none; display: flex; flex-direction: column; gap: 6px; background: linear-gradient(150deg, var(--accent-soft), transparent 60%), var(--panel); border-color: rgba(240,120,47,.3); transition: transform .3s, border-color .2s; }
.resume:hover { transform: translateY(-2px); border-color: var(--accent); }
.resume b { font-size: 22px; letter-spacing: -0.02em; line-height: 1.2; }
.resume .go { margin-top: auto; padding-top: 12px; color: var(--accent); font-weight: 600; }
.prog { display: flex; flex-direction: column; align-items: flex-start; gap: 10px; }
.ring { --p: 0; width: 96px; height: 96px; border-radius: 50%; display: grid; place-items: center; background: radial-gradient(closest-side, var(--panel) 78%, transparent 80% 100%), conic-gradient(var(--accent) calc(var(--p) * 1%), var(--line-2) 0); }
.ring b { font-size: 22px; letter-spacing: -0.03em; }
.recent ul { list-style: none; margin: 0; padding: 0; display: grid; gap: 10px; }
.recent li a { font-weight: 600; text-decoration: none; }
.recent li a:hover { color: var(--accent); }
.recent li small { display: block; color: var(--dim); font-size: 13px; }
@media (max-width: 1100px) { .overview { grid-template-columns: 1fr 1fr; } .overview .recent { grid-column: span 2; } }
@media (max-width: 640px) { .overview { grid-template-columns: 1fr; } .overview .recent { grid-column: auto; } }
.block { margin-bottom: 44px; }
.block-head { margin-bottom: 16px; }
.block-head h2 a { text-decoration: none; }
.block-head h2 a:hover { color: var(--accent); }
.block-head p { margin: 6px 0 0; }
.course-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(280px, 1fr)); gap: 14px; }
.course { display: flex; flex-direction: column; gap: 8px; text-decoration: none; background: var(--panel); border: 1px solid var(--line); border-radius: 22px; padding: 22px; transition: transform .3s cubic-bezier(.16,1,.3,1), border-color .2s; }
.course:hover { transform: translateY(-3px); border-color: var(--line-2); }
.course h3 { font-size: 20px; }
.course p { margin: 0; color: var(--muted); font-size: 14.5px; flex: 1; }
.course .meta { font-size: 13px; color: var(--dim); }
.course .tag { margin: 0; }
.bar { display: block; height: 5px; border-radius: 5px; background: var(--line); overflow: hidden; }
.bar i { display: block; height: 100%; background: var(--accent); border-radius: 5px; }

/* course page */
.course-head { display: grid; grid-template-columns: 1fr auto; gap: 24px; align-items: end; }
.course-head .row { margin-top: 22px; }
.course-head .prog { min-width: 220px; }
@media (max-width: 760px) { .course-head { grid-template-columns: minmax(0, 1fr); } }
.intro { margin-bottom: 22px; max-width: 900px; }
.lesson-list { list-style: none; margin: 0; padding: 0; display: grid; gap: 8px; max-width: 900px; }
.lesson-list a { display: grid; grid-template-columns: 44px 1fr auto; gap: 14px; align-items: center; padding: 14px 18px; border-radius: 16px; background: var(--panel); border: 1px solid var(--line); text-decoration: none; transition: border-color .2s, transform .25s; }
.lesson-list a:hover { border-color: var(--accent); transform: translateX(3px); }
.lesson-list .n { width: 36px; height: 36px; border-radius: 50%; display: grid; place-items: center; font-size: 13px; font-weight: 700; color: var(--dim); border: 1px solid var(--line-2); }
.lesson-list .done .n { background: var(--accent); color: var(--accent-ink); border-color: var(--accent); }
.lesson-list .t { font-weight: 600; }
.lesson-list .m { color: var(--dim); font-size: 13.5px; white-space: nowrap; }

/* lesson page */
.lesson-wrap { display: grid; grid-template-columns: 250px minmax(0, 1fr) 210px; gap: 36px; align-items: start; }
.lesson-nav, .toc { position: sticky; top: 24px; max-height: calc(100vh - 48px); overflow-y: auto; font-size: 14px; }
.lesson-nav .back { display: block; color: var(--muted); text-decoration: none; font-weight: 600; margin-bottom: 14px; }
.lesson-nav .back:hover { color: var(--accent); }
.lesson-nav ol, .toc ol { list-style: none; margin: 0; padding: 0; display: grid; gap: 2px; }
.lesson-nav a { display: grid; grid-template-columns: 24px 1fr; gap: 8px; padding: 8px 10px; border-radius: 10px; text-decoration: none; color: var(--muted); line-height: 1.35; }
.lesson-nav a:hover { background: var(--panel); color: var(--text); }
.lesson-nav .on a { background: var(--accent-soft); color: var(--text); font-weight: 600; }
.lesson-nav .n { width: 22px; height: 22px; border-radius: 50%; display: grid; place-items: center; font-size: 11px; font-weight: 700; border: 1px solid var(--line-2); }
.lesson-nav .n .ic { width: 12px; height: 12px; stroke-width: 3; }
.lesson-nav .done .n { background: var(--accent); border-color: var(--accent); color: var(--accent-ink); }
.toc a { display: block; padding: 5px 0 5px 12px; border-left: 2px solid var(--line); color: var(--dim); text-decoration: none; line-height: 1.35; }
.toc a:hover, .toc a.on { color: var(--text); border-color: var(--accent); }
.lesson { min-width: 0; }
.lesson header { margin-bottom: 26px; }
.lesson h1, .page-head h1 { overflow-wrap: anywhere; }
.lesson header h1 { font-size: clamp(30px, 3.4vw, 44px); }
.lesson-foot { margin-top: 44px; padding-top: 26px; border-top: 1px solid var(--line); display: grid; grid-template-columns: minmax(0, 1fr); gap: 18px; }
.lesson-foot .complete { justify-self: start; }
.complete .ic { width: 18px; height: 18px; stroke-width: 2.6; }
.complete.is-done { background: transparent; color: var(--ok); border-color: rgba(123,211,137,.5); }
.pager { display: flex; justify-content: space-between; gap: 10px; flex-wrap: wrap; }
.pager .btn { max-width: 48%; min-width: 0; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; display: inline-block; line-height: 42px; }
@media (max-width: 1240px) { .lesson-wrap { grid-template-columns: 230px minmax(0, 1fr); } .toc { display: none; } }
@media (max-width: 860px) { .lesson-wrap { grid-template-columns: minmax(0, 1fr); } .lesson-nav { position: static; max-height: none; order: 2; } .pager .btn { max-width: 100%; } }

/* prose */
.prose { color: var(--prose); font-size: 17px; line-height: 1.7; max-width: 76ch; }
.prose > *:first-child { margin-top: 0; }
.prose h2 { font-size: 26px; margin: 38px 0 12px; color: var(--text); }
.prose h3 { font-size: 21px; margin: 34px 0 10px; color: var(--text); scroll-margin-top: 20px; }
.prose h4 { font-size: 17px; margin: 24px 0 8px; color: var(--text); }
.prose p { margin: 0 0 16px; }
.prose ul, .prose ol { padding-left: 22px; margin: 0 0 18px; }
.prose li { margin: 6px 0; }
.prose li::marker { color: var(--accent); }
.prose strong { color: var(--text); }
.prose em:only-child { color: var(--accent); font-style: normal; font-size: 13px; font-weight: 600; letter-spacing: .08em; text-transform: uppercase; }
.prose a { color: var(--accent); }
.prose blockquote { margin: 0 0 18px; padding: 14px 18px; border-left: 3px solid var(--accent); background: var(--accent-soft); border-radius: 0 12px 12px 0; }
.prose table { width: 100%; border-collapse: collapse; margin: 0 0 22px; font-size: 14.5px; display: block; overflow-x: auto; }
.prose th, .prose td { border: 1px solid var(--line-2); padding: 9px 12px; text-align: left; vertical-align: top; }
.prose th { background: var(--panel-2); color: var(--text); }
.prose pre { background: var(--code-bg); border: 1px solid var(--line); border-radius: 12px; padding: 16px; overflow-x: auto; font-size: 14px; line-height: 1.55; white-space: pre-wrap; }
.prose pre code { background: none; padding: 0; }
.prose img { margin: 10px 0 20px; }
.prose hr { border: 0; border-top: 1px solid var(--line); margin: 30px 0; }
mark { background: rgba(240,120,47,.3); color: inherit; padding: 0 2px; border-radius: 3px; }

/* search */
.big-search { display: flex; gap: 10px; max-width: 720px; margin-bottom: 18px; }
.big-search input { border-radius: 999px; padding: 14px 20px; }
.results { list-style: none; margin: 0; padding: 0; display: grid; gap: 10px; max-width: 900px; }
.results a { display: flex; flex-direction: column; gap: 4px; padding: 18px 20px; border-radius: 18px; background: var(--panel); border: 1px solid var(--line); text-decoration: none; }
.results a:hover { border-color: var(--accent); }
.results .tag { margin: 0; }
.results b { font-size: 18px; }
.snip { color: var(--muted); font-size: 14.5px; }

/* account / admin */
.two-col { display: grid; grid-template-columns: minmax(0, 1.4fr) minmax(0, 1fr); gap: 16px; align-items: start; }
@media (max-width: 860px) { .two-col { grid-template-columns: 1fr; } }
.kpis { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 12px; margin-bottom: 22px; }
.kpi { text-decoration: none; display: flex; flex-direction: column; gap: 4px; }
.kpi b { font-size: 34px; letter-spacing: -0.04em; }
.kpi span { color: var(--muted); font-size: 14px; }
.kpi.on { border-color: var(--accent); }
@media (max-width: 760px) { .kpis { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
.tabs { display: flex; gap: 6px; flex-wrap: wrap; align-items: center; border-bottom: 1px solid var(--line); margin-bottom: 18px; padding-bottom: 10px; }
.tabs a { padding: 8px 14px; border-radius: 999px; text-decoration: none; color: var(--muted); font-weight: 500; font-size: 14.5px; }
.tabs a.on { background: var(--accent-soft); color: var(--accent); }
.tabs a span { font-size: 12px; background: var(--panel-2); padding: 1px 7px; border-radius: 999px; margin-left: 4px; }
.tab-search { margin-left: auto; min-width: 220px; }
.tab-search input { padding: 8px 14px; border-radius: 999px; font-size: 14.5px; }
.table-wrap { overflow-x: auto; border: 1px solid var(--line); border-radius: 18px; }
table.users { width: 100%; border-collapse: collapse; font-size: 14.5px; }
.users th { text-align: left; font-size: 12px; letter-spacing: .08em; text-transform: uppercase; color: var(--dim); padding: 12px 14px; background: var(--bg-2); border-bottom: 1px solid var(--line); }
.users td { padding: 14px; border-bottom: 1px solid var(--line); vertical-align: top; }
.users tr:last-child td { border-bottom: 0; }
.users .reason { max-width: 320px; color: var(--muted); }
.users .r { text-align: right; }
.users .actions { display: flex; gap: 6px; flex-wrap: wrap; justify-content: flex-end; min-width: 220px; }
.nowrap { white-space: nowrap; }
.inline { display: inline; }
.pill { display: inline-block; font-size: 12px; font-weight: 600; padding: 3px 10px; border-radius: 999px; border: 1px solid var(--line-2); white-space: nowrap; }
.s-active { color: var(--ok); border-color: rgba(123,211,137,.4); }
.s-pending { color: var(--warn); border-color: rgba(242,193,78,.45); }
.s-unverified { color: var(--muted); }
.s-denied, .s-suspended { color: var(--bad); border-color: rgba(239,107,91,.4); }
.s-admin { color: var(--accent); border-color: rgba(240,120,47,.4); }
.empty { text-align: center; padding: 40px; }
.admin-subj { margin-bottom: 16px; }
.admin-course { border-top: 1px solid var(--line); padding: 14px 0 6px; margin-top: 14px; }
.admin-course summary { cursor: pointer; display: flex; gap: 10px; align-items: baseline; flex-wrap: wrap; font-size: 17px; }
.admin-course summary .muted { font-size: 13.5px; }
.admin-course .row { margin: 12px 0; }
.admin-lessons { margin: 0; padding-left: 22px; display: grid; gap: 6px; }
.admin-lessons li { display: flex; gap: 10px; align-items: baseline; flex-wrap: wrap; }
.admin-lessons a { font-weight: 600; text-decoration: none; }
.admin-lessons a:hover { color: var(--accent); }
.admin-lessons .muted { font-size: 13px; }
.narrow { max-width: 640px; }
.danger-zone { margin-top: 16px; display: flex; gap: 14px; align-items: center; flex-wrap: wrap; justify-content: space-between; }
.danger-zone p { margin: 0; flex: 1; }
.grid-3 { display: grid; grid-template-columns: 1.3fr 1fr .8fr; gap: 0 14px; }
@media (max-width: 860px) { .grid-3 { grid-template-columns: 1fr; } }
.editor { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; margin-bottom: 14px; }
.ed-pane { border: 1px solid var(--line-2); border-radius: 16px; overflow: hidden; display: flex; flex-direction: column; min-width: 0; }
.ed-bar { display: flex; justify-content: space-between; align-items: center; gap: 8px; padding: 8px 12px; background: var(--bg-2); border-bottom: 1px solid var(--line); flex-wrap: wrap; }
.ed-bar .tag { margin: 0; }
.ed-tools { display: flex; gap: 4px; flex-wrap: wrap; }
.ed-pane textarea { border: 0; border-radius: 0; min-height: 560px; font: 14.5px/1.6 ui-monospace, SFMono-Regular, Menlo, monospace; background: var(--bg); }
.ed-pane textarea:focus { box-shadow: none; }
.preview { padding: 18px 20px; max-height: 640px; overflow-y: auto; font-size: 16px; max-width: none; }
.upload { cursor: pointer; }
@media (max-width: 980px) { .editor { grid-template-columns: 1fr; } .ed-pane textarea { min-height: 380px; } }

/* public */
.no-side .main { margin: 0 auto; }
.pub-nav { display: flex; justify-content: space-between; align-items: center; gap: 16px; padding-bottom: 20px; }
.pub-nav nav { display: flex; gap: 18px; align-items: center; }
.pub-nav nav a:not(.btn) { text-decoration: none; color: var(--muted); font-weight: 600; }
.hero { padding: clamp(40px, 8vw, 110px) 0 60px; max-width: 900px; position: relative; }
.hero::before { content: ""; position: absolute; width: 520px; height: 520px; right: -260px; top: -60px; border-radius: 50%; background: radial-gradient(circle, rgba(240,120,47,.18), transparent 65%); pointer-events: none; z-index: -1; }
.hero h1 { font-size: clamp(40px, 6vw, 78px); line-height: 1; letter-spacing: -0.045em; }
.hero .row { margin-top: 30px; }
.stats { display: flex; gap: clamp(20px, 4vw, 48px); margin: 44px 0 0; flex-wrap: wrap; }
.stats div { display: flex; flex-direction: column; }
.stats dt { font-size: 36px; font-weight: 700; letter-spacing: -0.04em; }
.stats dd { margin: 0; color: var(--muted); font-size: 14px; }
.pub-sec { padding: 40px 0; border-top: 1px solid var(--line); }
.pub-sec h2 { font-size: 30px; margin-bottom: 20px; }
.subj-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(260px, 1fr)); gap: 14px; }
.subj { background: var(--panel); border: 1px solid var(--line); border-radius: 22px; padding: 22px; }
.subj h3 { font-size: 20px; margin-bottom: 8px; }
.subj p { color: var(--muted); font-size: 14.5px; margin: 0 0 12px; }
.subj .meta { font-size: 13px; color: var(--accent); font-weight: 600; }
.steps { list-style: none; counter-reset: s; margin: 0 0 26px; padding: 0; display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 14px; }
.steps li { counter-increment: s; background: var(--panel); border: 1px solid var(--line); border-radius: 22px; padding: 22px; display: flex; flex-direction: column; gap: 6px; }
.steps li::before { content: counter(s); width: 34px; height: 34px; border-radius: 50%; background: var(--accent); color: var(--accent-ink); display: grid; place-items: center; font-weight: 700; margin-bottom: 8px; }
.steps span { color: var(--muted); font-size: 14.5px; }
@media (max-width: 760px) { .steps { grid-template-columns: 1fr; } }
.pub-foot { padding: 30px 0 0; border-top: 1px solid var(--line); color: var(--dim); font-size: 14px; }
.auth { min-height: 100vh; display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 22px; padding: 30px 0; }
.bare .main { padding-top: 0; padding-bottom: 0; }
.auth-card { width: min(460px, 100%); padding: 30px; }
.auth-card h1 { font-size: 30px; margin-bottom: 10px; }
.auth-card > p { margin: 0 0 18px; }
.auth-card .form { margin-top: 18px; }
.auth-card .btn.full { margin-top: 6px; }
