:root {
  --a-ink: #13547a;
  --a-body: #4b5563;
  --a-muted: #717275;
  --a-line: #e2e8f0;
  --a-soft: #f0f8ff;
  --a-accent: #e8663d;
  --a-teal: #80d0c7;
  --a-ok: #12805c;
  --a-bad: #b42318;
  --a-sec: 68px;
  --a-sec-sm: 44px;
  --a-head: 30px;
  --a-gap: 24px;
  --a-card: 26px;
}

body {
  color: var(--a-body);
  font-family: 'Open Sans', system-ui, -apple-system, sans-serif;
}

h1, h2, h3, .hero-title, .block-title, .info-title {
  font-family: 'Montserrat', system-ui, -apple-system, sans-serif;
}

.navbar {
  background: rgba(255, 255, 255, 0.96);
  border-bottom: 1px solid var(--a-line);
  padding-top: 10px;
  padding-bottom: 10px;
}
.navbar .navbar-brand {
  font-family: 'Montserrat', system-ui, sans-serif;
  font-size: 1.05rem;
  font-weight: 700;
  color: var(--a-ink);
}
.navbar .nav-link {
  color: var(--a-body);
  font-size: 0.93rem;
  font-weight: 500;
  padding: 8px 14px;
}
.navbar .nav-link.active,
.navbar .nav-link:hover {
  color: var(--a-accent);
}

.eyebrow {
  display: inline-block;
  font-size: 0.7rem;
  font-weight: 700;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: var(--a-teal);
}
.eyebrow--dark {
  color: var(--a-accent);
}

.hero-band {
  position: relative;
  background-size: cover;
  background-position: center;
  padding-top: 132px;
  padding-bottom: 58px;
}
.hero-veil {
  position: absolute;
  inset: 0;
  background: linear-gradient(90deg, rgba(19, 84, 122, 0.94) 0%, rgba(19, 84, 122, 0.82) 52%, rgba(19, 84, 122, 0.42) 100%);
}
.hero-inner {
  position: relative;
  z-index: 2;
}
.hero-title {
  margin: 12px 0 14px 0;
  font-size: clamp(1.85rem, 3.4vw, 2.7rem);
  line-height: 1.16;
  letter-spacing: -0.02em;
  font-weight: 700;
  color: #fff;
}
.hero-lead {
  max-width: 60ch;
  font-size: 1.02rem;
  line-height: 1.7;
  color: rgba(255, 255, 255, 0.88);
}

.section {
  padding-top: var(--a-sec);
  padding-bottom: var(--a-sec);
}
.section-bg {
  background: var(--a-soft);
}

.block-head {
  margin-bottom: var(--a-head);
}
.block-title {
  font-size: clamp(1.35rem, 2.2vw, 1.9rem);
  line-height: 1.24;
  letter-spacing: -0.015em;
  font-weight: 700;
  color: var(--a-ink);
}
.block-head .eyebrow + .block-title {
  margin-top: 8px;
}

.body-lg {
  font-size: 1.01rem;
  line-height: 1.72;
  color: var(--a-body);
}
.body-lg + .body-lg {
  margin-top: 16px;
}

.side-figure {
  width: 100%;
  height: 100%;
  min-height: 180px;
  background-size: cover;
  background-position: center;
  border-radius: 10px;
}
.row.align-items-center:has(> [class*="col-"] > .side-figure) { align-items: stretch !important; }
.row:has(> [class*="col-"] > .side-figure) > [class*="col-"] { display: flex; flex-direction: column; justify-content: center; }
.row:has(> [class*="col-"] > .side-figure) > [class*="col-"] > .side-figure { flex: 1 1 auto; }

.callout-note {
  margin: var(--a-head) 0 0 0;
  padding: 14px 18px;
  background: #fff;
  border-left: 3px solid var(--a-accent);
  border-radius: 0 6px 6px 0;
  font-size: 0.93rem;
  line-height: 1.7;
  color: var(--a-body);
}
.section:not(.section-bg) .callout-note {
  background: var(--a-soft);
}

.info-card,
.step-card,
.lane,
.sign-card {
  display: flex;
  flex-direction: column;
  padding: var(--a-card);
  background: #fff;
  border: 1px solid var(--a-line);
  border-radius: 10px;
}
.section-bg .info-card,
.section-bg .step-card {
  background: #fff;
}
.info-title {
  margin: 0 0 8px 0;
  font-size: 1.02rem;
  font-weight: 700;
  line-height: 1.32;
  color: var(--a-ink);
}
.info-text {
  font-size: 0.93rem;
  line-height: 1.65;
  color: var(--a-muted);
}

.step-card .step-num {
  align-self: flex-start;
  margin-bottom: 10px;
  padding: 3px 10px;
  border-radius: 999px;
  background: rgba(232, 102, 61, 0.1);
  color: var(--a-accent);
  font-family: 'Montserrat', system-ui, sans-serif;
  font-size: 0.74rem;
  font-weight: 700;
  letter-spacing: 0.05em;
}

.table-wrap {
  overflow-x: auto;
  border: 1px solid var(--a-line);
  border-radius: 10px;
  background: #fff;
}
.matrix-table {
  width: 100%;
  margin: 0;
  border-collapse: collapse;
  font-size: 0.92rem;
}
.matrix-table th,
.matrix-table td {
  padding: 13px 16px;
  text-align: left;
  vertical-align: top;
  border-bottom: 1px solid var(--a-line);
}
.matrix-table thead th {
  font-family: 'Montserrat', system-ui, sans-serif;
  font-size: 0.76rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--a-ink);
  background: var(--a-soft);
  white-space: nowrap;
}
.matrix-table tbody th {
  font-weight: 600;
  color: var(--a-ink);
}
.matrix-table td {
  color: var(--a-muted);
}
.matrix-table tbody tr:last-child th,
.matrix-table tbody tr:last-child td {
  border-bottom: 0;
}
.matrix-table .row--flag th,
.matrix-table .row--flag td {
  background: rgba(232, 102, 61, 0.05);
}

.mark {
  display: inline-block;
  min-width: 44px;
  padding: 2px 9px;
  border-radius: 999px;
  font-size: 0.74rem;
  font-weight: 700;
  letter-spacing: 0.04em;
  text-align: center;
  text-transform: uppercase;
}
.mark--yes {
  background: rgba(18, 128, 92, 0.1);
  color: var(--a-ok);
}
.mark--no {
  background: rgba(113, 114, 117, 0.1);
  color: var(--a-muted);
}
.mark--part {
  background: rgba(232, 102, 61, 0.1);
  color: var(--a-accent);
}

.lane {
  border-left: 4px solid var(--a-line);
}
.lane-k {
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--a-muted);
}
.lane-s {
  margin-top: 8px;
  font-size: 1rem;
  line-height: 1.6;
  color: var(--a-ink);
  font-weight: 600;
}
.lane--stale {
  border-left-color: #94a3b8;
}
.lane--real {
  border-left-color: var(--a-accent);
}
.gap-bar {
  margin-top: 16px;
  padding: 11px 18px;
  border-radius: 8px;
  background: var(--a-ink);
  color: #fff;
  font-family: 'Montserrat', system-ui, sans-serif;
  font-size: 0.86rem;
  font-weight: 600;
  letter-spacing: 0.04em;
  text-align: center;
}

.sign-card {
  border-top: 3px solid var(--a-line);
}
.sign-role {
  font-family: 'Montserrat', system-ui, sans-serif;
  font-size: 1.02rem;
  font-weight: 700;
  color: var(--a-ink);
}
.sign-act {
  margin-top: 6px;
  font-size: 0.93rem;
  line-height: 1.6;
  color: var(--a-muted);
}
.sign-state {
  align-self: flex-start;
  margin-top: 14px;
  padding: 3px 11px;
  border-radius: 999px;
  font-size: 0.7rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}
.sign--signed {
  border-top-color: var(--a-ok);
}
.sign--signed .sign-state {
  background: rgba(18, 128, 92, 0.1);
  color: var(--a-ok);
}
.sign--pending {
  border-top-color: var(--a-accent);
}
.sign--pending .sign-state {
  background: rgba(232, 102, 61, 0.1);
  color: var(--a-accent);
}
.sign--missing {
  border-top-color: var(--a-bad);
}
.sign--missing .sign-state {
  background: rgba(180, 35, 24, 0.09);
  color: var(--a-bad);
}

.result-row {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 12px 18px;
  margin-top: 18px;
  padding: 14px 18px;
  border: 1px solid var(--a-line);
  border-radius: 10px;
  background: #fff;
}
.result-ok {
  padding: 5px 14px;
  border-radius: 999px;
  background: rgba(18, 128, 92, 0.1);
  color: var(--a-ok);
  font-family: 'Montserrat', system-ui, sans-serif;
  font-size: 0.85rem;
  font-weight: 700;
}
.result-warn {
  font-size: 0.9rem;
  line-height: 1.55;
  color: var(--a-muted);
}

.bar-chart {
  padding: 22px 24px;
  background: #fff;
  border: 1px solid var(--a-line);
  border-radius: 10px;
}
.bar-row {
  display: grid;
  grid-template-columns: minmax(140px, 15rem) 1fr auto;
  align-items: center;
  gap: 16px;
  padding: 11px 0;
  border-bottom: 1px solid var(--a-line);
}
.bar-row:last-child {
  border-bottom: 0;
}
.bar-l {
  font-size: 0.9rem;
  line-height: 1.45;
  color: var(--a-ink);
  font-weight: 500;
}
.bar-track {
  height: 9px;
  border-radius: 999px;
  background: var(--a-soft);
  overflow: hidden;
}
.bar-fill {
  display: block;
  height: 100%;
  border-radius: 999px;
}
.bar--ok {
  background: var(--a-ok);
}
.bar--bad {
  background: var(--a-accent);
}
.bar-v {
  font-family: 'Montserrat', system-ui, sans-serif;
  font-size: 0.95rem;
  font-weight: 700;
  color: var(--a-ink);
  min-width: 3rem;
  text-align: right;
}
.bar-unit {
  margin: 12px 0 0 0;
  font-size: 0.84rem;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  color: var(--a-muted);
}

.cta-band {
  background: var(--a-ink);
}
.cta-title {
  font-size: clamp(1.3rem, 2.2vw, 1.85rem);
  line-height: 1.26;
  font-weight: 700;
  color: #fff;
  margin-bottom: 16px;
}
.cta-mail {
  display: inline-block;
  font-size: 1.02rem;
  font-weight: 600;
  color: #fff;
  border-bottom: 2px solid rgba(255, 255, 255, 0.5);
  text-decoration: none;
}
.cta-mail:hover {
  color: #fff;
  border-bottom-color: #fff;
}
.cta-k {
  display: block;
  margin-bottom: 12px;
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--a-teal);
}
.not-list {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 8px 20px;
  margin: 0;
  padding: 0;
  list-style: none;
}
.not-list li {
  position: relative;
  padding-left: 18px;
  font-size: 0.92rem;
  line-height: 1.55;
  color: rgba(255, 255, 255, 0.85);
}
.not-list li:before {
  content: "";
  position: absolute;
  left: 0;
  top: 0.6em;
  width: 8px;
  height: 2px;
  background: var(--a-teal);
}

.site-foot {
  padding-top: var(--a-sec-sm);
  padding-bottom: 22px;
  background: #fff;
  border-top: 1px solid var(--a-line);
}
.foot-brand {
  display: block;
  font-family: 'Montserrat', system-ui, sans-serif;
  font-size: 1.02rem;
  font-weight: 700;
  color: var(--a-ink);
}
.foot-tag {
  margin-top: 6px;
  font-size: 0.9rem;
  line-height: 1.6;
  color: var(--a-muted);
}
.foot-k {
  display: block;
  margin-bottom: 10px;
  font-size: 0.7rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--a-muted);
}
.foot-links {
  margin: 0;
  padding: 0;
  list-style: none;
}
.foot-links li + li {
  margin-top: 7px;
}
.foot-links a,
.foot-links span {
  font-size: 0.9rem;
  color: var(--a-body);
  text-decoration: none;
}
.foot-links a:hover {
  color: var(--a-accent);
}
.foot-bottom {
  margin-top: 32px;
  padding-top: 18px;
  border-top: 1px solid var(--a-line);
  font-size: 0.82rem;
  line-height: 1.7;
  color: var(--a-muted);
}

@media (max-width: 991.98px) {
  :root {
    --a-sec: 46px;
    --a-sec-sm: 34px;
    --a-head: 22px;
    --a-card: 20px;
  }
  .hero-band {
    padding-top: 104px;
    padding-bottom: 40px;
  }
  .hero-veil {
    background: rgba(19, 84, 122, 0.9);
  }
  .side-figure {
    min-height: 200px;
    aspect-ratio: 3 / 2;
    height: auto;
  }
  .bar-row {
    grid-template-columns: 1fr auto;
    gap: 8px 12px;
  }
  .bar-track {
    grid-column: 1 / -1;
  }
  .not-list {
    grid-template-columns: 1fr;
  }
}
