.hosting-resources {
  padding-block: 1.5rem 0.5rem;
  overflow-wrap: anywhere;
}
.hosting-resources [hidden] {
  display: none;
}
.res-crumb {
  display: flex;
  align-items: baseline;
  color: var(--muted);
  font-size: 0.875rem;
}
.res-crumb > * + *::before {
  content: '/';
  padding-inline: 0.65rem;
  color: var(--muted);
}
.res-crumb a {
  flex: none;
}
.res-crumb [aria-current] {
  min-width: 0;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}
.approved-site .inner .res-crumb a:not(.button) {
  text-decoration: none;
}
.approved-site .inner .res-crumb a:hover {
  text-decoration: underline;
}
.res-intro {
  padding-block: clamp(2rem, 4.2vw, 3.5rem) clamp(1.75rem, 3.5vw, 3rem);
}
.hosting-resources .res-intro h1 {
  max-width: 25ch;
  font-size: clamp(2.25rem, 4.2vw, 3.7rem);
  letter-spacing: -0.035em;
  line-height: 1.06;
  text-wrap: balance;
}
.hosting-resources .res-intro p {
  max-width: 65ch;
  margin-top: 0.95rem;
  font-size: 1.08rem;
  line-height: 1.6;
}
.res-index-head {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(13rem, 18rem);
  align-items: end;
  gap: 1.75rem;
}
.res-jumps,
.res-more {
  display: flex;
  flex-wrap: wrap;
  gap: 0.65rem 1.35rem;
  font-size: 0.9rem;
  font-weight: 650;
}
.res-jumps {
  margin-top: 1.25rem;
}
.res-jumps a:hover,
.res-more a:hover {
  color: var(--yellow);
}
.res-jumps a::after {
  content: '↓';
  margin-inline-start: 0.35rem;
}
.res-group {
  display: grid;
  grid-template-columns: minmax(11rem, 0.5fr) minmax(0, 1.5fr);
  align-items: start;
  gap: clamp(2rem, 6vw, 5rem);
  padding-block: 1.8rem 2.5rem;
  border-top: 1px solid var(--border);
}
.hosting-resources .res-group h2 {
  font-size: clamp(1.45rem, 2.4vw, 1.9rem);
  max-width: 16ch;
  line-height: 1.18;
  scroll-margin-top: 1.5rem;
}
.res-list,
.res-outline ul {
  list-style: none;
  padding: 0;
  margin: 0;
}
.res-list li + li,
.res-blog > .res-list {
  border-top: 1px solid var(--border);
}
.approved-site .inner .res-list a:not(.button) {
  text-decoration: none;
}
.res-list a {
  display: grid;
  grid-template-columns: auto minmax(0, 1fr) auto;
  gap: 1.2rem;
  padding-block: 1.15rem;
  align-items: baseline;
}
.res-group .res-list li:first-child a:not(.button) {
  padding-top: 0;
}
.res-topic {
  display: inline-flex;
  align-items: center;
  gap: 0.6rem;
  color: var(--muted);
  font-size: 0.9rem;
  font-weight: 650;
}
.res-topic .i {
  align-self: center;
  color: var(--yellow);
  width: 1.05rem;
  height: 1.05rem;
}
.res-blog .res-list a:not(.button) {
  grid-template-columns: minmax(8rem, 0.38fr) minmax(0, 1.6fr) auto;
}
.res-list a > .i {
  width: 0.85rem;
  height: 0.85rem;
  color: var(--muted);
  transform: rotate(180deg);
}
.res-list strong {
  font-size: 1.18rem;
  letter-spacing: -0.015em;
  line-height: 1.3;
}
.hosting-resources .res-list p {
  margin: 0.35rem 0 0;
  font-size: 0.95rem;
  max-width: 71ch;
  line-height: 1.6;
}
.res-list a:is(:hover, :focus-visible) strong {
  color: var(--yellow);
  text-decoration: underline;
  text-underline-offset: 0.2em;
}
.res-more {
  padding-block: 1.25rem;
  border-top: 1px solid var(--border);
}
.res-layout {
  display: grid;
  grid-template-columns: minmax(11rem, 15rem) minmax(0, 68ch);
  align-items: start;
  gap: clamp(2.5rem, 6vw, 5rem);
  padding-top: clamp(1.5rem, 3.5vw, 2.75rem);
  border-top: 1px solid var(--border);
}
.res-outline {
  position: sticky;
  top: 1.25rem;
  max-height: calc(100dvh - 2.5rem);
  overflow: auto;
  overscroll-behavior: contain;
  padding: 3px;
  font-size: 0.93rem;
}
.res-outline summary {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  padding: 0.55rem 0.2rem 0.65rem;
  color: var(--text);
  font-weight: 700;
  cursor: pointer;
  list-style: none;
}
.res-outline summary::-webkit-details-marker {
  display: none;
}
.res-outline summary::after {
  content: '';
  width: 0.4rem;
  height: 0.4rem;
  margin-inline-end: 0.4rem;
  border: solid currentColor;
  border-width: 0 1.5px 1.5px 0;
  transform: rotate(45deg);
}
.res-outline details[open] summary::after {
  transform: rotate(225deg);
}
.res-outline ul {
  border-inline-start: 1px solid var(--border);
}
.approved-site .inner .res-outline a:not(.button) {
  display: block;
  padding: 0.55rem 1rem;
  color: var(--muted);
  line-height: 1.4;
  text-decoration: none;
}
.approved-site .inner .res-outline a:hover,
.approved-site .inner .res-outline a:focus-visible {
  color: var(--yellow);
  background: var(--surface);
  text-decoration: underline;
}
.approved-site .inner .res-outline a[aria-current='location'] {
  color: var(--yellow);
  box-shadow: inset 1px 0 var(--yellow);
}
.res-outline :is(summary, a):focus-visible {
  outline-offset: -2px;
}
.res-prose {
  min-width: 0;
  font-size: 1.0625rem;
}
.res-prose h2 {
  font-size: clamp(1.45rem, 2.1vw, 1.85rem);
  line-height: 1.2;
  scroll-margin-top: 1.5rem;
}
.res-prose h2:target {
  color: var(--yellow);
}
.hosting-resources .res-prose :is(p, ul, ol) {
  margin: 1rem 0 0;
  line-height: 1.75;
  color: #cccbd2;
}
.res-prose strong,
.res-prose a {
  color: var(--text);
}
.res-prose a:hover {
  color: var(--yellow);
}
.res-prose :is(ol, ul) {
  padding-inline-start: 1.65rem;
}
.res-prose li {
  padding-inline-start: 0.2rem;
}
.res-prose ol {
  list-style: decimal outside;
}
.res-prose ul {
  list-style: disc outside;
}
.res-prose li + li {
  margin-top: 0.7rem;
}
.res-prose li::marker {
  color: var(--yellow);
}
.res-prose section + section,
.res-prose footer {
  margin-top: 2.25rem;
  border-top: 1px solid var(--border);
  padding-top: 1.75rem;
}
.res-prose :not(pre) > code {
  padding: 0.08em 0.25em;
  border-radius: 3px;
  background: var(--raised);
  color: var(--text);
  font-size: 0.88em;
}
.res-prose figure {
  margin: 1.15rem 0;
  border: 1px solid var(--border);
  border-radius: 7px;
  overflow: hidden;
}
.res-prose figcaption {
  padding: 0.65rem 1rem;
  background: var(--surface);
  border-bottom: 1px solid var(--border);
  font-size: 0.84rem;
  font-weight: 650;
}
.res-prose pre {
  margin: 0;
  padding: 1rem;
  overflow: auto;
  font-size: 0.9rem;
  line-height: 1.65;
}
.res-prose pre:focus-visible {
  outline: 2px solid var(--yellow);
  outline-offset: -2px;
}
@media (max-width: 48rem) {
  .res-layout,
  .res-index-head,
  .res-group {
    grid-template-columns: minmax(0, 1fr);
    gap: 1.25rem;
  }
  .res-intro {
    padding-block: 1.75rem;
  }
  .res-layout {
    padding-top: 0;
    border-top: 0;
  }
  .res-outline {
    top: 0;
    z-index: 1;
    background: var(--bg);
    padding: 0;
    border-block: 1px solid var(--border);
    max-height: 50dvh;
  }
  .res-outline summary {
    min-height: 46px;
  }
  .res-outline ul {
    margin: 0.25rem 0 0.65rem;
  }
  .res-prose h2 {
    scroll-margin-top: 4.25rem;
  }
  .res-group {
    padding-block: 1.6rem 1.1rem;
  }
  .hosting-resources .res-group h2 {
    max-width: none;
  }
  .res-group .res-list li:first-child a:not(.button) {
    padding-top: 0.55rem;
  }
  .hosting-resources .res-intro p,
  .res-prose {
    font-size: 1rem;
  }
  .res-blog .res-list a:not(.button) {
    grid-template-columns: minmax(0, 1fr) auto;
    gap: 0.45rem;
  }
  .res-blog .res-topic {
    grid-column: 1 / -1;
  }
}
@media (max-width: 30rem) {
  .approved-site .inner .res-list a:not(.button) {
    column-gap: 0.65rem;
  }
  .res-crumb {
    font-size: 0.8rem;
  }
  .res-crumb > * + *::before {
    padding-inline: 0.35rem;
  }
}

/* Public developer guide and shared directory search. */
.learn-dev {
  padding-block-end: clamp(2.5rem, 6vw, 5rem);
  overflow-wrap: anywhere;
}
.learn-dev [hidden] {
  display: none;
}
.learn-dev section {
  scroll-margin-top: 1.5rem;
}
.learn-start {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
  align-items: center;
  gap: clamp(2rem, 5vw, 5rem);
  padding-block: clamp(2rem, 4vw, 3.5rem);
}
.learn-start h1 {
  font-size: clamp(2.6rem, 3.85vw, 3.5rem);
  line-height: 1.03;
  text-wrap: balance;
}
.learn-dev .learn-start header > p:not(.availability) {
  max-width: 45ch;
  font-size: 1.125rem;
  line-height: 1.6;
  margin: 1.25rem 0 1.65rem;
}
.learn-request {
  border: 1px solid var(--border);
  border-radius: var(--radius);
  background: var(--surface);
  min-width: 0;
}
.learn-request h2 {
  display: flex;
  align-items: center;
  gap: 0.65rem;
  font-size: 1.32rem;
  padding: 1.25rem 1.35rem 0;
}
.learn-request h2 .i {
  color: var(--yellow);
}
.learn-request ol {
  padding: 0 1.35rem 0 2.65rem;
  margin: 0.85rem 0 1.25rem;
  font-size: 0.93rem;
  color: #c9c9d1;
}
.learn-request li {
  padding-inline-start: 0.15rem;
}
.learn-request li + li {
  margin-top: 0.5rem;
}
.learn-request li::marker {
  color: var(--text);
  font-weight: 700;
}
.learn-dev :is(li, p) code {
  font-size: 0.92em;
  color: var(--text);
}
.learn-code {
  margin: 0;
  background: var(--bg);
  min-width: 0;
  border: 1px solid var(--border);
  border-radius: var(--radius);
  overflow: hidden;
}
.learn-request .learn-code {
  border-width: 1px 0 0;
  border-radius: 0 0 var(--radius) var(--radius);
}
.learn-code figcaption,
.learn-response {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 0.75rem;
  padding: 0.45rem 1.35rem;
  background: var(--surface);
  font-size: 0.8rem;
  font-weight: 650;
}
.learn-code figcaption {
  border-bottom: 1px solid var(--border);
}
.learn-code figcaption button,
.learn-search button {
  background: transparent;
  color: var(--text);
  padding: 0.25rem 0.6rem;
  border: 1px solid var(--ui-control-line);
  border-radius: 5px;
  font: inherit;
}
.learn-code figcaption button:hover,
.learn-search button:hover {
  background: var(--raised);
}
.learn-code pre {
  margin: 0;
  padding: 1rem 1.35rem;
  overflow: auto;
  font:
    0.875rem/1.75 ui-monospace,
    Consolas,
    monospace;
  tab-size: 2;
}
.learn-code pre:focus-visible {
  outline: 2px solid var(--yellow);
  outline-offset: -2px;
}
.learn-code pre b {
  color: var(--yellow);
}
.learn-code pre em {
  color: var(--green);
  font-style: normal;
}
.learn-response {
  flex-wrap: wrap;
  border-top: 1px solid var(--border);
  padding-block: 0.75rem;
  color: var(--muted);
}
.learn-response code {
  color: var(--text);
}
.learn-tools {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  border-block: 1px solid var(--border);
  padding-block: 1.3rem;
}
.learn-tools a {
  position: relative;
  display: flex;
  flex-direction: column;
  padding: 0.3rem 1.35rem;
  gap: 0.8rem;
}
.learn-tools a + a {
  border-inline-start: 1px solid var(--border);
}
.learn-tools a:first-child {
  padding-inline-start: 0;
}
.learn-tools a > .i:first-child {
  color: var(--yellow);
}
.learn-tools a > .i:last-child {
  position: absolute;
  inset: 0.45rem 1rem auto auto;
  transform: rotate(180deg);
  width: 0.85rem;
  height: 0.85rem;
  color: var(--muted);
}
.learn-tools a > span {
  display: flex;
  flex: 1;
  flex-direction: column;
}
.learn-tools strong {
  font-size: 1.1rem;
  letter-spacing: -0.018em;
}
.learn-tools a span span {
  margin-block: 0.3rem 0.65rem;
  font-size: 0.9rem;
  color: var(--muted);
}
.learn-tools small {
  margin-top: auto;
  font-size: 0.8rem;
  color: var(--text);
}
.learn-tools a:hover strong {
  text-decoration: underline;
  color: var(--yellow);
  text-underline-offset: 0.2em;
}
.learn-section {
  display: grid;
  grid-template-columns: minmax(0, 0.78fr) minmax(0, 1.22fr);
  gap: clamp(2rem, 7vw, 6rem);
  padding-block: clamp(2.5rem, 5vw, 4rem);
  border-bottom: 1px solid var(--border);
}
.learn-section h2 {
  font-size: clamp(1.75rem, 3vw, 2.45rem);
  text-wrap: balance;
}
.learn-section p {
  margin-block: 0.8rem 1rem;
  max-width: 68ch;
}
.learn-section .text-link {
  text-decoration: underline;
  text-underline-offset: 0.25em;
}
.learn-prose h3:not(:first-child) {
  margin-top: 1.8rem;
}
.learn-reference {
  min-width: 0;
}
.learn-search {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 0.6rem;
  margin: 0 0 1rem;
  font-size: 0.85rem;
}
.learn-search label {
  flex: 1;
  display: flex;
  align-items: center;
  gap: 0.6rem;
  background: var(--surface);
  border: 1px solid var(--ui-control-line);
  border-radius: 6px;
  padding-inline: 0.8rem;
  min-width: 8rem;
}
.learn-search label:focus-within {
  outline: 2px solid var(--yellow);
  outline-offset: 2px;
}
.learn-search label .i {
  width: 1rem;
  color: var(--muted);
}
.learn-search input {
  width: 100%;
  min-width: 0;
  min-height: 44px;
  background: transparent;
  border: 0;
  color: var(--text);
}
.learn-search input:focus-visible {
  outline: none;
}
.learn-search input::placeholder {
  color: var(--muted);
}
.learn-search output:empty {
  display: none;
}
.learn-search output {
  color: var(--muted);
  font-variant-numeric: tabular-nums;
}
.learn-scope {
  border-top: 1px solid var(--border);
}
.learn-scope:last-child {
  border-bottom: 1px solid var(--border);
}
.learn-scope summary {
  display: flex;
  align-items: center;
  gap: 1rem;
  min-height: 52px;
  cursor: pointer;
  list-style: none;
}
.learn-scope summary::-webkit-details-marker {
  display: none;
}
.learn-scope summary code {
  color: var(--yellow);
}
.learn-scope summary span {
  margin-inline-start: auto;
  color: var(--muted);
  font-size: 0.82rem;
}
.learn-scope summary::after {
  content: '';
  width: 0.4rem;
  height: 0.4rem;
  margin-inline-end: 0.3rem;
  border: solid currentColor;
  border-width: 0 1.5px 1.5px 0;
  transform: rotate(45deg);
}
.learn-scope[open] summary::after {
  transform: rotate(225deg);
}
.learn-scope summary:hover {
  background: var(--surface);
}
.learn-scope p {
  font-size: 0.93rem;
  margin-block: 0 0.9rem;
}
.learn-scope ul {
  padding: 0;
  margin: 0 0 1rem;
  list-style: none;
}
.learn-scope li {
  display: grid;
  grid-template-columns: 4rem minmax(0, 1fr);
  gap: 0.25rem 0.6rem;
  align-items: baseline;
  padding: 0.55rem 0.75rem;
  border-bottom: 1px solid var(--border);
  font-size: 0.9rem;
  background: var(--surface);
}
.learn-scope li b {
  color: var(--muted);
  font:
    650 0.73rem/1.4 ui-monospace,
    monospace;
}
.learn-scope li small {
  grid-column: 2;
  color: var(--muted);
}
@media (max-width: 58rem) {
  .learn-start {
    grid-template-columns: 1fr;
    gap: 1.6rem;
  }
  .learn-start header > p {
    max-width: 60ch;
  }
  .learn-tools {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 1.25rem 0;
  }
  .learn-tools a:nth-child(odd) {
    border: 0;
    padding-inline-start: 0;
  }
}
@media (max-width: 48rem) {
  .learn-section {
    grid-template-columns: minmax(0, 1fr);
    gap: 1rem;
  }
  .learn-start h1 {
    font-size: clamp(2.25rem, 8vw, 3rem);
  }
  .learn-dev .learn-start header > p:not(.availability) {
    font-size: 1rem;
    margin-block: 0.85rem 1.15rem;
  }
}
@media (max-width: 34rem) {
  .learn-tools {
    grid-template-columns: 1fr;
    padding: 0;
    gap: 0;
  }
  .learn-tools a,
  .learn-tools a:nth-child(n) {
    display: grid;
    grid-template-columns: auto minmax(0, 1fr) auto;
    align-items: start;
    padding: 1rem 0;
    border: 0;
  }
  .learn-tools a + a:nth-child(n) {
    border-top: 1px solid var(--border);
  }
  .learn-tools a > .i {
    margin-top: 0.25rem;
  }
  .learn-tools a > .i:last-child {
    position: static;
  }
  .learn-tools a span span {
    margin: 0.15rem 0 0.35rem;
  }
  .learn-request h2,
  .learn-code figcaption,
  .learn-code pre,
  .learn-response {
    padding-inline: 0.9rem;
  }
  .learn-request ol {
    padding-inline: 2.15rem 0.9rem;
  }
  .learn-dev .actions {
    gap: 0.5rem;
  }
  .learn-dev .actions .button {
    white-space: normal;
  }
  .learn-dev .actions .button:not(.primary) {
    border-color: transparent;
    padding-inline: 0.4rem;
    text-decoration: underline;
    text-underline-offset: 0.25em;
  }
}

.learn-search[hidden] {
  display: none;
}
.res-index-head .learn-search {
  margin: 0;
}
.res-index-head .learn-search label {
  flex-basis: 100%;
}
