/* ============================================================
   Coqnit — style.css
   Palette: #318ECE (accent blue) · #253764 (navy) · #fff (bg)
   ============================================================ */

@import url('https://fonts.googleapis.com/css2?family=Inter:wght@400;500;600&family=Space+Grotesk:wght@500;600;700;800&display=swap');

/* ── Reset ─────────────────────────────────────────────────── */
*,
*::before,
*::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}


html, body {
  overflow-x: clip;
}

html {
  scroll-behavior: smooth;
  /* Full-page light blue gradient — fixed so it doesn't scroll */
  background:
    radial-gradient(ellipse 60% 60% at 20% 0%, rgba(0, 132, 255, 0.35) 0%, transparent 60%),
    radial-gradient(ellipse 60% 60% at 80% 20%, rgba(0, 200, 255, 0.25) 0%, transparent 60%),
    radial-gradient(ellipse 70% 70% at 50% 60%, rgba(60, 100, 255, 0.2) 0%, transparent 60%),
    linear-gradient(170deg, #ffffff 0%, #f0f7fd 100%);
  background-attachment: fixed;
  min-height: 100%;
}

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

a {
  color: inherit;
}

/* ── Tokens ────────────────────────────────────────────────── */
:root {
  --navy: #253764;
  --accent: #318ece;
  --accent-dk: #1a5fa0;
  --navy-65: rgba(37, 55, 100, .65);
  --navy-50: rgba(37, 55, 100, .50);
  --navy-15: rgba(37, 55, 100, .15);
  --navy-10: rgba(37, 55, 100, .10);
  --bg-soft: #f5f8fc;
}

/* ── Base ──────────────────────────────────────────────────── */
body {
  margin: 0;
  color: var(--navy);
  background: transparent;
  /* gradient lives on html */
  font-family: 'Inter', sans-serif;
  -webkit-font-smoothing: antialiased;
}

h1,
h2,
h3 {
  font-family: 'Space Grotesk', sans-serif;
  margin: 0;
}

.wrap {
  max-width: 72rem;
  margin: 0 auto;
  padding: 0 1.5rem;
}

/* ══════════════════════════════════════════════════════════════
   NAV — unchanged from original
   ══════════════════════════════════════════════════════════════ */
.nav {
  position: sticky;
  top: 0;
  z-index: 40;
  background: rgba(234, 244, 252, .88);
  /* tinted glass matching gradient */
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  border-bottom: 1px solid rgba(49, 142, 206, .12);
}

.nav-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 1rem 1.5rem;
  max-width: 72rem;
  margin: 0 auto;
}

.brand {
  display: flex;
  align-items: center;
  gap: .6rem;
  text-decoration: none;
}

.brand img {
  width: 2rem;
  height: 2rem;
  border-radius: .5rem;
}

.brand span {
  font-family: 'Space Grotesk', sans-serif;
  font-weight: 600;
  font-size: 1.1rem;
  letter-spacing: -.01em;
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border: none;
  border-radius: 999px;
  background: var(--navy);
  color: #fff;
  font-family: 'Inter', sans-serif;
  font-weight: 500;
  font-size: .95rem;
  padding: .75rem 1.75rem;
  cursor: pointer;
  text-decoration: none;
  transition: background .15s ease;
}

.btn:hover {
  background: var(--accent);
}

.btn-sm {
  padding: .55rem 1.25rem;
  font-size: .875rem;
}

.btn:disabled {
  opacity: .6;
  cursor: default;
}

/* ════════════════════════════════════════════════════════════
   HERO — transparent so html gradient shows through
   ════════════════════════════════════════════════════════════ */
.hero {
  background: transparent;
  padding: 6rem 1.5rem 5rem;
  text-align: center;
}

.hero-inner {
  max-width: 52rem;
  margin: 0 auto;
}

.hero h1 {
  font-size: clamp(2.4rem, 5.5vw, 3.75rem);
  font-weight: 800;
  line-height: 1.1;
  color: var(--navy);
  letter-spacing: -.03em;
  margin-bottom: 1.25rem;
}

.hero-accent {
  color: var(--accent);
}

.hero-sub {
  font-size: 1.1rem;
  line-height: 1.7;
  color: var(--navy-65);
  max-width: 38rem;
  margin: 0 auto 2.5rem;
}

/* ── Hero form card ────────────────────────────────────────────── */
.hero-form-card {
  position: relative;
  background: #ffffff;
  /* Solid white so it doesn't tint blue */
  border: 1px solid rgba(49, 142, 206, .2);
  border-radius: 1.25rem;
  padding: 2rem 2rem 1.5rem;
  box-shadow: 0 30px 80px rgba(0, 100, 255, .15), 0 8px 24px rgba(37, 55, 100, .08);
  text-align: left;
}

.hero-form-card::before {
  content: "";
  position: absolute;
  top: -40%;
  left: -30%;
  right: -30%;
  bottom: -40%;
  background:
    radial-gradient(circle at 30% 30%, rgba(72, 167, 255, 0.7) 0%, transparent 50%),
    radial-gradient(circle at 70% 70%, rgba(0, 210, 255, 0.5) 0%, transparent 50%);
  z-index: -1;
  filter: blur(50px);
  border-radius: 50%;
  pointer-events: none;
}

.hero-form-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1rem;
  margin-bottom: 1rem;
}

@media (max-width: 580px) {
  .hero-form-row {
    grid-template-columns: 1fr;
  }
}


.hero-field {
  display: flex;
  flex-direction: column;
  gap: .4rem;
  margin-bottom: 1rem;
}

.hero-field:last-of-type {
  margin-bottom: 0;
}

.hero-field label {
  font-size: .7rem;
  font-weight: 700;
  letter-spacing: .08em;
  text-transform: uppercase;
  color: var(--navy-65);
}

.hero-field input,
.hero-field select {
  width: 100%;
  padding: .8rem 1rem;
  border: 1.5px solid var(--navy-15);
  border-radius: .625rem;
  font-size: .975rem;
  font-family: 'Inter', sans-serif;
  color: var(--navy);
  background: rgba(255, 255, 255, .9);
  /* slightly translucent over gradient */
  outline: none;
  transition: border-color .15s ease, box-shadow .15s ease;
  -webkit-appearance: none;
  appearance: none;
}

.hero-field input::placeholder {
  color: rgba(37, 55, 100, .35);
}

.hero-field select {
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='14' height='14' viewBox='0 0 24 24' fill='none' stroke='%23253764' stroke-width='2'%3E%3Cpath d='M6 9l6 6 6-6'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 1rem center;
  padding-right: 2.5rem;
  cursor: pointer;
}

.hero-field input:focus,
.hero-field select:focus {
  border-color: var(--accent);
  box-shadow: 0 0 0 3px rgba(49, 142, 206, .18);
}

/* Hero submit button */
.btn-hero-submit {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 100%;
  margin-top: 1.25rem;
  background: var(--accent);
  color: #fff;
  border: none;
  border-radius: .625rem;
  padding: .9rem 1.5rem;
  font-family: 'Inter', sans-serif;
  font-size: 1rem;
  font-weight: 600;
  cursor: pointer;
  box-shadow: 0 4px 16px rgba(49, 142, 206, .35);
  transition: background .15s ease, box-shadow .15s ease, transform .1s ease;
}

.btn-hero-submit:hover {
  background: var(--accent-dk);
  box-shadow: 0 6px 24px rgba(49, 142, 206, .45);
  transform: translateY(-1px);
}

.btn-hero-submit:active {
  transform: translateY(0);
}

.btn-hero-submit:disabled {
  opacity: .6;
  cursor: default;
  pointer-events: none;
}

/* Fine print below form */
.hero-fine-print {
  margin-top: .85rem;
  font-size: .78rem;
  color: var(--navy-50);
  text-align: center;
  line-height: 1.5;
}

.hero-fine-print a {
  text-decoration: underline;
  color: var(--accent);
}

/* Form validation message */
.form-msg {
  font-size: .875rem;
  border-radius: .5rem;
  padding: .6rem .85rem;
  margin-top: .85rem;
}

.form-msg.error {
  background: rgba(220, 38, 38, .06);
  color: #dc2626;
  border: 1px solid rgba(220, 38, 38, .18);
}

.form-msg.info {
  background: rgba(49, 142, 206, .07);
  color: var(--accent);
  border: 1px solid rgba(49, 142, 206, .2);
}

.hidden {
  display: none !important;
}

.honeypot {
  position: absolute;
  width: 0;
  height: 0;
  opacity: 0;
  pointer-events: none;
}

/* Success state */
.success {
  text-align: center;
  padding: 2rem 0;
}

.success-icon {
  width: 4rem;
  height: 4rem;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--accent), var(--accent-dk));
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 1.25rem;
  box-shadow: 0 8px 24px rgba(49, 142, 206, .35);
}

.success h2 {
  font-size: 1.5rem;
  font-weight: 700;
  color: var(--navy);
  margin-bottom: .5rem;
}

.success p {
  font-size: .95rem;
  color: var(--navy-65);
}

/* ════════════════════════════════════════════════════════════
   HOW IT WORKS — premium 3-step design
   ════════════════════════════════════════════════════════════ */
.hiw {
  border-top: 1px solid rgba(49, 142, 206, .1);
  padding: 6rem 0 5rem;
}

.hiw-header {
  text-align: center;
  margin-bottom: 4rem;
}

.hiw-heading {
  font-family: 'Space Grotesk', sans-serif;
  font-size: clamp(3rem, 6vw, 4.5rem);
  font-weight: 800;
  color: var(--navy);
  line-height: 1.1;
  letter-spacing: -.03em;
  margin-bottom: 0.75rem;
}

.hiw-subheading {
  font-family: 'Inter', sans-serif;
  font-size: clamp(1.1rem, 2.5vw, 1.5rem);
  font-weight: 400;
  color: var(--accent);
  margin: 0;
}

/* Grid wrapper — holds connector + 4 step cards */
.hiw-steps {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1.5rem;
  position: relative;
  align-items: stretch;
  /* all cards same height */
  max-width: 1200px;
  margin: 0 auto;
  --progress-width: 0%;
  --hover-opacity: 0;
}

.hiw-steps.is-hovering {
  --hover-opacity: 1;
}

/* The base faint dashed line */
.hiw-connector {
  position: absolute;
  top: 2.5rem;
  /* centers on the node (half of node height 5rem) */
  left: calc(100% / 8);
  width: calc(100% * 3/4);
  /* exactly stretches from center of Node 1 to center of Node 4 */
  height: 2px;
  background: repeating-linear-gradient(90deg, var(--accent) 0px, var(--accent) 6px, transparent 6px, transparent 14px);
  opacity: .2;
  pointer-events: none;
  z-index: 0;
}

/* The dynamic, glowing progress line that fills up based on mouse hover */
.hiw-connector::after {
  content: "";
  position: absolute;
  top: -1px;
  left: 0;
  height: 4px;
  width: var(--progress-width);
  background: var(--accent);
  border-radius: 999px;
  transition: width 0.4s cubic-bezier(0.4, 0, 0.2, 1), opacity 0.3s ease;
  opacity: var(--hover-opacity);
  z-index: 1;
}

/* Individual step */
.hiw-step {
  display: flex;
  flex-direction: column;
  align-items: center;
  position: relative;
  z-index: 1;
}

/* Glowing number badge */
.hiw-step-node {
  width: 5rem;
  height: 5rem;
  border-radius: 50%;
  background: #fff;
  border: 2px solid rgba(49, 142, 206, .2);
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 1.5rem;
  position: relative;
  z-index: 2;
  box-shadow: 0 4px 16px rgba(49, 142, 206, .12), 0 0 0 6px rgba(255, 255, 255, 1);
  transition: box-shadow .25s, border-color .25s;
}


.hiw-step:hover .hiw-step-node {
  border-color: var(--accent);
  box-shadow: 0 6px 24px rgba(49, 142, 206, .15), 0 0 0 6px rgba(255, 255, 255, 1);
}

.hiw-step-num {
  font-family: 'Space Grotesk', sans-serif;
  font-size: 1.3rem;
  font-weight: 800;
  background: linear-gradient(135deg, var(--accent), #60b8e8);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  line-height: 1;
}

.hiw-step-header {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  margin-bottom: 1rem;
}

.hiw-step-badge {
  display: none;
  font-family: 'Inter', sans-serif;
  font-size: 0.85rem;
  font-weight: 600;
  color: var(--accent);
  letter-spacing: 0.05em;
  text-transform: uppercase;
}

/* Card */
.hiw-step-card {
  background: #fff;
  border: 1px solid rgba(49, 142, 206, .13);
  border-radius: 1.25rem;
  padding: 1.75rem 1.5rem;
  text-align: left;
  width: 100%;
  flex: 1;
  position: relative;
  overflow: hidden;
  box-shadow: 0 4px 24px rgba(37, 55, 100, .06);
  transition: box-shadow .3s, transform .3s, border-color .3s;
}


.hiw-step:hover .hiw-step-card {
  box-shadow: 0 12px 40px rgba(49, 142, 206, .22);
  transform: translateY(-4px);
  border-color: var(--accent);
}

.hiw-step-icon {
  width: 2.5rem;
  height: 2.5rem;
  background: linear-gradient(135deg, rgba(49, 142, 206, .15), rgba(49, 142, 206, .05));
  border-radius: .75rem;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--accent);
}

.hiw-step-card h3 {
  font-family: 'Space Grotesk', sans-serif;
  font-size: 1.1rem;
  font-weight: 700;
  color: var(--navy);
  margin-bottom: .5rem;
  letter-spacing: -.02em;
}

.hiw-step-card p {
  font-size: .9rem;
  line-height: 1.7;
  color: var(--navy-65);
  margin: 0;
}

/* Mobile */
@media (max-width: 700px) {
  .hiw {
    padding: 3.5rem 0 3rem;
  }

  .hiw-header {
    margin-bottom: 2.5rem;
  }

  .hiw-steps {
    grid-template-columns: 1fr;
    gap: 1.5rem;
    max-width: 440px;
  }

  .hiw-step-card {
    border: none;
  }

  .hiw-step:hover .hiw-step-card {
    transform: none;
    box-shadow: 0 4px 24px rgba(37, 55, 100, .06);
  }

  .hiw-step-badge {
    display: block;
  }

  .hiw-step-node,
  .hiw-connector {
    display: none;
  }
}


/* ══════════════════════════════════════════════════════════════
   INTEGRATIONS — platform name grid
   ══════════════════════════════════════════════════════════════ */
.integrations {
  background: transparent;
  /* gradient shows through */
  border-top: 1px solid rgba(49, 142, 206, .12);
  padding: 4.5rem 0 5rem;
}

.integrations-inner {}

.int-label {
  text-align: center;
  font-size: .72rem;
  font-weight: 700;
  letter-spacing: .16em;
  text-transform: uppercase;
  color: var(--navy-50);
  margin-bottom: 2.5rem;
}

.marquee-container {
  display: flex;
  flex-direction: column;
  gap: 2rem;
  overflow: hidden;
  width: 100%;
  position: relative;
  mask-image: linear-gradient(to right, transparent, black 10%, black 90%, transparent);
  -webkit-mask-image: linear-gradient(to right, transparent, black 10%, black 90%, transparent);
}

.marquee-row {
  display: flex;
  width: fit-content;
}

.marquee-track {
  display: flex;
  align-items: center;
}

.marquee-group {
  display: flex;
  align-items: center;
  gap: 4rem;
  padding-right: 4rem;
  flex-shrink: 0;
}

.scroll-left .marquee-track {
  animation: scrollLeft 25s linear infinite;
}

.scroll-right .marquee-track {
  animation: scrollRight 25s linear infinite;
}

@keyframes scrollLeft {
  0% { transform: translateX(0); }
  100% { transform: translateX(calc(-100% / 3)); }
}

@keyframes scrollRight {
  0% { transform: translateX(calc(-100% / 3)); }
  100% { transform: translateX(0); }
}

.marquee-track span {
  font-family: 'Space Grotesk', sans-serif;
  font-size: clamp(1.5rem, 3vw, 2rem);
  font-weight: 700;
  color: var(--navy);
  opacity: .65;
  transition: opacity .18s ease, color .18s ease;
  cursor: default;
  white-space: nowrap;
}

.marquee-track span:hover {
  opacity: 1;
  color: var(--accent);
}

/* ══════════════════════════════════════════════════════════════
   FOOTER
   ══════════════════════════════════════════════════════════════ */
.site-footer {
  background: var(--navy);
  color: rgba(255, 255, 255, .55);
  padding: 3rem 1.5rem 1.75rem;
}

.footer-inner {
  max-width: 72rem;
  margin: 0 auto;
}

.footer-top {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 2rem;
}

.footer-brand {
  display: flex;
  align-items: center;
  gap: .75rem;
}

.footer-brand img {
  width: 2rem;
  height: 2rem;
  border-radius: .5rem;
  flex-shrink: 0;
}

.footer-brand-name {
  display: block;
  font-family: 'Space Grotesk', sans-serif;
  font-weight: 600;
  color: #fff;
}

.footer-tagline {
  margin: .15rem 0 0;
  font-size: .85rem;
  color: rgba(255, 255, 255, .4);
}

.footer-col h4 {
  margin: 0 0 .75rem;
  font-size: .75rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: .04em;
  color: rgba(255, 255, 255, .4);
}

.footer-col a {
  display: block;
  font-size: .9rem;
  text-decoration: none;
  transition: color .15s ease;
}

.footer-col a:hover {
  color: #fff;
}

.footer-bottom {
  margin-top: 2.5rem;
  padding-top: 1.5rem;
  border-top: 1px solid rgba(255, 255, 255, .12);
}

.footer-copy {
  margin: 0;
  font-size: .75rem;
  color: rgba(255, 255, 255, .4);
}

@media (min-width: 640px) {
  .footer-top {
    flex-direction: row;
    justify-content: space-between;
  }

  .footer-top .footer-col {
    min-width: 9rem;
  }
}

/* ══════════════════════════════════════════════════════════════
   LEGAL / PRIVACY PAGE
   ══════════════════════════════════════════════════════════════ */
.legal {
  max-width: 46rem;
  margin: 0 auto;
  padding: 4rem 1.5rem;
}

.legal h1 {
  font-size: 2rem;
  font-weight: 600;
}

.legal .updated {
  margin-top: .5rem;
  font-size: .875rem;
  color: var(--navy-50);
}

.legal section {
  margin-top: 2rem;
}

.legal h2 {
  font-size: 1.1rem;
  font-weight: 600;
}

.legal p,
.legal li {
  margin-top: .5rem;
  line-height: 1.7;
  color: rgba(37, 55, 100, .8);
}

.legal ul {
  padding-left: 1.25rem;
}

.legal a {
  text-decoration: underline;
}