/* Godzilla — base: tokens, typography, layout, buttons, pills, chips, panels, forms. Dark theme from the approved mockups. */

:root {
	--gz-bg: #0D0E11;
	--gz-surface: #16181D;
	--gz-surface-2: #1E2128;
	--gz-line: #2A2E37;
	--gz-text: #F2F3F5;
	--gz-text-2: #DADDE3;
	--gz-text-3: #C9CDD5;
	--gz-muted: #A3A9B5;
	--gz-muted-2: #7D8492;
	--gz-accent: #6FE7FF;
	--gz-on-accent: #061318;
	--gz-orange: #FF7A45;
	--gz-lime: #B8F35A;
	--gz-violet: #C9A2FF;
	--gz-ua: #FFD43B;
	--gz-red-bg: #1A1214;
	--gz-red-line: #5A2A2A;
	--gz-red-text: #FF9B73;
	--gz-green-bg: #1A1F14;
	--gz-green-line: #3F5A1F;
	--gz-font-display: Unbounded, 'Segoe UI', system-ui, sans-serif;
	--gz-font-text: 'Golos Text', 'Segoe UI', system-ui, sans-serif;
	--gz-r: 14px;
}

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; }
body {
	margin: 0;
	background: var(--gz-bg);
	color: var(--gz-text);
	font-family: var(--gz-font-text);
	font-size: 16px;
	line-height: 1.55;
	-webkit-font-smoothing: antialiased;
	overflow-x: clip;
}
[hidden] { display: none !important; }
img, svg, video { max-width: 100%; }
img { height: auto; }
a { color: var(--gz-text); text-decoration: none; }
a:hover { color: var(--gz-accent); text-decoration: underline; }
a:focus-visible, button:focus-visible, input:focus-visible, select:focus-visible, textarea:focus-visible, summary:focus-visible { outline: 2px solid var(--gz-accent); outline-offset: 2px; border-radius: 6px; }
.screen-reader-text { position: absolute; width: 1px; height: 1px; margin: -1px; padding: 0; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0; }
button { font: inherit; color: inherit; }
ul, ol { margin: 0; padding: 0; }

/* WordPress wrappers must not add their own spacing */
.wp-site-blocks { padding: 0; }
.wp-site-blocks > * + * { margin-block-start: 0; }
.wp-block-group { box-sizing: border-box; }
.wp-block-post-content > * { max-width: none; }

/* colour tokens: a class sets --c (the colour) and --on (the text colour on it) */
.is-c-accent { --c: var(--gz-accent); --on: #061318; }
.is-c-orange { --c: var(--gz-orange); --on: #1A0A03; }
.is-c-lime { --c: var(--gz-lime); --on: #0D0E11; }
.is-c-violet { --c: var(--gz-violet); --on: #140A22; }
.is-c-white { --c: var(--gz-text); --on: #0D0E11; }

/* layout */
.gz-wrap { max-width: 1280px; margin: 0 auto; padding: 0 24px; width: 100%; }
.gz-main { padding: 24px 0 0; }
.gz-narrow { max-width: 820px; margin: 0 auto; padding-top: 8px; }
.gz-block { margin-top: 48px; }
.gz-cols { display: flex; flex-wrap: wrap; gap: 32px 40px; margin-top: 32px; }
.gz-cols__main { flex: 999 1 640px; min-width: 0; max-width: 800px; }
.gz-cols__side { flex: 1 1 300px; min-width: 0; display: flex; flex-direction: column; gap: 20px; align-self: flex-start; }
.gz-cols-cal .gz-cols__main { max-width: none; }
.gz-herogrid { display: flex; flex-wrap: wrap; gap: 24px; }
.gz-herogrid > .gz-posts--hero { flex: 2 1 640px; min-width: 0; display: flex; }
.gz-herogrid > .gz-posts--hero > .gz-card { flex: 1; }
.gz-herogrid > .gz-posts--side { flex: 1 1 340px; min-width: 0; display: flex; flex-direction: column; gap: 16px; }
.gz-split { display: flex; flex-wrap: wrap; gap: 24px; }
.gz-split__a { flex: 3 1 560px; min-width: 0; }
.gz-split__b { flex: 2 1 340px; min-width: 0; }
.gz-stackgap { display: flex; flex-direction: column; gap: 18px; }
.gz-stackgap > .gz-split__a { flex: none; }

/* headings */
.gz-h1, .gz-h2, .gz-h3, .gz-h4 { font-family: var(--gz-font-display); margin: 0; color: var(--gz-text); }
.gz-h1 { font-size: 52px; line-height: 1.05; font-weight: 700; }
.gz-h1--md { font-size: 44px; line-height: 1.1; }
.gz-h1--article { font-size: 46px; line-height: 1.1; max-width: 920px; margin: 14px 0 12px; }
.gz-h1--guide { font-size: 42px; line-height: 1.12; }
.gz-h1--review { font-size: 44px; line-height: 1.1; margin: 14px 0 12px; }
.gz-h1--title { font-size: 46px; line-height: 1.1; }
.gz-h2 { font-size: 28px; line-height: 1.2; }
.gz-h3 { font-size: 18px; line-height: 1.25; margin-bottom: 6px; }
.gz-h3--lg { font-size: 22px; margin-bottom: 14px; }
.gz-h4 { font-size: 17px; line-height: 1.3; font-weight: 600; font-family: var(--gz-font-text); }
.gz-eyebrow { margin: 0 0 8px; font-size: 14px; text-transform: uppercase; letter-spacing: .08em; font-family: var(--gz-font-text); font-weight: 700; color: var(--c, var(--gz-accent)); }
.wp-block-post-title.gz-h1 { font-family: var(--gz-font-display); }

/* section header with a "all →" link */
.gz-sec-head { display: flex; flex-wrap: wrap; align-items: baseline; justify-content: space-between; gap: 12px; margin-bottom: 18px; }
.gz-more { font-weight: 700; color: var(--gz-accent); }

/* buttons */
.gz-btn { display: inline-flex; align-items: center; justify-content: center; gap: 8px; min-height: 44px; padding: 0 18px; border: 1px solid transparent; border-radius: 10px; background: var(--gz-surface-2); color: var(--gz-text); font-weight: 600; font-size: 15px; line-height: 1.2; cursor: pointer; text-decoration: none; }
.gz-btn:hover { text-decoration: none; filter: brightness(1.12); color: inherit; }
.gz-btn--accent { background: var(--gz-accent); color: var(--gz-on-accent); font-weight: 700; }
.gz-btn--accent:hover { color: var(--gz-on-accent); }
.gz-btn--lime { background: var(--gz-lime); color: #0D0E11; font-weight: 700; }
.gz-btn--lime:hover { color: #0D0E11; }
.gz-btn--soft { background: var(--gz-surface-2); }
.gz-btn--line { border-color: #3A3F4A; background: rgba(13, 14, 17, .6); }
.gz-btn--ghost { border-color: var(--gz-line); background: transparent; }
.gz-btn--lg { min-height: 50px; padding: 0 22px; font-size: 16px; border-radius: 12px; }
.gz-btn--sm { min-height: 42px; padding: 0 16px; font-size: 14px; }
.gz-btn--cta { min-height: 54px; padding: 0 24px; border-radius: 12px; background: #061318; color: #fff; font-weight: 700; font-size: 17px; }
.gz-btn--cta:hover { color: #fff; }
.gz-btn--cta.is-stub { background: rgba(6, 19, 24, .55); color: #E9FBFF; cursor: default; border: 1px dashed rgba(255, 255, 255, .4); }
.gz-btn--cta.is-stub:hover { filter: none; }
.gz-btn--spin { height: 52px; font-family: var(--gz-font-display); font-size: 16px; border-radius: 12px; }
.gz-iconbtn { display: inline-flex; align-items: center; justify-content: center; width: 44px; height: 44px; border: 0; border-radius: 10px; background: var(--gz-surface-2); color: var(--gz-text); cursor: pointer; padding: 0; }
.gz-iconbtn:hover { color: var(--gz-accent); text-decoration: none; }
.gz-iconbtn[aria-pressed="true"], .gz-iconbtn.is-done { color: var(--gz-accent); background: #14262B; }

/* pills / tabs */
.gz-pills { display: flex; flex-wrap: wrap; gap: 8px; font-size: 14px; font-weight: 600; }
.gz-pill { display: inline-flex; align-items: center; padding: 9px 14px; border: 0; border-radius: 999px; background: var(--gz-surface-2); color: var(--gz-text); cursor: pointer; text-decoration: none; line-height: 1.2; }
.gz-pill:hover { color: var(--gz-text); text-decoration: none; filter: brightness(1.2); }
.gz-pill.is-active, .gz-pill[aria-current="true"] { background: var(--gz-text); color: var(--gz-bg); }
.gz-pill--line { padding: 8px 13px; border: 1px solid var(--gz-line); background: transparent; }
.gz-pill--line.is-active { border-color: var(--gz-text); }
.gz-tabs { display: flex; flex-wrap: wrap; gap: 6px; font-size: 15px; font-weight: 600; }
.gz-tab { padding: 11px 16px; border-radius: 12px; background: var(--gz-surface-2); color: var(--gz-text); text-decoration: none; }
.gz-tab:hover { color: var(--gz-text); text-decoration: none; filter: brightness(1.2); }
.gz-tab.is-active { background: var(--gz-text); color: var(--gz-bg); }
.gz-tabs--hero .gz-tab { background: rgba(30, 33, 40, .9); }
.gz-tabs--hero .gz-tab.is-active { background: var(--gz-text); }

/* chips, tags, badges */
.gz-chip { display: inline-flex; padding: 3px 8px; border-radius: 6px; background: var(--gz-surface-2); font-size: 12px; font-weight: 700; color: var(--c, var(--gz-accent)); line-height: 1.4; }
.gz-chip--solid { background: var(--c); color: var(--on); font-size: 13px; padding: 5px 10px; border-radius: 8px; }
.gz-tag { display: inline-flex; width: fit-content; padding: 6px 10px; border-radius: 8px; background: var(--c, var(--gz-accent)); color: var(--on, #061318); font-size: 13px; font-weight: 700; line-height: 1.3; }
.gz-kicker { display: block; font-size: 12px; font-weight: 700; text-transform: uppercase; letter-spacing: .08em; color: var(--c, var(--gz-accent)); }
.gz-ua { display: inline-flex; padding: 5px 7px; border-radius: 6px; background: var(--gz-ua); color: #111; font-size: 11px; font-weight: 800; line-height: 1.2; }
.gz-ua--wide { padding: 3px 7px; }
.gz-mini { display: inline-flex; padding: 4px 8px; border-radius: 6px; background: var(--gz-surface-2); font-size: 12px; font-weight: 700; }
.gz-mini--ua { background: var(--gz-ua); color: #111; }
.gz-mini--line { background: transparent; border: 1px solid var(--gz-line); font-weight: 500; font-size: 13px; padding: 5px 9px; }
.gz-meta-chip { display: inline-flex; align-items: center; gap: 8px; padding: 8px 12px; border-radius: 10px; background: var(--gz-surface); font-size: 14px; }
.gz-meta-chip .gz-icon { color: var(--gz-muted); }

/* score tiles */
.gz-score { display: inline-flex; align-items: center; justify-content: center; font-family: var(--gz-font-display); font-weight: 700; line-height: 1; white-space: nowrap; }
.gz-score--badge { min-width: 36px; height: 30px; padding: 0 7px; border-radius: 8px; background: var(--gz-accent); color: var(--gz-on-accent); font-size: 13px; }
.gz-score--tile { min-width: 46px; height: 40px; padding: 0 8px; border-radius: 10px; background: var(--gz-accent); color: var(--gz-on-accent); font-size: 17px; font-weight: 800; }
.gz-score--xl { width: 112px; height: 112px; border-radius: 22px; background: var(--gz-accent); color: var(--gz-on-accent); font-size: 40px; font-weight: 800; }
.gz-score--outline { min-width: 54px; height: 44px; padding: 0 10px; border-radius: 10px; border: 2px solid var(--gz-orange); color: var(--gz-orange); font-size: 18px; }
.gz-score--ghost { min-width: 54px; height: 44px; padding: 0 10px; border-radius: 10px; background: var(--gz-surface-2); font-size: 18px; }

/* panels */
.gz-panel { background: var(--gz-surface); border-radius: 18px; padding: 20px; }
.gz-panel--lg { border-radius: 22px; padding: 26px; margin-top: 48px; }
.gz-panel--line { border: 1px solid var(--gz-line); border-radius: 20px; padding: 24px; }
.gz-panel--flush { padding: 0; overflow: hidden; }
.gz-nothing { margin: 24px 0; color: var(--gz-muted); }
.gz-empty-note { padding: 14px 16px; border: 1px dashed var(--gz-line); border-radius: 10px; color: var(--gz-muted); font-size: 14px; }

/* breadcrumbs */
.gz-crumbs { display: flex; flex-wrap: wrap; gap: 8px; font-size: 14px; color: var(--gz-muted); }
.gz-crumbs a { color: var(--gz-muted); }
.gz-crumbs--light, .gz-crumbs--light a { color: var(--gz-text-3); }
.gz-crumbs-wrap { padding-top: 2px; }

/* forms */
.gz-field { display: flex; flex-direction: column; gap: 6px; flex: 1 1 140px; font-size: 13px; color: var(--gz-muted); }
.gz-field select, .gz-searchbar input, .gz-calform select, .gz-comments input[type="text"], .gz-comments input[type="email"], .gz-comments input[type="url"] { height: 44px; padding: 0 12px; border-radius: 10px; border: 1px solid var(--gz-line); background: var(--gz-bg); color: var(--gz-text); font: inherit; font-size: 15px; }
.gz-check { display: inline-flex; align-items: center; gap: 8px; font-size: 14px; cursor: pointer; }
.gz-check input { width: 18px; height: 18px; margin: 0; accent-color: var(--gz-accent); }
.gz-check--lg { font-size: 15px; font-weight: 600; min-height: 44px; }
.gz-check--lg input { width: 20px; height: 20px; }
.gz-check--box { min-height: 44px; padding: 0 14px; border-radius: 10px; border: 1px solid var(--gz-line); font-weight: 600; }

/* logo */
.gz-logo { display: flex; align-items: center; gap: 10px; color: var(--gz-text); text-decoration: none; }
.gz-logo:hover { color: var(--gz-text); text-decoration: none; }
.gz-logo__mark { color: var(--gz-accent); flex: 0 0 auto; }
.gz-logo__txt { display: flex; flex-direction: column; }
.gz-logo__word { font-family: var(--gz-font-display); font-weight: 800; font-size: 22px; letter-spacing: .04em; line-height: 1.05; }
.gz-logo__tag { font-size: 12px; color: var(--gz-muted); }

@media (max-width: 900px) {
	.gz-h1 { font-size: 40px; }
	.gz-h1--article { font-size: 36px; }
	.gz-h1--guide, .gz-h1--review, .gz-h1--title, .gz-h1--md { font-size: 32px; }
	.gz-h2 { font-size: 24px; }
	.gz-cols { gap: 28px; }
}
@media (max-width: 600px) {
	.gz-wrap { padding: 0 16px; }
	.gz-h1 { font-size: 30px; }
	.gz-h1--article { font-size: 28px; }
	.gz-h1--guide, .gz-h1--review, .gz-h1--title, .gz-h1--md { font-size: 26px; }
	.gz-h2 { font-size: 22px; }
	.gz-block { margin-top: 36px; }
	.gz-panel--lg { padding: 18px; }
	.gz-score--xl { width: 88px; height: 88px; font-size: 32px; }
	.gz-logo__tag { display: none; }
	.gz-logo__word { font-size: 18px; }
}
@media (prefers-reduced-motion: reduce) { * { scroll-behavior: auto !important; animation: none !important; transition: none !important; } }
