:root {
  --text: #1f2328;
  --muted: #555c66;
  --bg: #ffffff;
  --soft: #f5f6f7;
  --line: #d8dbdf;
  --link: #0b5cad;
}

* {
  box-sizing: border-box;
}

html {
  font-size: 112.5%;
  -webkit-text-size-adjust: 100%;
}

body {
  margin: 0;
  background: var(--bg);
  color: var(--text);
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial,
    "PingFang SC", "Hiragino Sans GB", "Microsoft YaHei", "Noto Sans SC", sans-serif;
  font-size: 1.05rem;
  line-height: 1.7;
}

a {
  color: var(--link);
}

a:focus-visible {
  outline: 3px solid var(--link);
  outline-offset: 2px;
}

.wrap {
  max-width: 46rem;
  margin: 0 auto;
  padding: 0 1rem;
}

.wrap-wide {
  max-width: 64rem;
}

/* Header */
.site-header {
  border-bottom: 1px solid var(--line);
  padding: 0.9rem 0;
}

.site-header .wrap {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  align-items: flex-start;
  gap: 0.5rem 1.5rem;
}

.brand {
  display: block;
  font-size: 1.2rem;
  font-weight: 700;
  color: var(--text);
  text-decoration: none;
}

.brand-meta {
  margin: 0;
  color: var(--muted);
  font-size: 0.95rem;
}

.lang-switch {
  margin: 0;
  padding: 0;
  list-style: none;
  display: flex;
  gap: 0.25rem 0.9rem;
  font-size: 0.95rem;
}

.lang-switch [aria-current] {
  font-weight: 700;
  color: var(--text);
  text-decoration: none;
}

/* Main */
main {
  padding: 1.5rem 0 2.5rem;
}

h1 {
  font-size: 1.6rem;
  line-height: 1.35;
  margin: 0.5rem 0 1rem;
}

h2 {
  font-size: 1.3rem;
  line-height: 1.4;
  margin: 2.5rem 0 0.75rem;
  padding-top: 1rem;
  border-top: 1px solid var(--line);
}

h3 {
  font-size: 1.1rem;
  margin: 1.5rem 0 0.5rem;
}

p,
ul,
ol {
  margin: 0 0 1rem;
}

li {
  margin-bottom: 0.4rem;
}

.lead {
  font-size: 1.1rem;
}

.note {
  color: var(--muted);
  font-size: 0.95rem;
}

.box {
  background: var(--soft);
  border: 1px solid var(--line);
  border-radius: 6px;
  padding: 1rem 1.1rem;
  margin: 1rem 0;
}

.box > :last-child {
  margin-bottom: 0;
}

/* Steps */
.steps {
  padding-left: 1.4rem;
}

.steps li {
  margin-bottom: 1rem;
}

/* Pricing */
.plans {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(17rem, 1fr));
  gap: 1rem;
  margin: 1rem 0;
}

.plan {
  border: 1px solid var(--line);
  border-radius: 6px;
  padding: 1rem 1.1rem;
}

.plan h3 {
  margin-top: 0;
}

.price {
  font-size: 1.3rem;
  font-weight: 700;
  margin-bottom: 0.25rem;
}

.setup {
  color: var(--muted);
  font-size: 0.95rem;
}

.plan ul {
  padding-left: 1.2rem;
  margin-bottom: 0;
}

/* FAQ */
.faq dt {
  font-weight: 700;
  margin-top: 1.5rem;
}

.faq dd {
  margin: 0.4rem 0 0;
}

/* Footer */
.site-footer {
  border-top: 1px solid var(--line);
  background: var(--soft);
  padding: 1.5rem 0 2rem;
  font-size: 0.95rem;
}

.site-footer p {
  margin-bottom: 0.6rem;
}

.footer-links {
  margin: 0.75rem 0;
  padding: 0;
  list-style: none;
  display: flex;
  flex-wrap: wrap;
  gap: 0.25rem 1.2rem;
}

.tm,
.legal-entity {
  color: var(--muted);
  font-size: 0.85rem;
}

.legal-entity {
  margin-top: 2.5rem;
}

@media (min-width: 40rem) {
  html {
    font-size: 118.75%;
  }

  h1 {
    font-size: 1.8rem;
  }
}
