:root {
  --bg: #f8f1e6;
  --surface: rgba(255, 255, 255, 0.78);
  --surface-strong: #fffdf8;
  --ink: #2f2a24;
  --muted: #776d62;
  --line: rgba(64, 55, 47, 0.12);
  --clay: #9b6238;
  --sage: #71876d;
  --shadow: rgba(61, 48, 36, 0.1);
  --max: 1120px;
}

* {
  box-sizing: border-box;
}

html {
  min-height: 100%;
  scroll-behavior: smooth;
  background: var(--bg);
}

body {
  min-height: 100vh;
  margin: 0;
  color: var(--ink);
  font-family:
    Inter,
    ui-sans-serif,
    system-ui,
    -apple-system,
    BlinkMacSystemFont,
    "Segoe UI",
    sans-serif;
  background:
    radial-gradient(circle at 14% 0%, rgba(255, 255, 255, 0.92), transparent 280px),
    radial-gradient(circle at 88% 2%, rgba(213, 226, 208, 0.74), transparent 340px),
    linear-gradient(180deg, #fbf6ee 0%, #f6efe4 100%);
}

a {
  color: inherit;
}

.site-header {
  border-bottom: 1px solid var(--line);
  background: rgba(248, 241, 230, 0.88);
  backdrop-filter: blur(18px);
}

.nav-shell,
.page-shell,
.footer-shell {
  width: min(var(--max), calc(100% - 48px));
  margin: 0 auto;
}

.nav-shell {
  min-height: 74px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
}

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

.brand-logo {
  width: 30px;
  height: 30px;
  display: block;
  object-fit: contain;
}

.brand-wordmark {
  width: 136px;
  height: 34px;
  display: block;
  object-fit: contain;
  object-position: left center;
  clip-path: inset(0 20% 0 20%);
  margin-left: -26px;
}

.nav-links {
  display: flex;
  align-items: center;
  gap: 8px;
  color: var(--muted);
  font-size: 15px;
  font-weight: 720;
}

.nav-links a {
  min-height: 40px;
  display: inline-flex;
  align-items: center;
  padding: 0 12px;
  border-radius: 999px;
  text-decoration: none;
}

.nav-links a:hover,
.nav-links a:focus-visible {
  background: rgba(255, 255, 255, 0.72);
  color: var(--ink);
  outline: none;
}

.nav-cta,
.primary-cta {
  background: var(--ink);
  color: #fff !important;
}

.hero {
  padding: 86px 0 54px;
}

.kicker {
  margin: 0 0 14px;
  color: var(--sage);
  font-size: 13px;
  font-weight: 850;
  text-transform: uppercase;
}

h1,
h2,
h3,
p {
  letter-spacing: 0;
}

h1 {
  max-width: 820px;
  margin: 0;
  font-size: clamp(44px, 6vw, 76px);
  line-height: 1.04;
}

h2 {
  margin: 0;
  font-size: clamp(30px, 4vw, 46px);
  line-height: 1.12;
}

h3 {
  margin: 0;
  font-size: 22px;
  line-height: 1.25;
}

.lead {
  max-width: 760px;
  margin: 22px 0 0;
  color: var(--muted);
  font-size: 19px;
  line-height: 1.72;
}

.actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 30px;
}

.primary-cta,
.secondary-cta {
  min-height: 52px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0 22px;
  border-radius: 999px;
  font-weight: 850;
  text-decoration: none;
}

.secondary-cta {
  border: 1px solid var(--line);
  background: rgba(255, 255, 255, 0.62);
}

.section {
  padding: 58px 0;
}

.section.alt {
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
  background: rgba(255, 255, 255, 0.32);
}

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

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

.card,
.panel {
  border: 1px solid var(--line);
  border-radius: 26px;
  background: var(--surface);
  box-shadow: 0 22px 58px var(--shadow);
}

.card {
  padding: 26px;
}

.panel {
  padding: 34px;
}

.card p,
.panel p,
.card li,
.panel li {
  color: var(--muted);
  line-height: 1.72;
}

.card p,
.panel p {
  margin: 14px 0 0;
}

.clean-list {
  display: grid;
  gap: 10px;
  margin: 20px 0 0;
  padding: 0;
  list-style: none;
}

.clean-list li {
  display: flex;
  gap: 10px;
}

.clean-list li::before {
  content: "";
  width: 8px;
  height: 8px;
  flex: 0 0 auto;
  margin-top: 9px;
  border-radius: 999px;
  background: var(--sage);
}

.form-grid {
  display: grid;
  gap: 14px;
  margin-top: 24px;
}

label {
  display: grid;
  gap: 8px;
  color: var(--muted);
  font-weight: 760;
}

input,
textarea,
select {
  width: 100%;
  min-height: 48px;
  border: 1px solid var(--line);
  border-radius: 16px;
  padding: 12px 14px;
  background: rgba(255, 255, 255, 0.82);
  color: var(--ink);
  font: inherit;
}

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

.site-footer {
  padding: 50px 0 62px;
  border-top: 1px solid var(--line);
  background: rgba(255, 255, 255, 0.5);
}

.footer-shell {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  color: var(--muted);
  font-size: 14px;
}

@media (max-width: 860px) {
  .nav-shell,
  .page-shell,
  .footer-shell {
    width: calc(100vw - 36px);
  }

  .nav-shell,
  .footer-shell {
    align-items: flex-start;
    flex-direction: column;
  }

  .nav-links {
    max-width: 100%;
    flex-wrap: wrap;
  }

  .grid,
  .two-grid {
    grid-template-columns: 1fr;
  }

  .hero {
    padding-top: 54px;
  }
}
