/* Instrument Sans, self-hosted (was Google Fonts; SIL OFL 1.1, see assets/fonts/OFL.txt) */
@font-face {
  font-family: 'Instrument Sans';
  font-style: normal;
  font-weight: 400 700;
  font-display: swap;
  src: url("../assets/fonts/instrument-sans-latin-ext.woff2") format("woff2");
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF;
}
@font-face {
  font-family: 'Instrument Sans';
  font-style: normal;
  font-weight: 400 700;
  font-display: swap;
  src: url("../assets/fonts/instrument-sans-latin.woff2") format("woff2");
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}

/* ============================================================
   RetainNow — connectivity for customer retention
   Source: Figma Z7ms1qCbJp6Qct4uDmMqHD / node 195:1530 (1440px ref); layout follows the family sites
   ============================================================ */

:root {
  /* Palette — exact tokens from the Figma output */
  --color-bg: #01030f;
  --color-hero-bg: #00081b;
  --color-accent: #0084ff;
  --color-accent-light: #a4d3ff;
  --color-accent-light-2: #7cc0ff;
  --color-heading: #eaeaec;
  --color-text-bright: #f3f3f5;
  --color-text-muted: rgba(243, 243, 245, 0.6);
  --color-text-dim: rgba(243, 243, 245, 0.5);
  --color-card-bg: rgba(255, 255, 255, 0.05);
  --color-card-border: rgba(0, 132, 255, 0.32);
  --color-cta-bg: #121423;
  --color-cta-border: rgba(0, 132, 255, 0.2);
  --color-btn-border: rgba(238, 237, 255, 0.1);
  --glow-orange: #1a7dff;
  --glow-brown: #0b3f9c;
  --glow-brown-50: rgba(11, 63, 156, 0.5);
  --glow-deep: #020b1f;
  --glow-umber: #001433;

  /* Type */
  --font-sans: "Instrument Sans", "Segoe UI", system-ui, -apple-system, sans-serif;
  --font-display: "Instrument Sans", "Segoe UI", system-ui, sans-serif;
  --font-manrope: "Instrument Sans", "Segoe UI", system-ui, -apple-system, sans-serif;

  /* Spacing scale */
  --space-2: 8px;
  --space-3: 16px;
  --space-4: 24px;
  --space-5: 32px;
  --space-6: 48px;
  --space-7: 72px;

  /* Radii */
  --radius-btn: 12px;
  --radius-card: 21px;
  --radius-cta: 24px;

  --transition: 200ms ease;
}

/* ---------- Reset / base ---------- */
*,
*::before,
*::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html {
  scroll-behavior: smooth;
}

body {
  font-family: var(--font-sans);
  font-weight: 400;
  background-color: var(--color-bg);
  color: var(--color-text-bright);
  overflow-x: clip;
  position: relative;
}

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

ul {
  list-style: none;
}

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

.container {
  width: 100%;
  max-width: 1280px; /* 1240 content + 2 x 20 padding */
  margin-inline: auto;
  padding-inline: 20px;
}

/* ---------- Buttons ---------- */
p { text-wrap: pretty; }

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 4px;
  min-height: 44px;
  border-radius: var(--radius-btn);
  font-family: var(--font-sans);
  font-weight: 600;
  font-size: 16px;
  color: #ffffff;
  cursor: pointer;
  transition: filter var(--transition), background-color var(--transition), transform var(--transition), box-shadow var(--transition);
}

.btn:focus-visible,
a:focus-visible,
button:focus-visible {
  outline: 2px solid var(--color-accent);
  outline-offset: 3px;
  border-radius: 6px;
}

.btn:focus-visible {
  border-radius: var(--radius-btn);
}

.btn-arrow {
  width: 18px;
  height: 18px;
  flex-shrink: 0;
}

.btn-primary {
  width: 172px;
  height: 51px;
  padding: 16px;
  letter-spacing: -0.005em;
  border: none;
  background-image: linear-gradient(90deg, #0084ff 0%, #a4d3ff 100%);
  box-shadow:
    inset 0 0 0 1px var(--color-btn-border),
    0 4px 4.5px rgba(0, 132, 255, 0.08),
    0 16px 8px rgba(0, 132, 255, 0.07),
    0 35px 10.5px rgba(0, 132, 255, 0.04),
    0 63px 12.5px rgba(0, 132, 255, 0.01);
}

.btn-primary:hover {
  filter: brightness(1.08);
  transform: translateY(-1px);
}

.btn-cta {
  background-image: linear-gradient(90deg, #0084ff 52.907%, #7cc0ff 100%);
  box-shadow:
    0 1px 1.5px rgba(128, 126, 249, 0.05),
    0 5px 2.5px rgba(128, 126, 249, 0.05),
    0 12px 3.5px rgba(128, 126, 249, 0.03),
    0 22px 4.5px rgba(128, 126, 249, 0.01);
}

.btn-outline {
  padding: 14px 32px;
  border: 1px solid var(--color-accent);
  background: transparent;
  font-family: var(--font-manrope);
}

.btn-outline:hover {
  background-color: rgba(0, 132, 255, 0.15);
}

/* ---------- Header ---------- */
.site-header {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  padding-top: 60px;
  z-index: 100; /* above card backdrop-filter/blend stacking contexts — burger panel must cover page content */
}

.header-inner {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 32px;
}

.brand {
  display: flex;
  align-items: center;
  gap: 16px;
  flex-shrink: 0;
}

.brand-lockup {
  display: flex;
  align-items: center;
  gap: 17.5px;
}

.site-header .brand-mark {
  width: 55.3px;
  height: 65.6px;
}

.site-header .brand-word {
  width: 129.4px;
  height: 24.8px;
}

.site-header .brand-divider {
  width: 1px;
  height: 45.6px;
}

.site-header .brand-tagline {
  width: 148.3px;
  height: 23.2px;
}

.hero-planet-m { display: none; }

.site-nav {
  display: flex;
  align-items: center;
  gap: 56px;
}

.nav-list {
  display: flex;
  align-items: center;
  gap: 32px;
}

.nav-link {
  font-weight: 500;
  font-size: 15px;
  letter-spacing: 0;
  color: #ffffff;
  white-space: nowrap;
  display: inline-flex;
  align-items: center;
  min-height: 44px;
  transition: color var(--transition);
}

.nav-link:hover {
  color: var(--color-accent-light);
}

.nav-toggle {
  display: none;
  flex-direction: column;
  justify-content: center;
  gap: 5px;
  width: 44px;
  height: 44px;
  padding: 10px;
  background: transparent;
  border: 1px solid rgba(0, 132, 255, 0.5);
  border-radius: 10px;
  cursor: pointer;
}

.nav-toggle-bar {
  display: block;
  width: 22px;
  height: 2px;
  border-radius: 2px;
  background-color: var(--color-text-bright);
  transition: transform var(--transition), opacity var(--transition);
}

body.nav-open .nav-toggle-bar:nth-child(1) {
  transform: translateY(7px) rotate(45deg);
}

body.nav-open .nav-toggle-bar:nth-child(2) {
  opacity: 0;
}

body.nav-open .nav-toggle-bar:nth-child(3) {
  transform: translateY(-7px) rotate(-45deg);
}

/* ---------- Hero ---------- */
.hero {
  position: relative;
  min-height: 1071px;
  display: flex;
  flex-direction: column;
  overflow: clip;
  background-color: var(--color-hero-bg);
  background-image: url("../assets/bg-hero.jpg");
  background-size: cover;
  background-position: center top;
  background-repeat: no-repeat;
}

.hero-inner {
  padding-top: 317px;
}

.hero-title {
  max-width: 560px;
  font-weight: 500;
  font-size: 64px;
  line-height: 1;
  letter-spacing: -0.03em;
  color: var(--color-heading);
  margin-bottom: 43px;
}

.hero-market {
  margin-top: auto;
  padding-top: 80px;
  padding-bottom: 56px;
  display: flex;
  align-items: center;
  gap: 72px;
}

.market-title {
  font-weight: 500;
  font-size: 54px;
  line-height: 1.04;
  letter-spacing: -0.028em;
  white-space: nowrap;
  background-image: linear-gradient(103.47deg, #0084ff 1.5%, #a4d3ff 99.76%);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}

.market-text {
  max-width: 683px;
  font-size: 18px;
  letter-spacing: -0.005em;
  color: #ffffff;
  line-height: 1.5;
}

/* ---------- How it works ---------- */
.how-it-works {
  position: relative;
  overflow: clip;
  padding: 48px 0 49px;
  background-color: var(--color-bg);
  background-image: url("../assets/bg-how-it-works.jpg");
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
}

.section-heading {
  display: flex;
  flex-direction: column;
  gap: 24px;
  margin-bottom: 32px;
}

.section-title {
  font-weight: 500;
  font-size: 54px;
  line-height: 1.04;
  letter-spacing: -0.028em;
  color: var(--color-heading);
}

.section-subtitle {
  font-size: 18px;
  letter-spacing: -0.005em;
  color: #ffffff;
  max-width: 478px;
  line-height: 1.5;
}

.cards-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  column-gap: 24px;
  row-gap: 20px;
}

.card {
  position: relative;
  min-height: 306px;
  border-radius: var(--radius-card);
  border: 0.873px solid var(--color-card-border);
  background-color: var(--color-card-bg);
  -webkit-backdrop-filter: blur(50px);
  backdrop-filter: blur(50px);
  overflow: clip;
}

.glow {
  position: absolute;
  aspect-ratio: 1;
  border-radius: 50%;
  filter: blur(130px);
  pointer-events: none;
}

.card .glow-1 {
  width: 60%;
  left: -23%;
  top: -92px;
  background-color: rgba(0, 132, 255, 0.2);
}

.card .glow-2 {
  width: 48%;
  left: 74%;
  top: 349px;
  background-color: var(--glow-brown);
}

.card .glow-3 {
  width: 65%;
  left: 20%;
  top: 333px;
  background-color: var(--glow-brown-50);
}

.card .glow-4 {
  width: 65%;
  left: 67%;
  top: 164px;
  background-color: var(--glow-deep);
}

.card-body {
  position: relative;
  z-index: 1;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 16px;
  padding: 23px;
}

.card-icon {
  width: 42px;
  height: 42px;
}

.card-title {
  font-weight: 600;
  font-size: 22px;
  line-height: 1.2;
  letter-spacing: -0.015em;
  color: var(--color-text-bright);
}

.card-text {
  margin-top: -8px; /* title/text gap = 8px inside the 16px column gap */
  font-size: 16px;
  line-height: 1.5;
  letter-spacing: 0;
  color: var(--color-text-muted);
}

/* ---------- What the partner gets ---------- */
.partner {
  padding-top: 48px;
}

.partner-inner {
  display: flex;
  align-items: center;
  gap: 48px;
}

.partner-left {
  display: flex;
  flex-direction: column;
  gap: 48px;
  max-width: 492px;
  flex-shrink: 0;
}

.partner-title {
  font-weight: 500;
  font-size: 54px;
  line-height: 1.04;
  letter-spacing: -0.028em;
  color: var(--color-heading);
}

.benefits {
  display: flex;
  flex-direction: column;
  gap: 24px;
}

.benefit {
  display: flex;
  align-items: flex-start;
  gap: 16px;
}

.benefit-icon {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 36px;
  height: 36px;
  flex-shrink: 0;
  border-radius: 7px;
  background-color: var(--color-accent);
}

.benefit-icon img {
  width: 20px;
  height: 20px;
}

.benefit-text {
  font-size: 20px;
  line-height: 1.4;
  letter-spacing: -0.01em;
  color: var(--color-text-bright);
}

/* Glass visual card with MacBook */
.partner-visual {
  position: relative;
  width: 100%;
  max-width: 700px;
  aspect-ratio: 700 / 600;
  border-radius: 20.7px;
  background-color: var(--color-card-bg);
  -webkit-backdrop-filter: blur(21.5px);
  backdrop-filter: blur(21.5px);
  overflow: clip;
}

.pv-glow {
  position: absolute;
  aspect-ratio: 1;
  border-radius: 50%;
  pointer-events: none;
}

.pv-glow-orange {
  width: 37%;
  left: 62.9%;
  top: -24px;
  background-color: var(--glow-orange);
  opacity: 0.25;
  filter: blur(197px);
}

.pv-glow-dark {
  width: 63%;
  left: 0;
  top: -178px;
  background-color: var(--glow-umber);
  opacity: 0.25;
  filter: blur(197px);
}

.pv-glow-center {
  width: 42.4%;
  left: 29.6%;
  top: 26.7%;
  background-color: rgba(0, 132, 255, 0.5);
  filter: blur(229px);
}

/* ---------- CTA ---------- */
.cta-section {
  margin-top: 44px;
}

.cta-card {
  position: relative;
  min-height: 360px;
  border-radius: var(--radius-cta);
  border: 1px solid var(--color-cta-border);
  background-color: var(--color-cta-bg);
  overflow: clip;
}

.cta-bg {
  position: absolute;
  left: -6.4%;
  top: -51px;
  width: 111.8%;
  max-width: none;
  transition: opacity 0.9s linear;
}

.cta-shade {
  position: absolute;
  aspect-ratio: 1;
  border-radius: 50%;
  filter: blur(100px);
  pointer-events: none;
}

.cta-shade-1 {
  width: 37%;
  left: -7.3%;
  top: -89px;
  background-color: rgba(1, 6, 16, 0.8);
}

.cta-shade-2 {
  width: 27%;
  left: -5%;
  top: 84px;
  background-color: rgba(1, 6, 16, 0.6);
}

.cta-tint {
  position: absolute;
  inset: 0;
  background-color: var(--color-accent);
  mix-blend-mode: color;
  pointer-events: none;
}

.cta-content {
  position: relative;
  z-index: 1;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 16px;
  padding: 47px;
}

.cta-title {
  font-weight: 500;
  font-size: 54px;
  line-height: 1.04;
  letter-spacing: -0.028em;
  color: #ffffff;
}

.cta-subtitle {
  font-size: 18px;
  letter-spacing: -0.005em;
  color: #ffffff;
  line-height: 1.5;
}

.cta-content .btn {
  margin-top: 8px; /* 24px block gap vs 16px text gap */
}

/* ---------- Footer ---------- */
.site-footer {
  margin-top: 104px;
  padding: 53px 0 81px;
  background-color: var(--color-bg);
}

.footer-top {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 40px;
}

.brand-footer {
  gap: 20.3px;
}

.brand-footer .brand-lockup {
  gap: 22.2px;
}

.brand-footer .brand-mark {
  width: 70px;
  height: 83px;
}

.brand-footer .brand-word {
  width: 163.9px;
  height: 31.3px;
}

.brand-footer .brand-divider {
  width: 1px;
  height: 57.8px;
}

.brand-footer .brand-tagline {
  width: 151.4px;
  height: 28.4px;
}

.footer-nav {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 16px;
  padding-top: 2px;
}

.footer-nav-link {
  font-size: 16px;
  line-height: 24px;
  letter-spacing: 0;
  color: var(--color-text-dim);
  transition: color var(--transition);
}

.footer-nav-link:hover {
  color: var(--color-text-bright);
}

.footer-bottom {
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  align-items: center;
  gap: 24px;
  margin-top: 145px;
}

.footer-legal {
  display: flex;
  align-items: center;
  gap: 32px;
}

.footer-legal-link {
  font-weight: 500;
  font-size: 14px;
  line-height: 24px;
  letter-spacing: 0;
  color: var(--color-text-bright);
  white-space: nowrap;
  transition: color var(--transition);
}

.footer-legal-link:hover {
  color: var(--color-accent-light);
}

.footer-copy {
  font-weight: 500;
  font-size: 14px;
  line-height: 24px;
  letter-spacing: 0;
  color: var(--color-text-bright);
  text-align: center;
}

/* ---------- scroll reveal ---------- */
.js [data-reveal] {
  opacity: 0;
  transform: translateY(26px);
  transition:
    opacity 0.65s cubic-bezier(0.22, 0.61, 0.36, 1),
    transform 0.65s cubic-bezier(0.22, 0.61, 0.36, 1);
  transition-delay: var(--reveal-delay, 0s);
}
.js [data-reveal].is-revealed { opacity: 1; transform: none; }

/* ============================================================
   Responsive
   ============================================================ */

@media (max-width: 1200px) {
  .hero-title,
  .section-title,
  .market-title,
  .partner-title {
    font-size: 48px;
    letter-spacing: -0.028em;
  }

  .hero-title {
    font-size: 56px;
    letter-spacing: -0.03em;
  }

  .hero {
    min-height: 960px;
  }

  .hero-inner {
    padding-top: 270px;
  }

  .cta-title {
    font-size: 48px;
    letter-spacing: -0.028em;
  }

  .partner-left {
    max-width: 440px;
  }

  .benefit-text {
    font-size: 20px;
    letter-spacing: -0.01em;
  }
}

@media (max-width: 1023px) {
  .site-header {
    padding-top: 24px;
  }

  .site-header .brand-mark {
    width: 46px;
    height: 54.6px;
  }

  .site-header .brand-word {
    width: 110px;
    height: 21.1px;
  }

  .site-header .brand-divider {
    height: 38px;
  }

  .site-header .brand-tagline {
    width: 124px;
    height: 19.4px;
  }

  .nav-toggle {
    display: flex;
  }

  .site-nav {
    display: none;
    position: absolute;
    top: calc(100% + 12px);
    left: 20px;
    right: 20px;
    flex-direction: column;
    align-items: stretch;
    gap: 24px;
    padding: 24px;
    border-radius: 16px;
    border: 1px solid rgba(0, 132, 255, 0.3);
    background-color: #040a1c;
    box-shadow: 0 24px 60px rgba(0, 0, 0, 0.5);
  }

  body.nav-open .site-nav {
    display: flex;
  }

  .nav-list {
    flex-direction: column;
    align-items: flex-start;
    gap: 8px;
  }

  .nav-link {
    font-size: 18px;
  }

  .btn-outline {
    justify-content: center;
  }

  .hero {
    min-height: 0;
  }

  .hero-inner {
    padding-top: 200px;
  }

  .hero-market {
    flex-direction: column;
    align-items: flex-start;
    gap: 32px;
    padding-top: 96px;
    padding-bottom: 64px;
  }

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

  .card {
    min-height: 0;
  }

  .partner-inner {
    flex-direction: column;
    align-items: flex-start;
  }

  .partner-left {
    max-width: 620px;
  }

  .partner-visual {
    align-self: center;
  }

  .footer-bottom {
    margin-top: 96px;
  }
}

@media (max-width: 767px) {
  .hero-title,
  .section-title,
  .market-title,
  .partner-title {
    font-size: 38px;
    letter-spacing: -0.028em;
  }

  .hero-title {
    font-size: clamp(34px, 9.6vw, 40px);
    letter-spacing: -0.03em;
  }

  .market-text,
  .section-subtitle,
  .cta-subtitle {
    font-size: 16px;
  }

  .card-title {
    font-size: 19px;
  }

  .market-title {
    white-space: normal;
  }

  .hero {
    /* phones: planet-free starfield behind the copy; the planet gets
       its own stage between the headline and the CTA button */
    background-image: linear-gradient(rgba(1, 3, 15, 0) calc(100% - 240px), #01030f), linear-gradient(rgba(1, 3, 15, 0.35), rgba(1, 3, 15, 0.15) 60%, rgba(1, 3, 15, 0) 90%), url("../assets/bg-hero-mobile.jpg?v=2");
    background-position: center top, center top, center top;
  }

  .hero-planet-m {
    display: block;
    width: 116%;
    max-width: none;
    margin: 4px -8% 0;
    mix-blend-mode: lighten;
    -webkit-mask-image: radial-gradient(ellipse 72% 66% at 50% 48%, #000 55%, transparent 96%);
    mask-image: radial-gradient(ellipse 72% 66% at 50% 48%, #000 55%, transparent 96%);
  }

  .hero-title { margin-bottom: 0; }
  .hero-inner .btn-primary { margin-top: 24px; }

  /* soften the bright planets behind the CTA copy */
  .cta-bg { filter: brightness(0.6); }

  .hero-inner {
    padding-top: 170px;
  }

  .hero-title {
    margin-bottom: 32px;
  }

  .hero-market {
    gap: 24px;
    padding-top: 64px;
    padding-bottom: 56px;
  }

  .how-it-works {
    padding: 56px 0 64px;
  }

  .cards-grid {
    grid-template-columns: 1fr;
    row-gap: 16px;
  }

  .partner {
    padding-top: 56px;
  }

  .partner-inner {
    gap: 32px;
  }

  .partner-left {
    gap: 32px;
  }

  .cta-section {
    margin-top: 56px;
  }

  .cta-card {
    min-height: 0; /* content-driven height — no empty band under the button */
  }

  .cta-title {
    font-size: 30px;
    letter-spacing: -0.028em;
  }

  .cta-title br,
  .partner-title br {
    display: none;
  }

  .cta-content {
    padding: 32px 24px;
  }

  .cta-bg {
    inset: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    /* zoom the framing onto the central planet so the narrow card
       doesn't cram the whole planetary family into view; anchor on the
       dark space up-left of the planet so its lit arc settles bottom-right
       and the text sits on clean sky */
    object-position: 24% 28%;
    transform: scale(1.55);
    transform-origin: 24% 28%;
  }

  .benefit-text {
    font-size: 18px;
    letter-spacing: -0.01em;
  }

  .glow,
  .pv-glow {
    filter: blur(70px);
  }

  .site-footer {
    margin-top: 72px;
    padding: 48px 0 56px;
  }

  .footer-top {
    flex-direction: column;
    gap: 40px;
  }

  /* 44px touch targets for footer links (line-height stays 24px on desktop) */
  .footer-nav {
    gap: 0;
  }

  .footer-nav-link,
  .footer-legal-link {
    display: inline-flex;
    align-items: center;
    min-height: 44px;
  }

  .footer-legal {
    gap: 0 24px;
  }

  .footer-bottom {
    grid-template-columns: 1fr;
    justify-items: start;
    gap: 20px;
    margin-top: 64px;
  }

  .footer-copy {
    text-align: left;
  }

}

@media (max-width: 560px) {
  .site-header .brand-divider,
  .site-header .brand-tagline {
    display: none;
  }

  .brand-footer .brand-divider,
  .brand-footer .brand-tagline {
    display: none;
  }
}

@media (max-width: 479px) {
  /* primary actions go full-width on phones, like the hub page */
  .hero .btn-primary,
  .cta-content .btn {
    width: 100%;
  }

  .hero-title,
  .section-title,
  .market-title,
  .partner-title {
    font-size: 34px;
    letter-spacing: -0.028em;
  }

  .hero-title {
    font-size: clamp(34px, 9.6vw, 40px);
    letter-spacing: -0.03em;
  }

  .hero-title br {
    display: none;
  }

  .hero-inner {
    padding-top: 150px;
  }

  .cta-title {
    font-size: 28px;
    letter-spacing: -0.028em;
  }

  .card-body {
    padding: 20px;
  }

  .footer-legal {
    flex-wrap: wrap;
    gap: 0 20px; /* rows are already 44px tall — no extra row gap needed */
  }

  .brand-footer .brand-mark {
    width: 52px;
    height: 61.7px;
  }

  .brand-footer .brand-word {
    width: 130px;
    height: 24.9px;
  }

  .brand-footer .brand-divider {
    height: 44px;
  }

  .brand-footer .brand-tagline {
    width: 118px;
    height: 22.1px;
  }
}

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

  .js [data-reveal] {
    opacity: 1;
    transform: none;
    transition: none;
  }

  *,
  *::before,
  *::after {
    transition-duration: 0.01ms !important;
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
  }
}

/* ---------- logo flip on hover ---------- */
header .brand { perspective: 360px; }
.logo-coin {
  position: relative;
  display: inline-block;
  flex-shrink: 0;
  transform-style: preserve-3d;
}
.logo-coin .logo-coin__layer {
  position: absolute;
  left: 0;
  top: 0;
  opacity: 0;
}
.logo-coin.is-flipping .logo-coin__layer { opacity: 1; }
.logo-coin .logo-coin__back { filter: brightness(0.5) saturate(0.85); }
@keyframes logo-flip {
  to { transform: rotateY(-1turn); }
}
.logo-coin.is-flipping { animation: logo-flip 0.9s cubic-bezier(0.45, 0.05, 0.3, 1); }

/* intro: wordmark hidden from the first frame (html.logo-intro is set in <head>), then fades in */
.logo-intro header .brand .brand-word,
.logo-intro header .brand .brand-divider,
.logo-intro header .brand .brand-tagline { opacity: 0; transition: opacity 0.5s ease; }
.logo-intro header .brand .brand-divider { transition-delay: 0.22s; }
.logo-intro header .brand .brand-tagline { transition-delay: 0.44s; }
.logo-intro header .brand .is-on { opacity: 1; }

/* ---------- animated waves background ---------- */
.waves-canvas {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  z-index: 0;
  pointer-events: none;
  background:
    radial-gradient(46% 30% at 12% 22%, rgba(0, 132, 255, 0.16), transparent 70%),
    radial-gradient(56% 34% at 62% 42%, rgba(0, 132, 255, 0.09), transparent 70%),
    radial-gradient(42% 30% at 88% 80%, rgba(164, 211, 255, 0.12), transparent 72%);
}
.how-it-works.has-waves { background-image: none; }
.how-it-works.has-waves > :not(.waves-canvas) { position: relative; z-index: 1; }

/* ---------- orbiting stars in the hero ---------- */
.stars-canvas {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  z-index: 0;
  pointer-events: none;
}
.hero.has-stars .hero-inner { position: relative; z-index: 1; }

/* ---------- wide screens: seamlessly extended hero art at design scale ---------- */
@media (min-width: 1441px) {
  .hero {
    background-image: url("../assets/bg-hero-wide.jpg");
    background-size: auto 100%;
    background-position: center top;
  }
}

.hero-planet-3d {
  position: absolute;
  z-index: 0;
  pointer-events: none;
}
.hero-planet-video-wrap { display: none; }
@media (max-width: 767px) {
  .hero-planet-video-wrap {
    position: relative;
    width: 116%;
    max-width: none;
    margin: 4px -8% 0;
    aspect-ratio: 1 / 1;
    overflow: hidden;
  }
  .hero-planet-video-wrap.is-on { display: block; }
  /* static crop stays visible until the live planet is ready */
  .hero-planet-video-wrap::before {
    content: "";
    position: absolute;
    inset: 0;
    background: url("../assets/hero-planet-mobile.jpg") center / cover no-repeat;
    mix-blend-mode: lighten;
    -webkit-mask-image: radial-gradient(ellipse 72% 66% at 50% 48%, #000 55%, transparent 96%);
    mask-image: radial-gradient(ellipse 72% 66% at 50% 48%, #000 55%, transparent 96%);
    transition: opacity 0.8s ease;
  }
  .hero-planet-video-wrap.is-live::before { opacity: 0; }
  .hero-planet-video-wrap .hero-planet-3d {
    inset: 0;
    width: 100%;
    height: 100%;
    pointer-events: auto;
    -webkit-mask-image:
      linear-gradient(90deg, transparent 0, #000 8%, #000 92%, transparent 100%),
      linear-gradient(180deg, transparent 0, #000 8%, #000 92%, transparent 100%);
    -webkit-mask-composite: source-in;
    mask-image:
      linear-gradient(90deg, transparent 0, #000 8%, #000 92%, transparent 100%),
      linear-gradient(180deg, transparent 0, #000 8%, #000 92%, transparent 100%);
    mask-composite: intersect;
  }
}

@media (min-width: 768px) {
  .hero::before {
    content: "";
    position: absolute;
    inset: 0;
    background-image: linear-gradient(rgba(1, 3, 15, 0) calc(100% - 240px), #01030f), url("../assets/bg-hero-live.jpg?v=2");
    background-size: cover;
    background-position: center top;
    background-repeat: no-repeat;
    opacity: 0;
    transition: opacity 0.8s ease;
    pointer-events: none;
  }
  .hero--live::before { opacity: 1; }
  
  .hero .hero-market { position: relative; z-index: 1; }
}
@media (min-width: 1441px) {
  .hero::before {
    background-image: linear-gradient(rgba(1, 3, 15, 0) calc(100% - 240px), #01030f), url("../assets/bg-hero-wide-live.jpg?v=3");
    background-size: auto 100%;
  }
}

/* ---------- live planet expected (class set in <head> before the first paint) ----------
   The baked-in planet art never shows up: the page opens on the planet-free backdrop and the
   live planet fades in. The <head> script drops the class again if the planet cannot run. */
@media (min-width: 768px) {
  .planet-live .hero { background-image: linear-gradient(rgba(1, 3, 15, 0) calc(100% - 240px), #01030f), url("../assets/bg-hero-live.jpg?v=2"); }
  .planet-live .hero::before { display: none; }
}
@media (min-width: 1441px) {
  .planet-live .hero { background-image: linear-gradient(rgba(1, 3, 15, 0) calc(100% - 240px), #01030f), url("../assets/bg-hero-wide-live.jpg?v=3"); }
}
@media (max-width: 767px) {
  .planet-live .hero-planet-m { display: none; }
  .planet-live .hero-planet-video-wrap { display: block; }
  .planet-live .hero-planet-video-wrap::before { display: none; }
}

/* ============================================================
   Shared helpers and hero copy
   ============================================================ */
.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0 0 0 0);
  white-space: nowrap;
  border: 0;
}

/* hero copy */
.hero-inner { padding-top: 272px; }
.hero-title { margin-bottom: 24px; }
.hero-lead {
  max-width: 520px;
  font-size: 20px;
  line-height: 1.4;
  letter-spacing: -0.01em;
  color: var(--color-text-bright);
}
.hero-text {
  max-width: 500px;
  margin-top: 16px;
  font-size: 16px;
  line-height: 1.5;
  color: var(--color-text-muted);
}
.hero-inner .btn-primary { margin-top: 32px; }
.market-copy {
  display: flex;
  flex-direction: column;
  gap: 12px;
  max-width: 600px;
}


/* ---------- dashboard modules ---------- */
.partner { padding-top: 104px; }
.partner-left { max-width: 540px; gap: 40px; }
.partner-head { display: flex; flex-direction: column; gap: 20px; }
.partner-lead {
  font-size: 18px;
  line-height: 1.5;
  letter-spacing: -0.005em;
  color: var(--color-text-bright);
}

/* Big Family signature (bottom-right corner of the footer) */
.footer-bf {
  display: inline-flex;
  align-items: center;
  min-height: 44px;
  opacity: 0.72;
  transition: opacity 200ms ease;
}
.footer-bf:hover,
.footer-bf:focus-visible { opacity: 1; }
.footer-bf img { display: block; width: auto; height: 28px; }
.footer-bf { justify-self: end; }
@media (max-width: 767px) {
  .footer-bf { justify-self: start; }
  .footer-copy { order: 1; }
}

/* short laptop windows (< ~781px tall): lift the hero copy so the CTA stays on the first screen,
   never closer than 40px to the header; tall screens keep the design position (shift = 0) */
@media (min-width: 1025px) {
  .hero-inner { translate: 0 clamp(-132px, 100vh - 781px, 0px); }
}

/* ============================================================
   RetainNow sections (Oct 2026)
   ============================================================ */
.icon-sprite { position: absolute; width: 0; height: 0; overflow: hidden; }

/* gradient words inside headlines (padding keeps descenders inside the painted box) */
.text-grad {
  background-image: linear-gradient(103.47deg, #0084ff 1.5%, #a4d3ff 99.76%);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
  padding-bottom: 0.12em;
  -webkit-box-decoration-break: clone;
  box-decoration-break: clone;
}

/* logo lockup: RetainNow proportions from the mockup header */
.site-header .brand { gap: 15.6px; }
.site-header .brand-lockup { gap: 17.3px; }
.site-header .brand-mark { width: 54.5px; height: 64.7px; }
.site-header .brand-word { width: 157px; height: 24px; }
.site-header .brand-divider { height: 45px; }
.site-header .brand-tagline { width: 117.5px; height: 22.9px; }
.brand-footer .brand-mark { width: 70px; height: 83px; }
.brand-footer .brand-word { width: 201.4px; height: 30.8px; }
.brand-footer .brand-divider { height: 57.8px; }
.brand-footer .brand-tagline { width: 150.8px; height: 29.4px; }

/* icon tile shared by cards, infrastructure, models and the lists */
.card-ico,
.model-ico,
.why-ico,
.mechanic-icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  width: 44px;
  height: 44px;
  border-radius: 12px;
  color: #ffffff;
  background-image: linear-gradient(135deg, rgba(0, 132, 255, 0.95), rgba(0, 132, 255, 0.32));
  box-shadow: inset 0 0 0 1px rgba(164, 211, 255, 0.32), 0 10px 26px -10px rgba(0, 132, 255, 0.7);
}
.card-ico svg,
.model-ico svg,
.why-ico svg,
.mechanic-icon svg { width: 24px; height: 24px; }
.hero-badge svg,
.ind-tab svg,
.ind-uses svg { flex-shrink: 0; }

/* ---------- hero ---------- */
.hero-market {
  flex-direction: column;
  align-items: flex-start;
  gap: 28px;
  padding-top: 96px;
  padding-bottom: 64px;
}
.hero-badges {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
}
.hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  min-height: 44px;
  padding: 10px 18px 10px 14px;
  border-radius: var(--radius-btn);
  border: 1px solid rgba(0, 132, 255, 0.42);
  background-color: rgba(0, 132, 255, 0.1);
  font-size: 16px;
  font-weight: 500;
  color: var(--color-text-bright);
}
.hero-badge svg { width: 20px; height: 20px; color: var(--color-accent-light); }
.hero-statement {
  max-width: 1180px;
  font-size: 36px;
  line-height: 1.22;
  letter-spacing: -0.022em;
  color: var(--color-heading);
}

/* ---------- from connectivity to retention ---------- */
.retention { padding-top: 120px; }
.retention-head {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
  gap: 64px;
  align-items: end;
}
.retention-copy { display: flex; flex-direction: column; gap: 12px; }
.mechanics {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 40px 32px;
  margin-top: 64px;
}
.mechanic {
  display: flex;
  align-items: flex-start;
  gap: 16px;
  padding-top: 20px;
  border-top: 1px solid rgba(0, 132, 255, 0.28);
}
.mechanic p {
  padding-top: 9px;
  font-size: 18px;
  line-height: 1.45;
  letter-spacing: -0.005em;
  color: var(--color-text-bright);
}
.retention-punch {
  position: relative;
  max-width: 980px;
  margin: 80px auto 0;
  padding-top: 48px;
  font-size: 40px;
  font-weight: 500;
  line-height: 1.18;
  letter-spacing: -0.028em;
  text-align: center;
  color: var(--color-heading);
}
.retention-punch__line {
  position: absolute;
  left: 50%;
  top: 0;
  width: 56%;
  height: 1px;
  transform: translateX(-50%);
  background: linear-gradient(90deg, transparent, #0084ff 30%, #a4d3ff 50%, #0084ff 70%, transparent);
  box-shadow: 0 0 14px rgba(0, 132, 255, 0.45);
}

/* ---------- platform: nine capabilities ---------- */
.how-it-works { padding: 96px 0 104px; margin-top: 72px; }
.how-it-works .section-subtitle { max-width: 620px; }
.cards-grid--9 .card { min-height: 0; border-radius: 24px; }
.cards-grid--9 .card-body { gap: 14px; padding: 28px; }
.cards-grid--9 .card-ico { margin-bottom: 8px; }
.cards-grid--9 .card-text { margin-top: -4px; }

/* ---------- your brand, your experience: the brand in front, RetainNow literally behind ---------- */
.brand-sec { padding-top: 120px; }
.brand-layout {
  display: grid;
  grid-template-columns: minmax(0, 0.9fr) minmax(0, 1.1fr);
  gap: 64px;
  align-items: center;
}
.brand-copy { display: flex; flex-direction: column; gap: 20px; }
.brand-lead {
  font-size: 20px;
  line-height: 1.4;
  letter-spacing: -0.01em;
  color: var(--color-text-bright);
}
.brand-note {
  display: flex;
  align-items: center;
  gap: 14px;
  margin-top: 8px;
  font-size: 18px;
  font-weight: 500;
  line-height: 1.35;
  color: var(--color-text-bright);
}
.brand-stack { position: relative; display: flex; flex-direction: column; }
.brand-stack__glow {
  position: absolute;
  left: 10%;
  top: -20%;
  width: 80%;
  aspect-ratio: 1;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(0, 132, 255, 0.22), transparent 62%);
  pointer-events: none;
}
.brand-layer { position: relative; }
.brand-layer--front {
  order: 1;
  z-index: 2;
  padding: 28px 28px 30px;
  border-radius: 24px;
  border: 1px solid rgba(0, 132, 255, 0.5);
  background-image: linear-gradient(160deg, rgba(0, 132, 255, 0.26), rgba(5, 12, 32, 0.94) 58%);
  background-color: #050c20;
  box-shadow: inset 0 1px 0 rgba(164, 211, 255, 0.18), 0 34px 60px -24px rgba(0, 0, 0, 0.85);
}
.brand-layer--back {
  order: 2;
  z-index: 1;
  margin: -34px 28px 0;
  padding: 54px 24px 22px;
  border-radius: 22px;
  border: 1px dashed rgba(164, 211, 255, 0.3);
  background-color: rgba(4, 10, 28, 0.55);
}
.brand-layer__head {
  font-size: 17px;
  font-weight: 600;
  line-height: 1.3;
  letter-spacing: -0.01em;
  color: var(--color-text-bright);
}
.brand-layer--back .brand-layer__head { font-size: 15px; font-weight: 500; color: var(--color-text-muted); }
.brand-chips {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 18px;
}
.brand-chips li {
  padding: 9px 16px;
  border-radius: 999px;
  border: 1px solid rgba(164, 211, 255, 0.24);
  background-color: rgba(255, 255, 255, 0.06);
  font-size: 15px;
  font-weight: 500;
  line-height: 1.3;
  color: var(--color-text-bright);
}
.brand-infra {
  display: flex;
  flex-wrap: wrap;
  gap: 10px 24px;
  margin-top: 14px;
}
.brand-infra li {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 15px;
  font-weight: 500;
  color: var(--color-text-bright);
}
.brand-infra svg { width: 18px; height: 18px; flex-shrink: 0; color: var(--color-accent-light); }

/* ---------- five industries ---------- */
.industries { padding-top: 120px; overflow: clip; } /* the glow lost its plate: clip it at the section (clip, not hidden: anchors) */
.ind-tabs {
  display: inline-flex;
  gap: 6px;
  max-width: 100%;
  margin-bottom: 20px;
  padding: 6px;
  border-radius: 18px;
  border: 1px solid rgba(0, 132, 255, 0.25);
  background-color: rgba(4, 10, 28, 0.72);
}
.ind-tabs[hidden] { display: none; }
.ind-tab {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  min-height: 48px;
  padding: 10px 20px 10px 16px;
  border: 0;
  border-radius: var(--radius-btn);
  background: transparent;
  font-family: var(--font-sans);
  font-size: 16px;
  font-weight: 500;
  color: var(--color-text-muted);
  white-space: nowrap;
  cursor: pointer;
  transition: color var(--transition), background-color var(--transition), box-shadow var(--transition);
}
.ind-tab svg { width: 20px; height: 20px; }
.ind-tab:hover { color: var(--color-text-bright); background-color: rgba(255, 255, 255, 0.04); }
.ind-tab[aria-selected="true"] {
  color: #ffffff;
  background-image: linear-gradient(90deg, #0084ff, #3d9dff);
  box-shadow: inset 0 0 0 1px rgba(164, 211, 255, 0.3), 0 10px 26px -12px rgba(0, 132, 255, 0.9);
}
.ind-tab:focus-visible { outline-offset: 2px; border-radius: var(--radius-btn); }
.ind-stage {
  position: relative;
  padding: 40px 0 0;
}
.ind-glow {
  position: absolute;
  right: -8%;
  top: -30%;
  width: 54%;
  aspect-ratio: 1;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(0, 132, 255, 0.24), transparent 62%);
  pointer-events: none;
}
.ind-panel {
  position: relative;
  display: grid;
  grid-template-columns: minmax(0, 1.25fr) minmax(0, 1fr);
  gap: 56px;
  align-items: center;
}
/* no JS: all five industries stacked */
.ind-panel + .ind-panel { margin-top: 48px; padding-top: 48px; border-top: 1px solid rgba(0, 132, 255, 0.2); }
/* tabs: panels share one grid cell, so the stage keeps the tallest height and never jumps */
.ind.is-tabs .ind-stage { display: grid; }
.ind.is-tabs .ind-panel { grid-area: 1 / 1; margin: 0; padding: 0; border: 0; }
.ind.is-tabs .ind-panel:not(.is-active) { visibility: hidden; opacity: 0; }
.ind.is-tabs .ind-panel.is-active { animation: ind-in 0.45s cubic-bezier(0.22, 0.61, 0.36, 1); }
.ind.is-tabs[data-dir="prev"] .ind-panel.is-active { animation-name: ind-in-prev; }
@keyframes ind-in { from { opacity: 0; transform: translateX(28px); } to { opacity: 1; transform: none; } }
@keyframes ind-in-prev { from { opacity: 0; transform: translateX(-28px); } to { opacity: 1; transform: none; } }
.ind-main { display: flex; flex-direction: column; align-items: flex-start; }
.ind-name {
  font-size: 48px;
  font-weight: 500;
  line-height: 1.04;
  letter-spacing: -0.03em;
  background-image: linear-gradient(103.47deg, #0084ff 1.5%, #a4d3ff 99.76%);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
  padding-bottom: 0.14em;
  margin-bottom: calc(14px - 0.14em);
}
.ind-title {
  font-size: 28px;
  font-weight: 500;
  line-height: 1.15;
  letter-spacing: -0.02em;
  color: var(--color-heading);
}
.ind-text {
  margin-top: 16px;
  max-width: 520px;
  font-size: 18px;
  line-height: 1.5;
  color: var(--color-text-muted);
}
.ind-result {
  margin-top: 28px;
  max-width: 520px;
  padding-left: 18px;
  border-left: 2px solid var(--color-accent);
  font-size: 18px;
  line-height: 1.45;
  color: var(--color-text-bright);
}
.ind-uses { display: flex; flex-direction: column; }
.ind-uses li {
  display: flex;
  align-items: center;
  gap: 16px;
  min-height: 60px;
  padding: 12px 4px;
  border-bottom: 1px solid rgba(164, 211, 255, 0.14);
  font-size: 18px;
  font-weight: 500;
  color: var(--color-text-bright);
}
.ind-uses li:first-child { border-top: 1px solid rgba(164, 211, 255, 0.14); }
.ind-uses svg { width: 24px; height: 24px; color: var(--color-accent-light); }

/* ---------- connectivity infrastructure: two big figures, five capabilities in a row ---------- */
.infra { padding-top: 120px; overflow: clip; }
.infra .section-heading { gap: 16px; }
.infra .section-subtitle { max-width: 620px; margin-top: 8px; }
.infra-stats {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  margin-top: 24px;
}
.infra-stat {
  position: relative;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 10px;
  padding: 24px 48px 48px 0;
}
.infra-stat + .infra-stat {
  padding-left: 48px;
  border-left: 1px solid rgba(164, 211, 255, 0.14);
}
.infra-stat > :not(.infra-rings) { position: relative; }
.infra-num {
  font-size: 112px;
  font-weight: 500;
  line-height: 0.95;
  letter-spacing: -0.05em;
  margin-bottom: 10px;
}
.infra-title {
  font-size: 20px;
  font-weight: 600;
  line-height: 1.25;
  letter-spacing: -0.012em;
  color: var(--color-text-bright);
}
.infra-text {
  max-width: 340px;
  font-size: 16px;
  line-height: 1.5;
  color: var(--color-text-muted);
}
/* coverage rings: circles answer the rectangles elsewhere on the page */
.infra-rings {
  position: absolute;
  left: -110px;
  top: 58%;
  width: 400px;
  aspect-ratio: 1;
  border-radius: 50%;
  transform: translateY(-50%);
  border: 1px solid rgba(164, 211, 255, 0.16);
  background: radial-gradient(circle, rgba(0, 132, 255, 0.2), transparent 60%);
  box-shadow:
    0 0 0 56px rgba(0, 132, 255, 0.035), 0 0 0 57px rgba(164, 211, 255, 0.09),
    0 0 0 124px rgba(0, 132, 255, 0.02), 0 0 0 125px rgba(164, 211, 255, 0.06);
  pointer-events: none;
}
.infra-feats {
  display: grid;
  grid-template-columns: repeat(5, minmax(0, 1fr));
  border-top: 1px solid rgba(164, 211, 255, 0.14);
}
.infra-feat {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 10px;
  padding: 32px 24px 0 24px;
}
.infra-feat:first-child { padding-left: 0; }
.infra-feat + .infra-feat { border-left: 1px solid rgba(164, 211, 255, 0.14); }
.infra-feat__ico { width: 30px; height: 30px; margin-bottom: 6px; color: var(--color-accent-light); }
.infra-feat .infra-title { font-size: 18px; }
.infra-feat .infra-text { font-size: 15px; }

/* ---------- business models ---------- */
.models { padding-top: 120px; }
.models-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 20px;
}
.model {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 12px;
  padding: 28px 26px 26px;
  border-radius: 24px;
  border: 1px solid rgba(0, 132, 255, 0.3);
  background-image: radial-gradient(120% 70% at 0% 0%, rgba(0, 132, 255, 0.16), transparent 62%);
  background-color: var(--color-card-bg);
}
.model-ico { width: 52px; height: 52px; border-radius: 14px; margin-bottom: 12px; }
.model-ico svg { width: 28px; height: 28px; }
.model-title {
  font-size: 22px;
  font-weight: 600;
  line-height: 1.2;
  letter-spacing: -0.015em;
  color: var(--color-text-bright);
}
.model-text {
  margin-bottom: 8px;
  font-size: 16px;
  line-height: 1.5;
  color: var(--color-text-muted);
}
.model-for {
  margin-top: auto;
  padding-top: 16px;
  width: 100%;
  border-top: 1px solid rgba(164, 211, 255, 0.16);
  min-height: calc(3 * 1.45em + 17px); /* three lines: the dividers line up across the row */
  font-size: 15px;
  line-height: 1.45;
  color: var(--color-accent-light);
}

@media (min-width: 1201px) {
  .model-title { min-height: 2.4em; } /* four in a row: equal title blocks keep the dividers level */
}

/* ---------- business outcomes ---------- */
.outcomes { padding-top: 120px; }
.outcomes .section-heading { gap: 16px; }
.outcomes .section-subtitle { margin-top: 8px; }
.outcomes-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 0 40px;
}
.outcome {
  display: flex;
  align-items: center;
  gap: 14px;
  padding: 18px 0;
  border-top: 1px solid rgba(164, 211, 255, 0.14);
  font-size: 18px;
  font-weight: 500;
  line-height: 1.35;
  letter-spacing: -0.005em;
  color: var(--color-text-bright);
}
.outcome .benefit-icon,
.brand-note .benefit-icon {
  width: 32px;
  height: 32px;
  border-radius: 50%;
  background-image: linear-gradient(135deg, #0084ff, #46a6ff);
  box-shadow: 0 6px 18px -6px rgba(0, 132, 255, 0.8);
}
.outcome .benefit-icon img,
.brand-note .benefit-icon img { width: 17px; height: 17px; }

/* ---------- why RetainNow ---------- */
.partner { padding-top: 120px; }
.why-list { display: flex; flex-direction: column; gap: 14px; }
.why-item {
  display: flex;
  align-items: center;
  gap: 16px;
  font-size: 18px;
  line-height: 1.4;
  letter-spacing: -0.005em;
  color: var(--color-text-bright);
}
.why-ico { width: 40px; height: 40px; border-radius: 11px; }
.why-ico svg { width: 22px; height: 22px; }
.why-close {
  font-size: 24px;
  font-weight: 500;
  line-height: 1.3;
  letter-spacing: -0.018em;
  color: var(--color-heading);
}

/* small caps label above a section title (used sparingly: infrastructure, outcomes) */
.eyebrow {
  font-size: 13px;
  font-weight: 600;
  line-height: 1.2;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--color-accent-light);
}

/* ---------- CTA: galaxy photo tinted to the brand blue ---------- */
.cta-section { margin-top: 120px; }
.cta-subtitle { max-width: 560px; }
.cta-bg {
  left: -8.2%;
  top: -325px;
  width: 152%;
  filter: brightness(0.82);
}
/* dark veil on the copy side, the galaxy core stays bright on the right */
.cta-card::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(90deg, rgba(1, 4, 14, 0.92) 0%, rgba(1, 4, 14, 0.62) 38%, rgba(1, 4, 14, 0) 68%);
  pointer-events: none;
}

/* ---------- responsive: RetainNow sections ---------- */
@media (max-width: 1200px) {
  /* the RetainNow lockup is wider than the other sites': tighter nav keeps the header on one line */
  .site-nav { gap: 32px; }
  .nav-list { gap: 22px; }
  .hero-statement { font-size: 32px; }
  .brand-layout { gap: 40px; }
  .models-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .infra-num { font-size: 96px; }
  /* five capabilities: 3 + 2 */
  .infra-feats { grid-template-columns: repeat(6, minmax(0, 1fr)); }
  .infra-feat { grid-column: span 2; padding-bottom: 28px; }
  .infra-feat:nth-child(n + 4) { grid-column: span 3; border-top: 1px solid rgba(164, 211, 255, 0.14); }
  .infra-feat:nth-child(4) { padding-left: 0; border-left: 0; }
}

@media (min-width: 1024px) and (max-width: 1100px) {
  .site-header .brand-divider,
  .site-header .brand-tagline { display: none; }
}

@media (max-width: 1023px) {
  .hero-inner { padding-top: 200px; }
  .hero-lead { max-width: 440px; }
  .site-header .brand-mark { width: 46px; height: 54.6px; }
  .site-header .brand-word { width: 132px; height: 20.2px; }
  .site-header .brand-divider { height: 38px; }
  .site-header .brand-tagline { width: 99px; height: 19.3px; }
  .retention-head { grid-template-columns: 1fr; gap: 24px; }
  .mechanics { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .retention-punch { font-size: 32px; }
  .brand-layout { grid-template-columns: 1fr; }
  .ind-panel { grid-template-columns: 1fr; gap: 32px; }
  .infra-num { font-size: 80px; }
  .outcomes-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  /* nine items in two columns: the last one spans the row instead of hanging alone */
  .cards-grid--9 > :last-child { grid-column: 1 / -1; }
}

@media (max-width: 767px) {
  .hero-inner { padding-top: 170px; }
  .hero-title { margin-bottom: 16px; }
  .hero-lead { font-size: 18px; }
  .hero-inner .btn-primary { margin-top: 16px; } /* the planet stage above already has air under the globe */
  .hero-market { gap: 20px; padding-top: 48px; padding-bottom: 16px; }
  .hero-badges { gap: 8px; }
  .hero-badge { min-height: 40px; padding: 8px 14px 8px 12px; }
  .hero-statement { font-size: 24px; line-height: 1.3; }
  .hero-badge { font-size: 15px; }
  .retention { padding-top: 72px; }
  .mechanics { grid-template-columns: 1fr; gap: 0; margin-top: 40px; }
  .mechanic { padding: 16px 0; }
  .mechanic p { font-size: 16px; padding-top: 10px; }
  .retention-punch { margin-top: 56px; padding-top: 36px; font-size: 24px; }
  .retention-punch__line { width: 80%; }
  .retention-punch br { display: none; }
  .how-it-works { margin-top: 48px; }
  /* phones: icon beside the copy keeps the nine cards short */
  .cards-grid--9 .card-body {
    display: grid;
    grid-template-columns: 44px minmax(0, 1fr);
    column-gap: 16px;
    row-gap: 6px;
    align-items: start;
    padding: 20px;
  }
  .cards-grid--9 .card-ico { grid-row: span 2; margin-bottom: 0; }
  .cards-grid--9 .card-text { margin-top: 0; }
  .cards-grid--9 { row-gap: 12px; }
  .brand-sec,
  .industries,
  .infra,
  .models,
  .outcomes,
  .partner { padding-top: 72px; }
  .brand-layout { gap: 32px; }
  .brand-layer--front { padding: 22px 20px 24px; }
  .brand-layer--back { margin: -30px 14px 0; padding: 46px 18px 18px; }
  .brand-chips { gap: 8px; }
  .brand-chips li { padding: 8px 13px; font-size: 14px; }
  .brand-infra { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 10px 16px; }
  .brand-lead { font-size: 18px; }
  .brand-note { font-size: 16px; margin-bottom: 8px; }
  .ind-stage { padding-top: 24px; }
  .ind-name { font-size: 38px; }
  .ind-title { font-size: 22px; }
  .ind-text,
  .ind-result { font-size: 16px; }
  .ind-uses li { min-height: 54px; font-size: 16px; }
  .models-grid { grid-template-columns: 1fr; gap: 14px; }
  .outcomes-grid { grid-template-columns: 1fr; }
  .infra-stats { grid-template-columns: 1fr; margin-top: 8px; }
  .infra-stat { padding: 28px 0 32px; }
  .infra-stat + .infra-stat { padding-left: 0; border-left: 0; border-top: 1px solid rgba(164, 211, 255, 0.14); }
  .infra-num { font-size: 72px; }
  .infra-rings { left: auto; right: -200px; }
  .infra-feats { grid-template-columns: 1fr; }
  .infra-feat,
  .infra-feat:nth-child(n + 4) { grid-column: auto; padding: 24px 0; border-left: 0; }
  .infra-feat + .infra-feat { border-left: 0; border-top: 1px solid rgba(164, 211, 255, 0.14); }
  .model { padding: 24px 22px; }
  .model-title { font-size: 19px; }
  .outcome { padding: 14px 0; font-size: 16px; }
  .why-item { font-size: 16px; }
  .why-close { font-size: 20px; }
  .how-it-works { padding: 56px 0 64px; }
  .cta-section { margin-top: 72px; }
  .cta-bg { left: 0; top: 0; width: 100%; object-position: 64% 50%; transform: scale(1.25); transform-origin: 64% 50%; }
  .cta-card::after { background: linear-gradient(180deg, rgba(1, 4, 14, 0.85) 0%, rgba(1, 4, 14, 0.55) 50%, rgba(1, 4, 14, 0.1) 82%, rgba(1, 4, 14, 0) 100%); }
  .model-for { min-height: 0; }
}


@media (max-width: 479px) {
  .hero-inner { padding-top: 150px; }
  .brand-footer .brand-mark { width: 52px; height: 61.7px; }
  .brand-footer .brand-word { width: 150px; height: 22.9px; }
  .brand-footer .brand-divider { height: 44px; }
  .brand-footer .brand-tagline { width: 112px; height: 21.8px; }
}

@media (prefers-reduced-motion: reduce) {
  .ind.is-tabs .ind-panel.is-active { animation: none; }
}

/* ============================================================
   Graphics instead of icon tiles (Oct 2026)
   ============================================================ */

/* ---------- retention mechanics: a reward ticket for each scenario ---------- */
.mechanic { flex-direction: column; gap: 18px; padding-top: 24px; }
.mechanic p { padding-top: 0; }
.ticket {
  display: inline-flex;
  align-items: center;
  min-height: 48px;
  padding: 0 20px;
  border-radius: 12px;
  border: 1px solid rgba(164, 211, 255, 0.34);
  background-image: linear-gradient(120deg, rgba(0, 132, 255, 0.34), rgba(0, 132, 255, 0.08) 75%);
  /* side notches: it reads as a voucher, not as one more card */
  -webkit-mask:
    radial-gradient(circle 7px at left center, transparent 96%, #000) left / 51% 100% no-repeat,
    radial-gradient(circle 7px at right center, transparent 96%, #000) right / 51% 100% no-repeat;
  mask:
    radial-gradient(circle 7px at left center, transparent 96%, #000) left / 51% 100% no-repeat,
    radial-gradient(circle 7px at right center, transparent 96%, #000) right / 51% 100% no-repeat;
}
.ticket b {
  font-size: 22px;
  font-weight: 600;
  letter-spacing: -0.02em;
  color: #ffffff;
  white-space: nowrap;
}
.ticket small {
  margin-left: 14px;
  padding-left: 14px;
  border-left: 1px dashed rgba(164, 211, 255, 0.45);
  font-size: 13px;
  font-weight: 500;
  letter-spacing: 0.02em;
  line-height: 48px;
  color: var(--color-accent-light);
  white-space: nowrap;
}

/* ---------- industries: copy and list on the left, a phone with the brand's push on the right ---------- */
.ind-panel { grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 48px; }
.ind-uses {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  column-gap: 28px;
  width: 100%;
  margin-top: 24px;
  max-width: 560px;
}
.ind-uses li,
.ind-uses li:first-child {
  min-height: 0;
  padding: 11px 0;
  border-top: 1px solid rgba(164, 211, 255, 0.14);
  border-bottom: 0;
  font-size: 16px;
  font-weight: 500;
}
.ind-result { margin-top: 28px; }

/* object of the industry (monochrome render) with the brand's pushes floating next to it */
.ind-visual {
  position: relative;
  width: 100%;
  max-width: 540px;
  aspect-ratio: 1;
  justify-self: center;
}
.ind-object {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  /* lighten: the dark backdrop lets the section glow through, only the glass shows */
  mix-blend-mode: lighten;
  /* the render's own dark backdrop dissolves into the page */
  -webkit-mask-image: radial-gradient(closest-side, #000 66%, transparent 100%);
  mask-image: radial-gradient(closest-side, #000 66%, transparent 100%);
}
.push {
  position: absolute;
  display: flex;
  gap: 10px;
  width: 272px;
  padding: 12px;
  border-radius: 18px;
  border: 1px solid rgba(164, 211, 255, 0.16);
  background-color: rgba(14, 24, 50, 0.72);
  -webkit-backdrop-filter: blur(18px);
  backdrop-filter: blur(18px);
  box-shadow: 0 24px 50px -20px rgba(0, 0, 0, 0.9);
  text-align: left;
}
.push--a { left: -4%; top: 12%; }
.push--b { right: -4%; bottom: 16%; width: 244px; }
/* travel: the suitcase's extended handle sits top-centre, keep the first push below it */
#ind-travel .push--a { top: 44%; left: -6%; }
#ind-travel .push--b { bottom: 6%; }
/* forex: the arrow tip reaches the top-right corner of the render, so only the very edge fades */
#ind-forex .ind-object {
  -webkit-mask-image: radial-gradient(closest-side, #000 80%, transparent 100%);
  mask-image: radial-gradient(closest-side, #000 80%, transparent 100%);
}
.push__app {
  display: flex;
  align-items: center;
  justify-content: center;
  flex: none;
  width: 36px;
  height: 36px;
  border-radius: 9px;
  background-image: linear-gradient(135deg, #0084ff, #6fb9ff);
  font-size: 13px;
  font-weight: 700;
  letter-spacing: 0.02em;
  color: #ffffff;
}
.push__body { min-width: 0; flex: 1; }
.push__meta {
  display: flex;
  justify-content: space-between;
  gap: 8px;
  font-size: 12px;
  line-height: 1.3;
  color: rgba(238, 244, 255, 0.55);
}
.push__meta b { font-weight: 600; color: rgba(238, 244, 255, 0.85); }
.push__title {
  margin-top: 2px;
  font-size: 14px;
  font-weight: 600;
  line-height: 1.3;
  color: #ffffff;
}
.push__text {
  margin-top: 2px;
  font-size: 13px;
  line-height: 1.38;
  color: rgba(235, 240, 255, 0.78);
}
/* the pushes arrive once when an industry opens: first one, then the second */
@media (prefers-reduced-motion: no-preference) {
  .ind.is-tabs .ind-panel.is-active .push--a { animation: push-in 0.6s 0.3s cubic-bezier(0.22, 0.61, 0.36, 1) both; }
  .ind.is-tabs .ind-panel.is-active .push--b { animation: push-in 0.6s 0.75s cubic-bezier(0.22, 0.61, 0.36, 1) both; }
  .ind.is-tabs .ind-panel.is-active .ind-object { animation: obj-in 0.7s cubic-bezier(0.22, 0.61, 0.36, 1) both; }
}
@keyframes push-in { from { opacity: 0; transform: translateY(14px); } to { opacity: 1; transform: none; } }
@keyframes obj-in { from { opacity: 0; transform: scale(0.96); } to { opacity: 1; transform: none; } }

/* ---------- lists that lost their icons ---------- */
.why-list { gap: 0; }
.why-item { padding: 13px 0; border-top: 1px solid rgba(164, 211, 255, 0.14); }
.why-item:last-child { border-bottom: 1px solid rgba(164, 211, 255, 0.14); }
/* a short accent dash before each item: no separators that could wrap to the start of a line */
.brand-infra { gap: 10px 22px; }
.brand-infra li::before {
  content: "";
  flex: none;
  width: 12px;
  height: 2px;
  margin-top: 0.62em; /* level with the first line when a label wraps */
  border-radius: 2px;
  background-image: linear-gradient(90deg, #0084ff, #a4d3ff);
}
.brand-infra li { align-items: flex-start; line-height: 1.3; }
.infra-feat::before {
  content: "";
  width: 28px;
  height: 2px;
  margin-bottom: 8px;
  border-radius: 2px;
  background-image: linear-gradient(90deg, #0084ff, #a4d3ff);
}

@media (max-width: 1023px) {
  .ind-panel { grid-template-columns: 1fr; gap: 40px; }
}
@media (max-width: 767px) {
  .mechanic { padding: 20px 0; gap: 14px; }
  .ticket { min-height: 44px; padding: 0 18px; }
  .ticket b { font-size: 20px; }
  .ticket small { line-height: 44px; }
  .ind-uses { column-gap: 20px; }
  .ind-uses li,
  .ind-uses li:first-child { font-size: 15px; }
  /* phones: the object on top, the pushes stacked below it like a little staircase */
  .ind-visual { display: flex; flex-direction: column; max-width: 400px; aspect-ratio: auto; margin-inline: auto; }
  .ind-object { position: relative; width: 100%; height: auto; aspect-ratio: 1; }
  .push { position: relative; inset: auto; width: 86%; padding: 10px; gap: 8px; }
  .push--a { margin-top: -22%; align-self: flex-start; }
  .push--b { width: 86%; margin-top: 8px; align-self: flex-end; }
  .push__app { width: 30px; height: 30px; font-size: 11px; }
  .push__title { font-size: 13px; }
  .push__text { font-size: 12px; }
  .why-item { padding: 12px 0; }
}
@media (max-width: 359px) {
  .ind-uses { grid-template-columns: 1fr; }
}

/* ---------- industries on phones: no tabs, all five in turn, the object right under the title ---------- */
@media (max-width: 767px) {
  .ind-stage { padding-top: 8px; }
  .ind-panel { display: flex; flex-direction: column; align-items: stretch; gap: 0; }
  .ind-main { display: contents; }
  .ind-name { order: 1; }
  .ind-title { order: 2; }
  .ind-visual { order: 3; width: 100%; margin: 4px auto 0; }
  .ind-text { order: 4; }
  .ind-uses { order: 5; }
  .ind-result { order: 6; }
  .ind-panel + .ind-panel { margin-top: 56px; padding-top: 48px; }
  /* the desktop nudges for the suitcase do not apply to the stacked pushes */
  #ind-travel .push--a,
  #ind-travel .push--b { top: auto; left: auto; right: auto; bottom: auto; }
}
/* the pushes arrive once the object scrolls into view */
@media (max-width: 767px) and (prefers-reduced-motion: no-preference) {
  .js .ind:not(.is-tabs) .push { opacity: 0; }
  .js .ind:not(.is-tabs) .ind-visual.is-seen .ind-object { animation: obj-in 0.7s cubic-bezier(0.22, 0.61, 0.36, 1) both; }
  .js .ind:not(.is-tabs) .ind-visual.is-seen .push--a { animation: push-in 0.6s 0.35s cubic-bezier(0.22, 0.61, 0.36, 1) both; }
  .js .ind:not(.is-tabs) .ind-visual.is-seen .push--b { animation: push-in 0.6s 0.8s cubic-bezier(0.22, 0.61, 0.36, 1) both; }
}
