/* ==========================================================================
   RWA Tokenization Homepage Redesign
   Scoped to: Hero, "How RWA Becomes Programmable" + "Built for Every
   Participant" section. Everything else on the homepage is untouched.
   ========================================================================== */

/* ---------- Hero ---------- */
.rwa-hero {
	position: relative;
	padding: 64px 24px 80px;
	overflow: hidden;
	background-color: #3042FB;
}

.rwa-hero-topline {
	max-width: 1450px;
	margin: 0 auto 56px;
	text-align: center;
	position: relative;
	z-index: 2;
}

.rwa-hero-topline h1 {
	color: #fff;
	font-family: "Helvetica Neue LT Pro Bold Cd", sans-serif;
	font-weight: 700;
	font-size: 68px;
	line-height: 80px;
	letter-spacing: normal;
	text-align: center;
	margin: 0 auto 20px;
}

.rwa-hero-topline p {
	color: rgba(255, 255, 255, 0.85);
	font-family: "Helvetica Neue LT Pro", sans-serif;
	font-weight: 400;
	font-size: 28px;
	line-height: 1.56;
	letter-spacing: normal;
	text-align: center;
	max-width: 950px;
	margin: 0 auto;
}

/* ---------- Diagram ----------
   The SVG already contains the full illustration: icons, labels and the
   dashed connector lines. It's the single source of truth for that
   artwork - only the center card (a separate image) and the CTA buttons
   are overlaid on top of it. */
.rwa-hero-diagram {
	position: relative;
	max-width: 1226px;
	margin: 0 auto;
}

.rwa-diagram-img {
	display: block;
	width: 100%;
	height: auto;
}

/* Mobile-only diagram, sits below the hero (its own section, not inside
   the blue hero background) - same SVG + center card as desktop, on a
   yellowish/cream background instead. Hidden on desktop by default,
   shown only at the mobile breakpoint below. */
.rwa-hero-diagram-mobile-wrap {
	display: none;
	background: #FEFAD3;
	padding: 32px 16px 40px;
}

.rwa-diagram-mobile-inner {
	position: relative;
	max-width: 460px;
	margin: 0 auto;
}

.rwa-diagram-img-mobile {
	display: block;
	width: 100%;
	height: auto;
}

.rwa-center-wrap-mobile {
	position: absolute;
	top: 50%;
	left: 50%;
	transform: translate(-50%, -50%);
	width: 26%;
}

.rwa-center-card-img-mobile {
	display: block;
	width: 100%;
	height: auto;
}

/* ---------- Center card ---------- */
.rwa-center-wrap {
	position: absolute;
	top: 46%;
	left: 50%;
	transform: translate(-50%, -50%);
	z-index: 3;
}

.rwa-center-card {
	min-width: 260px;
}

.rwa-center-card img {
	display: block;
	width: 100%;
	height: auto;
	max-width: 320px;
}

/* Sits below the diagram in normal document flow, not overlapping it */
.rwa-hero-ctas {
	display: flex;
	align-items: center;
	gap: 20px;
	flex-wrap: wrap;
	justify-content: center;
	margin: 24px auto 0;
	max-width: 1226px;
}

/* A site-wide rule elsewhere sets margin-top on a second adjacent
   .cta-btn, which knocked these two out of alignment. Force both back
   to identical, zeroed margins, equal width, so they always match. */
.rwa-hero-ctas .cta-btn {
	margin: 0 !important;
	width: 280px;
}

.rwa-hero-ctas .cta-btn .cta-txt {
	flex: 1;
}

/* "Tokenize Your Assets" is transparent/outlined - background matches
   the hero's blue rather than solid white like "Start Building".
   Below ~1025px the site's own .cta-txt/.cta-arr background rules stop
   applying (they're gated behind that min-width), so the outer <a>
   itself is targeted too - covers both the desktop split-button layout
   and whatever renders it below that breakpoint. */
a.rwa-cta-outline.cta-btn,
.rwa-hero-ctas .cta-btn.rwa-cta-outline .cta-txt,
.rwa-hero-ctas .cta-btn.rwa-cta-outline .cta-arr {
	background: transparent !important;
	background-color: transparent !important;
	background-image: none !important;
	box-shadow: none !important;
	border-color: #fff !important;
}

/* The site's base (non-hover) .cta-txt/.cta-arr styles carry their own
   border on top/bottom/left, which combined with border-color:#fff
   above showed up as a second inner border alongside the outer pill
   border. Only the outer pill border should be visible at rest. */
.rwa-hero-ctas .cta-btn.rwa-cta-outline .cta-txt,
.rwa-hero-ctas .cta-btn.rwa-cta-outline .cta-arr {
	border-width: 0 !important;
}

a.rwa-cta-outline.cta-btn {
	border: 2px solid #fff !important;
	border-radius: 20px !important;
}

/* The site's global .cta-btn.split:hover rule adds a border-right/
   border-left seam on .cta-txt / .cta-arr (meant for the solid white
   button). Combined with our border-color:#fff override above, that
   seam shows up as a stray white line on hover - suppress it. */
.rwa-hero-ctas .cta-btn.rwa-cta-outline:hover .cta-txt,
.rwa-hero-ctas .cta-btn.rwa-cta-outline:hover .cta-arr,
.rwa-hero-ctas .cta-btn.rwa-cta-outline:hover .arr {
	border-width: 0 !important;
}

/* On hover, behave exactly like the solid "Start Building" button -
   no visible border at all, same as its plain fill/no-outline hover. */
a.rwa-cta-outline.cta-btn:hover {
	border-color: transparent !important;
}

.rwa-hero-ctas .cta-btn.rwa-cta-outline .cta-txt {
	color: #fff !important;
}

/* ---------- Responsive ---------- */
@media (max-width: 1100px) {
	.rwa-hero-topline h1 { font-size: 40px; }
}

@media (max-width: 640px) {
	.rwa-hero { padding: 32px 16px 48px; }
	.rwa-hero-topline { margin-bottom: 32px; }
	.rwa-hero-topline h1 { font-size: 34px; line-height: 1.15; }
	.rwa-hero-topline p { font-size: 16px; }

	/* Full desktop diagram hidden - too cramped at mobile width. The
	   compact mobile version below the hero (.rwa-hero-diagram-mobile-wrap)
	   is shown instead. */
	.rwa-hero-diagram { display: none; }

	.rwa-hero-ctas {
		flex-direction: column;
		align-items: center;
		margin: 0 0 32px;
	}
	.rwa-hero-ctas .cta-btn { width: 100%; max-width: 320px; }

	.rwa-hero-diagram-mobile-wrap { display: block; padding-bottom: 24px; }
}

/* ==========================================================================
   "How RWA Becomes Programmable" (4-step process)
   ========================================================================== */
.rwa-steps {
	padding: 96px 24px;
	background: #FCFAEF;
}

.rwa-steps-inner {
	max-width: 1100px;
	margin: 0 auto;
}

.rwa-steps-head {
	text-align: center;
	margin-bottom: 48px;
}

.rwa-steps-head h2 {
	font-family: "Helvetica Neue LT Pro Bold Cd", sans-serif;
	font-weight: 700;
	font-size: 48px;
	line-height: 48px;
	letter-spacing: -0.5px;
	text-align: center;
	margin: 0 0 14px;
	color: #000;
}

.rwa-steps-head p {
	font-family: "Helvetica Neue LT Pro", sans-serif;
	font-weight: 400;
	font-size: 16px;
	line-height: 1.56;
	letter-spacing: normal;
	text-align: center;
	color: #4a4a4a;
	max-width: 780px;
	margin: 0 auto;
	line-height: 1.6;
}

.rwa-steps-head strong {
	color: #3042FB;
}

.rwa-steps-grid {
	display: grid;
	grid-template-columns: repeat(4, 1fr);
	gap: 20px;
}

.rwa-step-card {
	background: #F2F1EC;
	border-radius: 16px;
	padding: 32px 28px 40px;
}

.rwa-step-num {
	font-family: "Helvetica Neue LT Pro Bold Cd", sans-serif;
	font-size: 100px;
	line-height: 1;
	color: #7FE3DC;
	-webkit-text-stroke: 2.5px #000;
	margin: 0 0 40px;
}

.rwa-step-card h3 {
	font-size: 20px;
	margin: 0 0 12px;
	color: #000;
}

.rwa-step-card p {
	font-size: 14.5px;
	line-height: 1.55;
	color: #4a4a4a;
	margin: 0;
}

@media (max-width: 900px) {
	.rwa-steps-grid { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 560px) {
	.rwa-steps { padding: 40px 20px; }
	.rwa-steps-grid { grid-template-columns: 1fr; }
	.rwa-steps-head { margin-bottom: 32px; }
	.rwa-steps-head h2 { font-size: 28px; }
}

/* ==========================================================================
   "Built for Every Participant in the RWA Ecosystem"
   ========================================================================== */
.rwa-participants {
	padding: 0;
	background: #CFF9F0;
}

.rwa-participants-inner {
	max-width: 1400px;
	margin: 0 auto;
	padding: 56px 48px 96px;
}

.rwa-participants-h2 {
	text-align: center;
	font-family: "Helvetica Neue LT Pro Bold Cd", sans-serif;
	font-weight: 700;
	font-size: 56px;
	line-height: 1.08;
	color: #000;
	margin: 0 0 48px;
}

.rwa-p-cards {
	display: grid;
	grid-template-columns: repeat(3, 1fr);
	gap: 20px;
}

.rwa-p-card {
	padding: 28px 24px 32px;
	border: 2px solid #000;
	border-radius: 18px;
	display: flex;
	flex-direction: column;
	min-height: 300px;
}

.rwa-p-card.orange { background: #FF5A1F; }
.rwa-p-card.green  { background: #A4FF00; }
.rwa-p-card.cyan   { background: #4DD9F0; }

.rwa-p-head {
	display: flex;
	align-items: flex-start;
	justify-content: space-between;
	gap: 10px;
	padding-bottom: 20px;
	margin-bottom: 20px;
	border-bottom: 2px solid #000;
}

.rwa-p-head h3 {
	font-family: "Helvetica Neue LT Pro Bold Cd", sans-serif;
	font-size: 26px;
	line-height: 1.15;
	margin: 0;
	color: #000;
}

.rwa-p-icon {
	flex: none;
	width: 34px;
	height: 34px;
	margin-top: 4px;
}

.rwa-p-icon svg { width: 100%; height: 100%; }

.rwa-p-icon-circle {
	border: 1.6px solid #000;
	border-radius: 50%;
	display: flex;
	align-items: center;
	justify-content: center;
	padding: 6px;
}

.rwa-p-icon-circle img {
	width: 100%;
	height: 100%;
}

.rwa-p-card p {
	font-family: "Helvetica Neue LT Pro", sans-serif;
	font-size: 16px;
	line-height: 1.55;
	color: #000;
	flex: 1;
	margin: 0 0 24px;
}

.rwa-p-link {
	font-family: "Helvetica Neue LT Pro Bold Cd", sans-serif;
	font-size: 17px;
	display: inline-flex;
	align-items: center;
	gap: 10px;
	text-decoration: none;
	color: #000;
}

@media (max-width: 900px) {
	.rwa-p-cards { grid-template-columns: 1fr; }
	.rwa-participants-inner { padding: 32px 20px; }
	.rwa-participants-h2 { font-size: 34px; margin-bottom: 32px; }
}
