/*
	Features hub

	Same language as the AI and phone pages - one grotesque family, left-aligned, rules instead of
	cards. The hero is the AI page's navy with, on the right, one vehicle followed through the
	system, drawn in HTML. Then the core system as a list of rows, the add-ons on a navy band, the
	phone, security, and the small things that ship on every plan.

	Everything is prefixed .fx- so nothing fights the theme's .dp- primitives; only .dp-container
	is borrowed. Nothing on the page moves except the arrows on hover.
*/

.fx {
	--fx-ink: #102338;
	--fx-ink-soft: #4a5b6d;
	--fx-fog: #edf0f3;
	--fx-line: #d5dbe2;
	--fx-blue: #1478cf;
	--fx-blue-bright: #2196f3;
	--fx-font: "Schibsted Grotesk", "Segoe UI", sans-serif;

	font-family: var(--fx-font);
	font-size: 17px;
	line-height: 1.6;
	color: var(--fx-ink);
}

/* :where() keeps the reset at the lowest specificity, so every class rule below wins over it */
.fx :where(h1, h2, h3, p, ul, ol, dl, dd, figure) {
	margin: 0;
	padding: 0;
	font-family: var(--fx-font);
}

.fx :where(ul, ol) {
	list-style: none;
}

.fx a:focus-visible {
	outline: 3px solid var(--fx-blue-bright);
	outline-offset: 3px;
}


/* ---------------------------------------------------------------- Type and buttons */

.fx .fx-title {
	max-width: 18ch;
	font-size: clamp(32px, 4.2vw, 54px);
	font-weight: 700;
	line-height: 1.04;
	letter-spacing: -0.028em;
	text-wrap: balance;
}

.fx .fx-lede {
	max-width: 46ch;
	margin-top: 20px;
	font-size: 18px;
	line-height: 1.6;
	color: var(--fx-ink-soft);
}

.fx .fx-eyebrow {
	margin-bottom: 16px;
	font-size: 13px;
	font-weight: 800;
	letter-spacing: 0.1em;
	text-transform: uppercase;
	color: var(--fx-blue);
}

.fx .fx-section {
	padding: 112px 0;
}

/* Section opener: the title on the left, the sentence that explains it on the right */
.fx .fx-head {
	display: grid;
	grid-template-columns: minmax(0, 1fr) minmax(0, 0.8fr);
	gap: 20px 64px;
	align-items: end;
	margin-bottom: 64px;
}

.fx .fx-head .fx-lede {
	margin-top: 0;
}

.fx .fx-btn {
	display: inline-block;
	padding: 16px 28px;
	border-radius: 4px;
	background: var(--fx-ink);
	font-size: 16px;
	font-weight: 700;
	line-height: 1.2;
	text-decoration: none;
	color: #ffffff;
	transition: background-color 0.15s, color 0.15s;
}

.fx .fx-btn:hover,
.fx .fx-btn:focus {
	background: var(--fx-blue);
	text-decoration: none;
	color: #ffffff;
}

.fx .fx-btn i {
	margin-left: 6px;
}

/* On the navy and blue grounds the button turns over */
.fx .fx-btn-light {
	background: #ffffff;
	color: var(--fx-ink);
}

.fx .fx-btn-light:hover,
.fx .fx-btn-light:focus {
	background: #d8ecfd;
	color: var(--fx-ink);
}

.fx .fx-link {
	font-size: 16px;
	font-weight: 700;
	text-decoration: underline;
	text-decoration-thickness: 2px;
	text-underline-offset: 5px;
	text-decoration-color: var(--fx-line);
	color: var(--fx-ink);
	transition: text-decoration-color 0.15s;
}

.fx .fx-link:hover,
.fx .fx-link:focus {
	text-decoration-color: var(--fx-blue-bright);
	color: var(--fx-ink);
}


/* ---------------------------------------------------------------- Hero */

.fx .fx-hero {
	overflow: hidden;
	background-color: var(--fx-ink);
	background-image: radial-gradient(ellipse 55% 80% at 100% 40%, rgba(33, 150, 243, 0.3) 0%, rgba(33, 150, 243, 0) 70%);
	color: #ffffff;

	/* 60px of the top is the fixed header */
	padding: 112px 0 104px 0;
}

.fx .fx-hero-grid {
	display: grid;
	grid-template-columns: minmax(0, 1.05fr) minmax(0, 0.95fr);
	gap: 64px;
	align-items: center;
}

.fx .fx-crumbs {
	margin-bottom: 28px;
}

.fx .fx-crumbs ol {
	display: flex;
	flex-wrap: wrap;
	gap: 0 8px;
	font-size: 14px;
	color: rgba(255, 255, 255, 0.64);
}

.fx .fx-crumbs li + li:before {
	content: "/";
	margin-right: 8px;
	color: rgba(255, 255, 255, 0.3);
}

.fx .fx-crumbs a {
	text-decoration: none;
	color: rgba(255, 255, 255, 0.8);
}

.fx .fx-crumbs a:hover,
.fx .fx-crumbs a:focus {
	text-decoration: underline;
	color: #ffffff;
}

.fx .fx-hero-title {
	max-width: 11em;
	font-size: clamp(40px, 5.6vw, 76px);
	font-weight: 800;
	line-height: 0.99;
	letter-spacing: -0.04em;
	text-wrap: balance;
}

.fx .fx-hero-subtitle {
	max-width: 44ch;
	margin-top: 28px;
	font-size: 20px;
	line-height: 1.55;
	color: rgba(255, 255, 255, 0.78);
}

.fx .fx-hero-actions {
	display: flex;
	flex-wrap: wrap;
	gap: 16px 28px;
	align-items: center;
	margin-top: 36px;
}

.fx .fx-hero .fx-link {
	text-decoration-color: rgba(255, 255, 255, 0.35);
	color: #ffffff;
}

.fx .fx-hero .fx-link:hover,
.fx .fx-hero .fx-link:focus {
	text-decoration-color: #7cc3fa;
	color: #ffffff;
}


/* ---------------------------------------------------------------- One vehicle through the system */

.fx .fx-trail {
	max-width: 480px;
	margin: 0 0 0 auto;
}

.fx .fx-trail-card {
	padding: 22px 22px 8px 22px;
	border-radius: 16px;
	background: #ffffff;
	box-shadow: 0 40px 70px -28px rgba(0, 0, 0, 0.6);
	color: var(--fx-ink);
}

.fx .fx-trail-bar {
	display: flex;
	flex-wrap: wrap;
	gap: 4px 10px;
	align-items: center;
	padding-bottom: 16px;
	border-bottom: 1px solid var(--fx-line);
	font-size: 15px;
}

.fx .fx-trail-dot {
	width: 10px;
	height: 10px;
	border-radius: 50%;
	background: #1a7f37;
}

.fx .fx-trail-label {
	font-weight: 700;
}

.fx .fx-trail-vehicle {
	margin-left: auto;
	font-weight: 700;
	color: var(--fx-blue);
}

/* A line runs down the icons, so the four read as one thing happening to one vehicle */
.fx .fx-trail-log {
	position: relative;
	padding: 8px 0;
}

.fx .fx-trail-log:before {
	content: "";
	position: absolute;
	top: 34px;
	bottom: 34px;
	left: 19px;
	width: 2px;
	background: var(--fx-line);
}

.fx .fx-trail-log li {
	position: relative;
	display: flex;
	gap: 16px;
	align-items: center;
	padding: 12px 0;
}

.fx .fx-trail-icon {
	flex: 0 0 40px;
	display: flex;
	align-items: center;
	justify-content: center;
	width: 40px;
	height: 40px;
	border-radius: 50%;
	background: var(--fx-fog);
	font-size: 16px;
	color: var(--fx-blue);
	box-shadow: 0 0 0 4px #ffffff;
}

.fx .fx-trail-body {
	display: flex;
	flex-direction: column;
	font-size: 15px;
	line-height: 1.35;
	color: var(--fx-ink-soft);
}

.fx .fx-trail-body strong {
	font-size: 17px;
	color: var(--fx-ink);
}

.fx .fx-trail-caption {
	margin-top: 14px;
	font-size: 14px;
	color: rgba(255, 255, 255, 0.6);
}


/* ---------------------------------------------------------------- The core system */

.fx .fx-core {
	background: #ffffff;
}

.fx .fx-rows {
	counter-reset: fx-row;
	border-top: 2px solid var(--fx-ink);
}

.fx .fx-row {
	counter-increment: fx-row;
	position: relative;
	display: grid;
	grid-template-columns: minmax(0, 5fr) minmax(0, 5fr) 130px;
	gap: 24px 56px;
	align-items: start;
	padding: 40px 0 40px 0;
	border-bottom: 1px solid var(--fx-line);
	transition: background-color 0.15s;
}

.fx .fx-row:hover {
	background: #f6f9fc;
}

.fx .fx-row-main {
	display: grid;
	grid-template-columns: 52px minmax(0, 1fr);
	column-gap: 20px;
}

.fx .fx-row-icon {
	grid-row: 1 / span 2;
	display: flex;
	align-items: center;
	justify-content: center;
	width: 52px;
	height: 52px;
	border-radius: 12px;
	background: var(--fx-ink);
	font-size: 21px;
	color: #ffffff;
	transition: background-color 0.15s;
}

.fx .fx-row:hover .fx-row-icon {
	background: var(--fx-blue);
}

.fx .fx-row-title {
	align-self: center;
	font-size: 28px;
	font-weight: 700;
	line-height: 1.12;
	letter-spacing: -0.02em;
}

.fx .fx-row-title:before {
	content: "0" counter(fx-row);
	display: block;
	margin-bottom: 4px;
	font-size: 13px;
	font-weight: 800;
	letter-spacing: 0.1em;
	color: var(--fx-blue);
}

/* The whole row is the target, not only the words */
.fx .fx-row-link {
	text-decoration: none;
	color: inherit;
}

.fx .fx-row-link:after {
	content: "";
	position: absolute;
	top: 0;
	right: 0;
	bottom: 0;
	left: 0;
}

.fx .fx-row-link:hover,
.fx .fx-row-link:focus {
	text-decoration: none;
	color: inherit;
}

.fx .fx-row-text {
	grid-column: 2;
	max-width: 38ch;
	margin-top: 10px;
	color: var(--fx-ink-soft);
}

.fx .fx-row-points {
	display: flex;
	flex-direction: column;
	gap: 10px;
	padding-top: 6px;
}

.fx .fx-row-points li,
.fx .fx-addon-points li,
.fx .fx-phone-points li {
	position: relative;
	padding-left: 28px;
	font-size: 16px;
	line-height: 1.45;
}

.fx .fx-row-points li:before,
.fx .fx-addon-points li:before,
.fx .fx-phone-points li:before {
	content: "";
	position: absolute;
	top: 0.35em;
	left: 2px;
	width: 11px;
	height: 6px;
	border-bottom: 2.5px solid var(--fx-blue-bright);
	border-left: 2.5px solid var(--fx-blue-bright);
	transform: rotate(-45deg);
}

.fx .fx-row-go {
	padding-top: 8px;
	font-size: 15px;
	font-weight: 700;
	text-align: right;
	color: var(--fx-blue);
}

.fx .fx-row-go i,
.fx .fx-addon-go i {
	margin-left: 4px;
	transition: transform 0.15s;
}

.fx .fx-row:hover .fx-row-go i,
.fx .fx-addon:hover .fx-addon-go i {
	transform: translateX(4px);
}


/* ---------------------------------------------------------------- Add-ons */

.fx .fx-addons {
	background-color: var(--fx-ink);
	background-image: radial-gradient(ellipse 60% 90% at 0% 0%, rgba(33, 150, 243, 0.26) 0%, rgba(33, 150, 243, 0) 70%);
	color: #ffffff;
}

.fx .fx-addons .fx-lede {
	color: rgba(255, 255, 255, 0.76);
}

.fx .fx-addon-list {
	display: grid;
	grid-template-columns: repeat(3, minmax(0, 1fr));
	gap: 48px;
}

.fx .fx-addon {
	position: relative;
	display: flex;
	flex-direction: column;
	align-items: flex-start;
	padding-top: 28px;
	border-top: 2px solid rgba(255, 255, 255, 0.9);
}

.fx .fx-addon-icon {
	font-size: 28px;
	color: #7cc3fa;
}

.fx .fx-addon-title {
	margin-top: 22px;
	font-size: 28px;
	font-weight: 700;
	line-height: 1.12;
	letter-spacing: -0.02em;
}

.fx .fx-addon-link {
	text-decoration: none;
	color: #ffffff;
}

.fx .fx-addon-link:after {
	content: "";
	position: absolute;
	top: 0;
	right: 0;
	bottom: 0;
	left: 0;
}

.fx .fx-addon-link:hover,
.fx .fx-addon-link:focus {
	text-decoration: none;
	color: #ffffff;
}

.fx .fx-addon a:focus-visible {
	outline-color: #7cc3fa;
}

.fx .fx-addon-text {
	max-width: 34ch;
	margin-top: 12px;
	color: rgba(255, 255, 255, 0.76);
}

.fx .fx-addon-points {
	display: flex;
	flex-direction: column;
	gap: 10px;
	margin: 24px 0 32px 0;
	padding-top: 24px;
	border-top: 1px solid rgba(255, 255, 255, 0.2);
	width: 100%;
}

.fx .fx-addon-go {
	margin-top: auto;
	font-size: 15px;
	font-weight: 700;
	color: #7cc3fa;
}


/* ---------------------------------------------------------------- Phone */

.fx .fx-phone {
	background: var(--fx-fog);
}

.fx .fx-phone-grid {
	display: grid;
	grid-template-columns: minmax(0, 1.1fr) minmax(0, 0.9fr);
	gap: 64px;
	align-items: center;
}

.fx .fx-phone-points {
	display: flex;
	flex-direction: column;
	gap: 10px;
	margin-top: 28px;
}

.fx .fx-phone-note {
	margin: 24px 0 32px 0;
	font-weight: 700;
}

/* A cut-out on a transparent ground, so it sits straight on the fog */
.fx .fx-phone-visual img {
	display: block;
	width: 100%;
	max-width: 520px;
	height: auto;
	margin: 0 0 0 auto;
}


/* ---------------------------------------------------------------- Security */

.fx .fx-security {
	background: #ffffff;
}

.fx .fx-security-list {
	display: grid;
	grid-template-columns: repeat(3, minmax(0, 1fr));
	gap: 48px;
}

.fx .fx-security-list li {
	padding-top: 24px;
	border-top: 2px solid var(--fx-ink);
}

.fx .fx-security-list h3 {
	display: flex;
	gap: 14px;
	align-items: baseline;
	font-size: 22px;
	font-weight: 700;
	line-height: 1.2;
	letter-spacing: -0.015em;
}

.fx .fx-security-list h3 i {
	font-size: 20px;
	color: var(--fx-blue);
}

.fx .fx-security-list p {
	max-width: 36ch;
	margin-top: 12px;
	color: var(--fx-ink-soft);
}


/* ---------------------------------------------------------------- Included on every plan */

.fx .fx-extras {
	background: var(--fx-fog);
}

.fx .fx-extras-grid {
	display: grid;
	grid-template-columns: minmax(0, 5fr) minmax(0, 7fr);
	gap: 72px;
	align-items: start;
}

.fx .fx-extras-head {
	position: sticky;
	top: 104px;
}

.fx .fx-spec {
	border-top: 2px solid var(--fx-ink);
}

.fx .fx-spec-row {
	display: grid;
	grid-template-columns: minmax(0, 0.9fr) minmax(0, 1.1fr);
	gap: 8px 32px;
	padding: 22px 0;
	border-bottom: 1px solid var(--fx-line);
}

.fx .fx-spec-row dt {
	display: flex;
	gap: 14px;
	align-items: baseline;
	font-size: 19px;
	font-weight: 700;
	line-height: 1.3;
	letter-spacing: -0.01em;
}

.fx .fx-spec-row dt i {
	flex: 0 0 22px;
	font-size: 17px;
	color: var(--fx-blue);
}

.fx .fx-spec-row dd {
	color: var(--fx-ink-soft);
}


/* ---------------------------------------------------------------- Final call to action */

.fx .fx-final {
	padding: 104px 0;
	background: var(--fx-blue);
	color: #ffffff;
}

.fx .fx-final-inner {
	display: flex;
	flex-wrap: wrap;
	gap: 36px 64px;
	align-items: flex-end;
	justify-content: space-between;
}

.fx .fx-final-title {
	max-width: 17ch;
	font-size: clamp(34px, 5vw, 64px);
	font-weight: 800;
	line-height: 1;
	letter-spacing: -0.035em;
	text-wrap: balance;
}

.fx .fx-final-text {
	max-width: 46ch;
	margin-top: 24px;
	font-size: 19px;
	color: rgba(255, 255, 255, 0.9);
}


/* ---------------------------------------------------------------- Narrower screens */

@media (max-width: 991px) {

	.fx .fx-hero-grid,
	.fx .fx-phone-grid,
	.fx .fx-extras-grid,
	.fx .fx-head {
		grid-template-columns: minmax(0, 1fr);
		gap: 48px;
	}

	.fx .fx-head {
		gap: 20px;
		margin-bottom: 48px;
	}

	.fx .fx-trail {
		margin: 0;
	}

	.fx .fx-row {
		grid-template-columns: minmax(0, 1fr);
		padding: 32px 0;
	}

	.fx .fx-row-points {
		padding-left: 72px;
	}

	.fx .fx-row-go {
		display: none;
	}

	.fx .fx-addon-list,
	.fx .fx-security-list {
		grid-template-columns: minmax(0, 1fr);
		gap: 48px;
	}

	.fx .fx-extras-head {
		position: static;
	}

	.fx .fx-phone-visual img {
		margin: 0;
	}
}

@media (max-width: 767px) {

	.fx {
		font-size: 16px;
	}

	.fx .fx-section {
		padding: 72px 0;
	}

	.fx .fx-hero {
		padding: 100px 0 64px 0;
	}

	.fx .fx-hero-subtitle {
		font-size: 18px;
	}

	.fx .fx-row-title {
		font-size: 24px;
	}

	.fx .fx-row-points {
		padding-left: 0;
	}

	.fx .fx-spec-row {
		grid-template-columns: minmax(0, 1fr);
	}

	.fx .fx-final {
		padding: 72px 0;
	}
}

@media (prefers-reduced-motion: reduce) {

	.fx .fx-btn,
	.fx .fx-link,
	.fx .fx-row,
	.fx .fx-row-icon,
	.fx .fx-row-go i,
	.fx .fx-addon-go i {
		transition: none;
	}
}
