:root {
  --white: #fff;
  --bg: #f7f8fa;
  --border: #e5e7eb;
  --text: #111827;
  --muted: #6b7280;
  --graphite: #374151;
  --shadow: 0 22px 60px rgba(17, 24, 39, .09);
  --soft: 0 12px 34px rgba(17, 24, 39, .055);
  --max: 1160px;
}

* {
  box-sizing: border-box;
}

html {
  overflow-x: hidden;
  scroll-behavior: smooth;
}

body {
  margin: 0;
  overflow-x: hidden;
  font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  color: var(--text);
  background: var(--white);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}

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

.hero-shell {
  position: relative;
  min-height: 100svh;
  overflow: hidden;
  isolation: isolate;
  background: #fff;
}

.spline-bg {
  position: absolute;
  inset: 0;
  z-index: 0;
  width: 100vw;
  height: 100svh;
  overflow: hidden;
  pointer-events: auto;
}

.spline-bg spline-viewer {
  position: absolute;
  inset: 0;
  display: block;
  width: 100vw;
  height: 100svh;
  min-width: 100vw;
  min-height: 100svh;
  filter: invert(1) grayscale(1) contrast(1.1);
}

.spline-vignette {
  position: absolute;
  inset: 0;
  z-index: 1;
  pointer-events: none;
  background:
    linear-gradient(90deg, rgba(255, 255, 255, .9) 0%, rgba(255, 255, 255, .44) 20%, rgba(255, 255, 255, .08) 44%, rgba(255, 255, 255, .18) 74%, rgba(255, 255, 255, .88) 100%),
    linear-gradient(180deg, rgba(255, 255, 255, .72) 0%, rgba(255, 255, 255, .12) 30%, rgba(255, 255, 255, .04) 58%, rgba(255, 255, 255, .92) 100%);
}

.hero-nav {
  position: fixed;
  inset: 16px 0 auto;
  z-index: 20;
  padding: 0 16px;
}

.hero-nav-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  max-width: 1160px;
  margin: 0 auto;
  gap: 22px;
  padding: 12px 20px;
  border: 1px solid rgba(229, 231, 235, .6);
  border-radius: 999px;
  background: rgba(255, 255, 255, .8);
  box-shadow: 0 8px 26px rgba(17, 24, 39, .06);
  backdrop-filter: blur(14px);
}

.brand {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 22px;
  font-weight: 750;
  letter-spacing: -.02em;
}

.brand-mark {
  display: grid;
  place-items: center;
  width: 36px;
  height: 36px;
  border-radius: 12px;
  background: var(--text);
  color: #fff;
  font-weight: 850;
}

.nav-links {
  display: flex;
  align-items: center;
  gap: 28px;
  color: var(--muted);
  font-size: 14px;
}

.nav-links a:hover {
  color: var(--text);
}

.nav-cta {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: 999px;
  background: var(--text);
  color: #fff !important;
  padding: 11px 18px;
  font-size: 14px;
  font-weight: 700;
}

.nav-toggle {
  display: none;
  border: 0;
  background: transparent;
  color: var(--text);
  font-size: 0;
}

.nav-toggle-bars {
  display: block;
  width: 20px;
  height: 2px;
  border-radius: 999px;
  background: currentColor;
  box-shadow: 0 -6px 0 currentColor, 0 6px 0 currentColor;
}

.hero-content {
  position: absolute;
  inset: 0;
  z-index: 10;
  display: flex;
  align-items: center;
  pointer-events: none;
}

.hero-content-inner {
  width: 100%;
  max-width: none;
  margin: 0;
  padding: 96px clamp(88px, 13vw, 220px) 0;
}

.hero-copy {
  max-width: 760px;
  pointer-events: auto;
}

.badge {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 9px 15px;
  border: 1px solid var(--border);
  border-radius: 999px;
  background: rgba(255, 255, 255, .7);
  box-shadow: var(--soft);
  backdrop-filter: blur(10px);
  font-size: 14px;
  font-weight: 650;
}

.badge span {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--text);
}

h1,
h2,
h3,
p {
  margin: 0;
}

h1 {
  max-width: 780px;
  margin-top: 28px;
  font-size: clamp(44px, 5.4vw, 86px);
  line-height: 1.02;
  letter-spacing: -.04em;
  font-weight: 820;
}

h2 {
  font-size: clamp(32px, 4vw, 52px);
  line-height: 1.08;
  letter-spacing: -.03em;
}

h3 {
  font-size: 22px;
  line-height: 1.15;
}

.lead {
  max-width: 640px;
  margin-top: 26px;
  color: var(--muted);
  font-size: clamp(17px, 1.4vw, 21px);
  line-height: 1.65;
}

.button-row {
  display: flex;
  flex-wrap: wrap;
  gap: 16px;
  margin-top: 34px;
}

.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 54px;
  padding: 14px 28px;
  border: 1px solid var(--border);
  border-radius: 999px;
  background: rgba(255, 255, 255, .76);
  box-shadow: var(--soft);
  font-weight: 750;
  transition: .18s ease;
}

.button.primary {
  border-color: var(--text);
  background: var(--text);
  color: #fff;
}

.button:hover {
  transform: translateY(-2px);
  box-shadow: var(--shadow);
}

.trusted {
  margin-top: 62px;
  color: rgba(107, 114, 128, .75);
}

.trusted-label {
  font-size: 12px;
  font-weight: 750;
  letter-spacing: .16em;
  text-transform: uppercase;
}

.trusted-row {
  display: flex;
  flex-wrap: wrap;
  gap: 28px;
  margin-top: 20px;
  font-weight: 750;
}

.scroll-cue {
  position: absolute;
  left: 50%;
  bottom: 22px;
  z-index: 12;
  display: grid;
  justify-items: center;
  gap: 10px;
  transform: translateX(-50%);
  color: var(--muted);
  font-size: 12px;
  font-weight: 750;
  letter-spacing: .12em;
  text-transform: uppercase;
}

.scroll-cue span {
  position: relative;
  width: 24px;
  height: 38px;
  border: 1px solid var(--graphite);
  border-radius: 999px;
}

.scroll-cue span::after {
  content: "";
  position: absolute;
  left: 50%;
  top: 8px;
  width: 4px;
  height: 7px;
  border-radius: 999px;
  background: var(--graphite);
  transform: translateX(-50%);
  animation: scrollDot 1.7s ease-in-out infinite;
}

@keyframes scrollDot {
  0%,
  100% {
    transform: translate(-50%, 0);
    opacity: .35;
  }

  50% {
    transform: translate(-50%, 10px);
    opacity: .9;
  }
}

main:not(.home-main) {
  padding-top: 82px;
}

.section {
  padding: 104px 24px;
}

.section.soft {
  background: var(--bg);
}

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

.section-head {
  display: flex;
  align-items: end;
  justify-content: space-between;
  gap: 32px;
  margin-bottom: 42px;
}

.eyebrow {
  margin-bottom: 14px;
  color: var(--muted);
  font-size: 13px;
  font-weight: 760;
  letter-spacing: .14em;
  text-transform: uppercase;
}

.section-head p {
  max-width: 560px;
  color: var(--muted);
}

.grid {
  display: grid;
  gap: 24px;
}

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

.grid.four {
  grid-template-columns: repeat(4, 1fr);
}

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

.card {
  padding: 30px;
  border: 1px solid var(--border);
  border-radius: 24px;
  background: #fff;
  box-shadow: var(--soft);
  transition: .18s ease;
}

.card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow);
}

.card p,
.card li {
  color: var(--muted);
}

.card p {
  margin-top: 12px;
}

.list {
  display: grid;
  gap: 10px;
  margin: 20px 0 0;
  padding: 0;
  list-style: none;
}

.price {
  margin: 22px 0 10px;
  font-size: 38px;
  font-weight: 820;
}

.feature-band {
  display: grid;
  grid-template-columns: .9fr 1.1fr;
  align-items: center;
  gap: 42px;
  padding: 46px;
  border: 1px solid var(--border);
  border-radius: 32px;
  background: #fff;
  box-shadow: var(--shadow);
}

.mock-panel {
  padding: 28px;
  border: 1px solid var(--border);
  border-radius: 24px;
  background: linear-gradient(180deg, #fff, var(--bg));
}

.metric-row {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 14px;
  margin-top: 20px;
}

.metric {
  padding: 18px;
  border: 1px solid var(--border);
  border-radius: 18px;
  background: #fff;
}

.metric span {
  color: var(--muted);
  font-size: 12px;
}

.metric strong {
  display: block;
  margin-top: 8px;
  font-size: 20px;
}

.page-hero {
  padding: 150px 24px 72px;
  border-bottom: 1px solid var(--border);
  background: var(--bg);
}

.page-hero .container {
  max-width: 920px;
}

.page-hero h1 {
  margin-top: 0;
}

.contact-grid {
  display: grid;
  grid-template-columns: 1.1fr .9fr;
  gap: 32px;
}

.form {
  display: grid;
  gap: 18px;
}

.field {
  display: grid;
  gap: 8px;
  font-weight: 750;
}

.field input,
.field select,
.field textarea {
  width: 100%;
  padding: 14px 15px;
  border: 1px solid var(--border);
  border-radius: 16px;
  background: #fff;
  color: var(--text);
  font: inherit;
}

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

.hidden-field {
  position: absolute;
  left: -9999px;
}

.cta {
  padding: 64px 28px;
  border: 1px solid var(--border);
  border-radius: 32px;
  background: #fff;
  box-shadow: var(--shadow);
  text-align: center;
}

.footer {
  padding: 46px 24px;
  border-top: 1px solid var(--border);
  color: var(--muted);
}

.footer .container {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: 24px;
}

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

.hero-shell .hero-nav {
  top: clamp(24px, 2.15vw, 32px);
  left: 50%;
  right: auto;
  width: min(82vw, 1400px);
  padding: 0;
  transform: translateX(-50%);
}

.hero-shell .hero-nav-inner {
  display: grid;
  grid-template-columns: minmax(180px, .8fr) auto minmax(220px, .8fr);
  align-items: center;
  width: 100%;
  max-width: none;
  min-height: 68px;
  margin: 0;
  padding: 0 18px 0 22px;
  gap: 24px;
  border: 1px solid rgba(15, 23, 42, .08);
  border-radius: 999px;
  background: rgba(255, 255, 255, .82);
  box-shadow: 0 24px 70px rgba(15, 23, 42, .14), inset 0 1px 0 rgba(255, 255, 255, .9);
  backdrop-filter: blur(22px) saturate(1.18);
}

.hero-shell .brand {
  justify-self: start;
  gap: 12px;
  font-size: 24px;
  font-weight: 820;
}

.hero-shell .brand-mark {
  width: 42px;
  height: 42px;
  border-radius: 14px;
}

.hero-shell .nav-links {
  justify-self: center;
  gap: clamp(20px, 2.2vw, 34px);
  color: rgba(55, 65, 81, .82);
  font-size: 15px;
  font-weight: 680;
  white-space: nowrap;
}

.hero-shell .home-nav-cta {
  justify-self: end;
  min-height: 46px;
  padding: 0 22px;
  box-shadow: 0 14px 28px rgba(17, 24, 39, .18);
  white-space: nowrap;
}

.mobile-label {
  display: none;
}

.hero-shell .hero-content {
  position: absolute;
  inset: 0;
  z-index: 10;
  display: block;
  pointer-events: none;
}

.hero-shell .hero-content-inner {
  position: absolute;
  top: clamp(205px, 30vh, 330px);
  left: clamp(96px, 11vw, 172px);
  width: min(760px, 76vw);
  max-width: none;
  margin: 0;
  padding: 0;
}

.hero-shell .hero-copy {
  max-width: 760px;
}

.hero-shell h1 {
  max-width: 760px;
  margin-top: 28px;
  font-size: clamp(58px, 5.25vw, 88px);
  line-height: .99;
  letter-spacing: -.045em;
}

.hero-shell .lead {
  max-width: 650px;
  margin-top: 22px;
}

.hero-shell .button-row {
  margin-top: 30px;
}

.hero-shell .trusted {
  max-width: 720px;
  margin-top: 42px;
}

.hero-shell .trusted-row {
  gap: 22px;
  font-size: 15px;
}

@media (max-width: 1120px) {
  .hero-shell .hero-nav {
    width: calc(100vw - 48px);
  }

  .hero-shell .hero-nav-inner {
    grid-template-columns: auto 1fr auto;
  }

  .hero-shell .nav-links {
    gap: 20px;
    font-size: 14px;
  }
}

@media (max-width: 900px) {
  .nav-links {
    display: none;
  }

  .nav-toggle {
    display: block;
  }

  .hero-nav-inner {
    border-radius: 24px;
  }

  .nav-links.open {
    position: absolute;
    left: 16px;
    right: 16px;
    top: 62px;
    display: grid;
    gap: 4px;
    padding: 14px;
    border: 1px solid var(--border);
    border-radius: 20px;
    background: #fff;
    box-shadow: var(--shadow);
  }

  .nav-links.open a {
    padding: 12px;
  }

  .hero-content {
    position: relative;
    min-height: 100vh;
    padding-top: 120px;
  }

  .hero-content-inner {
    padding-top: 20px;
  }

  .trusted {
    margin-top: 40px;
  }

  .section-head,
  .feature-band,
  .contact-grid {
    display: block;
  }

  .grid.three,
  .grid.four,
  .grid.two {
    grid-template-columns: 1fr;
  }

  .feature-band {
    padding: 28px;
  }

  .metric-row {
    grid-template-columns: 1fr;
  }

  .section {
    padding: 76px 18px;
  }

  .page-hero {
    padding: 128px 18px 60px;
  }

  .button {
    width: 100%;
  }

  .scroll-cue {
    display: none;
  }

  .hero-shell .hero-nav {
    top: 14px;
    left: 14px;
    right: 14px;
    width: auto;
    transform: none;
  }

  .hero-shell .hero-nav-inner {
    position: relative;
    display: flex;
    align-items: center;
    justify-content: space-between;
    min-height: 60px;
    gap: 12px;
    padding: 8px 10px 8px 14px;
    border-radius: 30px;
  }

  .hero-shell .nav-toggle {
    display: grid !important;
    flex: 0 0 44px;
    place-items: center;
    justify-self: end;
    width: 44px;
    height: 44px;
    border-radius: 999px;
    background: rgba(17, 24, 39, .06);
    line-height: 1;
  }

  .hero-shell .brand {
    font-size: 21px;
  }

  .hero-shell .brand-mark {
    width: 38px;
    height: 38px;
  }

  .hero-shell .nav-links.open {
    left: 0;
    right: 0;
    top: calc(100% + 10px);
    border-color: rgba(15, 23, 42, .08);
    border-radius: 24px;
    background: rgba(255, 255, 255, .94);
    backdrop-filter: blur(18px);
  }

  .hero-shell .hero-content {
    position: relative;
    min-height: 100svh;
    padding-top: 0;
  }

  .hero-shell .hero-content-inner {
    position: relative;
    top: auto;
    left: auto;
    width: 100%;
    padding: 138px 22px 88px;
  }

  .hero-shell h1 {
    width: min(100%, 330px);
    max-width: 100%;
    font-size: clamp(38px, 10.7vw, 46px);
    line-height: 1.04;
    letter-spacing: -.035em;
    overflow-wrap: normal;
  }

  .hero-shell .lead {
    max-width: 330px;
  }

  .hero-shell .button-row {
    display: grid;
    grid-template-columns: minmax(0, 1fr);
    width: min(100%, 330px);
  }
}

@media (min-width: 901px) {
  .hero-content-inner {
    padding-left: clamp(208px, calc(13vw + 120px), 400px);
    padding-right: clamp(88px, 13vw, 220px);
  }

  .hero-shell .hero-content-inner {
    padding: 0;
  }
}

@media (max-width: 640px) {
  .hero-shell .hero-nav {
    left: 14px;
    right: auto;
    width: calc(100vw - 28px);
    max-width: 362px;
  }

  .hero-shell .nav-toggle {
    display: none !important;
  }

  .hero-shell .home-nav-cta {
    display: inline-flex;
    min-height: 42px;
    padding: 0 16px;
    font-size: 13px;
  }

  .desktop-label {
    display: none;
  }

  .mobile-label {
    display: inline;
  }

  .hero-shell .hero-nav-inner {
    display: flex;
  }

  .hero-shell .badge {
    font-size: 12px;
  }

  .hero-shell .trusted-row {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 12px 18px;
  }
}

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

  .button:hover,
  .card:hover {
    transform: none;
  }
}
