/* Website SEO Checker: общий стиль сайта (лендинг, welcome, uninstall). */
@font-face {
  font-family: 'Geist';
  font-style: normal;
  font-weight: 400 700;
  font-display: swap;
  src: url(/website-seo-checker/fonts/geist.woff2) format('woff2');
}
@font-face {
  font-family: 'Geist Mono';
  font-style: normal;
  font-weight: 400 600;
  font-display: swap;
  src: url(/website-seo-checker/fonts/geist-mono.woff2) format('woff2');
}

:root {
  --bg: #F7F6F2;
  --surface: #FFFFFF;
  --panel: #ECEAE3;
  --skel: #DDDAD1;
  --skel-2: #E3E0D8;
  --ink: #16181D;
  --muted: #5B616B;
  --faint: #6A707A;
  --line: #E3E1DA;
  --line-2: #D6D3CA;
  --line-3: #EEECE6;
  --brand: #2B50C8;
  --brand-hover: #1E3A96;
  --brand-soft: #EEF2FC;
  --on-brand: #FFFFFF;
  --ok: #1F7A4D;
  --ok-soft: #E6F2EB;
  --warn-dot: #D08A2E;
  --shadow: 40, 36, 24;
  --sans: 'Geist', system-ui, -apple-system, 'Segoe UI', sans-serif;
  --mono: 'Geist Mono', ui-monospace, 'SF Mono', Menlo, monospace;
  color-scheme: light;
}
@media (prefers-color-scheme: dark) {
  :root {
    --bg: #131417;
    --surface: #1C1E22;
    --panel: #22252A;
    --skel: #33373E;
    --skel-2: #2B2F35;
    --ink: #ECEDEF;
    --muted: #A6ABB3;
    --faint: #979CA5;
    --line: #2C2F35;
    --line-2: #3A3E45;
    --line-3: #2A2D33;
    --brand: #8EA6F2;
    --brand-hover: #B3C4F7;
    --brand-soft: #232B42;
    --on-brand: #0F1115;
    --ok: #6FCF97;
    --ok-soft: #1E3328;
    --shadow: 0, 0, 0;
    color-scheme: dark;
  }
}

* { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; }
body { margin: 0; background: var(--bg); color: var(--ink); font: 16px/1.55 var(--sans); -webkit-font-smoothing: antialiased; }
a { color: var(--brand); text-underline-offset: .2em; }
a:hover { color: var(--brand-hover); }
a:focus-visible, button:focus-visible, textarea:focus-visible { outline: 2px solid var(--brand); outline-offset: 3px; border-radius: 4px; }
::selection { background: var(--brand-soft); color: var(--ink); }
h1, h2, h3 { text-wrap: balance; }
p { text-wrap: pretty; }
.mono { font-family: var(--mono); }
.sr { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }

.wrap { width: min(1280px, 100%); margin: 0 auto; padding-inline: clamp(16px, 6vw, 80px); }

/* шапка */
.top { border-bottom: 1px solid var(--line); }
.top .wrap { display: flex; align-items: center; justify-content: space-between; gap: 24px; min-height: 80px; }
.brand { display: flex; align-items: center; gap: 10px; color: var(--ink); text-decoration: none; font-weight: 600; font-size: 16px; }
.brand:hover { color: var(--ink); }
.brand svg, .brand img { width: 28px; height: 28px; flex: none; }
.nav { display: flex; gap: 32px; font-size: 14px; }
.nav a { color: var(--muted); text-decoration: none; }
.nav a:hover, .nav a[aria-current="page"] { color: var(--ink); }
.nav a[aria-current="page"] { font-weight: 500; }

/* кнопки */
.btn { display: inline-flex; align-items: center; justify-content: center; gap: 10px; height: 48px; padding: 0 22px; font: 600 15px/1 var(--sans); color: var(--on-brand); background: var(--brand); border: 0; border-radius: 10px; text-decoration: none; cursor: pointer; transition: background .2s ease, transform .1s ease; }
.btn:hover { background: var(--brand-hover); color: var(--on-brand); }
.btn:active { transform: translateY(1px); }
.btn svg { width: 18px; height: 18px; }
.btn:disabled { color: var(--muted); background: var(--line); cursor: not-allowed; transform: none; }

/* подвал */
.foot { margin-top: auto; border-top: 1px solid var(--line); font-size: 13px; color: var(--faint); }
.foot .wrap { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 12px 24px; padding-block: 28px; }
.foot nav { display: flex; flex-wrap: wrap; gap: 8px 24px; }
.foot a { color: var(--muted); text-decoration: none; }
.foot a:hover { color: var(--ink); text-decoration: underline; }

.page { min-height: 100vh; display: flex; flex-direction: column; }

/* макет окна браузера (welcome) */
.mock { position: relative; width: 100%; aspect-ratio: var(--w) / var(--h); }
.mock > .stage { position: absolute; left: 0; top: 0; width: calc(var(--w) * 1px); height: calc(var(--h) * 1px); transform-origin: 0 0; transform: scale(var(--s, 1)); }

@media (max-width: 760px) {
  .nav { display: none; }
}
@media (prefers-reduced-motion: reduce) {
  * { transition: none !important; }
}
