body { margin: 0; background: #fff; }

.publisher-page {
  --ink: #001e28;
  --text: #354f59;
  --link: #076875;
  --line: #d6e4e5;
  --pale: #e9f5f5;
  width: min(1040px, calc(100% - 2 * clamp(16px, 5vw, 48px)));
  margin: 0 auto;
  padding: clamp(32px, 6vw, 72px) 0 clamp(20px, 5vw, 52px);
  color: var(--ink);
  font: 1rem/1.65 system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  scroll-margin-top: 100px;
}
.publisher-page, .publisher-page * { box-sizing: border-box; }
.publisher-page:focus { outline: none; }
.publisher-page a { color: var(--link); text-underline-offset: .2em; }
.publisher-page a:hover { text-decoration-thickness: 2px; }
.publisher-page :focus-visible, .publisher-skip:focus-visible { outline: 3px solid #087ca5; outline-offset: 4px; }
.publisher-page h1, .publisher-page h2, .publisher-page p { margin: 0; }
.publisher-page h1, .publisher-page h2 { line-height: 1.17; }
.publisher-page p, .publisher-page li { color: var(--text); }
.publisher-page ol, .publisher-page ul { margin: .65rem 0 0; padding-left: 1.4rem; }
.publisher-page li + li { margin-top: .35rem; }

.publisher-skip {
  position: absolute;
  top: 8px;
  left: 8px;
  z-index: 21;
  transform: translateY(calc(-100% - 12px));
  padding: .65rem .9rem;
  background: #fff;
  color: #076875;
  font: 600 1rem/1.5 system-ui, sans-serif;
}
.publisher-skip:focus { transform: none; }

.publisher-intro {
  padding: clamp(22px, 5vw, 48px);
  border: 1px solid var(--line);
  border-radius: 16px;
  background: linear-gradient(130deg, #f7fbfb, var(--pale));
}
.publisher-intro h1 {
  font-size: clamp(2rem, 6.5vw, 4rem);
  letter-spacing: -.055em;
  overflow-wrap: anywhere;
}
.publisher-intro p { max-width: 65ch; margin-top: .8rem; font-size: clamp(1rem, 2vw, 1.16rem); }

.publisher-sections { display: grid; gap: 20px; max-width: 780px; margin-top: 32px; }
.publisher-sections > section { padding: 0 0 20px; border-bottom: 1px solid var(--line); scroll-margin-top: 100px; }
.publisher-sections h2, .publisher-card h2, .publisher-service h2 { font-size: clamp(1.17rem, 2.5vw, 1.45rem); }
.publisher-sections h2 + p, .publisher-card h2 + p, .publisher-service h2 + p { margin-top: .5rem; }
.publisher-sections .publisher-callout {
  padding: clamp(16px, 3vw, 24px);
  border: 1px solid var(--line);
  border-radius: 12px;
  background: var(--pale);
}
.publisher-actions, .publisher-related { display: flex; flex-wrap: wrap; align-items: center; gap: .5rem 1.2rem; }
.publisher-related { font-weight: 650; }
.publisher-page .publisher-button {
  display: inline-flex;
  align-items: center;
  min-height: 44px;
  max-width: 100%;
  margin-top: .9rem;
  padding: .55rem .85rem;
  border: 1px solid transparent;
  border-radius: 8px;
  background: var(--link);
  color: #fff;
  font-size: .94rem;
  font-weight: 700;
  text-decoration: none;
  overflow-wrap: anywhere;
}
.publisher-page .publisher-button:hover { background: #054b55; }
.publisher-page .publisher-secondary { border-color: #9dbfc3; background: #fff; color: var(--link); }
.publisher-page .publisher-secondary:hover { background: var(--pale); }
.publisher-actions { margin-top: .9rem; }
.publisher-actions .publisher-button { margin-top: 0; }

.publisher-buying {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  align-items: stretch;
  gap: 16px;
  margin-top: 24px;
}
.publisher-card { padding: clamp(16px, 3vw, 26px); border: 1px solid var(--line); border-radius: 12px; }
.publisher-direct { background: #f4f9f9; }

.publisher-status {
  margin-top: 26px;
  border: 1px solid var(--line);
  border-radius: 12px;
}
.publisher-service {
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 12px 24px;
  padding: clamp(15px, 3vw, 24px);
}
.publisher-service + .publisher-service { border-top: 1px solid var(--line); }
.publisher-service h2 { font-size: 1.13rem; }
.publisher-service h2 + p { margin-top: .25rem; font-size: .93rem; }
.publisher-service .publisher-state {
  display: inline-flex;
  align-items: center;
  gap: .45rem;
  border: 1px solid #b9decf;
  border-radius: 999px;
  padding: .3rem .65rem;
  background: #e9f7f0;
  color: #1a654b;
  font-size: .88rem;
  font-weight: 700;
}
.publisher-service .state-issue { border-color: #efd7a6; background: #fff6e3; color: #824a00; }
.publisher-service .state-unknown { border-color: #dae0e4; background: #f1f4f5; color: #425762; }
.publisher-state span { width: .5rem; height: .5rem; border-radius: 50%; background: currentColor; }
.publisher-page .publisher-checked { margin-top: .9rem; font-size: .88rem; }
.publisher-page .publisher-network { margin-top: 1.3rem; font-weight: 650; }

@media (max-width: 680px) {
  .publisher-buying { grid-template-columns: minmax(0, 1fr); }
}
