/* BootGhost black edition: the use-case pages (for.html, for-<slug>.html). Loaded after black.css; uses its tokens only,
   so look B (b.css) recolours these pages too. make-for-editions.js writes the pages. */
.crumbs { display: flex; flex-wrap: wrap; gap: .4rem; margin: 0 0 1.2rem; padding: 0; list-style: none; font-size: .95rem; color: var(--halo); }
.crumbs li + li::before { content: "/"; margin-right: .4rem; color: var(--seam); }
.head .copy > nav + h1 { margin-top: 0; }

.for-body { display: grid; gap: var(--near); }
.for-body > *, .for-body section { min-width: 0; }
.for-body > section { display: grid; gap: 1.1rem; scroll-margin-top: 6.5rem; }
.for-body h2 { font-size: clamp(2rem, 4.2vw, 3.25rem); margin-bottom: .4rem; }
.for-body h3 { margin-top: 1rem; }
.for-body p, .for-body li { max-width: 44em; }
.for-body > section > p, .guide > li, .for-body .qa p { color: var(--halo); }
.for-body strong { color: var(--white); }
.for-body code { font: 500 .92em var(--code); }
.for-intro { display: grid; gap: 1.2rem; }
.for-intro .answer { font-size: 1.3rem; line-height: 1.45; max-width: 36em; }
.facts { display: flex; flex-wrap: wrap; gap: .5rem; list-style: none; }
.facts li { border: 1.5px solid var(--white); border-radius: 99px; padding: .25em .9em; font-size: .95rem; font-weight: 600; }

/* the plan tables: sync-content.js writes their rows from use-cases.js and content.js */
.plans { width: 100%; border-collapse: collapse; font-variant-numeric: tabular-nums; }
.plans caption { caption-side: bottom; text-align: left; padding-top: .9rem; font-size: .9rem; color: var(--halo); }
.plans th, .plans td { padding: .85rem .8rem .85rem 0; border-top: 1px solid var(--seam); text-align: left; vertical-align: middle; }
.plans thead th { border-top: 0; font-size: .85rem; font-weight: 600; text-transform: lowercase; color: var(--halo); }
.plans tbody tr:last-child > * { border-bottom: 1px solid var(--seam); }
.plans tbody th { font-size: 1.2rem; font-weight: 700; letter-spacing: -.02em; }
.plans tbody th small { display: block; font-size: .85rem; font-weight: 400; letter-spacing: 0; color: var(--halo); }
.plans tbody th a { text-decoration: none; }
.plans .mono { font: 500 .95rem var(--code); white-space: nowrap; }
.plans .cost { font-size: 1.35rem; font-weight: 800; letter-spacing: -.03em; white-space: nowrap; }
.plans .cost i { font-style: normal; font-size: .7em; }
.plans .cost small { font-size: .8rem; font-weight: 400; letter-spacing: 0; color: var(--halo); }
.plans td.buy { padding-right: 0; text-align: right; white-space: nowrap; }
.plans td.buy .btn + .btn { margin-left: .4rem; }

.code { margin: .6rem 0 0; font: 500 .9rem/1.55 var(--code); color: var(--white); background: none; border: 1.5px solid var(--seam); border-radius: 3px; padding: .9rem 1rem; overflow-x: auto; white-space: pre; tab-size: 2; }
.guide { display: grid; gap: 1.2rem; padding-left: 1.4rem; }
.rules-box { border: 2px solid var(--white); border-radius: 3px; padding: clamp(1.2rem, 3vw, 2rem); display: grid; gap: .9rem; max-width: 52rem; }
.rules-box ul { display: grid; gap: .45rem; padding-left: 1.2rem; color: var(--halo); }
.mark-note { font-size: .95rem; color: var(--halo); }
.link-arrow { font-weight: 600; }
.qa details { border-top: 1px solid var(--seam); }
.qa details:last-child { border-bottom: 1px solid var(--seam); }
.qa summary { display: flex; justify-content: space-between; gap: 1.5rem; padding: 1.1rem 0; font-size: 1.25rem; font-weight: 600; letter-spacing: -.02em; line-height: 1.2; cursor: pointer; list-style: none; }
.qa summary::-webkit-details-marker { display: none; }
.qa summary::after { content: "+"; font-weight: 400; }
.qa details[open] summary::after { content: "\2212"; }
.qa details p { padding-bottom: 1.3rem; }
.for-end { display: grid; gap: 1.6rem; justify-items: start; }
.for-end p { display: flex; flex-wrap: wrap; gap: .8rem; }

/* a narrow window: each plan is a card, and the head of the table is for screen readers only */
@media (max-width: 760px) {
  .plans thead { position: absolute; width: 1px; height: 1px; overflow: hidden; clip-path: inset(50%); }
  .plans, .plans tbody, .plans tr, .plans th, .plans td { display: block; }
  .plans tbody tr { display: flex; flex-wrap: wrap; gap: .3rem 1rem; padding: 1rem 0; border-top: 1px solid var(--seam); }
  .plans tbody tr > * { border: 0 !important; padding: 0; }
  .plans tbody th { flex-basis: 100%; }
  .plans td.buy { flex-basis: 100%; text-align: left; margin-top: .4rem; }
  .plans tbody tr:last-child { border-bottom: 1px solid var(--seam); }
}
.ruled { list-style: none; display: grid; }
.ruled li { display: grid; grid-template-columns: minmax(8rem, 12rem) minmax(0, 1fr); gap: .3rem 2rem; padding: 1rem 0; border-top: 1px solid var(--seam); max-width: 52rem; }
.ruled li:last-child { border-bottom: 1px solid var(--seam); }
.ruled strong { font-size: 1.15rem; }
.ruled span { color: var(--halo); }
.plans td.mono + td.mono + td.mono + td.mono { white-space: normal; }
@media (max-width: 560px) { .ruled li { grid-template-columns: minmax(0, 1fr); } }
.code .c { color: var(--halo); }
