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

/* Skip navigation — Section 508 / WCAG 2.4.1 */
.skip-nav {
  position: absolute; top: -100%; left: 1rem;
  z-index: 9999;
  background: var(--white); color: var(--navy);
  padding: 0.5rem 1.25rem; border-radius: 4px;
  font-weight: 700; font-size: 0.9rem;
  text-decoration: none; border: 2px solid var(--navy);
  transition: top 0.1s;
}
.skip-nav:focus { top: 0.75rem; }

:root {
  --navy:       #0D1F3C;
  --navy-dark:  #091629;
  --navy-mid:   #142847;
  --red:        #C8201A;
  --red-hover:  #A81A15;
  --white:      #FFFFFF;
  --off-white:  #F4F5F7;
  --gray:       #6B7280;
  --gray-light: #E5E7EB;
  --text-dark:  #111827;
}

html { scroll-behavior: smooth; }

body {
  font-family: 'Source Sans 3', sans-serif;
  background: var(--white);
  color: var(--text-dark);
  overflow-x: hidden;
}

/* Offset anchor scroll target for sticky nav (150px nav + 16px breathing room) */
section[id] { scroll-margin-top: 166px; }

/* ─── NAV ─── */
nav {
  background: var(--navy);
  padding: 0 2.5rem;
  height: 150px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  position: sticky;
  top: 0;
  z-index: 100;
  border-bottom: 3px solid var(--red);
  transition: box-shadow 0.3s ease;
}
nav.scrolled { box-shadow: 0 8px 30px rgba(9,22,41,0.35); }

.nav-logo {
  display: flex; align-items: center; text-decoration: none;
}
.nav-logo-container {
  background: var(--white);
  border-radius: 14px;
  padding: 8px 14px;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 2px 12px rgba(0,0,0,0.15);
}
.nav-logo img {
  height: 200px; width: auto; display: block;
}

.nav-links { display: flex; align-items: center; gap: 2rem; list-style: none; }
.nav-links a {
  color: rgba(255,255,255,0.75);
  text-decoration: none;
  font-size: 0.88rem;
  font-weight: 500;
  transition: color 0.15s;
}
.nav-links a:hover { color: var(--white); }

.nav-actions { display: flex; align-items: center; gap: 1rem; }

.nav-book-btn {
  background: var(--red);
  color: var(--white);
  border: none;
  padding: 0.6rem 1.4rem;
  border-radius: 6px;
  font-family: 'Oswald', sans-serif;
  font-weight: 600;
  font-size: 0.9rem;
  letter-spacing: 0.06em;
  cursor: pointer;
  transition: background 0.15s, transform 0.15s;
  text-transform: uppercase;
}
.nav-book-btn:hover { background: var(--red-hover); transform: translateY(-1px); }

/* Hamburger button */
.nav-hamburger {
  display: none;
  flex-direction: column;
  justify-content: center;
  gap: 5px;
  width: 40px; height: 40px;
  background: none; border: none;
  cursor: pointer; padding: 4px;
  border-radius: 6px;
  transition: background 0.15s;
}
.nav-hamburger:hover { background: rgba(255,255,255,0.1); }
.nav-hamburger span {
  display: block; width: 24px; height: 2px;
  background: var(--white); border-radius: 2px;
  transition: transform 0.25s, opacity 0.25s;
  transform-origin: center;
}
.nav-hamburger.open span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.nav-hamburger.open span:nth-child(2) { opacity: 0; }
.nav-hamburger.open span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

/* Mobile drawer — right-side flyout */
.nav-overlay {
  position: fixed; inset: 0;
  background: rgba(7,16,28,0.6);
  z-index: 98;
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.3s ease, visibility 0.3s ease;
  backdrop-filter: blur(2px);
}
.nav-overlay.open {
  opacity: 1;
  visibility: visible;
}
.nav-drawer {
  position: fixed;
  top: 0; right: 0;
  width: min(320px, 85vw);
  height: 100vh;
  background: var(--navy-dark);
  border-left: 3px solid var(--red);
  z-index: 99;
  padding: 2rem 1.75rem;
  display: flex;
  flex-direction: column;
  gap: 0;
  box-shadow: -8px 0 40px rgba(0,0,0,0.45);
  transform: translateX(100%);
  visibility: hidden;
  transition: transform 0.32s cubic-bezier(0.4,0,0.2,1), visibility 0.32s;
}
.nav-drawer.open {
  transform: translateX(0);
  visibility: visible;
}
.drawer-header {
  display: flex; align-items: center; justify-content: space-between;
  margin-bottom: 2rem; padding-bottom: 1.25rem;
  border-bottom: 1px solid rgba(255,255,255,0.1);
}
.drawer-logo img { height: 48px; width: auto; }
.drawer-close {
  background: none; border: none; cursor: pointer;
  color: rgba(255,255,255,0.6); font-size: 1.5rem; line-height: 1;
  padding: 0.25rem; transition: color 0.15s;
}
.drawer-close:hover { color: var(--white); }
.nav-drawer a {
  color: rgba(255,255,255,0.75);
  text-decoration: none;
  font-family: 'Oswald', sans-serif; font-weight: 600;
  font-size: 1.1rem; letter-spacing: 0.04em; text-transform: uppercase;
  padding: 1rem 0;
  border-bottom: 1px solid rgba(255,255,255,0.07);
  transition: color 0.15s, padding-left 0.15s;
  display: block;
}
.nav-drawer a:hover { color: var(--white); padding-left: 6px; }
.nav-drawer .drawer-cta {
  margin-top: auto; padding-top: 2rem;
  background: var(--red); color: var(--white);
  border: none; padding: 0.9rem;
  border-radius: 8px;
  font-family: 'Oswald', sans-serif; font-weight: 700;
  font-size: 1rem; letter-spacing: 0.06em; text-transform: uppercase;
  cursor: pointer; transition: background 0.15s;
  text-align: center; margin-top: 2rem;
}
.nav-drawer .drawer-cta:hover { background: var(--red-hover); }

/* ─── HERO ─── */
.hero {
  background: linear-gradient(135deg, var(--navy) 0%, var(--navy-dark) 60%, var(--navy-mid) 100%);
  position: relative;
  min-height: 500px;
  display: flex;
  align-items: center;
  overflow: hidden;
  padding: 3rem 2.5rem 4rem;
}
/* Ambient floating glows — decorative, aria-hidden, removed for reduced-motion */
.hero::before {
  content: ''; position: absolute;
  width: 480px; height: 480px; border-radius: 50%;
  background: radial-gradient(circle, rgba(200,32,26,0.14) 0%, transparent 65%);
  top: -180px; right: -120px;
  animation: drift 14s ease-in-out infinite;
  pointer-events: none;
  z-index: 2;
}
.hero::after {
  content: ''; position: absolute;
  width: 380px; height: 380px; border-radius: 50%;
  background: radial-gradient(circle, rgba(255,255,255,0.05) 0%, transparent 65%);
  bottom: -140px; left: -80px;
  animation: drift2 18s ease-in-out infinite;
  pointer-events: none;
  z-index: 1;
}

.hero-bg-overlay {
  position: absolute; inset: 0;
  background: linear-gradient(105deg, rgba(9,22,41,0.97) 45%, rgba(9,22,41,0.5) 75%, rgba(9,22,41,0.15) 100%);
  z-index: 1;
}

.hero-inner {
  position: relative;
  z-index: 3;
  max-width: 1000px;
  margin: 0 auto;
  width: 100%;
  display: grid;
  grid-template-columns: 1.2fr 0.8fr;
  gap: 3rem;
  align-items: center;
}

.hero-content { max-width: 560px; }

.hero-tag {
  display: inline-block;
  background: var(--red);
  color: var(--white);
  font-family: 'Oswald', sans-serif;
  font-weight: 600;
  font-size: 0.72rem;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  padding: 0.3rem 0.9rem;
  border-radius: 4px;
  margin-bottom: 1.25rem;
  animation: fadeUp 0.5s ease both;
}

.hero-title {
  font-family: 'Oswald', sans-serif;
  font-weight: 700;
  font-size: clamp(2.2rem, 4.5vw, 3.2rem);
  line-height: 1.1;
  color: var(--white);
  margin-bottom: 1rem;
  animation: fadeUp 0.5s 0.08s ease both;
}

.hero-sub {
  font-size: 1rem;
  color: rgba(255,255,255,0.7);
  line-height: 1.65;
  max-width: 460px;
  margin-bottom: 1.75rem;
  animation: fadeUp 0.5s 0.16s ease both;
}

.hero-btns {
  display: flex; gap: 1rem; flex-wrap: wrap;
  animation: fadeUp 0.5s 0.24s ease both;
}

.btn-primary {
  background: var(--red); color: var(--white);
  border: 2px solid var(--red);
  padding: 0.7rem 1.6rem; border-radius: 6px;
  font-family: 'Oswald', sans-serif;
  font-weight: 600; font-size: 0.95rem;
  letter-spacing: 0.06em; text-transform: uppercase;
  cursor: pointer; transition: all 0.2s;
}
.btn-primary:hover { background: var(--red-hover); border-color: var(--red-hover); transform: translateY(-2px); box-shadow: 0 6px 20px rgba(200,32,26,0.35); }

.btn-ghost {
  background: transparent; color: var(--white);
  border: 2px solid rgba(255,255,255,0.5);
  padding: 0.7rem 1.6rem; border-radius: 6px;
  font-family: 'Oswald', sans-serif;
  font-weight: 600; font-size: 0.95rem;
  letter-spacing: 0.06em; text-transform: uppercase;
  cursor: pointer; transition: all 0.2s;
}
.btn-ghost:hover { border-color: white; background: rgba(255,255,255,0.1); transform: translateY(-2px); }

.hero-trust {
  display: flex; gap: 1.25rem; flex-wrap: wrap;
  margin-top: 1.75rem;
  animation: fadeUp 0.5s 0.32s ease both;
}
.trust-item {
  display: flex; align-items: center; gap: 0.4rem;
  font-size: 0.78rem; color: rgba(255,255,255,0.5); font-weight: 500;
}
.trust-check {
  width: 16px; height: 16px;
  background: var(--red); border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  flex-shrink: 0; font-size: 0.55rem; color: white;
}

/* Hero right: decorative feature highlights */
.hero-features {
  display: flex; flex-direction: column; gap: 1rem;
  animation: fadeUp 0.6s 0.4s ease both;
}
.hero-feat {
  background: rgba(255,255,255,0.06);
  border: 1px solid rgba(255,255,255,0.1);
  border-radius: 12px;
  padding: 1.1rem 1.25rem;
  display: flex; align-items: center; gap: 0.8rem;
}
.hero-feat-icon {
  width: 44px; height: 44px; border-radius: 10px;
  display: flex; align-items: center; justify-content: center;
  font-size: 1.2rem; flex-shrink: 0;
}
.hero-feat-icon.red { background: rgba(200,32,26,0.2); }
.hero-feat-icon.navy { background: rgba(255,255,255,0.08); }
.hero-feat-icon.gold { background: rgba(245,158,11,0.15); }
.hero-feat-title {
  font-family: 'Oswald', sans-serif; font-weight: 600;
  font-size: 0.88rem; color: var(--white); letter-spacing: 0.02em;
}
.hero-feat-desc { font-size: 0.75rem; color: rgba(255,255,255,0.5); line-height: 1.4; }

/* Wave divider */
.wave-divider { display: block; width: 100%; overflow: hidden; line-height: 0; margin-top: -2px; }
.wave-divider svg { display: block; width: 100%; background: var(--navy); }

/* Skip-to-main anchor */
#main-content {
  position: absolute;
}

/* ─── SECTIONS ─── */
.section { padding: 5rem 2.5rem; }
.section-inner { max-width: 1000px; margin: 0 auto; }

.section-label {
  font-family: 'Oswald', sans-serif; font-weight: 600;
  font-size: 0.75rem; letter-spacing: 0.18em; text-transform: uppercase;
  color: var(--red); margin-bottom: 0.5rem;
}
.section-title {
  font-family: 'Oswald', sans-serif; font-weight: 700;
  font-size: clamp(1.8rem, 4vw, 2.5rem);
  color: var(--navy); line-height: 1.1; margin-bottom: 0.75rem;
}
.section-sub {
  font-size: 1rem; color: var(--gray);
  line-height: 1.6; max-width: 520px;
}
.section-sub.spaced { margin-bottom: 2rem; }

/* How It Works */
.how-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1.5rem; }
.how-card {
  background: var(--white);
  border: 1px solid var(--gray-light);
  border-radius: 12px;
  padding: 2rem 1.5rem;
  text-align: center;
  transition: box-shadow 0.3s ease, transform 0.3s ease, border-color 0.3s ease;
  position: relative;
}
.how-card:hover {
  transform: translateY(-6px);
  box-shadow: 0 16px 40px rgba(13,31,60,0.12);
  border-color: rgba(200,32,26,0.25);
}
.how-card:hover .how-icon { transform: scale(1.1); background: rgba(200,32,26,0.14); }
.how-card::before {
  content: ''; position: absolute; top: 0; left: 50%; transform: translateX(-50%);
  width: 48px; height: 3px; background: var(--red); border-radius: 0 0 4px 4px;
}
.how-icon {
  width: 60px; height: 60px; background: rgba(200,32,26,0.08); border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  margin: 0 auto 1.25rem; font-size: 1.5rem;
  transition: transform 0.3s ease, background 0.3s ease;
}
.how-num {
  position: absolute; top: 1rem; right: 1.25rem;
  font-family: 'Oswald', sans-serif; font-weight: 700;
  font-size: 2rem; color: rgba(13,31,60,0.06); line-height: 1;
}
.how-title {
  font-family: 'Oswald', sans-serif; font-weight: 600;
  font-size: 1.05rem; color: var(--navy); margin-bottom: 0.5rem;
}
.how-desc { font-size: 0.88rem; color: var(--gray); line-height: 1.55; }

/* Stats band */
.stats-band { background: var(--red); padding: 2.75rem 2.5rem; }
.stats-inner {
  max-width: 900px; margin: 0 auto;
  display: flex; align-items: center; justify-content: space-around;
  gap: 2rem; flex-wrap: wrap;
}
.stat-item { text-align: center; }
.stat-num {
  font-family: 'Oswald', sans-serif; font-weight: 700;
  font-size: 2.75rem; color: var(--white); line-height: 1; display: block;
}
.stat-label { font-size: 0.82rem; color: var(--white); font-weight: 500; }
.stat-divider { width: 1px; height: 50px; background: rgba(255,255,255,0.25); }

/* Trust section */
.trust-section { background: var(--off-white); padding: 5rem 2.5rem; }
.trust-inner {
  max-width: 1000px; margin: 0 auto;
  display: grid; grid-template-columns: 1fr 1fr;
  gap: 4rem; align-items: center;
}
.trust-features {
  display: grid; grid-template-columns: repeat(3, 1fr);
  gap: 1rem; margin-top: 2rem;
}
.feature-card {
  background: var(--white); border-radius: 10px;
  padding: 1.25rem; border: 1px solid var(--gray-light);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}
.feature-card:hover { transform: translateY(-4px); box-shadow: 0 10px 26px rgba(13,31,60,0.1); }
.feature-icon {
  width: 42px; height: 42px; background: var(--navy); border-radius: 8px;
  display: flex; align-items: center; justify-content: center;
  margin-bottom: 0.75rem; font-size: 1.1rem;
}
.feature-title {
  font-family: 'Oswald', sans-serif; font-weight: 600;
  font-size: 0.85rem; color: var(--navy); margin-bottom: 0.25rem;
}
.feature-desc { font-size: 0.72rem; color: var(--gray); line-height: 1.45; }

/* Rate card */
.rate-card {
  background: var(--navy); border-radius: 14px;
  padding: 2rem; color: var(--white); position: relative; overflow: hidden;
}
.rate-card::before {
  content: ''; position: absolute; bottom: -30px; right: -30px;
  width: 150px; height: 150px; border-radius: 50%;
  background: rgba(255,255,255,0.04);
}
.rate-label {
  font-size: 0.78rem; color: rgba(255,255,255,0.55); font-weight: 500;
  margin-bottom: 0.25rem; text-transform: uppercase; letter-spacing: 0.08em;
}
.rate-price {
  font-family: 'Oswald', sans-serif; font-weight: 700;
  font-size: 3rem; color: var(--white); line-height: 1; margin-bottom: 0.25rem;
}
.rate-price sup { font-size: 1.5rem; vertical-align: top; }
.rate-price span { font-size: 1rem; font-weight: 500; opacity: 0.65; }
.rate-price-text {
  font-family: 'Oswald', sans-serif; font-weight: 700;
  font-size: 2rem; color: var(--white); line-height: 1.1; margin-bottom: 0.5rem;
}
.rate-sub { font-size: 0.82rem; color: rgba(255,255,255,0.55); margin-bottom: 1.5rem; }
.rate-perks { list-style: none; display: flex; flex-direction: column; gap: 0.6rem; }
.rate-perks li {
  display: flex; align-items: center; gap: 0.6rem;
  font-size: 0.85rem; color: rgba(255,255,255,0.8);
}
.perk-check {
  width: 18px; height: 18px; background: var(--red); border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  flex-shrink: 0; font-size: 0.6rem;
}
.rate-cta {
  width: 100%; margin-top: 1.5rem;
  background: var(--red); color: var(--white); border: none;
  padding: 0.8rem; border-radius: 8px;
  font-family: 'Oswald', sans-serif; font-weight: 600;
  font-size: 0.95rem; letter-spacing: 0.06em; text-transform: uppercase;
  cursor: pointer; transition: background 0.15s;
}
.rate-cta:hover { background: var(--red-hover); }

/* Use cases */
.use-section { background: var(--off-white); padding: 5rem 2.5rem; }
.use-grid {
  display: grid; grid-template-columns: repeat(5, 1fr);
  gap: 1rem; margin-top: 2.5rem;
}
.use-card {
  background: var(--white); border-radius: 10px;
  padding: 1.5rem 1rem; text-align: center;
  border: 1px solid var(--gray-light);
  transition: transform 0.3s ease, box-shadow 0.3s ease, border-color 0.3s ease;
}
.use-card:hover {
  transform: translateY(-6px);
  box-shadow: 0 14px 32px rgba(13,31,60,0.12);
  border-color: rgba(200,32,26,0.25);
}
.use-card:hover .use-icon { transform: scale(1.15); }
.use-icon { font-size: 1.75rem; margin-bottom: 0.6rem; display: block; transition: transform 0.3s ease; }
.use-title {
  font-family: 'Oswald', sans-serif; font-weight: 600;
  font-size: 0.88rem; color: var(--navy); margin-bottom: 0.3rem;
}
.use-desc { font-size: 0.73rem; color: var(--gray); line-height: 1.4; }

/* HOA / Request a Quote band */
.hoa-section { background: var(--white); padding: 5rem 2.5rem; }
.hoa-inner {
  max-width: 1000px; margin: 0 auto;
  background: var(--navy); border-radius: 16px;
  padding: 3rem; display: grid; grid-template-columns: 1.3fr 1fr;
  gap: 3rem; align-items: center; position: relative; overflow: hidden;
}
.hoa-inner::before {
  content: ''; position: absolute; top: -40px; right: -40px;
  width: 200px; height: 200px; border-radius: 50%;
  background: rgba(200,32,26,0.12);
}
.hoa-content { position: relative; z-index: 1; }
.hoa-content .section-label { color: rgba(255,255,255,0.7); }
.hoa-content h2 {
  font-family: 'Oswald', sans-serif; font-weight: 700;
  font-size: clamp(1.6rem, 3.5vw, 2.1rem);
  color: var(--white); line-height: 1.15; margin-bottom: 0.75rem;
}
.hoa-content p { font-size: 0.95rem; color: rgba(255,255,255,0.65); line-height: 1.6; margin-bottom: 1.5rem; }
.hoa-list { list-style: none; display: flex; flex-direction: column; gap: 0.6rem; margin-bottom: 0; }
.hoa-list li {
  display: flex; align-items: center; gap: 0.6rem;
  font-size: 0.9rem; color: rgba(255,255,255,0.8);
}
.hoa-list .perk-check { width: 18px; height: 18px; background: var(--red); border-radius: 50%; display: flex; align-items: center; justify-content: center; flex-shrink: 0; font-size: 0.6rem; }
.hoa-cta-wrap { position: relative; z-index: 1; text-align: center; }
.hoa-cta {
  background: var(--red); color: var(--white); border: none;
  padding: 0.9rem 1.8rem; border-radius: 8px;
  font-family: 'Oswald', sans-serif; font-weight: 700;
  font-size: 1rem; letter-spacing: 0.06em; text-transform: uppercase;
  cursor: pointer; transition: all 0.2s; width: 100%;
}
.hoa-cta:hover { background: var(--red-hover); transform: translateY(-2px); box-shadow: 0 6px 20px rgba(200,32,26,0.35); }
.hoa-cta-note { font-size: 0.78rem; color: rgba(255,255,255,0.65); margin-top: 0.9rem; }

/* ─── WAITLIST SECTION ─── */
.waitlist-section { background: var(--navy); padding: 5rem 2.5rem; }
.waitlist-inner { max-width: 1000px; margin: 0 auto; }
.waitlist-header { text-align: center; margin-bottom: 3rem; }
.waitlist-header .section-label { color: rgba(255,255,255,0.7); }
.waitlist-header .section-title { color: var(--white); }
.waitlist-header .section-sub { color: rgba(255,255,255,0.55); margin: 0 auto; }

.waitlist-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 1.5rem; }

.waitlist-card {
  border-radius: 14px; padding: 2.5rem 2rem;
  border: 1px solid rgba(255,255,255,0.1);
}
.waitlist-card.client-card { background: rgba(255,255,255,0.05); }
.waitlist-card.guard-card { background: rgba(200,32,26,0.12); border-color: rgba(200,32,26,0.25); }

.card-badge {
  display: inline-flex; align-items: center; gap: 0.4rem;
  font-family: 'Oswald', sans-serif; font-weight: 600;
  font-size: 0.72rem; letter-spacing: 0.12em; text-transform: uppercase;
  padding: 0.3rem 0.8rem; border-radius: 4px; margin-bottom: 1rem;
}
.client-card .card-badge { background: rgba(255,255,255,0.1); color: rgba(255,255,255,0.7); }
.guard-card .card-badge { background: var(--red); color: white; }

.card-title {
  font-family: 'Oswald', sans-serif; font-weight: 700;
  font-size: 1.6rem; color: var(--white); margin-bottom: 0.4rem; line-height: 1.1;
}
.card-desc { font-size: 0.88rem; color: rgba(255,255,255,0.55); line-height: 1.5; margin-bottom: 1.75rem; }

/* Form elements */
.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 0.75rem; margin-bottom: 0.75rem; }
.form-group { display: flex; flex-direction: column; gap: 0.3rem; margin-bottom: 0.75rem; }

label {
  font-size: 0.72rem; font-weight: 600;
  color: rgba(255,255,255,0.5); letter-spacing: 0.08em; text-transform: uppercase;
}
input, select {
  background: rgba(255,255,255,0.08);
  border: 1px solid rgba(255,255,255,0.14);
  border-radius: 8px; color: var(--white);
  font-family: 'Source Sans 3', sans-serif;
  font-size: 0.9rem; padding: 0.65rem 0.9rem;
  width: 100%; outline: none;
  transition: border-color 0.15s, background 0.15s;
  -webkit-appearance: none;
}
input::placeholder { color: rgba(255,255,255,0.22); }
input:focus, select:focus { border-color: rgba(255,255,255,0.35); background: rgba(255,255,255,0.11); }
/* Keyboard focus indicators — WCAG 2.4.7 */
input:focus-visible, select:focus-visible {
  outline: 2px solid rgba(255,255,255,0.75); outline-offset: 2px;
}
:focus-visible {
  outline: 3px solid var(--red); outline-offset: 3px; border-radius: 3px;
}
/* Nav & footer links on dark backgrounds get a white outline */
nav a:focus-visible, .nav-links a:focus-visible,
.nav-drawer a:focus-visible, .footer-links a:focus-visible {
  outline-color: rgba(255,255,255,0.8);
}
select option { background: var(--navy-dark); color: var(--white); }

/* Honeypot — hidden from humans */
.hp-field { position: absolute; left: -9999px; opacity: 0; height: 0; overflow: hidden; }

.submit-btn {
  width: 100%; padding: 0.85rem; border-radius: 8px; border: none;
  font-family: 'Oswald', sans-serif; font-weight: 700;
  font-size: 1rem; letter-spacing: 0.08em; text-transform: uppercase;
  cursor: pointer; transition: all 0.2s; margin-top: 0.5rem;
}
.client-card .submit-btn { background: var(--white); color: var(--navy); }
.client-card .submit-btn:hover { background: var(--off-white); transform: translateY(-1px); }
.guard-card .submit-btn { background: var(--red); color: white; }
.guard-card .submit-btn:hover { background: var(--red-hover); transform: translateY(-1px); }
.submit-btn:active { transform: scale(0.99); }
.submit-btn:disabled { opacity: 0.6; cursor: not-allowed; transform: none; }

.privacy-note { text-align: center; font-size: 0.7rem; color: rgba(255,255,255,0.6); margin-top: 0.65rem; }
input.error { border-color: rgba(200,32,26,0.7) !important; background: rgba(200,32,26,0.08) !important; }
.form-error-msg {
  display: none; text-align: center; font-size: 0.78rem;
  color: #FCA5A5; margin-top: 0.65rem;
}

.success-state { display: none; text-align: center; padding: 2rem 0; }
.success-circle {
  width: 64px; height: 64px; border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  font-size: 1.75rem; margin: 0 auto 1.25rem;
}
.client-card .success-circle { background: rgba(255,255,255,0.1); border: 2px solid rgba(255,255,255,0.2); }
.guard-card .success-circle { background: rgba(200,32,26,0.2); border: 2px solid rgba(200,32,26,0.4); }
.success-title {
  font-family: 'Oswald', sans-serif; font-weight: 700;
  font-size: 1.5rem; color: var(--white); margin-bottom: 0.5rem;
}
.success-msg { font-size: 0.87rem; color: rgba(255,255,255,0.55); line-height: 1.6; }

/* ─── FOOTER ─── */
footer { background: var(--navy-dark); padding: 3rem 2.5rem 2rem; }
.footer-inner { max-width: 1000px; margin: 0 auto; }
.footer-top {
  display: grid; grid-template-columns: 1.5fr 1fr 1fr;
  gap: 3rem; padding-bottom: 2rem;
  border-bottom: 1px solid rgba(255,255,255,0.08); margin-bottom: 1.5rem;
}
.footer-logo-row {
  display: flex; align-items: center; margin-bottom: 0.75rem;
}
.footer-logo-pill {
  background: var(--white);
  border-radius: 14px;
  padding: 8px 14px;
  display: inline-flex; align-items: center; justify-content: center;
  box-shadow: 0 2px 12px rgba(0,0,0,0.15);
}
.footer-logo-row img {
  height: 60px; width: auto; display: block;
}
.footer-tagline {
  font-size: 0.82rem; color: rgba(255,255,255,0.7);
  line-height: 1.6; max-width: 260px;
}
.footer-col-title {
  font-family: 'Oswald', sans-serif; font-weight: 600;
  font-size: 0.8rem; letter-spacing: 0.12em; text-transform: uppercase;
  color: rgba(255,255,255,0.5); margin-bottom: 1rem;
}
.footer-links { list-style: none; display: flex; flex-direction: column; gap: 0.55rem; }
.footer-links a {
  font-size: 0.85rem; color: rgba(255,255,255,0.55);
  text-decoration: none; transition: color 0.15s;
}
.footer-links a:hover { color: var(--white); }
.footer-bottom {
  display: flex; align-items: center; justify-content: space-between;
  font-size: 0.75rem; color: rgba(255,255,255,0.6);
  flex-wrap: wrap; gap: 0.5rem;
}

/* ─── ANIMATIONS ─── */
@keyframes fadeUp {
  from { opacity: 0; transform: translateY(18px); }
  to { opacity: 1; transform: translateY(0); }
}
@keyframes drift {
  0%, 100% { transform: translate(0, 0) scale(1); }
  50% { transform: translate(14px, -18px) scale(1.06); }
}
@keyframes drift2 {
  0%, 100% { transform: translate(0, 0) scale(1); }
  50% { transform: translate(-18px, 12px) scale(1.04); }
}
@keyframes pulse-highlight {
  0% { box-shadow: 0 4px 16px rgba(200,32,26,0); }
  50% { box-shadow: 0 8px 32px rgba(200,32,26,0.25); }
  100% { box-shadow: 0 4px 16px rgba(200,32,26,0); }
}

/* Scroll-triggered reveals — hidden state only applies once JS confirms
   animation support by adding .anim to <html>. Without JS (or if anything
   fails), content is fully visible by default. */
html.anim .reveal {
  opacity: 0;
  transform: translateY(28px);
  transition: opacity 0.7s cubic-bezier(0.22,1,0.36,1), transform 0.7s cubic-bezier(0.22,1,0.36,1);
  will-change: opacity, transform;
}
html.anim .reveal.in-view { opacity: 1; transform: translateY(0); }
/* Stagger children — applied to grid/list containers */
html.anim .reveal-stagger > * {
  opacity: 0;
  transform: translateY(24px);
  transition: opacity 0.6s cubic-bezier(0.22,1,0.36,1), transform 0.6s cubic-bezier(0.22,1,0.36,1);
}
html.anim .reveal-stagger.in-view > * { opacity: 1; transform: translateY(0); }
html.anim .reveal-stagger.in-view > *:nth-child(1) { transition-delay: 0s; }
html.anim .reveal-stagger.in-view > *:nth-child(2) { transition-delay: 0.08s; }
html.anim .reveal-stagger.in-view > *:nth-child(3) { transition-delay: 0.16s; }
html.anim .reveal-stagger.in-view > *:nth-child(4) { transition-delay: 0.24s; }
html.anim .reveal-stagger.in-view > *:nth-child(5) { transition-delay: 0.32s; }
html.anim .reveal-stagger.in-view > *:nth-child(6) { transition-delay: 0.4s; }
html.anim .reveal-stagger.in-view > *:nth-child(7) { transition-delay: 0.48s; }

/* ─── ACCESSIBILITY: respect reduced-motion (WCAG 2.3.3 / Section 508) ─── */
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
  }
  .reveal, .reveal-stagger > * { opacity: 1 !important; transform: none !important; }
}

/* ─── RESPONSIVE ─── */
/* ═══ MEDIUM VIEWPORT (MVP) — Tablet: 769px–1024px ═══ */
@media (max-width: 1024px) {
  /* Nav: hide links, show hamburger */
  nav { padding: 0 1.75rem; }
  .nav-links { display: none; }
  .nav-hamburger { display: flex; }
  .desktop-only { display: none; }

  /* Hero */
  .hero { padding: 2.5rem 2rem 3.5rem; }
  .hero-inner { gap: 2rem; }
  .hero-features { display: none; }
  .hero-inner { grid-template-columns: 1fr; }

  /* Sections: reduce padding */
  .section { padding: 4rem 2rem; }
  .trust-section, .use-section, .hoa-section,
  .waitlist-section { padding: 4rem 2rem; }
  .stats-band { padding: 2.5rem 2rem; }
  footer { padding: 3rem 2rem 2rem; }

  /* How it works: 3 → 2 cols on smaller tablets */
  .how-grid { grid-template-columns: repeat(2, 1fr); }

  /* Trust: reduce column gap */
  .trust-inner { gap: 2.5rem; }

  /* Use cases: 5 → 3 cols */
  .use-grid { grid-template-columns: repeat(3, 1fr); }

  /* HOA: tighten inner padding/gap */
  .hoa-inner { padding: 2.5rem; gap: 2rem; }

  /* Waitlist: stack forms */
  .waitlist-grid { grid-template-columns: 1fr; }

  /* Footer: 3 → 2 cols */
  .footer-top { grid-template-columns: 1fr 1fr; gap: 2rem; }
  .footer-top > div:first-child { grid-column: 1 / -1; }
}

/* ═══ SMALL VIEWPORT (SVP) — Mobile: ≤768px ═══ */
@media (max-width: 768px) {
  nav { padding: 0 1.25rem; height: 110px; }
  .nav-logo img { height: 72px; }

  .hero { padding: 2rem 1.25rem 3rem; }
  .hero-inner { grid-template-columns: 1fr; }
  .hero-features { display: none; }

  .section { padding: 3.5rem 1.25rem; }
  .trust-section, .use-section, .hoa-section,
  .waitlist-section { padding: 3.5rem 1.25rem; }
  .stats-band { padding: 2.25rem 1.25rem; }
  footer { padding: 2.5rem 1.25rem 1.5rem; }

  .how-grid { grid-template-columns: 1fr; }
  .trust-inner { grid-template-columns: 1fr; }
  .trust-features { grid-template-columns: 1fr 1fr; }
  .waitlist-grid { grid-template-columns: 1fr; }
  .use-grid { grid-template-columns: repeat(2, 1fr); }
  .hoa-inner { grid-template-columns: 1fr; padding: 2rem; gap: 1.75rem; }
  .footer-top { grid-template-columns: 1fr; gap: 2rem; }
  .form-row { grid-template-columns: 1fr; }
  .stats-inner { gap: 1.5rem; }
  .stat-divider { display: none; }
  .stat-num { font-size: 2.2rem; }
  .waitlist-card { padding: 1.75rem 1.25rem; }
}

/* ═══ EXTRA SMALL (SVP+) — Small phones: ≤480px ═══ */
@media (max-width: 480px) {
  nav { height: 90px; }
  .nav-logo img { height: 58px; }

  .hero-title { font-size: 1.9rem; }
  .hero-btns { flex-direction: column; }
  .btn-primary, .btn-ghost { width: 100%; text-align: center; }
  .hero-trust { flex-direction: column; gap: 0.6rem; }

  .section-title { font-size: 1.7rem; }
  .how-card { padding: 1.5rem 1rem; }

  .trust-features { grid-template-columns: 1fr; }
  .use-grid { grid-template-columns: 1fr 1fr; }

  .waitlist-card { padding: 1.25rem 1rem; }
  .card-title { font-size: 1.3rem; }

  .hoa-cta { padding: 0.8rem 1rem; }

  .footer-bottom { flex-direction: column; text-align: center; }
  .footer-tagline { max-width: 100%; }
}
