/* Clever Mobile theme */

:root {
	--bg: #f6f7f2;
	--surface: #ffffff;
	--surface-2: #eef0e8;
	--ink: #131615;
	--ink-2: #3a403c;
	--muted: #5f6761;
	--line: #e0e4d9;
	--lime: #9cc31b;
	--lime-2: #b4d82c;
	--lime-ink: #4a6100;
	--lime-soft: #edf5cf;
	--leaf-ink: #16191a;
	--shadow: 0 1px 2px rgb(20 30 10 / 6%), 0 8px 24px -8px rgb(20 30 10 / 12%);
	--shadow-lg: 0 2px 4px rgb(20 30 10 / 6%), 0 24px 48px -16px rgb(20 30 10 / 22%);
	--blob-1: #d9ef7a;
	--blob-2: #9fe7e1;
	--blob-3: #cbbcff;
	--r: 20px;
	--r-sm: 12px;
	--wrap: 1180px;
	--ease: cubic-bezier(.22, 1, .36, 1);
	--font: "Inter", system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;
	--display: "Space Grotesk", var(--font);
	color-scheme: light;
}

@media (prefers-color-scheme: dark) {
	:root:not([data-theme="light"]) {
		--bg: #0c0e0d;
		--surface: #141816;
		--surface-2: #1a1f1c;
		--ink: #edf0e8;
		--ink-2: #c9cfc6;
		--muted: #98a199;
		--line: #262c28;
		--lime: #b6e02e;
		--lime-2: #cdeb5a;
		--lime-ink: #c9ec5c;
		--lime-soft: #232c0d;
		--leaf-ink: #eef1e8;
		--shadow: 0 1px 2px rgb(0 0 0 / 40%), 0 8px 24px -8px rgb(0 0 0 / 60%);
		--shadow-lg: 0 2px 4px rgb(0 0 0 / 40%), 0 24px 48px -16px rgb(0 0 0 / 70%);
		--blob-1: #4d6b06;
		--blob-2: #0d5f5a;
		--blob-3: #3b2d82;
		color-scheme: dark;
	}
}

:root[data-theme="dark"] {
	--bg: #0c0e0d;
	--surface: #141816;
	--surface-2: #1a1f1c;
	--ink: #edf0e8;
	--ink-2: #c9cfc6;
	--muted: #98a199;
	--line: #262c28;
	--lime: #b6e02e;
	--lime-2: #cdeb5a;
	--lime-ink: #c9ec5c;
	--lime-soft: #232c0d;
	--leaf-ink: #eef1e8;
	--shadow: 0 1px 2px rgb(0 0 0 / 40%), 0 8px 24px -8px rgb(0 0 0 / 60%);
	--shadow-lg: 0 2px 4px rgb(0 0 0 / 40%), 0 24px 48px -16px rgb(0 0 0 / 70%);
	--blob-1: #4d6b06;
	--blob-2: #0d5f5a;
	--blob-3: #3b2d82;
	color-scheme: dark;
}

/* ---------- base ---------- */

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; scroll-padding-top: 88px; }
body {
	margin: 0;
	background: var(--bg);
	color: var(--ink);
	font: 400 17px/1.65 var(--font);
	-webkit-font-smoothing: antialiased;
	transition: background-color .4s var(--ease), color .4s var(--ease);
	overflow-x: hidden;
}
img, svg { max-width: 100%; height: auto; }
a { color: inherit; text-decoration-color: color-mix(in srgb, var(--lime) 70%, transparent); text-underline-offset: 3px; }
a:hover { color: var(--lime-ink); }
h1, h2, h3 { font-family: var(--display); font-weight: 600; letter-spacing: -.02em; line-height: 1.12; margin: 0 0 .5em; }
h1 { font-size: clamp(2.2rem, 5vw, 3.6rem); }
h2 { font-size: clamp(1.7rem, 3.4vw, 2.5rem); }
h3 { font-size: 1.25rem; }
::selection { background: var(--lime); color: #131615; }
:focus-visible { outline: 2px solid var(--lime); outline-offset: 3px; border-radius: 6px; }

.wrap { width: min(var(--wrap), 100% - 40px); margin-inline: auto; }
.wrap--narrow { width: min(760px, 100% - 40px); }
.skip { position: absolute; left: -999px; top: 8px; z-index: 100; background: var(--ink); color: var(--bg); padding: 8px 14px; border-radius: 8px; }
.skip:focus { left: 8px; }
.i { width: 1.15em; height: 1.15em; fill: none; stroke: currentColor; stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; flex: none; }

.eyebrow {
	display: inline-flex; align-items: center; gap: .5em;
	margin: 0 0 1rem; font: 600 .78rem/1 var(--font); letter-spacing: .12em; text-transform: uppercase; color: var(--lime-ink);
}
.eyebrow::before { content: ""; width: 18px; height: 2px; border-radius: 2px; background: var(--lime); }
.eyebrow a { text-decoration: none; }

/* ---------- logo ---------- */

.owl { overflow: visible; }
.owl__body { fill: var(--leaf-ink); transition: fill .4s; }
.owl__eye, .owl__bar { fill: var(--lime); }
.owl__beak { fill: var(--lime-2); }
.owl__pupil { fill: var(--bg); transition: fill .4s; }
.owl__pupils { translate: var(--px, 0) var(--py, 0); transition: translate .25s var(--ease); }
.owl__lid { fill: var(--leaf-ink); transform-box: fill-box; transform-origin: 50% 0; transform: scaleY(0); animation: blink 6s infinite; }
.owl__lid + .owl__lid { animation-delay: .02s; }
.owl.is-blinking .owl__lid { animation: blink-now .32s ease-in-out; }
@keyframes blink { 0%, 93%, 100% { transform: scaleY(0); } 95.5% { transform: scaleY(1); } }
@keyframes blink-now { 50% { transform: scaleY(1); } }
.brand { display: inline-flex; align-items: center; gap: 10px; text-decoration: none; color: var(--ink); }
.brand:hover { color: var(--ink); }
.brand__mark { width: 36px; height: 36px; transition: transform .5s var(--ease); }
.brand:hover .brand__mark { transform: rotate(-8deg) translateY(-2px); }
.brand__mark .owl__lid { animation-duration: 9s; }
.brand__word { font: 500 1.25rem/1 var(--display); letter-spacing: -.03em; }
.brand__word b { font-weight: 700; }

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

.btn {
	--h: 50px;
	display: inline-flex; align-items: center; justify-content: center; gap: .55em;
	height: var(--h); padding: 0 22px; border-radius: 999px; border: 1px solid transparent;
	font: 600 .98rem/1 var(--font); text-decoration: none; white-space: nowrap; cursor: pointer;
	transition: transform .25s var(--ease), background-color .25s, box-shadow .25s, border-color .25s, color .25s;
}
.btn:hover { transform: translateY(-2px); }
.btn:active { transform: translateY(0) scale(.98); }
.btn--sm { --h: 40px; padding: 0 16px; font-size: .9rem; }
.btn--primary { background: var(--ink); color: var(--bg); box-shadow: var(--shadow); }
.btn--primary:hover { color: var(--bg); box-shadow: 0 10px 30px -10px color-mix(in srgb, var(--lime) 80%, transparent); }
.btn--primary .i { transition: transform .25s var(--ease); }
.btn--primary:hover .i { transform: translateX(3px); }
.btn--ghost { border-color: var(--line); background: color-mix(in srgb, var(--surface) 70%, transparent); color: var(--ink); backdrop-filter: blur(8px); }
.btn--ghost:hover { border-color: var(--ink); color: var(--ink); }
.btn--play { background: #131615; color: #fff; border-color: #2c322e; }
.btn--play:hover { color: #fff; box-shadow: 0 10px 30px -12px rgb(0 0 0 / 50%); }
:root[data-theme="dark"] .btn--play { background: #edf0e8; color: #131615; border-color: #edf0e8; }
:root[data-theme="dark"] .btn--play:hover { color: #131615; }
@media (prefers-color-scheme: dark) {
	:root:not([data-theme="light"]) .btn--play { background: #edf0e8; color: #131615; border-color: #edf0e8; }
	:root:not([data-theme="light"]) .btn--play:hover { color: #131615; }
}
.gp { width: 1.25em; height: 1.25em; }
.more { display: inline-flex; align-items: center; gap: .35em; font-weight: 600; text-decoration: none; color: var(--ink); }
.more .i { transition: transform .25s var(--ease); }
.more:hover { color: var(--lime-ink); }
.more:hover .i { transform: translateX(4px); }
.icon-btn {
	display: grid; place-items: center; width: 42px; height: 42px; border-radius: 50%;
	border: 1px solid var(--line); background: var(--surface); color: var(--ink); cursor: pointer;
	transition: transform .3s var(--ease), border-color .2s;
}
.icon-btn:hover { border-color: var(--ink); }
.icon-btn .i { grid-area: 1 / 1; transition: transform .5s var(--ease), opacity .3s; }
.badge {
	display: inline-flex; align-items: center; height: 28px; padding: 0 12px; border-radius: 999px;
	background: var(--lime-soft); color: var(--lime-ink); font: 600 .8rem/1 var(--font); white-space: nowrap;
}
.badge--muted { background: var(--surface-2); color: var(--muted); }

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

.top {
	position: sticky; top: 0; z-index: 50;
	background: color-mix(in srgb, var(--bg) 72%, transparent);
	backdrop-filter: saturate(1.4) blur(16px); -webkit-backdrop-filter: saturate(1.4) blur(16px);
	border-bottom: 1px solid transparent; transition: border-color .3s, background-color .4s;
}
.top.is-scrolled { border-bottom-color: var(--line); }
.top__in { display: flex; align-items: center; gap: 16px; height: 72px; }
.nav { margin-left: auto; display: flex; align-items: center; gap: 20px; }
.nav ul { display: flex; gap: 4px; margin: 0; padding: 0; list-style: none; }
.nav a:not(.btn) {
	position: relative; display: block; padding: 8px 14px; border-radius: 999px;
	font-weight: 500; font-size: .96rem; text-decoration: none; color: var(--ink-2);
	transition: color .2s, background-color .2s;
}
.nav a:not(.btn):hover { color: var(--ink); background: var(--surface-2); }
.nav a[aria-current="page"] { color: var(--ink); }
.nav a[aria-current="page"]::after {
	content: ""; position: absolute; left: 50%; bottom: 2px; width: 5px; height: 5px; margin-left: -2.5px;
	border-radius: 50%; background: var(--lime);
}
.theme-toggle .i:last-child { opacity: 0; transform: rotate(-90deg) scale(.5); }
:root[data-theme="dark"] .theme-toggle .i:first-child { opacity: 0; transform: rotate(90deg) scale(.5); }
:root[data-theme="dark"] .theme-toggle .i:last-child { opacity: 1; transform: none; }
@media (prefers-color-scheme: dark) {
	:root:not([data-theme="light"]) .theme-toggle .i:first-child { opacity: 0; transform: rotate(90deg) scale(.5); }
	:root:not([data-theme="light"]) .theme-toggle .i:last-child { opacity: 1; transform: none; }
}
.menu-toggle { display: none; }
.menu-toggle .i:last-child { opacity: 0; transform: rotate(-90deg); }
.menu-open .menu-toggle .i:first-child { opacity: 0; transform: rotate(90deg); }
.menu-open .menu-toggle .i:last-child { opacity: 1; transform: none; }

@media (max-width: 860px) {
	.menu-toggle { display: grid; }
	.theme-toggle { margin-left: auto; }
	.nav {
		position: fixed; inset: 72px 0 auto 0; z-index: 49; flex-direction: column; align-items: stretch; gap: 16px;
		margin: 0; padding: 20px; background: var(--bg); border-bottom: 1px solid var(--line);
		transform: translateY(-12px); opacity: 0; visibility: hidden;
		transition: transform .35s var(--ease), opacity .25s, visibility 0s .35s;
	}
	.menu-open .nav { transform: none; opacity: 1; visibility: visible; transition: transform .35s var(--ease), opacity .25s; }
	.nav ul { flex-direction: column; }
	.nav a:not(.btn) { font-size: 1.15rem; padding: 12px 14px; }
	.nav a[aria-current="page"]::after { left: auto; right: 16px; top: 50%; margin-top: -2.5px; }
}

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

.hero { position: relative; overflow: hidden; padding: clamp(40px, 7vw, 96px) 0 clamp(56px, 8vw, 110px); }
.hero__bg { position: absolute; inset: -20% -10% auto; height: 140%; pointer-events: none; z-index: -1; filter: blur(70px); opacity: .7; }
.hero__bg span { position: absolute; border-radius: 50%; animation: drift 22s var(--ease) infinite alternate; }
.hero__bg span:nth-child(1) { width: 46vw; height: 46vw; left: 48%; top: 6%; background: var(--blob-1); }
.hero__bg span:nth-child(2) { width: 34vw; height: 34vw; left: 66%; top: 34%; background: var(--blob-2); animation-delay: -7s; animation-duration: 26s; }
.hero__bg span:nth-child(3) { width: 28vw; height: 28vw; left: 8%; top: 46%; background: var(--blob-3); opacity: .55; animation-delay: -13s; animation-duration: 30s; }
.hero::after {
	content: ""; position: absolute; inset: 0; z-index: -1; pointer-events: none;
	background-image: radial-gradient(color-mix(in srgb, var(--ink) 14%, transparent) 1px, transparent 1px);
	background-size: 26px 26px; mask-image: radial-gradient(ellipse 70% 60% at 50% 40%, #000 30%, transparent 75%);
}
@keyframes drift {
	0% { transform: translate(0, 0) scale(1); }
	50% { transform: translate(-6vw, 4vw) scale(1.12); }
	100% { transform: translate(4vw, -3vw) scale(.94); }
}
.hero__in { display: grid; grid-template-columns: 1.05fr .95fr; align-items: center; gap: 40px; }
.hero__title { font-size: clamp(2.6rem, 6.2vw, 4.9rem); line-height: 1.02; letter-spacing: -.035em; margin-bottom: .35em; }
.hero__title em {
	font-style: normal; position: relative; white-space: nowrap;
	background: linear-gradient(transparent 62%, color-mix(in srgb, var(--lime) 55%, transparent) 62%);
	background-size: 0 100%; background-repeat: no-repeat; animation: mark 1.1s .9s var(--ease) forwards;
}
@keyframes mark { to { background-size: 100% 100%; } }
.hero__lead { font-size: clamp(1.05rem, 1.6vw, 1.25rem); color: var(--ink-2); max-width: 34em; margin: 0 0 2rem; }
.hero__cta { display: flex; flex-wrap: wrap; gap: 12px; }
.stats { display: flex; flex-wrap: wrap; gap: 14px 40px; margin: 2.8rem 0 0; }
.stats div { display: flex; flex-direction: column-reverse; }
.stats dt { font-size: .85rem; color: var(--muted); }
.stats dd { margin: 0; font: 600 2.1rem/1.1 var(--display); letter-spacing: -.03em; }

.hero__art { position: relative; display: grid; place-items: center; }
@property --spin { syntax: "<angle>"; inherits: true; initial-value: 0deg; }
.orbit { position: relative; width: min(440px, 100%); aspect-ratio: 1; display: grid; place-items: center; container-type: inline-size; animation: orbit-spin 48s linear infinite; }
@keyframes orbit-spin { to { --spin: 360deg; } }
.orbit__ring { position: absolute; inset: 0; width: 100%; height: 100%; fill: none; stroke: var(--line); stroke-width: 1.2; stroke-dasharray: 3 7; animation: spin 90s linear infinite; }
.owl--hero { width: 48%; position: relative; z-index: 2; filter: drop-shadow(0 24px 40px color-mix(in srgb, var(--lime) 40%, transparent)); animation: bob 5s ease-in-out 1.6s infinite; }
.owl--hero > * { transform-box: fill-box; transform-origin: 50% 100%; animation: part-in .9s var(--ease) both; }
.owl--hero .owl__body { animation-delay: .15s; }
.owl--hero .owl__eye { transform-origin: 50% 50%; animation-delay: .5s; }
.owl--hero .owl__pupils { animation-delay: .65s; }
.owl--hero .owl__beak { animation-delay: .8s; }
.owl--hero .owl__bar { transform-origin: 50% 50%; animation-delay: .95s; }
.owl--hero .owl__lid { transform-origin: 50% 0; animation: blink 5s 2s infinite; }
@keyframes part-in { from { transform: scale(0); opacity: 0; } to { transform: none; opacity: 1; } }
@keyframes bob { 0%, 100% { translate: 0 0; } 50% { translate: 0 -10px; } }
@keyframes spin { to { transform: rotate(360deg); } }
.orbit__app {
	--size: 72px; --angle: calc(var(--n) * 90deg + 45deg + var(--spin));
	position: absolute; left: 50%; top: 50%; width: var(--size); height: var(--size); margin: calc(var(--size) / -2) 0 0 calc(var(--size) / -2);
	z-index: 3; transform: rotate(var(--angle)) translateX(42cqw) rotate(calc(-1 * var(--angle)));
}
.orbit__icon {
	/* no tile behind: the icons keep their own shapes, the shadow follows them */
	display: block; width: 100%; height: 100%; object-fit: contain; border-radius: 0; background: none; box-shadow: none;
	filter: drop-shadow(0 12px 18px color-mix(in srgb, var(--c, #000) 45%, transparent)) drop-shadow(0 2px 4px rgb(0 0 0 / 18%));
	animation: pop .8s var(--ease) both; animation-delay: calc(var(--n) * .15s + .6s);
	transition: scale .3s var(--ease);
}
.orbit__icon:hover { scale: 1.1; }
@keyframes pop { from { scale: 0; opacity: 0; } to { scale: 1; opacity: 1; } }

@media (max-width: 900px) {
	.hero__in { grid-template-columns: 1fr; }
	.hero__art { order: -1; }
	.orbit { width: min(320px, 82vw); }
	.orbit__app { --size: 56px; }
}

/* ---------- sections ---------- */

.section { padding: clamp(56px, 8vw, 104px) 0; }
.section--flush { padding-top: 8px; }
.section--tight { padding-block: 0 clamp(40px, 6vw, 72px); }
.section--tint { background: var(--surface-2); border-block: 1px solid var(--line); }
.section__head { max-width: 640px; margin-bottom: 40px; }
.section__head--row { display: flex; justify-content: space-between; align-items: end; gap: 24px; max-width: none; }
.section__head h2 { margin: 0; }
.subhead { font-size: 1.3rem; margin: 64px 0 20px; color: var(--muted); }

/* app cards */
.apps { display: grid; grid-template-columns: repeat(auto-fill, minmax(260px, 1fr)); gap: 20px; }
.app-card {
	position: relative; isolation: isolate; overflow: hidden;
	display: flex; flex-direction: column; padding: 26px; border-radius: var(--r);
	background: var(--surface); border: 1px solid var(--line); box-shadow: var(--shadow);
	transform: perspective(900px) rotateX(var(--rx, 0)) rotateY(var(--ry, 0)) translateY(var(--ty, 0));
	transition: transform .5s var(--ease), box-shadow .4s, border-color .4s;
}
.app-card:hover { --ty: -6px; box-shadow: var(--shadow-lg); border-color: color-mix(in srgb, var(--a) 45%, var(--line)); }
.app-card__glow {
	position: absolute; inset: auto -30% -60% auto; width: 90%; aspect-ratio: 1; z-index: -1; border-radius: 50%;
	background: radial-gradient(closest-side, color-mix(in srgb, var(--a) 40%, transparent), transparent);
	opacity: .35; transition: opacity .5s, transform .8s var(--ease);
}
.app-card:hover .app-card__glow { opacity: .9; transform: translate(-12%, -14%) scale(1.15); }
.app-card__top { display: flex; justify-content: space-between; align-items: start; margin-bottom: 22px; }
.app-icon { border-radius: 22%; flex: none; box-shadow: 0 6px 18px -6px color-mix(in srgb, var(--a, #000) 55%, transparent); }
.app-icon--drawn { display: grid; place-items: center; background: linear-gradient(135deg, var(--a), var(--b)); color: #fff; }
.app-icon--drawn svg { width: 55%; fill: none; stroke: currentColor; stroke-width: 2; stroke-linejoin: round; }
.app-card__icon { transition: transform .6s var(--ease); }
.app-card:hover .app-card__icon { transform: rotate(-8deg) scale(1.08); }
.app-card__name { margin: 0 0 .4em; font-size: 1.4rem; }
.app-card__name a { text-decoration: none; }
.app-card__name a::after { content: ""; position: absolute; inset: 0; z-index: 0; }
.app-card__tag { color: var(--muted); font-size: .98rem; margin: 0 0 24px; flex: 1; }
.app-card__actions { display: flex; align-items: center; justify-content: space-between; gap: 12px; position: relative; z-index: 1; }

.app-row {
	display: flex; align-items: center; gap: 14px; padding: 14px 18px; border-radius: var(--r-sm);
	border: 1px solid var(--line); background: var(--surface); text-decoration: none; color: var(--ink);
	transition: transform .3s var(--ease), border-color .3s;
}
.app-row:hover { transform: translateX(4px); border-color: var(--a); color: var(--ink); }
.app-row > span:not(.app-icon) { flex: 1; display: flex; flex-direction: column; min-width: 0; }
.app-row > .app-icon { flex: none; }
.app-row small { color: var(--muted); font-size: .88rem; }
.app-row .app-icon { filter: grayscale(.4); }
.apps--retired { grid-template-columns: repeat(auto-fill, minmax(300px, 1fr)); gap: 12px; }

/* features */
.features { display: grid; grid-template-columns: repeat(auto-fit, minmax(230px, 1fr)); gap: 20px; }
.feature { padding: 28px; border-radius: var(--r); background: var(--surface); border: 1px solid var(--line); }
.feature h3 { margin: 18px 0 8px; }
.feature p { color: var(--muted); margin: 0 0 14px; font-size: .97rem; }
.feature__icon {
	display: grid; place-items: center; width: 52px; height: 52px; border-radius: 16px;
	background: var(--lime-soft); color: var(--lime-ink); font-size: 1.4rem;
	transition: transform .5s var(--ease);
}
.feature:hover .feature__icon { transform: rotate(-10deg) scale(1.08); }

/* posts */
.posts { display: grid; grid-template-columns: repeat(auto-fill, minmax(300px, 1fr)); gap: 20px; }
.post-card {
	position: relative; display: flex; flex-direction: column; padding: 26px; border-radius: var(--r);
	background: var(--surface); border: 1px solid var(--line);
	transition: transform .4s var(--ease), box-shadow .4s, border-color .3s;
}
.post-card:hover { transform: translateY(-4px); box-shadow: var(--shadow-lg); border-color: color-mix(in srgb, var(--lime) 50%, var(--line)); }
.post-card__meta { display: flex; align-items: center; gap: 12px; font-size: .85rem; color: var(--muted); margin-bottom: 14px; }
.post-card__title { font-size: 1.2rem; margin: 0 0 10px; }
.post-card__title a { text-decoration: none; }
.post-card__title a::after { content: ""; position: absolute; inset: 0; }
.post-card__excerpt { margin: 0; color: var(--muted); font-size: .95rem; }
.tag { position: relative; z-index: 1; padding: 4px 10px; border-radius: 999px; background: var(--lime-soft); color: var(--lime-ink); font-weight: 600; font-size: .78rem; text-decoration: none; }

/* chips */
.chips { display: flex; flex-wrap: wrap; gap: 10px; margin: 0; padding: 0; list-style: none; }
.chip {
	display: inline-flex; align-items: center; gap: 8px; height: 40px; padding: 0 16px 0 8px; border-radius: 999px;
	background: var(--surface); border: 1px solid var(--line); text-decoration: none; font-weight: 500; font-size: .93rem; color: var(--ink);
	transition: border-color .2s, transform .3s var(--ease);
}
.chip:hover { border-color: var(--ink); transform: translateY(-2px); color: var(--ink); }
.chip__icon { width: 24px; height: 24px; border-radius: 7px; box-shadow: none; }
.chips--filter { margin-top: 24px; }
.chips--filter .chip { padding: 0 16px; height: 36px; }
.chips--filter .chip small { color: var(--muted); }
.chips--filter .chip[aria-current="page"] { background: var(--ink); color: var(--bg); border-color: var(--ink); }
.chips--filter .chip[aria-current="page"] small { color: inherit; opacity: .7; }

.retired { display: grid; grid-template-columns: minmax(220px, 1fr) 2fr; gap: 24px 40px; align-items: center; padding: 32px; border-radius: var(--r); border: 1px dashed var(--line); }
.retired .eyebrow { margin-bottom: .6rem; }
.retired__text { margin: 0; color: var(--muted); }
@media (max-width: 760px) { .retired { grid-template-columns: 1fr; } }

/* call to action */
.cta {
	position: relative; overflow: hidden; display: flex; align-items: center; gap: 32px;
	padding: clamp(32px, 5vw, 56px); border-radius: calc(var(--r) + 8px);
	background: var(--ink); color: var(--bg);
}
.cta h2 { font-size: clamp(1.5rem, 3vw, 2.2rem); margin-bottom: .3em; }
.cta p { margin: 0; opacity: .75; }
.cta > div { flex: 1; }
.cta .btn--primary { background: var(--lime); color: #131615; }
.cta .btn--primary:hover { color: #131615; }
.cta__owl { width: 96px; flex: none; animation: bob 4s ease-in-out infinite; }
.cta .owl__body, .cta .owl__lid { fill: var(--bg); }
.cta .owl__pupil { fill: var(--ink); }
@media (max-width: 760px) { .cta { flex-direction: column; align-items: start; } .cta__owl { width: 64px; } }

/* ---------- inner pages ---------- */

.page-head { padding: clamp(40px, 6vw, 80px) 0 clamp(24px, 4vw, 40px); }
.page-head h1 { margin: 0; max-width: 18em; }
.page-head__lead { color: var(--muted); font-size: 1.15rem; max-width: 40em; margin: 1rem 0 0; }
.page-head--doc .pills, .page-head--post .post-card__meta { margin-top: 22px; }
.crumb { display: inline-flex; align-items: center; gap: 10px; margin-bottom: 18px; color: var(--muted); font-weight: 500; text-decoration: none; }
.crumb:hover { color: var(--ink); }
.crumb__icon { width: 28px; height: 28px; border-radius: 8px; box-shadow: none; }

.app-hero { position: relative; overflow: hidden; padding: clamp(40px, 6vw, 88px) 0 clamp(32px, 5vw, 56px); }
.app-hero__bg {
	position: absolute; inset: 0; z-index: -1; pointer-events: none; opacity: .55;
	background:
		radial-gradient(40% 60% at 85% 20%, color-mix(in srgb, var(--a) 45%, transparent), transparent 70%),
		radial-gradient(30% 50% at 70% 80%, color-mix(in srgb, var(--b) 40%, transparent), transparent 70%);
	animation: hue 14s ease-in-out infinite alternate;
}
@keyframes hue { to { transform: translate(-4%, 3%) scale(1.08); } }
.app-hero__in { display: flex; align-items: center; gap: clamp(24px, 4vw, 48px); }
.app-hero__icon {
	width: clamp(96px, 14vw, 156px); height: auto; border-radius: 24%;
	box-shadow: 0 30px 60px -20px color-mix(in srgb, var(--a) 70%, transparent);
	animation: float 6s ease-in-out infinite, pop .8s var(--ease) both;
}
@keyframes float { 0%, 100% { translate: 0 0; rotate: 0deg; } 50% { translate: 0 -10px; rotate: -3deg; } }
.app-hero__copy h1 { margin-bottom: .25em; }
.app-hero__tag { font-size: 1.15rem; color: var(--ink-2); margin: 0 0 1.4rem; max-width: 36em; }
.app-hero__cta { display: flex; flex-wrap: wrap; align-items: center; gap: 14px; }
@media (max-width: 640px) { .app-hero__in { flex-direction: column; align-items: start; } }

.pills { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 22px; }
.pill {
	display: inline-flex; align-items: center; gap: 7px; height: 36px; padding: 0 14px; border-radius: 999px;
	border: 1px solid var(--line); background: color-mix(in srgb, var(--surface) 80%, transparent);
	font-size: .9rem; font-weight: 500; text-decoration: none; color: var(--ink-2);
	transition: border-color .2s, color .2s, background-color .2s;
}
.pill:hover { border-color: var(--a, var(--ink)); color: var(--ink); }
.pill[aria-current="page"] { background: var(--ink); border-color: var(--ink); color: var(--bg); }

/* ---------- reading ---------- */

.prose { max-width: 760px; padding-bottom: clamp(56px, 8vw, 96px); }
.prose > * { margin-block: 0 1.1em; }
.prose h2 { margin-top: 1.8em; font-size: 1.7rem; }
.prose h3 { margin-top: 1.6em; }
.prose ul, .prose ol { padding-left: 1.3em; }
.prose li { margin: .35em 0; }
.prose li::marker { color: var(--lime-ink); }
.prose img { border-radius: var(--r-sm); }
.prose .alignleft { float: left; margin: 0 1.2em .8em 0; }
.prose .alignright { float: right; margin: 0 0 .8em 1.2em; }
.prose .aligncenter { display: block; margin-inline: auto; }
.prose::after { content: ""; display: table; clear: both; }
.prose table { width: 100%; border-collapse: collapse; font-size: .95rem; }
.prose th, .prose td { border-bottom: 1px solid var(--line); padding: 10px 8px; text-align: left; vertical-align: top; }
.prose blockquote { margin-inline: 0; padding: 4px 0 4px 20px; border-left: 3px solid var(--lime); color: var(--ink-2); }
.prose code { padding: 2px 6px; border-radius: 6px; background: var(--surface-2); font-size: .9em; }
.prose hr { border: 0; border-top: 1px solid var(--line); margin-block: 2em; }
.prose iframe { max-width: 100%; border-radius: var(--r-sm); }
.prose .btn--play { margin-block: .5em; }

/* app page: feature lists as check rows */
.prose--app .lead-in { font-size: 1.35rem; margin-top: 1.8em; }
.prose--app ul { list-style: none; padding: 0; display: grid; grid-template-columns: repeat(auto-fill, minmax(260px, 1fr)); gap: 10px; }
.prose--app ul li {
	position: relative; margin: 0; padding: 12px 14px 12px 44px; border-radius: var(--r-sm);
	background: var(--surface); border: 1px solid var(--line); font-size: .97rem;
}
.prose--app ul li::before {
	content: ""; position: absolute; left: 14px; top: 14px; width: 18px; height: 18px; border-radius: 50%;
	background: var(--lime) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23131615' stroke-width='3.2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='m6 12.5 4 4 8-9'/%3E%3C/svg%3E") center / 12px no-repeat;
}

/* screenshots gallery */
.prose .shots, .prose .wp-block-gallery.shots {
	display: flex; gap: 16px; overflow-x: auto; scroll-snap-type: x mandatory; scrollbar-width: thin;
	margin-inline: calc((min(var(--wrap), 100vw - 40px) - min(760px, 100vw - 40px)) / -2) 0;
	padding: 12px 4px 24px; mask-image: linear-gradient(90deg, transparent, #000 2%, #000 94%, transparent);
	clear: both;
}
@media (max-width: 1180px) { .prose .shots, .prose .wp-block-gallery.shots { margin-inline: 0; } }
.prose .shots figure, .prose .wp-block-gallery.shots figure.wp-block-image {
	flex: none; width: auto !important; margin: 0 !important; scroll-snap-align: start;
	transition: transform .5s var(--ease);
}
.prose .shots figure:hover { transform: translateY(-6px) rotate(-1deg); }
.prose .shots img, .prose .wp-block-gallery.shots img {
	display: block; height: clamp(300px, 46vw, 460px) !important; width: auto !important; max-width: none; object-fit: contain;
	border-radius: 18px; box-shadow: var(--shadow-lg); background: var(--surface);
}

/* ---------- news ---------- */

.post-nav { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; padding-bottom: 80px; }
.post-nav__link { display: flex; flex-direction: column; gap: 6px; padding: 20px; border-radius: var(--r-sm); border: 1px solid var(--line); text-decoration: none; transition: border-color .2s; }
.post-nav__link:hover { border-color: var(--ink); color: var(--ink); }
.post-nav__link small { display: inline-flex; align-items: center; gap: 6px; color: var(--muted); }
.post-nav__link--next { grid-column: 2; text-align: right; align-items: end; }
.pager { display: flex; justify-content: center; flex-wrap: wrap; gap: 6px; margin-top: 48px; }
.pager .page-numbers {
	display: grid; place-items: center; min-width: 44px; height: 44px; padding: 0 10px; border-radius: 999px;
	border: 1px solid var(--line); text-decoration: none; font-weight: 600;
}
.pager .page-numbers.current { background: var(--ink); color: var(--bg); border-color: var(--ink); }
.pager .page-numbers.dots { border: 0; }
.empty { color: var(--muted); }

/* ---------- 404 ---------- */

.notfound { text-align: center; padding: 80px 0 120px; display: flex; flex-direction: column; align-items: center; }
.notfound p { color: var(--muted); }
.owl--lost { width: 150px; margin-bottom: 28px; animation: tilt 4s ease-in-out infinite; }
.owl--lost .owl__pupils { animation: look 6s ease-in-out infinite; }
@keyframes tilt { 0%, 100% { rotate: -6deg; } 50% { rotate: 6deg; } }
@keyframes look { 0%, 30% { translate: -4px 0; } 45%, 70% { translate: 4px -1px; } 85%, 100% { translate: 0 2px; } }

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

.about-hero { position: relative; overflow: hidden; padding: clamp(40px, 6vw, 88px) 0 clamp(24px, 4vw, 48px); }
.about-hero__in { display: grid; grid-template-columns: 1.4fr .8fr; align-items: center; gap: 40px; }
.about-hero h1 { font-size: clamp(2.3rem, 5.4vw, 4.2rem); line-height: 1.04; letter-spacing: -.035em; margin: 0; }
.about-hero h1 em {
	font-style: normal; background: linear-gradient(transparent 62%, color-mix(in srgb, var(--lime) 55%, transparent) 62%);
	background-size: 0 100%; background-repeat: no-repeat; animation: mark 1.1s .8s var(--ease) forwards;
}
.about-hero__owl { position: relative; display: grid; place-items: center; }
.owl--about { width: min(260px, 70%); }
.spark {
	position: absolute; width: 22px; height: 22px; background: var(--lime);
	clip-path: polygon(50% 0, 61% 39%, 100% 50%, 61% 61%, 50% 100%, 39% 61%, 0 50%, 39% 39%);
	animation: twinkle 3.2s ease-in-out infinite;
}
.spark--1 { top: 6%; left: 14%; }
.spark--2 { top: 22%; right: 8%; width: 14px; height: 14px; animation-delay: -1.1s; background: var(--lime-2); }
.spark--3 { bottom: 10%; left: 4%; width: 12px; height: 12px; animation-delay: -2.2s; }
@keyframes twinkle { 0%, 100% { scale: .3; rotate: 0deg; opacity: .2; } 50% { scale: 1; rotate: 90deg; opacity: 1; } }
@media (max-width: 760px) { .about-hero__in { grid-template-columns: 1fr; } .about-hero__owl { order: -1; } .owl--about { width: 150px; } }

.about-story { display: grid; grid-template-columns: 1.3fr 1fr; gap: clamp(32px, 6vw, 80px); align-items: start; padding-bottom: clamp(40px, 6vw, 72px); }
.prose--story { padding: 0; font-size: 1.15rem; }
.prose--story p:first-child { font: 500 clamp(1.3rem, 2.2vw, 1.6rem)/1.45 var(--display); letter-spacing: -.01em; color: var(--ink); }
.prose--story p { color: var(--ink-2); }
.about-numbers { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; margin: 0; position: sticky; top: 96px; }
.about-numbers div { display: flex; flex-direction: column; padding: 22px; border-radius: var(--r); background: var(--surface); border: 1px solid var(--line); }
.about-numbers dd { margin: 0; font: 600 clamp(2rem, 3.6vw, 2.8rem)/1 var(--display); letter-spacing: -.03em; }
.about-numbers dt { margin-top: 8px; color: var(--muted); font-size: .9rem; }
.about-numbers div:first-child { background: var(--lime); border-color: var(--lime); }
.about-numbers div:first-child dd, .about-numbers div:first-child dt { color: #131615; }
@media (max-width: 860px) { .about-story { grid-template-columns: 1fr; } .about-numbers { position: static; } }

/* timeline: a line that fills as you scroll (--p from JS), milestones alternate sides */
.timeline-wrap { background: var(--surface-2); border-block: 1px solid var(--line); }
.timeline { --p: 0; position: relative; list-style: none; margin: 0; padding: 0; display: grid; gap: 18px; }
.timeline::before, .timeline::after {
	content: ""; position: absolute; left: 50%; top: 0; width: 3px; margin-left: -1.5px; border-radius: 3px;
}
.timeline::before { bottom: 0; background: var(--line); }
.timeline::after { height: calc(var(--p) * 100%); background: linear-gradient(var(--lime), var(--lime-2)); box-shadow: 0 0 12px color-mix(in srgb, var(--lime) 60%, transparent); }
.milestone { position: relative; width: 50%; padding-right: 44px; }
.milestone:nth-child(even) { margin-left: 50%; padding: 0 0 0 44px; }
.milestone__dot {
	position: absolute; top: 26px; right: -9px; z-index: 1; width: 18px; height: 18px; border-radius: 50%;
	background: var(--bg); border: 3px solid var(--line); transition: border-color .4s, background-color .4s, scale .4s var(--ease);
}
.milestone:nth-child(even) .milestone__dot { right: auto; left: -9px; }
.milestone.is-passed .milestone__dot { border-color: var(--lime); background: var(--lime); scale: 1.15; }
.milestone__card {
	padding: 20px 22px; border-radius: var(--r); background: var(--surface); border: 1px solid var(--line);
	transition: transform .4s var(--ease), border-color .4s, box-shadow .4s;
}
.milestone__card:hover { transform: translateY(-3px); border-color: color-mix(in srgb, var(--a, var(--lime)) 55%, var(--line)); box-shadow: var(--shadow-lg); }
.milestone__date { margin: 0 0 10px; color: var(--muted); font-size: .9rem; }
.milestone__date b { font: 600 1.15rem/1 var(--display); color: var(--lime-ink); margin-right: 4px; }
.milestone__body { display: flex; gap: 16px; align-items: start; }
.milestone__icon { width: 52px; height: 52px; flex: none; transition: transform .5s var(--ease); }
.milestone__body > a { flex: none; display: block; line-height: 0; } /* the link around the icon must not shrink on phones */
.milestone__body > div { min-width: 0; }
.milestone__card:hover .milestone__icon { transform: rotate(-8deg) scale(1.08); }
.milestone__icon--owl { width: 48px; }
.milestone h3 { font-size: 1.1rem; margin: 0 0 4px; }
.milestone h3 a { text-decoration: none; }
.milestone p:last-child { margin: 0; color: var(--muted); font-size: .95rem; }
.milestone--now .milestone__card { background: var(--ink); color: var(--bg); border-color: var(--ink); }
.milestone--now .milestone__date b { color: var(--lime); }
.milestone--now h3 { color: var(--bg); }
.milestone--now p:last-child { color: color-mix(in srgb, var(--bg) 75%, transparent); }
.milestone--now a { color: var(--lime); }
/* cards slide in from their own side */
.milestone.reveal { translate: -28px 0; }
.milestone.reveal:nth-child(even) { translate: 28px 0; }
.milestone.reveal.is-in { translate: none; }
@media (max-width: 760px) {
	.timeline::before, .timeline::after { left: 9px; }
	.milestone, .milestone:nth-child(even) { width: auto; margin: 0; padding: 0 0 0 40px; }
	.milestone__dot, .milestone:nth-child(even) .milestone__dot { left: 0; right: auto; }
	.milestone.reveal, .milestone.reveal:nth-child(even) { translate: 0 22px; }
}

.about-quote { margin: 0; padding: clamp(32px, 6vw, 72px) 0; text-align: center; }
.about-quote p { margin: 0; font: 600 clamp(2rem, 5.5vw, 4.4rem)/1.08 var(--display); letter-spacing: -.035em; }
.about-quote span {
	background: linear-gradient(90deg, var(--lime-ink), var(--lime), #2bb3a8, var(--lime-ink)); background-size: 300% 100%;
	-webkit-background-clip: text; background-clip: text; color: transparent; animation: shimmer 8s linear infinite;
}
@keyframes shimmer { to { background-position: 300% 0; } }

/* ---------- contacts ---------- */

.contact-hero { position: relative; overflow: hidden; padding: clamp(40px, 6vw, 88px) 0 clamp(32px, 5vw, 56px); }
.contact-hero__in { display: grid; grid-template-columns: 1.4fr .7fr; align-items: center; gap: 32px; position: relative; z-index: 2; }
.contact-hero h1 { font-size: clamp(3rem, 8vw, 6rem); line-height: 1; letter-spacing: -.04em; margin: 0 0 .25em; }
.contact-hero h1 em {
	font-style: normal; background: linear-gradient(transparent 62%, color-mix(in srgb, var(--lime) 55%, transparent) 62%);
	background-size: 0 100%; background-repeat: no-repeat; animation: mark 1s .7s var(--ease) forwards;
}
.owl--contact { width: min(220px, 80%); }
.contact-hero__owl { display: grid; place-items: center; }
.flight { position: absolute; inset: 0; width: 100%; height: 100%; z-index: 1; pointer-events: none; }
.flight__path { fill: none; stroke: color-mix(in srgb, var(--ink) 22%, transparent); stroke-width: 1.6; stroke-dasharray: 2 9; stroke-linecap: round; vector-effect: non-scaling-stroke; }
.plane {
	position: absolute; left: 0; top: 0; z-index: 3; width: 34px; height: 34px; margin: -17px 0 0 -17px;
	color: var(--ink); pointer-events: none; opacity: 0; transition: opacity .4s;
	filter: drop-shadow(0 6px 10px color-mix(in srgb, var(--lime) 50%, transparent));
}
.plane.is-flying { opacity: 1; }
.plane svg { width: 100%; height: 100%; fill: var(--lime); stroke: var(--ink); stroke-width: 1.4; stroke-linejoin: round; }
@media (max-width: 760px) { .contact-hero__in { grid-template-columns: 1fr; } .contact-hero__owl { display: none; } }

.contact-grid { display: grid; grid-template-columns: 1.35fr 1fr; gap: 24px; align-items: start; padding-bottom: clamp(56px, 8vw, 96px); }
@media (max-width: 900px) { .contact-grid { grid-template-columns: 1fr; } }
.composer { padding: clamp(24px, 4vw, 36px); border-radius: calc(var(--r) + 4px); background: var(--surface); border: 1px solid var(--line); box-shadow: var(--shadow); }
.composer h2 { font-size: 1.6rem; margin-bottom: 1rem; }
.composer__label { margin: 22px 0 10px; font-weight: 600; font-size: .9rem; color: var(--muted); }
.chips--pick .chip { cursor: pointer; font: inherit; font-size: .92rem; font-weight: 500; padding: 0 16px; }
.chips--pick .chip:has(.chip__icon) { padding-left: 8px; }
.chips--pick .chip[aria-checked="true"] { background: var(--ink); color: var(--bg); border-color: var(--ink); }
.composer__preview {
	display: grid; gap: 6px; margin: 26px 0 22px; padding: 16px 18px; border-radius: var(--r-sm);
	background: var(--surface-2); border: 1px dashed var(--line); font-size: .95rem;
}
.composer__to { color: var(--muted); }
.composer__to b { color: var(--ink); font-weight: 600; }
.composer__k { color: var(--muted); margin-right: 6px; }
.composer__subject { font-weight: 600; min-height: 1.5em; }
.caret { display: inline-block; width: 2px; height: 1.1em; margin-left: 2px; vertical-align: -3px; background: var(--lime-ink); animation: caret 1s steps(1) infinite; }
@keyframes caret { 50% { opacity: 0; } }
.composer__send { width: 100%; }
.composer__send.is-sent .i:last-child { animation: fly-off .7s var(--ease); }
@keyframes fly-off { 50% { transform: translate(30px, -14px) rotate(-20deg); opacity: 0; } 51% { transform: translate(-30px, 10px); opacity: 0; } }

.contact-side { display: grid; gap: 16px; }
.contact-card { padding: 22px; border-radius: var(--r); background: var(--surface); border: 1px solid var(--line); }
.contact-card .feature__icon { width: 44px; height: 44px; border-radius: 14px; font-size: 1.2rem; }
.contact-card__k { margin: 14px 0 4px; font-weight: 600; }
.contact-card__v { display: inline-block; margin-bottom: 14px; font: 600 1.2rem/1.3 var(--display); text-decoration: none; word-break: break-all; }
.contact-card__t { margin: 0 0 14px; color: var(--muted); font-size: .95rem; }
.contact-card .pills { margin-top: 10px; }
.contact-card .pill .chip__icon { width: 20px; height: 20px; border-radius: 6px; }
.copy { position: relative; }
.copy__done { display: none; color: var(--lime-ink); }
.copy.is-done .copy__idle { display: none; }
.copy.is-done .copy__done { display: inline-flex; align-items: center; gap: .5em; animation: pop .4s var(--ease); }
.copy__idle { display: inline-flex; align-items: center; gap: .5em; }

/* ---------- FAQ (inc/faq.php) ---------- */

.faq { display: grid; gap: 22px; }
.faq__bar { display: grid; gap: 16px; padding: 20px; border-radius: var(--r); background: var(--surface); border: 1px solid var(--line); position: sticky; top: 84px; z-index: 5; box-shadow: var(--shadow); }
.faq__search { display: flex; align-items: center; gap: 10px; height: 52px; padding: 0 18px; border-radius: 999px; border: 1px solid var(--line); background: var(--bg); color: var(--muted); transition: border-color .2s, box-shadow .2s; }
.faq__search:focus-within { border-color: var(--lime); box-shadow: 0 0 0 4px color-mix(in srgb, var(--lime) 25%, transparent); }
.faq__search input { flex: 1; min-width: 0; border: 0; outline: 0; background: none; color: var(--ink); font: inherit; font-size: 1rem; }
.screen-reader-text { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); }
.faq__android { display: flex; flex-wrap: wrap; align-items: center; gap: 10px 14px; }
.faq__android-label { margin: 0; font-weight: 600; font-size: .92rem; }
.faq__android-label b { color: var(--lime-ink); }
.faq__android .chip { height: 34px; }
@media (max-width: 760px) { .faq__bar { position: static; } }

.faq__helper {
	display: flex; align-items: center; gap: 18px; padding: 20px 22px; border-radius: var(--r);
	background: linear-gradient(120deg, color-mix(in srgb, var(--lime) 22%, var(--surface)), var(--surface) 70%); border: 1px solid color-mix(in srgb, var(--lime) 45%, var(--line));
}
.faq__helper p { margin: 0; color: var(--muted); font-size: .93rem; }
.faq__helper .faq__helper-title { color: var(--ink); font: 600 1.1rem/1.3 var(--display); margin-bottom: 4px; }
.faq__helper > div { flex: 1; }
.faq__helper-icon { display: grid; place-items: center; width: 48px; height: 48px; border-radius: 15px; background: var(--lime); color: #131615; font-size: 1.3rem; flex: none; animation: nudge 2.4s ease-in-out infinite; }
@keyframes nudge { 0%, 70%, 100% { translate: 0 0; } 80% { translate: 0 4px; } 90% { translate: 0 -1px; } }
@media (max-width: 640px) { .faq__helper { flex-wrap: wrap; } }

.faq__group { display: grid; gap: 10px; }
.faq__group-title { font-size: 1.05rem; text-transform: uppercase; letter-spacing: .1em; color: var(--muted); margin: 14px 0 4px; font-family: var(--font); font-weight: 600; }
.faq__group[hidden] { display: none; }
.faq__item { border-radius: var(--r-sm); background: var(--surface); border: 1px solid var(--line); transition: border-color .3s, box-shadow .3s; scroll-margin-top: 230px; }
.faq__item[open] { border-color: color-mix(in srgb, var(--lime) 55%, var(--line)); box-shadow: var(--shadow); }
.faq__item.is-target { animation: glow 1.6s var(--ease); }
@keyframes glow { 0%, 40% { box-shadow: 0 0 0 4px color-mix(in srgb, var(--lime) 55%, transparent); } }
.faq__item summary {
	display: flex; align-items: center; justify-content: space-between; gap: 16px; padding: 18px 20px;
	cursor: pointer; list-style: none; font: 600 1.06rem/1.35 var(--display);
}
.faq__item summary::-webkit-details-marker { display: none; }
.faq__item summary:hover { color: var(--lime-ink); }
.faq__chev { flex: none; transition: rotate .35s var(--ease); }
.faq__item[open] .faq__chev { rotate: 180deg; }
.faq__a { padding: 0 20px 20px; font-size: .98rem; }
.faq__item[open] .faq__a { animation: drop .4s var(--ease); }
@keyframes drop { from { opacity: 0; translate: 0 -6px; } }
.faq__a > * { margin-block: 0 .9em; }
.faq__a > :last-child { margin-bottom: 0; }
.faq__a img { max-height: 420px; width: auto; border-radius: 14px; box-shadow: var(--shadow); }
.faq__a .wp-block-embed iframe { width: min(100%, 360px); height: auto; aspect-ratio: 9 / 16; border-radius: 14px; }
.faq__a .wp-block-embed__wrapper::before { display: none; }
.faq__a .wp-block-embed.wp-has-aspect-ratio .wp-block-embed__wrapper { position: static; }
.faq__a .wp-block-embed.wp-has-aspect-ratio iframe { position: static; }
.faq__empty { text-align: center; color: var(--muted); padding: 20px; }
.faq mark { background: color-mix(in srgb, var(--lime) 45%, transparent); color: inherit; border-radius: 3px; padding: 0 1px; }

.settings { display: grid; gap: 1px; margin: 0 0 1em; border-radius: var(--r-sm); overflow: hidden; border: 1px solid var(--line); background: var(--line); max-width: 460px; }
.settings div { display: flex; justify-content: space-between; gap: 16px; padding: 10px 14px; background: var(--surface-2); }
.settings dt { color: var(--muted); }
.settings dd { margin: 0; font-weight: 600; font-family: ui-monospace, SFMono-Regular, Menlo, monospace; font-size: .9rem; }

.tabs { margin: 0 0 1em; border-radius: var(--r-sm); border: 1px solid var(--line); overflow: hidden; }
.tabs__list { display: flex; gap: 4px; padding: 6px; background: var(--surface-2); overflow-x: auto; }
.tabs__list button {
	flex: none; height: 36px; padding: 0 14px; border: 0; border-radius: 999px; background: none; cursor: pointer;
	font: 500 .9rem/1 var(--font); color: var(--ink-2); transition: background-color .2s, color .2s;
}
.tabs__list button[aria-selected="true"] { background: var(--ink); color: var(--bg); }
.tabs__panel { padding: 16px; animation: drop .35s var(--ease); }
.tabs__panel > * { margin-block: 0 .8em; }
.tabs__panel > :last-child { margin-bottom: 0; }

.faq__more { display: flex; flex-wrap: wrap; align-items: center; gap: 8px 18px; padding: 22px; border-radius: var(--r); border: 1px dashed var(--line); }
.faq__more p { margin: 0; color: var(--muted); }
.faq__more .faq__more-title { color: var(--ink); font: 600 1.15rem/1 var(--display); width: 100%; }
.faq__more .btn { margin-left: auto; }
.prose:has(.faq) { max-width: 820px; }

/* ---------- designer illustrations (featured images of app pages) ---------- */

.app-card:has(.app-card__art) { padding-top: 0; }
.app-card__art {
	position: relative; margin: 0 -26px 0; aspect-ratio: 1024 / 500; overflow: hidden;
	border-bottom: 1px solid var(--line); background: var(--surface-2);
}
.app-card__img { display: block; width: 100%; height: 100%; object-fit: cover; transition: scale .9s var(--ease); }
.app-card:hover .app-card__img { scale: 1.07; }
.app-card__top--on-art { margin-top: -34px; position: relative; z-index: 1; align-items: end; }
.app-card__top--on-art .app-card__icon { filter: drop-shadow(0 0 1px var(--surface)) drop-shadow(0 0 2px var(--surface)) drop-shadow(0 8px 14px color-mix(in srgb, var(--a, #000) 50%, transparent)); }
.app-card__top--on-art .badge { translate: 0 -6px; }

.app-hero__in:has(.app-hero__art) { display: grid; grid-template-columns: auto minmax(0, 1fr) minmax(0, 1.05fr); align-items: center; }
.app-hero__art {
	margin: 0; border-radius: 26px; overflow: hidden; aspect-ratio: 1024 / 500;
	box-shadow: 0 40px 80px -30px color-mix(in srgb, var(--a) 75%, transparent), 0 0 0 1px var(--line);
	transform: perspective(1000px) rotateY(-8deg) rotateX(3deg); animation: poster 7s ease-in-out infinite, pop .9s var(--ease) both;
	transition: transform .6s var(--ease);
}
.app-hero__art:hover { transform: none; }
.app-hero__img { display: block; width: 100%; height: 100%; object-fit: cover; }
@keyframes poster { 0%, 100% { translate: 0 0; } 50% { translate: 0 -10px; } }
@media (max-width: 1000px) {
	.app-hero__in:has(.app-hero__art) { grid-template-columns: auto minmax(0, 1fr); }
	.app-hero__art { grid-column: 1 / -1; transform: none; }
}
@media (max-width: 640px) { .app-hero__in:has(.app-hero__art) { display: flex; } .app-hero__art { width: 100%; } }

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

.foot { border-top: 1px solid var(--line); padding: 64px 0 28px; background: var(--surface-2); }
.foot__grid { display: grid; grid-template-columns: 1.6fr repeat(3, 1fr); gap: 40px; }
.foot__brand p { color: var(--muted); max-width: 22em; margin: 16px 0 20px; font-size: .95rem; }
.foot__h { font: 600 .78rem/1 var(--font); letter-spacing: .12em; text-transform: uppercase; color: var(--muted); margin: 6px 0 16px; }
.foot ul { list-style: none; margin: 0; padding: 0; display: grid; gap: 10px; }
.foot ul a { text-decoration: none; color: var(--ink-2); font-size: .95rem; }
.foot ul a:hover { color: var(--lime-ink); }
.foot__base { display: flex; justify-content: space-between; flex-wrap: wrap; gap: 12px; margin-top: 56px; padding-top: 24px; border-top: 1px solid var(--line); color: var(--muted); font-size: .85rem; }
@media (max-width: 860px) { .foot__grid { grid-template-columns: 1fr 1fr; } .foot__brand { grid-column: 1 / -1; } }

/* ---------- motion ---------- */

/* reveal uses `translate`, so components keep their own `transform` (card tilt, hovers) */
.reveal { opacity: 0; translate: 0 22px; transition: opacity .8s var(--ease), translate .8s var(--ease), transform .5s var(--ease), box-shadow .4s, border-color .4s; }
.reveal.is-in { opacity: 1; translate: none; }

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

/* ---------- cookie banner (Ginger plugin) in the theme's style ---------- */

.ginger_banner.ginger_container {
	left: 16px !important; right: auto !important; bottom: 16px !important; top: auto !important;
	width: auto !important; max-width: min(560px, calc(100% - 32px)); padding: 18px 20px !important;
	display: flex !important; flex-wrap: wrap; align-items: center; gap: 12px 18px;
	background: var(--surface) !important; color: var(--ink-2) !important;
	border: 1px solid var(--line) !important; border-radius: 18px !important; box-shadow: var(--shadow-lg) !important;
	font: 400 .92rem/1.5 var(--font) !important;
	animation: pop-up .6s var(--ease) both;
}
.ginger_banner .ginger_message { flex: 1 1 260px; margin: 0 !important; color: inherit !important; font: inherit !important; }
.ginger_banner a:not(.ginger_btn) { color: var(--lime-ink) !important; }
.ginger_banner .ginger_btn {
	margin: 0 !important; height: 40px; padding: 0 18px !important; display: inline-flex !important; align-items: center;
	border: 0 !important; border-radius: 999px !important; background: var(--ink) !important; color: var(--bg) !important;
	font: 600 .9rem/1 var(--font) !important; text-decoration: none !important;
}
@keyframes pop-up { from { opacity: 0; translate: 0 20px; } to { opacity: 1; translate: none; } }

/* ---------- app icons everywhere: no tile behind, the icon keeps its own shape ---------- */
/* (Epub Reader has no artwork: its drawn icon is a <span class="…--drawn"> and keeps its gradient tile) */
img.app-icon, img.chip__icon, img.crumb__icon, img.orbit__icon {
	border-radius: 0; background: none; border: 0; box-shadow: none; object-fit: contain;
}
img.app-icon { filter: drop-shadow(0 8px 12px color-mix(in srgb, var(--a, #000) 40%, transparent)); }
img.app-hero__icon { filter: drop-shadow(0 26px 30px color-mix(in srgb, var(--a) 60%, transparent)); }
img.chip__icon, img.crumb__icon { filter: none; }
.app-row img.app-icon { filter: grayscale(.4) drop-shadow(0 4px 8px rgb(0 0 0 / 18%)); }
.app-icon--drawn { border-radius: 22%; }
.chip__icon.app-icon--drawn, .crumb__icon.app-icon--drawn { border-radius: 7px; }
