/**
 * SkillRise Payments
 * Every selector is prefixed so nothing collides with the theme.
 * --srp-blue and --srp-brand are injected from the plugin settings.
 */

.sr-pay,
.sr-faq {
	--blue: var(--srp-blue, #0B57C7);
	--brand: var(--srp-brand, #F15A29);
	--blue-deep: #08419A;
	--brand-deep: #D2461A;
	--ink: #14213D;
	--ink-2: #3C4A66;
	--ink-3: #6E7891;
	--paper: #FFFFFF;
	--wash: #F1F4F9;
	--line: #E3E8F0;
	--line-soft: #EFF2F7;
	--sand: #FFD166;
	--verify: #16A34A;
	--on-blue: #D9E6FA;
	--r-lg: 16px;
	--r-md: 12px;
	--r-sm: 8px;
	--f-display: "Bricolage Grotesque", system-ui, sans-serif;
	--f-body: "Instrument Sans", system-ui, sans-serif;
	--f-mono: "IBM Plex Mono", ui-monospace, monospace;

	font-family: var(--f-body);
	color: var(--ink);
	font-size: 16px;
	line-height: 1.55;
	-webkit-font-smoothing: antialiased;
}

.sr-pay { background: var(--paper); }
.sr-pay *, .sr-faq * { box-sizing: border-box; }
.sr-pay p, .sr-faq p { margin: 0; }
.sr-pay ul, .sr-pay ol { margin: 0; padding: 0; list-style: none; }
.sr-pay button { font: inherit; cursor: pointer; }
.sr-pay input, .sr-pay select { font: inherit; color: inherit; }
.sr-pay a, .sr-faq a { color: inherit; }
.sr-wrap { width: min(100% - 40px, 1140px); margin-inline: auto; }
.sr-mono { font-family: var(--f-mono); font-variant-numeric: tabular-nums; }
.sr-optional { color: var(--ink-3); font-weight: 400; }

/* ---------- hero band ----------
   The bleed lines stretch the band edge to edge inside a
   constrained container. Remove them if your section is already
   full width and you see a horizontal scrollbar. */
.sr-hero {
	background: var(--blue);
	color: #fff;
	padding: 76px 0 72px;
	width: 100vw;
	max-width: 100vw;
	margin-left: calc(50% - 50vw);
}
.sr-hero-grid { display: grid; grid-template-columns: 1.3fr .9fr; gap: 56px; align-items: center; }
.sr-eyebrow {
	font-family: var(--f-mono); font-size: 12px; font-weight: 500;
	letter-spacing: .18em; text-transform: uppercase; color: #FF9166; margin-bottom: 18px;
}
.sr-eyebrow-dark { color: var(--brand); margin-bottom: 14px; }
.sr-hero h1 {
	font-family: var(--f-display); font-weight: 800;
	font-size: clamp(2.4rem, 5vw, 3.9rem); line-height: 1; letter-spacing: -.035em;
	margin: 0 0 20px; max-width: 14ch; color: #fff;
}
.sr-lead { font-size: clamp(1rem, 1.4vw, 1.12rem); color: #EAF1FC; max-width: 48ch; }
.sr-trust { display: flex; flex-direction: column; gap: 9px; align-items: flex-start; }
.sr-trust li {
	background: #fff; border-radius: 999px; padding: 9px 18px;
	font-size: 13.5px; color: var(--ink); display: flex; align-items: center; gap: 9px;
}
.sr-trust li::before { content: ""; width: 6px; height: 6px; border-radius: 50%; background: var(--verify); flex: none; }
@media (max-width: 900px) {
	.sr-hero-grid { grid-template-columns: 1fr; gap: 32px; }
	.sr-hero { padding: 48px 0 44px; }
}

/* ---------- section frame ---------- */
.sr-step { padding: 44px 0; }
.sr-step-head { display: flex; align-items: baseline; gap: 14px; margin-bottom: 22px; flex-wrap: wrap; }
.sr-step-num {
	font-family: var(--f-mono); font-size: 12px; font-weight: 600; letter-spacing: .1em;
	color: #fff; background: var(--blue); border-radius: 999px; padding: 5px 11px; flex: none;
}
.sr-step-head h2 {
	font-family: var(--f-display); font-weight: 700;
	font-size: clamp(1.5rem, 3vw, 2rem); letter-spacing: -.028em;
	margin: 0; line-height: 1.1; color: var(--blue);
}
.sr-hint { color: var(--ink-3); font-size: 14.5px; }

/* ---------- fields ---------- */
.sr-field { display: block; }
.sr-field > span:first-child { display: block; font-size: 13px; font-weight: 600; color: var(--ink-2); margin-bottom: 7px; }
.sr-field input, .sr-field select {
	width: 100%; padding: 13px 14px; margin: 0;
	border: 1px solid var(--line); border-radius: var(--r-sm); background: #fff; box-shadow: none;
}
.sr-field select {
	appearance: none; -webkit-appearance: none; padding-right: 40px;
	background-image: url("data:image/svg+xml;charset=utf8,%3Csvg xmlns='http://www.w3.org/2000/svg' width='14' height='9' viewBox='0 0 14 9'%3E%3Cpath d='M1 1l6 6 6-6' stroke='%233C4A66' stroke-width='2' fill='none' stroke-linecap='round'/%3E%3C/svg%3E");
	background-repeat: no-repeat; background-position: right 14px center;
}
.sr-pay input:focus-visible, .sr-pay select:focus-visible,
.sr-pay button:focus-visible, .sr-pay a:focus-visible,
.sr-faq summary:focus-visible { outline: 2px solid var(--brand); outline-offset: 2px; }
.sr-err { color: var(--brand-deep); font-size: 13px; margin-top: 6px; display: none; }
.sr-field.sr-invalid input, .sr-field.sr-invalid select { border-color: var(--brand-deep); }
.sr-field.sr-invalid .sr-err { display: block; }

/* ---------- plan cards ---------- */
.sr-plans { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; }
@media (max-width: 900px) { .sr-plans { grid-template-columns: 1fr; } }
.sr-plan {
	position: relative; text-align: left; background: #fff;
	border: 1px solid var(--line); border-radius: var(--r-lg);
	padding: 24px 22px 22px; display: flex; flex-direction: column; gap: 14px; color: var(--ink);
	transition: border-color .18s ease, box-shadow .18s ease, transform .18s ease;
}
.sr-plan:hover { border-color: var(--ink-3); transform: translateY(-2px); }
.sr-plan[aria-pressed="true"] {
	border-color: var(--brand);
	box-shadow: 0 0 0 2px var(--brand), 0 12px 28px -18px rgba(20, 33, 61, .5);
}
.sr-plan-tag {
	position: absolute; top: -11px; left: 22px; background: var(--sand); color: var(--ink);
	font-size: 11.5px; font-weight: 600; letter-spacing: .05em; text-transform: uppercase;
	padding: 4px 11px; border-radius: 999px;
}
.sr-plan-kicker {
	font-family: var(--f-mono); font-size: 11.5px; font-weight: 500;
	letter-spacing: .14em; text-transform: uppercase; color: var(--ink-3);
}
.sr-plan h3 {
	font-family: var(--f-display); font-weight: 700; font-size: 1.35rem;
	letter-spacing: -.025em; margin: 0; line-height: 1.15; color: var(--ink);
}
.sr-plan-price { display: flex; align-items: baseline; gap: 8px; flex-wrap: wrap; }
.sr-amt {
	font-family: var(--f-display); font-weight: 800; font-size: 2.15rem;
	letter-spacing: -.035em; line-height: 1; font-variant-numeric: tabular-nums;
}
.sr-per { font-size: 14px; color: var(--ink-3); }
.sr-plan-total { font-size: 13.5px; color: var(--ink-3); }
.sr-plan-total b { color: var(--ink-2); font-weight: 600; }
.sr-save { color: var(--verify); font-weight: 600; font-size: 13.5px; }
.sr-plan ul { display: grid; gap: 9px; font-size: 14.5px; color: var(--ink-2); }
.sr-plan ul li { display: flex; gap: 9px; align-items: flex-start; line-height: 1.4; }
.sr-plan ul li::before {
	content: ""; width: 15px; height: 15px; border-radius: 50%; flex: none; margin-top: 2px;
	background: var(--verify) url("data:image/svg+xml;charset=utf8,%3Csvg xmlns='http://www.w3.org/2000/svg' width='9' height='7' viewBox='0 0 9 7'%3E%3Cpath d='M1 3.6L3.3 6 8 1' stroke='white' stroke-width='1.7' fill='none' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E") center/9px no-repeat;
}
.sr-plan-pick {
	margin-top: auto; padding-top: 4px; font-size: 14px; font-weight: 600;
	color: var(--ink-3); display: flex; align-items: center; gap: 9px;
}
.sr-plan-pick::before { content: ""; width: 17px; height: 17px; border-radius: 50%; border: 2px solid var(--line); flex: none; }
.sr-plan[aria-pressed="true"] .sr-plan-pick { color: var(--brand); }
.sr-plan[aria-pressed="true"] .sr-plan-pick::before {
	border-color: var(--brand); background: var(--brand); box-shadow: inset 0 0 0 3px #fff;
}

/* ---------- schedule ladder ---------- */
.sr-ladder-block { background: var(--blue); color: #fff; border-radius: var(--r-lg); padding: 30px 28px 24px; margin-top: 24px; }
.sr-ladder-top { display: flex; justify-content: space-between; align-items: flex-end; gap: 20px; flex-wrap: wrap; margin-bottom: 30px; }
.sr-ladder-top h3 { font-family: var(--f-display); font-weight: 700; font-size: 1.3rem; letter-spacing: -.025em; margin: 0 0 4px; color: #fff; }
.sr-ladder-top p { color: var(--on-blue); font-size: 14px; }
.sr-due-now { text-align: right; }
.sr-due-now .sr-k { font-size: 12px; letter-spacing: .1em; text-transform: uppercase; color: var(--on-blue); }
.sr-due-now .sr-v {
	font-family: var(--f-display); font-weight: 800; font-size: 2.2rem;
	letter-spacing: -.035em; line-height: 1.1; color: var(--sand); font-variant-numeric: tabular-nums;
}
@media (max-width: 620px) { .sr-due-now { text-align: left; } .sr-ladder-block { padding: 24px 20px; } }
.sr-ladder { display: flex; align-items: flex-end; gap: 14px; }
.sr-rung { flex: 1; min-width: 0; display: flex; flex-direction: column; }
.sr-rung-card { background: rgba(255, 255, 255, .1); border: 1px solid rgba(255, 255, 255, .2); border-radius: var(--r-md); padding: 16px 15px; }
.sr-rung.sr-now .sr-rung-card { background: #fff; color: var(--ink); border-color: #fff; }
.sr-rung-i { font-family: var(--f-mono); font-size: 11px; font-weight: 600; letter-spacing: .12em; color: #A8C4EC; }
.sr-rung.sr-now .sr-rung-i { color: var(--brand); }
.sr-rung-when { font-size: 13.5px; font-weight: 600; margin: 6px 0 8px; }
.sr-rung-amt { font-family: var(--f-display); font-weight: 700; font-size: 1.5rem; letter-spacing: -.03em; line-height: 1; font-variant-numeric: tabular-nums; }
.sr-rung-note { font-size: 12.5px; color: var(--on-blue); margin-top: 7px; }
.sr-rung.sr-now .sr-rung-note { color: var(--ink-3); }
.sr-riser { height: calc(var(--lift, 0) * 30px); border-left: 2px dotted rgba(255, 255, 255, .4); margin-left: 20px; }
@media (prefers-reduced-motion: no-preference) {
	.sr-rung { animation: sr-rise .42s cubic-bezier(.2, .7, .3, 1) backwards; animation-delay: calc(var(--i) * 70ms); }
	@keyframes sr-rise { from { opacity: 0; transform: translateY(14px); } to { opacity: 1; transform: none; } }
}
@media (max-width: 720px) {
	.sr-ladder { flex-direction: column; align-items: stretch; gap: 0; }
	.sr-rung { flex: none; }
	.sr-riser { height: 22px; margin-left: 24px; order: 2; }
	.sr-rung:last-child .sr-riser { display: none; }
}

/* ---------- payment method ---------- */
.sr-tabs { display: flex; gap: 8px; margin-bottom: 18px; flex-wrap: wrap; }
.sr-tab {
	background: #fff; border: 1px solid var(--line); border-radius: 999px;
	padding: 10px 20px; font-size: 14.5px; font-weight: 600; color: var(--ink-2); transition: .15s ease;
}
.sr-tab[aria-selected="true"] { background: var(--brand); border-color: var(--brand); color: #fff; }
.sr-panel { background: #fff; border: 1px solid var(--line); border-radius: var(--r-lg); padding: 26px; }
.sr-panel[hidden] { display: none; }
.sr-form-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
@media (max-width: 680px) { .sr-form-grid { grid-template-columns: 1fr; } .sr-panel { padding: 20px; } }
.sr-span-2 { grid-column: 1 / -1; }
.sr-btn {
	background: var(--brand); color: #fff; border: 0; border-radius: var(--r-sm);
	padding: 15px 26px; font-weight: 600; font-size: 15.5px; text-decoration: none;
	display: inline-flex; align-items: center; justify-content: center; gap: 10px;
	transition: background .15s ease;
}
.sr-btn:hover { background: var(--brand-deep); color: #fff; }
.sr-btn[disabled] { opacity: .6; cursor: default; }
.sr-btn-wide { width: 100%; }
.sr-fine { font-size: 13px; color: var(--ink-3); margin: 14px 0 0; line-height: 1.5; }
.sr-fine-top { margin: 0 0 18px; }
.sr-fine a { color: var(--brand); text-decoration: underline; }
.sr-methods { display: flex; gap: 8px; flex-wrap: wrap; margin-top: 16px; }
.sr-methods span {
	font-size: 12.5px; color: var(--ink-2); border: 1px solid var(--line-soft);
	background: var(--wash); border-radius: 6px; padding: 5px 11px;
}

/* ---------- bank transfer ---------- */
.sr-acct { background: var(--wash); border: 1px dashed var(--line); border-radius: var(--r-md); padding: 20px; margin-bottom: 20px; }
.sr-acct-row { display: flex; justify-content: space-between; align-items: center; gap: 16px; padding: 11px 0; border-bottom: 1px solid #E1E7F0; }
.sr-acct-row:last-child { border-bottom: 0; padding-bottom: 0; }
.sr-acct-row .sr-k { font-size: 13px; color: var(--ink-3); flex: none; }
.sr-acct-row .sr-v { font-family: var(--f-mono); font-weight: 500; font-size: 15px; text-align: right; word-break: break-word; }
.sr-acct-row .sr-v.sr-big { font-size: 19px; font-weight: 600; letter-spacing: .04em; }
.sr-acct-side { display: flex; align-items: center; gap: 10px; }
.sr-copy { background: #fff; border: 1px solid var(--line); border-radius: 6px; padding: 6px 11px; font-size: 12.5px; font-weight: 600; color: var(--ink-2); flex: none; }
.sr-copy.sr-done { background: var(--verify); border-color: var(--verify); color: #fff; }
.sr-callout { background: #FFF7E6; border: 1px solid #F3DFAE; border-radius: var(--r-sm); padding: 14px 16px; font-size: 14px; color: #6B4E12; margin-bottom: 20px; line-height: 1.5; }
.sr-callout b { font-weight: 600; }

/* ---------- toast ----------
 * Hidden with visibility + opacity rather than by sliding it off-screen.
 * The old approach translated it down by 120% of its own height, but the
 * element sits 28px above the bottom edge and is only ~28px tall when it
 * holds no text — so 120% was never far enough and roughly 22px of dark
 * bar stayed parked at the bottom of every page. Height can't be relied on
 * here because it changes with the message, so don't tie hiding to it. */
.sr-toast {
	position: fixed; left: 50%; bottom: 28px;
	transform: translateX(-50%) translateY(14px);
	visibility: hidden;
	opacity: 0;
	pointer-events: none;
	background: var(--ink); color: #fff; padding: 14px 22px; border-radius: 999px;
	font-size: 14.5px; box-shadow: 0 14px 34px -14px rgba(20, 33, 61, .7);
	z-index: 200;
	transition: opacity .2s ease, transform .28s cubic-bezier( .2, .8, .3, 1 ), visibility 0s linear .2s;
	max-width: calc(100% - 40px); text-align: center;
}
.sr-toast.sr-show {
	transform: translateX(-50%) translateY(0);
	visibility: visible;
	opacity: 1;
	transition-delay: 0s;
}

/* ---------- advisor ---------- */
.sr-advisor {
	background: #fff; border: 1px solid var(--line); border-radius: var(--r-lg); padding: 26px;
	display: flex; justify-content: space-between; align-items: center; gap: 24px; flex-wrap: wrap; margin: 36px 0 0;
}
.sr-advisor h3 { font-family: var(--f-display); font-weight: 700; font-size: 1.25rem; letter-spacing: -.025em; margin: 0 0 5px; color: var(--ink); }
.sr-advisor p { color: var(--ink-3); font-size: 14.5px; }
.sr-advisor-links { display: flex; gap: 10px; flex-wrap: wrap; }
.sr-advisor-links a { text-decoration: none; font-size: 14.5px; font-weight: 600; border: 1px solid var(--line); border-radius: var(--r-sm); padding: 12px 18px; }
.sr-advisor-links a.sr-primary { background: var(--ink); color: #fff; border-color: var(--ink); }

/* ---------- sticky bar ---------- */
.sr-stickybar {
	position: fixed; left: 0; right: 0; bottom: 0; z-index: 80;
	background: #fff; border-top: 1px solid var(--line); padding: 11px 20px; display: none;
	justify-content: space-between; align-items: center; gap: 14px;
	box-shadow: 0 -8px 24px -18px rgba(20, 33, 61, .6);
}
.sr-stickybar .sr-k { font-size: 11.5px; color: var(--ink-3); letter-spacing: .06em; text-transform: uppercase; line-height: 1.3; }
.sr-stickybar .sr-v { font-family: var(--f-display); font-weight: 800; font-size: 1.3rem; letter-spacing: -.03em; line-height: 1.1; }
.sr-stickybar .sr-btn { padding: 12px 20px; font-size: 14.5px; }
@media (max-width: 760px) { .sr-stickybar { display: flex; } .sr-pay { padding-bottom: 80px; } }

/* ---------- FAQ ---------- */
.sr-faq { padding: 64px 0; }
.sr-faq-grid { display: grid; grid-template-columns: .85fr 1.15fr; gap: 56px; align-items: start; }
@media (max-width: 880px) { .sr-faq-grid { grid-template-columns: 1fr; gap: 32px; } .sr-faq { padding: 44px 0; } }
.sr-faq h2 {
	font-family: var(--f-display); font-weight: 800;
	font-size: clamp(2rem, 3.6vw, 2.9rem); line-height: 1.05; letter-spacing: -.035em;
	margin: 0 0 16px; color: var(--ink); max-width: 14ch;
}
.sr-faq-intro { color: var(--ink-3); font-size: 15px; max-width: 34ch; }
.sr-faq-intro a { color: var(--brand); font-weight: 600; }
.sr-faq-items { display: grid; gap: 10px; }
.sr-faq details { background: var(--wash); border-radius: 8px; overflow: hidden; }
.sr-faq summary {
	cursor: pointer; list-style: none; padding: 18px 22px;
	font-weight: 600; font-size: 15.5px; color: var(--ink);
	display: flex; justify-content: space-between; align-items: center; gap: 18px;
	transition: background .15s ease, color .15s ease;
}
.sr-faq summary::-webkit-details-marker { display: none; }
.sr-faq details[open] summary { background: var(--brand); color: #fff; }
.sr-chev {
	width: 14px; height: 9px; flex: none; transition: transform .2s ease;
	background: url("data:image/svg+xml;charset=utf8,%3Csvg xmlns='http://www.w3.org/2000/svg' width='14' height='9' viewBox='0 0 14 9'%3E%3Cpath d='M1 1l6 6 6-6' stroke='%2314213D' stroke-width='2' fill='none' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E") center/14px 9px no-repeat;
}
.sr-faq details[open] .sr-chev {
	transform: rotate(180deg);
	background-image: url("data:image/svg+xml;charset=utf8,%3Csvg xmlns='http://www.w3.org/2000/svg' width='14' height='9' viewBox='0 0 14 9'%3E%3Cpath d='M1 1l6 6 6-6' stroke='%23FFFFFF' stroke-width='2' fill='none' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E");
}
.sr-answer { padding: 18px 22px 22px; color: var(--ink-2); font-size: 15px; line-height: 1.6; }

/* -------------------------------------------------------------------------
 * Theme-proof overrides
 *
 * The plan cards, tabs and copy controls are real <button> elements so they
 * are keyboard operable. Elementor global kits style every button on the site
 * with selectors like `.elementor-kit-123 button`, which is two classes deep
 * and outranks a single `.sr-plan` class — so without this block the cards
 * inherit the site's accent colour as a background fill.
 *
 * Chaining `button.sr-plan` inside `.sr-pay` raises specificity above the kit
 * without resorting to !important, which would make these impossible to
 * customise later.
 * ---------------------------------------------------------------------- */

.sr-pay button.sr-plan,
.sr-pay button.sr-tab,
.sr-pay button.sr-copy,
.sr-pay button.sr-btn {
	text-transform: none;
	letter-spacing: normal;
	text-shadow: none;
	min-height: 0;
	font-family: var(--f-body);
}

/* Plan cards: white fill, grey hairline, orange ring only when selected. */
.sr-pay button.sr-plan {
	background-color: #fff;
	background-image: none;
	color: var(--ink);
	border: 1px solid var(--line);
	border-radius: var(--r-lg);
	box-shadow: none;
	line-height: 1.55;
}
.sr-pay button.sr-plan:hover,
.sr-pay button.sr-plan:focus {
	background-color: #fff;
	background-image: none;
	color: var(--ink);
	border-color: var(--ink-3);
}
.sr-pay button.sr-plan[aria-pressed="true"],
.sr-pay button.sr-plan[aria-pressed="true"]:hover,
.sr-pay button.sr-plan[aria-pressed="true"]:focus {
	background-color: #fff;
	background-image: none;
	color: var(--ink);
	border-color: var(--brand);
	/* A second ring rather than a 2px border, so nothing shifts by a pixel
	   when the selection moves between cards. */
	box-shadow: 0 0 0 1px var(--brand), 0 12px 28px -18px rgba( 20, 33, 61, .45 );
}

/* Text inside the cards keeps its own colours rather than the button colour. */
.sr-pay button.sr-plan h3,
.sr-pay button.sr-plan .sr-amt { color: var(--ink); }
.sr-pay button.sr-plan .sr-plan-kicker,
.sr-pay button.sr-plan .sr-plan-total,
.sr-pay button.sr-plan .sr-per { color: var(--ink-3); }
.sr-pay button.sr-plan ul li { color: var(--ink-2); }
.sr-pay button.sr-plan .sr-save { color: var(--verify); }
.sr-pay button.sr-plan .sr-plan-tag { color: var(--ink); background-color: var(--sand); }
.sr-pay button.sr-plan[aria-pressed="true"] .sr-plan-pick { color: var(--brand); }

/* Method tabs. */
.sr-pay button.sr-tab {
	background-color: #fff;
	background-image: none;
	color: var(--ink-2);
	border: 1px solid var(--line);
	box-shadow: none;
}
.sr-pay button.sr-tab[aria-selected="true"],
.sr-pay button.sr-tab[aria-selected="true"]:hover {
	background-color: var(--brand);
	border-color: var(--brand);
	color: #fff;
}

/* Copy buttons. */
.sr-pay button.sr-copy {
	background-color: #fff;
	background-image: none;
	color: var(--ink-2);
	border: 1px solid var(--line);
	box-shadow: none;
}
.sr-pay button.sr-copy.sr-done {
	background-color: var(--verify);
	border-color: var(--verify);
	color: #fff;
}

/* Primary actions stay accent-filled. */
.sr-pay button.sr-btn,
.sr-pay button.sr-btn:hover {
	background-image: none;
	color: #fff;
	border: 0;
	box-shadow: none;
}
.sr-pay button.sr-btn { background-color: var(--brand); }
.sr-pay button.sr-btn:hover { background-color: var(--brand-deep); }

/* FAQ summaries are <summary>, not buttons, but themes sometimes
   restyle them through generic list rules. */
.sr-faq details summary { background-color: var(--wash); }
.sr-faq details[open] summary { background-color: var(--brand); color: #fff; }

/* Course badge — names the course when the page was reached from a course link. */
.sr-pay .sr-course-badge {
	display: inline-flex;
	align-items: center;
	gap: 8px;
	flex-wrap: wrap;
	background: var(--wash);
	border: 1px solid var(--line);
	border-radius: 999px;
	padding: 8px 16px;
	margin: 0 0 18px;
	font-size: 13.5px;
	color: var(--ink-3);
}
.sr-pay .sr-course-badge strong { color: var(--ink); font-weight: 600; }
.sr-pay .sr-course-badge span {
	font-family: var(--f-mono);
	font-variant-numeric: tabular-nums;
	color: var(--blue);
	font-weight: 500;
}

/* =========================================================================
 * Responsive
 *
 * Layered from wide to narrow. Each block only changes what actually breaks
 * at that width rather than restating the whole layout.
 * ====================================================================== */

/* The hero band is stretched to the viewport width. Without this, the
   scrollbar's width makes 100vw wider than the page and the whole site
   scrolls sideways on Windows and Android. `clip` stops that without
   creating a scroll container, and unlike `hidden` it leaves the vertical
   axis visible so the "Cheapest" tag can still overhang its card. */
.sr-pay { overflow-x: clip; }

/* Fluid section rhythm — tight on a phone, generous on a desktop. */
.sr-pay .sr-step { padding: clamp( 26px, 5vw, 44px ) 0; }
.sr-pay .sr-hero { padding: clamp( 40px, 7vw, 76px ) 0 clamp( 36px, 6vw, 72px ); }
.sr-faq { padding: clamp( 36px, 6vw, 64px ) 0; }

/* Long values — account numbers, emails, references — must never widen
   a row past the screen. */
.sr-pay .sr-acct-row .sr-v,
.sr-pay .sr-fine,
.sr-faq .sr-answer { overflow-wrap: anywhere; }

/* ---------- tablet ---------- */
@media ( max-width: 1024px ) {
	.sr-pay .sr-plans { gap: 12px; }
	.sr-pay .sr-plan { padding: 20px 18px 18px; }
	.sr-pay .sr-amt { font-size: 1.95rem; }
	.sr-pay .sr-ladder-block { padding: 26px 22px 22px; }
}

/* ---------- stacked layout ---------- */
@media ( max-width: 900px ) {
	/* The trust pills read better as a wrapping row once the hero is
	   single column — a vertical stack of three pills eats the fold. */
	.sr-pay .sr-trust { flex-direction: row; flex-wrap: wrap; gap: 8px; }
	.sr-pay .sr-trust li { font-size: 13px; padding: 8px 14px; }
}

@media ( max-width: 760px ) {
	/* Step heading: number and title on one line, hint below it. */
	.sr-pay .sr-step-head {
		display: grid;
		grid-template-columns: auto 1fr;
		align-items: center;
		gap: 6px 12px;
	}
	.sr-pay .sr-step-head h2 { grid-column: 2; }
	.sr-pay .sr-hint { grid-column: 1 / -1; font-size: 14px; }

	.sr-pay .sr-ladder-top { flex-direction: column; align-items: flex-start; gap: 16px; margin-bottom: 22px; }
	.sr-pay .sr-due-now .sr-v { font-size: 1.9rem; }

	/* Account rows: label above value, everything left aligned. Side by
	   side, a long account name and a Copy button collide below ~700px. */
	.sr-pay .sr-acct { padding: 16px; }
	.sr-pay .sr-acct-row {
		flex-direction: column;
		align-items: flex-start;
		gap: 6px;
		padding: 12px 0;
	}
	.sr-pay .sr-acct-row .sr-v { text-align: left; }
	.sr-pay .sr-acct-side { width: 100%; justify-content: space-between; }

	.sr-pay .sr-advisor { flex-direction: column; align-items: flex-start; gap: 16px; padding: 22px; }
	.sr-pay .sr-advisor-links { width: 100%; flex-direction: column; gap: 8px; }
	.sr-pay .sr-advisor-links a { width: 100%; text-align: center; padding: 13px 18px; }
}

/* ---------- phone ---------- */
@media ( max-width: 560px ) {
	/* Two tabs, half the width each — easier to hit than pills that wrap. */
	.sr-pay .sr-tabs { gap: 6px; }
	.sr-pay .sr-tab { flex: 1 1 0; padding: 12px 10px; font-size: 14px; text-align: center; }

	.sr-pay .sr-plan { padding: 20px 16px 18px; gap: 12px; }
	.sr-pay .sr-amt { font-size: 1.85rem; }
	.sr-pay .sr-plan h3 { font-size: 1.2rem; }
	.sr-pay .sr-plan ul { font-size: 14px; }

	.sr-pay .sr-panel { padding: 18px 16px; }
	.sr-pay .sr-ladder-block { padding: 22px 18px 18px; }
	.sr-pay .sr-rung-amt { font-size: 1.4rem; }

	.sr-pay .sr-methods span { font-size: 12px; padding: 5px 9px; }
	.sr-faq summary { padding: 16px 18px; font-size: 15px; gap: 12px; }
	.sr-faq .sr-answer { padding: 16px 18px 20px; font-size: 14.5px; }

	.sr-pay .sr-course-badge { width: 100%; justify-content: flex-start; padding: 10px 14px; }
}

/* ---------- small phone ---------- */
@media ( max-width: 380px ) {
	.sr-wrap { width: min( 100% - 28px, 1140px ); }
	.sr-pay .sr-amt { font-size: 1.7rem; }
	.sr-pay .sr-due-now .sr-v { font-size: 1.7rem; }
	.sr-pay .sr-acct-row .sr-v.sr-big { font-size: 17px; }
	.sr-pay .sr-stickybar { padding: 10px 14px; gap: 10px; }
	.sr-pay .sr-stickybar .sr-btn { padding: 11px 16px; font-size: 14px; }
	.sr-pay .sr-trust li { font-size: 12.5px; padding: 7px 12px; }
}

/* ---------- touch devices ----------
   Independent of width: a small tablet and a large phone both need
   thumb-sized targets. 44px is the accepted minimum. */
@media ( pointer: coarse ) {
	.sr-pay .sr-copy { min-height: 40px; padding: 9px 16px; font-size: 13px; }
	.sr-pay .sr-tab { min-height: 44px; }
	.sr-pay .sr-btn { min-height: 48px; }
	.sr-pay .sr-advisor-links a { min-height: 44px; display: flex; align-items: center; justify-content: center; }
	.sr-faq summary { min-height: 52px; }
	/* Hover lift is meaningless without a cursor and leaves cards stuck
	   in the raised state after a tap. */
	.sr-pay .sr-plan:hover { transform: none; }
}

/* iOS zooms the page when a focused input is under 16px. Everything here
   is already 16px through `font: inherit`, but a theme resetting form
   fonts would reintroduce it, so pin it explicitly on small screens. */
@media ( max-width: 760px ) {
	.sr-pay .sr-field input,
	.sr-pay .sr-field select { font-size: 16px; }
}

/* Very short landscape screens: the sticky bar costs too much of the
   viewport, so let the page scroll normally instead. */
@media ( max-height: 460px ) and ( orientation: landscape ) {
	.sr-pay .sr-stickybar { display: none; }
	.sr-pay { padding-bottom: 0; }
}

/* ---------- plan grid: 3 → 2 → 1 ----------
 * A hard jump from three columns to one leaves tablets with cards stretched
 * to the full width of the page. auto-fit lets the browser pick the column
 * count from the available room instead, so the row degrades in steps:
 * three across on a small laptop, two on a tablet, one on a phone. */
@media ( max-width: 900px ) {
	.sr-pay .sr-plans {
		grid-template-columns: repeat( auto-fit, minmax( 250px, 1fr ) );
		/* When cards wrap onto a second row, the "Cheapest" and "Lowest today"
		   tags overhang their card by 11px and would otherwise sit on top of
		   the card above. */
		row-gap: 26px;
	}
}

/* Below this a second column squeezes the price and the benefit list too
   hard, so commit to a single column. */
@media ( max-width: 559px ) {
	.sr-pay .sr-plans {
		grid-template-columns: 1fr;
		row-gap: 22px;
	}
}

/* Belt and braces: an empty toast has nothing to announce, so keep it
   fully out of the way even if a theme overrides visibility. */
.sr-pay .sr-toast:empty {
	display: none;
}
