/* chibininja.ru landing (SPEC-0100): colors and type of hyenahub.online. */
@font-face {
  font-family: "Manrope";
  src: url("/assets/manrope-400.ttf") format("truetype");
  font-weight: 400;
  font-display: swap;
}
@font-face {
  font-family: "Manrope";
  src: url("/assets/manrope-700.ttf") format("truetype");
  font-weight: 700 800;
  font-display: swap;
}

:root {
  --bg: #0b0c0f;
  --panel: #12161d;
  --line: rgba(255, 255, 255, 0.07);
  --text: #dfe3ea;
  --muted: #8f949d;
  --primary: #bcfa06;
  color-scheme: dark;
}

* {
  box-sizing: border-box;
}

html,
body {
  margin: 0;
  min-height: 100%;
  background: var(--bg);
  color: var(--text);
  font-family:
    "Manrope",
    system-ui,
    -apple-system,
    "Segoe UI",
    "Microsoft YaHei",
    "PingFang SC",
    sans-serif;
  -webkit-font-smoothing: antialiased;
}

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

a {
  color: inherit;
}

.bar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  width: 100%;
  max-width: 1120px;
  margin: 0 auto;
  padding: 16px 20px;
}

.logo img {
  display: block;
  height: 40px;
  width: auto;
}

.langs {
  display: flex;
  height: 34px;
  padding: 1px;
  border: 1px solid #39481d;
  border-radius: 9px;
  background: rgba(0, 0, 0, 0.55);
}

.langs button {
  margin: 1px;
  padding: 0 9px 1px;
  border: 0;
  border-radius: 5px;
  background: none;
  color: #fff;
  font-family: inherit;
  font-size: 11.5px;
  font-weight: 700;
  line-height: 1;
  letter-spacing: 0.02em;
  cursor: pointer;
}

.langs button:hover {
  color: var(--primary);
}

.langs button[aria-pressed="true"] {
  background: var(--primary);
  color: #000;
}

main {
  flex: 1;
  width: 100%;
  max-width: 1120px;
  margin: 0 auto;
  padding: 8px 20px 40px;
}

.art img {
  display: block;
  width: 100%;
  height: auto;
  aspect-ratio: 2 / 1;
  object-fit: cover;
  border: 1px solid var(--line);
  border-radius: 16px;
}

.card {
  position: relative;
  max-width: 760px;
  margin: -72px auto 0;
  padding: 28px 32px 32px;
  border: 1px solid var(--line);
  border-radius: 14px;
  background: var(--panel);
  box-shadow: 0 24px 60px rgba(0, 0, 0, 0.45);
}

.eyebrow {
  margin: 0 0 8px;
  color: var(--primary);
  font-size: 12px;
  font-weight: 800;
  letter-spacing: 0.14em;
  text-transform: uppercase;
}

h1 {
  margin: 0;
  color: #fff;
  font-size: 36px;
  font-weight: 700;
  line-height: 1.15;
}

.lead {
  margin: 10px 0 0;
  color: #c9ccd2;
  font-size: 17px;
}

.text {
  margin: 16px 0 24px;
  font-size: 15px;
  line-height: 1.75;
}

.button {
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: 48px;
  padding: 0 20px;
  border-radius: 10px;
  font-size: 15px;
  font-weight: 800;
  letter-spacing: 0.03em;
  text-align: center;
  text-decoration: none;
}

.primary {
  background: var(--primary);
  color: #000;
}

.primary:hover {
  filter: brightness(1.1);
}

.more {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 12px;
  margin-top: 12px;
}

.outline {
  min-height: 44px;
  border: 1px solid var(--primary);
  color: var(--primary);
  font-size: 14px;
}

.outline:hover {
  background: rgba(188, 250, 6, 0.1);
}

.button:focus-visible,
.langs button:focus-visible,
footer a:focus-visible,
.logo:focus-visible {
  outline: 2px solid var(--primary);
  outline-offset: 2px;
}

footer {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 8px 20px;
  padding: 20px;
  border-top: 1px solid var(--line);
  color: var(--muted);
  font-size: 13px;
}

footer a {
  color: var(--primary);
}

@media (max-width: 640px) {
  .logo img {
    height: 32px;
  }

  main {
    padding: 0 12px 28px;
  }

  .art img {
    border-radius: 12px;
  }

  .card {
    margin-top: -28px;
    padding: 22px 18px 20px;
  }

  h1 {
    font-size: 27px;
  }

  .more {
    grid-template-columns: 1fr;
  }
}
