/* tools.internet10k.com — simplified copy of internet10k.com design (a/s/redesign.css there).
   Palette mirrors internet10k.com data/theme.json: change both together. */
@font-face {
  font-family: 'Inter Tight';
  font-style: normal;
  font-weight: 100 900;
  font-display: swap;
  src: url(../f/inter-tight/inter-tight-400-cyrillic.woff2) format('woff2');
  unicode-range: U+0301, U+0400-045F, U+0490-0491, U+04B0-04B1, U+2116;
}
@font-face {
  font-family: 'Inter Tight';
  font-style: normal;
  font-weight: 100 900;
  font-display: swap;
  src: url(../f/inter-tight/inter-tight-400-latin.woff2) format('woff2');
  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: 'Avenir Next';
  font-style: italic;
  font-weight: 900;
  font-display: swap;
  src: url(../f/avenir-next/avenir-next-cyr-heavy-italic.woff2) format('woff2');
}

:root {
  --bg: #1a1410;
  --bg-2: #221b15;
  --bg-deep: #0a0b0b;
  --fg: #f3ede3;
  --fg-dim: rgba(243,237,227,0.55);
  --fg-mute: rgba(243,237,227,0.35);
  --accent: #d97757;
  --accent-hi: #e88863;
  --line: rgba(243,237,227,0.10);
  --line-2: rgba(243,237,227,0.18);
  /* Check results only (tool pages): muted to sit on the dark palette */
  --ok: #8fbf7a;
  --warn: #e6b450;
  --bad: #ec6a55;
  --mono: ui-monospace, SFMono-Regular, Menlo, Consolas, 'Liberation Mono', monospace;
  --pad: 60px;
}
@media (max-width: 900px) { :root { --pad: 24px; } }

* { margin: 0; padding: 0; box-sizing: border-box; }
html, body { background: var(--bg); color: var(--fg); font-family: 'Inter Tight', -apple-system, BlinkMacSystemFont, sans-serif; font-weight: 400; -webkit-font-smoothing: antialiased; -moz-osx-font-smoothing: grayscale; line-height: 1.45; }
html { scrollbar-gutter: stable; }
body { min-height: 100vh; overflow-x: hidden; }
a { color: inherit; text-decoration: none; }
img { max-width: 100%; height: auto; display: block; }
button { font-family: inherit; cursor: pointer; }
:focus-visible { outline: 2px solid var(--accent-hi); outline-offset: 3px; border-radius: 4px; }

.wrap { max-width: 1320px; margin: 0 auto; padding: 0 var(--pad); }
.r_arrow { display: inline-block; transition: transform .2s; }

/* === Header ============================================================ */
header.r_header { position: fixed; top: 0; left: 0; right: 0; z-index: 100; padding: 22px 0; transition: background .3s, border-color .3s; border-bottom: 1px solid transparent; }
header.r_header._move { background: rgba(26,20,16,0.72); -webkit-backdrop-filter: blur(28px) saturate(150%); backdrop-filter: blur(28px) saturate(150%); border-bottom-color: var(--line); }
header.r_header .wrap { display: flex; justify-content: space-between; align-items: center; gap: 24px; }
.r_brand { display: inline-flex; align-items: baseline; gap: 10px; white-space: nowrap; }
.r_logo { font-family: 'Avenir Next', 'Inter Tight', -apple-system, sans-serif; font-style: italic; font-weight: 900; font-size: 15px; letter-spacing: 0.02em; color: var(--fg); text-transform: uppercase; }
.r_brand_sub { font-size: 13px; color: var(--fg-dim); }
.r_brand_sub::before { content: "/"; margin-right: 10px; color: var(--fg-mute); }
.r_nav { display: flex; align-items: center; gap: 18px; font-size: 14px; }
.r_nav_link { color: var(--fg-dim); transition: color .2s; }
.r_nav_link:hover { color: var(--fg); }
.r_pill { display: inline-flex; align-items: center; gap: 8px; padding: 10px 18px; border-radius: 999px; font-size: 13px; font-weight: 500; border: 1px solid var(--line-2); transition: background .2s, border-color .2s, color .2s; }
.r_pill:hover { background: rgba(243,237,227,0.06); border-color: rgba(243,237,227,0.4); }
.r_pill--filled { background: var(--fg); color: var(--bg); border-color: var(--fg); }
.r_pill--filled:hover { background: #fff; color: var(--bg); }
.r_lang { font-size: 13px; letter-spacing: 0.04em; color: var(--fg-dim); padding: 6px 10px; border-radius: 999px; transition: color .2s; }
.r_lang:hover { color: var(--fg); }
@media (max-width: 768px) {
  header.r_header { padding: 14px 0; }
  .r_nav { gap: 8px; }
  .r_nav_link { display: none; }
  .r_pill { padding: 8px 14px; font-size: 12px; }
}
@media (max-width: 420px) {
  .r_brand_sub { display: none; }
  .r_pill:not(.r_pill--filled) { display: none; }
}

/* === Section primitives =============================================== */
section { padding: 100px 0; border-top: 1px solid var(--line); }
section:first-of-type { border-top: 0; }
@media (max-width: 900px) { section { padding: 56px 0; } }

.r_eyebrow { font-size: 12px; letter-spacing: 0.16em; color: var(--fg-dim); text-transform: uppercase; font-weight: 500; }
.r_h2 { font-size: clamp(40px, 5.5vw, 80px); font-weight: 500; letter-spacing: -0.02em; line-height: 1.02; }
.r_lead { font-size: 17px; color: var(--fg-dim); max-width: 560px; }
@media (max-width: 768px) { .r_lead { font-size: 15px; } }
.r_section_head { display: grid; gap: 18px; margin-bottom: 56px; }
@media (max-width: 900px) { .r_section_head { margin-bottom: 36px; } }

/* === Hero (static glow instead of the three.js shader of the main site) === */
section.r_hero { padding-top: 180px; padding-bottom: 110px; border-top: 0; position: relative; overflow: hidden; isolation: isolate;
  background: radial-gradient(ellipse 70% 60% at 85% 0%, rgba(217,119,87,0.22), transparent 70%), radial-gradient(ellipse 50% 50% at 0% 100%, rgba(217,119,87,0.08), transparent 70%), var(--bg); }
.r_hero_top { display: flex; justify-content: space-between; align-items: baseline; gap: 12px; flex-wrap: wrap; margin-bottom: 72px; }
.r_hero_top .r_meta { font-size: 12px; letter-spacing: 0.16em; color: var(--fg-dim); text-transform: uppercase; }
.r_hero_top .r_meta::before { content: "● "; color: var(--accent); margin-right: 4px; }
.r_hero_h1 { font-size: clamp(48px, 9vw, 120px); font-weight: 500; letter-spacing: -0.03em; line-height: 0.95; max-width: 11ch; }
.r_hero_sub { font-size: 19px; color: var(--fg-dim); line-height: 1.4; max-width: 560px; margin-top: 36px; }
@media (max-width: 900px) {
  section.r_hero { padding-top: 120px; padding-bottom: 64px; }
  .r_hero_top { margin-bottom: 48px; }
  .r_hero_sub { font-size: 17px; margin-top: 24px; }
}

/* === Tool catalog (row list in the style of the main site's service list) === */
.r_tool_list { border-top: 1px solid var(--line); }
/* On the home page the list sits inside the hero, under the subtitle */
.r_hero .r_tool_list { margin-top: 80px; }
@media (max-width: 900px) { .r_hero .r_tool_list { margin-top: 48px; } }
.r_tool_row { display: grid; grid-template-columns: 42px minmax(180px, 1.1fr) 2fr 120px 110px; align-items: center; gap: 24px; padding: 22px 0; border-bottom: 1px solid var(--line); transition: background .2s; }
.r_tool_num { font-size: 11.5px; color: var(--fg-mute); letter-spacing: 0.1em; }
.r_tool_title { font-size: 21px; font-weight: 500; letter-spacing: -0.01em; line-height: 1.15; }
.r_tool_descr { color: var(--fg-dim); font-size: 14px; line-height: 1.45; }
.r_tool_cat { font-size: 11px; color: var(--fg-mute); letter-spacing: 0.14em; text-transform: uppercase; }
.r_tool_status { justify-self: end; font-size: 12px; font-weight: 500; color: var(--fg-dim); padding: 6px 12px; border-radius: 999px; border: 1px solid var(--line-2); white-space: nowrap; }
.r_tool_status--live { color: var(--bg); background: var(--accent); border-color: var(--accent); }
.r_tool_row:not(.r_tool_row--live) .r_tool_title { color: rgba(243,237,227,0.82); }
a.r_tool_row--live:hover { background: rgba(243,237,227,0.04); }
a.r_tool_row--live:hover .r_tool_title { color: var(--accent); }
a.r_tool_row--live:hover .r_arrow { transform: translateX(4px); }
@media (max-width: 900px) {
  .r_tool_row { grid-template-columns: 28px 1fr auto; gap: 6px 12px; padding: 18px 0; align-items: start; }
  .r_tool_title, .r_tool_descr, .r_tool_cat { grid-column: 2; }
  .r_tool_title { font-size: 18px; }
  .r_tool_descr { font-size: 13px; }
  .r_tool_cat { margin-top: 4px; }
  .r_tool_num { padding-top: 5px; }
  .r_tool_status { grid-column: 3; grid-row: 1; align-self: start; }
}

/* === Final CTA ======================================================== */
section.r_final { background: var(--bg-deep); border-top: 0; }
.r_final .r_eyebrow { color: var(--fg-mute); }
.r_final_h { font-size: clamp(44px, 7vw, 104px); font-weight: 500; line-height: 0.96; letter-spacing: -0.035em; margin-top: 24px; max-width: 14ch; }
.r_final_lead { font-size: 19px; color: rgba(243,237,227,0.62); line-height: 1.5; max-width: 580px; margin-top: 28px; }
.r_final_btns { display: flex; flex-wrap: wrap; align-items: center; gap: 12px; margin-top: 44px; }
.r_cta_btn { display: inline-flex; align-items: center; gap: 8px; padding: 16px 28px; min-height: 52px; border-radius: 999px; font-size: 15px; font-weight: 500; border: 1px solid var(--line-2); transition: background .2s, border-color .2s, transform .2s, box-shadow .25s; }
.r_cta_btn:hover { transform: translateY(-1px); }
.r_cta_btn--primary { background: var(--accent); color: var(--bg-deep); border-color: var(--accent); }
.r_cta_btn--primary:hover { background: var(--accent-hi); border-color: var(--accent-hi); box-shadow: 0 12px 36px -8px rgba(217,119,87,0.45); }
.r_cta_btn--ghost { background: rgba(243,237,227,0.04); color: var(--fg); border-color: rgba(243,237,227,0.16); }
.r_cta_btn--ghost:hover { background: rgba(243,237,227,0.08); border-color: rgba(243,237,227,0.32); }
.r_text_link { margin-left: 12px; font-size: 15px; color: var(--fg-dim); transition: color .2s; }
.r_text_link:hover { color: var(--fg); }
@media (max-width: 900px) { .r_final_lead { font-size: 16px; } .r_text_link { margin-left: 0; padding: 8px 0; } }
@media (max-width: 480px) { .r_cta_btn { width: 100%; justify-content: center; } }
@media (prefers-reduced-motion: reduce) { .r_cta_btn:hover { transform: none; } .r_arrow { transition: none; } }

/* === Tool pages ======================================================= */
.r_sr { position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0; }
section.r_hero--tool { padding-top: 150px; padding-bottom: 90px; }
.r_hero--tool .r_hero_h1 { font-size: clamp(40px, 6.5vw, 88px); max-width: 16ch; }
.r_hero--tool .r_hero_sub { margin-top: 24px; }
.r_crumbs { display: flex; flex-wrap: wrap; gap: 10px; font-size: 12px; letter-spacing: 0.16em; text-transform: uppercase; color: var(--fg-mute); margin-bottom: 40px; font-weight: 500; }
.r_crumbs a { color: var(--fg-dim); transition: color .2s; }
.r_crumbs a:hover { color: var(--fg); }
@media (max-width: 900px) { section.r_hero--tool { padding-top: 110px; padding-bottom: 56px; } .r_crumbs { margin-bottom: 28px; } }

.r_tool_card { margin-top: 44px; max-width: 880px; background: var(--bg-2); border: 1px solid var(--line); border-radius: 22px; padding: 32px; }
@media (max-width: 600px) { .r_tool_card { padding: 20px; border-radius: 18px; margin-top: 32px; } }
.r_label { font-size: 13px; color: var(--fg-dim); font-weight: 500; }
.r_input { font: inherit; font-size: 17px; color: var(--fg); background: var(--bg); border: 1px solid var(--line-2); border-radius: 14px; padding: 14px 18px; min-height: 52px; width: 100%; transition: border-color .2s; }
.r_input:focus { outline: none; border-color: var(--accent); }
.r_input::placeholder { color: var(--fg-mute); }
.r_input--num { width: 84px; text-align: center; padding: 10px 8px; min-height: 44px; }
.r_note { font-size: 13px; color: var(--fg-mute); line-height: 1.45; }
.r_form_error { margin-top: 14px; color: var(--bad); font-size: 15px; }
.r_icon_btn { display: inline-flex; align-items: center; justify-content: center; width: 52px; height: 52px; border-radius: 999px; border: 1px solid var(--line-2); background: rgba(243,237,227,0.04); color: var(--fg); transition: background .2s, border-color .2s, transform .3s; flex: none; }
.r_icon_btn:hover { background: rgba(243,237,227,0.08); border-color: rgba(243,237,227,0.32); }
.r_icon_btn:active svg { transform: rotate(-90deg); transition: transform .2s; }
.r_cta_btn.is-done { background: var(--ok); border-color: var(--ok); }
.r_cta_btn:disabled { opacity: .6; cursor: progress; transform: none; }

/* Password generator */
.r_pw_out { display: flex; align-items: center; gap: 16px; padding: 18px 18px 18px 24px; background: var(--bg); border: 1px solid var(--line-2); border-radius: 16px; }
.r_pw_value { flex: 1; min-width: 0; font-family: var(--mono); font-size: clamp(18px, 2.6vw, 26px); line-height: 1.35; letter-spacing: 0.02em; word-break: break-all; user-select: all; }
.r_pw_actions { display: flex; gap: 10px; flex: none; }
@media (max-width: 600px) { .r_pw_out { flex-direction: column; align-items: stretch; padding: 16px; } .r_pw_actions { justify-content: space-between; } .r_pw_actions .r_cta_btn { flex: 1; justify-content: center; } }
.r_meter { margin-top: 18px; height: 6px; border-radius: 999px; background: rgba(243,237,227,0.08); overflow: hidden; }
.r_meter_bar { display: block; height: 100%; width: 0; border-radius: inherit; background: var(--bad); transition: width .25s, background .25s; }
.r_meter_bar[data-level="1"] { background: var(--warn); }
.r_meter_bar[data-level="2"], .r_meter_bar[data-level="3"] { background: var(--ok); }
.r_meter_text { margin-top: 10px; font-size: 14px; font-weight: 500; }
.r_meter_bits { color: var(--fg-mute); font-weight: 400; }
.r_pw_len { display: flex; align-items: center; gap: 18px; margin-top: 28px; }
.r_pw_len .r_label { flex: none; min-width: 52px; }
.r_range { flex: 1; min-width: 0; accent-color: var(--accent); height: 28px; }
.r_checks { border: 0; display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 12px 24px; margin-top: 24px; }
.r_check { display: flex; align-items: center; gap: 12px; font-size: 15px; cursor: pointer; min-height: 32px; }
.r_check input { width: 20px; height: 20px; accent-color: var(--accent); flex: none; cursor: pointer; }
.r_check--wide { grid-column: 1 / -1; }
@media (max-width: 600px) { .r_checks { grid-template-columns: 1fr; } }
.r_pw_more { display: flex; flex-wrap: wrap; align-items: center; gap: 12px 20px; margin-top: 28px; padding-top: 24px; border-top: 1px solid var(--line); }
.r_pw_more .r_note { flex: 1; min-width: 220px; }
.r_pw_list { list-style: none; margin-top: 18px; display: grid; gap: 8px; }
.r_pw_list li { display: flex; align-items: center; gap: 12px; padding: 10px 10px 10px 16px; border: 1px solid var(--line); border-radius: 12px; background: var(--bg); }
.r_pw_list code { flex: 1; min-width: 0; font-family: var(--mono); font-size: 15px; word-break: break-all; }
.r_copy_btn { flex: none; font-size: 13px; font-weight: 500; color: var(--fg); background: transparent; border: 1px solid var(--line-2); border-radius: 999px; padding: 8px 14px; min-height: 36px; transition: background .2s, border-color .2s; }
.r_copy_btn:hover { background: rgba(243,237,227,0.06); }
.r_copy_btn.is-done { color: var(--bg); background: var(--ok); border-color: var(--ok); }

/* Server check form + result */
.r_check_form .r_label { display: block; margin-bottom: 10px; }
.r_inline { display: flex; gap: 12px; }
.r_inline .r_cta_btn { flex: none; }
@media (max-width: 600px) { .r_inline { flex-direction: column; } }
.r_hp { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }
.r_check_form .r_note { margin-top: 12px; }
.r_result { margin-top: 28px; max-width: 880px; display: grid; gap: 16px; }
.r_result_head { display: flex; flex-wrap: wrap; justify-content: space-between; align-items: baseline; gap: 6px 16px; }
.r_result_host { font-size: clamp(22px, 3vw, 30px); font-weight: 500; letter-spacing: -0.01em; word-break: break-all; }
.r_result_meta { font-size: 13px; color: var(--fg-mute); }
.r_result { scroll-margin-top: 96px; }
.r_again { display: flex; flex-wrap: wrap; align-items: center; gap: 8px 14px; }
.r_note--stale { margin-top: 14px; color: var(--warn); font-size: 15px; }
.r_big_label { font-size: 13px; color: var(--fg-mute); margin-bottom: 4px; }
.r_rcard { background: var(--bg-2); border: 1px solid var(--line); border-radius: 20px; padding: 26px 28px; }
.r_rcard--bad { border-color: rgba(236,106,85,0.5); }
.r_rcard--warn { border-color: rgba(230,180,80,0.45); }
@media (max-width: 600px) { .r_rcard { padding: 20px; border-radius: 16px; } }
.r_rcard_head { display: flex; justify-content: space-between; align-items: center; gap: 12px; margin-bottom: 16px; }
.r_rcard_title { font-size: 12px; letter-spacing: 0.16em; text-transform: uppercase; color: var(--fg-dim); font-weight: 500; }
.r_big { font-size: clamp(28px, 4vw, 42px); font-weight: 500; letter-spacing: -0.02em; line-height: 1.08; }
.r_big_sub { margin-top: 6px; font-size: 16px; color: var(--fg-dim); }
.r_big_sub b { font-weight: 500; color: var(--fg); }
.r_rcard--bad .r_big_sub b { color: var(--bad); }
.r_rcard--warn .r_big_sub b { color: var(--warn); }
.r_rcard_text { font-size: 16px; color: rgba(243,237,227,0.82); line-height: 1.55; }
.r_kv { display: grid; grid-template-columns: 200px minmax(0, 1fr); gap: 10px 24px; margin-top: 22px; padding-top: 20px; border-top: 1px solid var(--line); font-size: 15px; }
.r_kv dt { color: var(--fg-mute); }
.r_kv dd { overflow-wrap: anywhere; }
@media (max-width: 600px) { .r_kv { grid-template-columns: 1fr; gap: 2px; } .r_kv dd { margin-bottom: 10px; } }
.r_issues { list-style: none; margin-top: 18px; display: grid; gap: 10px; }
.r_issues li { position: relative; padding-left: 22px; font-size: 15px; line-height: 1.5; }
.r_issues li::before { content: ""; position: absolute; left: 0; top: .5em; width: 9px; height: 9px; border-radius: 50%; background: var(--bad); }
.r_issues li.is-warn::before { background: var(--warn); }
.r_issues li.is-info::before { background: var(--fg-mute); }
.r_chip { flex: none; font-size: 12px; font-weight: 500; padding: 5px 12px; border-radius: 999px; white-space: nowrap; border: 1px solid var(--line-2); color: var(--fg-dim); }
.r_chip--ok { color: var(--ok); border-color: rgba(143,191,122,0.45); background: rgba(143,191,122,0.08); }
.r_chip--warn { color: var(--warn); border-color: rgba(230,180,80,0.45); background: rgba(230,180,80,0.08); }
.r_chip--bad { color: var(--bad); border-color: rgba(236,106,85,0.5); background: rgba(236,106,85,0.1); }
.r_rcard--advice .r_final_btns { margin-top: 20px; }
.r_rcard--advice .r_text_link { margin-left: 0; }

/* Article + FAQ */
.r_tool_text_grid { display: grid; grid-template-columns: 1fr 2.4fr; gap: 40px; }
@media (max-width: 900px) { .r_tool_text_grid { grid-template-columns: 1fr; gap: 8px; } }
.r_article { max-width: 760px; }
.r_article h2 { font-size: clamp(24px, 2.8vw, 34px); font-weight: 500; letter-spacing: -0.015em; line-height: 1.15; margin-top: 52px; }
.r_article h2:first-child { margin-top: 0; }
.r_article p, .r_article li { font-size: 17px; line-height: 1.6; color: rgba(243,237,227,0.78); }
.r_article p { margin-top: 16px; }
.r_article ul { margin-top: 14px; padding-left: 22px; display: grid; gap: 8px; }
.r_article li::marker { color: var(--accent); }
.r_article a, .r_faq_a a { color: var(--fg); text-decoration: underline; text-decoration-color: var(--accent); text-underline-offset: 3px; }
.r_article code, .r_faq_a code { font-family: var(--mono); font-size: .9em; background: rgba(243,237,227,0.06); padding: 1px 6px; border-radius: 6px; }
@media (max-width: 768px) { .r_article p, .r_article li { font-size: 16px; } }
.r_faq { border-top: 1px solid var(--line); max-width: 980px; }
.r_faq details { border-bottom: 1px solid var(--line); }
.r_faq summary { display: flex; justify-content: space-between; align-items: center; gap: 24px; padding: 24px 0; font-size: 20px; font-weight: 500; letter-spacing: -0.01em; cursor: pointer; list-style: none; }
.r_faq summary::-webkit-details-marker { display: none; }
.r_faq summary::after { content: "+"; flex: none; font-size: 24px; font-weight: 400; color: var(--accent); transition: transform .2s; }
.r_faq details[open] summary::after { transform: rotate(45deg); }
.r_faq summary:hover { color: var(--accent-hi); }
.r_faq_a { padding: 0 0 26px; max-width: 760px; font-size: 16px; line-height: 1.6; color: rgba(243,237,227,0.72); }
@media (max-width: 768px) { .r_faq summary { font-size: 17px; padding: 20px 0; } }
.r_final_h--tool { font-size: clamp(36px, 5.2vw, 72px); max-width: 18ch; }
.r_final_links { display: flex; flex-wrap: wrap; gap: 8px 28px; margin-top: 28px; }
.r_final_links .r_text_link { margin-left: 0; }

/* === 404 ============================================================== */
section.r_hero--nf { padding-bottom: 90px; }
section.r_hero--nf .r_final_btns { margin-top: 36px; }

/* === Footer =========================================================== */
footer.r_footer { padding: 40px 0; border-top: 1px solid var(--line); background: var(--bg-deep); }
footer.r_footer .wrap { display: grid; grid-template-columns: 1fr 1.6fr 1fr; align-items: center; gap: 24px; font-size: 13px; color: var(--fg-dim); }
footer.r_footer .r_foot_mid { text-align: center; display: flex; flex-direction: column; gap: 8px; align-items: center; }
footer.r_footer .r_foot_mid a { color: var(--fg-dim); transition: color .2s; }
footer.r_footer .r_foot_mid a:hover { color: var(--fg); }
footer.r_footer .r_foot_right { text-align: right; }
@media (max-width: 900px) {
  footer.r_footer { padding: 28px 0; }
  footer.r_footer .wrap { grid-template-columns: 1fr; text-align: center; gap: 14px; }
  footer.r_footer .r_brand { justify-self: center; }
  footer.r_footer .r_foot_right { text-align: center; }
}

/* === Skip link ======================================================== */
.skip_link { position: absolute; top: -100px; left: 12px; background: var(--accent); color: var(--bg); padding: 12px 20px; font-size: 14px; font-weight: 500; border-radius: 0 0 8px 8px; z-index: 1000; transition: top .2s ease; }
.skip_link:focus { top: 0; }
main:focus { outline: none; }

/* === PD consent banner (a/j/pd-consent.js, only when Metrika is on) ==== */
.pd_consent { position: fixed; left: 16px; bottom: 16px; z-index: 9999; max-width: 360px; padding: 16px 18px; background: rgba(26,20,16,0.92); color: var(--fg); border: 1px solid rgba(243,237,227,0.12); border-radius: 14px; -webkit-backdrop-filter: blur(18px) saturate(140%); backdrop-filter: blur(18px) saturate(140%); box-shadow: 0 10px 40px rgba(0,0,0,0.45); font-size: 13px; line-height: 1.45; }
.pd_consent_text { margin: 0 0 12px; opacity: .92; }
.pd_consent_btns { display: flex; gap: 8px; }
.pd_consent_btn { flex: 1; padding: 9px 12px; border-radius: 10px; border: 1px solid rgba(243,237,227,0.18); background: transparent; color: var(--fg); font: inherit; font-weight: 500; cursor: pointer; transition: background-color .15s; }
.pd_consent_btn:hover { background: rgba(243,237,227,0.06); }
.pd_consent_ok { background: var(--accent); border-color: var(--accent); color: var(--bg); }
.pd_consent_ok:hover { background: var(--accent-hi); border-color: var(--accent-hi); }
@media (max-width: 480px) { .pd_consent { left: 10px; right: 10px; bottom: 10px; max-width: none; padding: 12px 14px; font-size: 11.5px; } }
