:root {
  font-size: 16px;
  font-family: "Segoe UI", "Helvetica Neue", Arial, sans-serif;
  color-scheme: light dark;
}

a {
  color: #0a4b7a;
  text-decoration: underline;
}

body {
  margin: 0;
  padding: 0;
  min-height: 100vh;
  background: radial-gradient(circle at top, #fdfdf9 0%, #f5f0e5 45%, #e3ddd0 100%);
  color: #1a1a1a;
  display: flex;
  align-items: center;
  justify-content: center;
  text-rendering: optimizeLegibility;
}

.page {
  width: min(960px, 92vw);
  background: #ffffff;
  border-radius: 18px;
  box-shadow: 0 25px 70px rgba(0, 0, 0, 0.15);
  overflow: hidden;
}

.gov-header {
  display: flex;
  align-items: center;
  gap: 1.5rem;
  padding: 1.5rem 2rem;
  background: linear-gradient(120deg, #042b53, #073c6f);
  color: #ffffff;
}

.crest {
  width: 64px;
  height: 64px;
  border: 2px solid rgba(255, 255, 255, 0.65);
  border-radius: 12px;
  position: relative;
  flex-shrink: 0;
  display: inline-flex;
  text-decoration: none;
}

.crest::before,
.crest::after {
  content: "";
  position: absolute;
  top: 16px;
  bottom: 16px;
  left: 50%;
  width: 2px;
  background: rgba(255, 255, 255, 0.65);
}

.crest::after {
  transform: rotate(90deg);
  left: 16px;
  right: 16px;
  width: auto;
  height: 2px;
}

.crest-insignia {
  position: absolute;
  inset: 8px;
  border-radius: 8px;
  border: 1px solid rgba(255, 255, 255, 0.4);
}

.header-text p {
  text-transform: uppercase;
  letter-spacing: 0.2em;
  font-size: 0.75rem;
  margin: 0;
  color: rgba(255, 255, 255, 0.8);
}

.header-text h1 {
  margin: 0.15rem 0 0;
  font-size: clamp(1.75rem, 3vw, 2.25rem);
}

.gov-badge {
  margin-left: auto;
  border: 1px solid rgba(255, 255, 255, 0.35);
  border-radius: 999px;
  padding: 0.4rem 1.2rem;
  font-size: 0.85rem;
  text-transform: uppercase;
  letter-spacing: 0.12em;
  color: #ffffff;
  text-decoration: none;
}

main {
  padding: 2.5rem 2.5rem 2rem;
  background: #fefefe;
}

.hero {
  border-left: 4px solid #204a87;
  padding-left: 1.5rem;
  margin-bottom: 2.5rem;
}

.hero .lead-in {
  text-transform: uppercase;
  letter-spacing: 0.18em;
  font-size: 0.8rem;
  color: #4f5d75;
  margin-bottom: 0.85rem;
}

.hero h2 {
  margin: 0 0 0.75rem;
  font-size: clamp(1.9rem, 4vw, 2.4rem);
  color: #1c2b39;
}

.hero p {
  margin: 0 0 1rem;
  color: #4a4d52;
  font-size: 1rem;
  line-height: 1.6;
}

.cta-group {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
  margin: 1.5rem 0 1rem;
}

.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0.85rem 1.5rem;
  border-radius: 6px;
  border: 1px solid transparent;
  font-weight: 600;
  text-decoration: none;
  transition: transform 150ms ease, box-shadow 150ms ease;
}

.button.primary {
  background: #0a4b7a;
  color: #ffffff;
  box-shadow: 0 10px 20px rgba(10, 75, 122, 0.2);
}

.button.secondary {
  border-color: #0a4b7a;
  color: #0a4b7a;
}

.button:hover {
  transform: translateY(-1px);
  box-shadow: 0 15px 30px rgba(0, 0, 0, 0.12);
}

.status-tag {
  font-size: 0.85rem;
  color: #4f5d75;
}

.briefing-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 1.25rem;
}

.briefing-card {
  border: 1px solid #d9d9d2;
  border-radius: 12px;
  padding: 1.25rem;
  background: #fcfbf7;
}

.briefing-card h3 {
  margin: 0 0 0.55rem;
  color: #1f3c56;
  font-size: 1.05rem;
}

.briefing-card p,
.briefing-card ul {
  margin: 0;
  font-size: 0.95rem;
  color: #4d4d4d;
  line-height: 1.5;
}

.briefing-card ul {
  padding-left: 1.2rem;
  margin-top: 0.5rem;
}

footer {
  margin-top: 2.5rem;
  padding-top: 1.2rem;
  border-top: 1px solid #ece8df;
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
  justify-content: space-between;
  font-size: 0.9rem;
  color: #4a4d52;
}

@media (max-width: 640px) {
  .gov-header {
    flex-direction: column;
    align-items: flex-start;
    gap: 1rem;
  }

  .gov-badge {
    margin-left: 0;
  }

  .hero {
    border: none;
    border-top: 4px solid #204a87;
    padding-left: 0;
    padding-top: 1.5rem;
  }
}

.ramble {
  display: flex;
  flex-direction: column;
  gap: 1.5rem;
  margin-bottom: 2.5rem;
  font-size: 1rem;
  line-height: 1.7;
  color: #30343c;
}

.ramble p {
  margin: 0;
}

.return-link {
  text-decoration: none;
  color: #0a4b7a;
  font-weight: 600;
}

.return-link:hover {
  text-decoration: underline;
}
