:root {
  --sting-shell-red: #ef1b24;
  --sting-shell-bg: #131313;
  --sting-shell-bg-deep: #0e0e0e;
  --sting-shell-text: #e4e2e1;
  --sting-shell-muted: #9f9695;
  --sting-shell-line: #3a3030;
  --sting-shell-max: 1440px;
  --sting-shell-side: 64px;
  --sting-shell-header-height: 66px;
}

html {
  min-height: 100%;
  margin: 0;
  background: var(--sting-shell-bg);
}

body.sting-site {
  min-height: 100%;
  margin: 0;
  padding: var(--sting-shell-header-height) 0 0;
  overflow-x: hidden;
  background: var(--sting-shell-bg);
  color: var(--sting-shell-text);
  font-family: Inter, Arial, sans-serif;
}

body.sting-site > .sting-nav,
body.sting-site > .sting-nav *,
body.sting-site > .sting-footer,
body.sting-site > .sting-footer * {
  box-sizing: border-box;
}

body.sting-site > #main-content {
  min-height: calc(100vh - var(--sting-shell-header-height));
  margin: 0;
  padding: 0;
  overflow-x: hidden;
}

/* The generated page HTML may contain its own .sting-page-* wrapper.
   Only #main-content and its descendants receive page-specific styling. */
body.sting-site > #main-content > .sting-page {
  margin: 0;
}

/* Shared header */
body.sting-site > header.sting-nav {
  position: fixed;
  z-index: 9999;
  top: 0;
  right: 0;
  left: 0;
  width: 100%;
  height: var(--sting-shell-header-height);
  margin: 0;
  padding: 0;
  background: rgba(19, 19, 19, 0.96);
  border-top: 2px solid #454545;
  border-bottom: 1px solid var(--sting-shell-line);
  color: var(--sting-shell-text);
  backdrop-filter: blur(12px);
  transition: background 0.25s ease, box-shadow 0.25s ease;
}

body.sting-site > header.sting-nav.scrolled {
  background: rgba(14, 14, 14, 0.99);
  box-shadow: 0 8px 28px rgba(0, 0, 0, 0.28);
}

body.sting-site > header.sting-nav > .sting-nav__inner {
  width: 100%;
  max-width: var(--sting-shell-max);
  height: calc(var(--sting-shell-header-height) - 2px);
  margin: 0 auto;
  padding: 0 var(--sting-shell-side);
  display: grid;
  grid-template-columns: minmax(260px, 1fr) auto minmax(260px, 1fr);
  align-items: center;
  gap: 28px;
}

body.sting-site .sting-nav__brand {
  display: inline-flex;
  align-items: center;
  justify-self: start;
  gap: 15px;
  min-width: 0;
  margin: 0;
  padding: 0;
  color: #f2f0f0;
  text-decoration: none;
  white-space: nowrap;
}

body.sting-site .sting-nav__brand span {
  display: block;
  margin: 0;
  color: #f2f0f0;
  font-family: Inter, Arial, sans-serif;
  font-size: 18px;
  line-height: 1;
  font-weight: 700;
  letter-spacing: -0.02em;
}

body.sting-site .sting-nav__links {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 34px;
  height: 100%;
  margin: 0;
  padding: 0;
}

body.sting-site .sting-nav__links a {
  position: relative;
  display: inline-flex;
  align-items: center;
  height: 100%;
  margin: 0;
  padding: 1px 0 0;
  border: 0;
  color: #d5b7b4;
  background: transparent;
  font-family: Inter, Arial, sans-serif;
  font-size: 12px;
  line-height: 1;
  font-weight: 400;
  letter-spacing: 0;
  text-decoration: none;
  text-transform: uppercase;
  transition: color 0.2s ease;
}

body.sting-site .sting-nav__links a:hover,
body.sting-site .sting-nav__links a:focus-visible,
body.sting-site .sting-nav__links a.active {
  color: var(--sting-shell-red);
}

body.sting-site .sting-nav__links a.active::after {
  content: "";
  position: absolute;
  right: 0;
  bottom: 17px;
  left: 0;
  height: 2px;
  background: var(--sting-shell-red);
}

body.sting-site .sting-nav__support {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  justify-self: end;
  min-width: 148px;
  min-height: 34px;
  margin: 0;
  padding: 10px 16px;
  border: 0;
  background: var(--sting-shell-red);
  color: #fff;
  font-family: Inter, Arial, sans-serif;
  font-size: 11px;
  line-height: 1;
  font-weight: 600;
  letter-spacing: 0;
  text-align: center;
  text-decoration: none;
  text-transform: uppercase;
  white-space: nowrap;
  transition: filter 0.2s ease;
}

body.sting-site .sting-nav__support:hover,
body.sting-site .sting-nav__support:focus-visible {
  color: #fff;
  filter: brightness(1.14);
}

body.sting-site .sting-nav__toggle {
  display: none;
  margin: 0;
  background: transparent;
}

/* Compact shared footer */
body.sting-site > footer.sting-footer {
  width: 100%;
  margin: 0;
  padding: 38px 0;
  border: 0;
  border-top: 1px solid var(--sting-shell-line);
  background: var(--sting-shell-bg-deep);
  color: var(--sting-shell-text);
}

body.sting-site > footer.sting-footer > .sting-footer__inner {
  width: 100%;
  max-width: var(--sting-shell-max);
  margin: 0 auto;
  padding: 0 var(--sting-shell-side);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 36px;
}

body.sting-site .sting-footer__brand {
  display: inline-flex;
  align-items: center;
  margin: 0;
  padding: 0;
  color: var(--sting-shell-text);
  font-family: Inter, Arial, sans-serif;
  font-size: 16px;
  line-height: 1;
  font-weight: 700;
  letter-spacing: -0.02em;
  text-decoration: none;
  white-space: nowrap;
}

body.sting-site .sting-footer__brand span {
  margin: 0;
  padding: 0;
}

body.sting-site .sting-footer__brand em {
  margin-left: 3px;
  color: var(--sting-shell-red);
  font-style: normal;
  font-weight: 700;
}

body.sting-site .sting-footer__links {
  display: flex;
  align-items: center;
  gap: 28px;
  margin: 0;
  padding: 0;
}

body.sting-site .sting-footer__links a {
  display: inline-block;
  margin: 0;
  padding: 0;
  border: 0;
  color: var(--sting-shell-text);
  background: transparent;
  font-family: Inter, Arial, sans-serif;
  font-size: 11px;
  line-height: 1.4;
  font-weight: 400;
  letter-spacing: 0.1em;
  text-decoration: none;
  text-transform: uppercase;
}

body.sting-site .sting-footer__links a:hover,
body.sting-site .sting-footer__links a:focus-visible {
  color: var(--sting-shell-red);
}

body.sting-site .sting-footer__copyright {
  margin: 0;
  padding: 0;
  color: var(--sting-shell-muted);
  font-family: Inter, Arial, sans-serif;
  font-size: 9px;
  line-height: 1.4;
  letter-spacing: 0.04em;
  white-space: nowrap;
}

@media (max-width: 1100px) {
  :root {
    --sting-shell-side: 28px;
  }

  body.sting-site > header.sting-nav > .sting-nav__inner {
    grid-template-columns: auto 1fr auto;
  }

  body.sting-site .sting-nav__brand span {
    font-size: 20px;
  }

  body.sting-site .sting-nav__links {
    gap: 20px;
  }

  body.sting-site .sting-nav__support {
    min-width: auto;
    padding-right: 16px;
    padding-left: 16px;
  }
}

@media (max-width: 850px) {
  body.sting-site > header.sting-nav > .sting-nav__inner {
    display: flex;
    justify-content: space-between;
  }

  body.sting-site .sting-nav__toggle {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    margin-left: auto;
    padding: 9px 12px;
    border: 1px solid var(--sting-shell-line);
    color: #fff;
    font-family: Inter, Arial, sans-serif;
    font-size: 11px;
    line-height: 1;
    font-weight: 700;
  }

  body.sting-site .sting-nav__support {
    display: none;
  }

  body.sting-site .sting-nav__links {
    display: none;
    position: absolute;
    top: calc(var(--sting-shell-header-height) - 2px);
    right: 0;
    left: 0;
    height: auto;
    margin: 0;
    padding: 20px var(--sting-shell-side);
    flex-direction: column;
    align-items: flex-start;
    gap: 0;
    background: #131313;
    border-bottom: 1px solid var(--sting-shell-line);
  }

  body.sting-site .sting-nav__links.open {
    display: flex;
  }

  body.sting-site .sting-nav__links a {
    width: 100%;
    height: auto;
    padding: 14px 0;
  }

  body.sting-site .sting-nav__links a.active::after {
    right: auto;
    bottom: 7px;
    width: 70px;
  }

  body.sting-site > footer.sting-footer > .sting-footer__inner {
    flex-direction: column;
    align-items: flex-start;
  }

  body.sting-site .sting-footer__links {
    flex-wrap: wrap;
    gap: 18px 28px;
  }
}

@media (max-width: 520px) {
  :root {
    --sting-shell-side: 20px;
  }

  body.sting-site .sting-nav__brand {
    gap: 10px;
  }

    body.sting-site .sting-nav__brand span {
    font-size: 18px;
  }

  body.sting-site > footer.sting-footer {
    padding: 34px 0;
  }
}


/* 2026-07 visual correction: compact shared header matching approved reference */
:root {
  --sting-max: 1320px;
  --sting-side: 22px;
}

body.sting-site {
  padding-top: 58px;
}

body > .sting-nav {
  height: 58px;
}

body > .sting-nav > .sting-nav__inner {
  max-width: var(--sting-max);
  height: 57px;
  padding-right: var(--sting-side);
  padding-left: var(--sting-side);
  grid-template-columns: minmax(250px, 1fr) auto minmax(190px, 1fr);
  gap: 22px;
}

.sting-nav__logo {
  width: 27px;
  height: 36px;
}

.sting-nav__brand {
  gap: 12px;
}

.sting-nav__brand span {
  font-family: Inter, Arial, sans-serif;
  font-size: 22px;
  font-weight: 900;
  letter-spacing: -0.045em;
}

.sting-nav__brand em {
  color: var(--sting-shell-red);
  font-style: normal;
}

.sting-nav__links {
  gap: 27px;
}

.sting-nav__links a {
  font-family: Inter, Arial, sans-serif;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.12em;
}

.sting-nav__links a.active::after {
  bottom: 14px;
}

.sting-nav__support {
  min-width: 0;
  padding: 10px 18px;
  font-family: Inter, Arial, sans-serif;
  font-size: 10px;
  font-weight: 800;
  letter-spacing: 0.02em;
}

#main-content {
  min-height: calc(100vh - 58px);
}

@media (max-width: 1100px) {
  :root {
    --sting-side: 20px;
  }

  .sting-nav__brand span {
    font-size: 19px;
  }

  .sting-nav__links {
    gap: 18px;
  }
}

@media (max-width: 850px) {
  .sting-nav__links {
    top: 57px;
  }
}


/* Final shared navigation tuning */
body.sting-site .sting-nav__brand {
  gap: 0;
}

body.sting-site .sting-nav__brand span {
  font-family: Inter, Arial, sans-serif;
  font-size: 18px;
  font-weight: 700;
  letter-spacing: 0;
}

body.sting-site .sting-nav__links {
  gap: 24px;
}

body.sting-site .sting-nav__links a {
  font-family: Inter, Arial, sans-serif;
  font-size: 12px;
  font-weight: 400;
  letter-spacing: 0;
}

body.sting-site .sting-nav__support {
  padding: 9px 15px;
  font-family: Inter, Arial, sans-serif;
  font-size: 11px;
  font-weight: 500;
  letter-spacing: 0;
}

body.sting-site .sting-nav__toggle {
  font-family: Inter, Arial, sans-serif;
  font-weight: 400;
  letter-spacing: 0;
}

@media (max-width: 1100px) {
  body.sting-site .sting-nav__brand span {
    font-size: 17px;
  }
}

/* Google Material Symbols */
.material-symbols-outlined {
  font-family: "Material Symbols Outlined";
  font-weight: normal;
  font-style: normal;
  font-size: 1em;
  line-height: 1;
  letter-spacing: normal;
  text-transform: none;
  display: inline-block;
  white-space: nowrap;
  word-wrap: normal;
  direction: ltr;
  -webkit-font-feature-settings: "liga";
  -webkit-font-smoothing: antialiased;
}
