/* ==========================================================================
   JAccent landing page — modern dark design with a matching light theme (home page only).
   Theme: tokens in :root (dark) and :root[data-theme="light"]; set by an inline script in <head>, toggled in landing.js.
   Everything is prefixed `jx-` so it never collides with style.css or announcements.css.
   Motion: CSS-driven; the few JS-driven effects live in assets/js/landing.js.
   All animation is disabled under `prefers-reduced-motion: reduce`.
   ========================================================================== */

:root {
	color-scheme: dark;
	--radius: 22px;
	--ease: cubic-bezier(.22, 1, .36, 1);
	--nav-h: 68px;
	--sec-pad: clamp(72px, 10vw, 132px);

	/* ----- theme tokens: dark (default). The light theme overrides these below. ----- */
	--bg: #050a08;
	--bg-2: #07100c;
	--surface: rgba(255, 255, 255, .045);
	--surface-2: rgba(255, 255, 255, .075);
	--line: rgba(255, 255, 255, .09);
	--line-2: rgba(255, 255, 255, .17);
	--text: #eef6f0;
	--muted: rgba(226, 238, 230, .70);
	--faint: rgba(226, 238, 230, .46);
	--heading: #fff;
	--text-2: #d7f9e3;
	--text-3: #dcebe1;
	--green: #4ade80;
	--green-deep: #22c55e;
	--green-text: #4ade80;
	--mint: #86efac;
	--indigo: #7c8cff;
	--amber: #fbbf24;
	--badge-bg: #fbbf24;
	--android: #3ddc84;
	--ink: #04130a;
	--grad: linear-gradient(100deg, #86efac 0%, #4ade80 38%, #7c8cff 100%);
	/* filled gradient controls (buttons, chips, step dots): the gradient and the ink that sits on it */
	--btn-grad: linear-gradient(100deg, #6ee7a0, #4ade80 45%, #7c8cff);
	--btn-ink: #04130a;
	--btn-sheen: rgba(255, 255, 255, .85);
	--h1-grad: linear-gradient(100deg, #ffffff 0%, #d9fbe6 40%, #8ef0b4 70%, #a5b1ff 100%);

	/* the same hues as bare r,g,b so tints can take an alpha: rgba(var(--green-rgb), .2) */
	--w-rgb: 255, 255, 255;
	--bg-rgb: 5, 10, 8;
	--green-rgb: 74, 222, 128;
	--mint-rgb: 134, 239, 172;
	--indigo-rgb: 124, 140, 255;
	--amber-rgb: 251, 191, 36;

	--btn-light-bg: #f4faf6;
	--btn-light-fg: #07140c;
	--bar-bg: #0a130e;
	--nav-bg: rgba(5, 10, 8, .72);
	--nav-bg-open: rgba(5, 10, 8, .85);
	--pop-bg: rgba(12, 22, 17, .94);
	--menu-bg: rgba(10, 18, 14, .95);
	--pop-shadow: 0 24px 60px -10px rgba(0, 0, 0, .7);
	--phone-shadow: rgba(0, 0, 0, .6);
	--card-bg: linear-gradient(180deg, rgba(255, 255, 255, .06), rgba(255, 255, 255, .025));
	--card-shadow: none;
	--card-hover-shadow: 0 30px 60px -30px rgba(0, 0, 0, .8);
	--showcase-fade: rgba(5, 10, 8, .55);
	--showcase-shadow: 0 50px 100px -40px rgba(0, 0, 0, .9), 0 0 120px -40px rgba(74, 222, 128, .35);
	--anywhere-bg: #03060a;
	--video-shadow: 0 50px 100px -30px rgba(0, 0, 0, .9), 0 0 100px -30px rgba(74, 222, 128, .4);
	--step-bg: rgba(255, 255, 255, .035);
	--step-bg-hover: rgba(255, 255, 255, .06);
	--bezel: linear-gradient(160deg, rgba(255, 255, 255, .28), rgba(255, 255, 255, .06) 40%, rgba(255, 255, 255, .16));
	--shot-shadow: 0 40px 70px -30px rgba(0, 0, 0, .9), 0 0 0 1px rgba(255, 255, 255, .06);
	--dl-base: #07110c;
	--marq-1: rgba(226, 238, 230, .62);
	--marq-2: #f2f9f4;
}

/* ----- light theme: same layout and hues, re-tuned for a pale mint-white page ----- */
:root[data-theme="light"] {
	color-scheme: light;
	--bg: #f3f9f5;
	--bg-2: #e9f3ed;
	--surface: rgba(255, 255, 255, .72);
	--surface-2: rgba(10, 40, 25, .07);
	--line: rgba(10, 40, 25, .10);
	--line-2: rgba(10, 40, 25, .17);
	--text: #0a1d12;
	--muted: rgba(12, 38, 24, .74);
	--faint: rgba(12, 38, 24, .62);
	--heading: #07160d;
	--text-2: #14532d;
	--text-3: #1e3a2a;
	--green: #16a34a;
	--green-deep: #15803d;
	--green-text: #15803d;
	--mint: #15803d;
	--indigo: #5b6cf0;
	--amber: #b45309;
	--badge-bg: #f59e0b;
	--android: #1f9d57;
	--grad: linear-gradient(100deg, #16a34a 0%, #0e9f6e 40%, #5b6cf0 100%);
	--btn-grad: linear-gradient(100deg, #16a34a 0%, #0e9f6e 40%, #5b6cf0 100%);
	--btn-ink: #fff;
	--btn-sheen: rgba(255, 255, 255, .32);
	--h1-grad: linear-gradient(100deg, #04150b 0%, #0b3d24 38%, #15803d 72%, #4f5fe0 100%);

	--w-rgb: 10, 40, 25;
	--bg-rgb: 243, 249, 245;
	--green-rgb: 22, 163, 74;
	--mint-rgb: 22, 163, 74;
	--indigo-rgb: 91, 108, 240;
	--amber-rgb: 217, 119, 6;

	--btn-light-bg: #0d1f15;
	--btn-light-fg: #f1faf4;
	--bar-bg: #e3f2e9;
	--nav-bg: rgba(243, 249, 245, .78);
	--nav-bg-open: rgba(243, 249, 245, .94);
	--pop-bg: rgba(255, 255, 255, .97);
	--menu-bg: rgba(255, 255, 255, .97);
	--pop-shadow: 0 24px 60px -16px rgba(10, 40, 25, .3), 0 0 0 1px rgba(10, 40, 25, .04);
	--phone-shadow: rgba(10, 40, 25, .32);
	--card-bg: linear-gradient(180deg, #fff, rgba(255, 255, 255, .8));
	--card-shadow: 0 1px 2px rgba(10, 40, 25, .05), 0 18px 40px -28px rgba(10, 40, 25, .28);
	--card-hover-shadow: 0 30px 60px -30px rgba(10, 40, 25, .38);
	--showcase-fade: rgba(10, 40, 25, .22);
	--showcase-shadow: 0 50px 100px -40px rgba(10, 40, 25, .45), 0 0 120px -50px rgba(34, 197, 94, .35);
	--anywhere-bg: #e4f2ea;
	--video-shadow: 0 40px 90px -30px rgba(10, 40, 25, .5), 0 0 80px -30px rgba(34, 197, 94, .35);
	--step-bg: rgba(255, 255, 255, .78);
	--step-bg-hover: #fff;
	--bezel: linear-gradient(160deg, #56625b, #141b18 42%, #3a443f);
	--shot-shadow: 0 40px 70px -30px rgba(10, 40, 25, .55), 0 0 0 1px rgba(10, 40, 25, .12);
	--dl-base: #eaf6ef;
	--marq-1: rgba(12, 38, 24, .66);
	--marq-2: #07160d;
}

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

html {
	background: var(--bg);
	overflow-x: clip;
	scroll-behavior: smooth;
	-webkit-text-size-adjust: 100%;
}

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

.jx {
	margin: 0;
	background: var(--bg);
	color: var(--text);
	font-family: Inter, "Hiragino Sans", "Hiragino Kaku Gothic ProN", "Yu Gothic", "Noto Sans JP", system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;
	font-size: 16px;
	line-height: 1.65;
	letter-spacing: 0;
	-webkit-font-smoothing: antialiased;
	-moz-osx-font-smoothing: grayscale;
	text-rendering: optimizeLegibility;
	overflow-x: clip;
}

html:lang(zh-Hans) .jx { font-family: Inter, "PingFang SC", "Microsoft YaHei", "Noto Sans CJK SC", "Noto Sans SC", system-ui, sans-serif; }
html:lang(zh-Hant) .jx { font-family: Inter, "PingFang TC", "Microsoft JhengHei", "Noto Sans CJK TC", "Noto Sans TC", system-ui, sans-serif; }
html:lang(ko) .jx { font-family: Inter, "Apple SD Gothic Neo", "Malgun Gothic", "Noto Sans CJK KR", "Noto Sans KR", system-ui, sans-serif; }

/* :where() keeps the reset at zero specificity so any component class below wins */
:where(.jx) :where(h1, h2, h3, h4, p, ul, dl, dd, figure) { margin: 0; }
:where(.jx) ul { padding: 0; list-style: none; }
:where(.jx) li { list-style: none; font-size: inherit; line-height: inherit; }
:where(.jx) :where(img, svg, video) { display: block; max-width: 100%; }
:where(.jx) a { color: inherit; text-decoration: none; }
:where(.jx) button { font: inherit; color: inherit; background: none; border: 0; padding: 0; cursor: pointer; }
:where(.jx) :where(b, strong) { font-weight: 700; }
.jx ::selection { background: rgba(74, 222, 128, .35); color: #fff; }
/* light: an opaque mint with dark text, so selected text stays legible on white cards and on the dark buttons alike */
:root[data-theme="light"] .jx ::selection { background: #9fe3b9; color: #06210f; }

.jx :focus-visible {
	outline: 2px solid var(--green);
	outline-offset: 3px;
	border-radius: 8px;
}

.jx section[id] { scroll-margin-top: calc(var(--nav-h) + 8px); }
/* land with the section eyebrow just under the header (cancel the section's own top padding) */
.jx section.jx-section[id] { scroll-margin-top: calc(var(--nav-h) + 20px - var(--sec-pad)); }

.jx-wrap {
	width: 100%;
	max-width: 1200px;
	margin: 0 auto;
	padding: 0 clamp(20px, 4vw, 40px);
}

/* CJK reads better without negative tracking and with a taller line */
html:lang(ja) .jx, html:lang(zh-Hans) .jx, html:lang(zh-Hant) .jx, html:lang(ko) .jx { line-height: 1.8; }

/* ---------- Scroll reveal (only when JS has added .js to <html>) ---------- */

@media (prefers-reduced-motion: no-preference) {
	.js .reveal {
		opacity: 0;
		transform: translate3d(0, 28px, 0);
		transition: opacity .9s var(--ease), transform .9s var(--ease);
		transition-delay: calc(var(--i, 0) * 90ms);
	}
	.js .reveal.reveal-scale { transform: scale(.94) translate3d(0, 20px, 0); }
	.js .reveal.reveal-left { transform: translate3d(-36px, 0, 0); }
	.js .reveal.reveal-right { transform: translate3d(36px, 0, 0); }
	.js .reveal.in { opacity: 1; transform: none; }
}

/* ---------- Buttons ---------- */

.jx-btn {
	position: relative;
	display: inline-flex;
	align-items: center;
	justify-content: center;
	gap: 10px;
	height: 52px;
	padding: 0 24px;
	border-radius: 999px;
	font-size: 15px;
	font-weight: 600;
	line-height: 1;
	white-space: nowrap;
	overflow: hidden;
	isolation: isolate;
	transition: transform .35s var(--ease), box-shadow .35s var(--ease), background-color .25s, border-color .25s;
}

.jx-btn i { font-size: 20px; line-height: 1; }
.jx-btn:hover { transform: translateY(-2px); }
.jx-btn:active { transform: translateY(0) scale(.98); }

/* light: the store buttons */
.jx-btn-light {
	background: var(--btn-light-bg);
	color: var(--btn-light-fg);
	box-shadow: 0 10px 30px -10px rgba(74, 222, 128, .55), 0 0 0 1px rgba(255, 255, 255, .5) inset;
}
.jx-btn-light:hover { box-shadow: 0 12px 28px -12px rgba(74, 222, 128, .5), 0 0 0 1px rgba(255, 255, 255, .5) inset; }
.jx-btn-light i { transition: transform .35s var(--ease); }
.jx-btn-light:hover i { transform: scale(1.1); }
/* the shine sweep is only for the primary (header download) button */
.jx-btn-primary::after {
	content: "";
	position: absolute;
	inset: 0;
	z-index: -1;
	background: linear-gradient(105deg, transparent 35%, var(--btn-sheen) 50%, transparent 65%);
	transform: translateX(-120%);
	transition: transform .8s var(--ease);
}
.jx-btn-primary:hover::after { transform: translateX(120%); }

/* primary: gradient pill */
.jx-btn-primary {
	background: var(--btn-grad);
	color: var(--btn-ink);
	box-shadow: 0 10px 30px -10px rgba(74, 222, 128, .7);
}

/* ghost: glass */
.jx-btn-ghost {
	background: var(--surface);
	border: 1px solid var(--line-2);
	color: var(--text);
	backdrop-filter: blur(10px);
	-webkit-backdrop-filter: blur(10px);
}
.jx-btn-ghost:hover { background: var(--surface-2); border-color: rgba(var(--mint-rgb), .55); }

.jx-btn-sm { height: 40px; padding: 0 18px; font-size: 14px; }

/* ==========================================================================
   Announcement bar + bell (markup/JS from the announcements system)
   ========================================================================== */

.jx .mu-announce-bar {
	background: var(--bar-bg);
	color: var(--text-2);
	border-bottom: 1px solid var(--line);
	font-size: 13.5px;
}
.jx .mu-announce-bar-close { color: var(--text-2); }
.jx .mu-announce-bar-close:hover,
.jx .mu-announce-bar-close:focus { background: var(--surface-2); color: var(--heading); }
.jx .mu-announce-bar-link { color: var(--mint); }
.jx .mu-announce-bar-link:hover,
.jx .mu-announce-bar-link:focus { color: var(--heading); }

.jx-nav .mu-announce-bell-btn {
	background: var(--surface);
	border: 1px solid var(--line-2);
	color: var(--text-2);
	padding: 8px 15px;
	height: 40px;
	line-height: 1;
	white-space: nowrap;
	display: inline-flex;
	align-items: center;
	backdrop-filter: blur(10px);
	-webkit-backdrop-filter: blur(10px);
}
.jx-nav .mu-announce-bell-btn:hover,
.jx-nav .mu-announce-bell-btn:focus { background: var(--surface-2); color: var(--heading); }
.jx-nav .mu-announce-dot { border-color: var(--bg-2); top: -2px; right: -2px; }
.jx-nav .mu-announce-panel { border-radius: 16px; overflow: hidden; }
.jx-nav .mu-announce-bell { display: flex; align-items: center; }

/* ==========================================================================
   Navigation
   ========================================================================== */

.jx-nav {
	position: sticky;
	top: 0;
	z-index: 100;
	height: var(--nav-h);
	transition: background-color .35s, box-shadow .35s, backdrop-filter .35s;
}

.jx-nav::before {
	content: "";
	position: absolute;
	inset: 0;
	z-index: -1;
	background: rgba(var(--bg-rgb), 0);
	border-bottom: 1px solid transparent;
	transition: background-color .35s, border-color .35s;
}

.jx-nav.is-scrolled::before {
	background: var(--nav-bg);
	border-bottom-color: var(--line);
	backdrop-filter: blur(18px) saturate(150%);
	-webkit-backdrop-filter: blur(18px) saturate(150%);
}

.jx-nav-inner {
	height: 100%;
	display: grid;
	grid-template-columns: 1fr auto 1fr;
	align-items: center;
	gap: 24px;
}

.jx-brand {
	display: inline-flex;
	align-items: center;
	gap: 11px;
	font-size: 21px;
	font-weight: 800;
	letter-spacing: -.02em;
	justify-self: start;
	white-space: nowrap;
}

.jx-brand-mark {
	flex: none;
	width: 34px;
	max-width: none;
	height: 34px;
	display: block;
	border-radius: 22%;
	object-fit: cover;
	box-shadow: 0 0 0 1px rgba(255, 255, 255, .14), 0 6px 20px -6px rgba(251, 191, 36, .45);
	transition: transform .5s var(--ease);
}
.jx-brand:hover .jx-brand-mark { transform: rotate(-8deg) scale(1.06); }

.jx-nav-links {
	display: flex;
	align-items: center;
	gap: 4px;
}

.jx-nav-links a {
	position: relative;
	padding: 8px 10px;
	font-size: 14.5px;
	font-weight: 500;
	line-height: 1.4;
	white-space: nowrap;
	color: var(--muted);
	border-radius: 999px;
	transition: color .25s, background-color .25s;
}
.jx-nav-links a:hover,
.jx-nav-links a.is-active { color: var(--heading); background: var(--surface-2); }

.jx-nav-actions { display: flex; align-items: center; justify-content: flex-end; gap: 10px; }

.jx-progress {
	position: absolute;
	left: 0;
	bottom: -1px;
	height: 2px;
	width: 100%;
	transform-origin: 0 50%;
	transform: scaleX(var(--progress, 0));
	background: var(--grad);
	opacity: 0;
	transition: opacity .3s;
}
.jx-nav.is-scrolled .jx-progress { opacity: 1; }

/* language dropdown */
.jx-lang { position: relative; }

.jx-lang-btn {
	display: inline-flex;
	align-items: center;
	gap: 8px;
	height: 40px;
	padding: 0 14px;
	border-radius: 999px;
	border: 1px solid var(--line-2);
	background: var(--surface);
	font-size: 13.5px;
	font-weight: 500;
	line-height: 1;
	white-space: nowrap;
	color: var(--text-2);
	backdrop-filter: blur(10px);
	-webkit-backdrop-filter: blur(10px);
	transition: background-color .25s, border-color .25s;
}
.jx-lang-btn:hover { background: var(--surface-2); }
.jx-lang-btn .fa-angle-down { transition: transform .3s var(--ease); font-size: 16px; }
.jx-lang.open .fa-angle-down { transform: rotate(180deg); }

.jx-lang-list {
	position: absolute;
	right: 0;
	top: calc(100% + 10px);
	min-width: 200px;
	max-height: 340px;
	overflow-y: auto;
	padding: 6px;
	border-radius: 16px;
	background: var(--pop-bg);
	border: 1px solid var(--line-2);
	box-shadow: var(--pop-shadow);
	backdrop-filter: blur(20px);
	-webkit-backdrop-filter: blur(20px);
	opacity: 0;
	visibility: hidden;
	transform: translateY(-8px) scale(.98);
	transform-origin: top right;
	transition: opacity .25s, transform .35s var(--ease), visibility .25s;
	z-index: 120;
}
.jx-lang.open .jx-lang-list,
html:not(.js) .jx-lang:hover .jx-lang-list,
html:not(.js) .jx-lang:focus-within .jx-lang-list { opacity: 1; visibility: visible; transform: none; }

.jx-lang-list .mu-lang-item a {
	display: block;
	padding: 9px 12px;
	border-radius: 10px;
	font-size: 14px;
	color: var(--muted);
	white-space: nowrap;
	transition: background-color .2s, color .2s;
}
.jx-lang-list .mu-lang-item a:hover { background: var(--surface-2); color: var(--heading); }
.jx-lang-list .mu-lang-active a { color: var(--green-text); font-weight: 700; }
.jx-lang-list .mu-lang-active a::after { content: "\f00c"; font-family: FontAwesome; float: right; font-size: 12px; margin-top: 3px; }

/* theme toggle: shows the sun while dark (click for light) and the moon while light (click for dark) */
.jx-theme-btn {
	position: relative;
	display: grid;
	place-items: center;
	flex: none;
	width: 40px;
	height: 40px;
	border-radius: 50%;
	border: 1px solid var(--line-2);
	background: var(--surface);
	color: var(--text-2);
	backdrop-filter: blur(10px);
	-webkit-backdrop-filter: blur(10px);
	transition: background-color .25s, border-color .25s, color .25s, transform .35s var(--ease);
}
.jx-theme-btn:hover { background: var(--surface-2); color: var(--heading); transform: rotate(-12deg); }
.jx-theme-btn svg {
	grid-area: 1 / 1;
	transition: transform .5s var(--ease), opacity .3s;
}
.jx-theme-btn .jx-ic-moon { opacity: 0; transform: rotate(-90deg) scale(.4); }
:root[data-theme="light"] .jx-theme-btn .jx-ic-sun { opacity: 0; transform: rotate(90deg) scale(.4); }
:root[data-theme="light"] .jx-theme-btn .jx-ic-moon { opacity: 1; transform: none; }

/* mobile menu button */
.jx-menu-btn {
	display: none;
	width: 40px;
	height: 40px;
	border-radius: 50%;
	border: 1px solid var(--line-2);
	background: var(--surface);
	position: relative;
}
.jx-menu-btn span {
	position: absolute;
	left: 12px;
	right: 12px;
	height: 2px;
	border-radius: 2px;
	background: var(--heading);
	transition: transform .4s var(--ease), top .4s var(--ease);
}
.jx-menu-btn span:first-child { top: 16px; }
.jx-menu-btn span:last-child { top: 22px; }
.jx-nav.menu-open .jx-menu-btn span:first-child { top: 19px; transform: rotate(45deg); }
.jx-nav.menu-open .jx-menu-btn span:last-child { top: 19px; transform: rotate(-45deg); }

/* the languages with long menu labels get a wider header, and lose the Download button earlier (checked 9 languages, 1161-1920px) */
.jx:lang(ru) .jx-nav-inner,
.jx:lang(pt) .jx-nav-inner,
.jx:lang(id) .jx-nav-inner,
.jx:lang(vi) .jx-nav-inner { max-width: 1320px; }

@media (max-width: 1280px) {
	.jx:lang(ru) .jx-nav-cta,
	.jx:lang(pt) .jx-nav-cta { display: none; }
}

@media (max-width: 1180px) {
	.jx-nav-cta { display: none; }
}

@media (max-width: 1160px) {
	.jx-menu-btn { display: block; }
	.jx-nav-inner { display: flex; gap: 12px; }
	.jx-brand { margin-right: auto; }
	.jx-nav-actions { justify-content: flex-start; }
	.jx-nav-links {
		position: absolute;
		left: 12px;
		right: 12px;
		top: calc(100% + 6px);
		transform: translateY(-8px);
		flex-direction: column;
		align-items: stretch;
		gap: 2px;
		padding: 10px;
		border-radius: 20px;
		background: var(--menu-bg);
		border: 1px solid var(--line-2);
		box-shadow: var(--pop-shadow);
		backdrop-filter: blur(20px);
		-webkit-backdrop-filter: blur(20px);
		opacity: 0;
		visibility: hidden;
		transition: opacity .3s, transform .4s var(--ease), visibility .3s;
	}
	/* no visibility transition while opening, so the first link can take focus at once */
	.jx-nav.menu-open .jx-nav-links { opacity: 1; visibility: visible; transform: none; transition: opacity .3s, transform .4s var(--ease); }
	.jx-nav-links a { padding: 14px 16px; font-size: 16px; border-radius: 14px; }

	/* without JS the menu button cannot work: show the links as a plain row under the header */
	html:not(.js) .jx-menu-btn { display: none; }
	html:not(.js) .jx-nav { position: relative; height: auto; }
	html:not(.js) .jx-nav-inner { flex-wrap: wrap; min-height: var(--nav-h); }
	html:not(.js) .jx-nav-links {
		position: static;
		order: 1;
		width: 100%;
		flex-direction: row;
		flex-wrap: wrap;
		padding: 0 0 8px;
		background: none;
		border: 0;
		box-shadow: none;
		backdrop-filter: none;
		-webkit-backdrop-filter: none;
		opacity: 1;
		visibility: visible;
		transform: none;
	}
	html:not(.js) .jx-nav-links a { padding: 6px 10px; font-size: 14px; }
	.jx-nav.menu-open::before {
		background: var(--nav-bg-open);
		border-bottom-color: var(--line);
		backdrop-filter: blur(18px);
		-webkit-backdrop-filter: blur(18px);
	}
}

/* very narrow phones: logo only in the header (the link keeps its aria-label) */
@media (max-width: 370px) {
	.jx-nav .jx-brand-name { display: none; }
}

@media (max-width: 600px) {
	.jx-brand { font-size: 19px; gap: 9px; }
	.jx-brand-mark { width: 31px; height: 31px; }
	.jx-nav-actions { gap: 8px; }
	.jx-nav-inner { gap: 8px; }

	/* language button: globe + chevron only; the name stays available to screen readers */
	.jx-lang-btn { padding: 0 12px; gap: 6px; }
	.jx-lang-btn span {
		position: absolute;
		width: 1px;
		height: 1px;
		margin: -1px;
		overflow: hidden;
		clip: rect(0 0 0 0);
		white-space: nowrap;
	}

	/* announcement bell: icon only (its text label stays for screen readers) */
	.jx-nav .mu-announce-bell-btn {
		width: 40px;
		padding: 0;
		justify-content: center;
		font-size: 0;
	}
	.jx-nav .mu-announce-bell-btn::before { content: "\f0f3"; font-family: FontAwesome; font-size: 16px; }
}

/* ==========================================================================
   Hero
   ========================================================================== */

.jx-hero {
	position: relative;
	isolation: isolate;
	overflow: clip;
	margin-top: calc(var(--nav-h) * -1);
	padding: calc(var(--nav-h) + clamp(28px, 4vw, 56px)) 0 clamp(56px, 7vw, 96px);
}

.jx-aurora {
	position: absolute;
	inset: 0;
	z-index: -2;
	pointer-events: none;
	transform: translate3d(0, calc(var(--sy, 0) * 0.12px), 0);
}
.jx-aurora i { position: absolute; border-radius: 50%; will-change: transform; }
.jx-aurora i:nth-child(1) {
	width: min(60vw, 820px);
	aspect-ratio: 1;
	left: -14%;
	top: -18%;
	background: radial-gradient(circle at 50% 50%, rgba(74, 222, 128, .42), transparent 66%);
	animation: jx-drift-a 20s ease-in-out infinite alternate;
}
.jx-aurora i:nth-child(2) {
	width: min(56vw, 760px);
	aspect-ratio: 1;
	right: -16%;
	top: -10%;
	background: radial-gradient(circle at 50% 50%, rgba(99, 102, 241, .42), transparent 66%);
	animation: jx-drift-b 24s ease-in-out infinite alternate;
}
.jx-aurora i:nth-child(3) {
	width: min(40vw, 520px);
	aspect-ratio: 1;
	left: 38%;
	bottom: -22%;
	background: radial-gradient(circle at 50% 50%, rgba(251, 191, 36, .14), transparent 66%);
	animation: jx-drift-a 28s ease-in-out infinite alternate-reverse;
}

.jx-grid-bg {
	position: absolute;
	inset: 0;
	z-index: -1;
	pointer-events: none;
	background-image:
		linear-gradient(rgba(var(--w-rgb), .04) 1px, transparent 1px),
		linear-gradient(90deg, rgba(var(--w-rgb), .04) 1px, transparent 1px);
	background-size: 56px 56px;
	-webkit-mask-image: radial-gradient(ellipse 75% 65% at 50% 28%, #000 25%, transparent 78%);
	mask-image: radial-gradient(ellipse 75% 65% at 50% 28%, #000 25%, transparent 78%);
}

.jx-hero-inner {
	display: grid;
	grid-template-columns: minmax(0, 1.22fr) minmax(0, .78fr);
	align-items: center;
	gap: clamp(32px, 5vw, 72px);
}

.jx-pill {
	display: inline-flex;
	align-items: center;
	gap: 10px;
	padding: 7px 16px 7px 12px;
	border-radius: 999px;
	background: var(--surface);
	border: 1px solid var(--line-2);
	font-size: 13.5px;
	font-weight: 500;
	color: var(--text-2);
	backdrop-filter: blur(10px);
	-webkit-backdrop-filter: blur(10px);
}

.jx-pill-dot {
	position: relative;
	width: 8px;
	height: 8px;
	border-radius: 50%;
	background: var(--green);
	box-shadow: 0 0 12px var(--green);
}
.jx-pill-dot::after {
	content: "";
	position: absolute;
	inset: -4px;
	border-radius: 50%;
	border: 1px solid var(--green);
	animation: jx-ping 2.2s var(--ease) infinite;
}

.jx-h1 {
	/* the gradient text is only painted inside the box: leave room for stacked accents (ể, ế) and descenders, and take it back in margins */
	padding: .18em 0 .1em;
	margin-top: calc(22px - .18em);
	margin-bottom: -.1em;
	font-size: clamp(2.3rem, 1rem + 3.6vw, 3.75rem);
	font-weight: 800;
	line-height: 1.04;
	letter-spacing: -.035em;
	text-wrap: balance;
	background: var(--h1-grad);
	-webkit-background-clip: text;
	background-clip: text;
	-webkit-text-fill-color: transparent;
	color: transparent;
}
html:lang(ja) .jx-h1, html:lang(zh-Hans) .jx-h1, html:lang(zh-Hant) .jx-h1, html:lang(ko) .jx-h1 { letter-spacing: -.01em; line-height: 1.2; }

.jx-lead {
	margin-top: 20px;
	max-width: 66ch;
	font-size: clamp(.98rem, .92rem + .2vw, 1.06rem);
	color: var(--muted);
	text-wrap: pretty;
}

.jx-cta { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 28px; }
/* the three store buttons are all on one line or all stacked and centred, never 2 + 1 */
.jx-hero-copy,
.jx-download { container-type: inline-size; }
@container (max-width: 480px) {
	.jx-cta { flex-direction: column; align-items: center; }
	.jx-cta .jx-btn { flex: none; width: min(100%, 280px); }
}

.jx-langs {
	margin-top: 22px;
	max-width: 60ch;
	font-size: 13.5px;
	line-height: 1.7;
	color: var(--faint);
}
.jx-langs b { color: var(--muted); font-weight: 600; }

.jx-stats {
	display: grid;
	grid-template-columns: repeat(3, auto);
	justify-content: start;
	gap: clamp(20px, 4vw, 48px);
	margin-top: 36px;
	padding-top: 28px;
	border-top: 1px solid var(--line);
}
.jx-stat dt {
	font-size: clamp(1.7rem, 1.2rem + 1.6vw, 2.5rem);
	font-weight: 800;
	letter-spacing: -.03em;
	line-height: 1.1;
	font-variant-numeric: tabular-nums;
	background: var(--grad);
	-webkit-background-clip: text;
	background-clip: text;
	-webkit-text-fill-color: transparent;
	color: transparent;
}
.jx-stat dd { margin-top: 6px; font-size: 13px; color: var(--faint); line-height: 1.4; }

/* hero visual: phone + floating chips */
.jx-hero-visual {
	position: relative;
	display: grid;
	place-items: center end;
	min-height: 420px;
	perspective: 1200px;
}

.jx-phone-glow {
	position: absolute;
	width: 78%;
	aspect-ratio: 1;
	border-radius: 50%;
	background: radial-gradient(circle, rgba(74, 222, 128, .4), rgba(99, 102, 241, .18) 50%, transparent 70%);
	animation: jx-breathe 7s ease-in-out infinite;
}

.jx-phone-tilt {
	position: relative;
	width: min(100%, 318px);
	transform: rotateX(var(--rx, 0deg)) rotateY(var(--ry, 0deg));
	transition: transform .5s var(--ease);
	transform-style: preserve-3d;
}
.jx-phone-tilt.is-tilting { transition: transform .08s linear; }

/* the phone: a real device frame holding a looping screen recording */
.jx-device {
	padding: 8px;
	border-radius: 48px;
	background: var(--bezel);
	box-shadow: var(--shot-shadow), 0 50px 70px -30px var(--phone-shadow);
	animation: jx-float 7s ease-in-out infinite;
}
.jx-device-screen {
	position: relative;
	overflow: hidden;
	border-radius: 40px;
	aspect-ratio: 600 / 1300;
	background: #0b1410;
}
.jx-device-screen img,
.jx-hero-video {
	position: absolute;
	inset: 0;
	display: block;
	width: 100%;
	height: 100%;
	object-fit: cover;
}
.jx-hero-video { opacity: 0; transition: opacity .4s; background: transparent; }
.jx-hero-video.is-playing { opacity: 1; }

@media (max-width: 991px) {
	.jx-hero-inner { grid-template-columns: 1fr; }
	.jx-hero-visual { min-height: 0; margin-top: 8px; place-items: center; }
	.jx-phone-tilt { width: min(72%, 300px); }
}

@media (max-width: 560px) {
	.jx-phone-tilt { width: min(66%, 270px); }
}

@media (max-width: 520px) {
	.jx-stats { grid-template-columns: repeat(3, 1fr); gap: 14px; }
	.jx-stat dd { font-size: 12px; }
	.jx-btn { height: 50px; padding: 0 20px; }
}

/* ==========================================================================
   Marquee (decorative Japanese words)
   ========================================================================== */

.jx-marquee {
	position: relative;
	overflow: hidden;
	padding: 26px 0;
	border-block: 1px solid var(--line);
	background: linear-gradient(180deg, rgba(var(--w-rgb), .02), transparent);
	-webkit-mask-image: linear-gradient(90deg, transparent, #000 12%, #000 88%, transparent);
	mask-image: linear-gradient(90deg, transparent, #000 12%, #000 88%, transparent);
}
.jx-marquee-track {
	display: flex;
	width: max-content;
	animation: jx-marquee 60s linear infinite;
}
.jx-marquee-group { display: flex; align-items: center; flex-shrink: 0; }
.jx-marquee-group span {
	padding: 0 26px;
	font-size: clamp(1.4rem, 1rem + 1.4vw, 2.2rem);
	font-weight: 700;
	letter-spacing: .02em;
	white-space: nowrap;
	color: var(--marq-1);
}
.jx-marquee-group span:nth-child(3n) { color: var(--marq-2); }
.jx-marquee-group span:nth-child(5n) { background: var(--grad); -webkit-background-clip: text; background-clip: text; color: transparent; }
.jx-marquee-group i { font-style: normal; color: var(--amber); opacity: .8; font-size: 18px; }

/* ==========================================================================
   Sections: shared
   ========================================================================== */

.jx-section { position: relative; padding: var(--sec-pad) 0; }

.jx-section-head { max-width: 900px; margin: 0 auto clamp(40px, 6vw, 72px); text-align: center; }

.jx-eyebrow {
	display: inline-flex;
	align-items: center;
	gap: 10px;
	font-size: 12.5px;
	font-weight: 700;
	letter-spacing: .16em;
	text-transform: uppercase;
	color: var(--green-text);
}
.jx-eyebrow::before,
.jx-eyebrow::after {
	content: "";
	width: 28px;
	height: 1px;
	background: linear-gradient(90deg, transparent, var(--green));
}
.jx-eyebrow::after { transform: scaleX(-1); }

.jx-h2 {
	margin-top: 16px;
	font-size: clamp(2rem, 1.2rem + 3vw, 3.4rem);
	font-weight: 800;
	line-height: 1.1;
	letter-spacing: -.03em;
	text-wrap: balance;
	color: var(--heading);
}
html:lang(ja) .jx-h2, html:lang(zh-Hans) .jx-h2, html:lang(zh-Hant) .jx-h2, html:lang(ko) .jx-h2 { letter-spacing: -.01em; line-height: 1.3; }

.jx-sub { max-width: 740px; margin: 18px auto 0; font-size: clamp(1rem, .95rem + .25vw, 1.15rem); color: var(--muted); text-wrap: pretty; }

.jx-h3 {
	margin: clamp(56px, 8vw, 96px) 0 28px;
	text-align: center;
	font-size: clamp(1.5rem, 1.1rem + 1.4vw, 2.1rem);
	font-weight: 800;
	letter-spacing: -.02em;
	color: var(--heading);
}

/* cards with a cursor-following spotlight */
.jx-card {
	position: relative;
	padding: 26px;
	border-radius: var(--radius);
	background: var(--card-bg);
	border: 1px solid var(--line);
	box-shadow: var(--card-shadow);
	overflow: hidden;
	isolation: isolate;
	transition: transform .5s var(--ease), border-color .3s, box-shadow .5s var(--ease);
}
.jx-card::before {
	content: "";
	position: absolute;
	inset: 0;
	z-index: -1;
	background: radial-gradient(420px circle at var(--mx, 50%) var(--my, 0%), rgba(var(--green-rgb), .16), transparent 62%);
	opacity: 0;
	transition: opacity .4s;
}
.jx-card:hover { transform: translateY(-4px); border-color: rgba(var(--mint-rgb), .32); box-shadow: var(--card-hover-shadow); }
.jx-card:hover::before { opacity: 1; }

.jx-icon {
	display: inline-grid;
	place-items: center;
	width: 48px;
	height: 48px;
	border-radius: 15px;
	background: linear-gradient(135deg, rgba(var(--green-rgb), .24), rgba(var(--indigo-rgb), .2));
	border: 1px solid rgba(var(--mint-rgb), .25);
	color: var(--mint);
	font-size: 20px;
	line-height: 1;
	transition: transform .5s var(--ease);
}
.jx-card:hover .jx-icon { transform: scale(1.08) rotate(-4deg); }
.jx-icon-kanji { font-size: 23px; font-weight: 800; user-select: none; -webkit-user-select: none; }

/* ==========================================================================
   Features
   ========================================================================== */

#features { background: radial-gradient(ellipse 80% 40% at 50% 0%, rgba(74, 222, 128, .07), transparent 70%); }

.jx-why { display: grid; grid-template-columns: repeat(4, 1fr); gap: 16px; }
.jx-why .jx-card { padding: 28px 24px; }
.jx-why .jx-card p { margin-top: 18px; font-size: 15.5px; line-height: 1.6; color: var(--text-3); }
.jx-why-n { position: absolute; right: 18px; top: 10px; font-size: 56px; font-weight: 800; line-height: 1; color: rgba(var(--w-rgb), .045); letter-spacing: -.04em; }

.jx-guide-wrap { display: flex; justify-content: center; margin-top: 28px; }
.jx-guide {
	display: inline-flex;
	align-items: center;
	gap: 10px;
	padding: 11px 22px;
	border-radius: 999px;
	border: 1px solid rgba(var(--mint-rgb), .4);
	background: rgba(var(--green-rgb), .08);
	color: var(--mint);
	font-weight: 600;
	font-size: 15px;
	transition: background-color .3s, color .3s, transform .35s var(--ease);
}
.jx-guide::after { content: "\f178"; font-family: FontAwesome; transition: transform .35s var(--ease); }
.jx-guide:hover { background: var(--green); color: var(--btn-ink); transform: translateY(-2px); }
.jx-guide:hover::after { transform: translateX(4px); }

/* bento */
.jx-bento { display: grid; grid-template-columns: repeat(12, 1fr); gap: 16px; }
.jx-bento .jx-card { grid-column: span 4; display: flex; flex-direction: column; }
.jx-bento h4 { margin: 20px 0 6px; font-size: 18px; font-weight: 700; letter-spacing: -.01em; color: var(--heading); }
.jx-bento .jx-card p { font-size: 14.5px; line-height: 1.65; color: var(--muted); }

.jx-card-ai { grid-column: span 8 !important; grid-row: span 2; background: linear-gradient(160deg, rgba(var(--green-rgb), .11), rgba(var(--indigo-rgb), .08) 60%, rgba(var(--w-rgb), .02)); border-color: rgba(var(--mint-rgb), .28); }
.jx-card-ai::after {
	content: "";
	position: absolute;
	inset: 0;
	z-index: -1;
	border-radius: inherit;
	padding: 1px;
	background: conic-gradient(from var(--a, 0deg), transparent 0 60%, rgba(134, 239, 172, .9) 78%, rgba(124, 140, 255, .9) 90%, transparent 100%);
	-webkit-mask: linear-gradient(#000 0 0) content-box, linear-gradient(#000 0 0);
	-webkit-mask-composite: xor;
	mask: linear-gradient(#000 0 0) content-box exclude, linear-gradient(#000 0 0);
	mask-composite: exclude;
	animation: jx-spin 6s linear infinite;
}
.jx-card-ai h4 { font-size: 24px; margin-top: 22px; }

.jx-ai-list { display: grid; grid-template-columns: repeat(2, 1fr); gap: 12px; margin-top: 22px; }
.jx-ai-list li {
	position: relative;
	padding: 16px 16px 16px 48px;
	border-radius: 16px;
	background: rgba(var(--bg-rgb), .45);
	border: 1px solid var(--line);
	font-size: 14px;
	line-height: 1.55;
	color: var(--muted);
	transition: border-color .3s, background-color .3s, transform .4s var(--ease);
}
.jx-ai-list li:hover { border-color: rgba(var(--mint-rgb), .35); background: rgba(var(--bg-rgb), .65); transform: translateX(3px); }
.jx-ai-list li::before {
	content: "\f00c";
	font-family: FontAwesome;
	position: absolute;
	left: 16px;
	top: 16px;
	width: 22px;
	height: 22px;
	display: grid;
	place-items: center;
	border-radius: 50%;
	background: rgba(var(--green-rgb), .2);
	color: var(--green-text);
	font-size: 10px;
}
.jx-ai-list b { display: block; margin-bottom: 2px; font-size: 15px; color: var(--heading); }

.jx-card-new { grid-column: span 12 !important; flex-direction: row !important; align-items: center; gap: 24px; background: linear-gradient(100deg, rgba(var(--amber-rgb), .1), rgba(var(--green-rgb), .08) 60%, rgba(var(--w-rgb), .02)); border-color: rgba(var(--amber-rgb), .3); }
.jx-card-new h4 { margin-top: 0; }
.jx-card-new .jx-icon { flex: none; background: linear-gradient(135deg, rgba(var(--amber-rgb), .28), rgba(var(--green-rgb), .2)); border-color: rgba(var(--amber-rgb), .4); color: var(--amber); }
.jx-card-new-body { flex: 1; min-width: 0; }
.jx-card-new a { color: var(--amber); font-weight: 700; white-space: nowrap; }
.jx-card-new a::after { content: " \2192"; display: inline-block; transition: transform .3s var(--ease); }
.jx-card-new a:hover::after { transform: translateX(4px); }
.jx-badge {
	flex: none;
	padding: 4px 11px;
	border-radius: 999px;
	background: var(--badge-bg);
	color: #1f1400;
	font-size: 11.5px;
	font-weight: 800;
	letter-spacing: .06em;
	text-transform: uppercase;
	box-shadow: 0 0 24px rgba(var(--amber-rgb), .5);
}

/* light theme: calmer tone for the featured card */
:root[data-theme="light"] .jx-card-ai { background: linear-gradient(160deg, rgba(34, 197, 94, .14), rgba(255, 255, 255, .92) 62%); }
:root[data-theme="light"] .jx-card-new { background: linear-gradient(100deg, rgba(251, 191, 36, .2), rgba(255, 255, 255, .92) 60%); }

/* showcase: three app screens fanned out on a glowing stage (replaces the old stock photo) */
.jx-showcase {
	position: relative;
	margin-top: clamp(48px, 7vw, 88px);
	border-radius: 28px;
	overflow: hidden;
	isolation: isolate;
	border: 1px solid var(--line-2);
	background:
		radial-gradient(70% 90% at 50% 105%, rgba(var(--green-rgb), .26), transparent 70%),
		radial-gradient(46% 70% at 10% -10%, rgba(var(--indigo-rgb), .20), transparent 70%),
		radial-gradient(40% 60% at 95% 0%, rgba(var(--green-rgb), .12), transparent 70%),
		var(--bg-2);
	box-shadow: var(--showcase-shadow);
}
.jx-showcase::before {
	content: "";
	position: absolute;
	inset: 0;
	z-index: -1;
	background-image: linear-gradient(var(--line) 1px, transparent 1px), linear-gradient(90deg, var(--line) 1px, transparent 1px);
	background-size: 52px 52px;
	-webkit-mask-image: radial-gradient(ellipse 70% 80% at 50% 100%, #000 15%, transparent 75%);
	mask-image: radial-gradient(ellipse 70% 80% at 50% 100%, #000 15%, transparent 75%);
	opacity: .7;
}
.jx-stage {
	--t: .5;
	position: relative;
	display: flex;
	align-items: flex-start;
	justify-content: center;
	height: clamp(300px, 46vw, 560px);
	padding-top: clamp(24px, 3.4vw, 48px);
	overflow: hidden;
}
.jx-stage-phone {
	flex: none;
	width: clamp(150px, 21vw, 270px);
	padding: 7px;
	border-radius: clamp(26px, 3vw, 40px);
	background: var(--bezel);
	box-shadow: var(--shot-shadow);
	transform-origin: 50% 100%;
	transition: transform .2s linear;
}
.jx-stage-phone img {
	width: 100%;
	height: auto;
	aspect-ratio: 1290 / 2796;
	border-radius: clamp(20px, 2.5vw, 33px);
	background: #0b1410;
}
.jx-stage-phone.is-main {
	position: relative;
	z-index: 3;
	width: clamp(168px, 25vw, 312px);
	transform: translateY(calc((.5 - var(--t)) * 36px));
}
.jx-stage-phone.is-left,
.jx-stage-phone.is-right { z-index: 2; margin-top: clamp(28px, 5vw, 64px); }
.jx-stage-phone.is-left { margin-right: calc(-1 * clamp(24px, 4vw, 64px)); transform: translateY(calc((.5 - var(--t)) * 60px)) rotate(-6deg); }
.jx-stage-phone.is-right { margin-left: calc(-1 * clamp(24px, 4vw, 64px)); transform: translateY(calc((.5 - var(--t)) * 60px)) rotate(6deg); }
.jx-showcase::after {
	content: "";
	position: absolute;
	inset: auto 0 0;
	height: 22%;
	background: linear-gradient(180deg, transparent, var(--showcase-fade));
	pointer-events: none;
}

@media (max-width: 991px) {
	.jx-why { grid-template-columns: repeat(2, 1fr); }
	.jx-bento { grid-template-columns: repeat(6, 1fr); }
	.jx-bento .jx-card { grid-column: span 3; }
	.jx-card-ai { grid-column: span 6 !important; grid-row: auto; }
	.jx-card-new { grid-column: span 6 !important; }
}

@media (max-width: 640px) {
	.jx-why { grid-template-columns: 1fr; }
	.jx-bento { grid-template-columns: 1fr; }
	.jx-bento .jx-card,
	.jx-card-ai,
	.jx-card-new { grid-column: span 1 !important; }
	.jx-ai-list { grid-template-columns: 1fr; }
	.jx-card-new { flex-direction: column !important; align-items: flex-start !important; }
	.jx-showcase { border-radius: 20px; }
	.jx-stage { height: 74vw; }
	.jx-stage-phone { width: 30vw; padding: 4px; border-radius: 22px; }
	.jx-stage-phone img { border-radius: 18px; }
	.jx-stage-phone.is-main { width: 41vw; }
	.jx-stage-phone.is-left { margin-right: -9vw; }
	.jx-stage-phone.is-right { margin-left: -9vw; }
}

/* ==========================================================================
   AI tools
   ========================================================================== */

#ai-tools { background: radial-gradient(ellipse 70% 40% at 50% 100%, rgba(124, 140, 255, .09), transparent 70%); }

.jx-ai-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 22px; }
.jx-ai-card { padding: 0; display: flex; flex-direction: column; overflow: hidden; }

/* the clips share the look of the "Look up from any app" video: 4:3, dark, aurora, phone in the middle */
.jx-ai-media {
	position: relative;
	aspect-ratio: 4 / 3;
	background: #03050b;
	border-bottom: 1px solid var(--line);
}
.jx-ai-media video {
	position: absolute;
	inset: 0;
	display: block;
	width: 100%;
	height: 100%;
	object-fit: cover;
	background: #03050b;
}

.jx-ai-body { padding: 22px 26px 28px; }
.jx-ai-body h3 { font-size: 20px; font-weight: 700; letter-spacing: -.01em; color: var(--heading); }
.jx-ai-body p { margin-top: 8px; font-size: 15px; line-height: 1.65; color: var(--muted); }

/* Pronunciation Assessment: the one that sets JAccent apart, so it gets the whole row */
.jx-ai-feature { grid-column: 1 / -1; flex-direction: row; align-items: stretch; }
.jx-ai-feature .jx-ai-media { flex: 0 0 58%; border-bottom: 0; border-right: 1px solid var(--line); }
.jx-ai-feature .jx-ai-body { display: flex; flex-direction: column; justify-content: center; padding: 40px 46px; }
.jx-ai-feature .jx-ai-body h3 { font-size: clamp(26px, 2.6vw, 34px); line-height: 1.15; }
.jx-ai-feature .jx-ai-body p { margin-top: 14px; font-size: 17px; max-width: 46ch; }

@media (max-width: 860px) {
	.jx-ai-feature { flex-direction: column; }
	.jx-ai-feature .jx-ai-media { flex-basis: auto; border-right: 0; border-bottom: 1px solid var(--line); }
	.jx-ai-feature .jx-ai-body { padding: 24px 26px 28px; }
	.jx-ai-feature .jx-ai-body h3 { font-size: 24px; }
	.jx-ai-feature .jx-ai-body p { font-size: 15px; }
}
@media (max-width: 640px) {
	.jx-ai-grid { grid-template-columns: 1fr; }
}

/* ==========================================================================
   Share to JAccent (video)
   ========================================================================== */

#anywhere {
	position: relative;
	overflow: hidden;
	background: var(--anywhere-bg);
	border-block: 1px solid var(--line);
}
#anywhere::before,
#anywhere::after { content: ""; position: absolute; pointer-events: none; }
#anywhere::before { top: -25%; right: -12%; width: 70%; height: 120%; background: radial-gradient(closest-side, rgba(74, 222, 128, .2), transparent 70%); }
#anywhere::after { left: -15%; bottom: -40%; width: 60%; height: 100%; background: radial-gradient(closest-side, rgba(99, 102, 241, .22), transparent 70%); }
#anywhere .jx-wrap { position: relative; z-index: 1; }

.jx-share { display: grid; grid-template-columns: minmax(0, 1.3fr) minmax(0, 1fr); align-items: center; gap: clamp(32px, 5vw, 72px); }

.jx-video {
	position: relative;
	border-radius: 24px;
	overflow: hidden;
	background: #05070d;
	box-shadow: var(--video-shadow), 0 0 0 1px rgba(255, 255, 255, .1), 0 0 100px -30px rgba(74, 222, 128, .4);
}
.jx-video video { width: 100%; height: auto; background: #05070d; }

.jx-platforms { display: flex; gap: 10px; margin-bottom: 26px; }
.jx-chip-pf {
	display: inline-flex;
	align-items: center;
	gap: 8px;
	height: 34px;
	padding: 0 15px;
	border-radius: 999px;
	border: 1px solid var(--line-2);
	background: var(--surface);
	font-size: 13px;
	font-weight: 600;
	letter-spacing: .03em;
}
.jx-chip-pf i { font-size: 16px; }
.jx-chip-pf .fa-android { color: var(--android); }

.jx-steps { position: relative; display: grid; gap: 14px; counter-reset: step; }
.jx-steps::before {
	content: "";
	position: absolute;
	left: 35px;
	top: 36px;
	bottom: 36px;
	width: 1px;
	background: linear-gradient(180deg, rgba(var(--green-rgb), .5), rgba(124, 140, 255, .4));
	opacity: .5;
}

.jx-step {
	position: relative;
	display: flex;
	gap: 18px;
	padding: 18px 20px 18px 18px;
	border-radius: 18px;
	background: var(--step-bg);
	border: 1px solid var(--line);
	transition: transform .5s var(--ease), border-color .3s, background-color .3s;
}
.jx-step:hover { transform: translateX(6px); border-color: rgba(var(--mint-rgb), .3); background: var(--step-bg-hover); }

.jx-step-icon {
	position: relative;
	z-index: 1;
	flex: none;
	display: grid;
	place-items: center;
	width: 36px;
	height: 36px;
	border-radius: 50%;
	background: var(--btn-grad);
	color: var(--btn-ink);
	font-size: 15px;
	box-shadow: 0 0 0 6px var(--anywhere-bg), 0 6px 20px -4px rgba(74, 222, 128, .6);
}
.jx-step h3 { font-size: 16.5px; font-weight: 700; line-height: 1.45; color: var(--heading); }
.jx-step p { margin-top: 4px; font-size: 14.5px; line-height: 1.6; color: var(--muted); }

@media (max-width: 991px) {
	.jx-share { grid-template-columns: 1fr; }
}

/* ==========================================================================
   Screenshots carousel
   ========================================================================== */

#screenshots { overflow: hidden; background: radial-gradient(ellipse 60% 50% at 50% 55%, rgba(74, 222, 128, .09), transparent 70%); }

.jx-gallery { position: relative; }

.jx-gallery-track {
	display: flex;
	gap: clamp(16px, 2.4vw, 32px);
	/* side padding lets the first and last phone reach the centre of the track */
	padding: 28px max(24px, calc(50% - clamp(210px, 22vw, 290px) / 2)) 36px;
	overflow-x: auto;
	scroll-snap-type: x mandatory;
	scroll-padding-inline: 24px;
	scrollbar-width: none;
	-webkit-overflow-scrolling: touch;
	cursor: grab;
	overscroll-behavior-x: contain;
}
.jx-gallery-track::-webkit-scrollbar { display: none; }
.jx-gallery-track.is-dragging { cursor: grabbing; scroll-snap-type: none; scroll-behavior: auto; }
.jx-gallery-track.is-auto { scroll-snap-type: none; scroll-behavior: auto; }
.jx-gallery-track:focus-visible { outline-offset: -4px; }

.jx-shot {
	--p: 1;
	flex: 0 0 clamp(210px, 22vw, 290px);
	scroll-snap-align: center;
	padding: 7px;
	border-radius: 38px;
	background: var(--bezel);
	box-shadow: var(--shot-shadow);
	transform: scale(calc(.9 + .1 * var(--p)));
	opacity: calc(.5 + .5 * var(--p));
	transition: transform .15s linear, opacity .15s linear;
	user-select: none;
	-webkit-user-select: none;
}
.jx-shot img {
	width: 100%;
	height: auto;
	aspect-ratio: 1290 / 2796;
	border-radius: 32px;
	background: #0b1410;
	pointer-events: none;
	-webkit-user-drag: none;
}

.jx-gallery-ctrl { display: flex; justify-content: center; gap: 12px; }
.jx-gallery-btn {
	display: grid;
	place-items: center;
	width: 52px;
	height: 52px;
	border-radius: 50%;
	border: 1px solid var(--line-2);
	background: var(--surface);
	font-size: 17px;
	transition: background-color .25s, border-color .25s, transform .35s var(--ease), opacity .25s;
}
.jx-gallery-btn:hover:not(:disabled) { background: var(--green); border-color: var(--green); color: var(--btn-ink); transform: scale(1.08); }
.jx-gallery-btn:disabled { opacity: .3; cursor: default; }

/* ==========================================================================
   Download
   ========================================================================== */

#download { padding-top: 0; }

.jx-download {
	position: relative;
	isolation: isolate;
	overflow: hidden;
	padding: clamp(56px, 9vw, 112px) clamp(24px, 5vw, 64px);
	border-radius: clamp(26px, 4vw, 44px);
	text-align: center;
	border: 1px solid var(--line-2);
	background:
		radial-gradient(ellipse 60% 80% at 15% 0%, rgba(74, 222, 128, .3), transparent 65%),
		radial-gradient(ellipse 60% 80% at 90% 100%, rgba(99, 102, 241, .34), transparent 65%),
		var(--dl-base);
}
.jx-download::before {
	content: "あ";
	position: absolute;
	z-index: -1;
	right: -2%;
	bottom: -22%;
	font-size: clamp(260px, 40vw, 520px);
	font-weight: 800;
	line-height: 1;
	color: transparent;
	-webkit-text-stroke: 1px rgba(var(--w-rgb), .1);
	pointer-events: none;
	transform: rotate(-8deg);
}
.jx-download::after {
	content: "";
	position: absolute;
	inset: 0;
	z-index: -1;
	background-image: radial-gradient(rgba(var(--w-rgb), .08) 1px, transparent 1px);
	background-size: 24px 24px;
	-webkit-mask-image: radial-gradient(ellipse 70% 70% at 50% 50%, #000 10%, transparent 75%);
	mask-image: radial-gradient(ellipse 70% 70% at 50% 50%, #000 10%, transparent 75%);
}
.jx-download .jx-h2 { max-width: 20ch; margin-inline: auto; font-size: clamp(1.9rem, 1.1rem + 2.8vw, 3.2rem); }
html:lang(ja) .jx-download .jx-h2, html:lang(zh-Hans) .jx-download .jx-h2, html:lang(zh-Hant) .jx-download .jx-h2, html:lang(ko) .jx-download .jx-h2 { max-width: 24ch; }
.jx-download .jx-cta { justify-content: center; margin-top: 36px; }

/* ==========================================================================
   Footer
   ========================================================================== */

.jx-footer { border-top: 1px solid var(--line); padding: 36px 0 44px; }
.jx-footer-inner { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 16px 32px; }
.jx-footer .jx-brand { font-size: 18px; margin-right: 0; }
.jx-footer .jx-brand-mark { width: 28px; height: 28px; }
.jx-footer p { font-size: 13.5px; color: var(--faint); }
.jx-footer p a { color: var(--muted); transition: color .2s; }
.jx-footer p a:hover { color: var(--green); }

/* ==========================================================================
   Language suggestion banner (shown by lang-suggest.js)
   ========================================================================== */

.jx .mu-lang-banner {
	position: fixed;
	left: 50%;
	bottom: 22px;
	transform: translateX(-50%);
	z-index: 150;
	display: none;
	align-items: center;
	gap: 14px;
	/* left:50% would cap a shrink-to-fit box at half the viewport, so size it from its content instead */
	width: max-content;
	max-width: calc(100vw - 24px);
	padding: 9px 10px 9px 20px;
	border-radius: 999px;
	background: var(--pop-bg);
	border: 1px solid var(--line-2);
	color: var(--text);
	font-size: 14px;
	text-align: left;
	box-shadow: var(--pop-shadow);
	backdrop-filter: blur(18px);
	-webkit-backdrop-filter: blur(18px);
}
.jx .mu-lang-banner-text { white-space: nowrap; }
.jx .mu-lang-banner-visible { display: flex; animation: jx-toast .7s var(--ease) both; }
.jx .mu-lang-banner-switch {
	padding: 8px 16px;
	border-radius: 999px;
	background: var(--btn-grad);
	color: var(--btn-ink);
	font-weight: 700;
	text-decoration: none;
	white-space: nowrap;
}
.jx .mu-lang-banner-close {
	width: 32px;
	height: 32px;
	border-radius: 50%;
	font-size: 20px;
	line-height: 1;
	color: var(--muted);
}
.jx .mu-lang-banner-close:hover { background: var(--surface-2); color: var(--heading); }

@media (max-width: 520px) {
	.jx .mu-lang-banner { bottom: 12px; padding-left: 16px; font-size: 13px; gap: 10px; }
}

/* ==========================================================================
   Keyframes
   ========================================================================== */

@property --a { syntax: "<angle>"; inherits: false; initial-value: 0deg; }

@keyframes jx-spin { to { --a: 360deg; } }
@keyframes jx-drift-a { to { transform: translate3d(8%, 10%, 0) scale(1.12); } }
@keyframes jx-drift-b { to { transform: translate3d(-10%, 8%, 0) scale(.92); } }
@keyframes jx-breathe { 0%, 100% { transform: scale(1); opacity: .85; } 50% { transform: scale(1.12); opacity: 1; } }
@keyframes jx-float { 0%, 100% { transform: translate3d(0, 0, 0); } 50% { transform: translate3d(0, -14px, 0); } }
@keyframes jx-ping { 0% { transform: scale(.6); opacity: .9; } 80%, 100% { transform: scale(2.2); opacity: 0; } }
@keyframes jx-fade { to { opacity: 1; } }
@keyframes jx-marquee { to { transform: translate3d(-50%, 0, 0); } }
@keyframes jx-toast { from { opacity: 0; transform: translate(-50%, 24px); } to { opacity: 1; transform: translate(-50%, 0); } }

/* ==========================================================================
   Reduced motion: no animation, no transitions on transforms, everything visible
   ========================================================================== */

@media (prefers-reduced-motion: reduce) {
	html { scroll-behavior: auto; }
	.jx *,
	.jx *::before,
	.jx *::after {
		animation-duration: .001ms !important;
		animation-iteration-count: 1 !important;
		animation-delay: 0s !important;
		transition-duration: .001ms !important;
		transition-delay: 0s !important;
	}
	.jx-marquee-track { animation: none !important; }
	.jx .mu-lang-banner-visible { animation: none; transform: translateX(-50%); }
}

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

.jx-faq-wrap { max-width: 860px; }
.jx-faq { display: grid; gap: 12px; }
.jx-faq-item {
	border-radius: 18px;
	background: var(--card-bg);
	border: 1px solid var(--line);
	box-shadow: var(--card-shadow);
	transition: border-color .3s, background-color .3s;
}
.jx-faq-item[open] { border-color: rgba(var(--mint-rgb), .35); }
.jx-faq-item summary {
	position: relative;
	display: block;
	padding: 20px 60px 20px 24px;
	font-size: 17px;
	font-weight: 600;
	line-height: 1.45;
	color: var(--heading);
	cursor: pointer;
	list-style: none;
}
.jx-faq-item summary::-webkit-details-marker { display: none; }
.jx-faq-item summary::after {
	content: "";
	position: absolute;
	right: 24px;
	top: 50%;
	width: 10px;
	height: 10px;
	margin-top: -7px;
	border-right: 2px solid var(--green);
	border-bottom: 2px solid var(--green);
	transform: rotate(45deg);
	transition: transform .3s var(--ease);
}
.jx-faq-item[open] summary::after { transform: rotate(225deg); margin-top: -2px; }
.jx-faq-item summary:hover { color: var(--mint); }
.jx-faq-item summary:focus-visible { outline: 2px solid var(--green); outline-offset: -2px; border-radius: 18px; }
.jx-faq-item p { padding: 0 24px 22px; font-size: 15.5px; line-height: 1.7; color: var(--muted); }


/* app screenshots follow the page theme: each figure holds a light and a dark capture, only one is shown
   (a hidden lazy image is never downloaded, so visitors only fetch the set they see) */
.jx-img-dark { display: none; }
:root:not([data-theme="light"]) .jx-img-light { display: none; }
:root:not([data-theme="light"]) .jx-img-dark { display: block; }
