@font-face {
	font-family: 'Rubik';
	src: url('rubik-cyr.woff2') format('woff2');
	font-weight: 300 900;
	font-style: normal;
	font-display: swap;
	unicode-range: U+0301, U+0400-045F, U+0490-0491, U+04B0-04B1, U+2116;
}
@font-face {
	font-family: 'Rubik';
	src: url('rubik-lat.woff2') format('woff2');
	font-weight: 300 900;
	font-style: normal;
	font-display: swap;
	unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}
@font-face {
	font-family: 'Nunito';
	src: url('nunito-cyr.woff2') format('woff2');
	font-weight: 400 800;
	font-style: normal;
	font-display: swap;
	unicode-range: U+0301, U+0400-045F, U+0490-0491, U+04B0-04B1, U+2116;
}
@font-face {
	font-family: 'Nunito';
	src: url('nunito-lat.woff2') format('woff2');
	font-weight: 400 800;
	font-style: normal;
	font-display: swap;
	unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}

:root {
	/* chickenroad_01 — template 98. Cream page, dark-green ink, yellow + orange
	   accents; Rubik for display, Nunito for text. Cartoon arcade look: thick
	   ink outlines, "pressable" buttons with a solid drop, road and grass motifs.
	   Roles: orange = action (CTA), yellow = highlight / reward, green = ink. */
	--bg: #FFF9ED;
	--bg-2: #FFF1D6;
	--card: #FFFFFF;
	--ink: #173B2D;
	--ink-2: #24543F;
	--ink-3: #2F6B50;
	--text: #222222;
	--muted: #5A625E;
	--yellow: #FFD93D;
	--yellow-2: #FFE98A;
	--yellow-3: #FFF6CC;
	--orange: #FF922B;
	--orange-2: #FFB066;
	--orange-3: #FFF0E0;
	--orange-ink: #A04D00;
	--grass: #6DBE5A;
	--grass-2: #E6F4DF;
	--road: #38433D;
	--red: #E5484D;
	--line: #EFE3C8;
	--line-2: #E3D3AE;

	--f-display: 'Rubik', 'Trebuchet MS', system-ui, sans-serif;
	--f-text: 'Nunito', 'Segoe UI', system-ui, sans-serif;

	--r-s: 12px;
	--r-m: 18px;
	--r-l: 28px;
	--r-xl: 40px;

	--s1: 4px; --s2: 8px; --s3: 12px; --s4: 16px; --s5: 24px; --s6: 32px; --s7: 48px; --s8: 64px; --s9: 96px;

	--shadow-s: 0 2px 0 rgba(23, 59, 45, .08), 0 6px 18px rgba(23, 59, 45, .07);
	--shadow-m: 0 3px 0 rgba(23, 59, 45, .08), 0 14px 34px rgba(23, 59, 45, .10);
	--shadow-l: 0 24px 60px rgba(23, 59, 45, .16);

	--wrap: 1200px;
	--gutter: clamp(16px, 3vw, 32px);
	--header-h: 76px;
	--ease: cubic-bezier(.2, .8, .2, 1);
	--bounce: cubic-bezier(.34, 1.56, .64, 1);
}

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

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-padding-top: calc(var(--header-h) + 16px); }
body {
	margin: 0;
	background: var(--bg);
	color: var(--text);
	font: 400 clamp(1rem, .96rem + .2vw, 1.0625rem)/1.65 var(--f-text);
	overflow-x: hidden;
	-webkit-font-smoothing: antialiased;
}
img, svg, picture { max-width: 100%; }
img { height: auto; display: block; }
a { color: inherit; }
button { font: inherit; color: inherit; cursor: pointer; }
[hidden] { display: none !important; }
.sym { position: absolute; width: 0; height: 0; overflow: hidden; }
.ico { flex: none; }

:focus-visible { outline: 3px solid var(--orange); outline-offset: 3px; border-radius: 6px; }

.wrap { width: 100%; max-width: calc(var(--wrap) + var(--gutter) * 2); margin-inline: auto; padding-inline: var(--gutter); }

.skip {
	position: absolute; left: 16px; top: -60px; z-index: 100;
	padding: 10px 16px; border-radius: var(--r-s);
	background: var(--ink); color: #fff; font-weight: 700; text-decoration: none;
	transition: top .2s;
}
.skip:focus { top: 12px; }

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

.btn {
	--drop: 4px;
	display: inline-flex; align-items: center; justify-content: center; gap: 8px;
	min-height: 46px; padding: 10px 22px;
	border: 2.5px solid var(--ink); border-radius: 999px;
	background: var(--card); color: var(--ink);
	font: 700 1rem/1.1 var(--f-display); letter-spacing: .01em; text-decoration: none; white-space: nowrap;
	box-shadow: 0 var(--drop) 0 var(--ink);
	transform: translateY(0);
	transition: transform .18s var(--bounce), box-shadow .18s var(--bounce), background-color .2s;
}
.btn:hover { transform: translateY(-2px); box-shadow: 0 calc(var(--drop) + 2px) 0 var(--ink); }
.btn:active { transform: translateY(var(--drop)); box-shadow: 0 0 0 var(--ink); }
.btn--cta { background: var(--orange); }
.btn--cta:hover { background: var(--orange-2); }
.btn--ghost:hover { background: var(--yellow-3); }
.btn--ghost-light { background: transparent; color: #fff; border-color: rgba(255, 255, 255, .8); box-shadow: 0 var(--drop) 0 rgba(0, 0, 0, .35); }
.btn--ghost-light:hover { background: rgba(255, 255, 255, .12); box-shadow: 0 calc(var(--drop) + 2px) 0 rgba(0, 0, 0, .35); }
.btn--lg { min-height: 56px; padding: 14px 28px; font-size: 1.0625rem; --drop: 5px; }
.btn .ico { width: 20px; height: 20px; }

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

.site-header {
	position: sticky; top: 0; z-index: 50;
	background: rgba(255, 249, 237, .92);
	-webkit-backdrop-filter: saturate(1.4) blur(10px);
	backdrop-filter: saturate(1.4) blur(10px);
	border-bottom: 2px solid transparent;
	transition: border-color .25s, box-shadow .25s;
}
.site-header.is-stuck { border-bottom-color: var(--line); box-shadow: 0 8px 24px rgba(23, 59, 45, .08); }
.site-header__in { display: flex; align-items: center; gap: var(--s5); min-height: var(--header-h); }

.logo { display: inline-flex; align-items: center; gap: 10px; text-decoration: none; color: var(--ink); flex: none; }
.logo__mark { width: 44px; height: 44px; transition: transform .35s var(--bounce); }
.logo:hover .logo__mark { transform: rotate(-8deg) scale(1.06); }
.logo__word { display: flex; flex-direction: column; font: 900 1.25rem/.92 var(--f-display); text-transform: uppercase; letter-spacing: .02em; }
.logo__word span { color: var(--orange); -webkit-text-stroke: 1px var(--ink); paint-order: stroke fill; letter-spacing: .09em; }
.logo--light { color: #fff; }
.logo--light .logo__word span { color: var(--yellow); -webkit-text-stroke: 0; }

.main-nav { display: flex; align-items: center; gap: 4px; margin-left: auto; }
.main-nav a:not(.btn) {
	position: relative; display: inline-flex; align-items: center; gap: 7px;
	padding: 10px 14px; border-radius: 999px;
	color: var(--ink); text-decoration: none; font: 600 .975rem/1 var(--f-display);
	transition: background-color .2s, color .2s;
}
.main-nav a:not(.btn) .ico { width: 18px; height: 18px; opacity: .65; transition: transform .3s var(--bounce), opacity .2s; }
.main-nav a:not(.btn):hover { background: var(--yellow-3); }
.main-nav a:not(.btn):hover .ico { transform: translateY(-2px) rotate(-6deg); opacity: 1; }
.main-nav a[aria-current="page"] { background: var(--yellow); }
.main-nav a[aria-current="page"] .ico { opacity: 1; }
.main-nav__cta { display: none !important; }
.site-header__cta { flex: none; }

/* Language switcher (site copy, chicken-road.biz.ua): in the header from
   1024px, inside the burger panel below. */
.lsw { display: inline-flex; flex: none; gap: 2px; padding: 3px; border: 2px solid var(--ink); border-radius: 999px; background: var(--card); }
.lsw .lsw__a {
	display: inline-flex; align-items: center; justify-content: center; min-width: 36px; min-height: 30px; padding: 0 8px;
	border: 0; border-radius: 999px; background: transparent;
	color: var(--ink); text-decoration: none; font: 700 .8125rem/1 var(--f-display); letter-spacing: .04em;
	transition: background-color .2s;
}
.lsw .lsw__a:hover { background: var(--yellow-3); }
.lsw .lsw__a[aria-current="true"] { background: var(--yellow); }
.lsw--menu { display: none; }

.burger {
	display: none; position: relative; flex: none;
	width: 48px; height: 48px; padding: 0; margin-left: 4px;
	border: 2.5px solid var(--ink); border-radius: 14px; background: var(--card);
	box-shadow: 0 3px 0 var(--ink);
}
.burger__l {
	position: absolute; left: 12px; right: 12px; height: 3px; border-radius: 2px; background: var(--ink);
	transition: transform .3s var(--ease), opacity .2s;
}
.burger__l:nth-child(1) { top: 14px; }
.burger__l:nth-child(2) { top: 20.5px; }
.burger__l:nth-child(3) { top: 27px; }
.burger[aria-expanded="true"] .burger__l:nth-child(1) { transform: translateY(6.5px) rotate(45deg); }
.burger[aria-expanded="true"] .burger__l:nth-child(2) { opacity: 0; }
.burger[aria-expanded="true"] .burger__l:nth-child(3) { transform: translateY(-6.5px) rotate(-45deg); }

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

.hero {
	position: relative; overflow: hidden;
	padding: clamp(28px, 4vw, 56px) 0 clamp(64px, 7vw, 96px);
	background:
		radial-gradient(60% 70% at 85% 40%, rgba(255, 217, 61, .35), transparent 70%),
		radial-gradient(40% 50% at 5% 10%, rgba(255, 146, 43, .16), transparent 70%),
		var(--bg);
}
.hero__deco { position: absolute; pointer-events: none; border-radius: 50%; }
.hero__deco--a { width: 220px; height: 220px; left: -80px; bottom: 40px; border: 18px dashed rgba(23, 59, 45, .06); }
.hero__deco--b { width: 14px; height: 14px; right: 6%; top: 18%; background: var(--orange); box-shadow: -120px 260px 0 -3px var(--yellow), -520px 40px 0 -4px var(--ink-3); opacity: .7; }
.hero-container { position: relative; display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 7fr); gap: clamp(24px, 4vw, 56px); align-items: center; }

.hero-ui { display: flex; flex-direction: column; align-items: flex-start; gap: var(--s5); }
.hero-label {
	display: inline-flex; align-items: center; gap: 8px;
	padding: 7px 14px 7px 10px; border-radius: 999px;
	background: var(--card); border: 2px solid var(--ink); box-shadow: 0 3px 0 var(--ink);
	font: 700 .875rem/1 var(--f-display); color: var(--ink);
}
.hero-label .ico { width: 18px; height: 18px; color: var(--orange); fill: var(--yellow); }
.hero-title {
	display: block;
	font: 900 clamp(2.9rem, 1.6rem + 5.2vw, 5.6rem)/.9 var(--f-display);
	text-transform: uppercase; letter-spacing: -.01em; color: var(--ink);
}
.hero-title__acc {
	display: block; color: var(--yellow);
	-webkit-text-stroke: clamp(2px, .35vw, 4px) var(--ink); paint-order: stroke fill;
	text-shadow: 0 clamp(4px, .6vw, 7px) 0 var(--ink);
	letter-spacing: .04em;
}
.hero-facts { display: flex; flex-wrap: wrap; gap: 10px; }
.fact {
	display: flex; flex-direction: column; gap: 2px;
	min-width: 98px; padding: 10px 16px; border-radius: var(--r-m);
	background: var(--card); box-shadow: var(--shadow-s); border: 1.5px solid var(--line);
}
.fact__v { font: 800 1.35rem/1 var(--f-display); color: var(--ink); }
.fact__c { font-size: .8125rem; color: var(--muted); line-height: 1.2; }

.hero-cta { display: flex; flex-wrap: wrap; gap: 18px 14px; width: 100%; max-width: 480px; }
.hero-cta .btn { flex: 1 1 100%; text-transform: uppercase; letter-spacing: .04em; }
.hero-note { font-size: .8125rem; color: var(--muted); font-weight: 700; }

/* game screen (after the provider's page): device switch, stage, thumbs */
.screen { position: relative; display: flex; flex-direction: column; gap: 14px; min-width: 0; isolation: isolate; }
.screen__dev { display: flex; justify-content: flex-end; gap: 6px; }
.screen__dev-b {
	display: grid; place-items: center; width: 46px; height: 42px; padding: 0;
	border: 2px solid transparent; border-radius: 12px; background: transparent; color: var(--muted);
	transition: color .2s, background-color .2s, border-color .2s;
}
.screen__dev-b .ico { width: 24px; height: 24px; }
.screen__dev-b:hover { color: var(--ink); background: var(--yellow-3); }
.screen__dev-b[aria-pressed="true"] { color: var(--ink); background: var(--card); border-color: var(--ink); box-shadow: 0 3px 0 var(--ink); }
.screen__body {
	position: relative; padding: clamp(10px, 1.6vw, 18px); border-radius: var(--r-l);
	background: var(--ink); border: 4px solid var(--ink); box-shadow: var(--shadow-l);
}
.screen__body::before {
	content: ''; position: absolute; inset: 7% -2.5% -4% 3%; z-index: -1; border-radius: var(--r-xl);
	background: var(--yellow); border: 3px solid var(--ink); transform: rotate(2.5deg);
}
.screen__stage { position: relative; overflow: hidden; margin-inline: auto; border-radius: 16px; background: #1d2433; aspect-ratio: 1100 / 618; }
.screen__shot, .screen__shot img { display: block; width: 100%; height: 100%; }
.screen__shot img { object-fit: cover; border-radius: 0; }
.screen[data-device="mobile"] .screen__body { display: flex; justify-content: center; background: var(--ink-2); }
.screen[data-device="mobile"] .screen__stage {
	width: min(100%, 270px); aspect-ratio: 400 / 801; border-radius: 34px;
	border: 9px solid #0f1b16; box-shadow: 0 0 0 2px #3c5a4c;
}
.screen[data-device="mobile"] .screen__stage::after {
	content: ''; position: absolute; top: 6px; left: 50%; z-index: 3; width: 64px; height: 6px; margin-left: -32px; border-radius: 3px; background: #0f1b16;
}
.screen__thumbs { display: flex; justify-content: center; gap: 12px; flex-wrap: wrap; }
.screen__th {
	padding: 3px; border: 2.5px solid transparent; border-radius: 14px; background: var(--card); box-shadow: var(--shadow-s);
	transition: border-color .2s, transform .25s var(--bounce);
}
.screen__th img { display: block; border-radius: 10px; width: 120px; height: auto; }
.screen__th--mobile img { width: 52px; }
.screen__th:hover { transform: translateY(-3px); }
.screen__th[aria-pressed="true"] { border-color: var(--orange); box-shadow: 0 3px 0 var(--ink); }

/* «Грати на гроші» with coins, after the provider's PLAY FOR REAL bar */
.btn--real { position: relative; overflow: visible; padding-inline: 40px; background: linear-gradient(90deg, #FFBF00, var(--orange)); }
.btn--real:hover { background: linear-gradient(90deg, #FFCC33, var(--orange-2)); }
.real__coin { position: absolute; pointer-events: none; animation: cr-float 3s ease-in-out infinite; }
.real__coin--a { left: -14px; top: -16px; }
.real__coin--b { left: 16px; bottom: -14px; animation-delay: -1s; }
.real__coin--c { right: -12px; top: -12px; animation-delay: -2s; }
@keyframes cr-float { 0%, 100% { transform: translateY(0) rotate(-8deg); } 50% { transform: translateY(-6px) rotate(8deg); } }
.btn .ico[viewBox] path[fill] { stroke: none; }

/* ---- game demo ------------------------------------------------------- */

.demo-modal__box {
	position: relative; z-index: 1; display: flex; flex-direction: column; overflow: hidden;
	border-radius: var(--r-l); border: 4px solid var(--ink); background: var(--ink); box-shadow: var(--shadow-l);
}
.demo__bar { display: flex; align-items: center; gap: 6px; padding: 6px 6px 6px 16px; color: #fff; }
.demo__bar-t { flex: 1; font: 800 .9375rem/1 var(--f-display); color: var(--yellow); text-transform: uppercase; letter-spacing: .04em; }
.demo__btn {
	display: grid; place-items: center; width: 40px; height: 40px; padding: 0; border: 0; border-radius: 12px;
	background: rgba(255, 255, 255, .1); color: #fff; transition: background-color .2s;
}
.demo__btn:hover { background: rgba(255, 255, 255, .22); }
.demo__frame {
	position: relative; flex: 1; min-height: 0;
	background: radial-gradient(circle at 50% 50%, var(--ink-2), #0f281e);
}
.demo__frame::before {
	content: ''; position: absolute; left: 50%; top: 50%; width: 44px; height: 44px; margin: -22px 0 0 -22px; border-radius: 50%;
	border: 4px solid rgba(255, 255, 255, .2); border-top-color: var(--yellow); animation: cr-spin .8s linear infinite;
}
.demo__frame.is-ready::before { display: none; }
@keyframes cr-spin { to { transform: rotate(360deg); } }
.demo__iframe { position: absolute; inset: 0; width: 100%; height: 100%; border: 0; display: block; }
.demo__fail {
	position: absolute; inset: 0; z-index: 2; display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 14px;
	padding: 20px; background: rgba(15, 40, 30, .92); color: #fff; font: 700 1.05rem/1.3 var(--f-display); text-align: center;
}
:fullscreen.demo-modal__box { border: 0; border-radius: 0; width: 100%; height: 100%; aspect-ratio: auto; }

.demo-modal {
	position: fixed; inset: 0; z-index: 80; display: flex; align-items: center; justify-content: center;
	padding: clamp(0px, 3vw, 40px); background: rgba(15, 40, 30, .72); animation: cr-fade .25s ease;
}
.demo-modal[hidden] { display: none; }
.demo-modal__box { width: min(1100px, 100%); height: min(720px, 100%); animation: cr-zoom .3s var(--bounce); }
@keyframes cr-zoom { from { transform: scale(.94); opacity: 0; } }

@media (max-width: 1023px), (pointer: coarse) {
	.demo-modal { padding: 0; }
	.demo-modal__box { width: 100%; height: 100%; height: 100dvh; border: 0; border-radius: 0; padding-top: env(safe-area-inset-top); padding-bottom: env(safe-area-inset-bottom); }
}

/* ---- inner-page band ------------------------------------------------- */

.band {
	position: relative; padding: clamp(20px, 3vw, 32px) 0 74px;
	background: radial-gradient(50% 120% at 90% 0%, rgba(255, 217, 61, .35), transparent 70%), var(--bg-2);
}
.band__in { display: flex; flex-direction: column; gap: var(--s5); }
.band__road {
	position: absolute; left: 0; right: 0; bottom: 0; height: 44px;
	background:
		linear-gradient(90deg, rgba(255, 255, 255, .85) 50%, transparent 0) 0 50% / 56px 4px repeat-x,
		var(--road);
	border-top: 6px solid var(--grass);
}
.band__walker { position: absolute; bottom: 10px; left: 0; animation: cr-walk 18s linear infinite; }
.band__walker svg { display: block; animation: cr-waddle .5s ease-in-out infinite alternate; transform-origin: 50% 100%; }
@keyframes cr-walk { from { transform: translateX(-60px); } to { transform: translateX(100vw); } }
@keyframes cr-waddle { from { transform: rotate(-5deg); } to { transform: rotate(5deg) translateY(-2px); } }

.crumbs { display: flex; flex-wrap: wrap; align-items: center; gap: 6px; font: 600 .875rem/1.3 var(--f-display); color: var(--muted); }
.crumbs a { color: var(--ink); text-decoration: none; border-bottom: 2px solid var(--yellow); }
.crumbs a:hover { border-color: var(--orange); }
.crumbs .ico { width: 14px; height: 14px; opacity: .5; }

/* review game card */
.gcard {
	display: grid; grid-template-columns: auto minmax(0, 1fr) auto; gap: var(--s5); align-items: center;
	padding: var(--s5); border-radius: var(--r-l); background: var(--card);
	border: 2.5px solid var(--ink); box-shadow: 0 6px 0 var(--ink);
}
.gcard__art { display: grid; place-items: center; width: 120px; height: 120px; border-radius: 26px; background: var(--yellow); border: 2.5px solid var(--ink); }
.gcard__art svg { animation: cr-waddle .9s ease-in-out infinite alternate; transform-origin: 50% 100%; }
.gcard__body { display: flex; flex-direction: column; gap: 12px; }
.gcard__t { font: 900 clamp(1.4rem, 1.1rem + 1vw, 1.9rem)/1 var(--f-display); color: var(--ink); text-transform: uppercase; }
.gcard__facts { display: flex; flex-wrap: wrap; gap: 8px; }
.gcard__f { display: inline-flex; gap: 6px; padding: 6px 12px; border-radius: 999px; background: var(--bg); border: 1.5px solid var(--line-2); font-size: .875rem; }
.gcard__k { color: var(--muted); }
.gcard__v { font-weight: 800; color: var(--ink); }
.gcard__cta { display: flex; flex-direction: column; gap: 12px; }

/* ---- content layout -------------------------------------------------- */

.content-layout {
	display: grid; grid-template-columns: minmax(0, 1fr) 320px; gap: clamp(24px, 3vw, 40px); align-items: start;
	padding-top: clamp(8px, 2vw, 24px); padding-bottom: clamp(48px, 6vw, 88px);
}
.content-layout--single { grid-template-columns: minmax(0, 880px); justify-content: center; }
.band + .content-layout { padding-top: clamp(24px, 3vw, 40px); }

/* ---- sidebar --------------------------------------------------------- */

.sidebar { position: sticky; top: calc(var(--header-h) + 20px); display: flex; flex-direction: column; gap: var(--s4); }
.sidebar-card { border-radius: var(--r-l); background: var(--card); padding: var(--s5); box-shadow: var(--shadow-m); border: 1.5px solid var(--line); }
.sidebar-title { display: block; font: 800 1.125rem/1.2 var(--f-display); color: var(--ink); }

.sidebar-card--game {
	position: relative; overflow: hidden; padding: 0 0 var(--s5);
	background: linear-gradient(180deg, var(--ink-2), var(--ink)); border: 0; color: #fff;
	display: flex; flex-direction: column; gap: 6px;
}
.sidebar-card__art { display: block; aspect-ratio: 640 / 420; background: var(--grass); }
.sidebar-card__art img { width: 100%; height: 100%; object-fit: cover; transition: transform .6s var(--ease); }
.sidebar-card--game:hover .sidebar-card__art img { transform: scale(1.04); }
.sidebar-card--game .sidebar-title { color: var(--yellow); font-size: 1.5rem; text-transform: uppercase; font-weight: 900; padding: 14px var(--s5) 0; }
.sidebar-card__sub { padding: 0 var(--s5); font-size: .9375rem; color: rgba(255, 255, 255, .82); }
.sidebar-card__cta { display: flex; gap: 10px; padding: 12px var(--s5) 0; }
.sidebar-card__cta .btn { flex: 1; min-height: 44px; padding-inline: 14px; }

.table-of-contents { padding: var(--s5) var(--s4) var(--s4); border-radius: var(--r-l); background: var(--card); box-shadow: var(--shadow-m); border: 1.5px solid var(--line); }
.toc__head { display: flex; align-items: center; gap: 8px; padding-inline: 8px; color: var(--ink); }
.toc__head .ico { color: var(--orange); }
.toc__road {
	position: relative; display: block; height: 12px; margin: 14px 8px 10px; border-radius: 6px;
	background: linear-gradient(90deg, rgba(255, 255, 255, .9) 50%, transparent 0) 0 50% / 16px 2px repeat-x, var(--road);
}
.toc__road::before { content: ''; position: absolute; inset: 0 auto 0 0; width: var(--read, 0%); border-radius: 6px; background: var(--yellow); }
.toc__chick { position: absolute; bottom: 2px; left: var(--read, 0%); transform: translateX(-50%); transition: left .15s linear; }
.toc__chick svg { display: block; }
.toc__list { display: flex; flex-direction: column; gap: 2px; max-height: calc(100vh - var(--header-h) - 420px); min-height: 120px; overflow-y: auto; overscroll-behavior: contain; scrollbar-width: thin; }
.toc__a {
	position: relative; display: block; padding: 8px 10px 8px 26px; border-radius: 12px;
	color: var(--text); text-decoration: none; font-size: .9375rem; line-height: 1.35;
	transition: background-color .2s, color .2s;
}
.toc__a::before {
	content: ''; position: absolute; left: 10px; top: 15px; width: 8px; height: 8px; border-radius: 50%;
	border: 2px solid var(--line-2); background: var(--card); transition: background-color .2s, border-color .2s, transform .25s var(--bounce);
}
.toc__a--h3 { padding-left: 42px; font-size: .875rem; color: var(--muted); }
.toc__a--h3::before { left: 26px; width: 6px; height: 6px; top: 15px; }
.toc__a:hover { background: var(--bg); color: var(--ink); }
.toc__a.is-active { background: var(--yellow-3); color: var(--ink); font-weight: 700; }
.toc__a.is-active::before { background: var(--orange); border-color: var(--ink); transform: scale(1.3); }

.lv-list { display: flex; flex-direction: column; gap: 12px; margin-top: 14px; }
.lv { display: grid; grid-template-columns: 90px minmax(0, 1fr); align-items: center; gap: 12px; font: 600 .9375rem/1.2 var(--f-display); color: var(--ink); }
.lv__bar { position: relative; height: 12px; border-radius: 6px; background: var(--bg-2); overflow: hidden; border: 1.5px solid var(--line-2); }
.lv__bar i { position: absolute; inset: 0 auto 0 0; width: var(--w); border-radius: 6px; background: linear-gradient(90deg, var(--yellow), var(--orange)); transform-origin: left; }
.lv--hardcore .lv__bar i { background: linear-gradient(90deg, var(--orange), var(--red)); }
.js .lv__bar i { transform: scaleX(0); transition: transform .9s var(--ease); }
.js .is-in .lv__bar i { transform: scaleX(1); }

.sidebar-card--safe { display: grid; grid-template-columns: auto 1fr; gap: 2px 14px; align-items: center; background: var(--grass-2); border-color: #CDE8C2; }
.sidebar-card--safe .age { grid-row: span 2; }
.safe__t { font: 800 1rem/1.2 var(--f-display); color: var(--ink); }
.safe__s { font-size: .875rem; color: var(--muted); line-height: 1.35; }

.age {
	display: inline-grid; place-items: center; width: 52px; height: 52px; border-radius: 50%;
	border: 3px solid var(--ink); background: var(--card); color: var(--ink);
	font: 900 1rem/1 var(--f-display);
}
.age--light { border-color: var(--yellow); background: transparent; color: var(--yellow); }

/* ---- article: the design system for future content ------------------- */

.article-content {
	min-width: 0;
	padding: clamp(22px, 4vw, 56px);
	border-radius: var(--r-l);
	background: var(--card);
	box-shadow: var(--shadow-m);
	border: 1.5px solid var(--line);
	color: var(--text);
	overflow-wrap: anywhere;
	counter-reset: cr-h2;
}
.article-content > :first-child { margin-top: 0; }
.article-content > :last-child { margin-bottom: 0; }
.article-content > * { max-width: 76ch; }
.article-content > .table-scroll, .article-content > figure, .article-content > .image-wrapper,
.article-content > .pros-cons, .article-content > .highlight-block, .article-content > .comparison-table,
.article-content > .content-card, .article-content > hr { max-width: none; }

.article-content h1, .article-content h2, .article-content h3,
.article-content h4, .article-content h5, .article-content h6 {
	font-family: var(--f-display); color: var(--ink); line-height: 1.18; letter-spacing: -.005em;
	margin: 1.8em 0 .6em; text-wrap: balance;
	scroll-margin-top: calc(var(--header-h) + 20px);
}
.article-content h1 { font-size: clamp(1.85rem, 1.3rem + 2.3vw, 3rem); font-weight: 900; line-height: 1.08; margin-top: 0; }
.article-content h1::after {
	content: ''; display: block; width: 120px; height: 10px; margin-top: 18px; border-radius: 5px;
	background: repeating-linear-gradient(90deg, var(--yellow) 0 22px, transparent 22px 32px);
}
.article-content h2 { font-size: clamp(1.45rem, 1.15rem + 1.2vw, 2.05rem); font-weight: 800; position: relative; padding-top: 18px; }
.article-content h2::before {
	content: ''; position: absolute; top: 0; left: 0; width: 46px; height: 6px; border-radius: 3px;
	background: var(--orange);
}
.article-content h3 { font-size: clamp(1.2rem, 1.05rem + .6vw, 1.5rem); font-weight: 700; }
.article-content h4 { font-size: 1.15rem; font-weight: 700; }
.article-content h5 { font-size: 1.025rem; font-weight: 700; }
.article-content h6 { font-size: .9rem; font-weight: 700; text-transform: uppercase; letter-spacing: .08em; color: var(--ink-3); }
.article-content h1 + *, .article-content h2 + *, .article-content h3 + *, .article-content h4 + * { margin-top: 0; }

.article-content p { margin: 0 0 1.05em; }
.article-content a {
	color: var(--ink-2); font-weight: 700; text-decoration: none;
	background: linear-gradient(var(--yellow), var(--yellow)) 0 100% / 100% 3px no-repeat;
	transition: background-size .25s var(--ease), color .2s;
}
.article-content a:hover { background-size: 100% 100%; color: var(--ink); }
.article-content strong, .article-content b { font-weight: 800; color: var(--ink); }
.article-content em, .article-content i { font-style: italic; }
.article-content mark { background: var(--yellow-2); padding: 0 .2em; border-radius: 4px; }
.article-content code { font: .9em/1.4 ui-monospace, Consolas, monospace; background: var(--bg); border: 1px solid var(--line); padding: .1em .35em; border-radius: 6px; }
.article-content small { font-size: .85em; color: var(--muted); }

.article-content ul, .article-content ol { margin: 0 0 1.2em; padding: 0; list-style: none; }
.article-content li { position: relative; padding-left: 34px; margin-bottom: .5em; }
.article-content li > ul, .article-content li > ol { margin: .5em 0 0; }
.article-content ul > li::before {
	content: ''; position: absolute; left: 6px; top: .48em; width: 12px; height: 12px; border-radius: 50%;
	background: var(--yellow); border: 2.5px solid var(--ink);
}
.article-content ul ul > li::before { width: 9px; height: 9px; background: var(--orange); border-width: 2px; top: .58em; }
.article-content ol { counter-reset: cr-ol; }
.article-content ol > li { counter-increment: cr-ol; }
.article-content ol > li::before {
	content: counter(cr-ol); position: absolute; left: 0; top: .1em;
	display: grid; place-items: center; width: 24px; height: 24px; border-radius: 8px;
	background: var(--ink); color: var(--yellow); font: 800 .8rem/1 var(--f-display);
}

.table-scroll {
	position: relative; overflow-x: auto; margin: 1.6em 0; border-radius: var(--r-m);
	border: 1.5px solid var(--line-2); background: var(--card); -webkit-overflow-scrolling: touch;
	scrollbar-width: thin; scrollbar-color: var(--orange) var(--bg);
}
.table-scroll:focus-visible { outline-offset: 2px; }
.article-content table { width: 100%; min-width: 520px; border-collapse: collapse; font-size: .9375rem; line-height: 1.45; }
.article-content th, .article-content td { padding: 12px 16px; text-align: left; vertical-align: top; border-bottom: 1px solid var(--line); }
.article-content thead th, .article-content table tr:first-child > th {
	background: var(--ink); color: #fff; font: 700 .875rem/1.3 var(--f-display); text-transform: uppercase; letter-spacing: .04em; border-bottom: 0;
}
.article-content tbody tr:nth-child(even) { background: var(--bg); }
.article-content tbody tr { transition: background-color .2s; }
.article-content tbody tr:hover { background: var(--yellow-3); }
.article-content tbody tr:last-child td { border-bottom: 0; }
.article-content td:first-child { font-weight: 700; color: var(--ink); }
.article-content caption { caption-side: bottom; padding: 10px 16px; font-size: .8125rem; color: var(--muted); text-align: left; }

.article-content blockquote {
	position: relative; margin: 1.8em 0; padding: 26px 28px 22px 72px; border-radius: var(--r-m);
	background: var(--yellow-3); border-left: 6px solid var(--yellow);
	font-size: 1.075em; font-weight: 600; color: var(--ink);
}
.article-content blockquote::before {
	content: '“'; position: absolute; left: 18px; top: 4px;
	font: 900 4.2rem/1 var(--f-display); color: var(--orange);
}
.article-content blockquote p:last-child { margin-bottom: 0; }
.article-content blockquote cite { display: block; margin-top: 10px; font-size: .875rem; font-style: normal; font-weight: 700; color: var(--muted); }

.article-content figure { margin: 1.8em 0; }
.article-content img { max-width: 100%; height: auto; border-radius: var(--r-m); background: var(--bg-2); }
.article-content figure img { width: 100%; }
.article-content figcaption { margin-top: 10px; padding-left: 14px; border-left: 3px solid var(--orange); font-size: .875rem; color: var(--muted); line-height: 1.45; }

.article-content details {
	margin: 0 0 12px; border-radius: var(--r-m); background: var(--card);
	border: 2px solid var(--line-2); transition: border-color .25s, box-shadow .25s;
}
.article-content details[open] { border-color: var(--ink); box-shadow: 0 4px 0 var(--ink); }
.article-content summary {
	position: relative; display: block; padding: 16px 56px 16px 20px; cursor: pointer; list-style: none;
	font: 700 1.0625rem/1.35 var(--f-display); color: var(--ink); border-radius: var(--r-m);
}
.article-content summary::-webkit-details-marker { display: none; }
.article-content summary::after {
	content: ''; position: absolute; right: 16px; top: 50%; width: 28px; height: 28px; margin-top: -14px; border-radius: 50%;
	background:
		linear-gradient(var(--ink), var(--ink)) center / 12px 2.5px no-repeat,
		linear-gradient(var(--ink), var(--ink)) center / 2.5px 12px no-repeat,
		var(--yellow);
	transition: transform .3s var(--bounce);
}
.article-content details[open] > summary::after {
	transform: rotate(180deg);
	background: linear-gradient(var(--ink), var(--ink)) center / 12px 2.5px no-repeat, var(--orange);
}
.article-content summary:hover { background: var(--bg); }
.article-content details > :not(summary) { margin-inline: 20px; }
.article-content details > :last-child { margin-bottom: 18px; }
.details__body { overflow: hidden; }

.article-content hr {
	height: 14px; margin: 2.4em 0; border: 0; border-radius: 7px;
	background: linear-gradient(90deg, #fff 50%, transparent 0) 0 50% / 28px 3px repeat-x, var(--road);
	box-shadow: 0 -4px 0 var(--grass), 0 4px 0 var(--grass);
}

/* components */

.article-content .info-box,
.article-content .warning-box {
	position: relative; margin: 1.6em 0; padding: 20px 22px 20px 70px; border-radius: var(--r-m);
	max-width: none;
}
.article-content .info-box > :last-child, .article-content .warning-box > :last-child { margin-bottom: 0; }
.article-content .info-box::before, .article-content .warning-box::before {
	content: ''; position: absolute; left: 18px; top: 18px; width: 36px; height: 36px; border-radius: 12px;
	background-position: center; background-repeat: no-repeat; background-size: 22px;
}
.article-content .info-box { background: var(--grass-2); border: 2px solid #BFE0B1; }
.article-content .info-box::before {
	background-color: var(--ink);
	background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23FFD93D' stroke-width='2.6' stroke-linecap='round'%3E%3Cpath d='M12 11v6M12 7.2v.1'/%3E%3C/svg%3E");
}
.article-content .warning-box { background: var(--orange-3); border: 2px solid var(--orange-2); }
.article-content .warning-box::before {
	background-color: var(--orange);
	background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23173B2D' stroke-width='2.6' stroke-linecap='round'%3E%3Cpath d='M12 7v6M12 16.8v.1'/%3E%3C/svg%3E");
	border: 2px solid var(--ink);
}
.article-content .info-box :is(h2, h3, h4, h5, h6), .article-content .warning-box :is(h2, h3, h4, h5, h6) { margin: 0 0 .4em; padding: 0; font-size: 1.1rem; }
.article-content .info-box h2::before, .article-content .warning-box h2::before { display: none; }

.article-content .content-card {
	margin: 1.6em 0; padding: clamp(18px, 3vw, 28px); border-radius: var(--r-l);
	background: var(--card); border: 2.5px solid var(--ink); box-shadow: 0 6px 0 var(--ink);
	transition: transform .25s var(--bounce), box-shadow .25s var(--bounce);
}
.article-content .content-card:hover { transform: translateY(-3px); box-shadow: 0 9px 0 var(--ink); }
.article-content .content-card > :first-child { margin-top: 0; }
.article-content .content-card > :last-child { margin-bottom: 0; }
.article-content .content-card :is(h2, h3, h4) { padding-top: 0; }
.article-content .content-card h2::before { display: none; }

.article-content .pros-cons { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 16px; margin: 1.6em 0; }
.article-content .pros-cons > * { margin: 0; padding: 20px 22px; border-radius: var(--r-m); border: 2px solid; }
.article-content .pros-cons > :first-child { background: var(--grass-2); border-color: #BFE0B1; }
.article-content .pros-cons > :last-child:not(:first-child) { background: var(--orange-3); border-color: var(--orange-2); }
.article-content .pros-cons :is(h2, h3, h4, h5) { margin: 0 0 12px; padding: 0; font-size: 1.1rem; }
.article-content .pros-cons h2::before { display: none; }
.article-content .pros-cons ul { margin: 0; }
.article-content .pros-cons > * > :last-child { margin-bottom: 0; }
.article-content .pros-cons li { padding-left: 32px; }
.article-content .pros-cons li::before {
	content: ''; left: 0; top: .15em; width: 22px; height: 22px; border-radius: 50%; border: 0;
	background: var(--ink) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23FFD93D' stroke-width='3.4' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='m6 12.5 4 4 8-9'/%3E%3C/svg%3E") center / 14px no-repeat;
}
.article-content .pros-cons > :last-child:not(:first-child) li::before {
	background: var(--orange) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23173B2D' stroke-width='3.4' stroke-linecap='round'%3E%3Cpath d='M7 7l10 10M17 7 7 17'/%3E%3C/svg%3E") center / 13px no-repeat;
}

.article-content .faq { margin: 1.6em 0; }
.article-content .faq > :is(h2, h3) { margin-bottom: .8em; }

.article-content .comparison-table { margin: 1.6em 0; }
.article-content .comparison-table .table-scroll, .article-content .table-scroll:has(> table.comparison-table) { border: 2.5px solid var(--ink); box-shadow: 0 5px 0 var(--ink); }
.article-content table.comparison-table, .article-content .comparison-table table { margin: 0; }
.article-content :is(table.comparison-table, .comparison-table table) th:not(:first-child),
.article-content :is(table.comparison-table, .comparison-table table) td:not(:first-child) { text-align: center; }
.article-content :is(table.comparison-table, .comparison-table table) tbody td:first-child { background: var(--bg-2); }
.article-content :is(table.comparison-table, .comparison-table table) thead th:nth-child(2) { background: var(--orange); color: var(--ink); }
.article-content :is(table.comparison-table, .comparison-table table) tbody td:nth-child(2) { background: rgba(255, 146, 43, .1); font-weight: 800; }

.article-content .image-wrapper {
	position: relative; margin: 1.8em 0; padding: 10px; border-radius: calc(var(--r-l) + 4px);
	background: repeating-linear-gradient(-45deg, var(--yellow) 0 14px, var(--ink) 14px 28px);
}
.article-content .image-wrapper img { width: 100%; border-radius: var(--r-m); border: 3px solid var(--ink); }
/* Portrait phone screenshot (site copy): a narrow frame, centred. */
.article-content .image-wrapper--phone { width: fit-content; max-width: min(100%, 340px); margin-inline: auto; }
.article-content .image-wrapper figcaption, .article-content .image-wrapper > :not(img, picture) {
	margin: 10px 0 0; padding: 8px 14px; border: 0; border-radius: var(--r-s); background: var(--card); color: var(--ink); font-weight: 600;
}
.article-content .image-wrapper > :last-child { margin-bottom: 0; }

.article-content .highlight-block {
	position: relative; overflow: hidden; margin: 1.8em 0; padding: clamp(22px, 3vw, 32px) clamp(22px, 3vw, 32px) clamp(22px, 3vw, 32px) clamp(22px, 3vw, 32px);
	border-radius: var(--r-l); color: #fff;
	background:
		radial-gradient(70% 120% at 100% 0%, rgba(255, 217, 61, .28), transparent 60%),
		linear-gradient(135deg, var(--ink-2), var(--ink));
}
.article-content .highlight-block::after {
	content: ''; position: absolute; right: -18px; bottom: -22px; width: 120px; height: 130px; opacity: .16;
	background: url("../img/logo-mark.svg") center / contain no-repeat;
	transform: rotate(-12deg);
}
.article-content .highlight-block > * { position: relative; z-index: 1; max-width: 62ch; }
.article-content .highlight-block :is(h2, h3, h4, h5, h6, strong) { color: var(--yellow); }
.article-content .highlight-block h2 { padding-top: 0; }
.article-content .highlight-block h2::before { display: none; }
.article-content .highlight-block a { color: #fff; }
.article-content .highlight-block a:hover { color: var(--ink); }
.article-content .highlight-block > :first-child { margin-top: 0; }
.article-content .highlight-block > :last-child { margin-bottom: 0; }
.article-content .highlight-block li::before { border-color: var(--yellow); }

/* ---- landing finale -------------------------------------------------- */

.finale {
	display: flex; flex-direction: column; align-items: center; gap: var(--s4); text-align: center;
	margin-bottom: clamp(48px, 6vw, 88px); padding: clamp(28px, 5vw, 56px) var(--gutter);
	border-radius: var(--r-xl); background: var(--yellow); border: 3px solid var(--ink); box-shadow: 0 8px 0 var(--ink);
	max-width: calc(var(--wrap) - 2 * var(--gutter));
}
.finale__art svg { display: block; animation: cr-waddle .7s ease-in-out infinite alternate; transform-origin: 50% 100%; }
.finale__t { font: 900 clamp(1.6rem, 1.2rem + 1.8vw, 2.6rem)/1.05 var(--f-display); color: var(--ink); text-transform: uppercase; max-width: 22ch; }
.finale__cta { display: flex; flex-wrap: wrap; justify-content: center; gap: 14px; }
.finale .btn--ghost { background: var(--card); }
.finale .hero-note { color: var(--ink); }

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

.site-footer { position: relative; background: var(--ink); color: rgba(255, 255, 255, .82); }
.foot-road { position: relative; height: 66px; background: linear-gradient(var(--bg) 0 24px, transparent 24px); }
.foot-road__grass { position: absolute; left: 0; right: 0; top: 0; width: 100%; height: 24px; }
.foot-road__strip {
	position: absolute; left: 0; right: 0; top: 22px; bottom: 0;
	background: linear-gradient(90deg, rgba(255, 255, 255, .8) 50%, transparent 0) 0 50% / 56px 4px repeat-x, var(--road);
	border-top: 4px solid var(--grass);
	border-bottom: 4px solid var(--grass);
}
.foot-road__chick { position: absolute; bottom: 8px; left: 0; animation: cr-walk 24s linear infinite; animation-delay: -8s; }
.foot-road__chick svg { display: block; animation: cr-waddle .5s ease-in-out infinite alternate; transform-origin: 50% 100%; }

.footer-inner {
	display: grid; grid-template-columns: minmax(0, 1.5fr) repeat(2, minmax(0, 1fr)) minmax(0, 1.2fr);
	gap: clamp(24px, 4vw, 48px); padding-top: clamp(40px, 5vw, 64px); padding-bottom: clamp(32px, 4vw, 48px);
}
.foot__brand { display: flex; flex-direction: column; align-items: flex-start; gap: var(--s4); }
.footer-label { display: block; font-size: .9rem; line-height: 1.55; color: rgba(255, 255, 255, .72); }
.foot__col { display: flex; flex-direction: column; align-items: flex-start; gap: 4px; }
.foot__t { display: block; margin-bottom: 10px; font: 800 .875rem/1 var(--f-display); text-transform: uppercase; letter-spacing: .1em; color: var(--yellow); }
.foot__col a { display: inline-block; padding: 5px 0; color: rgba(255, 255, 255, .86); text-decoration: none; font-weight: 600; transition: color .2s, transform .25s var(--bounce); }
.foot__col a:hover { color: var(--yellow); transform: translateX(4px); }
.foot__col a[aria-current="page"] { color: var(--yellow); }
.foot__safe-row { display: flex; align-items: center; gap: 12px; margin-bottom: 10px; }
.foot__safe-row .ico { width: 36px; height: 36px; color: var(--grass); }
.foot__base {
	display: flex; flex-wrap: wrap; justify-content: space-between; gap: 8px 24px;
	padding-top: 20px; padding-bottom: calc(20px + env(safe-area-inset-bottom));
	border-top: 1px solid rgba(255, 255, 255, .12); font-size: .8125rem; color: rgba(255, 255, 255, .6);
}

/* ---- floating controls ----------------------------------------------- */

.to-top {
	position: fixed; right: max(16px, env(safe-area-inset-right)); bottom: max(16px, env(safe-area-inset-bottom)); z-index: 40;
	display: grid; place-items: center; width: 52px; height: 52px; padding: 0;
	border: 2.5px solid var(--ink); border-radius: 50%; background: var(--yellow); color: var(--ink);
	box-shadow: 0 4px 0 var(--ink);
	opacity: 0; transform: translateY(16px) scale(.8); pointer-events: none;
	transition: opacity .3s, transform .3s var(--bounce), box-shadow .2s;
}
.to-top.is-on { opacity: 1; transform: none; pointer-events: auto; }
.to-top:hover { transform: translateY(-3px); box-shadow: 0 7px 0 var(--ink); }
.to-top .ico { width: 24px; height: 24px; }

.toc-fab {
	position: fixed; left: max(16px, env(safe-area-inset-left)); bottom: max(16px, env(safe-area-inset-bottom)); z-index: 40;
	display: none; align-items: center; gap: 8px; min-height: 48px; padding: 0 18px;
	border: 2.5px solid var(--ink); border-radius: 999px; background: var(--card); color: var(--ink);
	font: 700 .95rem/1 var(--f-display); box-shadow: 0 4px 0 var(--ink);
	opacity: 0; transform: translateY(16px); pointer-events: none; transition: opacity .3s, transform .3s var(--bounce);
}
.toc-fab.is-on { opacity: 1; transform: none; pointer-events: auto; }
.toc-fab .ico { color: var(--orange); }

.toc-sheet { position: fixed; inset: 0; z-index: 70; display: flex; align-items: flex-end; background: rgba(23, 59, 45, .45); animation: cr-fade .25s ease; }
.toc-sheet[hidden] { display: none; }
.toc-sheet__panel {
	width: 100%; max-height: 78vh; display: flex; flex-direction: column; gap: 10px;
	padding: 18px 16px calc(18px + env(safe-area-inset-bottom)); border-radius: 28px 28px 0 0; background: var(--card);
	animation: cr-up .35s var(--ease);
}
.toc-sheet__head { display: flex; align-items: center; justify-content: space-between; padding-inline: 8px; }
.toc-sheet__x { display: grid; place-items: center; width: 44px; height: 44px; padding: 0; border: 2px solid var(--line-2); border-radius: 50%; background: var(--bg); }
.toc-sheet__list { max-height: none; overflow-y: auto; }
.toc-sheet .toc__a { padding-top: 12px; padding-bottom: 12px; }
.toc-sheet .toc__a::before { top: 19px; }
@keyframes cr-fade { from { opacity: 0; } }
@keyframes cr-up { from { transform: translateY(100%); } }

/* ---- reveal on scroll ------------------------------------------------ */

.js .reveal { opacity: 0; transform: translateY(22px); transition: opacity .6s var(--ease), transform .6s var(--ease); }
.js .reveal.is-in { opacity: 1; transform: none; }

/* ---- responsive ------------------------------------------------------ */

@media (min-width: 1440px) {
	:root { --wrap: 1200px; }
	.hero { padding-top: 64px; }
}

@media (max-width: 1180px) {
	.main-nav a:not(.btn) .ico { display: none; }
	.main-nav a:not(.btn) { padding-inline: 11px; }
}

@media (max-width: 1023px) {
	:root { --header-h: 68px; }
	.burger { display: block; }
	.site-header__cta { margin-left: auto; }
	.main-nav {
		position: fixed; left: 0; right: 0; top: var(--header-h); z-index: 49;
		flex-direction: column; align-items: stretch; gap: 6px; margin: 0;
		max-height: calc(100vh - var(--header-h)); overflow-y: auto;
		padding: 16px var(--gutter) 24px; background: var(--bg);
		border-bottom: 3px solid var(--ink); box-shadow: 0 24px 40px rgba(23, 59, 45, .18);
		opacity: 0; visibility: hidden; transform: translateY(-12px);
		transition: opacity .25s, transform .3s var(--ease), visibility 0s .3s;
	}
	.main-nav.is-open { opacity: 1; visibility: visible; transform: none; transition: opacity .25s, transform .3s var(--ease); }
	.main-nav a:not(.btn) { padding: 14px 16px; font-size: 1.0625rem; border-radius: var(--r-m); background: var(--card); border: 1.5px solid var(--line); }
	.main-nav a:not(.btn) .ico { display: block; }
	.main-nav a[aria-current="page"] { background: var(--yellow); border-color: var(--ink); }
	.main-nav__cta { display: inline-flex !important; margin-top: 10px; min-height: 54px; }
	.lsw--head { display: none; }
	.lsw--menu { display: inline-flex; align-self: center; margin-top: 8px; }
	.main-nav .lsw .lsw__a { min-width: 52px; min-height: 40px; padding: 0 12px; font-size: .9375rem; border: 0; }

	.hero-container { grid-template-columns: 1fr; }
	.hero-ui { align-items: stretch; }
	.hero-label { align-self: flex-start; }
	.hero-visual { max-width: 720px; width: 100%; margin-inline: auto; }
	.screen__dev { justify-content: center; }

	.content-layout { grid-template-columns: minmax(0, 1fr); }
	.sidebar { position: static; display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); }
	.sidebar .table-of-contents { display: none; }
	.toc-fab { display: inline-flex; }
	.toc-fab[hidden] { display: none; }

	.footer-inner { grid-template-columns: repeat(2, minmax(0, 1fr)); }
	.gcard { grid-template-columns: auto minmax(0, 1fr); }
	.gcard__cta { grid-column: 1 / -1; flex-direction: row; }
	.gcard__cta .btn { flex: 1; }
}

@media (max-width: 767px) {
	.site-header__cta { padding-inline: 16px; min-height: 42px; }
	.site-header__cta .ico { display: none; }
	.logo__mark { width: 38px; height: 38px; }
	.logo__word { font-size: 1.05rem; }
	.hero-cta .btn { flex: 1 1 100%; }
	.hero-facts { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); }
	.fact { min-width: 0; padding: 12px 8px; align-items: center; justify-content: center; gap: 5px; text-align: center; }
	.fact__c { text-wrap: balance; }
	.screen__th img { width: 84px; }
	.screen__th--mobile img { width: 40px; }
	.sidebar { grid-template-columns: minmax(0, 1fr); }
	.article-content { border-radius: var(--r-m); }
	.article-content li { padding-left: 30px; }
	.article-content .info-box, .article-content .warning-box { padding: 66px 18px 18px; }
	.article-content blockquote { padding: 52px 20px 20px; }
	.article-content .pros-cons { grid-template-columns: minmax(0, 1fr); }
	.footer-inner { grid-template-columns: minmax(0, 1fr); }
	.gcard { grid-template-columns: minmax(0, 1fr); text-align: left; }
	.gcard__art { width: 88px; height: 88px; }
	.gcard__art svg { width: 70px; height: 76px; }
	.to-top { width: 48px; height: 48px; }
}

@media (max-width: 380px) {
	.site-header__cta { display: none; }
	.burger { margin-left: auto; }
	.hero-facts { grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 6px; }
	.fact__v { font-size: 1.1rem; }
}

@media (prefers-reduced-motion: reduce) {
	.demo__frame::before { animation-duration: 1.5s !important; animation-iteration-count: infinite !important; }
	*, *::before, *::after { animation-duration: .001ms !important; animation-iteration-count: 1 !important; transition-duration: .001ms !important; scroll-behavior: auto !important; }
	.js .reveal { opacity: 1; transform: none; }
	.band__walker, .foot-road__chick { animation: none !important; left: 12%; }
}

@media print {
	.site-header, .sidebar, .site-footer, .to-top, .toc-fab, .hero-visual, .band__road { display: none !important; }
	.content-layout { display: block; }
	.article-content { box-shadow: none; border: 0; padding: 0; }
}
