/* Plans page and the shared plan cards (home and landing page reuse them). Mobile first.
   Palette (D-028): indigo for structure, amber for the buy action, green for savings. */

.exw-plans__intro {
	max-width: 46rem;
	font-size: 1.0625rem;
}

.exw-plans__grid {
	display: grid;
	grid-template-columns: 1fr;
	gap: 1rem;
	align-items: stretch;
}

.exw-plan {
	position: relative;
	display: flex;
	flex-direction: column;
	padding: 1.35rem 1.2rem 1.2rem;
	border: 1px solid #E0DDF7;
	border-radius: 18px;
	background: #fff;
	box-shadow: 0 4px 14px rgba(49, 46, 129, 0.08);
}

.exw-plan--featured {
	border: 2px solid #F97316;
	background: linear-gradient(180deg, #FFF4E6 0%, #FFFFFF 42%);
	box-shadow: 0 16px 36px rgba(249, 115, 22, 0.22);
}

.exw-plan__badge {
	position: absolute;
	top: -0.8rem;
	left: 1.2rem;
	margin: 0;
	padding: 0.2rem 0.7rem;
	border-radius: 999px;
	background: #C2410C;
	color: #fff;
	font-size: 0.75rem;
	font-weight: 800;
	letter-spacing: 0.02em;
	text-transform: uppercase;
}

.exw-plan__name {
	margin: 0 0 0.35rem;
	color: #312E81;
	font-size: 1.15rem;
}

.exw-plan__price {
	display: flex;
	flex-wrap: wrap;
	align-items: baseline;
	gap: 0.15rem 0.5rem;
	margin: 0 0 0.2rem;
	line-height: 1;
}

.exw-plan__amount {
	color: #1E1B4B;
	font-size: 2.6rem;
	font-weight: 800;
	letter-spacing: -0.02em;
}

.exw-plan__mrp {
	color: #6B7280;
	font-size: 1.1rem;
	text-decoration-thickness: 2px;
	text-decoration-color: #DC2626;
}

.exw-plan__off {
	padding: 0.25rem 0.5rem;
	border-radius: 6px;
	background: #DCFCE7;
	color: #166534;
	font-size: 0.8125rem;
	font-weight: 800;
}

.exw-plan__per {
	margin: 0 0 0.5rem;
	color: #166534;
	font-size: 0.875rem;
	font-weight: 700;
}

.exw-plan__price--pending {
	color: var(--exw-ink-muted, #4A5A6E);
	font-size: 1rem;
	font-weight: 700;
}

.exw-plan__headline {
	margin: 0.4rem 0 0.8rem;
	padding: 0.45rem 0.7rem;
	border-radius: 10px;
	background: #EEF2FF;
	color: #3730A3;
	font-weight: 700;
}

.exw-plan__includes {
	flex: 1;
	margin: 0 0 0.9rem;
	padding: 0;
	list-style: none;
}

.exw-plan__includes li {
	position: relative;
	margin-bottom: 0.5rem;
	padding-left: 1.6rem;
	line-height: 1.45;
}

.exw-plan__includes li::before {
	content: "\2713";
	position: absolute;
	top: 0.05rem;
	left: 0;
	width: 1.15rem;
	height: 1.15rem;
	border-radius: 50%;
	background: #DCFCE7;
	color: #166534;
	font-size: 0.75rem;
	font-weight: 800;
	line-height: 1.15rem;
	text-align: center;
}

.exw-plan__note {
	margin: 0 0 0.8rem;
	color: var(--exw-ink-muted, #4A5A6E);
	font-size: 0.8125rem;
}

.exw-plan__cta .exw-btn {
	width: 100%;
	justify-content: center;
}

/* The buy action is always amber with dark text: the one colour on the page
   that means "buy". */
.exw-plan__cta .exw-btn--primary {
	min-height: 3rem;
	border-color: #FBBF24;
	background: #FBBF24;
	color: #1C1300;
	font-size: 1.0625rem;
	font-weight: 800;
	box-shadow: 0 6px 16px rgba(251, 191, 36, 0.35);
}

.exw-plan__cta .exw-btn--primary:hover,
.exw-plan__cta .exw-btn--primary:focus {
	border-color: #F59E0B;
	background: #F59E0B;
	color: #1C1300;
}

.exw-plans__free {
	margin: 1.5rem 0;
	padding: 1rem 1.1rem;
	border: 1px dashed #B9CBE0;
	border-radius: 14px;
	background: #F8FBFF;
}

.exw-plans__free h2 {
	margin-top: 0;
	font-size: 1.1rem;
}

.exw-plans__free ul {
	margin: 0 0 0.5rem;
	padding-left: 1.1rem;
}

.exw-plans__legal {
	margin-top: 1.25rem;
}

@media (min-width: 900px) {
	.exw-plans__grid {
		grid-template-columns: repeat(3, minmax(0, 1fr));
		padding-top: 0.6rem;
	}

	.exw-plan--featured {
		transform: translateY(-8px);
	}
}

/* Home page packs section. */
.exw-home-packs {
	background: linear-gradient(180deg, #F5F3FF 0%, #FFFFFF 100%);
}

.exw-home-packs .exw-plans__grid {
	margin-top: 1.5rem;
}

.exw-home-packs__more {
	margin: 1.25rem 0 0;
	text-align: center;
	font-weight: 600;
}

/* Checkout messages under a Buy button, and the payment result page. */
.exw-buy-signin,
.exw-buy-status {
	margin: 0.5rem 0 0;
	font-size: 0.875rem;
}

.exw-payment-status {
	padding: 1.25rem;
	border: 1px solid #D9E4F0;
	border-radius: 14px;
	background: #F8FBFF;
}

.exw-payment-status--paid {
	border-color: #9BD3AE;
	background: #F1FAF4;
}

.exw-payment-status--problem {
	border-color: #F0C36D;
	background: #FFF9EC;
}

/* Pay first: the three fields that open under Buy now (D-030). */
.exw-guest-buy {
	margin-top: 0.25rem;
	padding: 0.9rem;
	border: 1px solid #E0DDF7;
	border-radius: 12px;
	background: #F8F7FF;
	text-align: left;
}

.exw-guest-buy p {
	margin: 0 0 0.6rem;
}

.exw-guest-buy__intro {
	color: #166534;
	font-size: 0.875rem;
	font-weight: 700;
}

.exw-guest-buy label {
	display: block;
	margin-bottom: 0.2rem;
	font-size: 0.875rem;
	font-weight: 700;
}

.exw-guest-buy input {
	box-sizing: border-box;
	width: 100%;
	min-height: 2.75rem;
	padding: 0.5rem 0.7rem;
	border: 1px solid #C7C2EE;
	border-radius: 8px;
	background: #fff;
	font-size: 1rem;
}

.exw-guest-buy input:focus {
	border-color: #4338CA;
	outline: 2px solid rgba(67, 56, 202, 0.25);
}

.exw-guest-buy .exw-btn--primary {
	width: 100%;
	justify-content: center;
}
