/* Avenir public home — brand-preserving, content-first system */

body.av-home-system {
  --av-home-section-space: clamp(4.75rem, 9vw, 8rem);
  --av-home-card-radius: 1.35rem;
  color: var(--av-green-ink);
  background: #f7fff9;
}

.av-home-system main {
  overflow: clip;
}

.av-home-system .av-footer {
  display: block;
  visibility: visible;
}

.av-home-system .av-footer__wordmark {
  color: var(--av-green);
  font-size: clamp(2.35rem, 6.2vw, 3.75rem);
  font-weight: 800;
  letter-spacing: -0.07em;
  line-height: 0.9;
  text-transform: uppercase;
}

.av-home-system main h1,
.av-home-system main h2,
.av-home-system main h3,
.av-home-system main p {
  text-wrap: pretty;
}

.av-home-system main h2 {
  margin: 0;
  color: var(--av-green-deep);
  font-size: clamp(2rem, 4.4vw, 4rem);
  line-height: 0.98;
  letter-spacing: -0.05em;
}

.av-eyebrow--on-green {
  color: var(--av-yellow);
}

/* Hero */
.av-home-hero {
  position: relative;
  isolation: isolate;
  display: flex;
  min-height: 100vh;
  min-height: 100svh;
  align-items: center;
  overflow: hidden;
  padding:
    calc(1rem + 3.85rem + clamp(2.25rem, 6vh, 4.75rem))
    0
    clamp(2.25rem, 5vh, 4rem);
  color: var(--av-white);
  background:
    radial-gradient(ellipse 70% 64% at 86% 28%, rgba(250, 218, 73, 0.18), transparent 56%),
    radial-gradient(ellipse 52% 46% at 10% 88%, rgba(0, 159, 85, 0.36), transparent 58%),
    linear-gradient(145deg, #02331e 0%, #034528 30%, #057a46 63%, #069b58 92%, #045c35 100%);
}

.av-home-hero__backdrop {
  position: absolute;
  inset: 0;
  z-index: -1;
  pointer-events: none;
}

.av-home-hero__orb {
  position: absolute;
  border-radius: 999px;
  filter: blur(10px);
  opacity: 0.62;
}

.av-home-hero__orb--one {
  top: -18rem;
  right: -11rem;
  width: 38rem;
  height: 38rem;
  background: radial-gradient(circle, rgba(250, 218, 73, 0.28), transparent 67%);
  animation: av-home-drift 14s ease-in-out infinite alternate;
}

.av-home-hero__orb--two {
  bottom: -21rem;
  left: -14rem;
  width: 44rem;
  height: 44rem;
  background: radial-gradient(circle, rgba(6, 155, 88, 0.74), transparent 68%);
  animation: av-home-drift 18s ease-in-out -5s infinite alternate-reverse;
}

.av-home-hero__line {
  position: absolute;
  left: -10%;
  width: 120%;
  height: 1px;
  background: linear-gradient(90deg, transparent, rgba(250, 218, 73, 0.25), transparent);
  transform-origin: center;
}

.av-home-hero__line--one {
  top: 35%;
  transform: rotate(-8deg);
}

.av-home-hero__line--two {
  bottom: 24%;
  transform: rotate(6deg);
}

.av-home-hero__grid {
  display: grid;
  grid-template-columns: minmax(0, 1.12fr) minmax(19rem, 0.78fr);
  gap: clamp(2.5rem, 7vw, 6.75rem);
  align-items: center;
  width: min(1180px, calc(100% - (var(--av-gutter) * 2)));
}

.av-home-hero__content {
  max-width: 46rem;
}

.av-home-hero .av-eyebrow {
  margin-bottom: 1rem;
}

.av-home-hero h1 {
  max-width: 10ch;
  margin: 0;
  color: var(--av-white);
  font-size: clamp(3.35rem, 6.3vw, 6.1rem);
  font-weight: 800;
  line-height: 0.92;
  letter-spacing: -0.06em;
  text-wrap: balance;
}

.av-home-hero .av-kinetic {
  overflow: visible;
}

.av-home-hero__accent {
  max-width: 38rem;
  margin: 1.45rem 0 0;
  color: var(--av-yellow);
  font-size: clamp(0.86rem, 1.2vw, 1.05rem);
  font-weight: 800;
  line-height: 1.35;
  letter-spacing: 0.045em;
  text-transform: uppercase;
}

.av-home-hero__lead {
  max-width: 39rem;
  margin: 0.75rem 0 0;
  color: rgba(255, 255, 255, 0.88);
  font-size: clamp(1rem, 1.5vw, 1.2rem);
  line-height: 1.65;
}

.av-home-hero__actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
  margin-top: 1.7rem;
}

.av-home-hero__member {
  display: inline-flex;
  gap: 0.45rem;
  align-items: center;
  margin-top: 1.1rem;
  color: rgba(255, 255, 255, 0.84);
  font-size: 0.9rem;
  font-weight: 700;
  text-underline-offset: 0.3em;
}

.av-home-hero__member:hover {
  color: var(--av-yellow);
}

.av-home-hero__path {
  position: relative;
  overflow: hidden;
  padding: clamp(1.4rem, 2.5vw, 2rem);
  border: 1px solid rgba(255, 255, 255, 0.2);
  border-radius: 1.55rem;
  background:
    linear-gradient(145deg, rgba(255, 255, 255, 0.18), rgba(255, 255, 255, 0.08)),
    radial-gradient(circle at 100% 0%, rgba(250, 218, 73, 0.2), transparent 47%);
  box-shadow:
    0 24px 70px rgba(2, 51, 30, 0.25),
    inset 0 1px 0 rgba(255, 255, 255, 0.19);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
}

.av-home-hero__path-label {
  margin: 0 0 0.55rem;
  color: var(--av-yellow);
  font-size: 0.68rem;
  font-weight: 800;
  letter-spacing: 0.15em;
  text-transform: uppercase;
}

.av-home-system .av-home-hero__path h2 {
  max-width: 14ch;
  color: var(--av-white);
  font-size: clamp(1.5rem, 2.5vw, 2.25rem);
  line-height: 1.02;
  text-shadow: 0 0.08em 0.5em rgba(1, 35, 20, 0.2);
}

.av-home-hero__path ol {
  display: grid;
  gap: 0.55rem;
  margin: 1.25rem 0;
  padding: 0;
  list-style: none;
}

.av-home-hero__path li {
  display: grid;
  grid-template-columns: 2.25rem 1fr;
  gap: 0.7rem;
  align-items: center;
  min-height: 3rem;
  padding: 0.45rem 0.6rem;
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: 0.9rem;
  background: rgba(255, 255, 255, 0.06);
}

html.av-motion .av-home-hero__path li {
  opacity: 0;
  transform: translateX(1.5rem);
}

html.av-ready .av-home-hero__path li {
  opacity: 1;
  transform: none;
  transition:
    opacity 620ms var(--av-ease-expressive) calc(360ms + var(--av-path-index, 0) * 90ms),
    transform 620ms var(--av-ease-expressive) calc(360ms + var(--av-path-index, 0) * 90ms),
    background var(--av-duration-fast) var(--av-ease-standard);
}

.av-home-hero__path li:hover {
  background: rgba(255, 255, 255, 0.12);
}

.av-home-hero__path li > span {
  display: grid;
  width: 2rem;
  height: 2rem;
  place-items: center;
  border-radius: 0.6rem;
  color: var(--av-green-ink);
  background: var(--av-yellow);
  font-size: 0.67rem;
  font-weight: 800;
}

.av-home-hero__path li strong {
  color: var(--av-white);
  font-size: 0.9rem;
  line-height: 1.25;
}

.av-home-hero__path > a {
  display: inline-flex;
  gap: 0.4rem;
  align-items: center;
  color: rgba(255, 255, 255, 0.84);
  font-size: 0.82rem;
  font-weight: 700;
  text-underline-offset: 0.25em;
}

.av-home-hero__path > a:hover {
  color: var(--av-yellow);
}

.av-home-hero__stats {
  grid-column: 1 / -1;
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 1rem;
  padding-top: clamp(1.35rem, 3vh, 2.25rem);
  border-top: 1px solid rgba(255, 255, 255, 0.16);
}

.av-home-stat {
  min-width: 0;
}

.av-home-stat__value {
  display: block;
  color: var(--av-white);
  font-size: clamp(1.75rem, 3vw, 2.8rem);
  font-weight: 800;
  line-height: 1;
  letter-spacing: -0.045em;
}

.av-home-stat__label {
  display: block;
  margin-top: 0.4rem;
  color: rgba(255, 255, 255, 0.7);
  font-size: clamp(0.6rem, 0.8vw, 0.72rem);
  font-weight: 800;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

/* Shared section rhythm */
.av-home-section {
  position: relative;
  padding: var(--av-home-section-space) 0;
}

.av-home-section::before {
  position: absolute;
  top: 0;
  left: 50%;
  width: min(1180px, calc(100% - (var(--av-gutter) * 2)));
  height: 1px;
  background: linear-gradient(90deg, transparent, rgba(6, 155, 88, 0.18), transparent);
  content: "";
  transform: translateX(-50%);
}

.av-anchor-alias {
  position: absolute;
  top: 0;
  left: 0;
  width: 1px;
  height: 1px;
  pointer-events: none;
}

.av-home-heading {
  display: grid;
  grid-template-columns: minmax(0, 1.15fr) minmax(18rem, 0.75fr) auto;
  gap: clamp(1.25rem, 4vw, 3rem);
  align-items: end;
  margin-bottom: clamp(2rem, 4vw, 3.25rem);
}

.av-home-heading .av-eyebrow {
  grid-column: 1;
  margin-bottom: 0.75rem;
}

.av-home-heading h2 {
  max-width: 13ch;
}

.av-home-heading > div {
  align-self: end;
}

.av-home-heading > p {
  max-width: 36rem;
  margin: 0;
  color: var(--av-text-muted);
  font-size: 1rem;
  line-height: 1.65;
}

.av-home-heading--center {
  display: flex;
  max-width: 52rem;
  flex-direction: column;
  align-items: center;
  gap: 0;
  margin-right: auto;
  margin-left: auto;
  text-align: center;
}

.av-home-heading--center h2 {
  max-width: 18ch;
}

.av-home-heading--center > p {
  margin-top: 1.15rem;
}

.av-home-text-link {
  display: inline-flex;
  gap: 0.4rem;
  align-items: center;
  width: fit-content;
  color: var(--av-green-dark);
  font-size: 0.88rem;
  font-weight: 800;
  text-decoration: none;
}

.av-home-text-link::after {
  content: "";
  position: absolute;
}

.av-home-text-link:hover {
  color: var(--av-green-ink);
  text-decoration: underline;
  text-decoration-color: var(--av-yellow);
  text-decoration-thickness: 3px;
  text-underline-offset: 0.34em;
}

/* Snap sliders: no cloned links, no forced motion */
.av-home-slider {
  min-width: 0;
}

.av-home-slider__top {
  display: flex;
  min-height: 2.75rem;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  margin-bottom: 1rem;
}

.av-home-slider__status {
  margin: 0;
  color: var(--av-text-muted);
  font-size: 0.78rem;
  font-weight: 700;
}

.av-home-slider__status.is-ready {
  position: absolute;
  width: 1px;
  height: 1px;
  overflow: hidden;
  clip: rect(0 0 0 0);
  clip-path: inset(50%);
  white-space: nowrap;
}

.av-home-slider__controls {
  display: flex;
  align-items: center;
  gap: 0.55rem;
  margin-left: auto;
}

.av-home-slider__controls button {
  display: grid;
  width: 2.75rem;
  height: 2.75rem;
  place-items: center;
  border: 1px solid rgba(6, 155, 88, 0.22);
  border-radius: 999px;
  color: var(--av-green-deep);
  background: rgba(255, 255, 255, 0.9);
  box-shadow: 0 8px 22px rgba(3, 69, 40, 0.08);
  font: inherit;
  font-size: 1.1rem;
  transition: transform 0.18s ease, color 0.18s ease, background 0.18s ease;
}

.av-home-slider__controls button:hover:not(:disabled) {
  color: var(--av-green-ink);
  background: var(--av-yellow);
  transform: translateY(-2px);
}

.av-home-slider__controls button:disabled {
  cursor: default;
  opacity: 0.38;
}

.av-home-slider__controls > span {
  min-width: 4.25rem;
  color: var(--av-text-muted);
  font-size: 0.72rem;
  font-weight: 800;
  text-align: center;
}

.av-home-slider__viewport {
  overflow-x: auto;
  overscroll-behavior-inline: contain;
  scroll-behavior: smooth;
  scroll-snap-type: inline mandatory;
  scrollbar-color: rgba(6, 155, 88, 0.3) transparent;
  scrollbar-width: thin;
  outline: none;
}

.av-home-slider__viewport:focus-visible {
  border-radius: 1.5rem;
  outline: 3px solid var(--av-yellow);
  outline-offset: 4px;
}

.av-home-slider__track {
  display: grid;
  grid-auto-columns: minmax(17.5rem, calc((100% - 2rem) / 3));
  grid-auto-flow: column;
  gap: 1rem;
  padding: 0.25rem 0 1.15rem;
}

.av-home-card {
  position: relative;
  overflow: hidden;
  min-width: 0;
  border: 1px solid rgba(6, 155, 88, 0.14);
  border-radius: var(--av-home-card-radius);
  background: rgba(255, 255, 255, 0.94);
  box-shadow: 0 16px 42px rgba(3, 69, 40, 0.1);
  scroll-snap-align: start;
  scroll-snap-stop: always;
  transition:
    transform var(--av-duration-ui) var(--av-ease-expressive),
    border-color var(--av-duration-fast) var(--av-ease-standard),
    box-shadow var(--av-duration-ui) var(--av-ease-expressive);
}

.av-home-card:hover {
  border-color: rgba(6, 155, 88, 0.28);
  box-shadow: 0 22px 52px rgba(3, 69, 40, 0.15);
  transform: translateY(-7px);
}

.av-home-card__media {
  position: relative;
  overflow: hidden;
  aspect-ratio: 16 / 10;
  background:
    radial-gradient(circle at 82% 16%, rgba(250, 218, 73, 0.32), transparent 34%),
    linear-gradient(145deg, #e8f7ef, #d8efdf);
}

.av-home-card__image {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.45s cubic-bezier(0.22, 1, 0.36, 1);
}

.av-home-card:hover .av-home-card__image {
  transform: scale(1.035);
}

.av-home-card--reward .av-home-card__media {
  overflow: visible;
  aspect-ratio: 720 / 560;
  background: transparent;
}

.av-home-card--reward .av-home-card__image {
  padding: clamp(0.45rem, 1.4vw, 0.9rem) clamp(0.55rem, 1.6vw, 1.1rem) clamp(0.2rem, 0.8vw, 0.45rem);
  object-fit: contain;
  object-position: bottom center;
  background: transparent;
  filter: drop-shadow(0 1.1rem 1.2rem rgba(2, 51, 30, 0.2));
  -webkit-mask-image: none;
  mask-image: none;
}

.av-home-card--reward:hover .av-home-card__image {
  transform: translateY(-0.25rem) scale(1.045) rotate(-0.5deg);
}

.av-home-card--scene .av-home-card__media {
  overflow: hidden;
  background: #012d1b;
}

.av-home-card--scene .av-home-card__image {
  padding: 0;
  object-fit: cover;
  object-position: center;
  filter: saturate(1.05) contrast(1.04);
  -webkit-mask-image: linear-gradient(to bottom, #000 0%, #000 88%, transparent 100%);
  mask-image: linear-gradient(to bottom, #000 0%, #000 88%, transparent 100%);
}

.av-home-card--scene:hover .av-home-card__image {
  transform: scale(1.035);
}

.av-home-card__placeholder {
  display: grid;
  width: 100%;
  height: 100%;
  place-items: center;
  color: rgba(6, 155, 88, 0.42);
  font-size: 0.75rem;
  font-weight: 800;
  letter-spacing: 0.15em;
}

.av-home-card__badge {
  position: absolute;
  top: 0.8rem;
  left: 0.8rem;
  display: inline-flex;
  min-height: 1.8rem;
  align-items: center;
  padding: 0.35rem 0.65rem;
  border-radius: 999px;
  color: var(--av-green-ink);
  background: rgba(250, 218, 73, 0.94);
  box-shadow: 0 8px 18px rgba(2, 51, 30, 0.14);
  font-size: 0.66rem;
  font-weight: 800;
  letter-spacing: 0.04em;
  text-transform: uppercase;
}

.av-home-card__body {
  display: flex;
  min-height: 12rem;
  flex-direction: column;
  padding: 1.2rem;
}

.av-home-card__body h3,
.av-home-card__body h4 {
  margin: 0;
  color: var(--av-green-deep);
  font-size: 1.05rem;
  line-height: 1.25;
  letter-spacing: -0.02em;
}

.av-home-card__body p {
  margin: 0.65rem 0 1.1rem;
  color: var(--av-text-muted);
  font-size: 0.84rem;
  line-height: 1.5;
}

.av-home-card__body p strong {
  color: var(--av-green-dark);
}

.av-home-card__link {
  display: inline-flex;
  min-height: 2.75rem;
  align-items: center;
  justify-content: space-between;
  gap: 0.5rem;
  margin-top: auto;
  padding-top: 0.65rem;
  border-top: 1px solid rgba(6, 155, 88, 0.12);
  color: var(--av-green-dark);
  font-size: 0.8rem;
  font-weight: 800;
  text-decoration: none;
}

.av-home-card__link:hover {
  color: var(--av-green-ink);
}

.av-home-section--missions {
  background:
    radial-gradient(circle at 100% 0%, rgba(250, 218, 73, 0.13), transparent 30rem),
    linear-gradient(180deg, #f7fff9 0%, #eefaf2 100%);
}

/* Four-step operating model */
.av-home-section--how {
  background: #fffef7;
}

.av-home-steps {
  position: relative;
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 0.85rem;
  margin: 0;
  padding: 0;
  list-style: none;
}

.av-home-step {
  position: relative;
  min-width: 0;
  min-height: 16rem;
  padding: 1.45rem;
  border: 1px solid rgba(6, 155, 88, 0.13);
  border-radius: 1.35rem;
  background:
    linear-gradient(150deg, rgba(255, 255, 255, 0.96), rgba(232, 247, 239, 0.78));
  box-shadow: 0 16px 42px rgba(3, 69, 40, 0.08);
  transition:
    transform var(--av-duration-ui) var(--av-ease-expressive),
    box-shadow var(--av-duration-ui) var(--av-ease-expressive),
    border-color var(--av-duration-fast) var(--av-ease-standard);
}

@media (hover: hover) and (pointer: fine) {
  .av-home-step:hover {
    z-index: 1;
    border-color: rgba(6, 155, 88, 0.28);
    box-shadow: 0 28px 72px rgba(3, 69, 40, 0.14);
    transform: translateY(-0.55rem) rotate(-0.35deg);
  }
}

.av-home-step__number {
  display: grid;
  width: 2.5rem;
  height: 2.5rem;
  place-items: center;
  margin-bottom: 2.75rem;
  border-radius: 0.75rem;
  color: var(--av-green-ink);
  background: var(--av-yellow);
  font-size: 0.7rem;
  font-weight: 800;
}

.av-home-step h3 {
  margin: 0;
  color: var(--av-green-deep);
  font-size: 1.08rem;
  line-height: 1.18;
}

.av-home-step p {
  margin: 0.65rem 0 0;
  color: var(--av-text-muted);
  font-size: 0.86rem;
  line-height: 1.58;
}

.av-home-step__arrow {
  position: absolute;
  top: 1.85rem;
  right: -0.78rem;
  z-index: 2;
  display: grid;
  width: 1.5rem;
  height: 1.5rem;
  place-items: center;
  border: 1px solid rgba(6, 155, 88, 0.18);
  border-radius: 999px;
  color: var(--av-green);
  background: #fffef7;
  font-size: 0.75rem;
  font-weight: 800;
}

.av-home-step__arrow svg {
  width: 0.85rem;
  height: 0.85rem;
  fill: none;
  stroke: currentColor;
  stroke-width: 1.7;
  stroke-linecap: round;
  stroke-linejoin: round;
}

/* Progression */
.av-home-section--progression {
  background:
    radial-gradient(circle at 10% 15%, rgba(250, 218, 73, 0.16), transparent 26rem),
    linear-gradient(180deg, #eefaf2, #e5f5eb);
}

.av-home-progression {
  display: grid;
  grid-template-columns: minmax(19rem, 0.78fr) minmax(0, 1.35fr);
  gap: 1.2rem;
  align-items: stretch;
}

.av-home-progress-card {
  min-width: 0;
  overflow: hidden;
  padding: clamp(1.35rem, 3vw, 2rem);
  border: 1px solid rgba(6, 155, 88, 0.14);
  border-radius: 1.65rem;
  background: rgba(255, 255, 255, 0.92);
  box-shadow: 0 22px 58px rgba(3, 69, 40, 0.1);
  transition:
    transform var(--av-duration-ui) var(--av-ease-expressive),
    box-shadow var(--av-duration-ui) var(--av-ease-expressive);
}

@media (hover: hover) and (pointer: fine) {
  .av-home-progress-card:hover {
    box-shadow: 0 34px 90px rgba(3, 69, 40, 0.16);
    transform: translateY(-0.4rem);
  }
}

.av-home-progress-card > header {
  display: grid;
  grid-template-columns: 2.5rem 1fr;
  gap: 0.85rem;
  align-items: start;
  margin-bottom: 1.4rem;
}

.av-home-progress-card__index {
  display: grid;
  width: 2.5rem;
  height: 2.5rem;
  place-items: center;
  margin: 0;
  border-radius: 0.75rem;
  color: var(--av-green-ink);
  background: var(--av-yellow);
  font-size: 0.7rem;
  font-weight: 800;
}

.av-home-progress-card h3 {
  margin: 0;
  color: var(--av-green-deep);
  font-size: clamp(1.25rem, 2vw, 1.65rem);
  line-height: 1.1;
  letter-spacing: -0.03em;
}

.av-home-progress-card header p:not(.av-home-progress-card__index) {
  margin: 0.5rem 0 0;
  color: var(--av-text-muted);
  font-size: 0.86rem;
  line-height: 1.5;
}

.av-home-progress-card--ranks {
  color: var(--av-white);
  border-color: rgba(255, 255, 255, 0.12);
  background:
    radial-gradient(circle at 100% 0%, rgba(250, 218, 73, 0.17), transparent 48%),
    linear-gradient(155deg, #034528, #057a46);
}

.av-home-progress-card--ranks h3,
.av-home-progress-card--ranks .av-home-text-link {
  color: var(--av-white);
}

.av-home-progress-card--ranks header p:not(.av-home-progress-card__index) {
  color: rgba(255, 255, 255, 0.72);
}

.av-home-ranks {
  display: grid;
  gap: 0.45rem;
  margin: 0 0 1.3rem;
  padding: 0;
  list-style: none;
}

.av-home-rank {
  display: grid;
  grid-template-columns: 1.65rem 4.15rem minmax(0, 1fr);
  gap: 0.75rem;
  align-items: center;
  min-height: 5.15rem;
  padding: 0.45rem 0.65rem;
  border: 1px solid rgba(255, 255, 255, 0.11);
  border-radius: 0.9rem;
  background: rgba(255, 255, 255, 0.06);
}

.av-home-rank__step {
  color: var(--av-yellow);
  font-size: 0.64rem;
  font-weight: 800;
}

.av-home-rank__image {
  width: 4.15rem;
  height: 4.15rem;
  object-fit: contain;
  background: transparent;
  filter: drop-shadow(0 0.55rem 0.7rem rgba(0, 0, 0, 0.28));
}

.av-home-rank__copy {
  display: grid;
  min-width: 0;
  gap: 0.15rem;
}

.av-home-rank__copy strong {
  color: var(--av-white);
  font-size: 0.86rem;
}

.av-home-rank__copy > span {
  color: rgba(255, 255, 255, 0.66);
  font-size: 0.69rem;
}

.av-home-progress-card--rewards .av-home-slider__track {
  grid-auto-columns: minmax(15rem, calc((100% - 1rem) / 2));
}

.av-home-progress-card--rewards > .av-home-text-link {
  margin-top: 0.4rem;
}

/* Movement proof */
.av-home-section--movement {
  color: var(--av-white);
  background:
    radial-gradient(circle at 10% 0%, rgba(250, 218, 73, 0.15), transparent 30rem),
    linear-gradient(145deg, #02331e, #045c35 58%, #069b58);
}

.av-home-movement {
  display: grid;
  grid-template-columns: minmax(0, 0.85fr) minmax(0, 1.15fr);
  gap: clamp(2.5rem, 7vw, 6rem);
  align-items: start;
}

.av-home-system .av-home-movement__intro h2 {
  max-width: 13ch;
  color: var(--av-white);
  text-shadow: 0 0.08em 0.5em rgba(1, 35, 20, 0.2);
}

.av-home-movement__intro > p:last-child {
  max-width: 39rem;
  margin: 1.25rem 0 0;
  color: rgba(255, 255, 255, 0.74);
  line-height: 1.68;
}

html.av-anim .av-home-movement__intro.av-reveal,
html.av-anim .av-home-final__inner.av-reveal {
  opacity: 1;
  filter: none;
}

.av-home-movement__principles {
  display: grid;
  gap: 0.75rem;
}

.av-home-principle {
  display: grid;
  grid-template-columns: 2.25rem minmax(0, 0.72fr) minmax(0, 1fr);
  gap: 1rem;
  align-items: center;
  min-height: 5rem;
  padding: 1rem 1.1rem;
  border: 1px solid rgba(255, 255, 255, 0.13);
  border-radius: 1.1rem;
  background: rgba(255, 255, 255, 0.07);
  backdrop-filter: blur(10px);
}

.av-home-principle > span {
  display: grid;
  width: 2.25rem;
  height: 2.25rem;
  place-items: center;
  border-radius: 0.7rem;
  color: var(--av-green-ink);
  background: var(--av-yellow);
  font-size: 0.65rem;
  font-weight: 800;
}

.av-home-principle h3 {
  margin: 0;
  color: var(--av-white);
  font-size: 0.95rem;
}

.av-home-principle p {
  margin: 0;
  color: rgba(255, 255, 255, 0.68);
  font-size: 0.82rem;
  line-height: 1.5;
}

/* Live app download — CML-style Android APK + iPhone home screen */
.av-home-app {
  position: relative;
  isolation: isolate;
  overflow: clip;
  padding: clamp(3rem, 6.5vw, 5.5rem) 0;
  color: var(--av-white);
  background:
    radial-gradient(ellipse 52% 78% at 92% 12%, rgba(250, 218, 73, 0.16), transparent 58%),
    radial-gradient(ellipse 42% 52% at 6% 92%, rgba(6, 155, 88, 0.28), transparent 52%),
    linear-gradient(180deg, #045c35 0%, #02331e 72%, #012616 100%);
}

.av-home-app__glow {
  position: absolute;
  inset: auto -18% -46% 36%;
  height: 72%;
  pointer-events: none;
  background: radial-gradient(circle, rgba(6, 155, 88, 0.34), transparent 68%);
}

.av-home-system .av-home-app h2,
.av-home-system .av-home-app h3,
.av-page--app .av-home-app-hero h1 {
  color: var(--av-white);
}

.av-home-app__stage {
  position: relative;
  display: grid;
  gap: 1.75rem;
}

.av-home-system .av-home-app h2 {
  max-width: 11ch;
  font-size: clamp(2.15rem, 4.6vw, 4.1rem);
}

.av-home-app__lead {
  max-width: 38ch;
  margin: 1rem 0 0;
  color: rgba(255, 255, 255, 0.82);
  font-size: clamp(1rem, 1.4vw, 1.15rem);
  line-height: 1.6;
}

.av-home-app__signals {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
  margin: 1.25rem 0 0;
  padding: 0;
  list-style: none;
}

.av-home-app__signals li {
  padding: 0.42rem 0.78rem;
  border: 1px solid rgba(250, 218, 73, 0.28);
  border-radius: 999px;
  color: rgba(255, 255, 255, 0.78);
  background: rgba(255, 255, 255, 0.06);
  font-size: 0.68rem;
  font-weight: 800;
  letter-spacing: 0.07em;
  text-transform: uppercase;
}

.av-home-app-phone {
  justify-self: center;
  width: min(210px, 58vw);
  transform: rotate(3.5deg);
}

.av-home-app-phone__bezel {
  position: relative;
  aspect-ratio: 9 / 18.4;
  padding: 9px;
  border: 1px solid rgba(255, 255, 255, 0.16);
  border-radius: 32px;
  background: linear-gradient(180deg, rgba(18, 72, 46, 0.96), rgba(2, 22, 14, 0.98));
  box-shadow:
    0 28px 54px rgba(0, 0, 0, 0.38),
    inset 0 1px 0 rgba(255, 255, 255, 0.1);
}

.av-home-app-phone__notch {
  position: absolute;
  top: 14px;
  left: 50%;
  z-index: 2;
  width: 38%;
  height: 8px;
  border-radius: 99px;
  background: #020b07;
  transform: translateX(-50%);
}

.av-home-app-phone__screen {
  display: grid;
  align-content: start;
  gap: 10px;
  height: 100%;
  padding: 28px 12px 14px;
  border-radius: 24px;
  background:
    radial-gradient(circle at 80% 0%, rgba(250, 218, 73, 0.16), transparent 42%),
    #04150e;
}

.av-home-app-phone__bar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  color: rgba(255, 255, 255, 0.72);
  font-size: 0.62rem;
  font-weight: 800;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.av-home-app-phone__live {
  display: inline-flex;
  align-items: center;
  color: var(--av-yellow);
}

.av-home-app-phone__live::before {
  width: 0.42rem;
  height: 0.42rem;
  margin-right: 0.35rem;
  border-radius: 99px;
  background: var(--av-yellow);
  box-shadow: 0 0 0 0 rgba(250, 218, 73, 0.55);
  animation: av-home-app-pulse 1.8s ease-out infinite;
  content: "";
}

.av-home-app-phone__points {
  margin: 8px 0 0;
  font-size: 2.05rem;
  font-weight: 800;
  line-height: 0.9;
  letter-spacing: -0.06em;
}

.av-home-app-phone__caption {
  margin: 0;
  color: rgba(186, 214, 196, 0.92);
  font-size: 0.72rem;
  font-weight: 700;
}

.av-home-app-phone__card {
  display: grid;
  gap: 4px;
  padding: 10px 11px;
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 14px;
  background: rgba(11, 36, 24, 0.92);
}

.av-home-app-phone__card span {
  color: var(--av-yellow);
  font-size: 0.58rem;
  font-weight: 800;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.av-home-app-phone__card strong {
  font-size: 0.78rem;
  font-weight: 700;
  line-height: 1.25;
}

.av-home-app-phone__card.is-dim {
  opacity: 0.72;
}

.av-home-app-os {
  display: grid;
  gap: 0.85rem;
}

.av-home-app-os__card {
  display: grid;
  gap: 0.55rem;
  align-content: start;
  padding: 1.25rem 1.3rem 1.35rem;
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: 1.35rem;
  background:
    linear-gradient(160deg, rgba(255, 255, 255, 0.1), rgba(255, 255, 255, 0.04)),
    rgba(2, 38, 24, 0.55);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.08);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
}

.av-home-app-os__platform {
  margin: 0;
  color: var(--av-yellow);
  font-size: 0.68rem;
  font-weight: 800;
  letter-spacing: 0.14em;
  text-transform: uppercase;
}

.av-home-system .av-home-app-os__card h3 {
  max-width: none;
  font-size: 1.18rem;
  letter-spacing: -0.03em;
}

.av-home-app-os__card p {
  margin: 0;
  color: rgba(255, 255, 255, 0.74);
  font-size: 0.92rem;
  line-height: 1.5;
}

.av-home-app-os__ver {
  font-size: 0.74rem !important;
  font-weight: 800 !important;
  letter-spacing: 0.04em;
  color: #8dffc2 !important;
}

.av-home-app-os__card .av-btn {
  justify-self: start;
  margin-top: 0.4rem;
}

.av-home-app__icon {
  width: 1.05rem;
  height: 1.05rem;
}

html.is-ios .av-home-app-os__card--ios {
  border-color: rgba(250, 218, 73, 0.42);
  box-shadow:
    0 0 0 1px rgba(250, 218, 73, 0.18),
    inset 0 1px 0 rgba(255, 255, 255, 0.1);
}

.av-home-app-hero {
  padding:
    calc(1rem + 3.85rem + clamp(1.6rem, 4vh, 2.8rem))
    0
    clamp(1.6rem, 3vh, 2.4rem);
  color: var(--av-white);
  background:
    radial-gradient(ellipse 70% 64% at 86% 28%, rgba(250, 218, 73, 0.16), transparent 56%),
    linear-gradient(145deg, #02331e 0%, #057a46 72%, #045c35 100%);
}

.av-home-app-hero__inner {
  max-width: 46rem;
}

.av-home-app-hero h1 {
  max-width: 16ch;
  margin: 0.2rem 0 0;
  font-size: clamp(2.4rem, 5.4vw, 4.4rem);
  font-weight: 800;
  line-height: 0.96;
  letter-spacing: -0.055em;
}

.av-home-app-hero p:not(.av-eyebrow) {
  max-width: 40rem;
  margin: 1rem 0 0;
  color: rgba(255, 255, 255, 0.82);
  font-size: 1.05rem;
  line-height: 1.6;
}

.av-home-section--app-guide {
  background:
    radial-gradient(circle at 0% 0%, rgba(250, 218, 73, 0.12), transparent 26rem),
    #f7fff9;
}

.av-home-app-guide {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 0.9rem;
  margin: 0;
  padding: 0;
  list-style: none;
}

.av-home-app-guide__step {
  display: grid;
  gap: 1rem;
  min-height: 14rem;
  padding: 1.4rem;
  border: 1px solid rgba(6, 155, 88, 0.13);
  border-radius: 1.35rem;
  background:
    linear-gradient(150deg, rgba(255, 255, 255, 0.96), rgba(232, 247, 239, 0.78));
  box-shadow: 0 16px 42px rgba(3, 69, 40, 0.08);
}

.av-home-app-guide__step span {
  display: grid;
  width: 2.5rem;
  height: 2.5rem;
  place-items: center;
  border-radius: 0.75rem;
  color: var(--av-green-ink);
  background: var(--av-yellow);
  font-size: 0.7rem;
  font-weight: 800;
}

.av-home-app-guide__step h3 {
  margin: 0;
  color: var(--av-green-deep);
  font-size: 1.12rem;
}

.av-home-app-guide__step p {
  margin: 0.55rem 0 0;
  color: var(--av-text-muted);
  font-size: 0.9rem;
  line-height: 1.55;
}

.av-home-app-guide__cta {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
  justify-content: center;
  margin-top: 2rem;
}

@keyframes av-home-app-pulse {
  0% {
    box-shadow: 0 0 0 0 rgba(250, 218, 73, 0.55);
  }
  70% {
    box-shadow: 0 0 0 8px rgba(250, 218, 73, 0);
  }
  100% {
    box-shadow: 0 0 0 0 rgba(250, 218, 73, 0);
  }
}

@media (min-width: 760px) {
  .av-home-app__stage {
    grid-template-columns: minmax(0, 1.15fr) minmax(190px, 230px);
    align-items: center;
    column-gap: 2.4rem;
  }

  .av-home-app-phone {
    grid-column: 2;
    grid-row: 1 / span 2;
  }

  .av-home-app-os {
    grid-column: 1;
    grid-template-columns: minmax(0, 24rem);
  }
}

/* Final decision */
.av-home-final {
  padding: clamp(1.1rem, 2vw, 1.75rem);
  background: #fffef7;
}

.av-home-final__inner {
  display: flex;
  width: min(1180px, 100%);
  align-items: center;
  justify-content: space-between;
  gap: 2rem;
  padding: clamp(1.8rem, 4vw, 3.25rem);
  border-radius: 1.65rem;
  color: var(--av-white);
  background:
    radial-gradient(circle at 100% 0%, rgba(250, 218, 73, 0.2), transparent 42%),
    linear-gradient(140deg, #034528, #069b58);
  box-shadow: 0 22px 60px rgba(3, 69, 40, 0.18);
}

.av-home-system .av-home-final h2 {
  max-width: 16ch;
  color: var(--av-white);
  font-size: clamp(2rem, 4vw, 3.5rem);
  text-shadow: 0 0.08em 0.5em rgba(1, 35, 20, 0.2);
}

.av-home-final p:not(.av-eyebrow) {
  max-width: 40rem;
  margin: 0.9rem 0 0;
  color: rgba(255, 255, 255, 0.76);
  line-height: 1.55;
}

.av-home-final__actions {
  display: flex;
  flex-shrink: 0;
  flex-wrap: wrap;
  gap: 0.65rem;
  justify-content: flex-end;
}

@keyframes av-home-drift {
  from {
    transform: translate3d(0, 0, 0) scale(1);
  }
  to {
    transform: translate3d(-2rem, 1.5rem, 0) scale(1.04);
  }
}

@media (max-width: 1099px) {
  .av-home-hero {
    min-height: auto;
  }

  .av-home-hero__grid {
    grid-template-columns: minmax(0, 1fr) minmax(17rem, 0.72fr);
    gap: 2rem;
  }

  .av-home-heading {
    grid-template-columns: minmax(0, 1fr) minmax(18rem, 0.8fr);
  }

  .av-home-heading > .av-home-text-link {
    grid-column: 1 / -1;
  }

  .av-home-slider__track {
    grid-auto-columns: minmax(17rem, calc((100% - 1rem) / 2));
  }

  .av-home-steps {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .av-home-step {
    min-height: 13rem;
  }

  .av-home-step__arrow {
    display: none;
  }

  .av-home-progression {
    grid-template-columns: 1fr;
  }

  .av-home-progress-card--rewards .av-home-slider__track {
    grid-auto-columns: minmax(17rem, calc((100% - 1rem) / 2));
  }
}

@media (max-width: 819px) {
  .av-home-hero {
    padding-top: calc(0.7rem + 3.5rem + 2.5rem + env(safe-area-inset-top, 0px));
  }

  .av-home-hero__grid {
    grid-template-columns: 1fr;
    gap: 1.7rem;
  }

  .av-home-hero__content {
    max-width: 40rem;
  }

  .av-home-hero__path {
    max-width: none;
  }

  .av-home-hero__stats {
    grid-column: auto;
  }

  .av-home-heading {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    gap: 0;
  }

  .av-home-heading > p {
    margin-top: 1rem;
  }

  .av-home-heading > .av-home-text-link {
    margin-top: 1rem;
  }

  .av-home-movement {
    grid-template-columns: 1fr;
  }

  .av-home-principle {
    grid-template-columns: 2.25rem minmax(0, 1fr);
  }

  .av-home-principle p {
    grid-column: 2;
  }

  .av-home-final__inner {
    align-items: flex-start;
    flex-direction: column;
  }

  .av-home-final__actions {
    width: 100%;
    justify-content: flex-start;
  }
}

@media (max-width: 639px) {
  body.av-home-system {
    --av-home-section-space: 4.5rem;
  }

  .av-home-hero {
    padding-bottom: calc(2.5rem + env(safe-area-inset-bottom, 0px));
  }

  .av-home-hero h1 {
    max-width: 10ch;
    font-size: clamp(2.9rem, 13.5vw, 4.35rem);
    line-height: 0.94;
    letter-spacing: -0.055em;
  }

  .av-home-hero__lead {
    font-size: 0.98rem;
  }

  .av-home-hero__actions {
    display: grid;
  }

  .av-home-hero__actions .av-btn {
    width: 100%;
  }

  .av-home-hero__path {
    padding: 1.2rem;
  }

  .av-home-hero__stats {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .av-home-stat:last-child {
    grid-column: 1 / -1;
  }

  .av-home-slider__top {
    align-items: flex-end;
  }

  .av-home-slider__status {
    max-width: 10rem;
  }

  .av-home-slider__track,
  .av-home-progress-card--rewards .av-home-slider__track {
    grid-auto-columns: min(82vw, 19rem);
  }

  .av-home-steps {
    grid-template-columns: 1fr;
  }

  .av-home-step {
    display: grid;
    grid-template-columns: 2.75rem 1fr;
    gap: 0.85rem;
    min-height: 0;
    padding: 1.2rem;
  }

  .av-home-step__number {
    margin: 0;
  }

  .av-home-progress-card {
    padding: 1.15rem;
  }

  .av-home-rank {
    grid-template-columns: 1.5rem 3.25rem minmax(0, 1fr);
  }

  .av-home-rank__image {
    width: 3.25rem;
    height: 3.25rem;
  }

  .av-home-final {
    padding: 0.65rem;
  }

  .av-home-final__inner {
    padding: 1.5rem 1.15rem;
    border-radius: 1.35rem;
  }

  .av-home-final__actions {
    display: grid;
  }

  .av-home-app-os {
    grid-template-columns: 1fr;
  }

  .av-home-app-phone {
    transform: none;
    width: min(188px, 52vw);
  }

  .av-home-app-guide {
    grid-template-columns: 1fr;
  }

  .av-home-app-guide__step {
    grid-template-columns: 2.75rem 1fr;
    min-height: 0;
    gap: 0.85rem;
  }

  .av-home-app-guide__cta {
    display: grid;
  }

  .av-home-app-guide__cta .av-btn {
    width: 100%;
  }

  .av-home-final__actions .av-btn {
    width: 100%;
  }
}

@media (max-width: 359px) {
  .av-home-hero h1 {
    font-size: 2.8rem;
  }

  .av-home-hero__accent {
    letter-spacing: 0.025em;
  }

  .av-home-slider__controls > span {
    display: none;
  }
}

@media (prefers-reduced-motion: reduce) {
  .av-home-hero__orb,
  .av-home-card,
  .av-home-card__image,
  .av-home-slider__controls button,
  .av-home-app-phone,
  .av-home-app-phone__live::before {
    animation: none;
    scroll-behavior: auto;
    transition: none;
    transform: none;
  }

  .av-home-slider__viewport {
    scroll-behavior: auto;
  }
}
