/**
 * Standalone viewer shell (the injected .rc-doc carries its own scoped
 * styles). Brand tokens + breakpoints are custom props on .rc-viewer.
 */


.rc-viewer {
	--rc-accent: #1a56db;
	--rc-accent-contrast: #ffffff;
	--rc-ink: #14181f;
	--rc-ink-soft: #5b6472;
	--rc-line: #e3e6ea;
	--rc-surface: #ffffff;
	--rc-surface-alt: #f6f7f9;
	--rc-overlay: #1A1825DD;
	--rc-radius: 0px;
	--rc-shadow: 0 1px 2px rgba(20, 24, 31, 0.06), 0 8px 24px rgba(5, 6, 7, 0.08);
	--rc-breakpoint: 768px;
	--rc-topbar-h: 100px;
	--rc-sidebar-w: 300px;

	--header-nav-surface-backdrop: blur(16px);
    --header-nav-surface-bg: rgba(255, 255, 255, 0.72);
    --header-nav-surface-shadow: 0 1px 3px rgba(0, 0, 0, 0.08);
    --header-nav-surface-text: #1a1a1a;

	--header-nav-cat-hover-bg: #5f61ff;
    --header-nav-cat-hover-text: #ffffff;
	--header-nav-cta-primary-bg: #1a1a1a;
    --header-nav-cta-primary-text: #ffffff;
    --header-nav-cta-secondary-bg: transparent;
	--header-nav-cta-secondary-hover-text: #ffffff;

	--header-nav-duration: 250ms;
    --header-nav-easing: cubic-bezier(0.4, 0, 0.2, 1);

    --header-nav-bar-height: 74px;
	--header-nav-bar-radius: 999px;

	background: var(--rc-surface-alt);
	color: var(--rc-ink);
	font-family: "degular-variable", -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
	line-height: 1.5;
	margin: 0;

	display: flex;
    flex-direction: column;
    height: 100vh;
    height: 100dvh;
}


/* LIQUID GLASS STYLES */

.liquidGlass-wrapper {
  position: relative;
  display: flex;
  overflow: hidden;

  box-shadow: 0px 4px 20px 0px #00000017;

  transition: all 0.3s cubic-bezier(0.05, 0.7, 0.1, 1.0);
}

.liquidGlass-wrapper:hover {
  transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 2.2);
}

.liquidGlass-effect {
  position: absolute;
  z-index: 0;
  inset: 0;

  backdrop-filter: blur(3px);
  filter: url(#glass-distortion);
  overflow: hidden;
}

.liquidGlass-tint {
  z-index: 1;
  position: absolute;
  inset: 0;
  background: rgba(255, 255, 255, 0.10);
}

.liquidGlass-shine {
  position: absolute;
  inset: 0;
  z-index: 2;

  overflow: hidden;

  /* box-shadow: inset -1px -1px 0px 0px rgba(255, 255, 255, 0.5),
    inset 1px 1px 1px 1px rgba(255, 255, 255, 0.5); */

    --c-light: #ffffff8c;
    --c-dark: #00000000;

    --glass-reflex-dark: 1;
    --glass-reflex-light: 1;

    box-shadow: inset 0 0 0 1px
        color-mix(in srgb, var(--c-light) calc(var(--glass-reflex-light) * 10%), transparent), inset 1.8px 3px 0px -2px
        color-mix(in srgb, var(--c-light) calc(var(--glass-reflex-light) * 90%), transparent), inset -2px -2px 0px -2px
        color-mix(in srgb, var(--c-light) calc(var(--glass-reflex-light) * 80%), transparent), inset -3px -8px 1px -6px
        color-mix(in srgb, var(--c-light) calc(var(--glass-reflex-light) * 60%), transparent), inset -0.3px -1px 4px 0px
        color-mix(in srgb, var(--c-dark) calc(var(--glass-reflex-dark) * 12%), transparent), inset -1.5px 2.5px 0px -2px
        color-mix(in srgb, var(--c-dark) calc(var(--glass-reflex-dark) * 20%), transparent), inset 0px 3px 4px -2px
        color-mix(in srgb, var(--c-dark) calc(var(--glass-reflex-dark) * 20%), transparent), inset 2px -6.5px 1px -4px
        color-mix(in srgb, var(--c-dark) calc(var(--glass-reflex-dark) * 10%), transparent), 0px 1px 5px 0px
        color-mix(in srgb, var(--c-dark) calc(var(--glass-reflex-dark) * 10%), transparent), 0px 6px 16px 0px
        color-mix(in srgb, var(--c-dark) calc(var(--glass-reflex-dark) * 8%), transparent);
}

.liquidGlass-text {
  z-index: 3;
}



.rc-viewer *,
.rc-viewer *::before,
.rc-viewer *::after {
	box-sizing: border-box;
}

.rc-viewer :focus-visible {
	outline: 2px solid var(--rc-accent);
	outline-offset: 2px;
	border-radius: 4px;
}

.rc-viewer img {
	max-width: 100%;
	height: auto;
}

.screen-reader-text {
	position: absolute !important;
	width: 1px;
	height: 1px;
	margin: -1px;
	padding: 0;
	border: 0;
	clip: rect(0 0 0 0);
	clip-path: inset(50%);
	overflow: hidden;
	white-space: nowrap;
}

.rc-btn {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	gap: 8px;
	min-height: 44px;
	padding: 10px 18px;
	border-radius: var(--rc-radius);
	border: 1px solid transparent;
	font-size: 15px;
	font-weight: 500;
	line-height: 1.2;
	text-decoration: none;
	cursor: pointer;
	transition: background-color 0.15s ease, border-color 0.15s ease, color 0.15s ease;
}

.rc-btn--primary {
	/* background: var(--rc-accent);
	color: var(--rc-accent-contrast); */
}

.rc-btn--primary:hover {
	/* filter: brightness(1.08); */
}

.rc-btn--secondary {
	/* background: var(--rc-surface);
	color: var(--rc-ink);
	border-color: var(--rc-line); */
}

.rc-btn--secondary:hover {
	/* border-color: var(--rc-ink-soft); */
}

.rc-btn--outline {
	/* background: transparent;
	color: var(--rc-accent);
	border-color: var(--rc-accent); */
}

.rc-btn--outline:hover {
	/* background: rgba(26, 86, 219, 0.08); */
}

.rc-topbar {
	position: sticky;
	top: 0;
	z-index: 20;
	background: var(--rc-surface);
	background: linear-gradient(180deg, #A5A7FF, #A5A7FF99);
	border-bottom: 1px solid var(--rc-line);
}

.rc-topbar__row {
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: 16px;
	max-width: 1440px;
	margin: 0 auto;
	min-height: var(--rc-topbar-h);
	padding: 8px 24px;
}




.liquidGlass-wrapper{
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: var(--header-nav-bar-radius);
}

.liquidGlass-text {
    display: flex;
    align-items: center;
    gap: var(--header-nav-bar-gap);
    height: calc(var(--header-nav-bar-height) - 16px);
    color: var(--header-nav-surface-text);
    pointer-events: auto;
    padding: 10px 40px;
}

.rc-topbar__inner {
	padding: 10px;
}

.liquidGlass-wrapper > div {
  border-radius: var(--header-nav-bar-radius);
}

.rc-topbar__left.liquidGlass-wrapper:hover,
.rc-topbar__actions.liquidGlass-wrapper:has(*:hover) {
  padding: 4px 6px;
  border-radius: var(--header-nav-bar-radius);
}

.rc-topbar__left.liquidGlass-wrapper:hover {
    margin: 0px 0px 0px -6px;
}

.rc-topbar__actions.liquidGlass-wrapper:has(*:hover) {
    margin: 0px -6px 0px 0px;
}


.rc-logo {
	display: inline-flex;
	align-items: center;
	text-decoration: none;
	color: var(--rc-ink);
}

.rc-logo__img {
	max-height: calc(var(--rc-topbar-h) - 20px);
	width: auto;
	display: block;
}

.rc-logo__text {
	font-size: 19px;
	font-weight: 700;
	letter-spacing: -0.01em;
}

.rc-topbar__actions {
	display: flex;
	align-items: center;
	gap: 10px;
}

.rc-topbar__actions .rc-btn {
	min-height: 40px;
}



.rc-topbar__ctas,
.rc-topbar__ctas-clone {
    display: flex;
    align-items: stretch;
}

.rc-topbar__ctas,
.rc-topbar__ctas-clone {
    border-radius: var(--header-nav-bar-radius);
    overflow: hidden;
}

.rc-topbar__ctas {
    position: relative;
}

.rc-btn > .rc-btn {
    pointer-events: none;
}

.rc-topbar__ctas-clone {
    position: absolute;
    inset: 0;
    z-index: 1;
    opacity: 0;
}

.rc-btn {
    display: flex;
    align-items: center;
    justify-content: center;
    white-space: nowrap;
    min-width: 0;
    min-height: 40px;
    /* padding: 10px 20px; */
    padding: 0;
    font-size: 14px;
    /* font-weight: 600; */
    text-decoration: none;
    border-radius: var(--header-nav-bar-radius);
    overflow: hidden;
    cursor: pointer;

    font-family: "degular-variable", sans-serif;
    /* font-weight: 500; */
    font-size: 16px;
    line-height: 100%;

    /* Default: visibility instant on appear */
    transition:
        flex var(--header-nav-duration) var(--header-nav-easing),
        opacity var(--header-nav-duration) var(--header-nav-easing),
        padding var(--header-nav-duration) var(--header-nav-easing),
        max-width var(--header-nav-duration) var(--header-nav-easing),
        border-width var(--header-nav-duration) var(--header-nav-easing),
        visibility 0s linear 0s;
}

.rc-btn > span {
    display: block;
    padding: 10px 30px;
}

.rc-btn--primary {
    background: var(--header-nav-cta-primary-bg);
    color: var(--header-nav-cta-primary-text);
    flex: 1 1 50%;
}

.rc-btn--secondary {
    background: var(--header-nav-cta-secondary-bg);
    color: var(--header-nav-cta-secondary-text);
    /* border: 1px solid var(--header-nav-cta-secondary-border); */
    flex: 1 1 50%;
}

.rc-btn:focus-visible {
    outline: 2px solid var(--header-nav-cat-hover-bg);
    outline-offset: -2px;
}

/* Hover primary â†’ secondary shrinks */
.rc-topbar__ctas:has(.rc-btn--primary:hover) > .rc-btn--secondary,
.rc-topbar__ctas:has(.rc-btn--primary:focus-visible) > .rc-btn--secondary {
    /* flex: 0 0 0;
    max-width: 0; */
    padding-inline: 0;
    opacity: 0;
    border-width: 0;
    visibility: hidden;
    /* Delayed: stay visible while shrink plays, then hide */
    transition:
        background-color var(--header-nav-duration) var(--header-nav-easing),
        flex var(--header-nav-duration) var(--header-nav-easing),
        opacity var(--header-nav-duration) var(--header-nav-easing),
        padding var(--header-nav-duration) var(--header-nav-easing),
        max-width var(--header-nav-duration) var(--header-nav-easing),
        border-width var(--header-nav-duration) var(--header-nav-easing),
        visibility 0s linear var(--header-nav-duration);
}

.rc-topbar__ctas:has(.rc-btn--primary:hover) > .rc-btn--primary,
.rc-topbar__ctas:has(.rc-btn--primary:focus-visible) > .rc-btn--primary {
    flex: 1 0 100%;
}

/* Hover secondary â†’ primary shrinks */
.rc-topbar__ctas:has(.rc-btn--secondary:hover) > .rc-btn--primary,
.rc-topbar__ctas:has(.rc-btn--secondary:focus-visible) > .rc-btn--primary {
    /* flex: 0 0 0;
    max-width: 0; */
    padding-inline: 0;
    opacity: 0;
    visibility: hidden;
    transition:
        flex var(--header-nav-duration) var(--header-nav-easing),
        opacity var(--header-nav-duration) var(--header-nav-easing),
        padding var(--header-nav-duration) var(--header-nav-easing),
        max-width var(--header-nav-duration) var(--header-nav-easing),
        visibility 0s linear var(--header-nav-duration);
}

.rc-topbar__ctas:has(.rc-btn--secondary:hover) > .rc-btn--secondary,
.rc-topbar__ctas:has(.rc-btn--secondary:focus-visible) > .rc-btn--secondary {
    flex: 1 0 100%;
    background-color: var(--header-nav-cat-hover-bg);
    color: var(--header-nav-cta-secondary-hover-text);
}



.rc-topbar__hamburger {
	display: none;
	width: 44px;
	height: 44px;
	padding: 10px;
	background: none;
	border: 1px solid var(--rc-line);
	border-radius: var(--rc-radius);
	cursor: pointer;
	border: none;
}

.rc-topbar__burger,
.rc-topbar__burger::before,
.rc-topbar__burger::after {
	display: block;
	width: 100%;
	height: 2px;
	background: var(--rc-ink);
	border-radius: 2px;
	position: relative;
}

.rc-topbar__burger::before,
.rc-topbar__burger::after {
	content: "";
	position: absolute;
	left: 0;
}

.rc-topbar__burger::before {
	top: -7px;
}

.rc-topbar__burger::after {
	top: 7px;
}

.rc-sidebar__back {
	display: flex;
	align-items: center;
	justify-content: center;
	gap: 8px;
	margin: 16px;
	color: #fff;
	font-size: 14px;
	font-weight: 600;
	text-decoration: none;
	background: #1A1825;

	transition: all 0.15s ease;

	padding: 12px 14px;
	border-radius: 49px;

}

.rc-sidebar__back:hover,
.rc-sidebar__back:focus-visible {
	background: #6061ff;
}

.rc-sidebar__back-arrow {
	display: inline-flex;
}

.rc-sidebar__title {
	font-size: 22px;
	padding: 20px 0 0 10px;
	font-weight: 500;
	text-align: center;
}

.rc-topbar__panel {
	display: none;
}

.rc-shell {
	flex-grow: 1;
    overflow: hidden;
	display: grid;
	grid-template-columns: auto minmax(0, 1fr);
	align-items: start;
}

.rc-sidebar {
	/* position: sticky; */
	z-index: 10;
	/* top: calc(var(--rc-topbar-h) + 24px); */
	width: var(--rc-sidebar-w);
	height: 100%;
	transition: width 0.25s ease;

	position: relative;
    top: 0;
}

.rc-sidebar__inner {
	width: var(--rc-sidebar-w);
	/* max-height: calc(100vh - var(--rc-topbar-h) - 48px); */
	max-height: calc(100vh - var(--rc-topbar-h));
	max-height: calc(100dvh - var(--rc-topbar-h));
	overflow-y: auto;
	padding: 0;
	clip-path: inset(0 0 0 0);
	transition: width 0.25s ease, opacity 0.2s ease, clip-path 0.25s ease, padding 0.25s ease;
}

.rc-shell--collapsed .rc-sidebar {
	width: 0;
}

.rc-shell--collapsed .rc-sidebar__inner {
	width: 0;
	padding: 0;
	opacity: 0;
	overflow: hidden;
	clip-path: inset(0 100% 0 0);
}

.rc-sidebar__toggle {
	position: absolute;
	top: 35px;
	right: 0px;
	transform: translateX(50%);
	width: 32px;
	height: 32px;
	padding: 0;
	display: grid;
	place-items: center;
	background: #5f61fd;
	color: #fff;
	border: 0;
	border-radius: 50%;
	cursor: pointer;
	z-index: 5;

	transition: right 0.25s ease, background-color 0.15s ease;

	display: none; /* hide for now */
}

.rc-sidebar__toggle:hover {
	filter: brightness(1.08);
}

.rc-sidebar__toggle svg {
	width: 16px;
	height: 16px;
	transition: transform 0.25s ease;
}

.rc-shell--collapsed .rc-sidebar__toggle {
	right: -16px;
}

.rc-shell--collapsed .rc-sidebar__toggle svg {
	transform: rotate(180deg);
}

.rc-related {
	list-style: none;
	margin: 0;
	padding: 0;
	display: flex;
	flex-direction: column;
	gap: 0px;
}

.rc-card__link {
	display: flex;
	gap: 12px;
	padding: 10px;
	background: var(--rc-surface);
	border: 1px solid var(--rc-line);
	border-radius: var(--rc-radius);
	text-decoration: none;
	color: inherit;
	align-items: center;

	margin-top: -1px; /* collapse borders between stacked cards */
	transition: border-color 0.15s ease, box-shadow 0.15s ease;
}

.rc-card__link:hover,
.rc-card__link:focus-visible {
	position: relative;
	border-color: var(--card-color, var(--rc-accent));
	box-shadow: var(--rc-shadow);
}

.rc-card__thumb {
	flex: 0 0 72px;
	position: relative;
	width: 72px;
	height: 72px;
	border-radius: 8px;
	border: 1px solid var(--rc-line);
	background: var(--rc-surface-alt) center / 28px no-repeat;
	overflow: hidden;
	display: block;
}

.rc-card__thumb--empty {
	background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23a8b0ba' stroke-width='1.5'%3E%3Crect x='4' y='3' width='16' height='18' rx='2'/%3E%3Cpath d='M8 8h8M8 12h8M8 16h5'/%3E%3C/svg%3E");
}

/* Direct child only: the overlay icon sizes itself, never the thumbnail. */
.rc-card__thumb > img {
	width: 100%;
	height: 100%;
	object-fit: cover;
	display: block;
}

/* Gradient thumb: violet wash with the image in a square box pinned to the bottom center instead of cover. */
.rc-card__thumb--gradient {
	background: linear-gradient(to bottom, #A5A7FFFF 0%, #A5A7FF00 100%);
}

.rc-card__thumb-box {
	position: absolute;
	bottom: 0;
	left: 50%;
	transform: translateX(-50%);
	display: block;
	height: 80%;
	aspect-ratio: 1 / 1;
	overflow: hidden;
}

.rc-card__thumb-box > img {
	width: 100%;
	height: auto;
	display: block;
}

/* Fallback images share the wash but sit vertically centered. */
.rc-card__thumb-box--center {
	top: 50%;
	bottom: auto;
	transform: translate(-50%, -50%);
}

/* Video overlay icon: centered over the thumbnail. */
.rc-card__video-icon {
	position: absolute;
	inset: 0;
	display: grid;
	place-items: center;
	pointer-events: none;
}

.rc-card__video-icon-glyph {
	width: 28px;
	height: 28px;
	object-fit: contain;
	filter: drop-shadow(0 1px 3px rgba(0, 0, 0, 0.45));
}

.rc-card__body {
	display: flex;
	flex-direction: column;
	gap: 6px;
	min-width: 0;
}

.rc-card__badge {
	align-self: flex-start;
	display: inline-flex;
	align-items: center;
	gap: 6px;
	padding: 2px 8px;
	border-radius: 999px;
	background: #0a0b2e;
	color: #fff;
	font-size: 11px;
	font-weight: 700;
	letter-spacing: 0.06em;
	text-transform: uppercase;

	transition: background-color 0.15s ease, color 0.15s ease;
}

/* Hover state mirrors the Archive pill: the badge takes the Content Type color. */
.rc-card__link:hover .rc-card__badge,
.rc-card__link:focus-visible .rc-card__badge,
.rc-card:focus-within .rc-card__badge {
	background-color: var(--card-color, #ff9371);
	color: #1a1825;
}

.rc-card__pill-iconwrap {
	position: relative;
	display: inline-grid;
	place-items: center;
	flex: 0 0 auto;
	width: 12px;
	height: 12px;
	color: var(--pill-color, inherit);
	transition: color 0.15s ease;
}

.rc-card__link:hover .rc-card__pill-iconwrap,
.rc-card__link:focus-visible .rc-card__pill-iconwrap,
.rc-card:focus-within .rc-card__pill-iconwrap {
	color: var(--pill-color-hover, inherit);
}

/* Single-color silhouette recolored through the wrapper color. */
.rc-card__pill-icon--mask {
	width: 12px;
	height: 12px;
	background-color: currentColor;
	-webkit-mask-image: var(--card-icon);
	mask-image: var(--card-icon);
	-webkit-mask-size: contain;
	mask-size: contain;
	-webkit-mask-repeat: no-repeat;
	mask-repeat: no-repeat;
	-webkit-mask-position: center;
	mask-position: center;
}

.rc-card__pill-icon--glyph {
	flex: 0 0 auto;
}

.rc-card__title {
	font-size: 14.5px;
	font-weight: 600;
	line-height: 1.35;
	display: -webkit-box;
	-webkit-line-clamp: 3;
	-webkit-box-orient: vertical;
	line-clamp: 3;
	overflow: hidden;
	text-overflow: ellipsis;
}

.rc-related__more {
	/* width: 100%; */

	margin: 0 auto;
	margin-top: 16px;
	margin-bottom: 20px;


	display: flex;
	flex-direction: row;
	justify-content: center;
	align-items: center;
	padding: 18px 24px;
	gap: 10px;

	background: rgba(255, 255, 255, 0.1);
	color: #1A1825;
	border: 1px solid #1A1825;
	border-radius: 49px;

	transition: color 0.15s ease, background-color 0.15s ease;
}

.rc-related__more:hover,
.rc-related__more:focus-visible {
	color: #fff;
	background: #1A1825;
}

.rc-sidebar__empty,
.rc-related__note {
	color: var(--rc-ink-soft);
	font-size: 14px;
}

.rc-video {
	/* position: relative; */
    max-width: 100%;
    max-height: 100%;
	margin: 0 auto;
	background: #000;
	border-radius: var(--rc-radius);
	overflow: hidden;
	box-shadow: var(--rc-shadow);
}

.rc-video iframe {
	position: absolute;
	inset: 0;
	width: 100%;
	height: 100%;
	border: 0;
}

.rc-doc-print,
.rc-doc-fetch {
	max-width: 1100px;
	margin: 0 auto;
}

.rc-doc-fetch .rc-doc {
	background: var(--rc-surface);
	border-radius: var(--rc-radius);
	box-shadow: var(--rc-shadow);
}

/* Live PDF.js viewer ("pdfjs" display option). */

/*
 * The stock app fills this wrapper (#outerContainer is 100%,
 * #mainContainer absolute inset 0), so a definite height keeps the page
 * fixed while the document scrolls inside. vh first, dvh enhanced.
 */
.rc-pdfjs {
	position: relative;
	height: calc(100vh - var(--rc-topbar-h) );
	height: calc(100dvh - var(--rc-topbar-h) );
	min-height: 480px;
	min-width: 350px;
}

.rc-pdfjs__stock {
	position: relative;
	height: 100%;
}

/* The stock app themes itself via :root vars; keep our shell behind it. */
.rc-pdfjs__stock #outerContainer {
	background: #1A1825;
}

/* Legacy-browser fallback: the standard page-images markup. */
.rc-pdfjs__fallback {
	min-height: 480px;
}

/* Blog display: the plain post permalink fills the content area. */
.rc-blog {
	position: relative;
	height: calc(100vh - var(--rc-topbar-h));
	height: calc(100dvh - var(--rc-topbar-h));
	min-height: 480px;
}

.rc-blog iframe {
	display: block;
	width: 100%;
	height: 100%;
	border: 0;
	background: #fff;
}

.rc-notice {
	max-width: 560px;
	margin: 48px auto;
	padding: 28px;
	background: var(--rc-surface);
	border: 1px solid var(--rc-line);
	border-radius: var(--rc-radius);
	box-shadow: var(--rc-shadow);
	text-align: center;
}

.rc-notice--error {
	border-color: rgba(190, 64, 45, 0.4);
}

.rc-notice p {
	margin: 0 0 12px;
	color: var(--rc-ink-soft);
}

.rc-skeleton {
	display: flex;
	flex-direction: column;
	gap: 24px;
	max-width: 1100px;
	margin: 0 auto;
}

.rc-skeleton__page {
	height: 640px;
	border-radius: var(--rc-radius);
	background: linear-gradient(100deg, #eceef1 40%, #f6f7f9 50%, #eceef1 60%);
	background-size: 200% 100%;
	animation: rc-shimmer 1.4s ease-in-out infinite;
}

@keyframes rc-shimmer {
	to {
		background-position: -200% 0;
	}
}

/* Gate overlay. */

.rc-content {
	min-width: 0;
	position: relative;
	background: #1A1825;
	height: calc(100dvh - var(--rc-topbar-h) );
}

/* Visible without JS on purpose: content stays covered if scripts fail. */
.rc-gate {
	position: fixed;
	inset: 0;
	z-index: 100;
	display: flex;
	align-items: center;
	justify-content: center;
	padding: 24px;
}

.rc-gate[hidden] {
	display: none;
}

.rc-gate--content {
	position: absolute;
	align-items: flex-start;
}

.rc-gate__overlay {
	position: absolute;
	inset: 0;
	background: var(--rc-overlay);
	backdrop-filter: blur(6px);
	-webkit-backdrop-filter: blur(6px);
}

.rc-gate__card {
	position: relative;
	z-index: 1;
	width: 100%;
	max-width: 520px;
	max-height: calc(100% - 48px);
	overflow-y: auto;
	padding: 32px;
	background: var(--rc-surface);
	border-radius: 20px;
	box-shadow: 0 24px 64px rgba(20, 24, 31, 0.24);
}


.rc-gate__card {
	position: relative;
}


.rc-gate__card::before {
  content: '';
  position: absolute;
  z-index: 1;
  inset: 0px;

  border-radius: inherit;
  /* this is the border width */
  padding: 2px;

  background: linear-gradient(180deg, #5F61FF 0%, rgba(95, 97, 255, 0) 100%);
  -webkit-mask: linear-gradient(#fff 0 0) content-box, linear-gradient(#fff 0 0);
  mask: linear-gradient(#fff 0 0) content-box, linear-gradient(#fff 0 0);
  -webkit-mask-composite: xor;
  mask-composite: exclude;

  pointer-events: none;
}

.rc-gate__title {
	margin: 0 0 24px;
	font-size: var(--wp--preset--font-size--x-32);
	line-height: 1.3;

	text-align: center;
}

.rc-gate__intro {
	margin: 0 0 20px;
	color: var(--rc-ink-soft);


	font-style: normal;
	font-weight: 400;
	font-size: 16px;
	line-height: 150%;

	display: flex;
	align-items: center;
	text-align: center;

	color: #FFFFFF;

	text-shadow: 1px 1px 1px rgba(0, 0, 0, 0.004);

	text-align: center;
    justify-content: center;
}

.rc-gate__title + .rc-gate__intro {
	margin-top: -16px;
}

.rc-gate__form {
	min-height: 140px;
}

/* Inline HubSpot form (embedded with css:'' so the site owns the styling). */
.rc-gate__form form {
	margin: 0;
}

.rc-gate__form fieldset {
	border: 0;
	margin: 0;
	padding: 0;
}

.rc-gate__form .form-columns-2,
.rc-gate__form .form-columns-3 {
	display: flex;
	gap: 0 12px;
}

.rc-gate__form .form-columns-2 .hs-form-field,
.rc-gate__form .form-columns-3 .hs-form-field {
	flex: 1 1 0;
	min-width: 0;
}

/* HubSpot injects its own per-form layout stylesheet at runtime; these
 * outrank it so the grid above (not floats) lays out multi-column rows. */
.rc-gate__form form.hs-form fieldset .input {
	margin-right: 0;
}

.rc-gate__form form.hs-form fieldset.form-columns-1 .hs-input:not([type="checkbox"]):not([type="radio"]) {
	width: 100%;
}

.rc-gate__form form.hs-form fieldset.form-columns-2 .hs-form-field,
.rc-gate__form form.hs-form fieldset.form-columns-3 .hs-form-field {
	width: auto;
}

.rc-gate__form .hs-form-field {
	margin-bottom: 14px;
}

.rc-gate__form .hs-form-field > label {
	display: block;
	margin: 0 0 6px;
	font-size: 14px;
	font-weight: 600;
	/* color: var(--rc-ink); */
}

.rc-gate__form .hs-form-required {
	color: #d64545;
}

.rc-gate__form .hs-input {
	border: none;
	border-radius: inherit;
	min-height: 44px !important;
	padding: 0 15px;
}

.rc-gate__form textarea.hs-input {
	min-height: 96px;
	resize: vertical;
}

.rc-gate__form .hs-input.invalid,
.rc-gate__form .hs-input.error {
	border-color: #d64545;
}

.rc-gate__form .hs-error-msgs {
	list-style: none;
	margin: 6px 0 0;
	padding: 0;
	font-size: 13px;
	color: #d64545;
}

.rc-gate__form .inputs-list {
	list-style: none;
	margin: 0;
	padding: 0;
}

.rc-gate__form .hs-form-booleancheckbox-display {
	display: flex;
	gap: 10px;
	align-items: flex-start;
	font-size: 13px;
	font-weight: 400;
	/* color: var(--rc-ink-soft); */
	cursor: pointer;
}

.rc-gate__form .hs-form-booleancheckbox-display .hs-input {
	width: auto;
	min-height: 0;
	margin-top: 3px;
	flex: none;
	accent-color: var(--rc-accent);
}

.rc-gate__form .hs-form-booleancheckbox-display > span {
	flex: 1;
	min-width: 0;
}

.rc-gate__form .hs-richtext {
	font-size: 13px;
	color: #ffffff;
}

.rc-gate__form .hs-richtext a {
	color: var(--rc-accent);
}

.rc-gate__form .hs-submit {
	margin-top: 18px;
}

.rc-gate__form .hs-button {
	/* width: 100%; */
	margin: 0 auto;
	min-height: 44px;
	padding: 10px 18px;
	font-size: 15px;
	font-weight: 600;
	color: var(--rc-accent-contrast);
	background: var(--rc-accent);
	border: 1px solid transparent;
	border-radius: var(--rc-radius);
	cursor: pointer;
}

.rc-gate__form .hs-button:hover {
	filter: brightness(1.08);
}

.rc-gate__form .actions {
	display: flex;
    justify-content: center;
}

@media (max-width: 480px) {
	.rc-gate__form .form-columns-2,
	.rc-gate__form .form-columns-3 {
		flex-direction: column;
	}
}

.rc-gate__retry {
	width: 100%;
}

body.rc-gated {
	overflow: hidden;
}

.rc-mobilebar {
	display: none;
}

/* var() is invalid in @media, so the breakpoint stays a literal matching --rc-breakpoint. */
@media (max-width: 767px) {
	.rc-topbar__row {
		flex-wrap: wrap;
		padding: 8px 16px;
		row-gap: 4px;
	}

	.rc-topbar__actions .rc-btn {
		display: none;
	}

	.rc-topbar__actions .rc-topbar__hamburger {
		display: inline-flex;
		align-items: center;
		justify-content: center;
	}

	.rc-topbar__panel {
		display: flex;
		flex-direction: column;
		gap: 10px;
		padding: 12px 16px 20px;
		background: var(--rc-surface);
		border-bottom: 1px solid var(--rc-line);
	}

	.rc-topbar__panel .rc-btn {
		width: 100%;
	}

	.rc-shell {
		grid-template-columns: minmax(0, 1fr);
	}

	.rc-sidebar {
		display: none;
	}

	.rc-sidebar__toggle {
		display: none;
	}

	.rc-skeleton__page {
		height: 420px;
	}

	.rc-mobilebar {
		display: block;
		position: fixed;
		left: 0;
		right: 0;
		bottom: 0;
		z-index: 30;
	}

	.rc-mobilebar__toggle {
		width: 100%;
		min-height: 52px;
		border: 0;
		border-radius: 0;
		background: var(--rc-accent);
		color: var(--rc-accent-contrast);
		font-size: 15.5px;
		font-weight: 600;
		cursor: pointer;
	}

	.rc-mobilebar__panel {
		background: var(--rc-surface);
		border-top: 1px solid var(--rc-line);
		border-radius: var(--rc-radius) var(--rc-radius) 0 0;
		box-shadow: 0 -8px 24px rgba(20, 24, 31, 0.12);
		padding: 12px 0 8px;
		transition: transform 250ms ease, opacity 200ms ease, display 250ms allow-discrete;
	}

	.rc-mobilebar__panel[hidden] {
		display: none;
		opacity: 0;
		transform: translateY(16px);
	}

	@starting-style {
		.rc-mobilebar__panel:not([hidden]) {
			opacity: 0;
			transform: translateY(16px);
		}
	}

	.rc-mobilebar__head {
		display: flex;
		align-items: center;
		justify-content: space-between;
		padding: 0 16px 8px;
	}

	.rc-mobilebar__title {
		font-size: 13px;
		font-weight: 700;
		letter-spacing: 0.04em;
		text-transform: uppercase;
		color: var(--rc-ink-soft);
		margin: 0;
	}

	.rc-mobilebar__close {
		width: 44px;
		height: 44px;
		margin: -8px -8px -8px 0;
		border: 0;
		background: none;
		font-size: 26px;
		line-height: 1;
		color: var(--rc-ink-soft);
		cursor: pointer;
	}

	.rc-mobilebar__list {
		list-style: none;
		display: flex;
		gap: 12px;
		margin: 0;
		padding: 4px 16px 12px;
		overflow-x: auto;
		scroll-snap-type: x mandatory;
		-webkit-overflow-scrolling: touch;
	}

	.rc-mobilebar__list:focus-visible {
		outline: 2px solid var(--rc-accent);
		outline-offset: -2px;
	}

	.rc-card.mobile {
		flex: 0 0 240px;
		scroll-snap-align: start;
	}

	.rc-card.mobile .rc-card__link {
		flex-direction: column;
		gap: 8px;
		margin: 0;
	}

	.rc-card.mobile .rc-card__thumb {
		width: 100%;
		height: 132px;
		flex-basis: auto;
	}

	.rc-mobilebar__sentinel {
		flex: 0 0 72px;
		display: flex;
		align-items: center;
		justify-content: center;
		scroll-snap-align: start;
	}

	.rc-spinner {
		width: 28px;
		height: 28px;
		border: 3px solid var(--rc-line);
		border-top-color: var(--rc-accent);
		border-radius: 50%;
		animation: rc-spin 0.8s linear infinite;
	}

	@keyframes rc-spin {
		to {
			transform: rotate(360deg);
		}
	}
}

@media print {
	.rc-topbar,
	.rc-topbar__panel,
	.rc-sidebar,
	.rc-mobilebar,
	.rc-gate,
	.rc-related__more {
		display: none !important;
	}

	.rc-viewer,
	.rc-shell {
		display: block;
		background: #fff;
		margin: 0;
		padding: 0;
		max-width: none;
	}

	.rc-content,
	.rc-doc-print,
	.rc-doc-fetch {
		max-width: none;
	}

	.rc-doc .rc-page {
		break-inside: avoid;
		page-break-inside: avoid;
		box-shadow: none;
		border: 0;
	}
}

@media (prefers-reduced-motion: reduce) {
	.rc-viewer *,
	.rc-viewer *::before,
	.rc-viewer *::after {
		animation-duration: 0.01ms !important;
		animation-iteration-count: 1 !important;
		transition-duration: 0.01ms !important;
	}
}




.rc-gate__card {
	background-color: #1A1825;
	color: #fff;
}


.rc-gate__card form {
	width: 100%;
}

.rc-gate__card__title {
    font-size: var(--wp--preset--font-size--x-32);
    text-align: center;
    margin-bottom: .5em;
}

.rc-gate__card input,
.rc-gate__card select,
.rc-gate__card textarea,
.rc-gate__card button {
	box-sizing: border-box;
	max-width: 100%;
	font: inherit;
}

.rc-gate__card.rc-gate__card input:not([type=checkbox]):not([type=radio]):not([type=submit]):not([type=button]),
.rc-gate__card.rc-gate__card.rc-gate__card.rc-gate__card.rc-gate__card.rc-gate__card select,
.rc-gate__card.rc-gate__card.rc-gate__card.rc-gate__card.rc-gate__card.rc-gate__card textarea {
	width: 100%;
}

.rc-gate__card .hs-form label {
	display: block;
	margin-bottom: .4em;
}


.rc-gate__card .hs-form fieldset {
	max-width: 100%;
}


.rc-gate__card .hs-form fieldset.form-columns-1 .hs-form-field,
.rc-gate__card .hs-form fieldset.form-columns-2 .hs-form-field {
	width: auto;
    float: none;

	margin-top: 0;
	margin-bottom: 20px;
}

.rc-gate__card .hs-form fieldset.form-columns-1 .hs-input:not([type=checkbox]):not([type=radio]):not([type=submit]):not([type=button]) {
	width: 100%;
}


.rc-gate__card .hs-form fieldset.form-columns-2 {
	display: flex;
	gap: 0px 20px;
	max-width: none;
}

.rc-gate__card .hs-form fieldset.form-columns-2 > * {
	flex: 1;
}

.rc-gate__card .hs-form fieldset.form-columns-1 .input,
.rc-gate__card .hs-form fieldset.form-columns-2 .input {
	margin: 0;
}

.rc-gate__card .hs-form .input {
	position: relative;
	border-radius: 10px;
}


.rc-gate__card .hs-form .input:has(input[type=text], input[type=email], input[type=tel], input[type=url], select, textarea)::before {
	content: '';
	position: absolute;
	inset: 0px;

	border-radius: inherit;
	/* this is the border width */
	padding: 2px;

	background: linear-gradient(180deg, #5F61FF 0%, rgba(95, 97, 255, 0) 100%);
	-webkit-mask: linear-gradient(#fff 0 0) content-box, linear-gradient(#fff 0 0);
	mask: linear-gradient(#fff 0 0) content-box, linear-gradient(#fff 0 0);
	-webkit-mask-composite: xor;
	mask-composite: exclude;

	pointer-events: none;
}


.rc-gate__card .hs-form .hs-fieldtype-select .input {
	position: relative;
}

.rc-gate__card .hs-form .hs-fieldtype-select .input select {
  -webkit-appearance: none;  /* Chrome, Safari, newer Edge */
  -moz-appearance: none;     /* Firefox */
  appearance: none;          /* Standard property */
}
.rc-gate__card .hs-form .hs-fieldtype-select .input::after {
    display: inline-block;
    content: "";
    width: 0;
    height: 0;
    right: 20px;
    top: 19px;
    transition: 150ms ease-in-out;
    transform: rotate(45deg);
    border: solid #fff;
    border-width: 0 2px 2px 0;
    padding: 2.3px;
    position: absolute;
}

.rc-gate__card .hs-form .input :is(input[type=text]:focus, input[type=email]:focus, input[type=tel]:focus, input[type=url]:focus, select:focus, textarea:focus) {
	outline: none;
}

.rc-gate__card .hs-form .input:has(input[type=text]:focus, input[type=email]:focus, input[type=tel]:focus, input[type=url]:focus, select:focus, textarea:focus)::before {
	background: linear-gradient(180deg, #95FFEC 0%, rgba(40, 185, 5, 0) 100%);
}

.rc-gate__card .hs-form ul.inputs-list {
	list-style: none;
	margin: 0;
	padding: 0;
}

.rc-gate__card .hs-form ul.hs-error-msgs {
	list-style: none;
	margin: 0;
	padding: 0;
}

.rc-gate__card .hs-form .hs-error-msg {
	color: #d50000;
	font-size: 12px;
	/* letter-spacing: .05em; */
    text-transform: uppercase;
}

.rc-gate__card .hs-form [type="radio"]:checked,
.rc-gate__card .hs-form [type="radio"]:not(:checked),
.rc-gate__card .hs-form [type="checkbox"]:checked,
.rc-gate__card .hs-form [type="checkbox"]:not(:checked) {
                  position: absolute;
                  left: -9999px;
            }
.rc-gate__card .hs-form [type="radio"]:checked + span,
.rc-gate__card .hs-form [type="radio"]:not(:checked) + span
            {
                  position: relative;
                  padding-left: 30px;
                  cursor: pointer;
                  line-height: 60px;
                  display: inline-block;
            }

.rc-gate__card .hs-form [type="checkbox"]:checked + span,
.rc-gate__card .hs-form [type="checkbox"]:not(:checked) + span{
                  position: relative;
                  padding-left: 30px !important;
                  cursor: pointer;
                  display: inline-block;
                  margin: 7px 0px;
                  text-transform: inherit !important;
            }
.rc-gate__card .hs-form [type="radio"]:checked + span:before,
.rc-gate__card .hs-form [type="radio"]:not(:checked) + span:before,
.rc-gate__card .hs-form [type="checkbox"]:checked + span:before,
.rc-gate__card .hs-form [type="checkbox"]:not(:checked) + span:before{
                  content: '';
                  position: absolute;
                  left: 0;
                  top: 0;
                  width: 20px;
                  height: 20px;
                  /* background: #fff; */
                  border: 1px solid #ccc;
                  border-radius: 4px;
            }
.rc-gate__card .hs-form [type="radio"]:not(:checked) + span:after {
                  content: '';
                  width: 32px;
                  height: 32px;
                  background: #fff !important;
                  position: absolute;
                  top: 14px;
                  left: 14px;
                  border-radius: 100%;
            }
.rc-gate__card .hs-form [type="checkbox"]:not(:checked) + span:after {
                  content: '';
                  position: absolute;
            }
.rc-gate__card .hs-form [type="radio"]:checked + span:after {
                  content: '';
                  width: 8px;
                  height: 8px;
                  position: absolute;
                  border-radius: 100%;
            }
.rc-gate__card .hs-form [type="checkbox"]:checked + span:after {
                  content: '';
                  width: 20px;
                  height: 20px;
                  position: absolute;
                  top: 0;
                  left: 0;
				  border-radius: 4px;
                  background: #fff url(/wp-content/themes/keyfactor/library/images/i-check.png) no-repeat center center;
                  background-size: 90%;
                  text-align: center;
            }

.rc-gate__card .hs-form [type="radio"]:not(:checked) + span:after,
.rc-gate__card .hs-form [type="radio"]:checked + span:after,
.rc-gate__card .hs-form [type="checkbox"]:not(:checked) + span:after,
.rc-gate__card .hs-form [type="checkbox"]:checked + span:after {
                  opacity: 1;
                  -webkit-transform: scale(1);
                  transform: scale(1);
            }



.rc-gate__card--style-1 {
}


.rc-gate__card--style-1 input[type=text]::placeholder,
.rc-gate__card--style-1 input[type=email]::placeholder,
.rc-gate__card--style-1 input[type=tel]::placeholder,
.rc-gate__card--style-1 input[type=url]::placeholder{
  color: inherit;
  opacity: 1;
}

.rc-gate__card--style-1 input[type=text],
.rc-gate__card--style-1 input[type=email],
.rc-gate__card--style-1 input[type=tel],
.rc-gate__card--style-1 input[type=url],
.rc-gate__card--style-1 select,
.rc-gate__card--style-1 textarea {
	background-color: #FFFFFF33;
	color: inherit;
}

/* Windows draws the native dropdown list with the select's colors: the
   translucent background lands on the light canvas while the text stays
   white. Give the list its own opaque colors (macOS ignores these). */
.rc-gate__card--style-1 select option,
.rc-gate__card--style-1 select optgroup {
	background-color: #ffffff;
	color: #14181f;
}


.rc-gate__card--style-1 .hs-form .input:has(input[type=text], input[type=email], input[type=tel], input[type=url], select, textarea)::before {
	/* this is the border width */
	padding: 1px;

	background: linear-gradient(180deg, #FFFFFF66 0%, rgba(255, 255, 255, 0) 100%);
}

.rc-gate__card--style-1 .hs-form .input:has(input[type=text]:focus, input[type=email]:focus, input[type=tel]:focus, input[type=url]:focus, select:focus, textarea:focus) {
	background-color: #FFFFFF10;
}

.rc-gate__card--style-1 .hs-form [type="radio"]:checked + span:before,
.rc-gate__card--style-1 .hs-form [type="radio"]:not(:checked) + span:before,
.rc-gate__card--style-1 .hs-form [type="checkbox"]:checked + span:before,
.rc-gate__card--style-1 .hs-form [type="checkbox"]:not(:checked) + span:before {
	background: #FFFFFF99;
}

.rc-gate__card--style-1 input[type=submit] {
	font-family: "degular-variable", sans-serif;
	/* font-weight: 500; */
	font-size: 16px;
	line-height: 100%;
	padding-top: 18px;
	padding-right: 24px;
	padding-bottom: 18px;
	padding-left: 24px;
	border-radius: 50vw;

	background-color: #5F61FF;
	backdrop-filter: none;
	-webkit-backdrop-filter: none;
	box-shadow: none;

	color: #fff;
}

.rc-gate__card--style-1 input[type=submit]:hover,
.rc-gate__card--style-1 input[type=submit]:active {
	background-color: #5f61ff;
}

.rc-gate__card--light {
	background: #ffffff;
	color: #14181f;
	border-radius: 24px;
	padding: 40px;
}

.rc-gate__card--light::before {
	display: none;
}

.rc-gate__card--light .rc-gate__title {
	color: #111111;
}

.rc-gate__card--light .rc-gate__intro {
	color: #3c414b;
	text-shadow: none;
}

.rc-gate__card--light .hs-form-field > label {
	color: #14181f;
}

.rc-gate__card--light .hs-form input::placeholder,
.rc-gate__card--light .hs-form textarea::placeholder {
	color: #14181f;
	opacity: 1;
}

.rc-gate__card--light .hs-form input:not([type=checkbox]):not([type=radio]):not([type=submit]):not([type=button]):not([type=hidden]),
.rc-gate__card--light .hs-form select,
.rc-gate__card--light .hs-form textarea {
	background-color: #ffffff;
	color: #14181f;
	border: 1px solid #d8d8de;
	border-radius: 12px;
	min-height: 52px !important;
	padding: 14px 20px;
	font-size: 16px;
}

.rc-gate__card--light .hs-form .input::before {
	display: none;
}

.rc-gate__card--light .hs-form .input :is(input:not([type=checkbox]):not([type=radio]):not([type=submit]):not([type=button]):not([type=hidden]):focus, select:focus, textarea:focus) {
	border-color: #14181f;
	outline: none;
}

.rc-gate__card--light .hs-form .hs-fieldtype-select .input::after {
	border-color: #14181f;
}

.rc-gate__card--light .hs-form .hs-form-booleancheckbox-display {
	color: #1a1a1a;
}

.rc-gate__card--light .hs-form [type="radio"]:checked + span:before,
.rc-gate__card--light .hs-form [type="radio"]:not(:checked) + span:before,
.rc-gate__card--light .hs-form [type="checkbox"]:checked + span:before,
.rc-gate__card--light .hs-form [type="checkbox"]:not(:checked) + span:before {
	background: #ffffff;
	border-color: #b9b9c0;
}

.rc-gate__card--light .hs-form .hs-richtext {
	color: #1a1a1a;
}

.rc-gate__card--light input[type=submit] {
	font-family: "degular-variable", sans-serif;
	font-size: 16px;
	line-height: 100%;
	padding: 16px 36px;
	border: 0;
	border-radius: 50vw;
	background-color: #111111;
	color: #ffffff;
}

.rc-gate__card--light input[type=submit]:hover,
.rc-gate__card--light input[type=submit]:active {
	background-color: #333333;
}

@media (max-width: 480px) {
	.rc-gate__card--light {
		padding: 28px 24px;
	}
}

.rc-gate__card--style-3 {
	background: transparent;
}

.rc-gate__card--style-3::before {
	display: none;
}

.rc-gate__card--style-3 .hs-form .input:has(input[type=text], input[type=email], input[type=tel], input[type=url], select, textarea)::before {
	padding: 1px;
	background: linear-gradient(180deg, rgba(255, 255, 255, 0.25) 0%, rgba(255, 255, 255, 0) 100%);
}

.rc-gate__card--style-3 input[type=submit] {
	width: 100%;
	background-color: #5F61FF;
	backdrop-filter: none;
	-webkit-backdrop-filter: none;
	box-shadow: none;
	color: #fff;

	padding: 18px 24px;
	margin-top: 12px;
}

.rc-gate__card--style-3 input[type=submit]:hover,
.rc-gate__card--style-3 input[type=submit]:active {
	background-color: #5f61ff;
}

.rc-gate__card--style-3 {
	color: inherit;
	margin-top: auto;
}

@media (max-width: 1020px) {
	.rc-gate__card__title {
		text-align: center;
	}
}
