/* Workplace Copilot / Fluent-inspired theme. Independent editorial identity. */
:root {
  --font-body: "Segoe UI Variable", "Segoe UI", "Selawik", system-ui, sans-serif;
  --font-heading: var(--font-body);
  --mono: var(--font-body);
  --paper: #f7f8fc;
  --ink: #242638;
  --muted: #616579;
  --line: #e2e5ee;
  --blue: #4255bb;
  --panel: #eef0fa;
  --card: #fff;
  --color-bg: var(--paper);
  --color-text: var(--ink);
  --color-surface: var(--card);
  --color-divider: var(--line);
  --color-accent: var(--blue);
  --radius-sm: 8px;
  --radius-md: 14px;
  --radius-lg: 22px;
}
html[data-theme=dark] {
  --paper: #191a24;
  --ink: #eef0fa;
  --muted: #b3b7cc;
  --line: #383b50;
  --blue: #b0bdff;
  --panel: #2b2e43;
  --card: #222432;
}
body { font-family: var(--font-body); line-height: 1.6; }
h1,h2,h3,h4 { letter-spacing: -.025em; }
header { background: var(--card); }
.masthead { gap: 18px; min-height: 84px; }
.brand { font-size: 22px; letter-spacing: -.035em; }
.brand span { font-size: 11px; letter-spacing: 0; }
nav { gap: 5px; }
nav a { padding: 8px 11px; border: 0; border-radius: 20px; font-size: 14px; }
nav a.active, nav a:hover { background: var(--panel); color: var(--blue); }
#theme { border-radius: 50%; background: var(--paper); width: 38px; height: 38px; }
.edition { letter-spacing: .025em; font-size: 11px; padding: 22px 0; }
.leaderboard { border-radius: 20px; background: linear-gradient(115deg,#e4f3fc,#e9e9fc 60%,#f6e8f6); color: #353753!important; gap: 26px; border: 1px solid #e1e4f3; }
.ad-brand { font-size: 24px; letter-spacing: .06em; font-weight: 600; }
.ad-brand span { letter-spacing: .045em; }
.leaderboard strong { font-size: 20px; }
.ad-cta { border-radius: 20px; border-color: #b8bad3; background: #ffffff60; }
.ad-label { letter-spacing: .055em; margin-bottom: 36px; }
.columns { gap: 32px; }
.lead { gap: 26px; padding-bottom: 34px; align-items: center; }
.lead h1 { font-size: 39px; line-height: 1.18; font-weight: 600; }
.lead p { font-size: 17px; line-height: 1.65; }
.eyebrow { text-transform: none; letter-spacing: .015em; font-weight: 600; }
.meta { font-size: 12px; letter-spacing: 0; }
.lead-panel { background: linear-gradient(145deg,#e0f2fd,#e8e8fb 55%,#f3e7f7); color: #363755; border: 1px solid #dddff1; border-radius: 24px; min-height: 290px; padding: 28px; box-shadow: 0 8px 28px #595eab0a; }
.lead-panel:before,.lead-panel:after { content: none; }
.lead-panel .index { color: #595c7c; letter-spacing: .035em; }
.lead-panel strong { font-size: 39px; line-height: 1.13; text-transform: none; font-weight: 600; }
.lead-panel .caption { border-color: #c7c9e1; font-size: 12px; }
.section-title { border-bottom: 1px solid var(--line); margin-bottom: 16px; }
.section-title h2 { font-size: 23px; text-transform: none; letter-spacing: -.025em; }
.story { background: var(--card); border: 1px solid var(--line); border-radius: 18px; padding: 22px; margin-bottom: 14px; }
.story h2,.story h3 { font-size: 23px; line-height: 1.3; font-weight: 600; }
.grid2 { gap: 18px; }
.grid2 .story { padding: 22px; }
.tag { border: 0; background: var(--panel); border-radius: 20px; padding: 4px 10px; }
.aside-box { border: 1px solid var(--line); background: var(--card); border-radius: 18px; padding: 20px; margin-top: 8px; }
.aside-box h2 { text-transform: none; font-size: 20px; }
.number { font-size: 34px; }
.status-note,.notice,.calculator,.empty { border-radius: 14px; }
.status-note { padding: 14px; }
.ad-square { border-radius: 20px; background: linear-gradient(145deg,#e7edfa,#eee6f5); color: #353753!important; border: 1px solid #dddff1; }
.ad-square .eyebrow { color: #595c7c; }
.ad-square h3 { font-size: 30px; line-height: 1.18; }
.ad-square img { width: 100%; height: 150px; border-radius: 12px; margin: 14px 0 0; }
.page-head { border-bottom: 1px solid var(--line); }
.page-head h1,.about h1 { font-size: 40px; line-height: 1.2; }
.toolbar input,.toolbar select,.calculator input { border-radius: 12px; background: var(--card); }
.article h1 { font-size: 44px; line-height: 1.18; }
.article .dek { font-size: 21px; line-height: 1.6; }
.article blockquote,.source-link,.surface { border-radius: 16px; }
.source-link,.surface { background: var(--card); }
.surface h2 { font-size: 22px; }
.button { border-radius: 22px; }
.sponsor-example img { border-radius: 20px; }
footer .brand { font-size: 21px; }
html[data-theme=dark] .leaderboard,html[data-theme=dark] .lead-panel,html[data-theme=dark] .ad-square {
  background: linear-gradient(135deg,#263d50,#343453 60%,#47344d); color: #eef0fa!important; border-color: #474a69;
}
html[data-theme=dark] .lead-panel .index,html[data-theme=dark] .ad-square .eyebrow { color: #c1c8e4; }
html[data-theme=dark] .ad-cta { background: #ffffff0a; border-color: #797d9e; }
html[data-theme=dark] .lead-panel .caption { border-color: #676b89; }
@media(max-width:1100px) {
  .masthead { gap: 10px; padding-bottom: 10px; }
  .masthead nav { gap: 6px; }
  .masthead nav a { padding: 7px 12px; }
  .lead-panel { min-height: 220px; }
  .lead-panel strong { font-size: 36px; }
}
@media(max-width:760px) {
  .brand { font-size: 21px; }
  .lead h1,.page-head h1,.article h1,.about h1 { font-size: 33px; }
  .lead-panel strong { font-size: 35px; }
  .leaderboard { gap: 16px; border-radius: 16px; }
  .leaderboard strong { font-size: 17px; }
  .ad-brand { font-size: 20px; }
  .story,.grid2 .story { padding: 20px; }
  .section-title h2 { font-size: 21px; }
}
