/* =========================================================================
   Request service and support: template-request-service.php
   (/customercare/request-service-support/).
   Scoped to .rs, mobile first, min-width queries at 640 / 768 / 900 / 1200.
   The house recipe from docs/superpowers/specs/2026-09-18-support-and-
   content-pages-design.md, renamed, plus the form aside and help cards.
   Gravity Form 32 itself is styled by css/product.css through the
   .pd .pd-enquiry reuse; only this page's additions are here, all under .rs.
   ========================================================================= */

.rs {
	--rs-navy: #181d46;      /* Billi Blue */
	--rs-lightblue: #90cdeb; /* primary button on dark, accents */
	--rs-grey: #eaeaea;      /* borders, rules */
	--rs-band-grey: #f5f5f5;
	--rs-band-tint: #f1f5f5; /* Green Grey */
	--rs-text: #000;
	--rs-muted: #75757b;
	--rs-gutter: 20px;

	font-family: var(--font-din);
	color: var(--rs-text);
	line-height: 1.5;
}

@media (min-width: 900px) {
	.rs { --rs-gutter: 40px; }
}

.rs *,
.rs *::before,
.rs *::after { box-sizing: border-box; }

/* framework.css sets a global img { width: 100% }: width must be reset. */
.rs img { max-width: 100%; width: auto; height: auto; display: block; }

.rs-container {
	width: 100%;
	max-width: 1436px;
	margin: 0 auto;
	padding-left: var(--rs-gutter);
	padding-right: var(--rs-gutter);
}


/* ---- Sections ------------------------------------------------------------ */

.rs-section { padding: 48px 0; }

@media (min-width: 900px) {
	.rs-section { padding: 80px 0; }
}

.rs-section--grey { background: var(--rs-band-grey); }
.rs-section--tint { background: var(--rs-band-tint); }

.rs :is(h2, h3) {
	margin-top: 0;
	text-transform: none;
	letter-spacing: normal;
}

.rs .rs-section-heading {
	margin: 0 0 12px;
	font-size: 26px;
	font-weight: 600;
	line-height: 1.18;
	color: var(--rs-navy);
}

/* #75757b is under 4.5:1 on the grey and Green Grey bands, so intros on a
   band use the darker grey the forms already use. */
.rs-section-intro {
	margin: 0;
	max-width: 66ch;
	font-size: 17px;
	line-height: 1.55;
	color: var(--rs-muted);
}

.rs-section--tint .rs-section-intro,
.rs-section--grey .rs-section-intro { color: #5f5f66; }

.rs-section-head { margin-bottom: 28px; }
.rs-section-head > :last-child { margin-bottom: 0; }

@media (min-width: 900px) {
	.rs .rs-section-heading { font-size: 34px; }
	.rs-section-head { margin-bottom: 40px; }
}


/* ---- Buttons --------------------------------------------------------------
   desktop.css has a global a:hover { opacity: .7 }: every button opts out. */

/* 16px on a 1.5 line with 12px padding: 48px tall, the size the homepage,
   Why Billi, Specify Billi and the sector pages use. */
.rs .rs-btn {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	gap: 8px;
	min-height: 48px;
	padding: 12px 28px;
	border: 0;
	border-radius: 2px;
	font-size: 16px;
	font-weight: 600;
	line-height: 1.5;
	text-align: center;
	text-decoration: none;
	cursor: pointer;
	transition: background-color 0.2s ease, color 0.2s ease, box-shadow 0.2s ease;
}

.rs .rs-btn:hover,
.rs .rs-btn:focus-visible { opacity: 1; }

.rs .rs-btn svg {
	flex: 0 0 auto;
	width: 18px;
	height: 18px;
}

.rs .rs-btn--navy { background: var(--rs-navy); color: #fff; }

.rs .rs-btn--navy:hover,
.rs .rs-btn--navy:focus-visible {
	background: #fff;
	color: var(--rs-navy);
	box-shadow: inset 0 0 0 1px var(--rs-navy);
}

.rs .rs-btn--light { background: var(--rs-lightblue); color: var(--rs-navy); }

.rs .rs-btn--light:hover,
.rs .rs-btn--light:focus-visible { background: #fff; color: var(--rs-navy); }

.rs .rs-btn--ghost {
	background: transparent;
	color: #fff;
	box-shadow: inset 0 0 0 1px rgba(255, 255, 255, 0.6);
}

.rs .rs-btn--ghost:hover,
.rs .rs-btn--ghost:focus-visible {
	background: #fff;
	color: var(--rs-navy);
	box-shadow: none;
}

.rs .rs-btn--outline {
	background: transparent;
	color: var(--rs-navy);
	box-shadow: inset 0 0 0 1px var(--rs-navy);
}

.rs .rs-btn--outline:hover,
.rs .rs-btn--outline:focus-visible { background: var(--rs-navy); color: #fff; }

/* framework.css removes focus outlines sitewide. Navy on light grounds,
   white on the navy hero. */
.rs :is(a, button, summary, input, select, textarea):focus-visible {
	outline: 2px solid var(--rs-navy);
	outline-offset: 3px;
}

.rs .rs-hero :is(a, button, summary):focus-visible { outline-color: #fff; }


/* ---- Hero (compact) --------------------------------------------------------
   The title is an <h1>: typography.css gives it DM Serif Display at 400.
   Never set its font-weight or font-family. */

.rs-hero {
	position: relative;
	isolation: isolate;
	display: flex;
	align-items: center;
	min-height: 340px;
	background: var(--rs-navy);
	color: #fff;
	overflow: hidden;
}

.rs-hero--compact { min-height: 0; }

.rs-hero__inner {
	width: 100%;
	padding-top: 48px;
	padding-bottom: 48px;
}

.rs-hero__content { max-width: 720px; }

.rs-hero__eyebrow {
	margin: 0 0 12px;
	color: var(--rs-lightblue);
	font-size: 14px;
	font-weight: 600;
	letter-spacing: 0.08em;
	text-transform: uppercase;
}

.rs .rs-hero__title {
	margin: 0;
	color: #fff;
	font-size: 34px;
	line-height: 1.12;
}

.rs-hero__intro {
	margin: 16px 0 0;
	max-width: 62ch;
	color: rgba(255, 255, 255, 0.9);
	font-size: 17px;
	line-height: 1.5;
}

.rs .rs-hero__intro a { color: #fff; text-decoration: underline; text-underline-offset: 2px; }

.rs-hero__actions {
	display: flex;
	flex-wrap: wrap;
	gap: 12px;
	margin-top: 28px;
}

.rs-hero__actions:empty { display: none; }

@media (min-width: 900px) {
	.rs-hero__inner { padding-top: 72px; padding-bottom: 72px; }
	.rs-hero--compact .rs-hero__inner { padding-top: 56px; padding-bottom: 56px; }
	.rs .rs-hero__title { font-size: 52px; }
	.rs-hero--compact .rs-hero__title { font-size: 44px; }
	.rs-hero__intro { font-size: 18px; }
}


/* ---- Form section -----------------------------------------------------------
   Layout, panel and every form control come from product.css (.pd-enquiry).
   The heading is a real h2 here, so global heading margins are cleared. */

.rs h2.pd-section-heading { margin-top: 0; }

/* "Before you start": the guidance that used to sit under the consent box and
   in the confirmation message, in a white panel like the product page's
   next-steps list. */
.rs-checklist {
	list-style: none;
	margin: 28px 0 0;
	padding: 8px 24px;
	border-radius: 4px;
	background: #fff;
}

.rs-checklist__item {
	margin: 0;
	padding: 16px 0;
	border-top: 1px solid var(--rs-grey);
}

.rs-checklist__item:first-child { border-top: 0; }

.rs .rs-checklist__title {
	margin: 0 0 4px;
	font-size: 16px;
	font-weight: 600;
	line-height: 1.3;
	color: var(--rs-navy);
}

.rs-checklist__text {
	font-size: 15px;
	font-weight: 400;
	line-height: 1.5;
	color: #5f5f66;
}

.rs-checklist__text > :first-child { margin-top: 0; }
.rs-checklist__text > :last-child { margin-bottom: 0; }
.rs-checklist__text p { margin: 0 0 0.6em; }

.rs .rs-checklist__text a {
	color: var(--rs-navy);
	font-weight: 600;
	text-decoration: underline;
	text-underline-offset: 2px;
}

.rs .rs-checklist__text a:hover { opacity: 1; }

.rs .pd-enquiry__fallback { margin: 0; font-size: 16px; }


/* ---- Cards (help band) ---------------------------------------------------------
   Whole card clickable through ONE stretched link on the title. */

.rs-grid {
	display: grid;
	grid-template-columns: minmax(0, 1fr);
	gap: 20px;
}

@media (min-width: 640px) {
	.rs-grid--2,
	.rs-grid--3 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}

@media (min-width: 900px) {
	.rs-grid { gap: 28px; }
	.rs-grid--3 { grid-template-columns: repeat(3, minmax(0, 1fr)); }
}

/* On a phone the cards stack, so they are compact: icon beside the title
   and text, which roughly halves the scroll. From 640px, icon on top. */
.rs-card {
	position: relative;
	display: grid;
	grid-template-columns: auto minmax(0, 1fr);
	column-gap: 16px;
	align-items: start;
	min-width: 0;
	padding: 20px;
	border: 1px solid var(--rs-grey);
	border-radius: 4px;
	background: #fff;
	transition: border-color 0.2s ease, box-shadow 0.2s ease;
}

@media (min-width: 640px) {
	.rs-card {
		display: flex;
		flex-direction: column;
		padding: 24px;
	}
}

.rs-card--link:hover {
	border-color: var(--rs-navy);
	box-shadow: 0 6px 24px rgba(24, 29, 70, 0.08);
}

.rs-card__icon {
	grid-row: 1 / span 2;
	display: flex;
	align-items: center;
	justify-content: center;
	width: 44px;
	height: 44px;
	border-radius: 4px;
	background: var(--rs-band-tint);
	color: var(--rs-navy);
}

@media (min-width: 640px) {
	.rs-card__icon { width: 48px; height: 48px; margin-bottom: 16px; }
}

.rs .rs-card__icon svg { width: 26px; height: 26px; }

.rs .rs-card__title {
	align-self: center;
	margin: 0;
	font-size: 18px;
	font-weight: 600;
	line-height: 1.25;
	color: var(--rs-navy);
}

@media (min-width: 640px) {
	.rs .rs-card__title { align-self: auto; font-size: 19px; }
}

.rs .rs-card__link {
	color: inherit;
	font-weight: inherit;
	text-decoration: none;
}

.rs .rs-card__link::after {
	content: '';
	position: absolute;
	inset: 0;
	border-radius: 4px;
}

.rs .rs-card__link:hover { opacity: 1; }

.rs-card__text {
	grid-column: 2;
	margin: 4px 0 0;
	font-size: 15px;
	font-weight: 400;
	line-height: 1.5;
	color: var(--rs-muted);
}

@media (min-width: 640px) {
	.rs-card__text { margin-top: 8px; }
}

@supports selector(:has(a)) {
	.rs .rs-card__link:focus-visible { outline: none; }

	.rs .rs-card:has(.rs-card__link:focus-visible) {
		outline: 2px solid var(--rs-navy);
		outline-offset: 3px;
	}
}

@media (prefers-reduced-motion: reduce) {
	.rs .rs-btn,
	.rs-card { transition: none; }
}
