:root {
  color-scheme: dark;
  --ink: #eaf3ff;
  --muted: #aec0d6;
  --line: #283c57;
  --blue: #65baff;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
  scroll-padding-top: 24px;
}

body {
  margin: 0;
  color: var(--ink);
  background: #081325;
  font: 17px/1.6 Inter,"Segoe UI",sans-serif;
}

a {
  color: inherit;
}

a,button,select,summary {
  touch-action: manipulation;
}

a:focus-visible,select:focus-visible,summary:focus-visible {
  outline: 3px solid #8bd7ff;
  outline-offset: 5px;
}

.wrap {
  width: min(1150px,90%);
  margin: auto;
}

header,footer,.nav,.links,.toolshead {
  display: flex;
  gap: 22px;
  align-items: center;
  justify-content: space-between;
}

header {
  min-height: 76px;
  border-bottom: 1px solid var(--line);
}

.brand {
  font-size: 22px;
  letter-spacing: -.055em;
  font-weight: 750;
  text-decoration: none;
}

.brand i {
  font-style: normal;
  color: var(--blue);
}

.nav a,.links a {
  font-size: 15px;
  text-decoration: none;
}

.nav a:hover,.links a:hover,summary:hover {
  color: #8bcfff;
}

select {
  background: #12243a;
  color: var(--ink);
  border: 1px solid #47617e;
  border-radius: 6px;
  padding: 6px;
}

.hero {
  display: grid;
  grid-template-columns: 1.2fr .8fr;
  align-items: center;
  gap: 6%;
  padding: clamp(40px,6vw,84px) 0;
}

.hero h1 {
  font-size: clamp(48px,6.3vw,88px);
  line-height: 1.03;
  letter-spacing: -.065em;
  margin: 0;
}

.hero h1 span {
  color: var(--blue);
}

p {
  color: var(--muted);
}

.hero p {
  max-width: 48ch;
  margin: 22px 0 26px;
}

.button {
  display: inline-block;
  background: #a2d8ff;
  color: #08213c;
  font-weight: 680;
  padding: 11px 19px;
  border-radius: 6px;
  text-decoration: none;
}

.button:hover {
  background: #c9eaff;
}

.plate {
  position: relative;
  margin: 0;
  display: grid;
  place-items: center;
  min-height: 330px;
  border-radius: 20px;
  border: 1px solid #314c6c;
  background: radial-gradient(ellipse,#204971 0,transparent 65%),repeating-linear-gradient(0deg,transparent 0 28px,#24374f66 29px),repeating-linear-gradient(90deg,transparent 0 28px,#24374f66 29px),#0b1c31;
}

.seal {
  width: clamp(170px,16vw,240px);
  padding: 14px;
  background: #fffefa;
  border: 3px solid #74b8ea;
  border-radius: 45% 45% 47% 47% / 25% 25% 55% 55%;
  box-shadow: 0 0 0 8px #0b2136,0 0 0 9px #3e6382,0 0 50px #2e97ff42;
}

.seal img {
  display: block;
  width: 100%;
  border-radius: inherit;
}

.services,.tools {
  padding: 34px 0 44px;
  border-top: 1px solid var(--line);
}

h2 {
  font-size: clamp(26px,3vw,40px);
  letter-spacing: -.05em;
  line-height: 1.15;
  margin: 0 0 22px;
}

.grid {
  display: grid;
  grid-template-columns: repeat(3,1fr);
  gap: 28px;
}

.grid article {
  border-left: 2px solid #3979ac;
  padding-left: 17px;
}

h3 {
  font-size: 21px;
  letter-spacing: -.025em;
  line-height: 1.25;
  margin: 0;
}

.grid p,.tool p {
  margin: 7px 0 0;
}

.tool {
  border: 1px solid var(--line);
  border-radius: 12px;
  padding: 25px;
  background: #0e2036;
}

.toolshead {
  align-items: flex-start;
}

.tag {
  font: 14px Consolas,monospace;
  color: #95cbf6;
}

.links {
  justify-content: flex-start;
  flex-wrap: wrap;
  margin-top: 20px;
}

details {
  border-top: 1px solid var(--line);
  margin-top: 20px;
  padding-top: 13px;
}

summary {
  cursor: pointer;
}

pre {
  overflow: auto;
  background: #081422;
  padding: 16px;
  font: 14px/1.65 Consolas,monospace;
}

.support {
  margin-top: 18px;
  color: var(--muted);
}

footer {
  border-top: 1px solid var(--line);
  padding: 20px 0 32px;
  color: var(--muted);
  font-size: 14px;
}

@media(max-width:720px) {
  .hero,.grid {
    grid-template-columns: 1fr;
  }

  .plate {
    min-height: 260px;
    margin-top: 32px;
  }

  .hero {
    gap: 0;
  }

  .grid {
    gap: 20px;
  }

  .nav {
    gap: 10px;
  }

  .toolshead {
    display: block;
  }

  .tag {
    display: block;
    margin-top: 8px;
  }

}

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

}

@media (max-width: 720px) {
  header.wrap {
    flex-wrap: wrap;
    padding-block: 12px;
    gap: 8px 16px;
  }

  .nav {
    flex-wrap: wrap;
  }

  .hero > *, .grid > *, .tool {
    min-width: 0;
  }

  .hero h1 {
    overflow-wrap: anywhere;
  }
}
