:root {
	--bg: #f4f4f9;
	--panel: #ffffff;
	--panel-2: #efeff6;
	--line: #e4e4ee;
	--text: #18172a;
	--muted: #6f6e84;
	--soft: #45445a;
	--accent: #ff7a45;
	--accent-2: #ff5e7e;
	--violet: #6c5ce7;
	--ok: #15803d;
	--err: #c02626;
	--err-bg: #fdecec;
	--shadow: 0 14px 40px rgba(30, 30, 70, 0.08);
	--r: 20px;
	color-scheme: light;
}

* { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; }
body {
	margin: 0; background: var(--bg); color: var(--text);
	font: 15px/1.6 Poppins, system-ui, -apple-system, "Segoe UI", Roboto, "Noto Sans Devanagari", sans-serif;
}
a { color: inherit; }
h1, h2, h3 { line-height: 1.25; margin: 0; }
button { font: inherit; cursor: pointer; border: 0; color: inherit; background: none; }
.i { width: 18px; height: 18px; flex: none; }
.sr { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); }
.muted { color: var(--muted); }
[hidden] { display: none !important; }

/* ---------------------------------------------------------------- shell */
.app { display: grid; grid-template-columns: 250px minmax(0, 1fr); min-height: 100vh; }
.side {
	position: sticky; top: 0; height: 100vh; overflow-y: auto; padding: 30px 26px; background: var(--bg);
	border-right: 1px solid color-mix(in srgb, var(--line) 50%, transparent); scrollbar-width: none;
}
.side::-webkit-scrollbar { display: none; }
.logo { display: flex; align-items: center; gap: 10px; font-weight: 700; font-size: 1.2rem; text-decoration: none; margin-bottom: 34px; }
.side-h { font-size: 0.68rem; letter-spacing: 0.14em; text-transform: uppercase; color: var(--muted); margin: 0 0 12px; }
.side hr { border: 0; border-top: 1px solid var(--line); margin: 22px 0; width: 80%; }
.nav-i {
	display: flex; align-items: center; gap: 14px; padding: 7px 0; margin-bottom: 6px; text-decoration: none;
	color: var(--muted); font-size: 0.93rem; transition: color 0.15s;
}
.nav-i:hover { color: var(--text); }
.nav-i.on { color: var(--text); font-weight: 600; }
.tile {
	width: 32px; height: 32px; border-radius: 10px; display: grid; place-items: center; flex: none;
	background: var(--panel-2); color: var(--muted);
}
.tile .i { width: 16px; height: 16px; }
.feats .tile { background: color-mix(in srgb, var(--c) 18%, transparent); color: var(--c); }
.nav-i.on .tile { background: linear-gradient(135deg, var(--accent), var(--accent-2)); color: #fff; box-shadow: 0 6px 16px color-mix(in srgb, var(--accent) 35%, transparent); }
.tile.brand-tile { color: var(--ink, var(--c)); background: color-mix(in srgb, var(--c) 16%, var(--panel-2)); }
.tile.brand-tile .i { width: 17px; height: 17px; }
.nav-i.on .tile.brand-tile { background: var(--c); color: #fff; box-shadow: 0 6px 16px color-mix(in srgb, var(--c) 40%, transparent); }


.main { min-width: 0; padding: 26px 40px 0; }
.topbar {
	position: sticky; top: 0; z-index: 10; display: flex; align-items: center; gap: 16px; margin: -26px -40px 26px; padding: 14px 40px;
	background: color-mix(in srgb, var(--bg) 88%, transparent); backdrop-filter: blur(10px);
}
.burger { display: none; width: 42px; height: 42px; border-radius: 12px; background: var(--panel); place-items: center; }
.burger .i { width: 20px; height: 20px; }
.search { flex: 1; max-width: 600px; display: flex; align-items: center; background: var(--panel-2); border-radius: 12px; padding: 0 6px 0 16px; }
.search input { flex: 1; min-width: 0; background: transparent; border: 0; outline: 0; color: var(--text); font: inherit; font-size: 0.85rem; padding: 12px 0; }
.search input::placeholder { color: var(--muted); }
.search input::-webkit-search-cancel-button { filter: grayscale(1); }
.search button { width: 34px; height: 34px; display: grid; place-items: center; color: var(--muted); }
.search:focus-within { outline: 2px solid color-mix(in srgb, var(--violet) 60%, transparent); }
.lang { margin-left: auto; position: relative; display: flex; align-items: center; gap: 10px; }
.lang-dot {
	width: 34px; height: 34px; border-radius: 50%; display: grid; place-items: center; font-size: 0.7rem; font-weight: 700;
	background: linear-gradient(135deg, var(--accent), var(--violet)); color: #fff;
}
.lang select { appearance: none; background: transparent; border: 0; color: var(--text); font: inherit; font-size: 0.88rem; padding-right: 18px; cursor: pointer; }
.lang::after { content: ""; position: absolute; right: 2px; top: 50%; width: 6px; height: 6px; border-right: 1.5px solid var(--muted); border-bottom: 1.5px solid var(--muted); transform: translateY(-70%) rotate(45deg); pointer-events: none; }
.lang option { color: #111; }
.scrim { display: none; }

.content { padding-bottom: 20px; }
.page-title { font-size: clamp(1.9rem, 3.6vw, 2.6rem); font-weight: 700; margin: 4px 0 24px; letter-spacing: -0.01em; }
.sec-head { display: flex; align-items: baseline; justify-content: space-between; gap: 12px; margin: 44px 0 18px; }
.sec-head h2 { font-size: 1.6rem; font-weight: 600; }
.sec-head a { display: inline-flex; align-items: center; gap: 4px; color: var(--muted); font-size: 0.86rem; text-decoration: none; white-space: nowrap; }
.sec-head a:hover { color: var(--text); }
.sec-head .i { width: 14px; height: 14px; }

/* decorative blobs + art */
.blob { position: absolute; border-radius: 50%; pointer-events: none; background: rgba(255, 255, 255, 0.12); }
.b1 { width: 260px; height: 260px; right: -60px; top: -90px; }
.b2 { width: 140px; height: 140px; right: 120px; bottom: -70px; background: rgba(255, 255, 255, 0.08); }

/* ---------------------------------------------------------------- hero + feature */
.hero-row { display: grid; grid-template-columns: minmax(0, 2fr) minmax(0, 1fr); gap: 20px; }
.hero {
	position: relative; overflow: hidden; border-radius: var(--r); padding: 40px 40px 34px; min-height: 330px; color: #fff;
	background: linear-gradient(135deg, color-mix(in srgb, var(--c) 64%, #0a0a1e), color-mix(in srgb, var(--c) 46%, #0a0a1e));
	display: flex; align-items: center;
}
.hero-ico { position: absolute; right: 30px; top: 50%; width: 210px; height: 210px; transform: translateY(-50%) rotate(-8deg); color: rgba(255, 255, 255, 0.16); }
.hero-in { position: relative; width: 100%; max-width: 560px; }
.hero-sub { font-size: 1.05rem; font-weight: 500; margin: 0 0 18px; color: rgba(255, 255, 255, 0.92); }
.dl-form { display: flex; gap: 10px; background: rgba(20, 20, 35, 0.35); backdrop-filter: blur(8px); padding: 7px; border-radius: 16px; border: 1px solid rgba(255, 255, 255, 0.22); }
.field { flex: 1; display: flex; align-items: center; min-width: 0; }
.field input { flex: 1; min-width: 0; border: 0; outline: 0; background: transparent; color: #fff; font: inherit; font-size: 0.95rem; padding: 11px 12px; }
.field input::placeholder { color: rgba(255, 255, 255, 0.72); }
.ghost { color: rgba(255, 255, 255, 0.85); padding: 7px 12px; border-radius: 10px; font-size: 0.85rem; }
.ghost:hover { background: rgba(255, 255, 255, 0.14); }
.primary {
	display: inline-flex; align-items: center; justify-content: center; gap: 8px; padding: 11px 22px; border-radius: 12px;
	background: #fff; color: #17162a; font-weight: 600; font-size: 0.95rem; box-shadow: 0 8px 20px rgba(0, 0, 0, 0.18);
}
.primary:disabled { opacity: 0.65; cursor: progress; }
.primary .i { width: 17px; height: 17px; }
.badges { display: flex; flex-wrap: wrap; gap: 8px 16px; margin: 16px 0 0; font-size: 0.8rem; color: rgba(255, 255, 255, 0.85); }
.badges span { display: inline-flex; align-items: center; gap: 6px; }
.badges .i { width: 14px; height: 14px; }
.status { margin-top: 14px; font-size: 0.9rem; font-weight: 500; display: flex; align-items: center; gap: 10px; }
.status:empty { display: none; }
.status.error { background: rgba(255, 255, 255, 0.95); color: #b42318; border-radius: 12px; padding: 10px 14px; }
.status.ok { color: #fff; font-weight: 600; }
.spin { width: 17px; height: 17px; border-radius: 50%; border: 2.5px solid currentColor; border-right-color: transparent; animation: spin 0.8s linear infinite; flex: none; }
@keyframes spin { to { transform: rotate(360deg); } }

.feature {
	position: relative; overflow: hidden; border-radius: var(--r); padding: 36px 32px; min-height: 330px; color: #fff; text-decoration: none;
	display: flex; flex-direction: column; justify-content: flex-start;
	background: linear-gradient(160deg, color-mix(in srgb, var(--a) 62%, #0a0a1e), color-mix(in srgb, var(--b) 70%, #0a0a1e));
	transition: transform 0.2s;
}
.feature:hover { transform: translateY(-3px); }
.side-feature { background: linear-gradient(160deg, #c94b2c, #a83a17); }
.feature-ico { position: absolute; right: -10px; bottom: -14px; width: 190px; height: 190px; color: rgba(255, 255, 255, 0.2); transform: rotate(-10deg); }
.feature-text { position: relative; }
.feature h2 { font-size: 1.65rem; font-weight: 600; max-width: 15ch; }
.feature.big { min-height: 330px; }
.feature.big h2 { font-size: clamp(1.7rem, 3vw, 2.15rem); max-width: 17ch; }
.feature-by { display: flex; align-items: center; gap: 12px; margin: 22px 0 0; }
.feature-by b { display: block; font-weight: 500; font-size: 0.92rem; }
.feature-by small { display: block; font-size: 0.75rem; opacity: 0.8; }
.avatar {
	width: 46px; height: 46px; border-radius: 50%; display: grid; place-items: center; flex: none;
	background: rgba(255, 255, 255, 0.22); border: 2px solid rgba(255, 255, 255, 0.85); color: #fff;
}
.avatar .i { width: 18px; height: 18px; }
.dur {
	position: absolute; right: 16px; bottom: 16px; font-size: 0.68rem; font-weight: 600; color: #fff; padding: 2px 9px;
	border-radius: 6px; background: rgba(15, 15, 30, 0.55); backdrop-filter: blur(4px);
}

/* ---------------------------------------------------------------- results */
.results:not(:empty) { margin-top: 22px; }
.result { display: grid; grid-template-columns: 170px minmax(0, 1fr); gap: 20px; background: var(--panel); border-radius: var(--r); padding: 16px; margin-bottom: 16px; }
.thumb { position: relative; aspect-ratio: 3 / 4; background: var(--panel-2); border-radius: 14px; overflow: hidden; }
.thumb img { width: 100%; height: 100%; object-fit: cover; display: block; }
.thumb b { position: absolute; top: 8px; left: 8px; background: rgba(0, 0, 0, 0.6); color: #fff; font-size: 0.72rem; padding: 2px 8px; border-radius: 99px; }
.info h3 { font-size: 1.05rem; font-weight: 600; margin: 4px 0 6px; display: -webkit-box; -webkit-line-clamp: 3; -webkit-box-orient: vertical; overflow: hidden; word-break: break-word; }
.meta { color: var(--muted); font-size: 0.82rem; margin: 0 0 14px; }
.opts { display: grid; grid-template-columns: repeat(auto-fill, minmax(140px, 1fr)); gap: 10px; }
.opt {
	position: relative; display: flex; flex-direction: column; justify-content: center; min-height: 58px; padding: 9px 14px;
	border-radius: 14px; text-decoration: none; background: var(--panel-2); border: 1.5px solid transparent; transition: border-color 0.15s, transform 0.15s;
}
.opt:hover { border-color: var(--violet); transform: translateY(-1px); }
.opt:first-child { background: linear-gradient(135deg, var(--accent), var(--accent-2)); color: #fff; }
.opt:first-child .x { color: rgba(255, 255, 255, 0.85); }
.opt.busy { flex-direction: row; align-items: center; gap: 10px; cursor: progress; }
.opt .q { font-weight: 700; }
.opt .x { font-size: 0.76rem; color: var(--muted); }
.opt .fast { position: absolute; top: 6px; right: 10px; font-size: 0.8rem; }
.opt.audio:not(:first-child) { border: 1.5px dashed var(--line); }

/* ---------------------------------------------------------------- cards */
.cards { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 20px; }
.cards.three { grid-template-columns: repeat(3, minmax(0, 1fr)); }
.g-card { position: relative; background: var(--panel); border-radius: var(--r); overflow: hidden; text-decoration: none; display: flex; flex-direction: column; transition: transform 0.2s, box-shadow 0.2s; }
.g-card:hover { transform: translateY(-4px); box-shadow: var(--shadow); }
.art { position: relative; overflow: hidden; aspect-ratio: 16 / 9; background: linear-gradient(140deg, var(--a), var(--b)); }
.art .b1 { width: 160px; height: 160px; right: -40px; top: -60px; }
.art .b2 { width: 90px; height: 90px; left: -20px; right: auto; bottom: -40px; }
.art img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; display: block; transition: transform 0.4s ease; }
.g-card:hover .art img, .row:hover .art img { transform: scale(1.05); }
.feature-img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; z-index: 0; transition: transform 0.5s ease; }
.feature:hover .feature-img { transform: scale(1.04); }
.feature::after { content: ""; position: absolute; inset: 0; z-index: 1; background: linear-gradient(100deg, rgba(12, 10, 30, 0.84) 0%, rgba(12, 10, 30, 0.58) 52%, rgba(12, 10, 30, 0.12) 100%); }
.feature-text, .feature .dur { z-index: 2; }
.art-ico { position: absolute; left: 50%; top: 50%; width: 64px; height: 64px; transform: translate(-50%, -50%); color: rgba(255, 255, 255, 0.92); filter: drop-shadow(0 8px 18px rgba(0, 0, 0, 0.2)); }
.g-card > .dur { top: 12px; right: 12px; bottom: auto; }
.g-body { padding: 16px 18px 20px; display: flex; flex-direction: column; gap: 8px; flex: 1; }
.g-cat { display: flex; align-items: center; gap: 8px; margin: 0; font-size: 0.8rem; color: var(--soft); }
.g-cat i { width: 7px; height: 7px; border-radius: 50%; }
.g-card h3 { font-size: 1rem; font-weight: 500; line-height: 1.45; flex: 1; }
.g-meta { margin: 0; font-size: 0.76rem; color: var(--muted); }
.empty, .search-note { color: var(--muted); }
.chips-row { display: flex; gap: 10px; overflow-x: auto; padding: 2px 2px 14px; margin: -8px 0 18px; scrollbar-width: none; }
.chips-row::-webkit-scrollbar { display: none; }
.chip {
	flex: none; display: inline-flex; align-items: center; gap: 8px; padding: 8px 14px; border-radius: 99px; white-space: nowrap;
	background: var(--panel); border: 1px solid var(--line); color: var(--soft); font-size: 0.85rem; text-decoration: none;
	transition: border-color 0.15s, color 0.15s, transform 0.15s;
}
.chip .i { width: 15px; height: 15px; }
.chip:hover { border-color: var(--violet); color: var(--text); transform: translateY(-1px); }
.chip.on { background: var(--text); border-color: var(--text); color: #fff; font-weight: 600; }

/* ---------------------------------------------------------------- panels */
.two-col { display: grid; grid-template-columns: minmax(0, 1.1fr) minmax(0, 1fr); gap: 20px; margin-top: 44px; }
.panel { background: var(--panel); border-radius: var(--r); padding: 26px; }
.panel h2 { font-size: 1.15rem; font-weight: 600; margin-bottom: 16px; }
.panel .muted { margin: -6px 0 16px; font-size: 0.9rem; }
.steps { list-style: none; counter-reset: s; padding: 0; margin: 0; display: grid; gap: 12px; }
.steps li { counter-increment: s; position: relative; padding: 12px 14px 12px 54px; background: var(--panel-2); border-radius: 14px; font-size: 0.9rem; color: var(--soft); }
.steps li::before {
	content: counter(s); position: absolute; left: 12px; top: 50%; transform: translateY(-50%); width: 30px; height: 30px; border-radius: 10px;
	display: grid; place-items: center; font-weight: 600; color: #fff; background: linear-gradient(135deg, var(--accent), var(--accent-2));
}
.feats { display: grid; gap: 16px; }
.feat { display: flex; gap: 14px; align-items: flex-start; }
.feat h3 { font-size: 0.95rem; font-weight: 600; }
.feat p { margin: 2px 0 0; font-size: 0.85rem; color: var(--muted); }
.faq { margin-top: 20px; }
.faq details { border-top: 1px solid var(--line); padding: 4px 0; }
.faq details:first-of-type { border-top: 0; }
.faq summary { cursor: pointer; font-weight: 500; padding: 12px 0; list-style: none; display: flex; justify-content: space-between; gap: 12px; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: "+"; color: var(--muted); font-size: 1.2rem; line-height: 1; }
.faq details[open] summary::after { content: "–"; }
.faq details p { margin: 0 0 14px; color: var(--muted); font-size: 0.9rem; }
.ad-slot:not([hidden]) { margin: 24px 0; min-height: 90px; text-align: center; }

/* ---------------------------------------------------------------- trending */
.trend-grid { display: grid; grid-template-columns: minmax(0, 1fr) 300px; gap: 24px; align-items: start; }
.rows { display: grid; gap: 18px; }
.row {
	position: relative; display: grid; grid-template-columns: 52px 210px minmax(0, 1fr) auto; gap: 22px; align-items: center;
	background: var(--panel); border-radius: var(--r); padding: 16px 22px 16px 18px; text-decoration: none; transition: transform 0.2s;
}
.row:hover { transform: translateX(4px); }
.num { font-size: 2.3rem; font-weight: 700; color: color-mix(in srgb, var(--text) 18%, transparent); line-height: 1; text-align: center; }
.row-art { position: relative; display: block; }
.row-art .art { border-radius: 16px; }
.row-art .art-ico { width: 52px; height: 52px; }
.row-art .dur { right: 10px; bottom: 10px; }
.row-body { display: flex; flex-direction: column; gap: 10px; min-width: 0; }
.row-body b { font-size: 1.1rem; font-weight: 500; line-height: 1.4; }
.row-meta { display: flex; align-items: center; flex-wrap: wrap; gap: 6px; color: var(--muted); font-size: 0.8rem; margin: 0; }
.row-meta .i { width: 15px; height: 15px; }
.sep { opacity: 0.6; }
.row-by { display: flex; align-items: center; gap: 10px; font-size: 0.85rem; }
.row-by small { display: block; color: var(--muted); font-size: 0.75rem; }
.avatar.sm { width: 32px; height: 32px; font-size: 0.8rem; font-weight: 700; background: var(--c); border-width: 2px; }
.row-go { width: 34px; height: 34px; border-radius: 50%; display: grid; place-items: center; background: var(--panel-2); color: var(--muted); }
.row:hover .row-go { background: var(--accent); color: #fff; }
.rail { display: grid; gap: 20px; position: sticky; top: 20px; }
.plats { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px 10px; }
.plats a { display: flex; flex-direction: column; align-items: center; gap: 8px; text-decoration: none; font-size: 0.78rem; color: var(--muted); }
.plats a:hover { color: var(--text); }
.avatar.lg { width: 54px; height: 54px; background: var(--c); color: #fff; border: 3px solid var(--panel-2); box-shadow: 0 0 0 2px color-mix(in srgb, var(--ink, var(--c)) 45%, transparent); }
.avatar.lg .i { width: 22px; height: 22px; }
.avatar.sm .i { width: 15px; height: 15px; }
.srch { display: block; text-decoration: none; padding: 10px 0; font-size: 0.86rem; }
.srch:hover span:first-child { color: var(--accent); }
.bar { display: block; height: 5px; border-radius: 99px; background: var(--panel-2); margin-top: 10px; overflow: hidden; }
.bar i { display: block; height: 100%; border-radius: inherit; background: linear-gradient(90deg, var(--violet), #8f7cff); }
.btn-outline { display: block; text-align: center; margin-top: 16px; padding: 11px; border-radius: 12px; border: 1px solid var(--line); text-decoration: none; font-size: 0.85rem; color: var(--soft); }
.btn-outline:hover { border-color: var(--violet); color: var(--text); }

/* ---------------------------------------------------------------- article */
.article article { max-width: 780px; }
.crumbs { display: flex; align-items: center; gap: 6px; font-size: 0.82rem; color: var(--muted); margin-bottom: 16px; }
.crumbs a { text-decoration: none; }
.crumbs a:hover { color: var(--text); }
.crumbs .i { width: 13px; height: 13px; }
.art-head h1 { font-size: clamp(1.7rem, 3.4vw, 2.4rem); font-weight: 700; margin-bottom: 12px; }
.art.banner { border-radius: var(--r); margin: 24px 0 8px; }
.art.banner .art-ico { width: 96px; height: 96px; }
.art.banner .b1 { width: 340px; height: 340px; right: -60px; top: -140px; }
.prose { font-size: 1rem; line-height: 1.8; color: var(--soft); }
.prose h2 { color: var(--text); font-size: 1.35rem; font-weight: 600; margin: 34px 0 10px; }
.prose ol, .prose ul { padding-left: 22px; }
.prose li { margin-bottom: 8px; }
.prose li::marker { color: var(--accent); font-weight: 600; }
.prose a { color: var(--accent); }
.lead { font-size: 1.12rem; color: var(--text); }
.tip { background: color-mix(in srgb, var(--violet) 14%, var(--panel)); border-left: 4px solid var(--violet); padding: 14px 18px; border-radius: 0 14px 14px 0; }
.tip b { display: block; color: var(--text); font-size: 0.8rem; text-transform: uppercase; letter-spacing: 0.08em; margin-bottom: 2px; }
.cta {
	display: flex; align-items: center; justify-content: space-between; gap: 16px; flex-wrap: wrap; margin: 34px 0 0; padding: 22px 24px;
	border-radius: var(--r); text-decoration: none; color: #fff;
	background: linear-gradient(135deg, color-mix(in srgb, var(--a) 62%, #0a0a1e), color-mix(in srgb, var(--b) 70%, #0a0a1e));
}
.cta b { display: block; font-weight: 600; }
.cta small { opacity: 0.85; }
.cta-btn { display: inline-flex; align-items: center; gap: 6px; background: #fff; color: #17162a; padding: 10px 18px; border-radius: 12px; font-weight: 600; font-size: 0.9rem; }
.cta-btn .i { width: 15px; height: 15px; }
.prose.panel { color: var(--soft); }
.prose.panel h2 { margin-top: 20px; }

/* ---------------------------------------------------------------- helpers */
.skip {
	position: fixed; left: 16px; top: -60px; z-index: 100; padding: 10px 16px; border-radius: 10px;
	background: var(--text); color: #fff; font-weight: 600; text-decoration: none; transition: top 0.15s;
}
.skip:focus { top: 12px; }
#main:focus { outline: none; }
.progress {
	position: fixed; left: 0; top: 0; z-index: 50; height: 3px; width: 100%; transform-origin: 0 50%; transform: scaleX(0);
	background: linear-gradient(90deg, var(--accent), var(--violet));
}
.fab {
	position: fixed; right: 20px; z-index: 40; display: inline-flex; align-items: center; justify-content: center; gap: 8px;
	height: 46px; min-width: 46px; border-radius: 99px; box-shadow: var(--shadow); text-decoration: none; font-weight: 600;
}
.fab.help { bottom: 20px; padding: 0 18px 0 14px; background: var(--text); color: #fff; font-size: 0.9rem; }
.fab.help::first-letter { font-weight: 700; }
.fab.top { bottom: 78px; background: var(--panel); color: var(--text); border: 1px solid var(--line); }
.fab.top .i { transform: rotate(-90deg); }
.fab:hover { transform: translateY(-2px); }
.cookie {
	position: fixed; left: 20px; bottom: 20px; z-index: 60; max-width: 440px; padding: 18px 20px; border-radius: 18px;
	background: var(--panel); border: 1px solid var(--line); box-shadow: 0 20px 50px rgba(30, 30, 70, 0.18); font-size: 0.86rem;
}
.cookie p { margin: 0 0 14px; color: var(--soft); }
.cookie a { color: var(--violet); }
.cookie div { display: flex; gap: 10px; justify-content: flex-end; }
.btn-solid, .btn-ghost { padding: 9px 16px; border-radius: 10px; font-weight: 600; font-size: 0.86rem; text-decoration: none; white-space: nowrap; }
.btn-solid { background: var(--violet); color: #fff; }
.btn-solid:hover { background: #5847d8; }
.btn-ghost { background: var(--panel-2); color: var(--text); }
.btn-ghost:hover { background: var(--line); }
.art-meta { display: flex; align-items: center; justify-content: space-between; gap: 12px; flex-wrap: wrap; }
.copy-link { display: inline-flex; align-items: center; gap: 7px; padding: 7px 13px; border-radius: 10px; background: var(--panel); border: 1px solid var(--line); font-size: 0.82rem; color: var(--soft); }
.copy-link:hover { border-color: var(--violet); color: var(--text); }
.copy-link .i { width: 15px; height: 15px; }
.contact { display: grid; gap: 4px; }
.contact-row { display: flex; align-items: center; justify-content: space-between; gap: 16px; padding: 16px 0; border-bottom: 1px solid var(--line); }
.contact-row h3 { font-size: 1rem; font-weight: 600; }
.contact-row p { margin: 4px 0 0; font-size: 0.88rem; color: var(--muted); }
.contact-row a:not(.btn-solid), .contact .muted a { color: var(--violet); }
.contact .muted { margin: 16px 0 0; }

/* ---------------------------------------------------------------- footer */
.foot { margin-top: 64px; padding: 40px 0 0; border-top: 1px solid var(--line); font-size: 0.85rem; color: var(--muted); overflow: hidden; container-type: inline-size; }
/* Giant brand name drawn in thin vertical stripes, with a purple glow sliding across the letters.
   The background paints the colour (clipped to the text); the mask cuts it into stripes and fades the bottom. */
.wordmark {
	margin: 28px 0 -0.16em; text-align: center; white-space: nowrap; user-select: none;
	/* fills the footer width whatever the brand length (≈0.6em per letter in Poppins Bold) */
	font-size: min(15rem, calc(160cqw / var(--chars, 8))); font-weight: 700; line-height: 1; letter-spacing: -0.04em;
	color: transparent; cursor: default;
	/* Idle: faint lavender. Hover: a purple glow centred on the pointer (--gx set by shell.js). */
	background: radial-gradient(var(--gr) 170% at var(--gx) 45%,
		#a855f7 0%, #c084fc 38%, rgba(192, 132, 252, 0.45) 68%, rgba(108, 92, 231, 0.16) 100%);
	transition: --gr 0.45s ease, --gx 0.12s ease-out;
	-webkit-background-clip: text; background-clip: text;
	-webkit-mask:
		repeating-linear-gradient(90deg, #000 0 max(1.5px, 0.02em), transparent max(1.5px, 0.02em) max(3.5px, 0.047em)),
		linear-gradient(to bottom, #000 55%, transparent 100%);
	-webkit-mask-composite: source-in;
	mask:
		repeating-linear-gradient(90deg, #000 0 max(1.5px, 0.02em), transparent max(1.5px, 0.02em) max(3.5px, 0.047em)),
		linear-gradient(to bottom, #000 55%, transparent 100%);
	mask-composite: intersect;
}
.wordmark:hover, .wordmark.lit { --gr: 26%; }
.wordmark span { display: inline; }
@media (max-width: 640px) {
	.foot { padding-top: 30px; }
	.foot-cols { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 28px 16px; }
	.foot-bottom { flex-direction: column; margin-top: 28px; }
	/* two lines on phones so each line can be big enough for the stripes to read */
	.wordmark { font-size: calc(158cqw / var(--chars-m, 8)); line-height: 0.92; margin-top: 20px; }
	.wordmark span { display: block; }
}
@property --gx { syntax: "<percentage>"; inherits: false; initial-value: 50%; }
@property --gr { syntax: "<percentage>"; inherits: false; initial-value: 0%; }
.foot-top { display: grid; grid-template-columns: minmax(200px, 1fr) minmax(0, 3fr); gap: 40px; }
.foot-brand .logo { margin-bottom: 12px; }
.foot-brand p { margin: 0; max-width: 32ch; line-height: 1.65; }
.foot-cols { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 24px; }
.foot-col h2 { font-size: 0.72rem; font-weight: 600; letter-spacing: 0.12em; text-transform: uppercase; color: var(--text); margin: 6px 0 16px; }
.foot-col ul { list-style: none; margin: 0; padding: 0; display: grid; gap: 12px; }
.foot-col a { display: inline-flex; align-items: center; gap: 9px; color: var(--soft); text-decoration: none; transition: color 0.15s, transform 0.15s; }
.foot-col a:hover { color: var(--violet); transform: translateX(3px); }
.f-ico { width: 22px; height: 22px; border-radius: 7px; display: grid; place-items: center; flex: none; color: var(--ink, var(--c)); background: color-mix(in srgb, var(--c) 14%, var(--panel-2)); }
.f-ico .i { width: 12px; height: 12px; }
.foot-bottom { display: flex; justify-content: space-between; align-items: flex-start; gap: 12px 32px; flex-wrap: wrap; margin-top: 36px; padding-top: 20px; border-top: 1px solid var(--line); font-size: 0.8rem; }
.foot-bottom p { margin: 0; }
.foot-bottom p:first-child { max-width: 70ch; }

a:focus-visible, button:focus-visible, select:focus-visible, summary:focus-visible { outline: 2px solid var(--violet); outline-offset: 3px; border-radius: 8px; }

/* ---------------------------------------------------------------- responsive */
@media (max-width: 1200px) {
	.cards { grid-template-columns: repeat(2, minmax(0, 1fr)); }
	.trend-grid { grid-template-columns: minmax(0, 1fr); }
	.rail { position: static; grid-template-columns: 1fr 1fr; }
}
@media (max-width: 1100px) {
	.foot-top { grid-template-columns: minmax(0, 1fr); gap: 28px; }
}
@media (max-width: 980px) {
	.app { grid-template-columns: minmax(0, 1fr); }
	.side {
		position: fixed; z-index: 30; left: 0; top: 0; width: 270px; transform: translateX(-100%);
		transition: transform 0.25s ease; box-shadow: var(--shadow); background: var(--bg);
	}
	.side.open { transform: none; }
	.scrim { display: block; position: fixed; inset: 0; z-index: 20; background: rgba(0, 0, 0, 0.5); opacity: 0; pointer-events: none; transition: opacity 0.2s; }
	.scrim.open { opacity: 1; pointer-events: auto; }
	.burger { display: grid; }
	.main { padding: 16px 20px 0; }
	.topbar { margin: -16px -20px 20px; padding: 12px 20px; }
	.hero-row, .two-col { grid-template-columns: minmax(0, 1fr); }
	.feature, .side-feature { min-height: 230px; }
}
@media (max-width: 640px) {
	.foot { padding-top: 30px; }
	.foot-cols { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 28px 16px; }
	.foot-bottom { flex-direction: column; margin-top: 28px; }
	.cookie { left: 12px; right: 12px; bottom: 12px; max-width: none; }
	.fab.help span { display: none; }
	.fab.help { padding: 0; width: 46px; bottom: 16px; right: 16px; }
	.fab.top { right: 16px; bottom: 72px; }
	.contact-row { flex-direction: column; align-items: flex-start; }
	.main { padding: 14px 16px 0; }
	.topbar { gap: 10px; margin: -14px -16px 18px; padding: 10px 16px; }
	.lang select { width: 0; padding: 0; opacity: 0; position: absolute; inset: 0; width: 100%; }
	.lang::after { display: none; }
	.hero { padding: 26px 18px 22px; min-height: 0; }
	.hero-ico { width: 140px; height: 140px; right: -20px; top: 30px; transform: rotate(-8deg); }
	.dl-form { flex-direction: column; }
	.primary { width: 100%; padding: 13px; }
	.feature { padding: 26px 22px; }
	.feature h2, .feature.big h2 { font-size: 1.4rem; }
	.cards, .cards.three { grid-template-columns: minmax(0, 1fr); }
	.result { grid-template-columns: 96px minmax(0, 1fr); gap: 12px; padding: 12px; }
	.opts { grid-template-columns: 1fr 1fr; }
	.panel { padding: 20px 18px; }
	.row { grid-template-columns: 128px minmax(0, 1fr); gap: 14px; padding: 12px 14px; }
	.row-art { grid-column: 1; grid-row: 1; }
	.row-art .dur { display: none; }
	.row-art .art { border-radius: 12px; }
	.row-art .art-ico { width: 36px; height: 36px; }
	.row-body b { font-size: 0.95rem; }
	.row-go, .row-by { display: none; }
	.num {
		grid-column: 1; grid-row: 1; align-self: start; justify-self: start; z-index: 1; margin: 6px 0 0 6px;
		font-size: 0.72rem; color: #fff; background: rgba(15, 15, 30, 0.6); padding: 1px 7px; border-radius: 6px;
	}
	.row-body { grid-column: 2; grid-row: 1; }
	.rail { grid-template-columns: minmax(0, 1fr); }
	.sec-head h2 { font-size: 1.3rem; }
}

/* ---------------------------------------------------------------- button animations */
.primary, .opt, .btn-solid, .btn-ghost, .cta-btn, .fab, .copy-link, .ghost, .btn-outline, .row-go {
	position: relative; overflow: hidden; isolation: isolate;
	transition: transform 0.18s cubic-bezier(0.34, 1.56, 0.64, 1), box-shadow 0.2s, background-color 0.2s, border-color 0.2s, color 0.2s;
}
/* light sweep on hover */
.primary::after, .opt:first-child::after, .btn-solid::after, .cta-btn::after {
	content: ""; position: absolute; inset: 0; z-index: -1; pointer-events: none;
	background: linear-gradient(110deg, transparent 30%, rgba(255, 255, 255, 0.55) 50%, transparent 70%);
	transform: translateX(-120%);
}
.btn-solid::after, .opt:first-child::after { background: linear-gradient(110deg, transparent 30%, rgba(255, 255, 255, 0.3) 50%, transparent 70%); }
.primary:hover::after, .opt:first-child:hover::after, .btn-solid:hover::after, .cta:hover .cta-btn::after { animation: sweep 0.75s ease; }
@keyframes sweep { to { transform: translateX(120%); } }

/* lift on hover, squish on press */
.primary:hover:not(:disabled) { transform: translateY(-2px); box-shadow: 0 14px 28px rgba(0, 0, 0, 0.22); }
.opt:hover { transform: translateY(-3px); box-shadow: 0 10px 22px rgba(30, 30, 70, 0.12); }
.btn-solid:hover, .btn-ghost:hover, .copy-link:hover, .btn-outline:hover { transform: translateY(-1px); }
.cta:hover .cta-btn { transform: translateX(3px); }
.fab:hover { transform: translateY(-3px) scale(1.04); }
.primary:active:not(:disabled), .opt:active, .btn-solid:active, .btn-ghost:active, .copy-link:active, .fab:active, .ghost:active, .btn-outline:active {
	transform: scale(0.95); transition-duration: 0.08s;
}

/* icons inside buttons */
.primary .i, .cta-btn .i, .sec-head a .i, .copy-link .i { transition: transform 0.25s ease; }
.primary:hover:not(:disabled) .i { animation: nudge 0.7s ease infinite; }
@keyframes nudge { 0%, 100% { transform: translateY(0); } 50% { transform: translateY(3px); } }
.cta:hover .cta-btn .i, .sec-head a:hover .i { transform: translateX(4px); }
.copy-link:hover .i { transform: rotate(-20deg); }
.fab.top:hover .i { animation: rise 0.7s ease infinite; }
@keyframes rise { 0%, 100% { transform: rotate(-90deg) translateX(0); } 50% { transform: rotate(-90deg) translateX(3px); } }

/* loading: moving stripes while fetching */
.primary.loading {
	cursor: progress; opacity: 1; color: transparent;
	background: repeating-linear-gradient(-45deg, #fff 0 12px, #ecebff 12px 24px); background-size: 34px 34px;
	animation: stripes 0.6s linear infinite;
}
.primary.loading .i { opacity: 0; }
.primary.loading::before {
	content: ""; position: absolute; left: 50%; top: 50%; width: 20px; height: 20px; margin: -10px 0 0 -10px; border-radius: 50%;
	border: 2.5px solid #6c5ce7; border-right-color: transparent; animation: spin 0.7s linear infinite;
}
@keyframes stripes { to { background-position: 34px 0; } }

/* option button states */
.opt.busy { animation: breathe 1.4s ease-in-out infinite; }
@keyframes breathe { 0%, 100% { box-shadow: 0 0 0 0 rgba(108, 92, 231, 0.35); } 50% { box-shadow: 0 0 0 7px rgba(108, 92, 231, 0); } }
.opt.done { animation: pop 0.5s cubic-bezier(0.34, 1.56, 0.64, 1); border-color: #22c55e !important; }
@keyframes pop { 0% { transform: scale(1); } 40% { transform: scale(1.07); } 100% { transform: scale(1); } }
.opt .fast { display: inline-block; animation: zap 2.4s ease-in-out infinite; }
@keyframes zap { 0%, 80%, 100% { transform: scale(1) rotate(0); } 88% { transform: scale(1.35) rotate(-12deg); } }

/* results appear one by one */
.result { animation: rise-in 0.45s cubic-bezier(0.22, 1, 0.36, 1) both; }
.result .opt { animation: rise-in 0.4s cubic-bezier(0.22, 1, 0.36, 1) both; animation-delay: calc(var(--n, 0) * 60ms + 120ms); }
@keyframes rise-in { from { opacity: 0; transform: translateY(12px); } to { opacity: 1; transform: none; } }

/* click ripple (added by shell.js) */
.ripple {
	position: absolute; z-index: -1; border-radius: 50%; pointer-events: none; transform: scale(0);
	background: currentColor; opacity: 0.22; animation: ripple 0.6s ease-out forwards;
}
.primary .ripple { background: #6c5ce7; }
@keyframes ripple { to { transform: scale(2.6); opacity: 0; } }

@media (prefers-reduced-motion: reduce) {
	*, *::before, *::after { transition: none !important; animation-duration: 0.01ms !important; scroll-behavior: auto !important; }
}

/* ---------------------------------------------------------------- print */
@media print {
	.side, .topbar, .scrim, .fab, .cookie, .progress, .skip, .cta, .copy-link, .wordmark, .ad-slot, .dl-form, .badges, .sec-head, .cards, .foot-top { display: none !important; }
	.app { display: block; }
	.main { padding: 0; }
	body { background: #fff; color: #000; font-size: 11pt; }
	.panel, .result, .feature, .hero, .tip { box-shadow: none; border: 1px solid #ccc; background: #fff !important; color: #000; }
	.hero, .feature { min-height: 0; }
	.hero-ico, .feature-ico, .blob, .art { display: none !important; }
	.prose, .prose h2, .muted, .row-meta { color: #000; }
	.prose a[href^="http"]::after { content: " (" attr(href) ")"; font-size: 0.85em; }
	h1, h2, h3 { break-after: avoid; }
	details { display: block; } details > * { display: block; }
}
