:root {
  --ink: #17243c;
  --ink-soft: #3b4659;
  --paper: #f4f5f2;
  --white: #ffffff;
  --brick: #b74422;
  --brick-dark: #8f3117;
  --amber: #f4b63e;
  --blue: #2a5d84;
  --green: #23765c;
  --line: #d9ddd8;
  --shadow: 0 18px 45px rgba(23, 36, 60, 0.10);
}

html {
  scroll-behavior: smooth;
  background: var(--paper);
}

body {
  color: var(--ink);
  background:
    radial-gradient(circle at 85% 2%, rgba(244, 182, 62, 0.18), transparent 24rem),
    var(--paper);
  font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  font-size: 1.05rem;
  line-height: 1.65;
}

a { color: var(--blue); }

.title,
.content h1,
.content h2,
.content h3 { color: var(--ink); letter-spacing: -0.025em; }

.button {
  border-radius: 0.55rem;
  font-weight: 750;
  min-height: 2.8rem;
}

.button.is-primary {
  background: var(--brick);
  border-color: var(--brick);
}

.button.is-primary:hover,
.button.is-primary:focus {
  background: var(--brick-dark);
  border-color: var(--brick-dark);
}

.button:focus-visible,
a:focus-visible,
button:focus-visible,
summary:focus-visible {
  outline: 3px solid var(--amber);
  outline-offset: 3px;
}

.briefing-nav {
  position: sticky;
  top: 0;
  z-index: 30;
  border-bottom: 1px solid rgba(23, 36, 60, 0.1);
  color: var(--ink) !important;
  background: var(--white) !important;
  box-shadow: 0 8px 30px rgba(23, 36, 60, 0.05);
}

.brand-lockup { gap: 0.65rem; color: var(--ink) !important; background: var(--white) !important; }

.brand-mark {
  display: grid;
  width: 2.35rem;
  height: 2.35rem;
  place-items: center;
  border-radius: 0.45rem;
  color: var(--white);
  background: var(--brick);
  font-weight: 900;
  letter-spacing: -0.05em;
}

.brand-copy {
  display: flex;
  flex-direction: column;
  color: var(--ink) !important;
  font-weight: 850;
  line-height: 1.1;
}

.brand-copy small {
  margin-top: 0.24rem;
  color: #687184;
  font-size: 0.72rem;
  font-weight: 650;
}

.briefing-nav .navbar-menu,
.briefing-nav .navbar-item { color: var(--ink) !important; background: var(--white) !important; }
.briefing-nav .navbar-item { font-weight: 700; }
.briefing-nav .navbar-item:hover,
.briefing-nav .navbar-item:focus { color: var(--brick) !important; background: #f3f5f4 !important; }
.briefing-nav .navbar-burger { color: var(--ink) !important; }
.nav-cta { color: var(--white) !important; }
.briefing-nav .navbar-item .nav-cta { color: var(--white) !important; background: var(--brick) !important; }

.section { padding: 5rem 1.5rem; }

.intro-section {
  padding-top: 5.5rem;
  padding-bottom: 2.5rem;
}

.eyebrow {
  margin-bottom: 0.8rem;
  color: var(--brick);
  font-size: 0.78rem;
  font-weight: 900;
  letter-spacing: 0.13em;
}

.intro-section .title.is-1 {
  max-width: 13ch;
  margin-bottom: 1.4rem;
  font-size: clamp(2.55rem, 8vw, 5rem);
  line-height: 0.98;
}

.intro-lead {
  max-width: 44rem;
  color: var(--ink-soft);
  font-size: 1.25rem;
  line-height: 1.55;
}

.intro-actions { margin-top: 2rem; }

.deadline-card {
  position: relative;
  display: flex;
  min-height: 20rem;
  flex-direction: column;
  justify-content: flex-end;
  padding: 2.2rem;
  overflow: hidden;
  border-radius: 1.2rem;
  color: var(--white);
  background: var(--ink);
  box-shadow: var(--shadow);
}

.deadline-card::before {
  position: absolute;
  top: -3rem;
  right: -2rem;
  width: 11rem;
  height: 11rem;
  border: 2.3rem solid var(--brick);
  border-radius: 50%;
  content: "";
  opacity: 0.9;
}

.deadline-card:hover { color: var(--white); transform: translateY(-2px); }
.deadline-card > * { position: relative; }
.deadline-card strong { max-width: 9ch; font-size: 2.25rem; line-height: 1.05; }
.deadline-card > span:not(.deadline-label) { margin: 0.45rem 0 0.9rem; font-size: 1.45rem; font-weight: 800; }
.deadline-card small { color: #d8deea; }
.deadline-label { margin-bottom: 0.85rem; color: var(--amber); font-size: 0.75rem; font-weight: 900; letter-spacing: 0.12em; }
.deadline-countdown { align-self: flex-start; margin: 0 0 0.9rem; padding: 0.45rem 0.7rem; border: 1px solid rgba(255,255,255,0.25); border-radius: 0.45rem; color: var(--ink); background: var(--amber); font-size: 0.85rem; font-weight: 900; }

.key-message {
  margin-top: 2rem;
  border-left: 6px solid var(--amber);
  color: var(--ink);
  background: #fff8e7;
  font-size: 1.08rem;
}

.glance-section { padding-top: 2.5rem; }
.compact-heading { max-width: 42rem; }

.section-heading { max-width: 48rem; margin-bottom: 2.6rem; }
.section-heading .title { margin-bottom: 1rem; }
.section-heading > p:last-child { color: var(--ink-soft); font-size: 1.08rem; }

.glance-grid {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 0.8rem;
  margin-top: 2rem;
}

.stat-card {
  min-height: 8rem;
  padding: 1.25rem;
  border-top: 4px solid var(--brick);
  border-radius: 0.65rem;
  background: var(--white);
  box-shadow: 0 8px 22px rgba(23, 36, 60, 0.06);
}

.stat-card strong { display: block; color: var(--ink); font-size: 1.35rem; line-height: 1.15; }
.stat-card span { display: block; margin-top: 0.55rem; color: #687184; font-size: 0.9rem; line-height: 1.3; }

.concern-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 1.1rem;
}

.concern-card {
  padding: 1.6rem;
  border: 1px solid var(--line);
  border-radius: 0.8rem;
  background: rgba(255,255,255,0.82);
}

.concern-top { display: flex; align-items: flex-start; justify-content: space-between; gap: 1rem; }
.concern-top .title { margin-bottom: 0.75rem; }
.strength-tag { flex: 0 0 auto; padding: 0.28rem 0.55rem; border-radius: 999px; font-size: 0.72rem; font-weight: 850; }
.strength-strong { color: #fff; background: var(--green); }
.strength-medium-high { color: #fff; background: var(--blue); }
.strength-medium { color: #573e00; background: #f7d986; }
.concern-card > p { color: var(--ink-soft); }
.concern-ask { margin-top: 1rem; padding-top: 1rem; border-top: 1px solid var(--line); }
.concern-ask strong { color: var(--ink); }

.caution-callout { margin-top: 1.2rem; border-left: 5px solid var(--amber); color: var(--ink); background: #fff7dd; }

.case-section { color: #dce3ed; background: var(--ink); }
.light-heading .title { color: var(--white); }
.light-heading .eyebrow { color: var(--amber); }
.case-callout { height: 100%; padding: 1.8rem; border: 1px solid rgba(255,255,255,0.16); border-radius: 0.8rem; background: rgba(255,255,255,0.05); }
.case-callout .title { color: var(--white); }
.case-number { display: block; margin-bottom: 2rem; color: var(--amber); font-size: 0.82rem; font-weight: 900; }

.evidence-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 1.4rem; }
.evidence-purpose { margin-bottom: 1.4rem; border-left: 5px solid var(--blue); color: var(--ink); background: #eef5f8; }
.evidence-card { overflow: hidden; border: 1px solid var(--line); border-radius: 0.9rem; box-shadow: var(--shadow); }
.evidence-card .card-content { color: var(--ink); background: var(--white); }
.evidence-image-button { position: relative; width: 100%; padding: 0; overflow: hidden; border: 0; background: #e6e8e5; cursor: zoom-in; }
.evidence-image-button img { display: block; width: 100%; aspect-ratio: 1.414 / 1; object-fit: cover; transition: transform 180ms ease; }
.evidence-image-button:hover img { transform: scale(1.025); }
.zoom-label { position: absolute; right: 0.8rem; bottom: 0.8rem; padding: 0.35rem 0.6rem; border-radius: 0.35rem; color: #fff; background: rgba(23,36,60,0.88); font-size: 0.75rem; font-weight: 800; }
.evidence-meta { margin-bottom: 0.55rem; color: var(--brick); font-size: 0.72rem; font-weight: 900; letter-spacing: 0.1em; }
.evidence-card .title { margin-bottom: 0.8rem; color: #111c31 !important; }
.evidence-point { color: #364154; }
.evidence-point + .evidence-point { margin-top: 0.7rem; }
.evidence-point strong { color: #111c31; }
.evidence-question { margin-top: 1rem; padding: 1rem; border-left: 4px solid var(--amber); color: var(--ink); background: #fff7df; }
.evidence-question strong { display: block; margin-bottom: 0.25rem; color: #684900; font-size: 0.75rem; letter-spacing: 0.08em; text-transform: uppercase; }
.evidence-links { display: flex; flex-wrap: wrap; gap: 0.5rem; margin-top: 1.3rem; }
.source-note { margin-top: 1.2rem; color: #6e7787; font-size: 0.88rem; }

.roles-section { background: var(--white); }
.roles-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 1rem; }
.role-card { display: flex; min-height: 14rem; flex-direction: column; padding: 1.4rem; border: 1px solid var(--line); border-top: 5px solid var(--blue); border-radius: 0.75rem; background: var(--paper); }
.role-card h3 { margin-bottom: 0.65rem; color: var(--ink); font-size: 1.1rem; font-weight: 900; }
.role-card > p { color: #535e70; }
.role-output { margin-top: auto; padding-top: 1rem; color: var(--ink); font-size: 0.9rem; }
.roles-note { margin-top: 1.2rem; border-left: 5px solid var(--green); color: var(--ink); background: #edf7f2; }

.action-section { background: #e7e9e5; }
.action-list { --timeline-x: 6rem; position: relative; }
.action-list::before { position: absolute; top: 1rem; bottom: 1rem; left: var(--timeline-x); width: 2px; background: #c3c9c3; content: ""; }
.action-item { position: relative; display: grid; grid-template-columns: 8rem 1fr; gap: 1.4rem; padding: 0.75rem 0; }
.action-date { position: relative; display: flex; align-items: flex-start; justify-content: flex-end; padding-top: 1.2rem; padding-right: 1.5rem; }
.action-date::after { position: absolute; top: 1.55rem; right: 2rem; width: 0.85rem; height: 0.85rem; border: 3px solid #e7e9e5; border-radius: 50%; background: var(--blue); content: ""; transform: translateX(50%); }
.action-urgent .action-date::after { background: var(--brick); }
.action-date span { margin-right: 1.1rem; color: var(--ink); font-size: 0.82rem; font-weight: 900; white-space: nowrap; }
.action-content { padding: 1.2rem 1.4rem; border-radius: 0.65rem; background: var(--white); }
.action-content h3 { margin: 0.25rem 0; color: var(--ink); font-size: 1.05rem; font-weight: 800; }
.action-content p:last-child { color: #687184; font-size: 0.92rem; }
.action-owner { color: var(--brick); font-size: 0.75rem; font-weight: 900; letter-spacing: 0.08em; text-transform: uppercase; }
.deadline-note { margin-top: 1.3rem; border-left: 5px solid var(--brick); color: var(--ink); background: #fff; }

.submission-section { background: var(--white); }
.submission-lead { color: var(--ink-soft); font-size: 1.15rem; }
.plain-callout { margin-top: 1.5rem; border-left: 5px solid var(--blue); color: var(--ink); background: #eef5f8; }
.guide-steps { display: grid; gap: 0.8rem; }
.guide-step { display: grid; grid-template-columns: 2.7rem 1fr; gap: 1rem; padding: 1rem; border: 1px solid var(--line); border-radius: 0.65rem; }
.guide-number { display: grid; width: 2.3rem; height: 2.3rem; place-items: center; border-radius: 50%; color: #fff; background: var(--ink); font-weight: 900; }
.guide-step h3 { margin-bottom: 0.15rem; font-weight: 850; }
.guide-step p { color: #687184; font-size: 0.94rem; }
.builder-shell { display: grid; gap: 1.2rem; margin-top: 2rem; }
.builder-step { min-width: 0; padding: 1.5rem; border: 1px solid var(--line); border-radius: 0.8rem; background: var(--paper); }
.builder-step > h3,
.builder-output h3 { display: flex; align-items: center; gap: 0.75rem; margin: 0; color: var(--ink); font-size: 1.15rem; font-weight: 900; line-height: 1.35; }
.builder-step-number { display: inline-grid; width: 2rem; height: 2rem; flex: 0 0 2rem; place-items: center; border-radius: 50%; color: #fff; background: var(--ink); font-size: 0.85rem; }
.builder-help { margin: 0.5rem 0 1.15rem; color: #5c6678; }
.issue-picker-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 0.75rem; }
.issue-picker-card { position: relative; display: grid; grid-template-columns: 2rem 1fr; gap: 0.75rem; padding: 1rem; border: 2px solid var(--line); border-radius: 0.65rem; color: var(--ink); background: var(--white); cursor: pointer; }
.issue-picker-card:hover { border-color: #94a0ae; }
.issue-choice { position: absolute; width: 1px; height: 1px; opacity: 0; }
.issue-check { display: grid; width: 1.8rem; height: 1.8rem; place-items: center; border: 2px solid #a5adb8; border-radius: 0.38rem; color: transparent; background: #fff; font-weight: 900; }
.issue-choice:checked + .issue-check { border-color: var(--green); color: #fff; background: var(--green); }
.issue-choice:focus-visible + .issue-check { outline: 3px solid var(--amber); outline-offset: 3px; }
.issue-picker-card:has(.issue-choice:checked) { border-color: var(--green); background: #f0f8f4; }
.issue-copy { display: flex; flex-direction: column; }
.issue-copy strong { color: #111c31 !important; line-height: 1.3; }
.issue-copy small { margin-top: 0.35rem; color: #465164 !important; line-height: 1.4; }
.builder-step .field + .field { margin-top: 1.25rem; }
.builder-step .label { color: var(--ink); }
.builder-step .input,
.builder-step .textarea { color: var(--ink); background: #fff; font-size: 1rem; }
.draft-output { min-height: 28rem; padding: 1rem; font-family: inherit; line-height: 1.55; }
.template-actions { display: flex; flex-wrap: wrap; align-items: center; gap: 0.6rem; margin-top: 1.25rem; }
.copy-status { color: var(--green); font-size: 0.9rem; font-weight: 800; }

.avoid-section { background: #eceeea; }
.language-card { height: 100%; padding: 2rem; border-radius: 0.85rem; background: #fff; }
.language-avoid { border-top: 6px solid var(--brick); }
.language-use { border-top: 6px solid var(--green); }
.language-label { display: block; margin-bottom: 1rem; color: #687184; font-size: 0.75rem; font-weight: 900; letter-spacing: 0.12em; }
.language-card ul { margin-left: 1.2rem; list-style: disc; }
.language-card li + li { margin-top: 0.5rem; }
.language-card blockquote { margin-bottom: 1rem; color: var(--ink); font-size: 1.18rem; font-weight: 750; line-height: 1.5; }

.outcome-section { background: var(--brick); }
.outcome-box { max-width: 52rem; color: #fff; }
.outcome-box .eyebrow { color: #ffd77b; }
.outcome-box .title { color: #fff; }
.outcome-box > p:not(.eyebrow) { font-size: 1.15rem; }
.outcome-box .buttons { margin-top: 2rem; }
.outcome-box .button.is-primary { color: var(--brick); background: #fff; border-color: #fff; }

.briefing-footer { padding: 4rem 1.5rem; color: #cbd2de; background: #101a2c; }
.briefing-footer .title { color: #fff; }
.briefing-footer a { color: #ffd77b; text-decoration: underline; text-underline-offset: 0.2rem; }
.briefing-footer hr { background: rgba(255,255,255,0.15); }
.privacy-note { font-size: 0.88rem; }

.evidence-modal-card { width: min(94vw, 1100px); }
.modal-card-head { padding: 1rem 1.2rem; }
.modal-card-title { color: var(--ink); font-size: 1rem; font-weight: 850; }
.modal-card-body { padding: 0.75rem; text-align: center; }
.modal-card-body img { display: block; max-width: 100%; margin: 0 auto; }
.modal-hint { margin-top: 0.7rem; color: #687184; font-size: 0.86rem; }

@media (max-width: 1023px) {
  .navbar-menu { padding: 0.75rem; }
  .nav-cta { width: 100%; }
  .glance-grid { grid-template-columns: repeat(3, 1fr); }
}

@media (max-width: 768px) {
  body { font-size: 1rem; }
  .section { padding: 3.6rem 1.1rem; }
  .intro-section { padding-top: 3.4rem; }
  .intro-section .title.is-1 { font-size: clamp(2.55rem, 13vw, 4rem); }
  .intro-lead { font-size: 1.08rem; }
  .deadline-card { min-height: 15rem; margin-top: 1rem; padding: 1.6rem; }
  .deadline-card strong { font-size: 1.85rem; }
  .glance-grid { grid-template-columns: repeat(2, 1fr); }
  .stat-card:last-child { grid-column: 1 / -1; }
  .concern-grid,
  .evidence-grid { grid-template-columns: 1fr; }
  .roles-grid { grid-template-columns: 1fr; }
  .role-card { min-height: auto; }
  .concern-top { display: block; }
  .strength-tag { display: inline-block; margin-bottom: 0.8rem; }
  .evidence-image-button img { aspect-ratio: 4 / 3; }
  .action-list::before { left: 0.42rem; }
  .action-item { grid-template-columns: 1fr; gap: 0; padding-left: 1.6rem; }
  .action-date { justify-content: flex-start; padding: 0 0 0.3rem; }
  .action-date::after { top: 0.34rem; right: auto; left: -1.58rem; transform: none; }
  .action-date span { margin: 0; }
  .action-content { padding: 1.1rem; }
  .language-card { padding: 1.4rem; }
  .template-actions .button { width: 100%; }
  .copy-status { width: 100%; text-align: center; }
  .builder-step { padding: 1.1rem; }
  .issue-picker-grid { grid-template-columns: 1fr; }
}

@media print {
  body { background: #fff; color: #000; font-size: 10.5pt; }
  .briefing-nav,
  .intro-actions,
  .evidence-links,
  .zoom-label,
  .outcome-box .buttons,
  .modal { display: none !important; }
  .section { padding: 1.2rem 0; break-inside: avoid; }
  .intro-section .title.is-1 { font-size: 34pt; }
  .deadline-card,
  .case-section,
  .outcome-section,
  .briefing-footer { color: #000; background: #fff; box-shadow: none; }
  .deadline-card { min-height: auto; border: 2px solid #000; }
  .deadline-card strong,
  .deadline-card small,
  .case-callout,
  .case-callout .title,
  .outcome-box,
  .outcome-box .title,
  .briefing-footer,
  .briefing-footer .title { color: #000; }
  .concern-grid,
  .evidence-grid { gap: 0.6rem; }
  .evidence-image-button img { max-height: 9cm; object-fit: contain; }
  .action-list::before { display: none; }
  .action-item { break-inside: avoid; }
  a { color: #000; text-decoration: none; }
}
