/* tenderlvk.com, design В1б-1 (chosen by the owner on 25.10.2026): a dark
   blue band with the heading, white module cards that overlap it, Golos Text.
   The font is served from this site (assets/fonts, SIL OFL 1.1, see OFL.txt);
   no external fonts, scripts or trackers. */
@font-face {
  font-family: 'Golos Text';
  font-style: normal;
  font-weight: 400 900;
  font-display: swap;
  src: url('/assets/fonts/golos-text-cyrillic.woff2') format('woff2');
  unicode-range: U+0301, U+0400-045F, U+0490-0491, U+04B0-04B1, U+2116;
}
@font-face {
  font-family: 'Golos Text';
  font-style: normal;
  font-weight: 400 900;
  font-display: swap;
  src: url('/assets/fonts/golos-text-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;
}

:root {
  --bg: #eef1f7;
  --surface: #ffffff;
  --text: #0f1a33;
  --muted: #4a5878;
  --line: #dfe4ef;
  --band: #1d3577;
  --on-band: #ffffff;
  --on-band-muted: #d3dcf5;
  --link: #2c4a9a;
  --link-hover: #0f1a33;
  --addr: #3b4f86;
  --icon-bg: #e3e9ff;
  --icon-ink: #1e3a8a;
  --focus: #2c4a9a;
  --shadow: 0 1px 2px rgba(15, 26, 51, .08), 0 16px 36px -18px rgba(15, 26, 51, .35);
  --shadow-hover: 0 2px 4px rgba(15, 26, 51, .08), 0 24px 44px -18px rgba(15, 26, 51, .45);
  --font: 'Golos Text', Arial, sans-serif;
}

* { box-sizing: border-box; }

html { -webkit-text-size-adjust: 100%; }

body {
  margin: 0;
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  font-family: var(--font);
  font-size: 16px;
  line-height: 1.5;
  background: var(--bg);
  color: var(--text);
}

a { color: var(--link); text-underline-offset: 3px; }
a:hover { color: var(--link-hover); }
/* Two rings, white inside and blue outside, so focus shows on the band and on the page. */
a:focus-visible {
  outline: 3px solid var(--focus);
  outline-offset: 3px;
  border-radius: 4px;
  box-shadow: 0 0 0 3px var(--surface);
}

.skip {
  position: absolute;
  left: -9999px;
}
.skip:focus { left: 16px; top: 8px; z-index: 10; background: var(--surface); padding: 8px 12px; }

/* Home and 404: the band with the heading, and cards that overlap it */
.band {
  background: var(--band);
  color: var(--on-band);
  padding: 60px 16px 116px;
  text-align: center;
}
.band h1 {
  margin: 0;
  font-size: clamp(32px, 4vw, 44px);
  line-height: 1.1;
  font-weight: 600;
  letter-spacing: -0.02em;
  text-wrap: balance;
}

.over-band {
  flex: 1;
  width: 100%;
  max-width: 860px;
  margin: -68px auto 0;
  padding: 0 16px 32px;
}

/* Module cards. A live module is <a class="tile">: the whole card is the
   link. A module that is not live yet is <div class="tile"> with «скоро». */
.tiles {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(min(260px, 100%), 1fr));
  gap: 20px;
  margin: 0;
  padding: 0;
  list-style: none;
}
.tile {
  height: 100%;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 10px;
  padding: 36px 24px 30px;
  border-radius: 20px;
  background: var(--surface);
  box-shadow: var(--shadow);
  text-align: center;
  color: inherit;
  text-decoration: none;
}
a.tile { transition: transform .15s ease, box-shadow .15s ease; }
a.tile:hover { color: inherit; transform: translateY(-3px); box-shadow: var(--shadow-hover); }
a.tile:hover .tile-addr { text-decoration: underline; text-underline-offset: 3px; }
a.tile:focus-visible {
  border-radius: 20px;
  box-shadow: 0 0 0 3px var(--surface), var(--shadow-hover);
}
.tile-icon {
  width: 68px;
  height: 68px;
  flex: none;
  margin-bottom: 6px;
  display: grid;
  place-items: center;
  border-radius: 18px;
  background: var(--icon-bg);
  color: var(--icon-ink);
}
.tile-name {
  margin: 0;
  font-size: 23px;
  line-height: 1.2;
  font-weight: 600;
  letter-spacing: -0.01em;
  color: var(--text);
}
.tile-addr { font-size: 15px; color: var(--addr); overflow-wrap: anywhere; }
.soon {
  border-radius: 999px;
  padding: 3px 10px;
  font-size: 13px;
  font-weight: 500;
  line-height: 1.3;
  background: var(--bg);
  color: var(--addr);
}

@media (prefers-reduced-motion: reduce) {
  a.tile { transition: none; }
  a.tile:hover { transform: none; }
}

/* 404 */
.notice {
  margin: 0;
  padding: 32px 24px;
  border-radius: 20px;
  background: var(--surface);
  box-shadow: var(--shadow);
  text-align: center;
}

/* Footer: the privacy link stays on the home page for Google's consent screens */
.foot {
  padding: 18px 16px 28px;
  text-align: center;
  font-size: 14px;
}

/* Privacy policy: a slim band with the site name, the text on white cards */
.bar { background: var(--band); color: var(--on-band); }
.bar-in {
  max-width: 792px;
  margin: 0 auto;
  padding: 16px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
}
.brand { color: var(--on-band); font-size: 20px; font-weight: 600; letter-spacing: -0.01em; text-decoration: none; }
.bar-link { color: var(--on-band-muted); font-size: 15px; text-decoration: none; }
.brand:hover, .bar-link:hover { color: var(--on-band); text-decoration: underline; }

.page { flex: 1; width: 100%; max-width: 792px; margin: 0 auto; padding: 28px 16px 40px; }

.doc {
  background: var(--surface);
  border-radius: 20px;
  box-shadow: var(--shadow);
  padding: 32px;
}
.doc + .doc { margin-top: 24px; }
.doc h1 {
  margin: 0 0 4px;
  font-size: 30px;
  line-height: 1.15;
  font-weight: 600;
  letter-spacing: -0.02em;
  text-wrap: balance;
}
.doc .updated { margin: 0 0 20px; color: var(--muted); font-size: 15px; }
.doc h2 { margin: 30px 0 8px; font-size: 20px; line-height: 1.3; font-weight: 600; letter-spacing: -0.01em; }
.doc h3 { margin: 20px 0 6px; font-size: 16px; font-weight: 600; }
.doc p, .doc li { overflow-wrap: anywhere; }
.doc ul { padding-left: 22px; }
.doc li + li { margin-top: 4px; }
.doc strong { font-weight: 600; }
.doc code { font-size: 14px; background: var(--bg); padding: 1px 5px; border-radius: 4px; }
.doc .note {
  margin: 16px 0;
  padding: 12px 16px;
  border-left: 4px solid var(--band);
  background: var(--bg);
  border-radius: 0 10px 10px 0;
}
.lang-switch { margin: 0 0 20px; font-size: 15px; }

@media (max-width: 480px) {
  .band { padding: 44px 16px 100px; }
  .doc { padding: 22px 18px; border-radius: 16px; }
  .doc h1 { font-size: 26px; }
}
