/* ============================================================
   Shared design system for public marketing pages.
   Palette matches the app theme and the home page:
   greens #2F8F6B / #10B981 / #34D399 (candidates)
   blues  #3B82F6 / #60A5FA          (hiring teams)
   slate  #0A0F1A / #0F172A / #141C28 / #1E293B (backgrounds)
   All classes are prefixed .pub- to avoid leaking into app pages.
   ============================================================ */

/* ----- Hero ----- */
.pub-hero {
    background:
        radial-gradient(ellipse at 20% 0%, rgba(47, 143, 107, 0.22) 0%, transparent 55%),
        radial-gradient(ellipse at 85% 100%, rgba(59, 130, 246, 0.18) 0%, transparent 55%),
        linear-gradient(160deg, #0a0f1a 0%, #0f172a 60%, #141c28 100%);
    padding: 4.5rem 0 3.5rem;
    text-align: center;
}

.pub-hero-blue {
    background:
        radial-gradient(ellipse at 20% 0%, rgba(59, 130, 246, 0.22) 0%, transparent 55%),
        radial-gradient(ellipse at 85% 100%, rgba(47, 143, 107, 0.18) 0%, transparent 55%),
        linear-gradient(160deg, #0a0f1a 0%, #0f172a 60%, #141c28 100%);
}

.pub-eyebrow {
    display: inline-block;
    padding: 0.35rem 0.9rem;
    border-radius: 999px;
    font-size: 0.8rem;
    font-weight: 600;
    letter-spacing: 0.04em;
    text-transform: uppercase;
    margin-bottom: 1.25rem;
}

.pub-eyebrow-green {
    color: #a7f3d0;
    background: rgba(47, 143, 107, 0.18);
    border: 1px solid rgba(52, 211, 153, 0.35);
}

.pub-eyebrow-blue {
    color: #bfdbfe;
    background: rgba(59, 130, 246, 0.16);
    border: 1px solid rgba(96, 165, 250, 0.35);
}

.pub-eyebrow-neutral {
    color: #cbd5e1;
    background: rgba(148, 163, 184, 0.12);
    border: 1px solid rgba(148, 163, 184, 0.3);
}

.pub-lead {
    color: #94a3b8;
}

/* ----- Cards ----- */
.pub-card {
    height: 100%;
    padding: 1.75rem;
    border-radius: 16px;
    background: rgba(255, 255, 255, 0.04);
    border: 1px solid rgba(255, 255, 255, 0.08);
    transition: transform 0.3s, border-color 0.3s;
}

.pub-card:hover {
    transform: translateY(-3px);
}

.pub-card-green { border-top: 3px solid #2f8f6b; }
.pub-card-green:hover { border-color: rgba(52, 211, 153, 0.4); border-top-color: #2f8f6b; }
.pub-card-blue { border-top: 3px solid #3b82f6; }
.pub-card-blue:hover { border-color: rgba(96, 165, 250, 0.4); border-top-color: #3b82f6; }
.pub-card-red { background: rgba(239, 68, 68, 0.05); border-color: rgba(239, 68, 68, 0.22); }
.pub-card-red:hover { border-color: rgba(239, 68, 68, 0.4); }

.pub-panel {
    padding: 2.25rem;
    border-radius: 18px;
    background: rgba(255, 255, 255, 0.03);
    border: 1px solid rgba(255, 255, 255, 0.08);
}

.pub-panel-green {
    background: rgba(16, 185, 129, 0.05);
    border-color: rgba(52, 211, 153, 0.25);
}

.pub-panel-blue {
    background: rgba(59, 130, 246, 0.05);
    border-color: rgba(96, 165, 250, 0.25);
}

/* ----- Icon bubbles ----- */
.pub-icon {
    width: 52px;
    height: 52px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
    font-size: 1.35rem;
}

.pub-icon-green { background: rgba(16, 185, 129, 0.14); color: #34d399; }
.pub-icon-blue { background: rgba(59, 130, 246, 0.14); color: #60a5fa; }
.pub-icon-amber { background: rgba(245, 158, 11, 0.14); color: #fbbf24; }
.pub-icon-red { background: rgba(239, 68, 68, 0.14); color: #f87171; }
.pub-icon-slate { background: rgba(148, 163, 184, 0.12); color: #cbd5e1; }

/* ----- Numbered steps ----- */
.pub-step {
    display: flex;
    gap: 1.1rem;
    align-items: flex-start;
}

.pub-step-number {
    width: 34px;
    height: 34px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
    font-weight: 700;
    font-size: 0.95rem;
    color: #fff;
}

.pub-step-number-green { background: linear-gradient(135deg, #2f8f6b, #10b981); }
.pub-step-number-blue { background: linear-gradient(135deg, #0891b2, #3b82f6); }

/* ----- Quote / statement ----- */
.pub-statement {
    color: #e2e8f0;
    font-size: 1.35rem;
    font-style: italic;
    line-height: 1.6;
    margin: 0;
}

/* ----- Links ----- */
.pub-link {
    color: #cbd5e1;
    text-decoration: none;
    font-weight: 500;
    border-bottom: 1px solid rgba(148, 163, 184, 0.35);
    padding-bottom: 2px;
    transition: color 0.2s, border-color 0.2s;
}

.pub-link:hover {
    color: #34d399;
    border-color: #34d399;
}

/* ----- CTA band ----- */
.pub-cta {
    padding: 3rem 2rem;
    border-radius: 20px;
    text-align: center;
    position: relative;
    overflow: hidden;
    background:
        radial-gradient(ellipse at 15% 20%, rgba(255, 255, 255, 0.08) 0%, transparent 50%),
        linear-gradient(120deg, #2f8f6b 0%, #10b981 40%, #3b82f6 100%);
}

.pub-cta h2, .pub-cta h3 {
    color: #ffffff;
}

.pub-cta p {
    color: rgba(255, 255, 255, 0.9);
}

.pub-cta .btn-light {
    font-weight: 600;
}

/* ----- Keep exploring (cross-page navigation) ----- */
.pub-explore-title {
    color: #94a3b8;
    font-size: 0.85rem;
    font-weight: 600;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    text-align: center;
    margin-bottom: 1.25rem;
}

.pub-explore-card {
    display: flex;
    flex-direction: column;
    height: 100%;
    padding: 1.4rem 1.5rem;
    border-radius: 14px;
    text-decoration: none;
    background: rgba(255, 255, 255, 0.04);
    border: 1px solid rgba(255, 255, 255, 0.08);
    transition: transform 0.25s, border-color 0.25s;
}

.pub-explore-card:hover {
    transform: translateY(-3px);
    border-color: rgba(52, 211, 153, 0.45);
}

.pub-explore-card i {
    font-size: 1.4rem;
    color: #34d399;
    margin-bottom: 0.6rem;
}

.pub-explore-card.pub-explore-blue i { color: #60a5fa; }
.pub-explore-card.pub-explore-blue:hover { border-color: rgba(96, 165, 250, 0.45); }

.pub-explore-name {
    color: #f1f5f9;
    font-weight: 600;
    margin-bottom: 0.25rem;
}

.pub-explore-text {
    color: #94a3b8;
    font-size: 0.85rem;
    margin: 0;
}

/* ----- Typography helpers ----- */
.pub-h2 {
    color: #f1f5f9;
    font-weight: 700;
}

.pub-h3 {
    color: #f1f5f9;
    font-size: 1.15rem;
    font-weight: 600;
}

.pub-text {
    color: #94a3b8;
}

.pub-text-bright {
    color: #e2e8f0;
}

/* ----- Markdown content (charter/mission page) ----- */
.pub-markdown {
    color: #cbd5e1;
    line-height: 1.7;
}

.pub-markdown h1, .pub-markdown h2, .pub-markdown h3, .pub-markdown h4 {
    color: #f1f5f9;
    font-weight: 600;
    margin-top: 2rem;
    margin-bottom: 0.75rem;
}

.pub-markdown h1 { font-size: 1.9rem; margin-top: 0; }
.pub-markdown h2 { font-size: 1.4rem; border-bottom: 1px solid rgba(148, 163, 184, 0.2); padding-bottom: 0.4rem; }
.pub-markdown h3 { font-size: 1.15rem; }

.pub-markdown a { color: #60a5fa; }
.pub-markdown strong { color: #e2e8f0; }
.pub-markdown blockquote {
    border-left: 3px solid #2f8f6b;
    margin: 1.5rem 0;
    padding: 0.5rem 0 0.5rem 1.25rem;
    color: #e2e8f0;
    font-style: italic;
}

.pub-markdown ul, .pub-markdown ol { padding-left: 1.4rem; }
.pub-markdown li { margin-bottom: 0.4rem; }
.pub-markdown hr { border-color: rgba(148, 163, 184, 0.2); }

/* ----- Motion preferences ----- */
@media (prefers-reduced-motion: reduce) {
    .pub-card, .pub-explore-card {
        transition: none;
    }
}
