/* ==========================================================================
   Everbolt — poc-1-meridian (light enterprise)
   White base, gray-50 bands, navy headlines, sky-600 actions.
   Gradient (#7DF0A8 → #23C9F2) reserved for: hero glow, thin rules, icon strokes.
   ========================================================================== */

:root {
  --navy: #0E1C30;
  --navy-soft: #1E2F49;
  --sky-600: #0284C7;
  --sky-700: #0369A1;
  --sky-050: #F0F9FF;
  --mint: #7DF0A8;
  --cyan: #23C9F2;
  --white: #FFFFFF;
  --gray-050: #F9FAFB;
  --gray-100: #F3F4F6;
  --gray-200: #E5E7EB;
  --gray-300: #D1D5DB;
  --gray-400: #9CA3AF;
  --gray-500: #6B7280;
  --gray-600: #4B5563;
  --gray-700: #374151;
  --amber-bg: #FEF9EC;
  --amber-border: #F5E3B4;
  --amber-text: #92600A;
  --red-bg: #FEF3F2;
  --red-border: #F8CFCB;
  --red-text: #B42318;
  --green-text: #067647;
  --green-bg: #ECFDF3;
  --grad: linear-gradient(120deg, var(--mint), var(--cyan));
  --shadow-xs: 0 1px 2px rgba(14, 28, 48, 0.05);
  --shadow-sm: 0 1px 3px rgba(14, 28, 48, 0.07), 0 1px 2px rgba(14, 28, 48, 0.04);
  --shadow-md: 0 4px 12px rgba(14, 28, 48, 0.08), 0 1px 3px rgba(14, 28, 48, 0.05);
  --shadow-lg: 0 16px 40px -8px rgba(14, 28, 48, 0.14), 0 4px 12px rgba(14, 28, 48, 0.06);
  --radius-sm: 6px;
  --radius-md: 8px;
  --radius-lg: 12px;
  --container: 1120px;
  --nav-h: 64px;
  --font: "Inter", -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
}

/* ---------- Reset & base ---------- */

*, *::before, *::after { box-sizing: border-box; }

html {
  -webkit-text-size-adjust: 100%;
}

@media (prefers-reduced-motion: no-preference) {
  html { scroll-behavior: smooth; }
}

body {
  margin: 0;
  font-family: var(--font);
  font-size: 16px;
  line-height: 1.6;
  color: var(--gray-600);
  background: var(--white);
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
  font-feature-settings: "cv11", "ss01";
}

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

h1, h2, h3, h4 {
  margin: 0;
  color: var(--navy);
  font-weight: 600;
  line-height: 1.2;
  letter-spacing: -0.02em;
  text-wrap: balance;
}

p { margin: 0; }
ul, ol { margin: 0; padding: 0; list-style: none; }
a { color: var(--sky-700); text-decoration: none; }

:focus-visible {
  outline: 2px solid var(--sky-600);
  outline-offset: 2px;
  border-radius: 4px;
}

.svg-defs {
  position: absolute;
  width: 0;
  height: 0;
  overflow: hidden;
}

.skip-link {
  position: absolute;
  top: -48px;
  left: 16px;
  z-index: 200;
  padding: 8px 16px;
  background: var(--navy);
  color: var(--white);
  border-radius: var(--radius-sm);
  font-size: 14px;
  font-weight: 500;
  transition: top 0.15s ease;
}
.skip-link:focus { top: 12px; }

.container {
  max-width: var(--container);
  margin: 0 auto;
  padding: 0 24px;
}

.legal-container {
  max-width: 720px;
}
.legal-container p { margin-top: 16px; }
.legal-container h3 {
  margin-top: 32px;
  font-size: 18px;
}
.legal-container h3:first-of-type { margin-top: 24px; }
.legal-container h4 {
  margin-top: 24px;
  font-size: 15px;
}
.legal-container ul {
  margin-top: 16px;
  padding-left: 20px;
  list-style: disc;
}
.legal-container li { margin-top: 6px; }
.legal-container a { text-decoration: underline; }

/* ---------- Type helpers ---------- */

.eyebrow {
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--sky-700);
  margin-bottom: 16px;
}

.section-head {
  max-width: 640px;
  margin-bottom: 56px;
}

.section-head h2 {
  font-size: clamp(1.75rem, 1.35rem + 1.6vw, 2.375rem);
  position: relative;
}

.section-sub {
  margin-top: 16px;
  font-size: 17px;
  color: var(--gray-600);
}

/* Thin gradient rule under section headings — one of the few gradient moments */
.section-head h2::after {
  content: "";
  display: block;
  width: 56px;
  height: 3px;
  margin-top: 20px;
  border-radius: 2px;
  background: var(--grad);
}

/* ---------- Buttons ---------- */

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  font-family: var(--font);
  font-weight: 600;
  font-size: 15px;
  line-height: 1;
  border: 1px solid transparent;
  border-radius: var(--radius-md);
  cursor: pointer;
  white-space: nowrap;
  transition: background-color 0.15s ease, border-color 0.15s ease, color 0.15s ease, box-shadow 0.15s ease;
}

.btn-primary {
  background: var(--sky-600);
  color: var(--white);
  padding: 12px 20px;
  box-shadow: var(--shadow-xs);
}
.btn-primary:hover { background: var(--sky-700); }

.btn-secondary {
  background: var(--white);
  color: var(--navy);
  border-color: var(--gray-200);
  padding: 12px 20px;
  box-shadow: var(--shadow-xs);
}
.btn-secondary:hover { border-color: var(--gray-300); background: var(--gray-050); }

.btn-ghost {
  background: transparent;
  color: var(--navy);
  border-color: var(--gray-200);
  padding: 12px 20px;
}
.btn-ghost:hover { background: var(--gray-050); border-color: var(--gray-300); }
.btn-ghost svg { color: var(--sky-600); transition: transform 0.15s ease; }
.btn-ghost:hover svg { transform: translateX(2px); }

.btn-sm { padding: 9px 16px; font-size: 14px; }
.btn-lg { padding: 14px 24px; font-size: 16px; }
.btn-block { width: 100%; }

.link-arrow {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-weight: 600;
  font-size: 15px;
  color: var(--sky-700);
}
.link-arrow svg { transition: transform 0.15s ease; }
.link-arrow:hover svg { transform: translateX(3px); }

/* ---------- Header / nav ---------- */

.site-header {
  position: sticky;
  top: 0;
  z-index: 100;
  background: rgba(255, 255, 255, 0.8);
  -webkit-backdrop-filter: blur(12px);
  backdrop-filter: blur(12px);
  border-bottom: 1px solid transparent;
  transition: border-color 0.2s ease, box-shadow 0.2s ease;
}

.site-header.is-scrolled {
  border-bottom-color: var(--gray-200);
  box-shadow: 0 1px 2px rgba(14, 28, 48, 0.04);
}

.nav {
  display: flex;
  align-items: center;
  gap: 32px;
  height: var(--nav-h);
}

.nav-logo { display: inline-flex; flex-shrink: 0; }
.nav-logo img { width: 132px; height: auto; }

.nav-links {
  display: flex;
  gap: 8px;
  margin: 0 auto;
}

.nav-links a {
  padding: 8px 12px;
  font-size: 14px;
  font-weight: 500;
  color: var(--gray-600);
  border-radius: var(--radius-sm);
  transition: color 0.15s ease, background-color 0.15s ease;
}
.nav-links a:hover { color: var(--navy); background: var(--gray-100); }

.nav-actions {
  display: flex;
  align-items: center;
  gap: 16px;
  flex-shrink: 0;
}

.nav-signin {
  font-size: 14px;
  font-weight: 500;
  color: var(--gray-600);
  transition: color 0.15s ease;
}
.nav-signin:hover { color: var(--navy); }

.nav-toggle {
  display: none;
  align-items: center;
  justify-content: center;
  width: 40px;
  height: 40px;
  margin-left: auto;
  padding: 0;
  background: none;
  border: 1px solid var(--gray-200);
  border-radius: var(--radius-sm);
  color: var(--navy);
  cursor: pointer;
}
.nav-toggle .icon-close { display: none; }
.nav-toggle[aria-expanded="true"] .icon-open { display: none; }
.nav-toggle[aria-expanded="true"] .icon-close { display: block; }

.mobile-menu {
  display: none;
  flex-direction: column;
  gap: 4px;
  padding: 8px 24px 20px;
  border-bottom: 1px solid var(--gray-200);
  background: rgba(255, 255, 255, 0.97);
}
.mobile-menu a {
  padding: 12px 8px;
  font-size: 16px;
  font-weight: 500;
  color: var(--navy);
  border-radius: var(--radius-sm);
}
.mobile-menu a:hover { background: var(--gray-050); }
.mobile-menu-actions {
  display: flex;
  flex-direction: column;
  gap: 8px;
  margin-top: 12px;
}
.mobile-menu-actions .btn { width: 100%; }

/* ---------- Sections & bands ---------- */

.section {
  padding: 96px 0;
  scroll-margin-top: calc(var(--nav-h) + 24px);
}

.band {
  background: var(--gray-050);
  border-top: 1px solid var(--gray-200);
  border-bottom: 1px solid var(--gray-200);
}

.band + .band { border-top: none; }

/* ---------- Hero ---------- */

.hero {
  position: relative;
  padding: 88px 0 104px;
  overflow: hidden;
}

.hero-grid {
  display: grid;
  grid-template-columns: minmax(0, 6fr) minmax(0, 5fr);
  gap: 64px;
  align-items: center;
}

.hero h1 {
  font-size: clamp(2.5rem, 1.8rem + 2.8vw, 4rem);
  line-height: 1.1;
  letter-spacing: -0.02em;
  font-weight: 700;
}

.hero-sub {
  margin-top: 24px;
  max-width: 34em;
  font-size: 18px;
  line-height: 1.65;
  color: var(--gray-600);
}

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

.traction {
  display: flex;
  flex-wrap: wrap;
  gap: 24px 48px;
  margin: 48px 0 0;
  padding-top: 32px;
  border-top: 1px solid var(--gray-200);
}

.traction-item dt {
  font-size: 12px;
  font-weight: 500;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--gray-500);
  margin-bottom: 4px;
}

.traction-item dd {
  margin: 0;
  font-size: 18px;
  font-weight: 600;
  color: var(--navy);
  letter-spacing: -0.01em;
  font-variant-numeric: tabular-nums;
}

/* ---------- Hero visual (CSS product vignette) ---------- */

.hero-visual { position: relative; min-width: 0; }

.vignette { position: relative; }

/* The one soft gradient glow allowed on the page */
.vignette::before {
  content: "";
  position: absolute;
  inset: -12% -18%;
  background:
    radial-gradient(42% 48% at 30% 28%, rgba(125, 240, 168, 0.28), transparent 70%),
    radial-gradient(50% 55% at 72% 70%, rgba(35, 201, 242, 0.24), transparent 70%);
  filter: blur(24px);
  z-index: 0;
}

.vignette-card {
  position: relative;
  z-index: 1;
  background: var(--white);
  border: 1px solid var(--gray-200);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-lg);
  padding: 20px;
  font-size: 13px;
}

.vcard-head {
  display: flex;
  align-items: center;
  gap: 12px;
  padding-bottom: 16px;
  border-bottom: 1px solid var(--gray-100);
}

.vcard-ring {
  width: 30px;
  height: 30px;
  flex-shrink: 0;
  border-radius: 50%;
  background: var(--grad);
  -webkit-mask: radial-gradient(circle at center, transparent 8px, #000 8.5px);
  mask: radial-gradient(circle at center, transparent 8px, #000 8.5px);
}

.vcard-title { min-width: 0; line-height: 1.35; }
.vcard-title strong {
  display: block;
  color: var(--navy);
  font-size: 14px;
  font-weight: 600;
  letter-spacing: -0.01em;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}
.vcard-title span { color: var(--gray-500); font-size: 12px; }

.vcard-status {
  margin-left: auto;
  flex-shrink: 0;
  padding: 3px 9px;
  border-radius: 999px;
  background: var(--green-bg);
  color: var(--green-text);
  font-size: 11px;
  font-weight: 600;
}

.vcard-summary { padding: 14px 0; border-bottom: 1px solid var(--gray-100); }

.vcard-label {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 8px;
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.07em;
  text-transform: uppercase;
  color: var(--gray-500);
  margin-bottom: 10px;
}

.vcard-updated {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  font-weight: 500;
  letter-spacing: 0;
  text-transform: none;
  color: var(--sky-700);
  font-size: 11px;
}

.vcard-row {
  display: grid;
  grid-template-columns: 92px 1fr;
  gap: 10px;
  padding: 4px 0;
  line-height: 1.45;
}
.vcard-row span { color: var(--gray-500); font-weight: 500; font-size: 12px; }
.vcard-row em { color: var(--gray-700); font-style: normal; font-size: 12px; }

.vcard-flags {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  padding: 14px 0;
  border-bottom: 1px solid var(--gray-100);
}

.flag {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 4px 10px;
  border-radius: 999px;
  font-size: 11.5px;
  font-weight: 600;
  border: 1px solid;
}
.flag-amber { background: var(--amber-bg); border-color: var(--amber-border); color: var(--amber-text); }
.flag-red { background: var(--red-bg); border-color: var(--red-border); color: var(--red-text); }

.vcard-docs { padding-top: 14px; }

.vcard-source {
  font-size: 10px;
  font-weight: 600;
  letter-spacing: 0.04em;
  color: var(--gray-500);
  background: var(--gray-100);
  border: 1px solid var(--gray-200);
  border-radius: 4px;
  padding: 2px 7px;
  text-transform: none;
}

.vdoc {
  display: flex;
  align-items: center;
  gap: 9px;
  padding: 6px 0;
  color: var(--gray-700);
  font-size: 12px;
  font-variant-ligatures: none;
}

.vdoc-icon {
  width: 14px;
  height: 17px;
  flex-shrink: 0;
  border: 1.5px solid var(--gray-300);
  border-radius: 3px;
  position: relative;
}
.vdoc-icon::after {
  content: "";
  position: absolute;
  left: 2.5px;
  right: 2.5px;
  top: 4px;
  height: 1.5px;
  background: var(--gray-300);
  box-shadow: 0 3.5px 0 var(--gray-300);
}

.vdoc-tick {
  margin-left: auto;
  width: 16px;
  height: 16px;
  border-radius: 50%;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background: var(--green-bg);
  color: var(--green-text);
}

.vdoc-syncing {
  background: transparent;
  border: 2px solid var(--gray-200);
  border-top-color: var(--sky-600);
}
@media (prefers-reduced-motion: no-preference) {
  .vdoc-syncing { animation: spin 0.9s linear infinite; }
}
@keyframes spin { to { transform: rotate(360deg); } }

.vignette-float {
  position: absolute;
  z-index: 2;
  background: var(--white);
  border: 1px solid var(--gray-200);
  border-radius: var(--radius-md);
  box-shadow: var(--shadow-md);
  font-size: 12px;
}

.vignette-qa {
  left: -36px;
  bottom: -48px;
  max-width: 240px;
  padding: 12px 14px;
  display: flex;
  flex-direction: column;
  gap: 4px;
}
.vqa-q { color: var(--navy); font-weight: 600; letter-spacing: -0.01em; }
.vqa-a { color: var(--sky-700); font-weight: 500; font-size: 11.5px; }

.vignette-sync {
  top: -18px;
  right: -14px;
  display: inline-flex;
  align-items: center;
  gap: 7px;
  padding: 8px 12px;
  color: var(--gray-700);
  font-weight: 500;
}

.vsync-dot {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: var(--grad);
}
@media (prefers-reduced-motion: no-preference) {
  .vsync-dot { animation: pulse 2.2s ease-in-out infinite; }
}
@keyframes pulse {
  0%, 100% { box-shadow: 0 0 0 0 rgba(35, 201, 242, 0.35); }
  50% { box-shadow: 0 0 0 5px rgba(35, 201, 242, 0); }
}

/* ---------- Cards & grids ---------- */

.grid-4 {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 24px;
}

.grid-3 {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}

.card {
  background: var(--white);
  border: 1px solid var(--gray-200);
  border-radius: var(--radius-lg);
  padding: 28px 24px;
  box-shadow: var(--shadow-xs);
  transition: box-shadow 0.2s ease, border-color 0.2s ease;
}
.card:hover { box-shadow: var(--shadow-md); border-color: var(--gray-300); }

.card-icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 44px;
  height: 44px;
  border-radius: 10px;
  background: var(--gray-050);
  border: 1px solid var(--gray-200);
  margin-bottom: 20px;
}

.card h3 {
  font-size: 16px;
  font-weight: 600;
  margin-bottom: 8px;
  letter-spacing: -0.01em;
}

.card p { font-size: 14px; line-height: 1.6; color: var(--gray-600); }

/* ---------- Platform tracks ---------- */

.tracks {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 24px;
}

.track {
  background: var(--gray-050);
  border: 1px solid var(--gray-200);
  border-radius: var(--radius-lg);
  padding: 36px 32px;
}

.track-head { margin-bottom: 28px; }
.track-head h3 {
  font-size: 20px;
  letter-spacing: -0.015em;
  display: inline-block;
  position: relative;
  padding-bottom: 10px;
}
/* thin gradient underline — accent-only gradient use */
.track-head h3::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: 0;
  width: 40px;
  height: 2px;
  border-radius: 1px;
  background: var(--grad);
}
.track-head p { margin-top: 8px; font-size: 15px; color: var(--gray-600); }

.feature-list {
  display: flex;
  flex-direction: column;
  gap: 22px;
}

.feature-list li { display: flex; gap: 16px; align-items: flex-start; }

.feature-icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 40px;
  height: 40px;
  flex-shrink: 0;
  border-radius: 10px;
  background: var(--white);
  border: 1px solid var(--gray-200);
  box-shadow: var(--shadow-xs);
}

.feature-list strong {
  display: block;
  color: var(--navy);
  font-size: 15px;
  font-weight: 600;
  letter-spacing: -0.01em;
  margin-bottom: 3px;
}

.feature-list p { font-size: 14px; line-height: 1.55; color: var(--gray-600); }

/* ---------- How it works ---------- */

.steps {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
  counter-reset: step;
}

.step {
  position: relative;
  background: var(--white);
  border: 1px solid var(--gray-200);
  border-radius: var(--radius-lg);
  padding: 32px 28px;
  box-shadow: var(--shadow-xs);
}

.step-num {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 32px;
  height: 32px;
  margin-bottom: 20px;
  border-radius: 50%;
  background: var(--navy);
  color: var(--white);
  font-size: 14px;
  font-weight: 600;
  font-variant-numeric: tabular-nums;
}

.step h3 { font-size: 16px; margin-bottom: 8px; letter-spacing: -0.01em; }
.step p { font-size: 14px; line-height: 1.6; }

.integrations {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 16px;
  margin-top: 48px;
  padding-top: 32px;
  border-top: 1px solid var(--gray-200);
}

.integrations-label {
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--gray-500);
}

.integrations-note {
  width: 100%;
  margin-top: 4px;
  font-size: 13px;
  color: var(--gray-500);
}

.integration-badges { display: flex; flex-wrap: wrap; gap: 8px; }

.integration-badges li {
  padding: 7px 14px;
  background: var(--white);
  border: 1px solid var(--gray-200);
  border-radius: 999px;
  font-size: 13px;
  font-weight: 500;
  color: var(--gray-700);
  box-shadow: var(--shadow-xs);
}

/* ---------- Testimonials ---------- */

.quote-card {
  margin: 0;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  gap: 28px;
  background: var(--white);
  border: 1px solid var(--gray-200);
  border-radius: var(--radius-lg);
  padding: 32px 28px;
  box-shadow: var(--shadow-xs);
  position: relative;
  overflow: hidden;
}

/* hairline gradient top rule */
.quote-card::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 2px;
  background: var(--grad);
}

.quote-card blockquote { margin: 0; }
.quote-card blockquote p {
  font-size: 17px;
  line-height: 1.55;
  color: var(--navy);
  font-weight: 500;
  letter-spacing: -0.01em;
}

.quote-card figcaption {
  font-size: 14px;
  font-weight: 600;
  color: var(--navy);
}
.quote-card figcaption span {
  display: block;
  font-weight: 400;
  color: var(--gray-500);
  font-size: 13px;
  margin-top: 2px;
}

/* ---------- Security ---------- */

.badge-row {
  display: flex;
  flex-wrap: wrap;
  gap: 16px;
  margin-bottom: 40px;
}

.trust-badge {
  flex: 1 1 200px;
  display: flex;
  flex-direction: column;
  gap: 2px;
  padding: 14px 20px;
  background: #fff;
  border: 1px solid var(--gray-200, #e5e7eb);
  border-radius: 10px;
  border-top: 2px solid transparent;
  background-image: linear-gradient(#fff, #fff), linear-gradient(90deg, #7df0a8, #23c9f2);
  background-origin: border-box;
  background-clip: padding-box, border-box;
}

.trust-badge strong {
  color: var(--navy, #0e1c30);
  font-size: 0.9375rem;
  letter-spacing: -0.01em;
}

.trust-badge span {
  color: var(--gray-600, #4b5563);
  font-size: 0.75rem;
  text-transform: uppercase;
  letter-spacing: 0.08em;
}

.security-foot {
  margin-top: 36px;
  font-size: 0.875rem;
  color: var(--gray-600, #4b5563);
  max-width: 720px;
}

.security-cta { margin-top: 16px; }

/* ---------- Team ---------- */

.person {
  background: var(--white);
  border: 1px solid var(--gray-200);
  border-radius: var(--radius-lg);
  padding: 32px 28px;
  box-shadow: var(--shadow-xs);
}

.avatar {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 56px;
  height: 56px;
  margin-bottom: 20px;
  border-radius: 50%;
  background: var(--navy);
  color: var(--white);
  font-size: 18px;
  font-weight: 600;
  letter-spacing: 0.02em;
  position: relative;
}
/* thin gradient ring around avatar */
.avatar::after {
  content: "";
  position: absolute;
  inset: -4px;
  border-radius: 50%;
  border: 2px solid transparent;
  background: var(--grad) border-box;
  -webkit-mask: linear-gradient(#000 0 0) padding-box, linear-gradient(#000 0 0);
  -webkit-mask-composite: xor;
  mask: linear-gradient(#000 0 0) padding-box, linear-gradient(#000 0 0);
  mask-composite: exclude;
}

.person h3 { font-size: 17px; letter-spacing: -0.01em; }

.person-role {
  font-size: 13px;
  font-weight: 600;
  color: var(--sky-700);
  margin: 4px 0 12px;
}

.person p:last-child { font-size: 14px; line-height: 1.6; }

/* ---------- Contact / lead form ---------- */

.contact { padding-bottom: 112px; }

.contact-grid {
  display: grid;
  grid-template-columns: minmax(0, 5fr) minmax(0, 6fr);
  gap: 64px;
  align-items: start;
}

.contact-points {
  display: flex;
  flex-direction: column;
  gap: 14px;
  margin-top: 32px;
}

.contact-points li {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 15px;
  color: var(--gray-700);
  font-weight: 500;
}

.contact-form-wrap {
  background: var(--white);
  border: 1px solid var(--gray-200);
  border-radius: var(--radius-lg);
  padding: 36px 32px;
  box-shadow: var(--shadow-md);
}

.lead-form { display: flex; flex-direction: column; gap: 20px; }

.form-field { display: flex; flex-direction: column; gap: 6px; }

.form-field label {
  font-size: 14px;
  font-weight: 500;
  color: var(--navy);
}

.form-field .optional {
  font-weight: 400;
  color: var(--gray-500);
  font-size: 12px;
}

.form-field input,
.form-field textarea {
  font-family: var(--font);
  font-size: 15px;
  color: var(--navy);
  padding: 10px 14px;
  border: 1px solid var(--gray-300);
  border-radius: var(--radius-md);
  background: var(--white);
  transition: border-color 0.15s ease, box-shadow 0.15s ease;
  width: 100%;
}

.form-field textarea { resize: vertical; min-height: 84px; }

.form-field input:focus,
.form-field textarea:focus {
  outline: none;
  border-color: var(--sky-600);
  box-shadow: 0 0 0 3px rgba(2, 132, 199, 0.15);
}

.form-field input[aria-invalid="true"],
.form-field textarea[aria-invalid="true"] {
  border-color: #DC2626;
}
.form-field input[aria-invalid="true"]:focus {
  box-shadow: 0 0 0 3px rgba(220, 38, 38, 0.12);
}

.form-error {
  font-size: 13px;
  color: #B91C1C;
  font-weight: 500;
}

/* Honeypot — visually removed, still in the DOM for bots */
.hp-field {
  position: absolute !important;
  width: 1px;
  height: 1px;
  overflow: hidden;
  clip: rect(0 0 0 0);
  clip-path: inset(50%);
  white-space: nowrap;
}

.form-note {
  font-size: 13px;
  color: var(--gray-500);
  text-align: center;
}

.form-success {
  padding: 12px 16px;
  border-radius: var(--radius-md);
  background: var(--green-bg);
  color: var(--green-text);
  font-size: 14px;
  font-weight: 500;
  text-align: center;
}

/* ---------- Footer ---------- */

.site-footer {
  background: var(--white);
  border-top: 1px solid var(--gray-200);
  padding: 64px 0 40px;
}

.footer-grid {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 48px;
  padding-bottom: 48px;
  border-bottom: 1px solid var(--gray-200);
}

.footer-brand img { width: 124px; }
.footer-brand p {
  margin: 16px 0 8px;
  font-size: 14px;
  color: var(--gray-500);
  max-width: 28em;
}
.footer-brand a { font-size: 14px; font-weight: 500; }
.footer-brand a:hover { text-decoration: underline; }

.footer-nav { display: flex; gap: 72px; }

.footer-nav h4 {
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--gray-500);
  margin-bottom: 14px;
}

.footer-nav a {
  display: block;
  padding: 5px 0;
  font-size: 14px;
  color: var(--gray-600);
  transition: color 0.15s ease;
}
.footer-nav a:hover { color: var(--navy); }

.footer-bottom {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: 8px 24px;
  padding-top: 32px;
  font-size: 13px;
  color: var(--gray-500);
}

.footer-privacy-link { color: var(--gray-500); }
.footer-privacy-link:hover { color: var(--navy); text-decoration: underline; }

/* ---------- Scroll reveal ---------- */

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

@media (prefers-reduced-motion: no-preference) {
  .js .reveal {
    opacity: 0;
    transform: translateY(16px);
    transition: opacity 0.55s ease, transform 0.55s ease;
  }
  .js .reveal.is-visible {
    opacity: 1;
    transform: none;
  }
  /* gentle stagger inside grids */
  .js .grid-4 .reveal.is-visible:nth-child(2),
  .js .grid-3 .reveal.is-visible:nth-child(2),
  .js .steps .reveal.is-visible:nth-child(2) { transition-delay: 0.08s; }
  .js .grid-4 .reveal.is-visible:nth-child(3),
  .js .grid-3 .reveal.is-visible:nth-child(3),
  .js .steps .reveal.is-visible:nth-child(3) { transition-delay: 0.16s; }
  .js .grid-4 .reveal.is-visible:nth-child(4) { transition-delay: 0.24s; }
}

/* ---------- Responsive ---------- */

@media (max-width: 1024px) {
  .grid-4 { grid-template-columns: repeat(2, 1fr); }
  .hero-grid { gap: 48px; }
  .vignette-qa { left: -8px; }
  .vignette-sync { right: 0; }
}

@media (max-width: 880px) {
  .section { padding: 72px 0; }

  .hero { padding: 56px 0 88px; }
  .hero-grid { grid-template-columns: 1fr; gap: 72px; }
  .hero-sub { font-size: 17px; }
  .hero-visual { max-width: 480px; margin: 0 auto; width: 100%; }

  .nav-links, .nav-actions { display: none; }
  .nav-toggle { display: inline-flex; }
  .mobile-menu.is-open { display: flex; }

  .tracks { grid-template-columns: 1fr; }
  .steps { grid-template-columns: 1fr; }
  .grid-3 { grid-template-columns: 1fr; }

  .contact-grid { grid-template-columns: 1fr; gap: 48px; }

  .footer-grid { grid-template-columns: 1fr; gap: 40px; }
  .footer-nav { gap: 48px; }
}

@media (max-width: 560px) {
  .container { padding: 0 20px; }
  .grid-4 { grid-template-columns: 1fr; }
  .section-head { margin-bottom: 40px; }
  .hero-ctas .btn { width: 100%; }
  .traction { gap: 20px 32px; }
  .vignette-qa { left: 0; bottom: -32px; }
  .contact-form-wrap { padding: 28px 20px; }
  .track { padding: 28px 22px; }
}

@media print {
  .js .reveal { opacity: 1 !important; transform: none !important; }
}

.hero-trust {
  margin-top: 20px;
  font-size: 0.8125rem;
  color: var(--gray-600, #4b5563);
  letter-spacing: 0.01em;
}
