/* Perceptron Data — no external fonts, scripts or trackers. */
:root {
  --bg: #ffffff; --fg: #111827; --muted: #4b5563; --line: #e5e7eb; --card: #f9fafb;
  --brand: #312e81; --brand-2: #4338ca; --accent: #fde047; --ok: #65a30d; --code: #f3f4f6;
}
@media (prefers-color-scheme: dark) {
  :root { --bg: #0b1020; --fg: #e5e7eb; --muted: #9ca3af; --line: #1f2937; --card: #111827;
          --brand: #a5b4fc; --brand-2: #c7d2fe; --code: #111827; }
}
* { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; }
body { margin: 0; background: var(--bg); color: var(--fg);
  font: 16px/1.6 system-ui, -apple-system, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif; }
.wrap { max-width: 1080px; margin: 0 auto; padding: 0 16px; }
a { color: var(--brand-2); }
a:hover { text-decoration-thickness: 2px; }
.top { border-bottom: 1px solid var(--line); }
.top .wrap { display: flex; align-items: center; justify-content: space-between; height: 60px; }
.brand { display: flex; gap: 10px; align-items: center; font-weight: 700; color: var(--fg); text-decoration: none; }
.brand img { border-radius: 8px; }
.top nav a { margin-left: 18px; color: var(--fg); text-decoration: none; font-weight: 500; }
.hero { padding: 48px 0 24px; }
.hero h1 { font-size: clamp(28px, 4.5vw, 44px); line-height: 1.15; margin: 0 0 12px; letter-spacing: -0.02em; }
.hero.actor { display: grid; grid-template-columns: 96px 1fr; gap: 24px; align-items: start; }
.hero.actor img { border-radius: 22px; }
.lead { font-size: 18px; color: var(--muted); max-width: 760px; }
.descriptor { font-size: 21px; font-weight: 600; margin: 0 0 10px; }
.family.l2 { margin-top: 40px; }
.family.l3 { margin: 24px 0; }
.family h3 { font-size: 18px; margin: 0 0 6px; }
#how ol { padding-left: 22px; max-width: 760px; }
.button { display: inline-block; background: var(--accent); color: #111827; font-weight: 700;
  padding: 10px 18px; border-radius: 10px; text-decoration: none; margin-right: 12px; }
.button:hover { filter: brightness(0.95); }
section { margin: 32px 0; }
h2 { font-size: 22px; margin: 0 0 14px; }
.grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(320px, 1fr)); gap: 16px; }
.card { display: grid; grid-template-columns: 56px 1fr; gap: 14px; padding: 16px; border: 1px solid var(--line);
  border-radius: 14px; background: var(--card); }
.card img { border-radius: 12px; }
.card h3 { margin: 0 0 4px; font-size: 17px; line-height: 1.3; }
.card h3 a { color: var(--fg); text-decoration: none; }
.card p { margin: 0 0 8px; color: var(--muted); font-size: 15px; }
.card .meta { font-size: 14px; margin: 0; }
.price { font-weight: 700; color: var(--fg); }
.price.free { color: var(--ok); }
.muted { color: var(--muted); font-weight: 400; }
.ticks { list-style: none; padding: 0; }
.ticks li { padding-left: 28px; position: relative; margin: 6px 0; }
.ticks li::before { content: "✓"; position: absolute; left: 0; color: var(--ok); font-weight: 700; }
pre { background: var(--code); padding: 16px; border-radius: 12px; overflow-x: auto; font-size: 14px; }
.table { overflow-x: auto; }
table { border-collapse: collapse; width: 100%; font-size: 15px; }
th, td { text-align: left; padding: 8px 10px; border-bottom: 1px solid var(--line); vertical-align: top; }
th { font-weight: 600; }
td p { margin: 0 0 6px; }
td ul { margin: 0 0 6px; padding-left: 18px; }
details { border: 1px solid var(--line); border-radius: 10px; padding: 12px 16px; margin: 8px 0; background: var(--card); }
summary { cursor: pointer; font-weight: 600; }
.crumbs { margin-top: 20px; font-size: 14px; color: var(--muted); }
.prose { max-width: 760px; padding: 32px 0; }
footer { border-top: 1px solid var(--line); margin-top: 48px; padding: 20px 0 40px; color: var(--muted); font-size: 14px; }
@media (max-width: 600px) {
  .hero.actor { grid-template-columns: 1fr; }
  .hero.actor img { width: 72px; height: 72px; }
  .top nav a { margin-left: 12px; }
}
