/* === GLOBAL RESETS / BASE === */
body {
	font-family: 'Inter', sans-serif;
	color: #2c3e50;
	background-color: #f5f9ff;
}

h1, h2, h3, h4 {
	font-family: 'Roboto', sans-serif;
	color: #62388e;
}

a {
	color: #62388e;
	text-decoration: none;
}

a:hover {
	color: #6a5acd;
}

button,
input[type="submit"],
.wp-block-button__link,
.wp-block-button.is-style-outline .wp-block-button__link {
	background-color: #62388e;
	color: #ffffff;
	border-radius: 8px;
	padding: 10px 20px;
	border: none;
	transition: background-color .3s ease;
}

button:hover,
input[type="submit"]:hover,
.wp-block-button__link:hover {
	background-color: #6a5acd;
	color: #ffffff;
}

/* Header */
header {
	background-color: #f5f9ff;
	padding: 20px 0;
}

header .site-logo img {
	max-height: 60px;
}

header .site-title a {
	font-family: 'Roboto', serif;
	color: #62388e;
	font-size: 2rem;
	text-decoration: none;
}

/* Navigation text (non-outline styling) */
nav a {
	font-family: 'Inter', sans-serif;
	color: #2c3e50;
	padding: 10px 15px;
	text-decoration: none;
	transition: color .2s ease;
}

nav a:hover {
	color: #62388e;
}

/* ===============================
   FOOTER
   =============================== */
/* === General Footer Layout === */
footer.footer {
	background-color: #1a1a1a;
/* dark background like questionbox */
	color: #ffffff;
	padding: 60px 0 30px;
	font-family: 'Inter', sans-serif;
	font-size: 15px;
	line-height: 1.6;
}

.footer .container-center-horizontal {
	max-width: 1200px;
	margin: 0 auto;
	padding: 0 20px;
}

/* === Footer Content Sections === */
.footer-content {
	display: flex;
	flex-direction: column;
	gap: 40px;
}

.main-content {
	display: flex;
	justify-content: space-between;
	align-items: flex-start;
	flex-wrap: wrap;
	border-bottom: 1px solid rgba(255, 255, 255, 0.1);
	padding-bottom: 40px;
}

/* === Links Section === */
.links-section {
	display: flex;
	gap: 60px;
}

.links-column h4 {
	font-size: 16px;
	color: #ffffff;
	margin-bottom: 15px;
	text-transform: uppercase;
	letter-spacing: .5px;
}

.link-list {
	list-style: none;
	padding: 0;
	margin: 0;
}

.link-list li {
	margin-bottom: 10px;
}

.link-list a {
	color: #cccccc;
	text-decoration: none;
	transition: color .3s;
}

.link-list a:hover {
	color: #ffffff;
}

/* === Logo Section === */
.logo-section {
	text-align: center;
	flex: 1;
}

.logo-image {
	max-width: 180px;
	height: auto;
	filter: brightness(0) invert(1);
}

/* === Social Icons === */
.social-section {
	text-align: center;
}

.social-icons {
	display: flex;
	justify-content: center;
	gap: 20px;
}

.social-icon svg, .social-icon img {
	width: 24px;
	height: 24px;
	fill: #cccccc;
	transition: fill .3s;
}

.social-icon:hover svg, .social-icon:hover img {
	fill: #ffffff;
}

/* === Footer Bottom (copyright + contact) === */
.footer-section {
	display: flex;
	justify-content: space-between;
	align-items: flex-start;
	flex-wrap: wrap;
	border-top: 1px solid rgba(255, 255, 255, 0.1);
	padding-top: 30px;
}

.copyright-section {
	flex: 1;
	min-width: 250px;
}

.copyright-text {
	font-size: 13px;
	color: #aaaaaa;
}

.contact-section {
	flex: 1;
	min-width: 250px;
	text-align: right;
}

.contact-list {
	list-style: none;
	margin: 0;
	padding: 0;
}

.contact-list li {
	margin-bottom: 8px;
	color: #cccccc;
}

.contact-list a {
	color: #cccccc;
	text-decoration: none;
}

.contact-list a:hover {
	color: #ffffff;
}

/* === Responsive Adjustments === */
@media (max-width: 768px) {
	.main-content, .footer-section {
		flex-direction: column;
		align-items: center;
		text-align: center;
	}
	
	.links-section {
		flex-direction: column;
		gap: 30px;
	}
	
	.contact-section {
		text-align: center;
	}
}

/* Footer base (alt tokenised style) */
.footer {
	background: var(--footer-bg);
	color: var(--footer-fg);
	font-family: inherit;
	padding: 48px 0 28px;
}

.footer a {
	color: var(--footer-fg);
	text-decoration: none;
}

.footer a:hover {
	text-decoration: underline;
	text-decoration-color: var(--footer-accent);
}

.container-center-horizontal {
	max-width: 1200px;
	margin: 0 auto;
	padding: 0 24px;
}

/* top area */
.footer-content .content-section {
	display: grid;
	grid-template-columns: 1fr auto;
	gap: 48px;
	align-items: start;
}

/* link columns */
.links-section {
	display: grid;
	grid-template-columns: repeat(2, minmax(180px, 1fr));
	gap: 32px;
}

.links-heading {
	margin: 0 0 12px;
	font-size: 1rem;
	font-weight: 700;
	letter-spacing: .02em;
	color: var(--footer-fg);
}

.link-list li {
	margin: 10px 0;
}

.link-list a {
	color: var(--footer-muted);
}

.link-list a:hover {
	color: var(--footer-fg);
}

/* logo */
.logo-section {
	display: flex;
	align-items: center;
}

.logo-container {
	display: inline-flex;
	align-items: center;
}

.logo-image {
	max-height: 56px;
	width: auto;
	filter: none;
}

/* social icons row */
.social-section {
	margin: 28px 0;
}

.social-icons {
	display: flex;
	gap: 12px;
	flex-wrap: wrap;
}

.social-icon {
	width: 40px;
	height: 40px;
	display: inline-flex;
	align-items: center;
	justify-content: center;
	border-radius: 999px;
	background: rgba(255,255,255,.12);
	transition: transform .15s ease, background .15s ease;
}

.social-icon:hover {
	transform: translateY(-2px);
	background: rgba(255,255,255,.2);
}

.social-icon svg {
	display: block;
}

/* bottom row */
.footer-section {
	border-top: 1px solid rgba(255,255,255,.12);
	padding-top: 18px;
	display: grid;
	grid-template-columns: 1fr auto;
	gap: 16px;
	align-items: center;
}

.copyright-text {
	margin: 0;
	color: var(--footer-muted);
	line-height: 1.5;
}

/* contacts */
.contact-list {
	list-style: none;
	margin: 0;
	padding: 0;
	display: grid;
	gap: 8px;
}

.contact-list li {
	display: flex;
	align-items: center;
	gap: 10px;
}

.contact-list a, .contact-list span {
	color: var(--footer-fg);
}

.icon {
	width: 16px;
	height: 16px;
	display: inline-block;
	background-size: 16px 16px;
	opacity: .9;
}

.icon.email {
	background-image: ;
}

.icon.phone {
	background-image: ;
}

.icon.address {
	background-image: ;
}

/* responsive */
@media (max-width: 900px) {
	.footer-content .content-section {
		grid-template-columns: 1fr;
	}
	
	.logo-section {
		justify-content: flex-start;
	}
}

@media (max-width: 640px) {
	.links-section {
		grid-template-columns: 1fr;
	}
	
	.footer-section {
		grid-template-columns: 1fr;
		text-align: left;
	}
	
	.social-icons {
		gap: 10px;
	}
}

/* ===============================
   BANNER
   =============================== */
.banner-section {
	position: relative;
	min-height: clamp(260px, 45vw, 520px);
	display: grid;
	overflow: hidden;
	border-radius: 12px;
}

.banner-bg {
	position: absolute;
	background-size: cover;
	background-position: center;
	transform: scale(1.05);
}

.banner-section::after {
	content: "";
	position: absolute;
	background: linear-gradient(180deg, rgba(0,0,0,.35) 0%, rgba(0,0,0,.55) 100%);
	z-index: 0;
}

.banner-content {
	position: relative;
	z-index: 1;
	text-align: center;
	color: #fff;
	padding: clamp(16px, 4vw, 48px);
	max-width: min(92vw, 900px);
	display: grid;
	gap: .75rem;
}

.banner-title {
	margin: 0;
	font-size: clamp(1.6rem, 3.5vw, 3rem);
	line-height: 1.1;
	font-weight: 700;
}

.banner-subtitle {
	margin: 0;
	font-size: clamp(1rem, 1.4vw, 1.25rem);
	opacity: .95;
}

.banner-cta {
	display: inline-block;
	margin-top: .75rem;
	padding: .7rem 1.1rem;
	border-radius: 999px;
	background: #1a73e8;
	color: #fff;
	text-decoration: none;
	font-weight: 600;
}

@keyframes fadeUp {
	from {
		opacity: 0;
		transform: translateY(8px);
	}
	
	to {
		opacity: 1;
		transform: translateY(0);
	}
}

.banner-content > * {
	animation: fadeUp .6s ease both;
}

.banner-content > :nth-child(2) {
	animation-delay: .08s;
}

.banner-content > :nth-child(3) {
	animation-delay: .16s;
}

@media (max-width: 480px) {
	.banner-content {
		gap: .6rem;
	}
}

/* ===============================
   QBOX – HOME / GENERIC
   =============================== */
:root {
/* tokens hook if needed */
}

.qb-hero {
	background: #fff;
	border-bottom: 1px solid var(--qb-line);
}

.qb-hero h1 {
	margin: 0 0 .25rem;
}

.qb-spotlight {
	background: linear-gradient(180deg,#fff 0,#FDF2F7 100%);
	border: 1px solid var(--qb-line);
	border-radius: 16px;
	padding: 20px;
}

.qb-section h2 {
	margin-top: 0;
}

.qb-grid {
	gap: 24px;
}

.qb-card {
	background: #fff;
	border: 1px solid var(--qb-line);
	border-radius: 16px;
	padding: 18px 20px;
	box-shadow: 0 1px 0 rgba(16,24,40,.03);
	transition: transform .15s ease, box-shadow .15s ease;
}

.qb-card:hover {
	transform: translateY(-2px);
	box-shadow: 0 8px 20px rgba(16,24,40,.08);
}

.qb-card h4 {
	margin: .1rem 0 .25rem;
}

.qb-meta {
	opacity: .8;
	font-size: .9rem;
	margin: .35rem 0 0;
}

.qb-sky {
	background: var(--qb-sky);
	border-top: 1px solid var(--qb-line);
	border-bottom: 1px solid var(--qb-line);
}

.qb-events {
	margin: .5rem 0 0;
	padding-left: 1rem;
}

.qb-more {
	display: inline-block;
	padding: .6rem 1rem;
	border-radius: 999px;
	border: 2px solid var(--qb-navy);
	text-decoration: none;
}

.qb-more:hover {
	background: var(--qb-navy);
	color: #fff;
}

.wp-block-button .wp-block-button__link {
	border-radius: 999px;
	font-weight: 600;
}

.is-style-outline .wp-block-button__link {
	border: 2px solid var(--qb-navy);
	background: transparent;
	color: var(--qb-navy);
}

.is-style-outline .wp-block-button__link:hover {
	background: var(--qb-navy);
	color: #fff;
}

a {
	color: var(--qb-navy);
}

a:hover {
	color: var(--qb-pink);
}

@media (max-width:781px) {
	.qb-grid {
		gap: 16px;
	}
}

.qb-itrack {
	color: var(--qb-ink);
}

.qb-itrack a {
	color: var(--qb-navy);
	text-decoration: none;
}

.qb-itrack a:hover {
	color: var(--qb-pink);
}

/* ===============================
   ITRACK PAGES
   =============================== */
.itr-hero {
	padding: 72px 0 56px;
	background: #fff;
	border-bottom: 1px solid var(--qb-line);
}

.itr-hero h1 {
	margin: .1rem 0 .5rem;
	letter-spacing: -.015em;
}

.itr-hero p.lede {
	max-width: 760px;
	font-size: 1.125rem;
	opacity: .92;
}

.itr-hero .wp-block-buttons {
	margin-top: 16px;
}

.itr-hero .wp-block-button__link {
	border-radius: 999px;
	font-weight: 600;
	padding: .8rem 1.25rem;
}

.itr-hero .wp-block-button:first-child .wp-block-button__link {
	background: var(--qb-pink);
	color: #fff;
}

.itr-hero .is-style-outline .wp-block-button__link {
	border: 2px solid var(--qb-navy);
	background: transparent;
	color: var(--qb-navy);
}

.itr-hero .is-style-outline .wp-block-button__link:hover {
	background: var(--qb-navy);
	color: #fff;
}

.itr-band {
	padding: 48px 0;
}

.itr-sky {
	background: var(--qb-sky);
	border-top: 1px solid var(--qb-line);
	border-bottom: 1px solid var(--qb-line);
}

.itr-tight {
	padding: 32px 0;
}

.itr-ticks {
	list-style: none;
	padding-left: 0;
	margin: 12px 0 0;
}

.itr-ticks li {
	position: relative;
	padding-left: 28px;
	margin: .35rem 0;
}

.itr-ticks li::before {
	content: "✓";
	position: absolute;
	left: 0;
	top: 0;
	color: var(--qb-pink);
	font-weight: 700;
}

.itr-quote {
	background: #fff;
	border: 1px solid var(--qb-line);
	border-radius: 16px;
	padding: 18px 20px;
	box-shadow: 0 1px 0 rgba(16,24,40,.03);
}

.itr-cta .wp-block-button__link {
	border-radius: 999px;
	padding: .8rem 1.25rem;
	font-weight: 600;
}

.itr-cta .wp-block-button:first-child .wp-block-button__link {
	background: var(--qb-pink);
	color: #fff;
}

.itr-cta .is-style-outline .wp-block-button__link {
	border: 2px solid var(--qb-navy);
	color: var(--qb-navy);
}

.itr-tabs {
	padding: 40px 0;
}

.itr-tabbar {
	display: flex;
	gap: 10px;
	flex-wrap: wrap;
	margin: 10px 0 18px;
}

.itr-tabbar .wp-block-button__link {
	border-radius: 999px;
	padding: .6rem 1rem;
	font-weight: 600;
	border: 2px solid var(--qb-navy);
	background: #fff;
	color: var(--qb-navy);
}

.itr-tabbar .is-active .wp-block-button__link {
	background: var(--qb-navy);
	color: #fff;
}

.itr-panel {
	display: none;
	border: 1px solid var(--qb-line);
	border-radius: 16px;
	padding: 20px;
	background: #fff;
	box-shadow: 0 1px 0 rgba(16,24,40,.03);
}

.itr-panel.is-visible {
	display: block;
}

.itr-related ul {
	padding-left: 1rem;
	margin: .25rem 0 0;
}

@media (max-width:781px) {
	.itr-hero {
		padding: 56px 0 48px;
	}
	
	.itr-tabbar {
		gap: 8px;
	}
}

/* ===============================
   QBOX – HOME SECTIONS
   =============================== */
.qbox {
	color: var(--qbox-ink);
	background: var(--qbox-bg);
}

.qbox .container {
	max-width: 1100px;
	margin: auto;
	padding: clamp(24px,4vw,56px) 20px;
}

.qbox .eyebrow {
	letter-spacing: .12em;
	text-transform: uppercase;
	font-weight: 700;
	color: var(--qbox-muted);
	margin: 0 0 6px;
}

.qbox .title {
	font-size: clamp(34px,6vw,56px);
	line-height: 1.05;
	margin: .1em 0 .15em;
	font-weight: 800;
}

.qbox .title span {
	color: var(--qbox-accent);
}

.qbox .subtitle {
	font-size: clamp(16px,2.2vw,20px);
	color: var(--qbox-muted);
	margin: 0 0 .7rem;
}

.qbox .lede {
	font-size: clamp(18px,2.4vw,22px);
	margin: 0 0 1.2rem;
}

.qbox .cta-row {
	display: flex;
	gap: 12px;
	flex-wrap: wrap;
	margin: 18px 0 0;
}

.qbox .btn {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	height: 44px;
	padding: 0 18px;
	border-radius: 999px;
	font-weight: 700;
	text-decoration: none;
	border: 1px solid transparent;
	transition: transform .15s ease, box-shadow .2s ease, background .2s ease, color .2s ease;
}

.qbox .btn:hover {
	transform: translateY(-1px);
}

.qbox .btn-primary {
	background: var(--qbox-accent);
	color: var(--qbox-accent-ink);
}

.qbox .btn-primary:hover {
	box-shadow: 0 8px 24px rgba(47,107,255,.35);
}

.qbox .btn-ghost {
	background: var(--qbox-ghost);
	color: var(--qbox-ink);
}

.qbox .btn-ghost:hover {
	background: rgba(15,23,42,.1);
}

.qbox .btn-outline {
	background: transparent;
	color: var(--qbox-ink);
	border-color: var(--qbox-border);
}

.qbox .btn-outline:hover {
	border-color: var(--qbox-ink);
}

.qbox-intro p {
	font-size: 18px;
	line-height: 1.65;
	margin: 0 0 12px;
	color: #223;
}

/* Features */
.qbox-features .section-head {
	display: flex;
	align-items: end;
	gap: 16px;
	justify-content: space-between;
	margin-bottom: 12px;
}

.qbox-features h2 {
	font-size: clamp(24px,3vw,32px);
	margin: 0;
}

.qbox .muted {
	color: var(--qbox-muted);
}

/* Scroll row (mobile) */
.feature-scroll {
	display: flex;
	gap: 16px;
	overflow: auto;
	padding: 8px 2px 12px;
	border-bottom: 1px dashed var(--qbox-border);
}

.feature-scroll .card {
	min-width: 78%;
	scroll-snap-align: center;
}

/* Grid (>=900px) */
@media(min-width:900px) {
	.feature-scroll {
		display: none;
	}
	
	.feature-grid {
		display: grid;
		grid-template-columns: repeat(4,1fr);
		gap: 18px;
	}
}

@media(max-width:899.98px) {
	.feature-grid {
		display: none;
	}
}

.card {
	background: #fff;
	border: 1px solid var(--qbox-border);
	border-radius: var(--qbox-radius);
	padding: 14px;
	box-shadow: 0 6px 18px rgba(12,22,44,.06);
	transition: transform .18s ease, box-shadow .18s ease;
}

.card:hover {
	transform: translateY(-3px);
	box-shadow: 0 12px 28px rgba(12,22,44,.12);
}

.card h3 {
	margin: 10px 2px 6px;
	font-size: 18px;
}

.card p {
	margin: 0;
	color: #243045;
}

.card .shot {
	border-radius: 12px;
	overflow: hidden;
	aspect-ratio: 16/10;
	background: linear-gradient(180deg,#f2f5ff,#fff);
}

.card .shot img {
	width: 100%;
	height: auto;
	display: block;
}

.qbox-offer .panel {
	border: 1px solid var(--qbox-border);
	border-radius: calc(var(--qbox-radius) + 4px);
	padding: 28px 22px;
	background: linear-gradient(180deg,#f9fbff, #fff);
}

.qbox-offer h2 {
	margin: 0 0 6px;
}

/* Case studies */
.qbox-cases .cards-2 {
	display: grid;
	grid-template-columns: 1fr;
	gap: 18px;
}

@media(min-width:820px) {
	.qbox-cases .cards-2 {
		grid-template-columns: 1fr 1fr;
	}
}

.case-card {
	display: block;
	border: 1px solid var(--qbox-border);
	border-radius: var(--qbox-radius);
	overflow: hidden;
	text-decoration: none;
	color: inherit;
	transition: transform .18s ease, box-shadow .18s ease;
	box-shadow: 0 6px 18px rgba(12,22,44,.06);
}

.case-card:hover {
	transform: translateY(-3px);
	box-shadow: 0 12px 28px rgba(12,22,44,.12);
}

.case-card .shot {
	aspect-ratio: 16/9;
	background: #eef2ff;
	overflow: hidden;
}

.case-card .shot img {
	width: 100%;
	height: 100%;
	object-fit: cover;
	display: block;
}

.case-body {
	padding: 14px 16px;
}

.case-body h3 {
	margin: .2rem 0 .3rem;
}

.case-body p {
	margin: 0;
	color: #334;
}

/* Related products */
.qbox-related .cards-3 {
	display: grid;
	grid-template-columns: 1fr;
	gap: 14px;
}

@media(min-width:860px) {
	.qbox-related .cards-3 {
		grid-template-columns: repeat(3,1fr);
	}
}

.prod-card {
	display: block;
	border: 1px solid var(--qbox-border);
	border-radius: var(--qbox-radius);
	padding: 16px 18px;
	text-decoration: none;
	color: inherit;
	background: #fff;
	box-shadow: 0 6px 18px rgba(12,22,44,.06);
}

.prod-card:hover {
	box-shadow: 0 12px 28px rgba(12,22,44,.12);
}

.prod-card h3 {
	margin: 0 0 6px;
}

.prod-card p {
	margin: 0;
}

/* Contact panel */
.qbox-contact .panel {
	border: 1px dashed var(--qbox-border);
	border-radius: calc(var(--qbox-radius) + 4px);
	padding: 24px 20px;
	background: #fff;
}

.qbox .form-slot {
	margin-top: 12px;
}

.qbox .section-head {
	margin-bottom: 10px;
}

.qbox .cards-2,.qbox .cards-3 {
	margin-top: 10px;
}

/* Gutenberg niceties */
.wp-block-post-content .qbox-page :where(p,h1,h2,h3) {
	max-width: 72ch;
}

/* Accessibility (keep for non-nav areas) */
.qbox a:focus {
	outline: 2px solid var(--qbox-accent);
	outline-offset: 3px;
	border-radius: 10px;
}

/* ===============================
   ABOUT PAGE
   =============================== */
.qbox-about {
}

.qbox-about {
	color: var(--ink);
}

.qbox-about .container {
	max-width: 1100px;
	margin: auto;
	padding: clamp(24px,4vw,56px) 20px;
}

.qbox-about .eyebrow {
	letter-spacing: .12em;
	text-transform: uppercase;
	font-weight: 700;
	color: var(--muted);
	margin: 0 0 8px;
}

.qbox-about .title {
	font-size: clamp(34px,6vw,56px);
	line-height: 1.05;
	margin: 0 0 .4rem;
	font-weight: 800;
}

.qbox-about .lede {
	font-size: clamp(18px,2.4vw,22px);
	color: #23304b;
	margin: 0;
}

.qbox-about .who .copy p {
	font-size: 18px;
	line-height: 1.75;
	margin: 0 0 12px;
	color: #1f2842;
}

.qbox-about .who .copy strong {
	font-weight: 800;
}

/* Team grid */
.team .section-head {
	display: flex;
	justify-content: space-between;
	align-items: flex-end;
	gap: 16px;
	margin-bottom: 12px;
}

.qbox-about .muted {
	color: var(--muted);
}

.team-grid {
	display: grid;
	grid-template-columns: repeat(auto-fill,minmax(220px,1fr));
	gap: 16px;
}

.tcard {
	border: 1px solid var(--border);
	border-radius: var(--radius);
	background: #fff;
	box-shadow: var(--shadow);
	overflow: hidden;
}

.tcard-btn {
	display: block;
	width: 100%;
	text-align: left;
	background: none;
	border: none;
	padding: 0;
	cursor: pointer;
}

.tcard-photo {
	aspect-ratio: 4/3;
	width: 100%;
	object-fit: cover;
	display: block;
	background: #eef2ff;
}

.tcard-name {
	margin: 10px 12px 2px;
	font-size: 18px;
}

.tcard-role {
	margin: 0 12px 12px;
	color: #334;
}

.tcard:hover {
	transform: translateY(-2px);
	box-shadow: 0 12px 28px rgba(12,22,44,.12);
}

/* Modal */
.modal {
	border: none;
	border-radius: calc(var(--radius) + 4px);
	padding: 0;
	max-width: min(900px,92vw);
	box-shadow: 0 24px 60px rgba(0,0,0,.35);
}

.modal::backdrop {
	background: rgba(9,14,30,.6);
}

.modal-body {
	display: grid;
	grid-template-columns: 240px 1fr;
	gap: 16px;
	padding: 18px;
}

.modal-photo {
	width: 100%;
	height: 100%;
	object-fit: cover;
	border-radius: 12px;
}

.modal-copy h3 {
	margin: .2rem 0 .3rem;
	font-size: 22px;
}

.modal-copy h4 {
	margin: .6rem 0 .2rem;
	font-size: 16px;
	color: #1c2540;
}

.modal-copy p {
	margin: 0 0 .6rem;
	color: #223;
}

.modal-close {
	position: absolute;
	right: 10px;
	top: 6px;
	background: var(--ghost);
	border: 1px solid var(--border);
	border-radius: 999px;
	width: 36px;
	height: 36px;
	cursor: pointer;
	font-size: 22px;
	line-height: 1;
}

@media(max-width:760px) {
	.modal-body {
		grid-template-columns: 1fr;
	}
	
	.modal-photo {
		max-height: 220px;
	}
}

/* Timeline */
.timeline .tl-wrap {
	border: 1px solid var(--border);
	border-radius: var(--radius);
	overflow: hidden;
	background: #fff;
	box-shadow: var(--shadow);
}

.tl-nav {
	display: flex;
	gap: 8px;
	overflow: auto;
	list-style: none;
	margin: 0;
	padding: 12px;
	border-bottom: 1px solid var(--border);
}

.tl-nav button {
	white-space: nowrap;
	border: 1px solid var(--border);
	background: var(--ghost);
	padding: 8px 12px;
	border-radius: 999px;
	cursor: pointer;
	font-weight: 700;
}

.tl-nav button[aria-selected="true"], .tl-nav button:hover {
	background: var(--accent);
	color: #fff;
	border-color: transparent;
}

.tl-panels {
	padding: 16px 16px 10px;
}

.tl-panel {
	display: none;
	animation: fade .18s ease-in;
}

.tl-panel.is-active {
	display: block;
}

.tl-panel h3 {
	margin: .1rem 0 .3rem;
}

@keyframes fade {
	from {
		opacity: 0;
		transform: translateY(4px);
	}
	
	to {
		opacity: 1;
		transform: none;
	}
}

/* Gutenberg niceties */
.wp-block-post-content .qbox-about :where(p,h1,h2,h3) {
	max-width: 72ch;
}

/* Accessibility (keep for non-nav areas) */
.qbox-about a:focus, .qbox-about button:focus {
	outline: 2px solid var(--accent);
	outline-offset: 2px;
	border-radius: 10px;
}

/* ===============================
   PRODUCT PAGES
   =============================== */
.qbox-prod {
}

.qbox-prod.maths .title span {
	color: #24b37a;
}

.qbox-prod {
	color: var(--ink);
}

.qbox-prod .container {
	max-width: 1100px;
	margin: auto;
	padding: clamp(24px,4vw,56px) 20px;
}

.qbox-prod .eyebrow {
	letter-spacing: .12em;
	text-transform: uppercase;
	font-weight: 700;
	color: var(--muted);
	margin: 0 0 6px;
}

.qbox-prod .title {
	font-size: clamp(34px,6vw,56px);
	line-height: 1.05;
	margin: .1em 0 .15em;
	font-weight: 800;
}

.qbox-prod .subtitle {
	font-size: clamp(16px,2.2vw,20px);
	color: var(--muted);
	margin: 0 0 .7rem;
}

.qbox-prod .lede {
	font-size: clamp(18px,2.4vw,22px);
	margin: 0 0 1.2rem;
	color: #223048;
}

.qbox-prod .cta-row {
	display: flex;
	gap: 12px;
	flex-wrap: wrap;
	margin: 18px 0 0;
}

.qbox-prod .btn {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	height: 44px;
	padding: 0 18px;
	border-radius: 999px;
	font-weight: 700;
	text-decoration: none;
	border: 1px solid transparent;
	transition: transform .15s ease, box-shadow .2s ease, background .2s ease, color .2s ease;
}

.qbox-prod .btn:hover {
	transform: translateY(-1px);
}

.qbox-prod .btn-primary {
	background: var(--accent);
	color: #fff;
}

.qbox-prod.maths .btn-primary {
	background: #24b37a;
}

.qbox-prod .btn-primary:hover {
	box-shadow: 0 8px 24px rgba(0,0,0,.18);
}

.qbox-prod .btn-ghost {
	background: var(--ghost);
	color: var(--ink);
}

.qbox-prod .btn-ghost:hover {
	background: rgba(15,23,42,.1);
}

.qbox-prod .btn-outline {
	background: transparent;
	color: var(--ink);
	border-color: var(--border);
}

.qbox-prod .btn-outline:hover {
	border-color: var(--ink);
}

/* Intro */
.qbox-prod .intro p {
	font-size: 18px;
	line-height: 1.7;
	color: #1e2743;
	margin: 0;
}

/* Features */
.features .section-head {
	display: flex;
	align-items: flex-end;
	gap: 16px;
	justify-content: space-between;
	margin-bottom: 12px;
}

.qbox-prod .muted {
	color: var(--muted);
}

.feature-scroll {
	display: flex;
	gap: 16px;
	overflow: auto;
	padding: 8px 2px 12px;
	border-bottom: 1px dashed var(--border);
}

.feature-scroll .card {
	min-width: 78%;
	scroll-snap-align: center;
}

@media(min-width:900px) {
	.feature-scroll {
		display: none;
	}
	
	.feature-grid {
		display: grid;
		grid-template-columns: repeat(4,1fr);
		gap: 18px;
	}
}

@media(max-width:899.98px) {
	.feature-grid {
		display: none;
	}
}

.card {
	background: #fff;
	border: 1px solid var(--border);
	border-radius: var(--radius);
	padding: 14px;
	box-shadow: var(--shadow);
	transition: transform .18s ease, box-shadow .18s ease;
}

.card:hover {
	transform: translateY(-3px);
	box-shadow: 0 12px 28px rgba(12,22,44,.12);
}

.card h3 {
	margin: 10px 2px 6px;
	font-size: 18px;
}

.card p {
	margin: 0;
	color: #243045;
}

.card .shot {
	border-radius: 12px;
	overflow: hidden;
	aspect-ratio: 16/10;
	background: linear-gradient(180deg,#f2f5ff,#fff);
}

.card .shot img {
	width: 100%;
	height: auto;
	display: block;
}

/* Pricing */
.pricing .section-head {
	margin-bottom: 10px;
}

.price-grid {
	display: grid;
	grid-template-columns: 1fr;
	gap: 16px;
}

@media(min-width:820px) {
	.price-grid {
		grid-template-columns: repeat(4,1fr);
	}
}

.price-card {
	border: 1px solid var(--border);
	border-radius: calc(var(--radius) + 2px);
	padding: 18px;
	background: #fff;
	box-shadow: var(--shadow);
}

.price-card.highlight {
	outline: 2px solid rgba(36,179,122,.22);
}

.price-card h3 {
	margin: .1rem 0 .2rem;
	font-size: 18px;
}

.price-card .price {
	font-size: 28px;
	font-weight: 800;
	margin: .2rem 0 .4rem;
}

.price-card .muted {
	margin: 0 0 .6rem;
}

.price-card .cta-col {
	display: flex;
	gap: 10px;
}

.stack-cta {
	display: flex;
	gap: 12px;
	flex-wrap: wrap;
	margin-top: 12px;
}

/* Contact */
.contact .panel {
	border: 1px dashed var(--border);
	border-radius: calc(var(--radius) + 4px);
	padding: 24px 20px;
	background: #fff;
}

.qbox-prod .form-slot {
	margin-top: 12px;
}

/* Gutenberg niceties */
.wp-block-post-content .qbox-prod :where(p,h1,h2,h3) {
	max-width: 72ch;
}

/* Accessibility (keep for non-nav areas) */
.qbox-prod a:focus, .qbox-prod button:focus {
	outline: 2px solid #24b37a;
	outline-offset: 2px;
	border-radius: 10px;
}

/* ===============================
   FINAL: NAV-ONLY FOCUS RING OVERRIDE
   (place LAST so it wins the cascade)
   =============================== */
.qbox-nav a:focus,
.qbox-nav a:focus-visible,
.qbox-nav button:focus,
.qbox-nav button:focus-visible,
.qbox-nav .wp-block-navigation__submenu-icon:focus,
.qbox-nav .wp-block-navigation__submenu-icon:focus-visible {
	outline: none !important;
	box-shadow: none !important;
}

/* Some themes draw focus on the LI via :focus-within */
.qbox-nav .wp-block-navigation-item:focus-within {
	outline: none !important;
	box-shadow: none !important;
}

/* Remove iOS “blue tap highlight” */
.qbox-nav a,
.qbox-nav button {
}

/* Custom modifications to align with QuestionBox design */
.qbox-home h1 {
    font-size: 3rem;
    font-weight: 700;
    line-height: 1.2;
    color: #2c3e50;
}
.qbox-home p {
    font-size: 1.25rem;
    color: #2c3e50;
}
.qbox-home .btn-primary,
.qbox-home .btn-ghost {
    background-color: #5b2aa3;
    color: #fff;
    padding: 0.75rem 1.5rem;
    border-radius: 50px;
    font-weight: 600;
    border: none;
    box-shadow: 0 4px 8px rgba(0,0,0,0.1);
}
.qbox-home .btn-ghost {
    background-color: transparent;
    border: 2px solid #5b2aa3;
    color: #5b2aa3;
}
.who {
    padding: 4rem 0;
    background-color: #f5f9ff;
}
.who .stats {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 2rem;
}
.who .stats .stat {
    background: #ffffff;
    padding: 2rem;
    border-radius: 1rem;
    flex: 1 1 200px;
    max-width: 250px;
    box-shadow: 0 2px 8px rgba(0,0,0,0.05);
    text-align: center;
}
.who .stats .stat h3 {
    font-size: 2.5rem;
    color: #5b2aa3;
    margin-bottom: 0.5rem;
}
.who .stats .stat p {
    color: #2c3e50;
    font-size: 1rem;
}
