/* ===== theme bootstrap (added 2026-09-19) ===== */
/* Light values on :root, dark overrides on [data-theme="dark"]. :root keeps the
   original token names so landing/admin/changelog views keep working untouched. */
:root {
  --bg:#f6f5f2; --panel:#ffffff; --panel-2:#efede8; --border:#e3e0d8;
  --text:#26221b; --muted:#5f594d; --muted-2:#746d5f;
  --accent:#c83830; --accent-2:#a32b24; --accent-dim:rgba(200,56,48,.12);
  --radius:14px; --wrap:1160px;
}
[data-theme="dark"] {
  --bg:#111113; --panel:#1a1a1d; --panel-2:#202024; --border:#2a2a2e;
  --text:#f2f2f3; --muted:#9c9ca2; --muted-2:#6b6b72;
  --accent:#c83830; --accent-2:#e06a62; --accent-dim:rgba(200,56,48,.14);
}
/* no-JS fallback: follow OS dark preference unless an explicit choice is set */
@media (prefers-color-scheme: dark) {
  :root:not([data-theme="light"]) {
    --bg:#111113; --panel:#1a1a1d; --panel-2:#202024; --border:#2a2a2e;
    --text:#f2f2f3; --muted:#9c9ca2; --muted-2:#6b6b72;
    --accent:#c83830; --accent-2:#e06a62; --accent-dim:rgba(200,56,48,.14);
  }
  :root:not([data-theme="light"]) { --header-bg:rgba(17,17,19,.82); }
}
* { margin:0; padding:0; box-sizing:border-box; }
@font-face {
  font-family:'Space Grotesk';
  src:url('../fonts/sg-latin.woff2') format('woff2');
  font-weight:500 700; font-display:swap;
}
html { scroll-behavior:smooth; }
html,body { background:var(--bg); color:var(--text);
  font-family:'Space Grotesk','Segoe UI',system-ui,'Apple Color Emoji','Segoe UI Emoji','Noto Color Emoji',sans-serif;
  -webkit-font-smoothing:antialiased; }
a { color:inherit; text-decoration:none; }
img { display:block; max-width:100%; }
.wrap { max-width:var(--wrap); margin:0 auto; padding:0 28px; }

/* ============ nav ============ */
header { position:sticky; top:0; z-index:50; background:rgba(17,17,19,.82);
  backdrop-filter:blur(12px); -webkit-backdrop-filter:blur(12px);
  border-bottom:1px solid var(--border); }
.nav { display:flex; align-items:center; gap:12px; height:64px; }
.logo { width:30px; height:30px; border-radius:50%; }
.brand { font-size:16px; font-weight:700; letter-spacing:.2px; }
.brand .photo { color:var(--muted); font-weight:500; }
.nav .spacer { flex:1; }
.nav-links { display:flex; gap:26px; font-size:14px; color:var(--muted); margin-right:8px; }
.nav-links a { transition:color .15s ease; }
.nav-links a:hover { color:var(--text); }
.btn { display:inline-flex; align-items:center; gap:8px; border:none; cursor:pointer;
  border-radius:10px; font-family:inherit; font-weight:700; font-size:14px;
  transition:background .15s ease, transform .15s ease; }
.btn:active { transform:scale(.97); }
.btn-primary { background:var(--accent); color:#fff; padding:9px 18px; }
.btn-primary:hover { background:var(--accent-2); }

/* ============ hero ============ */
.hero { padding:72px 0 40px; display:grid; grid-template-columns:1fr 1.18fr;
  gap:56px; align-items:center; }
.kicker { color:var(--accent-2); font-size:13px; font-weight:700;
  letter-spacing:2px; text-transform:uppercase; margin-bottom:16px; }
h1 { font-size:clamp(38px, 4.6vw, 56px); line-height:1.08; font-weight:700;
  letter-spacing:-1.5px; margin-bottom:18px; }
h1 .accent { color:var(--accent-2); }
.sub { color:var(--muted); font-size:16px; line-height:1.65; margin-bottom:30px; max-width:46ch; }
.cta-row { display:flex; gap:14px; align-items:center; flex-wrap:wrap; }
.btn-big { padding:14px 28px; font-size:16px; }
.version-note { color:var(--muted); font-size:13px; }
.version-note b { color:var(--text); }
.meta-row { display:flex; gap:18px; margin-top:26px; font-size:13px; color:var(--muted-2); }
.meta-row span { display:inline-flex; align-items:center; gap:6px; }
.meta-row svg { width:14px; height:14px; stroke:var(--muted-2); }

/* hero visual */
.shot-frame { border:1px solid var(--border); border-radius:var(--radius);
  background:var(--panel); padding:10px; box-shadow:0 24px 80px rgba(0,0,0,.5); }
.shot-frame img { width:100%; height:auto; border-radius:8px; }
.shot-frame .cap { display:flex; gap:8px; align-items:center; padding:9px 6px 3px; }
.cap .dots { display:flex; gap:6px; }
.cap .dot { width:9px; height:9px; border-radius:50%; background:var(--border); }
.cap .dot.r { background:var(--accent); }
.cap .tag { margin-left:auto; font-size:11.5px; font-weight:700; color:var(--muted);
  letter-spacing:1px; text-transform:uppercase; }

/* ============ sections ============ */
section { padding:64px 0; }
.sec-head { margin-bottom:36px; }
h2 { font-size:clamp(26px, 3vw, 34px); font-weight:700; letter-spacing:-.8px;
  line-height:1.15; margin-bottom:12px; }
.sec-head p { color:var(--muted); font-size:15px; line-height:1.6; max-width:58ch; }

/* workspaces strip */
.ws-strip { display:grid; grid-template-columns:repeat(5,1fr); gap:12px; margin-bottom:52px; }
.ws { border:1px solid var(--border); border-radius:var(--radius); padding:18px 16px;
  background:var(--panel); transition:border-color .15s ease; }
.ws:hover { border-color:var(--accent); }
.ws .name { font-size:15px; font-weight:700; margin-bottom:5px; color:var(--accent-2); }
.ws p { font-size:12.5px; color:var(--muted); line-height:1.5; }

/* feature trio (adjust / color / palette) */
.trio { display:grid; grid-template-columns:1.3fr 1fr 1fr; gap:28px; align-items:start; }
.feature { display:flex; flex-direction:column; gap:14px; }
.shot-sm { border:1px solid var(--border); border-radius:var(--radius);
  background:var(--panel); padding:8px; box-shadow:0 16px 48px rgba(0,0,0,.35); }
.shot-sm img { width:100%; height:460px; object-fit:contain; border-radius:8px; }
.panel-tall img { object-fit:contain; }
.feature h3 { font-size:17px; font-weight:700; margin-top:6px; }
.feature p { color:var(--muted); font-size:13.5px; line-height:1.6; }

/* privacy band */
.band { border:1px solid var(--border); border-radius:var(--radius);
  background:linear-gradient(135deg, var(--panel-2), var(--panel));
  padding:40px 44px; display:grid; grid-template-columns:auto 1fr auto; gap:36px;
  align-items:center; }
.band .ico { width:52px; height:52px; border-radius:14px; background:var(--accent-dim);
  display:flex; align-items:center; justify-content:center; }
.band .ico svg { width:26px; height:26px; stroke:var(--accent-2); }
.band h3 { font-size:20px; font-weight:700; margin-bottom:8px; }
.band p { color:var(--muted); font-size:14px; line-height:1.6; max-width:52ch; }

/* welcome split */
.split { display:grid; grid-template-columns:1fr 1.1fr; gap:48px; align-items:center; }
.split .shot-frame { transform:rotate(.5deg); }
.check-list { display:grid; gap:14px; margin-top:8px; }
.check-list li { display:flex; gap:12px; align-items:baseline; font-size:14.5px;
  color:var(--muted); line-height:1.55; list-style:none; }
.check-list li::before { content:""; width:7px; height:7px; border-radius:2px;
  background:var(--accent); flex:none; transform:translateY(-1px); }
.check-list li b { color:var(--text); font-weight:600; }

/* download CTA */
.dl { text-align:center; padding:88px 0 96px; }
.dl h2 { margin-bottom:14px; }
.dl p { color:var(--muted); font-size:15px; margin-bottom:32px; }
.dl .btn { padding:16px 34px; font-size:17px; }
.dl .fine { margin-top:22px; color:var(--muted-2); font-size:12.5px; }

/* footer */
footer { border-top:1px solid var(--border); padding:30px 0 40px; }
.foot { display:flex; align-items:center; gap:10px; color:var(--muted-2); font-size:13px;
  flex-wrap:wrap; }
.foot img { width:20px; height:20px; border-radius:50%; }
.foot .sep { opacity:.4; }
.foot a { color:var(--muted); }
.foot a:hover { color:var(--text); }

/* ============ auth + dashboard (new, same tokens) ============ */
.auth-wrap { min-height:calc(100vh - 64px); display:flex; align-items:center;
  justify-content:center; padding:48px 0; }
.auth-card { width:100%; max-width:420px; border:1px solid var(--border);
  border-radius:var(--radius); background:var(--panel); padding:36px 34px; }
.auth-card h1 { font-size:26px; letter-spacing:-.6px; margin-bottom:8px; }
.auth-card .lead { color:var(--muted); font-size:14px; margin-bottom:26px; }
.field { display:flex; flex-direction:column; gap:7px; margin-bottom:18px; }
.field label { font-size:13px; font-weight:700; color:var(--muted); }
.field input { background:var(--panel-2); border:1px solid var(--border);
  border-radius:10px; color:var(--text); font-family:inherit; font-size:15px;
  padding:11px 14px; outline:none; transition:border-color .15s ease; }
.field input:focus { border-color:var(--accent-2); }
.btn-block { width:100%; justify-content:center; padding:12px 18px; font-size:15px; }
.auth-alt { margin-top:20px; font-size:13.5px; color:var(--muted); text-align:center; }
.auth-alt a { color:var(--accent-2); font-weight:700; }
.form-error { color:var(--accent-2); font-size:13px; margin:2px 0 0; }
.alert { border:1px solid var(--border); border-left:3px solid var(--accent);
  border-radius:10px; background:var(--panel-2); color:var(--text);
  font-size:13.5px; padding:12px 16px; margin-bottom:22px; }
.alert.ok { border-left-color:#4ade80; }

/* dashboard */
.dash { padding:48px 0 80px; }
.dash-head { display:flex; align-items:baseline; gap:14px; flex-wrap:wrap; margin-bottom:8px; }
.dash-head h1 { font-size:clamp(26px, 3vw, 34px); margin-bottom:0; }
.tier-chip { display:inline-flex; align-items:center; border:1px solid var(--border);
  background:var(--accent-dim); color:var(--accent-2); border-radius:999px;
  font-size:12px; font-weight:700; letter-spacing:1px; text-transform:uppercase;
  padding:4px 12px; }
.dash-sub { color:var(--muted); font-size:14px; margin-bottom:36px; }
.dash-grid { display:grid; grid-template-columns:1.2fr .8fr; gap:28px; align-items:start; }
.panel-card { border:1px solid var(--border); border-radius:var(--radius);
  background:var(--panel); padding:26px 26px; }
.panel-card h2 { font-size:19px; margin-bottom:6px; }
.panel-card .desc { color:var(--muted); font-size:13.5px; line-height:1.6; margin-bottom:18px; }
.inline-form { display:flex; gap:10px; }
.inline-form input { flex:1; background:var(--panel-2); border:1px solid var(--border);
  border-radius:10px; color:var(--text); font-family:inherit; font-size:14px;
  padding:10px 13px; outline:none; }
.inline-form input:focus { border-color:var(--accent-2); }
.token-list { display:grid; gap:10px; margin-top:4px; }
.token-row { display:flex; align-items:center; gap:12px; border:1px solid var(--border);
  border-radius:10px; background:var(--panel-2); padding:12px 14px; font-size:14px; }
.token-row .tname { font-weight:700; }
.token-row .tmeta { color:var(--muted-2); font-size:12px; margin-left:auto; }
.btn-ghost { background:transparent; color:var(--muted); border:1px solid var(--border);
  padding:7px 14px; font-size:12.5px; }
.btn-ghost:hover { color:var(--text); border-color:var(--accent-2); }
.token-reveal { border:1px solid var(--accent); border-radius:10px;
  background:var(--accent-dim); padding:14px 16px; margin-bottom:20px; }
.token-reveal .lbl { font-size:12px; font-weight:700; letter-spacing:1px;
  text-transform:uppercase; color:var(--accent-2); margin-bottom:8px; }
.token-reveal code { display:block; font-size:13px; word-break:break-all;
  color:var(--text); background:var(--bg); border:1px solid var(--border);
  border-radius:8px; padding:10px 12px; font-family:ui-monospace,'Cascadia Code',monospace; }
.token-reveal .warn { color:var(--muted); font-size:12.5px; margin-top:8px; }
.mono { font-family:ui-monospace,'Cascadia Code',monospace; }
.muted { color:var(--muted); }
.stat-grid { display:grid; grid-template-columns:repeat(3,1fr); gap:12px; margin-bottom:24px; }
.stat { border:1px solid var(--border); border-radius:var(--radius);
  background:var(--panel); padding:16px 18px; }
.stat .k { font-size:12px; color:var(--muted-2); letter-spacing:1px;
  text-transform:uppercase; font-weight:700; margin-bottom:6px; }
.stat .v { font-size:20px; font-weight:700; }
.empty { color:var(--muted-2); font-size:13.5px; padding:14px 0; }

/* beta + feedback + changelog */
.beta-note h2 { margin-bottom:4px; }
.beta-note .desc { margin-bottom:0; }
.beta-note .desc a { color:var(--accent-2); font-weight:700; }
.field textarea { background:var(--panel-2); border:1px solid var(--border);
  border-radius:10px; color:var(--text); font-family:inherit; font-size:15px;
  padding:11px 14px; outline:none; transition:border-color .15s ease;
  width:100%; resize:vertical; }
.field textarea:focus { border-color:var(--accent-2); }
.field select { background:var(--panel-2); border:1px solid var(--border);
  border-radius:10px; color:var(--text); font-family:inherit; font-size:14px;
  padding:10px 13px; outline:none; }
.fb-kind { display:inline-block; border-radius:6px; font-size:11px; font-weight:700;
  letter-spacing:1px; text-transform:uppercase; padding:3px 8px; }
.fb-bug { background:rgba(200,56,48,.16); color:var(--accent-2); }
.fb-suggestion { background:rgba(74,222,128,.12); color:#4ade80; }
.fb-feature { background:rgba(96,165,250,.14); color:#60a5fa; }
.fb-other { background:rgba(156,156,162,.14); color:var(--muted); }
.fb-status { display:inline-block; border-radius:6px; font-size:11px; font-weight:700;
  letter-spacing:1px; text-transform:uppercase; padding:3px 8px;
  border:1px solid var(--border); color:var(--muted); }
.fb-new { color:var(--accent-2); border-color:var(--accent); }
.fb-read { color:var(--text); }
.fb-resolved { color:#4ade80; border-color:#4ade80; }
.changelog-list { display:grid; gap:18px; }
.changelog-entry .cl-head { display:flex; align-items:baseline; gap:12px; flex-wrap:wrap; margin-bottom:10px; }
.changelog-entry .cl-head h2 { margin-bottom:0; font-size:18px; }
.cl-version { color:var(--accent-2); font-weight:700; font-size:14px; }
.cl-body { color:var(--muted); font-size:14px; line-height:1.65; }

/* ============ motion ============ */
@media (prefers-reduced-motion: no-preference) {
  .reveal { opacity:0; transform:translateY(22px);
    transition:opacity .7s cubic-bezier(.16,1,.3,1), transform .7s cubic-bezier(.16,1,.3,1); }
  .reveal.in { opacity:1; transform:none; }
}

/* ============ responsive ============ */
@media (max-width:960px) {
  .hero { grid-template-columns:1fr; gap:40px; padding-top:56px; }
  .hero .shot-frame { max-width:640px; }
  .ws-strip { grid-template-columns:repeat(2,1fr); }
  .ws-strip .ws:last-child { grid-column:span 2; }
  .trio { grid-template-columns:1fr; }
  .shot-sm img { height:auto; }
  .split { grid-template-columns:1fr; }
  .band { grid-template-columns:1fr; padding:32px 28px; }
  .nav-links { display:none; }
  .dash-grid { grid-template-columns:1fr; }
}
@media (max-width:560px) {
  .wrap { padding:0 18px; }
  .ws-strip { grid-template-columns:1fr; }
  .ws-strip .ws:last-child { grid-column:auto; }
}

/* ============ dashboard v2 (2026-09-17) ============ */
.dash { padding:48px 0 80px; }
.dash-id { display:flex; align-items:center; gap:16px; }
.dash-avatar { width:52px; height:52px; border-radius:14px; flex:none;
  background:linear-gradient(135deg, var(--accent), var(--accent-2));
  display:flex; align-items:center; justify-content:center;
  font-size:22px; font-weight:700; color:#fff; }
.dash-head { display:flex; align-items:center; justify-content:space-between;
  gap:18px; flex-wrap:wrap; margin-bottom:10px; }
.dash-head h1 { font-size:clamp(26px, 3vw, 34px); margin-bottom:2px; }
.dash-actions { display:flex; align-items:center; gap:10px; }
.dash-sub { color:var(--muted); font-size:14px; margin-bottom:0; }
.dash-sub .mono { color:var(--muted-2); font-size:13px; }

.dash-section { font-size:12px; font-weight:700; letter-spacing:2px;
  text-transform:uppercase; color:var(--muted-2);
  margin:40px 0 14px; display:flex; align-items:center; gap:12px; }
.dash-section::after { content:""; flex:1; height:1px; background:var(--border); }

.stat-grid { display:grid; grid-template-columns:repeat(3,1fr); gap:12px; margin:28px 0 20px; }
.stat { border:1px solid var(--border); border-radius:var(--radius);
  background:var(--panel); padding:16px 18px; transition:border-color .15s ease; }
.stat:hover { border-color:var(--muted-2); }
.stat .k { font-size:12px; color:var(--muted-2); letter-spacing:1px;
  text-transform:uppercase; font-weight:700; margin-bottom:6px; }
.stat .v { font-size:20px; font-weight:700; }
.stat .v-mono { font-family:ui-monospace,'Cascadia Code',monospace; font-size:17px; }
.stat .s { color:var(--muted-2); font-size:12px; margin-top:4px; }

.panel-card h2 { display:flex; align-items:center; gap:10px; }
.pc-ico { width:30px; height:30px; border-radius:9px; flex:none;
  background:var(--accent-dim); display:inline-flex; align-items:center; justify-content:center; }
.pc-ico svg { width:15px; height:15px; stroke:var(--accent-2); }
.panel-wide { grid-column:1 / -1; }

.api-list { line-height:2.1; }
.api-m { display:inline-block; min-width:44px; font-size:10.5px; font-weight:700;
  letter-spacing:1px; color:var(--accent-2); }

.token-row .tid { color:var(--muted-2); font-size:12px; }
.btn-danger:hover { color:var(--accent-2); border-color:var(--accent); }

/* ============ dashboard v2 fixes (2026-09-17b) ============ */
.kind-select { background:var(--panel-2); border:1px solid var(--border);
  border-radius:10px; color:var(--text); font-family:inherit; font-size:14px;
  padding:10px 13px; outline:none; cursor:pointer; }
.kind-select:focus { border-color:var(--accent-2); }
.kind-select option { background:var(--panel-2); color:var(--text); }

.api-m.get { color:#4ade80; }

.feedback-kind-label { font-size:13px; font-weight:700; color:var(--muted); margin-bottom:8px; display:block; }

.btn-primary.btn-block + .btn-primary { margin-top:0; }

/* ============ legal pages (terms / privacy) ============ */
.legal-wrap { max-width:860px; margin:0 auto; padding:48px 24px 80px; }
.legal-card h1 { font-size:30px; letter-spacing:-.6px; margin-bottom:6px; }
.legal-updated { color:var(--muted); font-size:13.5px; margin-bottom:28px; }
.legal-card h2 { font-size:19px; letter-spacing:-.3px; margin:30px 0 10px; }
.legal-card h3 { font-size:15.5px; margin:20px 0 8px; }
.legal-card p, .legal-card li { font-size:14.5px; line-height:1.75; color:var(--text); }
.legal-card ul { padding-left:22px; margin:10px 0; }
.legal-card li { margin-bottom:6px; }
.legal-card a { color:var(--accent-2); font-weight:700; }
.legal-links { margin-top:34px; padding-top:18px; border-top:1px solid var(--border); }

/* ============ register consent checkbox ============ */
.consent-field { margin:18px 0 22px; }
.consent-row { display:flex; align-items:flex-start; gap:10px; cursor:pointer; }
.consent-row input[type="checkbox"] { width:17px; height:17px; margin-top:2px; accent-color:var(--accent); cursor:pointer; flex:none; }
.consent-row span { font-size:13.5px; line-height:1.55; color:var(--muted); }
.consent-row a { color:var(--accent-2); font-weight:700; }

/* ============ macOS coming soon (2026-09-17) ============ */
.btn-soon { cursor:default; opacity:.55; pointer-events:none; }
.dl-row { display:flex; gap:14px; align-items:center; flex-wrap:wrap; justify-content:center; }
.dl-row .btn { margin:0; }

/* ============ membership system v3 (2026-09-17) ============ */
.chip-admin { background:rgba(250,204,21,.12); color:#facc15; border-color:rgba(250,204,21,.35); }
.chip-pro { background:rgba(200,56,48,.16); color:var(--accent-2); border-color:rgba(200,56,48,.4); }

.panel-pro { border-color:rgba(200,56,48,.45);
  background:linear-gradient(160deg, rgba(200,56,48,.06), var(--panel) 55%); }

.member-meta { border:1px solid var(--border); border-radius:10px;
  background:var(--panel-2); padding:4px 14px; margin-bottom:16px; }
.mm-row { display:flex; align-items:center; justify-content:space-between; gap:14px;
  padding:9px 0; border-bottom:1px solid var(--border); font-size:13.5px; }
.mm-row:last-child { border-bottom:none; }
.mm-row > span:first-child { color:var(--muted-2); font-size:12px; font-weight:700;
  letter-spacing:1px; text-transform:uppercase; }
.mm-row code { font-size:12.5px; word-break:break-all; }
.mm-ok { color:#4ade80; font-weight:700; }

.lh-title { font-size:11.5px; font-weight:700; letter-spacing:1.5px;
  text-transform:uppercase; color:var(--muted-2); margin:18px 0 8px; }

.plan-compare { display:grid; gap:0; }
.pc-row { display:grid; grid-template-columns:1fr auto auto; gap:16px;
  align-items:center; padding:8px 0; border-bottom:1px solid var(--border);
  font-size:13px; }
.pc-row:last-child { border-bottom:none; }
.pc-k { color:var(--muted); }
.pc-free, .pc-pro { font-size:11px; font-weight:700; letter-spacing:.5px;
  text-transform:uppercase; padding:2px 9px; border-radius:6px; min-width:44px; text-align:center; }
.pc-free { background:rgba(156,156,162,.12); color:var(--muted); }
.pc-pro { background:rgba(200,56,48,.16); color:var(--accent-2); }

@media (max-width:560px) {
  .pc-row { grid-template-columns:1fr auto auto; gap:10px; }
  .mm-row { flex-direction:column; align-items:flex-start; gap:2px; }
}

/* Contribution progress card + avatars (ported from beta points system) */
.member-card { display:flex; gap:26px; align-items:center; flex-wrap:wrap;
  border:1px solid var(--border); border-radius:var(--radius);
  background:linear-gradient(135deg, var(--panel) 0%, var(--accent-dim) 130%);
  padding:22px 26px; margin-bottom:28px; }
.mc-right { flex:1; min-width:260px; }
.mc-row { display:flex; justify-content:space-between; align-items:baseline; margin-bottom:8px; }
.mc-lvl { font-size:12px; font-weight:700; letter-spacing:1px; text-transform:uppercase; color:var(--accent-2); }
.mc-pts { font-size:14px; font-weight:700; }
.progress-track { height:10px; border-radius:999px; background:var(--panel-2);
  border:1px solid var(--border); overflow:hidden; }
.progress-fill { height:100%; border-radius:999px;
  background:linear-gradient(90deg, var(--accent), var(--accent-2));
  transition:width .4s ease; }
.mc-next { color:var(--muted); font-size:12.5px; margin-top:8px; }
.avatar { width:64px; height:64px; border-radius:50%; object-fit:cover;
  border:2px solid var(--accent); display:block; }
.avatar-fallback { display:flex; align-items:center; justify-content:center;
  background:var(--accent); color:#fff; font-size:26px; font-weight:800; }
.avatar-sm { width:44px; height:44px; font-size:18px; border-width:1px; }
.dash-avatar-img { width:100%; height:100%; border-radius:50%; object-fit:cover; }
.fb-pts { font-size:11px; font-weight:700; color:var(--accent-2);
  border:1px solid var(--border); border-radius:999px; padding:2px 8px; }


/* ============ neko dashboard theme (2026-09-18) ============ */
/* paw-print watermark on the dashboard body */
.neko-dash { position:relative; }
.neko-dash::before {
  content:""; position:fixed; inset:0; pointer-events:none; z-index:0;
  background-image:
    radial-gradient(circle 3px at 12px 10px, rgba(200,56,48,.05) 99%, transparent),
    radial-gradient(circle 3px at 20px 12px, rgba(200,56,48,.05) 99%, transparent),
    radial-gradient(circle 3.4px at 16px 18px, rgba(200,56,48,.05) 99%, transparent);
  background-size:150px 150px;
}
.neko-dash > * { position:relative; z-index:1; }

/* cat-ear avatar */
.neko-avatar { position:relative; }
.neko-avatar .neko-ear {
  position:absolute; top:-7px; width:14px; height:14px; z-index:2;
  background:linear-gradient(135deg, var(--accent), var(--accent-2));
  border-radius:4px 4px 0 0;
  clip-path:polygon(50% 0, 100% 100%, 0 100%);
}
.neko-avatar .ear-l { left:5px; transform:rotate(-14deg); }
.neko-avatar .ear-r { right:5px; transform:rotate(14deg); }
.neko-avatar-lg { width:72px; height:72px; font-size:28px; }
.neko-avatar-lg .neko-ear { top:-8px; width:17px; height:17px; }

/* stat icons (paw fill for contribution) */
.stat .k { display:flex; align-items:center; gap:7px; }
.stat-ico { display:inline-flex; width:15px; height:15px; flex:none; }
.stat-ico svg { width:15px; height:15px; stroke:var(--accent-2); }
.stat-ico svg.fill { fill:var(--accent-dim); stroke:var(--accent-2); }

/* member card paw */
.mc-paw { font-size:34px; line-height:1; flex:none;
  filter:grayscale(.25); transform:rotate(-14deg); }

/* section headers get a tiny paw prefix */
.dash-section::before { content:"🐾"; font-size:13px; }

/* merged profile card */
.prof-block { padding:6px 0 20px; border-bottom:1px solid var(--border); }
.prof-block:last-child { border-bottom:none; padding-bottom:6px; }
.prof-block:first-child { padding-top:0; }
.prof-title { font-size:11.5px; font-weight:700; letter-spacing:1.5px;
  text-transform:uppercase; color:var(--muted-2); margin-bottom:14px; }
.prof-cols { display:grid; grid-template-columns:1fr 1fr; gap:0 18px; }
.prof-cols .field:only-child, .prof-cols .field:last-child:nth-child(odd) { grid-column:span 1; }
.prof-avatar-row { display:flex; align-items:center; gap:18px; flex-wrap:wrap; }
.prof-avatar-form { flex:1; min-width:280px; }
.prof-hint { color:var(--muted-2); font-size:12px; margin-top:8px; }
@media (max-width:720px) {
  .prof-cols { grid-template-columns:1fr; }
}

/* ===== app shell: sidebar layout (2026-09-19) ===== */
:root { --header-bg:rgba(246,245,242,.85); }
[data-theme="dark"] { --header-bg:rgba(17,17,19,.82); }
header { background:var(--header-bg); }

.sidebar { position:fixed; top:0; bottom:0; left:0; z-index:60; width:240px;
  display:flex; flex-direction:column; overflow-y:auto;
  background:var(--panel); border-right:1px solid var(--border);
  padding:18px 14px; }
.main-content { margin-left:240px; min-height:100vh; }
.topbar { display:none; }
.backdrop { display:none; }

.sidebar-brand { display:flex; align-items:center; gap:10px;
  padding:6px 10px 16px; border-bottom:1px solid var(--border); margin-bottom:14px; }
.sidebar-nav { display:flex; flex-direction:column; flex:1; padding:0 2px; }
.nav-label { font-size:10.5px; font-weight:700; letter-spacing:1.5px;
  text-transform:uppercase; color:var(--muted-2); margin:14px 10px 6px; }
.nav-link { position:relative; display:flex; align-items:center; gap:10px;
  width:100%; text-align:left; padding:9px 12px; border:none; border-radius:10px;
  background:transparent; color:var(--muted); cursor:pointer;
  font-family:inherit; font-size:13.5px; font-weight:600;
  transition:color .15s ease, background .15s ease; }
.nav-link svg { width:16px; height:16px; stroke:currentColor; flex:none; }
.nav-link:hover { color:var(--text); background:var(--panel-2); }
.nav-link.active { color:var(--accent-2); background:var(--accent-dim); }
.nav-link.active::before { content:""; position:absolute; left:0; top:8px; bottom:8px;
  width:3px; border-radius:2px; background:var(--accent); }
.sidebar-footer { border-top:1px solid var(--border); margin-top:14px;
  padding-top:10px; display:flex; flex-direction:column; gap:2px; }
.sidebar-footer form { margin:0; }

/* theme toggle icon: moon shown in light, sun shown in dark */
.theme-toggle .ico-sun, .theme-toggle-sm .ico-sun { display:none; }
[data-theme="dark"] .theme-toggle .ico-sun,
[data-theme="dark"] .theme-toggle-sm .ico-sun { display:inline-flex; }
[data-theme="dark"] .theme-toggle .ico-moon,
[data-theme="dark"] .theme-toggle-sm .ico-moon { display:none; }
.theme-toggle-sm { display:inline-flex; align-items:center; justify-content:center;
  width:38px; height:38px; border:1px solid var(--border); border-radius:10px;
  background:transparent; color:var(--muted); cursor:pointer; }
.theme-toggle-sm svg { width:17px; height:17px; }
.hamburger { display:inline-flex; align-items:center; justify-content:center;
  width:38px; height:38px; border:1px solid var(--border); border-radius:10px;
  background:transparent; color:var(--text); cursor:pointer; }
.hamburger svg { width:18px; height:18px; }
.topbar-brand { display:flex; align-items:center; gap:8px; }
.topbar .spacer { flex:1; }

/* light-theme contrast fixes for hardcoded accent greens/blues */
.mm-ok, .api-m.get, .fb-suggestion, .fb-resolved { color:#15803d; }
.fb-feature { color:#1d4ed8; }
.alert.ok { border-left-color:#16a34a; }
[data-theme="dark"] .mm-ok, [data-theme="dark"] .api-m.get,
[data-theme="dark"] .fb-suggestion, [data-theme="dark"] .fb-resolved { color:#4ade80; }
[data-theme="dark"] .fb-feature { color:#60a5fa; }
[data-theme="dark"] .alert.ok { border-left-color:#4ade80; }

/* soften landing screenshot shadows on light background */
.shot-frame { box-shadow:0 24px 80px rgba(0,0,0,.10); }
.shot-sm { box-shadow:0 16px 48px rgba(0,0,0,.08); }
[data-theme="dark"] .shot-frame { box-shadow:0 24px 80px rgba(0,0,0,.5); }
[data-theme="dark"] .shot-sm { box-shadow:0 16px 48px rgba(0,0,0,.35); }

/* ===== mobile: off-canvas sidebar + topbar (<768px) ===== */
@media (max-width:767px) {
  .sidebar { width:min(280px, 84vw); transform:translateX(-100%);
    transition:transform .22s ease; box-shadow:0 0 60px rgba(0,0,0,.25); }
  body.sidebar-open .sidebar { transform:translateX(0); }
  body.sidebar-open { overflow:hidden; }
  .backdrop { display:block; position:fixed; inset:0; z-index:55;
    background:rgba(0,0,0,.45); opacity:0; pointer-events:none;
    transition:opacity .22s ease; }
  body.sidebar-open .backdrop { opacity:1; pointer-events:auto; }
  .main-content { margin-left:0; }
  .topbar { position:sticky; top:0; z-index:50; display:flex; align-items:center;
    gap:10px; height:56px; padding:0 14px;
    background:var(--header-bg);
    backdrop-filter:blur(12px); -webkit-backdrop-filter:blur(12px);
    border-bottom:1px solid var(--border); }
  .dash-section, .dash-head { scroll-margin-top:68px; }
}

/* ===== activity / feedback history (2026-09-19) ===== */
.activity-list { list-style:none; display:grid; gap:12px; margin:6px 0 14px; }
.activity-item { display:flex; gap:14px; align-items:flex-start;
  border:1px solid var(--border); border-radius:12px;
  background:var(--panel-2); padding:14px 16px;
  transition:border-color .15s ease; }
.activity-item:hover { border-color:var(--muted-2); }
.act-icon { width:34px; height:34px; border-radius:10px; flex:none;
  background:var(--accent-dim); display:flex; align-items:center;
  justify-content:center; font-size:17px; line-height:1; }
.act-body { flex:1; min-width:0; }
.act-head { display:flex; align-items:baseline; gap:10px; flex-wrap:wrap;
  margin-bottom:4px; }
.act-kind { font-size:13px; font-weight:700; letter-spacing:.4px;
  color:var(--accent-2); }
.act-when { font-size:11.5px; color:var(--muted-2); }
.act-ver { font-size:11.5px; color:var(--muted-2); }
.act-msg { font-size:13.5px; line-height:1.55; color:var(--text);
  margin-bottom:8px; word-wrap:break-word; overflow-wrap:anywhere; }
.act-flags { display:flex; align-items:center; gap:8px; flex-wrap:wrap; }
.act-status { display:inline-flex; align-items:center;
  border-radius:6px; font-size:10.5px; font-weight:700;
  letter-spacing:1px; text-transform:uppercase;
  padding:2px 8px; border:1px solid var(--border); color:var(--muted); }
.act-status.status-new { color:var(--accent-2); border-color:var(--accent); }
.act-status.status-read { color:var(--muted); border-color:var(--border); }
.act-status.status-resolved { color:#15803d; border-color:#15803d; }
[data-theme="dark"] .act-status.status-resolved { color:#4ade80; border-color:#4ade80; }
.act-pts { font-size:11px; font-weight:700; color:var(--accent-2);
  border:1px solid var(--border); border-radius:999px; padding:2px 8px; }
.act-footer-link { display:inline-flex; align-items:center; gap:6px;
  font-size:13px; font-weight:600; color:var(--accent-2);
  transition:gap .15s ease; }
.act-footer-link:hover { gap:10px; }

.act-empty { text-align:center; padding:34px 18px 30px; }
.act-empty-ico { font-size:34px; margin-bottom:10px;
  filter:grayscale(.2); transform:rotate(-8deg); }
.act-empty-title { font-size:16px; font-weight:700; margin-bottom:6px; }
.act-empty-sub { font-size:13.5px; color:var(--muted); margin-bottom:16px;
  max-width:42ch; margin-left:auto; margin-right:auto; }
.act-empty-cta { display:inline-flex; }

@media (max-width:560px) {
  .activity-item { padding:12px 14px; gap:12px; }
  .act-icon { width:30px; height:30px; font-size:15px; border-radius:8px; }
}

/* ===== admin panel layout + activity (2026-09-19) ===== */
.admin-stats { grid-template-columns:repeat(4,1fr); }
@media (max-width:960px) {
  .admin-stats { grid-template-columns:repeat(2,1fr); }
}
@media (max-width:560px) {
  .admin-stats { grid-template-columns:repeat(2,1fr); }
}

.user-search-form { display:flex; gap:10px; align-items:center;
  margin:6px 0 14px; }
.user-search-form input[type="search"] { flex:1; min-width:220px;
  background:var(--panel-2); border:1px solid var(--border);
  border-radius:10px; color:var(--text); font-family:inherit; font-size:14px;
  padding:10px 14px; outline:none; transition:border-color .15s ease; }
.user-search-form input[type="search"]:focus { border-color:var(--accent-2); }
.user-search-form .btn { flex:none; }
.user-search-meta { margin-top:6px; font-size:13px; }
.user-search-meta strong { color:var(--text); }

/* activity kind accents (subtle left border highlight per kind) */
.activity-item.activity-kind-feedback { border-left:3px solid var(--accent); }
.activity-item.activity-kind-download { border-left:3px solid #60a5fa; }
.activity-item.activity-kind-signup   { border-left:3px solid #4ade80; }
.activity-item.activity-kind-license  { border-left:3px solid #facc15; }
[data-theme="dark"] .activity-item.activity-kind-signup  { border-left-color:#15803d; }
[data-theme="dark"] .activity-item.activity-kind-license { border-left-color:#a16207; }

/* admin sidebar nav-count hint */
.nav-link .mono { font-size:11px; margin-left:auto; color:var(--muted-2); }

/* ===== landing refresh (2026-09-19) ===== */
.landing-header { position:sticky; top:0; z-index:40;
  backdrop-filter:saturate(180%) blur(12px);
  background:var(--header-bg); border-bottom:1px solid var(--border); }
.landing-nav { padding:14px 28px; }
.landing-nav-links a { position:relative; }
.landing-nav-links a::after { content:""; position:absolute; left:0; right:100%;
  bottom:-4px; height:2.5px; background:var(--accent); border-radius:1px;
  transition:right .18s ease; }
.landing-nav-links a:hover::after { right:0; }
.landing-main { padding-bottom:0; }

/* hero copy column */
.landing-main .hero { position:relative; }
.hero-copy { display:flex; flex-direction:column; gap:14px; align-items:flex-start; }
.version-note .accent-link { color:var(--accent-2); text-decoration:none;
  font-weight:600; margin-left:4px; }
.version-note .accent-link:hover { text-decoration:underline; }

/* value cards */
.l-value { display:grid; grid-template-columns:repeat(5,1fr); gap:14px;
  margin:20px 0 44px; }
.value-card { background:var(--panel); border:1px solid var(--border);
  border-radius:12px; padding:16px 16px 14px; display:flex; flex-direction:column;
  gap:8px; transition:transform .15s ease, border-color .15s ease; }
.value-icon { width:28px; height:28px; color:var(--accent-2);
  display:flex; align-items:center; }
.value-icon svg { width:100%; height:100%; }
.value-card:hover { transform:translateY(-2px); border-color:var(--accent-2); }
.value-k { font-size:14px; font-weight:700; letter-spacing:.2px; }
.value-card p { margin:0; color:var(--muted); font-size:12.8px; line-height:1.55; }
@media (max-width:1080px) {
  .l-value { grid-template-columns:repeat(3,1fr); }
}
@media (max-width:640px) {
  .l-value { grid-template-columns:repeat(2,1fr); }
  .value-card { padding:14px 14px 12px; }
}

/* privacy band icon entry */
.band .ico { display:flex; align-items:center; justify-content:center; }

/* roadmap */
.l-roadmap { margin-top:24px; }
.roadmap-list { list-style:none; padding:0; margin:10px 0 0;
  display:flex; flex-direction:column; gap:0; border-left:2px solid var(--border);
  padding-left:22px; max-width:760px; }
.rm-item { display:flex; gap:14px; align-items:flex-start; padding:12px 0;
  border-bottom:1px dashed color-mix(in srgb, var(--border) 60%, transparent);
  position:relative; }
.rm-item:last-child { border-bottom:none; }
.rm-status { width:24px; height:24px; border-radius:50%;
  background:var(--panel-2); color:var(--muted);
  display:flex; align-items:center; justify-content:center; font-size:12px;
  border:2px solid var(--border);
  position:absolute; left:-35px; top:14px; flex:none; }
.rm-item.rm-done .rm-status { background:var(--accent-dim); color:var(--accent-2);
  border-color:var(--accent-2); }
.rm-item.rm-active .rm-status { background:var(--accent); color:#fff;
  border-color:var(--accent); box-shadow:0 0 0 4px rgba(110,168,255,.18); }
.rm-item.rm-active .rm-title { font-weight:700; }
.rm-title { font-size:14.5px; font-weight:600; display:flex; align-items:center;
  gap:8px; flex-wrap:wrap; }
.rm-tag { font-size:11px; font-weight:600; letter-spacing:.4px;
  padding:2px 8px; border-radius:99px;
  background:var(--panel-2); color:var(--muted); border:1px solid var(--border); }
.rm-tag-soon { background:var(--accent-dim); color:var(--accent-2);
  border-color:var(--accent-2); }
.rm-tag-later { background:transparent; color:var(--muted-2); }
.rm-desc { margin:2px 0 0; color:var(--muted); font-size:13px; line-height:1.55; }

/* faq */
.l-faq { margin-top:16px; }
.faq-list { display:flex; flex-direction:column; gap:10px; max-width:760px; }
.faq-item { background:var(--panel); border:1px solid var(--border);
  border-radius:12px; padding:14px 18px; }
.faq-item summary { cursor:pointer; font-size:14.5px; font-weight:600;
  list-style:none; padding:2px 0; position:relative; padding-right:20px;
  color:var(--text); transition:color .15s ease; }
.faq-item summary::-webkit-details-marker { display:none; }
.faq-item summary::after { content:"＋"; position:absolute; right:0; top:0;
  color:var(--muted-2); font-weight:600; transition:transform .2s ease; }
.faq-item[open] summary::after { content:"－"; color:var(--accent-2); }
.faq-item summary:hover { color:var(--accent-2); }
.faq-item p { margin:8px 0 4px; color:var(--muted); font-size:13.5px;
  line-height:1.6; }

/* final CTA */
.l-final { text-align:center; padding:96px 0 80px; }
.l-final .btn { padding:16px 34px; font-size:17px; }
.l-final .fine a.accent-link { color:var(--accent-2); text-decoration:none;
  font-weight:600; }
.l-final .fine a.accent-link:hover { text-decoration:underline; }

/* footer */
.landing-footer { border-top:1px solid var(--border); margin-top:32px; }
