/* CashNest — palette: Space #112D41, Red #EE432F, White #FCFCFB, Ink #061023, Mustard #FECB34, Orange #FF621F */

:root {
  --space: #112d41;
  --red: #ee432f;
  --white: #fcfcfb;
  --ink: #061023;
  --mustard: #fecb34;
  --orange: #ff621f;

  --surface: var(--white);
  --text: var(--ink);
  --muted: rgba(6, 16, 35, 0.58);
  --muted-on-dark: rgba(252, 252, 251, 0.72);
  --line: rgba(6, 16, 35, 0.12);
  --line-on-dark: rgba(252, 252, 251, 0.12);
  --radius: 16px;
  --radius-lg: 20px;
  --radius-pill: 999px;
  --shadow: 0 4px 24px rgba(6, 16, 35, 0.1);
  --shadow-lg: 0 24px 60px rgba(6, 16, 35, 0.35);
  --font: "Bricolage Grotesque", system-ui, sans-serif;
  --font-accent: "Fraunces", Georgia, serif;
  --ease: cubic-bezier(0.22, 1, 0.36, 1);
  --grad-nav-ring: linear-gradient(135deg, var(--mustard), var(--red), var(--orange));
  --grad-featured-card: linear-gradient(145deg, rgba(254, 203, 52, 0.45), rgba(238, 67, 47, 0.2), rgba(255, 98, 31, 0.25));
}

*,
*::before,
*::after {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
  /* Offset in-page anchors below promo + sticky nav */
  scroll-padding-top: clamp(72px, 14vw, 96px);
}

body {
  margin: 0;
  font-family: var(--font);
  font-size: 16px;
  font-weight: 300;
  line-height: 1.55;
  color: var(--text);
  background: var(--white);
  overflow-x: hidden;
}

/* —— Promo strip (above navbar) —— */

.promo-bar {
  background: linear-gradient(180deg, #fafbfc 0%, #f3f5f7 100%);
  color: var(--space);
  font-size: 0.76rem;
  border-bottom: 1px solid rgba(17, 45, 65, 0.08);
}

.promo-bar--space {
  background: linear-gradient(180deg, #153a52 0%, var(--space) 45%, #0c2233 100%);
  color: rgba(252, 252, 251, 0.95);
  border-bottom: 1px solid rgba(0, 0, 0, 0.15);
}

.promo-bar--space .promo-bar__text strong {
  color: var(--white);
  font-weight: 600;
}

.promo-bar--space .promo-bar__tag {
  color: rgba(252, 252, 251, 0.95);
  background: rgba(252, 252, 251, 0.12);
  border: 1px solid rgba(252, 252, 251, 0.18);
}

.promo-bar--ink {
  background: var(--ink);
  color: rgba(252, 252, 251, 0.9);
  border-bottom: 1px solid rgba(0, 0, 0, 0.22);
}

.promo-bar--ink .promo-bar__text strong {
  color: var(--white);
  font-weight: 600;
}

.promo-bar--ink .promo-bar__tag {
  color: rgba(252, 252, 251, 0.95);
  background: rgba(252, 252, 251, 0.1);
  border: 1px solid rgba(252, 252, 251, 0.16);
}

.promo-bar__inner {
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: 28px;
  padding: 0.2rem 0;
}

.promo-bar__text {
  margin: 0;
  text-align: center;
  flex: 1;
}

.promo-bar__tag {
  display: inline-block;
  margin-right: 0.45rem;
  padding: 0.1rem 0.45rem;
  font-size: 0.62rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  color: var(--space);
  background: rgba(254, 203, 52, 0.35);
  border-radius: var(--radius-pill);
}

.wrap {
  width: min(1120px, 100% - 40px);
  margin-inline: auto;
  position: relative;
  z-index: 1;
}

.wrap--wide {
  width: min(1280px, 100% - 48px);
}

/* —— Navbar: clean white sticky bar (grid lines live on hero only) —— */

.site-header--ref {
  position: sticky;
  top: 0;
  z-index: 100;
  overflow: visible;
  background-color: var(--white);
  border-bottom: 1px solid rgba(17, 45, 65, 0.08);
  box-shadow: 0 2px 16px rgba(6, 16, 35, 0.04);
}

.site-header--ref.nav-is-open {
  box-shadow: 0 1px 0 rgba(17, 45, 65, 0.06);
}

/* Top bar: logo · nav · CTA (desktop); logo · menu (mobile) + dropdown nav */

.nav-shell {
  position: relative;
  display: grid;
  grid-template-columns: auto 1fr auto;
  align-items: center;
  gap: 0.75rem 1rem;
  min-height: 64px;
}

.logo {
  text-decoration: none;
  justify-self: start;
}

.logo-img--nav {
  height: 32px;
  width: auto;
  max-width: min(200px, 55vw);
  object-fit: contain;
  display: block;
}

.logo-img--footer {
  height: 22px;
  width: auto;
  max-width: min(132px, 38vw);
  object-fit: contain;
  display: block;
}

.nav-actions {
  display: none;
  align-items: center;
  gap: 0.5rem;
}

.nav-mid--mobile-cta {
  display: none;
}

@media (max-width: 880px) {
  .nav-mid--mobile-cta {
    display: block;
    font-weight: 600;
  }
}

@media (min-width: 881px) {
  .nav-mid--mobile-cta {
    display: none !important;
  }
}

.nav-mid {
  color: var(--space);
  text-decoration: none;
  font-size: 0.92rem;
  font-weight: 500;
  padding: 0.4rem 0;
  transition: color 0.25s;
}

.nav-mid:hover {
  color: var(--red);
}

.nav-cta-ref {
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
  padding: 0.55rem 1.15rem;
  border-radius: var(--radius-pill);
  border: 1px solid rgba(252, 252, 251, 0.12);
  background: var(--red);
  color: var(--white);
  text-decoration: none;
  font-size: 0.88rem;
  font-weight: 600;
  transition: background 0.25s, transform 0.2s var(--ease), box-shadow 0.25s;
  box-shadow: 0 4px 14px rgba(238, 67, 47, 0.3);
}

.nav-cta-ref--space {
  background: linear-gradient(165deg, #16364a 0%, var(--space) 40%, #0a1f30 100%);
  color: rgba(252, 252, 251, 0.98);
  border: 1px solid rgba(252, 252, 251, 0.14);
  box-shadow:
    0 4px 16px rgba(6, 16, 35, 0.2),
    inset 0 1px 0 rgba(255, 255, 255, 0.08);
  font-weight: 500;
}

.nav-cta-ref--space:hover {
  filter: brightness(1.08);
  transform: translateY(-1px);
}

.nav-cta-ref--hero-light {
  color: var(--space);
  background: rgba(255, 255, 255, 0.85);
  border: 1px solid rgba(17, 45, 65, 0.14);
  box-shadow: none;
  border-radius: 30px;
  font-weight: 600;
}

.nav-cta-ref--hero-light:hover {
  background: var(--white);
  border-color: rgba(238, 67, 47, 0.35);
  color: var(--red);
  transform: translateY(-2px);
  filter: none;
  box-shadow: none;
}

.nav-cta-ref:not(.nav-cta-ref--space):not(.nav-cta-ref--hero-light):hover {
  filter: brightness(1.05);
  transform: translateY(-1px);
}

.nav-arrow {
  font-size: 1rem;
  line-height: 1;
}

.nav-toggle {
  display: none;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  gap: 4px;
  width: 44px;
  height: 44px;
  padding: 0;
  margin: 0;
  border: none;
  border-radius: 8px;
  background: transparent;
  cursor: pointer;
  -webkit-tap-highlight-color: transparent;
  transition: background 0.15s ease;
}

.nav-toggle:hover,
.nav-toggle:focus-visible {
  background: rgba(17, 45, 65, 0.06);
}

.nav-toggle:focus-visible {
  outline: 2px solid rgba(238, 67, 47, 0.45);
  outline-offset: 2px;
}

.nav-toggle span {
  display: block;
  width: 18px;
  height: 2px;
  margin: 0;
  background: var(--space);
  border-radius: 1px;
}

.site-nav {
  display: flex;
  flex-direction: column;
  align-items: stretch;
  gap: 0;
  max-height: 0;
  overflow: hidden;
  opacity: 0;
  pointer-events: none;
  transition: max-height 0.22s ease, opacity 0.18s ease;
  padding: 0;
}

@media (max-width: 880px) {
  .nav-shell {
    grid-template-columns: 1fr auto;
    min-height: 56px;
  }

  .logo-img--nav {
    height: 24px;
    max-width: min(148px, 42vw);
  }

  .nav-shell .logo {
    grid-column: 1;
    grid-row: 1;
  }

  .nav-shell .nav-toggle {
    display: inline-flex;
    grid-column: 2;
    grid-row: 1;
    justify-self: end;
    align-self: center;
  }

  .nav-shell .nav-actions {
    display: none;
  }

  .nav-shell .site-nav {
    grid-column: 1 / -1;
    grid-row: 2;
    position: absolute;
    top: 100%;
    left: 50%;
    right: auto;
    transform: translateX(-50%);
    width: 100vw;
    max-width: 100vw;
    box-sizing: border-box;
    z-index: 400;
    margin: 0.35rem 0 0;
    background: var(--white);
    border-radius: 0 0 12px 12px;
    border: 1px solid rgba(17, 45, 65, 0.1);
    border-top: none;
    box-shadow: 0 8px 24px rgba(6, 16, 35, 0.1);
  }

  .nav-shell .site-nav.is-open {
    max-height: 420px;
    opacity: 1;
    pointer-events: auto;
    padding: 0.45rem 0;
    overflow-y: auto;
    -webkit-overflow-scrolling: touch;
  }

  .nav-shell .site-nav .nav-mid {
    padding: 0.55rem 1.15rem;
    border-bottom: none;
    font-size: 0.94rem;
  }

  .nav-shell .site-nav .nav-mid:last-child {
    padding-bottom: 0.55rem;
  }

  .nav-shell .site-nav .nav-mid:first-child {
    padding-top: 0.5rem;
  }
}

@media (min-width: 881px) {
  .nav-toggle {
    display: none !important;
  }

  .site-nav.site-nav--center {
    display: flex;
    flex-direction: row;
    align-items: center;
    justify-content: center;
    gap: 2rem;
    grid-column: 2;
    max-height: none !important;
    opacity: 1 !important;
    pointer-events: auto !important;
    padding: 0 !important;
    overflow: visible;
  }

  .nav-actions {
    display: flex;
    align-items: center;
    grid-column: 3;
    justify-self: end;
  }
}

/* —— Hero (reference: grid, glows, badge, split headline, preview image) —— */

.hero-ref {
  position: relative;
  background: var(--white);
  padding: 0;
  overflow: hidden;
  border: none;
}

@media (max-width: 900px) {
  .hero-ref {
    overflow: visible;
  }
}

.hero-ref__bg {
  position: absolute;
  inset: 0;
  pointer-events: none;
}

.hero-ref__grid {
  position: absolute;
  inset: 0;
  opacity: 1;
  background-color: transparent;
  background-image:
    radial-gradient(circle at center, rgba(17, 45, 65, 0.11) 1.15px, transparent 1.35px),
    linear-gradient(
      118deg,
      rgba(254, 203, 52, 0.045) 0%,
      transparent 42%,
      rgba(17, 45, 65, 0.02) 100%
    );
  background-size: 22px 22px, 100% 100%;
  background-position: 0 0, 0 0;
  mask-image: linear-gradient(180deg, black 0%, black 82%, transparent 100%);
}

.hero-ref__layout {
  position: relative;
  z-index: 2;
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1.05fr);
  gap: clamp(1.5rem, 4vw, 3.5rem);
  align-items: center;
  padding: clamp(2rem, 5vw, 4.5rem) 0 clamp(3rem, 7vw, 5.5rem);
}

.hero-ref__layout > .hero-copy {
  position: relative;
  z-index: 2;
}

.hero-ref__layout > .hero-preview-col {
  position: relative;
  z-index: 1;
}

.hero-copy--ref {
  text-align: center;
  max-width: 44rem;
  margin: 0 auto;
}

.hero-copy--split {
  text-align: left;
  max-width: none;
  margin: 0;
}

.hero-preview-col {
  position: relative;
  min-width: 0;
}

.hero-copy--split .hero-badge {
  margin: 0 0 1.25rem;
}

.hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  margin: 0 auto 1.25rem;
  padding: 0.45rem 1rem 0.45rem 0.65rem;
  font-size: 0.78rem;
  font-weight: 500;
  color: rgba(252, 252, 251, 0.88);
  background: rgba(252, 252, 251, 0.06);
  border: 1px solid var(--line-on-dark);
  border-radius: var(--radius-pill);
  text-align: left;
  line-height: 1.35;
}

.hero-badge--light {
  color: var(--space);
  background: rgba(17, 45, 65, 0.04);
  border: 1px solid rgba(17, 45, 65, 0.1);
}

.hero-badge-dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--mustard), var(--orange));
  flex-shrink: 0;
}

.hero-title-ref {
  margin: 0 0 1rem;
}

.hero-title-ref__sans {
  display: block;
  font-size: clamp(1.85rem, 4.2vw, 2.85rem);
  font-weight: 600;
  letter-spacing: -0.03em;
  color: var(--ink);
  line-height: 1.12;
}

.hero-title-ref__accent {
  display: block;
  font-family: var(--font-accent);
  font-style: italic;
  font-size: clamp(2rem, 5vw, 3.15rem);
  font-weight: 500;
  line-height: 1.1;
  margin-top: 0.15rem;
  background: linear-gradient(125deg, var(--mustard) 0%, var(--orange) 45%, var(--red) 100%);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}

.lede--on-dark {
  color: var(--muted-on-dark);
  font-size: 1.05rem;
  max-width: 36rem;
  margin: 0 auto 1.5rem;
}

.lede--hero {
  color: var(--muted);
  font-size: 1.05rem;
  max-width: 36rem;
  margin: 0 auto 1.5rem;
}

.hero-copy--split .lede--hero {
  margin-left: 0;
  margin-right: 0;
}

.hero-actions--ref {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
  justify-content: center;
  margin-bottom: 1rem;
}

.hero-actions--split {
  justify-content: flex-start;
}

.hero-copy--split .fineprint--hero {
  max-width: 40ch;
}

.fineprint--hero {
  font-size: 0.78rem;
  color: rgba(6, 16, 35, 0.45);
  margin: 0;
}

.btn-arrow {
  display: inline-block;
  margin-left: 0.15rem;
  font-size: 1.05rem;
}

.btn-hero-primary {
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
  padding: 0.8rem 1.35rem;
  border-radius: 12px;
  font-family: var(--font);
  font-size: 0.95rem;
  font-weight: 600;
  text-decoration: none;
  color: var(--ink);
  background: linear-gradient(135deg, var(--mustard) 0%, var(--orange) 100%);
  box-shadow: 0 8px 28px rgba(254, 203, 52, 0.25);
  transition: transform 0.2s var(--ease), box-shadow 0.2s;
}

.btn-hero-primary:hover {
  transform: translateY(-2px);
  box-shadow: 0 12px 32px rgba(255, 98, 31, 0.3);
}

.btn-hero-secondary {
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
  padding: 0.8rem 1.35rem;
  border-radius: 12px;
  font-family: var(--font);
  font-size: 0.95rem;
  font-weight: 600;
  text-decoration: none;
  color: var(--white);
  background: rgba(252, 252, 251, 0.06);
  border: 1px solid rgba(252, 252, 251, 0.35);
  transition: background 0.2s, border-color 0.2s, transform 0.2s;
}

.btn-hero-secondary:hover {
  background: rgba(252, 252, 251, 0.12);
  border-color: rgba(252, 252, 251, 0.55);
  transform: translateY(-2px);
}

.fineprint--on-dark {
  font-size: 0.78rem;
  color: rgba(252, 252, 251, 0.5);
  margin: 0;
}

.btn-hero-secondary--light {
  color: var(--space);
  background: rgba(255, 255, 255, 0.85);
  border: 1px solid rgba(17, 45, 65, 0.14);
  box-shadow: 0 2px 12px rgba(6, 16, 35, 0.05);
}

.btn-hero-secondary--light:hover {
  background: var(--white);
  border-color: rgba(238, 67, 47, 0.35);
  color: var(--red);
}

/* Hero — “Download the App”: red fill, white label, faded space border, Apple glyph (later .btn must not win) */
.hero-actions a.btn.btn-hero-download-app,
a.btn.btn-hero-download-app,
.btn-hero-download-app {
  display: inline-flex !important;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  padding: 0.8rem 1.35rem;
  /* Match .btn + Explore (btn-hero-secondary--light) — pill radius from design tokens */
  border-radius: var(--radius-pill);
  font-family: var(--font);
  font-size: 0.95rem;
  font-weight: 600;
  text-decoration: none !important;
  /* Space #112D41 @ ~40% — visible rim on red without heavy contrast */
  color: #fcfcfb !important;
  background: #ee432f !important;
  border: 1px solid rgba(17, 45, 65, 0.42) !important;
  box-shadow: 0 4px 18px rgba(238, 67, 47, 0.28);
  transition: transform 0.2s var(--ease), filter 0.2s, box-shadow 0.2s;
  -webkit-tap-highlight-color: transparent;
}

.hero-actions a.btn.btn-hero-download-app:hover,
a.btn.btn-hero-download-app:hover,
.btn-hero-download-app:hover {
  color: #fcfcfb !important;
  background: #ee432f !important;
  border-color: rgba(17, 45, 65, 0.5) !important;
  filter: brightness(1.05);
  transform: translateY(-2px);
  box-shadow: 0 8px 24px rgba(238, 67, 47, 0.32);
}

.btn-hero-download-app__apple {
  width: 22px;
  height: 22px;
  flex-shrink: 0;
  display: block;
  color: #fcfcfb !important;
}

.btn-hero-download-app__apple path {
  fill: currentColor !important;
}

/* Hero spotlight deck — center hero + diagonal companions; depth via soft shadow only (no borders) */

.hero-showcase {
  position: relative;
  width: 100%;
  max-width: min(540px, 100%);
  margin-inline: auto;
  padding: 1rem 0 1.75rem;
  isolation: isolate;
}

.hero-showcase__aurora {
  position: absolute;
  inset: 8% 0 12%;
  border-radius: 50%;
  pointer-events: none;
  z-index: 0;
  filter: blur(48px);
  opacity: 0.9;
  background:
    radial-gradient(ellipse 80% 60% at 35% 40%, rgba(254, 203, 52, 0.2) 0%, transparent 55%),
    radial-gradient(ellipse 70% 55% at 70% 65%, rgba(120, 195, 180, 0.16) 0%, transparent 58%);
  animation: hero-aurora-shift 22s cubic-bezier(0.45, 0.05, 0.55, 0.95) infinite;
}

.hero-showcase__deck {
  position: relative;
  z-index: 1;
  min-height: clamp(280px, 52vw, 430px);
  animation: hero-deck-float 14s cubic-bezier(0.45, 0.05, 0.55, 0.95) infinite;
}

.hero-showcase__shot {
  margin: 0;
  position: absolute;
  overflow: hidden;
  border: none;
  outline: none;
  border-radius: 24px;
  background: transparent;
  box-shadow: none;
  filter: drop-shadow(0 18px 32px rgba(17, 45, 65, 0.1));
  transition:
    transform 0.75s cubic-bezier(0.16, 1, 0.3, 1),
    filter 0.75s cubic-bezier(0.16, 1, 0.3, 1),
    opacity 0.75s cubic-bezier(0.16, 1, 0.3, 1);
}

.hero-showcase__shot img {
  display: block;
  width: 100%;
  height: auto;
  vertical-align: middle;
  border-radius: inherit;
}

.hero-showcase__shot--center {
  left: 50%;
  top: 50%;
  transform: translate(-50%, -50%);
  width: 58%;
  max-width: 288px;
  z-index: 4;
  border-radius: 28px;
  filter: drop-shadow(0 26px 44px rgba(17, 45, 65, 0.12));
}

.hero-showcase__shot--left {
  left: 0;
  top: 10%;
  width: 44%;
  max-width: 210px;
  transform: rotate(-12deg);
  z-index: 1;
  opacity: 0.96;
}

.hero-showcase__shot--right {
  right: 0;
  bottom: 6%;
  width: 44%;
  max-width: 210px;
  transform: rotate(12deg);
  z-index: 2;
  opacity: 0.96;
}

@keyframes hero-deck-float {
  0%,
  100% {
    transform: translate3d(0, 0, 0);
  }

  25% {
    transform: translate3d(0, -6px, 0);
  }

  50% {
    transform: translate3d(0, -3px, 0);
  }

  75% {
    transform: translate3d(0, -5px, 0);
  }
}

@keyframes hero-aurora-shift {
  0%,
  100% {
    transform: scale(1) translate3d(0, 0, 0);
    opacity: 0.9;
  }

  50% {
    transform: scale(1.03) translate3d(4px, -6px, 0);
    opacity: 0.95;
  }
}

@media (hover: hover) {
  .hero-showcase:hover .hero-showcase__shot--center {
    filter: drop-shadow(0 32px 52px rgba(17, 45, 65, 0.14));
    transform: translate(-50%, calc(-50% - 4px));
  }

  .hero-showcase:hover .hero-showcase__shot--left {
    transform: rotate(-9deg) translate3d(0, -4px, 0);
    filter: drop-shadow(0 22px 38px rgba(17, 45, 65, 0.11));
  }

  .hero-showcase:hover .hero-showcase__shot--right {
    transform: rotate(9deg) translate3d(0, -4px, 0);
    filter: drop-shadow(0 22px 38px rgba(17, 45, 65, 0.11));
  }
}

@media (prefers-reduced-motion: reduce) {
  .hero-showcase__deck,
  .hero-showcase__aurora {
    animation: none;
  }

  .hero-showcase__shot {
    transition: transform 0.35s var(--ease), filter 0.35s;
  }
}

@media (max-width: 900px) {
  /* Flex column guarantees copy → images order; extra space keeps screenshots below the headline */
  .hero-ref__layout {
    display: flex;
    flex-direction: column;
    align-items: stretch;
    gap: 0;
    padding-bottom: clamp(5.5rem, 16vw, 9.5rem);
  }

  .hero-ref__layout > .hero-copy {
    order: 1;
    flex: 0 0 auto;
    width: 100%;
    position: relative;
    z-index: 3;
    isolation: isolate;
  }

  .hero-ref__layout > .hero-preview-col {
    order: 2;
    flex: 0 0 auto;
    width: 100%;
    position: relative;
    z-index: 0;
    margin-top: clamp(2.25rem, 8vw, 4rem);
    padding-top: clamp(2.25rem, 7vw, 3.75rem);
    margin-bottom: clamp(2.75rem, 9vw, 5rem);
  }

  .hero-showcase {
    max-width: min(540px, 100%);
    margin-inline: auto;
    margin-bottom: 0;
    margin-top: 0;
    padding: 0.75rem 0 clamp(3rem, 9vw, 4.75rem);
  }

  .hero-showcase__deck {
    min-height: clamp(280px, 68vw, 440px);
    padding-top: clamp(2.25rem, 6vw, 3.25rem);
  }

  /* Lower the fanned phones inside the deck so they don’t creep over the copy */
  .hero-showcase__shot--center {
    top: 64%;
  }

  .hero-showcase__shot--left {
    top: 28%;
  }

  .hero-showcase__shot--right {
    bottom: 0;
  }

  .hero-copy--split {
    text-align: center;
  }

  .hero-copy--split .hero-badge.hero-badge--light {
    font-size: 0.68rem;
    padding: 0.3rem 0.75rem 0.3rem 0.55rem;
    line-height: 1.3;
  }

  .hero-copy--split .hero-badge {
    margin-left: auto;
    margin-right: auto;
  }

  .hero-copy--split .lede--on-dark {
    margin-left: auto;
    margin-right: auto;
  }

  .hero-actions--split {
    flex-wrap: nowrap;
    justify-content: center;
    align-items: stretch;
    gap: 0.5rem;
    max-width: 100%;
    margin-left: auto;
    margin-right: auto;
  }

  .hero-actions--split .btn-hero-primary,
  .hero-actions--split .btn-hero-secondary,
  .hero-actions--split .btn-hero-download-app {
    flex: 1 1 0;
    min-width: 0;
    justify-content: center;
    padding: 0.7rem 0.65rem;
    font-size: 0.8rem;
    gap: 0.25rem;
  }

  .hero-actions--split .btn-arrow {
    font-size: 0.95rem;
  }

  .hero-copy--split .fineprint--on-dark {
    margin-left: auto;
    margin-right: auto;
  }

  /* Air gap before the next band (screenshots + shadows can extend past the deck box) */
  .hero-ref + .spot-highlights {
    margin-top: clamp(1.75rem, 6vw, 3rem);
    padding-top: clamp(2.5rem, 8vw, 4rem);
  }
}

/* Section bands */

.band--white {
  background: var(--white);
}

.band--subtle {
  background: linear-gradient(180deg, #fefefe 0%, #f7f8f9 100%);
}

.band--border-red {
  border-bottom: 1px solid rgba(238, 67, 47, 0.22);
}

.band--footer-line {
  border-top: 2px solid rgba(238, 67, 47, 0.35);
}

.band--space {
  background: linear-gradient(160deg, var(--space) 0%, var(--ink) 55%, #0d2030 100%);
}

.band--space-deep {
  background: linear-gradient(180deg, #0a1624 0%, var(--space) 40%, var(--ink) 100%);
}

.band--ink {
  background: var(--ink);
}

/* —— Hero follow-up: light text row (links side by side, no card chrome) —— */

.spot-highlights {
  padding: clamp(1.1rem, 2.5vw, 1.5rem) 0 clamp(1rem, 2.5vw, 1.35rem);
  position: relative;
  z-index: 1;
}

.spot-highlights__text-row {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  align-items: flex-start;
  gap: 0;
  list-style: none;
  margin: 0 0 0.85rem;
  padding: 0;
}

.spot-highlights__text-row > li {
  flex: 1 1 140px;
  min-width: 0;
  max-width: 260px;
  padding: 0 clamp(0.65rem, 1.8vw, 1.1rem);
  text-align: center;
  border-left: 1px solid rgba(17, 45, 65, 0.06);
}

.spot-highlights__text-row > li:first-child {
  border-left: none;
}

.spot-text-link {
  display: block;
  width: 100%;
  text-decoration: none;
  color: inherit;
  padding: 0.15rem 0;
  border-radius: 6px;
  transition: color 0.2s var(--ease);
}

.spot-text-link:hover .spot-text-link__title {
  color: var(--red);
}

.spot-text-link:focus-visible {
  outline: 2px solid var(--red);
  outline-offset: 3px;
}

.spot-text-link__title {
  display: block;
  font-size: 0.88rem;
  font-weight: 600;
  color: rgba(6, 16, 35, 0.82);
  letter-spacing: -0.02em;
  line-height: 1.25;
}

.spot-text-link__desc {
  display: block;
  margin-top: 0.2rem;
  font-size: 0.74rem;
  font-weight: 400;
  color: rgba(6, 16, 35, 0.45);
  line-height: 1.4;
}

.spot-sync-trust {
  text-align: center;
  padding: 0.65rem 0.75rem 0;
  border-top: none;
}

.spot-sync-trust__copy {
  margin: 0 auto;
  max-width: 36rem;
  font-size: 0.76rem;
  color: rgba(6, 16, 35, 0.4);
  line-height: 1.45;
}

@media (max-width: 720px) {
  .spot-highlights__text-row {
    flex-direction: column;
    align-items: stretch;
    gap: 0.5rem;
    margin-bottom: 0.65rem;
  }

  .spot-highlights__text-row > li {
    border-left: none;
    max-width: none;
    padding: 0;
  }

  .spot-text-link {
    text-align: center;
    padding: 0.35rem 0;
  }
}

.strip {
  padding: 1.25rem 0;
  position: relative;
  z-index: 1;
}

.strip-inner {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  align-items: center;
  gap: 0.5rem 1rem;
  font-size: 0.9rem;
  color: var(--space);
  font-weight: 500;
  text-align: center;
}

.strip-dot {
  opacity: 0.4;
  color: var(--red);
}

/* Sections */

.section {
  padding: clamp(3rem, 8vw, 5rem) 0;
  position: relative;
  z-index: 1;
}

.section-head {
  text-align: center;
  max-width: 560px;
  margin: 0 auto 2.5rem;
}

.section-head h2 {
  font-size: clamp(1.6rem, 3vw, 2rem);
  font-weight: 500;
  color: var(--ink);
  letter-spacing: -0.02em;
  margin: 0 0 0.75rem;
}

.section-head p {
  margin: 0;
  color: var(--muted);
  font-size: 1.05rem;
}

.section-head--pricing {
  max-width: 640px;
}

.section-kicker {
  font-size: 0.75rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.14em;
  color: var(--red);
  margin: 0 0 0.5rem;
}

.section-head.section-head--features-grid {
  margin: 0 auto clamp(2.25rem, 5vw, 3.25rem);
  max-width: 720px;
  text-align: center;
}

.section-head--features-grid h2 {
  font-size: clamp(1.75rem, 3.5vw, 2.25rem);
  font-weight: 500;
  letter-spacing: -0.03em;
  line-height: 1.2;
  color: rgba(6, 16, 35, 0.78);
  margin: 0 0 0.85rem;
}

.section-head__lede--features {
  margin: 0 0 1.5rem;
  font-size: 1.05rem;
  line-height: 1.6;
  color: #5c6670;
  font-weight: 400;
}

.band--features-grid {
  background: #ffffff;
  border-block: 1px solid rgba(17, 45, 65, 0.06);
}

.section-features-grid {
  padding: clamp(3.25rem, 9vw, 5.5rem) 0;
}

.feature-tile-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: clamp(1.75rem, 3.5vw, 2.75rem);
  max-width: 1180px;
  margin: 0 auto;
}

.feature-tile {
  min-width: 0;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  text-align: left;
}

.feature-tile__visual {
  width: 100%;
  border-radius: 28px;
  padding: clamp(0.2rem, 0.45vw, 0.35rem);
  margin-bottom: 1rem;
  background: linear-gradient(180deg, #f3f7f5 0%, #edf3f0 100%);
  border: 1px solid rgba(17, 45, 65, 0.06);
  box-shadow: 0 1px 0 rgba(255, 255, 255, 0.9) inset;
  display: flex;
  justify-content: center;
}

.feature-tile--budgets .feature-tile__visual,
.feature-tile--insights .feature-tile__visual,
.feature-tile--split .feature-tile__visual,
.feature-tile--expenses .feature-tile__visual,
.feature-tile--goals .feature-tile__visual,
.feature-tile--assets .feature-tile__visual,
.feature-tile--encryption .feature-tile__visual,
.feature-tile--payment .feature-tile__visual,
.feature-tile--voice .feature-tile__visual {
  background: linear-gradient(180deg, #f1f6f4 0%, #eaf1ed 100%);
}

.feature-tile__shot {
  position: relative;
  margin: 0;
  border-radius: 22px;
  overflow: hidden;
  background: linear-gradient(180deg, #eef2f0 0%, #e4ebe7 100%);
  border: 0;
  width: 100%;
  max-width: 100%;
  height: min(42vh, 400px);
  box-shadow:
    0 1px 0 rgba(255, 255, 255, 0.75) inset,
    0 10px 28px rgba(17, 45, 65, 0.08);
}

.feature-tile__stack {
  position: absolute;
  inset: 0;
  overflow: hidden;
  border-radius: inherit;
}

.feature-tile__stack-img {
  position: absolute;
  left: 0;
  top: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: top center;
  display: block;
  border-radius: 18px;
  backface-visibility: hidden;
  transform: translate3d(0, 0, 0);
  will-change: transform, opacity;
}

/* All image tiles run the same 12s / 3-slide loop; small per-tile offset so rows don’t flip on the exact same frame. */
.feature-tile:not(.feature-tile--soon) .feature-tile__stack-img {
  animation-name: feature-carousel;
  animation-duration: 12s;
  /* Smooth interpolation between dense stops (Material-style ease; avoids linear “stair-steps”). */
  animation-timing-function: cubic-bezier(0.4, 0, 0.2, 1);
  animation-iteration-count: infinite;
  animation-fill-mode: both;
}

/*
 * Vertical deck: slide up / in from bottom in one 12s loop. Layers use 0s / 4s / 8s so at t=4s img1 exits while img2 enters (no negative delay — keeps phases aligned).
 */
.feature-tile:not(.feature-tile--soon):nth-child(1) .feature-tile__stack-img:nth-child(1) {
  animation-delay: 0s;
}

.feature-tile:not(.feature-tile--soon):nth-child(1) .feature-tile__stack-img:nth-child(2) {
  animation-delay: 4s;
}

.feature-tile:not(.feature-tile--soon):nth-child(1) .feature-tile__stack-img:nth-child(3) {
  animation-delay: 8s;
}

.feature-tile:not(.feature-tile--soon):nth-child(2) .feature-tile__stack-img:nth-child(1) {
  animation-delay: 0.35s;
}

.feature-tile:not(.feature-tile--soon):nth-child(2) .feature-tile__stack-img:nth-child(2) {
  animation-delay: calc(4s + 0.35s);
}

.feature-tile:not(.feature-tile--soon):nth-child(2) .feature-tile__stack-img:nth-child(3) {
  animation-delay: calc(8s + 0.35s);
}

.feature-tile:not(.feature-tile--soon):nth-child(3) .feature-tile__stack-img:nth-child(1) {
  animation-delay: 0.7s;
}

.feature-tile:not(.feature-tile--soon):nth-child(3) .feature-tile__stack-img:nth-child(2) {
  animation-delay: calc(4s + 0.7s);
}

.feature-tile:not(.feature-tile--soon):nth-child(3) .feature-tile__stack-img:nth-child(3) {
  animation-delay: calc(8s + 0.7s);
}

.feature-tile:not(.feature-tile--soon):nth-child(4) .feature-tile__stack-img:nth-child(1) {
  animation-delay: 1.05s;
}

.feature-tile:not(.feature-tile--soon):nth-child(4) .feature-tile__stack-img:nth-child(2) {
  animation-delay: calc(4s + 1.05s);
}

.feature-tile:not(.feature-tile--soon):nth-child(4) .feature-tile__stack-img:nth-child(3) {
  animation-delay: calc(8s + 1.05s);
}

.feature-tile:not(.feature-tile--soon):nth-child(5) .feature-tile__stack-img:nth-child(1) {
  animation-delay: 1.4s;
}

.feature-tile:not(.feature-tile--soon):nth-child(5) .feature-tile__stack-img:nth-child(2) {
  animation-delay: calc(4s + 1.4s);
}

.feature-tile:not(.feature-tile--soon):nth-child(5) .feature-tile__stack-img:nth-child(3) {
  animation-delay: calc(8s + 1.4s);
}

.feature-tile:not(.feature-tile--soon):nth-child(6) .feature-tile__stack-img:nth-child(1) {
  animation-delay: 1.75s;
}

.feature-tile:not(.feature-tile--soon):nth-child(6) .feature-tile__stack-img:nth-child(2) {
  animation-delay: calc(4s + 1.75s);
}

.feature-tile:not(.feature-tile--soon):nth-child(6) .feature-tile__stack-img:nth-child(3) {
  animation-delay: calc(8s + 1.75s);
}

@keyframes feature-carousel {
  /* 12s = 3 slides × ~4s: enter from bottom (0–8%) → hold (8–26%) → exit up (26–33.33%) → wait below (rest) */
  0% {
    transform: translate3d(0, 108%, 0);
    z-index: 28;
    opacity: 1;
    box-shadow:
      0 18px 40px rgba(17, 45, 65, 0.1),
      0 2px 0 rgba(255, 255, 255, 0.32) inset;
  }

  8% {
    transform: translate3d(0, 0, 0);
    z-index: 50;
    opacity: 1;
    box-shadow:
      0 22px 48px rgba(17, 45, 65, 0.14),
      0 2px 0 rgba(255, 255, 255, 0.4) inset;
  }

  26% {
    transform: translate3d(0, 0, 0);
    z-index: 50;
    opacity: 1;
    box-shadow:
      0 22px 48px rgba(17, 45, 65, 0.14),
      0 2px 0 rgba(255, 255, 255, 0.4) inset;
  }

  33.33% {
    transform: translate3d(0, -118%, 0);
    z-index: 46;
    opacity: 1;
    box-shadow: 0 12px 28px rgba(17, 45, 65, 0.08);
  }

  33.34%,
  100% {
    transform: translate3d(0, 108%, 0);
    z-index: 6;
    opacity: 1;
    box-shadow: none;
  }
}

@media (hover: hover) and (pointer: fine) {
  .feature-tile:not(.feature-tile--soon):hover .feature-tile__stack-img {
    animation-play-state: paused;
  }
}

@media (prefers-reduced-motion: reduce) {
  .feature-tile__stack-img {
    animation: none !important;
    transform: none !important;
    filter: none !important;
    box-shadow: none !important;
    opacity: 0;
    z-index: 1;
  }

  .feature-tile__stack-img:first-child {
    opacity: 1;
    z-index: 2;
  }
}

.feature-tile__visual--placeholder {
  width: 100%;
  min-height: min(42vh, 400px);
  max-height: min(42vh, 400px);
  align-items: center;
  justify-content: center;
}

.feature-tile__placeholder {
  text-align: center;
  padding: 0.5rem;
}

.feature-tile__placeholder-icon {
  opacity: 0.3;
}

.feature-tile__placeholder-text {
  margin: 0.65rem 0 0;
  font-size: 0.82rem;
  font-weight: 500;
  color: rgba(6, 16, 35, 0.42);
}

.feature-tile__title-wrap {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 0.45rem 0.65rem;
  margin: 0 0 0.5rem;
}

.feature-tile__title {
  display: flex;
  align-items: center;
  gap: 0.45rem;
  font-size: clamp(1.05rem, 1.35vw, 1.2rem);
  font-weight: 400;
  color: rgba(6, 16, 35, 0.72);
  letter-spacing: -0.015em;
  margin: 0 0 0.5rem;
  line-height: 1.35;
}

.feature-tile__title-icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  width: 40px;
  height: 40px;
  border-radius: 50%;
  background: linear-gradient(160deg, #153a52 0%, var(--space) 42%, #0c2233 100%);
  box-shadow:
    0 2px 6px rgba(17, 45, 65, 0.18),
    0 1px 0 rgba(255, 255, 255, 0.12) inset;
}

.feature-tile__title-icon img {
  width: 20px;
  height: 20px;
  display: block;
  opacity: 1;
  filter: brightness(0) invert(1);
}

.feature-tile:not(.feature-tile--soon) .feature-tile__title {
  margin-bottom: 0.5rem;
}

.feature-tile--soon .feature-tile__title {
  margin: 0;
}

.feature-tile__desc {
  margin: 0;
  font-size: 0.92rem;
  line-height: 1.6;
  color: #666666;
  text-align: left;
  max-width: 42ch;
}

@media (max-width: 960px) {
  .feature-tile-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (max-width: 560px) {
  .feature-tile-grid {
    grid-template-columns: 1fr;
  }
}

/* Pricing */

.section-pricing {
  border-block: 1px solid rgba(17, 45, 65, 0.06);
}

/* Reference layout: white canvas, price-first cards (SmartSpace-style hierarchy) */
.section-pricing--ref {
  background: #fff !important;
  padding-top: clamp(3.5rem, 10vw, 5.5rem);
  padding-bottom: clamp(3.5rem, 10vw, 5.5rem);
}

.section-head--pricing-ref {
  max-width: 640px;
}

.section-head--pricing-ref h2 {
  font-size: clamp(1.65rem, 3.5vw, 2.15rem);
  font-weight: 600;
  letter-spacing: -0.03em;
  line-height: 1.2;
}

.section-head--pricing-ref .section-head__lede {
  font-size: 1.05rem;
  color: var(--muted);
  margin: 0;
  line-height: 1.55;
}

.section-kicker--space {
  color: var(--space);
  font-weight: 700;
  letter-spacing: 0.03em;
  text-transform: none;
  font-size: 0.9rem;
}

.pricing-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.75rem;
  max-width: 1120px;
  margin: 0 auto;
  align-items: stretch;
}

.pricing-grid--ref {
  gap: clamp(1.5rem, 3vw, 2.25rem);
  align-items: stretch;
  padding-top: 4.5rem;
}

.pricing-column {
  display: flex;
  flex-direction: column;
  gap: 0.65rem;
  min-width: 0;
  align-items: stretch;
}

.pricing-column .price-card--ref {
  flex: 1;
  min-height: 100%;
}

/* Hand-drawn “Most popular!” — outside the card, clearly above it */
.pricing-column--featured {
  position: relative;
  padding-top: 0;
}

.price-popular-sketch--outside {
  position: absolute;
  top: -4.25rem;
  left: 50%;
  width: 10.5rem;
  height: 5.25rem;
  margin-left: -5.25rem;
  pointer-events: none;
  z-index: 3;
}

.price-popular-sketch__label {
  position: absolute;
  top: 0;
  left: 50%;
  transform: translateX(-50%) rotate(-7deg);
  font-family: "Caveat", cursive;
  font-size: clamp(1.5rem, 2.4vw, 1.75rem);
  font-weight: 700;
  color: var(--space);
  line-height: 1;
  text-shadow: 0 1px 0 rgba(255, 255, 255, 0.95);
  white-space: nowrap;
}

.price-popular-sketch__arrow {
  position: absolute;
  bottom: 0;
  left: 50%;
  width: 4.5rem;
  height: auto;
  transform: translateX(-30%);
  opacity: 0.92;
}

@media (max-width: 900px) {
  .pricing-grid--ref {
    padding-top: 0;
  }

  .pricing-column--featured {
    margin-top: 4.25rem;
  }

  .price-popular-sketch--outside {
    top: -3.75rem;
    width: 9rem;
    margin-left: -4.5rem;
  }
}

@media (max-width: 900px) {
  .pricing-grid {
    grid-template-columns: 1fr;
    max-width: 420px;
  }
}

/* —— Pricing cards (reference layout) —— */

.price-card--ref {
  background: #fff;
  border: 1px solid rgba(17, 45, 65, 0.07);
  border-radius: 18px;
  padding: 0;
  position: relative;
  box-shadow: 0 2px 8px rgba(17, 45, 65, 0.04);
  display: flex;
  flex-direction: column;
  overflow: visible;
  transition: transform 0.3s var(--ease), box-shadow 0.3s;
}

.price-card--ref:hover {
  transform: translateY(-4px);
  box-shadow: 0 12px 36px rgba(17, 45, 65, 0.1);
}

.price-card--ref::before {
  display: none;
}

.price-card__body {
  padding: 1.75rem 1.5rem 1.5rem;
  display: flex;
  flex-direction: column;
  flex: 1;
  min-height: 0;
}

.price-card__price-row {
  margin: 0 0 0.75rem;
}

/* Package amounts — medium weight, brand red */
.price-tag--ref {
  font-size: clamp(1.85rem, 3.5vw, 2.35rem);
  font-weight: 500;
  color: var(--red);
  margin: 0;
  letter-spacing: -0.03em;
  line-height: 1.05;
}

.price-card--ref .price-tag--ref .per,
.price-card--ref .per {
  font-size: 1rem;
  font-weight: 500;
  color: rgba(238, 67, 47, 0.88);
}

.price-card--ref .price-currency {
  font-size: 1.35rem;
  font-weight: 500;
  color: var(--red);
}

.price-card__effective {
  margin: 0 0 0.75rem;
  font-size: 0.84rem;
  font-weight: 500;
  color: rgba(238, 67, 47, 0.92);
  letter-spacing: 0.01em;
}

.price-card__title--ref {
  margin: 0 0 0.35rem;
  font-size: 1.2rem;
  font-weight: 700;
  color: var(--ink);
  letter-spacing: -0.02em;
}

.price-card__bill {
  margin: 0 0 0.65rem;
  font-size: 0.8rem;
  font-weight: 500;
  color: rgba(6, 16, 35, 0.5);
  letter-spacing: 0.01em;
}

.price-card__intro {
  margin: 0 0 1rem;
  font-size: 0.88rem;
  color: var(--muted);
  line-height: 1.45;
}

.price-card__fine {
  margin: 0 0 1rem;
  font-size: 0.78rem;
  color: rgba(6, 16, 35, 0.48);
}

.price-list--green {
  margin: 0 0 1.35rem;
  padding: 0;
  list-style: none;
  flex-grow: 1;
}

.price-list--green li {
  position: relative;
  padding-left: 1.5rem;
  margin-bottom: 0.6rem;
  font-size: 0.88rem;
  line-height: 1.45;
  color: rgba(6, 16, 35, 0.72);
}

.price-list--green li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0.32rem;
  width: 1rem;
  height: 1rem;
  background: no-repeat center / contain;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 20 20' fill='none'%3E%3Ccircle cx='10' cy='10' r='10' fill='%2316a34a' opacity='0.12'/%3E%3Cpath d='M5.5 10.2l2.8 2.8 5.2-6' stroke='%2316a34a' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E");
}

.btn-pricing {
  font-family: var(--font);
  font-size: 0.92rem;
  font-weight: 600;
  border-radius: 12px;
  padding: 0.8rem 1.25rem;
  text-decoration: none;
  text-align: center;
  transition: transform 0.2s var(--ease), box-shadow 0.2s, filter 0.2s;
}

.btn-pricing--solid {
  background: var(--space);
  color: #fff !important;
  border: 1px solid rgba(17, 45, 65, 0.2);
  box-shadow: 0 2px 8px rgba(17, 45, 65, 0.15);
}

.btn-pricing--solid:hover {
  filter: brightness(1.08);
  transform: translateY(-1px);
  box-shadow: 0 4px 14px rgba(17, 45, 65, 0.2);
}

.price-card--ref .btn-pricing {
  margin-top: auto;
}

/* Shared price typography (pricing section) */
.price-tag {
  font-size: 2.35rem;
  font-weight: 700;
  color: var(--ink);
  margin: 0 0 0.25rem;
  letter-spacing: -0.03em;
  line-height: 1.1;
}

/* Reference pricing cards (overrides shared .price-tag weight/color) */
.price-card--ref .price-tag {
  font-weight: 500;
  color: var(--red);
}

.price-currency {
  font-size: 1.5rem;
  vertical-align: super;
  font-weight: 600;
}

.per {
  font-size: 1.05rem;
  font-weight: 500;
  color: var(--muted);
}

.price-alt {
  font-size: 0.92rem;
  color: var(--ink);
  font-weight: 700;
  margin: 0 0 0.35rem;
  letter-spacing: -0.02em;
}

.price-note {
  font-size: 0.82rem;
  color: var(--muted);
  margin: 0 0 1rem;
}

.pricing-disclaimer {
  text-align: center;
  font-size: 0.78rem;
  color: var(--muted);
  max-width: 560px;
  margin: 2rem auto 0;
}

/* Buttons (content sections) */

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0.75rem 1.35rem;
  border-radius: var(--radius-pill);
  font-family: var(--font);
  font-size: 0.95rem;
  font-weight: 500;
  text-decoration: none;
  transition: transform 0.2s var(--ease), box-shadow 0.2s;
}

.btn-primary {
  background: linear-gradient(135deg, var(--red), var(--orange));
  color: var(--white);
  box-shadow: 0 4px 16px rgba(238, 67, 47, 0.35);
}

.btn-secondary {
  background: var(--space);
  color: var(--white);
}

.btn-ghost {
  background: transparent;
  color: var(--space);
  border: 1px solid var(--line);
}

.btn-block {
  width: 100%;
}

/* Download — standard band section (no inset panel) */

.section-download {
  padding: clamp(3rem, 8vw, 5rem) 0;
}

.section-head--download {
  text-align: center;
  max-width: 560px;
  margin: 0 auto 2.5rem;
}

.section-head--download h2 {
  font-size: clamp(1.65rem, 3.2vw, 2.1rem);
  font-weight: 600;
  color: var(--ink);
  letter-spacing: -0.02em;
  margin: 0 0 0.65rem;
  line-height: 1.2;
}

.section-head--download > p:last-of-type {
  margin: 0;
  font-size: 1.02rem;
  color: var(--muted);
  line-height: 1.55;
}

.download-block {
  max-width: 640px;
  margin: 0 auto;
  text-align: center;
}

.download-block__logo {
  margin: 0 0 1.25rem;
}

.download-block__stores {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 1rem;
}

.download-block__note {
  margin: 0 0 0.35rem;
  font-size: 0.78rem;
  font-weight: 600;
  color: rgba(6, 16, 35, 0.45);
  letter-spacing: 0.02em;
}

/* Legacy class names kept for older HTML snapshots */
.section-download--simple {
  padding-bottom: clamp(3.5rem, 9vw, 5.5rem);
}

.band--download-light {
  background: #fafbfc !important;
  border-top: 1px solid rgba(17, 45, 65, 0.06);
  border-bottom: 1px solid rgba(17, 45, 65, 0.06);
}

.download-simple-head {
  text-align: center;
  max-width: 560px;
  margin: 0 auto 2.25rem;
}

.download-simple-kicker {
  font-size: 0.75rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.12em;
  color: var(--space);
  margin: 0 0 0.5rem;
}

.download-simple-head h2 {
  font-size: clamp(1.65rem, 3.2vw, 2.1rem);
  font-weight: 600;
  color: var(--ink);
  letter-spacing: -0.02em;
  margin: 0 0 0.65rem;
  line-height: 1.2;
}

.download-simple-lede {
  margin: 0;
  font-size: 1.02rem;
  color: var(--muted);
  line-height: 1.55;
}

.download-simple-panel {
  max-width: 640px;
  margin: 0 auto;
  padding: 2rem 1.75rem 2.25rem;
  text-align: center;
  background: #fff;
  border: 1px solid rgba(17, 45, 65, 0.07);
  border-radius: 20px;
  box-shadow: 0 1px 3px rgba(17, 45, 65, 0.04);
}

.download-simple-logo {
  margin: 0 0 1.25rem;
}

.download-pills--simple {
  justify-content: center;
  margin-bottom: 1.75rem !important;
}

.download-simple-stores {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 1rem;
}

.download-simple-note {
  margin: 0 0 0.25rem;
  font-size: 0.68rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: rgba(17, 45, 65, 0.45);
}

.store-row--simple {
  justify-content: center;
}

.store-apple--simple {
  min-width: min(260px, 100%);
  padding: 0.7rem 1.2rem;
  border-radius: 12px;
}

.download-logo {
  margin: 0 0 1.25rem;
}

.download-logo-img {
  height: 48px;
  width: auto;
  max-width: min(280px, 85vw);
  object-fit: contain;
}

.download-pills {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 0.45rem;
  margin: 0 0 1.75rem;
  padding: 0;
  list-style: none;
}

.download-pill {
  display: inline-block;
  padding: 0.35rem 0.85rem;
  font-size: 0.78rem;
  font-weight: 600;
  letter-spacing: 0.02em;
  color: var(--space);
  background: rgba(17, 45, 65, 0.06);
  border: 1px solid rgba(17, 45, 65, 0.08);
  border-radius: var(--radius-pill);
}

.download-pill--muted {
  font-weight: 500;
  color: rgba(6, 16, 35, 0.55);
  background: rgba(255, 255, 255, 0.7);
}

.store-row {
  display: flex;
  flex-wrap: wrap;
  gap: 1rem;
  justify-content: center;
  align-items: stretch;
}

.store-btn {
  display: inline-flex;
  align-items: center;
  gap: 0.75rem;
  padding: 0.65rem 1.25rem;
  border-radius: 12px;
  text-decoration: none;
  color: var(--white);
  font-size: 0.85rem;
  min-width: 200px;
  transition: transform 0.2s var(--ease), opacity 0.2s;
}

.store-apple {
  background: linear-gradient(145deg, var(--ink), var(--space));
  border: 1px solid rgba(252, 252, 251, 0.12);
}

.store-apple:hover {
  transform: translateY(-2px);
  opacity: 0.95;
}

.store-google {
  background: rgba(252, 252, 252, 0.98);
  border: 1px dashed rgba(17, 45, 65, 0.16);
  color: var(--space);
  cursor: default;
  position: relative;
}

.store-google .store-text strong,
.store-google .store-text small {
  color: var(--space);
}

/* Download block: App Store uses same light pill + dashed border as Google Play */
.store-apple--play-style {
  background: rgba(252, 252, 252, 0.98);
  border: 1px dashed rgba(17, 45, 65, 0.16);
  color: var(--space);
  cursor: pointer;
}

.store-apple--play-style .store-text strong,
.store-apple--play-style .store-text small {
  color: var(--space);
}

.store-apple--play-style:hover {
  transform: translateY(-2px);
  opacity: 0.95;
}

.store-apple--play-style .store-arrow {
  color: rgba(17, 45, 65, 0.5);
}

/* App Store: same light card as Google Play row, but solid border (Google uses dashed) */
.store-btn.store-apple--play-style.store-btn--app-store-prominent {
  background: rgba(252, 252, 252, 0.98);
  border: 1px solid rgba(17, 45, 65, 0.22);
  box-shadow: none;
  color: var(--space);
  min-width: 200px;
  padding: 0.65rem 1.25rem;
  gap: 0.75rem;
}

.store-btn.store-apple--play-style.store-btn--app-store-prominent .store-text strong,
.store-btn.store-apple--play-style.store-btn--app-store-prominent .store-text small {
  color: var(--space);
}

.store-btn.store-apple--play-style.store-btn--app-store-prominent .store-icon-svg {
  width: 26px;
  height: 26px;
}

.store-btn.store-apple--play-style.store-btn--app-store-prominent .store-arrow {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  margin-left: auto;
  min-width: 1.85rem;
  height: 1.85rem;
  padding: 0 0.2rem;
  border-radius: 8px;
  background: var(--space);
  color: var(--white);
  font-size: 1rem;
  line-height: 1;
  opacity: 1;
}

.store-btn.store-apple--play-style.store-btn--app-store-prominent:hover {
  transform: translateY(-2px);
  opacity: 1;
}

.store-btn.store-apple--play-style.store-btn--app-store-prominent:hover .store-arrow {
  opacity: 1;
  filter: brightness(1.05);
}

/* Google Play row: “Coming soon” badge — space background, white label */
.store-google .store-soon-badge {
  color: var(--white);
  background: var(--space);
  border: 1px solid rgba(252, 252, 251, 0.14);
}

.store-btn--soon {
  opacity: 1;
}

.store-btn.store-google.store-btn--soon {
  opacity: 0.78;
}

.store-icon-svg {
  flex-shrink: 0;
  display: block;
}

.store-soon-badge {
  margin-left: auto;
  font-size: 0.65rem;
  font-weight: 600;
  text-transform: none;
  letter-spacing: 0.02em;
  color: rgba(17, 45, 65, 0.62);
  background: rgba(17, 45, 65, 0.06);
  border: 1px solid rgba(17, 45, 65, 0.08);
  padding: 0.28rem 0.55rem;
  border-radius: var(--radius-pill);
}

.store-arrow {
  margin-left: auto;
  font-size: 1.1rem;
  opacity: 0.85;
}

.store-icon {
  width: 28px;
  height: 28px;
  border-radius: 6px;
  background: rgba(252, 252, 251, 0.15);
}

.store-icon--muted {
  opacity: 0.5;
}

.store-text {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  line-height: 1.2;
}

.store-text small {
  font-size: 0.65rem;
  opacity: 0.9;
}

.store-text strong {
  font-size: 1rem;
  font-weight: 600;
}

/* Footer — light strip, direct links (aligned with nav weight) */

.site-footer {
  position: relative;
  z-index: 1;
}

.site-footer--direct {
  padding: 0;
  background: linear-gradient(180deg, #fdfdfd 0%, #f7f8f9 100%);
  border-top: 1px solid rgba(17, 45, 65, 0.05);
}

.footer-direct {
  display: grid;
  grid-template-columns: 1fr;
  align-items: center;
  justify-items: center;
  gap: 0.85rem;
  padding: 0.9rem 0 1.1rem;
  text-align: center;
}

.footer-direct__logo {
  text-decoration: none;
  opacity: 0.88;
  transition: opacity 0.2s var(--ease);
}

.footer-direct__logo:hover {
  opacity: 1;
}

.footer-direct__nav {
  width: 100%;
}

.footer-direct__list {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: center;
  gap: 0.35rem 0;
  list-style: none;
  margin: 0;
  padding: 0;
}

.footer-direct__list li {
  display: inline-flex;
  align-items: center;
}

.footer-direct__list li + li::before {
  content: "·";
  margin: 0 0.55rem;
  font-weight: 400;
  color: rgba(17, 45, 65, 0.28);
  user-select: none;
}

.footer-direct__link {
  color: rgba(17, 45, 65, 0.55);
  font-size: 0.8125rem;
  font-weight: 500;
  text-decoration: none;
  transition: color 0.2s var(--ease);
}

.footer-direct__link:hover {
  color: var(--red);
}

.footer-direct__legal {
  margin: 0;
  font-size: 0.72rem;
  font-weight: 400;
  letter-spacing: 0.01em;
  color: rgba(6, 16, 35, 0.34);
}

@media (min-width: 720px) {
  .footer-direct {
    grid-template-columns: auto 1fr auto;
    justify-items: stretch;
    gap: 1.25rem;
    padding: 0.65rem 0;
    min-height: 56px;
    text-align: left;
  }

  .footer-direct__logo {
    justify-self: start;
  }

  .footer-direct__nav {
    width: auto;
    justify-self: center;
  }

  .footer-direct__list {
    justify-content: center;
  }

  .footer-direct__legal {
    justify-self: end;
    text-align: right;
    white-space: nowrap;
  }
}

/* Legal & support subpages — hero + split layout + accent panel */

.subpage-main {
  padding: 0 0 clamp(2.5rem, 6vw, 4rem);
  background: var(--white);
  position: relative;
}

.subpage-hero {
  position: relative;
  padding: clamp(2rem, 5vw, 3.25rem) 0 clamp(1.75rem, 4vw, 2.5rem);
  margin-bottom: clamp(1.25rem, 3vw, 2rem);
}

.subpage-hero__bg {
  position: absolute;
  inset: 0;
  pointer-events: none;
  overflow: hidden;
}

.subpage-hero__blob {
  position: absolute;
  border-radius: 50%;
  filter: blur(48px);
  opacity: 0.65;
}

.subpage-hero__blob--1 {
  width: min(72%, 520px);
  height: min(48%, 320px);
  left: -18%;
  top: -20%;
  background: radial-gradient(ellipse at 40% 45%, rgba(254, 203, 52, 0.35) 0%, transparent 65%);
}

.subpage-hero__blob--2 {
  width: min(55%, 400px);
  height: min(40%, 280px);
  right: -12%;
  bottom: -25%;
  background: radial-gradient(ellipse at 55% 55%, rgba(17, 45, 65, 0.14) 0%, rgba(255, 152, 74, 0.08) 50%, transparent 70%);
}

.subpage-hero__grain {
  position: absolute;
  inset: 0;
  opacity: 0.4;
  background-image: radial-gradient(circle at center, rgba(17, 45, 65, 0.07) 1px, transparent 1.2px);
  background-size: 18px 18px;
  mask-image: linear-gradient(180deg, black 0%, transparent 85%);
}

.subpage-hero__inner {
  position: relative;
  z-index: 1;
  text-align: center;
  max-width: 40rem;
  margin: 0 auto;
}

.subpage-hero__kicker {
  display: inline-block;
  margin: 0 0 0.65rem;
  padding: 0.28rem 0.75rem;
  font-size: 0.68rem;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--red);
  background: rgba(238, 67, 47, 0.08);
  border-radius: var(--radius-pill);
  border: 1px solid rgba(238, 67, 47, 0.18);
}

.subpage-hero__title {
  margin: 0 0 0.65rem;
  line-height: 1.05;
}

.subpage-hero__title-plain {
  display: block;
  font-size: clamp(1.5rem, 3vw, 1.85rem);
  font-weight: 600;
  letter-spacing: -0.03em;
  color: var(--ink);
}

.subpage-hero__title-accent {
  display: block;
  margin-top: 0.15rem;
  font-family: var(--font-accent);
  font-style: italic;
  font-size: clamp(1.85rem, 4vw, 2.65rem);
  font-weight: 500;
  letter-spacing: -0.02em;
  background: linear-gradient(125deg, var(--mustard) 0%, var(--orange) 42%, var(--red) 100%);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}

.subpage-hero__title--inline .subpage-hero__title-plain,
.subpage-hero__title--inline .subpage-hero__title-accent {
  display: inline;
}

.subpage-hero__meta {
  margin: 0;
  font-size: 0.85rem;
  color: rgba(6, 16, 35, 0.48);
}

.subpage-body {
  position: relative;
  z-index: 1;
}

.subpage-split {
  display: grid;
  grid-template-columns: 1fr;
  gap: 1.5rem;
  align-items: start;
}

.subpage-aside {
  order: 1;
}

/* Sidebar: table of contents (section headlines) */

.subpage-toc {
  margin: 0;
  padding: 0;
}

.subpage-toc__title {
  margin: 0 0 0.65rem;
  font-size: 0.65rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: rgba(6, 16, 35, 0.42);
}

.subpage-toc__list {
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
  flex-direction: column;
  gap: 0.35rem;
}

.subpage-toc__list a {
  display: block;
  font-size: 0.8125rem;
  font-weight: 500;
  line-height: 1.35;
  color: rgba(17, 45, 65, 0.72);
  text-decoration: none;
  padding: 0.35rem 0;
  border-bottom: 1px solid transparent;
  transition: color 0.15s var(--ease), border-color 0.15s var(--ease);
}

.subpage-toc__list a:hover {
  color: var(--red);
}

.subpage-toc__list a:focus-visible {
  outline: 2px solid var(--red);
  outline-offset: 2px;
  border-radius: 2px;
}

.subpage-panel {
  order: 2;
  padding: 0;
  max-width: 40rem;
  margin-inline: 0;
  background: transparent;
  border: none;
  box-shadow: none;
}

@media (min-width: 880px) {
  .subpage-split {
    grid-template-columns: minmax(11rem, 15rem) minmax(0, 1fr);
    gap: clamp(2rem, 5vw, 3.5rem);
    align-items: start;
  }

  .subpage-aside {
    order: 0;
    position: sticky;
    top: 5.75rem;
    align-self: start;
    padding-right: 0.5rem;
    border-right: 1px solid rgba(17, 45, 65, 0.08);
  }

  .subpage-toc__list a {
    padding-right: 0.75rem;
  }

  .subpage-hero:not(.subpage-hero--center) .subpage-hero__inner {
    text-align: left;
    margin: 0;
    max-width: none;
    padding-left: 0.15rem;
  }
}

@media (min-width: 880px) {
  .subpage-hero--center .subpage-hero__inner {
    text-align: center;
    margin-inline: auto;
    max-width: 40rem;
  }
}

@media (max-width: 879px) {
  .subpage-aside {
    padding-bottom: 1rem;
    margin-bottom: 0.25rem;
    border-bottom: 1px solid rgba(17, 45, 65, 0.08);
  }
}

.subpage-article {
  max-width: none;
  margin: 0;
  padding: 0;
}

.subpage-article--support .subpage-split {
  grid-template-columns: 1fr;
}

@media (min-width: 880px) {
  .subpage-article--support .subpage-split {
    grid-template-columns: minmax(11rem, 15rem) minmax(0, 1fr);
  }
}

.subpage-article__title {
  font-size: clamp(1.65rem, 3.2vw, 2.1rem);
  font-weight: 600;
  letter-spacing: -0.03em;
  color: var(--ink);
  margin: 0 0 0.4rem;
  line-height: 1.2;
}

.subpage-article__meta {
  font-size: 0.8125rem;
  color: rgba(6, 16, 35, 0.45);
  margin: 0 0 2rem;
}

.subpage-article__lede {
  font-size: 1.05rem;
  line-height: 1.6;
  color: var(--muted);
  margin: 0 0 1.5rem;
}

.subpage-section-title {
  font-size: 1.05rem;
  font-weight: 600;
  color: var(--ink);
  margin: 0 0 1rem;
  letter-spacing: -0.02em;
}

.subpage-section-title[id] {
  scroll-margin-top: 5.5rem;
}

.subpage-panel > .subpage-section-title:first-child {
  margin-top: 0;
}

.subpage-section-title + .support-faq {
  margin-top: 0.35rem;
}

.support-faq__item:first-of-type {
  padding-top: 0.15rem;
}

.legal-prose {
  font-size: 0.97rem;
  line-height: 1.65;
  color: rgba(6, 16, 35, 0.85);
}

.legal-prose > p {
  margin: 0 0 1rem;
}

.legal-prose > p:first-of-type {
  margin-bottom: 0;
}

.legal-prose > ul {
  margin: 0 0 1.1rem;
  padding-left: 1.25rem;
}

.legal-prose li {
  margin-bottom: 0.45rem;
}

.legal-prose li::marker {
  color: rgba(17, 45, 65, 0.35);
}

.legal-prose h2 {
  font-size: 0.98rem;
  font-weight: 600;
  color: var(--ink);
  margin: 2rem 0 0.65rem;
  padding-top: 1.35rem;
  border-top: 1px solid rgba(17, 45, 65, 0.07);
  letter-spacing: -0.02em;
  scroll-margin-top: 5.5rem;
}

/* First section: same divider + spacing as other sections (intro paragraph sits above the rule) */
.legal-prose h2:first-of-type {
  margin-top: 2.25rem;
}

.legal-prose a {
  color: var(--space);
  font-weight: 500;
  text-decoration: underline;
  text-underline-offset: 2px;
  transition: color 0.2s var(--ease);
}

.legal-prose a:hover {
  color: var(--red);
}

.support-faq {
  margin: 0 0 2rem;
}

.support-faq__item {
  padding: 1rem 0;
  border-bottom: 1px solid rgba(17, 45, 65, 0.07);
  scroll-margin-top: 5.5rem;
}

.support-faq__item:last-of-type {
  border-bottom: none;
}

.support-faq__q {
  font-weight: 600;
  font-size: 0.95rem;
  color: var(--ink);
  margin: 0 0 0.45rem;
  letter-spacing: -0.02em;
}

.support-faq__a {
  margin: 0;
  font-size: 0.94rem;
  line-height: 1.6;
  color: rgba(6, 16, 35, 0.78);
}

.support-faq__a a {
  color: var(--space);
  font-weight: 500;
  text-decoration: underline;
  text-underline-offset: 2px;
}

.support-faq__a a:hover {
  color: var(--red);
}

.support-card {
  margin-top: 1.5rem;
  padding: 1.35rem 1.25rem;
  text-align: center;
  border-radius: var(--radius-lg);
  background: #f8f9fa;
  border: 1px solid rgba(17, 45, 65, 0.07);
  scroll-margin-top: 5.5rem;
}

.support-card__title {
  font-size: 1.1rem;
  font-weight: 600;
  color: var(--ink);
  margin: 0 0 0.5rem;
  letter-spacing: -0.02em;
}

.support-card__text {
  margin: 0 0 1.25rem;
  font-size: 0.92rem;
  color: var(--muted);
  line-height: 1.5;
}

.support-card .btn-hero-primary,
.support-card .btn-hero-secondary {
  justify-content: center;
}

/* Legacy (older HTML snapshots) */

.footer-inner {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
}

.footer-brand {
  text-decoration: none;
}

.footer-logo-img {
  height: 28px;
  width: auto;
  max-width: 180px;
  object-fit: contain;
}

.footer-copy {
  margin: 0;
  font-size: 0.85rem;
  color: var(--muted);
}

.footer-links {
  display: flex;
  gap: 1.25rem;
}

.footer-links a {
  color: var(--space);
  font-size: 0.85rem;
  text-decoration: none;
  font-weight: 500;
}

.footer-links a:hover {
  color: var(--red);
}

/* Reveal */

.reveal {
  opacity: 0;
  transform: translateY(20px);
  transition: opacity 0.7s var(--ease), transform 0.7s var(--ease);
}

.reveal.is-visible {
  opacity: 1;
  transform: translateY(0);
}

@media (prefers-reduced-motion: reduce) {
  .reveal {
    opacity: 1;
    transform: none;
    transition: none;
  }

  .hero-preview {
    transform: none;
  }

  html {
    scroll-behavior: auto;
  }
}
