/* LafON — marketing & legal site. Calm, high-contrast, no motion beyond subtle hovers. */
:root {
	--bg: #0b0c10;
	--bg-2: #101217;
	--surface: #14161c;
	--surface-2: #1a1d24;
	--line: rgb(255 255 255 / 0.07);
	--line-2: rgb(255 255 255 / 0.12);
	--text: #eceef2;
	--muted: #9aa1ae;
	--soft: #6f7684;
	--accent: #f5a524;
	--accent-2: #ff7a1a;
	--brand: #5b5ff0;
	--ok: #3ddc84;
	--radius: 16px;
	--max: 1180px;
	--font: 'Inter', system-ui, -apple-system, 'Segoe UI', Roboto, sans-serif;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body {
	margin: 0;
	background: var(--bg);
	color: var(--text);
	font: 16px/1.6 var(--font);
	-webkit-font-smoothing: antialiased;
}
img { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }
p { margin: 0; }
h1, h2, h3, h4 { margin: 0; line-height: 1.15; letter-spacing: -0.02em; }

.container { width: min(var(--max), 100% - 40px); margin-inline: auto; }

/* ---------- Header ---------- */
.site-header {
	position: sticky; top: 0; z-index: 50;
	background: rgb(11 12 16 / 0.82);
	backdrop-filter: saturate(1.2) blur(14px);
	border-bottom: 1px solid var(--line);
}
.nav { display: flex; align-items: center; gap: 28px; height: 68px; }
.brand { display: flex; align-items: center; gap: 10px; font-weight: 800; font-size: 19px; letter-spacing: -0.01em; }
.brand img { width: 30px; height: 30px; border-radius: 50%; }
.brand b { color: var(--accent); font-weight: 800; }
.nav-links { display: flex; gap: 26px; margin-left: 16px; color: var(--muted); font-size: 15px; font-weight: 500; }
.nav-links a:hover { color: var(--text); }
.nav-cta { margin-left: auto; display: flex; gap: 10px; }
.menu-toggle { display: none; margin-left: auto; background: none; border: 0; color: var(--text); padding: 8px; cursor: pointer; }

/* ---------- Buttons ---------- */
.btn {
	display: inline-flex; align-items: center; justify-content: center; gap: 8px;
	height: 44px; padding: 0 20px; border-radius: 10px;
	font-weight: 600; font-size: 15px; border: 1px solid transparent; cursor: pointer;
	transition: background .15s ease, border-color .15s ease, transform .15s ease;
}
.btn-primary { background: var(--accent); color: #17110a; }
.btn-primary:hover { background: #ffb43d; }
.btn-ghost { border-color: var(--line-2); color: var(--text); background: rgb(255 255 255 / 0.02); }
.btn-ghost:hover { border-color: rgb(255 255 255 / 0.22); background: rgb(255 255 255 / 0.05); }
.btn-sm { height: 38px; padding: 0 15px; font-size: 14px; }
.btn svg { width: 18px; height: 18px; }

/* ---------- Hero ---------- */
.hero { position: relative; padding: 88px 0 72px; overflow: hidden; }
.hero::before {
	content: ''; position: absolute; inset: -20% -10% auto; height: 640px; z-index: -1;
	background:
		radial-gradient(520px 300px at 22% 18%, rgb(245 165 36 / 0.13), transparent 70%),
		radial-gradient(520px 320px at 80% 0%, rgb(91 95 240 / 0.12), transparent 70%);
}
.hero-grid { display: grid; grid-template-columns: 1.05fr 1fr; gap: 56px; align-items: center; }
.eyebrow {
	display: inline-flex; align-items: center; gap: 8px;
	padding: 6px 12px; border: 1px solid var(--line-2); border-radius: 999px;
	color: var(--muted); font-size: 13px; font-weight: 600;
}
.eyebrow .dot { width: 7px; height: 7px; border-radius: 50%; background: var(--ok); }
.hero h1 { margin-top: 22px; font-size: clamp(40px, 5.6vw, 64px); font-weight: 800; letter-spacing: -0.035em; }
.hero h1 em { font-style: normal; color: var(--accent); }
.hero .lead { margin-top: 20px; max-width: 520px; color: var(--muted); font-size: 18px; }
.hero-actions { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 32px; }
.hero-note { margin-top: 18px; color: var(--soft); font-size: 13px; }

/* ---------- App mock (faithful to the LafON client) ---------- */
.app {
	display: grid; grid-template-columns: 64px 196px 1fr;
	height: 440px; border-radius: 14px; overflow: hidden;
	background: #1a1b21; border: 1px solid var(--line-2);
	box-shadow: 0 40px 80px -40px rgb(0 0 0 / 0.9), 0 0 0 1px rgb(0 0 0 / 0.3);
	font-size: 13px;
}
.app-rail { background: #0f1014; display: flex; flex-direction: column; align-items: center; gap: 10px; padding: 12px 0; }
.rail-item { width: 42px; height: 42px; border-radius: 14px; background: #24262e; display: grid; place-items: center; font-weight: 700; color: #cfd2da; font-size: 14px; }
.rail-item.active { border-radius: 12px; box-shadow: 0 0 0 2px var(--accent); }
.rail-item img { width: 100%; height: 100%; border-radius: inherit; }
.rail-sep { width: 26px; height: 2px; background: #2a2c34; border-radius: 2px; }
.app-side { background: #15161b; display: flex; flex-direction: column; border-right: 1px solid #0d0e11; }
.side-head { padding: 14px; font-weight: 700; border-bottom: 1px solid #0d0e11; display: flex; align-items: center; gap: 8px; }
.tag { font-size: 10px; font-weight: 800; padding: 1px 6px; border-radius: 5px; background: #24262e; border: 1px solid #30333c; letter-spacing: .02em; }
.side-group { padding: 12px 10px 4px; color: var(--soft); font-size: 11px; font-weight: 700; text-transform: uppercase; letter-spacing: .04em; }
.chan { padding: 6px 10px; margin: 1px 8px; border-radius: 6px; color: #969bab; display: flex; align-items: center; gap: 8px; }
.chan.active { background: #26282f; color: #f0f1f5; }
.chan .h { color: #6f7482; font-weight: 600; }
.voice-user { display: flex; align-items: center; gap: 8px; padding: 4px 10px 4px 30px; color: #c8cbd4; }
.av { width: 22px; height: 22px; border-radius: 50%; flex: none; background: #3b3f4b; display: grid; place-items: center; font-size: 10px; font-weight: 700; color: #fff; }
.av.speaking { box-shadow: 0 0 0 2px var(--ok); }
.side-user { margin-top: auto; padding: 10px; background: #111216; display: flex; align-items: center; gap: 8px; }
.app-main { display: flex; flex-direction: column; min-width: 0; }
.main-head { height: 46px; padding: 0 16px; border-bottom: 1px solid #0d0e11; display: flex; align-items: center; gap: 8px; font-weight: 700; }
.msgs { flex: 1; padding: 14px 18px; display: flex; flex-direction: column; gap: 14px; overflow: hidden; }
.msg { display: flex; gap: 12px; }
.msg .av { width: 36px; height: 36px; font-size: 13px; }
.msg-name { font-weight: 700; color: #f2f3f6; display: flex; align-items: center; gap: 6px; }
.msg-time { color: var(--soft); font-size: 11px; font-weight: 500; }
.msg-text { color: #d3d6de; margin-top: 2px; }
.msg-embed { margin-top: 8px; display: flex; gap: 10px; align-items: center; padding: 10px; border-radius: 10px; background: #15161b; border-left: 3px solid var(--accent); max-width: 340px; }
.msg-embed img { width: 42px; height: 56px; object-fit: cover; border-radius: 6px; }
.composer { margin: 0 16px 16px; height: 40px; border-radius: 8px; background: #23252c; color: #7c8190; display: flex; align-items: center; padding: 0 14px; }

/* ---------- Sections ---------- */
.section { padding: 104px 0; border-top: 1px solid var(--line); }
.section-head { max-width: 640px; margin-bottom: 52px; }
.kicker { color: var(--accent); font-size: 13px; font-weight: 700; letter-spacing: .08em; text-transform: uppercase; }
.section-head h2 { margin-top: 12px; font-size: clamp(30px, 3.6vw, 42px); font-weight: 800; }
.section-head p { margin-top: 14px; color: var(--muted); font-size: 17px; }

.feature { display: grid; grid-template-columns: 1fr 1fr; gap: 64px; align-items: center; }
.feature + .feature { margin-top: 96px; }
.feature.reverse .feature-copy { order: 2; }
.feature-copy h3 { font-size: 30px; font-weight: 800; }
.feature-copy > p { margin-top: 14px; color: var(--muted); font-size: 17px; }
.points { list-style: none; padding: 0; margin: 24px 0 0; display: grid; gap: 12px; }
.points li { display: flex; gap: 12px; color: #cfd3dc; }
.points li::before { content: ''; flex: none; width: 18px; height: 18px; margin-top: 3px; border-radius: 50%; background: rgb(245 165 36 / 0.14) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23f5a524' stroke-width='3' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M5 12l5 5 9-10'/%3E%3C/svg%3E") center/11px no-repeat; }

.panel { background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius); padding: 22px; }

/* Voice mock */
.voice { display: grid; gap: 10px; }
.vrow { display: flex; align-items: center; gap: 12px; padding: 10px 12px; border-radius: 12px; background: var(--surface-2); border: 1px solid var(--line); }
.vrow .av { width: 34px; height: 34px; font-size: 12px; }
.vrow .nm { font-weight: 600; flex: 1; }
.meter { display: flex; gap: 3px; align-items: center; height: 20px; }
.meter i { width: 3px; border-radius: 2px; background: var(--ok); }
.chip { font-size: 12px; font-weight: 600; color: var(--muted); padding: 4px 10px; border-radius: 999px; border: 1px solid var(--line-2); }
.chip.on { color: #d6f9e6; border-color: rgb(61 220 132 / 0.4); background: rgb(61 220 132 / 0.08); }
.setting { display: flex; justify-content: space-between; align-items: center; padding: 12px 2px; border-top: 1px solid var(--line); color: #cfd3dc; }
.switch { width: 36px; height: 20px; border-radius: 999px; background: var(--accent); position: relative; flex: none; }
.switch::after { content: ''; position: absolute; top: 3px; right: 3px; width: 14px; height: 14px; border-radius: 50%; background: #fff; }

/* Lobby mock */
.games { display: grid; grid-template-columns: repeat(3, 1fr); gap: 12px; }
.game { position: relative; border-radius: 12px; overflow: hidden; aspect-ratio: 2/3; border: 1px solid var(--line); }
.game img { width: 100%; height: 100%; object-fit: cover; }
.game span { position: absolute; left: 0; right: 0; bottom: 0; padding: 22px 10px 9px; background: linear-gradient(0deg, rgb(0 0 0 / .85), transparent); font-size: 12px; font-weight: 700; }
.lobby-card { margin-top: 14px; display: flex; gap: 12px; align-items: center; }
.lobby-card img { width: 46px; height: 62px; object-fit: cover; border-radius: 8px; }
.lobby-card .t { font-weight: 700; }
.lobby-card .m { color: var(--muted); font-size: 13px; }
.slots { margin-left: auto; display: flex; gap: 4px; }
.slots i { width: 14px; height: 6px; border-radius: 3px; background: #2c2f38; }
.slots i.f { background: var(--ok); }

/* Feed mock */
.post .head { display: flex; gap: 10px; align-items: center; }
.post .head .av { width: 38px; height: 38px; font-size: 13px; }
.post .who { font-weight: 700; }
.post .when { color: var(--soft); font-size: 12px; }
.post .body { margin-top: 12px; color: #d6d9e1; }
.poll { margin-top: 12px; display: grid; gap: 8px; }
.opt { position: relative; height: 38px; border-radius: 10px; border: 1px solid var(--line-2); overflow: hidden; display: flex; align-items: center; justify-content: space-between; padding: 0 12px; font-weight: 600; font-size: 14px; }
.opt b { position: absolute; inset: 0 auto 0 0; background: rgb(255 255 255 / 0.07); z-index: 0; }
.opt.win b { background: rgb(245 165 36 / 0.18); }
.opt span { position: relative; }
.post .meta { margin-top: 12px; display: flex; gap: 18px; color: var(--muted); font-size: 13px; }

/* Cosmetics */
.np-list { display: grid; gap: 10px; }
.np { position: relative; height: 56px; border-radius: 12px; overflow: hidden; border: 1px solid var(--line); background: var(--surface-2); }
.np img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.np .who { position: relative; display: flex; align-items: center; gap: 10px; height: 100%; padding: 0 14px; font-weight: 700; text-shadow: 0 1px 4px rgb(0 0 0 / .8); }
.deco-row { display: grid; grid-template-columns: repeat(4, 1fr); gap: 12px; margin-top: 14px; }
.deco { position: relative; aspect-ratio: 1; border-radius: 14px; background: var(--surface-2); border: 1px solid var(--line); display: grid; place-items: center; }
.deco .base { width: 54%; aspect-ratio: 1; border-radius: 50%; background: linear-gradient(135deg, #6c70ff, #4044c9); }
.deco img { position: absolute; width: 70%; }
.fx-row { display: grid; grid-template-columns: repeat(3, 1fr); gap: 12px; }
.fx-row img { border-radius: 12px; border: 1px solid var(--line); }

/* Feature grid (smaller items) */
.grid-3 { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; }
.card { background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius); padding: 26px; }
.card h4 { font-size: 18px; font-weight: 700; margin-top: 16px; }
.card p { margin-top: 8px; color: var(--muted); font-size: 15px; }
.icon { width: 40px; height: 40px; border-radius: 11px; display: grid; place-items: center; background: rgb(245 165 36 / 0.1); color: var(--accent); }
.icon svg { width: 21px; height: 21px; }

/* Pricing */
.plans { display: grid; grid-template-columns: 1fr 1fr; gap: 18px; max-width: 920px; }
.plan { background: var(--surface); border: 1px solid var(--line); border-radius: 20px; padding: 32px; }
.plan.pro { border-color: rgb(245 165 36 / 0.45); background: linear-gradient(180deg, rgb(245 165 36 / 0.06), transparent 40%), var(--surface); }
.plan h3 { font-size: 22px; font-weight: 800; display: flex; align-items: center; gap: 10px; }
.plan .sub { margin-top: 6px; color: var(--muted); }
.plan .points { margin-top: 22px; }
.plan .btn { margin-top: 28px; width: 100%; }
.badge { font-size: 11px; font-weight: 800; padding: 3px 8px; border-radius: 6px; background: var(--accent); color: #17110a; letter-spacing: .03em; }

/* Download */
.download { display: grid; grid-template-columns: 1.2fr 1fr; gap: 40px; align-items: center; padding: 48px; border-radius: 24px; background: var(--surface); border: 1px solid var(--line); }
.download h2 { font-size: clamp(28px, 3.4vw, 38px); font-weight: 800; }
.download p { margin-top: 12px; color: var(--muted); }
.dl-actions { display: grid; gap: 12px; }
.dl { display: flex; align-items: center; gap: 14px; padding: 16px 18px; border-radius: 14px; border: 1px solid var(--line-2); background: var(--bg-2); }
.dl:hover { border-color: rgb(255 255 255 / 0.22); }
.dl svg { width: 26px; height: 26px; flex: none; }
.dl b { display: block; }
.dl small { color: var(--muted); }

/* FAQ */
.faq { max-width: 820px; }
.faq details { border-bottom: 1px solid var(--line); padding: 20px 0; }
.faq summary { cursor: pointer; list-style: none; font-weight: 600; font-size: 17px; display: flex; justify-content: space-between; gap: 16px; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: '+'; color: var(--muted); font-size: 22px; line-height: 1; }
.faq details[open] summary::after { content: '–'; }
.faq details p { margin-top: 12px; color: var(--muted); }

/* ---------- Footer ---------- */
.site-footer { border-top: 1px solid var(--line); padding: 64px 0 40px; margin-top: 40px; }
.foot { display: grid; grid-template-columns: 1.4fr repeat(3, 1fr); gap: 32px; }
.foot p { margin-top: 12px; color: var(--muted); font-size: 14px; max-width: 300px; }
.foot h5 { margin: 0 0 14px; font-size: 13px; color: var(--text); text-transform: uppercase; letter-spacing: .06em; }
.foot ul { list-style: none; padding: 0; margin: 0; display: grid; gap: 10px; color: var(--muted); font-size: 14px; }
.foot a:hover { color: var(--text); }
.copy { margin-top: 48px; padding-top: 24px; border-top: 1px solid var(--line); color: var(--soft); font-size: 13px; display: flex; justify-content: space-between; gap: 16px; flex-wrap: wrap; }

/* ---------- Document pages (legal, security, developers) ---------- */
.doc-hero { padding: 72px 0 40px; border-bottom: 1px solid var(--line); }
.doc-hero h1 { margin-top: 12px; font-size: clamp(34px, 4.6vw, 48px); font-weight: 800; }
.doc-hero p { margin-top: 14px; color: var(--muted); max-width: 680px; font-size: 17px; }
.doc-hero .updated { margin-top: 16px; color: var(--soft); font-size: 13px; }
.doc { display: grid; grid-template-columns: 240px minmax(0, 1fr); gap: 56px; padding: 48px 0 40px; }
.toc { position: sticky; top: 92px; align-self: start; font-size: 14px; }
.toc b { display: block; margin-bottom: 12px; color: var(--soft); font-size: 12px; text-transform: uppercase; letter-spacing: .06em; }
.toc a { display: block; padding: 6px 0 6px 12px; color: var(--muted); border-left: 1px solid var(--line); }
.toc a:hover { color: var(--text); border-left-color: var(--accent); }
.prose { max-width: 760px; color: #cdd1da; }
.prose h2 { margin: 44px 0 14px; font-size: 24px; font-weight: 800; color: var(--text); scroll-margin-top: 96px; }
.prose h2:first-child { margin-top: 0; }
.prose h3 { margin: 26px 0 10px; font-size: 18px; font-weight: 700; color: var(--text); }
.prose p { margin: 0 0 14px; }
.prose ul, .prose ol { margin: 0 0 16px; padding-left: 22px; display: grid; gap: 8px; }
.prose a { color: var(--accent); }
.prose a:hover { text-decoration: underline; }
.prose code { font: 13.5px/1.5 ui-monospace, SFMono-Regular, Menlo, Consolas, monospace; background: var(--surface-2); border: 1px solid var(--line); padding: 1px 6px; border-radius: 6px; color: #f3d9ad; }
.prose pre { margin: 0 0 18px; padding: 16px 18px; background: #0f1116; border: 1px solid var(--line); border-radius: 12px; overflow-x: auto; }
.prose pre code { background: none; border: 0; padding: 0; color: #d9dde6; }
.prose table { width: 100%; border-collapse: collapse; margin: 0 0 18px; font-size: 14px; }
.prose th, .prose td { text-align: left; padding: 10px 12px; border-bottom: 1px solid var(--line); vertical-align: top; }
.prose th { color: var(--text); font-weight: 700; }
.callout { padding: 16px 18px; margin: 0 0 18px; border-radius: 12px; border: 1px solid rgb(245 165 36 / 0.3); background: rgb(245 165 36 / 0.06); color: #ead9bd; }
.doc-cards { display: grid; grid-template-columns: repeat(3, 1fr); gap: 14px; margin: 8px 0 26px; }
.doc-cards .card { padding: 20px; }
.doc-cards .card h4 { margin: 0; font-size: 16px; }

/* ---------- Responsive ---------- */
@media (max-width: 1020px) {
	.hero-grid, .feature, .download { grid-template-columns: 1fr; gap: 40px; }
	.feature.reverse .feature-copy { order: 0; }
	.grid-3, .doc-cards { grid-template-columns: 1fr 1fr; }
	.foot { grid-template-columns: 1fr 1fr; }
	.doc { grid-template-columns: 1fr; gap: 24px; }
	.toc { position: static; display: none; }
}
@media (max-width: 760px) {
	.nav-links, .nav-cta { display: none; }
	.menu-toggle { display: block; }
	.site-header.open .nav { flex-wrap: wrap; height: auto; padding: 12px 0 16px; }
	.site-header.open .nav-links { display: flex; flex-direction: column; gap: 14px; width: 100%; margin: 10px 0 0; order: 3; }
	.site-header.open .nav-cta { display: flex; width: 100%; order: 4; }
	.site-header.open .nav-cta .btn { flex: 1; }
	.hero { padding: 56px 0 48px; }
	.app { grid-template-columns: 52px 1fr; height: 400px; }
	.app-side { display: none; }
	.section { padding: 72px 0; }
	.grid-3, .plans, .doc-cards { grid-template-columns: 1fr; }
	.games { grid-template-columns: repeat(3, 1fr); }
	.deco-row { grid-template-columns: repeat(2, 1fr); }
	.download { padding: 28px 20px; }
	.foot { grid-template-columns: 1fr; }
}

/* Grid children must be allowed to shrink below their content (the app mock would push the page wider). */
.hero-grid > *, .feature > *, .download > *, .plans > *, .doc > * { min-width: 0; }
.app { width: 100%; }
.msg-embed { max-width: 100%; }
html, body { overflow-x: hidden; }
@media (max-width: 760px) {
	.hero h1 { font-size: 38px; }
	.hero .lead { font-size: 16px; }
	.hero-actions .btn { flex: 1 1 100%; }
	.section-head h2 { font-size: 28px; }
	.feature-copy h3 { font-size: 24px; }
	.prose table { display: block; overflow-x: auto; }
}

.copy { align-items: flex-end; }
.copy-left { display: grid; gap: 4px; }
.copy-sub { color: var(--soft); font-size: 12.5px; }
.copy-right { max-width: 460px; text-align: right; }
.copy a { color: var(--muted); text-decoration: underline; text-underline-offset: 3px; }
.copy a:hover { color: var(--text); }
@media (max-width: 760px) { .copy { align-items: flex-start; } .copy-right { text-align: left; } }

/* ---------- Home v2 ---------- */
.btn-lg { height: 52px; padding: 0 26px; font-size: 16px; border-radius: 12px; }
.lx-hero { position: relative; padding: 76px 0 0; overflow: hidden; text-align: center; }
.lx-hero::before {
	content: ''; position: absolute; inset: 0 0 auto; height: 900px; z-index: -1;
	background:
		radial-gradient(700px 380px at 50% 0%, rgb(245 165 36 / 0.16), transparent 70%),
		radial-gradient(900px 520px at 50% 85%, rgb(91 95 240 / 0.20), transparent 70%);
}
.lx-hero-in { max-width: 860px; }
.lx-pill {
	display: inline-flex; align-items: center; gap: 10px; padding: 6px 14px 6px 6px; border-radius: 999px;
	border: 1px solid var(--line-2); background: rgb(255 255 255 / 0.03); color: var(--muted); font-size: 14px; font-weight: 500;
	transition: border-color .15s ease, color .15s ease;
}
.lx-pill:hover { border-color: rgb(245 165 36 / 0.5); color: var(--text); }
.lx-pill span { background: var(--accent); color: #17110a; font-weight: 700; font-size: 12px; padding: 3px 10px; border-radius: 999px; }
.lx-pill svg { width: 15px; height: 15px; }
.lx-hero h1 { margin: 26px 0 0; font-size: clamp(40px, 6.4vw, 76px); line-height: 1.04; font-weight: 800; letter-spacing: -0.035em; }
.lx-hero h1 em { font-style: normal; background: linear-gradient(90deg, var(--accent), var(--accent-2)); -webkit-background-clip: text; background-clip: text; color: transparent; }
.lx-lead { margin: 22px auto 0; max-width: 640px; color: var(--muted); font-size: clamp(16px, 1.6vw, 19px); }
.lx-cta { margin-top: 34px; display: flex; gap: 12px; justify-content: center; flex-wrap: wrap; }
.lx-note { margin-top: 16px; color: var(--soft); font-size: 13px; }
.lx-stage { position: relative; margin-top: 64px; padding-bottom: 96px; }
.lx-window {
	position: relative; border-radius: 16px; overflow: hidden; background: #111216;
	border: 1px solid var(--line-2);
	box-shadow: 0 50px 140px -30px rgb(0 0 0 / 0.85), 0 0 0 1px rgb(255 255 255 / 0.03), 0 -1px 0 rgb(255 255 255 / 0.08) inset;
	mask-image: linear-gradient(180deg, #000 72%, transparent);
	-webkit-mask-image: linear-gradient(180deg, #000 72%, transparent);
}
.lx-bar { display: flex; align-items: center; gap: 7px; height: 34px; padding: 0 14px; background: #0d0e12; border-bottom: 1px solid var(--line); }
.lx-bar i { width: 10px; height: 10px; border-radius: 50%; background: #2a2c33; }
.lx-bar span { margin: 0 auto; color: var(--soft); font-size: 12px; font-weight: 600; transform: translateX(-20px); }
.lx-window img { width: 100%; height: auto; }
.lx-float {
	position: absolute; right: -10px; bottom: 40px; width: min(320px, 30%); border-radius: 16px; overflow: hidden;
	border: 1px solid var(--line-2); box-shadow: 0 30px 80px rgb(0 0 0 / 0.7); transform: rotate(2deg);
}
.lx-trio { border-top: 0; padding-top: 24px; }
.lx-cards { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
.lx-card { padding: 30px; border-radius: var(--radius); border: 1px solid var(--line); background: linear-gradient(180deg, rgb(255 255 255 / 0.035), rgb(255 255 255 / 0.01)); }
.lx-card h3 { margin: 18px 0 8px; font-size: 20px; font-weight: 700; }
.lx-card p { margin: 0; color: var(--muted); font-size: 15px; }
.lx-ic { display: inline-grid; place-items: center; width: 46px; height: 46px; border-radius: 12px; color: var(--accent); background: rgb(245 165 36 / 0.1); border: 1px solid rgb(245 165 36 / 0.18); }
.lx-ic svg { width: 22px; height: 22px; }
.lx-ic.sm { width: 38px; height: 38px; border-radius: 10px; }
.lx-ic.sm svg { width: 19px; height: 19px; }
.lx-row { display: grid; grid-template-columns: 0.85fr 1.15fr; gap: 64px; align-items: center; }
.lx-row + .lx-row { margin-top: 112px; }
.lx-row.rev .lx-copy { order: 2; }
.lx-copy h2 { margin: 12px 0 0; font-size: clamp(28px, 3.4vw, 42px); line-height: 1.12; font-weight: 800; letter-spacing: -0.02em; }
.lx-copy p { margin: 16px 0 0; color: var(--muted); font-size: 17px; }
.lx-list { list-style: none; padding: 0; margin: 24px 0 0; display: grid; gap: 10px; }
.lx-list li { position: relative; padding-left: 28px; color: var(--text); font-size: 15px; }
.lx-list li::before { content: ''; position: absolute; left: 0; top: 7px; width: 14px; height: 9px; border-left: 2px solid var(--accent); border-bottom: 2px solid var(--accent); transform: rotate(-45deg); }
.lx-shot { border-radius: 14px; overflow: hidden; border: 1px solid var(--line-2); box-shadow: 0 40px 100px -30px rgb(0 0 0 / 0.8); background: #111216; }
.lx-shot img { width: 100%; height: auto; }
.lx-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 34px 40px; }
.lx-grid h4 { margin: 14px 0 6px; font-size: 17px; font-weight: 700; }
.lx-grid p { margin: 0; color: var(--muted); font-size: 15px; }
.lx-open { text-align: left; }
.lx-big { max-width: 880px; margin: 0; font-size: clamp(24px, 3vw, 36px); line-height: 1.3; font-weight: 700; letter-spacing: -0.015em; }
.lx-link { display: inline-flex; align-items: center; gap: 6px; margin-top: 20px; color: var(--accent); font-weight: 600; font-size: 15px; }
.lx-link svg { width: 16px; height: 16px; }
@media (max-width: 900px) {
	.lx-hero { padding-top: 48px; }
	.lx-stage { margin-top: 40px; padding-bottom: 56px; }
	.lx-float { display: none; }
	.lx-cards, .lx-grid { grid-template-columns: 1fr; }
	.lx-row { grid-template-columns: 1fr; gap: 28px; }
	.lx-row.rev .lx-copy { order: 0; }
	.lx-row + .lx-row { margin-top: 72px; }
	.lx-cta .btn { width: 100%; }
}
.lx-shot { aspect-ratio: 16 / 10; }
.lx-shot img { width: 100%; height: 100%; object-fit: cover; object-position: var(--pos, center); transform: scale(var(--z, 1)); transform-origin: var(--pos, center); }

/* ================= Home v3 ================= */
.hx { position: relative; padding: 84px 0 0; overflow: hidden; isolation: isolate; text-align: center; }
.hx-bg { position: absolute; inset: 0; z-index: -1; pointer-events: none; }
.hx-bg i { position: absolute; border-radius: 50%; filter: blur(90px); opacity: .55; will-change: transform; }
.hx-bg .o1 { width: 620px; height: 620px; left: 50%; top: -260px; margin-left: -310px; background: radial-gradient(circle, #ff9a2f 0%, transparent 65%); animation: orb1 18s ease-in-out infinite alternate; }
.hx-bg .o2 { width: 760px; height: 760px; left: -240px; top: 360px; background: radial-gradient(circle, #4f46e5 0%, transparent 65%); opacity: .45; animation: orb2 22s ease-in-out infinite alternate; }
.hx-bg .o3 { width: 680px; height: 680px; right: -260px; top: 520px; background: radial-gradient(circle, #e0457b 0%, transparent 65%); opacity: .28; animation: orb3 26s ease-in-out infinite alternate; }
@keyframes orb1 { to { transform: translate(80px, 60px) scale(1.12); } }
@keyframes orb2 { to { transform: translate(140px, -80px) scale(1.08); } }
@keyframes orb3 { to { transform: translate(-120px, -60px) scale(1.15); } }
.hx-grid { position: absolute; inset: 0; background-image: linear-gradient(rgb(255 255 255 / .045) 1px, transparent 1px), linear-gradient(90deg, rgb(255 255 255 / .045) 1px, transparent 1px); background-size: 64px 64px; mask-image: radial-gradient(ellipse 70% 55% at 50% 30%, #000 25%, transparent 75%); -webkit-mask-image: radial-gradient(ellipse 70% 55% at 50% 30%, #000 25%, transparent 75%); }
.hx-grain { position: absolute; inset: 0; opacity: .06; mix-blend-mode: overlay; background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='160' height='160'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='.9' numOctaves='3' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E"); }
.hx-in { max-width: 920px; }
.hx-pill { display: inline-flex; align-items: center; gap: 10px; padding: 6px 14px 6px 6px; border-radius: 999px; border: 1px solid var(--line-2); background: rgb(255 255 255 / .03); backdrop-filter: blur(8px); color: var(--muted); font-size: 14px; font-weight: 500; transition: border-color .2s, color .2s; }
.hx-pill:hover { border-color: rgb(245 165 36 / .5); color: var(--text); }
.hx-pill span { background: linear-gradient(135deg, #ffc04d, #ff8a1f); color: #17110a; font-weight: 700; font-size: 12px; padding: 3px 10px; border-radius: 999px; }
.hx-pill svg { width: 15px; height: 15px; }
.hx h1 { margin: 28px 0 0; font-size: clamp(40px, 6.6vw, 82px); line-height: 1.03; font-weight: 800; letter-spacing: -.04em; }
.rot { display: inline-block; height: 1.04em; overflow: hidden; vertical-align: bottom; }
.rot > span { display: flex; flex-direction: column; animation: rot 10s cubic-bezier(.7, 0, .3, 1) infinite; }
.rot b { display: block; height: 1.04em; font-weight: 800; background: linear-gradient(90deg, #ffc04d, #ff7a1a 60%, #ff5e7a); -webkit-background-clip: text; background-clip: text; color: transparent; }
@keyframes rot { 0%, 20% { transform: translateY(0); } 25%, 45% { transform: translateY(-1.04em); } 50%, 70% { transform: translateY(-2.08em); } 75%, 95% { transform: translateY(-3.12em); } 100% { transform: translateY(-4.16em); } }
.hx-lead { margin: 24px auto 0; max-width: 620px; color: var(--muted); font-size: clamp(16px, 1.6vw, 19px); }
.hx-cta { margin-top: 34px; display: flex; gap: 12px; justify-content: center; flex-wrap: wrap; }
.hx-cta .btn-primary { box-shadow: 0 10px 40px -10px rgb(255 150 40 / .7); }
.hx-trust { display: flex; justify-content: center; gap: 22px; margin: 18px 0 0; padding: 0; list-style: none; color: var(--soft); font-size: 13px; }
.hx-trust li::before { content: '✓'; color: var(--accent); margin-right: 6px; }
.hx-stage { position: relative; margin-top: 70px; padding-bottom: 110px; perspective: 1800px; }
.hx-window { position: relative; border-radius: 16px; overflow: hidden; background: #111216; border: 1px solid var(--line-2); transform-origin: 50% 0; transform: rotateX(calc(16deg * (1 - var(--p, 0)))) scale(calc(.94 + .06 * var(--p, 0))); box-shadow: 0 60px 160px -40px rgb(0 0 0 / .9), 0 0 0 1px rgb(255 255 255 / .03), 0 -40px 120px -60px rgb(255 140 40 / .45); transition: transform .1s linear; }
.hx-bar { display: flex; align-items: center; gap: 7px; height: 34px; padding: 0 14px; background: #0d0e12; border-bottom: 1px solid var(--line); }
.hx-bar i { width: 10px; height: 10px; border-radius: 50%; background: #2a2c33; }
.hx-bar i:first-child { background: #ff5f57; } .hx-bar i:nth-child(2) { background: #febc2e; } .hx-bar i:nth-child(3) { background: #28c840; }
.hx-bar span { margin: 0 auto; color: var(--soft); font-size: 12px; font-weight: 600; transform: translateX(-24px); }
.hx-window img { width: 100%; height: auto; }
.fl { position: absolute; z-index: 2; text-align: left; border-radius: 14px; background: rgb(20 20 26 / .78); backdrop-filter: blur(14px) saturate(1.3); border: 1px solid rgb(255 255 255 / .1); box-shadow: 0 24px 60px -12px rgb(0 0 0 / .7); transform: translate3d(var(--fx, 0), var(--fy, 0), 0); transition: transform .25s ease-out; }
.fl-voice { left: -28px; top: 34%; width: 270px; padding: 12px 12px 8px; animation: bob 7s ease-in-out infinite; }
.fl-head { display: flex; align-items: center; gap: 8px; font-size: 13px; font-weight: 700; padding: 0 4px 8px; border-bottom: 1px solid var(--line); margin-bottom: 6px; }
.fl-head em { margin-left: auto; font-style: normal; font: 600 12px var(--font); color: #3ddc84; font-variant-numeric: tabular-nums; }
.dot { width: 8px; height: 8px; border-radius: 50%; background: #3ddc84; box-shadow: 0 0 0 0 rgb(61 220 132 / .6); animation: ping 2s infinite; }
@keyframes ping { 70% { box-shadow: 0 0 0 8px rgb(61 220 132 / 0); } 100% { box-shadow: 0 0 0 0 rgb(61 220 132 / 0); } }
.fl-row { display: flex; align-items: center; gap: 9px; padding: 6px 4px; font-size: 13px; }
.av { display: grid; place-items: center; width: 28px; height: 28px; border-radius: 50%; background: var(--c); color: #fff; font-size: 12px; font-weight: 800; flex-shrink: 0; }
.av.sp { box-shadow: 0 0 0 2px #0f0f13, 0 0 0 4px #3ddc84; }
.nm { font-weight: 600; }
.wv { margin-left: auto; display: flex; gap: 2px; align-items: center; height: 16px; }
.wv i { width: 3px; border-radius: 2px; background: #3ddc84; animation: wv .9s ease-in-out infinite; }
.wv i:nth-child(2) { animation-delay: .15s; } .wv i:nth-child(3) { animation-delay: .3s; } .wv i:nth-child(4) { animation-delay: .45s; } .wv i:nth-child(5) { animation-delay: .2s; }
@keyframes wv { 0%, 100% { height: 4px; } 50% { height: 16px; } }
.tag { margin-left: auto; font-size: 10px; font-weight: 800; letter-spacing: .04em; padding: 3px 7px; border-radius: 6px; background: rgb(91 95 240 / .2); color: #a9abff; }
.tag.live { background: #e5394b; color: #fff; }
.fl-toast { right: -24px; top: 12%; display: flex; align-items: center; gap: 11px; padding: 12px 16px 12px 12px; font-size: 13px; animation: bob 6s ease-in-out infinite reverse; }
.fl-toast b { display: block; font-size: 13.5px; } .fl-toast small { color: var(--muted); font-size: 12px; }
.fl-act { right: 6%; bottom: 40px; width: min(300px, 26%); overflow: hidden; padding: 0; animation: bob 8s ease-in-out infinite; }
.fl-act img { display: block; width: 100%; }
@keyframes bob { 50% { translate: 0 -10px; } }
/* marquee */
.mq-wrap { padding: 8px 0 72px; }
.mq-title { text-align: center; color: var(--soft); font-size: 13px; font-weight: 600; letter-spacing: .08em; text-transform: uppercase; margin: 0 0 24px; }
.mq { overflow: hidden; mask-image: linear-gradient(90deg, transparent, #000 10%, #000 90%, transparent); -webkit-mask-image: linear-gradient(90deg, transparent, #000 10%, #000 90%, transparent); }
.mq-track { display: flex; gap: 16px; width: max-content; animation: mq 45s linear infinite; }
.mq:hover .mq-track { animation-play-state: paused; }
@keyframes mq { to { transform: translateX(-50%); } }
.mq-item { position: relative; margin: 0; width: 150px; aspect-ratio: 3 / 4; border-radius: 14px; overflow: hidden; border: 1px solid var(--line); }
.mq-item img { width: 100%; height: 100%; object-fit: cover; transition: transform .5s; }
.mq-item:hover img { transform: scale(1.06); }
.mq-item figcaption { position: absolute; inset: auto 0 0; padding: 26px 10px 10px; font-size: 12px; font-weight: 700; background: linear-gradient(transparent, rgb(0 0 0 / .85)); }
/* bento */
.bento { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; }
.bx { position: relative; display: flex; flex-direction: column; overflow: hidden; border-radius: 20px; border: 1px solid var(--line); background: linear-gradient(180deg, rgb(255 255 255 / .04), rgb(255 255 255 / .012)); isolation: isolate; }
.bx::before { content: ''; position: absolute; inset: 0; z-index: -1; background: radial-gradient(420px circle at var(--mx, 50%) var(--my, 0%), rgb(255 160 50 / .12), transparent 60%); opacity: 0; transition: opacity .3s; }
.bx:hover::before { opacity: 1; }
.bx:hover { border-color: rgb(255 255 255 / .14); }
.bx-copy { padding: 26px 26px 0; }
.bx-copy h3 { margin: 10px 0 8px; font-size: 22px; font-weight: 750; letter-spacing: -.015em; }
.bx-copy p { margin: 0; color: var(--muted); font-size: 15px; }
.bx-lg { grid-column: span 2; grid-row: span 2; }
.bx-wide { grid-column: span 3; display: grid; grid-template-columns: .9fr 1.1fr; align-items: center; }
.bx-wide .bx-copy { padding: 34px; }
.bx-shot { margin: 22px 0 0 26px; flex: 1; min-height: 220px; border-radius: 12px 0 0 0; overflow: hidden; border: 1px solid var(--line-2); border-right: 0; border-bottom: 0; background: #111216; }
.bx-lg .bx-shot { min-height: 420px; }
.bx-wide .bx-shot { margin: 24px 0 0; height: 100%; min-height: 300px; }
.bx-shot img { width: 100%; height: 100%; object-fit: cover; object-position: var(--pos, center); transform: scale(var(--z, 1)); transform-origin: var(--pos, center); transition: transform .8s cubic-bezier(.2, .8, .2, 1); }
.bx:hover .bx-shot img { transform: scale(calc(var(--z, 1) * 1.04)); }
.bx-shot.contain img { object-fit: contain; object-position: center top; }
.bx-wave { flex: 1; min-height: 200px; display: flex; align-items: center; justify-content: center; gap: 5px; padding: 20px; }
.bx-wave i { width: 6px; height: 20%; border-radius: 4px; background: linear-gradient(180deg, #ffc04d, #ff6a1a); animation: bw 1.4s ease-in-out infinite; animation-delay: calc(var(--i) * -0.09s); }
@keyframes bw { 0%, 100% { height: 14%; } 50% { height: 78%; } }
.bx-list { display: flex; flex-wrap: wrap; gap: 8px; margin: 18px 0 0; padding: 0; list-style: none; }
.bx-list li { padding: 6px 12px; border-radius: 999px; font-size: 13px; font-weight: 600; border: 1px solid rgb(245 165 36 / .3); color: #ffd59a; background: rgb(245 165 36 / .06); }
/* reveal */
.rv { opacity: 0; transform: translateY(26px); transition: opacity .8s cubic-bezier(.2, .8, .2, 1), transform .8s cubic-bezier(.2, .8, .2, 1); }
.rv.in { opacity: 1; transform: none; }
.no-js .rv { opacity: 1; transform: none; }
@media (max-width: 900px) {
	.hx { padding-top: 52px; }
	.hx-stage { margin-top: 44px; padding-bottom: 60px; }
	.fl-act, .fl-toast { display: none; }
	.fl-voice { left: 8px; top: auto; bottom: 30px; width: 230px; }
	.hx-trust { flex-wrap: wrap; gap: 10px 16px; }
	.bento { grid-template-columns: 1fr; }
	.bx-lg, .bx-wide { grid-column: auto; grid-row: auto; }
	.bx-wide { display: flex; }
	.bx-lg .bx-shot { min-height: 260px; }
	.hx-cta .btn { width: 100%; }
}
@media (prefers-reduced-motion: reduce) {
	.hx-bg i, .rot > span, .fl, .mq-track, .bx-wave i, .wv i, .dot { animation: none !important; }
	.rv { opacity: 1; transform: none; transition: none; }
}
