/* whatiscongressdoing.org — Design D ("Common Ground, neutral") in the Morning Briefing palette */
:root {
  --page: #F8F5EE;
  --surface: #FFFFFF;
  --ink: #1F2A28;
  --muted: #4D5653;
  --muted-2: #6B7470;
  --line: #E3DED3;
  --line-2: #D9D4C8;
  --forest: #1E3A34;
  --forest-2: #2B4C44;
  --primary: #1E6B5B;
  --primary-dark: #17574A;
  --gold: #C9A24A;
  --mint: #E8F0EB;
  --mint-line: #C5D6CC;
  --gold-tint: #FBF1D6;
  --gold-ink: #7A5A12;
  --sand: #F1EDE3;
  --on-dark: #E6EFEA;
  --display: 'Bricolage Grotesque', system-ui, sans-serif;
  --body: Figtree, 'Segoe UI', system-ui, sans-serif;
  --shadow: 0 1px 2px rgba(31, 42, 40, 0.05);
  --shadow-lg: 0 1px 2px rgba(31, 42, 40, 0.06), 0 24px 60px rgba(31, 42, 40, 0.12);
}
* { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } }
body { margin: 0; background: var(--page); color: var(--ink); font-family: var(--body); font-size: 16px; line-height: 1.5; }
h1, h2, h3, p { margin: 0; }
a { color: var(--ink); }
a:hover { color: var(--primary); }
.dk a { color: var(--on-dark); }
.dk a:hover { color: #FFFFFF; }
:focus-visible { outline: 3px solid var(--gold); outline-offset: 2px; }
.sr-only { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.wrap { max-width: 1240px; margin: 0 auto; padding: 0 32px; }
@media (max-width: 600px) { .wrap { padding: 0 20px; } }
.display { font-family: var(--display); }
.blob { position: absolute; border-radius: 50%; pointer-events: none; }

/* nav */
.nav { display: flex; flex-wrap: wrap; gap: 16px 28px; align-items: center; justify-content: space-between; padding: 24px 0; position: relative; }
.brand { display: flex; align-items: center; gap: 12px; text-decoration: none; }
.brand span { font-family: var(--display); font-weight: 700; font-size: 20px; letter-spacing: -0.01em; }
.nav-links { display: flex; flex-wrap: wrap; gap: 8px 26px; font-size: 16px; font-weight: 500; }
.nav-links a, .nav-cta a { text-decoration: none; }
.nav-cta { display: flex; gap: 10px; align-items: center; }
.btn-dark { font-weight: 600; font-size: 16px; padding: 12px 22px; border-radius: 999px; background: var(--forest); color: #FFFFFF !important; }
.btn-dark:hover { background: var(--forest-2); }
@media (max-width: 900px) { .nav-links { display: none; } }

/* hero */
.hero { position: relative; overflow: hidden; }
.hero-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(500px, 100%), 1fr)); gap: 56px; align-items: center; padding: 64px 0 120px; position: relative; }
.badge { align-self: flex-start; display: inline-flex; align-items: center; gap: 10px; padding: 8px 16px 8px 10px; border-radius: 999px; background: var(--surface); box-shadow: var(--shadow); font-size: 14px; font-weight: 600; color: var(--muted); }
.badge b { padding: 3px 10px; border-radius: 999px; background: var(--mint); color: var(--primary); }
h1.hero-title { font-family: var(--display); font-weight: 800; font-size: clamp(52px, 7.4vw, 104px); line-height: 0.96; letter-spacing: -0.035em; text-wrap: balance; }
h1.hero-title em { font-style: normal; color: var(--primary); }
.hero-lede { font-size: 21px; line-height: 1.55; color: var(--muted); max-width: 30em; text-wrap: pretty; }
.addr-form { display: flex; flex-wrap: wrap; gap: 8px; padding: 8px; background: var(--surface); border-radius: 32px; box-shadow: var(--shadow-lg); max-width: 600px; }
.addr-form input { flex: 1 1 220px; min-width: 0; height: 56px; border: 0; padding: 0 22px; font: inherit; font-size: 17px; color: var(--ink); background: transparent; border-radius: 999px; outline: none; }
.addr-form input::placeholder { color: var(--muted-2); }
.addr-form button { flex: 0 0 auto; height: 56px; padding: 0 28px; border: 0; border-radius: 999px; background: var(--primary); color: #FFFFFF; font: inherit; font-weight: 700; font-size: 17px; cursor: pointer; }
.addr-form button:hover { background: var(--primary-dark); }
.addr-form.on-color button { background: var(--forest); }
.hero-meta { display: flex; flex-wrap: wrap; gap: 18px; align-items: center; font-size: 15px; color: var(--muted-2); }
.hero-meta a { display: inline-flex; align-items: center; gap: 8px; padding: 10px 0; font-weight: 600; color: var(--ink); text-decoration: none; }
.convo { position: relative; display: flex; flex-direction: column; gap: 16px; max-width: 520px; justify-self: end; width: 100%; }
.bubble-q { align-self: flex-end; max-width: 82%; padding: 16px 20px; border-radius: 24px 24px 6px 24px; background: var(--forest); color: #FFFFFF; font-size: 17px; line-height: 1.45; }
.answer { background: var(--surface); border-radius: 28px; padding: 24px; box-shadow: var(--shadow-lg); display: flex; flex-direction: column; gap: 18px; }
.chip { display: inline-flex; align-items: center; gap: 8px; padding: 6px 12px; border-radius: 999px; background: var(--sand); font-size: 14px; font-weight: 600; color: var(--muted); }
.chip.mint { background: var(--mint); color: var(--primary); }
.meaning { margin-left: 32px; background: var(--gold-tint); border-radius: 24px; padding: 20px 22px; display: flex; flex-direction: column; gap: 10px; }
.label { font-size: 13px; font-weight: 700; letter-spacing: 0.06em; text-transform: uppercase; }

/* sections */
section.block { padding: 112px 0; }
.kicker { font-size: 15px; font-weight: 700; color: var(--primary); }
h2.big { font-family: var(--display); font-weight: 800; font-size: clamp(38px, 4.6vw, 60px); line-height: 1.02; letter-spacing: -0.03em; text-wrap: balance; }
.section-lede { font-size: 19px; line-height: 1.6; color: var(--muted); max-width: 30em; }
.cards4 { margin-top: 48px; display: grid; grid-template-columns: repeat(auto-fit, minmax(min(250px, 100%), 1fr)); gap: 20px; }
.card { background: var(--surface); border-radius: 28px; padding: 28px; display: flex; flex-direction: column; gap: 14px; box-shadow: var(--shadow); }
.card h3 { font-family: var(--display); font-weight: 700; font-size: 24px; letter-spacing: -0.01em; }
.card p { font-size: 16px; line-height: 1.55; color: var(--muted); }
.card.dark { background: var(--forest); color: var(--on-dark); box-shadow: none; }
.card.dark h3 { color: #FFFFFF; }
.card.dark p { color: var(--mint-line); }
.icon-tile { width: 52px; height: 52px; border-radius: 18px; display: flex; align-items: center; justify-content: center; }
.two-col { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(460px, 100%), 1fr)); gap: 64px; align-items: center; }
.example { background: var(--page); border-radius: 32px; padding: 32px; display: flex; flex-direction: column; gap: 22px; }
.mini { background: var(--surface); border-radius: 20px; padding: 18px; display: flex; flex-direction: column; gap: 6px; }
.journey { display: flex; align-items: center; }
.journey .d { width: 18px; height: 18px; border-radius: 50%; background: var(--primary); flex: 0 0 auto; }
.journey .s { flex: 1; height: 4px; background: var(--primary); }
.journey-labels { display: grid; grid-template-columns: repeat(6, minmax(0, 1fr)); font-size: 13px; color: var(--muted); }
.journey-labels span:last-child { text-align: right; font-weight: 700; color: var(--primary); }
.more { align-self: flex-start; display: inline-flex; align-items: center; gap: 10px; padding: 14px 0; font-weight: 700; font-size: 17px; color: var(--primary); }

/* common ground */
.cg { background: var(--forest); color: var(--on-dark); position: relative; overflow: hidden; }
.cg h2 { color: #FFFFFF; }
.cg .kicker { color: var(--gold); }
.cg .section-lede { color: var(--mint-line); }
.cg-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(320px, 100%), 1fr)); gap: 16px; }
.cg-card { background: var(--surface); color: var(--ink); border-radius: 24px; padding: 24px; display: flex; flex-direction: column; gap: 14px; text-decoration: none; }
.dk a.cg-card, .dk a.cg-card:hover { color: var(--ink); }
a.cg-card:hover { box-shadow: 0 18px 40px rgba(0,0,0,0.25); }
.cg-card .t { font-family: var(--display); font-weight: 700; font-size: 21px; line-height: 1.25; }
.bar { display: flex; height: 10px; border-radius: 999px; overflow: hidden; gap: 3px; }
.bar .y { background: var(--primary); } .bar .r { background: var(--gold); } .bar .o { background: var(--line); }

/* trust */
.trust-item { display: flex; gap: 16px; align-items: flex-start; background: var(--surface); border-radius: 22px; padding: 22px; font-size: 16px; line-height: 1.5; }

/* final cta */
.final { max-width: 1240px; margin: 0 auto; background: var(--primary); color: #FFFFFF; border-radius: 40px; padding: clamp(40px, 7vw, 96px); position: relative; overflow: hidden; }
.final h2 { color: #FFFFFF; }

/* footer */
footer { border-top: 1px solid var(--line); }
.foot { padding: 48px 0; display: flex; flex-wrap: wrap; justify-content: space-between; gap: 28px; font-size: 15px; color: var(--muted); }
.foot-links { display: flex; flex-wrap: wrap; gap: 12px 26px; }

/* prose pages */
.prose { max-width: 760px; margin: 0 auto; padding: 48px 32px 112px; }
.prose h1 { font-family: var(--display); font-weight: 800; font-size: clamp(40px, 5vw, 64px); line-height: 1.02; letter-spacing: -0.03em; margin-bottom: 18px; }
.prose h2 { font-family: var(--display); font-weight: 700; font-size: 26px; letter-spacing: -0.015em; margin: 40px 0 12px; }
.prose p, .prose li { font-size: 18px; line-height: 1.65; color: #2E3936; }
.prose p + p { margin-top: 14px; }
.prose ul { padding-left: 22px; display: flex; flex-direction: column; gap: 8px; margin: 12px 0; }
.prose .updated { color: var(--muted-2); font-size: 15px; }
.source { background: var(--surface); border-radius: 22px; padding: 22px 24px; margin-top: 14px; }
.source b { font-size: 18px; }
.source p { font-size: 16px; margin-top: 6px; }
