*, *::before, *::after { box-sizing: border-box; }

:root {
  color-scheme: light;
  --paper: #faf7f1;
  --sheet: #fffcf6;
  --ink: #312337;
  --quiet: #665761;
  --accent: #6a415f;
  --plum: #432e4c;
  --rose: #f2e5e7;
  --line: #e3d7d4;
  --serif: "Iowan Old Style", "Palatino Linotype", Georgia, "Noto Serif SC", "Songti SC", SimSun, serif;
  --sans: system-ui, -apple-system, "PingFang SC", "Microsoft YaHei", sans-serif;
}

body {
  margin: 0;
  background: var(--paper);
  color: var(--ink);
  font-family: var(--sans);
  line-height: 1.6;
  text-rendering: optimizeLegibility;
}

[hidden] { display: none !important; }
img { display: block; max-width: 100%; }
a { color: inherit; text-decoration: none; }
a:hover { text-decoration: underline; text-underline-offset: .3em; }
a, button { -webkit-tap-highlight-color: transparent; }
button, select, textarea { font: inherit; }
:focus-visible { outline: 2px solid #9b5a76; outline-offset: 5px; }
section[id] { scroll-margin-top: 32px; }

h1, h2, h3, p, figure, blockquote { margin: 0; }
h1, h2, h3 { text-wrap: balance; }
h1, h2 { font-family: var(--serif); font-weight: 400; }
h2 { font-size: clamp(2.15rem, 4.1vw, 3.65rem); line-height: 1.11; letter-spacing: -.046em; }

.wrap { width: min(1140px, calc(100% - 96px)); margin-inline: auto; }

.topbar {
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  align-items: center;
  column-gap: 24px;
  min-height: 83px;
  border-bottom: 1px solid var(--line);
}

.brand {
  display: inline-flex;
  width: fit-content;
  align-items: center;
  gap: 9px;
  font-family: var(--serif);
  font-size: 1.64rem;
  font-weight: 700;
  letter-spacing: -.05em;
  white-space: nowrap;
  line-height: 1;
}

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

.page-nav {
  display: flex;
  align-items: center;
  gap: 28px;
  color: var(--quiet);
  font-size: .875rem;
  font-weight: 550;
}

.page-nav a { display: inline-flex; align-items: center; min-height: 44px; }

.language {
  position: relative;
  justify-self: end;
  color: var(--quiet);
  font-size: .85rem;
  font-weight: 550;
}

.language summary {
  display: flex;
  align-items: center;
  gap: 8px;
  min-height: 44px;
  cursor: pointer;
  list-style: none;
}

.language summary::-webkit-details-marker { display: none; }
.language summary::after { content: ""; width: .45em; height: .45em; border: solid currentColor; border-width: 0 1px 1px 0; transform: rotate(45deg); }

.language-list {
  position: absolute;
  z-index: 2;
  inset-inline-end: 0;
  top: 100%;
  min-width: 168px;
  max-height: min(55dvh, 440px);
  overflow: auto;
  padding: 5px;
  color: var(--ink);
  background: var(--paper);
  border: 1px solid currentColor;
  border-radius: 12px;
  box-shadow: 0 12px 30px #38223422;
}

.language-list a { display: flex; align-items: center; min-height: 44px; padding: 4px 12px; border-radius: 7px; white-space: nowrap; }
.language-list a:hover, .language-list a:focus-visible { background: #f3e5ec; }
.language [aria-current] { color: var(--ink); text-decoration: underline; text-underline-offset: .3em; }

.hero {
  display: grid;
  grid-template-columns: 1fr .98fr;
  gap: clamp(42px, 5.7vw, 84px);
  align-items: center;
  padding-block: 49px 60px;
}

.hero-copy { padding-bottom: 12px; }

.eyebrow {
  color: var(--accent);
  font-size: .72rem;
  font-weight: 750;
  line-height: 1.35;
  letter-spacing: .13em;
}

.dot {
  display: inline-block;
  width: 8px;
  height: 8px;
  margin-right: 10px;
  border-radius: 50%;
  background: #b57582;
  vertical-align: .05em;
}

h1 {
  margin-top: 19px;
  font-size: clamp(3.5rem, 5.65vw, 5.85rem);
  line-height: .99;
  letter-spacing: -.066em;
}

h1 em { color: var(--accent); font-weight: inherit; }

.lede {
  max-width: 38ch;
  color: var(--quiet);
  font-size: clamp(1.02rem, 1.45vw, 1.21rem);
  line-height: 1.65;
}

.hero .lede { margin-top: 25px; }
.hero-actions { display: flex; flex-wrap: wrap; align-items: center; gap: 14px 18px; margin-top: 28px; }

.button {
  display: inline-flex;
  gap: .85rem;
  align-items: center;
  justify-content: center;
  min-height: 50px;
  padding: 11px 21px;
  border: 1px solid transparent;
  border-radius: 999px;
  background: var(--plum);
  color: white;
  cursor: pointer;
  font-size: .94rem;
  font-weight: 650;
  transition: background-color .2s ease, transform .2s ease;
}

.button span { font-size: 1.22rem; line-height: 1; }
.button:hover { background: #62415e; text-decoration: none; transform: translateY(-2px); }
.button:active { transform: translateY(0); }
.availability { color: var(--quiet); font-size: .84rem; }

.hero-art { position: relative; min-width: 0; }
.hero-image {
  width: 100%;
  height: clamp(430px, 42vw, 541px);
  border-radius: 30px;
  object-fit: cover;
  object-position: 50% 55%;
  background: #ba8790;
}

.hero-note {
  position: absolute;
  left: -30px;
  bottom: 27px;
  width: min(255px, 76%);
  padding: 19px 22px 17px;
  border: 1px solid rgba(92, 61, 72, .13);
  border-radius: 18px;
  background: var(--sheet);
  box-shadow: 0 11px 35px #32182926;
}

.hero-note figcaption span { margin-right: 3px; }
.hero-note blockquote {
  margin-block: 10px 8px;
  font: italic 1.22rem/1.38 var(--serif);
  letter-spacing: -.025em;
}
.hero-note p { color: var(--quiet); font-size: .76rem; }

.how { padding-block: 33px 69px; border-top: 1px solid var(--line); }
.how h2 { font-size: clamp(2.15rem, 3.9vw, 3.4rem); }
.steps {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 16px;
  margin: 27px 0 0;
  padding: 0;
  list-style: none;
}
.steps li {
  display: grid;
  align-content: start;
  gap: 8px;
  padding: 23px;
  border: 1px solid var(--line);
  border-radius: 19px;
  background: var(--sheet);
}
.steps h3 { font-size: 1.07rem; font-weight: 680; text-wrap: wrap; }
.steps p { max-width: 31ch; color: var(--quiet); font-size: .92rem; }
.step-icon, .stamp {
  display: grid;
  width: 38px;
  height: 38px;
  place-items: center;
  border-radius: 50%;
  background: var(--rose);
  color: var(--accent);
  font-size: 1.18rem;
  line-height: 1;
}
.step-icon { margin-bottom: 3px; }

.demo { padding-block: clamp(62px, 8vw, 115px); background: #efe1e5; }
.demo-grid { display: grid; grid-template-columns: .92fr 1fr; align-items: start; gap: clamp(45px, 8vw, 120px); }
.demo h2 { margin-block: 10px 16px; }
.demo form { display: grid; gap: 8px; margin-top: 22px; }
.demo form label { font-size: .9rem; font-weight: 680; }
.demo select, .demo textarea {
  width: 100%;
  min-height: 46px;
  padding: .57rem .75rem;
  border: 1px solid #baa5af;
  border-radius: 11px;
  background: var(--sheet);
  color: var(--ink);
}
.demo select { margin-bottom: 7px; }
.demo textarea { resize: vertical; }
.demo textarea::placeholder { color: #746773; }
.demo button { width: fit-content; margin-top: 5px; }
.error { color: #88304c; font-weight: 600; font-size: .86rem; }
.annotation { margin-top: 12px; color: var(--quiet); font-size: .83rem; }

.demo-letter {
  min-width: 0;
  padding: clamp(23px, 4vw, 45px);
  border: 1px solid #d7c5cd;
  border-radius: 24px;
  background: var(--sheet);
  box-shadow: 0 14px 32px #4826400c;
  overflow-wrap: anywhere;
}
.letter-top { display: flex; align-items: center; justify-content: space-between; gap: 12px; }
.demo-letter h3 { margin: 13px 0 14px; font: italic clamp(2rem, 3.6vw, 3.2rem)/1.15 var(--serif); letter-spacing: -.04em; text-wrap: wrap; }
.demo-letter > p { margin-bottom: 13px; }
.demo-letter .signoff { color: var(--accent); font: italic 1.25rem/1.3 var(--serif); }
.demo-action { margin-top: 19px; padding: 15px 18px; border-radius: 12px; background: var(--rose); }
.demo-action p + p { margin-top: 4px; }

.app-section { padding-top: clamp(62px, 7vw, 91px); }

.app-panel {
  display: flex;
  align-items: flex-start;
  gap: 24px;
  padding: clamp(27px, 4vw, 52px);
  border-radius: 24px;
  background: var(--plum);
  color: var(--paper);
}

.app-panel img { border: 1px solid #a884a5; border-radius: 21px; }
.app-panel .eyebrow { color: #f5c5b2; }
.app-panel h2 { margin-block: 8px 12px; }
.app-panel p:not(.eyebrow) { max-width: 56ch; color: #f3e6eb; }
.app-status { display: flex; flex-wrap: wrap; gap: 7px 18px; margin-top: 17px; font-size: .86rem; font-weight: 650; }
.privacy { display: grid; grid-template-columns: .8fr 1fr; gap: 25px; padding-block: 58px; }
.privacy h2 { font-size: clamp(1.8rem, 3.3vw, 2.65rem); }
.privacy p { color: var(--quiet); max-width: 57ch; }

.footer {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  align-items: center;
  gap: 14px 24px;
  min-height: 82px;
  padding-block: 18px;
  border-top: 1px solid var(--line);
  color: var(--quiet);
  font-size: .84rem;
}
.footer .brand { color: var(--ink); font-size: 1.26rem; }

:lang(zh-Hans) h1 { font-size: clamp(2.7rem, 4.8vw, 4.65rem); line-height: 1.14; letter-spacing: -.035em; }
:lang(zh-Hans) h1 em { font-style: normal; }
:lang(zh-Hans) h2 { letter-spacing: -.025em; }
:lang(zh-Hans) .lede { max-width: 23em; }
:lang(zh-Hans) .eyebrow { letter-spacing: .09em; }
:lang(zh-Hans) .hero-note blockquote { font-size: 1.08rem; font-style: normal; line-height: 1.55; }

@media (max-width: 900px) {
  .wrap { width: min(100% - 54px, 760px); }
  .hero { gap: 35px; }
  h1 { font-size: clamp(3.1rem, 7vw, 4.45rem); }
  .hero-image { height: 470px; }
  .hero-note { left: -12px; }
  .page-nav { gap: 17px; }
}

@media (max-width: 690px) {
  .wrap { width: min(100% - 36px, 540px); }
  .topbar { min-height: 63px; grid-template-columns: 1fr auto; gap: 8px; }
  .brand { font-size: 1.43rem; }
  .brand img { width: 30px; height: 30px; border-radius: 9px; }
  .page-nav { display: none; }
  .hero { grid-template-columns: 1fr; gap: 26px; padding-block: 36px 39px; }
  .hero-copy { padding: 0; }
  h1 { max-width: 13ch; margin-top: 12px; font-size: clamp(2.65rem, 10.8vw, 4.05rem); }
  :lang(zh-Hans) h1 { max-width: 10em; font-size: clamp(2.38rem, 9vw, 3.5rem); }
  :lang(zh-Hans) h1 em, :lang(zh-Hans) .how h2 span { white-space: nowrap; }
  .hero .lede { margin-top: 15px; }
  .hero-actions { margin-top: 16px; }
  .hero-image { height: clamp(300px, 94vw, 470px); border-radius: 22px; }
  .hero-note { position: relative; left: auto; bottom: auto; width: min(290px, 86%); margin: -45px 0 0 12px; padding: 14px 16px; }
  .hero-note blockquote { font-size: 1.08rem; }
  .steps { gap: 9px; grid-template-columns: 1fr; margin-top: 19px; }
  .steps li { grid-template-columns: 38px 1fr; column-gap: 13px; padding: 14px; }
  .steps h3 { align-self: center; }
  .steps p { grid-column: 2; }
  .how { padding-block: 28px 45px; }
  .demo-grid { grid-template-columns: 1fr; gap: 28px; }
  .app-panel { flex-direction: column; gap: 14px; }
  .app-panel img { width: 62px; height: 62px; border-radius: 17px; }
  .privacy { grid-template-columns: 1fr; gap: 12px; padding-block: 40px; }
}

@media (max-width: 375px) {
  .topbar {
    grid-template-columns: 1fr;
    row-gap: 0;
    padding-top: 10px;
  }
  .language { justify-self: start; }
  .language-list { inset-inline: 0 auto; }
}

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { transition: none !important; }
}

.account-entry { display:inline-flex; align-items:center; min-height:44px; color:var(--ink); text-decoration:underline; text-underline-offset:.25em; }

.launch-form { max-width: 500px; margin-top: 28px; }
.launch-form label { display: block; margin-bottom: 7px; font-size: .87rem; font-weight: 650; color: var(--ink); }
.launch-fields { display: flex; align-items: stretch; gap: 8px; }
.launch-fields input { flex: 1 1 160px; min-width: 0; min-height: 48px; padding: 9px 14px; font: inherit; border: 1px solid #8b7084; border-radius: 10px; background: #fffdf9; color: var(--ink); }
.launch-fields .button { min-height: 48px; padding-inline: 16px; border-radius: 10px; white-space: normal; text-align: center; }
.launch-fields .button:disabled { opacity: .74; transform: none; cursor: wait; }
.launch-form p { margin: 8px 0 0; font-size: .84rem; color: var(--quiet); }
.launch-form [data-state="success"] { color: #375648; font-weight: 650; }
.launch-form [data-state="error"] { color: #8b2f48; font-weight: 650; }
.launch-form [role="status"]:empty { margin: 0; min-height: 0; }
.hero-actions.with-waitlist { margin-top: 12px; }
.with-waitlist .button { background: transparent; color: var(--ink); min-height: 44px; border: 1px solid #8b7084; font-size: .9rem; }
.with-waitlist .button:hover { background: #f3e5ec; }
.launch-result { max-width: 720px; padding-block: 48px; }
.launch-result h1 { font-size: clamp(2rem, 5vw, 3.5rem); }
.launch-result a { text-decoration: underline; }
@media (max-width: 430px) {
  .launch-form { margin-top: 22px; }
  .launch-fields { flex-direction: column; }
  .launch-fields input { flex-basis: auto; width: 100%; }
  .launch-fields .button { align-self: start; }
}
