/* hoopla hr — colours sampled from Website Structure v4 */

:root {
	--navy: #0a152b;
	--navy-price: #09142b;
	--green: #39b549;
	--orange: #d04400;
	--teal: #1e7ba2;
	--blue: #415c80;
	--brown: #733e24;
	--stone: #737373;
	--deep: #235e58;
	--purple: #3a235e;
	--submit: #5a3e33;
	--paper: #f6f7f7;
	--footer: #333333;
	--footer-bar: #1a1a1a;
	--muted: #666666;
	--line: #e3e3e3;
	--max: 1160px;
	--font: "Open Sans", "Segoe UI", Helvetica, Arial, sans-serif;
}

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

html {
	scroll-behavior: smooth;
}

body {
	margin: 0;
	color: var(--navy);
	background: #fff;
	font-family: var(--font);
	font-size: 16px;
	line-height: 1.5;
}

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

a {
	color: inherit;
}

button,
input,
textarea {
	font-family: inherit;
}

h1,
h2,
h3,
p {
	margin-top: 0;
}

.wrap {
	width: min(var(--max), calc(100% - 40px));
	margin: 0 auto;
}

.visually-hidden {
	position: absolute;
	width: 1px;
	height: 1px;
	padding: 0;
	margin: -1px;
	overflow: hidden;
	clip: rect(0, 0, 0, 0);
	white-space: nowrap;
	border: 0;
}

.skip-link {
	position: absolute;
	left: 12px;
	top: -40px;
	background: var(--navy);
	color: #fff;
	padding: 8px 12px;
	z-index: 100;
}

.skip-link:focus {
	top: 8px;
}

.btn {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	gap: 8px;
	min-width: 148px;
	padding: 13px 22px;
	border: 0;
	border-radius: 3px;
	background: var(--green);
	color: #fff;
	font-size: 18px;
	font-weight: 400;
	line-height: 1;
	text-decoration: none;
	cursor: pointer;
	transition: filter 0.15s ease, background 0.15s ease, color 0.15s ease;
}

.btn:hover,
.btn:focus-visible {
	filter: brightness(0.94);
}

.btn svg {
	width: 16px;
	height: 16px;
}

.btn-orange { background: var(--orange); }
.btn-teal { background: var(--teal); }
.btn-green { background: var(--green); }

.btn-signin {
	min-width: 118px;
	padding: 9px 16px;
	font-size: 18px;
	border-radius: 2px;
}

.header-cta {
	min-width: 158px;
	padding: 12px 18px;
	font-size: 18px;
	flex: 0 0 auto;
}

.btn-ghost {
	background: transparent;
	color: #fff;
	border: 2px solid #fff;
	min-width: 230px;
	padding: 12px 26px;
	border-radius: 2px;
}

.btn-ghost:hover,
.btn-ghost:focus-visible {
	background: #fff;
	color: var(--green);
	filter: none;
}

.btn-line {
	background: #fff;
	color: var(--navy);
	border: 1px solid #b7bac0;
	min-width: 168px;
	padding: 11px 18px;
	font-size: 16px;
	border-radius: 2px;
}

.btn-line:hover,
.btn-line:focus-visible {
	background: var(--paper);
	filter: none;
}

.btn-submit {
	background: var(--submit);
	min-width: 190px;
	border: 1px solid rgba(255, 255, 255, 0.35);
	font-size: 18px;
}

/* Utility bar — light, as in the design comp (not the dark footer). */

.utility-bar {
	background: var(--paper);
	color: var(--navy);
	font-size: 13px;
}

.utility-inner {
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: 18px;
	min-height: 48px;
}

.utility-meta {
	display: flex;
	flex-wrap: wrap;
	gap: 6px 26px;
	margin: 0;
}

.utility-meta a {
	text-decoration: none;
}

.utility-meta a:hover {
	text-decoration: underline;
}

.utility-actions {
	display: flex;
	align-items: center;
	gap: 14px;
	flex: 0 0 auto;
}

.social-list {
	display: flex;
	gap: 8px;
	list-style: none;
	margin: 0;
	padding: 0;
}

.social-list a {
	width: 26px;
	height: 26px;
	border-radius: 50%;
	background: #b3b3b3;
	color: #fff;
	display: inline-flex;
	align-items: center;
	justify-content: center;
}

.social-list svg {
	width: 13px;
	height: 13px;
	display: block;
}

.social-list a:hover {
	background: var(--navy);
}

/* Header */

.site-header {
	background: #fff;
	border-bottom: 1px solid #f0f0f0;
}

.header-inner {
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: 24px;
	min-height: 112px;
}

.brand {
	display: block;
	flex: 0 0 auto;
	line-height: 0;
}

.brand-logo {
	width: 196px;
	height: auto;
}

.header-end {
	display: flex;
	align-items: center;
	justify-content: flex-end;
	gap: 12px;
	flex: 1 1 auto;
}

.nav-toggle {
	display: none;
	width: 44px;
	height: 40px;
	border: 1px solid #d5d5d5;
	background: #fff;
	border-radius: 2px;
	padding: 0;
	cursor: pointer;
}

.nav-toggle-bars,
.nav-toggle-bars::before,
.nav-toggle-bars::after {
	display: block;
	width: 18px;
	height: 2px;
	background: var(--navy);
	position: relative;
	margin: 0 auto;
}

.nav-toggle-bars::before,
.nav-toggle-bars::after {
	content: "";
	position: absolute;
	left: 0;
}

.nav-toggle-bars::before { top: -6px; }
.nav-toggle-bars::after { top: 6px; }

.nav-cluster {
	display: flex;
	align-items: center;
	gap: 18px;
}

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

.nav-list a {
	color: var(--navy);
	text-decoration: none;
	font-size: 18px;
}

.nav-list a:hover,
.nav-list a:focus-visible {
	color: var(--green);
}

.menu-item-has-children {
	position: relative;
}

.menu-item-has-children > a::after {
	content: "";
	display: inline-block;
	margin-left: 6px;
	border: 4px solid transparent;
	border-top-color: currentColor;
	vertical-align: 2px;
}

.sub-menu {
	display: none;
	position: absolute;
	top: calc(100% + 8px);
	left: 0;
	min-width: 210px;
	background: #fff;
	box-shadow: 0 10px 28px rgba(10, 21, 43, 0.12);
	list-style: none;
	margin: 0;
	padding: 8px 0;
	z-index: 20;
}

.sub-menu a {
	display: block;
	padding: 8px 16px;
	font-size: 15px;
}

.menu-item-has-children:hover > .sub-menu,
.menu-item-has-children:focus-within > .sub-menu,
.menu-item-has-children.is-open > .sub-menu {
	display: block;
}

/* Hero */

.hero {
	background-color: #4a3024;
	background-image:
		linear-gradient(rgba(42, 22, 12, 0.42), rgba(28, 14, 8, 0.5)),
		url("../images/hero.jpg");
	background-position: center;
	background-size: cover;
	color: #fff;
	text-align: center;
	padding: 78px 0 86px;
}

.hero-inner {
	max-width: 980px;
}

.hero h1 {
	margin: 0 0 16px;
	font-size: 60px;
	font-weight: 300;
	letter-spacing: 0;
	line-height: 1.05;
}

.hero-kicker {
	font-size: 28px;
	font-weight: 400;
	margin-bottom: 22px;
}

.hero p {
	font-size: 18px;
	line-height: 1.45;
	margin-left: auto;
	margin-right: auto;
	max-width: 860px;
}

.hero-start {
	margin-top: 22px;
	margin-bottom: 26px;
}

.hero-actions,
.pair-actions {
	display: flex;
	flex-wrap: wrap;
	gap: 16px;
}

.hero-actions {
	justify-content: center;
}

/* Device sections */

.split {
	padding: 72px 0;
	background: #fff;
}

.band-gray {
	background: var(--paper);
}

.split-grid {
	display: grid;
	grid-template-columns: 1.05fr 0.95fr;
	gap: 48px;
	align-items: center;
}

.split-grid.is-reversed {
	grid-template-columns: 0.95fr 1.05fr;
}

.split-copy h2,
.free-band h2,
.features h2,
.pricing h2,
.clients h2,
.news h2,
.contact h2,
.page-heading h1 {
	font-size: 30px;
	font-weight: 400;
	color: var(--navy);
	margin-bottom: 16px;
}

.split-copy p {
	font-size: 18px;
	line-height: 1.5;
	max-width: 520px;
	margin-bottom: 22px;
}

.pair-actions .btn {
	min-width: 132px;
}

.device {
	width: min(460px, 100%);
	margin: 0 auto;
}

.device-bezel {
	background: #1a1a1a;
	border-radius: 18px 18px 0 0;
	padding: 12px 12px 0;
	box-shadow: 0 12px 28px rgba(0, 0, 0, 0.12);
}

.device-screen {
	background: #111;
	overflow: hidden;
	line-height: 0;
}

.device-screen img {
	display: block;
	width: 100%;
	height: auto;
}

.device-chin {
	height: 42px;
	background: linear-gradient(#ececec, #d0d0d0);
	border-radius: 0 0 16px 16px;
	position: relative;
}

.device-chin::after {
	content: "";
	position: absolute;
	left: 50%;
	top: 16px;
	width: 8px;
	height: 8px;
	margin-left: -4px;
	border-radius: 50%;
	background: #bdbdbd;
	box-shadow: inset 0 0 0 2px #a3a3a3;
}

.device-neck {
	width: 92px;
	height: 46px;
	margin: 0 auto;
	background: linear-gradient(#d7d7d7, #c4c4c4);
	clip-path: polygon(18% 0, 82% 0, 100% 100%, 0 100%);
}

.device-foot {
	width: 168px;
	height: 12px;
	margin: 0 auto 10px;
	background: linear-gradient(#cfcfcf, #b5b5b5);
	border-radius: 0 0 10px 10px;
	box-shadow: 0 14px 18px rgba(0, 0, 0, 0.18);
}

.clients h2,
.contact h2 {
	color: #fff;
	margin-bottom: 8px;
}

.section-lead {
	font-size: 18px;
	margin-bottom: 28px;
}

.clients .section-lead,
.contact .section-lead {
	color: #fff;
}

/* Green free-account band */

.free-band {
	background: var(--green);
	color: #fff;
	text-align: center;
	padding: 48px 0 52px;
}

.free-band h2 {
	color: #fff;
	margin-bottom: 12px;
}

.free-band h2 em {
	font-style: italic;
	font-weight: 400;
}

.free-band p {
	font-size: 18px;
	line-height: 1.5;
	margin-bottom: 22px;
}

/* Key features */

.features {
	padding: 68px 0 76px;
	text-align: center;
}

.features .section-lead {
	color: var(--navy);
}

.feature-grid {
	display: grid;
	grid-template-columns: repeat(3, 1fr);
	gap: 36px;
	margin-top: 36px;
	text-align: center;
}

.feature-icon {
	width: 112px;
	height: 112px;
	margin: 0 auto 18px;
	border-radius: 50%;
	background: var(--green);
	color: #fff;
	display: flex;
	align-items: center;
	justify-content: center;
}

.feature-icon svg {
	width: 54px;
	height: 54px;
}

.feature h3 {
	font-size: 28px;
	font-weight: 400;
	margin-bottom: 14px;
}

.feature p {
	font-size: 15px;
	line-height: 1.55;
	color: #3c4454;
	margin-bottom: 14px;
}

.feature .btn {
	margin-top: 8px;
}

/* Pricing */

.pricing {
	padding: 64px 0 72px;
	text-align: center;
}

.pricing .section-lead {
	color: var(--navy);
	margin-bottom: 28px;
}

.price-grid {
	display: grid;
	grid-template-columns: repeat(4, 1fr);
	gap: 18px;
	margin-bottom: 22px;
	text-align: center;
}

.price-card {
	background: #fff;
	box-shadow: 0 1px 4px rgba(10, 21, 43, 0.12);
	display: flex;
	flex-direction: column;
	min-width: 0;
}

.price-kicker {
	margin: 0;
	color: #fff;
	font-size: 16px;
	font-weight: 400;
	line-height: 1.3;
	padding: 12px 10px;
}

.price-band {
	margin: 0;
	background: var(--navy-price);
	color: #fff;
	font-size: 40px;
	font-weight: 400;
	line-height: 1.1;
	padding: 22px 8px 26px;
}

.price-lines {
	list-style: none;
	margin: 0;
	padding: 8px 0 0;
	flex: 1 1 auto;
}

.price-lines li {
	padding: 12px 12px;
	border-bottom: 1px solid var(--line);
	color: var(--navy);
	font-size: 15px;
	line-height: 1.35;
}

.price-card .btn {
	margin: 18px auto 20px;
	min-width: 132px;
	padding: 10px 18px;
	font-size: 16px;
	color: #fff;
}

.tone-green .price-kicker,
.tone-green .btn { background: var(--green); }
.tone-blue .price-kicker,
.tone-blue .btn { background: var(--blue); }
.tone-brown .price-kicker,
.tone-brown .btn { background: var(--brown); }
.tone-stone .price-kicker,
.tone-stone .btn { background: var(--stone); }
.tone-orange .price-kicker,
.tone-orange .btn { background: var(--orange); }
.tone-deep .price-kicker,
.tone-deep .btn { background: var(--deep); }
.tone-purple .price-kicker,
.tone-purple .btn { background: var(--purple); }

.pricing-more,
.news-more {
	margin: 18px 0 0;
}

/* Testimonials */

.clients {
	background-color: #4e3b31;
	background-image:
		linear-gradient(rgba(48, 28, 18, 0.45), rgba(36, 20, 12, 0.55)),
		url("../images/clients-bg.jpg");
	background-position: center;
	background-size: cover;
	text-align: center;
	padding: 64px 0 78px;
}

.quote-grid {
	display: grid;
	grid-template-columns: 1fr 1fr;
	gap: 36px;
	margin-top: 12px;
	text-align: left;
}

.quote {
	margin: 0;
}

.quote blockquote {
	margin: 0;
	background: #fff;
	border-left: 8px solid var(--orange);
	padding: 26px 24px 28px;
	position: relative;
	color: var(--navy);
	font-size: 16px;
	line-height: 1.45;
	min-height: 250px;
}

.quote blockquote p {
	margin: 0 0 14px;
}

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

.quote blockquote::after {
	content: "";
	position: absolute;
	left: 42px;
	bottom: -16px;
	border-width: 16px 14px 0;
	border-style: solid;
	border-color: #fff transparent transparent;
}

.quote figcaption {
	padding: 28px 8px 0 8px;
	color: #fff;
}

.quote figcaption strong {
	display: block;
	font-size: 28px;
	font-weight: 400;
}

.quote figcaption span,
.quote figcaption a {
	display: block;
	font-size: 15px;
	color: rgba(255, 255, 255, 0.92);
}

.quote figcaption a {
	margin-top: 4px;
	font-size: 14px;
	text-decoration: underline;
}

/* News */

.news {
	padding: 64px 0 70px;
	text-align: center;
}

.news .section-lead {
	color: var(--navy);
}

.news-grid {
	display: grid;
	grid-template-columns: repeat(4, 1fr);
	gap: 26px;
	text-align: left;
}

.news-card a {
	display: block;
	color: inherit;
	text-decoration: none;
}

.news-card img {
	display: block;
	width: 100%;
	height: 168px;
	object-fit: cover;
	background: #ddd;
}

.news-card h3 {
	font-size: 18px;
	font-weight: 600;
	line-height: 1.35;
	margin: 14px 0 8px;
	color: var(--navy);
}

.news-card p {
	margin: 0;
	color: var(--muted);
	font-size: 14px;
	line-height: 1.45;
}

.news-card a:hover h3 {
	color: var(--green);
}

/* Contact */

.contact {
	background-color: #5a3d2e;
	background-image:
		linear-gradient(rgba(55, 30, 16, 0.55), rgba(42, 22, 12, 0.62)),
		url("../images/contact-bg.jpg");
	background-position: center;
	background-size: cover;
	text-align: center;
	padding: 64px 0 88px;
}

.contact-form {
	max-width: 980px;
	margin: 0 auto;
	text-align: left;
}

.contact-row {
	display: grid;
	grid-template-columns: 1fr 1fr 1fr;
	gap: 18px;
	margin-bottom: 18px;
}

.contact-form input,
.contact-form textarea {
	width: 100%;
	border: 0;
	background: #fff;
	color: #333;
	font-size: 18px;
	padding: 14px 16px;
	border-radius: 1px;
}

.contact-form textarea {
	min-height: 180px;
	resize: vertical;
	margin-bottom: 22px;
}

.contact-form input::placeholder,
.contact-form textarea::placeholder {
	color: #8a8a8a;
}

.contact-form .btn-submit {
	display: block;
	margin: 0 auto;
}

/* Footer */

.site-footer {
	position: relative;
	background: var(--footer);
	color: #fff;
}

.back-to-top {
	position: absolute;
	left: 50%;
	top: 0;
	transform: translate(-50%, -50%);
	width: 54px;
	height: 40px;
	background: var(--orange);
	color: #fff;
	display: flex;
	align-items: center;
	justify-content: center;
	text-decoration: none;
	z-index: 2;
}

.back-to-top svg {
	width: 22px;
	height: 22px;
}

.back-to-top:hover {
	filter: brightness(1.08);
}

.footer-main {
	padding: 54px 0 36px;
}

.footer-grid {
	display: grid;
	grid-template-columns: 0.85fr 1.15fr;
	gap: 40px;
}

.footer-contact h2,
.footer-news h2 {
	font-size: 28px;
	font-weight: 400;
	margin-bottom: 16px;
}

.footer-logo {
	display: inline-block;
	margin-bottom: 16px;
	line-height: 0;
}

.footer-logo .brand-logo {
	width: 168px;
}

.footer-contact p {
	margin: 0 0 10px;
	font-size: 16px;
	line-height: 1.45;
}

.footer-contact a {
	color: #fff;
	text-decoration: none;
}

.footer-contact a:hover {
	text-decoration: underline;
}

.footer-address span {
	color: #999;
}

.footer-news-grid {
	display: grid;
	grid-template-columns: repeat(4, 1fr);
	gap: 14px;
}

.news-card.is-compact h3 {
	font-size: 13px;
	font-weight: 400;
	color: #fff;
	margin-top: 8px;
}

.news-card.is-compact img {
	height: 92px;
}

.news-card.is-compact a:hover h3 {
	color: var(--green);
}

.footer-bar {
	background: var(--footer-bar);
	padding: 14px 0;
}

.footer-bar-inner {
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: 16px;
}

.legal-list {
	display: flex;
	flex-wrap: wrap;
	gap: 8px 22px;
	list-style: none;
	margin: 0;
	padding: 0;
	color: #777;
	font-size: 13px;
}

.legal-list a {
	color: #777;
	text-decoration: none;
}

.legal-list a:hover {
	color: #fff;
}

.social-list.is-footer a {
	background: transparent;
	border: 1px solid #8d8d8d;
	color: #ddd;
	width: 30px;
	height: 30px;
}

.social-list.is-footer a:hover {
	background: transparent;
	border-color: #fff;
	color: #fff;
}

/* Interior pages */

.page-main {
	padding: 48px 0 72px;
	background: #fff;
}

.page-heading {
	text-align: center;
	margin-bottom: 28px;
}

.prose {
	max-width: 760px;
	margin: 0 auto;
}

.prose h1 {
	font-size: 36px;
	font-weight: 400;
	margin-bottom: 16px;
}

.entry {
	font-size: 17px;
	line-height: 1.6;
	color: #333;
}

.entry p,
.entry ul,
.entry ol {
	margin-bottom: 16px;
}

.entry a {
	color: var(--teal);
}

.entry-meta {
	color: var(--muted);
	margin-top: -8px;
}

.entry-thumb {
	margin: 0 0 18px;
}

.entry-thumb img {
	display: block;
	width: 100%;
}

.nav-links,
.pagination {
	display: flex;
	gap: 12px;
	justify-content: center;
	margin-top: 28px;
}

.page-numbers {
	display: inline-block;
	padding: 6px 10px;
	text-decoration: none;
	color: var(--navy);
}

.page-numbers.current {
	background: var(--green);
	color: #fff;
}

:focus-visible {
	outline: 2px solid var(--teal);
	outline-offset: 2px;
}

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

	.news-grid,
	.footer-news-grid {
		grid-template-columns: repeat(2, 1fr);
	}
}

@media (max-width: 980px) {
	.nav-toggle {
		display: inline-flex;
		align-items: center;
		justify-content: center;
	}

	.js .nav-cluster {
		display: none;
		width: 100%;
		flex-direction: column;
		align-items: stretch;
		padding: 4px 0 16px;
	}

	.js .nav-cluster.is-open {
		display: flex;
	}

	.header-inner {
		flex-wrap: wrap;
		min-height: 84px;
		padding: 12px 0;
	}

	.header-end {
		margin-left: auto;
		flex-wrap: wrap;
	}

	.nav-list {
		flex-direction: column;
		align-items: flex-start;
		gap: 4px;
		width: 100%;
	}

	.nav-list a {
		display: inline-block;
		padding: 8px 0;
	}

	.sub-menu {
		position: static;
		box-shadow: none;
		padding: 0 0 8px 12px;
		min-width: 0;
	}

	.header-cta {
		align-self: flex-start;
	}

	.split-grid,
	.split-grid.is-reversed,
	.feature-grid,
	.quote-grid,
	.footer-grid,
	.contact-row {
		grid-template-columns: 1fr;
	}

	.split-grid.is-reversed .split-copy {
		order: -1;
	}

	.hero h1 {
		font-size: 40px;
	}

	.hero-kicker {
		font-size: 22px;
	}

	.utility-address {
		display: none;
	}
}

@media (max-width: 680px) {
	.wrap {
		width: min(var(--max), calc(100% - 28px));
	}

	.utility-inner {
		flex-wrap: wrap;
		padding: 8px 0;
	}

	.price-grid,
	.news-grid,
	.footer-news-grid {
		grid-template-columns: 1fr;
	}

	.hero {
		padding: 56px 0 64px;
	}

	.hero h1 {
		font-size: 34px;
	}

	.price-band {
		font-size: 34px;
	}

	.footer-bar-inner {
		flex-direction: column;
		align-items: flex-start;
	}

	.legal-list {
		flex-direction: column;
		gap: 6px;
	}
}

@media (prefers-reduced-motion: reduce) {
	html {
		scroll-behavior: auto;
	}

	.btn {
		transition: none;
	}
}
