/* ---------- hero ---------- */
.hero {
  padding: 76px 0 60px;
}

.hero-grid {
  display: grid;
  grid-template-columns: 1.05fr 0.95fr;
  gap: 64px;
  align-items: start;
}

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

.hero h1 {
  font-size: clamp(34px, 4.4vw, 52px);
}

.hero p.lede {
  margin-top: 20px;
  font-size: 18px;
  color: var(--ink-soft);
  max-width: 46ch;
}

.hero-actions {
  display: flex;
  gap: 12px;
  margin-top: 32px;
  flex-wrap: wrap;
}

.hero-meta {
  display: flex;
  gap: 22px;
  margin-top: 18px;
  font-size: 13.5px;
  color: var(--ink-soft);
  flex-wrap: wrap;
}

.hero-meta span {
  display: flex;
  align-items: center;
  gap: 6px;
}

.dot {
  width: 5px;
  height: 5px;
  border-radius: 50%;
  background: var(--teal);
}

/* ---------- hero visual: team photo + savings ---------- */
@keyframes hvFadeUp {
  from {
    opacity: 0;
    transform: translateY(8px);
  }

  to {
    opacity: 1;
    transform: translateY(0);
  }
}

.hero-visual {
  padding: 16px 0;
  overflow: visible;
}

.hv-scene {
  position: relative;
}

.hv-photo-wrap {
  transform: scale(1.3);
  transform-origin: 50% 42%;
}

.hv-photo {
  width: 100%;
  height: auto;
  opacity: 0;
  animation: hvFadeUp 0.6s ease forwards;
}

.hv-photo-light {
  display: block;
}

.hv-photo-dark {
  display: none;
}

:root[data-theme="dark"] .hv-photo-light {
  display: none;
}

:root[data-theme="dark"] .hv-photo-dark {
  display: block;
}

@media (prefers-color-scheme: dark) {
  :root:not([data-theme="light"]) .hv-photo-light {
    display: none;
  }
  :root:not([data-theme="light"]) .hv-photo-dark {
    display: block;
  }
}

/* ---------- hero mockup: tablet Q&A (looping animation) ---------- */
.hv-reply {
  position: absolute;
  z-index: 2;
  right: 1%;
  top: 5%;
  display: flex;
  align-items: center;
  gap: 8px;
  background: var(--paper-raised);
  border: 1px solid var(--line);
  border-radius: 20px;
  padding: 7px 14px 7px 7px;
  box-shadow: 0 10px 22px rgba(16, 24, 40, 0.14);
  width: max-content;
  max-width: 60%;
  opacity: 0;
  transform: translateY(4px);
  transition:
    opacity 0.35s ease,
    transform 0.35s ease;
}

.hv-reply.is-visible {
  opacity: 1;
  transform: translateY(0);
}

.hv-reply-tool {
  background: var(--teal);
  color: #fff;
  font-size: 9.5px;
  font-weight: 700;
  padding: 4px 8px;
  border-radius: 20px;
  flex-shrink: 0;
}

.hv-reply-text {
  font-size: 12.5px;
  font-weight: 600;
  color: var(--ink);
}

.hv-typing-bar {
  position: absolute;
  z-index: 2;
  left: 31%;
  top: 71%;
  width: max-content;
  max-width: 56%;
  display: flex;
  align-items: center;
  background: var(--paper-raised);
  border: 1px solid var(--line);
  border-radius: 10px;
  padding: 9px 13px;
  box-shadow: 0 10px 22px rgba(16, 24, 40, 0.14);
}

.hv-typing-text {
  font-size: 12px;
  color: var(--ink-soft);
  white-space: nowrap;
  min-width: 1px;
}

@keyframes hvCursorBlink {
  50% {
    opacity: 0;
  }
}

.hv-cursor {
  display: inline-block;
  width: 2px;
  height: 13px;
  background: var(--ink-soft);
  margin-left: 2px;
  vertical-align: middle;
  animation: hvCursorBlink 0.9s step-end infinite;
}

/* ---------- cost comparison ---------- */
.cost-table {
  border: 1px solid var(--line);
  border-radius: var(--radius);
  overflow: hidden;
  background: var(--paper-raised);
}

.cost-row {
  display: grid;
  grid-template-columns: 1.3fr 1fr 1fr;
  gap: 16px;
  padding: 18px 24px;
  align-items: center;
  border-top: 1px solid var(--line);
}

.cost-row:first-child {
  border-top: none;
  background: var(--contrast-bg);
  color: #fff;
  font-size: 13px;
  font-weight: 600;
  padding: 14px 24px;
}

.cost-row.total {
  background: var(--red-tint);
}

.cost-row.peoplo-total {
  background: var(--teal-tint);
}

.cost-row .feature-name {
  font-weight: 600;
  font-size: 14.5px;
}

.cost-row .feature-sub {
  font-size: 13px;
  color: var(--ink-soft);
  margin-top: 2px;
}

.cost-row .old-cost {
  color: var(--red);
  font-weight: 600;
}

.cost-row .new-cost {
  color: var(--teal-deep);
  font-weight: 700;
}

@media (max-width: 640px) {
  .cost-row {
    grid-template-columns: 1fr;
    gap: 4px;
  }

  .cost-row:first-child {
    display: none;
  }
}

/* ---------- security ---------- */
.security {
  background: var(--contrast-bg);
  color: #fff;
  border-radius: var(--radius);
  padding: 44px;
}

.security-grid {
  display: grid;
  grid-template-columns: 1.2fr 1fr;
  gap: 40px;
  align-items: center;
}

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

.security h2 {
  color: #fff;
  font-size: 26px;
}

.security p.lede {
  color: #b9c0c7;
  margin-top: 10px;
  font-size: 15px;
  max-width: 44ch;
}

.sec-list {
  margin-top: 22px;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 14px 24px;
}

.sec-list li {
  list-style: none;
  font-size: 14px;
  color: #dce1e5;
  display: flex;
  gap: 10px;
  align-items: flex-start;
}

.sec-list li::before {
  content: "";
  width: 5px;
  height: 5px;
  border-radius: 50%;
  background: var(--teal);
  margin-top: 8px;
  flex-shrink: 0;
}

.security-panel {
  background: #1a2431;
  border-radius: var(--radius);
  padding: 26px;
  border: 1px solid #2b3646;
}

.security-panel .row {
  display: flex;
  justify-content: space-between;
  padding: 11px 0;
  border-top: 1px solid #2b3646;
  font-size: 13.5px;
  color: #dce1e5;
}

.security-panel .row:first-child {
  border-top: none;
}

/* ---------- final cta ---------- */
.final-cta {
  background: var(--teal-tint);
  border-radius: var(--radius);
  padding: 52px 40px;
  text-align: left;
}

.final-cta-inner {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 32px;
  flex-wrap: wrap;
}

.final-cta h2 {
  font-size: clamp(24px, 3vw, 32px);
  max-width: 20ch;
}

.final-cta p {
  color: var(--ink-soft);
  margin-top: 10px;
  font-size: 15px;
}

.final-cta .actions {
  display: flex;
  gap: 12px;
  flex-shrink: 0;
}
