/* Design tokens and global reset */
:root {
  --navy: #08214a;
  --blue: #1261d8;
  --cyan: #28c9d7;
  --pale: #f5f8fd;
  --white: #fff;
  --text: #20324c;
  --muted: #62718a;
  --line: #dce5f1;
  --orange: #ff875b;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  background: var(--pale);
  color: var(--text);
  font:
    16px/1.6 Manrope,
    Arial,
    sans-serif;
}

/* Scroll reveal animation */
.motion-reveal {
  opacity: 0;
  transform: translateY(36px);
  transition:
    opacity 0.7s ease,
    transform 0.7s cubic-bezier(0.22, 1, 0.36, 1);
  will-change: opacity, transform;
}

.motion-reveal.reveal-left {
  transform: translateX(-72px) rotate(-1deg);
}

.motion-reveal.reveal-right {
  transform: translateX(72px) rotate(1deg);
}

.motion-reveal.reveal-pop {
  transform: translateY(36px) scale(0.96);
}

.motion-reveal.in-view {
  opacity: 1;
  transform: translateY(0);
}

.motion-reveal.in-view.reveal-left,
.motion-reveal.in-view.reveal-right,
.motion-reveal.in-view.reveal-pop {
  transform: translate(0) rotate(0) scale(1);
}

.motion-reveal.in-view .cards article,
.motion-reveal.in-view .process-grid article,
.motion-reveal.in-view .industry-grid article,
.motion-reveal.in-view .capabilities > div {
  animation: reveal-card 0.55s both;
}

.motion-reveal.in-view .cards article:nth-child(2),
.motion-reveal.in-view .process-grid article:nth-child(2),
.motion-reveal.in-view .industry-grid article:nth-child(2),
.motion-reveal.in-view .capabilities > div:nth-child(2) {
  animation-delay: 0.08s;
}

.motion-reveal.in-view .cards article:nth-child(3),
.motion-reveal.in-view .process-grid article:nth-child(3),
.motion-reveal.in-view .industry-grid article:nth-child(3),
.motion-reveal.in-view .capabilities > div:nth-child(3) {
  animation-delay: 0.16s;
}

.motion-reveal.in-view .cards article:nth-child(4),
.motion-reveal.in-view .process-grid article:nth-child(4),
.motion-reveal.in-view .industry-grid article:nth-child(4),
.motion-reveal.in-view .capabilities > div:nth-child(4) {
  animation-delay: 0.24s;
}

.motion-reveal.in-view .cards article:nth-child(5),
.motion-reveal.in-view .capabilities > div:nth-child(5) {
  animation-delay: 0.32s;
}

@keyframes reveal-card {
  from {
    opacity: 0;
    transform: translateY(18px);
  }

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

@media (prefers-reduced-motion: reduce) {
  .motion-reveal,
  .motion-reveal.in-view {
    opacity: 1;
    transform: none;
    transition: none;
  }

  .motion-reveal.in-view .cards article,
  .motion-reveal.in-view .process-grid article,
  .motion-reveal.in-view .industry-grid article,
  .motion-reveal.in-view .capabilities > div {
    animation: none;
  }
}

/* Header and navigation */
.header {
  height: 86px;
  padding: 0 clamp(24px, 7vw, 112px);
  display: flex;
  justify-content: space-between;
  align-items: center;
  background: #ffffffed;
  border-bottom: 1px solid var(--line);
  backdrop-filter: blur(10px);
  position: sticky;
  top: 0;
  z-index: 10;
}

.logo {
  text-decoration: none;
  color: var(--navy);
  display: block;
}

.logo img {
  width: 145px;
  max-height: 56px;
  object-fit: contain;
  display: block;
}

.menu {
  display: none;
  border: 0;
  background: none;
  font-size: 23px;
  color: var(--navy);
}

nav {
  display: flex;
  align-items: center;
  gap: 28px;
}

nav a {
  font-size: 13px;
  font-weight: 700;
  color: var(--text);
  text-decoration: none;
  transition: 0.2s;
}

.active,
nav a:hover {
  color: var(--blue);
}

.nav-button,
.button {
  border-radius: 7px;
  padding: 13px 19px;
  font: 700 13px Manrope;
  text-decoration: none;
  border: 0;
  cursor: pointer;
  display: inline-block;
}

.nav-button,
.primary {
  background: var(--blue);
  color: #fff;
  box-shadow: 0 7px 16px #1261d82e;
}

.nav-button i,
.button i {
  font-style: normal;
  color: var(--cyan);
  margin-left: 8px;
}

/* Hero section */
.hero {
  min-height: 610px;
  background: linear-gradient(120deg, #f9fcff 0%, #eff8ff 58%, #e8f8fa 100%);
  display: grid;
  grid-template-columns: 1.05fr 0.95fr;
  overflow: hidden;
}

.hero-copy {
  padding: clamp(80px, 10vw, 135px) clamp(24px, 7vw, 112px);
  position: relative;
}

.tag {
  margin: 0;
  color: var(--blue);
  font-size: 12px;
  font-weight: 800;
  letter-spacing: 0.7px;
  text-transform: uppercase;
}

.tag:first-letter {
  color: var(--orange);
}

h1,
h2,
h3 {
  font-family: "Space Grotesk", Arial, sans-serif;
  color: var(--navy);
}

h1 {
  font-size: clamp(51px, 5.7vw, 81px);
  letter-spacing: -4px;
  line-height: 1.02;
  margin: 19px 0 22px;
}

h1 em,
h2 em {
  font-family: Georgia, serif;
  font-weight: 400;
  color: var(--blue);
}

.hero-copy > p:not(.tag) {
  font-size: 19px;
  color: var(--muted);
  max-width: 540px;
}

.actions {
  display: flex;
  gap: 13px;
  margin: 31px 0 48px;
}

.secondary {
  border: 1px solid #b9c7dc;
  color: var(--navy);
  background: #fff;
}

.hero-stats {
  display: flex;
  gap: 37px;
}

.hero-stats div {
  border-left: 2px solid var(--cyan);
  padding-left: 12px;
}

.hero-stats strong {
  font: 700 20px "Space Grotesk";
  color: var(--navy);
  display: block;
}

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

.hero-visual {
  background: linear-gradient(145deg, #09234b, #115aa1);
  position: relative;
  overflow: hidden;
}

.hero-visual:before {
  content: "";
  position: absolute;
  width: 600px;
  height: 600px;
  right: -200px;
  top: -100px;
  border: 1px solid #ffffff61;
  border-radius: 50%;
  box-shadow:
    0 0 0 60px #ffffff0b,
    0 0 0 120px #ffffff08;
}

.visual-orbit {
  position: absolute;
  height: 350px;
  width: 350px;
  border: 1px dashed #31d7e0;
  border-radius: 50%;
  right: 8%;
  top: 24%;
  animation: spin 18s linear infinite;
}

.screen {
  position: absolute;
  top: 20%;
  left: 13%;
  width: 340px;
  height: 290px;
  padding: 25px;
  background: #fff;
  border-radius: 10px;
  box-shadow: 0 25px 55px #02152f73;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
}

.screen span {
  font-size: 10px;
  letter-spacing: 1px;
  color: var(--blue);
  font-weight: 800;
}

.screen strong {
  font: 700 48px/1 "Space Grotesk";
  letter-spacing: -2px;
  color: var(--navy);
}

.screen-bars {
  display: flex;
  gap: 6px;
}

.screen-bars i {
  display: block;
  width: 43px;
  height: 7px;
  border-radius: 5px;
  background: var(--cyan);
}

.screen-bars i:nth-child(2) {
  background: var(--blue);
}

.screen-bars i:nth-child(3) {
  background: var(--orange);
}

.float-card {
  position: absolute;
  right: 5%;
  bottom: 52px;
  display: flex;
  gap: 13px;
  align-items: center;
  padding: 15px 20px;
  border-radius: 8px;
  background: #ffffffed;
  box-shadow: 0 15px 25px #001a4038;
}

.float-card b {
  font: 700 25px "Space Grotesk";
  color: var(--blue);
}

.float-card span {
  font-size: 12px;
  font-weight: 800;
  line-height: 1.4;
}

.visual-dots {
  position: absolute;
  top: 14%;
  right: 16%;
  color: var(--cyan);
  letter-spacing: 11px;
}

/* Service highlight strip */
.trust {
  padding: 16px 20px;
  background: var(--navy);
  color: #fff;
  display: flex;
  justify-content: center;
  gap: 28px;
  white-space: nowrap;
  overflow: hidden;
  font-size: 11px;
  font-weight: 800;
  letter-spacing: 0.8px;
}

.trust b {
  color: var(--cyan);
}

/* Shared content section styles */
.section {
  padding: clamp(74px, 9vw, 125px) clamp(24px, 10vw, 150px);
}

/* About section */
.about {
  background: #fff;
  display: grid;
  grid-template-columns: 0.92fr 1.08fr;
  gap: clamp(45px, 9vw, 115px);
  align-items: center;
}

.about-art {
  height: 415px;
  background: linear-gradient(145deg, #dff8fa, #dbeaff);
  border-radius: 14px;
  position: relative;
  overflow: hidden;
}

.about-square {
  position: absolute;
  left: 12%;
  top: 12%;
  width: 76%;
  height: 76%;
  padding: 29px;
  border-radius: 12px;
  background: var(--navy);
  box-shadow: 18px 18px 0 var(--cyan);
  color: #fff;
  display: flex;
  justify-content: space-between;
  flex-direction: column;
}

.about-square span {
  font-size: 11px;
  letter-spacing: 1px;
  color: var(--cyan);
}

.about-square b {
  font: 600 42px/1.05 "Space Grotesk";
  letter-spacing: -2px;
}

.about-dot {
  height: 21px;
  width: 21px;
  background: var(--orange);
  border-radius: 50%;
  position: absolute;
  right: 9%;
  top: 9%;
}

h2 {
  font-size: clamp(40px, 4.3vw, 61px);
  letter-spacing: -3px;
  line-height: 1.06;
  margin: 15px 0 22px;
}

.lead {
  font-size: 19px;
  line-height: 1.65;
}

.copy {
  color: var(--muted);
}

.mini-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px;
  margin-top: 30px;
}

.mini-grid article {
  padding: 18px;
  border: 1px solid var(--line);
  border-radius: 10px;
}

.mini-grid span {
  color: var(--blue);
  font-size: 25px;
}

.mini-grid h3 {
  font-size: 17px;
  margin: 7px 0;
}

.mini-grid p {
  color: var(--muted);
  font-size: 13px;
  margin: 0;
}

/* Services grid */
.service-section {
  background: #f1f7ff;
}

.center-head {
  text-align: center;
  max-width: 750px;
  margin: 0 auto 48px;
}

.center-head > p:last-child {
  font-size: 16px;
  color: var(--muted);
}

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

.cards article {
  min-height: 370px;
  border: 1px solid var(--line);
  background: #fff;
  border-radius: 12px;
  padding: 26px;
  position: relative;
  overflow: hidden;
  display: flex;
  flex-direction: column;
  transition: 0.25s;
}

.cards article:before {
  content: "";
  position: absolute;
  right: -38px;
  top: -38px;
  width: 112px;
  height: 112px;
  border-radius: 50%;
  background: #d8f7f7;
}

.cards article:nth-child(2):before {
  background: #e1eaff;
}

.cards article:nth-child(3):before {
  background: #fff0e9;
}

.cards article:nth-child(4):before {
  background: #e8e0ff;
}

.cards article:nth-child(5) {
  grid-column: span 2;
  background: var(--navy);
}

.cards article:nth-child(5):before {
  width: 230px;
  height: 230px;
  background: #28c9d72b;
}

.cards article:hover {
  transform: translateY(-7px);
  box-shadow: 0 20px 36px #17345d1c;
}

.icon {
  position: relative;
  display: grid;
  width: 52px;
  height: 52px;
  place-items: center;
  border-radius: 14px;
  background: #e9f1ff;
  color: var(--blue);
  font-size: 30px;
  transition: 0.25s;
}

.cards article:hover .icon {
  background: var(--blue);
  color: #fff;
  transform: rotate(-6deg) scale(1.06);
}

.cards h3 {
  font-size: 21px;
  line-height: 1.2;
  margin: 22px 0 10px;
}

.service-features {
  list-style: none;
  padding: 0;
  margin: 0 0 16px;
  display: grid;
  gap: 7px;
}

.service-features li {
  color: var(--text);
  font-size: 12px;
  font-weight: 700;
}

.service-features li::before {
  content: "\2713";
  display: inline-grid;
  width: 16px;
  height: 16px;
  place-items: center;
  margin-right: 8px;
  border-radius: 50%;
  background: #dff7f6;
  color: #087e8b;
  font-size: 10px;
}

.cards p {
  font-size: 14px;
  color: var(--muted);
  max-width: 330px;
  margin: 0 0 18px;
}

.cards span {
  position: absolute;
  right: 24px;
  bottom: 21px;
  font: 12px monospace;
  color: #8291a8;
}

.cards a {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  width: fit-content;
  margin-top: auto;
  font-size: 13px;
  font-weight: 800;
  text-decoration: none;
  color: var(--blue);
}

.cards a::after {
  content: "\2192";
  font-size: 16px;
  transition: transform 0.2s;
}

.cards article:hover a::after {
  transform: translateX(4px);
}

.cards article:nth-child(5) h3 {
  color: #fff;
}

.cards article:nth-child(5) p {
  color: #c5d2e5;
}

.cards article:nth-child(5) .icon {
  background: #ffffff1c;
  color: var(--cyan);
}

.cards article:nth-child(5) .service-features li {
  color: #dbe7f5;
}

.cards article:nth-child(5) .service-features li::before {
  background: #28c9d733;
  color: var(--cyan);
}

.cards article:nth-child(5) a {
  color: var(--cyan);
}

/* Technology capabilities section */
.dark-section {
  background: linear-gradient(135deg, #08214a, #104d89);
  color: white;
}

.dark-section h2 {
  color: #fff;
}

.dark-section h2 em {
  color: var(--cyan);
}

.dark-section .tag {
  color: var(--cyan);
}

.split-head {
  display: flex;
  justify-content: space-between;
  align-items: end;
  gap: 50px;
}

.split-head > p {
  max-width: 360px;
  color: #d0dded;
  font-size: 16px;
}

.capabilities {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 14px;
  margin-top: 52px;
}

.capabilities div {
  height: 155px;
  border-radius: 10px;
  border: 1px solid #ffffff35;
  background: #ffffff10;
  padding: 20px;
  color: var(--cyan);
  font-size: 34px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  transition: 0.25s;
}

.capabilities div:hover {
  background: #ffffff20;
  transform: translateY(-6px);
}

.capabilities span {
  color: #fff;
  font-size: 14px;
  font-weight: 700;
}

/* Industries and process sections */
.industries {
  background: #fff;
}

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

.industry-grid article {
  border: 1px solid var(--line);
  border-radius: 10px;
  padding: 24px 18px;
  color: var(--blue);
  font-size: 31px;
  transition: 0.25s;
}

.industry-grid article:hover {
  background: var(--blue);
  color: var(--cyan);
  transform: translateY(-5px);
}

.industry-grid h3 {
  font-size: 17px;
  margin: 27px 0 0;
}

.industry-grid article:hover h3 {
  color: #fff;
}

.process {
  background: #f5f8fd;
}

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

.process-grid article {
  padding: 23px 19px;
  border-radius: 10px;
  background: #fff;
  border: 1px solid var(--line);
  border-top: 3px solid var(--blue);
}

.process-grid b {
  font: 400 30px Georgia;
  color: var(--orange);
}

.process-grid h3 {
  font-size: 21px;
  margin: 19px 0 7px;
}

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

/* Client testimonials */
.testimonials {
  background: #edf8fa;
}

.testimonial-head {
  display: flex;
  justify-content: space-between;
  align-items: end;
  gap: 50px;
  margin-bottom: 45px;
}

.testimonial-head h2 {
  margin-bottom: 0;
}

.testimonial-head > p {
  max-width: 360px;
  color: var(--muted);
  font-size: 16px;
}

.testimonial-controls {
  display: flex;
  justify-content: flex-end;
  gap: 10px;
  margin: -24px 0 18px;
}

.testimonial-control {
  width: 42px;
  height: 42px;
  border: 1px solid var(--line);
  border-radius: 50%;
  background: #fff;
  color: var(--navy);
  cursor: pointer;
  font-size: 20px;
  line-height: 1;
  transition: 0.2s;
}

.testimonial-control:hover,
.testimonial-control:focus-visible {
  background: var(--blue);
  border-color: var(--blue);
  color: #fff;
  outline: none;
}

.testimonial-grid {
  display: flex;
  gap: 18px;
  overflow-x: auto;
  padding: 8px 4px 22px;
  scroll-behavior: smooth;
  scroll-snap-type: x mandatory;
  scrollbar-width: none;
}

.testimonial-grid::-webkit-scrollbar {
  display: none;
}

.testimonial-grid article {
  flex: 0 0 calc((100% - 36px) / 3);
  min-height: 310px;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 12px;
  padding: 28px;
  position: relative;
  display: flex;
  flex-direction: column;
  scroll-snap-align: start;
  transition: 0.25s;
}

.testimonial-grid article:nth-child(2) {
  background: var(--navy);
}

.testimonial-grid article:hover {
  transform: translateY(-7px);
  box-shadow: 0 20px 35px #17345d20;
}

.quote-mark {
  position: absolute;
  right: 22px;
  top: 0;
  font: 80px Georgia;
  color: #d9e7f8;
}

.testimonial-grid article:nth-child(2) .quote-mark {
  color: #ffffff1c;
}

.stars {
  font-size: 13px;
  letter-spacing: 3px;
  color: var(--orange);
}

blockquote {
  font: 600 20px/1.45 "Space Grotesk";
  letter-spacing: -0.6px;
  margin: 28px 0 auto;
  color: var(--navy);
}

.testimonial-grid article:nth-child(2) blockquote {
  color: #fff;
}

.person {
  border-top: 1px solid var(--line);
  padding-top: 15px;
  display: flex;
  gap: 10px;
  align-items: center;
}

.testimonial-grid article:nth-child(2) .person {
  border-color: #ffffff31;
}

.person > span {
  height: 38px;
  width: 38px;
  border-radius: 50%;
  display: grid;
  place-items: center;
  background: var(--cyan);
  color: var(--navy);
  font: bold 11px Manrope;
}

.person b,
.person small {
  display: block;
}

.person b {
  font-size: 12px;
}

.person small {
  font-size: 11px;
  color: var(--muted);
}

.testimonial-grid article:nth-child(2) .person b {
  color: #fff;
}

.testimonial-note {
  text-align: center;
  color: var(--muted);
  font-size: 11px;
  margin: 22px 0 0;
}

/* Contact form and footer */
.contact {
  background: linear-gradient(125deg, #e8f6ff, #d9f8f6);
  padding: clamp(75px, 9vw, 120px) clamp(24px, 10vw, 150px);
  display: grid;
  grid-template-columns: 0.88fr 1.12fr;
  gap: 80px;
}

.contact h2 em {
  color: var(--blue);
}

.contact-info > p:not(.tag) {
  font-size: 17px;
  color: var(--muted);
}

.detail {
  margin-top: 23px;
}

.detail b,
.detail a,
.detail span {
  display: block;
}

.detail b {
  font-size: 12px;
  text-transform: uppercase;
  color: var(--blue);
  margin-bottom: 3px;
}

.detail a {
  font-weight: 800;
  color: var(--navy);
  text-decoration: none;
}

.detail span {
  font-size: 14px;
}

form {
  background: #fff;
  border: 1px solid var(--line);
  box-shadow: 0 20px 45px #163b6920;
  border-radius: 12px;
  padding: 32px;
}

label {
  display: block;
  font-size: 13px;
  font-weight: 800;
  margin-bottom: 16px;
  color: var(--navy);
}

input,
textarea {
  width: 100%;
  padding: 12px 0;
  margin-top: 5px;
  border: 0;
  border-bottom: 1px solid var(--line);
  outline: 0;
  background: transparent;
  font: 15px Manrope;
  color: var(--text);
}

textarea {
  resize: vertical;
}

.form-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px;
}

.form-message {
  color: #167564;
  font-size: 13px;
}

footer {
  padding: 64px clamp(24px, 7vw, 112px) 23px;
  background: var(--navy);
  color: #d9e5f5;
}

.footer-top {
  display: grid;
  grid-template-columns: 1.25fr 0.75fr 1.1fr 1.65fr;
  gap: 40px;
  padding-bottom: 52px;
}

.footer-top .logo img {
  width: 165px;
}

.footer-top p {
  font-size: 14px;
  max-width: 280px;
  color: #b8c9df;
}

.footer-top h4 {
  font-size: 12px;
  text-transform: uppercase;
  letter-spacing: 1px;
  color: var(--cyan);
  margin: 3px 0 18px;
}

.footer-top a:not(.logo) {
  display: block;
  margin: 10px 0;
  font-size: 14px;
  color: #d9e5f5;
  text-decoration: none;
}

.socials {
  display: flex;
  gap: 8px;
  margin-top: 20px;
}

.socials a {
  display: grid !important;
  place-items: center;
  height: 30px;
  width: 30px;
  border: 1px solid #ffffff4d;
  border-radius: 50%;
  color: var(--cyan) !important;
  font-size: 12px !important;
  margin: 0 !important;
}

.contact-column {
  border-left: 1px solid #ffffff2e;
  padding-left: 30px;
}

.footer-detail {
  margin-bottom: 16px;
}

.footer-detail b,
.footer-detail span,
.footer-detail a {
  display: block;
}

.footer-detail b {
  font-size: 10px;
  color: var(--cyan);
  text-transform: uppercase;
  letter-spacing: 1px;
}

.footer-detail span,
.footer-detail a {
  font-size: 13px !important;
  line-height: 1.5;
}

.footer-bottom {
  border-top: 1px solid #ffffff2e;
  padding-top: 20px;
  display: flex;
  justify-content: space-between;
  color: #aac0da;
  font-size: 12px;
}

.footer-bottom a {
  color: var(--cyan);
  font-weight: 800;
  text-decoration: none;
}

@keyframes spin {
  to {
    transform: rotate(360deg);
  }
}

/* Tablet layout adjustments */
@media (max-width: 850px) {
  .hero,
  .about,
  .contact {
    grid-template-columns: 1fr;
  }

  .hero-visual {
    min-height: 400px;
  }

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

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

  .industry-grid,
  .process-grid {
    grid-template-columns: 1fr 1fr;
  }

  .testimonial-grid {
    gap: 16px;
  }

  .testimonial-grid article {
    flex-basis: calc((100% - 16px) / 2);
  }

  .testimonial-head,
  .split-head {
    display: block;
  }

  .testimonial-head > p,
  .split-head > p {
    margin-top: 20px;
  }

  .footer-top {
    grid-template-columns: 1fr 1fr;
  }

  .contact-column {
    border-left: 0;
    padding-left: 0;
  }
}

/* Mobile layout adjustments */
@media (max-width: 600px) {
  .header {
    height: 74px;
  }

  .menu {
    display: block;
  }

  nav {
    display: none;
    position: absolute;
    top: 73px;
    left: 0;
    right: 0;
    background: #fff;
    padding: 20px 24px;
    flex-direction: column;
    align-items: flex-start;
    box-shadow: 0 15px 20px #10244712;
  }

  nav.open {
    display: flex;
  }

  .logo img {
    width: 125px;
  }

  .hero-copy {
    padding-top: 70px;
    padding-bottom: 65px;
  }

  h1 {
    letter-spacing: -2.7px;
  }

  .hero-stats {
    gap: 16px;
  }

  .hero-stats strong {
    font-size: 17px;
  }

  .screen {
    width: 275px;
    height: 240px;
    left: 10%;
    top: 18%;
  }

  .screen strong {
    font-size: 39px;
  }

  .float-card {
    right: 4%;
    bottom: 25px;
  }

  .cards,
  .industry-grid,
  .process-grid,
  .mini-grid,
  .form-row {
    grid-template-columns: 1fr;
  }

  .testimonial-controls {
    margin-top: -10px;
  }

  .testimonial-grid article {
    flex-basis: 100%;
  }

  .cards article:nth-child(5) {
    grid-column: auto;
  }

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

  .footer-top {
    grid-template-columns: 1fr;
  }

  .footer-bottom {
    display: block;
  }

  .footer-bottom span,
  .footer-bottom a {
    display: block;
    margin-top: 9px;
  }
}

/* Engagement options and FAQ */
.engagement {
  display: grid;
  grid-template-columns: 0.85fr 1.15fr;
  gap: 90px;
  align-items: center;
  background: #fff;
}

.engagement-copy > p:not(.tag) {
  font-size: 17px;
  color: var(--muted);
  line-height: 1.75;
  max-width: 440px;
  margin-bottom: 28px;
}

.engagement-list {
  border-top: 1px solid var(--line);
}

.engagement-list article {
  display: grid;
  grid-template-columns: 62px 1fr;
  gap: 18px;
  padding: 25px 0;
  border-bottom: 1px solid var(--line);
  transition: 0.25s;
}

.engagement-list article:hover {
  padding-left: 12px;
  background: #f5f9ff;
}

.engagement-list span {
  font: 400 31px Georgia;
  color: var(--blue);
}

.engagement-list h3 {
  font-size: 20px;
  margin: 0 0 7px;
}

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

.faq {
  background: #f0f7ff;
}

.faq-list {
  max-width: 850px;
  margin: 0 auto;
}

.faq details {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 10px;
  margin-bottom: 12px;
  padding: 0 24px;
}

.faq summary {
  list-style: none;
  cursor: pointer;
  padding: 21px 0;
  font: 700 17px "Space Grotesk";
  color: var(--navy);
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.faq summary::-webkit-details-marker {
  display: none;
}

.faq summary span {
  color: var(--blue);
  font: 400 28px Arial;
  transition: 0.2s;
}

.faq details[open] summary span {
  transform: rotate(45deg);
}

.faq details p {
  max-width: 680px;
  color: var(--muted);
  font-size: 15px;
  line-height: 1.75;
  padding: 0 0 21px;
  margin: 0;
}

/* Responsive engagement and FAQ layout */
@media (max-width: 850px) {
  .engagement {
    grid-template-columns: 1fr;
    gap: 38px;
  }
}

@media (max-width: 600px) {
  .faq details {
    padding: 0 17px;
  }

  .faq summary {
    font-size: 16px;
  }

  .engagement-list article {
    grid-template-columns: 48px 1fr;
  }

  .engagement-copy > p:not(.tag) {
    font-size: 16px;
  }
}
