/*
Theme Name: Backlinks Project
Theme URI: https://whitedovesolutions.com/
Author: White Dove Solutions
Author URI: https://whitedovesolutions.com/
Description: Website theme for Backlinks Project: homepage, About, Contact, blog and pages in the same navy, blue and teal style as the dashboard app. "Sign in" and "Get started" lead to the app on its subdomain.
Version: 3.4.0
Requires at least: 5.8
Tested up to: 6.6
Requires PHP: 7.4
License: GNU General Public License v2 or later
License URI: https://www.gnu.org/licenses/gpl-2.0.html
Text Domain: backlinks-project-theme
Tags: one-column, custom-logo, custom-menu, featured-images, blog
*/

:root {
	--bp-navy: #0b2e5b;
	--bp-navy-deep: #0a2448;
	--bp-blue: #0a72c4;
	--bp-blue-hover: #085a9c;
	--bp-blue-logo: #0a7fd6;
	--bp-teal: #0bb8a8;
	--bp-teal-text: #08786c;
	--bp-bg: #f5f8fb;
	--bp-card: #ffffff;
	--bp-ink: #0b2e5b;
	--bp-mute: #5a6b82;
	--bp-line: #dce5ef;
	--bp-soft: #e6f1fb;
	--bp-chip: #edf2f8;
	--bp-radius: 16px;
	--bp-grad: linear-gradient(120deg, #0b4f8a 0%, #0a7fd6 55%, #12c9a7 100%);
	--bp-maxw: 1320px;
	--bp-gutter: clamp(20px, 4vw, 48px);
	--bp-font: Inter, system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;
}

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

html { -webkit-text-size-adjust: 100%; }

body {
	margin: 0;
	background: #fff;
	color: var(--bp-ink);
	font: 16px/1.65 var(--bp-font);
}

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

a { color: var(--bp-blue); text-decoration: none; }
a:hover { color: var(--bp-blue-hover); text-decoration: underline; }
a:focus-visible,
button:focus-visible,
input:focus-visible,
textarea:focus-visible,
select:focus-visible { outline: 2px solid var(--bp-blue); outline-offset: 2px; }

h1, h2, h3, h4, h5, h6 {
	color: var(--bp-navy);
	line-height: 1.2;
	letter-spacing: -0.02em;
	margin: 1.6em 0 0.5em;
	font-weight: 700;
}
h1 { font-size: clamp(32px, 4vw, 48px); letter-spacing: -0.04em; }
h2 { font-size: clamp(24px, 3vw, 32px); letter-spacing: -0.03em; }
h3 { font-size: 21px; }

p, ul, ol, blockquote, figure, table, pre { margin: 0 0 1.2em; }

blockquote {
	border-left: 4px solid var(--bp-teal);
	background: var(--bp-card);
	padding: 16px 22px;
	border-radius: 0 12px 12px 0;
	color: var(--bp-navy);
}

code, pre { font-family: ui-monospace, SFMono-Regular, Menlo, monospace; font-size: 0.9em; }
pre { background: var(--bp-navy); color: #e6f1fb; padding: 18px 20px; border-radius: 12px; overflow-x: auto; }
:not(pre) > code { background: var(--bp-chip); padding: 2px 6px; border-radius: 6px; }

table { width: 100%; border-collapse: collapse; background: var(--bp-card); border-radius: 12px; overflow: hidden; }
th, td { text-align: left; padding: 12px 14px; border-bottom: 1px solid var(--bp-line); }
th { color: var(--bp-mute); font-weight: 600; font-size: 14px; }

hr { border: 0; border-top: 1px solid var(--bp-line); margin: 2em 0; }

.screen-reader-text {
	border: 0; clip: rect(1px, 1px, 1px, 1px); clip-path: inset(50%);
	height: 1px; width: 1px; margin: -1px; overflow: hidden; padding: 0;
	position: absolute !important; word-wrap: normal !important;
}
.screen-reader-text:focus {
	clip: auto !important; clip-path: none; height: auto; width: auto;
	display: block; z-index: 100000; top: 8px; left: 8px;
	background: var(--bp-card); color: var(--bp-navy); padding: 12px 18px; border-radius: 8px;
}

/* ---------- Buttons ---------- */
.bp-btn,
.wp-block-button__link,
button,
input[type="submit"],
input[type="button"] {
	display: inline-flex; align-items: center; justify-content: center; gap: 8px;
	min-height: 44px; padding: 10px 20px;
	border: 0; border-radius: 10px;
	background: var(--bp-blue); color: #fff;
	font: 600 15px/1.2 var(--bp-font);
	cursor: pointer; text-decoration: none;
}
.bp-btn:hover,
.wp-block-button__link:hover,
button:hover,
input[type="submit"]:hover,
input[type="button"]:hover { background: var(--bp-blue-hover); color: #fff; text-decoration: none; }
.bp-btn--ghost { background: transparent; color: var(--bp-navy); border: 1px solid #cbd6e2; }
.bp-btn--ghost:hover { background: var(--bp-chip); color: var(--bp-navy); }

input[type="text"], input[type="email"], input[type="url"], input[type="search"],
input[type="password"], input[type="number"], textarea, select {
	width: 100%; min-height: 44px; padding: 10px 12px;
	border: 1px solid var(--bp-line); border-radius: 10px;
	background: var(--bp-card); color: var(--bp-ink); font: inherit;
}

/* ---------- Layout ---------- */
.bp-shell { min-height: 100vh; display: flex; flex-direction: column; }
#bp-content { flex: 1 0 auto; }
/* Full width: every band runs edge to edge, its content sits in a centred column. */
.bp-wrap,
.bp-container { width: 100%; max-width: var(--bp-maxw); margin: 0 auto; padding-left: var(--bp-gutter); padding-right: var(--bp-gutter); }
.bp-narrow { max-width: 780px; margin: 0 auto; }
.bp-band { background: #fff; }

/* ---------- Header ---------- */
.bp-header {
	position: sticky; top: 0; z-index: 50;
	background: rgba(255, 255, 255, 0.96);
	border-bottom: 1px solid var(--bp-line);
	backdrop-filter: saturate(1.4) blur(8px);
}
.admin-bar .bp-header { top: 32px; }
@media (max-width: 782px) { .admin-bar .bp-header { top: 46px; } }
.bp-header__in { position: relative; display: flex; align-items: center; gap: 26px; flex-wrap: wrap; padding-top: 14px; padding-bottom: 14px; }
.bp-brand { display: inline-flex; align-items: center; margin-right: auto; line-height: 0; }
.bp-brand img,
.bp-brand .custom-logo { height: 54px; width: auto; display: block; }
.bp-brand:hover { text-decoration: none; }

.bp-nav ul { list-style: none; margin: 0; padding: 0; display: flex; align-items: center; gap: 6px; flex-wrap: wrap; }
.bp-nav li { position: relative; }
.bp-nav a {
	display: inline-flex; align-items: center; min-height: 40px; padding: 8px 12px;
	border-radius: 8px; color: #2b405a; font-weight: 600; font-size: 14.5px;
}
.bp-nav a:hover { background: var(--bp-chip); color: var(--bp-blue); text-decoration: none; }
.bp-nav .current-menu-item > a,
.bp-nav .current_page_item > a { background: var(--bp-soft); color: var(--bp-blue); }
.bp-nav .sub-menu {
	display: none; position: absolute; top: 100%; left: 0; z-index: 30;
	min-width: 220px; padding: 8px; flex-direction: column; align-items: stretch;
	background: var(--bp-card); border: 1px solid var(--bp-line); border-radius: 12px;
	box-shadow: 0 12px 30px rgba(11, 46, 91, 0.12);
}
.bp-nav li:hover > .sub-menu,
.bp-nav li:focus-within > .sub-menu { display: flex; }

.bp-header__cta { display: flex; gap: 10px; align-items: center; }

.bp-menu-toggle {
	display: none; min-height: 44px; min-width: 44px; padding: 0 12px;
	background: var(--bp-chip); color: var(--bp-navy);
}
.bp-menu-toggle:hover { background: var(--bp-soft); color: var(--bp-navy); }
.bp-menu-toggle svg { width: 22px; height: 22px; }

@media (max-width: 860px) {
	.bp-header__in { padding-top: 10px; padding-bottom: 10px; gap: 12px; }
	.bp-brand img, .bp-brand .custom-logo { height: 44px; }
	.bp-menu-toggle { display: inline-flex; }
	.bp-nav { display: none; width: 100%; order: 3; }
	.bp-header.is-open .bp-nav { display: block; }
	.bp-nav ul { flex-direction: column; align-items: stretch; }
	.bp-nav .sub-menu { display: flex; position: static; box-shadow: none; border: 0; padding: 0 0 0 14px; }
	.bp-header__cta { display: none; width: 100%; order: 4; }
	.bp-header.is-open .bp-header__cta { display: flex; }
}

/* ---------- Page hero ---------- */
.bp-hero {
	position: relative; overflow: hidden;
	padding: 64px 0 68px;
	background: #f2f7fc;
	border-bottom: 1px solid #e3ebf4;
}
.bp-hero h1 { margin: 0 0 10px; }
.bp-hero p { color: var(--bp-mute); font-size: 17px; max-width: 640px; margin: 0; }
.bp-eyebrow {
	display: inline-flex; align-items: center; gap: 8px;
	margin-bottom: 18px; padding: 6px 12px;
	background: var(--bp-soft); color: var(--bp-blue);
	border: 1px solid #c7def5; border-radius: 999px;
	font-size: 12px; font-weight: 700; letter-spacing: 0.02em; text-transform: uppercase;
}
.bp-eyebrow::before { content: ""; width: 7px; height: 7px; border-radius: 50%; background: var(--bp-teal); }
.bp-accent {
	background: linear-gradient(100deg, #0a72c4 10%, #0a9fb8 90%);
	-webkit-background-clip: text; background-clip: text; color: transparent;
}
@media (max-width: 860px) { .bp-hero { padding: 40px 0 42px; } }

/* ---------- Content ---------- */
.bp-main { padding-top: 56px; padding-bottom: 88px; padding-left: var(--bp-gutter); padding-right: var(--bp-gutter); }

.bp-card {
	background: var(--bp-card);
	border: 1px solid #e3eaf2; border-radius: var(--bp-radius);
	padding: 34px 40px;
	box-shadow: 0 1px 2px rgba(11, 46, 91, 0.04);
}
@media (max-width: 860px) { .bp-card { padding: 22px 20px; } }

.entry-content > *:first-child { margin-top: 0; }
.entry-content img { border-radius: 12px; }
.entry-content ul li::marker { color: var(--bp-teal); }

.bp-meta { color: var(--bp-mute); font-size: 14px; margin: 0 0 22px; }
.bp-meta a { color: var(--bp-mute); }

.bp-grid {
	display: grid; gap: 18px;
	grid-template-columns: repeat(auto-fill, minmax(min(100%, 330px), 1fr));
}
.bp-post-card {
	display: flex; flex-direction: column;
	background: var(--bp-card); border: 1px solid #e3eaf2; border-radius: var(--bp-radius);
	overflow: hidden; transition: box-shadow 0.18s ease, transform 0.18s ease;
}
.bp-post-card:hover { box-shadow: 0 14px 34px rgba(11, 46, 91, 0.1); transform: translateY(-2px); }
.bp-post-card__thumb { position: relative; display: block; aspect-ratio: 16 / 9; overflow: hidden; background: var(--bp-grad); flex: 0 0 auto; }
.bp-post-card__thumb img { position: absolute; inset: 0; width: 100%; height: 100%; max-width: none; object-fit: cover; display: block; border-radius: 0; transition: transform .5s cubic-bezier(.2,.7,.3,1); }
.bp-post-card:hover .bp-post-card__thumb img { transform: scale(1.04); }
.bp-post-card__body { padding: 20px 22px 24px; display: flex; flex-direction: column; gap: 8px; flex: 1; }
.bp-post-card h2 { font-size: 20px; margin: 0; letter-spacing: -0.02em; }
.bp-post-card h2 a { color: var(--bp-navy); }
.bp-post-card p { color: var(--bp-mute); font-size: 15px; margin: 0; }
.bp-tag {
	align-self: flex-start; background: #def4f0; color: var(--bp-teal-text);
	border-radius: 6px; padding: 2px 8px; font-size: 12.5px; font-weight: 600;
}

.bp-pagination { margin-top: 36px; }
.bp-pagination .nav-links { display: flex; gap: 8px; flex-wrap: wrap; }
.bp-pagination .page-numbers {
	display: inline-grid; place-items: center; min-width: 44px; min-height: 44px; padding: 0 12px;
	background: var(--bp-card); border: 1px solid var(--bp-line); border-radius: 10px; color: var(--bp-navy);
}
.bp-pagination .page-numbers.current { background: var(--bp-soft); color: var(--bp-blue); border-color: #c7def5; font-weight: 700; }

.post-navigation { margin-top: 26px; }
.post-navigation .nav-links { display: flex; justify-content: space-between; gap: 14px; flex-wrap: wrap; }

/* Comments */
.bp-comments { margin-top: 26px; }
.bp-comments .comment-list { list-style: none; padding: 0; }
.bp-comments .comment-body { border-bottom: 1px solid var(--bp-line); padding: 16px 0; }
.bp-comments .comment-meta { font-size: 14px; color: var(--bp-mute); }

/* Search form */
.bp-search { display: flex; gap: 8px; max-width: 520px; }

/* ---------- Gutenberg alignments ---------- */
.alignwide { margin-left: -40px; margin-right: -40px; }
.alignfull { margin-left: -40px; margin-right: -40px; max-width: none; }
@media (max-width: 860px) { .alignwide, .alignfull { margin-left: -20px; margin-right: -20px; } }
.aligncenter { margin-left: auto; margin-right: auto; display: block; }
.alignleft { float: left; margin: 0 1.2em 1em 0; }
.alignright { float: right; margin: 0 0 1em 1.2em; }
.wp-caption-text, figcaption { color: var(--bp-mute); font-size: 14px; text-align: center; margin-top: 6px; }
.has-text-align-center { text-align: center; }

/* ---------- Buttons: extra sizes and colours ---------- */
.bp-btn--lg { min-height: 50px; padding: 13px 24px; font-size: 15.5px; }
.bp-btn--light { background: #fff; color: var(--bp-navy); }
.bp-btn--light:hover { background: #e6f1fb; color: var(--bp-navy); }
.bp-btn--outline-light { background: transparent; color: #fff; border: 1px solid rgba(255,255,255,.55); }
.bp-btn--outline-light:hover { background: rgba(255,255,255,.12); color: #fff; }
.bp-ico { width: 20px; height: 20px; flex: 0 0 auto; }
.bp-btn .bp-ico { width: 16px; height: 16px; }
.bp-header__cta .bp-btn { min-height: 42px; padding: 9px 16px; font-size: 14.5px; }
.bp-header__cta .bp-btn--ghost { border-color: #cbd6e2; }

/* ---------- Homepage hero ---------- */
.bp-band--hero { background: #f2f7fc; border-bottom: 1px solid #e3ebf4; }
.bp-hero--home {
	display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, .92fr); gap: 64px; align-items: center;
	padding-top: 88px; padding-bottom: 96px;
}
.bp-hero--home h1 { font-size: clamp(38px, 4.4vw, 64px); line-height: 1.03; letter-spacing: -.055em; margin: 0 0 18px; max-width: 690px; }
.bp-hero--home p { font-size: 17px; line-height: 1.7; max-width: 570px; color: var(--bp-mute); margin: 0; }
.bp-cta-row { display: flex; gap: 12px; flex-wrap: wrap; margin-top: 26px; }
.bp-stats { display: flex; gap: 0; flex-wrap: wrap; margin: 34px 0 0; }
.bp-stats div { border-left: 2px solid #b9cde3; padding: 2px 30px 2px 16px; margin: 6px 0; }
.bp-stats dt { font-size: 22px; font-weight: 700; color: var(--bp-navy); letter-spacing: -.02em; }
.bp-stats dd { margin: 0; font-size: 13.5px; color: var(--bp-mute); }

.bp-mock {
	background: #fff; border: 1px solid #e3eaf2; border-radius: 20px; padding: 18px 20px 20px;
	box-shadow: 0 30px 60px rgba(11, 46, 91, .12); transform: rotate(-.6deg);
}
.bp-mock__bar { display: flex; gap: 6px; align-items: center; margin-bottom: 14px; }
.bp-mock__bar i { width: 9px; height: 9px; border-radius: 50%; background: #c9d6e4; }
.bp-mock__bar span { margin-left: auto; font-size: 11px; letter-spacing: .06em; text-transform: uppercase; color: #8495a8; }
.bp-mock__title { font-weight: 700; color: var(--bp-navy); margin: 0; }
.bp-mock__sub { font-size: 12.5px; color: var(--bp-mute); margin: 4px 0 8px; }
.bp-mock__row { display: flex; justify-content: space-between; align-items: center; gap: 12px; padding: 13px 4px; border-top: 1px solid #e8eef5; }
.bp-mock__row b { display: block; color: var(--bp-navy); font-size: 15px; }
.bp-mock__row span { font-size: 12.5px; color: var(--bp-mute); }
.bp-mock__row em { font-style: normal; font-weight: 700; color: var(--bp-blue); border: 1px solid var(--bp-line); border-radius: 9px; padding: 7px 10px; white-space: nowrap; font-size: 14px; }
.bp-mock__foot { display: flex; justify-content: flex-end; margin-top: 12px; }

/* ---------- Sections ---------- */
.bp-sec { padding: 96px 0; background: #fff; }
.bp-sec h2 { font-size: clamp(28px, 3.2vw, 42px); letter-spacing: -.045em; margin: 0 0 10px; max-width: 820px; }
.bp-sub { color: var(--bp-mute); font-size: 16.5px; max-width: 640px; margin: 0 0 28px; }
.bp-sec--panel { background: #eef3f9; border-top: 1px solid #e3ebf4; border-bottom: 1px solid #e3ebf4; }
.bp-sec__head { display: flex; justify-content: space-between; align-items: flex-end; gap: 18px; flex-wrap: wrap; margin-bottom: 8px; }
.bp-pill { display: inline-flex; align-items: center; gap: 7px; border: 1px solid #c7def5; background: #fff; color: var(--bp-blue); border-radius: 999px; padding: 8px 14px; font-size: 13px; font-weight: 600; margin-bottom: 28px; }

.bp-steps { list-style: none; margin: 0; padding: 0; display: grid; gap: 16px; grid-template-columns: repeat(auto-fit, minmax(min(100%, 230px), 1fr)); }
.bp-tile { background: #fff; border: 1px solid #e3eaf2; border-radius: 16px; padding: 24px 22px; }
.bp-tile h3 { font-size: 18px; margin: 10px 0 6px; letter-spacing: -.02em; }
.bp-tile p { margin: 0; color: var(--bp-mute); font-size: 15px; }
.bp-tile__n { font-size: 13px; font-weight: 800; color: var(--bp-teal-text); background: #def4f0; border-radius: 8px; padding: 4px 9px; }

.bp-plans { display: grid; gap: 16px; grid-template-columns: repeat(4, minmax(0, 1fr)); align-items: stretch; }
@media (max-width: 1180px) { .bp-plans { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 640px) { .bp-plans { grid-template-columns: 1fr; } }
.bp-plan { position: relative; display: flex; flex-direction: column; background: #fff; border: 1px solid #e0e8f1; border-radius: 20px; padding: 28px 24px; }
.bp-plan--featured { border: 2px solid var(--bp-blue); box-shadow: 0 18px 40px rgba(10, 114, 196, .14); }
.bp-plan__badge { align-self: flex-start; font-size: 11.5px; font-weight: 700; letter-spacing: .06em; text-transform: uppercase; color: var(--bp-blue); background: var(--bp-soft); border-radius: 999px; padding: 5px 11px; }
.bp-plan h3 { font-size: 22px; margin: 16px 0 6px; }
.bp-plan__desc { color: var(--bp-mute); font-size: 14.5px; margin: 0 0 18px; min-height: 46px; }
.bp-plan__price { display: flex; align-items: baseline; gap: 6px; margin: 0 0 6px; flex-wrap: wrap; }
.bp-plan__note { font-size: 13px; color: var(--bp-mute); margin: 0 0 18px; }
.bp-plan__price strong { font-size: 42px; letter-spacing: -.05em; color: var(--bp-navy); line-height: 1; }
.bp-plan__price span { color: var(--bp-mute); font-size: 14px; }
.bp-plan .bp-btn { width: 100%; }
.bp-plan__inc { font-size: 13px; font-weight: 700; margin: 22px 0 10px; padding-top: 18px; border-top: 1px solid var(--bp-line); }
.bp-checks { list-style: none; margin: 0; padding: 0; display: grid; gap: 9px; }
.bp-checks li { display: flex; gap: 9px; align-items: center; font-size: 14.5px; color: #2b405a; }
.bp-checks .bp-ico { width: 18px; height: 18px; color: var(--bp-teal-text); background: #def4f0; border-radius: 50%; padding: 3px; }
.bp-fine { font-size: 13px; color: var(--bp-mute); margin: 18px 2px 0; }

.bp-features { display: grid; gap: 16px; grid-template-columns: repeat(auto-fit, minmax(min(100%, 340px), 1fr)); }
.bp-feature__ico { display: inline-grid; place-items: center; width: 42px; height: 42px; border-radius: 12px; background: var(--bp-soft); color: var(--bp-blue); }
.bp-feature__ico .bp-ico { width: 22px; height: 22px; }

.bp-cta-band {
	color: #d6e6f7;
	background: radial-gradient(ellipse at 12% 120%, rgba(255,255,255,.22), transparent 50%), linear-gradient(115deg, #0a72c4 0%, #0a8fd0 45%, #10b9a6 100%);
	background-size: 100% 100%, 160% 160%; position: relative; overflow: hidden;
}
.bp-cta-band h2 { color: #fff; margin: 0 0 6px; font-size: clamp(26px, 3vw, 36px); letter-spacing: -.04em; }
.bp-cta-band p { margin: 0; color: #e8f6ff; }
.bp-cta-band .bp-cta-row { margin-top: 0; }
.bp-cta-band__in { display: flex; justify-content: space-between; align-items: center; gap: 24px; flex-wrap: wrap; padding-top: 72px; padding-bottom: 72px; }

@media (max-width: 960px) {
	.bp-hero--home { grid-template-columns: 1fr; gap: 36px; padding-top: 48px; padding-bottom: 56px; }
	.bp-mock { transform: none; }
	.bp-sec { padding: 60px 0; }
	.bp-cta-band__in { padding-top: 48px; padding-bottom: 48px; }
	.bp-stats div { padding-right: 18px; }
}

/* ---------- Contact ---------- */
.bp-contact { display: grid; grid-template-columns: minmax(0, 1.5fr) minmax(0, 1fr); gap: 20px; align-items: start; }
.bp-contact__side { display: grid; gap: 14px; }
.bp-contact__item { display: flex; gap: 14px; align-items: flex-start; padding: 20px 22px; }
.bp-contact__item h2 { font-size: 15px; margin: 2px 0 4px; letter-spacing: 0; }
.bp-contact__item p { margin: 0; color: var(--bp-mute); font-size: 15px; word-break: break-word; }
.bp-contact__app { background: var(--bp-soft); border-color: #c7def5; }
.bp-contact__app .bp-btn { margin-top: 12px; }
@media (max-width: 860px) { .bp-contact { grid-template-columns: 1fr; } }

.bp-form { display: grid; gap: 14px; margin-top: 8px; }
.bp-form label { display: grid; gap: 6px; font-size: 14px; font-weight: 600; color: var(--bp-navy); }
.bp-form__row { display: grid; gap: 14px; grid-template-columns: repeat(auto-fit, minmax(min(100%, 220px), 1fr)); }
.bp-form .bp-btn { justify-self: start; }
.bp-hp { position: absolute !important; left: -9999px; width: 1px; height: 1px; overflow: hidden; }
.bp-notice { display: flex; gap: 10px; align-items: flex-start; border-radius: 12px; padding: 13px 16px; font-size: 15px; }
.bp-notice--ok { background: #def4f0; color: #08584f; border: 1px solid #b5e6dd; }
.bp-notice--ok .bp-ico { color: #08786c; margin-top: 1px; }
.bp-notice--err { background: #fdecec; color: #8a1f1b; border: 1px solid #f5c2c0; }

/* ---------- Footer ---------- */
.bp-footer { background: var(--bp-navy); color: #c7d3e2; }
.bp-footer__in { display: grid; grid-template-columns: minmax(0, 1.2fr) minmax(0, 2fr); gap: 30px 40px; padding-top: 56px; padding-bottom: 24px; }
.bp-footer__brand img { height: 46px; width: auto; display: block; }
.bp-footer__tag { margin: 12px 0 0; max-width: 300px; font-size: 14.5px; line-height: 1.5; color: #a9bfd8; }
.bp-footer__cols { display: grid; gap: 24px; grid-template-columns: repeat(auto-fit, minmax(150px, 1fr)); }
.bp-footer__h { font-size: 12px; text-transform: uppercase; letter-spacing: .08em; color: #8fb0d3; margin: 0 0 8px; font-weight: 700; line-height: 1.4; }
.bp-footer ul { list-style: none; margin: 0; padding: 0; display: grid; gap: 4px; line-height: 1.45; }
.bp-footer a { color: #e2ecf7; font-size: 14.5px; }
.bp-footer a:hover { color: #fff; }
.bp-footer__copy { grid-column: 1 / -1; border-top: 1px solid rgba(255,255,255,.12); padding-top: 16px; font-size: 13.5px; line-height: 1.4; color: #a9bfd8; display: flex; flex-wrap: wrap; gap: 6px 24px; justify-content: space-between; align-items: center; }
.bp-footer__legal { display: flex; flex-wrap: wrap; gap: 6px 20px; }
.bp-footer__copy a { font-size: 13.5px; color: #c9d9ea; }
.bp-footer__sep { color: #6f8fb3; margin: 0 4px; }
.bp-footer__legal a { font-size: 13.5px; color: #c9d9ea; }

/* Privacy Policy and Terms pages */
.bp-legal-date { color: var(--bp-mute); font-size: 14px; margin-top: 0; }
.bp-page .entry-content h2 { scroll-margin-top: 90px; }
@media (max-width: 860px) { .bp-footer__in { grid-template-columns: 1fr; padding-top: 44px; } }

/* Cards inside homepage sections keep their own heading size. */
.bp-sec .bp-post-card h2 { font-size: 20px; letter-spacing: -.02em; margin: 0; max-width: none; }
/* "Pricing" points at the homepage, so don't mark it as the current page. */
.bp-nav .menu-item-type-custom.current-menu-item > a { background: none; color: #2b405a; font-weight: 600; }
.bp-nav .menu-item-type-custom.current-menu-item > a:hover { background: var(--bp-chip); color: var(--bp-blue); }

/* Editor font sizes, scaled to the site. */
.entry-content .has-small-font-size { font-size: 14px; }
.entry-content .has-medium-font-size { font-size: 18px; }
.entry-content .has-large-font-size { font-size: 21px; line-height: 1.55; color: var(--bp-navy); }
.entry-content .has-x-large-font-size { font-size: 26px; line-height: 1.4; }
.bp-page { max-width: calc(900px + 2 * var(--bp-gutter)); margin: 0 auto; }
/* On the white full-width pages the content no longer needs its own box. */
.bp-page > .bp-card { background: none; border: 0; box-shadow: none; padding: 0; font-size: 17px; line-height: 1.75; }

/* =========================================================================
   Motion: hover states, pulse, scroll reveal (all off for reduced motion)
   ========================================================================= */
.bp-eyebrow--live::before { animation: bp-pulse 2s ease-out infinite; }
@keyframes bp-pulse {
	0% { box-shadow: 0 0 0 0 rgba(11, 184, 168, .55); }
	70% { box-shadow: 0 0 0 9px rgba(11, 184, 168, 0); }
	100% { box-shadow: 0 0 0 0 rgba(11, 184, 168, 0); }
}

.bp-accent { background-size: 200% 100%; animation: bp-sheen 8s ease-in-out infinite alternate; }
@keyframes bp-sheen { from { background-position: 0% 50%; } to { background-position: 100% 50%; } }

.bp-hero--home .bp-mock { animation: bp-float 7s ease-in-out infinite; }
@keyframes bp-float { 0%, 100% { translate: 0 0; } 50% { translate: 0 -10px; } }
.bp-mock__row { border-radius: 10px; transition: background .2s ease, padding .2s ease; }
.bp-mock__row:hover { background: #f3f8fd; padding-left: 10px; padding-right: 10px; }

/* Step and feature cards */
.bp-tile { transition: transform .28s cubic-bezier(.2,.7,.3,1), box-shadow .28s ease, background-color .28s ease, border-color .28s ease; }
.bp-tile:hover { transform: translateY(-5px); background-color: #f3f8fd; border-color: #c6dbf0; box-shadow: 0 16px 34px rgba(11, 46, 91, .09); }
.bp-tile__n { display: inline-block; transition: background .25s ease, color .25s ease, transform .25s ease; }
.bp-tile:hover .bp-tile__n { background: var(--bp-teal); color: #fff; transform: scale(1.06); }
.bp-feature__ico { transition: background .25s ease, color .25s ease, transform .3s cubic-bezier(.2,.7,.3,1); }
.bp-tile:hover .bp-feature__ico { background: var(--bp-blue); color: #fff; transform: rotate(-6deg) scale(1.06); }

/* Plan cards */
.bp-plan { transition: transform .3s cubic-bezier(.2,.7,.3,1), box-shadow .3s ease, border-color .3s ease, background-color .3s ease; }
.bp-plan:hover { transform: translateY(-7px); background-color: #fbfdff; border-color: #9fc6ea; box-shadow: 0 22px 44px rgba(11, 46, 91, .12); }
.bp-plan--featured:hover { border-color: var(--bp-blue); box-shadow: 0 26px 52px rgba(10, 114, 196, .2); }
.bp-plan__badge { transition: background .25s ease, color .25s ease; }
.bp-plan:hover .bp-plan__badge { background: var(--bp-blue); color: #fff; }
.bp-plan .bp-checks .bp-ico { transition: transform .25s ease; }
.bp-plan:hover .bp-checks .bp-ico { transform: scale(1.12); }

.bp-btn { transition: background .2s ease, color .2s ease, border-color .2s ease, transform .2s ease, box-shadow .2s ease; }
.bp-btn:hover { transform: translateY(-2px); }
.bp-cta-band .bp-btn--light:hover { box-shadow: 0 10px 22px rgba(4, 40, 80, .25); }
.bp-cta-band { animation: bp-band 12s ease-in-out infinite alternate; }
@keyframes bp-band { from { background-position: 0 0, 0% 50%; } to { background-position: 0 0, 100% 50%; } }

/* Scroll reveal (only when motion.js has switched it on) */
.bp-motion .bp-reveal { opacity: 0; translate: 0 22px; transition: opacity .6s ease, translate .6s cubic-bezier(.2,.7,.3,1), transform .3s cubic-bezier(.2,.7,.3,1), box-shadow .3s ease, border-color .3s ease, background-color .3s ease; transition-delay: calc(var(--d, 0) * 90ms), calc(var(--d, 0) * 90ms), 0s, 0s, 0s, 0s; }
.bp-motion .bp-reveal.is-in { opacity: 1; translate: 0 0; }
.bp-motion .bp-hero--home .bp-mock.bp-reveal.is-in { animation-delay: .6s; }

@media (prefers-reduced-motion: reduce) {
	*, *::before, *::after { animation: none !important; transition: none !important; }
	.bp-tile:hover, .bp-plan:hover, .bp-btn:hover { transform: none; }
}

/* =========================================================================
   Full-width layout (v3): highlights strip, single posts, related posts
   ========================================================================= */
.bp-band--navy { background: var(--bp-navy); color: #fff; }
.bp-highlights { display: grid; gap: 28px; grid-template-columns: repeat(auto-fit, minmax(min(100%, 230px), 1fr)); padding-top: 40px; padding-bottom: 40px; }
.bp-hl { display: flex; gap: 14px; align-items: flex-start; }
.bp-hl__ico { flex: 0 0 40px; width: 40px; height: 40px; border-radius: 12px; background: rgba(255, 255, 255, .1); display: grid; place-items: center; color: #5fe0c8; transition: background .25s ease, transform .3s cubic-bezier(.2,.7,.3,1); }
.bp-hl:hover .bp-hl__ico { background: rgba(255, 255, 255, .18); transform: rotate(-6deg) scale(1.06); }
.bp-hl > div > b { display: block; font-size: 16px; }
.bp-hl > div > span { display: block; font-size: 14px; color: #c3d7ee; line-height: 1.5; margin-top: 2px; }

/* Single post banner: the featured image behind a navy shade, so the title stays readable. */
.bp-post-hero { position: relative; background: #f2f7fc; border-bottom: 1px solid #e3ebf4; }
.bp-post-hero.has-image {
	color: #fff; border-bottom: 0;
	background: linear-gradient(90deg, rgba(7, 26, 52, .94) 0%, rgba(7, 26, 52, .82) 50%, rgba(7, 26, 52, .55) 100%), var(--bp-post-img) center / cover no-repeat;
}
.bp-post-hero__in { padding-top: 56px; padding-bottom: 64px; min-height: 380px; display: flex; flex-direction: column; justify-content: flex-end; }
.bp-crumbs { display: flex; flex-wrap: wrap; gap: 8px; font-size: 14px; color: var(--bp-mute); margin-bottom: auto; padding-bottom: 32px; }
.bp-crumbs a { color: inherit; }
.bp-post-hero__cat { align-self: flex-start; font-size: 12px; font-weight: 700; letter-spacing: .06em; text-transform: uppercase; color: var(--bp-blue); background: #fff; border: 1px solid #c7def5; border-radius: 999px; padding: 6px 12px; }
.bp-post-hero__cat:hover { text-decoration: none; background: var(--bp-soft); }
.bp-post-hero h1 { margin: 16px 0 14px; font-size: clamp(34px, 4.2vw, 56px); line-height: 1.06; letter-spacing: -.045em; font-weight: 800; max-width: 920px; }
.bp-post-hero__lead { margin: 0; font-size: 19px; line-height: 1.6; color: #4a5d75; max-width: 760px; }
.bp-post-hero__meta { display: flex; align-items: center; gap: 14px; margin-top: 28px; font-size: 14px; color: var(--bp-mute); line-height: 1.45; }
.bp-post-hero__meta b { color: var(--bp-navy); }
.bp-post-hero__avatar { width: 40px; height: 40px; border-radius: 50%; }
.bp-post-hero.has-image .bp-crumbs,
.bp-post-hero.has-image .bp-post-hero__meta { color: #c9d9ea; }
.bp-post-hero.has-image h1,
.bp-post-hero.has-image .bp-post-hero__meta b { color: #fff; }
.bp-post-hero.has-image .bp-post-hero__lead { color: #e2ecf7; }
.bp-post-hero.has-image .bp-crumbs a:hover { color: #fff; }

.bp-post-layout { display: flex; flex-wrap: wrap; gap: 56px; align-items: flex-start; padding-top: 64px; padding-bottom: 88px; }
.bp-post-body { flex: 999 1 560px; min-width: 0; max-width: 760px; font-size: 18px; line-height: 1.8; color: #2b405a; }
.bp-post-body .entry-content h2 { font-size: 28px; letter-spacing: -.03em; line-height: 1.25; margin: 1.6em 0 .5em; scroll-margin-top: 100px; }
.bp-post-body .entry-content h3 { scroll-margin-top: 100px; }
.bp-post-body blockquote { border: 0; background: #f2f7fc; border-radius: 16px; padding: 22px 26px; font-size: 20px; line-height: 1.6; font-weight: 600; }
.bp-post-tags { margin: 28px 0 0; }
.bp-post-side { flex: 1 1 280px; min-width: 0; display: flex; flex-direction: column; gap: 18px; }
.bp-toc { border: 1px solid var(--bp-line); border-radius: 18px; padding: 24px; }
.bp-toc__h { margin: 0; font-size: 12px; font-weight: 700; letter-spacing: .08em; text-transform: uppercase; color: var(--bp-mute); }
.bp-toc ul { list-style: none; margin: 14px 0 0; padding: 0; display: flex; flex-direction: column; gap: 10px; font-size: 15px; line-height: 1.45; }
.bp-side-cta { background: var(--bp-navy); color: #fff; border-radius: 18px; padding: 26px; }
.bp-side-cta__h { margin: 0; font-weight: 700; font-size: 19px; line-height: 1.3; }
.bp-side-cta p:not(.bp-side-cta__h) { margin: 8px 0 18px; font-size: 14.5px; line-height: 1.6; color: #c3d7ee; }
.bp-side-cta .bp-btn { width: 100%; }

/* "More from the blog": the post's image as a shaded backdrop. */
.bp-related { background: #eef3f9; border-top: 1px solid #e3ebf4; }
.bp-related.has-image { background: linear-gradient(180deg, rgba(7, 26, 52, .72) 0%, rgba(7, 26, 52, .84) 100%), var(--bp-post-img) center / cover no-repeat; border-top: 0; }
.bp-related .bp-sec__head { margin-bottom: 28px; }
.bp-related .bp-sec__head h2 { margin: 0; }
.bp-related.has-image .bp-sec__head h2 { color: #fff; }
.bp-related.has-image .bp-btn--ghost { color: #fff; border-color: rgba(255, 255, 255, .5); }
.bp-related.has-image .bp-btn--ghost:hover { background: rgba(255, 255, 255, .12); }

@media (max-width: 860px) {
	.bp-post-hero__in { min-height: 300px; padding-top: 32px; padding-bottom: 44px; }
	.bp-post-layout { gap: 36px; padding-top: 40px; padding-bottom: 56px; }
	.bp-post-body { font-size: 17px; }
}

/* Ordinary pages: the title lines up with the text column below it. */
.page-template-default .bp-hero .bp-container { max-width: calc(900px + 2 * var(--bp-gutter)); }

/* Cursor: the site icon, flipped to point up-left; the usual hand over anything clickable. Mouse users only. */
@media (hover: hover) and (pointer: fine) {
	html, body { cursor: url(assets/cursor/icon-24.png) 1 1, auto; cursor: -webkit-image-set(url(assets/cursor/icon-24.png) 1x, url(assets/cursor/icon-24@2x.png) 2x) 1 1, auto; cursor: image-set(url(assets/cursor/icon-24.png) 1x, url(assets/cursor/icon-24@2x.png) 2x) 1 1, auto; }
	a, a *, button, button *, [role="button"], summary, select, label[for], input[type="submit"], input[type="button"], input[type="checkbox"], input[type="radio"], .bp-post-card, .bp-post-card * { cursor: pointer; }
	input:not([type="submit"]):not([type="button"]):not([type="checkbox"]):not([type="radio"]), textarea, [contenteditable="true"] { cursor: text; }
}
