:root {
  color-scheme: light;
  --paper: #f9f8fc;
  --ink: #1c1630;
  --muted: #5d546f;
  --violet: #5b32cf;
  --deep: #201535;
  --line: #e2dced;
  --white: #fff;
  --radius: 24px;
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  color: var(--ink);
  background: var(--paper);
  font-synthesis: none;
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body { margin: 0; line-height: 1.58; }
img { display: block; max-width: 100%; }
a { color: inherit; }
p, h1, h2, h3, figure { margin: 0; }
h1, h2, h3 { line-height: 1.08; letter-spacing: -.045em; text-wrap: balance; }
h1, h2 { font-weight: 760; }
p, li { overflow-wrap: break-word; }
:focus-visible { outline: 3px solid #9874ef; outline-offset: 4px; }
[id] { scroll-margin-top: 24px; }
.wrap { width: min(1120px, calc(100% - 64px)); margin-inline: auto; }
.skip { position: absolute; z-index: 2; inset: 8px auto auto 8px; padding: 8px 14px; background: white; transform: translateY(-200%); }
.skip:focus { transform: none; }

.site-header, .site-footer { display: flex; align-items: center; justify-content: space-between; gap: 22px; }
.site-header { min-height: 78px; border-bottom: 1px solid var(--line); }
.brand { display: inline-flex; align-items: center; gap: 8px; text-decoration: none; font-size: 1.2rem; font-weight: 760; letter-spacing: -.047em; white-space: nowrap; }
.brand img { border-radius: 23%; }
.site-header > nav, .site-footer nav { display: flex; align-items: center; flex-wrap: wrap; gap: clamp(14px, 3vw, 36px); }
.site-header > nav a, .site-footer nav a { text-decoration: none; font-size: .94rem; font-weight: 620; color: var(--muted); }
.site-header > nav a:hover, .site-footer nav a:hover, .site-header > nav a[aria-current] { color: var(--violet); text-decoration: underline; text-underline-offset: 5px; }
.button { display: inline-flex; align-items: center; justify-content: center; min-height: 52px; padding: 11px 23px; border: 1px solid transparent; border-radius: 12px; background: var(--violet); color: white; font-size: 1rem; font-weight: 680; line-height: 1.3; text-decoration: none; text-align: center; transition: background .16s, box-shadow .16s; }
.button:hover { background: #4921b6; box-shadow: 0 5px 18px #4c28b82e; }
.button-small { min-height: 40px; padding: 8px 15px; font-size: .9rem; border-radius: 9px; }
.button-secondary { background: transparent; color: var(--ink); border-color: #d9d0e7; }
.button-secondary:hover { background: #ede7fb; }
.button-light { color: #3c227d; background: white; }
.button-light:hover { background: #e9ddff; }

.hero { text-align: center; padding: clamp(50px, 5.8vw, 72px) 0 32px; }
.eyebrow { color: var(--violet); font-weight: 730; font-size: .88rem; letter-spacing: .09em; text-transform: uppercase; }
.hero .eyebrow { display: inline-flex; align-items: center; gap: 10px; margin-bottom: 18px; }
.signal { display: inline-flex; align-items: center; gap: 2.5px; height: 22px; }
.signal i { width: 2.5px; height: 8px; border-radius: 6px; background: currentColor; }
.signal i:nth-child(2), .signal i:nth-child(4) { height: 13px; }
.signal i:nth-child(3) { height: 21px; }
.hero h1 { font-size: clamp(2.4rem, 7vw, 5.35rem); letter-spacing: -.061em; line-height: .99; }
.hero em { font-style: normal; color: #6238c9; background-image: linear-gradient(102deg, #5530be 18%, #8839bd 78%); background-clip: text; -webkit-background-clip: text; -webkit-text-fill-color: transparent; }
.hero-copy { max-width: 610px; margin: 19px auto 0; line-height: 1.55; font-size: clamp(1.07rem, 2vw, 1.26rem); color: var(--muted); }
.actions { display: flex; justify-content: center; flex-wrap: wrap; gap: 10px; margin-top: 25px; }
.requirements { display: flex; gap: 8px 11px; justify-content: center; flex-wrap: wrap; align-items: center; margin-top: 13px; font-size: .88rem; color: var(--muted); }
.requirements span { background: #9484ad; width: 3px; height: 3px; border-radius: 50%; }
.showcase { border-radius: 28px; padding: 22px clamp(16px, 5vw, 65px) 0; overflow: hidden; background: radial-gradient(ellipse at 84% 0%, #9655c9, transparent 48%), radial-gradient(ellipse at 13% 22%, #643dc3, transparent 60%), #302060; color: white; }
.showcase-top { display: flex; gap: 8px 16px; flex-wrap: wrap; justify-content: space-between; align-items: center; font-size: .87rem; font-weight: 650; margin-bottom: 15px; }
.showcase-top > span:first-child { display: flex; align-items: center; gap: 8px; }
.window-mark { display: inline-block; width: 14px; height: 11px; border: 1px solid currentColor; border-radius: 3px; box-shadow: inset 0 2px currentColor; }
.app-shot { width: 100%; height: auto; border: 1px solid #a98cd57a; border-radius: 12px; }
.showcase .app-shot { border-radius: 12px 12px 0 0; box-shadow: 0 0 44px #140c37a0; }

.feature-section { padding-block: clamp(65px, 9vw, 116px); }
.section-intro { display: grid; gap: 14px; max-width: 660px; margin-bottom: 29px; }
.section-intro h2, .privacy-feature h2, .faq h2, .download h2, .page-title h1 { font-size: clamp(2.25rem, 5.4vw, 4.55rem); letter-spacing: -.069em; }
.section-intro > p:last-child, .privacy-feature > div > p:not(.eyebrow), .page-title .lead { color: var(--muted); max-width: 56ch; font-size: 1.1rem; }
.feature-grid { display: grid; grid-template-columns: repeat(6, minmax(0, 1fr)); gap: 14px; }
.tile { grid-column: span 2; border: 1px solid var(--line); border-radius: var(--radius); background: #fff; padding: clamp(19px, 3vw, 33px); }
.tile h3, .recap-details h3, .model-list h3 { font-size: clamp(1.25rem, 2.4vw, 1.66rem); }
.tile > p, .recap-details p, .model-list p { margin-top: 9px; color: var(--muted); }
.tile-transcript, .tile-timeline { grid-column: span 3; display: flex; flex-direction: column; }
.tile-transcript { background: #f0e9ff; border-color: #e6d9fb; }
.tile-timeline { background: #eae8ff; border-color: #e2dcfc; }
.tile-transcript > p, .tile-timeline > p { margin-bottom: 22px; }
.tile-icon { display: grid; place-items: center; width: 37px; height: 37px; margin-bottom: 15px; border-radius: 10px; background: #f0e9ff; color: var(--violet); font-size: 1.28rem; font-weight: 700; }
.transcript-sample, .timeline-sample { margin-top: auto; border: 1px solid #e1d8f1; border-radius: 15px; background: #fff; padding: 15px; font-size: .93rem; }
.transcript-sample > div { display: flex; align-items: center; gap: 8px; }
.transcript-sample > p { margin: 5px 0 12px; }
.transcript-sample > p:last-child { margin-bottom: 0; }
.transcript-sample small { display: block; color: var(--muted); font-size: .8rem; }
.avatar { display: grid; place-items: center; flex: 0 0 30px; height: 30px; background: #eee4ff; color: #5b31b5; border-radius: 9px; font-weight: 740; }
.avatar-blue { background: #e1e9ff; color: #304986; }
.timeline-sample > div { display: flex; align-items: baseline; gap: 12px; }
.timeline-sample > div + div { padding-block: 9px; border-top: 1px solid #ece6f7; }
.timeline-sample > div:last-child { padding-bottom: 0; }
.timeline-sample time { color: var(--violet); font-variant-numeric: tabular-nums; font-weight: 680; }
.timeline-filters { flex-wrap: wrap; margin-bottom: 12px; }
.timeline-filters span { border-radius: 6px; padding: 2px 7px; background: #f1edfb; color: #564777; font-size: .81rem; font-weight: 660; }
.timeline-filters span:nth-child(2) { background: var(--violet); color: white; }

.recap { background: #1d1531; padding-block: clamp(58px, 8vw, 96px); color: white; }
.recap .eyebrow { color: #d1b6ff; }
.recap .section-intro > p:last-child, .recap-details p { color: #d1c6e2; }
.recap-shot { border: 1px solid #765799; border-radius: var(--radius); padding: clamp(9px, 2.6vw, 28px); background: radial-gradient(ellipse at 90% 0%, #68449a, transparent 70%), #33234f; }
.recap-details { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; margin-top: 28px; }
.recap-details article { border-top: 1px solid #614978; padding-top: 17px; }

.privacy-feature, .faq { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(22px, 5vw, 70px); padding-block: clamp(58px, 8vw, 96px); align-items: start; }
.privacy-feature h2, .faq h2 { font-size: clamp(2.1rem, 4.3vw, 3.6rem); margin: 11px 0 15px; }
.text-link { color: var(--violet); text-decoration-thickness: 1px; text-underline-offset: 4px; font-weight: 680; }
.privacy-feature .text-link { display: inline-block; margin-top: 15px; }
.model-list { display: grid; gap: 0; border: 1px solid #e0d5f5; background: #f0eafc; padding: 6px clamp(18px, 3vw, 30px); border-radius: var(--radius); }
.model-list > div { padding-block: 15px; }
.model-list > div + div { border-top: 1px solid #ddd0f1; }
.model-list h3 { font-size: 1.2rem; }
.model-list p { margin-top: 5px; }
.faq { border-top: 1px solid var(--line); }
.faq-list details { border-bottom: 1px solid var(--line); }
.faq-list details:first-child { border-top: 1px solid var(--line); }
.faq-list summary { position: relative; padding: 15px 34px 15px 0; list-style: none; cursor: pointer; font-weight: 680; }
.faq-list summary::-webkit-details-marker { display: none; }
.faq-list summary::after { content: ""; position: absolute; right: 6px; top: 22px; width: 8px; height: 8px; border-right: 2px solid var(--violet); border-bottom: 2px solid var(--violet); transform: rotate(45deg); }
.faq-list details[open] summary::after { transform: translateY(4px) rotate(225deg); }
.faq-list details p { padding-bottom: 15px; color: var(--muted); }

.download { display: grid; justify-items: center; gap: 13px; text-align: center; padding: clamp(34px, 6vw, 65px) 18px; border-radius: 28px; color: white; background: radial-gradient(ellipse at 82% 0%, #8441a6, transparent 63%), radial-gradient(ellipse at 15% 100%, #6031b9, transparent 58%), #34205d; }
.download img { margin-bottom: 1px; border-radius: 23%; }
.download > p { max-width: 47ch; color: #f0e7fb; }
.download .button { margin-top: 8px; }
.download .availability { font-size: .9rem; }
.site-footer { min-height: 94px; flex-wrap: wrap; padding-block: 18px; margin-top: 22px; border-top: 1px solid var(--line); }
.site-footer small { color: var(--muted); font-size: .85rem; }

.page-title { padding-block: clamp(38px, 7.5vw, 86px) clamp(25px, 4vw, 44px); }
.page-title h1 { margin: 9px 0 15px; }
.page-title .updated { color: var(--muted); margin-top: 13px; font-size: .92rem; }
.article-grid { display: grid; grid-template-columns: 220px minmax(0, 1fr); gap: clamp(24px, 5vw, 62px); padding-bottom: 47px; }
.article-nav { align-self: start; position: sticky; top: 20px; background: #f0eafc; border: 1px solid #e3d8f6; border-radius: 17px; padding: 15px; }
.article-nav strong { display: block; margin-bottom: 5px; }
.article-nav a { display: block; font-size: .94rem; padding: 4px 0; color: var(--violet); text-underline-offset: 3px; }
.prose { max-width: 72ch; }
.prose section { padding: 19px 0 23px; border-top: 1px solid var(--line); }
.prose h2 { font-size: clamp(1.45rem, 3vw, 2.1rem); margin-bottom: 12px; }
.prose p, .prose li { color: var(--muted); }
.prose p + p { margin-top: 11px; }
.prose a { color: var(--violet); text-underline-offset: 3px; }
.prose ul, .prose ol { margin: 10px 0 0; padding-left: 1.25em; }
.prose li + li { margin-top: 6px; }

@media (max-width: 780px) {
  .wrap { width: min(100% - 38px, 650px); }
  .site-header { min-height: 70px; gap: 10px; }
  .site-header > nav, .site-footer nav { gap: 12px; }
  .feature-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .tile { grid-column: auto; }
  .tile:last-child { grid-column: 1 / -1; }
  .recap-details { gap: 16px; }
  .privacy-feature, .faq { grid-template-columns: 1fr; }
  .article-grid { grid-template-columns: 1fr; }
  .article-nav { position: static; }
}
@media (max-width: 520px) {
  .wrap { width: calc(100% - 32px); }
  .hero { padding-bottom: 28px; }
  .showcase { border-radius: 17px; padding: 12px 9px 0; }
  .showcase-top { padding-inline: 3px; margin-bottom: 8px; }
  .feature-grid, .recap-details { grid-template-columns: 1fr; }
  .tile { border-radius: 19px; }
  .site-footer { gap: 12px 18px; }
  .site-footer small { flex-basis: 100%; }
}
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .button { transition: none; }
}

.visually-hidden { position: absolute; width: 1px; height: 1px; padding: 0; overflow: hidden; clip-path: inset(50%); white-space: nowrap; }
.header-actions { display: flex; align-items: center; gap: 10px; }
.language-picker { position: relative; }
.language-picker summary {
  display: flex;
  align-items: center;
  gap: 9px;
  min-height: 40px;
  padding: 7px 10px;
  border: 1px solid var(--line);
  border-radius: 9px;
  background: var(--white);
  color: var(--ink);
  font-size: .9rem;
  font-weight: 640;
  list-style: none;
  cursor: pointer;
  white-space: nowrap;
}
.language-picker summary::-webkit-details-marker { display: none; }
.language-picker summary::after {
  content: "";
  width: 7px;
  height: 7px;
  border-right: 2px solid var(--violet);
  border-bottom: 2px solid var(--violet);
  transform: translateY(-2px) rotate(45deg);
}
.language-picker[open] summary::after { transform: translateY(2px) rotate(225deg); }
.language-picker nav {
  position: absolute;
  z-index: 3;
  top: calc(100% + 6px);
  right: 0;
  display: grid;
  min-width: 154px;
  padding: 5px;
  border: 1px solid var(--line);
  border-radius: 12px;
  background: var(--white);
  box-shadow: 0 12px 30px #27174224;
}
.language-picker a {
  padding: 6px 10px;
  border-radius: 7px;
  color: var(--muted);
  text-decoration: none;
  font-size: .94rem;
  font-weight: 620;
}
.language-picker a:hover, .language-picker a[aria-current] { color: var(--violet); background: #f0e9ff; }

:lang(zh-Hans) .hero h1, :lang(zh-Hans) h2, :lang(zh-Hans) h3 { letter-spacing: -.02em; }

@media (max-width: 710px) {
  .site-header { display: grid; grid-template-columns: minmax(0, 1fr) auto; padding-block: 10px; }
  .header-actions { display: contents; }
  .language-picker, .header-actions > .button { justify-self: end; }
  .site-header > nav { grid-row: 2; gap: 4px 12px; }
  .site-header > nav a { font-size: .9rem; }
  .language-picker { grid-column: 2; grid-row: 1; }
  .header-actions > .button { grid-column: 2; grid-row: 2; }
}
