:root {
  --ink: #111827;
  --muted: #687385;
  --paper: #ffffff;
  --soft: #f5f8fb;
  --line: #d9e2ec;
  --navy: #111c2e;
  --blue: #2f63df;
  --green: #43a77b;
  --gold: #f2b84b;
  --shadow: 0 22px 70px rgba(17, 28, 46, 0.14);
  --gradient: linear-gradient(135deg, #2f63df 0%, #43a77b 100%);
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  color: var(--ink);
  background:
    linear-gradient(180deg, rgba(47, 99, 223, 0.08) 0%, rgba(255, 255, 255, 0) 360px),
    linear-gradient(180deg, #ffffff 0%, #f6f8fb 100%);
  font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
}

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

.landing-shell {
  width: min(1180px, calc(100% - 40px));
  margin: 0 auto;
}

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

.brand,
.landing-brand {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  font-size: 18px;
  font-weight: 800;
  letter-spacing: 0;
}

.brand-mark {
  display: grid;
  width: 40px;
  height: 40px;
  place-items: center;
  border-radius: 8px;
  color: white;
  background: var(--gradient);
  box-shadow: 0 12px 28px rgba(47, 99, 223, 0.25);
}

.brand-mark svg {
  width: 24px;
  height: 24px;
}

.nav,
.landing-header nav {
  display: flex;
  align-items: center;
  gap: 26px;
  color: var(--muted);
  font-size: 15px;
  font-weight: 700;
}

.nav a:hover,
.landing-header nav a:hover {
  color: var(--ink);
}

.header-cta,
.primary-cta,
.secondary-cta {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 46px;
  border-radius: 8px;
  font-weight: 800;
}

.header-cta,
.nav-cta {
  padding: 0 18px;
  color: white;
  background: var(--navy);
}

.hero {
  position: relative;
  min-height: 620px;
  padding: 78px 0 92px;
  overflow: hidden;
}

.hero::before {
  position: absolute;
  inset: 20px -80px auto auto;
  width: 640px;
  height: 460px;
  content: "";
  background:
    linear-gradient(90deg, rgba(255, 255, 255, 0.88), rgba(255, 255, 255, 0)),
    repeating-linear-gradient(0deg, rgba(17, 28, 46, 0.06), rgba(17, 28, 46, 0.06) 1px, transparent 1px, transparent 44px),
    repeating-linear-gradient(90deg, rgba(17, 28, 46, 0.06), rgba(17, 28, 46, 0.06) 1px, transparent 1px, transparent 44px);
  mask-image: linear-gradient(90deg, transparent 0%, black 30%, black 100%);
  pointer-events: none;
}

.hero-copy {
  position: relative;
  z-index: 2;
  max-width: 570px;
}

.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  margin: 0 0 22px;
  padding: 8px 12px;
  border: 1px solid rgba(67, 167, 123, 0.28);
  border-radius: 999px;
  color: #1d7b5a;
  background: rgba(67, 167, 123, 0.09);
  font-size: 14px;
  font-weight: 800;
}

.eyebrow::before {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  content: "";
  background: var(--green);
}

.hero h1 {
  max-width: 570px;
  margin: 0;
  color: #0f172a;
  font-size: 54px;
  line-height: 1.02;
  letter-spacing: 0;
}

.hero-body,
.hero-lead {
  max-width: 540px;
  margin: 24px 0 0;
  color: #536174;
  font-size: 20px;
  line-height: 1.65;
}

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

.primary-cta,
.secondary-cta {
  padding: 0 22px;
}

.primary-cta {
  color: white;
  background: var(--gradient);
  box-shadow: 0 18px 38px rgba(47, 99, 223, 0.22);
}

.secondary-cta {
  border: 1px solid var(--line);
  color: #1f2937;
  background: rgba(255, 255, 255, 0.75);
}

.trust-row {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin: 30px 0 0;
  padding: 0;
  color: #536174;
  list-style: none;
}

.trust-row li,
.trust-row span {
  padding: 8px 11px;
  border: 1px solid rgba(17, 28, 46, 0.08);
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.68);
  font-size: 14px;
  font-weight: 800;
}

.hero-visual {
  position: absolute;
  z-index: 1;
  top: 112px;
  right: -8px;
  width: min(520px, 43%);
  pointer-events: none;
}

.hero-visual img {
  display: block;
  width: 100%;
  border: 1px solid rgba(17, 28, 46, 0.12);
  border-radius: 8px;
  box-shadow: var(--shadow);
  transform: perspective(1200px) rotateY(-8deg) rotateX(2deg);
  transform-origin: center left;
}

.floating-note {
  position: absolute;
  display: flex;
  align-items: center;
  gap: 10px;
  min-height: 42px;
  padding: 0 14px;
  border: 1px solid rgba(255, 255, 255, 0.6);
  border-radius: 8px;
  color: #172033;
  background: rgba(255, 255, 255, 0.92);
  box-shadow: 0 16px 34px rgba(17, 28, 46, 0.16);
  font-size: 14px;
  font-weight: 850;
}

.floating-note::before {
  width: 9px;
  height: 9px;
  border-radius: 50%;
  content: "";
  background: var(--gold);
}

.floating-note.top,
.floating-note.top-note {
  top: 28px;
  left: -12px;
}

.floating-note.bottom,
.floating-note.bottom-note {
  right: 20px;
  bottom: 32px;
}

.proof-strip {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1px;
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--line);
  box-shadow: 0 14px 38px rgba(17, 28, 46, 0.08);
}

.proof-item,
.proof-strip article {
  padding: 24px;
  background: white;
}

.proof-number,
.proof-strip strong {
  display: block;
  color: #0f172a;
  font-size: 30px;
  font-weight: 900;
}

.proof-label,
.proof-strip span {
  display: block;
  margin-top: 6px;
  color: var(--muted);
  font-size: 15px;
  line-height: 1.5;
}

.section,
.workflow-section,
.split-section,
.pricing-section {
  padding: 84px 0 0;
}

.section-kicker,
.section-heading p {
  margin: 0 0 12px;
  color: #1d7b5a;
  font-size: 14px;
  font-weight: 900;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.section h2,
.section-heading h2 {
  max-width: 760px;
  margin: 0;
  color: #0f172a;
  font-size: 40px;
  line-height: 1.15;
  letter-spacing: 0;
}

.section-lead,
.section-heading .lead {
  max-width: 690px;
  margin: 18px 0 0;
  color: #5a6678;
  font-size: 18px;
  line-height: 1.65;
}

.workflow-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 16px;
  margin-top: 34px;
}

.workflow-card,
.workflow-grid > article,
.use-card,
.case-list article,
.pricing-card,
.pricing-grid > article {
  border: 1px solid var(--line);
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.9);
  box-shadow: 0 12px 30px rgba(17, 28, 46, 0.07);
}

.workflow-card,
.workflow-grid > article {
  min-height: 260px;
  padding: 24px;
}

.step-number,
.workflow-grid > article > span:first-child {
  display: inline-grid;
  width: 40px;
  height: 40px;
  place-items: center;
  border-radius: 8px;
  color: white;
  background: var(--navy);
  font-weight: 900;
}

.workflow-card h3,
.workflow-grid > article h3,
.use-card h3,
.case-list article h3,
.pricing-card h3,
.pricing-grid > article h3 {
  margin: 22px 0 10px;
  color: #0f172a;
  font-size: 20px;
  line-height: 1.25;
}

.workflow-card p,
.workflow-grid > article p,
.use-card p,
.case-list article p,
.pricing-card p,
.pricing-grid > article p {
  margin: 0;
  color: #667085;
  font-size: 15px;
  line-height: 1.65;
}

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

.use-grid,
.case-list {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 16px;
}

.use-card,
.case-list article {
  min-height: 190px;
  padding: 24px;
}

.use-icon {
  display: inline-grid;
  width: 42px;
  height: 42px;
  place-items: center;
  border-radius: 8px;
  color: white;
  background: var(--gradient);
  font-weight: 900;
}

.pricing-section {
  padding-bottom: 86px;
}

.pricing-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 16px;
  margin-top: 34px;
}

.pricing-card,
.pricing-grid > article {
  display: flex;
  min-height: 310px;
  flex-direction: column;
  padding: 26px;
}

.pricing-card.featured,
.pricing-grid > article.featured-price {
  border-color: rgba(67, 167, 123, 0.38);
  background:
    linear-gradient(180deg, rgba(67, 167, 123, 0.11), rgba(255, 255, 255, 0.95) 42%),
    white;
}

.price,
.pricing-grid > article > strong {
  margin-top: 18px;
  color: #0f172a;
  font-size: 34px;
  font-weight: 950;
}

.price span,
.pricing-grid > article > span {
  color: var(--muted);
  font-size: 15px;
  font-weight: 800;
}

.pricing-card ul {
  display: grid;
  gap: 12px;
  margin: 24px 0 0;
  padding: 0;
  color: #516071;
  font-size: 15px;
  list-style: none;
}

.pricing-card li {
  position: relative;
  padding-left: 22px;
}

.pricing-card li::before {
  position: absolute;
  top: 8px;
  left: 0;
  width: 8px;
  height: 8px;
  border-radius: 50%;
  content: "";
  background: var(--green);
}

.bottom-cta-panel {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 28px;
  margin-top: 26px;
  padding: 30px;
  border-radius: 8px;
  color: white;
  background: var(--navy);
}

.bottom-cta-panel h2 {
  margin: 0;
  color: white;
  font-size: 30px;
  line-height: 1.2;
}

.bottom-cta-panel p {
  margin: 10px 0 0;
  color: rgba(255, 255, 255, 0.72);
  line-height: 1.6;
}

.bottom-cta-panel .primary-cta {
  flex: 0 0 auto;
}

.landing-footer {
  padding: 28px 0 42px;
  color: var(--muted);
  font-size: 14px;
}

@media (max-width: 1020px) {
  .hero {
    padding-top: 58px;
  }

  .hero h1 {
    font-size: 48px;
  }

  .hero-visual {
    opacity: 0.72;
    right: -120px;
    width: 560px;
  }

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

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

@media (max-width: 760px) {
  .landing-shell {
    width: min(100% - 28px, 1180px);
  }

  .landing-header {
    align-items: flex-start;
  }

  .nav,
  .landing-header nav {
    display: none;
  }

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

  .hero::before {
    display: none;
  }

  .hero h1 {
    font-size: 38px;
    line-height: 1.08;
  }

  .hero-body {
    font-size: 17px;
  }

  .hero-visual {
    position: relative;
    top: auto;
    right: auto;
    width: 100%;
    margin-top: 34px;
    opacity: 1;
  }

  .hero-visual img {
    transform: none;
  }

  .floating-note {
    display: none;
  }

  .proof-strip,
  .workflow-grid,
  .use-grid,
  .pricing-grid {
    grid-template-columns: 1fr;
  }

  .section {
    padding-top: 58px;
  }

  .section h2 {
    font-size: 32px;
  }

  .bottom-cta-panel {
    align-items: flex-start;
    flex-direction: column;
  }
}

@media (max-width: 420px) {
  .brand {
    font-size: 16px;
  }

  .header-cta,
  .primary-cta,
  .secondary-cta {
    width: 100%;
  }

  .hero h1 {
    font-size: 32px;
  }

  .hero-actions {
    width: 100%;
  }
}
