/**
 * @file DailyIntelligenceStyles
 * @description Visual system for the CEO 27 daily intelligence static site.
 *
 * @status Responsive static layout is ready.
 * @issues None
 * @todo None
 */

:root {
  color-scheme: light;
  --ink: #111827;
  --muted: #4b5563;
  --soft: #eef2f6;
  --line: #d7dee8;
  --paper: #ffffff;
  --navy: #14213d;
  --teal: #116466;
  --amber: #b7791f;
  --red: #9f1239;
  --shadow: 0 18px 45px rgba(17, 24, 39, 0.1);
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  background: var(--paper);
  color: var(--ink);
  font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  line-height: 1.5;
}

a {
  color: inherit;
  text-decoration: none;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 10;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  padding: 18px clamp(20px, 5vw, 64px);
  background: rgba(255, 255, 255, 0.94);
  border-bottom: 1px solid var(--line);
  backdrop-filter: blur(12px);
}

.brand,
.site-header nav,
.hero__actions,
.story-card__topline,
.site-footer {
  display: flex;
  align-items: center;
}

.brand {
  gap: 10px;
  font-weight: 800;
}

.brand-mark {
  width: 26px;
  height: 26px;
  border: 7px solid var(--navy);
  border-right-color: var(--teal);
  display: inline-block;
}

.site-header nav {
  gap: 18px;
  color: var(--muted);
  font-size: 0.92rem;
  font-weight: 700;
}

.hero {
  display: grid;
  grid-template-columns: minmax(0, 0.95fr) minmax(320px, 0.8fr);
  gap: clamp(32px, 6vw, 72px);
  align-items: center;
  padding: clamp(56px, 8vw, 96px) clamp(20px, 5vw, 64px) 40px;
  background:
    linear-gradient(135deg, rgba(238, 242, 246, 0.92), rgba(255, 255, 255, 1) 56%),
    radial-gradient(circle at top right, rgba(17, 100, 102, 0.18), transparent 32%);
}

.section-label {
  margin: 0 0 12px;
  color: var(--teal);
  font-size: 0.78rem;
  font-weight: 900;
  letter-spacing: 0;
  text-transform: uppercase;
}

h1,
h2,
h3,
p {
  margin-top: 0;
}

h1 {
  max-width: 760px;
  margin-bottom: 22px;
  font-size: clamp(2.8rem, 7vw, 6.4rem);
  line-height: 0.94;
  letter-spacing: 0;
}

h2 {
  margin-bottom: 14px;
  font-size: clamp(1.9rem, 4vw, 3.4rem);
  line-height: 1;
  letter-spacing: 0;
}

h3 {
  margin-bottom: 12px;
  font-size: 1.28rem;
  line-height: 1.15;
}

.hero p,
.briefing-band p,
.approval-grid p {
  max-width: 780px;
  color: var(--muted);
  font-size: 1.08rem;
}

.hero__actions {
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 28px;
}

.button,
.filters button {
  min-height: 44px;
  border: 1px solid var(--line);
  padding: 0 18px;
  font: inherit;
  font-size: 0.93rem;
  font-weight: 800;
  cursor: pointer;
}

.button-primary,
.filters .is-active {
  background: var(--navy);
  color: #ffffff;
  border-color: var(--navy);
}

.button-secondary,
.filters button {
  background: #ffffff;
  color: var(--ink);
}

.signal-visual {
  margin: 0;
  padding: 18px;
  background: var(--navy);
  box-shadow: var(--shadow);
}

.signal-visual svg {
  display: block;
  width: 100%;
  height: auto;
}

.signal-visual rect:first-child {
  fill: #0f1b33;
  stroke: #3d4b66;
  stroke-width: 2;
}

.signal-visual path {
  fill: none;
  stroke: #55c2b8;
  stroke-width: 4;
}

.signal-visual circle,
.signal-bars rect {
  fill: #f3b14b;
}

.signal-visual text {
  fill: #e5edf5;
  font-size: 20px;
  font-weight: 800;
}

.briefing-band,
.filter-section,
.approval-grid {
  padding: clamp(48px, 7vw, 84px) clamp(20px, 5vw, 64px);
}

.briefing-band {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(260px, 360px);
  gap: 28px;
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
  background: #f8fafc;
}

.briefing-band aside {
  padding: 24px;
  background: #ffffff;
  border-left: 6px solid var(--red);
}

.briefing-band aside strong {
  display: block;
  margin-bottom: 10px;
  font-size: 1.05rem;
}

.section-heading {
  display: flex;
  align-items: end;
  justify-content: space-between;
  gap: 24px;
  margin-bottom: 24px;
}

.filters {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-bottom: 28px;
}

.story-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 18px;
}
