:root {
  color-scheme: light;
  --ink: #172033;
  --muted: #5f6b7a;
  --line: #d7e1ef;
  --panel: #ffffff;
  --soft: #f4f8fd;
  --primary: #155cff;
  --primary-dark: #0f48cb;
  --accent: #07885a;
}

* {
  box-sizing: border-box;
}

body {
  margin: 0;
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", "PingFang SC", "Microsoft YaHei", sans-serif;
  color: var(--ink);
  background: #eef3f9;
}

a {
  color: inherit;
}

button,
input,
select,
textarea {
  font: inherit;
}

.landing-header,
.landing-section,
.landing-footer {
  width: min(1120px, calc(100% - 32px));
  margin: 0 auto;
}

.landing-header {
  min-height: 64px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 16px;
}

.brand {
  text-decoration: none;
  font-weight: 900;
  color: var(--primary);
}

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

.header-actions a,
.button {
  display: inline-flex;
  justify-content: center;
  align-items: center;
  min-height: 40px;
  padding: 0 16px;
  border-radius: 6px;
  text-decoration: none;
  font-weight: 850;
  border: 1px solid var(--line);
  background: #fff;
}

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

.button.primary:hover,
button:hover {
  background: var(--primary-dark);
}

.hero {
  width: min(1120px, calc(100% - 32px));
  margin: 0 auto;
  min-height: calc(100vh - 64px);
  display: grid;
  grid-template-columns: minmax(0, 1.05fr) minmax(340px, 0.75fr);
  gap: 28px;
  align-items: center;
  padding: 28px 0 40px;
}

.eyebrow {
  margin: 0 0 10px;
  color: var(--primary);
  font-size: 13px;
  font-weight: 900;
}

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

h1 {
  margin-bottom: 18px;
  font-size: clamp(36px, 6vw, 68px);
  line-height: 1.04;
  letter-spacing: 0;
}

.hero-copy,
.section-copy {
  color: var(--muted);
  font-size: 18px;
  line-height: 1.72;
}

.hero-points,
.grid,
.steps,
.calculator-result {
  display: grid;
  gap: 12px;
}

.hero-points {
  grid-template-columns: repeat(3, minmax(0, 1fr));
  margin: 22px 0;
}

.hero-points article,
.grid article,
.steps article,
.lead-panel,
.calculator,
.calculator-result article {
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--panel);
  box-shadow: 0 8px 24px rgba(23, 32, 51, 0.06);
}

.hero-points article {
  padding: 14px;
}

.hero-points strong,
.grid strong,
.steps strong,
.calculator-result strong {
  display: block;
  margin-bottom: 6px;
}

.hero-points span,
.grid p,
.steps p,
.calculator-result span {
  color: var(--muted);
  line-height: 1.55;
}

.lead-panel {
  padding: 20px;
}

.lead-panel h2 {
  margin-bottom: 8px;
}

.lead-form {
  display: grid;
  gap: 12px;
  margin-top: 16px;
}

.lead-form label {
  display: grid;
  gap: 6px;
  color: #344054;
  font-weight: 750;
}

input,
select,
textarea {
  width: 100%;
  min-height: 40px;
  border: 1px solid var(--line);
  border-radius: 6px;
  padding: 0 12px;
  background: #fff;
  color: var(--ink);
}

textarea {
  min-height: 88px;
  padding: 10px 12px;
  resize: vertical;
}

button {
  min-height: 42px;
  border-radius: 6px;
  cursor: pointer;
  font-weight: 900;
}

.form-trap {
  position: absolute;
  left: -9999px;
  opacity: 0;
}

.status {
  min-height: 20px;
  margin: 0;
  color: var(--muted);
  font-size: 14px;
}

.landing-section {
  padding: 62px 0;
}

.section-heading {
  max-width: 760px;
  margin-bottom: 22px;
}

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

.grid article,
.steps article {
  padding: 18px;
}

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

.calculator {
  padding: 18px;
}

.calculator form {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 12px;
  align-items: end;
}

.calculator-result {
  grid-template-columns: repeat(3, minmax(0, 1fr));
  margin-top: 16px;
}

.calculator-result article {
  padding: 16px;
}

.calculator-result strong {
  color: var(--primary);
  font-size: 28px;
}

.landing-footer {
  padding: 30px 0 42px;
  color: var(--muted);
  border-top: 1px solid var(--line);
}

@media (max-width: 900px) {
  .hero,
  .grid,
  .steps,
  .calculator form,
  .calculator-result {
    grid-template-columns: 1fr;
  }

  .hero {
    min-height: auto;
    padding-top: 20px;
  }

  .hero-points {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 640px) {
  .landing-header {
    align-items: flex-start;
    flex-direction: column;
    padding: 12px 0;
  }

  h1 {
    font-size: 40px;
  }
}
