/* ==========================================================================
   Resources section: /resources, guide pages, homepage guide banner
   ========================================================================== */
:root{
	--rs-blue: #116DF4;
	--rs-yellow: #EDEA52;
	--rs-ink: #000;
	--rs-text: rgba(0,0,0,.72);
	--rs-soft: rgba(0,0,0,.5);
	--rs-muted: rgba(0,0,0,.32);
	--rs-line: rgba(0,0,0,.08);
	--rs-card: #F5F5F6;
	--rs-cyan: #6FE3DE;
	--rs-mono: ui-monospace, "SFMono-Regular", Menlo, Consolas, "Liberation Mono", "Courier New", monospace;
}

/* Header bar overlays the hero, so it needs no height of its own */
.ccb_header_section{ height: 0; }

.rs-page{ color: var(--rs-ink); }
.rs-page a{ text-decoration: none; }

/* ---------- Type ---------- */
.rs-eyebrow{
	display: block;
	font-family: var(--rs-mono);
	font-size: 12px;
	letter-spacing: .14em;
	text-transform: uppercase;
	color: var(--rs-soft);
}
.rs-label{
	display: block;
	font-family: var(--rs-mono);
	font-size: 14px;
	font-weight: 700;
	letter-spacing: .2em;
	text-transform: uppercase;
	color: var(--rs-ink);
}
.rs-title{
	font-family: "Mona Sans", sans-serif;
	font-weight: 400;
	font-size: clamp(36px, 4.4vw, 56px);
	line-height: 1.1;
	letter-spacing: -.015em;
	color: var(--rs-ink);
	margin: 0;
}
.rs-h2{
	font-family: "Mona Sans", sans-serif;
	font-weight: 400;
	font-size: clamp(30px, 3.2vw, 40px);
	line-height: 1.15;
	letter-spacing: -.015em;
	margin: 0;
}
.rs-muted{ color: var(--rs-muted); }
.rs-accent{ color: var(--rs-blue); }
.rs-lead{
	font-size: 18px;
	line-height: 1.6;
	color: var(--rs-text);
	margin: 0;
}
.rs-body{
	font-size: 15px;
	line-height: 1.7;
	color: var(--rs-text);
}
.rs-meta{
	font-family: var(--rs-mono);
	font-size: 12px;
	letter-spacing: .14em;
	text-transform: uppercase;
	color: var(--rs-soft);
}

/* ---------- Badges & buttons ---------- */
.rs-badge{
	display: inline-flex;
	align-items: center;
	padding: 7px 16px;
	border-radius: 999px;
	background: var(--rs-yellow);
	color: #111;
	font-family: var(--rs-mono);
	font-size: 12px;
	font-weight: 700;
	letter-spacing: .16em;
	text-transform: uppercase;
	line-height: 1.2;
}
.rs-badge-outline{
	background: transparent;
	border: 1px solid rgba(0,0,0,.25);
	color: rgba(0,0,0,.65);
	font-weight: 500;
}
.rs-badge-dark{
	background: transparent;
	border: 1px solid rgba(255,255,255,.3);
	color: #fff;
	font-weight: 500;
}
.rs-btn{
	display: inline-flex;
	align-items: center;
	justify-content: center;
	gap: 8px;
	padding: 14px 28px;
	border: 0;
	border-radius: 999px;
	background: var(--rs-blue);
	color: #fff !important;
	font-size: 16px;
	font-weight: 700;
	line-height: 1.2;
	cursor: pointer;
	transition: background .2s, transform .2s;
}
.rs-btn:hover{ background: #0B5ED7; }
.rs-btn:disabled{ opacity: .6; cursor: wait; }
.rs-link{
	color: var(--rs-blue) !important;
	font-weight: 700;
	white-space: nowrap;
}
.rs-link:hover{ text-decoration: underline !important; }

/* ---------- Hero ---------- */
.rs-hero{
	position: relative;
	padding: 150px 0 40px;
	background:
		radial-gradient(40% 70% at 0% 0%, rgba(178,240,232,.75) 0%, rgba(178,240,232,0) 100%),
		#fff;
	margin-top: -1px;
}
.rs-hero .rs-lead{ max-width: 640px; }

/* ---------- Guide cover (built in HTML, scales with font-size) ---------- */
.rs-cover{
	font-size: 10px;               /* everything inside is in em */
	width: 23em;
	background: #fff;
	border-radius: 1.4em;
	padding: 1.8em 1.6em 1.4em;
	box-shadow: 0 2.4em 5em rgba(16,32,80,.18), 0 .3em 1em rgba(16,32,80,.08);
	transform: rotate(-4deg);
	color: #000;
	text-align: left;
	user-select: none;
}
.rs-cover-top{ display: flex; justify-content: space-between; align-items: center; margin-bottom: 2.4em; }
.rs-cover-top img{ height: 1.3em; width: auto; }
.rs-cover-mono{ font-family: var(--rs-mono); font-size: .55em; letter-spacing: .14em; text-transform: uppercase; color: rgba(0,0,0,.4); }
.rs-cover-badge{ display: inline-block; background: var(--rs-yellow); border-radius: 99px; padding: .25em .8em; font-family: var(--rs-mono); font-size: .5em; font-weight: 700; letter-spacing: .12em; text-transform: uppercase; margin-bottom: .9em; }
.rs-cover-title{ font-family: "Mona Sans", sans-serif; font-size: 1.85em; line-height: 1.08; letter-spacing: -.02em; margin-bottom: .6em; }
.rs-cover-text{ font-size: .62em; line-height: 1.5; color: rgba(0,0,0,.65); max-width: 26em; margin-bottom: 4em; }
.rs-cover-stats{ display: grid; grid-template-columns: repeat(3, 1fr); gap: .6em; background: #F3F4F6; border-radius: 1em; padding: .6em; margin-bottom: 1.4em; }
.rs-cover-stat{ background: #fff; border-radius: .7em; padding: .7em .7em .8em; }
.rs-cover-stat b{ display: block; font-family: var(--rs-mono); font-size: 1.15em; color: var(--rs-blue); margin: .3em 0; }
.rs-cover-stat.is-dark b{ color: #000; }
.rs-cover-stat small{ display: block; font-size: .5em; line-height: 1.4; color: rgba(0,0,0,.55); }
.rs-cover-foot{ display: flex; justify-content: space-between; }

/* ---------- Featured guide card (/resources) ---------- */
.rs-feature{
	display: grid;
	grid-template-columns: minmax(0, 420px) minmax(0, 1fr);
	gap: 40px;
	align-items: center;
	background: var(--rs-card);
	border-radius: 44px;
	padding: 22px 40px 22px 22px;
}
.rs-feature-visual{
	display: flex;
	align-items: center;
	justify-content: center;
	aspect-ratio: 1 / 1;
	border-radius: 30px;
	overflow: hidden;
	background:
		radial-gradient(70% 60% at 0% 0%, rgba(178,240,232,.9) 0%, rgba(178,240,232,0) 100%),
		radial-gradient(70% 60% at 100% 100%, rgba(214,206,255,.85) 0%, rgba(214,206,255,0) 100%),
		#fff;
}
.rs-feature-visual .rs-cover{ font-size: clamp(7px, 1.05vw, 10.5px); }
.rs-feature-title{
	font-family: "Mona Sans", sans-serif;
	font-weight: 400;
	font-size: clamp(30px, 3vw, 44px);
	line-height: 1.12;
	letter-spacing: -.015em;
	margin: 24px 0 22px;
}
.rs-feature p{ font-size: 19px; line-height: 1.65; color: var(--rs-text); max-width: 620px; }

/* ---------- Blog cards ---------- */
.rs-post{
	display: flex;
	flex-direction: column;
	height: 100%;
	border: 1px solid var(--rs-line);
	border-radius: 28px;
	overflow: hidden;
	background: #fff;
	color: #000 !important;
	transition: box-shadow .2s, transform .2s;
}
a.rs-post:hover{ box-shadow: 0 16px 40px rgba(16,32,80,.08); transform: translateY(-2px); }
.rs-post-img{
	aspect-ratio: 2 / 1;
	background: #F2F2F4;
	display: flex;
	align-items: center;
	justify-content: center;
}
.rs-post-img img{ width: 100%; height: 100%; object-fit: cover; }
.rs-post-body{ padding: 26px 26px 28px; display: flex; flex-direction: column; flex: 1; }
.rs-post-title{ font-family: "Mona Sans", sans-serif; font-size: 22px; line-height: 1.3; margin: 12px 0 10px; }
.rs-post-excerpt{
	font-size: 15px;
	line-height: 1.6;
	color: var(--rs-text);
	display: -webkit-box;
	-webkit-line-clamp: 2;
	-webkit-box-orient: vertical;
	overflow: hidden;
	margin-bottom: 18px;
}
.rs-post .rs-link{ margin-top: auto; }

/* ---------- Simple row card (FAQ link) ---------- */
.rs-row-card{
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: 24px;
	border: 1px solid var(--rs-line);
	border-radius: 28px;
	padding: 30px 32px;
}
.rs-row-card h2{ font-family: "Mona Sans", sans-serif; font-size: 28px; font-weight: 400; margin: 0 0 4px; }
.rs-row-card p{ margin: 0; color: var(--rs-text); }

/* ---------- Newsletter ---------- */
.rs-newsletter{
	display: grid;
	grid-template-columns: 1fr 1fr;
	gap: 48px;
	align-items: center;
	background: var(--rs-card);
	border-radius: 44px;
	padding: 48px;
}
.rs-newsletter h2{ font-size: clamp(30px, 3vw, 44px); margin-top: 22px; }
.rs-inline-form{ display: flex; gap: 12px; }
.rs-inline-form .rs-input{ flex: 1; border-radius: 999px; }
.rs-hint{ font-size: 13px; color: var(--rs-soft); margin-top: 12px; }

/* ---------- Form fields ---------- */
.rs-field{ margin-bottom: 14px; }
.rs-field label{ display: block; font-size: 13px; font-weight: 500; margin-bottom: 8px; color: #000; }
.rs-input{
	display: block;
	width: 100%;
	height: 48px;
	padding: 0 16px;
	border: 1px solid rgba(0,0,0,.14);
	border-radius: 12px;
	background: #fff;
	font-size: 15px;
	color: #000;
	outline: none;
	transition: border-color .2s, box-shadow .2s;
	-webkit-appearance: none;
	appearance: none;
}
select.rs-input{
	background: #fff url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16'%3e%3cpath fill='none' stroke='%23000' stroke-linecap='round' stroke-linejoin='round' stroke-width='1.5' d='m4 6 4 4 4-4'/%3e%3c/svg%3e") no-repeat right 14px center / 14px;
	padding-right: 40px;
	cursor: pointer;
}
.rs-input:focus{ border-color: var(--rs-blue); box-shadow: 0 0 0 3px rgba(17,109,244,.15); }
.rs-input.is-invalid{ border-color: #D93025; }
.rs-error{ display: none; font-size: 12px; color: #D93025; margin-top: 6px; }
.rs-input.is-invalid + .rs-error{ display: block; }

/* ---------- Dark CTA band ---------- */
.rs-cta{
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: 32px;
	border-radius: 44px;
	padding: 56px 48px;
	color: #fff;
	background:
		radial-gradient(45% 120% at 85% 100%, rgba(17,109,244,.55) 0%, rgba(17,109,244,0) 100%),
		radial-gradient(30% 90% at 100% 0%, rgba(30,60,160,.45) 0%, rgba(30,60,160,0) 100%),
		#000;
}
.rs-cta h2{ font-family: "Mona Sans", sans-serif; font-weight: 400; font-size: clamp(28px, 3.2vw, 44px); line-height: 1.15; letter-spacing: -.015em; margin: 0 0 18px; color: #fff; }
.rs-cta h2 span{ color: var(--rs-cyan); }
.rs-cta .rs-badges{ display: flex; flex-wrap: wrap; gap: 10px; }
.rs-cta .rs-btn{ flex: 0 0 auto; padding: 18px 34px; font-size: 18px; }

/* ---------- Spacing ---------- */
.rs-section{ padding: 0 0 72px; }
.rs-narrow{ max-width: 780px; margin: 0 auto; }

/* ==========================================================================
   Guide page
   ========================================================================== */
.rs-guide-hero{ padding-bottom: 72px; }
.rs-guide-hero-grid{
	display: grid;
	grid-template-columns: minmax(0, 1fr) 380px;
	gap: 56px;
	align-items: start;
}
.rs-guide-hero .rs-title{ margin: 20px 0 22px; }
.rs-guide-hero .rs-lead{ font-size: 17px; }
.rs-takeaways{
	background: #fff;
	border: 1px solid var(--rs-line);
	border-radius: 24px;
	padding: 28px 30px 12px;
	margin-top: 32px;
}
.rs-takeaways ul{ list-style: none; padding: 0; margin: 18px 0 0; }
.rs-takeaways li{ position: relative; padding-left: 26px; margin-bottom: 18px; font-size: 15px; line-height: 1.65; color: var(--rs-text); }
.rs-takeaways li::before{ content: ""; position: absolute; left: 2px; top: .55em; width: 9px; height: 9px; border-radius: 50%; background: var(--rs-blue); }
.rs-takeaways strong{ color: #000; }

/* Lead form card */
.rs-form-card{
	position: relative;
	background: #fff;
	border-radius: 28px;
	padding: 28px 26px 22px;
	box-shadow: 0 24px 60px rgba(16,32,80,.10), 0 2px 8px rgba(16,32,80,.05);
	scroll-margin-top: 24px;
}
.rs-form-head{ display: flex; gap: 18px; align-items: flex-start; margin-bottom: 22px; }
.rs-form-thumb{ flex: 0 0 92px; height: 104px; display: flex; align-items: center; justify-content: center; border-radius: 14px; background: radial-gradient(80% 70% at 0% 0%, rgba(178,240,232,.9), rgba(178,240,232,0)), radial-gradient(80% 70% at 100% 100%, rgba(214,206,255,.85), rgba(214,206,255,0)), #fff; overflow: hidden; }
.rs-form-thumb .rs-cover{ font-size: 3.4px; box-shadow: 0 6px 14px rgba(16,32,80,.18); }
.rs-form-head h2{ font-family: "Mona Sans", sans-serif; font-size: 24px; font-weight: 400; line-height: 1.2; margin: 8px 0 0; }
.rs-form-card .rs-btn{ width: 100%; margin-top: 8px; }
.rs-form-note{ font-size: 12px; line-height: 1.5; color: var(--rs-soft); text-align: center; margin: 14px 0 0; }
.rs-form-success{ display: none; text-align: center; padding: 8px 0; }
.rs-form-card.is-done form{ display: none; }
.rs-form-card.is-done .rs-form-success{ display: block; }
.rs-form-success .rs-check{ width: 52px; height: 52px; border-radius: 50%; display: inline-flex; align-items: center; justify-content: center; background: rgba(17,109,244,.1); color: var(--rs-blue); margin-bottom: 14px; }
.rs-form-success h3{ font-family: "Mona Sans", sans-serif; font-size: 24px; font-weight: 400; margin: 0 0 8px; }
.rs-form-success p{ font-size: 14px; color: var(--rs-text); }
.rs-form-success .rs-btn{ margin-top: 6px; }
.rs-form-alert{ display: none; font-size: 13px; color: #D93025; text-align: center; margin-top: 10px; }

/* Guide sections */
.rs-gsec{ padding: 0 0 88px; }
.rs-gsec .rs-h2{ margin: 16px 0 22px; }
.rs-gsec > .rs-narrow > p{ font-size: 15px; line-height: 1.7; color: var(--rs-text); }

/* Key dates */
.rs-date{
	display: grid;
	grid-template-columns: 170px minmax(0, 1fr);
	gap: 24px;
	background: var(--rs-card);
	border-radius: 22px;
	padding: 28px;
	margin-bottom: 14px;
}
.rs-date-when{ font-family: var(--rs-mono); font-weight: 700; font-size: 14px; letter-spacing: .1em; text-transform: uppercase; }
.rs-carrier{ display: inline-block; margin-top: 10px; padding: 4px 12px; border-radius: 99px; font-family: var(--rs-mono); font-size: 11px; font-weight: 700; letter-spacing: .12em; color: #fff; background: #000; }
.rs-carrier.is-fedex{ background: var(--rs-blue); }
.rs-date h3, .rs-move h3{ font-size: 19px; font-weight: 700; margin: 0 0 10px; }
.rs-date p, .rs-move p{ font-size: 15px; line-height: 1.65; color: var(--rs-text); margin: 0; }

/* Rate tables */
.rs-tables{ display: grid; grid-template-columns: 1fr 1fr; gap: 18px; margin: 30px 0 18px; }
.rs-table-card{ background: var(--rs-card); border-radius: 22px; padding: 18px 12px 12px; }
.rs-table-card .rs-eyebrow{ font-size: 11px; padding: 0 10px 14px; }
.rs-table{ width: 100%; background: #fff; border-radius: 14px; border-collapse: separate; border-spacing: 0; overflow: hidden; }
.rs-table th, .rs-table td{ padding: 13px 18px; font-size: 14px; border-bottom: 1px solid var(--rs-line); }
.rs-table tr:last-child td{ border-bottom: 0; }
.rs-table th{ font-weight: 700; }
.rs-table th:last-child, .rs-table td:last-child{ text-align: right; font-family: var(--rs-mono); font-weight: 700; white-space: nowrap; }
.rs-table th:last-child{ font-family: inherit; }
.rs-table .is-up{ color: var(--rs-blue); }

/* Black callout */
.rs-callout{ display: grid; grid-template-columns: 1fr 1fr; gap: 40px; background: #000; color: #fff; border-radius: 22px; padding: 30px; }
.rs-callout .rs-eyebrow{ font-weight: 700; margin-bottom: 10px; }
.rs-callout p{ margin: 0; font-size: 15px; line-height: 1.6; color: rgba(255,255,255,.88); }

/* Moves */
.rs-move{ display: flex; gap: 22px; background: var(--rs-card); border-radius: 22px; padding: 28px; margin-bottom: 14px; }
.rs-num{ flex: 0 0 38px; width: 38px; height: 38px; border-radius: 50%; border: 1px solid rgba(0,0,0,.25); display: inline-flex; align-items: center; justify-content: center; font-family: var(--rs-mono); font-size: 13px; font-weight: 700; background: #fff; }
.rs-locked{
	border-radius: 22px;
	padding: 30px;
	color: #fff;
	background:
		radial-gradient(60% 90% at 100% 0%, rgba(17,109,244,.45) 0%, rgba(17,109,244,0) 100%),
		linear-gradient(180deg, #050B1C 0%, #000 100%);
}
.rs-locked h3{ display: flex; align-items: center; gap: 12px; font-family: "Mona Sans", sans-serif; font-size: 22px; font-weight: 400; margin: 0 0 22px; color: #fff; }
.rs-locked-grid{ display: grid; grid-template-columns: 1fr 1fr; gap: 12px; margin-bottom: 26px; }
.rs-locked-item{ display: flex; align-items: center; gap: 14px; padding: 14px 16px; border: 1px solid rgba(255,255,255,.14); border-radius: 14px; font-size: 15px; font-weight: 600; background: rgba(255,255,255,.02); }
.rs-locked-item .rs-num{ flex-basis: 30px; width: 30px; height: 30px; font-size: 12px; background: transparent; color: #fff; border-color: rgba(255,255,255,.4); }
.rs-locked-foot{ display: flex; align-items: center; justify-content: space-between; gap: 24px; }
.rs-locked-foot p{ margin: 0; font-size: 15px; line-height: 1.6; color: rgba(255,255,255,.85); max-width: 440px; }

/* Stats */
.rs-stats{ display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; margin-top: 32px; }
.rs-stat{ background: var(--rs-card); border-radius: 22px; padding: 28px 24px; }
.rs-stat b{ display: block; font-family: var(--rs-mono); font-size: 30px; font-weight: 700; line-height: 1.1; margin-bottom: 14px; }
.rs-stat h3{ font-size: 18px; font-weight: 700; margin: 0 0 12px; }
.rs-stat p{ font-size: 14px; line-height: 1.6; color: var(--rs-text); margin: 0; }

/* FAQ */
.rs-faq{ border-top: 1px solid var(--rs-line); margin-top: 30px; }
.rs-faq-item{ border-bottom: 1px solid var(--rs-line); }
.rs-faq-q{ display: flex; align-items: center; justify-content: space-between; gap: 20px; width: 100%; padding: 22px 0; background: none; border: 0; text-align: left; font-size: 17px; font-weight: 700; color: #000; cursor: pointer; }
.rs-faq-q::after{ content: "+"; font-size: 24px; font-weight: 300; color: var(--rs-blue); transition: transform .2s; }
.rs-faq-q[aria-expanded="true"]::after{ transform: rotate(45deg); }
.rs-faq-a{ padding: 0 40px 22px 0; font-size: 15px; line-height: 1.7; color: var(--rs-text); }
.rs-faq-a p:last-child{ margin-bottom: 0; }
.rs-sources{ font-size: 12px; line-height: 1.7; color: var(--rs-soft); margin-top: 40px; }
.rs-sources a{ color: var(--rs-blue); text-decoration: underline !important; }

/* ==========================================================================
   Homepage guide banner
   ========================================================================== */
.rs-home-banner{
	display: flex;
	align-items: center;
	gap: 28px;
	background: var(--rs-card);
	border-radius: 40px;
	padding: 22px 28px 22px 28px;
	color: #000 !important;
	text-decoration: none !important;
	transition: box-shadow .2s;
}
.rs-home-banner:hover{ box-shadow: 0 16px 40px rgba(16,32,80,.08); }
.rs-home-banner .rs-badge{ flex: 0 0 auto; font-size: 13px; padding: 9px 18px; }
.rs-home-banner-text{ flex: 1 1 auto; font-size: clamp(18px, 1.6vw, 22px); line-height: 1.35; letter-spacing: -.01em; }
.rs-home-banner-text strong{ font-weight: 700; }
.rs-home-banner .rs-muted{ color: rgba(0,0,0,.5); }
.rs-home-banner .rs-btn{ flex: 0 0 auto; padding: 14px 26px; }

/* ==========================================================================
   Responsive
   ========================================================================== */
@media (max-width: 1199.98px){
	.rs-guide-hero-grid{ grid-template-columns: minmax(0, 1fr) 360px; gap: 40px; }
}
@media (max-width: 991.98px){
	.rs-hero{ padding-top: 120px; }
	.rs-feature{ grid-template-columns: 1fr; padding: 16px 16px 32px; border-radius: 32px; gap: 28px; }
	.rs-feature > div:last-child{ padding: 0 12px; }
	.rs-feature-visual{ aspect-ratio: 4 / 3; }
	.rs-feature-visual .rs-cover{ font-size: clamp(7px, 2vw, 10px); }
	.rs-newsletter{ grid-template-columns: 1fr; gap: 28px; padding: 36px 28px; border-radius: 32px; }
	.rs-guide-hero-grid{ grid-template-columns: 1fr; }
	.rs-form-card{ max-width: 520px; }
	.rs-cta{ flex-direction: column; align-items: flex-start; padding: 40px 28px; border-radius: 32px; }
}
@media (max-width: 767.98px){
	.rs-section{ padding-bottom: 56px; }
	.rs-gsec{ padding-bottom: 64px; }
	.rs-feature p{ font-size: 16px; }
	.rs-row-card{ flex-direction: column; align-items: flex-start; padding: 24px; }
	.rs-inline-form{ flex-direction: column; }
	.rs-date{ grid-template-columns: 1fr; gap: 14px; padding: 22px; }
	.rs-tables, .rs-callout, .rs-stats, .rs-locked-grid{ grid-template-columns: 1fr; }
	.rs-callout{ gap: 24px; }
	.rs-move{ padding: 22px; gap: 16px; }
	.rs-locked{ padding: 24px 20px; }
	.rs-locked-foot{ flex-direction: column; align-items: flex-start; }
	.rs-faq-a{ padding-right: 0; }
	/* Phones: text wraps under the tag, button goes full width */
	.rs-home-banner{ flex-direction: column; align-items: flex-start; gap: 14px; padding: 22px 20px; border-radius: 28px; }
	.rs-home-banner .rs-btn{ width: 100%; }
}
