:root {
  color-scheme: light;
  --bg: #fbf7f0;
  --surface: #fffdf8;
  --surface-strong: #ffffff;
  --ink: #1f2933;
  --muted: #5b6673;
  --line: #ddd4c8;
  --accent: #1d6f67;
  --accent-dark: #114d48;
  --accent-soft: #dcefed;
  --shadow: 0 18px 42px rgba(31, 41, 51, 0.12);
  --radius: 8px;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  background:
    radial-gradient(circle at top left, rgba(29, 111, 103, 0.12), transparent 32rem),
    var(--bg);
  color: var(--ink);
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
  line-height: 1.6;
}

a {
  color: var(--accent-dark);
  text-underline-offset: 0.18em;
}

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

a:focus-visible {
  outline: 3px solid rgba(29, 111, 103, 0.35);
  outline-offset: 4px;
  border-radius: 4px;
}

.site-header,
main,
.site-footer {
  width: min(1120px, calc(100% - 32px));
  margin-inline: auto;
}

.site-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  padding: 22px 0;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  color: var(--ink);
  text-decoration: none;
}

.brand-mark {
  display: grid;
  width: 38px;
  height: 38px;
  place-items: center;
  border-radius: var(--radius);
  background: var(--accent-dark);
  color: #ffffff;
  font-weight: 800;
}

.brand-name,
.brand-subtitle {
  display: block;
}

.brand-name {
  font-weight: 800;
  line-height: 1.1;
}

.brand-subtitle {
  color: var(--muted);
  font-size: 0.86rem;
}

.nav-links,
.footer-links {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 18px;
}

.nav-links a,
.footer-links a {
  font-size: 0.95rem;
  font-weight: 650;
  text-decoration: none;
}

.button {
  display: inline-flex;
  min-height: 48px;
  align-items: center;
  justify-content: center;
  border-radius: var(--radius);
  background: var(--accent-dark);
  color: #ffffff;
  font-weight: 800;
  padding: 0 20px;
  text-decoration: none;
  box-shadow: 0 12px 24px rgba(17, 77, 72, 0.22);
}

.button:hover {
  background: var(--accent);
  color: #ffffff;
}

.button-small {
  min-height: 42px;
  padding: 0 16px;
}

.hero {
  display: grid;
  grid-template-columns: minmax(0, 1.03fr) minmax(320px, 0.97fr);
  gap: 44px;
  align-items: center;
  padding: 74px 0 58px;
}

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

h1,
h2,
h3,
p {
  overflow-wrap: anywhere;
}

h1,
h2,
h3 {
  margin: 0;
  line-height: 1.1;
}

h1 {
  max-width: 760px;
  font-size: 4.6rem;
}

h2 {
  font-size: 2.7rem;
}

h3 {
  font-size: 1.1rem;
}

.hero-text {
  max-width: 690px;
  margin: 24px 0 0;
  color: var(--muted);
  font-size: 1.18rem;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 16px;
  align-items: center;
  margin-top: 30px;
}

.trust-line {
  margin: 0;
  color: var(--accent-dark);
  font-weight: 800;
}

.demo-shell {
  border: 1px solid rgba(17, 77, 72, 0.18);
  border-radius: var(--radius);
  background: linear-gradient(135deg, var(--surface-strong), var(--accent-soft));
  box-shadow: var(--shadow);
  padding: 18px;
}

.demo-shell-live {
  display: grid;
  gap: 12px;
}

.demo-caption {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
}

.hero-demo-frame {
  display: block;
  width: 100%;
  aspect-ratio: 16 / 9;
  min-height: 360px;
  overflow: hidden;
  border: 1px solid rgba(17, 77, 72, 0.16);
  border-radius: var(--radius);
  background: var(--surface-strong);
}

.demo-fallback {
  margin: 0;
  color: var(--muted);
  font-weight: 700;
}

.demo-placeholder {
  display: grid;
  min-height: 360px;
  place-items: center;
  align-content: center;
  gap: 8px;
  border: 1px dashed rgba(17, 77, 72, 0.38);
  border-radius: var(--radius);
  background:
    linear-gradient(90deg, rgba(255, 255, 255, 0.64), rgba(255, 255, 255, 0.2)),
    repeating-linear-gradient(0deg, transparent 0 38px, rgba(17, 77, 72, 0.06) 38px 39px);
  padding: 28px;
  text-align: center;
}

.demo-title {
  margin: 0;
  font-size: 1.35rem;
  font-weight: 800;
}

.muted {
  max-width: 360px;
  margin: 0;
  color: var(--muted);
}

.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  clip-path: inset(50%);
}

.section {
  padding: 72px 0;
  border-top: 1px solid rgba(221, 212, 200, 0.9);
}

.section-heading {
  max-width: 760px;
  margin-bottom: 28px;
}

.section-heading p,
.split-section p,
.pilot-cta p,
.contact-section p,
.trust-note {
  color: var(--muted);
}

.card-grid {
  display: grid;
  gap: 18px;
}

.three-up {
  grid-template-columns: repeat(3, minmax(0, 1fr));
}

.two-up {
  grid-template-columns: repeat(2, minmax(0, 1fr));
}

.card,
.pilot-section,
.contact-section {
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: rgba(255, 253, 248, 0.88);
  box-shadow: 0 12px 28px rgba(31, 41, 51, 0.06);
}

.card {
  min-width: 0;
  padding: 24px;
}

.card p {
  margin: 12px 0 0;
  color: var(--muted);
}

.compact {
  padding: 22px;
}

.step-number {
  display: inline-grid;
  width: 34px;
  height: 34px;
  place-items: center;
  margin-bottom: 18px;
  border-radius: 50%;
  background: var(--accent-soft);
  color: var(--accent-dark);
  font-weight: 800;
}

.split-section {
  display: grid;
  grid-template-columns: minmax(0, 0.9fr) minmax(280px, 1.1fr);
  gap: 42px;
  align-items: start;
}

.check-list,
.feature-list {
  display: grid;
  gap: 12px;
  margin: 0;
  padding: 0;
  list-style: none;
}

.check-list li,
.feature-list li {
  position: relative;
  padding-left: 30px;
}

.check-list li::before,
.feature-list li::before {
  position: absolute;
  left: 0;
  top: 0.1em;
  color: var(--accent-dark);
  content: "\2713";
  font-weight: 900;
}

.pilot-section,
.contact-section {
  padding: 34px;
}

.pilot-layout {
  display: grid;
  grid-template-columns: minmax(260px, 0.8fr) minmax(280px, 1fr);
  gap: 34px;
  align-items: center;
}

.pilot-cta {
  padding: 26px;
  border-radius: var(--radius);
  background: var(--surface-strong);
}

.trust-note {
  margin: 22px 0 0;
  font-weight: 700;
}

.contact-section {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 28px;
  margin-bottom: 64px;
}

.site-footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 22px;
  padding: 28px 0 36px;
  border-top: 1px solid rgba(221, 212, 200, 0.9);
  color: var(--muted);
}

.site-footer strong,
.site-footer span {
  display: block;
}

.legal-main {
  max-width: 880px;
  padding: 54px 0 72px;
}

.legal-header {
  padding-bottom: 28px;
  border-bottom: 1px solid var(--line);
}

.legal-header h1 {
  font-size: clamp(2.5rem, 8vw, 4.2rem);
}

.legal-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 8px 24px;
  margin: 18px 0 0;
  color: var(--muted);
}

.legal-document {
  margin-top: 28px;
  padding: 30px clamp(20px, 5vw, 42px);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--surface);
  box-shadow: 0 12px 28px rgba(31, 41, 51, 0.06);
}

.legal-document h2 {
  margin: 38px 0 14px;
  font-size: clamp(1.55rem, 5vw, 2rem);
}

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

.legal-document p,
.legal-document li {
  color: var(--muted);
}

.legal-document ul {
  padding-left: 1.35rem;
}

.legal-document li + li {
  margin-top: 8px;
}

@media (max-width: 900px) {
  .site-header {
    align-items: flex-start;
    flex-wrap: wrap;
  }

  .nav-links {
    order: 3;
    width: 100%;
  }

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

  .hero {
    padding-top: 48px;
  }

  h1 {
    font-size: 3.5rem;
  }

  h2 {
    font-size: 2.35rem;
  }

  .three-up,
  .two-up {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 560px) {
  .site-header,
  main,
  .site-footer {
    width: min(100% - 24px, 1120px);
  }

  .site-header,
  .contact-section,
  .site-footer {
    align-items: stretch;
    flex-direction: column;
  }

  .nav-links,
  .footer-links {
    gap: 12px 16px;
  }

  .button {
    width: 100%;
  }

  .hero-actions {
    align-items: stretch;
    flex-direction: column;
  }

  .demo-placeholder {
    min-height: 260px;
  }

  .demo-shell {
    padding: 12px;
  }

  .hero-demo-frame {
    min-height: 360px;
  }

  .pilot-section,
  .contact-section {
    padding: 24px;
  }

  .section {
    padding: 52px 0;
  }

  .legal-main {
    padding-top: 34px;
  }

  h1 {
    font-size: 2.6rem;
  }

  h2 {
    font-size: 2rem;
  }
}
