:root {
  --blue: #1664c0;
  --blue-d: #0d4a94;
  --navy: #10243f;
  --ink: #1e2936;
  --muted: #5a6573;
  --line: #d7dee8;
  --bg: #f3f5f8;
  --paper: #ffffff;
  --soft: #eaf2fb;
  --ok: #1b7a45;
  --warn: #8a5a12;
}
* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
html, body { max-width: 100%; }
body {
  margin: 0;
  background: var(--bg);
  color: var(--ink);
  font: 15px/1.45 "Segoe UI", Arial, Helvetica, sans-serif;
  overflow-x: hidden;
}
img { max-width: 100%; display: block; }
a { color: var(--blue); }
.skip {
  position: absolute; left: -999px; top: 0;
}
.skip:focus { left: 8px; top: 8px; z-index: 20; background: #fff; padding: 8px 10px; }

.wrap { max-width: 1080px; margin: 0 auto; padding: 0 20px; }
.topbar {
  background: var(--navy); color: #c9d6e5;
  font-size: 12px; padding: 5px 22px;
  display: flex; justify-content: space-between; gap: 10px; flex-wrap: wrap;
}
.topbar b { color: #fff; font-weight: 600; }
.site-header {
  background: #fff;
  border-bottom: 1px solid var(--line);
  display: flex; align-items: center; justify-content: space-between;
  gap: 14px; padding: 8px 22px;
}
.logo { display: flex; align-items: center; gap: 8px; text-decoration: none; color: inherit; }
.logo .mark { width: 34px; height: 34px; border-radius: 3px; }
.logo .word { height: 30px; width: auto; }
.logo .name { display: none; font-weight: 700; color: var(--navy); }
.nav { display: flex; align-items: center; gap: 16px; }
.nav a {
  text-decoration: none; color: #2a3340; font-size: 14px; font-weight: 600;
  padding: 7px 0; border-bottom: 2px solid transparent;
}
.nav a[aria-current="page"], .nav a:hover { color: var(--blue); border-bottom-color: var(--blue); }
.header-cta { display: flex; gap: 8px; }
.menu-btn {
  display: none; border: 1px solid var(--navy); background: var(--navy); color: #fff;
  padding: 7px 12px; font-weight: 700; font-size: 12px; cursor: pointer;
}

.btn {
  display: inline-block; text-decoration: none; font-weight: 700; font-size: 14px;
  padding: 8px 14px; border-radius: 2px; border: 1px solid transparent;
}
.btn-primary { background: var(--blue); color: #fff; border-color: var(--blue-d); }
.btn-primary:hover { background: var(--blue-d); }
.btn-ghost { background: #fff; color: var(--blue); border-color: var(--blue); }
.btn-sm { padding: 7px 12px; font-size: 13px; }
.btn-dl {
  display: inline-flex; align-items: center; gap: 8px;
}
.dl-ico {
  display: block; width: 14px; height: 14px; flex: 0 0 auto;
  animation: dl-move .85s ease-in-out infinite;
}
@keyframes dl-move {
  0%, 100% { transform: translateY(-2px); }
  50% { transform: translateY(3px); }
}
@media (prefers-reduced-motion: reduce) {
  .dl-ico { animation: none; }
}

.hero { background: var(--soft); border-bottom: 1px solid #d3e0ef; padding: 22px 0 0; }
.hero-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 20px; align-items: end; min-width: 0; }
.hero-art, .split, .cols3 { min-width: 0; }
.kicker { font-size: 11px; font-weight: 700; letter-spacing: .08em; text-transform: uppercase; color: var(--blue); margin: 0 0 6px; }
h1 { font-size: 28px; line-height: 1.18; margin: 0 0 8px; font-weight: 700; color: var(--navy); }
.lead { font-size: 15px; color: #3d4754; margin: 0 0 14px; max-width: 62ch; }
.actions { display: flex; gap: 8px; flex-wrap: wrap; margin: 0 0 8px; }
.meta-line { font-size: 13px; color: var(--muted); margin: 0 0 22px; }
.hero-art { background: transparent; }
.hero-art img {
  width: 100%; height: auto; max-height: 360px;
  object-fit: contain; object-position: center bottom;
  background: transparent;
}

.section { padding: 22px 0; }
.section.alt { background: #fff; border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); }
h2 { font-size: 19px; margin: 22px 0 8px; color: var(--navy); }
.split h2:first-child, .block h3 { margin-top: 0; }
h3 { font-size: 15px; margin: 0 0 6px; color: var(--navy); }
p { margin: 0 0 10px; }
.section p:last-child { margin-bottom: 0; }
.crumb { font-size: 13px; color: var(--muted); margin: 0 0 8px; }
.crumb a { color: var(--muted); text-decoration: none; }
.crumb a:hover { color: var(--blue); }

.split { display: grid; grid-template-columns: 1fr 1fr; gap: 22px; }
.table-wrap { overflow-x: auto; }
.plain-table { width: 100%; border-collapse: collapse; background: #fff; border: 1px solid var(--line); }
.plain-table th, .plain-table td {
  text-align: left; padding: 8px 10px; border-bottom: 1px solid var(--line);
  font-size: 14px; vertical-align: top;
}
.plain-table th { background: #eef3f9; color: #314056; font-size: 12px; font-weight: 700; }
.plain-table tr:last-child td { border-bottom: 0; }
.rtp-high { color: var(--ok); font-weight: 700; }
.rtp-mid { color: var(--blue-d); font-weight: 700; }

.steps { margin: 0; padding: 0; list-style: none; counter-reset: step; }
.steps li {
  position: relative; padding: 8px 0 8px 40px;
  border-bottom: 1px solid var(--line); counter-increment: step;
}
.steps li:last-child { border-bottom: 0; }
.steps li::before {
  content: counter(step);
  position: absolute; left: 0; top: 8px;
  width: 24px; height: 24px; background: var(--blue); color: #fff;
  font-size: 12px; font-weight: 700; display: grid; place-items: center;
}
.steps b { display: block; }

.note, .warn, .okbox {
  border: 1px solid; padding: 10px 12px; font-size: 14px; margin: 12px 0;
  background: #fff;
}
.note { border-color: #b7cce6; background: #f4f8fd; }
.warn { border-color: #e2cf9a; background: #fff9ea; color: #5d4314; }
.okbox { border-color: #b7dcc6; background: #f1faf4; }

.cred-box {
  display: grid; grid-template-columns: 1fr 1fr auto; gap: 12px; align-items: end;
  background: #fff; border: 1px solid var(--line); padding: 14px;
  margin: 4px 0 16px;
}
.cred-item label {
  display: block; font-size: 12px; font-weight: 700; color: var(--muted);
  text-transform: uppercase; letter-spacing: .04em; margin-bottom: 4px;
}
.cred-item strong { display: block; font-size: 22px; font-family: Consolas, "Courier New", monospace; color: var(--navy); }
.cred-item small { display: block; margin-top: 3px; font-size: 12px; color: var(--muted); }
.cred-box .btn { align-self: center; }
@media (max-width: 860px) {
  .cred-box { grid-template-columns: 1fr; }
}

.filebox {
  display: grid; grid-template-columns: 1fr auto; gap: 14px; align-items: center;
  background: #fff; border: 1px solid var(--line); padding: 12px 14px;
  margin: 4px 0 16px;
}
.filebox .name { font-weight: 700; color: var(--navy); }
.filebox .spec { font-size: 13px; color: var(--muted); margin-top: 2px; }

.cols3 { display: grid; grid-template-columns: repeat(3, 1fr); gap: 12px; }
.block { background: #fff; border: 1px solid var(--line); padding: 12px 14px; }
.block h3 { border-bottom: 2px solid var(--blue); padding-bottom: 6px; margin-bottom: 8px; }
.block .steps li { padding-top: 7px; padding-bottom: 7px; }
.block .steps li::before { top: 7px; }

details.faq { background: #fff; border: 1px solid var(--line); border-bottom: 0; }
details.faq:last-of-type { border-bottom: 1px solid var(--line); }
details.faq summary { cursor: pointer; padding: 9px 12px; font-weight: 700; }
details.faq p { margin: 0; padding: 0 12px 10px; color: #3d4754; }

.site-footer { background: var(--navy); color: #b7c4d4; padding: 22px 0 14px; font-size: 13px; }
.foot-grid { display: grid; grid-template-columns: 1.6fr 1fr; gap: 28px; margin-bottom: 14px; }
.site-footer a { color: #d5e4f6; text-decoration: none; }
.site-footer a:hover { text-decoration: underline; }
.site-footer h3 { color: #fff; font-size: 13px; margin: 0 0 8px; }
.site-footer p { margin: 0; }
.site-footer ul { list-style: none; margin: 0; padding: 0; }
.site-footer li { margin: 0 0 5px; }
.legal {
  border-top: 1px solid #2a4466; padding-top: 10px;
  display: flex; justify-content: space-between; gap: 10px; flex-wrap: wrap;
}

@media (max-width: 860px) {
  .hero-grid, .split, .cols3, .foot-grid, .filebox { grid-template-columns: 1fr; }
  .topbar > :last-child { display: none; }
  .logo .word { display: none; }
  .logo .name { display: inline; }
  .site-header { flex-wrap: wrap; }
  .menu-btn { display: none; }
  .nav {
    display: flex; width: 100%; order: 3; gap: 12px; flex-wrap: wrap;
    padding: 6px 0 4px; border-top: 1px solid var(--line);
  }
  .header-cta {
    display: flex; width: 100%; order: 4; padding-bottom: 4px;
  }
  .header-cta .btn { flex: 1; text-align: center; }
  h1 { font-size: 22px; overflow-wrap: break-word; }
  .wrap { padding: 0 14px; }
  .topbar, .site-header { padding-left: 14px; padding-right: 14px; }
  .hero { padding-top: 16px; }
  .meta-line { margin-bottom: 8px; }
  .hero-art img { max-height: 280px; }
}
