:root {
  --bg: #f7f5ef;
  --surface: #fffdfa;
  --ink: #1e2522;
  --muted: #68736c;
  --line: #ddd8cc;
  --green: #2f5f4a;
  --green-dark: #1d3d31;
  --sage: #dce7dd;
  --accent: #b68a4a;
  --shadow: 0 18px 44px rgba(40, 44, 39, 0.10);
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

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

a {
  color: inherit;
}

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

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

.site-header {
  position: sticky;
  top: 0;
  z-index: 20;
  background: rgba(255, 253, 250, 0.94);
  border-bottom: 1px solid var(--line);
  backdrop-filter: blur(18px);
}

.header-inner {
  min-height: 82px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 28px;
}

.brand {
  text-decoration: none;
  display: inline-flex;
  align-items: center;
  gap: 12px;
}

.wordmark {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-weight: 800;
  letter-spacing: 0.08em;
  font-size: 1.05rem;
}

.wordmark-mark {
  width: 34px;
  height: 34px;
  border: 2px solid var(--green);
  border-radius: 7px;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  grid-template-rows: repeat(3, 1fr);
  gap: 2px;
  padding: 5px;
  background: var(--surface);
}

.wordmark-mark span {
  background: var(--sage);
  border-radius: 2px;
}

.wordmark-mark span:nth-child(3),
.wordmark-mark span:nth-child(5),
.wordmark-mark span:nth-child(8) {
  background: var(--accent);
}

.nav-toggle {
  display: none;
  width: 42px;
  height: 42px;
  border: 1px solid var(--line);
  background: var(--surface);
  border-radius: 6px;
}

.nav-toggle span {
  display: block;
  height: 2px;
  margin: 6px 8px;
  background: var(--ink);
}

.site-nav {
  display: flex;
  align-items: center;
  gap: 24px;
  font-size: 0.95rem;
  color: var(--muted);
}

.site-nav a {
  text-decoration: none;
}

.site-nav a:hover {
  color: var(--green-dark);
}

.header-cta,
.button {
  border: 0;
  border-radius: 7px;
  padding: 13px 18px;
  background: var(--green);
  color: #fff;
  text-decoration: none;
  font-weight: 750;
  display: inline-flex;
  justify-content: center;
  align-items: center;
  cursor: pointer;
}

.button.secondary {
  background: transparent;
  color: var(--green-dark);
  border: 1px solid var(--green);
}

.hero {
  padding: 92px 0 70px;
  overflow: hidden;
}

.hero-grid,
.split,
.two-col {
  display: grid;
  grid-template-columns: minmax(0, 1.1fr) minmax(320px, 0.9fr);
  gap: 58px;
  align-items: center;
}

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

h1,
h2,
h3 {
  margin: 0;
  line-height: 1.08;
}

h1 {
  font-size: clamp(2.35rem, 6vw, 5rem);
  max-width: 900px;
}

h2 {
  font-size: clamp(1.8rem, 3.2vw, 3rem);
}

h3 {
  font-size: 1.18rem;
}

p {
  margin: 0;
}

.hero-copy {
  margin-top: 24px;
  color: #47504a;
  font-size: clamp(1.05rem, 1.7vw, 1.25rem);
  max-width: 720px;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
  margin-top: 34px;
}

.signal-line {
  margin-top: 28px;
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}

.signal-line span {
  border: 1px solid var(--line);
  background: rgba(255, 253, 250, 0.72);
  border-radius: 999px;
  padding: 8px 12px;
  color: #4e574f;
  font-weight: 650;
  font-size: 0.92rem;
}

.ledger-visual {
  min-height: 430px;
  border: 1px solid var(--line);
  border-radius: 10px;
  background:
    linear-gradient(90deg, rgba(47, 95, 74, 0.12) 1px, transparent 1px),
    linear-gradient(rgba(47, 95, 74, 0.10) 1px, transparent 1px),
    linear-gradient(145deg, #fffdfa, #edf2ea);
  background-size: 72px 72px, 72px 72px, auto;
  box-shadow: var(--shadow);
  position: relative;
  overflow: hidden;
}

.ledger-visual::before,
.ledger-visual::after {
  content: "";
  position: absolute;
  inset: auto 34px 44px 34px;
  height: 13px;
  border-radius: 99px;
  background: linear-gradient(90deg, var(--green), var(--accent));
}

.ledger-visual::after {
  inset: 72px 52px auto 52px;
  height: 250px;
  border: 1px solid rgba(47, 95, 74, 0.22);
  background:
    linear-gradient(#fffdfa, #fffdfa) padding-box,
    linear-gradient(135deg, rgba(47, 95, 74, .6), rgba(182, 138, 74, .5)) border-box;
  border-radius: 8px;
}

.section {
  padding: 82px 0;
}

.section.alt {
  background: var(--surface);
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
}

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

.section-heading p:not(.section-kicker) {
  margin-top: 16px;
  color: var(--muted);
  font-size: 1.08rem;
}

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

.card,
.step,
.note-box,
.contact-panel {
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: 8px;
  padding: 24px;
  box-shadow: 0 10px 28px rgba(40, 44, 39, 0.05);
}

.legal-box {
  max-width: 860px;
  padding: 16px 18px;
}

.legal-box h2 {
  font-size: 1.35rem;
}

.legal-box p {
  font-size: 0.94rem;
}

.card p,
.step p,
.note-box p,
.contact-panel p,
.split p,
.two-col p {
  color: var(--muted);
}

.card ul,
.text-list {
  padding-left: 19px;
  margin: 16px 0 0;
  color: #4d574f;
}

.card li,
.text-list li {
  margin: 8px 0;
}

.card-number,
.step-number {
  display: inline-flex;
  width: 34px;
  height: 34px;
  border-radius: 6px;
  background: var(--sage);
  color: var(--green-dark);
  font-weight: 850;
  align-items: center;
  justify-content: center;
  margin-bottom: 18px;
}

.text-link {
  display: inline-flex;
  margin-top: 18px;
  color: var(--green-dark);
  font-weight: 800;
  text-decoration: none;
}

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

.problem-grid li {
  padding: 13px 0;
  border-bottom: 1px solid var(--line);
}

.steps {
  counter-reset: step;
}

.step {
  position: relative;
}

.page-hero {
  padding: 74px 0 42px;
  background: var(--surface);
  border-bottom: 1px solid var(--line);
}

.page-hero h1 {
  font-size: clamp(2.1rem, 4.5vw, 4.2rem);
}

.page-hero p {
  margin-top: 20px;
  max-width: 760px;
  color: var(--muted);
  font-size: 1.15rem;
}

.form {
  display: grid;
  gap: 15px;
}

.form-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 15px;
}

label {
  display: grid;
  gap: 7px;
  font-weight: 700;
}

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

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

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

.legal-note {
  margin-top: 18px;
  color: var(--muted);
  font-size: 0.92rem;
}

.site-footer {
  padding: 42px 0;
  color: #dfe8e1;
  background: var(--green-dark);
}

.footer-grid {
  display: grid;
  grid-template-columns: 1.2fr 1fr 1fr;
  gap: 26px;
}

.site-footer a {
  color: inherit;
  text-decoration: none;
}

.footer-links {
  display: grid;
  gap: 8px;
}

.muted {
  color: var(--muted);
}

@media (max-width: 880px) {
  .nav-toggle {
    display: block;
  }

  .site-nav,
  .header-cta {
    display: none;
  }

  .site-nav.is-open {
    display: grid;
    position: absolute;
    left: 20px;
    right: 20px;
    top: 74px;
    padding: 18px;
    background: var(--surface);
    border: 1px solid var(--line);
    border-radius: 8px;
    box-shadow: var(--shadow);
  }

  .hero-grid,
  .split,
  .two-col,
  .footer-grid {
    grid-template-columns: 1fr;
  }

  .hero {
    padding-top: 58px;
  }

  .ledger-visual {
    min-height: 260px;
  }

  .card-grid,
  .problem-grid,
  .steps,
  .form-row {
    grid-template-columns: 1fr;
  }

  .section {
    padding: 58px 0;
  }
}

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

  .header-inner {
    min-height: 72px;
  }

  .wordmark {
    font-size: 0.95rem;
  }

  h1 {
    font-size: 2.25rem;
  }

  .button {
    width: 100%;
  }
}
