/*!
Theme Name:   JesmiyaTech
Theme URI:    https://jesmiyatech.com
Author:       JesmiyaTech
Description:  Hand-built theme for JesmiyaTech. No page builder and no SEO plugin — every byte is deliberate, because Core Web Vitals are part of what this business sells. Business data and structured data live in the JesmiyaTech Core plugin so a future redesign cannot take them with it.
Version:      1.0.0
Requires PHP: 8.0
License:      GPL-2.0-or-later
Text Domain:  jesmiyatech
*/

/* ==========================================================================
   1. Design tokens
   Derived from the supplied mockups: a soft silver-blue field, frosted glass
   surfaces, deep navy type and muted steel-blue actions.
   ========================================================================== */

:root {
	/* --- Surface --- */
	--jt-bg:            #e9edf2;
	--jt-bg-deep:       #dde3ea;
	--jt-bg-lift:       #f2f5f8;

	/* Frosted glass. Layered over the background, never over white. */
	--jt-glass:         rgba(255, 255, 255, 0.55);
	--jt-glass-strong:  rgba(255, 255, 255, 0.78);
	--jt-glass-faint:   rgba(255, 255, 255, 0.34);
	--jt-glass-border:  rgba(255, 255, 255, 0.72);
	--jt-hairline:      rgba(18, 38, 58, 0.08);

	/* --- Ink --- */
	--jt-ink:           #12263a;
	--jt-ink-soft:      #4a5c70;
	--jt-ink-muted:     #7d8b9a;
	--jt-ink-invert:    #ffffff;

	/* --- Action --- */
	--jt-accent:        #5b7fa6;
	--jt-accent-deep:   #3d5f85;
	--jt-accent-soft:   rgba(91, 127, 166, 0.12);
	--jt-accent-ring:   rgba(91, 127, 166, 0.42);

	/* --- Signal --- */
	--jt-star:          #f0b429;
	--jt-positive:      #2e9e6b;
	--jt-negative:      #c2563f;

	/* --- Elevation. Wide and low-opacity; the design reads as light. --- */
	--jt-shadow-sm:     0 2px 8px rgba(18, 38, 58, 0.06);
	--jt-shadow:        0 8px 28px rgba(18, 38, 58, 0.08);
	--jt-shadow-lg:     0 20px 56px rgba(18, 38, 58, 0.12);

	/* --- Radii --- */
	--jt-radius-sm:     10px;
	--jt-radius:        16px;
	--jt-radius-lg:     22px;
	--jt-radius-pill:   999px;

	/* --- Spacing scale --- */
	--jt-space-1:       0.25rem;
	--jt-space-2:       0.5rem;
	--jt-space-3:       0.75rem;
	--jt-space-4:       1rem;
	--jt-space-5:       1.5rem;
	--jt-space-6:       2rem;
	--jt-space-7:       3rem;
	--jt-space-8:       4rem;
	--jt-space-9:       6rem;

	/* --- Type --- */
	--jt-font: "Plus Jakarta Sans", ui-sans-serif, system-ui, -apple-system,
	           "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;

	/* Fluid scale: clamp keeps headlines proportional without breakpoints. */
	--jt-text-xs:       0.75rem;
	--jt-text-sm:       0.875rem;
	--jt-text-base:     1rem;
	--jt-text-lg:       1.125rem;
	--jt-text-xl:       clamp(1.25rem, 1.1rem + 0.6vw, 1.5rem);
	--jt-text-2xl:      clamp(1.5rem, 1.3rem + 1vw, 2rem);
	--jt-text-3xl:      clamp(1.875rem, 1.5rem + 1.8vw, 2.75rem);
	--jt-text-4xl:      clamp(2.25rem, 1.6rem + 3vw, 4rem);

	--jt-container:     1200px;
	--jt-gutter:        clamp(1rem, 4vw, 2.5rem);
}

/* --------------------------------------------------------------------------
   Self-hosted type.

   Google Fonts is deliberately not used: it is a third-party connection on
   every page load, it costs a DNS lookup and a round trip before first paint,
   and it puts a visitor's IP in front of another company. Drop the woff2 files
   into assets/fonts/ and these declarations pick them up; until then the stack
   above falls back to the system UI font, which is close in feel and costs
   nothing.
   -------------------------------------------------------------------------- */

/*
 * Commented out until the woff2 is actually in assets/fonts/. An @font-face
 * pointing at a missing file costs a failed request on every single page load
 * and shows as a console error — worse than simply using the system stack,
 * which is close enough in feel that the design holds up without it.
 *
 * To enable: drop plus-jakarta-sans-variable.woff2 into assets/fonts/ and
 * uncomment. Self-hosted rather than Google Fonts on purpose — no third-party
 * connection, no extra DNS lookup before first paint, and no visitor IP handed
 * to another company.
 *
@font-face {
	font-family: "Plus Jakarta Sans";
	src: url("assets/fonts/plus-jakarta-sans-variable.woff2") format("woff2-variations");
	font-weight: 200 800;
	font-style: normal;
	font-display: swap;
}
*/

/* ==========================================================================
   2. Reset and base
   ========================================================================== */

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

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

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

body {
	margin: 0;
	font-family: var(--jt-font);
	font-size: var(--jt-text-base);
	line-height: 1.65;
	color: var(--jt-ink-soft);
	background: var(--jt-bg);
	-webkit-font-smoothing: antialiased;
	overflow-x: hidden;
}

/*
 * The ambient field behind everything: a soft vertical wash plus two blurred
 * orbs, matching the depth in the mockups. Fixed and non-interactive so it
 * never intercepts a click or reflows on scroll.
 */
body::before {
	content: "";
	position: fixed;
	inset: 0;
	z-index: -2;
	background:
		radial-gradient(60rem 40rem at 82% -10%, rgba(255, 255, 255, 0.9), transparent 60%),
		radial-gradient(48rem 36rem at 8% 12%, rgba(255, 255, 255, 0.66), transparent 62%),
		linear-gradient(180deg, var(--jt-bg-lift) 0%, var(--jt-bg) 42%, var(--jt-bg-deep) 100%);
	pointer-events: none;
}

h1, h2, h3, h4, h5, h6 {
	margin: 0 0 var(--jt-space-4);
	color: var(--jt-ink);
	font-weight: 800;
	line-height: 1.12;
	letter-spacing: -0.02em;
	text-wrap: balance;
}

h1 { font-size: var(--jt-text-4xl); }
h2 { font-size: var(--jt-text-3xl); }
h3 { font-size: var(--jt-text-xl); }

p { margin: 0 0 var(--jt-space-4); }
p:last-child { margin-bottom: 0; }

a {
	color: var(--jt-accent-deep);
	text-decoration-thickness: 1px;
	text-underline-offset: 0.18em;
}

a:hover { color: var(--jt-ink); }

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

ul, ol { margin: 0 0 var(--jt-space-4); padding-left: 1.2em; }

:focus-visible {
	outline: 3px solid var(--jt-accent-ring);
	outline-offset: 2px;
	border-radius: 4px;
}

/* ==========================================================================
   3. Layout
   ========================================================================== */

.jt-container {
	width: 100%;
	max-width: var(--jt-container);
	margin-inline: auto;
	padding-inline: var(--jt-gutter);
}

.jt-section { padding-block: clamp(3rem, 7vw, 6rem); }
.jt-section--tight { padding-block: clamp(2rem, 4vw, 3.5rem); }

.jt-stack > * + * { margin-top: var(--jt-space-4); }

.jt-grid {
	display: grid;
	gap: var(--jt-space-5);
}

.jt-grid--2 { grid-template-columns: repeat(auto-fit, minmax(min(100%, 20rem), 1fr)); }
.jt-grid--3 { grid-template-columns: repeat(auto-fit, minmax(min(100%, 17rem), 1fr)); }
.jt-grid--4 { grid-template-columns: repeat(auto-fit, minmax(min(100%, 13rem), 1fr)); }

.jt-section__head {
	max-width: 44rem;
	margin: 0 auto clamp(2rem, 4vw, 3rem);
	text-align: center;
}

.jt-section__head p {
	color: var(--jt-ink-muted);
	font-size: var(--jt-text-lg);
}

.jt-skip-link {
	position: absolute;
	left: -9999px;
	top: 0;
	z-index: 999;
	padding: var(--jt-space-3) var(--jt-space-4);
	background: var(--jt-ink);
	color: var(--jt-ink-invert);
	border-radius: 0 0 var(--jt-radius-sm) 0;
}

.jt-skip-link:focus {
	left: 0;
	color: var(--jt-ink-invert);
}

/* Visually hidden but available to assistive tech. */
.jt-sr-only {
	position: absolute;
	width: 1px;
	height: 1px;
	padding: 0;
	margin: -1px;
	overflow: hidden;
	clip: rect(0, 0, 0, 0);
	white-space: nowrap;
	border: 0;
}

/* ==========================================================================
   4. Glass surface
   The signature of the design. backdrop-filter is progressively enhanced —
   where it is unsupported the panel simply reads as a solid light card.
   ========================================================================== */

.jt-glass {
	position: relative;
	background: var(--jt-glass);
	border: 1px solid var(--jt-glass-border);
	border-radius: var(--jt-radius-lg);
	box-shadow: var(--jt-shadow);
}

@supports (backdrop-filter: blur(1px)) or (-webkit-backdrop-filter: blur(1px)) {
	.jt-glass {
		background: var(--jt-glass-faint);
		-webkit-backdrop-filter: blur(18px) saturate(1.4);
		backdrop-filter: blur(18px) saturate(1.4);
	}
}

.jt-glass--solid {
	background: var(--jt-glass-strong);
	-webkit-backdrop-filter: blur(20px) saturate(1.2);
	backdrop-filter: blur(20px) saturate(1.2);
}

.jt-card {
	padding: clamp(1.25rem, 3vw, 1.75rem);
}

.jt-card--interactive {
	transition: transform 0.25s ease, box-shadow 0.25s ease;
}

.jt-card--interactive:hover {
	transform: translateY(-3px);
	box-shadow: var(--jt-shadow-lg);
}

/* ==========================================================================
   5. Buttons
   ========================================================================== */

.jt-btn {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	gap: var(--jt-space-2);
	padding: 0.85rem 1.6rem;
	border: 1px solid transparent;
	border-radius: var(--jt-radius);
	font-family: inherit;
	font-size: var(--jt-text-base);
	font-weight: 700;
	line-height: 1.2;
	text-decoration: none;
	cursor: pointer;
	transition: transform 0.18s ease, box-shadow 0.18s ease, background 0.18s ease;
}

.jt-btn:active { transform: translateY(1px); }

.jt-btn--primary {
	background: linear-gradient(135deg, var(--jt-accent) 0%, var(--jt-accent-deep) 100%);
	color: var(--jt-ink-invert);
	box-shadow: var(--jt-shadow);
}

.jt-btn--primary:hover {
	color: var(--jt-ink-invert);
	box-shadow: var(--jt-shadow-lg);
}

.jt-btn--ghost {
	background: var(--jt-glass-strong);
	border-color: var(--jt-glass-border);
	color: var(--jt-ink);
	box-shadow: var(--jt-shadow-sm);
}

.jt-btn--ghost:hover {
	background: #fff;
	color: var(--jt-ink);
}

.jt-btn--block { width: 100%; }

/* Scoped to .jt-btn so it outranks the .jt-icon base size declared below. */
.jt-btn .jt-btn__icon {
	width: 1.1em;
	height: 1.1em;
	flex: none;
}

/* ==========================================================================
   6. Small components
   ========================================================================== */

/*
 * Base size for every inline icon. Declared before the container-specific
 * rules below so those win on specificity, and early enough that a bare icon
 * anywhere in the page can never render unsized.
 */
.jt-icon {
	width: 1.25rem;
	height: 1.25rem;
	flex: none;
}

/* Eyebrow label above a headline. */
.jt-eyebrow {
	display: inline-block;
	margin-bottom: var(--jt-space-3);
	padding: 0.3rem 0.8rem;
	border-radius: var(--jt-radius-pill);
	background: var(--jt-glass-strong);
	border: 1px solid var(--jt-glass-border);
	color: var(--jt-ink-muted);
	font-size: var(--jt-text-xs);
	font-weight: 700;
	letter-spacing: 0.12em;
	text-transform: uppercase;
}

/* Stat tile. */
.jt-stat { text-align: center; }

.jt-stat__value {
	display: block;
	color: var(--jt-ink);
	font-size: var(--jt-text-2xl);
	font-weight: 800;
	line-height: 1.1;
	letter-spacing: -0.03em;
}

.jt-stat__label {
	display: block;
	margin-top: var(--jt-space-1);
	font-size: var(--jt-text-sm);
	color: var(--jt-ink-muted);
}

/*
 * Source attribution. Small, but it is the difference between a cited industry
 * figure and an unsupported claim about this business — so it is a required
 * part of the component, not decoration.
 */
.jt-stat__source {
	display: block;
	margin-top: var(--jt-space-1);
	font-size: var(--jt-text-xs);
	color: var(--jt-ink-muted);
	opacity: 0.85;
}

/* Numbered step. */
.jt-step__number {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	width: 2.25rem;
	height: 2.25rem;
	margin-bottom: var(--jt-space-3);
	border-radius: var(--jt-radius-pill);
	background: var(--jt-glass-strong);
	border: 1px solid var(--jt-glass-border);
	color: var(--jt-ink);
	font-weight: 800;
}

/* Icon tile used on feature and step cards. */
.jt-icon-tile {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	width: 3rem;
	height: 3rem;
	margin-bottom: var(--jt-space-4);
	border-radius: var(--jt-radius);
	background: var(--jt-glass-strong);
	border: 1px solid var(--jt-glass-border);
	color: var(--jt-accent-deep);
	box-shadow: var(--jt-shadow-sm);
}

.jt-icon-tile svg { width: 1.4rem; height: 1.4rem; }

/* Checklist. */
.jt-checklist { list-style: none; margin: 0; padding: 0; }

.jt-checklist li {
	display: flex;
	align-items: flex-start;
	gap: var(--jt-space-3);
	padding: var(--jt-space-2) 0;
}

.jt-checklist svg {
	flex: none;
	width: 1.15rem;
	height: 1.15rem;
	margin-top: 0.2em;
	color: var(--jt-positive);
}

/* Star rating. Rendered only when a client actually gave a rating. */
.jt-stars { display: inline-flex; gap: 2px; color: var(--jt-star); }
.jt-stars svg { width: 1rem; height: 1rem; }

/* ==========================================================================
   7. Testimonials and case studies
   ========================================================================== */

.jt-quote__text {
	color: var(--jt-ink);
	font-size: var(--jt-text-lg);
	line-height: 1.6;
}

.jt-quote__person {
	display: flex;
	align-items: center;
	gap: var(--jt-space-3);
	margin-top: var(--jt-space-4);
}

.jt-quote__avatar {
	width: 2.75rem;
	height: 2.75rem;
	border-radius: var(--jt-radius-pill);
	object-fit: cover;
	flex: none;
}

.jt-quote__name { font-weight: 700; color: var(--jt-ink); }

.jt-quote__role {
	font-size: var(--jt-text-sm);
	color: var(--jt-ink-muted);
}

.jt-metrics {
	display: grid;
	grid-template-columns: repeat(auto-fit, minmax(7rem, 1fr));
	gap: var(--jt-space-4);
	margin-top: var(--jt-space-5);
}

/* ==========================================================================
   8. Accordion (FAQ)
   Native details/summary: keyboard accessible and searchable with no JS.
   ========================================================================== */

.jt-accordion {
	border-radius: var(--jt-radius);
	overflow: hidden;
}

.jt-accordion + .jt-accordion { margin-top: var(--jt-space-3); }

.jt-accordion summary {
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: var(--jt-space-4);
	padding: var(--jt-space-4) var(--jt-space-5);
	color: var(--jt-ink);
	font-weight: 700;
	cursor: pointer;
	list-style: none;
}

.jt-accordion summary::-webkit-details-marker { display: none; }

.jt-accordion summary::after {
	content: "";
	flex: none;
	width: 0.6rem;
	height: 0.6rem;
	border-right: 2px solid currentColor;
	border-bottom: 2px solid currentColor;
	transform: rotate(45deg) translateY(-0.15em);
	transition: transform 0.2s ease;
}

.jt-accordion[open] summary::after { transform: rotate(-135deg) translateY(-0.15em); }

.jt-accordion__body {
	padding: 0 var(--jt-space-5) var(--jt-space-5);
	color: var(--jt-ink-soft);
}

/* ==========================================================================
   9. Header
   ========================================================================== */

.jt-header {
	position: sticky;
	top: 0;
	z-index: 100;
	padding-block: var(--jt-space-3);
	background: rgba(238, 241, 245, 0.72);
	-webkit-backdrop-filter: blur(16px) saturate(1.3);
	backdrop-filter: blur(16px) saturate(1.3);
	border-bottom: 1px solid transparent;
	transition: border-color 0.2s ease, box-shadow 0.2s ease;
}

.jt-header--scrolled {
	border-bottom-color: var(--jt-hairline);
	box-shadow: var(--jt-shadow-sm);
}

.jt-header__inner {
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: var(--jt-space-5);
}

.jt-brand {
	display: inline-flex;
	align-items: center;
	gap: var(--jt-space-3);
	color: var(--jt-ink);
	font-weight: 800;
	font-size: var(--jt-text-lg);
	letter-spacing: -0.02em;
	text-decoration: none;
}

.jt-brand img { height: 2.25rem; width: auto; }

/*
 * The supplied logo is a flat PNG on a near-white background, so on this light
 * field it reads as a pale box. Multiply drops that background out against any
 * lighter surface. A transparent PNG or an SVG would be better still and would
 * make this rule unnecessary — worth replacing the asset when there's time.
 */
.jt-brand img { mix-blend-mode: multiply; }

.jt-nav { display: none; }

.jt-nav ul {
	display: flex;
	align-items: center;
	gap: var(--jt-space-5);
	margin: 0;
	padding: 0;
	list-style: none;
}

.jt-nav a {
	position: relative;
	color: var(--jt-ink-soft);
	font-size: var(--jt-text-sm);
	font-weight: 600;
	text-decoration: none;
	padding-block: var(--jt-space-2);
}

.jt-nav a:hover,
.jt-nav .current-menu-item > a {
	color: var(--jt-ink);
}

.jt-nav .current-menu-item > a::after {
	content: "";
	position: absolute;
	left: 0;
	right: 0;
	bottom: 0;
	height: 2px;
	border-radius: 2px;
	background: var(--jt-accent);
}

.jt-header__actions { display: flex; align-items: center; gap: var(--jt-space-3); }

/* Mobile menu toggle. */
.jt-menu-toggle {
	display: inline-flex;
	flex-direction: column;
	justify-content: center;
	gap: 5px;
	width: 2.75rem;
	height: 2.75rem;
	padding: 0 0.7rem;
	border: 1px solid var(--jt-glass-border);
	border-radius: var(--jt-radius-sm);
	background: var(--jt-glass-strong);
	cursor: pointer;
}

.jt-menu-toggle span {
	display: block;
	height: 2px;
	border-radius: 2px;
	background: var(--jt-ink);
	transition: transform 0.2s ease, opacity 0.2s ease;
}

.jt-menu-toggle[aria-expanded="true"] span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.jt-menu-toggle[aria-expanded="true"] span:nth-child(2) { opacity: 0; }
.jt-menu-toggle[aria-expanded="true"] span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

.jt-drawer {
	display: none;
	padding: var(--jt-space-5) 0 var(--jt-space-6);
}

.jt-drawer.is-open { display: block; }

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

.jt-drawer li + li { border-top: 1px solid var(--jt-hairline); }

.jt-drawer a {
	display: block;
	padding: var(--jt-space-4) 0;
	color: var(--jt-ink);
	font-weight: 600;
	text-decoration: none;
}

@media (min-width: 62em) {
	.jt-nav { display: block; }
	.jt-menu-toggle { display: none; }
	.jt-drawer { display: none !important; }
}

/* ==========================================================================
   10. Hero
   ========================================================================== */

.jt-hero { padding-block: clamp(2.5rem, 6vw, 5rem) clamp(3rem, 6vw, 5rem); }

.jt-hero__grid {
	display: grid;
	gap: clamp(2rem, 5vw, 3.5rem);
	align-items: center;
}

@media (min-width: 62em) {
	.jt-hero__grid { grid-template-columns: 1.05fr 0.95fr; }
}

.jt-hero__lede {
	max-width: 34rem;
	font-size: var(--jt-text-lg);
	color: var(--jt-ink-soft);
}

.jt-hero__actions {
	display: flex;
	flex-wrap: wrap;
	gap: var(--jt-space-3);
	margin-top: var(--jt-space-6);
}

.jt-hero__note {
	display: flex;
	align-items: center;
	gap: var(--jt-space-2);
	margin-top: var(--jt-space-4);
	font-size: var(--jt-text-sm);
	color: var(--jt-ink-muted);
}

/* The floating stat cards beside the hero device. */
.jt-hero__side {
	display: grid;
	gap: var(--jt-space-4);
}

/* ==========================================================================
   11. Pricing
   ========================================================================== */

.jt-price__amount {
	color: var(--jt-ink);
	font-size: var(--jt-text-3xl);
	font-weight: 800;
	letter-spacing: -0.03em;
}

.jt-price__period {
	font-size: var(--jt-text-sm);
	font-weight: 600;
	color: var(--jt-ink-muted);
}

.jt-price--featured {
	border-color: var(--jt-accent-ring);
	box-shadow: var(--jt-shadow-lg);
}

.jt-price__badge {
	position: absolute;
	top: -0.75rem;
	left: 50%;
	transform: translateX(-50%);
	padding: 0.25rem 0.9rem;
	border-radius: var(--jt-radius-pill);
	background: linear-gradient(135deg, var(--jt-accent) 0%, var(--jt-accent-deep) 100%);
	color: var(--jt-ink-invert);
	font-size: var(--jt-text-xs);
	font-weight: 700;
	letter-spacing: 0.08em;
	text-transform: uppercase;
	white-space: nowrap;
}

/* ==========================================================================
   12. Forms
   ========================================================================== */

.jt-field { margin-bottom: var(--jt-space-4); }

.jt-field label {
	display: block;
	margin-bottom: var(--jt-space-2);
	color: var(--jt-ink);
	font-size: var(--jt-text-sm);
	font-weight: 600;
}

.jt-field input,
.jt-field select,
.jt-field textarea {
	width: 100%;
	padding: 0.8rem 1rem;
	border: 1px solid var(--jt-hairline);
	border-radius: var(--jt-radius-sm);
	background: rgba(255, 255, 255, 0.8);
	font-family: inherit;
	font-size: var(--jt-text-base);
	color: var(--jt-ink);
}

.jt-field input:focus,
.jt-field select:focus,
.jt-field textarea:focus {
	border-color: var(--jt-accent);
	background: #fff;
}

.jt-field textarea { min-height: 8rem; resize: vertical; }

.jt-field__error {
	margin-top: var(--jt-space-2);
	font-size: var(--jt-text-sm);
	color: var(--jt-negative);
}

/* Honeypot — off-screen rather than display:none so bots still fill it. */
.jt-hp {
	position: absolute;
	left: -9999px;
	opacity: 0;
	height: 0;
	overflow: hidden;
}

/* ==========================================================================
   13. Footer
   ========================================================================== */

.jt-footer {
	margin-top: clamp(3rem, 6vw, 5rem);
	padding-block: clamp(2.5rem, 5vw, 4rem) var(--jt-space-6);
	border-top: 1px solid var(--jt-hairline);
	font-size: var(--jt-text-sm);
}

.jt-footer__grid {
	display: grid;
	gap: var(--jt-space-6);
	grid-template-columns: repeat(auto-fit, minmax(min(100%, 12rem), 1fr));
}

.jt-footer h4 {
	margin-bottom: var(--jt-space-3);
	font-size: var(--jt-text-sm);
	font-weight: 700;
	color: var(--jt-ink);
}

.jt-footer ul { list-style: none; margin: 0; padding: 0; }
.jt-footer li + li { margin-top: var(--jt-space-2); }

.jt-footer a { color: var(--jt-ink-soft); text-decoration: none; }
.jt-footer a:hover { color: var(--jt-ink); text-decoration: underline; }

.jt-footer__bottom {
	margin-top: var(--jt-space-7);
	padding-top: var(--jt-space-5);
	border-top: 1px solid var(--jt-hairline);
	color: var(--jt-ink-muted);
	text-align: center;
}

.jt-socials { display: flex; gap: var(--jt-space-3); margin-top: var(--jt-space-4); }

.jt-socials a {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	width: 2.25rem;
	height: 2.25rem;
	border-radius: var(--jt-radius-pill);
	background: var(--jt-glass-strong);
	border: 1px solid var(--jt-glass-border);
	color: var(--jt-ink-soft);
}

.jt-socials svg { width: 1.05rem; height: 1.05rem; }

/* ==========================================================================
   13b. Hero device and side cards
   Three columns on desktop — copy, device, floating stats — collapsing to a
   single column on mobile with the device between the copy and the stats.
   ========================================================================== */

@media (min-width: 62em) {
	.jt-hero__grid--device {
		grid-template-columns: 1fr 0.9fr 0.75fr;
		gap: clamp(1.5rem, 3vw, 2.5rem);
	}
}

.jt-hero__device {
	position: relative;
	display: flex;
	justify-content: center;
}

.jt-hero__device img {
	max-width: min(100%, 22rem);

	/*
	 * The render ships on its own grey studio backdrop rather than a
	 * transparent one, which would otherwise sit on the page as a hard-edged
	 * rectangle. Feathering the edges lets it settle into the background the
	 * way the mockup shows it floating. Replace with a cut-out PNG and this
	 * mask can go.
	 */
	-webkit-mask-image: radial-gradient(ellipse 72% 62% at 50% 46%, #000 58%, transparent 100%);
	mask-image: radial-gradient(ellipse 72% 62% at 50% 46%, #000 58%, transparent 100%);
}

/* Side stat card: icon left, figure right, as in the design. */
.jt-side-stat {
	display: flex;
	align-items: center;
	gap: var(--jt-space-4);
	padding: var(--jt-space-4) var(--jt-space-5);
}

.jt-side-stat .jt-icon-tile {
	margin-bottom: 0;
	width: 2.75rem;
	height: 2.75rem;
	flex: none;
}

.jt-side-stat__value {
	display: block;
	color: var(--jt-ink);
	font-size: var(--jt-text-xl);
	font-weight: 800;
	line-height: 1.15;
	letter-spacing: -0.02em;
}

.jt-side-stat__label {
	display: block;
	font-size: var(--jt-text-sm);
	font-weight: 600;
	color: var(--jt-ink-soft);
}

.jt-side-stat__note {
	display: block;
	font-size: var(--jt-text-xs);
	color: var(--jt-ink-muted);
}

/* ==========================================================================
   13c. Horizontal statistics bar
   ========================================================================== */

.jt-statbar {
	display: grid;
	grid-template-columns: repeat(auto-fit, minmax(min(100%, 15rem), 1fr));
	padding: clamp(1.25rem, 3vw, 1.75rem) clamp(1rem, 3vw, 2rem);
}

.jt-statbar__item {
	display: flex;
	align-items: center;
	gap: var(--jt-space-4);
	padding: var(--jt-space-3) clamp(0.5rem, 2vw, 1.5rem);
}

/* Hairline dividers between items, but never a trailing one. */
@media (min-width: 48em) {
	.jt-statbar__item + .jt-statbar__item {
		border-left: 1px solid var(--jt-hairline);
	}
}

@media (max-width: 47.99em) {
	.jt-statbar__item + .jt-statbar__item {
		border-top: 1px solid var(--jt-hairline);
	}
}

.jt-statbar__item .jt-icon-tile { margin-bottom: 0; flex: none; }

.jt-statbar__value {
	display: block;
	color: var(--jt-ink);
	font-size: var(--jt-text-xl);
	font-weight: 800;
	line-height: 1.15;
	letter-spacing: -0.02em;
}

.jt-statbar__label {
	display: block;
	font-size: var(--jt-text-sm);
	color: var(--jt-ink-muted);
	line-height: 1.35;
}

/* ==========================================================================
   13d. Step connectors
   The chevrons between the three "how it works" cards. Decorative, so they
   are hidden from assistive tech and dropped entirely once the cards stack.
   ========================================================================== */

.jt-steps {
	display: grid;
	gap: var(--jt-space-5);
	align-items: stretch;
}

@media (min-width: 62em) {
	.jt-steps {
		grid-template-columns: 1fr auto 1fr auto 1fr;
		gap: var(--jt-space-4);
	}
}

.jt-steps__arrow {
	display: none;
	align-self: center;
	color: var(--jt-ink-muted);
	opacity: 0.5;
}

@media (min-width: 62em) {
	.jt-steps__arrow { display: block; }
}

.jt-steps__arrow svg { width: 1.5rem; height: 1.5rem; }

/* The step card in this design leads with an icon tile, not a number badge. */
.jt-step {
	display: flex;
	gap: var(--jt-space-4);
	align-items: flex-start;
}

.jt-step .jt-icon-tile { margin-bottom: 0; flex: none; }

.jt-step h3 {
	font-size: var(--jt-text-base);
	margin-bottom: var(--jt-space-2);
}

.jt-step p {
	font-size: var(--jt-text-sm);
	color: var(--jt-ink-muted);
}

/* Small ordinal in the card corner. */
.jt-step__ordinal {
	position: absolute;
	top: var(--jt-space-4);
	right: var(--jt-space-5);
	color: var(--jt-ink-muted);
	font-size: var(--jt-text-sm);
	font-weight: 700;
	opacity: 0.55;
}

/* ==========================================================================
   13e. Testimonial carousel
   Scroll-snap rather than a JS slider: it is swipeable natively, keyboard
   scrollable, works without JavaScript, and costs nothing in page weight.
   ========================================================================== */

.jt-carousel { position: relative; }

.jt-carousel__track {
	display: grid;
	grid-auto-flow: column;
	grid-auto-columns: minmax(min(100%, 20rem), 1fr);
	gap: var(--jt-space-5);
	overflow-x: auto;
	scroll-snap-type: x mandatory;
	scroll-behavior: smooth;
	padding-block: var(--jt-space-2);
	-webkit-overflow-scrolling: touch;
	scrollbar-width: none;
}

.jt-carousel__track::-webkit-scrollbar { display: none; }

.jt-carousel__track > * { scroll-snap-align: start; }

@media (min-width: 62em) {
	.jt-carousel__track { grid-auto-columns: minmax(0, calc((100% - 3rem) / 3)); }
}

.jt-carousel__btn {
	position: absolute;
	top: 50%;
	transform: translateY(-50%);
	z-index: 2;
	display: none;
	align-items: center;
	justify-content: center;
	width: 2.75rem;
	height: 2.75rem;
	border: 1px solid var(--jt-glass-border);
	border-radius: var(--jt-radius-pill);
	background: var(--jt-glass-strong);
	box-shadow: var(--jt-shadow);
	color: var(--jt-ink);
	cursor: pointer;
}

.jt-carousel__btn svg { width: 1.1rem; height: 1.1rem; }
.jt-carousel__btn--prev { left: calc(var(--jt-gutter) * -1); }
.jt-carousel__btn--next { right: calc(var(--jt-gutter) * -1); }
.jt-carousel__btn[disabled] { opacity: 0.35; cursor: default; }

@media (min-width: 75em) {
	.jt-carousel__btn { display: flex; }
}

/* ==========================================================================
   13f. Pricing
   ========================================================================== */

.jt-pricing {
	display: grid;
	gap: var(--jt-space-5);
	grid-template-columns: repeat(auto-fit, minmax(min(100%, 14rem), 1fr));
	align-items: start;
}

.jt-plan {
	position: relative;
	display: flex;
	flex-direction: column;
	height: 100%;
	text-align: center;
}

.jt-plan h3 {
	font-size: var(--jt-text-lg);
	margin-bottom: var(--jt-space-1);
}

.jt-plan__blurb {
	font-size: var(--jt-text-sm);
	color: var(--jt-ink-muted);
	margin-bottom: var(--jt-space-4);
}

.jt-plan .jt-checklist {
	flex: 1;
	text-align: left;
	margin-block: var(--jt-space-4);
}

.jt-plan .jt-checklist li { font-size: var(--jt-text-sm); }

.jt-plan .jt-icon-tile { margin-inline: auto; }

/* ==========================================================================
   13g. Closing call-to-action band
   ========================================================================== */

.jt-cta-band {
	display: grid;
	gap: var(--jt-space-5);
	align-items: center;
	padding: clamp(1.75rem, 4vw, 2.5rem) clamp(1.5rem, 4vw, 3rem);
}

@media (min-width: 62em) {
	.jt-cta-band { grid-template-columns: auto 1fr auto; }
}

.jt-cta-band__phone {
	display: block;
	color: var(--jt-ink);
	font-size: var(--jt-text-3xl);
	font-weight: 800;
	letter-spacing: -0.03em;
	text-decoration: none;
	white-space: nowrap;
}

.jt-cta-band__phone:hover { color: var(--jt-accent-deep); }

/* ==========================================================================
   13h. FAQ row
   The design lays the top questions out as a row of collapsed cards rather
   than a single stacked column.
   ========================================================================== */

.jt-faq-row {
	display: grid;
	gap: var(--jt-space-4);
	grid-template-columns: repeat(auto-fit, minmax(min(100%, 15rem), 1fr));
	align-items: start;
}

.jt-faq-row .jt-accordion + .jt-accordion { margin-top: 0; }

.jt-faq-row summary {
	padding: var(--jt-space-4);
	font-size: var(--jt-text-sm);
}

.jt-faq-row .jt-accordion__body {
	padding: 0 var(--jt-space-4) var(--jt-space-4);
	font-size: var(--jt-text-sm);
}

/* ==========================================================================
   14. Utilities
   ========================================================================== */

.jt-text-center { text-align: center; }
.jt-mt-0 { margin-top: 0; }
.jt-mb-0 { margin-bottom: 0; }
.jt-muted { color: var(--jt-ink-muted); }
.jt-relative { position: relative; }

/* Horizontal scroll containment for wide content on small screens. */
.jt-scroll-x {
	overflow-x: auto;
	-webkit-overflow-scrolling: touch;
}

/* ==========================================================================
   15. Print
   ========================================================================== */

@media print {
	body::before { display: none; }
	.jt-header, .jt-footer, .jt-btn { display: none; }
	body { background: #fff; color: #000; }
}
