:root {
  --ink: #172033;
  --muted: #5f697a;
  --paper: #f5f7f8;
  --panel: #ffffff;
  --line: #d9e0e5;
  --navy: #0e1a2b;
  --navy-soft: #1c2b43;
  --teal: #0e7d78;
  --teal-dark: #095f5b;
  --gold: #b9822e;
  --red: #bc4545;
  --green: #16845a;
  --shadow: 0 22px 60px rgba(15, 27, 43, 0.14);
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  color: var(--ink);
  background: var(--paper);
  font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  letter-spacing: 0;
}

button,
input,
select,
textarea {
  font: inherit;
  letter-spacing: 0;
}

button {
  cursor: pointer;
}

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

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

h1 {
  max-width: 840px;
  margin-bottom: 20px;
  font-size: 68px;
  line-height: 0.98;
  letter-spacing: 0;
}

h2 {
  margin-bottom: 0;
  font-size: 44px;
  line-height: 1.04;
  letter-spacing: 0;
}

h3 {
  margin-bottom: 10px;
  font-size: 22px;
  line-height: 1.18;
}

.site-header {
  position: fixed;
  inset: 0 0 auto;
  z-index: 30;
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  align-items: center;
  gap: 24px;
  min-height: 72px;
  padding: 14px 54px;
  color: #ffffff;
  background: linear-gradient(180deg, rgba(10, 18, 30, 0.94), rgba(10, 18, 30, 0.58));
}

.brand,
.nav-links,
.hero-actions,
.hero-stats,
.decision-strip,
.brief-tabs,
.brief-header,
.score-row,
.form-actions,
.trust-grid,
.admin-heading,
.admin-actions,
.site-footer {
  display: flex;
  align-items: center;
}

.brand {
  gap: 10px;
  font-weight: 850;
}

.brand-mark {
  display: grid;
  place-items: center;
  width: 38px;
  height: 38px;
  border: 1px solid rgba(255, 255, 255, 0.34);
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.13);
  font-size: 13px;
}

.nav-links {
  justify-content: center;
  gap: 28px;
  color: rgba(255, 255, 255, 0.84);
  font-size: 15px;
}

.nav-links a:hover,
.header-action:hover {
  color: #ffffff;
}

.header-action {
  justify-self: end;
  min-height: 42px;
  padding: 10px 15px;
  border: 1px solid rgba(255, 255, 255, 0.32);
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.1);
  font-weight: 800;
}

.hero {
  position: relative;
  display: grid;
  align-items: center;
  min-height: 92vh;
  padding: 124px 86px 78px;
  overflow: hidden;
  isolation: isolate;
}

.hero-media,
.hero-overlay {
  position: absolute;
  inset: 0;
}

.hero-media {
  z-index: -2;
  background-image: url("assets/govcon-hero.png");
  background-position: center right;
  background-size: cover;
}

.hero-overlay {
  z-index: -1;
  background:
    linear-gradient(90deg, rgba(7, 13, 23, 0.96) 0%, rgba(7, 13, 23, 0.88) 48%, rgba(7, 13, 23, 0.44) 78%, rgba(7, 13, 23, 0.18) 100%),
    linear-gradient(0deg, rgba(7, 13, 23, 0.38), rgba(7, 13, 23, 0.02));
}

.hero-content {
  width: min(860px, 100%);
  color: #ffffff;
}

.eyebrow,
.label {
  color: var(--gold);
  font-size: 13px;
  font-weight: 850;
  letter-spacing: 0;
}

.eyebrow {
  margin-bottom: 14px;
}

.hero-copy {
  max-width: 760px;
  color: rgba(255, 255, 255, 0.83);
  font-size: 20px;
  line-height: 1.6;
}

.hero-actions {
  gap: 12px;
  flex-wrap: wrap;
  margin-top: 32px;
}

.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 9px;
  min-height: 48px;
  padding: 0 18px;
  border: 1px solid transparent;
  border-radius: 8px;
  font-weight: 850;
  transition: background 160ms ease, border-color 160ms ease, color 160ms ease, transform 160ms ease;
}

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

.button-primary {
  color: #ffffff;
  background: var(--teal);
  border-color: var(--teal);
}

.button-primary:hover {
  background: var(--teal-dark);
  border-color: var(--teal-dark);
}

.button-secondary {
  color: #ffffff;
  background: rgba(255, 255, 255, 0.1);
  border-color: rgba(255, 255, 255, 0.3);
}

.button-dark {
  color: #ffffff;
  background: var(--navy);
  border-color: var(--navy);
}

.button-light {
  color: var(--ink);
  background: #ffffff;
  border-color: var(--line);
}

.hero-stats {
  gap: 18px;
  flex-wrap: wrap;
  margin: 44px 0 0;
}

.hero-stats div {
  min-width: 150px;
  padding-left: 16px;
  border-left: 3px solid var(--gold);
}

.hero-stats dt {
  font-size: 27px;
  font-weight: 900;
}

.hero-stats dd {
  margin: 3px 0 0;
  color: rgba(255, 255, 255, 0.72);
}

.decision-strip {
  justify-content: space-between;
  gap: 20px;
  padding: 20px 86px;
  background: #ffffff;
  border-bottom: 1px solid var(--line);
}

.decision-strip div {
  display: grid;
  gap: 5px;
  max-width: 380px;
}

.decision-strip span {
  color: var(--muted);
  font-size: 14px;
  line-height: 1.42;
}

.section {
  padding: 86px;
}

.split-section {
  display: grid;
  grid-template-columns: minmax(0, 0.78fr) minmax(380px, 0.9fr);
  gap: 64px;
  align-items: start;
}

.trust-section {
  background: #ffffff;
}

.trust-grid {
  align-items: stretch;
  gap: 16px;
}

.trust-grid article {
  flex: 1;
  min-width: 0;
  padding: 24px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: #f8fafb;
}

.trust-grid p,
.disclaimer-panel p {
  color: var(--muted);
  line-height: 1.65;
}

.section-copy {
  max-width: 680px;
}

.section-copy p,
.section-heading p,
.price-card p,
.brief-body,
.form-note,
.confirmation-card p,
.empty-state {
  color: var(--muted);
  line-height: 1.65;
}

.honeypot {
  position: absolute;
  left: -10000px;
  width: 1px;
  height: 1px;
  overflow: hidden;
}

.brief-tabs {
  flex-wrap: wrap;
  gap: 8px;
  margin-top: 28px;
}

.tab-button {
  min-height: 40px;
  padding: 0 14px;
  border: 1px solid var(--line);
  border-radius: 8px;
  color: var(--ink);
  background: #ffffff;
  font-weight: 800;
}

.tab-button.is-active {
  color: #ffffff;
  background: var(--navy);
  border-color: var(--navy);
}

.brief-panel,
.intake-form,
.confirmation-card,
.admin-table-wrap,
.price-card {
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--panel);
  box-shadow: var(--shadow);
}

.brief-panel {
  overflow: hidden;
}

.brief-header {
  justify-content: space-between;
  gap: 20px;
  padding: 24px;
  color: #ffffff;
  background: var(--navy);
}

.brief-header .label {
  color: #bfe7e4;
}

.brief-header h3 {
  margin: 6px 0 0;
}

.recommendation {
  flex: 0 0 auto;
  padding: 9px 12px;
  border-radius: 999px;
  color: #daf9f3;
  background: rgba(14, 125, 120, 0.32);
  font-weight: 850;
}

.score-row {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  border-bottom: 1px solid var(--line);
}

.score-row div {
  display: grid;
  gap: 4px;
  padding: 18px 24px;
  border-right: 1px solid var(--line);
}

.score-row div:last-child {
  border-right: 0;
}

.score-row span {
  color: var(--muted);
  font-size: 13px;
}

.score-row strong {
  font-size: 25px;
}

.brief-body {
  display: grid;
  gap: 14px;
  min-height: 248px;
  padding: 24px;
}

.brief-item {
  display: grid;
  grid-template-columns: 120px 1fr;
  gap: 16px;
  padding-bottom: 14px;
  border-bottom: 1px solid #edf1f3;
}

.brief-item:last-child {
  border-bottom: 0;
  padding-bottom: 0;
}

.brief-item strong {
  color: var(--ink);
}

.section-heading {
  max-width: 850px;
  margin-bottom: 34px;
}

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

.price-card {
  display: grid;
  gap: 22px;
  min-height: 460px;
  padding: 24px;
  box-shadow: 0 12px 34px rgba(15, 27, 43, 0.08);
}

.price-card.is-featured {
  border-color: rgba(14, 125, 120, 0.5);
  box-shadow: 0 20px 52px rgba(14, 125, 120, 0.18);
}

.price-card.is-selected {
  outline: 3px solid rgba(14, 125, 120, 0.26);
}

.price-card strong {
  font-size: 42px;
}

.price-card ul {
  display: grid;
  gap: 10px;
  margin: 0;
  padding: 0;
  color: var(--muted);
  list-style: none;
}

.price-card li {
  position: relative;
  padding-left: 24px;
  line-height: 1.42;
}

.price-card li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0.5em;
  width: 10px;
  height: 10px;
  border-radius: 3px;
  background: var(--teal);
}

.intake-section {
  display: grid;
  grid-template-columns: minmax(0, 0.64fr) minmax(520px, 1fr);
  gap: 52px;
  align-items: start;
  background: #eef3f4;
}

.selected-tier {
  display: grid;
  gap: 8px;
  max-width: 360px;
  margin-top: 28px;
  padding: 18px;
  border-left: 4px solid var(--teal);
  background: #ffffff;
}

.selected-tier span {
  color: var(--muted);
  font-size: 14px;
}

.intake-form {
  padding: 24px;
  box-shadow: 0 18px 48px rgba(15, 27, 43, 0.1);
}

.form-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 16px;
}

label {
  display: grid;
  gap: 8px;
  color: var(--ink);
  font-weight: 800;
}

input,
select,
textarea {
  width: 100%;
  border: 1px solid #cfd8de;
  border-radius: 8px;
  color: var(--ink);
  background: #ffffff;
}

input,
select {
  min-height: 46px;
  padding: 0 12px;
}

textarea {
  min-height: 112px;
  resize: vertical;
  padding: 12px;
}

input:focus,
select:focus,
textarea:focus,
.tab-button:focus,
.button:focus {
  outline: 3px solid rgba(14, 125, 120, 0.22);
  outline-offset: 2px;
}

.span-2 {
  grid-column: span 2;
}

.consent-row {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  margin-top: 18px;
  color: var(--muted);
  font-weight: 650;
  line-height: 1.45;
}

.consent-row input {
  flex: 0 0 auto;
  width: 18px;
  min-height: 18px;
  margin-top: 2px;
}

.form-actions {
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 22px;
}

.form-note {
  margin: 16px 0 0;
  font-size: 14px;
}

.confirmation-section {
  padding-top: 0;
  background: #eef3f4;
}

.confirmation-card {
  padding: 28px;
  box-shadow: 0 12px 30px rgba(15, 27, 43, 0.08);
}

.confirmation-card .button {
  margin: 6px 8px 0 0;
}

.disclaimer-section {
  padding-top: 0;
  background: #ffffff;
}

.disclaimer-panel {
  padding: 28px;
  border: 1px solid var(--line);
  border-left: 4px solid var(--gold);
  border-radius: 8px;
  background: #fbfcfd;
}

.disclaimer-panel h2 {
  margin-top: 8px;
  font-size: 30px;
}

.admin-section {
  background: #ffffff;
}

.admin-heading {
  justify-content: space-between;
  gap: 20px;
}

.admin-actions {
  flex-wrap: wrap;
  gap: 10px;
}

.admin-table-wrap {
  overflow-x: auto;
  box-shadow: none;
}

.admin-table {
  width: 100%;
  min-width: 760px;
  border-collapse: collapse;
}

.admin-table th,
.admin-table td {
  padding: 16px;
  border-bottom: 1px solid var(--line);
  text-align: left;
  vertical-align: top;
}

.admin-table th {
  color: var(--muted);
  font-size: 13px;
}

.admin-table td {
  line-height: 1.45;
}

.admin-table small {
  display: block;
  color: var(--muted);
}

.status-select {
  min-width: 150px;
}

.empty-state {
  margin: 18px 0 0;
}

.site-footer {
  justify-content: space-between;
  gap: 20px;
  padding: 24px 86px;
  color: rgba(255, 255, 255, 0.74);
  background: var(--navy);
}

.site-footer span:first-child {
  color: #ffffff;
  font-weight: 900;
}

@media (max-width: 1080px) {
  h1 {
    font-size: 52px;
  }

  h2 {
    font-size: 36px;
  }

  .site-header,
  .hero,
  .section,
  .decision-strip,
  .site-footer {
    padding-left: 34px;
    padding-right: 34px;
  }

  .pricing-grid,
  .trust-grid,
  .split-section,
  .intake-section {
    grid-template-columns: 1fr;
    flex-direction: column;
  }

  .intake-section {
    gap: 30px;
  }
}

@media (max-width: 760px) {
  h1 {
    font-size: 40px;
  }

  h2 {
    font-size: 30px;
  }

  .site-header {
    grid-template-columns: 1fr auto;
    min-height: 66px;
    padding: 12px 18px;
  }

  .nav-links {
    display: none;
  }

  .brand span:last-child {
    display: none;
  }

  .hero {
    min-height: 88vh;
    padding: 96px 18px 56px;
  }

  .hero-copy {
    font-size: 18px;
  }

  .decision-strip,
  .site-footer,
  .admin-heading {
    align-items: flex-start;
    flex-direction: column;
  }

  .decision-strip,
  .section,
  .site-footer {
    padding: 48px 18px;
  }

  .score-row,
  .form-grid {
    grid-template-columns: 1fr;
  }

  .score-row div {
    border-right: 0;
  }

  .brief-item {
    grid-template-columns: 1fr;
    gap: 6px;
  }

  .span-2 {
    grid-column: auto;
  }
}
