/* =========================================================
   Haizum Trace Quran
   Ink on paper. The page borrows the book's own materials:
   ruled practice sheets, dotted guide letters, ink strokes.
   ========================================================= */

:root {
	--tq-ink:        #12294A;
	--tq-ink-deep:   #0A1930;
	--tq-paper:      #FBFAF6;
	--tq-paper-2:    #F1EDE3;
	--tq-emerald:    #0E7C5A;
	--tq-emerald-dk: #0A5F45;
	--tq-gold:       #B8862B;
	--tq-graphite:   #55606F;
	--tq-line:       rgba(18, 41, 74, .12);
	--tq-line-soft:  rgba(18, 41, 74, .07);

	--tq-display: "Fraunces", "Iowan Old Style", Georgia, serif;
	--tq-body:    "Plus Jakarta Sans", -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
	--tq-arabic:  "Amiri", "Traditional Arabic", serif;
	--tq-dotted:  "KFGQPC Dotted", "Amiri", "Traditional Arabic", serif;

	--tq-shell:  1180px;
	--tq-radius: 14px;
	--tq-radius-lg: 22px;
	--tq-shadow: 0 1px 2px rgba(10, 25, 48, .05), 0 12px 34px rgba(10, 25, 48, .07);
	--tq-shadow-lg: 0 2px 6px rgba(10, 25, 48, .06), 0 26px 60px rgba(10, 25, 48, .12);

	--tq-ease: cubic-bezier(.22, .61, .36, 1);
}

/* ---------- the dotted guide font ---------- */

/*
 * KFGQPC Alphabet Dotted - the same dotted typeface used in the printed
 * Trace Quran, so the guide letters on screen match the guide letters
 * on the page. Subset to Arabic ranges only.
 * Copyright King Fahd Glorious Quran Printing Complex.
 */
@font-face {
	font-family: "KFGQPC Dotted";
	src: url("../fonts/kfgqpc-dotted.woff2") format("woff2"),
	     url("../fonts/kfgqpc-dotted.woff") format("woff");
	font-weight: 400;
	font-style: normal;
	font-display: swap;
	unicode-range: U+0600-06FF, U+0750-077F, U+FB50-FDFF, U+FE70-FEFF;
}

/* ---------- reset ---------- */

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

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

body {
	margin: 0;
	background: var(--tq-paper);
	color: var(--tq-ink);
	font-family: var(--tq-body);
	font-size: 17px;
	line-height: 1.65;
	-webkit-font-smoothing: antialiased;
}

img, video, svg { max-width: 100%; display: block; }
img, video { height: auto; }

a { color: inherit; }

button { font: inherit; cursor: pointer; }

h1, h2, h3, h4 { margin: 0 0 .5em; line-height: 1.15; font-weight: 600; }

p { margin: 0 0 1.1em; }

ul { margin: 0; padding: 0; list-style: none; }

:focus-visible {
	outline: 3px solid var(--tq-emerald);
	outline-offset: 3px;
	border-radius: 4px;
}

.screen-reader-text {
	position: absolute !important;
	width: 1px; height: 1px;
	overflow: hidden; clip: rect(0 0 0 0);
	white-space: nowrap;
}

.tq-skip {
	position: absolute;
	left: -9999px;
	top: 0;
	background: var(--tq-ink);
	color: var(--tq-paper);
	padding: 12px 18px;
	z-index: 999;
	border-radius: 0 0 8px 0;
}
.tq-skip:focus { left: 0; }

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

.tq-shell {
	width: 100%;
	max-width: var(--tq-shell);
	margin-inline: auto;
	padding-inline: 22px;
}

.tq-main { display: block; }

.tq-section { padding-block: clamp(56px, 8vw, 96px); }
.tq-section--tight { padding-block: clamp(32px, 5vw, 56px); }

/* ---------- type scale ---------- */

.tq-h1 {
	font-family: var(--tq-display);
	font-size: clamp(2.3rem, 5.4vw, 3.6rem);
	font-weight: 600;
	letter-spacing: -.02em;
	margin-bottom: .3em;
}

.tq-h2 {
	font-family: var(--tq-display);
	font-size: clamp(1.7rem, 3.5vw, 2.5rem);
	font-weight: 600;
	letter-spacing: -.015em;
}

.tq-lead {
	font-size: clamp(1.02rem, 1.6vw, 1.18rem);
	color: var(--tq-graphite);
	max-width: 56ch;
}

.tq-eyebrow {
	display: inline-flex;
	align-items: center;
	gap: 8px;
	font-size: .78rem;
	font-weight: 700;
	letter-spacing: .1em;
	text-transform: uppercase;
	color: var(--tq-emerald);
	background: rgba(14, 124, 90, .09);
	border: 1px solid rgba(14, 124, 90, .2);
	padding: 7px 14px;
	border-radius: 999px;
	margin-bottom: 20px;
}
.tq-eyebrow--light {
	color: var(--tq-gold);
	background: rgba(184, 134, 43, .12);
	border-color: rgba(184, 134, 43, .28);
}

.tq-sechead { margin-bottom: clamp(32px, 4vw, 52px); max-width: 62ch; }
.tq-sechead--light { color: var(--tq-paper); }
.tq-sechead--light .tq-lead { color: rgba(251, 250, 246, .74); }

.tq-ayah {
	font-family: var(--tq-arabic);
	font-size: 1.6rem;
	line-height: 2.2;
	color: var(--tq-ink);
	margin: .4em 0 .1em;
}
.tq-ayah__tr {
	font-size: .88rem;
	color: var(--tq-graphite);
	font-style: italic;
	margin-bottom: 1.2em;
}

.tq-stars { display: inline-flex; gap: 2px; color: var(--tq-gold); }

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

.tq-btn {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	gap: 9px;
	padding: 12px 20px;
	border-radius: 10px;
	border: 1px solid transparent;
	font-weight: 700;
	font-size: .95rem;
	text-decoration: none;
	transition: transform .18s var(--tq-ease), background .18s, box-shadow .18s, border-color .18s;
	white-space: nowrap;
}
.tq-btn:hover { transform: translateY(-2px); }
.tq-btn:active { transform: translateY(0); }

.tq-btn--solid {
	background: var(--tq-emerald);
	color: #fff;
	box-shadow: 0 6px 18px rgba(14, 124, 90, .28);
}
.tq-btn--solid:hover { background: var(--tq-emerald-dk); box-shadow: 0 10px 26px rgba(14, 124, 90, .34); }

.tq-btn--outline {
	border-color: var(--tq-line);
	background: transparent;
	color: var(--tq-ink);
}
.tq-btn--outline:hover { border-color: var(--tq-ink); background: rgba(18, 41, 74, .04); }

.tq-btn--onink { color: var(--tq-paper); border-color: rgba(251, 250, 246, .32); }
.tq-btn--onink:hover { background: rgba(251, 250, 246, .1); border-color: rgba(251, 250, 246, .6); }

.tq-btn--ghost { background: transparent; color: var(--tq-ink); }
.tq-btn--ghost:hover { background: rgba(18, 41, 74, .05); }

.tq-btn--lg { padding: 15px 26px; font-size: 1rem; }
.tq-btn--block { display: flex; width: 100%; }

.tq-textlink {
	display: inline-flex;
	align-items: center;
	gap: 7px;
	font-weight: 700;
	color: var(--tq-emerald);
	text-decoration: none;
}
.tq-textlink:hover { text-decoration: underline; }

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

.tq-header {
	position: sticky;
	top: 0;
	z-index: 60;
	background: rgba(251, 250, 246, .88);
	backdrop-filter: saturate(180%) blur(12px);
	border-bottom: 1px solid var(--tq-line-soft);
	transition: box-shadow .25s;
}
.tq-header.is-stuck { box-shadow: 0 6px 22px rgba(10, 25, 48, .08); }

.tq-header__inner {
	display: flex;
	align-items: center;
	gap: 20px;
	min-height: 70px;
}

.tq-brand {
	display: inline-flex;
	align-items: center;
	gap: 11px;
	text-decoration: none;
	margin-right: auto;
}
.tq-brand img { max-height: 46px; width: auto; }

.tq-brand__mark {
	display: grid;
	place-items: center;
	width: 40px;
	height: 40px;
	border-radius: 11px;
	background: var(--tq-ink);
	color: var(--tq-paper);
	font-family: var(--tq-arabic);
	font-size: 1.5rem;
	line-height: 1;
	padding-bottom: 5px;
	flex: none;
}

.tq-brand__text { display: flex; flex-direction: column; line-height: 1.2; }
.tq-brand__name {
	font-family: var(--tq-display);
	font-size: 1.22rem;
	font-weight: 600;
	letter-spacing: -.01em;
}
.tq-brand__sub {
	font-size: .68rem;
	letter-spacing: .14em;
	text-transform: uppercase;
	color: var(--tq-graphite);
}

.tq-nav__list { display: flex; gap: 4px; }
.tq-nav__list a {
	display: block;
	padding: 8px 13px;
	border-radius: 8px;
	text-decoration: none;
	font-size: .94rem;
	font-weight: 500;
	color: var(--tq-graphite);
	transition: color .18s, background .18s;
}
.tq-nav__list a:hover { color: var(--tq-ink); background: rgba(18, 41, 74, .05); }

.tq-header__actions { display: flex; align-items: center; gap: 8px; }

.tq-burger {
	display: none;
	background: transparent;
	border: 1px solid var(--tq-line);
	border-radius: 9px;
	padding: 8px;
	color: var(--tq-ink);
}

/* ---------- mobile drawer ---------- */

.tq-drawer {
	position: fixed;
	inset: 0;
	z-index: 80;
	background: rgba(10, 25, 48, .45);
	backdrop-filter: blur(3px);
}
.tq-drawer[hidden] { display: none; }

.tq-drawer__panel {
	position: absolute;
	inset-block: 0;
	right: 0;
	width: min(88vw, 340px);
	background: var(--tq-paper);
	padding: 24px 22px;
	overflow-y: auto;
	display: flex;
	flex-direction: column;
	gap: 10px;
	animation: tq-slide .28s var(--tq-ease);
}
@keyframes tq-slide { from { transform: translateX(100%); } to { transform: translateX(0); } }

.tq-drawer__close {
	align-self: flex-end;
	background: transparent;
	border: 1px solid var(--tq-line);
	border-radius: 9px;
	padding: 8px;
	color: var(--tq-ink);
	margin-bottom: 8px;
}

.tq-drawer__list { display: flex; flex-direction: column; margin-bottom: 14px; }
.tq-drawer__list a {
	display: block;
	padding: 13px 4px;
	border-bottom: 1px solid var(--tq-line-soft);
	text-decoration: none;
	font-weight: 600;
}

/* =========================================================
   HERO + THE TRACING PAD (signature element)
   ========================================================= */

.tq-hero {
	position: relative;
	padding-block: clamp(44px, 7vw, 84px) clamp(52px, 8vw, 96px);
	overflow: hidden;
}

/* practice-sheet ruling, the page's one piece of ambient texture */
.tq-hero::before {
	content: "";
	position: absolute;
	inset: 0;
	background-image: repeating-linear-gradient(
		to bottom,
		transparent 0 63px,
		var(--tq-line-soft) 63px 64px
	);
	mask-image: radial-gradient(ellipse 70% 60% at 70% 40%, #000 30%, transparent 78%);
	-webkit-mask-image: radial-gradient(ellipse 70% 60% at 70% 40%, #000 30%, transparent 78%);
	pointer-events: none;
}

.tq-hero__grid {
	position: relative;
	display: grid;
	grid-template-columns: 1.02fr .98fr;
	gap: clamp(32px, 5vw, 64px);
	align-items: center;
}

.tq-hero__title {
	font-family: var(--tq-display);
	font-size: clamp(2.5rem, 6vw, 4.1rem);
	font-weight: 600;
	letter-spacing: -.028em;
	line-height: 1.05;
	margin-bottom: .35em;
	text-wrap: balance;
}

.tq-hero__text {
	font-size: clamp(1.04rem, 1.7vw, 1.2rem);
	color: var(--tq-graphite);
	max-width: 46ch;
	margin-bottom: 1.8em;
}

.tq-hero__actions { display: flex; flex-wrap: wrap; gap: 12px; }

.tq-hero__proof {
	display: flex;
	align-items: center;
	gap: 12px;
	margin-top: 26px;
	padding-top: 22px;
	border-top: 1px solid var(--tq-line-soft);
}
.tq-hero__proof p { margin: 0; font-size: .92rem; color: var(--tq-graphite); }
.tq-hero__proof strong { color: var(--tq-ink); }

.tq-hero__demo { display: grid; gap: 18px; }

.tq-hero__shot img { border-radius: var(--tq-radius-lg); box-shadow: var(--tq-shadow); }

/* the pad itself */

.tq-pad {
	position: relative;
	background: #fff;
	border: 1px solid var(--tq-line);
	border-radius: var(--tq-radius-lg);
	box-shadow: var(--tq-shadow-lg);
	padding: 18px;
	overflow: hidden;
}

.tq-pad__head {
	display: flex;
	align-items: baseline;
	justify-content: space-between;
	gap: 12px;
	margin-bottom: 12px;
}
.tq-pad__label {
	margin: 0;
	font-size: .72rem;
	font-weight: 800;
	letter-spacing: .13em;
	text-transform: uppercase;
	color: var(--tq-emerald);
}
.tq-pad__hint { margin: 0; font-size: .82rem; color: var(--tq-graphite); }

.tq-pad__sheet {
	position: relative;
	aspect-ratio: 16 / 9;
	border-radius: var(--tq-radius);
	background-color: var(--tq-paper);
	background-image: repeating-linear-gradient(
		to bottom,
		transparent 0 35px,
		var(--tq-line-soft) 35px 36px
	);
	border: 1px solid var(--tq-line-soft);
	overflow: hidden;
	touch-action: none;
}

/*
 * The guide word, set in the same dotted typeface as the printed book.
 * The font supplies the dots, so this is a plain fill - no text-stroke.
 */
.tq-pad__guide {
	position: absolute;
	inset: 0;
	display: grid;
	place-items: center;
	font-family: var(--tq-dotted);
	font-size: clamp(4.2rem, 12.5vw, 7.6rem);
	line-height: 1.4;
	color: rgba(18, 41, 74, .58);
	text-align: center;
	padding-inline: 6%;
	user-select: none;
	-webkit-user-select: none;
	transition: opacity .3s;
}

/*
 * If the dotted font has not loaded yet, fall back to an outlined Amiri
 * so the pad never shows a solid word the visitor cannot trace over.
 */
.tq-pad__guide.tq-is-fallback {
	font-family: var(--tq-arabic);
	font-size: clamp(3.4rem, 9vw, 5.6rem);
	color: transparent;
	-webkit-text-stroke: 1.4px rgba(18, 41, 74, .34);
}

.tq-pad__canvas {
	position: absolute;
	inset: 0;
	width: 100%;
	height: 100%;
	cursor: crosshair;
}

.tq-pad__foot {
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: 12px;
	margin-top: 14px;
	flex-wrap: wrap;
}

.tq-pad__switch { display: flex; gap: 6px; flex-wrap: wrap; }

.tq-chip {
	background: transparent;
	border: 1px solid var(--tq-line);
	color: var(--tq-graphite);
	border-radius: 999px;
	padding: 6px 13px;
	font-size: .82rem;
	font-weight: 600;
	transition: all .18s;
}
.tq-chip:hover { border-color: var(--tq-ink); color: var(--tq-ink); }
.tq-chip.is-active {
	background: var(--tq-ink);
	border-color: var(--tq-ink);
	color: var(--tq-paper);
}

.tq-pad__clear {
	background: transparent;
	border: none;
	color: var(--tq-graphite);
	font-size: .84rem;
	font-weight: 600;
	text-decoration: underline;
	padding: 6px 2px;
}
.tq-pad__clear:hover { color: var(--tq-ink); }

.tq-pad__caption {
	display: flex;
	align-items: center;
	gap: 7px;
	margin: 12px 0 0;
	padding-top: 12px;
	border-top: 1px solid var(--tq-line-soft);
	font-size: .78rem;
	color: var(--tq-graphite);
}
.tq-pad__caption svg { color: var(--tq-emerald); flex: none; }

.tq-pad__done {
	margin-top: 14px;
	padding: 16px;
	border-radius: var(--tq-radius);
	background: rgba(14, 124, 90, .07);
	border: 1px solid rgba(14, 124, 90, .2);
	animation: tq-rise .35s var(--tq-ease);
}
.tq-pad__done[hidden] { display: none; }
.tq-pad__done p { font-size: .92rem; margin-bottom: 12px; }

@keyframes tq-rise { from { opacity: 0; transform: translateY(10px); } to { opacity: 1; transform: none; } }

/* =========================================================
   ORIGINALITY BAND
   ========================================================= */

.tq-original {
	background: var(--tq-ink);
	color: var(--tq-paper);
	padding-block: clamp(56px, 8vw, 90px);
}
.tq-original .tq-lead { color: rgba(251, 250, 246, .75); }

.tq-original__grid {
	display: grid;
	grid-template-columns: .92fr 1.08fr;
	gap: clamp(30px, 5vw, 60px);
	align-items: start;
}

.tq-original__facts {
	display: grid;
	grid-template-columns: repeat(2, 1fr);
	gap: 22px 28px;
}
.tq-original__facts li { display: flex; gap: 13px; }
.tq-original__facts svg { color: var(--tq-gold); flex: none; margin-top: 2px; }
.tq-original__facts strong { display: block; margin-bottom: 3px; font-size: .98rem; }
.tq-original__facts span { font-size: .89rem; color: rgba(251, 250, 246, .68); line-height: 1.55; }

.tq-original__link { margin: 34px 0 0; }
.tq-original__link a {
	display: inline-flex;
	align-items: center;
	gap: 8px;
	font-weight: 700;
	text-decoration: none;
	color: var(--tq-gold);
	border-bottom: 1px solid rgba(184, 134, 43, .4);
	padding-bottom: 3px;
	transition: gap .18s;
}
.tq-original__link a:hover { gap: 13px; }

/* on light sections the same link turns emerald */
.tq-why .tq-original__link a,
.tq-products .tq-original__link a {
	color: var(--tq-emerald);
	border-bottom-color: rgba(14, 124, 90, .35);
}

/* =========================================================
   PRODUCTS
   ========================================================= */

.tq-products { padding-block: clamp(56px, 8vw, 96px); }

.tq-products__grid {
	display: grid;
	grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
	gap: 26px;
}

.tq-card {
	display: flex;
	flex-direction: column;
	background: #fff;
	border: 1px solid var(--tq-line-soft);
	border-radius: var(--tq-radius-lg);
	overflow: hidden;
	box-shadow: var(--tq-shadow);
	transition: transform .25s var(--tq-ease), box-shadow .25s;
}
.tq-card:hover { transform: translateY(-4px); box-shadow: var(--tq-shadow-lg); }

.tq-card__media { position: relative; background: var(--tq-paper-2); }
.tq-card__media img { width: 100%; aspect-ratio: 4 / 3; object-fit: cover; }

.tq-card__badge {
	position: absolute;
	top: 14px;
	left: 14px;
	background: var(--tq-gold);
	color: #fff;
	font-size: .72rem;
	font-weight: 800;
	letter-spacing: .07em;
	text-transform: uppercase;
	padding: 6px 12px;
	border-radius: 999px;
}

.tq-card__body { padding: 24px; display: flex; flex-direction: column; flex: 1; }

.tq-card__title {
	font-family: var(--tq-display);
	font-size: 1.44rem;
	font-weight: 600;
	letter-spacing: -.015em;
	margin-bottom: .35em;
}
.tq-card__title small {
	display: block;
	font-family: var(--tq-body);
	font-size: .74rem;
	font-weight: 700;
	letter-spacing: .12em;
	text-transform: uppercase;
	color: var(--tq-graphite);
	margin-top: 4px;
}

.tq-card__price { font-weight: 800; font-size: 1.16rem; color: var(--tq-emerald); margin-bottom: .6em; }

.tq-card__text { color: var(--tq-graphite); font-size: .96rem; }

.tq-card__specs { display: flex; flex-wrap: wrap; gap: 8px; margin-bottom: 22px; }
.tq-card__specs li {
	display: inline-flex;
	align-items: center;
	gap: 5px;
	font-size: .8rem;
	font-weight: 600;
	background: var(--tq-paper-2);
	border-radius: 999px;
	padding: 5px 12px;
}
.tq-card__specs svg { color: var(--tq-emerald); }

.tq-card__quote {
	font-family: var(--tq-display);
	font-style: italic;
	color: var(--tq-graphite);
	border-left: 3px solid var(--tq-line);
	padding-left: 14px;
	margin-bottom: 22px;
}

.tq-card__buy { margin-top: auto; padding-top: 4px; border-top: 1px solid var(--tq-line-soft); }
.tq-card__buylabel {
	font-size: .7rem;
	font-weight: 800;
	letter-spacing: .13em;
	text-transform: uppercase;
	color: var(--tq-graphite);
	margin: 16px 0 11px;
}
.tq-card__links { display: flex; flex-wrap: wrap; gap: 8px; }

.tq-buy {
	display: inline-flex;
	align-items: center;
	gap: 7px;
	padding: 9px 14px;
	border-radius: 9px;
	border: 1px solid var(--tq-line);
	font-size: .85rem;
	font-weight: 700;
	text-decoration: none;
	transition: all .18s;
}
.tq-buy:hover { border-color: var(--tq-ink); background: rgba(18, 41, 74, .04); transform: translateY(-2px); }

.tq-buy--primary {
	background: var(--tq-emerald);
	border-color: var(--tq-emerald);
	color: #fff;
	box-shadow: 0 5px 14px rgba(14, 124, 90, .24);
}
.tq-buy--primary:hover { background: var(--tq-emerald-dk); border-color: var(--tq-emerald-dk); }

.tq-trust {
	display: flex;
	flex-wrap: wrap;
	justify-content: center;
	gap: 12px 32px;
	margin-top: 44px;
	padding-top: 30px;
	border-top: 1px solid var(--tq-line-soft);
}
.tq-trust span {
	display: inline-flex;
	align-items: center;
	gap: 8px;
	font-size: .88rem;
	font-weight: 600;
	color: var(--tq-graphite);
}
.tq-trust svg { color: var(--tq-emerald); }

/* =========================================================
   WHY
   ========================================================= */

.tq-why { background: var(--tq-paper-2); padding-block: clamp(56px, 8vw, 96px); }

.tq-why__grid {
	display: grid;
	grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
	gap: 30px 34px;
}

.tq-why__item h3 { font-size: 1.1rem; font-weight: 700; margin-bottom: .4em; }
.tq-why__item p { color: var(--tq-graphite); font-size: .94rem; margin: 0; }

.tq-why__icon {
	display: grid;
	place-items: center;
	width: 46px;
	height: 46px;
	border-radius: 13px;
	background: #fff;
	color: var(--tq-emerald);
	border: 1px solid var(--tq-line-soft);
	margin-bottom: 16px;
}

/* =========================================================
   VIDEOS
   ========================================================= */

.tq-videos { padding-block: clamp(56px, 8vw, 96px); }

.tq-videos__rail {
	display: grid;
	grid-auto-flow: column;
	grid-auto-columns: minmax(240px, 1fr);
	gap: 18px;
	overflow-x: auto;
	scroll-snap-type: x mandatory;
	padding-bottom: 12px;
	scrollbar-width: thin;
}
.tq-videos__item { scroll-snap-align: start; }

.tq-video {
	width: 100%;
	aspect-ratio: 9 / 16;
	object-fit: cover;
	border-radius: var(--tq-radius);
	background: var(--tq-ink);
	box-shadow: var(--tq-shadow);
}

/* =========================================================
   REVIEWS
   ========================================================= */

.tq-reviews {
	background: var(--tq-ink-deep);
	color: var(--tq-paper);
	padding-block: clamp(56px, 8vw, 96px);
}

.tq-reviews__rail {
	display: grid;
	grid-auto-flow: column;
	grid-auto-columns: minmax(290px, 330px);
	gap: 20px;
	overflow-x: auto;
	scroll-snap-type: x mandatory;
	padding-bottom: 14px;
}

.tq-review {
	scroll-snap-align: start;
	margin: 0;
	background: rgba(251, 250, 246, .05);
	border: 1px solid rgba(251, 250, 246, .12);
	border-radius: var(--tq-radius-lg);
	overflow: hidden;
	display: flex;
	flex-direction: column;
}

.tq-review__photo { position: relative; }
.tq-review__photo img { width: 100%; aspect-ratio: 1 / 1; object-fit: cover; }

.tq-review__tag {
	position: absolute;
	bottom: 12px;
	left: 12px;
	display: inline-flex;
	align-items: center;
	gap: 5px;
	background: rgba(10, 25, 48, .82);
	backdrop-filter: blur(6px);
	color: var(--tq-paper);
	font-size: .73rem;
	font-weight: 700;
	padding: 5px 11px;
	border-radius: 999px;
}
.tq-review__tag svg { color: #4ADE9B; }

.tq-review blockquote { margin: 0; padding: 18px 20px 6px; }
.tq-review blockquote p {
	font-size: .92rem;
	line-height: 1.6;
	color: rgba(251, 250, 246, .84);
	margin: 10px 0 0;
}

.tq-review figcaption {
	padding: 12px 20px 20px;
	margin-top: auto;
	display: flex;
	flex-direction: column;
}
.tq-review figcaption strong { font-size: .93rem; }
.tq-review figcaption span { font-size: .78rem; color: rgba(251, 250, 246, .55); }

.tq-reviews__scrollhint {
	margin: 16px 0 0;
	font-size: .8rem;
	letter-spacing: .1em;
	text-transform: uppercase;
	color: rgba(251, 250, 246, .45);
}

/* =========================================================
   FAQ
   ========================================================= */

.tq-faq { padding-block: clamp(56px, 8vw, 96px); }

.tq-faq__grid {
	display: grid;
	grid-template-columns: .8fr 1.2fr;
	gap: clamp(30px, 5vw, 60px);
	align-items: start;
}

.tq-faq__aside .tq-lead { margin-bottom: 1.4em; }

.tq-faq__item {
	border-bottom: 1px solid var(--tq-line-soft);
	padding: 4px 0;
}
.tq-faq__item summary {
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: 16px;
	padding: 17px 0;
	font-weight: 700;
	font-size: 1.02rem;
	cursor: pointer;
	list-style: none;
}
.tq-faq__item summary::-webkit-details-marker { display: none; }
.tq-faq__item summary:hover { color: var(--tq-emerald); }

.tq-faq__plus { flex: none; color: var(--tq-emerald); transition: transform .25s var(--tq-ease); }
.tq-faq__item[open] .tq-faq__plus { transform: rotate(45deg); }

.tq-faq__answer { padding-bottom: 16px; }
.tq-faq__answer p { color: var(--tq-graphite); font-size: .96rem; margin: 0; max-width: 62ch; }

/* =========================================================
   FINAL CTA
   ========================================================= */

.tq-cta {
	background: var(--tq-emerald);
	color: #fff;
	padding-block: clamp(60px, 9vw, 104px);
	text-align: center;
}
.tq-cta .tq-lead { color: rgba(255, 255, 255, .85); margin-inline: auto; }
.tq-cta .tq-btn--solid { background: #fff; color: var(--tq-emerald-dk); box-shadow: 0 10px 26px rgba(0, 0, 0, .18); }
.tq-cta .tq-btn--solid:hover { background: var(--tq-paper); }

.tq-cta__ayah {
	font-family: var(--tq-dotted);
	font-size: clamp(3.2rem, 8.5vw, 5rem);
	line-height: 1.6;
	margin: 0 0 .1em;
	color: rgba(255, 255, 255, .28);
}

.tq-cta__actions {
	display: flex;
	flex-wrap: wrap;
	gap: 12px;
	justify-content: center;
	margin-top: 30px;
}

.tq-cta__call {
	display: inline-flex;
	align-items: center;
	gap: 8px;
	margin-top: 26px;
	font-size: .92rem;
	color: rgba(255, 255, 255, .82);
}
.tq-cta__call a { font-weight: 700; color: #fff; }

/* =========================================================
   INNER PAGES
   ========================================================= */

.tq-pagehead {
	background: var(--tq-ink);
	color: var(--tq-paper);
	padding-block: clamp(40px, 6vw, 74px) clamp(46px, 7vw, 82px);
}
.tq-pagehead .tq-lead { color: rgba(251, 250, 246, .74); }

.tq-back {
	display: inline-flex;
	align-items: center;
	gap: 8px;
	font-size: .88rem;
	font-weight: 600;
	color: rgba(251, 250, 246, .7);
	text-decoration: none;
	margin-bottom: 26px;
	transition: color .18s, gap .18s;
}
.tq-back:hover { color: var(--tq-paper); gap: 12px; }

.tq-split {
	display: grid;
	grid-template-columns: 1.05fr .95fr;
	gap: clamp(30px, 5vw, 58px);
	align-items: start;
}
.tq-split p { color: var(--tq-graphite); }

.tq-stat {
	display: flex;
	align-items: center;
	gap: 16px;
	margin-top: 32px;
	padding: 20px 24px;
	background: var(--tq-paper-2);
	border-radius: var(--tq-radius);
	border-left: 4px solid var(--tq-gold);
}
.tq-stat__num {
	font-family: var(--tq-display);
	font-size: 2.8rem;
	font-weight: 700;
	line-height: 1;
	color: var(--tq-ink);
}
.tq-stat__label { font-size: .9rem; color: var(--tq-graphite); max-width: 24ch; }

.tq-checkcard {
	background: #fff;
	border: 1px solid var(--tq-line-soft);
	border-radius: var(--tq-radius-lg);
	padding: 28px;
	box-shadow: var(--tq-shadow);
}
.tq-checkcard--soft { background: var(--tq-paper-2); box-shadow: none; }
.tq-checkcard h3 { font-family: var(--tq-display); font-size: 1.3rem; margin-bottom: 1em; }
.tq-checkcard svg { color: var(--tq-emerald); }

.tq-checklist { display: grid; gap: 11px; }
.tq-checklist li { display: flex; align-items: flex-start; gap: 10px; font-size: .94rem; }
.tq-checklist svg { color: var(--tq-emerald); flex: none; margin-top: 5px; }

.tq-quoteband {
	background: var(--tq-paper-2);
	padding-block: clamp(48px, 7vw, 80px);
	text-align: center;
}
.tq-quoteband svg { color: var(--tq-gold); margin-inline: auto; margin-bottom: 18px; }
.tq-quoteband blockquote { margin: 0; }
.tq-quoteband blockquote p {
	font-family: var(--tq-display);
	font-size: clamp(1.4rem, 3.2vw, 2.05rem);
	font-weight: 400;
	font-style: italic;
	line-height: 1.4;
	max-width: 22ch;
	margin-inline: auto;
	text-wrap: balance;
}
.tq-quoteband__note { font-size: .9rem; color: var(--tq-graphite); margin-top: 1.4em; }

.tq-pullquote { margin: 0 0 1em; }
.tq-pullquote p {
	font-family: var(--tq-display);
	font-style: italic;
	font-size: 1.25rem;
	line-height: 1.45;
}

.tq-audience {
	display: grid;
	grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
	gap: 28px;
}
.tq-audience h2 { font-size: 1.2rem; font-weight: 700; margin-bottom: .35em; }
.tq-audience p { color: var(--tq-graphite); font-size: .93rem; margin: 0; }

.tq-brandgrid {
	display: grid;
	grid-template-columns: repeat(auto-fit, minmax(230px, 1fr));
	gap: 18px;
	margin-top: 26px;
}
.tq-brandcard {
	display: block;
	background: #fff;
	border: 1px solid var(--tq-line-soft);
	border-radius: var(--tq-radius-lg);
	padding: 24px;
	text-decoration: none;
	box-shadow: var(--tq-shadow);
	transition: transform .22s var(--tq-ease), box-shadow .22s;
}
.tq-brandcard:hover { transform: translateY(-4px); box-shadow: var(--tq-shadow-lg); }
.tq-brandcard strong { display: block; font-size: 1.08rem; margin-bottom: 3px; }
.tq-brandcard em { display: block; font-style: normal; font-size: .88rem; color: var(--tq-graphite); margin-bottom: 14px; }
.tq-brandcard > svg { color: var(--tq-emerald); }

.tq-nextcard a {
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: 20px;
	background: var(--tq-paper-2);
	border-radius: var(--tq-radius-lg);
	padding: 26px 30px;
	text-decoration: none;
	transition: background .2s, transform .2s var(--tq-ease);
}
.tq-nextcard a:hover { background: #EDE7D9; transform: translateY(-3px); }
.tq-nextcard strong { display: block; font-family: var(--tq-display); font-size: 1.24rem; margin-bottom: 3px; }
.tq-nextcard em { font-style: normal; font-size: .92rem; color: var(--tq-graphite); }
.tq-nextcard svg { color: var(--tq-emerald); flex: none; }

/* prose from the WordPress editor */

.tq-prose { max-width: 72ch; }
.tq-prose h2 { font-family: var(--tq-display); font-size: 1.8rem; margin-top: 1.6em; }
.tq-prose h3 { font-size: 1.25rem; margin-top: 1.5em; }
.tq-prose p, .tq-prose li { color: var(--tq-graphite); }
.tq-prose ul, .tq-prose ol { padding-left: 1.3em; margin-bottom: 1.2em; }
.tq-prose ul li { list-style: disc; margin-bottom: .4em; }
.tq-prose ol li { list-style: decimal; margin-bottom: .4em; }
.tq-prose a { color: var(--tq-emerald); }
.tq-prose img { border-radius: var(--tq-radius); margin-block: 1.4em; }
.tq-prose blockquote {
	margin: 1.6em 0;
	padding-left: 22px;
	border-left: 3px solid var(--tq-gold);
	font-family: var(--tq-display);
	font-style: italic;
	font-size: 1.16rem;
}

.tq-featured { border-radius: var(--tq-radius-lg); width: 100%; }

.tq-postlist { display: grid; gap: 26px; }
.tq-postcard {
	display: grid;
	grid-template-columns: 220px 1fr;
	gap: 24px;
	align-items: center;
	padding-bottom: 26px;
	border-bottom: 1px solid var(--tq-line-soft);
}
.tq-postcard__media img { border-radius: var(--tq-radius); aspect-ratio: 4 / 3; object-fit: cover; }
.tq-postcard h2 { font-family: var(--tq-display); font-size: 1.4rem; }
.tq-postcard h2 a { text-decoration: none; }
.tq-postcard h2 a:hover { color: var(--tq-emerald); }
.tq-postcard p { color: var(--tq-graphite); font-size: .95rem; }

.tq-empty { text-align: center; padding-block: 40px; }

.tq-pagelinks { margin-top: 40px; }
.tq-pagelinks a, .tq-pagelinks .current {
	display: inline-block;
	padding: 8px 14px;
	border-radius: 8px;
	border: 1px solid var(--tq-line);
	text-decoration: none;
	margin-right: 6px;
}
.tq-pagelinks .current { background: var(--tq-ink); color: var(--tq-paper); border-color: var(--tq-ink); }

.tq-404 { text-align: center; padding-block: clamp(70px, 12vw, 130px); }
.tq-404 .tq-lead { margin-inline: auto; }
.tq-404 .tq-hero__actions { justify-content: center; margin-top: 30px; }
.tq-404__mark {
	font-family: var(--tq-dotted);
	font-size: clamp(4.2rem, 14vw, 7rem);
	color: var(--tq-line);
	margin-bottom: .2em;
}

.tq-search { display: flex; gap: 10px; }
.tq-search input {
	flex: 1;
	padding: 12px 16px;
	border: 1px solid var(--tq-line);
	border-radius: 10px;
	font: inherit;
	background: #fff;
}

/* =========================================================
   FOOTER + STICKY BAR
   ========================================================= */

.tq-footer {
	background: var(--tq-ink-deep);
	color: rgba(251, 250, 246, .7);
	padding-block: clamp(48px, 7vw, 76px) 30px;
	font-size: .93rem;
}

.tq-footer__top {
	display: grid;
	grid-template-columns: .9fr 2.1fr;
	gap: clamp(30px, 5vw, 60px);
	padding-bottom: 40px;
	border-bottom: 1px solid rgba(251, 250, 246, .12);
}

.tq-footer__brand .tq-brand__mark { margin-bottom: 14px; }
.tq-footer__name {
	font-family: var(--tq-display);
	font-size: 1.3rem;
	color: var(--tq-paper);
	margin-bottom: .3em;
}
.tq-footer__note { font-size: .88rem; margin: 0; }

.tq-footer__cols {
	display: grid;
	grid-template-columns: repeat(auto-fit, minmax(170px, 1fr));
	gap: 30px;
}
.tq-footer__col h4 {
	font-size: .74rem;
	font-weight: 800;
	letter-spacing: .13em;
	text-transform: uppercase;
	color: var(--tq-paper);
	margin-bottom: 14px;
}
.tq-footer__col li { margin-bottom: 9px; }
.tq-footer__col a { text-decoration: none; transition: color .18s; }
.tq-footer__col a:hover { color: var(--tq-paper); }

.tq-footer__widgets { padding-block: 30px; border-bottom: 1px solid rgba(251, 250, 246, .12); }
.tq-widget__title { color: var(--tq-paper); font-size: 1rem; }

.tq-footer__bottom {
	display: flex;
	flex-wrap: wrap;
	align-items: center;
	justify-content: space-between;
	gap: 14px;
	padding-top: 26px;
	font-size: .84rem;
}
.tq-footer__bottom p { margin: 0; }
.tq-footer__ayah {
	font-family: var(--tq-arabic);
	font-size: 1.2rem;
	color: rgba(251, 250, 246, .45);
}

/* sticky buy bar, mobile only */

.tq-sticky {
	position: fixed;
	inset-inline: 0;
	bottom: 0;
	z-index: 70;
	display: none;
	gap: 10px;
	padding: 10px 14px calc(10px + env(safe-area-inset-bottom));
	background: rgba(251, 250, 246, .95);
	backdrop-filter: blur(12px);
	border-top: 1px solid var(--tq-line);
	transform: translateY(110%);
	transition: transform .3s var(--tq-ease);
}
.tq-sticky.is-visible { transform: translateY(0); }

.tq-sticky__wa,
.tq-sticky__buy {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	gap: 8px;
	padding: 14px 16px;
	border-radius: 11px;
	font-weight: 700;
	font-size: .95rem;
	text-decoration: none;
}
.tq-sticky__wa {
	flex: 0 0 auto;
	border: 1px solid var(--tq-line);
	color: var(--tq-ink);
}
.tq-sticky__buy {
	flex: 1;
	background: var(--tq-emerald);
	color: #fff;
	box-shadow: 0 6px 18px rgba(14, 124, 90, .3);
}

/* =========================================================
   RESPONSIVE
   ========================================================= */

@media (max-width: 1000px) {
	.tq-nav { display: none; }
	.tq-burger { display: inline-flex; }
	.tq-header__wa { display: none; }

	.tq-hero__grid,
	.tq-original__grid,
	.tq-faq__grid,
	.tq-split,
	.tq-footer__top { grid-template-columns: 1fr; }

	.tq-hero__demo { order: -1; }

	.tq-postcard { grid-template-columns: 1fr; }
}

@media (max-width: 720px) {
	body { font-size: 16px; }

	.tq-shell { padding-inline: 18px; }

	.tq-original__facts { grid-template-columns: 1fr; gap: 18px; }

	.tq-hero__actions .tq-btn { flex: 1 1 100%; }

	.tq-card__body { padding: 20px; }

	.tq-sticky { display: flex; }

	/* keep the sticky bar from covering the footer text */
	.tq-footer { padding-bottom: 96px; }

	.tq-cta__actions .tq-btn { flex: 1 1 100%; }

	.tq-footer__bottom { flex-direction: column; align-items: flex-start; }
}

@media (max-width: 420px) {
	.tq-brand__sub { display: none; }
	.tq-header__actions .tq-btn--solid span { display: none; }
	.tq-header__actions .tq-btn--solid { padding: 11px 13px; }
}

/* =========================================================
   MOTION + PRINT
   ========================================================= */

.tq-reveal {
	opacity: 0;
	transform: translateY(18px);
	transition: opacity .6s var(--tq-ease), transform .6s var(--tq-ease);
}
.tq-reveal.is-in { opacity: 1; transform: none; }

@media (prefers-reduced-motion: reduce) {
	html { scroll-behavior: auto; }
	*, *::before, *::after {
		animation-duration: .01ms !important;
		animation-iteration-count: 1 !important;
		transition-duration: .01ms !important;
	}
	.tq-reveal { opacity: 1; transform: none; }
}

@media print {
	.tq-header, .tq-sticky, .tq-drawer, .tq-videos { display: none !important; }
	body { background: #fff; }
}
