/* The playbook look (netamp/plans/PLAYBOOK-DASHBOARD.md, "The look"),
   carried onto the site's own parts: a white page, grey panels that hold
   white cards, cards with no border standing off the panel on one quiet
   shadow, pills for every control, kind glyphs in tinted squares, Figtree
   for everything. The app window and the live scenes are left as drawn.
   Loaded last by light.html; removing the link removes all of it. */

html[data-theme="light"] {
  --page: #ffffff;
  --panel: #f4f5f7;
  --card: #ffffff;
  --raised: #eceef1;
  --ink: #1f1f1f;
  --body: #3c4043;
  --muted: #5f6368;
  --faint: #80868b;
  --hair: #dadce0;
  --link: #1a73e8;
  --shadow: 0 1px 2px #3c40431f, 0 2px 8px #3c404314;
  --shadow-lift: 0 6px 24px #3c404333, 0 2px 6px #3c40431f;
}
html[data-theme="light"],
html[data-theme="light"] body {
  background: var(--page) !important;
  color: var(--ink) !important;
}

/* ---------- Controls: pills ---------- */

html[data-theme="light"] .btn {
  border-radius: 999px;
  font-weight: 500;
  letter-spacing: -0.01em;
}
html[data-theme="light"] .btn::after { display: none; }
html[data-theme="light"] .btn-solid,
html[data-theme="light"] .btn-solid.btn-lg {
  background: var(--ink);
  border: 1px solid var(--ink);
  color: #ffffff;
  box-shadow: var(--shadow);
}
html[data-theme="light"] .btn-solid:hover,
html[data-theme="light"] .btn-solid.btn-lg:hover {
  background: #000000;
  border-color: #000000;
  box-shadow: var(--shadow-lift);
}
html[data-theme="light"] .btn-ghost {
  background: var(--card);
  border: 1px solid var(--hair);
  color: var(--ink);
  box-shadow: none;
  backdrop-filter: none;
  -webkit-backdrop-filter: none;
}
html[data-theme="light"] .btn-ghost:hover {
  background: var(--card);
  border-color: var(--faint);
  box-shadow: var(--shadow);
}

/* A section label reads like a pane head: 12, 500, upper case, muted, in a
   hairline pill. */
html[data-theme="light"] .dot-pill {
  height: 30px;
  padding: 0 14px 0 12px;
  border: 1px solid var(--hair);
  background: var(--card);
  color: var(--muted);
  font-size: 12px;
  font-weight: 500;
  letter-spacing: 0.06em;
}
html[data-theme="light"] .dot-pill i { width: 6px; height: 6px; background: var(--link); box-shadow: none; }

/* ---------- Type ---------- */

/* Titles are Figtree 500, big and tight, as the drawing's page title
   ("Post-change health, floors 2 and 3": 44 on 48 at -0.035em), in place of
   the pixel face. The second line keeps its grey. */
html[data-theme="light"] .hero h1,
html[data-theme="light"] .pixel,
html[data-theme="light"] .head h2 {
  font-family: var(--sans);
  font-weight: 500;
  letter-spacing: -0.035em;
  color: var(--ink);
}
html[data-theme="light"] .hero h1 { font-size: clamp(44px, 4.6vw, 76px); line-height: 1.04; }
html[data-theme="light"] .pixel,
html[data-theme="light"] .head h2 { font-size: clamp(36px, 4.2vw, 64px); line-height: 1.06; }
html[data-theme="light"] .hero h1 em,
html[data-theme="light"] .head h2 em {
  font-family: inherit;
  font-size: 1em;
  font-weight: 500;
  font-style: normal;
  letter-spacing: inherit;
  color: #9aa0a6;
}
/* The second voice in every title in netamp blue (the app's brand,
   theme.rs). */
html[data-theme="light"] .hero h1 em,
html[data-theme="light"] .head h2 em,
html[data-theme="light"] .closer .head h2 em { color: #3455fa; }
@media (max-width: 900px) {
  html[data-theme="light"] .hero h1 { font-size: 42px; }
}

html[data-theme="light"] .lede,
html[data-theme="light"] .pipe-head-r,
html[data-theme="light"] .head p { color: var(--body); }
html[data-theme="light"] .pipe-head-r { font-size: 16px; line-height: 1.6; }

/* ---------- The pipeline: one grey panel of white cards ---------- */

html[data-theme="light"] .pipe-grid {
  padding: 36px;
  gap: 16px;
  border-radius: 24px;
  background: var(--panel);
}
html[data-theme="light"] .bcard {
  border: 0;
  border-radius: 18px;
  background: var(--card);
  box-shadow: var(--shadow);
  transition: box-shadow 0.35s ease;
}
html[data-theme="light"] .bcard::before { display: none; }
html[data-theme="light"] .bcard:hover { box-shadow: var(--shadow-lift); }
html[data-theme="light"] .bart { border-radius: 18px 18px 0 0; }
html[data-theme="light"] .btext { padding: 22px 22px 26px; }

/* The card's kind: its glyph in a 30 square tinted at 13 per cent of its
   colour, then the name at 500 in ink. */
html[data-theme="light"] .kicker {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  color: var(--ink);
  font-size: 14px;
  font-weight: 500;
  letter-spacing: -0.005em;
  text-transform: none;
}
html[data-theme="light"] .kicker i {
  width: 30px;
  height: 30px;
  border-radius: 9px;
  display: grid;
  place-items: center;
  background: color-mix(in srgb, var(--accent) 13%, transparent);
  color: color-mix(in srgb, var(--accent) 82%, black);
  box-shadow: none;
}
html[data-theme="light"] .kicker svg { width: 16px; height: 16px; display: block; }
html[data-theme="light"] .btext h3 {
  margin-top: 14px;
  color: var(--ink);
  font-size: 20px;
  font-weight: 500;
  line-height: 26px;
  letter-spacing: -0.015em;
}
html[data-theme="light"] .btext p {
  margin-top: 6px;
  color: var(--body);
  font-size: 14.5px;
  line-height: 1.55;
}

html[data-theme="light"] .bfeat { color: var(--body); }
html[data-theme="light"] .bpill { background: var(--raised); color: var(--muted); }
html[data-theme="light"] .btext .bpill + p { margin-top: 14px; }
html[data-theme="light"] .bfeat b { color: var(--ink); }

/* ---------- Agents: the scene as a card on a grey panel ---------- */

html[data-theme="light"] .agents-frame {
  padding: 36px;
  border-radius: 24px;
  background: var(--panel);
}
html[data-theme="light"] .agents-frame::before { display: none; }
html[data-theme="light"] .agents-frame .scene {
  border-radius: 18px;
  box-shadow: var(--shadow-lift);
}
html[data-theme="light"] .facts { color: var(--body); }

/* ---------- Team: the same panel and cards ---------- */

html[data-theme="light"] .bento {
  padding: 36px;
  gap: 16px;
  border-radius: 24px;
  background: var(--panel);
}
html[data-theme="light"] .tile-live {
  border: 0;
  border-radius: 18px;
  background: var(--card);
  box-shadow: var(--shadow);
  transition: box-shadow 0.35s ease;
}
html[data-theme="light"] .tile-live:hover { box-shadow: var(--shadow-lift); }
html[data-theme="light"] .tile-top b { color: var(--ink); font-size: 20px; line-height: 26px; letter-spacing: -0.015em; }
html[data-theme="light"] .tile-top span { color: var(--muted); font-size: 14.5px; }
html[data-theme="light"] .tile-live .scene { border-radius: 14px 14px 0 0; box-shadow: none; }

/* ---------- Phones ---------- */

@media (max-width: 900px) {
  html[data-theme="light"] .pipe-grid,
  html[data-theme="light"] .agents-frame,
  html[data-theme="light"] .bento { padding: 12px; gap: 12px; border-radius: 20px; }
}
