.pilot-hero { padding-bottom: clamp(64px, 8vw, 104px); }

.pilot-hero-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.35fr) minmax(280px, 0.65fr);
  gap: clamp(46px, 8vw, 112px);
  align-items: end;
}

.pilot-hero-copy { min-width: 0; }
.pilot-hero h1 { max-width: 10ch; }

.pilot-start-boundary {
  max-width: 63ch;
  margin: 24px 0 0;
  color: oklch(0.84 0.025 230);
  font-size: var(--type-support);
  line-height: 1.55;
}

.pilot-start-boundary strong { color: var(--calibration); }

.pilot-plate {
  position: relative;
  overflow: hidden;
  border: 1px solid oklch(0.8 0.03 230 / 0.55);
  border-radius: var(--radius-md);
  background: var(--harbor-950);
  box-shadow: 11px 11px 0 oklch(0.25 0.085 230);
}

.pilot-plate::before {
  position: absolute;
  inset: 0 auto 0 34%;
  width: 1px;
  background: oklch(0.7 0.03 230 / 0.2);
  content: "";
}

.pilot-plate-head {
  display: flex;
  justify-content: space-between;
  gap: 16px;
  padding: 14px 18px;
  border-bottom: 1px solid oklch(0.7 0.03 230 / 0.2);
  color: oklch(0.8 0.025 230);
  font-size: var(--type-meta);
  font-weight: 780;
}

.pilot-plate dl { position: relative; margin: 0; padding: 10px 18px; }
.pilot-plate dl div { display: grid; grid-template-columns: 34% minmax(0, 1fr); padding: 13px 0; }
.pilot-plate dt { color: oklch(0.76 0.025 230); font-size: var(--type-meta); }
.pilot-plate dd { margin: 0; padding-left: 18px; color: var(--white); font-family: var(--display); font-size: var(--type-body); font-weight: 850; }

.pilot-plate > p {
  display: flex;
  gap: 10px;
  align-items: center;
  margin: 0;
  padding: 14px 18px;
  border-top: 1px solid oklch(0.7 0.03 230 / 0.2);
  color: oklch(0.86 0.025 230);
  font-size: var(--type-meta);
  font-weight: 700;
}

.pilot-plate > p span { width: 8px; height: 8px; border-radius: 50%; background: var(--calibration); box-shadow: 0 0 0 4px oklch(0.88 0.18 115 / 0.16); }

.pilot-layout .guide-section { padding-block: 50px; }
.pilot-layout .guide-section:first-child { padding-top: 0; }

.pilot-fit-ledger {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  margin: 30px 0;
  border-block: 1px solid var(--line);
}

.pilot-fit-ledger section { padding: 25px 25px 28px 0; }
.pilot-fit-ledger section + section { padding-right: 0; padding-left: 25px; border-left: 1px solid var(--line); }
.pilot-fit-ledger h3 { display: flex; gap: 10px; align-items: center; margin: 0 0 17px; font-size: clamp(1.25rem, 2vw, 1.5rem); }
.pilot-fit-ledger h3 span { display: inline-grid; width: 30px; height: 30px; place-items: center; border-radius: 50%; background: var(--calibration); color: var(--harbor-950); font-family: var(--body); font-size: var(--type-support); font-weight: 900; }
.pilot-fit-ledger section + section h3 span { background: var(--harbor-700); color: var(--white); }
.pilot-fit-ledger ul { margin: 0; padding-left: 20px; }
.pilot-fit-ledger li { margin-bottom: 10px; font-size: var(--type-support); line-height: 1.55; }

.pilot-deliverables { margin: 28px 0 8px; border-block: 1px solid var(--line); }
.pilot-deliverables section { display: grid; grid-template-columns: 76px minmax(0, 1fr); gap: 22px; padding: 22px 0; border-top: 1px solid var(--line); }
.pilot-deliverables section:first-child { border-top: 0; }
.pilot-deliverables > section > span { padding-top: 3px; color: var(--harbor-600); font-family: var(--display); font-size: var(--type-support); font-weight: 900; }
.pilot-deliverables h3 { margin: 0 0 6px; font-size: clamp(1.2rem, 2vw, 1.45rem); }
.pilot-deliverables p { margin: 0; font-size: var(--type-support); line-height: 1.55; }

.pilot-sample {
  margin-top: 28px;
  border-block: 1px solid var(--line);
}

.pilot-sample-head {
  display: flex;
  justify-content: space-between;
  gap: 20px;
  align-items: start;
  padding: 22px 0;
}

.pilot-sample-head div { display: grid; gap: 4px; }
.pilot-sample-head div > span { color: var(--harbor-600); font-size: var(--type-meta); font-weight: 780; }
.pilot-sample-head strong { font-family: var(--display); font-size: var(--type-subhead); }
.pilot-sample-head > span { color: var(--muted); font-size: var(--type-meta); font-weight: 780; }
.pilot-sample ol { margin: 0; padding: 0; list-style: none; }
.pilot-sample li { display: grid; grid-template-columns: 86px minmax(0, 1fr); gap: 18px; padding: 17px 0; border-top: 1px solid var(--line); }
.pilot-sample li > span { color: var(--harbor-700); font-family: var(--display); font-size: var(--type-support); font-weight: 900; }
.pilot-sample li p { margin: 0; font-size: var(--type-support); line-height: 1.55; }
.pilot-sample li code { font-size: 0.86em; }

.pilot-sample-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px 20px;
  align-items: center;
  padding: 22px 0;
  border-top: 1px solid var(--line);
}

.pilot-sample-actions > a:not(.button) { display: inline-flex; align-items: center; min-height: 44px; color: var(--harbor-700); font-size: var(--type-support); font-weight: 700; }

.guide-section .pilot-process { margin: 28px 0 0; padding: 0; list-style: none; counter-reset: none; }
.guide-section .pilot-process li { display: grid; grid-template-columns: 48px minmax(0, 1fr); gap: 22px; max-width: none; margin: 0; padding: 22px 0; border-top: 1px solid var(--line); }
.pilot-process > li > span { display: grid; width: 42px; height: 42px; place-items: center; border: 2px solid var(--harbor-700); border-radius: 50%; color: var(--harbor-700); font-family: var(--display); font-weight: 900; }
.pilot-process h3 { margin: 0 0 7px; }
.pilot-process p { margin: 0; font-size: var(--type-support); line-height: 1.6; }

.pilot-ownership { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); margin: 28px 0; border-block: 1px solid var(--line); }
.pilot-ownership > div { display: grid; gap: 10px; padding: 24px 24px 24px 0; }
.pilot-ownership > div + div { padding-right: 0; padding-left: 24px; border-left: 1px solid var(--line); }
.pilot-ownership strong { margin-bottom: 5px; font-family: var(--display); font-size: var(--type-subhead); }
.pilot-ownership span { color: var(--muted); font-size: var(--type-support); }
.pilot-ownership span::before { margin-right: 9px; color: var(--harbor-600); content: "—"; }

.pilot-safety { margin: 28px 0 0; padding: 24px; border-radius: var(--radius-sm); background: var(--harbor-950); color: var(--white); }
.pilot-safety strong { display: block; margin-bottom: 6px; color: var(--calibration); font-family: var(--display); font-size: var(--type-subhead); }
.pilot-safety p { margin: 0; color: oklch(0.86 0.02 230); font-size: var(--type-support); line-height: 1.55; }
.pilot-next h2 { max-width: 15ch; }

.pilot-request-section { scroll-margin-top: 92px; }
.pilot-request-head { max-width: 70ch; }
.pilot-request-head > p:last-child { max-width: 67ch; }

.pilot-request-form {
  position: relative;
  margin-top: 32px;
  padding: clamp(22px, 4vw, 38px);
  border: 1px solid var(--line);
  border-radius: var(--radius-md);
  background: var(--surface);
}

.pilot-request-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 22px 20px;
}

.pilot-request-grid label {
  display: grid;
  gap: 8px;
  align-content: start;
  color: var(--ink);
  font-size: var(--type-support);
  font-weight: 780;
}

.pilot-request-grid .pilot-field-wide { grid-column: 1 / -1; }

.pilot-request-details {
  margin-top: 26px;
  padding-block: 16px;
  border-block: 1px solid var(--line);
}

.pilot-request-details > summary {
  display: grid;
  grid-template-columns: 24px minmax(0, 1fr) auto;
  gap: 10px;
  align-items: center;
  min-height: 48px;
  color: var(--ink);
  cursor: pointer;
  font-family: var(--display);
  font-size: var(--type-body);
  font-weight: 850;
  list-style: none;
}

.pilot-request-details > summary::-webkit-details-marker { display: none; }
.pilot-request-details > summary::before { color: var(--harbor-700); content: "+"; font-family: var(--body); font-size: var(--type-subhead); font-weight: 800; }
.pilot-request-details[open] > summary::before { content: "−"; }
.pilot-request-details > summary > span:last-child { color: var(--muted); font-family: var(--body); font-size: var(--type-meta); font-weight: 600; }
.pilot-request-details[open] > summary { margin-bottom: 22px; }

.pilot-request-grid input,
.pilot-request-grid select,
.pilot-request-grid textarea {
  width: 100%;
  min-width: 0;
  min-height: 48px;
  padding: 11px 12px;
  border: 1px solid var(--line);
  border-radius: var(--radius-sm);
  background: var(--white);
  color: var(--ink);
  font: inherit;
  font-weight: 450;
  line-height: 1.45;
}

.pilot-request-grid textarea { min-height: 98px; resize: vertical; }
.pilot-request-grid input::placeholder,
.pilot-request-grid textarea::placeholder { color: oklch(0.42 0.025 230); opacity: 1; }
.pilot-request-grid input:focus-visible,
.pilot-request-grid select:focus-visible,
.pilot-request-grid textarea:focus-visible { outline: 3px solid oklch(0.47 0.12 230 / 0.22); outline-offset: 1px; border-color: var(--harbor-600); }

.pilot-field-help { color: var(--muted); font-size: var(--type-meta); font-weight: 450; line-height: 1.45; }

.pilot-request-checks {
  display: grid;
  gap: 4px;
  margin: 30px 0 0;
  padding: 22px 0;
  border: 0;
  border-block: 1px solid var(--line);
}

.pilot-request-checks legend { padding: 0 0 12px; font-family: var(--display); font-size: var(--type-subhead); font-weight: 850; }
.pilot-request-checks label { display: grid; grid-template-columns: 24px minmax(0, 1fr); gap: 12px; align-items: start; min-height: 44px; padding: 8px 0; color: var(--ink); font-size: var(--type-support); line-height: 1.5; }
.pilot-request-checks input { width: 20px; height: 20px; margin: 2px 0 0; accent-color: var(--harbor-700); }
.pilot-request-checks input:focus-visible { outline: 3px solid var(--calibration); outline-offset: 3px; }

.pilot-request-action { display: flex; gap: 18px; align-items: center; margin-top: 24px; }
.pilot-request-action p { max-width: 42ch; margin: 0; color: var(--muted); font-size: var(--type-meta); line-height: 1.45; }
.pilot-request-action button:disabled { cursor: wait; opacity: 0.68; transform: none; }

.pilot-request-status { min-height: 24px; margin: 14px 0 0; font-size: var(--type-support); line-height: 1.5; }
.pilot-request-status.is-error { color: var(--signal-red); }
.pilot-request-status.is-success { color: var(--harbor-700); font-weight: 700; }

.pilot-request-result {
  margin-top: 18px;
  padding: 22px;
  border-radius: var(--radius-sm);
  background: var(--harbor-950);
  color: var(--white);
}

.pilot-request-result > span { display: block; margin-bottom: 7px; color: var(--calibration); font-size: var(--type-meta); font-weight: 780; }
.pilot-request-result strong { display: block; color: var(--white); font-family: var(--display); font-size: var(--type-subhead); }
.pilot-request-result p { margin: 8px 0 0; color: oklch(0.86 0.02 230); font-size: var(--type-support); line-height: 1.5; overflow-wrap: anywhere; }

.pilot-github-alternative { margin: 22px 0 0; color: var(--muted); font-size: var(--type-support); line-height: 1.5; }
.pilot-github-alternative a { color: var(--harbor-700); font-weight: 700; }

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

@media (max-width: 880px) {
  .pilot-hero-grid { grid-template-columns: 1fr; align-items: start; }
  .pilot-plate { width: min(100%, 470px); }
}

@media (max-width: 620px) {
  .pilot-fit-ledger,
  .pilot-ownership { grid-template-columns: 1fr; }
  .pilot-fit-ledger section,
  .pilot-fit-ledger section + section,
  .pilot-ownership > div,
  .pilot-ownership > div + div { padding: 22px 0; border-left: 0; }
  .pilot-fit-ledger section + section,
  .pilot-ownership > div + div { border-top: 1px solid var(--line); }
  .pilot-request-grid { grid-template-columns: 1fr; }
  .pilot-request-grid .pilot-field-wide { grid-column: auto; }
  .pilot-request-details > summary { grid-template-columns: 24px minmax(0, 1fr); }
  .pilot-request-details > summary > span:last-child { grid-column: 2; }
  .pilot-request-action { align-items: stretch; flex-direction: column; }
  .pilot-request-action .button { width: 100%; }
  .pilot-sample-head { flex-direction: column; gap: 8px; }
  .pilot-sample-actions { align-items: stretch; flex-direction: column; }
  .pilot-sample-actions .button { width: 100%; }
}

@media (max-width: 480px) {
  .pilot-hero h1 { font-size: clamp(2.45rem, 12vw, 3.6rem); }
  .pilot-plate { width: calc(100% - 8px); box-shadow: 8px 8px 0 oklch(0.25 0.085 230); }
  .guide-section .pilot-process li { grid-template-columns: 40px minmax(0, 1fr); gap: 15px; }
  .pilot-process > li > span { width: 36px; height: 36px; }
}
