:root {
  --bg: #f5f5f4;
  --surface: #fafaf9;
  --surface-strong: #ffffff;
  --text: #151515;
  --text-soft: #5b5b5b;
  --line: #e3e3e1;
  --accent: #1f3f35;
  --accent-soft: #33584b;
  --radius-lg: 22px;
  --radius-md: 14px;
  --radius-sm: 12px;
}

@font-face {
  font-family: "SlogonLongCang";
  src: url("../assets/slogon-longcang.woff2") format("woff2");
  font-weight: 400;
  font-style: normal;
  font-display: swap;
}

* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

html,
body {
  height: 100%;
}

html {
  font-size: clamp(15px, 0.25vw + 14px, 17px);
}

body {
  font-family:
    "Avenir Next", "Segoe UI Variable", "PingFang SC", "Noto Sans SC",
    sans-serif;
  background: var(--bg);
  color: var(--text);
  line-height: 1.55;
  -webkit-font-smoothing: antialiased;
}

.page {
  max-width: 1020px;
  margin: 0 auto;
  padding: 1rem 1rem 1.3rem;
}

.nav {
  position: sticky;
  top: 0;
  z-index: 10;
  backdrop-filter: blur(8px);
}

.nav-inner {
  margin: 0.4rem auto 0;
  padding: 0.75rem 1rem;
  display: flex;
  align-items: flex-end;
  justify-content: flex-start;
  border: 1px solid var(--line);
  border-radius: 999px;
  background: color-mix(in srgb, var(--surface-strong) 88%, transparent);
}

.nav-menu {
  display: inline-flex;
  flex: 1 1 auto;
  min-width: 0;
  align-items: center;
  justify-content: center;
  gap: 0.28rem;
  margin-left: 0.75rem;
  align-self: flex-end;
  margin-bottom: -0.1rem;
}

.nav-menu a {
  text-decoration: none;
  color: var(--text-soft);
  font-size: 0.7rem;
  font-weight: 620;
  border: 1px solid transparent;
  border-radius: 999px;
  padding: 0.2rem 0.48rem;
  line-height: 1.15;
  transition:
    background-color 0.2s ease,
    color 0.2s ease,
    border-color 0.2s ease;
}

.nav-menu a:hover {
  color: var(--accent);
  background: #f2f4f3;
  border-color: var(--line);
}

.brand-row {
  display: inline-flex;
  align-items: center;
  gap: 0.55rem;
}

.brand-logo {
  width: 1.9rem;
  height: 1.9rem;
  border-radius: 0.5rem;
  object-fit: cover;
  flex-shrink: 0;
}

.brand-wrap {
  display: inline-flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 0.08rem;
}

.brand {
  text-decoration: none;
  color: var(--text);
  font-size: 0.98rem;
  font-weight: 650;
  letter-spacing: 0.05em;
}

.brand-subtitle {
  font-family: "SlogonLongCang", "STKaiti", "KaiTi", "Segoe Print", cursive;
  color: var(--text-soft);
  font-size: 0.52rem;
  letter-spacing: 0.02em;
  white-space: nowrap;
  line-height: 1.1;
}

#locale-switcher {
  border: 1px solid var(--line);
  border-radius: 999px;
  background: var(--surface-strong);
  color: var(--text);
  font-size: 0.82rem;
  font-weight: 600;
  padding: 0.42rem 0.75rem;
  cursor: pointer;
  margin-left: 0.6rem;
  flex-shrink: 0;
}

.hero {
  margin-top: 1.2rem;
  padding: 4.1rem 1.25rem 3rem;
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  background: var(--surface-strong);
  text-align: center;
}

.hero-kicker {
  display: inline-block;
  font-size: 0.76rem;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: #6b6b6b;
  margin-bottom: 0.95rem;
}

.hero h1 {
  font-size: clamp(2rem, 5.8vw, 3.6rem);
  line-height: 1.08;
  letter-spacing: -0.025em;
  max-width: 760px;
  margin: 0 auto;
}

.hero h1 .pilot {
  display: block;
  margin-top: 0.45rem;
  font-size: 0.28em;
  line-height: 1.2;
  letter-spacing: 0.03em;
  font-weight: 600;
  color: var(--text-soft);
}

.hero p {
  color: var(--text-soft);
  margin: 1.1rem auto 0;
  max-width: 600px;
  font-size: clamp(0.96rem, 1.1vw, 1.02rem);
}

.hero p[data-l10n="intro.html"] {
  color: var(--text-soft);
  margin-top: 1.1rem;
  max-width: 600px;
  font-size: clamp(0.83rem, 0.9vw, 0.93rem);
  line-height: 1.55;
  font-weight: 420;
}

.hero-policies {
  margin-top: 0.55rem;
  display: flex;
  flex-wrap: wrap;
  gap: 0.45rem;
  justify-content: center;
}

.hero-policy-chip {
  display: inline;
  font-size: 0.74rem;
  font-weight: 500;
  color: var(--text-soft);
  background: color-mix(in srgb, var(--surface-strong) 70%, var(--line));
  border: 0;
  border-radius: 0.35rem;
  padding: 0.04rem 0.28rem;
  line-height: 1.2;
}

.hero-policy-chip-trial {
  color: var(--text-soft);
}

.hero-cta {
  margin-top: 1.7rem;
  display: inline-flex;
  align-items: center;
  text-decoration: none;
  color: var(--accent);
  background: #f2f4f3;
  border: 1px solid var(--line);
  border-radius: 999px;
  padding: 0.62rem 0.98rem;
  font-size: 0.82rem;
  font-weight: 580;
  transition: background-color 0.2s ease;
}

.hero-cta:hover {
  background: #ecefed;
}

.section {
  margin-top: 1rem;
  padding: 1rem;
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  background: var(--surface);
}

.section-title {
  font-size: 0.78rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--text-soft);
  margin: 0.15rem 0 0.85rem;
}

.features-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 0.75rem;
}

.feature-card {
  background: var(--surface-strong);
  border: 1px solid var(--line);
  border-radius: var(--radius-md);
  padding: 1.1rem;
}

.feature-icon {
  width: 32px;
  height: 32px;
  border-radius: 10px;
  display: grid;
  place-items: center;
  color: var(--accent);
  background: #f2f4f3;
  margin-bottom: 0.65rem;
}

.feature-icon svg {
  width: 18px;
  height: 18px;
}

.feature-card h3 {
  font-size: 1rem;
  letter-spacing: -0.006em;
}

.feature-card p {
  margin-top: 0.4rem;
  color: var(--text-soft);
  font-size: 0.94rem;
}

.feature-card p[data-l10n="about.help.content.html"] .help-line,
.feature-card p[data-l10n="about.promise.content.html"] .promise-line {
  display: block;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
  cursor: pointer;
}

.feature-card
  p[data-l10n="about.promise.content.html"]
  .promise-line.is-expanded,
.feature-card p[data-l10n="about.help.content.html"] .help-line.is-expanded {
  white-space: normal;
  overflow: visible;
  text-overflow: clip;
}

.platform-list {
  display: grid;
  gap: 0.65rem;
}

.pricing-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 0.65rem;
}

.pricing-item {
  padding: 0.92rem;
  border-radius: var(--radius-md);
  border: 1px solid var(--line);
  background: var(--surface-strong);
}

.pricing-title {
  font-size: 0.96rem;
  color: var(--text);
  font-weight: 620;
  letter-spacing: -0.005em;
}

.pricing-amount {
  margin-top: 0.3rem;
  color: #d2771e;
  font-size: 1.18rem;
  font-weight: 700;
  line-height: 1.2;
}

.pricing-comment {
  margin-top: 0.24rem;
  color: #7a7a78;
  font-size: 0.72rem;
  font-weight: 520;
  line-height: 1.35;
}

.pricing-buy {
  margin-top: 0.5rem;
  display: inline-flex;
  align-items: center;
  text-decoration: none;
  color: var(--accent);
  background: #f2f4f3;
  border: 1px solid var(--line);
  border-radius: 999px;
  padding: 0.28rem 0.56rem;
  font-size: 0.72rem;
  font-weight: 620;
  transition: background-color 0.2s ease;
}

.pricing-buy:hover {
  background: #e8ecea;
}

.pricing-note {
  margin-top: 1rem;
  color: var(--text-soft);
  font-size: 0.75rem;
  line-height: 1.25;
}

.pricing-note + .pricing-note {
  margin-top: 0.08rem;
}

.platform-item {
  display: grid;
  grid-template-columns: auto 1fr;
  gap: 0.85rem;
  align-items: start;
  padding: 0.92rem;
  border-radius: var(--radius-md);
  border: 1px solid var(--line);
  background: var(--surface-strong);
}

.platform-icon {
  width: 30px;
  height: 30px;
  border-radius: 50%;
  display: grid;
  place-items: center;
  font-size: 0.78rem;
  font-weight: 700;
  color: var(--accent);
  background: #f2f4f3;
}

.platform-info h3 {
  font-size: 0.98rem;
}

.platform-info p {
  margin-top: 0.24rem;
  color: var(--text-soft);
  font-size: 0.9rem;
}

.platform-info p a {
  color: var(--accent);
  text-underline-offset: 2px;
}

.passkeys {
  margin: 0.85rem 0 0;
  color: var(--text-soft);
  font-size: 0.84rem;
}

.footer {
  margin: 1.15rem 0 0;
  padding: 1rem 0.9rem 1.25rem;
  border-top: 1px solid var(--line);
}

.footer-links {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 0.5rem;
}

.footer-links a,
.footer-separator,
.footer-copyright {
  color: var(--text-soft);
  font-size: 0.8rem;
  text-decoration: none;
}

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

.footer-copyright {
  text-align: center;
  margin-top: 0.72rem;
}

.wechat-prompt {
  display: none;
  position: fixed;
  inset: 0;
  background: rgba(0, 0, 0, 0.35);
  z-index: 100;
  align-items: center;
  justify-content: center;
  padding: 1rem;
}

.wechat-prompt[style*="display: block"] {
  display: flex;
}

.prompt-content {
  background: var(--surface-strong);
  border-radius: var(--radius-md);
  width: min(420px, 100%);
  padding: 1.2rem;
}

.prompt-content h2 {
  font-size: 1.08rem;
  margin-bottom: 0.7rem;
}

.prompt-content > div[style*="text-align: left"] {
  color: var(--text-soft);
  font-size: 0.9rem;
  line-height: 1.6;
  margin-bottom: 1rem;
}

.prompt-button {
  border: 0;
  border-radius: 999px;
  padding: 0.55rem 1rem;
  color: #f7f9f8;
  background: var(--accent);
  font-size: 0.84rem;
  cursor: pointer;
}

@media (max-width: 760px) {
  .nav-inner {
    justify-content: space-between;
    align-items: center;
  }

  #locale-switcher {
    margin-left: auto;
  }

  .brand-logo {
    width: 1.65rem;
    height: 1.65rem;
    border-radius: 0.42rem;
  }

  .brand {
    font-size: 0.92rem;
  }

  .brand-subtitle {
    font-size: 0.58rem;
  }

  .nav-menu {
    display: none;
  }

  .platform-item {
    grid-template-columns: 1fr;
    text-align: left;
    gap: 0.6rem;
  }

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

  .hero {
    padding: 3.3rem 0.9rem 2.6rem;
  }
}
