/* ==========================================================================
   Internet Leased Line — service page
   Reuses global tokens/classes from style.css (--blue, --brand-blue, .eyebrow,
   .btn, .section, .accordion, .reveal) so this page matches the rest of the site.
   ========================================================================== */

/* Hero — illHimg.png (businessman/network graphic weighted left, open dark
   navy on the right) as a full-bleed background, with the heading/CTA block
   sitting in that open right side, from the horizontal centre to the right
   edge. A gradient overlay keeps that text legible regardless of exactly
   where the cover-crop lands. */
.ill-hero {
	position: relative;
	overflow: hidden;
	background: #04143d;
	/* Floor is low enough that 46vw is still the active value all the way
	   down to the 860px breakpoint below — keeps the hero's own aspect
	   ratio (and so the image's cover-crop) consistent across the whole
	   desktop range, which is what keeps .ill-hero__content's percentage
	   offset lined up with the image's safe zone at every width. */
	min-height: clamp(380px, 46vw, 680px);
	display: flex;
	align-items: center;
}
.ill-hero__img {
	position: absolute;
	inset: 0;
	width: 100%;
	height: 100%;
	object-fit: cover;
	object-position: left center;
	display: block;
}
.ill-hero__overlay {
	position: absolute;
	inset: 0;
	background: linear-gradient(90deg, rgba(4, 15, 46, 0) 38%, rgba(4, 15, 46, .68) 60%, rgba(4, 15, 46, .96) 78%, rgba(4, 15, 46, .97) 100%);
}
/* Percentages below are relative to the full hero/viewport width, not a
   centred max-width wrapper — illHimg.png's open dark area starts at ~54%
   of its own width, and since the image is cover-scaled by width at every
   desktop viewport this hero supports, that safe zone stays at a fixed
   percentage of the viewport regardless of screen size. Content starts a
   little past it (58%) for clearance from the network-icon graphic. */
.ill-hero__container {
	position: relative;
	z-index: 1;
	width: 100%;
	padding: 48px 5vw;
}
.ill-hero__content { margin-left: 68%; max-width: 620px; }
.ill-hero .eyebrow { color: rgba(255,255,255,.75); }
.ill-hero h1 {
	color: var(--white);
	font-weight: 700;
	font-size: clamp(40px, 4.4vw, 68px);
	line-height: 1.1;
	margin: 14px 0 20px;
}
.ill-hero__subhead { color: rgba(255,255,255,.88); font-size: 18px; line-height: 1.65; margin-bottom: 32px; }
.ill-hero__ctas { display: flex; gap: 14px; flex-wrap: wrap; }
.ill-hero__helpline { color: rgba(255,255,255,.75); font-size: 14px; margin: 20px 0 0; }
.ill-hero__helpline a { font-weight: 700; color: var(--white); }

.ill-trust {
	position: relative;
	overflow: hidden;
	padding-top: 56px;
	padding-bottom: 56px;
	border-bottom: 1px solid var(--gray-100);
}
.ill-trust::before {
	content: "";
	position: absolute;
	z-index: 0;
	inset: -20% -10%;
	background: radial-gradient(700px 220px at 50% 0%, rgba(0, 104, 255, .08), transparent 70%);
	pointer-events: none;
}
.ill-trust .container { position: relative; z-index: 1; }
.ill-trust__label { text-align: center; color: var(--gray-500); font-size: 13px; font-weight: 700; letter-spacing: .06em; text-transform: uppercase; margin-bottom: 28px; }
.ill-trust__caption { text-align: center; color: var(--gray-500); font-size: 14.5px; margin: 24px 0 0; }

.ill-intro { max-width: 760px; margin: 0 auto; padding: 72px 24px; }
.ill-intro p { color: var(--gray-700); font-size: 17px; line-height: 1.75; }
.ill-intro p + p { margin-top: 1.2em; }

/* "Who it's for" — drifting blue blobs, ties visually to the audience cards'
   own blue icon dots. */
.ill-audience-section {
	position: relative;
	overflow: hidden;
	background: linear-gradient(180deg, #FAFBFF 0%, #FFFFFF 100%);
}
.ill-audience-section::before,
.ill-audience-section::after {
	content: "";
	position: absolute;
	z-index: 0;
	border-radius: 50%;
	filter: blur(90px);
	opacity: .14;
	background: var(--blue);
	pointer-events: none;
	animation: illBlobDrift 26s ease-in-out infinite;
}
.ill-audience-section::before { width: 420px; height: 420px; top: -160px; left: -120px; }
.ill-audience-section::after { width: 360px; height: 360px; bottom: -160px; right: -100px; animation-delay: -13s; }
.ill-audience-section .container { position: relative; z-index: 1; }
@keyframes illBlobDrift {
	0%, 100% { transform: translate(0, 0) scale(1); }
	50% { transform: translate(22px, -16px) scale(1.06); }
}

/* "How to get connected" — drifting dot grid on the tint, same motif as the
   Plans page, to read as a distinct step visually from the section above. */
.ill-steps-section {
	position: relative;
	overflow: hidden;
	background: var(--tint);
}
.ill-steps-section::before {
	content: "";
	position: absolute;
	inset: -40px;
	z-index: 0;
	background-image: radial-gradient(#E3EAF8 1.5px, transparent 1.5px);
	background-size: 28px 28px;
	mask-image: radial-gradient(closest-side, #000 0%, transparent 80%);
	-webkit-mask-image: radial-gradient(closest-side, #000 0%, transparent 80%);
	animation: illGridDrift 55s linear infinite;
	pointer-events: none;
}
.ill-steps-section .container { position: relative; z-index: 1; }
@keyframes illGridDrift {
	from { background-position: 0 0; }
	to { background-position: 280px 280px; }
}

/* "Why ILL" feature deck now lives in its own standalone component —
   templates/home/partials/why-ill.php, styled by why-ill.css (loaded
   alongside this file), driven by why-ill-carousel.js. */

.ill-audience__list {
	display: grid;
	grid-template-columns: repeat(2, 1fr);
	gap: 16px 32px;
	max-width: 900px;
	margin: 40px auto 0;
}
.ill-audience__item {
	display: flex;
	align-items: flex-start;
	gap: 12px;
	font-size: 16px;
	color: var(--gray-700);
}
.ill-audience__item svg {
	width: 22px;
	height: 22px;
	flex-shrink: 0;
	color: var(--white);
	background: var(--blue);
	border-radius: 50%;
	padding: 4px;
	margin-top: 2px;
}

.ill-compare { background: var(--tint); }
.ill-compare__card {
	background: var(--white);
	border-radius: var(--radius-lg);
	box-shadow: var(--shadow-md);
	overflow: hidden;
	margin-top: 40px;
}
.ill-compare table { width: 100%; border-collapse: collapse; }
.ill-compare th, .ill-compare td { padding: 16px 22px; text-align: left; font-size: 15px; border-bottom: 1px solid var(--gray-100); }
.ill-compare thead th { font-size: 13px; text-transform: uppercase; letter-spacing: .04em; color: var(--gray-500); background: #fafbfd; }
.ill-compare tbody th { color: var(--charcoal); font-weight: 600; width: 26%; }
.ill-compare td:nth-child(2) { color: var(--gray-500); }
.ill-compare td:nth-child(3) { color: var(--blue-dark); font-weight: 700; background: rgba(0,104,255,.05); }
.ill-compare thead th:nth-child(3) { color: var(--blue); }
.ill-compare tr:last-child td, .ill-compare tr:last-child th { border-bottom: none; }

.ill-aup {
	background: var(--white);
	border: 1px solid var(--gray-100);
	border-left: 4px solid var(--blue);
	border-radius: var(--radius-sm);
	padding: 20px 24px;
	margin-top: 24px;
}
.ill-aup p { color: var(--gray-700); font-size: 14.5px; line-height: 1.7; margin: 0; }

.ill-audience__grid {
	display: flex;
	flex-direction: column;
	gap: 28px;
	max-width: 720px;
	margin: 40px auto 0;
}
.ill-audience__card {
	display: flex;
	align-items: flex-start;
	gap: 14px;
}
.ill-audience__card svg {
	width: 24px;
	height: 24px;
	flex-shrink: 0;
	color: var(--white);
	background: var(--blue);
	border-radius: 50%;
	padding: 5px;
	margin-top: 2px;
}
.ill-audience__card h3 { font-size: 16px; margin-bottom: 4px; }
.ill-audience__card p { color: var(--gray-500); font-size: 14.5px; margin: 0; }

.ill-steps__grid {
	display: grid;
	grid-template-columns: repeat(3, 1fr);
	gap: 32px;
	margin-top: 40px;
}
.ill-step { text-align: center; }
.ill-step__num {
	width: 48px; height: 48px;
	border-radius: 50%;
	background: var(--blue);
	color: var(--white);
	font-family: var(--font-manrope);
	font-weight: 700;
	font-size: 18px;
	display: flex; align-items: center; justify-content: center;
	margin: 0 auto 16px;
}
.ill-step h3 { font-size: 17px; margin-bottom: 8px; }
.ill-step p { color: var(--gray-500); font-size: 15px; margin: 0; }

/* Final CTA now reuses the site-global .cta-banner (same full-bleed
   background image/decoration as the home page) instead of a page-specific
   boxed card. This is the one bit unique to this page — the offices list
   under it. */
.ill-cta-banner__offices {
	position: relative;
	padding: 0 24px 32px;
}
.ill-cta-banner__offices p { color: rgba(255,255,255,.65); font-size: 13px; margin: 0 0 4px; }

@media (prefers-reduced-motion: reduce) {
	.ill-audience-section::before,
	.ill-audience-section::after,
	.ill-steps-section::before { animation: none; }
}

@media (max-width: 860px) {
	.ill-hero__img { object-position: 30% center; }
	.ill-hero__overlay { background: linear-gradient(180deg, rgba(4, 15, 46, .35) 0%, rgba(4, 15, 46, .88) 55%, #04143d 100%); }
	.ill-hero__container { padding: 56px 24px 40px; }
	.ill-hero__content { width: 100%; max-width: none; margin-left: 0; text-align: center; }
	.ill-hero .eyebrow { justify-content: center; }
	.ill-hero h1 { font-size: 30px; }
	.ill-hero__ctas { justify-content: center; }
	.ill-steps__grid { grid-template-columns: 1fr; }
	.ill-compare__card { overflow-x: auto; }
	.ill-compare table { min-width: 560px; }
}


/* ==========================================================================
   Desktop refinements (>=1024px only — the <=860px hero override stays)
   The audience list sat in a 720px column inside an 1180px section, which is
   where its side margins came from; the two left-aligned section headings were
   capped at 640px and would wrap once the type grew.
   ========================================================================== */
@media (min-width: 1024px) {
	.ill-hero h1 { font-size: clamp(42px, calc(4.4vw + 2px), 70px); }

	.ill-compare .section-heading { max-width: none; }
	.ill-compare .section-heading h2 { font-size: 40px; }

	.ill-audience-section .section-heading { max-width: 900px; }
	.ill-audience-section .section-heading h2 { font-size: 40px; }
	.ill-audience__grid { max-width: none; }
	.ill-audience__card h3 { font-size: 20px; }
	.ill-audience__card p { font-size: 16px; }

	.ill-steps-section .section-heading { max-width: 900px; }
	.ill-steps-section .section-heading h2 { font-size: 40px; }
	.ill-step h3 { font-size: 19px; }
}
