:root {
  --color-soil: #3d2b1f;
  --color-soil-soft: #5c4332;
  --color-turf: #1f4d3a;
  --color-turf-mid: #2d6a4f;
  --color-turf-bright: #40916c;
  --color-leaf: #95d5b2;
  --color-sand: #e8e0d4;
  --color-cream: #f4f0e8;
  --color-paper: #faf8f4;
  --color-ink: #1a1612;
  --color-muted: #5c534a;
  --font-display: "Fraunces", "Georgia", serif;
  --font-body: "Source Sans 3", "Segoe UI", sans-serif;
  --max: 68rem;
  --nav-h: 4rem;
}

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

html {
  scroll-behavior: smooth;
}

body.marketing-body {
  margin: 0;
  color: var(--color-ink);
  font-family: var(--font-body);
  font-size: 1.05rem;
  line-height: 1.55;
  background: var(--color-paper);
}

a {
  color: var(--color-turf-mid);
}

a:hover {
  color: var(--color-turf);
}

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

.m-skip {
  position: absolute;
  left: -999px;
  top: 0;
}

.m-skip:focus {
  left: 1rem;
  top: 1rem;
  z-index: 100;
  background: #fff;
  padding: 0.5rem 1rem;
}

.m-nav {
  position: sticky;
  top: 0;
  z-index: 50;
  height: var(--nav-h);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  padding: 0 1.25rem;
  background: rgba(250, 248, 244, 0.92);
  backdrop-filter: blur(10px);
  border-bottom: 1px solid rgba(61, 43, 31, 0.08);
}

.m-nav__brand {
  font-family: var(--font-display);
  font-weight: 600;
  font-size: 1.25rem;
  color: var(--color-turf);
  text-decoration: none;
  letter-spacing: -0.02em;
}

.m-nav__brand:hover {
  color: var(--color-turf-mid);
}

.m-nav__links {
  display: none;
  gap: 1.25rem;
  list-style: none;
  margin: 0;
  padding: 0;
  align-items: center;
}

.m-nav__links a {
  text-decoration: none;
  color: var(--color-soil-soft);
  font-size: 0.95rem;
  font-weight: 600;
}

.m-nav__links a:hover {
  color: var(--color-turf);
}

.m-nav__cta {
  display: inline-flex;
  align-items: center;
  padding: 0.45rem 0.9rem;
  border-radius: 0.35rem;
  background: var(--color-turf);
  color: #fff !important;
  text-decoration: none;
  font-weight: 600;
  font-size: 0.9rem;
}

.m-nav__cta:hover {
  background: var(--color-turf-mid);
  color: #fff !important;
}

@media (min-width: 900px) {
  .m-nav__links {
    display: flex;
  }
}

.m-hero {
  position: relative;
  min-height: calc(100vh - var(--nav-h));
  display: grid;
  align-items: end;
  overflow: hidden;
  color: #fff;
  background:
    linear-gradient(160deg, rgba(31, 77, 58, 0.88) 0%, rgba(61, 43, 31, 0.55) 55%, rgba(31, 77, 58, 0.75) 100%),
    radial-gradient(ellipse at 70% 30%, rgba(64, 145, 108, 0.35), transparent 55%),
    linear-gradient(180deg, #1f4d3a 0%, #3d2b1f 100%);
}

.m-hero__inner {
  width: min(var(--max), 100% - 2.5rem);
  margin: 0 auto;
  padding: 4.5rem 0 3.5rem;
}

.m-hero__brand {
  font-family: var(--font-display);
  font-size: clamp(2.75rem, 7vw, 4.75rem);
  font-weight: 600;
  line-height: 1.05;
  letter-spacing: -0.03em;
  margin: 0 0 1rem;
  animation: m-rise 0.8s ease-out both;
}

.m-hero__lead {
  max-width: 32rem;
  font-size: clamp(1.1rem, 2.2vw, 1.35rem);
  margin: 0 0 1.75rem;
  color: rgba(255, 255, 255, 0.92);
  animation: m-rise 0.8s ease-out 0.12s both;
}

.m-hero__actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
  animation: m-rise 0.8s ease-out 0.22s both;
}

.m-hero__field {
  position: absolute;
  inset: 0;
  z-index: -1;
  opacity: 0.35;
  background:
    repeating-linear-gradient(
      -12deg,
      transparent,
      transparent 18px,
      rgba(149, 213, 178, 0.08) 18px,
      rgba(149, 213, 178, 0.08) 19px
    );
  animation: m-drift 28s linear infinite;
}

@keyframes m-rise {
  from {
    opacity: 0;
    transform: translateY(1.1rem);
  }
  to {
    opacity: 1;
    transform: none;
  }
}

@keyframes m-drift {
  from {
    background-position: 0 0;
  }
  to {
    background-position: 120px 40px;
  }
}

.m-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.4rem;
  padding: 0.75rem 1.25rem;
  border-radius: 0.4rem;
  font-weight: 650;
  font-size: 1rem;
  text-decoration: none;
  border: 2px solid transparent;
  transition: background 0.15s ease, color 0.15s ease, border-color 0.15s ease;
}

.m-btn--primary {
  background: #fff;
  color: var(--color-turf);
}

.m-btn--primary:hover {
  background: var(--color-leaf);
  color: var(--color-turf);
}

.m-btn--ghost {
  background: transparent;
  color: #fff;
  border-color: rgba(255, 255, 255, 0.55);
}

.m-btn--ghost:hover {
  background: rgba(255, 255, 255, 0.12);
  color: #fff;
}

.m-btn--dark {
  background: var(--color-turf);
  color: #fff;
}

.m-btn--dark:hover {
  background: var(--color-turf-mid);
  color: #fff;
}

.m-btn--outline {
  background: transparent;
  color: var(--color-turf);
  border-color: var(--color-turf);
}

.m-btn--outline:hover {
  background: var(--color-turf);
  color: #fff;
}

.m-section {
  padding: 4.5rem 0;
}

.m-section--sand {
  background: var(--color-sand);
}

.m-section--turf {
  background: var(--color-turf);
  color: #fff;
}

.m-section--turf a {
  color: var(--color-leaf);
}

.m-section__inner {
  width: min(var(--max), 100% - 2.5rem);
  margin: 0 auto;
}

.m-section__eyebrow {
  font-size: 0.8rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--color-turf-bright);
  margin: 0 0 0.6rem;
}

.m-section--turf .m-section__eyebrow {
  color: var(--color-leaf);
}

.m-section__title {
  font-family: var(--font-display);
  font-size: clamp(1.75rem, 3.5vw, 2.4rem);
  font-weight: 600;
  letter-spacing: -0.02em;
  line-height: 1.15;
  margin: 0 0 0.75rem;
  color: var(--color-soil);
}

.m-section--turf .m-section__title {
  color: #fff;
}

.m-section__lead {
  max-width: 38rem;
  margin: 0 0 2rem;
  color: var(--color-muted);
  font-size: 1.1rem;
}

.m-section--turf .m-section__lead {
  color: rgba(255, 255, 255, 0.88);
}

.m-split {
  display: grid;
  gap: 2rem;
  align-items: center;
}

@media (min-width: 860px) {
  .m-split {
    grid-template-columns: 1fr 1.05fr;
    gap: 3rem;
  }

  .m-split--reverse .m-split__copy {
    order: 2;
  }

  .m-split--reverse .m-split__media {
    order: 1;
  }
}

.m-stub {
  position: relative;
  aspect-ratio: 16 / 10;
  border-radius: 0.5rem;
  background:
    linear-gradient(145deg, #d9d2c5 0%, #c8bfb0 100%);
  border: 1px solid rgba(61, 43, 31, 0.12);
  overflow: hidden;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  padding: 1.1rem 1.25rem;
  box-shadow: 0 18px 40px rgba(61, 43, 31, 0.12);
}

.m-stub::before {
  content: "";
  position: absolute;
  inset: 0;
  background:
    linear-gradient(180deg, transparent 40%, rgba(31, 77, 58, 0.55) 100%),
    repeating-linear-gradient(
      90deg,
      transparent,
      transparent 40px,
      rgba(255, 255, 255, 0.06) 40px,
      rgba(255, 255, 255, 0.06) 41px
    );
}

.m-stub__label {
  position: relative;
  z-index: 1;
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: rgba(255, 255, 255, 0.75);
  margin: 0 0 0.25rem;
}

.m-stub__caption {
  position: relative;
  z-index: 1;
  margin: 0;
  color: #fff;
  font-weight: 600;
  font-size: 1rem;
}

.m-stub--tall {
  aspect-ratio: 4 / 5;
}

.m-stub-pair {
  display: grid;
  gap: 1rem;
}

@media (min-width: 560px) {
  .m-stub-pair {
    grid-template-columns: 1fr 1fr;
  }
}

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

.m-list li {
  position: relative;
  padding-left: 1.35rem;
  margin-bottom: 0.65rem;
  color: var(--color-muted);
}

.m-list li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0.55rem;
  width: 0.55rem;
  height: 0.55rem;
  border-radius: 50%;
  background: var(--color-turf-bright);
}

.m-integrations {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
}

.m-logo-stub {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 8.5rem;
  padding: 0.85rem 1.1rem;
  border-radius: 0.4rem;
  background: #fff;
  border: 1px solid rgba(61, 43, 31, 0.12);
  font-weight: 700;
  color: var(--color-soil-soft);
  font-size: 0.95rem;
}

.m-how {
  display: grid;
  gap: 1.25rem;
}

@media (min-width: 720px) {
  .m-how {
    grid-template-columns: repeat(3, 1fr);
  }
}

.m-how__step {
  padding: 1.25rem 1.35rem;
  background: rgba(255, 255, 255, 0.08);
  border: 1px solid rgba(255, 255, 255, 0.14);
  border-radius: 0.45rem;
}

.m-how__num {
  font-family: var(--font-display);
  font-size: 1.75rem;
  font-weight: 600;
  color: var(--color-leaf);
  margin: 0 0 0.35rem;
}

.m-how__step h3 {
  margin: 0 0 0.4rem;
  font-size: 1.1rem;
}

.m-how__step p {
  margin: 0;
  color: rgba(255, 255, 255, 0.85);
  font-size: 0.98rem;
}

.m-code {
  font-family: ui-monospace, SFMono-Regular, Menlo, Monaco, Consolas, monospace;
  font-size: 0.92em;
  background: rgba(31, 77, 58, 0.08);
  padding: 0.15em 0.4em;
  border-radius: 0.25rem;
}

.m-section--turf .m-code {
  background: rgba(0, 0, 0, 0.25);
  color: var(--color-leaf);
}

.m-contact-grid {
  display: grid;
  gap: 1.5rem;
}

@media (min-width: 720px) {
  .m-contact-grid {
    grid-template-columns: 1.2fr 1fr;
    align-items: start;
  }
}

.m-contact-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
  margin: 1.25rem 0;
}

.m-contact-details {
  list-style: none;
  margin: 0;
  padding: 0;
  color: var(--color-muted);
}

.m-contact-details li {
  margin-bottom: 0.5rem;
}

.m-footer {
  padding: 2.5rem 0 3rem;
  background: var(--color-soil);
  color: rgba(255, 255, 255, 0.78);
  font-size: 0.95rem;
}

.m-footer__inner {
  width: min(var(--max), 100% - 2.5rem);
  margin: 0 auto;
  display: flex;
  flex-wrap: wrap;
  gap: 1rem;
  justify-content: space-between;
  align-items: center;
}

.m-footer a {
  color: var(--color-leaf);
  text-decoration: none;
}

.m-footer a:hover {
  text-decoration: underline;
}

.m-footer__links {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem 1.25rem;
}

/* Policies page (legal content) */
.m-policies {
  width: min(46rem, 100% - 2rem);
  margin: 0 auto;
  padding: 2.5rem 0 3.5rem;
}

.m-policies h1 {
  font-family: var(--font-display);
  font-size: 2rem;
  margin: 0 0 0.5rem;
  color: var(--color-soil);
}

.m-policies .m-back {
  display: inline-block;
  margin-bottom: 1.5rem;
  font-weight: 600;
  text-decoration: none;
}

.m-policy-card {
  background: #fff;
  border: 1px solid rgba(61, 43, 31, 0.1);
  border-radius: 0.5rem;
  padding: 1.35rem 1.5rem;
  margin-bottom: 1.25rem;
}

.m-policy-card h2 {
  font-size: 1.2rem;
  margin: 0 0 0.65rem;
  color: var(--color-soil);
}

.m-policy-card p,
.m-policy-card ul {
  color: var(--color-muted);
  margin-top: 0;
}

.m-toc {
  list-style: none;
  margin: 0;
  padding: 0;
}

.m-toc li {
  margin-bottom: 0.35rem;
}

/* Comparison pages */
.m-compare {
  width: min(var(--max), 100% - 2rem);
  margin: 0 auto;
  padding: 2.5rem 0 3.5rem;
}

.m-compare .m-back {
  display: inline-block;
  margin-bottom: 1.25rem;
  font-weight: 600;
  text-decoration: none;
}

.m-compare__title {
  font-family: var(--font-display);
  font-size: clamp(1.85rem, 4vw, 2.6rem);
  font-weight: 600;
  letter-spacing: -0.02em;
  line-height: 1.15;
  margin: 0 0 1rem;
  color: var(--color-soil);
}

.m-compare__intro,
.m-compare__positioning {
  max-width: 42rem;
  color: var(--color-muted);
  font-size: 1.08rem;
  margin: 0 0 1.5rem;
}

.m-compare__positioning {
  margin-top: 2rem;
  font-weight: 600;
  color: var(--color-soil-soft);
}

.m-compare__disclaimer {
  max-width: 42rem;
  font-size: 0.9rem;
  color: var(--color-muted);
  margin: 0;
}

.m-compare__table-wrap {
  overflow-x: auto;
  border: 1px solid rgba(61, 43, 31, 0.22);
  border-radius: 0.5rem;
  background: #fff;
}

.m-compare-table {
  width: 100%;
  border-collapse: collapse;
  min-width: 36rem;
  font-size: 0.98rem;
}

.m-compare-table th,
.m-compare-table td {
  padding: 0.9rem 1rem;
  text-align: left;
  vertical-align: middle;
  border: 1px solid rgba(61, 43, 31, 0.18);
}

.m-compare-table thead th {
  background: var(--color-sand);
  color: var(--color-soil);
  font-weight: 700;
  font-size: 0.92rem;
  border-bottom-width: 2px;
  border-bottom-color: rgba(61, 43, 31, 0.28);
}

.m-compare-table tbody th {
  font-weight: 600;
  color: var(--color-ink);
  width: 42%;
}

.m-compare-feature {
  display: inline-flex;
  align-items: flex-start;
  gap: 0.45rem;
}

.m-compare-tip {
  position: relative;
  display: inline-block;
  flex-shrink: 0;
  margin-top: 0.1rem;
}

.m-compare-tip__btn {
  list-style: none;
  cursor: pointer;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 1.15rem;
  height: 1.15rem;
  border-radius: 50%;
  border: 1px solid rgba(61, 43, 31, 0.35);
  background: var(--color-sand);
  color: var(--color-soil-soft);
  font-size: 0.72rem;
  font-weight: 700;
  line-height: 1;
  padding: 0;
}

.m-compare-tip__btn::-webkit-details-marker,
.m-compare-tip__btn::marker {
  display: none;
  content: "";
}

.m-compare-tip__btn:hover,
.m-compare-tip[open] .m-compare-tip__btn {
  background: var(--color-turf);
  border-color: var(--color-turf);
  color: #fff;
}

.m-compare-tip__panel {
  position: absolute;
  z-index: 20;
  left: 0;
  top: calc(100% + 0.4rem);
  width: min(18rem, 70vw);
  padding: 0.75rem 0.9rem;
  border-radius: 0.4rem;
  background: var(--color-soil);
  color: rgba(255, 255, 255, 0.95);
  font-size: 0.88rem;
  font-weight: 400;
  line-height: 1.45;
  box-shadow: 0 10px 28px rgba(61, 43, 31, 0.28);
}

.m-compare-tip__panel::before {
  content: "";
  position: absolute;
  top: -5px;
  left: 0.45rem;
  width: 10px;
  height: 10px;
  background: var(--color-soil);
  transform: rotate(45deg);
}

.m-compare-cell {
  white-space: nowrap;
  font-weight: 650;
}

.m-compare-cell--yes {
  color: var(--color-turf-mid);
}

.m-compare-cell--yes_extra {
  color: var(--color-turf-mid);
  white-space: normal;
}

.m-compare-cell--partial {
  color: var(--color-soil-soft);
}

.m-compare-cell--not_featured {
  color: var(--color-muted);
  font-weight: 500;
  white-space: normal;
}

.m-compare-cell--no {
  color: var(--color-muted);
  font-weight: 650;
}
