/* Famvogt home v3 — Comptal2 visual clone (Raleway + Source Sans 3) */

body.home-v3-page {
  /* Bleus Famvogt (plus clairs) + structure Comptal2 */
  --hv3-primary: #1a6fb5;
  --hv3-primary-light: #3b9dd9;
  --hv3-primary-lighter: #7ab8e0;
  --hv3-primary-lightest: #e8f2fa;
  --hv3-gray-50: #f8fafc;
  --hv3-gray-100: #f1f5f9;
  --hv3-gray-200: #e2e8f0;
  --hv3-gray-300: #cbd5e1;
  --hv3-gray-400: #94a3b8;
  --hv3-gray-500: #64748b;
  --hv3-gray-600: #475569;
  --hv3-gray-700: #334155;
  --hv3-gray-800: #1e293b;
  --hv3-gray-900: #0f172a;
  --hv3-teal: #2a9d8f;
  --hv3-teal-light: #14b8a6;
  --hv3-teal-lightest: #ccfbf1;
  --hv3-shadow-sm: 0 1px 2px 0 rgba(0, 0, 0, 0.05);
  --hv3-shadow-md: 0 4px 6px -1px rgba(0, 0, 0, 0.1), 0 2px 4px -1px rgba(0, 0, 0, 0.06);
  --hv3-shadow-lg: 0 10px 15px -3px rgba(0, 0, 0, 0.1), 0 4px 6px -2px rgba(0, 0, 0, 0.05);

  --hv3-ink: var(--hv3-gray-900);
  --hv3-ink-soft: var(--hv3-gray-500);
  --hv3-paper: var(--hv3-gray-50);
  --hv3-paper-elevated: #ffffff;
  --hv3-accent: var(--hv3-primary);
  --hv3-accent-hover: #155a94;
  --hv3-sea: #0b3d5c;
  --hv3-sea-mid: #14608a;
  --hv3-brand: #1e3a6e;
  --hv3-line: var(--hv3-gray-200);
  --hv3-max: 1100px;
  --hv3-header-h: 4.25rem;
  --hv3-font-display: "Raleway", "Segoe UI", sans-serif;
  --hv3-font-body: "Source Sans 3", "Segoe UI", sans-serif;
  --hv3-radius: 12px;
  --hv3-radius-sm: 10px;

  margin: 0;
  background: var(--hv3-gray-50);
  font-family: var(--hv3-font-body);
  color: var(--hv3-gray-800);
}

.home-v3 {
  color: var(--hv3-gray-800);
  background: var(--hv3-gray-50);
  font-family: var(--hv3-font-body);
  font-size: 1rem;
  line-height: 1.6;
}

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

/* ========== Scroll reveal (Comptal2) ========== */
.hv3-reveal {
  opacity: 0;
  transform: translateY(30px);
  transition:
    opacity 0.6s cubic-bezier(0.16, 1, 0.3, 1),
    transform 0.6s cubic-bezier(0.16, 1, 0.3, 1);
}

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

.hv3-reveal:nth-child(2) {
  transition-delay: 0.08s;
}
.hv3-reveal:nth-child(3) {
  transition-delay: 0.16s;
}
.hv3-reveal:nth-child(4) {
  transition-delay: 0.24s;
}

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

/* ========== Header / Navigation ========== */
.hv3-header {
  position: sticky;
  top: 0;
  z-index: 100;
  background: rgba(255, 255, 255, 0.85);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--hv3-gray-200);
  transition: box-shadow 0.3s ease;
}

.hv3-header.is-scrolled {
  box-shadow: var(--hv3-shadow-md);
}

.hv3-header__inner {
  max-width: 1200px;
  margin: 0 auto;
  padding: 1rem 1.5rem;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1.5rem;
}

.hv3-brand {
  font-family: var(--hv3-font-display);
  font-weight: 900;
  font-size: 1.25rem;
  letter-spacing: -0.01em;
  color: var(--hv3-brand);
  text-decoration: none;
  flex-shrink: 0;
  line-height: 1;
  transition: color 0.2s ease;
}

.hv3-brand:hover {
  color: var(--hv3-primary);
}

.hv3-header__right {
  display: flex;
  align-items: center;
  gap: 1.25rem;
  margin-left: auto;
}

.hv3-nav {
  display: none;
  flex-wrap: wrap;
  align-items: center;
  gap: 0.65rem 1.25rem;
}

.hv3-nav a {
  font-family: var(--hv3-font-display);
  font-size: 0.95rem;
  font-weight: 500;
  color: var(--hv3-gray-600);
  text-decoration: none;
  position: relative;
  white-space: nowrap;
  transition: color 0.2s ease;
}

.hv3-nav a::after {
  content: "";
  position: absolute;
  bottom: -4px;
  left: 0;
  width: 0;
  height: 2px;
  background: var(--hv3-primary);
  transition: width 0.25s ease;
}

.hv3-nav a:hover,
.hv3-nav a[aria-current="page"] {
  color: var(--hv3-primary);
}

.hv3-nav a:hover::after,
.hv3-nav a[aria-current="page"]::after {
  width: 100%;
}

.hv3-burger {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 2.5rem;
  height: 2.5rem;
  border: 1px solid var(--hv3-gray-200);
  border-radius: 8px;
  background: transparent;
  cursor: pointer;
  color: var(--hv3-primary);
}

.hv3-burger svg {
  width: 1.25rem;
  height: 1.25rem;
  fill: currentColor;
}

.hv3-drawer {
  display: none;
  position: fixed;
  inset: 0;
  z-index: 200;
  background: rgba(15, 23, 42, 0.45);
}

.hv3-drawer.is-open {
  display: block;
}

.hv3-drawer__panel {
  position: absolute;
  top: 0;
  right: 0;
  width: min(20rem, 88vw);
  height: 100%;
  background: #ffffff;
  padding: 1.25rem 1.5rem 2rem;
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
  box-shadow: var(--hv3-shadow-lg);
}

.hv3-drawer__close {
  align-self: flex-end;
  border: none;
  background: transparent;
  font-size: 1.5rem;
  line-height: 1;
  cursor: pointer;
  color: var(--hv3-primary);
  padding: 0.25rem;
}

.hv3-drawer__panel a {
  display: block;
  padding: 0.75rem 0;
  font-family: var(--hv3-font-display);
  font-weight: 600;
  color: var(--hv3-primary);
  text-decoration: none;
  border-bottom: 1px solid var(--hv3-gray-200);
}

/* Lang switcher — Comptal2 pill */
.hv3-header .lang-switcher {
  position: relative;
}

.hv3-header .lang-switcher-toggle {
  display: inline-flex;
  align-items: center;
  gap: 0.2rem;
  padding: 4px 10px;
  border-radius: 6px;
  border: 1px solid var(--hv3-primary-lightest);
  background: var(--hv3-primary-lightest);
  color: var(--hv3-primary);
  font-family: var(--hv3-font-display);
  font-size: 0.85rem;
  font-weight: 600;
  cursor: pointer;
  line-height: 1;
  transition: all 0.2s ease;
}

.hv3-header .lang-switcher-toggle:hover {
  border-color: var(--hv3-primary-lighter);
  background: #ffffff;
}

.hv3-header .lang-switcher-globe {
  display: none;
}

.hv3-header .lang-switcher-chevron {
  width: 0.95rem;
  height: 0.95rem;
  fill: currentColor;
}

.hv3-header .lang-switcher-menu {
  position: absolute;
  right: 0;
  top: calc(100% + 0.4rem);
  min-width: 10rem;
  margin: 0;
  padding: 0.35rem;
  list-style: none;
  background: #fff;
  border: 1px solid var(--hv3-gray-200);
  border-radius: 8px;
  box-shadow: var(--hv3-shadow-lg);
  display: none;
  z-index: 110;
}

.hv3-header .lang-switcher.open .lang-switcher-menu {
  display: block;
}

.hv3-header .lang-switcher-menu a {
  display: flex;
  gap: 0.5rem;
  padding: 0.5rem 0.65rem;
  text-decoration: none;
  color: var(--hv3-gray-800);
  border-radius: 6px;
  font-family: var(--hv3-font-display);
  font-size: 0.9rem;
}

.hv3-header .lang-switcher-menu a:hover,
.hv3-header .lang-switcher-menu a[aria-current="true"] {
  background: var(--hv3-primary-lightest);
  color: var(--hv3-primary);
}

/* ========== Buttons ========== */
.hv3-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 16px 32px;
  border-radius: 12px;
  font-family: var(--hv3-font-body);
  font-size: 1.05rem;
  font-weight: 600;
  text-decoration: none;
  transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
  border: 1.5px solid transparent;
}

.hv3-btn--primary {
  background: #ffffff;
  color: var(--hv3-primary);
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.15);
}

.hv3-btn--primary:hover {
  background: #e8f2fa;
  transform: translateY(-3px);
  box-shadow: 0 8px 30px rgba(0, 0, 0, 0.25);
}

.hv3-btn--primary:active {
  transform: translateY(-1px);
}

.hv3-btn--ghost {
  background: transparent;
  color: #fff;
  border-color: rgba(255, 255, 255, 0.35);
  padding: 16px 28px;
}

.hv3-btn--ghost:hover {
  background: rgba(255, 255, 255, 0.1);
  border-color: rgba(255, 255, 255, 0.6);
  transform: translateY(-2px);
}

.hv3-btn--solid {
  background: var(--hv3-primary);
  color: #fff;
}

.hv3-btn--solid:hover {
  background: var(--hv3-accent-hover);
  color: #fff;
  box-shadow: 0 4px 16px rgba(26, 111, 181, 0.25);
  transform: translateY(-2px);
}

.hv3-btn--outline {
  background: transparent;
  color: var(--hv3-primary);
  border-color: var(--hv3-primary-lighter);
}

.hv3-btn--outline:hover {
  background: var(--hv3-primary-lightest);
}

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

/* ========== Hero ========== */
.hv3-hero {
  position: relative;
  padding: 6rem 1.5rem 5rem;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  color: #fff;
  overflow: hidden;
  background: var(--hv3-sea);
  min-height: min(72vh, 36rem);
}

.hv3-hero--page {
  min-height: min(42vh, 22rem);
  padding: 4.5rem 1.5rem 3.75rem;
}

.hv3-hero--page .hv3-hero__brand {
  font-size: clamp(2.1rem, 5vw, 3.25rem);
}

.hv3-hero--page .hv3-hero__tagline {
  margin-bottom: 2rem;
}

.hv3-hero__media {
  position: absolute;
  inset: 0;
  background-size: cover;
  background-position: center;
  opacity: 1;
  transform: scale(1.02);
}

.hv3-hero__veil {
  position: absolute;
  inset: 0;
  background:
    radial-gradient(ellipse 80% 70% at 30% 40%, rgba(11, 61, 92, 0.55), transparent 70%),
    linear-gradient(135deg, rgba(11, 61, 92, 0.88) 0%, rgba(20, 96, 138, 0.72) 55%, rgba(26, 111, 181, 0.65) 100%);
}

.hv3-orbs {
  position: absolute;
  inset: 0;
  pointer-events: none;
  overflow: hidden;
  z-index: 0;
}

.hv3-orb {
  position: absolute;
  border-radius: 50%;
  filter: blur(80px);
  opacity: 0.3;
}

.hv3-orb--1 {
  width: 420px;
  height: 420px;
  background: #3b9dd9;
  top: -140px;
  right: -100px;
  animation: hv3OrbFloat 8s ease-in-out infinite alternate;
}

.hv3-orb--2 {
  width: 320px;
  height: 320px;
  background: var(--hv3-teal);
  bottom: -80px;
  left: -120px;
  animation: hv3OrbFloat 10s ease-in-out 1s infinite alternate-reverse;
}

.hv3-orb--3 {
  width: 200px;
  height: 200px;
  background: #818cf8;
  top: 40%;
  left: 50%;
  animation: hv3OrbFloat 7s ease-in-out 2s infinite alternate;
}

@keyframes hv3OrbFloat {
  from {
    transform: translate(0, 0) scale(1);
  }
  to {
    transform: translate(30px, -20px) scale(1.1);
  }
}

@media (prefers-reduced-motion: reduce) {
  .hv3-orb {
    animation: none;
  }

  .hv3-btn--primary:hover,
  .hv3-btn--ghost:hover,
  .hv3-btn--solid:hover,
  .hv3-feature:hover,
  .hv3-feature.is-revealed,
  .hv3-card:hover,
  .hv3-card.is-revealed,
  .hv3-nl-card:hover .hv3-nl-card__frame,
  .hv3-nl-card.is-revealed .hv3-nl-card__frame {
    transform: none;
  }

  .hv3-nl-card__overlay {
    --hv3-nl-cover: 0.55;
    height: 55%;
  }
}

.hv3-hero__content {
  position: relative;
  z-index: 1;
  max-width: 640px;
  margin: 0 auto;
}

.hv3-badge {
  display: inline-block;
  padding: 5px 16px;
  font-size: 0.78rem;
  font-weight: 600;
  letter-spacing: 0.04em;
  border: 1px solid rgba(255, 255, 255, 0.3);
  border-radius: 20px;
  background: rgba(255, 255, 255, 0.1);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  margin-bottom: 1.5rem;
  color: rgba(255, 255, 255, 0.9);
  text-transform: none;
}

.hv3-hero__brand {
  font-family: var(--hv3-font-display);
  font-weight: 900;
  font-size: clamp(2.5rem, 6vw, 4rem);
  line-height: 1.1;
  letter-spacing: -0.03em;
  margin: 0 0 0.6rem;
  color: #fff;
}

.hv3-hero__tagline {
  font-family: var(--hv3-font-body);
  font-weight: 400;
  font-size: clamp(1rem, 2.5vw, 1.2rem);
  margin: 0 0 2.5rem;
  color: rgba(255, 255, 255, 0.7);
}

/* ========== Sections ========== */
.hv3-section {
  padding: 5rem 1.5rem;
}

.hv3-section--muted {
  background: var(--hv3-gray-50);
}

.hv3-section--dark {
  position: relative;
  overflow: hidden;
  background: linear-gradient(135deg, var(--hv3-sea) 0%, var(--hv3-sea-mid) 55%, var(--hv3-primary) 100%);
  color: #fff;
}

.hv3-final-band {
  padding: 5rem 1.5rem;
  background:
    radial-gradient(ellipse 80% 70% at 30% 40%, rgba(26, 111, 181, 0.35), transparent 70%),
    linear-gradient(135deg, rgba(11, 61, 92, 0.95) 0%, rgba(20, 96, 138, 0.92) 55%, rgba(26, 111, 181, 0.9) 100%);
}

.hv3-final-band .hv3-section__inner {
  position: relative;
  z-index: 1;
}

.hv3-section__inner {
  max-width: var(--hv3-max);
  margin: 0 auto;
}

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

.hv3-eyebrow {
  display: inline-block;
  padding: 4px 14px;
  font-size: 0.8rem;
  font-weight: 600;
  letter-spacing: 0.02em;
  text-transform: uppercase;
  color: var(--hv3-primary);
  background: var(--hv3-primary-lightest);
  border-radius: 20px;
  margin-bottom: 0.75rem;
}

.hv3-section--dark .hv3-eyebrow {
  color: rgba(255, 255, 255, 0.9);
  background: rgba(255, 255, 255, 0.1);
  border: 1px solid rgba(255, 255, 255, 0.3);
}

.hv3-h2 {
  font-family: var(--hv3-font-display);
  font-weight: 800;
  font-size: clamp(1.5rem, 3.5vw, 2rem);
  letter-spacing: -0.01em;
  line-height: 1.2;
  margin: 0 0 0.5rem;
  color: var(--hv3-gray-900);
  text-align: center;
}

.hv3-section--dark .hv3-h2 {
  color: #fff;
}

.hv3-lead {
  margin: 0;
  color: var(--hv3-gray-500);
  font-size: 1.05rem;
  text-align: center;
}

.hv3-section--dark .hv3-lead {
  color: rgba(255, 255, 255, 0.7);
}

/* ========== Support / Features (Comptal2 feature-card) ========== */
.hv3-section--support {
  background: #ffffff;
  padding: 5rem 1.5rem;
}

.hv3-section__intro--support {
  max-width: 560px;
  margin: 0 auto 2.5rem;
}

.hv3-features {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 1.25rem;
}

.hv3-feature {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 0;
  background: #ffffff;
  border: 1px solid var(--hv3-gray-200);
  border-radius: 16px;
  padding: 1.75rem;
  text-decoration: none;
  color: inherit;
  box-shadow: var(--hv3-shadow-sm);
  transition: all 0.35s cubic-bezier(0.4, 0, 0.2, 1);
  position: relative;
  overflow: hidden;
}

.hv3-feature::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 3px;
  background: linear-gradient(90deg, var(--hv3-primary), var(--hv3-primary-light));
  opacity: 0;
  transition: opacity 0.3s ease;
}

.hv3-feature__icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 46px;
  height: 46px;
  border-radius: 12px;
  flex-shrink: 0;
  margin-bottom: 1rem;
}

.hv3-feature__icon svg {
  width: 22px;
  height: 22px;
  fill: currentColor;
}

.hv3-feature--newsletter .hv3-feature__icon {
  background: #e8f2fa;
  color: #1a6fb5;
}

.hv3-feature--learn .hv3-feature__icon {
  background: #e0e7ff;
  color: #4f46e5;
}

.hv3-feature--donate .hv3-feature__icon {
  background: #d1fae5;
  color: #059669;
}

.hv3-feature h3 {
  font-family: var(--hv3-font-display);
  font-weight: 700;
  font-size: 1.1rem;
  line-height: 1.3;
  margin: 0 0 0.5rem;
  color: var(--hv3-gray-900);
}

.hv3-feature p {
  font-family: var(--hv3-font-body);
  font-weight: 400;
  font-size: 0.92rem;
  line-height: 1.55;
  margin: 0;
  color: var(--hv3-gray-600);
}

/* ========== Legacy grid cards ========== */
.hv3-grid {
  display: grid;
  gap: 1.25rem;
  grid-template-columns: 1fr;
}

.hv3-card {
  background: #ffffff;
  border: 1px solid var(--hv3-gray-200);
  border-radius: 16px;
  padding: 1.5rem 1.35rem;
  display: flex;
  flex-direction: column;
  gap: 0.65rem;
  text-decoration: none;
  color: inherit;
  box-shadow: var(--hv3-shadow-sm);
  transition: all 0.35s cubic-bezier(0.4, 0, 0.2, 1);
}

.hv3-card h3 {
  font-family: var(--hv3-font-display);
  font-weight: 800;
  font-size: 1.1rem;
  margin: 0;
  color: var(--hv3-gray-900);
}

.hv3-card p {
  margin: 0;
  flex: 1;
  color: var(--hv3-gray-600);
  font-size: 0.92rem;
}

.hv3-card__cta {
  font-weight: 600;
  color: var(--hv3-primary);
  font-size: 0.95rem;
}

/* ========== Newsletter spotlight ========== */
.hv3-nl-intro {
  max-width: min(100%, 56rem);
  margin-left: auto;
  margin-right: auto;
}

.hv3-nl-intro .hv3-lead {
  max-width: none;
  margin-left: auto;
  margin-right: auto;
}

.hv3-nl-pair {
  display: grid;
  gap: 1.25rem;
  grid-template-columns: 1fr;
  align-items: stretch;
}

.hv3-nl-card {
  display: block;
  text-decoration: none;
  color: inherit;
}

.hv3-nl-card__frame {
  position: relative;
  display: block;
  border-radius: 16px;
  overflow: hidden;
  background: var(--hv3-gray-100);
  border: 1px solid var(--hv3-gray-200);
  aspect-ratio: 3 / 4;
  box-shadow: var(--hv3-shadow-sm);
  transition: box-shadow 0.3s cubic-bezier(0.4, 0, 0.2, 1), transform 0.3s cubic-bezier(0.4, 0, 0.2, 1),
    border-color 0.3s ease;
}

.hv3-nl-card__frame img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: top center;
  display: block;
}

.hv3-nl-card__overlay {
  --hv3-nl-cover: 0;
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  height: calc(24% + var(--hv3-nl-cover) * 76%);
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 1.25rem 1.15rem;
  background: linear-gradient(
    to top,
    rgba(11, 61, 92, 0.92) 0%,
    rgba(20, 96, 138, 0.78) 42%,
    rgba(26, 111, 181, 0.45) 78%,
    rgba(26, 111, 181, calc(0.08 + var(--hv3-nl-cover) * 0.28)) 100%
  );
  color: #fff;
  font-family: var(--hv3-font-display);
  font-weight: 700;
  font-size: clamp(1.15rem, 2.8vw, 1.45rem);
  letter-spacing: 0.01em;
  line-height: 1.25;
  text-align: center;
  text-shadow: 0 1px 3px rgba(11, 61, 92, 0.35);
  pointer-events: none;
  will-change: height;
}

@media (min-width: 720px) {
  .hv3-nl-pair {
    grid-template-columns: 1fr 1fr;
    gap: 1.25rem;
  }
}

/* ========== Deep dive (legacy) ========== */
.hv3-dive {
  display: grid;
  gap: 2rem;
  align-items: center;
}

.hv3-dive__copy h2 {
  font-family: var(--hv3-font-display);
  font-weight: 800;
  font-size: 1.5rem;
  margin: 0 0 0.75rem;
  letter-spacing: -0.01em;
  color: var(--hv3-gray-900);
}

.hv3-dive__copy p {
  margin: 0 0 1.5rem;
  color: var(--hv3-gray-600);
}

.hv3-dive__copy .hv3-cta-row {
  justify-content: flex-start;
}

.hv3-dive__media {
  border-radius: 16px;
  overflow: hidden;
  background: var(--hv3-gray-100);
  border: 1px solid var(--hv3-gray-200);
  aspect-ratio: 4 / 3;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: var(--hv3-shadow-md);
}

.hv3-dive__media img {
  width: 100%;
  height: 100%;
  object-fit: contain;
  padding: 1rem;
}

.hv3-dive + .hv3-dive {
  margin-top: 4rem;
}

/* ========== Final CTA ========== */
.hv3-final {
  text-align: center;
  max-width: min(100%, 56rem);
  margin: 0 auto;
  padding-inline: 0.25rem;
}

.hv3-final .hv3-h2 {
  font-size: clamp(1.5rem, 3.5vw, 2rem);
}

.hv3-final .hv3-lead {
  margin-bottom: 2rem;
  max-width: none;
}

.hv3-final .hv3-cta-row {
  margin-top: 0;
}

/* ========== Footer ========== */
.hv3-footer {
  margin-top: auto;
  background: var(--hv3-gray-50);
  border-top: 1px solid var(--hv3-gray-200);
  padding: 2rem 1.5rem;
}

.hv3-footer__inner {
  max-width: 1200px;
  margin: 0 auto;
  text-align: center;
}

.hv3-footer__nav {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: center;
  gap: 0.15rem 0;
  font-family: var(--hv3-font-body);
  font-size: 0.85rem;
  color: var(--hv3-gray-500);
}

.hv3-footer__nav a {
  color: var(--hv3-primary);
  text-decoration: none;
  font-weight: 500;
  transition: color 0.2s ease;
}

.hv3-footer__nav a:hover {
  text-decoration: underline;
  color: var(--hv3-primary-light);
}

.hv3-footer__sep {
  margin: 0 0.5rem;
  color: var(--hv3-gray-400);
  user-select: none;
}

.hv3-footer__copy {
  color: var(--hv3-gray-500);
  font-weight: 400;
}

@media (min-width: 640px) {
  .hv3-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .hv3-dive {
    grid-template-columns: 1fr 1fr;
    gap: 3rem;
  }

  .hv3-dive--reverse .hv3-dive__copy {
    order: 2;
  }

  .hv3-dive--reverse .hv3-dive__media {
    order: 1;
  }
}

@media (min-width: 960px) {
  .hv3-nav {
    display: flex;
  }

  .hv3-burger {
    display: none;
  }

  .hv3-grid {
    grid-template-columns: repeat(4, 1fr);
  }

  .hv3-grid--5 {
    grid-template-columns: repeat(5, 1fr);
  }
}

/* Card emphasis: hover on desktop cursor, scroll-reveal on smartphone/tablet */
@media (min-width: 960px) and (hover: hover) and (pointer: fine) {
  .hv3-feature:hover {
    box-shadow: var(--hv3-shadow-lg);
    border-color: var(--hv3-primary-lighter);
    transform: translateY(-5px);
  }

  .hv3-feature:hover::before {
    opacity: 1;
  }

  .hv3-card:hover {
    border-color: var(--hv3-primary-lighter);
    box-shadow: var(--hv3-shadow-lg);
    transform: translateY(-5px);
  }

  .hv3-nl-card:hover .hv3-nl-card__frame {
    box-shadow: var(--hv3-shadow-lg);
    border-color: var(--hv3-gray-300);
    transform: translateY(-4px);
  }
}

@media (max-width: 959px) {
  .hv3-feature.is-revealed {
    box-shadow: var(--hv3-shadow-lg);
    border-color: var(--hv3-primary-lighter);
  }

  .hv3-feature.is-revealed::before {
    opacity: 1;
  }

  .hv3-card.is-revealed {
    border-color: var(--hv3-primary-lighter);
    box-shadow: var(--hv3-shadow-lg);
  }

  .hv3-nl-card.is-revealed .hv3-nl-card__frame {
    box-shadow: var(--hv3-shadow-lg);
    border-color: var(--hv3-gray-300);
  }
}

/* Home body layout */
body.home-v3-page #root {
  min-height: 100vh;
  display: flex;
  flex-direction: column;
}

body.home-v3-page #main-content {
  flex: 1;
  width: 100%;
  align-items: stretch;
}
