:root {
  --ink: #101114;
  --muted: #626a73;
  --line: rgba(16, 17, 20, 0.12);
  --paper: #f7f4ef;
  --panel: #ffffff;
  --brand: #0f5c4f;
  --gold: #b7791f;
  --shadow: 0 24px 70px rgba(26, 24, 20, 0.12);
  --transition: 0.2s ease;
}

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

*:focus:not(:focus-visible) {
  outline: none;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  min-height: 100vh;
  color: var(--ink);
  background:
    linear-gradient(135deg, rgba(15, 92, 79, 0.04), transparent 34%),
    linear-gradient(180deg, #fbfaf7 0%, var(--paper) 52%, #f4f7f5 100%);
  font-family: Inter, -apple-system, BlinkMacSystemFont, "Segoe UI", "PingFang SC", "Microsoft YaHei", sans-serif;
  -webkit-font-smoothing: antialiased;
}

.hero,
.section,
.topbar,
.footer,
.form-shell {
  overflow-wrap: anywhere;
}

.topbar {
  position: sticky;
  top: 0;
  z-index: 20;
  min-height: 68px;
  padding: 14px clamp(20px, 4vw, 54px);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  background: rgba(251, 250, 247, 0.82);
  border-bottom: 1px solid rgba(16, 17, 20, 0.08);
  backdrop-filter: blur(20px);
}

.brand {
  font-size: 30px;
  line-height: 1;
  font-weight: 950;
  letter-spacing: 0;
  display: flex;
  align-items: center;
  gap: 10px;
}

.logo-icon {
  width: 28px;
  height: 28px;
}

.nav {
  display: flex;
  align-items: center;
  justify-content: flex-end;
  gap: 10px;
  flex-wrap: wrap;
  font-size: 14px;
  font-weight: 800;
}

.nav a {
  min-height: 36px;
  padding: 10px 13px;
  display: inline-flex;
  align-items: center;
  border-radius: 999px;
  color: rgba(16, 17, 20, 0.74);
}

.nav a:hover {
  color: var(--ink);
  background: rgba(16, 17, 20, 0.06);
}

.nav-cta {
  color: #fff !important;
  background: var(--ink) !important;
}

.nav-cta:hover {
  color: #fff !important;
  background: var(--ink) !important;
}

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

.hero-home {
  min-height: calc(100vh - 110px);
  padding: clamp(54px, 8vw, 104px) 0 50px;
  display: grid;
  grid-template-columns: minmax(0, 1.02fr) minmax(360px, 0.78fr);
  gap: clamp(28px, 5vw, 70px);
  align-items: center;
  position: relative;
}

.hero-home::before {
  content: '';
  position: absolute;
  top: 10%;
  right: 30%;
  width: 500px;
  height: 500px;
  background: radial-gradient(circle, rgba(15, 92, 79, 0.06) 0%, transparent 70%);
  pointer-events: none;
}

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

.stats-bar {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-bottom: 24px;
  padding: 12px 16px;
  background: rgba(255, 255, 255, 0.6);
  border: 1px solid var(--line);
  border-radius: 8px;
  font-size: 13px;
  font-weight: 650;
  color: var(--muted);
}

.stats-bar .divider {
  color: var(--line);
}

.eyebrow {
  margin: 0 0 14px;
  color: var(--brand);
  font-size: 12px;
  line-height: 1.2;
  font-weight: 950;
  letter-spacing: 0.14em;
  text-transform: uppercase;
}

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

h1 {
  margin-bottom: 24px;
  font-size: clamp(48px, 7vw, 86px);
  line-height: 1.1;
  font-weight: 950;
  letter-spacing: 0;
  max-width: 860px;
  word-break: break-word;
}

h2 {
  margin-bottom: 0;
  font-size: clamp(30px, 4vw, 52px);
  line-height: 1.15;
  font-weight: 950;
}

h3 {
  margin-bottom: 10px;
  font-size: 21px;
  line-height: 1.3;
}

.lead {
  max-width: 720px;
  margin-bottom: 30px;
  color: var(--muted);
  font-size: clamp(17px, 2vw, 21px);
  line-height: 1.72;
  font-weight: 650;
  word-break: break-word;
}

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

.btn {
  min-height: 48px;
  padding: 14px 19px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: 999px;
  font-size: 15px;
  font-weight: 900;
  border: 1px solid var(--line);
  transition: transform 0.15s ease, box-shadow 0.2s ease, background-color 0.2s ease, border-color 0.2s ease;
}

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

.btn.primary:hover {
  background: #252829;
  transform: scale(1.02);
  box-shadow: 0 12px 28px rgba(16, 17, 20, 0.28);
}

.btn.primary:active {
  transform: scale(0.98);
}

.btn.secondary {
  color: var(--ink);
  background: rgba(255, 255, 255, 0.85);
  border-color: rgba(16, 17, 20, 0.12);
}

.btn.secondary:hover {
  background: rgba(255, 255, 255, 0.95);
  border-color: rgba(16, 17, 20, 0.2);
}

.hero-panel {
  min-height: 560px;
  padding: 18px;
  display: grid;
  grid-template-rows: 1fr auto;
  gap: 14px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background:
    linear-gradient(135deg, rgba(255, 255, 255, 0.78), rgba(255, 255, 255, 0.36)),
    repeating-linear-gradient(90deg, rgba(16, 17, 20, 0.05) 0 1px, transparent 1px 62px);
  box-shadow: var(--shadow);
}

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

.signal-card {
  min-height: 146px;
  padding: 20px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.76);
}

.signal-card.dark {
  min-height: 300px;
  color: #f7f4ef;
  background:
    radial-gradient(circle at 82% 18%, rgba(183, 121, 31, 0.52), transparent 30%),
    linear-gradient(135deg, #101114, #1a1a1f);
  border-color: rgba(255, 255, 255, 0.16);
}

@media (max-width: 640px) {
  .signal-card.dark {
    min-height: 200px;
  }
}

.signal-card span,
.signal-kicker {
  color: rgba(16, 17, 20, 0.48);
  font-size: 12px;
  font-weight: 950;
  letter-spacing: 0.1em;
}

.signal-card.dark .signal-kicker {
  color: rgba(255, 255, 255, 0.62);
}

.signal-card strong {
  display: block;
  font-size: clamp(24px, 3vw, 38px);
  line-height: 1;
}

.signal-grid .signal-card strong {
  font-size: 21px;
}

.signal-card p {
  margin: 18px 0 0;
  color: rgba(16, 17, 20, 0.64);
  line-height: 1.55;
  font-weight: 650;
  word-break: break-word;
}

.signal-card.dark p {
  color: rgba(255, 255, 255, 0.72);
  word-break: break-word;
}

.section {
  padding: clamp(48px, 8vw, 96px) 0;
  border-top: 1px solid rgba(16, 17, 20, 0.08);
}

.split {
  display: grid;
  grid-template-columns: minmax(0, 0.78fr) minmax(320px, 1fr);
  gap: clamp(28px, 5vw, 70px);
  align-items: start;
}

.rich-copy p {
  color: var(--muted);
  font-size: 18px;
  line-height: 1.82;
  font-weight: 650;
}

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

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

.feature,
.application-card {
  min-height: auto;
  padding: 24px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.68);
  box-shadow: 0 12px 40px rgba(16, 17, 20, 0.06);
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.feature:hover,
.application-card:hover,
.feature:focus-visible,
.application-card:focus-visible {
  transform: translateY(-2px);
  box-shadow: 0 16px 48px rgba(16, 17, 20, 0.08);
}

.feature-index,
.application-card span {
  display: inline-flex;
  min-width: 34px;
  min-height: 34px;
  align-items: center;
  justify-content: center;
  margin-bottom: 36px;
  color: var(--brand);
  font-size: 13px;
  font-weight: 950;
  border: 1px solid rgba(15, 92, 79, 0.24);
  border-radius: 999px;
}

.feature p,
.application-card p {
  margin-bottom: 0;
  color: var(--muted);
  line-height: 1.66;
  font-weight: 650;
}

.application-band {
  display: grid;
  grid-template-columns: minmax(0, 0.72fr) minmax(420px, 1fr);
  gap: clamp(28px, 5vw, 60px);
  align-items: start;
}

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

.application-card {
  min-height: 290px;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
}

.application-card strong {
  margin-bottom: 16px;
  display: block;
  font-size: 26px;
  line-height: 1.16;
}

.application-card.accent {
  color: #fff;
  background: linear-gradient(135deg, var(--brand), #10201d);
}

.application-card.accent span {
  color: #fff;
  border-color: rgba(255, 255, 255, 0.32);
}

.application-card.accent p {
  color: rgba(255, 255, 255, 0.72);
}

.footer {
  width: min(1180px, calc(100vw - 40px));
  margin: 0 auto;
  padding: 26px 0 40px;
  display: flex;
  justify-content: space-between;
  gap: 20px;
  flex-wrap: wrap;
  color: rgba(16, 17, 20, 0.54);
  font-size: 13px;
  font-weight: 750;
  border-top: 1px solid rgba(16, 17, 20, 0.08);
}

@media (max-width: 640px) {
  .footer {
    flex-direction: column;
    gap: 8px;
    text-align: center;
  }
}

.form-hero {
  padding: 58px 0 30px;
  display: grid;
  grid-template-columns: minmax(0, 0.94fr) minmax(320px, 0.6fr);
  gap: 38px;
  align-items: end;
}

.form-hero h1 {
  max-width: 780px;
  margin-bottom: 18px;
  font-size: clamp(42px, 6vw, 72px);
}

.form-shell {
  width: min(1180px, calc(100vw - 40px));
  margin: 0 auto 54px;
  display: grid;
  grid-template-columns: minmax(0, 1fr) 330px;
  gap: 18px;
  align-items: start;
}

.form-card,
.aside-card {
  padding: 26px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.78);
  box-shadow: 0 18px 56px rgba(16, 17, 20, 0.08);
}

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

.field {
  margin-bottom: 18px;
}

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

label {
  display: block;
  margin-bottom: 8px;
  color: rgba(16, 17, 20, 0.86);
  font-size: 14px;
  font-weight: 900;
}

.hint {
  display: block;
  margin-top: -2px;
  margin-bottom: 8px;
  color: rgba(16, 17, 20, 0.48);
  font-size: 12px;
  line-height: 1.45;
  font-weight: 750;
}

input,
select,
textarea {
  width: 100%;
  min-height: 46px;
  padding: 12px 13px;
  color: var(--ink);
  background: rgba(255, 255, 255, 0.78);
  border: 1px solid rgba(16, 17, 20, 0.16);
  border-radius: 8px;
  outline: none;
}

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

input:focus,
select:focus,
textarea:focus {
  border-color: rgba(15, 92, 79, 0.58);
  box-shadow: 0 0 0 4px rgba(15, 92, 79, 0.1);
}

.check-row {
  display: flex;
  gap: 10px;
  align-items: flex-start;
  margin: 6px 0 20px;
  color: var(--muted);
  font-size: 14px;
  line-height: 1.55;
  font-weight: 650;
}

.check-row input {
  width: 18px;
  min-height: 18px;
  margin-top: 2px;
  accent-color: var(--brand);
}

.submit-row {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  align-items: center;
}

button {
  min-height: 48px;
  padding: 13px 18px;
  color: #fff;
  background: var(--ink);
  border: 0;
  border-radius: 999px;
  cursor: pointer;
  font-weight: 950;
  transition: all 0.2s ease;
}

button:hover {
  transform: scale(1.02);
  box-shadow: 0 8px 24px rgba(16, 17, 20, 0.2);
}

button:active {
  transform: scale(0.97);
  box-shadow: inset 0 2px 4px rgba(0, 0, 0, 0.2);
}

button.secondary {
  color: var(--ink);
  background: rgba(16, 17, 20, 0.08);
}

button.secondary:hover {
  background: rgba(16, 17, 20, 0.12);
}

.status {
  color: var(--muted);
  font-size: 13px;
  line-height: 1.45;
  font-weight: 750;
}

.aside-card {
  position: sticky;
  top: 88px;
}

.aside-card h2 {
  margin-bottom: 18px;
  font-size: 25px;
}

.steps {
  margin: 0;
  padding: 0;
  list-style: none;
}

.steps li {
  padding: 16px 0;
  border-top: 1px solid rgba(16, 17, 20, 0.09);
}

.steps strong {
  display: block;
  margin-bottom: 6px;
}

.steps span {
  color: var(--muted);
  font-size: 13px;
  line-height: 1.5;
  font-weight: 650;
}

.req {
  color: #b42318;
}

/* 响应式断点统一: 1240px / 1080px / 720px / 480px */
@media (max-width: 1240px) {
  .hero-home {
    grid-template-columns: 1fr;
  }

  .hero-panel {
    min-height: 400px;
  }
}

@media (max-width: 1080px) {
  .split,
  .application-band,
  .form-hero,
  .form-shell {
    grid-template-columns: 1fr;
  }

  .aside-card {
    position: static;
  }
}

@media (max-width: 720px) {
  .topbar {
    align-items: flex-start;
    flex-direction: column;
    gap: 12px;
  }

  .nav {
    width: 100%;
    justify-content: flex-start;
    gap: 4px;
    font-size: 11px;
    overflow-x: auto;
    flex-wrap: nowrap;
    padding-bottom: 4px;
  }

  .nav a {
    min-height: 28px;
    padding: 6px 8px;
    white-space: nowrap;
  }

  .nav a:focus-visible {
    outline: 2px solid var(--brand);
    outline-offset: 2px;
  }

  .hero-panel {
    min-height: auto;
  }

  .feature-grid,
  .application-cards {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 480px) {
  .field-grid {
    grid-template-columns: 1fr;
    gap: 10px;
  }

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

  .signal-grid {
    grid-template-columns: 1fr;
  }

  h1 {
    font-size: clamp(32px, 9vw, 36px);
    line-height: 1.2;
    max-width: 14em;
  }

  .lead {
    font-size: 17px;
    max-width: 320px;
  }

  .signal-card p {
    max-width: 18em;
  }
}

  .lead {
    font-size: 17px;
    max-width: 320px;
  }

  .signal-card p {
    max-width: 18em;
  }
}

/* 表单验证状态 */
input:invalid:not(:placeholder-shown),
select:invalid:not(:placeholder-shown),
textarea:invalid:not(:placeholder-shown) {
  border-color: #b42318;
  box-shadow: 0 0 0 3px rgba(180, 35, 24, 0.12);
}

input:valid:not(:placeholder-shown) {
  border-color: var(--brand);
}

/* 提交状态样式 */
.status {
  padding: 8px 14px;
  border-radius: 8px;
  transition: all 0.2s ease;
}

.status.success {
  color: #0f5c4f;
  background: rgba(15, 92, 79, 0.08);
  border: 1px solid rgba(15, 92, 79, 0.24);
}

.status.error {
  color: #b42318;
  background: rgba(180, 35, 24, 0.08);
  border: 1px solid rgba(180, 35, 24, 0.24);
}

.status.hint {
  color: rgba(16, 17, 20, 0.4);
}
