:root {
  color-scheme: dark;
  --bg: #10221f;
  --text: #fff8e8;
  --muted: #d9e1d3;
  --line: rgba(255, 248, 232, 0.22);
  --accent: #ffb340;
  --accent-strong: #ff7a1f;
  --shadow: 0 24px 80px rgba(0, 0, 0, 0.32);
}

* {
  box-sizing: border-box;
}

html {
  height: 100%;
  min-height: 100%;
  background: var(--bg);
  overflow: hidden;
}

body {
  height: 100%;
  min-height: 100%;
  margin: 0;
  font-family: "IBM Plex Sans", system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  color: var(--text);
  background: var(--bg);
  overflow: hidden;
}

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

.page-shell {
  height: 100vh;
  height: 100dvh;
  overflow: hidden;
  background:
    linear-gradient(180deg, rgba(16, 34, 31, 0) 0%, #10221f 84%),
    var(--bg);
}

.hero {
  position: relative;
  height: 100%;
  min-height: 100%;
  max-height: 100vh;
  max-height: 100dvh;
  isolation: isolate;
  display: grid;
  grid-template-rows: auto 1fr;
  padding: clamp(18px, 3vw, 34px);
  overflow: hidden;
}

.hero__image,
.hero__shade {
  position: absolute;
  inset: 0;
  z-index: -2;
}

.hero__image {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: 64% center;
}

.hero__shade {
  z-index: -1;
  background:
    radial-gradient(circle at 18% 42%, rgba(12, 23, 20, 0.2) 0, rgba(12, 23, 20, 0.78) 44%, rgba(12, 23, 20, 0.3) 72%),
    linear-gradient(90deg, rgba(9, 20, 18, 0.88) 0%, rgba(9, 20, 18, 0.62) 33%, rgba(9, 20, 18, 0.2) 64%, rgba(9, 20, 18, 0.5) 100%),
    linear-gradient(180deg, rgba(9, 20, 18, 0.3) 0%, rgba(9, 20, 18, 0.05) 48%, #10221f 100%);
}

.site-header {
  width: min(100%, 1180px);
  margin: 0 auto;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  min-height: 44px;
  color: var(--text);
  text-decoration: none;
}

.brand__mark {
  display: grid;
  width: 44px;
  height: 44px;
  place-items: center;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: rgba(16, 34, 31, 0.6);
  box-shadow: var(--shadow);
  color: var(--accent);
  font-size: 15px;
  font-weight: 700;
  letter-spacing: 0;
}

.brand__name {
  font-size: 18px;
  font-weight: 700;
}

.hero__content {
  width: min(100%, 1180px);
  margin: 0 auto;
  align-self: center;
  padding: clamp(32px, 6vh, 82px) 0 clamp(28px, 6vh, 74px);
}

.status {
  width: fit-content;
  margin: 0 0 22px;
  padding: 8px 12px;
  border: 1px solid rgba(255, 179, 64, 0.45);
  border-radius: 8px;
  background: rgba(255, 179, 64, 0.12);
  color: #ffe2a8;
  font-size: 15px;
  font-weight: 600;
}

h1,
h2,
p {
  margin-top: 0;
  overflow-wrap: anywhere;
}

h1 {
  max-width: 780px;
  margin-bottom: 24px;
  font-size: clamp(40px, 5.8vw, 76px);
  line-height: 0.98;
  font-weight: 700;
  letter-spacing: 0;
  text-wrap: balance;
}

.hero__lead {
  max-width: 650px;
  margin-bottom: 0;
  color: var(--muted);
  font-size: clamp(18px, 2vw, 22px);
  line-height: 1.55;
}

@media (max-width: 360px) {
  .brand__mark {
    width: 40px;
    height: 40px;
  }

  .brand__name {
    font-size: 17px;
  }

  h1 {
    font-size: clamp(34px, 11.5vw, 42px);
    line-height: 1.02;
  }
}

@media (max-width: 760px) {
  .hero {
    padding: 16px;
  }

  .hero__image {
    object-position: 70% center;
  }

  .hero__shade {
    background:
      linear-gradient(180deg, rgba(8, 19, 17, 0.66) 0%, rgba(8, 19, 17, 0.5) 34%, rgba(8, 19, 17, 0.86) 76%, #10221f 100%),
      linear-gradient(90deg, rgba(8, 19, 17, 0.84) 0%, rgba(8, 19, 17, 0.3) 100%);
  }

  .hero__content {
    align-self: end;
    padding: 96px 0 clamp(22px, 5vh, 42px);
  }

  .status {
    margin-bottom: 16px;
  }

  h1 {
    font-size: clamp(34px, 11vw, 48px);
    margin-bottom: 18px;
  }

  .hero__lead {
    font-size: clamp(15px, 4.3vw, 17px);
    line-height: 1.5;
  }

}

@media (max-width: 380px) and (max-height: 760px) {
  .brand {
    min-height: 38px;
  }

  .brand__mark {
    width: 38px;
    height: 38px;
    font-size: 14px;
  }

  .status {
    margin-bottom: 14px;
    padding: 7px 10px;
    font-size: 14px;
  }

  h1 {
    font-size: clamp(31px, 10.4vw, 39px);
    line-height: 1.03;
    margin-bottom: 16px;
  }

  .hero__lead {
    font-size: 15px;
    line-height: 1.45;
  }
}
