:root {
  /* GroundlyTV brand tokens (Asphalt + Sand + Off-White) */
  --nv-bg: #17191C;
  --nv-surface: #222528;
  --nv-surface-elevated: #2B3035;
  --nv-border: #34383B;
  --nv-text: #F3EFE7;
  --nv-text-secondary: #B8B4AC;
  --nv-muted: #85827C;
  --nv-sand: #D6A85C;
  --nv-warm-sand: #C99A52;
  --nv-light-sand: #E6C98A;
  --nv-selected-bg: #3A3022;
  --nv-on-sand: #17191C;
  --nv-error: #D96B5F;
  --nv-success: #8FAF72;
  --nv-warning: #D6A85C;
  --nv-info: #9A9FA3;
  /* Compat aliases — former red accents now map to Sand */
  --nv-red: var(--nv-sand);
  --nv-red-hot: var(--nv-light-sand);
  --nv-orange: var(--nv-warm-sand);
}

body {
  font-family: "Plus Jakarta Sans", system-ui, -apple-system, sans-serif;
}

.nv-body {
  background:
    radial-gradient(ellipse 70% 45% at 78% -8%, rgba(214, 168, 92, 0.10), transparent 55%),
    radial-gradient(ellipse 45% 35% at 8% 18%, rgba(214, 168, 92, 0.05), transparent 50%),
    var(--nv-bg);
  color: var(--nv-text);
  min-height: 100vh;
}

.nv-logo-lockup {
  /* GTV mark plus outlined "GroundlyTV" (assets/brand in the app repo): size by height. */
  display: block;
  width: auto;
  height: 1.85rem;
}

.nv-logo-lockup--lg {
  height: 2.1rem;
}

.nv-logo-text {
  color: var(--nv-text);
  font-weight: 700;
  letter-spacing: -0.01em;
  font-size: 1.15rem;
}

.nv-header {
  position: sticky;
  top: 0;
  z-index: 1030;
  border-bottom: 1px solid transparent;
  transition: background 0.25s, border-color 0.25s, box-shadow 0.25s;
}

.nv-header.is-scrolled {
  backdrop-filter: blur(12px);
  background: rgba(23, 25, 28, 0.88);
  border-bottom-color: var(--nv-border);
  box-shadow: 0 10px 30px -18px rgba(0, 0, 0, 0.8);
}

.nv-nav .nav-link {
  position: relative;
}

.nv-nav .nav-link.active::after {
  content: "";
  position: absolute;
  left: 50%;
  bottom: 0.1rem;
  width: 1rem;
  height: 2px;
  border-radius: 2px;
  background: var(--nv-sand);
  transform: translateX(-50%);
}

@media (max-width: 991.98px) {
  .nv-nav .nav-link.active::after {
    display: none;
  }

  .nv-nav .navbar-brand {
    margin-right: 0;
  }

  .nv-nav .btn-sm {
    padding: 0.4rem 0.85rem;
  }

}

.nv-nav {
  padding-block: 0.85rem;
}

.nv-nav .nav-link {
  font-weight: 500;
  font-size: 0.95rem;
}

.btn-nv-primary {
  --bs-btn-color: var(--nv-on-sand);
  --bs-btn-bg: var(--nv-sand);
  --bs-btn-border-color: var(--nv-sand);
  --bs-btn-hover-color: var(--nv-on-sand);
  --bs-btn-hover-bg: var(--nv-light-sand);
  --bs-btn-hover-border-color: var(--nv-light-sand);
  --bs-btn-active-color: var(--nv-on-sand);
  --bs-btn-active-bg: var(--nv-warm-sand);
  --bs-btn-active-border-color: var(--nv-warm-sand);
  border-radius: 50rem;
  font-weight: 600;
  padding: 0.65rem 1.35rem;
}

.btn-nv-ghost {
  --bs-btn-color: var(--nv-text);
  --bs-btn-bg: transparent;
  --bs-btn-border-color: var(--nv-border);
  --bs-btn-hover-color: var(--nv-text);
  --bs-btn-hover-bg: var(--nv-selected-bg);
  --bs-btn-hover-border-color: var(--nv-sand);
  border-radius: 50rem;
  font-weight: 600;
  padding: 0.65rem 1.35rem;
}

.nv-hero {
  padding: 5.5rem 0 4.5rem;
}

.nv-eyebrow {
  display: inline-block;
  text-transform: uppercase;
  letter-spacing: 0.16em;
  font-size: 0.75rem;
  font-weight: 600;
  color: var(--nv-sand);
  border-bottom: 0;
  padding-bottom: 0;
  margin-bottom: 1.1rem;
}

.nv-eyebrow--center {
  border-bottom-color: transparent;
  position: relative;
}

.nv-eyebrow--center::after {
  content: "";
  display: block;
  width: 2.5rem;
  height: 2px;
  background: var(--nv-sand);
  margin: 0.65rem auto 0;
}

.nv-hero-title {
  font-size: clamp(2.75rem, 6vw, 4.25rem);
  font-weight: 800;
  line-height: 1.02;
  letter-spacing: -0.03em;
  margin-bottom: 1.35rem;
}

.nv-accent-text {
  display: inline-block;
  color: var(--nv-sand);
}

.nv-hero-copy {
  color: var(--nv-text-secondary);
  font-size: 1.05rem;
  line-height: 1.65;
  max-width: 32rem;
  margin-bottom: 1.75rem;
}

.nv-trial-note {
  color: var(--nv-muted);
  font-size: 0.9rem;
  margin: 0.85rem 0 0;
}

.nv-experience {
  padding: 4rem 0 5.5rem;
}

.nv-pillars {
  padding: 3.5rem 0 5.5rem;
}

.nv-favorites-feature {
  padding: 3.5rem 0 5.5rem;
}

.nv-favorites-feature__container {
  max-width: 1120px;
}

.nv-favorites-feature__intro {
  margin-bottom: 2.5rem;
}

.nv-favorites-feature__lead {
  font-size: 1.15rem;
  font-weight: 600;
  color: var(--nv-text);
  margin-bottom: 0.85rem;
}

.nv-favorites-feature__takeaway {
  max-width: 36rem;
  margin: 2rem auto 2.25rem;
  font-size: clamp(1.15rem, 2vw, 1.35rem);
  font-weight: 600;
  line-height: 1.45;
  color: var(--nv-text);
}

.nv-favorites-feature__closing {
  margin-top: 1.75rem;
  font-size: 1rem;
  font-weight: 600;
  letter-spacing: 0.01em;
  color: var(--nv-text);
}

.nv-fav-ui {
  display: grid;
  grid-template-columns: auto 1fr;
  gap: 0;
  border-radius: 1.15rem;
  overflow: hidden;
  border: 1px solid rgba(255, 255, 255, 0.1);
  background:
    radial-gradient(ellipse 70% 55% at 85% 0%, rgba(214, 168, 92, 0.12), transparent 55%),
    linear-gradient(180deg, #222528 0%, #17191C 100%);
  box-shadow:
    0 0 0 1px rgba(214, 168, 92, 0.12),
    0 28px 60px rgba(0, 0, 0, 0.55);
  min-height: 22rem;
}

.nv-fav-ui__rail {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.85rem;
  padding: 1.25rem 0.85rem;
  background: rgba(0, 0, 0, 0.45);
  border-right: 1px solid var(--nv-border);
}

.nv-fav-ui__rail-dot {
  width: 2rem;
  height: 2rem;
  border-radius: 0.65rem;
  background: rgba(255, 255, 255, 0.06);
  display: grid;
  place-items: center;
  color: transparent;
  font-size: 0.9rem;
}

.nv-fav-ui__rail-dot.is-active {
  background: rgba(214, 168, 92, 0.18);
  color: var(--nv-red-hot);
  box-shadow: 0 0 18px rgba(214, 168, 92, 0.35);
}

.nv-fav-ui__rail-spacer {
  flex: 1;
  min-height: 1.5rem;
}

.nv-fav-ui__main {
  padding: 1.5rem 1.5rem 1.65rem;
  min-width: 0;
}

.nv-fav-ui__title {
  font-size: clamp(1.5rem, 2.5vw, 2rem);
  font-weight: 800;
  letter-spacing: -0.02em;
  margin: 0 0 0.2rem;
}

.nv-fav-ui__subtitle {
  margin: 0 0 1.15rem;
  font-size: 0.72rem;
  font-weight: 600;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--nv-muted);
}

.nv-fav-ui__folders {
  display: flex;
  flex-wrap: wrap;
  gap: 0.55rem;
  margin-bottom: 1.35rem;
}

.nv-fav-ui__folder {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  padding: 0.45rem 0.9rem;
  border-radius: 50rem;
  border: 1px solid rgba(255, 255, 255, 0.12);
  background: rgba(255, 255, 255, 0.04);
  color: var(--nv-muted);
  font-size: 0.88rem;
  font-weight: 600;
}

.nv-fav-ui__folder i {
  font-size: 0.75rem;
  opacity: 0.55;
}

.nv-fav-ui__folder.is-active {
  border-color: rgba(214, 168, 92, 0.7);
  background: rgba(214, 168, 92, 0.12);
  color: var(--nv-text);
}

.nv-fav-ui__folder.is-active i {
  color: var(--nv-red-hot);
  opacity: 1;
}

.nv-fav-ui__panel-label {
  margin: 0 0 0.85rem;
  font-size: 1rem;
  font-weight: 700;
}

.nv-fav-ui__panel-label span {
  color: var(--nv-muted);
  font-weight: 500;
}

.nv-fav-ui__grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 0.75rem;
}

.nv-fav-ui__card {
  position: relative;
  aspect-ratio: 2 / 3;
  border-radius: 0.7rem;
  overflow: hidden;
  border: 1px solid rgba(255, 255, 255, 0.08);
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  padding: 0.7rem;
  background: linear-gradient(160deg, #2a2a2a, #121212);
}

.nv-fav-ui__card--1 {
  background:
    linear-gradient(180deg, transparent 35%, rgba(0, 0, 0, 0.92) 100%),
    linear-gradient(145deg, #3a2424, #141010);
}

.nv-fav-ui__card--2 {
  background:
    linear-gradient(180deg, transparent 35%, rgba(0, 0, 0, 0.92) 100%),
    linear-gradient(145deg, #24303a, #101418);
}

.nv-fav-ui__card--3 {
  background:
    linear-gradient(180deg, transparent 35%, rgba(0, 0, 0, 0.92) 100%),
    linear-gradient(145deg, #2a2a1c, #14140e);
}

.nv-fav-ui__card--4 {
  background:
    linear-gradient(180deg, transparent 35%, rgba(0, 0, 0, 0.92) 100%),
    linear-gradient(145deg, #2c2232, #120e16);
}

.nv-fav-ui__badge {
  position: absolute;
  top: 0.55rem;
  left: 0.55rem;
  padding: 0.2rem 0.45rem;
  border-radius: 0.35rem;
  background: rgba(0, 0, 0, 0.65);
  border: 1px solid rgba(255, 255, 255, 0.12);
  color: var(--nv-text);
  font-size: 0.65rem;
  font-weight: 700;
  letter-spacing: 0.04em;
  text-transform: uppercase;
}

.nv-fav-ui__star {
  position: absolute;
  top: 0.55rem;
  right: 0.55rem;
  color: var(--nv-red-hot);
  font-size: 0.75rem;
  filter: drop-shadow(0 0 6px rgba(214, 168, 92, 0.45));
}

.nv-fav-ui__card-meta {
  display: flex;
  flex-direction: column;
  gap: 0.15rem;
  min-width: 0;
}

.nv-fav-ui__card-title {
  font-size: 0.82rem;
  font-weight: 700;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.nv-fav-ui__card-type {
  font-size: 0.72rem;
  color: var(--nv-muted);
}

.nv-fav-examples {
  margin-top: 0.5rem;
}

.nv-fav-examples__title {
  font-size: 0.8rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--nv-muted);
  margin-bottom: 1.15rem;
}

.nv-fav-example {
  height: 100%;
  padding: 1.25rem 1.2rem;
  border-radius: 1rem;
  border: 1px solid var(--nv-border);
  background: var(--nv-surface-elevated);
}

.nv-fav-example__name {
  font-size: 1.05rem;
  font-weight: 700;
  margin-bottom: 0.75rem;
  color: var(--nv-text);
}

.nv-fav-example__list {
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
  flex-direction: column;
  gap: 0.45rem;
}

.nv-fav-example__list li {
  position: relative;
  padding-left: 0.9rem;
  color: var(--nv-muted);
  font-size: 0.92rem;
  line-height: 1.4;
}

.nv-fav-example__list li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0.55rem;
  width: 0.35rem;
  height: 0.35rem;
  border-radius: 50%;
  background: var(--nv-red);
}

@media (max-width: 767.98px) {
  .nv-fav-ui {
    grid-template-columns: 1fr;
    min-height: 0;
  }

  .nv-fav-ui__rail {
    flex-direction: row;
    justify-content: center;
    padding: 0.85rem 1rem;
    border-right: 0;
    border-bottom: 1px solid var(--nv-border);
  }

  .nv-fav-ui__rail-spacer {
    display: none;
  }

  .nv-fav-ui__main {
    padding: 1.2rem 1rem 1.35rem;
  }

  .nv-fav-ui__grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .nv-fav-ui__card--3,
  .nv-fav-ui__card--4 {
    display: none;
  }
}

@media (max-width: 575.98px) {
  .nv-favorites-feature__intro {
    margin-bottom: 1.75rem;
  }

  .nv-fav-ui__folders {
    flex-wrap: nowrap;
    overflow-x: auto;
    padding-bottom: 0.25rem;
    margin-right: -0.25rem;
    scrollbar-width: none;
  }

  .nv-fav-ui__folders::-webkit-scrollbar {
    display: none;
  }

  .nv-fav-ui__folder {
    flex: 0 0 auto;
  }
}

.nv-pillar-icon {
  font-size: 1.75rem;
  color: var(--nv-text);
  margin-bottom: 0.85rem;
}

.nv-pillar-title {
  font-size: 1rem;
  font-weight: 700;
  margin-bottom: 0.35rem;
}

.nv-pillar-copy {
  color: var(--nv-muted);
  font-size: 0.9rem;
  margin-bottom: 0;
}

.nv-features {
  padding: 3rem 0 5.5rem;
}

.nv-features-container {
  max-width: 1120px;
}

.nv-section-title {
  font-size: clamp(1.8rem, 3vw, 2.4rem);
  font-weight: 800;
  letter-spacing: -0.02em;
  margin-bottom: 0.75rem;
}

.nv-section-copy {
  color: var(--nv-muted);
  max-width: 36rem;
  line-height: 1.6;
}

.nv-showcase {
  margin-bottom: 1.5rem;
}

.nv-showcase__copy {
  max-width: 36rem;
  margin-bottom: 1.5rem;
}

.nv-showcase__label {
  display: inline-block;
  color: var(--nv-red-hot);
  font-size: 0.8rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  margin-bottom: 0.65rem;
}

.nv-showcase__title {
  font-size: clamp(1.25rem, 2.2vw, 1.65rem);
  font-weight: 600;
  line-height: 1.35;
  color: var(--nv-text);
  margin: 0;
}

.nv-showcase__media {
  position: relative;
  border-radius: 1.15rem;
  overflow: hidden;
  border: 1px solid rgba(255, 255, 255, 0.1);
  background: var(--nv-bg);
  box-shadow:
    0 0 0 1px rgba(214, 168, 92, 0.12),
    0 28px 60px rgba(0, 0, 0, 0.55);
}

.nv-showcase__media::after {
  content: "";
  position: absolute;
  inset: auto 10% -20% 10%;
  height: 40%;
  background: radial-gradient(ellipse at center, rgba(214, 168, 92, 0.18), transparent 70%);
  pointer-events: none;
  z-index: 0;
}

.nv-showcase__img {
  position: relative;
  z-index: 1;
  display: block;
  width: 100%;
  height: auto;
}

.nv-feature-tile {
  background: var(--nv-surface);
  border: 1px solid var(--nv-border);
  border-radius: 1rem;
  padding: 1.5rem;
  display: flex;
  flex-direction: column;
  transition: border-color 0.2s ease, background 0.2s ease;
}

.nv-feature-tile:hover {
  border-color: rgba(214, 168, 92, 0.45);
  background: var(--nv-surface-elevated);
}

.nv-feature-tile__icon {
  width: 2.5rem;
  height: 2.5rem;
  border-radius: 0.7rem;
  display: grid;
  place-items: center;
  background: rgba(214, 168, 92, 0.12);
  color: var(--nv-red-hot);
  font-size: 1.15rem;
  margin-bottom: 1rem;
}

.nv-feature-tile__title {
  font-size: 1.2rem;
  font-weight: 700;
  margin-bottom: 0.45rem;
}

.nv-feature-tile__copy {
  color: var(--nv-muted);
  font-size: 0.95rem;
  line-height: 1.55;
  margin-bottom: 1.15rem;
}

.nv-ui-preview {
  background: var(--nv-surface);
  border: 1px solid var(--nv-border);
  border-radius: 0.85rem;
  padding: 0.75rem;
  margin-top: auto;
}

.nv-ui-preview--list {
  display: flex;
  flex-direction: column;
  gap: 0.35rem;
}

.nv-ui-row {
  display: flex;
  justify-content: space-between;
  gap: 0.75rem;
  padding: 0.65rem 0.8rem;
  border-radius: 0.45rem;
  background: var(--nv-surface-elevated);
  font-size: 0.85rem;
  color: var(--nv-muted);
}

.nv-ui-row.is-active {
  background: var(--nv-red);
  color: var(--nv-text);
}

.nv-ui-preview--grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 0.45rem;
}

.nv-ui-poster {
  aspect-ratio: 2 / 3;
  border-radius: 0.4rem;
  background: linear-gradient(145deg, #2b2b2b, var(--nv-surface-elevated));
}

.nv-ui-poster:nth-child(2) {
  background: linear-gradient(145deg, #3a2626, #1a1212);
}

.nv-ui-poster:nth-child(3) {
  background: linear-gradient(145deg, #26323a, #12161a);
}

.nv-ui-poster:nth-child(4) {
  background: linear-gradient(145deg, #2a2a22, #151510);
}

.nv-ui-poster:nth-child(5) {
  background: linear-gradient(145deg, #222a32, #10141a);
}

.nv-ui-poster:nth-child(6) {
  background: linear-gradient(145deg, #322228, #1a1014);
}

@media (max-width: 575.98px) {
  .nv-showcase__media {
    border-radius: 0.85rem;
  }

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

  .nv-ui-poster:nth-child(n + 5) {
    display: none;
  }
}

.nv-trust {
  padding: 1rem 0 4.5rem;
}

.nv-trust-panel {
  background: linear-gradient(180deg, rgba(214, 168, 92, 0.12), rgba(20, 20, 20, 0.6));
  border: 1px solid var(--nv-border);
  border-radius: 1.25rem;
  padding: 2.5rem 1.5rem;
}

.nv-footer {
  border-top: 1px solid var(--nv-border);
  padding: 2.5rem 0 1.5rem;
  background: var(--nv-bg);
}

.nv-footer-tagline {
  text-transform: uppercase;
  letter-spacing: 0.16em;
  font-size: 0.75rem;
  color: var(--nv-muted);
  font-weight: 600;
}

.nv-footer-link {
  color: var(--nv-muted);
  text-decoration: none;
  font-size: 0.92rem;
}

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

.nv-footer-bottom {
  margin-top: 2rem;
  padding-top: 1.25rem;
  border-top: 1px solid var(--nv-border);
  color: var(--nv-muted);
  font-size: 0.85rem;
}

.nv-features-page {
  padding-bottom: 2rem;
}

.nv-page-hero {
  padding: 3.5rem 0 2.5rem;
}

.nv-page-hero__title {
  font-size: clamp(2.2rem, 4.5vw, 3.2rem);
  font-weight: 800;
  letter-spacing: -0.03em;
  margin-bottom: 1rem;
  max-width: 18ch;
}

.nv-page-hero__copy {
  color: var(--nv-muted);
  font-size: 1.1rem;
  line-height: 1.65;
  max-width: 38rem;
  margin-bottom: 0;
}

.nv-features-cta {
  padding: 1rem 0 4rem;
}

.nv-features-cta__panel {
  border-radius: 1.25rem;
  border: 1px solid var(--nv-border);
  background: linear-gradient(180deg, rgba(214, 168, 92, 0.12), rgba(20, 20, 20, 0.55));
  padding: 2.5rem 1.5rem;
}

@media (max-width: 575.98px) {
  .nv-hero {
    padding-top: 2.5rem;
  }

  .nv-page-hero {
    padding-top: 2.5rem;
  }
}

/* GroundlyTV refinements */

.nv-nav .nav-link {
  color: var(--nv-text-secondary);
}

.nv-nav .nav-link:hover,
.nv-nav .nav-link:focus-visible {
  color: var(--nv-sand);
}

.nv-nav .nav-link.active {
  color: var(--nv-sand);
}

.nv-eyebrow {
  color: var(--nv-sand);
  border-bottom-color: var(--nv-sand);
}

.nv-hero-copy,
.nv-trial-note,
.nv-section-copy,
.nv-pillar-copy,
.nv-feature-tile__copy,
.nv-page-hero__copy {
  color: var(--nv-text-secondary);
}

.nv-showcase__label {
  color: var(--nv-sand);
}

.nv-feature-tile__icon {
  background: rgba(214, 168, 92, 0.12);
  color: var(--nv-sand);
}

.nv-ui-row.is-active {
  background: var(--nv-selected-bg);
  color: var(--nv-sand);
  border: 1px solid var(--nv-sand);
}

.nv-trust-panel,
.nv-features-cta__panel {
  background: linear-gradient(180deg, rgba(214, 168, 92, 0.10), rgba(34, 37, 40, 0.85));
}

.nv-fav-ui__star {
  color: var(--nv-sand);
  filter: drop-shadow(0 0 6px rgba(214, 168, 92, 0.35));
}

.nv-fav-example__list li::before {
  background: var(--nv-sand);
}

.nv-footer-disclaimer {
  max-width: 36rem;
  font-size: 0.78rem;
  line-height: 1.45;
  color: var(--nv-muted);
}

.nv-trust-panel__copy {
  max-width: 42rem;
  text-align: left;
}

@media (min-width: 768px) {
  .nv-trust-panel__copy {
    text-align: center;
  }
}

.nv-section-intro {
  margin-bottom: 2.75rem;
}

.nv-shot {
  margin: 0 0 2rem;
  border-radius: 1rem;
  overflow: hidden;
  border: 1px solid var(--nv-border);
  background: var(--nv-surface);
  box-shadow: 0 28px 60px rgba(0, 0, 0, 0.4);
}

.nv-shot__img {
  display: block;
  width: 100%;
  height: auto;
}

.nv-guide,
.nv-discovery {
  padding: 3.5rem 0 5.5rem;
}

.nv-text-link {
  color: var(--nv-sand);
  text-decoration: none;
  font-weight: 600;
}

.nv-text-link:hover {
  color: var(--nv-light-sand);
}

.nv-pillar-icon {
  color: var(--nv-sand);
}

.nv-features {
  padding: 3.5rem 0 5rem;
}

.nv-trust {
  padding: 2rem 0 4.5rem;
}

.nv-features-cta {
  padding: 1rem 0 5rem;
}

.nv-nav {
  padding-block: 1rem;
}

@media (max-width: 575.98px) {
  .nv-hero {
    padding-top: 3rem;
    padding-bottom: 2.5rem;
  }
}

.nv-sign-in-page .nv-page-hero {
  min-height: min(70vh, 36rem);
  display: flex;
  align-items: center;
}

.nv-sign-in {
  max-width: 26rem;
  margin-inline: auto;
  text-align: center;
}

.nv-sign-in .nv-page-hero__title {
  margin-bottom: 0.85rem;
}

.nv-sign-in .nv-page-hero__copy {
  margin-bottom: 1.75rem;
}

.btn-nv-google {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 100%;
  max-width: 22rem;
}

/* Home: device frames with real app screenshots */
.nv-tv-frame {
  position: relative;
  padding: 0.45rem;
  border-radius: 0.95rem;
  background: #0c0d0f;
  border: 1px solid #3a3e42;
  box-shadow:
    0 36px 70px -24px rgba(0, 0, 0, 0.8),
    0 0 0 1px rgba(255, 255, 255, 0.03);
}

.nv-tv-frame__img {
  display: block;
  width: 100%;
  height: auto;
  border-radius: 0.55rem;
}

.nv-phone-frame {
  padding: 0.35rem;
  border-radius: 1.9rem;
  background: #050506;
  border: 2px solid #4a4e52;
  box-shadow: 0 28px 56px -18px rgba(0, 0, 0, 0.85);
}

.nv-phone-frame__img {
  display: block;
  width: 100%;
  height: auto;
  border-radius: 1.55rem;
}

.nv-hero-devices {
  position: relative;
  padding: 0 3.5rem 3rem 0;
}

.nv-hero-devices__glow {
  position: absolute;
  inset: -10% 0 0 4%;
  background: radial-gradient(ellipse at 55% 45%, rgba(214, 168, 92, 0.16), transparent 68%);
  pointer-events: none;
}

.nv-hero-devices__phone {
  position: absolute;
  right: 0;
  bottom: 0;
  width: 27%;
  animation: nv-float 7s ease-in-out infinite;
}

@keyframes nv-float {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(-10px); }
}

/* Home: tabbed showcase */
.nv-experience {
  background: linear-gradient(180deg, transparent, rgba(255, 255, 255, 0.015) 50%, transparent);
}

.nv-showcase-tabs {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 0.5rem;
  margin-bottom: 1rem;
}

.nv-showcase-tab {
  position: relative;
  overflow: hidden;
  padding: 0.6rem 1.15rem;
  border-radius: 50rem;
  border: 1px solid var(--nv-border);
  background: var(--nv-surface);
  color: var(--nv-text-secondary);
  font-size: 0.9rem;
  font-weight: 600;
  transition: color 0.2s, border-color 0.2s, background 0.2s;
}

.nv-showcase-tab:hover {
  color: var(--nv-text);
}

.nv-showcase-tab[aria-selected="true"] {
  background: var(--nv-selected-bg);
  border-color: var(--nv-sand);
  color: var(--nv-light-sand);
}

.nv-showcase-tab__progress {
  position: absolute;
  left: 0;
  bottom: 0;
  height: 2px;
  width: 100%;
  background: var(--nv-sand);
  transform: scaleX(0);
  transform-origin: left;
}

.nv-showcase-tab.is-running .nv-showcase-tab__progress {
  animation: nv-progress var(--nv-showcase-interval, 6500ms) linear forwards;
}

@keyframes nv-progress {
  to { transform: scaleX(1); }
}

.nv-device-switch {
  display: flex;
  justify-content: center;
  gap: 0.25rem;
  margin-bottom: 2.75rem;
}

.nv-device-switch__btn {
  padding: 0.35rem 0.8rem;
  border: 0;
  border-bottom: 2px solid transparent;
  background: none;
  color: var(--nv-muted);
  font-size: 0.85rem;
  font-weight: 600;
}

.nv-device-switch__btn[aria-pressed="true"] {
  color: var(--nv-text);
  border-bottom-color: var(--nv-sand);
}

.nv-stage__scene.is-active {
  animation: nv-scene-in 0.5s ease both;
}

@keyframes nv-scene-in {
  from { opacity: 0; transform: translateY(8px); }
  to { opacity: 1; transform: none; }
}

.nv-stage__devices {
  position: relative;
  max-width: 64rem;
  margin-inline: auto;
}

.nv-stage__tv {
  width: 86%;
}

.nv-stage__phone {
  position: absolute;
  right: 0;
  bottom: -2.5rem;
  width: 21%;
}

.nv-stage__phone--extra {
  display: none;
}

.nv-stage--tv .nv-stage__tv {
  width: 100%;
}

.nv-stage--tv .nv-stage__phone {
  display: none;
}

.nv-stage--phone .nv-stage__devices {
  display: flex;
  justify-content: center;
  gap: 1.75rem;
}

.nv-stage--phone .nv-stage__tv {
  display: none;
}

.nv-stage--phone .nv-stage__phone,
.nv-stage--phone .nv-stage__phone--extra {
  display: block;
  position: static;
  width: min(15rem, 44%);
}

.nv-stage__caption {
  margin: 4rem auto 0;
  max-width: 36rem;
  text-align: center;
  color: var(--nv-text-secondary);
}

.nv-stage--phone .nv-stage__caption {
  margin-top: 1.75rem;
}

.nv-features-more {
  margin-top: 1.5rem;
}

/* Home: detail pages band */
.nv-detail-band {
  position: relative;
  overflow: hidden;
  padding: 6rem 0;
}

.nv-detail-band__backdrop {
  position: absolute;
  inset: -3rem;
  width: calc(100% + 6rem);
  height: calc(100% + 6rem);
  object-fit: cover;
  filter: blur(48px) saturate(1.3);
  opacity: 0.5;
  pointer-events: none;
}

.nv-detail-band::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(0deg, var(--nv-bg), transparent 30%, transparent 70%, var(--nv-bg));
  pointer-events: none;
}

.nv-detail-band .container {
  position: relative;
  z-index: 1;
}

.nv-detail-band .nv-section-copy {
  color: var(--nv-text-secondary);
}

.nv-detail-band__shots {
  position: relative;
  padding-bottom: 4.5rem;
}

.nv-detail-band__shots > .nv-tv-frame:first-child {
  width: 86%;
}

.nv-detail-band__second {
  position: absolute;
  right: 0;
  bottom: 0;
  width: 46%;
}

.nv-chips {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
  margin: 1.5rem 0 0;
  padding: 0;
  list-style: none;
}

.nv-chip {
  padding: 0.4rem 0.85rem;
  border-radius: 50rem;
  border: 1px solid var(--nv-border);
  background: rgba(34, 37, 40, 0.8);
  color: var(--nv-text-secondary);
  font-size: 0.85rem;
}

/* Home: screenshot pairs for guide and discovery */
.nv-combo {
  position: relative;
  padding-bottom: 3.5rem;
}

.nv-combo > .nv-tv-frame {
  width: 88%;
}

.nv-combo__phone {
  position: absolute;
  right: 0;
  bottom: 0;
  width: 27%;
}

.nv-combo--left > .nv-tv-frame {
  margin-left: auto;
}

.nv-combo--left .nv-combo__phone {
  right: auto;
  left: 0;
}

.nv-live-badge {
  position: absolute;
  z-index: 1;
  top: -0.9rem;
  left: 1.25rem;
  display: inline-flex;
  align-items: center;
  gap: 0.45rem;
  padding: 0.3rem 0.75rem;
  border-radius: 50rem;
  background: var(--nv-sand);
  color: var(--nv-on-sand);
  font-size: 0.72rem;
  font-weight: 800;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.nv-live-badge__dot {
  width: 0.5rem;
  height: 0.5rem;
  border-radius: 50%;
  background: var(--nv-on-sand);
  animation: nv-pulse 1.6s ease-in-out infinite;
}

@keyframes nv-pulse {
  0%, 100% { opacity: 1; }
  50% { opacity: 0.25; }
}

.nv-ticks {
  margin: 1.5rem 0 0;
  padding: 0;
  list-style: none;
  color: var(--nv-text-secondary);
}

.nv-ticks li {
  position: relative;
  padding: 0.4rem 0 0.4rem 1.75rem;
}

.nv-ticks li::before {
  content: "";
  position: absolute;
  left: 0.1rem;
  top: 0.85rem;
  width: 0.85rem;
  height: 0.45rem;
  border-left: 2px solid var(--nv-sand);
  border-bottom: 2px solid var(--nv-sand);
  transform: rotate(-45deg);
}

/* Home: scroll reveal (class only added by JS) */
.nv-reveal {
  opacity: 0;
  transform: translateY(24px);
  transition: opacity 0.7s ease, transform 0.7s ease;
}

.nv-reveal.is-revealed {
  opacity: 1;
  transform: none;
}

@media (max-width: 991.98px) {
  .nv-hero-devices {
    max-width: 36rem;
    margin-inline: auto;
    padding-right: 2.5rem;
  }

  .nv-stage__tv {
    width: 100%;
  }

  .nv-stage__phone {
    width: 26%;
    bottom: -2rem;
  }

  .nv-detail-band {
    padding: 4rem 0;
  }

  .nv-detail-band__shots > .nv-tv-frame:first-child {
    width: 100%;
  }

  .nv-detail-band__second {
    display: none;
  }

  .nv-detail-band__shots {
    padding-bottom: 0;
  }
}

@media (prefers-reduced-motion: reduce) {
  .nv-hero-devices__phone,
  .nv-live-badge__dot,
  .nv-stage__scene.is-active {
    animation: none;
  }
}

main section[id] {
  scroll-margin-top: 5rem;
}

/* Features: hero stats */
.nv-features-hero {
  padding-top: 5rem;
  background: radial-gradient(50% 70% at 50% 0%, rgba(214, 168, 92, 0.12), transparent 70%);
}

.nv-features-hero .nv-page-hero__title {
  font-size: clamp(2.6rem, 6vw, 4.5rem);
  max-width: 16ch;
  margin-inline: auto;
}

.nv-stats {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 1.5rem 3.5rem;
  margin: 2.75rem 0 0;
}

.nv-stats__item {
  display: flex;
  flex-direction: column-reverse;
  align-items: center;
}

.nv-stats__value {
  margin: 0;
  font-size: 2.5rem;
  font-weight: 800;
  letter-spacing: -0.03em;
  line-height: 1.1;
  color: var(--nv-text);
  font-variant-numeric: tabular-nums;
}

.nv-stats__label {
  font-weight: 400;
  font-size: 0.9rem;
  color: var(--nv-muted);
}

/* Features: bento highlights */
.nv-bento-section {
  padding: 1.5rem 0 2rem;
}

.nv-bento {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  grid-auto-rows: 13rem;
  gap: 1rem;
}

.nv-bento__tile {
  position: relative;
  overflow: hidden;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  padding: 1.5rem;
  border-radius: 1.25rem;
  border: 1px solid var(--nv-border);
  background: var(--nv-surface);
  color: var(--nv-text);
  text-decoration: none;
  transition: transform 0.3s ease, border-color 0.3s ease;
}

.nv-bento__tile:hover,
.nv-bento__tile:focus-visible {
  color: var(--nv-text);
  transform: translateY(-4px);
  border-color: rgba(214, 168, 92, 0.5);
}

.nv-bento__tile--big {
  grid-column: span 2;
  grid-row: span 2;
}

.nv-bento__tile--wide {
  grid-column: span 2;
}

.nv-bento__shot {
  position: absolute;
  inset: 0;
}

.nv-bento__shot img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: top left;
  transition: transform 0.6s ease;
}

.nv-bento__tile:hover .nv-bento__shot img {
  transform: scale(1.04);
}

.nv-bento__shot::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(0deg, var(--nv-surface) 18%, rgba(34, 37, 40, 0.6) 45%, transparent 75%);
}

.nv-bento__title,
.nv-bento__copy {
  position: relative;
}

.nv-bento__title {
  margin: 0 0 0.25rem;
  font-size: 1.15rem;
  font-weight: 700;
}

.nv-bento__copy {
  margin: 0;
  max-width: 28rem;
  color: var(--nv-text-secondary);
  font-size: 0.9rem;
}

.nv-bento__formats {
  position: absolute;
  top: 1.4rem;
  left: 1.5rem;
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
}

.nv-bento__formats span {
  padding: 0.35rem 0.75rem;
  border-radius: 0.6rem;
  border: 1px solid var(--nv-border);
  background: var(--nv-surface-elevated);
  color: var(--nv-light-sand);
  font-size: 0.82rem;
  font-weight: 700;
}

.nv-bento__playlists {
  position: absolute;
  top: 1.25rem;
  right: 1.4rem;
  width: 44%;
}

.nv-bento__playlists span {
  display: block;
  margin-bottom: 0.35rem;
  padding: 0.3rem 0.65rem;
  border-radius: 0.55rem;
  border: 1px solid var(--nv-border);
  background: var(--nv-surface-elevated);
  color: var(--nv-text-secondary);
  font-size: 0.78rem;
}

.nv-bento__playlists span.is-active {
  border-color: var(--nv-sand);
  background: var(--nv-selected-bg);
  color: var(--nv-light-sand);
}

/* Features: guided tour */
.nv-tour {
  padding: 5.5rem 0 2rem;
}

.nv-tour__chapters {
  display: flex;
  flex-wrap: wrap;
  gap: 0.25rem;
}

.nv-tour__chapter {
  flex: none;
  padding: 0.4rem 0.8rem;
  border-radius: 50rem;
  border: 1px solid transparent;
  color: var(--nv-text-secondary);
  font-size: 0.82rem;
  font-weight: 600;
  text-decoration: none;
}

.nv-tour__chapter:hover {
  color: var(--nv-text);
}

.nv-tour__chapter.is-active {
  border-color: var(--nv-sand);
  background: var(--nv-selected-bg);
  color: var(--nv-light-sand);
}

.nv-tour__grid {
  display: grid;
  grid-template-columns: 5fr 7fr;
  gap: 4rem;
}

.nv-tour__steps {
  padding: 0 0 15vh;
}

.nv-tour__chapter-title {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  margin: 4rem 0 0;
  scroll-margin-top: 6rem;
  color: var(--nv-muted);
  font-size: 0.8rem;
  font-weight: 700;
  letter-spacing: 0.16em;
  text-transform: uppercase;
}

.nv-tour__chapter-title:first-child {
  margin-top: 0;
}

.nv-tour__chapter-title::after {
  content: "";
  flex: 1;
  height: 1px;
  background: var(--nv-border);
}

.nv-tour__step {
  display: flex;
  flex-direction: column;
  justify-content: flex-start;
  min-height: 60vh;
  padding-top: 2rem;
  opacity: 0.35;
  transition: opacity 0.4s ease;
}

.nv-tour__step.is-active {
  opacity: 1;
}

.nv-tour__icon {
  margin-bottom: 0.85rem;
  color: var(--nv-sand);
  font-size: 1.4rem;
}

.nv-tour__title {
  margin-bottom: 0.75rem;
  font-size: clamp(1.5rem, 2.4vw, 1.9rem);
  font-weight: 800;
  letter-spacing: -0.02em;
}

.nv-tour__body {
  margin-bottom: 0.5rem;
  color: var(--nv-text-secondary);
  font-size: 1.05rem;
  line-height: 1.6;
}

.nv-tour__note {
  margin: 0;
  color: var(--nv-muted);
  font-size: 0.9rem;
}

.nv-tour__inline-shot {
  display: none;
}

.nv-tour__viewer {
  position: sticky;
  top: 6rem;
  align-self: start;
  display: flex;
  flex-direction: column;
  gap: 1.5rem;
  padding-top: 2.5rem;
}

.nv-tour__devices {
  position: relative;
  width: 100%;
}

.nv-tour__devices .nv-tv-frame {
  transition: opacity 0.35s ease, filter 0.35s ease;
}

.nv-tour__viewer .nv-tv-frame__img,
.nv-tour__viewer .nv-phone-frame__img {
  transition: opacity 0.18s ease;
}

.nv-tour__viewer .is-swapping {
  opacity: 0;
}

.nv-tour__phone {
  position: absolute;
  right: 33%;
  bottom: -12%;
  width: 34%;
  opacity: 0;
  transform: translateY(24px);
  transition: opacity 0.35s ease, transform 0.35s ease;
  pointer-events: none;
}

.nv-tour__viewer.is-phone .nv-tv-frame {
  opacity: 0.25;
  filter: blur(2px);
}

.nv-tour__viewer.is-phone .nv-tour__phone {
  opacity: 1;
  transform: none;
}

/* Features: filterable index */
.nv-feature-index {
  padding: 5rem 0;
  border-top: 1px solid var(--nv-border);
}

.nv-feature-index__head {
  display: flex;
  flex-wrap: wrap;
  align-items: flex-end;
  justify-content: space-between;
  gap: 1.5rem;
}

.nv-feature-index__search {
  width: min(100%, 18rem);
  padding: 0.6rem 1.1rem;
  border-radius: 50rem;
  border: 1px solid var(--nv-border);
  background: var(--nv-surface);
  color: var(--nv-text);
}

.nv-feature-index__search:focus {
  outline: none;
  border-color: var(--nv-sand);
}

.nv-feature-index__filters {
  display: flex;
  flex-wrap: wrap;
  gap: 0.4rem;
  margin: 1.75rem 0;
}

.nv-filter-chip {
  padding: 0.45rem 0.95rem;
  border-radius: 50rem;
  border: 1px solid var(--nv-border);
  background: var(--nv-surface);
  color: var(--nv-text-secondary);
  font-size: 0.82rem;
  font-weight: 600;
}

.nv-filter-chip[aria-pressed="true"] {
  border-color: var(--nv-sand);
  background: var(--nv-selected-bg);
  color: var(--nv-light-sand);
}

.nv-feature-index__grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 0.9rem;
  align-items: start;
}

.nv-feature-card {
  border-radius: 1rem;
  border: 1px solid var(--nv-border);
  background: var(--nv-surface);
  transition: border-color 0.2s ease;
}

.nv-feature-card:hover,
.nv-feature-card[open] {
  border-color: rgba(214, 168, 92, 0.45);
}

.nv-feature-card__summary {
  display: block;
  padding: 1.15rem 1.25rem;
  cursor: pointer;
  list-style: none;
}

.nv-feature-card__summary::-webkit-details-marker {
  display: none;
}

.nv-feature-card__head {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  margin-bottom: 0.5rem;
}

.nv-feature-card__icon {
  display: grid;
  flex: none;
  place-items: center;
  width: 2.25rem;
  height: 2.25rem;
  border-radius: 0.65rem;
  background: var(--nv-selected-bg);
  color: var(--nv-sand);
}

.nv-feature-card__title {
  font-weight: 700;
  color: var(--nv-text);
}

.nv-feature-card__devices {
  display: flex;
  gap: 0.35rem;
  margin-left: auto;
  color: var(--nv-muted);
  font-size: 0.85rem;
}

.nv-feature-card__copy {
  display: block;
  color: var(--nv-text-secondary);
  font-size: 0.9rem;
  line-height: 1.55;
}

.nv-feature-card__detail {
  margin: 0;
  padding: 0 1.25rem 1.15rem;
  color: var(--nv-muted);
  font-size: 0.86rem;
  line-height: 1.55;
}

.nv-feature-index__empty {
  color: var(--nv-muted);
  text-align: center;
}

@media (max-width: 991.98px) {
  .nv-bento {
    grid-template-columns: repeat(2, 1fr);
    grid-auto-rows: 12rem;
  }

  .nv-tour__grid {
    grid-template-columns: 1fr;
  }

  .nv-tour__viewer {
    display: none;
  }

  .nv-tour__steps {
    padding: 0 0 2rem;
  }

  .nv-tour__step {
    min-height: 0;
    padding: 1.75rem 0;
    opacity: 1;
  }

  .nv-tour__inline-shot {
    display: block;
    margin-top: 1.25rem;
  }

  .nv-tour__inline-phone {
    width: min(14rem, 60%);
  }

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

@media (max-width: 575.98px) {
  .nv-bento {
    grid-template-columns: 1fr;
  }

  .nv-bento__tile--big,
  .nv-bento__tile--wide {
    grid-column: auto;
    grid-row: auto;
  }

  .nv-bento__playlists {
    display: none;
  }

  .nv-feature-index__grid {
    grid-template-columns: 1fr;
  }

  .nv-stats {
    gap: 1.25rem 2rem;
  }
}

/* Header: menu toggle and full-screen mobile menu */
.nv-nav .nv-menu-toggle {
  display: inline-flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 4px;
  width: 2.6rem;
  height: 2.4rem;
  padding: 0;
  border: 1px solid var(--nv-border);
  border-radius: 0.75rem;
}

.nv-nav .nv-menu-toggle:focus {
  box-shadow: none;
}

.nv-nav .nv-menu-toggle:focus-visible {
  outline: 2px solid var(--nv-sand);
  outline-offset: 2px;
}

.nv-menu-toggle__bar {
  width: 18px;
  height: 2px;
  border-radius: 2px;
  background: var(--nv-text);
  transition: transform 0.25s ease, opacity 0.2s ease;
}

.nv-menu-toggle[aria-expanded="true"] .nv-menu-toggle__bar:nth-child(1) {
  transform: translateY(6px) rotate(45deg);
}

.nv-menu-toggle[aria-expanded="true"] .nv-menu-toggle__bar:nth-child(2) {
  opacity: 0;
}

.nv-menu-toggle[aria-expanded="true"] .nv-menu-toggle__bar:nth-child(3) {
  transform: translateY(-6px) rotate(-45deg);
}

@media (min-width: 992px) {
  .nv-nav .nv-menu-toggle,
  .nv-menu__icon,
  .nv-menu__arrow {
    display: none;
  }
}

@media (max-width: 991.98px) {
  html.nv-menu-open {
    overflow: hidden;
  }

  .nv-menu-open .nv-header {
    backdrop-filter: none;
    background: transparent;
    border-bottom-color: transparent;
    box-shadow: none;
  }

  /* Sits behind the header bar (negative z-index inside the header) and covers the page. */
  .nv-menu {
    position: fixed;
    inset: 0;
    z-index: -1;
    flex-direction: column;
    align-items: stretch;
    padding: 5.25rem 1.25rem 1.5rem;
    overflow-y: auto;
    background:
      radial-gradient(90% 45% at 100% 0%, rgba(214, 168, 92, 0.16), transparent 65%),
      var(--nv-bg);
  }

  .nv-menu.show {
    display: flex;
    animation: nv-menu-in 0.25s ease both;
  }

  .nv-menu__list {
    gap: 0.6rem;
    margin-inline: 0 !important;
  }

  .nv-menu__list .nav-item {
    animation: nv-menu-item 0.35s ease both;
  }

  .nv-menu__list .nav-item:nth-child(2) { animation-delay: 0.04s; }
  .nv-menu__list .nav-item:nth-child(3) { animation-delay: 0.08s; }
  .nv-menu__list .nav-item:nth-child(4) { animation-delay: 0.12s; }

  .nv-nav .nv-menu__link {
    display: flex;
    align-items: center;
    gap: 1rem;
    padding: 0.85rem 1rem;
    border-radius: 1rem;
    border: 1px solid var(--nv-border);
    background: var(--nv-surface);
    color: var(--nv-text);
    font-size: 1.15rem;
    font-weight: 700;
  }

  .nv-nav .nv-menu__link:hover,
  .nv-nav .nv-menu__link:focus-visible {
    color: var(--nv-text);
    border-color: rgba(214, 168, 92, 0.5);
  }

  .nv-nav .nv-menu__link.active {
    color: var(--nv-light-sand);
    border-color: var(--nv-sand);
    background: var(--nv-selected-bg);
  }

  .nv-menu__icon {
    display: grid;
    place-items: center;
    width: 2.5rem;
    height: 2.5rem;
    border-radius: 0.75rem;
    background: var(--nv-selected-bg);
    color: var(--nv-sand);
    font-size: 1.1rem;
  }

  .nv-menu__arrow {
    margin-left: auto;
    color: var(--nv-muted);
    transition: transform 0.2s ease;
  }

  .nv-menu__link:hover .nv-menu__arrow,
  .nv-menu__link.active .nv-menu__arrow {
    color: var(--nv-sand);
    transform: translateX(3px);
  }

  .nv-menu__actions {
    flex-direction: column;
    align-items: stretch !important;
    margin-top: auto;
    padding-top: 1.75rem;
    animation: nv-menu-item 0.35s 0.16s ease both;
  }

  .nv-nav .nv-menu__cta,
  .nv-nav .nv-menu__secondary {
    width: 100%;
    justify-content: center;
    padding: 0.85rem 1rem;
    font-size: 1rem;
  }

  .nv-menu__secondary-form {
    width: 100%;
  }

  .nv-menu__note {
    color: var(--nv-muted);
    font-size: 0.85rem;
    text-align: center;
  }
}

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

@keyframes nv-menu-item {
  from { opacity: 0; transform: translateY(10px); }
  to { opacity: 1; transform: none; }
}

@media (prefers-reduced-motion: reduce) {
  .nv-menu.show,
  .nv-menu__list .nav-item,
  .nv-menu__actions {
    animation: none;
  }
}

/* Legal pages (Terms of Use, Privacy Policy) */
.nv-legal {
  max-width: 46rem;
}

.nv-legal .nv-page-hero__title {
  max-width: none;
}

.nv-legal__dates {
  color: var(--nv-muted);
  font-size: 0.95rem;
  margin-bottom: 1.25rem;
}

.nv-legal__draft {
  display: flex;
  gap: 0.75rem;
  align-items: flex-start;
  background: var(--nv-selected-bg);
  border: 1px solid var(--nv-sand);
  border-radius: 0.75rem;
  color: var(--nv-light-sand);
  padding: 0.9rem 1.1rem;
  margin-bottom: 1.5rem;
  line-height: 1.5;
}

.nv-legal__intro {
  margin-bottom: 2rem;
}

.nv-legal__toc {
  background: var(--nv-surface);
  border: 1px solid var(--nv-border);
  border-radius: 0.75rem;
  padding: 1.1rem 1.4rem;
  margin-bottom: 2.5rem;
}

.nv-legal__toc-title {
  font-size: 1rem;
  font-weight: 700;
  margin-bottom: 0.6rem;
}

.nv-legal__toc ol {
  margin: 0;
  padding-left: 1.3rem;
  columns: 2 16rem;
  column-gap: 2rem;
}

.nv-legal__toc li {
  break-inside: avoid;
  margin-bottom: 0.3rem;
}

.nv-legal__toc a,
.nv-legal__see-also a,
.nv-legal__link,
.nv-sign-in__legal a {
  color: var(--nv-sand);
}

.nv-legal__section {
  scroll-margin-top: 6rem;
  margin-bottom: 2.25rem;
}

.nv-legal__section h2 {
  font-size: 1.3rem;
  font-weight: 700;
  margin-bottom: 0.75rem;
}

.nv-legal__section p,
.nv-legal__section li {
  color: var(--nv-text-secondary);
  line-height: 1.7;
  overflow-wrap: anywhere;
}

.nv-legal__section ul {
  padding-left: 1.3rem;
  margin-bottom: 1rem;
}

.nv-legal__section li {
  margin-bottom: 0.4rem;
}

.nv-legal__table-wrap {
  overflow-x: auto;
  margin-bottom: 1rem;
}

.nv-legal__table {
  width: 100%;
  min-width: 36rem;
  border-collapse: collapse;
  font-size: 0.95rem;
}

.nv-legal__table th,
.nv-legal__table td {
  border-bottom: 1px solid var(--nv-border);
  padding: 0.65rem 0.75rem 0.65rem 0;
  text-align: left;
  vertical-align: top;
}

.nv-legal__table th {
  color: var(--nv-text);
  font-weight: 700;
}

.nv-legal__table td {
  color: var(--nv-text-secondary);
}

.nv-legal__see-also {
  border-top: 1px solid var(--nv-border);
  color: var(--nv-muted);
  padding-top: 1.25rem;
}

.nv-todo {
  background: var(--nv-sand);
  color: var(--nv-on-sand);
  border-radius: 0.35rem;
  font-size: 0.85em;
  font-weight: 700;
  padding: 0.05rem 0.4rem;
  white-space: nowrap;
}

.nv-sign-in__legal {
  color: var(--nv-muted);
  font-size: 0.9rem;
  margin-top: 1.25rem;
  margin-bottom: 0;
}

/* Account deletion */
.btn-nv-danger {
  --bs-btn-color: var(--nv-on-sand);
  --bs-btn-bg: var(--nv-error);
  --bs-btn-border-color: var(--nv-error);
  --bs-btn-hover-color: var(--nv-on-sand);
  --bs-btn-hover-bg: #E3857A;
  --bs-btn-hover-border-color: #E3857A;
  --bs-btn-active-color: var(--nv-on-sand);
  --bs-btn-active-bg: #C45A4F;
  --bs-btn-active-border-color: #C45A4F;
  font-weight: 700;
}

.btn-nv-danger-outline {
  --bs-btn-color: var(--nv-error);
  --bs-btn-border-color: var(--nv-error);
  --bs-btn-hover-color: var(--nv-on-sand);
  --bs-btn-hover-bg: var(--nv-error);
  --bs-btn-hover-border-color: var(--nv-error);
}

.nv-delete-tile {
  border-color: rgba(217, 107, 95, 0.45);
}

.nv-delete-subscription {
  border-color: var(--nv-sand);
  background: var(--nv-selected-bg);
}

.nv-delete-form label {
  color: var(--nv-text-secondary);
  line-height: 1.5;
}
