:root {
  --ink: #f8fafc;
  --muted: #9fb0bf;
  --line: rgba(255, 255, 255, 0.14);
  --paper: #05080d;
  --surface: rgba(255, 255, 255, 0.075);
  --field: rgba(255, 255, 255, 0.105);
  --evergreen: #00bfff;
  --moss: #143344;
  --clay: #f0d07a;
  --gold: #d5a33a;
  --shadow: 0 24px 70px rgba(0, 0, 0, 0.36);
  color-scheme: dark;
  font-family:
    Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI",
    sans-serif;
}

* {
  box-sizing: border-box;
}

body {
  margin: 0;
  background:
    linear-gradient(135deg, #05080d 0%, #101923 48%, #17130d 100%);
  color: var(--ink);
  line-height: 1.5;
}

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

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

.site-header {
  position: sticky;
  top: 0;
  z-index: 20;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  min-height: 76px;
  padding: 14px clamp(18px, 4vw, 48px);
  background: rgba(5, 8, 13, 0.86);
  border-bottom: 1px solid var(--line);
  backdrop-filter: blur(18px);
}

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

.brand-mark {
  display: grid;
  place-items: center;
  width: 42px;
  height: 42px;
  border: 1px solid var(--evergreen);
  background: rgba(0, 191, 255, 0.16);
  color: var(--ink);
  font-weight: 800;
  font-size: 0.86rem;
}

.brand strong,
.brand small {
  display: block;
  letter-spacing: 0;
}

.brand small {
  color: var(--muted);
  font-size: 0.76rem;
}

.nav {
  display: flex;
  align-items: center;
  gap: 4px;
  flex-wrap: wrap;
  justify-content: flex-end;
}

.nav a {
  padding: 10px 12px;
  color: var(--muted);
  font-size: 0.92rem;
  font-weight: 650;
}

.nav a:hover,
.nav a[aria-current="page"] {
  color: var(--ink);
  background: var(--field);
}

.hero {
  position: relative;
  min-height: clamp(640px, 86vh, 820px);
  overflow: hidden;
  display: grid;
  align-items: center;
}

.hero-media {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.hero-overlay {
  position: absolute;
  inset: 0;
  background:
    linear-gradient(90deg, rgba(14, 25, 20, 0.86) 0%, rgba(14, 25, 20, 0.7) 38%, rgba(14, 25, 20, 0.1) 72%),
    linear-gradient(0deg, rgba(14, 25, 20, 0.16), rgba(14, 25, 20, 0.16));
}

.hero-content {
  position: relative;
  z-index: 1;
  width: min(720px, calc(100% - 36px));
  margin-left: clamp(18px, 6vw, 80px);
  padding: 84px 0 132px;
  color: #fff;
}

.eyebrow {
  margin: 0 0 12px;
  color: var(--clay);
  font-size: 0.78rem;
  font-weight: 800;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.hero .eyebrow {
  color: #f0c879;
}

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

h1 {
  max-width: 700px;
  margin-bottom: 20px;
  font-size: clamp(3.2rem, 8vw, 6.9rem);
  line-height: 0.9;
  letter-spacing: 0;
}

h2 {
  margin-bottom: 18px;
  font-size: clamp(2rem, 4vw, 3.8rem);
  line-height: 0.98;
  letter-spacing: 0;
}

h3 {
  margin-bottom: 10px;
  font-size: 1.14rem;
}

.lead {
  max-width: 650px;
  color: rgba(255, 255, 255, 0.88);
  font-size: clamp(1.18rem, 2vw, 1.45rem);
}

.boundary {
  display: inline-block;
  margin: 8px 0 28px;
  padding: 10px 14px;
  border-left: 4px solid var(--gold);
  background: rgba(255, 255, 255, 0.1);
  font-weight: 800;
}

.hero-actions,
.page-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
}

.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 46px;
  padding: 12px 18px;
  border: 1px solid transparent;
  font-weight: 800;
  transition: transform 160ms ease, background 160ms ease, border-color 160ms ease;
}

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

.button.primary {
  background: var(--gold);
  color: #141812;
}

.button.secondary {
  border-color: rgba(255, 255, 255, 0.5);
  color: #fff;
}

.button.dark {
  border-color: rgba(0, 191, 255, 0.52);
  background: rgba(0, 191, 255, 0.16);
  color: var(--ink);
}

.button.light {
  border-color: var(--line);
  background: rgba(255, 255, 255, 0.08);
}

.button.danger {
  border-color: rgba(239, 68, 68, 0.42);
  background: rgba(239, 68, 68, 0.1);
  color: #fecaca;
}

.band,
.content-section,
.split-band,
.page-hero,
.form-section {
  padding: clamp(54px, 8vw, 108px) clamp(18px, 4vw, 54px);
}

.section-grid {
  display: grid;
  grid-template-columns: minmax(240px, 0.85fr) minmax(280px, 1.15fr);
  gap: clamp(28px, 7vw, 96px);
  width: min(1180px, 100%);
  margin: 0 auto;
}

.copy-stack {
  color: var(--muted);
  font-size: 1.08rem;
}

.section-heading {
  width: min(980px, 100%);
  margin: 0 auto 30px;
}

.card-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 14px;
  width: min(1180px, 100%);
  margin: 0 auto;
}

.service-card,
.package-card,
.sample-block,
.portal-panel,
.summary-box {
  min-height: 100%;
  padding: 22px;
  border: 1px solid var(--line);
  background: var(--surface);
  box-shadow: 0 1px 0 rgba(25, 33, 29, 0.03);
  backdrop-filter: blur(14px);
}

.card-index {
  display: block;
  margin-bottom: 24px;
  color: var(--clay);
  font-weight: 850;
}

.service-card p,
.package-card p,
.sample-block p,
.portal-panel p {
  color: var(--muted);
}

.split-band {
  display: grid;
  grid-template-columns: minmax(260px, 1.2fr) minmax(220px, 0.8fr) minmax(220px, 0.8fr);
  gap: 18px;
  background: rgba(4, 13, 22, 0.72);
  color: #fff;
}

.split-band > * {
  align-self: stretch;
}

.split-band p {
  color: rgba(255, 255, 255, 0.78);
}

.boundary-panel {
  padding: 22px;
  border: 1px solid rgba(255, 255, 255, 0.18);
  background: rgba(255, 255, 255, 0.08);
}

.boundary-panel.muted {
  background: rgba(0, 0, 0, 0.12);
}

.check-list {
  display: grid;
  gap: 10px;
  margin: 0;
  padding: 0;
  list-style: none;
}

.check-list li {
  position: relative;
  padding-left: 20px;
}

.check-list li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0.66em;
  width: 8px;
  height: 8px;
  background: var(--gold);
}

.compact {
  padding-top: 42px;
}

.route-strip {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 1px;
  width: min(1180px, 100%);
  margin: 0 auto;
  border: 1px solid var(--line);
  background: var(--line);
}

.route-strip a {
  display: grid;
  gap: 4px;
  min-height: 116px;
  padding: 20px;
  background: var(--surface);
}

.route-strip strong {
  color: var(--evergreen);
  font-size: 1.15rem;
}

.route-strip span {
  color: var(--muted);
}

.page-hero {
  background:
    linear-gradient(180deg, rgba(0, 191, 255, 0.08), rgba(5, 8, 13, 0.12)),
    linear-gradient(135deg, #071018 0%, #101923 58%, #17130d 100%);
}

.page-hero-inner {
  width: min(1080px, 100%);
  margin: 0 auto;
}

.page-hero h1 {
  color: var(--ink);
  font-size: clamp(2.8rem, 6vw, 5.8rem);
}

.page-hero .lead {
  color: var(--muted);
}

.form-section {
  padding-top: 34px;
}

.intake-hero {
  padding-bottom: clamp(38px, 6vw, 72px);
}

.request-hero-grid {
  display: grid;
  grid-template-columns: minmax(280px, 1fr) minmax(240px, 340px);
  gap: clamp(20px, 5vw, 64px);
  align-items: end;
}

.status-panel {
  padding: 22px;
  border: 1px solid var(--line);
  background: var(--surface);
  box-shadow: var(--shadow);
  backdrop-filter: blur(14px);
}

.status-panel span {
  display: block;
  margin-bottom: 8px;
  color: var(--muted);
  font-size: 0.78rem;
  font-weight: 850;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.status-panel strong {
  display: block;
  color: var(--evergreen);
  font-size: 2rem;
  line-height: 1;
}

.status-panel p {
  margin: 12px 0 0;
  color: var(--muted);
}

.mini {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 10px;
  margin-top: 18px;
}

.pill {
  min-height: 78px;
  padding: 12px;
  border: 1px solid var(--line);
  background: rgba(255, 255, 255, 0.055);
}

.pill b,
.pill span {
  display: block;
}

.pill b {
  margin-bottom: 4px;
  color: var(--clay);
  font-size: 0.88rem;
}

.pill span {
  color: var(--muted);
  font-size: 0.8rem;
}

.xpd-form {
  display: grid;
  grid-template-columns: minmax(280px, 1fr) minmax(280px, 1fr);
  gap: 18px;
  width: min(1180px, 100%);
  margin: 0 auto;
}

.request-form {
  display: grid;
  gap: 18px;
  width: min(1180px, calc(100% - 36px));
  margin: 0 auto;
  padding: 34px 0 clamp(54px, 8vw, 108px);
}

.field-group {
  display: grid;
  gap: 14px;
  padding: 22px;
  border: 1px solid var(--line);
  background: var(--surface);
  box-shadow: 0 1px 0 rgba(255, 255, 255, 0.03);
  backdrop-filter: blur(14px);
}

.field-group h2 {
  margin-bottom: 4px;
  font-size: clamp(1.35rem, 2.3vw, 2rem);
  line-height: 1.08;
}

.field-group.full {
  grid-column: 1 / -1;
}

.internal-panel {
  border-color: rgba(213, 163, 58, 0.32);
  background: rgba(213, 163, 58, 0.075);
}

.internal-panel summary {
  display: grid;
  gap: 4px;
  cursor: pointer;
  color: var(--ink);
  font-size: clamp(1.15rem, 2vw, 1.45rem);
  font-weight: 850;
}

.internal-panel summary small {
  color: var(--muted);
  font-size: 0.88rem;
  font-weight: 650;
}

.internal-panel[open] summary {
  margin-bottom: 14px;
}

.next-step-panel {
  border-color: rgba(0, 191, 255, 0.34);
  background: rgba(0, 191, 255, 0.075);
}

.next-step-panel p {
  color: var(--muted);
}

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

.next-step-grid div {
  min-height: 104px;
  padding: 14px;
  border: 1px solid var(--line);
  background: rgba(255, 255, 255, 0.055);
}

.next-step-grid strong,
.next-step-grid span {
  display: block;
}

.next-step-grid strong {
  margin-bottom: 6px;
  color: var(--clay);
}

.next-step-grid span {
  color: var(--muted);
}

.grid,
.grid3 {
  display: grid;
  gap: 14px;
}

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

.grid3 {
  grid-template-columns: repeat(3, minmax(0, 1fr));
}

.field {
  display: grid;
  gap: 7px;
}

label {
  display: grid;
  gap: 7px;
  color: var(--muted);
  font-size: 0.92rem;
  font-weight: 750;
}

.field label,
.check-field legend {
  display: block;
  margin: 0;
  color: var(--muted);
  font-size: 0.78rem;
  font-weight: 850;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.required {
  color: var(--clay);
}

input,
select,
textarea {
  width: 100%;
  min-height: 44px;
  border: 1px solid var(--line);
  border-radius: 0;
  padding: 10px 12px;
  background: rgba(0, 0, 0, 0.28);
  color: var(--ink);
  font: inherit;
}

input:focus,
select:focus,
textarea:focus {
  border-color: rgba(0, 191, 255, 0.72);
  box-shadow: 0 0 0 3px rgba(0, 191, 255, 0.1);
  outline: none;
}

textarea {
  min-height: 140px;
  resize: vertical;
}

.check-field {
  display: grid;
  gap: 10px;
  margin: 0;
  padding: 0;
  border: 0;
}

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

.check {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  min-height: 62px;
  padding: 12px;
  border: 1px solid var(--line);
  background: var(--field);
  color: var(--ink);
  font-size: 0.94rem;
  font-weight: 650;
  letter-spacing: 0;
  text-transform: none;
}

.check input {
  flex: 0 0 auto;
  width: 18px;
  min-height: 18px;
  margin-top: 2px;
  accent-color: var(--evergreen);
}

.notice {
  padding: 18px;
  border-left: 4px solid var(--gold);
  background: rgba(213, 163, 58, 0.11);
  color: var(--ink);
}

.notice p:last-child {
  margin-bottom: 0;
}

.notice ul {
  margin: 0 0 16px 20px;
  padding: 0;
}

.small {
  color: var(--muted);
  font-size: 0.88rem;
}

.form-actions {
  grid-column: 1 / -1;
  display: flex;
  gap: 12px;
  flex-wrap: wrap;
}

.request-actions {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 10px;
  padding: 14px;
  border: 1px solid var(--line);
  background: rgba(5, 8, 13, 0.68);
  box-shadow: var(--shadow);
  backdrop-filter: blur(16px);
}

.file-button {
  cursor: pointer;
}

.summary-box {
  grid-column: 1 / -1;
  display: none;
  white-space: pre-wrap;
  color: var(--muted);
}

.summary-box.visible {
  display: block;
}

.output-card {
  display: none;
  padding: 22px;
  border: 1px solid var(--line);
  background: var(--surface);
  backdrop-filter: blur(14px);
}

.output-card.visible {
  display: block;
}

.output-card h2 {
  margin-bottom: 14px;
  font-size: 1.4rem;
}

.output-card pre {
  max-height: 520px;
  overflow: auto;
  margin: 0;
  padding: 16px;
  border: 1px solid var(--line);
  background: rgba(0, 0, 0, 0.34);
  color: #ecf5ed;
  white-space: pre-wrap;
  word-break: break-word;
}

.package-grid,
.sample-grid,
.portal-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 18px;
  width: min(1180px, 100%);
  margin: 0 auto;
}

.package-card.featured {
  border-color: var(--evergreen);
  box-shadow: var(--shadow);
}

.price {
  margin: 20px 0;
  color: var(--gold);
  font-size: 2rem;
  font-weight: 900;
}

.fine-print {
  width: min(1180px, 100%);
  margin: 24px auto 0;
  color: var(--muted);
  font-size: 0.92rem;
}

.deliverable-list {
  display: grid;
  gap: 12px;
  padding-left: 18px;
  color: var(--muted);
}

.sample-table {
  width: min(1180px, 100%);
  margin: 26px auto 0;
  border-collapse: collapse;
  background: var(--surface);
}

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

.sample-table th {
  background: var(--field);
}

.portal-status {
  display: inline-flex;
  align-items: center;
  min-height: 34px;
  padding: 6px 10px;
  background: var(--field);
  color: var(--clay);
  font-weight: 850;
}

.site-footer {
  display: flex;
  justify-content: space-between;
  gap: 18px;
  padding: 28px clamp(18px, 4vw, 48px);
  border-top: 1px solid var(--line);
  color: var(--muted);
}

.site-footer p {
  margin: 0;
}

@media (max-width: 920px) {
  .site-header,
  .site-footer {
    align-items: flex-start;
    flex-direction: column;
  }

  .nav {
    justify-content: flex-start;
  }

  .hero {
    min-height: 720px;
  }

  .hero-overlay {
    background: linear-gradient(180deg, rgba(14, 25, 20, 0.88) 0%, rgba(14, 25, 20, 0.72) 55%, rgba(14, 25, 20, 0.28) 100%);
  }

  .hero-content {
    margin: 0 auto;
    padding-top: 54px;
  }

  .section-grid,
  .split-band,
  .xpd-form,
  .request-hero-grid,
  .next-step-grid,
  .grid,
  .grid3 {
    grid-template-columns: 1fr;
  }

  .card-grid,
  .mini,
  .route-strip,
  .package-grid,
  .sample-grid,
  .portal-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

}

@media (max-width: 620px) {
  .brand {
    min-width: 0;
  }

  .nav a {
    padding: 9px 10px;
  }

  h1 {
    font-size: 3.1rem;
  }

  .card-grid,
  .route-strip,
  .package-grid,
  .sample-grid,
  .portal-grid,
  .check-grid {
    grid-template-columns: 1fr;
  }

  .service-card,
  .package-card,
  .sample-block,
  .portal-panel,
  .field-group {
    padding: 18px;
  }

  .sample-table {
    display: block;
    overflow-x: auto;
  }
}

@media print {
  .site-header,
  .site-footer,
  .page-hero,
  .no-print {
    display: none !important;
  }

  body {
    background: #fff;
    color: #111;
  }

  .request-form {
    width: 100%;
    padding: 0;
  }

  .field-group {
    break-inside: avoid;
    border-color: #bbb;
    box-shadow: none;
  }

  input,
  select,
  textarea,
  .check {
    border-color: #999;
    background: #fff;
    color: #111;
  }
}
