/* Pin & Fix site: one stylesheet for every page. Tokens follow extension/panel.html (indigo accent, system font). */
:root { color-scheme: light dark; --bg:#fff; --fg:#1a1b1e; --fg2:#33373d; --mut:#646a73; --line:#d9dce1; --line2:#eceef1; --soft:#f6f7f9;
  --acc:#4f46e5; --acc-ink:#3730a3; --acc-soft:#eef0ff; --on-acc:#fff; --todo:#c2410c; --check:#7c3aed; --done:#15803d; --shadow:0 12px 40px rgba(30,27,75,.12); }
@media (prefers-color-scheme: dark) { :root { --bg:#141416; --fg:#eee; --fg2:#d4d4d8; --mut:#a1a1aa; --line:#3f3f46; --line2:#2c2c30; --soft:#1e1e21;
  --acc:#818cf8; --acc-ink:#a5b4fc; --acc-soft:#23233a; --on-acc:#14142b; --shadow:0 12px 40px rgba(0,0,0,.5); } }
* { box-sizing: border-box; }
body { margin: 0; background: var(--bg); color: var(--fg); font: 17px/1.6 system-ui, -apple-system, "Segoe UI", sans-serif; -webkit-font-smoothing: antialiased; }
a { color: var(--acc-ink); }
h1, h2, h3 { line-height: 1.2; letter-spacing: -.01em; margin: 0 0 .5em; }
h1 { font-size: clamp(32px, 5.4vw, 46px); letter-spacing: -.02em; }
h2 { font-size: clamp(26px, 3.6vw, 34px); }
h3 { font-size: 19px; }
p { margin: 0 0 1em; }
code, kbd { font: 14px/1.4 ui-monospace, SFMono-Regular, Menlo, monospace; background: var(--soft); border: 1px solid var(--line2); border-radius: 5px; padding: 1px 5px; }
.wrap { max-width: 1080px; margin: 0 auto; padding: 0 16px; }
.mut { color: var(--mut); }
[hidden] { display: none !important; }

/* header / footer */
.top { border-bottom: 1px solid var(--line2); }
.top .wrap { display: flex; align-items: center; gap: 24px; height: 60px; }
.brand { display: flex; align-items: center; gap: 10px; font-weight: 700; font-size: 18px; color: var(--fg); text-decoration: none; }
.brand img { width: 28px; height: 28px; }
.top nav { margin-left: auto; display: flex; gap: 20px; font-size: 15px; }
.top nav a { color: var(--fg2); text-decoration: none; } .top nav a:hover { color: var(--acc-ink); }
footer { border-top: 1px solid var(--line2); margin-top: 40px; padding: 28px 0 40px; font-size: 15px; color: var(--mut); }
footer .wrap { display: flex; flex-wrap: wrap; gap: 8px 24px; }
footer a { color: var(--mut); } footer .end { margin-left: auto; }

/* buttons */
.btn { display: inline-flex; align-items: center; gap: 10px; font: 600 17px/1 system-ui, sans-serif; padding: 14px 18px; border-radius: 10px; border: 1px solid var(--acc);
  background: var(--acc); color: var(--on-acc); text-decoration: none; cursor: pointer; }
.btn:hover { filter: brightness(1.08); }
.btn[aria-disabled=true], .btn:disabled { background: var(--line2); border-color: var(--line); color: var(--mut); cursor: default; filter: none; }
.btn.ghost { background: transparent; color: var(--acc-ink); border-color: var(--line); }

/* landing */
.hero { padding: 64px 0 56px; }
.hero .wrap { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.1fr); gap: 40px; align-items: center; }
.hero .lead { font-size: 20px; color: var(--fg2); max-width: 34em; }
.cta { display: flex; flex-wrap: wrap; gap: 10px; align-items: center; margin: 28px 0 14px; }
.facts { font-size: 15px; color: var(--mut); margin: 0; }
section { padding: 56px 0; }
section.alt { background: var(--soft); border-block: 1px solid var(--line2); }
.intro { max-width: 40em; color: var(--fg2); font-size: 18px; }
.grid3 { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 24px; margin-top: 32px; }
.grid2 { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 24px; margin-top: 32px; }
.box { background: var(--bg); border: 1px solid var(--line); border-radius: 14px; padding: 24px; }
.box p:last-child { margin: 0; }
.step { width: 32px; height: 32px; border-radius: 50%; display: grid; place-items: center; font: 700 15px system-ui, sans-serif; color: #fff; margin-bottom: 14px; }
.s1 { background: var(--todo); } .s2 { background: var(--check); } .s3 { background: var(--done); }
.ticks { list-style: none; padding: 0; margin: 28px 0 0; display: grid; gap: 14px; max-width: 46em; }
.ticks li { padding-left: 32px; position: relative; }
.ticks li::before { content: "✓"; position: absolute; left: 0; top: 0; width: 22px; height: 22px; border-radius: 50%; background: var(--acc-soft); color: var(--acc-ink);
  font: 700 13px/22px system-ui, sans-serif; text-align: center; margin-top: 3px; }
.for { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 20px; }
.for span { border: 1px solid var(--line); border-radius: 99px; padding: 4px 14px; font-size: 15px; color: var(--fg2); }
.faq { max-width: 46em; margin-top: 24px; }
.faq details { border-bottom: 1px solid var(--line); padding: 16px 0; }
.faq summary { font-weight: 650; cursor: pointer; font-size: 18px; }
.faq details p { margin: 10px 0 0; color: var(--fg2); }

/* hero illustration: a page with numbered circles + the side panel (labels as in the extension) */
.shot { border: 1px solid var(--line); border-radius: 14px; overflow: hidden; box-shadow: var(--shadow); background: var(--bg); font-size: 13px; line-height: 1.4; }
.shot .bar { height: 30px; background: var(--soft); border-bottom: 1px solid var(--line); display: flex; align-items: center; gap: 6px; padding: 0 12px; }
.shot .bar i { width: 10px; height: 10px; border-radius: 50%; background: var(--line); }
.shot .bar span { margin-left: 10px; flex: 1; background: var(--bg); border: 1px solid var(--line2); border-radius: 6px; padding: 1px 10px; font-size: 12px; color: var(--mut); }
.shot .body { display: grid; grid-template-columns: minmax(0, 1fr) 210px; min-height: 340px; }
.pg { padding: 22px 20px; }
.pg .nav { display: flex; gap: 12px; font-size: 11px; color: var(--mut); margin-bottom: 26px; }
.pg .nav b { color: var(--fg); margin-right: auto; }
.pg .h { font: 750 22px/1.15 system-ui, sans-serif; margin-bottom: 8px; }
.pg .t { color: var(--mut); margin-bottom: 18px; }
.pg .row { display: flex; align-items: center; gap: 14px; }
.pg .b { background: #15803d; color: #fff; font-weight: 650; font-size: 11px; padding: 5px 10px; border-radius: 6px; }
.pg .pr { font-weight: 700; margin-right: 12px; }
.pin { position: relative; } .pin.out { outline: 2px solid var(--acc); outline-offset: 3px; border-radius: 3px; }
.pin::after { content: attr(data-n); position: absolute; top: -11px; right: -13px; width: 20px; height: 20px; border-radius: 50%; display: grid; place-items: center;
  font: 700 11px system-ui, sans-serif; color: #fff; background: var(--todo); box-shadow: 0 0 0 2px var(--bg); }
.pin.ck::after { background: var(--check); }
.pg .ph { height: 74px; border-radius: 8px; background: linear-gradient(135deg, var(--acc-soft), var(--line2)); margin-top: 22px; }
.pn { border-left: 1px solid var(--line); display: flex; flex-direction: column; }
.pn .hd { padding: 8px 10px; font-weight: 650; border-bottom: 1px solid var(--line); }
.pn .hd small { display: block; font-weight: 400; color: var(--mut); font-size: 11px; }
.pn .tb { display: flex; gap: 10px; white-space: nowrap; overflow: hidden; padding: 0 10px; border-bottom: 1px solid var(--line); font-size: 12px; color: var(--mut); }
.pn .tb span { padding: 6px 0; } .pn .tb .on { color: var(--fg); font-weight: 650; border-bottom: 2px solid var(--fg); }
.pn .cd { display: grid; grid-template-columns: 20px 1fr; gap: 0 7px; padding: 8px 10px; border-bottom: 1px solid var(--line2); }
.pn .n { width: 20px; height: 20px; border-radius: 50%; background: var(--todo); color: #fff; display: grid; place-items: center; font-size: 11px; font-weight: 700; }
.pn .cd b { font-size: 12px; } .pn .cd p { margin: 0; grid-column: 2; color: var(--fg2); font-size: 12px; }
.pn .ft { margin-top: auto; padding: 10px; }
.pn .ft span { display: block; text-align: center; background: var(--acc); color: var(--on-acc); font-weight: 650; border-radius: 6px; padding: 7px; font-size: 12px; }

/* prose pages (privacy) */
.prose { max-width: 46em; padding-top: 48px; }
.prose h2 { font-size: 24px; margin-top: 40px; }
.prose h3 { margin-top: 24px; }
.prose li { margin-bottom: 6px; }
.prose table { border-collapse: collapse; width: 100%; font-size: 15px; margin: 8px 0 16px; }
.prose th, .prose td { text-align: left; vertical-align: top; border-bottom: 1px solid var(--line); padding: 8px 10px 8px 0; }
.prose .note { background: var(--acc-soft); border-radius: 10px; padding: 14px 18px; }
.prose pre { font: 14px/1.5 ui-monospace, SFMono-Regular, Menlo, monospace; background: var(--soft); border: 1px solid var(--line2); border-radius: 8px;
  padding: 10px 14px; white-space: pre-wrap; overflow-wrap: anywhere; margin: 0 0 1em; }

/* card pages (join / open / pick / 404) */
.card { max-width: 520px; margin: 56px auto 0; padding: 32px; border: 1px solid var(--line); border-radius: 16px; box-shadow: var(--shadow); }
.card h1 { font-size: 28px; }
.card label { display: block; font-weight: 600; margin: 20px 0 6px; }
.card input { font: inherit; width: 100%; padding: 10px 12px; border: 1px solid var(--line); border-radius: 8px; background: transparent; color: inherit; margin-bottom: 20px; }
.card .btn { font-size: 18px; }
.card .s { color: var(--mut); }
.card details { margin-top: 24px; font-size: 14px; color: var(--mut); }
.card pre { font-size: 12px; white-space: pre-wrap; overflow-wrap: anywhere; background: var(--soft); border-radius: 8px; padding: 10px; margin: 8px 0 0; }
.card pre:empty { display: none; }

@media (max-width: 860px) {
  .hero { padding-top: 40px; }
  .hero .wrap, .grid2, .grid3 { grid-template-columns: minmax(0, 1fr); }
  .hero .wrap { gap: 40px; }
}
@media (max-width: 560px) {
  body { font-size: 16px; }
  .top nav a:not(.keep) { display: none; }
  .hero .lead { font-size: 18px; }
  .cta .btn { width: 100%; justify-content: center; }
  .shot .body { grid-template-columns: minmax(0, 1fr) 168px; min-height: 0; }
  .pn .tb { gap: 8px; font-size: 11px; } .pn .tb span:last-child { display: none; }
  section { padding: 44px 0; }
  .pg { padding: 16px 12px; } .pg .h { font-size: 17px; } .pg .nav span { display: none; }
  .card { margin-top: 24px; padding: 24px 18px; border: 0; box-shadow: none; }
  footer .end { margin-left: 0; }
}
.more { margin-top: 24px; }
.pg .pr.pin::after { right: -20px; }
