/* ==========================================================================
   RedeemDaily — main stylesheet
   ========================================================================== */

:root {
	--rd-brand: #5B4BFF;
	--rd-brand-ink: #3A2FCC;
	--rd-brand-tint: #EEECFF;
	--rd-brand-line: #DCD8FF;
	--rd-brand-light: #A79FFF;
	--rd-ink: #0E1116;
	--rd-text: #3A4050;
	--rd-muted: #4B5263;
	--rd-soft: #6B7280;
	--rd-bg: #F6F7FB;
	--rd-card: #FFFFFF;
	--rd-line: #E6E8F0;
	--rd-line-2: #ECEEF4;
	--rd-dash: #C9CDD8;
	--rd-green: #12B76A;
	--rd-green-ink: #0B7A4B;
	--rd-green-tint: #E9F9F1;
	--rd-amber-tint: #FFF6D6;
	--rd-amber-line: #F3E2A2;
	--rd-amber-ink: #4D3A00;
	--rd-font: 'Plus Jakarta Sans', system-ui, -apple-system, 'Segoe UI', Roboto, sans-serif;
	--rd-mono: 'JetBrains Mono', ui-monospace, SFMono-Regular, Menlo, monospace;
	--rd-ease: cubic-bezier(.2, .7, .2, 1);
	--rd-r-sm: 12px;
	--rd-r: 20px;
	--rd-r-lg: 28px;
}

/* ---------- Base ---------- */
*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; overflow-x: clip; }
body {
	margin: 0;
	background: var(--rd-bg);
	color: var(--rd-ink);
	font-family: var(--rd-font);
	font-size: 16px;
	line-height: 1.6;
	-webkit-font-smoothing: antialiased;
	overflow-x: hidden;
}
img, svg, video { max-width: 100%; height: auto; }
a { color: var(--rd-ink); }
a:hover { color: var(--rd-brand); }
button, input, select, textarea { font: inherit; color: inherit; }
:focus-visible { outline: 3px solid var(--rd-brand); outline-offset: 3px; border-radius: 6px; }
h1, h2, h3, h4 { line-height: 1.2; }

.screen-reader-text {
	position: absolute !important;
	width: 1px; height: 1px;
	padding: 0; margin: -1px;
	overflow: hidden; clip: rect(0, 0, 0, 0);
	white-space: nowrap; border: 0;
}
.rd-skip:focus {
	clip: auto; width: auto; height: auto; margin: 0;
	left: 12px; top: 12px; z-index: 10001;
	padding: 10px 16px; background: var(--rd-ink); color: #fff; border-radius: 10px;
}

.rd-wrap { width: 100%; max-width: 1240px; margin: 0 auto; padding: 0 24px; }
.rd-wrap--narrow { max-width: 880px; }
.rd-main { display: block; }

/* ---------- Animation keyframes ---------- */
@keyframes rdUp { from { opacity: 0; transform: translateY(22px); } to { opacity: 1; transform: none; } }
@keyframes rdFloat { 0%, 100% { transform: translateY(0) rotate(var(--rd-rot, 0deg)); } 50% { transform: translateY(-14px) rotate(var(--rd-rot, 0deg)); } }
@keyframes rdMarquee { from { transform: translateX(0); } to { transform: translateX(-50%); } }
@keyframes rdPulse { 0% { box-shadow: 0 0 0 0 rgba(18, 183, 106, .55); } 70% { box-shadow: 0 0 0 9px rgba(18, 183, 106, 0); } 100% { box-shadow: 0 0 0 0 rgba(18, 183, 106, 0); } }
@keyframes rdDraw { from { stroke-dashoffset: 420; } to { stroke-dashoffset: 0; } }
@keyframes rdBar { from { transform: scaleX(0); } to { transform: scaleX(1); } }
@keyframes rdDrift { 0%, 100% { transform: translate(0, 0); } 50% { transform: translate(30px, -20px); } }
@keyframes rdShine { 0% { transform: translateX(-120%) skewX(-20deg); } 60%, 100% { transform: translateX(260%) skewX(-20deg); } }

.rd-up { animation: rdUp .8s var(--rd-ease) both; }
.rd-d1 { animation-delay: .08s; } .rd-d2 { animation-delay: .16s; } .rd-d3 { animation-delay: .24s; } .rd-d4 { animation-delay: .32s; } .rd-d5 { animation-delay: .4s; }
.rd-float { animation: rdFloat 6s ease-in-out infinite; }
.rd-marquee { animation: rdMarquee 32s linear infinite; }
.rd-pulse { animation: rdPulse 2s infinite; }
.rd-drift { animation: rdDrift 14s ease-in-out infinite; }

/* Scroll reveal (JS adds .is-in) */
.rd-js .rd-reveal { opacity: 0; transform: translateY(26px); transition: opacity .7s var(--rd-ease), transform .7s var(--rd-ease); }
.rd-js .rd-reveal.is-in { opacity: 1; transform: none; }

/* Hover lift */
.rd-lift { transition: transform .3s var(--rd-ease), box-shadow .3s, border-color .3s; }
.rd-lift:hover { transform: translateY(-6px); box-shadow: 0 24px 48px -24px rgba(14, 17, 22, .28); border-color: #CFCBFF; }
.rd-img { transition: transform .6s var(--rd-ease); }
.rd-lift:hover .rd-img { transform: scale(1.05); }
.rd-arrow { display: inline-block; transition: transform .25s; }
.rd-lift:hover .rd-arrow, .rd-btn:hover .rd-arrow { transform: translateX(4px); }

/* ---------- Cursor ---------- */
.rd-cursor { display: none; }
.rd-has-cursor .rd-cursor { display: block; }
.rd-cursor__ring, .rd-cursor__dot {
	position: fixed; left: 0; top: 0; z-index: 10000; pointer-events: none;
	border-radius: 50%; opacity: 0; transition: opacity .3s;
	transform: translate3d(-100px, -100px, 0);
}
.rd-cursor.is-on .rd-cursor__ring, .rd-cursor.is-on .rd-cursor__dot { opacity: 1; }
.rd-cursor__ring {
	width: 34px; height: 34px; margin: -17px 0 0 -17px;
	border: 1.5px solid var(--rd-brand);
	transition: opacity .3s, width .25s, height .25s, margin .25s, background-color .25s;
}
.rd-cursor.is-hover .rd-cursor__ring { width: 56px; height: 56px; margin: -28px 0 0 -28px; background: rgba(91, 75, 255, .12); }
.rd-cursor.is-down .rd-cursor__ring { width: 26px; height: 26px; margin: -13px 0 0 -13px; }
.rd-cursor__dot { width: 8px; height: 8px; margin: -4px 0 0 -4px; background: var(--rd-brand); }

/* Reading progress */
.rd-progress { position: fixed; left: 0; right: 0; top: 0; height: 3px; z-index: 9999; pointer-events: none; }
.rd-progress span { display: block; height: 100%; width: 100%; background: var(--rd-brand); transform-origin: left; transform: scaleX(0); }
.admin-bar .rd-progress { top: 32px; }
@media (max-width: 782px) { .admin-bar .rd-progress { top: 46px; } }

/* ---------- Small parts ---------- */
.rd-dot { display: inline-block; width: 7px; height: 7px; border-radius: 50%; background: var(--rd-green); flex: 0 0 auto; }
.rd-live {
	display: inline-flex; align-items: center; gap: 8px;
	padding: 6px 12px; border-radius: 999px;
	background: var(--rd-green-tint); color: var(--rd-green-ink);
	font-size: 13px; font-weight: 700;
}
.rd-chipgrey { display: inline-flex; padding: 6px 12px; border-radius: 999px; background: #F1F2F6; color: var(--rd-muted); font-size: 13px; font-weight: 700; }
.rd-pill {
	display: inline-flex; align-items: center; align-self: flex-start;
	padding: 4px 11px; border-radius: 999px;
	font-size: 12px; font-weight: 700; text-decoration: none; line-height: 1.5;
	background: var(--rd-brand-tint); color: var(--rd-brand-ink);
}
a.rd-pill:hover { filter: brightness(.96); }
.rd-pill--onmedia { position: absolute; left: 16px; top: 16px; background: #fff !important; z-index: 2; }
.rd-badge {
	display: inline-flex; align-items: center; gap: 8px;
	padding: 7px 14px; border-radius: 999px;
	background: var(--rd-brand-tint); color: var(--rd-brand-ink);
	font-size: 13px; font-weight: 700;
}
.rd-kicker { font-size: 13px; font-weight: 700; letter-spacing: .08em; text-transform: uppercase; color: var(--rd-brand); }
.rd-kicker--light { color: var(--rd-brand-light); }
.rd-h2 { margin: 6px 0 0; font-weight: 800; font-size: clamp(30px, 3.4vw, 42px); letter-spacing: -.035em; line-height: 1.1; }
.rd-h2--light { color: #fff; }
.rd-h3 { margin: 0 0 20px; font-weight: 800; font-size: 26px; letter-spacing: -.03em; }
.rd-meta { font-size: 13px; color: var(--rd-soft); font-weight: 600; display: flex; flex-wrap: wrap; gap: 8px; align-items: center; }
.rd-more { font-weight: 700; color: var(--rd-brand); }
.rd-empty { color: var(--rd-muted); }

/* Buttons */
.rd-btn {
	display: inline-flex; align-items: center; justify-content: center; gap: 8px;
	min-height: 46px; padding: 0 20px; border: 0; border-radius: 12px;
	font-weight: 700; font-size: 15px; line-height: 1; text-decoration: none; cursor: pointer;
	transition: transform .2s, filter .2s, background-color .25s;
}
.rd-btn:hover { transform: translateY(-2px); filter: brightness(1.08); }
.rd-btn--primary { background: var(--rd-brand); color: #fff; }
.rd-btn--primary:hover { color: #fff; }
.rd-btn--dark { background: var(--rd-ink); color: #fff; }
.rd-btn--dark:hover { color: #fff; }
.rd-btn--sm { min-height: 44px; padding: 0 18px; font-size: 14px; }
.rd-iconbtn {
	width: 44px; height: 44px; border-radius: 12px;
	border: 1px solid var(--rd-line); background: #fff; color: var(--rd-ink);
	display: inline-flex; align-items: center; justify-content: center; cursor: pointer;
	transition: transform .2s, border-color .2s;
}
.rd-iconbtn:hover { transform: translateY(-2px); border-color: #CFCBFF; }

/* ---------- Header ---------- */
.rd-header { background: #fff; border-bottom: 1px solid var(--rd-line); position: relative; z-index: 20; }
.rd-header__inner { padding-top: 18px; }
.rd-header__top { display: grid; grid-template-columns: minmax(0, 1fr) auto minmax(0, 1fr); align-items: center; gap: 12px; }
.rd-header__right { display: flex; justify-content: flex-end; align-items: center; gap: 10px; }
.rd-logo { display: inline-flex; align-items: center; gap: 12px; text-decoration: none; color: var(--rd-ink); }
.rd-logo:hover { color: var(--rd-ink); }
.rd-logo__badge {
	width: 46px; height: 46px; border-radius: 14px; background: var(--rd-brand); color: #fff;
	display: inline-flex; align-items: center; justify-content: center;
	font-weight: 800; font-size: 22px; transition: transform .4s var(--rd-ease);
}
.rd-logo__badge--sm { width: 40px; height: 40px; border-radius: 12px; font-size: 19px; }
.rd-logo:hover .rd-logo__badge { transform: rotate(-8deg) scale(1.06); }
.rd-logo__img { max-height: 46px; width: auto; }
.rd-logo__text { font-weight: 800; font-size: 30px; letter-spacing: -.04em; line-height: 1; }
.rd-logo__text span { color: var(--rd-brand); }
.rd-logo--light { color: #fff; }
.rd-logo--light:hover { color: #fff; }
.rd-logo--light .rd-logo__text { font-size: 26px; }
.rd-logo--light .rd-logo__text span { color: var(--rd-brand-light); }

.rd-nav { margin-top: 14px; }
.rd-nav ul { list-style: none; margin: 0; padding: 0; display: flex; flex-wrap: wrap; justify-content: center; gap: 0 4px; }
.rd-nav a {
	display: block; padding: 14px 16px; text-decoration: none;
	font-size: 15px; font-weight: 600; color: var(--rd-ink);
	border-bottom: 2px solid transparent; transition: color .2s, border-color .2s;
}
.rd-nav a:hover { color: var(--rd-brand); }
.rd-nav a.is-active { color: var(--rd-brand); border-bottom-color: var(--rd-brand); }

/* Search overlay */
.rd-search { position: fixed; inset: 0; z-index: 9998; background: rgba(14, 17, 22, .45); display: flex; align-items: flex-start; justify-content: center; padding: 12vh 16px 16px; }
.rd-search[hidden] { display: none; }
.rd-search__panel { width: 100%; max-width: 680px; display: flex; gap: 10px; align-items: center; animation: rdUp .35s var(--rd-ease) both; }
.rd-search__panel .rd-searchform { flex: 1; }

.rd-searchform {
	display: flex; align-items: center; gap: 8px; padding: 8px 8px 8px 16px;
	background: #fff; border: 1px solid var(--rd-line); border-radius: 18px;
	box-shadow: 0 20px 40px -24px rgba(14, 17, 22, .25);
}
.rd-searchform .rd-icon { color: var(--rd-soft); flex: 0 0 auto; }
.rd-searchform input { flex: 1; min-width: 0; height: 46px; border: 0; outline: none; background: transparent; font-size: 16px; }

/* ---------- Facts bar ---------- */
.rd-facts { position: relative; background: var(--rd-ink); color: #fff; overflow: hidden; }
.rd-facts__inner { height: 54px; display: flex; align-items: center; justify-content: center; gap: 14px; }
.rd-facts__badge {
	position: relative; overflow: hidden; flex: 0 0 auto;
	display: inline-flex; align-items: center; gap: 8px;
	padding: 5px 12px; border-radius: 999px; background: var(--rd-brand);
	font-size: 12px; font-weight: 800; letter-spacing: .04em; text-transform: uppercase;
}
.rd-shine { position: absolute; top: 0; bottom: 0; left: 0; width: 40%; background: rgba(255, 255, 255, .35); animation: rdShine 3.5s ease-in-out infinite; }
.rd-facts__window { flex: 0 1 auto; min-width: 0; height: 24px; overflow: hidden; }
.rd-facts__list { list-style: none; margin: 0; padding: 0; transition: transform .7s var(--rd-ease); }
.rd-facts__list li { height: 24px; line-height: 24px; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; font-size: 14px; font-weight: 600; }
.rd-facts__list a, .rd-facts__list span { color: #E6E8F0; text-decoration: none; }
.rd-facts__list a span { color: var(--rd-brand-light); }
.rd-facts__list a:hover { color: #fff; }
.rd-facts__dots { flex: 0 0 auto; display: flex; gap: 6px; }
.rd-facts__dots span { width: 6px; height: 6px; border-radius: 3px; background: #3A3F4B; transition: width .4s, background-color .4s; }
.rd-facts__dots span.is-on { width: 20px; background: var(--rd-brand); }
.rd-facts__bar { position: absolute; left: 0; right: 0; bottom: 0; height: 2px; background: var(--rd-brand); transform-origin: left; animation: rdBar 4.5s linear infinite; }

/* ---------- Hero ---------- */
.rd-hero { position: relative; max-width: 1240px; margin: 0 auto; padding: 80px 24px 64px; text-align: center; overflow: hidden; overflow: clip; }
.rd-hero__inner { position: relative; display: flex; flex-direction: column; align-items: center; gap: 22px; padding: 0; }
.rd-hero__glow { position: absolute; left: 50%; top: 40px; width: 520px; height: 320px; margin-left: -260px; border-radius: 50%; background: radial-gradient(closest-side, rgba(91, 75, 255, .14), rgba(91, 75, 255, 0)); pointer-events: none; }
.rd-hero__title { position: relative; margin: 0; max-width: 900px; font-weight: 800; font-size: clamp(40px, 5.6vw, 78px); line-height: 1.05; letter-spacing: -.045em; }
.rd-words { position: relative; display: inline-block; height: 1.15em; overflow: hidden; vertical-align: bottom; color: var(--rd-brand); }
.rd-words__track { display: block; transition: transform .7s cubic-bezier(.7, 0, .2, 1); }
.rd-words__item { display: block; height: 1.15em; line-height: 1.15em; white-space: nowrap; }
.rd-squiggle { display: block; width: min(460px, 70%); height: .28em; margin: -.05em auto 0; overflow: visible; }
.rd-squiggle path { fill: none; stroke: #FFB547; stroke-width: 7; stroke-linecap: round; }
.rd-draw { stroke-dasharray: 420; animation: rdDraw 1.4s .5s cubic-bezier(.6, .1, .2, 1) both; }
.rd-hero__text { margin: 0; max-width: 600px; font-size: 19px; color: var(--rd-muted); }
.rd-hero__search {
	width: 100%; max-width: 640px; margin-top: 8px;
	display: flex; align-items: center; gap: 8px; padding: 8px;
	background: #fff; border: 1px solid var(--rd-line); border-radius: 20px;
	box-shadow: 0 20px 40px -24px rgba(14, 17, 22, .25);
}
.rd-hero__search > .rd-icon { margin-left: 12px; color: var(--rd-soft); flex: 0 0 auto; }
.rd-hero__search input { flex: 1; min-width: 0; height: 48px; border: 0; outline: none; background: transparent; font-size: 16px; }
.rd-hero__search .rd-btn { min-height: 52px; padding: 0 26px; border-radius: 14px; }
.rd-ticks { list-style: none; margin: 8px 0 0; padding: 0; display: flex; flex-wrap: wrap; justify-content: center; gap: 12px 32px; font-size: 14px; color: var(--rd-muted); font-weight: 600; }
.rd-ticks li { display: inline-flex; align-items: center; gap: 8px; }
.rd-ticks .rd-icon { color: var(--rd-green); stroke-width: 2.4; }

.rd-chip {
	position: absolute; z-index: 1; padding: 12px 16px; border-radius: 16px; text-align: left;
	box-shadow: 0 16px 32px -20px rgba(14, 17, 22, .35);
}
.rd-chip__label { display: block; font-size: 11px; font-weight: 700; letter-spacing: .02em; }
.rd-chip__code { display: block; font-family: var(--rd-mono); font-weight: 700; font-size: 15px; }
.rd-chip--1 { left: 24px; top: 96px; background: #fff; border: 1px solid var(--rd-line); --rd-rot: -6deg; }
.rd-chip--1 .rd-chip__label { color: var(--rd-soft); }
.rd-chip--2 { right: 36px; top: 140px; background: var(--rd-ink); color: #fff; animation-delay: 1.5s; }
.rd-chip--2 .rd-chip__label { color: var(--rd-brand-light); }
.rd-chip-icon { position: absolute; z-index: 1; display: flex; align-items: center; justify-content: center; }
.rd-chip-icon--1 { left: 90px; bottom: 70px; width: 54px; height: 54px; border-radius: 16px; background: var(--rd-brand-tint); color: var(--rd-brand); animation-delay: 3s; }
.rd-chip-icon--2 { right: 120px; bottom: 40px; width: 48px; height: 48px; border-radius: 50%; background: var(--rd-green-tint); color: var(--rd-green); animation-delay: 2s; }
.rd-chip-icon--2 .rd-icon { stroke-width: 2.6; }

/* Ticker */
.rd-ticker { border-top: 1px solid var(--rd-line); border-bottom: 1px solid var(--rd-line); background: #fff; overflow: hidden; }
.rd-ticker__track { display: flex; width: max-content; gap: 40px; padding: 16px 0; font-weight: 700; font-size: 15px; white-space: nowrap; color: var(--rd-muted); }
.rd-ticker__star { color: var(--rd-brand); }

/* ---------- Sections ---------- */
.rd-section { padding-top: 80px; padding-bottom: 8px; }
.rd-section + .rd-section { padding-top: 64px; }
.rd-section:last-of-type { padding-bottom: 88px; }
.rd-section__head { display: flex; flex-wrap: wrap; justify-content: space-between; align-items: flex-end; gap: 16px; margin-bottom: 28px; }
.rd-section__head--center { justify-content: center; text-align: center; }

/* Bento */
.rd-bento { display: flex; flex-wrap: wrap; gap: 20px; align-items: stretch; }
.rd-bento__main { flex: 3 1 520px; min-width: 0; display: flex; }
.rd-bento__main > .rd-card { flex: 1; }
.rd-bento__side { flex: 2 1 340px; min-width: 0; display: flex; flex-direction: column; gap: 20px; }
.rd-bento__side > .rd-card { flex: 1; }

/* Cards */
.rd-card { background: #fff; border: 1px solid var(--rd-line); border-radius: 24px; overflow: hidden; }
.rd-card__link { display: flex; height: 100%; text-decoration: none; color: var(--rd-ink); }
.rd-card__link:hover { color: var(--rd-ink); }
.rd-card__title { margin: 0; font-weight: 800; font-size: 18px; line-height: 1.3; letter-spacing: -.01em; color: var(--rd-ink); }
.rd-card__title--lg { font-size: 24px; line-height: 1.2; letter-spacing: -.03em; }
.rd-card__title--xl { font-size: clamp(24px, 2.4vw, 30px); line-height: 1.15; letter-spacing: -.03em; }
.rd-card__excerpt { margin: 0; color: var(--rd-muted); }
.rd-card__body { display: flex; flex-direction: column; gap: 10px; min-width: 0; }
.rd-card__kicker { font-size: 12px; font-weight: 700; }

.rd-card--featured { border-radius: var(--rd-r-lg); }
.rd-card--featured .rd-card__link { flex-direction: column; }
.rd-card--featured .rd-card__media { position: relative; aspect-ratio: 16 / 9; }
.rd-card--featured .rd-card__body { padding: 26px 28px 30px; }

.rd-card--compact .rd-card__link { padding: 18px; gap: 18px; align-items: center; }
.rd-card--compact .rd-card__thumb { flex: 0 0 116px; height: 116px; border-radius: 18px; overflow: hidden; }
.rd-card--compact .rd-card__body { gap: 6px; }

.rd-card--wide { border-radius: var(--rd-r-lg); }
.rd-card--wide .rd-card__link { flex-wrap: wrap; }
.rd-card--wide .rd-card__media { flex: 1 1 300px; min-height: 240px; position: relative; }
.rd-card--wide .rd-card__body { flex: 1 1 320px; padding: 28px; gap: 12px; }

.rd-card--mini { border-radius: var(--rd-r); background: var(--rd-bg); }
.rd-card--mini .rd-card__link { flex-direction: column; gap: 8px; padding: 22px; }
.rd-card--mini .rd-card__title { font-size: 17px; line-height: 1.35; }

/* Media / placeholder */
.rd-media { position: relative; width: 100%; height: 100%; overflow: hidden; background: var(--rd-tint, var(--rd-brand-tint)); }
.rd-media img.rd-img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.rd-media-ph { position: absolute; inset: 0; display: flex; align-items: center; justify-content: center; }
.rd-media-ph span { font-weight: 800; font-size: clamp(48px, 8vw, 110px); letter-spacing: -.06em; color: var(--rd-ink, #000); opacity: .28; display: flex; }
.rd-media-ph span { width: 100%; justify-content: center; }
.rd-media-ph .rd-icon { width: 96px; height: 96px; stroke-width: 1.4; }
.rd-media--hero .rd-media-ph .rd-icon { width: 150px; height: 150px; }
.rd-media--sm .rd-media-ph span { font-size: 34px; opacity: .35; }
.rd-media--sm .rd-media-ph .rd-icon { width: 44px; height: 44px; }
.rd-media--hero { aspect-ratio: 16 / 7; border-radius: var(--rd-r-lg); }
.rd-media--hero .rd-media-ph span { font-size: clamp(64px, 11vw, 150px); }

/* Tiles */
.rd-tiles { display: grid; grid-template-columns: repeat(auto-fit, minmax(250px, 1fr)); gap: 20px; }
.rd-tile { text-decoration: none; padding: 28px; border-radius: 24px; background: #fff; border: 1px solid var(--rd-line); display: flex; flex-direction: column; gap: 14px; color: var(--rd-ink); }
.rd-tile:hover { color: var(--rd-ink); }
.rd-tile__icon { width: 56px; height: 56px; border-radius: 16px; display: flex; align-items: center; justify-content: center; }
.rd-tile__title { font-weight: 800; font-size: 20px; }
.rd-tile__text { font-size: 15px; color: var(--rd-muted); }
.rd-tile .rd-more { font-size: 14px; }

/* How it works */
.rd-how { padding: 48px; border-radius: 32px; background: var(--rd-ink); color: #fff; display: flex; flex-wrap: wrap; gap: 40px; align-items: center; }
.rd-how__intro { flex: 1 1 320px; min-width: 0; }
.rd-how__intro .rd-h2 { font-size: 36px; margin-top: 8px; }
.rd-how__steps { flex: 2 1 560px; min-width: 0; list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(auto-fit, minmax(170px, 1fr)); gap: 16px; }
.rd-how__steps li { padding: 24px; border-radius: 20px; background: #171B23; border: 1px solid #262B36; display: flex; flex-direction: column; gap: 4px; }
.rd-how__steps strong { margin-top: 6px; font-size: 18px; font-weight: 800; }
.rd-how__steps span:last-child { font-size: 14px; color: #B4B9C6; }
.rd-how__n { font-family: var(--rd-mono); font-weight: 700; color: var(--rd-brand-light); }

/* Alerts */
.rd-alerts { padding: 48px; border-radius: var(--rd-r-lg); background: #fff; border: 1px solid var(--rd-line); display: flex; flex-wrap: wrap; align-items: center; gap: 32px; }
.rd-alerts__text { flex: 1 1 420px; min-width: 0; }
.rd-alerts__text .rd-h2 { font-size: 32px; margin: 0; }
.rd-alerts__text p { margin: 8px 0 0; color: var(--rd-muted); font-size: 17px; }

/* Forms */
.rd-form { display: flex; flex-wrap: wrap; gap: 10px; }
.rd-form--inline { flex: 1 1 420px; min-width: 0; }
.rd-form--inline input { flex: 1 1 240px; height: 54px; padding: 0 18px; border-radius: 14px; border: 1px solid var(--rd-dash); background: var(--rd-bg); }
.rd-form--inline .rd-btn { min-height: 54px; padding: 0 26px; border-radius: 14px; }
.rd-form--card { flex-direction: column; }
.rd-form--card input { height: 48px; padding: 0 14px; border-radius: 12px; border: 0; background: #fff; color: var(--rd-ink); }
.rd-label { font-size: 13px; font-weight: 600; }

/* ---------- Page hero (category / search / 404) ---------- */
.rd-pagehero { background: #fff; border-bottom: 1px solid var(--rd-line); }
.rd-pagehero__inner { padding-top: 48px; padding-bottom: 56px; text-align: center; display: flex; flex-direction: column; align-items: center; gap: 16px; }
.rd-pagehero__icon { width: 64px; height: 64px; border-radius: 20px; display: flex; align-items: center; justify-content: center; }
.rd-pagehero__title { margin: 0; font-weight: 800; font-size: clamp(36px, 4.6vw, 60px); line-height: 1.05; letter-spacing: -.045em; }
.rd-pagehero__text { max-width: 660px; font-size: 18px; color: var(--rd-muted); }
.rd-pagehero__text p { margin: 0; }
.rd-pagehero__chips { display: flex; flex-wrap: wrap; justify-content: center; gap: 10px; }
.rd-pagehero__search { width: 100%; max-width: 560px; }
.rd-big404 { font-weight: 800; font-size: clamp(90px, 16vw, 180px); line-height: 1; letter-spacing: -.06em; color: var(--rd-brand-tint); -webkit-text-stroke: 2px var(--rd-brand); }

/* Breadcrumbs */
.rd-crumbs ol { list-style: none; margin: 0; padding: 0; display: flex; flex-wrap: wrap; justify-content: center; gap: 6px; font-size: 14px; color: var(--rd-soft); font-weight: 500; }
.rd-crumbs li { display: inline-flex; align-items: center; gap: 6px; }
.rd-crumbs li + li::before { content: '›'; color: var(--rd-soft); }
.rd-crumbs a { color: var(--rd-soft); text-decoration: none; }
.rd-crumbs a:hover { color: var(--rd-brand); }
.rd-crumbs [aria-current] { color: var(--rd-ink); }

/* Layout with sidebar */
.rd-layout { display: flex; flex-wrap: wrap; gap: 32px; align-items: flex-start; padding-top: 56px; padding-bottom: 88px; }
.rd-layout__main { flex: 999 1 600px; min-width: 0; display: flex; flex-direction: column; gap: 48px; }
.rd-layout__side { flex: 1 1 300px; min-width: 0; display: flex; flex-direction: column; gap: 20px; }
.rd-layout--article { gap: 40px; padding-top: 40px; max-width: 1100px; }
.rd-layout--article .rd-layout__main { flex-basis: 580px; gap: 32px; }
.rd-layout--article .rd-layout__side { flex-basis: 280px; }
@media (min-width: 1000px) {
	.rd-layout--article .rd-layout__side { position: sticky; top: 24px; }
	.admin-bar .rd-layout--article .rd-layout__side { top: 56px; }
}
.rd-list { display: flex; flex-direction: column; gap: 20px; }

.rd-box { padding: 24px; border-radius: 22px; background: #fff; border: 1px solid var(--rd-line); }
.rd-box--page { padding: 36px; }
.rd-box--brand { background: var(--rd-brand); color: #fff; border-color: var(--rd-brand); display: flex; flex-direction: column; gap: 12px; }
.rd-box__title { font-weight: 800; font-size: 18px; line-height: 1.3; }
.rd-box--brand .rd-box__title { font-size: 20px; letter-spacing: -.02em; }
.rd-box__text { margin: 8px 0 0; font-size: 14px; color: var(--rd-muted); }
.rd-box__label { font-size: 13px; font-weight: 800; letter-spacing: .06em; text-transform: uppercase; color: var(--rd-soft); margin-bottom: 8px; }
.rd-linklist { list-style: none; margin: 10px 0 0; padding: 0; }
.rd-linklist a { display: block; padding: 6px 0; font-weight: 600; text-decoration: none; }
.rd-toc ol { list-style: none; margin: 0; padding: 0; counter-reset: toc; }
.rd-toc a { display: block; padding: 7px 0; text-decoration: none; font-weight: 600; font-size: 15px; transition: color .2s, padding-left .2s; }
.rd-toc a:hover, .rd-toc a.is-current { color: var(--rd-brand); padding-left: 4px; }
.rd-ad { min-height: 0; }
.rd-ad .rd-widget-title { font-size: 11px; letter-spacing: .1em; text-transform: uppercase; color: var(--rd-soft); margin-bottom: 6px; }
.rd-ad--inline { margin-top: 8px; }

/* Pagination */
.rd-pagination .nav-links { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 24px; }
.rd-pagination .page-numbers { display: inline-flex; min-width: 44px; height: 44px; align-items: center; justify-content: center; padding: 0 14px; border-radius: 12px; background: #fff; border: 1px solid var(--rd-line); text-decoration: none; font-weight: 700; }
.rd-pagination .page-numbers.current { background: var(--rd-brand); border-color: var(--rd-brand); color: #fff; }

/* ---------- Article ---------- */
.rd-article__head { padding-top: 40px; text-align: center; display: flex; flex-direction: column; align-items: center; gap: 16px; }
.rd-article__head .rd-pill { align-self: center; font-size: 13px; padding: 5px 12px; }
.rd-article__title { margin: 0; font-weight: 800; font-size: clamp(32px, 4.4vw, 56px); line-height: 1.08; letter-spacing: -.045em; }
.rd-article__dek { margin: 0; max-width: 680px; font-size: 19px; color: var(--rd-muted); }
.rd-byline { display: flex; flex-wrap: wrap; justify-content: center; align-items: center; gap: 10px 20px; font-size: 14px; color: var(--rd-muted); }
.rd-byline__who { display: inline-flex; align-items: center; gap: 10px; }
.rd-byline strong, .rd-byline time { color: var(--rd-ink); font-weight: 600; }
.rd-byline strong { font-weight: 700; }
.rd-avatar { width: 34px; height: 34px; border-radius: 50%; background: var(--rd-brand); color: #fff; display: inline-flex; align-items: center; justify-content: center; font-weight: 800; font-size: 13px; }
.rd-article__hero { margin: 36px auto 0; max-width: 1100px; }
.rd-article__hero figcaption { margin-top: 8px; font-size: 14px; color: var(--rd-soft); text-align: center; }
.rd-article--page .rd-article__head { padding-bottom: 32px; }
.rd-article--page + * { margin-top: 0; }
.rd-article--page .rd-wrap--narrow:last-child { padding-bottom: 88px; }

/* Prose */
.rd-prose { color: var(--rd-text); font-size: 17px; line-height: 1.75; }
.rd-prose > * { margin-top: 0; margin-bottom: 1.1em; }
.rd-prose > *:last-child { margin-bottom: 0; }
.rd-prose h2 { margin: 48px 0 14px; font-size: 28px; font-weight: 800; letter-spacing: -.03em; line-height: 1.2; color: var(--rd-ink); scroll-margin-top: 24px; }
.rd-prose h3 { margin: 28px 0 10px; font-size: 20px; font-weight: 800; color: var(--rd-ink); }
.rd-prose > h2:first-child, .rd-prose > h3:first-child { margin-top: 0; }
.rd-prose a { color: var(--rd-brand); font-weight: 600; text-decoration-thickness: 1px; text-underline-offset: 3px; }
.rd-prose strong { color: var(--rd-ink); }
.rd-prose ul, .rd-prose ol { padding-left: 22px; }
.rd-prose li { margin-bottom: 8px; }
.rd-prose li::marker { color: var(--rd-brand); font-weight: 700; }
.rd-prose code { font-family: var(--rd-mono); font-size: .9em; padding: 2px 6px; border-radius: 6px; background: var(--rd-brand-tint); color: var(--rd-brand-ink); }
.rd-prose img { border-radius: var(--rd-r); }
.rd-prose figure { margin-left: 0; margin-right: 0; }
.rd-prose figcaption { font-size: 14px; color: var(--rd-soft); margin-top: 8px; }
.rd-prose blockquote { margin-left: 0; padding: 16px 22px; border-radius: 16px; background: #fff; border: 1px solid var(--rd-line); }

/* Numbered steps (List block with class rd-steps) */
.rd-prose ol.rd-steps { list-style: none; padding: 0; counter-reset: rdstep; display: flex; flex-direction: column; gap: 12px; }
.rd-prose ol.rd-steps > li { counter-increment: rdstep; position: relative; margin: 0; padding: 16px 18px 16px 66px; border-radius: 16px; background: #fff; border: 1px solid var(--rd-line); line-height: 1.6; min-height: 64px; }
.rd-prose ol.rd-steps > li::before { content: counter(rdstep); position: absolute; left: 18px; top: 16px; width: 32px; height: 32px; border-radius: 10px; background: var(--rd-brand); color: #fff; display: flex; align-items: center; justify-content: center; font-weight: 800; font-size: 15px; }

/* Tables */
.rd-prose .wp-block-table { margin: 0 0 1.1em; overflow-x: auto; border-radius: 18px; background: #fff; border: 1px solid var(--rd-line); }
.rd-prose table { width: 100%; min-width: 440px; border-collapse: collapse; font-size: 15px; }
.rd-prose th { text-align: left; padding: 14px 18px; color: var(--rd-soft); font-size: 13px; font-weight: 600; border-bottom: 1px solid var(--rd-line-2); }
.rd-prose td { padding: 14px 18px; border-top: 1px solid var(--rd-line-2); color: var(--rd-muted); vertical-align: top; }
.rd-prose .wp-block-table thead { border-bottom: 0; }
.rd-prose .wp-block-table td, .rd-prose .wp-block-table th { border-left: 0; border-right: 0; }
.rd-prose td:first-child { color: var(--rd-ink); font-weight: 600; }
.rd-prose .wp-block-table.is-style-stripes tbody tr:nth-child(odd) { background: var(--rd-bg); }

/* Quick answer (AEO box) */
.rd-answer { padding: 24px 26px; border-radius: 22px; background: var(--rd-brand-tint); border: 1px solid var(--rd-brand-line); }
.rd-answer__title { font-size: 13px; font-weight: 800; letter-spacing: .06em; text-transform: uppercase; color: var(--rd-brand-ink); }
.rd-answer__body { margin-top: 8px; color: #1F1A4D; }
.rd-answer__body p { margin: 0 0 .6em; }
.rd-answer__body p:last-child { margin-bottom: 0; }
.rd-answer__body strong { color: #1F1A4D; }
.rd-answer__body ul { margin: 0; padding-left: 20px; }

/* Codes */
.rd-codes { border-radius: 20px; background: #fff; border: 1px solid var(--rd-line); overflow: hidden; }
.rd-code { display: flex; flex-wrap: wrap; align-items: center; gap: 12px 20px; padding: 18px 20px; border-bottom: 1px solid var(--rd-line-2); transition: background-color .25s; }
.rd-code:last-child { border-bottom: 0; }
.rd-code:hover { background: #FAFAFE; }
.rd-code__main { flex: 1 1 240px; min-width: 0; }
.rd-code__value { font-family: var(--rd-mono); font-weight: 700; font-size: 20px; letter-spacing: .02em; color: var(--rd-ink); word-break: break-all; line-height: 1.4; }
.rd-code__reward { font-size: 15px; color: var(--rd-muted); line-height: 1.5; }
.rd-status { display: inline-flex; align-items: center; gap: 6px; padding: 4px 10px; border-radius: 999px; background: var(--rd-green-tint); color: var(--rd-green-ink); font-size: 12px; font-weight: 700; line-height: 1.5; }
.rd-status .rd-dot { width: 6px; height: 6px; }
.rd-status--new { background: var(--rd-brand-tint); color: var(--rd-brand-ink); }
.rd-status--new .rd-dot { background: var(--rd-brand); }
.rd-copy { min-width: 112px; }
.rd-copy.is-copied { background: var(--rd-green); }
.rd-copy.is-copied .rd-copy__label { animation: rdUp .35s var(--rd-ease) both; }

/* Expired chips */
.rd-expired { list-style: none !important; padding: 0 !important; display: flex; flex-wrap: wrap; gap: 8px; }
.rd-expired li { margin: 0; }
.rd-expired li::marker { content: ''; }
.rd-expired del { display: inline-block; padding: 8px 12px; border-radius: 10px; background: #F1F2F6; font-family: var(--rd-mono); font-weight: 600; font-size: 14px; color: var(--rd-soft); }

/* Notes */
.rd-note { padding: 18px 20px; border-radius: 16px; background: #fff; border: 1px solid var(--rd-line); font-size: 15px; color: var(--rd-muted); line-height: 1.65; }
.rd-note--warn { background: var(--rd-amber-tint); border-color: var(--rd-amber-line); color: var(--rd-amber-ink); }
.rd-note--warn strong { color: var(--rd-amber-ink); }
.rd-note--method { font-size: 14px; }

/* FAQ */
.rd-faq { margin: 0 0 10px; padding: 0 22px; border-radius: 18px; background: #fff; border: 1px solid var(--rd-line); transition: border-color .25s, box-shadow .25s; }
.rd-faq[open] { border-color: var(--rd-brand-line); box-shadow: 0 14px 30px -24px rgba(91, 75, 255, .5); }
.rd-faq summary { list-style: none; cursor: pointer; min-height: 62px; display: flex; align-items: center; justify-content: space-between; gap: 16px; font-weight: 700; font-size: 17px; color: var(--rd-ink); }
.rd-faq summary::-webkit-details-marker { display: none; }
.rd-plus { flex: 0 0 auto; font-size: 22px; color: var(--rd-brand); transition: transform .25s; line-height: 1; }
.rd-faq[open] .rd-plus { transform: rotate(45deg); }
.rd-faq__a { padding-bottom: 18px; }
.rd-faq__a p { margin: 0 0 .6em; }
.rd-faq__a p:last-child { margin: 0; }

/* Countdown */
.rd-countdown { padding: 22px; border-radius: 22px; background: #fff; border: 1px solid var(--rd-line); }
.rd-countdown__label { font-weight: 800; font-size: 16px; margin-bottom: 12px; color: var(--rd-ink); }
.rd-countdown__grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 8px; text-align: center; }
.rd-countdown__grid div { padding: 10px 0; border-radius: 12px; background: var(--rd-bg); }
.rd-countdown__grid b { display: block; font-weight: 800; font-size: 24px; color: var(--rd-brand); line-height: 1.3; }
.rd-countdown__grid span { font-size: 12px; color: var(--rd-soft); }

/* Fact cards (Group/Columns inside posts with class rd-factcards) */
.rd-prose .rd-factgrid { display: grid; grid-template-columns: repeat(auto-fit, minmax(180px, 1fr)); gap: 12px; }
.rd-prose .rd-factgrid > * { margin: 0; padding: 18px; border-radius: 16px; background: #fff; border: 1px solid var(--rd-line); font-size: 14px; line-height: 1.5; }
.rd-prose .rd-factgrid strong { display: block; font-size: 18px; }

/* Sources */
.rd-prose .rd-sources { padding: 22px 24px; border-radius: 18px; background: #fff; border: 1px solid var(--rd-line); }
.rd-prose .rd-sources h2, .rd-prose .rd-sources h3 { margin: 0 0 8px; font-size: 16px; }
.rd-prose .rd-sources ul { margin: 0; }
.rd-prose .rd-sources li { font-size: 15px; }

/* Tags */
.rd-tags { display: flex; flex-wrap: wrap; gap: 8px; }
.rd-tags a { padding: 6px 12px; border-radius: 999px; background: #fff; border: 1px solid var(--rd-line); font-size: 13px; font-weight: 600; color: var(--rd-muted); text-decoration: none; transition: border-color .2s, color .2s; }
.rd-tags a:hover { border-color: var(--rd-brand); color: var(--rd-brand); }

/* Related */
.rd-related { border-top: 1px solid var(--rd-line); background: #fff; }
.rd-related .rd-wrap { max-width: 1100px; padding-top: 56px; padding-bottom: 72px; }
.rd-related__grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(260px, 1fr)); gap: 18px; }

/* ---------- Footer ---------- */
.rd-footer { background: var(--rd-ink); color: #B4B9C6; }
.rd-footer__inner { padding-top: 56px; padding-bottom: 28px; display: flex; flex-direction: column; align-items: center; gap: 22px; text-align: center; }
.rd-footer__text { margin: 0; max-width: 520px; font-size: 15px; }
.rd-footer__nav ul { list-style: none; margin: 0; padding: 0; display: flex; flex-wrap: wrap; justify-content: center; gap: 2px 26px; }
.rd-footer__nav a { display: block; padding: 8px 0; color: #E6E8F0; text-decoration: none; font-size: 14px; font-weight: 600; }
.rd-footer__nav a:hover { color: var(--rd-brand-light); }
.rd-footer__rule { width: 100%; height: 1px; background: #22262F; }
.rd-footer__legal { margin: 0; max-width: 760px; font-size: 13px; color: #8A90A0; }

/* ---------- Core block alignment helpers ---------- */
.alignwide { max-width: 1100px; }
.alignfull { width: 100vw; max-width: 100vw; margin-left: calc(50% - 50vw); }
.aligncenter { margin-left: auto; margin-right: auto; display: block; }
.wp-block-image img { border-radius: var(--rd-r); }
.wp-block-button__link { border-radius: 12px; background: var(--rd-brand); color: #fff; font-weight: 700; text-decoration: none; }
.wp-block-separator { border: 0; border-top: 1px solid var(--rd-line); }

/* ---------- Responsive ---------- */
@media (max-width: 900px) {
	.rd-hide-sm { display: none !important; }
	.rd-hero { padding-top: 56px; }
	.rd-how, .rd-alerts { padding: 32px 24px; }
}
@media (max-width: 640px) {
	.rd-wrap { padding: 0 16px; }
	.rd-hero { padding: 44px 16px 48px; }
	.rd-header__top { grid-template-columns: 44px 1fr 44px; }
	.rd-header__left { display: none; }
	.rd-header__top .rd-logo { justify-self: center; grid-column: 2; }
	.rd-header__right { grid-column: 3; }
	.rd-logo__text { font-size: 22px; }
	.rd-logo__badge { width: 36px; height: 36px; font-size: 18px; border-radius: 11px; }
	.rd-nav ul { flex-wrap: nowrap; justify-content: flex-start; overflow-x: auto; -webkit-overflow-scrolling: touch; scrollbar-width: none; margin: 0 -16px; padding: 0 8px; }
	.rd-nav ul::-webkit-scrollbar { display: none; }
	.rd-nav a { white-space: nowrap; padding: 12px 10px; font-size: 14px; }
	.rd-facts__inner { justify-content: flex-start; }
	.rd-facts__list li { font-size: 13px; }
	.rd-hero__search .rd-btn { padding: 0 16px; }
	.rd-card--compact .rd-card__thumb { flex-basis: 84px; height: 84px; }
	.rd-card--compact .rd-card__link { padding: 14px; gap: 14px; }
	.rd-card--wide .rd-card__media { min-height: 190px; }
	.rd-card--wide .rd-card__body, .rd-card--featured .rd-card__body { padding: 22px; }
	.rd-box--page { padding: 24px; }
	.rd-code { padding: 16px; }
	.rd-code .rd-copy { flex: 1 1 100%; }
	.rd-prose { font-size: 16px; }
	.rd-prose h2 { font-size: 24px; margin-top: 40px; }
	.rd-layout { padding-top: 36px; }
}

/* ---------- Motion preferences ---------- */
@media (prefers-reduced-motion: reduce) {
	*, *::before, *::after { animation: none !important; transition: none !important; scroll-behavior: auto !important; }
	.rd-js .rd-reveal { opacity: 1; transform: none; }
	.rd-cursor { display: none !important; }
}

/* ---------- Logo mark ---------- */
.rd-mark { display: block; flex: 0 0 auto; transition: transform .45s var(--rd-ease); filter: drop-shadow(0 8px 14px rgba(91, 75, 255, .28)); }
.rd-mark__spark { transform-origin: 37px 12px; animation: rdSpark 3.2s ease-in-out infinite; }
@keyframes rdSpark { 0%, 70%, 100% { transform: scale(1) rotate(0deg); } 80% { transform: scale(1.35) rotate(45deg); } 90% { transform: scale(.9) rotate(90deg); } }
.rd-logo:hover .rd-mark { transform: rotate(-8deg) scale(1.06); }
.rd-logo--light .rd-mark { filter: none; }
@media (max-width: 640px) { .rd-header .rd-mark { width: 38px; height: 38px; } }

/* Footer email */
.rd-footer__email { color: #fff; font-weight: 700; text-decoration: none; padding: 8px 16px; border-radius: 999px; background: #1A1E27; border: 1px solid #2A2F3A; font-size: 14px; transition: border-color .2s, color .2s; }
.rd-footer__email:hover { color: var(--rd-brand-light); border-color: var(--rd-brand); }

/* Contact card */
.rd-contact { display: flex; flex-wrap: wrap; align-items: center; gap: 16px 20px; padding: 24px; border-radius: 22px; background: var(--rd-brand-tint); border: 1px solid var(--rd-brand-line); }
.rd-contact__icon { flex: 0 0 56px; height: 56px; border-radius: 16px; background: var(--rd-brand); color: #fff; display: flex; align-items: center; justify-content: center; }
.rd-contact__main { flex: 1 1 220px; min-width: 0; }
.rd-contact__label { font-size: 13px; font-weight: 800; letter-spacing: .06em; text-transform: uppercase; color: var(--rd-brand-ink); }
.rd-prose .rd-contact__email { display: inline-block; margin-top: 2px; font-size: clamp(18px, 2.4vw, 24px); font-weight: 800; color: var(--rd-ink); text-decoration: none; word-break: break-all; }
.rd-prose .rd-contact__email:hover { color: var(--rd-brand); }
.rd-contact__hint { font-size: 14px; color: var(--rd-muted); }

/* ==========================================================
   Animated page headers (menu pages, pages, contact) — v1.1
   ========================================================== */
@keyframes rdPop { 0% { opacity: 0; transform: scale(.6) rotate(-12deg); } 60% { opacity: 1; transform: scale(1.08) rotate(4deg); } 100% { opacity: 1; transform: none; } }
@keyframes rdWobble { 0%, 100% { transform: rotate(0deg); } 25% { transform: rotate(-6deg); } 75% { transform: rotate(6deg); } }
.rd-pop { animation: rdPop .8s var(--rd-ease) both, rdWobble 5s 1.2s ease-in-out infinite; }
.rd-pagehero--fx { position: relative; overflow: hidden; overflow: clip; background: radial-gradient(1200px 380px at 50% -40px, var(--rd-tint, #EEECFF), #fff 70%); }
.rd-pagehero--fx .rd-pagehero__inner { position: relative; z-index: 2; padding-top: 40px; padding-bottom: 64px; gap: 18px; }
.rd-pagehero--fx .rd-hero__glow { top: 30px; }
.rd-pagehero__glow2 { position: absolute; right: 8%; bottom: -80px; width: 340px; height: 240px; border-radius: 50%; background: radial-gradient(closest-side, rgba(255, 181, 71, .16), rgba(255, 181, 71, 0)); pointer-events: none; animation-duration: 18s; animation-direction: reverse; }
.rd-pagehero--fx .rd-pagehero__title { max-width: 880px; }
.rd-pagehero--fx .rd-pagehero__title .rd-words { font-size: .82em; }
.rd-pagehero--fx .rd-squiggle { width: min(380px, 70%); }
.rd-squiggle--sm { width: min(220px, 50%) !important; margin-top: .1em; }
.rd-pagehero--fx .rd-hero__search { width: 100%; max-width: 600px; }
.rd-pagehero--fx .rd-chip--1 { top: 72px; }
.rd-pagehero--fx .rd-chip--2 { top: 110px; }
.rd-pagehero--fx .rd-chip-icon--1 { bottom: 56px; }
.rd-pagehero--page { border-bottom: 0; }
.rd-pagehero--page .rd-pagehero__inner { padding-bottom: 40px; }
.rd-page-body { margin-top: -8px; margin-bottom: 72px; }
.rd-pagehero--fx + .rd-ticker { border-top: 0; }

/* Contact page */
.rd-hero--contact .rd-crumbs { margin-bottom: -6px; }
.rd-mailbox { display: flex; flex-wrap: wrap; align-items: center; justify-content: center; gap: 10px; width: 100%; max-width: 640px; padding: 10px; border-radius: 22px; background: #fff; border: 1px solid var(--rd-line); box-shadow: 0 18px 50px -24px rgba(23, 20, 70, .35); position: relative; overflow: hidden; }
.rd-mailbox::after { content: ''; position: absolute; top: 0; bottom: 0; left: 0; width: 40%; background: linear-gradient(90deg, rgba(255,255,255,0), rgba(91,75,255,.08), rgba(255,255,255,0)); animation: rdShine 5s 1.5s ease-in-out infinite; pointer-events: none; }
.rd-mailbox__icon { flex: 0 0 48px; height: 48px; border-radius: 14px; background: var(--rd-brand); color: #fff; display: flex; align-items: center; justify-content: center; }
.rd-mailbox__email { flex: 1 1 220px; min-width: 0; text-align: left; font-weight: 800; font-size: clamp(17px, 2.2vw, 22px); color: var(--rd-ink); text-decoration: none; word-break: break-all; }
.rd-mailbox__email:hover { color: var(--rd-brand); }
.rd-mailbox .rd-btn { min-height: 48px; }
.rd-btn--ghost { background: var(--rd-brand-tint); color: var(--rd-brand-ink); }
.rd-btn--ghost:hover { color: var(--rd-brand); }

/* Single posts: soft animated glow behind the header */
.rd-article__head { position: relative; isolation: isolate; }
.rd-article__head::before { content: ''; position: absolute; z-index: -1; left: 50%; top: 0; width: min(560px, 100%); height: 260px; transform: translateX(-50%); border-radius: 50%; background: radial-gradient(closest-side, rgba(91, 75, 255, .12), rgba(91, 75, 255, 0)); animation: rdGlowPulse 8s ease-in-out infinite; pointer-events: none; }
@keyframes rdGlowPulse { 0%, 100% { opacity: .7; transform: translateX(-50%) scale(1); } 50% { opacity: 1; transform: translateX(-50%) scale(1.12); } }
.rd-article--page .rd-article__head::before { display: none; }

@media (max-width: 640px) {
	.rd-pagehero--fx .rd-pagehero__inner { padding-top: 28px; padding-bottom: 44px; }
	.rd-mailbox { flex-direction: column; align-items: stretch; text-align: center; }
	.rd-mailbox__icon { display: none; }
	.rd-mailbox__email { flex: 0 0 auto; text-align: center; padding: 6px 0; }
}
@media (prefers-reduced-motion: reduce) {
	.rd-pop, .rd-mailbox::after, .rd-article__head::before { animation: none; }
}
