:root {
  color-scheme: light;
  font-family: -apple-system, BlinkMacSystemFont, "PingFang SC", "Microsoft YaHei", sans-serif;
  color: #201e25;
  background: #f4f3f5;
  --muted: #595462;
  --accent: #6f529e;
  --line: #e2dee6;
}

* { box-sizing: border-box; }

body {
  margin: 0;
  background: linear-gradient(180deg, #fcfcfd 15%, #f2f0f4 100%);
  line-height: 1.6;
}

a { color: inherit; }

a:focus-visible {
  outline: 2px solid var(--accent);
  outline-offset: 5px;
}

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

.page-width { width: min(calc(100% - 4rem), 72rem); margin-inline: auto; }

.site-header, .site-footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1.25rem;
  padding-block: 1.35rem;
}

.site-header { border-bottom: 1px solid var(--line); }

.wordmark {
  display: inline-flex;
  gap: .55rem;
  align-items: center;
  font-weight: 720;
  text-decoration: none;
  letter-spacing: -.035em;
}

.brand-mark { color: var(--accent); font-size: 1.2em; }

.header-link {
  padding: .48rem .95rem;
  border: 1px solid var(--line);
  border-radius: 100vw;
  font-size: .875rem;
  font-weight: 650;
  text-decoration: none;
}

.hero {
  display: grid;
  grid-template-columns: .83fr 1.17fr;
  align-items: center;
  gap: clamp(1.5rem, 5vw, 5rem);
  padding-block: 3.5rem;
}

.product-name { margin: 0 0 1rem; color: var(--accent); font-weight: 700; }

h1 {
  margin: 0;
  font-size: clamp(3.25rem, 6.7vw, 6rem);
  line-height: 1.06;
  letter-spacing: -.075em;
}

h1 span { color: var(--accent); }

.hero-description {
  max-width: 19em;
  margin: 1.5rem 0;
  color: var(--muted);
  font-size: clamp(1rem, 1.6vw, 1.2rem);
}

.button {
  display: inline-block;
  padding: .7rem 1.25rem;
  border-radius: 100vw;
  background: #222026;
  color: #fff;
  font-weight: 650;
  text-decoration: none;
}

.button:hover { background: #423451; }
.header-link:hover { background: #f0ebf7; }

.hero-contact {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: .65rem 1rem;
}

.contact-email {
  margin: 0;
  color: var(--accent);
  font-weight: 650;
  overflow-wrap: anywhere;
  text-underline-offset: .2em;
}

.product-preview {
  position: relative;
  isolation: isolate;
  display: grid;
  align-items: center;
  aspect-ratio: 1.19;
  padding: 7%;
  border-radius: 1.75rem;
  background: radial-gradient(ellipse at 75% 35%, #f9f7fc, transparent 65%), #eae2f2;
}

.desktop-preview {
  width: 90%;
  margin: 0;
  overflow: hidden;
  border: 1px solid #fff;
  border-radius: .9rem;
  background: #f8f7fa;
  box-shadow: 0 15px 35px #36234523;
  transform: translateY(-10%);
}

.desktop-preview figcaption {
  padding: .5rem .75rem;
  border-bottom: 1px solid var(--line);
  color: var(--muted);
  font-size: .875rem;
  font-weight: 650;
}

.desktop-preview img { width: 100%; }

.app-preview {
  position: absolute;
  right: 8%;
  bottom: 6%;
  width: 34%;
  border-radius: 14% / 6.6%;
  box-shadow: 0 17px 36px #34253e35;
}

.details {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: clamp(1.5rem, 5vw, 5rem);
  padding-block: 1rem 3.5rem;
}

.details h2 { margin: 0; font-size: clamp(1.42rem, 2.3vw, 1.8rem); }

.platforms dl { margin: 0; }

.platforms dl div {
  padding-block: .85rem;
  border-bottom: 1px solid var(--line);
}

.platforms dt { font-weight: 700; }
.platforms dd { margin: .1rem 0 0; color: var(--muted); }
.platforms a { color: var(--accent); text-underline-offset: .2em; }

.support {
  align-self: start;
  padding: clamp(1.25rem, 3vw, 2.25rem);
  border: 1px solid #fff;
  border-radius: 1.35rem;
  background: #fff;
  box-shadow: 0 12px 35px #3822490c;
  scroll-margin-top: 1.5rem;
}

.support p { margin: .55rem 0 0; color: var(--muted); }
.support .support-note { margin-top: 1rem; font-size: .875rem; }

.site-footer { border-top: 1px solid var(--line); }
.site-footer nav { display: flex; flex-wrap: wrap; gap: .5rem 1.25rem; }
.site-footer nav a { color: var(--muted); font-size: .875rem; text-underline-offset: .2em; }

@media (max-width: 48rem) {
  .page-width { width: calc(100% - 2.5rem); }
  .hero, .details { grid-template-columns: 1fr; }
  .hero { padding-block: 2.75rem 2rem; }
  .desktop-break { display: none; }
  .hero-description { max-width: 25em; margin-block: 1rem 1.25rem; }
  .details { padding-bottom: 2.5rem; }
  .support { grid-row: 1; }
}

@media (max-width: 22rem) {
  .site-footer { align-items: flex-start; flex-direction: column; }
  h1 { font-size: 2.75rem; }
}
