:root {
  color-scheme: light;
  --paper: #fbf9fe;
  --ink: #211531;
  --muted: #5f536d;
  --purple: #772eab;
  --deep-purple: #4a2266;
  --line: #e8def0;
  --gutter: clamp(1.125rem, 5vw, 4.5rem);
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", system-ui, sans-serif;
  color: var(--ink);
  background: var(--paper);
  line-height: 1.55;
}

* { box-sizing: border-box; }
body { margin: 0; }
img { display: block; height: auto; max-width: 100%; }
a { color: inherit; text-decoration: none; }
a:focus-visible, summary:focus-visible {
  outline: 3px solid #a550d5;
  outline-offset: 4px;
}
button, summary { -webkit-tap-highlight-color: transparent; }
summary { cursor: pointer; }
summary::-webkit-details-marker { display: none; }
summary::marker { content: ""; }
p, h1, h2, h3 { margin: 0; }
h1, h2, h3 { line-height: 1.1; text-wrap: balance; overflow-wrap: anywhere; }
h1, h2 { letter-spacing: -0.05em; }
:lang(zh) :is(h1, h2) { letter-spacing: -0.04em; line-height: 1.15; }
:is(:lang(ar), :lang(he), :lang(hi), :lang(th)) :is(h1, h2, h3) { letter-spacing: normal; line-height: 1.3; }

.wrap { width: min(100% - var(--gutter) * 2, 73rem); margin-inline: auto; }
.skip {
  position: fixed;
  z-index: 3;
  inset-block-start: 1rem;
  inset-inline-start: 1rem;
  padding: .75rem 1rem;
  background: white;
  transform: translateY(-180%);
}
.skip:focus { transform: translateY(0); }
.site-header { border-bottom: 1px solid var(--line); }
.header {
  min-height: 4.75rem;
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto minmax(0, 1fr);
  align-items: center;
  gap: 2rem;
}
.brand {
  display: inline-flex;
  align-items: center;
  justify-self: start;
  gap: .65rem;
  font-size: 1rem;
  font-weight: 730;
  overflow-wrap: anywhere;
  line-height: 1.2;
}
.brand img { border-radius: 25%; flex: 0 0 36px; }
.main-nav, .footer nav { display: flex; align-items: center; gap: clamp(1.25rem, 3.4vw, 2.5rem); }
.main-nav a, .footer a { font-size: .9375rem; font-weight: 600; color: var(--muted); }
.main-nav a:hover, .footer a:hover { color: var(--purple); text-decoration: underline; text-underline-offset: .25em; }
.language { position: relative; z-index: 2; justify-self: end; min-width: 0; max-width: 100%; }
.language summary {
  display: flex;
  align-items: center;
  gap: .65rem;
  padding: .55rem .85rem;
  border: 1px solid var(--line);
  border-radius: 999px;
  font-size: .875rem;
  font-weight: 680;
}
.language-label { overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.chevron {
  flex: none;
  width: .48rem;
  height: .48rem;
  border-right: 1.5px solid;
  border-bottom: 1.5px solid;
  transform: translateY(-.12rem) rotate(45deg);
}
.language[open] .chevron { transform: translateY(.1rem) rotate(225deg); }
.language ul {
  position: absolute;
  inset-block-start: calc(100% + .5rem);
  inset-inline-end: 0;
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: .2rem;
  width: min(27rem, calc(100vw - var(--gutter) * 2));
  max-height: min(28rem, calc(100dvh - 6rem));
  overflow-y: auto;
  overscroll-behavior: contain;
  margin: 0;
  padding: .5rem;
  list-style: none;
  border: 1px solid var(--line);
  border-radius: .9rem;
  background: white;
  box-shadow: 0 12px 32px #4a226614;
}
.language a {
  display: flex;
  align-items: center;
  min-height: 2.6rem;
  padding: .45rem .7rem;
  border-radius: .55rem;
  overflow-wrap: anywhere;
  font-size: .9375rem;
  line-height: 1.3;
}
.language a:focus-visible { outline-offset: -2px; }
.language a:hover, .language a[aria-current] { color: var(--purple); background: #f3e9fa; }

.hero {
  display: grid;
  grid-template-columns: .9fr 1.1fr;
  gap: clamp(2rem, 5vw, 5rem);
  align-items: center;
  padding-block: clamp(2.25rem, 5vw, 5rem) clamp(3rem, 6vw, 6rem);
}
.hero h1 { font-size: clamp(2.5rem, 4.75vw, 4.2rem); font-weight: 780; }
.hero h1 span { display: block; color: var(--purple); }
.hero-copy p {
  max-width: 36ch;
  margin-block: 1.35rem 1.65rem;
  color: var(--muted);
  font-size: clamp(1.05rem, 1.6vw, 1.23rem);
}
.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 3.1rem;
  padding: .75rem 1.35rem;
  color: white;
  background: var(--deep-purple);
  border: 1px solid transparent;
  border-radius: .85rem;
  font-weight: 720;
}
.button:hover { background: #672b90; }
.platform { display: block; margin-top: .75rem; font-size: .875rem; color: var(--muted); }
.hero-stage {
  position: relative;
  isolation: isolate;
  aspect-ratio: 1.12;
  background:
    radial-gradient(ellipse 43% 44% at 57% 56%, #cbb0ef 0%, #dec9f4 44%, transparent 100%),
    radial-gradient(ellipse 35% 40% at 37% 39%, #ecd1f2 0%, transparent 100%),
    radial-gradient(ellipse 33% 35% at 67% 65%, #dad3fc 0%, transparent 100%);
}
.hero-stage::before {
  content: "";
  position: absolute;
  z-index: -1;
  inset: 12%;
  transform: rotate(-19deg);
  background:
    radial-gradient(ellipse at center, transparent 48%, #8c54b731 48.3%, transparent 48.7%,
                    transparent 60%, #8c54b727 60.3%, transparent 60.7%,
                    transparent 72%, #8c54b71e 72.3%, transparent 72.7%);
  mask-image: radial-gradient(ellipse 67% 65% at center, #000 20%, transparent 82%);
}
.phone {
  position: absolute;
  width: 32%;
  border: clamp(3px, .5vw, 7px) solid #292031;
  border-radius: 15% / 7%;
  box-shadow: 0 20px 40px #45236944, 0 4px 12px #45236924;
  background: white;
}
.phone-record { top: 8%; left: 20%; z-index: 1; transform: rotate(-9deg); }
.phone-text { top: 18%; left: 51%; transform: rotate(10deg); }

.section { padding-block: clamp(3.25rem, 7vw, 6.5rem); scroll-margin-top: 1rem; }
h2 { font-size: clamp(2rem, 4vw, 3.45rem); font-weight: 770; }
.features { background: #fff; border-block: 1px solid var(--line); }
.section-intro { margin-block: .65rem 2rem; color: var(--muted); font-size: 1.1rem; }
.feature-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 1.2rem; }
.feature-card { overflow: hidden; border: 1px solid var(--line); border-radius: 1.35rem; }
.feature-visual {
  overflow: hidden;
  display: flex;
  justify-content: center;
  padding-top: 1.2rem;
  height: clamp(10.5rem, 21vw, 15.25rem);
}
.visual-import { background: #efe7fa; }
.visual-trim { background: #f4e4f3; }
.visual-history { background: #eae6fb; }
.feature-visual img {
  align-self: start;
  width: min(54%, 11.25rem);
  border: 4px solid #302638;
  border-radius: 14% / 7%;
  box-shadow: 0 10px 27px #3f295a35;
}
.visual-import img { transform: translateY(-6%) rotate(-6deg); }
.visual-trim img { transform: rotate(5deg); }
.visual-history img { transform: rotate(-4deg); }
.feature-copy { padding: 1.35rem 1.4rem 1.55rem; }
.feature-copy h3, .steps h3, .summary-card h3 { font-size: clamp(1.18rem, 1.8vw, 1.42rem); font-weight: 730; }
.feature-copy p, .steps p { margin-top: .55rem; color: var(--muted); }

.workflow {
  display: grid;
  grid-template-columns: 1.06fr .94fr;
  gap: clamp(2rem, 7vw, 6rem);
  align-items: center;
}
.steps { display: grid; gap: .95rem; padding: 0; margin: 1.35rem 0 0; list-style: none; }
.steps li { border-inline-start: 3px solid #d1a8e7; padding-block: .45rem; padding-inline-start: 1rem; }
.steps p { margin-top: .3rem; }
.summary-stage {
  padding: clamp(1rem, 4vw, 3.5rem);
  border: 1px solid #e9dcf3;
  border-radius: 1.8rem;
  background: radial-gradient(ellipse at 4% 100%, #dbc4f3, transparent 75%), #efe4f9;
}
.summary-card {
  padding: clamp(1.3rem, 3vw, 2.2rem);
  border: 1px solid #fff;
  border-radius: 1.2rem;
  background: #fff;
  box-shadow: 0 12px 30px #4a226619;
}
.summary-label { margin-bottom: .95rem; color: var(--purple); font-weight: 700; font-size: .875rem; }
.summary-label span { margin-inline-end: .25rem; }
.summary-card ul { padding-inline-start: 1.2rem; margin: .75rem 0 0; color: var(--muted); }
.summary-card li + li { margin-top: .45rem; }
.summary-card li::marker { color: var(--purple); }

.faq {
  display: grid;
  grid-template-columns: .65fr 1.35fr;
  gap: 2rem;
  border-top: 1px solid var(--line);
}
.faq details { border-bottom: 1px solid var(--line); }
.faq details:first-of-type { border-top: 1px solid var(--line); }
.faq summary {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 1rem;
  min-height: 3.5rem;
  padding-block: .8rem;
  font-weight: 690;
  font-size: 1.05rem;
}
.faq details p { padding-block-end: 1rem; padding-inline-end: 1.6rem; color: var(--muted); }
.plus { position: relative; flex: 0 0 1rem; height: 1rem; color: var(--purple); }
.plus::before, .plus::after { content: ""; position: absolute; background: currentColor; border-radius: 2px; }
.plus::before { inset: calc(50% - 1px) .13rem auto; height: 2px; }
.plus::after { inset: .13rem auto .13rem calc(50% - 1px); width: 2px; }
details[open] .plus::after { display: none; }

.final-section { padding-bottom: clamp(2.5rem, 6vw, 5.5rem); }
.final-cta {
  display: grid;
  justify-items: center;
  gap: 1rem;
  padding: clamp(2rem, 6vw, 4.5rem) 1.2rem;
  text-align: center;
  color: white;
  border-radius: 1.8rem;
  background: radial-gradient(ellipse at bottom left, #77359d, transparent 65%), #45205e;
}
.final-cta img { border-radius: 26%; }
.final-cta h2 { max-width: 19ch; }
.final-cta p { color: #f1e4f9; }
.alternate { background: white; color: var(--deep-purple); }
.alternate:hover { background: #f2e5fa; }
.final-cta a:focus-visible { outline-color: #f2d5ff; }
.site-footer { border-top: 1px solid var(--line); color: var(--muted); }
.footer { min-height: 5rem; display: flex; justify-content: space-between; align-items: center; gap: 1rem; }
.footer nav { flex-wrap: wrap; gap: .5rem 1.5rem; }
.missing { display: grid; gap: 1.5rem; justify-items: start; padding-block: 4rem; }

@media (max-width: 52rem) {
  .hero { grid-template-columns: 1fr; gap: 2rem; max-width: 40rem; }
  .hero h1 { font-size: clamp(2.65rem, 7vw, 4rem); }
  .hero-copy p { margin-block: .9rem 1.25rem; }
  .feature-grid { gap: .8rem; }
  .feature-copy { padding: 1.05rem; }
  .workflow { gap: 1.75rem; }
}
@media (max-width: 39rem) {
  .header { min-height: 4.2rem; grid-template-columns: minmax(0, 1fr) minmax(0, .85fr); gap: .5rem; }
  .main-nav { display: none; }
  .feature-grid, .workflow, .faq { grid-template-columns: 1fr; }
  .feature-grid { gap: 1rem; }
  .feature-visual { height: 13rem; }
  .feature-visual img { width: 9rem; }
  .faq { gap: 1.15rem; }
  .footer { align-items: flex-start; flex-direction: column; justify-content: center; padding-block: 1.25rem; }
}
