:root {
  --navy: #1f3b6e;
  --sky: #1ea7e8;
  --ink: #12213f;
  --mute: #51607f;
  --line: #d8e1f2;
  --bg: #f6f9fe;
  --bg2: #eaf1fc;
  --head: "Bricolage Grotesque", "Segoe UI", system-ui, sans-serif;
  --body: "Inter", "Segoe UI", system-ui, sans-serif;
}
* {
  box-sizing: border-box;
}
html {
  scroll-behavior: smooth;
}
body {
  margin: 0;
  background: #fff;
  color: var(--ink);
  font: 400 17px/1.65 var(--body);
}
h1,
h2,
h3 {
  font-family: var(--head);
  line-height: 1.1;
  margin: 0;
  letter-spacing: -0.02em;
  color: var(--navy);
}
a {
  color: inherit;
  text-decoration: none;
}
:focus-visible {
  outline: 3px solid var(--sky);
  outline-offset: 3px;
}
.wrap {
  width: 100%;
  max-width: 1600px;
  margin: 0 auto;
  padding: 0 clamp(24px, 5vw, 80px);
}
header {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 20;
  background: #ffffffe6;
  backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--line);
}
header .wrap {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 68px;
}
.logo {
  display: flex;
  align-items: center;
  gap: 10px;
  font: 800 22px var(--head);
  color: var(--navy);
}
.logo img {
  height: 36px;
}
nav {
  display: flex;
  gap: 26px;
  align-items: center;
  font-weight: 500;
  font-size: 15px;
  color: var(--mute);
}
nav a:hover,
nav a.on {
  color: var(--navy);
}
nav a.on {
  border-bottom: 2px solid var(--sky);
}
.btn {
  display: inline-block;
  padding: 14px 26px;
  border-radius: 12px;
  font: 600 16px var(--body);
  background: var(--navy);
  color: #fff;
  border: 1px solid var(--navy);
  cursor: pointer;
  transition:
    transform 0.2s,
    background 0.2s;
}
.btn:hover {
  transform: translateY(-2px);
  background: var(--sky);
  border-color: var(--sky);
}
.btn.ghost {
  background: transparent;
  color: var(--navy);
  border-color: var(--line);
}
.btn.ghost:hover {
  color: #fff;
}
.menu {
  display: none;
  background: none;
  border: 1px solid var(--line);
  border-radius: 10px;
  padding: 8px 12px;
  font: 600 15px var(--body);
  color: var(--navy);
}
#hero {
  position: relative;
  min-height: 100vh;
  display: flex;
  align-items: center;
  overflow: hidden;
  background: radial-gradient(800px 480px at 78% 45%, var(--bg2), #fff 70%);
}
#stage {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
}
.hero-copy {
  position: relative;
  z-index: 2;
  max-width: 680px;
  padding: 120px 0 80px;
}
.hero-copy h1 {
  font-size: clamp(40px, 5.6vw, 88px);
  font-weight: 800;
}
.hero-copy p {
  color: var(--mute);
  font-size: 19px;
  margin: 24px 0 34px;
  max-width: 500px;
}
.row {
  display: flex;
  gap: 12px;
  flex-wrap: wrap;
}
.pagehead {
  padding: 150px 0 70px;
  background: linear-gradient(180deg, var(--bg2), #fff);
}
.pagehead h1 {
  font-size: clamp(36px, 5vw, 72px);
  font-weight: 800;
  max-width: 980px;
}
.pagehead p {
  color: var(--mute);
  max-width: 760px;
  margin: 18px 0 0;
  font-size: 19px;
}
section {
  padding: 96px 0;
}
.alt {
  background: var(--bg);
  border-block: 1px solid var(--line);
}
h2 {
  font-size: clamp(28px, 4vw, 52px);
  font-weight: 800;
  max-width: 820px;
}
.lead {
  color: var(--mute);
  max-width: 720px;
  margin: 16px 0 0;
}
.stats {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  background: var(--navy);
  color: #fff;
}
.stats div {
  padding: 34px 24px;
  border-right: 1px solid #ffffff2b;
}
.stats div:last-child {
  border: 0;
}
.stats b {
  display: block;
  font: 800 42px var(--head);
  color: #7fd0fa;
}
.stats span {
  opacity: 0.85;
  font-size: 15px;
}
.grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 22px;
  margin-top: 48px;
  perspective: 1100px;
}
.g2 {
  grid-template-columns: repeat(2, 1fr);
}
.card {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 20px;
  padding: 32px 28px;
  transform-style: preserve-3d;
  transition:
    transform 0.25s ease-out,
    border-color 0.2s,
    box-shadow 0.2s;
}
.card:hover {
  border-color: var(--sky);
  box-shadow: 0 18px 40px #1f3b6e1f;
}
.card h3 {
  font-size: 23px;
  margin: 16px 0 8px;
  transform: translateZ(28px);
}
.card p {
  margin: 0;
  color: var(--mute);
  transform: translateZ(12px);
}
.ico {
  width: 52px;
  height: 52px;
  border-radius: 14px;
  background: linear-gradient(135deg, var(--sky), var(--navy));
  color: #fff;
  display: grid;
  place-items: center;
  font: 800 21px var(--head);
  transform: translateZ(44px);
}
.split {
  display: grid;
  grid-template-columns: 1fr 1.1fr;
  gap: 60px;
  align-items: start;
}
.list {
  list-style: none;
  margin: 0;
  padding: 0;
  border-top: 1px solid var(--line);
}
.list li {
  padding: 18px 0;
  border-bottom: 1px solid var(--line);
  display: flex;
  justify-content: space-between;
  gap: 20px;
}
.list b {
  font: 700 19px var(--head);
  color: var(--navy);
}
.list span {
  color: var(--mute);
  font-size: 15px;
  text-align: right;
  max-width: 280px;
}
.steps {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  margin-top: 48px;
  counter-reset: s;
}
.steps div {
  padding: 20px 24px 0 0;
  border-top: 3px solid var(--sky);
}
.steps div:nth-child(even) {
  border-color: var(--navy);
}
.steps div::before {
  counter-increment: s;
  content: counter(s);
  font: 800 32px var(--head);
  color: var(--line);
  display: block;
}
.steps h3 {
  font-size: 21px;
  margin-bottom: 6px;
}
.steps p {
  margin: 0;
  color: var(--mute);
  font-size: 15px;
}
.cta {
  background: var(--navy);
  color: #fff;
  text-align: center;
}
.cta h2 {
  color: #fff;
  margin: 0 auto;
}
.cta p {
  color: #cfe0f7;
  margin: 16px auto 30px;
  max-width: 540px;
}
.cta .btn {
  background: var(--sky);
  border-color: var(--sky);
}
form {
  display: grid;
  gap: 14px;
}
label {
  font-weight: 600;
  font-size: 14px;
  display: grid;
  gap: 6px;
}
input,
select,
textarea {
  font: 400 16px var(--body);
  padding: 14px 16px;
  border-radius: 12px;
  border: 1px solid var(--line);
  background: #fff;
  color: var(--ink);
  width: 100%;
}
textarea {
  min-height: 130px;
}
.info p {
  margin: 0 0 14px;
  color: var(--mute);
}
.info b {
  color: var(--navy);
  display: block;
}
.prose {
  max-width: 720px;
}
.prose h2 {
  font-size: 26px;
  margin: 36px 0 8px;
}
.prose p {
  color: var(--mute);
}
footer {
  background: #0f1e3d;
  color: #b7c5e2;
  padding: 56px 0 30px;
  font-size: 15px;
}
footer .cols {
  display: grid;
  grid-template-columns: 1.4fr 1fr 1fr;
  gap: 30px;
}
footer img {
  height: 38px;
  filter: brightness(0) invert(1);
}
footer a {
  display: block;
  margin: 6px 0;
}
footer a:hover {
  color: #fff;
}
footer small {
  display: block;
  margin-top: 34px;
  border-top: 1px solid #ffffff22;
  padding-top: 20px;
}
.rv {
  opacity: 0;
  transform: translateY(22px);
  transition:
    opacity 0.7s,
    transform 0.7s;
}
.rv.on {
  opacity: 1;
  transform: none;
}
@media (max-width: 860px) {
  .menu {
    display: block;
  }
  nav {
    display: none;
    position: absolute;
    top: 68px;
    left: 0;
    right: 0;
    flex-direction: column;
    align-items: flex-start;
    background: #fff;
    padding: 20px 24px;
    border-bottom: 1px solid var(--line);
  }
  nav.open {
    display: flex;
  }
  .grid,
  .g2,
  .split,
  .steps,
  footer .cols {
    grid-template-columns: 1fr;
  }
  .stats {
    grid-template-columns: 1fr 1fr;
  }
  section {
    padding: 70px 0;
  }
  #hero {
    align-items: flex-start;
  }
}
@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }
  .rv {
    opacity: 1;
    transform: none;
    transition: none;
  }
  .card {
    transition: none;
  }
}
i {
  font-style: normal;
}
.prog {
  position: fixed;
  top: 0;
  left: 0;
  height: 3px;
  width: 0;
  background: linear-gradient(90deg, var(--sky), var(--navy));
  z-index: 50;
}
#bg {
  position: fixed;
  inset: 0;
  width: 100%;
  height: 100%;
  z-index: -1;
  pointer-events: none;
}
body {
  animation: pin 0.7s ease-out;
}
@keyframes pin {
  from {
    opacity: 0;
  }
}
.w {
  display: inline-block;
  overflow: hidden;
  vertical-align: bottom;
  padding-bottom: 0.08em;
}
.w > span {
  display: inline-block;
  transform: translateY(110%) rotate(6deg);
  animation: wr 0.9s cubic-bezier(0.2, 0.8, 0.2, 1) forwards;
  animation-delay: calc(var(--i) * 80ms + 200ms);
}
@keyframes wr {
  to {
    transform: none;
  }
}
.card {
  position: relative;
}
.card::before {
  content: "";
  position: absolute;
  inset: 0;
  border-radius: inherit;
  background: radial-gradient(
    280px circle at var(--mx, 50%) var(--my, 50%),
    #1ea7e828,
    transparent 60%
  );
  opacity: 0;
  transition: opacity 0.3s;
  pointer-events: none;
}
.card:hover::before {
  opacity: 1;
}
.btn {
  will-change: transform;
}
.marq {
  overflow: hidden;
  background: #fff;
  border-block: 1px solid var(--line);
  padding: 24px 0;
  white-space: nowrap;
}
.marq div {
  display: inline-flex;
  gap: 56px;
  padding-right: 56px;
  animation: mq 34s linear infinite;
}
.marq:hover div {
  animation-play-state: paused;
}
.marq span {
  font: 700 26px var(--head);
  color: var(--navy);
  opacity: 0.5;
  transition: 0.2s;
}
.marq span:hover {
  opacity: 1;
  color: var(--sky);
}
@keyframes mq {
  to {
    transform: translateX(-50%);
  }
}
.stage3d {
  perspective: 1100px;
  display: grid;
  place-items: center;
  height: 400px;
}
.cube {
  width: 220px;
  height: 220px;
  position: relative;
  transform-style: preserve-3d;
  animation: spin 20s linear infinite;
}
.stage3d:hover .cube {
  animation-play-state: paused;
}
.cube div {
  position: absolute;
  inset: 0;
  border: 1px solid #ffffff80;
  border-radius: 16px;
  display: grid;
  place-content: center;
  text-align: center;
  padding: 16px;
  color: #fff;
  font: 800 24px var(--head);
  background: linear-gradient(135deg, #1f3b6ed9, #1ea7e8d9);
}
.cube small {
  display: block;
  font: 400 14px/1.4 var(--body);
  margin-top: 6px;
  opacity: 0.92;
}
.cube div:nth-child(1) {
  transform: translateZ(110px);
}
.cube div:nth-child(2) {
  transform: rotateY(180deg) translateZ(110px);
}
.cube div:nth-child(3) {
  transform: rotateY(90deg) translateZ(110px);
}
.cube div:nth-child(4) {
  transform: rotateY(-90deg) translateZ(110px);
}
.cube div:nth-child(5) {
  transform: rotateX(90deg) translateZ(110px);
}
.cube div:nth-child(6) {
  transform: rotateX(-90deg) translateZ(110px);
}
@keyframes spin {
  from {
    transform: rotateX(-22deg) rotateY(0);
  }
  to {
    transform: rotateX(-22deg) rotateY(360deg);
  }
}
.pts {
  list-style: none;
  padding: 0;
  margin: 34px 0 0;
  display: grid;
  gap: 16px;
}
.pts li {
  padding-left: 34px;
  position: relative;
  color: var(--mute);
}
.pts li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 8px;
  width: 16px;
  height: 16px;
  border-radius: 5px;
  background: linear-gradient(135deg, var(--sky), var(--navy));
  transform: rotate(45deg);
}
.pts b {
  color: var(--navy);
}
.blog-main {
  min-height: 70vh;
  padding: 120px 0 80px;
}
.blog-index h1,
.blog-article h1 {
  max-width: 900px;
  font-size: clamp(38px, 6vw, 68px);
}
.blog-lead {
  max-width: 760px;
  color: var(--mute);
  font-size: 20px;
}
.blog-eyebrow {
  color: var(--mute);
  font-size: 14px;
  font-weight: 600;
}
.blog-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(min(100%, 300px), 1fr));
  gap: 24px;
  margin-top: 44px;
}
.blog-card {
  padding: 28px;
  border: 1px solid var(--line);
  border-radius: 18px;
  box-shadow: 0 10px 30px #1f3b6e0d;
}
.blog-card h2 {
  font-size: 25px;
}
.blog-card > p:not(.blog-eyebrow),
.blog-article > p,
.blog-article section p,
.blog-article li {
  color: var(--mute);
}
.blog-read {
  color: var(--navy);
  font-weight: 700;
}
.blog-article {
  max-width: 920px;
}
.blog-article h2 {
  margin-top: 40px;
  font-size: 30px;
}
.blog-article h3 {
  margin-top: 26px;
  font-size: 21px;
}
.blog-article p,
.blog-article li {
  font-size: 18px;
}
.blog-article li {
  margin: 10px 0;
}
.blog-cta {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 18px;
  margin-top: 36px;
}
.whatsapp-float {
  position: fixed;
  right: 24px;
  bottom: 24px;
  z-index: 30;
  display: grid;
  width: 60px;
  height: 60px;
  place-items: center;
  border-radius: 50%;
  background: #25d366;
  color: #fff;
  box-shadow: 0 5px 18px #102b2352;
  transition:
    transform 0.2s,
    box-shadow 0.2s;
}
.whatsapp-float:hover {
  transform: translateY(-3px) scale(1.04);
  box-shadow: 0 8px 24px #102b2366;
}
.whatsapp-float svg {
  width: 31px;
  height: 31px;
}
.visually-hidden {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}
.flip {
  display: block;
  color: inherit;
  perspective: 1000px;
  height: 220px;
}
.flip > div {
  position: relative;
  width: 100%;
  height: 100%;
  transform-style: preserve-3d;
  transition: transform 0.8s cubic-bezier(0.2, 0.8, 0.2, 1);
}
.flip:hover > div,
.flip:focus-within > div,
.flip:focus > div {
  transform: rotateY(180deg);
}
.flip b,
.flip p {
  position: absolute;
  inset: 0;
  backface-visibility: hidden;
  -webkit-backface-visibility: hidden;
  border-radius: 20px;
  padding: 28px;
}
.flip b {
  background: #fff;
  border: 1px solid var(--line);
  font: 800 24px var(--head);
  color: var(--navy);
  display: flex;
  align-items: flex-end;
  box-shadow: 0 10px 30px #1f3b6e14;
}
.flip p {
  margin: 0;
  transform: rotateY(180deg);
  background: linear-gradient(135deg, var(--navy), var(--sky));
  color: #fff;
  font-size: 16px;
  display: flex;
  align-items: center;
}
details {
  border-bottom: 1px solid var(--line);
  padding: 18px 0;
}
summary {
  cursor: pointer;
  font: 700 19px var(--head);
  color: var(--navy);
  list-style: none;
  display: flex;
  justify-content: space-between;
  gap: 16px;
}
summary::-webkit-details-marker {
  display: none;
}
summary::after {
  content: "+";
  font-size: 26px;
  line-height: 1;
  transition: transform 0.3s;
}
details[open] summary::after {
  transform: rotate(45deg);
}
details p {
  color: var(--mute);
  margin: 12px 0 0;
  max-width: 720px;
}
@media (max-width: 860px) {
  .stage3d {
    height: 320px;
  }
  .cube {
    transform: scale(0.85);
  }
  .flip {
    height: 190px;
  }
}
@media (prefers-reduced-motion: reduce) {
  .cube,
  .marq div,
  body {
    animation: none;
  }
  .w > span {
    animation: none;
    transform: none;
  }
}
