.home { position: relative; z-index: 1; }

.hero {
  position: relative;
  min-height: 100dvh;
  display: flex;
  align-items: center;
  overflow: clip;
}
.heroText {
  position: relative;
  z-index: 1;
  width: min(1180px, 100%);
  margin: 0 auto;
  padding: calc(var(--barH) + env(safe-area-inset-top, 0px) + clamp(24px, 4.5vh, 64px)) 24px 0;
}
.heroMock {
  position: absolute;
  top: 50%;
  left: 50%;
  width: clamp(680px, 58vw, 1150px);
  aspect-ratio: 2272 / 1278;
  transform: translateY(-50%) rotate(-9.62deg);
  border-radius: clamp(64px, 9vw, 120px);
  background: linear-gradient(165deg, #14161b 0%, #090a0c 100%);
  border: 1px solid rgba(255, 255, 255, 0.09);
  box-shadow: 0 40px 90px rgba(0, 0, 0, 0.6);
  overflow: hidden;
}
.heroMock::before {
  content: "";
  position: absolute;
  inset: 0;
  background: url(/assets/hero-checker.png) center / 96px repeat;
  opacity: 0.22;
}
.heroMock::after {
  content: "";
  position: absolute;
  inset: 0;
  background: url(/assets/mark.svg) center / 84px no-repeat;
  opacity: 0.08;
}
.heroSpace { height: 65vh; }
.hero h1 {
  font-size: clamp(40px, 4.9vw, 72px);
  font-weight: 500;
  letter-spacing: -0.02em;
  line-height: 1.04;
}
.lede {
  margin-top: clamp(18px, 1.7vw, 26px);
  font-size: clamp(16px, 1.25vw, 18px);
  font-weight: 400;
  line-height: 1.55;
  max-width: clamp(300px, 33vw, 520px);
  color: var(--silver);
}

.ctaRow {
  display: flex;
  align-items: center;
  gap: clamp(14px, 1.6vw, 24px);
  margin-top: clamp(26px, 2.8vw, 42px);
  flex-wrap: wrap;
}
.cta {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  height: clamp(42px, 3vw, 48px);
  padding: 0 clamp(20px, 1.8vw, 28px);
  border-radius: clamp(12px, 1vw, 15px);
  font-size: clamp(15px, 1.15vw, 16.5px);
  font-weight: 500;
  text-decoration: none;
  color: #000;
  background: #56e66c;
  transition: opacity 0.15s;
}
.cta:hover { opacity: 0.85; }
.docsLink {
  color: var(--white);
  font-size: clamp(15px, 1.15vw, 16.5px);
  font-weight: 500;
  text-decoration: underline;
  text-underline-offset: 0.18em;
  transition: color 0.15s;
}
.docsLink:hover { color: var(--silver); }

.footMini {
  position: relative;
  z-index: 1;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  padding-top: 20px;
  padding-bottom: 30px;
  border-top: 1px solid var(--line);
  color: var(--dim);
  font-size: 13px;
}
.footMini nav { display: flex; gap: 18px; }
.footMini a { color: var(--dim); text-decoration: none; transition: color 0.15s; }
.footMini a:hover { color: var(--silver); }

@media (max-width: 560px) {
  .hero { flex-direction: column; justify-content: center; }
  .heroText { text-align: center; }
  .heroMock {
    position: relative;
    top: auto;
    left: auto;
    flex: none;
    width: 100%;
    margin: 48px auto 0;
    transform: none;
    border-radius: 28px;
    aspect-ratio: 4 / 3;
  }
  .ctaRow { gap: 18px; justify-content: center; }
}
