@import url('https://fonts.googleapis.com/css2?family=Libre+Baskerville:ital,wght@0,400;0,700;1,400&family=Source+Sans+3:wght@300;400;600;700&family=Source+Code+Pro:wght@400;600&display=swap');

:root {
  --navy:    #0a1628;
  --navy2:   #112240;
  --navy3:   #1a3558;
  --teal:    #0e7c7b;
  --teal2:   #14a89e;
  --gold:    #c4922a;
  --gold2:   #e8b84b;
  --offwhite:#f5f2eb;
  --light:   #eaf0f4;
  --gray:    #8899aa;
  --text:    #1c2b3a;
  --border:  #cdd8e3;
}

*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }

html { scroll-behavior: smooth; }

body {
  font-family: 'Source Sans 3', sans-serif;
  font-size: 15px;
  line-height: 1.7;
  color: var(--text);
  background: #fff;
}

/* ── HEADER ── */
.nv-header {
  background: var(--navy);
  border-bottom: 3px solid var(--teal);
  padding: 0;
  position: sticky;
  top: 0;
  z-index: 100;
  box-shadow: 0 2px 16px rgba(0,0,0,.35);
}
.nv-header-inner {
  max-width: 1100px;
  margin: 0 auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 10px 24px;
  gap: 20px;
}
.nv-logo { display: flex; align-items: center; gap: 14px; text-decoration: none; }
.nv-logo img { height: 52px; width: auto; }
.nv-logo-text { color: #fff; }
.nv-logo-text .org { font-family: 'Libre Baskerville', serif; font-size: 1.05rem; font-weight: 700; letter-spacing: .04em; }
.nv-logo-text .div { font-family: 'Source Sans 3', sans-serif; font-size: .72rem; font-weight: 300; letter-spacing: .18em; text-transform: uppercase; color: var(--teal2); margin-top: 1px; }
.nv-header-nav { display: flex; align-items: center; gap: 6px; flex-wrap: wrap; }
.nv-header-nav a {
  color: #abc4d8;
  font-size: .75rem;
  font-weight: 600;
  letter-spacing: .08em;
  text-transform: uppercase;
  text-decoration: none;
  padding: 5px 10px;
  border-radius: 3px;
  transition: background .2s, color .2s;
}
.nv-header-nav a:hover { background: var(--navy3); color: #fff; }
.nv-header-nav a.active { background: var(--teal); color: #fff; }

/* ── NOTICE HEADER BLOCK ── */
.notice-header {
  background: linear-gradient(135deg, var(--navy) 0%, var(--navy2) 60%, var(--navy3) 100%);
  padding: 40px 24px 32px;
  position: relative;
  overflow: hidden;
}
.notice-header::after {
  content: '';
  position: absolute;
  right: -60px; top: -60px;
  width: 320px; height: 320px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(14,124,123,.18) 0%, transparent 70%);
}
.notice-header-inner { max-width: 860px; margin: 0 auto; position: relative; z-index: 1; }
.notice-badge {
  display: inline-block;
  background: var(--teal);
  color: #fff;
  font-size: .68rem;
  font-weight: 700;
  letter-spacing: .14em;
  text-transform: uppercase;
  padding: 3px 10px;
  border-radius: 2px;
  margin-bottom: 12px;
}
.notice-number {
  font-family: 'Source Code Pro', monospace;
  font-size: .82rem;
  color: var(--teal2);
  letter-spacing: .06em;
  margin-bottom: 6px;
}
.notice-title {
  font-family: 'Libre Baskerville', serif;
  font-size: 1.75rem;
  font-weight: 700;
  color: #fff;
  line-height: 1.25;
  margin-bottom: 16px;
}
.notice-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 16px;
  font-size: .78rem;
  color: #8eb0c8;
  border-top: 1px solid rgba(255,255,255,.1);
  padding-top: 14px;
  margin-top: 4px;
}
.notice-meta span { display: flex; align-items: center; gap: 5px; }
.notice-meta strong { color: #c8dae6; }

/* ── MAIN LAYOUT ── */
.nv-main { max-width: 860px; margin: 0 auto; padding: 36px 24px 60px; }

/* ── SECTION ── */
.nv-section { margin-bottom: 32px; }
.nv-section-title {
  font-family: 'Libre Baskerville', serif;
  font-size: 1.05rem;
  font-weight: 700;
  color: var(--navy);
  border-bottom: 2px solid var(--teal);
  padding-bottom: 6px;
  margin-bottom: 14px;
  display: flex;
  align-items: center;
  gap: 10px;
}
.nv-section-title .sec-num {
  background: var(--navy);
  color: #fff;
  font-family: 'Source Code Pro', monospace;
  font-size: .7rem;
  padding: 2px 7px;
  border-radius: 2px;
}

/* ── CALLOUT BOXES ── */
.nv-callout {
  border-left: 4px solid var(--teal);
  background: #f0f7f7;
  padding: 14px 18px;
  margin: 18px 0;
  border-radius: 0 4px 4px 0;
}
.nv-callout.warning { border-color: var(--gold); background: #fdf6ec; }
.nv-callout.info { border-color: #4a90d9; background: #eef4fc; }
.nv-callout-title { font-weight: 700; font-size: .82rem; text-transform: uppercase; letter-spacing: .06em; color: var(--teal); margin-bottom: 5px; }
.nv-callout.warning .nv-callout-title { color: var(--gold); }
.nv-callout.info .nv-callout-title { color: #2d6eb0; }

/* ── TABLES ── */
.nv-table { width: 100%; border-collapse: collapse; margin: 18px 0; font-size: .88rem; }
.nv-table th {
  background: var(--navy);
  color: #fff;
  font-weight: 600;
  font-size: .76rem;
  letter-spacing: .06em;
  text-transform: uppercase;
  padding: 9px 12px;
  text-align: left;
}
.nv-table td { padding: 8px 12px; border-bottom: 1px solid var(--border); vertical-align: top; }
.nv-table tr:nth-child(even) td { background: var(--light); }
.nv-table tr:last-child td { border-bottom: 2px solid var(--teal); }

/* ── REQUIREMENT LIST ── */
.req-list { list-style: none; padding: 0; }
.req-list li {
  padding: 8px 0 8px 22px;
  position: relative;
  border-bottom: 1px solid var(--border);
  font-size: .92rem;
}
.req-list li:last-child { border-bottom: none; }
.req-list li::before {
  content: '▸';
  position: absolute;
  left: 4px;
  color: var(--teal);
  font-size: .8rem;
}

/* ── DEFINITION LIST ── */
.nv-dl { display: grid; grid-template-columns: 180px 1fr; gap: 0; margin: 14px 0; }
.nv-dl dt { font-weight: 700; font-size: .83rem; color: var(--navy); padding: 7px 12px 7px 0; border-bottom: 1px solid var(--border); }
.nv-dl dd { font-size: .88rem; padding: 7px 0; border-bottom: 1px solid var(--border); }

/* ── CERT TABLE ── */
.cert-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(200px, 1fr)); gap: 12px; margin: 18px 0; }
.cert-item {
  border: 1px solid var(--border);
  border-top: 3px solid var(--teal);
  padding: 14px;
  border-radius: 2px;
  background: #fafcfd;
}
.cert-item .cert-name { font-weight: 700; font-size: .82rem; color: var(--navy); margin-bottom: 4px; }
.cert-item .cert-conv { font-size: .74rem; color: var(--gray); font-family: 'Source Code Pro', monospace; }

/* ── FOOTER ── */
.nv-footer {
  background: var(--navy);
  color: #8899aa;
  font-size: .74rem;
  padding: 22px 24px;
  margin-top: 48px;
}
.nv-footer-inner { max-width: 1100px; margin: 0 auto; display: flex; justify-content: space-between; align-items: center; flex-wrap: wrap; gap: 12px; }
.nv-footer a { color: var(--teal2); text-decoration: none; }
.nv-footer .disclaimer { max-width: 560px; line-height: 1.5; }

/* ── PAGE NAV ── */
.page-nav {
  display: flex;
  justify-content: space-between;
  margin-top: 40px;
  padding-top: 20px;
  border-top: 1px solid var(--border);
  gap: 12px;
}
.page-nav a {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  padding: 9px 18px;
  background: var(--navy);
  color: #fff;
  text-decoration: none;
  font-size: .8rem;
  font-weight: 600;
  letter-spacing: .06em;
  text-transform: uppercase;
  border-radius: 3px;
  transition: background .2s;
}
.page-nav a:hover { background: var(--teal); }
.page-nav a.prev::before { content: '←'; }
.page-nav a.next::after { content: '→'; }

/* ── PRINT ── */
@media print {
  .nv-header { position: relative; }
  .page-nav, .nv-header-nav { display: none; }
}

@media (max-width: 640px) {
  .notice-title { font-size: 1.3rem; }
  .nv-dl { grid-template-columns: 1fr; }
  .nv-dl dt { border-bottom: none; padding-bottom: 0; }
}
