:root {
  color-scheme: light;
  --bg: #f8f5ef;
  --surface: #ffffff;
  --surface-warm: #fbfaf7;
  --ink: #1f2933;
  --muted: #5f6b7a;
  --line: #e5e7eb;
  --brand: #c83a3a;
  --brand-strong: #a93333;
  --brand-soft: #f5dfdc;
  --green: #3f7868;
  --green-soft: #e0ece7;
  --gold: #a67c2d;
  --gold-soft: #f0e4c8;
  --dark: #111827;
  --dark-soft: #1d2635;
  --shadow: 0 18px 60px rgba(17, 24, 39, 0.12);
  --radius: 8px;
  --container: 1180px;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  background: var(--bg);
  color: var(--ink);
  font-family: Inter, Manrope, "Noto Sans SC", "Source Han Sans", Arial, sans-serif;
  font-size: 16px;
  line-height: 1.65;
  letter-spacing: 0;
  text-rendering: optimizeLegibility;
}

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

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

a:hover {
  color: var(--brand-strong);
}

p {
  margin: 0 0 1rem;
}

strong {
  color: var(--ink);
}

ul,
ol {
  margin: 0;
  padding-left: 1.25rem;
}

li + li {
  margin-top: 0.45rem;
}

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

.skip-link {
  position: absolute;
  left: 16px;
  top: -80px;
  z-index: 30;
  padding: 10px 14px;
  border-radius: var(--radius);
  background: var(--dark);
  color: #fff;
  transition: top 160ms ease;
}

.skip-link:focus {
  top: 16px;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 20;
  border-bottom: 1px solid rgba(229, 231, 235, 0.88);
  background: rgba(248, 245, 239, 0.92);
  backdrop-filter: blur(16px);
}

.header-inner {
  display: flex;
  min-height: 74px;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
}

.brand-link {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  min-width: max-content;
  font-weight: 800;
  color: var(--dark);
}

.brand-mark {
  position: relative;
  display: inline-grid;
  width: 34px;
  height: 34px;
  place-items: center;
  border: 1px solid rgba(200, 58, 58, 0.24);
  border-radius: 50%;
  background: linear-gradient(145deg, #fff, var(--brand-soft));
}

.brand-mark::before {
  content: "";
  width: 13px;
  height: 18px;
  border-radius: 13px 13px 13px 3px;
  background: var(--brand);
  transform: rotate(-28deg);
}

.brand-mark::after {
  position: absolute;
  right: 8px;
  bottom: 8px;
  content: "";
  width: 9px;
  height: 9px;
  border-radius: 9px 9px 2px;
  background: var(--green);
  transform: rotate(38deg);
}

.brand-word {
  font-size: 1rem;
  letter-spacing: 0;
}

.nav-toggle {
  display: none;
  width: 42px;
  height: 42px;
  align-items: center;
  justify-content: center;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--surface);
  color: var(--ink);
  cursor: pointer;
}

.nav-toggle span,
.nav-toggle span::before,
.nav-toggle span::after {
  display: block;
  width: 18px;
  height: 2px;
  border-radius: 2px;
  background: currentColor;
}

.nav-toggle span {
  position: relative;
}

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

.nav-toggle span::before {
  top: -6px;
}

.nav-toggle span::after {
  top: 6px;
}

.site-nav {
  display: flex;
  align-items: center;
  gap: 18px;
  color: var(--muted);
  font-size: 0.92rem;
  font-weight: 700;
}

.site-nav a {
  padding: 7px 0;
  border-bottom: 2px solid transparent;
  white-space: nowrap;
}

.site-nav a[aria-current="page"] {
  color: var(--ink);
  border-bottom-color: var(--brand);
}

.nav-cta {
  display: inline-flex;
  min-height: 42px;
  align-items: center;
  justify-content: center;
  padding: 0 16px;
  border-radius: var(--radius);
  background: var(--dark);
  color: #fff;
  font-weight: 800;
  white-space: nowrap;
}

.nav-cta:hover {
  color: #fff;
  background: var(--brand-strong);
}

.hero,
.page-hero {
  position: relative;
  isolation: isolate;
  overflow: hidden;
  background-color: var(--bg);
  background-image:
    linear-gradient(90deg, rgba(248, 245, 239, 0.99) 0%, rgba(248, 245, 239, 0.93) 38%, rgba(248, 245, 239, 0.58) 72%, rgba(248, 245, 239, 0.26) 100%),
    var(--hero-image);
  background-position: center, right center;
  background-repeat: no-repeat;
  background-size: cover, min(58vw, 720px) auto;
}

.hero {
  min-height: 680px;
  display: flex;
  align-items: center;
  border-bottom: 1px solid var(--line);
}

.page-hero {
  padding: 104px 0 86px;
  border-bottom: 1px solid var(--line);
}

.hero__content,
.page-hero__content {
  max-width: 760px;
}

.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  margin-bottom: 18px;
  color: var(--brand-strong);
  font-size: 0.78rem;
  font-weight: 900;
  text-transform: uppercase;
}

.eyebrow::before {
  content: "";
  width: 22px;
  height: 2px;
  border-radius: 2px;
  background: var(--brand);
}

h1,
h2,
h3 {
  margin: 0;
  color: var(--ink);
  line-height: 1.08;
  letter-spacing: 0;
}

h1 {
  max-width: 850px;
  font-size: 4rem;
  font-weight: 900;
}

h2 {
  font-size: 2.45rem;
  font-weight: 900;
}

h3 {
  font-size: 1.2rem;
  font-weight: 850;
}

.hero .lead,
.page-hero .lead {
  max-width: 690px;
  margin: 24px 0 0;
  color: var(--muted);
  font-size: 1.18rem;
  line-height: 1.75;
}

.cta-row {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 30px;
}

.button {
  display: inline-flex;
  min-height: 48px;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 0 18px;
  border: 1px solid transparent;
  border-radius: var(--radius);
  font-weight: 850;
  line-height: 1.2;
  text-align: center;
}

.button.primary {
  background: var(--brand);
  color: #fff;
}

.button.primary:hover {
  background: var(--brand-strong);
  color: #fff;
}

.button.secondary {
  border-color: rgba(17, 24, 39, 0.18);
  background: rgba(255, 255, 255, 0.88);
  color: var(--dark);
}

.button.secondary:hover {
  border-color: rgba(200, 58, 58, 0.42);
  color: var(--brand-strong);
}

.microcopy {
  max-width: 680px;
  margin-top: 24px;
  color: var(--muted);
  font-size: 0.9rem;
}

.section {
  padding: 88px 0;
}

.section.compact {
  padding: 64px 0;
}

.section.dark {
  background: var(--dark);
  color: rgba(255, 255, 255, 0.78);
}

.section.dark h2,
.section.dark h3 {
  color: #fff;
}

.section.dark .section-kicker,
.section.dark .section-intro {
  color: rgba(255, 255, 255, 0.72);
}

.section.warm {
  background: var(--surface-warm);
}

.section-header {
  display: grid;
  grid-template-columns: minmax(0, 0.82fr) minmax(280px, 0.58fr);
  align-items: end;
  gap: 42px;
  margin-bottom: 34px;
}

.section-header.stacked {
  display: block;
  max-width: 820px;
}

.section-kicker {
  margin-bottom: 12px;
  color: var(--brand-strong);
  font-size: 0.78rem;
  font-weight: 900;
  text-transform: uppercase;
}

.section-intro {
  margin: 0;
  color: var(--muted);
  font-size: 1.02rem;
}

.grid {
  display: grid;
  gap: 18px;
}

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

.grid.three {
  grid-template-columns: repeat(3, minmax(0, 1fr));
}

.grid.four {
  grid-template-columns: repeat(4, minmax(0, 1fr));
}

.grid.auto {
  grid-template-columns: repeat(auto-fit, minmax(230px, 1fr));
}

.card,
.pricing-card,
.article-card,
.stat-card,
.process-step {
  min-width: 0;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--surface);
}

.card {
  padding: 24px;
}

.card .tag {
  display: inline-flex;
  margin-bottom: 16px;
  padding: 5px 9px;
  border-radius: 999px;
  background: var(--brand-soft);
  color: var(--brand-strong);
  font-size: 0.76rem;
  font-weight: 900;
}

.card p,
.pricing-card p,
.article-card p,
.process-step p,
.stat-card p {
  margin-top: 10px;
  margin-bottom: 0;
  color: var(--muted);
}

.card.accent-green .tag {
  background: var(--green-soft);
  color: var(--green);
}

.card.accent-gold .tag {
  background: var(--gold-soft);
  color: var(--gold);
}

.process-line {
  display: grid;
  grid-template-columns: repeat(5, minmax(0, 1fr));
  gap: 12px;
  counter-reset: step;
}

.process-step {
  position: relative;
  padding: 24px 20px;
}

.process-step::before {
  display: inline-grid;
  width: 34px;
  height: 34px;
  place-items: center;
  margin-bottom: 22px;
  border-radius: 50%;
  background: var(--dark);
  color: #fff;
  content: counter(step, decimal-leading-zero);
  counter-increment: step;
  font-size: 0.72rem;
  font-weight: 900;
}

.split {
  display: grid;
  grid-template-columns: minmax(0, 0.88fr) minmax(320px, 0.72fr);
  align-items: center;
  gap: 54px;
}

.split.reverse {
  grid-template-columns: minmax(320px, 0.72fr) minmax(0, 0.88fr);
}

.split.reverse .split-media {
  order: -1;
}

.visual {
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--surface);
  box-shadow: var(--shadow);
}

.visual img {
  width: 100%;
}

.visual figcaption {
  padding: 10px 14px 12px;
  border-top: 1px solid var(--line);
  color: var(--muted);
  font-size: 0.82rem;
}

.feature-list {
  display: grid;
  gap: 12px;
  margin-top: 24px;
  padding: 0;
  list-style: none;
}

.feature-list li {
  position: relative;
  margin: 0;
  padding-left: 26px;
  color: var(--muted);
}

.feature-list li::before {
  position: absolute;
  left: 0;
  top: 0.52em;
  width: 9px;
  height: 9px;
  border-radius: 50%;
  background: var(--green);
  content: "";
}

.callout {
  padding: 28px;
  border: 1px solid rgba(200, 58, 58, 0.22);
  border-radius: var(--radius);
  background: linear-gradient(135deg, #fff, #fbf0ed);
}

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

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

.pricing-grid.full {
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
}

.pricing-card {
  display: flex;
  min-height: 100%;
  flex-direction: column;
  padding: 26px;
}

.price {
  margin: 18px 0 12px;
  color: var(--brand-strong);
  font-size: 1.45rem;
  font-weight: 900;
}

.pricing-grid.full .price {
  font-size: 1.28rem;
  white-space: nowrap;
}

.pricing-card .button {
  margin-top: auto;
}

.table-wrap {
  overflow-x: auto;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--surface);
}

table {
  width: 100%;
  min-width: 680px;
  border-collapse: collapse;
}

th,
td {
  padding: 18px;
  border-bottom: 1px solid var(--line);
  text-align: left;
  vertical-align: top;
}

th {
  background: var(--surface-warm);
  color: var(--dark);
  font-size: 0.84rem;
  text-transform: uppercase;
}

tr:last-child td {
  border-bottom: 0;
}

.faq {
  display: grid;
  gap: 12px;
}

details {
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--surface);
}

summary {
  cursor: pointer;
  padding: 18px 20px;
  color: var(--ink);
  font-weight: 850;
}

details p {
  margin: 0;
  padding: 0 20px 20px;
  color: var(--muted);
}

.article-card {
  display: flex;
  min-height: 100%;
  flex-direction: column;
  padding: 26px;
}

.article-card .meta {
  margin-bottom: 12px;
  color: var(--brand-strong);
  font-size: 0.78rem;
  font-weight: 900;
  text-transform: uppercase;
}

.article-card a {
  margin-top: auto;
  padding-top: 20px;
  color: var(--brand-strong);
  font-weight: 900;
}

.article-body {
  max-width: 820px;
}

.article-body h2 {
  margin-top: 46px;
  margin-bottom: 14px;
  font-size: 2rem;
}

.article-body h3 {
  margin-top: 28px;
  margin-bottom: 8px;
}

.article-body p {
  color: var(--muted);
}

.form-panel {
  padding: 28px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--surface);
}

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

.form-field {
  display: grid;
  gap: 8px;
}

.form-field.full {
  grid-column: 1 / -1;
}

label,
legend {
  color: var(--ink);
  font-size: 0.9rem;
  font-weight: 850;
}

input,
select,
textarea {
  width: 100%;
  min-height: 46px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: #fff;
  color: var(--ink);
  font: inherit;
  letter-spacing: 0;
  padding: 10px 12px;
}

textarea {
  min-height: 132px;
  resize: vertical;
}

fieldset {
  margin: 0;
  padding: 0;
  border: 0;
}

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

.checkbox-grid label {
  display: flex;
  align-items: flex-start;
  gap: 9px;
  color: var(--muted);
  font-weight: 700;
}

.checkbox-grid input {
  width: 17px;
  min-height: 17px;
  margin-top: 4px;
}

.form-note {
  margin-top: 18px;
  color: var(--muted);
  font-size: 0.92rem;
}

.compliance-strip {
  border-top: 1px solid rgba(255, 255, 255, 0.12);
  border-bottom: 1px solid rgba(255, 255, 255, 0.12);
  background: var(--dark);
  color: rgba(255, 255, 255, 0.78);
}

.compliance-strip strong {
  color: #fff;
}

.final-cta {
  padding: 82px 0;
  background: var(--dark);
  color: rgba(255, 255, 255, 0.78);
}

.final-cta h2 {
  color: #fff;
}

.final-cta .button.secondary {
  border-color: rgba(255, 255, 255, 0.3);
  background: transparent;
  color: #fff;
}

.final-cta .button.secondary:hover {
  border-color: rgba(255, 255, 255, 0.66);
}

.site-footer {
  padding: 56px 0 34px;
  border-top: 1px solid var(--line);
  background: #fff;
}

.footer-grid {
  display: grid;
  grid-template-columns: 1.2fr 1fr 1fr;
  gap: 34px;
}

.footer-links {
  display: grid;
  gap: 8px;
  color: var(--muted);
  font-weight: 700;
}

.footer-title {
  margin-bottom: 12px;
  color: var(--ink);
  font-weight: 900;
}

.footer-disclaimer {
  margin-top: 34px;
  padding-top: 24px;
  border-top: 1px solid var(--line);
  color: var(--muted);
  font-size: 0.84rem;
}

.zh body,
html[lang="zh-Hans"] body {
  font-family: Inter, "Noto Sans SC", "Source Han Sans", Arial, sans-serif;
}

@media (max-width: 1080px) {
  h1 {
    font-size: 3.2rem;
  }

  h2 {
    font-size: 2.05rem;
  }

  .site-nav {
    gap: 12px;
    font-size: 0.86rem;
  }

  .process-line {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .grid.four,
  .pricing-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (max-width: 860px) {
  .container {
    width: min(100% - 28px, var(--container));
  }

  .header-inner {
    min-height: 66px;
  }

  .nav-toggle {
    display: inline-flex;
  }

  .site-nav {
    position: absolute;
    left: 14px;
    right: 14px;
    top: 66px;
    display: none;
    flex-direction: column;
    align-items: stretch;
    gap: 0;
    padding: 12px;
    border: 1px solid var(--line);
    border-radius: var(--radius);
    background: #fff;
    box-shadow: var(--shadow);
  }

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

  .site-nav a {
    padding: 11px 10px;
    border-bottom: 1px solid var(--line);
  }

  .site-nav a:nth-of-type(3),
  .site-nav a:nth-of-type(4),
  .site-nav a:nth-of-type(5),
  .site-nav a:nth-of-type(7) {
    display: none;
  }

  .nav-cta {
    margin-top: 10px;
  }

  .hero,
  .page-hero {
    background-image:
      linear-gradient(180deg, rgba(248, 245, 239, 0.98) 0%, rgba(248, 245, 239, 0.9) 56%, rgba(248, 245, 239, 0.82) 100%),
      var(--hero-image);
    background-position: center, center bottom;
    background-size: cover, 92vw auto;
  }

  .hero {
    min-height: 620px;
    padding: 72px 0 160px;
    align-items: flex-start;
  }

  .page-hero {
    padding: 72px 0 140px;
  }

  h1 {
    font-size: 2.55rem;
  }

  h2 {
    font-size: 1.8rem;
  }

  .hero .lead,
  .page-hero .lead {
    font-size: 1.04rem;
  }

  .section {
    padding: 64px 0;
  }

  .section-header {
    display: block;
  }

  .section-intro {
    margin-top: 16px;
  }

  .grid.two,
  .grid.three,
  .grid.four,
  .split,
  .split.reverse,
  .process-line,
  .pricing-grid,
  .pricing-grid.full,
  .footer-grid {
    grid-template-columns: 1fr;
  }

  .split.reverse .split-media {
    order: 0;
  }

  .form-grid,
  .checkbox-grid {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 520px) {
  .brand-word {
    font-size: 0.94rem;
  }

  h1 {
    font-size: 2.12rem;
  }

  .hero {
    min-height: 610px;
    padding-bottom: 120px;
  }

  .cta-row,
  .button {
    width: 100%;
  }

  .card,
  .pricing-card,
  .article-card,
  .form-panel,
  .callout {
    padding: 20px;
  }
}
