/* ============================================================
   VA Claim Net — public landing site (static, no build step)
   Palette: deep navy + brass gold on warm off-white.
   ============================================================ */

:root {
  --navy: #0b1f3a;
  --navy-deep: #071527;
  --navy-soft: #16304f;
  --ink: #1c2b3a;
  --muted: #5b6b7d;
  --gold: #c9a227;
  --gold-soft: #e3c766;
  --paper: #f7f5f0;
  --card: #ffffff;
  --line: #e4dfd4;
  --radius: 14px;
  --shadow: 0 1px 2px rgba(11, 31, 58, 0.06), 0 8px 24px rgba(11, 31, 58, 0.08);
  --font: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica,
    Arial, sans-serif;
}

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

html {
  scroll-behavior: smooth;
}

body {
  font-family: var(--font);
  background: var(--paper);
  color: var(--ink);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}

a {
  color: inherit;
}

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

.container {
  width: min(1080px, 92%);
  margin: 0 auto;
}

/* ---------- Header ---------- */

.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  background: rgba(247, 245, 240, 0.92);
  backdrop-filter: blur(10px);
  border-bottom: 1px solid var(--line);
}

.site-header .container {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  padding: 0.85rem 0;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 0.6rem;
  text-decoration: none;
  font-weight: 700;
  font-size: 1.05rem;
  letter-spacing: 0.01em;
  color: var(--navy);
  white-space: nowrap;
}

.brand .mark {
  flex: none;
}

.header-nav {
  display: flex;
  align-items: center;
  gap: 0.6rem;
}

/* ---------- Buttons ---------- */

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.45rem;
  padding: 0.6rem 1.15rem;
  border-radius: 999px;
  font-weight: 600;
  font-size: 0.95rem;
  text-decoration: none;
  border: 1.5px solid transparent;
  cursor: pointer;
  transition: transform 0.12s ease, box-shadow 0.12s ease,
    background-color 0.12s ease;
}

.btn:active {
  transform: translateY(1px);
}

.btn-primary {
  background: var(--navy);
  color: #fff;
  box-shadow: var(--shadow);
}

.btn-primary:hover {
  background: var(--navy-soft);
}

.btn-gold {
  background: var(--gold);
  color: var(--navy-deep);
  box-shadow: var(--shadow);
}

.btn-gold:hover {
  background: var(--gold-soft);
}

.btn-ghost {
  border-color: rgba(11, 31, 58, 0.25);
  color: var(--navy);
  background: transparent;
}

.btn-ghost:hover {
  background: rgba(11, 31, 58, 0.06);
}

.btn-lg {
  padding: 0.85rem 1.6rem;
  font-size: 1.05rem;
}

/* On-navy variants (hero) */
.on-dark .btn-ghost {
  border-color: rgba(255, 255, 255, 0.4);
  color: #fff;
}

.on-dark .btn-ghost:hover {
  background: rgba(255, 255, 255, 0.1);
}

/* ---------- Hero ---------- */

.hero {
  position: relative;
  background: linear-gradient(160deg, var(--navy-deep) 0%, var(--navy) 55%, #123157 100%);
  color: #fff;
  overflow: hidden;
}

.hero::before {
  /* faint star-field texture */
  content: "";
  position: absolute;
  inset: 0;
  background-image: radial-gradient(rgba(255, 255, 255, 0.14) 1px, transparent 1.5px);
  background-size: 34px 34px;
  opacity: 0.35;
  pointer-events: none;
}

.hero .container {
  position: relative;
  padding: 5.5rem 0 5rem;
  max-width: 820px;
  text-align: center;
}

.hero .eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  font-size: 0.8rem;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--gold-soft);
  border: 1px solid rgba(227, 199, 102, 0.4);
  border-radius: 999px;
  padding: 0.35rem 0.9rem;
  margin-bottom: 1.5rem;
}

.hero h1 {
  font-size: clamp(2.1rem, 5vw, 3.3rem);
  line-height: 1.12;
  letter-spacing: -0.02em;
  font-weight: 800;
}

.hero h1 .accent {
  color: var(--gold-soft);
}

.hero .sub {
  margin: 1.35rem auto 0;
  max-width: 620px;
  font-size: 1.13rem;
  color: rgba(255, 255, 255, 0.82);
}

.hero .cta-row {
  margin-top: 2.2rem;
  display: flex;
  justify-content: center;
  gap: 0.9rem;
  flex-wrap: wrap;
}

.hero .fine {
  margin-top: 1.4rem;
  font-size: 0.85rem;
  color: rgba(255, 255, 255, 0.55);
}

/* ---------- Sections ---------- */

.section {
  padding: 4.5rem 0;
}

.section-title {
  text-align: center;
  font-size: clamp(1.5rem, 3vw, 2.1rem);
  font-weight: 800;
  letter-spacing: -0.01em;
  color: var(--navy);
}

.section-sub {
  text-align: center;
  max-width: 560px;
  margin: 0.8rem auto 0;
  color: var(--muted);
}

.card-grid {
  margin-top: 2.6rem;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.4rem;
}

.card {
  background: var(--card);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 1.7rem 1.5rem;
  box-shadow: var(--shadow);
}

.card .icon {
  width: 44px;
  height: 44px;
  border-radius: 11px;
  display: grid;
  place-items: center;
  background: rgba(11, 31, 58, 0.06);
  color: var(--navy);
  margin-bottom: 1rem;
}

.card h3 {
  font-size: 1.08rem;
  color: var(--navy);
  margin-bottom: 0.45rem;
}

.card p {
  font-size: 0.95rem;
  color: var(--muted);
}

/* ---------- Trust band ---------- */

.trust {
  background: var(--navy);
  color: #fff;
}

.trust .container {
  padding: 3.4rem 0;
}

.trust h2 {
  text-align: center;
  font-size: clamp(1.35rem, 2.6vw, 1.8rem);
  font-weight: 800;
}

.trust-grid {
  margin-top: 2rem;
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1.2rem;
}

.trust-item {
  border: 1px solid rgba(255, 255, 255, 0.14);
  border-radius: var(--radius);
  padding: 1.2rem 1.1rem;
  background: rgba(255, 255, 255, 0.04);
}

.trust-item strong {
  display: block;
  color: var(--gold-soft);
  font-size: 0.95rem;
  margin-bottom: 0.3rem;
}

.trust-item span {
  font-size: 0.88rem;
  color: rgba(255, 255, 255, 0.75);
}

/* ---------- Closing CTA ---------- */

.closing {
  text-align: center;
}

.closing .card {
  max-width: 640px;
  margin: 0 auto;
  padding: 3rem 2rem;
}

.closing h2 {
  font-size: clamp(1.4rem, 3vw, 1.9rem);
  color: var(--navy);
  font-weight: 800;
}

.closing p {
  margin: 0.8rem auto 1.6rem;
  max-width: 460px;
  color: var(--muted);
}

/* ---------- Footer ---------- */

.site-footer {
  background: var(--navy-deep);
  color: rgba(255, 255, 255, 0.65);
  font-size: 0.88rem;
}

.site-footer .container {
  padding: 2.6rem 0 2.2rem;
  display: flex;
  flex-direction: column;
  gap: 1.1rem;
}

.footer-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  flex-wrap: wrap;
}

.footer-links {
  display: flex;
  gap: 1.4rem;
  flex-wrap: wrap;
}

.footer-links a {
  color: rgba(255, 255, 255, 0.75);
  text-decoration: none;
}

.footer-links a:hover {
  color: #fff;
  text-decoration: underline;
}

.footer-disclaimer {
  border-top: 1px solid rgba(255, 255, 255, 0.12);
  padding-top: 1.1rem;
  font-size: 0.8rem;
  color: rgba(255, 255, 255, 0.45);
}

/* ---------- Legal pages ---------- */

.page-head {
  background: var(--navy);
  color: #fff;
  text-align: center;
}

.page-head .container {
  padding: 3.2rem 0 2.8rem;
}

.page-head h1 {
  font-size: clamp(1.7rem, 4vw, 2.4rem);
  font-weight: 800;
  letter-spacing: -0.01em;
}

.page-head .effective {
  margin-top: 0.6rem;
  font-size: 0.9rem;
  color: rgba(255, 255, 255, 0.6);
}

.legal {
  padding: 3.2rem 0 4.5rem;
}

.legal .container {
  max-width: 760px;
}

.legal section {
  margin-bottom: 2.2rem;
}

.legal h2 {
  font-size: 1.2rem;
  color: var(--navy);
  margin-bottom: 0.6rem;
}

.legal p {
  margin-bottom: 0.8rem;
  color: var(--ink);
}

.legal ul {
  margin: 0.4rem 0 0.9rem 1.3rem;
}

.legal li {
  margin-bottom: 0.5rem;
}

.legal a {
  color: var(--navy);
  font-weight: 600;
  text-decoration-color: var(--gold);
  text-decoration-thickness: 2px;
}

/* ---------- Contact / request-an-invite ---------- */

.contact-wrap {
  padding: 3.2rem 0 4.5rem;
}

.contact-grid {
  display: grid;
  grid-template-columns: 1.15fr 0.85fr;
  gap: 2rem;
  align-items: start;
}

.form-card {
  background: var(--card);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  box-shadow: var(--shadow);
  padding: 2rem 1.8rem;
}

.form-card h2 {
  color: var(--navy);
  font-size: 1.25rem;
  margin-bottom: 0.4rem;
}

.form-card .hint {
  font-size: 0.92rem;
  color: var(--muted);
  margin-bottom: 1.4rem;
}

.field {
  margin-bottom: 1.1rem;
}

.field label {
  display: block;
  font-size: 0.86rem;
  font-weight: 700;
  color: var(--navy);
  margin-bottom: 0.35rem;
}

.field input,
.field textarea {
  width: 100%;
  font: inherit;
  font-size: 0.95rem;
  padding: 0.65rem 0.8rem;
  border: 1.5px solid var(--line);
  border-radius: 10px;
  background: #fff;
  color: var(--ink);
}

.field input:focus,
.field textarea:focus {
  outline: none;
  border-color: var(--navy);
  box-shadow: 0 0 0 3px rgba(11, 31, 58, 0.12);
}

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

.form-note {
  margin-top: 0.9rem;
  font-size: 0.82rem;
  color: var(--muted);
}

.aside-card {
  background: var(--navy);
  color: #fff;
  border-radius: var(--radius);
  padding: 1.8rem 1.6rem;
  box-shadow: var(--shadow);
}

.aside-card h3 {
  font-size: 1.05rem;
  margin-bottom: 0.6rem;
  color: var(--gold-soft);
}

.aside-card p {
  font-size: 0.92rem;
  color: rgba(255, 255, 255, 0.8);
  margin-bottom: 0.9rem;
}

.aside-card a {
  color: var(--gold-soft);
  font-weight: 600;
}

/* ---------- Status banner (app reachability, progressive) ---------- */

.status-banner {
  display: none;
  background: #7a1f1f;
  color: #fff;
  text-align: center;
  font-size: 0.9rem;
  padding: 0.6rem 1rem;
}

.status-banner.visible {
  display: block;
}

/* ---------- Responsive ---------- */

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

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

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

  .hero .container {
    padding: 3.8rem 0 3.6rem;
  }

  .section {
    padding: 3.2rem 0;
  }
}

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

  .header-nav .btn-ghost {
    display: none; /* keep the header uncluttered on small phones */
  }

  .hero .cta-row .btn {
    width: 100%;
  }
}
