:root {
  --brand: #168a35;
  --btn: #11772f;
  --btn-hover: #0c5a24;
  --page: #f8faf9;
  --ink: #111827;
  --muted: #475569;
  --line: #e5e7eb;
  --mint: #eaf8ee;
  --accent: #15963b;
  --fx-green: #0c5a24;
  --fx-teal: #0f5f5a;
  --fx-blue: #1e4b8f;
  --fx-amber: #8a5208;
  --font: Inter, "Noto Sans SC", "Segoe UI", "Microsoft YaHei", Arial, sans-serif;
}

* { box-sizing: border-box; }

html { scroll-behavior: smooth; }

body {
  margin: 0;
  background: var(--page);
  color: var(--muted);
  font-family: var(--font);
  font-size: 16px;
  line-height: 1.7;
  overflow-x: clip;
}

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

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

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

:focus-visible {
  outline: 2px solid var(--btn);
  outline-offset: 2px;
}

.skip {
  position: absolute;
  left: 1rem;
  top: -4rem;
  z-index: 80;
  background: #fff;
  color: var(--ink);
  padding: 0.5rem 0.75rem;
  border-radius: 0.5rem;
}

.skip:focus { top: 0.75rem; }

.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}

.wrap {
  width: min(1200px, calc(100% - 2rem));
  margin-inline: auto;
}

.page { padding: 2.5rem 0 0; }

.site-header {
  position: sticky;
  top: 0;
  z-index: 40;
  border-bottom: 1px solid var(--line);
  background: rgba(255, 255, 255, 0.95);
  backdrop-filter: blur(8px);
}

.bar {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  padding: 0.75rem 0;
}

.logo {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  color: inherit;
  text-decoration: none;
}

.logo-img {
  display: block;
  width: auto;
  height: 2.75rem;
}

.logo-name {
  max-width: 8.5rem;
  overflow: hidden;
  color: var(--ink);
  font-size: 0.875rem;
  font-weight: 700;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.nav a {
  color: var(--ink);
  font-weight: 600;
  text-decoration: none;
}

.nav a:hover,
.nav a[aria-current="page"] { color: var(--btn); }

.nav a[aria-current="page"] {
  text-decoration: underline;
  text-underline-offset: 0.35rem;
}

.nav-main {
  display: none;
  align-items: center;
  gap: 1.25rem;
  margin-left: 1.5rem;
  font-size: 0.875rem;
}

.tools {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  margin-left: auto;
}

.langs {
  display: flex;
  flex-shrink: 0;
  align-items: center;
  padding: 0.25rem;
  border: 1px solid var(--line);
  border-radius: 999px;
  background: #fff;
  font-size: 0.75rem;
  font-weight: 650;
  white-space: nowrap;
}

.lang {
  padding: 0.25rem 0.5rem;
  border-radius: 999px;
  color: var(--ink);
  text-decoration: none;
}

.lang.is-on {
  background: var(--mint);
  color: var(--btn);
}

.menu { position: relative; }

.menu-toggle {
  display: grid;
  place-items: center;
  width: 2.75rem;
  height: 2.75rem;
  border: 1px solid var(--line);
  border-radius: 0.5rem;
  background: #fff;
  color: var(--ink);
  font-size: 1.125rem;
  line-height: 1;
  cursor: pointer;
  list-style: none;
}

.menu-toggle::-webkit-details-marker,
summary::-webkit-details-marker { display: none; }

summary { list-style: none; }

.nav-drop {
  position: absolute;
  right: 0;
  z-index: 50;
  width: 14rem;
  margin-top: 0.5rem;
  padding: 0.75rem;
  border: 1px solid var(--line);
  border-radius: 0.75rem;
  background: #fff;
  box-shadow: 0 10px 24px rgba(17, 24, 39, 0.08);
}

.menu-link {
  display: block;
  padding: 0.5rem 0.75rem;
  border-radius: 0.5rem;
}

.btn,
.btn-line {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.4rem;
  min-height: 2.75rem;
  padding: 0.55rem 1.05rem;
  border-radius: 0.7rem;
  font-weight: 650;
  line-height: 1.2;
  text-decoration: none;
  white-space: nowrap;
}

.btn {
  background: var(--btn);
  color: #fff;
}

.btn:hover {
  background: var(--btn-hover);
  color: #fff;
}

.btn-line {
  border: 1px solid var(--accent);
  background: #fff;
  color: var(--btn);
}

.btn-line:hover { background: var(--mint); }

.btn-header { display: none; }

.btn-wide {
  display: flex;
  width: 100%;
  margin-top: 0.5rem;
}

.hero {
  display: grid;
  align-items: center;
  gap: 1.75rem 2rem;
  min-height: calc(100svh - 6.75rem);
}

.hero-copy { min-width: 0; }

.hero .eyebrow {
  display: inline-flex;
  margin: 0;
  padding: 0.2rem 0.75rem;
  border-radius: 999px;
  background: var(--mint);
}

.hero .lead { max-width: 38rem; }

.hero .btn svg,
.hero-check svg,
.point-icon svg {
  width: 1.05rem;
  height: 1.05rem;
  flex-shrink: 0;
}

.hero-check {
  display: flex;
  align-items: flex-start;
  gap: 0.4rem;
}

.hero-check svg {
  margin-top: 0.28rem;
  color: var(--btn);
}

.hero-figure {
  margin: 0;
  min-width: 0;
}

.hero-figure img {
  display: block;
  width: 100%;
  height: auto;
}

.hero-points {
  display: grid;
  grid-template-columns: 1fr;
  gap: 1rem 1.5rem;
  margin: 0.25rem 0 0;
  padding: 0;
  list-style: none;
}

.hero-points li {
  display: flex;
  align-items: flex-start;
  gap: 0.75rem;
}

.hero-points strong {
  display: block;
  width: fit-content;
  max-width: 100%;
  color: var(--fx-green);
  font-size: 1rem;
  line-height: 1.35;
  background-image: linear-gradient(#c8f0d4, #c8f0d4);
  background-repeat: no-repeat;
  background-size: 100% 0.42em;
  background-position: 0 92%;
}

.hero-points li:nth-child(2) strong {
  color: var(--fx-teal);
  background-image: linear-gradient(#c5efe9, #c5efe9);
}

.hero-points li:nth-child(3) strong {
  color: var(--fx-blue);
  background-image: linear-gradient(#d5e4fa, #d5e4fa);
}

.hero-points li:nth-child(4) strong {
  color: var(--fx-amber);
  background-image: linear-gradient(#fde4bf, #fde4bf);
}

.hero-points li:nth-child(2) .point-icon {
  background: #e5f6f4;
  color: var(--fx-teal);
}

.hero-points li:nth-child(3) .point-icon {
  background: #e8f0fb;
  color: var(--fx-blue);
}

.hero-points li:nth-child(4) .point-icon {
  background: #fdf3e4;
  color: var(--fx-amber);
}

.point-icon {
  display: grid;
  place-items: center;
  width: 2.75rem;
  height: 2.75rem;
  border-radius: 0.85rem;
  background: var(--mint);
  color: var(--btn);
  flex-shrink: 0;
}

.eyebrow {
  color: var(--btn);
  font-size: 0.875rem;
  font-weight: 650;
}

.title {
  margin-top: 0.5rem;
  color: var(--ink);
  font-size: clamp(2rem, 4vw, 3rem);
  font-weight: 650;
  line-height: 1.15;
}

.hero .title {
  margin-top: 0.75rem;
  font-size: clamp(2.4rem, 5vw, 3.25rem);
}

.lead {
  max-width: 48rem;
  margin-top: 1rem;
  font-size: 1.125rem;
}

.intro {
  max-width: 48rem;
  margin-top: 0.75rem;
}

.actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
  margin-top: 1.5rem;
}

.meta,
.note {
  margin-top: 0.75rem;
  font-size: 0.875rem;
}

.section { margin-top: 4rem; }

.heading {
  color: var(--ink);
  font-size: clamp(1.7rem, 3vw, 2.15rem);
  font-weight: 650;
  line-height: 1.25;
}

.with-icon {
  display: flex;
  align-items: center;
  gap: 0.75rem;
}

.subhead {
  color: var(--ink);
  font-size: 1.5rem;
  font-weight: 650;
}

.grid {
  display: grid;
  gap: 1rem;
  margin: 1.5rem 0 0;
  padding: 0;
  list-style: none;
}

.card {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 1rem;
  overflow: hidden;
}

.pad { padding: 1.25rem; }

.card-title {
  margin-top: 0.5rem;
  color: var(--ink);
  font-size: 1.25rem;
  font-weight: 650;
}

h3.card-title,
h4.card-title { margin-top: 1rem; }

.card-link {
  color: var(--ink);
  text-decoration: none;
}

.card-link:hover {
  color: var(--btn);
  text-decoration: underline;
}

.space { margin-top: 0.75rem; }
.space-sm { margin-top: 0.5rem; }
.space-md { margin-top: 1rem; }
.space-lg { margin-top: 1.5rem; }

.icon {
  display: grid;
  place-items: center;
  width: 2.75rem;
  height: 2.75rem;
  border-radius: 0.75rem;
  background: var(--mint);
  color: var(--btn);
  flex-shrink: 0;
}

.icon svg { width: 1.5rem; height: 1.5rem; }

.caption {
  display: block;
  padding: 0.75rem 1rem;
  color: var(--ink);
  font-size: 0.875rem;
}

.shots {
  display: flex;
  gap: 1rem;
  margin-top: 1.5rem;
  padding-bottom: 0.5rem;
  overflow-x: auto;
}

.shot {
  display: block;
  flex-shrink: 0;
  width: min(100%, 320px);
  overflow: hidden;
  text-decoration: none;
}

.chips {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
  margin: 1.25rem 0 0;
  padding: 0;
  list-style: none;
}

.chip {
  padding: 0.25rem 0.75rem;
  border: 1px solid var(--line);
  border-radius: 999px;
  background: #fff;
  color: var(--ink);
  font-size: 0.875rem;
  font-weight: 650;
}

.cta {
  margin-top: 4rem;
  padding: 2rem 1.5rem;
  border-radius: 1rem;
  background: var(--mint);
}

#features { scroll-margin-top: 5rem; }

#features > .split h3 {
  width: fit-content;
  max-width: 100%;
  background-image: linear-gradient(100deg, var(--fx-green) 0%, #168a35 72%, #0f766e 100%);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}

#features > .split:nth-of-type(4n+2) h3 {
  background-image: linear-gradient(100deg, var(--fx-teal) 0%, #148f86 100%);
}

#features > .split:nth-of-type(4n+3) h3 {
  background-image: linear-gradient(100deg, var(--fx-blue) 0%, #3b6ec4 100%);
}

#features > .split:nth-of-type(4n) h3 {
  background-image: linear-gradient(100deg, var(--fx-amber) 0%, #c47a12 100%);
}

#features > .split h4 {
  color: var(--fx-green);
}

#features > .split:nth-of-type(4n+2) h4 { color: var(--fx-teal); }
#features > .split:nth-of-type(4n+3) h4 { color: var(--fx-blue); }
#features > .split:nth-of-type(4n) h4 { color: var(--fx-amber); }

#features > .split:nth-of-type(4n+2) .icon {
  background: #e5f6f4;
  color: var(--fx-teal);
}

#features > .split:nth-of-type(4n+3) .icon {
  background: #e8f0fb;
  color: var(--fx-blue);
}

#features > .split:nth-of-type(4n) .icon {
  background: #fdf3e4;
  color: var(--fx-amber);
}

#features > .split .space-sm {
  color: var(--ink);
}

.split {
  display: grid;
  align-items: start;
  gap: 1.5rem;
  margin-top: 3rem;
}

.crumbs {
  margin-bottom: 1.5rem;
  font-size: 0.875rem;
}

.crumbs-list,
.row {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 0.5rem;
  margin: 0;
  padding: 0;
  list-style: none;
}

.crumbs-list { list-style: none; }

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

.accent { color: var(--btn); font-weight: 650; }

.link {
  color: var(--btn);
  text-decoration: none;
}

.link:hover { text-decoration: underline; }

.more {
  display: inline-block;
  margin-top: 1rem;
  color: var(--btn);
  font-weight: 650;
}

.toc { margin-top: 1.5rem; padding: 1rem; }

.toc-list {
  margin: 0.5rem 0 0;
  padding-left: 1.25rem;
}

.content {
  max-width: 48rem;
  margin-top: 2rem;
}

.content h2 {
  margin: 2rem 0 0.75rem;
  color: var(--ink);
  font-size: 1.65rem;
  line-height: 1.25;
  font-weight: 650;
}

.content h3 {
  margin: 1.4rem 0 0.5rem;
  color: var(--ink);
  font-size: 1.2rem;
  line-height: 1.35;
  font-weight: 650;
}

.content p,
.content li { margin: 0.7rem 0; }

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

.content ul { list-style: disc; }

.content ol { list-style: decimal; }

.steps,
.bullets {
  margin-top: 1.5rem;
  padding-left: 1.25rem;
}

.steps { list-style: decimal; }

.bullets { list-style: disc; }

.steps li + li,
.bullets li + li { margin-top: 0.75rem; }

.list {
  margin-top: 0.75rem;
  padding-left: 0;
  list-style: none;
}

.list li + li { margin-top: 0.5rem; }

.stack > * + * { margin-top: 0.75rem; }

.faq { padding: 0.25rem 1rem; }

.faq-q {
  padding: 0.75rem 0;
  color: var(--ink);
  font-weight: 650;
  cursor: pointer;
}

.faq-a { padding-bottom: 1rem; }

.table-wrap {
  margin-top: 1rem;
  overflow-x: auto;
}

.data {
  width: 100%;
  min-width: 36rem;
  border-collapse: collapse;
  text-align: left;
}

.line { border-bottom: 1px solid var(--line); }

.th {
  width: 12rem;
  padding: 0.75rem 1rem 0.75rem 0;
  color: var(--ink);
  font-weight: 650;
}

.td { padding: 0.75rem 0; }

.label {
  color: var(--ink);
  font-weight: 650;
}

.site-footer {
  margin-top: 4rem;
  border-top: 1px solid var(--line);
  background: #fff;
}

.foot {
  display: grid;
  gap: 2rem;
  padding: 2.5rem 0;
}

.brand {
  color: var(--ink);
  font-size: 1rem;
  font-weight: 700;
}

.link-list {
  margin: 0.75rem 0 0;
  padding: 0;
  font-size: 0.875rem;
  list-style: none;
}

.link-list li + li { margin-top: 0.5rem; }

.note-band {
  border-top: 1px solid var(--line);
  background: var(--mint);
}

.fineprint {
  padding: 1.5rem 0;
  color: var(--ink);
  font-size: 0.875rem;
}

.copyright {
  margin-top: 0.75rem;
  color: var(--muted);
}

.lightbox { display: none; }

.lightbox:target {
  display: grid;
  position: fixed;
  inset: 0;
  z-index: 70;
  place-items: center;
  padding: 1.5rem;
}

.lightbox:target .backdrop {
  position: absolute;
  inset: 0;
  background: rgba(17, 24, 39, 0.72);
}

.lightbox:target figure {
  position: relative;
  z-index: 1;
  max-width: min(960px, 100%);
  margin: 0;
  padding: 0.75rem;
  border-radius: 1rem;
  background: #fff;
}

@media (min-width: 640px) {
  .wrap { width: min(1200px, calc(100% - 3rem)); }
  .logo-name { max-width: none; font-size: 1rem; }
  .tools { gap: 0.75rem; }
  .langs { font-size: 0.875rem; }
  .btn-header { display: inline-flex; }
  .cta { padding: 2rem 2.5rem; }
}

@media (min-width: 768px) {
  .grid-2,
  .grid-3 { grid-template-columns: repeat(2, 1fr); }
  .foot { grid-template-columns: 2fr 1fr 1fr; }
  .hero-points { grid-template-columns: repeat(4, 1fr); }
}

@media (min-width: 1024px) {
  .nav-main { display: flex; }
  .menu { display: none; }
  .split { grid-template-columns: 1fr 1fr; }
  #features .split:nth-of-type(even) > figure { order: -1; }
  .hero {
    grid-template-columns: minmax(280px, 32rem) minmax(0, 1fr);
    grid-template-rows: minmax(0, 1fr) auto;
    grid-template-areas:
      "copy figure"
      "points points";
    align-items: center;
    gap: 1.25rem 1.5rem;
    padding-bottom: 3.5rem;
  }
  .hero-copy { grid-area: copy; }
  .hero-figure {
    grid-area: figure;
    align-self: stretch;
    display: flex;
    align-items: center;
    min-height: 0;
  }
  .hero-figure img {
    width: auto;
    max-width: 100%;
    max-height: 100%;
    margin-left: auto;
    object-fit: contain;
  }
  .hero-points { grid-area: points; }
  .grid-3 { grid-template-columns: repeat(3, 1fr); }
  .shots {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    overflow: visible;
  }
  .shot { width: auto; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
}
