/* RESET & BASE */

*,
*::before,
*::after {
  box-sizing: border-box;
}

html, body {
  margin: 0;
  padding: 0;
}

body {
  font-family: system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  background: #f3f4f6;
  color: #111827;
  -webkit-font-smoothing: antialiased;
}

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

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

a:hover {
  text-decoration: underline;
}

/* LAYOUT */

.shell {
  max-width: 1120px;
  margin: 0 auto;
  padding: 0 24px 64px;
}

/* HEADER */

.header {
  position: sticky;
  top: 0;
  z-index: 20;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 18px;
  padding: 18px 0 12px;
  background: rgba(243, 244, 246, 0.97);
  border-bottom: 1px solid #e5e7eb;
  backdrop-filter: blur(10px);
}

.header-left {
  display: flex;
  align-items: center;
  gap: 10px;
}

.logo-mark {
  width: 32px;
  height: 32px;
  border-radius: 999px;
  border: 1px solid #22c55e;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 15px;
  background: #ecfdf3;
  color: #166534;
}

.logo-text {
  display: flex;
  flex-direction: column;
}

.logo-title {
  font-size: 0.78rem;
  letter-spacing: 0.16em;
  text-transform: uppercase;
}

.logo-sub {
  font-size: 0.78rem;
  color: #6b7280;
}

.nav {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  font-size: 0.82rem;
}

.nav a {
  padding: 5px 10px;
  border-radius: 999px;
  border: 1px solid transparent;
  color: #4b5563;
  white-space: nowrap;
}

.nav a:hover {
  border-color: #d1d5db;
  background: #e5e7eb;
}

/* TYPOGRAPHY */

h1, h2, h3 {
  margin: 0;
  font-weight: 600;
  color: #111827;
}

h1 {
  font-size: 2.2rem;
  line-height: 1.2;
}

h2 {
  font-size: 1.5rem;
  line-height: 1.3;
}

h3 {
  font-size: 1.02rem;
}

p {
  margin: 0;
  font-size: 0.95rem;
  line-height: 1.8;
  color: #374151;
}

ul {
  margin: 8px 0 0;
  padding-left: 18px;
}

li {
  font-size: 0.93rem;
  line-height: 1.8;
  color: #4b5563;
}

/* 帮助控制每行长度 */

.section-header,
.hero-copy,
.section .split > div:first-child {
  max-width: 640px;
}

/* SECTIONS */

.section {
  padding: 48px 0;
  border-bottom: 1px solid #e5e7eb;
}

.section:last-of-type {
  border-bottom: none;
}

.section-header {
  margin-bottom: 18px;
}

.section-sub {
  margin-top: 8px;
  color: #6b7280;
  font-size: 0.95rem;
}

/* HERO */

.hero {
  display: grid;
  grid-template-columns: minmax(0, 1.3fr) minmax(0, 1fr);
  gap: 40px;
  align-items: center;
  padding: 40px 0 24px;
}

.hero-full {
  min-height: 70vh;
}

.hero-copy {
  max-width: 640px;
}

.eyebrow {
  font-size: 0.76rem;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: #6b7280;
  margin-bottom: 8px;
}

.hero-lead {
  margin-top: 14px;
}

.hero-meta {
  margin-top: 14px;
  font-size: 0.84rem;
  color: #6b7280;
}

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

.hero-image {
  display: flex;
  justify-content: flex-end;
}

.hero-figure {
  margin: 0;
  max-width: 360px;
  background: #f9fafb;
  border-radius: 14px;
  overflow: hidden;
  border: 1px solid #e5e7eb;
}

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

.hero-figure figcaption {
  padding: 10px 12px;
  font-size: 0.8rem;
  color: #6b7280;
  border-top: 1px solid #e5e7eb;
}

/* BUTTONS */

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 9px 18px;
  border-radius: 999px;
  font-size: 0.9rem;
  font-weight: 500;
  border: 1px solid transparent;
  cursor: pointer;
  text-decoration: none;
  transition: background-color 0.08s ease, border-color 0.08s ease, transform 0.08s ease, box-shadow 0.08s ease;
}

.btn-primary {
  background: #16a34a;
  border-color: #16a34a;
  color: #f0fdf4;
  box-shadow: 0 10px 24px rgba(22, 163, 74, 0.38);
}

.btn-primary:hover {
  background: #15803d;
  border-color: #15803d;
  text-decoration: none;
  transform: translateY(-1px);
  box-shadow: 0 12px 30px rgba(22, 163, 74, 0.48);
}

.btn-ghost {
  background: #f3f4f6;
  border-color: #d1d5db;
  color: #111827;
}

.btn-ghost:hover {
  background: #e5e7eb;
  border-color: #9ca3af;
  text-decoration: none;
}

.btn-sm {
  padding: 7px 12px;
  font-size: 0.82rem;
}

/* CARDS & PANELS */

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

.card {
  background: #ffffff;
  border-radius: 14px;
  border: 1px solid #e5e7eb;
  padding: 18px 18px 20px;
}

.card h3 {
  margin-bottom: 10px;
}

.card p {
  margin-bottom: 10px;
}

.card ul {
  margin-top: 4px;
}

.section-border {
  margin-top: 16px;
  border-radius: 16px;
  border: 1px solid #e5e7eb;
  padding: 26px 22px 28px;
  background: #f9fafb;
}

.split {
  display: grid;
  grid-template-columns: minmax(0, 1.1fr) minmax(0, 1fr);
  gap: 24px;
}

.panel {
  background: #ffffff;
  border-radius: 14px;
  border: 1px solid #e5e7eb;
  padding: 18px 18px 20px;
}

.panel h3 {
  margin-bottom: 10px;
}

.panel-actions {
  margin-top: 14px;
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}

.panel-meta {
  margin-top: 10px;
  font-size: 0.82rem;
  color: #6b7280;
}

/* FORMS */

.form {
  margin-top: 10px;
  max-width: 720px;
  padding: 18px 18px 20px;
  background: #ffffff;
  border-radius: 14px;
  border: 1px solid #e5e7eb;
}

.form-row {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
  margin-bottom: 12px;
}

.form-row.two .field {
  flex: 1 1 220px;
}

.field {
  flex: 1 1 100%;
}

label {
  display: block;
  font-size: 0.8rem;
  color: #6b7280;
  margin-bottom: 4px;
}

input[type="text"],
input[type="email"],
textarea {
  width: 100%;
  padding: 7px 9px;
  border-radius: 9px;
  border: 1px solid #d1d5db;
  background: #ffffff;
  font-size: 0.9rem;
  color: #111827;
  outline: none;
}

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

input[type="text"]:focus,
input[type="email"]:focus,
textarea:focus {
  border-color: #16a34a;
  box-shadow: 0 0 0 1px rgba(22, 163, 74, 0.25);
}

/* radio pill choices */

.choice-row {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
}

.choice {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  padding: 4px 10px;
  border-radius: 999px;
  border: 1px solid #d1d5db;
  background: #f9fafb;
  font-size: 0.8rem;
  color: #111827;
  cursor: pointer;
}

.choice input[type="radio"] {
  transform: scale(0.9);
}

.choice:hover {
  border-color: #9ca3af;
}

/* FOOTER */

.footer {
  margin-top: 16px;
}

.footer p {
  font-size: 0.86rem;
  color: #6b7280;
}

.footer-small {
  margin-top: 6px;
  font-size: 0.8rem;
  color: #9ca3af;
}

/* RESPONSIVE */

@media (max-width: 980px) {
  .hero {
    grid-template-columns: minmax(0, 1fr);
  }

  .hero-image {
    justify-content: flex-start;
  }

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

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

  .section-border {
    padding: 22px 16px 24px;
  }
}

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

  .nav {
    font-size: 0.8rem;
    gap: 6px;
  }

  .shell {
    padding: 0 16px 40px;
  }

  h1 {
    font-size: 1.8rem;
  }

  h2 {
    font-size: 1.3rem;
  }

  .form {
    padding: 14px 12px 16px;
  }
}