/* Project site template — one identical file in every project repo (AAM, APanel, Findr …). Copy it, never fork.
   Modelled on the Claude Customize screen, at its real (1x) scale: 14px UI text, 13px labels, ~44px rows,
   24px icon tiles, 30px controls, a regular-weight serif title. Whitespace groups things; boxes are rare.
   Warm-white by default (#fcfcfb), near-black on the Night switch. Newsreader for sentences, Inter for data and controls.
   Version: 5.1 (8 Oct 2026; labels and secondary controls in regular-weight Inter 15px like the Claude app's pickers, only the primary button medium): two fonts, one rule. Sentences (headlines, paragraphs, an agent talking) in Newsreader;
   anything you scan or click (data, numbers, labels, tables, buttons, menus) in Inter, with tabular figures and a slashed
   zero for codes and scores. Regular data never below 15px, hints never below 14px. */

:root {
  --bg: #fcfcfb; --panel: #ffffff; --sunk: #f0f0ef; --track: #efefed; --line: #ededec; --line2: #e3e3e1;
  --text: #141413; --text2: #3d3d3a; --muted: #73726c; --dim: #a8a7a2;
  --btn: #141413; --btn-ink: #ffffff; --btn-hover: #2e2e2c;
  --ok: #2b7a4b; --warn: #9a6012; --bad: #b0382c;
  --shadow: 0 1px 1.5px #0000000a;
  --serif: "Newsreader", ui-serif, Georgia, serif;
  --sans: "Inter", ui-sans-serif, system-ui, -apple-system, "Segoe UI", sans-serif;
  --mono: "Inter", ui-sans-serif, system-ui, sans-serif; /* codes and scores: Inter with tabular figures + slashed zero */
  color-scheme: light;
}
:root[data-theme="dark"] {
  --bg: #1b1b1a; --panel: #212120; --sunk: #262625; --track: #262625; --line: #2c2c2b; --line2: #363634;
  --text: #f2f2f0; --text2: #cfcfcb; --muted: #95948f; --dim: #64635f;
  --btn: #f2f2f0; --btn-ink: #141413; --btn-hover: #ffffff;
  --ok: #73c995; --warn: #e0b061; --bad: #ec8b7f;
  --shadow: 0 1px 1.5px #00000040;
  color-scheme: dark;
}

* { box-sizing: border-box; }
[hidden] { display: none !important; }
html { -webkit-text-size-adjust: 100%; }
body { margin: 0; background: var(--bg); color: var(--text); font: 400 18px/1.65 var(--serif); font-optical-sizing: auto; -webkit-font-smoothing: antialiased; -moz-osx-font-smoothing: grayscale; }
a { color: inherit; text-decoration: underline; text-decoration-color: var(--line2); text-underline-offset: 3px; }
a:hover { text-decoration-color: currentColor; }
:focus-visible { outline: 2px solid var(--text); outline-offset: 2px; border-radius: 6px; }
code, .mono, .num { font-family: var(--mono); font-size: .9em; font-variant-numeric:tabular-nums slashed-zero; }
@media (prefers-reduced-motion: reduce) { * { transition: none !important; animation: none !important; } }

/* controls — 30px, 13.5px text, 7px radius */
.btn { display: inline-flex; align-items: center; justify-content: center; gap: 6px; height: 34px; padding: 0 13px; border: 1px solid var(--line2);
  border-radius: 7px; background: var(--panel); color: var(--text); font: 400 15px var(--sans); text-decoration: none; cursor: pointer;
  box-shadow: var(--shadow); white-space: nowrap; transition: background .12s; }
.btn:hover { background: var(--sunk); }
.btn.primary { font-weight: 500; background: var(--btn); color: var(--btn-ink); border-color: var(--btn); box-shadow: none; }
.btn.primary:hover { background: var(--btn-hover); }
.btn.lg { height: 44px; padding: 0 18px; font-size: 16px; border-radius: 10px; }
.btn svg { width: 14px; height: 14px; }

.theme-btn { display: inline-flex; align-items: center; gap: 5px; height: 30px; padding: 0 10px; border: 1px solid var(--line2); border-radius: 7px;
  background: var(--panel); color: var(--muted); font: 400 15px var(--sans); cursor: pointer; white-space: nowrap; box-shadow: var(--shadow); }
.theme-btn:hover { color: var(--text); background: var(--sunk); }
.theme-btn svg { width: 13px; height: 13px; }
.theme-float { position: fixed; right: 14px; bottom: 14px; z-index: 60; }

/* tabs (Skills · Connectors · Plugins) and segmented (Yours | Discover) */
.tabs { display: inline-flex; gap: 2px; }
.tabs a, .tabs button { display: inline-flex; align-items: center; height: 30px; padding: 0 10px; border: 0; border-radius: 7px; background: none;
  color: var(--muted); font: 400 15px var(--sans); text-decoration: none; cursor: pointer; }
.tabs .on, .tabs [aria-current] { background: var(--sunk); color: var(--text); }
.seg { display: inline-flex; padding: 2px; border-radius: 8px; background: var(--track); }
.seg a, .seg button, .seg span { display: inline-flex; align-items: center; height: 26px; padding: 0 10px; border: 0; border-radius: 6px; background: none;
  color: var(--muted); font: 400 15px var(--sans); text-decoration: none; cursor: pointer; }
.seg .on, .seg [aria-current] { background: var(--panel); color: var(--text); box-shadow: 0 0 0 1px var(--line2), var(--shadow); }

/* page frame — narrow column, lots of air */
.wrap { max-width: 960px; margin: 0 auto; padding: 0 32px; }
.top .wrap { display: flex; align-items: center; justify-content: space-between; gap: 16px; height: 64px; }
.brand { font: 500 23px var(--serif); letter-spacing: -.01em; color: var(--text); text-decoration: none; }
.menu { display: flex; align-items: center; gap: 6px; }

.hero { padding: 72px 0 24px; }
.eyebrow { color: var(--muted); font: 400 15px var(--sans); }
h1 { max-width: 800px; margin: 10px 0 18px; font: 400 56px/1.05 var(--serif); letter-spacing: -.02em; }
.lede { max-width: 680px; margin: 0; color: var(--text2); font-size: 21px; line-height: 1.6; }
.lede b { color: var(--text); font-weight: 500; }
.cta { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 24px; }

section.s { padding: 64px 0 0; }
.s-head { margin-bottom: 18px; }
.s-head .n { color: var(--dim); font: 400 15px var(--sans); }
h2 { margin: 2px 0 8px; font: 400 36px/1.15 var(--serif); letter-spacing: -.015em; }
.s-head p { max-width: 680px; margin: 0; color: var(--muted); font-size: 18px; }
h3 { margin: 0; font: 500 20px/1.35 var(--serif); }
.sub { margin: 40px 0 0; color: var(--muted); font: 400 15px var(--sans); }

/* rows — the connector list */
.rows-head, .row { display: grid; grid-template-columns: minmax(0, 1fr) 150px 120px; gap: 20px; align-items: center; }
.rows-head { padding: 12px 0 8px; color: var(--muted); font: 400 15px var(--sans); border-bottom: 1px solid var(--line); }
.row { min-height: 44px; padding: 10px 0; border-bottom: 1px solid var(--line); }
.row .name { display: flex; align-items: flex-start; gap: 12px; min-width: 0; }
.row p { margin: 2px 0 0; color: var(--muted); font-size: 17px; line-height: 1.55; }
.row .meta { color: var(--muted); font: 400 15px/1.45 var(--sans); }
.row .st { color: var(--muted); font: 400 15px var(--sans); white-space: nowrap; }
.tile { width: 24px; height: 24px; flex: none; display: grid; place-items: center; border: 1px solid var(--line); border-radius: 6px;
  background: var(--panel); box-shadow: var(--shadow); color: var(--text); margin-top: -1px; }
.tile svg { width: 13px; height: 13px; }
.ck { width: 14px; height: 14px; display: block; color: var(--text2); }

/* points — short statements, no boxes */
.grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 28px 32px; }
.grid.two { grid-template-columns: repeat(2, 1fr); }
.card { min-width: 0; }
.card p { margin: 4px 0 0; color: var(--muted); font-size: 17px; line-height: 1.6; }
.card .k { display: block; margin-bottom: 2px; color: var(--dim); font: 400 15px var(--sans); }

/* grey panel (Build for the Claude Directory) */
.block { display: flex; align-items: center; justify-content: space-between; gap: 20px; padding: 22px 24px; border-radius: 12px; background: var(--sunk); }
.block h3 { margin-bottom: 4px; }
.block p { margin: 0; color: var(--muted); font-size: 17px; }
.block .acts { display: flex; gap: 8px; flex-wrap: wrap; }
.note { margin-top: 22px; color: var(--muted); font-size: 17px; line-height: 1.65; max-width: 760px; }
.note b { color: var(--text); font-weight: 500; }

/* chips */
.chips { display: flex; flex-wrap: wrap; gap: 6px; }
.chips span { display: inline-flex; align-items: center; gap: 6px; height: 28px; padding: 0 10px; border: 1px solid var(--line2); border-radius: 7px;
  background: var(--panel); box-shadow: var(--shadow); color: var(--text2); font: 400 15px var(--sans); }
.chips .ck { width: 12px; height: 12px; }

/* tables */
.tbl { overflow-x: auto; }
table { width: 100%; border-collapse: collapse; font: 400 15px/1.5 var(--sans); font-variant-numeric:tabular-nums; }
th, td { padding: 11px 16px 11px 0; border-bottom: 1px solid var(--line); text-align: left; vertical-align: top; }
th { padding-top: 12px; padding-bottom: 8px; color: var(--muted); font-weight: 500; font-size: 14px; }
td { color: var(--muted); }
td b { color: var(--text); font-weight: 600; }
.pill { color: var(--text2); font: 400 15px var(--sans); white-space: nowrap; }
.pill.warn { color: var(--warn); } .pill.ok { color: var(--ok); } .pill.bad { color: var(--bad); }

.foot { padding: 72px 0 40px; color: var(--dim); font: 400 14px var(--sans); }
.foot .wrap { display: flex; justify-content: space-between; gap: 16px; flex-wrap: wrap; }

@media (max-width: 760px) {
  .wrap { padding: 0 20px; }
  .hero { padding: 40px 0 8px; }
  h1 { font-size: 38px; } h2 { font-size: 28px; } .lede { font-size: 19px; }
  section.s { padding-top: 48px; }
  .grid, .grid.two { grid-template-columns: 1fr; gap: 18px; }
  .rows-head, .row { grid-template-columns: minmax(0, 1fr) auto; }
  .rows-head .meta, .row .meta { display: none; }
  .block { flex-direction: column; align-items: flex-start; }
}
