/* IzyShift — справочный центр и поддержка (21.10.2026). Токены и шрифт — как у лендинга (landing/landing.css):
   графит, янтарь только для акцента/фокуса, Inter свой (без CDN). */
@font-face { font-family: Inter; font-weight: 400; font-display: swap; src: url(fonts/inter-400.woff2) format("woff2"); }
@font-face { font-family: Inter; font-weight: 500; font-display: swap; src: url(fonts/inter-500.woff2) format("woff2"); }
@font-face { font-family: Inter; font-weight: 600; font-display: swap; src: url(fonts/inter-600.woff2) format("woff2"); }
@font-face { font-family: Inter; font-weight: 700; font-display: swap; src: url(fonts/inter-700.woff2) format("woff2"); }
@font-face { font-family: Inter; font-weight: 400; font-display: swap; src: url(fonts/inter-greek-400.woff2) format("woff2"); unicode-range: U+0370-03FF, U+1F00-1FFF; }
@font-face { font-family: Inter; font-weight: 500; font-display: swap; src: url(fonts/inter-greek-500.woff2) format("woff2"); unicode-range: U+0370-03FF, U+1F00-1FFF; }
@font-face { font-family: Inter; font-weight: 600; font-display: swap; src: url(fonts/inter-greek-600.woff2) format("woff2"); unicode-range: U+0370-03FF, U+1F00-1FFF; }
@font-face { font-family: Inter; font-weight: 700; font-display: swap; src: url(fonts/inter-greek-700.woff2) format("woff2"); unicode-range: U+0370-03FF, U+1F00-1FFF; }

:root {
  --rail: #1B1E22; --rail-2: #2A2F36;
  --canvas: #F1F2F4; --surface: #FFFFFF; --head: #F7F8F9;
  --ink: #15181C; --ink-2: #3E444C; --muted: #5C636D; --line: #E1E4E8; --line-2: #CDD2D8;
  --signal: #F0A202; --signal-soft: #FFF4D6; --signal-ink: #7A4F00;
  --live: #0B62A4; --ok: #1A7F4B;
  --r: 6px; --r-lg: 10px; --r-xl: 14px; --max: 1120px;
}
* { box-sizing: border-box; margin: 0; padding: 0; }
body { font: 17px/1.6 Inter, -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif; font-feature-settings: "tnum" 1, "cv11" 1;
       color: var(--ink); background: var(--canvas); -webkit-font-smoothing: antialiased; overflow-wrap: anywhere; }
a { color: var(--live); }
img { display: block; max-width: 100%; height: auto; }
.wrap { max-width: var(--max); margin: 0 auto; padding: 0 24px; }
h1, h2, h3 { font-weight: 700; letter-spacing: -0.02em; line-height: 1.18; color: var(--ink); overflow-wrap: normal; word-break: normal; hyphens: auto; }
h1 { font-size: clamp(30px, 4.4vw, 44px); }
h2 { font-size: 22px; }
.sr { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.skip { position: absolute; left: 12px; top: -60px; background: var(--rail); color: #fff; padding: 10px 14px; border-radius: var(--r); z-index: 50; }
.skip:focus { top: 10px; }
:focus-visible { outline: 3px solid var(--signal); outline-offset: 2px; border-radius: 4px; }
.btn { display: inline-flex; align-items: center; justify-content: center; gap: 8px; min-height: 46px; padding: 0 20px; border-radius: var(--r-lg);
       font-family: inherit; font-weight: 600; font-size: 16px; line-height: 1.2; border: 1px solid transparent; cursor: pointer; text-decoration: none; text-align: center; }
.btn.primary { background: var(--rail); color: #fff; }
.btn.primary:hover { background: #000; }
.btn.ghost { background: var(--surface); color: var(--ink); border-color: var(--line-2); }
.btn.ghost:hover { border-color: var(--ink-2); }
.btn.sm { min-height: 38px; padding: 0 14px; font-size: 15px; }

/* шапка */
.nav { position: sticky; top: 0; z-index: 10; background: rgba(255,255,255,.95); backdrop-filter: blur(10px); border-bottom: 1px solid var(--line); }
.nav .wrap { display: flex; align-items: center; gap: 18px; min-height: 62px; }
.logo { display: flex; align-items: center; gap: 10px; font-weight: 700; font-size: 18px; letter-spacing: -0.02em; color: var(--ink); text-decoration: none; flex: none; }
.logo-sub { font-weight: 500; color: var(--muted); margin-left: 4px; }
.mark { width: 28px; height: 28px; border-radius: 7px; background: var(--signal); color: var(--rail); display: grid; place-items: center; font-size: 14px; font-weight: 700; flex: none; }
.nav-search { flex: 1; max-width: 420px; }
.nav-search input { width: 100%; height: 40px; border: 1px solid var(--line-2); border-radius: var(--r-lg); padding: 0 12px; font: inherit; font-size: 15px; background: var(--head); color: var(--ink); }
.nav-right { margin-left: auto; display: flex; align-items: center; gap: 10px; }
.langs { position: relative; font-size: 14px; font-weight: 600; }
.langs summary { list-style: none; cursor: pointer; display: inline-flex; align-items: center; gap: 4px; min-height: 38px; padding: 0 10px;
                 border: 1px solid var(--line-2); border-radius: var(--r); color: var(--ink-2); white-space: nowrap; }
.langs summary::-webkit-details-marker { display: none; }
.langs summary::after { content: "▾"; font-size: 11px; }
.langs-menu { position: absolute; right: 0; top: calc(100% + 6px); min-width: 170px; background: #fff; border: 1px solid var(--line-2); border-radius: var(--r);
              box-shadow: 0 10px 30px rgba(0,0,0,.12); padding: 6px; display: grid; z-index: 20; }
.langs-menu a, .langs-menu span { padding: 9px 10px; border-radius: 6px; color: var(--ink); font-weight: 500; text-decoration: none; }
.langs-menu a:hover { background: var(--line); }
.langs-menu span { background: var(--rail); color: #fff; }

/* главная */
.hero { background: linear-gradient(180deg, var(--surface) 0%, var(--canvas) 100%); padding: 56px 0 36px; border-bottom: 1px solid var(--line); }
.lead { font-size: 18px; color: var(--ink-2); margin-top: 10px; max-width: 720px; }
.search { display: flex; gap: 10px; margin-top: 26px; max-width: 760px; }
.search input { flex: 1; min-width: 0; height: 54px; border: 2px solid var(--line-2); border-radius: var(--r-xl); padding: 0 18px; font: inherit; font-size: 18px; background: #fff; color: var(--ink); }
.search input:focus { border-color: var(--rail); outline: none; box-shadow: 0 0 0 3px var(--signal); }
.search .btn { height: 54px; border-radius: var(--r-xl); }
.results-status { margin-top: 14px; color: var(--muted); font-size: 15px; min-height: 1px; }
.results-status a { color: var(--live); }
.results { list-style: none; margin-top: 8px; display: grid; gap: 10px; max-width: 760px; }
.results a { display: block; background: #fff; border: 1px solid var(--line); border-radius: var(--r-lg); padding: 14px 16px; text-decoration: none; color: var(--ink-2); }
.results a:hover, .results a:focus-visible { border-color: var(--rail); }
.results b { display: block; color: var(--ink); font-size: 17px; margin-bottom: 2px; }
.results .aud { font-size: 13px; font-weight: 600; text-transform: uppercase; letter-spacing: .05em; color: var(--muted); }
.results p { font-size: 15px; line-height: 1.5; }
mark { background: var(--signal-soft); color: var(--ink); border-radius: 3px; box-shadow: 0 -2px 0 var(--signal) inset; padding: 0 1px; }
.popular { margin-top: 26px; }
.popular h2 { font-size: 14px; text-transform: uppercase; letter-spacing: .06em; color: var(--ink-2); margin-bottom: 10px; }
.popular ul { list-style: none; display: flex; flex-wrap: wrap; gap: 8px; }
.popular a { display: inline-block; padding: 8px 12px; border: 1px solid var(--line-2); border-radius: 999px; background: #fff; color: var(--ink); text-decoration: none; font-size: 15px; font-weight: 500; }
.popular a:hover { border-color: var(--rail); }
.secs { padding-top: 36px; padding-bottom: 48px; }
.sec { margin-bottom: 36px; scroll-margin-top: 80px; }
.sec h2 { display: flex; align-items: center; gap: 10px; margin-bottom: 14px; }
.sec h2::before { content: ""; width: 10px; height: 10px; border-radius: 3px; background: var(--signal); }
.cards { list-style: none; display: grid; grid-template-columns: repeat(auto-fill, minmax(300px, 1fr)); gap: 12px; }
.acard { display: block; height: 100%; background: #fff; border: 1px solid var(--line); border-radius: var(--r-lg); padding: 16px 18px; text-decoration: none; color: var(--ink-2); }
.acard:hover { border-color: var(--rail); }
.acard b { display: block; color: var(--ink); font-size: 17px; line-height: 1.3; margin-bottom: 4px; }
.acard span { font-size: 15px; line-height: 1.5; display: block; }

/* статья */
.art-wrap { padding-top: 22px; padding-bottom: 48px; max-width: 900px; }
.crumbs ol { list-style: none; display: flex; flex-wrap: wrap; gap: 6px; font-size: 14.5px; color: var(--muted); margin-bottom: 14px; }
.crumbs li + li::before { content: "›"; margin-right: 6px; color: var(--line-2); }
.crumbs a { color: var(--ink-2); }
.art { background: #fff; border: 1px solid var(--line); border-radius: var(--r-xl); padding: 36px 44px; color: var(--ink-2); }
.art header { padding-bottom: 18px; border-bottom: 3px solid var(--signal); margin-bottom: 22px; }
.eyebrow { font-size: 13px; font-weight: 600; letter-spacing: .06em; text-transform: uppercase; color: var(--muted); margin-bottom: 10px; }
.art h2 { margin: 30px 0 10px; font-size: 21px; }
.art h3 { margin: 20px 0 6px; font-size: 17px; }
.art p, .art ul, .art ol { margin: 0 0 12px; }
.art ol, .art ul { padding-left: 24px; }
.art li { margin-bottom: 6px; }
.art ol > li::marker { font-weight: 700; color: var(--ink); }
.art strong { color: var(--ink); }
.art code { font-size: 14px; background: var(--head); border: 1px solid var(--line); border-radius: 4px; padding: 1px 5px; }
.shot { margin: 18px 0 22px; }
.shot img { border: 1px solid var(--line); border-radius: var(--r-lg); box-shadow: 0 6px 22px rgba(21,24,28,.08); margin: 0 auto; max-height: 720px; width: auto; }
.tbl { overflow-x: auto; margin: 6px 0 16px; }
.art table { border-collapse: collapse; width: 100%; font-size: 15px; }
.art th, .art td { border: 1px solid var(--line); padding: 7px 9px; text-align: left; vertical-align: top; }
.art th { background: var(--head); color: var(--ink); }
.after { margin-top: 28px; display: grid; gap: 22px; }
.rel h2 { margin-bottom: 12px; }
.ask { background: var(--rail); color: #E8EAED; border-radius: var(--r-xl); padding: 24px 26px; }
.ask h2 { color: #fff; margin-bottom: 4px; }
.ask p { margin-bottom: 14px; }
.ask .btn.primary { background: var(--signal); color: var(--rail); }
.ask .btn.primary:hover { background: #FFB61F; }

/* поддержка */
.sup { padding-top: 40px; padding-bottom: 48px; max-width: 960px; }
.chan { list-style: none; display: grid; grid-template-columns: repeat(auto-fill, minmax(260px, 1fr)); gap: 14px; margin: 26px 0; }
.chan li { background: #fff; border: 1px solid var(--line); border-radius: var(--r-xl); padding: 20px; display: flex; flex-direction: column; gap: 8px; }
.chan h2 { font-size: 19px; }
.chan p { color: var(--ink-2); font-size: 15.5px; flex: 1; }
.chan .btn { align-self: flex-start; max-width: 100%; }
.box { background: #fff; border: 1px solid var(--line); border-radius: var(--r-xl); padding: 22px 24px; margin-bottom: 14px; color: var(--ink-2); }
.box h2 { margin-bottom: 8px; font-size: 20px; }
.ticks { list-style: none; display: grid; gap: 8px; }
.ticks li { padding-left: 26px; position: relative; }
.ticks li::before { content: "✓"; position: absolute; left: 0; color: var(--ok); font-weight: 700; }
.note { margin-top: 12px; background: var(--signal-soft); color: var(--signal-ink); border-radius: var(--r-lg); padding: 10px 14px; font-size: 15px; }

/* корень /help/ */
.rootsel { padding-top: 60px; padding-bottom: 60px; max-width: 560px; }
.rootsel h1 { margin: 26px 0 8px; font-size: 32px; }
.langlist { list-style: none; display: grid; gap: 10px; margin-top: 18px; }
.langlist a { display: block; background: #fff; border: 1px solid var(--line); border-radius: var(--r-lg); padding: 14px 16px; color: var(--ink); text-decoration: none; font-weight: 600; }

.foot { border-top: 1px solid var(--line); background: #fff; padding: 22px 0 28px; font-size: 14px; color: var(--muted); }
.foot p { margin: 4px 0; }
.foot a { color: var(--ink-2); }

@media (max-width: 860px) {
  .nav-search { display: none; }
  .logo-sub { display: none; }
}
@media (max-width: 640px) {
  body { font-size: 16px; }
  .wrap { padding: 0 16px; }
  .nav .wrap { gap: 10px; }
  .nav-app { display: none; }
  .hero { padding: 32px 0 26px; }
  .search { flex-direction: column; }
  .search .btn { width: 100%; }
  .art { padding: 22px 18px; border-radius: var(--r-lg); }
  .art-wrap { padding-left: 10px; padding-right: 10px; }
  .cards { grid-template-columns: 1fr; }
  .shot img { max-height: 560px; }
}
