:root {
  --va-navy: #082541;
  --va-gold: #C39A26;
  --va-navy-contrast: #ffffff;
  --va-gold-on-navy: #F6D991; /* lighter text only where gold is background */
  --va-gold-strong: #A17E1F;  /* darker gold for text on white if needed */
  --card-radius: 16px;
  --card-padding: 24px;
  --card-border: 1px solid var(--va-divider);
  --shadow-xs: 0 1px 2px rgba(11,18,32,.08), 0 0 0 1px rgba(11,18,32,.04) inset;
  --shadow-s: 0 4px 10px rgba(11,18,32,.08);
  --shadow-m: 0 10px 24px rgba(11,18,32,.12);
  --shadow-xl: 0 24px 48px rgba(11,18,32,.14);
  --ring-focus: 0 0 0 3px rgba(199,155,36,.35);
  --btn-radius: 10px;
  --btn-pad-sm: 0.5rem 0.875rem;   /* 36px */
  --btn-pad-md: 0.65rem 1rem;      /* 44px */
  --btn-pad-lg: 0.85rem 1.25rem;   /* 52px */
}

@media (prefers-contrast: more) {
  :root {
    --va-gold: #A17E1F;
    --va-gold-strong: #886B1A;
  }
}

/* Base card */
.card {
  background: #fff;
  border: var(--card-border);
  border-radius: var(--card-radius);
  padding: var(--card-padding);
  box-shadow: var(--shadow-s);
  transition: transform .15s ease, box-shadow .2s ease;
}
.card:hover { transform: translateY(-2px); box-shadow: var(--shadow-m); }

/* Elevated highlight */
.card--highlight {
  box-shadow: var(--shadow-xl);
  border-color: rgba(199,155,36,.45);
}

/* Card sections */
.card__header{ margin-bottom: 12px; }
.card__title{ font-weight: 700; }
.card__body{ display: grid; gap: 12px; }
img[width][height] {
  height: auto;
}
.icon-20 {
  width: 20px;
  height: 20px;
}
#pricing [data-slot="badge"] {
  min-height: 24px;
  display: inline-flex;
  align-items: center;
}
#faq [data-slot="accordion-content"] {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.3s ease;
  will-change: max-height;
}

a:focus-visible,
button:focus-visible,
input:focus-visible,
select:focus-visible,
textarea:focus-visible {
  outline: 2px solid var(--va-gold);
  outline-offset: 2px;
}

.bg-va-navy .text-va-gold {
  color: var(--va-gold-on-navy);
}

.text-gold-strong {
  color: var(--va-gold-strong);
}

.skip-link {
  position: absolute;
  top: 0;
  left: 0;
  padding: 0.5rem 1rem;
  background: #fff;
  color: #000;
  transform: translateY(-100%);
  z-index: 100;
}

.skip-link:focus {
  transform: translateY(0);
}
/* Header skin */
.site-header {
  position: sticky; top: 0; z-index: 50;
  background: rgba(3, 32, 56, 0.96); /* va-navy */
  -webkit-backdrop-filter: blur(6px);
  backdrop-filter: blur(6px);
  border-bottom: 1px solid rgba(255,255,255,.08);
}

/* Nav links */
.nav a, .nav button {
  position: relative;
  transition: color .2s ease;
}
.nav a:hover, .nav button:hover { color: var(--va-gold, #c79b24); }

/* Animated underline */
.nav a::after, .nav button::after{
  content:""; position:absolute; left:0; right:0; bottom:-8px; height:2px;
  background: currentColor; transform: scaleX(0); transform-origin: left;
  transition: transform .25s ease;
}
.nav a:hover::after, .nav button:hover::after{ transform: scaleX(1); }

/* Active section */
.nav a.is-active::after, .nav button.is-active::after{ transform: scaleX(1); }

/* Buttons */
.btn {
  display:inline-flex; align-items:center; justify-content:center; gap: .5rem;
  border-radius: var(--btn-radius);
  font-weight: 600; line-height: 1;
  transition: background .15s ease, box-shadow .15s ease, transform .1s ease;
  user-select:none; cursor:pointer;
}
.btn:disabled{ opacity:.55; cursor:not-allowed; }

.btn-sm{ padding: var(--btn-pad-sm); font-size: 0.875rem; }
.btn-md{ padding: var(--btn-pad-md); font-size: 0.95rem; }
.btn-lg{ padding: var(--btn-pad-lg); font-size: 1rem; }

.btn-primary{
  background: var(--va-gold, #c79b24); color:#0b1220;
  box-shadow: 0 6px 16px rgba(199,155,36,.28);
}
.btn-primary:hover{ transform: translateY(-1px); }
.btn-primary:focus-visible{ outline: 3px solid rgba(199,155,36,.45); outline-offset:2px; }

.btn-secondary{
  background: var(--va-navy);
  color: var(--va-navy-contrast);
  border: 1px solid var(--va-gold, #c79b24);
}
.btn-secondary:hover{ background: var(--va-navy); color: var(--va-navy-contrast); }
.btn-secondary:focus-visible{ outline: 3px solid rgba(199,155,36,.35); outline-offset:2px; }

.btn > svg, .btn > img.icon { width: 1.1em; height: 1.1em; flex: 0 0 auto; }

/* Type scale for hero */
.hero h1 {
  font-weight: 800;
  font-size: clamp(28px, 5vw, 48px);
  line-height: 1.15;
  letter-spacing: -.015em;
}
.hero p.lead {
  font-size: clamp(16px, 2.2vw, 20px);
  line-height: 1.5;
  max-width: 68ch;
}

/* Constrain hero copy column */
.hero .copy-col { max-width: 640px; }

/* Hero vignette */
.hero {
  position: relative;
  overflow: hidden;
}
.hero::before{
  content:"";
  position:absolute; inset:-10% -5% auto -5%;
  height: 70%;
  background: radial-gradient(60% 60% at 25% 35%, rgba(11,18,32,.25), transparent 60%);
  pointer-events:none;
  z-index:0;
}
.hero > * { position: relative; z-index:1; }

/* Dashboard shadow */
.hero .dashboard {
  filter: drop-shadow(0 16px 24px rgba(11,18,32,.25));
}

/* Align service card buttons */
#services .card {
  display: flex;
  flex-direction: column;
  height: 100%;
}

#services .card__body {
  display: flex;
  flex-direction: column;
  flex-grow: 1;
}

#services .card__body .btn {
  margin-top: auto;
}
