:root {
  color-scheme: light;
  --ink: #372a44;
  --muted: #65596e;
  --violet: #67488d;
  --paper: #faf6f5;
  --line: #e8dde7;
  --serif: "Iowan Old Style", Georgia, serif;
  --site-width: 1240px;
  --gutter: clamp(20px, 5vw, 60px);
}

html[lang="zh-Hans"] {
  --serif: "Songti SC", "Noto Serif SC", serif;
}

* { box-sizing: border-box; }

body {
  margin: 0;
  background: radial-gradient(ellipse at 84% 0, #efe5f3, transparent 40rem), var(--paper);
  color: var(--ink);
  font-family: -apple-system, BlinkMacSystemFont, "PingFang SC", "Microsoft YaHei", sans-serif;
  line-height: 1.75;
}

h1, h2, h3, p { margin: 0; }
img { display: block; max-width: 100%; }
a { color: inherit; }
a:focus-visible, summary:focus-visible {
  outline: 2px solid var(--violet);
  outline-offset: 5px;
}

[id] { scroll-margin-top: 24px; }

.skip-link {
  position: absolute;
  z-index: 1;
  top: 10px;
  left: var(--gutter);
  transform: translateY(-160%);
  padding: 8px 14px;
  border-radius: 8px;
  background: var(--paper);
  color: var(--violet);
}

.skip-link:focus { transform: translateY(0); }

.site-header, .hero, .section, .site-footer {
  max-width: var(--site-width);
  margin-inline: auto;
  padding-inline: var(--gutter);
}

.site-header {
  display: grid;
  grid-template-columns: auto 1fr auto;
  align-items: center;
  gap: 20px;
  padding-block: 20px;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  width: fit-content;
  font-size: 21px;
  font-weight: 700;
  letter-spacing: .04em;
  text-decoration: none;
  white-space: nowrap;
}

.brand img { border-radius: 11px; }

.primary-nav, .site-footer nav {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 6px 26px;
}

.primary-nav { justify-content: center; }

.primary-nav a, .site-footer nav a {
  padding-block: 6px;
  color: var(--muted);
  font-size: 14px;
  text-decoration: none;
}

.primary-nav a:hover, .site-footer nav a:hover,
.primary-nav a[aria-current="page"] {
  color: var(--violet);
  text-decoration: underline;
  text-underline-offset: 5px;
}

.language-link {
  display: inline-flex;
  justify-content: center;
  align-items: center;
  min-height: 42px;
  padding: 0 16px;
  border: 1px solid #d9c8e3;
  border-radius: 100px;
  background: #ffffffa6;
  color: var(--violet);
  font-size: 13px;
  font-weight: 650;
  text-decoration: none;
  white-space: nowrap;
}

.language-link:hover { background: #f0e6f4; }

.hero {
  display: grid;
  grid-template-columns: minmax(0, 1.06fr) minmax(0, 1fr);
  align-items: center;
  gap: clamp(24px, 6vw, 78px);
  padding-block: 22px 60px;
}

.hero-copy { padding-block: 24px; }

.eyebrow {
  color: var(--violet);
  font-size: 12px;
  font-weight: 700;
  letter-spacing: .14em;
}

html[lang="en"] .eyebrow { text-transform: uppercase; }

h1, h2, .feature-grid h3 {
  font-family: var(--serif);
  font-weight: 650;
  line-height: 1.2;
}

.hero h1 {
  margin-block: 18px 24px;
  font-size: clamp(2.65rem, 5.6vw, 5rem);
  letter-spacing: -.025em;
}

html[lang="en"] .hero h1 {
  font-size: clamp(2.4rem, 4.8vw, 4.5rem);
  line-height: 1.07;
  letter-spacing: -.05em;
}

.lead {
  max-width: 31em;
  color: var(--muted);
  font-size: clamp(1rem, 1.55vw, 1.15rem);
}

.button {
  display: inline-flex;
  align-items: center;
  gap: 18px;
  min-height: 48px;
  margin-top: 25px;
  padding: 10px 22px;
  border-radius: 100px;
  background: var(--violet);
  color: #fff;
  font-weight: 650;
  text-decoration: none;
}

.button:hover { background: #563779; }

.availability {
  margin-top: 16px;
  color: var(--muted);
  font-size: 13px;
}

.hero-art {
  overflow: hidden;
  aspect-ratio: 7 / 9;
  max-height: 635px;
  border-radius: 48% 48% 22px 22px / 37% 37% 22px 22px;
  background: #eadeee;
  box-shadow: 0 20px 48px #513a5d1a;
}

.hero-art img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center 36%;
}

.section { padding-block: 82px; }

.section-heading {
  max-width: 40rem;
  margin-bottom: 32px;
}

.section h2, .privacy-band h2 {
  margin-block: 10px 14px;
  font-size: clamp(2rem, 4vw, 3rem);
  letter-spacing: -.025em;
}

.section-heading > p:last-child, .privacy-band p:not(.eyebrow) { color: var(--muted); }

.feature-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 16px;
}

.feature-grid article {
  padding: clamp(22px, 3vw, 36px);
  border: 1px solid var(--line);
  border-radius: 23px;
  background: #fffaf7;
}

.feature-grid article:nth-child(2) { background: #f1e9f4; }
.feature-grid article:nth-child(3) { background: #f8eae5; }

.feature-number {
  color: var(--violet);
  font-size: 12px;
  font-weight: 700;
  letter-spacing: .08em;
}

.feature-grid h3 {
  margin-block: 20px 10px;
  font-size: clamp(1.35rem, 2.4vw, 1.75rem);
}

.feature-grid article > p:last-child, .answers p { color: var(--muted); }

.privacy-band {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, .86fr);
  align-items: center;
  overflow: hidden;
  width: calc(100% - 2 * var(--gutter));
  max-width: calc(var(--site-width) - 2 * var(--gutter));
  margin-inline: auto;
  border: 1px solid #e6d9ed;
  border-radius: 26px;
  background: #eee5f4;
}

.privacy-band > div { padding: clamp(24px, 5vw, 62px); }

.privacy-band img {
  width: 100%;
  height: auto;
  object-fit: contain;
}

.text-link {
  display: inline-block;
  margin-top: 17px;
  color: var(--violet);
  font-weight: 650;
  text-underline-offset: 4px;
}

.text-link span { display: inline-block; }

.questions {
  display: grid;
  grid-template-columns: minmax(0, .85fr) minmax(0, 1.35fr);
  gap: clamp(16px, 5vw, 62px);
}

.answers details { border-top: 1px solid var(--line); }
.answers details:last-child { border-bottom: 1px solid var(--line); }

.answers summary {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 16px;
  min-height: 52px;
  padding-block: 14px;
  list-style: none;
  cursor: pointer;
  font-size: 16px;
  font-weight: 650;
}

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

.answers summary::after {
  content: "";
  flex: 0 0 8px;
  height: 8px;
  margin-right: 4px;
  border-right: 2px solid var(--violet);
  border-bottom: 2px solid var(--violet);
  transform: rotate(45deg);
}

.answers details[open] summary::after { transform: rotate(225deg); }
.answers p { padding: 0 24px 16px 0; }

.legal {
  max-width: 820px;
  margin: clamp(32px, 7vw, 88px) auto 86px;
  padding-inline: var(--gutter);
}

.legal h1 {
  margin-block: 10px 16px;
  font-size: clamp(2.25rem, 5vw, 3.65rem);
  letter-spacing: -.025em;
}

.legal-intro { color: var(--muted); font-size: 1.07rem; }
.legal-updated { margin-top: 12px; color: var(--muted); font-size: 14px; }

.legal-nav {
  display: flex;
  flex-wrap: wrap;
  gap: 4px 20px;
  margin-block: 28px 0;
  padding: 9px 18px;
  border-radius: 12px;
  background: #efe6f4;
}

.legal-nav a, .legal section a {
  color: var(--violet);
  text-underline-offset: 4px;
}

.legal-nav a {
  display: inline-flex;
  align-items: center;
  min-height: 40px;
  font-size: 14px;
  font-weight: 650;
  text-decoration: none;
}

.legal-nav a:hover { text-decoration: underline; }

.legal section {
  padding-top: 28px;
  margin-top: 28px;
  border-top: 1px solid var(--line);
}

.legal section:first-of-type { border-top: 0; }
.legal h2 { font-size: clamp(1.3rem, 3vw, 1.6rem); }
.legal section p { margin-top: 12px; color: var(--muted); }

.site-footer {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  align-items: flex-start;
  gap: 14px 30px;
  padding-block: 26px 38px;
  border-top: 1px solid var(--line);
}

.site-footer p { margin-top: 4px; color: var(--muted); font-size: 13px; }

@media (max-width: 720px) {
  .site-header {
    grid-template-columns: 1fr auto;
    gap: 8px 16px;
    padding-block: 15px 9px;
  }

  .site-header .language-link { grid-column: 2; grid-row: 1; }

  .primary-nav {
    grid-column: 1 / -1;
    justify-content: flex-start;
    column-gap: 21px;
    padding-top: 5px;
    border-top: 1px solid var(--line);
  }

  .hero {
    grid-template-columns: 1fr;
    gap: 17px;
    padding-block: 18px 30px;
  }

  .hero-copy { padding-block: 18px 0; }
  .hero-art { aspect-ratio: 6 / 5; }
  .hero-art img { object-position: center 34%; }

  .section { padding-block: 54px; }
  .section-heading { margin-bottom: 22px; }
  .feature-grid, .privacy-band, .questions { grid-template-columns: 1fr; }
  .privacy-band > div { padding-bottom: 10px; }

  .privacy-band img {
    width: min(100%, 360px);
    margin-inline: auto;
  }

  .questions { gap: 0; }
  .site-footer nav { column-gap: 18px; }
}

@media (prefers-reduced-motion: no-preference) {
  html { scroll-behavior: smooth; }
}
