/* ─── AL Base ─── */
:root {
	--paper:   #ffffff;
	--bone:    #f7f5f2;
	--ink:     #17171a;
	--ink-2:   #4a4a52;
	--ink-3:   #77777f;
	--line:    #e5e2dd;
	--line-2:  #f0eeea;
	--red:     #e3493a;
	--red-dk:  #c4372a;
	--red-soft:#fdeeec;
	--gold:    #e9b200;
	--green:   #1c7a4f;

	--font-display: "Archivo", ui-sans-serif, system-ui, sans-serif;
	--font:         "Public Sans", ui-sans-serif, system-ui, sans-serif;
	--header-h: 88px;
	--r:      14px;
	--r-lg:   24px;
	--r-xl:   30px;
	--r-pill: 999px;
	--max-w:  1280px;
	--gutter: 28px;
	--shadow-1: 0 1px 2px rgba(23,23,26,.04), 0 12px 34px rgba(23,23,26,.08);
	--shadow-2: 0 20px 60px rgba(23,23,26,.16);

	--al-red: #e3493a; --al-ink: #17171a; --al-paper: #ffffff; --al-bone: #f7f5f2;
	--al-line: #e5e2dd; --al-max: 1280px;
	--al-font-display: "Archivo", ui-sans-serif, system-ui, sans-serif;
	--al-font: "Public Sans", ui-sans-serif, system-ui, sans-serif;
}

*, *::before, *::after { box-sizing: border-box; }
/* overflow-x:hidden computes to `overflow: hidden auto`, which makes the body a scroll
   container and silently breaks position:sticky on every descendant. `clip` clips without
   creating one, so the FAQ call panel can stick. */
html, body { overflow-x: clip; max-width: 100%; }
/* set by header.js while the mobile nav is open */
html.al-menu-open { overflow: hidden; }

body {
	margin: 0;
	font-family: var(--font);
	font-size: 17px; line-height: 1.65;
	color: var(--ink-2); background: var(--paper);
	-webkit-font-smoothing: antialiased;
}
img { max-width: 100%; height: auto; display: block; }
a { color: inherit; }
/* UA default is `figure { margin: 1em 40px }` — it stole 80px from every grid card */
figure { margin: 0; }
blockquote { margin: 0; }

h1, h2, h3, h4 {
	font-family: var(--font-display); font-weight: 800;
	color: var(--ink); letter-spacing: -0.03em; line-height: 1.08; margin: 0;
}

.al-wrap { width: 100%; max-width: var(--max-w); margin: 0 auto; }
/* Horizontal padding lives on the section, not the wrap, so full-bleed children
   (dark panels, photo bands) can reach the section edge without fighting it. */
.al-section, .al-hero, .al-phero, .al-trust, .al-cta, .al-footer, .al-header, .al-callbar {
	padding-inline: var(--gutter);
}
.al-section { padding-block: 104px; }
.al-section--bone { background: var(--paper); }
.al-section--ruled { border-top: 1px solid var(--line); }

.al-eyebrow {
	display: inline-flex; align-items: center; gap: 10px;
	font-family: var(--font-display); font-size: 12.5px; font-weight: 800;
	letter-spacing: .16em; text-transform: uppercase; color: var(--red); margin: 0 0 16px;
}
.al-eyebrow::before { content: ""; width: 26px; height: 2px; background: var(--red); }

.al-section-head { margin-bottom: 56px; max-width: 780px; }
.al-section-head.al-center { text-align: center; margin-inline: auto; }
.al-section-head.al-center .al-eyebrow { justify-content: center; }
h2.al-sh-title { font-size: clamp(32px, 4.2vw, 50px); margin: 0; letter-spacing: -0.035em; }
p.al-sh-lead { font-size: 17.5px; color: var(--ink-3); margin: 18px 0 0; line-height: 1.6; max-width: 620px; }
.al-center p.al-sh-lead { margin-inline: auto; }

/* Section footer — "view all" lives here */
.al-section-foot { margin-top: 52px; display: flex; justify-content: center; }

/* ─── Buttons ─── */
.al-btn {
	display: inline-flex; align-items: center; justify-content: center; gap: 10px;
	font-family: var(--font-display); font-weight: 700; font-size: 16px;
	padding: 16px 30px; border-radius: var(--r-pill); border: 1.5px solid transparent;
	text-decoration: none; cursor: pointer;
	transition: transform .18s ease, background .18s ease, border-color .18s ease, color .18s ease, box-shadow .18s ease;
}
.al-btn:hover { transform: translateY(-2px); }
.al-btn--call { background: var(--red); color: #fff; box-shadow: 0 8px 22px rgba(227,73,58,.28); }
.al-btn--call:hover { background: var(--red-dk); box-shadow: 0 12px 30px rgba(227,73,58,.36); }
.al-btn--dark { background: var(--ink); color: #fff; }
.al-btn--dark:hover { background: #000; }
.al-btn--ghost { background: transparent; color: var(--ink); border-color: var(--line); }
.al-btn--ghost:hover { border-color: var(--ink); }
.al-btn--white { background: #fff; color: var(--red-dk); }
.al-btn--white:hover { background: var(--ink); color: #fff; }
/* secondary on a dark panel — .al-btn--ghost is ink-on-dark there */
.al-btn--outline { background: transparent; color: #fff; border-color: rgba(255,255,255,.34); }
.al-btn--outline:hover { background: rgba(255,255,255,.1); border-color: #fff; }
.al-btn--lg { padding: 19px 34px; font-size: 17px; }

/* ─── Chip ─── */
.al-chip {
	display: inline-flex; align-items: center; gap: 9px;
	font-size: 13.5px; font-weight: 600; padding: 8px 15px;
	border-radius: var(--r-pill); background: var(--bone); color: var(--ink-2);
	border: 1px solid var(--line);
}
.al-chip .al-dot {
	width: 8px; height: 8px; border-radius: 50%; background: #22a95f;
	box-shadow: 0 0 0 0 rgba(34,169,95,.55); animation: al-pulse 2.4s infinite;
}
@keyframes al-pulse { 70% { box-shadow: 0 0 0 8px rgba(34,169,95,0); } 100% { box-shadow: 0 0 0 0 rgba(34,169,95,0); } }

.al-rise { opacity: 0; transform: translateY(16px); animation: al-rise .65s cubic-bezier(.22,1,.36,1) forwards; }
@keyframes al-rise { to { opacity: 1; transform: none; } }

@media (prefers-reduced-motion: reduce) {
	*, *::before, *::after { animation-duration: .001ms !important; animation-iteration-count: 1 !important; transition-duration: .001ms !important; }
	.al-rise { opacity: 1; transform: none; }
}

.al-callbar { display: none; }
@media (max-width: 860px) {
	.al-callbar {
		display: flex; align-items: center; justify-content: center; gap: 10px;
		position: fixed; inset: auto 0 0 0; z-index: 90;
		background: var(--red); color: #fff; min-height: 58px;
		padding: 0 16px calc(0px + env(safe-area-inset-bottom));
		font-family: var(--font-display); font-weight: 700; font-size: 17px; text-decoration: none;
		box-shadow: 0 -6px 24px rgba(23,23,26,.18);
	}
	.al-callbar svg { width: 19px; height: 19px; stroke: currentColor; }
}

@media (max-width: 900px) {
	:root { --gutter: 24px; }
	.al-section { padding-block: 84px; }
}

@media (max-width: 720px) {
	:root { --gutter: 20px; }
	body { font-size: 16px; }
	.al-section { padding-block: 68px; }
	.al-section-head { margin-bottom: 36px; }
	.al-section-head--split { grid-template-columns: 1fr; gap: 18px; }
	.al-section-foot { margin-top: 34px; }
	h2.al-sh-title { font-size: clamp(27px, 7vw, 34px); }
	p.al-sh-lead { font-size: 16.5px; margin-top: 14px; }
	.al-btn { padding: 14px 24px; font-size: 15.5px; }
	.al-btn--lg { padding: 16px 26px; font-size: 16px; }
}

@media (max-width: 480px) {
	:root { --gutter: 18px; }
	.al-section { padding-block: 56px; }
	.al-hero__actions .al-btn, .al-phero__actions .al-btn { width: 100%; }
}

.al-hero__grid > *, .al-bento > *, .al-faq__grid > *, .al-about__grid > *,
.al-trust__in > *, .al-footer__grid > *, .al-how__grid > *, .al-triage > * { min-width: 0; }

/* isolate: without it a hover-scaled img escapes the parent's rounded clip in Chrome */
.al-tile, .al-mas figure, .al-spost, .al-card, .al-card__media,
.al-post, .al-post__media, .al-phero__media, .al-alt__media, .al-about__media {
	isolation: isolate;
}
