/* Pendit landing — brand-first, immersive media, motion-led */

:root {
  /* Brand tokens */
  --brand: #003399;
  --brand-deep: #002266;
  --navy: #001433;
  --tint: #eef2fb;
  --ink: #0b1220;
  --muted: #5b6475;
  --line: #d9e2f7;
  --surface: #ffffff;

  /* Scene wash tokens (photos dissolve into these) */
  --wash-hero: #e8f0fb;
  --wash-soft: #f7f8fc;
  --wash-mist: #f3f7fb;
  --wash-warm: #faf7f3;
  --wash-navy: #001433;

  --ease-out: cubic-bezier(0.22, 1, 0.36, 1);
  --ease-soft: cubic-bezier(0.4, 0, 0.2, 1);
  --max: 1200px;
  --gutter: 1.25rem;
  /* Shared shell = previous wider header measure */
  --shell: calc(var(--max) + 2 * var(--gutter));
  --nav-h: 72px;
  /* Same family as the Expo app (@expo-google-fonts/dm-sans) */
  --font-display: "DM Sans", system-ui, sans-serif;
  --font-body: "DM Sans", system-ui, sans-serif;
}

@media (min-width: 900px) {
  :root {
    --gutter: 4rem;
  }
}

@media (min-width: 1200px) {
  :root {
    --gutter: 5.5rem;
    --max: 1120px;
  }
}

*,
*::before,
*::after {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
  height: 100%;
  overflow-x: clip;
}

@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }

  *,
  *::before,
  *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
  }
}

body {
  margin: 0;
  min-height: 100%;
  min-height: 100vh;
  min-height: 100dvh;
  color: var(--ink);
  background: var(--surface);
  font-family: var(--font-body);
  font-size: 17px;
  line-height: 1.55;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
  overflow-x: clip;
}

body.is-nav-open {
  overflow: hidden;
}

img {
  max-width: 100%;
  display: block;
}

a {
  color: inherit;
  text-decoration: none;
}

button {
  font: inherit;
  border: 0;
  background: none;
  cursor: pointer;
}

.wrap {
  width: 100%;
  max-width: var(--shell);
  margin-inline: auto;
  padding-inline: var(--gutter);
  box-sizing: border-box;
}

/* —— Reveal —— */
.reveal {
  opacity: 0;
  transform: translateY(28px);
  transition:
    opacity 0.8s var(--ease-out),
    transform 0.8s var(--ease-out);
}

.reveal.is-in {
  opacity: 1;
  transform: none;
}

.reveal-d1 {
  transition-delay: 0.08s;
}
.reveal-d2 {
  transition-delay: 0.16s;
}
.reveal-d3 {
  transition-delay: 0.24s;
}

/* —— Plain media (no faded edges / masks) —— */
.media-plain {
  margin: 0;
  width: 100%;
  max-width: 100%;
  min-width: 0;
  overflow: hidden;
  border-radius: 20px;
  background: var(--tint);
}

.media-plain img {
  display: block;
  width: 100%;
  height: auto;
  aspect-ratio: 4 / 5;
  object-fit: cover;
  object-position: center;
}

.media-plain--wide img {
  aspect-ratio: 16 / 10;
}

.media-plain--step {
  margin-bottom: 1rem;
}

.media-plain--step img {
  aspect-ratio: 16 / 11;
}

.media-plain--blog {
  margin-bottom: 0.85rem;
}

.media-plain--blog img {
  aspect-ratio: 16 / 10;
}

.media-caption {
  margin-top: 0.55rem;
  font-size: 0.9rem;
  font-weight: 600;
  color: var(--muted);
  text-align: center;
}

/* Hard product UI floats above atmospheric photos (Cherry-style cutouts) */
.product-float {
  position: relative;
  display: flex;
  align-items: flex-end;
  justify-content: center;
  width: 100%;
  max-width: 100%;
  min-width: 0;
}

.product-float--hero {
  min-height: clamp(22rem, 58svh, 34rem);
  justify-content: flex-end;
}

.product-float--cta {
  min-height: clamp(18rem, 42vw, 26rem);
  justify-content: flex-end;
  align-items: center;
}

/* —— Nav —— */
.site-nav {
  position: fixed;
  inset: 0 0 auto;
  z-index: 50;
  height: var(--nav-h);
  display: flex;
  align-items: center;
  transition:
    background 0.35s var(--ease-soft),
    box-shadow 0.35s var(--ease-soft),
    backdrop-filter 0.35s var(--ease-soft);
}

.site-nav.is-scrolled {
  background: rgb(255 255 255 / 0.92);
  backdrop-filter: blur(12px);
  box-shadow: 0 1px 0 var(--line);
}

.site-nav__inner {
  width: 100%;
  max-width: var(--shell);
  margin-inline: auto;
  padding-inline: var(--gutter);
  box-sizing: border-box;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  overflow: visible;
}

.brand-link {
  display: inline-flex;
  align-items: center;
  gap: 0.65rem;
}

.brand-lockup {
  display: block;
  height: 36px;
  width: auto;
  max-width: min(168px, 48vw);
  object-fit: contain;
  object-position: left center;
}

.brand-lockup--nav {
  height: 38px;
}

.brand-lockup--footer {
  height: 40px;
  max-width: 180px;
}

.nav-links {
  display: none;
  align-items: center;
  gap: 1.35rem;
  font-weight: 500;
  font-size: 0.95rem;
  color: var(--ink);
  flex-shrink: 0;
}

.site-nav.is-scrolled .nav-links {
  color: var(--ink);
}

.nav-links a {
  position: relative;
}

.nav-links a::after {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  bottom: -0.35rem;
  height: 2px;
  background: currentColor;
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 0.3s var(--ease-out);
}

.nav-links a:hover::after {
  transform: scaleX(1);
}

.nav-end {
  display: inline-flex;
  align-items: center;
  gap: 0.45rem;
  margin-left: auto;
}

.nav-cta {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 40px;
  padding: 0 1.15rem;
  border-radius: 999px;
  background: var(--brand);
  color: #fff;
  font-weight: 700;
  font-size: 0.88rem;
  white-space: nowrap;
  transition:
    transform 0.25s var(--ease-out),
    background 0.25s var(--ease-soft);
}

.site-nav.is-scrolled .nav-cta {
  background: var(--brand);
  color: #fff;
}

.nav-cta:hover {
  transform: translateY(-1px);
}

.nav-toggle {
  display: inline-flex;
  width: 42px;
  height: 42px;
  align-items: center;
  justify-content: center;
  border-radius: 10px;
  color: var(--ink);
  flex-shrink: 0;
}

.site-nav.is-scrolled .nav-toggle {
  color: var(--ink);
}

.nav-toggle span,
.nav-toggle span::before,
.nav-toggle span::after {
  display: block;
  width: 18px;
  height: 2px;
  background: currentColor;
  border-radius: 2px;
  position: relative;
  transition: transform 0.25s var(--ease-out);
}

.nav-toggle span::before,
.nav-toggle span::after {
  content: "";
  position: absolute;
  left: 0;
}

.nav-toggle span::before {
  top: -6px;
}
.nav-toggle span::after {
  top: 6px;
}

/* Left drawer — full height, 90% width */
.nav-scrim {
  position: fixed;
  inset: 0;
  z-index: 60;
  background: rgb(0 20 51 / 0.45);
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.3s var(--ease-soft);
}

.nav-scrim.is-open {
  opacity: 1;
  pointer-events: auto;
}

.nav-drawer {
  position: fixed;
  inset: 0 auto 0 0;
  z-index: 70;
  width: min(78vw, 280px);
  max-width: 280px;
  height: 100%;
  max-height: 100vh;
  max-height: -webkit-fill-available;
  max-height: 100dvh;
  background: #fff;
  padding: 1.15rem 1.1rem 1.5rem;
  display: flex;
  flex-direction: column;
  gap: 1.25rem;
  transform: translateX(-105%);
  transition: transform 0.35s var(--ease-out);
  box-shadow: 8px 0 32px rgb(0 20 51 / 0.12);
  overflow-y: auto;
  overscroll-behavior: contain;
  -webkit-overflow-scrolling: touch;
}

.nav-drawer.is-open {
  transform: translateX(0);
}

.nav-drawer__top {
  display: flex;
  align-items: center;
  justify-content: flex-start;
  gap: 1rem;
  padding-bottom: 0.5rem;
  border-bottom: 1px solid var(--line);
}

/* Close sits outside the drawer, on the right of the page */
.nav-drawer__close {
  position: fixed;
  top: max(0.85rem, env(safe-area-inset-top, 0px));
  right: max(0.85rem, env(safe-area-inset-right, 0px));
  z-index: 80;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 44px;
  height: 44px;
  border-radius: 999px;
  background: #fff;
  color: var(--ink);
  font-size: 1.55rem;
  line-height: 1;
  box-shadow: 0 8px 24px rgb(0 20 51 / 0.18);
  opacity: 0;
  pointer-events: none;
  transform: scale(0.92);
  transition:
    opacity 0.25s var(--ease-soft),
    transform 0.25s var(--ease-out);
}

.nav-drawer__close.is-open {
  opacity: 1;
  pointer-events: auto;
  transform: none;
}

.nav-drawer__links {
  display: flex;
  flex-direction: column;
  gap: 0.15rem;
  flex: 1;
}

.nav-drawer__links a {
  font-weight: 500;
  font-size: 1.05rem;
  padding: 0.8rem 0.15rem;
  border-bottom: 1px solid rgb(217 226 247 / 0.7);
}

.nav-drawer__cta {
  width: 100%;
}

@media (min-width: 900px) {
  .nav-links {
    display: flex;
  }

  .nav-toggle,
  .nav-drawer,
  .nav-drawer__close,
  .nav-scrim {
    display: none !important;
  }

  .nav-end {
    margin-left: 0;
  }

  .nav-cta {
    min-height: 42px;
    padding: 0 1.15rem;
    font-size: 0.92rem;
  }
}

/* —— Hero —— */
.hero {
  --wash: var(--wash-hero);
  position: relative;
  min-height: 100svh;
  background: var(--wash-hero);
  color: var(--ink);
  padding: calc(var(--nav-h) + 2.5rem) 0 0;
  overflow: hidden;
}

.hero__atmosphere {
  position: absolute;
  inset: 0;
  z-index: 0;
  pointer-events: none;
}

.hero__atmosphere img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: 68% center;
  transform: scale(1.03);
  /* Full photo — wash is painted by the veil, not a mask cutout */
}

.hero__veil {
  position: absolute;
  inset: 0;
  z-index: 1;
  pointer-events: none;
  /* Soft page-color wash on the copy side; photo stays clear on the right */
  background:
    linear-gradient(
      100deg,
      rgb(232 240 251 / 0.97) 0%,
      rgb(232 240 251 / 0.9) 26%,
      rgb(232 240 251 / 0.42) 48%,
      rgb(232 240 251 / 0.08) 68%,
      transparent 82%
    ),
    linear-gradient(
      180deg,
      rgb(232 240 251 / 0.35) 0%,
      transparent 18%,
      transparent 78%,
      var(--wash-soft) 100%
    );
}

.hero__grid {
  position: relative;
  z-index: 2;
  width: 100%;
  max-width: var(--shell);
  margin-inline: auto;
  padding-inline: var(--gutter);
  box-sizing: border-box;
  display: grid;
  gap: 2rem;
  align-items: end;
  min-height: calc(100svh - var(--nav-h) - 2.5rem);
}

.hero__copy {
  max-width: 34rem;
  padding-bottom: 3.5rem;
}

.hero__brand {
  display: block;
  font-family: var(--font-display);
  font-weight: 800;
  font-size: clamp(3.4rem, 10vw, 5.75rem);
  line-height: 0.92;
  letter-spacing: -0.04em;
  margin: 0 0 1.25rem;
}

.hero__lead {
  margin: 0 0 2rem;
  font-size: clamp(1.05rem, 2.2vw, 1.25rem);
  line-height: 1.45;
  color: var(--muted);
  max-width: 30rem;
}

.hero__actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
  align-items: center;
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  min-height: 52px;
  padding: 0 1.5rem;
  border-radius: 999px;
  font-weight: 700;
  font-size: 1rem;
  transition:
    transform 0.25s var(--ease-out),
    background 0.25s var(--ease-soft),
    color 0.25s var(--ease-soft),
    box-shadow 0.25s var(--ease-soft);
}

.btn:hover {
  transform: translateY(-2px);
}

.btn--ghost {
  background: rgb(255 255 255 / 0.72);
  color: var(--brand-deep);
  box-shadow: inset 0 0 0 1.5px rgb(0 51 153 / 0.16);
}

.btn--brand {
  background: var(--brand);
  color: #fff;
  box-shadow: 0 12px 28px rgb(0 51 153 / 0.28);
}

.btn--brand:hover {
  background: var(--brand-deep);
}

.btn--outline {
  background: #fff;
  color: var(--brand);
  box-shadow: inset 0 0 0 1.5px var(--line);
}

.hero__visual {
  position: relative;
  justify-self: end;
  width: min(100%, 380px);
  margin-inline: auto;
  transform: translateY(6%);
  transition: transform 0.45s var(--ease-out);
}

.phone {
  position: relative;
  z-index: 1;
  width: min(100%, 17.5rem);
  aspect-ratio: 9 / 18.5;
  border-radius: 36px;
  background: var(--navy);
  box-shadow: none;
  overflow: visible;
  filter: drop-shadow(0 32px 48px rgb(0 20 51 / 0.32));
  animation: phone-rise 1.1s var(--ease-out) both;
}

@keyframes phone-rise {
  from {
    opacity: 0;
    transform: translateY(40px);
  }
  to {
    opacity: 1;
    transform: none;
  }
}

.phone__bezel {
  position: absolute;
  inset: 10px;
  border-radius: 28px;
  background: #f7f9fc;
  overflow: hidden;
  display: flex;
  flex-direction: column;
}

.phone__status {
  display: flex;
  justify-content: space-between;
  padding: 0.85rem 1rem 0.4rem;
  font-size: 0.68rem;
  font-weight: 700;
  color: var(--ink);
}

.phone__screen {
  padding: 0.4rem 0.9rem 1rem;
  flex: 1;
  display: flex;
  flex-direction: column;
  gap: 0.7rem;
}

.phone__wallet {
  background: var(--brand);
  color: #fff;
  border-radius: 18px;
  padding: 1rem 1rem 0.95rem;
  animation: wallet-pulse 4.5s var(--ease-soft) infinite;
}

@keyframes wallet-pulse {
  0%,
  100% {
    transform: translateY(0);
  }
  50% {
    transform: translateY(-3px);
  }
}

.phone__wallet small {
  display: block;
  opacity: 0.75;
  font-size: 0.68rem;
  font-weight: 600;
  letter-spacing: 0.04em;
  text-transform: uppercase;
}

.phone__wallet strong {
  display: block;
  margin-top: 0.35rem;
  font-family: var(--font-display);
  font-size: 1.55rem;
  letter-spacing: -0.03em;
}

.phone__actions {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 0.4rem;
}

.phone__chip {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 12px;
  padding: 0.55rem 0.2rem;
  text-align: center;
  font-size: 0.58rem;
  font-weight: 700;
  color: var(--brand-deep);
}

.phone__chip span {
  display: block;
  width: 22px;
  height: 22px;
  margin: 0 auto 0.3rem;
  border-radius: 7px;
  background: var(--tint);
}

.phone__list {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 14px;
  padding: 0.55rem 0.7rem;
  display: grid;
  gap: 0.45rem;
}

.phone__row {
  display: flex;
  justify-content: space-between;
  gap: 0.5rem;
  font-size: 0.68rem;
  font-weight: 650;
}

.phone__row span:last-child {
  color: var(--brand);
}

.phone__float {
  position: absolute;
  left: -12%;
  bottom: 18%;
  background: #fff;
  color: var(--ink);
  border-radius: 14px;
  padding: 0.7rem 0.85rem;
  box-shadow: 0 12px 28px rgb(0 20 51 / 0.18);
  font-size: 0.78rem;
  font-weight: 700;
  max-width: 150px;
  animation: float-card 5s var(--ease-soft) infinite;
}

.phone__float b {
  display: block;
  color: var(--brand);
  font-family: var(--font-display);
  font-size: 1rem;
  margin-top: 0.15rem;
}

@keyframes float-card {
  0%,
  100% {
    transform: translateY(0);
  }
  50% {
    transform: translateY(-8px);
  }
}

/* Mobile: drop “Send Safe” toward mid-viewport instead of hugging the nav */
@media (max-width: 899px) {
  .hero__copy {
    padding-top: max(2.5rem, calc(42svh - var(--nav-h)));
    padding-bottom: 2.25rem;
  }
}

@media (min-width: 900px) {
  .hero__grid {
    grid-template-columns: 1.05fr 0.95fr;
    align-items: center;
  }

  .hero__copy {
    padding-bottom: 4.5rem;
  }

  .hero__visual {
    margin-inline: 0;
    width: min(100%, 420px);
    transform: none;
    align-self: end;
    padding-bottom: 0;
  }

  .product-float--hero {
    min-height: calc(100svh - var(--nav-h) - 2rem);
    justify-content: flex-end;
    padding-bottom: 2.5rem;
  }

  .product-float--hero .phone {
    width: min(100%, 19rem);
  }

  .hero__atmosphere img {
    object-position: 72% center;
  }
}

/* —— Sections & immersive scenes —— */
.section {
  padding: clamp(4.5rem, 9vw, 7rem) 0;
}

.scene {
  --wash: var(--wash-soft);
  background: var(--wash);
  padding: clamp(4.5rem, 9vw, 7rem) 0;
  overflow: hidden;
}

.scene--soft {
  --wash: var(--wash-soft);
}

.scene--mist {
  --wash: var(--wash-mist);
}

.scene--warm {
  --wash: var(--wash-warm);
}

.scene--navy {
  --wash: var(--wash-navy);
  background: var(--wash-navy);
  color: #fff;
}

.scene__grid {
  display: grid;
  gap: 2rem;
  align-items: center;
  min-width: 0;
}

.scene__grid > * {
  min-width: 0;
  max-width: 100%;
}

.section#how {
  --wash: var(--surface);
  background: var(--surface);
}

.section--navy {
  background: var(--navy);
  color: #fff;
}

.section__head {
  max-width: 38rem;
  margin-bottom: clamp(2rem, 4vw, 3rem);
}

.eyebrow {
  display: inline-block;
  margin: 0 0 0.75rem;
  font-size: 0.78rem;
  font-weight: 750;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--brand);
}

.section--navy .eyebrow,
.scene--navy .eyebrow {
  color: #9db2ef;
}

h2 {
  margin: 0;
  font-family: var(--font-display);
  font-weight: 780;
  font-size: clamp(2rem, 4.5vw, 3.15rem);
  line-height: 1.05;
  letter-spacing: -0.035em;
}

.section__head p {
  margin: 0.9rem 0 0;
  color: var(--muted);
  font-size: 1.05rem;
}

.section--navy .section__head p,
.scene--navy .section__head p {
  color: rgb(255 255 255 / 0.72);
}

@media (min-width: 900px) {
  .scene__grid {
    grid-template-columns: minmax(0, 0.95fr) minmax(0, 1.15fr);
    gap: 2.5rem 3rem;
  }

  .scene--flip .scene__copy {
    order: 2;
  }

  .scene--navy .scene__grid {
    align-items: center;
  }

  .scene__media .media-plain img {
    min-height: 28rem;
  }
}

.scene__copy h2 {
  margin-bottom: 0.85rem;
}

.scene__copy > p {
  margin: 0 0 1.25rem;
  color: var(--muted);
  max-width: 32rem;
}

.scene--navy .scene__copy > p {
  color: rgb(255 255 255 / 0.72);
}

.feature__list {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  gap: 0.65rem;
}

.feature__list li {
  display: flex;
  gap: 0.7rem;
  align-items: center;
  font-weight: 600;
  color: var(--ink);
  line-height: 1.35;
}

.feature__list li::before {
  content: "";
  width: 8px;
  height: 8px;
  border-radius: 2px;
  background: var(--brand);
  flex-shrink: 0;
}

.gallery {
  display: grid;
  gap: 2rem;
}

.gallery__item {
  margin: 0;
  min-width: 0;
}

@media (min-width: 800px) {
  .gallery {
    grid-template-columns: repeat(3, 1fr);
    gap: 1.75rem;
    align-items: start;
  }
}

.steps {
  display: grid;
  gap: 2.25rem;
}

@media (min-width: 800px) {
  .steps {
    grid-template-columns: repeat(3, 1fr);
    gap: 2rem;
  }
}

.step {
  background: transparent;
  border-radius: 0;
  padding: 0;
  min-height: 100%;
  box-shadow: none;
  transition: transform 0.35s var(--ease-out);
}

.step:hover {
  transform: translateY(-4px);
}

.step__num {
  font-family: var(--font-display);
  font-weight: 800;
  font-size: 2rem;
  color: var(--brand);
  letter-spacing: -0.03em;
  line-height: 1;
  margin-bottom: 0.75rem;
}

.step h3 {
  margin: 0 0 0.5rem;
  font-size: 1.2rem;
  font-family: var(--font-display);
  letter-spacing: -0.02em;
}

.step p {
  margin: 0;
  color: var(--muted);
  font-size: 0.98rem;
}

/* CTA band */
.cta-band {
  position: relative;
  padding: clamp(4.5rem, 9vw, 7rem) 0;
  background: var(--brand-deep);
  color: #fff;
  overflow: hidden;
}

.cta-band__atmosphere {
  position: absolute;
  inset: 0;
  z-index: 0;
  pointer-events: none;
}

.cta-band__atmosphere img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
  opacity: 0.35;
}

.cta-band__veil {
  position: absolute;
  inset: 0;
  z-index: 1;
  pointer-events: none;
  background:
    linear-gradient(
      100deg,
      rgb(0 34 102 / 0.94) 0%,
      rgb(0 43 128 / 0.82) 48%,
      rgb(0 51 153 / 0.55) 100%
    );
}

.cta-band__grid {
  position: relative;
  z-index: 2;
  display: grid;
  gap: 2rem;
  align-items: center;
  min-width: 0;
}

.cta-band__grid > * {
  min-width: 0;
  max-width: 100%;
}

@media (min-width: 900px) {
  .cta-band__grid {
    grid-template-columns: 1.2fr 0.8fr;
    gap: 3.5rem;
    text-align: left;
  }

  .cta-band .hero__actions {
    justify-content: flex-start;
  }
}

.cta-band h2 {
  max-width: 16ch;
}

.cta-band p {
  margin: 0.9rem 0 1.75rem;
  max-width: 36ch;
  color: rgb(255 255 255 / 0.82);
}

.store-badges {
  display: flex;
  flex-wrap: nowrap;
  gap: 0.5rem;
  align-items: center;
  justify-content: flex-start;
  width: max-content;
  max-width: 100%;
}

.store-badge {
  display: inline-flex;
  flex: 0 1 auto;
  min-width: 0;
  transition: transform 0.25s var(--ease-out);
}

.store-badge:hover {
  transform: translateY(-2px);
}

.store-badge img {
  display: block;
  height: 48px;
  width: auto;
  max-width: min(100%, 10.5rem);
  object-fit: contain;
}

@media (max-width: 479px) {
  .store-badges {
    gap: 0.4rem;
  }

  .store-badge img {
    height: 38px;
    max-width: min(100%, 9.25rem);
  }
}

.phone--cta {
  width: min(100%, 16.5rem);
  filter: drop-shadow(0 28px 44px rgb(0 0 0 / 0.35));
}

.cta-band .hero__actions {
  justify-content: flex-start;
}

.about__stats {
  display: grid;
  gap: 0.85rem;
  margin-top: 1.5rem;
}

@media (min-width: 640px) {
  .about__stats {
    grid-template-columns: 1fr 1fr;
  }
}

.about__stats div {
  padding: 1rem 1.1rem;
  border-radius: 20px;
  background: var(--tint);
}

.about__stats strong {
  display: block;
  font-family: var(--font-display);
  font-size: 1.05rem;
  letter-spacing: -0.02em;
  color: var(--brand-deep);
}

.about__stats span {
  display: block;
  margin-top: 0.25rem;
  font-size: 0.92rem;
  color: var(--muted);
}

.blog-grid {
  display: grid;
  gap: 1.15rem;
}

@media (min-width: 900px) {
  .blog-grid {
    grid-template-columns: repeat(3, 1fr);
  }
}

.blog-card {
  overflow: visible;
  border-radius: 0;
  background: transparent;
  box-shadow: none;
  transition: transform 0.35s var(--ease-out);
}

.blog-card:hover {
  transform: translateY(-4px);
}

.blog-card > div:last-child {
  padding: 0 0.25rem;
}

.blog-card__tag {
  margin: 0 0 0.45rem;
  font-size: 0.72rem;
  font-weight: 750;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--brand);
}

.blog-card h2,
.blog-card h3 {
  margin: 0 0 0.5rem;
  font-family: var(--font-display);
  font-size: 1.15rem;
  letter-spacing: -0.02em;
  line-height: 1.25;
  font-weight: 650;
}

.blog-card p:last-child {
  margin: 0;
  color: var(--muted);
  font-size: 0.95rem;
}

.support-panel {
  display: grid;
  gap: 1.5rem;
  align-items: center;
  padding: clamp(1.5rem, 4vw, 2.25rem);
  border-radius: 32px;
  background:
    radial-gradient(circle at top right, rgb(0 51 153 / 0.12), transparent 45%),
    var(--tint);
}

@media (min-width: 800px) {
  .support-panel {
    grid-template-columns: 1.4fr 0.8fr;
  }
}

.support-panel h2 {
  margin-bottom: 0.75rem;
}

.support-panel p {
  margin: 0;
  color: var(--muted);
  max-width: 36rem;
}

.support-panel__actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
}

/* Footer */
.site-footer {
  background: var(--navy);
  color: rgb(255 255 255 / 0.78);
  padding: 3rem 0 2rem;
}

.footer__top {
  display: grid;
  gap: 1.75rem;
  padding-bottom: 2rem;
  border-bottom: 1px solid rgb(255 255 255 / 0.1);
}

.footer__cols {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1.25rem 1.5rem;
}

@media (min-width: 800px) {
  .footer__top {
    grid-template-columns: 1.35fr 1.2fr;
    align-items: start;
  }

  .footer__cols {
    gap: 1.5rem 2.5rem;
  }
}

.footer__brand p {
  margin: 0.85rem 0 0;
  max-width: 30ch;
  font-size: 0.95rem;
  font-weight: 400;
}

.footer__danger {
  color: #f87171 !important;
}

.footer__danger:hover {
  color: #fecaca !important;
}

.footer__col h4 {
  margin: 0 0 0.85rem;
  color: #fff;
  font-size: 0.85rem;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  font-weight: 600;
}

.footer__col a {
  display: block;
  margin-bottom: 0.45rem;
  font-weight: 400;
}

.footer__col a:hover {
  color: #fff;
}

.footer__bottom {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem 1.5rem;
  justify-content: space-between;
  align-items: center;
  padding-top: 1.25rem;
  font-size: 0.88rem;
  font-weight: 400;
}

.footer__social {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 0.55rem;
  margin-top: 1rem;
}

.footer__social-link {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 44px;
  height: 44px;
  border-radius: 999px;
  background: rgb(255 255 255 / 0.08);
  color: rgb(255 255 255 / 0.88);
  transition:
    background 0.25s var(--ease-soft),
    color 0.25s var(--ease-soft),
    transform 0.25s var(--ease-out);
}

.footer__social-link:hover {
  background: rgb(255 255 255 / 0.16);
  color: #fff;
  transform: translateY(-1px);
}

.footer__social-link svg {
  width: 20px;
  height: 20px;
  display: block;
}

.footer__company {
  margin-top: 0.85rem;
  color: rgb(255 255 255 / 0.62);
  font-weight: 400;
  font-size: 0.9rem;
}

.page-main {
  padding-top: calc(var(--nav-h) + 2.5rem);
}

.legal-page {
  max-width: 42rem;
}

.legal-page__body {
  margin: 1rem 0 0;
  color: var(--muted);
}

.legal-page__actions {
  margin: 2rem 0 0;
}

.page-title {
  margin: 0;
  font-family: var(--font-display);
  font-weight: 780;
  font-size: clamp(2rem, 4.5vw, 3.15rem);
  line-height: 1.05;
  letter-spacing: -0.035em;
}

.blog-card h2 {
  margin: 0 0 0.5rem;
  font-family: var(--font-display);
  font-size: 1.2rem;
  letter-spacing: -0.02em;
  line-height: 1.25;
}

.support-page {
  max-width: 48rem;
}

.support-cards {
  display: grid;
  gap: 1rem;
}

@media (min-width: 700px) {
  .support-cards {
    grid-template-columns: repeat(3, 1fr);
  }
}

.support-card {
  display: grid;
  gap: 0.4rem;
  padding: 1.15rem 1.2rem;
  border-radius: 18px;
  background: var(--tint);
  color: inherit;
}

.support-card__label {
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--brand);
}

.support-card strong {
  font-weight: 600;
  font-size: 1.02rem;
  line-height: 1.35;
  color: var(--ink);
}

/* Hero entrance text */
.hero-enter {
  opacity: 0;
  transform: translateY(22px);
  animation: hero-in 0.9s var(--ease-out) forwards;
}

.hero-enter-d1 {
  animation-delay: 0.08s;
}
.hero-enter-d2 {
  animation-delay: 0.18s;
}
.hero-enter-d3 {
  animation-delay: 0.28s;
}

@keyframes hero-in {
  to {
    opacity: 1;
    transform: none;
  }
}
