:root {
  color-scheme: light;
  --ink: #172026;
  --muted: #5d6872;
  --line: #d9e0e7;
  --paper: #ffffff;
  --soft: #f3f7f7;
  --brand: #0f766e;
  --brand-dark: #0b4f4a;
  --accent: #b45309;
  --shadow: 0 18px 45px rgba(23, 32, 38, 0.10);
}

* {
  box-sizing: border-box;
}

body {
  margin: 0;
  font-family: Arial, "Microsoft YaHei", sans-serif;
  line-height: 1.6;
  color: var(--ink);
  background: var(--paper);
}

a {
  color: inherit;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 10;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  padding: 16px clamp(18px, 4vw, 56px);
  border-bottom: 1px solid var(--line);
  background: rgba(255, 255, 255, 0.94);
  backdrop-filter: blur(14px);
}

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

.brand-mark {
  display: grid;
  width: 34px;
  height: 34px;
  place-items: center;
  border-radius: 8px;
  color: #fff;
  background: var(--brand);
}

.main-nav,
.site-footer nav {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 16px;
  color: var(--muted);
  font-size: 15px;
}

.main-nav a,
.site-footer a {
  text-decoration: none;
}

.language-control {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  color: var(--muted);
  font-size: 15px;
}

.language-control select {
  min-height: 34px;
  max-width: 150px;
  padding: 6px 28px 6px 10px;
  border: 1px solid var(--line);
  border-radius: 8px;
  color: var(--ink);
  background: #fff;
  font: inherit;
}

.main-nav a:hover,
.site-footer a:hover {
  color: var(--brand-dark);
}

.hero {
  display: grid;
  grid-template-columns: minmax(0, 1.35fr) minmax(280px, 0.65fr);
  gap: clamp(24px, 5vw, 56px);
  align-items: center;
  padding: clamp(48px, 8vw, 96px) clamp(18px, 4vw, 56px);
  background:
    linear-gradient(120deg, rgba(15, 118, 110, 0.10), rgba(180, 83, 9, 0.08)),
    #f7fbfa;
}

.eyebrow {
  margin: 0 0 10px;
  color: var(--accent);
  font-size: 13px;
  font-weight: 800;
  letter-spacing: 0;
  text-transform: uppercase;
}

h1,
h2,
h3,
p {
  overflow-wrap: anywhere;
}

h1 {
  max-width: 760px;
  margin: 0;
  font-size: clamp(42px, 7vw, 84px);
  line-height: 1.05;
  letter-spacing: 0;
}

h2 {
  margin: 0;
  font-size: clamp(26px, 4vw, 44px);
  line-height: 1.18;
  letter-spacing: 0;
}

h3 {
  margin: 0 0 10px;
  font-size: 20px;
  line-height: 1.25;
  letter-spacing: 0;
}

.lead {
  max-width: 780px;
  margin: 22px 0 0;
  color: var(--muted);
  font-size: 18px;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 30px;
}

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

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

.quick-panel {
  display: grid;
  gap: 1px;
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--line);
  box-shadow: var(--shadow);
}

.quick-panel div {
  padding: 24px;
  background: #fff;
}

.quick-panel strong {
  display: block;
  font-size: 28px;
}

.quick-panel span {
  color: var(--muted);
}

.section {
  padding: clamp(44px, 7vw, 82px) clamp(18px, 4vw, 56px);
}

.section-heading {
  max-width: 860px;
  margin-bottom: 28px;
}

.band {
  background: var(--soft);
}

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

.feature-grid article,
.tool-card,
.guide-list article {
  border: 1px solid var(--line);
  border-radius: 8px;
  background: #fff;
}

.feature-grid article,
.tool-card {
  padding: 22px;
}

.feature-grid p,
.tool-card p,
.guide-list p,
.wide-copy {
  margin: 0;
  color: var(--muted);
}

.tool-card a {
  display: inline-block;
  margin-top: 14px;
  color: var(--brand-dark);
  font-weight: 800;
  text-decoration: none;
}

.filter-bar {
  display: grid;
  grid-template-columns: 120px minmax(0, 520px);
  gap: 12px;
  align-items: center;
  margin-bottom: 20px;
}

.filter-bar label {
  font-weight: 800;
}

.filter-bar input {
  width: 100%;
  min-height: 44px;
  padding: 10px 14px;
  border: 1px solid var(--line);
  border-radius: 8px;
  color: var(--ink);
  font: inherit;
  background: #fff;
}

.guide-list {
  display: grid;
  gap: 14px;
}

.guide-list article {
  padding: 22px;
}

.wide-copy {
  max-width: 860px;
  margin-bottom: 22px;
}

.site-footer {
  display: flex;
  justify-content: space-between;
  gap: 24px;
  padding: 30px clamp(18px, 4vw, 56px);
  border-top: 1px solid var(--line);
  background: #101820;
  color: #fff;
}

.site-footer p {
  max-width: 520px;
  margin: 6px 0 0;
  color: #c9d2da;
}

.site-footer nav {
  justify-content: flex-end;
  color: #dfe7ed;
}

.page-main {
  max-width: 980px;
  margin: 0 auto;
  padding: clamp(44px, 7vw, 82px) clamp(18px, 4vw, 56px);
}

.page-main h1 {
  font-size: clamp(36px, 6vw, 64px);
}

.page-main section {
  margin-top: 34px;
}

.page-main ul {
  padding-left: 22px;
}

@media (max-width: 860px) {
  .site-header,
  .site-footer {
    align-items: flex-start;
    flex-direction: column;
  }

  .hero,
  .feature-grid,
  .tool-grid {
    grid-template-columns: 1fr;
  }

  .filter-bar {
    grid-template-columns: 1fr;
  }

  .site-footer nav {
    justify-content: flex-start;
  }
}

@media (max-width: 520px) {
  .main-nav {
    gap: 10px 14px;
  }

  .language-control {
    width: 100%;
  }

  .language-control select {
    flex: 1;
  }

  .hero-actions,
  .button {
    width: 100%;
  }
}
