/* VEMIO v4 — auditgedreven visuele en conversieverbeteringen. */
@font-face {
  font-family: "Plus Jakarta Sans";
  src: url("fonts/plus-jakarta-sans-latin.woff2") format("woff2");
  font-style: normal;
  font-weight: 400 800;
  font-display: swap;
}

@font-face {
  font-family: "JetBrains Mono";
  src: url("fonts/jetbrains-mono-latin.woff2") format("woff2");
  font-style: normal;
  font-weight: 400 700;
  font-display: swap;
}

:root {
  --navy: #18236d;
  --navy-deep: #101748;
  --cyan: #2bacd8;
  --cyan-dark: #1f95c0;
  --cyan-pale: #e7f7fc;
  --v4-navy: #18236d;
  --v4-navy-deep: #101748;
  --v4-cyan: #2bacd8;
  --v4-cyan-pale: #e7f7fc;
  --v4-sage: #8ab8aa;
  --v4-cloud: #f3f6fb;
  --v4-shadow: 0 28px 80px rgba(13, 20, 63, .13);
}

body {
  background: #fff;
  font-family: "Plus Jakarta Sans", ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
}

.price strong,
.price-card [data-plan-price],
.proof-grid strong {
  font-variant-numeric: tabular-nums;
}

.site-header {
  box-shadow: 0 8px 32px rgba(13, 20, 63, .04);
}

.header-inner {
  gap: 24px;
}

.brand img {
  width: 142px;
}

.main-nav {
  gap: 20px;
}

.main-nav a,
.login-link {
  font-size: .74rem;
}

.hero {
  position: relative;
  min-height: 760px;
  background:
    radial-gradient(circle at 87% 13%, rgba(38, 181, 212, .14), transparent 25%),
    radial-gradient(circle at 74% 71%, rgba(138, 184, 170, .18), transparent 29%),
    linear-gradient(180deg, #f9fbff 0%, #fff 78%);
}

.hero::before {
  position: absolute;
  inset: 0;
  content: "";
  pointer-events: none;
  opacity: .26;
  background-image: linear-gradient(rgba(23, 35, 111, .05) 1px, transparent 1px), linear-gradient(90deg, rgba(23, 35, 111, .05) 1px, transparent 1px);
  background-size: 42px 42px;
  mask-image: linear-gradient(to right, transparent 0, #000 58%, #000 100%);
}

.hero-grid {
  position: relative;
  z-index: 1;
  grid-template-columns: minmax(0, .96fr) minmax(500px, 1.04fr);
  gap: 72px;
}

.hero h1 {
  max-width: 760px;
  font-size: clamp(3.45rem, 5vw, 5.65rem);
}

.hero h1 em {
  margin-top: .08em;
  color: var(--v4-navy);
}

.hero-lead {
  max-width: 720px;
  font-size: 1.07rem;
}

.hero-reassurance {
  margin: -8px 0 14px;
  color: var(--muted);
  font-size: .72rem;
  font-weight: 750;
}

.hero-trust {
  max-width: 720px;
}

.product-stage {
  filter: drop-shadow(0 38px 52px rgba(13, 20, 63, .13));
}

.product-frame {
  border-color: rgba(210, 218, 235, .92);
  box-shadow: 0 28px 70px rgba(13, 20, 63, .12);
}

.product-frame__bar {
  min-height: 46px;
  background: linear-gradient(180deg, #fff, #f6f8fc);
}

.product-frame__bar a {
  color: var(--v4-navy);
  font-weight: 800;
}

.product-stage__facts span {
  box-shadow: 0 12px 28px rgba(13, 20, 63, .11);
}

.proof-strip {
  background: linear-gradient(90deg, #fff, #f7fbfc 47%, #fff);
}

.proof-grid strong {
  color: var(--v4-navy);
  font-size: 1.65rem;
}

.pillars {
  background: linear-gradient(180deg, #fff 0%, #f7f9fd 100%);
}

.capability-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 18px;
  scroll-margin-top: 140px;
}

.capability-grid--core .capability-card {
  min-height: 430px;
}

.capability-card {
  min-height: 470px;
  display: flex;
  flex-direction: column;
  padding: 32px;
  border: 1px solid #dfe5f0;
  border-radius: 24px;
  background: rgba(255, 255, 255, .9);
  box-shadow: 0 20px 50px rgba(13, 20, 63, .055);
  transition: transform .24s ease, box-shadow .24s ease, border-color .24s ease;
}

.capability-card:hover {
  border-color: rgba(38, 181, 212, .48);
  box-shadow: 0 28px 64px rgba(13, 20, 63, .095);
  transform: translateY(-5px);
}

.capability-card--accent {
  border-color: rgba(38, 181, 212, .32);
  background: linear-gradient(145deg, #eefbfe, #fff 62%);
}

.capability-card--dark {
  border-color: var(--v4-navy-deep);
  background: linear-gradient(150deg, #151f64, #0d143f);
  color: rgba(255, 255, 255, .76);
}

.capability-card--dark h3,
.capability-card--dark a,
.capability-card--dark .card-label {
  color: #fff;
}

.capability-card--dark .capability-icon {
  border-color: rgba(255, 255, 255, .16);
  background: rgba(255, 255, 255, .1);
  color: #8be0ee;
}

.capability-card--dark li {
  border-color: rgba(255, 255, 255, .12);
}

.capability-icon {
  width: 54px;
  height: 54px;
  display: grid;
  place-items: center;
  margin-bottom: 30px;
  border: 1px solid #d9e2ef;
  border-radius: 16px;
  background: #fff;
  color: var(--v4-navy);
  box-shadow: 0 12px 30px rgba(13, 20, 63, .07);
}

.capability-icon svg,
.old-flow svg,
.contact-method svg {
  width: 25px;
  height: 25px;
  fill: none;
  stroke: currentColor;
  stroke-linecap: round;
  stroke-linejoin: round;
  stroke-width: 1.7;
}

.capability-card h3 {
  font-size: 1.45rem;
}

.capability-card > p:not(.card-label) {
  color: var(--muted);
  font-size: .84rem;
}

.capability-card--dark > p:not(.card-label) {
  color: rgba(255, 255, 255, .7);
}

.capability-card ul {
  display: grid;
  gap: 0;
  margin: 8px 0 28px;
  padding: 0;
  list-style: none;
}

.capability-card li {
  padding: 10px 0;
  border-bottom: 1px solid #e8ebf3;
  font-size: .74rem;
  font-weight: 700;
}

.capability-card li::before {
  margin-right: 8px;
  color: var(--sage-dark);
  content: "✓";
}

.capability-card a {
  display: inline-flex;
  gap: 7px;
  align-items: center;
  margin-top: auto;
  color: var(--v4-navy);
  font-size: .78rem;
  font-weight: 850;
  text-decoration: none;
}

.problem {
  position: relative;
  overflow: hidden;
}

.problem::after {
  position: absolute;
  top: -180px;
  right: -120px;
  width: 460px;
  height: 460px;
  border: 1px solid rgba(139, 224, 238, .16);
  border-radius: 50%;
  content: "";
}

.old-flow {
  grid-template-columns: repeat(9, minmax(0, auto));
  gap: 10px;
  margin-top: 38px;
}

.old-flow > span {
  min-width: 92px;
  min-height: 110px;
  display: grid;
  justify-items: center;
  align-content: center;
  gap: 10px;
  padding: 16px 10px;
  border: 1px solid rgba(255, 255, 255, .16);
  border-radius: 16px;
  background: rgba(255, 255, 255, .07);
}

.old-flow b {
  width: 42px;
  height: 42px;
  display: grid;
  place-items: center;
  border-radius: 12px;
  background: rgba(139, 224, 238, .12);
  color: #8be0ee;
}

.old-flow small {
  color: #fff;
  font-size: .7rem;
  font-weight: 800;
}

.old-flow > i {
  color: #8be0ee;
  font-size: 1.1rem;
  font-style: normal;
}

.connected-flow {
  position: relative;
  z-index: 1;
  box-shadow: 0 28px 60px rgba(0, 0, 0, .18);
}

.connected-flow > div > span svg {
  width: 22px;
  height: 22px;
  fill: none;
  stroke: currentColor;
  stroke-width: 1.8;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.feature-section {
  overflow: hidden;
}

.feature-grid {
  grid-template-columns: minmax(0, .86fr) minmax(560px, 1.14fr);
  gap: 72px;
}

.feature-grid--reverse {
  grid-template-columns: minmax(560px, 1.14fr) minmax(0, .86fr);
}

.feature-grid .product-frame {
  align-self: center;
  transform: perspective(1600px) rotateY(-1.2deg);
}

.feature-grid--reverse .product-frame {
  transform: perspective(1600px) rotateY(1.2deg);
}

.feature-grid .product-frame:hover {
  transform: perspective(1600px) rotateY(0deg) translateY(-4px);
}

.feature-grid .product-frame img {
  aspect-ratio: 16 / 10;
  object-fit: cover;
  object-position: top left;
}

.feature-grid .product-frame figcaption {
  background: linear-gradient(180deg, #fff, #f8faff);
}

.pricing {
  background:
    radial-gradient(circle at 50% 0, rgba(38, 181, 212, .1), transparent 28%),
    #f7f9fd;
}

.billing-toggle {
  padding: 5px;
  border: 1px solid #dbe1ee;
  box-shadow: 0 12px 32px rgba(13, 20, 63, .07);
}

.billing-toggle button[aria-pressed="true"] {
  box-shadow: 0 10px 24px rgba(13, 20, 63, .18);
}

.billing-benefit {
  position: relative;
  max-width: 760px;
  margin: 0 auto 36px;
  padding: 16px 22px;
  border: 1px solid rgba(46, 118, 97, .22);
  border-radius: 16px;
  background: #edf8f3;
  color: #225f4e;
  font-size: .82rem;
  font-weight: 760;
  text-align: center;
}

.plans {
  align-items: stretch;
}

.plan {
  border-color: #dce2ee;
  box-shadow: 0 22px 58px rgba(13, 20, 63, .08);
}

.plan--featured {
  border-width: 2px;
  border-color: var(--v4-cyan);
  box-shadow: 0 30px 70px rgba(23, 35, 111, .15);
}

.plan-saving {
  min-height: 36px;
  display: inline-flex;
  align-items: center;
  padding: 7px 10px;
  border-radius: 9px;
  background: #eaf8f2;
  color: #276c57;
  font-size: .68rem;
  font-weight: 850;
}

.company-proof {
  background: linear-gradient(180deg, #fff, #f4f7fb);
}

.company-proof__grid {
  display: grid;
  grid-template-columns: .78fr 1.22fr;
  gap: 72px;
  align-items: center;
}

.company-proof__copy > p:not(.eyebrow) {
  color: var(--muted);
  font-size: 1rem;
  line-height: 1.75;
}

.company-proof__copy > .company-proof__legal {
  margin: 28px 0 8px;
  padding: 18px 20px;
  border-left: 3px solid var(--v4-cyan);
  border-radius: 0 12px 12px 0;
  background: #f4f8fc;
  color: #4f596d;
  font-size: .8rem;
  line-height: 1.65;
}

.company-proof__legal strong {
  color: var(--v4-navy-deep);
}

.company-proof__facts {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: 24px;
  background: #fff;
  box-shadow: var(--v4-shadow);
}

.company-proof__facts article {
  min-height: 180px;
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding: 28px;
  border-right: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
}

.company-proof__facts article:nth-child(2n) {
  border-right: 0;
}

.company-proof__facts article:nth-last-child(-n+2) {
  border-bottom: 0;
}

.company-proof__facts strong {
  margin-bottom: 10px;
  color: var(--v4-navy-deep);
  font-size: .9rem;
}

.company-proof__facts span {
  color: var(--muted);
  font-size: .76rem;
  line-height: 1.6;
}

.demo-request-card {
  position: relative;
  min-height: 430px;
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding: 56px;
  overflow: hidden;
  background:
    radial-gradient(circle at 100% 0, rgba(38, 181, 212, .24), transparent 35%),
    #fff;
}

.demo-request-card__icon {
  width: 68px;
  height: 68px;
  display: grid;
  place-items: center;
  margin-bottom: 30px;
  border-radius: 22px;
  background: var(--v4-navy);
  color: #fff;
  box-shadow: 0 18px 42px rgba(23, 35, 111, .25);
}

.demo-request-card > p:not(.eyebrow),
.demo-request-card > small {
  color: var(--muted);
}

.demo-request-card .button {
  margin: 14px 0 16px;
}

.contact {
  position: relative;
  background:
    radial-gradient(circle at 4% 0, rgba(38, 181, 212, .2), transparent 25%),
    radial-gradient(circle at 96% 100%, rgba(138, 184, 170, .16), transparent 25%),
    var(--v4-navy-deep);
}

.contact-grid {
  grid-template-columns: minmax(0, .84fr) minmax(580px, 1.16fr);
  gap: 62px;
  align-items: start;
}

.form-demo-access {
  display: grid;
  gap: 10px;
  margin-top: 10px;
  padding: 20px;
  border: 1px solid rgba(43, 172, 216, .34);
  border-radius: 16px;
  background: #fff;
  color: var(--v4-navy);
  box-shadow: 0 18px 40px rgba(8, 18, 67, .12);
}

.form-demo-access[hidden] {
  display: none;
}

.form-demo-access strong,
.form-demo-access span {
  display: block;
}

.form-demo-access span {
  color: var(--muted);
  font-size: .78rem;
}

.form-demo-access .button {
  margin-top: 4px;
}

.contact-copy {
  padding-top: 22px;
}

.contact-copy > p:not(.eyebrow) {
  max-width: 570px;
  color: rgba(255, 255, 255, .74);
  font-size: .96rem;
}

.contact-methods {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 12px;
  margin-top: 34px;
  font-style: normal;
}

.contact-method {
  min-height: 132px;
  display: grid;
  grid-template-columns: 42px minmax(0, 1fr);
  grid-template-rows: auto auto auto;
  column-gap: 13px;
  align-content: center;
  padding: 18px;
  border: 1px solid rgba(255, 255, 255, .13);
  border-radius: 16px;
  background: rgba(255, 255, 255, .065);
  color: #fff !important;
  text-decoration: none;
  transition: border-color .2s ease, background .2s ease;
}

.contact-method:hover {
  border-color: rgba(139, 224, 238, .45);
  background: rgba(255, 255, 255, .1);
}

.contact-method > span {
  grid-row: 1 / 4;
  width: 42px;
  height: 42px;
  display: grid;
  place-items: center;
  border-radius: 12px;
  background: rgba(139, 224, 238, .12);
  color: #8be0ee;
}

.contact-method small {
  color: rgba(255, 255, 255, .55);
  font-size: .64rem;
  font-weight: 750;
  text-transform: uppercase;
  letter-spacing: .08em;
}

.contact-method strong {
  overflow-wrap: anywhere;
  color: #fff;
  font-size: .78rem;
}

.contact-method em {
  color: rgba(255, 255, 255, .72);
  font-size: .7rem;
  font-style: normal;
}

.contact-form {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 14px;
  padding: 38px;
  border: 1px solid rgba(255, 255, 255, .16);
  border-radius: 24px;
  background: rgba(255, 255, 255, .075);
  box-shadow: 0 32px 80px rgba(0, 0, 0, .2);
  backdrop-filter: blur(10px);
}

.unified-fields {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 14px;
}

.unified-fields[hidden],
.contact-form [hidden] {
  display: none !important;
}

.unified-fields .wide,
.contact-form > .wide,
.contact-form .form-heading {
  grid-column: 1 / -1;
}

.contact-form .form-heading h3 {
  margin-bottom: 8px;
  color: #fff;
}

.contact-form .form-heading > span {
  color: #8be0ee;
  font-size: .68rem;
  font-weight: 850;
  letter-spacing: .11em;
  text-transform: uppercase;
}

.contact-form .form-heading p,
.request-note {
  margin-bottom: 0;
  color: rgba(255, 255, 255, .65);
  font-size: .74rem;
}

.contact-form label {
  color: rgba(255, 255, 255, .84);
}

.contact-form input,
.contact-form select,
.contact-form textarea {
  border-color: rgba(255, 255, 255, .18);
  background: rgba(255, 255, 255, .105);
  color: #fff;
}

.contact-form select option {
  color: var(--ink);
}

.contact-form .consent {
  flex-direction: row !important;
  align-items: flex-start;
  color: rgba(255, 255, 255, .7);
}

.contact-form .consent input {
  width: 17px !important;
  min-height: 17px;
  height: 17px;
  flex: 0 0 17px;
  margin-top: 1px;
  padding: 0;
}

.site-footer {
  background: #080d2a;
}

.footer-brand img {
  width: 160px;
  height: auto;
  filter: none;
}

.form-hp {
  position: absolute !important;
  width: 1px !important;
  height: 1px !important;
  overflow: hidden !important;
  clip: rect(0 0 0 0) !important;
  clip-path: inset(50%) !important;
  white-space: nowrap !important;
}

.demo-tour {
  background: #fff;
}

.demo-tour__hero {
  padding: 88px 0 82px;
  background: radial-gradient(circle at 88% 12%, rgba(43, 172, 216, .16), transparent 30%), #f8fbff;
}

.demo-tour__hero-grid,
.demo-tour__grid {
  display: grid;
  grid-template-columns: minmax(0, .78fr) minmax(560px, 1.22fr);
  gap: 72px;
  align-items: center;
}

.demo-tour__hero h1,
.demo-tour__locked h1 {
  max-width: 760px;
  font-size: clamp(2.8rem, 5vw, 5.2rem);
}

.demo-tour__hero p,
.demo-tour__locked p {
  max-width: 680px;
  color: var(--muted);
  font-size: 1.04rem;
}

.demo-tour__hero .demo-tour__access-note {
  margin: -8px 0 22px;
  color: var(--v4-sage-dark);
  font-size: .74rem;
  font-weight: 800;
}

.demo-tour__nav {
  position: sticky;
  z-index: 80;
  top: var(--header-height);
  border-block: 1px solid #dfe5f0;
  background: rgba(255, 255, 255, .96);
  backdrop-filter: blur(12px);
}

.demo-tour__nav .container {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
}

.demo-tour__nav a {
  padding: 17px 12px;
  color: var(--v4-navy);
  font-size: .68rem;
  font-weight: 800;
  text-align: center;
  text-decoration: none;
}

.demo-tour__nav a:hover,
.demo-tour__nav a:focus-visible {
  background: var(--v4-cyan-pale);
}

.demo-tour__step--tint {
  background: #f5f8fc;
}

.demo-tour__step--dark,
.demo-tour__finish {
  background: var(--v4-navy-deep);
  color: rgba(255, 255, 255, .72);
}

.demo-tour__step--dark h2,
.demo-tour__finish h2 {
  color: #fff;
}

.demo-tour__grid--reverse .demo-tour__copy {
  order: 2;
}

.demo-tour__copy > span {
  display: inline-block;
  margin-bottom: 24px;
  color: var(--v4-cyan);
  font-family: "JetBrains Mono", monospace;
  font-size: .76rem;
  font-weight: 700;
}

.demo-tour__copy > p:not(.eyebrow) {
  color: var(--muted);
  font-size: 1rem;
}

.demo-tour__step--dark .demo-tour__copy > p:not(.eyebrow) {
  color: rgba(255, 255, 255, .68);
}

.demo-tour__finish {
  text-align: center;
}

.demo-tour__finish .container {
  max-width: 820px;
}

.demo-tour__finish .eyebrow {
  justify-content: center;
}

.demo-tour__locked {
  min-height: 66vh;
  display: grid;
  align-items: center;
  background: #f8fbff;
}

.footer-brand small,
.footer-grid > div > span {
  display: block;
  margin-top: 8px;
  color: rgba(255, 255, 255, .52);
  font-size: .68rem;
  white-space: normal;
  overflow-wrap: anywhere;
}

.main-nav__mobile-actions {
  display: none;
}

@media (max-width: 860px) {
  .site-header {
    background: #fff;
    -webkit-backdrop-filter: none;
    backdrop-filter: none;
  }

  .header-inner {
    position: relative;
    z-index: 120;
  }

  .main-nav {
    --menu-top: var(--header-height);
    position: fixed;
    z-index: 95;
    top: var(--menu-top);
    right: 0;
    bottom: 0;
    left: 0;
    display: flex;
    flex-direction: column;
    gap: 6px;
    margin: 0;
    padding: 18px max(18px, env(safe-area-inset-right)) calc(24px + env(safe-area-inset-bottom)) max(18px, env(safe-area-inset-left));
    overflow-y: auto;
    overscroll-behavior: contain;
    border-top: 1px solid var(--line);
    background:
      radial-gradient(circle at 100% 0, rgba(43, 172, 216, .16), transparent 38%),
      linear-gradient(180deg, #fff 0%, #f6f8ff 100%);
    box-shadow: 0 28px 70px rgba(16, 23, 72, .16);
    opacity: 0;
    visibility: hidden;
    transform: translateY(-10px);
    pointer-events: none;
    transition: opacity .2s ease, transform .2s ease, visibility .2s;
  }

  .main-nav.open {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
    pointer-events: auto;
  }

  .main-nav > a {
    min-height: 52px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 13px 15px;
    border: 1px solid transparent;
    border-radius: 14px;
    color: var(--navy-deep);
    font-size: .94rem;
    font-weight: 800;
    text-decoration: none;
  }

  .main-nav > a::after {
    position: static;
    width: auto;
    height: auto;
    content: "→";
    background: none;
    color: var(--cyan-dark);
    font-size: 1.08rem;
    transform: none;
  }

  .main-nav > a:hover,
  .main-nav > a:focus-visible {
    border-color: rgba(43, 172, 216, .22);
    background: rgba(255, 255, 255, .82);
    box-shadow: 0 10px 28px rgba(16, 23, 72, .07);
  }

  .main-nav__mobile-actions {
    display: grid;
    gap: 10px;
    margin-top: auto;
    padding-top: 18px;
    border-top: 1px solid var(--line);
  }

  .main-nav__mobile-actions a {
    min-height: 50px;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 12px 16px;
    border-radius: 12px;
    font-size: .82rem;
    font-weight: 850;
    text-align: center;
    text-decoration: none;
  }

  .main-nav__mobile-actions a::after {
    display: none;
  }

  .main-nav__login {
    border: 1px solid #aeb5d0;
    background: #fff;
    color: var(--navy);
  }

  .main-nav__demo {
    border: 1px solid var(--navy);
    background: var(--navy);
    color: #fff;
    box-shadow: 0 12px 28px rgba(24, 35, 109, .2);
  }

  .main-nav__mobile-actions p {
    max-width: 330px;
    margin: 2px auto 0;
    color: var(--muted);
    font-size: .7rem;
    line-height: 1.55;
    text-align: center;
  }

  .menu-button {
    position: relative;
    z-index: 120;
    transition: border-color .2s ease, background .2s ease, box-shadow .2s ease;
  }

  .menu-button span {
    transition: opacity .18s ease, transform .2s ease;
    transform-origin: center;
  }

  .menu-button[aria-expanded="true"] {
    border-color: rgba(43, 172, 216, .42);
    background: var(--cyan-pale);
    box-shadow: 0 0 0 4px rgba(43, 172, 216, .1);
  }

  .menu-button[aria-expanded="true"] span:nth-child(1) {
    transform: translateY(7px) rotate(45deg);
  }

  .menu-button[aria-expanded="true"] span:nth-child(2) {
    opacity: 0;
  }

  .menu-button[aria-expanded="true"] span:nth-child(3) {
    transform: translateY(-7px) rotate(-45deg);
  }

  body.menu-open .mobile-cta {
    opacity: 0;
    pointer-events: none;
    transform: translateY(calc(100% + 28px));
  }
}

/* v5.0.3 — rustigere, verkoopgerichte typografische hiërarchie. */
.hero h1,
.seo-hero-copy h1,
.section h2,
.seo-landing h2,
.section h3,
.seo-landing h3 {
  text-wrap: balance;
}

.hero h1 {
  max-width: 650px;
  font-size: clamp(3.25rem, 4.2vw, 3.75rem);
  line-height: 1.055;
  letter-spacing: -.045em;
}

.section h2,
.seo-landing h2 {
  font-size: clamp(2.15rem, 3.2vw, 2.65rem);
  line-height: 1.09;
  letter-spacing: -.035em;
}

.section h3,
.seo-landing h3 {
  font-size: clamp(1.22rem, 1.75vw, 1.4rem);
  line-height: 1.18;
  letter-spacing: -.02em;
}

.seo-hero-copy h1 {
  max-width: 620px;
  font-size: clamp(3.2rem, 4.25vw, 3.75rem);
  line-height: 1.055;
  letter-spacing: -.045em;
}

.seo-solution h2 {
  font-size: clamp(1.75rem, 2.6vw, 2.2rem);
}

.section-heading h2,
.seo-section-intro h2 {
  max-width: 790px;
}

.section-heading--center h2 {
  margin-right: auto;
  margin-left: auto;
}

.plan-price strong {
  font-size: clamp(2.9rem, 4vw, 3.25rem);
  line-height: 1;
  letter-spacing: -.045em;
}

.hero-lead,
.section-heading > div > p:not(.eyebrow),
.seo-lead,
.seo-section-intro > p:not(.eyebrow) {
  text-wrap: pretty;
}

@media (max-width: 760px) {
  .hero h1,
  .seo-hero-copy h1 {
    max-width: none;
    font-size: clamp(2.15rem, 9.25vw, 2.35rem);
    line-height: 1.08;
    letter-spacing: -.04em;
  }

  .section h2,
  .seo-landing h2 {
    font-size: clamp(1.85rem, 8.1vw, 2.1rem);
    line-height: 1.12;
    letter-spacing: -.03em;
  }

  .section h3,
  .seo-landing h3 {
    font-size: 1.2rem;
    line-height: 1.24;
  }

  .seo-solution h2 {
    font-size: 1.7rem;
  }

  .plan-price strong {
    font-size: 2.65rem;
  }
}

@media (max-width: 1160px) {
  .main-nav {
    gap: 15px;
  }

  .main-nav a {
    font-size: .68rem;
  }

  .header-actions {
    gap: 10px;
  }

  .hero-grid,
  .feature-grid,
  .feature-grid--reverse,
  .contact-grid,
  .company-proof__grid,
  .demo-tour__hero-grid,
  .demo-tour__grid {
    grid-template-columns: 1fr;
  }

  .demo-tour__grid--reverse .demo-tour__copy {
    order: initial;
  }

  .product-stage,
  .feature-grid .product-frame {
    width: min(100%, 900px);
    margin-inline: auto;
  }

  .feature-grid--reverse .feature-copy {
    order: 0;
  }

  .feature-grid--reverse .product-frame {
    order: 1;
  }

  .contact-grid {
    gap: 44px;
  }
}

@media (max-width: 900px) {
  .capability-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .capability-card {
    min-height: 440px;
  }

  .old-flow {
    grid-template-columns: repeat(5, 1fr);
  }

  .old-flow > i {
    display: none;
  }

  .feature-grid,
  .feature-grid--reverse {
    gap: 40px;
  }
}

@media (max-width: 700px) {
  .hero {
    padding-top: 44px;
  }

  .hero::before {
    display: none;
  }

  .hero h1 {
    margin-bottom: 20px;
    font-size: clamp(2.3rem, 10.5vw, 3.1rem);
    line-height: 1.02;
  }

  .hero-reassurance {
    margin-top: 0;
    font-size: .68rem;
    line-height: 1.55;
  }

  .hero .eyebrow {
    margin-bottom: 14px;
    font-size: .62rem;
  }

  .hero-lead {
    font-size: .9rem;
    line-height: 1.6;
  }

  .capability-grid,
  .company-proof__facts,
  .contact-methods,
  .unified-fields,
  .contact-form {
    grid-template-columns: 1fr;
  }

  .capability-card {
    min-height: 0;
  }

  .company-proof__facts article,
  .company-proof__facts article:nth-child(2n),
  .company-proof__facts article:nth-last-child(-n+2) {
    min-height: 0;
    border-right: 0;
    border-bottom: 1px solid var(--line);
  }

  .company-proof__facts article:last-child {
    border-bottom: 0;
  }

  .old-flow {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .old-flow > span {
    min-width: 0;
  }

  .product-frame__bar em {
    display: none;
  }

  .product-stage__facts {
    position: static;
    display: grid;
    grid-template-columns: 1fr;
    gap: 8px;
    margin-top: 12px;
  }

  .feature-grid .product-frame,
  .feature-grid--reverse .product-frame {
    transform: none;
  }

  .demo-request-card {
    min-height: 0;
    padding: 34px 24px;
  }

  .contact-form {
    padding: 26px 18px;
  }

  .demo-tour__hero {
    padding: 54px 0 58px;
  }

  .demo-tour__hero-grid,
  .demo-tour__grid {
    gap: 34px;
  }

  .demo-tour__nav {
    overflow-x: auto;
  }

  .demo-tour__nav .container {
    min-width: 590px;
  }

  .contact-form > .wide,
  .contact-form .form-heading,
  .unified-fields .wide {
    grid-column: 1;
  }

  .mobile-cta {
    right: 14px;
    bottom: max(14px, env(safe-area-inset-bottom));
    left: 14px;
    opacity: 0;
    transform: translateY(20px);
    pointer-events: none;
    transition: opacity .2s ease, transform .2s ease;
  }

  .mobile-cta.is-visible {
    opacity: 1;
    transform: translateY(0);
    pointer-events: auto;
  }

  body.contact-visible .mobile-cta,
  body.footer-visible .mobile-cta {
    opacity: 0;
    transform: translateY(20px);
    pointer-events: none;
  }
}

@media (prefers-reduced-motion: reduce) {
  .capability-card,
  .feature-grid .product-frame,
  .mobile-cta {
    transition: none;
  }
}

@media (max-width: 860px) {
  .main-nav {
    gap: 6px;
  }

  .main-nav > a {
    font-size: .94rem;
  }

  .main-nav__mobile-actions a {
    font-size: .82rem;
  }

  .main-nav__mobile-actions .main-nav__demo {
    border-color: var(--navy);
    background: var(--navy);
    color: #fff;
  }
}

@media (max-width: 700px) {
  .hero h1 {
    font-size: clamp(2.1rem, 9vw, 2.3rem);
    line-height: 1.08;
  }
}
