/* ── RESET & BASE ── */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }

:root {
  --navy:   #0D1B2A;
  --navy2:  #1B2D42;
  --blue:   #1A56DB;
  --blue2:  #1444b8;
  --border: #D1D9E0;
  --soft:   #F4F6F8;
  --white:  #FFFFFF;
  --text:   #1E293B;
  --text2:  #4A5568;
  --slate:  #64748B;
  --font:   'IBM Plex Sans', 'Helvetica Neue', Arial, sans-serif;
}

html { scroll-behavior: smooth; }

body {
  font-family: var(--font);
  background: var(--white);
  color: var(--text);
  font-size: 16px;
  line-height: 1.6;
}

/* ── NAV ── */
nav {
  position: sticky;
  top: 0;
  z-index: 100;
  background: var(--navy);
  border-bottom: 1px solid rgba(255,255,255,0.07);
  padding: 0 5%;
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 58px;
}
.nav-brand {
  font-size: 13px;
  font-weight: 600;
  color: rgba(255,255,255,0.9);
  text-decoration: none;
  letter-spacing: 0.2px;
  white-space: nowrap;
  flex-shrink: 0;
}
.nav-links {
  display: flex;
  gap: 20px;
  list-style: none;
  flex-wrap: wrap;
}
.nav-links a {
  font-size: 12px;
  font-weight: 500;
  color: rgba(255,255,255,0.5);
  text-decoration: none;
  letter-spacing: 0.2px;
  transition: color .15s;
  white-space: nowrap;
}
.nav-links a:hover { color: rgba(255,255,255,0.9); }

/* ── PAGE HEADER ── */
.page-header {
  background: var(--navy);
  padding: 56px 5% 52px;
  border-bottom: 1px solid rgba(255,255,255,0.06);
}
.page-header-inner { max-width: 960px; margin: 0 auto; }

.eyebrow {
  font-size: 10px;
  font-weight: 600;
  letter-spacing: 1.8px;
  text-transform: uppercase;
  color: rgba(255,255,255,0.3);
  margin-bottom: 14px;
}
.page-header h1 {
  font-size: clamp(26px, 3.5vw, 38px);
  font-weight: 700;
  color: #fff;
  letter-spacing: -0.5px;
  line-height: 1.15;
  margin-bottom: 14px;
}
.page-header .sub {
  font-size: 16px;
  color: rgba(255,255,255,0.55);
  max-width: 680px;
  line-height: 1.7;
}

/* ── HERO ── */
.hero-desc {
  margin-top: 28px;
  padding: 20px 24px;
  border-left: 3px solid var(--blue);
  background: rgba(255,255,255,0.04);
  font-size: 15px;
  color: rgba(255,255,255,0.7);
  max-width: 760px;
  line-height: 1.75;
}
.hero-desc strong { color: rgba(255,255,255,0.95); font-weight: 600; }
.hero-actions { display: flex; gap: 12px; margin-top: 28px; flex-wrap: wrap; }
.btn-primary {
  background: var(--blue);
  color: #fff;
  padding: 11px 22px;
  border-radius: 5px;
  font-size: 13px;
  font-weight: 600;
  text-decoration: none;
  transition: background .15s;
  display: inline-block;
}
.btn-primary:hover { background: var(--blue2); }
.btn-ghost {
  background: transparent;
  color: rgba(255,255,255,0.65);
  padding: 11px 22px;
  border-radius: 5px;
  font-size: 13px;
  font-weight: 500;
  text-decoration: none;
  border: 1px solid rgba(255,255,255,0.2);
  transition: border-color .15s, color .15s;
  display: inline-block;
}
.btn-ghost:hover { border-color: rgba(255,255,255,0.5); color: #fff; }

/* ── SECTIONS ── */
.section {
  padding: 64px 5%;
  border-bottom: 1px solid var(--border);
}
.section:last-of-type { border-bottom: none; }
.section.soft { background: var(--soft); }
.section-inner { max-width: 960px; margin: 0 auto; }

.section-label {
  font-size: 10px;
  font-weight: 600;
  letter-spacing: 1.6px;
  text-transform: uppercase;
  color: var(--slate);
  margin-bottom: 10px;
}
.section h2 {
  font-size: clamp(20px, 2.8vw, 28px);
  font-weight: 700;
  color: var(--navy);
  letter-spacing: -0.3px;
  margin-bottom: 14px;
  line-height: 1.2;
}
.lead {
  font-size: 15px;
  color: var(--text2);
  max-width: 720px;
  line-height: 1.8;
  margin-bottom: 36px;
}
.body-text {
  font-size: 15px;
  color: var(--text2);
  max-width: 760px;
  line-height: 1.8;
  margin-bottom: 16px;
}

/* ── GRID CARDS ── */
.grid-2 {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 1px;
  background: var(--border);
  border: 1px solid var(--border);
}
.grid-3 {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1px;
  background: var(--border);
  border: 1px solid var(--border);
}
.card { background: var(--white); padding: 24px 26px; }
.section.soft .card { background: var(--soft); }
.card h3 { font-size: 14px; font-weight: 600; color: var(--navy); margin-bottom: 7px; }
.card p { font-size: 13px; color: var(--text2); line-height: 1.65; }

/* ── CHECK LIST ── */
.check-list {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 0;
  border: 1px solid var(--border);
  max-width: 760px;
}
.check-list li {
  font-size: 14px;
  color: var(--text);
  padding: 13px 18px;
  border-bottom: 1px solid var(--border);
  line-height: 1.6;
  display: flex;
  gap: 10px;
  align-items: flex-start;
}
.check-list li:last-child { border-bottom: none; }
.check-list li::before {
  content: '→';
  color: var(--blue);
  font-weight: 600;
  flex-shrink: 0;
}

/* ── NOTICE BOX ── */
.notice {
  margin-top: 24px;
  padding: 15px 20px;
  border-left: 3px solid var(--blue);
  background: #EFF6FF;
  font-size: 13px;
  color: #1e3a8a;
  line-height: 1.7;
  max-width: 760px;
  font-weight: 500;
}
.notice a { color: #1A56DB; }

/* ── INFO TABLE ── */
.info-table {
  border: 1px solid var(--border);
  max-width: 640px;
}
.info-row {
  display: flex;
  border-bottom: 1px solid var(--border);
}
.info-row:last-child { border-bottom: none; }
.info-label {
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.5px;
  text-transform: uppercase;
  color: var(--slate);
  padding: 13px 18px;
  width: 200px;
  flex-shrink: 0;
  background: var(--soft);
  display: flex;
  align-items: center;
}
.info-value {
  font-size: 14px;
  color: var(--text);
  padding: 13px 18px;
  line-height: 1.5;
}
.info-value a { color: var(--blue); text-decoration: none; }
.info-value a:hover { text-decoration: underline; }

/* ── CONTACT BOX ── */
.contact-box {
  border: 1px solid var(--border);
  max-width: 560px;
}
.contact-row-item {
  display: flex;
  border-bottom: 1px solid var(--border);
}
.contact-row-item:last-child { border-bottom: none; }
.contact-row-label {
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.5px;
  text-transform: uppercase;
  color: var(--slate);
  padding: 16px 18px;
  width: 180px;
  flex-shrink: 0;
  background: var(--soft);
  display: flex;
  align-items: center;
}
.contact-row-val {
  font-size: 14px;
  color: var(--text);
  padding: 16px 18px;
  line-height: 1.5;
}
.contact-row-val a { color: var(--blue); text-decoration: none; }
.contact-row-val a:hover { text-decoration: underline; }

.topic-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 1px;
  background: var(--border);
  border: 1px solid var(--border);
  max-width: 640px;
  margin-top: 36px;
}
.topic-item { background: var(--white); padding: 18px 20px; }
.topic-item h3 { font-size: 13px; font-weight: 600; color: var(--navy); margin-bottom: 4px; }
.topic-item p { font-size: 13px; color: var(--text2); line-height: 1.6; }

/* ── DOC PAGES ── */
.doc-wrap {
  max-width: 860px;
  margin: 0 auto;
  padding: 56px 5% 80px;
}
.doc-wrap h2 {
  font-size: 17px;
  font-weight: 600;
  color: var(--navy);
  margin: 36px 0 10px;
  letter-spacing: -0.2px;
}
.doc-wrap h2:first-child { margin-top: 0; }
.doc-wrap p {
  font-size: 14px;
  color: var(--text2);
  line-height: 1.8;
  margin-bottom: 12px;
}
.doc-wrap ul {
  padding-left: 20px;
  margin: 8px 0 12px;
}
.doc-wrap li {
  font-size: 14px;
  color: var(--text2);
  line-height: 1.75;
  margin-bottom: 4px;
}
.doc-wrap a { color: var(--blue); }
.doc-meta {
  font-size: 13px;
  color: var(--slate);
  margin-bottom: 32px;
  padding-bottom: 20px;
  border-bottom: 1px solid var(--border);
}

/* ── 404 PAGE ── */
.error-page {
  min-height: 60vh;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  padding: 80px 5%;
}
.error-code {
  font-size: 72px;
  font-weight: 700;
  color: var(--border);
  line-height: 1;
  margin-bottom: 16px;
}
.error-page h2 {
  font-size: 22px;
  font-weight: 600;
  color: var(--navy);
  margin-bottom: 12px;
}
.error-page p {
  font-size: 15px;
  color: var(--text2);
  margin-bottom: 28px;
}

/* ── THANK YOU PAGE ── */
.thankyou-page {
  min-height: 60vh;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  padding: 80px 5%;
}
.thankyou-icon {
  font-size: 48px;
  margin-bottom: 20px;
}
.thankyou-page h2 {
  font-size: 26px;
  font-weight: 700;
  color: var(--navy);
  margin-bottom: 12px;
}
.thankyou-page p {
  font-size: 15px;
  color: var(--text2);
  margin-bottom: 24px;
  max-width: 480px;
}

/* ── FOOTER ── */
footer {
  background: var(--navy);
  padding: 40px 5% 32px;
}
.footer-inner { max-width: 960px; margin: 0 auto; }
.footer-top {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  flex-wrap: wrap;
  gap: 32px;
  padding-bottom: 28px;
  border-bottom: 1px solid rgba(255,255,255,0.07);
  margin-bottom: 20px;
}
.footer-brand { max-width: 360px; }
.footer-brand .name {
  font-size: 13px;
  font-weight: 600;
  color: rgba(255,255,255,0.85);
  margin-bottom: 6px;
}
.footer-brand .tagline {
  font-size: 12px;
  color: rgba(255,255,255,0.35);
  line-height: 1.7;
}
.footer-links-col {
  display: flex;
  flex-direction: column;
  gap: 8px;
}
.footer-links-col a {
  font-size: 12px;
  color: rgba(255,255,255,0.4);
  text-decoration: none;
  transition: color .15s;
}
.footer-links-col a:hover { color: rgba(255,255,255,0.8); }
.footer-bottom {
  font-size: 11px;
  color: rgba(255,255,255,0.25);
  line-height: 1.7;
}

/* ── RESPONSIVE ── */
@media (max-width: 820px) {
  .grid-3 { grid-template-columns: 1fr 1fr; }
  .nav-links { display: none; }
}
@media (max-width: 580px) {
  .grid-2, .grid-3 { grid-template-columns: 1fr; }
  .topic-grid { grid-template-columns: 1fr; }
  .info-label { width: 140px; }
  .contact-row-label { width: 130px; }
  .section { padding: 48px 5%; }
  .page-header { padding: 44px 5% 40px; }
}
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } }
