:root {
  --navy-950: #050b14;
  --navy-900: #071526;
  --navy-850: #0b1a2e;
  --navy-800: #0d213d;
  --navy-700: #132849;
  --slate-900: #111827;
  --slate-700: #334155;
  --slate-600: #475569;
  --slate-200: #e2e8f0;
  --slate-100: #f1f5f9;
  --paper: #f8fafc;
  --white: #ffffff;
  --gold-500: #d4a84e;
  --gold-400: #f2cf77;
  --gold-700: #9b7225;
  --shadow: 0 24px 80px rgba(2, 8, 23, 0.22);
  --shadow-soft: 0 16px 42px rgba(2, 8, 23, 0.11);
  --radius-lg: 30px;
  --radius-md: 20px;
  --radius-sm: 12px;
  --max: 1180px;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  color: var(--slate-900);
  background: var(--paper);
  line-height: 1.6;
}

body.nav-open {
  overflow: hidden;
}

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

a {
  color: inherit;
  text-decoration: none;
}

button,
input,
select,
textarea {
  font: inherit;
}

.container {
  width: min(calc(100% - 40px), var(--max));
  margin: 0 auto;
}

.skip-link {
  position: fixed;
  left: 16px;
  top: -80px;
  z-index: 999;
  background: var(--white);
  color: var(--navy-900);
  padding: 10px 14px;
  border-radius: 999px;
  box-shadow: var(--shadow-soft);
  transition: top 0.2s ease;
}

.skip-link:focus {
  top: 16px;
}

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

.site-header {
  position: sticky;
  top: 0;
  z-index: 100;
  background: rgba(248, 250, 252, 0.92);
  backdrop-filter: blur(18px);
  border-bottom: 1px solid rgba(15, 23, 42, 0.08);
}

.nav-wrap {
  display: flex;
  align-items: center;
  justify-content: space-between;
  min-height: 82px;
  gap: 24px;
}

.brand,
.footer-brand {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  min-width: 0;
}

.brand-mark {
  width: 48px;
  height: 48px;
  flex: 0 0 auto;
}

.brand-text {
  display: grid;
  line-height: 1.1;
}

.brand-text strong {
  font-size: 1.02rem;
  letter-spacing: 0.03em;
  color: var(--navy-900);
}

.brand-text span {
  color: var(--slate-600);
  font-size: 0.84rem;
}

.site-nav {
  display: flex;
  align-items: center;
  gap: 4px;
}

.site-nav a {
  padding: 10px 14px;
  border-radius: 999px;
  color: var(--slate-700);
  font-weight: 650;
  font-size: 0.94rem;
}

.site-nav a:hover,
.site-nav a:focus-visible {
  background: rgba(19, 40, 73, 0.08);
  color: var(--navy-900);
  outline: none;
}

.site-nav .nav-cta {
  background: var(--navy-900);
  color: var(--white);
  margin-left: 6px;
  box-shadow: 0 10px 24px rgba(7, 21, 38, 0.18);
}

.site-nav .nav-cta:hover,
.site-nav .nav-cta:focus-visible {
  background: var(--navy-700);
  color: var(--white);
}

.nav-toggle {
  display: none;
  width: 44px;
  height: 44px;
  border: 0;
  background: var(--white);
  border-radius: 999px;
  box-shadow: var(--shadow-soft);
  padding: 12px;
}

.nav-toggle span:not(.sr-only) {
  display: block;
  height: 2px;
  background: var(--navy-900);
  margin: 5px 0;
  border-radius: 999px;
}

.hero {
  position: relative;
  overflow: hidden;
  background: radial-gradient(circle at 20% 15%, rgba(212, 168, 78, 0.20), transparent 32%), linear-gradient(135deg, var(--navy-950), var(--navy-900) 52%, #0a274a);
  color: var(--white);
}

.hero-bg {
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(rgba(255, 255, 255, 0.035) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255, 255, 255, 0.035) 1px, transparent 1px);
  background-size: 64px 64px;
  mask-image: radial-gradient(circle at 50% 20%, black, transparent 72%);
}

.hero::after {
  content: "";
  position: absolute;
  right: -18vw;
  top: 12%;
  width: 48vw;
  height: 48vw;
  border-radius: 50%;
  border: 1px solid rgba(212, 168, 78, 0.24);
  box-shadow: inset 0 0 0 60px rgba(212, 168, 78, 0.035);
}

.hero-grid {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: 1.06fr 0.94fr;
  gap: 56px;
  align-items: center;
  min-height: 720px;
  padding: 82px 0;
}

.eyebrow,
.section-kicker {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  margin: 0 0 16px;
  font-size: 0.78rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  font-weight: 800;
  color: var(--gold-500);
}

.eyebrow::before,
.section-kicker::before {
  content: "";
  width: 34px;
  height: 2px;
  background: currentColor;
  border-radius: 999px;
}

.gold {
  color: var(--gold-400);
}

h1,
h2,
h3,
p {
  margin-top: 0;
}

h1 {
  font-size: clamp(3rem, 7vw, 5.95rem);
  line-height: 0.92;
  letter-spacing: -0.07em;
  margin-bottom: 24px;
  max-width: 950px;
}

.hero-lead {
  font-size: clamp(1.06rem, 2vw, 1.24rem);
  color: rgba(255, 255, 255, 0.78);
  max-width: 720px;
  margin-bottom: 34px;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
  margin-bottom: 34px;
}

.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  min-height: 52px;
  padding: 0 22px;
  border-radius: 999px;
  border: 1px solid transparent;
  font-weight: 800;
  cursor: pointer;
  transition: transform 0.16s ease, box-shadow 0.16s ease, background 0.16s ease, border-color 0.16s ease;
}

.button:hover,
.button:focus-visible {
  transform: translateY(-1px);
  outline: none;
}

.button-primary {
  color: var(--navy-950);
  background: linear-gradient(135deg, var(--gold-400), var(--gold-500));
  box-shadow: 0 18px 38px rgba(212, 168, 78, 0.24);
}

.button-secondary {
  color: var(--white);
  background: rgba(255, 255, 255, 0.10);
  border-color: rgba(255, 255, 255, 0.22);
}

.trust-row {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}

.trust-row span {
  display: inline-flex;
  align-items: center;
  border: 1px solid rgba(255, 255, 255, 0.16);
  background: rgba(255, 255, 255, 0.07);
  color: rgba(255, 255, 255, 0.78);
  padding: 8px 12px;
  border-radius: 999px;
  font-size: 0.9rem;
}

.hero-card {
  position: relative;
  display: grid;
  place-items: center;
  padding: 42px;
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: var(--radius-lg);
  background: linear-gradient(180deg, rgba(255,255,255,0.10), rgba(255,255,255,0.04));
  box-shadow: 0 30px 90px rgba(0, 0, 0, 0.28);
  backdrop-filter: blur(14px);
  min-height: 520px;
}

.hero-card img {
  width: min(360px, 100%);
  filter: drop-shadow(0 32px 40px rgba(0, 0, 0, 0.32));
}

.status-card {
  position: absolute;
  left: 22px;
  right: 22px;
  bottom: 22px;
  display: flex;
  gap: 14px;
  align-items: flex-start;
  background: rgba(5, 11, 20, 0.72);
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: 20px;
  padding: 18px;
  backdrop-filter: blur(16px);
}

.status-dot {
  width: 12px;
  height: 12px;
  margin-top: 7px;
  border-radius: 50%;
  background: var(--gold-400);
  box-shadow: 0 0 0 6px rgba(242, 207, 119, 0.12);
  flex: 0 0 auto;
}

.status-card strong {
  display: block;
  margin-bottom: 4px;
}

.status-card p {
  margin: 0;
  color: rgba(255, 255, 255, 0.72);
  font-size: 0.95rem;
}

.section {
  padding: 96px 0;
}

.intro-strip {
  background: var(--white);
  border-bottom: 1px solid rgba(15, 23, 42, 0.08);
}

.strip-grid {
  display: grid;
  grid-template-columns: 0.9fr 1.1fr;
  gap: 54px;
  align-items: center;
}

h2 {
  font-size: clamp(2rem, 4vw, 3.5rem);
  line-height: 1.02;
  letter-spacing: -0.045em;
  color: var(--navy-900);
  margin-bottom: 18px;
}

.section-dark h2,
.section-dark h3 {
  color: var(--white);
}

.section-dark p {
  color: rgba(255, 255, 255, 0.72);
}

.strip-grid p,
.section-heading p,
.standard-card p,
.contact-copy p,
.disclaimer-box p {
  color: var(--slate-600);
  font-size: 1.05rem;
}

.section-heading {
  max-width: 780px;
  text-align: center;
  margin: 0 auto 48px;
}

.align-left {
  text-align: left;
  margin: 0;
}

.cards {
  display: grid;
  gap: 22px;
}

.cards.three {
  grid-template-columns: repeat(3, 1fr);
}

.card,
.standard-card,
.standard,
.contact-form,
.disclaimer-box,
.proof-item {
  background: var(--white);
  border: 1px solid rgba(15, 23, 42, 0.08);
  box-shadow: var(--shadow-soft);
}

.card {
  padding: 28px;
  border-radius: var(--radius-md);
  min-height: 270px;
}

.card-icon {
  width: 52px;
  height: 52px;
  display: grid;
  place-items: center;
  border-radius: 16px;
  background: linear-gradient(135deg, var(--navy-900), var(--navy-700));
  color: var(--gold-400);
  font-weight: 900;
  margin-bottom: 24px;
}

.card h3,
.standard h3,
.timeline-item h3 {
  font-size: 1.23rem;
  line-height: 1.2;
  color: var(--navy-900);
  margin-bottom: 10px;
}

.card p,
.standard p,
.proof-item span {
  color: var(--slate-600);
  margin-bottom: 0;
}

.timeline-item p {
  color: rgba(255, 255, 255, 0.86);
  margin-bottom: 0;
}

.section-dark {
  background: radial-gradient(circle at 75% 10%, rgba(212, 168, 78, 0.16), transparent 34%), linear-gradient(135deg, var(--navy-950), var(--navy-800));
  color: var(--white);
  overflow: hidden;
}

.process-grid {
  display: grid;
  grid-template-columns: 0.86fr 1.14fr;
  gap: 64px;
  align-items: start;
}

.timeline {
  display: grid;
  gap: 18px;
}

.timeline-item {
  display: grid;
  grid-template-columns: 56px 1fr;
  gap: 18px;
  padding: 24px;
  border-radius: var(--radius-md);
  border: 1px solid rgba(255, 255, 255, 0.14);
  background: rgba(255, 255, 255, 0.10);
  box-shadow: 0 18px 38px rgba(0, 0, 0, 0.16);
}

.timeline-item span {
  width: 48px;
  height: 48px;
  display: grid;
  place-items: center;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--gold-400), var(--gold-500));
  color: var(--navy-950);
  font-weight: 900;
}

.standards-grid {
  display: grid;
  grid-template-columns: 0.88fr 1.12fr;
  gap: 32px;
  align-items: start;
}

.standard-card {
  padding: 38px;
  border-radius: var(--radius-lg);
  position: sticky;
  top: 110px;
}

.standards-list {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 18px;
}

.standard {
  border-radius: var(--radius-md);
  padding: 26px;
}

.proof-section {
  padding: 28px 0 96px;
}

.proof-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 18px;
}

.proof-item {
  border-radius: 20px;
  padding: 24px;
}

.proof-item strong {
  display: block;
  color: var(--navy-900);
  font-size: 1.2rem;
  margin-bottom: 4px;
}

.contact-section {
  background: linear-gradient(180deg, #f8fafc, #eef3f8);
}

.contact-grid {
  display: grid;
  grid-template-columns: 0.95fr 1.05fr;
  gap: 42px;
  align-items: start;
}

.contact-methods {
  display: grid;
  gap: 12px;
  margin-top: 28px;
}

.contact-methods a {
  display: grid;
  gap: 2px;
  padding: 18px;
  border-radius: 18px;
  background: var(--white);
  border: 1px solid rgba(15, 23, 42, 0.08);
  box-shadow: var(--shadow-soft);
}

.contact-methods a span {
  color: var(--slate-600);
  font-size: 0.88rem;
}

.contact-methods a strong {
  color: var(--navy-900);
  overflow-wrap: anywhere;
}

.contact-form {
  border-radius: var(--radius-lg);
  padding: 32px;
}

.contact-form label {
  display: grid;
  gap: 8px;
  color: var(--navy-900);
  font-weight: 750;
  margin-bottom: 18px;
}

.contact-form input,
.contact-form select,
.contact-form textarea {
  width: 100%;
  border: 1px solid rgba(15, 23, 42, 0.16);
  border-radius: 14px;
  padding: 13px 14px;
  background: #fbfdff;
  color: var(--slate-900);
  outline: none;
}

.contact-form input:focus,
.contact-form select:focus,
.contact-form textarea:focus {
  border-color: var(--gold-500);
  box-shadow: 0 0 0 4px rgba(212, 168, 78, 0.16);
}

.form-note {
  margin: 16px 0 0;
  color: var(--slate-600);
  font-size: 0.9rem;
}

.disclaimer-section {
  padding-top: 76px;
}

.disclaimer-box {
  border-radius: var(--radius-lg);
  padding: 34px;
  border-left: 5px solid var(--gold-500);
}

.disclaimer-box h2 {
  font-size: clamp(1.5rem, 3vw, 2.2rem);
  margin-bottom: 10px;
}

.site-footer {
  background: var(--navy-950);
  color: var(--white);
  padding: 62px 0 28px;
}

.footer-grid {
  display: grid;
  grid-template-columns: 1.4fr 0.8fr 0.7fr;
  grid-template-columns: 1.2fr 0.9fr 1fr 0.7fr;
  gap: 22px;
  padding-bottom: 42px;
}

.footer-brand img {
  width: 46px;
  height: 46px;
}

.footer-brand span {
  font-weight: 850;
}

.footer-address {
  margin: 14px 0 0;
  color: rgba(226, 232, 240, 0.72);
  font-style: normal;
  line-height: 1.7;
  font-size: 0.92rem;
}

.site-footer p,
.site-footer a {
  color: rgba(255, 255, 255, 0.68);
}

.site-footer a:hover,
.site-footer a:focus-visible {
  color: var(--gold-400);
  outline: none;
}

.site-footer h2 {
  color: var(--white);
  font-size: 1rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  margin-bottom: 14px;
}

.site-footer div:nth-child(2),
.site-footer div:nth-child(3) {
  display: grid;
  align-content: start;
  gap: 8px;
}

.footer-bottom {
  border-top: 1px solid rgba(255, 255, 255, 0.10);
  padding-top: 24px;
  display: flex;
  justify-content: space-between;
  gap: 18px;
  flex-wrap: wrap;
}

.footer-bottom p {
  margin: 0;
  font-size: 0.92rem;
}

.reveal {
  opacity: 0;
  transform: translateY(18px);
  transition: opacity 0.7s ease, transform 0.7s ease;
}

.reveal.visible {
  opacity: 1;
  transform: translateY(0);
}


/* Veteran-owned founder section. */
.founder-section {
  background:
    radial-gradient(circle at 88% 12%, rgba(212, 168, 78, 0.12), transparent 28%),
    linear-gradient(180deg, #f8fafc 0%, #ffffff 100%);
  border-top: 1px solid rgba(15, 23, 42, 0.06);
  border-bottom: 1px solid rgba(15, 23, 42, 0.06);
}

.founder-grid {
  display: grid;
  grid-template-columns: 1.06fr 0.94fr;
  gap: 34px;
  align-items: center;
}

.founder-copy p {
  color: var(--slate-600);
  font-size: 1.06rem;
  max-width: 740px;
}

.founder-panel {
  border-radius: var(--radius-lg);
  padding: 30px;
  background: linear-gradient(135deg, var(--navy-950), var(--navy-800));
  color: var(--white);
  box-shadow: var(--shadow);
  border: 1px solid rgba(242, 207, 119, 0.18);
}

.founder-badge {
  display: inline-flex;
  align-items: center;
  margin-bottom: 18px;
  padding: 8px 12px;
  border-radius: 999px;
  background: linear-gradient(135deg, var(--gold-400), var(--gold-500));
  color: var(--navy-950);
  font-weight: 900;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  font-size: 0.78rem;
}

.founder-stat {
  padding: 18px 0;
  border-top: 1px solid rgba(255, 255, 255, 0.12);
}

.founder-stat strong {
  display: block;
  color: #ffffff;
  font-size: 1.25rem;
  line-height: 1.2;
  margin-bottom: 4px;
}

.founder-stat span,
.founder-note {
  color: rgba(248, 250, 252, 0.82);
}

.founder-note {
  margin: 18px 0 0;
  padding: 14px;
  border-radius: 16px;
  background: rgba(255, 255, 255, 0.075);
  border: 1px solid rgba(255, 255, 255, 0.10);
  font-size: 0.9rem;
}

@media (prefers-reduced-motion: reduce) {
  *,
  *::before,
  *::after {
    animation-duration: 0.001ms !important;
    animation-iteration-count: 1 !important;
    scroll-behavior: auto !important;
    transition-duration: 0.001ms !important;
  }

  .reveal {
    opacity: 1;
    transform: none;
  }
}

@media (max-width: 980px) {
  .hero-grid,
  .strip-grid,
  .founder-grid,
  .process-grid,
  .standards-grid,
  .contact-grid,
  .footer-grid {
    grid-template-columns: 1fr;
  }

  .hero-grid {
    min-height: auto;
    padding: 72px 0;
  }

  .hero-card {
    min-height: 420px;
  }

  .cards.three {
    grid-template-columns: repeat(2, 1fr);
  }

  .standard-card {
    position: static;
  }

  .proof-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 780px) {
  .nav-toggle {
    display: block;
  }

  .site-nav {
    position: fixed;
    inset: 82px 16px auto 16px;
    display: none;
    flex-direction: column;
    align-items: stretch;
    background: var(--white);
    border: 1px solid rgba(15, 23, 42, 0.08);
    border-radius: 24px;
    padding: 12px;
    box-shadow: var(--shadow);
  }

  .site-nav.open {
    display: flex;
  }

  .site-nav a {
    padding: 14px 16px;
  }

  .site-nav .nav-cta {
    margin-left: 0;
    text-align: center;
  }

  .brand-text strong {
    font-size: 0.94rem;
  }

  .brand-text span {
    font-size: 0.75rem;
  }

  .section {
    padding: 72px 0;
  }

  .hero-card {
    padding: 24px;
  }

  .status-card {
    position: static;
    margin-top: 22px;
  }

  .cards.three,
  .standards-list,
  .proof-grid {
    grid-template-columns: 1fr;
  }

  .footer-bottom {
    display: grid;
  }
}

@media (max-width: 520px) {
  .container {
    width: min(calc(100% - 28px), var(--max));
  }

  .nav-wrap {
    min-height: 74px;
  }

  .site-nav {
    inset-top: 74px;
  }

  .brand-mark {
    width: 42px;
    height: 42px;
  }

  h1 {
    font-size: clamp(2.62rem, 16vw, 4rem);
  }

  .button {
    width: 100%;
  }

  .card,
  .standard,
  .contact-form,
  .disclaimer-box,
  .standard-card {
    padding: 24px;
  }

  .timeline-item {
    grid-template-columns: 1fr;
  }
}

.section-dark .section-heading p {
  color: rgba(255, 255, 255, 0.82);
}

.section-dark .timeline-item h3 {
  color: var(--white);
}


/* Second polish pass: stronger contrast, refined cards, and clearer footer. */
.site-header {
  box-shadow: 0 10px 28px rgba(2, 8, 23, 0.06);
}

.hero {
  border-bottom: 1px solid rgba(242, 207, 119, 0.12);
}

.card,
.standard,
.proof-item,
.contact-methods a,
.contact-form,
.disclaimer-box {
  transition: transform 0.18s ease, box-shadow 0.18s ease, border-color 0.18s ease;
}

.card:hover,
.standard:hover,
.proof-item:hover,
.contact-methods a:hover {
  transform: translateY(-2px);
  box-shadow: var(--shadow);
  border-color: rgba(212, 168, 78, 0.24);
}

.section-dark .timeline-item {
  border-color: rgba(242, 207, 119, 0.18);
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.125), rgba(255, 255, 255, 0.075));
}

.section-dark .timeline-item h3 {
  color: #ffffff;
  text-shadow: 0 1px 0 rgba(0, 0, 0, 0.14);
}

.section-dark .timeline-item p {
  color: rgba(248, 250, 252, 0.88);
}

.contact-section {
  background:
    radial-gradient(circle at 15% 10%, rgba(212, 168, 78, 0.11), transparent 28%),
    linear-gradient(180deg, #f8fafc 0%, #eef3f8 100%);
  border-top: 1px solid rgba(15, 23, 42, 0.06);
}

.contact-methods a {
  position: relative;
  overflow: hidden;
}

.contact-methods a::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0;
  bottom: 0;
  width: 4px;
  background: linear-gradient(180deg, var(--gold-400), var(--gold-500));
}

.contact-form {
  border-top: 5px solid var(--gold-500);
}

.form-note {
  padding: 13px 14px;
  border-radius: 14px;
  background: rgba(7, 21, 38, 0.055);
  border: 1px solid rgba(15, 23, 42, 0.08);
}

.disclaimer-section {
  background: linear-gradient(180deg, #eef3f8 0%, #f8fafc 100%);
}

.disclaimer-box {
  background: #ffffff;
  box-shadow: var(--shadow-soft);
}

.site-footer {
  background:
    radial-gradient(circle at 80% 0%, rgba(212, 168, 78, 0.14), transparent 34%),
    linear-gradient(135deg, #050b14 0%, #071526 58%, #0b1a2e 100%);
  border-top: 1px solid rgba(242, 207, 119, 0.16);
}

.site-footer p,
.site-footer a {
  color: rgba(248, 250, 252, 0.82);
}

.site-footer a {
  overflow-wrap: anywhere;
}

.footer-panel {
  padding: 20px;
  border: 1px solid rgba(255, 255, 255, 0.10);
  border-radius: 20px;
  background: rgba(255, 255, 255, 0.045);
}

.footer-address {
  color: rgba(248, 250, 252, 0.86);
}

.footer-note,
.footer-address-note {
  color: rgba(226, 232, 240, 0.78) !important;
  font-size: 0.92rem;
}

.footer-address-note {
  margin: 12px 0 0;
}

.footer-bottom {
  color: rgba(248, 250, 252, 0.78);
}

.footer-bottom p {
  color: rgba(248, 250, 252, 0.78);
}

@media (max-width: 980px) {
  .footer-grid {
    grid-template-columns: 1fr 1fr;
  }
}

@media (max-width: 780px) {
  .footer-grid {
    grid-template-columns: 1fr;
  }
}


/* Footer layout fix: wider contact panel, clean link stacking, and better readability. */
.footer-grid {
  grid-template-columns: minmax(260px, 1.05fr) minmax(350px, 1fr) minmax(260px, 0.9fr) minmax(170px, 0.6fr);
  gap: 20px;
  align-items: stretch;
}

.footer-grid > div:first-child,
.footer-panel {
  min-width: 0;
}

.footer-panel {
  display: grid;
  align-content: start;
  gap: 10px;
}

.footer-panel h2 {
  margin-bottom: 4px;
}

.site-footer a {
  display: block;
  line-height: 1.55;
  overflow-wrap: normal;
  word-break: normal;
}

.footer-panel:nth-child(2) a {
  font-size: 0.94rem;
  letter-spacing: -0.01em;
}

.footer-panel:nth-child(4) a {
  width: max-content;
  max-width: 100%;
}

@media (max-width: 1120px) {
  .footer-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .footer-panel:nth-child(2) a {
    overflow-wrap: anywhere;
  }
}

@media (max-width: 780px) {
  .footer-grid {
    grid-template-columns: 1fr;
  }

  .site-footer a {
    overflow-wrap: anywhere;
  }
}

/* Guided preliminary inquiry assistant. */
.assistant-card {
  background: var(--white);
  border: 1px solid rgba(15, 23, 42, 0.08);
  border-top: 5px solid var(--gold-500);
  box-shadow: var(--shadow-soft);
  border-radius: var(--radius-lg);
  padding: 32px;
}

.assistant-card-head {
  display: flex;
  gap: 16px;
  align-items: flex-start;
  margin-bottom: 16px;
}

.assistant-card-head .section-kicker {
  margin-bottom: 8px;
}

.assistant-card h3 {
  margin: 0;
  color: var(--navy-900);
  font-size: clamp(1.45rem, 2vw, 2rem);
  line-height: 1.08;
  letter-spacing: -0.03em;
}

.assistant-card p {
  color: var(--slate-600);
  font-size: 1.02rem;
}

.assistant-orb {
  width: 54px;
  height: 54px;
  flex: 0 0 auto;
  border-radius: 18px;
  background:
    radial-gradient(circle at 30% 26%, rgba(255, 255, 255, 0.72), transparent 22%),
    linear-gradient(135deg, var(--gold-400), var(--gold-500));
  box-shadow: 0 18px 30px rgba(212, 168, 78, 0.24);
}

.assistant-points {
  display: grid;
  gap: 10px;
  margin: 22px 0 24px;
  padding: 0;
  list-style: none;
}

.assistant-points li {
  position: relative;
  padding-left: 28px;
  color: var(--slate-700);
}

.assistant-points li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0.55em;
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background: var(--gold-500);
  box-shadow: 0 0 0 5px rgba(212, 168, 78, 0.14);
}

.assistant-launcher {
  position: fixed;
  right: 22px;
  bottom: 22px;
  z-index: 130;
  border: 1px solid rgba(242, 207, 119, 0.40);
  color: var(--navy-950);
  background: linear-gradient(135deg, var(--gold-400), var(--gold-500));
  border-radius: 999px;
  min-height: 52px;
  padding: 0 20px;
  font-weight: 900;
  box-shadow: 0 18px 42px rgba(2, 8, 23, 0.26);
  cursor: pointer;
}

.assistant-launcher:hover,
.assistant-launcher:focus-visible {
  transform: translateY(-1px);
  outline: none;
}

body.assistant-open {
  overflow: hidden;
}

.assistant-modal[hidden] {
  display: none;
}

.assistant-modal {
  position: fixed;
  inset: 0;
  z-index: 1000;
  display: grid;
  place-items: center;
  padding: 20px;
}

.assistant-backdrop {
  position: absolute;
  inset: 0;
  background: rgba(2, 8, 23, 0.72);
  backdrop-filter: blur(8px);
}

.assistant-window {
  position: relative;
  z-index: 1;
  width: min(720px, 100%);
  max-height: min(760px, calc(100vh - 40px));
  overflow: auto;
  background: #f8fafc;
  border: 1px solid rgba(242, 207, 119, 0.22);
  border-radius: 28px;
  box-shadow: 0 30px 100px rgba(0, 0, 0, 0.38);
}

.assistant-header {
  display: flex;
  justify-content: space-between;
  gap: 18px;
  padding: 24px 26px 18px;
  color: var(--white);
  background:
    radial-gradient(circle at 85% 0%, rgba(212, 168, 78, 0.22), transparent 36%),
    linear-gradient(135deg, var(--navy-950), var(--navy-800));
  border-radius: 28px 28px 0 0;
}

.assistant-mini {
  margin: 0 0 4px;
  color: var(--gold-400);
  letter-spacing: 0.14em;
  text-transform: uppercase;
  font-weight: 850;
  font-size: 0.74rem;
}

.assistant-header h2 {
  margin: 0;
  color: var(--white);
  font-size: clamp(1.5rem, 4vw, 2.2rem);
  letter-spacing: -0.04em;
}

.assistant-close {
  width: 42px;
  height: 42px;
  border: 1px solid rgba(255, 255, 255, 0.20);
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.10);
  color: var(--white);
  font-size: 1.7rem;
  line-height: 1;
  cursor: pointer;
}

.assistant-progress {
  height: 6px;
  background: rgba(15, 23, 42, 0.10);
}

.assistant-progress span {
  display: block;
  height: 100%;
  width: 0%;
  background: linear-gradient(90deg, var(--gold-400), var(--gold-500));
  transition: width 0.22s ease;
}

.assistant-body {
  padding: 28px 26px 12px;
}

.assistant-body h3 {
  margin: 0 0 8px;
  color: var(--navy-900);
  font-size: clamp(1.45rem, 3vw, 2.2rem);
  line-height: 1.08;
  letter-spacing: -0.04em;
}

.assistant-helper {
  margin-bottom: 22px;
  color: var(--slate-600);
}

.assistant-choices {
  display: grid;
  gap: 10px;
}

.assistant-choice {
  display: flex;
  align-items: center;
  width: 100%;
  min-height: 52px;
  padding: 13px 15px;
  border: 1px solid rgba(15, 23, 42, 0.12);
  border-radius: 16px;
  background: var(--white);
  color: var(--navy-900);
  font-weight: 750;
  text-align: left;
  cursor: pointer;
  transition: transform 0.15s ease, border-color 0.15s ease, box-shadow 0.15s ease, background 0.15s ease;
}

.assistant-choice:hover,
.assistant-choice:focus-visible,
.assistant-choice.selected {
  outline: none;
  transform: translateY(-1px);
  border-color: rgba(212, 168, 78, 0.58);
  box-shadow: 0 12px 28px rgba(2, 8, 23, 0.10);
  background: #fffaf0;
}

.assistant-input {
  width: 100%;
  border: 1px solid rgba(15, 23, 42, 0.14);
  border-radius: 16px;
  padding: 14px 15px;
  background: var(--white);
  color: var(--slate-900);
  outline: none;
}

.assistant-input:focus {
  border-color: var(--gold-500);
  box-shadow: 0 0 0 4px rgba(212, 168, 78, 0.16);
}

.assistant-textarea {
  resize: vertical;
}

.assistant-error {
  margin: -8px 0 16px;
  padding: 11px 12px;
  border-radius: 14px;
  color: #7f1d1d;
  background: #fef2f2;
  border: 1px solid #fecaca;
  font-weight: 700;
}

.assistant-review {
  display: grid;
  gap: 10px;
}

.assistant-review-row {
  display: grid;
  gap: 4px;
  padding: 13px 14px;
  border: 1px solid rgba(15, 23, 42, 0.09);
  border-radius: 16px;
  background: var(--white);
}

.assistant-review-row strong {
  color: var(--navy-900);
}

.assistant-review-row span {
  color: var(--slate-600);
  white-space: pre-wrap;
  overflow-wrap: anywhere;
}

.assistant-controls {
  display: flex;
  justify-content: space-between;
  gap: 12px;
  padding: 16px 26px 12px;
}

.assistant-controls .button {
  min-width: 120px;
}

.assistant-controls .button:disabled {
  opacity: 0.45;
  cursor: not-allowed;
  transform: none;
}

.assistant-disclaimer {
  margin: 0 26px 26px;
  padding: 14px;
  border-radius: 16px;
  color: var(--slate-700);
  background: rgba(7, 21, 38, 0.055);
  border: 1px solid rgba(15, 23, 42, 0.08);
  font-size: 0.9rem;
}

.assistant-success {
  text-align: center;
  padding: 12px 0 6px;
}

.assistant-success-icon {
  display: inline-grid;
  place-items: center;
  width: 56px;
  height: 56px;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--gold-400), var(--gold-500));
  color: var(--navy-950);
  font-weight: 950;
  font-size: 1.5rem;
  margin-bottom: 14px;
}

.netlify-hidden-form {
  display: none !important;
}

@media (max-width: 780px) {
  .assistant-launcher {
    right: 14px;
    bottom: 14px;
    min-height: 48px;
    padding: 0 16px;
  }

  .assistant-modal {
    padding: 10px;
    align-items: end;
  }

  .assistant-window {
    max-height: calc(100vh - 20px);
    border-radius: 22px;
  }

  .assistant-header {
    border-radius: 22px 22px 0 0;
    padding: 20px 18px 16px;
  }

  .assistant-body,
  .assistant-controls {
    padding-left: 18px;
    padding-right: 18px;
  }

  .assistant-disclaimer {
    margin-left: 18px;
    margin-right: 18px;
  }
}
