/* Docs: a short starfield header, then a side index and one long guide. Callouts, step lists and a
   fuel-flow diagram drawn with the site's icons and bots. Undecided facts stay as [PLACEHOLDERS]. */

.dc {
  background: var(--page);
  color: var(--text);
}
.dc-head {
  position: relative;
  isolation: isolate;
  overflow: clip;
  padding-top: 140px;
  padding-bottom: 56px;
  background: #000;
}
.dc-stars {
  position: absolute;
  inset: 0;
  z-index: -1;
  background: #000 url(../assets/6154246d314fea2001bff264427e012d.png) center top / max(100%, 1100px) auto no-repeat;
  transform: scaleX(-1);
  image-rendering: pixelated;
  pointer-events: none;
}
.dc-title {
  display: flex;
  flex-direction: column;
  margin: 0 0 24px;
  text-wrap: balance;
}
.dc-title-2 {
  color: var(--text-3);
}
.dc-lede {
  max-width: 640px;
  margin: 0;
  color: var(--text-2);
}

.dc-body {
  display: flex;
  flex-wrap: wrap;
  align-items: flex-start;
  gap: 48px;
  padding-block: 56px 96px;
}
.dc-index {
  position: relative;
  z-index: 45;
  flex: 1 1 220px;
  max-width: 280px;
  display: grid;
  gap: 4px;
  padding: 16px;
  background: var(--surface);
}
.dc-index p {
  margin: 4px 0 8px;
  color: var(--text-3);
  text-transform: uppercase;
}
.dc-index a {
  display: flex;
  gap: 10px;
  padding: 8px 10px;
  color: var(--text-2);
  text-decoration: none;
  clip-path: var(--px-notch);
  transition: color 150ms cubic-bezier(0.4, 0, 0.2, 1);
}
.dc-index a:hover {
  background: var(--surface-2);
  color: #fff;
}
.dc-index a span {
  color: var(--accent);
}
.dc-main {
  flex: 999 1 560px;
  min-width: 0;
  display: grid;
  gap: 72px;
}
.dc-sec {
  display: grid;
  gap: 20px;
  max-width: 820px;
}
.dc-sec > h2 {
  margin: 0;
  text-wrap: balance;
}
.dc-sec h3 {
  margin: 12px 0 0;
  color: #fff;
}
.dc-sec p {
  margin: 0;
  color: var(--text-2);
  text-wrap: pretty;
}
.dc-sec p b {
  font-weight: 400;
  color: #fff;
}
.dc-eyebrow {
  display: flex;
  align-items: center;
  gap: 12px;
  margin: 0;
  color: var(--accent);
}
.dc-ph {
  padding: 0 6px;
  background: var(--surface-2);
  color: var(--copper-400);
}

/* Callout */
.dc-note {
  position: relative;
  padding: 12px;
}
.dc-note > .pframe {
  color: var(--surface-2);
}
.dc-note-in {
  display: grid;
  gap: 8px;
  padding: 18px 20px;
  background: var(--surface);
}
.dc-note-in p:first-child {
  color: var(--accent);
  text-transform: uppercase;
}

/* Steps */
.dc-steps {
  display: grid;
  gap: 10px;
  margin: 0;
  padding: 0;
  list-style: none;
  counter-reset: dc;
}
.dc-steps li {
  display: grid;
  grid-template-columns: 40px minmax(0, 1fr);
  gap: 14px;
  align-items: start;
  padding: 14px 16px;
  background: var(--surface);
  color: var(--text-2);
  counter-increment: dc;
}
.dc-steps li::before {
  content: counter(dc, decimal-leading-zero);
  display: grid;
  place-items: center;
  width: 40px;
  height: 32px;
  background: var(--surface-2);
  color: var(--accent);
  font-family: var(--font-caption);
  clip-path: var(--px-notch);
}
.dc-steps b {
  font-weight: 400;
  color: #fff;
}

/* Fuel flow diagram */
.dc-flow {
  display: flex;
  flex-wrap: wrap;
  align-items: stretch;
  gap: 8px;
  margin: 4px 0;
  padding: 0;
  list-style: none;
}
.dc-flow li {
  flex: 1 1 120px;
  display: grid;
  justify-items: start;
  gap: 8px;
  padding: 14px;
  background: var(--surface);
  color: var(--text-2);
}
.dc-flow li b {
  font-weight: 400;
  color: #fff;
}
.dc-flow li.is-end {
  background: var(--surface-2);
}

/* Roles table */
.dc-roles {
  display: grid;
  grid-template-columns: minmax(0, 1fr);
  gap: 8px;
}
@media (min-width: 720px) {
  .dc-roles { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
.dc-role {
  display: flex;
  gap: 14px;
  align-items: center;
  padding: 14px 16px;
  background: var(--surface);
}
.dc-role b {
  display: block;
  margin-bottom: 4px;
  font-weight: 400;
  color: #fff;
}
.dc-role span {
  color: var(--text-2);
}

/* FAQ */
.dc-faq {
  display: grid;
  gap: 8px;
}
.dc-faq details {
  background: var(--surface);
}
.dc-faq summary {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  padding: 16px 18px;
  color: #fff;
  cursor: pointer;
  list-style: none;
}
.dc-faq summary::-webkit-details-marker {
  display: none;
}
.dc-faq summary::after {
  content: '+';
  color: var(--accent);
  font-family: var(--font-caption);
}
.dc-faq details[open] summary::after {
  content: '−';
}
.dc-faq details p {
  padding: 0 18px 18px;
}

/* glossary and what's new */
.dc-gloss {
  display: grid;
  grid-template-columns: minmax(0, 1fr);
  gap: 10px 24px;
  margin: 0;
}
@media (min-width: 900px) {
  .dc-gloss { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
.dc-gloss div {
  display: grid;
  gap: 2px;
}
.dc-gloss dt {
  color: #fff;
}
.dc-gloss dd {
  margin: 0;
  color: var(--text-2);
}
.dc-log {
  display: grid;
  gap: 12px;
  margin: 0;
  padding: 0;
  list-style: none;
}
.dc-log li {
  display: grid;
  gap: 2px;
  padding-left: 14px;
  box-shadow: inset 2px 0 0 var(--accent);
}
.dc-log b {
  font-weight: 400;
  color: #fff;
}
.dc-log span {
  color: var(--text-2);
}
