:root {
  --navy: #0d2138;
  --navy-deep: #081727;
  --teal: #169baa;
  --teal-soft: #dff4f3;
  --orange: #fe5434;
  --ivory: #efeee7;
  --paper: #f8f8f4;
  --ink: #10263f;
  --muted: #5d6d7d;
  --line: #cfd9dd;
  --white: #ffffff;
  --shadow: 0 30px 70px rgba(6, 25, 43, 0.2);
  --max-width: 1200px;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
  scroll-padding-top: 88px;
}

body {
  margin: 0;
  background: var(--paper);
  color: var(--ink);
  font-family: "Montserrat", "Avenir Next", "Segoe UI", Arial, sans-serif;
  font-size: 16px;
  line-height: 1.6;
  text-rendering: optimizeLegibility;
}

a {
  color: inherit;
}

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

button,
a {
  -webkit-tap-highlight-color: transparent;
}

button {
  font: inherit;
}

[data-es] {
  display: none;
}

html[data-language="es"] [data-en] {
  display: none;
}

html[data-language="es"] [data-es] {
  display: inline;
}

.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}

.skip-link {
  position: fixed;
  top: 12px;
  left: 12px;
  z-index: 1000;
  transform: translateY(-160%);
  background: var(--white);
  color: var(--navy);
  padding: 10px 14px;
  font-weight: 800;
  text-decoration: none;
}

.skip-link:focus {
  transform: translateY(0);
}

.container {
  width: min(calc(100% - 40px), var(--max-width));
  margin-inline: auto;
}

.site-header {
  position: fixed;
  inset: 0 0 auto;
  z-index: 100;
  height: 78px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.12);
  color: var(--white);
  transition: background-color 180ms ease, box-shadow 180ms ease;
}

.site-header.is-scrolled {
  background: rgba(8, 23, 39, 0.96);
  box-shadow: 0 12px 40px rgba(4, 13, 24, 0.18);
  backdrop-filter: blur(18px);
}

.nav-wrap {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 100%;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  color: var(--teal);
  text-decoration: none;
}

.brand-mark {
  width: 23px;
  height: 30px;
}

.brand-word {
  color: var(--white);
  font-size: 18px;
  font-weight: 900;
  letter-spacing: 0.1em;
  line-height: 1;
}

.brand-word b {
  color: var(--orange);
}

.site-nav {
  display: flex;
  align-items: center;
  gap: 28px;
  font-size: 13px;
  font-weight: 750;
}

.site-nav > a:not(.button) {
  color: rgba(255, 255, 255, 0.75);
  text-decoration: none;
  transition: color 160ms ease;
}

.site-nav > a:not(.button):hover,
.site-nav > a:not(.button):focus-visible {
  color: var(--white);
}

.language-toggle {
  display: flex;
  align-items: center;
  gap: 7px;
  padding: 0;
  border: 0;
  background: transparent;
  color: rgba(255, 255, 255, 0.78);
  cursor: pointer;
  font-size: 10px;
  font-weight: 900;
  letter-spacing: 0.06em;
}

.toggle-track {
  position: relative;
  width: 30px;
  height: 16px;
  border: 1px solid rgba(255, 255, 255, 0.45);
  border-radius: 99px;
}

.toggle-track i {
  position: absolute;
  top: 3px;
  left: 3px;
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--teal);
  transition: transform 160ms ease;
}

html[data-language="es"] .toggle-track i {
  transform: translateX(14px);
  background: var(--orange);
}

.nav-toggle {
  display: none;
  width: 40px;
  height: 40px;
  padding: 10px 8px;
  border: 0;
  background: transparent;
  color: var(--white);
  cursor: pointer;
}

.nav-toggle > span:not(.sr-only) {
  display: block;
  width: 24px;
  height: 2px;
  margin-block: 6px;
  background: currentColor;
}

.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 12px;
  min-height: 50px;
  padding: 0 22px;
  border: 1px solid var(--orange);
  background: var(--orange);
  color: var(--white);
  font-size: 13px;
  font-weight: 850;
  text-decoration: none;
  box-shadow: 0 12px 30px rgba(254, 84, 52, 0.23);
  transition: transform 160ms ease, background-color 160ms ease, border-color 160ms ease;
}

.button:hover,
.button:focus-visible {
  transform: translateY(-2px);
  background: #ff684b;
  border-color: #ff684b;
}

.button-small {
  min-height: 40px;
  padding: 0 16px;
  font-size: 11px;
}

.button-light {
  border-color: var(--white);
  background: var(--white);
  color: var(--navy);
  box-shadow: none;
}

.button-light:hover,
.button-light:focus-visible {
  background: var(--ivory);
  border-color: var(--ivory);
}

.hero {
  position: relative;
  min-height: 820px;
  overflow: hidden;
  background: var(--navy);
  color: var(--white);
}

.hero::before {
  content: "";
  position: absolute;
  top: -210px;
  right: -80px;
  width: 520px;
  height: 520px;
  border: 86px solid rgba(22, 155, 170, 0.12);
  transform: rotate(17deg);
}

.hero::after {
  content: "";
  position: absolute;
  right: 0;
  bottom: 0;
  width: 37%;
  height: 9px;
  background: linear-gradient(90deg, var(--teal) 0 62%, var(--orange) 62%);
}

.hero-grid {
  position: absolute;
  inset: 0;
  opacity: 0.08;
  background-image:
    linear-gradient(rgba(255,255,255,0.28) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255,255,255,0.28) 1px, transparent 1px);
  background-size: 72px 72px;
  mask-image: linear-gradient(to right, transparent 2%, black 52%, transparent 100%);
}

.hero-layout {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: minmax(0, 0.9fr) minmax(540px, 1.1fr);
  align-items: center;
  gap: 72px;
  min-height: 820px;
  padding-top: 112px;
  padding-bottom: 76px;
}

.eyebrow {
  display: flex;
  align-items: center;
  gap: 12px;
  margin: 0 0 22px;
  color: var(--teal);
  font-size: 12px;
  font-weight: 900;
  letter-spacing: 0.17em;
  line-height: 1.3;
}

.eyebrow-line {
  width: 28px;
  height: 3px;
  background: currentColor;
}

.eyebrow.light {
  color: #70d0d4;
}

.hero h1 {
  max-width: 690px;
  margin: 0;
  font-size: clamp(48px, 5.4vw, 78px);
  line-height: 0.99;
  letter-spacing: -0.055em;
}

.hero h1 em {
  color: var(--orange);
  font-style: normal;
}

.hero-lede {
  max-width: 610px;
  margin: 28px 0 0;
  color: rgba(255, 255, 255, 0.73);
  font-size: 18px;
  line-height: 1.75;
}

.hero-actions {
  display: flex;
  align-items: center;
  gap: 24px;
  margin-top: 38px;
}

.hero-actions p {
  max-width: 210px;
  margin: 0;
  color: rgba(255, 255, 255, 0.52);
  font-size: 11px;
  line-height: 1.7;
  text-transform: uppercase;
  letter-spacing: 0.06em;
}

.hero-actions strong {
  color: var(--white);
}

.hero-visual {
  position: relative;
  width: 100%;
  max-width: 710px;
  margin-left: auto;
  padding: 64px 0 48px 42px;
}

.product-frame {
  position: relative;
  overflow: hidden;
  border: 1px solid rgba(255, 255, 255, 0.18);
  background: #eef3f4;
  box-shadow: var(--shadow);
  transform: perspective(1400px) rotateY(-5deg) rotateX(1.5deg);
  transform-origin: center left;
}

.frame-bar {
  display: flex;
  align-items: center;
  gap: 6px;
  height: 36px;
  padding: 0 12px;
  background: #f6f6f3;
  border-bottom: 1px solid #d7dfe2;
}

.frame-bar i {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: #b8c4ca;
}

.frame-bar i:first-child {
  background: var(--orange);
}

.frame-bar span {
  margin-left: 8px;
  color: #657786;
  font-size: 9px;
  font-weight: 800;
  letter-spacing: 0.05em;
}

.product-frame img {
  width: 100%;
  aspect-ratio: 1.378 / 1;
  object-fit: cover;
  object-position: top left;
}

.signal-card {
  position: absolute;
  z-index: 2;
  display: flex;
  align-items: center;
  gap: 10px;
  min-width: 185px;
  padding: 14px 16px;
  border-left: 3px solid var(--teal);
  background: var(--white);
  color: var(--navy);
  box-shadow: 0 18px 45px rgba(3, 18, 31, 0.25);
  font-size: 11px;
}

.signal-card > span {
  color: var(--teal);
  font-size: 10px;
  font-weight: 900;
}

.signal-one {
  top: 12px;
  right: 38px;
}

.signal-two {
  right: -24px;
  bottom: 4px;
  border-left-color: var(--orange);
}

.signal-two > span {
  color: var(--orange);
}

.problem-strip {
  position: relative;
  z-index: 3;
  margin-top: -1px;
  background: var(--ivory);
  border-bottom: 1px solid var(--line);
}

.problem-grid {
  display: grid;
  grid-template-columns: 1.25fr repeat(3, 1fr);
  min-height: 122px;
}

.problem-grid > * {
  display: flex;
  flex-direction: column;
  justify-content: center;
  margin: 0;
  padding: 26px 30px;
  border-left: 1px solid var(--line);
}

.problem-grid > *:last-child {
  border-right: 1px solid var(--line);
}

.problem-label {
  color: var(--teal);
  font-size: 11px;
  font-weight: 900;
  letter-spacing: 0.13em;
  text-transform: uppercase;
}

.problem-grid strong {
  color: var(--navy);
  font-size: 14px;
}

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

.section {
  padding: 118px 0;
}

.section-heading h2,
.process-intro h2,
.cta-layout h2 {
  margin: 0;
  color: var(--navy);
  font-size: clamp(38px, 4.3vw, 62px);
  line-height: 1.05;
  letter-spacing: -0.045em;
}

.split-heading {
  display: grid;
  grid-template-columns: 1.25fr 0.75fr;
  align-items: end;
  gap: 70px;
}

.split-heading > p {
  margin: 0 0 6px;
  color: var(--muted);
  font-size: 16px;
}

.outcome-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  margin-top: 72px;
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
}

.outcome-card {
  position: relative;
  min-height: 320px;
  padding: 44px 38px 40px;
  border-right: 1px solid var(--line);
  background: rgba(255, 255, 255, 0.22);
}

.outcome-card:first-child {
  border-left: 1px solid var(--line);
}

.outcome-card.featured {
  background: var(--teal-soft);
}

.card-index {
  color: var(--teal);
  font-size: 11px;
  font-weight: 900;
  letter-spacing: 0.14em;
}

.outcome-card h3 {
  margin: 72px 0 16px;
  color: var(--navy);
  font-size: 23px;
  line-height: 1.15;
}

.outcome-card p {
  margin: 0;
  color: var(--muted);
  font-size: 14px;
}

.section-process {
  position: relative;
  overflow: hidden;
  background: var(--navy);
  color: var(--white);
}

.section-process::after {
  content: "";
  position: absolute;
  left: -170px;
  bottom: -210px;
  width: 430px;
  height: 430px;
  border: 74px solid rgba(22, 155, 170, 0.13);
  transform: rotate(-12deg);
}

.process-layout {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: 0.92fr 1.08fr;
  gap: 110px;
}

.process-intro {
  position: sticky;
  top: 130px;
  align-self: start;
}

.process-intro h2 {
  color: var(--white);
}

.process-intro > p:last-child {
  max-width: 500px;
  margin: 26px 0 0;
  color: rgba(255, 255, 255, 0.62);
}

.process-list {
  margin: 0;
  padding: 0;
  list-style: none;
  border-top: 1px solid rgba(255, 255, 255, 0.18);
}

.process-list li {
  display: grid;
  grid-template-columns: 74px 1fr;
  gap: 28px;
  padding: 31px 0;
  border-bottom: 1px solid rgba(255, 255, 255, 0.18);
}

.process-list li > span {
  color: var(--teal);
  font-size: 12px;
  font-weight: 900;
  letter-spacing: 0.12em;
}

.process-list strong {
  font-size: 21px;
}

.process-list p {
  max-width: 500px;
  margin: 8px 0 0;
  color: rgba(255, 255, 255, 0.58);
  font-size: 14px;
}

.centered {
  max-width: 820px;
  margin-inline: auto;
  text-align: center;
}

.centered .eyebrow {
  justify-content: center;
}

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

.fit-grid article {
  min-height: 280px;
  padding: 36px;
  border: 1px solid var(--line);
  background: var(--white);
  transition: transform 180ms ease, border-color 180ms ease;
}

.fit-grid article:hover {
  transform: translateY(-4px);
  border-color: var(--teal);
}

.fit-kicker {
  margin: 0 0 62px;
  color: var(--orange);
  font-size: 11px;
  font-weight: 900;
  letter-spacing: 0.14em;
}

.fit-grid h3 {
  margin: 0 0 14px;
  color: var(--navy);
  font-size: 22px;
  line-height: 1.2;
}

.fit-grid article > p:last-child {
  margin: 0;
  color: var(--muted);
  font-size: 14px;
}

.proof-section {
  padding: 0 0 118px;
}

.proof-layout {
  display: grid;
  grid-template-columns: 0.42fr 0.58fr;
  border: 1px solid var(--line);
  background: var(--ivory);
}

.proof-statement {
  display: flex;
  align-items: center;
  gap: 24px;
  padding: 50px;
  border-right: 1px solid var(--line);
}

.proof-number {
  color: var(--orange);
  font-size: 92px;
  font-weight: 900;
  line-height: 0.85;
  letter-spacing: -0.08em;
}

.proof-statement p {
  max-width: 150px;
  margin: 0;
  color: var(--navy);
  font-size: 13px;
  font-weight: 850;
  line-height: 1.4;
  text-transform: uppercase;
  letter-spacing: 0.06em;
}

.proof-layout ul {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 0;
  margin: 0;
  padding: 0;
  list-style: none;
}

.proof-layout li {
  position: relative;
  display: flex;
  align-items: center;
  min-height: 104px;
  padding: 26px 28px 26px 52px;
  border-right: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
  color: var(--navy);
  font-size: 13px;
  font-weight: 750;
}

.proof-layout li:nth-child(even) {
  border-right: 0;
}

.proof-layout li:nth-child(n+3) {
  border-bottom: 0;
}

.proof-layout li::before {
  content: "";
  position: absolute;
  left: 28px;
  width: 10px;
  height: 10px;
  background: var(--teal);
  transform: rotate(45deg);
}

.cta-section {
  position: relative;
  overflow: hidden;
  background: linear-gradient(115deg, var(--teal) 0 62%, #127f8c 62% 100%);
  color: var(--white);
}

.cta-section::after {
  content: "";
  position: absolute;
  top: -90px;
  right: 4%;
  width: 290px;
  height: 290px;
  border: 52px solid rgba(255, 255, 255, 0.1);
  transform: rotate(16deg);
}

.cta-layout {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: 0.9fr 1.1fr;
  align-items: start;
  gap: 80px;
}

.cta-layout h2 {
  color: var(--white);
}

.contact-intro {
  max-width: 440px;
  margin: 28px 0 0;
  color: rgba(255, 255, 255, 0.78);
  font-size: 16px;
}

.privacy-intro {
  max-width: 440px;
  margin: 22px 0 0;
  color: rgba(255, 255, 255, 0.86);
  font-size: 14px;
}

.privacy-intro a,
.site-footer .footer-meta a {
  color: var(--white);
  text-underline-offset: 3px;
}

.privacy-page {
  padding: 158px 0 100px;
  background: var(--paper);
}

.privacy-page .eyebrow {
  margin-bottom: 16px;
}

.privacy-page h1 {
  margin: 0 0 18px;
  color: var(--navy);
  font-size: clamp(38px, 5vw, 64px);
  line-height: 1.05;
  letter-spacing: -0.04em;
}

.privacy-lede {
  max-width: 740px;
  color: var(--muted);
  font-size: 18px;
}

.privacy-content {
  max-width: 820px;
  margin-top: 60px;
}

.privacy-content section {
  padding: 30px 0;
  border-top: 1px solid var(--line);
}

.privacy-content h2 {
  margin: 0 0 14px;
  color: var(--navy);
  font-size: 24px;
  line-height: 1.25;
}

.privacy-content p,
.privacy-content li {
  margin: 0 0 12px;
  color: var(--muted);
  font-size: 16px;
}

.privacy-content ul {
  margin: 0;
  padding-left: 22px;
}

.privacy-content a {
  color: #0b6674;
  text-underline-offset: 3px;
}

.privacy-content address {
  color: var(--ink);
  font-style: normal;
}

.privacy-content address a {
  color: #0b6674;
}

.privacy-back {
  display: inline-block;
  margin-top: 32px;
  color: #0b6674;
  font-weight: 800;
  text-underline-offset: 3px;
}

.lead-embed {
  min-width: 0;
  background: #f0ebf8;
  box-shadow: var(--shadow);
}

.lead-embed iframe {
  display: block;
  width: 100%;
  height: 1227px;
  border: 0;
  background: #f0ebf8;
}

.embed-fallback {
  margin: 0;
  padding: 15px 20px;
  background: var(--white);
  color: var(--navy);
  font-size: 14px;
}

.embed-fallback a {
  margin-left: 0.35em;
  color: var(--teal);
  font-weight: 700;
  text-decoration: underline;
}

.site-footer {
  padding: 48px 0;
  background: var(--navy-deep);
  color: rgba(255, 255, 255, 0.58);
}

.footer-layout {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 30px;
}

.site-footer .brand {
  margin-bottom: 16px;
}

.site-footer p {
  margin: 0;
  font-size: 12px;
}

.footer-meta {
  text-align: right;
}

/* 4DEVS company homepage */
.company-hero {
  position: relative;
  overflow: hidden;
  background: var(--navy);
  color: var(--white);
}

.company-hero::after {
  content: "";
  position: absolute;
  inset: auto 0 0;
  height: 9px;
  background: linear-gradient(90deg, var(--teal) 0 67%, var(--orange) 67%);
}

.company-hero-layout {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: minmax(0, 1.13fr) minmax(360px, 0.87fr);
  align-items: center;
  gap: clamp(48px, 6vw, 110px);
  min-height: 750px;
  padding-top: 150px;
  padding-bottom: 110px;
}

.company-hero h1 {
  max-width: 760px;
  margin: 0;
  font-size: clamp(50px, 5.6vw, 82px);
  line-height: 1.02;
  letter-spacing: -0.055em;
}

.company-hero h1 em {
  color: var(--orange);
  font-style: normal;
}

.company-hero .hero-lede {
  max-width: 650px;
}

.company-hero .hero-actions {
  flex-wrap: wrap;
}

.text-link {
  display: inline-flex;
  align-items: center;
  min-height: 48px;
  font-size: 14px;
  font-weight: 800;
  text-underline-offset: 5px;
}

.light-link {
  color: var(--white);
}

.company-hero-panel {
  padding: 34px 38px 26px;
  border: 1px solid rgba(255, 255, 255, 0.23);
  background: rgba(255, 255, 255, 0.045);
  box-shadow: 0 25px 60px rgba(4, 13, 24, 0.22);
}

.panel-overline {
  margin: 0 0 18px;
  color: #80d6d8;
  font-size: 13px;
  font-weight: 850;
  letter-spacing: 0.08em;
}

.company-hero-panel ol {
  margin: 0;
  padding: 0;
  list-style: none;
  border-top: 1px solid rgba(255, 255, 255, 0.2);
}

.company-hero-panel li {
  display: grid;
  grid-template-columns: 48px 1fr;
  align-items: center;
  gap: 14px;
  min-height: 95px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.2);
}

.company-hero-panel li > span {
  color: #80d6d8;
  font-size: 14px;
  font-weight: 850;
}

.company-hero-panel strong {
  font-size: clamp(18px, 1.65vw, 23px);
  line-height: 1.2;
}

.panel-location {
  margin: 24px 0 0;
  color: rgba(255, 255, 255, 0.72);
  font-size: 14px;
}

.panel-location > span[aria-hidden] {
  margin: 0 7px;
  color: var(--orange);
}

.company-intro-strip {
  background: var(--ivory);
  border-bottom: 1px solid var(--line);
}

.company-intro-layout {
  display: grid;
  grid-template-columns: 0.34fr 0.66fr;
  align-items: center;
  gap: 60px;
  padding-top: 40px;
  padding-bottom: 40px;
}

.company-intro-layout .eyebrow,
.company-intro-layout > p:last-child {
  margin: 0;
}

.company-intro-layout > p:last-child {
  max-width: 800px;
  color: var(--navy);
  font-size: clamp(19px, 2.2vw, 27px);
  font-weight: 700;
  line-height: 1.35;
}

.company-solutions .outcome-card {
  min-height: 300px;
}

.company-solutions .outcome-card h3 {
  margin-top: 62px;
}

.company-solutions .outcome-card p {
  font-size: 16px;
}

.company-product {
  padding: 118px 0;
  background: var(--navy);
  color: var(--white);
}

.company-product-layout {
  display: grid;
  grid-template-columns: minmax(0, 0.87fr) minmax(0, 1.13fr);
  align-items: center;
  gap: clamp(55px, 7vw, 110px);
}

.company-product h2,
.company-contact h2 {
  margin: 0;
  color: var(--white);
  font-size: clamp(40px, 4.8vw, 64px);
  line-height: 1.04;
  letter-spacing: -0.045em;
}

.company-product-copy > p:not(.eyebrow),
.company-contact p:not(.eyebrow) {
  max-width: 620px;
  margin: 25px 0 0;
  color: rgba(255, 255, 255, 0.77);
  font-size: 17px;
}

.company-product ul {
  margin: 30px 0 34px;
  padding: 0;
  list-style: none;
}

.company-product li {
  padding: 12px 0 12px 22px;
  border-top: 1px solid rgba(255, 255, 255, 0.16);
  color: var(--white);
  font-size: 15px;
}

.company-product li::before {
  content: "+";
  display: inline-block;
  width: 22px;
  margin-left: -22px;
  color: #80d6d8;
  font-weight: 900;
}

.company-product-visual {
  overflow: hidden;
  border: 1px solid rgba(255, 255, 255, 0.18);
  background: #eef3f4;
  box-shadow: var(--shadow);
}

.company-product-visual img {
  width: 100%;
  aspect-ratio: 1.378 / 1;
  object-fit: cover;
  object-position: top left;
}

.company-steps {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  margin: 66px 0 0;
  padding: 0;
  list-style: none;
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
}

.company-steps li {
  min-height: 240px;
  padding: 32px 34px;
  border-right: 1px solid var(--line);
}

.company-steps li:first-child {
  border-left: 1px solid var(--line);
}

.company-steps li > span {
  color: var(--teal);
  font-size: 14px;
  font-weight: 900;
}

.company-steps h3 {
  margin: 36px 0 12px;
  color: var(--navy);
  font-size: 25px;
  line-height: 1.15;
}

.company-steps p {
  margin: 0;
  color: var(--muted);
  font-size: 16px;
}

.company-contact {
  padding: 90px 0;
  background: var(--teal);
  color: var(--white);
}

.company-contact-layout {
  display: grid;
  grid-template-columns: 1fr auto;
  align-items: end;
  gap: 50px;
}

.company-contact .button {
  white-space: nowrap;
}

@media (max-width: 1100px) {
  .site-nav {
    gap: 18px;
  }

  .site-nav > a:not(.button) {
    display: none;
  }

  .hero-layout {
    grid-template-columns: minmax(0, 0.9fr) minmax(430px, 1.1fr);
    gap: 40px;
  }

  .hero h1 {
    font-size: clamp(46px, 6vw, 66px);
  }

  .signal-two {
    right: 8px;
  }

  .company-hero-layout {
    grid-template-columns: minmax(0, 1fr) minmax(320px, 0.8fr);
    gap: 38px;
  }
}

@media (max-width: 860px) {
  .site-header {
    height: 70px;
    background: rgba(8, 23, 39, 0.96);
  }

  .nav-toggle {
    display: block;
  }

  .site-nav {
    position: fixed;
    inset: 70px 0 auto;
    display: none;
    flex-direction: column;
    align-items: stretch;
    gap: 0;
    padding: 18px 20px 24px;
    background: var(--navy-deep);
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    box-shadow: 0 20px 40px rgba(3, 13, 24, 0.3);
  }

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

  .site-nav > a:not(.button) {
    display: block;
    padding: 14px 4px;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
  }

  .language-toggle {
    justify-content: center;
    margin: 18px 0;
  }

  .site-nav .button {
    width: 100%;
  }

  .hero {
    min-height: auto;
  }

  .hero-layout {
    grid-template-columns: 1fr;
    gap: 36px;
    min-height: auto;
    padding-top: 142px;
    padding-bottom: 80px;
  }

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

  .hero-visual {
    max-width: 720px;
    margin: 0;
    padding-left: 20px;
  }

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

  .problem-label {
    grid-column: 1 / -1;
    min-height: 58px;
    padding-block: 14px;
    border-right: 1px solid var(--line);
  }

  .split-heading,
  .process-layout,
  .cta-layout {
    grid-template-columns: 1fr;
    gap: 36px;
  }

  .process-intro {
    position: static;
  }

  .outcome-card {
    padding-inline: 26px;
  }

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

  .fit-grid article {
    min-height: auto;
  }

  .fit-kicker {
    margin-bottom: 38px;
  }

  .proof-layout {
    grid-template-columns: 1fr;
  }

  .proof-statement {
    border-right: 0;
    border-bottom: 1px solid var(--line);
  }

  .company-hero-layout,
  .company-product-layout,
  .company-contact-layout {
    grid-template-columns: 1fr;
  }

  .company-hero-layout {
    gap: 50px;
    min-height: auto;
    padding-top: 150px;
  }

  .company-hero-panel {
    max-width: 640px;
  }

  .company-intro-layout {
    grid-template-columns: 1fr;
    gap: 16px;
  }

  .company-product-visual {
    max-width: 720px;
  }

  .company-contact-layout {
    align-items: start;
  }

  .company-contact .button {
    justify-self: start;
  }
}

@media (max-width: 620px) {
  .container {
    width: min(calc(100% - 28px), var(--max-width));
  }

  .hero-layout {
    padding-top: 124px;
  }

  .hero h1 {
    font-size: clamp(42px, 13vw, 58px);
  }

  .hero-lede {
    font-size: 16px;
  }

  .hero-actions {
    align-items: stretch;
    flex-direction: column;
  }

  .hero-actions .button {
    width: 100%;
  }

  .hero-actions p {
    max-width: none;
  }

  .hero-visual {
    padding: 48px 0 40px 0;
  }

  .product-frame {
    transform: none;
  }

  .signal-card {
    min-width: auto;
    padding: 10px 12px;
    font-size: 9px;
  }

  .signal-one {
    top: 7px;
    right: 12px;
  }

  .signal-two {
    right: 12px;
  }

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

  .problem-grid > * {
    min-height: 80px;
    padding: 18px 22px;
    border-right: 1px solid var(--line);
    border-bottom: 1px solid var(--line);
  }

  .section {
    padding: 86px 0;
  }

  .section-heading h2,
  .process-intro h2,
  .cta-layout h2 {
    font-size: clamp(36px, 11vw, 48px);
  }

  .outcome-grid {
    grid-template-columns: 1fr;
    margin-top: 46px;
  }

  .outcome-card,
  .outcome-card:first-child {
    min-height: auto;
    padding: 34px 26px;
    border-right: 1px solid var(--line);
    border-left: 1px solid var(--line);
    border-bottom: 1px solid var(--line);
  }

  .outcome-card:last-child {
    border-bottom: 0;
  }

  .outcome-card h3 {
    margin-top: 44px;
  }

  .process-list li {
    grid-template-columns: 48px 1fr;
    gap: 16px;
  }

  .proof-section {
    padding-bottom: 86px;
  }

  .proof-statement {
    padding: 36px 28px;
  }

  .proof-number {
    font-size: 74px;
  }

  .proof-layout ul {
    grid-template-columns: 1fr;
  }

  .proof-layout li,
  .proof-layout li:nth-child(even),
  .proof-layout li:nth-child(n+3) {
    min-height: 82px;
    border-right: 0;
    border-bottom: 1px solid var(--line);
  }

  .proof-layout li:last-child {
    border-bottom: 0;
  }

  .cta-section {
    background: var(--teal);
  }

  .lead-embed iframe {
    height: 1540px;
  }

  .footer-layout {
    align-items: flex-start;
    flex-direction: column;
  }

  .footer-meta {
    text-align: left;
  }

  .company-hero-layout {
    padding-top: 128px;
    padding-bottom: 80px;
  }

  .company-hero h1 {
    font-size: clamp(42px, 12vw, 58px);
  }

  .company-hero-panel {
    padding: 24px 22px;
  }

  .company-hero-panel li {
    grid-template-columns: 36px 1fr;
    min-height: 82px;
  }

  .company-product,
  .company-contact {
    padding: 84px 0;
  }

  .company-steps {
    grid-template-columns: 1fr;
    margin-top: 44px;
  }

  .company-steps li,
  .company-steps li:first-child {
    min-height: auto;
    padding: 30px 26px;
    border-left: 1px solid var(--line);
    border-bottom: 1px solid var(--line);
  }

  .company-steps li:last-child {
    border-bottom: 0;
  }

  .company-steps h3 {
    margin-top: 24px;
  }

  .company-contact .button {
    width: 100%;
    white-space: normal;
  }
}

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

  *,
  *::before,
  *::after {
    scroll-behavior: auto !important;
    transition-duration: 0.01ms !important;
  }
}
