:root {
  color-scheme: light;
  --ink: #17191f;
  --muted: #5f6775;
  --line: #d9dee8;
  --soft: #f5f7fa;
  --soft-2: #edf7f2;
  --green: #0f8a5f;
  --green-dark: #086144;
  --blue: #1769aa;
  --red: #c43d3d;
  --white: #ffffff;
  --shadow: 0 22px 55px rgba(21, 30, 42, 0.15);
  font-family: -apple-system, BlinkMacSystemFont, "SF Pro Text", "Segoe UI", sans-serif;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  color: var(--ink);
  background: var(--white);
  font-size: 16px;
  line-height: 1.62;
}

a {
  color: inherit;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 20;
  background: rgba(255, 255, 255, 0.92);
  border-bottom: 1px solid rgba(217, 222, 232, 0.78);
  backdrop-filter: saturate(140%) blur(14px);
}

.nav {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  width: min(1120px, calc(100% - 40px));
  margin: 0 auto;
  min-height: 64px;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  text-decoration: none;
  font-weight: 700;
}

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

.nav-links {
  display: flex;
  align-items: center;
  gap: 18px;
  color: var(--muted);
  font-size: 0.94rem;
}

.nav-links a,
.lang button {
  text-decoration: none;
  border: 0;
  background: transparent;
  color: inherit;
  font: inherit;
  cursor: pointer;
  padding: 8px 0;
}

.nav-links a:hover,
.lang button:hover {
  color: var(--ink);
}

.lang {
  display: inline-flex;
  gap: 8px;
  border-left: 1px solid var(--line);
  padding-left: 18px;
}

.lang button[aria-pressed="true"] {
  color: var(--green-dark);
  font-weight: 700;
}

.hero {
  position: relative;
  isolation: isolate;
  min-height: min(620px, 72svh);
  display: flex;
  align-items: center;
  background-image: url("assets/home.png");
  background-repeat: no-repeat;
  background-size: cover;
  background-position: center top 26%;
  border-bottom: 1px solid var(--line);
}

.hero::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -1;
  background: rgba(255, 255, 255, 0.88);
}

.hero-inner,
.section-inner {
  width: min(1120px, calc(100% - 40px));
  margin: 0 auto;
}

.hero-copy {
  max-width: 720px;
  padding: 74px 0;
}

.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  color: var(--green-dark);
  background: rgba(15, 138, 95, 0.10);
  border: 1px solid rgba(15, 138, 95, 0.22);
  padding: 7px 11px;
  border-radius: 999px;
  font-size: 0.88rem;
  font-weight: 700;
}

h1,
h2,
h3 {
  line-height: 1.12;
  letter-spacing: 0;
}

h1 {
  font-size: clamp(2.65rem, 6vw, 5.25rem);
  margin: 24px 0 18px;
}

h2 {
  font-size: clamp(2rem, 4vw, 3.4rem);
  margin: 0 0 18px;
}

h3 {
  font-size: 1.12rem;
  margin: 0 0 8px;
}

.lead {
  font-size: 1.18rem;
  max-width: 660px;
  color: #343946;
  margin: 0 0 26px;
}

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

.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 44px;
  padding: 10px 16px;
  border-radius: 8px;
  border: 1px solid var(--line);
  text-decoration: none;
  font-weight: 700;
  background: var(--white);
}

.button.primary {
  background: var(--green);
  color: var(--white);
  border-color: var(--green);
}

.button:hover {
  transform: translateY(-1px);
}

.section {
  padding: 78px 0;
}

.section.alt {
  background: var(--soft);
  border-block: 1px solid var(--line);
}

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

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

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

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

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

.card {
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: 8px;
  padding: 22px;
}

.card p,
.card li {
  color: var(--muted);
}

.card p:last-child {
  margin-bottom: 0;
}

.check-list,
.x-list,
.plain-list {
  list-style: none;
  padding: 0;
  margin: 0;
}

.check-list li,
.x-list li,
.plain-list li {
  position: relative;
  padding-left: 30px;
  margin: 12px 0;
}

.check-list li::before,
.x-list li::before,
.plain-list li::before {
  position: absolute;
  left: 0;
  top: 0;
  font-weight: 800;
}

.check-list li::before {
  content: "✓";
  color: var(--green);
}

.x-list li::before {
  content: "×";
  color: var(--red);
}

.plain-list li::before {
  content: "•";
  color: var(--blue);
}

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

.screen {
  margin: 0;
}

.screen img {
  display: block;
  width: 100%;
  height: auto;
  max-width: 360px;
  margin: 0 auto;
  border-radius: 22px;
  box-shadow: var(--shadow);
  border: 1px solid rgba(0, 0, 0, 0.10);
}

.screen figcaption {
  color: var(--muted);
  font-size: 0.9rem;
  margin-top: 12px;
  text-align: center;
}

.notice {
  background: var(--soft-2);
  border: 1px solid rgba(15, 138, 95, 0.24);
  border-radius: 8px;
  padding: 22px;
}

.notice strong {
  color: var(--green-dark);
}

.page-title {
  padding: 64px 0 34px;
  background: var(--soft);
  border-bottom: 1px solid var(--line);
}

.page-title p {
  max-width: 780px;
  color: var(--muted);
}

.content {
  width: min(840px, calc(100% - 40px));
  margin: 0 auto;
  padding: 52px 0 80px;
}

.content h2 {
  font-size: 1.75rem;
  margin-top: 46px;
}

.content h2:first-child {
  margin-top: 0;
}

.content p,
.content li {
  color: #3f4652;
}

.content ul {
  padding-left: 1.25rem;
}

.meta {
  color: var(--muted);
  font-size: 0.94rem;
}

.footer {
  background: #111820;
  color: #edf4f2;
  padding: 34px 0;
}

.footer-inner {
  width: min(1120px, calc(100% - 40px));
  margin: 0 auto;
  display: flex;
  justify-content: space-between;
  gap: 24px;
  flex-wrap: wrap;
}

.footer a {
  color: inherit;
  text-decoration: none;
  margin-right: 16px;
}

[data-lang] {
  display: none;
}

html[data-current-lang="zh"] [data-lang="zh"],
html[data-current-lang="en"] [data-lang="en"] {
  display: revert;
}

@media (max-width: 760px) {
  .nav {
    align-items: flex-start;
    flex-direction: column;
    gap: 8px;
    padding: 12px 0;
  }

  .nav-links {
    flex-wrap: wrap;
    gap: 12px;
  }

  .lang {
    border-left: 0;
    padding-left: 0;
  }

  .hero {
    background-position: center top;
  }

  .hero-copy {
    padding: 46px 0 56px;
  }

  .lead {
    font-size: 1rem;
  }

  .grid.three,
  .grid.two,
  .screens {
    grid-template-columns: 1fr;
  }

  .screen img {
    max-width: 330px;
    margin: 0 auto;
  }
}
