:root {
  --navy: #091b30;
  --panel: #102841;
  --ink: #102337;
  --muted: #465c70;
  --canvas: #f4f8fc;
  --line: #d7e3ee;
  --white: #fff;
  --blue: #0d52bd;
  --blue-hover: #093c8c;
  --cyan: #59e6e5;
  --ice: #b7cbdc;
  --radius: 18px;
  --gutter: clamp(20px, 4.2vw, 64px);
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  color: var(--ink);
  background: white;
  font-family: system-ui, -apple-system, "Segoe UI", sans-serif;
  font-size: 16px;
  line-height: 1.55;
}

button, a {
  -webkit-tap-highlight-color: transparent;
}

a {
  color: inherit;
  text-decoration: none;
}

button {
  font: inherit;
}

a:focus-visible,
button:focus-visible,
summary:focus-visible {
  outline: 3px solid var(--blue);
  outline-offset: 4px;
}

.dark :is(a, button):focus-visible {
  outline-color: var(--cyan);
}

[id] {
  scroll-margin-top: 20px;
}

[id]:focus {
  outline: none;
}

.skip {
  position: absolute;
  left: 16px;
  top: 8px;
  z-index: 9;
  background: white;
  color: var(--blue);
  padding: 12px;
  transform: translateY(-150%);
  font-weight: 700;
  border-radius: 6px;
  border: 1px solid var(--line);
}

.skip:focus {
  transform: none;
}

.wrap {
  width: min(100% - var(--gutter) * 2, 1240px);
  margin-inline: auto;
}

.top {
  background: white;
  position: relative;
  z-index: 2;
}

.top .wrap {
  min-height: 76px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 9px;
  white-space: nowrap;
  font-size: 22px;
  font-weight: 800;
  letter-spacing: -.055em;
}

.brand img {
  display: block;
  width: 42px;
  height: 42px;
  object-fit: contain;
}

.nav {
  display: flex;
  gap: clamp(18px, 3vw, 44px);
  align-items: center;
  font-size: 14px;
  font-weight: 650;
}

.nav > a:not(.btn):hover,
.textlink:hover,
footer a:hover {
  text-decoration: underline;
  text-underline-offset: 4px;
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  min-height: 48px;
  padding: 10px 18px;
  border: 1px solid transparent;
  border-radius: 9px;
  font-size: 14px;
  font-weight: 750;
  line-height: 1.3;
  text-align: center;
}

.btn.blue {
  color: white;
  background: var(--blue);
}

.btn.blue:hover {
  background: var(--blue-hover);
}

.btn.cyan {
  color: var(--navy);
  background: var(--cyan);
}

.btn.cyan:hover {
  background: #a3f6f5;
}

.btn.ghost {
  border-color: #58718a;
  color: white;
}

.btn.ghost:hover {
  background: #17334d;
}

.ico {
  width: 22px;
  height: 22px;
  display: inline-block;
  vertical-align: middle;
  flex: none;
  stroke: currentColor;
  stroke-width: 1.65;
  fill: none;
  stroke-linejoin: round;
  stroke-linecap: round;
}

.btn .ico,
.textlink .ico {
  width: 17px;
  height: 17px;
}

.menu {
  display: none;
  background: white;
  border: 1px solid var(--line);
  border-radius: 8px;
  min-height: 44px;
  padding: 0 11px;
  align-items: center;
  gap: 7px;
  font-size: 13px;
  font-weight: 700;
  color: var(--ink);
  cursor: pointer;
}

.dark {
  background: var(--navy);
  color: white;
}

.hero {
  overflow: hidden;
  position: relative;
  background: radial-gradient(ellipse at 83% 30%, #133556 0%, var(--navy) 57%);
  border-bottom: 3px solid var(--cyan);
}

.hero .wrap {
  display: grid;
  grid-template-columns: 1.05fr 1fr;
  align-items: center;
  gap: clamp(28px, 5vw, 78px);
  padding-block: 88px 92px;
}

.label {
  margin: 0 0 15px;
  display: flex;
  align-items: center;
  gap: 10px;
  color: var(--blue);
  font-size: 12px;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: .14em;
  line-height: 1.4;
}

.label::before {
  content: "";
  width: 19px;
  height: 2px;
  background: currentColor;
  display: block;
  flex: none;
}

.dark .label {
  color: var(--cyan);
}

h1, h2, h3, p {
  margin: 0;
}

h1 {
  font-size: clamp(42px, 5.15vw, 76px);
  line-height: 1.02;
  letter-spacing: -.065em;
  font-weight: 780;
}

h1 span {
  display: block;
}

h1 span:last-child {
  color: var(--cyan);
}

.lead {
  max-width: 50ch;
  font-size: 17px;
  line-height: 1.6;
  color: var(--muted);
}

.hero .lead {
  margin-top: 23px;
  color: var(--ice);
}

.actions {
  margin-top: 25px;
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}

.map {
  min-width: 0;
  margin: 0;
  padding: 21px;
  background-color: #0d243c;
  background-image: linear-gradient(#25476155 1px, transparent 1px), linear-gradient(90deg, #25476155 1px, transparent 1px);
  background-size: 24px 24px;
  border: 1px solid #365471;
  border-radius: var(--radius);
  box-shadow: 0 28px 70px #030c1766;
}

.map header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 10px;
  font-size: 10px;
  letter-spacing: .12em;
  font-weight: 800;
  text-transform: uppercase;
  color: var(--ice);
}

.map header span:first-child {
  color: var(--cyan);
}

.map svg {
  display: block;
  width: 100%;
  height: auto;
  margin: 12px 0 4px;
}

.map figcaption {
  display: flex;
  align-items: center;
  gap: 9px;
  color: var(--ice);
  border-top: 1px solid #365471;
  padding-top: 12px;
  font-size: 12px;
}

.dot {
  width: 8px;
  height: 8px;
  background: var(--cyan);
  border-radius: 50%;
  display: inline-block;
  flex: none;
}

section.band {
  padding: 76px 0;
}

.section-head {
  margin-bottom: 29px;
}

h2 {
  font-size: clamp(32px, 4vw, 54px);
  line-height: 1.08;
  letter-spacing: -.055em;
  font-weight: 780;
  text-wrap: balance;
}

.section-head .lead {
  margin-top: 13px;
  max-width: 65ch;
}

h3 {
  font-size: 22px;
  line-height: 1.18;
  letter-spacing: -.035em;
}

.triad {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 16px;
}

.card {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 13px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 22px;
  background: white;
  min-width: 0;
}

.card-top {
  display: flex;
  align-items: center;
  justify-content: space-between;
  width: 100%;
  gap: 10px;
}

.iconbox {
  display: grid;
  place-items: center;
  width: 44px;
  height: 44px;
  border-radius: 10px;
  background: #e8f2ff;
  color: var(--blue);
  flex: none;
}

.index {
  font-size: 11px;
  font-weight: 800;
  color: var(--blue);
  letter-spacing: .13em;
}

.card p,
.sector p,
.step p {
  color: var(--muted);
  font-size: 15px;
}

.textlink {
  display: inline-flex;
  gap: 6px;
  align-items: center;
  min-height: 44px;
  color: var(--blue);
  font-size: 14px;
  font-weight: 760;
}

.card .textlink {
  margin-top: auto;
}

.friction {
  display: grid;
  grid-template-columns: auto 1fr;
  align-items: center;
  gap: 16px;
  padding: 15px 18px;
  margin-top: 16px;
  border: 1px solid var(--line);
  background: var(--canvas);
  border-radius: 12px;
  font-size: 14px;
  color: var(--muted);
}

.friction strong {
  color: var(--ink);
}

.explore {
  background: linear-gradient(120deg, var(--navy), #102e4a);
}

.explore .lead,
.dark .muted {
  color: var(--ice);
}

.explorer {
  display: grid;
  grid-template-columns: minmax(255px, .7fr) minmax(0, 1.3fr);
  gap: 16px;
  align-items: stretch;
}

.choices {
  display: grid;
  gap: 6px;
  align-content: start;
}

.choice {
  display: flex;
  align-items: center;
  gap: 10px;
  text-align: left;
  color: #e5eef8;
  border: 1px solid #39556d;
  border-radius: 9px;
  background: #112a42;
  padding: 10px 12px;
  min-height: 48px;
  cursor: pointer;
  font-size: 14px;
  font-weight: 650;
}

.choice .tail {
  margin-left: auto;
}

.choice:hover {
  background: #1b3953;
}

.choice[aria-pressed=true] {
  border-color: var(--cyan);
  background: #163b50;
  color: #a3f6f5;
  box-shadow: inset 3px 0 var(--cyan);
}

.choice .ico {
  width: 17px;
  height: 17px;
}

.detail {
  border: 1px solid #39556d;
  border-radius: var(--radius);
  padding: 24px;
  background: #102841;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 12px;
  min-width: 0;
}

.detail h3 {
  font-size: clamp(24px, 2.65vw, 36px);
}

.detail p {
  font-size: 15px;
  max-width: 54ch;
  color: #d1dfeb;
}

.tag {
  padding: 4px 8px;
  border-radius: 5px;
  background: #1b3d53;
  color: #abf0ef;
  font-size: 10px;
  letter-spacing: .12em;
  text-transform: uppercase;
  font-weight: 800;
}

.flow {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 7px;
  width: 100%;
  margin: 2px 0 0;
  padding: 0;
  list-style: none;
}

.flow li {
  border: 1px solid #3f5c76;
  background: #0c2137;
  border-radius: 8px;
  padding: 8px 10px;
  font-size: 13px;
  font-weight: 700;
  color: white;
  overflow-wrap: anywhere;
}

.flow small {
  display: block;
  color: var(--cyan);
  font-size: 10px;
  letter-spacing: .1em;
}

.detail .textlink {
  color: var(--cyan);
  margin-top: auto;
}

.method {
  background: var(--canvas);
}

.method .section-head {
  display: grid;
  grid-template-columns: 1.1fr .9fr;
  gap: 26px;
  align-items: end;
}

.method .section-head .lead {
  margin: 0;
}

.steps {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  padding: 0;
  margin: 0;
  list-style: none;
  gap: 12px;
}

.step {
  border-top: 2px solid var(--blue);
  padding: 14px 12px 0 0;
}

.step h3 {
  margin: 8px 0;
}

.sectors {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 16px;
}

.sector {
  border-top: 1px solid var(--line);
  padding: 13px 10px 0 0;
}

.sector h3 {
  margin-bottom: 7px;
}

.contact {
  background: var(--canvas);
  padding-bottom: 48px;
}

.contact-box {
  display: grid;
  grid-template-columns: 1.1fr .9fr;
  gap: 32px;
  border-radius: 22px;
  background: radial-gradient(ellipse at 100% 20%, #18436a, var(--navy) 75%);
  padding: clamp(24px, 5vw, 60px);
  align-items: center;
}

.contact-box .lead {
  color: var(--ice);
  margin: 0 0 16px;
}

.contact-box .address {
  display: block;
  color: #c4d7e7;
  font-size: 13px;
  margin-top: 9px;
}

.address:hover {
  text-decoration: underline;
}

footer {
  background: var(--canvas);
  border-top: 1px solid var(--line);
  padding: 20px 0;
}

footer .wrap {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 14px;
  flex-wrap: wrap;
  font-size: 13px;
  color: var(--muted);
}

footer .brand {
  font-size: 17px;
  color: var(--ink);
}

footer .brand img {
  width: 32px;
  height: 32px;
}

/* Accessibility & Progressive Enhancement */
.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}

.fallback-solutions {
  display: grid;
  gap: 16px;
  margin-top: 20px;
}

.fallback-card {
  gap: 12px;
}

.fallback-header {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-bottom: 4px;
  flex-wrap: wrap;
}

.fallback-cat {
  font-size: 13px;
  font-weight: 750;
  color: var(--cyan);
  text-transform: uppercase;
  letter-spacing: 0.08em;
}

.js .fallback-solutions {
  display: none;
}

.no-js .explorer {
  display: none;
}

.no-js .menu {
  display: none;
}

@media (max-width: 1023px) {
  .hero .wrap {
    gap: 28px;
    padding-block: 64px;
  }
  section.band {
    padding: 58px 0;
  }
  .card {
    padding: 17px;
  }
}

@media (max-width: 767px) {
  .top .wrap {
    min-height: 64px;
  }
  .brand {
    font-size: 20px;
  }
  .brand img {
    width: 36px;
    height: 36px;
  }
  .menu {
    display: inline-flex;
  }
  .nav {
    display: none;
    position: absolute;
    top: 100%;
    inset-inline: 0;
    background: white;
    padding: 10px var(--gutter) 18px;
    border-bottom: 1px solid var(--line);
    box-shadow: 0 12px 24px #07192e22;
    gap: 2px;
    align-items: stretch;
  }
  .nav.open {
    display: grid;
  }
  .nav a {
    min-height: 44px;
    display: flex;
    align-items: center;
  }
  .nav .btn {
    margin-top: 4px;
  }
  .hero .wrap {
    grid-template-columns: 1fr;
    padding-block: 43px 35px;
    gap: 26px;
  }
  .hero .lead {
    margin-top: 17px;
    font-size: 16px;
  }
  h1 {
    font-size: clamp(36px, 10.7vw, 62px);
  }
  .actions {
    margin-top: 19px;
  }
  .actions .btn {
    flex: 1 0 100%;
  }
  .map {
    padding: 12px;
  }
  .map svg {
    margin: 7px 0 2px;
  }
  .map svg text {
    font-size: 18px;
  }
  section.band {
    padding: 46px 0;
  }
  .section-head {
    margin-bottom: 21px;
  }
  .lead {
    font-size: 16px;
  }
  .triad,
  .sectors,
  .explorer,
  .method .section-head,
  .contact-box {
    grid-template-columns: 1fr;
    gap: 12px;
  }
  .card {
    gap: 9px;
  }
  .friction {
    grid-template-columns: 1fr;
    gap: 4px;
  }
  .explorer {
    gap: 12px;
  }
  .choices {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
  .choice {
    padding: 8px;
    gap: 6px;
    font-size: 12px;
    line-height: 1.25;
    min-height: 52px;
  }
  .choice .tail {
    display: none;
  }
  .detail {
    padding: 17px;
  }
  .flow li {
    font-size: 12px;
    padding: 7px;
  }
  .steps {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    row-gap: 20px;
  }
  .contact-box {
    gap: 14px;
  }
  .contact-box .btn {
    width: 100%;
  }
  footer .wrap {
    gap: 6px 12px;
  }

  .no-js .top .wrap {
    flex-wrap: wrap;
    gap: 0;
    padding-block: 8px;
  }
  .no-js .nav {
    display: flex !important;
    position: static;
    flex-wrap: wrap;
    gap: 4px 14px;
    padding: 4px 0;
    border: 0;
    box-shadow: none;
  }
}

@media (max-width: 359px) {
  .choices {
    grid-template-columns: 1fr;
  }
  .flow {
    grid-template-columns: 1fr;
  }
  h1 {
    font-size: 34px;
  }
  .map header {
    font-size: 9px;
  }
}

@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }
}
