/*
 * Lightbridge component styles.
 *
 * Colors, fonts and spacing come from theme.json as --wp--preset--* custom
 * properties — never hard-code a hex value in this file. Everything here is
 * layout and component behaviour that theme.json cannot express.
 *
 * Contents
 *   1. Base & accessibility
 *   2. Layout: sections, containers, grids
 *   3. Buttons
 *   4. Eyebrow chip & section headers
 *   5. Cards & panels
 *   6. Gradient bands
 *   7. Header
 *   8. Footer
 *   9. Blog: cards, filter, article
 *  10. Accordions, tabs & FAQ
 *  11. Phone mockup, stats, media
 *  12. Forms (Fluent Forms)
 *  13. Print & reduced motion
 */

/* ------------------------------------------------------------------ *
 * 1. Base & accessibility
 * ------------------------------------------------------------------ */

:root {
	--lb-gutter: 32px;
	--lb-container: 1176px;
	--lb-article: 760px;
	--lb-nav-breakpoint: 860px;
	--lb-transition: 180ms ease;
}

html {
	scroll-behavior: smooth;
}

body {
	-webkit-font-smoothing: antialiased;
	-moz-osx-font-smoothing: grayscale;
	text-wrap: pretty;
	overflow-x: hidden;
}

/* Headings should never inherit `pretty`, which can leave a lonely last word. */
h1, h2, h3, h4, h5, h6 {
	text-wrap: balance;
}

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

/* Visible focus on every interactive element — Sunrise Gold reads clearly on
 * both the ivory canvas and the blue gradient bands. */
:focus-visible {
	outline: 3px solid var(--wp--preset--color--sunrise-gold);
	outline-offset: 2px;
	border-radius: 3px;
}

.lb-skip-link {
	position: absolute;
	left: -9999px;
	top: 0;
	z-index: 200;
	background: var(--wp--preset--color--harbor);
	color: var(--wp--preset--color--warm-white);
	padding: 10px 18px;
	border-radius: 0 0 10px 0;
	font-family: var(--wp--preset--font-family--heading);
	font-weight: 700;
	text-decoration: none;
}

.lb-skip-link:focus {
	left: 0;
}

.screen-reader-text {
	border: 0;
	clip-path: inset(50%);
	height: 1px;
	margin: -1px;
	overflow: hidden;
	padding: 0;
	position: absolute;
	width: 1px;
	word-wrap: normal !important;
}

.screen-reader-text:focus {
	clip-path: none;
	height: auto;
	width: auto;
	position: static;
}

/* Every interactive target clears 44px, per the accessibility notes. */
.lb-nav a,
.lb-footer a,
.wp-block-button__link {
	min-height: 44px;
	display: inline-flex;
	align-items: center;
}

/*
 * WordPress puts `margin-block-start: var(--wp--style--block-gap)` between
 * every top-level block. Each design section is one block that already carries
 * its own padding, so that margin lands as an unwanted band between every
 * section — the "weird gaps".
 *
 * The real fix is theme.json: blockGap is 0, so core emits no margin to begin
 * with. This is the backstop, and the selectors are deliberately specific.
 * Core's rule is `:root :where(.wp-site-blocks) > *`, which computes to the
 * same specificity as a plain `.wp-site-blocks > *` — a tie, decided by
 * stylesheet order, which is not guaranteed. Leading with `html body` wins
 * outright instead of relying on which file happens to load last.
 */
html body .wp-site-blocks > *,
html body main.wp-block-group > *,
html body main.wp-block-group > * + *,
html body main.wp-block-group > section,
html body main.wp-block-group > div {
	margin-block-start: 0;
	margin-block-end: 0;
}

/* ------------------------------------------------------------------ *
 * 2. Layout: sections, containers, grids
 * ------------------------------------------------------------------ */

/* A full-bleed band. Its inner constrained content lands at 1176px, so the
 * band edge-to-edge plus the 32px gutter matches the 1240px design frame. */
.lb-section {
	padding-top: var(--wp--preset--spacing--70);
	padding-bottom: var(--wp--preset--spacing--70);
	padding-left: var(--lb-gutter);
	padding-right: var(--lb-gutter);
}

.lb-section--tight {
	padding-top: var(--wp--preset--spacing--60);
	padding-bottom: var(--wp--preset--spacing--60);
}

.lb-section--hero {
	padding-top: 72px;
	padding-bottom: 64px;
}

.lb-section--flush-top {
	padding-top: 0;
}

.lb-section--flush-bottom {
	padding-bottom: 0;
}

@media (max-width: 600px) {
	.lb-section {
		padding-top: var(--wp--preset--spacing--60);
		padding-bottom: var(--wp--preset--spacing--60);
		padding-left: 20px;
		padding-right: 20px;
	}
}

/* Article and legal pages read at a narrower measure. */
.lb-prose > .wp-block-group__inner-container,
.lb-prose {
	max-width: var(--lb-article);
	margin-left: auto;
	margin-right: auto;
}

.lb-prose p {
	margin-bottom: 22px;
}

/*
 * Grids use core's native grid layout (minimumColumnWidth), which emits
 * repeat(auto-fill, minmax(N, 1fr)) — the same reflow-without-breakpoints
 * behaviour the prototype got from auto-fit. These rules only add the
 * stretch behaviour cards need so a row of cards ends up equal height.
 */
.lb-grid > * {
	height: 100%;
}

/* ------------------------------------------------------------------ *
 * 3. Buttons
 * ------------------------------------------------------------------ */

.wp-block-button__link {
	justify-content: center;
	text-align: center;
	transition: background-color var(--lb-transition), color var(--lb-transition), box-shadow var(--lb-transition), transform var(--lb-transition);
}

.wp-block-button__link:hover {
	transform: translateY(-1px);
}

/* Secondary: outlined River Blue. */
.wp-block-button.is-style-lb-secondary .wp-block-button__link {
	background: transparent;
	color: var(--wp--preset--color--river-blue);
	border: 2px solid var(--wp--preset--color--river-blue);
	font-weight: 600;
	box-shadow: none;
	padding: 13px 30px;
}

.wp-block-button.is-style-lb-secondary .wp-block-button__link:hover,
.wp-block-button.is-style-lb-secondary .wp-block-button__link:focus {
	background: rgba(46, 103, 197, 0.08);
	color: var(--wp--preset--color--harbor);
	border-color: var(--wp--preset--color--harbor);
}

/* On a gradient band the primary inverts to warm white on Harbor text. */
.wp-block-button.is-style-lb-inverted .wp-block-button__link {
	background: var(--wp--preset--color--warm-white);
	color: var(--wp--preset--color--harbor);
	box-shadow: 0 8px 22px rgba(16, 40, 80, 0.24);
}

.wp-block-button.is-style-lb-inverted .wp-block-button__link:hover,
.wp-block-button.is-style-lb-inverted .wp-block-button__link:focus {
	background: var(--wp--preset--color--soft-cream);
	color: var(--wp--preset--color--harbor);
}

.wp-block-button.is-style-lb-inverted-outline .wp-block-button__link {
	background: transparent;
	color: var(--wp--preset--color--warm-white);
	border: 2px solid rgba(255, 253, 249, 0.75);
	font-weight: 600;
	box-shadow: none;
	padding: 13px 30px;
}

.wp-block-button.is-style-lb-inverted-outline .wp-block-button__link:hover,
.wp-block-button.is-style-lb-inverted-outline .wp-block-button__link:focus {
	background: rgba(255, 253, 249, 0.14);
	border-color: var(--wp--preset--color--warm-white);
	color: var(--wp--preset--color--warm-white);
}

/* A text link that reads as an action: "View all articles →" */
.wp-block-button.is-style-lb-link .wp-block-button__link {
	background: transparent;
	color: var(--wp--preset--color--river-blue);
	box-shadow: none;
	padding: 8px 0;
	font-size: 17px;
}

.wp-block-button.is-style-lb-link .wp-block-button__link:hover {
	color: var(--wp--preset--color--harbor);
	text-decoration: underline;
	transform: none;
}

/* ------------------------------------------------------------------ *
 * 4. Eyebrow chip & section headers
 * ------------------------------------------------------------------ */

/* Applied to a paragraph: gold dot + uppercase River Blue label. */
.lb-eyebrow {
	display: inline-flex;
	align-items: center;
	gap: 9px;
	margin: 0 0 14px;
	font-family: var(--wp--preset--font-family--heading);
	font-weight: 700;
	font-size: 14px;
	letter-spacing: 0.06em;
	text-transform: uppercase;
	color: var(--wp--preset--color--river-blue);
	line-height: 1.3;
}

.lb-eyebrow::before {
	content: "";
	flex: 0 0 auto;
	width: 9px;
	height: 9px;
	border-radius: 50%;
	background: var(--wp--preset--color--sunrise-gold);
}

/* On a gradient band the eyebrow flips to warm white. */
.lb-on-gradient .lb-eyebrow,
.lb-eyebrow.lb-eyebrow--light {
	color: var(--wp--preset--color--warm-white);
}

/* Section header block: eyebrow -> H2 -> optional Stone subhead. */
.lb-section-header {
	max-width: 760px;
	margin-bottom: 40px;
}

.lb-section-header.has-text-align-center {
	margin-left: auto;
	margin-right: auto;
}

.lb-section-header > * + * {
	margin-top: 14px;
}

.lb-subhead {
	font-size: var(--wp--preset--font-size--body);
	color: var(--wp--preset--color--stone);
	margin: 0;
}

.lb-on-gradient .lb-subhead {
	color: rgba(255, 253, 249, 0.92);
}

/* ------------------------------------------------------------------ *
 * 5. Cards & panels
 * ------------------------------------------------------------------ */

.is-style-lb-card {
	background: var(--wp--preset--color--warm-white);
	border: 1px solid var(--wp--preset--color--card-border);
	border-radius: var(--wp--custom--radius--card);
	padding: var(--wp--preset--spacing--40);
	transition: box-shadow var(--lb-transition), transform var(--lb-transition);
}

/* On a Soft Cream section the border warms up to match. */
.has-soft-cream-background-color .is-style-lb-card {
	border-color: var(--wp--preset--color--cream-border);
}

.is-style-lb-card:hover {
	box-shadow: var(--wp--preset--shadow--card-hover);
}

.is-style-lb-card p:last-child,
.is-style-lb-card h3:last-child {
	margin-bottom: 0;
}

.is-style-lb-card .wp-block-heading {
	margin-top: 0;
}

/* A larger surface — pricing tables, roadmaps, feature panels. */
.is-style-lb-panel {
	background: var(--wp--preset--color--warm-white);
	border: 1px solid var(--wp--preset--color--card-border);
	border-radius: var(--wp--custom--radius--panel);
	padding: var(--wp--preset--spacing--50);
	box-shadow: var(--wp--preset--shadow--panel);
}

/* Care callouts — the only place Dawn Coral appears. */
.is-style-lb-callout {
	background: var(--wp--preset--color--coral-tint);
	border: 1px solid #F6D9CC;
	border-radius: var(--wp--custom--radius--card);
	padding: var(--wp--preset--spacing--40);
}

/* Quiet card on the cream sections. */
.is-style-lb-cream-card {
	background: var(--wp--preset--color--soft-cream);
	border: 1px solid var(--wp--preset--color--cream-border);
	border-radius: var(--wp--custom--radius--card);
	padding: var(--wp--preset--spacing--40);
}

/*
 * Two-tone circle icon: 30px River Blue circle top-left overlapped by a 22px
 * gold circle bottom-right, in a 46x42 box. Rendered from a single empty
 * element so a pattern does not need to carry two nested divs.
 */
.lb-dots {
	position: relative;
	display: block;
	width: 46px;
	height: 42px;
	margin-bottom: 18px;
	flex: 0 0 auto;
}

.lb-dots::before,
.lb-dots::after {
	content: "";
	position: absolute;
	border-radius: 50%;
}

.lb-dots::before {
	left: 0;
	top: 0;
	width: 30px;
	height: 30px;
	background: var(--wp--preset--color--river-blue);
}

.lb-dots::after {
	right: 0;
	bottom: 0;
	width: 22px;
	height: 22px;
	background: rgba(227, 168, 87, 0.92);
}

.lb-dots--sm {
	width: 34px;
	height: 32px;
	margin-bottom: 0;
}

.lb-dots--sm::before {
	width: 22px;
	height: 22px;
}

.lb-dots--sm::after {
	width: 17px;
	height: 17px;
}

/* Gold checkmark list — used for feature and trust lists. */
.lb-check-list {
	list-style: none;
	padding-left: 0;
	margin: 0;
}

.lb-check-list li {
	position: relative;
	padding-left: 32px;
	margin-bottom: 12px;
}

.lb-check-list li::before {
	content: "";
	position: absolute;
	left: 0;
	top: 0.28em;
	width: 20px;
	height: 20px;
	border-radius: 50%;
	background: rgba(227, 168, 87, 0.9) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none'%3E%3Cpath d='M7 12.5l3 3 7-7.5' stroke='%2333302B' stroke-width='2.6' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E") center / 15px 15px no-repeat;
}

/* ------------------------------------------------------------------ *
 * 6. Gradient bands
 * ------------------------------------------------------------------ */

/*
 * The signature gradient is never shown bare: white text fails contrast on
 * its light upper zone, so a Harbor scrim is layered over it. Both live on
 * pseudo-elements so the pattern markup stays a plain group block.
 */
.lb-gradient {
	position: relative;
	isolation: isolate;
	overflow: hidden;
	background: var(--wp--preset--gradient--signature);
	color: var(--wp--preset--color--warm-white);
}

.lb-gradient::before {
	content: "";
	position: absolute;
	inset: 0;
	z-index: -1;
	background: linear-gradient(180deg, rgba(31, 70, 133, 0.80) 0%, rgba(31, 70, 133, 0.32) 100%);
}

/* The decorative gold circle that anchors the CTA band. */
.lb-gradient--cta::after {
	content: "";
	position: absolute;
	z-index: -2;
	width: 420px;
	height: 420px;
	border-radius: 50%;
	background: rgba(227, 168, 87, 0.17);
	top: -150px;
	left: 7%;
	pointer-events: none;
}

.lb-gradient :is(h1, h2, h3, h4, h5, h6),
.lb-on-gradient :is(h1, h2, h3, h4, h5, h6) {
	color: var(--wp--preset--color--warm-white);
}

.lb-gradient p,
.lb-on-gradient p {
	color: rgba(255, 253, 249, 0.92);
}

.lb-gradient a:not(.wp-block-button__link),
.lb-on-gradient a:not(.wp-block-button__link) {
	color: var(--wp--preset--color--warm-white);
	text-decoration: underline;
}

/* CTA band heading sits a step larger than a normal section heading. */
.lb-cta-band h2 {
	font-size: var(--wp--preset--font-size--h2-cta);
	line-height: 1.2;
}

.lb-cta-band .lb-subhead {
	font-family: var(--wp--preset--font-family--heading);
	font-weight: 600;
	font-size: 20px;
	color: rgba(255, 253, 249, 0.94);
}

.lb-cta-band {
	padding-top: 84px;
	padding-bottom: 84px;
}

@media (max-width: 600px) {
	.lb-cta-band {
		padding-top: 60px;
		padding-bottom: 60px;
	}

	.lb-gradient--cta::after {
		width: 280px;
		height: 280px;
		top: -110px;
	}
}

/* ------------------------------------------------------------------ *
 * 7. Header
 * ------------------------------------------------------------------ */

.lb-header {
	position: sticky;
	top: 0;
	z-index: 50;
	background: rgba(255, 253, 249, 0.94);
	-webkit-backdrop-filter: blur(10px);
	backdrop-filter: blur(10px);
	border-bottom: 1px solid var(--wp--preset--color--card-border);
}

/*
 * The double-class selectors through this section are deliberate. Core emits
 * its own layout rules for flex groups at single-class specificity
 * (.wp-container-core-group-is-layout-*), and that stylesheet's position
 * relative to this one is not guaranteed. Matching on two classes puts these
 * rules above core's regardless of load order.
 */
.lb-header .lb-header__bar {
	max-width: 1240px;
	margin: 0 auto;
	padding: 14px var(--lb-gutter);
	display: flex;
	align-items: center;
	gap: 32px;
	flex-wrap: nowrap;
}

/* Logo lockup: gradient tile + inline SVG mark + two-line wordmark. */
.lb-logo {
	display: flex;
	align-items: center;
	gap: 12px;
	flex: 0 0 auto;
	text-decoration: none;
}

.lb-logo:hover {
	text-decoration: none;
}

.lb-logo__tile {
	width: 44px;
	height: 44px;
	border-radius: 14px;
	background: var(--wp--preset--gradient--logo-tile);
	display: flex;
	align-items: center;
	justify-content: center;
	flex: 0 0 auto;
}

.lb-logo__text {
	display: flex;
	flex-direction: column;
	line-height: 1.1;
}

.lb-logo__name {
	font-family: var(--wp--preset--font-family--heading);
	font-weight: 700;
	font-size: 20px;
	color: var(--wp--preset--color--harbor);
	letter-spacing: -0.01em;
}

.lb-logo__sub {
	font-size: 11.5px;
	letter-spacing: 0.14em;
	text-transform: uppercase;
	color: var(--wp--preset--color--stone);
	font-weight: 600;
	margin-top: 3px;
}

.lb-header .lb-nav {
	display: flex;
	flex-wrap: wrap;
	gap: 8px 22px;
	margin-left: auto;
	align-items: center;
}

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

/* Core's navigation block renders a submenu container we never use. */
.lb-nav .wp-block-navigation__container {
	gap: 8px 22px;
}

.lb-nav a {
	color: var(--wp--preset--color--warm-ink);
	font-size: 15.5px;
	font-weight: 500;
	white-space: nowrap;
	text-decoration: none;
}

.lb-nav a:hover,
.lb-nav a:focus {
	color: var(--wp--preset--color--river-blue);
	text-decoration: none;
}

.lb-nav .current-menu-item > a {
	color: var(--wp--preset--color--river-blue);
	font-weight: 600;
}

.lb-header__cta {
	flex: 0 0 auto;
}

.lb-header__cta .wp-block-button__link {
	font-size: 16px;
	padding: 13px 26px;
}

/* Burger: hidden until the 860px nav switch. */
.lb-burger {
	display: none;
	flex: 0 0 auto;
	margin-left: auto;
	width: 44px;
	height: 44px;
	border-radius: 12px;
	border: 1px solid var(--wp--preset--color--cream-border);
	background: var(--wp--preset--color--warm-white);
	cursor: pointer;
	align-items: center;
	justify-content: center;
	padding: 0;
	color: var(--wp--preset--color--harbor);
}

.lb-mobile-nav {
	display: none;
	flex-direction: column;
	gap: 2px;
	padding: 10px 24px 20px;
	border-top: 1px solid var(--wp--preset--color--card-border);
	background: rgba(255, 253, 249, 0.98);
}

.lb-mobile-nav ul {
	list-style: none;
	margin: 0;
	padding: 0;
	display: flex;
	flex-direction: column;
}

.lb-mobile-nav a {
	color: var(--wp--preset--color--warm-ink);
	font-size: 17px;
	padding: 12px 0;
	display: block;
	font-weight: 500;
	text-decoration: none;
}

.lb-mobile-nav a:hover,
.lb-mobile-nav a:focus {
	color: var(--wp--preset--color--river-blue);
}

.lb-mobile-nav .wp-block-button__link {
	display: flex;
	margin-top: 12px;
	width: 100%;
}

@media (max-width: 860px) {
	.lb-nav,
	.lb-header__cta {
		display: none;
	}

	.lb-burger {
		display: inline-flex;
	}

	.lb-mobile-nav.is-open {
		display: flex;
	}
}

/*
 * No-JS fallback: without the toggle script the burger cannot open anything,
 * so hide it and let the mobile menu render as a static stacked list.
 */
.no-js .lb-burger {
	display: none;
}

@media (max-width: 860px) {
	.no-js .lb-mobile-nav {
		display: flex;
	}
}

/* ------------------------------------------------------------------ *
 * 8. Footer
 * ------------------------------------------------------------------ */

.lb-footer {
	background: var(--wp--preset--color--harbor);
	color: var(--wp--preset--color--warm-white);
	padding: 56px 0 40px;
	margin-top: 0;
}

.lb-footer__inner {
	max-width: 1240px;
	margin: 0 auto;
	padding: 0 var(--lb-gutter);
}

.lb-footer .lb-footer__cols {
	display: grid;
	grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
	gap: 40px;
	align-items: start;
}

.lb-footer .lb-footer__col {
	display: flex;
	flex-direction: column;
	gap: 10px;
}

.lb-footer__heading {
	font-weight: 700;
	font-size: 14px;
	letter-spacing: 0.08em;
	text-transform: uppercase;
	color: rgba(255, 253, 249, 0.92);
	margin: 0 0 4px;
	font-family: var(--wp--preset--font-family--body);
}

.lb-footer a {
	color: rgba(255, 253, 249, 0.9);
	font-size: 15.5px;
	text-decoration: none;
}

.lb-footer a:hover,
.lb-footer a:focus {
	color: var(--wp--preset--color--warm-white);
	text-decoration: underline;
}

.lb-footer .wp-block-list,
.lb-footer ul {
	list-style: none;
	margin: 0;
	padding: 0;
	display: flex;
	flex-direction: column;
	gap: 10px;
}

.lb-footer p {
	color: rgba(255, 253, 249, 0.9);
	font-size: 16px;
	margin: 0 0 14px;
	max-width: 44ch;
}

.lb-footer .lb-logo__name,
.lb-footer .lb-logo__sub {
	color: var(--wp--preset--color--warm-white);
}

.lb-footer .lb-logo__sub {
	color: rgba(255, 253, 249, 0.75);
}

.lb-footer .lb-logo__tile {
	width: 40px;
	height: 40px;
	border-radius: 13px;
	background: rgba(255, 253, 249, 0.16);
	border: 1px solid rgba(255, 253, 249, 0.3);
}

.lb-footer .lb-social {
	display: flex;
	gap: 10px;
	flex-wrap: wrap;
	margin-top: 6px;
	list-style: none;
	padding: 0;
	flex-direction: row;
}

.lb-social a {
	width: 38px;
	height: 38px;
	border-radius: 50%;
	background: rgba(255, 253, 249, 0.14);
	border: 1px solid rgba(255, 253, 249, 0.3);
	display: inline-flex;
	align-items: center;
	justify-content: center;
	min-height: 38px;
}

.lb-social a:hover {
	background: rgba(255, 253, 249, 0.28);
}

/* App Store / Google Play badges. */
.lb-footer .lb-store-badges {
	display: flex;
	gap: 10px;
	flex-wrap: wrap;
	list-style: none;
	padding: 0;
	margin: 0;
	flex-direction: row;
}

.lb-store-badge {
	display: inline-flex;
	align-items: center;
	gap: 9px;
	background: #1C1B19;
	border: 1px solid rgba(255, 253, 249, 0.25);
	border-radius: 10px;
	padding: 7px 15px 7px 12px;
}

.lb-store-badge:hover {
	background: var(--wp--preset--color--warm-ink);
	text-decoration: none;
}

.lb-store-badge__text {
	display: flex;
	flex-direction: column;
	line-height: 1.15;
	text-align: left;
}

.lb-store-badge__small {
	font-size: 9.5px;
	color: rgba(255, 253, 249, 0.75);
}

.lb-store-badge__name {
	font-family: var(--wp--preset--font-family--heading);
	font-weight: 700;
	font-size: 14.5px;
	color: var(--wp--preset--color--warm-white);
}

.lb-wosb img {
	width: 104px;
	height: auto;
	border-radius: 8px;
	display: block;
	background: var(--wp--preset--color--warm-white);
	padding: 6px;
}

.lb-footer .lb-wosb {
	display: inline-block;
	margin-top: 6px;
	min-height: 0;
}

/* Trust column — gold checkmark against each promise. */
.lb-trust {
	display: flex;
	flex-direction: column;
	gap: 10px;
	list-style: none;
	padding: 0;
	margin: 0;
}

.lb-trust li {
	display: flex;
	align-items: center;
	gap: 9px;
	color: rgba(255, 253, 249, 0.9);
	font-size: 15.5px;
}

.lb-trust li::before {
	content: "";
	flex: 0 0 auto;
	width: 18px;
	height: 18px;
	border-radius: 50%;
	background: rgba(227, 168, 87, 0.9) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none'%3E%3Cpath d='M7 12.5l3 3 7-7.5' stroke='%2333302B' stroke-width='2.6' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E") center / 13px 13px no-repeat;
}

.lb-footer__tagline {
	margin-top: 44px;
	text-align: center;
	font-family: var(--wp--preset--font-family--heading);
	font-weight: 600;
	font-size: 16.5px;
	color: rgba(255, 253, 249, 0.92);
}

.lb-footer__bottom {
	margin-top: 18px;
	padding-top: 22px;
	border-top: 1px solid rgba(255, 253, 249, 0.2);
	display: flex;
	flex-wrap: wrap;
	gap: 16px;
	justify-content: space-between;
	font-size: 15px;
	color: rgba(255, 253, 249, 0.72);
}

.lb-footer__bottom a {
	color: rgba(255, 253, 249, 0.72);
	font-size: 15px;
}

.lb-footer .lb-footer__legal {
	display: flex;
	gap: 20px;
	flex-wrap: wrap;
	list-style: none;
	margin: 0;
	padding: 0;
	flex-direction: row;
}

/* ------------------------------------------------------------------ *
 * 9. Blog: cards, filter, article
 * ------------------------------------------------------------------ */

/* The whole card is one link; hover lifts it. */
.lb-post-card {
	display: flex;
	flex-direction: column;
	background: var(--wp--preset--color--warm-white);
	border: 1px solid var(--wp--preset--color--card-border);
	border-radius: var(--wp--custom--radius--card);
	overflow: hidden;
	height: 100%;
	text-decoration: none;
	color: inherit;
	transition: box-shadow var(--lb-transition), transform var(--lb-transition);
}

.lb-post-card:hover,
.lb-post-card:focus-within {
	box-shadow: var(--wp--preset--shadow--card-hover);
	transform: translateY(-2px);
	text-decoration: none;
}

.lb-post-card__media {
	display: block;
	height: 180px;
	overflow: hidden;
	background: var(--wp--preset--color--soft-cream);
}

.lb-post-card__media img {
	width: 100%;
	height: 100%;
	object-fit: cover;
	display: block;
}

.lb-post-card__body {
	padding: 22px 24px 24px;
	display: flex;
	flex-direction: column;
	flex: 1;
	gap: 10px;
}

/* Blog covers are blank while the imagery is redone, so a card is often just
 * its body. The tighter top padding above is measured to sit under a cover;
 * without one the card needs its own breathing room. */
.lb-post-card__body:first-child {
	padding-top: 26px;
}

.lb-post-card__cat {
	font-size: 12px;
	letter-spacing: 0.08em;
	text-transform: uppercase;
	font-weight: 700;
	color: var(--wp--preset--color--stone);
	margin: 0;
}

.lb-post-card__title {
	font-family: var(--wp--preset--font-family--heading);
	font-weight: 700;
	font-size: 19px;
	line-height: 1.3;
	color: var(--wp--preset--color--harbor);
	margin: 0;
	letter-spacing: -0.01em;
}

.lb-post-card__title a {
	color: inherit;
	text-decoration: none;
}

.lb-post-card__title a::after {
	content: "";
	position: absolute;
	inset: 0;
}

.lb-post-card__summary {
	font-size: 16px;
	color: var(--wp--preset--color--warm-ink);
	margin: 0;
	flex: 1;
}

.lb-post-card__meta {
	font-size: 14.5px;
	color: var(--wp--preset--color--stone);
	margin: 0;
}

/* Category filter chips on the blog index. */
.lb-filter {
	display: flex;
	flex-wrap: wrap;
	gap: 10px;
	list-style: none;
	padding: 0;
	margin: 0 0 32px;
}

.lb-filter a,
.lb-filter button {
	display: inline-flex;
	align-items: center;
	min-height: 44px;
	padding: 10px 20px;
	border-radius: 999px;
	border: 1px solid var(--wp--preset--color--cream-border);
	background: var(--wp--preset--color--warm-white);
	color: var(--wp--preset--color--warm-ink);
	font-family: var(--wp--preset--font-family--heading);
	font-weight: 600;
	font-size: 15px;
	cursor: pointer;
	text-decoration: none;
	transition: background-color var(--lb-transition), color var(--lb-transition), border-color var(--lb-transition);
}

.lb-filter a:hover,
.lb-filter button:hover {
	border-color: var(--wp--preset--color--river-blue);
	color: var(--wp--preset--color--river-blue);
	text-decoration: none;
}

.lb-filter [aria-current="page"],
.lb-filter [aria-pressed="true"] {
	background: var(--wp--preset--color--river-blue);
	border-color: var(--wp--preset--color--river-blue);
	color: var(--wp--preset--color--warm-white);
}

/* Article page. */
.lb-article {
	max-width: var(--lb-article);
	margin: 0 auto;
	padding: 56px var(--lb-gutter) 80px;
}

.lb-article__back {
	display: inline-block;
	font-size: 16px;
	margin-bottom: 20px;
}

.lb-article__cat {
	font-size: 13px;
	letter-spacing: 0.08em;
	text-transform: uppercase;
	font-weight: 700;
	color: var(--wp--preset--color--river-blue);
	margin: 0 0 10px;
}

.lb-article__meta {
	display: flex;
	align-items: center;
	gap: 12px;
	margin: 20px 0 28px;
	font-size: 15.5px;
	color: var(--wp--preset--color--stone);
}

.lb-article__avatar {
	width: 44px;
	height: 44px;
	border-radius: 50%;
	object-fit: cover;
	flex: 0 0 auto;
	background: var(--wp--preset--color--soft-cream);
}

.lb-article__hero img {
	border-radius: var(--wp--custom--radius--image);
	max-height: 460px;
	width: 100%;
	object-fit: cover;
	display: block;
}

.lb-article__body > * {
	margin-bottom: 22px;
}

.lb-article__body h2 {
	margin-top: 40px;
}

.lb-article__body h3 {
	margin-top: 32px;
}

.lb-article__body img {
	border-radius: var(--wp--custom--radius--chip);
}

/* ------------------------------------------------------------------ *
 * 10. Accordions, tabs & FAQ
 * ------------------------------------------------------------------ */

/*
 * Native <details>, as the design specifies for the FAQ page. Works with
 * JavaScript disabled and is announced correctly by screen readers.
 */
.lb-details {
	background: var(--wp--preset--color--warm-white);
	border: 1px solid var(--wp--preset--color--card-border);
	border-radius: var(--wp--custom--radius--card);
	margin-bottom: 14px;
	overflow: hidden;
}

.lb-details > summary {
	list-style: none;
	cursor: pointer;
	padding: 22px 26px;
	font-family: var(--wp--preset--font-family--heading);
	font-weight: 700;
	font-size: 18.5px;
	color: var(--wp--preset--color--harbor);
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: 18px;
	min-height: 44px;
}

.lb-details > summary::-webkit-details-marker {
	display: none;
}

.lb-details > summary::after {
	content: "";
	flex: 0 0 auto;
	width: 22px;
	height: 22px;
	background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none'%3E%3Cpath d='M6 9l6 6 6-6' stroke='%232E67C5' stroke-width='2.4' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E") center / contain no-repeat;
	transition: transform 220ms ease;
}

.lb-details[open] > summary::after {
	transform: rotate(180deg);
}

.lb-details > summary:hover {
	color: var(--wp--preset--color--river-blue);
}

.lb-details__content {
	padding: 0 26px 24px;
	color: var(--wp--preset--color--warm-ink);
}

.lb-details__content > *:last-child {
	margin-bottom: 0;
}

/*
 * Tabs (How It Works). Progressive: with no JS all panels are visible and
 * the tab list is hidden, so the content is never trapped behind a script.
 */
.lb-tabs__list {
	display: flex;
	flex-wrap: wrap;
	gap: 10px;
	list-style: none;
	padding: 0;
	margin: 0 0 28px;
}

.no-js .lb-tabs__list {
	display: none;
}

.lb-tabs__tab {
	display: inline-flex;
	align-items: center;
	min-height: 44px;
	padding: 11px 22px;
	border-radius: 999px;
	border: 1px solid var(--wp--preset--color--cream-border);
	background: var(--wp--preset--color--warm-white);
	color: var(--wp--preset--color--warm-ink);
	font-family: var(--wp--preset--font-family--heading);
	font-weight: 600;
	font-size: 15.5px;
	cursor: pointer;
}

.lb-tabs__tab[aria-selected="true"] {
	background: var(--wp--preset--color--river-blue);
	border-color: var(--wp--preset--color--river-blue);
	color: var(--wp--preset--color--warm-white);
}

.lb-tabs__panel[hidden] {
	display: none;
}

/* ------------------------------------------------------------------ *
 * 11. Phone mockup, stats, media
 * ------------------------------------------------------------------ */

.lb-phone {
	position: relative;
	background: var(--wp--preset--color--warm-ivory);
	border-radius: 44px;
	padding: 14px;
	box-shadow: 0 20px 50px rgba(51, 48, 43, 0.14);
	max-width: 320px;
	margin: 0 auto;
}

.lb-phone img,
.lb-phone__screen {
	border-radius: 34px;
	display: block;
	width: 100%;
	overflow: hidden;
}

/* The floating "My Day" card that overlaps the phone's bottom-right corner. */
.lb-phone__float {
	position: absolute;
	right: -22px;
	bottom: 42px;
	background: var(--wp--preset--color--warm-white);
	border: 1px solid var(--wp--preset--color--card-border);
	border-radius: 18px;
	padding: 14px 18px;
	box-shadow: 0 12px 30px rgba(51, 48, 43, 0.12);
	font-size: 15px;
	max-width: 190px;
}

@media (max-width: 600px) {
	.lb-phone__float {
		right: -6px;
		bottom: 20px;
	}
}

/* Stat row — big numbers over a short label. */
.lb-stat__number {
	font-family: var(--wp--preset--font-family--heading);
	font-weight: 700;
	font-size: clamp(32px, 4.4vw, 44px);
	line-height: 1.05;
	color: var(--wp--preset--color--river-blue);
	margin: 0 0 6px;
	letter-spacing: -0.02em;
}

.lb-on-gradient .lb-stat__number {
	color: var(--wp--preset--color--warm-white);
}

.lb-stat__label {
	font-size: 16px;
	color: var(--wp--preset--color--stone);
	margin: 0;
}

.lb-on-gradient .lb-stat__label {
	color: rgba(255, 253, 249, 0.9);
}

/* Responsive video embeds (Wistia + YouTube). */
.lb-video {
	position: relative;
	padding-top: 56.25%;
	border-radius: var(--wp--custom--radius--image);
	overflow: hidden;
	background: var(--wp--preset--color--soft-cream);
}

.lb-video iframe {
	position: absolute;
	inset: 0;
	width: 100%;
	height: 100%;
	border: 0;
}

.wp-block-image.is-style-lb-rounded img {
	border-radius: var(--wp--custom--radius--image);
}

/* ------------------------------------------------------------------ *
 * 12. Forms (Fluent Forms)
 * ------------------------------------------------------------------ */

/*
 * Fluent Forms ships its own stylesheet; these rules re-skin its fields to
 * the Lightbridge design without needing per-field settings in the plugin.
 */
.lb-form-panel {
	background: var(--wp--preset--color--warm-white);
	border: 1px solid var(--wp--preset--color--card-border);
	border-radius: 28px;
	padding: 40px;
	box-shadow: var(--wp--preset--shadow--panel);
}

@media (max-width: 600px) {
	.lb-form-panel {
		padding: 26px 22px;
	}
}

/*
 * The newsletter signup. Everything else about it is inline, to match the
 * verbatim design markup it sits inside — but a placeholder is a pseudo
 * element, so it can only be reached from here. The browser default is grey,
 * which against the footer's blue is close to unreadable.
 */
.lb-newsletter--dark input::placeholder {
	color: rgba(255, 253, 249, 0.7);
	opacity: 1;
}

.lb-newsletter--light input::placeholder {
	color: #8A8279;
	opacity: 1;
}

.lb-newsletter--dark input:focus-visible {
	outline-color: #FFFDF9;
}

/*
 * On the Contact page the form is dropped into the design's own white panel,
 * which already draws exactly this box. The class stays, because every field
 * rule below is scoped to it — only the box is taken away, or the page shows
 * a panel inside a panel.
 */
#lb-contact.lb-form-panel {
	background: none;
	border: 0;
	border-radius: 0;
	padding: 0;
	box-shadow: none;
}

.fluentform .ff-el-input--label label,
.lb-form-panel label {
	font-family: var(--wp--preset--font-family--heading);
	font-weight: 600;
	font-size: 15px;
	color: var(--wp--preset--color--harbor);
	margin-bottom: 6px;
	display: block;
}

.fluentform .ff-el-form-control,
.lb-form-panel input[type="text"],
.lb-form-panel input[type="email"],
.lb-form-panel input[type="tel"],
.lb-form-panel select,
.lb-form-panel textarea {
	width: 100%;
	border: 1px solid var(--wp--preset--color--cream-border);
	border-radius: var(--wp--custom--radius--field);
	padding: 13px 16px;
	font-family: var(--wp--preset--font-family--body);
	font-size: 16.5px;
	background: var(--wp--preset--color--warm-ivory);
	color: var(--wp--preset--color--warm-ink);
	line-height: 1.5;
	box-shadow: none;
	transition: border-color var(--lb-transition);
}

.fluentform .ff-el-form-control:focus,
.lb-form-panel input:focus,
.lb-form-panel select:focus,
.lb-form-panel textarea:focus {
	border-color: var(--wp--preset--color--river-blue);
	outline: 3px solid var(--wp--preset--color--sunrise-gold);
	outline-offset: 1px;
}

.fluentform textarea.ff-el-form-control {
	resize: vertical;
	min-height: 140px;
}

.fluentform .ff-btn-submit,
.lb-form-panel button[type="submit"] {
	background: var(--wp--preset--color--river-blue);
	color: var(--wp--preset--color--warm-white);
	font-family: var(--wp--preset--font-family--heading);
	font-weight: 700;
	font-size: 18px;
	padding: 16px 34px;
	border-radius: 999px;
	border: 0;
	cursor: pointer;
	box-shadow: 0 8px 22px rgba(46, 103, 197, 0.28);
	min-height: 44px;
	transition: background-color var(--lb-transition);
}

.fluentform .ff-btn-submit:hover,
.lb-form-panel button[type="submit"]:hover {
	background: var(--wp--preset--color--harbor);
}

/* Validation and success states. */
.fluentform .error-text,
.fluentform .text-danger {
	color: #B4442A;
	font-size: 15px;
}

.fluentform .ff-el-is-error .ff-el-form-control {
	border-color: #B4442A;
}

.ff-message-success,
.lb-form-success {
	background: var(--wp--preset--color--soft-cream);
	border: 1px solid var(--wp--preset--color--cream-border);
	border-radius: var(--wp--custom--radius--card);
	padding: 32px 28px;
	text-align: center;
	color: var(--wp--preset--color--warm-ink);
	font-size: 17px;
}

/* Fluent Forms' honeypot field must stay in the DOM but out of sight. */
.fluentform .ff_verification_wrap,
.fluentform input[name="__fluent_form_embded_post_id"] {
	position: absolute !important;
	left: -9999px !important;
}

/* ------------------------------------------------------------------ *
 * 13. Print & reduced motion
 * ------------------------------------------------------------------ */

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

	*,
	*::before,
	*::after {
		animation-duration: 0.01ms !important;
		animation-iteration-count: 1 !important;
		transition-duration: 0.01ms !important;
	}

	.wp-block-button__link:hover,
	.lb-post-card:hover {
		transform: none;
	}
}

@media print {
	.lb-header,
	.lb-footer,
	.lb-cta-band,
	.lb-filter {
		display: none !important;
	}

	body {
		background: #fff;
		color: #000;
	}
}
