:root {
  --blue: #1298f6;
  --blue-dark: #004f91;
  --navy: #071024;
  --deep: #020711;
  --ink: #0d1730;
  --text: #20232a;
  --muted: #5d6575;
  --soft: #f4f6fb;
  --line: #17264f;
  --white: #ffffff;
  --shadow: 0 14px 30px rgba(0, 0, 0, 0.18);
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  font-family: "Inter", Arial, sans-serif;
  color: var(--text);
  background: var(--white);
}

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

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

.section-inner,
.nav,
.footer-top,
.footer-bottom {
  width: min(1760px, calc(100% - 8vw));
  margin-inline: auto;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  background: linear-gradient(180deg, #0988d8 0%, #00101c 100%);
}

.nav {
  min-height: 128px;
  display: flex;
  align-items: center;
  gap: 48px;
}

.brand img {
  width: clamp(250px, 29vw, 520px);
}

.nav-links {
  display: flex;
  align-items: center;
  justify-content: flex-end;
  gap: clamp(22px, 2.8vw, 58px);
  margin-left: auto;
  color: var(--white);
  font-size: clamp(0.95rem, 1.08vw, 1.25rem);
  font-weight: 700;
}

.nav-links > a:not(.contact-pill) {
  white-space: nowrap;
  transition: color 180ms ease;
}

.nav-links > a:not(.contact-pill):hover {
  color: #89d6ff;
}

.contact-pill,
.primary-button,
.solution-columns a {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  background: var(--blue);
  color: var(--white);
  border-radius: 14px;
  font-weight: 700;
  box-shadow: 0 12px 24px rgba(18, 152, 246, 0.24);
  transition: transform 180ms ease, box-shadow 180ms ease, background 180ms ease;
}

.contact-pill {
  min-width: 236px;
  min-height: 100px;
  padding: 14px 26px;
  flex-direction: row;
  font-size: 1.35rem;
  line-height: 1.45;
  text-align: center;
}

.contact-pill span {
  opacity: 1;
}

.whatsapp-icon {
  width: 24px;
  height: 24px;
  flex: 0 0 auto;
  fill: currentColor;
}

.primary-button {
  min-height: 68px;
  padding: 0 28px;
  font-size: clamp(1rem, 1.35vw, 1.45rem);
}

.contact-pill:hover,
.primary-button:hover,
.solution-columns a:hover {
  transform: translateY(-2px);
  background: #28a8ff;
  box-shadow: 0 16px 32px rgba(18, 152, 246, 0.34);
}

.nav-toggle,
.menu-toggle {
  display: none;
  width: 46px;
  height: 42px;
  border: 0;
  background: transparent;
  padding: 0;
}

.nav-toggle span,
.menu-toggle span {
  display: block;
  width: 30px;
  height: 3px;
  margin: 6px auto;
  background: var(--white);
}

.dark-section {
  color: var(--white);
  background: linear-gradient(135deg, #020612 0%, #081326 58%, #18223c 100%);
}

.hero {
  position: relative;
  min-height: 584px;
  display: grid;
  grid-template-columns: minmax(560px, 0.92fr) minmax(600px, 1.08fr);
  gap: 3vw;
  align-items: center;
  overflow: hidden;
  padding: 54px 3.75vw 34px;
}

.hero::after {
  content: "";
  position: absolute;
  inset: 0 0 0 auto;
  width: 52%;
  background: linear-gradient(140deg, transparent 0 20%, var(--blue) 20% 100%);
  z-index: 0;
}

.hero-copy,
.hero-media {
  position: relative;
  z-index: 1;
}

.hero h1 {
  max-width: 790px;
  margin: 0 0 26px;
  font-size: clamp(2.6rem, 3.15vw, 4rem);
  line-height: 1.08;
  font-weight: 500;
}

.hero h1 span,
.solutions-intro h2 span {
  color: var(--blue);
  font-weight: 800;
}

.hero p {
  max-width: 760px;
  margin: 0 0 30px;
  font-size: clamp(1.12rem, 1.42vw, 1.65rem);
  line-height: 1.32;
}

.hero-media img {
  width: 100%;
  max-height: 498px;
  aspect-ratio: 16 / 9;
  object-fit: cover;
}

.hero-slide {
  opacity: 0;
  transform: translateX(42vw);
  animation: heroImageIn 900ms cubic-bezier(0.22, 1, 0.36, 1) 180ms forwards;
}

@keyframes heroImageIn {
  to {
    opacity: 1;
    transform: translateX(0);
  }
}

.solutions-intro {
  padding: 82px 0 74px;
  background: linear-gradient(180deg, #04091a 0%, #18213a 100%);
}

.solutions-intro h2 {
  max-width: 1480px;
  margin: 0 auto 46px;
  text-align: center;
  font-size: clamp(2.15rem, 3.15vw, 3.85rem);
  line-height: 1.12;
  font-weight: 600;
}

.solutions-intro h2 span {
  display: block;
  white-space: nowrap;
}

.eyebrow {
  margin: 0 0 24px;
  text-align: center;
  font-style: italic;
  font-weight: 800;
  font-size: clamp(1.2rem, 1.35vw, 1.55rem);
}

.solution-columns {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: clamp(56px, 5.8vw, 112px);
}

.solution-columns article {
  font-size: clamp(1.05rem, 1.28vw, 1.48rem);
  line-height: 1.5;
}

.solution-columns h3 {
  margin: 0 0 26px;
  text-align: center;
  font-size: clamp(1.55rem, 1.85vw, 2.05rem);
}

.solution-columns p {
  margin: 0 0 4px;
}

.solution-columns a {
  min-height: 54px;
  margin-top: 24px;
  padding: 0 18px;
  background: #182c67;
  border-radius: 11px;
  font-size: clamp(1rem, 1.25vw, 1.45rem);
}

.pillars,
.strategic,
.timeline-section,
.service-grid-section,
.more-products {
  padding: clamp(70px, 8vw, 150px) 0;
}

.pillars h2,
.more-products h2 {
  color: var(--blue-dark);
  font-size: clamp(2rem, 3.5vw, 4.1rem);
  line-height: 1.15;
  font-weight: 500;
}

.pillar-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 5vw;
  margin-top: 72px;
}

.pillar-grid article {
  border-bottom: 2px solid var(--line);
  min-height: 154px;
}

.pillar-grid h3 {
  margin: 0 0 22px;
  color: #051860;
  font-size: clamp(1.65rem, 2.25vw, 3rem);
  font-weight: 400;
}

.pillar-grid p,
.strategic p,
.finance p,
.two-column-text,
.timeline-card p {
  font-size: clamp(1rem, 1.28vw, 1.55rem);
  line-height: 1.5;
}

.split {
  display: grid;
  grid-template-columns: 0.9fr 1fr;
  align-items: center;
  gap: 6vw;
}

.section-kicker {
  margin: 0 0 22px;
  color: #06164b;
  font-size: clamp(1.3rem, 1.7vw, 2.25rem);
  font-weight: 400;
}

.strategic h2,
.finance h2,
.timeline-section h2,
.service-grid-section h2,
.contact-copy h2 {
  margin: 0 0 42px;
  font-size: clamp(2.3rem, 3.6vw, 4.7rem);
  line-height: 1.16;
}

.strategic h2 {
  color: #2b2c32;
}

.feature-image {
  width: 100%;
  aspect-ratio: 1.42 / 1;
  object-fit: cover;
  border-radius: 28px;
}

.timeline-section {
  overflow: hidden;
  background: linear-gradient(90deg, #f6f3ff 0%, #ffffff 36%, #ffffff 100%);
}

.timeline-section h2 {
  font-size: clamp(2rem, 2.55vw, 3rem);
  font-weight: 500;
}

.timeline {
  position: relative;
  display: flex;
  flex-direction: column;
  gap: 46px;
  margin-top: 38px;
  padding: 6px 0 18px;
}

.timeline::before {
  content: "";
  position: absolute;
  left: 50%;
  top: 40px;
  bottom: 40px;
  width: 4px;
  transform: translateX(-50%);
  background: #65d1ed;
  z-index: 0;
}

.timeline-card {
  position: relative;
  width: calc(50% - 72px);
  min-height: 178px;
  padding: 30px 34px;
  background: var(--white);
  border-radius: 18px;
  box-shadow: var(--shadow);
  opacity: 0;
  transform: translateY(28px);
  transition: opacity 520ms ease, transform 520ms ease, box-shadow 180ms ease;
  z-index: 1;
}

.timeline-card.is-visible {
  opacity: 1;
  transform: translateY(0);
}

.timeline-card:hover {
  box-shadow: 0 18px 34px rgba(0, 0, 0, 0.2);
}

.timeline-card::after {
  content: "";
  position: absolute;
  top: 50%;
  width: 52px;
  height: 52px;
  border-radius: 50%;
  background: #65d1ed;
  box-shadow: 0 8px 18px rgba(101, 209, 237, 0.24);
  transform: translateY(-50%);
  z-index: 3;
}

.timeline-card::before {
  content: "";
  position: absolute;
  top: 50%;
  width: 52px;
  height: 52px;
  background-image: url("data:image/svg+xml,%3Csvg width='24' height='24' viewBox='0 0 24 24' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath d='M7 9.5 12 14.5 17 9.5' fill='none' stroke='white' stroke-width='4' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: center;
  background-size: 24px 24px;
  z-index: 4;
  transform: translateY(-50%);
  pointer-events: none;
}

.timeline-card.left::after {
  right: -98px;
}

.timeline-card.left::before {
  right: -98px;
}

.timeline-card.right::after {
  left: -98px;
}

.timeline-card.right::before {
  left: -98px;
}

.timeline-card.right {
  align-self: flex-end;
}

.timeline-card h3 {
  margin: 0 0 18px;
  color: var(--ink);
  font-size: clamp(1.35rem, 1.78vw, 2.05rem);
  line-height: 1.16;
}

.timeline-card p {
  font-size: clamp(0.98rem, 1.12vw, 1.28rem);
  line-height: 1.42;
}

.dark-card {
  width: min(1600px, calc(100% - 10vw));
  margin: 0 auto 90px;
  padding: 74px 0;
  color: var(--white);
  background: linear-gradient(135deg, #050505 0%, #252525 100%);
  border-radius: 120px;
}

.dark-card .section-inner {
  width: min(1240px, calc(100% - 6vw));
}

.finance {
  padding: 42px 0 72px;
}

.finance .section-inner {
  width: min(1470px, calc(100% - 96px));
}

.finance .split {
  grid-template-columns: minmax(560px, 0.95fr) minmax(620px, 1.05fr);
  gap: clamp(48px, 5vw, 86px);
}

.finance .section-kicker {
  color: var(--white);
  margin-bottom: 28px;
  font-size: clamp(1.2rem, 1.55vw, 2rem);
}

.finance h2 {
  max-width: 680px;
  margin-bottom: 38px;
  font-size: clamp(2.5rem, 3.1vw, 4.05rem);
  line-height: 1.15;
}

.finance p {
  max-width: 720px;
  margin: 0 0 32px;
  font-size: clamp(1.02rem, 1.25vw, 1.45rem);
  line-height: 1.5;
}

.finance .primary-button {
  margin-top: 12px;
}

.dashboard-image {
  width: 100%;
  align-self: center;
  border: 0;
  border-radius: 0;
  background: transparent;
  object-fit: contain;
  box-shadow: none;
}

.service-grid-section {
  padding-top: 42px;
}

.service-grid-section h2 {
  font-weight: 500;
}

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

.service-card {
  min-height: 250px;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  padding: 22px;
  text-align: center;
  border: 3px solid var(--blue);
  border-radius: 12px;
  box-shadow: var(--shadow);
}

.service-card img {
  width: 92px;
  height: 92px;
  object-fit: contain;
  margin-bottom: 18px;
}

.service-card h3 {
  margin: 0;
  color: #020a27;
  font-size: clamp(1.25rem, 1.75vw, 2rem);
  line-height: 1.12;
}

.more-products {
  background: #f0f0f0;
}

.divider {
  height: 1px;
  margin-bottom: 92px;
  background: #555;
}

.two-column-text {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 8vw;
  align-items: start;
}

.two-column-text p {
  margin: 0;
  max-width: 760px;
}

.two-column-text li {
  margin: 0 0 14px;
}

.instagram-block {
  margin-top: 92px;
}

.instagram-block h3 {
  margin: 0 0 28px;
  font-size: clamp(1.55rem, 2vw, 2.4rem);
  font-weight: 500;
}

.carousel {
  position: relative;
  overflow: hidden;
  width: min(1540px, 100%);
  margin-inline: auto;
}

.carousel-track {
  display: grid;
  grid-auto-flow: column;
  grid-auto-columns: calc((100% - 84px) / 4);
  gap: 28px;
  transition: transform 420ms ease;
}

.carousel-track img {
  width: 100%;
  aspect-ratio: 4 / 5;
  object-fit: cover;
  border: 1px solid #333;
}

.carousel-button {
  position: absolute;
  top: 50%;
  z-index: 2;
  width: 42px;
  height: 42px;
  border: 0;
  border-radius: 50%;
  background: rgba(0, 0, 0, 0.72);
  color: var(--white);
  font-size: 2rem;
  cursor: pointer;
  transform: translateY(-50%);
}

.carousel-button.prev {
  left: 8px;
}

.carousel-button.next {
  right: 8px;
}

.carousel-dots {
  display: flex;
  justify-content: center;
  gap: 16px;
  margin-top: 22px;
}

.carousel-dots button {
  width: 10px;
  height: 10px;
  border: 0;
  border-radius: 50%;
  background: #c1c1c1;
  padding: 0;
}

.carousel-dots button.active {
  background: #000;
}

.contact-section,
.footer {
  color: var(--white);
  background: linear-gradient(135deg, #151515 0%, #050505 100%);
}

.contact-section {
  padding: 76px 0 88px;
}

.contact-layout {
  display: grid;
  grid-template-columns: 0.7fr 1.3fr;
  gap: 6vw;
}

.contact-copy h2,
.contact-copy h3,
.contact-copy p {
  margin-top: 0;
}

.contact-copy h3 {
  font-size: clamp(1.8rem, 2.5vw, 3rem);
  font-weight: 500;
}

.contact-copy p {
  margin-bottom: 56px;
  font-size: 1.35rem;
}

.social-row {
  display: flex;
  gap: 30px;
}

.social-row a,
.footer-socials a {
  width: 76px;
  height: 76px;
  display: grid;
  place-items: center;
  border-radius: 50%;
  background: var(--blue);
  color: var(--white);
  font-weight: 800;
}

.social-row svg,
.footer-socials svg {
  width: 34px;
  height: 34px;
}

.social-row a[aria-label="Instagram"] svg,
.footer-socials a[aria-label="Instagram"] svg {
  fill: none;
  stroke: currentColor;
  stroke-width: 2;
}

.social-row a[aria-label="WhatsApp"] svg,
.footer-socials a[aria-label="WhatsApp"] svg {
  fill: none;
  stroke: currentColor;
  stroke-width: 1.8;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.contact-form {
  display: grid;
  gap: 14px;
}

.contact-form label {
  display: grid;
  gap: 8px;
  font-size: 1.35rem;
  font-weight: 800;
}

.contact-form span {
  color: #ff5a5a;
}

.contact-form input,
.contact-form textarea {
  width: 100%;
  border: 0;
  border-radius: 10px;
  background: #f1f3fb;
  color: var(--ink);
  font: inherit;
  font-weight: 600;
  padding: 24px 32px;
}

.contact-form input {
  min-height: 86px;
}

.contact-form button {
  min-height: 72px;
  margin-top: 20px;
  border: 0;
  border-radius: 20px;
  background: var(--blue);
  color: var(--white);
  font-size: 1.5rem;
  font-weight: 800;
  cursor: pointer;
}

.footer {
  border-top: 1px solid #272727;
  padding: 64px 0 42px;
}

.footer-top {
  display: grid;
  grid-template-columns: 1fr 1fr 1fr;
  align-items: center;
  gap: 5vw;
}

.footer address {
  font-style: normal;
  font-size: clamp(1.05rem, 1.4vw, 1.7rem);
  line-height: 1.45;
}

.footer img {
  width: min(420px, 100%);
  justify-self: center;
}

.footer nav {
  display: grid;
  grid-template-columns: repeat(2, auto);
  gap: 12px 28px;
  justify-content: end;
  font-size: 1.3rem;
  font-weight: 800;
}

.footer-bottom {
  display: flex;
  justify-content: space-between;
  align-items: end;
  margin-top: 84px;
}

.footer-bottom p {
  margin: 0;
  font-size: clamp(1rem, 1.4vw, 1.7rem);
}

.footer-bottom span {
  color: var(--blue);
}

.footer-socials {
  display: flex;
  gap: 22px;
}

.footer-socials a {
  width: 42px;
  height: 42px;
  background: transparent;
  border: 2px solid var(--white);
  color: var(--white);
}

.footer-socials svg {
  width: 22px;
  height: 22px;
}

.back-top {
  position: fixed;
  right: 7vw;
  bottom: 9vh;
  z-index: 30;
  width: 46px;
  height: 46px;
  display: grid;
  place-items: center;
  color: #000;
  font-size: 2rem;
  font-weight: 800;
  opacity: 0;
  pointer-events: none;
  transform: translateY(12px);
  transition: opacity 180ms ease, transform 180ms ease;
}

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

.about-page {
  background: var(--white);
}

.about-hero {
  color: var(--white);
  background:
    radial-gradient(circle at -20% 0%, rgba(0, 149, 255, 0.12), transparent 36%),
    linear-gradient(180deg, #050505 0%, #07101f 58%, #17233a 100%);
  padding: clamp(44px, 6vw, 92px) 0 clamp(88px, 9vw, 160px);
}

.about-hero-inner,
.about-cta-inner {
  width: min(1620px, calc(100% - 10vw));
  margin-inline: auto;
}

.about-kicker {
  margin: 0 0 clamp(40px, 5vw, 86px);
  font-size: clamp(1.35rem, 1.9vw, 2.05rem);
  font-weight: 400;
}

.about-hero-logo {
  display: block;
  width: min(540px, 52vw);
  margin: 0 auto clamp(36px, 4vw, 64px);
}

.about-hero h1 {
  color: var(--blue);
  text-align: center;
  font-size: clamp(1.8rem, 2.45vw, 2.75rem);
  line-height: 1.25;
  margin: 0 0 clamp(48px, 5vw, 72px);
  font-weight: 600;
}

.about-copy {
  width: min(1330px, 100%);
  margin-inline: auto;
  font-size: clamp(1.05rem, 1.45vw, 1.68rem);
  line-height: 1.55;
}

.about-copy p {
  margin: 0 0 28px;
}

.about-pillars {
  padding-bottom: clamp(80px, 9vw, 165px);
}

.founder-section {
  padding: 0 0 clamp(80px, 9vw, 150px);
}

.founder-card {
  position: relative;
  width: min(1710px, calc(100% - 10vw));
  min-height: clamp(520px, 45vw, 850px);
  margin-inline: auto;
  overflow: hidden;
  border-radius: 58px;
  background:
    linear-gradient(90deg, rgba(8, 20, 36, 0.92) 0%, rgba(8, 20, 36, 0.72) 34%, rgba(8, 20, 36, 0.08) 72%),
    url("https://finintegra.com.br/wp-content/uploads/2025/10/Brandbook-FinIntegra-1-e1760622655632.png") center right / cover no-repeat;
}

.founder-card::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: -1px;
  width: 100%;
  height: 44px;
  background: var(--white);
  clip-path: polygon(0 100%, 100% 0, 100% 100%);
}

.founder-quote {
  position: relative;
  z-index: 1;
  display: flex;
  min-height: inherit;
  width: min(430px, 36%);
  margin-left: clamp(70px, 6vw, 120px);
  flex-direction: column;
  justify-content: center;
  color: var(--white);
}

.quote-mark {
  position: relative;
  display: block;
  width: 110px;
  margin-bottom: 18px;
  color: var(--white);
  font-size: clamp(4.5rem, 7vw, 8rem);
  line-height: 0.7;
  font-weight: 800;
}

.quote-mark::before {
  content: "";
  position: absolute;
  left: 0;
  top: -22px;
  width: 108px;
  height: 4px;
  background: var(--blue);
}

.founder-quote p {
  margin: 0 0 clamp(90px, 13vw, 180px);
  font-size: clamp(1.35rem, 1.7vw, 2rem);
  line-height: 1.34;
  font-weight: 500;
}

.founder-quote strong {
  width: max-content;
  margin-bottom: 26px;
  padding-bottom: 18px;
  border-bottom: 4px solid var(--blue);
  font-size: clamp(1.05rem, 1.45vw, 1.7rem);
}

.founder-quote span:last-child {
  font-size: clamp(1rem, 1.35vw, 1.55rem);
}

.about-cta {
  padding: clamp(72px, 8vw, 145px) 0 clamp(80px, 8vw, 150px);
}

.about-cta-inner {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  align-items: center;
  gap: clamp(36px, 8vw, 120px);
}

.about-cta h2,
.faq-section h2 {
  color: #2d2d2f;
  font-size: clamp(2rem, 3.5vw, 4.15rem);
  line-height: 1.18;
  font-weight: 400;
  margin: 0 0 32px;
}

.about-cta p {
  margin: 0;
  color: #1c1c1f;
  font-size: clamp(1.05rem, 1.45vw, 1.7rem);
  line-height: 1.45;
}

.about-cta .btn-primary {
  min-width: 270px;
  justify-content: center;
  padding: 24px 42px;
  text-align: center;
}

.faq-section {
  padding: 0 0 clamp(110px, 10vw, 180px);
}

.faq-section h2 {
  color: var(--blue-dark);
  margin-bottom: clamp(42px, 5vw, 72px);
}

.faq-list {
  border-top: 1px solid #cfd3da;
}

.faq-list details {
  border: 1px solid #cfd3da;
  border-top: 0;
  color: #202125;
}

.faq-list summary {
  display: flex;
  align-items: center;
  min-height: 72px;
  gap: 18px;
  padding: 18px 24px;
  cursor: pointer;
  list-style: none;
  font-size: clamp(1.05rem, 1.4vw, 1.65rem);
  line-height: 1.3;
}

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

.faq-list summary::before {
  content: "+";
  flex: 0 0 28px;
  color: #222;
  font-size: 2rem;
  line-height: 1;
  font-weight: 700;
}

.faq-list details[open] summary {
  background: #e9e9e9;
  border-bottom: 1px solid #0f2c66;
}

.faq-list details[open] summary::before {
  content: "−";
}

.faq-list details p {
  margin: 0;
  padding: 54px 60px;
  color: #2f3035;
  font-size: clamp(1rem, 1.35vw, 1.45rem);
  line-height: 1.55;
}

@media (max-width: 980px) {
  .about-hero-inner,
  .about-cta-inner,
  .founder-card {
    width: min(100% - 32px, 1620px);
  }

  .about-hero-logo {
    width: min(420px, 82vw);
  }

  .about-copy {
    font-size: 1.05rem;
  }

  .founder-card {
    min-height: 720px;
    border-radius: 34px;
    background:
      linear-gradient(180deg, rgba(8, 20, 36, 0.9) 0%, rgba(8, 20, 36, 0.62) 48%, rgba(8, 20, 36, 0.1) 100%),
      url("https://finintegra.com.br/wp-content/uploads/2025/10/finintegra-ceo-gabriel-mobile-1.png") center bottom / cover no-repeat;
  }

  .founder-quote {
    width: min(420px, calc(100% - 48px));
    min-height: auto;
    margin: 0;
    padding: 78px 24px 420px;
    justify-content: flex-start;
  }

  .founder-quote p {
    margin-bottom: 64px;
  }

  .about-cta-inner {
    grid-template-columns: 1fr;
  }

  .about-cta .btn-primary {
    width: max-content;
    min-width: 0;
  }

  .faq-list details p {
    padding: 30px 24px;
  }
}

@media (max-width: 640px) {
  .about-hero {
    padding-top: 38px;
  }

  .about-kicker {
    margin-bottom: 36px;
  }

  .about-hero h1 {
    text-align: left;
  }

  .founder-card {
    min-height: 650px;
    border-radius: 26px;
  }

  .founder-quote {
    padding-bottom: 330px;
  }

  .faq-list summary {
    align-items: flex-start;
    padding: 18px;
  }
}

.reveal {
  opacity: 0;
  transform: translateY(34px);
  transition: opacity 700ms ease, transform 700ms ease;
}

.reveal.from-left {
  transform: translateX(-48px);
}

.reveal.from-right {
  transform: translateX(48px);
}

.reveal.is-visible {
  opacity: 1;
  transform: translate(0, 0);
}

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

  .reveal,
  .reveal.from-left,
  .reveal.from-right,
  .hero-slide,
  .timeline-card,
  .carousel-track {
    opacity: 1;
    transform: none;
    animation: none;
    transition: none;
  }

  .timeline {
    --timeline-progress: 100%;
  }
}

@media (max-width: 1320px) {
  .hero {
    grid-template-columns: minmax(480px, 0.95fr) minmax(520px, 1.05fr);
  }

  .hero h1 {
    font-size: clamp(2.45rem, 3.45vw, 3.6rem);
  }

  .finance .split {
    grid-template-columns: minmax(460px, 0.95fr) minmax(500px, 1.05fr);
  }

  .finance h2 {
    font-size: clamp(2.35rem, 3.6vw, 3.65rem);
  }
}

@media (max-width: 1180px) {
  .nav {
    min-height: 94px;
  }

  .nav-toggle,
  .menu-toggle {
    display: block;
    margin-left: auto;
  }

  .nav-links {
    position: absolute;
    left: 0;
    right: 0;
    top: 94px;
    display: none;
    flex-direction: column;
    align-items: stretch;
    gap: 0;
    padding: 20px 4vw 28px;
    background: #00101c;
  }

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

  .nav-links a {
    padding: 16px 0;
  }

  .contact-pill {
    align-items: center;
    justify-content: center;
    margin-top: 10px;
  }

  .hero,
  .split,
  .contact-layout,
  .two-column-text {
    grid-template-columns: 1fr;
  }

  .hero::after {
    width: 100%;
    opacity: 0.55;
  }

  .solutions-intro h2 span {
    white-space: normal;
  }

  .hero-media img {
    max-height: none;
  }

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

  .timeline {
    gap: 42px;
  }

  .timeline::before {
    left: 24px;
  }

  .timeline-card,
  .timeline-card.right {
    width: calc(100% - 74px);
    align-self: flex-start;
    margin-left: 74px;
  }

  .timeline-card.left::after,
  .timeline-card.right::after {
    left: -78px;
    right: auto;
  }

  .timeline-card.left::before,
  .timeline-card.right::before {
    left: -78px;
    right: auto;
  }

  .dark-card {
    width: 100%;
    border-radius: 54px;
  }

  .finance .section-inner {
    width: min(100% - 64px, 920px);
  }

  .finance .split {
    grid-template-columns: 1fr;
  }

  .carousel-track {
    grid-auto-columns: calc((100% - 28px) / 2);
  }
}

@media (max-width: 720px) {
  .section-inner,
  .nav,
  .footer-top,
  .footer-bottom {
    width: min(100% - 32px, 1760px);
  }

  .hero {
    min-height: auto;
    padding: 46px 16px 56px;
  }

  .solution-columns,
  .pillar-grid,
  .service-grid,
  .footer-top {
    grid-template-columns: 1fr;
  }

  .solutions-intro h2,
  .eyebrow,
  .solution-columns h3 {
    text-align: left;
  }

  .solutions-intro {
    padding: 60px 0 64px;
  }

  .timeline-card {
    margin-left: 44px;
    width: calc(100% - 44px);
    padding: 28px 24px;
  }

  .timeline-card.left::after,
  .timeline-card.right::after {
    left: -62px;
    width: 42px;
    height: 42px;
  }

  .timeline-card.left::before,
  .timeline-card.right::before {
    left: -62px;
    width: 42px;
    height: 42px;
    background-size: 20px 20px;
  }

  .dark-card {
    margin-bottom: 50px;
    border-radius: 34px;
  }

  .finance {
    padding: 42px 0 56px;
  }

  .finance .section-inner {
    width: min(100% - 32px, 920px);
  }

  .finance h2 {
    font-size: clamp(2.15rem, 10vw, 3rem);
  }

  .dashboard-image {
    border-width: 0;
  }

  .carousel-track {
    grid-auto-columns: 100%;
  }

  .footer nav {
    grid-template-columns: 1fr;
    justify-content: start;
  }

  .footer-bottom {
    align-items: flex-start;
    flex-direction: column;
    gap: 28px;
  }
}
