/*
Theme Name: Nimble App
Theme URI: https://wordpress.org/themes/
Author: Nimble App
Description: A fast, lightweight WordPress theme for a single Android app or game website. App-store-style information architecture with an original, independent design. Not a marketplace.
Version: 1.2.0
Requires at least: 6.0
Tested up to: 6.6
Requires PHP: 7.4
License: GNU General Public License v2 or later
License URI: https://www.gnu.org/licenses/gpl-2.0.html
Text Domain: single-app
Tags: one-column, custom-colors, custom-logo, custom-menu, featured-images, translation-ready, blog, accessibility-ready

Nimble App is an original theme. It does not copy Google Play branding, assets, or source code.
*/

/* ============================================================
   DESIGN TOKENS
   ============================================================ */

:root {
	--sat-primary:        #0f2d4a;
	--sat-accent:         #0a7c72;
	--sat-accent-hover:   #096660;
	--sat-accent-soft:    #e4f5f3;
	--sat-star:           #d08b10;

	--sat-bg:             #ffffff;          /* page is white — sections stripe */
	--sat-surface:        #ffffff;
	--sat-surface-2:      #f4f8fc;
	--sat-surface-alt:    #f0f6f4;          /* teal-tinted stripe */
	--sat-border:         #e0e8f0;
	--sat-divider:        #eaf0f6;
	--sat-shadow:         0 2px 12px rgba(15,45,74,.08);
	--sat-shadow-sm:      0 1px 4px rgba(15,45,74,.05);

	--sat-text:           #1a2332;
	--sat-muted:          #52626f;

	--sat-radius:         16px;
	--sat-radius-sm:      10px;
	--sat-radius-xs:      7px;

	--sat-font:           "Inter", "Segoe UI", system-ui, -apple-system, sans-serif;
	--sat-font-size:      1rem;
	--sat-line-height:    1.72;

	--sat-container:      1080px;
	--sat-logo-size:      36px;

	--sat-sticky-space:   0px;
	--sat-header-h:       66px;

	--sat-icon-size-mobile: 96px;
	--sat-icon-radius:      24px;

	/* section vertical padding */
	--sat-section-py:     52px;
}

/* ============================================================
   RESET & BASE
   ============================================================ */

*, *::before, *::after { box-sizing: border-box; }

html {
	scroll-behavior: smooth;
	overflow-x: clip;
	-webkit-text-size-adjust: 100%;
}

@media (prefers-reduced-motion: reduce) {
	html { scroll-behavior: auto; }
	*, *::before, *::after {
		animation-duration: .01ms !important;
		transition-duration: .01ms !important;
	}
}

body {
	margin: 0;
	padding-bottom: var(--sat-sticky-space);
	background: var(--sat-bg);
	color: var(--sat-text);
	font-family: var(--sat-font);
	font-size: 16px;                /* default; customizer <style> overrides this */
	line-height: var(--sat-line-height);
	-webkit-font-smoothing: antialiased;
}

img {
	max-width: 100%;
	height: auto;
	border-style: none;
	vertical-align: middle;
}

a {
	color: var(--sat-accent);
	text-decoration-thickness: 1px;
	text-underline-offset: 3px;
	transition: color .15s;
}
a:hover { color: var(--sat-accent-hover); }

:focus-visible {
	outline: 3px solid var(--sat-accent);
	outline-offset: 3px;
	border-radius: 4px;
}

/* ============================================================
   ACCESSIBILITY
   ============================================================ */

.screen-reader-text {
	position: absolute;
	width: 1px; height: 1px;
	padding: 0; margin: -1px;
	overflow: hidden;
	clip: rect(0,0,0,0);
	white-space: nowrap;
	border: 0;
}

.sat-skip {
	position: absolute;
	left: 12px; top: -52px;
	z-index: 1000;
	padding: 9px 16px;
	background: var(--sat-primary);
	color: #fff;
	font-weight: 600;
	border-radius: var(--sat-radius-xs);
	text-decoration: none;
	transition: top .2s;
}
.sat-skip:focus { top: 12px; }

/* ============================================================
   LAYOUT
   ============================================================ */

.sat-wrap {
	width: min(100% - 40px, var(--sat-container));
	margin-inline: auto;
}

/* Sections are full-width stripes */
.sat-section {
	padding: var(--sat-section-py) 0;
}

/* Alternate background stripes — applied directly to section elements */
.sat-stripe--white { background: var(--sat-surface); }
.sat-stripe--gray  { background: var(--sat-surface-2); }
.sat-stripe--teal  { background: var(--sat-surface-alt); }

/* Thin divider rule between sections */
.sat-section + .sat-section {
	border-top: 1px solid var(--sat-divider);
}

.sat-section__title {
	margin: 0 0 24px;
	font-size: 1.45rem;
	font-weight: 800;
	line-height: 1.2;
	letter-spacing: -.03em;
	color: var(--sat-primary);
}

.sat-section__lead {
	margin: -12px 0 24px;
	color: var(--sat-muted);
	font-size: 1rem;
	max-width: 56ch;
}

/* ============================================================
   CARD  — kept only where genuinely needed (hero, download aside, inline blocks)
   ============================================================ */

.sat-card {
	background: var(--sat-surface);
	border: 1px solid var(--sat-border);
	border-radius: var(--sat-radius);
	box-shadow: var(--sat-shadow);
}

/* ============================================================
   BUTTONS
   ============================================================ */

/* ── Primary button ─────────────────────────────────────────── */
.sat-btn {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	gap: 9px;
	min-height: 52px;
	padding: 0 30px;
	border: 0;
	border-radius: 14px;           /* rounded rect — not pill, not square */
	background: var(--sat-accent);
	/* subtle top-edge highlight for depth */
	box-shadow:
		inset 0 1px 0 rgba(255,255,255,.18),
		0 1px 2px rgba(0,0,0,.12),
		0 4px 16px rgba(10,124,114,.32);
	color: #fff;
	font: inherit;
	font-size: 1rem;
	font-weight: 700;
	letter-spacing: .02em;
	text-decoration: none;
	cursor: pointer;
	white-space: nowrap;
	user-select: none;
	transition: background .15s, box-shadow .15s, transform .1s;
	position: relative;
	overflow: hidden;
}

/* shimmer sweep on hover */
.sat-btn::after {
	content: '';
	position: absolute;
	inset: 0;
	background: linear-gradient(120deg, transparent 30%, rgba(255,255,255,.14) 50%, transparent 70%);
	transform: translateX(-100%);
	transition: transform .4s;
}
.sat-btn:hover::after { transform: translateX(100%); }

.sat-btn:hover,
.sat-btn:focus-visible {
	background: var(--sat-accent-hover);
	color: #fff;
	box-shadow:
		inset 0 1px 0 rgba(255,255,255,.18),
		0 2px 4px rgba(0,0,0,.14),
		0 8px 24px rgba(10,124,114,.42);
	transform: translateY(-2px);
	outline: none;
}
.sat-btn:focus-visible {
	outline: 3px solid var(--sat-accent);
	outline-offset: 3px;
}
.sat-btn:active {
	transform: translateY(0);
	box-shadow:
		inset 0 1px 0 rgba(255,255,255,.12),
		0 1px 2px rgba(0,0,0,.12),
		0 2px 8px rgba(10,124,114,.24);
}

/* icon sizing */
.sat-btn svg {
	width: 20px;
	height: 20px;
	flex: 0 0 auto;
	pointer-events: none;
}

/* ── Full-width variant (hero aside, download page) ─────────── */
.sat-btn-block {
	width: 100%;
	border-radius: 14px;
	min-height: 56px;
	font-size: 1.05rem;
}

/* ── Ghost / secondary button ───────────────────────────────── */
.sat-btn--ghost {
	background: transparent;
	color: var(--sat-primary);
	border: 2px solid var(--sat-border);
	box-shadow: none;
}
.sat-btn--ghost::after { display: none; }
.sat-btn--ghost:hover,
.sat-btn--ghost:focus-visible {
	background: var(--sat-surface-2);
	border-color: var(--sat-accent);
	color: var(--sat-accent);
	box-shadow: 0 2px 10px rgba(10,124,114,.12);
}
.sat-btn--ghost:active {
	background: var(--sat-accent-soft);
	transform: translateY(0);
	box-shadow: none;
}

@media (prefers-reduced-motion: reduce) {
	.sat-btn::after { display: none; }
	.sat-btn:hover,
	.sat-btn:focus-visible,
	.sat-btn:active { transform: none; }
}

/* ============================================================
   HEADER
   ============================================================ */

:root {
	--sat-header-bg:     #ffffff;
	--sat-header-text:   #0f2d4a;
	--sat-header-border: #e0e8f0;
}

.sat-header {
	position: sticky;
	top: 0;
	z-index: 40;
	background: var(--sat-header-bg);
	border-bottom: 1px solid var(--sat-header-border);
	backdrop-filter: blur(14px);
	-webkit-backdrop-filter: blur(14px);
}

.sat-header__inner {
	display: flex;
	align-items: center;
	justify-content: flex-start;   /* logo anchored left, nav/CTA pushed right */
	gap: 14px;
	min-height: var(--sat-header-h);
}

.sat-logo {
	display: inline-flex;
	align-items: center;
	gap: 10px;
	color: var(--sat-header-text);
	font-weight: 800;
	font-size: 1.05rem;
	letter-spacing: -.03em;
	text-decoration: none;
	flex-shrink: 0;
}
.sat-logo:hover { color: var(--sat-header-text); opacity: .8; }

.sat-logo img,
.sat-logo__img {
	width: auto;
	height: var(--sat-logo-size, 36px);
	max-width: 160px;
	border-radius: 0;
	object-fit: contain;
	object-position: left center;
	flex-shrink: 0;
}

.sat-nav-toggle {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	width: 44px; height: 44px;
	padding: 0;
	margin-left: auto;             /* push hamburger to the right on mobile */
	border: 1.5px solid var(--sat-header-border);
	border-radius: var(--sat-radius-xs);
	background: transparent;
	color: var(--sat-header-text);
	cursor: pointer;
}
.sat-nav-toggle svg { width: 22px; height: 22px; }

.sat-nav {
	position: absolute;
	left: 0; right: 0; top: 100%;
	display: none;
	padding: 8px 20px 20px;
	background: var(--sat-surface);
	border-bottom: 1px solid var(--sat-border);
	box-shadow: 0 14px 36px rgba(15,45,74,.10);
}
.sat-nav.is-open { display: block; }

.sat-nav ul { list-style: none; margin: 0; padding: 0; }
.sat-nav a {
	display: flex;
	align-items: center;
	padding: 13px 8px;
	color: var(--sat-text);
	font-weight: 600;
	font-size: .97rem;
	text-decoration: none;
	border-bottom: 1px solid var(--sat-divider);
}
.sat-nav li:last-child a { border-bottom: 0; }
.sat-nav a:hover,
.sat-nav .current-menu-item > a,
.sat-nav .current_page_item > a { color: var(--sat-accent); }

.sat-header__cta { display: none; }

/* Mobile menu: download CTA at the bottom of the open nav panel */
.sat-nav .sat-header__cta--mobile {
	display: flex;
	width: calc(100% - 32px);
	margin: 8px 16px 16px;
	min-height: 48px;
	justify-content: center;
}

/* ============================================================
   HERO — full-width, centered on mobile
   ============================================================ */

.sat-hero {
	background: linear-gradient(170deg, #f4f9ff 0%, #e8f5f3 100%);
	padding: 40px 0 36px;
	border-bottom: 1px solid var(--sat-divider);
}

/* On mobile: stack & center everything */
.sat-hero__inner {
	display: flex;
	flex-direction: column;
	align-items: center;
	text-align: center;
	gap: 0;
}

.sat-hero__icon {
	display: block;
	width: var(--sat-icon-size-mobile);
	height: var(--sat-icon-size-mobile);
	margin: 0 auto 22px;
	border-radius: var(--sat-icon-radius);
	object-fit: cover;
	background: #dce8f0;
	box-shadow: 0 12px 40px rgba(15,45,74,.18);
}

.sat-hero__monogram {
	display: flex;
	align-items: center;
	justify-content: center;
	width: var(--sat-icon-size-mobile);
	height: var(--sat-icon-size-mobile);
	margin: 0 auto 22px;
	border-radius: var(--sat-icon-radius);
	background: linear-gradient(145deg, #1b5270 0%, #0a7c72 100%);
	color: #fff;
	font-size: 2.4rem;
	font-weight: 800;
	box-shadow: 0 12px 40px rgba(10,124,114,.32);
}

.sat-hero__body { width: 100%; }

.sat-hero h1 {
	margin: 0 0 12px;
	font-size: 1.8rem;
	font-weight: 800;
	line-height: 1.15;
	letter-spacing: -.04em;
	color: var(--sat-primary);
}

.sat-hero__desc {
	margin: 0 0 20px;
	color: var(--sat-muted);
	font-size: 1rem;
}

/* Stat pills */
.sat-hero__stats {
	display: flex;
	flex-wrap: wrap;
	justify-content: center;
	gap: 7px 8px;
	margin: 0 0 24px;
	padding: 0;
	list-style: none;
}
.sat-hero__stats li {
	display: inline-flex;
	align-items: center;
	gap: 5px;
	padding: 6px 14px;
	background: rgba(255,255,255,.75);
	border: 1px solid var(--sat-border);
	border-radius: 999px;
	color: var(--sat-text);
	font-size: .875rem;
	font-weight: 650;
	backdrop-filter: blur(4px);
}

.sat-star { color: var(--sat-star); }

/* Download aside — stays card-like, full-width on mobile */
.sat-hero__aside {
	width: 100%;
	margin-top: 24px;
	padding: 22px 20px;
	background: var(--sat-surface);
	border: 1px solid var(--sat-border);
	border-radius: var(--sat-radius);
	box-shadow: var(--sat-shadow);
	text-align: left;
}

.sat-hero__meta {
	display: flex;
	flex-wrap: wrap;
	gap: 5px 14px;
	margin: 12px 0 0;
	color: var(--sat-muted);
	font-size: .86rem;
}

/* ============================================================
   SCREENSHOTS — full-width strip
   ============================================================ */

.sat-shots { overflow: visible; }

.sat-shots__track {
	display: flex;
	gap: 14px;
	margin: 0;
	padding: 4px 0 16px;
	list-style: none;
	overflow-x: auto;
	touch-action: pan-x;
	overscroll-behavior-x: contain;
	scroll-snap-type: x mandatory;
	-webkit-overflow-scrolling: touch;
	scrollbar-width: thin;
	scrollbar-color: var(--sat-border) transparent;
}
.sat-shots__track li { flex: 0 0 auto; scroll-snap-align: start; }
.sat-shots__track img {
	display: block;
	width: 150px;
	height: auto;
	border-radius: 14px;
	border: 1px solid var(--sat-border);
	background: var(--sat-surface-2);
	box-shadow: var(--sat-shadow-sm);
}

/* ============================================================
   PROSE / ABOUT — full-width, no card box
   ============================================================ */

.sat-prose {
	/* no border, no shadow */
}
.sat-prose > :first-child { margin-top: 0; }
.sat-prose > :last-child  { margin-bottom: 0; }
.sat-prose h2,
.sat-prose h3 { color: var(--sat-primary); letter-spacing: -.02em; line-height: 1.25; }
.sat-prose h2 { font-size: 1.3rem; }
.sat-prose h3 { font-size: 1.1rem; }
.sat-prose ul,
.sat-prose ol { padding-left: 1.25em; }
.sat-prose li { margin-bottom: .4em; }
.sat-prose table { width: 100%; border-collapse: collapse; display: block; overflow-x: auto; }
.sat-prose th,
.sat-prose td { padding: 10px 14px; border: 1px solid var(--sat-border); text-align: left; }
.sat-prose th { background: var(--sat-surface-2); font-weight: 700; }
.sat-prose img { border-radius: 14px; max-width: 100%; }

/* ============================================================
   FEATURES — inline grid, no card borders
   ============================================================ */

.sat-features { display: grid; gap: 0; }

.sat-feature {
	padding: 24px 0;
	border-bottom: 1px solid var(--sat-divider);
}
.sat-feature:last-child { border-bottom: 0; }

.sat-feature h3 {
	margin: 0 0 8px;
	font-size: 1.05rem;
	font-weight: 700;
	color: var(--sat-primary);
}
.sat-feature p { margin: 0; color: var(--sat-muted); font-size: .95rem; }

/* ============================================================
   APP INFO TABLE — full-width, no box
   ============================================================ */

.sat-info dl { display: grid; grid-template-columns: 1fr; gap: 0; margin: 0; }

.sat-info div {
	display: grid;
	grid-template-columns: 44% 56%;
	gap: 10px;
	padding: 14px 0;
	border-bottom: 1px solid var(--sat-divider);
	align-items: baseline;
}
.sat-info div:last-child { border-bottom: 0; }

.sat-info dt { margin: 0; color: var(--sat-muted); font-size: .875rem; font-weight: 600; }
.sat-info dd { margin: 0; font-weight: 700; font-size: .95rem; word-break: break-word; }

/* ============================================================
   DOWNLOAD / INSTALL / WHATS NEW — no card box
   ============================================================ */

.sat-download p,
.sat-install p,
.sat-whatsnew p { max-width: 68ch; }

.sat-download__facts,
.sat-dlpage__facts {
	display: grid;
	grid-template-columns: 1fr 1fr;
	gap: 12px;
	margin: 0 0 24px;
}
.sat-download__facts div,
.sat-dlpage__facts div {
	padding: 14px 16px;
	background: var(--sat-surface-2);
	border: 1px solid var(--sat-border);
	border-radius: var(--sat-radius-sm);
}
.sat-download__facts span,
.sat-dlpage__facts span {
	display: block;
	color: var(--sat-muted);
	font-size: .76rem;
	text-transform: uppercase;
	letter-spacing: .055em;
	margin-bottom: 4px;
}
.sat-download__facts strong,
.sat-dlpage__facts strong { font-size: .97rem; font-weight: 700; }

.sat-steps { margin: 0 0 20px; padding-left: 1.25em; }
.sat-steps li { margin: 0 0 10px; padding-left: 4px; }

/* ============================================================
   CTA BAND — full-width strip with accent tint
   ============================================================ */

.sat-cta-band {
	padding: var(--sat-section-py) 0;
	background: linear-gradient(135deg, #eaf6f5 0%, #f0f8ff 100%);
	border-top: 1px solid var(--sat-divider);
	border-bottom: 1px solid var(--sat-divider);
	text-align: center;
}
.sat-cta-band p { margin: 0 0 16px; color: var(--sat-muted); font-size: 1.05rem; }

/* ============================================================
   JUMP NAV + NEXT STEPS (retention / CTR)
   ============================================================ */

.sat-jump {
	position: sticky;
	top: var(--sat-header-h);
	z-index: 25;
	background: rgba(255,255,255,.94);
	border-bottom: 1px solid var(--sat-divider);
	backdrop-filter: blur(10px);
	-webkit-backdrop-filter: blur(10px);
}

.sat-jump__list {
	display: flex;
	gap: 8px;
	margin: 0;
	padding: 10px 0;
	list-style: none;
	overflow-x: auto;
	-webkit-overflow-scrolling: touch;
	scrollbar-width: none;
}
.sat-jump__list::-webkit-scrollbar { display: none; }

.sat-jump__list a {
	display: inline-flex;
	align-items: center;
	min-height: 34px;
	padding: 0 14px;
	border: 1px solid var(--sat-border);
	border-radius: 999px;
	background: var(--sat-surface);
	color: var(--sat-primary);
	font-size: .86rem;
	font-weight: 650;
	text-decoration: none;
	white-space: nowrap;
}
.sat-jump__list a:hover {
	background: var(--sat-accent-soft);
	border-color: var(--sat-accent);
	color: var(--sat-accent);
}

.sat-chips {
	display: flex;
	flex-wrap: wrap;
	gap: 10px;
	margin: 0 0 18px;
	padding: 0;
	list-style: none;
}
.sat-chips a {
	display: inline-flex;
	align-items: center;
	min-height: 40px;
	padding: 0 16px;
	border: 1px solid var(--sat-border);
	border-radius: 999px;
	background: var(--sat-surface);
	color: var(--sat-primary);
	font-size: .9rem;
	font-weight: 650;
	text-decoration: none;
	transition: background .15s, border-color .15s, color .15s;
}
.sat-chips a:hover {
	background: var(--sat-accent-soft);
	border-color: var(--sat-accent);
	color: var(--sat-accent);
}

.sat-nextsteps__actions {
	display: flex;
	flex-wrap: wrap;
	gap: 12px;
	align-items: center;
}

/* ============================================================
   REVIEWS
   ============================================================ */

.sat-rating-hero { display: flex; align-items: baseline; gap: 12px; margin-bottom: 10px; }
.sat-rating-hero strong {
	font-size: 2.8rem;
	font-weight: 800;
	letter-spacing: -.05em;
	color: var(--sat-primary);
}

.sat-bars { display: grid; gap: 8px; margin: 18px 0 26px; max-width: 380px; }
.sat-bar { display: grid; grid-template-columns: 24px 1fr; gap: 10px; align-items: center; font-size: .85rem; color: var(--sat-muted); }
.sat-bar__track { height: 9px; overflow: hidden; background: var(--sat-surface-2); border-radius: 99px; border: 1px solid var(--sat-border); }
.sat-bar__fill  { height: 100%; background: var(--sat-accent); border-radius: 99px; }

.sat-review { padding: 18px 0; border-bottom: 1px solid var(--sat-divider); }
.sat-review:last-of-type { border-bottom: 0; }
.sat-review__meta { display: flex; flex-wrap: wrap; gap: 6px 12px; margin-bottom: 8px; font-weight: 700; font-size: .9rem; }
.sat-disclaimer { margin: 0 0 16px; color: var(--sat-muted); font-size: .85rem; font-style: italic; }

/* ============================================================
   FAQ — full-width, no card box
   ============================================================ */

.sat-faq details { border-bottom: 1px solid var(--sat-divider); }
.sat-faq details:last-child { border-bottom: 0; }

.sat-faq summary {
	display: flex;
	justify-content: space-between;
	align-items: center;
	padding: 17px 0;
	font-weight: 700;
	font-size: .97rem;
	color: var(--sat-primary);
	cursor: pointer;
	list-style: none;
	gap: 14px;
}
.sat-faq summary::-webkit-details-marker { display: none; }
.sat-faq summary::after {
	content: "+";
	flex: 0 0 auto;
	width: 28px; height: 28px;
	display: flex;
	align-items: center;
	justify-content: center;
	border-radius: 999px;
	background: var(--sat-surface-2);
	border: 1px solid var(--sat-border);
	color: var(--sat-muted);
	font-size: 1.1rem;
	font-weight: 500;
	line-height: 1;
}
.sat-faq details[open] summary::after {
	content: "–";
	background: var(--sat-accent-soft);
	color: var(--sat-accent);
}
.sat-faq .sat-faq__body {
	padding: 0 0 18px;
	color: var(--sat-muted);
	font-size: .96rem;
	line-height: 1.68;
	max-width: 68ch;
}

/* ============================================================
   BREADCRUMBS / TOC / RELATED
   ============================================================ */

.sat-crumbs-wrap { padding: 0; }

.sat-crumbs {
	display: flex;
	flex-wrap: wrap;
	gap: 5px;
	margin: 18px 0 0;
	padding: 0;
	list-style: none;
	color: var(--sat-muted);
	font-size: .85rem;
}
.sat-crumbs li:not(:last-child)::after { content: "›"; margin-left: 5px; color: #a0adb8; }
.sat-crumbs a { color: var(--sat-muted); text-decoration: none; }
.sat-crumbs a:hover { color: var(--sat-accent); }

.sat-toc { padding: 0; }
.sat-toc ol { margin: 0; padding-left: 1.25em; }
.sat-toc li { margin-bottom: 6px; font-size: .95rem; }

/* TOC used inside page.php — give it a subtle left rule */
.sat-card.sat-toc {
	border-left: 3px solid var(--sat-accent);
	border-radius: 0 var(--sat-radius) var(--sat-radius) 0;
	padding: 20px 22px;
	margin-bottom: 24px;
	background: var(--sat-surface-2);
	box-shadow: none;
}

.sat-related__list {
	display: grid;
	gap: 10px;
	margin: 0; padding: 0;
	list-style: none;
}
.sat-related__list a {
	display: flex;
	align-items: center;
	justify-content: space-between;
	padding: 14px 0;
	border-bottom: 1px solid var(--sat-divider);
	color: var(--sat-primary);
	font-weight: 600;
	font-size: .96rem;
	text-decoration: none;
	transition: color .15s;
}
.sat-related__list li:last-child a { border-bottom: 0; }
.sat-related__list a::after { content: "→"; color: var(--sat-accent); font-size: 1rem; }
.sat-related__list a:hover { color: var(--sat-accent); }

/* ============================================================
   SUPPORT / DEVELOPER — full-width rows
   ============================================================ */

.sat-support p,
.sat-developer p { margin: 0 0 10px; }
.sat-support p:last-child,
.sat-developer p:last-child { margin-bottom: 0; }

/* ============================================================
   PAGE / ARTICLE
   ============================================================ */

.sat-article { padding-bottom: 40px; }

.sat-page-header { padding: 12px 0 10px; }
.sat-page-header h1 {
	margin: 10px 0 0;
	font-size: 1.8rem;
	font-weight: 800;
	letter-spacing: -.04em;
	color: var(--sat-primary);
	line-height: 1.18;
}

/* Page prose uses the card style for readability */
.sat-article .sat-prose {
	padding: 28px 26px;
}

/* Page CTA band */
.sat-article .sat-cta-band {
	padding: 26px 26px;
	border-radius: var(--sat-radius);
	border: 1px solid var(--sat-border);
	text-align: center;
	background: linear-gradient(135deg, #eaf6f5, #f0f8ff);
}

/* Download page head */
.sat-dlpage__head { display: grid; gap: 18px; padding: 24px 26px; }
.sat-dlpage__icon { width: 72px; height: 72px; border-radius: 18px; object-fit: cover; box-shadow: var(--sat-shadow); }

/* ============================================================
   FOOTER
   ============================================================ */

.sat-footer {
	margin-top: 0;
	padding: 52px 0 32px;
	background: #0d1c2b;
	color: #b8c8d8;
}
.sat-footer a { color: #dde9f4; text-decoration: none; }
.sat-footer a:hover { color: #fff; }

.sat-footer__grid { display: grid; gap: 32px; }
.sat-footer__brand p { margin: 10px 0 0; color: #7a94ab; font-size: .93rem; }
.sat-footer__brand strong { display: block; color: #fff; font-size: 1.1rem; font-weight: 700; }
.sat-footer nav ul { margin: 10px 0 0; padding: 0; list-style: none; }
.sat-footer nav li { margin: 0 0 9px; }
.sat-footer nav strong { display: block; color: #fff; font-size: .8rem; text-transform: uppercase; letter-spacing: .08em; margin-bottom: 14px; }
.sat-footer__recent a {
	display: -webkit-box;
	-webkit-line-clamp: 2;
	-webkit-box-orient: vertical;
	overflow: hidden;
	font-size: .92rem;
	line-height: 1.35;
}
.sat-footer__legal { margin-top: 28px; padding-top: 20px; border-top: 1px solid rgba(255,255,255,.08); color: #6a8296; font-size: .84rem; }

/* ============================================================
   SEARCH / 404 / POSTS
   ============================================================ */

.sat-searchform { display: flex; gap: 10px; margin: 0 0 22px; }
.sat-searchform input[type="search"] {
	flex: 1;
	min-height: 50px;
	padding: 10px 18px;
	border: 1.5px solid var(--sat-border);
	border-radius: var(--sat-radius-sm);
	background: var(--sat-surface);
	font: inherit;
	font-size: .97rem;
	transition: border-color .15s;
}
.sat-searchform input[type="search"]:focus { border-color: var(--sat-accent); outline: none; }

.sat-empty, .sat-404 { padding: 40px 20px; text-align: center; }
.sat-404 h1, .sat-empty h1 { margin: 0 0 12px; color: var(--sat-primary); }
.sat-404__actions, .sat-empty__actions {
	display: flex; flex-wrap: wrap; justify-content: center; gap: 12px; margin: 22px 0;
}

.sat-post-card {
	display: block;
	padding: 18px 0;
	border-bottom: 1px solid var(--sat-divider);
	color: inherit;
	text-decoration: none;
}
.sat-post-card:last-child { border-bottom: 0; }
.sat-post-card h2 { margin: 0 0 6px; font-size: 1.15rem; color: var(--sat-primary); font-weight: 700; }

/* ============================================================
   STICKY CTA
   ============================================================ */

.sat-sticky {
	position: fixed;
	right: 0; bottom: 0; left: 0;
	z-index: 30;
	display: flex;
	align-items: center;
	gap: 10px;
	padding: 12px 16px calc(12px + env(safe-area-inset-bottom));
	background: rgba(255,255,255,.97);
	border-top: 1px solid var(--sat-border);
	box-shadow: 0 -8px 32px rgba(15,45,74,.10);
}
.sat-sticky .sat-btn {
	flex: 1;
	min-height: 48px;
	border-radius: 12px;
	font-size: .95rem;
}
.sat-sticky__close {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	width: 44px; height: 44px;
	padding: 0;
	border: 1.5px solid var(--sat-border);
	border-radius: var(--sat-radius-xs);
	background: var(--sat-surface);
	color: var(--sat-primary);
	cursor: pointer;
}
body.has-sat-sticky { --sat-sticky-space: 80px; }

/* ============================================================
   DOWNLOAD PROGRESS OVERLAY
   ============================================================ */

.sat-dlprog {
	position: fixed;
	inset: 0;
	z-index: 80;
	display: flex;
	align-items: flex-end;
	justify-content: center;
	padding: 16px 16px calc(16px + env(safe-area-inset-bottom));
}

.sat-dlprog[hidden] { display: none !important; }

.sat-dlprog__backdrop {
	position: absolute;
	inset: 0;
	background: rgba(15, 45, 74, .48);
	backdrop-filter: blur(2px);
}

.sat-dlprog__panel {
	position: relative;
	z-index: 1;
	width: min(100%, 420px);
	padding: 22px 22px 20px;
	border-radius: 20px 20px 16px 16px;
	background:
		linear-gradient(180deg, #f3fbf9 0%, #ffffff 42%),
		var(--sat-surface);
	border: 1px solid var(--sat-border);
	box-shadow: 0 18px 48px rgba(15, 45, 74, .22);
	animation: sat-dlprog-in .28s ease-out;
}

@keyframes sat-dlprog-in {
	from { opacity: 0; transform: translateY(18px) scale(.98); }
	to   { opacity: 1; transform: translateY(0) scale(1); }
}

.sat-dlprog__x {
	position: absolute;
	top: 12px;
	right: 12px;
	width: 36px;
	height: 36px;
	border: 0;
	border-radius: 10px;
	background: transparent;
	color: var(--sat-muted);
	font-size: 1.5rem;
	line-height: 1;
	cursor: pointer;
}
.sat-dlprog__x:hover,
.sat-dlprog__x:focus-visible {
	background: var(--sat-surface-2);
	color: var(--sat-primary);
	outline: none;
}

.sat-dlprog__head {
	display: flex;
	align-items: center;
	gap: 14px;
	margin: 0 28px 18px 0;
}

.sat-dlprog__icon {
	width: 56px;
	height: 56px;
	border-radius: 14px;
	object-fit: cover;
	box-shadow: var(--sat-shadow-sm);
	flex: 0 0 auto;
}

.sat-dlprog__icon.sat-hero__monogram {
	display: flex;
	align-items: center;
	justify-content: center;
	background: var(--sat-accent-soft);
	color: var(--sat-accent);
	font-size: 1.35rem;
	font-weight: 800;
}

.sat-dlprog__eyebrow {
	margin: 0 0 2px;
	font-size: .75rem;
	font-weight: 700;
	letter-spacing: .06em;
	text-transform: uppercase;
	color: var(--sat-accent);
}

.sat-dlprog__title {
	margin: 0;
	font-size: 1.1rem;
	line-height: 1.3;
	color: var(--sat-primary);
	font-weight: 800;
	letter-spacing: -.02em;
}

.sat-dlprog__meta {
	margin: 4px 0 0;
	font-size: .85rem;
	color: var(--sat-muted);
}

.sat-dlprog__track {
	height: 12px;
	overflow: hidden;
	border-radius: 99px;
	background: var(--sat-surface-2);
	border: 1px solid var(--sat-border);
}

.sat-dlprog__fill {
	height: 100%;
	width: 0;
	border-radius: 99px;
	background: linear-gradient(90deg, var(--sat-accent) 0%, #12a396 100%);
	box-shadow: 0 0 0 1px rgba(10, 124, 114, .15);
	transition: none;
	position: relative;
}

.sat-dlprog__fill::after {
	content: '';
	position: absolute;
	inset: 0;
	background: linear-gradient(90deg, transparent, rgba(255,255,255,.35), transparent);
	animation: sat-dlprog-sheen 1.4s linear infinite;
}

@keyframes sat-dlprog-sheen {
	from { transform: translateX(-100%); }
	to   { transform: translateX(100%); }
}

.sat-dlprog[data-mode="done"] .sat-dlprog__fill::after,
.sat-dlprog[data-mode="error"] .sat-dlprog__fill::after {
	display: none;
}

.sat-dlprog[data-mode="done"] .sat-dlprog__fill {
	background: linear-gradient(90deg, #0a7c72, #0d9a6e);
}

.sat-dlprog[data-mode="error"] .sat-dlprog__fill {
	background: #b45309;
}

.sat-dlprog__row {
	display: flex;
	align-items: baseline;
	justify-content: space-between;
	gap: 12px;
	margin-top: 12px;
}

.sat-dlprog__status {
	margin: 0;
	font-size: .92rem;
	font-weight: 600;
	color: var(--sat-text);
}

.sat-dlprog__pct {
	margin: 0;
	font-size: .95rem;
	font-weight: 800;
	font-variant-numeric: tabular-nums;
	color: var(--sat-accent);
}

.sat-dlprog__hint {
	margin: 12px 0 0;
	font-size: .88rem;
	line-height: 1.5;
	color: var(--sat-muted);
}

.sat-dlprog__actions {
	display: flex;
	flex-wrap: wrap;
	align-items: center;
	gap: 10px;
	margin-top: 16px;
}

.sat-dlprog__actions .sat-btn {
	min-height: 44px;
	padding: 0 18px;
	font-size: .92rem;
}

.sat-dlprog__guide {
	display: inline-flex;
	width: 100%;
	margin-top: 4px;
	font-size: .92rem;
	font-weight: 700;
	color: var(--sat-accent);
	text-decoration: none;
}
.sat-dlprog__guide:hover { color: var(--sat-accent-hover); }

body.has-sat-dlprog {
	overflow: hidden;
}

@media (min-width: 600px) {
	.sat-dlprog {
		align-items: center;
		padding: 24px;
	}
	.sat-dlprog__panel {
		border-radius: 18px;
		padding: 26px;
	}
}

@media (prefers-reduced-motion: reduce) {
	.sat-dlprog__panel { animation: none; }
	.sat-dlprog__fill::after { display: none; }
}

/* ============================================================
   DESKTOP ≥ 800px
   ============================================================ */

@media (min-width: 800px) {

	:root { --sat-section-py: 64px; }

	/* Header */
	.sat-nav-toggle { display: none; }
	.sat-nav {
		position: static;
		display: block;
		margin-left: auto;           /* push nav + CTA to the right */
		padding: 0;
		background: transparent;
		border: 0;
		box-shadow: none;
	}
	.sat-nav ul { display: flex; flex-wrap: wrap; align-items: center; gap: 0 2px; }
	.sat-nav a {
		padding: 8px 12px;
		border: 0;
		border-radius: var(--sat-radius-xs);
		font-size: .93rem;
		color: var(--sat-header-text);
		white-space: nowrap;
	}
	.sat-nav a:hover,
	.sat-nav .current-menu-item > a,
	.sat-nav .current_page_item > a { color: var(--sat-accent); background: var(--sat-accent-soft); }
	.sat-header__cta {
		display: none;
	}
	.sat-header__cta--desktop {
		display: inline-flex;
		flex: 0 0 auto;
		min-height: 42px;
		padding: 0 20px;
		font-size: .9rem;
		border-radius: 10px;
	}
	.sat-nav .sat-header__cta--mobile {
		display: none;
	}

	/* Hero — 3-column */
	.sat-hero { padding: 56px 0 52px; }
	.sat-hero__inner {
		display: grid;
		grid-template-columns: auto 1fr auto;
		gap: 32px 40px;
		align-items: start;
		text-align: left;
	}
	.sat-hero__icon,
	.sat-hero__monogram {
		width: 112px;
		height: 112px;
		margin: 0;
		--sat-icon-size-mobile: 112px;
	}
	.sat-hero h1 { font-size: 2.15rem; }
	.sat-hero__stats { justify-content: flex-start; }
	.sat-hero__aside {
		width: 280px;
		flex: 0 0 280px;
		margin-top: 0;
		align-self: start;
	}
	.sat-hero__meta { justify-content: flex-start; }

	/* Screenshots */
	.sat-shots__track { padding-left: 0; padding-right: 0; }
	.sat-shots__track img { width: 195px; }

	/* Features grid */
	.sat-features { grid-template-columns: 1fr 1fr; gap: 0; }
	.sat-feature { border-right: 1px solid var(--sat-divider); padding: 28px 28px; }
	.sat-feature:nth-child(2n) { border-right: 0; }

	/* App info */
	.sat-info dl { grid-template-columns: 1fr 1fr; }
	.sat-info div { border-right: 1px solid var(--sat-border); }
	.sat-info div:nth-child(2n) { border-right: 0; }

	/* Download facts */
	.sat-download__facts,
	.sat-dlpage__facts { grid-template-columns: repeat(4, 1fr); }

	/* Footer */
	.sat-footer__grid { grid-template-columns: 1.5fr 1fr 1fr; }
	.sat-footer__grid--posts { grid-template-columns: 1.4fr 1fr 1.2fr 1fr; }

	/* Page */
	.sat-page-header h1 { font-size: 2.15rem; }
	.sat-dlpage__head { grid-template-columns: 84px 1fr auto; align-items: center; }

	/* No sticky */
	.sat-sticky { display: none; }
	body.has-sat-sticky { --sat-sticky-space: 0px; }
}

/* ============================================================
   WIDE ≥ 1100px
   ============================================================ */

@media (min-width: 1100px) {
	.sat-hero__inner { grid-template-columns: auto 1fr 300px; }
	.sat-hero__aside { width: 300px; flex: 0 0 300px; }
	.sat-features { grid-template-columns: repeat(3, 1fr); }
	.sat-feature:nth-child(2n) { border-right: 1px solid var(--sat-divider); }
	.sat-feature:nth-child(3n) { border-right: 0; }
}
