/* Hero */

.hero {
  padding-top: clamp(64px, 10vw, 120px);
}

.hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 6px 14px 6px 10px;
  border-radius: var(--radius-pill);
  border: 1px solid var(--border-hair-strong);
  background: var(--glass);
  font-size: var(--text-xs);
  font-weight: 600;
  color: var(--fg-secondary);
  margin-bottom: 24px;
}

.hero-badge .dot {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: var(--success);
  box-shadow: 0 0 10px var(--success);
}

.hero h1 {
  margin: 0 0 0.45em;
  max-width: 16em;
}

.hero .lede {
  margin: 0 0 2.25em;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
}

/* Bento module grid */

.modules-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: var(--space-gap);
}

.modules-grid .module-card:nth-child(4n + 1) {
  grid-column: span 2;
  grid-row: span 2;
}

.module-card {
  position: relative;
  overflow: hidden;
  border-radius: var(--radius-lg);
  border: 1px solid var(--border-hair);
  background: var(--glass);
  padding: clamp(20px, 2.4vw, 28px);
  display: flex;
  flex-direction: column;
  gap: 14px;
  transition: transform var(--duration-fast) var(--ease-out-expo),
    border-color var(--duration-fast) var(--ease-out-expo);
}

.module-card:hover {
  transform: translateY(-4px);
  border-color: var(--border-hair-strong);
}

.module-card .glyph {
  width: 44px;
  height: 44px;
  border-radius: var(--radius-md);
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: var(--font-display);
  font-weight: 800;
  font-size: 16px;
  background: var(--accent-soft, var(--brand-soft));
  color: var(--accent, var(--brand));
}

.module-card h3 {
  margin: 0;
}

.module-card p {
  margin: 0;
  font-size: var(--text-sm);
}

/* Deploy steps */

.steps-list {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: var(--space-gap);
  counter-reset: step;
}

.step-card {
  border: 1px solid var(--border-hair);
  border-radius: var(--radius-lg);
  padding: clamp(22px, 2.6vw, 30px);
  background: var(--glass);
}

.step-card .step-index {
  counter-increment: step;
  font-family: var(--font-display);
  font-size: var(--text-2xl);
  font-weight: 800;
  color: var(--brand);
  margin-bottom: 12px;
}

.step-card .step-index::before {
  content: counter(step, decimal-leading-zero);
}

.step-card h3 {
  margin: 0 0 8px;
}

.step-card p {
  margin: 0;
  font-size: var(--text-sm);
}

/* Security */

.security-points {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 18px;
  margin-top: 8px;
  list-style: none;
  padding: 0;
}

.security-points li {
  display: flex;
  gap: 12px;
  align-items: flex-start;
  padding: 18px;
  border-radius: var(--radius-md);
  border: 1px solid var(--border-hair);
  background: var(--glass);
  font-size: var(--text-sm);
  color: var(--fg-secondary);
}

.security-points li .mark {
  flex: none;
  width: 22px;
  height: 22px;
  border-radius: 50%;
  background: var(--success);
  color: #04140c;
  font-weight: 800;
  font-size: 13px;
  display: flex;
  align-items: center;
  justify-content: center;
}

/* CTA band */

.cta-band {
  border-radius: var(--radius-xl);
  border: 1px solid var(--border-hair-strong);
  background: linear-gradient(135deg, var(--brand-soft), transparent 60%), var(--bg-elevated);
  padding: clamp(36px, 5vw, 64px);
  text-align: center;
}

.cta-band h2 {
  margin: 0 0 0.4em;
}

.cta-band p {
  margin: 0 auto 1.75em;
  max-width: 32em;
}

@media (max-width: 1024px) {
  .modules-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .modules-grid .module-card:nth-child(4n + 1) {
    grid-column: span 2;
    grid-row: span 1;
  }

  .steps-list {
    grid-template-columns: 1fr;
  }

  .security-points {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 480px) {
  .modules-grid {
    grid-template-columns: 1fr;
  }

  .modules-grid .module-card:nth-child(4n + 1) {
    grid-column: span 1;
  }
}
