/* Macwin Software: landing pages.
 *
 * The homepage keeps all of its CSS inline in index.html. The rules below are
 * copied from that <style> block in their ORIGINAL ORDER (the later "v2..v7"
 * blocks deliberately override earlier ones), minus the components that exist
 * only on the homepage (intro curtain, marquee, manifesto, numbers, product
 * cards, founder, story, social-proof bits). Keep the order if you edit.
 * If the homepage design changes, mirror the change here.
 * Landing-only additions are at the bottom of this file.
 */

/* ===== FONT, TOKENS, RESET ===== */
@font-face {
  font-family: RealtyHyper;
  src: url(../../fonts/RealtyHyper.ttf) format("truetype");
  font-display: swap;
}

:root {
  --b: #27377C;
  --ac: #4f46e5;
  --ink: #0f1638;
  --t: #f3f4fb;
  --l: #e1e4f2;
  --m: #52597f;
  --soft: #4b6584;
  --hf: "Plus Jakarta Sans", system-ui, sans-serif;
}

* {
  box-sizing: border-box;
  margin: 0;
}

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

body {
  font: 400 16px/1.7 Inter, system-ui, sans-serif;
  color: var(--ink);
  background: #fff;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}

h1,
h2,
h3 {
  font-family: var(--hf);
  line-height: 1.1;
  letter-spacing: -.03em;
  text-wrap: balance;
}

ul,
ol {
  padding: 0;
  list-style: none;
}

a {
  color: inherit;
}

:focus-visible {
  outline: 3px solid #8f9bdb;
  outline-offset: 3px;
}

.bar {
  max-width: 1180px;
  margin: auto;
  padding: 0 24px;
}

.skip {
  position: absolute;
  left: -999px;
}

.skip:focus {
  left: 12px;
  top: 12px;
  background: #fff;
  padding: 8px 12px;
  z-index: 400;
}

@keyframes ch {
  to {
    transform: none
  }
}

/* ===== HEADER (v1 base; the glass header and drawer further down override it) ===== */
.top {
  position: sticky;
  top: 0;
  z-index: 100;
  background: transparent;
  border: 0;
  box-shadow: none;
  color: #fff;
  mix-blend-mode: difference;
}

.top .bar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 68px;
}

.logo {
  display: inline-block;
  font: 400 24px/1 RealtyHyper, var(--hf);
  letter-spacing: 0;
  color: #fff;
  text-decoration: none;
}

nav {
  display: flex;
  gap: 2px;
  align-items: center;
  position: relative;
}

nav a {
  position: relative;
  z-index: 1;
  color: #fff;
  text-decoration: none;
  font-weight: 500;
  font-size: 14.5px;
  padding: 10px 14px;
}

nav a.cta {
  background: transparent;
  border: 2px solid #fff;
  padding: 8px 18px;
  margin-left: 12px;
  font-weight: 600;
  transition: background .2s, color .2s, transform .2s;
}

nav a.cta:hover {
  background: #fff;
  color: #000;
  transform: translateY(-2px);
}

.ind {
  position: absolute;
  left: 0;
  top: 50%;
  height: 40px;
  margin-top: -20px;
  width: 0;
  background: rgba(255, 255, 255, .2);
  border-bottom: 3px solid #fff;
  opacity: 0;
  pointer-events: none;
  transition: transform .35s cubic-bezier(.6, .1, .2, 1), width .35s cubic-bezier(.6, .1, .2, 1), opacity .2s;
}

.ind.show {
  opacity: 1;
}

.burger {
  display: none;
  width: 44px;
  height: 44px;
  border: 0;
  background: none;
  cursor: pointer;
}

.burger i,
.burger i::before,
.burger i::after {
  display: block;
  width: 24px;
  height: 2px;
  background: #fff;
  margin: auto;
  position: relative;
}

.burger i::before,
.burger i::after {
  content: "";
  position: absolute;
  left: 0;
}

.burger i::before {
  top: -7px;
}

.burger i::after {
  top: 7px;
}

.cg {
  position: fixed;
  left: 0;
  top: 0;
  width: 520px;
  height: 520px;
  margin: -260px 0 0 -260px;
  border-radius: 50%;
  pointer-events: none;
  z-index: 90;
  background: radial-gradient(circle, rgba(79, 70, 229, .12), transparent 66%);
  opacity: 0;
  transition: opacity .4s;
}

/* ===== HERO ===== */
.hero {
  position: relative;
  overflow: hidden;
  background: #fff;
  min-height: 640px;
  max-height: 820px;
  display: flex;
  align-items: center;
}

.rb {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  pointer-events: none;
  z-index: 0;
}

.hero .bar {
  position: relative;
  z-index: 1;
  width: 100%;
  padding-top: 70px;
  padding-bottom: 70px;
}

.hero .guide {
  border-left: 1px solid var(--l);
  border-right: 1px solid var(--l);
  padding: 90px 0 90px 7%;
  margin: -90px 0;
}

.hero h1 {
  font-size: clamp(2.2rem, 4.6vw, 4rem);
  font-weight: 500;
  max-width: 15em;
  color: var(--ink);
  margin-bottom: 22px;
}

.hero .big {
  display: block;
  font-family: var(--hf);
  font-size: clamp(1.4rem, 3vw, 2.4rem);
  font-weight: 500;
  color: var(--soft);
  line-height: 1.2;
  letter-spacing: -.03em;
  max-width: 22em;
  margin-bottom: 38px;
  text-wrap: balance;
}

.hero .big b {
  font-weight: inherit;
  background: linear-gradient(90deg, var(--b), var(--ac), #6f86ff, var(--b));
  background-size: 200% 100%;
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
  animation: sh 6s linear infinite;
}

@keyframes sh {
  to {
    background-position: 200% 0
  }
}

.hero .in>* {
  animation: up .9s cubic-bezier(.2, .8, .2, 1) both;
  animation-delay: var(--d, 0s);
}

@keyframes up {
  from {
    opacity: 0;
    transform: translateY(30px)
  }
}

.js .hero h1 {
  animation: none;
}

.js .h1w {
  display: inline-block;
  overflow: hidden;
  vertical-align: top;
  padding-bottom: .14em;
  margin-bottom: -.14em;
}

.js .h1w>span {
  display: inline-block;
  transform: translateY(115%);
  animation: ch .9s cubic-bezier(.2, .8, .2, 1) forwards;
  animation-delay: calc(var(--w)*70ms);
}

.js .hero .in>*,
.js .h1w>span {
  animation-play-state: paused;
}

.js.ready .hero .in>*,
.js.ready .h1w>span {
  animation-play-state: running;
}

/* ===== BUTTONS ===== */
.btns {
  display: flex;
  gap: 14px;
  flex-wrap: wrap;
}

.b {
  position: relative;
  overflow: hidden;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 15px 26px;
  font: 600 15px Inter, sans-serif;
  text-decoration: none;
  border: 2px solid var(--b);
  background: var(--b);
  color: #fff;
  cursor: pointer;
  transition: transform .25s, background .2s, box-shadow .2s;
}

.b::before {
  content: "";
  position: absolute;
  top: 0;
  bottom: 0;
  left: -80%;
  width: 50%;
  background: linear-gradient(100deg, transparent, rgba(255, 255, 255, .4), transparent);
  transform: skewX(-20deg);
  transition: left .6s;
}

.b:hover::before {
  left: 130%;
}

.b:hover {
  background: var(--ac);
  border-color: var(--ac);
  box-shadow: 0 14px 30px -12px rgba(79, 70, 229, .55);
}

.b.g {
  background: transparent;
  color: var(--b);
}

.b.g:hover {
  background: var(--t);
  color: var(--b);
  border-color: var(--b);
  box-shadow: none;
}

.b.w {
  background: #fff;
  color: var(--b);
  border-color: #fff;
}

.b.w:hover {
  background: var(--t);
  border-color: var(--t);
  color: var(--b);
  box-shadow: none;
}

.scroll {
  position: absolute;
  left: 50%;
  bottom: 22px;
  z-index: 1;
  width: 22px;
  height: 36px;
  border: 2px solid var(--b);
  border-radius: 14px;
  opacity: .5;
}

.scroll::after {
  content: "";
  position: absolute;
  left: 50%;
  top: 7px;
  width: 3px;
  height: 7px;
  margin-left: -1.5px;
  background: var(--b);
  border-radius: 3px;
  animation: sc 1.6s ease-in-out infinite;
}

@keyframes sc {
  50% {
    transform: translateY(10px);
    opacity: .2
  }
}

/* ===== SECTIONS, EYEBROW, BLUE (.alt) SECTIONS ===== */
.sec {
  padding: 110px 0;
}

.sec h2 {
  font-size: clamp(2rem, 4vw, 3.2rem);
  font-weight: 700;
  margin-bottom: 16px;
}

.sub {
  color: var(--m);
  max-width: 58ch;
  font-size: 1.05rem;
}

.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font: 700 .76rem var(--hf);
  letter-spacing: .16em;
  text-transform: uppercase;
  color: var(--ac);
  margin-bottom: 16px;
}

.eyebrow::before {
  content: "";
  width: 26px;
  height: 2px;
  background: currentColor;
  transform-origin: left;
  animation: ey 2.4s ease-in-out infinite alternate;
}

@keyframes ey {
  from {
    transform: scaleX(.4)
  }
}

.alt {
  background: var(--t);
}

/* ===== CARDS (.pillars) ===== */
.pillars {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 28px;
  margin-top: 44px;
}

.pillars li {
  border-left: 4px solid var(--b);
  padding-left: 18px;
  transition: transform .3s, border-color .3s;
}

.pillars li:hover {
  transform: translateX(8px);
  border-color: var(--ac);
}

.pillars h3 {
  font-size: 1.2rem;
  color: var(--b);
  margin-bottom: 6px;
}

.pillars p {
  color: var(--m);
}

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

/* ===== PROCESS STEPS ===== */
.steps {
  --g: 24px;
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: var(--g);
  margin-top: 58px;
  position: relative;
}

.steps::before,
.steps::after {
  content: "";
  position: absolute;
  top: 22px;
  left: 23px;
  height: 3px;
  width: calc(75% + var(--g)*.75);
  z-index: 0;
}

.steps::before {
  background: var(--l);
}

.steps::after {
  background: linear-gradient(90deg, var(--b), var(--ac));
  clip-path: inset(0 100% 0 0);
  transition: clip-path 1.9s cubic-bezier(.5, 0, .2, 1) .2s;
}

.steps.in::after {
  clip-path: inset(0);
}

.steps li {
  position: relative;
  z-index: 1;
}

.n {
  position: relative;
  z-index: 2;
  display: grid;
  place-items: center;
  width: 46px;
  height: 46px;
  color: #fff;
  background: var(--b);
  font: 700 1.2rem var(--hf);
  font-style: normal;
  animation: ping 2.8s ease-out infinite;
}

.steps li:nth-child(2) .n {
  animation-delay: .5s;
}

.steps li:nth-child(3) .n {
  animation-delay: 1s;
}

.steps li:nth-child(4) .n {
  animation-delay: 1.5s;
}

@keyframes ping {
  0% {
    box-shadow: 0 0 0 0 rgba(79, 70, 229, .5)
  }

  70%,
  100% {
    box-shadow: 0 0 0 18px rgba(79, 70, 229, 0)
  }
}

.cd {
  margin-top: 24px;
  padding: 24px 22px 26px;
  border: 1px solid var(--l);
  background: #fff;
  height: calc(100% - 70px);
  transition: transform .3s, box-shadow .3s, border-color .3s;
}

.steps li:hover .cd {
  transform: translateY(-8px);
  box-shadow: 0 24px 44px -24px rgba(15, 22, 56, .4);
  border-color: #aab2dc;
}

.cd strong {
  display: block;
  font: 700 1.3rem var(--hf);
  letter-spacing: -.02em;
  color: var(--b);
  margin-bottom: 8px;
}

.cd p {
  color: var(--m);
  font-size: .97rem;
}

/* ===== FAQ ===== */
details {
  border-top: 1px solid #cfd3ea;
}

details:last-child {
  border-bottom: 1px solid #cfd3ea;
}

summary {
  cursor: pointer;
  font-weight: 600;
  padding: 21px 40px 21px 0;
  position: relative;
  list-style: none;
  transition: color .2s;
}

summary:hover {
  color: var(--ac);
}

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

summary::after {
  content: "+";
  position: absolute;
  right: 6px;
  top: 14px;
  font-size: 1.6rem;
  color: var(--b);
  transition: transform .25s;
}

details[open] summary::after {
  transform: rotate(45deg);
}

details p {
  padding: 0 0 20px;
  color: var(--m);
  max-width: 64ch;
}

.faq {
  margin-top: 34px;
  max-width: 780px;
}

/* ===== CTA BAND ===== */
.band {
  position: relative;
  overflow: hidden;
  background: var(--ink);
  color: #fff;
  text-align: center;
  padding: 140px 0;
}

.band::before {
  content: "";
  position: absolute;
  left: 50%;
  top: 50%;
  width: 900px;
  height: 900px;
  margin: -450px 0 0 -450px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(79, 70, 229, .32), transparent 62%);
}

.band .bar {
  position: relative;
  z-index: 1;
}

.band h2 {
  font-size: clamp(2.2rem, 5.6vw, 4.4rem);
  font-weight: 700;
  max-width: 12em;
  margin: 0 auto 32px;
}

/* ===== CONTACT ===== */
.contact {
  background: var(--b);
  color: #fff;
}

.contact .bar {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 56px;
}

.contact :focus-visible {
  outline-color: #fff;
}

.contact p,
.contact address {
  color: #dfe3f6;
  font-style: normal;
  margin-bottom: 10px;
}

.contact address a {
  color: #fff;
  font-weight: 700;
}

label {
  display: block;
  font-weight: 600;
  margin: 14px 0 6px;
}

input,
textarea,
select {
  width: 100%;
  padding: 14px;
  border: 0;
  font: inherit;
  color: var(--ink);
  background: #fff;
}

form .b {
  margin-top: 20px;
}

[aria-invalid="true"] {
  outline: 2px solid #c0392b;
  outline-offset: -2px;
}

/* ===== FOOTER ===== */
.foot {
  position: relative;
  overflow: hidden;
  background: #090d28;
  color: #b8bfe6;
  padding: 84px 0 30px;
  font-size: .92rem;
}

.foot .bar {
  position: relative;
  z-index: 2;
}

.ft {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  gap: 28px;
  flex-wrap: wrap;
}

.fl {
  font: 600 1.15rem/1.3 var(--hf);
  letter-spacing: -.02em;
  color: #fff;
  max-width: 14em;
}

.fn {
  display: flex;
  gap: 6px 22px;
  flex-wrap: wrap;
}

.fn a,
.fc a {
  text-decoration: none;
  transition: color .2s;
}

.fn a:hover,
.fc a:hover {
  color: #fff;
}

.fc {
  line-height: 1.9;
  text-align: right;
}

.fbig {
  margin: 30px 0 30px;
  display: flex;
  justify-content: center;
}

.copy {
  display: flex;
  justify-content: space-between;
  gap: 12px;
  flex-wrap: wrap;
  padding-top: 22px;
  border-top: 1px solid rgba(255, 255, 255, .12);
  color: #8e96c4;
  font-size: .85rem;
}

/* ===== REVEAL ON SCROLL AND BASE RESPONSIVE RULES ===== */
.js .rv {
  opacity: 0;
  translate: 0 30px;
  transition: opacity .8s, translate .8s;
  transition-delay: calc(var(--i, 0)*90ms);
}

.js .rv.in {
  opacity: 1;
  translate: none;
}

@media (max-width:860px) {
  .hero {
    min-height: 620px;
  }

  .hero .guide {
    border: 0;
    padding: 0;
    margin: 0;
  }

  .rb {
    opacity: .55;
  }

  .scroll {
    display: none;
  }

  .contact .bar {
    grid-template-columns: 1fr;
  }

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

  .steps {
    grid-template-columns: 1fr;
    gap: 26px;
  }

  .steps::before {
    top: 23px;
    bottom: 23px;
    left: 22px;
    width: 3px;
    height: auto;
    background: linear-gradient(var(--b), var(--ac));
  }

  .steps::after {
    display: none;
  }

  .steps li {
    display: grid;
    grid-template-columns: 46px 1fr;
    gap: 20px;
    align-items: start;
  }

  .cd {
    margin-top: 0;
    height: auto;
  }

  .fc {
    text-align: left;
  }

  .burger {
    display: block;
  }

  .ind {
    display: none;
  }

  nav {
    display: none;
    position: absolute;
    top: 68px;
    left: 0;
    right: 0;
    background: var(--ink);
    flex-direction: column;
    align-items: stretch;
    gap: 0;
    padding: 8px 20px 20px;
  }

  nav.open {
    display: flex;
  }

  nav a {
    padding: 14px 0;
    border-bottom: 1px solid rgba(255, 255, 255, .12);
  }

  nav a.cta {
    text-align: center;
    margin: 12px 0 0;
  }

  .top.menu {
    mix-blend-mode: normal;
  }

  .top.menu .bar {
    background: var(--ink);
  }

  .sec {
    padding: 76px 0;
  }

  .band {
    padding: 100px 0;
  }

  .foot {
    padding: 64px 0 26px;
  }
}

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

  .steps::after {
    clip-path: inset(0);
  }
}

/* ===== TWO-COLOUR THEME: #27377C + white ===== */
:root {
  --fg: #27377C;
  --mu: rgba(39, 55, 124, .75);
  --ln: rgba(39, 55, 124, .2);
  --tint: rgba(39, 55, 124, .06);
}

body {
  color: var(--fg);
}

:focus-visible {
  outline-color: var(--b);
}

.alt,
.contact {
  --fg: #fff;
  --mu: rgba(255, 255, 255, .8);
  --ln: rgba(255, 255, 255, .3);
  --tint: rgba(255, 255, 255, .08);
  background: var(--b);
  color: #fff;
}

.alt :focus-visible {
  outline-color: #fff;
}

.cg {
  background: radial-gradient(circle, rgba(39, 55, 124, .1), transparent 66%);
}

.hero .in>:nth-child(2) {
  --d: .3s;
}

.hero .in>:nth-child(3) {
  --d: .45s;
}

.top {
  mix-blend-mode: normal;
  color: var(--b);
  transition: background .3s, box-shadow .3s;
}

.top.solid {
  background: rgba(255, 255, 255, .95);
  backdrop-filter: blur(10px);
  box-shadow: 0 1px 0 var(--ln);
}

.logo,
nav a {
  color: var(--b);
}

nav a.cta {
  border-color: var(--b);
}

nav a.cta:hover {
  background: var(--b);
  color: #fff;
  transform: none;
}

.ind {
  background: var(--tint);
  border-bottom-color: var(--b);
}

.burger i,
.burger i::before,
.burger i::after {
  background: var(--b);
}

.b::before {
  display: none;
}

.b:hover {
  background: #fff;
  color: var(--b);
  border-color: var(--b);
  box-shadow: none;
}

.b.g:hover {
  background: var(--b);
  color: #fff;
  border-color: var(--b);
}

.b.w:hover {
  background: transparent;
  color: #fff;
  border-color: #fff;
}

.eyebrow {
  color: var(--fg);
}

.sub,
.pillars p,
.cd p,
details p {
  color: var(--mu);
}

.pillars li,
.pillars li:hover {
  border-color: var(--fg);
}

.pillars h3 {
  color: var(--fg);
}

.steps::before {
  background: var(--ln);
}

.steps::after {
  background: var(--b);
}

.cd {
  border-color: var(--ln);
}

.cd strong {
  color: var(--fg);
}

.steps li:hover .cd {
  border-color: var(--b);
  box-shadow: 0 24px 44px -24px rgba(39, 55, 124, .45);
}

@keyframes ping {
  0% {
    box-shadow: 0 0 0 0 rgba(39, 55, 124, .45)
  }

  70%,
  100% {
    box-shadow: 0 0 0 18px rgba(39, 55, 124, 0)
  }
}

details {
  border-top-color: var(--ln);
}

details:last-child {
  border-bottom-color: var(--ln);
}

summary:hover {
  color: inherit;
}

summary::after {
  color: var(--fg);
}

.band {
  background: #fff;
  color: var(--b);
  border-top: 1px solid var(--ln);
}

.band::before {
  display: none;
}

.contact p,
.contact address {
  color: var(--mu);
}

.foot {
  background: #fff;
  color: var(--mu);
}

.fl,
.fn a,
.fc a {
  color: var(--b);
}

.fn a:hover,
.fc a:hover {
  color: var(--b);
  text-decoration: underline;
}

.copy a {
  color: inherit;
  text-decoration: underline;
  text-underline-offset: 3px;
}

.copy {
  border-top-color: var(--ln);
  color: var(--mu);
}

@media (max-width:860px) {
  nav {
    background: #fff;
    box-shadow: 0 16px 24px -16px rgba(39, 55, 124, .35);
  }

  nav a {
    border-bottom-color: var(--ln);
  }

  .top.menu .bar {
    background: #fff;
  }

  .steps::before {
    background: var(--b);
  }
}

/* ===== INNER CONTENT POLISH, FOOTER LOGO ===== */
.flogo {
  display: block;
  width: clamp(260px, 62vw, 780px);
  max-width: 100%;
  height: auto;
}

.sec h2 {
  max-width: 18em;
}

section .pillars li {
  border: 1px solid var(--ln);
  border-top: 4px solid var(--fg);
  padding: 26px 24px 28px;
  transition: transform .3s, box-shadow .3s;
}

section .pillars li::before {
  content: counter(p, decimal-leading-zero);
  display: block;
  font: 700 .8rem var(--hf);
  letter-spacing: .12em;
  color: var(--mu);
  margin-bottom: 18px;
}

.pillars {
  counter-reset: p;
}

.pillars li {
  counter-increment: p;
}

section .pillars li:hover {
  transform: translateY(-6px);
  border-color: var(--ln);
  border-top-color: var(--fg);
  box-shadow: 0 22px 40px -26px rgba(39, 55, 124, .5);
}

.alt .pillars li:hover {
  box-shadow: 0 22px 40px -26px rgba(0, 0, 0, .55);
}

summary {
  padding: 24px 44px 24px 0;
  font-size: 1.05rem;
}

summary::after {
  top: 17px;
}

#faq .bar {
  display: grid;
  grid-template-columns: 1fr 1.7fr;
  gap: 0 72px;
  align-items: start;
  grid-template-rows: auto auto 1fr;
}

#faq .eyebrow,
#faq h2 {
  grid-column: 1;
}

#faq .faq {
  grid-column: 2;
  grid-row: 1 / span 3;
  margin-top: 0;
  max-width: none;
}

@media (max-width:860px) {
  #faq .bar {
    display: block;
  }

  #faq .faq {
    margin-top: 34px;
  }
}

/* ===== v2: expanding process cards, social icons ===== */
.steps {
  display: flex;
  gap: 12px;
  margin-top: 48px;
  height: 440px;
}

.steps::before,
.steps::after {
  display: none;
}

.steps li.sc {
  position: relative;
  overflow: hidden;
  flex: 0 0 84px;
  border-radius: 10px;
  color: #fff;
  cursor: pointer;
  border: 1px solid rgba(255, 255, 255, .08);
  transition: flex .65s cubic-bezier(.6, .1, .2, 1), transform .3s, box-shadow .3s;
  z-index: auto;
  outline-offset: 3px;
}

.steps li.sc.on {
  flex: 1 1 0;
  cursor: default;
}

.steps li.sc:not(.on):hover {
  transform: translateY(-6px);
  box-shadow: 0 22px 40px -22px rgba(15, 22, 56, .6);
}

.sc.c1 {
  background: linear-gradient(180deg, #4f46e5, #27377C);
}

.sc.c2 {
  background: linear-gradient(180deg, #162052, #0b1030);
}

.sc.c3 {
  background: linear-gradient(180deg, #0f4560, #0a2438);
}

.sc.c4 {
  background: linear-gradient(180deg, #6f86ff, #3f51b5);
}

.sc .n {
  position: absolute;
  top: 26px;
  left: 26px;
  width: 32px;
  height: 32px;
  background: none;
  animation: none;
  box-shadow: none;
  color: #fff;
}

.sc .n svg {
  width: 32px;
  height: 32px;
}

.sc .vt {
  position: absolute;
  left: 50%;
  bottom: 28px;
  font: 600 1.05rem var(--hf);
  letter-spacing: -.01em;
  white-space: nowrap;
  writing-mode: vertical-rl;
  transform: translateX(-50%) rotate(180deg);
  transition: opacity .3s;
}

.sc.on .vt {
  opacity: 0;
}

.sc .cd {
  position: absolute;
  inset: 0;
  width: 100%;
  min-width: 500px;
  height: auto;
  margin: 0;
  padding: 84px 32px 30px;
  display: flex;
  flex-direction: column;
  background: none;
  border: 0;
  box-shadow: none;
  transform: none;
  opacity: 0;
  pointer-events: none;
  transition: opacity .25s;
}

.sc.on .cd {
  opacity: 1;
  pointer-events: auto;
  transition: opacity .5s .3s;
}

.steps li.sc:hover .cd {
  transform: none;
  box-shadow: none;
  border: 0;
}

.sc .cd strong {
  font: 700 1.15rem var(--hf);
  color: #fff;
  margin: 0;
}

.sc .cd small {
  display: block;
  color: rgba(255, 255, 255, .7);
  font-size: .85rem;
  font-weight: 500;
  margin-top: 4px;
}

.sc .cd p {
  margin-top: auto;
  color: #fff;
  font: 500 clamp(1.3rem, 2.3vw, 1.9rem)/1.3 var(--hf);
  letter-spacing: -.02em;
  max-width: 19em;
}

.sc .rl {
  margin-top: 26px;
  font-size: .88rem;
  color: rgba(255, 255, 255, .8);
  text-decoration: underline;
  text-underline-offset: 3px;
  align-self: flex-start;
}

.sc .rl:hover {
  color: #fff;
}

.soc {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}

.soc a {
  display: grid;
  place-items: center;
  width: 42px;
  height: 42px;
  color: var(--b);
  text-decoration: none;
  border: 2px solid var(--b);
  transition: background .2s, color .2s, transform .2s;
}

.soc a svg {
  width: 19px;
  height: 19px;
}

.soc a:hover {
  background: var(--b);
  color: #fff;
  transform: translateY(-3px);
  text-decoration: none;
}

.soc-p {
  margin-top: 24px;
}

.fcol {
  display: flex;
  flex-direction: column;
  align-items: flex-end;
}

.soc-f {
  margin-top: 14px;
  justify-content: flex-end;
  max-width: 182px;
}

.soc-f a {
  width: 38px;
  height: 38px;
  border-width: 1.5px;
}

.soc-f a svg {
  width: 17px;
  height: 17px;
}

.fc a.x,
.fc .soc a {
  line-height: 1;
}

.fc .soc a:hover {
  text-decoration: none;
  color: #fff;
}

@media (max-width:860px) {
  .steps {
    flex-direction: column;
    height: auto;
    gap: 10px;
  }

  .steps li.sc {
    flex: none;
    height: 84px;
    transition: height .55s cubic-bezier(.6, .1, .2, 1), transform .3s;
  }

  .steps li.sc.on {
    flex: none;
    height: 292px;
  }

  .sc .n {
    top: 26px;
  }

  .sc .vt {
    writing-mode: horizontal-tb;
    transform: translateY(0);
    left: 76px;
    bottom: auto;
    top: 28px;
  }

  .sc .cd {
    min-width: 0;
    padding: 26px 24px 24px;
  }

  .sc .cd strong {
    margin-left: 52px;
    line-height: 32px;
  }

  .sc .cd small {
    margin-left: 52px;
    margin-top: 0;
  }

  .sc .cd p {
    margin-top: auto;
    font-size: 1.18rem;
    max-width: none;
  }

  .fcol {
    align-items: flex-start;
  }

  .soc-f {
    justify-content: flex-start;
  }
}

/* ===== v3: solution card entrance ===== */
.pillars.sol li {
  position: relative;
  border-top: 0;
  background: #fff;
  transition: transform .4s cubic-bezier(.2, .7, .2, 1), box-shadow .4s ease, background-color .4s ease, border-color .4s ease;
}

.pillars.sol li::after {
  content: "";
  position: absolute;
  left: -1px;
  right: -1px;
  top: 0;
  height: 4px;
  background: var(--b);
  transform-origin: left center;
}

.pillars.sol li::before {
  transition: transform .4s cubic-bezier(.2, .7, .2, 1);
}

.pillars.sol li:hover {
  transform: translateY(-6px);
  background: #f7f8fd;
  border-color: rgba(39, 55, 124, .28);
  box-shadow: 0 18px 34px -24px rgba(39, 55, 124, .38);
}

.pillars.sol li:hover::before {
  transform: translateX(8px);
}

.js .pillars.sol li:not(.in) {
  opacity: 0;
}

.js .pillars.sol li:not(.in)::after {
  transform: scaleX(0);
}

.js .pillars.sol li.in {
  animation: solIn .95s cubic-bezier(.2, .7, .2, 1) backwards;
  animation-delay: calc(var(--k, 0) * 120ms);
}

.js .pillars.sol li.in::after {
  animation: solBar 1s cubic-bezier(.65, 0, .2, 1) backwards;
  animation-delay: calc(var(--k, 0) * 120ms + 250ms);
}

@keyframes solIn {
  from {
    opacity: 0;
    transform: translateY(38px)
  }
}

@keyframes solBar {
  from {
    transform: scaleX(0)
  }
}

/* ===== v4: CTA band burst ===== */
.band {
  padding: 150px 0;
}

.band .burst {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  pointer-events: none;
  z-index: 0;
}

.band h2 {
  text-shadow: 0 0 30px rgba(255, 255, 255, .95), 0 0 12px rgba(255, 255, 255, .9);
}

@media (max-width:860px) {
  .band {
    padding: 110px 0;
  }
}

/* ===== v5: liquid glass navbar, dropdown, mobile drawer ===== */
.top,
.top.solid {
  background: none;
  box-shadow: none;
  -webkit-backdrop-filter: none;
  backdrop-filter: none;
}

.top::before,
.top::after {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -1;
  pointer-events: none;
}

.top::before {
  background: linear-gradient(180deg, rgba(255, 255, 255, .55), rgba(255, 255, 255, .28));
  -webkit-backdrop-filter: blur(14px) saturate(170%);
  backdrop-filter: blur(14px) saturate(170%);
  box-shadow: 0 1px 0 rgba(39, 55, 124, .12), 0 10px 30px -14px rgba(39, 55, 124, .25), inset 0 1px 0 rgba(255, 255, 255, .9);
}

.top::after {
  background: rgba(255, 255, 255, .28);
  opacity: 0;
  transition: opacity .3s;
}

.top.solid::after,
.top.menu::after {
  opacity: 1;
}

.dd {
  position: relative;
  display: flex;
  align-items: center;
}

nav .dd>a.nl {
  padding-right: 2px;
}

.dd-t {
  display: grid;
  place-items: center;
  width: 24px;
  height: 32px;
  margin-right: 4px;
  border: 0;
  background: none;
  color: var(--b);
  cursor: pointer;
  position: relative;
  z-index: 1;
}

.dd-t svg {
  width: 14px;
  height: 14px;
  transition: transform .3s cubic-bezier(.2, .8, .2, 1);
}

.dd-menu a {
  display: grid;
  gap: 2px;
  text-decoration: none;
  color: var(--b);
}

.dd-menu a strong {
  font: 700 .95rem var(--hf);
  letter-spacing: -.01em;
}

.dd-menu a small {
  font: 400 .8rem/1.4 Inter, sans-serif;
  color: var(--mu);
}

.nav-foot,
.scrim {
  display: none;
}

@media (min-width:861px) {
  .dd-menu {
    position: absolute;
    top: calc(100% + 12px);
    left: -10px;
    min-width: 300px;
    padding: 8px;
    background: linear-gradient(180deg, rgba(255, 255, 255, .8), rgba(255, 255, 255, .62));
    -webkit-backdrop-filter: blur(18px) saturate(170%);
    backdrop-filter: blur(18px) saturate(170%);
    border: 1px solid rgba(255, 255, 255, .75);
    box-shadow: 0 0 0 1px rgba(39, 55, 124, .08), 0 26px 50px -22px rgba(39, 55, 124, .45), inset 0 1px 0 rgba(255, 255, 255, .95);
    opacity: 0;
    visibility: hidden;
    transform: translateY(8px);
    transition: opacity .25s, transform .3s cubic-bezier(.2, .8, .2, 1), visibility 0s .3s;
    z-index: 5;
  }

  .dd-menu::before {
    content: "";
    position: absolute;
    left: 0;
    right: 0;
    top: -14px;
    height: 14px;
  }

  .dd:hover .dd-menu,
  .dd:has(:focus-visible) .dd-menu,
  .dd.open .dd-menu {
    opacity: 1;
    visibility: visible;
    transform: none;
    transition-delay: 0s;
  }

  .dd.shut .dd-menu {
    opacity: 0;
    visibility: hidden;
    pointer-events: none;
  }

  .dd:hover .dd-t svg,
  .dd:has(:focus-visible) .dd-t svg,
  .dd.open .dd-t svg {
    transform: rotate(180deg);
  }

  nav .dd-menu a {
    padding: 12px 14px;
    font-size: inherit;
    transition: background .2s, transform .2s;
  }

  nav .dd-menu a:hover,
  nav .dd-menu a:focus-visible {
    background: rgba(39, 55, 124, .08);
    transform: translateX(4px);
  }
}

@media (max-width:860px) {
  html.nolock {
    overflow: hidden;
  }

  .top.menu .bar {
    background: none;
  }

  .burger {
    position: relative;
    z-index: 3;
  }

  .burger i,
  .burger i::before,
  .burger i::after {
    transition: transform .3s, top .3s, background .2s;
  }

  .burger[aria-expanded="true"] i {
    background: transparent;
  }

  .burger[aria-expanded="true"] i::before {
    top: 0;
    transform: rotate(45deg);
  }

  .burger[aria-expanded="true"] i::after {
    top: 0;
    transform: rotate(-45deg);
  }

  .scrim {
    display: block;
    position: fixed;
    inset: 0;
    z-index: 95;
    background: rgba(15, 22, 56, .38);
    -webkit-backdrop-filter: blur(3px);
    backdrop-filter: blur(3px);
    opacity: 0;
    visibility: hidden;
    transition: opacity .35s, visibility 0s .35s;
  }

  .scrim.on {
    opacity: 1;
    visibility: visible;
    transition-delay: 0s;
  }

  nav {
    display: flex;
    position: fixed;
    top: 68px;
    right: 0;
    left: auto;
    width: min(88vw, 380px);
    height: calc(100vh - 68px);
    height: calc(100dvh - 68px);
    flex-direction: column;
    align-items: stretch;
    gap: 0;
    padding: 14px 24px 28px;
    overflow-y: auto;
    overscroll-behavior: contain;
    background: linear-gradient(180deg, rgba(255, 255, 255, .9), rgba(255, 255, 255, .8));
    -webkit-backdrop-filter: blur(22px) saturate(170%);
    backdrop-filter: blur(22px) saturate(170%);
    border: 0;
    border-left: 1px solid rgba(255, 255, 255, .75);
    border-top: 1px solid rgba(39, 55, 124, .1);
    border-radius: 0;
    box-shadow: -24px 0 60px -26px rgba(39, 55, 124, .5);
    transform: translateX(104%);
    visibility: hidden;
    transition: transform .45s cubic-bezier(.2, .8, .2, 1), visibility 0s .45s;
    z-index: 2;
  }

  nav.open {
    transform: none;
    visibility: visible;
    transition-delay: 0s;
  }

  nav>*:not(.ind) {
    opacity: 0;
    transform: translateX(22px);
    transition: opacity .35s, transform .45s cubic-bezier(.2, .8, .2, 1);
  }

  nav.open>*:not(.ind) {
    opacity: 1;
    transform: none;
  }

  nav.open>:nth-child(2) {
    transition-delay: .10s;
  }

  nav.open>:nth-child(3) {
    transition-delay: .14s;
  }

  nav.open>:nth-child(4) {
    transition-delay: .18s;
  }

  nav.open>:nth-child(5) {
    transition-delay: .22s;
  }

  nav.open>:nth-child(6) {
    transition-delay: .26s;
  }

  nav.open>:nth-child(7) {
    transition-delay: .30s;
  }

  nav.open>:nth-child(8) {
    transition-delay: .34s;
  }

  nav.open>:nth-child(9) {
    transition-delay: .38s;
  }

  nav>a,
  nav .dd>a.nl {
    font: 600 1.15rem var(--hf);
    letter-spacing: -.02em;
    padding: 15px 0;
  }

  nav>a {
    border-bottom: 1px solid var(--ln);
  }

  nav .dd {
    display: grid;
    grid-template-columns: 1fr 48px;
    border-bottom: 1px solid var(--ln);
  }

  nav .dd>a.nl {
    border-bottom: 0;
  }

  .dd-t {
    width: 48px;
    height: 100%;
    margin: 0;
  }

  .dd-t svg {
    width: 18px;
    height: 18px;
  }

  .dd.open .dd-t svg {
    transform: rotate(180deg);
  }

  .dd-menu {
    grid-column: 1 / -1;
    max-height: 0;
    overflow: hidden;
    opacity: 0;
    visibility: hidden;
    transition: max-height .4s ease, opacity .3s, visibility 0s .4s;
  }

  .dd.open .dd-menu {
    max-height: 360px;
    opacity: 1;
    visibility: visible;
    padding-bottom: 12px;
    transition-delay: 0s;
  }

  nav .dd-menu a {
    padding: 10px 0 10px 16px;
    margin-left: 2px;
    border-bottom: 0;
    border-left: 2px solid var(--ln);
    font-size: inherit;
  }

  nav .dd-menu a:active {
    background: rgba(39, 55, 124, .08);
  }

  nav a.cta {
    margin: 22px 0 0;
    padding: 15px 18px;
    background: var(--b);
    color: #fff;
    border: 2px solid var(--b);
    font: 600 1rem Inter, sans-serif;
    letter-spacing: 0;
    text-align: center;
  }

  .nav-foot {
    display: grid;
    gap: 2px;
    margin-top: auto;
    padding-top: 26px;
    font-size: .9rem;
  }

  nav .nav-foot a {
    padding: 4px 0;
    border: 0;
    font: 500 .92rem Inter, sans-serif;
    letter-spacing: 0;
    color: var(--mu);
  }
}

/* ===== v6: process cards motion ===== */
.sc .rb {
  opacity: 1;
}

.js .steps li.sc {
  animation: up .9s cubic-bezier(.2, .8, .2, 1) backwards;
  animation-delay: calc(var(--k, 0) * 120ms);
  animation-play-state: paused;
}

.js .steps.in li.sc {
  animation-play-state: running;
}

.steps li.sc:nth-child(2) {
  --k: 1;
}

.steps li.sc:nth-child(3) {
  --k: 2;
}

.steps li.sc:nth-child(4) {
  --k: 3;
}

.js .steps.in .sc.on .cd>* {
  animation: up .8s cubic-bezier(.2, .8, .2, 1) backwards;
}

.js .steps.in .sc.on .cd>:nth-child(1) {
  animation-delay: .32s;
}

.js .steps.in .sc.on .cd>:nth-child(2) {
  animation-delay: .4s;
}

.js .steps.in .sc.on .cd>:nth-child(3) {
  animation-delay: .48s;
}

.js .steps.in .sc.on .cd>:nth-child(4) {
  animation-delay: .56s;
}

/* ===== v7: sticky header with drawer scroll lock ===== */
body {
  overflow-x: clip;
}

@media (max-width:860px) {
  .scrim {
    touch-action: none;
  }
}

.dd.open .dd-menu {
  max-height: 720px;
}

/* ===== footer services row ===== */
.fsv {
  display: flex;
  flex-wrap: wrap;
  gap: 6px 22px;
  margin-top: 30px;
  padding-top: 22px;
  border-top: 1px solid var(--ln);
}

.fsv span {
  font-weight: 700;
  color: var(--b);
}

.fsv a {
  color: var(--b);
  text-decoration: none;
}

.fsv a:hover {
  text-decoration: underline;
}

/* =====================================================================
   LANDING-PAGE ADDITIONS
   Only things the homepage has no equivalent for. They use the homepage
   tokens (--fg, --mu, --ln, --b, --hf) so they follow the same palette.
   ===================================================================== */

/* breadcrumb inside the hero */
.crumbs ol {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
  font-size: .9rem;
  color: var(--mu);
  margin-bottom: 26px;
}

.crumbs li+li::before {
  content: "/";
  margin-right: 6px;
  color: var(--ln);
}

/* the homepage's global "nav a" rule (header links) must not reach the breadcrumb */
.crumbs a {
  padding: 0;
  font-size: inherit;
  font-weight: inherit;
  color: inherit;
  text-underline-offset: 3px;
}

/* landing headlines and lead copy are longer than the homepage's, so the
   hero is allowed to grow instead of clipping, and the lead is a step smaller */
.hero {
  max-height: none;
}

.hero .big {
  font-size: clamp(1.15rem, 2vw, 1.5rem);
  line-height: 1.4;
  letter-spacing: -.02em;
  max-width: 34em;
}

.hero {
  border-bottom: 1px solid var(--ln);
}

/* the breadcrumb is an extra child in the hero's staggered entrance */
.hero .in>.crumbs {
  --d: 0s;
}

.hero .in>h1 {
  --d: .15s;
}

.hero .in>.big {
  --d: .3s;
}

.hero .in>.btns {
  --d: .45s;
}

/* text blocks: paragraphs and check lists */
.prose {
  max-width: 68ch;
  margin-top: 8px;
}

.prose p {
  color: var(--mu);
  font-size: 1.05rem;
  margin-bottom: 16px;
}

.checks {
  margin: 6px 0 20px;
}

.checks li {
  position: relative;
  padding: 0 0 12px 30px;
  color: var(--mu);
  font-size: 1.05rem;
}

.checks li::before {
  content: "";
  position: absolute;
  left: 3px;
  top: .62em;
  width: 11px;
  height: 6px;
  border-left: 2px solid var(--fg);
  border-bottom: 2px solid var(--fg);
  transform: rotate(-45deg);
}

.prose a,
.pillars p a,
.sub a {
  color: inherit;
  font-weight: 600;
  text-underline-offset: 3px;
}

.pillars h3 a {
  color: inherit;
  text-decoration: none;
}

.pillars h3 a:hover {
  text-decoration: underline;
  text-underline-offset: 4px;
}

/* current page in the Solutions dropdown */
.dd-menu a[aria-current=page] strong {
  text-decoration: underline;
  text-underline-offset: 3px;
}

/* process steps: the number sits where the homepage cards show an icon */
.sc .n {
  font: 700 1.3rem/32px var(--hf);
  justify-content: center;
}

/* contact form */
.hp {
  position: absolute;
  left: -999px;
}

#cs {
  margin-top: 14px;
  min-height: 1.5em;
}

/* without JavaScript the navigation stays usable (the homepage hides it) */
@media (max-width: 860px) {
  html:not(.hasjs) .burger {
    display: none;
  }

  html:not(.hasjs) .top .bar {
    height: auto;
    flex-wrap: wrap;
    padding-top: 10px;
    padding-bottom: 10px;
  }

  html:not(.hasjs) nav {
    position: static;
    transform: none;
    visibility: visible;
    width: auto;
    height: auto;
    flex-direction: row;
    flex-wrap: wrap;
    padding: 0;
    background: none;
    border: 0;
    box-shadow: none;
    -webkit-backdrop-filter: none;
    backdrop-filter: none;
  }

  html:not(.hasjs) nav>*:not(.ind) {
    opacity: 1;
    transform: none;
  }

  html:not(.hasjs) nav>a,
  html:not(.hasjs) nav .dd>a.nl {
    font-size: 1rem;
    padding: 8px 12px;
    border: 0;
  }

  html:not(.hasjs) nav .dd {
    display: flex;
    border-bottom: 0;
  }

  html:not(.hasjs) nav a.cta {
    margin: 0 0 0 8px;
    padding: 8px 18px;
  }

  html:not(.hasjs) .dd-t,
  html:not(.hasjs) .dd-menu,
  html:not(.hasjs) .nav-foot {
    display: none;
  }
}