/* BIZLAWINSIDER DESIGN SYSTEM — shared tokens, then reusable components. */
:root {
  color-scheme: light;
  --bg: #ffffff;
  --surface: #ffffff;
  --surface-soft: #f2f4fa;
  --ink: #17202B;
  --muted: #566173;
  --line: #d2d8e3;
  --line-strong: #8b97aa;
  --brand: #2440A0;
  --brand-ink: #ffffff;
  --highlight: #FFE45C;
  --highlight-ink: #17202B;
  --finance: #2440A0;
  --technology: #7043a5;
  --energy: #386329;
  --private: #96500e;
  --focus: #2440A0;
  --serif: Georgia, 'Times New Roman', serif;
  --sans: 'Helvetica Neue', Helvetica, Arial, sans-serif;
  --text-xs: .8125rem;
  --text-sm: .875rem;
  --text-body: 1rem;
  --space-1: .5rem;
  --space-2: 1rem;
  --space-3: 1.5rem;
  --space-4: 2rem;
  --space-5: 3rem;
  --space-6: 4rem;
  --space-7: 6rem;
  --max-width: 78rem;
  --gutter: clamp(1.25rem, 4.2vw, 4rem);
  --radius: .15rem;
  --ease: cubic-bezier(.22, 1, .36, 1);
  --duration: 180ms;
}

/* No-script/system theme, plus a manual override when JavaScript is enabled. */
@media (prefers-color-scheme: dark) {
  :root:not([data-theme="light"]) {
    color-scheme: dark;
    --bg: #17202B;
    --surface: #1e2a38;
    --surface-soft: #253345;
    --ink: #f6f4ee;
    --muted: #b7c2d1;
    --line: #3d4b5e;
    --line-strong: #77879c;
    --brand: #FFE45C;
    --brand-ink: #17202B;
    --highlight: #FFE45C;
    --highlight-ink: #17202B;
    --finance: #8bbdff;
    --technology: #c4a0ff;
    --energy: #a1cf7f;
    --private: #f4b470;
    --focus: #FFE45C;
  }
}
:root[data-theme="dark"] {
  color-scheme: dark;
  --bg: #17202B;
  --surface: #1e2a38;
  --surface-soft: #253345;
  --ink: #f6f4ee;
  --muted: #b7c2d1;
  --line: #3d4b5e;
  --line-strong: #77879c;
  --brand: #FFE45C;
  --brand-ink: #17202B;
  --highlight: #FFE45C;
  --highlight-ink: #17202B;
  --finance: #8bbdff;
  --technology: #c4a0ff;
  --energy: #a1cf7f;
  --private: #f4b470;
  --focus: #FFE45C;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: 2rem; }
body { margin: 0; background: var(--bg); color: var(--ink); font-family: var(--sans); font-size: var(--text-body); line-height: 1.6; overflow-wrap: anywhere; -webkit-font-smoothing: antialiased; }
::selection { background: var(--highlight); color: var(--highlight-ink); }
button, input { font: inherit; }
button, a, input { -webkit-tap-highlight-color: transparent; }
button { cursor: pointer; }
button:disabled, input:disabled { cursor: not-allowed; }
a { color: inherit; text-decoration-thickness: 1px; text-underline-offset: .25em; }
button, a { touch-action: manipulation; }
button:focus-visible, a:focus-visible, input:focus-visible { outline: 3px solid var(--focus); outline-offset: 5px; }
main:focus { outline: none; }
svg { width: 1.4rem; height: 1.4rem; fill: none; stroke: currentColor; stroke-width: 1.5; stroke-linecap: round; stroke-linejoin: round; }
h1, h2, h3, p { margin: 0; }
h1, h2, h3 { font-family: var(--serif); font-weight: 400; }
em { font-weight: 400; }
[hidden] { display: none !important; }
.container { width: min(100% - var(--gutter) * 2, var(--max-width)); margin-inline: auto; }
.sr-only { position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0, 0, 0, 0); white-space: nowrap; border: 0; }
.skip-link { position: fixed; top: 1rem; left: 1rem; z-index: 20; padding: .75rem 1rem; background: var(--ink); color: var(--bg); transform: translateY(-200%); }
.skip-link:focus { transform: translateY(0); }
.eyebrow { font-size: var(--text-sm); font-weight: 500; letter-spacing: .07em; line-height: 1.5; text-transform: uppercase; }
.button { min-height: 3rem; display: inline-flex; align-items: center; justify-content: center; padding: .8rem 1.3rem; border: 1px solid transparent; border-radius: var(--radius); font-size: var(--text-sm); font-weight: 500; line-height: 1.5; text-align: center; text-decoration: none; transition: background-color var(--duration), color var(--duration), transform var(--duration); }
.button-primary { color: var(--brand-ink); background: var(--brand); }
.button-primary:hover { transform: translateY(-2px); background: var(--ink); color: var(--bg); }
.icon-button { min-width: 2.75rem; min-height: 2.75rem; padding: .6rem; display: inline-grid; place-items: center; flex-shrink: 0; color: var(--ink); background: transparent; border: 1px solid var(--line); border-radius: 50%; transition: background-color var(--duration), border-color var(--duration); }
.icon-button:hover { background: var(--surface-soft); border-color: var(--line-strong); }
.sector-finance { --sector: var(--finance); }
.sector-technology { --sector: var(--technology); }
.sector-energy { --sector: var(--energy); }
.sector-private { --sector: var(--private); }
.sector-marker { display: inline-block; width: .5rem; height: .5rem; flex-shrink: 0; background: var(--sector); }

/* Shared masthead and navigation. */
.site-header { border-bottom: 1px solid var(--line-strong); }
.edition-bar { padding-block: .8rem; display: flex; justify-content: space-between; gap: .75rem; font-size: var(--text-xs); color: var(--muted); border-bottom: 1px solid var(--line); }
.edition-bar > span:first-child { max-width: 16rem; }
.edition-date { text-align: right; }
.masthead { position: relative; padding-block: 1.3rem; display: flex; align-items: center; justify-content: space-between; gap: .65rem; flex-wrap: wrap; }
.wordmark { min-width: 0; font-family: var(--serif); font-size: clamp(1.8rem, 4vw, 2.45rem); letter-spacing: -.055em; line-height: 1.2; text-decoration: none; }
.wordmark span { display: inline-block; font-style: italic; }
.nav-tools { min-width: 6rem; max-width: 100%; min-height: 2.75rem; display: flex; flex-wrap: wrap; align-items: center; gap: .5rem; }
.primary-nav { display: none; align-items: center; flex-wrap: wrap; gap: .5rem 1.5rem; }
.primary-nav a { padding-block: .65rem; min-height: 2.75rem; font-size: var(--text-sm); font-weight: 500; text-decoration: none; }
.primary-nav a:hover { text-decoration: underline; }
.nav-newsletter { border-bottom: 1px solid var(--ink); }
.js-ready .primary-nav { display: none; }
.js-ready .primary-nav.is-open { display: flex; position: absolute; top: 100%; left: 0; right: 0; z-index: 5; padding: 1rem; background: var(--surface); border: 1px solid var(--line); flex-direction: column; align-items: stretch; }
.theme-toggle .icon-sun { display: none; }
.theme-toggle[aria-pressed="true"] .icon-moon { display: none; }
.theme-toggle[aria-pressed="true"] .icon-sun { display: block; }

/* Hero: typography is the artwork. Animations finish once; nothing loops. */
.hero { padding-block: 3.25rem 3.5rem; display: grid; grid-template-columns: minmax(0, 1fr); gap: 3rem; }
.hero h1 { margin-block: 1.5rem 1.7rem; font-size: clamp(2.75rem, 7.1vw, 6.55rem); line-height: 1.05; letter-spacing: -.055em; }
.hero h1 em { color: var(--ink); }
.hero-description { max-width: 33rem; margin-bottom: 1.75rem; color: var(--muted); line-height: 1.65; }
.hero-note { position: relative; padding: 1.75rem; border: 1px solid var(--line); background: var(--surface-soft); }
.note-label { display: block; margin-bottom: 1.25rem; font-size: var(--text-sm); letter-spacing: .06em; text-transform: uppercase; }
.note-title { font-family: var(--serif); font-size: 2.5rem; line-height: 1.15; letter-spacing: -.035em; }
.note-rule { width: 2.75rem; height: 3px; background: var(--ink); margin-block: 1.6rem; }
.note-copy { color: var(--muted); font-size: var(--text-sm); line-height: 1.7; }
.sector-key { display: grid; gap: .65rem; margin-top: 1.75rem; }
.sector-key-item { padding-left: .8rem; border-left: 3px solid var(--sector); font-size: var(--text-sm); }
@keyframes hero-in { from { opacity: 0; transform: translateY(14px); } to { opacity: 1; transform: translateY(0); } }
@media (prefers-reduced-motion: no-preference) {
  .hero-enter { animation: hero-in 650ms var(--ease) both; }
  .hero h1 { animation-delay: 70ms; }
  .hero-description { animation-delay: 140ms; }
  .hero .button { animation-delay: 210ms; }
  .hero-note { animation-delay: 160ms; }
  .will-reveal { opacity: 0; transform: translateY(14px); transition: opacity 550ms var(--ease), transform 550ms var(--ease); }
  .will-reveal.is-visible { opacity: 1; transform: translateY(0); }
}

/* One pinned slot. This is an empty state, never a simulated article. */
.start-section { padding-bottom: 3.75rem; }
.start-slot { position: relative; display: grid; gap: 2rem; padding: 1.75rem; overflow: hidden; background: var(--highlight); color: var(--highlight-ink); }
.start-label { position: relative; z-index: 1; }
.start-label svg { display: block; margin-bottom: .7rem; }
.start-label h2 { font-family: var(--sans); font-size: var(--text-body); font-weight: 500; }
.start-label > span { display: block; margin-top: .2rem; font-size: var(--text-sm); }
.start-content { position: relative; z-index: 1; }
.slot-state { margin-bottom: .6rem; font-size: var(--text-sm); }
.start-heading { margin-bottom: .65rem; font-family: var(--serif); font-size: clamp(1.6rem, 3vw, 2.4rem); line-height: 1.25; letter-spacing: -.03em; }
.start-content > p:last-child { font-size: var(--text-sm); }
.start-decoration { position: absolute; right: -1rem; top: -4rem; font-family: var(--serif); font-size: 19rem; line-height: 1; opacity: .045; pointer-events: none; }

/* Section headings, sector filter, and editorial empty slots. */
.briefings-section { padding-block: .5rem 4.5rem; scroll-margin-top: 1rem; }
.section-heading { display: flex; justify-content: space-between; align-items: end; gap: 1rem; flex-wrap: wrap; margin-bottom: 1.75rem; }
.section-heading .eyebrow { margin-bottom: .7rem; color: var(--muted); }
.section-heading h2 { font-size: clamp(2rem, 4vw, 3.25rem); line-height: 1.15; letter-spacing: -.04em; }
.section-caption { color: var(--muted); font-size: var(--text-sm); }
.filter-bar { padding-block: 1rem 1.25rem; border-top: 1px solid var(--line-strong); }
.sector-filters { display: flex; flex-wrap: wrap; gap: .5rem; }
.filter-button { min-height: 2.75rem; padding: .65rem .8rem; display: inline-flex; align-items: center; gap: .55rem; color: var(--ink); background: transparent; border: 1px solid var(--line); border-radius: var(--radius); font-size: var(--text-sm); line-height: 1.4; transition: background-color var(--duration), border-color var(--duration); }
.filter-button:hover { background: var(--surface-soft); border-color: var(--line-strong); }
.filter-button.is-active { color: var(--bg); background: var(--ink); border-color: var(--ink); }
.briefing-grid { display: grid; gap: 1rem; }
.briefing-slot { position: relative; min-width: 0; padding: 1.5rem; border: 1px solid var(--line); border-top: 3px solid var(--sector); background: var(--surface); transition: border-color var(--duration), background-color var(--duration); }
.briefing-slot:hover { border-color: var(--sector); background: var(--bg); }
.slot-top { display: flex; align-items: center; justify-content: space-between; flex-wrap: wrap; gap: .5rem 1rem; }
.sector-label { display: inline-flex; align-items: center; gap: .5rem; color: var(--sector); font-size: var(--text-sm); font-weight: 500; }
.slot-label { color: var(--muted); font-size: var(--text-xs); }
.briefing-slot h3 { max-width: 20rem; margin-block: 2.25rem .75rem; font-size: clamp(1.6rem, 2.6vw, 2rem); letter-spacing: -.025em; line-height: 1.25; }
.briefing-slot > p { color: var(--muted); font-size: var(--text-sm); }
.slot-bottom { margin-top: 2.25rem; display: flex; align-items: center; justify-content: space-between; gap: 1rem; color: var(--muted); font-size: var(--text-xs); }
.placeholder-rule { width: 3rem; height: 1px; background: var(--line-strong); }

/* Newsletter is an honest, visibly unavailable form placeholder. */
.newsletter-section { border-block: 1px solid var(--line); background: var(--surface-soft); }
.newsletter-inner { padding-block: 3.5rem; display: grid; gap: 2.25rem; }
.newsletter-copy .eyebrow { margin-bottom: 1.2rem; }
.newsletter-copy h2 { font-size: clamp(2.2rem, 3.8vw, 3.5rem); line-height: 1.15; letter-spacing: -.04em; }
.newsletter-copy > p:last-child { max-width: 28rem; margin-top: 1.25rem; color: var(--muted); }
.newsletter-form { align-self: center; min-width: 0; }
.newsletter-form label { display: block; margin-bottom: .7rem; font-size: var(--text-sm); font-weight: 500; }
.signup-controls { display: flex; flex-direction: column; gap: .65rem; }
.signup-controls input { width: 100%; min-width: 0; min-height: 3.25rem; padding: .8rem 1rem; background: var(--surface); color: var(--ink); border: 1px solid var(--line-strong); border-radius: var(--radius); opacity: 1; }
.signup-controls input::placeholder { color: var(--muted); opacity: 1; }
.button-newsletter { min-height: 3.25rem; background: var(--ink); color: var(--bg); opacity: .75; }
#newsletter-note { margin-top: .85rem; font-size: var(--text-sm); line-height: 1.6; color: var(--muted); }

/* Audio and social. Third-party audio is absent until supplied and requested. */
.roundup-section { padding-block: 4rem; display: grid; gap: 2rem; border-bottom: 1px solid var(--line); }
.roundup-copy .eyebrow { margin-bottom: 1.2rem; color: var(--muted); }
.roundup-copy h2 { font-size: clamp(2.8rem, 4.5vw, 4.25rem); line-height: 1.1; letter-spacing: -.04em; }
.roundup-copy > p:not(.eyebrow) { max-width: 23rem; margin-top: 1.4rem; color: var(--muted); }
.roundup-copy .roundup-due { font-size: var(--text-body); }
.audio-slot { min-width: 0; min-height: 23rem; position: relative; align-self: center; border: 1px solid var(--line); border-radius: var(--radius); background: var(--surface); }
.audio-placeholder { position: relative; min-height: 23rem; padding: 1.75rem; }
.audio-slot-heading { display: flex; align-items: center; gap: .8rem; }
.audio-symbol { width: 1.4rem; height: 1.4rem; display: flex; align-items: center; gap: 3px; }
.audio-symbol span { width: 3px; background: var(--ink); height: 40%; }
.audio-symbol span:nth-child(2), .audio-symbol span:nth-child(4) { height: 70%; }
.audio-symbol span:nth-child(3) { height: 100%; }
.audio-title { margin-top: 1.6rem; padding-right: 2rem; font-family: var(--serif); font-size: clamp(1.8rem, 3vw, 2.7rem); line-height: 1.2; letter-spacing: -.025em; }
.audio-title + p { margin-top: .7rem; color: var(--muted); font-size: var(--text-sm); }
.audio-play { display: grid; place-items: center; width: 3rem; height: 3rem; margin-top: 1.5rem; border: 1px solid var(--line-strong); border-radius: 50%; color: var(--muted); background: transparent; }
.audio-play svg { width: 1.1rem; height: 1.1rem; }
.audio-progress { margin-top: 1.5rem; height: 2px; background: var(--line); }
.audio-empty-note { margin-top: .7rem; font-size: var(--text-sm); color: var(--muted); }
.audio-load { margin-top: 1.5rem; }
.spotify-player { display: block; width: 100%; height: 352px; border: 0; border-radius: var(--radius); }
.social-section { display: grid; gap: 1rem; padding-block: 2.5rem; }
.social-section .eyebrow { color: var(--muted); margin-bottom: .4rem; }
.social-section h2 { font-size: clamp(1.6rem, 2.8vw, 2.2rem); letter-spacing: -.025em; }
.social-link { width: fit-content; display: inline-flex; align-items: center; min-height: 2.75rem; font-size: 1.1rem; }
.social-link:hover { color: var(--muted); }
.social-status { color: var(--muted); font-size: var(--text-sm); }

/* Shared footer; unfinished destinations explain their state in-page. */
.site-footer { border-top: 1px solid var(--line-strong); }
.footer-main { display: grid; gap: 2rem; padding-block: 2.75rem; }
.footer-brand p { margin-top: .9rem; color: var(--muted); font-size: var(--text-sm); }
.footer-nav { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: .25rem 1.5rem; align-content: start; }
.footer-nav a { min-height: 2.75rem; padding-block: .55rem; font-size: var(--text-sm); text-decoration: none; }
.footer-nav a:hover { text-decoration: underline; }
.link-placeholder { display: block; color: var(--muted); font-size: var(--text-xs); overflow-wrap: anywhere; }
.footer-bottom { padding-block: 1.25rem; border-top: 1px solid var(--line); display: flex; justify-content: space-between; flex-wrap: wrap; align-items: center; gap: .5rem 1.5rem; font-size: var(--text-sm); color: var(--muted); }
.footer-bottom a { display: inline-flex; align-items: center; min-height: 2.75rem; }
.site-notice { padding-block: .25rem 1.5rem; color: var(--muted); font-size: var(--text-sm); overflow-wrap: anywhere; }
.noscript-note { padding-block: 1rem; font-size: var(--text-sm); }

@media (min-width: 40rem) {
  .edition-bar > span:first-child { max-width: none; }
  .hero { grid-template-columns: minmax(0, 1fr) minmax(13rem, .48fr); gap: 2.5rem; align-items: center; }
  .hero-note { padding: 1.5rem; }
  .note-title { font-size: 2.7rem; }
  .start-slot { grid-template-columns: 10rem minmax(0, 1fr); gap: 2rem; padding: 2rem; }
  .briefing-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .briefing-slot { padding: 1.75rem; }
  .signup-controls { flex-direction: row; }
  .signup-controls .button { flex-shrink: 0; }
  .roundup-section { grid-template-columns: minmax(0, 1fr) minmax(0, 1.15fr); gap: 2.5rem; }
  .social-section { grid-template-columns: 1fr auto; gap: .25rem 2rem; align-items: center; }
  .social-status { grid-column: 2; text-align: right; }
  .footer-main { grid-template-columns: 1fr 1fr; gap: 3rem; }
}
@media (min-width: 56rem) {
  .primary-nav { display: flex; }
  .js-ready .primary-nav, .js-ready .primary-nav.is-open { position: static; display: flex; padding: 0; background: transparent; border: 0; flex-direction: row; align-items: center; }
  .menu-toggle { display: none; }
  .nav-tools { gap: 2rem; }
  .hero { grid-template-columns: minmax(0, 1fr) minmax(16rem, .38fr); gap: 5rem; padding-block: 4rem 4.5rem; }
  .hero h1 { margin-block: 1.5rem 2rem; }
  .hero-note { margin-top: 1.5rem; padding: 2.25rem; }
  .note-title { font-size: 3.1rem; }
  .start-section { padding-bottom: 5.5rem; }
  .start-slot { padding: 2.5rem 3rem; grid-template-columns: 12rem minmax(0, 1fr); }
  .briefings-section { padding-bottom: 5.5rem; }
  .briefing-grid { gap: 1.25rem; }
  .briefing-slot { padding: 2rem; }
  .newsletter-inner { grid-template-columns: minmax(0, 1.1fr) minmax(0, 1fr); align-items: center; gap: 4rem; padding-block: 4rem; }
  .signup-controls { flex-direction: column; }
  .roundup-section { padding-block: 5.5rem; gap: 5rem; grid-template-columns: 1fr 1.25fr; }
  .audio-placeholder { padding: 2.25rem; }
  .social-section { padding-block: 3.5rem; }
  .footer-main { grid-template-columns: 1fr 1fr; padding-block: 3.5rem 2.5rem; }
  .footer-nav { grid-template-columns: repeat(3, minmax(0, 1fr)); }
}
@media (min-width: 75rem) {
  .signup-controls { flex-direction: row; }
}
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation: none !important; transition: none !important; }
  .will-reveal { opacity: 1; transform: none; }
  .button-primary:hover { transform: none; }
}
@media (forced-colors: active) {
  .sector-marker { background: CanvasText; }
  .filter-button.is-active { outline: 2px solid Highlight; }
}
@media print {
  :root { color-scheme: light; --bg: #fff; --surface: #fff; --surface-soft: #fff; --ink: #000; --muted: #333; --line: #aaa; --line-strong: #777; --highlight: #fff; --highlight-ink: #000; }
  body { background: white; color: black; }
  .nav-tools, .filter-bar, .newsletter-form, .audio-play, .footer-bottom a { display: none; }
  .hero { padding-block: 2rem; }
  .hero h1 { font-size: 3.5rem; }
  [data-reveal] { opacity: 1 !important; transform: none !important; }
  .briefing-slot, .audio-slot, .start-slot { break-inside: avoid; }
}
