:root {
  --red: #ff375f;
  --red-deep: #e01e48;
  --red-soft: #ffe8ee;
  --ink: #111111;
  --ink-2: #3a3a3c;
  --muted: #6e6e73;
  --line: rgba(17, 17, 17, 0.08);
  --bg: #fffafa;
  --bg-2: #f7f2f3;
  --white: #ffffff;
  --shadow: 0 28px 80px rgba(255, 55, 95, 0.16);
  --shadow-soft: 0 12px 40px rgba(17, 17, 17, 0.08);
  --radius: 24px;
  --header-h: 68px;
  --max: 1120px;
  --font: "SF Pro Display", "SF Pro Text", -apple-system, BlinkMacSystemFont, "Segoe UI",
    "PingFang SC", "Hiragino Sans GB", "Noto Sans SC", "Microsoft YaHei", sans-serif;
}

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

html {
  scroll-behavior: smooth;
  scroll-padding-top: calc(var(--header-h) + 16px);
}

html,
body {
  margin: 0;
  padding: 0;
}

body {
  font-family: var(--font);
  color: var(--ink);
  background: var(--bg);
  line-height: 1.55;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}

img {
  max-width: 100%;
  display: block;
}

a {
  color: inherit;
  text-decoration: none;
}

button,
.lang-btn {
  font-family: inherit;
}

.skip {
  position: absolute;
  left: 12px;
  top: -40px;
  background: var(--ink);
  color: #fff;
  padding: 8px 12px;
  border-radius: 8px;
  z-index: 100;
}

.skip:focus {
  top: 12px;
}

.wrap {
  width: min(var(--max), calc(100% - 40px));
  margin: 0 auto;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  height: var(--header-h);
  backdrop-filter: saturate(180%) blur(20px);
  background: rgba(255, 250, 250, 0.86);
  border-bottom: 1px solid transparent;
  transition: border-color 0.2s ease, background 0.2s ease;
}

.site-header.is-scrolled {
  border-bottom-color: var(--line);
  background: rgba(255, 250, 250, 0.92);
}

.header-inner {
  display: flex;
  align-items: center;
  gap: 16px;
  height: var(--header-h);
  width: min(var(--max), calc(100% - 48px));
  margin: 0 auto;
}

.brand {
  display: flex;
  align-items: center;
  gap: 10px;
  font-weight: 700;
  letter-spacing: -0.03em;
}

.brand img {
  width: 34px;
  height: 34px;
  border-radius: 9px;
}

.brand-name {
  font-size: 16px;
}

.nav {
  margin-left: auto;
  display: flex;
  align-items: center;
  gap: 18px;
  font-size: 14px;
  color: var(--ink-2);
}

.nav a:hover {
  color: var(--ink);
}

.lang-toggle {
  display: inline-flex;
  align-items: center;
  flex-shrink: 0;
  background: var(--bg-2);
  border-radius: 999px;
  padding: 3px;
  border: 1px solid var(--line);
}

.lang-btn {
  border: 0;
  background: transparent;
  color: var(--muted);
  font-size: 12px;
  font-weight: 600;
  padding: 6px 10px;
  border-radius: 999px;
  cursor: pointer;
  display: inline-flex;
  align-items: center;
  line-height: 1;
}

.lang-btn.is-active {
  background: var(--white);
  color: var(--ink);
  box-shadow: 0 1px 3px rgba(0, 0, 0, 0.08);
}

.menu-btn {
  display: none;
  margin-left: auto;
  width: 42px;
  height: 42px;
  border: 0;
  background: transparent;
  cursor: pointer;
  padding: 0;
}

.menu-btn span,
.menu-btn span::before,
.menu-btn span::after {
  display: block;
  width: 18px;
  height: 2px;
  background: var(--ink);
  border-radius: 2px;
  position: relative;
}

.menu-btn span::before,
.menu-btn span::after {
  content: "";
  position: absolute;
  left: 0;
}

.menu-btn span::before {
  top: -6px;
}

.menu-btn span::after {
  top: 6px;
}

.hero {
  position: relative;
  overflow: hidden;
  padding: 64px 0 24px;
}

.hero::before {
  content: "";
  position: absolute;
  width: 720px;
  height: 720px;
  right: -160px;
  top: -180px;
  background: radial-gradient(circle, rgba(255, 55, 95, 0.18), transparent 64%);
  pointer-events: none;
}

.hero-grid {
  display: grid;
  grid-template-columns: 1.05fr 0.95fr;
  gap: 48px;
  align-items: center;
}

.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 13px;
  font-weight: 600;
  color: var(--red);
  background: var(--red-soft);
  padding: 6px 12px;
  border-radius: 999px;
  margin-bottom: 18px;
}

.hero h1 {
  font-size: clamp(36px, 5vw, 64px);
  line-height: 1.05;
  letter-spacing: -0.045em;
  margin: 0 0 18px;
}

.lede {
  font-size: 18px;
  color: var(--muted);
  max-width: 34em;
  margin: 0 0 28px;
}

.hero-actions {
  display: flex;
  align-items: center;
  gap: 16px;
  flex-wrap: wrap;
}

.badge {
  height: 44px;
  width: auto;
}

.ghost-link {
  font-size: 15px;
  font-weight: 600;
  color: var(--ink-2);
  border-bottom: 1px solid transparent;
}

.ghost-link:hover {
  border-bottom-color: var(--ink);
}

.hero-meta {
  display: flex;
  gap: 28px;
  margin-top: 36px;
  flex-wrap: wrap;
}

.hero-meta div strong {
  display: block;
  font-size: 28px;
  letter-spacing: -0.04em;
}

.hero-meta div span {
  color: var(--muted);
  font-size: 13px;
}

.stage {
  position: relative;
  min-height: 560px;
  display: flex;
  justify-content: center;
  align-items: flex-end;
}

.device-phone {
  --bezel: 12px;
  --chassis-radius: 44px;
  --screen-radius: 32px;
  width: min(270px, 72vw);
  padding: var(--bezel);
  border-radius: var(--chassis-radius);
  background: #1c1c1e;
  box-shadow: var(--shadow), 0 0 0 1px #0a0a0a;
  position: relative;
  z-index: 2;
}

.device-phone picture,
.device-ipad picture {
  display: block;
  overflow: hidden;
  border-radius: var(--screen-radius);
  background: #000;
}

.device-phone img,
.device-ipad img {
  width: 100%;
  height: auto;
  display: block;
  border-radius: var(--screen-radius);
}

.device-phone.offset {
  position: absolute;
  right: 10%;
  top: 48px;
  z-index: 1;
  transform: rotate(8deg) scale(0.86);
  opacity: 0.95;
  box-shadow: var(--shadow-soft), 0 0 0 1px #0a0a0a;
}

.marquee-wrap {
  margin: 28px 0 8px;
  overflow: hidden;
  mask-image: linear-gradient(90deg, transparent, #000 8%, #000 92%, transparent);
}

.marquee-track {
  display: flex;
  gap: 12px;
  width: max-content;
  animation: marquee 42s linear infinite;
}

.chip {
  flex: none;
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: 999px;
  padding: 8px 14px;
  font-size: 14px;
  color: var(--ink-2);
  box-shadow: 0 1px 0 rgba(255, 255, 255, 0.8);
}

.section {
  padding: 88px 0;
}

.section.alt {
  background: var(--bg-2);
}

.section-head {
  max-width: 760px;
  margin-bottom: 40px;
}

.kicker {
  color: var(--red);
  font-weight: 700;
  font-size: 13px;
  letter-spacing: 0.08em;
  margin-bottom: 10px;
}

html[lang="en"] .kicker {
  text-transform: uppercase;
}

.section-head h2,
.split-copy h2,
.cta-copy h2,
.legal-wrap h1 {
  font-size: clamp(28px, 4vw, 44px);
  letter-spacing: -0.04em;
  line-height: 1.12;
  margin: 0 0 12px;
}

.section-head p {
  margin: 0;
  color: var(--muted);
  font-size: 17px;
}

.bento {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 16px;
}

.card {
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 24px;
  min-height: 180px;
}

.icon-blob {
  width: 42px;
  height: 42px;
  border-radius: 12px;
  background: var(--red-soft);
  color: var(--red);
  display: grid;
  place-items: center;
  margin-bottom: 16px;
}

.icon-blob svg {
  width: 22px;
  height: 22px;
}

.card h3 {
  margin: 0 0 8px;
  font-size: 20px;
  letter-spacing: -0.03em;
}

.card p {
  margin: 0;
  color: var(--muted);
}

.showcase {
  display: grid;
  grid-template-columns: 0.9fr 1.1fr;
  gap: 48px;
  align-items: center;
}

.device-ipad {
  --bezel: 14px;
  --chassis-radius: 36px;
  --screen-radius: 22px;
  padding: var(--bezel);
  border-radius: var(--chassis-radius);
  background: #1c1c1e;
  box-shadow: var(--shadow-soft), 0 0 0 1px #0a0a0a;
}

.device-ipad img {
  width: 100%;
  height: 640px;
  object-fit: cover;
  object-position: top center;
}

.steps {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 18px;
}

.step {
  background: var(--white);
  border-radius: var(--radius);
  padding: 28px 24px;
  border: 1px solid var(--line);
}

.step-num {
  font-size: 13px;
  font-weight: 700;
  color: var(--red);
  margin-bottom: 12px;
}

.step h3 {
  margin: 0 0 8px;
  font-size: 22px;
  letter-spacing: -0.03em;
}

.step p {
  margin: 0;
  color: var(--muted);
}

.platforms {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}

.pill {
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: 999px;
  padding: 10px 14px;
  font-size: 14px;
  color: var(--ink-2);
}

.visually-hidden {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}

.store-picker {
  display: grid;
  gap: 16px;
}

.store-featured {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.store-chip,
.store-row {
  display: flex;
  align-items: center;
  gap: 8px;
  background: var(--white);
  border: 1px solid var(--line);
  color: var(--ink);
  font: inherit;
}

.store-chip {
  border-radius: 999px;
  padding: 8px 12px;
  font-size: 14px;
}

.store-chip code {
  display: none;
}

.store-chip:hover,
.store-row:hover,
.widget-cell:hover,
a.ios-widget:hover {
  border-color: var(--red-soft);
  outline: 2px solid var(--red-soft);
}

.store-search-wrap input {
  width: 100%;
  max-width: 480px;
  font: inherit;
  font-size: 16px;
  padding: 14px 16px;
  border-radius: 14px;
  border: 1px solid var(--line);
  background: var(--white);
  color: var(--ink);
}

.store-search-wrap input:focus {
  outline: 2px solid var(--red-soft);
  border-color: var(--red);
}

.store-list {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(220px, 1fr));
  gap: 8px;
  max-height: 420px;
  overflow: auto;
  padding: 2px;
}

.store-row {
  border-radius: 14px;
  padding: 10px 12px;
}

.store-flag {
  font-size: 18px;
  line-height: 1;
  font-family: "Apple Color Emoji", "Segoe UI Emoji", "Noto Color Emoji", sans-serif;
}

.store-name {
  min-width: 0;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.store-row code {
  margin-left: auto;
  color: var(--muted);
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.04em;
}

.store-empty,
.store-hint {
  margin: 0;
  font-size: 13px;
}

.split {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 48px;
  align-items: center;
}

.split > * {
  min-width: 0;
}

.split-copy > p:not(.bullet) {
  color: var(--muted);
  font-size: 17px;
  margin: 0 0 8px;
}

.split-copy .bullet {
  display: flex;
  gap: 10px;
  color: var(--ink-2);
  margin: 12px 0 0;
  font-size: 15px;
}

.split-copy .bullet span:first-child {
  color: var(--red);
  font-weight: 700;
}

.fav-shell {
  background: #f2f2f7;
  border-radius: 28px;
  overflow: hidden;
  box-shadow: var(--shadow-soft);
  border: 1px solid var(--line);
}

.fav-shell-bar {
  padding: 18px 20px 10px;
  font-size: 26px;
  font-weight: 800;
  letter-spacing: -0.04em;
}

.fav-list {
  padding: 0 12px 14px;
  display: grid;
  gap: 8px;
}

.fav-row {
  display: flex;
  align-items: center;
  gap: 12px;
  width: 100%;
  border: 0;
  background: #fff;
  color: var(--ink);
  border-radius: 16px;
  padding: 12px;
  font: inherit;
  text-align: left;
  cursor: pointer;
}

.fav-row:hover,
.fav-row:focus-visible {
  outline: 2px solid var(--red-soft);
}

.app-mark {
  width: 44px;
  height: 44px;
  border-radius: 12px;
  display: grid;
  place-items: center;
  color: #fff;
  font-weight: 800;
  flex: none;
}

.app-mark img {
  width: 44px;
  height: 44px;
  border-radius: 12px;
}

.fav-row strong {
  display: block;
  font-size: 16px;
  letter-spacing: -0.02em;
}

.fav-row small {
  color: var(--muted);
  font-size: 12px;
}

.heart {
  margin-left: auto;
  width: 28px;
  height: 28px;
  color: #d1d1d6;
  flex: none;
  fill: none;
  stroke: currentColor;
  stroke-width: 1.8;
  stroke-linejoin: round;
  stroke-linecap: round;
}

.fav-row.is-on .heart {
  color: var(--red);
  fill: currentColor;
}

.widget-board {
  background:
    radial-gradient(circle at 18% 12%, rgba(255, 255, 255, 0.22), transparent 42%),
    linear-gradient(160deg, #6a7dff 0%, #e06b9a 58%, #ff8a6a 100%);
  border-radius: 32px;
  padding: 22px 22px 24px;
  display: grid;
  grid-template-columns: 158px 1fr;
  gap: 14px;
  min-height: 420px;
  box-shadow: var(--shadow);
}

.widget-board-label {
  grid-column: 1 / -1;
  color: rgba(255, 255, 255, 0.9);
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.ios-widget {
  background: rgba(255, 255, 255, 0.9);
  backdrop-filter: blur(18px);
  border-radius: 24px;
  box-shadow: 0 16px 40px rgba(17, 17, 17, 0.14);
  color: var(--ink);
}

.widget-sm {
  width: 100%;
  height: 158px;
  padding: 16px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
}

.widget-md {
  min-height: 158px;
  padding: 16px 18px;
}

.widget-lg {
  grid-column: 1 / -1;
  padding: 16px 18px 18px;
}

.widget-kicker {
  font-size: 11px;
  font-weight: 700;
  color: var(--muted);
  letter-spacing: 0.04em;
}

html[lang="en"] .widget-kicker {
  text-transform: uppercase;
}

.widget-sm .flag {
  font-size: 36px;
  line-height: 1;
}

.widget-sm strong {
  font-size: 22px;
  letter-spacing: -0.04em;
}

.widget-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 8px;
  margin-top: 12px;
}

.widget-cell {
  background: #fff;
  border-radius: 14px;
  padding: 10px 6px;
  text-align: center;
  font-size: 12px;
  font-weight: 700;
  border: 1px solid transparent;
}

.widget-cell b {
  display: block;
  font-size: 20px;
  font-weight: 400;
  margin-bottom: 4px;
}

.widget-apps {
  display: grid;
  gap: 8px;
  margin-top: 12px;
}

.widget-app {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 14px;
  font-weight: 650;
}

.widget-app .app-mark,
.widget-app .app-mark img {
  width: 28px;
  height: 28px;
  border-radius: 8px;
}

.faq {
  display: grid;
  gap: 10px;
  max-width: 760px;
}

.faq details {
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: 16px;
  padding: 4px 18px;
}

.faq summary {
  cursor: pointer;
  font-weight: 650;
  padding: 16px 0;
  list-style: none;
}

.faq summary::-webkit-details-marker {
  display: none;
}

.faq details p {
  margin: 0 0 16px;
  color: var(--muted);
}

.cta {
  padding: 24px 0 96px;
}

.cta-box {
  background: linear-gradient(180deg, #1c1c1e, #111);
  color: #fff;
  border-radius: 32px;
  padding: 48px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 24px;
  overflow: hidden;
  position: relative;
}

.cta-copy {
  flex: 1 1 280px;
  min-width: 0;
}

.cta-box::after {
  content: "";
  position: absolute;
  width: 380px;
  height: 380px;
  right: -80px;
  top: -120px;
  background: radial-gradient(circle, rgba(255, 55, 95, 0.45), transparent 68%);
}

.cta-copy,
.cta-box .hero-actions {
  position: relative;
  z-index: 1;
}

.cta-copy p {
  margin: 0;
  color: rgba(255, 255, 255, 0.72);
}

.site-footer {
  padding: 36px 0 48px;
  border-top: 1px solid var(--line);
  color: var(--muted);
  font-size: 14px;
}

.footer-inner {
  display: flex;
  justify-content: space-between;
  gap: 20px;
  flex-wrap: wrap;
}

.footer-links {
  display: flex;
  gap: 18px;
  flex-wrap: wrap;
}

.footer-links a:hover {
  color: var(--ink);
}

.legal {
  padding: 48px 0 96px;
}

.legal-wrap {
  max-width: 760px;
}

.legal-wrap h2 {
  font-size: 22px;
  margin: 32px 0 10px;
  letter-spacing: -0.03em;
}

.legal-wrap p,
.legal-wrap li {
  color: var(--ink-2);
}

.legal-wrap ul {
  padding-left: 18px;
}

.muted {
  color: var(--muted);
}

[hidden] {
  display: none !important;
}

.t-en,
.t-zh {
  display: none;
}

body[data-lang="zh"] .t-zh,
body[data-lang="en"] .t-en {
  display: block;
}

body[data-lang="zh"] span.t-zh,
body[data-lang="en"] span.t-en {
  display: inline;
}

.reveal {
  opacity: 0;
  transform: translateY(18px);
  transition: opacity 0.6s ease, transform 0.6s ease;
}

.reveal.is-in {
  opacity: 1;
  transform: none;
}

@keyframes marquee {
  from {
    transform: translateX(0);
  }
  to {
    transform: translateX(-50%);
  }
}

@media (max-width: 1024px) {
  .hero-grid,
  .showcase,
  .split {
    grid-template-columns: 1fr;
    display: grid;
  }

  .widget-board {
    grid-template-columns: 140px 1fr;
  }

  .bento {
    grid-template-columns: repeat(2, 1fr);
  }

  .nav {
    display: none;
    position: absolute;
    top: var(--header-h);
    left: 0;
    right: 0;
    z-index: 60;
    background: #fffafa;
    border-bottom: 1px solid var(--line);
    box-shadow: 0 16px 40px rgba(17, 17, 17, 0.08);
    padding: 16px 20px 20px;
    flex-direction: column;
    align-items: flex-start;
    gap: 14px;
  }

  .nav.is-open {
    display: flex;
  }

  .menu-btn {
    display: grid;
    place-items: center;
  }

  .device-phone.offset {
    display: none;
  }

  .stage {
    min-height: 0;
    padding-top: 12px;
  }

  .cta-box {
    padding: 32px 24px;
  }

  .section {
    padding: 64px 0;
  }
}

@media (max-width: 640px) {
  .bento,
  .steps {
    grid-template-columns: 1fr;
  }

  .widget-board {
    grid-template-columns: 1fr;
  }

  .widget-sm {
    width: 100%;
    height: auto;
    min-height: 140px;
  }

  .device-ipad img {
    height: 420px;
  }

  .device-phone {
    --bezel: 10px;
    --chassis-radius: 38px;
    --screen-radius: 28px;
  }

  .hero-meta {
    gap: 18px;
  }
}

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

  .marquee-track,
  .reveal {
    animation: none;
    transition: none;
    opacity: 1;
    transform: none;
  }
}
