:root {
  color-scheme: light;
  --ink: #17211f;
  --muted: #5e6b67;
  --line: #d9e1dd;
  --paper: #f6f7f4;
  --panel: #ffffff;
  --green: #1f7a5b;
  --green-dark: #14523f;
  --coral: #c85844;
  --gold: #b8892c;
  --blue: #2f6173;
  --shadow: 0 22px 70px rgba(31, 45, 41, 0.12);
}

* {
  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;
}

a {
  color: inherit;
}

code {
  background: #edf2ef;
  border: 1px solid var(--line);
  border-radius: 6px;
  color: var(--green-dark);
  font-family: "SFMono-Regular", Consolas, monospace;
  font-size: 0.92em;
  padding: 0.12rem 0.34rem;
}

.site-header {
  align-items: center;
  background: rgba(246, 247, 244, 0.92);
  border-bottom: 1px solid rgba(217, 225, 221, 0.8);
  display: flex;
  justify-content: space-between;
  min-height: 72px;
  padding: 0 48px;
  position: sticky;
  top: 0;
  z-index: 10;
}

.brand {
  align-items: center;
  display: inline-flex;
  font-weight: 760;
  gap: 12px;
  min-width: 0;
  text-decoration: none;
}

.brand span:last-child {
  overflow-wrap: anywhere;
}

.brand-mark {
  align-items: center;
  background: var(--green);
  border-radius: 8px;
  color: #fff;
  display: inline-flex;
  height: 34px;
  justify-content: center;
  width: 34px;
}

nav {
  display: flex;
  gap: 24px;
}

nav a,
.policy-links a {
  color: var(--muted);
  font-size: 0.94rem;
  font-weight: 650;
  text-decoration: none;
}

nav a:hover,
.policy-links a:hover {
  color: var(--green);
}

.hero {
  align-items: center;
  display: grid;
  gap: 40px;
  grid-template-columns: minmax(0, 0.95fr) minmax(360px, 1.05fr);
  min-height: calc(100vh - 72px);
  padding: 74px 48px 64px;
}

.hero-copy,
.section,
.legal-page {
  max-width: 1180px;
}

.eyebrow {
  color: var(--coral);
  font-size: 0.78rem;
  font-weight: 800;
  letter-spacing: 0;
  margin: 0 0 12px;
  text-transform: uppercase;
}

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

h1 {
  font-size: clamp(2.6rem, 6vw, 5.8rem);
  letter-spacing: 0;
  line-height: 0.98;
  margin-bottom: 24px;
  max-width: 840px;
}

h2 {
  font-size: clamp(2rem, 4vw, 3.5rem);
  letter-spacing: 0;
  line-height: 1.05;
  margin-bottom: 18px;
}

h3 {
  font-size: 1.08rem;
  margin-bottom: 10px;
}

.lede {
  color: var(--muted);
  font-size: 1.16rem;
  max-width: 650px;
}

.hero-actions,
.callback-actions,
.test-box {
  align-items: center;
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
}

.button {
  align-items: center;
  background: var(--green);
  border: 1px solid var(--green);
  border-radius: 7px;
  color: #fff;
  display: inline-flex;
  font-weight: 760;
  justify-content: center;
  min-height: 44px;
  padding: 0 18px;
  text-decoration: none;
}

.button:hover {
  background: var(--green-dark);
}

.button.secondary {
  background: transparent;
  border-color: var(--line);
  color: var(--ink);
}

.button.secondary:hover {
  background: #eef3f0;
}

.hero-visual {
  min-height: 480px;
  position: relative;
}

.hero-visual::before {
  background:
    linear-gradient(135deg, rgba(255, 255, 255, 0.4), rgba(255, 255, 255, 0)),
    linear-gradient(45deg, rgba(31, 122, 91, 0.22), rgba(200, 88, 68, 0.18)),
    url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='1200' height='800' viewBox='0 0 1200 800'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='.9' numOctaves='2' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='1200' height='800' filter='url(%23n)' opacity='.14'/%3E%3C/svg%3E");
  border: 1px solid rgba(255, 255, 255, 0.58);
  border-radius: 8px;
  box-shadow: var(--shadow);
  content: "";
  inset: 0;
  position: absolute;
}

.screen {
  background: rgba(255, 255, 255, 0.9);
  border: 1px solid rgba(217, 225, 221, 0.9);
  border-radius: 8px;
  box-shadow: 0 18px 55px rgba(23, 33, 31, 0.14);
  left: 7%;
  padding: 20px;
  position: absolute;
  right: 7%;
  top: 12%;
}

.screen-top {
  display: flex;
  gap: 7px;
  margin-bottom: 20px;
}

.screen-top span {
  background: var(--line);
  border-radius: 50%;
  height: 10px;
  width: 10px;
}

.metrics {
  display: grid;
  gap: 12px;
  grid-template-columns: repeat(3, 1fr);
  margin-bottom: 18px;
}

.metrics div,
.flow,
.chart {
  background: #f7faf8;
  border: 1px solid var(--line);
  border-radius: 8px;
}

.metrics div {
  padding: 14px;
}

.metrics strong,
.metrics span {
  display: block;
}

.metrics span {
  color: var(--green);
  font-size: 0.9rem;
  font-weight: 760;
}

.flow {
  align-items: center;
  display: grid;
  gap: 10px;
  grid-template-columns: 1fr 40px 1fr 40px 1fr;
  margin-bottom: 18px;
  padding: 18px;
  text-align: center;
}

.flow span {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 7px;
  color: var(--muted);
  font-weight: 720;
  min-height: 38px;
  padding: 7px;
}

.flow i {
  background: var(--gold);
  display: block;
  height: 2px;
  position: relative;
}

.flow i::after {
  border-bottom: 5px solid transparent;
  border-left: 7px solid var(--gold);
  border-top: 5px solid transparent;
  content: "";
  position: absolute;
  right: -1px;
  top: -4px;
}

.chart {
  align-items: end;
  display: flex;
  gap: 14px;
  height: 150px;
  padding: 18px;
}

.chart b {
  background: linear-gradient(180deg, var(--blue), var(--green));
  border-radius: 5px 5px 0 0;
  flex: 1;
}

.section {
  margin: 0 auto;
  padding: 86px 48px;
}

.section-heading {
  max-width: 820px;
}

.content-grid {
  display: grid;
  gap: 18px;
  grid-template-columns: repeat(3, 1fr);
  margin-top: 30px;
}

.content-grid article,
.test-box {
  background: var(--panel);
  border: 1px solid var(--line);
  border-radius: 8px;
  box-shadow: 0 10px 28px rgba(23, 33, 31, 0.05);
  padding: 24px;
}

.content-grid p,
.split-section p,
.contact-section p,
.test-box p,
.legal-page p {
  color: var(--muted);
}

.split-section {
  align-items: start;
  display: grid;
  gap: 52px;
  grid-template-columns: 0.9fr 1.1fr;
}

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

.capability-list div {
  align-items: start;
  border-bottom: 1px solid var(--line);
  display: grid;
  gap: 24px;
  grid-template-columns: 54px 1fr;
  padding: 22px 0;
}

.capability-list span {
  color: var(--gold);
  font-weight: 820;
}

.capability-list p {
  font-size: 1.05rem;
  margin-bottom: 0;
}

.callback-demo {
  border-bottom: 1px solid var(--line);
  border-top: 1px solid var(--line);
}

.test-box {
  justify-content: space-between;
  margin-top: 26px;
}

.test-box div {
  flex: 1 1 340px;
}

.test-box p {
  margin-bottom: 0;
}

.contact-section {
  align-items: end;
  display: flex;
  justify-content: space-between;
}

.policy-links {
  display: flex;
  gap: 18px;
}

.site-footer {
  align-items: center;
  border-top: 1px solid var(--line);
  color: var(--muted);
  display: flex;
  font-size: 0.9rem;
  justify-content: space-between;
  padding: 28px 48px;
}

.legal-page {
  margin: 0 auto;
  padding: 78px 48px;
}

.legal-page h1 {
  font-size: clamp(2.4rem, 5vw, 4.5rem);
}

.legal-page h2 {
  font-size: 1.3rem;
  margin-top: 34px;
}

.callback-shell {
  align-items: center;
  display: flex;
  min-height: 100vh;
  padding: 32px;
}

.callback-panel {
  background: var(--panel);
  border: 1px solid var(--line);
  border-radius: 8px;
  box-shadow: var(--shadow);
  margin: 0 auto;
  max-width: 820px;
  padding: 42px;
  width: 100%;
}

.callback-panel h1 {
  font-size: clamp(2rem, 5vw, 4rem);
}

.callback-table {
  border-collapse: collapse;
  margin: 28px 0;
  width: 100%;
}

.callback-table th,
.callback-table td {
  border-bottom: 1px solid var(--line);
  padding: 13px 0;
  text-align: left;
  vertical-align: top;
}

.callback-table th {
  color: var(--muted);
  font-size: 0.88rem;
  width: 170px;
}

@media (max-width: 860px) {
  .site-header {
    align-items: flex-start;
    flex-direction: column;
    gap: 14px;
    padding: 18px 22px;
    position: static;
  }

  nav {
    flex-wrap: wrap;
    gap: 14px;
  }

  .hero,
  .split-section,
  .content-grid {
    grid-template-columns: 1fr;
  }

  .hero {
    min-height: auto;
    padding: 54px 22px;
  }

  .hero-visual {
    min-height: 380px;
  }

  .section,
  .legal-page {
    padding: 58px 22px;
  }

  .metrics,
  .flow {
    grid-template-columns: 1fr;
  }

  .flow i {
    height: 22px;
    margin: 0 auto;
    width: 2px;
  }

  .flow i::after {
    border-left: 5px solid transparent;
    border-right: 5px solid transparent;
    border-top: 7px solid var(--gold);
    bottom: -1px;
    left: -4px;
    right: auto;
    top: auto;
  }

  .contact-section,
  .site-footer {
    align-items: flex-start;
    flex-direction: column;
    gap: 16px;
  }

  .site-footer {
    padding: 24px 22px;
  }
}
