:root {
  color-scheme: light;
  --ink: #242525;
  --muted: #70716d;
  --dim: #9b9b95;
  --line: rgba(30, 34, 30, .09);
  --soft-line: rgba(30, 34, 30, .06);
  --page: #fbfaf7;
  --paper: rgba(255, 255, 252, .88);
  --paper-solid: #fffefa;
  --warm: #f4eadb;
  --warm-strong: #ffb36f;
  --accent: #0f7c64;
  --accent-soft: #dfeee8;
  --accent-line: rgba(15, 124, 100, .18);
  --shadow: 0 24px 80px rgba(85, 69, 45, .13);
  --display: "Avenir Next", "Helvetica Neue", sans-serif;
  --body: Avenir, "PingFang SC", "Hiragino Sans GB", sans-serif;
  --radius-lg: 28px;
  --radius-md: 18px;
  --radius-sm: 12px;
  --shell: min(1180px, calc(100vw - 48px));
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  overflow-x: hidden;
  color: var(--ink);
  background:
    linear-gradient(180deg, rgba(255, 255, 255, .85), rgba(251, 250, 247, 0) 34rem),
    var(--page);
  font-family: var(--body);
  -webkit-font-smoothing: antialiased;
}

a { color: inherit; text-decoration: none; }
button { font: inherit; }
.shell { width: var(--shell); margin-inline: auto; }

.ambient {
  position: fixed;
  inset: 0;
  z-index: -2;
  overflow: hidden;
  pointer-events: none;
}
.warm-halo {
  position: absolute;
  width: 46vw;
  aspect-ratio: 1;
  border-radius: 999px;
  filter: blur(90px);
  opacity: .46;
}
.warm-halo-left {
  top: -18vw;
  left: -16vw;
  background: #ffe2bd;
}
.warm-halo-right {
  top: 3rem;
  right: -18vw;
  background: #ffd7b9;
}
.paper-grid {
  position: absolute;
  inset: 0;
  opacity: .42;
  background-image: radial-gradient(rgba(197, 143, 86, .2) 1px, transparent 1px);
  background-size: 28px 28px;
  mask-image: linear-gradient(to bottom, black, transparent 72%);
}

.nav {
  height: 74px;
  display: flex;
  align-items: center;
  justify-content: space-between;
}
.brand,
.nav-actions {
  display: flex;
  align-items: center;
}
.brand {
  gap: 11px;
  color: #30312f;
  font-weight: 720;
  letter-spacing: -.02em;
}
.brand img {
  width: 34px;
  height: 34px;
  border-radius: 10px;
  box-shadow: 0 10px 24px rgba(15, 124, 100, .14);
}
.nav-actions { gap: 9px; }
.language-switch,
.github-link {
  display: grid;
  place-items: center;
  width: 42px;
  height: 42px;
  color: #222320;
  border: 1px solid var(--line);
  border-radius: 50%;
  background: rgba(255, 255, 255, .68);
  box-shadow: 0 10px 26px rgba(85, 69, 45, .08);
  backdrop-filter: blur(18px);
  transition: border-color .2s ease, background .2s ease, transform .2s ease, box-shadow .2s ease;
}
.language-switch {
  cursor: pointer;
  font-size: 11px;
  font-weight: 800;
  letter-spacing: .08em;
}
.github-link svg {
  width: 19px;
  fill: currentColor;
}
.language-switch:hover,
.github-link:hover {
  border-color: var(--accent-line);
  background: #ffffff;
  box-shadow: 0 14px 34px rgba(15, 124, 100, .12);
  transform: translateY(-2px);
}

.hero {
  min-height: calc(100dvh - 74px);
  display: grid;
  grid-template-columns: minmax(330px, .78fr) minmax(580px, 1.22fr);
  gap: clamp(30px, 5vw, 64px);
  align-items: center;
  padding: 14px 0 76px;
}
.hero-copy-block {
  position: relative;
  z-index: 2;
  max-width: 520px;
}
.eyebrow,
.section-label {
  margin: 0 0 18px;
  color: var(--accent);
  font-size: 12px;
  font-weight: 780;
  letter-spacing: .14em;
  text-transform: uppercase;
}
h1 {
  margin: 0;
  font-family: var(--display);
  font-size: clamp(48px, 5.45vw, 72px);
  font-weight: 760;
  line-height: .98;
  letter-spacing: -.064em;
}
h1 span {
  display: block;
}
html[lang="zh-CN"] h1 {
  font-size: clamp(42px, 4.1vw, 54px);
  letter-spacing: -.045em;
}
.hero-copy {
  max-width: 490px;
  margin: 22px 0 0;
  color: var(--muted);
  font-size: clamp(17px, 1.7vw, 20px);
  line-height: 1.72;
}
.hero-actions {
  margin-top: 28px;
  display: flex;
  align-items: center;
  gap: 16px;
  flex-wrap: wrap;
}
.download-button {
  display: inline-flex;
  align-items: center;
  gap: 13px;
  min-width: 232px;
  padding: 14px 20px;
  color: #fffefa;
  border: 1px solid rgba(255, 255, 255, .34);
  border-radius: 999px;
  background: #20211f;
  box-shadow: 0 18px 50px rgba(38, 36, 30, .18);
  text-align: left;
  transition: transform .25s cubic-bezier(.22, 1, .36, 1), box-shadow .25s ease, background .25s ease;
}
.download-button:hover {
  background: #111210;
  transform: translateY(-3px);
  box-shadow: 0 24px 70px rgba(38, 36, 30, .22);
}
.download-button:active {
  transform: translateY(-1px) scale(.99);
}
.download-button svg {
  width: 25px;
  flex: 0 0 auto;
  fill: currentColor;
}
.download-button strong,
.download-button small {
  display: block;
  white-space: nowrap;
}
.download-button strong {
  font-size: 15px;
  letter-spacing: -.01em;
}
.download-button small {
  margin-top: 2px;
  color: rgba(255, 255, 255, .66);
  font-size: 10px;
}
.release-note {
  color: var(--dim);
  font-size: 11px;
  font-weight: 720;
  letter-spacing: .08em;
  text-transform: uppercase;
}

.product-theater {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: auto;
  margin: -1vw -1vw -1vw -6vw;
}
.product-theater::before {
  content: "";
  position: absolute;
  inset: auto 8% 6% 10%;
  z-index: -1;
  height: 28%;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(255, 156, 80, .22), transparent 70%);
  filter: blur(34px);
}
.product-visual-image {
  position: relative;
  z-index: 1;
  display: block;
  width: min(820px, 112%);
  height: auto;
  object-fit: contain;
  filter: drop-shadow(0 34px 70px rgba(85, 69, 45, .16));
}
.mac-window {
  position: absolute;
  inset: 18px 0 auto auto;
  width: min(720px, 100%);
  overflow: hidden;
  border: 1px solid rgba(38, 38, 34, .12);
  border-radius: 18px;
  background: rgba(255, 255, 255, .94);
  box-shadow: var(--shadow);
  transform: rotateX(2deg) rotateY(-5deg) translateZ(0);
  transform-origin: center;
}
.window-bar {
  height: 32px;
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 0 12px;
  border-bottom: 1px solid var(--soft-line);
  background: rgba(255, 255, 255, .84);
}
.traffic {
  width: 12px;
  height: 12px;
  border-radius: 50%;
}
.traffic.red { background: #ff5f57; }
.traffic.yellow { background: #febc2e; }
.traffic.green { background: #28c840; }
.window-title {
  margin-left: 6px;
  color: #696a66;
  font-size: 12px;
  font-weight: 760;
}
.app-layout {
  display: grid;
  grid-template-columns: 168px 1fr;
  min-height: 486px;
}
.app-sidebar {
  padding: 12px 10px;
  border-right: 1px solid var(--soft-line);
  background: linear-gradient(180deg, #fbfbf8, #f7f4ee);
}
.sidebar-mark {
  width: 36px;
  height: 36px;
  display: grid;
  place-items: center;
  margin-bottom: 18px;
  color: #fff;
  border-radius: 10px;
  background: var(--accent);
  font-size: 16px;
}
.app-sidebar nav {
  display: grid;
  gap: 4px;
}
.app-sidebar nav > span {
  display: flex;
  align-items: center;
  gap: 10px;
  min-height: 38px;
  padding: 0 12px;
  color: #5b5d59;
  border-radius: 10px;
  font-size: 13px;
  font-weight: 680;
  overflow: hidden;
}
.app-sidebar nav > span > span {
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}
.app-sidebar nav > span > b {
  width: 18px;
  color: #858783;
  font-size: 15px;
  font-weight: 700;
}
.app-sidebar nav > span.active {
  color: #2f3b36;
  border: 1px solid var(--accent-line);
  background: var(--accent-soft);
}
.app-sidebar nav > span.active > b {
  color: var(--accent);
}
.dashboard-preview {
  padding: 28px 28px 34px;
}
.dashboard-heading {
  display: flex;
  align-items: center;
  gap: 13px;
  margin-bottom: 20px;
}
.home-glyph {
  width: 36px;
  height: 36px;
  display: grid;
  place-items: center;
  color: #242525;
  font-size: 31px;
  line-height: 1;
}
.dashboard-heading h2 {
  margin: 0;
  font-size: 30px;
  line-height: 1;
  letter-spacing: -.05em;
}
.metric-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 12px;
}
.metric-grid article,
.goal-card,
.history-list article {
  border: 1px solid var(--soft-line);
  border-radius: 9px;
  background: rgba(255, 255, 255, .72);
}
.metric-grid article {
  min-height: 88px;
  padding: 17px 15px;
}
.metric-grid span {
  display: block;
  color: #858783;
  font-size: 12px;
  font-weight: 760;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}
.metric-grid strong {
  display: block;
  margin-top: 12px;
  font-size: 31px;
  line-height: .9;
  letter-spacing: -.05em;
}
.goal-card {
  margin-top: 16px;
  padding: 15px;
}
.goal-card > div:first-child {
  display: flex;
  justify-content: space-between;
  align-items: center;
  color: #777974;
  font-size: 13px;
  font-weight: 740;
}
.goal-card strong {
  color: #2d2f2c;
  font-size: 16px;
}
.goal-track {
  height: 8px;
  margin-top: 14px;
  overflow: hidden;
  border-radius: 999px;
  background: #f0f0ed;
}
.goal-track i {
  display: block;
  width: 7.4%;
  height: 100%;
  border-radius: inherit;
  background: var(--accent);
  animation: goalFill 1.6s .4s cubic-bezier(.22, 1, .36, 1) both;
}
.history-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
  margin: 25px 0 10px;
}
.history-head h3 {
  margin: 0;
  font-size: 21px;
  letter-spacing: -.03em;
}
.history-head span {
  min-width: 180px;
  padding: 8px 12px;
  color: #b0b0ab;
  border: 1px solid var(--soft-line);
  border-radius: 8px;
  font-size: 12px;
}
.history-list {
  display: grid;
  gap: 10px;
}
.history-list article {
  padding: 13px 14px;
}
.history-list p {
  margin: 0;
  display: -webkit-box;
  overflow: hidden;
  color: #343532;
  font-size: 13px;
  line-height: 1.45;
  -webkit-line-clamp: 1;
  -webkit-box-orient: vertical;
}
.history-list span {
  display: block;
  margin-top: 7px;
  color: #a1a29d;
  font-size: 11px;
  font-weight: 720;
}
.hud-card {
  position: absolute;
  right: 28px;
  bottom: 18px;
  width: min(640px, 88%);
  min-height: 104px;
  display: grid;
  grid-template-columns: 64px 180px 1fr 3px;
  align-items: center;
  gap: 20px;
  padding: 18px 26px;
  overflow: hidden;
  border: 1px solid rgba(255, 255, 255, .76);
  border-radius: 999px;
  background: linear-gradient(135deg, rgba(255, 255, 255, .8), rgba(255, 246, 237, .72));
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, .85),
    0 28px 70px rgba(139, 82, 37, .2),
    0 0 0 1px rgba(210, 130, 65, .08);
  backdrop-filter: blur(26px) saturate(1.2);
}
.hud-card::after {
  content: "";
  position: absolute;
  inset: auto 9% -42px 9%;
  height: 48px;
  border-radius: 50%;
  background: rgba(255, 118, 38, .32);
  filter: blur(18px);
}
.mic-core {
  width: 64px;
  height: 64px;
  display: grid;
  place-items: center;
  color: #ff6e2d;
  border: 1px solid rgba(255, 255, 255, .8);
  border-radius: 50%;
  background: rgba(255, 255, 255, .58);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, .8);
}
.hud-wave {
  position: relative;
  z-index: 1;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 7px;
  height: 54px;
}
.hud-wave i,
.mini-hud span {
  display: block;
  width: 6px;
  height: calc(46px * var(--h, .7));
  border-radius: 999px;
  background: linear-gradient(180deg, #ffb45e, #f26b21);
  animation: listen 1.25s calc(var(--d, 0) * -80ms) ease-in-out infinite alternate;
}
.hud-card p {
  position: relative;
  z-index: 1;
  overflow: hidden;
  margin: 0;
  color: #4d4f4a;
  font-size: clamp(14px, 1.4vw, 17px);
  font-weight: 760;
  white-space: nowrap;
  text-overflow: ellipsis;
}
.hud-caret {
  width: 2px;
  height: 24px;
  border-radius: 999px;
  background: var(--accent);
  animation: blink .9s steps(1) infinite;
}

.flow-section {
  padding: 112px 0 80px;
  border-top: 1px solid var(--line);
}
.flow-section h2,
.privacy h2,
.final-cta h2 {
  margin: 0;
  max-width: 860px;
  font-family: var(--display);
  font-size: clamp(42px, 6vw, 76px);
  font-weight: 720;
  line-height: 1.06;
  letter-spacing: -.055em;
}
.flow-section > p:last-child {
  max-width: 640px;
  margin: 28px 0 0;
  color: var(--muted);
  font-size: 18px;
  line-height: 1.75;
}

.feature-grid {
  display: grid;
  grid-template-columns: 1.05fr .95fr;
  gap: 16px;
  padding: 0 0 130px;
}
.feature {
  position: relative;
  min-height: 390px;
  padding: 30px;
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  background: rgba(255, 255, 255, .58);
  box-shadow: 0 16px 60px rgba(85, 69, 45, .08);
}
.feature h3 {
  position: absolute;
  left: 30px;
  right: 30px;
  bottom: 82px;
  margin: 0;
  font-size: 25px;
  line-height: 1.15;
  letter-spacing: -.035em;
}
.feature p {
  position: absolute;
  left: 30px;
  right: 30px;
  bottom: 28px;
  max-width: 560px;
  margin: 0;
  color: var(--muted);
  line-height: 1.62;
}
.feature-hud {
  background:
    radial-gradient(circle at 52% 24%, rgba(255, 160, 84, .2), transparent 38%),
    rgba(255, 255, 255, .64);
}
.mini-hud {
  position: absolute;
  top: 70px;
  left: 50%;
  width: min(410px, calc(100% - 46px));
  height: 82px;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 7px;
  border: 1px solid rgba(255, 255, 255, .74);
  border-radius: 999px;
  background: rgba(255, 250, 244, .78);
  box-shadow: 0 26px 54px rgba(139, 82, 37, .14);
  transform: translateX(-50%);
}
.mini-hud span:nth-child(1) { --h: .38; --d: 0; }
.mini-hud span:nth-child(2) { --h: .7; --d: 1; }
.mini-hud span:nth-child(3) { --h: 1; --d: 2; }
.mini-hud span:nth-child(4) { --h: .62; --d: 3; }
.mini-hud span:nth-child(5) { --h: .44; --d: 4; }
.feature-window {
  background:
    linear-gradient(145deg, rgba(223, 238, 232, .7), rgba(255, 255, 255, .62));
}
.mini-window {
  position: absolute;
  top: 58px;
  left: 34px;
  right: 34px;
  height: 156px;
  padding: 22px;
  border: 1px solid var(--line);
  border-radius: 18px;
  background: rgba(255, 255, 255, .7);
  box-shadow: 0 20px 50px rgba(30, 80, 62, .1);
}
.mini-window i {
  display: block;
  height: 18px;
  margin-bottom: 16px;
  border-radius: 999px;
  background: #e9ebe6;
}
.mini-window i:nth-child(1) {
  width: 72%;
  background: var(--accent-soft);
}
.mini-window i:nth-child(2) { width: 48%; }
.mini-window i:nth-child(3) { width: 62%; }
.feature-wide {
  grid-column: 1 / -1;
  min-height: 340px;
}
.refine-demo {
  min-height: 170px;
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  place-items: center;
  gap: 24px;
  padding: 34px 8%;
  font-family: var(--display);
  font-size: clamp(28px, 5vw, 62px);
  letter-spacing: -.045em;
}
.wrong {
  color: #a4a39d;
  text-decoration: line-through;
  text-decoration-thickness: 1px;
}
.right {
  color: var(--accent);
}
.arrow {
  color: #c5b9aa;
}
.refine-demo span:nth-child(4) {
  grid-column: 1;
}

.privacy {
  display: grid;
  grid-template-columns: .5fr 1.35fr 1fr;
  gap: 54px;
  align-items: end;
  padding: 120px 0;
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
}
.privacy-mark {
  width: 120px;
  height: 120px;
  display: grid;
  place-items: center;
  color: var(--accent);
  border: 1px solid var(--accent-line);
  border-radius: 32px;
  background: var(--accent-soft);
  font-size: 70px;
  box-shadow: 0 24px 70px rgba(15, 124, 100, .12);
}
.privacy h2 {
  margin-top: 18px;
  font-size: clamp(38px, 4.5vw, 62px);
}
.privacy > p {
  margin: 0;
  color: var(--muted);
  line-height: 1.8;
}

.final-cta {
  padding: 144px 0;
  text-align: center;
}
.final-cta > img {
  width: 88px;
  height: 88px;
  margin-bottom: 30px;
  border-radius: 22px;
  box-shadow: 0 18px 50px rgba(15, 124, 100, .14);
}
.final-cta h2 {
  margin: 0 auto 38px;
  font-size: clamp(48px, 7vw, 92px);
  line-height: 1;
}
.download-button.compact {
  min-width: 220px;
  padding-inline: 24px;
}
.footer {
  padding: 28px 0 42px;
  display: flex;
  justify-content: space-between;
  gap: 20px;
  color: var(--dim);
  border-top: 1px solid var(--line);
  font-size: 11px;
  font-weight: 760;
  letter-spacing: .08em;
  text-transform: uppercase;
}

.reveal {
  opacity: 0;
  transform: translateY(18px);
  animation: reveal .8s cubic-bezier(.22, 1, .36, 1) forwards;
}
.reveal:nth-child(2) { animation-delay: .08s; }
.reveal:nth-child(3) { animation-delay: .16s; }
.reveal:nth-child(4) { animation-delay: .24s; }

@keyframes reveal {
  to { opacity: 1; transform: translateY(0); }
}
@keyframes listen {
  to { transform: scaleY(.48); opacity: .68; }
}
@keyframes blink {
  50% { opacity: 0; }
}
@keyframes goalFill {
  from { width: 0; }
}

@media (max-width: 1040px) {
  :root { --shell: min(100% - 36px, 840px); }
  .hero {
    grid-template-columns: 1fr;
    gap: 42px;
    padding-top: 34px;
  }
  .hero-copy-block {
    max-width: 680px;
  }
  .hero-copy {
    max-width: 590px;
  }
  .product-theater {
    min-height: auto;
    margin: 0 -5vw;
  }
  .product-visual-image {
    width: min(900px, 108%);
  }
}

@media (max-width: 760px) {
  :root {
    --shell: min(100% - 28px, 620px);
    --radius-lg: 22px;
  }
  .nav {
    height: 68px;
  }
  .brand img {
    width: 30px;
    height: 30px;
  }
  .language-switch,
  .github-link {
    width: 38px;
    height: 38px;
  }
  .hero {
    min-height: auto;
    padding: 28px 0 74px;
  }
  h1 {
    font-size: clamp(45px, 13vw, 66px);
    letter-spacing: -.058em;
  }
  h1 span {
    white-space: normal;
  }
  html[lang="zh-CN"] h1 {
    font-size: clamp(42px, 11vw, 56px);
  }
  .hero-copy {
    font-size: 16px;
  }
  .hero-actions {
    align-items: flex-start;
    flex-direction: column;
  }
  .download-button {
    width: min(100%, 300px);
    min-width: 0;
  }
  .product-theater {
    min-height: auto;
    width: 100vw;
    margin: 12px calc(50% - 50vw) 0;
    overflow: hidden;
  }
  .product-visual-image {
    width: 118vw;
    max-width: none;
  }
  .flow-section {
    padding: 84px 0 56px;
  }
  .flow-section h2,
  .privacy h2,
  .final-cta h2 {
    font-size: clamp(38px, 11vw, 52px);
  }
  .flow-section > p:last-child {
    font-size: 16px;
  }
  .feature-grid {
    grid-template-columns: 1fr;
    padding-bottom: 92px;
  }
  .feature,
  .feature-wide {
    grid-column: auto;
    min-height: 360px;
    padding: 24px;
  }
  .feature h3 {
    left: 24px;
    right: 24px;
    bottom: 94px;
    font-size: 23px;
  }
  .feature p {
    left: 24px;
    right: 24px;
    bottom: 24px;
  }
  .mini-window {
    left: 24px;
    right: 24px;
  }
  .refine-demo {
    grid-template-columns: 1fr auto 1fr;
    gap: 10px;
    padding-inline: 0;
    font-size: 30px;
  }
  .privacy {
    grid-template-columns: 1fr;
    gap: 26px;
    padding: 90px 0;
  }
  .privacy-mark {
    display: none;
  }
  .final-cta {
    padding: 100px 0;
  }
  .footer {
    flex-direction: column;
  }
}

@media (max-width: 430px) {
  .product-theater {
    margin-inline: calc(50% - 50vw);
  }
  .product-visual-image {
    width: 126vw;
  }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *,
  *::before,
  *::after {
    animation-duration: .001ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: .001ms !important;
  }
}

@media (prefers-contrast: more) {
  :root {
    --muted: #4b4c49;
    --dim: #62635f;
    --line: rgba(30, 34, 30, .2);
    --soft-line: rgba(30, 34, 30, .16);
  }
}
