/* Use cases page — extends styles.css.
   Six richly-illustrated cards in a 2-col grid + tone callout + CTA.
   ----------------------------------------------------- */

.site-nav a.active { color: var(--fg-strong); }

.uc-hero {
  padding: 100px 0 60px;
}
.uc-hero h1 {
  font-size: clamp(48px, 8vw, 96px);
  line-height: 0.96;
}
.uc-hero .lede { max-width: 720px; }

/* ─── Card grid ────────────────────────────────────────────── */
.uc-grid-section {
  padding-top: 40px;
  padding-bottom: 80px;
}
.uc-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 28px;
}
@media (max-width: 880px) {
  .uc-grid { grid-template-columns: 1fr; gap: 24px; }
}

/* ─── Per-card color theming ──────────────────────────────── */
.uc-card[data-uc="government"] { --uc-accent: #ef4444; --uc-accent-soft: rgba(239, 68, 68, 0.18); }
.uc-card[data-uc="legal"]      { --uc-accent: #fbbf24; --uc-accent-soft: rgba(251, 191, 36, 0.18); }
.uc-card[data-uc="healthcare"] { --uc-accent: #10b981; --uc-accent-soft: rgba(16, 185, 129, 0.18); }
.uc-card[data-uc="journalism"] { --uc-accent: #f59e0b; --uc-accent-soft: rgba(245, 158, 11, 0.18); }
.uc-card[data-uc="wealth"]     { --uc-accent: #fbbf24; --uc-accent-soft: rgba(251, 191, 36, 0.18); }
.uc-card[data-uc="ciso"]       { --uc-accent: #06b6d4; --uc-accent-soft: rgba(6, 182, 212, 0.18); }

/* ─── Card chrome ─────────────────────────────────────────── */
.uc-card {
  background: var(--bg-card);
  border: 1px solid var(--line);
  border-radius: 20px;
  overflow: hidden;
  display: flex;
  flex-direction: column;
  transition: transform 0.25s cubic-bezier(0.2, 0.8, 0.2, 1),
              border-color 0.25s,
              box-shadow 0.25s;
  position: relative;
}
.uc-card::after {
  content: "";
  position: absolute;
  inset: 0;
  border-radius: inherit;
  pointer-events: none;
  box-shadow: inset 0 0 0 1px transparent;
  transition: box-shadow 0.25s;
}
.uc-card:hover {
  transform: translateY(-4px);
  border-color: var(--uc-accent);
  box-shadow: 0 30px 70px -25px rgba(0, 0, 0, 0.7);
}
.uc-card:hover::after {
  box-shadow: inset 0 0 0 1px var(--uc-accent-soft);
}

/* ─── Illustration area at top of each card ───────────────── */
.uc-illust {
  width: 100%;
  aspect-ratio: 600 / 280;
  background: var(--bg-deep);
  position: relative;
  overflow: hidden;
}
.uc-illust svg {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
}
/* Subtle inner shadow at the bottom edge so it blends into the body */
.uc-illust::after {
  content: "";
  position: absolute;
  left: 0; right: 0; bottom: 0;
  height: 60px;
  background: linear-gradient(180deg, transparent 0%, var(--bg-card) 100%);
  pointer-events: none;
  opacity: 0.7;
}

/* ─── Card body (text + threat/answer pairs) ───────────────── */
.uc-body {
  padding: 28px 32px 30px;
  flex: 1;
  display: flex;
  flex-direction: column;
}
@media (max-width: 600px) {
  .uc-body { padding: 24px 22px 24px; }
}

.uc-tag {
  display: inline-block;
  font-size: 11px;
  font-weight: 700;
  color: var(--uc-accent);
  background: var(--uc-accent-soft);
  border: 1px solid var(--uc-accent-soft);
  text-transform: uppercase;
  letter-spacing: 0.12em;
  padding: 4px 10px;
  border-radius: 999px;
  margin: 0 0 18px;
  align-self: flex-start;
}
.uc-card h3 {
  font-size: 23px;
  font-weight: 700;
  color: var(--fg-strong);
  letter-spacing: -0.025em;
  line-height: 1.18;
  margin: 0 0 14px;
  text-wrap: balance;
}
.uc-lede {
  font-size: 15.5px;
  color: var(--fg-mute);
  line-height: 1.55;
  margin: 0 0 24px;
}

/* ─── Threat / Answer / Maps-to triplet ───────────────────── */
.uc-pairs {
  display: grid;
  grid-template-columns: 80px 1fr;
  gap: 12px 18px;
  margin: 0;
  padding: 22px 0 0;
  border-top: 1px solid var(--line-soft, #1a2332);
}
.uc-pairs dt {
  font-size: 10px;
  font-weight: 700;
  color: var(--uc-accent);
  text-transform: uppercase;
  letter-spacing: 0.14em;
  padding-top: 4px;
}
.uc-pairs dd {
  font-size: 13.5px;
  color: var(--fg);
  line-height: 1.6;
  margin: 0 0 6px;
}
.uc-pairs dd a {
  color: var(--uc-accent);
  text-decoration: underline;
  text-underline-offset: 2px;
  text-decoration-color: var(--uc-accent-soft);
}
.uc-pairs dd a:hover {
  color: var(--fg-strong);
  text-decoration-color: var(--fg-strong);
}
@media (max-width: 600px) {
  .uc-pairs { grid-template-columns: 1fr; gap: 4px 0; }
  .uc-pairs dd { margin-bottom: 14px; }
}

/* ─── "Not on this list?" callout ──────────────────────────── */
.uc-not-for {
  background: linear-gradient(180deg, rgba(245, 158, 11, 0.025), transparent 100%);
}
.uc-not-card {
  max-width: 820px;
  margin: 0 auto;
}
.uc-not-card h2 {
  font-size: clamp(28px, 4vw, 42px);
  margin-bottom: 24px;
}
.uc-not-card .section-lede {
  margin-bottom: 18px;
}
.uc-not-card .section-lede:last-child {
  margin-bottom: 0;
}

/* ─── Final CTA card (reused pattern) ─────────────────────── */
.section-cta { padding: 60px 0 100px; }
.cta-card {
  background:
    radial-gradient(ellipse at top left, rgba(124, 92, 255, 0.18) 0%, transparent 50%),
    radial-gradient(ellipse at bottom right, rgba(59, 109, 255, 0.18) 0%, transparent 50%),
    var(--bg-card);
  border: 1px solid rgba(124, 92, 255, 0.25);
  border-radius: 22px;
  padding: 56px 48px;
  text-align: center;
}
.cta-card h2 {
  font-size: clamp(26px, 3.4vw, 38px);
  margin-bottom: 14px;
  max-width: 720px;
  margin-left: auto;
  margin-right: auto;
}
.cta-card p {
  color: var(--fg-mute);
  font-size: 16px;
  margin-bottom: 28px;
  max-width: 540px;
  margin-left: auto;
  margin-right: auto;
}
.cta-card .cta-row { justify-content: center; }
@media (max-width: 600px) { .cta-card { padding: 36px 24px; } }

/* ─── Reduced-motion ───────────────────────────────────────── */
@media (prefers-reduced-motion: reduce) {
  .uc-card { transition: none; }
}
