/* esap.pro — site styles. No external fonts, no third-party requests. */
:root {
  --navy: #0b2559;
  --navy-dark: #081d40;
  --ink: #1c1f26;
  --muted: #5b6270;
  --line: #dfe3ea;
  --soft: #f3f5f9;
  --paper: #ffffff;
  --accent: #1f5fbf;
  --accent-soft: #e8f0fb;
  --ok: #1d6b3a;
  --warn: #9a6400;
  --radius: 10px;
  --wrap: 1100px;
}
* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0; background: var(--paper); color: var(--ink);
  font: 17px/1.65 -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
}
a { color: var(--accent); text-decoration-thickness: 1px; text-underline-offset: 2px; }
a:hover { color: var(--navy); }
img { max-width: 100%; height: auto; }
h1, h2, h3, h4 { color: var(--navy); line-height: 1.25; margin: 0 0 .5em; font-weight: 700; }
h1 { font-size: 2.1rem; letter-spacing: -.01em; }
h2 { font-size: 1.5rem; margin-top: 2.2em; }
h3 { font-size: 1.15rem; margin-top: 1.6em; }
p, ul, ol { margin: 0 0 1em; }
.wrap { max-width: var(--wrap); margin: 0 auto; padding: 0 20px; }
.narrow { max-width: 820px; }
.small { font-size: .9rem; color: var(--muted); }
.lead { font-size: 1.18rem; color: #2d3340; }
.skip { position: absolute; left: -999px; top: 0; background: var(--navy); color: #fff; padding: 8px 12px; }
.skip:focus { left: 12px; z-index: 20; }

/* header */
.site-header { position: sticky; top: 0; z-index: 10; background: rgba(255,255,255,.96); border-bottom: 1px solid var(--line); backdrop-filter: blur(6px); }
.header-inner { display: flex; align-items: center; justify-content: space-between; gap: 20px; flex-wrap: wrap; padding-top: 12px; padding-bottom: 12px; }
.brand img { display: block; width: 168px; height: auto; }
.site-nav { display: flex; flex-wrap: wrap; gap: 4px 6px; }
.site-nav a { color: var(--ink); text-decoration: none; font-weight: 600; font-size: .95rem; padding: 6px 10px; border-radius: 6px; }
.site-nav a:hover, .site-nav a[aria-current="page"] { background: var(--soft); color: var(--navy); }
.site-nav .nav-cta { background: var(--navy); color: #fff; }
.site-nav .nav-cta:hover { background: var(--navy-dark); color: #fff; }

/* hero */
.hero { background: linear-gradient(180deg, var(--soft) 0%, #fff 100%); border-bottom: 1px solid var(--line); padding: 56px 0 44px; }
.hero h1 { font-size: 2.5rem; max-width: 820px; }
.hero .lead { max-width: 760px; }
.hero-actions { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 22px; }
.btn { display: inline-block; padding: 11px 18px; border-radius: 8px; font-weight: 600; text-decoration: none; border: 1px solid var(--navy); background: var(--navy); color: #fff; }
.btn:hover { background: var(--navy-dark); color: #fff; }
.btn.secondary { background: #fff; color: var(--navy); }
.btn.secondary:hover { background: var(--soft); }
.eyebrow { text-transform: uppercase; letter-spacing: .08em; font-size: .78rem; font-weight: 700; color: var(--accent); margin-bottom: 8px; }
.page-head { padding: 44px 0 10px; }
.page-head .meta { color: var(--muted); font-size: .92rem; }

/* dates strip */
.dates { display: grid; grid-template-columns: repeat(auto-fit, minmax(200px, 1fr)); gap: 14px; margin: 26px 0 0; padding: 0; list-style: none; }
.dates li { background: #fff; border: 1px solid var(--line); border-radius: var(--radius); padding: 14px 16px; }
.dates .d { font-weight: 700; color: var(--navy); display: block; font-size: 1.05rem; }
.dates .t { color: var(--muted); font-size: .92rem; }

/* sections and cards */
section.block { padding: 40px 0; }
section.block.alt { background: var(--soft); border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); }
.cards { display: grid; grid-template-columns: repeat(auto-fit, minmax(240px, 1fr)); gap: 18px; margin-top: 10px; }
.card { background: #fff; border: 1px solid var(--line); border-radius: var(--radius); padding: 20px 20px 16px; display: flex; flex-direction: column; }
.card h3 { margin-top: 0; font-size: 1.08rem; }
.card p { flex: 1; color: #353a45; font-size: .97rem; }
.card a.more { font-weight: 600; text-decoration: none; }
.stats { display: grid; grid-template-columns: repeat(auto-fit, minmax(190px, 1fr)); gap: 16px; margin: 18px 0; }
.stat { background: #fff; border: 1px solid var(--line); border-left: 4px solid var(--navy); border-radius: var(--radius); padding: 16px 18px; }
.stat .n { font-size: 1.9rem; font-weight: 700; color: var(--navy); line-height: 1.1; display: block; }
.stat .l { color: var(--muted); font-size: .9rem; }
.callout { background: var(--accent-soft); border-left: 4px solid var(--accent); border-radius: 8px; padding: 14px 18px; margin: 20px 0; }
.callout.note { background: #fff8e6; border-color: var(--warn); }
.callout p:last-child { margin-bottom: 0; }

/* timeline */
.timeline { list-style: none; padding: 0; margin: 20px 0; border-left: 3px solid var(--line); }
.timeline li { position: relative; padding: 0 0 26px 26px; }
.timeline li::before { content: ""; position: absolute; left: -9px; top: 7px; width: 14px; height: 14px; border-radius: 50%; background: var(--navy); border: 3px solid #fff; box-shadow: 0 0 0 1px var(--line); }
.timeline li.future::before { background: #fff; border-color: var(--navy); }
.timeline .when { font-weight: 700; color: var(--navy); display: block; }
.timeline .what { font-weight: 600; }
.timeline .why { color: #353a45; font-size: .97rem; margin: 4px 0 0; }

/* tables */
.table-wrap { overflow-x: auto; margin: 16px 0 24px; }
table { border-collapse: collapse; width: 100%; font-size: .93rem; }
th, td { border: 1px solid var(--line); padding: 8px 10px; text-align: left; vertical-align: top; }
th { background: var(--soft); color: var(--navy); }
td.num, th.num { text-align: right; white-space: nowrap; }

/* checklists and FAQ */
.checklist { list-style: none; padding: 0; }
.checklist li { padding: 10px 0 10px 32px; position: relative; border-bottom: 1px solid var(--line); }
.checklist li::before { content: "✓"; position: absolute; left: 4px; top: 9px; color: var(--ok); font-weight: 700; }
details.faq { border: 1px solid var(--line); border-radius: 8px; padding: 10px 16px; margin: 10px 0; background: #fff; }
details.faq summary { cursor: pointer; font-weight: 600; color: var(--navy); }
details.faq p { margin: 10px 0 4px; }

/* forms */
form.std { display: grid; gap: 14px; max-width: 620px; }
form.std label { font-weight: 600; font-size: .95rem; display: block; margin-bottom: 4px; }
form.std input, form.std textarea, form.std select { width: 100%; padding: 10px 12px; border: 1px solid #c9cfd9; border-radius: 8px; font: inherit; }
form.std textarea { min-height: 150px; }
form.std .consent { font-size: .9rem; color: var(--muted); display: flex; gap: 8px; align-items: flex-start; }
form.std .consent input { width: auto; margin-top: 4px; }
.hp { position: absolute; left: -9999px; }
.inline-form { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 10px; }
.inline-form input { flex: 1 1 240px; padding: 10px 12px; border: 1px solid #c9cfd9; border-radius: 8px; font: inherit; }

/* sources */
.sources { font-size: .9rem; color: #353a45; }
.sources li { margin-bottom: 6px; }

/* footer */
.site-footer { margin-top: 60px; background: var(--navy); color: #d7deea; }
.site-footer a { color: #fff; }
.footer-grid { display: grid; grid-template-columns: 2fr 1fr 1fr; gap: 30px; padding: 40px 20px 20px; }
.footer-grid h3 { color: #fff; font-size: 1rem; margin: 0 0 10px; }
.footer-grid ul { list-style: none; padding: 0; margin: 0; }
.footer-grid li { margin: 6px 0; font-size: .95rem; }
.footer-grid .small { color: #b9c3d6; }
.footer-brand img { width: 150px; height: auto; background: #fff; padding: 8px 10px; border-radius: 6px; display: block; margin-bottom: 12px; }
.footer-company { border-top: 1px solid rgba(255,255,255,.18); padding: 18px 20px 30px; display: flex; gap: 20px; align-items: flex-start; flex-wrap: wrap; }
.footer-company img { width: 120px; height: auto; background: #fff; padding: 6px 10px; border-radius: 6px; }
.footer-company .small { color: #b9c3d6; margin: 0; }
.footer-company .legal-line { font-size: .85rem; color: #9fabc3; margin-top: 8px; }

@media (max-width: 760px) {
  h1, .hero h1 { font-size: 1.8rem; }
  .hero { padding: 36px 0 30px; }
  .footer-grid { grid-template-columns: 1fr; gap: 22px; }
  .brand img { width: 140px; }
}
@media print { .site-header, .site-footer, .hero-actions { display: none; } }
