/* UGC Creator Finder. One stylesheet; tokens first. */
:root {
  --bg: #F4F5F7;
  --surface: #FFFFFF;
  --ink: #16181D;
  --muted: #5F6672;
  --faint: #8A919C;
  --line: #E2E5EA;
  --line-strong: #CDD2D9;
  --accent: #B4235A;
  --accent-hover: #981C4B;
  --accent-soft: #FBEAF1;
  --ok: #1F7A4D;
  --ok-soft: #E6F4EC;
  --warn: #A15C07;
  --warn-soft: #FDF3E1;
  --bad: #B42318;
  --bad-soft: #FDECEA;
  --radius: 10px;
  --radius-sm: 7px;
  --font: "Manrope", system-ui, -apple-system, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
  --mono: ui-monospace, SFMono-Regular, Menlo, Consolas, monospace;
  --sidebar: 248px;
}
*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; }
body { margin: 0; background: var(--bg); color: var(--ink); font: 15px/1.55 var(--font); }
a { color: var(--accent); text-decoration: none; }
a:hover { text-decoration: underline; }
h1, h2, h3 { line-height: 1.25; margin: 0 0 .5em; letter-spacing: -0.01em; }
h1 { font-size: 26px; font-weight: 700; }
h2 { font-size: 18px; font-weight: 700; }
h3 { font-size: 15px; font-weight: 700; }
p { margin: 0 0 1em; }
code, .mono { font-family: var(--mono); font-size: 13px; }
:focus-visible { outline: 2px solid var(--accent); outline-offset: 2px; }
.muted { color: var(--muted); }
.small { font-size: 13px; }
.nowrap { white-space: nowrap; }
.hidden { display: none !important; }

/* App shell */
.shell { display: grid; grid-template-columns: var(--sidebar) 1fr; min-height: 100vh; }
.sidebar { background: var(--surface); border-right: 1px solid var(--line); display: flex; flex-direction: column; position: sticky; top: 0; height: 100vh; overflow-y: auto; }
.sidebar-head { padding: 20px 20px 14px; }
.app-name { font-weight: 800; font-size: 16px; color: var(--ink); letter-spacing: -0.02em; }
.app-name:hover { text-decoration: none; }
.account-switch { margin: 0 12px 8px; }
.account-switch select { width: 100%; }
.account-label { margin: 0 20px 10px; font-weight: 700; font-size: 14px; }
.nav { padding: 6px 10px; display: flex; flex-direction: column; gap: 2px; }
.nav a { display: flex; align-items: center; gap: 10px; padding: 6px 10px; border-radius: var(--radius-sm); color: var(--ink); font-weight: 600; font-size: 14px; }
.nav a:hover { background: var(--bg); text-decoration: none; }
.nav a.active { background: var(--accent-soft); color: var(--accent); }
.nav-group { padding: 12px 20px 2px; font-size: 12px; color: var(--faint); font-weight: 700; }
.brand-list { padding: 4px 10px 8px; display: flex; flex-direction: column; gap: 2px; }
.brand-list .tile { width: 22px; height: 22px; font-size: 10px; border-radius: 6px; }
.brand-list a { display: flex; align-items: center; gap: 10px; padding: 5px 10px; border-radius: var(--radius-sm); color: var(--ink); font-size: 14px; font-weight: 600; }
.brand-list a:hover { background: var(--bg); text-decoration: none; }
.sidebar-foot { margin-top: auto; padding: 14px 20px 18px; border-top: 1px solid var(--line); font-size: 13px; }
.sidebar-foot .who { font-weight: 700; display: block; color: var(--ink); }
.sidebar-foot form { display: inline; }
.linklike { background: none; border: 0; padding: 0; color: var(--muted); font: inherit; cursor: pointer; }
.linklike:hover { color: var(--accent); text-decoration: underline; }

.main { min-width: 0; padding: 28px 36px 60px; }
.main-inner { max-width: 1080px; }
.page-head { display: flex; align-items: flex-start; justify-content: space-between; gap: 16px; margin-bottom: 22px; flex-wrap: wrap; }
.page-head h1 { margin: 0; }
.page-head p { margin: 4px 0 0; color: var(--muted); }
.page-actions { display: flex; gap: 8px; flex-wrap: wrap; }
.banner { background: var(--warn-soft); color: var(--warn); border: 1px solid #F1DDB5; border-radius: var(--radius); padding: 10px 14px; margin-bottom: 18px; font-weight: 600; font-size: 14px; }
.topbar-mobile { display: none; }

/* Brand tile: the one bold element. Each brand carries its own color. */
.tile { --c: var(--accent); width: 28px; height: 28px; border-radius: 8px; background: var(--c); color: #fff; display: inline-flex; align-items: center; justify-content: center; font-weight: 800; font-size: 12px; flex: 0 0 auto; letter-spacing: 0; }
.tile.lg { width: 52px; height: 52px; border-radius: 12px; font-size: 18px; }
.swatch { cursor: pointer; position: relative; }
.swatch input { position: absolute; opacity: 0; width: 1px; height: 1px; }
.swatch input:checked + .tile, .swatch input:focus-visible + .tile { outline: 2px solid var(--ink); outline-offset: 2px; }
.tile.archived { filter: grayscale(1); opacity: .5; }

/* Cards and panels */
.card { background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius); padding: 22px; margin-bottom: 18px; }
.card > h2:first-child, .card > h3:first-child { margin-top: 0; }
.card-head { display: flex; justify-content: space-between; align-items: baseline; gap: 12px; margin-bottom: 12px; }
.card-head h2 { margin: 0; }
.grid { display: grid; gap: 18px; }
.grid.two { grid-template-columns: repeat(2, minmax(0, 1fr)); }
.grid.three { grid-template-columns: repeat(3, minmax(0, 1fr)); }
.stat { display: flex; flex-direction: column; gap: 2px; }
.stat strong { font-size: 24px; font-weight: 800; letter-spacing: -0.02em; }
.stat span { color: var(--muted); font-size: 13px; }

.brand-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(240px, 1fr)); gap: 16px; }
.brand-card { background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius); padding: 18px; display: flex; flex-direction: column; gap: 12px; border-top: 4px solid var(--c, var(--accent)); }
.brand-card .name { font-weight: 800; font-size: 16px; }
.brand-card .meta { color: var(--muted); font-size: 13px; }
.brand-card .row { display: flex; align-items: center; gap: 12px; }
.brand-card.add { border: 1.5px dashed var(--line-strong); border-top-width: 1.5px; align-items: flex-start; justify-content: center; color: var(--muted); min-height: 140px; }

/* Forms */
.form { max-width: 620px; }
.field { margin-bottom: 18px; }
.field label, .label { display: block; font-weight: 700; font-size: 14px; margin-bottom: 6px; }
.field .hint { color: var(--muted); font-size: 13px; margin-top: 6px; }
.field .hint code { background: var(--bg); padding: 1px 5px; border-radius: 4px; }
input[type=text], input[type=email], input[type=password], input[type=url], input[type=number], select, textarea {
  width: 100%; font: inherit; color: var(--ink); background: var(--surface); border: 1px solid var(--line-strong);
  border-radius: var(--radius-sm); padding: 9px 11px; min-height: 40px;
}
textarea { min-height: 96px; resize: vertical; }
input:focus, select:focus, textarea:focus { outline: none; border-color: var(--accent); box-shadow: 0 0 0 3px var(--accent-soft); }
input[readonly] { background: var(--bg); }
.check { display: flex; gap: 10px; align-items: flex-start; font-weight: 600; font-size: 14px; }
.check input { margin-top: 3px; width: 16px; height: 16px; accent-color: var(--accent); }
.check span small { display: block; font-weight: 500; color: var(--muted); }
.row-2 { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; }
.row-3 { display: grid; grid-template-columns: 2fr 1fr 1fr; gap: 14px; }
.actions { display: flex; gap: 10px; align-items: center; flex-wrap: wrap; margin-top: 8px; }
.copy-row { display: flex; gap: 8px; }
.copy-row input { flex: 1; font-family: var(--mono); font-size: 13px; }

.btn { display: inline-flex; align-items: center; justify-content: center; gap: 8px; font: inherit; font-weight: 700; font-size: 14px;
  padding: 9px 16px; min-height: 40px; border-radius: var(--radius-sm); border: 1px solid var(--line-strong); background: var(--surface);
  color: var(--ink); cursor: pointer; white-space: nowrap; }
.btn:hover { background: var(--bg); text-decoration: none; }
.btn.primary { background: var(--accent); border-color: var(--accent); color: #fff; }
.btn.primary:hover { background: var(--accent-hover); border-color: var(--accent-hover); }
.btn.danger { color: var(--bad); border-color: #F0C5C0; }
.btn.danger:hover { background: var(--bad-soft); }
.btn.small { padding: 5px 10px; min-height: 32px; font-size: 13px; }
.btn:disabled { opacity: .55; cursor: not-allowed; }
.btn.google { gap: 10px; width: 100%; }
.btn.google svg { width: 18px; height: 18px; }

/* Tables */
.table-wrap { overflow-x: auto; }
table.data { width: 100%; border-collapse: collapse; font-size: 14px; }
table.data th { text-align: left; font-size: 12px; color: var(--muted); font-weight: 700; padding: 8px 10px; border-bottom: 1px solid var(--line); white-space: nowrap; }
table.data td { padding: 11px 10px; border-bottom: 1px solid var(--line); vertical-align: top; }
table.data tr:last-child td { border-bottom: 0; }
table.data td.actions-cell { text-align: right; white-space: nowrap; }
table.data td form { display: inline; }

/* Status pills */
.pill { display: inline-block; padding: 2px 9px; border-radius: 999px; font-size: 12px; font-weight: 700; background: var(--bg); color: var(--muted); white-space: nowrap; }
.pill.ok { background: var(--ok-soft); color: var(--ok); }
.pill.warn { background: var(--warn-soft); color: var(--warn); }
.pill.bad { background: var(--bad-soft); color: var(--bad); }
.pill.accent { background: var(--accent-soft); color: var(--accent); }

/* Flash messages */
.flash { border-radius: var(--radius); padding: 12px 14px; margin-bottom: 16px; font-size: 14px; font-weight: 600; display: flex; justify-content: space-between; gap: 12px; }
.flash.success { background: var(--ok-soft); color: var(--ok); }
.flash.error { background: var(--bad-soft); color: var(--bad); }
.flash.info { background: var(--accent-soft); color: var(--accent); }
.flash.warning { background: var(--warn-soft); color: var(--warn); }
.flash button { background: none; border: 0; color: inherit; cursor: pointer; font-size: 18px; line-height: 1; }
.flash pre { white-space: pre-wrap; margin: 6px 0 0; font-size: 12px; font-weight: 500; }

/* Tabs */
.tabs { display: flex; gap: 4px; border-bottom: 1px solid var(--line); margin-bottom: 22px; overflow-x: auto; }
.tabs a { padding: 9px 14px; font-weight: 700; font-size: 14px; color: var(--muted); border-bottom: 2px solid transparent; margin-bottom: -1px; white-space: nowrap; }
.tabs a:hover { color: var(--ink); text-decoration: none; }
.tabs a.active { color: var(--accent); border-bottom-color: var(--accent); }

/* Checks list (installer and system page) */
.checks { list-style: none; margin: 0; padding: 0; }
.checks li { display: grid; grid-template-columns: 22px 1fr; gap: 10px; padding: 10px 0; border-bottom: 1px solid var(--line); }
.checks li:last-child { border-bottom: 0; }
.checks .mark { width: 20px; height: 20px; border-radius: 50%; display: inline-flex; align-items: center; justify-content: center; font-size: 12px; font-weight: 800; color: #fff; margin-top: 1px; }
.checks .mark.ok { background: var(--ok); }
.checks .mark.warn { background: var(--warn); }
.checks .mark.bad { background: var(--bad); }
.checks .what { font-weight: 700; font-size: 14px; }
.checks .detail { color: var(--muted); font-size: 13px; }
.checks .fix { font-size: 13px; color: var(--ink); margin-top: 2px; }

/* Auth pages */
.auth-wrap { min-height: 100vh; display: flex; align-items: center; justify-content: center; padding: 32px 16px; }
.auth-card { width: 100%; max-width: 420px; }
.auth-card .card { padding: 28px; }
.auth-brand { font-weight: 800; font-size: 18px; margin-bottom: 18px; letter-spacing: -0.02em; }
.divider { display: flex; align-items: center; gap: 10px; color: var(--faint); font-size: 13px; margin: 18px 0; }
.divider::before, .divider::after { content: ""; flex: 1; height: 1px; background: var(--line); }

/* Installer */
.install { display: grid; grid-template-columns: 240px 1fr; gap: 40px; max-width: 1000px; margin: 0 auto; padding: 48px 24px 80px; }
.install-side .auth-brand { margin-bottom: 6px; }
.install-side p { color: var(--muted); font-size: 13px; margin-bottom: 24px; }
.steps { list-style: none; margin: 0; padding: 0; counter-reset: step; }
.steps li { counter-increment: step; display: flex; gap: 12px; align-items: center; padding: 7px 0; color: var(--faint); font-weight: 600; font-size: 14px; }
.steps li::before { content: counter(step); width: 26px; height: 26px; border-radius: 50%; border: 1.5px solid var(--line-strong); display: inline-flex; align-items: center; justify-content: center; font-size: 12px; font-weight: 800; flex: 0 0 auto; background: var(--surface); }
.steps li.done { color: var(--muted); }
.steps li.done::before { content: "\2713"; background: var(--ok); border-color: var(--ok); color: #fff; }
.steps li.current { color: var(--ink); }
.steps li.current::before { background: var(--accent); border-color: var(--accent); color: #fff; }
.install-main .card { padding: 30px; }
.install-main h1 { font-size: 24px; }
.lead { color: var(--muted); margin-bottom: 22px; }
.log { background: #F7F8FA; border: 1px solid var(--line); border-radius: var(--radius-sm); padding: 12px 14px; font-family: var(--mono); font-size: 12.5px; white-space: pre-wrap; max-height: 360px; overflow: auto; margin: 0 0 16px; }

/* Update drop zone */
.zip-dropzone { border: 2px dashed var(--line-strong); border-radius: var(--radius); padding: 34px 20px; text-align: center; background: #FAFBFC; cursor: pointer; transition: border-color .15s, background .15s; }
.zip-dropzone:hover, .zip-dropzone.over { border-color: var(--accent); background: var(--accent-soft); }
.zip-dropzone strong { display: block; font-size: 16px; margin-bottom: 4px; }
.zip-dropzone .muted { font-size: 13px; }
.progress { height: 6px; background: var(--line); border-radius: 99px; overflow: hidden; margin-top: 14px; }
.progress span { display: block; height: 100%; width: 0; background: var(--accent); transition: width .2s; }

/* Modal */
.modal-backdrop { position: fixed; inset: 0; background: rgba(22, 24, 29, .45); display: flex; align-items: center; justify-content: center; padding: 20px; z-index: 50; }
.modal { background: var(--surface); border-radius: 12px; max-width: 440px; width: 100%; padding: 24px; box-shadow: 0 20px 50px rgba(22, 24, 29, .25); }
.modal h2 { margin-bottom: 8px; }
.modal p { color: var(--muted); }
.modal .actions { justify-content: flex-end; margin-top: 18px; }

.empty { text-align: center; padding: 40px 20px; color: var(--muted); }
.empty h2 { color: var(--ink); }
.kv { display: grid; grid-template-columns: 180px 1fr; gap: 8px 16px; font-size: 14px; }
.kv dt { color: var(--muted); }
.kv dd { margin: 0; min-width: 0; overflow-wrap: anywhere; }
.pager { display: flex; gap: 8px; justify-content: flex-end; margin-top: 12px; }

@media (max-width: 860px) {
  .shell { grid-template-columns: 1fr; }
  .sidebar { position: fixed; z-index: 40; left: 0; top: 0; width: 280px; transform: translateX(-100%); transition: transform .2s; }
  body.nav-open .sidebar { transform: none; box-shadow: 0 0 40px rgba(0,0,0,.2); }
  .topbar-mobile { display: flex; align-items: center; gap: 12px; padding: 12px 16px; background: var(--surface); border-bottom: 1px solid var(--line); position: sticky; top: 0; z-index: 30; }
  .main { padding: 20px 16px 48px; }
  .grid.two, .grid.three, .row-2, .row-3 { grid-template-columns: 1fr; }
  .install { grid-template-columns: 1fr; gap: 20px; padding-top: 24px; }
  .kv { grid-template-columns: 1fr; gap: 2px; }
  .kv dd { margin-bottom: 8px; }
}
@media (prefers-reduced-motion: reduce) { * { transition: none !important; } }

/* Creator inbox */
.creator-cell { display: flex; gap: 12px; align-items: flex-start; min-width: 260px; }
.avatar { width: 40px; height: 40px; border-radius: 50%; object-fit: cover; flex: 0 0 auto; background: var(--bg); }
.avatar-blank { display: inline-flex; align-items: center; justify-content: center; font-weight: 800; color: var(--muted); }
.creators .pill { margin-left: 4px; }
.creators .bio { display: inline-block; max-width: 420px; }
details > summary { list-style: revert; }
.faint { color: var(--faint); }
.stack-actions { display: flex; flex-direction: column; gap: 6px; align-items: stretch; }
.stack-actions form { display: block; }
.stack-actions .btn { width: 100%; }

/* Website analysis suggestions */
.scan-card { border-color: var(--accent); }
.suggest { display: flex; flex-direction: column; gap: 14px; margin: 6px 0 4px; }
.suggest-row small { margin-top: 3px; line-height: 1.5; font-size: 14px; color: var(--ink); font-weight: 500; max-width: 70ch; }
.suggest-row input:disabled + span small { color: var(--muted); }
.brief-suggestions { display: grid; grid-template-columns: repeat(auto-fill, minmax(260px, 1fr)); gap: 14px; }
.brief-suggestion { border: 1px solid var(--line); border-radius: var(--radius); padding: 16px; display: flex; flex-direction: column; gap: 6px; align-items: flex-start; }
.brief-suggestion p { margin: 0; }
.input-row { display: flex; gap: 8px; }
.input-row input { flex: 1; }
@media (max-width: 860px) { .input-row { flex-direction: column; } }

/* Scores */
.score-cell { width: 56px; }
.score { display: inline-flex; align-items: center; justify-content: center; width: 40px; height: 40px; border-radius: 10px; font-weight: 800; font-size: 15px; text-decoration: none; }
.score:hover { text-decoration: none; filter: brightness(0.96); }
.score.hi { background: var(--ok-soft); color: var(--ok); }
.score.mid { background: var(--warn-soft); color: var(--warn); }
.score.lo { background: var(--bad-soft); color: var(--bad); }
.score.wait, .score.none { background: var(--bg); color: var(--faint); }
.score.xl { width: 72px; height: 72px; font-size: 28px; border-radius: 16px; }
.score-summary { display: inline-block; max-width: 460px; margin-top: 4px; }
.taglist { display: inline-flex; flex-wrap: wrap; gap: 4px; margin-top: 4px; }
.tag { font-size: 12px; font-weight: 600; padding: 1px 8px; border-radius: 99px; background: var(--accent-soft); color: var(--accent); }
.tag.flag { background: var(--warn-soft); color: var(--warn); }
.thumbs { display: flex; gap: 6px; }
.thumbs form { flex: 1; }
.thumb { padding: 4px 8px; filter: grayscale(1); opacity: .6; }
.thumb.on { filter: none; opacity: 1; border-color: var(--accent); background: var(--accent-soft); }
.creator-head { display: flex; gap: 16px; align-items: center; }
.creator-head p { margin: 2px 0 0; color: var(--muted); }
.avatar.lg { width: 64px; height: 64px; font-size: 22px; }
.bars { display: flex; flex-direction: column; gap: 8px; margin: 10px 0; }
.bar-row { display: grid; grid-template-columns: 140px 1fr 32px; gap: 10px; align-items: center; font-size: 14px; }
.bar { height: 8px; background: var(--bg); border-radius: 99px; overflow: hidden; }
.bar span { display: block; height: 100%; background: var(--accent); border-radius: 99px; }
.evidence { margin: 6px 0; padding-left: 18px; font-size: 14px; }
.evidence li { margin-bottom: 6px; }
.verdict { display: flex; flex-wrap: wrap; gap: 14px; align-items: center; }
.verdict input[type=text] { flex: 1; min-width: 240px; }
.post-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(150px, 1fr)); gap: 14px; }
.post { display: flex; flex-direction: column; gap: 4px; color: var(--ink); font-size: 13px; }
.post:hover { text-decoration: none; }
.post-img { width: 100%; aspect-ratio: 9 / 14; object-fit: cover; border-radius: 8px; background: var(--bg); display: block; }
.post-n { font-weight: 700; font-size: 12px; color: var(--muted); }
.post-cap { line-height: 1.35; }
.post-stat { color: var(--muted); font-size: 12px; }
.stats-cell { white-space: nowrap; line-height: 1.6; }
.creators .creator-cell { min-width: 300px; }
.creators td.actions-cell { width: 130px; }

/* Outreach */
.badge { margin-left: auto; background: var(--warn); color: #fff; border-radius: 99px; font-size: 11px; font-weight: 800; padding: 1px 7px; }
.pipeline { display: flex; flex-wrap: wrap; gap: 0; margin: 4px 0 18px; border: 1px solid var(--line); border-radius: var(--radius-sm); overflow: hidden; width: fit-content; max-width: 100%; }
.pipeline form { display: block; }
.pipeline .step { font: inherit; font-size: 13px; font-weight: 700; padding: 7px 12px; background: var(--surface); border: 0; border-right: 1px solid var(--line); color: var(--muted); cursor: pointer; }
.pipeline form:last-child .step { border-right: 0; }
.pipeline .step:hover { background: var(--bg); color: var(--ink); }
.pipeline .step.on { background: var(--accent); color: #fff; cursor: default; }
.draft textarea { font-size: 14px; line-height: 1.55; }
.spacer { flex: 1; }
.inline-select { width: auto; min-height: 36px; padding: 6px 8px; }
.inline-date { width: auto; min-height: 36px; padding: 6px 8px; }
.compose .input-row select { flex: 1; }
.history { list-style: none; padding: 0; margin: 6px 0 0; }
.history li { border-top: 1px solid var(--line); padding: 10px 0; }
.history summary { cursor: pointer; }
.followup-row { display: flex; justify-content: space-between; align-items: center; gap: 16px; flex-wrap: wrap; margin-top: 18px; padding-top: 14px; border-top: 1px solid var(--line); }
.followup-row .input-row { align-items: center; }
.due { color: var(--warn); font-weight: 700; }
.due-card { border-color: #F1DDB5; }
.due-banner a { color: inherit; text-decoration: underline; }
.placeholders { grid-template-columns: 130px 1fr; }
@media (max-width: 860px) { .grid[style*="2fr"] { grid-template-columns: 1fr !important; } }

/* Creators page */
.filters { display: flex; flex-wrap: wrap; gap: 10px; align-items: center; }
.filters input[type=text] { flex: 2; min-width: 220px; }
.filters input[type=number] { width: 160px; }
.filters select { width: auto; }
.bulkbar { display: flex; flex-wrap: wrap; gap: 10px; align-items: center; margin-bottom: 12px; }
.bulkbar select { width: auto; max-width: 420px; }

/* Track record and reviews */
.stars { color: #C98A0B; letter-spacing: 1px; }
.stars.small { font-size: 13px; }
.stars-line { font-size: 15px; margin-bottom: 4px; }
.proof-card h3 { margin-bottom: 8px; }
.star-input { display: inline-flex; flex-direction: row-reverse; gap: 2px; }
.star-input input { position: absolute; opacity: 0; width: 1px; height: 1px; }
.star-input label { font-size: 30px; line-height: 1; color: var(--line-strong); cursor: pointer; padding: 0 2px; margin: 0; font-weight: 400; }
.star-input input:checked ~ label, .star-input label:hover, .star-input label:hover ~ label { color: #C98A0B; }
.star-input input:focus-visible + label { outline: 2px solid var(--accent); outline-offset: 2px; border-radius: 4px; }
.ad-link { margin-top: 4px; }
.ad-link select { min-height: 32px; padding: 4px 8px; font-size: 13px; }

/* Legal pages */
.auth-wrap { flex-direction: column; }
.legal-body { background: var(--bg); }
.legal-head { max-width: 760px; margin: 0 auto; padding: 28px 20px 0; }
.legal-head .auth-brand { text-decoration: none; color: var(--ink); }
.legal-main { max-width: 760px; margin: 18px auto; padding: 32px 36px; background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius); }
.legal h1 { margin-top: 0; }
.legal h2 { font-size: 19px; margin: 28px 0 8px; }
.legal p, .legal li { line-height: 1.65; }
.legal ul { padding-left: 22px; }
.legal-foot { max-width: 760px; margin: 0 auto 40px; padding: 0 20px; }
.legal-links { display: flex; gap: 8px; justify-content: center; font-size: 13px; color: var(--muted); margin-top: 16px; }
.legal-links a { color: var(--muted); }
.sidebar-legal { margin-top: 6px; color: var(--faint); }
.sidebar-legal a { color: var(--faint); }
@media (max-width: 860px) { .legal-main { padding: 22px 18px; border-radius: 0; border-left: 0; border-right: 0; } }

/* Public home page */
.legal-head { display: flex; justify-content: space-between; align-items: center; }
.landing { max-width: 760px; margin: 0 auto; }
.landing-kicker { font-weight: 800; color: var(--accent); margin: 0 0 6px; }
.landing h1 { font-size: 34px; line-height: 1.15; margin: 0 0 14px; }
.landing-intro { font-size: 17px; line-height: 1.6; color: var(--ink); }
.landing-features { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 18px 26px; margin: 26px 0; }
.landing-features h2 { font-size: 16px; margin: 0 0 4px; }
.landing-features p { margin: 0; color: var(--muted); line-height: 1.55; }
.landing-cta { display: flex; flex-direction: column; align-items: flex-start; gap: 10px; }
@media (max-width: 640px) { .landing-features { grid-template-columns: 1fr; } .landing h1 { font-size: 27px; } }
.landing h1 { font-size: 34px; line-height: 1.15; margin: 0 0 10px; color: var(--accent); }
.landing h1 + p strong { font-size: 19px; color: var(--ink); }
.landing ol { padding-left: 22px; }
.landing ol li { margin-bottom: 8px; }
.landing-cta { margin-top: 22px; }
