:root {
  --leaf-bg: #dfe8df;
  --leaf-shell: #f5faf5;
  --leaf-green: #1f7a4a;
  --leaf-mint: #cfe8d5;
  --leaf-deep: #0f3d26;
  --leaf-white: #ffffff;
  --leaf-shadow: 0 10px 26px rgba(31, 122, 74, 0.14);
}

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

html {
  scroll-behavior: smooth;
  -webkit-text-size-adjust: 100%;
}

body.leaf-page {
  margin: 0;
  background: var(--leaf-bg);
  color: var(--leaf-deep);
  font-family: "DM Sans", system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;
  font-size: 16px;
  line-height: 1.6;
  overflow-x: hidden;
}

.leaf-shell {
  max-width: 480px;
  margin: 0 auto;
  width: 100%;
  min-height: 100vh;
  background: var(--leaf-shell);
  overflow-x: hidden;
}

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

h1,
h2,
h3 {
  font-family: "Nunito", system-ui, sans-serif;
  font-weight: 900;
  line-height: 1.15;
  margin: 0;
  color: var(--leaf-deep);
}

a {
  color: var(--leaf-green);
}

.leaf-visually-hidden {
  position: absolute;
  width: 1px;
  height: 1px;
  overflow: hidden;
  clip: rect(0 0 0 0);
  white-space: nowrap;
}

/* Header */
.leaf-top {
  padding: 16px 20px 0;
  text-align: center;
}

.leaf-brand-line {
  margin: 0;
  font-family: "Nunito", sans-serif;
  font-weight: 800;
  font-size: 16px;
  color: var(--leaf-green);
}

/* Hero */
.leaf-hero {
  padding: 16px 20px 8px;
  text-align: center;
}

.leaf-kicker {
  margin: 0 0 10px;
  font-size: 15px;
  font-weight: 700;
  color: var(--leaf-green);
}

.leaf-hero-title {
  font-size: 28px;
}

.leaf-hero-meta {
  display: inline-block;
  margin: 12px 0 18px;
  padding: 6px 16px;
  border-radius: 100px;
  background: var(--leaf-mint);
  font-size: 15px;
  font-weight: 700;
}

.leaf-hero-photo {
  position: relative;
  aspect-ratio: 1 / 1;
  padding: 16px;
  border-radius: 24px;
  background: var(--leaf-white);
  box-shadow: var(--leaf-shadow);
}

.leaf-hero-photo img {
  width: 100%;
  height: 100%;
  object-fit: contain;
}

.leaf-badge {
  position: absolute;
  top: -10px;
  right: -6px;
  z-index: 2;
  width: 96px;
  height: 96px;
  padding: 8px;
  border-radius: 50%;
  border: 3px solid var(--leaf-green);
  background: var(--leaf-mint);
  color: var(--leaf-deep);
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  font-family: "Nunito", sans-serif;
  font-weight: 900;
  font-size: 14px;
  line-height: 1.15;
  box-shadow: 0 6px 14px rgba(15, 61, 38, 0.18);
}

/* Pill CTA */
.leaf-cta-wrap {
  padding: 16px 20px;
}

.leaf-cta,
.leaf-submit {
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: 58px;
  padding: 0 24px;
  border-radius: 100px;
  background: var(--leaf-green);
  color: var(--leaf-white);
  font-family: "Nunito", sans-serif;
  font-weight: 900;
  font-size: 17px;
  text-align: center;
  text-decoration: none;
  box-shadow: 0 10px 22px rgba(31, 122, 74, 0.28);
  border: 0;
  cursor: pointer;
}

.leaf-cta-wrap .leaf-cta {
  width: 100%;
}

/* Uses */
.leaf-uses {
  padding: 24px 16px 8px;
}

.leaf-h2 {
  margin-bottom: 18px;
  font-size: 26px;
  text-align: center;
}

.leaf-use-group {
  display: flex;
  flex-direction: column;
  gap: 16px;
  margin-bottom: 20px;
}

.leaf-use {
  margin: 0;
  padding: 12px;
  display: flex;
  flex-direction: column;
  gap: 10px;
  border-radius: 24px;
  background: var(--leaf-white);
  box-shadow: 0 6px 18px rgba(31, 122, 74, 0.1);
}

.leaf-use img {
  width: 100%;
  aspect-ratio: 1 / 1;
  object-fit: contain;
  border-radius: 18px;
  background: var(--leaf-white);
}

.leaf-use-pill {
  display: inline-block;
  max-width: 85%;
  padding: 10px 20px;
  border-radius: 100px;
  background: var(--leaf-mint);
  color: var(--leaf-deep);
  font-family: "Nunito", sans-serif;
  font-weight: 900;
  font-size: 16px;
  line-height: 1.2;
  text-align: center;
  text-transform: uppercase;
}

.leaf-use--r .leaf-use-pill {
  align-self: flex-end;
}

.leaf-use--l .leaf-use-pill {
  align-self: flex-start;
}

/* Story */
.leaf-story {
  padding: 20px 20px 8px;
}

.leaf-lead {
  margin: 0 0 18px;
  font-family: "Nunito", sans-serif;
  font-weight: 800;
  font-size: 19px;
  line-height: 1.4;
  text-align: center;
  color: var(--leaf-green);
}

.leaf-wide {
  margin: 0 0 18px;
  padding: 12px;
  border-radius: 24px;
  background: var(--leaf-white);
  box-shadow: var(--leaf-shadow);
}

.leaf-wide img {
  width: 100%;
  aspect-ratio: 1 / 1;
  object-fit: contain;
  border-radius: 18px;
}

.leaf-body {
  margin: 0;
  text-align: center;
}

/* Specs */
.leaf-specs {
  padding: 24px 16px 8px;
}

.spec-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 10px;
}

.spec-cell {
  display: flex;
  flex-direction: column;
  gap: 4px;
  min-height: 86px;
  padding: 14px 12px;
  border-radius: 20px;
  border: 1px solid var(--leaf-mint);
  background: var(--leaf-white);
}

.spec-name {
  font-size: 14px;
  font-weight: 700;
  color: var(--leaf-green);
}

.spec-value {
  font-family: "Nunito", sans-serif;
  font-weight: 900;
  font-size: 17px;
  line-height: 1.2;
  color: var(--leaf-deep);
}

.leaf-note {
  margin: 14px 8px 0;
  font-size: 15px;
  text-align: center;
}

/* Accents */
.leaf-accents {
  padding: 16px 20px 4px;
}

.leaf-accent {
  margin: 0 0 12px;
  max-width: 90%;
  padding: 14px 22px;
  border-radius: 100px;
  font-family: "Nunito", sans-serif;
  font-weight: 800;
  font-size: 16px;
  line-height: 1.3;
}

.leaf-accent--r {
  margin-left: auto;
  background: var(--leaf-green);
  color: var(--leaf-white);
}

.leaf-accent--l {
  margin-right: auto;
  background: var(--leaf-mint);
  color: var(--leaf-deep);
}

/* Gallery */
.leaf-gallery-wrap {
  padding: 24px 0 8px;
}

.leaf-gallery-wrap .leaf-h2 {
  padding: 0 20px;
}

.leaf-gallery {
  display: flex;
  gap: 12px;
  overflow-x: auto;
  scroll-snap-type: x mandatory;
  padding: 4px 7.5% 16px;
  scrollbar-width: none;
}

.leaf-gallery::-webkit-scrollbar {
  display: none;
}

.leaf-gallery-item {
  flex: 0 0 85%;
  scroll-snap-align: center;
  margin: 0;
  padding: 12px;
  border-radius: 24px;
  background: var(--leaf-white);
  box-shadow: 0 6px 18px rgba(31, 122, 74, 0.12);
}

.leaf-gallery-item img {
  width: 100%;
  aspect-ratio: 1 / 1;
  object-fit: contain;
  border-radius: 16px;
}

/* Services */
.leaf-services {
  padding: 24px 0 8px;
}

.leaf-services .leaf-h2 {
  padding: 0 20px;
}

.leaf-service-list {
  display: flex;
  flex-direction: column;
  gap: 12px;
  padding: 0 20px;
}

.leaf-service {
  display: flex;
  align-items: center;
  gap: 14px;
  padding: 16px;
  border-radius: 24px;
  background: var(--leaf-white);
  box-shadow: 0 6px 18px rgba(31, 122, 74, 0.1);
}

.leaf-service-icon {
  flex: 0 0 56px;
  width: 56px;
  height: 56px;
  border-radius: 50%;
  background: var(--leaf-mint);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 26px;
}

.leaf-service h3 {
  margin-bottom: 2px;
  font-size: 19px;
}

.leaf-service p {
  margin: 0;
  font-size: 15px;
}

/* Price */
.leaf-price {
  margin: 20px 20px 0;
  padding: 24px 20px;
  border-radius: 28px;
  background: var(--leaf-green);
  color: var(--leaf-white);
  text-align: center;
  box-shadow: 0 12px 26px rgba(31, 122, 74, 0.3);
}

.leaf-price-tag {
  display: inline-block;
  margin: 0 0 12px;
  padding: 6px 16px;
  border-radius: 100px;
  background: var(--leaf-white);
  color: var(--leaf-green);
  font-weight: 800;
  font-size: 15px;
}

.leaf-price-value {
  margin: 0;
  font-family: "Nunito", sans-serif;
  font-weight: 900;
  font-size: 40px;
  line-height: 1.1;
}

.leaf-price-note {
  margin: 10px 0 0;
  font-size: 15px;
}

/* Form */
.leaf-form-wrap {
  margin: 24px 20px 0;
  padding: 24px 20px;
  border-radius: 24px;
  border: 1px solid var(--leaf-mint);
  background: var(--leaf-white);
  box-shadow: var(--leaf-shadow);
}

.leaf-form-wrap h2 {
  font-size: 26px;
  text-align: center;
}

.leaf-form-sub {
  margin: 8px 0 18px;
  text-align: center;
  font-size: 15px;
}

.leaf-form {
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.leaf-label {
  margin-top: 6px;
  font-size: 15px;
  font-weight: 700;
}

.leaf-input {
  width: 100%;
  min-height: 54px;
  padding: 12px 16px;
  border-radius: 16px;
  border: 2px solid var(--leaf-mint);
  background: var(--leaf-shell);
  color: var(--leaf-deep);
  font-family: inherit;
  font-size: 16px;
}

.leaf-input:focus {
  outline: none;
  border-color: var(--leaf-green);
  background: var(--leaf-white);
}

.leaf-submit {
  width: 100%;
  margin-top: 12px;
}

.leaf-consent {
  margin: 10px 0 0;
  text-align: center;
  font-size: 14px;
}

.leaf-consent a {
  font-weight: 700;
}

/* Footer */
.leaf-footer {
  margin-top: 28px;
  padding: 28px 20px 32px;
  background: var(--leaf-deep);
  color: #e6f2ea;
  text-align: center;
  font-size: 15px;
}

.leaf-footer a {
  color: var(--leaf-mint);
}

.leaf-footer p {
  margin: 6px 0;
}

.leaf-footer-brand {
  margin: 0 0 8px;
  font-family: "Nunito", sans-serif;
  font-weight: 900;
  font-size: 20px;
  color: var(--leaf-white);
}

.leaf-footer-links {
  margin: 14px 0;
  line-height: 1.9;
}

.leaf-copy {
  font-size: 13px;
  opacity: 0.85;
}

/* Thank you page */
.leaf-thanks {
  padding: 48px 20px 32px;
  text-align: center;
}

.leaf-thanks h1 {
  margin-bottom: 16px;
  font-size: 30px;
}

.leaf-thanks p {
  margin: 0 0 12px;
}

.leaf-thanks .leaf-cta {
  margin-top: 20px;
}

/* Legal pages */
.leaf-legal {
  padding: 20px 20px 8px;
}

.leaf-legal-title {
  margin-bottom: 8px;
  font-size: 28px;
  text-align: center;
}

.leaf-legal-date {
  margin: 0 0 18px;
  text-align: center;
  font-size: 14px;
}

.leaf-section {
  margin-bottom: 14px;
  padding: 18px;
  border-radius: 22px;
  background: var(--leaf-white);
  box-shadow: 0 6px 18px rgba(31, 122, 74, 0.1);
}

.leaf-section h2 {
  margin-bottom: 8px;
  font-size: 19px;
  color: var(--leaf-green);
}

.leaf-section p {
  margin: 0 0 8px;
  font-size: 15px;
}

.leaf-section p:last-child {
  margin-bottom: 0;
}

@media (max-width: 340px) {
  .spec-grid {
    grid-template-columns: 1fr;
  }

  .leaf-price-value {
    font-size: 34px;
  }
}