/*
 * BeamIQ — components and sections.
 *
 * Tokens come from theme.json (--wp--preset--*, --wp--custom--*). Components
 * are ported from the design system's components/bundle.css; section layouts
 * and the 900px breakpoint follow the home-page design (Main.dc.html).
 *
 * Rules from the design system that this file keeps:
 * - one glow per screen (header CTA, demo submit; the hero CTA is flat);
 * - anything you press is a pill; containers radius-md/16px; data radius-sm;
 * - aqua = value/links/focus, flamingo = spend/primary action, sunset = watch;
 * - Unbounded for display only (never below 24px except the wordmark),
 *   DM Sans for reading, Space Mono for figures and the terminal only.
 */

:root {
	--biq-ground: var(--wp--preset--color--ground);
	--biq-ground-deep: var(--wp--preset--color--ground-deep);
	--biq-surface: var(--wp--preset--color--surface);
	--biq-surface-raised: var(--wp--preset--color--surface-raised);
	--biq-ink: var(--wp--preset--color--ink);
	--biq-ink-muted: var(--wp--preset--color--ink-muted);
	--biq-flamingo: var(--wp--preset--color--flamingo);
	--biq-on-flamingo: var(--wp--preset--color--on-flamingo);
	--biq-aqua: var(--wp--preset--color--aqua);
	--biq-sunset: var(--wp--preset--color--sunset);
	--biq-line: var(--wp--preset--color--line);
	--biq-line-strong: var(--wp--preset--color--line-strong);
	--biq-dusk-night: var(--wp--preset--color--dusk-night);
	--biq-line-soft: rgba(110, 132, 194, 0.25);

	--biq-display: var(--wp--preset--font-family--display);
	--biq-sans: var(--wp--preset--font-family--sans);
	--biq-mono: var(--wp--preset--font-family--mono);

	--biq-radius-sm: var(--wp--custom--radius--sm);
	--biq-radius-md: var(--wp--custom--radius--md);
	--biq-radius-lg: var(--wp--custom--radius--lg);
	--biq-pill: var(--wp--custom--radius--pill);
	--biq-glow-flamingo: var(--wp--custom--glow--flamingo);
	--biq-lift-deep: var(--wp--custom--lift-deep);
	--biq-glass: var(--wp--custom--glass);

	--biq-gutter: var(--wp--custom--gutter);
	--biq-wide: var(--wp--style--global--wide-size, 1240px);
	--biq-section-y: 120px;
}

html {
	scroll-behavior: smooth;
}

body {
	-webkit-font-smoothing: antialiased;
	-moz-osx-font-smoothing: grayscale;
	text-rendering: optimizeLegibility;
}

.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;
}

:where(.biq-main) h1,
:where(.biq-main) h2,
:where(.biq-main) h3 {
	overflow-wrap: break-word;
	hyphens: manual;
}

/* ------------------------------------------------------------------ layout */

.biq-container {
	box-sizing: border-box;
	width: 100%;
	max-width: var(--biq-wide);
	margin-inline: auto;
	padding-inline: var(--biq-gutter);
}

.biq-section {
	padding-block: var(--biq-section-y);
}

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

.biq-split {
	display: grid;
	grid-template-columns: 0.9fr 1.1fr;
	gap: 64px;
	align-items: center;
}

.biq-stack {
	display: flex;
	flex-direction: column;
	gap: 20px;
}

.biq-grid-3 {
	display: grid;
	grid-template-columns: repeat(3, minmax(0, 1fr));
	gap: 24px;
	margin: 0;
	padding: 0;
	list-style: none;
}

.biq-actions {
	display: flex;
	flex-wrap: wrap;
	gap: 16px;
}

/* -------------------------------------------------------------- typography */

.biq-kicker {
	margin: 0;
	font-family: var(--biq-mono);
	font-size: 15px;
	line-height: 1.4;
	color: var(--biq-aqua);
}

.biq-display-xl {
	margin: 0;
	font-family: var(--biq-display);
	font-weight: 700;
	font-size: var(--wp--preset--font-size--display-xl);
	line-height: 0.98;
	letter-spacing: -0.02em;
}

.biq-h2 {
	margin: 0;
	font-family: var(--biq-display);
	font-weight: 700;
	font-size: var(--wp--preset--font-size--display-l);
	line-height: 1.05;
}

.biq-h2--sm {
	font-size: 28px;
	font-weight: 600;
	line-height: 1.15;
}

.biq-h2--xl {
	font-size: 56px;
	line-height: 1.02;
	letter-spacing: -0.01em;
}

.biq-h3 {
	margin: 0;
	font-family: var(--biq-display);
	font-weight: 600;
	font-size: var(--wp--preset--font-size--heading);
	line-height: 1.15;
}

.biq-h3--sm {
	font-size: 22px;
	line-height: 1.2;
}

.biq-section__title {
	margin-bottom: 48px;
	max-width: 760px;
}

.biq-kicker + .biq-section__title {
	margin-top: 12px;
}

.biq-measure {
	max-width: 800px;
}

.biq-body-l {
	margin: 0;
	font-size: var(--wp--preset--font-size--body-l);
	line-height: 1.55;
}

.biq-body-m {
	margin: 0;
	font-size: 17px;
	line-height: 1.55;
}

.biq-muted {
	color: var(--biq-ink-muted);
}

/* ----------------------------------------------------------------- buttons */

.biq-btn {
	box-sizing: border-box;
	display: inline-flex;
	align-items: center;
	justify-content: center;
	gap: 8px;
	height: 48px;
	padding: 0 24px;
	border: 2px solid transparent;
	border-radius: var(--biq-pill);
	font-family: var(--biq-sans);
	font-size: 16px;
	font-weight: 600;
	line-height: 1;
	text-decoration: none;
	white-space: nowrap;
	cursor: pointer;
	transition: transform 0.15s ease, box-shadow 0.15s ease, border-color 0.15s ease;
}

.biq-btn:focus-visible {
	outline: 3px solid var(--biq-aqua);
	outline-offset: 3px;
}

.biq-btn--primary,
.biq-btn--primary:visited {
	background: var(--biq-flamingo);
	color: var(--biq-on-flamingo);
	box-shadow: var(--biq-glow-flamingo);
}

.biq-btn--primary:hover,
.biq-btn--primary:focus {
	color: var(--biq-on-flamingo);
	transform: translateY(-1px);
}

.biq-btn--flat {
	box-shadow: none;
}

.biq-btn--secondary,
.biq-btn--secondary:visited {
	background: rgba(14, 26, 59, 0.4);
	color: var(--biq-ink);
	border-color: var(--biq-line-strong);
}

.biq-btn--secondary:hover,
.biq-btn--secondary:focus {
	color: var(--biq-ink);
	border-color: var(--biq-aqua);
}

.biq-btn--lg {
	height: 52px;
	padding: 0 28px;
}

.biq-btn--header {
	height: 44px;
	padding: 0 22px;
	font-size: 15px;
}

/* ------------------------------------------------------------------ header */

.biq-site-header {
	position: relative;
	z-index: 2;
}

.biq-header {
	border-bottom: 1.5px solid var(--biq-line-soft);
}

.biq-header__inner {
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: 24px;
	padding-block: 20px;
}

.biq-brand,
.biq-brand:visited,
.biq-brand:hover {
	display: flex;
	flex: none;
	align-items: center;
	gap: 12px;
	color: var(--biq-ink);
	text-decoration: none;
}

.biq-mark {
	display: block;
	flex: none;
}

.biq-brand__name {
	font-family: var(--biq-display);
	font-size: 22px;
	font-weight: 700;
	line-height: 1;
}

.biq-brand--sm .biq-brand__name {
	font-size: 20px;
}

.biq-nav__list {
	display: flex;
	align-items: center;
	gap: 32px;
	margin: 0;
	padding: 0;
	list-style: none;
}

.biq-nav__list a,
.biq-nav__list a:visited {
	color: var(--biq-ink);
	font-size: 15px;
	text-decoration: none;
}

.biq-nav__list a:hover,
.biq-nav__list a:focus {
	color: var(--biq-aqua);
}

.biq-header__actions {
	display: flex;
	align-items: center;
	gap: 20px;
}

/* -------------------------------------------------------- language switcher */

.biq-lang__list {
	display: flex;
	align-items: center;
	margin: 0;
	padding: 0;
	list-style: none;
	font-family: var(--biq-mono);
	font-size: 13px;
	line-height: 1;
}

.biq-lang__list li + li::before {
	content: "·";
	content: "·" / "";
	padding-inline: 2px;
	color: var(--biq-line-strong);
}

.biq-lang__link,
.biq-lang__link:visited {
	display: inline-block;
	padding: 6px 4px;
	color: var(--biq-ink-muted);
	text-decoration: none;
}

.biq-lang__link:hover,
.biq-lang__link:focus {
	color: var(--biq-aqua);
}

.biq-lang__link[aria-current] {
	color: var(--biq-ink);
	text-decoration: underline;
	text-decoration-color: var(--biq-aqua);
	text-decoration-thickness: 2px;
	text-underline-offset: 5px;
}

/* -------------------------------------------------------------------- hero */

.biq-hero {
	position: relative;
	display: flex;
	align-items: flex-end;
	min-height: 760px;
	overflow: clip;
}

.biq-hero__art {
	position: absolute;
	inset: 0;
	background: var(--biq-ground) url("../images/hero-dusk.svg") 50% 100% / cover no-repeat;
}

.biq-hero__scrim {
	position: absolute;
	inset: 0;
	background: linear-gradient(90deg, rgba(14, 26, 59, 0.92) 0%, rgba(14, 26, 59, 0.65) 45%, rgba(14, 26, 59, 0) 75%);
}

.biq-hero__grid {
	position: relative;
	display: grid;
	grid-template-columns: 1.1fr 0.9fr;
	gap: 48px;
	align-items: end;
	padding-block: 120px 96px;
}

.biq-hero__copy {
	display: flex;
	flex-direction: column;
	gap: 28px;
}

.biq-hero__lede {
	max-width: 560px;
	margin: 0;
	font-size: 20px;
	line-height: 1.5;
	color: var(--biq-ink);
}

.biq-glass {
	box-sizing: border-box;
	padding: 28px;
	background: var(--biq-glass);
	border: 2px solid var(--biq-line-strong);
	border-radius: var(--biq-radius-lg);
	box-shadow: var(--biq-lift-deep);
}

.biq-hero__chart {
	justify-self: end;
	width: 100%;
	max-width: 500px;
	margin: 0;
}

.biq-glass__title {
	margin: 0 0 16px;
	font-size: 16px;
	font-weight: 600;
	color: var(--biq-ink);
}

.biq-chart {
	display: block;
	width: 100%;
	height: auto;
}

.biq-legend {
	display: flex;
	flex-wrap: wrap;
	gap: 8px 24px;
	margin-top: 14px;
	font-size: 13px;
	color: var(--biq-ink-muted);
}

.biq-legend > span {
	display: inline-flex;
	align-items: center;
	gap: 8px;
}

.biq-legend__swatch {
	display: inline-block;
	width: 24px;
	height: 4px;
	border-radius: var(--biq-pill);
}

.biq-legend__swatch--value {
	background: var(--biq-aqua);
}

.biq-legend__swatch--spend {
	background: var(--biq-flamingo);
}

/* ---------------------------------------------------------------- terminal */

.biq-term {
	box-sizing: border-box;
	padding: 32px;
	background: var(--biq-dusk-night);
	border: 1.5px solid var(--biq-line-strong);
	border-radius: var(--biq-radius-md);
	font-family: var(--biq-mono);
	font-size: 17px;
	line-height: 1.9;
	color: var(--biq-aqua);
}

.biq-term__line {
	margin: 0;
}

.biq-term__line::before {
	content: "> ";
	content: "> " / "";
	opacity: 0.6;
}

.biq-term__line--out {
	color: var(--biq-ink-muted);
}

.biq-term__line--out::before {
	content: none;
}

.biq-term__cursor {
	display: inline-block;
	width: 10px;
	height: 18px;
	margin-left: 4px;
	vertical-align: -3px;
	background: var(--biq-aqua);
	animation: biq-blink 1s steps(1) infinite;
}

@keyframes biq-blink {
	50% {
		opacity: 0;
	}
}

.biq-term--sm {
	padding: 20px 24px;
	font-size: 15px;
	line-height: 1.75;
}

/* ------------------------------------------------------------- step cards */

.biq-card {
	display: flex;
	flex-direction: column;
	gap: 16px;
	padding: 32px;
	background: var(--biq-surface);
	border: 1.5px solid var(--biq-line);
	border-radius: var(--biq-radius-md);
}

.biq-card p {
	margin: 0;
	font-size: 16px;
	line-height: 1.55;
}

.biq-step__head {
	display: flex;
	align-items: center;
	justify-content: space-between;
}

.biq-step__num {
	font-family: var(--biq-mono);
	font-size: 14px;
	color: var(--biq-ink-muted);
}

.biq-cmd {
	display: block;
	margin-top: auto;
	padding: 10px 12px;
	background: var(--biq-dusk-night);
	border-radius: var(--biq-radius-sm);
	font-family: var(--biq-mono);
	font-size: 14px;
	line-height: 1.4;
	color: var(--biq-aqua);
}

/* ------------------------------------------------------- product dashboard */

.biq-band {
	background: var(--biq-ground-deep);
	border-block: 1.5px solid var(--biq-line);
}

.biq-beam-list {
	display: flex;
	flex-direction: column;
	gap: 12px;
	margin: 0;
	padding: 0;
	list-style: none;
	font-size: 17px;
}

.biq-beam-list li {
	display: flex;
	align-items: baseline;
	gap: 12px;
}

.biq-beam-list li::before {
	content: "";
	flex: none;
	width: 16px;
	height: 4px;
	border-radius: var(--biq-pill);
	background: var(--biq-aqua);
	transform: translateY(-4px);
}

.biq-dash {
	box-sizing: border-box;
	display: flex;
	flex-direction: column;
	gap: 20px;
	min-width: 0;
	padding: 28px;
	background: var(--biq-ground);
	border: 2px solid var(--biq-line-strong);
	border-radius: var(--biq-radius-lg);
	box-shadow: var(--biq-lift-deep);
}

.biq-dash__head {
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: 12px;
}

.biq-dash__title {
	display: flex;
	align-items: center;
	gap: 10px;
	font-weight: 600;
}

.biq-dash__note {
	font-size: 12px;
	color: var(--biq-ink-muted);
	text-align: right;
}

.biq-kpis {
	display: grid;
	grid-template-columns: repeat(3, minmax(0, 1fr));
	gap: 16px;
}

.biq-kpi {
	display: flex;
	flex-direction: column;
	gap: 8px;
	min-width: 0;
	padding: 20px;
	background: var(--biq-surface);
	border: 1.5px solid var(--biq-line);
	border-radius: var(--biq-radius-md);
}

.biq-kpi__label {
	font-size: 13px;
	font-weight: 500;
	line-height: 1.4;
	color: var(--biq-ink-muted);
}

.biq-kpi__value {
	font-family: var(--biq-mono);
	font-size: clamp(22px, 1.9vw, 28px);
	font-weight: 700;
	line-height: 1.1;
	font-variant-numeric: tabular-nums;
	white-space: nowrap;
	color: var(--biq-ink);
}

.biq-kpi__delta {
	font-size: 13px;
	font-weight: 600;
	line-height: 1.4;
}

.biq-kpi__delta--up {
	color: var(--biq-aqua);
}

.biq-kpi__delta--down {
	color: var(--biq-flamingo);
}

.biq-kpi__delta--watch {
	color: var(--biq-sunset);
}

.biq-kpi__beam {
	display: block;
	width: 48px;
	height: 6px;
	border-radius: var(--biq-pill);
	background: var(--biq-aqua);
}

.biq-table {
	width: 100%;
	border-collapse: collapse;
	font-size: 15px;
}

.biq-table thead th {
	padding: 0 16px 10px 0;
	font-size: 13px;
	font-weight: 400;
	text-align: left;
	color: var(--biq-ink-muted);
}

.biq-table tbody th,
.biq-table tbody td {
	padding: 14px 16px 14px 0;
	border-top: 1.5px solid var(--biq-line);
	font-weight: 400;
	text-align: left;
	vertical-align: middle;
}

.biq-table th:last-child,
.biq-table td:last-child {
	padding-right: 0;
}

.biq-table tbody th {
	width: 50%;
}

.biq-table__num {
	font-family: var(--biq-mono);
	white-space: nowrap;
}

/* ------------------------------------------------------------------- chips */

.biq-chips {
	display: flex;
	flex-wrap: wrap;
	gap: 12px;
	margin: 0;
	padding: 0;
	list-style: none;
}

.biq-chip {
	box-sizing: border-box;
	display: inline-flex;
	align-items: center;
	gap: 8px;
	height: 28px;
	padding: 0 12px;
	border: 1.5px solid currentColor;
	border-radius: var(--biq-pill);
	font-size: 13px;
	font-weight: 600;
	line-height: 1;
	white-space: nowrap;
}

.biq-chip::before {
	content: "";
	flex: none;
	width: 8px;
	height: 8px;
	border-radius: 50%;
	background: currentColor;
}

.biq-chip--value {
	color: var(--biq-aqua);
}

.biq-chip--spend {
	color: var(--biq-flamingo);
}

.biq-chip--watch {
	color: var(--biq-sunset);
}

.biq-chip--neutral {
	color: var(--biq-ink-muted);
}

/* ---------------------------------------------------------------- audience */

.biq-role {
	display: flex;
	flex-direction: column;
	gap: 12px;
	padding-top: 24px;
	border-top: 2px solid var(--biq-line-strong);
}

.biq-role--flamingo {
	border-top-color: var(--biq-flamingo);
}

.biq-role--aqua {
	border-top-color: var(--biq-aqua);
}

.biq-role--sunset {
	border-top-color: var(--biq-sunset);
}

.biq-role__who {
	font-family: var(--biq-mono);
	font-size: 14px;
	color: var(--biq-ink-muted);
}

.biq-role p {
	margin: 0;
	font-size: 16px;
	line-height: 1.55;
}

/* ------------------------------------------------------------ about tactiq */

.biq-about {
	display: flex;
	flex-wrap: wrap;
	align-items: center;
	justify-content: space-between;
	gap: 32px;
	padding: 48px;
	background: var(--biq-surface);
	border: 1.5px solid var(--biq-line);
	border-radius: var(--biq-radius-lg);
}

.biq-about__copy {
	display: flex;
	flex-direction: column;
	gap: 12px;
	max-width: 720px;
}

/* -------------------------------------------------------------- demo + form */

.biq-demo {
	position: relative;
	overflow: clip;
	background: var(--biq-dusk-night);
}

.biq-demo__bands {
	position: absolute;
	right: 0;
	bottom: 0;
	left: 0;
	display: flex;
	flex-direction: column;
	gap: 8px;
}

.biq-demo__bands span {
	display: block;
}

.biq-demo__bands span:nth-child(1) {
	height: 28px;
	background: var(--biq-flamingo);
}

.biq-demo__bands span:nth-child(2) {
	height: 16px;
	background: var(--biq-sunset);
}

.biq-demo__bands span:nth-child(3) {
	height: 10px;
	background: var(--biq-sunset);
}

.biq-demo__bands span:nth-child(4) {
	height: 6px;
	background: var(--biq-sunset);
}

.biq-demo__bands span:nth-child(5) {
	height: 8px;
	background: var(--biq-aqua);
}

.biq-demo__inner {
	position: relative;
	display: flex;
	flex-direction: column;
	align-items: center;
	gap: 40px;
	padding-block: var(--biq-section-y) 200px;
}

.biq-demo__intro {
	display: flex;
	flex-direction: column;
	align-items: center;
	gap: 24px;
	text-align: center;
}

.biq-demo__intro .biq-body-l {
	max-width: 560px;
	line-height: 1.5;
}

.biq-demo__card {
	box-sizing: border-box;
	width: 100%;
	max-width: 560px;
	padding: 32px;
	background: var(--biq-surface);
	border: 1.5px solid var(--biq-line);
	border-radius: var(--biq-radius-lg);
}

/* Jetpack form inside the demo card. */
/* Only the inner field container is laid out here. Never set display on the
   <form> itself: Jetpack hides it with .contact-form.submission-success after
   a successful AJAX submission. */
.biq-demo__card .wp-block-jetpack-contact-form {
	display: flex;
	flex-direction: column;
	gap: 20px;
	margin: 0;
	padding: 0;
}

.biq-demo__card .wp-block-jetpack-contact-form > * {
	margin: 0;
}

.biq-demo__card .grunion-field-wrap,
.biq-demo__card .grunion-field-wrap.grunion-field-wrap {
	flex: 1 1 100%;
	margin: 0;
	padding: 0;
}

.biq-demo__card label,
.biq-demo__card .grunion-field-label {
	display: block;
	margin: 0 0 8px;
	font-family: var(--biq-sans);
	font-size: 14px;
	font-weight: 600;
	line-height: 1.4;
	color: var(--biq-ink);
}

.biq-demo__card .grunion-label-required,
.biq-demo__card label .required {
	font-weight: 400;
	color: var(--biq-ink-muted);
}

.biq-demo__card input[type="text"],
.biq-demo__card input[type="email"],
.biq-demo__card textarea {
	box-sizing: border-box;
	width: 100%;
	max-width: none;
	margin: 0;
	padding: 12px 14px;
	background: var(--biq-surface-raised);
	border: 1.5px solid var(--biq-line-strong);
	border-radius: var(--biq-radius-sm);
	font-family: var(--biq-sans);
	font-size: 16px;
	line-height: 1.4;
	color: var(--biq-ink);
	box-shadow: none;
}

.biq-demo__card textarea {
	min-height: 120px;
	resize: vertical;
}

.biq-demo__card input:focus,
.biq-demo__card textarea:focus {
	border-color: var(--biq-aqua);
	outline: 3px solid var(--biq-aqua);
	outline-offset: 1px;
}

.biq-demo__card .wp-block-jetpack-button,
.biq-demo__card .contact-submit {
	align-self: flex-start;
	margin: 4px 0 0;
}

.biq-demo__card button[type="submit"],
.biq-demo__card .wp-block-button__link {
	box-sizing: border-box;
	display: inline-flex;
	align-items: center;
	justify-content: center;
	height: 52px;
	padding: 0 28px;
	background: var(--biq-flamingo);
	border: 0;
	border-radius: var(--biq-pill);
	box-shadow: var(--biq-glow-flamingo);
	font-family: var(--biq-sans);
	font-size: 16px;
	font-weight: 600;
	line-height: 1;
	color: var(--biq-on-flamingo);
	cursor: pointer;
	transition: transform 0.15s ease;
}

.biq-demo__card button[type="submit"]:hover {
	transform: translateY(-1px);
}

.biq-demo__card button[type="submit"]:focus-visible {
	outline: 3px solid var(--biq-aqua);
	outline-offset: 3px;
}

.biq-demo__card .contact-form-submission {
	margin: 0;
	padding: 0;
	border: 0;
	background: none;
	color: var(--biq-ink);
}

.biq-demo__card .contact-form-submission h4 {
	margin: 0 0 12px;
	font-family: var(--biq-display);
	font-size: 24px;
	font-weight: 600;
	line-height: 1.2;
	color: var(--biq-ink);
}

.biq-demo__card .contact-form-submission .jetpack_forms_contact-form-custom-success-message {
	font-size: 16px;
	line-height: 1.55;
	color: var(--biq-ink-muted);
}

.biq-demo__card .contact-form-submission .go-back-message {
	margin: 0 0 20px;
	font-size: 14px;
}

.biq-demo__card .contact-form-submission .go-back-message a {
	color: var(--biq-aqua);
	text-decoration: none;
}

.biq-form-note {
	margin: 20px 0 0;
	font-size: 13px;
	line-height: 1.45;
	color: var(--biq-ink-muted);
}

.biq-form-note a,
.biq-form-note a:visited {
	color: var(--biq-aqua);
}

.biq-form-note a:hover {
	color: var(--biq-ink);
}

/* ------------------------------------------------------------------ footer */

.biq-footer {
	border-top: 1.5px solid var(--biq-line);
}

.biq-footer__grid {
	display: grid;
	grid-template-columns: 1.4fr 1fr 1fr;
	gap: 48px;
	padding-block: 64px 48px;
}

.biq-footer__brand {
	display: flex;
	flex-direction: column;
	gap: 16px;
}

.biq-footer__brand p {
	margin: 0;
	font-size: 15px;
}

.biq-footer__col {
	display: flex;
	flex-direction: column;
	gap: 10px;
	font-size: 15px;
}

.biq-footer__heading {
	margin: 0;
	font-weight: 600;
}

.biq-footer__list {
	display: flex;
	flex-direction: column;
	gap: 10px;
	margin: 0;
	padding: 0;
	list-style: none;
}

.biq-footer a:not(.biq-brand):not(.biq-lang__link),
.biq-footer a:not(.biq-brand):not(.biq-lang__link):visited {
	color: var(--biq-aqua);
	text-decoration: none;
}

.biq-footer a:not(.biq-brand):not(.biq-lang__link):hover {
	color: var(--biq-ink);
}

.biq-footer__bottom {
	position: relative;
	display: flex;
	flex-wrap: wrap;
	align-items: center;
	justify-content: space-between;
	gap: 16px;
	padding-block: 20px 32px;
	font-size: 13px;
	color: var(--biq-ink-muted);
}

/* Divider aligned with the content, not the container's padding box. */
.biq-footer__bottom::before {
	content: "";
	position: absolute;
	top: 0;
	right: var(--biq-gutter);
	left: var(--biq-gutter);
	border-top: 1.5px solid var(--biq-line-soft);
}

.biq-footer__address {
	font-style: normal;
	line-height: 1.5;
}

.biq-footer__legal {
	display: flex;
	flex-wrap: wrap;
	gap: 8px 20px;
	margin: 0;
}

/* --------------------------------------------------------- 404 and legal */

.biq-notfound {
	display: flex;
	flex-direction: column;
	align-items: flex-start;
	gap: 24px;
}

.biq-notfound > * {
	max-width: 760px;
}

.biq-notfound .biq-term {
	min-width: min(420px, 100%);
	margin-bottom: 16px;
}

.biq-legal > * {
	max-width: 760px;
}

.biq-legal__head {
	display: flex;
	flex-direction: column;
	gap: 12px;
	margin-bottom: 16px;
}

.biq-legal__head p {
	margin: 0;
}

.biq-legal__section {
	margin-top: 40px;
}

.biq-legal__section .biq-h3 {
	margin-bottom: 16px;
}

.biq-legal p,
.biq-legal li {
	font-size: 17px;
	line-height: 1.65;
}

.biq-legal__section p {
	margin: 0 0 16px;
}

.biq-legal ul {
	margin: 0 0 16px;
	padding-left: 22px;
}

.biq-legal li + li {
	margin-top: 8px;
}

.biq-prose {
	padding-block: 96px;
}

.biq-prose > * {
	max-width: 760px;
}

.biq-prose__title {
	margin: 0 0 32px;
	font-size: var(--wp--preset--font-size--display-l);
}

/* -------------------------------------------------------------- responsive */

@media (max-width: 1100px) {
	.biq-lang--header {
		display: none;
	}
}

@media (max-width: 900px) {
	:root {
		--biq-section-y: 96px;
	}

	.biq-grid-3,
	.biq-hero__grid,
	.biq-split,
	.biq-footer__grid {
		grid-template-columns: minmax(0, 1fr);
	}

	.biq-split > *,
	.biq-hero__grid > * {
		min-width: 0;
	}

	.biq-nav {
		display: none;
	}

	.biq-hero {
		min-height: 0;
	}

	.biq-hero__chart {
		justify-self: stretch;
		max-width: none;
	}

	.biq-h2,
	.biq-h2--xl {
		font-size: 32px;
	}

	.biq-kpis {
		grid-template-columns: minmax(0, 1fr);
		gap: 10px;
	}

	.biq-kpi {
		display: grid;
		grid-template-columns: minmax(0, 1fr) auto;
		align-items: center;
		gap: 2px 12px;
		padding: 14px 16px;
	}

	.biq-kpi__value {
		grid-row: 1 / span 2;
		grid-column: 2;
		font-size: 24px;
		text-align: right;
	}

	.biq-kpi__beam {
		grid-column: 1;
		width: 40px;
		height: 4px;
		margin-top: 4px;
	}

	.biq-table thead {
		position: absolute;
		width: 1px;
		height: 1px;
		overflow: hidden;
		clip-path: inset(50%);
	}

	.biq-table tbody tr {
		display: grid;
		grid-template-columns: minmax(0, 1fr) auto;
		gap: 8px 12px;
		padding: 14px 0;
		border-top: 1.5px solid var(--biq-line);
	}

	.biq-table tbody th,
	.biq-table tbody td {
		width: auto;
		padding: 0;
		border: 0;
	}

	.biq-table tbody td:last-child {
		grid-column: 1 / -1;
		justify-self: start;
	}
}

@media (max-width: 600px) {
	:root {
		--biq-gutter: 24px;
		--biq-section-y: 80px;
	}

	.biq-header__inner {
		gap: 12px;
	}

	.biq-brand__name {
		font-size: 20px;
	}

	.biq-btn--header {
		height: 40px;
		padding: 0 16px;
		font-size: 14px;
	}

	.biq-hero__grid {
		padding-block: 80px 64px;
	}

	.biq-hero__lede {
		font-size: 18px;
	}

	.biq-term {
		padding: 24px 20px;
		font-size: 15px;
	}

	.biq-card,
	.biq-glass,
	.biq-dash,
	.biq-demo__card {
		padding: 24px 20px;
	}

	.biq-about {
		padding: 28px 24px;
	}

	.biq-demo__inner {
		padding-bottom: 160px;
	}

	.biq-display-xl,
	.biq-h2,
	.biq-h2--xl,
	.biq-h3 {
		hyphens: auto;
		-webkit-hyphenate-limit-before: 4;
		-webkit-hyphenate-limit-after: 4;
		hyphenate-limit-chars: 10 4 4;
	}
}

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

	.biq-btn,
	.biq-demo__card button[type="submit"] {
		transition: none;
	}

	.biq-btn:hover,
	.biq-demo__card button[type="submit"]:hover {
		transform: none;
	}

	.biq-term__cursor {
		animation: none;
	}
}
