:root {
  color-scheme: light;
  --ink: #15201b;
  --muted: #5d6862;
  --paper: #f7f4ed;
  --panel: #ffffff;
  --line: #d9ded8;
  --green: #1f7a4d;
  --green-dark: #0f5132;
  --blue: #245d7a;
  --amber: #c9822b;
  --shadow: 0 18px 60px rgba(21, 32, 27, 0.14);
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  background: var(--paper);
  color: var(--ink);
  font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  line-height: 1.5;
}

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

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

.site-header {
  position: sticky;
  top: 0;
  z-index: 10;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  min-height: 72px;
  padding: 0 32px;
  background: rgba(247, 244, 237, 0.92);
  border-bottom: 1px solid rgba(21, 32, 27, 0.1);
  backdrop-filter: blur(14px);
}

.brand,
.nav-links,
.hero-actions,
.contact-actions,
.button {
  display: flex;
  align-items: center;
}

.brand {
  gap: 10px;
  font-weight: 760;
}

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

.nav-links {
  gap: 26px;
  color: var(--muted);
  font-size: 0.96rem;
}

.nav-links a:hover {
  color: var(--ink);
}

.header-action {
  padding: 10px 14px;
  color: var(--green-dark);
  border: 1px solid rgba(31, 122, 77, 0.28);
  border-radius: 8px;
  font-weight: 700;
}

.hero {
  position: relative;
  min-height: calc(100vh - 72px);
  display: flex;
  align-items: center;
  isolation: isolate;
  overflow: hidden;
  padding: 86px 32px 96px;
}

.hero::after {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  height: 92px;
  background: linear-gradient(180deg, rgba(247, 244, 237, 0), var(--paper));
  z-index: -1;
}

.hero-backdrop {
  position: absolute;
  inset: 0;
  z-index: -2;
  background:
    linear-gradient(90deg, rgba(247, 244, 237, 0.96) 0%, rgba(247, 244, 237, 0.86) 42%, rgba(247, 244, 237, 0.5) 100%),
    url("/assets/site-upgrade-preview.svg") right center / min(960px, 70vw) auto no-repeat,
    #edf2ee;
}

.hero-content {
  width: min(760px, 100%);
  margin: 0 auto 0 max(0px, calc((100vw - 1180px) / 2));
}

.eyebrow {
  margin: 0 0 14px;
  color: var(--green-dark);
  font-size: 0.78rem;
  font-weight: 800;
  letter-spacing: 0;
  text-transform: uppercase;
}

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

h1 {
  max-width: 720px;
  margin-bottom: 20px;
  font-size: clamp(3rem, 9vw, 6.6rem);
  line-height: 0.94;
  letter-spacing: 0;
}

h2 {
  margin-bottom: 18px;
  font-size: clamp(2rem, 4vw, 3.6rem);
  line-height: 1.02;
  letter-spacing: 0;
}

h3 {
  margin-bottom: 10px;
  font-size: 1.1rem;
}

.hero-copy {
  max-width: 630px;
  margin-bottom: 30px;
  color: #33423a;
  font-size: clamp(1.1rem, 2vw, 1.34rem);
}

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

.button {
  gap: 10px;
  min-height: 46px;
  padding: 12px 17px;
  border: 1px solid transparent;
  border-radius: 8px;
  font-weight: 800;
  cursor: pointer;
}

.button span {
  font-family: ui-monospace, SFMono-Regular, Menlo, Consolas, monospace;
}

.button.primary {
  color: #fff;
  background: var(--green-dark);
}

.button.primary:hover {
  background: #0a3d26;
}

.button.secondary {
  color: var(--ink);
  background: rgba(255, 255, 255, 0.76);
  border-color: var(--line);
}

.button.secondary:hover {
  background: #fff;
}

.quick-stats {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 14px;
  max-width: 820px;
  margin: 44px 0 0;
}

.quick-stats div {
  padding: 14px;
  background: rgba(255, 255, 255, 0.72);
  border: 1px solid rgba(217, 222, 216, 0.85);
  border-radius: 8px;
}

.quick-stats dt {
  margin-bottom: 4px;
  font-weight: 800;
}

.quick-stats dd {
  margin: 0;
  color: var(--muted);
  font-size: 0.94rem;
}

.section {
  padding: 86px 32px;
}

.band {
  background: #fff;
  border-block: 1px solid var(--line);
}

.section-inner {
  width: min(1180px, 100%);
  margin: 0 auto;
}

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

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

.process-grid article {
  min-height: 220px;
  padding: 24px;
  background: var(--panel);
  border: 1px solid var(--line);
  border-radius: 8px;
  box-shadow: 0 8px 30px rgba(21, 32, 27, 0.06);
}

.step {
  display: block;
  margin-bottom: 34px;
  color: var(--amber);
  font-family: ui-monospace, SFMono-Regular, Menlo, Consolas, monospace;
  font-weight: 800;
}

.process-grid p,
.section-copy {
  color: var(--muted);
}

.two-column,
.proof-layout,
.contact-layout {
  display: grid;
  grid-template-columns: minmax(0, 0.9fr) minmax(320px, 1.1fr);
  gap: 56px;
  align-items: start;
}

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

.fix-list div {
  display: flex;
  gap: 12px;
  align-items: center;
  min-height: 54px;
  padding: 14px 16px;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 8px;
  font-weight: 700;
}

.fix-list span {
  color: var(--blue);
  font-weight: 900;
}

.proof-band {
  background: #e6efe9;
  border-block: 1px solid #cbd9cf;
}

.proof-panel {
  overflow: hidden;
  background: #fff;
  border: 1px solid #c7d5cb;
  border-radius: 8px;
  box-shadow: var(--shadow);
}

.contact-form {
  display: grid;
  gap: 16px;
  padding: 24px;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 8px;
  box-shadow: var(--shadow);
}

label {
  display: grid;
  gap: 7px;
  font-size: 0.92rem;
  font-weight: 760;
}

input,
textarea {
  width: 100%;
  padding: 13px 14px;
  color: var(--ink);
  background: #fbfbf8;
  border: 1px solid #cfd7d1;
  border-radius: 8px;
  font: inherit;
}

textarea {
  resize: vertical;
}

input:focus,
textarea:focus {
  outline: 3px solid rgba(31, 122, 77, 0.2);
  border-color: var(--green);
}

.hidden-field {
  position: absolute;
  left: -9999px;
}

.form-submit {
  justify-content: center;
  width: 100%;
}

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

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

.form-status[data-state="success"] {
  color: var(--green-dark);
}

.form-status[data-state="error"] {
  color: #9c2f24;
}

.site-footer {
  display: flex;
  justify-content: space-between;
  gap: 20px;
  padding: 28px 32px;
  color: #ecf4ef;
  background: var(--ink);
}

@media (max-width: 820px) {
  .site-header {
    padding: 0 18px;
  }

  .nav-links {
    display: none;
  }

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

  .hero-backdrop {
    background:
      linear-gradient(180deg, rgba(247, 244, 237, 0.9), rgba(247, 244, 237, 0.98)),
      url("/assets/site-upgrade-preview.svg") center bottom / 820px auto no-repeat,
      #edf2ee;
  }

  .hero-content {
    margin: 0;
  }

  .quick-stats,
  .process-grid,
  .two-column,
  .proof-layout,
  .contact-layout {
    grid-template-columns: 1fr;
  }

  .quick-stats {
    margin-top: 34px;
  }

  .section {
    padding: 68px 20px;
  }

  .site-footer {
    flex-direction: column;
    padding: 24px 20px;
  }
}
