@import url("https://fonts.googleapis.com/css2?family=Fraunces:opsz,wght@9..144,600;9..144,700&family=Space+Grotesk:wght@400;500;700&display=swap");

:root {
  --paper: #e5f1e1;
  --paper-strong: #d0e3ca;
  --surface: linear-gradient(180deg, rgba(246, 252, 244, 0.94), rgba(226, 239, 223, 0.92));
  --surface-strong: linear-gradient(180deg, rgba(253, 255, 252, 0.98), rgba(236, 246, 233, 0.96));
  --ink: #183126;
  --muted: #58675d;
  --line: rgba(34, 76, 55, 0.14);
  --accent: #2f7a57;
  --accent-deep: #184c39;
  --sage: #678b72;
  --sage-soft: rgba(88, 123, 94, 0.12);
  --sun: #b5cf98;
  --warning: #9a5d43;
  --warning-soft: rgba(154, 93, 67, 0.12);
  --shadow: 0 22px 60px rgba(18, 49, 37, 0.12);
}

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

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  color: var(--ink);
  font-family: "Space Grotesk", "Segoe UI", sans-serif;
  line-height: 1.6;
  background:
    radial-gradient(circle at top left, rgba(181, 207, 152, 0.36), transparent 30%),
    radial-gradient(circle at top right, rgba(47, 122, 87, 0.22), transparent 28%),
    linear-gradient(180deg, #f0f8ed 0%, #e4f0e0 46%, #eef7eb 100%);
}

body::before {
  content: "";
  position: fixed;
  inset: 0;
  z-index: -2;
  pointer-events: none;
  opacity: 0.48;
  background-image:
    linear-gradient(rgba(255, 255, 255, 0.32) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255, 255, 255, 0.32) 1px, transparent 1px);
  background-size: 28px 28px;
  mask-image: linear-gradient(180deg, rgba(0, 0, 0, 0.75), transparent 85%);
}

body::after {
  content: "";
  position: fixed;
  inset: 0;
  z-index: -3;
  pointer-events: none;
  background:
    radial-gradient(circle at 14% 18%, rgba(125, 161, 118, 0.2), transparent 26%),
    radial-gradient(circle at 86% 16%, rgba(35, 88, 70, 0.16), transparent 24%),
    radial-gradient(circle at 80% 78%, rgba(219, 236, 213, 0.5), transparent 24%);
}

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

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

button,
input,
select,
textarea {
  font: inherit;
}

main {
  position: relative;
}

.shell {
  width: min(1120px, calc(100% - 2rem));
  margin: 0 auto;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 40;
  border-bottom: 1px solid rgba(34, 76, 55, 0.1);
  background: rgba(231, 244, 228, 0.84);
  backdrop-filter: blur(18px);
}

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

.brand {
  display: inline-flex;
  align-items: center;
  gap: 0.8rem;
  font-weight: 700;
  letter-spacing: 0.04em;
}

.brand-mark {
  display: grid;
  place-items: center;
  width: 2.6rem;
  height: 2.6rem;
  border-radius: 0.95rem;
  background: linear-gradient(135deg, var(--accent-deep), var(--accent), var(--sun));
  color: #f8fbf7;
  box-shadow: 0 14px 28px rgba(47, 122, 87, 0.24);
}

.site-nav {
  display: flex;
  align-items: center;
  gap: 1.1rem;
}

.nav-link {
  position: relative;
  padding: 0.5rem 0;
  color: var(--muted);
  transition: color 0.25s ease;
}

.nav-link:hover,
.nav-link[aria-current="page"] {
  color: var(--ink);
}

.nav-link[aria-current="page"]::after {
  content: "";
  position: absolute;
  right: 0;
  bottom: -0.45rem;
  left: 0;
  height: 2px;
  border-radius: 999px;
  background: linear-gradient(90deg, var(--accent-deep), var(--sun));
}

.nav-toggle {
  display: none;
  border: 1px solid var(--line);
  border-radius: 999px;
  background: rgba(248, 252, 247, 0.92);
  padding: 0.7rem 1rem;
  color: var(--ink);
}

.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.55rem;
  min-height: 3rem;
  padding: 0.95rem 1.35rem;
  border: none;
  border-radius: 999px;
  background: linear-gradient(135deg, var(--accent), var(--accent-deep));
  color: #f7fbf6;
  font-weight: 700;
  letter-spacing: 0.01em;
  cursor: pointer;
  box-shadow: 0 16px 34px rgba(24, 76, 57, 0.22);
  transition:
    transform 0.22s ease,
    box-shadow 0.22s ease,
    opacity 0.22s ease;
}

.button:hover {
  transform: translateY(-1px);
  box-shadow: 0 18px 34px rgba(24, 76, 57, 0.28);
}

.button:disabled {
  opacity: 0.7;
  cursor: wait;
  transform: none;
}

.button-secondary {
  background: transparent;
  color: var(--ink);
  border: 1px solid rgba(34, 76, 55, 0.16);
  box-shadow: none;
}

.button-secondary:hover {
  box-shadow: none;
  background: rgba(232, 242, 232, 0.72);
}

.button-small {
  min-height: 2.7rem;
  padding: 0.75rem 1rem;
}

.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 0.55rem;
  padding: 0.5rem 0.85rem;
  border-radius: 999px;
  background: rgba(248, 252, 247, 0.88);
  border: 1px solid rgba(34, 76, 55, 0.12);
  color: var(--accent-deep);
  font-size: 0.9rem;
  font-weight: 700;
}

.eyebrow::before {
  content: "";
  width: 0.55rem;
  height: 0.55rem;
  border-radius: 999px;
  background: linear-gradient(135deg, var(--accent-deep), var(--sun));
}

.hero,
.page-hero {
  padding: clamp(3.5rem, 8vw, 5.8rem) 0 3rem;
}

.hero-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.2fr) minmax(320px, 0.8fr);
  gap: 2rem;
  align-items: center;
}

.hero h1,
.page-hero h1,
.section-title,
.surface h2,
.surface h3,
.metric strong {
  font-family: "Fraunces", Georgia, serif;
  letter-spacing: -0.03em;
}

.hero h1,
.page-hero h1 {
  margin: 0.8rem 0 1rem;
  font-size: clamp(2.7rem, 6vw, 5rem);
  line-height: 0.96;
}

.lead {
  max-width: 43rem;
  font-size: 1.05rem;
  color: var(--muted);
}

.compact {
  max-width: 40rem;
}

.actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.9rem;
  margin-top: 1.6rem;
}

.stats-row,
.tag-row,
.kicker-row {
  display: flex;
  flex-wrap: wrap;
  gap: 0.85rem;
  margin-top: 1.4rem;
}

.stat-pill,
.tag,
.kicker {
  display: inline-flex;
  align-items: center;
  gap: 0.55rem;
  padding: 0.75rem 1rem;
  border-radius: 999px;
  border: 1px solid rgba(34, 76, 55, 0.12);
  background: rgba(248, 252, 247, 0.8);
  color: var(--muted);
  font-size: 0.95rem;
}

.hero-points,
.hero-cards,
.card-grid-2,
.card-grid-3,
.utility-grid,
.steps,
.process-grid,
.info-grid,
.resource-grid {
  display: grid;
  gap: 1.1rem;
}

.hero-points,
.utility-grid,
.resource-grid {
  grid-template-columns: repeat(2, minmax(0, 1fr));
}

.hero-cards,
.card-grid-3,
.steps,
.info-grid {
  grid-template-columns: repeat(3, minmax(0, 1fr));
}

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

.steps {
  grid-template-columns: repeat(4, minmax(0, 1fr));
  counter-reset: stage;
}

.section {
  padding: 0.75rem 0 4rem;
}

.section-header {
  display: flex;
  flex-wrap: wrap;
  align-items: end;
  justify-content: space-between;
  gap: 1.1rem;
  margin-bottom: 1.6rem;
}

.section-title {
  margin: 0;
  font-size: clamp(1.95rem, 4vw, 3.15rem);
  line-height: 1;
}

.section-copy {
  max-width: 42rem;
  color: var(--muted);
}

.surface,
.table-wrap,
.callout,
.cta-banner {
  border: 1px solid var(--line);
  border-radius: 1.6rem;
  background: var(--surface);
  box-shadow: var(--shadow);
}

.surface,
.cta-banner {
  padding: 1.35rem;
}

.catalog-image {
  overflow: hidden;
  margin: 0 0 1rem;
  border-radius: 1.15rem;
  border: 1px solid rgba(34, 76, 55, 0.12);
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.94), rgba(237, 245, 237, 0.92));
}

.catalog-image img {
  display: block;
  width: 100%;
  height: auto;
}

.catalog-image.is-tall img {
  aspect-ratio: 595 / 842;
  object-fit: cover;
}

.surface-strong {
  background: var(--surface-strong);
}

.surface h2,
.surface h3 {
  margin: 0 0 0.65rem;
  font-size: 1.35rem;
  line-height: 1.05;
}

.surface p {
  margin: 0;
  color: var(--muted);
}

.badge {
  display: inline-flex;
  align-items: center;
  gap: 0.45rem;
  margin-bottom: 0.9rem;
  padding: 0.35rem 0.7rem;
  border-radius: 999px;
  background: rgba(88, 123, 94, 0.12);
  color: var(--sage);
  font-size: 0.82rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.08em;
}

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

.list {
  display: grid;
  gap: 0.8rem;
}

.list li {
  display: flex;
  align-items: flex-start;
  gap: 0.8rem;
  color: var(--muted);
}

.list li::before {
  content: "";
  flex: none;
  width: 0.7rem;
  height: 0.7rem;
  margin-top: 0.48rem;
  border-radius: 999px;
  background: linear-gradient(135deg, var(--accent-deep), var(--sun));
}

.link-list {
  display: grid;
  gap: 0.65rem;
}

.link-list a {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  padding: 0.92rem 1rem;
  border-radius: 1rem;
  background: rgba(248, 252, 247, 0.84);
  border: 1px solid rgba(34, 76, 55, 0.11);
  transition:
    transform 0.2s ease,
    border-color 0.2s ease;
}

.link-list a:hover {
  transform: translateX(2px);
  border-color: rgba(47, 122, 87, 0.28);
}

.hero-art {
  overflow: hidden;
  border-radius: 1.8rem;
  background:
    radial-gradient(circle at top right, rgba(181, 207, 152, 0.34), transparent 28%),
    linear-gradient(145deg, rgba(249, 253, 248, 0.96), rgba(225, 237, 223, 0.82));
  border: 1px solid rgba(34, 76, 55, 0.14);
  box-shadow: var(--shadow);
}

.hero-art img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.metric {
  padding: 1.1rem;
  border-radius: 1.3rem;
  background: rgba(248, 252, 247, 0.82);
  border: 1px solid rgba(34, 76, 55, 0.1);
}

.metric strong {
  display: block;
  font-size: 1.95rem;
  line-height: 1;
  margin-bottom: 0.35rem;
}

.metric span {
  display: block;
  color: var(--muted);
  font-size: 0.95rem;
}

.table-wrap {
  overflow-x: auto;
  padding: 0.35rem 1.2rem;
}

table {
  width: 100%;
  border-collapse: collapse;
}

th,
td {
  padding: 1rem 0.55rem;
  text-align: left;
  border-bottom: 1px solid rgba(89, 70, 54, 0.12);
}

th {
  color: var(--muted);
  font-size: 0.82rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.08em;
}

.step {
  position: relative;
  overflow: hidden;
  padding: 1.35rem;
  border-radius: 1.5rem;
  border: 1px solid var(--line);
  background: rgba(248, 252, 247, 0.84);
  box-shadow: var(--shadow);
}

.step::before {
  counter-increment: stage;
  content: counter(stage, decimal-leading-zero);
  position: absolute;
  top: 0.5rem;
  right: 0.9rem;
  color: rgba(47, 122, 87, 0.14);
  font-family: "Fraunces", Georgia, serif;
  font-size: 3.2rem;
  line-height: 1;
}

.step h3 {
  margin: 0 0 0.5rem;
  font-size: 1.2rem;
}

.step p {
  margin: 0;
  color: var(--muted);
}

.callout,
.cta-banner {
  display: grid;
  grid-template-columns: minmax(0, 1.25fr) minmax(280px, 0.75fr);
  gap: 1.25rem;
  align-items: center;
  padding: 1.4rem;
}

.callout {
  background:
    radial-gradient(circle at top right, rgba(181, 207, 152, 0.32), transparent 32%),
    linear-gradient(135deg, rgba(245, 251, 243, 0.96), rgba(223, 236, 220, 0.94));
}

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

.quote-layout {
  display: grid;
  grid-template-columns: minmax(0, 1.1fr) minmax(280px, 0.9fr);
  gap: 1.4rem;
}

.form-card,
.sidebar-card {
  padding: 1.35rem;
  border-radius: 1.6rem;
  border: 1px solid var(--line);
  background: var(--surface);
  box-shadow: var(--shadow);
}

.form-card h2,
.sidebar-card h2 {
  margin: 0 0 0.6rem;
  font-size: 1.6rem;
}

.form-note {
  margin: 0 0 1rem;
  color: var(--muted);
}

form {
  display: grid;
  gap: 0.95rem;
}

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

label {
  display: block;
  font-size: 0.92rem;
  font-weight: 700;
}

input,
select,
textarea {
  width: 100%;
  margin-top: 0.35rem;
  padding: 0.9rem 1rem;
  border-radius: 1rem;
  border: 1px solid rgba(34, 76, 55, 0.14);
  background: rgba(255, 255, 255, 0.72);
  color: var(--ink);
}

input:focus,
select:focus,
textarea:focus {
  outline: 2px solid rgba(47, 122, 87, 0.2);
  border-color: rgba(47, 122, 87, 0.28);
}

textarea {
  min-height: 8rem;
  resize: vertical;
}

.field-note {
  margin-top: 0.35rem;
  color: var(--muted);
  font-size: 0.82rem;
}

.form-status {
  display: none;
  padding: 0.95rem 1rem;
  border-radius: 1rem;
  font-weight: 700;
}

.form-status.is-visible {
  display: block;
}

.form-status.is-success {
  border: 1px solid rgba(72, 106, 89, 0.2);
  background: var(--sage-soft);
  color: var(--sage);
}

.form-status.is-error {
  border: 1px solid rgba(154, 93, 67, 0.2);
  background: var(--warning-soft);
  color: var(--warning);
}

details {
  border: 1px solid var(--line);
  border-radius: 1.2rem;
  background: rgba(248, 252, 247, 0.84);
  padding: 0 1rem;
  box-shadow: var(--shadow);
}

details + details {
  margin-top: 0.95rem;
}

summary {
  cursor: pointer;
  padding: 1.05rem 0;
  list-style: none;
  font-weight: 700;
}

summary::-webkit-details-marker {
  display: none;
}

details p {
  margin: 0 0 1rem;
  color: var(--muted);
}

.footer {
  padding: 1rem 0 3rem;
}

.footer-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.2fr) minmax(220px, 0.85fr) minmax(220px, 0.85fr);
  gap: 1.25rem;
  padding: 1.35rem;
  border-radius: 1.8rem;
  border: 1px solid var(--line);
  background: rgba(240, 248, 237, 0.94);
  box-shadow: var(--shadow);
}

.footer-meta {
  padding-top: 1rem;
}

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

[data-reveal] {
  opacity: 0;
  transform: translateY(20px);
  transition:
    opacity 0.6s ease,
    transform 0.6s ease;
}

[data-reveal].is-visible {
  opacity: 1;
  transform: translateY(0);
}

.wa-widget {
  position: fixed;
  right: 1.25rem;
  bottom: 1.25rem;
  z-index: 60;
  display: grid;
  justify-items: end;
  gap: 0.9rem;
}

.wa-panel {
  width: min(360px, calc(100vw - 1.5rem));
  padding: 1rem;
  border: 1px solid rgba(34, 76, 55, 0.14);
  border-radius: 1.6rem;
  background:
    linear-gradient(180deg, rgba(250, 255, 248, 0.98), rgba(232, 245, 230, 0.98)),
    rgba(255, 255, 255, 0.95);
  box-shadow: 0 24px 60px rgba(20, 58, 42, 0.22);
  backdrop-filter: blur(14px);
}

.wa-panel[hidden] {
  display: none;
}

.wa-panel-header {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 1rem;
}

.wa-panel-header strong {
  display: block;
  margin-top: 0.45rem;
  font-family: "Fraunces", Georgia, serif;
  font-size: 1.35rem;
  line-height: 1.1;
}

.wa-panel-header p,
.wa-panel-copy,
.wa-note {
  margin: 0;
  color: var(--muted);
}

.wa-panel-header p {
  margin-top: 0.25rem;
}

.wa-panel-copy {
  margin-top: 0.95rem;
}

.wa-meta,
.wa-quick-replies {
  display: flex;
  flex-wrap: wrap;
  gap: 0.55rem;
  margin-top: 0.95rem;
}

.wa-meta-pill,
.wa-chip {
  display: inline-flex;
  align-items: center;
  min-height: 2.25rem;
  padding: 0.5rem 0.85rem;
  border-radius: 999px;
  border: 1px solid rgba(34, 76, 55, 0.12);
  background: rgba(248, 252, 247, 0.82);
  color: var(--ink);
}

.wa-chip {
  cursor: pointer;
}

.wa-chip:hover {
  background: rgba(227, 241, 227, 0.96);
}

.wa-primary-link {
  width: 100%;
  margin-top: 1rem;
}

.wa-note {
  margin-top: 0.8rem;
  font-size: 0.84rem;
}

.wa-close {
  width: 2.4rem;
  height: 2.4rem;
  border: 1px solid rgba(34, 76, 55, 0.14);
  border-radius: 999px;
  background: rgba(248, 252, 247, 0.88);
  color: var(--ink);
  cursor: pointer;
}

.wa-launcher {
  display: inline-flex;
  align-items: center;
  gap: 0.7rem;
  min-height: 3.5rem;
  padding: 0.7rem 1rem 0.7rem 0.7rem;
  border: none;
  border-radius: 999px;
  background: linear-gradient(135deg, #1f8f5f, #0f6d45);
  color: #f7fbf6;
  font-weight: 700;
  letter-spacing: 0.01em;
  cursor: pointer;
  box-shadow: 0 20px 40px rgba(17, 96, 62, 0.3);
}

.wa-launcher-icon {
  display: grid;
  place-items: center;
  width: 2.1rem;
  height: 2.1rem;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.18);
  font-size: 0.8rem;
  font-weight: 800;
}

@media (max-width: 980px) {
  .hero-grid,
  .callout,
  .cta-banner,
  .quote-layout,
  .footer-grid,
  .feature-panel {
    grid-template-columns: 1fr;
  }

  .hero-cards,
  .card-grid-3,
  .info-grid,
  .steps {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .site-nav {
    position: absolute;
    top: calc(100% + 0.6rem);
    right: 1rem;
    left: 1rem;
    display: none;
    flex-direction: column;
    align-items: stretch;
    gap: 0.45rem;
    padding: 1rem;
    border-radius: 1.5rem;
    border: 1px solid var(--line);
    background: rgba(246, 251, 245, 0.98);
    box-shadow: var(--shadow);
  }

  .site-nav[data-open="true"] {
    display: flex;
  }

  .nav-toggle {
    display: inline-flex;
    align-items: center;
    justify-content: center;
  }

  .wa-widget {
    right: 1rem;
    bottom: 1rem;
  }
}

@media (max-width: 720px) {
  .shell {
    width: min(100% - 1.2rem, 1120px);
  }

  .hero,
  .page-hero {
    padding-top: 2.8rem;
  }

  .hero-points,
  .hero-cards,
  .card-grid-2,
  .card-grid-3,
  .utility-grid,
  .resource-grid,
  .steps,
  .process-grid,
  .info-grid,
  .form-row {
    grid-template-columns: 1fr;
  }

  .actions {
    align-items: stretch;
  }

  .actions .button,
  .actions .button-secondary {
    width: 100%;
  }

  .page-hero h1,
  .hero h1 {
    font-size: clamp(2.4rem, 12vw, 3.4rem);
  }

  .wa-widget {
    right: 0.75rem;
    bottom: 0.75rem;
    left: 0.75rem;
    justify-items: stretch;
  }

  .wa-panel,
  .wa-launcher {
    width: 100%;
  }

  .wa-launcher {
    justify-content: center;
  }
}

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

  *,
  *::before,
  *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
    scroll-behavior: auto !important;
  }

  [data-reveal] {
    opacity: 1;
    transform: none;
  }
}
