/* Civis Wire finished static site */
:root {
  --navy: #0b1f3a;
  --navy-2: #102b50;
  --gold: #c49a3a;
  --bg: #f4f6f8;
  --surface: #ffffff;
  --surface-2: #eef2f6;
  --text: #111827;
  --muted: #5f6b7a;
  --border: #d9e0e8;
  --success: #1f7a4d;
  --danger: #9b1c1c;
  --shadow: 0 14px 40px rgba(11, 31, 58, 0.10);
}

* { box-sizing: border-box; }

body {
  margin: 0;
  font-family: Arial, Helvetica, sans-serif;
  background: var(--bg);
  color: var(--text);
  line-height: 1.55;
}

a { color: inherit; text-decoration: none; }
p { margin-top: 0; }
img { max-width: 100%; }

.topbar {
  background: #071629;
  color: #dbe7f3;
  font-size: 13px;
  padding: 9px 6%;
  display: flex;
  justify-content: space-between;
  gap: 20px;
  flex-wrap: wrap;
}

.topbar a { color: #ffffff; font-weight: 700; }

.site-header {
  background: var(--surface);
  border-bottom: 1px solid var(--border);
  position: sticky;
  top: 0;
  z-index: 20;
}

.header-inner {
  padding: 18px 6%;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
}

.brand {
  display: flex;
  align-items: center;
  gap: 14px;
  min-width: max-content;
}

.mark {
  width: 46px;
  height: 46px;
  border-radius: 8px;
  background: linear-gradient(135deg, var(--navy), var(--navy-2));
  display: grid;
  place-items: center;
  color: white;
  font-weight: 900;
  letter-spacing: -1px;
  border-bottom: 4px solid var(--gold);
}

.brand-title { display: flex; flex-direction: column; }
.brand-title strong { font-size: 25px; letter-spacing: -0.8px; line-height: 1; }
.brand-title span {
  color: var(--muted);
  font-size: 12px;
  letter-spacing: 1.2px;
  text-transform: uppercase;
  margin-top: 5px;
}

nav {
  display: flex;
  align-items: center;
  gap: 22px;
  font-size: 14px;
  font-weight: 700;
  color: #26364a;
}

nav a {
  padding: 8px 0;
  border-bottom: 2px solid transparent;
}

nav a:hover {
  color: var(--navy);
  border-bottom-color: var(--gold);
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: 8px;
  padding: 11px 16px;
  font-weight: 800;
  font-size: 14px;
  border: 1px solid transparent;
  cursor: pointer;
  transition: 0.2s ease;
  text-align: center;
}

.btn-primary { background: var(--navy); color: white; }
.btn-primary:hover { background: #071629; transform: translateY(-1px); }
.btn-secondary { background: white; border-color: var(--border); color: var(--navy); }
.btn-secondary:hover { border-color: var(--gold); transform: translateY(-1px); }

.hero {
  background:
    linear-gradient(110deg, rgba(11,31,58,0.96) 0%, rgba(11,31,58,0.90) 50%, rgba(16,43,80,0.75) 100%),
    radial-gradient(circle at 80% 30%, rgba(196,154,58,0.28), transparent 32%);
  color: white;
  padding: 70px 6% 54px;
}

.hero-grid {
  max-width: 1220px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: 1.25fr 0.75fr;
  gap: 40px;
  align-items: center;
}

.kicker {
  display: inline-flex;
  align-items: center;
  gap: 9px;
  font-size: 13px;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 1.5px;
  color: #f5d58a;
  margin-bottom: 18px;
}

.kicker::before {
  content: "";
  width: 34px;
  height: 2px;
  background: var(--gold);
  display: inline-block;
}

.hero h1 {
  margin: 0;
  font-size: clamp(40px, 6vw, 72px);
  line-height: 0.98;
  letter-spacing: -3px;
  max-width: 900px;
}

.hero p {
  color: #d9e5f2;
  font-size: 19px;
  max-width: 760px;
  margin: 24px 0 28px;
}

.hero-actions { display: flex; flex-wrap: wrap; gap: 13px; }

.hero-card {
  background: rgba(255,255,255,0.09);
  border: 1px solid rgba(255,255,255,0.18);
  border-radius: 18px;
  padding: 24px;
  backdrop-filter: blur(12px);
  box-shadow: var(--shadow);
}

.hero-card h2 { margin: 0 0 13px; font-size: 20px; color: white; }

.status {
  display: flex;
  gap: 12px;
  align-items: flex-start;
  padding: 14px 0;
  border-top: 1px solid rgba(255,255,255,0.15);
}

.status:first-of-type { border-top: 0; padding-top: 0; }

.dot {
  width: 10px;
  height: 10px;
  background: #4ade80;
  border-radius: 50%;
  margin-top: 7px;
  flex: 0 0 auto;
}

.status strong { display: block; font-size: 14px; }
.status span { color: #d9e5f2; font-size: 13px; }

.notice-strip {
  background: white;
  border-bottom: 1px solid var(--border);
}

.notice-inner {
  max-width: 1220px;
  margin: 0 auto;
  padding: 14px 6%;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
  color: #35445a;
  font-size: 14px;
}

.notice-label {
  background: #e8f4ee;
  color: var(--success);
  border: 1px solid #cce8da;
  padding: 6px 10px;
  border-radius: 999px;
  font-weight: 900;
  font-size: 12px;
  text-transform: uppercase;
  letter-spacing: 0.8px;
  white-space: nowrap;
}

.container {
  max-width: 1220px;
  margin: 0 auto;
  padding: 48px 6%;
}

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

.section-head h2 {
  margin: 0;
  font-size: clamp(28px, 4vw, 42px);
  letter-spacing: -1.5px;
  color: var(--navy);
}

.section-head p {
  margin: 8px 0 0;
  color: var(--muted);
  max-width: 680px;
}

.lead-grid {
  display: grid;
  grid-template-columns: 1.35fr 0.65fr;
  gap: 22px;
}

.lead-story,
.news-card,
.panel,
.article-card,
.policy-card,
.form-card {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: 18px;
  box-shadow: var(--shadow);
}

.lead-story { overflow: hidden; }

.story-image {
  min-height: 260px;
  background:
    linear-gradient(135deg, rgba(11,31,58,0.96), rgba(11,31,58,0.72)),
    repeating-linear-gradient(45deg, #dbe3ec 0, #dbe3ec 1px, #eef2f6 1px, #eef2f6 12px);
  display: flex;
  align-items: end;
  padding: 26px;
  color: white;
}

.story-image span {
  display: inline-block;
  border: 1px solid rgba(255,255,255,0.4);
  padding: 8px 12px;
  border-radius: 999px;
  font-size: 12px;
  font-weight: 900;
  letter-spacing: 1px;
  text-transform: uppercase;
}

.story-body, .news-card, .article-card, .policy-card, .panel, .form-card { padding: 24px; }

.meta {
  color: var(--gold);
  font-size: 12px;
  font-weight: 900;
  letter-spacing: 1.2px;
  text-transform: uppercase;
  margin-bottom: 9px;
}

.lead-story h3 {
  font-size: clamp(27px, 4vw, 42px);
  line-height: 1.02;
  margin: 0 0 12px;
  letter-spacing: -1.4px;
}

.news-card h3, .article-card h3 {
  margin: 0 0 9px;
  font-size: 21px;
  line-height: 1.15;
  color: #14243a;
}

.lead-story p, .news-card p, .article-card p, .policy-card p, .panel p {
  color: var(--muted);
}

.side-list { display: grid; gap: 14px; }

.news-card:hover, .article-card:hover {
  transform: translateY(-2px);
  box-shadow: var(--shadow);
}

.article-grid, .policy-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 18px;
}

.pillar-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 16px;
}

.pillar {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: 16px;
  padding: 22px;
  min-height: 210px;
}

.icon {
  width: 42px;
  height: 42px;
  border-radius: 10px;
  background: var(--surface-2);
  display: grid;
  place-items: center;
  color: var(--navy);
  font-weight: 900;
  margin-bottom: 18px;
  border-bottom: 3px solid var(--gold);
}

.pillar h3, .policy-card h3 {
  margin: 0 0 10px;
  color: var(--navy);
  font-size: 20px;
}

.pillar p { color: var(--muted); margin: 0; font-size: 14px; }

.briefing {
  background: var(--navy);
  color: white;
  margin-top: 34px;
}

.briefing .container { padding-top: 60px; padding-bottom: 60px; }
.briefing .section-head h2, .briefing .section-head p { color: white; }

.briefing-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 18px;
}

.briefing-card {
  background: rgba(255,255,255,0.08);
  border: 1px solid rgba(255,255,255,0.15);
  border-radius: 16px;
  padding: 22px;
}

.briefing-card h3 { margin: 0 0 10px; color: white; }
.briefing-card p { color: #d9e5f2; }

.page-hero {
  background: var(--navy);
  color: white;
  padding: 58px 6%;
}

.page-hero-inner {
  max-width: 980px;
  margin: 0 auto;
}

.page-hero h1 {
  margin: 0 0 14px;
  font-size: clamp(38px, 5vw, 60px);
  line-height: 1.02;
  letter-spacing: -2px;
}

.page-hero p {
  color: #d9e5f2;
  font-size: 18px;
  margin: 0;
}

.article-layout {
  max-width: 900px;
  margin: 0 auto;
  padding: 46px 6%;
}

.article-full {
  background: white;
  border: 1px solid var(--border);
  border-radius: 18px;
  box-shadow: var(--shadow);
  padding: clamp(24px, 5vw, 52px);
}

.article-full h1 {
  margin: 0 0 12px;
  color: var(--navy);
  font-size: clamp(34px, 5vw, 56px);
  line-height: 1.02;
  letter-spacing: -2px;
}

.article-full h2 {
  color: var(--navy);
  margin-top: 32px;
}

.article-full p {
  color: #35445a;
  font-size: 18px;
}

.disclosure {
  border-left: 4px solid var(--gold);
  background: #fff8e8;
  padding: 14px 16px;
  border-radius: 8px;
  margin: 24px 0;
  color: #604711;
  font-size: 14px;
}

.tag-list {
  display: flex;
  gap: 8px;
  flex-wrap: wrap;
  margin-top: 16px;
}

.tag {
  background: var(--surface-2);
  color: #314259;
  border: 1px solid var(--border);
  padding: 6px 9px;
  border-radius: 999px;
  font-size: 12px;
  font-weight: 800;
}

.form-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 14px;
}

label {
  font-weight: 800;
  font-size: 13px;
  color: var(--navy);
  display: block;
  margin-bottom: 7px;
}

input, textarea, select {
  width: 100%;
  border: 1px solid var(--border);
  border-radius: 8px;
  padding: 12px 13px;
  font-size: 15px;
  font-family: inherit;
  background: white;
}

textarea { min-height: 150px; resize: vertical; }

.code-output {
  margin-top: 20px;
  background: #071629;
  color: #e6edf3;
  border-radius: 12px;
  padding: 16px;
  overflow-x: auto;
  white-space: pre-wrap;
  font-family: Consolas, Monaco, monospace;
  font-size: 13px;
}

.newsletter {
  background: white;
  border: 1px solid var(--border);
  border-radius: 22px;
  padding: 32px;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 24px;
  align-items: center;
  box-shadow: var(--shadow);
}

.newsletter h2 {
  margin: 0 0 8px;
  color: var(--navy);
  font-size: 32px;
  letter-spacing: -1px;
}

.newsletter p { color: var(--muted); margin: 0; }
.newsletter form { display: flex; gap: 10px; }

footer {
  background: #071629;
  color: #bac7d5;
  margin-top: 46px;
}

.footer-grid {
  max-width: 1220px;
  margin: 0 auto;
  padding: 44px 6%;
  display: grid;
  grid-template-columns: 1.2fr repeat(3, 0.7fr);
  gap: 28px;
}

footer h3, footer strong { color: white; }
footer h3 {
  margin: 0 0 12px;
  font-size: 16px;
  letter-spacing: 0.5px;
  text-transform: uppercase;
}

footer p, footer a {
  color: #bac7d5;
  font-size: 14px;
}

footer a { display: block; margin: 8px 0; }

.bottom {
  border-top: 1px solid rgba(255,255,255,0.1);
  padding: 18px 6%;
  max-width: 1220px;
  margin: 0 auto;
  display: flex;
  justify-content: space-between;
  gap: 14px;
  flex-wrap: wrap;
  color: #8ea0b4;
  font-size: 13px;
}

@media (max-width: 980px) {
  nav { display: none; }
  .hero-grid, .lead-grid, .newsletter { grid-template-columns: 1fr; }
  .pillar-grid, .briefing-grid, .footer-grid, .article-grid, .policy-grid { grid-template-columns: repeat(2, 1fr); }
}

@media (max-width: 640px) {
  .header-inner { padding: 14px 5%; }
  .brand-title strong { font-size: 22px; }
  .hero { padding: 52px 5% 42px; }
  .container { padding: 36px 5%; }
  .pillar-grid, .briefing-grid, .footer-grid, .article-grid, .policy-grid, .form-grid { grid-template-columns: 1fr; }
  .notice-inner { align-items: flex-start; flex-direction: column; }
  .newsletter form { flex-direction: column; }
  .hero h1 { letter-spacing: -2px; }
}
