/* Trinity Product Page — shared template styles
   Loaded by /powered/, /sentinel/, /agencies/, /security/, and any future product page.
   Sits on top of trinity-system.css tokens. */

*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { font-size: 16px; scroll-behavior: smooth; }
body { font-family: 'Inter', system-ui, sans-serif; background: var(--bg); color: var(--ink); -webkit-font-smoothing: antialiased; min-height: 100vh; }
.wrap { max-width: 1240px; margin: 0 auto; padding: 0 32px; }
@media (max-width: 720px) { .wrap { padding: 0 20px; } }

nav.top {
  position: fixed; top: 0; left: 0; right: 0; z-index: 100;
  background: rgba(250,250,247,0.92); backdrop-filter: blur(18px);
  border-bottom: 1px solid var(--border);
  padding: max(14px, env(safe-area-inset-top)) 32px 14px;
  display: flex; align-items: center; justify-content: space-between;
}
nav.top .logo {
  font-family: 'Inter', sans-serif; font-weight: 800; font-size: 18px;
  color: var(--ink); text-decoration: none; letter-spacing: -0.02em;
}
nav.top .logo .tag { color: var(--muted); font-weight: 400; font-size: 12px; margin-left: 8px; }
nav.top a.back {
  font-family: 'JetBrains Mono', monospace; font-size: 12px;
  color: var(--ink); text-decoration: none; padding: 8px 14px;
  border: 1px solid var(--ink); border-radius: 8px; font-weight: 600;
}
nav.top a.back:hover { background: var(--ink); color: #FFF; }

.hero { padding: 140px 0 80px; }
.hero-eyebrow {
  font-family: 'JetBrains Mono', monospace; font-size: 11px;
  letter-spacing: 0.18em; text-transform: uppercase;
  color: var(--gold); font-weight: 700; margin-bottom: 18px;
}
.hero h1 {
  font-family: 'Inter', sans-serif; font-weight: 800;
  font-size: clamp(40px, 6vw, 72px); letter-spacing: -0.03em; line-height: 1.02;
  color: var(--ink); margin-bottom: 28px; max-width: 880px;
}
.hero h1 .ital { font-family: 'Instrument Serif', serif; font-style: italic; font-weight: 400; color: var(--gold); }
.hero p.lede {
  font-family: 'Inter', sans-serif; font-size: 22px; line-height: 1.5;
  color: var(--muted); max-width: 720px; margin-bottom: 36px;
}
.hero p.lede strong { color: var(--ink); font-weight: 600; }
.hero-cta { display: flex; gap: 14px; flex-wrap: wrap; align-items: center; margin-bottom: 48px; }
.hero-cta .btn {
  padding: 16px 28px; font-size: 15px; font-weight: 700; text-decoration: none;
  border-radius: 10px; display: inline-flex; align-items: center; gap: 8px;
  transition: all 160ms ease;
}
.hero-cta .btn-primary { background: var(--ink); color: #FFF; border: 1px solid var(--ink); }
.hero-cta .btn-primary:hover { background: #2a2d33; }
.hero-cta .btn-ghost { background: transparent; color: var(--ink); border: 1px solid var(--ink); }
.hero-cta .btn-ghost:hover { background: var(--ink); color: #FFF; }
.hero-cta .price { font-family: 'JetBrains Mono', monospace; font-size: 14px; color: var(--muted); }
.hero-cta .price strong { color: var(--ink); font-size: 16px; font-weight: 700; }

section.what { padding: 80px 0; background: var(--surface-2); }
.s-eyebrow {
  font-family: 'JetBrains Mono', monospace; font-size: 11px;
  letter-spacing: 0.18em; text-transform: uppercase;
  color: var(--muted); font-weight: 700; margin-bottom: 16px;
}
.s-title {
  font-family: 'Inter', sans-serif; font-weight: 700;
  font-size: clamp(32px, 4vw, 48px); letter-spacing: -0.025em; line-height: 1.08;
  color: var(--ink); margin-bottom: 20px; max-width: 880px;
}
.s-title .ital { font-family: 'Instrument Serif', serif; font-style: italic; font-weight: 400; color: var(--gold); }
.s-lede {
  font-family: 'Inter', sans-serif; font-size: 18px; line-height: 1.55;
  color: var(--muted); max-width: 720px; margin-bottom: 48px;
}

.stack-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(280px, 1fr)); gap: 20px; }
.stack-card { background: #FFF; border: 1px solid var(--border); border-radius: 14px; padding: 28px; }
.stack-card .l {
  font-family: 'JetBrains Mono', monospace; font-size: 10px;
  letter-spacing: 0.18em; text-transform: uppercase;
  color: var(--gold); font-weight: 700; margin-bottom: 12px;
}
.stack-card h3 {
  font-family: 'Inter', sans-serif; font-weight: 700; font-size: 20px;
  color: var(--ink); margin-bottom: 10px; letter-spacing: -0.02em;
}
.stack-card p { font-family: 'Inter', sans-serif; font-size: 14px; color: var(--muted); line-height: 1.5; }

section.tiers { padding: 80px 0; background: var(--bg); }
.tier-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(300px, 1fr)); gap: 24px; }
.tier-card {
  background: #FFF; border: 1px solid var(--border); border-radius: 16px;
  padding: 36px 32px; display: flex; flex-direction: column;
}
.tier-card.featured {
  background: linear-gradient(180deg, #FFF 0%, #fffbf3 100%);
  border: 1.5px solid var(--gold);
  box-shadow: 0 8px 32px rgba(200,155,74,0.12);
}
.tier-card .tier-label {
  font-family: 'JetBrains Mono', monospace; font-size: 11px;
  letter-spacing: 0.18em; text-transform: uppercase;
  color: var(--muted); font-weight: 700; margin-bottom: 16px;
}
.tier-card.featured .tier-label { color: var(--gold); }
.tier-card h3 {
  font-family: 'Inter', sans-serif; font-weight: 700; font-size: 28px;
  color: var(--ink); margin-bottom: 8px; letter-spacing: -0.02em;
}
.tier-card .price {
  font-family: 'JetBrains Mono', monospace; font-size: 32px;
  color: var(--ink); font-weight: 700; margin: 14px 0 4px;
}
.tier-card .price .unit { font-size: 14px; color: var(--muted); font-weight: 500; }
.tier-card .pitch {
  font-family: 'Inter', sans-serif; font-size: 14px;
  color: var(--muted); line-height: 1.55; margin-bottom: 24px;
}
.tier-card ul { list-style: none; padding: 0; margin: 0 0 28px; flex: 1; }
.tier-card ul li {
  font-family: 'Inter', sans-serif; font-size: 14px; color: var(--ink);
  padding: 8px 0 8px 26px; position: relative; line-height: 1.45;
  border-bottom: 1px solid rgba(10,10,12,0.04);
}
.tier-card ul li:last-child { border-bottom: none; }
.tier-card ul li::before {
  content: '✓'; position: absolute; left: 0; top: 8px;
  color: var(--gold); font-weight: 700; font-size: 14px;
}
.tier-card .tier-cta {
  display: block; text-align: center; padding: 14px 24px;
  background: var(--ink); color: #FFF; text-decoration: none;
  border-radius: 10px; font-weight: 700; font-size: 14px;
  transition: all 160ms ease; border: 1px solid var(--ink);
}
.tier-card .tier-cta:hover { background: #2a2d33; }

section.proof-row { padding: 60px 0; background: var(--surface-2); }
.proof-stats { display: grid; grid-template-columns: repeat(auto-fit, minmax(220px, 1fr)); gap: 28px; text-align: center; }
.proof-stats .stat .v {
  font-family: 'JetBrains Mono', monospace; font-size: 44px;
  color: var(--ink); font-weight: 700; letter-spacing: -0.02em;
}
.proof-stats .stat .v .acc { color: var(--gold); }
.proof-stats .stat .l { font-family: 'Inter', sans-serif; font-size: 13px; color: var(--muted); margin-top: 8px; }

section.cta-bottom {
  padding: 100px 0;
  background: linear-gradient(135deg, var(--ink) 0%, #0a3a2e 50%, var(--ink) 100%);
  color: #FFF; text-align: center;
}
section.cta-bottom h2 {
  font-family: 'Inter', sans-serif; font-weight: 800;
  font-size: clamp(36px, 5vw, 56px); letter-spacing: -0.025em;
  color: #FFF; margin-bottom: 24px; max-width: 880px; margin-left: auto; margin-right: auto;
}
section.cta-bottom h2 .ital { font-family: 'Instrument Serif', serif; font-style: italic; font-weight: 400; color: var(--gold); }
section.cta-bottom p {
  font-family: 'Inter', sans-serif; font-size: 19px;
  color: rgba(255,255,255,0.75); margin-bottom: 40px;
  max-width: 600px; margin-left: auto; margin-right: auto;
}
section.cta-bottom .btn-row { display: flex; gap: 14px; justify-content: center; flex-wrap: wrap; }
section.cta-bottom .btn {
  padding: 18px 32px; font-size: 16px; font-weight: 700; text-decoration: none;
  border-radius: 10px; display: inline-flex; align-items: center; gap: 8px;
  transition: all 160ms ease;
}
section.cta-bottom .btn-primary { background: var(--gold); color: var(--ink); border: 1px solid var(--gold); }
section.cta-bottom .btn-primary:hover { background: #e0b35a; }
section.cta-bottom .btn-ghost { background: transparent; color: #FFF; border: 1px solid rgba(255,255,255,0.4); }
section.cta-bottom .btn-ghost:hover { background: rgba(255,255,255,0.1); }

footer { padding: 40px 0 60px; background: var(--bg); border-top: 1px solid var(--border); }
.foot-flex { display: flex; justify-content: space-between; align-items: center; flex-wrap: wrap; gap: 20px; }
.foot-flex .brand { font-family: 'Inter', sans-serif; font-weight: 700; font-size: 14px; color: var(--ink); text-decoration: none; }
.foot-flex .links a {
  font-family: 'JetBrains Mono', monospace; font-size: 12px;
  color: var(--muted); text-decoration: none; margin-left: 20px;
}
.foot-flex .links a:hover { color: var(--ink); }
