/* ============================
   Security Page
   Builds on home.css (container, section heads, trust cards) and feature-page.css (vault diagram, cards)
   ============================ */

body {
  text-wrap: pretty;
}

/* ---- Hero: same type and spacing as the brand and pricing heroes ---- */
.sec-hero {
  padding-top: calc(var(--hp-nav-height) + clamp(88px, 11vw, 200px));
}
.sec-headline {
  margin: 0;
  font-size: clamp(44px, 5.4vw, 80px);
  font-weight: 500;
  line-height: 1.02;
  letter-spacing: -0.03em;
  color: var(--text-primary);
}
.sec-subhead {
  max-width: 34em;
  margin: clamp(24px, 2.4vw, 40px) 0 0;
  font-size: 20px;
  line-height: 1.5;
  letter-spacing: -0.01em;
  color: var(--hp-text-muted);
}
.sec-headline,
.sec-subhead {
  opacity: 0;
  animation: heroBlurIn 0.6s ease forwards;
}
.sec-subhead { animation-delay: 0.1s; }

/* ---- Sections: product page rhythm ---- */
.sec-section { padding-top: clamp(120px, 13vw, 220px); }
.sec-section--first {
  padding-top: clamp(96px, 11vw, 200px);
  opacity: 0;
  animation: heroFadeIn 0.8s ease 0.25s forwards;
}
.sec-section--end { padding-bottom: clamp(80px, 9vw, 160px); }

/* Compliance seal lettering: set in the same muted tone as the SOC 2 and PCI seals */
.sec-seal-text {
  font-family: var(--font);
  font-size: 10.5px;
  font-weight: 500;
  letter-spacing: 0.02em;
  fill: currentColor;
  fill-opacity: 0.7;
}
.sec-seal-text--sm { font-size: 9px; }

/* ---- PCI DSS: wide card under the seals, copy left and the assessor's badge right ---- */
.sec-pci {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
  gap: 20px;
  margin-top: 12px;
  padding: 20px;
  background: rgba(255, 255, 255, 0.03);
}
.sec-pci-copy {
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding: 12px 32px 12px 12px;
}
.sec-pci-title {
  font-size: clamp(32px, 3.2vw, 48px);
  font-weight: 500;
  line-height: 1.1;
  letter-spacing: -0.02em;
  color: var(--text-primary);
}
.sec-pci-desc {
  max-width: 32em;
  margin-top: 24px;
  font-size: 18px;
  line-height: 1.55;
  color: rgba(255, 255, 255, 0.72);
}
.sec-pci-note {
  max-width: 32em;
  margin-top: 28px;
  font-size: 16px;
  line-height: 1.5;
  color: rgba(255, 255, 255, 0.5);
}
.sec-pci-media {
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: 420px;
  background: rgba(255, 255, 255, 0.03);
}
.sec-pci-media img {
  width: 42%;
  max-width: 240px;
  height: auto;
}

/* Check list: same marker as the brand page rules */
.sec-checks {
  display: flex;
  flex-direction: column;
  gap: 14px;
  margin: 28px 0 0;
  padding: 28px 0 0;
  list-style: none;
  border-top: 1px solid rgba(255, 255, 255, 0.08);
}
.sec-checks li {
  position: relative;
  padding-inline-start: 28px;
  font-size: 16px;
  line-height: 1.45;
  color: rgba(255, 255, 255, 0.82);
}
.sec-checks li::before {
  content: '';
  position: absolute;
  top: 2px;
  inset-inline-start: 0;
  width: 17px;
  height: 17px;
  background: #77AB97;
  -webkit-mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16' fill='none' stroke='black' stroke-width='1.5' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M3.5 8.5l3 3 6-7'/%3E%3C/svg%3E") center / contain no-repeat;
  mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16' fill='none' stroke='black' stroke-width='1.5' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M3.5 8.5l3 3 6-7'/%3E%3C/svg%3E") center / contain no-repeat;
}

/* ---- Control cards: Enterprise pill sits beside the title ---- */
.hp-trust-card .hp-use-title {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 6px 10px;
}
.sec-section .hp-customers-desc { text-wrap: pretty; }
.sec-tag {
  padding: 0 8px;
  background: rgba(255, 255, 255, 0.08);
  border-radius: 999px;
  font-size: 12px;
  font-weight: 400;
  line-height: 20px;
  letter-spacing: 0;
  color: rgba(255, 255, 255, 0.6);
}
.sec-inline-link {
  color: #77AB97;
  transition: color 0.3s ease;
}
@media (hover: hover) {
  .sec-inline-link:hover { color: #9CC5B5; }
}

/* ============================
   Responsive
   ============================ */
@media (max-width: 900px) {
  .sec-pci { grid-template-columns: minmax(0, 1fr); }
  .sec-pci-copy { padding: 12px; }
  .sec-pci-desc { font-size: 17px; }
  .sec-pci-media { min-height: 320px; }
}

@media (max-width: 768px) {
  .sec-hero { padding-top: calc(var(--hp-nav-height) + 56px); }
  .sec-subhead { font-size: 18px; }
}

@media (max-width: 600px) {
  .sec-pci-media { min-height: 260px; }
}
