:root {
  --bg: #ffffff;
  --surface: #ffffff;
  --surface-soft: #f7f9ff;
  --surface-mint: #f1fff9;
  --surface-yellow: #fff9e7;
  --text: #111827;
  --muted: #5d6474;
  --muted-2: #7b8392;
  --line: #e7ebf3;
  --blue: #2563ff;
  --cyan: #11c5d9;
  --violet: #7c3aed;
  --coral: #ff6b6b;
  --mint: #21c99a;
  --yellow: #ffc94a;
  --shadow: 0 24px 70px rgba(32, 44, 71, 0.12);
  --shadow-soft: 0 14px 40px rgba(32, 44, 71, 0.08);
  --radius-lg: 28px;
  --radius-md: 20px;
  --radius-sm: 14px;
  --container: 1160px;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  color: var(--text);
  background:
    radial-gradient(circle at 14% 8%, rgba(37, 99, 255, 0.13), transparent 28rem),
    radial-gradient(circle at 86% 14%, rgba(255, 107, 107, 0.13), transparent 22rem),
    linear-gradient(180deg, #ffffff 0%, #fbfcff 42%, #ffffff 100%);
  line-height: 1.5;
}

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

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

.container {
  width: min(var(--container), calc(100% - 40px));
  margin: 0 auto;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 20;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  padding: 16px min(32px, 5vw);
  background: rgba(255, 255, 255, 0.82);
  backdrop-filter: blur(18px);
  border-bottom: 1px solid rgba(231, 235, 243, 0.8);
}

.brand,
.nav,
.signal-row,
.hero-actions,
.footer-grid {
  display: flex;
  align-items: center;
}

.brand {
  gap: 10px;
  font-weight: 800;
  letter-spacing: -0.03em;
}

.brand-mark {
  display: grid;
  place-items: center;
  width: 36px;
  height: 36px;
  border-radius: 12px;
  color: #fff;
  background: linear-gradient(135deg, var(--blue), var(--violet), var(--coral));
  box-shadow: 0 12px 24px rgba(124, 58, 237, 0.22);
}

.nav {
  gap: 24px;
  color: var(--muted);
  font-size: 0.95rem;
}

.nav a:hover,
.header-cta:hover {
  color: var(--blue);
}

.header-cta {
  padding: 10px 16px;
  border-radius: 999px;
  color: var(--text);
  font-weight: 750;
  border: 1px solid var(--line);
  background: #fff;
  box-shadow: 0 10px 24px rgba(32, 44, 71, 0.06);
}

.section {
  padding: 96px 0;
}

.section-tight {
  padding: 72px 0 84px;
}

.hero-grid,
.split,
.trust-grid,
.demo-grid {
  display: grid;
  grid-template-columns: 1.02fr 0.98fr;
  gap: 56px;
  align-items: center;
}

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

.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 9px;
  margin: 0 0 16px;
  color: var(--blue);
  font-size: 0.82rem;
  font-weight: 800;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.eyebrow span {
  width: 9px;
  height: 9px;
  border-radius: 99px;
  background: linear-gradient(135deg, var(--blue), var(--coral));
  box-shadow: 0 0 0 7px rgba(37, 99, 255, 0.09);
}

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

h1 {
  margin-bottom: 22px;
  font-size: clamp(3rem, 7vw, 5.8rem);
  line-height: 0.94;
  letter-spacing: -0.08em;
  max-width: 820px;
}

h2 {
  margin-bottom: 18px;
  font-size: clamp(2rem, 4vw, 3.35rem);
  line-height: 1.02;
  letter-spacing: -0.06em;
}

h3 {
  margin-bottom: 10px;
  font-size: 1.18rem;
  letter-spacing: -0.03em;
}

.hero-subhead,
.section-heading p,
.problem-copy p,
.demo-copy p {
  color: var(--muted);
  font-size: 1.12rem;
}

.hero-subhead {
  max-width: 650px;
  margin-bottom: 28px;
}

.hero-actions {
  flex-wrap: wrap;
  gap: 14px;
  margin-bottom: 22px;
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 48px;
  padding: 13px 20px;
  border-radius: 999px;
  font-weight: 800;
  border: 1px solid transparent;
  transition: transform 180ms ease, box-shadow 180ms ease, border-color 180ms ease;
}

.btn:hover {
  transform: translateY(-2px);
}

.btn-primary {
  color: #fff;
  background: linear-gradient(135deg, var(--blue), var(--violet) 58%, var(--coral));
  box-shadow: 0 18px 38px rgba(37, 99, 255, 0.26);
}

.btn-secondary {
  color: var(--text);
  background: rgba(255, 255, 255, 0.8);
  border-color: var(--line);
  box-shadow: 0 12px 28px rgba(32, 44, 71, 0.07);
}

.signal-row {
  flex-wrap: wrap;
  gap: 10px;
  color: var(--muted);
  font-size: 0.92rem;
}

.signal-row span {
  padding: 8px 12px;
  border: 1px solid var(--line);
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.72);
}

.hero-visual {
  padding: 18px;
  border-radius: var(--radius-lg);
  background: linear-gradient(145deg, rgba(37, 99, 255, 0.12), rgba(255, 255, 255, 0.88), rgba(255, 107, 107, 0.12));
  box-shadow: var(--shadow);
}

.hero-visual img {
  border-radius: 22px;
}

.problem-section {
  background: linear-gradient(180deg, rgba(247, 249, 255, 0.45), rgba(255, 255, 255, 0));
}

.problem-copy {
  display: grid;
  gap: 10px;
}

.problem-copy p {
  margin-bottom: 0;
}

.pain-grid,
.card-grid,
.steps,
.use-case-grid,
.outcomes-grid {
  display: grid;
  gap: 18px;
}

.pain-grid {
  grid-template-columns: repeat(3, 1fr);
  margin-top: 36px;
}

.mini-card,
.feature-card,
.step-card,
.trust-list div,
.use-case-grid article,
.outcomes-grid div,
.demo-form {
  border: 1px solid var(--line);
  background: rgba(255, 255, 255, 0.88);
  box-shadow: var(--shadow-soft);
}

.mini-card {
  position: relative;
  overflow: hidden;
  padding: 22px;
  border-radius: var(--radius-md);
}

.mini-card::before {
  content: "";
  position: absolute;
  inset: 0 auto 0 0;
  width: 5px;
  background: var(--blue);
}

.mini-card.accent-violet::before { background: var(--violet); }
.mini-card.accent-coral::before { background: var(--coral); }

.mini-card strong,
.mini-card span {
  display: block;
}

.mini-card span {
  margin-top: 8px;
  color: var(--muted);
}

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

.section-heading.center {
  margin-left: auto;
  margin-right: auto;
  text-align: center;
}

.section-heading.compact {
  margin-bottom: 0;
}

.card-grid.four {
  grid-template-columns: repeat(4, 1fr);
}

.feature-card {
  padding: 24px;
  border-radius: var(--radius-lg);
}

.feature-card img {
  width: 86px;
  height: 86px;
  margin-bottom: 20px;
}

.feature-card p,
.step-card p,
.trust-list span,
.demo-note,
.form-microcopy,
.site-footer p,
.site-footer span {
  color: var(--muted);
}

.soft-section {
  background:
    linear-gradient(135deg, rgba(37, 99, 255, 0.07), rgba(33, 201, 154, 0.08)),
    var(--surface-soft);
}

.steps {
  grid-template-columns: repeat(3, 1fr);
}

.step-card {
  padding: 28px;
  border-radius: var(--radius-lg);
}

.step-number {
  display: inline-grid;
  place-items: center;
  width: 46px;
  height: 46px;
  margin-bottom: 22px;
  border-radius: 16px;
  color: #fff;
  font-weight: 900;
  background: linear-gradient(135deg, var(--blue), var(--cyan));
}

.step-card:nth-child(2) .step-number {
  background: linear-gradient(135deg, var(--violet), var(--coral));
}

.step-card:nth-child(3) .step-number {
  background: linear-gradient(135deg, var(--mint), var(--blue));
}

.trust-section {
  background: #fff;
}

.trust-grid {
  align-items: start;
}

.trust-list {
  display: grid;
  grid-template-columns: 1fr;
  gap: 12px;
}

.trust-list div {
  display: grid;
  gap: 4px;
  padding: 18px 20px;
  border-radius: 18px;
}

.trust-list strong::before {
  content: "";
  display: inline-block;
  width: 10px;
  height: 10px;
  margin-right: 10px;
  border-radius: 99px;
  background: linear-gradient(135deg, var(--blue), var(--mint));
}

.use-case-grid {
  grid-template-columns: repeat(5, 1fr);
}

.use-case-grid article,
.outcomes-grid div {
  min-height: 116px;
  display: flex;
  align-items: flex-end;
  padding: 20px;
  border-radius: var(--radius-md);
  font-weight: 800;
  letter-spacing: -0.03em;
}

.use-case-grid article:nth-child(1) { background: linear-gradient(145deg, #eef5ff, #fff); }
.use-case-grid article:nth-child(2) { background: linear-gradient(145deg, #f5efff, #fff); }
.use-case-grid article:nth-child(3) { background: linear-gradient(145deg, #fff0ef, #fff); }
.use-case-grid article:nth-child(4) { background: linear-gradient(145deg, #effff8, #fff); }
.use-case-grid article:nth-child(5) { background: linear-gradient(145deg, #fff8df, #fff); }

.outcomes-section {
  background:
    radial-gradient(circle at 0 0, rgba(255, 201, 74, 0.16), transparent 32rem),
    radial-gradient(circle at 100% 20%, rgba(17, 197, 217, 0.12), transparent 28rem),
    #fff;
}

.align-start {
  align-items: start;
}

.outcomes-grid {
  grid-template-columns: repeat(2, 1fr);
}

.outcomes-grid div {
  min-height: 92px;
  background: rgba(255, 255, 255, 0.9);
}

.outcomes-grid div:last-child {
  grid-column: span 2;
}

.demo-section {
  background:
    linear-gradient(180deg, #ffffff, #f7f9ff 100%);
}

.demo-grid {
  align-items: start;
}

.demo-note {
  margin-top: 24px;
  padding: 16px 18px;
  border-radius: 18px;
  border: 1px solid var(--line);
  background: #fff;
}

.demo-form {
  display: grid;
  gap: 10px;
  padding: 28px;
  border-radius: var(--radius-lg);
}

.demo-form label {
  color: #293140;
  font-size: 0.92rem;
  font-weight: 800;
}

.demo-form input,
.demo-form textarea {
  width: 100%;
  padding: 14px 15px;
  border: 1px solid #dbe2ef;
  border-radius: 14px;
  color: var(--text);
  background: #fff;
  font: inherit;
  outline: none;
}

.demo-form input:focus,
.demo-form textarea:focus {
  border-color: var(--blue);
  box-shadow: 0 0 0 4px rgba(37, 99, 255, 0.11);
}

.hidden-field {
  position: absolute;
  left: -10000px;
  width: 1px;
  height: 1px;
  overflow: hidden;
}

.form-button {
  width: 100%;
  margin-top: 8px;
  border: 0;
  cursor: pointer;
  font: inherit;
}

.form-microcopy {
  margin: 4px 0 0;
  text-align: center;
  font-size: 0.9rem;
}

.site-footer {
  padding: 34px 0;
  border-top: 1px solid var(--line);
  background: #fff;
}

.footer-grid {
  justify-content: space-between;
  gap: 24px;
}

.site-footer p,
.site-footer span {
  display: block;
  margin: 4px 0 0;
}

.site-footer a {
  font-weight: 750;
  color: var(--blue);
}

.thank-you-page {
  min-height: 100vh;
  display: grid;
  place-items: center;
  padding: 40px 20px;
  background:
    radial-gradient(circle at 16% 20%, rgba(37, 99, 255, 0.14), transparent 28rem),
    radial-gradient(circle at 84% 12%, rgba(255, 107, 107, 0.15), transparent 24rem),
    #fff;
}

.thank-you-card {
  width: min(720px, 100%);
  padding: 48px;
  border-radius: 32px;
  background: #fff;
  border: 1px solid var(--line);
  box-shadow: var(--shadow);
  text-align: center;
}

.thank-you-card h1 {
  font-size: clamp(2.4rem, 6vw, 4.5rem);
}

.thank-you-card p {
  color: var(--muted);
  font-size: 1.1rem;
  margin-bottom: 26px;
}

@media (max-width: 980px) {
  .nav {
    display: none;
  }

  .hero-grid,
  .split,
  .trust-grid,
  .demo-grid {
    grid-template-columns: 1fr;
    gap: 34px;
  }

  .card-grid.four,
  .pain-grid,
  .steps,
  .use-case-grid,
  .outcomes-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .use-case-grid article:nth-child(5),
  .outcomes-grid div:last-child {
    grid-column: span 2;
  }
}

@media (max-width: 640px) {
  .container {
    width: min(100% - 28px, var(--container));
  }

  .site-header {
    padding: 14px;
  }

  .brand span:last-child {
    display: none;
  }

  .header-cta {
    padding: 9px 13px;
    font-size: 0.9rem;
  }

  .section,
  .section-tight {
    padding: 64px 0;
  }

  h1 {
    font-size: clamp(2.7rem, 15vw, 4.2rem);
  }

  .hero-subhead,
  .section-heading p,
  .problem-copy p,
  .demo-copy p {
    font-size: 1rem;
  }

  .hero-visual,
  .demo-form,
  .thank-you-card {
    padding: 18px;
  }

  .card-grid.four,
  .pain-grid,
  .steps,
  .use-case-grid,
  .outcomes-grid {
    grid-template-columns: 1fr;
  }

  .use-case-grid article:nth-child(5),
  .outcomes-grid div:last-child {
    grid-column: span 1;
  }

  .footer-grid {
    align-items: flex-start;
    flex-direction: column;
  }
}
