/* PB V1 Red v0.4, the office app's brand (ruling 10).
   Night tokens copied from brand/pb-v1-specimen.html, Day Sun tokens from
   brand/pb-v1-day-specimen.html. Never re-derive; copy the specimen again if
   the canon moves. Night is the default; Day follows the device unless the
   Night / Day / Device switch (theme.js) says otherwise. */

:root{
  --ground:#080707;
  --surface:#0d0707;
  --surface-2:#1b1515;
  --line:#3a2e2b;
  --ink:#f2eeed;
  --ink-strong:#f9f7f6;
  --muted:#d9cbc9;
  --faint:#857d7b;
  --accent:#e53d2e;
  --accent-dim:#ae3024;
  --glow:0 0 22px color-mix(in srgb,var(--accent) 45%,transparent);
  --glow-soft:0 0 18px color-mix(in srgb,var(--accent) 28%,transparent);
  color-scheme:dark;
}
:root[data-theme="light"]{
  --ground:#fbf9f8;
  --surface:#fffdfc;
  --surface-2:#f1efee;
  --line:#cdbfbb;
  --ink:#141010;
  --ink-strong:#0d0a0a;
  --muted:#4f4442;
  --faint:#948c8b;
  --accent:#c62a1c;
  --accent-dim:#d35e53;
  color-scheme:light;
}
@media (prefers-color-scheme: light){
  :root:not([data-theme="dark"]){
    --ground:#fbf9f8;
    --surface:#fffdfc;
    --surface-2:#f1efee;
    --line:#cdbfbb;
    --ink:#141010;
    --ink-strong:#0d0a0a;
    --muted:#4f4442;
    --faint:#948c8b;
    --accent:#c62a1c;
    --accent-dim:#d35e53;
    color-scheme:light;
  }
}

/* the specimen's base, as copied */
*{box-sizing:border-box;margin:0;padding:0}
html{-webkit-text-size-adjust:100%}
body{
  background:var(--ground);
  color:var(--ink);
  font-family:'Figtree',-apple-system,'Helvetica Neue',sans-serif;
  font-size:17.5px;
  font-weight:300;
  line-height:1.7;
  padding:0 22px 96px;
}
.page{max-width:40em;margin:0 auto}
a{color:var(--accent);text-decoration:underline;text-decoration-color:color-mix(in srgb,var(--accent) 55%,transparent);text-underline-offset:3px}
strong{color:var(--ink-strong);font-weight:500}
.mono,th{font-family:'JetBrains Mono',ui-monospace,Menlo,monospace}
.eyebrow{
  font-family:'JetBrains Mono',ui-monospace,Menlo,monospace;
  font-size:12px;letter-spacing:.18em;text-transform:uppercase;
  color:var(--accent);font-weight:500;
}
h1{
  font-family:'Sora',-apple-system,sans-serif;
  font-size:46px;line-height:1.06;font-weight:700;color:var(--ink-strong);
  letter-spacing:-0.01em;margin:16px 0 12px;text-wrap:balance;
}
h2{
  font-family:'Sora',-apple-system,sans-serif;
  font-size:29px;line-height:1.12;font-weight:700;color:var(--ink-strong);
  letter-spacing:-0.01em;margin-bottom:14px;text-wrap:balance;
}
h3{
  font-family:'Sora',-apple-system,sans-serif;
  font-size:21px;line-height:1.2;font-weight:700;letter-spacing:-0.01em;
  color:var(--ink-strong);margin:26px 0 8px;
}
p{margin-bottom:16px}
p:last-child{margin-bottom:0}
.dek{font-size:18.5px;line-height:1.6;color:var(--muted);font-weight:300}
.meta{font-family:'JetBrains Mono',ui-monospace,Menlo,monospace;font-size:12.5px;color:var(--faint);margin-top:22px;letter-spacing:.04em}
.tablewrap{overflow-x:auto;margin:20px 0;border:1px solid var(--line);border-radius:8px}
table{border-collapse:collapse;width:100%;background:var(--surface)}
th{
  text-align:left;font-size:11.5px;letter-spacing:.12em;text-transform:uppercase;
  color:var(--faint);font-weight:500;padding:12px 14px 8px;border-bottom:1px solid var(--line);
}
td{
  padding:11px 14px;font-size:16.5px;border-bottom:1px solid var(--line);
  font-variant-numeric:tabular-nums;vertical-align:top;
}
tr:last-child td{border-bottom:none}
td.num{font-family:'JetBrains Mono',ui-monospace,Menlo,monospace;font-size:15px;color:var(--accent);white-space:nowrap}
.callout{
  background:var(--surface);border:1px solid var(--line);border-left:2px solid var(--accent);
  border-radius:8px;padding:16px 18px;margin:22px 0;font-size:17.5px;
}
.callout .eyebrow{display:block;margin-bottom:8px}
/* the front door mark: the name, then the red full stop; the dot glows */
.lk{font-family:'Sora',-apple-system,sans-serif;font-weight:700;letter-spacing:-0.01em;color:var(--ink-strong);line-height:1;display:inline-block;white-space:nowrap;font-size:40px;margin:8px 0 6px}
.lk .r{color:var(--accent);text-shadow:var(--glow)}

/* the office shell: plain on purpose; the screens are drawn by the mock */
.shell{max-width:72em;margin:0 auto}
.topbar{display:flex;flex-wrap:wrap;align-items:center;justify-content:space-between;gap:12px;padding:18px 0 14px;border-bottom:1px solid var(--line)}
.topbar .lk{font-size:26px;margin:0;text-decoration:none}
.nav{display:flex;flex-wrap:wrap;gap:6px 18px;padding:12px 0;border-bottom:1px solid var(--line)}
.nav a{font-family:'JetBrains Mono',ui-monospace,Menlo,monospace;font-size:13px;letter-spacing:.08em;text-transform:uppercase;color:var(--muted);text-decoration:none}
.nav a[aria-current="page"]{color:var(--accent)}
.banner{margin:14px 0 0;background:var(--surface);border:1px solid var(--line);border-left:2px solid var(--accent);border-radius:8px;padding:10px 14px;font-size:15.5px;color:var(--muted)}
.banner strong{color:var(--accent)}
.cols{display:grid;grid-template-columns:repeat(auto-fit,minmax(300px,1fr));gap:22px}
.theme-switch{display:inline-flex;border:1px solid var(--line);border-radius:8px;overflow:hidden}
.theme-switch button{font:inherit;font-family:'JetBrains Mono',ui-monospace,Menlo,monospace;font-size:12px;letter-spacing:.06em;background:transparent;color:var(--muted);border:0;padding:6px 10px;cursor:pointer}
.theme-switch button[aria-pressed="true"]{background:var(--surface-2);color:var(--ink-strong)}
.btn{font:inherit;font-weight:500;font-size:17px;background:var(--accent);color:var(--ground);border:1px solid var(--accent);border-radius:10px;padding:12px 20px;cursor:pointer}
.btn:disabled{opacity:.6;cursor:default}
.btn.quiet{background:transparent;color:var(--ink);border-color:var(--line);font-size:14px;padding:6px 12px}
.err{color:var(--accent)}
main{padding-top:22px}
@media (max-width:520px){ h1{font-size:36px} body{padding:0 16px 72px} }
