:root {
  --bg: #f7f7f4;
  --surface: rgba(255, 255, 255, 0.88);
  --surface-strong: #ffffff;
  --line: rgba(35, 43, 51, 0.12);
  --text: #18222b;
  --muted: #56636f;
  --brand-dark: #111315;
  --brand-teal: #1c8fa2;
  --brand-teal-deep: #115e6c;
  --brand-orange: #ea8a32;
  --shadow: 0 20px 60px rgba(16, 24, 33, 0.08);
  --shadow-hover: 0 28px 80px rgba(16, 24, 33, 0.14);
  --radius-xl: 28px;
  --radius-lg: 22px;
  --radius-md: 16px;
  --max-width: 1180px;
  --nav-offset: 112px;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  font-family: "Manrope", sans-serif;
  color: var(--text);
  background:
    radial-gradient(circle at top left, rgba(28, 143, 162, 0.08), transparent 28%),
    radial-gradient(circle at top right, rgba(234, 138, 50, 0.12), transparent 26%),
    linear-gradient(180deg, #fbfbf9 0%, #f3f5f2 100%);
}

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

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

button,
input,
textarea,
select {
  font: inherit;
}

button {
  border: 0;
}

.page-shell {
  width: min(calc(100% - 32px), var(--max-width));
  margin: 0 auto;
  padding: 24px 0 48px;
}

.site-nav-overlay {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  z-index: 100;
  pointer-events: none;
}

.site-nav-shell {
  padding-top: 24px;
  padding-bottom: 0;
}

.topbar {
  position: relative;
  z-index: 100;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  padding: 16px 18px;
  margin-bottom: 0;
  background: rgba(255, 255, 255, 0.72);
  backdrop-filter: blur(18px);
  border: 1px solid rgba(255, 255, 255, 0.8);
  border-radius: 999px;
  box-shadow: var(--shadow);
  pointer-events: auto;
}

.brand {
  display: flex;
  align-items: center;
  min-width: 0;
  flex: 1;
}

.brand-logo {
  width: auto;
  height: auto;
  object-fit: contain;
}

.brand-logo-desktop {
  display: block;
  width: auto;
  height: 56px;
  max-width: min(320px, 100%);
}

.brand-logo-mobile {
  display: none;
  width: 52px;
  height: 52px;
  border-radius: 999px;
}

.nav {
  display: flex;
  align-items: center;
  gap: 20px;
  flex-wrap: wrap;
}

.nav a,
.inline-link,
.eyebrow,
.card-label,
.stat-card span {
  letter-spacing: 0.01em;
}

.nav a {
  color: var(--muted);
  font-weight: 700;
  transition: color 160ms ease;
}

.nav a:hover,
.inline-link:hover {
  color: var(--brand-teal-deep);
}

.menu-toggle {
  display: none;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 4px;
  width: 52px;
  height: 52px;
  padding: 0;
  border: 1px solid rgba(17, 19, 21, 0.08);
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.92);
  box-shadow: 0 10px 30px rgba(17, 19, 21, 0.08);
  cursor: pointer;
}

.menu-toggle span {
  display: block;
  width: 20px;
  height: 2px;
  border-radius: 999px;
  background: var(--brand-dark);
  transition: transform 160ms ease, opacity 160ms ease;
}

.topbar.menu-open .menu-toggle span:nth-child(1) {
  transform: translateY(6px) rotate(45deg);
}

.topbar.menu-open .menu-toggle span:nth-child(2) {
  opacity: 0;
}

.topbar.menu-open .menu-toggle span:nth-child(3) {
  transform: translateY(-6px) rotate(-45deg);
}

.hero {
  width: 100%;
  margin: 0;
}

.hero-video-media {
  width: 100vw;
  height: min(78vh, 860px);
  min-height: 420px;
  margin: var(--nav-offset) calc(50% - 50vw) 0;
  object-fit: contain;
  background: #000000;
}

.hero-content-shell {
  padding-top: 28px;
}

.hero-content-grid,
.feature-layout,
.pillar-grid,
.contact-card {
  display: grid;
  gap: 24px;
}

.hero-content-grid-single {
  grid-template-columns: minmax(0, 1fr);
}

.feature-layout {
  grid-template-columns: minmax(0, 1.15fr) minmax(280px, 0.85fr);
}

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

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

.section {
  padding: 34px 0 0;
}

.section-highlight {
  padding-top: 46px;
}

.section-heading {
  display: grid;
  gap: 10px;
  margin-bottom: 24px;
}

.eyebrow,
.card-label {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  margin: 0 0 14px;
  color: var(--brand-teal-deep);
  font-size: 0.85rem;
  font-weight: 800;
  text-transform: uppercase;
}

.eyebrow::before,
.card-label::before {
  content: "";
  width: 10px;
  height: 10px;
  border-radius: 999px;
  background: linear-gradient(135deg, var(--brand-orange), var(--brand-teal));
}

h1,
h2,
h3 {
  margin: 0;
  font-family: "Plus Jakarta Sans", sans-serif;
  line-height: 1.05;
}

h1 {
  max-width: 14ch;
  font-size: clamp(3rem, 5.6vw, 5.2rem);
}

h2 {
  max-width: 16ch;
  font-size: clamp(2rem, 3.5vw, 3.2rem);
}

h3 {
  font-size: 1.4rem;
}

.hero-text,
.feature-card p,
.pillar-card p,
.trust-card p,
.contact-card p,
.workflow-step p {
  color: var(--muted);
  line-height: 1.75;
}

.hero-text {
  max-width: 70ch;
  margin: 18px 0 0;
  font-size: 1.05rem;
}

.hero-copy,
.feature-card,
.pillar-card,
.trust-card,
.contact-card,
.stat-card,
.workflow-step {
  position: relative;
  border: 1px solid rgba(255, 255, 255, 0.9);
  border-radius: var(--radius-xl);
  box-shadow: var(--shadow);
  animation: card-fly-in 700ms cubic-bezier(0.2, 0.8, 0.2, 1) both;
  transition:
    transform 220ms ease,
    box-shadow 220ms ease,
    border-color 220ms ease,
    background 220ms ease;
  will-change: transform;
}

.hero-copy:hover,
.feature-card:hover,
.pillar-card:hover,
.trust-card:hover,
.contact-card:hover,
.stat-card:hover,
.workflow-step:hover {
  transform: translateY(-8px);
  box-shadow: var(--shadow-hover);
  border-color: rgba(28, 143, 162, 0.18);
}

.hero-copy {
  padding: 48px;
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.96), rgba(255, 255, 255, 0.84));
}

.cta-row {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
  margin: 28px 0 34px;
}

.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 52px;
  padding: 0 20px;
  border-radius: 999px;
  font-weight: 800;
  transition: transform 160ms ease, box-shadow 160ms ease, background 160ms ease, opacity 160ms ease;
  cursor: pointer;
}

.button:hover {
  transform: translateY(-1px);
}

.button:disabled {
  opacity: 0.72;
  cursor: wait;
}

.button-primary {
  color: #ffffff;
  background: linear-gradient(135deg, var(--brand-dark), #2b3642);
  box-shadow: 0 18px 34px rgba(24, 34, 43, 0.18);
}

.button-secondary {
  color: var(--text);
  background: rgba(255, 255, 255, 0.94);
  border: 1px solid var(--line);
}

.stat-card {
  padding: 20px;
  border-radius: var(--radius-md);
  background: rgba(247, 247, 244, 0.92);
  border-color: rgba(17, 19, 21, 0.06);
}

.stat-card strong {
  display: block;
  margin-bottom: 8px;
  font-family: "Plus Jakarta Sans", sans-serif;
  font-size: 1.1rem;
}

.feature-card,
.pillar-card,
.trust-card,
.contact-card {
  padding: 30px;
  background: rgba(255, 255, 255, 0.88);
}

.feature-card-large {
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.97), rgba(255, 255, 255, 0.86)),
    radial-gradient(circle at top right, rgba(28, 143, 162, 0.08), transparent 40%);
}

.pillar-card {
  min-height: 220px;
}

.workflow-list {
  display: grid;
  gap: 14px;
  margin-top: 24px;
}

.workflow-step {
  display: grid;
  grid-template-columns: auto 1fr;
  gap: 14px;
  align-items: start;
  padding: 18px;
  border-radius: 18px;
  background: rgba(247, 247, 244, 0.92);
  border-color: rgba(17, 19, 21, 0.06);
}

.workflow-index {
  width: 14px;
  height: 14px;
  margin-top: 8px;
  border-radius: 999px;
  background: linear-gradient(135deg, var(--brand-orange), var(--brand-teal));
  box-shadow: 0 0 0 6px rgba(28, 143, 162, 0.08);
}

.trust-card {
  display: grid;
  gap: 12px;
  background:
    linear-gradient(135deg, rgba(255, 240, 223, 0.85), rgba(255, 255, 255, 0.92)),
    radial-gradient(circle at top right, rgba(234, 138, 50, 0.14), transparent 40%);
}

.contact-card {
  grid-template-columns: minmax(260px, 0.85fr) minmax(0, 1.15fr);
  align-items: start;
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.97), rgba(255, 255, 255, 0.9)),
    radial-gradient(circle at top right, rgba(28, 143, 162, 0.08), transparent 36%);
}

.contact-copy {
  display: grid;
  gap: 12px;
}

.contact-copy h2 {
  max-width: 12ch;
}

.contact-card .eyebrow,
.contact-card p,
.contact-inline-link {
  color: var(--muted);
}

.contact-inline-link {
  font-size: 1rem;
}

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

.contact-field {
  display: grid;
  gap: 8px;
}

.contact-field span {
  color: var(--text);
  font-size: 0.92rem;
  font-weight: 700;
}

.contact-field input,
.contact-field textarea,
.contact-field select {
  width: 100%;
  padding: 14px 16px;
  color: var(--text);
  background: rgba(247, 247, 244, 0.96);
  border: 1px solid rgba(17, 19, 21, 0.08);
  border-radius: 16px;
  outline: none;
  transition: border-color 160ms ease, box-shadow 160ms ease, background 160ms ease;
}

.contact-field input::placeholder,
.contact-field textarea::placeholder {
  color: rgba(86, 99, 111, 0.76);
}

.contact-field input:focus,
.contact-field textarea:focus,
.contact-field select:focus {
  border-color: rgba(28, 143, 162, 0.9);
  box-shadow: 0 0 0 3px rgba(28, 143, 162, 0.16);
  background: #ffffff;
}

.contact-field textarea {
  resize: vertical;
  min-height: 150px;
}

.contact-field-full {
  grid-column: 1 / -1;
}

.contact-form-footer {
  grid-column: 1 / -1;
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 14px;
}

.contact-status {
  min-height: 24px;
  color: var(--muted);
}

.contact-status-success {
  color: #18794e;
}

.contact-status-error {
  color: #b42318;
}

.contact-honeypot {
  position: absolute;
  left: -9999px;
  opacity: 0;
  pointer-events: none;
}

.inline-link {
  display: inline-flex;
  margin-top: 14px;
  color: var(--brand-teal);
  font-weight: 800;
}

.hero-copy { animation-delay: 60ms; }
.stat-card:nth-child(1) { animation-delay: 150ms; }
.stat-card:nth-child(2) { animation-delay: 210ms; }
.stat-card:nth-child(3) { animation-delay: 270ms; }
.feature-card-large { animation-delay: 80ms; }
.feature-card-side { animation-delay: 140ms; }
.workflow-step:nth-child(1) { animation-delay: 180ms; }
.workflow-step:nth-child(2) { animation-delay: 230ms; }
.workflow-step:nth-child(3) { animation-delay: 280ms; }
.pillar-card:nth-child(1) { animation-delay: 80ms; }
.pillar-card:nth-child(2) { animation-delay: 140ms; }
.pillar-card:nth-child(3) { animation-delay: 200ms; }
.trust-card { animation-delay: 90ms; }
.contact-card { animation-delay: 100ms; }

@keyframes card-fly-in {
  from {
    opacity: 0;
    transform: translateY(44px) scale(0.96);
    filter: blur(8px);
  }

  to {
    opacity: 1;
    transform: translateY(0) scale(1);
    filter: blur(0);
  }
}

@media (max-width: 1024px) {
  .feature-layout,
  .pillar-grid,
  .contact-card {
    grid-template-columns: 1fr;
  }

  .stat-grid {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 760px) {
  :root {
    --nav-offset: 96px;
  }

  .site-nav-shell,
  .page-shell {
    width: min(calc(100% - 20px), var(--max-width));
  }

  .site-nav-shell {
    padding-top: 14px;
    padding-bottom: 0;
  }

  .page-shell {
    padding-top: 14px;
  }

  .topbar {
    align-items: center;
    flex-wrap: wrap;
    border-radius: 28px;
    padding: 16px;
    gap: 14px;
  }

  .brand {
    flex: 0 1 auto;
  }

  .brand-logo-desktop {
    display: none;
  }

  .brand-logo-mobile {
    display: block;
  }

  .menu-toggle {
    display: inline-flex;
  }

  .nav {
    display: none;
    width: 100%;
    flex-direction: column;
    align-items: flex-start;
    gap: 8px;
    padding-top: 8px;
  }

  .nav.nav-open {
    display: flex;
  }

  .nav a {
    width: 100%;
    padding: 12px 14px;
    border-radius: 16px;
    background: rgba(255, 255, 255, 0.75);
  }

  .hero-video-media {
    height: 56vh;
    min-height: 320px;
    object-fit: cover;
  }

  .hero-copy,
  .feature-card,
  .pillar-card,
  .trust-card,
  .contact-card,
  .stat-card,
  .workflow-step {
    padding: 24px;
  }

  .hero-content-shell {
    padding-top: 24px;
  }

  .contact-form {
    grid-template-columns: 1fr;
  }

  h1 {
    max-width: none;
    font-size: clamp(2.6rem, 12vw, 4rem);
  }

  h2 {
    max-width: none;
  }
}

@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }

  .hero-copy,
  .feature-card,
  .pillar-card,
  .trust-card,
  .contact-card,
  .stat-card,
  .workflow-step,
  .topbar {
    animation: none;
    transition: none;
  }
}