.local-pilot {
  background: #12192b;
  color: #f5faf8;
}

.pilot-intro {
  display: grid;
  grid-template-columns: minmax(0,.85fr) minmax(0,1.25fr);
  align-items: center;
  gap: clamp(2rem,5vw,5rem);
  padding-block: clamp(2.6rem,5vw,4.8rem);
}

.pilot-label {
  font-size: .8rem;
  letter-spacing: .1em;
  text-transform: uppercase;
  font-weight: 750;
  color: #17604e;
}

.local-pilot .pilot-label {
  color: #94f4bb;
}

.local-pilot h1 {
  font-size: clamp(3.2rem,6.4vw,6rem);
  margin: .5rem 0 .9rem;
}

.local-pilot p:not(.pilot-label) {
  max-width: 45ch;
  color: #d9e3e6;
  line-height: 1.55;
}

.local-pilot .button {
  margin-top: 1.1rem;
}

.pilot-body {
  padding-bottom: 3.5rem;
}

.pilot-body section {
  padding: clamp(2rem,4.7vw,4rem) 0;
  border-bottom: 1px solid #bfccc6;
}

.pilot-body h2 {
  font-size: clamp(2rem,4vw,3.2rem);
}

.pilot-measures {
  display: grid;
  grid-template-columns: repeat(3,1fr);
  gap: .65rem;
  margin: 1.15rem 0 .75rem;
}

.pilot-measures article {
  display: grid;
  grid-template-rows: auto auto 1fr auto;
  gap: .6rem;
  padding: clamp(1.1rem, 2.8vw, 1.9rem);
  border-radius: .55rem;
  background: #deeeeb;
}

.pilot-measures article:nth-child(2) { background: #e3e9fb; }
.pilot-measures article:nth-child(3) { background: #eee6fa; }
.pilot-measures h3 { font-size: 1.35rem; }
.pilot-measures a { font-weight: 680; }
.plan-lede { max-width: 65ch; margin-top: .8rem; color: var(--muted); }
.pilot-people p + p { margin-top: .85rem; }
.plan-note { padding: 1rem; border-left: 3px solid #53978a; background: #edf3ef; }
.plan-evidence { margin: 0; }
.pilot-people .plan-evidence dt:first-child { margin: 0; }

.permission-example {
  margin: 0;
  padding: clamp(1rem, 3vw, 2rem);
  border: 1px solid #495b70;
  border-radius: .7rem;
  background: #182840;
  color: #f1f5f8;
}
.permission-example figcaption { margin-bottom: 1.2rem; font: 730 clamp(1.5rem,3vw,2.1rem)/1.13 var(--display); }
.permission-example small { display: block; color: #9fe6d5; font: 520 .9rem/1.4 var(--display); margin-top: .4rem; }
.permission-example div { display: flex; align-items: center; gap: .9rem; border-top: 1px solid #536079; padding: 1rem 0; }
.permission-example div:last-child { padding-bottom: 0; }
.permission-example img { width: clamp(2.6rem,6vw,3.9rem); height: auto; flex: none; }
.permission-example strong { display: block; margin-bottom: .25rem; color: white; }

.pilot-people {
  display: grid;
  grid-template-columns: minmax(0,1fr) minmax(0,1.6fr);
  gap: clamp(1.1rem,5vw,5rem);
}

.pilot-label+h2 {
  margin-top: .5rem;
}

.pilot-people dt {
  font-weight: 740;
  margin-top: 1.1rem;
}

.pilot-people dd {
  margin: .18rem 0 0;
  color: var(--muted);
}

.pilot-rehearse ol {
  list-style: none;
  padding: 0;
  display: grid;
  grid-template-columns: repeat(2,minmax(0,1fr));
  gap: 1rem 2rem;
  margin: 1.4rem 0 0;
}

.pilot-rehearse li {
  display: flex;
  align-items: flex-start;
  gap: .9rem;
  border-top: 2px solid #839c96;
  padding: 1rem 0;
}

.pilot-rehearse img {
  width: 3.8rem;
  height: auto;
}

.pilot-rehearse h3 {
  font-size: 1.24rem;
  line-height: 1.25;
}

.pilot-rehearse p {
  margin-top: .4rem;
  color: var(--muted);
}

.steward-notes {
  margin-top: 1.15rem;
}

.steward-notes summary {
  font-weight: 680;
}

.steward-notes p {
  margin: .65rem 0;
}

.steward-notes code {
  overflow-wrap: anywhere;
}

@media(max-width:760px) {
  .pilot-intro,.pilot-people,.pilot-rehearse ol {
    grid-template-columns: 1fr;
  }
  .pilot-intro {
    gap: 1.4rem;
  }
}

@media(max-width:560px) {
  .pilot-measures {
    grid-template-columns: 1fr;
  }
  .pilot-rehearse img {
    width: 2.8rem;
  }
}


@media print {
  .local-pilot, .pilot-measures article { background: white; color: black; }
  .local-pilot .pilot-label, .local-pilot p:not(.pilot-label) { color: black; }
  .pilot-intro { display: block; padding: 0; }
  .pilot-intro figure, .local-pilot .button, .site-footer { display: none; }
  .pilot-intro h1 { font-size: 26pt; }
  .pilot-body section { padding-block: 1rem; }
  .pilot-people { display: block; }
  .pilot-body h2 { font-size: 18pt; break-after: avoid; }
  .pilot-rehearse li, .pilot-measures article { break-inside: avoid; }
}
