:root {
  color-scheme: light;
  --ink: #151a2e;
  --muted: #4d5870;
  --blue: #254bd7;
  --line: #dce4f3;
  font-family: Inter, -apple-system, BlinkMacSystemFont, "PingFang SC", "Noto Sans CJK SC", "Segoe UI", sans-serif;
  color: var(--ink);
  background: #f8faff;
  font-synthesis: none;
}

* { box-sizing: border-box; }
body { margin: 0; }
a { color: inherit; }
p, figure { margin: 0; }
img { display: block; max-width: 100%; }
:focus-visible { outline: 3px solid #315bec; outline-offset: 5px; }

.wrap { width: min(1160px, calc(100% - 64px)); margin-inline: auto; }
.header, .footer { display: flex; justify-content: space-between; align-items: center; gap: 16px; }
.header { min-height: 80px; border-bottom: 1px solid var(--line); }
.wordmark { display: inline-flex; align-items: center; gap: 10px; font-size: 23px; font-weight: 750; letter-spacing: -.04em; text-decoration: none; }
.wordmark img { border-radius: 11px; border: 1px solid var(--line); }
nav { display: flex; align-items: center; gap: clamp(14px, 3vw, 32px); }
nav a { font-size: 14px; line-height: 1.4; text-decoration: none; font-weight: 600; }
nav a:hover, .text-link:hover { text-decoration: underline; text-underline-offset: .22em; }
.language { padding: 8px 12px; border: 1px solid var(--line); border-radius: 999px; white-space: nowrap; }

.hero { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(22px, 4vw, 70px); align-items: center; padding: 64px 0 42px; }
h1 { font-size: clamp(42px, 5.4vw, 74px); line-height: .99; letter-spacing: -.075em; margin: 19px 0 24px; }
h1 span { color: var(--blue); }
:lang(zh-Hans) h1 { letter-spacing: -.055em; line-height: 1.13; }
.lede { color: var(--muted); font-size: clamp(17px, 2vw, 21px); line-height: 1.6; max-width: 36ch; }
:lang(zh-Hans) .lede { max-width: 25em; }
.actions { display: flex; flex-wrap: wrap; align-items: center; gap: 14px 22px; margin-top: 30px; }
.button { display: inline-flex; align-items: center; justify-content: center; text-align: center; gap: 10px; min-height: 49px; padding: 12px 17px; border-radius: 11px; background: #2449d4; color: white; font-size: 15px; font-weight: 700; text-decoration: none; }
.button:hover { background: #1b38ad; }
.text-link { color: var(--blue); font-size: 15px; font-weight: 700; text-decoration: none; }

.device-stage {
  display: flex; align-items: center; justify-content: center; gap: 4%;
  padding: 7% 6% 8%; border: 1px solid #dce4fa; border-radius: 32px;
  background: radial-gradient(ellipse at 86% 83%, #d0cfff, transparent 59%), linear-gradient(150deg, #d8edff, #edf2ff 50%, #e2dffc);
  overflow: hidden;
}
.phone {
  width: 43%; height: auto; border: clamp(3px, .53vw, 7px) solid #202337;
  border-radius: clamp(18px, 3.3vw, 40px); background: white;
  box-shadow: 0 22px 34px #27367338;
}
.phone-main { transform: rotate(-7deg) translateY(-2%); }
.phone-secondary { transform: rotate(8deg) translateY(5%); }
figcaption { margin-top: 12px; text-align: center; font-size: 12px; color: var(--muted); }

.section { margin-top: clamp(44px, 7vw, 92px); scroll-margin-top: 20px; }
h2 { font-size: clamp(29px, 4vw, 46px); line-height: 1.1; letter-spacing: -.05em; margin: 0 0 24px; }
h3 { font-size: clamp(20px, 2.5vw, 29px); line-height: 1.15; letter-spacing: -.035em; margin: 0 0 12px; }
.features { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 18px; }
.feature { display: flex; flex-direction: column; background: white; border: 1px solid var(--line); border-radius: 23px; overflow: hidden; }
.feature-copy { padding: clamp(18px, 2.5vw, 28px); }
.feature-copy p, .download p, .faq p { color: var(--muted); line-height: 1.6; }
.feature-art { display: grid; justify-items: center; align-items: start; margin-top: auto; padding: 19px 12px 0; height: 270px; overflow: hidden; }
.feature-art img { width: 100%; max-width: 178px; height: auto; border: 4px solid #262b40; border-bottom: 0; border-radius: 23px 23px 0 0; box-shadow: 0 10px 26px #27367329; }
.record { background: #ebefff; }
.image { background: #e4f3ff; }
.calendar { background: #efebfc; }

.download { display: grid; grid-template-columns: auto 1fr auto; align-items: center; gap: 22px; padding: clamp(22px, 4.5vw, 46px); border: 1px solid #dbe3ff; border-radius: 27px; background: #eaf0ff; }
.download img { border-radius: 16px; }
.download h2 { font-size: clamp(24px, 3.5vw, 36px); margin-bottom: 8px; }
.faq { display: grid; grid-template-columns: 1fr 1.5fr; gap: 20px; }
.faq h2 { margin-bottom: 0; }
details { border-top: 1px solid var(--line); padding: 17px 0; }
details:last-child { border-bottom: 1px solid var(--line); }
summary { font-weight: 680; cursor: pointer; }
details p { margin-top: 10px; }
.footer { margin-top: 68px; padding: 22px 0 33px; border-top: 1px solid var(--line); font-size: 14px; color: var(--muted); }

@media (max-width: 780px) {
  .wrap { width: calc(100% - 40px); }
  .hero { grid-template-columns: 1fr; padding: 48px 0 10px; gap: 34px; }
  h1 { font-size: clamp(44px, 9vw, 72px); }
  .device-stage { max-width: 520px; margin-inline: auto; }
  .features { grid-template-columns: 1fr; }
  .feature { display: grid; grid-template-columns: 1fr 42%; }
  .feature-copy { align-self: center; }
  .feature-art { height: 215px; margin-top: 0; }
  .download { grid-template-columns: auto 1fr; }
  .download .button { grid-column: 1 / -1; justify-self: start; }
  .faq { grid-template-columns: 1fr; }
}

@media (max-width: 390px) {
  .wrap { width: calc(100% - 32px); }
  .header { min-height: 66px; }
  .wordmark { font-size: 20px; gap: 6px; }
  .wordmark img { width: 32px; height: 32px; }
  nav { gap: 10px; }
  nav a { font-size: 13px; }
  .language { padding-inline: 7px; }
  .device-stage { border-radius: 23px; }
  .feature { grid-template-columns: 1fr; }
  .feature-art { height: 232px; }
}
