:root {
  --bg: #ffffff;
  --paper: #fbfbff;
  --paper-2: #f4f2ff;
  --ink: #172033;
  --muted: #697287;
  --indigo: #4f46e5;
  --indigo-dark: #3429b8;
  --lavender: #ede9fe;
  --lavender-strong: #ddd6fe;
  --line: #e6e8f0;
  --line-strong: #cac7ff;
  --shadow: 0 24px 70px rgba(31, 41, 84, 0.12);
  --max: 1180px;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  background:
    radial-gradient(circle at 18% 0%, rgba(79, 70, 229, 0.1), transparent 28rem),
    linear-gradient(180deg, #ffffff 0%, #fbfbff 52%, #ffffff 100%);
  color: var(--ink);
  font-family: "Inter", "Segoe UI", Arial, sans-serif;
  line-height: 1.55;
}

body::before {
  content: "";
  position: fixed;
  inset: 0;
  z-index: -1;
  pointer-events: none;
  background:
    linear-gradient(120deg, transparent 0%, rgba(221, 214, 254, 0.44) 48%, transparent 66%),
    radial-gradient(circle at 80% 24%, rgba(79, 70, 229, 0.08), transparent 18rem);
  opacity: 0.72;
  transform: translateX(-20%);
  animation: gradient-drift 16s ease-in-out infinite alternate;
}

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

p {
  margin: 0;
}

h1,
h2,
h3 {
  margin: 0;
  line-height: 1.05;
  letter-spacing: 0;
}

h1 {
  max-width: 680px;
  margin-top: 18px;
  font-size: 5.6rem;
}

h2 {
  font-size: 3.6rem;
}

h3 {
  font-size: 1.15rem;
}

.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 30;
  display: flex;
  align-items: center;
  justify-content: space-between;
  width: min(100% - 32px, var(--max));
  min-height: 74px;
  margin: 0 auto;
  backdrop-filter: blur(18px);
}

.brand {
  display: inline-flex;
  align-items: center;
  min-width: 0;
  gap: 12px;
  color: var(--ink);
  font-weight: 800;
}

.brand-mark {
  display: grid;
  flex: 0 0 auto;
  place-items: center;
  width: 40px;
  height: 40px;
  border: 1px solid var(--line-strong);
  border-radius: 8px;
  background: linear-gradient(135deg, #ffffff, var(--lavender));
  color: var(--indigo);
  box-shadow: 0 10px 26px rgba(79, 70, 229, 0.14);
  font-size: 0.8rem;
}

.site-nav {
  display: flex;
  align-items: center;
  gap: 6px;
  padding: 6px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.84);
  box-shadow: 0 12px 30px rgba(31, 41, 84, 0.06);
}

.site-nav a {
  min-height: 38px;
  padding: 9px 14px;
  border-radius: 6px;
  color: var(--muted);
  font-size: 0.92rem;
  transition: background 180ms ease, color 180ms ease;
}

.site-nav a:hover,
.site-nav a:focus-visible,
.site-nav a[aria-current="page"] {
  background: var(--lavender);
  color: var(--indigo-dark);
  outline: none;
}

.nav-toggle {
  display: none;
  width: 44px;
  height: 44px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.88);
  color: var(--ink);
}

.nav-toggle span:not(.sr-only) {
  display: block;
  width: 18px;
  height: 2px;
  margin: 4px auto;
  background: currentColor;
}

.hero {
  position: relative;
  isolation: isolate;
  display: grid;
  align-items: center;
  min-height: 74svh;
  overflow: hidden;
  background:
    linear-gradient(90deg, rgba(255, 255, 255, 0.98) 0%, rgba(255, 255, 255, 0.9) 38%, rgba(255, 255, 255, 0.32) 70%, rgba(255, 255, 255, 0.88) 100%),
    linear-gradient(180deg, rgba(255, 255, 255, 0) 72%, #ffffff 100%),
    url("assets/guys-holding-saas-products.png");
  background-size: cover;
  background-position: center;
}

.hero::after {
  content: "";
  position: absolute;
  inset: auto 0 0 0;
  height: 22%;
  z-index: -1;
  background: linear-gradient(180deg, transparent, #ffffff);
}

.hero-content {
  width: min(100% - 32px, var(--max));
  margin: 0 auto;
  padding: 68px 0 56px;
}

.eyebrow {
  color: var(--indigo);
  font-size: 0.78rem;
  font-weight: 800;
  text-transform: uppercase;
}

.hero-copy {
  max-width: 620px;
  margin-top: 22px;
  color: var(--muted);
  font-size: 1.2rem;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 32px;
}

.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 48px;
  padding: 14px 20px;
  border: 1px solid transparent;
  border-radius: 8px;
  font-weight: 800;
  transition: transform 180ms ease, background 180ms ease, border-color 180ms ease, color 180ms ease;
}

.button:hover,
.button:focus-visible {
  transform: translateY(-2px);
  outline: none;
}

.button-primary {
  background: var(--indigo);
  color: #ffffff;
  box-shadow: 0 16px 34px rgba(79, 70, 229, 0.24);
}

.button-primary:hover,
.button-primary:focus-visible {
  background: var(--indigo-dark);
}

.button-secondary {
  border-color: var(--line);
  background: #ffffff;
  color: var(--ink);
  box-shadow: 0 12px 28px rgba(31, 41, 84, 0.08);
}

.button-secondary:hover,
.button-secondary:focus-visible {
  border-color: var(--line-strong);
  background: var(--paper-2);
}

.section {
  padding: 96px 0;
}

.section-inner {
  width: min(100% - 32px, var(--max));
  margin: 0 auto;
}

.trust-band {
  padding-top: 36px;
}

.trust-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 16px;
}

.trust-item,
.service-card,
.platform-panel,
.process-step,
.proof-grid div,
.contact-panel,
.legal-content section {
  border: 1px solid var(--line);
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.86);
  box-shadow: var(--shadow);
}

.trust-item {
  min-height: 166px;
  padding: 24px;
}

.trust-item span,
.platform-row span,
.process-step span {
  color: var(--indigo);
  font-size: 0.78rem;
  font-weight: 900;
  text-transform: uppercase;
}

.trust-item strong {
  display: block;
  margin-top: 20px;
  font-size: 1.13rem;
}

.trust-item p {
  margin-top: 10px;
  color: var(--muted);
}

.section-heading {
  display: grid;
  gap: 14px;
  max-width: 840px;
  margin-bottom: 36px;
}

.section-heading p:not(.eyebrow) {
  max-width: 720px;
  color: var(--muted);
  font-size: 1.04rem;
}

.card-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 16px;
}

.service-card {
  min-height: 286px;
  padding: 24px;
  background:
    linear-gradient(145deg, rgba(237, 233, 254, 0.58), rgba(255, 255, 255, 0.84) 44%),
    #ffffff;
}

.icon-box {
  display: grid;
  place-items: center;
  width: 42px;
  height: 42px;
  border-radius: 8px;
  background: var(--lavender);
  color: var(--indigo);
  font-weight: 900;
}

.service-card h3 {
  margin-top: 42px;
}

.service-card p {
  margin-top: 16px;
  color: var(--muted);
}

.platforms-section {
  background: linear-gradient(180deg, transparent, rgba(237, 233, 254, 0.58), transparent);
}

.platform-layout,
.proof-layout {
  display: grid;
  grid-template-columns: minmax(0, 0.9fr) minmax(320px, 0.7fr);
  gap: 48px;
  align-items: start;
}

.platform-panel {
  overflow: hidden;
  background: #ffffff;
}

.platform-row {
  display: grid;
  gap: 10px;
  padding: 24px;
  border-bottom: 1px solid var(--line);
}

.platform-row:last-child {
  border-bottom: 0;
}

.platform-row strong {
  line-height: 1.35;
}

.process-list {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 16px;
}

.process-step {
  min-height: 276px;
  padding: 24px;
  background: var(--paper);
}

.process-step h3 {
  margin-top: 40px;
}

.process-step p {
  margin-top: 16px;
  color: var(--muted);
}

.proof-section {
  padding-top: 50px;
}

.proof-copy {
  display: grid;
  gap: 16px;
}

.proof-copy p:not(.eyebrow) {
  color: var(--muted);
}

.proof-grid {
  display: grid;
  gap: 14px;
}

.proof-grid div {
  display: grid;
  gap: 8px;
  padding: 20px;
  background: #ffffff;
}

.proof-grid span {
  color: var(--muted);
}

.contact-section {
  padding-top: 50px;
}

.contact-panel {
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 30px;
  align-items: center;
  padding: 56px;
  background:
    linear-gradient(115deg, rgba(79, 70, 229, 0.12), transparent 42%),
    linear-gradient(280deg, rgba(221, 214, 254, 0.84), transparent 48%),
    #ffffff;
}

.contact-panel > div {
  display: grid;
  gap: 14px;
}

.contact-panel p:not(.eyebrow) {
  max-width: 680px;
  color: var(--muted);
}

.site-footer {
  display: grid;
  grid-template-columns: 1fr auto auto;
  gap: 28px;
  align-items: center;
  width: min(100% - 32px, var(--max));
  margin: 0 auto;
  padding: 48px 0 36px;
  border-top: 1px solid var(--line);
  color: var(--muted);
}

.footer-brand {
  color: var(--ink);
}

.site-footer p {
  margin-top: 10px;
}

.site-footer nav {
  display: flex;
  flex-wrap: wrap;
  gap: 16px;
}

.site-footer a:not(.brand) {
  color: var(--ink);
}

.site-footer a:not(.brand):hover,
.site-footer a:not(.brand):focus-visible {
  color: var(--indigo);
  outline: none;
}

.copyright {
  text-align: right;
}

.legal-main {
  width: min(100% - 32px, 940px);
  margin: 0 auto;
  padding: 62px 0 76px;
}

.legal-hero {
  padding: 54px 0 46px;
  border-bottom: 1px solid var(--line);
}

.legal-hero h1 {
  max-width: none;
  font-size: 4.8rem;
}

.legal-hero p:last-child {
  margin-top: 18px;
  color: var(--muted);
}

.legal-content {
  display: grid;
  gap: 24px;
  padding-top: 38px;
}

.legal-content section {
  padding: 24px;
  background: #ffffff;
}

.legal-content h2 {
  font-size: 1.14rem;
}

.legal-content p {
  margin-top: 12px;
  color: var(--muted);
}

.legal-content a {
  color: var(--indigo);
}

.reveal {
  opacity: 1;
  transform: none;
}

.js .reveal {
  opacity: 0;
  transform: translateY(18px);
  transition: opacity 620ms ease, transform 620ms ease;
}

.js .reveal.is-visible {
  opacity: 1;
  transform: translateY(0);
}

@keyframes gradient-drift {
  0% {
    transform: translateX(-20%);
  }
  100% {
    transform: translateX(18%);
  }
}

@media (max-width: 1040px) {
  h1 {
    font-size: 4.3rem;
  }

  h2 {
    font-size: 3rem;
  }

  .card-grid,
  .process-list {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .platform-layout,
  .proof-layout,
  .contact-panel {
    grid-template-columns: 1fr;
  }

  .contact-panel .button {
    justify-self: start;
  }

  .site-footer {
    grid-template-columns: 1fr;
  }

  .copyright {
    text-align: left;
  }
}

@media (max-width: 740px) {
  .site-header {
    min-height: 68px;
  }

  .brand {
    max-width: calc(100% - 58px);
  }

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

  .nav-toggle {
    display: block;
  }

  .site-nav {
    position: absolute;
    top: calc(100% + 8px);
    right: 0;
    display: none;
    width: min(310px, calc(100vw - 32px));
    padding: 8px;
    background: rgba(255, 255, 255, 0.96);
    box-shadow: var(--shadow);
  }

  .site-nav.is-open {
    display: grid;
  }

  .site-nav a {
    width: 100%;
  }

  .hero {
    min-height: 78svh;
    background-position: 58% center;
  }

  .hero-content {
    padding-top: 46px;
  }

  h1 {
    font-size: 3.1rem;
    overflow-wrap: anywhere;
  }

  h2,
  .legal-hero h1 {
    font-size: 2.35rem;
  }

  .hero-copy {
    font-size: 1.04rem;
  }

  .section {
    padding: 72px 0;
  }

  .trust-grid,
  .card-grid,
  .process-list {
    grid-template-columns: 1fr;
  }

  .contact-panel {
    padding: 28px;
  }
}

@media (max-width: 430px) {
  .hero-actions {
    display: grid;
  }

  .button {
    width: 100%;
  }

  .trust-item,
  .service-card,
  .platform-row,
  .process-step,
  .proof-grid div,
  .legal-content section {
    padding: 18px;
  }
}

@media (prefers-reduced-motion: reduce) {
  *,
  *::before,
  *::after {
    scroll-behavior: auto !important;
    animation-duration: 1ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 1ms !important;
  }

  .js .reveal {
    opacity: 1;
    transform: none;
  }
}
