:root {
  color-scheme: light;
  --background: #f7fbf8;
  --surface: #ffffff;
  --text: #112018;
  --muted: #5b6b62;
  --forest: #174f38;
  --emerald: #16825c;
  --leaf: rgb(22, 163, 74);
  --mint: #dff3e8;
  --line: rgba(23, 79, 56, .16);
  --shadow: 0 24px 64px rgba(23, 79, 56, .11);
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body { margin: 0; color: var(--text); background: var(--background); font-family: "DM Sans", Arial, sans-serif; }
a { color: inherit; }
button, a { -webkit-tap-highlight-color: transparent; }

.section-shell { width: min(1180px, calc(100% - 40px)); margin-inline: auto; }
.site-header { width: min(1280px, calc(100% - 40px)); min-height: 76px; display: flex; align-items: center; gap: 28px; margin-inline: auto; border-bottom: 1px solid var(--line); }
.brand { display: inline-flex; align-items: center; gap: 9px; margin-right: auto; font-weight: 700; text-decoration: none; }
.brand-mark { width: 31px; height: 31px; display: grid; place-items: center; color: #fff; background: linear-gradient(135deg, var(--emerald), var(--leaf)); border-radius: 50%; font-family: "DM Serif Display", serif; }
.site-nav { display: flex; gap: 26px; }
.site-nav a { color: var(--muted); text-decoration: none; }
.site-nav a:hover, .site-nav a:focus-visible { color: var(--forest); }

.button { min-height: 48px; display: inline-flex; align-items: center; justify-content: center; padding: 0 23px; color: #fff; background: linear-gradient(135deg, var(--forest), var(--emerald)); border: 1px solid transparent; border-radius: 999px; box-shadow: 0 14px 28px rgba(22, 130, 92, .18); font-weight: 700; text-decoration: none; transition: transform .2s ease, box-shadow .2s ease; }
.button:hover { transform: translateY(-2px); box-shadow: 0 18px 34px rgba(22, 130, 92, .24); }
.button-small { min-height: 42px; padding-inline: 19px; }
.button-secondary { color: var(--forest); background: transparent; border-color: var(--line); box-shadow: none; }

.hero { position: relative; display: grid; grid-template-columns: minmax(0, 1.06fr) minmax(330px, .94fr); gap: clamp(40px, 7vw, 92px); align-items: center; padding-block: clamp(68px, 10vw, 124px); }
.hero::before { content: ""; position: absolute; width: 520px; height: 520px; right: -180px; top: -120px; z-index: -1; border-radius: 50%; background: radial-gradient(circle, rgba(22, 163, 74, .2), rgba(22, 130, 92, .08) 42%, transparent 70%); }
.eyebrow, .section-label { margin: 0; color: var(--muted); font-size: .76rem; font-weight: 700; letter-spacing: .16em; text-transform: uppercase; }
h1, h2, h3 { font-family: "DM Serif Display", Georgia, serif; font-weight: 400; }
h1 { max-width: 720px; margin: 14px 0 22px; font-size: clamp(3.4rem, 7.2vw, 7rem); line-height: .94; letter-spacing: -.035em; }
h1 em { color: var(--emerald); font-weight: 400; }
.lead { max-width: 650px; margin: 0; color: var(--muted); font-size: clamp(1.05rem, 1.6vw, 1.25rem); line-height: 1.65; }
.hero-actions { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 30px; }
.proof-list { display: flex; flex-wrap: wrap; gap: 20px; margin: 34px 0 0; padding: 0; color: var(--muted); list-style: none; }
.proof-list li::before { content: "✓"; margin-right: 7px; color: var(--emerald); font-weight: 700; }

.preview-card { overflow: hidden; background: var(--surface); border: 1px solid var(--line); border-radius: 18px; box-shadow: var(--shadow); }
.browser-bar { min-height: 46px; display: flex; align-items: center; gap: 6px; padding: 0 16px; border-bottom: 1px solid var(--line); }
.browser-bar > span { width: 8px; height: 8px; background: rgba(23, 79, 56, .22); border-radius: 50%; }
.browser-bar p { margin: 0 0 0 8px; color: var(--muted); font-size: .82rem; }
.preview-body { min-height: 390px; display: grid; grid-template-rows: 1fr auto; padding: 32px; background: linear-gradient(145deg, rgba(22, 163, 74, .16), rgba(22, 130, 92, .13), rgba(23, 79, 56, .08)); }
.preview-copy { align-self: center; }
.preview-copy h2 { margin: 10px 0 13px; font-size: clamp(2.3rem, 4.2vw, 4.1rem); line-height: 1; }
.preview-copy > p:last-child { margin: 0; color: var(--muted); line-height: 1.6; }
.preview-footer { display: flex; align-items: center; justify-content: space-between; gap: 18px; padding-top: 20px; border-top: 1px solid var(--line); font-weight: 700; }
.preview-mark { width: 58px; height: 58px; display: grid; place-items: center; flex: 0 0 auto; color: #fff; background: linear-gradient(135deg, var(--forest), var(--emerald), var(--leaf)); border-radius: 50%; font-family: "DM Serif Display", serif; }
.preview-tabs { display: flex; flex-wrap: wrap; justify-content: center; gap: 9px; padding-bottom: 48px; }
.tab { min-height: 41px; padding: 0 18px; color: var(--forest); background: transparent; border: 1px solid var(--line); border-radius: 999px; cursor: pointer; font: inherit; font-weight: 700; }
.tab.is-active { color: #fff; background: var(--forest); }

.service-band { display: flex; flex-wrap: wrap; justify-content: center; gap: 24px; padding: 21px 20px; color: var(--muted); border-block: 1px solid var(--line); }
.service-band strong { color: var(--text); }
.content-section { padding-block: clamp(70px, 9vw, 110px); }
.section-heading { display: flex; align-items: end; justify-content: space-between; gap: 44px; margin-bottom: 38px; }
.section-heading h2, .contact-section h2 { max-width: 720px; margin: 9px 0 0; font-size: clamp(2.5rem, 5vw, 5rem); line-height: 1; }
.section-heading > p { max-width: 420px; margin: 0; color: var(--muted); line-height: 1.65; }
.demo-grid { display: grid; grid-template-columns: 1.2fr .8fr .8fr; gap: 18px; }
.demo-card { min-height: 310px; display: flex; flex-direction: column; justify-content: space-between; padding: 26px; color: var(--text); background: rgba(22, 130, 92, .09); border: 1px solid transparent; border-radius: 16px; text-decoration: none; transition: transform .2s ease, border-color .2s ease; }
.demo-card:nth-child(2) { background: rgba(22, 163, 74, .14); }
.demo-card:nth-child(3) { background: rgba(23, 79, 56, .1); }
.demo-card:hover { transform: translateY(-4px); border-color: var(--line); }
.demo-number { align-self: end; color: var(--muted); }
.demo-card h3 { margin: 9px 0; font-size: clamp(1.8rem, 3vw, 3rem); line-height: 1.04; }
.demo-card p:not(.section-label) { margin: 0; color: var(--muted); line-height: 1.55; }
.demo-link { display: inline-block; margin-top: 22px; color: var(--forest); font-weight: 700; }

.process-section { padding-block: clamp(72px, 9vw, 112px); background: linear-gradient(120deg, rgba(22, 130, 92, .09), rgba(22, 163, 74, .11)); }
.steps-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 28px; }
.steps-grid article { padding-top: 22px; border-top: 2px solid var(--line); }
.steps-grid strong { color: var(--emerald); }
.steps-grid h3 { margin: 15px 0 7px; font-size: 1.75rem; }
.steps-grid p { margin: 0; color: var(--muted); line-height: 1.6; }

.contact-section { display: grid; grid-template-columns: 1fr .85fr; align-items: start; gap: clamp(30px, 6vw, 64px); padding: clamp(72px, 9vw, 110px) max(20px, calc((100% - 1180px) / 2)); color: #fff; background: linear-gradient(115deg, var(--forest), var(--emerald) 58%, color-mix(in srgb, var(--leaf) 25%, var(--forest))); }
.contact-section .section-label { color: rgba(255, 255, 255, .72); }
.contact-links { display: grid; gap: 12px; margin-top: 28px; }
.contact-links a { font-weight: 700; text-underline-offset: 5px; }

.contact-form { display: grid; gap: 14px; padding: 28px; background: rgba(255, 255, 255, .08); border: 1px solid rgba(255, 255, 255, .22); border-radius: 18px; backdrop-filter: blur(6px); }
.contact-form .section-label { color: rgba(255, 255, 255, .72); }
.contact-form label { display: grid; gap: 6px; font-size: .82rem; font-weight: 700; }
.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; }
.contact-form input, .contact-form select, .contact-form textarea { min-height: 46px; padding: 0 14px; color: #fff; background: rgba(255, 255, 255, .1); border: 1px solid rgba(255, 255, 255, .3); border-radius: 10px; font: inherit; font-weight: 400; }
.contact-form textarea { min-height: 88px; padding: 12px 14px; resize: vertical; }
.contact-form input::placeholder, .contact-form textarea::placeholder { color: rgba(255, 255, 255, .55); }
.contact-form select { color-scheme: dark; }
.contact-form select option { color: var(--text); }
.contact-form input:focus-visible, .contact-form select:focus-visible, .contact-form textarea:focus-visible { outline: 2px solid #fff; outline-offset: 1px; }
.button-light { color: var(--forest); background: #fff; box-shadow: none; justify-self: start; }
.button-light:hover { box-shadow: 0 14px 28px rgba(0, 0, 0, .18); }
.form-note { min-height: 1.2em; margin: 0; color: rgba(255, 255, 255, .85); font-size: .82rem; font-weight: 400; text-transform: none; letter-spacing: normal; }
.site-footer { display: flex; flex-wrap: wrap; gap: 18px; padding: 23px max(20px, calc((100% - 1180px) / 2)); color: rgba(255, 255, 255, .78); background: var(--forest); border-top: 1px solid rgba(255, 255, 255, .18); }
.site-footer span:last-child { margin-left: auto; }

@media (max-width: 820px) {
  .site-nav { display: none; }
  .hero, .demo-grid, .steps-grid, .contact-section, .form-row { grid-template-columns: 1fr; }
  .hero { padding-block: 58px; }
  .section-heading { align-items: start; flex-direction: column; }
}

@media (max-width: 560px) {
  .section-shell, .site-header { width: min(100% - 28px, 1180px); }
  .site-header .button { display: none; }
  h1 { font-size: clamp(3rem, 17vw, 4.5rem); }
  .preview-body { min-height: 340px; padding: 24px; }
  .service-band { gap: 14px 20px; }
  .site-footer span:last-child { margin-left: 0; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .button, .demo-card { transition: none; }
}
