/**
 * Umbra — Security / privacy narrative (#security)
 */

#security.um-sec-page {
  position: relative;
  overflow: hidden;
  padding: 0;
}

#security.um-sec-page > .um-sec-shell:first-of-type {
  padding: clamp(48px, 10vw, 96px) 0 clamp(28px, 5vw, 48px);
}

.um-sec-shell {
  position: relative;
  z-index: 1;
}

.um-sec-hero .um-lede strong {
  font-weight: 700;
  color: var(--text);
}

.um-sec-band {
  padding: clamp(44px, 8vw, 88px) 0;
}

.um-sec-band--why {
  border-top: 1px solid rgba(255, 255, 255, 0.06);
  background: linear-gradient(180deg, rgba(17, 15, 14, 0.55), rgba(10, 9, 8, 0.92));
}

.um-sec-band--posture {
  border-top: 1px solid rgba(251, 99, 6, 0.12);
  background:
    radial-gradient(ellipse 70% 45% at 20% 0%, rgba(251, 147, 60, 0.09), transparent 55%),
    linear-gradient(180deg, rgba(12, 10, 9, 0.98), rgba(15, 12, 10, 0.96));
}

.um-sec-band--next {
  padding: clamp(36px, 6vw, 56px) 0 clamp(52px, 9vw, 88px);
  border-top: 1px solid rgba(255, 255, 255, 0.05);
}

.um-sec-band-title {
  font-family: var(--font-display);
  font-weight: 800;
  font-size: clamp(1.32rem, 3.2vw, 1.85rem);
  letter-spacing: -0.03em;
  margin-bottom: 0.55rem;
  text-align: center;
}

.um-sec-band-lede {
  text-align: center;
  margin: 0 auto 2rem;
  max-width: 64ch;
  font-size: 0.9425rem;
  line-height: 1.64;
  color: var(--muted);
}

.um-sec-band-lede--tight {
  margin-bottom: 0;
}

.um-sec-why-grid {
  display: grid;
  gap: 16px;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  margin-bottom: 2rem;
}

.um-sec-why-card {
  padding: clamp(20px, 3.6vw, 28px);
  display: flex;
  flex-direction: column;
}

.um-sec-why-card--limits {
  border-color: rgba(148, 163, 184, 0.18);
}

.um-sec-why-num {
  font-family: var(--font-display);
  font-weight: 800;
  font-size: 2.15rem;
  line-height: 1;
  opacity: 0.06;
  margin-bottom: 0.35rem;
}

.um-sec-why-card h3 {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 1.08rem;
  letter-spacing: -0.02em;
  margin-bottom: 0.55rem;
}

.um-sec-why-copy {
  font-size: 0.8825rem;
  line-height: 1.58;
  color: var(--muted);
  flex: 1;
}

.um-sec-why-copy ul {
  margin: 0.65rem 0 0;
  padding-left: 1.1rem;
  font-size: 0.8125rem;
  line-height: 1.5;
  color: rgba(209, 201, 196, 0.88);
}

.um-sec-why-copy ul li + li {
  margin-top: 0.35rem;
}

.um-sec-diagram {
  padding: clamp(20px, 3.5vw, 32px);
  max-width: 920px;
  margin: 0 auto;
}

.um-sec-diagram__cap {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 0.8775rem;
  margin-bottom: 0.95rem;
  text-align: center;
  color: rgba(248, 250, 252, 0.92);
}

.um-sec-diagram__viz {
  width: 100%;
  height: auto;
  display: block;
}

.um-sec-diagram__viz text {
  font-family: var(--font-body), ui-sans-serif, system-ui, sans-serif;
}

.um-sec-diagram figcaption {
  margin-top: 1rem;
  font-size: 0.7825rem;
  line-height: 1.5;
  color: rgba(168, 162, 158, 0.95);
  text-align: center;
  max-width: 62ch;
  margin-inline: auto;
}

.um-sec-band-posture-intro {
  text-align: center;
  margin: 0 auto 2rem;
  max-width: 64ch;
}

.um-sec-band-posture-intro .um-sec-band-title {
  margin-bottom: 0.75rem;
}

.um-sec-posture-grid {
  display: grid;
  gap: 16px;
  grid-template-columns: repeat(auto-fit, minmax(270px, 1fr));
}

.um-sec-post-card {
  padding: clamp(22px, 3.8vw, 30px);
  display: flex;
  flex-direction: column;
  border-left: 3px solid rgba(251, 99, 6, 0.45);
}

.um-sec-post-card h4 {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 1.0625rem;
  margin-bottom: 0.5rem;
  letter-spacing: -0.02em;
}

.um-sec-post-body {
  font-size: 0.8825rem;
  line-height: 1.58;
  color: var(--muted);
  flex: 1;
}

.um-sec-post-chips {
  display: flex;
  flex-wrap: wrap;
  gap: 7px;
  margin-top: 1rem;
  list-style: none;
  padding: 0;
}

.um-sec-post-chips li {
  font-family: var(--font-mono);
  font-size: 0.565rem;
  font-weight: 700;
  letter-spacing: 0.065em;
  text-transform: uppercase;
  padding: 4px 9px;
  border-radius: 6px;
  border: 1px solid rgba(251, 99, 6, 0.2);
  color: rgba(254, 215, 170, 0.92);
}

.um-sec-different-note {
  margin-top: clamp(1.85rem, 3vw, 2.75rem);
  padding: clamp(18px, 3vw, 26px);
  border-radius: var(--r-md);
  border: 1px solid rgba(255, 255, 255, 0.08);
  background: rgba(255, 255, 255, 0.02);
}

.um-sec-different-note p {
  margin: 0;
  font-size: 0.875rem;
  line-height: 1.6;
  color: rgba(214, 211, 209, 0.9);
  text-align: center;
  max-width: 68ch;
  margin-inline: auto;
}

.um-sec-different-note a {
  color: var(--teal-bright);
  font-weight: 600;
  text-decoration: none;
}

.um-sec-different-note a:hover {
  text-decoration: underline;
}

.um-sec-next-title {
  font-family: var(--font-mono);
  font-size: 0.62rem;
  font-weight: 700;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--dim);
  text-align: center;
  margin-bottom: 1.15rem;
}

.um-sec-next-row {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 12px;
}

.um-sec-next-row a {
  display: inline-flex;
  align-items: center;
  padding: 0.72rem 1.42rem;
  font-size: 0.8175rem;
  font-weight: 700;
  text-decoration: none;
  border-radius: 999px;
  border: 1px solid rgba(255, 255, 255, 0.1);
  color: rgba(248, 250, 252, 0.94);
  background: rgba(255, 255, 255, 0.03);
  transition:
    border-color 0.25s ease,
    background 0.25s ease;
}

.um-sec-next-row a:hover {
  border-color: rgba(251, 99, 6, 0.45);
  background: rgba(251, 99, 6, 0.06);
}

.um-sec-next-row a:focus-visible {
  outline: 2px solid rgba(251, 99, 6, 0.55);
  outline-offset: 3px;
}

@media (max-width: 640px) {
  .um-sec-next-row {
    flex-direction: column;
    align-items: stretch;
  }
}
