.rys-quote-wrap {
	--rys-navy: #0b1f33;
	--rys-navy-light: #17324a;
	--rys-orange: #f47b20;
	--rys-orange-dark: #c95300;
	--rys-concrete: #f4f6f8;
	--rys-steel: #667085;
	--rys-border: #d8dee6;
	--rys-white: #fff;
	color: var(--rys-navy);
	font-family: Inter, Roboto, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
	margin: 2rem auto;
	max-width: 1120px;
}

.rys-quote-intro {
	border-left: 5px solid var(--rys-orange);
	margin-bottom: 1.5rem;
	padding: 0.25rem 0 0.25rem 1.25rem;
}

.rys-quote-intro h2 {
	color: var(--rys-navy);
	font-family: "Roboto Condensed", "Arial Narrow", Arial, sans-serif;
	font-size: clamp(1.75rem, 3vw, 2.35rem);
	font-weight: 800;
	letter-spacing: 0.015em;
	line-height: 1.05;
	margin: 0 0 0.55rem;
	text-transform: uppercase;
}

.rys-quote-intro p {
	color: #344054;
	font-size: 1rem;
	line-height: 1.65;
	margin: 0;
	max-width: 820px;
}

.rys-quote-form {
	background: var(--rys-white);
	border: 1px solid var(--rys-border);
	border-radius: 12px;
	box-shadow: 0 16px 42px rgba(11, 31, 51, 0.1);
	padding: clamp(1.1rem, 3vw, 2.25rem);
}

.rys-quote-form fieldset {
	border: 0;
	margin: 0;
	min-inline-size: 0;
	padding: 0;
}

.rys-quote-form > fieldset + fieldset {
	border-top: 1px solid var(--rys-border);
	margin-top: 2rem;
	padding-top: 2rem;
}

.rys-quote-form legend {
	color: var(--rys-navy);
	font-family: "Roboto Condensed", "Arial Narrow", Arial, sans-serif;
	font-size: 1.25rem;
	font-weight: 800;
	letter-spacing: 0.025em;
	margin-bottom: 1.15rem;
	text-transform: uppercase;
}

.rys-quote-grid {
	display: grid;
	gap: 1.1rem 1.25rem;
	grid-template-columns: repeat(2, minmax(0, 1fr));
}

.rys-quote-field {
	display: flex;
	flex-direction: column;
	min-width: 0;
}

.rys-quote-field--wide {
	grid-column: 1 / -1;
}

.rys-quote-field label,
.rys-quote-checklist legend {
	color: var(--rys-navy);
	font-family: inherit;
	font-size: 0.94rem;
	font-weight: 700;
	letter-spacing: normal;
	margin-bottom: 0.4rem;
	text-transform: none;
}

.rys-quote-field input,
.rys-quote-field select,
.rys-quote-field textarea {
	appearance: none;
	background-color: var(--rys-white);
	border: 1px solid #98a2b3;
	border-radius: 6px;
	box-sizing: border-box;
	color: #101828;
	font: inherit;
	line-height: 1.4;
	min-height: 48px;
	padding: 0.72rem 0.8rem;
	width: 100%;
}

.rys-quote-field select {
	background-image:
		linear-gradient(45deg, transparent 50%, var(--rys-navy) 50%),
		linear-gradient(135deg, var(--rys-navy) 50%, transparent 50%);
	background-position:
		calc(100% - 17px) calc(50% - 2px),
		calc(100% - 12px) calc(50% - 2px);
	background-repeat: no-repeat;
	background-size: 5px 5px, 5px 5px;
	padding-right: 2.5rem;
}

.rys-quote-field textarea {
	min-height: 118px;
	resize: vertical;
}

.rys-quote-field input[type="file"] {
	background: var(--rys-concrete);
	padding: 0.65rem;
}

.rys-quote-field input:focus,
.rys-quote-field select:focus,
.rys-quote-field textarea:focus,
.rys-quote-submit:focus {
	box-shadow: 0 0 0 3px rgba(0, 103, 177, 0.25);
	outline: 2px solid #0067b1;
	outline-offset: 1px;
}

.rys-quote-checklist {
	background: var(--rys-concrete);
	border-radius: 8px !important;
	margin-top: 1.25rem !important;
	padding: 1rem !important;
}

.rys-quote-checks {
	display: grid;
	gap: 0.7rem 1rem;
	grid-template-columns: repeat(3, minmax(0, 1fr));
}

.rys-quote-checks label {
	align-items: center;
	color: #344054;
	display: flex;
	font-size: 0.94rem;
	font-weight: 600;
	gap: 0.5rem;
}

.rys-quote-checks input[type="checkbox"] {
	accent-color: var(--rys-orange);
	height: 18px;
	width: 18px;
}

.rys-quote-help,
.rys-quote-required,
.rys-quote-privacy-note {
	color: var(--rys-steel);
	font-size: 0.84rem;
	line-height: 1.5;
	margin: 0.45rem 0 0;
}

.rys-quote-safety-note {
	background: #eef5fa;
	border-left: 4px solid #0067b1;
	color: #344054;
	font-size: 0.88rem;
	line-height: 1.55;
	margin: 1.5rem 0;
	padding: 0.9rem 1rem;
}

.rys-quote-submit {
	background: var(--rys-orange);
	border: 2px solid var(--rys-orange);
	border-radius: 5px;
	color: #101828;
	cursor: pointer;
	font-family: "Roboto Condensed", "Arial Narrow", Arial, sans-serif;
	font-size: 1rem;
	font-weight: 900;
	letter-spacing: 0.045em;
	min-height: 50px;
	padding: 0.75rem 1.5rem;
	text-transform: uppercase;
}

.rys-quote-submit:hover {
	background: var(--rys-orange-dark);
	border-color: var(--rys-orange-dark);
	color: var(--rys-white);
}

.rys-quote-notice {
	border-left: 5px solid;
	border-radius: 5px;
	font-weight: 650;
	line-height: 1.5;
	margin-bottom: 1.25rem;
	padding: 0.9rem 1rem;
}

.rys-quote-notice--success {
	background: #ecfdf3;
	border-color: #067647;
	color: #05603a;
}

.rys-quote-notice--warning {
	background: #fffaeb;
	border-color: #dc6803;
	color: #7a2e0e;
}

.rys-quote-notice--error {
	background: #fef3f2;
	border-color: #d92d20;
	color: #912018;
}

.rys-quote-honeypot {
	height: 1px;
	left: -10000px;
	overflow: hidden;
	position: absolute;
	top: auto;
	width: 1px;
}

@media (max-width: 767px) {
	.rys-quote-grid {
		grid-template-columns: 1fr;
	}

	.rys-quote-field--wide {
		grid-column: auto;
	}

	.rys-quote-checks {
		grid-template-columns: repeat(2, minmax(0, 1fr));
	}

	.rys-quote-submit {
		width: 100%;
	}
}

@media (max-width: 389px) {
	.rys-quote-form {
		border-radius: 8px;
		padding: 1rem;
	}

	.rys-quote-checks {
		grid-template-columns: 1fr;
	}
}
