:root {
  --ink: #13251f;
  --ink-2: #2b4139;
  --green: #2f6a52;
  --green-dark: #183b30;
  --cream: #f6f3ea;
  --paper: #fbfaf6;
  --line: rgba(19, 37, 31, 0.13);
  --muted: #60736b;
  --white: #ffffff;
  --gold: #d8b765;
  --coral: #d98270;
  --shadow: 0 24px 70px rgba(19, 37, 31, 0.14);
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

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

body.nav-open {
  overflow: hidden;
}

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

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

button,
input,
select {
  font: inherit;
}

.skip-link {
  position: absolute;
  left: 16px;
  top: -70px;
  z-index: 100;
  border-radius: 6px;
  background: var(--green-dark);
  color: var(--white);
  padding: 10px 14px;
}

.skip-link:focus {
  top: 16px;
}

.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}

.site-header {
  position: fixed;
  inset: 0 0 auto;
  z-index: 50;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  padding: 18px clamp(20px, 4vw, 48px);
  background: rgba(251, 250, 246, 0.94);
  color: var(--ink);
  backdrop-filter: blur(18px);
  transition: box-shadow 180ms ease;
}

.site-header.scrolled,
.site-header.open {
  box-shadow: 0 12px 34px rgba(19, 37, 31, 0.08);
}

.brand,
.wordmark {
  color: var(--green-dark);
  font-weight: 850;
  letter-spacing: 0;
}

.wordmark {
  font-size: 1rem;
}

.site-nav {
  display: flex;
  align-items: center;
  gap: 28px;
  color: var(--ink-2);
  font-size: 0.94rem;
  font-weight: 680;
}

.site-nav a {
  transition: color 160ms ease;
}

.site-nav a:hover,
.site-nav a:focus-visible {
  color: var(--green);
}

.nav-cta {
  border-radius: 999px;
  background: var(--green);
  color: var(--white) !important;
  padding: 12px 18px;
}

.nav-toggle {
  display: none;
  width: 42px;
  height: 42px;
  border: 1px solid var(--line);
  border-radius: 999px;
  background: var(--white);
  color: var(--ink);
}

.nav-toggle span:not(.sr-only) {
  display: block;
  width: 18px;
  height: 2px;
  margin: 4px auto;
  background: currentColor;
}

.hero {
  position: relative;
  min-height: 86svh;
  display: grid;
  place-items: center;
  overflow: hidden;
  color: var(--white);
  text-align: center;
  padding: 150px 20px 120px;
}

.hero-image,
.hero-overlay {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
}

.hero-image {
  object-fit: cover;
}

.hero-overlay {
  background:
    linear-gradient(rgba(24, 59, 48, 0.84), rgba(24, 59, 48, 0.75) 52%, rgba(24, 59, 48, 0.92)),
    radial-gradient(circle at 50% 28%, rgba(216, 183, 101, 0.14), transparent 38%);
}

.hero-inner {
  position: relative;
  z-index: 1;
  width: min(880px, 100%);
}

.eyebrow,
.section-kicker,
.insight-label {
  margin: 0 0 16px;
  color: var(--green);
  font-size: 0.76rem;
  font-weight: 760;
  letter-spacing: 0.16em;
  text-transform: uppercase;
}

.hero .eyebrow,
.light-text,
.light-text .section-kicker {
  color: rgba(255, 255, 255, 0.78);
}

h1,
h2,
h3,
p {
  margin-top: 0;
}

h1,
h2 {
  font-family: Georgia, "Times New Roman", serif;
  font-weight: 650;
  letter-spacing: 0;
}

h1 {
  margin-bottom: 24px;
  font-size: clamp(3.2rem, 8.5vw, 6.6rem);
  line-height: 0.98;
}

h2 {
  margin-bottom: 20px;
  font-size: clamp(2.2rem, 5.3vw, 5rem);
  line-height: 1;
}

h3 {
  margin-bottom: 12px;
  color: var(--ink);
  font-size: 1.08rem;
  line-height: 1.2;
}

.hero-copy {
  max-width: 760px;
  margin: 0 auto;
  color: rgba(255, 255, 255, 0.82);
  font-size: clamp(1.06rem, 2vw, 1.28rem);
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 12px;
  margin-top: 34px;
}

.button {
  display: inline-flex;
  min-height: 48px;
  align-items: center;
  justify-content: center;
  border: 1px solid transparent;
  border-radius: 999px;
  padding: 13px 22px;
  font-weight: 760;
  text-align: center;
  cursor: pointer;
  transition:
    transform 160ms ease,
    background 160ms ease,
    color 160ms ease,
    border-color 160ms ease;
}

.button:hover {
  transform: translateY(-1px);
}

.button.light {
  background: var(--white);
  color: var(--ink);
}

.button.ghost {
  border-color: rgba(255, 255, 255, 0.34);
  color: var(--white);
  background: rgba(255, 255, 255, 0.06);
}

.button.green {
  background: var(--green);
  color: var(--white);
}

.full {
  width: 100%;
}

.anchor-bar {
  position: sticky;
  top: 70px;
  z-index: 20;
  display: flex;
  justify-content: center;
  gap: clamp(18px, 4vw, 52px);
  overflow-x: auto;
  padding: 18px 20px;
  border-bottom: 1px solid var(--line);
  background: rgba(251, 250, 246, 0.95);
  color: var(--muted);
  font-size: 0.88rem;
  font-weight: 680;
  backdrop-filter: blur(16px);
}

.anchor-bar a {
  white-space: nowrap;
}

.section {
  padding: clamp(76px, 10vw, 132px) clamp(20px, 5vw, 72px);
}

.title-row {
  display: grid;
  grid-template-columns: minmax(0, 1.05fr) minmax(280px, 0.55fr);
  gap: clamp(28px, 6vw, 86px);
  align-items: end;
  margin-bottom: 42px;
}

.title-row p,
.website-copy p,
.migration-section > div > p,
.trust-section > div > p,
.demo-section > div > p,
.feature-card p,
.showcase p,
.mini-showcase p,
.insight-card p,
.timeline p,
.trust-cards p,
.site-footer p,
.legal-page p,
.legal-page li {
  color: var(--muted);
}

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

.feature-card {
  min-height: 300px;
  padding: 24px;
  border: 1px solid var(--line);
  border-radius: 14px;
  background: var(--white);
  box-shadow: 0 18px 48px rgba(19, 37, 31, 0.06);
}

.feature-card span {
  display: inline-grid;
  place-items: center;
  width: 42px;
  height: 42px;
  margin-bottom: 44px;
  border-radius: 999px;
  background: #ecf2ed;
  color: var(--green);
  font-size: 0.78rem;
  font-weight: 850;
}

.showcase-section {
  padding: 0 clamp(20px, 5vw, 72px) clamp(76px, 10vw, 132px);
}

.showcase,
.mini-showcase,
.feature-gallery article,
.trust-cards article {
  border: 1px solid var(--line);
  border-radius: 18px;
  background: var(--white);
  box-shadow: 0 18px 54px rgba(19, 37, 31, 0.08);
}

.showcase {
  display: grid;
  grid-template-columns: 0.72fr 1.28fr;
  gap: 32px;
  align-items: center;
  padding: clamp(24px, 5vw, 48px);
  overflow: hidden;
}

.showcase img,
.mini-showcase img,
.feature-gallery img {
  width: 100%;
  border-radius: 12px;
  border: 1px solid var(--line);
}

.mini-showcases {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 16px;
  margin-top: 16px;
}

.mini-showcase {
  overflow: hidden;
}

.mini-showcase div {
  padding: 22px;
}

.feature-gallery {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 16px;
  margin-top: 16px;
}

.feature-gallery article {
  overflow: hidden;
}

.feature-gallery div {
  padding: 18px;
}

.feature-gallery span {
  display: inline-block;
  margin-bottom: 10px;
  color: var(--green);
  font-size: 0.74rem;
  font-weight: 850;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.feature-gallery h3 {
  margin-bottom: 8px;
}

.feature-gallery p {
  margin-bottom: 0;
  color: var(--muted);
  font-size: 0.92rem;
}

.website-section {
  display: grid;
  grid-template-columns: 0.82fr 1.18fr;
  gap: clamp(36px, 7vw, 92px);
  background: #edf2ed;
}

.website-list {
  border-top: 1px solid var(--line);
}

.website-list div {
  display: grid;
  grid-template-columns: 150px minmax(0, 1fr);
  gap: 18px;
  padding: 22px 0;
  border-bottom: 1px solid var(--line);
}

.website-list span {
  color: var(--green);
  font-size: 0.86rem;
  font-weight: 850;
  text-transform: uppercase;
  letter-spacing: 0.08em;
}

.website-list strong {
  font-family: Georgia, "Times New Roman", serif;
  font-size: clamp(1.32rem, 2.5vw, 2.3rem);
  line-height: 1.05;
}

.intelligence-section {
  background: var(--green-dark);
  color: var(--white);
}

.intelligence-section h2,
.intelligence-section h3 {
  color: var(--white);
}

.intelligence-section .title-row p,
.insight-card p {
  color: rgba(255, 255, 255, 0.7);
}

.insight-grid {
  display: grid;
  grid-template-columns: 1.2fr 0.8fr;
  gap: 16px;
}

.insight-card {
  min-height: 220px;
  padding: 28px;
  border: 1px solid rgba(255, 255, 255, 0.16);
  border-radius: 18px;
  background: rgba(255, 255, 255, 0.08);
}

.insight-card.wide {
  grid-row: span 2;
  min-height: 430px;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
}

.insight-card.wide h3 {
  max-width: 760px;
  font-family: Georgia, "Times New Roman", serif;
  font-size: clamp(2rem, 4.2vw, 4.5rem);
  line-height: 1;
}

.insight-label {
  color: var(--gold);
}

.metric-row {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 24px;
}

.metric-row span {
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.12);
  color: var(--white);
  padding: 9px 12px;
  font-size: 0.86rem;
  font-weight: 760;
}

.migration-section,
.trust-section,
.demo-section {
  display: grid;
  grid-template-columns: 0.82fr 1.18fr;
  gap: clamp(34px, 7vw, 92px);
  align-items: start;
}

.timeline {
  display: grid;
  gap: 16px;
  margin: 0;
  padding: 0;
  list-style: none;
}

.timeline li {
  display: grid;
  grid-template-columns: 70px minmax(0, 1fr);
  gap: 18px;
  padding: 24px;
  border: 1px solid var(--line);
  border-radius: 18px;
  background: var(--white);
}

.timeline span {
  color: var(--green);
  font-family: Georgia, "Times New Roman", serif;
  font-size: 1.5rem;
}

.trust-section {
  background: #edf2ed;
}

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

.trust-cards article {
  padding: 22px;
}

.demo-section {
  background: var(--paper);
}

.contact-details {
  display: grid;
  gap: 8px;
  margin-top: 28px;
  color: var(--muted);
}

.contact-details a {
  color: var(--green);
  font-weight: 850;
}

.lead-form {
  display: grid;
  gap: 16px;
  padding: clamp(22px, 4vw, 32px);
  border: 1px solid var(--line);
  border-radius: 18px;
  background: var(--white);
  box-shadow: var(--shadow);
}

.lead-form label {
  display: grid;
  gap: 8px;
  color: var(--ink-2);
  font-size: 0.9rem;
  font-weight: 760;
}

.checkbox-label {
  grid-template-columns: 20px 1fr;
  align-items: start;
}

.checkbox-label input {
  min-height: auto;
  margin-top: 3px;
}

input,
select {
  width: 100%;
  min-height: 48px;
  border: 1px solid var(--line);
  border-radius: 10px;
  background: var(--paper);
  color: var(--ink);
  padding: 11px 12px;
}

input:focus,
select:focus,
.button:focus-visible,
a:focus-visible,
.nav-toggle:focus-visible {
  outline: 3px solid rgba(47, 106, 82, 0.28);
  outline-offset: 3px;
}

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

.form-note.success {
  color: var(--green);
  font-weight: 760;
}

.site-footer {
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 28px;
  align-items: center;
  padding: 42px clamp(20px, 5vw, 72px);
  background: var(--green-dark);
  color: var(--white);
}

.site-footer .wordmark {
  color: var(--white);
}

.site-footer p {
  max-width: 640px;
  margin: 10px 0 0;
  color: rgba(255, 255, 255, 0.7);
}

.site-footer nav {
  display: flex;
  flex-wrap: wrap;
  justify-content: flex-end;
  gap: 16px;
  color: rgba(255, 255, 255, 0.84);
  font-size: 0.92rem;
  font-weight: 700;
}

.legal-header {
  padding-top: 110px;
  background: var(--green-dark);
  color: var(--white);
}

.legal-page {
  width: min(920px, calc(100% - 40px));
  margin: 0 auto;
  padding: 78px 0 100px;
}

.legal-page h1 {
  color: var(--white);
  font-size: clamp(2.7rem, 7vw, 5.8rem);
}

.legal-card {
  margin-top: 28px;
  padding: clamp(24px, 5vw, 44px);
  border-radius: 18px;
  background: var(--white);
  color: var(--ink);
  box-shadow: var(--shadow);
}

.legal-card h2 {
  margin-top: 34px;
  font-size: clamp(1.6rem, 3vw, 2.4rem);
}

.legal-card h2:first-child {
  margin-top: 0;
}

.legal-card a {
  color: var(--green);
  font-weight: 760;
}

@media (max-width: 1060px) {
  .feature-grid,
  .trust-cards,
  .feature-gallery {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .title-row,
  .showcase,
  .website-section,
  .migration-section,
  .trust-section,
  .demo-section,
  .insight-grid {
    grid-template-columns: 1fr;
  }

  .insight-card.wide {
    min-height: 320px;
  }
}

@media (max-width: 760px) {
  .site-header {
    padding: 14px 20px;
  }

  .nav-toggle {
    display: block;
  }

  .site-nav {
    position: fixed;
    top: 66px;
    right: 16px;
    left: 16px;
    display: none;
    flex-direction: column;
    align-items: stretch;
    gap: 0;
    padding: 10px;
    border: 1px solid var(--line);
    border-radius: 18px;
    background: rgba(251, 250, 246, 0.98);
    box-shadow: var(--shadow);
  }

  .site-nav.open {
    display: flex;
  }

  .site-nav a {
    padding: 14px;
  }

  .nav-cta {
    text-align: center;
  }

  .hero {
    min-height: 78svh;
    padding: 118px 20px 92px;
  }

  h1 {
    font-size: clamp(3rem, 16vw, 4.8rem);
  }

  .anchor-bar {
    justify-content: flex-start;
    top: 66px;
  }

  .feature-grid,
  .mini-showcases,
  .trust-cards,
  .feature-gallery {
    grid-template-columns: 1fr;
  }

  .website-list div,
  .timeline li {
    grid-template-columns: 1fr;
  }

  .site-footer {
    grid-template-columns: 1fr;
  }

  .site-footer nav {
    justify-content: flex-start;
  }
}
