:root {
  color-scheme: dark;
  --bg: #07090d;
  --panel: #10151d;
  --panel-2: #151b24;
  --text: #f4f7fb;
  --muted: #9aa6b5;
  --line: #293340;
  --accent: #2491ff;
  --accent-2: #70c1ff;
  --danger: #ff6b6b;
  --success: #46d18c;
  font-family: Inter, Manrope, "IBM Plex Sans", system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  background: var(--bg);
  color: var(--text);
  font-size: 16px;
  line-height: 1.55;
}

a {
  color: inherit;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 20;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  padding: 18px clamp(20px, 5vw, 72px);
  background: rgba(7, 9, 13, 0.9);
  border-bottom: 1px solid var(--line);
  backdrop-filter: blur(16px);
}

.brand {
  display: inline-flex;
  align-items: baseline;
  gap: 10px;
  text-decoration: none;
  white-space: nowrap;
}

.brand-main {
  font-weight: 760;
  font-size: 20px;
}

.brand-sub {
  color: var(--muted);
  font-size: 12px;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.header-nav {
  display: flex;
  gap: 22px;
  color: var(--muted);
  font-size: 14px;
}

.header-nav a {
  text-decoration: none;
}

.header-nav a:hover {
  color: var(--text);
}

.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 48px;
  padding: 0 20px;
  border: 1px solid #58adff;
  border-radius: 8px;
  background: var(--accent);
  color: #03101f;
  font-weight: 760;
  text-decoration: none;
  cursor: pointer;
}

.button:hover {
  background: var(--accent-2);
}

.button-small {
  min-height: 38px;
  padding: 0 14px;
  font-size: 14px;
}

.hero {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(360px, 520px);
  gap: clamp(32px, 5vw, 76px);
  align-items: center;
  min-height: calc(100vh - 76px);
  padding: clamp(56px, 8vw, 96px) clamp(20px, 5vw, 72px) 44px;
  border-bottom: 1px solid var(--line);
}

.hero h1,
.section h2,
.legal h1 {
  margin: 0;
  max-width: 880px;
  font-weight: 780;
  line-height: 1.05;
  letter-spacing: 0;
}

.hero h1 {
  font-size: clamp(42px, 6vw, 76px);
}

.lead {
  max-width: 650px;
  margin: 24px 0 0;
  color: #d5dde8;
  font-size: 21px;
}

.eyebrow {
  margin: 0 0 12px;
  color: var(--accent-2);
  font-size: 12px;
  font-weight: 760;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.hero-actions {
  margin-top: 32px;
}

.pilot-note,
.muted {
  max-width: 720px;
  margin: 22px 0 0;
  color: var(--muted);
}

.hero-visual {
  position: relative;
  min-height: 470px;
}

.blueprint {
  position: absolute;
  inset: 0 54px 54px 0;
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: 8px;
  background:
    linear-gradient(rgba(36, 145, 255, 0.15) 1px, transparent 1px),
    linear-gradient(90deg, rgba(36, 145, 255, 0.15) 1px, transparent 1px),
    #0b1018;
  background-size: 28px 28px;
}

.axis {
  position: absolute;
  background: rgba(112, 193, 255, 0.5);
}

.axis-x {
  left: 32px;
  right: 32px;
  bottom: 74px;
  height: 1px;
}

.axis-y {
  top: 32px;
  bottom: 32px;
  left: 74px;
  width: 1px;
}

.part {
  position: absolute;
  border: 2px solid var(--accent-2);
  background: rgba(36, 145, 255, 0.08);
}

.part::after {
  content: "";
  position: absolute;
  width: 42px;
  height: 42px;
  border: 2px solid var(--accent-2);
  border-radius: 50%;
}

.part-a {
  width: 190px;
  height: 120px;
  top: 84px;
  left: 112px;
}

.part-a::after {
  top: 36px;
  left: 70px;
}

.part-b {
  width: 150px;
  height: 170px;
  right: 58px;
  bottom: 96px;
  clip-path: polygon(0 0, 100% 0, 100% 70%, 72% 100%, 0 100%);
}

.part-b::after {
  top: 54px;
  left: 48px;
}

.measure {
  position: absolute;
  color: var(--accent-2);
  font-size: 12px;
  font-weight: 700;
}

.measure-top {
  top: 20px;
  left: 112px;
}

.measure-side {
  right: 24px;
  top: 44px;
}

.request-card {
  position: absolute;
  right: 0;
  bottom: 0;
  width: min(320px, 80%);
  border: 1px solid var(--line);
  border-radius: 8px;
  background: #111822;
  box-shadow: 0 26px 80px rgba(0, 0, 0, 0.35);
}

.request-head {
  display: flex;
  flex-direction: column;
  gap: 6px;
  padding: 18px;
  border-bottom: 1px solid var(--line);
}

.request-head span,
.request-card dt,
.capability-grid span {
  color: var(--muted);
  font-size: 12px;
  text-transform: uppercase;
}

.request-card dl,
.detail-list {
  margin: 0;
  padding: 18px;
}

.request-card dl div,
.detail-list div {
  display: flex;
  justify-content: space-between;
  gap: 18px;
  padding: 10px 0;
  border-bottom: 1px solid rgba(41, 51, 64, 0.7);
}

.request-card dd,
.detail-list dd {
  margin: 0;
  text-align: right;
}

.section {
  padding: 82px clamp(20px, 5vw, 72px);
  border-bottom: 1px solid var(--line);
}

.section-head {
  display: flex;
  flex-direction: column;
  gap: 4px;
  margin-bottom: 30px;
}

.section h2,
.legal h1 {
  font-size: clamp(30px, 4vw, 48px);
}

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

.capability-grid div,
.task-grid article {
  min-height: 128px;
  padding: 20px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--panel);
}

.capability-grid strong {
  display: block;
  margin-top: 12px;
  font-size: 19px;
  line-height: 1.25;
}

.steps {
  display: grid;
  grid-template-columns: repeat(5, minmax(0, 1fr));
  gap: 10px;
  padding: 0;
  margin: 0;
  list-style: none;
}

.steps li {
  min-height: 150px;
  padding: 18px;
  border-top: 2px solid var(--accent);
  background: var(--panel);
}

.steps span {
  display: block;
  margin-bottom: 34px;
  color: var(--accent-2);
  font-weight: 800;
}

.task-grid h3 {
  margin: 0 0 12px;
  font-size: 20px;
}

.task-grid p,
.project-band p,
.form-copy p {
  color: var(--muted);
}

.project-band {
  display: grid;
  grid-template-columns: minmax(0, 0.9fr) minmax(340px, 1fr);
  gap: 44px;
  align-items: center;
}

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

.flow span {
  position: relative;
  min-height: 96px;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 12px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--panel);
  text-align: center;
  font-weight: 700;
}

.flow .control {
  border-color: var(--accent);
  background: rgba(36, 145, 255, 0.14);
}

.application-section {
  display: grid;
  grid-template-columns: minmax(280px, 0.7fr) minmax(420px, 1fr);
  gap: 42px;
  align-items: start;
}

.application-form {
  display: grid;
  gap: 16px;
  padding: 22px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--panel);
}

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

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

.field label,
.check {
  color: #d9e1eb;
  font-size: 14px;
  font-weight: 650;
}

input,
textarea,
select {
  width: 100%;
  border: 1px solid #344151;
  border-radius: 8px;
  background: #090d13;
  color: var(--text);
  font: inherit;
}

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

textarea {
  resize: vertical;
  padding: 12px;
}

input:focus,
textarea:focus,
select:focus {
  outline: 2px solid rgba(36, 145, 255, 0.5);
  border-color: var(--accent);
}

.check {
  display: flex;
  align-items: flex-start;
  gap: 10px;
}

.check input {
  width: 18px;
  min-height: 18px;
  margin-top: 3px;
}

.check a {
  color: var(--accent-2);
}

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

.button-submit {
  width: 100%;
  margin-top: 4px;
  border: 0;
}

.button-submit:disabled {
  opacity: 0.65;
  cursor: wait;
}

.form-status {
  min-height: 24px;
  margin: 0;
  color: var(--muted);
}

.form-status.error {
  color: var(--danger);
}

.form-status.success {
  color: var(--success);
}

.site-footer {
  display: flex;
  flex-wrap: wrap;
  gap: 16px 28px;
  padding: 32px clamp(20px, 5vw, 72px);
  color: var(--muted);
  font-size: 14px;
}

.legal {
  max-width: 980px;
  padding: 70px clamp(20px, 5vw, 72px);
}

.legal section {
  margin-top: 38px;
}

.legal h2 {
  font-size: 24px;
}

.admin-body {
  background: #0b0f15;
}

.admin-shell {
  width: min(1180px, calc(100% - 32px));
  margin: 40px auto;
}

.admin-table-wrap {
  overflow-x: auto;
  border: 1px solid var(--line);
  border-radius: 8px;
}

.admin-table {
  width: 100%;
  border-collapse: collapse;
  background: var(--panel);
  min-width: 900px;
}

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

.admin-actions {
  margin-top: 28px;
}

.status-form {
  display: flex;
  gap: 12px;
  max-width: 420px;
}

@media (max-width: 980px) {
  .header-nav {
    display: none;
  }

  .hero,
  .project-band,
  .application-section {
    grid-template-columns: 1fr;
  }

  .hero {
    min-height: auto;
  }

  .hero-visual {
    min-height: 420px;
  }

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

  .steps,
  .flow {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 640px) {
  .site-header {
    padding: 14px 16px;
  }

  .brand-sub {
    display: none;
  }

  .button-small {
    max-width: 156px;
  }

  .hero,
  .section {
    padding-left: 16px;
    padding-right: 16px;
  }

  .hero h1 {
    font-size: 39px;
  }

  .lead {
    font-size: 18px;
  }

  .hero-visual {
    min-height: 360px;
  }

  .blueprint {
    inset: 0 0 70px 0;
  }

  .request-card {
    width: 92%;
  }

  .capability-grid,
  .task-grid,
  .split {
    grid-template-columns: 1fr;
  }
}
