body.potato-home {
  --potato-blue: #007ee5;
  --potato-ink: #2c333c;
  --potato-muted: #596471;
  margin: 0;
  background: #fff;
  color: var(--potato-ink);
  font-family: "PingFang SC", "Microsoft YaHei", system-ui, sans-serif;
}

.potato-home *, .potato-home *::before, .potato-home *::after { box-sizing: border-box; }
.potato-home a { color: inherit; text-decoration: none; }
.potato-home :is(a, button, summary):focus-visible { outline: 2px solid var(--potato-blue); outline-offset: 3px; }
.potato-wrap { width: min(1200px, 100% - 40px); margin-inline: auto; }
.potato-home section[id] { scroll-margin-top: 78px; }

.potato-header {
  position: sticky;
  top: 0;
  z-index: 10;
  border-bottom: 1px solid #e9edf3;
  background: #fff;
}

.potato-header-inner { min-height: 68px; display: flex; align-items: center; gap: clamp(24px, 8vw, 135px); }
.potato-brand { display: block; flex: none; }
.potato-brand img { display: block; width: 207px; height: auto; }
.potato-nav { align-self: stretch; display: flex; align-items: stretch; gap: clamp(6px, 2.1vw, 35px); }
.potato-nav :is(a, .potato-language) {
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: 44px;
  padding-inline: clamp(12px, 1.4vw, 24px);
  border-bottom: 2px solid transparent;
  color: var(--potato-muted);
  white-space: nowrap;
}
.potato-nav :is(a[aria-current], a:hover, .potato-language:hover) { color: #006fcb; border-bottom-color: var(--potato-blue); }
.potato-language {
  gap: 6px;
  border: 0;
  background: transparent;
  font: inherit;
  cursor: pointer;
}
.potato-language-arrow { width: 0; height: 0; border-inline: 4px solid transparent; border-top: 5px solid currentColor; }

.potato-hero {
  padding-inline-start: 17px;
  background: #fff url("/public/site-templates/potato/assets-v9241/world-map.png") 17px top / auto 740px no-repeat;
}

.potato-hero-inner {
  min-height: 740px;
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 654px);
  align-items: center;
  gap: 17px;
}

.potato-copy, .potato-device { margin-block-start: 14px; }
.potato-copy h1 { max-width: 530px; margin: 0; font-size: clamp(34px, 3.6vw, 48px); font-weight: 400; line-height: 1.27; }
.potato-copy p { max-width: 480px; margin: 20px 0; color: var(--potato-muted); font-size: 16px; line-height: 1.55; }
.potato-device { display: block; width: 100%; height: auto; aspect-ratio: 654 / 338; align-self: center; }
.potato-platforms { width: min(200px, 100%); display: grid; gap: 20px; }

.potato-home .potato-platform-link {
  display: inline-flex;
  justify-content: center;
  align-items: center;
  min-height: 40px;
  padding: 5px 15px;
  border-radius: 24px;
  background: #f0f9fe;
  color: var(--potato-ink);
  font-size: 16px;
  line-height: 1.4;
  text-align: center;
}
.potato-home .potato-platform-link[hidden] { display: none !important; }
.potato-home .potato-platform-link:hover { background: #dcefff; color: #005ca9; }
.potato-more .potato-platform-link { min-width: 150px; }

.potato-section { padding-block: 83px; }
.potato-section h2 { margin: 0 0 36px; text-align: center; font-size: clamp(28px, 4vw, 40px); font-weight: 400; }
.potato-features { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 16px; }
.potato-features article, .potato-faq details { padding: 22px; border: 1px solid #e0eaf4; border-radius: 12px; background: #fff; }
.potato-features h3 { margin: 0 0 8px; font-size: 19px; }
.potato-features p, .potato-faq p { margin: 0; color: var(--potato-muted); line-height: 1.6; }
.potato-support { background: #f5f9fd; }
.potato-faq { max-width: 740px; margin-inline: auto; display: grid; gap: 12px; }
.potato-faq summary { cursor: pointer; }
.potato-faq p { margin-top: 12px; }
.potato-more { text-align: center; }
.potato-footer { border-top: 1px solid #e9edf3; padding-block: 28px; color: var(--potato-muted); }
.potato-footer-inner { display: flex; flex-wrap: wrap; align-items: center; gap: 12px 28px; }
.potato-footer a:hover { color: var(--potato-blue); }

@media (max-width: 1100px) {
  .potato-header-inner { justify-content: space-between; gap: 12px; flex-wrap: wrap; }
  .potato-nav { gap: 4px; }
  .potato-hero-inner { grid-template-columns: minmax(0, 0.85fr) minmax(0, 1fr); }
}

@media (max-width: 720px) {
  .potato-wrap { width: min(100% - 32px, 540px); }
  .potato-header-inner { min-height: auto; padding-top: 8px; justify-content: center; gap: 0; }
  .potato-brand img { width: 175px; }
  .potato-nav { width: 100%; flex-wrap: wrap; justify-content: center; gap: 0; }
  .potato-nav :is(a, .potato-language) { padding-inline: clamp(7px, 1.8vw, 12px); font-size: 14px; }
  .potato-home section[id] { scroll-margin-top: 142px; }
  .potato-hero { padding-inline-start: 0; background-position: center top; background-size: auto 600px; }
  .potato-hero-inner { min-height: auto; grid-template-columns: minmax(0, 1fr); justify-items: center; gap: 35px; padding-block: 55px; }
  .potato-copy, .potato-device { margin-block-start: 0; }
  .potato-copy { text-align: center; }
  .potato-copy h1 { font-size: clamp(27px, 7.8vw, 38px); }
  .potato-copy p { margin-block: 14px 18px; }
  .potato-platforms { width: min(100%, 380px); grid-template-columns: repeat(2, minmax(0, 1fr)); margin-inline: auto; gap: 9px; }
  .potato-platforms [data-download-center] { grid-column: 1 / -1; }
  .potato-home .potato-platform-link { min-height: 44px; }
  .potato-device { max-width: 500px; }
  .potato-section { padding-block: 50px; }
  .potato-features { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .potato-features article { padding: 16px 12px; }
}
