@import url("https://fonts.googleapis.com/css2?family=DM+Sans:wght@400;500;600;700&family=Manrope:wght@400;500;600;700;800&display=swap");
:root {
	--ink: #11294a;
	--blue: #173b66;
	--yellow: #ffd35a;
	--cream: #fbf9f3;
	--pale: #eaf1f6;
	--line: #d9e2e8;
	--muted: #53677a;
	--white: #fff;
}
* {
	box-sizing: border-box;
}
html {
	scroll-behavior: smooth;
}
body {
	margin: 0;
	color: var(--ink);
	background: var(--cream);
	font:
		16px/1.65 "DM Sans",
		sans-serif;
}
a {
	color: inherit;
	text-decoration: none;
}
a:hover {
	text-decoration: underline;
}
img {
	max-width: 100%;
	display: block;
}
h1,
h2,
h3,
p {
	margin-top: 0;
}
h1,
h2,
h3 {
	font-family: Manrope, sans-serif;
	letter-spacing: -0.045em;
	line-height: 1.12;
}
h1 {
	font-size: clamp(2.65rem, 5.4vw, 5.6rem);
	font-weight: 800;
	margin-bottom: 24px;
}
h2 {
	font-size: clamp(2.1rem, 3.6vw, 3.65rem);
	font-weight: 800;
	margin-bottom: 20px;
}
h3 {
	font-size: 1.3rem;
	font-weight: 800;
	letter-spacing: -0.025em;
}
p {
	color: var(--muted);
}
.wrap {
	width: min(1180px, calc(100% - 48px));
	margin-inline: auto;
}
.eyebrow {
	text-transform: uppercase;
	font-size: 0.8rem;
	letter-spacing: 0.16em;
	font-weight: 800;
	color: #31618c;
	margin-bottom: 19px;
}
.topbar {
	background: #102a4b;
	color: #eaf1f6;
	font-size: 0.82rem;
	text-align: center;
	padding: 7px 16px;
	letter-spacing: 0.02em;
}
.site-header {
	background: var(--cream);
	border-bottom: 1px solid var(--line);
	position: sticky;
	top: 0;
	z-index: 10;
}
.nav {
	display: flex;
	align-items: center;
	gap: 34px;
	min-height: 82px;
}
.brand {
	display: flex;
	align-items: center;
	gap: 10px;
	font:
		800 1.55rem Manrope,
		sans-serif;
	letter-spacing: -0.06em;
	margin-right: auto;
}
.brand-mark {
	width: 37px;
	height: 37px;
	border-radius: 12px 12px 12px 4px;
	background: var(--yellow);
	display: grid;
	place-items: center;
	font-size: 1.12rem;
	transform: rotate(-7deg);
}
.brand-mark span {
	transform: rotate(7deg);
}
.nav-links {
	display: flex;
	align-items: center;
	gap: 31px;
	font-weight: 700;
	font-size: 0.94rem;
}
.nav-links a[aria-current="page"] {
	color: #386d9f;
}
.nav-actions {
	display: flex;
	align-items: center;
	gap: 16px;
	font-size: 0.94rem;
	font-weight: 700;
}
.button {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	gap: 10px;
	border-radius: 9px;
	padding: 14px 22px;
	background: var(--yellow);
	color: #102a4b;
	font-weight: 800;
	line-height: 1.2;
	min-height: 50px;
	box-shadow: 0 4px 0 #d3a72e;
	transition:
		transform 0.2s,
		box-shadow 0.2s;
}
.button:hover {
	text-decoration: none;
	transform: translateY(-2px);
	box-shadow: 0 6px 0 #d3a72e;
}
.button.dark {
	background: var(--ink);
	color: white;
	box-shadow: 0 4px 0 #071729;
}
.button.outline {
	background: transparent;
	border: 1.5px solid var(--ink);
	box-shadow: none;
}
.button.white {
	background: white;
	box-shadow: none;
}
.text-link {
	font-weight: 800;
	color: #1d537f;
	border-bottom: 2px solid #e3b52f;
	padding-bottom: 3px;
}
.hero {
	padding: 88px 0 96px;
	overflow: hidden;
}
.hero-grid {
	display: grid;
	grid-template-columns: 1fr 1.04fr;
	align-items: center;
	gap: 68px;
}
.hero-copy {
	max-width: 590px;
}
.hero-copy .lead {
	font-size: 1.23rem;
	line-height: 1.55;
	max-width: 550px;
	margin-bottom: 32px;
}
.hero-actions {
	display: flex;
	gap: 14px;
	flex-wrap: wrap;
}
.micro {
	font-size: 0.86rem;
	margin-top: 25px;
}
.hero-visual {
	position: relative;
}
.hero-photo {
	width: 100%;
	height: 500px;
	object-fit: cover;
	border-radius: 20px;
	box-shadow: 18px 18px 0 #e7edf0;
}
.hero-photo.publisher {
	object-position: 60% center;
}
.hero-photo.advertiser {
	object-position: 54% center;
}
.floating-card {
	position: absolute;
	left: -28px;
	bottom: -31px;
	background: white;
	border-radius: 12px;
	padding: 17px 21px;
	box-shadow: 0 14px 42px #11294a26;
	max-width: 245px;
	border: 1px solid #e7edf0;
}
.floating-card strong {
	display: block;
	font: 800 1rem Manrope;
}
.floating-card span {
	font-size: 0.85rem;
	color: var(--muted);
}
.small-check {
	display: inline-grid;
	place-items: center;
	border-radius: 50%;
	width: 23px;
	height: 23px;
	background: #d9f1df;
	color: #19643a;
	margin-right: 7px;
}
.section {
	padding: 100px 0;
}
.section.alt {
	background: #eef3f5;
}
.section.navy {
	background: var(--ink);
	color: #fff;
}
.section.navy p,
.section.navy .eyebrow {
	color: #b7d0df;
}
.section-head {
	max-width: 670px;
	margin-bottom: 42px;
}
.section-head p {
	font-size: 1.12rem;
}
.cards {
	display: grid;
	grid-template-columns: repeat(3, 1fr);
	gap: 18px;
}
.card {
	background: white;
	border: 1px solid var(--line);
	border-radius: 16px;
	padding: 30px;
	min-height: 270px;
}
.card p {
	margin-bottom: 0;
}
.card .num {
	font: 800 0.95rem Manrope;
	color: #2d6e9b;
	border-bottom: 3px solid var(--yellow);
	display: inline-block;
	margin-bottom: 35px;
}
.two-path {
	display: grid;
	grid-template-columns: 1fr 1fr;
	gap: 22px;
}
.path {
	border-radius: 18px;
	padding: 45px;
	min-height: 370px;
	display: flex;
	flex-direction: column;
	align-items: flex-start;
}
.path.publisher-path {
	background: #dceaf0;
}
.path.advertiser-path {
	background: #f9eabb;
}
.path .tag {
	font-size: 0.78rem;
	font-weight: 800;
	text-transform: uppercase;
	letter-spacing: 0.14em;
	color: #315d7c;
}
.path h3 {
	font-size: clamp(1.6rem, 2.5vw, 2.4rem);
	margin: 32px 0 14px;
}
.path p {
	max-width: 420px;
}
.path .text-link {
	margin-top: auto;
}
.split {
	display: grid;
	grid-template-columns: 1fr 1fr;
	gap: 80px;
	align-items: center;
}
.quote-panel {
	padding: 52px;
	border-radius: 18px;
	background: #f8e9ad;
}
.quote-panel .large {
	font: 800 clamp(3rem, 5vw, 5rem) / 1 Manrope;
	letter-spacing: -0.06em;
	color: var(--ink);
	margin-bottom: 15px;
}
.quote-panel p {
	margin: 0;
}
.example {
	border-radius: 18px;
	background: #fff;
	border: 1px solid var(--line);
	padding: 32px;
	box-shadow: 0 14px 40px #11294a0b;
}
.example .row {
	display: flex;
	justify-content: space-between;
	gap: 15px;
	padding: 16px 0;
	border-bottom: 1px solid var(--line);
}
.example .row:last-child {
	border: none;
}
.example .row strong {
	font-family: Manrope;
}
.example .total {
	font-size: 1.25rem;
}
.note {
	font-size: 0.88rem;
	color: var(--muted);
}
.feature-list {
	display: grid;
	gap: 22px;
}
.feature {
	display: flex;
	gap: 17px;
}
.feature-icon {
	flex: none;
	width: 36px;
	height: 36px;
	border-radius: 9px;
	background: var(--yellow);
	display: grid;
	place-items: center;
	font-weight: 800;
}
.feature h3 {
	margin-bottom: 7px;
}
.feature p {
	margin-bottom: 0;
}
.image-block {
	border-radius: 18px;
	width: 100%;
	height: 470px;
	object-fit: cover;
	box-shadow: 14px 14px 0 #d7e5eb;
}
.cta {
	text-align: center;
	padding: 100px 0;
}
.cta h2 {
	max-width: 850px;
	margin: 0 auto 18px;
}
.cta p {
	max-width: 630px;
	margin: 0 auto 30px;
	font-size: 1.1rem;
}
.site-footer {
	background: #0b203a;
	color: #fff;
	padding: 62px 0 30px;
}
.footer-grid {
	display: grid;
	grid-template-columns: 2fr 1fr 1fr 1fr;
	gap: 45px;
}
.site-footer p {
	color: #aec2d2;
	max-width: 390px;
}
.site-footer h3 {
	font-size: 1rem;
	letter-spacing: 0;
	margin-bottom: 16px;
}
.footer-grid a {
	color: #d6e3eb;
	display: block;
	margin: 9px 0;
}
.footer-bottom {
	border-top: 1px solid #2b4561;
	margin-top: 55px;
	padding-top: 22px;
	color: #9db1c3;
	font-size: 0.85rem;
}
.footer-bottom a {
	display: inline;
	color: #c3d3df;
}
.hero.compact {
	padding: 78px 0 93px;
}
.hero.compact .hero-photo {
	height: 480px;
}
.steps {
	counter-reset: step;
	display: grid;
	grid-template-columns: repeat(3, 1fr);
	gap: 25px;
}
.step {
	border-top: 2px solid var(--line);
	padding-top: 24px;
}
.step:before {
	counter-increment: step;
	content: "0" counter(step);
	font: 800 0.95rem Manrope;
	color: #2d6e9b;
	display: block;
	margin-bottom: 25px;
}
.step p {
	max-width: 310px;
}
.faq {
	border-top: 1px solid var(--line);
	max-width: 830px;
}
.faq details {
	border-bottom: 1px solid var(--line);
	padding: 20px 0;
}
.faq summary {
	font: 800 1.06rem Manrope;
	cursor: pointer;
	list-style: none;
	display: flex;
	justify-content: space-between;
}
.faq summary:after {
	content: "+";
	font-size: 1.4rem;
}
.faq details[open] summary:after {
	content: "−";
}
.faq p {
	margin: 12px 0 0;
}
.banner {
	background: #f3d571;
	padding: 25px 0;
}
.banner .wrap {
	display: flex;
	justify-content: space-between;
	align-items: center;
	gap: 20px;
}
.banner p {
	margin: 0;
	color: var(--ink);
	font-weight: 700;
}
.mini-label {
	display: inline-block;
	background: #dceaf0;
	border-radius: 100px;
	padding: 5px 12px;
	font-size: 0.78rem;
	color: #25577d;
	font-weight: 800;
	margin-bottom: 20px;
}
.mock-newsletter {
	background: #fff;
	border: 1px solid var(--line);
	border-radius: 16px;
	box-shadow: 0 15px 40px #11294a13;
	padding: 31px;
	max-width: 520px;
	margin: auto;
}
.mock-newsletter .masthead {
	font: 800 1.2rem Manrope;
	border-bottom: 2px solid var(--ink);
	padding-bottom: 12px;
}
.mock-newsletter .photo {
	width: 100%;
	height: 180px;
	object-fit: cover;
	margin: 20px 0;
}
.mock-newsletter .sponsor {
	background: #e8f0f5;
	border: 1px solid #c9dbe7;
	padding: 19px;
	border-radius: 8px;
	margin-top: 18px;
}
.mock-newsletter .sponsor .label {
	font-size: 0.7rem;
	text-transform: uppercase;
	letter-spacing: 0.12em;
	color: #557792;
	font-weight: 800;
}
.mock-newsletter .sponsor h3 {
	font-size: 1.1rem;
	margin: 7px 0;
}
.mock-newsletter .sponsor p {
	font-size: 0.85rem;
	margin: 0;
}
.mock-newsletter .line {
	height: 9px;
	border-radius: 4px;
	background: #dde6eb;
	margin: 10px 0;
}
.mock-newsletter .line.short {
	width: 65%;
}
.nav-toggle {
	display: none;
}
@media (max-width: 900px) {
	.nav {
		min-height: 70px;
	}
	.nav-links {
		gap: 14px;
	}
	.nav-actions .login {
		display: none;
	}
	.hero-grid,
	.split {
		gap: 38px;
	}
	.footer-grid {
		grid-template-columns: 1fr 1fr;
		gap: 32px;
	}
	.hero-photo {
		height: 420px;
	}
	.cards {
		grid-template-columns: 1fr 1fr;
	}
	.steps {
		gap: 15px;
	}
}
@media (max-width: 700px) {
	.wrap {
		width: min(100% - 36px, 1180px);
	}
	.nav {
		flex-wrap: wrap;
		gap: 0;
		padding: 13px 0;
	}
	.brand {
		font-size: 1.35rem;
	}
	.nav-toggle {
		display: block;
		border: 0;
		background: none;
		font: 800 1rem Manrope;
		padding: 10px;
		cursor: pointer;
	}
	.nav-links {
		display: none;
		order: 3;
		flex-basis: 100%;
		flex-direction: column;
		align-items: flex-start;
		padding: 20px 0;
	}
	.nav-links.open {
		display: flex;
	}
	.nav-actions {
		margin-left: auto;
	}
	.nav-actions .button {
		display: none;
	}
	.hero,
	.hero.compact {
		padding: 57px 0 72px;
	}
	.hero-grid,
	.split,
	.two-path,
	.footer-grid {
		grid-template-columns: 1fr;
	}
	.hero-visual {
		margin: 5px 15px 22px 0;
	}
	.hero-photo,
	.hero.compact .hero-photo {
		height: 350px;
	}
	.floating-card {
		left: -8px;
		bottom: -22px;
	}
	.section {
		padding: 70px 0;
	}
	.cards,
	.steps {
		grid-template-columns: 1fr;
	}
	.card {
		min-height: auto;
	}
	.path {
		min-height: 310px;
		padding: 30px;
	}
	.banner .wrap {
		align-items: flex-start;
		flex-direction: column;
	}
	.image-block {
		height: 340px;
	}
	.cta {
		padding: 75px 0;
	}
	.footer-grid {
		gap: 20px;
	}
	.site-footer {
		padding-top: 50px;
	}
}

/* Public refresh: readable navigation, keyboard access and clearer journeys */
html {
	scroll-padding-top: 110px;
}
.skip-link {
	position: fixed;
	top: -70px;
	left: 16px;
	z-index: 100;
	background: #11294a;
	color: white;
	padding: 12px 20px;
}
.skip-link:focus {
	top: 12px;
}
a:focus-visible,
button:focus-visible,
summary:focus-visible {
	outline: 3px solid #2c75ba;
	outline-offset: 5px;
}
.hero h1 {
	font-size: clamp(2.7rem, 4.7vw, 4.6rem);
}
.steps.four {
	grid-template-columns: repeat(4, minmax(0, 1fr));
}
.mock-newsletter {
	color: var(--ink);
}
.section.navy .mock-newsletter p {
	color: var(--muted);
}
.example .row strong {
	text-align: right;
}
.nav-links {
	gap: 24px;
}
.nav-actions .button {
	white-space: nowrap;
}
@media (max-width: 1050px) {
	.nav {
		gap: 18px;
	}
	.nav-links {
		gap: 16px;
		font-size: 0.85rem;
	}
	.nav-actions .button {
		padding: 12px 15px;
	}
	.steps.four {
		grid-template-columns: repeat(2, minmax(0, 1fr));
	}
}
@media (max-width: 700px) {
	.steps.four {
		grid-template-columns: 1fr;
	}
	.nav-actions {
		display: none;
	}
	.nav-links.open .mobile-account {
		display: block;
	}
	.hero h1 {
		font-size: clamp(2.4rem, 9vw, 3.8rem);
	}
}
@media (prefers-reduced-motion: reduce) {
	html {
		scroll-behavior: auto;
	}
	* {
		transition: none !important;
	}
}

.mobile-account {
	display: none;
}

/* ============================================================
   HeyAmigo site extensions
   Added to blend the existing PHP pages into the refresh design:
   logo, page headers, sub navigation, forms, legal typography,
   learn steps and quote cards.
   ============================================================ */

/* Site logo (SVG wordmark) */
.brand-logo {
	height: 48px;
	width: auto;
}
.site-footer .brand-logo {
	height: 44px;
}

/* Simple page header for inner pages */
.page-head {
	padding: 62px 0 6px;
}
.page-head h1 {
	font-size: clamp(2.2rem, 4vw, 3.3rem);
	margin-bottom: 0;
}
.page-head .eyebrow {
	margin-bottom: 14px;
}

/* Sub navigation (replaces the old side menus) */
.subnav {
	background: var(--white);
	border-block: 1px solid var(--line);
}
.subnav .wrap {
	display: flex;
	flex-wrap: wrap;
	align-items: center;
	gap: 10px 26px;
	padding: 14px 0;
}
.subnav ul {
	list-style: none;
	display: flex;
	flex-wrap: wrap;
	gap: 8px 22px;
	margin: 0;
	padding: 0;
}
.subnav a {
	font-weight: 700;
	font-size: 0.92rem;
	color: var(--muted);
}
.subnav a:hover {
	color: var(--ink);
	text-decoration: none;
}
.subnav li.current a {
	color: var(--ink);
	text-decoration: underline;
}
.subnav-group {
	font-size: 0.72rem;
	text-transform: uppercase;
	letter-spacing: 0.14em;
	font-weight: 800;
	color: #31618c;
	margin-right: 4px;
}

/* Article / legal documents */
.article {
	max-width: 900px;
}
.article h2 {
	font-size: 1.6rem;
	margin-top: 44px;
}
.article p,
.article li {
	color: var(--muted);
}
.article ol,
.article ul {
	padding-left: 22px;
}
.article address {
	font-style: normal;
	color: var(--muted);
	line-height: 1.7;
}

/* Forms */
.field-row {
	margin-bottom: 18px;
}
.field-row label {
	display: block;
	font-weight: 700;
	margin-bottom: 7px;
	font-size: 0.95rem;
}
.field-row input,
.field-row textarea {
	width: 100%;
	max-width: 640px;
	padding: 13px 15px;
	border: 1px solid var(--line);
	border-radius: 9px;
	font: inherit;
	background: var(--white);
	color: var(--ink);
}
.field-row input:focus,
.field-row textarea:focus {
	outline: 3px solid #2c75ba;
	outline-offset: 2px;
	border-color: #2c75ba;
}
.form-actions {
	display: flex;
	align-items: center;
	gap: 20px;
	flex-wrap: wrap;
	margin-top: 8px;
}
.form-actions .button {
	border: 0;
	cursor: pointer;
	font:
		800 1rem Manrope,
		sans-serif;
}
.alert {
	border-radius: 9px;
	padding: 14px 18px;
	font-weight: 700;
	margin-bottom: 22px;
}
.alert.warning {
	background: #fdecea;
	color: #a12a1f;
	border: 1px solid #f3c3bd;
}
.alert.success {
	background: #e9f7ee;
	color: #1c6b3a;
	border: 1px solid #bfe6cd;
}

/* Learn steps */
.screenshot {
	border: 1px solid var(--line);
	border-radius: 12px;
	margin: 26px 0;
	max-width: 100%;
	height: auto;
}
.step-nav {
	display: flex;
	justify-content: space-between;
	gap: 14px;
	margin-top: 28px;
	flex-wrap: wrap;
}
.step-nav .button.is-disabled {
	opacity: 0.4;
	pointer-events: none;
	box-shadow: none;
}
.learn-intro {
	max-width: 760px;
}

/* Quote cards (Buzz) */
.quote-list {
	display: grid;
	gap: 18px;
	margin: 26px 0;
}
.quote {
	background: var(--white);
	border: 1px solid var(--line);
	border-radius: 14px;
	padding: 24px 26px;
}
.quote p {
	margin: 0 0 10px;
}
.quote cite {
	font-style: normal;
	font-weight: 800;
	color: var(--ink);
}
.download-list {
	list-style: none;
	padding: 0;
	display: grid;
	gap: 12px;
}
.download-list a {
	font-weight: 700;
	color: #31618c;
}
