/* Homepage V2 — Enterprise Repositioning
   Page-specific styles for the control-forward homepage.
   Base styles provided by threadsync.base.bundle + glass-v2 */

/* ── Hero ─────────────────────────────────────────── */
.hp-hero{padding:80px 0 48px;text-align:center}
.hp-hero .eyebrow{margin-bottom:16px}
.hp-hero h1{font-size:clamp(32px,5vw,52px);font-weight:800;line-height:1.15;letter-spacing:-.02em;margin-bottom:20px}
.hp-hero .hp-subhead{font-size:clamp(16px,1.8vw,20px);line-height:1.6;color:#94a3b8;max-width:640px;margin:0 auto 32px}
.hp-cta-row{display:flex;align-items:center;justify-content:center;gap:16px;flex-wrap:wrap;margin-bottom:32px}

/* Trust chips in hero */
.hp-chips{display:flex;align-items:center;justify-content:center;flex-wrap:wrap;gap:8px 20px;font-size:13px;color:#94a3b8}
.hp-chips .chip{display:inline-flex;align-items:center;gap:6px;white-space:nowrap}
.hp-chips .chip svg{flex-shrink:0;color:#22c55e}
.hp-chips .chip a{color:#94a3b8;text-decoration:none;transition:color .2s}
.hp-chips .chip a:hover{color:#60a5fa}

/* ── Proof Strip ──────────────────────────────────── */
.hp-proof-strip{padding:20px 0;border-top:1px solid rgba(255,255,255,.06);border-bottom:1px solid rgba(255,255,255,.06);background:rgba(0,0,0,.2)}
.hp-proof-inner{display:flex;align-items:center;justify-content:center;flex-wrap:wrap;gap:8px 24px;font-size:12.5px;color:#6b7280}
.hp-proof-inner span{white-space:nowrap}
.hp-proof-inner .sep{color:#374151}
.hp-proof-links{display:flex;gap:20px;margin-top:8px;justify-content:center}
.hp-proof-links a{font-size:13px;color:#60a5fa;text-decoration:none;transition:color .2s}
.hp-proof-links a:hover{color:#93c5fd}
@media(min-width:768px){
  .hp-proof-links{margin-top:0;margin-left:auto}
  .hp-proof-inner{justify-content:center}
}

/* ── Problem Section ──────────────────────────────── */
.hp-problem{max-width:700px;margin:0 auto;text-align:center}
.hp-problem p{color:#94a3b8;font-size:16px;line-height:1.8;margin-bottom:16px}
.hp-problem p:last-child{margin-bottom:0}

/* ── System Model ─────────────────────────────────── */
.hp-model{max-width:900px;margin:0 auto}
.hp-model-stack{display:flex;flex-direction:column;gap:2px;margin-bottom:16px}
.hp-model-layer{display:flex;align-items:flex-start;gap:20px;padding:24px;border-radius:12px;background:rgba(255,255,255,.03);border:1px solid rgba(255,255,255,.06);transition:border-color .2s}
.hp-model-layer:hover{border-color:rgba(255,255,255,.12)}
.hp-model-layer .layer-accent{width:4px;border-radius:2px;align-self:stretch;flex-shrink:0}
.hp-model-layer .layer-accent--blue{background:#3b82f6}
.hp-model-layer .layer-accent--green{background:#22c55e}
.hp-model-layer .layer-accent--purple{background:#8b5cf6}
.hp-model-layer .layer-label{font-size:11px;text-transform:uppercase;letter-spacing:.08em;color:#6b7280;margin-bottom:4px}
.hp-model-layer h3{font-size:18px;font-weight:700;margin-bottom:2px}
.hp-model-layer .layer-sub{font-size:13px;color:#60a5fa;margin-bottom:8px}
.hp-model-layer p{font-size:14px;color:#94a3b8;line-height:1.6;margin:0}
.hp-model-controls{display:flex;align-items:center;justify-content:center;gap:24px;padding:16px 24px;border-radius:10px;background:rgba(255,255,255,.02);border:1px solid rgba(255,255,255,.05);font-size:13px;color:#6b7280;flex-wrap:wrap}
.hp-model-controls span{white-space:nowrap}
.hp-model-link{text-align:center;margin-top:20px}
.hp-model-link a{font-size:14px;color:#60a5fa;text-decoration:none}
.hp-model-link a:hover{color:#93c5fd}

/* Connector lines between layers */
.hp-model-connector{display:flex;justify-content:center;padding:0}
.hp-model-connector .line{width:1px;height:20px;background:rgba(255,255,255,.1)}

/* ── Operating Model (6-step flow) ────────────────── */
.hp-flow{display:grid;grid-template-columns:repeat(3,1fr);gap:20px}
@media(min-width:900px){.hp-flow{grid-template-columns:repeat(6,1fr);gap:12px}}
.hp-flow-step{text-align:center;padding:20px 12px;border-radius:12px;background:rgba(255,255,255,.03);border:1px solid rgba(255,255,255,.06)}
.hp-flow-num{width:32px;height:32px;border-radius:50%;display:inline-flex;align-items:center;justify-content:center;font-size:14px;font-weight:700;background:rgba(59,130,246,.15);color:#60a5fa;margin-bottom:10px}
.hp-flow-step h4{font-size:15px;font-weight:700;margin-bottom:6px}
.hp-flow-step p{font-size:13px;color:#94a3b8;line-height:1.5;margin-bottom:8px}
.hp-flow-ctrl{font-size:11.5px;color:#6b7280;padding:6px 10px;border-radius:6px;background:rgba(255,255,255,.02);border:1px solid rgba(255,255,255,.04);line-height:1.4}
.hp-flow-caption{text-align:center;margin-top:20px;font-size:13px;color:#52525b;max-width:700px;margin-left:auto;margin-right:auto}

/* ── Platform Layer Cards ─────────────────────────── */
.hp-layers{display:grid;grid-template-columns:1fr;gap:24px}
@media(min-width:768px){.hp-layers{grid-template-columns:repeat(3,1fr)}}
.hp-layer-card{padding:28px;border-radius:14px;background:rgba(255,255,255,.03);border:1px solid rgba(255,255,255,.06);transition:border-color .2s}
.hp-layer-card:hover{border-color:rgba(255,255,255,.14)}
.hp-layer-card .layer-bar{height:3px;border-radius:2px;margin-bottom:20px;width:48px}
.hp-layer-card .layer-bar--blue{background:#3b82f6}
.hp-layer-card .layer-bar--green{background:#22c55e}
.hp-layer-card .layer-bar--purple{background:#8b5cf6}
.hp-layer-card h3{font-size:20px;font-weight:700;margin-bottom:4px}
.hp-layer-card .card-sub{font-size:13px;color:#60a5fa;margin-bottom:12px}
.hp-layer-card p{font-size:14px;color:#94a3b8;line-height:1.6;margin-bottom:16px}
.hp-layer-card ul{list-style:none;padding:0;margin:0 0 16px}
.hp-layer-card li{font-size:13.5px;color:#94a3b8;padding:4px 0 4px 20px;position:relative}
.hp-layer-card li::before{content:"";position:absolute;left:0;top:10px;width:8px;height:8px;border-radius:50%;border:1.5px solid #3b82f6}
.hp-layer-card:nth-child(2) li::before{border-color:#22c55e}
.hp-layer-card:nth-child(3) li::before{border-color:#8b5cf6}
.hp-layer-card .card-link{font-size:14px;color:#60a5fa;text-decoration:none}
.hp-layer-card .card-link:hover{color:#93c5fd}

/* ── Entry Paths ──────────────────────────────────── */
.hp-paths{display:grid;grid-template-columns:1fr;gap:24px}
@media(min-width:768px){.hp-paths{grid-template-columns:repeat(3,1fr)}}
.hp-path-card{padding:28px;border-radius:14px;background:rgba(255,255,255,.03);border:1px solid rgba(255,255,255,.06)}
.hp-path-card .path-need{font-size:15px;font-style:italic;color:#e4e4e7;margin-bottom:16px;line-height:1.5}
.hp-path-card p{font-size:14px;color:#94a3b8;line-height:1.6;margin-bottom:16px}

/* ── Technical Proof Hub ──────────────────────────── */
.hp-proof-grid{display:grid;grid-template-columns:1fr;gap:16px}
@media(min-width:640px){.hp-proof-grid{grid-template-columns:repeat(2,1fr)}}
@media(min-width:960px){.hp-proof-grid{grid-template-columns:repeat(3,1fr)}}
.hp-proof-card{display:block;padding:20px;border-radius:12px;background:rgba(255,255,255,.03);border:1px solid rgba(255,255,255,.06);text-decoration:none;color:inherit;transition:border-color .2s,background .2s}
.hp-proof-card:hover{border-color:rgba(96,165,250,.3);background:rgba(96,165,250,.04)}
.hp-proof-card h4{font-size:15px;font-weight:700;color:#e4e4e7;margin-bottom:6px}
.hp-proof-card p{font-size:13px;color:#6b7280;line-height:1.5;margin:0 0 10px}
.hp-proof-card .card-arrow{font-size:13px;color:#60a5fa}

/* ── Multi-path CTA ───────────────────────────────── */
.hp-cta-grid{display:grid;grid-template-columns:1fr;gap:16px;margin-top:28px}
@media(min-width:768px){.hp-cta-grid{grid-template-columns:repeat(2,1fr)}}
.hp-cta-option{display:block;padding:24px;border-radius:12px;background:rgba(255,255,255,.03);border:1px solid rgba(255,255,255,.06);text-decoration:none;color:inherit;transition:border-color .2s,background .2s}
.hp-cta-option:hover{border-color:rgba(96,165,250,.3);background:rgba(96,165,250,.04)}
.hp-cta-option h4{font-size:16px;font-weight:700;color:#e4e4e7;margin-bottom:4px}
.hp-cta-option .cta-desc{font-size:13px;color:#6b7280;line-height:1.5}
.hp-cta-option.hp-cta-primary{border-color:rgba(59,130,246,.3);background:rgba(59,130,246,.06)}
.hp-cta-option.hp-cta-primary:hover{border-color:rgba(59,130,246,.5);background:rgba(59,130,246,.1)}

/* ── Trust expanded section ───────────────────────── */
.hp-trust-pills{display:flex;flex-wrap:wrap;gap:8px;justify-content:center;margin-bottom:20px}
.hp-trust-pill{display:inline-block;padding:6px 14px;border-radius:9999px;font-size:12.5px;color:#94a3b8;background:rgba(255,255,255,.04);border:1px solid rgba(255,255,255,.08)}
.hp-trust-links{display:flex;gap:24px;justify-content:center;flex-wrap:wrap}
.hp-trust-links a{font-size:14px;color:#60a5fa;text-decoration:none}
.hp-trust-links a:hover{color:#93c5fd}

/* ── General section tightening ───────────────────── */
.hp-section{padding:56px 0}
.hp-section .section-header{margin-bottom:36px;text-align:center}
.hp-section .section-header h2{font-size:clamp(24px,3.5vw,36px);font-weight:800;line-height:1.2}
.hp-section .section-header p{font-size:16px;color:#94a3b8;margin-top:12px;max-width:600px;margin-left:auto;margin-right:auto}

/* ── Inline-style replacements (CSP blocks style-src-attr) ── */
.hp-problem .hp-strong{color:#e4e4e7}
.hp-model-controls .hp-strong{color:#e4e4e7}
.hp-trust-panel{text-align:center;padding:40px 32px}
.hp-trust-panel h2{font-size:clamp(22px,3vw,30px);font-weight:800;margin-bottom:8px}
.hp-trust-panel p{font-size:15px;color:#94a3b8;max-width:560px;margin:0 auto 24px}
.hp-cta-panel{text-align:center;padding:48px 32px}
.hp-cta-panel h2{font-size:clamp(24px,3.5vw,36px);font-weight:800;margin-bottom:12px}
.hp-cta-panel>p{font-size:16px;color:#94a3b8;max-width:580px;margin:0 auto}

/* ── CTA trust footer ────────────────────────────── */
.hp-cta-trust{display:flex;align-items:center;justify-content:center;gap:24px;margin-top:28px;font-size:13px;color:#6b7280;flex-wrap:wrap}
.hp-cta-trust span{display:inline-flex;align-items:center;gap:6px}
