/* =================================== */
/* =================================== */
/* =================================== */
/* =====October 2026 For Statoplan =====*/
/* ========== Main page ============== */
/* =================================== */
/* =================================== */

/* Root Rules Start */
/* JetBrains Mono (variable 100–800, local files) */
/* cyrillic */
@font-face {
  font-family: 'JetBrains Mono';
  font-style: normal;
  font-weight: 100 800;
  font-display: swap;
  src: url("../fonts/JetBrainsMono/JetBrainsMono-cyrillic.woff2") format('woff2');
  unicode-range: U+0301, U+0400-045F, U+0490-0491, U+04B0-04B1, U+2116;
}
/* latin */
@font-face {
  font-family: 'JetBrains Mono';
  font-style: normal;
  font-weight: 100 800;
  font-display: swap;
  src: url("../fonts/JetBrainsMono/JetBrainsMono-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 {
  --font-main: 'JetBrains Mono', monospace;

  /* Core palette */
  --color-black: #000;
  --color-white: #fff;
  --color-yellow: #F7B500;
  --color-blue: #2EB8FF;
  --color-blue-social: #268ac5;

  /* Dark surfaces */
  --color-ink-page: #212326;
  --color-ink-card: #26282C;
  --color-ink-input: #1B1D20;
  --color-ink-footer: #1B1D20;

  /* Lines */
  --color-line: #34373C;
  --color-line-brand: #3A3E44;

  /* Text */
  --color-text-soft: #9AA0A6;
  --color-text-dim: #8B9197;
  --color-text-ph: #6E7379;

  /* Animation aliases */
  --am-yellow: var(--color-yellow);
  --am-blue: var(--color-blue);
}

body {
  font-family: var(--font-main);
  background: var(--color-ink-page);
  color: var(--color-white);
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

*{
  margin: 0;
  padding: 0;
}

*,
*::before,
*::after{
  box-sizing: border-box;
}

ul {
  list-style: none;
}

a{
  color: inherit;
  text-decoration: none;
}

img, svg{
  display: block;
  max-width: 100%;
}

em, i{
  font-style: normal;
}

.y{
  color: var(--color-yellow);
}

.b{
  color: var(--color-blue);
}

/* Figma: 1440 frame, content 1248 (96px sides) */
.container {
  width: calc(100% - 80px);
  max-width: 1248px;
  margin: 0 auto;
}

.distance-section{
  padding-top: 56px;
  padding-bottom: 56px;
}

@media (max-width: 1024px) {
  .container {
    width: calc(100% - 48px);
  }
  .distance-section{
    padding-top: 0;
    padding-bottom: 48px;
  }
}

@media (max-width:767px){
  .container{
    width: calc(100% - 32px);
  }
  .distance-section{
    padding-bottom: 40px;
  }
}

main{
  position: relative !important;
  z-index: 1;
  overflow: hidden;
}

html{
  scrollbar-color: #F7B500 transparent; /* Firefox */
  scrollbar-width: thin;                /* Firefox */
}
html::-webkit-scrollbar{ width: 10px; height: 10px; }
html::-webkit-scrollbar-track{ background: var(--color-ink-page); }
html::-webkit-scrollbar-thumb{
  background: #F7B500;
  border-radius: 0;
}
html::-webkit-scrollbar-thumb:hover{ background: #FFC933; }

::selection{
  background: #F7B500;
  color: #000;
}

button {
  all: unset;
  box-sizing: border-box;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  font: inherit;
  color: inherit;
}

input, textarea{
  font: inherit;
  color: inherit;
}

:focus-visible{
  outline: 1px solid var(--color-yellow);
  outline-offset: 2px;
}
/* Root Rules End */

/* Not ready links Start */
/* a link without an address yet (href="#") is crossed out and can't be clicked, on every page;  */
/* give it a real href and it becomes a normal link again. Service links (cookie settings) stay. */
a[href="#"]:not([data-cookie-settings]){
  pointer-events: none;
  cursor: default;
  opacity: .45;
}

a[href="#"]:not([data-cookie-settings]),
a[href="#"]:not([data-cookie-settings]) *{
  text-decoration: line-through;
  text-decoration-thickness: 1px;
}
/* Not ready links End */

/* =================================== */
/* Danylo Oliinyk - https://iamdev.lol/ */
/* =====October 2026 For Statoplan =====*/
/* =================================== */

/* phone: the smallest labels (breadcrumbs, the bottom line of the footer) not less than 12px */
@media (max-width: 767px) {
    body .crumbs__item,
    body .crumbs__link,
    body .crumbs__current,
    body .footer__copy,
    body .footer__up,
    body .footer__cookie{ font-size: 12px; }
}
