:root {
  --bg: #f7faf9;
  --surface: #ffffff;
  --ink: #172422;
  --muted: #63706d;
  --line: #dfe8e5;
  --teal: #0b8f86;
  --teal-dark: #077068;
  --coral: #ff7f68;
  --shadow: 0 28px 80px rgba(16, 49, 45, 0.16);
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  min-height: 100vh;
  font-family: Inter, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  color: var(--ink);
  background:
    radial-gradient(circle at 8% 12%, rgba(255, 127, 104, 0.14), transparent 28rem),
    radial-gradient(circle at 84% 5%, rgba(11, 143, 134, 0.14), transparent 32rem),
    var(--bg);
}

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

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

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

.brand {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  font-size: 20px;
  font-weight: 800;
}

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

.brand-mark span {
  display: block;
  width: 4px;
  border-radius: 999px;
  background: currentColor;
}

.brand-mark span:nth-child(1) { height: 10px; }
.brand-mark span:nth-child(2) { height: 18px; }
.brand-mark span:nth-child(3) { height: 13px; }

.nav-links {
  display: flex;
  align-items: center;
  gap: 24px;
  color: var(--muted);
  font-size: 14px;
  font-weight: 700;
}

.nav-links a:hover {
  color: var(--ink);
}

.hero {
  position: relative;
  display: grid;
  grid-template-columns: minmax(0, 1fr) 420px;
  gap: 64px;
  align-items: center;
  width: min(1120px, calc(100% - 40px));
  min-height: calc(100vh - 92px);
  margin: 0 auto;
  padding: 56px 0 72px;
}

.hero::before {
  content: "";
  position: absolute;
  inset: 6% 30% auto -8%;
  height: 310px;
  pointer-events: none;
  opacity: 0.78;
  background:
    linear-gradient(90deg, transparent, rgba(11, 143, 134, 0.18), transparent),
    repeating-linear-gradient(90deg, rgba(11, 143, 134, 0), rgba(11, 143, 134, 0) 18px, rgba(11, 143, 134, 0.22) 19px, rgba(11, 143, 134, 0.22) 21px, rgba(11, 143, 134, 0) 23px),
    radial-gradient(ellipse at center, rgba(255, 255, 255, 0.88), rgba(255, 255, 255, 0));
  mask-image: linear-gradient(to bottom, transparent, #000 20%, #000 70%, transparent);
  transform: skewY(-5deg);
}

.hero-copy,
.lead-panel {
  position: relative;
  z-index: 1;
}

.hero-copy {
  max-width: 650px;
}

.hero h1 {
  margin: 0;
  max-width: 780px;
  font-size: clamp(46px, 7vw, 82px);
  line-height: 0.94;
  letter-spacing: 0;
}

.hero-copy p {
  max-width: 560px;
  margin: 28px 0 0;
  color: var(--muted);
  font-size: 20px;
  line-height: 1.55;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
  margin-top: 34px;
}

.primary-link,
.secondary-link {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 48px;
  padding: 0 20px;
  border-radius: 8px;
  font-size: 15px;
  font-weight: 800;
}

.primary-link {
  color: #fff;
  background: var(--teal);
}

.primary-link:hover {
  background: var(--teal-dark);
}

.secondary-link {
  color: var(--ink);
  background: rgba(255, 255, 255, 0.72);
  border: 1px solid var(--line);
}

.lead-panel {
  padding: 28px;
  background: rgba(255, 255, 255, 0.9);
  border: 1px solid rgba(255, 255, 255, 0.76);
  border-radius: 8px;
  box-shadow: var(--shadow);
  backdrop-filter: blur(18px);
}

.panel-heading h2 {
  margin: 0;
  font-size: 28px;
  line-height: 1.1;
}

.panel-heading p {
  margin: 9px 0 0;
  color: var(--muted);
  font-size: 14px;
  line-height: 1.45;
}

.lead-form {
  display: grid;
  gap: 10px;
  margin-top: 24px;
}

.lead-form label {
  display: flex;
  justify-content: space-between;
  gap: 10px;
  margin-top: 8px;
  color: #34413f;
  font-size: 13px;
  font-weight: 800;
}

.lead-form label span {
  color: var(--muted);
  font-weight: 600;
}

.lead-form input {
  width: 100%;
  min-height: 48px;
  padding: 0 14px;
  color: var(--ink);
  background: #f8fbfa;
  border: 1px solid var(--line);
  border-radius: 8px;
  font: inherit;
  font-size: 15px;
  outline: none;
}

.lead-form input:focus {
  border-color: var(--teal);
  box-shadow: 0 0 0 4px rgba(11, 143, 134, 0.12);
}

.lead-form button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  width: 100%;
  min-height: 52px;
  margin-top: 14px;
  color: #fff;
  background: var(--ink);
  border: 0;
  border-radius: 8px;
  font: inherit;
  font-size: 15px;
  font-weight: 800;
  cursor: pointer;
}

.lead-form button:hover {
  background: #233432;
}

.lead-form button:disabled {
  cursor: wait;
  opacity: 0.72;
}

.lead-form button svg {
  width: 20px;
  height: 20px;
}

.form-status {
  min-height: 22px;
  margin: 12px 0 0;
  color: var(--muted);
  font-size: 14px;
  line-height: 1.45;
}

.form-status.success {
  color: var(--teal-dark);
}

.form-status.error {
  color: #b44b39;
}

.honeypot {
  position: absolute;
  left: -9999px;
}

.use-cases {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 18px;
  width: min(1120px, calc(100% - 40px));
  margin: -18px auto 0;
  padding: 0 0 68px;
}

.use-cases article {
  min-height: 168px;
  padding: 26px;
  background: rgba(255, 255, 255, 0.78);
  border: 1px solid var(--line);
  border-radius: 8px;
}

.use-cases svg {
  width: 34px;
  height: 34px;
  color: var(--teal);
}

.use-cases h2 {
  margin: 20px 0 8px;
  font-size: 18px;
  line-height: 1.2;
}

.use-cases p {
  margin: 0;
  color: var(--muted);
  font-size: 15px;
  line-height: 1.5;
}

.site-footer {
  display: flex;
  justify-content: space-between;
  gap: 20px;
  padding: 26px 0 34px;
  color: var(--muted);
  border-top: 1px solid var(--line);
  font-size: 14px;
}

.site-footer span {
  color: var(--ink);
  font-weight: 800;
}

@media (max-width: 900px) {
  .hero {
    grid-template-columns: 1fr;
    gap: 36px;
    min-height: auto;
    padding-top: 52px;
  }

  .hero h1 {
    font-size: clamp(44px, 12vw, 68px);
  }

  .lead-panel {
    max-width: 520px;
  }

  .use-cases {
    grid-template-columns: 1fr;
    margin-top: 0;
  }
}

@media (max-width: 560px) {
  .site-header,
  .site-footer,
  .hero,
  .use-cases {
    width: min(100% - 28px, 1120px);
  }

  .site-header {
    padding-top: 20px;
  }

  .nav-links {
    gap: 14px;
    font-size: 13px;
  }

  .hero {
    padding: 44px 0 48px;
  }

  .hero h1 {
    font-size: 42px;
    line-height: 0.98;
  }

  .hero-copy p {
    font-size: 17px;
  }

  .hero-actions {
    display: grid;
  }

  .lead-panel {
    padding: 22px;
  }

  .site-footer {
    flex-direction: column;
  }
}
