/* Shared presentation for the existing guide and institutional pages. */
.site-page {
  --ink: #0d1435;
  --muted: #5b6688;
  --violet: #6038ec;
  --pink: #4146ef;
  --accent: linear-gradient(112deg, #1755fa, #4146ef 47%, #8e39f2);
  --line: #e1e3f1;
  --surface: #f5f3ff;
  background: linear-gradient(180deg, #fbfbff, #f5f3ff 35%, #fbfbff 65%);
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Helvetica, Arial, sans-serif;
}
.site-page * { letter-spacing: 0; }
.site-page .site-header {
  position: relative;
  width: min(1300px, calc(100% - 64px));
  margin: 22px auto 0;
  border: 1px solid #fff;
  border-radius: 22px;
  background: #ffffffd9;
  box-shadow: 0 18px 46px #413ca714;
  z-index: 30;
}
.site-page .header-inner { width: 100%; min-height: 78px; padding: 12px 24px; gap: 24px; }
.site-page .brand { flex: 0 0 auto; gap: 0; }
.site-page .brand > img { width: 190px; height: auto; max-width: 100%; clip-path: polygon(0 0,100% 0,100% 82%,19% 82%,19% 100%,0 100%); }
.site-page .main-nav { font-size: 13px; gap: 22px; }
.site-page .main-nav a[aria-current=page] { color: #4146ef; }
.site-page :is(.button-primary,.action-button) { background: var(--accent); color: #fff; border-color: transparent; border-radius: 14px; }
.site-page .button-secondary { color: var(--ink); background: #fff; border: 1px solid #dce0ef; border-radius: 14px; }
.site-page :is(.eyebrow,.section-kicker,.step-kicker,.toc a:hover) { color: #5141c9; }
.site-page p { color: var(--muted); }
.site-page :is(.hero,.tutorial-hero) { background: transparent; }
.site-page :is(.hero,.tutorial-hero)::before,.site-page :is(.hero,.tutorial-hero)::after { display: none; }
.site-page :is(.hero,.tutorial-hero) h1 { font-size: 56px; color: var(--ink); }
.site-page :is(.step-number,.step-badge,.step-heading > span) { color: #5141c9; background: #ebe8ff; }
.site-page .document { background: transparent; border: 0; }
.site-page :is(.principle-icon,.feature-list i,.doc-section .section-number) { color: #5141c9; }
.site-page .action-button { display: inline-flex; align-items: center; justify-content: center; min-height: 44px; padding: 12px 18px; text-align: center; text-decoration: none; }
.site-page .site-footer { background: #ffffff80; border-color: #e1e3f1; }
.site-page .footer-signature::before { background: #6038ec; }
.site-page .footer-brand-group .brand > img { width: 150px; }
.site-page .legacy-terms { margin-top: 32px; padding: 22px 0; border-block: 1px solid #dce0ef; }
.site-page .legacy-terms > summary { font-size: 20px; font-weight: 700; cursor: pointer; color: var(--ink); }
.site-page .legacy-terms > p { font-size: 14px; }
.site-page .legacy-terms[open] > summary { margin-bottom: 20px; }
.site-page .publisher-picture { width: 180px; height: auto; object-fit: contain; }
.site-page .company-mark a { position: relative; display: block; width: 180px; aspect-ratio: 885 / 192; }
.site-page .company-mark img { display: block; width: 100%; height: 100%; clip-path: inset(0 70% 0 0); }
.site-page .company-mark a::after { content: ""; position: absolute; inset: 0; background: #171936; clip-path: inset(0 0 0 30%); mask: url('./radioway-publisher.png') center / 100% 100% no-repeat; -webkit-mask: url('./radioway-publisher.png') center / 100% 100% no-repeat; }
.site-page .tutorial-current-note { margin: 24px 0; padding: 16px 0; border-block: 1px solid #dce0ef; }
@media(max-width:1100px) {
  .site-page .header-inner { gap: 16px; }
  .site-page .main-nav { gap: 13px; }
  .site-page .brand > img { width: 160px; }
}
@media(max-width:800px) {
  .site-page .site-header { width: calc(100% - 30px); margin-top: 12px; border-radius: 17px; }
  .site-page .header-inner { min-height: 65px; padding: 10px 16px; }
  .site-page .main-nav { top: calc(100% + 10px); border-radius: 17px; background: #fff; border: 1px solid #e1e3f1; }
  .site-page :is(.hero,.tutorial-hero) h1 { font-size: 38px; overflow-wrap: anywhere; }
  .site-page .hero { padding-block: 40px; }
  .site-page .document { padding: 22px 18px; }
}
@media(max-width:390px) { .site-page :is(.hero,.tutorial-hero) h1 { font-size: 32px; } }
