:root {
  --cream: #fbf4e1;
  --paper: #fffdf8;
  --paper-deep: #f2e7d4;
  --plum: #3d1a40;
  --plum-soft: #745f75;
  --ink: #29262b;
  --amber: #d89b6c;
  --amber-deep: #a85f32;
  --line: rgba(61, 26, 64, .15);
  --shadow: 0 28px 70px rgba(61, 26, 64, .14);
  --serif: Georgia, 'Times New Roman', serif;
  --sans: -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
  color-scheme: light;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}
body {
  margin: 0;
  background: var(--cream);
  color: var(--ink);
  font-family: var(--sans);
  -webkit-font-smoothing: antialiased;
}
img { display: block; max-width: 100%; height: auto; }
a { color: var(--plum); text-underline-offset: 3px; }
.wrap { width: min(1120px, calc(100% - 48px)); margin-inline: auto; }
.narrow { width: min(760px, calc(100% - 48px)); margin-inline: auto; }
.skip {
  position: fixed;
  z-index: 100;
  top: 10px;
  left: 10px;
  padding: 10px 14px;
  border-radius: 999px;
  background: var(--plum);
  color: #fff;
  transform: translateY(-180%);
}
.skip:focus { transform: none; }
:focus-visible { outline: 3px solid var(--amber); outline-offset: 4px; }

.site-header {
  border-bottom: 1px solid var(--line);
  background: rgba(251, 244, 225, .94);
}
.site-header .wrap {
  min-height: 76px;
  display: flex;
  align-items: center;
  gap: 28px;
}
.brand {
  color: var(--plum);
  font: 700 30px/1 var(--serif);
  letter-spacing: -.04em;
  text-decoration: none;
}
.brand i { color: var(--amber); font-style: normal; }
.site-nav { display: flex; align-items: center; gap: 22px; margin-left: auto; }
.site-nav a { color: var(--plum-soft); font-size: 14px; font-weight: 650; text-decoration: none; }
.site-nav a:hover { color: var(--plum); }
.language {
  display: flex;
  padding: 3px;
  border: 1px solid var(--line);
  border-radius: 999px;
}
.language select {
  max-width: 132px;
  border: 0;
  outline: 0;
  padding: 6px 28px 6px 10px;
  border-radius: 999px;
  background: transparent;
  color: var(--plum);
  font: 750 12px/1 var(--sans);
  cursor: pointer;
}
.language a {
  padding: 6px 9px;
  border-radius: 999px;
  color: var(--plum-soft);
  font-size: 11px;
  font-weight: 800;
  letter-spacing: .08em;
  text-decoration: none;
}
.language a[aria-current="page"] { background: var(--plum); color: #fff; }
.header-cta,
.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 46px;
  padding: 0 20px;
  border-radius: 999px;
  background: var(--plum);
  color: #fff;
  font-size: 14px;
  font-weight: 750;
  text-decoration: none;
}
.header-cta:hover,
.button:hover { background: #522357; }

.product-hero { padding: 78px 0 92px; overflow: hidden; }
.product-hero .wrap {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 390px;
  gap: 42px;
  align-items: center;
}
.product-hero .wrap > * { min-width: 0; }
.eyebrow,
.kicker {
  margin: 0 0 18px;
  color: var(--amber-deep);
  font-size: 12px;
  font-weight: 850;
  letter-spacing: .14em;
  text-transform: uppercase;
}
h1,
h2,
h3 { color: var(--plum); font-family: var(--serif); }
.product-hero h1 {
  margin: 0;
  font-size: clamp(50px, 5.8vw, 74px);
  line-height: .98;
  letter-spacing: -.05em;
}
.product-hero h1 em { color: var(--amber-deep); font-weight: 400; }
html:lang(zh) .product-hero h1,
html:lang(zh-Hant) .product-hero h1,
html:lang(ja) .product-hero h1,
html:lang(ko) .product-hero h1,
html:lang(zh) h2,
html:lang(zh-Hant) h2,
html:lang(ja) h2,
html:lang(ko) h2 { font-family: var(--sans); letter-spacing: -.035em; }
html:lang(zh) .product-hero h1,
html:lang(zh-Hant) .product-hero h1,
html:lang(ja) .product-hero h1,
html:lang(ko) .product-hero h1 { font-size: clamp(46px, 5vw, 64px); line-height: 1.08; }
.lead {
  max-width: 650px;
  margin: 28px 0 0;
  color: #5f505f;
  font: 400 21px/1.58 var(--serif);
}
.hero-actions { display: flex; align-items: center; gap: 20px; margin-top: 32px; }
.app-badge img { width: 164px; }
.micro { max-width: 220px; color: var(--plum-soft); font-size: 12px; line-height: 1.5; }
.proof-list { display: flex; flex-wrap: wrap; gap: 10px 20px; margin: 28px 0 0; padding: 0; list-style: none; }
.proof-list li { color: var(--plum-soft); font-size: 13px; }
.proof-list li::before { content: '•'; margin-right: 8px; color: var(--amber-deep); }
.localized-stage {
  position: relative;
  width: min(100%, 390px);
  height: 660px;
  margin-inline: auto;
}
.localized-screen {
  position: absolute;
  overflow: hidden;
  margin: 0;
  border: 1px solid rgba(61, 26, 64, .12);
  border-radius: 30px;
  background: #fff;
  box-shadow: 0 26px 62px rgba(61, 26, 64, .16);
}
.localized-screen img { width: 100%; }
.localized-screen-reader {
  z-index: 2;
  top: 0;
  right: 0;
  width: 300px;
  transform: rotate(1.4deg);
}
.localized-screen-sentence {
  z-index: 1;
  top: 105px;
  left: 0;
  width: 220px;
  transform: rotate(-4deg);
  filter: saturate(.94);
}
.stage-note {
  position: absolute;
  z-index: 3;
  right: -6px;
  bottom: 54px;
  padding: 10px 14px;
  border-radius: 999px;
  background: var(--plum);
  color: #fff;
  font-size: 12px;
  font-weight: 750;
  box-shadow: 0 12px 26px rgba(61, 26, 64, .22);
}

.section { padding: 92px 0; }
.section.paper { background: var(--paper); }
.section.dark { background: var(--ink); color: var(--cream); }
.section h2 { max-width: 780px; margin: 0; font-size: clamp(38px, 5vw, 60px); line-height: 1.04; letter-spacing: -.04em; }
.section-intro { max-width: 700px; margin: 22px 0 42px; color: var(--plum-soft); font: 400 19px/1.65 var(--serif); }
.feature-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; }
.feature {
  padding: 28px;
  border: 1px solid var(--line);
  border-radius: 24px;
  background: var(--paper);
}
.feature span { color: var(--amber-deep); font-size: 12px; font-weight: 850; letter-spacing: .1em; }
.feature h3 { margin: 15px 0 10px; font-size: 27px; line-height: 1.12; }
.feature p { margin: 0; color: var(--plum-soft); font-size: 14px; line-height: 1.65; }
.answer-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 22px; }
.showcase-layout {
  display: grid;
  grid-template-columns: minmax(0, .78fr) minmax(0, 1.22fr);
  gap: 58px;
  align-items: center;
  margin-bottom: 62px;
}
.showcase-copy .section-intro { margin-bottom: 0; }
.library-stage {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 20px;
  align-items: center;
  min-height: 620px;
}
.library-screen {
  overflow: hidden;
  margin: 0;
  border: 1px solid rgba(61, 26, 64, .12);
  border-radius: 28px;
  background: #fff;
  box-shadow: 0 24px 58px rgba(61, 26, 64, .14);
}
.library-screen img { width: 100%; }
.library-screen-shelf { transform: translateY(30px) rotate(-1.5deg); }
.library-screen-catalog { transform: translateY(-30px) rotate(1.5deg); }
.answer {
  padding: 30px;
  border-radius: 24px;
  background: var(--paper-deep);
}
.answer h3 { margin: 0 0 12px; font-size: 24px; }
.answer p { margin: 0; color: #574b57; line-height: 1.65; }
.final-cta { padding: 90px 0; }
.final-card {
  padding: 58px;
  border-radius: 34px;
  background: var(--plum);
  color: var(--cream);
}
.final-card h2 { max-width: 760px; margin: 0 0 20px; color: var(--cream); font-size: clamp(38px, 5vw, 60px); line-height: 1.05; }
.final-card p { max-width: 650px; margin: 0 0 28px; color: rgba(251, 244, 225, .75); font: 18px/1.6 var(--serif); }
.final-card .button { background: var(--cream); color: var(--plum); }

.article-hero { padding: 72px 0 60px; border-bottom: 1px solid var(--line); }
.breadcrumbs { margin: 0 0 26px; color: var(--plum-soft); font-size: 13px; }
.breadcrumbs a { color: inherit; }
.article-hero h1 {
  max-width: 900px;
  margin: 0;
  font-size: clamp(44px, 6.4vw, 74px);
  line-height: 1.02;
  letter-spacing: -.045em;
}
.article-deck { max-width: 780px; margin: 24px 0 0; color: #5f505f; font: 21px/1.6 var(--serif); }
.article-meta { display: flex; flex-wrap: wrap; gap: 8px 20px; margin-top: 24px; color: var(--plum-soft); font-size: 13px; }
.article-layout {
  display: grid;
  grid-template-columns: 220px minmax(0, 760px);
  gap: 64px;
  justify-content: center;
  padding: 64px 0 90px;
}
.toc { position: sticky; top: 24px; align-self: start; padding: 20px; border: 1px solid var(--line); border-radius: 18px; background: rgba(255, 253, 248, .78); }
.toc b { display: block; margin-bottom: 12px; color: var(--plum); font-size: 12px; letter-spacing: .08em; text-transform: uppercase; }
.toc a { display: block; padding: 5px 0; color: var(--plum-soft); font-size: 13px; line-height: 1.35; text-decoration: none; }
.article { min-width: 0; }
.article h2 { scroll-margin-top: 24px; margin: 54px 0 18px; font-size: 36px; line-height: 1.12; }
.article h2:first-child { margin-top: 0; }
.article h3 { margin: 34px 0 12px; font-size: 25px; line-height: 1.2; }
.article p,
.article li { font: 17px/1.75 var(--serif); }
.article p { margin: 0 0 20px; }
.article ul,
.article ol { margin: 0 0 24px; padding-left: 24px; }
.article li { margin: 8px 0; }
.article strong { color: var(--plum); }
.article blockquote {
  margin: 30px 0;
  padding: 22px 26px;
  border-left: 4px solid var(--amber);
  background: var(--paper-deep);
  color: #4d414c;
}
.article blockquote p { margin: 0; }
.article table { width: 100%; margin: 28px 0; border-collapse: collapse; background: var(--paper); font-size: 14px; }
.article th,
.article td { padding: 13px 14px; border: 1px solid var(--line); text-align: left; vertical-align: top; line-height: 1.45; }
.article th { background: var(--paper-deep); color: var(--plum); }
.sources { margin-top: 56px; padding-top: 28px; border-top: 1px solid var(--line); }
.sources li { font: 14px/1.55 var(--sans); }
.inline-cta {
  margin: 42px 0;
  padding: 30px;
  border-radius: 24px;
  background: var(--plum);
  color: var(--cream);
}
.inline-cta h3 { margin-top: 0; color: var(--cream); }
.inline-cta p { color: rgba(251, 244, 225, .75); }
.inline-cta .button { background: var(--cream); color: var(--plum); }

.site-footer { padding: 34px 0; border-top: 1px solid var(--line); }
.site-footer .wrap { display: flex; align-items: center; flex-wrap: wrap; gap: 16px 24px; color: var(--plum-soft); font-size: 13px; }
.footer-links { display: flex; flex-wrap: wrap; gap: 12px 20px; margin-left: auto; }
.footer-links a { color: var(--plum-soft); }

@media (max-width: 900px) {
  .site-nav { display: none; }
  .language { margin-left: auto; }
  .product-hero .wrap { grid-template-columns: 1fr; gap: 54px; }
  .product-hero h1 { max-width: 780px; }
  .localized-stage { width: 390px; }
  .feature-grid { grid-template-columns: 1fr; }
  .showcase-layout { grid-template-columns: 1fr; gap: 28px; }
  .showcase-copy .section-intro { margin-bottom: 20px; }
  .library-stage { width: min(100%, 620px); margin-inline: auto; }
  .article-layout { grid-template-columns: minmax(0, 760px); }
  .toc { position: static; }
}

@media (max-width: 620px) {
  .wrap,
  .narrow { width: min(100% - 30px, 1120px); }
  .site-header .wrap { gap: 12px; }
  .header-cta { padding-inline: 14px; }
  .product-hero { padding: 56px 0 68px; }
  .product-hero h1 { font-size: 48px; }
  .lead { font-size: 18px; }
  .hero-actions { align-items: flex-start; flex-direction: column; }
  .localized-stage { width: min(100%, 350px); height: 580px; }
  .localized-screen-reader { width: 270px; }
  .localized-screen-sentence { top: 88px; width: 190px; }
  .stage-note { right: 0; bottom: 36px; }
  .section { padding: 70px 0; }
  .answer-grid { grid-template-columns: 1fr; }
  .showcase-layout { margin-bottom: 42px; }
  .library-stage { gap: 10px; min-height: 440px; }
  .library-screen { border-radius: 20px; }
  .library-screen-shelf { transform: translateY(18px) rotate(-1deg); }
  .library-screen-catalog { transform: translateY(-18px) rotate(1deg); }
  .final-card { padding: 40px 24px; border-radius: 26px; }
  .article-hero { padding: 52px 0 44px; }
  .article-hero h1 { font-size: 43px; }
  .article-deck { font-size: 18px; }
  .article-layout { padding-top: 38px; }
  .article h2 { font-size: 31px; }
  .article table { display: block; overflow-x: auto; }
  .site-footer .wrap { align-items: flex-start; flex-direction: column; }
  .footer-links { margin-left: 0; }
}

@media (max-width: 460px) {
  .site-header .header-cta { display: none; }
  .language { margin-left: auto; }
  .language select { max-width: 126px; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
}
