:root {
  --ink: #151922;
  --muted: #5f6978;
  --soft: #eef6ff;
  --line: #dfe6ef;
  --blue: #2f73ff;
  --green: #27b66a;
  --pink: #f45c8a;
  --yellow: #f2b935;
  --surface: #ffffff;
  --surface-2: #f7fafc;
  --shadow: 0 24px 70px rgba(34, 63, 111, 0.14);
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  color: var(--ink);
  background: #fbfdff;
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", "PingFang SC", "Hiragino Sans GB", "Microsoft YaHei", sans-serif;
  letter-spacing: 0;
}

body::before {
  content: "";
  position: fixed;
  inset: 0;
  z-index: -1;
  background:
    linear-gradient(90deg, rgba(235, 246, 255, 0.82), rgba(255, 249, 246, 0.62) 52%, rgba(238, 252, 248, 0.7)),
    #fbfdff;
}

body[data-download-modal-open="true"],
body[data-demo-video-open="true"] {
  overflow: hidden;
}

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

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

[hidden] {
  display: none !important;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 20;
  display: flex;
  align-items: center;
  justify-content: space-between;
  width: min(1200px, calc(100% - 48px));
  margin: 0 auto;
  padding: 22px 0;
  background: rgba(251, 253, 255, 0.72);
  backdrop-filter: blur(18px);
}

.brand,
.footer-brand {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-weight: 800;
  color: #2261e8;
}

.brand img,
.footer-brand img {
  border-radius: 8px;
}

.brand-copy {
  display: grid;
  gap: 2px;
  line-height: 1.1;
}

.brand-copy strong {
  font-size: 22px;
}

.brand-copy small {
  color: #667487;
  font-size: 12px;
  font-weight: 800;
}

.site-nav {
  display: flex;
  align-items: center;
  gap: 30px;
  color: #343b47;
  font-size: 16px;
  font-weight: 700;
}

.site-nav a {
  white-space: nowrap;
}

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

.nav-login {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 42px;
  padding: 0 8px;
  color: #263142;
}

.nav-login[data-logged-in] {
  max-width: 150px;
  overflow: hidden;
  color: #1d5ee4;
  text-overflow: ellipsis;
}

.nav-action,
.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 46px;
  padding: 0 22px;
  border: 1px solid rgba(21, 25, 34, 0.18);
  border-radius: 8px;
  font-weight: 800;
}

.nav-action {
  color: var(--ink);
  background: rgba(255, 255, 255, 0.58);
}

.nav-action[data-logged-in] {
  color: #be3529;
  border-color: rgba(209, 71, 57, 0.22);
  background: rgba(255, 246, 244, 0.78);
}

.button.primary {
  color: #fff;
  border-color: var(--blue);
  background: var(--blue);
  box-shadow: 0 12px 28px rgba(47, 115, 255, 0.24);
}

.button.secondary {
  color: #1f2d3e;
  background: rgba(255, 255, 255, 0.76);
}

.menu-button {
  display: none;
  width: 44px;
  height: 44px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: #fff;
}

.menu-button span {
  display: block;
  width: 18px;
  height: 2px;
  margin: 5px auto;
  background: var(--ink);
}

.hero {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 56px;
  align-items: center;
  width: min(1200px, calc(100% - 48px));
  min-height: calc(100vh - 96px);
  margin: 0 auto;
  padding: 70px 0 100px;
}

.eyebrow,
.section-kicker {
  margin: 0 0 16px;
  color: var(--blue);
  font-size: 14px;
  font-weight: 900;
  letter-spacing: 0;
  overflow-wrap: anywhere;
}

h1,
h2,
h3,
p {
  margin-top: 0;
}

h1 {
  margin-bottom: 24px;
  font-size: clamp(54px, 5.4vw, 76px);
  line-height: 1.08;
  letter-spacing: 0;
}

.hero-lede {
  max-width: 610px;
  color: #4e5968;
  font-size: 22px;
  line-height: 1.75;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
  margin-top: 32px;
}

.trust-row {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 26px;
}

.trust-row span {
  padding: 8px 12px;
  color: #2c5e44;
  border: 1px solid rgba(39, 182, 106, 0.24);
  border-radius: 8px;
  background: rgba(237, 250, 244, 0.78);
  font-size: 14px;
  font-weight: 800;
}

.hero-visual {
  position: relative;
  min-height: 620px;
  overflow: visible;
}

.desktop-window {
  position: absolute;
  top: 52px;
  right: 0;
  width: min(680px, 100%);
  overflow: hidden;
  border: 1px solid rgba(85, 117, 154, 0.18);
  border-radius: 8px;
  background: var(--surface);
  box-shadow: var(--shadow);
}

.window-bar {
  display: flex;
  align-items: center;
  gap: 9px;
  height: 42px;
  padding: 0 16px;
  border-bottom: 1px solid #e8edf4;
  background: #ffffff;
}

.window-bar span {
  width: 12px;
  height: 12px;
  border-radius: 50%;
}

.window-bar span:nth-child(1) { background: #ff5f57; }
.window-bar span:nth-child(2) { background: #ffbd2e; }
.window-bar span:nth-child(3) { background: #28c840; }

.window-bar strong {
  margin-left: 8px;
  color: #3d4653;
  font-size: 14px;
}

.app-grid {
  display: grid;
  grid-template-columns: 180px 1fr;
  min-height: 430px;
}

.app-grid aside {
  padding: 24px 18px;
  border-right: 1px solid #e5ebf2;
  background: #f3f7fb;
}

.avatar {
  display: grid;
  place-items: center;
  width: 50px;
  height: 50px;
  margin-bottom: 12px;
  color: #fff;
  border-radius: 50%;
  background: #8d97a8;
  font-weight: 900;
}

.app-grid aside b {
  display: block;
  margin-bottom: 20px;
}

.app-grid aside p {
  margin: 0 0 12px;
  color: #667282;
  font-weight: 700;
}

.app-grid section {
  padding: 28px;
  background: #fbfdff;
}

.search {
  height: 42px;
  margin-bottom: 22px;
  padding: 10px 16px;
  color: #738094;
  border: 1px solid #dce4ee;
  border-radius: 8px;
  background: #fff;
  font-weight: 700;
}

.task-card {
  margin-bottom: 14px;
  padding: 16px 18px;
  border: 1px solid #dfe7f0;
  border-left: 5px solid var(--green);
  border-radius: 8px;
  background: #fff;
}

.task-card.hot {
  border-left-color: var(--blue);
}

.task-card.done {
  border-left-color: var(--yellow);
}

.task-card small,
.floating-card span {
  display: block;
  margin-bottom: 6px;
  color: var(--muted);
  font-size: 12px;
  font-weight: 900;
}

.task-card b,
.floating-card b {
  display: block;
  margin-bottom: 5px;
  color: var(--ink);
}

.task-card span {
  color: #687486;
  font-size: 13px;
}

.phone-mock {
  position: absolute;
  left: 0;
  bottom: 10px;
  width: 238px;
  height: 462px;
  padding: 12px;
  border: 1px solid rgba(39, 67, 103, 0.2);
  border-radius: 34px;
  background: #111722;
  box-shadow: 0 30px 60px rgba(15, 34, 60, 0.2);
}

.phone-screen {
  height: 100%;
  padding: 28px 18px;
  border-radius: 24px;
  background: #f8fbff;
}

.phone-title {
  display: block;
  margin-bottom: 22px;
  color: #253144;
  font-size: 24px;
  font-weight: 900;
}

.voice-line {
  width: 88px;
  height: 88px;
  margin: 0 auto 18px;
  border: 10px solid rgba(47, 115, 255, 0.14);
  border-top-color: var(--blue);
  border-radius: 50%;
}

.demo-play-button {
  display: grid;
  grid-template-columns: 36px 1fr auto;
  gap: 10px;
  align-items: center;
  width: 100%;
  min-height: 54px;
  margin: 0 0 14px;
  padding: 8px 12px 8px 9px;
  border: 1px solid rgba(47, 115, 255, 0.18);
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.9);
  color: #253144;
  font: inherit;
  font-size: 13px;
  font-weight: 900;
  text-align: left;
  box-shadow: 0 12px 28px rgba(37, 69, 105, 0.1);
  cursor: pointer;
  transition: transform 180ms ease, border-color 180ms ease, box-shadow 180ms ease;
}

.demo-play-button:hover,
.demo-play-button:focus-visible {
  border-color: rgba(47, 115, 255, 0.48);
  box-shadow: 0 16px 34px rgba(47, 115, 255, 0.16);
  transform: translateY(-1px);
}

.demo-play-button:focus-visible {
  outline: 3px solid rgba(47, 115, 255, 0.2);
  outline-offset: 3px;
}

.demo-play-button small {
  color: #7a8698;
  font-size: 12px;
  font-weight: 900;
}

.demo-play-icon {
  position: relative;
  display: inline-grid;
  place-items: center;
  width: 36px;
  height: 36px;
  border-radius: 50%;
  background: var(--blue);
  box-shadow: 0 10px 24px rgba(47, 115, 255, 0.28);
}

.demo-play-icon::after {
  content: "";
  width: 0;
  height: 0;
  margin-left: 3px;
  border-top: 7px solid transparent;
  border-bottom: 7px solid transparent;
  border-left: 11px solid #fff;
}

.phone-task,
.phone-input {
  margin-bottom: 12px;
  padding: 12px;
  border-radius: 8px;
  background: #fff;
  color: #2d3747;
  font-size: 13px;
  font-weight: 800;
  box-shadow: 0 8px 22px rgba(37, 69, 105, 0.08);
}

.phone-task {
  border-left: 4px solid var(--green);
}

.phone-task.pink {
  border-left-color: var(--pink);
}

.phone-input {
  margin-top: 54px;
  color: #7a8698;
  font-weight: 700;
}

.floating-card {
  position: absolute;
  width: 210px;
  padding: 18px;
  border: 1px solid #e0e8f2;
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.94);
  box-shadow: 0 18px 44px rgba(42, 70, 109, 0.13);
}

.voice-card {
  top: 0;
  left: 90px;
}

.ocr-card {
  right: 38px;
  bottom: 36px;
}

.section,
.download-section,
.cta {
  width: min(1200px, calc(100% - 48px));
  margin: 0 auto;
  scroll-margin-top: 96px;
}

.section {
  padding: 110px 0;
}

.section h2,
.download-section h2,
.cta h2 {
  max-width: 850px;
  margin-bottom: 22px;
  font-size: clamp(38px, 5vw, 68px);
  line-height: 1.18;
  letter-spacing: 0;
}

.intro > h2 {
  margin-bottom: 44px;
}

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

.feature-grid article,
.workflow-list article,
.platform-card {
  border: 1px solid #e2e9f2;
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.74);
  box-shadow: 0 18px 44px rgba(43, 70, 104, 0.07);
}

.feature-grid article {
  min-height: 280px;
  padding: 28px;
}

.feature-icon {
  width: 48px;
  height: 48px;
  margin-bottom: 24px;
  border-radius: 8px;
  background: #eef5ff;
  position: relative;
}

.feature-icon::after {
  content: "";
  position: absolute;
  inset: 12px;
  border-radius: 6px;
  background: var(--blue);
}

.mic-icon::after { border-radius: 12px 12px 6px 6px; }
.image-icon::after { background: var(--pink); }
.ai-icon::after { background: var(--yellow); }
.sync-icon::after { background: var(--green); }

.feature-grid h3,
.workflow-list h3,
.platform-card h3 {
  margin-bottom: 12px;
  font-size: 22px;
}

.feature-grid p,
.workflow-list p,
.security p,
.cta p,
.download-lede {
  color: var(--muted);
  font-size: 17px;
  line-height: 1.75;
}

.workflow {
  display: grid;
  grid-template-columns: 0.8fr 1.2fr;
  gap: 40px;
  align-items: start;
}

.workflow-list {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 16px;
}

.workflow-list article {
  padding: 26px;
}

.workflow-list span {
  display: inline-block;
  margin-bottom: 24px;
  color: var(--blue);
  font-size: 14px;
  font-weight: 900;
}

.download-section {
  position: relative;
  width: 100%;
  max-width: none;
  padding: 118px max(48px, calc((100vw - 1200px) / 2)) 126px;
  text-align: center;
  background:
    linear-gradient(100deg, rgba(235, 242, 255, 0.86), rgba(236, 251, 250, 0.82) 58%, rgba(255, 250, 243, 0.74)),
    #f4f9ff;
}

.download-section h2,
.download-lede {
  margin-left: auto;
  margin-right: auto;
}

.download-section h2 {
  scroll-margin-top: 132px;
}

.download-lede {
  max-width: 840px;
  margin-bottom: 72px;
}

.platform-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: clamp(24px, 4vw, 56px);
  text-align: center;
}

.platform-card {
  display: flex;
  flex-direction: column;
  align-items: center;
  min-width: 0;
  border: 0;
  background: transparent;
  box-shadow: none;
}

.platform-icon {
  display: flex;
  flex-direction: column;
  place-items: center;
  align-items: center;
  justify-content: center;
  width: clamp(122px, 10vw, 156px);
  height: clamp(122px, 10vw, 156px);
  margin: 0 auto 28px;
  border: 1px solid rgba(219, 228, 239, 0.85);
  border-radius: 30px;
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.98), rgba(255, 255, 255, 0.9)),
    #fff;
  color: var(--blue);
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.9),
    0 22px 46px rgba(44, 73, 110, 0.11);
  font-size: clamp(20px, 2vw, 28px);
  font-weight: 1000;
  line-height: 1.05;
  transition: transform 180ms ease, box-shadow 180ms ease;
}

.platform-card:hover .platform-icon {
  transform: translateY(-5px);
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.9),
    0 28px 58px rgba(44, 73, 110, 0.15);
}

.platform-icon span,
.platform-icon small {
  display: block;
}

.platform-icon small {
  margin-top: 6px;
  font-size: 0.72em;
}

.android-mark {
  color: var(--green);
}

.mac-mark {
  color: #1c2735;
}

.windows-mark {
  color: #1573e8;
}

.platform-card h3 {
  margin-bottom: 8px;
  color: #3c4554;
  font-size: clamp(18px, 1.6vw, 22px);
}

.platform-card p {
  min-height: 0;
  margin: 0 0 18px;
  color: #8b96a6;
  font-weight: 700;
}

.download-action {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: min(100%, 190px);
  min-height: 40px;
  margin-top: auto;
  border: 1px solid rgba(47, 115, 255, 0.26);
  border-radius: 8px;
  background: rgba(47, 115, 255, 0.08);
  color: #1f62e8;
  font: inherit;
  font-size: 14px;
  font-weight: 900;
  cursor: pointer;
}

.download-modal {
  position: fixed;
  inset: 0;
  z-index: 60;
  display: grid;
  place-items: center;
  padding: 24px;
  background: rgba(18, 25, 36, 0.42);
  backdrop-filter: blur(10px);
}

.demo-video-modal {
  position: fixed;
  inset: 0;
  z-index: 70;
  display: grid;
  place-items: center;
  padding: 24px;
  background: rgba(18, 25, 36, 0.48);
  backdrop-filter: blur(12px);
}

.demo-video-modal__panel {
  position: relative;
  display: grid;
  grid-template-columns: minmax(240px, 0.9fr) minmax(260px, 420px);
  gap: 28px;
  align-items: center;
  width: min(100%, 880px);
  max-height: calc(100vh - 48px);
  padding: 32px;
  overflow: auto;
  border: 1px solid rgba(218, 226, 238, 0.92);
  border-radius: 8px;
  background:
    linear-gradient(120deg, rgba(255, 255, 255, 0.98), rgba(247, 251, 255, 0.96)),
    #fff;
  box-shadow: 0 32px 86px rgba(21, 35, 56, 0.3);
}

.demo-video-copy h2 {
  margin-bottom: 14px;
  font-size: clamp(30px, 4vw, 46px);
  line-height: 1.18;
}

.demo-video-copy p:not(.section-kicker) {
  margin-bottom: 0;
  color: var(--muted);
  font-size: 17px;
  line-height: 1.8;
}

.demo-video-player {
  width: min(100%, 360px);
  max-height: calc(100vh - 116px);
  justify-self: center;
  aspect-ratio: 720 / 1564;
  border: 12px solid #111722;
  border-radius: 34px;
  background: #111722;
  box-shadow: 0 28px 64px rgba(15, 34, 60, 0.22);
}

.demo-video-modal__close {
  position: absolute;
  top: 14px;
  right: 14px;
  display: inline-grid;
  place-items: center;
  width: 38px;
  height: 38px;
  border: 0;
  border-radius: 8px;
  background: #eef2f7;
  color: #526071;
  font-size: 26px;
  line-height: 1;
  cursor: pointer;
  z-index: 1;
}

.demo-video-modal__close:hover {
  color: #172033;
  background: #e6edf5;
}

.download-modal__panel {
  position: relative;
  display: grid;
  justify-items: center;
  width: min(100%, 420px);
  padding: 34px;
  border: 1px solid rgba(218, 226, 238, 0.92);
  border-radius: 8px;
  background: #fff;
  box-shadow: 0 28px 78px rgba(21, 35, 56, 0.26);
  text-align: center;
}

.download-modal__panel h2 {
  margin-bottom: 10px;
  font-size: 28px;
}

.download-modal__panel p {
  max-width: 300px;
  margin-bottom: 22px;
  color: #5f6978;
  line-height: 1.7;
}

.download-modal__close {
  position: absolute;
  top: 14px;
  right: 14px;
  display: inline-grid;
  place-items: center;
  width: 38px;
  height: 38px;
  border: 0;
  border-radius: 8px;
  background: #f1f5f9;
  color: #526071;
  font-size: 26px;
  line-height: 1;
  cursor: pointer;
}

.download-modal__close:hover {
  color: #172033;
  background: #e6edf5;
}

.android-download-qr {
  width: 228px;
  height: 228px;
  margin-bottom: 22px;
  border: 12px solid #f7fafc;
  border-radius: 8px;
  background: #fff;
}

.download-action:not(.disabled):hover {
  color: #fff;
  border-color: var(--blue);
  background: var(--blue);
}

.download-action.disabled {
  color: #8a96a8;
  border-color: #e2e8f0;
  background: #f5f7fa;
  cursor: not-allowed;
}

.download-options {
  display: grid;
  gap: 10px;
  justify-items: center;
  margin-top: auto;
  width: 100%;
}

.download-options .download-action {
  margin-top: 0;
}

.download-note {
  max-width: 720px;
  margin: 28px auto 0;
  color: #7d8796;
  font-size: 15px;
  line-height: 1.7;
}

.security {
  display: grid;
  grid-template-columns: 1fr 360px;
  gap: 48px;
  align-items: center;
  border-top: 1px solid rgba(106, 132, 164, 0.18);
  border-bottom: 1px solid rgba(106, 132, 164, 0.18);
}

.security-links {
  display: grid;
  gap: 14px;
}

.security-links a {
  padding: 18px 20px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: #fff;
  color: #2d3b4f;
  font-weight: 800;
}

.pricing-hero,
.pricing-section,
.pricing-note {
  width: min(1200px, calc(100% - 48px));
  margin: 0 auto;
}

.pricing-hero {
  padding: 92px 0 64px;
}

.pricing-hero h1 {
  max-width: 900px;
  overflow-wrap: anywhere;
}

.pricing-status {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 32px;
}

.pricing-status span {
  padding: 9px 13px;
  color: #21406f;
  border: 1px solid rgba(47, 115, 255, 0.18);
  border-radius: 8px;
  background: rgba(238, 246, 255, 0.86);
  font-size: 14px;
  font-weight: 900;
}

.pricing-section {
  padding: 36px 0 84px;
}

.section-heading {
  margin-bottom: 28px;
}

.section-heading h2 {
  max-width: 780px;
  margin-bottom: 0;
  font-size: clamp(36px, 4vw, 56px);
  line-height: 1.2;
  overflow-wrap: anywhere;
}

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

.plan-card {
  display: flex;
  flex-direction: column;
  min-height: 560px;
  min-width: 0;
  padding: 28px;
  border: 1px solid rgba(93, 120, 151, 0.22);
  border-radius: 8px;
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.98), rgba(248, 252, 255, 0.96)),
    #fff;
  box-shadow: 0 22px 54px rgba(38, 68, 105, 0.08);
}

.plan-card.featured {
  border-color: rgba(47, 115, 255, 0.36);
  box-shadow: 0 28px 70px rgba(47, 115, 255, 0.15);
}

.plan-card > div,
.plan-card ul {
  min-width: 0;
}

.plan-badge {
  display: inline-flex;
  align-items: center;
  min-height: 30px;
  margin-bottom: 22px;
  padding: 0 10px;
  color: #275c42;
  border: 1px solid rgba(39, 182, 106, 0.22);
  border-radius: 8px;
  background: rgba(237, 250, 244, 0.82);
  font-size: 13px;
  font-weight: 900;
}

.featured .plan-badge {
  color: #1f62e8;
  border-color: rgba(47, 115, 255, 0.24);
  background: rgba(238, 246, 255, 0.9);
}

.plan-card h3 {
  margin-bottom: 12px;
  font-size: 30px;
  overflow-wrap: anywhere;
}

.plan-original-price {
  margin: 0 0 6px;
  color: #8a94a5;
  font-size: 15px;
  font-weight: 800;
  line-height: 1.4;
}

.plan-original-price del {
  color: #7b8495;
  text-decoration-thickness: 2px;
  text-decoration-color: rgba(90, 101, 118, 0.62);
}

.plan-price {
  margin-bottom: 12px;
  color: var(--ink);
  font-size: 28px;
  font-weight: 1000;
}

.plan-price-note {
  margin: -4px 0 18px;
  color: #1d7c4d;
  font-size: 15px;
  font-weight: 900;
  line-height: 1.4;
}

.featured .plan-price-note {
  color: #1f62e8;
}

.plan-desc {
  min-height: 84px;
  margin-bottom: 24px;
  color: var(--muted);
  font-size: 16px;
  line-height: 1.75;
  overflow-wrap: anywhere;
}

.plan-card ul {
  display: grid;
  gap: 12px;
  margin: 0 0 28px;
  padding: 0;
  list-style: none;
}

.plan-card li {
  position: relative;
  padding-left: 22px;
  color: #354154;
  font-size: 15px;
  font-weight: 800;
  line-height: 1.55;
  overflow-wrap: anywhere;
}

.plan-card li::before {
  content: "";
  position: absolute;
  top: 0.72em;
  left: 0;
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--blue);
  transform: translateY(-50%);
}

.promo-note {
  margin: 18px auto 0;
  color: #657084;
  font-size: 14px;
  font-weight: 800;
  line-height: 1.7;
  text-align: center;
}

.subscription-flow {
  display: grid;
  grid-template-columns: 0.9fr 1.1fr;
  gap: 44px;
  align-items: start;
  border-top: 1px solid rgba(106, 132, 164, 0.18);
  border-bottom: 1px solid rgba(106, 132, 164, 0.18);
}

.subscription-flow p {
  color: var(--muted);
  font-size: 17px;
  line-height: 1.8;
}

.flow-steps {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 16px;
}

.flow-steps article {
  min-height: 196px;
  padding: 24px;
  border: 1px solid #e2e9f2;
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.78);
  box-shadow: 0 18px 44px rgba(43, 70, 104, 0.07);
}

.flow-steps span {
  display: inline-block;
  margin-bottom: 20px;
  color: var(--blue);
  font-size: 13px;
  font-weight: 1000;
}

.flow-steps h3 {
  margin-bottom: 10px;
  font-size: 21px;
}

.flow-steps p {
  margin-bottom: 0;
  font-size: 15px;
}

.purchase-panel {
  display: grid;
  grid-template-columns: 0.95fr 1.05fr;
  gap: 20px;
  width: min(1200px, calc(100% - 48px));
  margin: -34px auto 88px;
}

.purchase-login,
.purchase-result {
  position: relative;
  min-height: 420px;
  padding: 30px;
  border: 1px solid rgba(93, 120, 151, 0.22);
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.9);
  box-shadow: 0 22px 54px rgba(38, 68, 105, 0.08);
}

.payment-close {
  position: absolute;
  top: 14px;
  right: 14px;
  width: 36px;
  height: 36px;
  border: 0;
  border-radius: 999px;
  background: #eef2f7;
  color: #596579;
  font-size: 24px;
  line-height: 1;
  cursor: pointer;
}

.payment-close:hover {
  background: #e1e8f1;
  color: #1f2937;
}

.wechat-open-action {
  display: block;
  width: 100%;
  min-height: 46px;
  margin-top: 14px;
  border: 0;
  border-radius: 8px;
  background: #16a34a;
  color: #fff;
  font: inherit;
  font-weight: 950;
  cursor: pointer;
}

.wechat-open-action[hidden] {
  display: none;
}

.wechat-open-action:hover {
  background: #15803d;
}

.purchase-panel.compact {
  display: block;
  margin-top: -34px;
}

.purchase-panel.compact .purchase-result {
  min-height: 0;
}

.purchase-login h2,
.purchase-result h2 {
  margin-bottom: 12px;
  font-size: 30px;
}

.purchase-login p,
.purchase-result p {
  color: var(--muted);
  line-height: 1.75;
}

.purchase-form {
  display: grid;
  gap: 16px;
  margin-top: 24px;
}

.purchase-form label {
  display: grid;
  gap: 8px;
  color: #26354a;
  font-weight: 900;
}

.purchase-form input {
  width: 100%;
  min-height: 48px;
  padding: 0 14px;
  border: 1px solid rgba(93, 120, 151, 0.3);
  border-radius: 8px;
  background: #fff;
  color: var(--ink);
  font: inherit;
}

.code-row {
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 12px;
  align-items: end;
}

.code-row .button {
  min-width: 128px;
}

.purchase-message {
  min-height: 26px;
  margin-top: 14px;
  font-weight: 800;
}

.purchase-message[data-state="ok"] {
  color: #1f8f55;
}

.purchase-message[data-state="error"] {
  color: #c1392b;
}

.account-status {
  margin-top: 20px;
  padding: 14px 16px;
  color: #445167;
  border: 1px solid rgba(93, 120, 151, 0.2);
  border-radius: 8px;
  background: rgba(247, 250, 252, 0.9);
  font-weight: 800;
  line-height: 1.6;
}

.account-status[data-state="ok"] {
  color: #1f6f47;
  border-color: rgba(39, 182, 106, 0.22);
  background: rgba(237, 250, 244, 0.86);
}

.qr-box {
  display: grid;
  grid-template-columns: 168px 1fr;
  gap: 18px;
  align-items: center;
  margin-top: 24px;
  padding: 18px;
  border: 1px solid rgba(47, 115, 255, 0.18);
  border-radius: 8px;
  background: rgba(238, 246, 255, 0.76);
}

.qr-box img {
  width: 168px;
  height: 168px;
  border: 8px solid #fff;
  border-radius: 8px;
  background: #fff;
}

.qr-box strong,
.qr-box span {
  display: block;
}

.qr-box strong {
  margin-bottom: 10px;
  color: var(--ink);
  font-size: 20px;
}

.qr-box span {
  color: var(--muted);
  line-height: 1.7;
}

.pricing-note {
  margin-top: 82px;
  margin-bottom: 96px;
  padding: 34px;
  border: 1px solid rgba(47, 115, 255, 0.18);
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.78);
  box-shadow: 0 22px 54px rgba(38, 68, 105, 0.08);
}

.pricing-note h2 {
  margin-bottom: 14px;
  font-size: 28px;
}

.pricing-note p {
  max-width: 880px;
  margin-bottom: 24px;
  color: var(--muted);
  font-size: 17px;
  line-height: 1.8;
}

:is(html, body)[data-embed="app"] {
  background: #f5f7fb;
}

:is(html, body)[data-embed="app"] .site-header,
:is(html, body)[data-embed="app"] .site-footer,
:is(html, body)[data-embed="app"] .pricing-hero,
:is(html, body)[data-embed="app"] .purchase-panel,
:is(html, body)[data-embed="app"] .subscription-flow,
:is(html, body)[data-embed="app"] .pricing-note {
  display: none;
}

:is(html, body)[data-embed="app"] .purchase-panel[data-open="true"] {
  position: fixed;
  inset: 0;
  z-index: 80;
  display: grid;
  width: 100%;
  margin: 0;
  padding: 28px;
  place-items: center;
  background: rgba(15, 23, 42, 0.42);
}

:is(html, body)[data-embed="app"] .purchase-panel[data-open="true"] .purchase-result {
  width: min(520px, calc(100vw - 48px));
  max-height: calc(100vh - 56px);
  overflow: auto;
  padding: 28px;
  background: #fff;
  box-shadow: 0 30px 90px rgba(15, 23, 42, 0.28);
}

:is(html, body)[data-embed="app"] .purchase-panel[data-open="true"] .qr-box {
  grid-template-columns: 180px 1fr;
}

:is(html, body)[data-embed="app"] .purchase-panel[data-open="true"] .qr-box img {
  width: 180px;
  height: 180px;
}

:is(html, body)[data-embed="app"] main {
  padding: 22px 0 30px;
}

:is(html, body)[data-embed="app"] .pricing-section,
:is(html, body)[data-embed="app"] .purchase-panel {
  width: min(calc(100% - 32px), 880px);
}

:is(html, body)[data-embed="app"] .pricing-section {
  position: relative;
  padding: 0 0 18px;
}

:is(html, body)[data-embed="app"] .embed-account {
  position: absolute;
  top: 6px;
  right: 0;
  max-width: min(44%, 280px);
  color: #354154;
  font-size: 16px;
  font-weight: 900;
  line-height: 1.35;
  text-align: right;
  overflow-wrap: anywhere;
}

:is(html, body)[data-embed="app"] .embed-account[data-state="syncing"],
:is(html, body)[data-embed="app"] .embed-account[data-state="guest"] {
  color: #6b7280;
  font-size: 15px;
}

:is(html, body)[data-embed="app"] .section-heading {
  margin-bottom: 16px;
}

:is(html, body)[data-embed="app"] .section-heading .section-kicker {
  margin-bottom: 8px;
}

:is(html, body)[data-embed="app"] .section-heading h2 {
  font-size: 28px;
  padding-right: min(46%, 300px);
}

:is(html, body)[data-embed="app"] .plan-grid {
  grid-template-columns: repeat(2, minmax(0, 1fr));
}

:is(html, body)[data-embed="app"] [data-plan-card="free"] {
  display: none;
}

:is(html, body)[data-embed="app"] .plan-card {
  min-height: 0;
  padding: 22px;
}

:is(html, body)[data-embed="app"] .plan-card h3 {
  font-size: 24px;
}

:is(html, body)[data-embed="app"] .plan-price {
  font-size: 24px;
}

:is(html, body)[data-embed="app"] .plan-original-price {
  margin-bottom: 5px;
  font-size: 13px;
}

:is(html, body)[data-embed="app"] .plan-price-note {
  margin: -3px 0 14px;
  font-size: 14px;
}

:is(html, body)[data-embed="app"] .promo-note {
  margin-top: 14px;
  font-size: 13px;
  text-align: left;
}

:is(html, body)[data-embed="app"] .plan-desc {
  min-height: 0;
  font-size: 14px;
}

:is(html, body)[data-embed="app"] .plan-card li {
  font-size: 14px;
}

:is(html, body)[data-embed="app"][data-embed-layout="mobile"] main {
  padding: 16px 0 22px;
}

:is(html, body)[data-embed="app"][data-embed-layout="mobile"] .pricing-section {
  width: min(calc(100% - 24px), 520px);
  padding-bottom: 12px;
}

:is(html, body)[data-embed="app"][data-embed-layout="mobile"] .embed-account {
  position: static;
  max-width: 100%;
  margin-bottom: 10px;
  text-align: right;
  font-size: 14px;
}

:is(html, body)[data-embed="app"][data-embed-layout="mobile"] .section-heading {
  margin-bottom: 12px;
}

:is(html, body)[data-embed="app"][data-embed-layout="mobile"] .section-heading .section-kicker {
  margin-bottom: 6px;
  font-size: 13px;
}

:is(html, body)[data-embed="app"][data-embed-layout="mobile"] .section-heading h2 {
  padding-right: 0;
  font-size: 24px;
}

:is(html, body)[data-embed="app"][data-embed-layout="mobile"] .plan-grid {
  grid-template-columns: 1fr;
  gap: 12px;
}

:is(html, body)[data-embed="app"][data-embed-layout="mobile"] .plan-card {
  padding: 18px;
}

:is(html, body)[data-embed="app"][data-embed-layout="mobile"] .plan-badge {
  min-height: 28px;
  margin-bottom: 14px;
  font-size: 12px;
}

:is(html, body)[data-embed="app"][data-embed-layout="mobile"] .plan-card h3 {
  margin-bottom: 8px;
  font-size: 22px;
}

:is(html, body)[data-embed="app"][data-embed-layout="mobile"] .plan-price {
  margin-bottom: 10px;
  font-size: 22px;
}

:is(html, body)[data-embed="app"][data-embed-layout="mobile"] .plan-original-price {
  margin-bottom: 4px;
  font-size: 13px;
}

:is(html, body)[data-embed="app"][data-embed-layout="mobile"] .plan-price-note {
  margin: -3px 0 12px;
  font-size: 13px;
}

:is(html, body)[data-embed="app"][data-embed-layout="mobile"] .promo-note {
  margin-top: 12px;
  font-size: 12px;
}

:is(html, body)[data-embed="app"][data-embed-layout="mobile"] .plan-desc {
  margin-bottom: 16px;
  font-size: 14px;
  line-height: 1.65;
}

:is(html, body)[data-embed="app"][data-embed-layout="mobile"] .plan-card ul {
  gap: 9px;
  margin-bottom: 18px;
}

:is(html, body)[data-embed="app"][data-embed-layout="mobile"] .download-action {
  min-height: 44px;
}

:is(html, body)[data-embed="app"][data-embed-layout="mobile"] .purchase-panel[data-open="true"] {
  display: block;
  overflow-y: auto;
  padding: 12px;
  background: rgba(15, 23, 42, 0.42);
}

:is(html, body)[data-embed="app"][data-embed-layout="mobile"] .purchase-panel[data-open="true"] .purchase-result {
  display: block;
  width: 100%;
  max-height: none;
  min-height: 0;
  margin: 0 auto;
  padding: 22px 18px calc(22px + env(safe-area-inset-bottom));
  border: 0;
  border-radius: 22px;
  box-shadow: 0 18px 60px rgba(15, 23, 42, 0.24);
}

:is(html, body)[data-embed="app"][data-embed-layout="mobile"] .purchase-panel[data-open="true"] .section-kicker {
  margin: 0 46px 8px 0;
  color: #1f2937;
  font-size: 20px;
  font-weight: 950;
  line-height: 1.25;
}

:is(html, body)[data-embed="app"][data-embed-layout="mobile"] .purchase-panel[data-open="true"] h2 {
  margin: 0 46px 8px 0;
  font-size: 22px;
  line-height: 1.25;
}

:is(html, body)[data-embed="app"][data-embed-layout="mobile"] .purchase-panel[data-open="true"] [data-payment-copy] {
  margin: 0;
  color: #5d6678;
  font-size: 14px;
  line-height: 1.6;
}

:is(html, body)[data-embed="app"][data-embed-layout="mobile"] .purchase-panel[data-open="true"] .account-status {
  margin-top: 12px;
  padding: 10px 12px;
  font-size: 13px;
}

:is(html, body)[data-embed="app"][data-embed-layout="mobile"] .purchase-panel[data-open="true"] .qr-box {
  grid-template-columns: 1fr;
  justify-items: center;
  gap: 10px;
  margin-top: 14px;
  padding: 14px;
  text-align: center;
}

:is(html, body)[data-embed="app"][data-embed-layout="mobile"] .purchase-panel[data-open="true"] .qr-box img {
  width: min(62vw, 220px);
  height: min(62vw, 220px);
}

:is(html, body)[data-embed="app"][data-embed-layout="mobile"] .purchase-panel[data-open="true"] .qr-box strong {
  margin-bottom: 4px;
  font-size: 18px;
}

:is(html, body)[data-embed="app"][data-embed-layout="mobile"] .purchase-panel[data-open="true"] .qr-box span {
  font-size: 13px;
  line-height: 1.55;
}

:is(html, body)[data-embed="app"][data-embed-layout="mobile"] .purchase-panel[data-open="true"] .purchase-message {
  min-height: 22px;
  margin-top: 10px;
  font-size: 13px;
  line-height: 1.55;
}

@media (max-width: 720px) {
  :is(html, body)[data-embed="app"] main {
    padding: 16px 0 22px;
  }

  :is(html, body)[data-embed="app"] .pricing-section {
    width: min(calc(100% - 24px), 520px);
    padding-bottom: 12px;
  }

  :is(html, body)[data-embed="app"] .embed-account {
    position: static;
    max-width: 100%;
    margin-bottom: 10px;
    text-align: right;
    font-size: 14px;
  }

  :is(html, body)[data-embed="app"] .section-heading {
    margin-bottom: 12px;
  }

  :is(html, body)[data-embed="app"] .section-heading .section-kicker {
    margin-bottom: 6px;
    font-size: 13px;
  }

  :is(html, body)[data-embed="app"] .section-heading h2 {
    padding-right: 0;
    font-size: 24px;
  }

  :is(html, body)[data-embed="app"] .plan-grid {
    grid-template-columns: 1fr;
    gap: 12px;
  }

  :is(html, body)[data-embed="app"] .plan-card {
    padding: 18px;
  }

  :is(html, body)[data-embed="app"] .plan-badge {
    min-height: 28px;
    margin-bottom: 14px;
    font-size: 12px;
  }

  :is(html, body)[data-embed="app"] .plan-card h3 {
    margin-bottom: 8px;
    font-size: 22px;
  }

  :is(html, body)[data-embed="app"] .plan-price {
    margin-bottom: 10px;
    font-size: 22px;
  }

  :is(html, body)[data-embed="app"] .plan-desc {
    margin-bottom: 16px;
    font-size: 14px;
    line-height: 1.65;
  }

  :is(html, body)[data-embed="app"] .plan-card ul {
    gap: 9px;
    margin-bottom: 18px;
  }

  :is(html, body)[data-embed="app"] .download-action {
    min-height: 44px;
  }
}


.account-layout {
  width: min(1200px, calc(100% - 48px));
  margin: 0 auto;
}

.account-layout {
  display: grid;
  grid-template-columns: 320px 1fr;
  gap: 22px;
  align-items: start;
  padding: 54px 0 96px;
}

.account-summary,
.account-card {
  border: 1px solid rgba(93, 120, 151, 0.22);
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.9);
  box-shadow: 0 22px 54px rgba(38, 68, 105, 0.08);
}

.account-summary {
  position: sticky;
  top: 104px;
  display: grid;
  gap: 18px;
  padding: 28px;
}

.account-avatar {
  display: grid;
  place-items: center;
  width: 76px;
  height: 76px;
  border-radius: 18px;
  background: linear-gradient(135deg, #2f73ff, #27b66a);
  color: #fff;
  font-size: 34px;
  font-weight: 1000;
}

.account-summary h2 {
  margin-bottom: 6px;
  font-size: 26px;
  line-height: 1.2;
  overflow-wrap: anywhere;
}

.account-summary p {
  margin-bottom: 0;
  color: var(--muted);
  line-height: 1.7;
}

.member-badge {
  display: inline-flex;
  align-items: center;
  width: fit-content;
  min-height: 32px;
  padding: 0 12px;
  border: 1px solid rgba(93, 120, 151, 0.22);
  border-radius: 8px;
  background: #f5f8fb;
  color: #3e4c60;
  font-size: 14px;
  font-weight: 900;
}

.member-badge[data-state="pro"] {
  color: #1f62e8;
  border-color: rgba(47, 115, 255, 0.25);
  background: rgba(238, 246, 255, 0.92);
}

.account-content {
  display: grid;
  gap: 18px;
}

.account-card {
  padding: 28px;
}

.account-card-heading {
  display: flex;
  gap: 16px;
  align-items: flex-start;
  justify-content: space-between;
  margin-bottom: 22px;
}

.account-card-heading h2 {
  margin-bottom: 0;
  font-size: 28px;
}

.account-card-heading .section-kicker {
  margin-bottom: 8px;
}

.account-link {
  color: #1f62e8;
  font-size: 14px;
  font-weight: 900;
  white-space: nowrap;
}

.profile-form {
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 12px;
  align-items: end;
  margin-bottom: 24px;
}

.profile-form label {
  display: grid;
  gap: 8px;
  color: #27364b;
  font-weight: 900;
}

.profile-form input {
  width: 100%;
  min-height: 48px;
  padding: 0 14px;
  border: 1px solid rgba(112, 129, 153, 0.24);
  border-radius: 8px;
  background: #fff;
  color: var(--ink);
  font: inherit;
}

.profile-form input:focus {
  border-color: var(--blue);
  box-shadow: 0 0 0 2px rgba(47, 115, 255, 0.1);
  outline: none;
}

.profile-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 12px;
  margin: 0;
}

.profile-grid div {
  min-width: 0;
  padding: 16px;
  border: 1px solid rgba(93, 120, 151, 0.16);
  border-radius: 8px;
  background: rgba(247, 250, 252, 0.76);
}

.profile-grid dt {
  margin-bottom: 8px;
  color: #7a8596;
  font-size: 13px;
  font-weight: 900;
}

.profile-grid dd {
  margin: 0;
  color: #263142;
  font-weight: 900;
  overflow-wrap: anywhere;
}

.subscription-card[data-state="pro"] {
  border-color: rgba(47, 115, 255, 0.32);
  background:
    linear-gradient(135deg, rgba(238, 246, 255, 0.96), rgba(255, 255, 255, 0.92)),
    #fff;
}

.subscription-card .account-card-heading span {
  display: inline-flex;
  align-items: center;
  min-height: 30px;
  padding: 0 10px;
  border-radius: 8px;
  background: rgba(39, 182, 106, 0.1);
  color: #1f8f55;
  font-size: 13px;
  font-weight: 900;
}

.subscription-row {
  display: flex;
  gap: 18px;
  align-items: center;
  justify-content: space-between;
}

.subscription-row strong {
  display: block;
  margin-bottom: 8px;
  font-size: 24px;
}

.subscription-row p {
  margin: 0;
  color: var(--muted);
  line-height: 1.7;
}

.account-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
}

.account-danger {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 46px;
  padding: 0 22px;
  border: 1px solid rgba(209, 71, 57, 0.22);
  border-radius: 8px;
  background: rgba(255, 246, 244, 0.78);
  color: #be3529;
  font: inherit;
  font-weight: 900;
  cursor: pointer;
}

.cta {
  padding: 110px 0 120px;
  text-align: center;
}

.cta h2,
.cta p {
  margin-left: auto;
  margin-right: auto;
}

.cta p {
  max-width: 680px;
  margin-bottom: 30px;
}

.site-footer {
  display: grid;
  grid-template-columns: 1.2fr 1fr;
  gap: 28px;
  width: min(1200px, calc(100% - 48px));
  margin: 0 auto;
  padding: 42px 0 52px;
  color: #657185;
  border-top: 1px solid rgba(106, 132, 164, 0.2);
}

.site-footer p {
  margin: 14px 0 0;
}

.site-footer nav {
  display: flex;
  justify-content: flex-end;
  gap: 22px;
  flex-wrap: wrap;
  font-weight: 800;
}

.legal {
  grid-column: 1 / -1;
  display: flex;
  gap: 16px;
  flex-wrap: wrap;
  color: #8994a6;
  font-size: 14px;
}

.legal a {
  text-decoration: underline;
  text-underline-offset: 3px;
}

.auth-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  width: min(100%, calc(100% - 96px));
  margin: 0 auto;
  padding: 34px 0 0;
}

.auth-switch,
.signin-bottom {
  display: inline-flex;
  gap: 8px;
  align-items: center;
  color: #8a93a3;
  font-size: 15px;
  font-weight: 700;
}

.auth-switch button,
.signin-bottom button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 92px;
  min-height: 46px;
  padding: 0 22px;
  border: 0;
  border-radius: 8px;
  background: var(--blue);
  color: #fff;
  font: inherit;
  font-weight: 900;
  cursor: pointer;
}

.signin-page {
  display: grid;
  justify-items: center;
  align-items: start;
  min-height: calc(100vh - 74px);
  padding: clamp(24px, 6vh, 62px) 24px 64px;
}

.signin-card {
  width: min(100%, 448px);
  padding: 36px 44px 34px;
  border: 0;
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.96);
  box-shadow: 0 26px 78px rgba(24, 45, 78, 0.1);
}

.signin-card h1 {
  margin-bottom: 24px;
  font-size: 32px;
  line-height: 1.15;
}

.signin-card .section-kicker {
  margin-bottom: 10px;
  color: #677184;
  font-size: 14px;
}

.auth-copy {
  display: none;
  color: var(--muted);
  line-height: 1.75;
}

.signin-form {
  display: grid;
  gap: 14px;
  margin-top: 0;
}

.signin-form label {
  display: block;
  color: #27364b;
  font-weight: 900;
}

.signin-form label span {
  display: none;
}

.signin-form input {
  width: 100%;
  min-height: 54px;
  padding: 0 15px;
  border: 1px solid rgba(112, 129, 153, 0.22);
  border-radius: 8px;
  background: #fff;
  color: var(--ink);
  font: inherit;
}

.signin-form input:focus {
  border-color: var(--blue);
  box-shadow: 0 0 0 2px rgba(47, 115, 255, 0.1);
  outline: none;
}

.signin-submit,
.wechat-login-button {
  width: 100%;
  min-height: 54px;
}

.signin-links {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  justify-content: center;
  align-items: center;
  margin-top: 16px;
  color: #8a93a3;
  font-size: 14px;
  font-weight: 800;
}

.signin-links button {
  border: 0;
  background: transparent;
  color: #1f62e8;
  font: inherit;
  font-weight: 800;
  cursor: pointer;
}

.signin-divider {
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  gap: 12px;
  align-items: center;
  margin: 22px 0 20px;
  color: #9aa3b2;
  font-size: 14px;
  font-weight: 800;
}

.signin-divider::before,
.signin-divider::after {
  content: "";
  height: 1px;
  background: #e3e9f2;
}

.wechat-login-button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  min-height: 50px;
  border: 1px solid rgba(39, 182, 106, 0.2);
  border-radius: 8px;
  background: #21bd63;
  color: #fff;
  font: inherit;
  font-weight: 900;
  cursor: pointer;
}

.wechat-login-button:disabled {
  opacity: 0.72;
  cursor: wait;
}

.wechat-login-button span {
  display: inline-grid;
  place-items: center;
  width: 32px;
  height: 24px;
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.16);
  font-size: 12px;
}

.more-login-button {
  display: block;
  width: 100%;
  margin-top: 18px;
  border: 0;
  background: transparent;
  color: #8b95a6;
  text-align: center;
  font: inherit;
  font-size: 14px;
  font-weight: 800;
  cursor: pointer;
}

.signin-card .purchase-message:empty {
  display: none;
}

.signin-bottom {
  margin-top: 24px;
}

.signin-bottom button {
  min-width: 0;
  min-height: 0;
  padding: 0;
  border-radius: 0;
  background: transparent;
  color: #1f62e8;
}

@media (max-width: 1060px) {
  .hero,
  .workflow,
  .security,
  .purchase-panel,
  .subscription-flow,
  .account-layout {
    grid-template-columns: 1fr;
  }

  .account-summary {
    position: static;
  }

  .hero {
    min-height: auto;
    padding-top: 40px;
  }

  .hero-visual {
    min-height: 650px;
  }

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

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

  .plan-grid {
    grid-template-columns: 1fr;
  }

  .plan-card {
    min-height: auto;
  }

  .purchase-panel {
    margin-top: -24px;
  }
}

@media (max-width: 760px) {
  .site-header {
    width: min(100% - 32px, 1200px);
    padding: 16px 0;
  }

  .brand-copy strong {
    font-size: 19px;
  }

  .brand-copy small {
    font-size: 11px;
  }

  .menu-button {
    display: block;
  }

  .site-nav {
    position: absolute;
    top: 72px;
    left: 0;
    right: 0;
    display: none;
    padding: 18px;
    border: 1px solid var(--line);
    border-radius: 8px;
    background: rgba(255, 255, 255, 0.96);
    box-shadow: 0 18px 42px rgba(34, 58, 91, 0.12);
  }

  .site-nav[data-open] {
    display: grid;
    gap: 16px;
  }

  .hero,
  .section,
  .download-section,
  .cta,
  .site-footer,
  .auth-header,
  .pricing-hero,
  .pricing-section,
  .purchase-panel,
  .pricing-note,
  .account-layout {
    width: min(100% - 32px, 1200px);
  }

  .hero {
    padding-bottom: 64px;
  }

  h1 {
    font-size: clamp(44px, 14vw, 62px);
  }

  .hero-lede {
    font-size: 18px;
  }

  .hero-visual {
    min-height: 560px;
    overflow: hidden;
  }

  .desktop-window {
    top: 20px;
    width: 100%;
  }

  .app-grid {
    grid-template-columns: 1fr;
  }

  .app-grid aside {
    display: none;
  }

  .app-grid section {
    padding: 18px;
  }

  .phone-mock {
    width: 190px;
    height: 370px;
    left: 12px;
    bottom: 0;
  }

  .phone-screen {
    padding: 22px 14px;
  }

  .voice-line {
    width: 68px;
    height: 68px;
    margin-bottom: 12px;
    border-width: 8px;
  }

  .demo-play-button {
    grid-template-columns: 30px 1fr;
    min-height: 46px;
    gap: 8px;
    padding: 7px 9px 7px 7px;
    font-size: 12px;
  }

  .demo-play-button small {
    display: none;
  }

  .demo-play-icon {
    width: 30px;
    height: 30px;
  }

  .demo-play-icon::after {
    border-top-width: 6px;
    border-bottom-width: 6px;
    border-left-width: 9px;
  }

  .floating-card {
    width: 174px;
  }

  .voice-card {
    left: auto;
    right: 8px;
  }

  .ocr-card {
    right: 20px;
    bottom: 26px;
  }

  .section {
    padding: 74px 0;
  }

  .section h2,
  .download-section h2,
  .cta h2 {
    font-size: clamp(34px, 10vw, 48px);
  }

  .feature-grid,
  .workflow-list,
  .platform-grid,
  .flow-steps,
  .site-footer {
    grid-template-columns: 1fr;
  }

  .download-section {
    padding: 78px 0;
  }

  .download-lede {
    margin-bottom: 42px;
  }

  .site-footer nav {
    justify-content: flex-start;
  }

  .pricing-hero {
    padding: 42px 0 24px;
  }

  .pricing-hero h1 {
    margin-bottom: 16px;
    font-size: clamp(38px, 12vw, 52px);
  }

  .pricing-hero .hero-lede {
    max-width: 100%;
    font-size: 16px;
    line-height: 1.65;
    overflow-wrap: anywhere;
    word-break: break-all;
  }

  .pricing-status {
    gap: 8px;
    margin-top: 22px;
  }

  .pricing-status span {
    padding: 8px 10px;
    font-size: 13px;
  }

  .section-heading h2 {
    font-size: clamp(30px, 9vw, 42px);
    word-break: break-all;
  }

  .pricing-section {
    padding-top: 24px;
    padding-bottom: 64px;
  }

  .plan-card,
  .purchase-login,
  .purchase-result,
  .pricing-note {
    padding: 22px;
  }

  .code-row,
  .qr-box,
  .profile-form,
  .subscription-row {
    grid-template-columns: 1fr;
  }

  .profile-form,
  .subscription-row {
    display: grid;
  }

  .code-row .button {
    width: 100%;
  }

  .account-card,
  .account-summary {
    padding: 22px;
  }

  .profile-grid {
    grid-template-columns: 1fr;
  }

  .qr-box img {
    width: 100%;
    max-width: 220px;
    height: auto;
    justify-self: center;
  }

  .download-modal {
    padding: 16px;
  }

  .download-modal__panel {
    padding: 30px 22px;
  }

  .demo-video-modal {
    padding: 16px;
  }

  .demo-video-modal__panel {
    grid-template-columns: 1fr;
    gap: 20px;
    justify-items: center;
    padding: 28px 18px 18px;
  }

  .demo-video-copy {
    padding-right: 36px;
  }

  .demo-video-copy h2 {
    font-size: 28px;
  }

  .demo-video-copy p:not(.section-kicker) {
    font-size: 15px;
  }

  .demo-video-player {
    width: min(100%, 300px);
    max-height: 62vh;
    border-width: 9px;
    border-radius: 28px;
  }

  .android-download-qr {
    width: min(100%, 220px);
    height: auto;
  }
}

@media (max-width: 420px) {
  .eyebrow {
    max-width: 100%;
    font-size: 12px;
    line-height: 1.45;
  }

  .ocr-card {
    display: none;
  }

  .hero-actions .button,
  .nav-login,
  .nav-action,
  .profile-form .button,
  .subscription-row .button,
  .account-actions .button,
  .account-danger {
    width: 100%;
  }

  .auth-header {
    gap: 16px;
  }

  .auth-switch {
    font-size: 13px;
  }

  .auth-switch button {
    min-width: 72px;
    min-height: 40px;
    padding: 0 16px;
  }

  .signin-page {
    padding: 54px 16px 64px;
  }

  .signin-card {
    padding: 34px 24px;
  }

  .signin-card h1 {
    font-size: 32px;
  }

  .platform-card {
    min-height: 190px;
  }
}
