/* bodyRIOT hidden service landing pages — static direct routes, not navigation entries */
.riot-hidden-page main#page,
.riot-hidden-page .riot-hidden-page-main {
  background: #f8f8ff;
}
.riot-hidden-page .riot-hidden-page-main,
.riot-hidden-page .riot-hidden-page-main * {
  box-sizing: border-box;
}
.riot-hidden-shell {
  width: min(1180px, calc(100% - 2.4rem));
  margin: 0 auto;
}
.riot-hidden-hero {
  position: relative;
  overflow: hidden;
  padding: clamp(4.5rem, 10vw, 8.5rem) 0 clamp(3.6rem, 7vw, 5.8rem);
  background: #252262;
  color: #fff;
}
.riot-hidden-hero::before,
.riot-hidden-hero::after {
  position: absolute;
  content: "";
  pointer-events: none;
}
.riot-hidden-hero::before {
  right: -4rem;
  bottom: -6rem;
  width: min(46vw, 31rem);
  aspect-ratio: 1;
  border: clamp(2.5rem, 9vw, 6.5rem) solid rgba(250,95,26,.94);
  border-radius: 50%;
}
.riot-hidden-hero::after {
  top: -10rem;
  right: 18%;
  width: min(25vw, 19rem);
  aspect-ratio: 1;
  border-radius: 50%;
  background: rgba(98, 81, 189, .55);
}
.riot-hidden-hero .riot-hidden-shell { position: relative; z-index: 1; max-width: 1040px; }
.riot-hidden-eyebrow {
  display: inline-block;
  margin: 0 0 1rem;
  color: var(--riot-cta, #FA5F1A);
  font-size: .75rem;
  font-weight: 900;
  letter-spacing: .13em;
  line-height: 1.2;
  text-transform: uppercase;
}
.riot-hidden-hero h1,
.riot-hidden-section h2 {
  margin: 0;
  font-size: clamp(2.7rem, 6.5vw, 6.35rem);
  font-weight: 900;
  letter-spacing: -.072em;
  line-height: .84;
  text-transform: uppercase;
}
.riot-hidden-hero h1 { max-width: 12ch; color: #fff; }
.riot-hidden-lead {
  max-width: 47rem;
  margin: 1.25rem 0 0;
  color: #f3f2ff;
  font-size: clamp(1.03rem, 1.6vw, 1.27rem);
  font-weight: 600;
  line-height: 1.5;
}
.riot-hidden-actions { display: flex; flex-wrap: wrap; gap: .7rem; margin-top: 1.7rem; }
.riot-hidden-button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 3.12rem;
  padding: .88rem 1.15rem;
  border: 2px solid #fff;
  border-radius: .34rem;
  color: #fff;
  font-size: .78rem;
  font-weight: 900;
  letter-spacing: .035em;
  line-height: 1.08;
  text-align: center;
  text-decoration: none;
  text-transform: uppercase;
  transition: transform .18s ease, background-color .18s ease, color .18s ease;
}
.riot-hidden-button--primary { border-color: var(--riot-cta, #FA5F1A); background: var(--riot-cta, #FA5F1A); color: #252262; box-shadow: 0 6px 0 rgba(0,0,0,.18); }
.riot-hidden-button--secondary { background: transparent; }
.riot-hidden-button:hover,
.riot-hidden-button:focus-visible { background: #fff; border-color: #fff; color: #252262; transform: translateY(-2px); }
.riot-hidden-button:focus-visible { outline: 3px solid var(--riot-cta, #FA5F1A); outline-offset: 3px; }
.riot-hidden-section { padding: clamp(3.5rem, 7vw, 6.2rem) 0; color: #252262; }
.riot-hidden-section h2 { max-width: 15ch; font-size: clamp(2rem, 4.2vw, 4.35rem); }
.riot-hidden-intro { max-width: 45rem; margin: .9rem 0 0; color: #252262; font-size: 1.04rem; font-weight: 600; line-height: 1.5; }
.riot-hidden-card-grid { display: grid; grid-template-columns: repeat(3, minmax(0,1fr)); gap: .9rem; margin-top: 2rem; }
.riot-hidden-card { min-height: 12rem; padding: 1.4rem; border: 1px solid rgba(37,34,98,.15); border-radius: .82rem; background: #fff; box-shadow: 0 13px 25px rgba(37,34,98,.08); }
.riot-hidden-card:nth-child(2) { transform: translateY(1rem); background: #e5e6fb; }
.riot-hidden-card h3 { margin: 0; color: #252262; font-size: 1.15rem; font-weight: 900; letter-spacing: -.035em; line-height: 1; text-transform: uppercase; }
.riot-hidden-card p { margin: .7rem 0 0; color: #252262; font-size: .94rem; font-weight: 600; line-height: 1.45; }
.riot-hidden-action-zone { background: #e5e6fb; }
.riot-hidden-action-panel { display: grid; grid-template-columns: minmax(0, 1.2fr) minmax(230px, .8fr); gap: 1.25rem; align-items: center; padding: clamp(1.45rem, 4vw, 3rem); border: 1px solid rgba(37,34,98,.13); border-radius: 1rem; background: #fff; }
.riot-hidden-action-panel h2 { max-width: 16ch; font-size: clamp(1.85rem, 3.6vw, 3.4rem); }
.riot-hidden-action-panel p { max-width: 39rem; margin: .75rem 0 0; color: #252262; font-size: 1rem; font-weight: 600; line-height: 1.47; }
.riot-hidden-action-panel .riot-hidden-actions { justify-content: flex-end; margin: 0; }
.riot-hidden-action-panel .riot-hidden-button--primary { color: #252262; }
.riot-hidden-action-panel .riot-hidden-button--secondary { border-color: #252262; color: #252262; }
.riot-hidden-action-panel .riot-hidden-button--secondary:hover,
.riot-hidden-action-panel .riot-hidden-button--secondary:focus-visible { background: #252262; border-color: #252262; color: #fff; }
.riot-hidden-note { margin: 1rem 0 0; color: rgba(37,34,98,.76); font-size: .77rem; font-weight: 650; line-height: 1.42; }
@media (max-width: 760px) {
  .riot-hidden-card-grid,
  .riot-hidden-action-panel { grid-template-columns: 1fr; }
  .riot-hidden-card:nth-child(2) { transform: none; }
  .riot-hidden-action-panel .riot-hidden-actions { justify-content: flex-start; }
}
@media (max-width: 520px) {
  .riot-hidden-shell { width: min(100% - 1.5rem, 1180px); }
  .riot-hidden-hero h1 { font-size: clamp(2.65rem, 13.4vw, 4.2rem); }
  .riot-hidden-actions,
  .riot-hidden-actions .riot-hidden-button { width: 100%; }
  .riot-hidden-button { min-height: 3.35rem; }
}
@media (prefers-reduced-motion: reduce) { .riot-hidden-button { transition: none; } }
