/* ===== Hero — headline block and the HTTPS illustration beside it. ===== */

.hero {
  display: grid;
  grid-template-columns: 1.1fr 1fr;
  gap: 44px;
  align-items: center;
  padding: 90px 0 77px;
}

.eyebrow {
  display: flex;
  align-items: center;
  gap: 9px;
  font-size: 11px;
  font-weight: 600;
  color: var(--green);
  letter-spacing: 1.8px;
  font-family: var(--mono);
}

.eyebrow .dot {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--green);
}

h1 {
  font-size: clamp(44px,5.3vw,65px);
  line-height: 1.28;
  font-weight: 750;
  letter-spacing: -2.6px;
  margin: 23px 0 21px;
}

h1 span {
  color: var(--green);
}

.hero-copy {
  max-width: 390px;
  color: var(--muted);
  line-height: 1.95;
  font-size: 15px;
}

.hero-actions {
  display: flex;
  align-items: center;
  gap: 25px;
  margin-top: 31px;
}

.hero-note {
  margin-top: 23px;
  font-size: 11px;
  color: #77816e;
  display: flex;
  align-items: center;
  gap: 7px;
}

.hero-art {
  position: relative;
  min-width: 0;
  height: 359px;
  display: flex;
  align-items: center;
  justify-content: center;
}

.art-grid {
  position: absolute;
  inset: -25px -16px;
  opacity: .6;
  background-image: linear-gradient(#dce4d4 1px,transparent 1px),linear-gradient(90deg,#dce4d4 1px,transparent 1px);
  background-size: 32px 32px;
  mask-image: radial-gradient(ellipse,black 22%,transparent 70%);
}

.orbit {
  position: absolute;
  width: 305px;
  height: 305px;
  border: 1px solid #d8e0cf;
  border-radius: 50%;
  right: 44px;
  top: 14px;
}

.orbit:after {
  content: "";
  position: absolute;
  inset: 22px;
  border: 1px dashed #d1dbc5;
  border-radius: 50%;
}

.browser-card {
  position: absolute;
  top: 21px;
  right: 30px;
  width: 345px;
  border: 1px solid #d9e0d0;
  border-radius: 11px;
  overflow: hidden;
  background: #fffef9;
  transform: rotate(3deg);
  box-shadow: 0 14px 35px #243b2710;
}

.browser-top {
  padding: 12px 16px;
  border-bottom: 1px solid #e8ecdf;
  display: flex;
  align-items: center;
  gap: 13px;
  background: #f0f3e9;
}

.window-dots {
  display: flex;
  gap: 5px;
}

.window-dots i {
  display: block;
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: #c2cab8;
}

.address {
  display: flex;
  align-items: center;
  gap: 7px;
  font-family: var(--mono);
  font-size: 10px;
  color: #738066;
  background: #fffefa;
  width: 100%;
  padding: 4px 9px;
  border: 1px solid #e2e7da;
  border-radius: 4px;
}

.browser-body {
  display: flex;
  align-items: center;
  gap: 15px;
  padding: 22px 25px 37px;
}

.lock-badge {
  width: 45px;
  height: 45px;
  display: grid;
  place-items: center;
  background: #e8f1dd;
  border: 1px solid #d6e4c9;
  border-radius: 13px;
  color: var(--green);
}

.browser-body strong {
  display: block;
  font-size: 14px;
  font-weight: 600;
}

.browser-body small {
  display: block;
  margin-top: 3px;
  color: #818b78;
  font-size: 10px;
  font-family: var(--mono);
}

.terminal-preview {
  position: absolute;
  width: 100%;
  max-width: 416px;
  left: 0;
  top: 158px;
  border-radius: 10px;
  overflow: hidden;
  background: #202d27;
  box-shadow: 0 22px 44px #263c2724;
  transform: rotate(-2deg);
}

.terminal-bar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 13px 18px;
  border-bottom: 1px solid #ffffff12;
  color: #b6c2af;
  font-family: var(--mono);
  font-size: 10px;
}

.terminal-bar .window-dots i {
  background: #5a6658;
}

.terminal-content {
  padding: 22px 23px 23px;
  font-family: var(--mono);
  font-size: 12px;
  line-height: 1.9;
}

.terminal-comment {
  color: #9da995;
  font-size: 11px;
}

.terminal-command {
  color: #edf4e6;
  margin: 7px 0 14px;
  white-space: nowrap;
}

.prompt {
  color: #b4d78e;
  margin-right: 7px;
}

.terminal-line {
  display: flex;
  justify-content: space-between;
  color: #bbc9b1;
  font-size: 10px;
  border-top: 1px solid #ffffff0f;
  padding-top: 10px;
}

.terminal-line span:last-child {
  color: #c6e6a7;
}

.art-caption {
  position: absolute;
  bottom: 2px;
  right: 24px;
  display: flex;
  align-items: center;
  gap: 8px;
  font: 10px var(--mono);
  color: #77836e;
}

@media (min-width:1400px) {
  .hero {
    padding-top: 105px;
    padding-bottom: 90px;
  }
}

@media (max-width:1000px) {
  .hero {
    gap: 24px;
  }
  h1 {
    font-size: 52px;
  }
  .hero-art {
    transform: scale(.9);
    transform-origin: right center;
  }
  .browser-card {
    right: 0;
  }
  .terminal-command {
    font-size: 11px;
  }
}

@media (max-width:760px) {
  .hero {
    grid-template-columns: 1fr;
    padding: 51px 0 39px;
    gap: 27px;
  }
  /* Keep each action label on one line; let the row wrap instead. */
  .hero-actions {
    flex-wrap: wrap;
    gap: 16px 25px;
  }
  .hero-actions > * {
    white-space: nowrap;
  }
  h1 {
    font-size: clamp(41px,8.5vw,60px);
    margin-top: 19px;
    letter-spacing: -1.7px;
  }
  .hero-copy {
    max-width: 430px;
    font-size: 14px;
  }
  .hero-art {
    transform: none;
    width: min(440px,100%);
    margin: 0 auto;
    height: 342px;
  }
  .browser-card {
    width: 80%;
    right: 6px;
    top: 13px;
  }
  .terminal-preview {
    top: 144px;
    left: 0;
    width: 93%;
  }
  .art-caption {
    bottom: 9px;
    right: 15px;
  }
  .orbit {
    right: 20px;
    width: 285px;
    height: 285px;
  }
  .terminal-command {
    font-size: 11px;
  }
  .terminal-content {
    padding: 19px 20px;
  }
  .terminal-line {
    font-size: 9px;
  }
  .browser-body {
    padding: 20px 18px 44px;
    gap: 11px;
  }
  .browser-body strong {
    font-size: 12px;
  }
  .browser-body small {
    font-size: 8px;
  }
  .lock-badge {
    width: 35px;
    height: 35px;
    flex-shrink: 0;
  }
}

@media (max-width:380px) {
  .terminal-command {
    font-size: 10px;
  }
  .hero-actions {
    gap: 17px;
  }
}
