:root {
  color-scheme: dark;
  --canvas: #101010;
  --surface: #202020;
  --workbench: #1c1b1e;
  --text-primary: #f4f4f4;
  --text-secondary: #a6a6a6;
  --edge: #363636;
  --accent: #f08199;
  --accent-hover: #f79bb0;
  --type-section-size: 32px;
  --type-section-weight: 500;
  --type-section-leading: 1.45;
  --type-section-tracking: -.6px;
  --type-body-size: 18px;
  --type-body-leading: 1.9;
  --type-label-size: 16px;
  --type-label-leading: 1.7;
  --section-space-before: 106px;
  --section-space-after: 90px;
  font-family: "PingFang SC", "Microsoft YaHei", "Noto Sans CJK SC", system-ui, sans-serif;
  font-synthesis: none;
  background: var(--canvas);
  color: var(--text-primary);
  scroll-padding-top: 38px;
}

* {
  box-sizing: border-box;
}

body {
  margin: 0;
}

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

a {
  color: inherit;
  text-decoration: none;
  touch-action: manipulation;
}

img {
  display: block;
  width: 100%;
  height: auto;
}

p {
  font-size: var(--type-body-size);
  line-height: var(--type-body-leading);
}

h2,
.section-title {
  font-size: var(--type-section-size);
  font-weight: var(--type-section-weight);
  line-height: var(--type-section-leading);
  letter-spacing: var(--type-section-tracking);
}

.shell {
  width: min(1280px, calc(100% - 128px));
  margin-inline: auto;
}

.icon-definitions {
  width: 0;
  height: 0;
  overflow: hidden;
  position: absolute;
}

.icon {
  width: 20px;
  height: 20px;
  fill: none;
  stroke: currentColor;
  stroke-width: 1.6;
  stroke-linecap: round;
  stroke-linejoin: round;
  flex: none;
}

.skip-link {
  position: fixed;
  z-index: 100;
  top: -80px;
  left: 20px;
  background: var(--text-primary);
  color: var(--canvas);
  padding: 12px 18px;
}

.skip-link:focus {
  top: 20px;
}

:is(a, summary):focus-visible {
  outline: 2px solid var(--accent);
  outline-offset: 6px;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-size: 22px;
  font-weight: 600;
  letter-spacing: -.8px;
  white-space: nowrap;
}

.brand img {
  width: 30px;
  height: 30px;
}

.site-header {
  display: flex;
  height: 100px;
  align-items: center;
}

.site-header nav {
  display: flex;
  align-items: center;
  gap: 34px;
  margin-left: auto;
  font-size: 16px;
  color: #b7b7b7;
}

.site-header nav a:hover,
.footer nav a:hover,
figcaption a:hover {
  color: var(--text-primary);
}

.account-link {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  margin-left: 64px;
  font-size: 16px;
}

.account-link .icon {
  width: 16px;
  height: 16px;
}

.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 24px;
  min-height: 52px;
  padding: 0 28px;
  border: 1px solid #f59aae;
  border-radius: 999px;
  font-size: 17px;
  font-weight: 500;
  white-space: nowrap;
}

.button--primary {
  color: #241a1d;
  background: var(--accent);
  box-shadow: inset 0 0 0 1px #ffffff12, inset 0 0 6px #ffffff14;
}

.button--primary:hover {
  background: var(--accent-hover);
}

.help-section {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 2fr);
  column-gap: 110px;
  padding-top: 75px;
  padding-bottom: 90px;
  border-top: 1px solid var(--edge);
}

.questions {
  border-top: 1px solid var(--edge);
}

.questions details {
  border-bottom: 1px solid var(--edge);
}

.questions summary {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 24px;
  padding-block: 24px;
  list-style: none;
  cursor: pointer;
  font-size: 18px;
  line-height: 1.8;
  color: #c8c8c8;
}

.questions summary::-webkit-details-marker {
  display: none;
}

.questions summary .icon {
  width: 18px;
  height: 18px;
  color: #a2a2a2;
}

.questions details[open] summary .icon {
  transform: rotate(45deg);
}

.questions details p {
  font-size: 17px;
  color: var(--text-secondary);
  padding: 0 34px 26px 0;
}

.download-section {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 80px;
  padding-top: 78px;
  padding-bottom: 90px;
  border-top: 1px solid var(--edge);
}

.download-section__action {
  text-align: center;
}

.download-section__action p {
  color: var(--text-secondary);
  font-size: 15px;
  margin-top: 20px;
  white-space: nowrap;
}

.footer {
  display: flex;
  justify-content: space-between;
  align-items: flex-end;
  gap: 64px;
  border-top: 1px solid var(--edge);
  padding-block: 38px;
}

.footer>div>p {
  font-size: 14px;
  color: var(--text-secondary);
  margin-top: 20px;
}

.footer nav {
  display: flex;
  gap: 32px;
  font-size: 15px;
  color: var(--text-secondary);
  padding-bottom: 4px;
}

@media (max-width: 1150px) {
  :root {
    --type-section-size: 29px;
    --type-section-tracking: -.9px;
  }

  .shell {
    width: calc(100% - 80px);
  }

  .site-header nav {
    gap: 24px;
  }

  .account-link {
    margin-left: 32px;
  }

  .help-section {
    column-gap: 72px;
  }
}

@media (max-width: 800px) {
  :root {
    --section-space-before: 65px;
    --section-space-after: 65px;
    --type-section-size: 27px;
    --type-section-tracking: -.7px;
    --type-body-size: 17px;
    --type-body-leading: 1.85;
  }

  .shell {
    width: calc(100% - 40px);
  }

  .site-header {
    height: 80px;
    justify-content: space-between;
  }

  .site-header nav {
    display: none;
  }

  .account-link {
    margin-left: 24px;
    font-size: 15px;
  }

  .brand {
    font-size: 21px;
  }

  .button {
    font-size: 16px;
    min-height: 49px;
    padding-inline: 24px;
    gap: 20px;
  }

  .help-section {
    grid-template-columns: 1fr;
    row-gap: 29px;
    padding-block: 50px 64px;
  }

  .questions summary {
    padding-block: 21px;
    font-size: 16px;
  }

  .questions details p {
    font-size: 16px;
    padding-right: 6px;
  }

  .download-section {
    display: block;
    padding-block: 55px;
  }

  .download-section__action {
    margin-top: 30px;
    text-align: left;
  }

  .download-section__action p {
    font-size: 15px;
    margin-top: 17px;
  }

  .footer {
    display: block;
    padding-block: 32px;
  }

  .footer nav {
    gap: 24px;
    flex-wrap: wrap;
    margin-top: 28px;
  }
}

@media (prefers-reduced-motion: reduce) {
  *,
  *::before,
  *::after {
    scroll-behavior: auto !important;
    transition: none !important;
    animation: none !important;
  }
}
