:root {
  --navy: #173f75;
  --navy-dark: #12365f;
  --page: #f3f6fa;
  --card: #ffffff;
  --text: #0f172a;
  --muted: #526987;
  --border: #d8e1ec;
  --pdf-bg: #fff4f4;
  --pdf-border: #ffb9b9;
  --pdf-text: #c81717;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  min-height: 100vh;
  font-family: Arial, Helvetica, sans-serif;
  color: var(--text);
  background: var(--page);
  line-height: 1.5;
}
.container { width: min(900px, calc(100% - 40px)); margin-inline: auto; }
.hero {
  color: #fff;
  background: linear-gradient(110deg, var(--navy-dark), #2d5d91);
}
.hero-inner { padding-block: 51px 44px; }
.eyebrow {
  margin: 0 0 8px;
  font-size: 13px;
  font-weight: 700;
  letter-spacing: 2px;
}
h1 { margin: 0; font-size: clamp(40px, 6vw, 54px); line-height: 1.1; letter-spacing: -.8px; }
.hero-copy { max-width: 680px; margin: 8px 0 0; font-size: 17px; }
.main-content { padding-block: 28px 58px; }
.notice {
  margin-bottom: 18px;
  padding: 14px 16px;
  color: #456181;
  background: var(--card);
  border: 1px solid var(--border);
  border-radius: 12px;
}
.document-list { display: grid; gap: 12px; }
.document-card {
  display: grid;
  grid-template-columns: 48px minmax(0, 1fr) auto;
  align-items: center;
  gap: 16px;
  min-height: 90px;
  padding: 16px 18px;
  background: var(--card);
  border: 1px solid var(--border);
  border-radius: 14px;
  box-shadow: 0 2px 8px rgba(22, 49, 82, .04);
}
.pdf-icon {
  display: grid;
  place-items: center;
  width: 48px;
  height: 52px;
  color: var(--pdf-text);
  background: var(--pdf-bg);
  border: 1px solid var(--pdf-border);
  border-radius: 10px;
  font-size: 14px;
  font-weight: 700;
}
.document-details h2 { margin: 0; font-size: 17px; line-height: 1.25; }
.document-details p { margin: 4px 0 0; color: var(--muted); font-size: 14px; }
.document-actions { display: flex; align-items: center; gap: 12px; white-space: nowrap; }
.view-button, .download-link { font-weight: 700; text-decoration: none; }
.view-button {
  padding: 10px 14px;
  color: #fff;
  background: var(--navy);
  border-radius: 9px;
}
.view-button:hover, .view-button:focus-visible { background: #21518d; }
.download-link { color: var(--navy); padding: 8px 0; }
.download-link:hover, .download-link:focus-visible { text-decoration: underline; }
a:focus-visible { outline: 3px solid #91bdf0; outline-offset: 3px; }
footer { padding: 8px 20px 24px; color: var(--muted); text-align: center; font-size: 14px; }

@media (max-width: 680px) {
  .container { width: min(100% - 28px, 900px); }
  .hero-inner { padding-block: 40px 36px; }
  .document-card { grid-template-columns: 48px minmax(0, 1fr); }
  .document-actions { grid-column: 1 / -1; justify-content: flex-end; border-top: 1px solid #edf1f6; padding-top: 14px; }
}

@media (max-width: 430px) {
  .document-actions { justify-content: space-between; }
  .view-button { text-align: center; flex: 1; }
}
