/* ═══════════════════════════════════════════════════════════════════════════
   IMPARTIO v1.0 — Design System
   Professional aerial property inspections
   
   Aesthetic: Refined professional — navy dominance, teal precision accent,
   editorial DM Serif Display headings, generous whitespace.
   ═══════════════════════════════════════════════════════════════════════════ */


/* ═══ 1. TOKENS ═══════════════════════════════════════════════════════════ */

:root {
  /* Brand Colors */
  --navy:       #0A1628;
  --navy-90:    rgba(10, 22, 40, 0.9);
  --navy-light: #0d1f35;
  --teal:       #0E9B8A;
  --teal-hover: #0b7a6c;
  --teal-glow:  rgba(14, 155, 138, 0.08);
  --teal-ring:  rgba(14, 155, 138, 0.15);
  --light:      #F4F7F6;
  --white:      #FFFFFF;
  --mid-gray:   #4A5568;
  --slate:      #8BA8C8;
  --rule:       #D1DCE8;
  --bg-subtle:  #F9FCFB;

  /* Typography */
  --font-heading: 'DM Serif Display', serif;
  --font-body:    'DM Sans', sans-serif;
  --font-sig:     'Brush Script MT', cursive;

  /* Spacing — 4px base */
  --sp-1:  0.25rem;    /*  4px */
  --sp-2:  0.5rem;     /*  8px */
  --sp-3:  0.75rem;    /* 12px */
  --sp-4:  1rem;       /* 16px */
  --sp-5:  1.25rem;    /* 20px */
  --sp-6:  1.5rem;     /* 24px */
  --sp-8:  2rem;       /* 32px */
  --sp-10: 2.5rem;     /* 40px */
  --sp-12: 3rem;       /* 48px */
  --sp-16: 4rem;       /* 64px */
  --sp-20: 5rem;       /* 80px */

  /* Layout */
  --max-width:     1200px;
  --content-width: 760px;
  --narrow-width:  600px;

  /* Borders */
  --radius-sm:   4px;
  --radius-md:   8px;
  --radius-lg:   16px;
  --radius-pill: 9999px;

  /* Shadows */
  --shadow-sm:    0 1px 3px rgba(10, 22, 40, 0.05);
  --shadow-md:    0 4px 12px rgba(10, 22, 40, 0.08);
  --shadow-lg:    0 8px 30px rgba(10, 22, 40, 0.12);
  --shadow-teal:  0 4px 14px rgba(14, 155, 138, 0.25);

  /* Transitions */
  --ease-fast: 150ms ease;
  --ease-base: 250ms ease;
  --ease-slow: 400ms ease;
}


/* ═══ 2. RESET & BASE ═════════════════════════════════════════════════════ */

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

html {
  scroll-behavior: smooth;
  -webkit-text-size-adjust: 100%;
}

body {
  font-family: var(--font-body);
  font-size: 15px;
  font-weight: 400;
  line-height: 1.7;
  color: var(--mid-gray);
  background: var(--light);
  min-height: 100vh;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

img, svg {
  display: block;
  max-width: 100%;
}

a {
  color: var(--teal);
  text-decoration: none;
  transition: color var(--ease-fast);
}
a:hover {
  color: var(--teal-hover);
}

::selection {
  background: var(--teal);
  color: var(--white);
}


/* ═══ 3. TYPOGRAPHY ═══════════════════════════════════════════════════════ */

h1, h2, h3, h4 {
  font-family: var(--font-heading);
  font-weight: 400;
  color: var(--navy);
  line-height: 1.2;
}

h1 {
  font-size: clamp(1.75rem, 4.5vw, 2.75rem);
  letter-spacing: -0.01em;
}

h2 {
  font-size: clamp(1.4rem, 3.5vw, 2rem);
}

h3 {
  font-size: clamp(1.1rem, 2.5vw, 1.4rem);
}

h4 {
  font-family: var(--font-body);
  font-weight: 600;
  font-size: 0.8rem;
  letter-spacing: 1.5px;
  text-transform: uppercase;
  color: var(--teal);
}

p + p { margin-top: var(--sp-4); }

.text-teal { color: var(--teal); }
.text-navy { color: var(--navy); }
.text-slate { color: var(--slate); }
.text-sm { font-size: 0.85rem; }
.text-xs { font-size: 0.75rem; }
.text-center { text-align: center; }
.text-balance { text-wrap: balance; }

.lead {
  font-size: 1.05rem;
  line-height: 1.7;
  color: var(--mid-gray);
  max-width: var(--narrow-width);
}

.section-label {
  font-size: 0.65rem;
  font-weight: 700;
  letter-spacing: 2px;
  text-transform: uppercase;
  color: var(--teal);
  display: flex;
  align-items: center;
  gap: var(--sp-2);
}
.section-label::after {
  content: '';
  flex: 1;
  height: 1px;
  background: var(--rule);
}


/* ═══ 4. LAYOUT & GRID ═══════════════════════════════════════════════════ */

.container {
  width: 100%;
  max-width: var(--max-width);
  margin: 0 auto;
  padding: 0 var(--sp-6);
}

.container--narrow {
  max-width: var(--content-width);
}

.section {
  padding: var(--sp-16) 0;
}

.section--sm {
  padding: var(--sp-10) 0;
}

.grid {
  display: grid;
  gap: var(--sp-6);
}
.grid--2 { grid-template-columns: repeat(2, 1fr); }
.grid--3 { grid-template-columns: repeat(3, 1fr); }
.grid--4 { grid-template-columns: repeat(4, 1fr); }

.flex {
  display: flex;
  gap: var(--sp-4);
}
.flex--center { align-items: center; justify-content: center; }
.flex--between { align-items: center; justify-content: space-between; }
.flex--col { flex-direction: column; }


/* ═══ 5. HEADER & NAVIGATION ═════════════════════════════════════════════ */

.site-header {
  background: var(--navy);
  position: sticky;
  top: 0;
  z-index: 100;
}

.header-inner {
  max-width: var(--max-width);
  margin: 0 auto;
  padding: 0 var(--sp-6);
  height: 60px;
  display: flex;
  align-items: center;
  gap: var(--sp-6);
}

/* Brand */
.brand-link {
  display: flex;
  align-items: center;
  gap: var(--sp-2);
  text-decoration: none;
  flex-shrink: 0;
}
.brand-name {
  font-family: var(--font-heading);
  font-weight: 700;
  font-size: 1.1rem;
  letter-spacing: 2px;
  color: var(--white);
}
.brand-dot {
  color: var(--teal);
  font-size: 1.1rem;
  line-height: 1;
}
.brand-link:hover .brand-name { color: var(--white); }
.brand-link:hover .brand-dot { color: var(--teal); }

.brand-icon {
  width: 28px;
  height: 28px;
  flex-shrink: 0;
}

/* Teal rule under header */
.teal-rule {
  height: 3px;
  background: var(--teal);
}

/* Nav */
.main-nav {
  display: flex;
  align-items: center;
  gap: var(--sp-6);
  margin-left: auto;
}

.nav-links {
  display: flex;
  align-items: center;
  gap: var(--sp-5);
}

.nav-links a {
  font-size: 0.82rem;
  font-weight: 500;
  color: var(--slate);
  text-decoration: none;
  letter-spacing: 0.3px;
  transition: color var(--ease-fast);
  white-space: nowrap;
}
.nav-links a:hover {
  color: var(--white);
}

/* Nav CTA button */
.btn-nav-cta {
  background: var(--teal) !important;
  color: var(--white) !important;
  padding: 7px 18px !important;
  border-radius: var(--radius-pill) !important;
  font-weight: 600 !important;
  font-size: 0.78rem !important;
  transition: background var(--ease-fast), box-shadow var(--ease-fast) !important;
}
.btn-nav-cta:hover {
  background: var(--teal-hover) !important;
  box-shadow: var(--shadow-teal) !important;
  color: var(--white) !important;
}

/* State selector dropdown */
.nav-state-selector {
  position: relative;
}

.state-selector-btn {
  display: flex;
  align-items: center;
  gap: var(--sp-1);
  background: none;
  border: 1px solid rgba(139, 168, 200, 0.3);
  border-radius: var(--radius-sm);
  padding: 5px 12px;
  color: var(--slate);
  font-family: var(--font-body);
  font-size: 0.78rem;
  font-weight: 500;
  cursor: pointer;
  transition: border-color var(--ease-fast), color var(--ease-fast);
}
.state-selector-btn:hover {
  border-color: var(--slate);
  color: var(--white);
}

.state-selector-arrow {
  font-size: 0.65rem;
  transition: transform var(--ease-fast);
}
.state-selector-btn[aria-expanded="true"] .state-selector-arrow {
  transform: rotate(180deg);
}

.state-selector-dropdown {
  position: absolute;
  top: calc(100% + 6px);
  right: 0;
  background: var(--white);
  border: 1px solid var(--rule);
  border-radius: var(--radius-md);
  box-shadow: var(--shadow-lg);
  min-width: 160px;
  padding: var(--sp-1) 0;
  display: none;
  z-index: 200;
}
.state-selector-dropdown.is-open {
  display: block;
}

.state-selector-dropdown a {
  display: block;
  padding: 8px 16px;
  font-size: 0.85rem;
  color: var(--mid-gray);
  transition: background var(--ease-fast), color var(--ease-fast);
}
.state-selector-dropdown a:hover {
  background: var(--teal-glow);
  color: var(--teal);
}
.state-selector-dropdown a.is-current {
  color: var(--teal);
  font-weight: 600;
}
.state-selector-dropdown a.is-current::after {
  content: ' ✓';
  font-size: 0.75rem;
}

/* Hamburger toggle */
.nav-toggle {
  display: none;
  background: none;
  border: none;
  cursor: pointer;
  padding: var(--sp-2);
  margin-left: auto;
  flex-direction: column;
  gap: 5px;
}
.nav-toggle-bar {
  display: block;
  width: 22px;
  height: 2px;
  background: var(--white);
  border-radius: 1px;
  transition: transform var(--ease-base), opacity var(--ease-base);
}

/* Hamburger animation when open */
.nav-toggle[aria-expanded="true"] .nav-toggle-bar:nth-child(1) {
  transform: translateY(7px) rotate(45deg);
}
.nav-toggle[aria-expanded="true"] .nav-toggle-bar:nth-child(2) {
  opacity: 0;
}
.nav-toggle[aria-expanded="true"] .nav-toggle-bar:nth-child(3) {
  transform: translateY(-7px) rotate(-45deg);
}


/* ═══ 6. FOOTER ══════════════════════════════════════════════════════════ */

.site-footer {
  background: var(--navy);
  border-top: 3px solid var(--teal);
  color: var(--slate);
  padding: var(--sp-12) 0 var(--sp-8);
}

.footer-inner {
  max-width: var(--max-width);
  margin: 0 auto;
  padding: 0 var(--sp-6);
}

.footer-brand .brand-name {
  font-family: var(--font-heading);
  font-weight: 700;
  font-size: 1rem;
  letter-spacing: 2px;
  color: var(--white);
}
.footer-brand .brand-dot {
  color: var(--teal);
}
.footer-tagline {
  font-size: 0.82rem;
  color: var(--slate);
  margin-top: var(--sp-1);
}

.footer-links {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: var(--sp-8);
  margin-top: var(--sp-8);
  padding-top: var(--sp-8);
  border-top: 1px solid rgba(139, 168, 200, 0.15);
}

.footer-col h4 {
  font-family: var(--font-body);
  font-weight: 600;
  font-size: 0.7rem;
  letter-spacing: 1.5px;
  text-transform: uppercase;
  color: var(--slate);
  margin-bottom: var(--sp-3);
}

.footer-col a {
  display: block;
  font-size: 0.85rem;
  color: rgba(139, 168, 200, 0.7);
  padding: var(--sp-1) 0;
  transition: color var(--ease-fast);
}
.footer-col a:hover {
  color: var(--teal);
}

.footer-bottom {
  margin-top: var(--sp-8);
  padding-top: var(--sp-6);
  border-top: 1px solid rgba(139, 168, 200, 0.15);
  font-size: 0.75rem;
  color: rgba(139, 168, 200, 0.5);
}


/* ═══ 7. HERO SECTIONS ═══════════════════════════════════════════════════ */

.hero {
  background: linear-gradient(135deg, var(--navy) 0%, var(--navy-light) 100%);
  padding: var(--sp-16) var(--sp-6);
  text-align: center;
  position: relative;
  overflow: hidden;
}

/* Subtle pattern overlay */
.hero::before {
  content: '';
  position: absolute;
  inset: 0;
  background:
    radial-gradient(circle at 20% 50%, rgba(14, 155, 138, 0.06) 0%, transparent 50%),
    radial-gradient(circle at 80% 20%, rgba(14, 155, 138, 0.04) 0%, transparent 50%);
  pointer-events: none;
}

.hero > * {
  position: relative;
}

.hero h1 {
  color: var(--white);
  margin-bottom: var(--sp-4);
}

.hero p {
  color: var(--slate);
  font-size: 1rem;
  max-width: var(--narrow-width);
  margin: 0 auto;
  line-height: 1.7;
}

/* Hero with logo layout */
.hero-inner {
  display: flex;
  align-items: flex-start;
  justify-content: center;
  gap: var(--sp-8);
  max-width: 900px;
  margin: 0 auto;
  text-align: left;
}
.hero-inner h1,
.hero-inner p {
  text-align: left;
  margin-left: 0;
}

.hero-logo {
  width: 143px;
  height: 143px;
  object-fit: contain;
  flex-shrink: 0;
}

.hero-text {
  flex: 1;
}

/* Price pill */
.hero-price {
  flex-shrink: 0;
  background: var(--teal);
  border-radius: var(--radius-pill);
  padding: 10px 28px;
  display: flex;
  flex-direction: column;
  align-items: center;
  line-height: 1.2;
  align-self: center;
  box-shadow: var(--shadow-teal);
}
.hero-price .hp-amount {
  font-family: var(--font-heading);
  font-size: 2.25rem;
  color: var(--white);
  line-height: 1;
}
.hero-price .hp-label {
  font-size: 0.7rem;
  color: rgba(255, 255, 255, 0.85);
  letter-spacing: 0.3px;
  margin-top: 3px;
}

/* Hero compact (thank-you pages, etc.) */
.hero--compact {
  padding: var(--sp-10) var(--sp-6);
}


/* ═══ 8. CARDS & CONTENT BLOCKS ══════════════════════════════════════════ */

.card {
  background: var(--white);
  border: 1px solid var(--rule);
  border-radius: var(--radius-md);
  padding: var(--sp-8);
  box-shadow: var(--shadow-sm);
  transition: box-shadow var(--ease-base), transform var(--ease-base);
}
.card:hover {
  box-shadow: var(--shadow-md);
}

.card--elevated {
  box-shadow: var(--shadow-md);
}
.card--elevated:hover {
  box-shadow: var(--shadow-lg);
  transform: translateY(-2px);
}

/* Callout block (teal left border) */
.callout {
  background: var(--teal-glow);
  border-left: 4px solid var(--teal);
  border-radius: var(--radius-md);
  padding: var(--sp-4) var(--sp-5);
  font-size: 0.85rem;
  line-height: 1.6;
  color: var(--mid-gray);
}
.callout strong {
  color: var(--navy);
}

/* Info section (used for CA-specific content, etc.) */
.info-section {
  background: rgba(14, 155, 138, 0.03);
  border: 1px solid var(--rule);
  border-radius: var(--radius-md);
  padding: var(--sp-6) var(--sp-8);
}

.info-section h3 {
  font-size: 0.8rem;
  font-weight: 700;
  font-family: var(--font-body);
  text-transform: uppercase;
  letter-spacing: 1px;
  color: var(--teal);
  margin-bottom: var(--sp-5);
  display: flex;
  align-items: center;
  gap: var(--sp-2);
}
.info-section h3::before {
  content: '';
  width: 3px;
  height: 16px;
  background: var(--teal);
  border-radius: 2px;
}

.info-items {
  display: grid;
  gap: var(--sp-4);
}

.info-item {
  display: flex;
  flex-direction: column;
  gap: var(--sp-1);
}

.info-label {
  font-size: 0.7rem;
  font-weight: 600;
  color: var(--navy);
  text-transform: uppercase;
  letter-spacing: 0.3px;
}

.info-text {
  font-size: 0.85rem;
  color: var(--mid-gray);
  line-height: 1.6;
}

/* Benefit / feature item */
.benefit {
  display: flex;
  gap: var(--sp-3);
  align-items: flex-start;
}

.benefit-icon {
  width: 28px;
  height: 28px;
  border-radius: 50%;
  background: var(--teal);
  color: var(--white);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 0.85rem;
  flex-shrink: 0;
}

.benefit-text {
  display: flex;
  flex-direction: column;
  gap: 2px;
}
.benefit-text strong {
  font-size: 0.85rem;
  color: var(--navy);
}
.benefit-text p {
  font-size: 0.8rem;
  color: var(--mid-gray);
  line-height: 1.5;
}

/* Step / timeline items */
.step {
  display: flex;
  gap: var(--sp-4);
  align-items: flex-start;
}

.step-number {
  width: 36px;
  height: 36px;
  border-radius: 50%;
  background: var(--navy);
  color: var(--teal);
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: var(--font-heading);
  font-size: 1rem;
  flex-shrink: 0;
}

.step-content h3 {
  font-family: var(--font-body);
  font-weight: 600;
  font-size: 0.95rem;
  color: var(--navy);
  margin-bottom: var(--sp-1);
}
.step-content p {
  font-size: 0.85rem;
  color: var(--mid-gray);
  line-height: 1.6;
}

/* Report section reference tag */
.report-ref {
  font-size: 0.7rem;
  color: var(--slate);
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  margin-top: var(--sp-1);
  display: inline-block;
}


/* ═══ 9. TABS ════════════════════════════════════════════════════════════ */

.tab-nav {
  background: var(--white);
  border-bottom: 1px solid var(--rule);
  display: flex;
  justify-content: center;
  overflow-x: auto;
  -webkit-overflow-scrolling: touch;
}

.tab-btn {
  padding: 14px 20px;
  font-size: 0.75rem;
  font-weight: 700;
  color: var(--slate);
  background: none;
  border: none;
  border-bottom: 3px solid transparent;
  cursor: pointer;
  transition: color var(--ease-fast), border-color var(--ease-fast);
  text-transform: uppercase;
  letter-spacing: 0.5px;
  white-space: nowrap;
  font-family: var(--font-body);
}
.tab-btn:hover {
  color: var(--mid-gray);
}
.tab-btn.active {
  color: var(--teal);
  border-bottom-color: var(--teal);
}

.tab-btn--cta {
  color: var(--teal);
  border-bottom-color: var(--teal);
  font-weight: 700;
}
.tab-btn--cta:hover {
  color: var(--teal-hover);
  border-bottom-color: var(--teal-hover);
}

.tab-content {
  display: none;
}
.tab-content.active {
  display: block;
}


/* ═══ 10. FORMS ══════════════════════════════════════════════════════════ */

.form-card {
  background: var(--white);
  border: 1px solid var(--rule);
  border-radius: var(--radius-md);
  overflow: hidden;
  box-shadow: var(--shadow-md);
}

.form-header {
  background: var(--navy);
  padding: var(--sp-6) var(--sp-8);
}
.form-header h2 {
  font-size: 1.5rem;
  color: var(--white);
  margin-bottom: var(--sp-1);
}
.form-header p {
  font-size: 0.85rem;
  color: var(--slate);
  line-height: 1.6;
}

.form-body {
  padding: var(--sp-5) var(--sp-8);
  border-bottom: 1px solid var(--rule);
}
.form-body:last-of-type {
  border-bottom: none;
}

/* Field grid */
.field-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: var(--sp-3) var(--sp-4);
}
.field-grid--1 {
  grid-template-columns: 1fr;
}
.field-grid .field--full {
  grid-column: 1 / -1;
}

/* Individual field */
.field {
  display: flex;
  flex-direction: column;
  gap: var(--sp-1);
}

.field label {
  font-size: 0.7rem;
  font-weight: 600;
  color: var(--navy);
}
.field label .required {
  color: var(--teal);
}

.field input,
.field select,
.field textarea {
  border: 1px solid var(--rule);
  border-radius: var(--radius-sm);
  padding: 9px 12px;
  font-size: 0.85rem;
  font-family: var(--font-body);
  color: var(--navy);
  background: var(--white);
  transition: border-color var(--ease-fast), box-shadow var(--ease-fast);
  width: 100%;
}
.field input:focus,
.field select:focus,
.field textarea:focus {
  outline: none;
  border-color: var(--teal);
  box-shadow: 0 0 0 3px var(--teal-ring);
}

.field input::placeholder,
.field textarea::placeholder {
  color: var(--slate);
  opacity: 0.6;
}

.field textarea {
  resize: vertical;
  min-height: 80px;
}

/* Signature field */
.field--signature input {
  font-family: var(--font-sig);
  font-size: 1.25rem;
  padding: 12px;
}

/* Consent checkbox row */
.consent-row {
  display: flex;
  align-items: flex-start;
  gap: var(--sp-3);
  padding: var(--sp-4) var(--sp-8);
  background: var(--bg-subtle);
  border-top: 1px solid var(--rule);
  font-size: 0.8rem;
  line-height: 1.6;
  color: var(--mid-gray);
}
.consent-row input[type="checkbox"] {
  accent-color: var(--teal);
  flex-shrink: 0;
  margin-top: 3px;
  width: 16px;
  height: 16px;
}

/* Submit area */
.submit-area {
  padding: var(--sp-5) var(--sp-8);
  background: var(--bg-subtle);
  border-top: 1px solid var(--rule);
  text-align: center;
}

.submit-note {
  font-size: 0.72rem;
  color: var(--mid-gray);
  margin-top: var(--sp-2);
}


/* ═══ 11. BUTTONS & LINKS ════════════════════════════════════════════════ */

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: var(--sp-2);
  font-family: var(--font-body);
  font-weight: 600;
  font-size: 0.85rem;
  border: none;
  border-radius: var(--radius-md);
  padding: 11px 28px;
  cursor: pointer;
  transition: background var(--ease-fast), box-shadow var(--ease-fast), transform var(--ease-fast);
  text-decoration: none;
  white-space: nowrap;
}

.btn--primary {
  background: var(--teal);
  color: var(--white);
}
.btn--primary:hover {
  background: var(--teal-hover);
  box-shadow: var(--shadow-teal);
  color: var(--white);
}

.btn--secondary {
  background: var(--white);
  color: var(--teal);
  border: 1px solid var(--teal);
}
.btn--secondary:hover {
  background: var(--teal-glow);
}

.btn--navy {
  background: var(--navy);
  color: var(--white);
}
.btn--navy:hover {
  background: var(--navy-light);
}

.btn--lg {
  padding: 14px 36px;
  font-size: 0.95rem;
  border-radius: var(--radius-md);
}

.btn--pill {
  border-radius: var(--radius-pill);
}

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

/* Link with arrow */
.link-arrow {
  font-weight: 600;
  font-size: 0.85rem;
  display: inline-flex;
  align-items: center;
  gap: var(--sp-1);
}
.link-arrow::after {
  content: '→';
  transition: transform var(--ease-fast);
}
.link-arrow:hover::after {
  transform: translateX(3px);
}


/* ═══ 12. STATE BADGES & PILLS ═══════════════════════════════════════════ */

.badge {
  display: inline-flex;
  align-items: center;
  gap: var(--sp-1);
  font-size: 0.7rem;
  font-weight: 600;
  letter-spacing: 0.5px;
  text-transform: uppercase;
  padding: 4px 10px;
  border-radius: var(--radius-pill);
}

.badge--teal {
  background: var(--teal-glow);
  color: var(--teal);
}

.badge--navy {
  background: rgba(10, 22, 40, 0.08);
  color: var(--navy);
}

.pill {
  display: inline-flex;
  align-items: center;
  gap: var(--sp-2);
  background: var(--teal);
  color: var(--white);
  border-radius: var(--radius-pill);
  padding: 8px 20px;
  font-size: 0.85rem;
  font-weight: 600;
}

.pill--lg {
  padding: 10px 28px;
  font-size: 1rem;
}


/* ═══ 13. RESOURCE LINKS ═════════════════════════════════════════════════ */

.resource-link {
  display: flex;
  align-items: center;
  gap: var(--sp-3);
  padding: var(--sp-4);
  border: 1px solid var(--rule);
  border-radius: var(--radius-md);
  background: var(--white);
  transition: border-color var(--ease-fast), box-shadow var(--ease-fast);
  text-decoration: none;
}
.resource-link:hover {
  border-color: var(--teal);
  box-shadow: var(--shadow-sm);
}

.resource-link-icon {
  width: 36px;
  height: 36px;
  border-radius: var(--radius-sm);
  background: var(--teal-glow);
  color: var(--teal);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1rem;
  flex-shrink: 0;
}

.resource-link-text {
  flex: 1;
}
.resource-link-text strong {
  display: block;
  font-size: 0.85rem;
  color: var(--navy);
  margin-bottom: 2px;
}
.resource-link-text span {
  font-size: 0.75rem;
  color: var(--mid-gray);
}


/* ═══ 14. AGREEMENT SECTIONS ═════════════════════════════════════════════ */

.agreement-section {
  padding: var(--sp-5) 0;
  border-bottom: 1px solid var(--rule);
}
.agreement-section:last-child {
  border-bottom: none;
}

.agreement-section h3 {
  font-family: var(--font-body);
  font-weight: 600;
  font-size: 0.95rem;
  color: var(--navy);
  margin-bottom: var(--sp-2);
}

.agreement-section p {
  font-size: 0.85rem;
  color: var(--mid-gray);
  line-height: 1.7;
}

.agreement-number {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 24px;
  height: 24px;
  border-radius: 50%;
  background: var(--teal);
  color: var(--white);
  font-size: 0.7rem;
  font-weight: 700;
  margin-right: var(--sp-2);
  flex-shrink: 0;
  vertical-align: middle;
}


/* ═══ 15. UTILITY CLASSES ════════════════════════════════════════════════ */

.mt-1 { margin-top: var(--sp-1); }
.mt-2 { margin-top: var(--sp-2); }
.mt-4 { margin-top: var(--sp-4); }
.mt-6 { margin-top: var(--sp-6); }
.mt-8 { margin-top: var(--sp-8); }
.mt-10 { margin-top: var(--sp-10); }
.mt-12 { margin-top: var(--sp-12); }

.mb-2 { margin-bottom: var(--sp-2); }
.mb-4 { margin-bottom: var(--sp-4); }
.mb-6 { margin-bottom: var(--sp-6); }
.mb-8 { margin-bottom: var(--sp-8); }

.pt-6 { padding-top: var(--sp-6); }
.pb-6 { padding-bottom: var(--sp-6); }

.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border-width: 0;
}

.bg-white { background: var(--white); }
.bg-light { background: var(--light); }
.bg-navy  { background: var(--navy); }
.bg-subtle { background: var(--bg-subtle); }

.border-rule { border: 1px solid var(--rule); }
.rounded { border-radius: var(--radius-md); }

.shadow-sm { box-shadow: var(--shadow-sm); }
.shadow-md { box-shadow: var(--shadow-md); }


/* ═══ 16. RESPONSIVE ═════════════════════════════════════════════════════ */

/* Tablet: 768px and below */
@media (max-width: 768px) {
  .grid--3 { grid-template-columns: repeat(2, 1fr); }
  .grid--4 { grid-template-columns: repeat(2, 1fr); }

  .footer-links { grid-template-columns: repeat(2, 1fr); gap: var(--sp-6); }

  .hero { padding: var(--sp-10) var(--sp-4); }
  .hero-inner {
    flex-direction: column;
    text-align: center;
    gap: var(--sp-5);
  }
  .hero-inner h1,
  .hero-inner p {
    text-align: center;
  }
  .hero-logo {
    width: 104px;
    height: 104px;
    margin: 0 auto;
  }
  .hero-price {
    align-self: center;
  }

  .info-section { padding: var(--sp-5) var(--sp-5); }
}

/* Mobile: 640px and below */
@media (max-width: 640px) {
  :root {
    --sp-6: 1.25rem;
    --sp-8: 1.5rem;
  }

  .grid--2 { grid-template-columns: 1fr; }
  .grid--3 { grid-template-columns: 1fr; }
  .grid--4 { grid-template-columns: 1fr; }

  .field-grid { grid-template-columns: 1fr; }

  .footer-links { grid-template-columns: 1fr; gap: var(--sp-6); }

  /* Mobile nav */
  .nav-toggle {
    display: flex;
  }

  .main-nav {
    position: fixed;
    top: 63px; /* header height + teal rule */
    left: 0;
    right: 0;
    bottom: 0;
    background: var(--navy-90);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    flex-direction: column;
    align-items: stretch;
    justify-content: flex-start;
    padding: var(--sp-6);
    gap: var(--sp-2);
    transform: translateX(100%);
    transition: transform var(--ease-base);
    z-index: 99;
  }
  .main-nav.is-open {
    transform: translateX(0);
  }

  .nav-links {
    flex-direction: column;
    align-items: stretch;
    gap: 0;
  }
  .nav-links a {
    padding: var(--sp-3) var(--sp-4);
    font-size: 1rem;
    border-bottom: 1px solid rgba(139, 168, 200, 0.1);
  }

  .btn-nav-cta {
    text-align: center !important;
    margin-top: var(--sp-2) !important;
    padding: 12px 18px !important;
    font-size: 0.9rem !important;
    border-radius: var(--radius-md) !important;
  }

  .nav-state-selector {
    padding-top: var(--sp-4);
    border-top: 1px solid rgba(139, 168, 200, 0.15);
  }
  .state-selector-btn {
    width: 100%;
    justify-content: space-between;
    padding: var(--sp-3) var(--sp-4);
    font-size: 0.9rem;
  }
  .state-selector-dropdown {
    position: static;
    box-shadow: none;
    border: none;
    background: transparent;
    padding: 0;
  }
  .state-selector-dropdown.is-open {
    display: flex;
    flex-direction: column;
  }
  .state-selector-dropdown a {
    color: var(--slate);
    padding: var(--sp-2) var(--sp-6);
    font-size: 0.9rem;
  }
  .state-selector-dropdown a:hover {
    background: transparent;
    color: var(--teal);
  }

  /* Form adjustments */
  .form-header { padding: var(--sp-5) var(--sp-5); }
  .form-body { padding: var(--sp-4) var(--sp-5); }
  .consent-row { padding: var(--sp-4) var(--sp-5); }
  .submit-area { padding: var(--sp-4) var(--sp-5); }
}

/* Small mobile: 380px and below */
@media (max-width: 380px) {
  h1 { font-size: 1.6rem; }
  .hero-price .hp-amount { font-size: 1.75rem; }
  .btn--lg { padding: 12px 24px; font-size: 0.85rem; }
}


/* ═══ 17. COMING SOON BANNER ════════════════════════════════════════════ */

.coming-soon-banner {
  background: linear-gradient(135deg, var(--navy) 0%, var(--navy-light) 100%);
  border: 1px solid rgba(14, 155, 138, 0.25);
  border-radius: var(--radius-lg);
  padding: var(--sp-10) var(--sp-8);
  text-align: center;
  position: relative;
  overflow: hidden;
}
.coming-soon-banner::before {
  content: '';
  position: absolute;
  inset: 0;
  background: radial-gradient(circle at 50% 50%, rgba(14, 155, 138, 0.08) 0%, transparent 60%);
  pointer-events: none;
}
.coming-soon-banner > * {
  position: relative;
}
.coming-soon-icon {
  font-size: 3rem;
  margin-bottom: var(--sp-4);
  display: block;
}
.coming-soon-banner h2 {
  color: var(--white);
  font-size: 1.5rem;
  margin-bottom: var(--sp-3);
}
.coming-soon-banner p {
  color: var(--slate);
  font-size: 0.95rem;
  max-width: 480px;
  margin: 0 auto;
  line-height: 1.7;
}
.coming-soon-banner .btn {
  margin-top: var(--sp-6);
}


/* ═══ 18. PRINT ══════════════════════════════════════════════════════════ */

@media print {
  .site-header,
  .teal-rule,
  .site-footer,
  .nav-toggle,
  .btn,
  .submit-area,
  .consent-row {
    display: none !important;
  }

  body {
    background: white;
    color: black;
    font-size: 12pt;
  }

  .hero {
    background: none !important;
    color: black;
    padding: 20px 0;
  }
  .hero h1 { color: black; }
  .hero p { color: #333; }

  .card, .form-card {
    box-shadow: none;
    border: 1px solid #ccc;
  }

  a { color: black; text-decoration: underline; }
  a::after { content: " (" attr(href) ")"; font-size: 0.8em; }
}
