:root {
  color-scheme: dark;
  font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  background: #080b0d;
  color: #f4f1ea;
  --bg: #080b0d;
  --panel: #101519;
  --panel-strong: #141b20;
  --line: rgba(244, 241, 234, 0.12);
  --line-strong: rgba(244, 241, 234, 0.20);
  --text: #f4f1ea;
  --muted: #c9d1cc;
  --dim: #87938d;
  --accent: #d7b766;
  --teal: #78b8b0;
}

* {
  box-sizing: border-box;
}

body {
  margin: 0;
  min-height: 100vh;
  overflow-x: clip;
  background:
    linear-gradient(180deg, rgba(120, 184, 176, 0.07), transparent 540px),
    var(--bg);
}

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

.skip-link {
  position: absolute;
  z-index: 10;
  top: 12px;
  left: 24px;
  transform: translateY(-160%);
  padding: 9px 12px;
  border: 1px solid rgba(215, 183, 102, 0.7);
  border-radius: 6px;
  background: #0d1114;
  color: var(--text);
  font-size: 0.9rem;
  font-weight: 800;
}

.skip-link:focus {
  transform: translateY(0);
  outline: 2px solid var(--accent);
  outline-offset: 3px;
}

.site-header {
  position: absolute;
  z-index: 3;
  top: 0;
  left: 0;
  right: 0;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  max-width: 1180px;
  margin: 0 auto;
  padding: 24px;
}

.brand,
nav,
footer {
  display: flex;
  align-items: center;
  gap: 16px;
}

.brand {
  min-height: 38px;
  font-weight: 850;
}

.brand-mark {
  position: relative;
  display: grid;
  place-items: center;
  width: 34px;
  height: 34px;
  border: 1px solid rgba(215, 183, 102, 0.62);
  background:
    linear-gradient(135deg, rgba(215, 183, 102, 0.14), transparent 46%),
    rgba(8, 11, 13, 0.78);
  color: var(--accent);
  font-weight: 900;
  box-shadow: inset 0 0 0 1px rgba(244, 241, 234, 0.06);
}

.brand span:last-child {
  letter-spacing: 0.01em;
}

nav a,
footer a {
  color: #d6ddd8;
  font-size: 0.95rem;
  font-weight: 700;
}

nav a {
  padding: 8px 0;
  border-bottom: 1px solid transparent;
}

nav a:hover {
  color: var(--text);
  border-color: rgba(215, 183, 102, 0.7);
}

nav a[aria-current="page"] {
  color: var(--text);
  border-color: var(--accent);
}

.hero {
  position: relative;
  min-height: clamp(640px, 86vh, 860px);
  display: grid;
  align-items: end;
  overflow: hidden;
  padding: 112px 24px 64px;
}

.hero picture,
.hero img {
  position: absolute;
  inset: 0;
}

.hero picture {
  display: block;
}

.hero img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
}

.hero::after {
  content: "";
  position: absolute;
  inset: 0;
  background:
    linear-gradient(90deg, rgba(8, 11, 13, 0.96) 0%, rgba(8, 11, 13, 0.78) 38%, rgba(8, 11, 13, 0.20) 78%),
    linear-gradient(0deg, #080b0d 0%, rgba(8, 11, 13, 0) 32%);
}

.hero-copy {
  position: relative;
  z-index: 2;
  width: min(100%, 1180px);
  margin: 0 auto;
}

.eyebrow {
  margin: 0 0 14px;
  color: var(--accent);
  font-size: 0.78rem;
  font-weight: 850;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

h1,
h2,
h3,
p {
  letter-spacing: 0;
}

.hero h1 {
  max-width: 840px;
  margin: 0;
  font-size: clamp(2.9rem, 7.2vw, 6.1rem);
  line-height: 0.94;
}

.hero p:not(.eyebrow),
.page-heading p,
.band p,
article p,
.legal p {
  max-width: 720px;
  color: var(--muted);
  font-size: 1.08rem;
  line-height: 1.65;
}

.actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 30px;
}

.hero-proof {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 180px));
  gap: 10px;
  max-width: 620px;
  margin-top: 26px;
}

.hero-proof span {
  min-height: 76px;
  padding: 14px 16px;
  border: 1px solid rgba(244, 241, 234, 0.16);
  background: rgba(16, 21, 25, 0.76);
  box-shadow: inset 0 1px 0 rgba(244, 241, 234, 0.05);
}

.hero-proof strong,
.hero-proof small {
  display: block;
}

.hero-proof strong {
  color: var(--text);
  font-size: 0.95rem;
}

.hero-proof small {
  margin-top: 7px;
  color: var(--muted);
  font-size: 0.82rem;
  line-height: 1.35;
}

.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 46px;
  padding: 0 18px;
  border: 1px solid rgba(244, 241, 234, 0.28);
  border-radius: 6px;
  background: rgba(8, 11, 13, 0.72);
  color: var(--text);
  font-weight: 800;
}

.button.primary {
  border-color: var(--accent);
  background: var(--accent);
  color: #11140f;
}

.band,
.grid,
.signal-strip,
.assurance-band,
.section-heading,
.page,
.legal {
  width: min(100%, 1180px);
  margin: 0 auto;
  padding: 72px 24px;
}

.intro {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(280px, 520px);
  gap: 44px;
  align-items: start;
  border-bottom: 1px solid var(--line);
}

.intro h2,
.page-heading h1,
.section-heading h2,
.closing-band h2,
.procurement-note h2 {
  margin: 0;
  font-size: clamp(2rem, 5vw, 4rem);
  line-height: 1;
}

.signal-strip {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 12px;
  padding-top: 28px;
  padding-bottom: 24px;
}

.signal-item {
  min-height: 160px;
  padding: 26px;
  background: linear-gradient(180deg, rgba(120, 184, 176, 0.08), transparent), var(--panel);
  border: 1px solid var(--line);
}

.signal-item strong,
.proof-row strong {
  display: block;
  margin-bottom: 10px;
  color: var(--text);
  font-size: 1rem;
}

.signal-item span,
.proof-row p {
  display: block;
  margin: 0;
  color: var(--muted);
  line-height: 1.55;
}

.assurance-band {
  display: grid;
  grid-template-columns: minmax(0, 0.95fr) minmax(320px, 1.05fr);
  gap: 44px;
  align-items: start;
  padding-top: 48px;
  padding-bottom: 48px;
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
}

.assurance-band h2 {
  margin: 0;
  font-size: clamp(1.8rem, 4vw, 3.1rem);
  line-height: 1;
}

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

.assurance-grid span {
  min-height: 88px;
  padding: 18px;
  border: 1px solid var(--line);
  background: linear-gradient(180deg, rgba(120, 184, 176, 0.08), transparent), #0d1114;
  color: var(--text);
  font-weight: 850;
}

.section-heading {
  padding-bottom: 28px;
}

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

article,
.contact-panel {
  min-height: 230px;
  padding: 28px;
  background: linear-gradient(180deg, rgba(244, 241, 234, 0.025), transparent), var(--panel);
  border: 1px solid var(--line);
}

article span {
  color: var(--accent);
  font-weight: 900;
}

article h3,
.capability-list h2,
.contact-panel h2 {
  margin: 28px 0 10px;
  font-size: 1.25rem;
}

.page {
  padding-top: 132px;
}

.not-found {
  min-height: calc(100vh - 130px);
  display: grid;
  align-items: center;
}

.contact {
  overflow: hidden;
}

.page-heading {
  min-width: 0;
  padding-bottom: 48px;
  border-bottom: 1px solid var(--line);
}

.review-heading p {
  max-width: 840px;
}

.review-heading p + p {
  margin-top: 12px;
}

.proof-row {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 1px;
  margin-top: 36px;
}

.review-steps {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 1px;
  margin-top: 36px;
}

.review-steps article,
.review-details article {
  min-height: 0;
}

.review-steps article {
  padding: 26px;
}

.review-steps span {
  display: block;
  margin-bottom: 18px;
  color: var(--accent);
  font-weight: 900;
}

.review-steps h2 {
  margin: 0 0 16px;
  color: var(--text);
  font-size: 1.15rem;
}

.review-steps p,
.review-details p {
  margin: 0;
}

.review-steps p + p,
.review-details p + p {
  margin-top: 14px;
}

.review-list {
  display: grid;
  gap: 8px;
  margin: 16px 0;
  padding: 0;
  list-style: none;
}

.review-list li {
  position: relative;
  padding-left: 18px;
  color: var(--muted);
  line-height: 1.45;
}

.review-list li::before {
  content: "";
  position: absolute;
  top: 0.65em;
  left: 0;
  width: 6px;
  height: 6px;
  background: var(--accent);
}

.proof-row div {
  padding: 22px;
  background: var(--panel);
  border: 1px solid var(--line);
}

.proof-row span {
  display: block;
  margin-bottom: 18px;
  color: var(--accent);
  font-weight: 900;
}

.capability-list {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 1px;
  margin-top: 36px;
}

.tool-table {
  margin-top: 42px;
  border: 1px solid var(--line-strong);
  background: rgba(16, 21, 25, 0.48);
}

.table-row {
  display: grid;
  grid-template-columns: 1.1fr 1.6fr 0.8fr 0.8fr;
  gap: 18px;
  padding: 18px;
  border-bottom: 1px solid var(--line);
  background: rgba(16, 21, 25, 0.72);
}

.table-row:last-child {
  border-bottom: 0;
}

.table-row span {
  min-width: 0;
}

.table-row:not(.head) span:first-child {
  color: var(--text);
  font-weight: 800;
}

.table-row:not(.head) span:last-child {
  justify-self: start;
  padding: 4px 9px;
  border: 1px solid rgba(215, 183, 102, 0.26);
  color: #f3d98d;
  background: rgba(215, 183, 102, 0.08);
  font-size: 0.88rem;
  font-weight: 800;
}

.table-row.head {
  color: var(--accent);
  font-size: 0.78rem;
  font-weight: 850;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  background: var(--panel-strong);
}

.procurement-note,
.closing-band {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(280px, 500px);
  gap: 44px;
  align-items: start;
  margin-top: 48px;
  padding-top: 48px;
  border-top: 1px solid var(--line);
}

.contact-layout {
  display: grid;
  grid-template-columns: minmax(0, 1.15fr) minmax(320px, 0.85fr);
  gap: 18px;
  margin-top: 36px;
  min-width: 0;
}

.contact-panel {
  min-height: 0;
  min-width: 0;
}

.contact-panel h2 {
  margin-top: 0;
  font-size: 1.45rem;
}

.contact-panel.secondary {
  background: #0d1114;
}

.signal-card {
  min-width: 0;
  max-width: 760px;
  margin-top: 18px;
  overflow: hidden;
}

.pixel-card {
  width: min(100%, 760px);
  max-width: 100%;
  min-width: 0;
  aspect-ratio: 19 / 4.8;
  padding: clamp(14px, 2vw, 22px);
  border: 1px solid rgba(215, 183, 102, 0.48);
  border-radius: 8px;
  background:
    linear-gradient(135deg, rgba(215, 183, 102, 0.10), transparent 36%),
    linear-gradient(180deg, rgba(120, 184, 176, 0.08), transparent),
    #111820;
}

.pixel-screen {
  width: 100%;
  height: 100%;
  border-collapse: separate;
  border-spacing: 2px;
  table-layout: fixed;
}

.pixel-screen td {
  padding: 0;
  border-radius: 1px;
}

.pixel-screen td.light {
  background: #fff9e8;
  box-shadow: 0 0 10px rgba(255, 249, 232, 0.38);
}

.pixel-screen td.accent {
  background: #f0cf74;
  box-shadow: 0 0 10px rgba(240, 207, 116, 0.46);
}

.contact-list {
  display: grid;
  gap: 13px;
  margin: 18px 0 0;
  padding: 0;
  list-style: none;
}

.contact-list li {
  position: relative;
  padding-left: 20px;
  color: var(--muted);
  line-height: 1.55;
}

.contact-list li::before {
  content: "";
  position: absolute;
  top: 0.72em;
  left: 0;
  width: 7px;
  height: 7px;
  background: var(--accent);
}

.contact-panel a,
.legal a {
  color: var(--accent);
  text-decoration: underline;
  text-underline-offset: 4px;
}

.legal {
  max-width: 880px;
  padding-top: 132px;
}

.legal h1 {
  margin: 0 0 18px;
  font-size: clamp(2rem, 6vw, 4rem);
  line-height: 1;
}

.legal h2 {
  margin: 34px 0 8px;
  font-size: 1.2rem;
}

.legal h2::before {
  content: "";
  display: block;
  width: 34px;
  height: 2px;
  margin-bottom: 14px;
  background: var(--accent);
}

footer {
  justify-content: center;
  flex-wrap: wrap;
  padding: 34px 24px 46px;
  color: var(--dim);
  border-top: 1px solid var(--line);
}

@media (max-width: 960px) {
  .site-header {
    position: relative;
    flex-direction: row;
    align-items: center;
    justify-content: space-between;
    gap: 20px;
    padding: 16px 18px 14px;
    background: #080b0d;
  }

  nav {
    flex-wrap: wrap;
    gap: 12px 18px;
  }

  .brand {
    min-height: 32px;
  }

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

  .hero {
    min-height: auto;
    align-items: start;
    padding: 34px 18px 46px;
  }

  .hero img {
    object-position: 60% center;
  }

  .hero h1 {
    max-width: 780px;
    font-size: clamp(2.55rem, 8vw, 4.9rem);
    line-height: 0.98;
  }

  .hero p:not(.eyebrow) {
    max-width: 690px;
  }

  .hero-proof {
    grid-template-columns: repeat(3, minmax(0, 1fr));
    max-width: none;
    gap: 8px;
    margin-top: 22px;
  }

  .hero-proof span {
    min-height: 66px;
    padding: 12px 10px;
  }

  .hero-proof strong {
    font-size: 0.86rem;
  }

  .hero-proof small {
    font-size: 0.74rem;
  }

  .hero::after {
    background:
      linear-gradient(90deg, rgba(8, 11, 13, 0.94), rgba(8, 11, 13, 0.62)),
      linear-gradient(0deg, #080b0d 0%, rgba(8, 11, 13, 0) 36%);
  }

  .intro,
  .grid.three,
  .signal-strip,
  .assurance-band,
  .proof-row,
  .review-steps,
  .capability-list,
  .contact-layout,
  .procurement-note,
  .closing-band,
  .table-row {
    grid-template-columns: 1fr;
  }

  .page,
  .legal {
    padding-top: 56px;
  }

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

  .page {
    max-width: 100vw;
    padding-left: 18px;
    padding-right: 18px;
    overflow: hidden;
  }

  .contact-layout {
    display: flex;
    flex-direction: column;
    width: 100%;
    max-width: 100%;
  }

  .page-heading p,
  .contact-list li {
    overflow-wrap: anywhere;
  }

  article,
  .contact-panel {
    padding: 24px;
  }

  .contact-panel,
  .signal-card,
  .pixel-card {
    width: 100%;
    max-width: 100%;
  }

  .tool-table {
    display: grid;
    gap: 12px;
    border: 0;
    background: transparent;
  }

  .table-row.head {
    display: none;
  }

  .table-row {
    display: grid;
    gap: 16px;
    padding: 22px;
    border: 1px solid var(--line);
    background: linear-gradient(180deg, rgba(244, 241, 234, 0.025), transparent), var(--panel);
  }

  .table-row span {
    display: grid;
    gap: 6px;
  }

  .table-row span::before {
    content: attr(data-label);
    color: var(--accent);
    font-size: 0.72rem;
    font-weight: 850;
    letter-spacing: 0.1em;
    text-transform: uppercase;
  }

  .table-row:not(.head) span:last-child {
    justify-self: stretch;
    width: auto;
    max-width: 100%;
    padding: 0;
    border: 0;
    color: var(--text);
    background: transparent;
    font-size: 1rem;
    font-weight: 800;
  }

  .pixel-card {
    padding: 14px;
  }

  .pixel-screen {
    border-spacing: 1px;
  }
}

@media (max-width: 640px) {
  .site-header {
    flex-direction: column;
    align-items: flex-start;
    gap: 12px;
  }

  nav {
    gap: 10px 16px;
  }

  nav a {
    padding: 5px 0;
  }

  .hero {
    padding-top: 30px;
  }

  .actions {
    display: grid;
    grid-template-columns: 1fr;
  }

  .button {
    width: 100%;
  }

  .hero-proof {
    grid-template-columns: 1fr;
  }

  .hero-proof span {
    min-height: auto;
  }
}

@media (max-width: 430px) {
  .band,
  .grid,
  .signal-strip,
  .assurance-band,
  .section-heading,
  .page,
  .legal {
    padding-left: 18px;
    padding-right: 18px;
  }

  .contact-panel {
    padding: 20px;
  }

  .contact-panel h2 {
    font-size: 1.25rem;
  }

  .pixel-card {
    border-radius: 6px;
    padding: 12px;
  }

  .hero h1,
  .page-heading h1,
  .legal h1 {
    font-size: clamp(2.15rem, 13vw, 3.3rem);
    line-height: 0.98;
  }

  .hero p:not(.eyebrow),
  .page-heading p,
  .band p,
  article p,
  .legal p {
    font-size: 1rem;
    line-height: 1.6;
  }
}
