/* Alltrust — design system from Figma */

:root {
	--at-navy: #10294a;
	--at-navy-deep: #0b1f3a;
	--at-accent: #0c469c;
	--at-blue: #1b9fff;
	--at-blue-soft: #c9e2f6;
	--at-blue-wash: #eaf4fc;
	--at-blue-icon: #e0eefa;
	--at-text: #10294a;
	--at-muted: #6b7381;
	--at-border: #e5eaf3;
	--at-bg: #ffffff;
	--at-star: #f5b400;
	--at-container: 1200px;
	--at-radius: 16px;
	--at-radius-sm: 12px;
	--at-radius-pill: 999px;
	--at-shadow: 0 18px 50px rgba(16, 41, 74, 0.12);
	--at-font: "Inter", "Segoe UI", sans-serif;
}

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

html {
	scroll-behavior: smooth;
	scroll-padding-top: 64px;
}

body.alltrust-theme {
	margin: 0;
	font-family: var(--at-font);
	color: var(--at-text);
	background: var(--at-bg);
	line-height: 1.55;
	-webkit-font-smoothing: antialiased;
}

body.alltrust-theme .site {
	overflow-x: clip;
}

img {
	max-width: 100%;
	height: auto;
	display: block;
}

a {
	color: var(--at-navy);
}

a:visited {
	color: var(--at-navy);
}

a:hover,
a:focus,
a:active {
	color: var(--at-navy);
}

button,
input {
	font: inherit;
}

.at-container {
	width: min(100% - 40px, var(--at-container));
	margin-inline: auto;
}

/* Kill Underscores default link colors (purple visited / dark hover on buttons) */
body.alltrust-theme a,
body.alltrust-theme a:visited,
body.alltrust-theme a:hover,
body.alltrust-theme a:focus,
body.alltrust-theme a:active {
	color: inherit;
	text-decoration: none;
}

body.alltrust-theme .at-btn,
body.alltrust-theme .at-btn:visited,
body.alltrust-theme .at-btn:hover,
body.alltrust-theme .at-btn:focus,
body.alltrust-theme .at-btn:active {
	color: #fff;
}

body.alltrust-theme .at-btn--ghost,
body.alltrust-theme .at-btn--ghost:visited,
body.alltrust-theme .at-btn--ghost:hover,
body.alltrust-theme .at-btn--ghost:focus,
body.alltrust-theme .at-btn--ghost:active {
	color: var(--at-navy);
}

body.alltrust-theme .at-btn--light,
body.alltrust-theme .at-btn--light:visited,
body.alltrust-theme .at-btn--light:hover,
body.alltrust-theme .at-btn--light:focus,
body.alltrust-theme .at-btn--light:active {
	color: var(--at-navy);
}

.at-btn {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	gap: 8px;
	min-height: 48px;
	padding: 0 24px;
	border: 0;
	border-radius: var(--at-radius-pill);
	background: var(--at-navy);
	color: #fff;
	font-weight: 700;
	font-size: 15px;
	cursor: pointer;
	transition: transform 0.2s ease, background 0.2s ease, box-shadow 0.2s ease;
}

.at-btn:hover {
	background: #183a63;
	color: #fff;
	transform: translateY(-1px);
}

.at-btn--header {
	min-height: 0;
	padding: 13px 22px;
	background: var(--at-accent);
	font-size: 14px;
	font-weight: 600;
	line-height: 1;
	letter-spacing: 0.2px;
	color: #fff;
}

.at-btn--header:hover {
	background: #0a3a82;
	color: #fff;
}

.at-btn--ghost {
	background: transparent;
	color: var(--at-navy);
	border: 1px solid var(--at-border);
}

.at-btn--ghost:hover {
	background: var(--at-blue-wash);
	color: var(--at-navy);
}

.at-btn--wide {
	min-width: 220px;
}

.at-btn--primary {
	width: 100%;
	min-height: 48px;
	padding: 14px 22px;
	background: var(--at-navy);
	color: #fff;
	font-size: 14px;
	font-weight: 600;
	line-height: 1;
	letter-spacing: 0.2px;
	box-sizing: border-box;
}

.at-btn--primary:hover,
.at-btn--primary:focus {
	background: #183a63;
	color: #fff;
}

.at-btn--primary svg {
	width: 20px;
	height: 20px;
	flex-shrink: 0;
}

/* ---------- CTA blocks (Compare / Policy) ---------- */
.at-cta {
	display: flex;
	flex-direction: column;
	align-items: stretch;
	gap: 10px;
	width: 100%;
	max-width: 420px;
}

.at-cta__note {
	display: flex;
	align-items: flex-start;
	gap: 8px;
	margin: 0;
	font-family: "Inter", var(--at-font);
	font-size: 13px;
	font-weight: 400;
	line-height: 1.45;
	color: #6b7380;
}

.at-cta__note svg {
	width: 16px;
	height: 16px;
	flex-shrink: 0;
	margin-top: 1px;
	color: #8a93a0;
}

.at-cta--onband .at-cta__note {
	color: #3d5570;
}

.at-cta--onband .at-cta__note svg {
	color: #5a7088;
}

.at-cta--header {
	max-width: none;
	flex-shrink: 0;
}

.at-cta--header .at-btn--primary {
	width: 100%;
	max-width: 150px;
	min-height: 0;
	height: auto;
	padding: 10px 14px;
	background: var(--at-navy);
	font-size: 13px;
	font-weight: 600;
	line-height: 1;
	letter-spacing: 0.1px;
	white-space: nowrap;
	gap: 6px;
}

.at-cta--header .at-btn--primary:hover,
.at-cta--header .at-btn--primary:focus {
	background: #183a63;
}

.at-cta--header .at-btn--primary svg {
	width: 15px;
	height: 15px;
}

.at-cta--mobile {
	max-width: none;
	margin-top: 8px;
}

.at-cta--aside {
	max-width: none;
}

/* Blog post aside: dark-navy button (different from white header CTA). */
.at-aside-cta .at-cta--aside .at-btn--primary,
.at-aside-cta .at-cta--aside .at-btn--primary:link,
.at-aside-cta .at-cta--aside .at-btn--primary:visited {
	background: #0b1f3a !important;
	color: #fff !important;
	border: 1px solid rgba(255, 255, 255, 0.35);
	box-shadow: 0 8px 20px rgba(0, 0, 0, 0.18);
}

.at-aside-cta .at-cta--aside .at-btn--primary:hover,
.at-aside-cta .at-cta--aside .at-btn--primary:focus {
	background: #163a66 !important;
	color: #fff !important;
	border-color: rgba(255, 255, 255, 0.5);
}

.at-aside-cta .at-cta--aside .at-btn--primary svg {
	color: #fff !important;
	stroke: currentColor;
}

.at-cta--aside .at-cta__note {
	color: rgba(255, 255, 255, 0.88);
}

.at-cta--aside .at-cta__note svg {
	color: rgba(255, 255, 255, 0.72);
}

/* ---------- Header (Figma Nav) ---------- */
.at-header {
	position: sticky;
	top: 0;
	z-index: 100;
	background: #fff;
	border-bottom: 1px solid var(--at-border);
}

.at-header__inner {
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: 24px;
	height: 64px;
	min-height: 64px;
	padding-block: 8px;
	box-sizing: border-box;
}

.at-logo {
	display: flex;
	align-items: center;
	gap: 12px;
	flex-shrink: 0;
	color: var(--at-navy);
}

.at-logo__full {
	height: 48px;
	width: auto;
	max-width: 220px;
	object-fit: contain;
}

.at-logo__text {
	display: flex;
	flex-direction: column;
	line-height: 1;
}

.at-logo__name {
	font-size: 26px;
	font-weight: 700;
	letter-spacing: -0.03em;
}

.at-logo__all {
	color: #5ba3d9;
}

.at-logo__trust {
	color: var(--at-navy);
}

.at-logo__name sup {
	font-size: 10px;
	margin-left: 1px;
	vertical-align: super;
}

.at-logo__tag {
	margin-top: 5px;
	font-size: 9px;
	font-weight: 700;
	letter-spacing: 0.16em;
	text-transform: uppercase;
	color: var(--at-navy);
}

.at-logo--light,
.at-logo--light .at-logo__all,
.at-logo--light .at-logo__trust,
.at-logo--light .at-logo__tag,
.at-logo--light .at-logo__name {
	color: #fff;
}

.at-nav {
	display: flex;
	align-items: center;
	gap: 30px;
	list-style: none;
	margin: 0;
	padding: 0;
}

.at-nav > li {
	position: relative;
}

.at-nav > li > a,
.at-nav__trigger {
	display: inline-flex;
	align-items: center;
	gap: 8px;
	padding: 10px 12px 10px 14px;
	border-radius: 999px;
	color: var(--at-navy);
	font-size: 15px;
	font-weight: 400;
	line-height: 1.5;
	letter-spacing: 0;
	background: transparent;
	border: 0;
	cursor: pointer;
}

.at-nav > li > a:hover,
.at-nav > li > a:focus,
.at-nav__trigger:hover,
.at-nav__trigger:focus,
.at-nav__trigger[aria-expanded="true"] {
	background: var(--at-blue-wash);
	color: var(--at-navy);
}

.at-nav__chevron {
	width: 6.5px;
	height: 3.25px;
	display: block;
	flex-shrink: 0;
	/* Asset points up — rotate to down when menu closed */
	transform: rotate(180deg);
	transition: transform 0.2s ease;
}

.at-nav__trigger[aria-expanded="true"] .at-nav__chevron {
	transform: rotate(0deg);
}

.at-header__actions {
	display: flex;
	align-items: center;
	gap: 20px;
	flex-shrink: 0;
}

.at-header__divider {
	display: inline-block;
	width: 1px;
	height: 20px;
	background: var(--at-border);
	flex-shrink: 0;
}

.at-lang {
	position: relative;
	display: inline-flex;
	align-items: center;
}

.at-lang__link {
	display: inline-flex;
	align-items: center;
	gap: 10px;
	padding: 0;
	border: 0;
	background: transparent;
	font: inherit;
	font-size: 14px;
	font-weight: 600;
	line-height: 1;
	letter-spacing: 0.2px;
	color: var(--at-accent);
	text-decoration: none;
}

.at-lang__flags {
	position: relative;
	display: inline-grid;
	width: 28px;
	height: 28px;
	flex-shrink: 0;
}

.at-lang__flag-slot {
	grid-area: 1 / 1;
	width: 28px;
	height: 28px;
	line-height: 0;
}

.at-lang__flag-slot.is-next {
	visibility: hidden;
}

.at-lang__flag {
	width: 28px;
	height: 28px;
	display: block;
	border-radius: 50%;
	overflow: hidden;
	shape-rendering: geometricPrecision;
}

.at-lang__code {
	position: relative;
	display: inline-grid;
	text-transform: uppercase;
	letter-spacing: 0.2px;
}

.at-lang__code-active,
.at-lang__code-next {
	grid-area: 1 / 1;
}

.at-lang__code-next {
	visibility: hidden;
}

.at-lang__link:hover .at-lang__code,
.at-lang__link:focus-visible .at-lang__code {
	text-decoration: underline;
	text-underline-offset: 3px;
	text-decoration-thickness: 1.5px;
}

.at-lang__link:hover .at-lang__code-active,
.at-lang__link:focus-visible .at-lang__code-active,
.at-lang__link:hover .at-lang__flag-slot.is-active,
.at-lang__link:focus-visible .at-lang__flag-slot.is-active {
	visibility: hidden;
}

.at-lang__link:hover .at-lang__code-next,
.at-lang__link:focus-visible .at-lang__code-next,
.at-lang__link:hover .at-lang__flag-slot.is-next,
.at-lang__link:focus-visible .at-lang__flag-slot.is-next {
	visibility: visible;
}

.at-header__phone,
.icon_phone-.at-header__phone,
a.icon_phone-.at-header__phone {
	font-size: 14px;
	font-weight: 600;
	line-height: 1;
	letter-spacing: 0.2px;
	color: var(--at-accent);
	white-space: nowrap;
	text-decoration: none;
}

a.icon_phone- {
	color: inherit;
	text-decoration: none;
}

a.icon_phone-:hover {
	color: var(--at-accent);
}

.at-menu-toggle {
	display: none;
	position: relative;
	width: 40px;
	height: 40px;
	padding: 0;
	border: 0;
	border-radius: 0;
	background: transparent;
	color: var(--at-navy);
	cursor: pointer;
	flex-shrink: 0;
}

.at-menu-toggle__bars {
	display: flex;
	flex-direction: column;
	justify-content: center;
	gap: 5px;
	width: 22px;
	margin: 0 auto;
}

.at-menu-toggle__bars span {
	display: block;
	width: 100%;
	height: 2.5px;
	margin: 0;
	background: var(--at-navy);
	border-radius: 1px;
}

.at-menu-toggle__close {
	display: none;
	position: absolute;
	inset: 0;
	margin: auto;
	width: 18px;
	height: 18px;
}

.at-menu-toggle__close::before,
.at-menu-toggle__close::after {
	content: "";
	position: absolute;
	left: 50%;
	top: 50%;
	width: 20px;
	height: 2px;
	background: var(--at-navy);
	border-radius: 1px;
	transform: translate(-50%, -50%) rotate(45deg);
}

.at-menu-toggle__close::after {
	transform: translate(-50%, -50%) rotate(-45deg);
}

.at-header.is-open .at-menu-toggle__bars {
	display: none;
}

.at-header.is-open .at-menu-toggle__close {
	display: block;
}

/* Mobile menu panel (shown ≤860px) */
.at-mobile-menu {
	display: none;
}

body.at-menu-locked {
	overflow: hidden;
}

/* Mega menu — Figma */
.at-mega {
	position: absolute;
	top: calc(100% + 12px);
	left: 0;
	transform: none;
	width: min(560px, calc(100vw - 40px));
	display: none;
	grid-template-columns: 242px 1fr;
	background: #fff;
	border: 1px solid var(--at-border);
	border-radius: 16px;
	box-shadow: var(--at-shadow);
	overflow: hidden;
	z-index: 130;
}

.at-mega::before {
	content: "";
	position: absolute;
	left: 0;
	right: 0;
	top: -16px;
	height: 16px;
}

.at-nav__item--products.is-open .at-mega {
	display: grid;
}

.at-mega__promo {
	background: #e8f1f8;
	padding: 20px;
	border-right: 1px dashed var(--at-border);
}

.at-mega__promo img {
	width: 210px;
	max-width: 100%;
	height: 150px;
	object-fit: cover;
	border-radius: 12px;
	margin-bottom: 16px;
}

.at-mega__promo p {
	margin: 0 0 10px;
	max-width: 210px;
	font-size: 15px;
	font-weight: 400;
	line-height: 1.5;
	color: var(--at-navy);
}

.at-mega__promo .at-mega__phone,
.at-mega__promo a.icon_phone- {
	display: inline-block;
	font-size: 20px;
	font-weight: 700;
	line-height: 1.32;
	letter-spacing: 0;
	color: var(--at-accent);
}

.at-mega__list {
	padding: 22px 20px 16px;
}

.at-mega__label {
	margin: 0 0 8px;
	font-size: 11px;
	font-weight: 600;
	line-height: 1;
	letter-spacing: 0.5px;
	text-transform: uppercase;
	color: var(--at-muted);
}

.at-mega__list ul {
	list-style: none;
	margin: 0;
	padding: 0;
	display: flex;
	flex-direction: column;
	gap: 4px;
}

.at-mega__list a,
.at-mega__item--nolink {
	display: flex;
	align-items: center;
	gap: 14px;
	min-height: 54px;
	padding: 8px;
	border-radius: 10px;
	font-size: 15px;
	font-weight: 400;
	line-height: 1.5;
	color: var(--at-navy);
	background: #fff;
}

.at-mega__list a:hover {
	background: var(--at-blue-wash);
}

.at-mega__item-title {
	flex: 1;
}

.at-mega__icon {
	width: 38px;
	height: 38px;
	display: grid;
	place-items: center;
	flex-shrink: 0;
	border-radius: 9px;
	background: var(--at-blue-icon);
	overflow: hidden;
	padding: 7px;
	box-sizing: border-box;
}

.at-mega__icon img {
	width: 100%;
	height: 100%;
	object-fit: contain;
	display: block;
}

.at-hero {
	scroll-margin-top: 64px;
	position: relative;
	padding: 80px 0 40px;
	overflow: hidden;
}

.at-hero::before {
	content: "";
	position: absolute;
	left: -80px;
	top: -100px;
	width: 620px;
	height: 380px;
	background: radial-gradient(
		ellipse at center,
		rgba(115, 189, 245, 0.5) 0%,
		rgba(115, 189, 245, 0) 72%
	);
	pointer-events: none;
	z-index: 0;
}

.at-hero .at-container {
	position: relative;
	z-index: 1;
}

/* Figma: Inter 800 / 74px / line-height 100% / center / #10294A */
.at-hero__title {
	margin: 0 auto 24px;
	max-width: 1216px;
	text-align: center;
	font-family: "Inter", var(--at-font);
	font-size: clamp(36px, 5.2vw, 74px);
	line-height: 1;
	font-weight: 800;
	letter-spacing: 0;
	color: #10294a;
}

.at-hero__title .at-accent {
	color: var(--at-blue);
}

.at-hero__subtitle {
	margin: 0 auto 40px;
	max-width: 1216px;
	text-align: center;
	font-family: "Inter", var(--at-font);
	font-size: 18px;
	font-weight: 400;
	line-height: 1.5;
	letter-spacing: 0;
	color: #6b7380;
}

@media (prefers-reduced-motion: no-preference) {
	.at-hero__title {
		opacity: 0;
		animation: at-hero-fade 0.9s ease forwards;
		animation-delay: 0.08s;
	}

	.at-hero__subtitle {
		opacity: 0;
		animation: at-hero-fade 0.85s ease forwards;
		animation-delay: 0.28s;
	}

	.at-hero .at-products {
		opacity: 0;
		animation: at-hero-fade 0.8s ease forwards;
		animation-delay: 0.48s;
	}
}

@keyframes at-hero-fade {
	from {
		opacity: 0;
		transform: translateY(12px);
	}
	to {
		opacity: 1;
		transform: translateY(0);
	}
}

/* Product cards — Figma Card/Auto + Card/Condo rows */
.at-products {
	display: grid;
	grid-template-columns: repeat(6, 1fr);
	gap: 16px;
}

.at-product {
	display: flex;
	flex-direction: column;
	align-items: center;
	justify-content: center;
	gap: 14px;
	height: 150px;
	padding: 26px 20px 28px;
	border: 1.5px solid #e5eaf3;
	border-radius: 16px;
	background: #fff;
	box-shadow: none;
	box-sizing: border-box;
	transition: border-color 0.2s ease, box-shadow 0.2s ease, transform 0.2s ease;
}

.at-product:nth-child(1),
.at-product:nth-child(2) {
	grid-column: span 3;
	height: 150px;
}

.at-product:nth-child(n + 3) {
	grid-column: span 2;
	height: 132px;
	padding: 26px 20px;
}

.at-product:hover {
	border-color: #c9e2f6;
	box-shadow: 0 12px 28px rgba(16, 41, 74, 0.08);
	transform: translateY(-2px);
	color: #10294a;
}

.at-product:hover .at-product__icon {
	background: #d4e8f8;
}

.at-product__icon {
	width: 58px;
	height: 58px;
	display: grid;
	place-items: center;
	flex-shrink: 0;
	border-radius: 100px;
	background: #e0eefa;
	transition: background 0.2s ease;
	padding: 0;
	box-sizing: border-box;
	overflow: hidden;
}

.at-product__icon img {
	width: 24px;
	height: 24px;
	object-fit: contain;
	display: block;
}

.at-product__title {
	margin: 0;
	font-family: "Inter", var(--at-font);
	font-size: 14px;
	font-weight: 600;
	line-height: 1;
	letter-spacing: 0.2px;
	color: #10294a;
	text-align: center;
}

.at-header__phone,
.at-header__phone:visited,
.at-header__phone:hover {
	font-size: 14px;
	font-weight: 600;
	line-height: 1;
	letter-spacing: 0.2px;
	color: var(--at-accent) !important;
}

body.alltrust-theme .at-btn--header,
body.alltrust-theme .at-btn--header:visited,
body.alltrust-theme .at-btn--header:hover,
body.alltrust-theme .at-btn--header:focus,
body.alltrust-theme .at-btn--header:active {
	color: #fff;
	background: var(--at-accent);
}

.at-call-fab,
.at-call-fab:visited,
.at-call-fab:hover,
.at-call-fab:focus {
	color: #fff !important;
}

.at-post-card__title a,
.at-post-card__title a:visited,
.at-post-card__title a:hover {
	color: var(--at-navy) !important;
}

.at-post-card__more,
.at-post-card__more:visited,
.at-post-card__more:hover {
	display: inline-flex;
	align-items: center;
	gap: 6px;
	font-size: 14px;
	font-weight: 700;
	color: var(--at-navy) !important;
}

.at-post-card__more:hover {
	opacity: 0.75;
}

.at-call-fab {
	position: fixed;
	right: 0;
	top: 50%;
	z-index: 95;
	display: inline-flex;
	flex-direction: row;
	align-items: center;
	justify-content: center;
	gap: 8px;
	padding: 12px 24px;
	border-radius: 8px 0 0 8px;
	background: #10294a;
	color: #fff;
	font-family: "Inter", var(--at-font);
	font-size: 14px;
	font-weight: 600;
	line-height: 1;
	letter-spacing: 0.2px;
	white-space: nowrap;
	box-shadow: -4px 6px 20px rgba(16, 41, 74, 0.2);
	transform: translateY(-50%);
	writing-mode: horizontal-tb;
	text-orientation: mixed;
}

.at-call-fab__icon {
	width: 14px;
	height: 14px;
	flex-shrink: 0;
	display: block;
}

.at-call-fab span {
	display: inline;
}

/* ---------- Carriers (static logo grid) ---------- */
.at-carriers {
	padding: 40px 0 0;
}

.at-carriers__head {
	display: flex;
	flex-wrap: wrap;
	align-items: center;
	justify-content: center;
	gap: 10px 14px;
	margin-bottom: 34px;
	text-align: center;
}

.at-carriers__head h2 {
	margin: 0;
	font-family: "Inter", var(--at-font);
	font-size: 14px;
	font-weight: 600;
	line-height: 1;
	letter-spacing: 0.2px;
	color: #10294a;
}

.at-rating {
	display: inline-flex;
	align-items: center;
	gap: 8px;
	flex-wrap: wrap;
	justify-content: center;
}

.at-rating__stars {
	color: var(--at-star);
	letter-spacing: 1px;
	font-size: 15px;
}

.at-rating__stars-img {
	display: block;
	width: auto;
	height: 16px;
	max-width: 96px;
	object-fit: contain;
}

.at-rating__google {
	font-family: "Inter", var(--at-font);
	font-size: 20px;
	font-weight: 700;
	line-height: 1.32;
	color: #10294a;
}

.at-rating__score {
	font-family: "Inter", var(--at-font);
	font-size: 15px;
	font-weight: 400;
	line-height: 1.5;
	color: #6b7380;
	text-decoration: underline;
	text-underline-offset: 2px;
}

.at-carriers__grid {
	display: grid;
	grid-template-columns: repeat(5, minmax(0, 1fr));
	column-gap: 24px;
	row-gap: 32px;
	align-items: center;
	justify-items: center;
	width: 100%;
	max-width: 1216px;
	margin: 0 auto;
}

.at-carriers__item {
	display: flex;
	align-items: center;
	justify-content: center;
	width: 100%;
	min-height: 32px;
}

.at-carriers__grid img {
	max-height: 28px;
	width: auto;
	max-width: 216px;
	object-fit: contain;
	filter: none;
}

.at-carrier-text {
	font-size: 13px;
	font-weight: 700;
	color: var(--at-navy);
	letter-spacing: 0.02em;
	text-align: center;
	opacity: 0.85;
}

/* ---------- Testimonials ---------- */
.at-testimonials {
	padding: 120px 0 80px;
}

.at-testimonials__title {
	margin: 0 auto 40px;
	max-width: 1008px;
	text-align: center;
	font-size: clamp(26px, 3.2vw, 40px);
	line-height: 1.1;
	font-weight: 700;
	color: var(--at-navy);
}

.at-testimonials__grid {
	display: grid;
	grid-template-columns: repeat(3, minmax(0, 1fr));
	gap: 24px;
}

.at-review {
	display: flex;
	flex-direction: column;
	gap: 18px;
	padding: 30px 28px;
	border: 1px solid var(--at-border);
	border-radius: var(--at-radius);
	background: #fff;
	text-decoration: none;
	color: inherit;
	transition: box-shadow 0.2s ease, border-color 0.2s ease;
}

a.at-review:hover,
a.at-review:focus-visible {
	border-color: #c9d4e6;
	box-shadow: 0 8px 24px rgba(16, 41, 74, 0.08);
	outline: none;
}

.at-review__top {
	display: flex;
	align-items: center;
	gap: 12px;
	min-width: 0;
}

.at-review__avatar {
	width: 56px;
	height: 56px;
	border-radius: 50%;
	object-fit: cover;
	flex-shrink: 0;
}

.at-review__name {
	margin: 0;
	flex: 1;
	min-width: 0;
	font-size: 20px;
	line-height: 1.32;
	font-weight: 700;
	color: var(--at-navy);
}

.at-review__g {
	width: 20px;
	height: 20px;
	display: inline-flex;
	align-items: center;
	justify-content: center;
	flex-shrink: 0;
	margin-left: auto;
}

.at-review__g img {
	width: 20px;
	height: 20px;
	display: block;
}

.at-review__stars {
	display: flex;
	align-items: center;
	gap: 4px;
	width: max-content;
	height: 22px;
}

.at-review__star {
	display: block;
	flex-shrink: 0;
}

.at-review__text {
	margin: 0;
	font-size: 15px;
	line-height: 1.5;
	font-weight: 400;
	color: var(--at-navy);
}

/* ---------- Expertise (content + photo with quote overlay) ---------- */
.at-expertise {
	padding: 80px 0 80px;
	overflow: visible;
}

.at-expertise__grid {
	display: grid;
	grid-template-columns: minmax(0, 520px) minmax(0, 1fr);
	gap: 55px 153px;
	align-items: start;
	overflow: visible;
}

.at-expertise__content {
	padding-top: 0;
	width: 100%;
	max-width: 520px;
	min-width: 0;
}

.at-expertise__media {
	position: relative;
	isolation: isolate;
	overflow: visible;
	width: 100%;
	max-width: 632px;
	justify-self: end;
	/* room for quote panel hanging below the photo */
	padding-bottom: 28px;
}

.at-expertise__quotes {
	position: absolute;
	left: -80px;
	bottom: 0;
	z-index: 2;
	display: flex;
	flex-direction: column;
	gap: 8px;
	width: min(475px, calc(100% + 56px));
	padding: 16px;
	border-radius: 24px;
	background: #e7eaee;
	box-shadow: none;
	box-sizing: border-box;
}

.at-expertise .at-eyebrow {
	margin: 0 0 12px;
	font-family: "Inter", var(--at-font);
	font-size: 12px;
	font-weight: 700;
	letter-spacing: 0.14em;
	color: #10294a;
	text-transform: uppercase;
}

.at-expertise__title {
	margin: 0 0 22px;
	max-width: 520px;
	width: 100%;
	font-family: "Inter", var(--at-font);
	font-size: 40px;
	line-height: 1.1;
	font-weight: 700;
	color: #10294a;
}

.at-expertise__text {
	margin: 0 0 22px;
	max-width: 520px;
	width: 100%;
	font-family: "Inter", var(--at-font);
	font-size: 15px;
	font-weight: 400;
	line-height: 1.5;
	color: #6b7380;
}

.at-expertise__actions {
	display: flex;
	flex-direction: column;
	align-items: stretch;
	gap: 12px;
	width: 100%;
	max-width: 520px;
}

.at-expertise__actions .at-btn {
	width: 100%;
	justify-content: center;
	box-sizing: border-box;
}

/* Desktop Figma: View all above Compare my rates */
.at-expertise__actions .at-btn--ghost {
	order: 1;
}

.at-expertise__actions .at-cta {
	order: 2;
	max-width: none;
	width: 100%;
}

.at-expertise__photo img {
	display: block;
	width: 100%;
	aspect-ratio: 632 / 560;
	max-height: 560px;
	object-fit: cover;
	border-radius: 24px;
}

.at-quote-row {
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: 10px;
	min-height: 55px;
	padding: 10px;
	border-radius: 9.4px;
	background: #fff;
	box-sizing: border-box;
}

.at-quote-row__logo {
	flex: 0 0 81px;
	width: 81px;
	display: flex;
	align-items: center;
	justify-content: flex-start;
}

.at-quote-row__logo img {
	max-height: 28px;
	max-width: 81px;
	width: auto;
	object-fit: contain;
}

.at-quote-row__logo strong {
	font-size: 11px;
	line-height: 1.2;
	color: var(--at-navy);
}

.at-quote-row__info {
	flex: 1 1 107px;
	min-width: 0;
	display: flex;
	flex-direction: column;
	gap: 2px;
}

.at-quote-row__id {
	display: inline-flex;
	align-items: center;
	gap: 4px;
	min-width: 0;
}

.at-quote-row__code {
	font-family: "Inter", var(--at-font);
	font-size: 11px;
	font-weight: 600;
	line-height: 1;
	letter-spacing: 0.5px;
	color: #10294a;
	white-space: nowrap;
}

.at-quote-row__icon {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	width: 14px;
	height: 14px;
	padding: 0;
	border: 0;
	background: transparent;
	cursor: pointer;
	flex-shrink: 0;
	line-height: 0;
}

.at-quote-row__icon img {
	display: block;
	width: 11px;
	height: 11px;
}

.at-quote-row__meta {
	font-family: "Inter", var(--at-font);
	font-size: 11px;
	font-weight: 400;
	line-height: 1.5;
	color: #687380;
}

.at-quote-row__price {
	flex: 0 1 auto;
	display: flex;
	flex-direction: column;
	gap: 0;
	min-width: 0;
}

.at-quote-row__price strong {
	font-family: "Inter", var(--at-font);
	font-size: 14px;
	font-weight: 700;
	line-height: 1.32;
	color: #10294a;
	white-space: nowrap;
}

.at-quote-row__price span {
	font-family: "Inter", var(--at-font);
	font-size: 11px;
	font-weight: 400;
	line-height: 1.5;
	color: #6b7380;
	white-space: nowrap;
}

.at-quote-row__actions {
	display: inline-flex;
	align-items: center;
	gap: 8px;
	flex-shrink: 0;
	margin-left: auto;
}

.at-quote-row__btn {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	min-height: 30px;
	padding: 8.73px 16.11px;
	border-radius: 5.37px;
	background: #c9e2f6;
	color: #10294a !important;
	font-family: "Inter", var(--at-font);
	font-size: 11px;
	font-weight: 600;
	line-height: 1;
	letter-spacing: 0.5px;
	white-space: nowrap;
	transition: background 0.2s ease;
}

.at-quote-row__btn:hover,
.at-quote-row__btn:focus {
	background: #b5d6f0;
	color: #10294a !important;
}

.at-quote-row__chevron {
	display: block;
	width: 8px;
	height: 5px;
	flex-shrink: 0;
}

/* ---------- Policy CTA (Connect CTA) ---------- */
.at-policy {
	padding: 80px 0 80px;
	background: #c9e2f6;
}

.at-policy__inner {
	display: flex;
	flex-direction: row;
	align-items: flex-end;
	gap: 64px;
	padding: 0;
	border-radius: 0;
	background: transparent;
	align-items: center;
}

.at-policy__img {
	display: block;
	flex: 0 1 560px;
	width: 100%;
	max-width: 560px;
	height: 320px;
	object-fit: cover;
	border-radius: 24px;
}

.at-policy__content {
	flex: 1 1 592px;
	max-width: 592px;
	display: flex;
	flex-direction: column;
	align-items: center;
	gap: 26px;
	text-align: center;
}

.at-policy__title {
	margin: 0;
	font-family: "Inter", var(--at-font);
	font-size: clamp(28px, 3.2vw, 40px);
	line-height: 1.1;
	font-weight: 700;
	color: #10294a;
	text-align: left;
}

.at-policy__content .at-cta {
	width: 100%;
	max-width: none;
}

.at-policy__btn,
body.alltrust-theme .at-policy__btn {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	width: 100%;
	max-width: 592px;
	min-height: 48px;
	height: 48px;
	padding: 15px 22px;
	border-radius: 40px;
	background: #10294a;
	color: #fff !important;
	font-family: "Inter", var(--at-font);
	font-size: 14px;
	font-weight: 600;
	line-height: 1;
	letter-spacing: 0.2px;
	box-sizing: border-box;
}

.at-policy__btn:hover,
.at-policy__btn:focus,
body.alltrust-theme .at-policy__btn:hover,
body.alltrust-theme .at-policy__btn:focus {
	background: #0b1f3a;
	color: #fff !important;
}

/* ---------- Team ---------- */
.at-team {
	margin: 0;
	padding: 80px 0;
	border-radius: 24px;
	background: var(--at-navy);
}

.at-team__title {
	margin: 0 0 32px;
	text-align: center;
	font-family: "Inter", var(--at-font);
	font-size: clamp(30px, 4vw, 42px);
	font-weight: 700;
	line-height: 1.1;
	color: #fff;
}

.at-team__grid {
	display: grid;
	grid-template-columns: repeat(3, minmax(0, 1fr));
	gap: 18px;
	align-items: start;
}

.at-member {
	display: flex;
	flex-direction: column;
	gap: 0;
	padding: 28px;
	border-radius: 16px;
	background: #fff;
	box-sizing: border-box;
}

.at-member__head {
	display: flex;
	align-items: flex-start;
	gap: 16px;
	margin-bottom: 16px;
}

.at-member__photo {
	width: 92px;
	height: 108px;
	border-radius: 10px;
	object-fit: cover;
	flex-shrink: 0;
	background: #e7eaee;
}

.at-member__id {
	min-width: 0;
	flex: 1;
}

.at-member__name {
	margin: 0;
	font-family: "Inter", var(--at-font);
	font-size: 20px;
	font-weight: 700;
	line-height: 1.32;
	color: #10294a;
}

.at-member__role {
	margin: 5px 0 0;
	font-family: "Inter", var(--at-font);
	font-size: 13px;
	font-weight: 400;
	line-height: 1.4;
	color: #6b7380;
}

.at-member__bio {
	margin: 0;
	font-family: "Inter", var(--at-font);
	font-size: 13px;
	font-weight: 400;
	line-height: 1.5;
	color: #6b7380;
}

.at-member__contacts {
	display: flex;
	flex-direction: column;
	gap: 10px;
	margin-top: 20px;
	padding-top: 20px;
	border-top: 1px solid #e7eaee;
}

.at-member__phone,
.at-member__email,
body.alltrust-theme .at-member__phone,
body.alltrust-theme .at-member__email {
	display: inline-flex;
	align-items: center;
	flex-wrap: wrap;
	gap: 10px;
	font-family: "Inter", var(--at-font);
	font-size: 13px;
	font-weight: 400;
	line-height: 1.5;
	color: #0c469c !important;
	text-decoration: none;
}

.at-member__phone-num {
	font-size: 14px;
	font-weight: 600;
	line-height: 1;
	letter-spacing: 0.2px;
	color: #10294a;
}

.at-member__phone-label {
	font-size: 13px;
	font-weight: 400;
	line-height: 1.5;
	color: #6b7380;
}

.at-member__icon {
	width: 16px;
	height: 16px;
	flex-shrink: 0;
	color: #0c469c;
}

/* ---------- Footer ---------- */
.at-footer {
	padding: 64px 0 40px;
	background: #10294a;
	color: rgba(255, 255, 255, 0.75);
}

.at-footer__top {
	display: grid;
	grid-template-columns: minmax(0, 340px) minmax(0, 1fr);
	gap: 48px 64px;
	align-items: start;
}

.at-footer__brand {
	display: flex;
	flex-direction: column;
	align-items: flex-start;
	max-width: 340px;
}

.at-footer__brand .at-logo {
	margin: 0 0 20px;
}

.at-footer__brand .at-logo__full {
	height: 48px;
	width: auto;
	max-width: 160px;
}

.at-footer__brand .at-logo__mark {
	width: 40px;
	height: 40px;
}

.at-footer__contact {
	display: flex;
	flex-direction: column;
	align-items: flex-start;
	gap: 6px;
	width: 100%;
	margin: 0 0 20px;
}

.at-footer__location {
	margin: 0;
	font-family: "Inter", var(--at-font);
	font-size: 13px;
	font-weight: 400;
	line-height: 1.5;
	color: rgba(255, 255, 255, 0.7);
}

.at-footer__phone,
.at-footer__email {
	font-family: "Inter", var(--at-font);
	font-size: 15px;
	font-weight: 400;
	line-height: 1.5;
	color: #fff;
	text-decoration: none;
}

.at-footer__email {
	text-decoration: underline;
	text-underline-offset: 2px;
}

.at-footer__phone:hover,
.at-footer__email:hover {
	color: #fff;
	opacity: 0.85;
}

.at-socials {
	display: flex;
	gap: 16px;
}

.at-socials a {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	width: 20px;
	height: 20px;
	color: #fff;
	background: transparent;
	border-radius: 0;
	transition: opacity 0.2s ease;
}

.at-socials a:hover {
	opacity: 0.75;
	background: transparent;
}

.at-footer__nav {
	display: grid;
	grid-template-columns: repeat(3, minmax(0, 1fr));
	gap: 24px 40px;
	min-width: 0;
	max-width: 812px;
	justify-self: end;
	width: 100%;
}

.at-footer__col {
	list-style: none;
	margin: 0;
	padding: 0;
	display: grid;
	gap: 16px;
	align-content: start;
}

.at-footer__col li {
	list-style: none;
	margin: 0;
	padding: 0;
}

.at-footer__col a {
	font-family: "Inter", var(--at-font);
	font-size: 15px;
	font-weight: 400;
	line-height: 1.5;
	color: rgba(255, 255, 255, 0.75);
	text-decoration: none;
}

.at-footer__col a:hover {
	color: #fff;
}

.at-footer__bottom {
	display: grid;
	grid-template-columns: minmax(0, 340px) minmax(0, 1fr);
	grid-template-areas: "copy disclaimer";
	gap: 24px 64px;
	align-items: end;
	margin-top: 64px;
	padding-top: 40px;
	border-top: 1px solid rgba(255, 255, 255, 0.12);
}

.at-footer__copy {
	grid-area: copy;
	margin: 0;
	max-width: 340px;
	font-family: "Inter", var(--at-font);
	font-size: 13px;
	font-weight: 400;
	line-height: 1.5;
	color: rgba(255, 255, 255, 0.5);
}

.at-footer__disclaimer {
	grid-area: disclaimer;
	margin: 0;
	max-width: 812px;
	justify-self: end;
	width: 100%;
	font-family: "Inter", var(--at-font);
	font-size: 13px;
	font-weight: 400;
	line-height: 1.5;
	color: rgba(255, 255, 255, 0.45);
}

.at-footer__disclaimer a {
	color: inherit;
	text-decoration: underline;
	text-underline-offset: 2px;
}

.at-footer__disclaimer a:hover {
	color: #fff;
}

.at-product,
.at-testimonials,
.at-team {
	scroll-margin-top: 64px;
}

/* Underscores leftovers hide on front */
body.home .site-header:not(.at-header),
body.home #colophon:not(.at-footer) {
	/* replaced */
}

body.alltrust-theme #masthead.site-header:not(.at-header),
body.alltrust-theme #colophon.site-footer:not(.at-footer) {
	display: none;
}

/* ---------- Responsive ---------- */
@media (max-width: 1024px) {
	.at-products {
		grid-template-columns: repeat(2, 1fr);
		gap: 12px;
	}

	.at-product,
	.at-product:nth-child(1),
	.at-product:nth-child(2),
	.at-product:nth-child(n + 3) {
		grid-column: span 1;
		height: 116px;
		padding: 22px 16px;
		border-radius: 14px;
		gap: 12px;
	}

	.at-footer__top {
		grid-template-columns: 1fr;
		gap: 40px;
	}

	.at-footer__nav {
		grid-template-columns: repeat(3, minmax(0, 1fr));
		gap: 20px;
		justify-self: stretch;
		max-width: none;
	}

	.at-footer__bottom {
		grid-template-columns: 1fr;
		grid-template-areas:
			"disclaimer"
			"copy";
		gap: 24px;
		align-items: start;
		margin-top: 40px;
		padding-top: 32px;
	}

	.at-footer__disclaimer {
		justify-self: stretch;
		max-width: none;
	}

	.at-product:nth-child(5) {
		grid-column: 1 / -1;
		max-width: calc(50% - 6px);
		justify-self: center;
		width: 100%;
	}

	.at-product__icon {
		width: 52px;
		height: 52px;
	}

	.at-expertise {
		padding: 56px 0 56px;
	}

	.at-policy__inner {
		flex-wrap: wrap;
		gap: 40px;
	}

	.at-policy__img {
		flex: 1 1 280px;
		max-width: 100%;
		height: auto;
		aspect-ratio: 560 / 320;
	}

	.at-policy__content {
		flex: 1 1 280px;
		min-height: 0;
	}

	.at-expertise .at-container {
		width: min(100% - 48px, var(--at-container));
	}

	.at-expertise__grid {
		grid-template-columns: 1fr;
		gap: 24px;
		align-items: stretch;
	}

	.at-expertise__content {
		padding-top: 0;
		max-width: none;
	}

	.at-expertise__media {
		max-width: none;
		justify-self: stretch;
	}

	.at-expertise .at-eyebrow {
		margin: 0 0 16px;
		font-family: "Inter", var(--at-font);
		font-size: 14px;
		font-weight: 600;
		line-height: 1;
		letter-spacing: 0.2px;
		color: #10294a;
		text-transform: uppercase;
	}

	.at-expertise__title {
		margin: 0 0 16px;
		max-width: none;
		font-size: 28px;
		line-height: 1.22;
		font-weight: 700;
	}

	.at-expertise__text {
		margin: 0 0 24px;
		max-width: none;
		font-size: 15px;
		line-height: 1.5;
		color: #6b7380;
	}

	.at-expertise__actions {
		width: 100%;
		gap: 16px;
		margin: 0;
	}

	/* Mobile Figma: Compare my rates first */
	.at-expertise__actions .at-cta {
		order: 1;
	}

	.at-expertise__actions .at-btn--ghost {
		order: 2;
	}

	.at-expertise__actions .at-btn {
		width: 100%;
		min-height: 48px;
		height: 48px;
		padding: 13px 22px;
		border-radius: 40px;
		justify-content: center;
		font-family: "Inter", var(--at-font);
		font-size: 14px;
		font-weight: 600;
		line-height: 1;
		letter-spacing: 0.2px;
		box-sizing: border-box;
	}

	.at-expertise__media {
		padding-bottom: 72px;
	}

	.at-expertise__photo img {
		aspect-ratio: 342 / 300;
		border-radius: 20px;
	}

	.at-expertise__quotes {
		left: 0;
		right: 0;
		bottom: 0;
		width: auto;
		padding: 8px;
		border-radius: 16px;
		gap: 8px;
		box-shadow: none;
	}

	.at-quote-row {
		flex-wrap: nowrap;
		gap: 6px;
		padding: 8px;
		min-height: 0;
		border-radius: 9px;
	}

	.at-quote-row__logo {
		flex: 0 0 56px;
		width: 56px;
		max-width: 56px;
	}

	.at-quote-row__logo img {
		max-width: 56px;
		max-height: 20px;
	}

	.at-quote-row__info {
		flex: 1 1 auto;
		min-width: 0;
	}

	.at-quote-row__code {
		font-size: 10px;
		letter-spacing: 0.3px;
	}

	.at-quote-row__meta {
		font-size: 10px;
	}

	.at-quote-row__price {
		order: 0;
		flex: 0 0 auto;
	}

	.at-quote-row__price strong {
		font-size: 11px;
	}

	.at-quote-row__price span {
		font-size: 9px;
	}

	.at-quote-row__actions {
		order: 0;
		margin-left: 0;
		gap: 6px;
	}

	.at-quote-row__btn {
		min-height: 26px;
		padding: 6px 10px;
		font-size: 10px;
		letter-spacing: 0.3px;
		border-radius: 5px;
	}

	.at-carriers__grid {
		grid-template-columns: repeat(3, 1fr);
	}

	.at-team__grid {
		grid-template-columns: repeat(2, minmax(0, 1fr));
	}
}

@media (max-width: 860px) {
	html {
		scroll-padding-top: 64px;
	}

	.at-hero {
		scroll-margin-top: 64px;
	}

	.at-product,
	.at-testimonials,
	.at-team {
		scroll-margin-top: 64px;
	}

	.at-footer {
		padding: 48px 0 32px;
	}

	.at-footer__top {
		gap: 32px;
	}

	.at-footer__brand {
		max-width: none;
	}

	.at-footer__nav {
		display: grid;
		grid-template-columns: 1fr 1fr;
		grid-template-areas:
			"products pages"
			"legal pages";
		column-gap: 24px;
		row-gap: 16px;
		justify-self: stretch;
		max-width: none;
	}

	.at-footer__col--products {
		grid-area: products;
	}

	.at-footer__col--pages {
		grid-area: pages;
		align-self: start;
	}

	.at-footer__col--legal {
		grid-area: legal;
	}

	.at-footer__bottom {
		grid-template-columns: 1fr;
		grid-template-areas:
			"disclaimer"
			"copy";
		gap: 24px;
		align-items: start;
		margin-top: 32px;
		padding-top: 24px;
	}

	.at-footer__copy {
		max-width: none;
	}

	.at-footer__disclaimer {
		justify-self: stretch;
		max-width: none;
	}

	.at-header__nav,
	.at-header__phone,
	.at-header__divider,
	.at-header__actions .at-cta--header {
		display: none !important;
	}

	.at-menu-toggle {
		display: inline-flex;
		align-items: center;
		justify-content: center;
	}

	.at-header__actions {
		gap: 16px;
	}

	.at-header__inner {
		min-height: 56px;
		padding-block: 8px;
		width: min(100% - 40px, var(--at-container));
	}

	.at-container.at-header__inner,
	.at-header .at-container {
		width: min(100% - 40px, var(--at-container));
	}

	/* Panel under header — scrollable with bottom padding so CTA stays reachable */
	.at-mobile-menu:not([hidden]) {
		display: block;
		position: absolute;
		left: 0;
		right: 0;
		top: 100%;
		max-height: calc(100dvh - 100%);
		overflow-x: hidden;
		overflow-y: auto;
		-webkit-overflow-scrolling: touch;
		background: #fff;
		border-bottom: 1px solid var(--at-border);
		z-index: 99;
	}

	body.admin-bar .at-mobile-menu:not([hidden]) {
		max-height: calc(100dvh - 100% - var(--wp-admin--admin-bar--height, 32px));
	}

	.at-mobile-menu__inner {
		width: min(100% - 32px, 358px);
		margin: 0 auto;
		padding: 8px 0 80px;
		display: flex;
		flex-direction: column;
		gap: 12px;
	}

	.at-mobile-nav {
		display: flex;
		flex-direction: column;
	}

	.at-mobile-nav__row {
		display: flex;
		align-items: center;
		justify-content: space-between;
		width: 100%;
		min-height: 50px;
		padding: 16px 0;
		border: 0;
		border-bottom: 1px solid var(--at-border);
		background: transparent;
		font-family: var(--at-font);
		font-size: 14px;
		font-weight: 600;
		line-height: 1;
		letter-spacing: 0.2px;
		color: var(--at-navy);
		text-align: left;
		cursor: pointer;
		text-decoration: none;
		box-sizing: border-box;
	}

	a.at-mobile-nav__row:hover,
	a.at-mobile-nav__row:focus {
		color: var(--at-accent);
	}

	.at-mobile-nav__toggle {
		color: var(--at-accent);
	}

	.at-mobile-nav__toggle .at-nav__chevron {
		width: 6.5px;
		height: 3.25px;
		transform: rotate(180deg);
		transition: transform 0.2s ease;
	}

	.at-mobile-nav__block.is-open .at-mobile-nav__toggle .at-nav__chevron {
		transform: rotate(0deg);
	}

	/* Products accordion: no bottom border on toggle while open — divider after list */
	.at-mobile-nav__block.is-open > .at-mobile-nav__toggle {
		border-bottom: 0;
	}

	.at-mobile-nav__products {
		display: none;
		list-style: none;
		margin: 0;
		padding: 0 0 8px;
		border-bottom: 1px solid var(--at-border);
	}

	.at-mobile-nav__block.is-open .at-mobile-nav__products {
		display: block;
	}

	.at-mobile-nav__products li + li {
		margin-top: 0;
	}

	.at-mobile-nav__products a,
	.at-mobile-nav__products .at-mega__item--nolink {
		display: flex;
		align-items: center;
		gap: 14px;
		padding: 9px 0 9px 6px;
		color: var(--at-navy);
		text-decoration: none;
	}

	.at-mobile-nav__icon {
		display: inline-flex;
		align-items: center;
		justify-content: center;
		width: 36px;
		height: 36px;
		flex-shrink: 0;
		border-radius: 50%;
		background: var(--at-blue-icon);
		overflow: hidden;
	}

	.at-mobile-nav__icon img {
		width: 22px;
		height: 22px;
		object-fit: contain;
	}

	.at-mobile-nav__products .at-mega__item-title {
		font-family: var(--at-font);
		font-size: 15px;
		font-weight: 400;
		line-height: 1.5;
		letter-spacing: 0;
		color: var(--at-navy);
	}

	.at-mobile-agent {
		display: flex;
		flex-direction: column;
		gap: 12px;
		padding: 18px 18px 20px;
		background: var(--at-blue-icon);
		border-radius: 16px;
	}

	.at-mobile-agent img {
		width: 100%;
		height: auto;
		aspect-ratio: 322 / 150;
		object-fit: cover;
		border-radius: 12px;
	}

	.at-mobile-agent p {
		margin: 0;
		font-family: var(--at-font);
		font-size: 15px;
		font-weight: 400;
		line-height: 1.5;
		color: var(--at-navy);
	}

	.at-mobile-agent__phone,
	.at-mobile-agent a.icon_phone-,
	body.alltrust-theme .at-mobile-agent a.icon_phone- {
		display: inline-block;
		font-family: var(--at-font);
		font-size: 20px;
		font-weight: 700;
		line-height: 1.32;
		letter-spacing: 0;
		color: var(--at-accent);
		text-decoration: none;
	}

	.at-cta--mobile .at-btn--primary {
		width: 100%;
		min-height: 48px;
		padding: 16px;
		border-radius: 40px;
		background: var(--at-accent);
		font-size: 14px;
		font-weight: 600;
	}

	.at-cta--mobile .at-btn--primary:hover,
	.at-cta--mobile .at-btn--primary:focus {
		background: #0a3a82;
	}

	.at-cta--mobile .at-cta__note {
		justify-content: center;
		text-align: left;
	}

	.at-carriers {
		padding: 32px 0 56px;
	}

	.at-carriers__head {
		flex-direction: column;
		gap: 12px;
		margin-bottom: 28px;
	}

	.at-carriers__head h2 {
		max-width: 342px;
		font-size: 14px;
		font-weight: 600;
		line-height: 1;
		letter-spacing: 0.2px;
	}

	.at-rating__score {
		font-size: 13px;
	}

	.at-carriers__grid {
		grid-template-columns: repeat(2, minmax(0, 1fr));
		row-gap: 24px;
		column-gap: 16px;
		max-width: 330px;
		margin-inline: auto;
		overflow: visible;
	}

	.at-carriers__item {
		min-height: 40px;
	}

	.at-carriers__grid img {
		max-width: 120px;
		max-height: 40px;
		width: auto;
		height: auto;
	}

	/* Policy / Connect CTA — mobile stack */
	.at-policy {
		padding: 56px 0 64px;
	}

	.at-policy .at-container {
		width: min(100% - 48px, var(--at-container));
	}

	.at-policy__inner {
		flex-direction: column;
		align-items: stretch;
		gap: 24px;
	}

	.at-policy__content {
		order: 1;
		flex: none;
		width: 100%;
		max-width: none;
		gap: 24px;
		align-items: center;
	}

	.at-policy__title {
		font-size: 28px;
		line-height: 1.22;
		text-align: center;
	}

	.at-policy__btn,
	body.alltrust-theme .at-policy__btn {
		width: 100%;
		max-width: none;
		min-height: 48px;
		height: 48px;
	}

	.at-policy__img {
		order: 2;
		flex: none;
		max-width: none;
		width: 100%;
		height: auto;
		aspect-ratio: 342 / 282;
		border-radius: 24px;
	}

	/* Testimonials: horizontal slider on mobile only */
	.at-testimonials {
		padding: 32px 0 48px;
		overflow: hidden;
	}

	.at-testimonials .at-container {
		width: 100%;
		max-width: none;
		padding-inline: 0;
		overflow: visible;
	}

	.at-testimonials__title {
		margin: 0 auto 24px;
		padding: 0;
		max-width: 342px;
		font-size: 28px;
		line-height: 1.22;
		font-weight: 700;
	}

	.at-testimonials__grid {
		display: flex;
		flex-direction: row;
		flex-wrap: nowrap;
		align-items: stretch;
		gap: 16px;
		overflow-x: auto;
		overflow-y: hidden;
		scroll-snap-type: x mandatory;
		scroll-padding-inline: 24px;
		-webkit-overflow-scrolling: touch;
		scrollbar-width: none;
		padding: 0 24px;
		margin: 0;
		grid-template-columns: none;
	}

	.at-testimonials__grid::-webkit-scrollbar {
		display: none;
	}

	.at-review {
		flex: 0 0 342px;
		width: 342px;
		max-width: calc(100vw - 48px);
		scroll-snap-align: start;
		box-sizing: border-box;
	}

	/* Team: horizontal slider on mobile only */
	.at-team {
		margin: 0;
		padding: 56px 0 80px;
		border-radius: 24px;
		overflow: hidden;
	}

	.at-team .at-container {
		width: 100%;
		max-width: none;
		padding-inline: 0;
		overflow: visible;
	}

	.at-team__title {
		margin: 0 0 24px;
		padding: 0 24px;
		text-align: left;
		font-size: 28px;
		line-height: 1.22;
		font-weight: 700;
	}

	.at-team__grid {
		display: flex;
		flex-direction: row;
		flex-wrap: nowrap;
		align-items: stretch;
		gap: 28px;
		overflow-x: auto;
		overflow-y: hidden;
		scroll-snap-type: x mandatory;
		scroll-padding-inline: 24px;
		-webkit-overflow-scrolling: touch;
		scrollbar-width: none;
		padding: 0 24px;
		margin: 0;
		grid-template-columns: none;
	}

	.at-team__grid::-webkit-scrollbar {
		display: none;
	}

	.at-member {
		flex: 0 0 min(387px, calc(100vw - 52px));
		width: min(387px, calc(100vw - 52px));
		max-width: calc(100vw - 48px);
		scroll-snap-align: start;
		min-height: 0;
	}

	/* Latest Guides — mobile stack */
	.at-guides {
		padding: 56px 0 64px;
	}

	.at-guides .at-container {
		width: min(100% - 48px, var(--at-container));
	}

	.at-guides__title {
		margin: 0 0 24px;
		font-size: 28px;
		line-height: 1.22;
		text-align: left;
	}

	.at-guides__grid {
		grid-template-columns: 1fr;
		gap: 24px;
	}

	.at-guides .at-post-card {
		gap: 16px;
		max-width: 342px;
		width: 100%;
	}

	.at-post-card__media {
		border-radius: 24px;
		aspect-ratio: 342 / 220;
	}

	.at-post-card__title {
		font-size: 20px;
		line-height: 1.32;
	}

	.at-call-fab {
		right: 0;
		top: 50%;
		bottom: auto;
		padding: 12px 24px;
		border-radius: 8px 0 0 8px;
		transform: translateY(-50%);
		writing-mode: horizontal-tb;
	}

	.at-call-fab__icon {
		width: 14px;
		height: 14px;
		display: block;
	}
}

@media (max-width: 720px) {
	.at-hero {
		padding: 40px 0 28px;
	}

	.at-hero::before {
		left: -120px;
		top: -80px;
		width: 420px;
		height: 280px;
	}

	.at-hero__title {
		margin-bottom: 16px;
	}

	.at-hero__subtitle {
		margin-bottom: 24px;
		font-size: 15px;
		line-height: 1.5;
		color: #6b7380;
	}

	.at-products {
		grid-template-columns: 1fr 1fr;
		gap: 12px;
	}

	.at-product:nth-child(5) {
		grid-column: 1 / -1;
		max-width: calc(50% - 6px);
		justify-self: center;
	}
}

/* ---------- Blog ---------- */
.at-blog-hero {
	padding: 88px 0 0;
}

.at-blog-hero__eyebrow {
	margin: 0 0 16px;
	font-family: "Inter", var(--at-font);
	font-size: 14px;
	font-weight: 600;
	line-height: 1;
	letter-spacing: 0.2px;
	text-transform: uppercase;
	color: #10294a;
}

.at-blog-hero__title {
	margin: 0 0 20px;
	max-width: 900px;
	font-family: "Inter", var(--at-font);
	font-size: 40px;
	line-height: 1.1;
	font-weight: 700;
	letter-spacing: 0;
	color: #10294a;
}

.at-blog-hero__lead {
	margin: 0 0 32px;
	max-width: 640px;
	font-family: "Inter", var(--at-font);
	font-size: 18px;
	font-weight: 400;
	line-height: 1.6;
	color: #667380;
}

.at-blog-filters {
	display: flex;
	flex-wrap: wrap;
	gap: 10px;
	margin: 16px 0 24px;
}

.at-chip {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	min-height: 0;
	height: auto;
	padding: 9px 16px;
	border-radius: 40px;
	border: 1px solid #e5eaf3;
	background: #fff;
	box-sizing: border-box;
	font-family: "Inter", var(--at-font);
	font-size: 14px;
	font-weight: 500;
	line-height: 1;
	color: #667380 !important;
	text-decoration: none;
	transition: background 0.2s ease, border-color 0.2s ease, color 0.2s ease;
}

.at-chip:visited {
	color: #667380 !important;
}

.at-chip:hover,
.at-chip:focus {
	background: #f5f8fb;
	border-color: #d5dde8;
	color: #10294a !important;
}

.at-chip.is-active,
.at-chip.is-active:visited,
.at-chip.is-active:hover,
.at-chip.is-active:focus {
	background: #10294a;
	border-color: #10294a;
	color: #fff !important;
}

.at-blog-grid-wrap {
	padding: 0 0 80px;
}

.at-blog-grid {
	display: grid;
	grid-template-columns: repeat(3, minmax(0, 1fr));
	gap: 24px;
}

.at-blog-grid--two {
	grid-template-columns: repeat(2, minmax(0, 1fr));
}

/* ---------- Latest Guides (homepage) ---------- */
.at-guides {
	padding: 80px 0 64px;
	background: #fff;
}

.at-guides__title {
	margin: 0 0 32px;
	font-family: "Inter", var(--at-font);
	font-size: 40px;
	font-weight: 700;
	line-height: 1.1;
	color: #10294a;
}

.at-guides__grid {
	display: grid;
	grid-template-columns: repeat(3, minmax(0, 1fr));
	gap: 24px;
}

.at-post-card {
	display: flex;
	flex-direction: column;
	gap: 16px;
	min-width: 0;
}

.at-post-card__media {
	display: block;
	overflow: hidden;
	border-radius: 24px;
	aspect-ratio: 342 / 220;
	background: var(--at-blue-wash);
}

.at-post-card__media img {
	width: 100%;
	height: 100%;
	object-fit: cover;
	transition: transform 0.35s ease;
}

.at-post-card:hover .at-post-card__media img {
	transform: scale(1.03);
}

.at-post-card__body {
	display: flex;
	flex-direction: column;
	align-items: flex-start;
	gap: 16px;
}

.at-post-card__cat {
	display: inline-flex;
	align-items: center;
	margin: 0;
	padding: 6px 14px;
	border: 1px solid #e5eaf3;
	border-radius: 40px;
	background: #fff;
	font-family: "Inter", var(--at-font);
	font-size: 11px;
	font-weight: 600;
	line-height: 1;
	letter-spacing: 0.5px;
	text-transform: uppercase;
	color: #687380;
	box-sizing: border-box;
}

.at-post-card__title {
	margin: 0;
	font-family: "Inter", var(--at-font);
	font-size: 20px;
	line-height: 1.32;
	font-weight: 700;
	color: #10294a;
}

.at-post-card__title a {
	color: inherit;
	text-decoration: none;
}

.at-post-card__title a:hover {
	color: #0c469c;
}

.at-post-card__date {
	margin: 0;
	font-family: "Inter", var(--at-font);
	font-size: 13px;
	font-weight: 400;
	line-height: 1.5;
	color: #6b7380;
}

.at-post-card__more {
	display: none;
}

.at-blog-empty {
	padding: 40px 0;
	text-align: center;
	color: var(--at-muted);
}

/* ---------- 404 ---------- */
.at-404__inner {
	padding: 120px 0 140px;
	text-align: center;
}

.at-404__eyebrow {
	margin: 0 0 16px;
	font-family: "Inter", var(--at-font);
	font-size: 14px;
	font-weight: 600;
	line-height: 1;
	letter-spacing: 0.2px;
	text-transform: uppercase;
	color: #10294a;
}

.at-404__title {
	margin: 0 0 20px;
	font-family: "Inter", var(--at-font);
	font-size: clamp(36px, 5vw, 48px);
	font-weight: 700;
	line-height: 1.1;
	color: #10294a;
}

.at-404__lead {
	margin: 0 auto 32px;
	max-width: 520px;
	font-family: "Inter", var(--at-font);
	font-size: 18px;
	font-weight: 400;
	line-height: 1.6;
	color: #667380;
}

.at-404__actions {
	display: flex;
	flex-wrap: wrap;
	align-items: center;
	justify-content: center;
	gap: 12px;
}

.at-404__actions .at-btn--header {
	min-height: 48px;
	padding: 0 28px;
}

.at-404__actions .at-btn--ghost {
	min-height: 48px;
	padding: 0 28px;
	border-radius: var(--at-radius-pill);
}

.at-pagination {
	margin-top: 40px;
}

.at-pagination .nav-links {
	display: flex;
	justify-content: center;
	gap: 8px;
}

.at-pagination a,
.at-pagination span {
	display: inline-flex;
	min-width: 40px;
	min-height: 40px;
	align-items: center;
	justify-content: center;
	border-radius: 10px;
	border: 1px solid var(--at-border);
	padding: 0 12px;
	font-weight: 600;
}

.at-pagination .current {
	background: var(--at-navy);
	border-color: var(--at-navy);
	color: #fff;
}

/* ---------- Article ---------- */
.at-article__intro {
	padding: 48px 0 0;
}

.at-breadcrumbs {
	display: flex;
	flex-wrap: wrap;
	align-items: center;
	gap: 6px;
	margin: 0 0 24px;
	font-family: "Inter", var(--at-font);
	font-size: 13px;
	font-weight: 400;
	line-height: 1.5;
	color: #6b7380;
}

.at-breadcrumbs a {
	color: inherit;
	text-decoration: none;
}

.at-breadcrumbs a:hover {
	color: #10294a;
}

.at-article__cat {
	display: inline-flex;
	align-items: center;
	margin: 0 0 16px;
	padding: 6px 14px;
	border: 1px solid #e5eaf3;
	border-radius: 40px;
	background: #fff;
	font-family: "Inter", var(--at-font);
	font-size: 11px;
	font-weight: 600;
	line-height: 1;
	letter-spacing: 0.5px;
	text-transform: uppercase;
	color: #687380;
	box-sizing: border-box;
}

.at-article__title {
	margin: 0 0 16px;
	max-width: 920px;
	font-family: "Inter", var(--at-font);
	font-size: 40px;
	line-height: 1.1;
	font-weight: 700;
	letter-spacing: 0;
	color: #10294a;
}

.at-article__meta {
	display: flex;
	flex-wrap: wrap;
	align-items: center;
	gap: 8px;
	margin: 0 0 24px;
	font-family: "Inter", var(--at-font);
	font-size: 14px;
	font-weight: 400;
	line-height: 1.5;
	color: #6b7380;
}

.at-article__hero {
	margin-bottom: 16px;
}

.at-article__image {
	display: block;
	width: 100%;
	aspect-ratio: 1216 / 480;
	max-height: none;
	object-fit: cover;
	border-radius: 20px;
}

.at-article__layout {
	display: grid;
	grid-template-columns: minmax(0, 1fr) 320px;
	gap: 48px;
	align-items: start;
	padding: 28px 0 80px;
}

.at-article__layout--page {
	grid-template-columns: minmax(0, 760px);
	justify-content: start;
	padding-bottom: 96px;
}

.at-article--legal .at-article__content {
	max-width: 760px;
}

/* Classic post content: p, lists, headings, etc. */
.at-article__content {
	max-width: 824px;
	font-family: "Inter", var(--at-font);
	font-size: 18px;
	font-weight: 400;
	line-height: 1.6;
	color: #6b7380;
}

.at-article__content > *:first-child {
	margin-top: 0;
}

.at-article__content > *:last-child {
	margin-bottom: 0;
}

.at-article__content p {
	margin: 0 0 1.15em;
}

.at-article__content h2,
.at-article__content h3,
.at-article__content h4,
.at-article__content h5,
.at-article__content h6 {
	margin: 1.6em 0 0.55em;
	font-family: "Inter", var(--at-font);
	font-weight: 700;
	letter-spacing: 0;
	color: #10294a;
}

.at-article__content h2 {
	font-size: 28px;
	line-height: 1.22;
}

.at-article__content h3 {
	font-size: 22px;
	line-height: 1.28;
}

.at-article__content h4 {
	font-size: 18px;
	line-height: 1.35;
}

.at-article__content h5,
.at-article__content h6 {
	font-size: 16px;
	line-height: 1.4;
}

.at-article__content a {
	color: #0c469c;
	text-decoration: underline;
	text-underline-offset: 2px;
}

.at-article__content a:hover {
	color: #10294a;
}

.at-article__content ul,
.at-article__content ol {
	margin: 0 0 1.25em;
	padding-left: 1.35em;
}

.at-article__content li {
	margin: 0 0 0.45em;
	padding-left: 0.15em;
}

.at-article__content li::marker {
	color: #6b7380;
}

.at-article__content ul {
	list-style: disc;
}

.at-article__content ol {
	list-style: decimal;
}

.at-article__content ul ul,
.at-article__content ol ol,
.at-article__content ul ol,
.at-article__content ol ul {
	margin: 0.4em 0 0.6em;
}

.at-article__content blockquote {
	margin: 1.4em 0;
	padding: 4px 0 4px 20px;
	border-left: 3px solid #10294a;
	font-style: normal;
	color: #10294a;
}

.at-article__content blockquote p:last-child {
	margin-bottom: 0;
}

.at-article__content strong,
.at-article__content b {
	font-weight: 600;
	color: #10294a;
}

.at-article__content em,
.at-article__content i {
	font-style: italic;
}

.at-article__content hr {
	margin: 2em 0;
	border: 0;
	border-top: 1px solid #e5eaf3;
}

.at-article__content img,
.at-article__content figure {
	max-width: 100%;
	height: auto;
	border-radius: 16px;
}

.at-article__content figure {
	margin: 1.5em 0;
}

.at-article__content figcaption {
	margin-top: 10px;
	font-size: 13px;
	line-height: 1.45;
	color: #6b7380;
}

.at-article__content table {
	width: 100%;
	margin: 1.5em 0;
	border-collapse: collapse;
	font-size: 15px;
}

.at-article__content th,
.at-article__content td {
	padding: 10px 12px;
	border: 1px solid #e5eaf3;
	text-align: left;
}

.at-article__content th {
	background: #f7f9fc;
	font-weight: 600;
	color: #10294a;
}

.at-article__content pre,
.at-article__content code {
	font-family: ui-monospace, SFMono-Regular, Menlo, Consolas, monospace;
	font-size: 0.9em;
}

.at-article__content code {
	padding: 0.12em 0.35em;
	border-radius: 4px;
	background: #f2f5f9;
	color: #10294a;
}

.at-article__content pre {
	margin: 1.4em 0;
	padding: 16px;
	overflow-x: auto;
	border-radius: 12px;
	background: #f2f5f9;
}

.at-article__content pre code {
	padding: 0;
	background: none;
}

.at-article__aside {
	position: sticky;
	top: 100px;
	display: grid;
	gap: 20px;
	width: 100%;
	max-width: 320px;
}

.at-toc {
	padding: 22px 24px;
	border: 1px solid #e5eaf3;
	border-radius: 16px;
	background: #fff;
}

.at-toc__title {
	margin: 0 0 12px;
	padding-bottom: 12px;
	border-bottom: 1px solid #e5eaf3;
	font-family: "Inter", var(--at-font);
	font-size: 11px;
	font-weight: 600;
	line-height: 1;
	letter-spacing: 0.5px;
	text-transform: uppercase;
	color: #6b7380;
}

.at-toc__list {
	display: grid;
	gap: 12px;
	margin: 0;
	padding: 0;
	list-style: none;
	counter-reset: at-toc;
}

.at-toc__list li {
	margin: 0;
	padding: 0;
	counter-increment: at-toc;
}

.at-toc__list a {
	display: block;
	font-family: "Inter", var(--at-font);
	font-size: 14px;
	font-weight: 400;
	line-height: 1.42;
	letter-spacing: 0;
	color: #6b7380;
	text-decoration: none;
}

.at-toc__list a::before {
	content: counter(at-toc) ". ";
	font-weight: inherit;
}

.at-toc__list a:hover,
.at-toc__list li:first-child a {
	font-weight: 600;
	color: #10294a;
}

.at-aside-cta {
	display: flex;
	flex-direction: column;
	align-items: flex-start;
	gap: 12px;
	padding: 24px;
	border-radius: 16px;
	background: #10294a;
	color: #fff;
	box-sizing: border-box;
}

.at-aside-cta__title {
	margin: 0;
	font-family: "Inter", var(--at-font);
	font-size: 18px;
	font-weight: 600;
	line-height: 1.4;
	color: #fff;
}

.at-aside-cta__lead {
	margin: 0;
	font-family: "Inter", var(--at-font);
	font-size: 13px;
	font-weight: 400;
	line-height: 1.5;
	color: rgba(255, 255, 255, 0.78);
}

.at-aside-cta__btn,
.at-btn--light {
	min-height: 48px;
	padding: 12px 20px;
	border-radius: 40px;
	background: #fff;
	color: #10294a;
	font-family: "Inter", var(--at-font);
	font-size: 14px;
	font-weight: 600;
	letter-spacing: 0.2px;
	line-height: 1;
	text-decoration: none;
}

.at-aside-cta__btn:hover,
.at-btn--light:hover {
	background: #f5f8fb;
	color: #10294a;
	transform: none;
}

.at-keep-reading {
	padding: 0 0 80px;
	border-top: 0;
}

.at-keep-reading__title {
	margin: 0 0 40px;
	font-family: "Inter", var(--at-font);
	font-size: 40px;
	font-weight: 700;
	line-height: 1.1;
	color: #10294a;
}

.at-keep-reading .at-post-card__media {
	aspect-ratio: 592 / 240;
}

@media (max-width: 1024px) {
	.at-blog-grid {
		grid-template-columns: repeat(2, 1fr);
	}

	.at-article__layout {
		grid-template-columns: 1fr;
		gap: 32px;
	}

	.at-article__aside {
		position: static;
		max-width: none;
		grid-template-columns: 1fr;
	}
}

@media (max-width: 720px) {
	.at-blog-hero {
		padding: 40px 0 0;
	}

	.at-blog-hero__title {
		font-size: 28px;
		line-height: 1.22;
	}

	.at-blog-hero__lead {
		margin-bottom: 24px;
		font-size: 15px;
		line-height: 1.5;
	}

	.at-blog-grid-wrap {
		padding: 0 0 64px;
	}

	.at-blog-grid,
	.at-blog-grid--two {
		grid-template-columns: 1fr;
		gap: 24px;
	}

	.at-404__inner {
		padding: 72px 0 96px;
	}

	.at-404__title {
		font-size: 32px;
	}

	.at-404__lead {
		font-size: 16px;
	}

	.at-404__actions {
		flex-direction: column;
	}

	.at-404__actions .at-btn {
		width: 100%;
		max-width: 320px;
	}

	.at-article__intro {
		padding-top: 32px;
	}

	.at-article__title {
		font-size: 28px;
		line-height: 1.15;
	}

	.at-article__meta {
		margin-bottom: 8px;
		font-size: 13px;
	}

	.at-article__hero {
		margin-bottom: 28px;
	}

	.at-article__image {
		border-radius: 12px;
		aspect-ratio: 342 / 200;
	}

	.at-article__layout {
		padding: 0 0 64px;
		gap: 28px;
	}

	.at-article__content {
		font-size: 18px;
		line-height: 1.6;
	}

	.at-article__content h2 {
		font-size: 24px;
	}

	.at-article__content h3 {
		font-size: 20px;
	}

	.at-keep-reading__title {
		margin-bottom: 28px;
		font-size: 28px;
	}

	.at-header__inner {
		min-height: 56px;
	}

	.at-logo__name {
		font-size: 22px;
	}

	.at-logo__mark {
		width: 40px;
		height: 40px;
	}

	.at-logo__tag {
		font-size: 8px;
	}

	.at-mega__promo img {
		height: 120px;
	}
}

/* Quote modals (Flood / Life) */
body.at-quote-locked {
	overflow: hidden;
}

.at-quote-modal {
	position: fixed;
	inset: 0;
	z-index: 2000;
	display: grid;
	place-items: center;
	padding: 16px;
}

.at-quote-modal[hidden] {
	display: none !important;
}

.at-quote-modal__backdrop {
	position: absolute;
	inset: 0;
	background: rgba(16, 41, 74, 0.55);
}

.at-quote-modal__dialog {
	position: relative;
	z-index: 1;
	width: min(100%, 920px);
	height: min(90dvh, 780px);
	background: #fff;
	border-radius: 16px;
	box-shadow: var(--at-shadow);
	overflow: hidden;
	display: flex;
	flex-direction: column;
}

.at-quote-modal__close {
	position: absolute;
	top: 10px;
	right: 12px;
	z-index: 2;
	width: 40px;
	height: 40px;
	border: 0;
	border-radius: 999px;
	background: rgba(255, 255, 255, 0.92);
	color: var(--at-navy);
	font-size: 28px;
	line-height: 1;
	cursor: pointer;
}

.at-quote-modal__body {
	flex: 1;
	min-height: 0;
}

.at-quote-modal__iframe,
.at-quote-modal__widget {
	width: 100%;
	height: 100%;
	border: 0;
}

.at-quote-modal__widget {
	overflow: auto;
	padding: 48px 12px 12px;
	box-sizing: border-box;
}

@media (max-width: 720px) {
	.at-quote-modal__dialog {
		width: 100%;
		height: 100dvh;
		max-height: 100dvh;
		border-radius: 0;
	}
}
