:root {
  --blue-primary: #005daa;
  --blue-royal: #1450d2;
  --blue-dark: #002244;
  --blue-soft: #eef5fc;
  --blue-tint: #f6f9fd;
  --white: #ffffff;
  --border: #d9e4f2;
  --text-main: #10243e;
  --text-muted: #4b617d;
  --radius: 8px;
}

* { box-sizing: border-box; margin: 0; padding: 0; }
body {
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
  background: var(--white);
  color: var(--text-main);
  line-height: 1.65;
  font-size: 16px;
}
a { color: var(--blue-primary); text-decoration: none; }
a:hover { text-decoration: underline; }
.container { max-width: 1080px; margin: 0 auto; padding: 0 20px; }

.top-strip {
  background: var(--blue-primary);
  color: var(--white);
  font-size: 13px;
  padding: 8px 0;
}
.top-strip .container {
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 8px;
}
.top-strip a { color: var(--white); font-weight: 700; }

header {
  background: var(--white);
  border-bottom: 2px solid var(--blue-soft);
  position: sticky;
  top: 0;
  z-index: 100;
  box-shadow: 0 2px 8px rgba(0, 34, 68, 0.06);
}
.nav-wrap {
  display: flex;
  justify-content: space-between;
  align-items: center;
  min-height: 70px;
  gap: 16px;
  flex-wrap: wrap;
  padding: 10px 0;
}
.brand {
  display: flex;
  align-items: center;
  gap: 10px;
  color: var(--blue-dark);
  font-weight: 800;
  font-size: 20px;
}
.brand:hover { text-decoration: none; }
.brand-sub {
  display: block;
  font-size: 11px;
  font-weight: 600;
  color: var(--blue-primary);
  letter-spacing: 0.5px;
  text-transform: uppercase;
}
nav { display: flex; align-items: center; gap: 18px; flex-wrap: wrap; }
nav a { color: var(--blue-dark); font-size: 14px; font-weight: 600; }
nav a:hover, nav a.active { color: var(--blue-royal); text-decoration: none; }
.btn-header {
  background: var(--blue-primary);
  color: var(--white) !important;
  padding: 9px 16px;
  border-radius: 6px;
  font-weight: 700;
  font-size: 14px;
}
.btn-header:hover { background: var(--blue-royal); }

.page-hero {
  background: linear-gradient(180deg, var(--blue-tint) 0%, var(--white) 100%);
  border-bottom: 1px solid var(--border);
  padding: 40px 0 36px;
}
.breadcrumb {
  font-size: 13px;
  color: var(--text-muted);
  margin-bottom: 12px;
}
.page-hero h1 {
  font-size: 32px;
  line-height: 1.25;
  color: var(--blue-dark);
  margin-bottom: 12px;
  font-weight: 800;
}
.page-hero p {
  font-size: 16px;
  color: var(--text-muted);
  max-width: 760px;
}
.meta-bar {
  margin-top: 14px;
  font-size: 13px;
  color: var(--blue-primary);
  font-weight: 600;
}

.content-wrap {
  display: grid;
  grid-template-columns: 1fr 310px;
  gap: 32px;
  padding: 40px 0 56px;
  align-items: start;
}
article h2 {
  font-size: 22px;
  color: var(--blue-dark);
  margin: 28px 0 10px;
  padding-bottom: 6px;
  border-bottom: 2px solid var(--blue-soft);
}
article h2:first-child { margin-top: 0; }
article h3 {
  font-size: 17px;
  color: var(--blue-primary);
  margin: 18px 0 6px;
}
article p { margin-bottom: 14px; color: #243852; }
article ul, article ol { padding-left: 22px; margin-bottom: 16px; }
article li { margin-bottom: 8px; color: #243852; }

.table-wrap { overflow-x: auto; margin: 16px 0 24px; }
table {
  width: 100%;
  border-collapse: collapse;
  border: 1px solid var(--border);
  font-size: 14px;
}
th {
  background: var(--blue-primary);
  color: var(--white);
  text-align: left;
  padding: 11px 13px;
}
td {
  padding: 11px 13px;
  border-bottom: 1px solid var(--border);
  vertical-align: top;
}
tr:nth-child(even) td { background: var(--blue-tint); }

.callout {
  background: var(--blue-soft);
  border: 1px solid #c5dcf5;
  border-left: 4px solid var(--blue-primary);
  padding: 16px 18px;
  border-radius: 6px;
  margin: 20px 0;
  font-size: 14px;
  color: var(--blue-dark);
}
.faq-item {
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 16px 18px;
  margin-bottom: 12px;
  background: var(--blue-tint);
}
.faq-item h3 { margin: 0 0 6px; font-size: 16px; color: var(--blue-dark); }
.faq-item p { margin: 0; font-size: 14px; }

.sidebar-card {
  background: var(--white);
  border: 1px solid var(--border);
  border-top: 4px solid var(--blue-primary);
  border-radius: var(--radius);
  padding: 20px;
  margin-bottom: 20px;
}
.sidebar-card h3 {
  font-size: 17px;
  color: var(--blue-dark);
  margin-bottom: 8px;
}
.sidebar-card p { font-size: 14px; color: var(--text-muted); margin-bottom: 14px; }
.btn-full {
  display: block;
  text-align: center;
  background: var(--blue-primary);
  color: var(--white) !important;
  padding: 11px 14px;
  border-radius: 6px;
  font-weight: 700;
  font-size: 14px;
}
.btn-full:hover { background: var(--blue-royal); text-decoration: none; }
.guide-links { list-style: none; padding: 0; }
.guide-links li {
  border-bottom: 1px solid var(--border);
  padding: 9px 0;
  font-size: 14px;
}
.guide-links li:last-child { border-bottom: none; }

footer {
  background: var(--blue-dark);
  color: #d6e6f7;
  padding: 40px 0 24px;
  font-size: 14px;
  border-top: 4px solid var(--blue-primary);
}
.footer-grid {
  display: grid;
  grid-template-columns: 1.4fr 1fr 1fr 1.1fr;
  gap: 24px;
  margin-bottom: 26px;
}
footer h4 { color: var(--white); font-size: 15px; margin-bottom: 10px; }
footer ul { list-style: none; }
footer li { margin-bottom: 6px; }
footer a { color: #b9d6f4; font-size: 13px; }
footer a:hover { color: var(--white); }
.footer-bottom {
  border-top: 1px solid rgba(255,255,255,0.14);
  padding-top: 16px;
  font-size: 12px;
  color: #9bbde0;
  display: flex;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 10px;
}

@media (max-width: 860px) {
  .content-wrap, .footer-grid { grid-template-columns: 1fr; }
  .page-hero h1 { font-size: 26px; }
}