:root {
  --ink: #17231f;
  --muted: #52635d;
  --evergreen: #116149;
  --evergreen-dark: #0a4434;
  --signal: #b73a2f;
  --line: #ccd8d2;
  --surface: #ffffff;
  --soft: #f3f7f4;
  --warm: #f5f1e8;
  --focus-light: #0a4434;
  --focus-dark: #f2c94c;
  --shadow: 0 16px 40px rgba(10, 50, 39, 0.12);
}

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

html {
  scroll-behavior: smooth;
  overflow-x: hidden;
}

body {
  min-width: 320px;
  margin: 0;
  overflow-x: hidden;
  color: var(--ink);
  background: var(--surface);
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", "Microsoft YaHei", Arial, sans-serif;
  font-size: 16px;
  line-height: 1.75;
  letter-spacing: 0;
}

button,
input,
textarea {
  font: inherit;
  letter-spacing: 0;
}

a {
  color: inherit;
}

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

.container {
  width: min(1120px, calc(100% - 40px));
  margin-inline: auto;
}

.site-header {
  position: relative;
  z-index: 10;
  border-bottom: 1px solid rgba(255, 255, 255, 0.22);
  color: #ffffff;
  background: var(--evergreen-dark);
}

.site-header__inner {
  display: flex;
  min-height: 64px;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
}

.brand {
  font-size: 18px;
  font-weight: 750;
  text-decoration: none;
}

.back-link {
  min-height: 44px;
  display: inline-flex;
  align-items: center;
  font-weight: 650;
  text-decoration-thickness: 1px;
  text-underline-offset: 4px;
}

.hero {
  position: relative;
  min-height: 470px;
  display: grid;
  align-items: end;
  isolation: isolate;
  overflow: hidden;
  color: #ffffff;
  background: var(--evergreen-dark);
}

.hero__image,
.hero__veil {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
}

.hero__image {
  z-index: -2;
  object-fit: cover;
  object-position: center;
}

.hero__image--portrait {
  object-position: center 58%;
}

.hero__veil {
  z-index: -1;
  background: linear-gradient(90deg, rgba(5, 36, 28, 0.94) 0%, rgba(5, 36, 28, 0.75) 55%, rgba(5, 36, 28, 0.28) 100%);
}

.hero__content {
  max-width: 960px;
  padding-block: 72px 64px;
}

.eyebrow {
  margin: 0 0 12px;
  color: #dbe9df;
  font-size: 14px;
  font-weight: 750;
}

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

h1 {
  max-width: 22em;
  margin: 0;
  font-size: 44px;
  line-height: 1.25;
  letter-spacing: 0;
}

.hero__summary {
  max-width: 720px;
  margin: 20px 0 0;
  color: #eef5f0;
  font-size: 18px;
}

.hero__actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 28px;
}

.button {
  min-height: 46px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border: 1px solid transparent;
  border-radius: 4px;
  padding: 10px 18px;
  font-weight: 750;
  text-decoration: none;
  cursor: pointer;
}

.button--primary {
  color: #ffffff;
  background: var(--signal);
}

.button--secondary {
  border-color: rgba(255, 255, 255, 0.72);
  color: #ffffff;
  background: rgba(5, 36, 28, 0.42);
}

.button:hover {
  filter: brightness(0.92);
}

.button:focus-visible,
a:focus-visible,
input:focus-visible,
textarea:focus-visible {
  outline: 3px solid var(--focus-light);
  outline-offset: 3px;
}

.site-header a:focus-visible,
.hero a:focus-visible,
.hero button:focus-visible {
  outline: 3px solid var(--focus-dark);
  outline-offset: 3px;
}

.image-credit {
  max-width: 760px;
  margin: 22px 0 0;
  color: #eef5f0;
  font-size: 13px;
}

.image-credit a {
  font-weight: 700;
  text-underline-offset: 3px;
}

.section {
  padding: 72px 0;
}

.section--soft {
  border-block: 1px solid var(--line);
  background: var(--soft);
}

.section--warm {
  background: var(--warm);
}

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

.section-heading h2,
.form-intro h2 {
  margin: 0;
  font-size: 30px;
  line-height: 1.35;
}

.section-heading p,
.form-intro > p {
  margin: 14px 0 0;
  color: var(--muted);
}

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

.content-item {
  min-width: 0;
  border-top: 3px solid var(--evergreen);
  padding-top: 18px;
}

.content-item h3 {
  margin: 0;
  font-size: 19px;
  line-height: 1.4;
}

.content-item p {
  margin: 10px 0 0;
  color: var(--muted);
}

.preparation-layout,
.boundary-layout,
.form-layout {
  display: grid;
  grid-template-columns: minmax(0, 0.78fr) minmax(0, 1.22fr);
  gap: 64px;
  align-items: start;
}

.plain-list,
.process-list {
  margin: 0;
  padding: 0;
  list-style: none;
}

.plain-list {
  display: grid;
  gap: 12px;
}

.plain-list li {
  border-bottom: 1px solid var(--line);
  padding: 0 0 12px 28px;
  background: linear-gradient(var(--evergreen), var(--evergreen)) 4px 12px / 9px 2px no-repeat;
}

.process-list {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 24px;
  counter-reset: process;
}

.process-list li {
  min-width: 0;
  counter-increment: process;
}

.process-list li::before {
  content: "0" counter(process);
  display: block;
  margin-bottom: 10px;
  color: var(--evergreen);
  font-size: 14px;
  font-weight: 800;
}

.boundary-note {
  border-left: 4px solid var(--signal);
  padding-left: 20px;
}

.boundary-note p {
  margin: 0;
}

.official-links {
  display: grid;
  gap: 12px;
}

.official-links a {
  min-height: 44px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  border-bottom: 1px solid var(--line);
  font-weight: 700;
  text-decoration-thickness: 1px;
  text-underline-offset: 4px;
}

.source-date {
  margin: 14px 0 0;
  color: var(--muted);
  font-size: 14px;
}

.form-section {
  border-top: 1px solid var(--line);
  background: #eef4f0;
}

.service-fixed {
  display: inline-flex;
  min-height: 36px;
  align-items: center;
  margin-top: 20px;
  border-left: 3px solid var(--evergreen);
  padding-left: 12px;
  font-weight: 750;
}

.privacy-note {
  margin-top: 24px;
  color: var(--muted);
  font-size: 15px;
}

.lead-form {
  min-width: 0;
  border-radius: 6px;
  padding: 28px;
  background: var(--surface);
  box-shadow: var(--shadow);
}

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

.form-field {
  min-width: 0;
  margin-bottom: 18px;
}

.form-field label {
  display: block;
  margin-bottom: 7px;
  font-weight: 700;
}

.form-field input,
.form-field textarea {
  width: 100%;
  display: block;
  border: 1px solid #82958c;
  border-radius: 4px;
  padding: 10px 12px;
  color: var(--ink);
  background: var(--surface);
}

.form-field input {
  min-height: 46px;
}

.form-field textarea {
  min-height: 126px;
  resize: vertical;
}

.honeypot {
  position: absolute;
  width: 1px;
  height: 1px;
  overflow: hidden;
  clip: rect(0 0 0 0);
  clip-path: inset(50%);
  white-space: nowrap;
}

.consent {
  display: grid;
  grid-template-columns: 20px minmax(0, 1fr);
  gap: 10px;
  align-items: start;
  cursor: pointer;
}

.consent input {
  width: 18px;
  height: 18px;
  margin: 4px 0 0;
  accent-color: var(--evergreen);
}

.form-actions {
  display: grid;
  grid-template-columns: auto minmax(0, 1fr);
  gap: 18px;
  align-items: center;
  margin-top: 22px;
}

.submit-button {
  min-width: 148px;
  border: 0;
}

.submit-button:disabled {
  cursor: wait;
  opacity: 0.7;
}

.form-status {
  min-height: 26px;
  margin: 0;
  color: var(--muted);
}

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

.site-footer__inner {
  display: flex;
  justify-content: space-between;
  gap: 24px;
}

.site-footer p {
  margin: 0;
}

@media (max-width: 900px) {
  .content-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .preparation-layout,
  .boundary-layout,
  .form-layout {
    grid-template-columns: 1fr;
    gap: 36px;
  }

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

@media (max-width: 760px) {
  .container {
    width: min(100% - 28px, 1120px);
  }

  .site-header__inner,
  .site-footer__inner {
    align-items: flex-start;
    flex-direction: column;
    gap: 4px;
    padding-block: 10px;
  }

  .hero {
    min-height: 520px;
  }

  .hero__veil {
    background: linear-gradient(0deg, rgba(5, 36, 28, 0.96) 0%, rgba(5, 36, 28, 0.78) 72%, rgba(5, 36, 28, 0.4) 100%);
  }

  .hero__content {
    padding-block: 54px 48px;
  }

  h1 {
    font-size: 34px;
  }

  .hero__summary {
    font-size: 16px;
  }

  .hero__actions,
  .content-grid,
  .process-list,
  .form-grid,
  .form-actions {
    grid-template-columns: 1fr;
  }

  .hero__actions {
    display: grid;
  }

  .content-grid,
  .process-list {
    gap: 24px;
  }

  .section {
    padding: 56px 0;
  }

  .section-heading h2,
  .form-intro h2 {
    font-size: 26px;
  }

  .lead-form {
    padding: 22px 18px;
  }

  .submit-button {
    width: 100%;
  }
}

@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }
}
