:root {
  --ink: #071a34;
  --ink-soft: #2d3e52;
  --paper: #f4f0e8;
  --paper-strong: #fffaf0;
  --gold: #c69a3d;
  --gold-deep: #9b7122;
  --blue: #0a2344;
  --blue-lift: #163f6b;
  --line: rgba(7, 26, 52, 0.16);
  --shadow: 0 24px 70px rgba(7, 26, 52, 0.18);
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  color: var(--ink);
  font-family: "Inter", Arial, sans-serif;
  background:
    linear-gradient(135deg, rgba(10, 35, 68, 0.08), rgba(198, 154, 61, 0.12)),
    var(--paper);
}

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

.site-header {
  position: sticky;
  top: 0;
  z-index: 10;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  min-height: 82px;
  padding: 14px clamp(20px, 5vw, 72px);
  border-bottom: 1px solid rgba(7, 26, 52, 0.12);
  background: rgba(255, 250, 240, 0.92);
  backdrop-filter: blur(18px);
  color: var(--blue);
  box-shadow: 0 10px 28px rgba(7, 26, 52, 0.08);
}

.brand {
  display: flex;
  align-items: center;
  width: min(220px, 48vw);
}

.brand img {
  display: block;
  width: 100%;
  height: auto;
  filter: drop-shadow(0 8px 18px rgba(7, 26, 52, 0.16));
}

nav {
  display: flex;
  align-items: center;
  gap: clamp(14px, 3vw, 34px);
  font-size: 0.92rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0;
}

nav a {
  opacity: 0.86;
}

nav a:hover,
nav a:focus-visible {
  opacity: 1;
  color: var(--gold-deep);
}

.hero {
  min-height: calc(100vh - 82px);
  display: grid;
  grid-template-columns: minmax(0, 1.03fr) minmax(330px, 0.8fr);
  align-items: center;
  gap: clamp(36px, 6vw, 88px);
  padding: clamp(56px, 9vh, 92px) clamp(20px, 6vw, 92px);
  background:
    linear-gradient(90deg, rgba(244, 240, 232, 0.96) 0%, rgba(244, 240, 232, 0.82) 54%, rgba(7, 26, 52, 0.12) 100%),
    url("assets/veteranlm-logo.png") right 8% center / min(54vw, 760px) auto no-repeat;
}

.hero-copy {
  max-width: 780px;
}

.eyebrow {
  margin: 0 0 14px;
  color: var(--gold-deep);
  font-size: 0.84rem;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0;
}

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

h1,
h2 {
  font-family: "Merriweather", Georgia, serif;
  line-height: 1.05;
  letter-spacing: 0;
}

h1 {
  max-width: 760px;
  margin-bottom: 24px;
  font-size: clamp(3.1rem, 7vw, 6.8rem);
}

h2 {
  max-width: 780px;
  margin-bottom: 0;
  font-size: clamp(2.2rem, 4.2vw, 4.4rem);
}

h3 {
  margin-bottom: 12px;
  font-size: 1.18rem;
}

.hero-text {
  max-width: 690px;
  color: var(--ink-soft);
  font-size: clamp(1.13rem, 2vw, 1.42rem);
  line-height: 1.6;
}

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

.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 52px;
  padding: 14px 22px;
  border: 1px solid var(--blue);
  border-radius: 6px;
  font-weight: 800;
}

.button.primary {
  background: var(--blue);
  color: #fffaf0;
  box-shadow: 0 14px 28px rgba(10, 35, 68, 0.22);
}

.button.secondary {
  background: rgba(255, 250, 240, 0.76);
  color: var(--blue);
}

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

.assistant-preview {
  align-self: stretch;
  display: flex;
  align-items: center;
  justify-content: center;
}

.chat-shell {
  width: min(100%, 480px);
  padding: 22px;
  border: 1px solid rgba(255, 250, 240, 0.22);
  border-radius: 8px;
  background: linear-gradient(160deg, rgba(7, 26, 52, 0.96), rgba(16, 55, 92, 0.94));
  color: #fffaf0;
  box-shadow: var(--shadow);
}

.chat-header {
  display: flex;
  align-items: center;
  gap: 10px;
  min-height: 40px;
  margin-bottom: 20px;
  padding-bottom: 14px;
  border-bottom: 1px solid rgba(255, 250, 240, 0.16);
  font-weight: 800;
}

.status-dot {
  width: 10px;
  height: 10px;
  border-radius: 999px;
  background: #d4ad55;
  box-shadow: 0 0 0 5px rgba(212, 173, 85, 0.16);
}

.chat-message {
  max-width: 92%;
  margin-bottom: 14px;
  padding: 14px 16px;
  border-radius: 8px;
  color: #eef4fb;
  line-height: 1.55;
}

.chat-message.user {
  margin-left: auto;
  background: rgba(198, 154, 61, 0.22);
  border: 1px solid rgba(240, 200, 111, 0.3);
}

.chat-message.assistant {
  background: rgba(255, 250, 240, 0.1);
  border: 1px solid rgba(255, 250, 240, 0.14);
}

.chat-message.small {
  margin-bottom: 0;
  color: rgba(255, 250, 240, 0.78);
  font-size: 0.92rem;
}

.mission-band {
  padding: clamp(30px, 5vw, 56px) clamp(20px, 6vw, 92px);
  background: var(--blue);
  color: #fffaf0;
}

.mission-band p {
  max-width: 1180px;
  margin: 0 auto;
  font-family: "Merriweather", Georgia, serif;
  font-size: clamp(1.35rem, 2.55vw, 2.45rem);
  line-height: 1.35;
}

.section {
  padding: clamp(64px, 9vw, 112px) clamp(20px, 6vw, 92px);
}

.section-heading {
  display: grid;
  gap: 12px;
  margin-bottom: 34px;
}

.feature-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 18px;
}

.feature-card {
  min-height: 300px;
  padding: 28px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: rgba(255, 250, 240, 0.72);
}

.feature-card p,
.trust-copy p,
.trust-copy li {
  color: var(--ink-soft);
  line-height: 1.62;
}

.feature-icon {
  display: inline-flex;
  margin-bottom: 32px;
  color: var(--gold-deep);
  font-weight: 900;
}

.split {
  display: grid;
  grid-template-columns: minmax(0, 0.9fr) minmax(320px, 0.8fr);
  gap: clamp(34px, 6vw, 90px);
  border-top: 1px solid var(--line);
  background: rgba(255, 250, 240, 0.46);
}

.trust-copy {
  font-size: 1.05rem;
}

.trust-copy ul {
  display: grid;
  gap: 12px;
  margin: 26px 0 0;
  padding: 0;
  list-style: none;
}

.trust-copy li {
  position: relative;
  padding-left: 28px;
}

.trust-copy li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0.72em;
  width: 14px;
  height: 2px;
  background: var(--gold);
}

.site-footer {
  display: grid;
  justify-items: center;
  gap: 8px;
  padding: 42px 20px;
  background: var(--paper-strong);
  color: #fffaf0;
  text-align: center;
  border-top: 1px solid var(--line);
}

.site-footer img {
  width: min(240px, 70vw);
  height: auto;
}

.site-footer p {
  margin: 0;
  color: var(--blue);
  font-weight: 800;
}

.site-footer .disclaimer {
  max-width: 620px;
  color: var(--ink-soft);
  font-size: 0.9rem;
  font-weight: 500;
}

@media (max-width: 940px) {
  .hero,
  .split {
    grid-template-columns: 1fr;
  }

  .hero {
    min-height: auto;
    background:
      linear-gradient(180deg, rgba(244, 240, 232, 0.97) 0%, rgba(244, 240, 232, 0.9) 100%),
      url("assets/veteranlm-logo.png") center top 24px / min(92vw, 620px) auto no-repeat;
  }

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

  .feature-card {
    min-height: 0;
  }
}

@media (max-width: 680px) {
  .site-header {
    position: static;
    align-items: flex-start;
    flex-direction: column;
    min-height: 0;
  }

  nav {
    width: 100%;
    justify-content: space-between;
    gap: 10px;
    font-size: 0.76rem;
  }

  h1 {
    font-size: clamp(2.55rem, 13vw, 4rem);
  }

  .button {
    width: 100%;
  }

  .chat-shell,
  .feature-card {
    padding: 20px;
  }
}
