/*
 * Netal Health — Marketing Site Styles
 * Design: Dark Infrastructure
 * Philosophy: Near-black canvas, crisp white type, single green accent (#00C47D).
 *             Depth through solid surface layers, NOT gradients.
 *             DM Sans (display + body) + DM Mono (labels/data).
 * No gradients. No glow. Hard edges. Structured.
 */

/* ============================================================
   RESET & BASE
============================================================ */
*, *::before, *::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html {
  font-size: 16px;
  scroll-behavior: smooth;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

/* ============================================================
   DESIGN TOKENS
============================================================ */
:root {
  /* Surfaces — layered solid darks, no gradients */
  --bg-base:      #0a0a0a;
  --bg-surface:   #111111;
  --bg-raised:    #181818;
  --bg-elevated:  #202020;
  --bg-alt:       #0f0f0f;

  /* Text */
  --text-primary:   #f0f0f0;
  --text-secondary: #a0a0a0;
  --text-muted:     #606060;

  /* Accent */
  --accent:       #00C47D;
  --accent-dark:  #009e64;
  --accent-dim:   rgba(0, 196, 125, 0.12);

  /* Borders */
  --border:       #222222;
  --border-mid:   #2e2e2e;
  --border-light: #3a3a3a;

  /* Typography */
  --font-sans: 'DM Sans', 'Helvetica Neue', Arial, sans-serif;
  --font-mono: 'DM Mono', 'SFMono-Regular', Menlo, Monaco, Consolas, monospace;

  /* Spacing scale */
  --sp-1: 4px;
  --sp-2: 8px;
  --sp-3: 12px;
  --sp-4: 16px;
  --sp-5: 24px;
  --sp-6: 32px;
  --sp-7: 48px;
  --sp-8: 64px;
  --sp-9: 96px;
  --sp-10: 128px;

  /* Radius */
  --r-sm: 4px;
  --r-md: 8px;
  --r-lg: 12px;

  /* Shadows — flat, no glow */
  --shadow-card: 0 1px 3px rgba(0,0,0,0.5), 0 4px 12px rgba(0,0,0,0.3);
  --shadow-card-hover: 0 2px 6px rgba(0,0,0,0.6), 0 8px 24px rgba(0,0,0,0.4);
}

html[data-theme='dark'] {
  color-scheme: dark;
}

html[data-theme='light'] {
  color-scheme: light;

  --bg-base:      #f3f6f8;
  --bg-surface:   #ffffff;
  --bg-raised:    #f7fafc;
  --bg-elevated:  #eef3f6;
  --bg-alt:       #edf2f5;

  --text-primary:   #141c24;
  --text-secondary: #405260;
  --text-muted:     #667784;

  --accent:       #00a069;
  --accent-dark:  #008453;
  --accent-dim:   rgba(0, 160, 105, 0.12);

  --border:       #d5dee5;
  --border-mid:   #c3d0da;
  --border-light: #b3c3ce;

  --shadow-card: 0 1px 2px rgba(20,28,36,0.08), 0 6px 18px rgba(20,28,36,0.06);
  --shadow-card-hover: 0 2px 4px rgba(20,28,36,0.08), 0 10px 26px rgba(20,28,36,0.10);
}

body {
  font-family: var(--font-sans);
  background: var(--bg-base);
  color: var(--text-primary);
  line-height: 1.6;
  min-height: 100vh;
}

/* ============================================================
   TYPOGRAPHY UTILITIES
============================================================ */
.nh-mono {
  font-family: var(--font-mono);
}

.nh-eyebrow {
  font-family: var(--font-mono);
  font-size: 0.7rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--accent);
  font-weight: 500;
}

/* ============================================================
   LAYOUT
============================================================ */
.nh-container {
  width: 100%;
  max-width: 1160px;
  margin-left: auto;
  margin-right: auto;
  padding-left: 24px;
  padding-right: 24px;
}

@media (min-width: 768px) {
  .nh-container {
    padding-left: 32px;
    padding-right: 32px;
  }
}

@media (min-width: 1200px) {
  .nh-container {
    padding-left: 40px;
    padding-right: 40px;
  }
}

/* ============================================================
   DOTS
============================================================ */
.nh-dot {
  display: inline-block;
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: var(--text-muted);
  flex-shrink: 0;
}

.nh-dot--green {
  background: var(--accent);
}

/* ============================================================
   BUTTONS
============================================================ */
.nh-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: var(--sp-2);
  font-family: var(--font-sans);
  font-size: 0.875rem;
  font-weight: 600;
  line-height: 1;
  text-decoration: none;
  border-radius: var(--r-md);
  padding: 10px 18px;
  border: 1px solid transparent;
  cursor: pointer;
  transition: background-color 120ms ease, border-color 120ms ease, color 120ms ease, transform 120ms ease;
  white-space: nowrap;
}

.nh-btn:focus-visible {
  outline: 2px solid var(--accent);
  outline-offset: 2px;
}

.nh-btn--primary {
  background: var(--accent);
  color: #000;
  border-color: var(--accent);
}

.nh-btn--primary:hover {
  background: var(--accent-dark);
  border-color: var(--accent-dark);
  transform: translateY(-1px);
}

.nh-btn--primary:active {
  transform: translateY(0);
}

.nh-btn--ghost {
  background: transparent;
  color: var(--text-primary);
  border-color: var(--border-mid);
}

.nh-btn--ghost:hover {
  background: var(--bg-raised);
  border-color: var(--border-light);
}

.nh-btn--lg {
  font-size: 0.9375rem;
  padding: 13px 24px;
}

.nh-btn--sm {
  font-size: 0.8125rem;
  padding: 8px 14px;
}

.nh-btn--full {
  width: 100%;
}

@media (prefers-reduced-motion: reduce) {
  .nh-btn {
    transition: none;
    transform: none !important;
  }
}

/* ============================================================
   NAVIGATION
============================================================ */
.nh-nav {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 100;
  background: var(--bg-base);
  border-bottom: 1px solid var(--border);
  transition: border-color 200ms ease;
}

.nh-nav.is-scrolled {
  border-bottom-color: var(--border-mid);
}

.nh-nav__inner {
  display: grid;
  grid-template-columns: auto 1fr auto auto;
  align-items: center;
  gap: var(--sp-5);
  max-width: 1160px;
  margin: 0 auto;
  padding: 0 24px;
  height: 60px;
}

@media (min-width: 768px) {
  .nh-nav__inner {
    padding: 0 32px;
  }
}

.nh-brand {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  text-decoration: none;
  color: var(--text-primary);
  flex-shrink: 0;
}

.nh-brand__mark {
  position: relative;
  width: 20px;
  height: 20px;
  border-radius: 5px;
  overflow: hidden;
  background:
    linear-gradient(145deg, rgba(255, 255, 255, 0.2) 0%, rgba(255, 255, 255, 0) 45%),
    linear-gradient(165deg, var(--accent) 0%, var(--accent-dark) 100%);
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.35),
    inset 0 -5px 8px rgba(0, 0, 0, 0.25),
    0 5px 10px rgba(0, 0, 0, 0.22);
  flex-shrink: 0;
}

.nh-brand__mark::before,
.nh-brand__mark::after {
  content: '';
  position: absolute;
  pointer-events: none;
  clip-path: polygon(50% 95%, 5% 48%, 18% 23%, 35% 18%, 50% 34%, 65% 18%, 82% 23%, 95% 48%);
}

.nh-brand__mark::before {
  inset: 5px 4px 3px 4px;
  background: rgba(4, 28, 20, 0.46);
  transform: translateY(1px) scale(0.98);
}

.nh-brand__mark::after {
  inset: 4px;
  background:
    radial-gradient(circle at 34% 26%, rgba(255, 255, 255, 0.95) 0 20%, rgba(255, 255, 255, 0) 36%),
    linear-gradient(165deg, #fbfffd 0%, #dcffef 48%, #92f0c8 100%);
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.72),
    0 0 0 1px rgba(2, 46, 34, 0.24);
}

.nh-brand__text {
  font-size: 0.9375rem;
  font-weight: 700;
  letter-spacing: -0.01em;
}

.nh-nav__links {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: var(--sp-1);
}

.nh-nav__links a {
  font-size: 0.8125rem;
  font-weight: 500;
  color: var(--text-secondary);
  text-decoration: none;
  padding: 6px 12px;
  border-radius: var(--r-sm);
  transition: color 100ms ease, background-color 100ms ease;
}

.nh-nav__links a:hover,
.nh-nav__links a.active,
.nh-nav__links a[aria-current="page"] {
  color: var(--text-primary);
  background: var(--bg-raised);
}

.nh-nav__actions {
  display: flex;
  align-items: center;
  gap: var(--sp-2);
}

/* Hamburger */
.nh-nav__hamburger {
  display: none;
  flex-direction: column;
  justify-content: center;
  gap: 5px;
  width: 36px;
  height: 36px;
  background: transparent;
  border: 1px solid var(--border-mid);
  border-radius: var(--r-sm);
  cursor: pointer;
  padding: 8px;
}

.nh-nav__hamburger span {
  display: block;
  width: 100%;
  height: 1.5px;
  background: var(--text-primary);
  border-radius: 2px;
  transition: transform 200ms ease, opacity 200ms ease;
}

.nh-nav__hamburger.is-open span:nth-child(1) { transform: translateY(6.5px) rotate(45deg); }
.nh-nav__hamburger.is-open span:nth-child(2) { opacity: 0; }
.nh-nav__hamburger.is-open span:nth-child(3) { transform: translateY(-6.5px) rotate(-45deg); }

/* Mobile menu */
.nh-nav__mobile {
  display: none;
  background: var(--bg-surface);
  border-top: 1px solid var(--border);
  padding: var(--sp-5) 24px;
}

.nh-nav__mobile nav {
  display: flex;
  flex-direction: column;
  gap: var(--sp-1);
  margin-bottom: var(--sp-4);
}

.nh-nav__mobile nav a {
  font-size: 0.9375rem;
  font-weight: 500;
  color: var(--text-secondary);
  text-decoration: none;
  padding: 10px 12px;
  border-radius: var(--r-sm);
}

.nh-nav__mobile nav a:hover {
  color: var(--text-primary);
  background: var(--bg-raised);
}

.nh-nav__mobile-actions {
  display: flex;
  gap: var(--sp-2);
}

.nh-nav__mobile.is-open {
  display: block;
}

@media (max-width: 900px) {
  .nh-nav__inner {
    grid-template-columns: auto 1fr auto;
  }

  .nh-nav__links {
    display: none;
  }

  .nh-nav__actions {
    display: none;
  }

  .nh-nav__hamburger {
    display: flex;
  }
}

/* ============================================================
   HERO
============================================================ */
.nh-hero {
  padding-top: calc(60px + 80px);
  padding-bottom: 96px;
  background: var(--bg-base);
  border-bottom: 1px solid var(--border);
}

.nh-hero__inner {
  display: grid;
  grid-template-columns: 1fr 420px;
  gap: 64px;
  align-items: center;
}

.nh-hero__copy {
  display: flex;
  flex-direction: column;
  gap: var(--sp-5);
}

.nh-hero__h1 {
  font-size: clamp(2.25rem, 4.5vw, 3.25rem);
  font-weight: 900;
  line-height: 1.06;
  letter-spacing: -0.03em;
  color: var(--text-primary);
  max-width: 560px;
}

.nh-hero__sub {
  font-size: 1.0625rem;
  color: var(--text-secondary);
  line-height: 1.65;
  max-width: 480px;
}

.nh-hero__actions {
  display: flex;
  flex-wrap: wrap;
  gap: var(--sp-3);
}

.nh-hero__trust {
  display: flex;
  align-items: center;
  gap: var(--sp-2);
  font-family: var(--font-mono);
  font-size: 0.7rem;
  letter-spacing: 0.06em;
  color: var(--text-muted);
  text-transform: uppercase;
}

/* Hero artifact */
.nh-hero__artifact {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
}

.nh-artifact-card {
  background: var(--bg-surface);
  border: 1px solid var(--border-mid);
  border-radius: var(--r-lg);
  padding: 24px;
  width: 100%;
  max-width: 340px;
  box-shadow: var(--shadow-card);
  animation: float 5s ease-in-out infinite;
}

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

@media (prefers-reduced-motion: reduce) {
  .nh-artifact-card { animation: none; }
}

.nh-artifact-card__header {
  display: flex;
  align-items: center;
  gap: var(--sp-2);
  margin-bottom: var(--sp-4);
}

.nh-artifact-card__label {
  font-size: 0.65rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--accent);
}

.nh-artifact-card__doctor {
  display: flex;
  align-items: center;
  gap: var(--sp-3);
  margin-bottom: var(--sp-4);
  padding-bottom: var(--sp-4);
  border-bottom: 1px solid var(--border);
}

.nh-artifact-card__avatar {
  width: 40px;
  height: 40px;
  border-radius: 50%;
  background: var(--bg-elevated);
  border: 1px solid var(--border-mid);
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: var(--font-mono);
  font-size: 0.75rem;
  font-weight: 500;
  color: var(--text-secondary);
  flex-shrink: 0;
}

.nh-artifact-card__name {
  font-size: 0.9375rem;
  font-weight: 700;
  color: var(--text-primary);
  line-height: 1.3;
}

.nh-artifact-card__spec {
  font-size: 0.75rem;
  color: var(--text-muted);
  margin-top: 2px;
}

.nh-artifact-card__domains {
  display: flex;
  flex-direction: column;
  gap: 0;
  margin-bottom: var(--sp-4);
}

.nh-domain-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 10px 0;
  border-bottom: 1px solid var(--border);
  font-size: 0.875rem;
  color: var(--text-secondary);
}

.nh-domain-row:last-child {
  border-bottom: none;
}

/* Toggle switch */
.nh-toggle {
  width: 32px;
  height: 18px;
  border-radius: 9px;
  background: var(--bg-elevated);
  border: 1px solid var(--border-mid);
  position: relative;
  flex-shrink: 0;
  transition: background-color 150ms ease, border-color 150ms ease;
}

.nh-toggle::after {
  content: '';
  position: absolute;
  top: 2px;
  left: 2px;
  width: 12px;
  height: 12px;
  border-radius: 50%;
  background: var(--text-muted);
  transition: transform 150ms ease, background-color 150ms ease;
}

.nh-toggle--on {
  background: var(--accent-dim);
  border-color: var(--accent);
}

.nh-toggle--on::after {
  transform: translateX(14px);
  background: var(--accent);
}

.nh-artifact-card__cta {
  width: 100%;
  background: var(--accent);
  color: #000;
  border: none;
  border-radius: var(--r-md);
  padding: 11px;
  font-family: var(--font-sans);
  font-size: 0.875rem;
  font-weight: 700;
  cursor: pointer;
  margin-bottom: var(--sp-3);
}

.nh-artifact-card__meta {
  font-family: var(--font-mono);
  font-size: 0.65rem;
  color: var(--text-muted);
  text-align: center;
  letter-spacing: 0.04em;
}

/* Floating badges */
.nh-badge {
  position: absolute;
  display: flex;
  align-items: center;
  gap: var(--sp-2);
  background: var(--bg-raised);
  border: 1px solid var(--border-mid);
  border-radius: var(--r-md);
  padding: 7px 12px;
  font-family: var(--font-mono);
  font-size: 0.65rem;
  letter-spacing: 0.06em;
  color: var(--text-secondary);
  white-space: nowrap;
  box-shadow: var(--shadow-card);
}

.nh-badge--tl {
  top: -16px;
  left: -24px;
  animation: float 6s ease-in-out infinite 1s;
}

.nh-badge--br {
  bottom: -16px;
  right: -24px;
  animation: float 6s ease-in-out infinite 2.5s;
}

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

/* Hero responsive */
@media (max-width: 1000px) {
  .nh-hero__inner {
    grid-template-columns: 1fr;
    gap: 56px;
  }

  .nh-hero__artifact {
    justify-content: flex-start;
  }

  .nh-badge--tl { left: 0; }
  .nh-badge--br { right: 0; }
}

@media (max-width: 600px) {
  .nh-hero {
    padding-top: calc(60px + 48px);
    padding-bottom: 64px;
  }

  .nh-hero__artifact {
    display: none;
  }
}

/* ============================================================
   TRUST STRIP
============================================================ */
.nh-trust-strip {
  background: var(--bg-surface);
  border-bottom: 1px solid var(--border);
  padding: 18px 0;
}

.nh-trust-strip__inner {
  display: flex;
  align-items: center;
  gap: var(--sp-6);
  flex-wrap: wrap;
}

.nh-trust-strip__label {
  font-size: 0.65rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--text-muted);
  flex-shrink: 0;
}

.nh-trust-strip__logos {
  display: flex;
  align-items: center;
  gap: var(--sp-4);
  flex-wrap: wrap;
}

.nh-trust-logo {
  font-family: var(--font-mono);
  font-size: 0.75rem;
  color: var(--text-secondary);
  letter-spacing: 0.02em;
}

.nh-trust-sep {
  color: var(--border-light);
  font-size: 0.75rem;
}

/* ============================================================
   SECTIONS
============================================================ */
.nh-section {
  padding: 96px 0;
  border-bottom: 1px solid var(--border);
}

.nh-section--alt {
  background: var(--bg-alt);
}

.nh-section__head {
  margin-bottom: 56px;
  display: flex;
  flex-direction: column;
  gap: var(--sp-4);
  max-width: 600px;
}

.nh-section__h2 {
  font-size: clamp(1.75rem, 3vw, 2.5rem);
  font-weight: 800;
  letter-spacing: -0.025em;
  line-height: 1.1;
  color: var(--text-primary);
}

.nh-section__sub {
  font-size: 1rem;
  color: var(--text-secondary);
  line-height: 1.6;
}

/* ============================================================
   HOW IT WORKS — STEPS
============================================================ */
.nh-steps {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 0;
  border-top: 1px solid var(--border);
}

.nh-step {
  display: grid;
  grid-template-columns: 64px 1fr;
  gap: var(--sp-6);
  padding: 32px 0;
  border-bottom: 1px solid var(--border);
  align-items: start;
}

.nh-step__num {
  font-size: 0.7rem;
  letter-spacing: 0.1em;
  color: var(--text-muted);
  padding-top: 4px;
}

.nh-step__body h3 {
  font-size: 1.0625rem;
  font-weight: 700;
  letter-spacing: -0.01em;
  color: var(--text-primary);
  margin-bottom: var(--sp-2);
}

.nh-step__body p {
  font-size: 0.9375rem;
  color: var(--text-secondary);
  line-height: 1.65;
  max-width: 560px;
}

/* ============================================================
   FEATURE GRID
============================================================ */
.nh-feature-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1px;
  border: 1px solid var(--border);
  border-radius: var(--r-lg);
  overflow: hidden;
  background: var(--border);
}

.nh-feature-card {
  background: var(--bg-surface);
  padding: 32px 28px;
  display: flex;
  flex-direction: column;
  gap: var(--sp-3);
  transition: background-color 150ms ease;
}

.nh-feature-card:hover {
  background: var(--bg-raised);
}

.nh-feature-card__icon {
  width: 36px;
  height: 36px;
  display: flex;
  align-items: center;
  justify-content: center;
  border: 1px solid var(--border-mid);
  border-radius: var(--r-sm);
  color: var(--accent);
  flex-shrink: 0;
}

.nh-feature-card h3 {
  font-size: 0.9375rem;
  font-weight: 700;
  letter-spacing: -0.01em;
  color: var(--text-primary);
}

.nh-feature-card p {
  font-size: 0.875rem;
  color: var(--text-secondary);
  line-height: 1.6;
}

@media (max-width: 900px) {
  .nh-feature-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

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

/* ============================================================
   SECURITY SPLIT
============================================================ */
.nh-security-split {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 80px;
  align-items: start;
}

.nh-security-split__copy {
  display: flex;
  flex-direction: column;
  gap: var(--sp-5);
}

.nh-security-split__copy h2 {
  font-size: clamp(1.75rem, 3vw, 2.5rem);
  font-weight: 800;
  letter-spacing: -0.025em;
  line-height: 1.1;
  color: var(--text-primary);
}

.nh-security-split__copy p {
  font-size: 1rem;
  color: var(--text-secondary);
  line-height: 1.65;
}

.nh-security-split__list {
  display: flex;
  flex-direction: column;
  gap: 0;
  border-top: 1px solid var(--border);
}

.nh-security-item {
  display: flex;
  gap: var(--sp-4);
  padding: 24px 0;
  border-bottom: 1px solid var(--border);
  align-items: flex-start;
}

.nh-security-item .nh-dot {
  margin-top: 5px;
  flex-shrink: 0;
}

.nh-security-item__title {
  font-size: 0.9375rem;
  font-weight: 700;
  color: var(--text-primary);
  margin-bottom: 4px;
}

.nh-security-item__desc {
  font-size: 0.875rem;
  color: var(--text-secondary);
  line-height: 1.6;
}

@media (max-width: 900px) {
  .nh-security-split {
    grid-template-columns: 1fr;
    gap: 48px;
  }
}

/* ============================================================
   PRICING
============================================================ */
.nh-plan-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: var(--sp-4);
}

.nh-plan-card {
  background: var(--bg-surface);
  border: 1px solid var(--border-mid);
  border-radius: var(--r-lg);
  padding: 28px;
  display: flex;
  flex-direction: column;
  gap: var(--sp-4);
  transition: transform 150ms ease, box-shadow 150ms ease;
}

.nh-plan-card:hover {
  transform: translateY(-2px);
  box-shadow: var(--shadow-card-hover);
}

.nh-plan-card--featured {
  border-color: var(--accent);
  background: var(--bg-raised);
  position: relative;
}

.nh-plan-card__badge {
  font-size: 0.65rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--accent);
  font-weight: 500;
}

.nh-plan-card__header {
  display: flex;
  flex-direction: column;
  gap: var(--sp-2);
}

.nh-plan-card__header h3 {
  font-size: 1.0625rem;
  font-weight: 700;
  color: var(--text-primary);
}

.nh-plan-card__price {
  font-size: 2rem;
  font-weight: 800;
  letter-spacing: -0.03em;
  color: var(--text-primary);
  line-height: 1;
}

.nh-plan-card__price span {
  font-size: 0.875rem;
  font-weight: 400;
  color: var(--text-muted);
  letter-spacing: 0;
}

.nh-plan-card__trial {
  font-size: 0.7rem;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--text-muted);
}

.nh-plan-card__features {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: var(--sp-2);
  flex: 1;
}

.nh-plan-card__features li {
  font-size: 0.875rem;
  color: var(--text-secondary);
  padding-left: 16px;
  position: relative;
  line-height: 1.5;
}

.nh-plan-card__features li::before {
  content: '';
  position: absolute;
  left: 0;
  top: 7px;
  width: 5px;
  height: 5px;
  border-radius: 50%;
  background: var(--border-light);
}

.nh-plan-card--featured .nh-plan-card__features li::before {
  background: var(--accent);
}

@media (prefers-reduced-motion: reduce) {
  .nh-plan-card {
    transition: none;
    transform: none !important;
  }
}

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

/* ============================================================
   FAQ
============================================================ */
.nh-faq-list {
  border-top: 1px solid var(--border);
}

.nh-faq-item {
  border-bottom: 1px solid var(--border);
  background: var(--bg-surface);
}

.nh-faq-item summary {
  list-style: none;
  cursor: pointer;
  padding: 22px 24px;
  font-size: 1rem;
  font-weight: 600;
  color: var(--text-primary);
  transition: background-color 120ms ease;
}

.nh-faq-item summary::-webkit-details-marker {
  display: none;
}

.nh-faq-item summary:hover {
  background: var(--bg-raised);
}

.nh-faq-item p {
  padding: 0 24px 22px;
  color: var(--text-secondary);
  font-size: 0.9375rem;
  line-height: 1.6;
  max-width: 760px;
}

.nh-faq-link {
  margin-top: var(--sp-2);
  color: var(--text-primary);
  text-decoration: none;
  font-size: 0.8125rem;
  font-weight: 600;
}

.nh-faq-link:hover {
  color: var(--accent);
}

/* ============================================================
   CTA BAND
============================================================ */
.nh-cta-band {
  background: var(--bg-surface);
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
  padding: 80px 0;
}

.nh-cta-band__inner {
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 64px;
  align-items: center;
}

.nh-cta-band__copy {
  display: flex;
  flex-direction: column;
  gap: var(--sp-4);
}

.nh-cta-band__copy h2 {
  font-size: clamp(1.5rem, 2.5vw, 2rem);
  font-weight: 800;
  letter-spacing: -0.025em;
  line-height: 1.15;
  color: var(--text-primary);
  max-width: 520px;
}

.nh-cta-band__actions {
  display: flex;
  flex-direction: column;
  gap: var(--sp-2);
  flex-shrink: 0;
}

@media (max-width: 800px) {
  .nh-cta-band__inner {
    grid-template-columns: 1fr;
    gap: var(--sp-6);
  }

  .nh-cta-band__actions {
    flex-direction: row;
    flex-wrap: wrap;
  }
}

/* ============================================================
   FOOTER
============================================================ */
.nh-footer {
  background: var(--bg-base);
  border-top: 1px solid var(--border);
}

.nh-footer__inner {
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 80px;
  padding-top: 64px;
  padding-bottom: 64px;
  align-items: start;
}

.nh-footer__brand {
  display: flex;
  flex-direction: column;
  gap: var(--sp-3);
}

.nh-footer__tagline {
  font-size: 0.875rem;
  color: var(--text-muted);
  max-width: 240px;
  line-height: 1.5;
}

.nh-footer__nav {
  display: flex;
  gap: 64px;
}

.nh-footer__col {
  display: flex;
  flex-direction: column;
  gap: var(--sp-3);
}

.nh-footer__col-label {
  font-size: 0.65rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--text-muted);
  margin-bottom: var(--sp-1);
}

.nh-footer__col a {
  font-size: 0.875rem;
  color: var(--text-secondary);
  text-decoration: none;
  transition: color 100ms ease;
}

.nh-footer__col a:hover {
  color: var(--text-primary);
}

.nh-footer__bottom {
  border-top: 1px solid var(--border);
  padding: 20px 0;
}

.nh-footer__bottom p {
  font-family: var(--font-mono);
  font-size: 0.7rem;
  letter-spacing: 0.04em;
  color: var(--text-muted);
}

@media (max-width: 800px) {
  .nh-footer__inner {
    grid-template-columns: 1fr;
    gap: 48px;
  }

  .nh-footer__nav {
    gap: 40px;
    flex-wrap: wrap;
  }
}

/* ============================================================
   SCROLL ANIMATIONS
============================================================ */
.fade-up {
  opacity: 0;
  transform: translateY(16px);
  transition: opacity 400ms ease, transform 400ms ease;
}

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

/* Stagger children */
.nh-step:nth-child(2).fade-up { transition-delay: 60ms; }
.nh-step:nth-child(3).fade-up { transition-delay: 120ms; }
.nh-step:nth-child(4).fade-up { transition-delay: 180ms; }

.nh-feature-card:nth-child(2).fade-up { transition-delay: 40ms; }
.nh-feature-card:nth-child(3).fade-up { transition-delay: 80ms; }
.nh-feature-card:nth-child(4).fade-up { transition-delay: 120ms; }
.nh-feature-card:nth-child(5).fade-up { transition-delay: 160ms; }
.nh-feature-card:nth-child(6).fade-up { transition-delay: 200ms; }

.nh-security-item:nth-child(2).fade-up { transition-delay: 60ms; }
.nh-security-item:nth-child(3).fade-up { transition-delay: 120ms; }
.nh-security-item:nth-child(4).fade-up { transition-delay: 180ms; }

.nh-plan-card:nth-child(2).fade-up { transition-delay: 60ms; }
.nh-plan-card:nth-child(3).fade-up { transition-delay: 120ms; }

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

/* ============================================================
   LEGACY SUPPORT — keep app.js working
============================================================ */
#year { display: contents; }
