/* ═══════════════════════════════════════════════════════════════════════
   product.css — shared layout for the managed-product marketing pages
   (Launchpad Vault, Drive, Remote Desktop, Identity).

   Built on the same token vocabulary as the rest of the site
   (tokens.css → --color-*, --space-*, --text-*, --weight-*).
   Mirrors the rhythm established by pages/spacemap.html so every
   product page reads as one family. Prefix: .pp-  (product page)
   ═══════════════════════════════════════════════════════════════════════ */

/* ── Hero ──────────────────────────────────────────────────────────── */
.pp-hero { position: relative; overflow: hidden; }
.pp-hero::after {
  content: "";
  position: absolute;
  inset: 0;
  background: radial-gradient(60% 80% at 80% 20%, rgba(68, 144, 226, 0.16) 0%, transparent 60%);
  pointer-events: none;
}
.pp-hero-inner {
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  gap: var(--space-12);
  align-items: center;
}
.pp-hero-meta {
  display: flex;
  flex-wrap: wrap;
  gap: var(--space-6);
  margin-top: var(--space-8);
  color: var(--color-text-tertiary);
  font-size: var(--text-small);
  letter-spacing: var(--tracking-wide);
  text-transform: uppercase;
  font-weight: var(--weight-semibold);
}
.pp-hero-meta strong {
  display: block;
  color: var(--color-text-primary);
  font-size: 1.15rem;
  letter-spacing: 0;
  text-transform: none;
  margin-top: 4px;
  font-weight: var(--weight-bold);
}

/* Hero supporting visual — a glass "console" card */
.pp-hero-art {
  display: flex;
  align-items: center;
  justify-content: center;
}
.pp-hero-card {
  width: 100%;
  max-width: 420px;
  border-radius: 18px;
  border: 1px solid var(--color-border-subtle);
  background: linear-gradient(160deg, rgba(68, 144, 226, 0.08) 0%, rgba(13, 17, 35, 0.10) 100%);
  padding: var(--space-8);
  box-shadow: 0 24px 60px rgba(0, 0, 0, 0.35);
}
.pp-hero-card h3 {
  font-size: 1.05rem;
  margin: 0 0 var(--space-4);
  color: var(--color-text-primary);
}
.pp-hero-card ul { list-style: none; padding: 0; margin: 0; }
.pp-hero-card li {
  display: flex;
  align-items: flex-start;
  gap: var(--space-3);
  padding-block: var(--space-2);
  color: var(--color-text-secondary);
  font-size: 0.95rem;
}
.pp-hero-card li::before {
  content: "";
  flex-shrink: 0;
  width: 18px; height: 18px;
  margin-top: 2px;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%234490E2' stroke-width='2.5' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M20 6L9 17l-5-5'/%3E%3C/svg%3E");
  background-size: contain;
  background-repeat: no-repeat;
}

/* ── Outcomes band (3 stats) ───────────────────────────────────────── */
.pp-outcomes {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: var(--space-8);
  padding-block: var(--space-4);
}
.pp-outcome span {
  display: block;
  color: var(--color-text-tertiary);
  font-size: var(--text-small);
  letter-spacing: var(--tracking-wide);
  text-transform: uppercase;
  font-weight: var(--weight-semibold);
  margin-bottom: var(--space-3);
}
.pp-outcome h3 {
  font-size: 2.5rem;
  font-weight: var(--weight-bold);
  color: var(--color-text-primary);
  margin: 0 0 var(--space-2);
  line-height: 1.05;
}
.pp-outcome p { color: var(--color-text-secondary); line-height: 1.55; margin: 0; }

/* ── Feature pillars (3-up) ────────────────────────────────────────── */
.pp-pillars {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: var(--space-6);
  margin-top: var(--space-8);
}
.pp-pillar {
  padding: var(--space-6);
  border-radius: 16px;
  border: 1px solid var(--color-border-subtle);
  background: var(--color-surface);
}
.pp-pillar h3 { font-size: 1.125rem; margin: 0 0 var(--space-3); color: var(--color-text-primary); }
.pp-pillar p { color: var(--color-text-secondary); line-height: 1.55; margin: 0; font-size: 0.95rem; }
.pp-pillar-icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 40px; height: 40px;
  border-radius: 10px;
  background: rgba(68, 144, 226, 0.12);
  color: var(--color-accent);
  margin-bottom: var(--space-4);
}

/* ── "How it works" steps ──────────────────────────────────────────── */
.pp-steps {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: var(--space-6);
  margin-top: var(--space-8);
  counter-reset: step;
}
.pp-step {
  position: relative;
  padding: var(--space-6);
  border-radius: 16px;
  border: 1px solid var(--color-border-subtle);
  background: var(--color-surface);
}
.pp-step::before {
  counter-increment: step;
  content: counter(step);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 34px; height: 34px;
  border-radius: 9px;
  background: var(--color-accent);
  color: #fff;
  font-weight: var(--weight-bold);
  font-size: 0.95rem;
  margin-bottom: var(--space-4);
}
.pp-step h3 { font-size: 1.05rem; margin: 0 0 var(--space-2); color: var(--color-text-primary); }
.pp-step p { color: var(--color-text-secondary); line-height: 1.5; margin: 0; font-size: 0.9rem; }

/* ── Sovereignty / "what's included" checklist (2-col) ─────────────── */
.pp-checklist {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: var(--space-4) var(--space-8);
  margin-top: var(--space-8);
  list-style: none;
  padding: 0;
}
.pp-checklist li {
  display: flex;
  align-items: flex-start;
  gap: var(--space-3);
  color: var(--color-text-secondary);
  line-height: 1.5;
}
.pp-checklist li::before {
  content: "";
  flex-shrink: 0;
  width: 20px; height: 20px;
  margin-top: 1px;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%234490E2' stroke-width='2.5' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M20 6L9 17l-5-5'/%3E%3C/svg%3E");
  background-size: contain;
  background-repeat: no-repeat;
}
.pp-checklist li strong { color: var(--color-text-primary); font-weight: var(--weight-semibold); }

/* ── Pricing tiers (3-up; soft/consultative) ───────────────────────── */
.pp-tiers {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: var(--space-6);
  margin-top: var(--space-8);
  align-items: stretch;
}
.pp-tier {
  padding: var(--space-8);
  border-radius: 18px;
  border: 1px solid var(--color-border-subtle);
  background: var(--color-surface);
  display: flex;
  flex-direction: column;
}
.pp-tier-featured {
  border-color: var(--color-accent);
  background: linear-gradient(160deg, rgba(68, 144, 226, 0.06) 0%, transparent 60%);
}
.pp-tier-name {
  font-size: 0.85rem;
  letter-spacing: var(--tracking-wide);
  text-transform: uppercase;
  font-weight: var(--weight-semibold);
  color: var(--color-text-tertiary);
  margin-bottom: var(--space-2);
}
.pp-tier-price {
  font-size: 2.1rem;
  font-weight: var(--weight-bold);
  color: var(--color-text-primary);
  line-height: 1.05;
  margin-bottom: var(--space-1);
}
.pp-tier-price small { font-size: 0.9rem; font-weight: var(--weight-medium); color: var(--color-text-tertiary); }
.pp-tier-price-note { color: var(--color-text-tertiary); font-size: 0.9rem; margin-bottom: var(--space-6); }
.pp-tier ul { list-style: none; padding: 0; margin: 0 0 var(--space-6); }
.pp-tier li {
  padding-block: var(--space-2);
  color: var(--color-text-secondary);
  font-size: 0.95rem;
  display: flex;
  align-items: flex-start;
  gap: var(--space-3);
}
.pp-tier li::before {
  content: "";
  flex-shrink: 0;
  width: 18px; height: 18px;
  margin-top: 2px;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%234490E2' stroke-width='2.5' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M20 6L9 17l-5-5'/%3E%3C/svg%3E");
  background-size: contain;
  background-repeat: no-repeat;
}
.pp-tier-cta { margin-top: auto; }

/* ── Transparency / open-source attribution callout ────────────────── */
.pp-attribution {
  max-width: 820px;
  margin-inline: auto;
  text-align: center;
  padding: var(--space-8);
  border-radius: 16px;
  border: 1px solid var(--color-border-subtle);
  background: var(--color-surface);
}
.pp-attribution p { color: var(--color-text-secondary); line-height: 1.65; margin: 0; font-size: 0.95rem; }
.pp-attribution a { color: var(--color-accent); }

/* ── Centred narrative band ────────────────────────────────────────── */
.pp-why { max-width: 760px; margin-inline: auto; text-align: center; }
.pp-why p { color: var(--color-text-secondary); line-height: 1.7; font-size: 1.05rem; }

/* ── Final CTA ─────────────────────────────────────────────────────── */
.pp-cta { text-align: center; padding-block: var(--space-16); }

/* ── Responsive ────────────────────────────────────────────────────── */
@media (max-width: 900px) {
  .pp-hero-inner,
  .pp-outcomes,
  .pp-pillars,
  .pp-steps,
  .pp-checklist,
  .pp-tiers { grid-template-columns: 1fr; }
  .pp-hero-card { max-width: none; }
}

/* ==========================================================================
   Product screenshot showcase — floating shot below the product hero
   added 2026-06-08 imagery pass
   ========================================================================== */
.product-showcase {
  background: var(--color-bg-secondary);
  padding: 0 0 var(--space-24);
}
.product-shot {
  max-width: 1040px;
  margin: -72px auto 0;
  padding: 0 var(--space-6);
}
.product-shot picture { display: block; }
.product-shot img {
  display: block;
  width: 100%;
  height: auto;
  border-radius: 14px;
  border: 1px solid var(--color-border);
  box-shadow: 0 30px 80px rgba(13, 17, 35, 0.30);
}
@media (max-width: 768px) {
  .product-shot { margin-top: -36px; padding: 0 var(--space-4); }
}

/* ==========================================================================
   "Why managed & sovereign" — icon-card grid (replaces low-contrast checklist)
   added 2026-06-08 polish pass
   ========================================================================== */
.sovereign-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: var(--space-6);
  margin-top: var(--space-12);
  list-style: none;
  padding: 0;
}
.sovereign-card {
  background: rgba(255, 255, 255, 0.03);
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: var(--radius-lg);
  padding: var(--space-6);
}
.sovereign-icon {
  width: 44px; height: 44px;
  display: flex; align-items: center; justify-content: center;
  border-radius: var(--radius-md);
  background: rgba(68, 144, 226, 0.12);
  color: var(--color-accent);
  margin-bottom: var(--space-5);
}
.sovereign-icon svg { width: 22px; height: 22px; }
.sovereign-card h3 {
  font-size: var(--text-h4);
  font-weight: var(--weight-semibold);
  color: var(--color-text-on-dark);
  margin: 0 0 var(--space-2);
  letter-spacing: -0.01em;
}
.sovereign-card p {
  color: var(--color-text-on-dark-secondary);
  font-size: var(--text-small);
  line-height: 1.65;
  margin: 0;
}
@media (max-width: 900px) { .sovereign-grid { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 600px) { .sovereign-grid { grid-template-columns: 1fr; } }

/* ── Fix navy-on-navy hero text + showcase rhythm (2026-06-08 polish audit) ── */
.pp-hero .pp-hero-card h3 { color: var(--color-text-on-dark); }
.pp-hero .pp-hero-card li { color: var(--color-text-on-dark-secondary); }
.pp-hero .pp-hero-meta strong { color: var(--color-text-on-dark); }
.product-showcase { padding-bottom: var(--space-16); }
@media (max-width: 768px) { .product-showcase { padding-bottom: var(--space-12); } }
