/* ==========================================================================
   TLN Constructions — main stylesheet
   Blueprint ink · safety amber · warm concrete
   ========================================================================== */

:root {
	--bg: #f5f3ee;
	--bg-2: #ece8e0;
	--surface: #ffffff;
	--surface-2: #faf8f4;
	--ink: #0e1a2b;
	--ink-2: #354052;
	--muted: #5b6474;
	--line: #e2ddd3;
	--line-2: #d3ccbf;
	--amber: #f4a51c;
	--amber-strong: #e08e00;
	--amber-ink: #8a5800;
	--amber-soft: #fff1d4;
	--brick: #c8553d;
	--blue: #2f5d8c;
	--wa: #16a34a;
	--wa-strong: #15803d;
	--ok: #177245;
	--err: #b42318;
	--mark-bg: #0e1a2b;
	--mark-fg: #ffffff;
	--mark-accent: #f4a51c;
	--grid-line: rgba(47, 93, 140, .09);
	--header-bg: rgba(245, 243, 238, .82);
	--shadow-sm: 0 1px 2px rgba(14, 26, 43, .06), 0 1px 1px rgba(14, 26, 43, .04);
	--shadow: 0 10px 30px -12px rgba(14, 26, 43, .22), 0 2px 6px rgba(14, 26, 43, .05);
	--shadow-lg: 0 30px 60px -20px rgba(14, 26, 43, .35);
	--r-sm: 10px;
	--r: 16px;
	--r-lg: 24px;
	--f-head: "Archivo", ui-sans-serif, system-ui, -apple-system, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
	--f-body: "Inter", ui-sans-serif, system-ui, -apple-system, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
	--wrap: 1240px;
	--gutter: clamp(16px, 4vw, 28px);
	color-scheme: light;
}

@media (prefers-color-scheme: dark) {
	:root:not([data-theme="light"]) {
		--bg: #0b1220;
		--bg-2: #0f1828;
		--surface: #121b2c;
		--surface-2: #0f1726;
		--ink: #ebeff5;
		--ink-2: #c6cedb;
		--muted: #97a3b6;
		--line: #223049;
		--line-2: #2e3e5c;
		--amber-ink: #ffc65e;
		--amber-soft: rgba(244, 165, 28, .14);
		--brick: #e2745c;
		--blue: #7fa9d8;
		--ok: #4ade80;
		--err: #f87171;
		--mark-bg: #f4a51c;
		--mark-fg: #0e1a2b;
		--mark-accent: #ffffff;
		--grid-line: rgba(127, 169, 216, .08);
		--header-bg: rgba(11, 18, 32, .78);
		--shadow-sm: 0 1px 2px rgba(0, 0, 0, .4);
		--shadow: 0 10px 30px -12px rgba(0, 0, 0, .6);
		--shadow-lg: 0 30px 60px -20px rgba(0, 0, 0, .7);
		color-scheme: dark;
	}
}

:root[data-theme="dark"] {
	--bg: #0b1220;
	--bg-2: #0f1828;
	--surface: #121b2c;
	--surface-2: #0f1726;
	--ink: #ebeff5;
	--ink-2: #c6cedb;
	--muted: #97a3b6;
	--line: #223049;
	--line-2: #2e3e5c;
	--amber-ink: #ffc65e;
	--amber-soft: rgba(244, 165, 28, .14);
	--brick: #e2745c;
	--blue: #7fa9d8;
	--ok: #4ade80;
	--err: #f87171;
	--mark-bg: #f4a51c;
	--mark-fg: #0e1a2b;
	--mark-accent: #ffffff;
	--grid-line: rgba(127, 169, 216, .08);
	--header-bg: rgba(11, 18, 32, .78);
	--shadow-sm: 0 1px 2px rgba(0, 0, 0, .4);
	--shadow: 0 10px 30px -12px rgba(0, 0, 0, .6);
	--shadow-lg: 0 30px 60px -20px rgba(0, 0, 0, .7);
	color-scheme: dark;
}

body.system-fonts {
	--f-head: ui-sans-serif, system-ui, -apple-system, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
	--f-body: ui-sans-serif, system-ui, -apple-system, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
}

@view-transition { navigation: auto; }

/* ---------- Base ---------- */
*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-padding-top: 96px; }
@media (prefers-reduced-motion: no-preference) { html { scroll-behavior: smooth; } }
body {
	margin: 0;
	background: var(--bg);
	color: var(--ink);
	font: 400 17px/1.65 var(--f-body);
	-webkit-font-smoothing: antialiased;
	text-rendering: optimizeLegibility;
	overflow-x: clip;
}
img, svg, video { max-width: 100%; height: auto; }
img { display: block; }
a { color: inherit; text-decoration-thickness: 1px; text-underline-offset: 3px; }
a:hover { color: var(--amber-ink); }
h1, h2, h3, h4 { font-family: var(--f-head); font-stretch: 108%; line-height: 1.15; letter-spacing: -.015em; margin: 0 0 .5em; font-weight: 800; color: var(--ink); text-wrap: balance; }
p { margin: 0 0 1em; }
button, input, select, textarea { font: inherit; color: inherit; }
:focus-visible { outline: 3px solid var(--amber); outline-offset: 2px; border-radius: 6px; }
::selection { background: var(--amber); color: #0e1a2b; }
.screen-reader-text { position: absolute !important; width: 1px; height: 1px; overflow: hidden; clip: rect(1px, 1px, 1px, 1px); white-space: nowrap; }
.skip-link { position: absolute; left: 12px; top: -60px; z-index: 1000; background: var(--ink); color: var(--bg); padding: 10px 16px; border-radius: 10px; font-weight: 700; }
.skip-link:focus { top: 12px; color: var(--bg); }
.wrap { width: 100%; max-width: var(--wrap); margin-inline: auto; padding-inline: var(--gutter); }
.wrap-narrow { max-width: 860px; }
.site-main { outline: none; min-height: 50vh; }
.muted { color: var(--muted); }
.center { text-align: center; justify-content: center; }
.tln-icon { flex: none; }
[hidden] { display: none !important; }

/* ---------- Buttons & chips ---------- */
.btn {
	--b-bg: var(--surface); --b-fg: var(--ink); --b-bd: var(--line-2);
	display: inline-flex; align-items: center; justify-content: center; gap: .5em;
	padding: .72em 1.25em; border-radius: 999px; border: 1.5px solid var(--b-bd);
	background: var(--b-bg); color: var(--b-fg); font-weight: 650; font-size: .95rem; line-height: 1.2;
	text-decoration: none; cursor: pointer; white-space: nowrap;
	transition: transform .15s ease, background .15s ease, box-shadow .15s ease, border-color .15s ease;
}
.btn:hover { transform: translateY(-1px); color: var(--b-fg); box-shadow: var(--shadow); }
.btn:active { transform: translateY(0); }
.btn-primary { --b-bg: var(--amber); --b-fg: #0e1a2b; --b-bd: var(--amber); }
.btn-primary:hover { --b-bg: #ffb53a; }
.btn-ghost { --b-bg: transparent; }
.btn-ghost:hover { --b-bg: var(--surface); }
.btn-dark { --b-bg: var(--ink); --b-fg: var(--bg); --b-bd: var(--ink); }
.btn-wa { --b-bg: var(--wa-strong); --b-fg: #fff; --b-bd: var(--wa-strong); }
.btn-wa:hover { --b-bg: #117a39; color: #fff; }
.btn-sm { padding: .5em .95em; font-size: .88rem; }
.btn-lg { padding: .9em 1.6em; font-size: 1.02rem; }
.btn-block { width: 100%; }
.btn .wa-text { display: inline-flex; flex-direction: column; align-items: flex-start; line-height: 1.15; }
.btn .wa-sub { font-size: .75em; font-weight: 500; opacity: .85; }
.btn-row { display: flex; flex-wrap: wrap; gap: 12px; }
.icon-btn { display: inline-grid; place-items: center; position: relative; width: 42px; height: 42px; border-radius: 12px; border: 1px solid transparent; background: transparent; color: var(--ink); cursor: pointer; transition: background .15s, border-color .15s; }
.icon-btn:hover { background: var(--surface); border-color: var(--line); }
.icon-btn.sm { width: 34px; height: 34px; border-radius: 10px; }
.kbd { display: inline-block; font: 600 11px/1 var(--f-body); padding: 4px 6px; border-radius: 6px; border: 1px solid var(--line-2); background: var(--surface); color: var(--muted); }
.chip { --cat: var(--blue); display: inline-flex; align-items: center; gap: 6px; padding: 5px 11px 5px 9px; border-radius: 999px; background: color-mix(in srgb, var(--cat) 12%, transparent); color: color-mix(in srgb, var(--cat) 78%, var(--ink)); font: 700 12.5px/1.2 var(--f-body); letter-spacing: .01em; text-decoration: none; border: 1px solid color-mix(in srgb, var(--cat) 22%, transparent); }
a.chip:hover { background: var(--cat); color: #fff; }
.badge { display: inline-flex; padding: 4px 10px; border-radius: 999px; background: var(--amber-soft); color: var(--amber-ink); font: 700 11.5px/1.2 var(--f-body); text-transform: uppercase; letter-spacing: .06em; }
.pill { display: inline-flex; align-items: center; gap: 6px; padding: 7px 14px; border-radius: 999px; border: 1px solid var(--line-2); background: var(--surface); color: var(--ink); font-weight: 600; font-size: .88rem; cursor: pointer; transition: background .15s, border-color .15s; }
.pill:hover { border-color: var(--ink-2); }
.pill[aria-pressed="true"], .pill.is-active { background: var(--ink); color: var(--bg); border-color: var(--ink); }
.pill span { opacity: .7; }
.eyebrow { font: 700 12.5px/1.2 var(--f-body); letter-spacing: .12em; text-transform: uppercase; color: var(--amber-ink); margin: 0 0 .7em; }
.ticks { list-style: none; padding: 0; margin: 0 0 1em; display: grid; gap: .5em; }
.ticks li { display: flex; gap: .55em; align-items: flex-start; }
.ticks .tln-icon { color: var(--wa-strong); margin-top: .3em; }

/* ---------- Announcement ---------- */
.announce { background: #0e1a2b; color: #eef1f6; font-size: .9rem; border-bottom: 1px solid var(--line); }
.announce-inner { display: flex; align-items: center; gap: 12px; min-height: 40px; }
.announce p { margin: 0; flex: 1; min-width: 0; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.announce a { display: inline-flex; align-items: center; gap: 4px; color: var(--amber); font-weight: 700; text-decoration: none; white-space: nowrap; }
.announce a:hover { color: #ffd07a; }
.announce-dot { width: 8px; height: 8px; border-radius: 50%; background: var(--amber); box-shadow: 0 0 0 4px rgba(244, 165, 28, .25); flex: none; }
.announce-close { background: none; border: 0; color: inherit; opacity: .7; cursor: pointer; padding: 6px; display: grid; }
.announce-close:hover { opacity: 1; }

/* ---------- Header ---------- */
.site-header { position: sticky; top: 0; z-index: 50; background: var(--header-bg); backdrop-filter: saturate(1.6) blur(14px); -webkit-backdrop-filter: saturate(1.6) blur(14px); border-bottom: 1px solid var(--line); }
.admin-bar .site-header { top: 32px; }
@media (max-width: 782px) { .admin-bar .site-header { top: 0; } }
.site-header .wrap { max-width: 1380px; }
.header-inner { display: flex; align-items: center; gap: 20px; min-height: 72px; }
.brand { display: inline-flex; align-items: center; gap: 11px; text-decoration: none; color: var(--ink); flex: none; }
.brand:hover { color: var(--ink); }
.brand .tln-mark { flex: none; border-radius: 12px; }
.brand-text { display: flex; flex-direction: column; line-height: 1; }
.brand-name { font: 700 21px/1 var(--f-head); font-stretch: 100%; letter-spacing: -.02em; white-space: nowrap; }
.brand-name b { font-weight: 900; font-stretch: 125%; letter-spacing: -.01em; }
.brand-tag { font: 600 9.5px/1 var(--f-body); letter-spacing: .2em; text-transform: uppercase; color: var(--muted); margin-top: 6px; white-space: nowrap; }
.brand-custom img { max-height: 48px; width: auto; }

.primary-nav { flex: 1; min-width: 0; display: flex; justify-content: center; }
.primary-nav .menu { list-style: none; margin: 0; padding: 0; display: flex; align-items: center; gap: 2px; }
.primary-nav .menu > li { position: relative; display: flex; align-items: center; }
.primary-nav .menu > li > a { display: block; padding: 8px 10px; border-radius: 10px; font-weight: 600; font-size: .92rem; text-decoration: none; white-space: nowrap; color: var(--ink-2); }
.primary-nav .menu > li > a:hover, .primary-nav .current-menu-item > a, .primary-nav .current-menu-ancestor > a, .primary-nav .current-category-ancestor > a { color: var(--ink); background: var(--surface); }
.primary-nav .current-menu-item > a { box-shadow: inset 0 -2px 0 var(--amber); }
.primary-nav .menu-item-has-children > a { padding-right: 4px; }
.sub-toggle { background: none; border: 0; padding: 6px 6px 6px 0; cursor: pointer; color: var(--muted); display: grid; }
.primary-nav .sub-menu { list-style: none; margin: 0; padding: 8px; position: absolute; top: calc(100% + 8px); left: 0; min-width: 220px; background: var(--surface); border: 1px solid var(--line); border-radius: var(--r); box-shadow: var(--shadow-lg); opacity: 0; visibility: hidden; transform: translateY(6px); transition: .18s ease; z-index: 60; }
.primary-nav .sub-menu::before { content: ""; position: absolute; inset: -10px 0 auto; height: 10px; }
.primary-nav li:hover > .sub-menu, .primary-nav li:focus-within > .sub-menu, .primary-nav li.is-open > .sub-menu { opacity: 1; visibility: visible; transform: none; }
.primary-nav .sub-menu a { display: block; padding: 9px 12px; border-radius: 9px; text-decoration: none; font-weight: 550; font-size: .93rem; }
.primary-nav .sub-menu a:hover { background: var(--bg); color: var(--ink); }

.header-actions { display: flex; align-items: center; gap: 4px; flex: none; }
.search-open { width: auto; padding: 0 10px; gap: 8px; display: inline-flex; align-items: center; border-color: var(--line); background: var(--surface); }
.scheme-toggle .i-moon { display: none; }
:root[data-theme="dark"] .scheme-toggle .i-moon { display: inline; }
:root[data-theme="dark"] .scheme-toggle .i-sun { display: none; }
@media (prefers-color-scheme: dark) {
	:root:not([data-theme="light"]) .scheme-toggle .i-moon { display: inline; }
	:root:not([data-theme="light"]) .scheme-toggle .i-sun { display: none; }
}
.header-cta { margin-left: 6px; }
.menu-open { display: none; }

@media (max-width: 1360px) {
	.primary-nav { display: none; }
	.menu-open { display: inline-grid; }
	.header-inner { justify-content: space-between; }
}
@media (max-width: 1540px) { .hide-md { display: none; } .search-open { width: 42px; padding: 0; justify-content: center; } }
@media (max-width: 640px) {
	.header-cta { display: none; }
	.header-inner { min-height: 64px; gap: 10px; }
	.brand-name { font-size: 18px; }
	.brand .tln-mark { width: 36px; height: 36px; }
	.brand-tag { font-size: 8.5px; letter-spacing: .14em; }
	.search-open { width: 42px; padding: 0; justify-content: center; }
}
@media (max-width: 420px) {
	.brand-tag { display: none; }
	.header-actions { gap: 0; }
	.header-actions .icon-btn { width: 38px; height: 38px; }
	.brand { gap: 8px; }
	.brand .tln-mark { width: 34px; height: 34px; }
	.brand-name { font-size: 17px; }
}

/* ---------- Drawer ---------- */
.drawer { position: fixed; inset: 0; z-index: 200; }
.drawer-backdrop, .cmdk-backdrop { position: absolute; inset: 0; background: rgba(8, 14, 26, .55); backdrop-filter: blur(3px); animation: fade .2s ease; }
.drawer-panel { position: absolute; top: 0; right: 0; bottom: 0; width: min(400px, 92vw); background: var(--bg); box-shadow: var(--shadow-lg); display: flex; flex-direction: column; overflow-y: auto; animation: slideIn .25s cubic-bezier(.2, .8, .2, 1); padding: 16px 20px 28px; }
.drawer-head { display: flex; align-items: center; justify-content: space-between; margin-bottom: 14px; }
.drawer-nav .menu, .drawer-nav .sub-menu { list-style: none; margin: 0; padding: 0; }
.drawer-nav .menu > li { border-bottom: 1px solid var(--line); display: flex; flex-wrap: wrap; align-items: center; }
.drawer-nav .menu > li > a { flex: 1; padding: 13px 4px; font: 700 1.05rem/1.2 var(--f-head); text-decoration: none; }
.drawer-nav .sub-toggle { padding: 12px; }
.drawer-nav .sub-menu { width: 100%; display: none; padding: 0 0 10px 10px; }
.drawer-nav li.is-open > .sub-menu { display: block; }
.drawer-nav li.is-open > .sub-toggle { transform: rotate(180deg); }
.drawer-nav .sub-menu a { display: block; padding: 8px 6px; text-decoration: none; color: var(--ink-2); }
.drawer-tools { margin: 22px 0; display: grid; gap: 4px; }
.drawer-tools a { display: flex; align-items: center; gap: 10px; padding: 10px; border-radius: 12px; text-decoration: none; font-weight: 600; font-size: .95rem; background: var(--surface); border: 1px solid var(--line); }
.drawer-tools a .tln-icon { color: var(--amber-strong); }
.drawer-foot { display: grid; gap: 10px; margin-top: auto; }
@keyframes slideIn { from { transform: translateX(100%); } }
@keyframes fade { from { opacity: 0; } }
body.no-scroll { overflow: hidden; }

/* ---------- Command palette ---------- */
.cmdk { position: fixed; inset: 0; z-index: 210; display: grid; justify-items: center; align-items: start; padding: 10vh 16px 16px; }
.cmdk-panel { position: relative; width: min(640px, 100%); background: var(--surface); border: 1px solid var(--line); border-radius: var(--r-lg); box-shadow: var(--shadow-lg); overflow: hidden; animation: pop .18s ease; }
@keyframes pop { from { opacity: 0; transform: translateY(8px) scale(.98); } }
.cmdk-form { display: flex; align-items: center; gap: 10px; padding: 14px 16px; border-bottom: 1px solid var(--line); color: var(--muted); }
.cmdk-form input { flex: 1; min-width: 0; border: 0; background: none; font-size: 1.1rem; outline: none; color: var(--ink); }
.cmdk-form input::-webkit-search-cancel-button { display: none; }
.cmdk-results { max-height: min(60vh, 460px); overflow-y: auto; padding: 8px; }
.cmdk-group { font: 700 11px/1 var(--f-body); letter-spacing: .12em; text-transform: uppercase; color: var(--muted); padding: 12px 10px 6px; }
.cmdk-item { display: flex; align-items: center; gap: 12px; padding: 10px; border-radius: 12px; text-decoration: none; color: var(--ink); }
.cmdk-item .ci-ic { width: 34px; height: 34px; border-radius: 10px; display: grid; place-items: center; background: var(--bg); color: var(--amber-strong); flex: none; }
.cmdk-item .ci-t { font-weight: 600; line-height: 1.3; }
.cmdk-item .ci-s { display: block; font-size: .8rem; color: var(--muted); }
.cmdk-item[aria-selected="true"], .cmdk-item:hover { background: var(--amber-soft); color: var(--ink); }
.cmdk-empty { padding: 22px 12px; color: var(--muted); text-align: center; margin: 0; }
.cmdk-hint { display: flex; gap: 18px; padding: 10px 16px; border-top: 1px solid var(--line); font-size: .8rem; color: var(--muted); }
.cmdk-hint .kbd { margin-right: 3px; }
@media (max-width: 640px) { .cmdk { padding-top: 12px; } .cmdk-hint { display: none; } }

/* ---------- Hero ---------- */
.hero, .gp-hero, .tool-head { position: relative; overflow: hidden; border-bottom: 1px solid var(--line); }
.hero-grid-bg { position: absolute; inset: 0; background-image: linear-gradient(var(--grid-line) 1px, transparent 1px), linear-gradient(90deg, var(--grid-line) 1px, transparent 1px); background-size: 32px 32px; mask-image: radial-gradient(ellipse at 70% 20%, #000 20%, transparent 75%); -webkit-mask-image: radial-gradient(ellipse at 70% 20%, #000 20%, transparent 75%); pointer-events: none; }
.hero::after { content: ""; position: absolute; width: 520px; height: 520px; right: -120px; top: -180px; background: radial-gradient(circle, rgba(244, 165, 28, .22), transparent 65%); pointer-events: none; }
.hero-inner { position: relative; z-index: 1; display: grid; grid-template-columns: minmax(0, 1.35fr) minmax(0, .8fr); gap: clamp(28px, 5vw, 64px); align-items: center; padding-block: clamp(40px, 7vw, 84px); }
.hero-title { font-size: clamp(2.2rem, 5.2vw, 4rem); font-weight: 900; font-stretch: 112%; letter-spacing: -.03em; line-height: 1.02; margin-bottom: .35em; }
.hero-title em { font-style: normal; color: var(--amber-strong); background: linear-gradient(transparent 62%, var(--amber-soft) 62%); }
:root[data-theme="dark"] .hero-title em { color: var(--amber); }
.hero-sub { font-size: clamp(1.02rem, 1.6vw, 1.18rem); color: var(--ink-2); max-width: 58ch; }
.hero-search { display: flex; align-items: center; gap: 10px; background: var(--surface); border: 1.5px solid var(--line-2); border-radius: 999px; padding: 6px 6px 6px 18px; max-width: 580px; box-shadow: var(--shadow); color: var(--muted); margin: 26px 0 20px; }
.hero-search:focus-within { border-color: var(--amber); }
.hero-search input { flex: 1; min-width: 0; border: 0; background: none; outline: none; font-size: 1rem; color: var(--ink); padding: 8px 0; }
.hero-topics { list-style: none; margin: 0; padding: 0; display: flex; flex-wrap: wrap; gap: 8px; }
.quick-est { position: relative; background: var(--surface); border: 1px solid var(--line); border-radius: var(--r-lg); padding: 24px; box-shadow: var(--shadow-lg); }
.quick-est::before { content: ""; position: absolute; inset: 0 0 auto; height: 6px; border-radius: var(--r-lg) var(--r-lg) 0 0; background: repeating-linear-gradient(-45deg, var(--amber) 0 14px, var(--ink) 14px 28px); }
.qe-head { display: flex; gap: 14px; align-items: center; margin: 6px 0 18px; }
.qe-head h2 { font-size: 1.25rem; margin: 0 0 2px; }
.qe-head p { margin: 0; font-size: .9rem; color: var(--muted); }
.qe-ic { width: 46px; height: 46px; border-radius: 14px; background: var(--amber-soft); color: var(--amber-ink); display: grid; place-items: center; flex: none; }
.qe-form { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 12px; }
.qe-form label span { display: block; font-size: .8rem; font-weight: 600; color: var(--muted); margin-bottom: 5px; }
.qe-out { margin: 18px 0; padding: 14px 16px; border-radius: var(--r); background: var(--bg); display: flex; flex-direction: column; gap: 2px; }
.qe-label { font-size: .8rem; color: var(--muted); font-weight: 600; }
.qe-out strong { font: 800 1.6rem/1.2 var(--f-head); font-stretch: 110%; }
@media (max-width: 900px) { .hero-inner { grid-template-columns: minmax(0, 1fr); } }

/* ---------- Inputs (shared) ---------- */
input[type="text"], input[type="email"], input[type="number"], input[type="search"], input[type="url"], input[type="tel"], input[type="password"], select, textarea {
	width: 100%; padding: 11px 13px; border-radius: 12px; border: 1.5px solid var(--line-2); background: var(--surface); color: var(--ink); font-size: 1rem; line-height: 1.3; transition: border-color .15s, box-shadow .15s; appearance: none; -webkit-appearance: none;
}
select { background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='16' height='16' viewBox='0 0 24 24' fill='none' stroke='%238a93a3' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='m6 9 6 6 6-6'/%3E%3C/svg%3E"); background-repeat: no-repeat; background-position: right 12px center; padding-right: 38px; }
input:focus, select:focus, textarea:focus { outline: none; border-color: var(--amber); box-shadow: 0 0 0 4px color-mix(in srgb, var(--amber) 22%, transparent); }
textarea { resize: vertical; min-height: 90px; }
.hero-search input, .cmdk-form input, .search-form input { width: auto; padding: 8px 0; border: 0; box-shadow: none; background: none; }
.field { display: flex; flex-direction: column; gap: 6px; min-width: 0; }
.field > span { font-size: .87rem; font-weight: 650; color: var(--ink-2); }
.field-row { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 14px; }
.check { display: flex; gap: 10px; align-items: flex-start; font-size: .92rem; color: var(--ink-2); cursor: pointer; }
.check input { width: 18px; height: 18px; margin-top: 3px; accent-color: var(--amber-strong); flex: none; }
.hp { position: absolute !important; left: -9999px; width: 1px; height: 1px; overflow: hidden; }
.notice-box { display: flex; gap: 10px; align-items: flex-start; padding: 12px 14px; border-radius: 12px; font-weight: 550; font-size: .95rem; margin-bottom: 14px; }
.notice-box.ok { background: color-mix(in srgb, var(--ok) 12%, transparent); color: var(--ok); }
.notice-box.err { background: color-mix(in srgb, var(--err) 12%, transparent); color: var(--err); }
.notice-box .tln-icon { margin-top: 2px; }
@media (max-width: 600px) { .field-row { grid-template-columns: minmax(0, 1fr); } }

/* ---------- Sections ---------- */
.section { padding-block: clamp(36px, 6vw, 64px); }
.section-head { display: flex; align-items: flex-end; justify-content: space-between; gap: 16px; margin-bottom: 24px; }
.section-head.center { justify-content: center; text-align: center; }
.section-title { font-size: clamp(1.5rem, 3vw, 2.1rem); margin: 0; }
.section-sub { color: var(--muted); margin: .4em 0 0; }
.link-more { display: inline-flex; align-items: center; gap: 6px; font-weight: 700; text-decoration: none; white-space: nowrap; color: var(--ink); padding: 8px 14px; border-radius: 999px; border: 1px solid var(--line-2); }
.link-more:hover { background: var(--ink); color: var(--bg); border-color: var(--ink); }
.grid { display: grid; gap: 22px; }
.grid-2 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
.grid-3 { grid-template-columns: repeat(3, minmax(0, 1fr)); }
@media (max-width: 900px) { .grid-3 { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 600px) { .grid-2, .grid-3 { grid-template-columns: minmax(0, 1fr); } }

/* ---------- Bento ---------- */
.bento { display: grid; grid-template-columns: repeat(12, minmax(0, 1fr)); grid-auto-rows: minmax(0, auto); gap: 18px; padding-block: 36px 12px; }
.bento-card { position: relative; border-radius: var(--r-lg); overflow: hidden; background: var(--surface); border: 1px solid var(--line); display: flex; flex-direction: column; box-shadow: var(--shadow-sm); transition: box-shadow .2s, transform .2s; }
.bento-card:hover { box-shadow: var(--shadow); transform: translateY(-2px); }
.bento-lead { grid-column: span 7; grid-row: span 2; }
.bento-side { grid-column: span 5; flex-direction: row; }
.bento-media { display: block; overflow: hidden; background: var(--bg-2); }
.bento-lead .bento-media { aspect-ratio: 16 / 9; }
.bento-side .bento-media { width: 42%; flex: none; }
.bento-media img, .bento-media .thumb-fallback { width: 100%; height: 100%; object-fit: cover; transition: transform .5s ease; }
.bento-card:hover .bento-media img { transform: scale(1.04); }
.bento-body { padding: 20px 22px 22px; display: flex; flex-direction: column; gap: 10px; align-items: flex-start; flex: 1; }
.bento-title { font-size: 1.12rem; margin: 0; }
.bento-lead .bento-title { font-size: clamp(1.4rem, 2.6vw, 2rem); }
.bento-title a { text-decoration: none; }
.bento-excerpt { color: var(--ink-2); margin: 0; }
.bento-tile { grid-column: span 6; border-radius: var(--r-lg); padding: 22px; display: grid; grid-template-columns: auto 1fr; grid-template-rows: auto auto auto; column-gap: 16px; row-gap: 4px; text-decoration: none; align-items: start; transition: transform .2s, box-shadow .2s; }
.bento-tile:hover { transform: translateY(-2px); box-shadow: var(--shadow); }
.bento-tile .tile-ic { grid-row: span 3; width: 52px; height: 52px; border-radius: 16px; display: grid; place-items: center; }
.tile-k { font: 700 12px/1.2 var(--f-body); letter-spacing: .1em; text-transform: uppercase; opacity: .85; }
.tile-t { font: 800 1.15rem/1.25 var(--f-head); }
.tile-cta { display: inline-flex; align-items: center; gap: 6px; font-weight: 700; font-size: .92rem; margin-top: 6px; }
.tile-ai { background: var(--ink); color: #fff; }
.tile-ai:hover { color: #fff; }
.tile-ai .tile-ic { background: rgba(244, 165, 28, .18); color: var(--amber); }
.tile-ai .tile-cta { color: var(--amber); }
:root[data-theme="dark"] .tile-ai { background: #1b2740; }
.tile-gp { background: var(--amber); color: #0e1a2b; }
.tile-gp:hover { color: #0e1a2b; }
.tile-gp .tile-ic { background: rgba(14, 26, 43, .1); }
@media (max-width: 1000px) {
	.bento-lead { grid-column: span 12; grid-row: auto; }
	.bento-side { grid-column: span 6; flex-direction: column; }
	.bento-side .bento-media { width: 100%; aspect-ratio: 16 / 10; }
}
@media (max-width: 640px) {
	.bento { gap: 14px; }
	.bento-side, .bento-tile { grid-column: span 12; }
	.bento-side { flex-direction: row; }
	.bento-side .bento-media { width: 36%; aspect-ratio: auto; }
	.bento-side .bento-body { padding: 14px; }
	.bento-side .bento-title { font-size: 1rem; }
	.bento-side .meta { display: none; }
}

/* ---------- Ticker ---------- */
.ticker { border-block: 1px solid var(--line); background: var(--surface); margin-top: 24px; }
.ticker-inner { display: flex; align-items: center; gap: 16px; min-height: 52px; }
.ticker-label { display: inline-flex; align-items: center; gap: 6px; font: 800 .8rem/1 var(--f-body); text-transform: uppercase; letter-spacing: .1em; color: var(--brick); flex: none; }
.ticker-track { overflow: hidden; flex: 1; mask-image: linear-gradient(90deg, transparent, #000 4%, #000 96%, transparent); -webkit-mask-image: linear-gradient(90deg, transparent, #000 4%, #000 96%, transparent); }
.ticker-list { list-style: none; margin: 0; padding: 0; display: flex; gap: 42px; width: max-content; animation: ticker 60s linear infinite; }
.ticker:hover .ticker-list, .ticker:focus-within .ticker-list { animation-play-state: paused; }
.ticker-list li { white-space: nowrap; position: relative; }
.ticker-list li::before { content: ""; position: absolute; left: -24px; top: 50%; width: 6px; height: 6px; border-radius: 2px; background: var(--amber); transform: translateY(-50%) rotate(45deg); }
.ticker-list a { text-decoration: none; font-weight: 600; font-size: .95rem; }
@keyframes ticker { to { transform: translateX(-50%); } }
@media (prefers-reduced-motion: reduce) { .ticker-list { animation: none; } .ticker-track { overflow-x: auto; } }

/* ---------- Topics ---------- */
.topic-grid { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 14px; }
.topic { --cat: var(--blue); display: grid; grid-template-columns: auto 1fr; grid-template-rows: auto auto; column-gap: 14px; align-items: center; padding: 18px; border-radius: var(--r); background: var(--surface); border: 1px solid var(--line); text-decoration: none; position: relative; overflow: hidden; transition: transform .2s, box-shadow .2s, border-color .2s; }
.topic::after { content: ""; position: absolute; right: -30px; bottom: -30px; width: 90px; height: 90px; border-radius: 50%; background: color-mix(in srgb, var(--cat) 10%, transparent); transition: transform .3s; }
.topic:hover { transform: translateY(-2px); box-shadow: var(--shadow); border-color: color-mix(in srgb, var(--cat) 45%, var(--line)); color: var(--ink); }
.topic:hover::after { transform: scale(1.6); }
.topic-ic { grid-row: span 2; width: 52px; height: 52px; border-radius: 15px; display: grid; place-items: center; background: color-mix(in srgb, var(--cat) 14%, transparent); color: var(--cat); }
.topic-name { font: 800 1.05rem/1.2 var(--f-head); }
.topic-count { font-size: .84rem; color: var(--muted); }
@media (max-width: 1000px) { .topic-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 420px) { .topic { padding: 14px; } .topic-ic { width: 44px; height: 44px; } }

/* ---------- Cards ---------- */
.card { display: flex; flex-direction: column; background: var(--surface); border: 1px solid var(--line); border-radius: var(--r); overflow: hidden; transition: transform .2s, box-shadow .2s; min-width: 0; }
.card:hover { transform: translateY(-3px); box-shadow: var(--shadow); }
.card-media { display: block; aspect-ratio: 16 / 10; overflow: hidden; background: var(--bg-2); }
.card-media img, .card-media .thumb-fallback { width: 100%; height: 100%; object-fit: cover; transition: transform .5s ease; }
.card:hover .card-media img { transform: scale(1.05); }
.card-body { padding: 16px 18px 18px; display: flex; flex-direction: column; gap: 9px; flex: 1; }
.card-top { display: flex; flex-wrap: wrap; gap: 8px; align-items: center; }
.card-title { font-size: 1.13rem; margin: 0; line-height: 1.25; }
.card-title a { text-decoration: none; }
.card-title a:hover { color: var(--amber-ink); }
.card-excerpt { color: var(--ink-2); font-size: .94rem; margin: 0; line-height: 1.55; }
.card .meta { margin-top: auto; }
.card-feature .card-title { font-size: clamp(1.25rem, 2.2vw, 1.6rem); }
.card-span { grid-column: 1 / -1; display: grid; grid-template-columns: 1.25fr 1fr; }
.card-span .card-media { aspect-ratio: auto; min-height: 280px; }
.card-span .card-body { padding: clamp(18px, 3vw, 32px); justify-content: center; }
@media (max-width: 700px) { .card-span { display: flex; } .card-span .card-media { aspect-ratio: 16 / 10; min-height: 0; } }
.meta { display: flex; flex-wrap: wrap; align-items: center; gap: 6px; font-size: .82rem; color: var(--muted); }
.meta .dot { width: 3px; height: 3px; border-radius: 50%; background: currentColor; opacity: .6; }
.meta-author { font-weight: 600; color: var(--ink-2); }
.thumb-fallback { --cat: var(--blue); display: grid; place-items: center; width: 100%; height: 100%; min-height: 120px; color: #fff; background:
	linear-gradient(rgba(255,255,255,.08) 1px, transparent 1px) 0 0 / 22px 22px,
	linear-gradient(90deg, rgba(255,255,255,.08) 1px, transparent 1px) 0 0 / 22px 22px,
	linear-gradient(135deg, var(--cat), color-mix(in srgb, var(--cat) 55%, #0e1a2b)); }
.thumb-fallback .tln-icon { opacity: .9; filter: drop-shadow(0 6px 14px rgba(0,0,0,.25)); }
.row-card { display: grid; grid-template-columns: auto 1fr; gap: 14px; align-items: start; padding: 12px 0; border-bottom: 1px solid var(--line); }
.row-card:last-child { border-bottom: 0; }
.row-media { width: 84px; aspect-ratio: 4 / 3; border-radius: 10px; overflow: hidden; display: block; background: var(--bg-2); }
.row-media img, .row-media .thumb-fallback { width: 100%; height: 100%; object-fit: cover; min-height: 0; }
.row-media .thumb-fallback .tln-icon { width: 26px; height: 26px; }
.row-num { font: 900 1.6rem/1 var(--f-head); font-stretch: 125%; color: var(--amber-strong); min-width: 2ch; }
.row-cat { --cat: var(--blue); font: 700 11px/1 var(--f-body); letter-spacing: .08em; text-transform: uppercase; color: color-mix(in srgb, var(--cat) 80%, var(--ink)); }
.row-title { font-size: .98rem; margin: 5px 0 4px; line-height: 1.3; }
.row-title a { text-decoration: none; }

/* ---------- Latest + popular ---------- */
.latest-split { display: grid; grid-template-columns: minmax(0, 1fr) 340px; gap: 32px; align-items: start; }
.popular-box, .side-box { background: var(--surface); border: 1px solid var(--line); border-radius: var(--r); padding: 18px 20px; }
.popular-box { position: sticky; top: 96px; }
.box-title { display: flex; align-items: center; gap: 8px; font-size: 1.05rem; margin: 0 0 6px; }
.box-title .tln-icon { color: var(--brick); }
.popular-cta { margin-top: 14px; padding-top: 16px; border-top: 1px dashed var(--line-2); }
.popular-cta p { font-weight: 700; margin-bottom: 10px; }
@media (max-width: 1000px) { .latest-split { grid-template-columns: minmax(0, 1fr); } .popular-box { position: static; } }

/* ---------- Tools band & cards ---------- */
.tools-band { background: var(--ink); color: #e8edf5; padding-block: clamp(40px, 6vw, 72px); position: relative; overflow: hidden; }
.tools-band::before { content: ""; position: absolute; inset: 0; background-image: linear-gradient(rgba(255,255,255,.05) 1px, transparent 1px), linear-gradient(90deg, rgba(255,255,255,.05) 1px, transparent 1px); background-size: 32px 32px; pointer-events: none; }
.tools-band .wrap { position: relative; }
.tools-band .section-title { color: #fff; }
.tools-band .eyebrow { color: var(--amber); }
.tools-band .link-more { color: #fff; border-color: rgba(255,255,255,.25); }
.tools-band .link-more:hover { background: var(--amber); color: #0e1a2b; border-color: var(--amber); }
:root[data-theme="dark"] .tools-band { background: #0f1a2e; }
.tool-grid { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 16px; }
.tool-card { position: relative; display: flex; flex-direction: column; gap: 8px; padding: 20px; border-radius: var(--r); background: var(--surface); border: 1px solid var(--line); color: var(--ink); text-decoration: none; transition: transform .2s, box-shadow .2s, border-color .2s; min-height: 100%; }
.tool-card:hover { transform: translateY(-3px); box-shadow: var(--shadow); border-color: var(--amber); color: var(--ink); }
.tool-ic { width: 46px; height: 46px; border-radius: 14px; background: var(--amber-soft); color: var(--amber-ink); display: grid; place-items: center; }
.tool-card.is-ai .tool-ic { background: color-mix(in srgb, var(--blue) 14%, transparent); color: var(--blue); }
.tool-kind { display: inline-flex; align-items: center; gap: 4px; font: 700 11px/1 var(--f-body); letter-spacing: .1em; text-transform: uppercase; color: var(--muted); margin-top: 4px; }
.tool-title { font: 800 1.02rem/1.25 var(--f-head); }
.tool-short { font-size: .88rem; color: var(--ink-2); line-height: 1.5; }
.tool-go { position: absolute; top: 20px; right: 18px; color: var(--muted); transition: transform .2s, color .2s; }
.tool-card:hover .tool-go { transform: translateX(3px); color: var(--amber-strong); }
.tools-band .tool-card { background: rgba(255,255,255,.04); border-color: rgba(255,255,255,.1); color: #fff; }
.tools-band .tool-card:hover { background: rgba(255,255,255,.07); border-color: var(--amber); color: #fff; }
.tools-band .tool-short { color: #b9c3d3; }
.tools-band .tool-kind { color: #8e9ab0; }
.tools-band .tool-ic { background: rgba(244,165,28,.16); color: var(--amber); }
.tools-band .tool-card.is-ai .tool-ic { background: rgba(127,169,216,.16); color: #9cc0ea; }
@media (max-width: 1100px) { .tool-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 560px) { .tool-grid { grid-template-columns: minmax(0, 1fr); } }

/* ---------- Rails ---------- */
.rail { --cat: var(--blue); }
.rail-name { display: flex; align-items: center; gap: 12px; }
.rail-ic { width: 42px; height: 42px; border-radius: 12px; display: grid; place-items: center; background: color-mix(in srgb, var(--cat) 14%, transparent); color: var(--cat); }
.rail .section-head { border-bottom: 2px solid var(--ink); padding-bottom: 14px; }
.rail-grid { display: grid; grid-template-columns: minmax(0, 1.3fr) minmax(0, 1fr); gap: 28px; }
.rail-list { display: flex; flex-direction: column; }
.rail-list .row-media { width: 120px; }
@media (max-width: 800px) { .rail-grid { grid-template-columns: minmax(0, 1fr); } }

/* ---------- Guest post band & newsletter ---------- */
.gp-band { background: var(--amber); color: #0e1a2b; padding-block: clamp(36px, 5vw, 56px); position: relative; overflow: hidden; }
.gp-band::after { content: ""; position: absolute; right: -60px; top: -60px; width: 260px; height: 260px; border: 40px solid rgba(14,26,43,.07); border-radius: 50%; }
.gp-band-inner { display: grid; grid-template-columns: minmax(0, 1.4fr) auto; gap: 28px; align-items: center; position: relative; z-index: 1; }
.gp-band h2 { color: #0e1a2b; font-size: clamp(1.5rem, 3vw, 2.2rem); }
.gp-band .eyebrow { color: #5a3b00; }
.gp-band .ticks { grid-auto-flow: column; justify-content: start; gap: 22px; margin: 0; }
.gp-band .ticks .tln-icon { color: #0e1a2b; }
.gp-band-actions { display: flex; flex-direction: column; gap: 10px; }
.gp-band .btn-primary { --b-bg: #0e1a2b; --b-fg: #fff; --b-bd: #0e1a2b; }
@media (max-width: 860px) { .gp-band-inner { grid-template-columns: minmax(0, 1fr); } .gp-band .ticks { grid-auto-flow: row; } .gp-band-actions { flex-direction: row; flex-wrap: wrap; } }

.nl-band { background: var(--bg-2); border-top: 1px solid var(--line); padding-block: clamp(34px, 5vw, 54px); }
.nl-inner { display: grid; grid-template-columns: minmax(0, 1.2fr) minmax(0, 1fr); gap: 32px; align-items: center; }
.nl-inner h2 { font-size: clamp(1.35rem, 2.6vw, 1.85rem); }
.nl-copy p:last-child { color: var(--muted); margin: 0; }
.nl-form { display: flex; gap: 8px; background: var(--surface); border: 1.5px solid var(--line-2); padding: 6px; border-radius: 999px; }
.nl-form input { border: 0; background: none; box-shadow: none !important; padding-left: 14px; }
@media (max-width: 800px) { .nl-inner { grid-template-columns: minmax(0, 1fr); } }
@media (max-width: 420px) { .nl-form { flex-direction: column; border-radius: var(--r); } }

/* ---------- Footer ---------- */
.site-footer { background: var(--ink); color: #c9d2df; padding-top: clamp(40px, 6vw, 64px); font-size: .95rem; --mark-bg: #f4a51c; --mark-fg: #0e1a2b; --mark-accent: #fff; }
:root[data-theme="dark"] .site-footer { background: #070d18; }
.site-footer a { color: #e6ebf2; text-decoration: none; }
.site-footer a:hover { color: var(--amber); }
.site-footer .brand, .site-footer .brand:hover { color: #fff; }
.site-footer .brand-tag { color: #8d99ad; }
.footer-grid { display: grid; grid-template-columns: 1.6fr 1fr 1.3fr 1fr 1.2fr; gap: 32px; padding-bottom: 36px; }
.footer-about p { margin: 16px 0; color: #aab5c5; max-width: 42ch; }
.footer-title { color: #fff; font-size: .82rem; letter-spacing: .12em; text-transform: uppercase; font-family: var(--f-body); font-weight: 800; margin-bottom: 14px; }
.footer-col ul { list-style: none; margin: 0; padding: 0; display: grid; gap: 9px; }
.footer-col .more { color: var(--amber); font-weight: 700; }
.footer-contact { display: flex; flex-direction: column; gap: 12px; align-items: flex-start; }
.footer-mail { display: inline-flex; align-items: center; gap: 8px; word-break: break-all; }
.socials { list-style: none; margin: 0; padding: 0; display: flex; gap: 8px; }
.socials a { width: 38px; height: 38px; display: grid; place-items: center; border-radius: 10px; border: 1px solid rgba(255,255,255,.14); }
.socials a:hover { background: var(--amber); color: #0e1a2b; border-color: var(--amber); }
.footer-bottom { display: flex; flex-wrap: wrap; align-items: center; gap: 12px 24px; padding-block: 20px; border-top: 1px solid rgba(255,255,255,.1); font-size: .86rem; color: #8d99ad; }
.footer-bottom p { margin: 0; flex: 1; }
.footer-bottom .legal { list-style: none; margin: 0; padding: 0; display: flex; gap: 18px; }
.to-top { display: inline-flex; align-items: center; gap: 6px; }
.footer-widgets { font-size: .9rem; color: #aab5c5; }
@media (max-width: 1100px) { .footer-grid { grid-template-columns: 1fr 1fr 1fr; } .footer-about { grid-column: 1 / -1; } }
@media (max-width: 640px) { .footer-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); } .footer-contact { grid-column: 1 / -1; } }

/* ---------- WhatsApp ---------- */
.wa-float { position: fixed; right: max(18px, env(safe-area-inset-right)); bottom: max(18px, env(safe-area-inset-bottom)); z-index: 90; }
.wa-fab { display: flex; align-items: center; gap: 0; height: 60px; min-width: 60px; padding: 0 16px; border-radius: 999px; border: 0; background: var(--wa); color: #fff; cursor: pointer; box-shadow: 0 12px 28px -8px rgba(22, 163, 74, .6), 0 2px 6px rgba(0,0,0,.15); position: relative; transition: gap .25s ease, padding .25s ease, background .2s; }
.wa-fab::before { content: ""; position: absolute; inset: 0; border-radius: inherit; border: 2px solid var(--wa); animation: waPulse 2.4s ease-out infinite; pointer-events: none; }
.wa-fab .wa-text { display: flex; flex-direction: column; align-items: flex-start; text-align: left; max-width: 0; overflow: hidden; white-space: nowrap; transition: max-width .3s ease; line-height: 1.15; }
.wa-fab .wa-label { font-weight: 800; font-size: .98rem; }
.wa-fab .wa-sub { font-size: .75rem; opacity: .9; }
.wa-fab:hover, .wa-fab:focus-visible { gap: 10px; background: var(--wa-strong); }
.wa-fab:hover .wa-text, .wa-fab:focus-visible .wa-text { max-width: 240px; }
@keyframes waPulse { 0% { transform: scale(1); opacity: .7; } 80%, 100% { transform: scale(1.35); opacity: 0; } }
@media (prefers-reduced-motion: reduce) { .wa-fab::before { animation: none; } }
@media (max-width: 640px) { .wa-fab { height: 56px; min-width: 56px; padding: 0 14px; } }
.wa-inline { display: inline-flex; align-items: center; gap: 6px; padding: 3px 10px 3px 8px; border-radius: 999px; border: 0; background: var(--wa-strong); color: #fff; font: 700 .88em/1.4 var(--f-body); cursor: pointer; vertical-align: baseline; }
.wa-inline:hover { background: #117a39; }
.wa-inline .wa-sub { display: none; }

/* ---------- Toast & progress ---------- */
.toast { position: fixed; left: 50%; bottom: 24px; transform: translateX(-50%); background: var(--ink); color: var(--bg); padding: 10px 18px; border-radius: 999px; font-weight: 600; z-index: 300; box-shadow: var(--shadow-lg); animation: pop .2s ease; }
.read-progress { position: fixed; top: 0; left: 0; right: 0; height: 3px; z-index: 100; pointer-events: none; }
.read-progress span { display: block; height: 100%; width: 100%; background: linear-gradient(90deg, var(--amber), var(--brick)); transform-origin: 0 50%; transform: scaleX(0); }
.admin-bar .read-progress { top: 32px; }

/* ---------- Archive ---------- */
.archive-head, .page-head { --cat: var(--blue); padding-block: clamp(26px, 4vw, 44px); border-bottom: 1px solid var(--line); background: linear-gradient(180deg, color-mix(in srgb, var(--cat) 8%, transparent), transparent); }
.archive-title-row { display: flex; align-items: center; gap: 18px; }
.archive-ic { width: 64px; height: 64px; border-radius: 18px; display: grid; place-items: center; color: #fff; background: var(--cat); flex: none; box-shadow: 0 10px 24px -10px var(--cat); }
.archive-title, .page-title { font-size: clamp(1.9rem, 4.4vw, 3rem); font-weight: 900; font-stretch: 112%; margin: 0; }
.archive-count { margin: 4px 0 0; color: var(--muted); font-weight: 600; font-size: .92rem; }
.archive-desc { margin-top: 16px; max-width: 70ch; color: var(--ink-2); }
.archive-desc p:last-child { margin: 0; }
.sub-chips { list-style: none; padding: 0; margin: 16px 0 0; display: flex; flex-wrap: wrap; gap: 8px; }
.archive-search { margin-top: 18px; max-width: 560px; }
.layout { display: grid; grid-template-columns: minmax(0, 1fr) 330px; gap: 36px; padding-block: 32px 56px; align-items: start; }
.grid-archive { grid-template-columns: repeat(2, minmax(0, 1fr)); }
@media (max-width: 1000px) { .layout { grid-template-columns: minmax(0, 1fr); } }
@media (max-width: 600px) { .grid-archive { grid-template-columns: minmax(0, 1fr); } .archive-ic { width: 52px; height: 52px; } }
.sidebar { display: flex; flex-direction: column; gap: 20px; }
.side-tool { background: var(--ink); color: #dbe3ee; border: 0; position: relative; overflow: hidden; }
.side-tool .eyebrow { color: var(--amber); }
.side-tool-title { color: #fff; font-size: 1.2rem; }
.side-tool p { font-size: .92rem; }
.side-tool-ic { position: absolute; right: 16px; top: 16px; width: 46px; height: 46px; border-radius: 14px; display: grid; place-items: center; background: rgba(244,165,28,.16); color: var(--amber); }
:root[data-theme="dark"] .side-tool { background: #1b2740; }
.side-gp p { font-size: .92rem; color: var(--ink-2); }
.side-gp .btn + .btn { margin-top: 8px; }
.side-widgets .widget { background: var(--surface); border: 1px solid var(--line); border-radius: var(--r); padding: 18px 20px; margin-bottom: 20px; font-size: .94rem; }
.widget-title { font-size: 1rem; }
.widget ul { padding-left: 1.1em; margin: 0; }
.pagination { margin-top: 36px; }
.pagination ul { list-style: none; margin: 0; padding: 0; display: flex; flex-wrap: wrap; gap: 6px; justify-content: center; }
.pagination .page-numbers { display: grid; place-items: center; min-width: 42px; height: 42px; padding: 0 12px; border-radius: 12px; border: 1px solid var(--line-2); text-decoration: none; font-weight: 700; background: var(--surface); }
.pagination .current { background: var(--ink); color: var(--bg); border-color: var(--ink); }
.pagination a.page-numbers:hover { border-color: var(--amber); color: var(--ink); }
.empty { text-align: center; padding: 48px 16px; background: var(--surface); border: 1px dashed var(--line-2); border-radius: var(--r-lg); }
.empty .tln-icon { color: var(--muted); margin: 0 auto 12px; }
.empty .search-form { max-width: 460px; margin: 18px auto; }
.search-form { display: flex; align-items: center; gap: 10px; background: var(--surface); border: 1.5px solid var(--line-2); border-radius: 999px; padding: 5px 5px 5px 16px; color: var(--muted); }
.search-form:focus-within { border-color: var(--amber); }
.search-form input { flex: 1; min-width: 0; outline: none; color: var(--ink); }

/* ---------- Breadcrumbs ---------- */
.crumbs ol { list-style: none; margin: 0 0 16px; padding: 0; display: flex; flex-wrap: wrap; gap: 4px 8px; font-size: .84rem; color: var(--muted); }
.crumbs li { display: inline-flex; align-items: center; gap: 8px; min-width: 0; }
.crumbs li + li::before { content: "/"; opacity: .5; }
.crumbs a { text-decoration: none; font-weight: 600; }
.crumbs span[aria-current] { color: var(--ink-2); max-width: 46ch; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }

/* ---------- Article ---------- */
.article-head { padding-block: clamp(26px, 4vw, 48px) 26px; }
.article-chips { display: flex; flex-wrap: wrap; gap: 8px; margin-bottom: 14px; }
.article-title { font-size: clamp(2rem, 4.6vw, 3.3rem); font-weight: 900; font-stretch: 110%; letter-spacing: -.03em; line-height: 1.06; }
.article-dek { font-size: clamp(1.05rem, 1.8vw, 1.25rem); color: var(--ink-2); max-width: 64ch; }
.article-meta { display: flex; flex-wrap: wrap; align-items: center; gap: 14px 22px; margin-top: 22px; padding-top: 18px; border-top: 1px solid var(--line); }
.byline { display: flex; align-items: center; gap: 12px; text-decoration: none; }
.byline .avatar { border-radius: 50%; }
.byline-name { display: block; font-weight: 750; }
.byline-role { display: block; font-size: .82rem; color: var(--muted); }
.meta-list { list-style: none; margin: 0; padding: 0; display: flex; flex-wrap: wrap; gap: 8px 16px; font-size: .88rem; color: var(--muted); }
.meta-list li { display: inline-flex; align-items: center; gap: 6px; }
.article-actions { display: flex; gap: 8px; margin-left: auto; flex-wrap: wrap; }
.article-actions .pill.is-playing { background: var(--amber); border-color: var(--amber); color: #0e1a2b; }
@media (max-width: 700px) { .article-actions { margin-left: 0; } }
.article-hero { margin: 0 auto; }
.article-hero img, .article-hero .thumb-fallback { width: 100%; aspect-ratio: 16 / 9; object-fit: cover; border-radius: var(--r-lg); min-height: 200px; }
.article-hero .thumb-fallback .tln-icon { width: 88px; height: 88px; }
.article-hero figcaption { font-size: .85rem; color: var(--muted); margin-top: 8px; }
.article-grid { display: grid; grid-template-columns: minmax(0, 1fr) 290px; gap: clamp(28px, 4vw, 56px); padding-block: 36px 24px; align-items: start; }
.article-main { max-width: 760px; min-width: 0; }
.aside-sticky { position: sticky; top: 96px; display: flex; flex-direction: column; gap: 16px; }
.admin-bar .aside-sticky { top: 128px; }
.aside-tool { display: flex; gap: 12px; align-items: center; padding: 14px; border-radius: var(--r); background: var(--surface); border: 1px solid var(--line); text-decoration: none; }
.aside-tool:hover { border-color: var(--amber); color: var(--ink); }
.aside-tool-ic { width: 42px; height: 42px; border-radius: 12px; background: var(--amber-soft); color: var(--amber-ink); display: grid; place-items: center; flex: none; }
.aside-tool-k { display: block; font: 700 11px/1 var(--f-body); letter-spacing: .1em; text-transform: uppercase; color: var(--muted); margin-bottom: 4px; }
.aside-tool-t { display: block; font-weight: 700; font-size: .93rem; line-height: 1.3; }
@media (max-width: 1060px) { .article-grid { grid-template-columns: minmax(0, 1fr); } .article-aside { display: none; } .article-main { max-width: none; } }

.toc-aside { background: var(--surface); border: 1px solid var(--line); border-radius: var(--r); padding: 16px 12px 12px 18px; max-height: calc(100vh - 280px); overflow: auto; }
.toc-title { display: flex; align-items: center; gap: 8px; font: 800 .8rem/1 var(--f-body); letter-spacing: .1em; text-transform: uppercase; margin: 0 0 10px; color: var(--muted); }
.toc ol { list-style: none; margin: 0; padding: 0; counter-reset: toc; }
.toc li { margin: 0; }
.toc li.lvl-3 { padding-left: 14px; }
.toc a { display: block; padding: 6px 8px 6px 12px; border-left: 2px solid var(--line); text-decoration: none; font-size: .9rem; line-height: 1.35; color: var(--ink-2); transition: .15s; }
.toc a:hover { color: var(--ink); border-color: var(--line-2); }
.toc a.is-active { color: var(--ink); font-weight: 700; border-color: var(--amber); background: var(--amber-soft); border-radius: 0 8px 8px 0; }
.toc-inline { display: none; background: var(--surface); border: 1px solid var(--line); border-radius: var(--r); margin: 0 0 28px; }
.toc-inline summary { display: flex; align-items: center; gap: 10px; padding: 14px 16px; cursor: pointer; font-weight: 750; list-style: none; }
.toc-inline summary::-webkit-details-marker { display: none; }
.toc-count { margin-left: auto; font-size: .8rem; background: var(--bg); padding: 2px 9px; border-radius: 999px; color: var(--muted); }
.toc-inline ol { padding: 0 12px 14px 16px; }
@media (max-width: 1060px) { .toc-inline { display: block; } }

.facts { display: grid; grid-template-columns: repeat(auto-fit, minmax(150px, 1fr)); gap: 1px; background: var(--line); border: 1px solid var(--line); border-radius: var(--r); overflow: hidden; margin: 0 0 28px; }
.fact { background: var(--surface); padding: 14px 16px; }
.fact dt { display: flex; align-items: center; gap: 6px; font: 700 11.5px/1 var(--f-body); letter-spacing: .08em; text-transform: uppercase; color: var(--muted); margin-bottom: 6px; }
.fact dd { margin: 0; font-weight: 750; font-size: .98rem; }

/* Entry content typography */
.entry-content { font-size: 1.08rem; line-height: 1.78; color: var(--ink); }
.entry-content > * { margin-block: 0 1.15em; }
.entry-content h2 { font-size: clamp(1.45rem, 2.6vw, 1.85rem); margin: 1.9em 0 .6em; padding-top: .2em; }
.entry-content h3 { font-size: clamp(1.2rem, 2vw, 1.4rem); margin: 1.6em 0 .5em; }
.entry-content h4 { font-size: 1.1rem; margin: 1.4em 0 .4em; }
.entry-content h2::before { content: ""; display: block; width: 36px; height: 4px; border-radius: 2px; background: var(--amber); margin-bottom: 14px; }
.entry-content a { color: var(--blue); font-weight: 550; text-decoration-color: color-mix(in srgb, var(--blue) 40%, transparent); }
.entry-content a:hover { color: var(--amber-ink); text-decoration-color: currentColor; }
.entry-content ul, .entry-content ol { padding-left: 1.3em; }
.entry-content li { margin-bottom: .45em; }
.entry-content li::marker { color: var(--amber-strong); font-weight: 700; }
.entry-content blockquote { margin-inline: 0; padding: 18px 22px; border-left: 4px solid var(--amber); background: var(--surface); border-radius: 0 var(--r) var(--r) 0; font-size: 1.12rem; font-family: var(--f-head); font-weight: 600; }
.entry-content blockquote p:last-child { margin: 0; }
.entry-content img { border-radius: var(--r); height: auto; }
.entry-content figure { margin-inline: 0; }
.entry-content figcaption, .wp-element-caption { font-size: .86rem; color: var(--muted); margin-top: 8px; text-align: center; }
.entry-content table { width: 100%; border-collapse: collapse; font-size: .95rem; display: block; overflow-x: auto; }
.entry-content th, .entry-content td { padding: 10px 12px; border-bottom: 1px solid var(--line); text-align: left; }
.entry-content th { background: var(--surface); font-weight: 750; }
.entry-content code { background: var(--surface); padding: 2px 6px; border-radius: 6px; font-size: .9em; }
.entry-content pre { background: var(--ink); color: #e6ebf2; padding: 16px; border-radius: var(--r); overflow-x: auto; }
.entry-content hr { border: 0; border-top: 1px solid var(--line); margin: 2em 0; }
.entry-content .alignwide { max-width: none; }
.entry-content iframe, .entry-content video { max-width: 100%; border-radius: var(--r); }
.entry-content .wp-block-button__link { background: var(--amber); color: #0e1a2b; border-radius: 999px; font-weight: 700; text-decoration: none; }
.page-content { padding-block: 32px 56px; }
.inline-tool { display: grid; grid-template-columns: auto 1fr auto; gap: 16px; align-items: center; padding: 18px 20px; border-radius: var(--r); background: var(--surface); border: 1px solid var(--line); border-left: 5px solid var(--amber); margin: 1.8em 0; }
.inline-tool p { margin: 0; line-height: 1.35; }
.inline-tool-ic { width: 50px; height: 50px; border-radius: 14px; display: grid; place-items: center; background: var(--amber-soft); color: var(--amber-ink); }
.inline-tool-k { font: 700 11px/1 var(--f-body) !important; letter-spacing: .1em; text-transform: uppercase; color: var(--muted); margin-bottom: 4px !important; }
.inline-tool-t { font: 800 1.05rem/1.3 var(--f-head); }
.inline-tool-d { font-size: .9rem; color: var(--ink-2); margin-top: 3px !important; }
.entry-content .inline-tool a.btn { color: #0e1a2b; text-decoration: none; }
@media (max-width: 640px) { .inline-tool { grid-template-columns: auto 1fr; } .inline-tool .btn { grid-column: 1 / -1; } }

/* Before / after */
.ba { margin: 1.8em 0; }
.ba-frame { position: relative; overflow: hidden; border-radius: var(--r); aspect-ratio: 16 / 10; background: var(--bg-2); user-select: none; }
.ba-frame img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; border-radius: 0; }
.ba-before { position: absolute; inset: 0; clip-path: inset(0 calc(100% - var(--pos)) 0 0); }
.ba-handle { position: absolute; top: 0; bottom: 0; left: var(--pos); width: 3px; background: #fff; transform: translateX(-50%); display: grid; place-items: center; pointer-events: none; }
.ba-handle::after { content: ""; position: absolute; width: 44px; height: 44px; border-radius: 50%; background: #fff; box-shadow: var(--shadow); }
.ba-handle .tln-icon { position: relative; z-index: 1; color: #0e1a2b; margin: 0 -3px; }
.ba-handle { grid-auto-flow: column; }
.ba-range { position: absolute; inset: 0; width: 100%; height: 100%; opacity: 0; cursor: ew-resize; margin: 0; }
.ba-tag { position: absolute; top: 12px; padding: 4px 10px; border-radius: 999px; background: rgba(14,26,43,.75); color: #fff; font-size: .78rem; font-weight: 700; }
.ba-tag-b { left: 12px; } .ba-tag-a { right: 12px; }

/* FAQ */
.faq { margin: 36px 0; }
.faq h2 { font-size: 1.5rem; }
.faq details { border: 1px solid var(--line); border-radius: var(--r); background: var(--surface); margin-bottom: 10px; }
.faq summary { padding: 16px 48px 16px 18px; cursor: pointer; font-weight: 700; position: relative; list-style: none; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: "+"; position: absolute; right: 18px; top: 50%; transform: translateY(-50%); font: 400 1.5rem/1 var(--f-body); color: var(--amber-strong); transition: transform .2s; }
.faq details[open] summary::after { transform: translateY(-50%) rotate(45deg); }
.faq details p { padding: 0 18px 16px; margin: 0; color: var(--ink-2); }

.tag-list { list-style: none; margin: 28px 0 0; padding: 0; display: flex; flex-wrap: wrap; gap: 8px; }
.tag-list a { display: inline-block; padding: 5px 12px; border-radius: 999px; background: var(--surface); border: 1px solid var(--line); font-size: .86rem; text-decoration: none; font-weight: 600; }
.share-row { display: flex; flex-wrap: wrap; align-items: center; gap: 8px; margin: 28px 0; padding: 16px 0; border-block: 1px solid var(--line); }
.share-row > span { font-weight: 700; margin-right: 6px; }
.share-ic { width: 40px; height: 40px; display: grid; place-items: center; border-radius: 12px; background: var(--surface); border: 1px solid var(--line); color: var(--ink); cursor: pointer; text-decoration: none; }
.share-ic:hover { border-color: var(--amber); color: var(--ink); background: var(--amber-soft); }
.share-whatsapp:hover { background: var(--wa-strong); border-color: var(--wa-strong); color: #fff; }

.author-box { display: grid; grid-template-columns: auto 1fr; gap: 20px; padding: 22px; border-radius: var(--r-lg); background: var(--surface); border: 1px solid var(--line); margin: 28px 0; }
.author-box .avatar { border-radius: 50%; }
.author-name { font-size: 1.25rem; margin: 0; }
.author-name a { text-decoration: none; }
.author-role { color: var(--amber-ink); font-weight: 700; font-size: .9rem; margin: 2px 0 10px; }
.author-bio { color: var(--ink-2); font-size: .96rem; margin-bottom: 10px; }
.author-facts { list-style: none; margin: 0 0 10px; padding: 0; display: flex; flex-wrap: wrap; gap: 6px 16px; font-size: .85rem; color: var(--muted); }
.author-facts li { display: inline-flex; align-items: center; gap: 5px; }
.author-tags { list-style: none; margin: 0 0 10px; padding: 0; display: flex; flex-wrap: wrap; gap: 6px; }
.author-tags li { padding: 3px 10px; border-radius: 999px; background: var(--bg); font-size: .8rem; font-weight: 600; }
.author-links { display: flex; gap: 8px; margin: 0; }
.author-links a { width: 36px; height: 36px; display: grid; place-items: center; border-radius: 10px; border: 1px solid var(--line); }
.author-box-full { margin: 0; }
.author-box-full .author-name { font-size: clamp(1.8rem, 4vw, 2.6rem); font-weight: 900; }
.author-head { padding-bottom: 32px; }
.authors-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 20px; }
.authors-grid .author-box { margin: 0; }
@media (max-width: 800px) { .authors-grid { grid-template-columns: minmax(0, 1fr); } }
@media (max-width: 520px) { .author-box { grid-template-columns: minmax(0, 1fr); } }

.post-nav { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 16px; padding-block: 16px 40px; }
.post-nav a { display: flex; flex-direction: column; gap: 6px; padding: 18px; border-radius: var(--r); background: var(--surface); border: 1px solid var(--line); text-decoration: none; }
.post-nav a:hover { border-color: var(--amber); color: var(--ink); }
.post-nav span { display: inline-flex; align-items: center; gap: 6px; font-size: .8rem; font-weight: 700; text-transform: uppercase; letter-spacing: .08em; color: var(--muted); }
.post-nav-next { grid-column: 2; text-align: right; align-items: flex-end; }
@media (max-width: 640px) { .post-nav { grid-template-columns: minmax(0, 1fr); } .post-nav-next { grid-column: 1; } }

.comments { padding-block: 16px 48px; }
.comment-list { list-style: none; padding: 0; }
.comment-list .children { list-style: none; padding-left: 24px; }
.comment-body { padding: 16px; background: var(--surface); border: 1px solid var(--line); border-radius: var(--r); margin-bottom: 12px; }
.comment-author .avatar { border-radius: 50%; float: left; margin-right: 10px; }
.comment-meta { font-size: .85rem; color: var(--muted); }
.comment-form p { margin-bottom: 12px; }
.comment-form label { display: block; font-weight: 650; font-size: .9rem; margin-bottom: 4px; }
.comment-form .comment-form-cookies-consent { display: flex; gap: 8px; align-items: flex-start; }
.comment-form .comment-form-cookies-consent label { font-weight: 400; }

/* ---------- Guest post page ---------- */
.gp-hero { padding-block: clamp(28px, 5vw, 60px); }
.gp-hero .wrap { position: relative; z-index: 1; }
.gp-hero-inner { display: grid; grid-template-columns: minmax(0, 1.4fr) minmax(0, 1fr); gap: 40px; align-items: center; }
.gp-hero .hero-title { font-size: clamp(2rem, 4.4vw, 3.4rem); }
.gp-stats { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 12px; }
.gp-stats li { padding: 20px; border-radius: var(--r); background: var(--surface); border: 1px solid var(--line); box-shadow: var(--shadow-sm); }
.gp-stats strong { display: block; font: 900 1.7rem/1.1 var(--f-head); font-stretch: 115%; }
.gp-stats span { font-size: .86rem; color: var(--muted); font-weight: 600; }
@media (max-width: 900px) { .gp-hero-inner { grid-template-columns: minmax(0, 1fr); } }
.about-hero .hero-title { max-width: 20ch; }
.benefit-grid { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 16px; }
.benefit { padding: 22px; border-radius: var(--r); background: var(--surface); border: 1px solid var(--line); }
.benefit h3 { font-size: 1.1rem; margin: 14px 0 6px; }
.benefit p { margin: 0; color: var(--ink-2); font-size: .95rem; }
.benefit-ic { width: 46px; height: 46px; border-radius: 14px; background: var(--amber-soft); color: var(--amber-ink); display: grid; place-items: center; }
@media (max-width: 900px) { .benefit-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 560px) { .benefit-grid { grid-template-columns: minmax(0, 1fr); } }
.plans-band { background: var(--bg-2); padding-block: clamp(40px, 6vw, 72px); border-block: 1px solid var(--line); }
.plans { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 18px; align-items: stretch; margin-top: 12px; }
.plan { position: relative; padding: 28px 24px 24px; border-radius: var(--r-lg); background: var(--surface); border: 1px solid var(--line); display: flex; flex-direction: column; }
.plan.is-featured { border: 2px solid var(--amber); box-shadow: var(--shadow-lg); transform: translateY(-6px); }
.plan-flag { position: absolute; top: -13px; left: 50%; transform: translateX(-50%); background: var(--amber); color: #0e1a2b; font: 800 11.5px/1 var(--f-body); letter-spacing: .08em; text-transform: uppercase; padding: 7px 12px; border-radius: 999px; white-space: nowrap; }
.plan-name { font-size: 1.2rem; }
.plan-price { font: 900 2.6rem/1 var(--f-head); font-stretch: 115%; margin: 4px 0 18px; }
.plan-price .cur { font-size: .5em; vertical-align: top; margin-right: 2px; }
.plan-price .per { font: 600 .9rem/1 var(--f-body); color: var(--muted); margin-left: 4px; }
.plan .ticks { flex: 1; font-size: .95rem; }
.plans-note { text-align: center; color: var(--muted); margin: 24px 0 0; }
@media (max-width: 860px) { .plans { grid-template-columns: minmax(0, 1fr); max-width: 440px; margin-inline: auto; } .plan.is-featured { transform: none; } }
.rules { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 18px; }
.rule-col { padding: 22px; border-radius: var(--r); background: var(--surface); border: 1px solid var(--line); }
.rule-col h3 { display: flex; align-items: center; gap: 8px; font-size: 1.1rem; }
.rule-do h3 .tln-icon { color: var(--ok); }
.rule-dont h3 .tln-icon { color: var(--err); }
.rule-col ul { margin: 0; padding-left: 1.2em; display: grid; gap: 6px; color: var(--ink-2); }
.gp-extra { margin-top: 24px; }
@media (max-width: 700px) { .rules { grid-template-columns: minmax(0, 1fr); } }
.steps { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 16px; counter-reset: s; }
.steps li { padding: 22px; border-radius: var(--r); background: var(--surface); border: 1px solid var(--line); position: relative; }
.steps h3 { font-size: 1.1rem; margin: 12px 0 6px; }
.steps p { margin: 0; color: var(--ink-2); font-size: .94rem; }
.step-n { width: 40px; height: 40px; border-radius: 12px; background: var(--ink); color: var(--amber); display: grid; place-items: center; font: 900 1.1rem/1 var(--f-head); }
@media (max-width: 900px) { .steps { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 520px) { .steps { grid-template-columns: minmax(0, 1fr); } }
.form-card { display: grid; grid-template-columns: minmax(0, .9fr) minmax(0, 1.3fr); gap: clamp(24px, 4vw, 48px); padding: clamp(22px, 4vw, 40px); border-radius: var(--r-lg); background: var(--surface); border: 1px solid var(--line); box-shadow: var(--shadow); }
.tln-form { display: grid; gap: 14px; align-content: start; }
.tln-form .btn { justify-self: start; }
.contact-list { list-style: none; margin: 18px 0; padding: 0; display: grid; gap: 10px; }
.contact-list li { display: flex; align-items: center; gap: 10px; word-break: break-word; }
.contact-list .tln-icon { color: var(--amber-strong); }
.contact-extra { margin-top: 24px; font-size: .95rem; color: var(--ink-2); }
@media (max-width: 860px) { .form-card { grid-template-columns: minmax(0, 1fr); } }

/* ---------- 404 ---------- */
.notfound { text-align: center; padding-block: clamp(40px, 8vw, 90px); }
.notfound-code { display: flex; align-items: center; justify-content: center; gap: 10px; font: 900 clamp(5rem, 16vw, 9rem)/1 var(--f-head); font-stretch: 125%; margin: 0 0 12px; }
.notfound-code svg { width: clamp(70px, 14vw, 110px); height: auto; }
.notfound .search-form { max-width: 480px; margin: 24px auto; }
.notfound .hero-topics { margin: 20px 0 28px; }

/* ---------- Motion ---------- */
@media (prefers-reduced-motion: reduce) {
	*, *::before, *::after { animation-duration: .01ms !important; animation-iteration-count: 1 !important; transition-duration: .01ms !important; }
	@view-transition { navigation: none; }
}

/* ---------- Print ---------- */
@media print {
	.site-header, .announce, .site-footer, .nl-band, .wa-float, .article-aside, .share-row, .post-nav, .related, .comments, .drawer, .cmdk, .gp-band, .out-actions, .sidebar, .tool-info-side, .read-progress, .article-actions { display: none !important; }
	body { background: #fff; color: #000; font-size: 12pt; }
	.article-grid, .layout { display: block; }
	a { text-decoration: none; }
}

/* Auto-collapse when a long custom menu does not fit */
.site-header.is-compact .primary-nav { visibility: hidden; position: absolute; pointer-events: none; }
.site-header.is-compact .menu-open { display: inline-grid; }
.site-header.is-compact .header-inner { justify-content: space-between; }
.article-hero .thumb-fallback { aspect-ratio: 21 / 6; min-height: 160px; }
