:root {
  color-scheme: light;
  --ink: #10213f;
  --text: #334760;
  --muted: #536984;
  --blue: #175abf;
  --line: #d6e0ed;
  --pale: #edf4ff;
  --navy: #102e54;
}
* {
  box-sizing: border-box;
}
html {
  scroll-padding-top: 20px;
}
body {
  margin: 0;
  background: #fafcff;
  color: var(--ink);
  font:
    16px/1.7 "HarmonyOS Sans SC",
    "MiSans",
    "PingFang SC",
    "Microsoft YaHei",
    sans-serif;
  -webkit-text-size-adjust: 100%;
}
a {
  color: var(--blue);
  text-underline-offset: 0.21em;
}
a:hover {
  text-decoration: underline;
}
a:focus-visible,
summary:focus-visible {
  outline: 3px solid #ed9e30;
  outline-offset: 4px;
}
img {
  max-width: 100%;
  height: auto;
  display: block;
}
.wrap {
  width: min(1080px, calc(100% - 48px));
  margin-inline: auto;
}
.top {
  background: white;
  border-bottom: 1px solid var(--line);
}
.top .wrap,
footer .wrap {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  flex-wrap: wrap;
}
.top .wrap {
  padding-block: 17px;
}
.brand {
  display: inline-flex;
  gap: 10px;
  align-items: center;
  color: var(--ink);
  font-size: 18px;
  font-weight: 750;
  text-decoration: none;
}
.brand img {
  width: 35px;
  height: 35px;
  border-radius: 9px;
}
.top nav,
footer nav,
.actions {
  display: flex;
  align-items: center;
  gap: 8px 22px;
  flex-wrap: wrap;
}
nav a {
  font-size: 14px;
  color: var(--text);
  text-decoration: none;
}
nav a[aria-current] {
  color: var(--blue);
  font-weight: 700;
}
main {
  padding: clamp(36px, 7vw, 82px) 0;
}
.intro {
  max-width: 760px;
}
.intro p,
.hero p {
  font-size: 18px;
  color: var(--text);
  max-width: 62ch;
}
h1,
h2,
h3,
p {
  margin: 0;
}
h1 {
  font-size: clamp(34px, 5vw, 58px);
  line-height: 1.18;
  letter-spacing: -0.035em;
  text-wrap: balance;
}
h2 {
  font-size: clamp(22px, 3vw, 30px);
  line-height: 1.35;
}
h3 {
  font-size: 18px;
  line-height: 1.45;
}
p + p,
p + ul,
h1 + p,
h2 + p,
h3 + p {
  margin-top: 0.7em;
}
.actions {
  margin-top: 1.5rem;
}
.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 44px;
  padding: 8px 20px;
  border-radius: 8px;
  background: var(--blue);
  color: #fff;
  text-decoration: none;
  font-weight: 650;
}
.button:hover {
  background: #12498f;
  text-decoration: none;
}
.panel {
  padding: clamp(24px, 4vw, 44px);
  border: 1px solid var(--line);
  background: white;
  border-radius: 18px;
}
.two {
  display: grid;
  grid-template-columns: 1.55fr 1fr;
  gap: clamp(20px, 4vw, 48px);
  align-items: start;
  margin-top: 36px;
}
.body-copy p,
.body-copy li,
details p {
  color: var(--text);
}
.body-copy section + section,
.steps article + article {
  margin-top: 24px;
  padding-top: 24px;
  border-top: 1px solid var(--line);
}
.meta {
  font-size: 14px;
  color: var(--muted);
}
.toc {
  background: var(--pale);
}
.toc a {
  display: block;
  padding: 6px 0;
}
.toc h2 {
  font-size: 20px;
}
.contact-panel {
  background: var(--pale);
}
.code {
  width: 144px;
  height: 144px;
  margin: 16px 0;
  border-radius: 10px;
}
details {
  border-bottom: 1px solid var(--line);
  padding: 13px 0;
}
details:last-child {
  border-bottom: 0;
}
summary {
  cursor: pointer;
  font-weight: 650;
  line-height: 1.6;
}
details p {
  padding: 6px 0 10px;
}
.hero {
  background: var(--navy);
  color: white;
  border-radius: 20px;
  padding: clamp(28px, 5vw, 58px);
  display: grid;
  grid-template-columns: 0.9fr 1.1fr;
  gap: 36px;
  align-items: center;
}
.hero p,
.hero figcaption {
  color: #d1e1f7;
}
.hero h1 {
  font-size: clamp(35px, 4.6vw, 56px);
}
.hero .button {
  background: white;
  color: var(--navy);
}
.hero .actions > a:not(.button) {
  color: white;
}
.hero figure {
  margin: 0;
}
.hero figure img {
  width: 100%;
  border-radius: 8px;
  border: 1px solid #7192b4;
}
.hero figcaption {
  margin-top: 8px;
  font-size: 13px;
}
.features {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 26px;
  margin-top: 35px;
}
.features article {
  border-top: 3px solid #346fb6;
  padding: 18px 0;
}
.features p {
  color: var(--text);
}
.section-gap {
  margin-top: 42px;
}
footer {
  border-top: 1px solid var(--line);
  background: white;
}
footer .wrap {
  padding-block: 24px;
}
.skip {
  position: absolute;
  left: 12px;
  top: -100px;
  background: white;
  padding: 8px;
  z-index: 3;
}
.skip:focus {
  top: 8px;
}
@media (max-width: 760px) {
  .wrap {
    width: calc(100% - 32px);
  }
  .two,
  .hero,
  .features {
    grid-template-columns: 1fr;
  }
  .two {
    gap: 18px;
  }
  .top .wrap {
    gap: 6px 16px;
  }
  .top nav,
  footer nav {
    gap: 6px 14px;
  }
  .top nav a,
  footer nav a {
    padding-block: 5px;
  }
  .features {
    gap: 6px;
  }
  .hero {
    gap: 24px;
  }
  .toc {
    order: -1;
  }
  .intro p,
  .hero p {
    font-size: 16px;
  }
}
