/* ============ Tokens ============ */
:root {
  --brand: #1F8FD4;
  --brand-deep: #0B5A8A;
  --accent: #1F8FD4;
  --accent-deep: #0B5A8A;
  --surface: #F4F5F6;
  --surface-2: #ECEEF0;
  --foot-bg: #E7EAED;
  --ink: #0A0F14;
  --ink-soft: #4A5562;
  --line: rgba(10, 15, 20, 0.10);
  --shadow-sm: 0 1px 2px rgba(10, 15, 20, 0.04), 0 2px 6px rgba(10, 15, 20, 0.04);
  --shadow-md: 0 8px 24px rgba(10, 15, 20, 0.08), 0 2px 6px rgba(10, 15, 20, 0.05);
  --shadow-lg: 0 24px 60px rgba(10, 15, 20, 0.14), 0 4px 12px rgba(10, 15, 20, 0.06);
  --radius: 20px;
  --r-pill: 999px;
  --font-sans: "Plus Jakarta Sans", "Inter", system-ui, -apple-system, "Segoe UI", sans-serif;
}

* {
  box-sizing: border-box;
}

html,
body {
  margin: 0;
  padding: 0;
}

body {
  font-family: var(--font-sans);
  background: var(--surface);
  color: var(--ink);
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}

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

button {
  font-family: inherit;
}

.page {
  position: relative;
  overflow-x: hidden;
  background:
    radial-gradient(1100px 700px at 50% -10%, rgba(31, 143, 212, 0.30), transparent 60%),
    radial-gradient(900px 600px at 100% 30%, rgba(10, 15, 20, 0.06), transparent 60%),
    linear-gradient(to bottom, #ffffff 0%, #E7EAED 100%);
}

.page::before {
  content: "";
  position: absolute;
  inset: 0;
  background-image: radial-gradient(circle at 1px 1px, rgba(31, 143, 212, 0.13) 1px, transparent 0);
  background-size: 28px 28px;
  mask-image: radial-gradient(ellipse 100% 85% at 50% 30%, black 55%, transparent 90%);
  pointer-events: none;
  z-index: 0;
}

/* ============ Decorative background paws ============ */
.paws {
  position: absolute;
  inset: 0;
  pointer-events: none;
  z-index: 0;
  overflow: hidden;
}

.paws>svg {
  position: absolute;
  color: var(--brand);
  opacity: 0.10;
}

.paws>svg:nth-child(1) {
  top: 6%;
  left: -2%;
  transform: rotate(-22deg);
}

.paws>svg:nth-child(2) {
  top: 22%;
  right: -3%;
  transform: rotate(18deg);
}

.paws>svg:nth-child(3) {
  top: 42%;
  left: 6%;
  transform: rotate(6deg);
}

.paws>svg:nth-child(4) {
  top: 58%;
  right: 2%;
  transform: rotate(-14deg);
}

.paws>svg:nth-child(5) {
  top: 74%;
  left: -1%;
  transform: rotate(28deg);
}

.paws>svg:nth-child(6) {
  top: 86%;
  right: 8%;
  transform: rotate(-8deg);
}

.paws>svg:nth-child(7) {
  top: 94%;
  left: 40%;
  transform: rotate(12deg);
}

/* ============ Nav ============ */
.nav {
  position: sticky;
  top: 0;
  z-index: 50;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 16px 48px;
  background: color-mix(in oklab, var(--surface), white 40%);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  border-bottom: 1px solid var(--line);
}

.nav__brand {
  display: flex;
  align-items: center;
  gap: 10px;
}

/* Logo: crop the ~25% empty canvas around the drawing */
.nav__mark-wrap {
  width: 40px;
  height: 40px;
  overflow: hidden;
  flex-shrink: 0;
  border-radius: 10px;
}

.nav__mark {
  /* Scale up to eat the whitespace: drawing ~75% wide, centered slightly top-left */
  width: 145%;
  height: 145%;
  margin: -12% 0 0 -8%;
  object-fit: contain;
  display: block;
}

.nav__word {
  font-size: 17px;
  letter-spacing: -0.01em;
  color: var(--ink);
}

.nav__word strong {
  color: var(--brand);
  font-weight: 800;
}

.nav__links {
  display: flex;
  gap: 32px;
}

.nav__links a {
  font-size: 15px;
  font-weight: 500;
  color: var(--ink-soft);
  transition: color .18s;
  position: relative;
}

.nav__links a.is-active {
  color: var(--brand);
  font-weight: 700;
}

.nav__links a:hover {
  color: var(--brand);
}

.nav__links a::after {
  content: "";
  position: absolute;
  left: 50%;
  bottom: -7px;
  height: 2px;
  width: 0;
  background: var(--brand);
  transition: width .2s, left .2s;
  border-radius: 2px;
}

.nav__links a.is-active::after {
  width: 18px;
  left: calc(50% - 9px);
}

.nav__links a:hover::after {
  width: 18px;
  left: calc(50% - 9px);
}

.nav__cta {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 10px 16px;
  border-radius: var(--r-pill);
  border: 1.5px solid var(--brand);
  color: var(--brand);
  background: white;
  font-weight: 600;
  font-size: 14px;
  transition: all .18s;
}

.nav__cta:hover {
  background: var(--brand);
  color: white;
}

.nav__right {
  display: flex;
  align-items: center;
  gap: 8px;
}

.nav__burger {
  display: none;
  background: none;
  border: none;
  cursor: pointer;
  padding: 6px;
  color: var(--ink);
  border-radius: 8px;
  transition: background .15s;
}
.nav__burger:hover { background: var(--line); }

/* ============ Mobile menu ============ */
.mmenu {
  position: fixed;
  inset: 0;
  z-index: 100;
  background: rgba(10, 15, 20, 0.4);
  backdrop-filter: blur(4px);
  -webkit-backdrop-filter: blur(4px);
  animation: mmenu-fade-in .18s ease;
}
@keyframes mmenu-fade-in {
  from { opacity: 0; }
  to   { opacity: 1; }
}
.mmenu__panel {
  position: absolute;
  top: 0; left: 0; right: 0;
  background: white;
  border-radius: 0 0 20px 20px;
  padding: 20px 24px 28px;
  box-shadow: var(--shadow-lg);
  animation: mmenu-slide-in .22s ease;
  display: flex;
  flex-direction: column;
  gap: 8px;
}
@keyframes mmenu-slide-in {
  from { transform: translateY(-100%); }
  to   { transform: translateY(0); }
}
.mmenu__close {
  align-self: flex-end;
  background: none;
  border: none;
  cursor: pointer;
  padding: 4px;
  color: var(--ink);
  border-radius: 8px;
  transition: background .15s;
}
.mmenu__close:hover { background: var(--line); }
.mmenu__links {
  display: flex;
  flex-direction: column;
  gap: 4px;
  margin: 8px 0;
}
.mmenu__links a {
  font-size: 20px;
  font-weight: 600;
  color: var(--ink);
  padding: 10px 4px;
  border-bottom: 1px solid var(--line);
  transition: color .15s;
}
.mmenu__links a:hover { color: var(--brand); }
.mmenu__cta {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  margin-top: 8px;
  padding: 14px 20px;
  border-radius: var(--r-pill);
  background: var(--brand);
  color: white;
  font-weight: 700;
  font-size: 16px;
  text-align: center;
  justify-content: center;
  transition: background .18s;
}
.mmenu__cta:hover { background: var(--brand-deep); }

/* ============ Hero ============ */
.hero {
  position: relative;
  z-index: 1;
  padding: 12px 24px 32px;
  text-align: center;
  display: flex;
  flex-direction: column;
  align-items: center;
}

.logo-stage {
  position: relative;
  width: 220px;
  height: 220px;
  display: grid;
  place-items: center;
  margin-bottom: 12px;
}

.logo-stage--gif {
  width: 580px;
  height: 580px;
  margin-bottom: -145px;
  clip-path: inset(0 0 25% 0);
}

.logo-halo {
  position: absolute;
  inset: 0;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(31, 143, 212, 0.18), transparent 65%);
  animation: pulse 4s ease-in-out infinite;
}

.logo-halo--2 {
  inset: 30px;
  background: radial-gradient(circle, rgba(31, 143, 212, 0.22), transparent 70%);
  animation-delay: 1.2s;
}

@keyframes pulse {

  0%,
  100% {
    transform: scale(1);
    opacity: 0.9;
  }

  50% {
    transform: scale(1.08);
    opacity: 0.5;
  }
}

.logo-spin {
  position: relative;
  width: 150px;
  height: 150px;
  perspective: 800px;
  animation: float 5s ease-in-out infinite;
}

.logo-stage--gif .logo-spin {
  width: 540px;
  height: 540px;
}

@keyframes float {

  0%,
  100% {
    transform: translateY(0);
  }

  50% {
    transform: translateY(-10px);
  }
}

.logo-img {
  width: 150px;
  height: 150px;
  border-radius: 18px;
  box-shadow: 0 24px 50px rgba(15, 67, 110, 0.22), 0 6px 14px rgba(15, 67, 110, 0.12);
  transform-style: preserve-3d;
  display: block;
  background: white;
}

.logo-spin.is-on .logo-img {
  animation: spin3d 7s linear infinite;
}

.logo-img--gif {
  background: transparent;
  border-radius: 0;
  box-shadow: none;
  width: 540px;
  height: 540px;
}

@keyframes spin3d {
  0% {
    transform: rotateY(0deg) rotateX(2deg);
  }

  50% {
    transform: rotateY(180deg) rotateX(-2deg);
  }

  100% {
    transform: rotateY(360deg) rotateX(2deg);
  }
}

.logo-shadow {
  position: absolute;
  bottom: 4px;
  width: 130px;
  height: 16px;
  border-radius: 50%;
  background: radial-gradient(ellipse, rgba(10, 15, 20, 0.22), transparent 70%);
  filter: blur(6px);
  animation: shadow 5s ease-in-out infinite;
}

@keyframes shadow {

  0%,
  100% {
    transform: scaleX(1);
    opacity: 0.7;
  }

  50% {
    transform: scaleX(0.78);
    opacity: 0.45;
  }
}

/* Brand wordmark */
.hero__logo-wrap {
  position: relative;
  display: inline-flex;
  justify-content: center;
}

.hero__brand {
  font-size: clamp(36px, 11vw, 108px);
  font-weight: 800;
  letter-spacing: -0.035em;
  line-height: 1;
  margin: 14px 0 12px;
  white-space: nowrap;
}

.hero__brand--overlay {
  position: absolute;
  top: 60%;
  left: 50%;
  transform: translateX(-50%);
  margin: 0;
  z-index: 10;
  text-shadow:
    0 2px 24px rgba(244, 245, 246, 0.9),
    0 0 60px rgba(244, 245, 246, 0.6);
}

.hero__brand--blue {
  color: var(--brand);
}

.hero__brand--ink {
  color: var(--ink);
}

/* Plain black tagline */
.hero__tag {
  color: var(--ink);
  font-size: clamp(18px, 1.8vw, 24px);
  font-weight: 500;
  margin: 0 0 40px;
  letter-spacing: 0;
}

/* Headline (kept as the user loved it) */
.hero__headline {
  font-size: clamp(36px, 5.2vw, 64px);
  font-weight: 800;
  letter-spacing: -0.025em;
  line-height: 1.05;
  margin: 4px auto 0;
  max-width: 880px;
  color: var(--ink);
  text-wrap: balance;
}

.hero__headline::after {
  content: "";
  display: block;
  width: 56px;
  height: 4px;
  background: var(--brand);
  border-radius: 999px;
  margin: 22px auto 0;
}

.hero__scroll {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 6px;
  margin-top: 36px;
  color: var(--ink-soft);
  font-size: 12px;
  letter-spacing: 0.18em;
  text-transform: uppercase;
}

.hero__scroll-line {
  width: 1px;
  height: 36px;
  background: linear-gradient(to bottom, var(--ink-soft), transparent);
  animation: drop 1.6s ease-in-out infinite;
}

@keyframes drop {
  0% {
    transform: scaleY(0);
    transform-origin: top;
  }

  60% {
    transform: scaleY(1);
    transform-origin: top;
  }

  100% {
    transform: scaleY(1);
    transform-origin: bottom;
    opacity: 0;
  }
}

/* ============ Benefit cards (playing-card shaped, centered) ============ */
.benefits {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 28px;
  max-width: 1180px;
  margin: 64px auto 0;
  padding: 0 32px;
  align-items: stretch;
}

.bcard {
  background: white;
  border: 1px solid var(--line);
  border-radius: 24px;
  padding: 48px 28px 40px;
  box-shadow: var(--shadow-md);
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  gap: 22px;
  min-height: 480px;
  animation: floatcard 6s ease-in-out infinite;
  position: relative;
  overflow: hidden;
}

@keyframes floatcard {

  0%,
  100% {
    transform: translateY(0);
  }

  50% {
    transform: translateY(-10px);
  }
}

.bcard--featured {
  padding: 56px 32px 48px;
  background: linear-gradient(180deg, white, #F1F7FB);
  border: 1px solid color-mix(in oklab, var(--brand) 22%, transparent);
  box-shadow: 0 30px 60px rgba(31, 143, 212, 0.18), var(--shadow-md);
}

.bcard__icon {
  color: var(--brand);
  display: grid;
  place-items: center;
  margin-top: 14px;
}

.stars-row {
  color: #F5B400;
  display: flex;
  gap: 6px;
}

.bcard__title {
  font-size: 24px;
  font-weight: 800;
  margin: 0;
  letter-spacing: -0.015em;
  color: var(--ink);
  text-wrap: balance;
}

.bcard--featured .bcard__title {
  font-size: 28px;
}

.bcard__body {
  margin: 0;
  color: var(--ink-soft);
  font-size: 15px;
  line-height: 1.6;
  text-wrap: pretty;
  max-width: 38ch;
}

/* ============ CTA ============ */
.cta-row {
  position: relative;
  z-index: 1;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 10px;
  margin: 64px auto 0;
  padding: 0 32px;
}

.cta-row__hint {
  color: var(--ink-soft);
  font-size: 13px;
  margin: 0;
}

.cta {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 16px 28px;
  border-radius: var(--r-pill);
  border: 2px solid var(--brand);
  background: white;
  color: var(--brand-deep);
  font-weight: 700;
  font-size: 16px;
  cursor: pointer;
  transition: all .2s;
  box-shadow: 0 2px 0 rgba(31, 143, 212, 0.18);
}

.cta:hover {
  background: var(--brand);
  color: white;
  transform: translateY(-2px);
  box-shadow: 0 14px 28px rgba(31, 143, 212, 0.32);
}

.cta--solid {
  background: var(--brand);
  color: white;
  border-color: var(--brand);
}

.cta--solid:hover {
  background: var(--brand-deep);
  border-color: var(--brand-deep);
}

.cta--lg {
  padding: 20px 36px;
  font-size: 18px;
}

/* ============ Stats ============ */
.stats {
  position: relative;
  z-index: 1;
  margin: 80px auto 0;
  max-width: 1100px;
  padding: 28px 32px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  background: white;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  box-shadow: var(--shadow-sm);
}

.stat {
  display: flex;
  flex-direction: column;
  gap: 4px;
  min-width: 0;
}

.stat__num {
  font-size: clamp(28px, 3.2vw, 40px);
  font-weight: 800;
  letter-spacing: -0.03em;
  color: var(--ink);
  line-height: 1;
}

.stat__num span {
  font-size: 0.55em;
  color: var(--ink-soft);
  font-weight: 600;
}

.stat__lbl {
  font-size: 13px;
  color: var(--ink-soft);
  letter-spacing: 0.02em;
}

.stat__sep {
  width: 1px;
  align-self: stretch;
  background: var(--line);
}

/* ============ Audience (square cards) ============ */
.audience {
  position: relative;
  z-index: 1;
  max-width: 1280px;
  margin: 120px auto 0;
  padding: 0 32px;
}

.audience__head {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 12px;
  text-align: center;
  margin-bottom: 48px;
}

.audience__eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 13px;
  font-weight: 700;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--brand);
  background: rgba(31, 143, 212, 0.08);
  padding: 8px 14px;
  border-radius: var(--r-pill);
}

.audience__title {
  font-size: clamp(28px, 3.5vw, 44px);
  font-weight: 800;
  letter-spacing: -0.02em;
  max-width: 720px;
  margin: 0;
  color: var(--ink);
  text-wrap: balance;
}

.audience__grid {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 32px 32px;
  max-width: 780px;
  margin: 0 auto;
}

.aslot {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 12px;
  width: 112px;
}

.acard {
  position: relative;
  width: 84px;
  height: 84px;
  background: white;
  border: 1px solid var(--line);
  border-radius: 16px;
  box-shadow: var(--shadow-sm);
  display: grid;
  place-items: center;
  padding: 0;
  cursor: pointer;
  font-family: inherit;
  color: inherit;
  transition: transform .22s, box-shadow .22s, border-color .22s;
}

.acard:hover,
.acard:focus-visible {
  transform: translateY(-3px);
  border-color: color-mix(in oklab, var(--brand) 55%, transparent);
  box-shadow: var(--shadow-md);
  outline: none;
}

.acard__info {
  position: absolute;
  top: 5px;
  right: 5px;
  width: 18px;
  height: 18px;
  border-radius: 50%;
  background: color-mix(in oklab, var(--brand) 16%, white);
  color: var(--brand);
  display: grid;
  place-items: center;
  font-size: 11px;
  font-weight: 700;
  font-family: Georgia, "Times New Roman", serif;
  font-style: italic;
  line-height: 1;
  padding-bottom: 1px;
  transition: background .2s, color .2s, transform .2s;
}

.acard:hover .acard__info {
  background: var(--brand);
  color: white;
  transform: scale(1.1);
}

.acard__icon {
  color: var(--brand);
  display: grid;
  place-items: center;
}

.acard__icon svg {
  width: 36px;
  height: 36px;
}

.acard__label {
  font-size: 14px;
  font-weight: 500;
  text-align: center;
  letter-spacing: 0;
  color: var(--ink);
  text-wrap: balance;
  line-height: 1.3;
}

/* ============ Modal (flip + blurred backdrop) ============ */
.amodal {
  position: fixed;
  inset: 0;
  z-index: 1000;
  display: grid;
  place-items: center;
  background: rgba(10, 15, 20, 0.30);
  -webkit-backdrop-filter: blur(12px);
  backdrop-filter: blur(12px);
  animation: amodal-bg-in 0.4s ease;
}

.amodal.is-closing {
  animation: amodal-bg-out 0.55s ease forwards;
}

@keyframes amodal-bg-in {
  from {
    background: rgba(10, 15, 20, 0);
    -webkit-backdrop-filter: blur(0);
    backdrop-filter: blur(0);
  }

  to {
    background: rgba(10, 15, 20, 0.30);
    -webkit-backdrop-filter: blur(12px);
    backdrop-filter: blur(12px);
  }
}

@keyframes amodal-bg-out {
  from {
    background: rgba(10, 15, 20, 0.30);
    -webkit-backdrop-filter: blur(12px);
    backdrop-filter: blur(12px);
  }

  to {
    background: rgba(10, 15, 20, 0);
    -webkit-backdrop-filter: blur(0);
    backdrop-filter: blur(0);
  }
}

.amodal__card {
  position: relative;
  width: min(460px, 92vw);
  height: min(460px, 92vw);
  animation: amodal-flip 1.1s cubic-bezier(0.65, 0, 0.35, 1) forwards;
}

.amodal__card.is-closing {
  animation: amodal-flip-back 0.65s cubic-bezier(0.65, 0, 0.35, 1) forwards;
}

/* Squish-flip without 3D rotateY — prevents any mirroring of content. */
@keyframes amodal-flip {
  0% {
    transform: scale(0.35) scaleX(1);
    opacity: 0;
  }

  25% {
    transform: scale(1) scaleX(1);
    opacity: 1;
  }

  50% {
    transform: scale(1) scaleX(0.01);
    opacity: 1;
  }

  100% {
    transform: scale(1) scaleX(1);
    opacity: 1;
  }
}

@keyframes amodal-flip-back {
  0% {
    transform: scale(1) scaleX(1);
    opacity: 1;
  }

  50% {
    transform: scale(1) scaleX(0.01);
    opacity: 1;
  }

  100% {
    transform: scale(0.35) scaleX(1);
    opacity: 0;
  }
}

.amodal__face {
  position: absolute;
  inset: 0;
  border-radius: 28px;
  padding: 40px 36px;
  display: flex;
  flex-direction: column;
  box-shadow: 0 30px 60px rgba(10, 15, 20, 0.45);
}

.amodal__face.is-hidden {
  visibility: hidden;
}

.amodal__face--front {
  background: white;
  border: 1px solid var(--line);
  align-items: center;
  justify-content: center;
  gap: 22px;
  text-align: center;
}

.amodal__icon-lg {
  color: var(--brand);
  transform: scale(1.6);
  transform-origin: center;
}

.amodal__label {
  font-size: 22px;
  font-weight: 800;
  margin-top: 22px;
  color: var(--ink);
}

.amodal__hint {
  font-size: 11px;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--ink-soft);
  opacity: 0.6;
}

.amodal__face--back {
  background: linear-gradient(140deg, var(--brand) 0%, var(--brand-deep) 100%);
  color: white;
  justify-content: space-between;
}

.amodal__back-eyebrow {
  font-size: 12px;
  text-transform: uppercase;
  letter-spacing: 0.14em;
  font-weight: 700;
  opacity: 0.85;
}

.amodal__back-title {
  font-size: 26px;
  font-weight: 800;
  letter-spacing: -0.02em;
  margin: 6px 0 0;
  line-height: 1.1;
  text-wrap: balance;
}

.amodal__blurb {
  font-size: 16px;
  line-height: 1.55;
  font-weight: 500;
  margin: 14px 0 0;
  text-wrap: pretty;
  flex: 1;
}

.amodal__blurb-list {
  font-size: 15px;
  line-height: 1.6;
  font-weight: 500;
  margin: 14px 0 0;
  padding-left: 18px;
  flex: 1;
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.amodal__cta {
  align-self: flex-start;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 12px 20px;
  border: 1.5px solid white;
  border-radius: 999px;
  background: transparent;
  color: white;
  font-weight: 700;
  font-size: 14px;
  cursor: pointer;
  transition: background .18s, color .18s, transform .18s;
}

.amodal__cta:hover {
  background: white;
  color: var(--brand-deep);
  transform: translateX(2px);
}

/* ============ Final CTA strip ============ */
.cta-row--final {
  margin: 100px auto 0;
  padding: 56px 24px;
  text-align: center;
  background: linear-gradient(180deg, color-mix(in oklab, var(--brand) 4%, white), white);
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
}

.cta-row__big {
  font-size: clamp(24px, 3vw, 36px);
  font-weight: 800;
  letter-spacing: -0.02em;
  margin: 0 0 24px;
  color: var(--ink);
  text-wrap: balance;
}

/* ============ Footer (gray) ============ */
.foot {
  position: relative;
  z-index: 1;
  padding: 56px 48px 32px;
  display: grid;
  grid-template-columns: 1fr 2fr;
  gap: 32px;
  align-items: start;
  border-top: 1px solid var(--line);
  background: var(--foot-bg);
  color: var(--ink);
}

.foot__brand {
  display: flex;
  align-items: center;
  gap: 12px;
  font-size: 18px;
}

.foot__brand img {
  width: 36px;
  height: 36px;
  border-radius: 8px;
}

.foot__brand strong {
  color: var(--brand);
  font-weight: 800;
}

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

.foot__cols h4 {
  margin: 0 0 12px;
  font-size: 12px;
  letter-spacing: 0.10em;
  text-transform: uppercase;
  color: var(--ink-soft);
}

.foot__cols a {
  display: block;
  font-size: 14px;
  color: var(--ink);
  padding: 4px 0;
  transition: color .18s;
}

.foot__cols a:hover {
  color: var(--brand);
}

.foot__legal {
  grid-column: 1 / -1;
  border-top: 1px solid var(--line);
  padding-top: 16px;
  color: var(--ink-soft);
  font-size: 13px;
}

/* ============ Scroll reveal ============ */
[data-reveal] {
  opacity: 0;
  transform: translateY(28px);
  transition:
    opacity 0.6s ease calc(var(--reveal-delay, 0s)),
    transform 0.6s ease calc(var(--reveal-delay, 0s));
}
[data-reveal].is-visible {
  opacity: 1;
  transform: translateY(0);
}

/* ============ Platform grid — 3+3 layout on notebook ============ */
@media (min-width: 980px) {
  .audience__grid--platforms {
    display: grid;
    grid-template-columns: repeat(3, 112px);
    gap: 32px;
    max-width: none;
  }
}

/* ============ Responsive ============ */
@media (max-width: 980px) {
  .nav {
    padding: 14px 20px;
  }

  .nav__links {
    gap: 16px;
    font-size: 13px;
  }

  .benefits {
    padding: 0 16px;
    gap: 16px;
  }

  .bcard {
    padding: 28px 16px 24px;
    min-height: 360px;
  }

  .bcard--featured {
    padding: 32px 18px 28px;
  }

  .bcard__title {
    font-size: 18px;
  }

  .bcard--featured .bcard__title {
    font-size: 20px;
  }

  .bcard__body {
    font-size: 13px;
  }

  .stats {
    flex-wrap: wrap;
  }

  .stat__sep {
    display: none;
  }

  .foot {
    grid-template-columns: 1fr;
    padding: 32px 20px;
  }

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

@media (max-width: 600px) {
  .nav__links {
    display: none;
  }

  .nav__burger {
    display: flex;
  }

  .nav__cta-label {
    display: none;
  }

  .nav__cta {
    padding: 10px 12px;
  }

  .benefits {
    grid-template-columns: 1fr;
    max-width: 360px;
    margin-left: auto;
    margin-right: auto;
  }

  .bcard {
    min-height: 320px;
  }

  /* Card taller-than-wide on mobile so back content (eyebrow + title + blurb + CTA) fits */
  .amodal__card {
    width: min(360px, 88vw);
    height: 460px;
    min-height: 400px;
    max-height: 88vh;
  }

  .amodal__face {
    padding: 26px 22px;
    gap: 10px;
    overflow: hidden;
  }

  .amodal__face--back {
    padding-bottom: 22px;
  }

  .amodal__back-eyebrow {
    font-size: 11px;
    letter-spacing: 0.10em;
  }

  .amodal__back-title {
    font-size: 20px;
  }

  .amodal__blurb {
    font-size: 13px;
    line-height: 1.5;
    margin-top: 10px;
  }

  .amodal__cta {
    padding: 10px 16px;
    font-size: 13px;
  }

  .amodal__icon-lg {
    transform: scale(1.3);
  }

  /* Footer vertical, with Contato moved BELOW Social */
  .foot__cols {
    grid-template-columns: 1fr;
  }

  .foot__cols>div:nth-child(2) {
    order: 3;
  }

  /* Contato → last */
  .foot__cols>div:nth-child(3) {
    order: 2;
  }

  /* Social  → middle */
}

/* ============ Inner pages (Sobre, Serviços, Resultados) ============ */
.inner-page {
  position: relative;
  z-index: 1;
  max-width: 1180px;
  margin: 0 auto;
  padding: 80px 32px 40px;
}

.inner-page--alt {
  background: linear-gradient(180deg, color-mix(in oklab, var(--brand) 4%, white), white);
  max-width: 100%;
  padding-left: 0;
  padding-right: 0;
}

.inner-page--alt > * {
  max-width: 1180px;
  margin-left: auto;
  margin-right: auto;
  padding-left: 32px;
  padding-right: 32px;
}

/* ---- Page hero (inner pages) ---- */
.page-hero {
  text-align: center;
  margin-bottom: 56px;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 16px;
}

.page-hero__title {
  font-size: clamp(32px, 4.5vw, 56px);
  font-weight: 800;
  letter-spacing: -0.025em;
  margin: 0;
  color: var(--ink);
  text-wrap: balance;
}

.page-hero__title::after {
  content: "";
  display: block;
  width: 56px;
  height: 4px;
  background: var(--brand);
  border-radius: 999px;
  margin: 18px auto 0;
}

.page-hero__subtitle {
  font-size: clamp(15px, 1.6vw, 18px);
  color: var(--ink-soft);
  margin: 0;
  max-width: 600px;
  line-height: 1.6;
  text-wrap: balance;
}

/* ============ About · Team cards ============ */
.team-grid {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 32px;
  margin: 0 auto 64px;
}

.team-card {
  flex: 0 1 360px;
  background: white;
  border: 1px solid var(--line);
  border-radius: 24px;
  box-shadow: var(--shadow-md);
  overflow: hidden;
  display: flex;
  flex-direction: column;
  transition: transform .22s, box-shadow .22s;
}

.team-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-lg);
}

.team-card__photo {
  width: 100%;
  aspect-ratio: 4/3;
  overflow: hidden;
  background: linear-gradient(135deg, color-mix(in oklab, var(--brand) 18%, white), color-mix(in oklab, var(--brand) 6%, white));
}

.team-card__photo img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: top;
}

.team-card__photo-placeholder {
  width: 100%;
  height: 100%;
  display: grid;
  place-items: center;
  color: var(--brand);
  opacity: 0.5;
}

.team-card__body {
  padding: 28px 24px 32px;
  display: flex;
  flex-direction: column;
  gap: 12px;
  flex: 1;
}

.team-card__name {
  font-size: 20px;
  font-weight: 800;
  letter-spacing: -0.015em;
  margin: 0;
  line-height: 1.2;
}

.team-card__name--blue { color: var(--brand); }
.team-card__name--ink  { color: var(--ink); }
.team-card__name--full { font-size: 0.75em; font-weight: 700; color: var(--ink-soft); display: block; margin-top: 4px; }

.team-card__titles {
  margin: 0;
  padding: 0;
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 4px;
}

.team-card__titles li {
  font-size: 13px;
  font-weight: 700;
  color: var(--brand-deep);
  letter-spacing: 0.01em;
}

.team-card__bio {
  margin: 0;
  font-size: 14px;
  color: var(--ink-soft);
  line-height: 1.65;
  flex: 1;
}

/* ============ Services · Platform cards ============ */
.acard--platform {
  border-color: color-mix(in oklab, var(--pcolor, var(--brand)) 30%, transparent);
}

.acard--platform:hover,
.acard--platform:focus-visible {
  border-color: var(--pcolor, var(--brand));
  box-shadow: 0 8px 24px color-mix(in oklab, var(--pcolor, var(--brand)) 24%, transparent);
}

/* Label na cor da rede social */
.aslot--platform .acard__label {
  color: var(--pcolor, var(--brand));
  font-weight: 600;
}

/* ============ Services · Step carousel ============ */
.steps-carousel {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 24px;
  padding: 8px 0 40px;
}

.steps-track {
  display: flex;
  gap: 20px;
  width: 100%;
  justify-content: center;
  flex-wrap: wrap;
}

.step-card {
  background: white;
  border: 1px solid var(--line);
  border-radius: 20px;
  padding: 32px 24px;
  box-shadow: var(--shadow-sm);
  width: 200px;
  min-width: 160px;
  flex: 0 0 auto;
  display: flex;
  flex-direction: column;
  gap: 12px;
  transition: transform .22s, box-shadow .22s, border-color .22s;
  opacity: 0.55;
  transform: scale(0.96);
}

.step-card--active {
  opacity: 1;
  transform: scale(1);
  border-color: color-mix(in oklab, var(--brand) 45%, transparent);
  box-shadow: var(--shadow-md);
}

.step-card__num {
  font-size: 13px;
  font-weight: 800;
  letter-spacing: 0.08em;
  color: var(--brand);
  background: rgba(31, 143, 212, 0.1);
  display: inline-flex;
  padding: 4px 10px;
  border-radius: var(--r-pill);
  align-self: flex-start;
}

.step-card__title {
  font-size: 17px;
  font-weight: 800;
  margin: 0;
  color: var(--ink);
}

.step-card__body {
  font-size: 13px;
  color: var(--ink-soft);
  margin: 0;
  line-height: 1.6;
}

.steps-nav {
  display: flex;
  align-items: center;
  gap: 16px;
}

.steps-btn {
  background: white;
  border: 1px solid var(--line);
  border-radius: 50%;
  width: 38px;
  height: 38px;
  display: grid;
  place-items: center;
  cursor: pointer;
  color: var(--ink);
  transition: background .18s, border-color .18s, color .18s;
  font-family: inherit;
}

.steps-btn:hover {
  background: var(--brand);
  border-color: var(--brand);
  color: white;
}

.steps-dots {
  display: flex;
  gap: 8px;
}

.steps-dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  border: none;
  background: var(--line);
  cursor: pointer;
  transition: background .18s, transform .18s;
  padding: 0;
}

.steps-dot--active {
  background: var(--brand);
  transform: scale(1.25);
}

/* ============ Services · Mosaic ============ */
.mosaic {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  grid-template-rows: repeat(4, 160px);
  grid-template-areas:
    "a a d e h"
    "a a d f h"
    "b c g g i"
    "j j j k k";
  gap: 10px;
  margin: 0;
  border-radius: 20px;
  overflow: hidden;
  /* animate row-height changes when a video tile expands */
  transition: grid-template-rows 0.38s cubic-bezier(0.4, 0, 0.2, 1);
}

/* rows 1–2 grow tall enough for a portrait video inside tile "a" (2 cols wide) */
.mosaic-wrap--video-open .mosaic {
  grid-template-rows: 310px 310px 160px 160px;
}

.mosaic-item {
  position: relative;
  display: flex;
  align-items: flex-end;
  padding: 16px;
  border-radius: 12px;
  overflow: hidden;
  cursor: default;
  transition: filter .22s;
}

.mosaic-item:hover { filter: brightness(1.08); }

.mosaic-item::before {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(to top, rgba(0,0,0,0.45) 0%, transparent 60%);
  z-index: 1;
}

/* iframe that fills the expanded video tile */
.mosaic-item__iframe {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  border: none;
  z-index: 0;
  display: block;
}

/* frozen video frame at very low opacity — below the gradient overlay */
.mosaic-item__thumb {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  opacity: 0.045;
  pointer-events: none;
  z-index: 0;
}

.mosaic-item__label {
  position: relative;
  z-index: 2;
  font-size: 12px;
  font-weight: 700;
  color: white;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  text-shadow: 0 1px 4px rgba(0,0,0,0.4);
}

/* ============ Results · Cards ============ */
.results-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 28px;
  margin-bottom: 64px;
}

.result-card {
  background: white;
  border: 1px solid var(--line);
  border-radius: 24px;
  box-shadow: var(--shadow-md);
  min-height: 320px;
  display: flex;
  flex-direction: column;
  overflow: hidden;
}

.result-card__placeholder {
  flex: 1;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 8px;
  color: var(--ink-soft);
  font-size: 15px;
}

.result-card__placeholder span {
  font-size: 22px;
  font-weight: 700;
  color: var(--brand);
}

/* ============ Responsive – new pages ============ */
@media (max-width: 980px) {
  .mosaic {
    grid-template-columns: repeat(3, 1fr);
    grid-template-rows: repeat(6, 130px);
    grid-template-areas:
      "a a d"
      "a a d"
      "b c e"
      "f g g"
      "h i j"
      "k k k";
  }

  /* tablet: tile "a" spans rows 1–2, grow them for portrait video */
  .mosaic-wrap--video-open .mosaic {
    grid-template-rows: 270px 270px 130px 130px 130px 130px;
  }

  .results-grid {
    grid-template-columns: 1fr;
    max-width: 480px;
    margin-left: auto;
    margin-right: auto;
  }

  .steps-track {
    flex-wrap: nowrap;
    overflow-x: auto;
    justify-content: flex-start;
    padding-bottom: 8px;
    scrollbar-width: none;
  }
  .steps-track::-webkit-scrollbar { display: none; }
}

@media (max-width: 600px) {
  .inner-page { padding: 48px 16px 32px; }

  .mosaic {
    grid-template-columns: repeat(2, 1fr);
    grid-template-rows: repeat(7, 110px);
    grid-template-areas:
      "a a"
      "b c"
      "d e"
      "f g"
      "h i"
      "j j"
      "k k";
  }

  /* mobile: tile "a" spans only row 1 (full width), expand that row */
  .mosaic-wrap--video-open .mosaic {
    grid-template-rows: 240px 110px 110px 110px 110px 110px 110px;
  }

  .step-card { width: 160px; padding: 22px 16px; }
}

/* ============ "Info" badge — pulse para chamar atenção ============ */
@keyframes badge-pulse {
  0%, 100% { box-shadow: 0 0 0 0 color-mix(in oklab, var(--brand) 50%, transparent); }
  60%       { box-shadow: 0 0 0 5px transparent; }
}

.acard__info {
  animation: badge-pulse 2.4s ease-in-out infinite;
}

.acard:hover .acard__info,
.acard:focus-visible .acard__info {
  animation: none;
}

/* ============ Interact hint text ============ */
.interact-hint {
  font-size: 13px;
  color: var(--ink-soft);
  text-align: center;
  margin: 0 0 8px;
  letter-spacing: 0.01em;
  opacity: 0.75;
}

/* ============ Mosaic clickable ============ */
.mosaic-item {
  cursor: pointer;
  user-select: none;
}

.mosaic-item__plus {
  position: absolute;
  top: 10px;
  right: 12px;
  font-size: 18px;
  font-weight: 300;
  color: rgba(255,255,255,0.7);
  line-height: 1;
  transition: opacity .18s, transform .18s;
  z-index: 2;
}

.mosaic-item:hover .mosaic-item__plus {
  opacity: 1;
  transform: scale(1.2);
  color: white;
}

/* ============ Platforms heading ============ */
.platforms-heading {
  font-size: 28px;
  font-weight: 800;
  letter-spacing: -0.02em;
  color: var(--ink);
  text-align: center;
  margin: 48px 0 4px;
}

/* ============ Mosaic wrap + in-place expansion ============ */
.mosaic-wrap {
  position: relative;
  margin: 0 auto 64px;
  z-index: 100; /* floats above the page-scrim when video opens */
}

/* full-page blue tint that appears behind the mosaic when video is open */
.page-scrim {
  position: fixed;
  inset: 0;
  z-index: 50;
  background: rgba(31, 143, 212, 0.13);
  cursor: default;
  animation: scrim-in 0.35s ease forwards;
}

@keyframes scrim-in {
  from { opacity: 0; }
  to   { opacity: 1; }
}

/* mexd = mosaic expanded */
.mexd {
  position: absolute;
  inset: 0;
  z-index: 10;
  background: white;
  border-radius: 20px;
  box-shadow: 0 24px 64px rgba(10,15,20,0.22), 0 4px 16px rgba(10,15,20,0.08);
  overflow: hidden;
  display: flex;
  flex-direction: column;
  opacity: 0;
  transform: scale(0.84);
  transition: opacity 0.28s ease,
              transform 0.32s cubic-bezier(0.34, 1.56, 0.64, 1);
  pointer-events: none;
}

.mexd--on {
  opacity: 1;
  transform: scale(1);
  pointer-events: auto;
}

.mexd__bar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 14px 20px;
  flex-shrink: 0;
}

.mexd__title {
  font-size: 13px;
  font-weight: 700;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: white;
}

.mexd__close {
  background: rgba(255,255,255,0.18);
  border: none;
  border-radius: 50%;
  width: 28px;
  height: 28px;
  cursor: pointer;
  color: white;
  font-size: 13px;
  display: grid;
  place-items: center;
  transition: background 0.15s;
  font-family: inherit;
  flex-shrink: 0;
}
.mexd__close:hover { background: rgba(255,255,255,0.32); }

.mexd__body {
  flex: 1;
  display: flex;
  flex-direction: column;
  gap: 16px;
  padding: 24px 28px 28px;
  overflow-y: auto;
}

.mexd__text {
  display: flex;
  flex-direction: column;
  gap: 18px;
}

.mexd__desc {
  margin: 0;
  font-size: 16px;
  color: var(--ink-soft);
  line-height: 1.7;
}

/* ── Inline video controls (shared between tile and overlay contexts) ── */

/* transparent layer above iframe — blocks pause / speed controls */
.mexd__block {
  position: absolute;
  inset: 0;
  z-index: 3;
  cursor: default;
}

/* text panel at BOTTOM, gradient fades upward */
.mexd__overlay {
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  z-index: 4;
  background: linear-gradient(
    to top,
    rgba(0,0,0,0.92) 0%,
    rgba(0,0,0,0.52) 55%,
    transparent 100%
  );
  padding: 72px 20px 20px;
}

.mexd__overlay-title {
  margin: 0 0 8px;
  font-size: 16px;
  font-weight: 700;
  color: #fff;
  letter-spacing: -0.01em;
}

.mexd__overlay-desc {
  margin: 0 0 14px;
  font-size: 13px;
  color: rgba(255,255,255,0.85);
  line-height: 1.65;
}

/* floating close button — above blocker and overlay */
.mexd__close--float {
  position: absolute;
  top: 12px;
  right: 12px;
  z-index: 5;
  background: rgba(0,0,0,0.42);
  border: none;
}

.mexd__close--float:hover {
  background: rgba(0,0,0,0.65);
}

/* ============ Video carousel ============ */
.vid-carousel {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 24px;
  width: 100%;
  max-width: 720px;
  margin: 0 auto;
}

.vid-slide {
  width: 100%;
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.vid-slide__video {
  width: 100%;
  aspect-ratio: 16 / 9;
  border-radius: var(--radius);
  overflow: hidden;
}

.vid-placeholder {
  width: 100%;
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
  background: linear-gradient(135deg, var(--brand) 0%, var(--brand-deep) 100%);
}

.vid-slide__title {
  font-size: 22px;
  font-weight: 700;
  line-height: 1.3;
  color: var(--ink);
  margin: 0;
  text-align: center;
}

.vid-slide__desc {
  font-size: 16px;
  line-height: 1.55;
  color: var(--ink-soft);
  margin: 0;
  text-align: center;
}

.vid-nav {
  display: flex;
  align-items: center;
  gap: 16px;
}

.vid-btn {
  width: 40px;
  height: 40px;
  border-radius: 50%;
  border: 1.5px solid var(--line);
  background: white;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: background 0.18s;
}

.vid-btn:hover { background: var(--surface-2); }

.vid-dots {
  display: flex;
  gap: 8px;
}

.vid-dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  border: none;
  background: var(--line);
  cursor: pointer;
  padding: 0;
  transition: background 0.18s;
}

.vid-dot--active {
  background: var(--brand);
}

/* ============ Carousel — snap scroll on mobile ============ */
.steps-track {
  scroll-snap-type: x mandatory;
  -webkit-overflow-scrolling: touch;
}

.step-card {
  scroll-snap-align: center;
}
}

/* ============ 404 ============ */
.nf {
  display: grid;
  justify-items: center;
  align-content: center;
  min-height: 60vh;
  padding: 100px 24px 80px;
  text-align: center;
  position: relative;
  z-index: 1;
}

.nf + .foot {
  margin-top: 80px;
}

.nf__content {
  width: 100%;
  max-width: 560px;
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  align-items: center;
}

.nf__paw {
  color: var(--brand);
  opacity: 0.3;
  margin-bottom: 12px;
}

.nf__code {
  font-size: clamp(96px, 20vw, 160px);
  font-weight: 800;
  letter-spacing: -0.04em;
  color: var(--brand);
  line-height: 0.9;
  margin: 0 0 16px;
  opacity: 0.15;
}

.nf__title {
  font-size: clamp(22px, 4vw, 30px);
  font-weight: 700;
  letter-spacing: -0.02em;
  color: var(--ink);
  margin: 0 0 12px;
}

.nf__body {
  font-size: 16px;
  color: var(--ink-soft);
  line-height: 1.65;
  margin: 0 0 36px;
}

.nf__actions {
  display: flex;
  gap: 12px;
  flex-wrap: wrap;
  justify-content: center;
  width: 100%;
}

@media (max-width: 480px) {
  .nf__actions {
    flex-direction: column;
  }
}