:root {
  --ink: #171717;
  --muted: #66736c;
  --line: #dce5df;
  --paper: #f6f8f7;
  --surface: #ffffff;
  --green: #1f6f4a;
  --green-soft: #e7f4ed;
  --blue: #1b4d79;
  --blue-soft: #e7f0f8;
  --gold: #a36f18;
  --gold-soft: #fff3d9;
  --coral: #b5523a;
  --coral-soft: #fae7e0;
  --radius: 8px;
  --shadow: 0 18px 50px rgba(21, 19, 15, .10);
}

* {
  box-sizing: border-box;
}

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

a {
  color: inherit;
}

.topbar {
  position: sticky;
  top: 0;
  z-index: 10;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 16px;
  padding: 12px clamp(18px, 4vw, 52px);
  border-bottom: 1px solid var(--line);
  background: rgba(246, 248, 247, .94);
  backdrop-filter: blur(14px);
}

.brand {
  display: flex;
  align-items: center;
  gap: 10px;
  font-weight: 850;
}

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

.nav {
  display: flex;
  gap: 10px;
  flex-wrap: wrap;
  justify-content: flex-end;
  font-size: 13px;
  color: var(--muted);
}

.nav a {
  border: 1px solid var(--line);
  border-radius: 999px;
  padding: 7px 10px;
  background: #fff;
  text-decoration: none;
}

main {
  width: min(100% - 36px, 1180px);
  margin: 0 auto;
  padding: 22px 0 42px;
}

.hero,
.two-col {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(320px, .86fr);
  gap: 18px;
  align-items: stretch;
}

.panel,
.sticky-panel,
.hero-copy {
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: #fff;
  box-shadow: var(--shadow);
}

.hero-copy {
  min-height: 420px;
  padding: clamp(24px, 4vw, 44px);
  display: grid;
  align-content: center;
  gap: 16px;
}

.sticky-panel {
  position: sticky;
  top: 78px;
  align-self: start;
  padding: 18px;
  display: grid;
  gap: 14px;
}

.panel {
  padding: clamp(18px, 3vw, 26px);
  display: grid;
  gap: 16px;
}

.section {
  margin-top: 18px;
  display: grid;
  gap: 14px;
}

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

h1 {
  font-size: clamp(38px, 6vw, 74px);
  line-height: .96;
  letter-spacing: 0;
}

h2 {
  font-size: clamp(24px, 3vw, 38px);
  line-height: 1.08;
  letter-spacing: 0;
}

h3 {
  font-size: 18px;
}

.lead {
  max-width: 760px;
  color: var(--muted);
  font-size: 18px;
}

.tag {
  width: fit-content;
  display: inline-flex;
  align-items: center;
  border: 1px solid var(--line);
  border-radius: 999px;
  padding: 6px 10px;
  color: var(--green);
  background: var(--green-soft);
  font-size: 12px;
  font-weight: 800;
}

.tag.gold {
  color: var(--gold);
  background: var(--gold-soft);
}

.tag.coral {
  color: var(--coral);
  background: var(--coral-soft);
}

.tag.blue {
  color: var(--blue);
  background: var(--blue-soft);
}

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

button,
.button {
  min-height: 40px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border: 1px solid var(--green);
  border-radius: 6px;
  padding: 0 14px;
  color: #fff;
  background: var(--green);
  font: inherit;
  font-weight: 800;
  text-decoration: none;
  cursor: pointer;
}

.secondary {
  border-color: var(--line);
  color: var(--ink);
  background: #fff;
}

.grid {
  display: grid;
  gap: 12px;
}

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

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

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

.card,
.step,
.metric {
  min-width: 0;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: #fff;
  padding: 14px;
  display: grid;
  gap: 6px;
}

.card span,
.step span,
.metric span,
.fine,
label span {
  color: var(--muted);
  font-size: 13px;
  line-height: 1.55;
}

.metric strong {
  font-size: 26px;
}

form {
  display: grid;
  gap: 10px;
}

label {
  display: grid;
  gap: 5px;
  font-weight: 800;
  font-size: 13px;
}

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

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

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

.wide {
  grid-column: 1 / -1;
}

.consent {
  display: flex;
  gap: 8px;
  align-items: flex-start;
  padding: 10px;
  border: 1px solid var(--line);
  border-radius: 6px;
  background: #fbfcfb;
  color: var(--muted);
  font-size: 13px;
  line-height: 1.45;
  font-weight: 500;
}

.consent input {
  width: auto;
  min-height: auto;
  margin-top: 3px;
}

.notice {
  border-left: 4px solid var(--gold);
  border-radius: 6px;
  padding: 12px;
  background: var(--gold-soft);
  color: #5f4314;
  font-size: 13px;
  line-height: 1.55;
}

details {
  border: 1px solid var(--line);
  border-radius: 8px;
  background: #fff;
  padding: 14px;
}

details summary {
  cursor: pointer;
  font-weight: 850;
}

details p {
  margin-top: 8px;
  color: var(--muted);
  font-size: 13px;
  line-height: 1.55;
}

footer {
  margin-top: 18px;
  display: flex;
  justify-content: space-between;
  gap: 12px;
  flex-wrap: wrap;
  color: var(--muted);
  font-size: 13px;
}

footer a {
  color: var(--green);
}

@media (max-width: 900px) {
  .hero,
  .two-col,
  .grid.cols-2,
  .grid.cols-3,
  .grid.cols-4,
  .form-grid {
    grid-template-columns: 1fr;
  }

  .sticky-panel {
    position: static;
  }
}

@media (max-width: 620px) {
  main {
    width: min(100% - 28px, 1180px);
  }

  .topbar {
    align-items: flex-start;
    flex-direction: column;
  }

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

  h1 {
    font-size: 40px;
  }

  .actions button,
  .actions .button,
  form button {
    width: 100%;
  }
}
