.landing-hero {
  min-height: 100vh;
  position: relative;
  overflow: hidden;
  background:
    linear-gradient(90deg, #fffdf8e8 0%, #fffdf8bd 42%, #fffdf821 70%),
    url("assets/hero-background.png") center/cover no-repeat;
  padding: 24px clamp(20px, 4vw, 60px);
}
.landing-header {
  position: relative;
  z-index: 4;
  width: min(92%, 1240px);
  min-height: 72px;
  margin: 0 auto;
  display: flex;
  align-items: center;
  gap: 28px;
  padding: 10px 16px;
  background: #ffffffdc;
  border: 1px solid #dce7e3;
  border-radius: 999px;
  box-shadow: 0 12px 36px #21453b12;
  backdrop-filter: blur(14px);
}
.landing-brand {
  display: flex;
  align-items: center;
  gap: 10px;
  min-width: 230px;
}
.landing-brand img {
  width: 46px;
  height: 46px;
  object-fit: contain;
}
.landing-brand b,
.landing-brand small {
  display: block;
}
.landing-brand b {
  font-size: 15px;
}
.landing-brand small {
  font-size: 8px;
  color: #77827f;
}
.landing-header nav {
  display: flex;
  gap: 24px;
  margin: auto;
}
.landing-header nav a {
  font-size: 12px;
  color: #43504d;
}
.landing-header nav a:hover {
  color: var(--teal);
}
.landing-actions {
  display: flex;
  align-items: center;
  gap: 8px;
}
.landing-actions button,
.landing-actions a {
  border: 0;
  background: transparent;
  padding: 10px 12px;
  font-size: 11px;
  cursor: pointer;
}
.landing-actions > a:last-child {
  background: var(--teal);
  color: #fff;
  border-radius: 999px;
  padding: 11px 18px;
}
.landing-content {
  width: min(1180px, 92%);
  min-height: calc(100vh - 120px);
  margin: auto;
  display: grid;
  grid-template-columns: 1.05fr 0.95fr;
  align-items: center;
  position: relative;
  z-index: 2;
}
.landing-copy {
  padding: 50px 0;
}
.landing-copy h1 {
  font-size: clamp(56px, 5.5vw, 82px);
  line-height: 1.08;
  letter-spacing: -0.03em;
  margin: 18px 0 24px;
  max-width: 700px;
}
.landing-copy h1 em {
  font-style: normal;
  color: var(--teal);
}
.landing-copy > p {
  font-size: 18px;
  line-height: 1.8;
  color: #596662;
  max-width: 570px;
}
.landing-buttons {
  display: flex;
  gap: 12px;
  margin: 28px 0;
}
.landing-buttons a {
  min-height: 46px;
  display: flex;
  align-items: center;
  padding: 0 20px;
  border: 1px solid #26332f;
  border-radius: 6px;
  font-weight: 800;
  transition: 0.2s;
}
.landing-buttons a:first-child {
  background: var(--teal);
  border-color: var(--teal);
  color: #fff;
}
.landing-buttons a:hover {
  transform: translateY(-2px);
  box-shadow: 0 10px 24px #19302a1a;
}
.research-terminal {
  width: min(520px, 100%);
  background: #ffffffd9;
  border: 1px solid #d7e3df;
  border-radius: 12px;
  box-shadow: 0 16px 38px #1a302a12;
  overflow: hidden;
  margin-top: 24px;
}
.research-terminal > div {
  height: 34px;
  display: flex;
  align-items: center;
  gap: 6px;
  padding: 0 13px;
  border-bottom: 1px solid #e3ebe8;
}
.research-terminal i {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: #ff7a5c;
}
.research-terminal i:nth-child(2) {
  background: #e6bd55;
}
.research-terminal i:nth-child(3) {
  background: #63b99e;
}
.research-terminal code {
  display: grid;
  gap: 5px;
  padding: 16px 18px;
  color: #47534f;
  font-size: 11px;
}
.research-terminal code span:first-child {
  color: var(--coral);
}
.research-terminal code span:nth-child(2),
.research-terminal code span:nth-child(3) {
  color: var(--teal);
}
.research-terminal b {
  display: inline-block;
  min-width: 0.65em;
  animation: cursor 1s steps(1, end) infinite !important;
  will-change: opacity;
}
.landing-meta {
  display: flex;
  gap: 24px;
  margin-top: 24px;
  font-size: 11px;
  color: #60706b;
}
.landing-meta span:before {
  content: "";
  display: inline-block;
  width: 5px;
  height: 5px;
  border-radius: 50%;
  background: var(--coral);
  margin-right: 7px;
}
.landing-character {
  align-self: end;
  display: flex;
  justify-content: center;
  min-width: 0;
}
.landing-character img {
  width: min(610px, 48vw);
  max-height: 78vh;
  object-fit: contain;
  object-position: center bottom;
  filter: drop-shadow(0 24px 32px #28524822);
  animation: hero-in 0.8s 0.2s both;
}
.landing-down {
  position: absolute;
  bottom: 22px;
  left: 50%;
  width: 44px;
  height: 44px;
  display: grid;
  place-items: center;
  border-radius: 50%;
  background: #fff;
  border: 1px solid #d6e2de;
  font-size: 24px;
  z-index: 4;
  animation: down 2s infinite;
}
@keyframes hero-in {
  from {
    opacity: 0;
    transform: translateY(24px);
  }
  to {
    opacity: 1;
    transform: none;
  }
}
@keyframes down {
  50% {
    transform: translateY(5px);
  }
}
@keyframes cursor {
  50% {
    opacity: 0.2;
  }
}
@media (max-width: 980px) {
  .landing-header nav {
    display: none;
  }
  .landing-actions {
    margin-left: auto;
  }
  .landing-content {
    grid-template-columns: 1fr;
  }
  .landing-copy {
    padding: 65px 0 20px;
  }
  .landing-character img {
    width: min(430px, 70vw);
    max-height: 48vh;
  }
  .landing-character {
    align-self: center;
  }
  .landing-copy h1 {
    font-size: clamp(44px, 8vw, 64px);
  }
}
@media (max-width: 600px) {
  .landing-hero {
    padding: 12px;
    background-position: 60% center;
  }
  .landing-header {
    width: 100%;
    min-height: 62px;
    padding: 7px 10px;
  }
  .landing-brand {
    min-width: 0;
  }
  .landing-brand img {
    width: 42px;
    height: 42px;
  }
  .landing-brand small {
    display: none;
  }
  .landing-actions button {
    display: none;
  }
  .landing-actions > a:last-child {
    padding: 9px 12px;
  }
  .landing-content {
    width: 100%;
    min-height: auto;
  }
  .landing-copy {
    padding: 58px 8px 16px;
  }
  .landing-copy h1 {
    font-size: 42px;
    line-height: 1.14;
  }
  .landing-copy > p {
    font-size: 16px;
  }
  .landing-buttons {
    flex-direction: column;
    align-items: stretch;
  }
  .landing-buttons a {
    justify-content: center;
  }
  .research-terminal code span:nth-child(3) {
    display: none;
  }
  .landing-meta {
    flex-wrap: wrap;
    gap: 8px 15px;
  }
  .landing-character img {
    width: min(330px, 90vw);
  }
  .landing-down {
    display: none;
  }
}
@media (prefers-reduced-motion: reduce) {
  .landing-character img,
  .landing-down {
    animation: none;
  }
}
